/* YRV CRM · Autor: Yosdelvis de la Rosa Vega · Fecha: 2026-08-10 */
:root{
  --bg:#f3f5f8;--surface:#ffffff;--surface-soft:#f8fafc;--surface-strong:#eef2f6;
  --text:#1f2937;--muted:#687386;--border:#dfe4ea;--border-strong:#cbd3dc;
  --primary:#2563a8;--primary-hover:#1f528b;--primary-soft:#eaf2fb;
  --success:#247a4a;--success-soft:#e8f6ee;--warning:#9a6400;--warning-soft:#fff6dc;
  --danger:#b23b3b;--danger-soft:#fdecec;--info:#2563a8;--info-soft:#eaf2fb;
  --shadow:0 2px 8px rgba(28,43,58,.06);--radius:8px;--sidebar:248px;
}
html[data-theme=dark]{
  --bg:#111827;--surface:#182231;--surface-soft:#202c3d;--surface-strong:#273548;
  --text:#eef3f8;--muted:#a7b2c2;--border:#334155;--border-strong:#45566d;
  --primary:#5a9bd8;--primary-hover:#72abe0;--primary-soft:#203a55;
  --success:#61bd86;--success-soft:#203c2c;--warning:#e7b24b;--warning-soft:#43351a;
  --danger:#ef7b7b;--danger-soft:#482525;--info:#6ca8df;--info-soft:#203a55;
  --shadow:0 2px 8px rgba(0,0,0,.2)
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,Arial,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);font-size:14px;line-height:1.45}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{color:inherit}.icon{width:19px;height:19px;display:block}.app-shell{display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:#223248;color:#e8eef5;border-right:1px solid #1a2737;padding:0 12px 14px;z-index:40}.brand{height:68px;display:flex;align-items:center;gap:10px;padding:0 8px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:10px}.brand-mark{flex:0 0 auto;width:36px;height:36px;border-radius:7px;background:#fff;color:#255b8d;display:grid;place-items:center;font-size:18px;font-weight:800;border:1px solid rgba(255,255,255,.25)}.brand-copy{min-width:0}.brand strong,.user-chip strong{display:block;font-size:14px}.brand small,.user-chip small{display:block;color:#b6c3d1;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav{display:flex;flex-direction:column;gap:13px}.nav-group{display:flex;flex-direction:column;gap:2px}.nav-label{padding:3px 10px 5px;color:#92a5ba;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.nav-link{min-height:38px;display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:6px;color:#cbd5df;transition:background .15s,color .15s}.nav-link:hover{background:#2c4058;color:#fff}.nav-link.active{background:#f4f7fb;color:#1f4f7a;font-weight:700}.nav-icon{display:grid;place-items:center;width:22px}.sidebar-footer{margin-top:24px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.user-chip{display:flex;align-items:center;gap:9px;padding:8px}.user-chip>div{min-width:0}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#46617d;color:#fff;font-weight:800}.main-area{min-width:0}.topbar{height:62px;position:sticky;top:0;z-index:30;background:var(--surface);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:14px;padding:0 20px}.topbar-breadcrumb{display:flex;flex-direction:column;min-width:0}.topbar-breadcrumb span{font-size:11px;color:var(--muted)}.topbar-breadcrumb strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.icon-btn{width:36px;height:36px;border:1px solid var(--border);border-radius:6px;background:var(--surface);display:grid;place-items:center;cursor:pointer}.icon-btn:hover{background:var(--surface-soft);border-color:var(--border-strong)}.menu-btn,.sidebar-close{display:none}.global-search{height:36px;width:260px;display:flex;align-items:center;gap:7px;padding:0 9px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft)}.global-search .icon{width:16px;color:var(--muted)}.global-search input{width:100%;border:0;outline:0;background:transparent;color:var(--text)}.locale-switch{height:36px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);padding:0 8px}.badge-wrap{position:relative}.badge{position:absolute;right:-5px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--danger);color:#fff;font-size:10px;display:grid;place-items:center}.content{width:100%;max-width:1660px;margin:0 auto;padding:22px}.page-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;margin:0 0 16px}.page-header h2{font-size:23px;line-height:1.2;margin:0;color:var(--text)}.page-header p{margin:5px 0 0;color:var(--muted);max-width:820px}.page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.btn{min-height:36px;padding:7px 12px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface);color:var(--text);display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-weight:650}.btn:hover{background:var(--surface-soft)}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.primary:hover{background:var(--primary-hover)}.btn.danger{background:var(--danger-soft);border-color:#efbaba;color:var(--danger)}.btn.small{min-height:29px;padding:4px 8px;font-size:12px}.btn-block{width:100%}.button-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.grid{display:grid;gap:14px}.grid.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.inner-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-header{min-height:48px;padding:12px 15px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;gap:10px}.card-header h3{margin:0;font-size:15px}.card-body{padding:15px}.card-intro{margin:0 0 13px;color:var(--muted)}.metric,.metric-card{padding:15px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.metric small,.metric-card small{display:block;color:var(--muted);font-size:12px}.metric strong,.metric-card strong{display:block;font-size:25px;line-height:1.2;margin-top:7px}.delta{font-size:11px;color:var(--success);margin-top:5px}.table-wrap{width:100%;overflow:auto;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.table-wrap table{width:100%;min-width:780px;border-collapse:collapse}th,td{text-align:left;padding:10px 11px;border-bottom:1px solid var(--border);vertical-align:middle}th{background:var(--surface-soft);color:#596678;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap}html[data-theme=dark] th{color:#b4c0cf}tbody tr:last-child td{border-bottom:0}tbody tr:hover td{background:var(--surface-soft)}.cell-sub{display:block;color:var(--muted);font-size:11px;margin-top:2px}.order-link{color:var(--primary);font-weight:750}.toolbar{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap;margin-bottom:13px;padding:11px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.toolbar form{display:flex;align-items:flex-end;gap:8px;flex:1;flex-wrap:wrap}.toolbar .field{min-width:150px;flex:0 1 210px}.toolbar input:not([type=hidden]),.toolbar select{height:36px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field{display:flex;flex-direction:column;gap:5px;min-width:0}.field>span{font-size:12px;color:#536172;font-weight:700}.field input,.field select,.field textarea{width:100%;min-height:38px;border:1px solid var(--border-strong);border-radius:6px;background:var(--surface);color:var(--text);padding:8px 10px;outline:none}.field textarea{min-height:105px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px var(--primary-soft)}.field-full{grid-column:1/-1}.field-help{color:var(--muted);font-size:11px;margin-top:1px}.optional-field{opacity:.92}.form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.check-field{display:flex;align-items:center;gap:8px;padding:8px 9px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft)}.check-field input{width:auto}.stack{display:flex;flex-direction:column;gap:13px}.two-column,.split-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(290px,.55fr);gap:14px;align-items:start}.status-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;background:var(--surface-strong);color:#455365;font-size:11px;font-weight:800;white-space:nowrap}.status-badge.success{background:var(--success-soft);color:var(--success)}.status-badge.warning{background:var(--warning-soft);color:var(--warning)}.status-badge.danger{background:var(--danger-soft);color:var(--danger)}.status-badge.info{background:var(--info-soft);color:var(--info)}.status-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--muted)}.status-dot.good{background:var(--success)}.status-dot.bad{background:var(--danger)}.alert,.notice{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:11px 13px;border:1px solid #b9d4ee;border-radius:7px;background:var(--info-soft);color:#204f79;margin-bottom:13px}.alert.success,.notice.success{background:var(--success-soft);border-color:#b9dec8;color:var(--success)}.alert.error,.notice.error{background:var(--danger-soft);border-color:#efc0c0;color:var(--danger)}.alert.warning,.notice.warning{background:var(--warning-soft);border-color:#eed79e;color:var(--warning)}.alert button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:18px}.empty-inline,.empty-state{text-align:center;color:var(--muted);padding:34px}.empty-state{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius)}.empty-icon{width:46px;height:46px;margin:0 auto 10px;display:grid;place-items:center;border:1px solid var(--border);border-radius:50%;background:var(--surface-soft);font-size:20px}.kpi-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--border)}.kpi-row:last-child{border-bottom:0}.kpi-row>span{color:var(--muted)}.pagination{display:flex;gap:5px;flex-wrap:wrap;margin-top:14px}.pagination a{padding:6px 9px;border:1px solid var(--border);border-radius:5px;background:var(--surface)}.pagination a.active{background:var(--primary);border-color:var(--primary);color:#fff}.tabs,.compact-tabs{display:flex;gap:2px;overflow:auto;border-bottom:1px solid var(--border);margin-bottom:14px}.tabs a,.compact-tabs a{padding:9px 11px;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent}.tabs a:hover,.compact-tabs a:hover{color:var(--text)}.tabs a.active,.compact-tabs a.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:750}.section-gap{margin-top:15px}.settings-section{padding:15px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.mapping-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.credential-box,.code-block{padding:11px;border:1px solid var(--border);border-radius:6px;background:#f6f8fa;color:#243244;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;overflow:auto;white-space:pre-wrap;word-break:break-word}html[data-theme=dark] .credential-box,html[data-theme=dark] .code-block{background:#101824;color:#dce6f0}.copy-row{display:flex;gap:8px;align-items:stretch}.copy-row .credential-box{flex:1}.endpoint-list,.scope-list{display:flex;flex-direction:column;gap:7px}.endpoint-list>div,.scope-list>div{padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft)}.http-code{display:inline-flex;min-width:45px;justify-content:center;padding:2px 6px;border-radius:4px;background:var(--primary-soft);color:var(--primary);font-size:11px;font-weight:800}.inline-form{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.config-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.config-group{padding:14px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.config-group h3{margin:0 0 5px;font-size:15px}.config-group p{margin:0 0 10px;color:var(--muted);font-size:12px}.config-icon,.help-icon{width:36px;height:36px;border-radius:7px;background:var(--primary-soft);color:var(--primary);display:grid;place-items:center;margin-bottom:10px}.config-links{display:flex;flex-direction:column}.config-links a{padding:7px 0;border-top:1px solid var(--border);color:var(--primary);font-weight:650}.config-links a:first-child{border-top:0}.help-search{margin-bottom:14px}.help-search input{width:100%;height:42px;border:1px solid var(--border-strong);border-radius:6px;padding:0 12px;background:var(--surface);color:var(--text)}.help-categories{display:flex;gap:6px;overflow:auto;margin-bottom:13px}.help-categories a{padding:6px 9px;border:1px solid var(--border);border-radius:5px;background:var(--surface);white-space:nowrap}.help-categories a.active{background:var(--primary);border-color:var(--primary);color:#fff}.help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.help-card{padding:14px;border:1px solid var(--border);border-radius:7px;background:var(--surface)}.help-card h3{margin:0 0 5px;font-size:15px}.help-card p{margin:0 0 10px;color:var(--muted)}.article{max-width:950px;margin:0 auto}.article-content,.legal-document{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:22px;box-shadow:var(--shadow)}.article-content h2,.article-content h3,.legal-document h2,.legal-document h3{margin-top:1.4em}.article-actions{display:flex;gap:8px;margin-bottom:12px}.chart-bars{height:190px;display:flex;align-items:flex-end;gap:8px}.chart-bars span{flex:1;min-width:10px;background:var(--primary);border-radius:3px 3px 0 0}.help-box{padding:12px;border-left:4px solid var(--primary);background:var(--primary-soft);border-radius:0 6px 6px 0}.footer{display:flex;justify-content:space-between;gap:14px;padding:15px 22px;color:var(--muted);font-size:11px}.sidebar-backdrop{display:none}
/* Login and registration */
.auth-body{min-height:100vh;background:#edf1f5;padding:24px;display:grid;place-items:center}.auth-shell{width:min(1000px,100%);min-height:600px;display:grid;grid-template-columns:minmax(420px,.9fr) minmax(380px,1.1fr);background:var(--surface);border:1px solid #d4dbe3;border-radius:10px;box-shadow:0 12px 35px rgba(31,47,65,.12);overflow:hidden}.auth-panel{padding:30px 36px;display:flex;flex-direction:column}.auth-logo{display:flex;align-items:center;gap:10px;margin-bottom:23px}.auth-logo span:last-child{display:flex;flex-direction:column}.auth-logo small{color:var(--muted);font-size:11px}.auth-tabs{display:flex;border-bottom:1px solid var(--border);margin-bottom:22px}.auth-tabs a{padding:10px 12px;color:var(--muted);border-bottom:2px solid transparent}.auth-tabs a.active{color:var(--primary);font-weight:800;border-bottom-color:var(--primary)}.auth-content{flex:1}.auth-heading{margin-bottom:17px}.auth-heading h1{font-size:25px;margin:0 0 5px}.auth-heading p{margin:0;color:var(--muted)}.auth-switch{margin-top:14px;text-align:center;color:var(--muted)}.auth-switch a{color:var(--primary);font-weight:750}.auth-footer{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px;padding-top:15px;border-top:1px solid var(--border);font-size:11px;color:var(--muted)}.auth-aside{background:#27425f;color:#fff;display:flex;align-items:center;padding:42px}.auth-aside-inner{max-width:440px}.auth-aside .eyebrow{display:block;color:#bdd2e6;font-weight:800;text-transform:uppercase;font-size:11px;letter-spacing:.08em}.auth-aside h2{font-size:30px;line-height:1.18;margin:11px 0}.auth-aside p{color:#d2deea;margin:0}.feature-list{list-style:none;padding:0;margin:27px 0 0;display:flex;flex-direction:column;gap:16px}.feature-list li{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}.feature-list .icon{color:#a9cee9;margin-top:2px}.feature-list strong,.feature-list small{display:block}.feature-list small{color:#c2d2e1;margin-top:2px}.auth-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:20px}.auth-brand{display:flex;gap:9px;align-items:center}.auth-brand small{display:block;color:var(--muted)}
/* Provider portal, legal and public surfaces */
.provider-body,.legal-body{margin:0;background:var(--bg)}.provider-header,.legal-header{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 22px;background:var(--surface);border-bottom:1px solid var(--border)}.provider-main,.legal-main{max-width:1180px;margin:0 auto;padding:24px}.legal-main{max-width:920px}.legal-title{margin-bottom:16px}.public-footer{padding:20px;text-align:center;color:var(--muted);font-size:11px}.platform-shell,.install-shell{min-height:100vh;background:var(--bg)}.platform-top,.install-head{padding:16px 22px;background:var(--surface);border-bottom:1px solid var(--border)}.platform-main{padding:22px}.platform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.application-card,.install-card{background:var(--surface);border:1px solid var(--border);border-radius:8px;padding:15px}.application-actions{display:flex;gap:7px;flex-wrap:wrap}.steps{display:flex;gap:8px;flex-wrap:wrap}.steps>*{padding:7px 9px;border:1px solid var(--border);border-radius:5px;background:var(--surface-soft)}.preset-note{padding:10px;background:var(--warning-soft);border:1px solid #ead49e;border-radius:6px;color:var(--warning)}.landing-wrap{min-height:100vh;background:var(--bg);padding:24px}.landing-grid{width:min(1050px,100%);margin:0 auto;display:grid;grid-template-columns:1fr 420px;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}.landing-copy,.landing-form{padding:32px}.landing-copy{background:#27425f;color:#fff}.compact{font-size:12px}.chevron{margin-left:auto}
@media(max-width:1200px){.grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.cols-3,.config-grid,.help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column,.split-layout{grid-template-columns:1fr}}
@media(max-width:900px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;width:min(290px,88vw);transform:translateX(-105%);transition:transform .2s;box-shadow:16px 0 36px rgba(0,0,0,.24)}.sidebar.open{transform:translateX(0)}.sidebar-close,.menu-btn{display:grid}.sidebar-close{margin-left:auto;background:transparent;color:#fff;border-color:rgba(255,255,255,.18)}.sidebar-backdrop{position:fixed;inset:0;background:rgba(17,24,39,.45);z-index:35}body.sidebar-open .sidebar-backdrop{display:block}.global-search{display:none}.auth-shell{grid-template-columns:1fr;max-width:570px}.auth-aside{display:none}.landing-grid{grid-template-columns:1fr}.platform-grid{grid-template-columns:1fr}}
@media(max-width:650px){html,body{font-size:13px}.content{padding:14px}.topbar{padding:0 11px}.topbar-breadcrumb span{display:none}.page-header{flex-direction:column}.page-actions{width:100%}.page-actions .btn{flex:1}.grid.cols-4,.grid.cols-3,.grid.cols-2,.inner-grid,.form-grid,.mapping-grid,.config-grid,.help-grid,.check-grid{grid-template-columns:1fr}.field-full{grid-column:auto}.toolbar{align-items:stretch}.toolbar form{flex-direction:column;align-items:stretch}.toolbar .field{width:100%;max-width:none}.footer{flex-direction:column;padding:14px}.auth-body{padding:0;background:var(--surface)}.auth-shell{min-height:100vh;border:0;border-radius:0;box-shadow:none}.auth-panel{padding:22px 18px}.provider-main,.legal-main,.platform-main{padding:14px}.landing-wrap{padding:0}.landing-grid{border-radius:0;border-left:0;border-right:0}.landing-copy,.landing-form{padding:22px 18px}.copy-row{flex-direction:column}.button-row .btn{flex:1}}


/* Guided setup */
.setup-card{margin-bottom:18px;border-left:4px solid var(--primary)}
.setup-card .card-header{align-items:flex-start}
.progress-track{height:8px;background:#e7ebf1;border-radius:999px;overflow:hidden;margin-bottom:16px}
.progress-track span{display:block;height:100%;background:var(--primary);border-radius:999px}
.setup-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.setup-item{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:8px;padding:12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);text-decoration:none}
.setup-item:hover{border-color:#b8c2d1;background:#f8fafc}
.setup-item.done{background:#f5faf7;border-color:#cfe7d6}
.setup-check{font-weight:800;color:var(--primary)}
.setup-item.done .setup-check{color:#21864d}
.setup-item small{color:var(--muted);font-size:.75rem}
.dashboard-metrics{margin-top:0}
@media(max-width:920px){.setup-list{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.setup-list{grid-template-columns:1fr}.setup-item{grid-template-columns:24px 1fr}.setup-item small{grid-column:2}}

/* =========================================================
   YRV CRM 2.1 — interfaz empresarial clara y unificada
   ========================================================= */
:root{
  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-soft:#f8fafc;
  --surface-strong:#eef3f8;
  --text:#17233a;
  --muted:#69758a;
  --border:#dfe5ed;
  --border-strong:#cbd4df;
  --primary:#0f4c8a;
  --primary-hover:#0b3e72;
  --primary-soft:#eaf3fb;
  --success:#218653;
  --success-soft:#e8f6ee;
  --warning:#9b6800;
  --warning-soft:#fff5dd;
  --danger:#bb3d48;
  --danger-soft:#fdecee;
  --info:#0f4c8a;
  --info-soft:#eaf3fb;
  --shadow:0 1px 2px rgba(23,35,58,.03);
  --radius:8px;
  --sidebar:206px;
}
html[data-theme=dark]{
  --bg:#f4f7fb;--surface:#fff;--surface-soft:#f8fafc;--surface-strong:#eef3f8;
  --text:#17233a;--muted:#69758a;--border:#dfe5ed;--border-strong:#cbd4df;
  --primary:#0f4c8a;--primary-hover:#0b3e72;--primary-soft:#eaf3fb;
  --success:#218653;--success-soft:#e8f6ee;--warning:#9b6800;--warning-soft:#fff5dd;
  --danger:#bb3d48;--danger-soft:#fdecee;--info:#0f4c8a;--info-soft:#eaf3fb;
  --shadow:0 1px 2px rgba(23,35,58,.03)
}
html,body{font-family:Inter,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}
body{min-width:320px}
.app-shell{grid-template-columns:var(--sidebar) minmax(0,1fr)}
.sidebar{
  background:#073a6b;
  border-right:0;
  padding:0 10px 12px;
  box-shadow:4px 0 18px rgba(7,47,88,.08)
}
.brand{height:64px;padding:0 8px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.1)}
.brand-mark{width:32px;height:32px;border-radius:7px;background:#f58a1f;color:#fff;border:0;font-size:16px;box-shadow:none}
.brand-copy strong{font-size:13px;color:#fff;max-width:126px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-copy small{color:#9fbed9}
.nav{gap:10px}
.nav-label{padding:4px 10px 3px;color:#78a0c2;font-size:9px;letter-spacing:.11em}
.nav-link{min-height:39px;padding:9px 10px;border-radius:6px;color:#d7e5f1;font-size:13px}
.nav-link:hover{background:rgba(255,255,255,.08);color:#fff}
.nav-link.active{position:relative;background:rgba(255,255,255,.14);color:#fff;font-weight:700}
.nav-link.active:before{content:"";position:absolute;left:-10px;top:8px;bottom:8px;width:3px;background:#fff;border-radius:0 3px 3px 0}
.nav-icon{width:21px}.nav-icon .icon{width:18px;height:18px}
.sidebar-footer{margin-top:18px;padding-top:10px}
.user-chip{padding:9px 7px}.user-chip strong{font-size:12px;color:#fff}.user-chip small{font-size:10px;color:#a7c1d8}
.avatar{background:#dce9f8;color:#164f87;width:31px;height:31px;font-size:12px}
.main-area{background:var(--bg)}
.topbar{
  height:60px;padding:0 18px;background:#fff;border-bottom:1px solid #e1e6ed;
  box-shadow:0 1px 2px rgba(23,35,58,.02)
}
.global-search{width:min(480px,42vw);height:36px;background:#fff;border-color:#d6dde7;padding:0 10px}
.global-search:focus-within{border-color:#8bb2d7;box-shadow:0 0 0 3px #edf5fc}
.global-search kbd{white-space:nowrap;border:1px solid #dce3eb;border-bottom-width:2px;background:#f7f9fb;border-radius:5px;padding:2px 6px;color:#7b8799;font-size:10px}
.topbar-actions{gap:9px}.topbar-create{width:36px;height:36px;border-radius:8px;background:#073f75;color:#fff;display:grid;place-items:center;font-size:24px;line-height:1}.topbar-create:hover{background:#052f59}
.locale-switch{border-color:#dbe2ea;background:#fff}
.topbar-user{display:flex;align-items:center;gap:8px;padding-left:4px}.topbar-user>span:last-child{display:flex;flex-direction:column;line-height:1.15}.topbar-user strong{font-size:11px;max-width:130px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.topbar-user small{font-size:9px;color:var(--muted)}.small-avatar{width:31px;height:31px;background:#eadcf6;color:#6a3e90}
.content{max-width:none;padding:18px 18px 24px}
.footer{padding:12px 18px;border-top:1px solid #e3e8ef;background:#fff}
.page-header{margin:0 0 14px;align-items:center}.page-header h2{font-size:21px}.page-header p{font-size:12px;margin-top:3px}.page-actions{gap:7px}
.btn{min-height:35px;border-radius:6px;border-color:#d0d9e4;background:#fff;font-size:12px;padding:7px 11px;box-shadow:none}.btn:hover{border-color:#aebdcc;background:#f8fafc}.btn.primary{background:#0b437b;border-color:#0b437b}.btn.primary:hover{background:#073765}
.icon-btn{border-color:#d9e0e8;background:#fff;border-radius:7px}
.card{border-color:#dfe5ed;border-radius:8px;box-shadow:0 1px 2px rgba(23,35,58,.025)}
.card-header{min-height:46px;padding:11px 14px;background:#fff}.card-header h3{font-size:13px}.card-header p{font-size:11px;margin:2px 0 0;color:var(--muted)}.card-body{padding:14px}
.metric,.metric-card{border-color:#dfe5ed;border-radius:8px;box-shadow:none}.metric strong,.metric-card strong{font-size:23px}
.table-wrap{border-radius:7px;border-color:#dfe5ed}.table-wrap table{min-width:720px}th{background:#f7f9fc;color:#667286;font-size:10px;padding:9px 10px}td{padding:9px 10px;font-size:12px}.table-wrap tbody tr:hover td{background:#f9fbfd}
.toolbar{padding:9px;border-radius:7px;background:#fff}.field input,.field select,.field textarea{border-radius:6px;background:#fff}.field>span{font-size:11px}.field input:focus,.field select:focus,.field textarea:focus{box-shadow:0 0 0 3px #edf5fc}
.status-badge{border-radius:5px;padding:3px 7px;font-size:10px}
.alert,.notice{border-radius:6px}
.tabs{border-bottom-color:#dfe5ed}.tabs a{font-size:12px}

/* Login y creación de cuenta */
.auth-body{background:#eef3f8;padding:28px}
.auth-shell{width:min(990px,100%);min-height:610px;grid-template-columns:minmax(390px,.88fr) minmax(440px,1.12fr);border-radius:11px;border-color:#d8e0e9;box-shadow:0 20px 60px rgba(17,38,63,.12)}
.auth-panel{padding:28px 34px}.auth-logo{margin-bottom:20px}.auth-tabs{margin-bottom:20px}.auth-tabs a{font-size:12px;padding:9px 11px}.auth-heading h1{font-size:24px}.auth-heading p{font-size:12px}.auth-aside{background:#0b3d70;padding:42px 44px}.auth-aside-inner{max-width:500px}.auth-aside-badge{width:46px;height:46px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.12);margin-bottom:24px}.auth-aside h2{font-size:29px;margin:9px 0 10px}.auth-aside p{font-size:13px;line-height:1.65}.auth-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:27px}.auth-feature-grid>div{padding:14px;border:1px solid rgba(255,255,255,.15);border-radius:8px;background:rgba(255,255,255,.06)}.auth-feature-grid .icon{color:#b9d9f4;margin-bottom:9px}.auth-feature-grid strong,.auth-feature-grid small{display:block}.auth-feature-grid strong{font-size:12px}.auth-feature-grid small{font-size:10px;color:#bdd0e1;margin-top:4px;line-height:1.45}

/* Centro único de configuración */
.owner-settings-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 16px;margin-bottom:14px;background:#fff;border:1px solid var(--border);border-radius:8px}
.owner-settings-brand{display:flex;align-items:center;gap:11px}.owner-settings-brand strong,.owner-settings-brand small{display:block}.owner-settings-brand small{color:var(--muted);font-size:11px;margin-top:2px}
.owner-only-note{display:flex;align-items:center;gap:9px;padding:9px 11px;background:#f2f7fc;border:1px solid #d8e7f5;border-radius:7px;color:#194f80}.owner-only-note .icon{width:18px}.owner-only-note span{display:flex;flex-direction:column}.owner-only-note strong{font-size:11px}.owner-only-note small{font-size:9px;color:#5f7890}
.settings-layout{display:grid;grid-template-columns:275px minmax(0,1fr);gap:14px;align-items:start}.settings-nav{display:flex;flex-direction:column;background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.settings-nav>a{display:grid;grid-template-columns:30px 1fr 14px;align-items:center;gap:8px;padding:12px;border-bottom:1px solid var(--border);color:var(--text)}.settings-nav>a:last-child{border-bottom:0}.settings-nav>a:hover{background:#f8fafc}.settings-nav>a.active{background:#edf5fc;box-shadow:inset 3px 0 #0f4c8a}.settings-nav>a>span:first-child{color:#52708e}.settings-nav>a.active>span:first-child{color:#0f4c8a}.settings-nav .icon{width:18px;height:18px}.settings-nav strong,.settings-nav small{display:block}.settings-nav strong{font-size:12px}.settings-nav small{font-size:9px;color:var(--muted);margin-top:2px;line-height:1.35}
.settings-panel{min-height:470px}.settings-panel-head{display:flex;align-items:flex-start;gap:12px;padding:20px;border-bottom:1px solid var(--border)}.settings-panel-icon{width:44px;height:44px;border-radius:8px;display:grid;place-items:center;background:#edf5fc;color:#0f4c8a}.settings-panel-head h2{margin:0;font-size:18px}.settings-panel-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.settings-option-list{padding:8px 16px 16px}.settings-option-list>a{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:11px;padding:14px 4px;border-bottom:1px solid var(--border)}.settings-option-list>a:last-child{border-bottom:0}.settings-option-list>a:hover strong{color:var(--primary)}.settings-option-icon{width:34px;height:34px;border:1px solid #dce5ee;border-radius:7px;display:grid;place-items:center;color:#4e6f90;background:#f9fbfd}.settings-option-icon .icon{width:17px}.settings-option-list strong,.settings-option-list small{display:block}.settings-option-list strong{font-size:12px}.settings-option-list small{font-size:10px;color:var(--muted);margin-top:3px}

/* Ficha de pedido / lead estilo CRM práctico */
.record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.record-breadcrumb{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.record-breadcrumb a{color:var(--primary);font-weight:700}.record-breadcrumb strong{color:var(--text)}.record-actions{display:flex;gap:7px;flex-wrap:wrap}.record-actions .icon{width:15px;height:15px}
.record-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:14px;align-items:start}.record-main{display:flex;flex-direction:column;gap:14px}.record-rail{display:flex;flex-direction:column;gap:12px;position:sticky;top:74px}
.lead-profile-card{overflow:visible}.lead-profile-top{display:grid;grid-template-columns:92px minmax(280px,1fr) minmax(280px,.85fr);gap:18px;align-items:center;padding:22px;border-bottom:1px solid var(--border)}.lead-avatar{position:relative;width:82px;height:82px;border-radius:50%;display:grid;place-items:center;background:#dceafe;color:#174d89;font-size:26px;font-weight:600}.lead-avatar span{position:absolute;right:3px;bottom:6px;width:18px;height:18px;border:3px solid #fff;border-radius:50%;background:#20a15d}.lead-title-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.lead-title-row h1{margin:0;font-size:23px;line-height:1.2}.lead-identity>p{margin:5px 0 9px;color:#536176}.lead-tags{display:flex;gap:6px;flex-wrap:wrap}.lead-tags span{padding:4px 8px;border-radius:5px;background:#f0f4f8;color:#536176;font-size:10px}.lead-contact-list{display:flex;flex-direction:column;gap:12px}.lead-contact-list>div{display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:start}.lead-contact-list .icon{width:17px;color:#486b8d;margin-top:2px}.lead-contact-list small,.lead-contact-list strong{display:block}.lead-contact-list small{font-size:9px;color:var(--muted)}.lead-contact-list strong{font-size:11px;margin-top:1px;word-break:break-word}
.lead-profile-middle{display:grid;grid-template-columns:minmax(0,.9fr) minmax(350px,1.1fr);padding:18px 22px;border-bottom:1px solid var(--border)}.lead-facts{display:grid;grid-template-columns:1fr 1fr;gap:13px 22px;padding-right:24px;border-right:1px solid var(--border)}.lead-facts small,.lead-facts strong{display:block}.lead-facts small{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}.lead-facts strong{font-size:11px;margin-top:3px}.recent-activity-preview{padding-left:24px}.section-mini-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.section-mini-head h3{margin:0;font-size:12px}.section-mini-head>span{font-size:10px;color:var(--muted)}.activity-preview-row{display:grid;grid-template-columns:10px 1fr auto;gap:8px;align-items:center;padding:6px 0}.activity-dot{width:7px;height:7px;border-radius:50%;background:#3e83c4}.activity-preview-row strong,.activity-preview-row small{display:block}.activity-preview-row strong{font-size:10px}.activity-preview-row small{font-size:9px;color:var(--muted)}.activity-preview-row time{font-size:9px;color:var(--muted)}
.pipeline-wrap{padding:14px 16px}.pipeline{display:flex;overflow:auto;gap:0}.pipeline-step{position:relative;min-width:118px;flex:1;height:36px;display:flex;align-items:center;justify-content:center;padding:0 15px 0 21px;background:#f2f5f8;color:#657187;font-size:10px;border:1px solid #e1e7ee;border-right:0;clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%,14px 50%)}.pipeline-step:first-child{clip-path:polygon(0 0,calc(100% - 14px) 0,100% 50%,calc(100% - 14px) 100%,0 100%);padding-left:12px}.pipeline-step:last-child{border-right:1px solid #e1e7ee}.pipeline-step i{display:none}.pipeline-step.active{background:#0d4e91;color:#fff;border-color:#0d4e91;font-weight:700}
.record-subgrid{display:grid;grid-template-columns:.8fr 1.2fr;gap:14px}.team-list{padding:0 14px}.team-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--border)}.team-row:last-child{border-bottom:0}.team-row strong,.team-row small{display:block}.team-row strong{font-size:11px}.team-row small{font-size:9px;color:var(--muted)}
.script-card .card-body{line-height:1.7;font-size:12px;background:#fbfcfe}
.record-history-card{overflow:hidden}.record-tabs{display:flex;gap:0;border-bottom:1px solid var(--border);overflow:auto}.record-tabs button{border:0;background:#fff;padding:12px 15px;color:var(--muted);font-size:11px;cursor:pointer;border-bottom:2px solid transparent;white-space:nowrap}.record-tabs button.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:700}.record-tab-panel{display:none;padding:12px}.record-tab-panel.active{display:block}
.record-rail .card{box-shadow:none}.summary-list{padding:4px 14px 10px}.summary-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid var(--border)}.summary-list>div:last-child{border-bottom:0}.summary-list span{font-size:10px;color:var(--muted)}.summary-list strong{font-size:10px;text-align:right;max-width:165px;word-break:break-word}.order-note{padding:10px;border:1px solid #ebe4d3;background:#fffdf5;border-radius:6px;font-size:10px;line-height:1.55;max-height:160px;overflow:auto}.compact-form{margin-top:10px;gap:8px}.compact-form .field textarea{min-height:72px}.compact-form .field input,.compact-form .field select,.compact-form .field textarea{font-size:11px}.reminder-item{display:grid;grid-template-columns:25px 1fr;gap:8px;align-items:start}.reminder-item .icon{width:17px;color:#0f68bd}.reminder-item strong,.reminder-item small{display:block}.reminder-item strong{font-size:11px}.reminder-item small{font-size:9px;color:var(--muted);margin-top:2px}.empty-rail{padding:10px 0;color:var(--muted);font-size:10px}.rail-details{margin-top:10px}.rail-details summary{cursor:pointer;color:var(--primary);font-size:10px;font-weight:700}.duplicate-list{padding:5px 14px 10px}.duplicate-list a{display:flex;flex-direction:column;padding:8px 0;border-bottom:1px solid var(--border)}.duplicate-list a:last-child{border-bottom:0}.duplicate-list strong{font-size:10px}.duplicate-list small{font-size:9px;color:var(--muted)}

/* Dashboard menos fragmentado */
.setup-card{border-left:0}.setup-card .card-header{background:#f9fbfd}.setup-list{grid-template-columns:repeat(3,minmax(0,1fr))}.setup-item{border-radius:6px;background:#fff}.dashboard-metrics{gap:12px}.chart-bars{height:160px}

/* Responsive */
@media(max-width:1260px){
  .record-layout{grid-template-columns:minmax(0,1fr) 270px}
  .lead-profile-top{grid-template-columns:82px minmax(250px,1fr) minmax(235px,.8fr)}
  .lead-profile-middle{grid-template-columns:1fr}
  .lead-facts{border-right:0;padding-right:0;padding-bottom:16px;border-bottom:1px solid var(--border)}
  .recent-activity-preview{padding:16px 0 0}
}
@media(max-width:1050px){
  .topbar-user>span:last-child{display:none}
  .record-layout{grid-template-columns:1fr}.record-rail{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.record-rail>section{min-width:0}
  .settings-layout{grid-template-columns:230px minmax(0,1fr)}
}
@media(max-width:900px){
  .sidebar{width:min(260px,88vw)}
  .topbar{padding:0 12px}.global-search{width:min(420px,55vw)}
  .lead-profile-top{grid-template-columns:72px 1fr}.lead-contact-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);padding-top:14px;border-top:1px solid var(--border)}
  .record-subgrid{grid-template-columns:1fr}
  .settings-layout{grid-template-columns:1fr}.settings-nav{display:grid;grid-template-columns:repeat(2,1fr)}.settings-nav>a{border-right:1px solid var(--border)}
}
@media(max-width:700px){
  .auth-body{padding:0}.auth-shell{min-height:100vh;border:0;border-radius:0}.auth-panel{padding:23px 18px}
  .record-toolbar{align-items:flex-start;flex-direction:column}.record-actions{width:100%}.record-actions .btn{flex:1}
  .lead-profile-top{padding:16px;grid-template-columns:60px 1fr;gap:12px}.lead-avatar{width:58px;height:58px;font-size:18px}.lead-title-row h1{font-size:19px}.lead-contact-list{grid-template-columns:1fr}
  .lead-profile-middle{padding:14px 16px}.lead-facts{grid-template-columns:1fr 1fr}.pipeline-step{min-width:105px}
  .record-rail{grid-template-columns:1fr}
  .owner-settings-banner{align-items:flex-start;flex-direction:column}.owner-only-note{width:100%}
  .settings-nav{grid-template-columns:1fr}.settings-option-list>a{grid-template-columns:34px 1fr}.settings-option-list>a>.btn{grid-column:2;justify-self:start}
  .topbar-user{display:none}.global-search{width:auto;flex:1}.global-search kbd{display:none}
}
@media(max-width:480px){
  .content{padding:12px}.topbar{gap:7px}.locale-switch{display:none}
  .lead-facts{grid-template-columns:1fr}.activity-preview-row{grid-template-columns:10px 1fr}.activity-preview-row time{grid-column:2}
  .record-actions .btn{min-width:calc(50% - 4px)}
}
.topbar-title{min-width:0}.topbar-title strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* YRV CRM 2.2 · configuración comercial, direcciones y ayuda operativa */
.settings-workbench{display:grid;grid-template-columns:minmax(320px,.78fr) minmax(520px,1.22fr);gap:14px;align-items:start}.settings-workbench>.stack{display:flex;flex-direction:column;gap:14px}.project-name-link{display:flex;flex-direction:column;gap:2px;color:var(--text)}.project-name-link:hover strong{color:var(--primary)}.project-name-link small{font-size:9px;color:var(--muted)}
.product-selector,.price-matrix{border:1px solid var(--border);border-radius:7px;padding:14px;margin:0}.product-selector legend,.price-matrix legend{font-size:12px;font-weight:750;padding:0 6px}.product-selector>p,.price-matrix>p{margin:0 0 12px;color:var(--muted);font-size:10px;line-height:1.5}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.check-grid>label{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;padding:10px;border:1px solid var(--border);border-radius:6px;background:#fbfcfe;cursor:pointer}.check-grid strong,.check-grid small{display:block}.check-grid strong{font-size:11px}.check-grid small{font-size:9px;color:var(--muted);margin-top:2px}.price-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.price-grid>label{display:grid;grid-template-columns:1fr 120px;align-items:center;gap:10px;padding:9px;border:1px solid var(--border);border-radius:6px;background:#fbfcfe}.price-grid strong,.price-grid small{display:block}.price-grid strong{font-size:10px}.price-grid small{font-size:9px;color:var(--muted);margin-top:2px}.price-grid input{width:100%;min-height:34px;border:1px solid var(--border);border-radius:6px;padding:7px 8px;background:#fff}
.channel-assignment{border:1px solid var(--border);border-radius:7px;padding:14px;margin:4px 0 0}.channel-assignment>legend{font-size:12px;font-weight:750;padding:0 6px}.channel-assignment>p{font-size:10px;color:var(--muted);margin:0 0 12px}.channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.channel-card{border:1px solid var(--border);border-radius:7px;background:#fbfcfe;padding:11px}.channel-card h4{display:flex;align-items:center;gap:7px;margin:0 0 10px;font-size:11px}.channel-card .field{margin-bottom:8px}.channel-card .field:last-child{margin-bottom:0}
.address-assistant{border:1px solid #d8e3ef;border-radius:8px;background:#fbfdff;padding:14px;overflow:hidden}.address-assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.address-assistant-head strong,.address-assistant-head small{display:block}.address-assistant-head strong{font-size:12px}.address-assistant-head small{margin-top:3px;color:var(--muted);font-size:10px;line-height:1.45}.place-autocomplete-slot{margin-bottom:12px}.place-autocomplete-input{width:100%;min-height:42px;border:1px solid #b9cadc;border-radius:7px;background:#fff;padding:9px 12px;font:inherit;box-shadow:0 1px 2px rgba(20,45,75,.04)}.place-autocomplete-input:focus{outline:0;border-color:#5791c6;box-shadow:0 0 0 3px #e8f2fb}.address-grid{display:grid;grid-template-columns:2fr .7fr 1fr 1.2fr;gap:10px}.address-grid .field:first-child{grid-column:span 2}.address-map-wrap{margin-top:12px;border:1px solid var(--border);border-radius:7px;overflow:hidden;background:#eef3f7}.address-map{height:280px}.map-status{display:flex;align-items:center;min-height:34px;padding:7px 10px;border-top:1px solid var(--border);background:#fff;color:var(--muted);font-size:10px}.map-status[data-state="exact"]{color:#147744;background:#f1fbf5}.map-status[data-state="approximate"]{color:#9a5b00;background:#fff8e9}.map-status[data-state="error"]{color:#a72e2e;background:#fff3f3}.map-status[data-state="loading"]{color:#0d5795;background:#f1f7fd}.address-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.address-actions small{color:var(--muted);font-size:9px;flex:1;min-width:230px}.record-minimap{height:210px;border-radius:6px;margin-bottom:10px;background:#eef3f7}.location-summary{display:flex;flex-direction:column;gap:5px}.location-summary strong{font-size:11px;line-height:1.45}.location-summary small{font-size:9px;color:var(--muted)}.location-summary a{font-size:10px;font-weight:700;color:var(--primary);margin-top:4px}.order-form-v22>.card-body{padding:18px}
.help-hero{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px;margin-bottom:14px;border:1px solid var(--border);border-radius:8px;background:#fff}.help-search{display:flex;align-items:center;gap:8px;flex:1;max-width:720px}.help-search>span{color:#59738e}.help-search .icon{width:18px}.help-search input{flex:1;min-height:39px;border:1px solid var(--border);border-radius:6px;padding:8px 10px}.help-quick-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.help-quick-links a{font-size:10px;font-weight:700;color:var(--primary)}.help-diagnostics{margin-bottom:14px}.diagnostic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:12px 14px 14px}.diagnostic-item{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:8px;border:1px solid var(--border);border-radius:7px;padding:10px;background:#fbfcfe;color:var(--text)}.diagnostic-item>span{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;font-weight:800;background:#eef2f6;color:#7d8793}.diagnostic-item.ok>span{background:#e7f7ed;color:#17804a}.diagnostic-item.pending>span{background:#fff3d9;color:#976000}.diagnostic-item strong,.diagnostic-item small{display:block}.diagnostic-item strong{font-size:10px}.diagnostic-item small{font-size:8px;color:var(--muted);margin-top:2px}.help-categories-v22{display:flex;flex-direction:column;gap:18px}.help-category-title{display:flex;align-items:center;gap:8px;margin:0 0 8px}.help-category-title h3{margin:0;font-size:13px}.help-category-title span{display:grid;place-items:center;min-width:22px;height:20px;padding:0 6px;border-radius:10px;background:#eaf1f8;color:#325e87;font-size:9px}.help-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.help-card{display:grid;grid-template-columns:38px 1fr 14px;align-items:center;gap:10px;padding:13px;border:1px solid var(--border);border-radius:7px;background:#fff;color:var(--text)}.help-card:hover{border-color:#b9ccde;background:#fbfdff}.help-icon{width:36px;height:36px;border-radius:7px;display:grid;place-items:center;background:#eef5fb;color:#275f92}.help-icon .icon{width:18px}.help-card strong,.help-card small{display:block}.help-card strong{font-size:11px}.help-card small{font-size:9px;color:var(--muted);margin-top:3px;line-height:1.4}.help-card .chevron{font-size:19px;color:#94a1af}.help-article-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:14px;align-items:start}.guide-steps{margin:0;padding-left:22px;display:flex;flex-direction:column;gap:10px}.guide-steps li{padding-left:4px;font-size:11px;line-height:1.65}.guide-steps.large{gap:14px}.guide-steps.large li{font-size:13px}.article-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
@media(max-width:1180px){.settings-workbench{grid-template-columns:1fr}.diagnostic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.address-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.address-grid .field:first-child{grid-column:span 1}}
@media(max-width:800px){.channel-grid,.price-grid,.help-grid{grid-template-columns:1fr}.help-article-layout{grid-template-columns:1fr}.help-hero{align-items:stretch;flex-direction:column}.diagnostic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.address-map{height:230px}}
@media(max-width:560px){.check-grid,.address-grid,.diagnostic-grid{grid-template-columns:1fr}.price-grid>label{grid-template-columns:1fr}.channel-grid{grid-template-columns:1fr}.address-actions .btn{width:100%}.address-actions small{min-width:0}.help-search{align-items:stretch;flex-direction:column}.help-search>span{display:none}}
/* Ajustes finales 2.2 */
.place-autocomplete-element,gmp-place-autocomplete{display:block;width:100%;min-height:42px;border:1px solid #b9cadc;border-radius:7px;background:#fff;box-shadow:0 1px 2px rgba(20,45,75,.04);color:var(--text);font:inherit}
.price-group-list>a{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--text)}.price-group-list>a:hover{background:#f8fbfe}.channel-disable{margin-top:10px;padding-top:9px;border-top:1px solid var(--border);color:#8a3e3e}.channel-disable input:checked+span{color:#a72e2e}

/* YRV CRM 2.3 · grupos, proveedores, permisos, asistente y telefonía web */
.dashboard-metrics{align-items:stretch}.dashboard-metrics .metric-card{min-height:118px;background:#fff!important;color:var(--text)!important;border:1px solid var(--border);border-top:3px solid #3478b8;box-shadow:0 4px 14px rgba(18,39,64,.05);padding:16px;display:flex;flex-direction:column;gap:5px}.dashboard-metrics .metric-card span{font-size:10px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}.dashboard-metrics .metric-card strong{font-size:25px;line-height:1.2;color:var(--text)}.dashboard-metrics .metric-card small{font-size:9px;color:var(--muted)}.dashboard-metrics .metric-card a{font-size:9px;font-weight:750;margin-top:auto}.metric-card.accent-green{border-top-color:#28a268}.metric-card.accent-violet{border-top-color:#765ac6}.metric-card.accent-orange{border-top-color:#e48b29}.metric-card.accent-blue{border-top-color:#3478b8}
.dashboard-split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);gap:14px;align-items:stretch}.dashboard-chart-card,.quick-panel{min-height:330px}.modern-bars{height:230px;display:flex;align-items:flex-end;gap:7px;padding:20px 6px 4px;overflow-x:auto;border-bottom:1px solid var(--border)}.modern-bar{height:100%;min-width:35px;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px}.modern-bar>span{width:min(24px,65%);min-height:6px;border-radius:4px 4px 0 0;background:#3b80bd;box-shadow:inset 0 -1px rgba(0,0,0,.08)}.modern-bar strong{font-size:9px}.modern-bar small{font-size:8px;color:var(--muted);white-space:nowrap}.report-bars{height:280px}.quick-panel .card-body{display:flex;flex-direction:column;padding:8px 14px}.quick-panel a{display:grid;grid-template-columns:34px 1fr 15px;gap:10px;align-items:center;padding:13px 2px;border-bottom:1px solid var(--border);color:var(--text)}.quick-panel a:last-child{border-bottom:0}.quick-panel a:after{content:'›';color:#8a98a7;font-size:18px}.quick-panel .icon{width:20px;color:#386b99}.quick-panel strong,.quick-panel small{display:block}.quick-panel strong{font-size:11px}.quick-panel small{font-size:9px;color:var(--muted);margin-top:2px}.legend-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--dot);margin-right:7px}
.config-hub-v23{display:flex;flex-direction:column;gap:14px}.config-section-card .card-header p{max-width:780px}.config-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.config-tile{display:grid;grid-template-columns:40px 1fr 14px;align-items:center;gap:10px;min-height:78px;padding:12px;border:1px solid var(--border);border-radius:7px;background:#fbfcfe;color:var(--text)}.config-tile:hover{border-color:#b9ccde;background:#f6faff}.config-tile-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:7px;background:#eaf3fb;color:#265e91}.config-tile-icon .icon{width:19px}.config-tile strong,.config-tile small{display:block}.config-tile strong{font-size:11px}.config-tile small{font-size:9px;color:var(--muted);line-height:1.4;margin-top:3px}.config-tile>b{color:#8a98a7;font-size:18px}
.settings-sidebar{min-width:0}.settings-sidebar .table-wrap{max-height:70vh;overflow:auto}.settings-main{min-width:0}.selection-list{display:flex;flex-direction:column;gap:7px}.selection-item{display:grid;grid-template-columns:18px 1fr auto;gap:8px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:6px;background:#fbfcfe}.selection-item strong,.selection-item small{display:block}.selection-item strong{font-size:10px}.selection-item small{font-size:9px;color:var(--muted)}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.permission-item{display:grid;grid-template-columns:18px 1fr;gap:8px;align-items:start;padding:10px;border:1px solid var(--border);border-radius:6px;background:#fbfcfe}.permission-item strong,.permission-item small{display:block}.permission-item strong{font-size:10px}.permission-item small{font-size:8px;color:var(--muted);margin-top:2px}.permission-item.denied{background:#fff8f8;border-color:#efd3d3}.filter-bar{display:flex;align-items:end;gap:8px;flex-wrap:wrap;padding:11px;background:#fff;border:1px solid var(--border);border-radius:7px;margin-bottom:14px}.filter-bar .field{min-width:160px;margin:0}.filter-bar .btn{margin-bottom:1px}
.assistant-shell{display:grid;grid-template-rows:auto minmax(420px,1fr) auto;min-height:calc(100vh - 180px);background:#fff;border:1px solid var(--border);border-radius:8px;overflow:hidden}.assistant-notice{display:flex;align-items:flex-start;gap:10px;padding:12px 15px;background:#f1f7fd;border-bottom:1px solid #d8e7f5}.assistant-notice .icon{width:19px;color:#2c679a}.assistant-notice strong,.assistant-notice p{display:block}.assistant-notice strong{font-size:11px}.assistant-notice p{margin:3px 0 0;font-size:9px;color:var(--muted)}.assistant-thread{padding:18px;overflow:auto;display:flex;flex-direction:column;gap:12px}.assistant-empty{margin:auto;text-align:center;color:var(--muted)}.assistant-empty h3{color:var(--text)}.assistant-message{display:grid;grid-template-columns:32px minmax(0,1fr);gap:9px;align-items:start;max-width:82%}.assistant-message.user{align-self:flex-end;grid-template-columns:minmax(0,1fr) 32px}.assistant-message.user .avatar{grid-column:2}.assistant-message.user>div:last-child{grid-column:1;grid-row:1;background:#0f4f8e;color:#fff}.assistant-message>div:last-child{padding:11px 13px;border:1px solid var(--border);border-radius:8px;background:#f7f9fb;font-size:11px;line-height:1.6}.assistant-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;padding:12px;border-top:1px solid var(--border);background:#fbfcfe}.assistant-compose textarea{min-height:70px;resize:vertical;border:1px solid var(--border);border-radius:7px;padding:10px;font:inherit}.assistant-compose .field{display:none}.assistant-compose .btn{align-self:end}
.softphone-workspace{display:grid;grid-template-columns:minmax(300px,420px) minmax(0,1fr);gap:14px;align-items:stretch}.softphone-device,.softphone-guide{background:#fff;border:1px solid var(--border);border-radius:9px;padding:18px}.phone-status{display:flex;align-items:center;gap:8px;padding-bottom:13px;border-bottom:1px solid var(--border)}.status-light{width:10px;height:10px;border-radius:50%;background:#a5adb7;box-shadow:0 0 0 3px #eef0f2}.status-light[data-state=ready]{background:#21a565;box-shadow:0 0 0 3px #e3f6eb}.status-light[data-state=calling]{background:#e58a24;box-shadow:0 0 0 3px #fff0dd}.status-light[data-state=connected]{background:#2578bc;box-shadow:0 0 0 3px #e4f0fb}.status-light[data-state=error]{background:#c83f45;box-shadow:0 0 0 3px #fde7e8}.phone-customer{margin:16px 0 8px}.phone-customer small,.phone-customer strong{display:block}.phone-customer small{font-size:9px;color:var(--muted)}.phone-customer strong{font-size:14px;margin-top:2px}.phone-number{width:100%;min-height:45px;border:1px solid #b9c8d8;border-radius:7px;padding:9px 11px;font-size:16px;letter-spacing:.03em}.dialpad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.dialpad button{min-height:48px;border:1px solid var(--border);border-radius:7px;background:#f9fbfd;font-size:15px;cursor:pointer}.dialpad button:hover{background:#eef5fb;border-color:#b8cde0}.phone-actions{display:flex;gap:7px;flex-wrap:wrap}.phone-actions .btn{flex:1;min-width:90px}.recording-indicator{margin-top:12px;padding:8px 10px;border:1px solid #efd1d2;border-radius:6px;background:#fff5f5;color:#b1383d;font-size:10px;font-weight:700}.softphone-guide h3{margin-top:0}.timeline-box{min-height:220px;max-height:360px;overflow:auto;border:1px solid var(--border);border-radius:7px;background:#fbfcfe;padding:10px}.timeline-box>div{padding:7px 2px;border-bottom:1px solid var(--border);font-size:10px;color:#5c6878}.timeline-box>div:last-child{border-bottom:0}.table-wrap audio{max-width:210px;height:32px}
.help-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.help-article{display:flex;flex-direction:column;min-height:190px;padding:15px;border:1px solid var(--border);border-radius:8px;background:#fff}.help-article>div:first-child{width:38px;height:38px;border-radius:7px;display:grid;place-items:center;background:#eaf3fb;color:#2b6598}.help-article h3{font-size:12px;margin:12px 0 6px}.help-article p{font-size:10px;line-height:1.55;color:var(--muted);margin:0 0 12px}.help-article a{margin-top:auto;font-size:9px;font-weight:750}.setup-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.setup-item{display:grid;grid-template-columns:28px 1fr;gap:7px;padding:10px;border:1px solid var(--border);border-radius:7px;color:var(--text);background:#fff}.setup-item small{grid-column:2;font-size:8px;color:var(--muted)}.setup-check{grid-row:span 2;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#fff2d9;color:#936000}.setup-item.done .setup-check{background:#e7f7ed;color:#187d49}
@media(max-width:1200px){.config-tile-grid,.help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-split{grid-template-columns:1fr}.softphone-workspace{grid-template-columns:380px minmax(0,1fr)}}
@media(max-width:900px){.softphone-workspace{grid-template-columns:1fr}.setup-list{grid-template-columns:repeat(2,minmax(0,1fr))}.permission-grid{grid-template-columns:1fr}}
@media(max-width:700px){.config-tile-grid,.help-grid,.setup-list{grid-template-columns:1fr}.assistant-message{max-width:95%}.assistant-compose{grid-template-columns:1fr}.modern-bars{height:200px}.dashboard-metrics .metric-card{min-height:105px}}
.selection-row{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px;border:1px solid var(--border);border-radius:7px;background:#fbfcfe}.selection-row strong,.selection-row small{display:block}.selection-row strong{font-size:10px}.selection-row small{font-size:9px;color:var(--muted);margin-top:2px}.selection-extra{display:flex;align-items:center;gap:5px;font-size:9px;color:#536176}.permission-card{display:grid;grid-template-columns:18px minmax(0,1fr) auto;gap:8px;align-items:start;padding:10px;border:1px solid var(--border);border-radius:7px;background:#fbfcfe}.permission-card:has(input:checked){background:#fff7f7;border-color:#e8c7c9}.permission-card strong,.permission-card small{display:block}.permission-card strong{font-size:10px}.permission-card small{font-size:8px;color:var(--muted);margin-top:2px}.permission-card em{font-size:8px;color:#a03e43;font-style:normal;font-weight:700}.table-input{width:130px;max-width:100%;min-height:34px;border:1px solid var(--border);border-radius:6px;padding:6px 8px}.table-input.compact{width:86px}
.permission-aware-metrics{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}

/* 2.3.3 form and identity polish */
.field select{cursor:pointer}.field select:focus-visible,.field input:focus-visible,.field textarea:focus-visible{outline:3px solid rgba(31,111,235,.16);outline-offset:1px}.field[hidden]{display:none!important}.table-input.compact{min-width:210px;max-width:260px}.card-header .btn{flex:0 0 auto}.brand-mark{background-image:linear-gradient(145deg,#176fc1,#07325e)}@media(max-width:720px){.table-input.compact{min-width:170px}.card-header{align-items:flex-start}}


/* YRV CRM 2.3.3: contextual help, reliable addresses and guided SIP */
.field-label{display:flex;align-items:center;gap:7px;min-height:22px}.field-help{display:none;position:relative;flex:0 0 auto;width:19px;height:19px;border:1px solid #b9c7d8;border-radius:50%;background:#fff;color:#315474;font-size:12px;font-weight:800;line-height:17px;text-align:center;padding:0;cursor:help}.route-configuration .field-help,.field-help.always-visible{display:inline-flex;align-items:center;justify-content:center}.field-help:hover,.field-help:focus{background:#eaf3ff;border-color:#4a83bd;outline:none}.field-help::after{content:attr(data-help);position:absolute;z-index:2000;left:50%;bottom:calc(100% + 10px);transform:translateX(-50%) translateY(4px);width:min(330px,80vw);padding:11px 13px;border-radius:8px;background:#12253a;color:#fff;font-size:12px;font-weight:400;line-height:1.45;box-shadow:0 12px 30px rgba(13,37,62,.24);opacity:0;visibility:hidden;pointer-events:none;transition:.15s}.field-help::before{content:"";position:absolute;z-index:2001;left:50%;bottom:calc(100% + 4px);border:6px solid transparent;border-top-color:#12253a;transform:translateX(-50%);opacity:0;visibility:hidden}.field-help:hover::after,.field-help:focus::after,.field-help:hover::before,.field-help:focus::before{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.address-search-block{position:relative;margin:14px 0}.address-search-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px}.address-search-row input{min-width:0}.address-suggestions{position:absolute;z-index:80;left:0;right:0;top:100%;margin-top:4px;background:#fff;border:1px solid #cbd7e5;border-radius:9px;box-shadow:0 16px 35px rgba(17,42,68,.2);overflow:hidden}.address-suggestion{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:3px;padding:11px 13px;border:0;border-bottom:1px solid #edf1f6;background:#fff;text-align:left;cursor:pointer}.address-suggestion:last-child{border-bottom:0}.address-suggestion:hover,.address-suggestion:focus{background:#f0f6ff;outline:none}.address-suggestion strong{font-size:13px;color:#152b43}.address-suggestion small{font-size:12px;color:#64748b}.address-manual-details{border:1px solid #dce5ef;border-radius:9px;margin:12px 0;background:#fbfdff}.address-manual-details summary{padding:11px 13px;cursor:pointer;font-weight:700;color:#29445f}.address-manual-details .address-grid{padding:0 12px 12px}.map-status[data-state="error"],.diagnostic-result.error{color:#b42318}.map-status[data-state="loading"]{color:#285d91}.map-status[data-state="exact"]{color:#087443}.google-diagnostic{display:grid;gap:13px}.diagnostic-list{display:grid;gap:7px}.diagnostic-list>div{display:flex;align-items:center;gap:8px;padding:8px 10px;border-radius:7px;background:#f5f7fa;font-size:13px}.diagnostic-list>div span{width:10px;height:10px;border-radius:50%;background:#9aa9ba}.diagnostic-list>div[data-state="loading"] span{background:#e0a000}.diagnostic-list>div[data-state="ok"] span{background:#18a566}.diagnostic-list>div[data-state="error"] span{background:#d64545}.diagnostic-result{padding:10px 12px;border-radius:7px;background:#eef4fb;color:#31506e;font-size:13px}.diagnostic-map{height:220px;border:1px solid #d9e2ec;border-radius:9px;overflow:hidden;background:#eef2f6}.setup-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 15px;border:1px solid #c9ddf2;border-radius:9px;background:#f2f8ff}.setup-banner p{margin:3px 0 0;color:#5b7188;font-size:13px}.sip-detection-status{padding:10px 12px;border-radius:7px;background:#f5f7fa;color:#52677d;font-size:13px}.sip-detection-status[data-state="ok"]{background:#eaf8f1;color:#087443}.sip-detection-status[data-state="warning"]{background:#fff7e3;color:#8a5a00}.settings-details-grid{padding-top:14px}.checkbox-field .field-help{margin-left:6px}
@media(max-width:760px){.address-search-row{grid-template-columns:1fr}.setup-banner{align-items:flex-start;flex-direction:column}.field-help::after{position:fixed;left:12px;right:12px;bottom:18px;top:auto;width:auto;transform:none}.field-help:hover::after,.field-help:focus::after{transform:none}.field-help::before{display:none}}

/* YRV CRM 2.3.5 — progressive address, unclipped help, live locks and inline phone */
.field-help{display:none;align-items:center;justify-content:center;position:relative;flex:0 0 auto;width:20px;height:20px;border:1px solid #b8c6d6;border-radius:50%;background:#fff;color:#315474;font-size:12px;font-weight:800;line-height:1;padding:0;cursor:help;vertical-align:middle}.route-configuration .field-help,.field-help.always-visible{display:inline-flex}
.field-help:hover,.field-help:focus{background:#eaf3ff;border-color:#447fb9;color:#184c7f;outline:2px solid rgba(49,111,175,.18);outline-offset:2px}
.field-help::before,.field-help::after{display:none!important;content:none!important}
.help-popover{position:fixed;z-index:1000000;padding:12px 14px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:#10263d;color:#fff;font-size:13px;font-weight:450;line-height:1.5;box-shadow:0 18px 45px rgba(8,27,47,.34);white-space:normal;overflow-wrap:anywhere;pointer-events:none}
.help-popover[hidden]{display:none!important}

.structured-address{border:1px solid #d6e0eb;border-radius:10px;background:#fbfdff;padding:15px;margin-top:4px}
.address-assistant-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:13px}.address-assistant-head strong{display:block;font-size:15px;color:#162d45}.address-assistant-head small{display:block;margin-top:3px;color:#64778b}
.address-flow{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:11px}.address-step{grid-column:span 4;position:relative}.address-step.field-wide{grid-column:span 8}.address-flow>.field:not(.address-step){grid-column:span 4}.address-step .field-label{justify-content:flex-start}.address-step .field-label b{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e8f1fb;color:#15558f;font-size:12px}.address-step>small{margin-top:5px;color:#708296;font-size:11px}
.structured-suggestions{position:absolute;z-index:500;left:0;right:0;top:calc(100% - 1px);max-height:260px;overflow:auto;border:1px solid #bfd0e2;border-radius:8px;background:#fff;box-shadow:0 16px 34px rgba(18,47,77,.2)}.structured-suggestions[hidden]{display:none}.structured-suggestions button{display:block;width:100%;border:0;border-bottom:1px solid #e7edf4;background:#fff;padding:10px 12px;text-align:left;color:#1d3853;cursor:pointer}.structured-suggestions button:last-child{border-bottom:0}.structured-suggestions button:hover,.structured-suggestions button:focus{background:#edf5fe;outline:0}
.address-map-wrap{margin-top:13px;border:1px solid #d5dfeb;border-radius:9px;overflow:hidden;background:#eef3f8}.address-map{height:300px}.map-status{padding:9px 12px;border-top:1px solid #d5dfeb;background:#fff;color:#5b7085}.map-status[data-state=exact]{color:#087443}.map-status[data-state=loading]{color:#255f96}.map-status[data-state=approximate]{color:#8a5a00}.map-status[data-state=error]{color:#b42318}.address-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:11px}.address-actions small{color:#6c7f92}

.inherited-config{padding:11px 13px;border:1px solid #c9d9e9;border-radius:8px;background:#f2f7fc;color:#35546f}.permission-policy-grid,.status-policy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.permission-policy-grid label,.status-policy-grid label{display:flex;align-items:flex-start;gap:8px;padding:9px 10px;border:1px solid #dce4ed;border-radius:7px;background:#fff}.permission-policy-grid input,.status-policy-grid input{margin-top:2px}

.order-live-lock{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:9px;row-gap:2px;margin-bottom:12px;padding:10px 12px;border:1px solid #bbddca;border-radius:8px;background:#effaf4;color:#175c37}.order-live-lock small{grid-column:2;color:inherit;opacity:.78}.order-live-lock.blocked{border-color:#efc3c3;background:#fff2f2;color:#9e2828}.lock-pulse{width:10px;height:10px;border-radius:50%;background:#19a563;box-shadow:0 0 0 4px rgba(25,165,99,.13)}.order-live-lock.blocked .lock-pulse{background:#d64242;box-shadow:0 0 0 4px rgba(214,66,66,.13)}
[data-lock-sensitive].disabled{pointer-events:none;opacity:.45;filter:grayscale(.35)}

.softphone-modal{position:fixed;inset:0;z-index:900000}.softphone-modal[hidden]{display:none!important}.softphone-backdrop{position:absolute;inset:0;border:0;background:rgba(9,27,46,.38);backdrop-filter:blur(2px)}.softphone-popup{position:absolute;right:24px;bottom:22px;width:min(380px,calc(100vw - 28px));max-height:calc(100vh - 44px);overflow:auto;border:1px solid #c7d4e2;border-radius:15px;background:#fff;box-shadow:0 24px 70px rgba(5,27,51,.32)}.softphone-popup>header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid #e1e8f0;background:#f8fafc;position:sticky;top:0;z-index:2}.softphone-popup>header>div{display:flex;align-items:center;gap:10px}.softphone-popup>header strong,.softphone-popup>header small{display:block}.softphone-popup>header small{color:#687b8e}.phone-light{width:11px;height:11px;border-radius:50%;background:#95a4b4;box-shadow:0 0 0 4px rgba(149,164,180,.15)}.softphone-customer{padding:16px 16px 7px;text-align:center}.softphone-customer span,.softphone-customer strong{display:block}.softphone-customer span{color:#63778c}.softphone-customer strong{font-size:24px;margin-top:4px}.phone-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 15px}.phone-keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;padding:7px 15px 12px}.phone-keypad button{height:44px;border:1px solid #d6e0e9;border-radius:9px;background:#f8fafc;color:#17344f;font-size:17px;font-weight:700;cursor:pointer}.phone-keypad button:hover{background:#eaf3fc}.recording-pill{width:max-content;margin:5px auto;padding:5px 9px;border-radius:999px;background:#fff0f0;color:#b32828;font-size:12px;font-weight:700}.phone-log{margin:8px 15px 15px;max-height:110px;overflow:auto;padding:9px 10px;border-radius:8px;background:#f5f7fa;color:#52687e;font-size:11px}.softphone-popup>.btn-block{margin:0 15px 12px;width:calc(100% - 30px)}body.modal-open{overflow:hidden}

.advanced-settings{margin-top:12px;border:1px solid #dce4ed;border-radius:8px;background:#fafcfe}.advanced-settings>summary{padding:11px 13px;font-weight:700;cursor:pointer;color:#36546f}.advanced-settings>[class*=form],.advanced-settings>.form-grid{padding:0 12px 12px}

@media(max-width:900px){.address-step,.address-step.field-wide,.address-flow>.field:not(.address-step){grid-column:span 6}.permission-policy-grid,.status-policy-grid{grid-template-columns:1fr}}
@media(max-width:640px){.address-flow{grid-template-columns:1fr}.address-step,.address-step.field-wide,.address-flow>.field:not(.address-step){grid-column:1}.address-map{height:240px}.address-actions .btn{flex:1}.softphone-popup{right:14px;bottom:14px}.help-popover{left:12px!important;right:12px!important;width:auto!important;max-height:45vh;overflow:auto}.address-assistant-head{flex-direction:column}.phone-actions{grid-template-columns:1fr 1fr}}

/* YRV CRM 2.3.5 — compact order card, treatments, mail and guide */
.order-workspace-v235{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:14px;align-items:start}.order-core-v235,.order-tools-v235{display:grid;gap:14px}.compact-order-card{overflow:hidden}.compact-order-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:18px}.lead-avatar{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:#dceaff;color:#124f8c;font-size:22px;font-weight:800}.lead-title-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.lead-title-row h1{font-size:21px;margin:0;color:#172b42}.compact-order-header p{margin:5px 0 0;color:#62758a}.order-total{text-align:right}.order-total small,.order-total strong{display:block}.order-total strong{font-size:20px;color:#153d65}.compact-facts{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;border-top:1px solid #e2e8ef;background:#e2e8ef}.compact-facts>div{padding:11px 13px;background:#fff}.compact-facts span,.compact-facts strong{display:block}.compact-facts span{font-size:11px;color:#718195;text-transform:uppercase;letter-spacing:.03em}.compact-facts strong{margin-top:3px;color:#203950;font-size:13px}.status-quick-form{display:flex;align-items:end;gap:9px;padding:13px 16px;border-top:1px solid #e2e8ef;background:#f8fafc}.status-quick-form label{flex:1}.status-quick-form label span{display:block;margin-bottom:5px;font-size:12px;font-weight:700;color:#526a82}
.order-product-card .card-header{align-items:center}.product-name-button{padding:0;border:0;background:transparent;color:#135f9f;font:inherit;font-weight:800;cursor:pointer;text-align:left}.product-name-button:hover{text-decoration:underline}.product-quick-info{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center}.product-thumb{width:64px;height:64px;border-radius:10px;object-fit:cover;border:1px solid #dce5ee;background:#f4f7fa}.product-thumb.placeholder{display:grid;place-items:center;font-size:22px;color:#75889b}.current-treatment-summary{padding:10px 12px;border-radius:8px;background:#eef6ff;color:#285777}.order-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.order-info-grid div{padding:9px 10px;border:1px solid #e1e8ef;border-radius:7px;background:#fbfcfe}.order-info-grid span,.order-info-grid strong{display:block}.order-info-grid span{font-size:11px;color:#738497}.order-info-grid strong{margin-top:3px;color:#1d3851}.order-notes-text{white-space:pre-wrap;line-height:1.5;color:#425b72}.order-phone-card{position:sticky;top:78px}.order-phone-card .card-header p{margin:3px 0 0}.phone-customer-inline{padding:9px 11px;border-radius:8px;background:#f2f6fa;text-align:center}.phone-customer-inline strong,.phone-customer-inline span{display:block}.phone-customer-inline span{margin-top:3px;color:#546d85}.order-phone-card .phone-actions{padding:10px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.phone-dialer{border:1px solid #e0e7ef;border-radius:8px}.phone-dialer summary{padding:9px 11px;cursor:pointer;font-weight:700}.phone-dialer .phone-keypad{padding:0 10px 10px}.order-phone-card .phone-log{margin:10px 0 0}.duplicate-alert{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;width:100%;margin:0 0 12px;padding:11px 14px;border:1px solid #f0ca79;border-radius:9px;background:#fff9e9;color:#76500b;text-align:left;cursor:pointer}.duplicate-alert>span{grid-row:1/3;font-size:20px}.duplicate-alert strong,.duplicate-alert small{display:block}.duplicate-alert:hover{background:#fff3d2}.duplicate-table td{vertical-align:middle}.human-timeline{display:grid;gap:0}.human-timeline article{display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:12px 0;border-bottom:1px solid #e7edf3}.human-timeline article:last-child{border-bottom:0}.timeline-icon{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eaf3fc;color:#246394}.human-timeline h4{margin:0 0 3px;font-size:13px}.human-timeline p{margin:0;color:#506a82;white-space:pre-wrap}.human-timeline time{font-size:11px;color:#7b8b9b}.order-history-v235{margin-top:14px}
.app-modal{position:fixed;inset:0;z-index:950000;display:grid;place-items:center;padding:18px}.app-modal[hidden]{display:none}.app-modal-backdrop{position:absolute;inset:0;border:0;background:rgba(8,24,40,.42);backdrop-filter:blur(2px)}.app-modal-panel{position:relative;width:min(760px,100%);max-height:calc(100vh - 36px);overflow:auto;border:1px solid #cbd7e3;border-radius:14px;background:#fff;box-shadow:0 28px 80px rgba(6,25,45,.3)}.app-modal-panel>header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #e1e8ef;background:#fff}.app-modal-panel h3,.app-modal-panel p{margin:0}.app-modal-panel p{margin-top:3px;color:#6c7e91}.app-modal-body{padding:16px}.product-modal-image{display:block;width:160px;height:160px;margin:0 auto 16px;border-radius:12px;object-fit:cover;border:1px solid #dde5ed}.product-modal-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product-modal-content section{padding:12px;border:1px solid #e1e8ef;border-radius:9px;background:#fbfcfe}.product-modal-content h4{margin:0 0 7px;color:#1c456b}.loading-state{padding:30px;text-align:center;color:#65788c}
.products-workbench,.settings-workbench{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(340px,.75fr);gap:14px;align-items:start}.product-edit-grid{display:grid;gap:12px}.product-form-preview{display:flex;align-items:center;gap:12px;padding:11px;border:1px solid #e1e8ef;border-radius:9px;background:#f8fafc}.summary-list{display:grid;gap:8px}.summary-list>div{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #edf1f5}.summary-list>div:last-child{border-bottom:0}.menu-access-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.menu-access-option{display:flex;gap:9px;align-items:flex-start;padding:11px;border:1px solid #dde5ee;border-radius:8px;background:#fff}.menu-access-option strong,.menu-access-option small{display:block}.menu-access-option small{margin-top:3px;color:#6d8093}.feature-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-options label{display:flex;align-items:flex-start;gap:10px;padding:12px;border:1px solid #dde6ef;border-radius:9px;background:#fff}.feature-options strong,.feature-options small{display:block}.feature-options small{margin-top:3px;color:#667b90}.block-note{display:block;margin-top:5px;color:#64778a;line-height:1.4}
.guide-chat{position:fixed;right:22px;bottom:22px;z-index:800000}.guide-chat-launch{display:flex;align-items:center;gap:8px;height:50px;padding:0 17px;border:0;border-radius:999px;background:#0d4d84;color:#fff;font-weight:800;box-shadow:0 12px 35px rgba(11,59,111,.3);cursor:pointer}.guide-chat-launch .icon{width:20px;height:20px}.guide-chat-panel{position:absolute;right:0;bottom:62px;width:min(390px,calc(100vw - 28px));height:min(570px,calc(100vh - 105px));border:1px solid #cad7e4;border-radius:15px;background:#fff;box-shadow:0 24px 70px rgba(6,28,52,.28);overflow:hidden}.guide-chat-panel[hidden]{display:none}.guide-chat-panel>header{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;background:#0b3b6f;color:#fff}.guide-chat-panel header strong,.guide-chat-panel header small{display:block}.guide-chat-panel header small{margin-top:2px;color:#d4e5f5}.guide-chat-panel header .icon-btn{color:#fff}.guide-chat-messages{height:calc(100% - 137px);overflow:auto;padding:13px;background:#f3f6f9}.guide-message{width:max-content;max-width:86%;margin-bottom:9px;padding:9px 11px;border-radius:11px;background:#fff;color:#304b65;line-height:1.45;white-space:pre-wrap;box-shadow:0 1px 2px rgba(20,47,73,.08)}.guide-message.user{margin-left:auto;background:#0d5c9e;color:#fff}.guide-message.pending{opacity:.7}.guide-chat-panel form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:10px;border-top:1px solid #dde5ed;background:#fff}.guide-chat-panel textarea{min-height:48px;max-height:100px;resize:none}
.conversion-rings{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.conversion-rings>div{display:grid;place-items:center;min-height:110px;padding:12px;border:1px solid #e1e8ef;border-radius:10px;background:#fff;text-align:center}.conversion-rings strong{font-size:24px;color:#175c94}.conversion-rings span{margin-top:4px;color:#667a8e}.report-bars{display:flex;align-items:end;gap:8px;min-height:220px;padding:15px 8px 4px}.report-bars .modern-bar{flex:1}.project-name-link{font-weight:800;color:#175f9d}
@media(max-width:1100px){.order-workspace-v235{grid-template-columns:1fr}.order-phone-card{position:static}.products-workbench,.settings-workbench{grid-template-columns:1fr}.compact-facts{grid-template-columns:repeat(3,minmax(0,1fr))}.menu-access-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.compact-order-header{grid-template-columns:auto minmax(0,1fr)}.order-total{grid-column:1/-1;text-align:left}.compact-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.status-quick-form{align-items:stretch;flex-direction:column}.product-modal-content{grid-template-columns:1fr}.feature-options,.menu-access-grid,.conversion-rings{grid-template-columns:1fr 1fr}.guide-chat{right:12px;bottom:12px}.guide-chat-panel{right:0;bottom:60px}.human-timeline article{grid-template-columns:30px minmax(0,1fr)}.human-timeline time{grid-column:2}}
@media(max-width:460px){.compact-facts,.feature-options,.menu-access-grid,.conversion-rings{grid-template-columns:1fr}.guide-chat-launch span{display:none}.guide-chat-launch{width:50px;padding:0;justify-content:center}}
.duplicate-table{display:grid;gap:8px}.duplicate-table a{display:flex;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e0e7ef;border-radius:8px;background:#fbfcfe;color:#23415d;text-decoration:none}.duplicate-table a:hover{background:#eef6ff;border-color:#bdd4ea}.duplicate-table strong,.duplicate-table span{display:block}.duplicate-table span{color:#667b90;text-align:right}

/* YRV CRM 2.3.5 scope-safe totals */
.multi-currency-total{display:flex;flex-direction:column;gap:2px;font-size:.74em;line-height:1.2}.multi-currency-total span{white-space:nowrap}.disabled[aria-disabled="true"]{pointer-events:none;opacity:.55}

/* YRV CRM 2.3.23 - compact order workspace, inline phone, invoice/logistics */
.clickable-order-row{cursor:pointer;transition:background-color .15s ease,box-shadow .15s ease}.clickable-order-row:hover,.clickable-order-row:focus{background:#f1f7fd;outline:0;box-shadow:inset 3px 0 #2f77b5}.clickable-order-row td{vertical-align:middle}.cell-sub{display:block;margin-top:3px;color:var(--muted);font-size:10px}.order-eye{display:inline-grid;place-items:center;width:34px;height:34px;border:1px solid #d8e2ec;border-radius:8px;background:#fff;color:#285f90}.order-eye:hover{background:#eaf4fd;color:#0c568f}.order-status-cell{display:inline-flex;align-items:center;gap:7px}.order-status-cell i{width:9px;height:9px;border-radius:50%;background:var(--status-color,#64748b)}
.order-workspace-v236{display:grid;grid-template-columns:minmax(0,1fr) 326px;gap:14px;align-items:start}.order-main-v236,.order-side-v236{display:flex;flex-direction:column;gap:14px;min-width:0}.compact-order-card{overflow:hidden}.compact-order-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:16px}.compact-facts{grid-template-columns:repeat(4,minmax(0,1fr))}.order-live-lock{display:grid;grid-template-columns:12px minmax(0,1fr);gap:2px 10px;align-items:center;margin:0 0 12px;padding:10px 13px;border:1px solid #d7e2ec;border-radius:9px;background:#f7fafc;color:#405a72}.order-live-lock .lock-pulse{grid-row:1/3;width:10px;height:10px;border-radius:50%;background:#7390aa}.order-live-lock.blocked{border-color:#edc979;background:#fff9e9;color:#75530f}.order-live-lock.blocked .lock-pulse{background:#e2a427;box-shadow:0 0 0 5px rgba(226,164,39,.13)}.order-live-lock.read-mode .lock-pulse{background:#6387a7}.order-live-lock strong,.order-live-lock small{display:block}.order-live-lock small{color:inherit;opacity:.78}
.order-lines-v236{display:grid;gap:9px}.order-line-v236{display:grid;grid-template-columns:minmax(0,1fr) 125px auto;gap:12px;align-items:center;padding:10px;border:1px solid #dfe7ef;border-radius:10px;background:#fbfcfe}.line-product-identity{display:flex;align-items:center;gap:11px;min-width:0;border:0;background:transparent;padding:0;color:var(--text);text-align:left;cursor:pointer}.line-product-identity:hover strong{color:#0f5d9a;text-decoration:underline}.line-product-identity>span:last-child{min-width:0}.line-product-identity strong,.line-product-identity small{display:block}.line-product-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.line-product-identity small{margin-top:3px;color:var(--muted)}.line-product-identity .product-thumb{width:46px;height:46px;flex:0 0 46px;border-radius:8px}.line-price{text-align:right}.line-price small,.line-price strong,.line-price .status-badge{display:block}.line-price strong{margin:2px 0 4px;font-size:15px}.line-actions{display:flex;align-items:center;gap:5px}.line-actions form{margin:0}.line-actions .icon-btn{width:34px;height:34px;border:1px solid #d9e3ec;background:#fff;border-radius:8px}.line-actions .danger-icon{color:#b53737}.line-actions .danger-icon:hover{background:#fff0f0;border-color:#efc0c0}.compact-empty{padding:18px}
.line-editor-v236{margin-top:12px;padding:13px;border:1px solid #ccdcea;border-radius:10px;background:#f6faff;transition:box-shadow .2s ease,border-color .2s ease}.line-editor-v236.editor-highlight{border-color:#4a8dcc;box-shadow:0 0 0 4px rgba(74,141,204,.13)}.line-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.line-editor-heading strong{font-size:13px}.field-disabled{opacity:.68}.field-note{display:block;margin-top:4px;color:#60758a;font-size:9px}.order-discount-form-v236{display:flex;align-items:end;justify-content:flex-end;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid #e2e9f0}.order-discount-form-v236 label{width:min(260px,100%)}.order-discount-form-v236 label span{display:block;margin-bottom:5px;font-size:11px;font-weight:700;color:#526a82}.order-discount-form-v236 input{width:100%;min-height:37px;border:1px solid var(--border);border-radius:7px;padding:8px 10px;background:#fff}.order-totals-v236{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.order-totals-v236>div{padding:10px 11px;border:1px solid #e0e7ee;border-radius:8px;background:#fff}.order-totals-v236 span,.order-totals-v236 strong{display:block}.order-totals-v236 span{font-size:10px;color:var(--muted)}.order-totals-v236 strong{margin-top:3px;font-size:14px}.order-totals-v236 .grand-total{border-color:#bcd4e9;background:#eef6fd}.order-totals-v236 .grand-total strong{color:#124f84;font-size:17px}
.customer-read-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.customer-read-grid>div{padding:10px;border:1px solid #e0e7ee;border-radius:8px;background:#fbfcfe}.customer-read-grid span,.customer-read-grid strong{display:block}.customer-read-grid span{font-size:10px;color:var(--muted)}.customer-read-grid strong{margin-top:4px}.order-history-v236 .human-timeline article{grid-template-columns:28px minmax(0,1fr)}.order-history-v236 .human-timeline small{display:block;margin-top:4px;color:#75889b}
.order-phone-dock-v236{position:sticky;top:76px;z-index:3;max-height:calc(100vh - 92px);overflow:auto;border-color:#cbd9e6;box-shadow:0 8px 26px rgba(23,55,87,.08);transition:border-color .2s ease,box-shadow .2s ease}.order-phone-dock-v236.phone-in-focus{border-color:#3b86c6;box-shadow:0 10px 32px rgba(27,102,164,.2)}.order-phone-dock-v236 .card-header{position:sticky;top:0;z-index:2;background:#fff}.phone-light{display:block;width:10px;height:10px;border-radius:50%;background:#91a1b0}.phone-light[data-state="ready"]{background:#2ca66a}.phone-light[data-state="calling"]{background:#e4a022;box-shadow:0 0 0 5px rgba(228,160,34,.14)}.phone-light[data-state="connected"]{background:#1eaa61;box-shadow:0 0 0 5px rgba(30,170,97,.14)}.phone-light[data-state="error"]{background:#d54242}.phone-customer-inline{text-align:left}.phone-customer-inline small{display:block;margin-top:3px;color:var(--muted)}.phone-number-field{display:block;margin-top:10px}.phone-number-field span{display:block;margin-bottom:5px;font-size:10px;font-weight:750;color:#526a82}.phone-number-field input{width:100%;height:43px;border:1px solid #bfcddd;border-radius:8px;padding:8px 11px;background:#fff;font-size:17px;letter-spacing:.02em}.order-phone-dock-v236 .phone-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:10px 0}.compact-keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:9px;border:1px solid #e0e7ee;border-radius:10px;background:#f7f9fb}.compact-keypad button{min-height:42px;border:1px solid #d6e0e9;border-radius:9px;background:#fff;color:#193a57;font-size:17px;font-weight:750;cursor:pointer;box-shadow:0 1px 2px rgba(15,42,68,.04)}.compact-keypad button:hover{background:#eaf4fd;border-color:#9fc1de}.compact-keypad button:active{transform:translateY(1px);background:#dcecf9}.recording-pill{margin:8px 0;padding:6px 9px;border-radius:999px;background:#fff0f0;color:#b42f2f;font-size:10px;font-weight:800;text-align:center}.phone-test-note{margin-top:9px;padding:8px 9px;border-radius:7px;background:#fff8e8;color:#795515;font-size:10px}.order-phone-dock-v236 .phone-log{max-height:110px;overflow:auto;margin-top:9px;padding:8px;border-radius:7px;background:#0e2437;color:#dcebf6;font-size:9px}.order-phone-dock-v236 .phone-log div+div{margin-top:4px}
.orders-table-v236 table{min-width:1050px}.inventory-layout-v236,.logistics-layout-v236{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:14px;align-items:start}.inventory-layout-v236>.stack{display:flex;flex-direction:column;gap:14px}.logistics-layout-v236>section:last-child{position:sticky;top:76px}.inline-form{display:inline-flex;align-items:center;margin:0 0 0 5px}.section-gap{margin-top:14px}
@media(max-width:1160px){.order-workspace-v236{grid-template-columns:1fr}.order-phone-dock-v236{position:relative;top:auto;max-height:none;overflow:visible}.order-side-v236{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.order-side-v236 .order-phone-dock-v236{grid-column:1/-1}.inventory-layout-v236,.logistics-layout-v236{grid-template-columns:1fr}.logistics-layout-v236>section:last-child{position:static}.order-totals-v236{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.compact-order-header{grid-template-columns:auto minmax(0,1fr)}.compact-order-header .order-total{grid-column:1/-1;text-align:left}.compact-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.order-line-v236{grid-template-columns:minmax(0,1fr) auto}.line-price{grid-column:1;text-align:left}.line-actions{grid-column:2;grid-row:1/3}.order-side-v236{grid-template-columns:1fr}.order-totals-v236,.customer-read-grid{grid-template-columns:1fr 1fr}.order-discount-form-v236{align-items:stretch;flex-direction:column}.order-discount-form-v236 label{width:100%}}
@media(max-width:480px){.compact-facts,.order-totals-v236,.customer-read-grid{grid-template-columns:1fr}.line-editor-heading{align-items:flex-start;flex-direction:column}.order-phone-dock-v236 .phone-actions{grid-template-columns:1fr 1fr}}

/* YRV CRM 2.3.23 - compact product/treatment rows */
.order-lines-head-v237,.order-line-v237{display:grid;grid-template-columns:38px minmax(180px,1fr) 92px 128px 78px;gap:9px;align-items:center}.order-lines-head-v237{padding:0 9px 6px;color:#718398;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.035em}.order-lines-head-v237 span:nth-child(3),.order-lines-head-v237 span:nth-child(4),.order-lines-head-v237 span:nth-child(5){text-align:center}.order-line-v237{padding:7px 9px;border-radius:8px;background:#fff}.line-product-thumb-v237{display:grid;place-items:center;width:36px;height:36px;margin:0;padding:0;border:1px solid #dbe5ee;border-radius:7px;background:#f6f8fa;overflow:hidden;cursor:pointer}.line-product-thumb-v237:hover{border-color:#8cb9dd;box-shadow:0 0 0 3px rgba(47,119,181,.10)}.line-product-thumb-v237 .product-thumb{display:block;width:36px!important;height:36px!important;min-width:36px;max-width:36px;aspect-ratio:1/1;object-fit:cover;border:0;border-radius:6px}.line-product-thumb-v237 .product-thumb.placeholder{display:grid;place-items:center;font-size:13px;font-weight:800;color:#60788e;background:#edf2f6}.line-product-name-v237{display:block;min-width:0;margin:0;padding:2px 0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}.line-product-name-v237 strong,.line-product-name-v237 small{display:block}.line-product-name-v237 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.line-product-name-v237 small{margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}.line-product-name-v237:hover strong{color:#0f5d9a;text-decoration:underline}.line-quantity-v237,.line-subtotal-v237{text-align:center}.line-quantity-v237 small,.line-quantity-v237 strong,.line-subtotal-v237 small,.line-subtotal-v237 strong{display:block}.line-quantity-v237 small,.line-subtotal-v237 small{display:none}.line-quantity-v237 strong{font-size:11px;color:#304b64}.line-subtotal-v237 strong{margin:0;font-size:12px;white-space:nowrap}.line-subtotal-v237 .status-badge{margin-top:3px;font-size:8px}.order-line-v237 .line-actions{justify-content:center}.order-line-v237 .line-actions .icon-btn{width:30px;height:30px;border-radius:7px}.order-line-v237 .line-actions .icon{width:15px;height:15px}.line-readonly-v237{font-size:9px;color:var(--muted);text-align:center}
@media(max-width:760px){.order-lines-head-v237{display:none}.order-line-v237{grid-template-columns:36px minmax(0,1fr) auto auto;gap:8px}.line-product-thumb-v237{grid-row:1/3}.line-product-name-v237{grid-column:2;grid-row:1}.line-quantity-v237{grid-column:2;grid-row:2;text-align:left}.line-quantity-v237 small{display:inline;margin-right:4px}.line-quantity-v237 strong{display:inline}.line-subtotal-v237{grid-column:3;grid-row:1/3;text-align:right}.line-subtotal-v237 small{display:block}.order-line-v237 .line-actions,.line-readonly-v237{grid-column:4;grid-row:1/3}.order-line-v237 .line-actions{flex-direction:column}}
@media(max-width:460px){.order-line-v237{grid-template-columns:34px minmax(0,1fr) auto}.line-product-thumb-v237,.line-product-thumb-v237 .product-thumb{width:34px!important;height:34px!important;min-width:34px;max-width:34px}.line-subtotal-v237{grid-column:2;grid-row:3;text-align:left}.line-subtotal-v237 small{display:inline;margin-right:5px}.line-subtotal-v237 strong{display:inline}.order-line-v237 .line-actions,.line-readonly-v237{grid-column:3;grid-row:1/4}}

/* YRV CRM 2.3.23 - reliable full-cell order links (works even if JavaScript fails or is cached) */
.clickable-order-row td.order-click-cell{padding:0}
.order-cell-link{display:flex;align-items:center;width:100%;min-height:54px;padding:9px 10px;color:inherit;text-decoration:none;cursor:pointer}
.order-cell-link-stack{flex-direction:column;align-items:flex-start;justify-content:center}
.order-cell-link:hover,.order-cell-link:focus{color:inherit;background:#f1f7fd;outline:0}
.clickable-order-row:focus-within{box-shadow:inset 3px 0 #2f77b5}


/* YRV CRM 2.3.23 - phone stays inside its own layout space */
.order-phone-dock-v236{
  position:relative!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  z-index:auto!important;
  width:100%!important;
  max-height:none!important;
  overflow:visible!important;
  align-self:stretch;
  transform:none!important;
}
.order-phone-dock-v236 .card-header{
  position:static!important;
  top:auto!important;
  z-index:auto!important;
}
.order-side-v236{
  position:relative;
  z-index:auto;
  isolation:isolate;
  overflow:visible;
}
.order-side-v236>.card{
  position:relative;
  z-index:0;
}
.order-side-v236>.order-phone-dock-v236{
  order:0;
}
.order-side-v236>.card:not(.order-phone-dock-v236){
  order:1;
}
.record-rail{
  position:static!important;
  top:auto!important;
}
@media(max-width:1160px){
  .order-side-v236{display:grid;grid-template-columns:1fr 1fr;align-items:start}
  .order-side-v236>.order-phone-dock-v236{grid-column:1/-1}
}
@media(max-width:760px){
  .order-side-v236{display:flex;flex-direction:column}
  .order-side-v236>.order-phone-dock-v236{grid-column:auto}
}


/* YRV CRM 2.3.23 - compact, progressively loaded order history */
.order-history-v2311 .card-header{align-items:center}.history-count-v2311{flex:0 0 auto;padding:4px 8px;border:1px solid #dbe4ed;border-radius:999px;background:#f7f9fb;color:#60758a;font-size:10px;font-weight:700}.order-history-v2311 .card-body{padding:6px 16px 12px}.history-list-v2311{display:grid;gap:0}.history-day-v2311{margin:8px 0 2px;padding:4px 0;color:#6c7e90;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.history-entry-v2311{display:grid;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:7px 0;border-bottom:1px solid #edf1f5}.history-entry-v2311:last-of-type{border-bottom:0}.history-entry-v2311 .timeline-icon{width:22px;height:22px;margin-top:1px}.history-copy-v2311{min-width:0}.history-head-v2311{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.history-head-v2311 strong{min-width:0;color:#203b54;font-size:12px;line-height:1.3}.history-head-v2311 time{flex:0 0 auto;color:#8393a3;font-size:10px}.history-author-v2311{display:block;margin-top:1px;color:#708396;font-size:10px}.history-copy-v2311>p,.history-detail-v2311 p{margin:4px 0 0;color:#4e657b;font-size:11px;line-height:1.4;white-space:pre-wrap}.history-detail-v2311{margin-top:3px}.history-detail-v2311 summary{width:max-content;color:#276da5;font-size:10px;font-weight:700;cursor:pointer}.history-load-row-v2311{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 0 0}.history-load-more-v2311{min-width:140px}.history-load-status-v2311{color:#718496;font-size:10px}
@media(max-width:700px){.order-history-v2311 .card-header{align-items:flex-start}.history-head-v2311{align-items:flex-start}.history-load-row-v2311{align-items:stretch;flex-direction:column}.history-load-more-v2311{width:100%}.history-load-status-v2311{text-align:center}}

/* YRV CRM 2.3.23 - status workflow */
.status-workflow-v2312{margin-top:12px;padding:12px;border:1px solid color-mix(in srgb,var(--status-color) 34%,#d9e2eb);border-left:5px solid var(--status-color);border-radius:10px;background:#fff;box-shadow:0 3px 12px rgba(24,49,73,.05)}
.status-workflow-grid-v2312{display:grid;grid-template-columns:minmax(210px,.8fr) minmax(240px,1fr);gap:10px;align-items:start}.status-field-v2312{display:flex;flex-direction:column;gap:5px;min-width:0}.status-field-v2312>span{display:flex;align-items:center;gap:5px;color:#52677b;font-size:11px;font-weight:800}.status-field-v2312>span small{color:#8595a5;font-size:9px;font-weight:650}.status-select-shell-v2312{position:relative;display:flex;align-items:center}.status-live-dot-v2312{position:absolute;left:11px;z-index:2;width:11px;height:11px;border:2px solid #fff;border-radius:50%;background:var(--status-color);box-shadow:0 0 0 1px color-mix(in srgb,var(--status-color) 48%,#aebdca);pointer-events:none}.status-select-shell-v2312 select{padding-left:34px!important;border-color:color-mix(in srgb,var(--status-color) 45%,#c8d3de)!important;background:var(--status-soft)!important;color:#20384e!important;font-weight:800}.status-workflow-v2312 select,.status-workflow-v2312 input{width:100%;min-height:40px;border:1px solid #c8d3de;border-radius:7px;background:#fff;color:#20384e;padding:8px 10px;outline:0}.status-workflow-v2312 select:focus,.status-workflow-v2312 input:focus{border-color:var(--status-color);box-shadow:0 0 0 3px var(--status-soft)}.status-workflow-v2312 select option{background:#fff!important;color:#20384e!important;font-weight:700}.callback-panel-v2312{grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,420px);gap:10px;padding:10px;border:1px dashed color-mix(in srgb,var(--status-color) 36%,#cbd6df);border-radius:8px;background:rgba(255,255,255,.82)}.callback-panel-v2312[hidden]{display:none}.callback-help-v2312{grid-column:1/-1;margin:0;color:#64788b;font-size:10px}.status-workflow-footer-v2312{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding-top:10px;border-top:1px solid rgba(137,157,175,.28)}.status-current-v2312{display:flex;align-items:baseline;gap:7px;min-width:0}.status-current-v2312 span{color:#718497;font-size:10px}.status-current-v2312 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#273f56;font-size:11px}.status-current-v2312 small{color:#75899b;font-size:9px}.compact-facts:has(>div:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1050px){.compact-facts:has(>div:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.status-workflow-grid-v2312{grid-template-columns:1fr}.callback-panel-v2312{grid-template-columns:1fr}.status-workflow-footer-v2312{align-items:stretch;flex-direction:column}.status-workflow-footer-v2312 .btn{width:100%}.status-current-v2312{flex-wrap:wrap}.compact-facts:has(>div:nth-child(5)){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.compact-facts:has(>div:nth-child(5)){grid-template-columns:1fr}.status-workflow-v2312{padding:10px}}
.status-workflow-help-v2312{margin:9px 0 0;color:#63798d;font-size:10px}

/* YRV CRM 2.3.23 - readable permission management */
.permission-workspace-v2314{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:16px;align-items:start;width:100%}
.permission-roles-v2314,.permission-editor-v2314{min-width:0;overflow:hidden}
.permission-roles-v2314{position:sticky;top:76px;max-height:calc(100vh - 94px)}
.permission-role-list-v2314,.permission-user-list-v2314{display:flex;flex-direction:column;max-height:calc(100vh - 180px);overflow:auto;padding:6px}
.permission-role-item-v2314,.permission-user-item-v2314{display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;padding:11px 10px;border:1px solid transparent;border-radius:8px;color:var(--text);text-decoration:none}
.permission-role-item-v2314:hover,.permission-user-item-v2314:hover{background:#f5f8fb;border-color:#e1e8ef}
.permission-role-item-v2314.active,.permission-user-item-v2314.active{background:#eaf3fb;border-color:#bad3e8;box-shadow:inset 3px 0 #1769aa}
.permission-role-icon-v2314{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#edf3f8;color:#446985}.permission-role-icon-v2314 .icon{width:17px;height:17px}
.permission-role-item-v2314 strong,.permission-role-item-v2314 small,.permission-user-item-v2314 strong,.permission-user-item-v2314 small{display:block;min-width:0}.permission-role-item-v2314 strong,.permission-user-item-v2314 strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.permission-role-item-v2314 small,.permission-user-item-v2314 small{margin-top:3px;color:var(--muted);font-size:9px;line-height:1.35}.permission-role-item-v2314>b{color:#7690a7;font-size:20px;font-weight:400}
.permission-user-item-v2314{grid-template-columns:34px minmax(0,1fr) 10px}.status-dot-v2314{width:8px;height:8px;border-radius:50%;background:#a3afb9}.status-dot-v2314.active{background:#24a365}.status-dot-v2314.inactive{background:#d06a6a}
.permission-basic-grid-v2314{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(180px,.65fr) minmax(280px,1.7fr);gap:12px}.permission-basic-grid-v2314 .field-full{grid-column:auto}.permission-basic-grid-v2314 textarea{min-height:42px}
.permission-toolbar-v2314{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 14px;margin-top:5px;border:1px solid #dce5ed;border-radius:9px;background:#f8fafc}.permission-toolbar-v2314 strong,.permission-toolbar-v2314 small{display:block}.permission-toolbar-v2314 strong{font-size:12px}.permission-toolbar-v2314 small{margin-top:2px;color:var(--muted);font-size:9px}.permission-toolbar-v2314 label{display:flex;align-items:center;gap:7px;width:min(330px,100%);height:38px;padding:0 10px;border:1px solid #cfdbe5;border-radius:8px;background:#fff}.permission-toolbar-v2314 label .icon{width:15px;color:#6b8195}.permission-toolbar-v2314 input{width:100%;border:0;outline:0;background:transparent;font-size:11px}
.permission-modules-v2314{display:flex;flex-direction:column;gap:10px}.permission-module-v2314{border:1px solid #dce5ed;border-radius:10px;background:#fff;overflow:hidden}.permission-module-v2314>summary{display:grid;grid-template-columns:28px minmax(0,1fr) auto 20px;align-items:center;gap:8px;padding:12px 14px;cursor:pointer;list-style:none;background:#f7f9fb}.permission-module-v2314>summary::-webkit-details-marker{display:none}.permission-module-v2314>summary>span{display:grid;place-items:center;width:27px;height:27px;border-radius:7px;background:#e9f1f8;color:#35678f}.permission-module-v2314>summary .icon{width:15px;height:15px}.permission-module-v2314>summary strong{font-size:12px}.permission-module-v2314>summary small{color:var(--muted);font-size:9px}.permission-module-v2314>summary>b{color:#71879a;transition:transform .18s}.permission-module-v2314[open]>summary>b{transform:rotate(180deg)}
.permission-options-v2314{display:grid;grid-template-columns:repeat(2,minmax(260px,1fr));gap:0;border-top:1px solid #e1e8ef}.permission-option-v2314{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:74px;padding:12px 14px;border-right:1px solid #e7edf2;border-bottom:1px solid #e7edf2;cursor:pointer;background:#fff}.permission-option-v2314:nth-child(2n){border-right:0}.permission-option-v2314:hover{background:#fbfdff}.permission-option-v2314[hidden]{display:none}.permission-option-v2314>input{position:absolute;opacity:0;pointer-events:none}.permission-option-copy-v2314{min-width:0}.permission-option-copy-v2314 strong,.permission-option-copy-v2314 small{display:block}.permission-option-copy-v2314 strong{font-size:11px;line-height:1.35;color:#203a50}.permission-option-copy-v2314 small{margin-top:4px;color:#6d8091;font-size:9px;line-height:1.5}
.permission-switch-v2314,.permission-deny-control-v2314{position:relative;display:block;width:34px;height:20px;border-radius:999px;background:#c8d3dc;transition:.18s}.permission-switch-v2314:after,.permission-deny-control-v2314:after{content:"";position:absolute;top:3px;left:3px;width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(20,46,68,.25);transition:.18s}.permission-option-v2314 input:checked+.permission-switch-v2314{background:#2476b8}.permission-option-v2314 input:checked+.permission-switch-v2314:after{transform:translateX(14px)}
.permission-denial-v2314 em{padding:4px 7px;border-radius:999px;background:#edf7f1;color:#277448;font-size:8px;font-style:normal;font-weight:800;white-space:nowrap}.permission-denial-v2314.is-denied{background:#fff8f8}.permission-denial-v2314.is-denied .permission-deny-control-v2314{background:#cf4d4d}.permission-denial-v2314.is-denied .permission-deny-control-v2314:after{transform:translateX(14px)}.permission-denial-v2314.is-denied em{background:#fde8e8;color:#a73737}
.permission-user-head-v2314{display:grid;grid-template-columns:minmax(250px,.7fr) minmax(320px,1.3fr);gap:12px;align-items:stretch}.permission-rule-v2314{padding:11px 13px;border:1px solid #d9e6f0;border-radius:8px;background:#f3f8fc}.permission-rule-v2314 strong,.permission-rule-v2314 p{display:block}.permission-rule-v2314 strong{font-size:11px;color:#245d8c}.permission-rule-v2314 p{margin:4px 0 0;color:#597187;font-size:9px;line-height:1.5}.permission-savebar-v2314{position:sticky;bottom:0;z-index:3;margin:0 -18px -18px;padding:12px 18px;border-top:1px solid #dfe7ee;background:rgba(255,255,255,.96);backdrop-filter:blur(5px)}
@media(max-width:1100px){.permission-workspace-v2314{grid-template-columns:1fr}.permission-roles-v2314{position:static;max-height:none}.permission-role-list-v2314,.permission-user-list-v2314{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.permission-basic-grid-v2314{grid-template-columns:1fr 1fr}.permission-basic-grid-v2314 .field-full{grid-column:1/-1}.permission-user-head-v2314{grid-template-columns:1fr}}
@media(max-width:760px){.permission-options-v2314{grid-template-columns:1fr}.permission-option-v2314{border-right:0}.permission-toolbar-v2314{align-items:stretch;flex-direction:column}.permission-toolbar-v2314 label{width:100%}.permission-role-list-v2314,.permission-user-list-v2314{grid-template-columns:1fr}.permission-basic-grid-v2314{grid-template-columns:1fr}.permission-basic-grid-v2314 .field-full{grid-column:auto}.permission-module-v2314>summary{grid-template-columns:28px minmax(0,1fr) 18px}.permission-module-v2314>summary small{display:none}.permission-option-v2314{grid-template-columns:34px minmax(0,1fr);padding:11px}.permission-denial-v2314 em{grid-column:2;margin-top:2px;justify-self:start}}

/* YRV CRM 2.3.23 - structured, compact order history */
.history-list-v2311{display:flex;flex-direction:column;gap:8px}.history-entry-v2314{padding:11px 12px;border:1px solid #dfe7ee;border-radius:9px;background:#fff}.history-entry-head-v2314,.history-entry-foot-v2314{display:flex;align-items:center;justify-content:space-between;gap:12px}.history-entry-head-v2314{padding-bottom:7px;border-bottom:1px solid #edf1f4}.history-entry-head-v2314 time{color:#718397;font-size:9px;white-space:nowrap}.history-part-v2314{color:#62778a;font-size:9px}.history-part-v2314 strong{color:#254c6c;font-size:10px}.history-action-v2314{display:flex;align-items:center;gap:8px;padding:8px 0 6px}.history-action-v2314 .timeline-icon{position:static;display:block;flex:0 0 auto;width:9px;height:9px}.history-action-v2314 strong{font-size:11px;color:#203a50}.history-changes-v2314{display:flex;flex-direction:column;gap:6px}.history-change-v2314{display:grid;grid-template-columns:minmax(105px,.45fr) minmax(0,1fr) 18px minmax(0,1fr);gap:8px;align-items:center;padding:7px 8px;border-radius:7px;background:#f7f9fb}.history-field-v2314{font-size:9px;font-weight:800;color:#405e77}.history-change-v2314>div{min-width:0}.history-change-v2314 small{display:block;margin-bottom:2px;color:#7a8b9b;font-size:8px;text-transform:uppercase;letter-spacing:.035em}.history-change-v2314 p{margin:0;color:#344e64;font-size:9px;line-height:1.4;overflow-wrap:anywhere}.history-change-v2314>i{color:#8496a5;font-size:12px;font-style:normal;text-align:center}.history-entry-foot-v2314{margin-top:7px;padding-top:7px;border-top:1px solid #edf1f4;color:#6d8091;font-size:8px}.history-entry-foot-v2314 b{color:#4b657a}.history-day-v2311{margin:7px 0 1px;padding:0 2px;color:#48657d;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
@media(max-width:760px){.history-entry-head-v2314,.history-entry-foot-v2314{align-items:flex-start;flex-direction:column;gap:3px}.history-change-v2314{grid-template-columns:1fr}.history-change-v2314>i{display:none}.history-field-v2314{padding-bottom:4px;border-bottom:1px solid #e4eaf0}.history-change-v2314>div{display:grid;grid-template-columns:55px minmax(0,1fr);gap:6px}.history-change-v2314 small{margin:0}.history-entry-v2314{padding:10px}}

/* YRV CRM 2.3.23 - stable and readable order history */
.history-list-v2315{display:flex;flex-direction:column;gap:10px;min-width:0}
.history-day-v2315{display:flex;align-items:center;gap:10px;margin:10px 0 0;color:#536b80;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.history-day-v2315:after{content:"";height:1px;flex:1;background:#e1e8ef}
.history-entry-v2315{min-width:0;overflow:hidden;border:1px solid #dce5ed;border-left:4px solid #55758f;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(20,45,68,.03)}
.history-entry-v2315.history-type-message{border-left-color:#2775ad}.history-entry-v2315.history-type-call{border-left-color:#2f8b61}.history-entry-v2315.history-type-event{border-left-color:#7a68a6}
.history-entry-header-v2315{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 13px;background:#f8fafc;border-bottom:1px solid #e5ebf0}
.history-event-icon-v2315{position:static!important;display:block!important;width:12px!important;height:12px!important;margin:0!important}
.history-event-title-v2315{min-width:0}.history-event-title-v2315 strong,.history-event-title-v2315 span{display:block}.history-event-title-v2315 strong{color:#1d374d;font-size:13px;line-height:1.35}.history-event-title-v2315 span{margin-top:2px;color:#687d8f;font-size:11px;line-height:1.35}
.history-event-meta-v2315{text-align:right;white-space:nowrap}.history-event-meta-v2315 span,.history-event-meta-v2315 time{display:block}.history-event-meta-v2315 span{color:#36536b;font-size:11px;font-weight:700}.history-event-meta-v2315 time{margin-top:2px;color:#7b8c9b;font-size:10px}
.history-change-list-v2315{display:flex;flex-direction:column;gap:8px;padding:10px 12px 12px}
.history-change-row-v2315{min-width:0;padding:9px 10px;border:1px solid #e5ebf0;border-radius:8px;background:#fff}.history-change-row-v2315 h4{margin:0 0 7px;color:#294b66;font-size:12px;line-height:1.35}
.history-values-v2315{display:grid;grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr);align-items:start;gap:8px}.history-values-v2315>div,.history-single-value-v2315{min-width:0;padding:8px 9px;border-radius:7px;background:#f6f8fa}.history-values-v2315 small,.history-single-value-v2315 small{display:block;margin-bottom:3px;color:#718395;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.025em}
.history-arrow-v2315{align-self:center;color:#8294a4;font-size:15px;text-align:center}.history-value-v2315{margin:0;color:#2f485d;font-size:12px;line-height:1.45;overflow-wrap:anywhere;white-space:normal}.history-value-details-v2315{margin:0}.history-value-details-v2315 summary,.history-extra-v2315>summary{width:max-content;max-width:100%;cursor:pointer;color:#1768a2;font-size:11px;font-weight:800}.history-value-details-v2315[open] summary{margin-bottom:5px}
.history-extra-v2315{margin:2px 0 0;padding:8px 10px;border:1px dashed #cad7e2;border-radius:8px;background:#fbfcfd}.history-extra-list-v2315{display:flex;flex-direction:column;gap:8px;margin-top:8px}
@media(max-width:760px){.history-entry-header-v2315{grid-template-columns:24px minmax(0,1fr);align-items:start}.history-event-meta-v2315{grid-column:2;text-align:left;white-space:normal;display:flex;gap:8px;flex-wrap:wrap}.history-event-meta-v2315 span,.history-event-meta-v2315 time{display:inline}.history-values-v2315{grid-template-columns:1fr}.history-arrow-v2315{display:none}.history-change-list-v2315{padding:8px}.history-entry-v2315{border-radius:8px}.history-day-v2315{font-size:11px}}


/* YRV CRM 2.3.23 — groups administration and normalized checkboxes */
input[type="checkbox"],input[type="radio"]{width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;padding:0!important;flex:0 0 17px;accent-color:var(--primary);cursor:pointer}
.field input[type="checkbox"],.field input[type="radio"]{width:17px!important;min-height:17px!important}
.compact-checkbox-field{display:flex!important;flex-direction:row!important;align-items:center;align-self:end;min-height:42px;padding:10px 12px;border:1px solid var(--border);border-radius:7px;background:var(--surface-soft)}
.compact-checkbox-field>span{margin:0;color:var(--text)}
.groups-admin-layout{grid-template-columns:minmax(310px,360px) minmax(0,1fr);gap:18px}
.groups-sidebar{position:sticky;top:78px;max-height:calc(100vh - 100px);overflow:auto;padding:12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
.groups-sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.groups-sidebar-title h3{margin:0}.groups-sidebar-title small{display:block;color:var(--muted);margin-top:2px}
.group-card-list{display:grid;gap:8px}.group-admin-card{border:1px solid var(--border);border-radius:8px;background:var(--surface);overflow:hidden;transition:.15s}.group-admin-card:hover{border-color:var(--border-strong);box-shadow:0 4px 12px rgba(28,43,58,.08)}.group-admin-card.active{border-color:var(--primary);box-shadow:inset 3px 0 var(--primary)}.group-admin-card.inactive{opacity:.78}
.group-admin-main{display:block;padding:12px}.group-admin-name{display:flex;align-items:center;justify-content:space-between;gap:8px}.group-admin-name strong{font-size:14px}.group-admin-main>small{display:block;margin-top:5px;color:var(--muted);font-size:11px}.group-admin-metrics{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.group-admin-metrics em{font-style:normal;font-size:10px;padding:3px 7px;border-radius:999px;background:var(--surface-strong);color:var(--muted)}
.group-admin-actions{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--border)}.group-admin-actions a{padding:8px;text-align:center;font-size:11px;font-weight:750;color:var(--primary)}.group-admin-actions a+a{border-left:1px solid var(--border)}.group-admin-actions a:hover{background:var(--primary-soft)}
.groups-main{min-width:0}.selected-group-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;margin-bottom:10px;border:1px solid #c9ddf2;border-radius:8px;background:#f2f8ff}.selected-group-banner>div{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.selected-group-banner small{font-size:9px;font-weight:800;color:var(--primary)}.selected-group-banner strong{font-size:16px}.selected-group-banner span{font-size:11px;color:var(--muted)}
.group-member-row{grid-template-columns:18px minmax(0,1fr) auto}.group-member-row>label:nth-of-type(1){cursor:pointer}.group-member-row .selection-extra{cursor:pointer}.group-member-row:has([data-member-checkbox]:checked){border-color:#bdd3ea;background:#f6faff}
.catalog-help{display:grid;grid-template-columns:auto minmax(240px,1fr) auto;align-items:center;gap:16px;padding:12px;margin-bottom:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface-soft)}.catalog-help>div:first-child{min-width:100px;text-align:center}.catalog-help strong{display:block;font-size:26px;line-height:1;color:var(--primary)}.catalog-help span{font-size:10px;color:var(--muted)}.catalog-help p{margin:0;color:var(--muted);font-size:12px}.group-products-table table{min-width:760px}.group-products-table tr.is-selected td{background:#f7fbff}.group-products-table td:first-child,.group-products-table th:first-child{text-align:center;width:88px}.group-products-table .table-input{width:145px}
@media(max-width:1050px){.groups-admin-layout{grid-template-columns:1fr}.groups-sidebar{position:static;max-height:none}.group-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.group-card-list{grid-template-columns:1fr}.selected-group-banner,.catalog-help{display:flex;align-items:flex-start;flex-direction:column}.selected-group-banner .btn{width:100%}.compact-checkbox-field{align-self:stretch}.group-member-row{grid-template-columns:18px minmax(0,1fr)}.group-member-row .selection-extra{grid-column:2}.groups-admin-layout{gap:12px}}


/* YRV CRM 2.3.23 — callback scheduler and silent presence state */
.order-live-lock[hidden]{display:none!important}
.callback-scheduler-v2321{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid #d9e4ee;border-radius:10px;background:#f8fbfd;min-width:0}
.callback-scheduler-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.callback-scheduler-head>span{color:#29465f;font-size:12px;font-weight:800}.callback-scheduler-head>small{color:#73879a;font-size:10px;text-align:right}
.callback-quick-actions{display:flex;flex-wrap:wrap;gap:7px}.callback-chip{appearance:none;border:1px solid #c9d7e4;border-radius:999px;background:#fff;color:#31536d;padding:7px 11px;font-size:11px;font-weight:800;cursor:pointer;transition:.15s}.callback-chip:hover,.callback-chip.active{border-color:var(--primary);background:var(--primary-soft);color:var(--primary)}
.callback-custom-actions{display:grid;grid-template-columns:minmax(95px,130px) auto minmax(150px,1fr);align-items:end;gap:8px}.callback-hours-field{display:flex;flex-direction:column;gap:4px}.callback-hours-field span,.callback-date-panel label span{color:#667d91;font-size:10px;font-weight:750}.callback-hours-field input,.callback-date-panel input{width:100%;min-height:38px;border:1px solid #c9d7e4;border-radius:7px;background:#fff;color:#243f56;padding:7px 9px}.callback-date-toggle{justify-self:start}
.callback-date-panel{display:grid;grid-template-columns:minmax(145px,1fr) minmax(120px,.75fr) auto;align-items:end;gap:8px;padding:10px;border:1px solid #d5e1ec;border-radius:8px;background:#fff}.callback-date-panel label{display:flex;flex-direction:column;gap:4px}
.callback-selection{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:34px;padding:7px 9px;border-radius:7px;background:#eaf3fb;color:#31536d}.callback-selection span{font-size:11px;font-weight:800}.callback-selection button{appearance:none;border:0;background:transparent;color:#a33d3d;font-size:10px;font-weight:800;cursor:pointer}
.callback-scheduler-v2321.is-compact{padding:10px}.callback-scheduler-v2321.is-compact .callback-scheduler-head{align-items:flex-start;flex-direction:column;gap:2px}.callback-scheduler-v2321.is-compact .callback-custom-actions{grid-template-columns:1fr auto}.callback-scheduler-v2321.is-compact .callback-date-toggle{grid-column:1/-1;width:100%;justify-content:center}.callback-scheduler-v2321.is-compact .callback-date-panel{grid-template-columns:1fr 1fr}.callback-scheduler-v2321.is-compact .callback-date-panel .btn{grid-column:1/-1;width:100%}
@media(max-width:720px){.callback-scheduler-head{align-items:flex-start;flex-direction:column;gap:2px}.callback-custom-actions{grid-template-columns:1fr auto}.callback-date-toggle{grid-column:1/-1;width:100%;justify-content:center}.callback-date-panel{grid-template-columns:1fr 1fr}.callback-date-panel .btn{grid-column:1/-1;width:100%}.callback-chip{flex:1 1 calc(33.333% - 7px)}}

.callback-status-title-v2321{color:#536b80;font-size:11px;font-weight:800}.callback-panel-v2312>.callback-scheduler-v2321{width:100%}


/* YRV CRM 2.3.30 — compact, practical order record */
.order-workspace-v236{grid-template-columns:minmax(0,1fr) 306px;gap:11px}.order-main-v236,.order-side-v236{gap:11px}.order-side-v236{position:relative}.order-side-v236>.card,.order-phone-dock-v236{border-radius:9px}.compact-order-header{gap:10px;padding:11px 13px}.lead-avatar{width:44px;height:44px;border-radius:12px;font-size:17px}.lead-title-row h1{font-size:18px}.compact-order-header p{margin-top:3px;font-size:11px}.order-total strong{font-size:17px}.compact-facts{grid-template-columns:repeat(5,minmax(0,1fr))}.compact-facts>div{padding:7px 9px}.compact-facts span{font-size:8px}.compact-facts strong{font-size:10px;line-height:1.3;overflow-wrap:anywhere}.status-workflow-v2312{padding:9px 11px}.status-workflow-grid-v2312{gap:8px}.status-workflow-actions-v2312{padding-top:7px}.order-products-v236 .card-header,.order-customer-v236 .card-header,.order-history-v2324 .card-header{padding:11px 13px}.order-products-v236 .card-body,.order-customer-v236 .card-body{padding:11px 13px}.order-products-v236 .card-header p,.order-customer-v236 .card-header p,.order-history-v2324 .card-header p{margin-top:2px;font-size:9px}.order-totals-v236{gap:6px;margin-top:9px}.order-totals-v236>div{padding:8px 9px}.order-totals-v236 span{font-size:9px}.order-totals-v236 strong{font-size:12px}
.order-section-tabs-v2324{display:flex;gap:3px;position:sticky;top:58px;z-index:8;padding:4px;border:1px solid #d9e3ec;border-radius:10px;background:rgba(248,250,252,.96);box-shadow:0 3px 10px rgba(21,45,68,.05);backdrop-filter:blur(8px)}.order-section-tabs-v2324 button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;flex:1;padding:7px 10px;border:0;border-radius:7px;background:transparent;color:#5d7184;font:inherit;font-size:11px;font-weight:750;cursor:pointer}.order-section-tabs-v2324 button:hover{background:#edf3f8;color:#234d70}.order-section-tabs-v2324 button.active{background:#fff;color:#0c568f;box-shadow:0 1px 5px rgba(20,48,73,.12)}.order-section-tabs-v2324 button span{display:inline-grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:999px;background:#e8f1f9;color:#315f83;font-size:8px}.order-main-v236.order-tabs-ready>[data-order-panel]{display:none}.order-main-v236.order-tabs-ready>[data-order-panel].active{display:block;animation:order-panel-in-v2324 .14s ease-out}@keyframes order-panel-in-v2324{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
.compact-customer-form-v2324{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.compact-customer-form-v2324 .field-full{grid-column:1/-1}.compact-customer-form-v2324 textarea[name="order_notes"]{min-height:54px;max-height:110px}.order-address-details-v2324{overflow:hidden;border:1px solid #d7e2eb;border-radius:9px;background:#fbfcfe}.order-address-details-v2324>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;list-style:none;cursor:pointer;background:#f5f8fb}.order-address-details-v2324>summary::-webkit-details-marker{display:none}.order-address-details-v2324>summary span,.order-address-details-v2324>summary strong,.order-address-details-v2324>summary small{display:block}.order-address-details-v2324>summary strong{font-size:11px;color:#263f55}.order-address-details-v2324>summary small{margin-top:2px;color:#6b7e90;font-size:9px}.order-address-details-v2324>summary b{color:#17689f;font-size:9px}.order-address-details-v2324[open]>summary{border-bottom:1px solid #dfe7ee}.order-address-content-v2324{padding:8px}.order-address-content-v2324 .address-assistant{padding:10px;border:0;background:#fff}.order-address-content-v2324 .address-assistant-head{display:none}.order-address-content-v2324 .address-flow{gap:8px}.order-address-content-v2324 .address-map{height:205px}.order-address-content-v2324 .address-map-wrap{margin-top:9px}.compact-save-bar-v2324{position:sticky;bottom:0;z-index:4;display:flex;justify-content:flex-end;padding:7px 0 0;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff 32%)}
.order-side-v236 .card-header{padding:10px 12px}.order-side-v236 .card-body{padding:10px 12px}.order-side-v236 .field{gap:3px}.order-side-v236 textarea{min-height:62px}.order-phone-dock-v236{top:69px}

/* YRV CRM 2.3.30 — condensed order history */
.order-history-v2324 .card-header{border-bottom:0}.history-toolbar-v2324{display:grid;grid-template-columns:auto minmax(150px,1fr) auto;gap:8px;align-items:center;padding:8px 12px;border-top:1px solid #e5ebf0;border-bottom:1px solid #e5ebf0;background:#f8fafc}.history-filter-v2324{display:flex;gap:3px;padding:3px;border:1px solid #d9e2ea;border-radius:8px;background:#fff}.history-filter-v2324 button{padding:5px 8px;border:0;border-radius:6px;background:transparent;color:#607386;font-size:9px;font-weight:750;cursor:pointer}.history-filter-v2324 button.active{background:#e8f2fb;color:#125b92}.history-search-v2324{display:flex;align-items:center;gap:6px;min-height:32px;padding:0 9px;border:1px solid #d8e2eb;border-radius:8px;background:#fff}.history-search-v2324 .icon{width:14px;color:#7a8d9e}.history-search-v2324 input{min-width:0;width:100%;border:0;outline:0;background:transparent;font-size:10px}.order-history-v2324 .card-body{padding:8px 12px 10px;max-height:620px;overflow:auto}.history-list-v2315{gap:5px}.history-day-v2315{margin:5px 0 1px;font-size:9px}.history-entry-v2324{border-left-width:3px;border-radius:7px;box-shadow:none}.history-entry-v2324>summary{list-style:none;cursor:pointer}.history-entry-v2324>summary::-webkit-details-marker{display:none}.history-entry-v2324>summary:after{content:"›";grid-column:4;color:#7e91a2;font-size:18px;line-height:1;transition:transform .15s}.history-entry-v2324[open]>summary:after{transform:rotate(90deg)}.history-entry-v2324 .history-entry-header-v2315{grid-template-columns:18px minmax(0,1fr) auto 12px;gap:7px;padding:7px 9px;border-bottom:0}.history-entry-v2324[open] .history-entry-header-v2315{border-bottom:1px solid #e5ebf0}.history-entry-v2324 .history-event-icon-v2315{width:9px!important;height:9px!important}.history-entry-v2324 .history-event-title-v2315 strong{font-size:10px}.history-entry-v2324 .history-event-title-v2315 span{margin-top:1px;font-size:8px}.history-entry-v2324 .history-event-meta-v2315 span{font-size:8px}.history-entry-v2324 .history-event-meta-v2315 time{font-size:8px}.history-entry-body-v2324{background:#fff}.history-entry-v2324 .history-change-list-v2315{gap:5px;padding:6px 8px 8px}.history-entry-v2324 .history-change-row-v2315{padding:6px 7px;border-radius:6px}.history-entry-v2324 .history-change-row-v2315 h4{margin-bottom:4px;font-size:9px}.history-entry-v2324 .history-values-v2315>div,.history-entry-v2324 .history-single-value-v2315{padding:5px 6px}.history-entry-v2324 .history-values-v2315 small,.history-entry-v2324 .history-single-value-v2315 small{font-size:7px}.history-entry-v2324 .history-value-v2315{font-size:9px;line-height:1.35}.history-entry-v2324[hidden],.history-day-v2315[hidden]{display:none!important}.history-load-row-v2311{padding-top:7px}.history-load-more-v2311{min-width:150px}

/* YRV CRM 2.3.30 — assistant follows system language */
.assistant-notice{position:relative;align-items:center}.assistant-language-badge{margin-left:auto;flex:0 0 auto;padding:4px 8px;border:1px solid #c9dced;border-radius:999px;background:#fff;color:#285a82;font-size:9px;font-weight:750}.assistant-input-wrap{min-width:0}.assistant-input-wrap textarea{width:100%;display:block}.assistant-input-wrap small{display:block;margin-top:4px;color:#718397;font-size:9px}.assistant-compose textarea{min-height:48px;max-height:160px;resize:none}.assistant-compose .btn{min-width:86px}.assistant-thread{scroll-behavior:smooth}
@media(max-width:1160px){.order-section-tabs-v2324{top:56px}.order-side-v236{grid-template-columns:repeat(2,minmax(0,1fr))}.order-side-v236 .order-phone-dock-v236{grid-column:1/-1}.compact-customer-form-v2324{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.order-workspace-v236{gap:9px}.compact-order-header{grid-template-columns:auto minmax(0,1fr);padding:10px}.order-total{grid-column:2;text-align:left}.compact-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-facts>div:last-child{grid-column:1/-1}.order-section-tabs-v2324{position:static;overflow:auto}.order-section-tabs-v2324 button{min-width:110px}.compact-customer-form-v2324{grid-template-columns:1fr}.history-toolbar-v2324{grid-template-columns:1fr}.history-filter-v2324{overflow:auto}.history-filter-v2324 button{flex:1;white-space:nowrap}.history-entry-v2324 .history-entry-header-v2315{grid-template-columns:16px minmax(0,1fr) 12px}.history-entry-v2324 .history-event-meta-v2315{grid-column:2;display:flex;gap:6px}.history-entry-v2324>summary:after{grid-column:3;grid-row:1/3}.order-side-v236{display:flex}.assistant-language-badge{display:none}}

/* v2.3.30 - complete delivery-address preview */
.order-address-preview-v2325{min-width:0;flex:1}.address-preview-line-v2325{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.address-preview-meta-v2325{display:flex!important;flex-wrap:wrap;gap:5px;margin-top:5px!important}.address-preview-meta-v2325 i{display:inline-flex;align-items:center;gap:3px;padding:2px 6px;border-radius:999px;font-style:normal;font-size:9px;font-weight:700;background:#e9f6ee;color:#237347}.address-preview-meta-v2325 i.missing{background:#fff1e8;color:#a64b14}.customer-address-preview-v2325{grid-column:1/-1}.customer-address-preview-v2325 small{display:block;margin-top:5px;color:#63798b;font-size:10px}.customer-address-preview-v2325 small b{color:#304b61}@media(max-width:620px){.order-address-details-v2324>summary{align-items:flex-start}.address-preview-line-v2325{white-space:normal;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical}.address-preview-meta-v2325{gap:4px}.order-address-details-v2324>summary b{padding-top:1px}}

/* YRV CRM 2.3.30 — product totals and read-only bottle summary */
.products-header-actions-v2326{display:flex;align-items:center;gap:9px}
.bottle-total-badge-v2326{display:flex;align-items:center;gap:8px;padding:6px 9px;border:1px solid #cfe0ee;border-radius:9px;background:#f3f8fc}
.bottle-total-badge-v2326 small,.bottle-total-badge-v2326 strong{display:block}
.bottle-total-badge-v2326 small{font-size:9px;color:#61778b}
.bottle-total-badge-v2326 strong{font-size:16px;color:#154f7d}
.line-bottles-v2326>span{display:flex;justify-content:center;flex-wrap:wrap;gap:3px;margin-top:3px}
.line-bottles-v2326 i{display:inline-flex;padding:2px 5px;border-radius:999px;background:#edf3f8;color:#3f5b73;font-style:normal;font-size:8px;font-weight:700}
.line-bottles-v2326 i.gift{background:#e9f7ee;color:#267446}
@media(max-width:620px){.products-header-actions-v2326{width:100%;justify-content:space-between}.order-products-v236>.card-header{align-items:flex-start;flex-wrap:wrap}.bottle-total-badge-v2326{flex:1}.line-bottles-v2326>span{justify-content:flex-start}}

/* YRV CRM 2.3.30 — CRM-style line item editor */
.order-products-v236 .card-body{overflow:visible}
.order-lines-v2330{display:grid;gap:7px}
.order-lines-head-v2330,.order-line-v2330{display:grid;grid-template-columns:40px minmax(190px,1fr) minmax(300px,390px) 105px 38px;gap:10px;align-items:center}
.order-lines-head-v2330{padding:0 10px 6px;color:#718398;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.order-lines-head-v2330 span:nth-child(3),.order-lines-head-v2330 span:nth-child(4){text-align:center}
.order-line-v2330{padding:9px 10px;border:1px solid #dfe7ef;border-radius:9px;background:#fff;transition:border-color .15s,box-shadow .15s}
.order-line-v2330:hover{border-color:#c7d8e6;box-shadow:0 2px 8px rgba(31,67,98,.05)}
.line-product-thumb-v2330{display:grid;place-items:center;width:38px;height:38px;margin:0;padding:0;border:1px solid #dbe5ee;border-radius:8px;background:#f5f8fa;overflow:hidden;color:#60788e;cursor:pointer}
.line-product-thumb-v2330 .product-thumb{display:block;width:38px!important;height:38px!important;min-width:38px;max-width:38px;object-fit:cover;border:0;border-radius:7px}
.line-product-thumb-v2330 .product-thumb.placeholder{display:grid;place-items:center;background:#edf2f6;font-size:13px;font-weight:800}
.line-product-name-v2330{display:block;min-width:0;margin:0;padding:2px 0;border:0;background:transparent;color:var(--text);text-align:left;cursor:pointer}
.line-product-name-v2330 strong,.line-product-name-v2330 small{display:block}
.line-product-name-v2330 strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}
.line-product-name-v2330 small{margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:9px}
.line-product-name-v2330:hover strong{color:#0f5d9a;text-decoration:underline}
.inline-bottle-form-v2330{min-width:0;margin:0}
.line-config-v2330{min-width:0}
.line-config-row-v2330{display:flex;align-items:center;gap:7px;min-width:0}
.line-quantity-shell-v2330{flex:0 0 auto}
.line-quantity-stepper-v2330{display:flex;align-items:center;width:100px;overflow:hidden;border:1px solid #c9d8e4;border-radius:8px;background:#fff}
.line-quantity-stepper-v2330[hidden],.line-treatment-total-v2330[hidden],.line-config-meta-v2330 [hidden]{display:none!important}
.line-quantity-stepper-v2330 button{width:30px;height:34px;padding:0;border:0;background:#f1f6fa;color:#18517a;font-size:17px;font-weight:800;line-height:1;cursor:pointer}
.line-quantity-stepper-v2330 button:hover:not(:disabled){background:#dfedf7}
.line-quantity-stepper-v2330 button:disabled{opacity:.45;cursor:not-allowed}
.line-quantity-stepper-v2330 strong{display:flex;align-items:center;justify-content:center;flex:0 0 38px;height:34px;border-left:1px solid #d8e4ec;border-right:1px solid #d8e4ec;color:#173d5a;font-size:13px}
.line-treatment-total-v2330{display:flex;align-items:center;justify-content:center;gap:5px;min-width:98px;height:36px;padding:0 9px;border:1px solid #c4d9cb;border-radius:8px;background:#f1f8f4;color:#286c47}
.line-treatment-total-v2330 strong{font-size:14px}
.line-treatment-total-v2330 small{font-size:8px;font-weight:750;white-space:nowrap}
.line-treatment-picker-v2330{display:block;min-width:0;flex:1}
.line-treatment-picker-v2330 select,.inline-new-product-v2330 select{display:block;width:100%;min-width:0;height:36px;padding:0 31px 0 10px;border:1px solid #c9d8e4;border-radius:8px;background-color:#fff;color:#24435c;font-size:10px;font-weight:650;text-overflow:ellipsis;outline:0}
.line-treatment-picker-v2330 select:hover,.inline-new-product-v2330 select:hover{border-color:#8eb4cf}
.line-treatment-picker-v2330 select:focus,.inline-new-product-v2330 select:focus{border-color:#4d8fbe;box-shadow:0 0 0 3px rgba(50,120,170,.12)}
.line-treatment-picker-v2330 select:disabled{background:#f2f5f7;color:#91a0ad;cursor:not-allowed}
.line-treatment-static-v2330{display:flex;align-items:center;min-width:0;flex:1;height:36px;padding:0 10px;border:1px solid #d8e3eb;border-radius:8px;background:#f7f9fb;color:#60788b;font-size:9px;font-weight:700}
.line-config-meta-v2330{display:flex;align-items:center;gap:7px;min-height:17px;margin-top:4px;color:#6c7f90;font-size:8px;white-space:nowrap}
.line-config-meta-v2330>span{display:inline-flex;align-items:center;gap:2px}
.line-config-meta-v2330>span+span:before{content:"·";margin-right:5px;color:#a2afba}
.line-config-meta-v2330 b{color:#35556d}
.line-config-meta-v2330 [data-inline-gift-wrap] b{color:#247047}
.line-config-total-v2330{font-weight:700}
.line-config-meta-v2330 small{display:inline-grid;place-items:center;min-width:16px;height:16px;margin-left:auto;border-radius:50%;color:#26754b;font-size:10px;font-weight:900}
.line-config-meta-v2330 small:not(:empty){background:#edf7f1}
.inline-bottle-form-v2330.is-saving{opacity:.68;pointer-events:none}
.inline-bottle-form-v2330.has-error{animation:inline-row-error-v2330 .22s ease 0s 2 alternate}
@keyframes inline-row-error-v2330{from{transform:translateX(0)}to{transform:translateX(3px)}}
.line-quantity-read-v2330{text-align:center}
.line-quantity-read-v2330 strong,.line-quantity-read-v2330 span,.line-quantity-read-v2330 small{display:block}
.line-quantity-read-v2330 strong{font-size:14px;color:#214864}
.line-quantity-read-v2330 span{font-size:8px;font-weight:700;color:#6f8294}
.line-quantity-read-v2330 small{margin-top:3px;font-size:8px;color:#708294}
.line-subtotal-v2330{text-align:right}
.line-subtotal-v2330 small,.line-subtotal-v2330 strong,.line-subtotal-v2330 .status-badge{display:block}
.line-subtotal-v2330 small{font-size:8px;color:#718397}
.line-subtotal-v2330 strong{margin-top:2px;font-size:12px;white-space:nowrap}
.line-subtotal-v2330 .status-badge{margin-top:4px;font-size:8px}
.line-actions-v2330{display:flex;justify-content:center;align-items:center}
.line-actions-v2330 form{margin:0}
.line-actions-v2330 .icon-btn{width:32px;height:32px;border:1px solid #d9e3ec;border-radius:8px;background:#fff}
.line-actions-v2330 .danger-icon{color:#b53737}
.line-actions-v2330 .danger-icon:hover{border-color:#efc0c0;background:#fff0f0}
.line-readonly-v2330{font-size:9px;color:var(--muted);text-align:center}
.inline-new-line-v2330{border-style:dashed;background:#f8fbfd}
.inline-new-line-v2330[hidden]{display:none!important}
.new-product-thumb-v2330{cursor:default;font-size:18px;font-weight:500}
.inline-new-product-v2330{display:block;min-width:0}
.inline-new-config-v2330[hidden],.inline-new-config-placeholder-v2330[hidden]{display:none!important}
.inline-new-config-placeholder-v2330{display:flex;align-items:center;min-height:36px;padding:0 10px;border:1px dashed #d5e0e8;border-radius:8px;background:#f7f9fb;color:#7a8c9c;font-size:9px}
.inline-new-actions-v2330{gap:5px}
.success-icon{color:#26734a!important;background:#edf8f1!important}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(max-width:1080px) and (min-width:761px){
  .order-lines-head-v2330,.order-line-v2330{grid-template-columns:38px minmax(145px,1fr) minmax(255px,330px) 92px 36px;gap:8px}
}
@media(max-width:760px){
  .order-lines-head-v2330{display:none}
  .order-line-v2330{grid-template-columns:38px minmax(0,1fr) 34px;grid-template-rows:auto auto auto;gap:7px 9px;align-items:start;padding:9px}
  .line-product-thumb-v2330{grid-column:1;grid-row:1/4}
  .line-product-name-v2330,.inline-new-product-v2330{grid-column:2;grid-row:1}
  .order-line-v2330>.inline-bottle-form-v2330,.order-line-v2330>.inline-new-config-v2330,.order-line-v2330>.inline-new-config-placeholder-v2330{grid-column:2/4;grid-row:2;width:100%}
  .line-subtotal-v2330{grid-column:2;grid-row:3;text-align:left}
  .line-subtotal-v2330 small,.line-subtotal-v2330 strong{display:inline}
  .line-subtotal-v2330 small{margin-right:5px}
  .line-actions-v2330,.line-readonly-v2330{grid-column:3;grid-row:1;align-self:start}
  .inline-new-line-v2330>.line-subtotal-v2330{grid-column:2;grid-row:3}
  .inline-new-line-v2330>.inline-new-actions-v2330{grid-column:3;grid-row:3}
}
@media(max-width:520px){
  .line-config-row-v2330{align-items:stretch;flex-direction:column}
  .line-quantity-shell-v2330{align-self:flex-start}
  .line-treatment-picker-v2330,.line-treatment-static-v2330{width:100%}
  .line-treatment-picker-v2330 select{font-size:11px}
  .line-config-meta-v2330{flex-wrap:wrap;gap:4px 7px;white-space:normal}
  .line-config-meta-v2330 small{margin-left:0}
}

/* YRV CRM 2.3.32 — hide incomplete new-line totals until a product exists */
[data-inline-new-subtotal-wrap][hidden]{display:none!important}
@media(min-width:761px){.inline-new-line-v2330>.inline-new-actions-v2330{grid-column:5}}

/* YRV CRM 2.3.32 — compact next-action workflow; single source under substatus */
.status-workflow-v2312{margin-top:10px}
.status-workflow-grid-v2312{gap:8px}
.callback-panel-v2312{grid-column:1/-1;display:block;padding:8px;border:1px solid color-mix(in srgb,var(--status-color) 26%,#d5e0e9);border-radius:9px;background:color-mix(in srgb,var(--status-soft) 55%,#fff);min-width:0}
.callback-panel-v2312[hidden]{display:none}
.callback-panel-v2312>.callback-scheduler-v2321.is-workflow-v2332{width:100%;padding:0;border:0;border-radius:0;background:transparent;gap:7px}
.callback-compact-head-v2332{display:grid;grid-template-columns:minmax(155px,.55fr) minmax(230px,1fr);align-items:center;gap:10px}
.callback-compact-title-v2332{display:flex;flex-direction:column;gap:1px;min-width:0}
.callback-compact-title-v2332 strong{color:#29465f;font-size:11px;font-weight:850;line-height:1.2}
.callback-compact-title-v2332 strong b{color:#b42318}
.callback-compact-title-v2332 small{overflow:hidden;color:#72869a;font-size:9px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.callback-selection-v2332{min-height:30px;padding:5px 8px;border:1px solid rgba(78,125,163,.16);background:rgba(255,255,255,.78)}
.callback-selection-v2332 span{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
.callback-selection-v2332 button{flex:0 0 auto}
.callback-scheduler-v2321.is-workflow-v2332 .callback-quick-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}
.callback-scheduler-v2321.is-workflow-v2332 .callback-chip{min-height:30px;padding:5px 7px;border-radius:7px;font-size:10px;white-space:nowrap}
.callback-more-v2332{border-top:1px solid rgba(122,146,166,.18);padding-top:5px}
.callback-more-v2332>summary{display:inline-flex;align-items:center;gap:5px;color:#49677f;font-size:10px;font-weight:800;cursor:pointer;list-style:none;user-select:none}
.callback-more-v2332>summary::-webkit-details-marker{display:none}
.callback-more-v2332>summary:after{content:'›';font-size:15px;line-height:1;transform:rotate(90deg);transition:transform .15s}
.callback-more-v2332[open]>summary:after{transform:rotate(-90deg)}
.callback-more-v2332 .callback-custom-actions{grid-template-columns:minmax(100px,130px) auto auto;margin-top:7px}
.callback-more-v2332 .callback-hours-field input,.callback-more-v2332 .callback-date-panel input{min-height:34px;padding:5px 8px}
.callback-more-v2332 .callback-date-panel{grid-template-columns:minmax(135px,1fr) minmax(110px,.65fr) auto;margin-top:7px;padding:8px}
.status-workflow-footer-v2312{margin-top:8px;padding-top:8px}
.status-current-v2312 small{font-size:9px}
@media(max-width:760px){
  .callback-compact-head-v2332{grid-template-columns:1fr;gap:5px}
  .callback-compact-title-v2332 small{white-space:normal}
  .callback-scheduler-v2321.is-workflow-v2332 .callback-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
  .callback-more-v2332 .callback-custom-actions{grid-template-columns:1fr auto}
  .callback-more-v2332 .callback-date-toggle{grid-column:1/-1;width:100%}
  .callback-more-v2332 .callback-date-panel{grid-template-columns:1fr 1fr}
  .callback-more-v2332 .callback-date-panel .btn{grid-column:1/-1;width:100%}
}

/* YRV CRM 2.3.43 — professional permission-aware AI chat */
.assistant-pro-shell{display:grid;grid-template-rows:auto auto minmax(420px,1fr) auto;min-height:calc(100vh - 176px);overflow:hidden;border:1px solid #d7e2ec;border-radius:18px;background:#fff;box-shadow:0 18px 55px rgba(8,42,74,.08)}
.assistant-pro-header{display:flex;align-items:center;gap:12px;padding:14px 18px;background:linear-gradient(135deg,#082f59,#105d9d);color:#fff}.assistant-pro-header>img{width:46px;height:46px}.assistant-pro-header>div{min-width:0}.assistant-pro-header strong,.assistant-pro-header span{display:block}.assistant-pro-header strong{font-size:15px}.assistant-pro-header span{margin-top:3px;max-width:760px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d8eafa;font-size:10px}.assistant-pro-header span i,.guide-chat-panel header small i{display:inline-block;width:7px;height:7px;margin-right:6px;border-radius:50%;background:#4ee19a}.assistant-pro-header>b{margin-left:auto;padding:5px 9px;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.1);font-size:9px}
.assistant-pro-quick,.guide-chat-quick{display:flex;gap:7px;overflow:auto;padding:10px 14px;border-bottom:1px solid #e2e9f0;background:#f8fafc}.assistant-pro-quick button,.guide-chat-quick button{padding:7px 11px;border:1px solid #d4e1ec;border-radius:999px;background:#fff;color:#315875;font-size:10px;font-weight:750;white-space:nowrap;cursor:pointer}.assistant-pro-quick button:hover,.guide-chat-quick button:hover{border-color:#69a8dc;background:#eef7ff;color:#0c5d9e}
.assistant-pro-thread{padding:22px;background:radial-gradient(circle at 15% 0,#f3f9ff 0,transparent 30%),#f7f9fb}.assistant-welcome{margin:auto;max-width:520px;text-align:center;color:#62778a}.assistant-welcome img{width:78px;height:78px}.assistant-welcome h3{margin:9px 0 5px;color:#183e5e;font-size:18px}.assistant-pro-thread .assistant-message{max-width:min(760px,88%)}.assistant-pro-thread .assistant-message .avatar{display:grid;place-items:center;width:34px;height:34px;overflow:hidden;border-radius:12px;background:#e9f3fb}.assistant-pro-thread .assistant-message .avatar img{width:100%;height:100%}.assistant-pro-thread .assistant-message>div:last-child{border-radius:6px 16px 16px 16px;background:#fff;box-shadow:0 5px 18px rgba(10,48,81,.06)}.assistant-pro-thread .assistant-message.user>div:last-child{border:0;border-radius:16px 6px 16px 16px;background:linear-gradient(135deg,#126db3,#0b4e86)}
.assistant-pro-compose{grid-template-columns:minmax(0,1fr) 44px;align-items:end;padding:13px 15px}.assistant-pro-compose .assistant-input-wrap{padding:8px 12px;border:1px solid #cfdae4;border-radius:15px;background:#fbfcfe}.assistant-pro-compose .assistant-input-wrap:focus-within{border-color:#2b82c5;box-shadow:0 0 0 3px rgba(43,130,197,.12)}.assistant-pro-compose textarea{min-height:24px!important;max-height:150px;border:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;resize:none}.assistant-send-pro{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:14px;background:linear-gradient(135deg,#1b79c7,#0b4d84);color:#fff;cursor:pointer}.assistant-send-pro:disabled{opacity:.55}.assistant-send-pro .icon{width:19px}
.guide-chat-pro .guide-chat-launch{height:54px;padding:0 16px 0 8px;background:linear-gradient(135deg,#0b3968,#126eb2)}.guide-chat-pro .guide-chat-launch img{width:40px;height:40px}.guide-chat-pro .guide-chat-panel{width:min(420px,calc(100vw - 24px));height:min(640px,calc(100vh - 88px));border-radius:20px}.guide-chat-pro .guide-chat-panel>header{justify-content:flex-start;gap:10px;padding:14px 15px;background:linear-gradient(135deg,#082f59,#105f9f)}.guide-chat-pro .guide-chat-panel>header>img{width:43px;height:43px}.guide-chat-pro .guide-chat-panel header .icon-btn{margin-left:auto}.guide-chat-pro .guide-chat-messages{height:calc(100% - 205px);padding:14px;background:#f4f7fa}.guide-chat-pro .guide-message.assistant{display:grid;grid-template-columns:25px minmax(0,1fr);gap:8px}.guide-chat-pro .guide-message.assistant>img{width:25px;height:25px}.guide-chat-pro .guide-chat-panel form{position:relative;grid-template-columns:minmax(0,1fr) 40px;padding:10px 11px 24px}.guide-chat-pro .guide-chat-panel textarea{min-height:40px;max-height:110px;padding:10px 11px;border-radius:13px}.guide-chat-pro .guide-chat-panel form>button{display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:12px;background:#0d5f9e;color:#fff;cursor:pointer}.guide-chat-pro .guide-chat-panel form>small{position:absolute;left:12px;bottom:5px;color:#7a8b99;font-size:8px}
@media(max-width:700px){.assistant-pro-shell{min-height:calc(100vh - 130px);border-radius:12px}.assistant-pro-header>b{display:none}.assistant-pro-thread{padding:13px}.assistant-pro-compose{grid-template-columns:minmax(0,1fr) 42px;padding:10px}.guide-chat-pro .guide-chat-panel{position:fixed;inset:8px;width:auto;height:auto}.guide-chat-pro .guide-chat-messages{height:calc(100% - 205px)}}

/* YRV CRM 2.3.43 — polished AI chat output and composer */
.guide-chat-pro .guide-chat-panel>header .guide-chat-close{
  display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin-left:auto;padding:0;
  border:0;border-radius:50%;background:rgba(255,255,255,.11);color:#fff;cursor:pointer;
  box-shadow:none;outline:0;transition:background .16s ease,transform .16s ease
}
.guide-chat-pro .guide-chat-panel>header .guide-chat-close span{display:block;font-size:24px;font-weight:300;line-height:1;transform:translateY(-1px)}
.guide-chat-pro .guide-chat-panel>header .guide-chat-close:hover{background:rgba(255,255,255,.22);transform:scale(1.04)}
.guide-chat-pro .guide-chat-panel>header .guide-chat-close:focus-visible{box-shadow:0 0 0 3px rgba(255,255,255,.3)}
.guide-chat-pro .guide-chat-panel form{width:100%;min-width:0;align-items:end;overflow:hidden}
.guide-chat-pro .guide-chat-panel form>*{min-width:0}
.guide-chat-pro .guide-chat-panel textarea{
  display:block;width:100%;min-width:0;margin:0;box-sizing:border-box;overflow-y:auto;
  border:1px solid #cbd8e5;background:#fbfdff;color:#20384d;outline:0;line-height:1.42
}
.guide-chat-pro .guide-chat-panel textarea:focus{border-color:#2b82c5;box-shadow:0 0 0 3px rgba(43,130,197,.12)}
.guide-chat-pro .guide-chat-panel form>button{flex:0 0 40px;align-self:end}
.guide-chat-pro .guide-message{white-space:normal;overflow-wrap:anywhere}
.guide-chat-pro .guide-message.assistant{width:min(92%,max-content);max-width:92%}
.guide-chat-pro .guide-message-content{min-width:0}
.assistant-rich-text{display:block;min-width:0}
.assistant-rich-text p{margin:0 0 7px;line-height:1.55}
.assistant-rich-text p:last-child{margin-bottom:0}
.assistant-rich-text ul,.assistant-rich-text ol{margin:4px 0 8px;padding-left:20px}
.assistant-rich-text li{margin:3px 0;line-height:1.5}
.assistant-rich-text strong{font-weight:800;color:inherit}
.assistant-pro-thread .assistant-rich-text{font-size:inherit}
.assistant-pro-thread .assistant-message>div:last-child{min-width:0;overflow-wrap:anywhere}
.assistant-pro-compose{width:100%;min-width:0;overflow:hidden}
.assistant-pro-compose>*{min-width:0}
.assistant-pro-compose .assistant-input-wrap{width:100%;min-width:0;overflow:hidden}
.assistant-pro-compose textarea{display:block;width:100%!important;min-width:0!important;box-sizing:border-box!important;overflow-y:auto}
@media(max-width:700px){
  .guide-chat-pro .guide-chat-panel form{grid-template-columns:minmax(0,1fr) 40px;padding-left:10px;padding-right:10px}
  .guide-chat-pro .guide-chat-panel>header .guide-chat-close{width:34px;height:34px;flex-basis:34px}
}


/* YRV CRM 2.3.43 — contextual assistant navigation actions */
.assistant-rich-output-v2335{display:block;min-width:0}
.assistant-actions-v2335{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;padding-top:9px;border-top:1px solid rgba(46,91,126,.12)}
.assistant-action-v2335{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;max-width:100%;min-height:36px;padding:8px 11px;border:1px solid #b9d5e9;border-radius:10px;background:linear-gradient(180deg,#fff,#f2f8fc);color:#0c568d;font:inherit;font-size:10px;font-weight:800;line-height:1.2;text-align:left;cursor:pointer;box-shadow:0 3px 10px rgba(18,78,121,.06);transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}
.assistant-action-v2335 span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.assistant-action-v2335 b{flex:0 0 auto;font-size:15px;font-weight:500;line-height:1}
.assistant-action-v2335:hover{border-color:#4c98ce;background:#eaf5fc;transform:translateY(-1px);box-shadow:0 6px 15px rgba(18,78,121,.11)}
.assistant-action-v2335:focus-visible{outline:0;box-shadow:0 0 0 3px rgba(43,130,197,.18)}
.guide-chat-pro .assistant-actions-v2335{margin-top:8px;padding-top:8px}
.guide-chat-pro .assistant-action-v2335{width:100%;min-height:38px;font-size:10px}
.assistant-pro-thread .assistant-action-v2335{min-width:180px}
@media(max-width:560px){.assistant-actions-v2335{display:grid;grid-template-columns:1fr}.assistant-action-v2335{width:100%}.assistant-pro-thread .assistant-action-v2335{min-width:0}}


/* YRV CRM 2.3.43 — product catalog filters and safe CSV import */
.product-catalog-v2337{overflow:hidden}.product-catalog-v2337 .card-header{padding-bottom:11px}.product-catalog-v2337 .card-header p{margin:3px 0 0}.product-catalog-toolbar-v2337{display:grid;grid-template-columns:minmax(190px,1fr) 132px auto;gap:8px;align-items:center;padding:10px 12px;border-top:1px solid #edf1f5;border-bottom:1px solid #e4ebf2;background:linear-gradient(180deg,#fbfdff,#f7fafc)}.product-search-v2337{display:flex;align-items:center;gap:8px;min-width:0;height:38px;padding:0 10px;border:1px solid #d3dee8;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(24,52,78,.03);transition:border-color .15s,box-shadow .15s}.product-search-v2337:focus-within{border-color:#6d9fc9;box-shadow:0 0 0 3px rgba(56,126,184,.12)}.product-search-v2337 .icon{width:16px;color:#70869a;flex:0 0 auto}.product-search-v2337 input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;font-size:12px;color:#1e3449}.product-search-v2337 button{display:none;width:24px;height:24px;border:0;border-radius:50%;background:#eef3f7;color:#5f7284;cursor:pointer}.product-search-v2337.has-value button{display:grid;place-items:center}.product-catalog-toolbar-v2337 select{height:38px;border:1px solid #d3dee8;border-radius:9px;background:#fff;padding:0 30px 0 10px;font-size:11px;color:#30495f}.product-filter-count-v2337{white-space:nowrap;padding:6px 9px;border-radius:999px;background:#eaf2f9;color:#2c5d86;font-size:9px;font-weight:800}.product-catalog-body-v2337{padding:0!important}.product-catalog-body-v2337 .table-wrap{border:0;border-radius:0;max-height:620px}.product-catalog-body-v2337 table{margin:0}.product-catalog-body-v2337 th{position:sticky;top:0;z-index:2;background:#f8fafc}.product-catalog-body-v2337 td{vertical-align:middle}.product-catalog-body-v2337 .product-thumb{width:38px;height:38px;border-radius:8px}.product-filter-empty-v2337{display:grid;place-items:center;gap:5px;padding:44px 20px;text-align:center;color:#6a7e91}.product-filter-empty-v2337[hidden]{display:none}.product-filter-empty-v2337 .icon{width:25px}.product-filter-empty-v2337 strong{color:#30485f;font-size:12px}.product-filter-empty-v2337 small{font-size:10px}
.product-import-v2337{margin-bottom:14px;overflow:hidden;border-color:#d8e4ee}.product-import-v2337>summary{cursor:pointer;list-style:none;user-select:none;background:linear-gradient(180deg,#fff,#fbfdff)}.product-import-v2337>summary::-webkit-details-marker{display:none}.product-import-v2337>summary .import-summary-action-v2337{display:inline-flex;align-items:center;gap:5px;color:#2f6d9f;font-size:10px;font-weight:800}.product-import-v2337>summary .import-summary-action-v2337 .icon{width:13px;transform:rotate(-90deg);transition:transform .18s}.product-import-v2337[open]>summary .import-summary-action-v2337 .icon{transform:rotate(90deg)}.product-import-grid-v2337{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:12px}.import-guide-v2337{display:grid;grid-template-columns:38px minmax(0,1fr);gap:11px;padding:14px;border:1px solid #dce7f1;border-radius:10px;background:#f8fbfe}.import-guide-icon-v2337{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#e8f3fc;color:#286795}.import-guide-icon-v2337 .icon{width:18px}.import-guide-v2337 h4{margin:0 0 5px;font-size:13px}.import-guide-v2337 p{margin:0 0 10px;color:#5e7387;font-size:10px;line-height:1.55}.import-column-groups-v2337{display:grid;gap:7px;margin-bottom:11px}.import-column-groups-v2337>div{display:grid;gap:3px}.import-column-groups-v2337 strong{font-size:9px;color:#405a72}.import-column-groups-v2337 code{display:block;overflow-wrap:anywhere;padding:7px 8px;border:1px solid #d9e4ee;border-radius:7px;background:#fff;color:#36546e;font-size:9px;line-height:1.45}.import-upload-v2337{display:flex;flex-direction:column;gap:9px;padding:12px;border:1px solid #dce5ed;border-radius:10px;background:#fff}.import-file-v2337{position:relative;display:grid;place-items:center;gap:4px;min-height:116px;padding:14px;border:1.5px dashed #b9ccdc;border-radius:9px;background:#f9fbfd;text-align:center;cursor:pointer;transition:.15s}.import-file-v2337:hover{border-color:#6f9fc5;background:#f2f8fd}.import-file-v2337>span{display:grid;place-items:center;width:34px;height:34px;border-radius:9px;background:#eaf2f8;color:#316b99}.import-file-v2337 .icon{width:17px}.import-file-v2337 strong{font-size:11px}.import-file-v2337 small{color:#718396;font-size:9px}.import-file-v2337 input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.import-update-option-v2337{display:flex;align-items:flex-start;gap:8px;padding:9px;border:1px solid #e0e7ee;border-radius:8px;background:#fbfcfd}.import-update-option-v2337 input{width:15px;height:15px;margin-top:1px}.import-update-option-v2337 strong,.import-update-option-v2337 small{display:block}.import-update-option-v2337 strong{font-size:10px}.import-update-option-v2337 small{margin-top:2px;color:#6a7d8f;font-size:8px;line-height:1.4}.import-safety-v2337{padding:9px 10px;border-left:3px solid #d3a122;border-radius:7px;background:#fff8e7}.import-safety-v2337 strong{font-size:10px;color:#725213}.import-safety-v2337 p{margin:3px 0 0;color:#725f36;font-size:8px;line-height:1.45}.import-preview-v2337{margin-top:13px;padding-top:13px;border-top:1px solid #e3eaf1}.import-preview-head-v2337{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:9px}.import-preview-head-v2337 span{font-size:9px;color:#718397}.import-preview-head-v2337 h4{margin:2px 0 0;font-size:14px}.import-preview-stats-v2337{display:flex;gap:6px;flex-wrap:wrap}.import-preview-stats-v2337 span{padding:6px 8px;border-radius:7px;background:#f1f4f7;font-size:9px}.import-preview-stats-v2337 span.success{background:#e9f7ef;color:#137144}.import-preview-stats-v2337 span.info{background:#eaf3fb;color:#276591}.import-preview-stats-v2337 span.danger{background:#fff0f0;color:#a82f2f}.import-errors-v2337{padding:12px;border:1px solid #efc5c5;border-radius:9px;background:#fff7f7}.import-errors-v2337 strong{color:#9f2929}.import-errors-v2337 p{margin:3px 0 8px;color:#795555;font-size:9px}.import-errors-v2337 ul{max-height:230px;overflow:auto;margin:0;padding-left:19px;color:#7d3434;font-size:9px;line-height:1.55}.import-preview-table-v2337{max-height:330px}.import-preview-table-v2337 td,.import-preview-table-v2337 th{font-size:9px}.import-confirm-v2337{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(160px,220px) auto;gap:10px;align-items:end;margin-top:10px;padding:11px;border:1px solid #cbddeb;border-radius:10px;background:#f5faff}.import-confirm-v2337>div>strong{font-size:11px}.import-confirm-v2337>div>p{margin:3px 0 0;color:#60778c;font-size:8px;line-height:1.45}.import-confirm-check-v2337{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 9px;border:1px solid #d8e3ec;border-radius:8px;background:#fff;font-size:9px}.import-confirm-check-v2337 input{width:15px;height:15px}.import-confirm-v2337 .field{margin:0}.import-confirm-v2337 .field>span{font-size:8px}.import-confirm-v2337 .field input{min-height:38px;text-transform:uppercase;font-weight:800;letter-spacing:.06em}
@media(max-width:960px){.product-import-grid-v2337{grid-template-columns:1fr}.import-confirm-v2337{grid-template-columns:1fr 1fr}.import-confirm-v2337>div{grid-column:1/-1}}@media(max-width:620px){.product-catalog-toolbar-v2337{grid-template-columns:1fr auto}.product-search-v2337{grid-column:1/-1}.product-filter-count-v2337{justify-self:end}.product-import-v2337>summary .import-summary-action-v2337{display:none}.import-guide-v2337{grid-template-columns:1fr}.import-guide-icon-v2337{display:none}.import-preview-head-v2337{align-items:flex-start;flex-direction:column}.import-confirm-v2337{grid-template-columns:1fr}.import-confirm-v2337>div{grid-column:auto}.product-catalog-body-v2337 .table-wrap{max-height:none}}

/* YRV CRM 2.3.43 — professional order filters and protected import */
.order-filter-card-v2338{margin-bottom:14px;overflow:hidden;border-color:#d9e4ed;background:#fff}.order-filter-form-v2338{display:grid}.order-filter-main-v2338{display:grid;grid-template-columns:minmax(260px,1.45fr) minmax(150px,.75fr) minmax(150px,.75fr) minmax(150px,.75fr) auto;gap:8px;align-items:end;padding:12px}.order-filter-main-v2338>.field{margin:0}.order-filter-main-v2338>.field>span{font-size:8px;color:#60768a}.order-filter-main-v2338 select{min-height:40px}.order-search-v2338{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;border:1px solid #d1dde7;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(25,53,78,.04);transition:border-color .15s,box-shadow .15s}.order-search-v2338:focus-within{border-color:#6d9fc9;box-shadow:0 0 0 3px rgba(56,126,184,.12)}.order-search-v2338 .icon{width:17px;flex:0 0 auto;color:#6e8498}.order-search-v2338 input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:11px;color:#20384d}.order-search-v2338>a{display:grid;place-items:center;width:25px;height:25px;flex:0 0 auto;border-radius:50%;background:#edf3f7;color:#5b7184;text-decoration:none;font-size:16px}.order-filter-more-v2338{border-top:1px solid #e7edf2}.order-filter-more-v2338>summary{display:flex;align-items:center;gap:6px;padding:9px 12px;cursor:pointer;list-style:none;color:#426079;font-size:10px;font-weight:800;background:#fafcfd}.order-filter-more-v2338>summary::-webkit-details-marker{display:none}.order-filter-more-v2338>summary .icon{width:14px}.order-filter-more-v2338>summary b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dcecf8;color:#2d678f;font-size:8px}.order-filter-more-v2338>div{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:9px;padding:10px 12px 12px;border-top:1px solid #edf2f6;background:#fbfdfe}.order-filter-more-v2338 .field{margin:0}.order-filter-form-v2338>footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border-top:1px solid #e6edf3;background:linear-gradient(180deg,#fbfdff,#f7fafc);color:#64798c;font-size:9px}.order-filter-form-v2338>footer strong{color:#2d536f;font-size:11px}.order-import-v2338{margin-bottom:14px}.order-import-destination-v2338{display:grid;gap:7px;padding:10px;border:1px solid #dce6ee;border-radius:9px;background:#f9fbfd}.order-import-destination-v2338>strong{font-size:10px;color:#334f66}.order-import-destination-v2338>small{color:#6c8092;font-size:8px;line-height:1.45}.order-import-destination-v2338 .field{margin:0}.order-import-destination-v2338 .field>span{font-size:8px}.order-import-permission-note-v2338{margin:10px 0 0!important;padding:8px 9px;border-radius:7px;background:#edf5fb;color:#41667f!important;font-size:8px!important}.order-import-warnings-v2338{margin-bottom:9px;padding:10px 11px;border:1px solid #eedb9c;border-radius:8px;background:#fffaf0;color:#735b1f}.order-import-warnings-v2338 strong{font-size:10px}.order-import-warnings-v2338 ul{margin:5px 0 0;padding-left:18px;font-size:9px;line-height:1.5}.order-import-destination-summary-v2338{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:9px;padding:9px 10px;border:1px solid #d8e5ee;border-radius:8px;background:#f6fafc}.order-import-destination-summary-v2338 span{font-size:8px;color:#687d90}.order-import-destination-summary-v2338 strong{font-size:10px;color:#294e69}.order-import-v2338 .import-preview-table-v2337 small{display:block;margin-top:2px;color:#718498;font-size:8px}.order-import-v2338 .import-confirm-v2337 button:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.25)}
@media(max-width:1180px){.order-filter-main-v2338{grid-template-columns:minmax(240px,1.3fr) repeat(2,minmax(150px,.7fr)) auto}.order-filter-main-v2338>.field:nth-of-type(3){grid-column:2/3}.order-filter-more-v2338>div{grid-template-columns:repeat(2,minmax(160px,1fr))}}
@media(max-width:760px){.order-filter-main-v2338{grid-template-columns:1fr 1fr}.order-search-v2338{grid-column:1/-1}.order-filter-main-v2338>.field:nth-of-type(3){grid-column:auto}.order-filter-main-v2338>.btn{grid-column:1/-1}.order-filter-more-v2338>div{grid-template-columns:1fr 1fr}.order-filter-form-v2338>footer{align-items:flex-start}.order-import-destination-summary-v2338{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.order-filter-main-v2338{grid-template-columns:1fr}.order-search-v2338,.order-filter-main-v2338>.btn{grid-column:auto}.order-filter-more-v2338>div{grid-template-columns:1fr}.order-filter-form-v2338>footer{flex-direction:column}.order-filter-form-v2338>footer .btn{width:100%}.order-import-v2338 .import-preview-table-v2337{max-height:none}}


/* YRV CRM 2.3.43 — customers filters, catalog and protected import. */
.customer-filter-card-v2339{margin-bottom:14px;overflow:hidden;border-color:#d9e4ed;background:#fff}.customer-filter-form-v2339{display:grid}.customer-filter-main-v2339{display:grid;grid-template-columns:minmax(280px,1.45fr) minmax(170px,.72fr) minmax(170px,.72fr) auto;gap:8px;align-items:end;padding:12px}.customer-filter-main-v2339>.field{margin:0}.customer-filter-main-v2339>.field>span{font-size:8px;color:#60768a}.customer-filter-main-v2339 select{min-height:40px}.customer-search-v2339{display:flex;align-items:center;gap:8px;height:40px;padding:0 10px;border:1px solid #d1dde7;border-radius:10px;background:#fff;box-shadow:0 1px 2px rgba(25,53,78,.04);transition:border-color .15s,box-shadow .15s}.customer-search-v2339:focus-within{border-color:#6d9fc9;box-shadow:0 0 0 3px rgba(56,126,184,.12)}.customer-search-v2339 .icon{width:17px;flex:0 0 auto;color:#6e8498}.customer-search-v2339 input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;font-size:11px;color:#20384d}.customer-search-v2339>a{display:grid;place-items:center;width:25px;height:25px;flex:0 0 auto;border-radius:50%;background:#edf3f7;color:#5b7184;text-decoration:none;font-size:16px}.customer-filter-more-v2339{border-top:1px solid #e7edf2}.customer-filter-more-v2339>summary{display:flex;align-items:center;gap:6px;padding:9px 12px;cursor:pointer;list-style:none;color:#426079;font-size:10px;font-weight:800;background:#fafcfd}.customer-filter-more-v2339>summary::-webkit-details-marker{display:none}.customer-filter-more-v2339>summary .icon{width:14px}.customer-filter-more-v2339>summary b{display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dcecf8;color:#2d678f;font-size:8px}.customer-filter-more-v2339>div{display:grid;grid-template-columns:repeat(5,minmax(145px,1fr));gap:9px;padding:10px 12px 12px;border-top:1px solid #edf2f6;background:#fbfdfe}.customer-filter-more-v2339 .field{margin:0}.customer-filter-form-v2339>footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 12px;border-top:1px solid #e6edf3;background:linear-gradient(180deg,#fbfdff,#f7fafc);color:#64798c;font-size:9px}.customer-filter-form-v2339>footer strong{color:#2d536f;font-size:11px}.customer-import-v2339{margin-bottom:14px}.customer-import-destination-v2339{display:grid;gap:7px;padding:10px;border:1px solid #dce6ee;border-radius:9px;background:#f9fbfd}.customer-import-destination-v2339>strong{font-size:10px;color:#334f66}.customer-import-destination-v2339>small{color:#6c8092;font-size:8px;line-height:1.45}.customer-import-destination-v2339 .field{margin:0}.customer-catalog-v2339{overflow:hidden}.customer-catalog-body-v2339{padding:0!important}.customer-catalog-v2339 .table-wrap{border:0;border-radius:0;max-height:680px}.customer-catalog-v2339 table{margin:0}.customer-catalog-v2339 th{position:sticky;top:0;z-index:2;background:#f8fafc}.customer-catalog-v2339 td{vertical-align:middle}.customer-name-cell-v2339{display:flex;align-items:center;gap:9px;min-width:220px}.customer-name-cell-v2339>span:last-child{display:grid;gap:2px;min-width:0}.customer-name-cell-v2339 strong{color:#203b52}.customer-name-cell-v2339 small{color:#6d8193;font-size:8px;overflow-wrap:anywhere}.customer-name-cell-v2339 em{justify-self:start;max-width:220px;padding:2px 6px;border-radius:999px;background:#edf4f8;color:#4e6a7f;font-size:7px;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.customer-avatar-v2339{display:grid;place-items:center;width:32px;height:32px;flex:0 0 auto;border-radius:10px;background:linear-gradient(145deg,#e8f2fa,#dbeaf5);color:#2b668f;font-size:12px;font-weight:900}.customer-location-v2339{display:block;max-width:260px;color:#344f64;line-height:1.35}.customer-order-count-v2339{display:inline-grid;place-items:center;min-width:28px;height:25px;padding:0 8px;border-radius:999px;background:#e9f3fa;color:#27638f;font-size:9px;font-weight:900}.customer-row-actions-v2339{display:flex;gap:5px;flex-wrap:wrap;min-width:150px}.customer-import-v2339 .import-confirm-v2337 button:disabled{opacity:.48;cursor:not-allowed;filter:grayscale(.25)}
@media(max-width:1120px){.customer-filter-more-v2339>div{grid-template-columns:repeat(3,minmax(150px,1fr))}.customer-filter-main-v2339{grid-template-columns:minmax(240px,1.3fr) repeat(2,minmax(150px,.7fr)) auto}}
@media(max-width:760px){.customer-filter-main-v2339{grid-template-columns:1fr 1fr}.customer-search-v2339{grid-column:1/-1}.customer-filter-main-v2339>.btn{grid-column:1/-1}.customer-filter-more-v2339>div{grid-template-columns:1fr 1fr}.customer-filter-form-v2339>footer{align-items:flex-start}.customer-catalog-v2339 .table-wrap{max-height:none}}
@media(max-width:520px){.customer-filter-main-v2339{grid-template-columns:1fr}.customer-search-v2339,.customer-filter-main-v2339>.btn{grid-column:auto}.customer-filter-more-v2339>div{grid-template-columns:1fr}.customer-filter-form-v2339>footer{flex-direction:column}.customer-filter-form-v2339>footer .btn{width:100%}.customer-name-cell-v2339{min-width:190px}.customer-row-actions-v2339{min-width:120px}}

/* v2.3.43 order-view/CSP recovery */
.technical-diagnostic-v2342{margin-top:10px}.technical-diagnostic-v2342 summary{cursor:pointer;font-weight:700}.technical-diagnostic-v2342 code{display:block;margin-top:8px;padding:10px;border-radius:10px;background:rgba(15,23,42,.07);white-space:normal;overflow-wrap:anywhere}

/* 2.3.49 · unique customer projection */
.customer-unique-note-v2347{margin-bottom:12px;border-color:#d7e7f3;background:linear-gradient(135deg,#f8fcff,#f2f8fc)}
.customer-unique-note-v2347>.card-body{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:11px 13px!important}
.customer-unique-note-icon-v2347{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#dcecf8;color:#28658f}
.customer-unique-note-icon-v2347 .icon{width:18px;height:18px}
.customer-unique-note-v2347 strong{display:block;color:#274d69;font-size:11px}
.customer-unique-note-v2347 p{margin:2px 0 0;color:#667d90;font-size:9px;line-height:1.45}
.customer-extra-contact-v2347{position:relative;margin-top:3px}
.customer-extra-contact-v2347>summary{width:max-content;max-width:220px;cursor:pointer;list-style:none;color:#52748d;font-size:7px;font-weight:800;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}
.customer-extra-contact-v2347>summary::-webkit-details-marker{display:none}
.customer-extra-contact-v2347>div{display:grid;gap:3px;margin-top:4px;padding:6px 7px;border:1px solid #dbe7ef;border-radius:8px;background:#fff;box-shadow:0 6px 16px rgba(34,67,92,.09);font-size:7px;color:#49677e;min-width:150px;max-width:240px}
.customer-extra-contact-v2347>div span{overflow-wrap:anywhere}
@media(max-width:760px){.customer-unique-note-v2347>.card-body{grid-template-columns:auto 1fr}}


/* YRV CRM 2.3.52 — focused product editor and stable order product sheet. */
@media(min-width:1101px){
  .products-workbench{grid-template-columns:minmax(360px,.8fr) minmax(540px,1.2fr)}
}
.product-editor-card-v2352{overflow:hidden}
.product-editor-v2352{display:grid;gap:16px}
.product-editor-primary-v2352,
.product-editor-pricing-v2352{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-editor-primary-v2352>.field:nth-child(3),
.product-editor-primary-v2352>.field:nth-child(4){grid-column:1/-1}
.product-sku-field-v2352{min-width:0}
.product-sku-control-v2352{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}
.product-sku-control-v2352 .btn{height:38px;align-self:end;padding-inline:11px}
.product-sku-field-v2352>small,
.product-editor-pricing-v2352 .field>small{display:block;margin-top:5px;color:#667b8e;font-size:10px;line-height:1.4}
.product-image-editor-v2352{display:grid;grid-template-columns:92px minmax(0,1fr);gap:14px;align-items:center;padding:12px;border:1px solid #dfe7ef;border-radius:12px;background:linear-gradient(180deg,#fff,#f8fafc);cursor:pointer}
.product-image-frame-v2352{display:grid;place-items:center;width:92px;height:92px;overflow:hidden;border:1px dashed #c7d5e2;border-radius:12px;background:#eef4f8;color:#668098;text-align:center}
.product-image-frame-v2352 img{width:100%;height:100%;object-fit:cover}
.product-image-frame-v2352 .icon{width:26px;height:26px}
.product-image-frame-v2352 small{display:block;margin-top:4px;font-size:9px}
.product-image-editor-v2352>span:last-child{min-width:0}
.product-image-editor-v2352 strong,.product-image-editor-v2352 small{display:block}
.product-image-editor-v2352 small{margin:4px 0 9px;color:#687c90;font-size:10px}
.product-image-editor-v2352 input[type=file]{width:100%;font-size:11px}
.product-editor-content-v2352{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.product-editor-content-v2352 .field-full{grid-column:auto}
.product-editor-content-v2352 .field-full:nth-child(1),
.product-editor-content-v2352 .field-full:nth-child(6){grid-column:1/-1}
.product-editor-content-v2352 textarea{min-height:118px;resize:vertical;line-height:1.5}
.product-editor-content-v2352 .field-full:nth-child(1) textarea{min-height:105px}
.product-editor-actions-v2352{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:4px;border-top:1px solid #edf1f5}
.product-editor-actions-v2352 .btn.danger{margin-right:auto}
.product-modal-panel{width:min(980px,100%)}
.product-modal-panel .app-modal-body{padding:0}
.product-sheet-v2352{min-width:0;background:#f7f9fc}
.product-sheet-hero-v2352{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;align-items:center;padding:20px;border-bottom:1px solid #e1e8ef;background:#fff}
.product-sheet-image-v2352{display:grid;place-items:center;width:150px;height:150px;overflow:hidden;border:1px solid #dce5ed;border-radius:16px;background:#f1f5f8}
.product-sheet-image-v2352 img{width:100%;height:100%;object-fit:contain;background:#fff}
.product-sheet-placeholder-v2352{font-size:42px;font-weight:900;color:#52738f}
.product-sheet-summary-v2352{display:grid;gap:12px;min-width:0}
.product-sheet-meta-v2352{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.product-sheet-meta-v2352 span,.product-sheet-meta-v2352 strong{display:inline-flex;align-items:center;min-height:30px;padding:6px 10px;border-radius:999px;font-size:11px}
.product-sheet-meta-v2352 span{border:1px solid #dbe5ed;background:#f7fafc;color:#405d75}
.product-sheet-meta-v2352 strong{background:#e8f4ed;color:#17633a}
.product-keywords-v2352{display:flex;flex-wrap:wrap;gap:6px}
.product-keywords-v2352 span{padding:5px 8px;border-radius:7px;background:#edf3f8;color:#47647c;font-size:10px}
.product-sheet-grid-v2352{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px}
.product-sheet-section-v2352{min-width:0;padding:14px;border:1px solid #dfe7ef;border-radius:12px;background:#fff;box-shadow:0 2px 7px rgba(31,61,89,.035)}
.product-sheet-section-v2352.wide{grid-column:1/-1}
.product-sheet-section-v2352 h4{margin:0 0 9px;color:#173f62;font-size:12px}
.product-sheet-section-v2352 p{margin:0 0 8px;color:#344d63;font-size:12px;line-height:1.55;overflow-wrap:anywhere}
.product-sheet-section-v2352 p:last-child{margin-bottom:0}
.product-sheet-section-v2352 ul{margin:0;padding-left:18px;color:#344d63;font-size:12px;line-height:1.55}
.product-sheet-section-v2352 li+li{margin-top:5px}
@media(max-width:720px){
  .product-editor-primary-v2352,.product-editor-pricing-v2352,.product-editor-content-v2352{grid-template-columns:1fr}
  .product-editor-primary-v2352>.field:nth-child(3),.product-editor-primary-v2352>.field:nth-child(4),
  .product-editor-content-v2352 .field-full:nth-child(1),.product-editor-content-v2352 .field-full:nth-child(6){grid-column:auto}
  .product-image-editor-v2352{grid-template-columns:76px minmax(0,1fr)}
  .product-image-frame-v2352{width:76px;height:76px}
  .product-editor-actions-v2352{align-items:stretch;flex-direction:column}
  .product-editor-actions-v2352 .btn,.product-editor-actions-v2352 .btn.danger{width:100%;margin:0}
  .product-sheet-hero-v2352{grid-template-columns:92px minmax(0,1fr);padding:14px}
  .product-sheet-image-v2352{width:92px;height:92px;border-radius:12px}
  .product-sheet-grid-v2352{grid-template-columns:1fr;padding:12px}
  .product-sheet-section-v2352.wide{grid-column:auto}
}

/* YRV CRM 2.3.53 — compact product navigator and integrated menu scrolling. */
.sidebar{display:flex;flex-direction:column;overflow:hidden}
.sidebar>.brand{flex:0 0 auto}
.sidebar>.nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:2px 4px 8px 0;margin-right:-4px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:rgba(201,224,243,.28) transparent;overscroll-behavior:contain}
.sidebar>.nav::-webkit-scrollbar{width:5px}
.sidebar>.nav::-webkit-scrollbar-track{background:transparent}
.sidebar>.nav::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(201,224,243,.12)}
.sidebar:hover>.nav::-webkit-scrollbar-thumb{background:rgba(201,224,243,.32)}
.sidebar>.nav::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.48)}
.sidebar>.sidebar-footer{flex:0 0 auto;margin-top:8px;padding-top:9px;background:#073a6b}

@media(min-width:1101px){
  .products-workbench{grid-template-columns:minmax(300px,350px) minmax(0,1fr);gap:16px}
  .product-catalog-v2337{position:sticky;top:76px;display:grid;grid-template-rows:auto auto auto minmax(0,1fr);max-height:calc(100vh - 94px);min-height:520px}
}
.product-catalog-v2337 .card-header{min-height:58px;padding:12px 13px}
.product-catalog-v2337 .card-header h3{font-size:14px}
.product-catalog-v2337 .card-header p{font-size:10px;line-height:1.35}
.product-catalog-toolbar-v2337{grid-template-columns:minmax(0,1fr) 108px;gap:7px;padding:9px 10px}
.product-filter-count-v2337{grid-column:1/-1;justify-self:start;padding:4px 8px;font-size:8px}
.product-catalog-body-v2353{min-height:220px;overflow:hidden;padding:0!important;background:#f8fafc}
.product-catalog-list-v2353{display:flex;flex-direction:column;gap:6px;max-height:100%;overflow-y:auto;overflow-x:hidden;padding:8px;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#b9c9d7 transparent;overscroll-behavior:contain}
.product-catalog-list-v2353::-webkit-scrollbar{width:6px}
.product-catalog-list-v2353::-webkit-scrollbar-track{background:transparent}
.product-catalog-list-v2353::-webkit-scrollbar-thumb{border:2px solid transparent;border-radius:999px;background:#b9c9d7;background-clip:padding-box}
.product-catalog-list-v2353::-webkit-scrollbar-thumb:hover{background:#8da5b8;background-clip:padding-box}
.product-catalog-item-v2353{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr) 12px;gap:10px;align-items:center;min-height:68px;padding:9px 9px 9px 10px;border:1px solid #dde6ee;border-radius:11px;background:#fff;color:#243c52;text-decoration:none;box-shadow:0 1px 2px rgba(25,49,73,.025);transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease}
.product-catalog-item-v2353:hover{border-color:#a9c4da;background:#fbfdff;box-shadow:0 5px 14px rgba(23,65,99,.08);transform:translateY(-1px)}
.product-catalog-item-v2353.is-selected{border-color:#4f92c5;background:linear-gradient(135deg,#f5fbff,#edf7ff);box-shadow:0 0 0 2px rgba(43,125,187,.10)}
.product-catalog-item-v2353.is-selected:before{content:"";position:absolute;left:-1px;top:12px;bottom:12px;width:3px;border-radius:0 999px 999px 0;background:#176ba7}
.product-catalog-thumb-v2353{display:grid;place-items:center;width:46px;height:46px;overflow:hidden;border:1px solid #dce5ec;border-radius:10px;background:#f1f5f8}
.product-catalog-image-v2353{display:block;width:100%;height:100%;object-fit:cover}
.product-catalog-image-v2353.is-placeholder{display:grid;place-items:center;background:linear-gradient(145deg,#e9f2f8,#dceaf4);color:#2b648c;font-size:16px;font-weight:900}
.product-catalog-copy-v2353{display:grid;gap:3px;min-width:0}
.product-catalog-title-v2353{overflow:hidden;color:#203d55;font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.product-catalog-sub-v2353{display:flex;align-items:center;gap:5px;min-width:0;color:#708294;font-size:8px;line-height:1.2}
.product-catalog-sub-v2353 code{flex:0 0 auto;max-width:112px;overflow:hidden;padding:2px 5px;border:1px solid #e1e8ee;border-radius:5px;background:#f7f9fb;color:#536b7e;font:700 7px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;text-overflow:ellipsis;white-space:nowrap}
.product-catalog-sub-v2353 em{min-width:0;overflow:hidden;font-style:normal;text-overflow:ellipsis;white-space:nowrap}
.product-catalog-meta-v2353{display:flex;align-items:center;justify-content:space-between;gap:7px;min-width:0;margin-top:2px}
.product-catalog-meta-v2353 b{overflow:hidden;color:#1e5f8d;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.product-catalog-meta-v2353 small{flex:0 0 auto;color:#7a8c9b;font-size:7px;white-space:nowrap}
.product-catalog-state-v2353{align-self:start;display:grid;place-items:center;width:12px;height:18px}
.product-catalog-state-v2353 i{display:block;width:7px;height:7px;border-radius:50%;background:#aab5bf;box-shadow:0 0 0 3px rgba(170,181,191,.14)}
.product-catalog-state-v2353.is-active i{background:#2b9a60;box-shadow:0 0 0 3px rgba(43,154,96,.13)}
.product-catalog-state-v2353.is-inactive i{background:#a6afb8;box-shadow:0 0 0 3px rgba(166,175,184,.13)}
.product-catalog-item-v2353[hidden]{display:none!important}
.product-catalog-body-v2353 .product-filter-empty-v2337{height:100%;min-height:230px;background:#fff}

@media(max-width:1100px){
  .product-catalog-v2337{position:static;max-height:none;min-height:0}
  .product-catalog-list-v2353{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:440px}
}
@media(max-width:680px){
  .product-catalog-toolbar-v2337{grid-template-columns:1fr}
  .product-filter-count-v2337{grid-column:auto}
  .product-catalog-list-v2353{grid-template-columns:1fr;max-height:390px;padding:7px}
  .product-catalog-item-v2353{grid-template-columns:42px minmax(0,1fr) 12px;min-height:62px;padding:8px}
  .product-catalog-thumb-v2353{width:42px;height:42px}
}


/* YRV CRM 2.3.55 — active/archive product catalog. */
.product-catalog-tabs-v2355{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 12px 0;background:var(--surface)}
.product-catalog-tabs-v2355 a{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:9px 11px;border:1px solid var(--border);border-radius:10px;color:var(--muted);background:var(--surface);font-size:.88rem;font-weight:700;text-decoration:none;transition:border-color .15s ease,background .15s ease,color .15s ease}
.product-catalog-tabs-v2355 a:hover{border-color:rgba(11,59,111,.25);color:var(--primary)}
.product-catalog-tabs-v2355 a.is-active{border-color:rgba(11,59,111,.28);background:rgba(11,59,111,.07);color:var(--primary)}
.product-catalog-tabs-v2355 b{display:inline-grid;place-items:center;min-width:25px;height:22px;padding:0 7px;border-radius:999px;background:rgba(15,23,42,.07);font-size:.75rem}
.product-catalog-item-v2353.is-archived-v2355{opacity:.82;background:rgba(100,116,139,.035)}
.product-catalog-item-v2353.is-archived-v2355 .product-catalog-image-v2353{filter:grayscale(.35)}
.product-catalog-item-v2353.is-archived-v2355.is-selected{opacity:1;background:rgba(100,116,139,.08)}
.product-editor-actions-v2352 .archive-v2355{background:#fff8e7;color:#765619;border-color:#ead7a6}
.product-editor-actions-v2352 .archive-v2355:hover{background:#fff1c9;border-color:#d9bd76}
.product-archive-empty-v2355 .empty-state{min-height:360px;display:grid;place-items:center;align-content:center;text-align:center;gap:10px;padding:32px}
.product-archive-empty-v2355 .empty-state>span svg{width:36px;height:36px;color:var(--muted)}
@media(max-width:640px){.product-catalog-tabs-v2355{padding:9px 9px 0}.product-catalog-tabs-v2355 a{padding:8px 9px;font-size:.82rem}}

.btn.success{background:var(--success-soft);border-color:#b9dec8;color:var(--success)}.btn.success:hover{background:#dcf4e6}

/* YRV CRM 2.3.57 — compact, space-efficient product catalog sidebar. */
@media(min-width:1101px){
  .products-workbench{grid-template-columns:360px minmax(0,1fr);gap:16px;align-items:start}
  .product-catalog-v2337{position:sticky;top:76px;display:block;align-self:start;min-height:0;max-height:none}
  .product-catalog-list-v2353{max-height:calc(100vh - 300px)}
}
.product-catalog-v2337 .card-header{min-height:0;padding:12px 14px 8px;border-bottom:0;background:#fff}
.product-catalog-v2337 .card-header h3{font-size:14px;line-height:1.2}
.product-catalog-v2337 .card-header p{margin-top:3px;font-size:9px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.product-catalog-tabs-v2355{display:flex;gap:4px;padding:0 12px 8px;border-bottom:1px solid #e4ebf2;background:#fff}
.product-catalog-tabs-v2355 a{flex:1 1 0;min-height:34px;padding:6px 9px;border-radius:8px;font-size:10px;line-height:1.15}
.product-catalog-tabs-v2355 a span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-catalog-tabs-v2355 b{min-width:22px;height:20px;padding:0 6px;font-size:9px}
.product-catalog-toolbar-v2337{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 10px;border-top:0;border-bottom:1px solid #e4ebf2;background:#f8fafc}
.product-search-v2337{height:36px;border-radius:8px;padding-inline:9px}
.product-search-v2337 input{font-size:11px}
.product-filter-count-v2337{grid-column:auto;justify-self:end;padding:4px 7px;border:1px solid #dce7f0;background:#fff;font-size:8px}
.product-catalog-body-v2353{min-height:0!important;background:#f7f9fb}
.product-catalog-list-v2353{gap:5px;padding:7px;scrollbar-gutter:auto}
.product-catalog-item-v2353{grid-template-columns:40px minmax(0,1fr) 9px;gap:9px;min-height:58px;padding:7px 8px;border-radius:9px;box-shadow:none}
.product-catalog-item-v2353:hover{transform:none;box-shadow:0 3px 10px rgba(23,65,99,.07)}
.product-catalog-item-v2353.is-selected{box-shadow:0 0 0 1px rgba(43,125,187,.12)}
.product-catalog-item-v2353.is-selected:before{top:9px;bottom:9px;width:3px}
.product-catalog-thumb-v2353{width:40px;height:40px;border-radius:8px}
.product-catalog-copy-v2353{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title meta" "sub meta";gap:3px 9px;align-items:center;min-width:0}
.product-catalog-title-v2353{grid-area:title;font-size:11px;line-height:1.2}
.product-catalog-sub-v2353{grid-area:sub;gap:4px;font-size:8px}
.product-catalog-sub-v2353 code{max-width:120px;padding:2px 4px;font-size:7px}
.product-catalog-meta-v2353{grid-area:meta;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:2px;margin:0;text-align:right}
.product-catalog-meta-v2353 b{font-size:9px;line-height:1.2}
.product-catalog-meta-v2353 small{font-size:7px;line-height:1.15}
.product-catalog-state-v2353{align-self:center;width:9px;height:20px}
.product-catalog-state-v2353 i{width:6px;height:6px;box-shadow:0 0 0 2px rgba(43,154,96,.13)}
.product-catalog-body-v2353 .product-filter-empty-v2337{min-height:150px}
@media(max-width:1100px){
  .product-catalog-v2337{display:block;min-height:0}
  .product-catalog-list-v2353{max-height:420px}
}
@media(max-width:680px){
  .product-catalog-tabs-v2355{padding:0 9px 7px}
  .product-catalog-toolbar-v2337{grid-template-columns:minmax(0,1fr) auto;padding:7px 8px}
  .product-filter-count-v2337{grid-column:auto}
  .product-catalog-list-v2353{padding:6px}
  .product-catalog-item-v2353{grid-template-columns:38px minmax(0,1fr) 8px;min-height:54px;padding:7px}
  .product-catalog-thumb-v2353{width:38px;height:38px}
}

/* YRV CRM 2.3.59 — focused automatic call-center workspace. */
.cc-dispatch-v2359{position:fixed;inset:0;z-index:1100000;display:grid;grid-template-rows:auto 1fr auto;min-height:100dvh;overflow:auto;background:radial-gradient(circle at 50% 42%,rgba(34,118,180,.14),transparent 30%),linear-gradient(145deg,#071a2c 0%,#0a3155 48%,#0b4673 100%);color:#fff}
.cc-dispatch-v2359>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 24px;border-bottom:1px solid rgba(255,255,255,.12);background:rgba(5,24,42,.46);backdrop-filter:blur(12px)}
.cc-brand-v2359{display:flex;align-items:center;gap:12px}.cc-brand-v2359>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.18);border-radius:13px;background:rgba(255,255,255,.1)}.cc-brand-v2359 strong,.cc-brand-v2359 small{display:block}.cc-brand-v2359 strong{font-size:15px}.cc-brand-v2359 small{margin-top:2px;color:#b9d4ea;font-size:10px}
.cc-controls-v2359,.cc-controls-v2359 form{display:flex;align-items:center;gap:8px}.cc-controls-v2359 .field{margin:0}.cc-controls-v2359 .field>span{display:none}.cc-controls-v2359 select{min-width:180px;height:36px;border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.1);color:#fff}.cc-controls-v2359 option{color:#142b3e}.cc-control-btn-v2359{min-height:36px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:7px 11px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(255,255,255,.09);color:#fff;font-weight:750;cursor:pointer}.cc-control-btn-v2359:hover{background:rgba(255,255,255,.16)}
.cc-dispatch-v2359>main{display:grid;place-items:center;align-content:center;gap:16px;padding:34px 20px;text-align:center}.cc-wait-orbit-v2359{position:relative;display:grid;place-items:center;width:154px;height:154px}.cc-wait-orbit-v2359>b{position:relative;z-index:2;display:grid;place-items:center;width:74px;height:74px;border-radius:24px;background:linear-gradient(145deg,#46a9e6,#0c6aa8);box-shadow:0 22px 50px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.35)}.cc-wait-orbit-v2359>b .icon{width:32px;height:32px}.cc-wait-orbit-v2359>span{position:absolute;inset:25px;border:1px solid rgba(120,202,250,.58);border-radius:50%;animation:cc-ripple-v2359 2.4s ease-out infinite}.cc-wait-orbit-v2359>span:nth-child(2){animation-delay:.8s}.cc-wait-orbit-v2359>span:nth-child(3){animation-delay:1.6s}@keyframes cc-ripple-v2359{0%{opacity:.8;transform:scale(.55)}100%{opacity:0;transform:scale(1.55)}}
.cc-state-pill-v2359{margin:0;padding:6px 11px;border:1px solid rgba(88,230,165,.35);border-radius:999px;background:rgba(31,190,116,.13);color:#9bf2c5;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.cc-dispatch-v2359.is-paused .cc-state-pill-v2359{border-color:rgba(255,201,87,.38);background:rgba(226,153,24,.14);color:#ffdc91}.cc-dispatch-v2359 h1{margin:0;font-size:clamp(30px,4vw,54px);line-height:1.05;letter-spacing:-.035em}.cc-dots-v2359{display:inline-flex;gap:4px;margin-left:7px}.cc-dots-v2359 i{width:6px;height:6px;border-radius:50%;background:#7bc8f5;animation:cc-dot-v2359 1.25s infinite ease-in-out}.cc-dots-v2359 i:nth-child(2){animation-delay:.16s}.cc-dots-v2359 i:nth-child(3){animation-delay:.32s}@keyframes cc-dot-v2359{0%,80%,100%{opacity:.28;transform:translateY(0)}40%{opacity:1;transform:translateY(-5px)}}.cc-wait-help-v2359{max-width:590px;margin:0;color:#b9d1e4;font-size:13px;line-height:1.6}.cc-live-stats-v2359{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px;width:min(650px,100%);margin-top:8px}.cc-live-stats-v2359 article{padding:14px 16px;border:1px solid rgba(255,255,255,.13);border-radius:14px;background:rgba(255,255,255,.075);box-shadow:0 14px 34px rgba(0,0,0,.1)}.cc-live-stats-v2359 span,.cc-live-stats-v2359 strong{display:block}.cc-live-stats-v2359 span{color:#b8d1e4;font-size:10px}.cc-live-stats-v2359 strong{margin-top:5px;font-size:22px}.cc-error-v2359{max-width:620px;margin:0;padding:8px 12px;border-radius:8px;background:rgba(190,50,50,.2);color:#ffd0d0;font-size:11px}.cc-dispatch-v2359>footer{display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 20px;border-top:1px solid rgba(255,255,255,.1);color:#b8d1e4;background:rgba(5,24,42,.3);font-size:10px}.cc-dispatch-v2359>footer small{margin-left:12px;color:#83a9c5}.cc-pulse-v2359{width:8px;height:8px;border-radius:50%;background:#42dc91;box-shadow:0 0 0 5px rgba(66,220,145,.12);animation:cc-pulse-v2359 1.8s infinite}@keyframes cc-pulse-v2359{50%{box-shadow:0 0 0 9px rgba(66,220,145,0)}}.cc-dispatch-v2359.is-paused .cc-pulse-v2359{background:#f5ba4b;box-shadow:0 0 0 5px rgba(245,186,75,.12);animation:none}.cc-dispatch-v2359.has-assignment .cc-wait-orbit-v2359>b{background:linear-gradient(145deg,#48d28d,#158452)}
.cc-settings-card-v2359 .card-body{padding:16px}.cc-master-toggle-v2359{display:flex;align-items:center;gap:10px;width:max-content;padding:9px 12px;border:1px solid var(--border);border-radius:9px;background:var(--surface-soft)}.cc-master-toggle-v2359 input{width:auto}.cc-priority-grid-v2359{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cc-priority-grid-v2359 h4{margin:0 0 8px;font-size:12px}.cc-priority-list-v2359{display:grid;gap:6px}.cc-priority-row-v2359{display:grid;grid-template-columns:18px 9px minmax(0,1fr) 62px;gap:9px;align-items:center;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:#fbfcfe}.cc-priority-row-v2359>input:first-child{width:auto}.cc-priority-row-v2359>i{width:8px;height:8px;border-radius:50%;background:var(--cc-color,#91a4b4)}.cc-priority-row-v2359 strong,.cc-priority-row-v2359 small{display:block}.cc-priority-row-v2359 strong{font-size:11px}.cc-priority-row-v2359 small{margin-top:2px;color:var(--muted);font-size:8px}.cc-priority-row-v2359 input[type=number]{width:62px;height:32px;padding:5px 7px;border:1px solid var(--border-strong);border-radius:7px}.cc-operator-grid-v2359{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cc-operator-card-v2359{border:1px solid var(--border);border-radius:11px;background:#fff;overflow:hidden}.cc-operator-card-v2359>summary{display:grid;grid-template-columns:34px minmax(0,1fr) auto 14px;gap:9px;align-items:center;padding:11px 12px;cursor:pointer;list-style:none}.cc-operator-card-v2359>summary::-webkit-details-marker{display:none}.cc-operator-card-v2359 summary .avatar{width:34px;height:34px}.cc-operator-card-v2359 summary strong,.cc-operator-card-v2359 summary small{display:block}.cc-operator-card-v2359 summary small{color:var(--muted);font-size:9px}.cc-operator-card-v2359 summary em{font-style:normal;color:var(--success);font-size:9px;font-weight:800}.cc-operator-card-v2359 form{padding:12px;border-top:1px solid var(--border);background:#fbfcfe}.cc-toggle-row-v2359{display:flex;gap:14px;flex-wrap:wrap}.cc-toggle-row-v2359 label{font-size:10px;font-weight:750}.cc-exclusion-grid-v2359{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cc-exclusion-grid-v2359>div{display:grid;align-content:start;gap:5px;max-height:210px;overflow:auto;padding:9px;border:1px solid var(--border);border-radius:8px;background:#fff}.cc-exclusion-grid-v2359 strong{font-size:10px}.cc-exclusion-grid-v2359 label{font-size:9px;color:#4e6478}.cc-exclusion-grid-v2359 input{width:auto}
@media(max-width:850px){.cc-dispatch-v2359>header{align-items:flex-start;padding:14px;flex-direction:column}.cc-controls-v2359{width:100%;flex-wrap:wrap}.cc-controls-v2359 form{flex:1}.cc-controls-v2359 .field{flex:1}.cc-controls-v2359 select{min-width:0;width:100%}.cc-live-stats-v2359{grid-template-columns:1fr}.cc-priority-grid-v2359,.cc-operator-grid-v2359{grid-template-columns:1fr}}
@media(max-width:520px){.cc-dispatch-v2359>main{padding:24px 14px}.cc-wait-orbit-v2359{width:125px;height:125px}.cc-wait-orbit-v2359>b{width:64px;height:64px}.cc-controls-v2359,.cc-controls-v2359 form{display:grid;grid-template-columns:1fr 1fr}.cc-controls-v2359 form{grid-column:1/-1}.cc-controls-v2359 .field{grid-column:1/-1}.cc-live-stats-v2359 article{padding:10px 12px}.cc-exclusion-grid-v2359{grid-template-columns:1fr}}

/* YRV CRM 2.3.62 — private personal-performance home. */
.personal-performance-v2362{display:grid;gap:14px}
.personal-hero-v2362{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;border:1px solid #cfe0ee;border-radius:14px;background:linear-gradient(135deg,#f8fcff,#edf6fd);box-shadow:0 8px 24px rgba(31,76,112,.06)}
.personal-hero-v2362>div{display:flex;align-items:center;gap:11px}.personal-hero-v2362>div>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#0b5f9d;color:#fff}.personal-hero-v2362 strong,.personal-hero-v2362 small{display:block}.personal-hero-v2362 strong{font-size:15px;color:#173b59}.personal-hero-v2362 small{margin-top:2px;color:#667d91;font-size:10px}.personal-hero-v2362 p{max-width:560px;margin:0;color:#587087;font-size:11px;text-align:right}
.personal-metrics-v2362{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.personal-metrics-v2362 article{min-width:0;padding:14px;border:1px solid #dce6ee;border-radius:12px;background:#fff;box-shadow:0 4px 14px rgba(33,60,84,.04)}.personal-metrics-v2362 span,.personal-metrics-v2362 strong,.personal-metrics-v2362 small{display:block}.personal-metrics-v2362 span{min-height:30px;color:#677c8f;font-size:10px;font-weight:750}.personal-metrics-v2362 strong{color:#143f62;font-size:25px;line-height:1.1}.personal-metrics-v2362 small{margin-top:6px;color:#7b8d9d;font-size:9px}
.personal-charts-v2362{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.personal-bars-v2362{height:235px;display:grid;grid-template-columns:repeat(14,minmax(18px,1fr));gap:6px;align-items:end;padding-top:12px;overflow-x:auto}.personal-bars-v2362>div{height:100%;display:grid;grid-template-rows:minmax(0,1fr) auto auto;gap:4px;align-items:end;text-align:center}.personal-bars-v2362>div>span{height:100%;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #dfe7ee}.personal-bars-v2362 i{display:block;width:min(22px,70%);min-height:4px;border-radius:6px 6px 2px 2px;background:linear-gradient(180deg,#48a0dc,#176aa5)}.personal-bars-v2362.calls i{background:linear-gradient(180deg,#8a78df,#5742b5)}.personal-bars-v2362 b{color:#36556f;font-size:9px}.personal-bars-v2362 small{color:#8192a2;font-size:7px;white-space:nowrap}
.personal-status-list-v2362{display:grid;gap:10px}.personal-status-list-v2362>div{display:grid;grid-template-columns:minmax(150px,1fr) 45px minmax(180px,2fr);gap:12px;align-items:center}.personal-status-list-v2362 span{display:flex;align-items:center;gap:8px;min-width:0;color:#344f67;font-size:11px}.personal-status-list-v2362 span>i{width:9px;height:9px;border-radius:50%}.personal-status-list-v2362 b{text-align:right;color:#234963}.personal-status-list-v2362 em{height:8px;overflow:hidden;border-radius:999px;background:#edf2f6}.personal-status-list-v2362 em i{display:block;height:100%;border-radius:999px}
@media(max-width:1180px){.personal-metrics-v2362{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.personal-hero-v2362{align-items:flex-start;flex-direction:column}.personal-hero-v2362 p{text-align:left}.personal-charts-v2362{grid-template-columns:1fr}.personal-status-list-v2362>div{grid-template-columns:minmax(120px,1fr) 35px}.personal-status-list-v2362 em{grid-column:1/-1}}
@media(max-width:520px){.personal-metrics-v2362{grid-template-columns:repeat(2,minmax(0,1fr))}.personal-bars-v2362{min-width:560px}}

/* YRV CRM 2.3.66 — call-center diagnostics and manual dispatch control. */
.cc-dispatch-v2359>main{align-content:start;padding-top:30px;padding-bottom:30px}
.cc-claim-now-v2363{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:8px 14px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-weight:800;cursor:pointer;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.cc-claim-now-v2363:hover{background:rgba(255,255,255,.17);border-color:rgba(255,255,255,.32);transform:translateY(-1px)}
.cc-claim-now-v2363:disabled{opacity:.55;cursor:wait;transform:none}
.cc-claim-now-v2363 .icon{width:16px;height:16px}
.cc-diagnostics-v2363{width:min(860px,100%);margin-top:6px;border:1px solid rgba(255,255,255,.13);border-radius:16px;background:rgba(4,24,43,.38);box-shadow:0 18px 44px rgba(0,0,0,.14);overflow:hidden;text-align:left;backdrop-filter:blur(10px)}
.cc-diagnostics-v2363>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:13px 15px;border-bottom:1px solid rgba(255,255,255,.1)}
.cc-diagnostics-v2363>header strong,.cc-diagnostics-v2363>header small{display:block}
.cc-diagnostics-v2363>header strong{font-size:12px}.cc-diagnostics-v2363>header small{margin-top:3px;color:#a9c7dc;font-size:10px;line-height:1.45}
.cc-diagnostics-v2363>header time{flex:0 0 auto;color:#8eb3ce;font-size:9px;white-space:nowrap}
.cc-diagnostic-grid-v2363{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.08)}
.cc-diagnostic-grid-v2363 article{padding:11px 12px;background:rgba(5,35,59,.82)}
.cc-diagnostic-grid-v2363 span,.cc-diagnostic-grid-v2363 strong{display:block}.cc-diagnostic-grid-v2363 span{color:#9fbdd2;font-size:9px;line-height:1.3}.cc-diagnostic-grid-v2363 strong{margin-top:4px;font-size:18px}
.cc-log-head-v2363{padding:10px 14px 6px;color:#d8e8f3;font-size:10px;text-transform:uppercase;letter-spacing:.06em}
.cc-log-list-v2363{display:grid;max-height:210px;overflow:auto;padding:0 14px 12px;scrollbar-width:thin;scrollbar-color:rgba(188,219,240,.3) transparent}
.cc-log-list-v2363::-webkit-scrollbar{width:5px}.cc-log-list-v2363::-webkit-scrollbar-track{background:transparent}.cc-log-list-v2363::-webkit-scrollbar-thumb{border-radius:999px;background:rgba(188,219,240,.25)}
.cc-log-list-v2363 article{display:grid;grid-template-columns:9px minmax(0,1fr);gap:9px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.cc-log-list-v2363 article:last-child{border-bottom:0}.cc-log-list-v2363 article>i{width:8px;height:8px;margin-top:5px;border-radius:50%;background:#6faed6;box-shadow:0 0 0 4px rgba(111,174,214,.1)}
.cc-log-list-v2363 article[data-event="claim"]>i{background:#63c798;box-shadow:0 0 0 4px rgba(99,199,152,.1)}
.cc-log-list-v2363 p,.cc-log-list-v2363 small{margin:0}.cc-log-list-v2363 p{color:#e1edf5;font-size:10px;line-height:1.45}.cc-log-list-v2363 small{display:block;margin-top:2px;color:#87a9c1;font-size:8px}
.cc-log-empty-v2363{padding:12px 0;color:#8eafc5;font-size:10px;text-align:center}
@media(max-width:760px){.cc-diagnostic-grid-v2363{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-diagnostic-grid-v2363 article:last-child{grid-column:1/-1}.cc-diagnostics-v2363>header{flex-direction:column}.cc-diagnostics-v2363>header time{white-space:normal}}

/* YRV CRM 2.5.4.4 — restore native page navigation and a full-height menu. */
html,body{min-height:100%;height:auto;overflow-x:hidden;overflow-y:auto}
.app-shell{min-height:100vh;min-height:100dvh;align-items:stretch}
.sidebar{position:sticky;top:0;height:100vh;height:100dvh;max-height:100dvh;display:flex;flex-direction:column;overflow:hidden;padding-bottom:max(12px,env(safe-area-inset-bottom))}
.sidebar>.brand{flex:0 0 auto}
.sidebar>.nav{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;padding-bottom:18px;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.sidebar>.sidebar-footer{flex:0 0 auto;margin-top:0;padding-bottom:max(0px,env(safe-area-inset-bottom));background:#073a6b}
.main-area{min-width:0;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
.main-area>.content{flex:1 0 auto}
.main-area>.footer{flex:0 0 auto}
@media(max-width:900px){
  .sidebar{position:fixed;top:0;bottom:0;height:100vh;height:100dvh;max-height:100dvh}
  .sidebar>.nav{padding-bottom:24px}
}

/* YRV CRM 2.5.6 v9 — responsive-only hardening */
html{max-width:100%;overflow-x:clip}body{min-width:0;max-width:100%;overflow-x:clip}.main-area,.content,.card,.card-body,.card-header,.page-header,.toolbar,.form-grid,.grid,.inner-grid,.two-column,.split-layout,.settings-layout,.record-layout,.settings-workbench,.softphone-workspace,.platform-embedded-v2545{min-width:0}img,video,canvas,iframe{max-width:100%}svg{max-width:100%}.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.table-wrap table{width:100%}.field input,.field select,.field textarea,input,select,textarea{max-width:100%}.btn,.icon-btn,button,a{touch-action:manipulation}.card-header>div,.page-header>div,.owner-settings-brand>div,.selection-row>*,.selection-item>*,.permission-card>*,.permission-item>*{min-width:0}.card-header h3,.card-header p,.page-header h2,.page-header p,.settings-panel-head h2,.settings-panel-head p,.config-tile strong,.config-tile small,.selection-row strong,.selection-row small,.selection-item strong,.selection-item small,.permission-card strong,.permission-card small{overflow-wrap:anywhere}.record-breadcrumb{min-width:0;flex-wrap:wrap}.record-breadcrumb strong{overflow-wrap:anywhere}.record-actions,.page-actions,.form-actions,.button-row,.phone-actions,.address-actions,.filter-bar,.toolbar{max-width:100%}

@media(max-width:1280px){
  .content{padding:16px 16px 22px}
  .grid.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid.cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .record-layout{grid-template-columns:minmax(0,1fr) 270px}
  .record-rail{top:70px}
  .settings-workbench{grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr)}
}

@media(max-width:1050px){
  .record-layout,.settings-workbench,.two-column,.split-layout{grid-template-columns:1fr!important}
  .record-rail{position:static!important;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .record-rail>*{min-width:0}
  .softphone-workspace{grid-template-columns:1fr!important}
  .settings-layout{grid-template-columns:230px minmax(0,1fr)}
  .page-header{align-items:flex-start}
}

@media(max-width:900px){
  body.sidebar-open{overflow:hidden}
  .sidebar{height:100dvh!important;max-height:100dvh!important;padding-bottom:calc(14px + env(safe-area-inset-bottom));overscroll-behavior:contain}
  .sidebar>.nav{max-height:calc(100dvh - 170px);overflow-y:auto}
  .main-area{margin-left:0!important;width:100%;min-width:0}
  .topbar{min-width:0;padding-inline:12px;gap:9px}
  .topbar-actions{min-width:0;gap:6px}
  .topbar-actions .icon-btn,.menu-btn{flex:0 0 36px}
  .locale-switch{max-width:72px}
  .global-search{min-width:0;flex:1;width:auto}
  .settings-layout{grid-template-columns:1fr}
  .settings-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .settings-nav>a{min-width:0}
  .config-tile-grid,.help-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .record-rail{grid-template-columns:repeat(2,minmax(0,1fr))}
  .assistant-shell,.assistant-pro-shell{min-height:calc(100dvh - 132px)}
  .app-modal{padding:12px}.app-modal-panel{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}
  .softphone-popup{max-height:calc(100dvh - 24px)}
}

@media(max-width:760px){
  html,body{font-size:14px}
  .content{padding:12px 12px calc(18px + env(safe-area-inset-bottom))}
  .topbar{height:56px;padding-inline:10px}
  .topbar-title{min-width:0;flex:1}.topbar-title strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-actions{margin-left:auto}.topbar-actions>*{flex-shrink:0}
  .page-header{display:flex;flex-direction:column;gap:10px;margin-bottom:12px}
  .page-header h2{font-size:19px}.page-header p{font-size:11px;line-height:1.5}
  .page-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .page-actions .btn{width:100%;min-width:0}
  .grid.cols-4,.grid.cols-3,.grid.cols-2,.inner-grid,.form-grid,.mapping-grid,.check-grid,.permission-grid,.config-grid,.help-grid,.channel-grid,.price-grid{grid-template-columns:1fr!important}
  .field-full{grid-column:auto!important}
  .card{border-radius:8px}.card-header{padding:11px 12px;align-items:flex-start;flex-wrap:wrap}.card-body{padding:12px}
  .card-header>.btn,.card-header>.button-row{max-width:100%}
  .toolbar,.filter-bar{display:flex;flex-direction:column;align-items:stretch;padding:9px;gap:8px}
  .toolbar form{width:100%;display:grid;grid-template-columns:1fr;align-items:stretch}.toolbar .field,.filter-bar .field{width:100%;max-width:none;min-width:0!important;flex-basis:auto}
  .toolbar .btn,.filter-bar .btn{width:100%}
  .form-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-actions .btn{width:100%;min-width:0}
  .button-row{align-items:stretch}.button-row .btn{flex:1 1 150px;min-width:0}
  .field input,.field select,.field textarea,.toolbar input,.toolbar select{font-size:16px}
  .btn{min-height:40px}.icon-btn{min-width:38px;min-height:38px}
  .table-wrap{margin-inline:0;border-radius:7px}.table-wrap table{min-width:660px}.table-wrap th,.table-wrap td{white-space:normal}
  .record-toolbar{align-items:stretch;flex-direction:column}.record-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.record-actions .btn{width:100%;min-width:0}
  .record-rail{grid-template-columns:1fr}
  .settings-nav{grid-template-columns:1fr 1fr}.settings-nav>a{padding:10px}.settings-nav small{display:none}
  .settings-panel-head{padding:15px}.settings-panel-icon{width:38px;height:38px;flex:0 0 38px}.settings-option-list{padding:6px 12px 12px}.settings-option-list>a{grid-template-columns:34px minmax(0,1fr);padding:12px 3px}.settings-option-list>a>.btn{grid-column:2;justify-self:start}
  .config-tile-grid{grid-template-columns:1fr!important}.config-tile{grid-template-columns:38px minmax(0,1fr) 12px;min-height:70px;padding:10px}
  .selection-item,.selection-row,.permission-card{grid-template-columns:18px minmax(0,1fr)}.selection-item>:last-child,.selection-row>:last-child,.permission-card>:last-child{grid-column:2;justify-self:start}
  .assistant-message{max-width:96%}.assistant-thread,.assistant-pro-thread{padding:12px}.assistant-compose,.assistant-pro-compose{grid-template-columns:1fr!important}.assistant-compose .btn,.assistant-pro-compose .btn{width:100%}
  .app-modal{padding:8px;place-items:stretch}.app-modal-panel{width:100%;max-height:calc(100dvh - 16px);border-radius:12px}.app-modal-panel>header{padding:11px 12px}.app-modal-body{padding:12px}.product-modal-content{grid-template-columns:1fr!important}
  .softphone-popup{inset:auto 8px 8px 8px!important;width:auto!important;max-height:calc(100dvh - 16px);border-radius:13px}
  .guide-chat{right:8px!important;bottom:8px!important}.guide-chat-pro .guide-chat-panel,.guide-chat-panel{position:fixed!important;inset:8px!important;width:auto!important;height:auto!important;max-height:none!important;border-radius:14px!important}
  .phone-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.phone-actions .btn{min-width:0}
  .address-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.address-actions .btn{width:100%;min-width:0}
  .address-map,.diagnostic-map{height:230px!important;min-height:210px}
  .plan-usage-grid-v256{grid-template-columns:1fr!important}
  .plan-summary-head-v256{align-items:flex-start;flex-direction:column}
}

@media(max-width:560px){
  .content{padding-inline:9px}
  .topbar{padding-inline:8px;gap:6px}.topbar-actions{gap:4px}.topbar-actions .icon-btn,.menu-btn{width:36px;height:36px;flex-basis:36px}
  .topbar-actions .locale-switch{max-width:58px;padding-inline:5px}
  .page-actions,.form-actions,.record-actions{grid-template-columns:1fr}
  .grid.cols-4,.grid.cols-3,.grid.cols-2{grid-template-columns:1fr!important}
  .metric,.metric-card{padding:12px}.metric strong,.metric-card strong{font-size:21px}
  .table-wrap table{min-width:610px}
  .settings-nav{grid-template-columns:1fr}.settings-nav small{display:block}
  .record-actions .btn{min-width:0}
  .lead-profile-top{grid-template-columns:52px minmax(0,1fr)!important;padding:13px!important;gap:10px!important}.lead-avatar{width:50px!important;height:50px!important}.lead-contact-list{grid-template-columns:1fr!important}
  .lead-facts,.compact-facts,.customer-read-grid,.order-totals-v236{grid-template-columns:1fr!important}
  .tabs,.subtabs,.compact-tabs,.record-tabs{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.tabs::-webkit-scrollbar,.subtabs::-webkit-scrollbar,.compact-tabs::-webkit-scrollbar,.record-tabs::-webkit-scrollbar{display:none}.tabs a,.subtabs a,.compact-tabs a,.record-tabs a{flex:0 0 auto;white-space:nowrap}
  .address-actions{grid-template-columns:1fr}
  .phone-actions{grid-template-columns:1fr 1fr!important}
  .softphone-device,.softphone-guide{padding:13px}
  .guide-chat-launch{max-width:calc(100vw - 16px)}
  .empty-inline,.empty-state{padding:24px 12px}
}

@media(max-width:390px){
  .content{padding-inline:7px}
  .topbar-actions .locale-switch{max-width:52px}
  .topbar-actions .owner-control-shortcut-v2532{display:none}
  .card-header,.card-body{padding-inline:10px}
  .btn{padding-inline:9px}
  .table-wrap table{min-width:570px}
  .phone-actions{grid-template-columns:1fr!important}
  .dialpad,.phone-keypad{gap:6px}
}

@media(max-height:620px) and (max-width:900px){
  .sidebar>.nav{max-height:calc(100dvh - 145px)}
  .guide-chat-pro .guide-chat-panel,.guide-chat-panel{inset:5px!important}
  .softphone-popup{max-height:calc(100dvh - 10px)}
}

/* 2.6.2 unified telephony */
.telephony-mode-tabs-v262{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 18px}.telephony-mode-tabs-v262>a{display:flex;align-items:center;gap:11px;min-width:0;padding:14px 16px;border:1px solid var(--border,#dfe5ee);border-radius:16px;background:var(--surface,#fff);color:inherit;text-decoration:none;transition:.18s ease}.telephony-mode-tabs-v262>a:hover{border-color:var(--primary,#2563eb);transform:translateY(-1px)}.telephony-mode-tabs-v262>a.active{border-color:var(--primary,#2563eb);box-shadow:inset 0 0 0 1px var(--primary,#2563eb);background:color-mix(in srgb,var(--primary,#2563eb) 6%,var(--surface,#fff))}.telephony-mode-tabs-v262>a>b{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:var(--bg-soft,#f3f6fb)}.telephony-mode-tabs-v262>a span{display:grid;min-width:0}.telephony-mode-tabs-v262>a strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.telephony-mode-tabs-v262>a small{color:var(--muted,#64748b);margin-top:2px}
.telephony-metrics-v262{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:16px}.telephony-metric-v262{padding:16px;border:1px solid var(--border,#dfe5ee);border-radius:16px;background:var(--surface,#fff);display:grid;gap:4px;min-width:0}.telephony-metric-v262>span{font-size:.78rem;color:var(--muted,#64748b);font-weight:700;text-transform:uppercase;letter-spacing:.035em}.telephony-metric-v262>strong{font-size:1.35rem;line-height:1.15;overflow-wrap:anywhere}.telephony-metric-v262>small{color:var(--muted,#64748b)}
.telephony-grid-v262{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:16px}.telephony-grid-v262>.card,.telephony-external-stack-v262>.card{margin:0}.telephony-reserve-note-v262{padding:10px 12px;border-radius:12px;background:var(--bg-soft,#f6f8fb);color:var(--muted,#64748b);font-size:.9rem}.telephony-topup-v262{display:grid;gap:12px}.telephony-topup-v262 label{display:grid;gap:6px;font-weight:600}.telephony-topup-v262 input{width:100%}.topup-presets-v262{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.topup-presets-v262 button{border:1px solid var(--border,#dfe5ee);background:var(--surface,#fff);border-radius:10px;padding:8px 6px;cursor:pointer;font:inherit}.topup-presets-v262 button:hover{border-color:var(--primary,#2563eb);color:var(--primary,#2563eb)}
.telephony-external-stack-v262{display:grid;gap:16px}.telephony-sip-layout-v262{grid-template-columns:minmax(220px,300px) minmax(0,1fr)}.telephony-call-connectors-v262>.split-layout{margin:0;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr)}.telephony-call-connectors-v262 .card{box-shadow:none;border-color:var(--border,#dfe5ee)}.platform-telnyx-card-v262 .stripe-platform-health-v258{align-items:flex-start}
@media(max-width:980px){.telephony-grid-v262{grid-template-columns:1fr}.telephony-call-connectors-v262>.split-layout{grid-template-columns:1fr}.telephony-sip-layout-v262{grid-template-columns:1fr}.telephony-sip-layout-v262 .settings-sidebar{max-height:none}}
@media(max-width:720px){.telephony-mode-tabs-v262{grid-template-columns:1fr}.telephony-mode-tabs-v262>a{padding:12px 13px}.telephony-metrics-v262{grid-template-columns:1fr}.telephony-metric-v262{padding:13px}.topup-presets-v262{grid-template-columns:repeat(2,1fr)}.telephony-call-connectors-v262{overflow:hidden}.telephony-call-connectors-v262 .table-wrap{overflow-x:auto;max-width:100%}}
/* 2.6.2 · telephony ledger tones */
.telephony-call-connectors-v262 .text-success,
.telephony-external-stack-v262 .text-success,
.telephony-grid-v262 .text-success,
.telephony-metrics-v262 .text-success{color:#16794a}
.telephony-call-connectors-v262 .text-danger,
.telephony-external-stack-v262 .text-danger,
.telephony-grid-v262 .text-danger,
.telephony-metrics-v262 .text-danger{color:#b42318}

/* v2.6.8 Telnyx number request tracking */
.telephony-order-track-v268{margin:14px 0;padding:14px;border:1px solid var(--border,#dfe4ea);border-radius:14px;background:var(--surface-soft,#f8fafc);display:grid;gap:10px}
.telephony-order-track-head-v268{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.telephony-order-track-head-v268 code{font-size:.78rem;max-width:100%;overflow-wrap:anywhere}
.telephony-order-event-v268{display:grid;grid-template-columns:auto 1fr;align-items:start;gap:10px;padding-top:9px;border-top:1px solid var(--border,#e5e7eb)}
.telephony-order-event-v268:first-of-type{border-top:0;padding-top:0}
.telephony-order-event-v268 div{display:grid;gap:2px}.telephony-order-event-v268 small{opacity:.72}

/* 2.8.2 commercial hardening */
.logout-form-v282{display:block;width:100%;margin:2px 0 0}.logout-button-v282{width:100%;min-height:39px;display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:9px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:#d7e5f1;font:inherit;font-size:13px;line-height:1.35;text-align:left;appearance:none;-webkit-appearance:none;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}.logout-button-v282 .icon{flex:0 0 auto;width:18px;height:18px;color:#a9bfd3;transition:color .15s ease}.logout-button-v282 span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.logout-button-v282:hover{background:rgba(187,61,72,.18);border-color:rgba(255,190,196,.16);color:#fff}.logout-button-v282:hover .icon{color:#ffd7db}.logout-button-v282:focus-visible{outline:2px solid rgba(255,255,255,.78);outline-offset:2px;background:rgba(255,255,255,.08);color:#fff}.logout-button-v282:active{transform:translateY(1px);background:rgba(187,61,72,.24)}.mkt-logout-form-v282{display:inline-flex;margin:0}.mkt-nav>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.mkt-nav>div{width:100%;justify-content:flex-start}.mkt-logout-form-v282{flex:1}.mkt-logout-form-v282 .btn{width:100%}}

/* 2.8.2 final responsive guard */
html,body{max-width:100%;overflow-x:clip}
img,svg,video,canvas{max-width:100%;height:auto}
.content,.card,.card-body,.page-header,.page-actions,.form-grid,.grid,.split-layout,.table-wrap,.settings-shell,.settings-panel,.auth-shell,.auth-panel{min-width:0;max-width:100%}
input,select,textarea,button{max-width:100%}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.page-header>*,.page-actions>*,.form-grid>*,.grid>*,.split-layout>*{min-width:0}
@media(max-width:760px){
  .page-header{align-items:flex-start;gap:12px}
  .page-actions,.form-actions{width:100%}
  .page-actions .btn,.form-actions .btn{min-width:0}
  .card-header,.card-body{overflow-wrap:anywhere}
  .auth-shell{width:min(100%,100vw);padding-inline:10px}
}


/* v291 optional per-user 2FA */
.profile-link-v291{color:inherit;text-decoration:none}.user-chip.profile-link-v291,.topbar-user.profile-link-v291{transition:background-color .18s ease,border-color .18s ease,transform .18s ease}.user-chip.profile-link-v291:hover,.topbar-user.profile-link-v291:hover{background:rgba(255,255,255,.08)}.topbar-user.profile-link-v291:hover{background:#f3f7fb}.login-2fa-v291,.login-2fa-v291 *{box-sizing:border-box}.login-2fa-v291{display:grid;gap:14px;width:min(100%,380px);margin:18px auto 0}.login-2fa-icon-v291{width:52px;height:52px;margin:0 auto;display:grid;place-items:center;border-radius:16px;background:#eaf2fb;color:#0b4f8a}.login-2fa-form-v291{display:grid;gap:14px;min-width:0}.login-2fa-form-v291 label{display:grid;gap:7px;min-width:0}.login-2fa-form-v291 label>span{font-size:.84rem;font-weight:700;color:#38536e}.login-2fa-form-v291 input{width:100%;min-width:0;min-height:54px;text-align:center;font-size:1.35rem;font-weight:800;letter-spacing:.18em;border-radius:12px}.profile-grid-v291{display:grid;grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr);gap:18px;align-items:start}.profile-security-card-v291 .card-header{align-items:flex-start}.profile-security-state-v291{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid #e0e8f0;border-radius:14px;background:#f8fbfe}.profile-security-state-v291 p{margin:4px 0 0;color:#60758a}.profile-security-icon-v291{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border-radius:12px;background:#edf3f8;color:#355b7c;font-weight:800}.profile-security-state-v291.is-enabled .profile-security-icon-v291{background:#e6f7ee;color:#147247}.profile-security-form-v291,.profile-email-code-v291{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:10px;align-items:end}.profile-security-form-v291>.field:only-of-type{grid-column:span 2}.profile-2fa-setup-v291 .totp-setup-v250{display:grid;grid-template-columns:190px minmax(0,1fr);gap:18px;margin:12px 0;padding:16px;border:1px solid #e0e8f0;border-radius:16px;background:#f8fbfe}.profile-2fa-setup-v291 .qr-wrap{padding:10px;border-radius:12px;background:#fff}.profile-2fa-confirm-v291{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.profile-2fa-confirm-v291 input{text-align:center;font-size:1.2rem;letter-spacing:.18em}.profile-recovery-v291{padding:16px;border:1px solid #ead8a2;border-radius:14px;background:#fff9e8}.recovery-code-grid-v291{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.recovery-code-grid-v291 code{display:block;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #ead8a2;text-align:center;font-size:.95rem;letter-spacing:.08em}.profile-recovery-settings-v291{padding:12px 14px;border:1px solid #e0e8f0;border-radius:12px}.registration-honeypot-v291{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}.optional-security-v291{border-color:#d8e6f3;background:#f6faff}.auth-content .login-2fa-v291{min-width:0}
@media(max-width:900px){.profile-grid-v291{grid-template-columns:1fr}.profile-security-form-v291,.profile-email-code-v291{grid-template-columns:1fr}.profile-security-form-v291>.field:only-of-type{grid-column:auto}.profile-2fa-setup-v291 .totp-setup-v250{grid-template-columns:1fr}.profile-2fa-setup-v291 .qr-wrap{width:min(100%,220px);margin:auto}.profile-2fa-confirm-v291{grid-template-columns:1fr}}
@media(max-width:560px){.login-2fa-v291{width:100%;margin-top:12px}.login-2fa-form-v291 input{min-height:50px;font-size:1.2rem}.recovery-code-grid-v291{grid-template-columns:1fr}.profile-security-state-v291{padding:12px}}

/* Release 2.11.7.6 · cross-device safeguards */
html{-webkit-text-size-adjust:100%}img,video,canvas{max-width:100%;height:auto}.table-wrap,.table-responsive,[data-table-wrap]{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}button,input,select,textarea{max-width:100%}
@media(max-width:900px){.content,.provider-main,.legal-main{padding-left:16px!important;padding-right:16px!important}.grid,.form-grid,.settings-grid,.dashboard-grid,.cards-grid{min-width:0}.form-grid{grid-template-columns:minmax(0,1fr)!important}.field-full{grid-column:1/-1}.topbar{gap:10px}.topbar-actions{min-width:0;flex-wrap:wrap}.global-search{min-width:0;flex:1}.global-search input{min-width:0;width:100%}.auth-shell{grid-template-columns:minmax(0,1fr)!important}.auth-aside{display:none!important}.pricing-grid,.plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:640px){.content,.provider-main,.legal-main,.platform-main{padding:12px!important}.card,.panel,.registration-card,.legal-document{max-width:100%;overflow-wrap:anywhere}.page-header,.card-header,.toolbar,.form-actions,.legal-header,.provider-header{align-items:stretch!important;flex-direction:column!important}.form-actions>.btn,.form-actions>button,.toolbar>.btn{width:100%}.topbar-user>span:not(.avatar),.global-search kbd{display:none!important}.locale-switch{max-width:76px}.pricing-grid,.plans-grid,.application-actions,.platform-grid{grid-template-columns:minmax(0,1fr)!important}.table-wrap table,.table-responsive table,[data-table-wrap] table{min-width:680px}.auth-panel{width:100%!important;max-width:100%!important}.registration-shell-v250{padding:12px!important}.registration-card{padding:18px!important}.cookie-modal-card-v251,.support-widget-v251{max-width:calc(100vw - 20px)!important}.footer{gap:8px;align-items:flex-start!important;flex-direction:column!important}}
@media(max-width:420px){.topbar{padding-left:10px!important;padding-right:10px!important}.content{padding-left:10px!important;padding-right:10px!important}.btn,button,input,select,textarea{font-size:16px}.modal,.dialog,[role="dialog"]{max-width:calc(100vw - 16px)!important}}

/* YRV CRM 2.11.7.6 · Yosdelvis de la Rosa Vega · 2026-08-10 */
.order-final-save-v3102{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;margin-top:16px;border:1px solid var(--border);border-radius:16px;background:var(--card);box-shadow:0 8px 24px rgba(15,23,42,.05)}
.order-final-save-v3102>div{display:grid;gap:3px;min-width:0}.order-final-save-v3102>div small{color:var(--muted);line-height:1.35}.status-workflow-footer-v2312>.field-note{max-width:420px;text-align:right;color:var(--muted)}
@media(max-width:620px){.order-final-save-v3102{align-items:stretch;flex-direction:column}.order-final-save-v3102 .btn{width:100%}.status-workflow-footer-v2312>.field-note{text-align:left;max-width:none}}
