:root{--ink:#17231f;--muted:#748079;--line:#e8ece9;--surface:#fff;--canvas:#f7f8f7;--green:#176b52;--green-dark:#115840;--green-pale:#e9f4ef;--gold:#d6a34c;--red:#c85850;--blue:#547f9b;--radius:13px;--shadow:0 8px 26px rgba(31,54,44,.07)}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font:14px 'DM Sans',sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#fff;border-right:1px solid var(--line);padding:24px 15px 14px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 9px;font:800 24px Manrope,sans-serif;letter-spacing:-1.3px}.brand-mark{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:var(--green);color:white;font:700 20px Manrope,sans-serif;letter-spacing:-1px}.brand-dot{color:#4caa7b}.workspace{display:flex;align-items:center;gap:10px;margin:33px 0 23px;padding:11px 9px;border:1px solid var(--line);border-radius:11px}.workspace-avatar{height:34px;width:34px;display:grid;place-items:center;border-radius:9px;background:#f4e7d2;color:#996c36;font-weight:700}.workspace-copy,.user-details{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.workspace-copy strong,.user-details strong{font-size:12px;font-weight:700}.workspace-copy span,.user-details small{font-size:11px;color:var(--muted)}.icon-button{border:0;background:transparent;color:#66746c;display:grid;place-items:center;width:36px;height:36px;border-radius:8px}.icon-button:hover{background:#f2f5f3}.workspace-more{width:24px}.nav-label{font-size:9px;letter-spacing:1.1px;font-weight:700;color:#a0aaa4;margin:0 10px 9px}.nav-space{margin-top:29px}.main-nav{display:flex;flex-direction:column;gap:3px}.nav-item{height:39px;display:flex;align-items:center;gap:12px;padding:0 11px;color:#67736d;border-radius:8px;font-size:12px;font-weight:500;transition:background .15s,color .15s}.nav-item:hover{background:#f5f7f6;color:var(--ink)}.nav-item.active{background:#eaf4ef;color:#1c674f;font-weight:700}.nav-icon{width:17px;text-align:center;font-size:16px;color:inherit}.nav-count{margin-left:auto;padding:2px 7px;border-radius:5px;background:#fff;color:#7d8a83;font-size:10px}.sidebar-bottom{margin-top:auto}.trial-card{margin:12px 2px 14px;background:#f6f8f6;border:1px solid #edf0ed;padding:13px 12px;border-radius:10px}.trial-top{display:flex;align-items:center;gap:6px;color:#79867f;font-size:10px}.trial-dot{width:7px;height:7px;background:#d7a24a;border-radius:50%}.trial-card>strong{display:block;margin-top:11px;font-size:12px}.trial-card p{font-size:10px;color:var(--muted);margin:5px 0 9px}.trial-link{padding:0;border:0;background:none;color:var(--green);font-size:10px;font-weight:700}.trial-link span{margin-left:4px}.user-profile{display:flex;align-items:center;gap:9px;width:100%;border:0;border-top:1px solid var(--line);background:transparent;padding:13px 5px 1px;text-align:left}.user-avatar,.top-avatar{display:grid;place-items:center;border-radius:50%;background:#f1e6df;color:#8e5d43;font-weight:700}.user-avatar{height:31px;width:31px;font-size:11px}.user-menu{color:#89948e;font-size:19px;letter-spacing:1px}.main-content{margin-left:252px;min-height:100vh}.topbar{height:61px;background:rgba(255,255,255,.87);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;position:sticky;top:0;z-index:5;backdrop-filter:blur(10px)}.breadcrumbs{display:flex;align-items:center;gap:10px;font-size:11px;color:#929c96}.breadcrumbs strong{color:#35423b;font-weight:600}.crumb-slash{color:#c9cfcb}.top-actions{display:flex;align-items:center;gap:17px}.top-date{font-size:11px;color:#838e87}.notification-button{position:relative;font-size:18px}.notification-button i{position:absolute;width:5px;height:5px;border-radius:50%;background:#d86d58;right:7px;top:7px;border:1px solid white}.top-avatar{border:0;width:28px;height:28px;font-size:10px}.page-wrap{max-width:1320px;margin:0 auto;padding:35px 38px 60px}.page-heading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:27px;gap:20px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#8a968e;font-weight:700;margin:0 0 8px}.page-heading h1{font:700 25px Manrope,sans-serif;letter-spacing:-.8px;margin:0;color:#1d2d26}.page-heading p{color:#7b8780;font-size:12px;margin:7px 0 0}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:37px;padding:0 14px;border:1px solid transparent;border-radius:8px;font-size:11px;font-weight:700;transition:.15s}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:var(--green-dark);transform:translateY(-1px)}.button-secondary{background:#fff;border-color:#e2e8e4;color:#536159}.button-secondary:hover{border-color:#aebbb2;background:#fafcfb}.button-quiet{background:transparent;color:#69766e}.button-danger{background:#fff5f4;border-color:#f3d9d6;color:var(--red)}.button-small{min-height:30px;padding:0 10px;font-size:10px}.button:focus-visible,.icon-button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #8ac5ab;outline-offset:2px}.plus{font-size:16px;font-weight:400;line-height:0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:17px}.metric-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:16px 17px;min-height:111px}.metric-top{display:flex;align-items:center;justify-content:space-between;color:#78847d;font-size:10px}.metric-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#eff6f2;color:#418267;font-size:13px}.metric-value{font:700 23px Manrope,sans-serif;letter-spacing:-.8px;margin-top:11px}.metric-foot{display:flex;align-items:center;gap:5px;margin-top:5px;font-size:9px;color:#89948e}.metric-positive{color:#3e916e;font-weight:700}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,.85fr);gap:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:11px}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 18px 12px}.panel-heading h2{margin:0;font:700 13px Manrope,sans-serif;letter-spacing:-.2px}.panel-heading p{font-size:10px;color:#909a94;margin:4px 0 0}.period-select{border:1px solid var(--line);border-radius:6px;background:#fff;color:#68756d;font-size:10px;padding:6px 8px}.chart-area{padding:8px 17px 17px}.chart-legend{display:flex;gap:15px;color:#7d8982;font-size:9px;margin-bottom:8px}.legend-item{display:flex;align-items:center;gap:5px}.legend-dot{height:7px;width:7px;border-radius:50%;background:#3f9875}.legend-dot.light{background:#dcece4}.chart{width:100%;height:165px;overflow:visible}.chart-grid{stroke:#edf0ee;stroke-width:1}.chart-label{fill:#9aa49e;font:9px 'DM Sans',sans-serif}.chart-fill{fill:url(#area)}.chart-line{fill:none;stroke:#368b68;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.chart-line2{fill:none;stroke:#bfdcc9;stroke-width:1.5;stroke-dasharray:4 4}.right-stack{display:flex;flex-direction:column;gap:16px}.quick-panel{padding-bottom:9px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:5px 15px 12px}.quick-action{display:flex;align-items:center;gap:9px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 9px;color:#47564e;font-size:10px;font-weight:600}.quick-action:hover{background:#f7faf8;border-color:#cbd9d0}.quick-action span:first-child{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#edf5f0;color:#36795b;font-size:14px}.activity-panel{flex:1;padding-bottom:5px}.activity-list{padding:0 17px}.activity-item{display:flex;gap:10px;padding:10px 0;border-top:1px solid #f0f2f1}.activity-mark{width:27px;height:27px;flex:none;border-radius:8px;display:grid;place-items:center;background:#eef5f0;color:#478667;font-size:12px}.activity-content{min-width:0;flex:1;font-size:10px;color:#68756d;line-height:1.5}.activity-content strong{color:#35443b;font-weight:600}.activity-content small{display:block;color:#9aa39d;font-size:9px;margin-top:2px}.section-panel{padding:0}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 17px;border-top:1px solid var(--line)}.search-box{position:relative;max-width:270px;flex:1}.search-box span{position:absolute;top:7px;left:10px;color:#9aa49e}.search-box input{width:100%;height:32px;border:1px solid var(--line);border-radius:7px;padding:0 10px 0 30px;font-size:10px;outline:none}.toolbar-actions{display:flex;gap:7px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;white-space:nowrap}th{height:36px;text-align:left;padding:0 16px;background:#fafbfa;border-top:1px solid #f0f2f0;border-bottom:1px solid #edf0ee;color:#919b94;font-size:9px;letter-spacing:.25px;font-weight:600}td{height:53px;padding:0 16px;border-bottom:1px solid #f0f2f1;font-size:10px;color:#657169}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfdfc}.primary-cell{font-weight:600;color:#35423b}.secondary-cell{color:#96a099;font-size:9px;margin-top:3px}.status{display:inline-flex;align-items:center;gap:5px;padding:4px 8px;border-radius:20px;background:#edf6f0;color:#448365;font-size:9px;font-weight:600}.status:before{content:"";height:5px;width:5px;border-radius:50%;background:currentColor}.status.pending{background:#fff5e6;color:#b68434}.status.draft{background:#f1f3f2;color:#78837c}.status.overdue{background:#fff0ef;color:#c05d54}.status.paid{background:#eaf3fb;color:#4e7e9c}.row-action{border:0;background:transparent;color:#7e8982;font-size:17px;padding:5px 8px;border-radius:5px}.row-action:hover{background:#f0f4f1}.empty-state{text-align:center;padding:47px 15px;color:#859188}.empty-icon{font-size:24px;color:#92b3a1;margin-bottom:10px}.empty-state strong{display:block;color:#47564e;font-size:12px}.empty-state p{font-size:10px;margin:5px 0 14px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-field{display:flex;flex-direction:column;gap:6px}.form-field.full{grid-column:1/-1}.form-field label{font-size:10px;color:#59665e;font-weight:600}.form-field input,.form-field select,.form-field textarea{height:37px;border:1px solid #dfe6e1;border-radius:7px;padding:0 10px;background:#fff;color:#29372f;font-size:11px;outline:none}.form-field textarea{height:70px;padding:10px;resize:vertical}.form-hint{font-size:9px;color:#9aa39d}.modal-backdrop{position:fixed;inset:0;background:rgba(25,38,31,.35);z-index:30;display:grid;place-items:center;padding:15px;backdrop-filter:blur(2px)}.modal-backdrop[hidden]{display:none}.modal{width:min(520px,100%);max-height:min(90vh,760px);overflow:auto;background:#fff;border-radius:14px;box-shadow:0 20px 70px rgba(21,39,30,.2)}.modal.wide{width:min(760px,100%)}.modal-header{padding:20px 22px 15px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start}.modal-header h2{margin:0;font:700 17px Manrope,sans-serif}.modal-header p{margin:5px 0 0;color:#818d85;font-size:10px}.modal-body{padding:18px 22px}.modal-footer{border-top:1px solid var(--line);padding:13px 22px;display:flex;justify-content:flex-end;gap:8px}.close-modal{border:0;background:transparent;color:#839087;font-size:21px;line-height:1}.document-preview{border:1px solid var(--line);border-radius:7px;padding:23px;color:#324039}.doc-head{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);padding-bottom:18px}.doc-brand{font:800 20px Manrope,sans-serif;color:var(--green)}.doc-meta{text-align:right;color:#78847d;font-size:9px;line-height:1.7}.doc-client{padding:17px 0;color:#657169;font-size:10px;line-height:1.6}.doc-client strong{display:block;color:#334139;font-size:12px}.doc-table{width:100%;font-size:10px}.doc-table th,.doc-table td{padding:8px 5px;height:auto}.doc-total{text-align:right;font-size:12px;font-weight:700;padding-top:15px}.doc-total span{font:700 19px Manrope,sans-serif;margin-left:10px}.subscription-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.plan-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px}.plan-card.featured{border:1.5px solid #4e9877;box-shadow:0 6px 20px #357a5712}.plan-name{font-size:11px;color:#68756d;font-weight:700}.plan-price{font:700 24px Manrope,sans-serif;margin:13px 0 3px}.plan-price small{font:400 10px 'DM Sans',sans-serif;color:#869189}.plan-description{height:33px;color:#87928b;font-size:10px;line-height:1.5}.plan-features{list-style:none;margin:17px 0;padding:0;display:grid;gap:10px;color:#56635b;font-size:10px}.plan-features li:before{content:"✓";color:#418767;font-weight:700;margin-right:8px}.plan-card .button{width:100%}.notice{padding:12px 14px;background:#f7f8f7;border:1px solid var(--line);border-radius:8px;color:#6f7a73;font-size:10px;line-height:1.6}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:17px}.settings-card h2{font:700 13px Manrope,sans-serif;margin:0 0 7px}.settings-card p{font-size:10px;color:#7f8b83;line-height:1.6;margin:0 0 13px}.inventory-banner{padding:16px 18px;margin-bottom:15px;background:#eef5f0;border:1px solid #e1eee5;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:15px}.inventory-banner strong{font-size:12px}.inventory-banner p{margin:5px 0 0;color:#718078;font-size:10px}.mobile-menu{display:none}
@media(max-width:1050px){.sidebar{width:220px}.main-content{margin-left:220px}.topbar{padding:0 24px}.page-wrap{padding:28px 24px 45px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(220px,.9fr)}}@media(max-width:760px){.sidebar{width:250px;transform:translateX(-100%);transition:transform .2s;box-shadow:var(--shadow)}.sidebar.open{transform:translateX(0)}.main-content{margin-left:0}.topbar{height:55px;padding:0 14px}.mobile-menu{display:grid}.breadcrumbs{margin-right:auto;margin-left:8px}.top-date{display:none}.top-actions{gap:7px}.page-wrap{padding:23px 15px 38px}.page-heading{align-items:flex-start;margin-bottom:19px}.page-heading h1{font-size:22px}.page-heading p{max-width:240px;line-height:1.5}.page-heading>.button{min-height:35px;padding:0 10px;font-size:10px}.dashboard-grid{grid-template-columns:1fr}.right-stack{display:grid;grid-template-columns:1fr 1fr}.subscription-grid{grid-template-columns:1fr}.plan-description{height:auto}.settings-grid{grid-template-columns:1fr}.table-toolbar{flex-wrap:wrap}.table-toolbar .search-box{max-width:none;flex-basis:100%}.toolbar-actions{margin-left:auto}.modal.wide{width:min(760px,100%)}}@media(max-width:480px){.metric-grid{gap:9px}.metric-card{padding:12px;min-height:100px}.metric-value{font-size:20px}.metric-top{font-size:9px}.right-stack{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}.page-heading{gap:8px}.page-heading>.button{white-space:nowrap}.breadcrumbs{font-size:10px;gap:6px}.top-actions{gap:3px}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.modal-header,.modal-body{padding-left:16px;padding-right:16px}.modal-footer{padding-left:16px;padding-right:16px}.doc-head{flex-direction:column}.doc-meta{text-align:left}.document-preview{padding:14px}}
@media print{body{background:white}.sidebar,.topbar,.page-heading,.modal-header,.modal-footer,.toast-region{display:none!important}.main-content{margin:0}.page-wrap{padding:0;max-width:none}.modal-backdrop{position:static;background:white;padding:0;display:block!important}.modal{max-height:none;width:100%;box-shadow:none;border-radius:0}.modal-body{padding:0}.document-preview{border:0;padding:0}.print-hide{display:none!important}}
 .toast-region{position:fixed;right:22px;bottom:20px;z-index:50;display:grid;gap:8px}.toast{max-width:min(440px,calc(100vw - 30px));padding:12px 15px;border-radius:9px;background:#173e30;color:#fff;box-shadow:var(--shadow);font-size:11px;animation:toast-in .2s ease}.toast.error{background:#8e3933}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media print{.app-shell{display:none!important}}

/* Bandeja omnicanal y sincronización de canales */
.inbox-demo-note{display:flex;align-items:center;gap:9px;margin:-11px 0 14px;padding:10px 13px;background:#f1f6f2;border:1px solid #e1ece4;border-radius:9px;color:#627169;font-size:10px}.inbox-demo-note strong{color:#3d5146;font-size:10px}.inbox-demo-note button,.connector-reminder button{margin-left:auto;border:0;background:none;color:var(--green);font-size:10px;font-weight:700;white-space:nowrap}.demo-pulse{width:8px;height:8px;background:#c99743;border-radius:50%;box-shadow:0 0 0 3px #f5ead3}.inbox-layout{display:grid;grid-template-columns:265px minmax(340px,1fr) 250px;min-height:650px;max-height:calc(100vh - 240px);background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}.inbox-list-panel,.inbox-chat-panel,.inbox-detail-panel{min-width:0;background:#fff}.inbox-list-panel{display:flex;flex-direction:column;border-right:1px solid var(--line)}.inbox-list-head{display:flex;align-items:center;justify-content:space-between;padding:15px 15px 10px}.inbox-list-head div{display:flex;align-items:baseline;gap:7px}.inbox-list-head strong{font:700 13px Manrope,sans-serif}.inbox-list-head span{font-size:9px;color:#8a968f}.inbox-search{height:33px;display:flex;align-items:center;gap:7px;margin:0 12px 10px;padding:0 9px;border:1px solid #e5eae6;border-radius:7px;color:#9aa49e}.inbox-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;font-size:10px;color:var(--ink)}.inbox-filters{display:flex;gap:3px;padding:0 10px 9px;border-bottom:1px solid #eef1ef}.inbox-filters button{border:0;background:transparent;border-radius:6px;padding:6px 7px;color:#7d8982;font-size:9px}.inbox-filters button.selected{background:#edf5f0;color:#286b50;font-weight:700}.inbox-filters b{margin-left:2px;font-size:8px}.conversation-list{overflow-y:auto;min-height:0}.conversation-row{position:relative;width:100%;display:flex;align-items:flex-start;gap:9px;padding:12px 10px;border:0;border-bottom:1px solid #f0f2f1;background:#fff;text-align:left;color:var(--ink)}.conversation-row:hover{background:#fafcfb}.conversation-row.active{background:#f0f6f2;box-shadow:inset 3px 0 #438a68}.conversation-avatar{position:relative;flex:none;width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#e8eee8;color:#536b5d;font-weight:700;font-size:12px}.channel-mini{position:absolute;right:-3px;bottom:-3px;width:15px;height:15px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#e8edf2;color:#637889;font-size:8px;font-style:normal;font-weight:700}.channel-mini.tiendanube,.channel-logo.tiendanube{background:#d9efe3;color:#287450}.channel-mini.whatsapp,.channel-logo.whatsapp{background:#ddf4e3;color:#19874f}.channel-mini.instagram,.channel-logo.instagram{background:#f8e3ee;color:#a74777}.channel-mini.mercadolibre,.channel-logo.mercadolibre{background:#fff0cf;color:#8d6922}.conversation-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.conversation-top{display:flex;align-items:baseline;justify-content:space-between;gap:4px}.conversation-top strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.conversation-top time{flex:none;color:#96a099;font-size:8px}.conversation-subject{color:#48584f;font-size:9px;font-weight:600}.conversation-last{overflow:hidden;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;color:#8c9790;font-size:9px}.channel-chip{display:inline-flex;align-items:center;width:max-content;padding:3px 6px;border-radius:5px;background:#eff2f2;color:#63736a;font-size:8px;font-weight:700}.channel-chip.mercadolibre{background:#fff5dc;color:#876a2f}.channel-chip.tiendanube{background:#eaf5ee;color:#39815b}.channel-chip.whatsapp{background:#e8f6eb;color:#267f4f}.channel-chip.instagram{background:#faedf3;color:#9c4d76}.unread-dot{position:absolute;right:9px;bottom:12px;min-width:16px;height:16px;display:grid;place-items:center;border-radius:50%;background:#428a68;color:#fff;font-size:8px}.inbox-chat-panel{display:flex;flex-direction:column;min-height:0}.chat-contact-head{min-height:62px;display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px solid var(--line)}.chat-contact-avatar,.detail-avatar{flex:none;display:grid;place-items:center;border-radius:50%;background:#e8f1eb;color:#347253;font-weight:700}.chat-contact-avatar{width:34px;height:34px}.chat-contact-info{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.chat-contact-info strong{font-size:11px}.chat-contact-info>span{color:#87938c;font-size:9px}.channel-live-dot{display:inline-block;width:6px;height:6px;margin-right:5px;border-radius:50%;background:#98a49d}.channel-live-dot.whatsapp,.channel-live-dot.tiendanube{background:#49a56c}.chat-order-pill{padding:5px 7px;border:1px solid #e9eeea;border-radius:6px;color:#617168;font-size:8px;white-space:nowrap}.chat-history{display:flex;flex:1;min-height:200px;flex-direction:column;gap:12px;overflow-y:auto;padding:18px 16px;background-color:#fbfcfb;background-image:radial-gradient(#e9eeea 0.55px,transparent 0.55px);background-size:15px 15px}.message-row{display:flex;justify-content:flex-start}.message-row.outgoing{justify-content:flex-end}.message-bubble{max-width:min(82%,440px);padding:10px 12px;border:1px solid #e7ece8;border-radius:11px 11px 11px 3px;background:#fff;box-shadow:0 2px 5px #20352908}.message-row.outgoing .message-bubble{border-color:#d7ebdd;border-radius:11px 11px 3px 11px;background:#eaf6ed}.message-row.note-row .message-bubble{border-color:#f1dfb8;background:#fff8e9}.message-bubble small{color:#a47b31;font-size:8px;font-weight:800;letter-spacing:.4px}.message-bubble p{margin:0;color:#3d4c44;font-size:10px;line-height:1.55;white-space:normal;overflow-wrap:anywhere}.message-bubble footer{margin-top:6px;color:#97a198;text-align:right;font-size:8px}.message-composer{padding:10px 12px 11px;border-top:1px solid var(--line);background:#fff}.message-composer textarea{width:100%;min-height:58px;max-height:130px;resize:vertical;padding:9px;border:1px solid #e7ece8;border-radius:7px;outline:none;font-size:10px}.message-composer textarea:focus{border-color:#87b59a}.message-composer.note-composer textarea{border-color:#e9d5a9;background:#fffdf8}.composer-mode{display:flex;align-items:center;gap:5px;margin-bottom:7px}.composer-mode button{border:0;border-radius:5px;padding:5px 7px;background:transparent;color:#849087;font-size:9px}.composer-mode button.active{background:#eff5f1;color:#367553;font-weight:700}.note-composer .composer-mode button.active{background:#fbf0d8;color:#886a2f}.composer-mode span{margin-left:auto;color:#9aa39d;font-size:8px}.composer-foot{display:flex;align-items:center;justify-content:space-between;margin-top:7px}.composer-foot>span{color:#9aa39d;font-size:8px}.inbox-detail-panel{overflow-y:auto;border-left:1px solid var(--line)}.detail-profile{display:flex;align-items:center;flex-direction:column;padding:19px 12px 16px;border-bottom:1px solid #eef1ef;text-align:center}.detail-avatar{width:49px;height:49px;font-size:17px}.detail-profile h2{margin:9px 0 3px;font:700 13px Manrope,sans-serif}.detail-profile p{margin:0 0 10px;color:#89948d;font-size:9px}.detail-section{padding:14px;border-bottom:1px solid #eef1ef}.detail-section h3{margin:0 0 10px;color:#526158;font-size:9px;letter-spacing:.45px;text-transform:uppercase}.detail-section dl{display:grid;grid-template-columns:78px minmax(0,1fr);gap:9px 4px;margin:0 0 12px;font-size:9px}.detail-section dt{color:#96a099}.detail-section dd{min-width:0;margin:0;color:#526158;overflow-wrap:anywhere}.detail-contact{margin:0;color:#77847c;font-size:9px;line-height:1.7;overflow-wrap:anywhere}.detail-action{width:100%}.chat-next-actions{display:flex;gap:6px;margin-top:8px}.chat-next-actions .button{flex:1;padding:0 6px;font-size:9px}.connector-reminder p{margin:0;color:#859188;font-size:9px;line-height:1.6}.connector-reminder button{margin:9px 0 0;padding:0}.inbox-empty-chat{display:grid;flex:1;place-items:center}.channel-accounts{display:grid;gap:7px}.channel-account-row{display:grid;grid-template-columns:31px minmax(90px,1fr) auto auto;align-items:center;gap:9px;padding:9px;border:1px solid #edf0ee;border-radius:8px}.channel-logo{width:29px;height:29px;display:grid;place-items:center;border-radius:8px;background:#eff2f0;color:#536b5d;font-weight:800;font-size:11px}.channel-account-row>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.channel-account-row strong{font-size:10px}.channel-account-row small{overflow:hidden;color:#89958d;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.connector-state{color:#9b7850;font-size:8px;white-space:nowrap}

/* Pipeline para el agente comercial */
.pipeline-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.pipeline-summary>div,.task-summary-card{display:flex;flex-direction:column;gap:8px;padding:13px 15px;background:#fff;border:1px solid var(--line);border-radius:9px}.pipeline-summary span,.task-summary-card span{color:#869189;font-size:9px}.pipeline-summary strong,.task-summary-card strong{font:700 17px Manrope,sans-serif;color:#283a30}.pipeline-toolbar{background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:10px 10px 0 0}.pipeline-help{color:#8c9790;font-size:9px}.pipeline-board{display:flex;align-items:flex-start;gap:11px;overflow-x:auto;padding:12px;background:#f0f3f1;border:1px solid var(--line);border-radius:0 0 10px 10px}.pipeline-column{flex:0 0 225px;min-height:310px;padding:9px;background:#f7f8f7;border:1px solid #e7ebe8;border-radius:9px}.pipeline-column>header{display:grid;grid-template-columns:1fr auto;align-items:center;gap:5px;padding:2px 2px 10px}.pipeline-column>header>span{font-size:10px;font-weight:700;color:#536159}.pipeline-column>header>b{display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#e8ede9;color:#69766d;font-size:9px}.pipeline-column>header>small{grid-column:1/-1;color:#8b968f;font-size:8px}.opportunity-card{margin-bottom:8px;padding:11px;background:#fff;border:1px solid #e8ece9;border-radius:8px;box-shadow:0 2px 5px #20352908}.opportunity-title{display:block;padding:0;border:0;background:none;color:#2e4337;text-align:left;font-size:10px;font-weight:700}.opportunity-card>p{margin:6px 0 9px;color:#87928b;font-size:9px}.opportunity-amount{font:700 15px Manrope,sans-serif;color:#2e674d}.opportunity-meta{display:flex;flex-direction:column;gap:4px;margin-top:8px;color:#8a958e;font-size:8px}.opportunity-card-foot{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:11px;padding-top:8px;border-top:1px solid #f0f2f1}.opportunity-card-foot>span{overflow:hidden;color:#7d8981;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.pipeline-closed{display:flex;flex:0 0 auto;flex-direction:column;gap:12px;padding:11px 13px;background:#fff;border:1px solid #e7ebe8;border-radius:8px;color:#78847d;font-size:9px}.pipeline-closed b{color:#354a3d}.task-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.task-summary-card.attention strong{color:#bd6253}.task-check{width:24px;height:24px;border:1px solid #dce5de;border-radius:50%;background:#fff;color:#78867e;font-size:13px}.task-check.done{border-color:#a6d0b4;background:#eaf5ed;color:#36835b}.task-overdue td{background:#fffaf9}.due-overdue{color:#bd6154;font-weight:700}.priority{padding:4px 7px;border-radius:5px;background:#f2f3f1;color:#727e76;font-size:8px}.priority.high{background:#fff0ed;color:#bc5b4e}.priority.low{background:#eef4f5;color:#5f8791}
@media(max-width:1120px){.inbox-layout{grid-template-columns:235px minmax(300px,1fr)}.inbox-detail-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);border-left:0}.detail-profile{grid-row:span 2;justify-content:center;border-right:1px solid #eef1ef}.detail-section{border-right:1px solid #eef1ef}.connector-reminder{grid-column:2/-1}}
@media(max-width:760px){.inbox-demo-note{align-items:flex-start;flex-wrap:wrap}.inbox-demo-note span:last-of-type{flex:1 1 80%}.inbox-demo-note button{margin-left:18px}.inbox-layout{display:flex;max-height:none;min-height:0;flex-direction:column;overflow:visible}.inbox-list-panel{min-height:300px;max-height:390px;border-right:0;border-bottom:1px solid var(--line)}.conversation-list{overflow-y:auto}.inbox-chat-panel{min-height:590px}.inbox-detail-panel{display:block;border-top:1px solid var(--line)}.detail-profile{border-right:0}.detail-section{border-right:0}.connector-reminder{grid-column:auto}.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.task-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.channel-account-row{grid-template-columns:31px minmax(0,1fr) auto}.channel-account-row .connector-state{display:none}.page-wrap{padding-right:17px;padding-left:17px}}
@media(max-width:460px){.task-summary{grid-template-columns:1fr}.pipeline-summary{gap:7px}.pipeline-summary>div{padding:11px}.chat-contact-head{gap:7px;padding:9px}.chat-order-pill{display:none}.chat-history{padding:12px 9px}.message-bubble{max-width:92%}.composer-mode span{max-width:100px;text-align:right}.channel-account-row{grid-template-columns:30px minmax(0,1fr) auto}.channel-account-row .button{padding:0 7px}}
.sales-agent-panel{margin-bottom:14px;padding:14px 16px;background:linear-gradient(105deg,#eef6f0,#f8faf8 56%,#f4f4ec);border:1px solid #e0ebe2;border-radius:10px}.sales-agent-heading{display:flex;align-items:center;gap:10px;margin-bottom:10px}.agent-badge,.agent-spark{flex:none;width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#dcece1;color:#3d815d;font-size:14px}.sales-agent-heading>div{flex:1;min-width:0}.sales-agent-heading strong{font:700 11px Manrope,sans-serif;color:#2f4638}.sales-agent-heading p{margin:3px 0 0;color:#849088;font-size:9px}.agent-mode{padding:5px 7px;border:1px solid #e3e9e3;border-radius:6px;color:#849087;font-size:8px;white-space:nowrap}.agent-suggestions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.agent-suggestion{display:flex;align-items:center;gap:8px;min-width:0;padding:9px;background:#ffffffc9;border:1px solid #e8eee9;border-radius:8px}.agent-spark{width:21px;height:21px;font-size:11px}.agent-suggestion-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px}.agent-suggestion-copy strong{overflow:hidden;color:#48584f;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.agent-suggestion-copy span{display:-webkit-box;overflow:hidden;color:#849088;font-size:8px;line-height:1.4;-webkit-line-clamp:2;-webkit-box-orient:vertical}.agent-suggestion .button{flex:none;padding:0 7px;font-size:8px}.agent-no-suggestions{padding:12px;border:1px dashed #dce7de;border-radius:8px;color:#829087;font-size:9px}@media(max-width:1100px){.agent-suggestions{grid-template-columns:1fr}.agent-suggestion-copy span{-webkit-line-clamp:1}}@media(max-width:600px){.agent-mode{display:none}.sales-agent-heading{align-items:flex-start}.agent-suggestion{flex-wrap:wrap}.agent-suggestion .button{margin-left:29px}}
.ranking-panel{padding-bottom:7px}.ranking-list{list-style:none;margin:0;padding:0 17px 7px}.ranking-list li{display:flex;align-items:center;gap:10px;padding:9px 0;border-top:1px solid #f0f2f1}.ranking-position{width:23px;height:23px;display:grid;place-items:center;border-radius:50%;background:#f0edff;color:#6654b8;font-size:9px;font-weight:700}.ranking-client{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}.ranking-client strong{overflow:hidden;color:#46554c;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.ranking-client small{color:#929c96;font-size:8px}.ranking-empty{padding:0 17px 16px;color:#929c96;font-size:9px}
.role-list{display:grid;gap:7px}.role-list>div{display:flex;flex-direction:column;gap:4px;padding:10px 11px;border:1px solid #edf0ee;border-radius:7px}.role-list strong{font-size:10px;color:#3f5146}.role-list span{font-size:9px;color:#829087}
.document-terms{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.doc-totals{width:min(320px,100%);margin:10px 0 0 auto;display:grid;gap:8px;padding:12px 0}.doc-totals>div{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#77847c;font-size:10px}.doc-totals>div strong{color:#47564e;font-weight:600}.doc-totals .doc-total{padding-top:10px;border-top:1px solid var(--line);font-weight:700}.doc-totals .doc-total strong{font:700 18px Manrope,sans-serif;color:#253b2e}.document-preview .doc-totals .doc-total{margin-top:3px}

.stock-ledger{margin-top:14px}.ledger-count{padding:5px 8px;border:1px solid var(--line);border-radius:6px;color:#849087;font-size:9px}.stock-delta{font-size:10px;font-weight:700}.stock-delta.positive{color:#34835c}.stock-delta.negative{color:#bf6155}@media(max-width:760px){.stock-ledger .panel-heading{align-items:flex-start}.ledger-count{white-space:nowrap}}

.auth-gate{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#edf5ef,#f7f8f7 60%,#f6f1e7)}.auth-gate[hidden]{display:none}.auth-card{width:min(430px,100%);padding:34px;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.auth-brand{margin-bottom:36px;padding:0}.auth-card>.eyebrow{margin-bottom:9px}.auth-card h1{margin:0;font:700 25px Manrope,sans-serif;color:#1d2d26}.auth-card>p:not(.eyebrow):not(.auth-error){margin:9px 0 22px;color:#748079;font-size:12px;line-height:1.6}.auth-card small{display:block;margin-top:18px;color:#929c96;font-size:9px;line-height:1.5}.auth-error{min-height:18px;margin:10px 0 0;color:#bb554a;font-size:11px}#googleSignInButton{min-height:42px}

.agent-kpis{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 10px;padding:9px 10px;background:#ffffffa8;border:1px solid #e8eee9;border-radius:8px}.agent-kpis span{color:#758179;font-size:9px}.agent-kpis b{color:#365442;font-size:12px}.agent-kpis .button{margin-left:auto}.pipeline-view-switch{display:flex;gap:6px;margin-left:auto}.pipeline-toolbar{flex-wrap:wrap}.pipeline-toolbar .search-box{min-width:190px}@media(max-width:650px){.agent-kpis{gap:8px}.agent-kpis .button{margin-left:0}.pipeline-view-switch{width:100%;margin-left:0}.pipeline-view-switch .button{flex:1}}

.opportunity-card[draggable=true]{cursor:grab}.opportunity-card[draggable=true]:active{cursor:grabbing}.pipeline-drop-target{outline:2px dashed #76ad8c;outline-offset:-3px;background:#eef6f0!important}

/* Sistema visual compartido: jerarquía, legibilidad y superficies consistentes */
:root{
  --ink:#172720;--muted:#627169;--line:#e3e9e5;--surface:#fff;--canvas:#f4f6f4;
  --green:#176b52;--green-dark:#115840;--green-pale:#e7f2eb;--gold:#a97723;--red:#ad433a;--blue:#426f89;
  --radius:12px;--shadow:0 5px 18px rgba(25,47,36,.055);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px
}
body{background:var(--canvas);font-size:14px;line-height:1.5;color:var(--ink)}
.sidebar{width:248px;padding:22px 15px 16px;box-shadow:1px 0 0 rgba(25,47,36,.02)}
.main-content{margin-left:248px}
.brand{font-size:25px}
.workspace{margin:28px 0 22px;padding:12px;border-radius:12px}
.nav-label{font-size:10px;letter-spacing:.9px;color:#68766e;margin-bottom:9px}
.nav-space{margin-top:23px}
.nav-item{height:43px;padding:0 12px;font-size:13px;font-weight:600;gap:11px}
.nav-icon{font-size:17px}
.nav-count{font-size:11px;padding:2px 8px;background:#f0f4f1;color:#53645a}
.trial-card{padding:14px;border-radius:12px}.trial-top,.trial-card p,.trial-link{font-size:11px}.trial-card>strong{font-size:13px}
.user-profile{min-height:52px}.user-details strong{font-size:12px}.user-details small{font-size:11px}
.topbar{height:66px;padding:0 clamp(18px,3vw,42px)}.breadcrumbs{font-size:12px}.top-date{font-size:12px}.top-actions{gap:13px}
.page-wrap{max-width:1480px;padding:34px clamp(20px,3vw,42px) 64px}
.page-heading{align-items:center;margin-bottom:25px;gap:16px}.eyebrow{font-size:10px;letter-spacing:1.1px;color:#627169}.page-heading h1{font-size:28px;line-height:1.2;letter-spacing:-.7px}.page-heading p{font-size:14px;line-height:1.5;color:#64736a;max-width:650px}
.button{min-height:42px;padding:0 16px;border-radius:9px;font-size:13px;font-weight:650}.button-small{min-height:35px;padding:0 12px;font-size:12px}.plus{font-size:18px}
.panel,.settings-card,.plan-card,.metric-card{border-color:#e2e8e3;border-radius:14px;box-shadow:var(--shadow)}
.panel-heading{padding:19px 21px 15px}.panel-heading h2{font-size:15px;letter-spacing:-.2px}.panel-heading p{font-size:12px;color:#65736a;line-height:1.45}
.metric-grid{gap:15px;margin-bottom:18px}.metric-card{min-height:125px;padding:18px 19px}.metric-top{font-size:12px;color:#53635a}.metric-icon{width:34px;height:34px;border-radius:10px;font-size:15px}.metric-value{font-size:27px;margin-top:13px}.metric-foot{font-size:11px;color:#637169;margin-top:6px}
.dashboard-grid{gap:18px}.right-stack{gap:18px}.chart-area{padding:12px 20px 19px}.chart-legend{font-size:11px}.chart-label{font-size:10px}.chart{height:190px}.quick-actions{gap:9px;padding:8px 17px 16px}.quick-action{min-height:48px;padding:10px 11px;border-radius:10px;font-size:12px}.quick-action span:first-child{width:31px;height:31px;font-size:15px}.activity-list{padding:0 20px}.activity-item{gap:11px;padding:12px 0}.activity-mark{width:32px;height:32px}.activity-content{font-size:12px;line-height:1.5}.activity-content small{font-size:10px}.ranking-list{padding:0 20px 10px}.ranking-list li{gap:12px;padding:11px 0}.ranking-position{width:28px;height:28px;font-size:11px}.ranking-client strong{font-size:11px}.ranking-client small,.ranking-empty{font-size:10px}
.table-toolbar{gap:12px;padding:15px 19px}.search-box{max-width:360px}.search-box input{height:40px;border-color:#d9e2dc;border-radius:9px;padding-left:36px;font-size:13px}.search-box span{top:8px;left:12px;font-size:17px}.toolbar-actions{gap:8px}.table-wrap{max-width:100%}table{min-width:600px}th{height:42px;padding:0 16px;font-size:10px;letter-spacing:.4px;color:#5b6b61;background:#f7f9f7}td{height:60px;padding:8px 16px;font-size:12px;color:#4c5b52}.primary-cell{color:#26392e}.secondary-cell{font-size:11px;color:#68776e}.status{padding:5px 9px;font-size:10px}.row-action{min-width:36px;min-height:36px;font-size:19px}
.empty-state{padding:54px 18px;color:#637269}.empty-icon{font-size:28px}.empty-state strong{font-size:14px;color:#293c30}.empty-state p{font-size:12px;line-height:1.5;max-width:440px;margin:7px auto 17px}
.form-grid{gap:16px}.form-field{gap:7px}.form-field label{font-size:12px;color:#3f5147}.form-field input,.form-field select,.form-field textarea{height:43px;border-color:#d8e1da;border-radius:9px;padding:0 12px;font-size:13px;color:#26372d}.form-field textarea{height:92px;padding:11px 12px}.form-hint{font-size:11px;color:#65746a}
.modal-backdrop{padding:20px}.modal{width:min(580px,100%);border-radius:16px;box-shadow:0 24px 70px rgba(21,39,30,.22)}.modal.wide{width:min(820px,100%)}.modal-header{padding:22px 24px 17px}.modal-header h2{font-size:19px}.modal-header p{font-size:12px;color:#65736a}.modal-body{padding:22px 24px}.modal-footer{padding:16px 24px}.close-modal{width:36px;height:36px;border-radius:8px}.notice{padding:14px 16px;border-radius:10px;font-size:12px;color:#4e5f55}
.subscription-grid{gap:17px}.plan-card{padding:22px}.plan-name{font-size:13px}.plan-price{font-size:29px}.plan-price small,.plan-description{font-size:12px}.plan-description{height:auto;min-height:42px}.plan-features{gap:12px;color:#44564b;font-size:12px;line-height:1.4}.settings-grid{gap:16px}.settings-card{padding:21px}.settings-card h2{font-size:15px}.settings-card p{font-size:12px;color:#596a60;line-height:1.6;margin-bottom:16px}
.inventory-banner{padding:19px 21px;margin-bottom:18px;border-radius:13px}.inventory-banner strong{font-size:14px}.inventory-banner p{font-size:12px;color:#53665a}
.inbox-demo-note{font-size:12px}.inbox-list-panel,.inbox-chat-panel,.inbox-detail-panel{background:#fff}.conversation-row{padding:13px 14px}.conversation-name{font-size:13px}.conversation-preview,.conversation-time,.conversation-meta{font-size:11px}.chat-contact-head{min-height:68px;padding:13px 16px}.chat-contact-name{font-size:14px}.chat-history{padding:20px}.message-bubble{font-size:13px;line-height:1.55}.message-time,.detail-section dt,.detail-section dd,.detail-contact{font-size:11px}.composer textarea{min-height:50px;font-size:13px}
.pipeline-summary{gap:12px;margin-bottom:17px}.pipeline-summary>div,.task-summary-card{padding:16px 17px;border-radius:12px}.pipeline-summary span,.task-summary-card span{font-size:11px;color:#5d6d63}.pipeline-summary strong,.task-summary-card strong{font-size:20px}.pipeline-board{gap:13px;padding:15px;border-radius:0 0 13px 13px}.pipeline-column{flex-basis:252px;min-height:360px;padding:11px;border-radius:12px}.pipeline-column>header{padding:3px 3px 12px}.pipeline-column>header>span{font-size:12px}.pipeline-column>header>b{width:23px;height:23px;font-size:10px}.pipeline-column>header>small{font-size:10px}.opportunity-card{padding:14px;margin-bottom:10px;border-radius:11px}.opportunity-title{font-size:12px;line-height:1.45}.opportunity-card>p{font-size:11px}.opportunity-amount{font-size:18px}.opportunity-meta{font-size:10px;gap:6px}.opportunity-card-foot>span{font-size:10px}.pipeline-closed{padding:13px;font-size:11px}.sales-agent-panel{padding:17px 19px;border-radius:13px}.sales-agent-heading strong{font-size:14px}.sales-agent-heading p{font-size:11px;line-height:1.5}.agent-mode{font-size:10px}.agent-kpis{gap:14px;padding:11px 13px}.agent-kpis span{font-size:11px}.agent-kpis b{font-size:14px}.agent-suggestions{gap:10px}.agent-suggestion{padding:12px;border-radius:10px}.agent-suggestion-copy strong{font-size:11px}.agent-suggestion-copy span{font-size:10px;line-height:1.45}.agent-suggestion .button{font-size:10px}.agent-no-suggestions{padding:15px;font-size:11px}.task-summary{gap:12px;margin-bottom:17px}.priority{font-size:10px}.task-check{width:30px;height:30px}
.doc-totals{gap:10px;padding:14px 0}.doc-totals>div{font-size:12px}.doc-totals .doc-total strong{font-size:20px}.document-preview{padding:28px}.doc-brand{font-size:23px}.doc-meta,.doc-client,.doc-table{font-size:11px}.doc-client strong{font-size:14px}
button,a,input,select,textarea{transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #83b99a;outline-offset:2px}
@media(max-width:1100px){.sidebar{width:226px}.main-content{margin-left:226px}.page-wrap{padding-left:26px;padding-right:26px}.dashboard-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,.9fr)}}
@media(max-width:760px){.sidebar{width:min(290px,86vw);padding:18px 14px}.main-content{margin-left:0}.topbar{height:60px;padding:0 14px}.page-wrap{padding:24px 16px 44px}.page-heading{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-heading h1{font-size:25px}.page-heading p{font-size:13px}.page-heading>.button{min-height:42px}.metric-grid{gap:10px}.metric-card{min-height:115px;padding:14px}.metric-value{font-size:23px}.dashboard-grid{grid-template-columns:1fr}.right-stack{grid-template-columns:1fr 1fr;gap:12px}.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-column{flex-basis:min(78vw,290px)}.pipeline-toolbar{align-items:stretch}.pipeline-toolbar .search-box{flex-basis:100%;max-width:none}.agent-kpis{align-items:flex-start}.agent-kpis .button{margin-left:0}.agent-suggestions{grid-template-columns:1fr}.agent-suggestion-copy span{-webkit-line-clamp:unset}.table-toolbar{padding:12px}.toolbar-actions{flex-wrap:wrap;margin-left:0}.table-wrap{overscroll-behavior-x:contain}.settings-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.modal-backdrop{align-items:end;padding:0}.modal,.modal.wide{width:100%;max-height:92dvh;border-radius:18px 18px 0 0}.modal-header{padding:20px}.modal-body{padding:18px 20px}.modal-footer{padding:14px 20px calc(14px + env(safe-area-inset-bottom))}.document-preview{padding:18px}}
@media(max-width:480px){.page-wrap{padding:20px 13px 38px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric-card{padding:12px;min-height:108px}.metric-top{font-size:10px}.metric-icon{width:29px;height:29px}.metric-value{font-size:21px}.right-stack{grid-template-columns:1fr}.quick-actions{grid-template-columns:1fr 1fr}.pipeline-summary{gap:8px}.pipeline-summary>div{padding:12px}.pipeline-summary strong{font-size:17px}.pipeline-view-switch{flex-direction:column}.pipeline-view-switch .button{width:100%}.agent-kpis{display:grid;grid-template-columns:1fr 1fr}.agent-kpis .button{grid-column:1/-1;width:100%}.conversation-row{padding:12px}.chat-history{padding:14px 10px}.message-bubble{max-width:94%}.table-toolbar .search-box{flex-basis:100%}.toolbar-actions .button{flex:1}.auth-card{padding:26px 22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Nexo UI polish: clearer hierarchy, keyboard feedback and restrained motion. */
:root{--ink:#182720;--muted:#65736a;--line:#e2e9e4;--canvas:#f3f6f3;--green:#167354;--green-dark:#105a42;--green-pale:#e9f4ed;--radius:14px;--shadow:0 8px 24px rgba(24,51,37,.055);--shadow-raised:0 15px 34px rgba(24,51,37,.105)}
html{scroll-behavior:smooth;scroll-padding-top:76px}body{background:var(--canvas);font-size:14px;line-height:1.55;color:var(--ink)}
.sidebar{padding-top:22px;background:rgba(255,255,255,.97);box-shadow:8px 0 30px rgba(27,54,39,.025)}.brand{font-size:25px}.workspace{margin:26px 0 20px}.main-nav{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 2px 8px;scrollbar-width:thin;scrollbar-color:#d9e3dc transparent}.main-nav::-webkit-scrollbar{width:5px}.main-nav::-webkit-scrollbar-thumb{background:#d9e3dc;border-radius:8px}.nav-label{color:#87958c}.nav-space{margin-top:24px}.nav-item{position:relative;min-height:42px;height:auto;padding:8px 11px;font-size:12px;line-height:1.35;transition:background-color .2s ease,color .2s ease,transform .2s ease}.nav-item:hover{transform:translateX(2px);background:#f1f6f2}.nav-item.active{background:linear-gradient(90deg,#e4f2e9,#edf6ef);color:#145b42}.nav-item.active:before{content:"";position:absolute;left:-2px;top:9px;bottom:9px;width:3px;border-radius:0 4px 4px 0;background:#208260}.nav-icon{font-size:17px}.main-content{min-width:0}.topbar{height:64px;background:rgba(255,255,255,.92);border-color:#e3e9e4}.breadcrumbs{font-size:12px}.breadcrumbs strong{color:#25392d}.page-wrap{max-width:1500px;padding-top:37px}.page-heading{align-items:center;margin-bottom:26px}.page-heading h1{font-size:30px;letter-spacing:-1px;color:#1a2c22}.page-heading p{font-size:13px;color:#65756a;line-height:1.6}.eyebrow{color:#4c765d;font-size:10px;letter-spacing:1.15px}.panel,.metric-card,.settings-card,.plan-card{border-color:#e0e8e1;border-radius:14px;box-shadow:var(--shadow);transition:box-shadow .22s ease,border-color .22s ease,transform .22s ease}.panel:hover,.settings-card:hover,.plan-card:hover{border-color:#d4e2d7;box-shadow:0 11px 28px rgba(24,51,37,.075)}.metric-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-raised)}.metric-top{color:#526259}.metric-foot{color:#647369}.panel-heading h2{font-size:15px;color:#263a2e}.panel-heading p{font-size:11px;color:#697970}.button{min-height:40px;border-radius:9px;font-size:12px;font-weight:650;transition:background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}.button-primary{box-shadow:0 3px 8px rgba(22,115,84,.12)}.button-primary:hover{transform:translateY(-1px);box-shadow:0 7px 15px rgba(22,115,84,.2)}.button-secondary:hover,.button-quiet:hover{transform:translateY(-1px);border-color:#c5d6ca;background:#f8fbf8}.button-danger:hover{background:#ffefed;border-color:#eec8c4}.button-small{min-height:34px;font-size:11px}.icon-button:hover,.row-action:hover,.quick-action:hover{transform:translateY(-1px)}
th{color:#586a5e;background:#f5f8f5;font-size:10px;letter-spacing:.45px}td{font-size:12px;color:#526157}tbody tr{transition:background-color .16s ease}tbody tr:hover{background:#f7faf7}.primary-cell{color:#283b2f}.secondary-cell{color:#718077}.status{font-size:10px}.empty-state{padding:56px 18px}.empty-state strong{font-size:15px}.empty-state p{max-width:460px;font-size:12px;line-height:1.65;color:#65736a}.table-toolbar{padding-top:15px;padding-bottom:15px}.search-box input{height:39px;border-radius:9px;font-size:12px;background:#fff}.toolbar-actions{flex-wrap:wrap}.form-field label{font-size:12px;font-weight:600;color:#35483c}.form-field input,.form-field select,.form-field textarea{border-radius:9px;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.form-field input:focus,.form-field select:focus,.form-field textarea:focus,.search-box input:focus{border-color:#4e9a73;box-shadow:0 0 0 3px rgba(57,135,91,.12);outline:none}.form-hint{line-height:1.55}.modal-backdrop{background:rgba(18,32,24,.43);backdrop-filter:blur(3px)}.modal{border:1px solid rgba(222,232,224,.9)}.modal-header{border-bottom-color:#edf1ed}.modal-footer{border-top-color:#edf1ed}.close-modal:hover{background:#f1f5f1;color:#263a2e}.notice{border:1px solid #e5ece6;background:#f7faf7;line-height:1.65}.toast{border:1px solid rgba(255,255,255,.15);box-shadow:0 14px 32px rgba(15,31,22,.2)}.trial-card{background:linear-gradient(145deg,#f4f8f4,#fbfcfb);border-color:#e3ebe4}.trial-link:hover{text-decoration:underline;text-underline-offset:3px}.inbox-demo-note,.agent-mode{letter-spacing:.1px}
@keyframes nexo-enter{from{opacity:0;transform:translateY(11px)}to{opacity:1;transform:translateY(0)}}@keyframes nexo-modal-in{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes nexo-toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes nexo-pulse{0%,100%{box-shadow:0 0 0 0 rgba(37,130,91,.16)}50%{box-shadow:0 0 0 5px rgba(37,130,91,0)}}
@media(prefers-reduced-motion:no-preference){#pageContent>.page-heading{animation:nexo-enter .38s cubic-bezier(.2,.7,.2,1) both}#pageContent>.metric-grid>.metric-card{animation:nexo-enter .42s cubic-bezier(.2,.7,.2,1) both}#pageContent>.metric-grid>.metric-card:nth-child(2){animation-delay:45ms}#pageContent>.metric-grid>.metric-card:nth-child(3){animation-delay:90ms}#pageContent>.metric-grid>.metric-card:nth-child(4){animation-delay:135ms}#pageContent>.panel,#pageContent>.dashboard-grid,#pageContent>.inventory-banner,#pageContent>.report-grid,#pageContent>.sales-agent-panel,#pageContent>.task-summary,#pageContent>.pipeline-summary{animation:nexo-enter .44s cubic-bezier(.2,.7,.2,1) both;animation-delay:70ms}.modal-backdrop:not([hidden]) .modal{animation:nexo-modal-in .22s ease-out both}.toast{animation:nexo-toast-in .2s ease-out both}.trial-dot{animation:nexo-pulse 2.8s ease-out infinite}}
@media(max-width:760px){.sidebar{box-shadow:18px 0 48px rgba(16,36,24,.16)}.main-nav{padding-bottom:14px}.topbar{box-shadow:0 3px 10px rgba(20,43,29,.025)}.page-wrap{padding-top:27px}.page-heading h1{font-size:27px}.page-heading p{font-size:13px}.panel-heading{gap:12px}.table-toolbar{align-items:stretch}.search-box{max-width:none}.erp-actions{min-width:0}.modal-backdrop:not([hidden]) .modal{animation:nexo-modal-in .2s ease-out both}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}
@media(max-width:480px){.breadcrumbs>span:first-child,.breadcrumbs>.crumb-slash{display:none}.breadcrumbs{min-width:0;overflow:hidden;white-space:nowrap}.topbar{gap:6px}.mobile-menu{flex:none}}

.erp-actions{display:flex;align-items:center;gap:6px;min-width:230px}.erp-actions .button{white-space:nowrap}.check-field{grid-column:1/-1;display:flex;align-items:center;gap:9px;font-size:12px;color:#42544a}.check-field input{accent-color:#13866b;width:16px;height:16px}.report-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:18px}.report-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px}.report-card>span,.report-card>small{font-size:12px;color:#65736a}.report-card>strong{font-size:25px;color:#293c30}.report-card button{margin-top:5px}@media(max-width:760px){.erp-actions{flex-wrap:wrap;min-width:180px}.report-grid{grid-template-columns:1fr}}

.chart-total{margin-left:auto;color:#314c3a;font-size:12px}.chart-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:148px;gap:5px;text-align:center;color:#58695f}.chart-empty strong{font-size:14px}.chart-empty span{font-size:12px;max-width:390px}.sales-chart-data{list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;padding:0;margin:8px 0 0}.sales-chart-data li{display:flex;flex-direction:column;gap:3px;padding:8px;background:#f7f9f7;border:1px solid #edf1ed;border-radius:8px}.sales-chart-data li span{font-size:10px;color:#617168}.sales-chart-data li strong{font-size:11px;color:#2d4537}@media(max-width:760px){.sales-chart-data{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:420px){.sales-chart-data{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Icon system and persistent dark appearance */
.icon-library{position:absolute;width:0;height:0;overflow:hidden}.nav-icon{width:19px;height:19px;display:inline-grid;place-items:center;flex:none}.nav-icon svg,.icon-button>svg,.theme-toggle svg,.ui-icon{width:18px;height:18px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.theme-toggle{border:1px solid var(--line);background:var(--surface);color:var(--muted)}.theme-toggle:hover{background:var(--green-pale);color:var(--green)}.theme-sun{display:none!important}.quick-action .ui-icon{color:var(--green);margin-right:8px}.metric-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html[data-theme="dark"]{color-scheme:dark;--ink:#e5ece8;--muted:#a0aea6;--line:#2c3933;--surface:#1b2520;--canvas:#111916;--green:#70c49b;--green-dark:#60b78a;--green-pale:#233b30;--pale:#233b30;--white:#1b2520;--shadow:0 8px 26px rgba(0,0,0,.22);--shadow-raised:0 12px 30px rgba(0,0,0,.3)}
html[data-theme="dark"] body{background:var(--canvas);color:var(--ink)}html[data-theme="dark"] .sidebar,html[data-theme="dark"] .topbar,html[data-theme="dark"] .panel,html[data-theme="dark"] .metric-card,html[data-theme="dark"] .settings-card,html[data-theme="dark"] .plan-card,html[data-theme="dark"] .modal,html[data-theme="dark"] .auth-card,html[data-theme="dark"] .document-preview{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .sidebar{box-shadow:8px 0 30px rgba(0,0,0,.12)}html[data-theme="dark"] .topbar{background:rgba(27,37,32,.94)}html[data-theme="dark"] .brand-mark{background:#27825c}html[data-theme="dark"] .nav-label,html[data-theme="dark"] .eyebrow,html[data-theme="dark"] .metric-top,html[data-theme="dark"] .panel-heading p,html[data-theme="dark"] .page-heading p,html[data-theme="dark"] .top-date,html[data-theme="dark"] .breadcrumbs,html[data-theme="dark"] .secondary-cell,html[data-theme="dark"] .form-hint{color:#a0aea6}html[data-theme="dark"] .nav-item{color:#b2beb7}html[data-theme="dark"] .nav-item:hover,html[data-theme="dark"] .icon-button:hover,html[data-theme="dark"] .close-modal:hover{background:#26352d;color:#e5ece8}html[data-theme="dark"] .nav-item.active{background:#243e31;color:#8bd2aa}html[data-theme="dark"] .nav-item.active:before{background:#67c395}html[data-theme="dark"] .page-heading h1,html[data-theme="dark"] .panel-heading h2,html[data-theme="dark"] .primary-cell,html[data-theme="dark"] .metric-value,html[data-theme="dark"] .report-card>strong{color:#e5ece8}html[data-theme="dark"] .workspace,html[data-theme="dark"] .trial-card,html[data-theme="dark"] .notice,html[data-theme="dark"] .activity-item,html[data-theme="dark"] .quick-action,html[data-theme="dark"] .sales-chart-data li,html[data-theme="dark"] .chart-empty{background:#202c26;border-color:#34423a;color:#d4dfd8}html[data-theme="dark"] .trial-card p,html[data-theme="dark"] .trial-top,html[data-theme="dark"] .activity-content small{color:#9eaca3}html[data-theme="dark"] .button-secondary,html[data-theme="dark"] .button-danger{background:#24312a;border-color:#3b4a40;color:#d8e3dc}html[data-theme="dark"] .button-secondary:hover,html[data-theme="dark"] .button-quiet:hover{background:#2b3b31;border-color:#53685b}html[data-theme="dark"] .button-primary{background:#267d58;color:#fff}html[data-theme="dark"] .button-danger{color:#f0a49e}html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#141e19;border-color:#3a4940;color:#e4ece7}html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#84958a}html[data-theme="dark"] th{background:#24312a;color:#bdc9c1}html[data-theme="dark"] td{color:#d0dbd4;border-color:#2d3a33}html[data-theme="dark"] tbody tr:hover{background:#202d26}html[data-theme="dark"] .nav-count{background:#2a3930;color:#b6c4bb}html[data-theme="dark"] .modal-header,html[data-theme="dark"] .modal-footer,html[data-theme="dark"] .user-profile{border-color:#2c3933}html[data-theme="dark"] .modal-backdrop{background:rgba(0,0,0,.66)}html[data-theme="dark"] .chart-grid{stroke:#34423a}html[data-theme="dark"] .chart-label{fill:#a8b7ad}html[data-theme="dark"] .auth-gate{background:rgba(8,14,11,.82)}html[data-theme="dark"] .toast{background:#26372e;color:#e7f0ea}html[data-theme="dark"] .theme-moon{display:none!important}html[data-theme="dark"] .theme-sun{display:block!important;color:#e6bd69}html[data-theme="dark"] .brand-dot{color:#83c99f}html[data-theme="dark"] .report-card>span,html[data-theme="dark"] .report-card>small,html[data-theme="dark"] .chart-total{color:#aab8af}
@media print{html[data-theme="dark"]{color-scheme:light}html[data-theme="dark"] body,html[data-theme="dark"] .modal-backdrop,html[data-theme="dark"] .modal,html[data-theme="dark"] .document-preview{background:#fff!important;color:#111!important}html[data-theme="dark"] .document-preview *{color:#111!important}}

/* Global search palette */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.global-search-trigger{height:36px;display:flex;align-items:center;gap:9px;padding:0 10px;border:1px solid #e2e8e4;background:#fff;border-radius:9px;color:#77847c;font-size:11px;min-width:195px}.global-search-trigger:hover{border-color:#b9cec0;background:#fbfdfb;color:#355d46}.global-search-trigger svg,.global-search-input svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.global-search-trigger kbd,.global-search-dialog kbd{margin-left:auto;padding:2px 5px;border:1px solid #e5eae6;border-radius:5px;background:#f7f9f7;color:#87938c;font:10px 'DM Sans',sans-serif}.global-search-backdrop{position:fixed;inset:0;z-index:60;display:flex;justify-content:center;align-items:flex-start;padding:13vh 18px 24px;background:rgba(17,28,21,.45);backdrop-filter:blur(3px)}.global-search-backdrop[hidden]{display:none}.global-search-dialog{width:min(590px,100%);max-height:min(620px,75vh);display:flex;flex-direction:column;overflow:hidden;border:1px solid #e3e9e4;border-radius:15px;background:#fff;box-shadow:0 28px 85px rgba(12,28,18,.25)}.global-search-input{height:58px;display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid #edf0ed;color:#799084}.global-search-input input{width:100%;height:100%;border:0!important;outline:none!important;box-shadow:none!important;background:transparent!important;color:#22352a!important;font-size:14px}.global-search-input kbd{margin:0}.global-search-hint{padding:12px 18px 5px;color:#89968e;font-size:10px}.global-search-results{padding:4px 8px 10px;overflow-y:auto}.global-search-section{padding:10px 10px 6px;color:#93a097;font-size:9px;text-transform:uppercase;letter-spacing:.8px;font-weight:700}.global-search-result{width:100%;min-height:54px;display:flex;align-items:center;gap:12px;padding:8px 10px;border:0;border-radius:9px;background:transparent;text-align:left;color:#33483a}.global-search-result:hover,.global-search-result.selected{background:#f0f6f1}.global-search-result>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}.global-search-result strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.global-search-result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#829087;font-size:10px}.global-result-icon{width:30px;height:30px;display:grid;place-items:center;flex:none;border-radius:8px;background:#edf5ef;color:#428263}.global-result-icon .ui-icon{width:16px;height:16px}.global-search-result>kbd{margin-left:auto}.global-search-empty{padding:24px 12px;color:#77847c;text-align:center;font-size:12px}.global-search-footer{display:flex;justify-content:flex-end;gap:15px;padding:10px 15px;border-top:1px solid #edf0ed;color:#89958d;font-size:9px}.global-search-footer kbd{margin:0 2px;padding:2px 5px}
html[data-theme="dark"] .global-search-trigger{background:#1b2520;border-color:#35433a;color:#acb9b0}html[data-theme="dark"] .global-search-trigger:hover{background:#24332a;border-color:#536d5a;color:#dce9e0}html[data-theme="dark"] .global-search-dialog{background:#1b2520;border-color:#34423a}html[data-theme="dark"] .global-search-input{border-color:#2c3933;color:#a9b8ae}html[data-theme="dark"] .global-search-input input{color:#e5ece8!important}html[data-theme="dark"] .global-search-result{color:#d7e2da}html[data-theme="dark"] .global-search-result:hover,html[data-theme="dark"] .global-search-result.selected{background:#26372d}html[data-theme="dark"] .global-result-icon{background:#294236;color:#8bd2aa}html[data-theme="dark"] .global-search-trigger kbd,html[data-theme="dark"] .global-search-dialog kbd{background:#26322b;border-color:#3c4a41;color:#aab8af}html[data-theme="dark"] .global-search-footer{border-color:#2c3933}html[data-theme="dark"] .global-search-footer,html[data-theme="dark"] .global-search-hint,html[data-theme="dark"] .global-search-section,html[data-theme="dark"] .global-search-result small,html[data-theme="dark"] .global-search-empty{color:#a0aea6}
@media(max-width:760px){.global-search-trigger{min-width:36px;width:36px;justify-content:center;padding:0}.global-search-trigger span,.global-search-trigger kbd{display:none}.top-actions{gap:7px}.global-search-backdrop{padding:8vh 10px 16px}.global-search-dialog{max-height:82vh}.global-search-footer{gap:8px;font-size:8px}}

/* Responsive pass: navigation, dense ERP data and touch targets */
.sidebar-backdrop{display:none}
@media(max-width:900px){
  .sidebar{width:min(300px,84vw);transform:translateX(-105%);transition:transform .22s ease;z-index:40;padding-top:calc(18px + env(safe-area-inset-top));box-shadow:18px 0 48px rgba(12,28,18,.2)}
  .sidebar.open{transform:translateX(0)}.main-content{margin-left:0;min-width:0}.mobile-menu{display:grid;min-width:42px;min-height:42px}
  .sidebar-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:30;border:0;background:rgba(14,26,19,.42);backdrop-filter:blur(2px)}
  .topbar{height:60px;padding:0 16px;gap:8px}.top-actions{gap:8px}.page-wrap{width:100%;max-width:1500px;padding:clamp(20px,4vw,34px) clamp(16px,4vw,32px) 48px}
  .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.right-stack{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .inbox-layout{max-width:100%;}.pipeline-board{scroll-snap-type:x mandatory;overscroll-behavior-inline:contain}.pipeline-column{scroll-snap-align:start}
  .table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#b9c9bd transparent;-webkit-overflow-scrolling:touch}
  .table-wrap table{min-width:620px}.table-wrap th:first-child,.table-wrap td:first-child{position:sticky;left:0;z-index:1;background:var(--surface);box-shadow:1px 0 0 var(--line)}.table-wrap th:first-child{z-index:2}
  .toolbar-actions,.erp-actions{flex-wrap:wrap}.toolbar-actions .button,.erp-actions .button{min-height:40px}
  .modal-backdrop{align-items:end;justify-items:center;padding:max(8px,env(safe-area-inset-top)) 8px max(8px,env(safe-area-inset-bottom))}
  .modal{display:flex;flex-direction:column;width:min(760px,100%);max-height:calc(100dvh - 16px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:16px 16px 12px 12px;overflow:hidden}
  .modal-header,.modal-footer{flex:none}.modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}.modal-footer{flex-wrap:wrap}.modal-footer .button{min-height:44px}
  .global-search-backdrop{padding:max(12px,8vh) 12px max(12px,env(safe-area-inset-bottom))}.global-search-dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}
}
@media(max-width:760px){
  .topbar{height:58px;padding:0 10px}.breadcrumbs{font-size:11px;gap:6px}.top-actions{gap:5px}.page-heading{width:100%;flex-direction:column;align-items:flex-start;gap:10px}.page-heading>div{min-width:0}.page-heading h1{font-size:clamp(23px,6vw,28px);overflow-wrap:anywhere}.page-heading p{max-width:56ch;font-size:13px}.page-heading>.button{min-height:44px;max-width:100%;white-space:normal;text-align:center;font-size:12px}
  .inbox-demo-note{align-items:flex-start;line-height:1.45}.inbox-layout{min-height:0}.inbox-list-panel{min-height:270px;max-height:min(390px,48dvh)}.inbox-chat-panel{min-height:560px}.inbox-chat-panel textarea{min-height:76px}.chat-contact-head{min-width:0;flex-wrap:wrap}.chat-contact-info{min-width:0;flex:1}.chat-contact-info strong,.chat-contact-info span{overflow-wrap:anywhere}.chat-history{min-height:230px}.composer-foot{gap:8px;flex-wrap:wrap}.composer-foot .button{min-height:42px}
  .conversation-row,.inbox-filters button{min-height:44px}.inbox-filters{overflow-x:auto;scrollbar-width:none}.inbox-filters button{flex:none}.pipeline-toolbar{flex-wrap:wrap}.pipeline-toolbar .search-box{flex-basis:100%}.pipeline-board{margin-inline:-2px;padding:10px}.pipeline-column{flex-basis:min(82vw,310px)}
  .table-toolbar{align-items:stretch;gap:9px}.table-toolbar .search-box{flex:1 1 100%;max-width:none}.toolbar-actions{width:100%;margin:0;gap:7px}.toolbar-actions .button{flex:1 1 auto}.report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-field.full{grid-column:1/-1}
}
@media(max-width:520px){
  .topbar{gap:3px}.mobile-menu{width:40px;height:42px;flex:none}.breadcrumbs{margin-left:0;min-width:0}.breadcrumbs>span:first-child,.breadcrumbs>.crumb-slash{display:none}.breadcrumbs strong{overflow:hidden;text-overflow:ellipsis}.top-actions{margin-left:auto;gap:3px}.top-actions .icon-button{width:38px;height:40px}.top-avatar{width:32px;height:32px;flex:none}.page-wrap{padding:20px 12px 36px}.metric-grid{gap:8px}.metric-card{min-height:106px;padding:11px}.metric-top{font-size:9px;gap:5px}.metric-value{font-size:clamp(18px,5.4vw,22px)}.metric-foot{font-size:9px;flex-wrap:wrap}.right-stack{grid-template-columns:minmax(0,1fr)}.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:12px}.quick-action{min-height:48px;font-size:10px;padding:8px}.panel-heading{padding:14px 13px 10px;flex-wrap:wrap}.panel-heading h2{font-size:14px}.panel-heading p{line-height:1.45}
  .report-grid{grid-template-columns:1fr}.sales-chart-data{grid-template-columns:repeat(2,minmax(0,1fr))}.chart-area{padding:8px 11px 13px}.chart{height:150px}.chart-legend{flex-wrap:wrap;gap:8px}.chart-total{margin-left:0}
  .table-wrap table{min-width:580px}.table-wrap th,.table-wrap td{padding-inline:11px}.toolbar-actions .button{font-size:10px;padding-inline:8px}.table-toolbar{padding:12px}.erp-actions{min-width:0;gap:5px}.erp-actions .button{white-space:normal;line-height:1.2}
  .form-grid{grid-template-columns:1fr}.form-field.full{grid-column:auto}.form-field input,.form-field select{min-height:44px;height:auto}.form-field textarea{min-height:88px;height:auto}.modal-header,.modal-body,.modal-footer{padding-left:15px;padding-right:15px}.modal-footer{display:grid;grid-template-columns:1fr 1fr}.modal-footer .button{width:100%;min-height:44px;padding-inline:8px}.document-preview{padding:12px}.doc-head{gap:10px}.doc-meta{text-align:left}.doc-table{min-width:520px}.auth-card{padding:24px 19px}
  .task-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.pipeline-summary>div{min-width:0;padding:11px}.pipeline-summary strong{font-size:17px;overflow-wrap:anywhere}.agent-kpis{grid-template-columns:1fr 1fr}.agent-kpis .button{grid-column:1/-1;width:100%}.agent-suggestion{gap:8px}.agent-suggestion .button{margin-left:28px;min-height:40px}
  .global-search-backdrop{padding:calc(12px + env(safe-area-inset-top)) 8px calc(10px + env(safe-area-inset-bottom))}.global-search-dialog{width:100%;max-height:calc(100dvh - 22px - env(safe-area-inset-top) - env(safe-area-inset-bottom));border-radius:13px}.global-search-input{height:54px;padding-inline:13px}.global-search-footer{justify-content:space-between;gap:4px;padding-inline:9px}.global-search-footer span{white-space:nowrap}.global-search-result{min-height:58px}
}
@media(max-width:360px){.top-actions .notification-button{display:none}.top-actions .theme-toggle{width:36px}.metric-top{font-size:8px}.metric-card{padding:9px}.metric-value{font-size:18px}.metric-foot{font-size:8px}.quick-action{gap:6px}.quick-action .ui-icon{margin-right:0}.page-heading h1{font-size:23px}.modal-footer{grid-template-columns:1fr}}
@media(max-height:560px) and (max-width:900px){.modal-backdrop{align-items:start}.modal{max-height:calc(100dvh - 12px - env(safe-area-inset-top) - env(safe-area-inset-bottom))}.modal-header{padding-top:12px;padding-bottom:10px}.modal-body{padding-top:12px;padding-bottom:12px}.modal-footer{padding-top:9px;padding-bottom:9px}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none!important}}
html[data-theme="dark"] .sidebar-backdrop:not([hidden]){background:rgba(0,0,0,.58)}html[data-theme="dark"] .table-wrap th:first-child,html[data-theme="dark"] .table-wrap td:first-child{background:#1b2520}

html[data-theme="dark"] .inbox-layout,html[data-theme="dark"] .inbox-list-panel,html[data-theme="dark"] .inbox-chat-panel,html[data-theme="dark"] .inbox-detail-panel,html[data-theme="dark"] .conversation-row{background:#1b2520;color:#dce7df}html[data-theme="dark"] .conversation-row{border-color:#2c3933}html[data-theme="dark"] .conversation-row.active,html[data-theme="dark"] .conversation-row:hover{background:#24372d}html[data-theme="dark"] .conversation-avatar,html[data-theme="dark"] .detail-avatar,html[data-theme="dark"] .chat-contact-avatar{background:#294236;color:#9ad9b3}html[data-theme="dark"] .inbox-list-panel,html[data-theme="dark"] .detail-section,html[data-theme="dark"] .chat-contact-head,html[data-theme="dark"] .inbox-filters{border-color:#2c3933}html[data-theme="dark"] .inbox-search{background:#141e19;border-color:#3a4940}html[data-theme="dark"] .inbox-filters button.selected{background:#294236;color:#9ad9b3}html[data-theme="dark"] .chat-history{background-color:#151e19;background-image:radial-gradient(#26372e .55px,transparent .55px)}html[data-theme="dark"] .message-bubble{background:#202c26;border-color:#34423a;color:#e3ebe6}html[data-theme="dark"] .message-row.outgoing .message-bubble{background:#233d2f;border-color:#315640}html[data-theme="dark"] .message-row.note-row .message-bubble{background:#3b3323;border-color:#63502e}html[data-theme="dark"] .inbox-demo-note{background:#202c26;border-color:#34423a;color:#c4d0c8}html[data-theme="dark"] .detail-section h3,html[data-theme="dark"] .detail-section dd{color:#c3d0c7}

html[data-theme="dark"] .empty-state strong,html[data-theme="dark"] .empty-state{color:#e3ece6}html[data-theme="dark"] .empty-state p,html[data-theme="dark"] .empty-icon{color:#a4b3a9}html[data-theme="dark"] .empty-icon{background:#26372e}html[data-theme="dark"] .inbox-empty-chat{background:#1b2520;color:#dce7df}

/* Centro de ayuda: guías consultables con progreso */
.help-overview{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 16px;padding:18px 20px;border:1px solid #dfe9e1;border-radius:13px;background:linear-gradient(110deg,#eff7f1,#f9fbf9)}.help-overview-copy{display:flex;align-items:center;gap:13px;min-width:0}.help-overview-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:12px;background:#dceee1;color:#3c8a62}.help-overview-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-overview-copy strong{display:block;color:#264434;font:700 14px Manrope,sans-serif}.help-overview-copy p{margin:4px 0 0;color:#6b7a70;font-size:11px;line-height:1.5}.help-overview-progress{width:min(240px,36%);flex:none}.help-overview-progress>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#748279;font-size:10px}.help-overview-progress strong{color:#286b4e}.help-progress{height:7px;display:block;overflow:hidden;border-radius:9px;background:#e5ebe6}.help-progress>span{height:100%;display:block;border-radius:inherit;background:#37845d;transition:width .2s ease}.help-toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;margin-bottom:13px}.help-search{height:42px;display:flex;align-items:center;gap:9px;min-width:min(280px,100%);flex:0 1 330px;padding:0 12px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:#8b978f}.help-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-search input{width:100%;min-width:0;height:100%;border:0!important;outline:0!important;background:transparent!important;color:var(--ink)!important;box-shadow:none!important;font-size:11px}.help-filters{display:flex;align-items:center;gap:5px;overflow-x:auto;scrollbar-width:thin}.help-filter{min-height:34px;flex:none;padding:0 11px;border:1px solid var(--line);border-radius:18px;background:var(--surface);color:#66756b;font-size:10px}.help-filter:hover,.help-filter.active{border-color:#b9d5c1;background:#edf6ef;color:#286b4e}.help-layout{display:grid;grid-template-columns:minmax(230px,285px) minmax(0,1fr);align-items:start;gap:14px}.help-guide-list{display:flex;flex-direction:column;gap:4px;max-height:min(720px,calc(100vh - 255px));overflow-y:auto;padding:7px;border:1px solid var(--line);border-radius:12px;background:var(--surface);scrollbar-width:thin}.help-guide-link{width:100%;min-height:56px;display:flex;align-items:center;gap:10px;padding:8px;border:1px solid transparent;border-radius:9px;background:transparent;text-align:left;color:var(--ink)}.help-guide-link:hover{background:#f5f8f5}.help-guide-link.active{border-color:#d8e8dc;background:#edf6ef;color:#285d40}.help-guide-link.complete .help-guide-status{background:#dcefe2;color:#26734c}.help-guide-icon{width:32px;height:32px;display:grid;place-items:center;flex:none;border-radius:9px;background:#eff5f0;color:#488465}.help-guide-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-guide-link-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:3px}.help-guide-link-copy strong{font-size:11px}.help-guide-link-copy small{color:#89958d;font-size:9px}.help-guide-status{width:22px;height:22px;display:grid;place-items:center;flex:none;border-radius:50%;background:#f1f4f1;color:#7c8a80;font-size:12px}.help-guide-detail{min-width:0;padding:23px 25px;border:1px solid var(--line);border-radius:13px;background:var(--surface);box-shadow:var(--shadow)}.help-guide-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#849188;font-size:10px}.help-guide-topline>span:first-child{display:flex;align-items:center;gap:6px;color:#478263;font-weight:700}.help-guide-topline svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-guide-detail h2{margin:13px 0 5px;color:#24372c;font:700 22px Manrope,sans-serif;letter-spacing:-.5px}.help-guide-summary{margin:0;color:#718077;font-size:12px;line-height:1.6}.help-guide-detail>.help-progress{margin:15px 0 21px}.help-guide-detail h3{margin:0 0 8px;color:#32483a;font:700 13px Manrope,sans-serif}.help-step-list{display:flex;flex-direction:column;gap:7px;margin:0;padding:0;list-style:none}.help-step-list li{margin:0;padding:0}.help-step{position:relative;display:grid;grid-template-columns:18px 25px minmax(0,1fr);align-items:start;gap:10px;padding:12px;border:1px solid #e8eee9;border-radius:9px;background:#fbfcfb;color:#405247;font-size:11px;line-height:1.55;cursor:pointer}.help-step:hover{border-color:#ceded2;background:#f6faf6}.help-step input{width:17px;height:17px;margin:1px 0 0;accent-color:#267650}.help-step-number{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#eaf3ec;color:#4b8362;font-size:10px;font-weight:700}.help-step.checked{border-color:#d4e7d9;background:#f3f8f4;color:#65756a}.help-step.checked>span:last-child{text-decoration:line-through;text-decoration-color:#a2b4a7}.help-note{margin-top:14px;padding:12px 14px;border-left:3px solid #d3a958;border-radius:0 8px 8px 0;background:#fbf7ed}.help-note strong{color:#876523;font-size:10px}.help-note p{margin:4px 0 0;color:#73674b;font-size:10px;line-height:1.55}.help-guide-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:17px;padding-top:14px;border-top:1px solid var(--line)}.help-guide-actions .button{min-height:42px}.help-complete-button{margin-left:auto;padding:8px 5px;border:0;background:none;color:#64776a;font-size:10px;text-decoration:underline;text-underline-offset:3px}.help-complete-button:hover{color:var(--green)}.help-complete-label{margin-left:auto;color:#34724f;font-size:10px;font-weight:700}.help-list-empty,.help-no-results{padding:28px 18px;color:#78867d;text-align:center;font-size:11px}.help-no-results{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center}.help-no-results>div{color:#6c9a7a}.help-no-results svg{width:22px;height:22px}.help-no-results strong{margin-top:10px;color:#394d40;font-size:13px}.help-no-results p{margin:5px 0 14px}
html[data-theme="dark"] .help-overview{background:linear-gradient(110deg,#202e26,#1b2520);border-color:#35443a}html[data-theme="dark"] .help-overview-copy strong,html[data-theme="dark"] .help-guide-detail h2,html[data-theme="dark"] .help-guide-detail h3{color:#e4ede7}html[data-theme="dark"] .help-overview-copy p,html[data-theme="dark"] .help-overview-progress>div,html[data-theme="dark"] .help-guide-summary{color:#a5b3a9}html[data-theme="dark"] .help-overview-icon,html[data-theme="dark"] .help-guide-icon{background:#294236;color:#91d1a9}html[data-theme="dark"] .help-progress{background:#344239}html[data-theme="dark"] .help-filter{color:#b4c1b8}html[data-theme="dark"] .help-filter:hover,html[data-theme="dark"] .help-filter.active{background:#294236;border-color:#3b684b;color:#a2ddb6}html[data-theme="dark"] .help-guide-link{color:#dce7df}html[data-theme="dark"] .help-guide-link:hover{background:#202e26}html[data-theme="dark"] .help-guide-link.active{background:#243b2d;border-color:#365640;color:#d6eade}html[data-theme="dark"] .help-guide-link-copy small{color:#a1afa6}html[data-theme="dark"] .help-guide-status{background:#29362e;color:#aab8af}html[data-theme="dark"] .help-guide-status,html[data-theme="dark"] .help-guide-detail,html[data-theme="dark"] .help-guide-list{border-color:#34423a}html[data-theme="dark"] .help-guide-detail{background:#1b2520}html[data-theme="dark"] .help-step{background:#202b25;border-color:#35433a;color:#d5e0d8}html[data-theme="dark"] .help-step:hover,html[data-theme="dark"] .help-step.checked{background:#25372c;border-color:#3b5843}html[data-theme="dark"] .help-step.checked{color:#9eafa3}html[data-theme="dark"] .help-step-number{background:#2a4133;color:#a5ddb6}html[data-theme="dark"] .help-note{background:#332e21;border-color:#69562f}html[data-theme="dark"] .help-note strong{color:#e1c177}html[data-theme="dark"] .help-note p{color:#cfbf93}html[data-theme="dark"] .help-complete-button{color:#b3c2b8}html[data-theme="dark"] .help-complete-label{color:#93d1a6}html[data-theme="dark"] .help-guide-actions{border-color:#34423a}html[data-theme="dark"] .help-no-results strong{color:#e2ebe5}html[data-theme="dark"] .help-no-results,html[data-theme="dark"] .help-list-empty{color:#a3b1a8}
@media(max-width:900px){.help-layout{grid-template-columns:minmax(0,1fr)}.help-guide-list{max-height:235px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}.help-guide-detail{padding:20px}.help-guide-list .help-guide-link{min-width:0}.help-guide-link-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:600px){.help-overview{align-items:flex-start;flex-direction:column;gap:14px;padding:15px}.help-overview-progress{width:100%}.help-toolbar{align-items:stretch;flex-direction:column}.help-search{flex:auto;width:100%;min-height:44px}.help-filters{width:100%;padding-bottom:4px}.help-filter{min-height:40px}.help-guide-list{grid-template-columns:1fr;max-height:215px;padding:5px}.help-guide-link{min-height:50px}.help-guide-detail{padding:17px 14px}.help-guide-topline{align-items:flex-start}.help-guide-detail h2{font-size:21px}.help-step{grid-template-columns:18px 22px minmax(0,1fr);gap:8px;padding:11px 9px}.help-guide-actions{align-items:stretch}.help-guide-actions .button{flex:1 1 100%;justify-content:center}.help-complete-button,.help-complete-label{margin:4px auto 0}.help-no-results{min-height:190px}}
.contextual-help-trigger svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.contextual-help-trigger:hover{background:#eaf4ef;color:var(--green)}.help-overview{flex-wrap:wrap}.help-tour-start{flex:none;min-height:42px}.help-tour-start span{font-size:16px;line-height:1}.help-tour-modal .modal-body{padding-top:16px}.help-tour-progress{height:6px;overflow:hidden;margin:0 0 18px;border-radius:8px;background:#e8eee9}.help-tour-progress span{display:block;height:100%;border-radius:inherit;background:#37845d;transition:width .2s ease}.help-tour-card{display:flex;align-items:flex-start;gap:13px}.help-tour-icon{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:11px;background:#eaf4ec;color:#41845e}.help-tour-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-tour-card .eyebrow{margin:0 0 5px;color:#638370;font-size:9px}.help-tour-card h3{margin:0;color:#253a2c;font:700 19px Manrope,sans-serif}.help-tour-card p{margin:4px 0 0;color:#78867d;font-size:11px;line-height:1.5}.help-tour-steps{display:grid;gap:8px;margin:17px 0 0;padding:0;list-style:none}.help-tour-steps li{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:9px;padding:10px;border:1px solid #e8eee9;border-radius:8px;color:#48594e;font-size:11px;line-height:1.5}.help-tour-steps li span{width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#edf5ef;color:#4c8664;font-size:10px;font-weight:700}.help-tour-modal .modal-footer{gap:7px}.help-tour-modal .modal-footer .button{min-height:40px}.help-tour-modal .modal-footer [data-help-tour-next]{margin-left:auto}html[data-theme="dark"] .contextual-help-trigger:hover{background:#294236;color:#a2ddb6}html[data-theme="dark"] .help-tour-progress{background:#344239}html[data-theme="dark"] .help-tour-icon{background:#294236;color:#91d1a9}html[data-theme="dark"] .help-tour-card h3{color:#e4ede7}html[data-theme="dark"] .help-tour-card p{color:#a5b3a9}html[data-theme="dark"] .help-tour-steps li{background:#202b25;border-color:#35433a;color:#d5e0d8}html[data-theme="dark"] .help-tour-steps li span{background:#2a4133;color:#a5ddb6}
@media(max-width:600px){.help-overview{align-items:flex-start;flex-direction:column;gap:14px;padding:15px}.help-tour-start{width:100%;justify-content:center}.help-tour-modal{width:100%!important;max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}.help-tour-modal .modal-footer{display:grid;grid-template-columns:1fr 1fr}.help-tour-modal .modal-footer .button{width:100%;margin:0}.help-tour-modal .modal-footer [data-help-tour-next]{grid-column:2;grid-row:1}.help-tour-modal .modal-footer [data-help-tour-open]{grid-column:1/-1;grid-row:2}}
.help-guide-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:17px 0 20px}.help-guide-meta section,.help-tour-prerequisite,.help-tour-result{min-width:0;padding:12px 13px;border:1px solid #e6ece7;border-radius:9px;background:#f8faf8}.help-guide-meta section>span,.help-tour-prerequisite>strong,.help-tour-result>strong{color:#477057;font-size:10px;font-weight:700}.help-guide-meta p,.help-tour-prerequisite p,.help-tour-result p{margin:5px 0 0;color:#748178;font-size:10px;line-height:1.55}.help-guide-detail>h3{margin-bottom:10px}.help-related{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:16px}.help-related>strong{margin-right:3px;color:#77847b;font-size:10px}.help-related-link{min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 9px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:#4d6757;font-size:10px}.help-related-link:hover{border-color:#bbd6c2;background:#eff6f0}.help-related-link svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.help-related-link span{color:#619273}.help-tour-modal{max-height:min(88vh,900px)}.help-tour-modal .modal-body{overflow-y:auto;overscroll-behavior:contain}.help-tour-modal .help-tour-prerequisite,.help-tour-modal .help-tour-result{margin-top:13px}.help-tour-modal .help-tour-steps{margin-top:13px}html[data-theme="dark"] .help-guide-meta section,html[data-theme="dark"] .help-tour-prerequisite,html[data-theme="dark"] .help-tour-result{background:#202b25;border-color:#35433a}html[data-theme="dark"] .help-guide-meta section>span,html[data-theme="dark"] .help-tour-prerequisite>strong,html[data-theme="dark"] .help-tour-result>strong{color:#9fd0aa}html[data-theme="dark"] .help-guide-meta p,html[data-theme="dark"] .help-tour-prerequisite p,html[data-theme="dark"] .help-tour-result p{color:#a5b3a9}html[data-theme="dark"] .help-related>strong{color:#a5b3a9}html[data-theme="dark"] .help-related-link{background:#1b2520;border-color:#34423a;color:#c3d0c7}html[data-theme="dark"] .help-related-link:hover{background:#24372d;border-color:#45644e;color:#dce7df}
@media(max-width:600px){.help-guide-meta{grid-template-columns:1fr;gap:7px}.help-related{align-items:stretch}.help-related>strong{flex-basis:100%}.help-related-link{flex:1 1 calc(50% - 7px);justify-content:space-between}.help-tour-modal{max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important}}
.help-filter:focus-visible,.help-guide-link:focus-visible,.help-related-link:focus-visible,.help-complete-button:focus-visible{outline:3px solid #8ac5ab;outline-offset:2px;position:relative;z-index:1}@media(max-width:600px){.help-tour-modal .modal-footer [data-help-tour-prev]{grid-column:1;grid-row:2}.help-tour-modal .modal-footer [data-help-tour-open]{grid-column:1/-1;grid-row:3}.help-tour-modal.help-tour-first-step .modal-footer [data-help-tour-open]{grid-row:2}}
.top-login-button[hidden]{display:none}.auth-dismiss{width:100%;margin-top:12px}
