/*
 * Demo animada del sistema en la landing (landing/partials/demo_sistema.blade.php).
 * Todas las clases llevan el prefijo gd- para no chocar con Bootstrap (v1) ni con Tailwind
 * (v2), y las medidas van en px porque la v1 fija html{font-size:10px}.
 * Los colores copian los del sistema: app.css, menu.css y los tokens del POS.
 */
.gd-section{--gd-green:#21D47E;--gd-blue:#1c8fd9;--gd-ink:#1f2933;--gd-text:#3f4850;--gd-muted:#52606d;--gd-line:#e6e9ee;--gd-bot:#008DC9;padding:64px 0 56px;background:linear-gradient(180deg,#fff 0%,#f3f7f5 100%);font-family:'Poppins','Poppins Fallback',system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--gd-text);overflow:hidden}
.gd-section *,.gd-section *::before,.gd-section *::after{box-sizing:border-box}
.gd-container{max-width:1120px;margin:0 auto;padding:0 16px}

.gd-head{max-width:760px;margin:0 auto 26px;text-align:center}
.gd-eyebrow{display:inline-block;margin:0 0 12px;padding:4px 12px;border-radius:999px;background:#E9F9F1;color:#0e7a47;font-size:12px;line-height:18px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.gd-section .gd-title{margin:0 0 10px;font-size:32px;line-height:1.2;font-weight:700;letter-spacing:-.01em;color:var(--gd-ink);text-transform:none}
.gd-section .gd-sub{margin:0;font-size:16px;line-height:1.6;color:var(--gd-muted)}

/* Pestañas: dos filas de cuatro */
.gd-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:1080px;margin:0 auto 16px}
.gd-section .gd-tab{position:relative;display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:10px 12px 12px;border:1px solid var(--gd-line);border-radius:12px;background:#fff;color:var(--gd-muted);font-family:inherit;font-size:13px;line-height:1.25;font-weight:600;text-align:left;cursor:pointer;overflow:hidden;transition:border-color .2s,box-shadow .2s,color .2s}
.gd-section .gd-tab:hover{border-color:#bfe9d3;color:var(--gd-ink)}
.gd-section .gd-tab:focus-visible{outline:2px solid var(--gd-blue);outline-offset:2px}
.gd-section .gd-tab.is-active{border-color:var(--gd-green);color:var(--gd-ink);box-shadow:0 6px 18px rgba(33,212,126,.16)}
.gd-tab-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:#f2f4f7;color:var(--gd-muted)}
.gd-tab-ico .gd-i{width:16px;height:16px}
.gd-tab.is-active .gd-tab-ico{background:#E9F9F1;color:#12b466}
.gd-tab-short{display:none}
.gd-tab-bar{position:absolute;left:0;bottom:0;width:0;height:3px;background:var(--gd-green);transition:width .6s ease}

/* Ventana del navegador */
.gd-window{max-width:1080px;margin:0 auto;border:1px solid var(--gd-line);border-radius:14px;background:#fff;box-shadow:0 24px 60px rgba(31,41,51,.14),0 2px 6px rgba(31,41,51,.06);overflow:hidden;text-align:left}
.gd-chrome{display:flex;align-items:center;gap:7px;height:36px;padding:0 14px;background:#f5f7f9;border-bottom:1px solid var(--gd-line)}
.gd-dot{flex:none;width:10px;height:10px;border-radius:50%}
.gd-url{display:flex;align-items:center;flex:0 1 440px;min-width:0;height:22px;margin:0 auto;padding:0 10px;border:1px solid var(--gd-line);border-radius:6px;background:#fff;color:#7b8794;font-size:12px;white-space:nowrap;overflow:hidden}
.gd-url b{font-weight:500;color:var(--gd-ink)}
.gd-stage{position:relative;height:500px;overflow:hidden;background:#f1f1f1;font-size:12px;line-height:1.4;color:var(--gd-text)}
.gd-screen{position:absolute;top:0;right:0;bottom:0;left:0}

.gd-i{display:inline-block;flex:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.gd-glyph{display:block;width:40px;height:40px;fill:currentColor}

/* Pantallas con menú lateral */
.gd-app{display:flex;height:100%}
.gd-side{flex:none;width:188px;padding:12px 10px;background:#2f3142;color:#d1d1d1;line-height:18px;overflow:hidden}
.gd-side-add{display:flex;align-items:center;justify-content:center;height:30px;margin-bottom:8px;border-radius:12px;background:var(--gd-blue);color:#fff}
.gd-side-label{margin:8px 8px 3px;font-size:10px;color:#bbb}
.gd-side-sep{height:1px;margin:5px 4px;background:rgba(255,255,255,.06)}
.gd-side-item{display:flex;align-items:center;gap:9px;margin-bottom:1px;padding:3px 8px;border-radius:5px;font-weight:500;white-space:nowrap}
.gd-side-item .gd-i{color:#96F7C9}
.gd-side-item.is-active{background:#96F7C9;color:#3f4850;font-weight:600}
.gd-side-item.is-active .gd-i{color:#3f4850}
.gd-main{flex:1;min-width:0;display:flex;flex-direction:column;background:linear-gradient(180deg,#fff 0,#f9f9f9 120px,#f1f1f1 100%)}
.gd-top{flex:none;display:flex;align-items:center;gap:12px;height:44px;padding:0 18px;border-bottom:1px solid #eee;color:#3f4850}
.gd-top-title{font-size:15px;font-weight:600;letter-spacing:1.5px;text-transform:uppercase}
.gd-top-search{margin-left:auto;color:#90a0ae}
.gd-body{flex:1;min-height:0;overflow:hidden;padding:12px 18px 14px}
.gd-savebar{flex:none;display:flex;align-items:center;gap:8px;padding:9px 18px;background:#fff;border-top:1px solid #d2d2d2}
.gd-h4{margin:0 0 10px;font-size:15px;font-weight:600;color:#3f4850}

.gd-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:start;margin-bottom:12px}
.gd-row-cost{grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);margin-bottom:0}
.gd-panel{padding:12px 14px;border:1px solid #e1e1e1;border-radius:12px;background:#fff}
.gd-panel + .gd-panel{margin-top:10px}
.gd-row > .gd-panel + .gd-panel{margin-top:0}
.gd-panel-title{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:13px;font-weight:600;color:#2f3142}
.gd-panel-title small{font-size:13px;font-weight:500;color:#aaa}
.gd-hint{margin:-2px 0 6px;font-size:11px;color:#8a949e}
.gd-f{margin-bottom:8px}
.gd-grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
.gd-label{display:block;margin-bottom:3px;font-size:12px;font-weight:600;color:#2f3142;white-space:nowrap}
.gd-label small{font-size:11px;font-weight:400;color:#999}
.gd-num{text-align:right}
.gd-muted{color:#7b8794}
.gd-spacer{flex:1}

.gd-input{position:relative;display:flex;align-items:center;height:30px;padding:0 9px;border:1px solid #d6dfeb;border-radius:3px;background:#e8f0fe;color:#3f4850;white-space:nowrap;overflow:hidden;transition:background .2s,border-color .2s,box-shadow .2s}
.gd-input.is-right{justify-content:flex-end}
.gd-input.is-focus{background:#fff;border-color:#86b7fe;box-shadow:0 0 0 3px rgba(13,110,253,.12)}
.gd-input.is-flash{animation:gd-flash .8s ease}
.gd-input.is-pos .gd-val{color:#5cb85c;font-weight:700}
.gd-val{white-space:pre}
.gd-ph{color:#98a2ad;overflow:hidden;text-overflow:ellipsis}
.has-val > .gd-ph{display:none}
.is-focus > .gd-val::after{content:"";display:inline-block;width:1px;height:14px;margin-left:1px;background:#3f4850;vertical-align:-3px;animation:gd-blink 1s steps(1) infinite}
.gd-select{padding-right:26px}
.gd-caret{position:absolute;top:50%;right:8px;width:12px;height:12px;margin-top:-6px;color:#7b8794}
.gd-dd{position:relative}
.gd-menu{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:5;padding:4px;border:1px solid #e1e5ea;border-radius:8px;background:#fff;box-shadow:0 10px 24px rgba(31,41,51,.14);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s}
.gd-dd.is-open{z-index:20}
.gd-dd.is-open .gd-menu{opacity:1;visibility:visible;transform:none}
.gd-opt{padding:4px 9px;border-radius:5px}
.gd-opt.is-muted{color:#98a2ad}
.gd-opt.is-hover{background:#f2f8fd;color:#137bb8}

.gd-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:30px;padding:0 14px;border:1px solid transparent;border-radius:12px;background:#fff;color:#fff;font-size:12px;font-weight:500;white-space:nowrap;box-shadow:0 2px 2px rgba(0,0,0,.15);transition:background .15s,transform .12s}
.gd-btn-success{background:#21D47E}
.gd-btn-success.is-press{background:#12b466}
.gd-btn-primary,.gd-btn-info,.gd-btn-blue{background:#1c8fd9}
.gd-btn-default{border-color:#ccc;background:#fff;color:#3f4850;box-shadow:none}
.gd-btn-outline{border-color:#1c8fd9;background:#fff;color:#1c8fd9;box-shadow:none}
.gd-btn-sm{height:26px;padding:0 10px;font-size:11px}
.gd-btn-lg{height:40px;padding:0 20px;font-size:13px;font-weight:600}
.gd-btn.is-busy{background:#7fe0b1;box-shadow:none}
.gd-spin{display:inline-block;flex:none;width:12px;height:12px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%;animation:gd-rot .7s linear infinite}
.gd-spin.is-dark{border-color:#d6e9f8;border-top-color:#1c8fd9}
.gd-stage .is-press{transform:scale(.95)}

.gd-sws{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:2px}
.gd-sw{display:inline-flex;align-items:center;gap:6px;font-size:11px}
.gd-sw-t{position:relative;flex:none;width:28px;height:16px;border-radius:16px;background:#ccc}
.gd-sw-t::after{content:"";position:absolute;top:2px;left:2px;width:12px;height:12px;border-radius:50%;background:#fff}
.gd-sw.is-on .gd-sw-t{background:#2bc47a}
.gd-sw.is-on .gd-sw-t::after{left:14px}

.gd-chips{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:6px}
.gd-chip{display:inline-flex;align-items:center;height:22px;padding:0 10px;border:1px solid #ebebeb;border-radius:30px;background:#fbfbfb;color:#777;font-size:11px;transition:background .15s,color .15s,border-color .15s,transform .12s}
.gd-chip.is-on{border-color:#21D47E;background:#E9F9F1;color:#0e7a47}
.gd-chip-info{border-color:var(--gd-blue);background:var(--gd-blue);color:#fff}
.gd-vh,.gd-vr{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.3fr) 76px 50px 22px;gap:8px;align-items:center}
.gd-vh{padding:6px 0;border-top:1px solid #eee;border-bottom:1px solid #eee;font-size:11px;font-weight:600;color:#2f3142}
.gd-vr{padding:4px 0;border-bottom:1px solid #f3f3f3;animation:gd-in .3s ease both}
.gd-vr .gd-input{height:26px}
.gd-vname{font-weight:600}
.gd-x{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:6px;background:#FFAF4B;color:#fff}
.gd-x .gd-i{width:11px;height:11px;stroke-width:2.6}

.gd-cost{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;align-items:end}
.gd-price{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto minmax(0,1.15fr);gap:10px;align-items:end}
.gd-arrow{margin-bottom:15px;color:#69f0ae}
.gd-dark{margin-bottom:8px;padding:6px 10px;border-radius:6px;background:#2f3142;color:#fff;text-align:center}
.gd-dark-l{font-size:10px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:#69f0ae}
.gd-dark-v{font-size:18px;line-height:1.25;font-weight:800}

/* Solapas y tablas de listados */
.gd-folders{display:flex;gap:18px;margin-bottom:10px;border-bottom:1px solid #dadfe0;font-size:12px;font-weight:500;color:#3b3b3b}
.gd-folder{display:inline-flex;align-items:center;gap:6px;margin-bottom:-1px;padding:3px 0 7px;border-bottom:4px solid transparent}
.gd-folder.is-active{border-bottom-color:#2A8CCC;color:#2A8CCC}
.gd-folder-plus{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:var(--gd-blue);color:#fff}
.gd-folder-plus .gd-i{width:11px;height:11px;stroke-width:2.6}
.gd-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px;font-size:11px}
.gd-badge{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;color:#fff;font-size:11px;font-weight:600;white-space:nowrap}
.gd-b-warn{background:#f0ad4e}
.gd-b-ok{background:#5cb85c}
.gd-b-bad{background:#d9534f}
.gd-t{border:1px solid #eee;border-radius:8px;background:#fff;overflow:hidden}
.gd-prod{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-code{font-size:11px;color:#8a949e}

/* Ajuste masivo */
.gd-adj{display:grid;grid-template-columns:auto minmax(0,.8fr) minmax(0,1fr) minmax(0,1.2fr);gap:12px;align-items:end}
.gd-adj .gd-f{margin-bottom:0}
.gd-seg{display:inline-flex}
.gd-seg span{display:inline-flex;align-items:center;gap:5px;height:30px;padding:0 10px;border:1px solid #ccc;background:#fff;font-size:11px;white-space:nowrap}
.gd-seg span:first-child{border-radius:12px 0 0 12px}
.gd-seg span:last-child{border-left:0;border-radius:0 12px 12px 0}
.gd-seg .is-active{border-color:var(--gd-blue);background:var(--gd-blue);color:#fff}
.gd-th,.gd-tr{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,.8fr) 84px 92px 84px;gap:10px;align-items:center;padding:0 12px}
.gd-th{height:30px;background:#f5f5f5;font-size:11px;font-weight:600}
.gd-tr{height:33px;border-top:1px solid #f1f1f1;transition:background .3s}
.gd-tr .gd-input{height:25px}
.gd-tr.is-edited{background:#fcf8e3}
.gd-tr.is-saved{animation:gd-saved 1.6s ease}

/* Sincronización con Tienda Nube y Mercado Libre */
.gd-sync{display:grid;grid-template-columns:minmax(0,.9fr) 80px minmax(0,1.25fr);align-items:stretch;width:100%}
.gd-hub{align-self:center;padding:16px;border:1px solid var(--gd-line);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(31,41,51,.1)}
.gd-hub-brand{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:14px;font-weight:700;color:var(--gd-ink)}
.gd-hub-logo{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:linear-gradient(45deg,#43E597,#21D47E);color:#fff}
.gd-hub-t{margin-bottom:6px;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#7b8794}
.gd-hub-row{display:flex;justify-content:space-between;gap:8px;padding:6px 0;border-top:1px solid #f1f3f5}
.gd-hub-row small{color:#7b8794}
.gd-hub-row b{color:#12b468}
.gd-links{display:flex;flex-direction:column;gap:14px}
.gd-link{flex:1;display:flex;align-items:center}
.gd-link span{position:relative;display:block;width:100%;height:2px;background:repeating-linear-gradient(90deg,#b9c2cb 0 6px,transparent 6px 12px)}
.gd-link i{position:absolute;top:-4px;left:0;width:10px;height:10px;border-radius:50%;background:#21D47E;box-shadow:0 0 0 4px rgba(33,212,126,.2);opacity:0}
.gd-sync.is-sending .gd-link i{opacity:1;animation:gd-travel 1s linear infinite}
.gd-sync.is-sending .gd-link + .gd-link i{animation-delay:.35s}
.gd-stores{display:flex;flex-direction:column;gap:14px}
.gd-store{flex:1;padding:12px 14px;border:1px solid var(--gd-line);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(31,41,51,.1)}
.gd-store-h{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:6px;min-height:26px}
.gd-tn-logo{display:block;width:auto;height:44px;margin:-10px 0 -10px -9px}
.gd-ml-logo{display:inline-flex;align-items:center;height:24px;padding:0 12px;border-radius:12px;background:#FFE600;color:#2d3277;font-size:12px;font-weight:700;letter-spacing:-.01em}
.gd-store-st{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:#7b8794}
.gd-store.is-done .gd-store-st{color:#12b468}
.gd-srow{display:flex;align-items:center;gap:10px;padding:6px 0;border-top:1px solid #f1f3f5;transition:background .3s}
.gd-srow-img{flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;background:#f5f7f9}
.gd-srow-img .gd-glyph{width:22px;height:22px}
.gd-srow-n{flex:1;min-width:0;font-weight:600;color:var(--gd-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-srow-n small{margin-left:4px;font-weight:500;color:#7b8794}
.gd-srow-s{white-space:nowrap;color:#52606d}
.gd-srow-s b{display:inline-block;min-width:20px;text-align:right;font-size:14px;color:var(--gd-ink)}
.gd-srow-ok{width:16px;height:16px;padding:2px;border-radius:50%;background:#21D47E;color:#fff;stroke-width:3;opacity:0;transform:scale(.5);transition:opacity .2s,transform .2s}
.gd-srow.is-done .gd-srow-s b{color:#12b468}
.gd-srow.is-done .gd-srow-ok{opacity:1;transform:none}

/* POS */
.gd-pos{display:flex;height:100%;background:#f2f4f7}
.gd-pos-l{flex:1;min-width:0;display:flex;flex-direction:column}
.gd-pos-head{flex:none;display:flex;align-items:center;gap:8px;height:48px;padding:0 12px;border-bottom:1px solid var(--gd-line);background:#fff}
.gd-ibtn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid #d9dfe5;border-radius:10px;color:var(--gd-muted)}
.gd-seg2{display:flex;gap:3px;padding:3px;border-radius:6px;background:#f2f4f7}
.gd-seg2 span{padding:4px 10px;border-radius:5px;color:var(--gd-muted);font-weight:500}
.gd-seg2 .is-active{background:var(--gd-blue);color:#fff}
.gd-pchip{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:8px;background:#f5f7f9;color:var(--gd-muted);white-space:nowrap}
.gd-pchip.is-action{border:1px solid #d9dfe5;background:#fff}
.gd-pos-mid{flex:1;min-height:0;display:flex}
.gd-cats{flex:none;width:150px;padding:12px 10px;border-right:1px solid var(--gd-line);background:#fff}
.gd-cats-t{margin:0 0 8px 4px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--gd-muted)}
.gd-cat{display:flex;align-items:center;gap:7px;margin-bottom:2px;padding:6px 9px;border-radius:6px;color:var(--gd-muted);white-space:nowrap;transition:background .15s,color .15s}
.gd-cat.is-active{background:var(--gd-blue);color:#fff}
.gd-pos-w{flex:1;min-width:0;display:flex;flex-direction:column}
.gd-pos-bar{flex:none;display:flex;gap:8px;padding:10px 12px;border-bottom:1px solid var(--gd-line);background:#fff}
.gd-psearch{flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:36px;padding:0 12px;border:1px solid #d9dfe5;border-radius:10px;background:#fff;color:var(--gd-ink);white-space:nowrap;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.gd-psearch > .gd-i{color:#90a0ae}
.gd-psearch.is-focus{border-color:var(--gd-blue);box-shadow:0 0 0 2px rgba(28,143,217,.15)}
.gd-pbtn{flex:none;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:12px;background:var(--gd-blue);color:#fff;font-weight:500}
.gd-grid{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-content:start;padding:12px;overflow:hidden}
.gd-card{display:flex;flex-direction:column;padding:8px;border:1px solid var(--gd-line);border-radius:10px;background:#fff;box-shadow:0 1px 3px rgba(63,72,80,.04);transition:border-color .2s,box-shadow .2s;animation:gd-in .3s ease both}
.gd-card.is-gone{display:none}
.gd-card.is-hover{border-color:var(--gd-blue);box-shadow:0 4px 12px rgba(63,72,80,.1)}
.gd-card-img{position:relative;display:flex;align-items:center;justify-content:center;height:64px;border-radius:6px;background:#f5f7f9}
.gd-pill{position:absolute;top:5px;right:5px;padding:1px 7px;border-radius:999px;background:#edfdf5;color:#12b468;font-size:10px;font-weight:600}
.gd-card-name{margin-top:6px;font-weight:600;color:var(--gd-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-card-code{font-size:10px;color:var(--gd-muted)}
.gd-card-price{margin-top:2px;font-size:14px;font-weight:700;color:var(--gd-blue)}
.gd-card-act{margin-top:6px;padding:4px 6px;border-radius:6px;background:#f2f8fd;color:#137bb8;font-size:11px;font-weight:600;text-align:center;transition:transform .12s}
.gd-card-act.is-var{background:#fff8ec;color:#b26a00}
.gd-cart{flex:none;width:280px;display:flex;flex-direction:column;border-left:1px solid var(--gd-line);background:#fff}
.gd-cart-head{flex:none;display:flex;align-items:center;gap:8px;height:48px;padding:0 12px;border-bottom:1px solid var(--gd-line);color:var(--gd-ink);font-size:14px;font-weight:600}
.gd-count{min-width:22px;padding:0 7px;border-radius:999px;background:#f2f4f7;color:var(--gd-muted);font-size:11px;text-align:center}
.gd-clear{display:inline-flex;align-items:center;gap:4px;margin-left:auto;color:var(--gd-blue);font-size:11px;font-weight:500}
.gd-client{flex:none;display:flex;gap:6px;padding:10px 12px}
.gd-cselect{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:6px;height:34px;padding:0 10px;border:1px solid #d9dfe5;border-radius:10px;color:#7b8794;white-space:nowrap;overflow:hidden}
.gd-sq{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border:1px solid #d9dfe5;border-radius:10px;color:var(--gd-muted);font-size:11px;font-weight:600}
.gd-sq.is-blue{border-color:#d6e9f8;background:#f2f8fd;color:var(--gd-blue)}
.gd-lines{flex:1;min-height:0;padding:0 12px;overflow:hidden}
.gd-empty{padding:22px 8px;color:#90a0ae;text-align:center}
.gd-empty .gd-i{width:34px;height:34px;stroke-width:1.5;color:#cbd3da}
.gd-empty b{display:block;margin-top:6px;font-size:13px;font-weight:600;color:var(--gd-muted)}
.gd-line{position:relative;margin-bottom:8px;padding:8px 10px;border:1px solid var(--gd-line);border-radius:8px;animation:gd-in .3s ease both}
.gd-line.is-new{border-left:3px solid #21D47E}
.gd-line-name{padding-right:18px;font-weight:600;color:var(--gd-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-line-var{font-size:11px;color:#7b8794}
.gd-line-x{position:absolute;top:7px;right:7px;color:#90a0ae}
.gd-line-x .gd-i{width:12px;height:12px}
.gd-line-b{display:flex;align-items:center;justify-content:space-between;margin-top:6px}
.gd-step{display:inline-flex;align-items:center;border:1px solid #d9dfe5;border-radius:8px;overflow:hidden}
.gd-step > span{display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;background:#f5f7f9;color:var(--gd-muted);transition:background .15s}
.gd-step > span.is-press{background:#d6e9f8}
.gd-step > b{min-width:28px;color:var(--gd-ink);text-align:center}
.gd-line-p{font-weight:700;color:var(--gd-blue)}
.gd-sum{flex:none;padding:10px 12px 12px;border-top:1px solid var(--gd-line);background:#f5f7f9}
.gd-sum-c{border:1px solid #d6e9f8;border-radius:6px;background:#fff;overflow:hidden}
.gd-sum-r{display:flex;justify-content:space-between;padding:3px 10px;color:var(--gd-muted)}
.gd-sum-r:first-child{padding-top:8px}
.gd-red{color:#c03d3d}
.gd-grn{color:#12b468}
.gd-sum-t{display:flex;align-items:center;justify-content:space-between;margin-top:5px;padding:7px 10px;border-top:1px solid #d6e9f8;background:#f2f8fd;color:var(--gd-ink);font-weight:700}
.gd-sum-t b{font-size:16px;color:var(--gd-blue)}
.gd-pcta{display:flex;align-items:center;justify-content:center;gap:8px;min-height:42px;margin-top:10px;border-radius:12px;background:#21D47E;color:#fff;font-size:13px;font-weight:600;box-shadow:0 2px 2px rgba(0,0,0,.15);transition:background .2s,transform .12s}
.gd-pcta small{font-size:10px;opacity:.75}
.gd-pcta.is-disabled{background:#b9c2cb;box-shadow:none}

/* Capa de modales, compartida por todas las escenas */
.gd-overlay{position:absolute;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(15,23,32,.55);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.gd-overlay.is-open{opacity:1;visibility:visible}
.gd-overlay.is-light{background:rgba(241,244,247,.95)}
.gd-modal{width:100%;max-width:720px;max-height:100%;border-radius:16px;background:#fff;box-shadow:0 24px 60px rgba(0,0,0,.3);overflow:hidden;transform:translateY(10px) scale(.98);transition:transform .25s}
.gd-overlay.is-open .gd-modal{transform:none}
.gd-modal.is-sm{max-width:390px}
.gd-modal.is-md{max-width:600px}
.gd-modal.is-bare{max-width:880px;border-radius:0;background:transparent;box-shadow:none;overflow:visible}
.gd-mhead{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #eceff3}
.gd-mico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#e8f4fd;color:var(--gd-blue)}
.gd-mico.is-ok{background:#edfdf5;color:#12b468}
.gd-mtitle{flex:1;min-width:0}
.gd-mtitle b{display:block;font-size:15px;font-weight:600;color:var(--gd-ink)}
.gd-mtitle span{display:block;font-size:11px;color:#7b8794;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-mclose{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f5f7f9;color:var(--gd-muted)}
.gd-mbody{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:10px;padding:12px;background:#f2f4f7}
.gd-mcard{padding:12px 14px;border:1px solid var(--gd-line);border-radius:6px;background:#fff}
.gd-mcard-t{font-size:13px;font-weight:600;color:var(--gd-ink)}
.gd-msub{margin-bottom:8px;font-size:11px;color:#7b8794}
.gd-cchip{display:inline-flex;align-items:center;gap:5px;margin:6px 0 8px;padding:2px 8px;border-radius:6px;background:#f5f7f9;color:var(--gd-muted);font-size:11px}
.gd-eyebrow2{margin-bottom:2px;font-size:10px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#7b8794}
.gd-mline{display:flex;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px dashed #eceff3}
.gd-mline span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-mline small{color:#7b8794}
.gd-cbtotal{display:flex;align-items:center;justify-content:space-between;margin-top:10px;padding:8px 10px;border:1px solid #d6e9f8;border-radius:6px;background:#f2f8fd;color:var(--gd-ink);font-weight:600}
.gd-cbtotal b{font-size:20px;font-weight:700;color:var(--gd-blue)}
.gd-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.gd-tile{display:flex;align-items:center;gap:8px;padding:8px;border:2px solid var(--gd-line);border-radius:6px;transition:background .2s,border-color .2s,opacity .2s,transform .12s}
.gd-tile-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;color:#fff}
.gd-tile-txt{flex:1;min-width:0}
.gd-tile-txt b{display:block;font-weight:600;color:var(--gd-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-tile-txt span{display:block;font-size:10px;color:#7b8794;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-tile-amt{font-weight:700;color:#12b468;white-space:nowrap}
.gd-tile.is-selected{border-color:#21D47E;background:#edfdf5}
.gd-tile.is-dim{opacity:.4}
.gd-mfoot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid #eceff3}
.gd-fin small{display:block;margin-bottom:4px;font-size:10px;font-weight:600;letter-spacing:.06em;color:#7b8794}
.gd-fin-opts{display:flex;flex-wrap:wrap;gap:6px}
.gd-fin-o{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border:2px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:11px;font-weight:500;transition:background .15s,border-color .15s,color .15s,transform .12s}
.gd-fin-o.is-on{border-color:#22c55e;background:#f0fdf4;color:#15803d;font-weight:700}
.gd-fin-o.is-inv{border-color:#f59e0b;background:#fffbeb;color:#b45309;font-weight:700}
.gd-vpick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:14px}
.gd-vbtn{padding:10px 6px;border:2px solid var(--gd-line);border-radius:8px;text-align:center;transition:border-color .15s,background .15s,transform .12s}
.gd-vbtn b{display:block;font-size:14px;color:var(--gd-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-vbtn span{font-size:10px;font-weight:600;color:#12b468}
.gd-vbtn.is-press{border-color:var(--gd-blue);background:#f2f8fd}
.gd-wait{display:flex;flex-direction:column;align-items:center;gap:14px;padding:30px 20px;text-align:center}
.gd-wait .gd-spin{width:40px;height:40px;border-width:4px}
.gd-wait b{font-size:17px;font-weight:600;color:var(--gd-ink)}
.gd-okbody{padding:14px}
.gd-okbox{padding:10px 12px;border:1px solid #b8f0d4;border-radius:8px;background:#edfdf5;color:#3fae7c}
.gd-okbox b{display:block;color:#12b468}
.gd-okbox-t{display:flex;justify-content:space-between;margin-top:6px;padding-top:6px;border-top:1px solid #b8f0d4}
.gd-okbox-t b{font-size:16px}
.gd-invbox{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;border:1px solid #f6d9a8;border-radius:8px;background:#fff8ec;color:#b26a00;animation:gd-in .35s ease both}
.gd-invbox > .gd-i{width:22px;height:22px}
.gd-invbox b{display:block;color:#7a4a00}
.gd-invbox span{font-size:11px}
.gd-tags{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin-top:10px}
.gd-tags span{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;background:#edfdf5;color:#0e7a47;font-size:11px;font-weight:600}
.gd-ok{display:flex;flex-direction:column;align-items:center;gap:6px;padding:24px 20px 20px;text-align:center}
.gd-ok-ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;background:#21D47E;color:#fff;animation:gd-pop .45s ease both}
.gd-ok-ico .gd-i{width:28px;height:28px;stroke-width:2.6}
.gd-ok > b{font-size:17px;font-weight:600;color:#12b468}
.gd-ok > span{color:var(--gd-muted)}
.gd-ok-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}
.gd-ok-sep{width:100%;height:1px;margin:6px 0 0;background:#eceff3}

/* Compra desde PDF */
.gd-imp-t{display:flex;align-items:center;gap:7px;font-size:15px;font-weight:600;color:#2f3142}
.gd-imp-t .gd-i{color:#764ba2}
.gd-imp .gd-hint{margin:4px 0 10px}
.gd-imp .gd-folders{margin-bottom:12px}
.gd-drop{display:flex;flex-direction:column;align-items:center;gap:2px;padding:18px 16px;border:2px dashed #3498db;border-radius:10px;background:#f8fbff;color:#3f4850;text-align:center;transition:background .2s,border-color .2s}
.gd-drop.is-over{border-color:#2980b9;background:#e8f4fc}
.gd-drop-ico{width:36px;height:36px;color:#3498db;stroke-width:1.6}
.gd-drop b{font-size:14px;font-weight:600}
.gd-drop small{margin-top:4px;font-size:11px;color:#999}
.gd-file{display:none;align-items:center;gap:10px;margin-top:10px;padding:8px 10px;border-radius:8px;background:#f9f9f9;animation:gd-in .3s ease both}
.gd-file.is-on{display:flex}
.gd-pdfico{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;width:42px;height:48px;border-radius:6px;background:#fdf3f2;color:#c0392b;font-size:9px;font-weight:700}
.gd-pdfico .gd-i{width:20px;height:20px}
.gd-file-n{flex:1;min-width:0;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-file-n small{display:block;font-weight:400;color:#7b8794}
.gd-imp-act{display:flex;align-items:center;gap:10px;margin-top:12px}
.gd-proc{display:inline-flex;align-items:center;gap:6px;color:#7b8794}
.gd-found{margin-top:12px}
.gd-found-t{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;margin-bottom:8px;font-size:14px;font-weight:600;color:#2f3142}
.gd-found-t small{font-size:11px;font-weight:400;color:#7b8794}
.gd-found-bar{display:flex;flex-wrap:wrap;gap:6px 16px;margin-bottom:10px;padding:8px 10px;border-radius:6px;background:#f5f5f5;font-size:11px}
.gd-found-bar b{font-weight:600;color:#2f3142}
.gd-buy{border:1px solid #e1e1e1;border-radius:8px;overflow:hidden}
.gd-buy-h{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;background:#f9fafb;border-bottom:1px solid #eee}
.gd-buy-h > b{color:#2f3142}
.gd-buy-h .gd-input{height:26px}
.gd-pr{display:grid;grid-template-columns:22px minmax(0,1.9fr) minmax(0,.7fr) 70px 90px 50px;gap:8px;align-items:center;padding:5px 10px;border-top:1px solid #f1f1f1}
.gd-pr.is-h{border-top:0;background:#fcfcfc;font-size:11px;font-weight:600;color:#2f3142}
.gd-pr.is-wait{opacity:0}
.gd-pr.is-in{animation:gd-in .35s ease both}
.gd-pr.is-off{background:#fafafa;color:#aab2bb}
.gd-ck{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #b9c2cb;border-radius:3px;background:#fff;color:#fff;transition:background .15s,border-color .15s,transform .12s}
.gd-ck .gd-i{width:11px;height:11px;stroke-width:3;opacity:0}
.gd-ck.is-on{border-color:#1c8fd9;background:#1c8fd9}
.gd-ck.is-on .gd-i{opacity:1}
.gd-sel{display:block;height:26px;padding:0 8px;border:1px solid #d6dfeb;border-radius:3px;background:#e8f0fe;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-sel.is-empty{color:#98a2ad}
.gd-cell{display:block;height:26px;padding:0 8px;border:1px solid #d6dfeb;border-radius:3px;background:#e8f0fe;line-height:24px}
.gd-warn{display:flex;align-items:center;gap:4px;margin-top:2px;font-size:10px;color:#c77c02;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gd-warn .gd-i{width:11px;height:11px}
.gd-pr.is-off .gd-sel,.gd-pr.is-off .gd-cell{background:#f3f4f6;color:#aab2bb}
.gd-desc{display:flex;align-items:center;gap:6px;padding:7px 10px;border-top:1px solid #f1f1f1;color:#7b8794;font-size:11px}
.gd-found-act{display:flex;align-items:center;gap:8px;margin-top:10px}
.gd-reading{display:flex;flex-direction:column;align-items:center;gap:12px}
.gd-reading-t{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;box-shadow:0 6px 18px rgba(118,75,162,.35)}
.gd-pdf{position:relative;width:400px;max-width:100%;padding:18px 20px 16px;border-radius:4px;background:#fff;box-shadow:0 20px 50px rgba(0,0,0,.35);font-size:10px;color:#1f2933;overflow:hidden}
.gd-pdf-badge{position:absolute;top:0;left:0;padding:2px 8px;border-radius:0 0 6px 0;background:#c0392b;color:#fff;font-size:9px;font-weight:700}
.gd-pdf-h{display:flex;justify-content:space-between;gap:12px;padding-bottom:8px;border-bottom:2px solid #1f2933}
.gd-pdf-h b{display:block;font-size:13px}
.gd-pdf-h span{display:block;color:#52606d}
.gd-pdf-type{text-align:right}
.gd-pdf-tr{display:grid;grid-template-columns:minmax(0,1fr) 34px 54px 64px;gap:6px;padding:4px 4px;border-radius:3px;transition:background .25s,box-shadow .25s}
.gd-pdf-tr.is-h{margin-top:6px;border-bottom:1px solid #d9dfe5;border-radius:0;font-weight:700}
.gd-pdf-tr span:not(:first-child){text-align:right}
.gd-pdf-tot{display:grid;grid-template-columns:1fr auto;gap:2px 16px;justify-content:end;margin-top:8px;padding-top:6px;border-top:1px solid #d9dfe5;text-align:right}
.gd-pdf [data-read].is-read{background:rgba(33,212,126,.14);box-shadow:inset 3px 0 0 #21D47E}
.gd-scan{position:absolute;left:0;right:0;top:0;height:36px;margin-top:-36px;background:linear-gradient(180deg,rgba(118,75,162,0),rgba(118,75,162,.22) 70%,rgba(118,75,162,.6));pointer-events:none}

/* Facturación masiva */
.gd-link{color:var(--gd-blue);font-size:12px}
.gd-chan{display:inline-block;padding:1px 8px;border-radius:999px;background:#f2f4f7;color:var(--gd-muted);font-size:11px;white-space:nowrap}
.gd-sr-n{font-weight:600;color:var(--gd-blue);white-space:nowrap}
.gd-b-mute{background:#999}
.gd-iconbtn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;border:1px solid #ddd;border-radius:6px;background:#fff;color:#777;font-weight:700;transition:transform .12s}
.gd-iconbtn .gd-i{width:13px;height:13px}
.gd-mass-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end;margin-bottom:10px}
.gd-mass-top .gd-f{margin-bottom:0}
.gd-mass-sel{padding:7px 12px;border:1px solid #c9e3f5;border-radius:8px;background:#eef6fc;color:#2f3142;line-height:1.6}
.gd-mass-sel b{color:var(--gd-blue)}
.gd-mass-f{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px}
.gd-mass-f .gd-f{flex:0 1 180px;min-width:0;margin-bottom:0}
.gd-mass-f .gd-btn,.gd-mass-f .gd-link{margin-bottom:2px}
.gd-mass-count{margin:0 0 6px auto;white-space:nowrap}
.gd-mass-emit{margin-bottom:8px}
.gd-btn.is-off{opacity:.45;box-shadow:none}
.gd-mr{display:grid;grid-template-columns:22px 56px 86px 66px minmax(0,1.4fr) minmax(0,.9fr) minmax(0,1.1fr) 72px;gap:8px;align-items:center;min-height:31px;padding:0 10px;border-top:1px solid #f1f1f1;transition:background .2s}
.gd-mr.is-h{min-height:30px;border-top:0;background:#f5f5f5;font-size:11px;font-weight:600}
.gd-mr.is-sel{background:#f2f8fd}
.gd-mr.is-gone{display:none}
.gd-swal{display:flex;flex-direction:column;align-items:center;gap:6px;padding:22px 22px 18px;text-align:center}
.gd-swal-ico{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;border:3px solid #87adbd;border-radius:50%;color:#87adbd;font-size:28px;font-weight:600;line-height:1}
.gd-swal > b{font-size:18px;font-weight:600;color:var(--gd-ink)}
.gd-swal p{margin:0;line-height:1.5;color:var(--gd-muted)}
.gd-caes{width:100%;margin:6px 0 4px;border-top:1px solid #eceff3}
.gd-caes div{display:flex;justify-content:space-between;gap:10px;padding:4px 2px;border-bottom:1px solid #f3f4f6;font-size:11px}
.gd-caes span{font-weight:600;color:var(--gd-ink);white-space:nowrap}
.gd-caes small{color:#7b8794;white-space:nowrap}
.gd-er{display:grid;grid-template-columns:48px 136px minmax(0,1.3fr) 86px 118px 92px 30px;gap:8px;align-items:center;min-height:36px;padding:0 10px;border-top:1px solid #f1f1f1}
.gd-er.is-h{min-height:30px;border-top:0;background:#f5f5f5;font-size:11px;font-weight:600}
.gd-er .gd-badge{transition:background .3s}
.gd-modal.is-mail{max-width:440px}
.gd-mail-h{display:flex;align-items:center;gap:10px;padding:12px 16px 8px}
.gd-mail-h > div{flex:1;min-width:0}
.gd-mail-h b{display:block;font-size:13px;color:var(--gd-ink)}
.gd-mail-h span{font-size:11px;color:#7b8794}
.gd-mail-h small{color:#7b8794}
.gd-mail-av{flex:none;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#2f3142;color:#fff;font-weight:700}
.gd-mail-subj{display:flex;align-items:center;gap:8px;padding:0 16px 10px;border-bottom:1px solid #eceff3;font-size:14px;font-weight:600;color:var(--gd-ink)}
.gd-mail-subj .gd-i{color:#7b8794}
.gd-mail-body{padding:16px 22px 18px;background:#f7f8fa;text-align:center}
.gd-mail-hero{margin-bottom:8px;padding:12px;border-radius:8px;background:#0cbd82;color:#fff;font-size:16px;font-weight:700}
.gd-mail-body p{margin:0 0 8px;line-height:1.5;color:#3f4850}
.gd-mail-meta{font-size:11px;color:#7b8794 !important}
.gd-mail-btn{display:inline-block;margin:2px 0 12px;padding:8px 22px;border-radius:6px;background:#0cbd82;color:#fff;font-weight:600;animation:gd-pop .45s .4s ease both}
.gd-mail-foot{font-size:10px;color:#90a0ae !important}

/* Gastos recurrentes */
.gd-conf{padding:12px 16px}
.gd-auto{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px;font-weight:600;color:#2f3142}
.gd-auto-day{display:none;grid-template-columns:150px minmax(0,1fr);gap:12px;align-items:end;margin-top:8px}
/* Su animación lo vuelve una capa propia: sin z-index, las tarjetas de abajo tapan el desplegable */
.gd-auto-day.is-on{position:relative;z-index:6;display:grid;animation:gd-in .3s ease both}
.gd-auto-day .gd-f{margin-bottom:0}
.gd-auto-day .gd-hint{margin:0 0 6px}
.gd-rc-bar{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 8px}
.gd-btn-ai{border-color:#764ba2;background:#fff;color:#764ba2;box-shadow:none}
.gd-btn-danger{background:#c03d3d}
.gd-btn-xs{height:22px;padding:0 8px;border-radius:8px;font-size:10px;box-shadow:none}
.gd-rc{display:flex;align-items:center;gap:8px;margin-bottom:6px;padding:8px 12px;border:1px solid #e1e1e1;border-radius:10px;background:#fff;animation:gd-in .35s ease both}
.gd-rc-sum{flex:1;min-width:0;display:flex;align-items:center;gap:6px;white-space:nowrap;overflow:hidden}
.gd-rc-sum > b:first-child{overflow:hidden;text-overflow:ellipsis}
.gd-type{display:inline-block;padding:1px 8px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap}
.gd-rc-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
.gd-rc-total{white-space:nowrap}
.gd-ta{align-items:flex-start;height:74px;padding:8px 10px;white-space:normal}
.gd-ta .gd-val{white-space:pre-wrap}
.gd-cr{display:grid;grid-template-columns:28px 60px 118px minmax(0,1.3fr) minmax(0,1fr) 96px 86px;gap:8px;align-items:center;min-height:31px;padding:0 10px;border-top:1px solid #f1f1f1;transition:background .3s}
.gd-cr.is-h{min-height:30px;border-top:0;background:#f5f5f5;font-size:11px;font-weight:600}
.gd-cr.is-new{animation:gd-saved 1.8s ease}
.gd-apagar.is-due{font-weight:600;color:#c03d3d}
.gd-cr.is-paid .gd-apagar{font-weight:600;color:#12b468}
.gd-stamp{position:absolute;top:12px;left:50%;z-index:35;display:flex;align-items:center;gap:10px;padding:8px 18px 8px 14px;border-radius:999px;background:#2f3142;color:#d1d1d1;box-shadow:0 10px 26px rgba(0,0,0,.25);white-space:nowrap;transform:translateX(-50%);animation:gd-in .3s ease both}
.gd-stamp > .gd-i{width:22px;height:22px;color:#96F7C9}
.gd-stamp b{display:block;font-size:13px;color:#fff}

/* WhatsApp */
.gd-wa{display:flex;height:100%;background:#eef1f4}
.gd-phone{flex:none;display:flex;flex-direction:column;width:330px;margin:10px 0 10px 40px;border:8px solid #1f2933;border-radius:30px;background:#efeae2;box-shadow:0 18px 40px rgba(0,0,0,.25);overflow:hidden}
.gd-wa-h{flex:none;display:flex;align-items:center;gap:8px;height:50px;padding:0 10px;background:#008069;color:#fff}
.gd-wa-av{flex:none;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(45deg,#43E597,#21D47E);color:#fff;font-weight:700}
.gd-wa-name b{display:block;font-size:13px;font-weight:600}
.gd-wa-name small{display:block;font-size:10px;opacity:.85}
.gd-wa-chat{flex:1;min-height:0;padding:8px 10px;background-color:#efeae2;background-image:radial-gradient(rgba(0,0,0,.035) 1px,transparent 1px);background-size:14px 14px;overflow:hidden}
.gd-wa-day{width:fit-content;margin:2px auto 8px;padding:2px 10px;border-radius:6px;background:#fff;color:#54656f;font-size:10px;box-shadow:0 1px .5px rgba(11,20,26,.13)}
.gd-wa-msg{display:flow-root;width:fit-content;max-width:86%;margin-bottom:6px;padding:5px 8px 4px;border-radius:8px;font-size:11px;line-height:1.38;color:#111b21;white-space:pre-wrap;overflow-wrap:break-word;box-shadow:0 1px .5px rgba(11,20,26,.13);animation:gd-in .25s ease both}
.gd-wa-msg.is-in{border-top-left-radius:0;background:#fff}
.gd-wa-msg.is-out{margin-left:auto;border-top-right-radius:0;background:#d9fdd3}
.gd-wa-msg b{font-weight:700}
.gd-wa-time{float:right;display:inline-flex;align-items:center;gap:2px;margin:6px 0 -3px 8px;font-size:9px;color:#667781;white-space:nowrap}
.gd-wa-tick{width:14px;height:14px;color:#53bdeb}
.gd-wa-audio{display:flex;align-items:center;gap:6px;min-width:190px;color:#54656f;white-space:nowrap}
.gd-wa-audio > .gd-i{width:16px;height:16px;fill:#54656f}
.gd-wa-wave{flex:1;display:flex;align-items:center;gap:2px}
.gd-wa-wave i{display:block;width:2px;border-radius:2px;background:#8fa3ad}
.gd-wa-tr{display:block;margin-top:3px;font-size:10px;font-style:italic;color:#54656f;white-space:normal}
.gd-wa-doc{display:flex;align-items:center;gap:8px;min-width:200px;padding:6px;border-radius:6px;background:#f5f6f6;white-space:normal}
.gd-wa-doc b{display:block;font-size:11px;word-break:break-all}
.gd-wa-doc small{color:#667781}
.gd-wa-bar{flex:none;display:flex;align-items:center;gap:6px;padding:6px 8px;background:#f0f2f5}
.gd-wa-in{flex:1;min-width:0;display:flex;align-items:center;height:34px;padding:0 12px;border-radius:18px;background:#fff;color:#111b21;white-space:nowrap;overflow:hidden}
.gd-wa-in.is-rec{color:#e53935}
.gd-wa-in.is-rec::before{content:"";flex:none;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#e53935;animation:gd-blink 1s infinite}
.gd-wa-btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#00a884;color:#fff;transition:transform .15s,background .15s}
.gd-wa-btn .gd-i{width:17px;height:17px}
.gd-wa-send,.gd-wa-btn.is-send .gd-wa-mic{display:none}
.gd-wa-btn.is-send .gd-wa-send{display:inline-block}
.gd-wa-btn.is-rec{background:#e53935;transform:scale(1.25)}
.gd-wa-side{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:20px 28px}
.gd-wa-side .gd-panel + .gd-panel{margin-top:0}
.gd-wa-side-t{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#7b8794}
.gd-wr{display:grid;grid-template-columns:52px minmax(0,1fr) 86px 118px;gap:8px;align-items:center;min-height:34px;padding:0 10px;border-top:1px solid #f1f1f1}
.gd-wr:first-child{border-top:0}
.gd-wr.is-cost{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 86px 70px}
.gd-wr.is-new{animation:gd-saved 1.8s ease}

/* GestiBot */
.gd-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:10px}
.gd-kpi{padding:10px 12px;border:1px solid #e1e1e1;border-radius:12px;background:#fff}
.gd-kpi span{display:block;font-size:11px;color:#7b8794}
.gd-kpi b{display:block;font-size:18px;font-weight:700;color:var(--gd-ink)}
.gd-kpi small{color:#12b468;font-weight:600}
.gd-bars{display:flex;align-items:flex-end;gap:10px;height:150px;padding:6px 4px 0}
.gd-bars span{position:relative;flex:1;border-radius:6px 6px 0 0;background:linear-gradient(180deg,#43E597,#21D47E)}
.gd-bars span:not(:last-child){opacity:.55}
.gd-bars i{position:absolute;left:0;right:0;bottom:-18px;font-size:10px;font-style:normal;color:#7b8794;text-align:center}
.gd-launch{position:absolute;right:20px;bottom:18px;z-index:11;display:flex;align-items:center;justify-content:center;width:52px;height:52px;border-radius:50%;background:var(--gd-bot);color:#fff;box-shadow:0 6px 18px rgba(0,0,0,.25);transition:opacity .2s,transform .2s}
.gd-launch .gd-i{width:24px;height:24px}
.gd-launch.is-hidden{opacity:0;transform:scale(.6)}
.gd-bot{position:absolute;top:12px;right:14px;bottom:12px;z-index:10;display:flex;flex-direction:column;width:360px;border-radius:14px;background:#fff;box-shadow:0 12px 40px rgba(0,0,0,.28);overflow:hidden;opacity:0;visibility:hidden;transform:translateY(14px) scale(.98);transform-origin:bottom right;transition:opacity .25s,transform .25s,visibility .25s}
.gd-bot.is-open{opacity:1;visibility:visible;transform:none}
.gd-bot-h{flex:none;display:flex;align-items:center;gap:8px;padding:10px 12px;background:var(--gd-bot);color:#fff;font-size:15px;font-weight:600}
.gd-bot-h > .gd-i{width:18px;height:18px}
.gd-bot-hb{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:6px;background:rgba(255,255,255,.18)}
.gd-bot-modes{flex:none;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px 10px 4px}
.gd-bot-modes span{display:flex;align-items:center;justify-content:center;gap:5px;height:28px;border:1px solid #d9dde3;border-radius:6px;background:#eef0f4;color:#666;font-size:11px;font-weight:600}
.gd-bot-modes .is-on{border-color:var(--gd-bot);background:var(--gd-bot);color:#fff}
.gd-bot-sub{flex:none;padding:0 12px 6px;font-size:11px;color:#7b8794}
.gd-chat{flex:1;min-height:0;padding:8px 12px;border-top:1px solid #eef0f4;overflow:hidden}
.gd-bub{width:fit-content;max-width:92%;margin-bottom:8px;padding:8px 12px;border-radius:14px;font-size:12px;line-height:1.45;animation:gd-in .3s ease both}
.gd-bub.is-bot{border:1px solid #e6e6e6;border-bottom-left-radius:4px;background:#f3f4f8;color:#333}
.gd-bub.is-me{margin-left:auto;border-bottom-right-radius:4px;background:var(--gd-bot);color:#fff}
.gd-section .gd-bub p,.gd-section .gd-bub li{line-height:1.45}
.gd-bub p{margin:0 0 4px}
.gd-bub p:last-child{margin-bottom:0}
.gd-bub ul,.gd-bub ol{margin:0 0 4px;padding-left:18px}
.gd-bub li{margin:1px 0}
.gd-bub b{font-weight:700;color:#1f2933}
.gd-ln{opacity:0;transform:translateY(3px);transition:opacity .25s,transform .25s}
.gd-ln.is-in{opacity:1;transform:none}
.gd-dots{display:inline-flex;gap:4px;padding:3px 0}
.gd-dots span{width:7px;height:7px;border-radius:50%;background:#bbb;animation:gd-blink 1.2s infinite}
.gd-dots span:nth-child(2){animation-delay:.2s}
.gd-dots span:nth-child(3){animation-delay:.4s}
.gd-sugs{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:8px 12px;border-top:1px solid #eef0f4;background:#fafbfd}
.gd-sugs.is-gone{display:none}
.gd-sugs-l{font-size:11px;color:#7b8794}
.gd-sug{padding:3px 8px;border:1px solid #ccc;border-radius:3px;background:#fff;color:#333;font-size:11px;transition:background .15s,transform .12s}
.gd-sug.is-press{background:#e8f4fd}
.gd-sug-more{font-size:11px;color:var(--gd-blue)}
.gd-bot-f{flex:none;padding:8px 12px 10px;border-top:1px solid #eef0f4}
.gd-bot-mode{margin-bottom:5px;font-size:11px;color:#7b8794}
.gd-bot-mode b{color:var(--gd-bot)}
.gd-bot-in{display:flex;gap:6px}
.gd-bot-in .gd-input{flex:1;min-width:0;height:34px;border-radius:6px}
.gd-bot-send{flex:none;display:inline-flex;align-items:center;justify-content:center;width:38px;height:34px;border-radius:8px;background:#4BA6E1;color:#fff;transition:transform .12s}
.gd-bot-disc{margin-top:5px;font-size:10px;line-height:1.3;color:#999}

/* Aviso, cursor y controles */
.gd-toast{position:absolute;top:14px;right:14px;z-index:40;display:flex;align-items:flex-start;gap:10px;max-width:370px;padding:10px 14px 10px 12px;border:1px solid var(--gd-line);border-left:4px solid #21D47E;border-radius:10px;background:#fff;box-shadow:0 12px 28px rgba(31,41,51,.16);opacity:0;transform:translateY(-10px);transition:opacity .25s,transform .25s;pointer-events:none}
.gd-toast.is-visible{opacity:1;transform:none}
.gd-toast-ico{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#21D47E;color:#fff}
.gd-toast-ico .gd-i{width:12px;height:12px;stroke-width:3}
.gd-toast b{display:block;font-size:13px;font-weight:600;color:var(--gd-ink)}
.gd-toast span{color:var(--gd-muted)}

.gd-cursor{position:absolute;top:0;left:0;z-index:60;width:24px;height:24px;margin:-3px 0 0 -4px;pointer-events:none;transform:translate(-40px,-40px);transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}
.gd-cursor svg{display:block;width:24px;height:24px;filter:drop-shadow(0 2px 3px rgba(0,0,0,.28));transform-origin:4px 3px;transition:transform .12s}
.gd-cursor.is-down svg{transform:scale(.82)}
.gd-cursor-file{position:absolute;top:18px;left:14px;display:none;align-items:center;gap:6px;padding:6px 10px 6px 6px;border-radius:8px;background:#fff;box-shadow:0 8px 20px rgba(0,0,0,.25);font-size:11px;font-weight:600;color:var(--gd-ink);white-space:nowrap}
.gd-cursor.has-file .gd-cursor-file{display:inline-flex}
.gd-cursor-file .gd-pdfico{width:26px;height:30px;font-size:7px}
.gd-cursor-file .gd-pdfico .gd-i{width:13px;height:13px}
.gd-ripple{position:absolute;z-index:59;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(28,143,217,.35);pointer-events:none;animation:gd-ripple .55s ease-out forwards}

.gd-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:1080px;min-height:44px;margin:14px auto 0}
.gd-section .gd-caption{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;line-height:1.5;font-weight:500;color:var(--gd-ink)}
.gd-caption-num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;background:#E9F9F1;color:#0e7a47;font-size:13px;font-weight:600}
.gd-caption.is-in .gd-caption-text{animation:gd-fade .35s ease both}
.gd-section .gd-pause{flex:none;display:inline-flex;align-items:center;gap:6px;margin:0;padding:7px 12px;border:1px solid var(--gd-line);border-radius:999px;background:#fff;color:var(--gd-muted);font-family:inherit;font-size:13px;line-height:1;cursor:pointer}
.gd-section .gd-pause:hover{color:var(--gd-ink)}
.gd-section .gd-pause:focus-visible{outline:2px solid var(--gd-blue);outline-offset:2px}
.gd-cta-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 16px;margin-top:22px}
.gd-section .gd-cta{display:inline-block;padding:12px 28px;border-radius:30px;background:linear-gradient(45deg,#43E597,#21D47E);color:#fff;font-size:15px;font-weight:600;box-shadow:0 6px 16px rgba(33,212,126,.3);transition:transform .2s,box-shadow .2s}
.gd-section .gd-cta:hover{color:#fff;transform:translateY(-1px);box-shadow:0 8px 20px rgba(33,212,126,.38)}
.gd-note{font-size:13px;color:#5f6b78}

.gd-section.is-paused *{animation-play-state:paused !important}
.gd-section.is-static .gd-cursor,.gd-section.is-static .gd-pause{display:none}

@keyframes gd-blink{50%{opacity:0}}
@keyframes gd-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
@keyframes gd-fade{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
@keyframes gd-rot{to{transform:rotate(360deg)}}
@keyframes gd-flash{from{background:#fff3c4}to{background:#e8f0fe}}
@keyframes gd-saved{from{background:#d4f5e3}to{background:#fff}}
@keyframes gd-pop{0%{opacity:0;transform:scale(.6)}60%{opacity:1;transform:scale(1.08)}100%{transform:scale(1)}}
@keyframes gd-ripple{from{opacity:1;transform:scale(.3)}to{opacity:0;transform:scale(1.6)}}
@keyframes gd-travel{from{left:0}to{left:calc(100% - 10px)}}

@media (max-width:991px){
    .gd-side,.gd-cats,.gd-hide-md{display:none}
    .gd-cart{width:250px}
    .gd-mr{grid-template-columns:22px 56px 86px 66px minmax(0,1.4fr) minmax(0,1.1fr) 72px}
    .gd-er{grid-template-columns:48px 136px minmax(0,1.3fr) 86px 92px 30px}
    .gd-phone{margin-left:20px}
    .gd-wa-side{padding:16px 18px}
}
@media (max-width:760px){
    .gd-section{padding:48px 0 40px}
    .gd-section .gd-title{font-size:26px}
    .gd-section .gd-sub{font-size:15px}
    .gd-tabs{gap:6px}
    .gd-section .gd-tab{flex-direction:column;gap:5px;padding:9px 4px 11px;font-size:12px;text-align:center}
    .gd-tab-long{display:none}
    .gd-tab-short{display:inline}
    .gd-tab-ico{width:26px;height:26px}
    .gd-stage{height:560px}
    .gd-hide-sm{display:none}
    .gd-body{padding:10px 12px}
    .gd-top,.gd-savebar{padding-left:12px;padding-right:12px}
    .gd-row,.gd-row-cost{grid-template-columns:minmax(0,1fr)}
    .gd-row-cost .gd-panel + .gd-panel{margin-top:0}
    .gd-vh,.gd-vr{grid-template-columns:minmax(0,1fr) 76px 50px 22px}
    .gd-price{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .gd-price .gd-arrow{display:none}
    .gd-price .gd-dark{grid-column:1 / -1}
    .gd-adj{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .gd-adj > :first-child{grid-column:1 / -1}
    .gd-th,.gd-tr{grid-template-columns:minmax(0,1.5fr) minmax(0,.7fr) 44px 54px 52px;gap:6px;padding:0 8px}
    .gd-code{display:none}
    .gd-sync{grid-template-columns:minmax(0,1fr)}
    .gd-hub,.gd-links{display:none}
    .gd-pos{flex-direction:column;overflow:hidden}
    .gd-pos > *{flex:none}
    .gd-pos-l,.gd-pos-mid,.gd-pos-w{display:block}
    .gd-grid{grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
    .gd-cart{width:auto;border-left:0;border-top:1px solid var(--gd-line)}
    .gd-lines{min-height:96px;overflow:visible}
    .gd-mbody{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px}
    .gd-mcard{padding:10px 12px}
    .gd-msum{padding:8px}
    .gd-msum .gd-mcard-t,.gd-msum .gd-mline,.gd-msum .gd-eyebrow2,.gd-msum .gd-cchip{display:none}
    .gd-msum .gd-cbtotal{margin-top:0}
    .gd-pr{grid-template-columns:22px minmax(0,1.6fr) minmax(0,.6fr) 44px 74px;gap:6px}
    .gd-pr > :nth-child(6){display:none}
    .gd-mass-top{grid-template-columns:minmax(0,1fr)}
    .gd-mr{grid-template-columns:22px 46px 76px minmax(0,1fr) minmax(0,1fr);gap:6px;padding:0 8px}
    .gd-er{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 72px 78px;gap:6px;padding:0 8px}
    .gd-cr{grid-template-columns:28px 56px minmax(0,1fr) 80px 76px;gap:6px;padding:0 8px}
    .gd-auto-day{grid-template-columns:minmax(0,1fr)}
    .gd-auto-day .gd-hint{display:none}
    .gd-wa-side{display:none}
    .gd-phone{width:auto;max-width:360px;margin:8px auto}
    .gd-kpis{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
    .gd-kpi:last-child{display:none}
    .gd-bot{top:0;right:0;bottom:0;left:0;width:auto;border-radius:0}
    .gd-foot{flex-direction:column;align-items:flex-start}
    .gd-section .gd-caption{font-size:14px}
}
@media (max-width:560px){
    .gd-tile{padding:7px 6px}
    .gd-tile-amt{display:none}
}
@media (prefers-reduced-motion:reduce){
    .gd-section *,.gd-section *::before,.gd-section *::after{animation:none !important;transition:none !important}
}
