/* LAV GROUP — semantic tokens, shared across desktop and mobile. */
:root{color-scheme:light;--deep-purple:#39326b;--lavender:#8c81da;--pale-lilac:#ded8fc;--mist:#f2f0fd;--graphite:#2f2e3c;--night:#2a2745;--bg:var(--mist);--surface:#fff;--surface-accent:var(--pale-lilac);--surface-brand:var(--deep-purple);--line:#e3dff5;--line-strong:#7a7396;--ink:var(--graphite);--ink-muted:#5e5b70;--ink-accent:var(--deep-purple);--on-brand:#fff;--on-brand-muted:var(--pale-lilac);--primary:var(--deep-purple);--primary-hover:#2c2654;--on-primary:#fff;--accent:var(--lavender);--focus-ring:#6a5fc1;--danger:#b42318;--danger-soft:#fdecea;--success:#1f7a4d;--success-soft:#e6f4ec;--space-8:8px;--space-16:16px;--space-24:24px;--space-32:32px;--space-48:48px;--radius-button:10px;--radius-card:16px;--radius-pill:999px;--nav-width:254px;--page-gutter:16px;--tap-min:44px;--shadow-overlay:0 12px 32px rgba(57,50,107,.16);--font:'Noto Sans',Arial,sans-serif;--muted:var(--ink-muted);--pale:var(--surface-accent);--radius:var(--radius-card)}
[data-theme=dark]{color-scheme:dark;--bg:#1c1a29;--surface:#272539;--surface-accent:#353158;--surface-brand:#2e2856;--line:#3b3852;--line-strong:#8a84a6;--ink:#f2f0fd;--ink-muted:#b8b3cf;--ink-accent:#ded8fc;--on-brand:#fff;--on-brand-muted:#ded8fc;--primary:#b9b0f5;--primary-hover:#ccc5fa;--on-primary:#1c1a29;--accent:#9a90e6;--focus-ring:#b9b0f5;--danger:#ff8a7a;--danger-soft:#3d2228;--success:#6fd3a0;--success-soft:#1e3a2e;--shadow-overlay:0 12px 32px rgba(0,0,0,.48)}
@media(prefers-color-scheme:dark){:root:not([data-theme=light]){color-scheme:dark;--bg:#1c1a29;--surface:#272539;--surface-accent:#353158;--surface-brand:#2e2856;--line:#3b3852;--line-strong:#8a84a6;--ink:#f2f0fd;--ink-muted:#b8b3cf;--ink-accent:#ded8fc;--on-brand:#fff;--on-brand-muted:#ded8fc;--primary:#b9b0f5;--primary-hover:#ccc5fa;--on-primary:#1c1a29;--accent:#9a90e6;--focus-ring:#b9b0f5;--danger:#ff8a7a;--danger-soft:#3d2228;--success:#6fd3a0;--success-soft:#1e3a2e;--shadow-overlay:0 12px 32px rgba(0,0,0,.48)}}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:400 16px/24px var(--font);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;color:inherit}button,a,input,select,textarea{touch-action:manipulation}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--primary);text-decoration:none}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{color:var(--ink);letter-spacing:-.025em}h1{font-size:40px;line-height:48px;font-weight:400}h2{font-size:28px;line-height:36px;font-weight:400}h3,h4{font-size:20px;line-height:28px;font-weight:700}ul,ol{margin:0;padding:0;list-style:none}img{max-width:100%;object-fit:contain}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}button,.input,.choice{transition:background .15s ease,border-color .15s ease}::selection{background:var(--surface-accent);color:var(--ink-accent)}[hidden]{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:var(--space-16);top:-100px;z-index:300;background:var(--primary);color:var(--on-primary);padding:var(--space-16);border-radius:var(--radius-button)}.skip-link:focus{top:var(--space-16)}
.icon{display:inline-block;width:24px;height:24px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.icon-sm{width:16px;height:16px}.muted{color:var(--ink-muted)}.small{font-size:14px;line-height:20px}.row{display:flex;align-items:center;gap:var(--space-8)}.row.wrap,.wrap{flex-wrap:wrap}.spread{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16)}.stack{display:flex;flex-direction:column;gap:var(--space-24)}.grid2,.grid3{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-24)}.grid3{grid-template-columns:repeat(3,minmax(0,1fr))}.full{grid-column:1/-1}.grow{flex:1;min-width:0}.eyebrow{font-size:12px;line-height:18px;letter-spacing:.18em;text-transform:uppercase;font-weight:400;color:var(--ink-muted)}.section-divider{height:1px;border:0;background:var(--line);margin:var(--space-24) 0}.text-link{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:44px;padding:0;border:0;background:transparent;color:var(--primary);font-size:14px;font-weight:700;white-space:nowrap}.text-link:hover{text-decoration:underline}.text-link .icon{width:18px;height:18px}
/* Company navigation */
.sidebar{position:fixed;inset:0 auto 0 0;z-index:50;width:var(--nav-width);display:flex;flex-direction:column;background:var(--surface);border-right:1px solid var(--line);--on-brand:var(--ink-accent);--on-brand-muted:var(--ink-muted);padding:var(--space-24) var(--space-16);color:var(--on-brand-muted);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#8c81da transparent}.brand{display:flex;align-items:center;gap:var(--space-8);color:var(--on-brand);font-size:24px;line-height:32px;font-weight:700;padding:0 var(--space-8) var(--space-32);letter-spacing:-.04em}.brand img{display:block;flex:none;width:40px;height:40px;object-fit:contain}.logo-mark{display:block;flex:none;width:40px;height:40px;border-radius:10px;padding:4px;background:#fff;object-fit:contain}.workspace{display:flex;align-items:center;gap:var(--space-8);width:100%;padding:var(--space-16);margin-bottom:var(--space-24);border:1px solid var(--line);border-radius:var(--radius-button);background:var(--bg);color:var(--on-brand);text-align:left}.workspace>span:not(.avatar),.workspace>div{flex:1;min-width:0}.workspace strong{display:block;font-size:14px;font-weight:700}.workspace small{font-size:12px;line-height:18px;display:block;color:var(--on-brand-muted)}.workspace>.icon{width:16px;height:16px}.avatar{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:none;background:var(--surface-accent);color:var(--ink-accent);border-radius:var(--radius-button);font-weight:700;font-size:14px}.workspace .avatar{background:var(--surface-accent);color:var(--ink-accent)}.nav-caption{padding:0 var(--space-16);margin:0 0 var(--space-8);font-size:12px;line-height:18px;letter-spacing:.12em;color:var(--on-brand-muted);text-transform:uppercase}.sidebar nav{display:flex;flex-direction:column;gap:var(--space-8)}.nav-item{display:flex;align-items:center;gap:var(--space-16);width:100%;min-height:48px;padding:var(--space-8) var(--space-16);border:0;border-radius:var(--radius-button);background:none;color:var(--on-brand-muted);font-size:14px;line-height:20px;text-align:left}.nav-item:hover{background:var(--bg);color:var(--on-brand)}.nav-item.active,.nav-item[aria-current=page]{background:var(--pale-lilac);color:var(--deep-purple);font-weight:700}.nav-item .icon{width:24px;height:24px}.nav-count{display:inline-flex;justify-content:center;align-items:center;margin-left:auto;min-width:24px;height:24px;border-radius:var(--radius-pill);background:var(--bg);color:inherit;font-size:12px;line-height:18px}.nav-item.active .nav-count{background:#39326b12}.sidebar-bottom{margin-top:auto;padding-top:var(--space-32)}.sidebar-note{position:relative;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-card);padding:var(--space-16);margin-bottom:var(--space-16);overflow:hidden}.sidebar-note .eyebrow{color:var(--on-brand-muted);font-size:12px}.sidebar-note p{font-size:14px;line-height:20px;color:var(--on-brand);margin-top:var(--space-8);max-width:170px}.sidebar-note .spark-decoration{position:absolute;right:-16px;bottom:-16px;width:72px;height:72px;stroke-width:.5;opacity:.18;color:var(--on-brand-muted)}.sidebar-profile{display:flex;align-items:center;gap:var(--space-8);padding:var(--space-16) var(--space-8) 0;margin-top:var(--space-16);border-top:1px solid var(--line)}.sidebar-profile .avatar{background:var(--surface-accent);color:var(--ink-accent)}.sidebar-profile strong{display:block;font-size:14px;line-height:20px;color:var(--on-brand)}.sidebar-profile small{display:block;font-size:12px;line-height:18px;color:var(--on-brand-muted)}
.main{margin-left:var(--nav-width);min-height:100vh}.topbar{height:72px;padding:0 var(--page-gutter);display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);background:var(--surface);border-bottom:1px solid var(--line)}.breadcrumbs{display:flex;align-items:center;gap:var(--space-8);font-size:14px;line-height:20px;color:var(--ink-muted)}.breadcrumbs button{border:0;background:none;color:inherit;padding:0;min-height:44px;font-size:inherit}.breadcrumbs span:last-child{color:var(--ink-accent)}.breadcrumbs .icon{width:16px;height:16px}.topbar-right{gap:var(--space-16)}.small-avatar{width:32px;height:32px;font-size:12px}.demo-indicator{display:inline-flex;align-items:center;gap:var(--space-8);font-size:12px;line-height:18px;color:var(--ink-muted)}.demo-indicator:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent)}.page{min-width:0;padding:16px var(--page-gutter) var(--space-48)}.page-heading,.page-intro{display:flex;justify-content:space-between;align-items:center;gap:var(--space-24);margin-bottom:var(--space-32)}.page-heading{margin-bottom:var(--space-16)}.page-heading h1{min-width:0;overflow-wrap:anywhere}.page-intro p{margin-top:var(--space-8);color:var(--ink-muted);max-width:70ch}.profile-title{display:flex;align-items:center;gap:var(--space-16);min-width:0}.profile-title h1{font-size:28px;line-height:36px}.profile-title p{font-size:14px;line-height:20px;margin-top:var(--space-8);max-width:65ch}.agent-avatar{position:relative;width:72px;height:72px;display:flex;align-items:center;justify-content:center;flex:none;background:var(--surface-accent);color:var(--ink-accent);border-radius:var(--radius-card);font-size:24px;font-weight:700}.online-dot{position:absolute;bottom:0;right:0;width:16px;height:16px;border:4px solid var(--bg);background:var(--accent);border-radius:50%}.status-row{gap:var(--space-8);flex-wrap:wrap;margin-top:var(--space-8)}.heading-actions{display:flex;align-items:center;gap:var(--space-8);flex-wrap:wrap;justify-content:flex-end}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:var(--tap-min);padding:var(--space-8) var(--space-16);border:1px solid transparent;border-radius:var(--radius-button);font:700 14px/20px var(--font);white-space:nowrap}.btn .icon{width:18px;height:18px}.btn-primary{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.btn-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.btn-secondary{background:var(--surface);color:var(--ink-accent);border-color:var(--line-strong)}.btn-secondary:hover{background:var(--bg)}.btn-ghost{background:transparent;color:var(--primary)}.btn-ghost:hover{background:var(--bg)}.btn-danger{background:var(--danger-soft);color:var(--danger);border-color:var(--danger)}.btn-sm{min-height:44px;padding:var(--space-8) var(--space-16)}.icon-btn{width:44px;height:44px;min-height:44px;flex:none;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid transparent;border-radius:var(--radius-button);color:var(--ink-muted);background:transparent}.icon-btn:hover{background:var(--bg);color:var(--primary)}.icon-btn .icon{width:20px;height:20px}.badge,.tag,.pill{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);padding:4px var(--space-8);border-radius:var(--radius-pill);font:400 14px/20px var(--font);white-space:nowrap}.badge .icon{width:16px;height:16px}.badge-muted,.badge-neutral,.tag{background:var(--bg);color:var(--ink-muted)}.badge-success{background:var(--success-soft);color:var(--success)}.badge-warning{background:var(--surface-accent);color:var(--ink-accent)}.badge-outline{background:transparent;color:var(--ink-muted);border:1px solid var(--line)}.badge-danger{background:var(--danger-soft);color:var(--danger)}.tag{font-size:12px;line-height:18px;min-width:24px}.pill{background:var(--surface-accent);color:var(--ink-accent)}.pill button{display:inline-flex;align-items:center;justify-content:center;border:0;background:none;color:inherit;width:28px;height:28px;padding:0;margin:-4px}.pill .icon{width:16px;height:16px}
/* Setup wizard */
.stepper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));border-bottom:1px solid var(--line);margin-bottom:var(--space-32)}.step{display:flex;align-items:flex-start;gap:var(--space-8);position:relative;min-height:88px;padding:var(--space-8) var(--space-8) var(--space-16);margin-bottom:-1px;border:0;border-bottom:2px solid transparent;background:transparent;text-align:left;color:var(--ink-muted)}.step:hover{color:var(--primary)}.step-number{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-size:14px;font-weight:700}.step-number .icon{width:16px;height:16px}.step-text{font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:0}.step-text small{font-size:12px;line-height:18px;color:var(--ink-muted)}.step-active{border-bottom-color:var(--primary);color:var(--ink-accent)}.step-active .step-number{background:var(--primary);color:var(--on-primary);border-color:var(--primary)}.step-active .step-text{font-weight:700}.step-done .step-number{background:var(--success-soft);color:var(--success)}.workspace-grid{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:var(--space-24);align-items:start}.main-column{display:flex;flex-direction:column;gap:var(--space-24);min-width:0}.card{min-width:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);padding:var(--space-24)}.card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16);margin-bottom:var(--space-24)}.section-title,.card-header h2{font-size:20px;line-height:28px;font-weight:700;letter-spacing:-.02em;color:var(--ink-accent)}.card-header p{font-size:14px;line-height:20px;margin-top:var(--space-8);max-width:65ch}.card-header>.row{flex:none;gap:var(--space-8);flex-wrap:wrap}.summary{position:sticky;top:var(--space-24);min-width:0}.summary>.card{padding:var(--space-24) var(--space-16)}.summary h2,.summary .section-title{font-size:16px;line-height:24px;font-weight:700}.summary>.card>.row{gap:var(--space-8)}.summary-icon{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border-radius:var(--radius-button);background:var(--bg);color:var(--ink-accent)}.summary-icon .icon{width:18px;height:18px}.summary .section-divider{margin:var(--space-16) 0}.summary-item{display:flex;align-items:flex-start;gap:var(--space-8);padding:var(--space-16) 0;border-bottom:1px solid var(--line)}.summary-item:last-of-type{border:0}.summary-item>div{min-width:0;flex:1}.summary-item .muted{display:block;font-size:12px;line-height:18px;margin-bottom:var(--space-8)}.summary-item strong,.summary-item p{font-size:14px;line-height:20px;display:block;font-weight:400}.summary-note{background:var(--bg);border-radius:var(--radius-button);padding:var(--space-16);font-size:14px;line-height:20px;color:var(--ink-muted);margin-top:var(--space-16)}.preview-link{display:flex;align-items:center;gap:var(--space-8);width:100%;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);padding:var(--space-16);margin-top:var(--space-16);text-align:left;color:var(--ink-accent)}.preview-link>span:nth-child(2){flex:1;min-width:0}.preview-link strong{display:block;font-size:14px;font-weight:700;line-height:20px}.preview-link small{display:block;font-size:12px;line-height:18px;margin-top:var(--space-8);color:var(--ink-muted)}.preview-link>.icon{width:18px;height:18px}.local-note{display:flex;gap:var(--space-8);align-items:flex-start;padding:var(--space-16) var(--space-8);font-size:12px;line-height:18px;color:var(--ink-muted)}.local-note .icon{width:16px;height:16px;margin-top:1px}.footer-actions{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);padding-top:var(--space-24);border-top:1px solid var(--line)}.step-count{font-size:12px;line-height:18px}.progress-track{height:8px;background:var(--line);border-radius:var(--radius-pill);overflow:hidden}.progress-fill{height:100%;background:var(--accent);border-radius:var(--radius-pill);transition:width .15s}
/* Catalog, forms and controls */
.catalog-tools,.toolbar{display:flex;justify-content:space-between;align-items:center;gap:var(--space-16);margin:var(--space-24) 0 var(--space-16)}.tabs{display:flex;align-items:center;gap:var(--space-8);border-bottom:1px solid var(--line)}.tab{display:flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:44px;border:0;border-bottom:2px solid transparent;background:transparent;padding:var(--space-8) var(--space-16);font-size:14px;line-height:20px;color:var(--ink-muted)}.tab.active,.tab[aria-selected=true]{border-bottom-color:var(--primary);color:var(--ink-accent);font-weight:700}.tab>span{font-size:12px;line-height:18px;background:var(--bg);border-radius:var(--radius-pill);padding:0 var(--space-8)}.search{position:relative;display:flex;align-items:center;max-width:248px;min-width:160px;width:100%}.search>.icon{position:absolute;left:var(--space-16);width:18px;height:18px;color:var(--ink-muted);pointer-events:none}.search input{padding-left:40px!important;font-size:14px}.notice{display:flex;align-items:flex-start;gap:var(--space-8);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-button);padding:var(--space-16);font-size:14px;line-height:20px;margin:var(--space-16) 0;color:var(--ink-muted)}.notice>.icon{width:18px;height:18px;margin-top:1px}.notice>span{flex:1;min-width:0}.notice-warning{background:var(--surface-accent);color:var(--ink-accent);border-color:transparent}.notice-info{background:var(--bg);color:var(--ink-accent)}.notice-success{background:var(--success-soft);color:var(--success);border-color:transparent}.notice-danger{background:var(--danger-soft);color:var(--danger);border-color:transparent}.notice>.text-link{min-height:24px;font-size:14px}.table-wrap{overflow:auto;margin-top:var(--space-16);border:1px solid var(--line);border-radius:var(--radius-button)}.catalog-table,.mapping-table,.notification-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;line-height:20px}.catalog-table th,.mapping-table th,.notification-table th{background:var(--bg);color:var(--ink-muted);font-weight:400;padding:var(--space-16) var(--space-8);font-size:12px;line-height:18px;white-space:nowrap}.catalog-table td,.mapping-table td,.notification-table td{padding:var(--space-16) var(--space-8);border-top:1px solid var(--line);vertical-align:middle}.catalog-table th:first-child,.catalog-table td:first-child{padding-left:var(--space-16)}.catalog-table th:last-child,.catalog-table td:last-child{padding-right:var(--space-16)}.catalog-table tbody tr:hover{background:var(--bg)}.catalog-table td:not(:first-child){white-space:nowrap}.catalog-table td:nth-child(2),.catalog-table td:nth-child(4){color:var(--ink-muted);font-size:12px;line-height:18px}.price-cell{font-variant-numeric:tabular-nums;font-weight:700}.product-cell{display:flex;align-items:center;gap:var(--space-8);border:0;background:none;text-align:left;padding:0;min-height:44px;min-width:210px;color:var(--ink);width:100%}.product-cell>span:last-child{min-width:0}.product-icon{width:40px;height:48px;display:flex;align-items:center;justify-content:center;flex:none;background:var(--bg);color:var(--ink-accent);border-radius:var(--radius-button);overflow:hidden}.product-icon .icon{width:24px;height:24px;stroke-width:1.5}.product-icon img{width:100%;height:100%;object-fit:cover}.product-color-1{background:var(--surface-accent)}.product-color-2{background:var(--success-soft);color:var(--success)}.product-color-3{background:var(--bg);color:var(--ink-muted)}.product-name{display:block;font-size:14px;line-height:20px;font-weight:400;max-width:280px;white-space:normal}.product-sub{display:block;font-size:12px;line-height:18px;color:var(--ink-muted);margin-top:var(--space-8)}.table-foot{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);margin-top:var(--space-16);font-size:12px;line-height:18px;color:var(--ink-muted)}.table-foot>span{display:flex;align-items:center;gap:var(--space-8)}.table-foot .icon{width:14px;height:14px}.empty{text-align:center;padding:var(--space-48) var(--space-24);color:var(--ink-muted)}.empty>.icon{width:40px;height:40px;color:var(--accent);margin-bottom:var(--space-16)}.empty h3{margin-bottom:var(--space-8)}.empty .btn{margin-top:var(--space-24)}.field{display:flex;flex-direction:column;gap:var(--space-8);min-width:0}.label,.field>label{font-size:14px;line-height:20px;font-weight:700;color:var(--ink)}.input,input[type=text],input[type=email],input[type=number],input[type=url],input[type=password],input[type=search],select,textarea{width:100%;min-width:0;min-height:44px;border:1px solid var(--line-strong);border-radius:var(--radius-button);padding:var(--space-8) var(--space-16);background:var(--surface);color:var(--ink);font-size:16px;line-height:24px}.input::placeholder,input::placeholder,textarea::placeholder{color:var(--ink-muted);opacity:.8}.input:focus,input:focus,textarea:focus,select:focus{border-color:var(--focus-ring)}.textarea,textarea{min-height:104px;resize:vertical}.hint{font-size:14px;line-height:20px;color:var(--ink-muted)}p.hint{margin-top:var(--space-16)}.hint .icon{width:16px;height:16px;vertical-align:-3px;margin-right:var(--space-8)}.segmented{display:flex;gap:var(--space-8);padding:var(--space-8);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-button);flex-wrap:wrap}.segment{flex:1;min-height:44px;padding:var(--space-8);background:transparent;border:0;border-radius:var(--radius-button);color:var(--ink-muted);font-size:14px;line-height:20px}.segment.selected,.segment.active,.segment[aria-pressed=true]{background:var(--surface);color:var(--ink-accent);font-weight:700}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16);margin-top:var(--space-16)}.choice{display:flex;align-items:flex-start;gap:var(--space-8);padding:var(--space-16);border:1px solid var(--line-strong);border-radius:var(--radius-button);background:var(--surface);color:var(--ink);text-align:left;min-height:88px}.choice.selected{background:var(--surface-accent);border-color:var(--primary)}.choice strong{display:block;font-size:14px;line-height:20px;font-weight:700;color:var(--ink-accent)}.choice small{display:block;font-size:14px;line-height:20px;color:var(--ink-muted);margin-top:var(--space-8)}.radio-dot{width:20px;height:20px;border:1px solid var(--line-strong);border-radius:50%;margin-top:0;flex:none;background:var(--surface)}.choice.selected .radio-dot{border:6px solid var(--primary)}.destination-choice{flex-direction:column;gap:var(--space-8);min-height:176px}.destination-choice>.spread{width:100%;margin-bottom:var(--space-8)}.destination-choice small{margin-top:0}.destination-choice>.spread>.icon{color:var(--ink-accent)}.channel-card{display:flex;flex-direction:column;align-items:flex-start;gap:var(--space-8);padding:var(--space-24);border:1px solid var(--line);border-radius:var(--radius-card);min-width:0}.channel-card.selected{background:var(--bg);border-color:var(--primary)}.channel-card>.spread{width:100%;margin-bottom:var(--space-8)}.channel-card h3{font-size:16px;line-height:24px}.channel-card .badge{margin-top:var(--space-8)}.channel-icon{width:40px;height:40px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:var(--radius-button);background:var(--surface-accent);color:var(--ink-accent)}.channel-icon .icon{width:24px;height:24px}.switch{position:relative;width:44px;height:44px;min-height:44px;flex:none;border:0;background:transparent;padding:0;border-radius:var(--radius-button)}.switch:before{content:'';position:absolute;top:10px;left:0;width:44px;height:24px;border-radius:var(--radius-pill);background:var(--line-strong)}.switch:after{content:'';position:absolute;top:14px;left:4px;width:16px;height:16px;border-radius:50%;background:var(--surface);transition:transform .15s ease}.switch.on:before,.switch[aria-checked=true]:before{background:var(--primary)}.switch.on:after,.switch[aria-checked=true]:after{transform:translateX(20px);background:var(--on-primary)}.checklist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-8) var(--space-16);margin:var(--space-16) 0 var(--space-24)}.check-row{display:flex;align-items:center;gap:var(--space-8);min-height:44px;font-size:14px;line-height:20px;color:var(--ink)}.check-row input{accent-color:var(--primary);width:18px;height:18px;margin:0;flex:none}.mapping-table td{padding-left:var(--space-16);padding-right:var(--space-16)}.mapping-table .input{max-width:96px}.notification-channel{padding-bottom:var(--space-24);border-bottom:1px solid var(--line)}.notification-channel:last-child{padding-bottom:0;border:0}.notification-channel h3{font-size:16px;line-height:24px}.notification-channel p{margin-top:var(--space-8)}.recipient-list{display:flex;align-items:center;gap:var(--space-8);flex-wrap:wrap;margin-top:var(--space-16);padding-left:48px}.notification-table th:not(:first-child),.notification-table td:not(:first-child){width:72px;text-align:center}.notification-table th:first-child,.notification-table td:first-child{padding-left:var(--space-16)}.notification-table td strong{font-size:14px;font-weight:400}.notification-table td small{display:block;font-size:12px;line-height:18px;margin-top:var(--space-8)}.notification-table input{accent-color:var(--primary);width:18px;height:18px;margin:0}.email-preview{display:flex;flex-direction:column;gap:var(--space-16);margin-top:var(--space-24);padding:var(--space-24);border-radius:var(--radius-button);background:var(--bg)}.email-preview h3{font-size:16px;line-height:24px}.email-preview p{font-size:14px;line-height:20px}.import-panel{padding:var(--space-16);border:1px solid var(--line);border-radius:var(--radius-button);background:var(--bg);margin:var(--space-16) 0}.import-panel>.spread{gap:var(--space-16);margin-bottom:var(--space-16)}.import-panel strong{font-size:14px;line-height:20px}.import-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16)}.import-option{display:flex;align-items:center;gap:var(--space-8);min-height:88px;padding:var(--space-16);border:1px dashed var(--line-strong);border-radius:var(--radius-button);background:var(--surface);text-align:left;color:var(--ink-accent)}.import-option>span{flex:1;min-width:0}.import-option strong{display:block;font-size:14px;line-height:20px;font-weight:700}.import-option small{display:block;font-size:12px;line-height:18px;color:var(--ink-muted);margin-top:var(--space-8)}.import-option>.icon:last-child{width:16px;height:16px}
/* Preview, order journal and layers */
.voice-preview,.preview-chat{display:flex;flex-direction:column;gap:var(--space-16);background:var(--bg);border:1px solid var(--line);border-radius:var(--radius-card);padding:var(--space-24);margin-top:var(--space-24)}.voice-preview>small{font-size:12px;line-height:18px}.bubble{max-width:90%;border-radius:var(--radius-card);padding:var(--space-16);font-size:14px;line-height:20px}.bubble-user{align-self:flex-end;background:var(--surface-accent);color:var(--ink-accent);border-bottom-right-radius:0}.bubble-agent{align-self:flex-start;background:var(--surface);border:1px solid var(--line);color:var(--ink);border-bottom-left-radius:0}.bubble p+p{margin-top:var(--space-8)}.chat-meta{font-size:12px;line-height:18px;color:var(--ink-muted);margin-top:var(--space-8)}.order-card{min-width:0;border:1px solid var(--line);background:var(--surface);border-radius:var(--radius-card);padding:var(--space-24)}.order-card h3{font-size:20px;line-height:28px;margin-bottom:var(--space-16)}.order-card .spread{flex-wrap:wrap}.order-list{display:flex;flex-direction:column;gap:var(--space-16)}.order-row{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-16);padding:var(--space-8) 0;font-size:14px;line-height:20px}.order-row strong{white-space:nowrap}.order-total{padding-top:var(--space-16);margin-top:var(--space-8);border-top:1px solid var(--line);font-weight:700;color:var(--ink-accent)}.test-intro{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-24);background:var(--bg);border-radius:var(--radius-button);margin-bottom:var(--space-24)}.test-intro>.icon{width:40px;height:40px;color:var(--ink-accent)}.test-intro h3{font-size:20px;line-height:28px;margin-bottom:var(--space-8)}.test-results{display:flex;flex-direction:column;margin-top:var(--space-24)}.test-row{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-16) 0;border-bottom:1px solid var(--line)}.test-row:last-child{border:0}.test-row>div{flex:1;min-width:0}.test-row>div strong{font-size:14px;line-height:20px}.test-row>div p{margin-top:var(--space-8)}.test-row>.icon{color:var(--success)}.test-row>.text-link{flex:none}.flow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-24)}.flow-node{padding:var(--space-24);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card)}.flow-number{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--surface-accent);color:var(--ink-accent);margin-bottom:var(--space-16);font-size:14px}.flow-node h3{font-size:20px;line-height:28px;margin-bottom:var(--space-16)}.flow-node p{font-size:14px;line-height:20px;color:var(--ink-muted)}.flow-node.highlight{background:var(--surface-accent);color:var(--ink-accent)}
.modal-overlay{--modal-gutter:24px;position:fixed;inset:0;z-index:150;display:flex;align-items:center;justify-content:center;padding:var(--modal-gutter);background:rgba(24,18,42,.48);backdrop-filter:blur(4px);animation:fade-in .15s ease}
.modal-overlay-layer{width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;color:inherit}
.modal-overlay-layer:not([open]){display:none}
.modal-overlay-layer::backdrop{background:transparent}
.modal{display:flex;flex-direction:column;width:100%;max-width:var(--modal-max-width,800px);height:min(820px,calc(100dvh - 2 * var(--modal-gutter)));overflow:hidden;border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);color:var(--ink);box-shadow:var(--shadow-overlay)}
.modal.wide,.modal-wide{--modal-max-width:1080px}
.modal-header{flex:none;display:flex;justify-content:space-between;align-items:center;gap:var(--space-16);padding:var(--space-24);border-bottom:1px solid var(--line)}
.modal-header h2{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;font-size:20px;line-height:28px;font-weight:700}
.modal-header .icon-btn{flex:none}
.modal-header .eyebrow{margin-bottom:var(--space-8)}
.modal-body{flex:1;min-height:0;padding:var(--space-24);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.modal-footer{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:var(--space-8);padding:var(--space-16) var(--space-24);border-top:1px solid var(--line);background:var(--bg)}
.modal-footer .btn-danger{margin-right:auto}
.modal-footer .hint{margin-right:auto}
.modal-actions{position:relative;flex:none}
.modal-actions [data-modal-actions-toggle]{gap:6px}
.modal-actions-menu{
 position:absolute;z-index:1;inset-inline-end:0;inset-block-end:calc(100% + var(--modal-actions-footer-padding,var(--space-16)) + 7px);
 inline-size:min(240px,calc(100vw - 48px));max-block-size:55dvh;overflow:auto;
 padding:4px;border:1px solid var(--line);border-radius:var(--radius-card);
 background:var(--surface);box-shadow:var(--shadow-overlay);
}
.modal .modal-footer .modal-actions-menu .btn{
 width:100%;min-height:44px;justify-content:flex-start;padding:8px 12px;text-align:start;border-color:transparent;
}
.toast{position:fixed;z-index:200;left:calc(50% + 127px);bottom:var(--space-24);transform:translateX(-50%);max-width:min(600px,calc(100% - 32px));display:flex;align-items:center;gap:var(--space-8);padding:var(--space-16) var(--space-24);border-radius:var(--radius-button);background:var(--surface-brand);color:var(--on-brand);box-shadow:var(--shadow-overlay);font-size:14px;line-height:20px;animation:fade-in .15s ease}.toast .icon{width:18px;height:18px}.photo-preview,.image-preview{width:80px;height:80px;object-fit:cover;border:1px solid var(--line);border-radius:var(--radius-button)}.mobile-menu,.mobile-nav{display:none}
/* Additional workspace views */
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-24);margin-bottom:var(--space-32)}.stat-card{min-width:0;border-radius:var(--radius-card);padding:var(--space-24);background:var(--surface-accent);color:var(--ink-accent)}.stat-card .icon{margin-bottom:var(--space-16)}.stat-card strong,.stat-card .stat-value{display:block;font-size:40px;line-height:48px;font-weight:400;letter-spacing:-.04em;font-variant-numeric:tabular-nums}.stat-card p,.stat-card small,.stat-card .stat-label{display:block;font-size:12px;line-height:18px;color:var(--ink-muted);margin-top:var(--space-8)}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-24)}.agent-card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:var(--space-24);border:1px solid var(--line);border-radius:var(--radius-card);background:var(--surface);gap:var(--space-16)}.agent-card>.spread{width:100%}.agent-card .agent-avatar{width:80px;height:80px;font-size:28px}.agent-card h2,.agent-card h3{color:var(--ink-accent);font-size:28px;line-height:36px;font-weight:400}.agent-card p{font-size:14px;line-height:20px;color:var(--ink-muted)}.agent-card .agent-role{font-size:14px;color:var(--ink-muted)}.agent-card>.btn{width:100%;margin-top:auto}.agent-card .agent-actions{display:flex;gap:var(--space-8);width:100%;margin-top:auto}.agent-card .agent-actions .btn{flex:1}.task-list{display:flex;flex-direction:column;gap:var(--space-16)}.task-item{display:flex;align-items:flex-start;gap:var(--space-16);padding:var(--space-24);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card)}.task-item>div{flex:1;min-width:0}.task-item h3{font-size:20px;line-height:28px;margin-bottom:var(--space-8)}.task-item p{font-size:14px;line-height:20px;color:var(--ink-muted)}.task-item .task-meta{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-16);font-size:12px;line-height:18px;margin-top:var(--space-16);color:var(--ink-muted)}.task-item input[type=checkbox]{width:20px;height:20px;accent-color:var(--primary);margin:4px 0 0;flex:none}.task-item.completed h3{text-decoration:line-through;color:var(--ink-muted)}.task-item .task-actions{display:flex;flex:none;gap:var(--space-8);flex-wrap:wrap;justify-content:flex-end}.company-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--space-24);align-items:start}.company-grid>.card,.company-grid>section{min-width:0}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-24);align-items:stretch}.plan-card{display:flex;flex-direction:column;min-width:0;padding:var(--space-24);background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);gap:var(--space-24)}.plan-card.featured,.plan-card.selected{border-color:var(--primary);background:var(--surface-accent)}.plan-card h2{font-size:28px;line-height:36px;color:var(--ink-accent)}.plan-card p{font-size:14px;line-height:20px;color:var(--ink-muted)}.plan-card .price,.plan-price{font-size:40px;line-height:48px;color:var(--ink-accent);letter-spacing:-.04em}.plan-card .price small,.plan-price small{font-size:14px;line-height:20px;letter-spacing:0;color:var(--ink-muted)}.plan-card>.btn{width:100%;margin-top:auto}.feature-list{display:flex;flex-direction:column;gap:var(--space-16);font-size:14px;line-height:20px}.feature-list li{display:flex;align-items:flex-start;gap:var(--space-8)}.feature-list .icon{width:18px;height:18px;color:var(--ink-accent);flex:none}.overview-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:var(--space-24);align-items:start}.welcome-card{background:var(--surface-brand);color:var(--on-brand);padding:var(--space-32);border-radius:var(--radius-card);margin-bottom:var(--space-32);position:relative;overflow:hidden}.welcome-card h1,.welcome-card h2{color:var(--on-brand);max-width:65ch}.welcome-card p{max-width:65ch;color:var(--on-brand-muted);margin-top:var(--space-16)}.welcome-card .btn{margin-top:var(--space-24);background:var(--surface);color:var(--ink-accent)}.people-table{width:100%;border-collapse:collapse;text-align:left}.people-table th,.people-table td{padding:var(--space-16);border-bottom:1px solid var(--line);font-size:14px;line-height:20px}.people-table th{font-size:12px;line-height:18px;color:var(--ink-muted);font-weight:400;background:var(--bg)}.people-table .row{gap:var(--space-16)}.people-table small{font-size:12px;line-height:18px;color:var(--ink-muted)}.activity-list{display:flex;flex-direction:column;gap:var(--space-16)}.activity-item{display:flex;gap:var(--space-16);align-items:flex-start;font-size:14px;line-height:20px}.activity-item .muted{font-size:12px;line-height:18px;margin-top:var(--space-8)}
@keyframes fade-in{from{opacity:0}to{opacity:1}}
@media(min-width:1440px){.team-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:1024px) and (max-width:1350px){.workspace-grid{grid-template-columns:minmax(0,1fr)}.summary{position:static;display:grid;grid-template-columns:2fr 1fr;gap:var(--space-16);align-items:start}.summary>.card{grid-row:span 3}.summary>.card .summary-item{padding:var(--space-8) 0}.summary .preview-link{margin:0}.summary .local-note{padding:0 var(--space-8)}.page-heading{flex-wrap:wrap;gap:var(--space-16)}.heading-actions{margin-left:auto}.step{flex-direction:column;align-items:center;text-align:center;gap:var(--space-8)}.step-text small{display:none}.team-grid,.plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-grid>.agent-card:last-child:nth-child(odd),.plan-grid>.plan-card:last-child:nth-child(odd){grid-column:1/-1}.company-grid{grid-template-columns:minmax(0,1fr)}.overview-grid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:768px) and (max-width:1023px){:root{--nav-width:72px}.sidebar{padding:var(--space-24) var(--space-8);align-items:center;overflow:visible}.brand{font-size:0;padding:0 0 var(--space-32);gap:0}.brand img,.logo-mark{width:40px;height:40px}.workspace{padding:0;width:48px;height:48px;justify-content:center;margin-bottom:var(--space-24);border:0;background:none}.workspace>.avatar{width:40px;height:40px}.workspace>span:not(.avatar),.workspace>div,.workspace>.icon{display:none}.nav-caption{display:none}.sidebar nav{width:100%;gap:var(--space-8)}.nav-item{position:relative;justify-content:center;gap:0;padding:0;width:48px;height:48px;margin:auto;font-size:0}.nav-item .icon{width:24px;height:24px}.nav-item .nav-count{position:absolute;top:0;right:0;min-width:16px;height:16px;font-size:10px;line-height:16px}.sidebar-bottom{width:100%}.sidebar-note{display:none}.sidebar-profile{padding:var(--space-16) 0 0;justify-content:center}.sidebar-profile>div,.sidebar-profile>span:not(.avatar){display:none}.topbar-right{gap:var(--space-8)}.page-heading{flex-wrap:wrap}.heading-actions{margin-left:auto}.workspace-grid{grid-template-columns:1fr}.summary{position:static}.summary>.card{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--space-24);padding:var(--space-24)}.summary>.card>.row,.summary>.card>.section-divider,.summary>.card>.summary-note{grid-column:1/-1}.summary-item{border-bottom:0}.summary>.preview-link{display:inline-flex;width:calc(50% - 8px);vertical-align:top}.summary>.preview-link+.preview-link{margin-left:var(--space-16)}.step{flex-direction:column;align-items:center;text-align:center;gap:var(--space-8);padding-left:0;padding-right:0}.step-text{font-size:14px;line-height:20px}.step-text small{display:none}.team-grid,.plan-grid,.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.company-grid,.overview-grid{grid-template-columns:1fr}.toast{left:calc(50% + 36px)}.flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){:root{--nav-width:0px;--page-gutter:12px}h1{font-size:32px;line-height:40px}h2{font-size:24px;line-height:32px}h3,h4{font-size:18px;line-height:26px}.sidebar{display:none}.main{margin-left:0}.topbar{height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) var(--page-gutter) 0;gap:var(--space-8)}.mobile-menu{display:inline-flex;margin-left:-8px}.breadcrumbs{font-size:14px;line-height:20px;min-width:0;flex:1;overflow:hidden;white-space:nowrap}.breadcrumbs button:first-child,.breadcrumbs>.icon:first-of-type{display:none}.topbar-right{gap:var(--space-8)}.topbar-right .demo-indicator{display:none}.topbar-right .icon-btn{display:none}.topbar-right .small-avatar{width:32px;height:32px}.page{padding-block:12px calc(104px + env(safe-area-inset-bottom))}.page-heading,.page-intro{gap:var(--space-24);flex-wrap:wrap;margin-bottom:var(--space-24)}.page-heading{gap:var(--space-8);margin-bottom:var(--space-16)}.page-intro>.btn,.page-intro>.heading-actions{width:100%}.page-intro p{font-size:14px;line-height:20px}.profile-title{align-items:flex-start;gap:var(--space-16)}.profile-title .agent-avatar{width:56px;height:56px;font-size:20px}.profile-title h1{font-size:24px;line-height:32px}.profile-title p{font-size:14px;line-height:20px;margin-top:var(--space-8)}.profile-title .row:first-child{flex-wrap:wrap}.status-row .badge{font-size:12px;line-height:18px}.heading-actions{width:100%;justify-content:flex-start}.heading-actions>.btn{flex:1}.stepper{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 calc(0px - var(--page-gutter)) var(--space-24);padding:0 var(--page-gutter);scroll-padding-inline:var(--page-gutter);gap:0}.stepper::-webkit-scrollbar{display:none}.step{flex:0 0 128px;flex-direction:column;align-items:center;text-align:center;gap:var(--space-8);min-height:96px;padding:var(--space-8) var(--space-8) var(--space-16)}.step-text{font-size:14px;line-height:20px}.step-text small{display:none}.workspace-grid{grid-template-columns:1fr;gap:var(--space-16)}.main-column{gap:var(--space-16)}.card{padding:var(--space-24);border-radius:var(--radius-card)}.card-header{flex-wrap:wrap;margin-bottom:var(--space-24);gap:var(--space-16)}.section-title,.card-header h2{font-size:18px;line-height:26px}.card-header>.row{width:100%;gap:var(--space-8)}.card-header>.row>.btn{flex:1;padding-left:var(--space-8);padding-right:var(--space-8)}.catalog-tools,.toolbar{flex-wrap:wrap;gap:var(--space-16)}.tabs{width:100%}.tab{flex:1;padding-left:var(--space-8);padding-right:var(--space-8)}.search{max-width:none;min-width:0}.search input{font-size:16px}.notice{padding:var(--space-16);flex-wrap:wrap;font-size:14px;line-height:20px}.notice>span{flex-basis:calc(100% - 26px)}.notice>.text-link{margin-left:26px}.table-wrap:has(.catalog-table){border:0;overflow:visible}.catalog-table,.catalog-table tbody{display:block;width:100%}.catalog-table thead{display:none}.catalog-table tr{display:grid;grid-template-columns:1fr auto;gap:var(--space-8);padding:var(--space-16) 0;border-bottom:1px solid var(--line)}.catalog-table tr:first-child{padding-top:0}.catalog-table tr:last-child{border-bottom:0}.catalog-table tbody tr:hover{background:none}.catalog-table td{display:block;padding:0!important;border:0;font-size:14px;line-height:20px;min-width:0}.catalog-table td:nth-child(1){grid-column:1/-1}.catalog-table td:nth-child(2){grid-column:1;grid-row:2;padding-left:48px!important;font-size:12px}.catalog-table td:nth-child(3){grid-column:2;grid-row:2;font-size:14px}.catalog-table td:nth-child(4){grid-column:1;grid-row:3;padding-left:48px!important;font-size:12px}.catalog-table td:nth-child(5){grid-column:1;grid-row:4;padding-left:48px!important}.catalog-table td:nth-child(6){grid-column:2;grid-row:3/5;align-self:end;justify-self:end}.catalog-table .badge{font-size:12px;line-height:18px}.product-cell{min-width:0;align-items:flex-start}.product-name{font-size:14px;line-height:20px;max-width:none}.product-sub{font-size:12px;line-height:18px;margin-top:var(--space-8)}.product-icon{height:48px;width:40px}.table-foot{flex-direction:column;align-items:flex-start;gap:var(--space-8)}.table-foot>span:last-child{display:none}.grid2,.grid3,.choice-grid,.checklist,.import-options{grid-template-columns:1fr;gap:var(--space-16)}.choice-grid{margin-top:var(--space-16)}.field{gap:var(--space-8)}.input,input[type=text],input[type=email],input[type=number],input[type=url],input[type=password],input[type=search],select,textarea{font-size:16px;line-height:24px;min-height:44px}.textarea,textarea{min-height:104px}.segmented{gap:var(--space-8);flex-wrap:wrap}.segment{font-size:14px;line-height:20px}.destination-choice{min-height:144px}.channel-card{padding:var(--space-24)}.channel-card h3{font-size:18px;line-height:26px}.channel-card .badge{font-size:14px}.check-row{font-size:14px;line-height:20px;min-height:44px}.summary{position:static}.summary>.card{padding:var(--space-24)}.summary-item{padding:var(--space-16) 0}.summary-item strong{font-size:14px;line-height:20px}.summary-note{font-size:14px;line-height:20px}.preview-link{padding:var(--space-16)}.footer-actions{flex-wrap:wrap;gap:var(--space-8);padding-top:var(--space-16)}.footer-actions>div{order:1}.footer-actions>.step-count{order:2;margin-left:auto}.footer-actions>.btn-primary{order:3;width:100%;margin-top:var(--space-8)}.footer-actions .small{font-size:12px;line-height:18px}.mapping-table th,.mapping-table td{padding:var(--space-16) var(--space-8)}.mapping-table .input{width:72px;max-width:72px}.notification-table th,.notification-table td{padding:var(--space-8);font-size:12px;line-height:18px}.notification-table th:first-child,.notification-table td:first-child{padding-left:var(--space-8)}.notification-table td strong{font-size:14px;line-height:20px}.notification-table td small{font-size:12px;line-height:18px}.notification-table th:not(:first-child),.notification-table td:not(:first-child){width:44px}.notification-table input{width:18px;height:18px}.notification-channel h3{font-size:16px;line-height:24px}.notification-channel>.spread{gap:var(--space-8)}.recipient-list{padding-left:0}.recipient-list .pill{font-size:14px;max-width:100%;overflow-wrap:anywhere;white-space:normal}.pill button{width:36px;height:36px;min-width:36px}.email-preview{padding:var(--space-16)}.import-panel{padding:var(--space-16)}.import-panel>.spread{flex-wrap:wrap;gap:var(--space-8)}.import-panel>.spread .btn{padding:var(--space-8) 0}.import-option{padding:var(--space-16)}.voice-preview,.preview-chat{padding:var(--space-16);gap:var(--space-16)}.bubble{max-width:95%;font-size:14px;line-height:20px}.voice-preview .eyebrow{font-size:12px;line-height:18px}.test-intro{padding:var(--space-16);align-items:flex-start}.test-intro>.icon{width:24px;height:24px}.test-intro h3{font-size:18px;line-height:26px}.test-row{gap:var(--space-8);flex-wrap:wrap}.test-row>div{flex:1;min-width:0}.test-row .text-link{margin-left:auto}.flow-grid{grid-template-columns:1fr;gap:var(--space-16)}.flow-node{padding:var(--space-24)}.flow-node h3{font-size:18px;line-height:26px}.modal-overlay{--modal-gutter:max(12px,env(safe-area-inset-top),env(safe-area-inset-bottom),env(safe-area-inset-left),env(safe-area-inset-right))}.modal-header{padding:var(--space-16) var(--space-24)}.modal-header h2{font-size:18px;line-height:26px}.modal-body{padding:var(--space-24)}.modal-footer{padding:var(--space-16) var(--space-24);flex-wrap:wrap;gap:var(--space-8)}.modal-footer>.btn{flex:1}.modal-footer>.btn-primary{min-width:100%;order:-1}.modal-footer>.btn-danger{margin:0}.toast{left:50%;bottom:calc(88px + env(safe-area-inset-bottom));padding:var(--space-16);font-size:14px;line-height:20px;width:max-content;max-width:calc(100% - 32px)}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:60;display:flex;align-items:stretch;justify-content:space-around;gap:var(--space-8);min-height:72px;padding:var(--space-8) var(--space-8) calc(var(--space-8) + env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}.mobile-nav button,.mobile-nav a{display:flex;flex:1;min-width:0;min-height:48px;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:0;background:transparent;color:var(--ink-muted);font:400 12px/18px var(--font);padding:0;border-radius:var(--radius-button)}.mobile-nav .icon{width:24px;height:24px}.mobile-nav .active,.mobile-nav [aria-current=page]{background:var(--bg);color:var(--ink-accent);font-weight:700}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-16);margin-bottom:var(--space-24)}.stat-card{padding:var(--space-16)}.stat-card strong,.stat-card .stat-value{font-size:32px;line-height:40px}.stat-card p,.stat-card small,.stat-card .stat-label{font-size:12px;line-height:18px}.team-grid,.plan-grid,.company-grid,.overview-grid{grid-template-columns:1fr;gap:var(--space-16)}.agent-card,.plan-card{padding:var(--space-24)}.agent-card h2,.agent-card h3{font-size:18px;line-height:26px;font-weight:700}.agent-card .agent-avatar{width:72px;height:72px}.agent-card p{font-size:14px;line-height:20px}.task-list{gap:var(--space-16)}.task-item{padding:var(--space-24);gap:var(--space-8);flex-wrap:wrap}.task-item h3{font-size:18px;line-height:26px}.task-item .task-actions{width:100%;justify-content:flex-end;margin-top:var(--space-8)}.task-item .task-meta{gap:var(--space-8)}.plan-card h2{font-size:24px;line-height:32px}.plan-card .price,.plan-price{font-size:32px;line-height:40px}.welcome-card{padding:var(--space-24);margin-bottom:var(--space-24)}.welcome-card h1,.welcome-card h2{font-size:28px;line-height:36px}.welcome-card .btn{width:100%}.people-table,.people-table tbody{display:block}.people-table thead{display:none}.people-table tr{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-16);border-bottom:1px solid var(--line)}.people-table td{display:block;border:0;padding:0}.people-table td:last-child{align-self:flex-start}.hide-mobile{display:none!important}}
@media(max-width:360px){.card,.agent-card,.plan-card,.task-item,.flow-node,.modal-body,.modal-header,.modal-footer{padding-left:var(--space-16);padding-right:var(--space-16)}.profile-title{gap:var(--space-8)}.profile-title h1{font-size:24px;line-height:32px}.profile-title .agent-avatar{width:48px;height:48px}.btn{padding-left:var(--space-8);padding-right:var(--space-8)}.step{flex-basis:120px}.mobile-nav{gap:0}.mobile-nav button,.mobile-nav a{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Workspace assistant, shared dialogs and compositional details. */
.step-text strong{font-weight:400}.step-active .step-text strong{font-weight:700}.summary-item>.icon{width:18px;height:18px;margin-top:2px;color:var(--ink-accent)}.summary-note{display:flex;gap:var(--space-8);align-items:flex-start}.summary-note>.icon{width:16px;height:16px;margin-top:2px}.summary-note>span{min-width:0}.breadcrumbs a{color:var(--ink-muted)}.breadcrumbs strong{font-weight:400;color:var(--ink-accent)}.assistant-fab{position:fixed;right:var(--space-24);bottom:var(--space-24);z-index:65;display:flex;align-items:center;gap:var(--space-8);min-height:56px;padding:var(--space-8) var(--space-16) var(--space-8) var(--space-8);border:1px solid var(--line);border-radius:var(--radius-pill);background:var(--surface);color:var(--ink-accent);box-shadow:var(--shadow-overlay)}.assistant-fab .avatar{width:40px;height:40px;border-radius:50%;background:var(--surface-accent);color:var(--ink-accent)}.assistant-fab strong{display:block;text-align:left;font-size:14px;line-height:20px}.assistant-fab small{display:block;font-size:12px;line-height:18px;color:var(--ink-muted)}.assistant-fab>.icon{width:24px;height:24px;color:var(--ink-accent);margin-left:var(--space-8)}.assistant-messages{display:flex;flex-direction:column;gap:var(--space-16);max-height:50dvh;overflow:auto;padding:var(--space-16);background:var(--bg);border-radius:var(--radius-button)}.assistant-input,.chat-input{display:flex;gap:var(--space-8);margin-top:var(--space-16)}.assistant-input input,.chat-input input{flex:1}.assistant-input .btn,.chat-input .btn{flex:none}.form-actions{display:flex;gap:var(--space-8);justify-content:flex-end;margin-top:var(--space-24)}.section-header{display:flex;align-items:center;justify-content:space-between;gap:var(--space-16);margin-bottom:var(--space-24)}.section-header h2{font-size:28px;line-height:36px}.section-header p{font-size:14px;line-height:20px;color:var(--ink-muted);margin-top:var(--space-8)}.filters{display:flex;align-items:center;gap:var(--space-8);flex-wrap:wrap;margin-bottom:var(--space-24)}.filters .input{width:auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-24)}.agent-card .role,.agent-role{color:var(--ink-muted);font-size:14px;line-height:20px}.agent-card .description{color:var(--ink-muted);font-size:14px;line-height:20px}.plan-card .badge{align-self:flex-start}.theme-options{display:flex;gap:var(--space-8);flex-wrap:wrap}.chat-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:560px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-card);overflow:hidden}.chat-sidebar{border-right:1px solid var(--line);padding:var(--space-16)}.chat-conversation{display:flex;flex-direction:column;min-width:0;padding:var(--space-24)}.chat-conversation .chat-messages{display:flex;flex-direction:column;gap:var(--space-16);flex:1;padding:var(--space-16) 0;overflow:auto}.chat-list{display:flex;flex-direction:column;gap:var(--space-8)}.chat-list-item{display:flex;align-items:center;gap:var(--space-16);width:100%;min-height:72px;padding:var(--space-16);border:1px solid var(--line);border-radius:var(--radius-button);background:var(--surface);color:var(--ink);text-align:left}.chat-list-item:hover,.chat-list-item.active{background:var(--bg)}.chat-list-item strong{display:block;font-size:14px;line-height:20px}.chat-list-item small{display:block;font-size:12px;line-height:18px;color:var(--ink-muted);margin-top:var(--space-8)}.upload-area{display:flex;align-items:center;gap:var(--space-16);padding:var(--space-16);border:1px dashed var(--line-strong);border-radius:var(--radius-button);background:var(--bg)}.upload-area p{font-size:14px;line-height:20px}.upload-area small{font-size:12px;line-height:18px;color:var(--ink-muted)}
@media(min-width:768px) and (max-width:1023px){.nav-item .nav-count{font-size:12px;line-height:18px;min-width:18px;height:18px}.assistant-fab{right:var(--space-16);bottom:var(--space-16)}.chat-layout{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:767px){.assistant-fab{right:var(--space-16);bottom:calc(88px + env(safe-area-inset-bottom));padding:var(--space-8);min-height:56px;min-width:56px}.assistant-fab>span:not(.avatar),.assistant-fab>.icon{display:none}.section-header{flex-wrap:wrap;gap:var(--space-16)}.section-header h2{font-size:24px;line-height:32px}.section-header>.btn{width:100%}.form-grid{grid-template-columns:1fr;gap:var(--space-16)}.form-actions{flex-wrap:wrap;margin-top:var(--space-24)}.form-actions>.btn{flex:1}.filters .input{width:100%}.chat-layout{display:flex;flex-direction:column;min-height:0}.chat-sidebar{border-right:0;border-bottom:1px solid var(--line);padding:var(--space-16)}.chat-conversation{padding:var(--space-16)}.chat-list-item{padding:var(--space-16)}.assistant-input,.chat-input{position:sticky;bottom:0;background:var(--surface);padding-top:var(--space-8)}.upload-area{flex-wrap:wrap}.upload-area .btn{width:100%}.breadcrumbs>a:first-child,.breadcrumbs>.icon:first-of-type{display:none}.toast{bottom:calc(152px + env(safe-area-inset-bottom))}}

/* Dense workspace navigation, without changing its width. */
.sidebar{padding-top:16px;padding-bottom:16px}
.sidebar .brand{padding-bottom:20px}
.sidebar .workspace{padding:10px 12px;margin-bottom:14px}
.sidebar .nav-caption{margin-bottom:6px;font-size:10px;line-height:16px}
.sidebar nav{gap:3px}
.sidebar .nav-item{min-height:40px;padding:6px 12px;gap:12px}
.sidebar .nav-item .icon{width:20px;height:20px}
@media(max-width:767px){.sidebar .nav-item{min-height:44px}.sidebar .brand{padding-top:24px}}
button[data-save-pending]::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: .85em;
  height: .85em;
  margin-inline-end: .35em;
  vertical-align: -.08em;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  animation: save-button-spin .7s linear infinite;
}
@keyframes save-button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  button[data-save-pending]::before { animation: none; }
}
