body.hs-page{--ink:#223b33;--green:#315f50;--line:#e1dfd7;--muted:#71766e;background:#f6f4ee;color:#282d29;font-family:Arial,sans-serif}
.hs-page .site-header{background:#233c33;position:relative;box-shadow:none}.hs-page .header-shell{min-height:76px}.hs-page .container{width:min(1180px,calc(100% - 48px))}.hs-page .hs-workspace{padding-top:48px;padding-bottom:65px;min-height:70vh}.hs-page .hs-eyebrow{color:#426b59;margin-bottom:12px;font-size:11px;letter-spacing:.14em}.hs-page #panel-title{font:700 clamp(28px,3vw,40px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0}.hs-page #account-status{font-size:14px;color:var(--muted);margin:15px 0 26px}.hs-page .hs-panel-heading{align-items:center}.hs-page .hs-secondary{border-radius:25px;background:transparent;border-color:var(--line);padding:10px 18px;min-height:42px}.hs-page .hs-card{border:1px solid var(--line);box-shadow:none;border-radius:16px;padding:25px}.hs-page .hs-card summary{font-size:16px;color:var(--ink);padding-bottom:0}.hs-page .hs-card[open]>summary{padding-bottom:18px;border-bottom:1px solid #eeeae3;margin-bottom:20px}.hs-page .button--primary{background:var(--green);color:white;box-shadow:none;border:1px solid var(--green)}.hs-page .button--secondary{background:white;box-shadow:none;border:1px solid var(--line)}.hs-page .button{border-radius:25px;min-height:44px}.hs-page input:not([type=checkbox]),.hs-page select{background:#f8f7f3;border-color:#dedfd6;min-height:48px}.hs-page .hs-login{background:white}.hs-page .hs-columns{gap:45px;padding:20px 0 45px;align-items:start}.hs-page .hs-email-request{background:transparent;margin-top:30px}.hs-page #metrics{display:none}.hs-page #admin-tools>.hs-panel-heading h3{font-family:Georgia,serif;font-size:23px}.hs-page #sync-status{font-size:12px;color:var(--muted)}
#private-panel{display:flex;flex-direction:column}#dashboard-nav{order:-1;display:flex;gap:6px;overflow:auto;padding:5px;background:#ebeae2;border-radius:12px;margin:0 0 25px;scroll-margin-top:16px}.dash-tab{border:0;border-radius:9px;padding:12px 20px;font:600 13px Arial,sans-serif;white-space:nowrap;background:transparent;color:#62685e;min-height:43px}.dash-tab[aria-current=page]{background:white;color:var(--ink);box-shadow:0 2px 5px #233c330b}.dash-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid var(--line);background:white;padding:20px 24px;border-radius:15px;margin-bottom:22px}.dash-toolbar strong{font-size:14px}.dash-toolbar p{font-size:12px;color:var(--muted);margin:7px 0 0}.dash-button{border-radius:24px;padding:12px 20px;min-height:44px;border:1px solid var(--line);background:white;font-weight:600;white-space:nowrap}.dash-primary{background:var(--green);color:white;border-color:var(--green)}.dash-grid{display:grid;gap:16px;margin-bottom:18px}.dash-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.dash-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-stat{border:1px solid var(--line);padding:22px;border-radius:15px;background:white;min-width:0;display:flex;flex-direction:column;gap:9px}.dash-label{font-size:12px;font-weight:600;color:#5d665f}.dash-value{font:700 clamp(27px,3vw,37px)/1.2 Georgia,serif;color:#222c26;overflow-wrap:anywhere}.dash-caption{font-size:11px;line-height:1.5;color:#687165}.dash-green{background:#e6efe8;color:#28533f}.dash-amber{background:#faf0d9;color:#855e17}.dash-lilac{background:#eeebf4;color:#67577d}.dash-neutral{background:#eeeee8;color:#63695d}.dash-flow .dash-stat{border-color:transparent}.dash-flow .dash-value{font-size:29px}.dash-lower{display:grid;grid-template-columns:1.7fr 1fr;gap:20px;margin-top:27px}.dash-surface{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}.hs-page .dash-surface h3{font:700 22px Georgia,serif;color:#293a30;margin:0 0 15px}.dash-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.dash-text-button{border:0;background:none;color:var(--green);font-size:12px;font-weight:600;padding:8px}.dash-sale-row{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #eeede6;padding:17px 0}.dash-sale-row:last-child{padding-bottom:0}.dash-sale-row strong{font-size:13px}.dash-sale-row small{display:block;font-size:11px;color:var(--muted);margin-top:7px}.dash-sale-amount{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}.dash-badge{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:600}.dash-quick{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:9px;padding:14px;margin-top:9px;background:#fcfcf9;color:var(--ink);font-size:13px;font-weight:600}.dash-note{font-size:11px;line-height:1.6;color:var(--muted);margin:20px 0 0}.dash-side-note,.dash-empty{font-size:13px;line-height:1.6;color:var(--muted)}.hs-page table{font-size:12px}.hs-page th{background:#f1f2eb;color:#536249}.hs-page td{padding:16px 12px}.hs-page td button{border-radius:15px;padding:8px 12px}.hs-page .hs-footer{background:#eaece4}.hs-page .hs-footer a{color:var(--green);font-weight:600}.hs-page button:focus-visible,.hs-page a:focus-visible{outline:3px solid #9c7737;outline-offset:3px}.hs-page button:hover:not(:disabled){filter:brightness(.96)}
@media(max-width:900px){.dash-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-flow{grid-template-columns:repeat(3,minmax(0,1fr))}.dash-stat{padding:18px}.dash-lower{grid-template-columns:1fr}.hs-page .hs-columns{gap:25px}.hs-page .header-shell{flex-wrap:wrap;padding-block:16px}.hs-page .brand{max-width:260px}}
@media(max-width:600px){.hs-page .container{width:calc(100% - 28px)}.hs-page .hs-workspace{padding-top:28px}.hs-page .hs-panel-heading{align-items:flex-start}.hs-page #panel-title{font-size:30px}.hs-page .hs-card{padding:18px}.dash-toolbar{align-items:flex-start;flex-direction:column;padding:18px}.dash-toolbar .dash-button{width:100%}.dash-grid{gap:10px}.dash-flow{grid-template-columns:1fr}.dash-flow .dash-stat{display:grid;grid-template-columns:1fr auto;gap:8px 12px}.dash-flow .dash-caption{grid-column:1/-1}.dash-flow .dash-value{font-size:25px}.dash-stat{padding:16px}.dash-value{font-size:28px}.dash-caption{font-size:11px}.dash-tab{padding:12px 15px}.dash-surface{padding:18px}.dash-sale-row{gap:10px}.hs-page .hs-columns{grid-template-columns:1fr}.hs-page .hs-nav{font-size:12px}.hs-page .brand{max-width:230px}.hs-page .hs-actions{gap:8px}.hs-page .hs-table-wrap{max-height:65vh}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.payment-receipt{display:block;margin-top:9px;color:#315f50;text-decoration:underline;font-weight:600}#payment-form input[type=file]{font-size:12px;max-width:100%}#payment-balance{background:#e6efe8;padding:12px;border-radius:8px;margin:0}.payment-totals{margin-top:20px}.payment-totals .dash-value{font-size:25px}

/* Fichas y consulta de registros */
#record-dialog{width:min(920px,94vw);max-height:90vh;overflow:auto;border:1px solid #deded4;border-radius:18px;padding:24px;color:#263b34;background:#fffef9;box-shadow:0 20px 80px #0003}
#record-dialog::backdrop{background:#182a26a6}#record-dialog[open]{display:block}#record-dialog .record-head{display:flex;align-items:center;justify-content:space-between;gap:16px}#record-dialog h2{font-size:1.5rem;overflow-wrap:anywhere}#record-body{margin-top:20px}#record-body form{margin-top:18px}#record-body label{display:flex;flex-direction:column;gap:7px;font-weight:600}#record-body input,#record-body textarea,#record-body select{width:100%;padding:10px;border:1px solid #ccc;border-radius:7px;background:#fff;color:#203c34}#record-body input:disabled,#record-body textarea:disabled,#record-body select:disabled{background:#f1f1ec;color:#52625b;opacity:1}#record-body .record-value{font-weight:400;white-space:pre-wrap;overflow-wrap:anywhere;padding:8px 0}#record-body button{padding:8px 12px;margin:4px;border:1px solid #cad6cd;border-radius:8px;cursor:pointer}#record-body button:disabled{opacity:.5;cursor:default}.record-search{display:flex;gap:12px;align-items:center;margin:16px 0;flex-wrap:wrap}.record-search input{flex:1;min-width:160px}.record-row{cursor:pointer}.record-row:hover{background:#f1f6ef}.record-row button{font-size:.75rem;margin-right:8px}.record-all{margin:10px 0}#record-error{padding:12px;background:#ffe9e3;color:#8a2f20}#record-body details{margin-top:16px}#record-body dl{overflow-wrap:anywhere}#record-body dt{font-weight:700}#record-body dd{margin:2px 0 10px}#record-body [hidden]{display:none!important}@media(max-width:650px){#record-dialog{padding:16px}#record-dialog .hs-form-grid{grid-template-columns:1fr}}
