:root{--ink:#182023;--muted:#65716e;--line:#e1e7e4;--paper:#f3f6f4;--green:#134e40;--lime:#d6f27b;--white:#fff;font:16px/1.5 Inter,Arial,sans-serif;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #76a823;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:2.4rem;letter-spacing:-.05em;line-height:1.1;margin-bottom:0}h2{font-size:1.4rem;letter-spacing:-.025em;line-height:1.25}h3{font-size:1.05rem;margin-bottom:.4rem}p{color:var(--muted)}small,.small{font-size:.85rem;color:var(--muted)}.overline{font-size:.75rem;font-weight:700;letter-spacing:.15em;display:block;margin-bottom:.8rem}.brand{display:flex;gap:12px;align-items:center;color:white;font-size:1.4rem;font-weight:700;line-height:1.15;letter-spacing:-.02em}.brand img{width:46px;height:46px;object-fit:contain;border-radius:8px}.brand-sub{display:block;font-size:.6rem;letter-spacing:.28em;margin-top:5px}.brand.dark{color:var(--ink)}.sidebar{width:244px;height:100vh;position:fixed;background:#172d28;color:#e4ede7;padding:30px 20px;display:flex;flex-direction:column;overflow-y:auto}.workspace{padding:32px 12px 22px;border-bottom:1px solid #354b44;margin-bottom:22px;overflow-wrap:anywhere}.workspace .overline{color:#a2b9ab;font-size:.7rem}.workspace strong{font-size:.95rem}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:5px;border-radius:8px;font-size:.9rem;color:#b6c9be}.nav-link:hover{background:#29443a;color:white}.nav-link.selected{background:var(--lime);color:#1c3424;font-weight:700}.nav-icon{width:20px;text-align:center;font-size:1.1rem}.sidebar-bottom{margin-top:auto;padding:30px 12px 0;font-size:.85rem}.logout{border:0;background:transparent;padding:10px 0;color:#bdd0c2;text-align:left;font-size:.85rem}.main{margin-left:244px;padding:42px 46px;max-width:1760px}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:32px}.page-head .overline{color:var(--muted);font-size:.7rem}.date{font-size:.9rem;color:var(--muted);white-space:nowrap}.welcome-banner{background:var(--green);color:white;padding:32px 36px;border-radius:14px;display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.welcome-banner .overline{color:#bbd4bf}.welcome-banner h2{font-size:1.9rem;margin-bottom:10px}.welcome-banner p{color:#c3d4cb;margin:0}.button{background:var(--green);border:1px solid transparent;border-radius:7px;padding:12px 18px;color:white;display:inline-flex;align-items:center;justify-content:center;gap:25px;font-weight:600;font-size:.9rem;line-height:1.4;white-space:normal}.button:hover{filter:brightness(1.12)}.button.light{background:var(--lime);color:#153a26}.button.subtle{background:#eef3ed;color:var(--green);border-color:#d7e3d7}.button.large{padding:17px 24px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{background:white;border:1px solid var(--line);border-radius:12px;padding:24px}.metric span{font-size:.85rem;color:var(--muted)}.metric strong{display:block;font-size:2.1rem;font-weight:600;letter-spacing:-.04em;margin:12px 0 6px;overflow-wrap:anywhere}.metric small{font-size:.8rem}.card{background:white;border:1px solid var(--line);border-radius:12px;padding:28px;min-width:0}.card h2{margin-bottom:16px}.columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.work-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:24px;align-items:start}.section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}.section-head h2{margin:0}.section-head a{font-size:.9rem;color:var(--green);font-weight:600}.list-row{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.list-row:last-child{border:0}.list-row p{margin:5px 0 0;font-size:.85rem}.badge{border-radius:5px;background:#e4f2df;color:#365527;padding:5px 9px;font-size:.75rem;display:inline-block;font-weight:600;white-space:nowrap}.badge.neutral{background:#eef1ef;color:#59665e}.accent-card{background:#e7eddc}.accent-card p{max-width:440px}.accent-card .small{margin:20px 0 0}.muted{color:var(--muted)}.empty{text-align:center;padding:42px 15px}.empty p{font-size:.9rem;max-width:360px;margin:8px auto}.empty-mark{display:inline-grid;place-items:center;width:42px;height:42px;background:#edf3e9;color:#4e6937;border-radius:50%;font-size:1.5rem;margin-bottom:16px}.count{font-size:.8rem;background:#edf3e9;border-radius:50px;padding:4px 8px;margin-left:7px;vertical-align:middle}label{display:block;font-size:.85rem;font-weight:600;margin-bottom:18px}input,select,textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid #ccd6d0;border-radius:6px;background:white;color:var(--ink);font-size:1rem;min-width:0}textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.inline-form{display:flex;align-items:end;gap:10px}.inline-form input{margin:0}.inline-form label{margin:0}.check{display:flex;gap:8px;align-items:center}.check input{width:auto;margin:0}.narrow{max-width:780px}.notice{padding:15px 20px;background:#e4f1df;border:1px solid #b6d6a9;border-radius:8px;margin-bottom:24px}.notice.error{background:#fff0ea;border-color:#eac2b3;color:#96391b}.table-wrap{width:100%;overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.9rem}th{padding:14px 10px;color:var(--muted);font-size:.75rem;font-weight:600;border-bottom:1px solid var(--line)}td{padding:18px 10px;border-bottom:1px solid var(--line)}td small{display:block;margin-top:4px}td a{color:var(--green);font-weight:600}.text-button{background:none;border:0;padding:6px 0;font-size:.8rem;color:#876f65}.order{padding:22px 0;border-bottom:1px solid var(--line)}.order:last-child{border:0}.order .section-head{margin-bottom:12px}.order p{font-size:.9rem}.order .overline{font-size:.7rem;color:var(--muted);margin-bottom:6px}.order .inline-form{margin-top:14px}.price{display:block;font-size:1.3rem}.discount{display:block;color:var(--green);font-size:1.7rem;font-weight:700;margin-bottom:6px}.chat{margin-top:30px}.bubble{padding:15px 18px;border-radius:9px;margin-bottom:12px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble.question{background:#edf2e9;margin-left:30px}.bubble.answer{border:1px solid var(--line);margin-right:30px}.chat article{margin-bottom:25px}.public-head,.public-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:1340px;margin:auto;padding:25px 40px}.public-head{border-bottom:1px solid var(--line)}.text-link{font-size:.9rem;font-weight:600;color:var(--green)}.public-main{max-width:1340px;margin:auto;padding:60px 40px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:center;padding:20px 0 40px}.hero h1{font-size:clamp(3rem,5.5vw,5.5rem);line-height:1.04;margin:22px 0 30px;font-weight:600;letter-spacing:-.06em}.hero h1 em{font-style:normal;color:var(--green)}.hero-copy p{font-size:1.1rem;max-width:460px;line-height:1.7}.secondary-link{display:block;margin-top:18px}.hero-panel{background:var(--green);color:white;border-radius:14px;padding:38px}.hero-panel .overline{color:#c5dbca;font-size:.7rem}.editorial-number{font-size:7rem;line-height:1;letter-spacing:-.09em;border-bottom:1px solid #487060;padding:10px 0 30px;color:var(--lime)}.editorial-number span{font-size:.65rem;letter-spacing:.1em;padding-left:20px;color:#c5dbca}.hero-panel h2{font-size:2rem;margin:32px 0}.hero-row{display:flex;justify-content:space-between;border-top:1px solid #487060;padding:18px 0;font-size:.9rem}.hero-panel .small{color:#b8cebf;margin:18px 0 0}.public-footer{font-size:.8rem;color:var(--muted);border-top:1px solid var(--line)}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start;max-width:1100px;margin:0 auto}.auth-intro{padding-top:50px}.auth-intro h1{font-size:3.8rem;line-height:1.06;margin:28px 0}.auth-intro p{font-size:1.1rem;max-width:390px}.auth-card{padding:35px}.auth-card .button{width:100%}.auth-card a{text-decoration:underline}.auth-card .small{margin-top:20px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:1500px){.main{padding:50px 65px}}@media(max-width:1100px){.main{padding:30px 24px}.sidebar{width:210px;padding:24px 16px}.main{margin-left:210px}.work-grid{grid-template-columns:1fr}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.hero,.auth-grid{gap:35px}.columns{grid-template-columns:1fr}.hero-panel{padding:28px}}@media(max-width:720px){.sidebar{position:static;height:auto;width:100%;padding:18px}.sidebar .brand{font-size:1rem}.sidebar .brand img{width:35px;height:35px}.workspace{padding:16px 0 10px;margin:0;border:0}.workspace .overline{display:none}.sidebar nav{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.nav-link{padding:9px 10px;font-size:.8rem;margin:0}.nav-icon{display:none}.sidebar-bottom{padding:10px 0 0;display:flex;justify-content:space-between;align-items:center}.sidebar-bottom .logout{padding:0}.main{margin:0;padding:25px 16px}.page-head{margin-bottom:22px}.page-head h1{font-size:2rem}.date{font-size:.75rem}.welcome-banner{padding:25px;display:block}.welcome-banner h2{font-size:1.5rem}.welcome-banner .button{margin-top:20px}.metric{padding:18px}.metric strong{font-size:1.7rem}.card{padding:20px}.section-head{flex-wrap:wrap}.form-grid{grid-template-columns:1fr}.public-head,.public-footer{padding:20px}.public-main{padding:30px 20px}.hero,.auth-grid{grid-template-columns:1fr;gap:35px}.hero{padding:0}.hero h1{font-size:3.7rem}.hero-panel{padding:28px}.hero-panel h2{font-size:1.8rem}.auth-intro{padding-top:0}.auth-intro h1{font-size:2.7rem;margin:15px 0}.auth-intro p{font-size:1rem}.auth-grid{gap:20px}.public-footer{margin-top:20px;align-items:start}.inline-form{flex-wrap:wrap}.inline-form input{width:auto;max-width:100%}.list-row{flex-wrap:wrap}}
/* NC AI · blanco y negro */
:root{--ink:#101112;--muted:#62666b;--green:#111;--lime:#fff;--bg:#f5f5f5;--line:#dedede}body{background:#f6f6f6;color:#111}.sidebar{background:#101112;color:#fff}.nav-link{color:#ccc}.nav-link.selected{background:#fff;color:#111}.brand,.sidebar-bottom{color:inherit}.button{background:#111;color:#fff;border:1px solid #111}.button.light{background:#fff;color:#111}.button.subtle{background:#f3f3f3;color:#111;border:1px solid #ddd}.welcome-banner,.hero-panel{background:#111;color:#fff}.hero h1 em{color:#6c7075}.accent-card{background:#ececec}.badge{background:#ededed;color:#222}.notice{background:#ededed;border-color:#ccc;color:#111}.error{background:#fff0f0;color:#9b1c1c}.empty-mark{background:#eee;color:#333}input:focus,textarea:focus,select:focus{outline-color:#555}.landing-section{padding:65px 0;scroll-margin-top:30px}.landing-section h2{font-size:clamp(30px,4vw,50px);letter-spacing:-1.5px;line-height:1.12}.pricing{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.price-card{display:flex;flex-direction:column;margin:0}.price-card.featured{border:2px solid #111}.price-card h3{font-size:30px}.price{font-size:39px;letter-spacing:-1px}.price small{font-size:15px;letter-spacing:0;font-weight:400}.price-card ul{padding-left:20px;line-height:2;flex:1}.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.steps article{border-top:2px solid #111;padding-top:15px}.hero-panel .bubble.answer{background:#2b2b2b;color:#fff}.hero-panel .bubble.question{background:#fff;color:#111}.card form+form{margin-top:15px}code{overflow-wrap:anywhere}details{min-width:200px;padding:10px 0}.sidebar nav{max-height:60vh;overflow:auto}.public-footer{gap:20px}.chat{max-height:600px;overflow:auto}@media(max-width:900px){.pricing{grid-template-columns:1fr}.steps{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar nav{max-height:none}.landing-section{padding:35px 0}}@media(max-width:500px){.steps{grid-template-columns:1fr}.price{font-size:32px}}

:root{--paper:#f5f5f5}a:focus-visible,button:focus-visible{outline-color:#555}.hero-panel p,.welcome-banner p{color:#d3d3d3}.hero-panel .small{color:#bdbdbd}.landing-section .card h2{font-size:1.7rem}.price-card .button{width:100%;text-align:center}.main>.notice{margin-bottom:20px}

/* Separación de acciones, incluso cuando pertenecen a formularios distintos. */
.card > form + form,
.card > .button + form,
.card > form + .button,
.card > .button + .button{margin-top:16px}
.card > form + p,
.card > form + .small{margin-top:16px}
.card > form > .button + .button{margin-left:12px}
.main > .columns + .card,
.main > .card + .card{margin-top:24px}
.button{max-width:100%;text-align:center}
@media(max-width:540px){
.card > .button,
.card > form > .button{width:100%}
.card > form > .button + .button{margin-left:0;margin-top:12px}
}

/* Paneles negros y acciones separadas. */
.sidebar{background:#080808}.workspace{border-color:#343434}.workspace .overline,.nav-link,.logout{color:#c9c9c9}.nav-link:hover{background:#262626}.nav-link.selected{background:#fff;color:#111}
.main .card,.main .metric,.main .welcome-banner,.public-main .card,.hero-panel{background:#111;color:#f5f5f5;border-color:#333;--ink:#f5f5f5;--muted:#bdbdbd;--line:#383838}
.card p,.card small,.card .small,.metric span,.metric small,.card .muted,.card th{color:#bdbdbd}
.card input,.card select,.card textarea{background:#202020;color:#fff;border-color:#555;color-scheme:dark}
.card .button,.main .welcome-banner .button{background:#fff;color:#111;border-color:#fff}
.card .button.subtle{background:#292929;color:#fff;border-color:#666}
.card .badge,.card .empty-mark{background:#303030;color:#eee}.card .bubble.answer{background:#202020;color:#eee}.card .bubble.question{background:#333;color:#fff}
.card .section-head a,.card td a,.card .text-link,.card .discount{color:#eee}
.card form + form,.card .button + form,.card form + .button,.card .button + .button{margin-top:18px}
.card form + p{margin-top:18px}.test-account-card{margin-bottom:24px}.test-account-card summary{cursor:pointer;font-weight:600;padding:8px 0}.test-account-card details[open] summary{margin-bottom:18px}

/* ============================================================
   TEMA BLANCO DASHBOARD — NC AI  (agregado)
   Blanco dominante, negro como acento. Solo afecta el panel
   logueado (.main); la web pública y el login quedan igual.
   PARA REVERTIR: borrá desde este comentario hasta el final.
   ============================================================ */
.main{background:#f7f7f8}
.main .card,.main .metric{background:#fff;color:#141414;border-color:#e8e8ea;--ink:#141414;--muted:#6b6f76;--line:#ececee}
.main .card p,.main .card small,.main .card .small,.main .card .muted,.main .card th,.main .metric span,.main .metric small{color:#6b6f76}
.main .card input,.main .card select,.main .card textarea{background:#fff;color:#141414;border-color:#d5d8dc;color-scheme:light}
.main .card .button{background:#141414;color:#fff;border-color:#141414}
.main .card .button.subtle{background:#f2f3f4;color:#141414;border-color:#dfe1e4}
.main .card .badge,.main .card .badge.neutral,.main .card .empty-mark,.main .card .count{background:#f0f0f0;color:#333}
.main .card .badge.neutral{color:#6b6f76}
.main .card .section-head a,.main .card td a,.main .card .text-link,.main .card .discount{color:#141414;font-weight:700}
.main .card .bubble.answer{background:#f4f4f5;color:#141414;border-color:#e8e8ea}
.main .card .bubble.question{background:#ebebec;color:#141414}
.main .accent-card{background:#f0f1f2;color:#141414}
.main .test-account-card{background:#fff;color:#141414}
.main .test-account-card summary{color:#141414}
.main .notice{background:#f3f3f4;border-color:#dcdcdc;color:#141414}
.main .notice.error{background:#fff0ea;border-color:#eac2b3;color:#96391b}
/* Banner de bienvenida: único acento negro, el resto manda el blanco */
.main .welcome-banner{background:#141414;color:#fff;border:0}
.main .welcome-banner .overline{color:#c9c9c9}
.main .welcome-banner p{color:#d3d3d3}
.main .welcome-banner .button.light{background:#fff;color:#141414;border-color:#fff}
/* Panel del Asistente IA embebido */
.ai-embed-card{padding:0;overflow:hidden}
.ai-embed{position:relative;width:100%;height:74vh;min-height:520px;background:#fff}
.ai-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.ai-embed-card .small{padding:14px 20px;margin:0}
/* Miniaturas de producto (agregado) */
.prod-cell{display:flex;align-items:center;gap:12px}
.prod-cell span{display:flex;flex-direction:column}
.prod-thumb{width:46px;height:46px;object-fit:cover;border-radius:8px;border:1px solid #e6e6e8;background:#fafafa;flex:0 0 auto}
.prod-thumb-edit{display:flex;align-items:center;gap:14px;margin:0 0 18px}
.prod-thumb-edit img{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid #e6e6e8}
.prod-thumb-edit .check{margin:0}
/* Credenciales por negocio (Owner) */
.cred-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #ececee}
.cred-row:last-of-type{border-bottom:0}
.dup-badge{background:#ffe0e0;color:#a11}
.text-button.danger{color:#a11;font-weight:700}
/* ===== GRIS dashboard (agregado) ===== */
.main{background:#eceef1}
.main .card,.main .metric{box-shadow:0 1px 3px rgba(15,23,42,.05)}
.main .overline{color:#6b7280}
.main .prod-thumb,.prod-thumb-edit img{background:#f3f4f6}


/* ============================================================
   NC AI BUSINESS · PREMIUM EXECUTIVE UI · V41.9
   Dashboard Owner + Cliente. Visual layer only.
   ============================================================ */
:root{
  --nc-bg:#f4f6f8;
  --nc-panel:#ffffff;
  --nc-ink:#101828;
  --nc-muted:#667085;
  --nc-subtle:#98a2b3;
  --nc-line:#e4e7ec;
  --nc-line-2:#eef0f3;
  --nc-dark:#0b0f14;
  --nc-dark-2:#141922;
  --nc-success:#16815f;
  --nc-success-bg:#ecf8f3;
  --nc-danger:#b42318;
}
body.app-shell{
  background:var(--nc-bg);
  color:var(--nc-ink);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
.app-shell .sidebar{
  width:264px;
  background:linear-gradient(180deg,#090c10 0%,#0d1117 100%);
  border-right:1px solid rgba(255,255,255,.06);
  padding:27px 18px 22px;
}
.app-shell .sidebar .brand{padding:0 10px 18px;font-size:20px;letter-spacing:-.02em}
.app-shell .sidebar .brand img{width:48px;height:48px;border-radius:11px;box-shadow:0 10px 25px rgba(0,0,0,.28)}
.app-shell .workspace{margin:0 7px 18px;padding:20px 10px 17px;border-bottom:1px solid rgba(255,255,255,.09)}
.app-shell .workspace .overline{font-size:9px;letter-spacing:.18em;color:#7f8997;margin-bottom:8px}
.app-shell .workspace strong{display:block;color:#fff;font-size:14px;line-height:1.35}
.app-shell .sidebar nav{max-height:none;padding:3px 0}
.app-shell .nav-link{
  position:relative;margin:2px 0;padding:11px 12px;border-radius:10px;color:#a8b0bd;font-size:13px;font-weight:560;transition:.16s ease;
}
.app-shell .nav-link:hover{background:rgba(255,255,255,.055);color:#fff}
.app-shell .nav-link.selected{background:#f8fafc;color:#111827;font-weight:720;box-shadow:0 5px 16px rgba(0,0,0,.16)}
.app-shell .nav-icon{font-size:14px;width:18px;opacity:.9}
.app-shell .sidebar-bottom{margin:18px 8px 0;padding:20px 8px 0;border-top:1px solid rgba(255,255,255,.08);color:#e3e7ec}
.app-shell .logout{color:#9aa4b2}
.app-shell .main{margin-left:264px;padding:38px 44px 60px;max-width:none;background:var(--nc-bg);min-height:100vh}
.app-shell .page-head{margin-bottom:30px;padding-bottom:22px;border-bottom:1px solid #e5e7eb}
.app-shell .page-head h1{font-size:34px;font-weight:760;letter-spacing:-.045em;color:#101828}
.app-shell .page-head .overline{font-size:9px;letter-spacing:.16em;color:#8b95a4;margin-bottom:8px}
.app-shell .date{font-size:12px;color:#7c8796;background:#fff;border:1px solid #e4e7ec;padding:8px 11px;border-radius:10px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.app-shell .main .card,.app-shell .main .metric{
  background:#fff;color:#101828;border:1px solid #e4e7ec;border-radius:18px;
  box-shadow:0 1px 2px rgba(16,24,40,.025),0 8px 24px rgba(16,24,40,.035);
}
.app-shell .main .card{padding:28px}
.app-shell .main .card h2{font-size:20px;letter-spacing:-.025em;color:#101828;margin-bottom:13px}
.app-shell .main .card h3{color:#101828}
.app-shell .main .card p,.app-shell .main .card small,.app-shell .main .card .small,.app-shell .main .card .muted,.app-shell .main .metric span,.app-shell .main .metric small{color:#667085}
.app-shell .overline{font-size:9px;letter-spacing:.15em;color:#8b95a4;font-weight:800}
.app-shell .welcome-banner.executive-hero{
  position:relative;overflow:hidden;background:linear-gradient(135deg,#0a0e13 0%,#141b25 100%);border:1px solid rgba(255,255,255,.08);
  border-radius:22px;padding:34px 36px;margin-bottom:24px;box-shadow:0 18px 44px rgba(15,23,42,.12);
}
.app-shell .welcome-banner.executive-hero:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-115px;top:-190px;background:radial-gradient(circle,rgba(255,255,255,.14),rgba(255,255,255,0) 67%);pointer-events:none}
.app-shell .welcome-banner.executive-hero h2{font-size:30px;letter-spacing:-.04em;margin:4px 0 9px;color:#fff}
.app-shell .welcome-banner.executive-hero p{font-size:14px;color:#b6c0cc;max-width:690px}
.app-shell .welcome-banner.executive-hero .overline{color:#8995a5}
.app-shell .hero-status{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:11px;color:#aeb8c4;flex-wrap:wrap}
.app-shell .status-dot{display:inline-block;width:8px;height:8px;border-radius:999px;background:#39c58b;box-shadow:0 0 0 4px rgba(57,197,139,.10);vertical-align:middle;margin-right:2px}
.app-shell .hero-separator{color:#596474}
.app-shell .hero-actions{position:relative;z-index:2;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.app-shell .welcome-banner .button.light{background:#fff;color:#0b0f14;border-color:#fff;border-radius:11px;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.app-shell .button.ghost-light{background:rgba(255,255,255,.06);color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:11px}
.app-shell .button{
  border-radius:10px;padding:11px 16px;background:#101828;color:#fff;border:1px solid #101828;font-size:13px;font-weight:680;transition:.16s ease;gap:10px;
}
.app-shell .button:hover{filter:none;transform:translateY(-1px);box-shadow:0 8px 18px rgba(16,24,40,.10)}
.app-shell .button.subtle{background:#fff;color:#344054;border-color:#dfe3e8}
.app-shell .button.subtle:hover{background:#f8fafc;border-color:#cfd5dd}
.app-shell .dashboard-section-head{margin:28px 0 16px}
.app-shell .dashboard-section-head h2{font-size:22px;letter-spacing:-.025em}
.app-shell .date-filter{background:#fff;border:1px solid #e4e7ec;border-radius:12px;padding:5px;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.app-shell .date-filter input{border:0;margin:0;background:transparent;padding:8px 10px;min-width:150px}
.app-shell .date-filter .button{margin:0;padding:9px 13px;background:#f5f6f8}
.app-shell .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:24px}
.app-shell .dashboard-kpis .metric{position:relative;padding:21px 22px;min-height:132px;overflow:hidden}
.app-shell .dashboard-kpis .metric:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#dfe3e8}
.app-shell .dashboard-kpis .metric:nth-child(4n+1):before{background:#101828}
.app-shell .dashboard-kpis .metric:nth-child(4n+2):before{background:#667085}
.app-shell .dashboard-kpis .metric:nth-child(4n+3):before{background:#98a2b3}
.app-shell .dashboard-kpis .metric:nth-child(4n+4):before{background:#16815f}
.app-shell .dashboard-kpis .metric span{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#7b8492}
.app-shell .dashboard-kpis .metric strong{font-size:29px;font-weight:760;letter-spacing:-.045em;margin:14px 0 7px;color:#101828}
.app-shell .dashboard-kpis .metric small{font-size:11px;color:#98a2b3}
.app-shell .dashboard-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.8fr);gap:18px;align-items:start}
.app-shell .dashboard-panel{border-radius:18px}
.app-shell .dashboard-panel .section-head{margin-bottom:9px}
.app-shell .executive-row{padding:16px 0}
.app-shell .executive-row>div:first-child{display:flex;align-items:center;gap:12px}
.app-shell .avatar-mark{display:grid;place-items:center;width:37px;height:37px;border-radius:11px;background:#f1f3f6;color:#344054;border:1px solid #e4e7ec;font-size:12px;font-weight:800;flex:0 0 auto}
.app-shell .badge{border-radius:999px;padding:5px 9px;background:#f2f4f7;color:#475467;font-size:10px;font-weight:700;border:1px solid #eaecf0}
.app-shell .badge.status-live{background:#ecf8f3;color:#13795b;border-color:#d6f0e5}
.app-shell .count{background:#f2f4f7;color:#475467;border:1px solid #eaecf0}
.app-shell .control-panel{background:linear-gradient(180deg,#fff 0%,#fbfcfd 100%)}
.app-shell .control-links{margin-top:18px;border-top:1px solid #eef0f3}
.app-shell .control-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 0;border-bottom:1px solid #eef0f3;font-size:13px}
.app-shell .control-links a:last-child{border-bottom:0}
.app-shell .control-links span{color:#667085}.app-shell .control-links strong{font-size:12px;color:#101828}
.app-shell .ai-manager-panel{margin-bottom:18px;background:linear-gradient(135deg,#fff,#fafbfc)}
.app-shell .ai-manager-panel h2{font-size:22px}
.app-shell .client-bottom{grid-template-columns:minmax(0,1fr) minmax(320px,.86fr)}
.app-shell .setup-panel{background:linear-gradient(145deg,#111827,#0b0f14)!important;color:#fff!important;border-color:#111827!important}
.app-shell .setup-panel h2{color:#fff!important;font-size:24px!important}.app-shell .setup-panel p{color:#b8c0cb!important}.app-shell .setup-panel .overline{color:#7e8a9a!important}
.app-shell .setup-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.app-shell .setup-panel .button{background:#fff!important;color:#101828!important;border-color:#fff!important}.app-shell .setup-panel .button.subtle{background:rgba(255,255,255,.07)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}
.app-shell .setup-panel .small{margin-top:20px!important;color:#9ca7b5!important}
.app-shell .row-arrow{color:#98a2b3;font-weight:500;margin-left:4px}
.app-shell .main .list-row{padding:16px 0;border-color:#eef0f3}
.app-shell .main .list-row:hover{background:linear-gradient(90deg,rgba(247,248,250,.0),rgba(247,248,250,.7));}
.app-shell .main .section-head a,.app-shell .main .card td a,.app-shell .main .card .text-link{color:#344054;font-weight:700}
.app-shell .main .card input,.app-shell .main .card select,.app-shell .main .card textarea{background:#fff;color:#101828;border:1px solid #dfe3e8;border-radius:10px;padding:11px 12px;box-shadow:0 1px 2px rgba(16,24,40,.025)}
.app-shell .main .card input:focus,.app-shell .main .card select:focus,.app-shell .main .card textarea:focus{border-color:#98a2b3;outline:3px solid rgba(152,162,179,.12)}
.app-shell .table-wrap{border:1px solid #e7eaee;border-radius:14px;overflow:auto;background:#fff}
.app-shell table{font-size:13px}.app-shell th{background:#f8f9fb;padding:12px 14px;font-size:10px;text-transform:uppercase;letter-spacing:.07em;color:#7b8492;border-color:#e9ecf0}.app-shell td{padding:15px 14px;border-color:#eef0f3}.app-shell tbody tr:hover{background:#fafbfc}
.app-shell .notice{border-radius:12px;background:#f8fafc;border-color:#e1e5ea;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.03)}
.app-shell .notice.error{background:#fff6f4;border-color:#f2d7d1;color:#a13a2d}
.app-shell details{border-radius:10px}.app-shell details summary{cursor:pointer;color:#344054}
.app-shell .test-account-card{margin-bottom:20px}.app-shell .test-account-card details{padding:0}.app-shell .test-account-card summary{padding:0}
.app-shell .empty-mark{background:#f2f4f7;color:#475467;border:1px solid #e4e7ec}
.app-shell .bubble.answer{background:#f6f7f9!important;color:#101828!important;border-color:#e4e7ec!important}.app-shell .bubble.question{background:#101828!important;color:#fff!important}
@media(max-width:1180px){.app-shell .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .dashboard-layout,.app-shell .client-bottom{grid-template-columns:1fr}}
@media(max-width:900px){.app-shell .sidebar{width:220px}.app-shell .main{margin-left:220px;padding:30px 24px}.app-shell .welcome-banner.executive-hero{padding:28px}.app-shell .dashboard-kpis .metric{min-height:118px}}
@media(max-width:720px){.app-shell .sidebar{position:static;width:100%;height:auto}.app-shell .main{margin-left:0;padding:24px 15px 50px}.app-shell .page-head{padding-bottom:17px}.app-shell .page-head h1{font-size:28px}.app-shell .welcome-banner.executive-hero{display:block;padding:24px}.app-shell .hero-actions{margin-top:18px}.app-shell .dashboard-kpis{grid-template-columns:1fr 1fr;gap:10px}.app-shell .dashboard-kpis .metric{padding:17px;min-height:108px}.app-shell .dashboard-kpis .metric strong{font-size:24px}.app-shell .dashboard-section-head{align-items:flex-start}.app-shell .date-filter{width:100%}.app-shell .date-filter input{flex:1}.app-shell .dashboard-panel{padding:21px}}
@media(max-width:480px){.app-shell .dashboard-kpis{grid-template-columns:1fr}.app-shell .hero-actions .button{width:100%}.app-shell .setup-actions .button{width:100%}}

/* ============================================================
   NC AI BUSINESS · V42 COOL UI
   Visual layer only. No business logic changes.
   ============================================================ */
:root{
  --v42-bg:#f5f6fb;
  --v42-panel:#ffffff;
  --v42-ink:#171927;
  --v42-muted:#737b8d;
  --v42-subtle:#9aa2b2;
  --v42-line:#e5e8f0;
  --v42-brand:#625df5;
  --v42-brand-2:#8a5cf6;
  --v42-brand-soft:#efefff;
  --v42-cyan:#16a896;
  --v42-shadow:0 10px 30px rgba(30,38,68,.055);
  --v42-shadow-lg:0 24px 58px rgba(30,38,68,.10);
}
body.app-shell,body.auth-shell{font-family:'Manrope','Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--v42-ink);background:var(--v42-bg);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.app-shell ::selection,body.auth-shell ::selection{background:#dfe2ff;color:#282363}

/* SIDEBAR — white, airy and product-like */
.app-shell .sidebar{
  width:252px;
  padding:24px 16px 18px;
  background:rgba(255,255,255,.96);
  color:#353949;
  border-right:1px solid var(--v42-line);
  box-shadow:8px 0 28px rgba(35,42,73,.025);
  backdrop-filter:blur(16px);
}
.app-shell .sidebar .brand{padding:2px 10px 17px;color:#171927;font-size:19px;font-weight:850;letter-spacing:-.035em}
.app-shell .sidebar .brand img{width:46px;height:46px;border-radius:13px;box-shadow:0 8px 20px rgba(25,28,43,.13)}
.app-shell .brand-sub{color:#7d8495;font-size:.52rem;letter-spacing:.27em;font-weight:800}
.app-shell .workspace{margin:0 5px 16px;padding:17px 10px 16px;border-top:1px solid #f0f1f5;border-bottom:1px solid #eef0f4}
.app-shell .workspace .overline{font-size:8px;letter-spacing:.18em;color:#a0a7b5;margin-bottom:7px}
.app-shell .workspace strong{display:block;color:#2a2d3b;font-size:13px;line-height:1.4}
.app-shell .sidebar nav{padding:0 1px}
.app-shell .nav-link{position:relative;margin:3px 0;padding:11px 12px;border-radius:12px;color:#6d7486;font-size:12px;font-weight:670;transition:.16s ease}
.app-shell .nav-link:hover{background:#f6f7fb;color:#2c3040;transform:translateX(2px)}
.app-shell .nav-link.selected{background:linear-gradient(135deg,#efefff 0%,#f4f0ff 100%);color:#4c47be;font-weight:800;box-shadow:inset 0 0 0 1px #e4e2ff}
.app-shell .nav-link.selected:before{content:"";position:absolute;left:-1px;top:10px;bottom:10px;width:3px;border-radius:3px;background:linear-gradient(#625df5,#8a5cf6)}
.app-shell .nav-icon{width:19px;font-size:13px;color:inherit;opacity:.9}
.app-shell .sidebar-bottom{margin:18px 6px 0;padding:18px 8px 0;border-top:1px solid #eceef3;color:#414657;font-size:12px}
.app-shell .logout{color:#9299a8;font-size:11px}

/* MAIN */
.app-shell .main{margin-left:252px;padding:34px 40px 62px;max-width:none;min-height:100vh;background:radial-gradient(circle at 88% -8%,rgba(110,102,245,.08),transparent 31%),var(--v42-bg)}
.app-shell .page-head{margin-bottom:26px;padding:1px 1px 20px;border-bottom:1px solid #e3e6ef}
.app-shell .page-head h1{margin:2px 0 0;color:#1a1d2a;font-size:34px;font-weight:850;letter-spacing:-.055em}
.app-shell .page-head .overline{margin-bottom:7px;color:#9da4b3;font-size:8px;letter-spacing:.16em;font-weight:850}
.app-shell .date{padding:8px 11px;border-radius:11px;background:rgba(255,255,255,.86);color:#848b9b;border:1px solid #e3e6ee;box-shadow:0 4px 16px rgba(35,42,73,.035);font-size:10px;font-weight:650}

/* HERO */
.app-shell .welcome-banner.executive-hero{
  position:relative;overflow:hidden;isolation:isolate;
  padding:34px 36px;margin-bottom:22px;border:0;border-radius:26px;
  background:linear-gradient(125deg,#393683 0%,#5f59dc 47%,#7067f7 72%,#7b70f8 100%);
  box-shadow:0 24px 55px rgba(83,77,206,.20);
}
.app-shell .welcome-banner.executive-hero:before{content:"";position:absolute;z-index:-1;width:310px;height:310px;border-radius:50%;right:5%;top:-205px;background:radial-gradient(circle,rgba(255,255,255,.32),rgba(255,255,255,0) 66%)}
.app-shell .welcome-banner.executive-hero:after{content:"";position:absolute;z-index:-1;width:420px;height:420px;border-radius:50%;right:-205px;bottom:-305px;background:radial-gradient(circle,rgba(54,220,201,.30),rgba(54,220,201,0) 66%)}
.app-shell .welcome-banner.executive-hero h2{margin:3px 0 9px;color:#fff;font-size:31px;font-weight:820;letter-spacing:-.045em}
.app-shell .welcome-banner.executive-hero p{max-width:720px;margin:0;color:#e0e1f5;font-size:13px;line-height:1.6}
.app-shell .welcome-banner.executive-hero .overline{color:#c9c8ee;font-size:8px;letter-spacing:.14em}
.app-shell .hero-status{display:flex;align-items:center;gap:8px;margin-top:18px;color:#dcddf2;font-size:10px;flex-wrap:wrap}.app-shell .hero-separator{color:#a9a8d6}
.app-shell .status-dot{width:7px;height:7px;background:#59ddb0;box-shadow:0 0 0 4px rgba(89,221,176,.13)}
.app-shell .hero-actions{position:relative;z-index:3;display:flex;gap:9px;flex-wrap:wrap;align-items:center}
.app-shell .welcome-banner .button.light{background:#fff;color:#393683;border-color:#fff;border-radius:13px;box-shadow:0 10px 22px rgba(32,28,91,.14)}
.app-shell .button.ghost-light{background:rgba(255,255,255,.10);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:13px;backdrop-filter:blur(8px)}

/* GENERAL BUTTONS */
.app-shell .button{padding:10px 15px;border-radius:11px;background:linear-gradient(135deg,#504bd0,#6861ef);color:#fff;border:1px solid transparent;font-size:12px;font-weight:760;gap:9px;transition:.16s ease;box-shadow:0 7px 16px rgba(81,76,201,.12)}
.app-shell .button:hover{filter:none;transform:translateY(-1px);box-shadow:0 12px 23px rgba(81,76,201,.18)}
.app-shell .button.subtle{background:#fff;color:#52586a;border-color:#dfe3ec;box-shadow:0 3px 10px rgba(31,38,68,.035)}
.app-shell .button.subtle:hover{background:#fafaff;border-color:#d7d5fa;color:#4d48bd}

/* CARDS */
.app-shell .main .card,.app-shell .main .metric{background:rgba(255,255,255,.96);color:var(--v42-ink);border:1px solid var(--v42-line);border-radius:21px;box-shadow:var(--v42-shadow)}
.app-shell .main .card{padding:26px}
.app-shell .main .card h2{margin-bottom:12px;color:#202331;font-size:20px;font-weight:800;letter-spacing:-.035em}
.app-shell .main .card h3{color:#202331}.app-shell .main .card p,.app-shell .main .card small,.app-shell .main .card .small,.app-shell .main .card .muted,.app-shell .main .metric span,.app-shell .main .metric small{color:#777f91}
.app-shell .overline{color:#9aa2b1;font-size:8px;letter-spacing:.15em;font-weight:850}

/* KPI CARDS */
.app-shell .dashboard-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:22px}
.app-shell .dashboard-kpis .metric{position:relative;min-height:130px;padding:20px 21px;overflow:hidden;transition:.18s ease}
.app-shell .dashboard-kpis .metric:hover{transform:translateY(-3px);box-shadow:0 17px 34px rgba(31,38,69,.085)}
.app-shell .dashboard-kpis .metric:before{content:"";position:absolute;left:19px;top:18px;width:29px;height:4px;border-radius:999px;background:linear-gradient(90deg,#625df5,#9680ff)}
.app-shell .dashboard-kpis .metric:nth-child(4n+2):before{background:linear-gradient(90deg,#3c87f6,#64b2ff)}
.app-shell .dashboard-kpis .metric:nth-child(4n+3):before{background:linear-gradient(90deg,#f08f5f,#f6bd6d)}
.app-shell .dashboard-kpis .metric:nth-child(4n+4):before{background:linear-gradient(90deg,#16a896,#5ed6bd)}
.app-shell .dashboard-kpis .metric span{display:block;margin-top:19px;color:#8991a2;font-size:9px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.app-shell .dashboard-kpis .metric strong{display:block;margin:8px 0 5px;color:#202331;font-size:29px;font-weight:840;letter-spacing:-.055em}
.app-shell .dashboard-kpis .metric small{font-size:10px;color:#a0a7b4}

/* SECTIONS */
.app-shell .dashboard-section-head{margin:26px 0 15px}.app-shell .dashboard-section-head h2{font-size:21px;font-weight:800;letter-spacing:-.03em;color:#252837}
.app-shell .date-filter{padding:4px;border-radius:12px;background:#fff;border:1px solid #e1e4ec;box-shadow:0 4px 14px rgba(31,38,68,.03)}
.app-shell .date-filter input{min-width:150px;margin:0;padding:8px 9px;border:0;background:transparent;color:#596173}.app-shell .date-filter .button{margin:0;padding:8px 12px}
.app-shell .dashboard-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,.8fr);gap:16px;align-items:start}.app-shell .dashboard-panel{border-radius:21px}.app-shell .dashboard-panel .section-head{margin-bottom:7px}
.app-shell .executive-row{padding:15px 0}.app-shell .executive-row>div:first-child{display:flex;align-items:center;gap:12px}
.app-shell .avatar-mark{display:grid;place-items:center;width:38px;height:38px;flex:0 0 auto;border-radius:12px;background:linear-gradient(135deg,#efefff,#e7ebff);color:#544fc9;border:1px solid #e1e0ff;font-size:11px;font-weight:850}
.app-shell .badge{padding:5px 9px;border-radius:999px;background:#f2f4f8;color:#6c7484;border:1px solid #e9ebf1;font-size:9px;font-weight:800}.app-shell .badge.status-live{background:#eaf8f3;color:#158061;border-color:#d4efe4}.app-shell .count{background:#f0efff;color:#5550c7;border:1px solid #e2e0ff}
.app-shell .control-panel{background:linear-gradient(180deg,#fff 0%,#fafaff 100%)}.app-shell .control-links{margin-top:16px;border-top:1px solid #eef0f4}.app-shell .control-links a{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #eef0f4;font-size:12px}.app-shell .control-links a:last-child{border-bottom:0}.app-shell .control-links a:hover strong{color:#5550c7}.app-shell .control-links span{color:#7a8293}.app-shell .control-links strong{color:#303442;font-size:11px}
.app-shell .ai-manager-panel{margin-bottom:16px;background:linear-gradient(135deg,#fff 0%,#f7f5ff 100%)!important;border-color:#e2e0fb!important}.app-shell .ai-manager-panel h2{font-size:21px}
.app-shell .client-bottom{grid-template-columns:minmax(0,1fr) minmax(320px,.86fr)}
.app-shell .setup-panel{position:relative;overflow:hidden;background:linear-gradient(145deg,#f3f2ff,#edf1ff)!important;color:#262941!important;border-color:#deddf8!important}.app-shell .setup-panel:after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;right:-90px;bottom:-135px;background:radial-gradient(circle,rgba(119,107,255,.18),rgba(119,107,255,0) 68%);pointer-events:none}.app-shell .setup-panel h2{color:#282b42!important;font-size:23px!important}.app-shell .setup-panel p{color:#737b93!important}.app-shell .setup-panel .overline{color:#7773b8!important}.app-shell .setup-actions{position:relative;z-index:2;display:flex;gap:9px;flex-wrap:wrap;margin-top:19px}.app-shell .setup-panel .button{background:linear-gradient(135deg,#504bd0,#6861ef)!important;color:#fff!important;border-color:transparent!important}.app-shell .setup-panel .button.subtle{background:#fff!important;color:#5d59c7!important;border-color:#dbdaf6!important}.app-shell .setup-panel .small{margin-top:18px!important;color:#838ba0!important}
.app-shell .row-arrow{color:#6c67d7;font-weight:700;margin-left:4px}

/* LISTS, TABLES, INPUTS */
.app-shell .main .list-row{padding:15px 0;border-color:#edf0f4}.app-shell .main .list-row:hover{background:linear-gradient(90deg,transparent,#fafaff 70%,transparent)}
.app-shell .main .section-head a,.app-shell .main .card td a,.app-shell .main .card .text-link{color:#5b56ce;font-weight:750}
.app-shell .main .card input,.app-shell .main .card select,.app-shell .main .card textarea{padding:11px 12px;border-radius:11px;background:#fff;color:#262a39;border:1px solid #dde1ea;box-shadow:0 1px 2px rgba(31,38,68,.02)}
.app-shell .main .card input:focus,.app-shell .main .card select:focus,.app-shell .main .card textarea:focus{border-color:#aaa6ef;outline:3px solid rgba(98,93,245,.10)}
.app-shell .table-wrap{border:1px solid #e4e7ef;border-radius:16px;overflow:auto;background:#fff}.app-shell table{font-size:12px}.app-shell th{padding:12px 14px;background:#f8f9fc;color:#9299a8;border-color:#e9ebf1;font-size:9px;text-transform:uppercase;letter-spacing:.08em}.app-shell td{padding:14px;border-color:#edf0f4}.app-shell tbody tr:hover{background:#fafaff}
.app-shell .notice{padding:14px 17px;border-radius:13px;background:#f6f7fb;border-color:#e1e5ed;color:#4f5668;box-shadow:0 3px 10px rgba(31,38,68,.025)}.app-shell .notice.error{background:#fff5f3;border-color:#f1d7d1;color:#a13f32}
.app-shell details{border-radius:11px}.app-shell details summary{color:#545b6d}.app-shell .empty-mark{background:#f0efff;color:#5b56cf;border:1px solid #e2e0ff}
.app-shell .bubble.answer{background:#f7f7fb!important;color:#252938!important;border-color:#e5e7ef!important}.app-shell .bubble.question{background:linear-gradient(135deg,#514cd1,#6861ef)!important;color:#fff!important;border:0!important}

/* AUTH / LOGIN */
body.auth-shell{background:radial-gradient(circle at 12% 0%,rgba(107,99,246,.11),transparent 28%),radial-gradient(circle at 95% 18%,rgba(45,190,172,.08),transparent 25%),#f7f8fc}
.auth-shell .public-head{background:rgba(255,255,255,.78);border-bottom:1px solid #e4e7ef;backdrop-filter:blur(14px)}
.auth-shell .public-head .brand.dark{color:#171927}.auth-shell .public-main{padding-top:54px}.auth-shell .auth-intro h1{font-family:'Manrope',sans-serif;font-size:3.7rem;font-weight:840;letter-spacing:-.065em;color:#181b28}.auth-shell .auth-intro p{color:#747c8e}.auth-shell .auth-card{border-radius:24px;border:1px solid #e2e5ed;box-shadow:0 24px 58px rgba(31,38,69,.10);background:rgba(255,255,255,.96)}.auth-shell .auth-card .button{border-radius:12px;background:linear-gradient(135deg,#504bd0,#6861ef);box-shadow:0 9px 20px rgba(81,76,201,.15)}

@media(max-width:1180px){.app-shell .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell .dashboard-layout,.app-shell .client-bottom{grid-template-columns:1fr}}
@media(max-width:900px){.app-shell .sidebar{width:220px}.app-shell .main{margin-left:220px;padding:29px 23px 55px}.app-shell .welcome-banner.executive-hero{padding:28px}}
@media(max-width:720px){.app-shell .sidebar{position:static;width:100%;height:auto;padding:16px}.app-shell .sidebar nav{display:flex;overflow:auto;flex-wrap:nowrap;padding-bottom:5px}.app-shell .nav-link{flex:0 0 auto;padding:9px 11px}.app-shell .nav-link.selected:before{display:none}.app-shell .main{margin-left:0;padding:23px 14px 50px}.app-shell .page-head{padding-bottom:16px}.app-shell .page-head h1{font-size:28px}.app-shell .welcome-banner.executive-hero{display:block;padding:24px;border-radius:21px}.app-shell .hero-actions{margin-top:18px}.app-shell .dashboard-kpis{grid-template-columns:1fr 1fr;gap:10px}.app-shell .dashboard-kpis .metric{min-height:113px;padding:17px}.app-shell .dashboard-kpis .metric:before{left:17px;top:15px}.app-shell .dashboard-kpis .metric strong{font-size:24px}.app-shell .dashboard-section-head{align-items:flex-start}.app-shell .date-filter{width:100%}.app-shell .date-filter input{flex:1}.app-shell .dashboard-panel{padding:20px}}
@media(max-width:480px){.app-shell .dashboard-kpis{grid-template-columns:1fr}.app-shell .hero-actions .button,.app-shell .setup-actions .button{width:100%}.auth-shell .auth-intro h1{font-size:2.9rem}}

/* ============================================================
   NC AI BUSINESS · V42.2 POLISH
   Contrast, purple AI banners, account redesign and landing polish.
   ============================================================ */
:root{
  --v42-muted:#5f687a;
  --v42-subtle:#7f8899;
}

/* Better readability without turning the UI black */
.app-shell .main .card p,
.app-shell .main .card small,
.app-shell .main .card .small,
.app-shell .main .card .muted,
.app-shell .main .metric span,
.app-shell .main .metric small{color:#5f687a}
.app-shell .main .metric small{color:#747e90}
.app-shell .main .card label{color:#363c4d}
.app-shell .nav-link{color:#626b7c}
.app-shell .workspace .overline,.app-shell .page-head .overline,.app-shell .overline{color:#858e9f}
.app-shell .control-links span{color:#626b7c}
.app-shell .setup-panel p{color:#626b7c!important}
.app-shell .setup-panel .small{color:#6e778b!important}

/* Legacy intelligence banners: same visual language as the purple buttons */
.app-shell .welcome-banner:not(.executive-hero){
  position:relative;overflow:hidden;isolation:isolate;
  padding:32px 36px;border-radius:24px;border:0;
  background:linear-gradient(125deg,#443f9d 0%,#5751d2 47%,#6962ef 100%)!important;
  color:#fff!important;
  box-shadow:0 22px 48px rgba(81,76,201,.18);
}
.app-shell .welcome-banner:not(.executive-hero):after{
  content:"";position:absolute;z-index:-1;width:330px;height:330px;border-radius:50%;right:-110px;top:-200px;
  background:radial-gradient(circle,rgba(255,255,255,.26),rgba(255,255,255,0) 68%);
}
.app-shell .welcome-banner:not(.executive-hero) h2{color:#fff!important;font-size:29px!important;font-weight:820;letter-spacing:-.045em}
.app-shell .welcome-banner:not(.executive-hero) p,
.app-shell .welcome-banner:not(.executive-hero) p strong{color:#ebeafd!important}
.app-shell .welcome-banner:not(.executive-hero) .overline{color:#cbc9f3!important}
.app-shell .welcome-banner:not(.executive-hero) .button.light{background:#fff!important;color:#4944ad!important;border-color:#fff!important}

/* Account — feels like a real product surface, not a bare form */
.app-shell .account-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:18px;padding:24px 26px;background:linear-gradient(135deg,#fff 0%,#f5f3ff 100%)!important;border-color:#dfdef8!important}
.app-shell .account-person{display:flex;align-items:center;gap:16px;min-width:0}
.app-shell .account-person h2{margin:1px 0 4px!important;font-size:22px!important}
.app-shell .account-person p{margin:0!important;overflow-wrap:anywhere}
.app-shell .account-avatar{width:58px;height:58px;display:grid;place-items:center;flex:0 0 auto;border-radius:18px;background:linear-gradient(135deg,#504bd0,#756df7);color:#fff;font-size:20px;font-weight:850;box-shadow:0 12px 28px rgba(81,76,201,.22)}
.app-shell .account-status{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:999px;background:#ebf8f3;color:#16785d;border:1px solid #d5eee4;font-size:10px;font-weight:800;white-space:nowrap}
.app-shell .account-status i{width:7px;height:7px;border-radius:50%;background:#20b184;box-shadow:0 0 0 4px rgba(32,177,132,.10)}
.app-shell .account-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(310px,.75fr);gap:18px;align-items:start}
.app-shell .account-security,.app-shell .account-details{padding:28px!important}
.app-shell .account-lead{max-width:620px;margin-bottom:26px}
.app-shell .account-security form{max-width:680px}
.app-shell .account-details{background:linear-gradient(160deg,#fff 0%,#fafaff 100%)!important}
.app-shell .account-detail-row{display:grid;grid-template-columns:120px minmax(0,1fr);gap:18px;padding:14px 0;border-bottom:1px solid #eceef4;font-size:11px}
.app-shell .account-detail-row span{color:#7a8395}
.app-shell .account-detail-row strong{color:#303544;overflow-wrap:anywhere;text-align:right}
.app-shell .account-tip{display:flex;gap:12px;margin-top:20px;padding:15px;border-radius:15px;background:#f0efff;border:1px solid #e2e0ff}
.app-shell .account-tip>span{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:linear-gradient(135deg,#5752d7,#776ef5);color:#fff;font-size:12px}
.app-shell .account-tip p{margin:0!important;font-size:10px;line-height:1.55;color:#626b7d!important}
.app-shell .account-tip strong{display:block;margin-bottom:3px;color:#34384b}

/* Landing header — compact floating navigation */
.reception header{padding:10px 0;background:rgba(247,248,252,.78);border-bottom:0;box-shadow:0 1px 0 rgba(218,222,234,.75)}
.reception .nav{min-height:62px;padding:7px 8px 7px 12px;border:1px solid rgba(222,225,236,.92);border-radius:19px;background:rgba(255,255,255,.90);box-shadow:0 10px 32px rgba(35,42,75,.065)}
.reception .brand{font-size:19px}.reception .brand img{width:42px;height:42px;border-radius:12px}
.reception .nav-links{gap:4px;padding:4px;border-radius:14px;background:#f7f7fb}
.reception .nav-links a{padding:9px 12px;border-radius:10px;color:#626a7d;font-size:12px}
.reception .nav-links a:after{display:none}
.reception .nav-links a:hover{background:#fff;color:#3f3a9e;box-shadow:0 2px 10px rgba(42,49,79,.06)}
.reception .nav-actions .btn{min-height:44px;border-radius:12px}
.reception #operacion,.reception #funciones,.reception #canales,.reception #como-funciona,.reception #planes{scroll-margin-top:105px}

/* Landing hero — avoid long-word overflow and make the first screen clearer */
.reception .hero{padding:82px 0 92px}
.reception .hero-grid{grid-template-columns:minmax(0,.96fr) minmax(500px,1.04fr);gap:52px}
.reception .hero h1{max-width:620px;font-size:clamp(46px,4.65vw,68px);line-height:1.01;letter-spacing:-.06em;text-wrap:balance;overflow-wrap:normal}
.reception .hero-copy{max-width:590px;color:#596276;font-size:16px;line-height:1.72}
.reception .hero-note{color:#687184;font-size:11px}
.reception .hero-app{min-height:560px}

/* Public text contrast */
.reception .section-head p,.reception .omni p{color:#60697b}
.reception .feature p,.reception .step p,.reception .operation-copy>p,.reception .flow-item span,.reception .usecase-card p{color:#616b7d}
.reception .feature h3,.reception .step h3{color:#202433}

/* Function cards — stronger hierarchy */
.reception .feature{min-height:232px;padding:27px;background:linear-gradient(180deg,#fff 0%,#fcfcff 100%)}
.reception .feature:before{content:"";position:absolute;left:26px;right:26px;top:0;height:3px;border-radius:0 0 999px 999px;background:linear-gradient(90deg,#625df5,#9c79ff);opacity:.8}
.reception .feature:nth-child(2):before{background:linear-gradient(90deg,#3e88ef,#67b8ff)}
.reception .feature:nth-child(3):before{background:linear-gradient(90deg,#19aa99,#5ed8bd)}
.reception .feature:nth-child(4):before{background:linear-gradient(90deg,#f08c60,#f5bd73)}
.reception .feature:nth-child(5):before{background:linear-gradient(90deg,#7a61e9,#bd72ef)}
.reception .feature:nth-child(6):before{background:linear-gradient(90deg,#4c50ca,#6f79f7)}

/* Five steps — less like empty white boxes */
.reception .process{background:linear-gradient(180deg,#f7f8fd 0%,#f2f4fb 100%)!important}
.reception .steps{gap:13px}
.reception .step{min-height:242px;padding:23px 21px;border-radius:24px;background:linear-gradient(160deg,#fff 0%,#fafaff 100%);box-shadow:0 12px 30px rgba(31,38,69,.055)}
.reception .step:after{content:"";position:absolute;right:16px;top:18px;width:70px;height:70px;border-radius:50%;background:radial-gradient(circle,rgba(98,93,245,.10),rgba(98,93,245,0) 70%);pointer-events:none}
.reception .step-num{position:relative;z-index:2;width:48px;height:48px;margin-bottom:27px;border:0;border-radius:16px;background:linear-gradient(135deg,#514cd1,#746cf5);color:#fff;font-size:11px;box-shadow:0 10px 22px rgba(81,76,201,.20)}
.reception .step:nth-child(2) .step-num{background:linear-gradient(135deg,#427edc,#62a8f6)}
.reception .step:nth-child(3) .step-num{background:linear-gradient(135deg,#159783,#45c6aa)}
.reception .step:nth-child(4) .step-num{background:linear-gradient(135deg,#dc7b50,#f0a662)}
.reception .step:nth-child(5) .step-num{background:linear-gradient(135deg,#6655d8,#9b67ef)}
.reception .step h3{font-size:14px;font-weight:800;margin-bottom:9px}
.reception .step p{font-size:11px;line-height:1.68}

/* Conversation section gets a little more polish, stays intentionally darker as a product mockup */
.reception .operation-section{padding:102px 0 104px;background:linear-gradient(180deg,#fff 0%,#f8f8fd 100%)}
.reception .operation-copy h2{text-wrap:balance}
.reception .flow-item{background:#fff;border-color:#e1e5ef;box-shadow:0 9px 24px rgba(35,42,76,.045)}

@media(max-width:1160px){
  .reception .hero-grid{grid-template-columns:1fr;gap:54px}.reception .hero-app{width:min(780px,100%);margin:auto}.reception .hero h1{max-width:780px}
}
@media(max-width:980px){.app-shell .account-grid{grid-template-columns:1fr}}
@media(max-width:720px){
  .app-shell .account-overview{align-items:flex-start;flex-direction:column}.app-shell .account-detail-row{grid-template-columns:1fr;gap:4px}.app-shell .account-detail-row strong{text-align:left}
  .app-shell .welcome-banner:not(.executive-hero){padding:24px;border-radius:21px}
  .reception header{padding:7px 0}.reception .nav{border-radius:16px;padding:6px 7px 6px 9px}.reception .hero{padding-top:58px}
}


/* ============================================================
   NC SAFE ONBOARDING 20260918
   Corrige contraste del registro y agrega selector de industria.
   ============================================================ */
.auth-shell .public-main .auth-card{background:#fff!important;color:#171927!important;--ink:#171927;--muted:#687184;--line:#e2e5ed}
.auth-shell .auth-card h2,.auth-shell .auth-card h3,.auth-shell .auth-card label{color:#202331!important}
.auth-shell .auth-card p,.auth-shell .auth-card small,.auth-shell .auth-card .small,.auth-shell .auth-card .muted{color:#687184!important}
.auth-shell .auth-card input,.auth-shell .auth-card select,.auth-shell .auth-card textarea{background:#fff!important;color:#202331!important;border-color:#d8dde8!important;color-scheme:light!important}
.auth-shell .auth-card input::placeholder,.auth-shell .auth-card textarea::placeholder{color:#98a0af!important}
.auth-shell .auth-card .button{color:#fff!important;border-color:transparent!important}


/* V45 · Agentes especializados por industria */
.industry-hero{margin-bottom:18px}.industry-hero h2{margin-bottom:8px}.industry-current{display:flex;align-items:center;gap:14px;margin-top:18px;padding:14px 16px;border:1px solid #e6e7ec;border-radius:16px;background:#fafafa}.industry-current-icon{font-size:32px}.industry-current div{display:grid;gap:2px}.industry-current small{color:#7b8190;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.industry-current strong{font-size:17px}.industry-current span{color:#697080;font-size:13px}.industry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.industry-card{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"icon copy" "button button";gap:12px 14px;align-items:start;margin:0;padding:18px;border:1px solid #e4e6ec;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.03)}.industry-card.is-active{border-width:2px}.industry-icon{grid-area:icon;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#f5f5f7;font-size:25px}.industry-card-copy{grid-area:copy;min-width:0}.industry-card h3{margin:1px 0 4px;font-size:17px}.industry-card p{margin:0 0 6px;color:#697080;font-size:13px;line-height:1.45}.industry-card small{display:block;color:#8a90a0;font-size:12px}.industry-card .button{grid-area:button;width:100%;margin-top:4px}.industry-safe-note{text-align:center;color:#7b8190;font-size:13px;margin:16px 0 0}.profile-industry-link{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0 18px;padding:12px 14px;border:1px solid #e6e7ec;border-radius:14px;background:#fafafa;font-size:13px}.profile-industry-link a{font-weight:800;white-space:nowrap}@media(max-width:760px){.industry-grid{grid-template-columns:1fr}.profile-industry-link{align-items:flex-start;flex-direction:column}.industry-card{padding:16px}}
/* R2 · un solo contenedor de scroll en el menú lateral para evitar rebote/jitter */
@media(min-width:721px){
  .app-shell .sidebar{height:100dvh;overflow:hidden}
  .app-shell .sidebar nav{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:12px}
  .app-shell .sidebar-bottom{flex:0 0 auto;margin-top:0;padding-top:18px}
}

/* V12 · recuperación de acceso alineada al diseño moderno del sitio */
.auth-shell .recovery-card{max-width:720px;margin:18px auto 40px;padding:36px 38px!important;border-radius:26px!important;background:linear-gradient(180deg,#ffffff 0%,#fbfbff 100%)!important;color:#202331!important;border:1px solid #e2e5f0!important;box-shadow:0 26px 70px rgba(47,52,92,.11)!important;--ink:#202331;--muted:#6d7487;--line:#e3e6ef}
.auth-shell .recovery-card .overline{color:#625df5!important;margin-bottom:12px;font-weight:800}.auth-shell .recovery-card h1{font-family:'Manrope',Inter,Arial,sans-serif;color:#191d2b!important;font-size:clamp(34px,4vw,52px);letter-spacing:-.055em;margin:0 0 10px}.auth-shell .recovery-card p{color:#6a7285!important}.auth-shell .recovery-card label{color:#262a39!important}.auth-shell .recovery-card input{min-height:54px;border-radius:14px!important;border:1px solid #dcdfea!important;background:#fff!important;color:#202331!important;box-shadow:0 1px 0 rgba(20,24,45,.02)}.auth-shell .recovery-card input:focus{outline:3px solid rgba(98,93,245,.16)!important;border-color:#746ff2!important}.auth-shell .recovery-card .button{min-height:50px;border-radius:14px!important;background:linear-gradient(135deg,#514cd1,#736cf4)!important;box-shadow:0 12px 24px rgba(81,76,209,.18)!important}.auth-shell .recovery-card a{color:#514cd1!important;font-weight:750}.auth-shell.page-forgot .public-main,.auth-shell.page-verify-reset .public-main,.auth-shell.page-reset .public-main,.auth-shell.page-recover-purchase .public-main{background:radial-gradient(circle at 82% 12%,rgba(112,104,244,.12),transparent 34%),radial-gradient(circle at 12% 18%,rgba(110,190,238,.10),transparent 30%),linear-gradient(180deg,#fafbff,#f4f5fb);min-height:calc(100vh - 190px);max-width:none;padding-left:max(7vw,28px);padding-right:max(7vw,28px)}
@media(max-width:720px){.auth-shell .recovery-card{padding:26px 20px!important;border-radius:22px!important;margin-top:8px}.auth-shell .recovery-card h1{font-size:36px}}


/* V39 · checkout visual aislado: no altera dashboard ni bot */
.checkout-modern{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:24px;max-width:1180px;margin:42px auto;padding:0 22px;align-items:stretch}.checkout-plan,.checkout-form-card{border:1px solid rgba(91,92,120,.13);border-radius:28px;box-shadow:0 24px 70px rgba(34,35,60,.08)}.checkout-plan{padding:48px;background:linear-gradient(145deg,#17171b,#0d0d10);color:#fff;position:relative;overflow:hidden}.checkout-plan:after{content:"";position:absolute;width:330px;height:330px;border-radius:50%;right:-120px;top:-140px;background:radial-gradient(circle,rgba(119,113,255,.38),rgba(119,113,255,0) 70%)}.checkout-plan h1{font-size:clamp(42px,5vw,68px);line-height:.98;letter-spacing:-.055em;margin:18px 0}.checkout-price{font-size:44px;margin:0 0 22px;color:#fff}.checkout-price small{font-size:16px;font-weight:500;color:#b7b7c6}.checkout-copy{color:#c7c7d1;max-width:560px;line-height:1.65}.checkout-features{display:grid;gap:11px;margin-top:28px}.checkout-features span{color:#ededf4;font-size:14px}.checkout-form-card{background:rgba(255,255,255,.94);padding:40px;backdrop-filter:blur(16px)}.checkout-form-card h2{font-size:34px;letter-spacing:-.04em;margin:10px 0 22px}.checkout-form-card label{margin-top:16px}.checkout-form-card input{background:#fff;border:1px solid #dadbe6;border-radius:14px;padding:14px 15px}.checkout-primary{width:100%;margin-top:20px;min-height:50px;border-radius:14px}.checkout-primary[disabled]{opacity:.48;cursor:not-allowed}.checkout-warning{margin:0 0 18px}.checkout-links{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-top:24px;font-size:13px}.checkout-links a{color:#5f6175}.checkout-modern form{margin:0}@media(max-width:860px){.checkout-modern{grid-template-columns:1fr;margin:20px auto;padding:0 14px}.checkout-plan,.checkout-form-card{padding:28px;border-radius:22px}.checkout-plan h1{font-size:44px}.checkout-price{font-size:36px}}

/* V45 · checkout: botones separados, jerarquía clara y colores protegidos (solo páginas de pago) */
.checkout-modern .checkout-plan h1,.checkout-modern .checkout-plan .checkout-price{color:#fff!important}
.checkout-modern .checkout-plan .overline{color:#a9a6ff!important}
.checkout-modern .checkout-features span{display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.checkout-modern .checkout-form-card{display:flex;flex-direction:column}
.checkout-modern .checkout-form-card>p{margin:0 0 6px;line-height:1.6}
.checkout-modern .checkout-form-card a.checkout-primary{display:flex;align-items:center;justify-content:center;gap:8px;text-decoration:none;font-weight:700;margin-top:18px}
.checkout-modern .checkout-form-card form{margin:12px 0 0}
.checkout-modern .checkout-form-card form .button{width:100%;min-height:50px;border-radius:14px;font-weight:700}
.checkout-modern .checkout-form-card a.checkout-primary+form .button{background:#fff!important;color:#1d2030!important;border:1px solid #d6d9e4!important;box-shadow:none}
.checkout-modern .checkout-form-card a.checkout-primary+form .button:hover{border-color:#625df5!important;color:#625df5!important}
.checkout-modern .checkout-form-card .small{margin-top:14px}
.checkout-modern .checkout-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:auto;padding-top:22px;border-top:1px solid #eceef4;font-size:14px}
.checkout-modern .checkout-links a{color:#625df5;text-decoration:none;font-weight:600}
@media(max-width:860px){.checkout-modern{grid-template-columns:1fr;margin:20px auto;padding:0 14px}.checkout-plan,.checkout-form-card{padding:28px 22px!important;border-radius:22px}.checkout-plan h1{font-size:40px}.checkout-price{font-size:34px}}

/* V47 · Pagos/POS: tarjetas de estado legibles (no se parten las palabras) */
.nc47-pay-state .metrics{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:12px}
.nc47-pay-state .metrics>*{min-width:0}
.nc47-pay-state .metrics strong,.nc47-pay-state .metrics b,.nc47-pay-state .metrics .value{font-size:24px!important;line-height:1.15;word-break:normal;overflow-wrap:normal}
