:root{
  --bg:#fffaf7;--card:#ffffff;--ink:#2d2926;--muted:#746b65;--line:#eadfd9;
  --accent:#d8647a;--accent2:#f6c7b5;--good:#2d8b68;--warn:#c78320;--danger:#bb3f4a;
  --shadow:0 10px 30px rgba(81,55,47,.08);--radius:20px
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--ink);background:var(--bg)}
a{color:inherit;text-decoration:none} button,input,select,textarea{font:inherit}.hidden{display:none!important}
.topbar{position:sticky;top:0;z-index:30;background:rgba(255,250,247,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.topbar-inner{max-width:1240px;margin:auto;padding:14px 22px;display:flex;align-items:center;gap:16px;justify-content:space-between}
.brand{font-weight:850;letter-spacing:-.02em;font-size:20px}.brand small{display:block;color:var(--muted);font-weight:600;font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.nav-actions{display:flex;gap:8px;align-items:center}.btn{border:0;border-radius:13px;padding:11px 16px;font-weight:750;cursor:pointer;transition:.2s;display:inline-flex;gap:8px;align-items:center;justify-content:center}
.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--accent);color:#fff}.btn-soft{background:#f8ece8;color:#68443e}.btn-outline{background:#fff;border:1px solid var(--line)}.btn-danger{background:#fff0f1;color:var(--danger)}
.container{max-width:1240px;margin:auto;padding:28px 22px 60px}.hero{padding:34px 0 18px}.hero h1{font-size:clamp(34px,5vw,58px);letter-spacing:-.045em;line-height:.98;margin:0 0 14px;max-width:800px}.hero p{font-size:18px;color:var(--muted);max-width:720px;line-height:1.6}.eyebrow{display:inline-flex;padding:7px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);font-size:12px;font-weight:800;color:#76564e;margin-bottom:16px}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:22px 0 28px}.step{padding:11px 12px;border-radius:14px;background:#f5ece8;color:#876e66;text-align:center;font-weight:750;font-size:13px}.step.active{background:var(--ink);color:#fff}.step.done{background:#e4f3ec;color:#276a51}
.builder-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:22px;align-items:start}.panel,.summary{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.panel{padding:22px}.summary{padding:20px;position:sticky;top:88px}.section-title{display:flex;justify-content:space-between;align-items:flex-end;gap:10px;margin-bottom:16px}.section-title h2{margin:0;font-size:24px}.section-title p{margin:4px 0 0;color:var(--muted);font-size:14px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.card{border:1px solid var(--line);border-radius:17px;overflow:hidden;background:#fff;transition:.18s;position:relative}.card:hover{box-shadow:0 10px 25px rgba(70,45,38,.09);transform:translateY(-2px)}.card.selected{outline:2px solid var(--accent);border-color:transparent}.card-img{aspect-ratio:4/3;background:#f6efec;display:flex;align-items:center;justify-content:center;overflow:hidden}.card-img img{width:100%;height:100%;object-fit:cover}.placeholder{font-size:52px}.card-body{padding:14px}.card h3{margin:0 0 7px;font-size:16px}.price{font-weight:850;font-size:18px}.muted{color:var(--muted)}.small{font-size:12px}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#f6ece8;color:#76564e}.badge.good{background:#e4f3ec;color:#276a51}.badge.warn{background:#fff3dd;color:#8b5d11}
.category-tabs{display:flex;gap:9px;overflow:auto;padding:2px 1px 12px}.category-tab{white-space:nowrap;border:1px solid var(--line);background:#fff;padding:10px 13px;border-radius:999px;font-weight:750;cursor:pointer}.category-tab.active{background:var(--ink);color:#fff;border-color:var(--ink)}
.product-actions{display:flex;gap:8px;margin-top:12px}.qty{display:flex;align-items:center;border:1px solid var(--line);border-radius:12px;overflow:hidden}.qty button{width:34px;height:34px;border:0;background:#fff;cursor:pointer}.qty span{min-width:26px;text-align:center;font-weight:800}.stock-low{color:var(--warn);font-weight:800;font-size:12px}.stock-out{color:var(--danger);font-weight:800;font-size:12px}
.summary h3{margin:0 0 16px;font-size:20px}.summary-line{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed var(--line)}.summary-line:last-child{border:0}.summary-item{display:flex;gap:9px}.summary-item button{background:none;border:0;color:var(--danger);cursor:pointer;padding:0}.summary-total{display:flex;justify-content:space-between;align-items:end;margin-top:14px;padding-top:14px;border-top:2px solid var(--ink)}.summary-total strong{font-size:28px}.capacity{margin:12px 0}.capacity-bar{height:8px;background:#f1e7e2;border-radius:99px;overflow:hidden}.capacity-fill{height:100%;background:var(--accent);border-radius:99px;transition:.2s}.capacity-over{background:var(--danger)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:800}.field input,.field select,.field textarea{border:1px solid var(--line);background:#fff;border-radius:12px;padding:11px 12px;outline:none}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(216,100,122,.12)}.field textarea{min-height:95px;resize:vertical}
.notice{padding:12px 14px;border-radius:13px;background:#fff4f1;border:1px solid #f1d7ce;color:#6f4e45;font-size:13px}.success{background:#eaf7f0;border-color:#c8ead9;color:#235f48}
/* admin */
.admin-shell{display:grid;grid-template-columns:240px 1fr;min-height:100vh}.sidebar{background:#2e2927;color:#fff;padding:22px 16px;position:sticky;top:0;height:100vh}.sidebar .brand{padding:4px 7px 20px}.side-btn{display:flex;width:100%;border:0;background:transparent;color:#dacfc9;padding:12px;border-radius:12px;text-align:left;font-weight:750;cursor:pointer;margin:3px 0}.side-btn.active,.side-btn:hover{background:#463e3a;color:#fff}.admin-main{padding:26px;min-width:0}.admin-header{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:22px}.admin-header h1{margin:0;font-size:30px;letter-spacing:-.03em}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat{padding:18px;background:#fff;border:1px solid var(--line);border-radius:17px}.stat b{font-size:28px;display:block;margin-top:6px}.table-wrap{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:auto}.data-table{width:100%;border-collapse:collapse}.data-table th,.data-table td{text-align:left;padding:12px 14px;border-bottom:1px solid var(--line);font-size:13px}.data-table th{background:#faf5f2;color:#75645d;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.thumb{width:48px;height:48px;border-radius:10px;object-fit:cover;background:#f4ebe7}.table-actions{display:flex;gap:6px}.icon-btn{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 9px;cursor:pointer}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.toolbar input{min-width:240px;border:1px solid var(--line);border-radius:12px;padding:10px 12px}.modal{position:fixed;inset:0;background:rgba(36,30,28,.55);z-index:50;display:flex;justify-content:center;align-items:flex-start;padding:34px 18px;overflow:auto}.modal-card{width:min(820px,100%);background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(0,0,0,.22);padding:22px}.modal-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:18px}.modal-head h2{margin:0}.row-editor{display:grid;grid-template-columns:1fr 1fr 110px 90px 42px;gap:7px;margin:7px 0}.attr-editor{display:grid;grid-template-columns:1fr 1fr 42px;gap:7px;margin:7px 0}.row-editor input,.attr-editor input{width:100%;border:1px solid var(--line);border-radius:10px;padding:9px}.image-preview-list{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.image-preview-list img{width:88px;height:70px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.order-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;margin-bottom:12px}.order-top{display:flex;justify-content:space-between;gap:16px}.order-items{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line);font-size:13px}.status-select{border:1px solid var(--line);border-radius:10px;padding:8px}
@media(max-width:980px){.builder-layout{grid-template-columns:1fr}.summary{position:static}.grid{grid-template-columns:repeat(2,1fr)}.admin-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;display:flex;gap:6px;overflow:auto}.sidebar .brand{display:none}.side-btn{width:auto;white-space:nowrap}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.container{padding:18px 14px 45px}.topbar-inner{padding:12px 14px}.hero{padding-top:24px}.steps{grid-template-columns:repeat(5,120px);overflow:auto}.grid{grid-template-columns:1fr 1fr;gap:10px}.card-body{padding:11px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.admin-main{padding:18px 12px}.stat-grid{grid-template-columns:1fr 1fr}.row-editor{grid-template-columns:1fr 1fr}.row-editor .wide-hide{display:none}.attr-editor{grid-template-columns:1fr 1fr 38px}.admin-header{align-items:flex-start;flex-direction:column}}

/* Acceso administrativo */
.login-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#fff7f8,#f7f3ff)}
.login-card{width:min(440px,100%);background:#fff;border:1px solid #eee3e6;border-radius:24px;padding:30px;box-shadow:0 18px 55px rgba(65,35,45,.12)}
.login-card .field{margin-top:14px}
.login-card input{width:100%}

/* v0.3 - catálogo: siempre mostrar la fotografía completa */
.product-card .card-img{aspect-ratio:1/1;background:#fff;padding:8px}
.product-card .card-img img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.product-card .card-body{border-top:1px solid #f4ece8}
.thumb{object-fit:contain;background:#fff;padding:2px}

/* v0.3 - edición masiva de catálogo */
.inventory-tools{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.inventory-tools input[type="search"],.inventory-tools input[type="text"]{min-width:230px}
.bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:15px;padding:11px 13px;margin-bottom:12px}
.bulk-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.bulk-bar .btn{padding:9px 11px;font-size:12px}
.inventory-table{min-width:1260px}
.inventory-table th:first-child,.inventory-table td:first-child{width:42px;text-align:center}
.inventory-table td{vertical-align:middle}
.inventory-input{width:92px;border:1px solid var(--line);border-radius:10px;padding:8px 9px;background:#fff}
.inventory-input.price-input{width:108px}
.inventory-select{max-width:155px;border:1px solid var(--line);border-radius:10px;padding:8px;background:#fff}
.inventory-check{width:18px;height:18px;accent-color:var(--accent);cursor:pointer}
.inventory-row.dirty{background:#fff9e9}
.inventory-row.selected{box-shadow:inset 3px 0 0 var(--accent)}
.save-changes-bar{position:sticky;bottom:12px;z-index:25;margin-top:12px;background:#2e2927;color:#fff;border-radius:16px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 16px 40px rgba(40,30,27,.22)}
.save-changes-bar .muted{color:#d8cbc5}
.save-changes-bar .btn-outline{border-color:#665954;background:#423a36;color:#fff}
.save-changes-bar.hidden{display:none}
.changed-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#e5aa2d;margin-right:6px}
.selection-count{font-weight:800}
.status-inline{display:flex;align-items:center;gap:6px;white-space:nowrap}
.margin-cell{min-width:75px}

@media(max-width:640px){
  .product-card .card-img{padding:5px}
  .bulk-bar,.save-changes-bar{align-items:stretch;flex-direction:column}
  .bulk-actions{width:100%}
  .bulk-actions .btn{flex:1}
  .inventory-tools>*{flex:1;min-width:140px!important}
}


/* v0.3.1 - regla definitiva: jamás recortar fotografías de producto */
.product-card .card-img{
  aspect-ratio:1/1;
  min-height:220px;
  background:#fff;
  padding:12px;
  overflow:hidden;
  box-sizing:border-box;
}
.product-card .card-img img{
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:contain !important;
  object-position:center center !important;
  display:block;
  margin:auto;
}
.version-pill{display:inline-flex;vertical-align:middle;margin-left:8px;padding:4px 7px;border-radius:999px;background:#eee4df;color:#76564e;font-size:11px;letter-spacing:0;font-weight:800}
@media(max-width:640px){.product-card .card-img{min-height:170px;padding:8px}}

/* v0.4 - build aislado */
.v040-banner{position:sticky;top:0;z-index:40;margin:-26px -26px 20px;padding:9px 26px;background:#fff0c9;border-bottom:1px solid #e8ce82;color:#6b5114;font-size:12px;font-weight:900;letter-spacing:.04em}
.product-card .card-img{height:260px!important;min-height:260px!important;aspect-ratio:auto!important;background:#fff!important;padding:12px!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.product-card .card-img img,.catalog-product-image{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important;display:block!important}
.bulk-bar{border:2px solid #d8647a!important;box-shadow:0 6px 18px rgba(216,100,122,.08)}
@media(max-width:640px){.v040-banner{margin:-18px -12px 16px;padding:8px 12px}.product-card .card-img{height:210px!important;min-height:210px!important}}
/* ===== v0.5: constructor por formatos con cupos ===== */
.choice-path-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:18px}
.path-card{border:1px solid var(--line,#eadbd6);border-radius:22px;background:#fff;padding:24px;cursor:pointer;transition:.2s;box-shadow:0 8px 24px rgba(65,38,29,.05)}
.path-card:hover,.path-card.selected{transform:translateY(-2px);border-color:#d95e77;box-shadow:0 14px 30px rgba(217,94,119,.12)}
.path-icon{font-size:42px;margin-bottom:10px}.path-card h3{font-size:22px;margin:0 0 7px}.path-card p{margin:0;color:#786d68}
.offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.offer-card{border:1px solid #eadbd6;border-radius:18px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:.2s}
.offer-card:hover,.offer-card.selected{border-color:#d95e77;box-shadow:0 10px 24px rgba(217,94,119,.12)}
.offer-image{height:250px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:8px}
.offer-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block;border-radius:12px}
.offer-body{padding:15px;display:flex;flex-direction:column;flex:1}.offer-body h3{margin:0 0 7px;font-size:18px}.offer-body p{font-size:13px;color:#766b66;line-height:1.45;flex:1}
.offer-price{font-weight:900;font-size:21px;margin:9px 0}.price-pending{font-size:14px;color:#a66b18;background:#fff3d7;border-radius:10px;padding:7px 9px;display:inline-block;width:max-content}
.slot{border:1px solid #eadbd6;border-radius:18px;padding:16px;margin-bottom:16px;background:#fff}.slot.done{border-color:#a7d7c3;background:#fbfffd}
.slot-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:13px}.slot-head h3{margin:0;font-size:18px}.slot-help{color:#786d68;font-size:12px;margin-top:4px}.slot-progress{font-size:12px;font-weight:800;background:#f6efeb;padding:6px 9px;border-radius:999px;white-space:nowrap}.slot.done .slot-progress{background:#dcf3e8;color:#136e4c}
.product-choice-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.product-choice{border:1px solid #eadbd6;border-radius:15px;overflow:hidden;background:#fff;display:flex;flex-direction:column;min-width:0}.product-choice.selected{border:2px solid #d95e77}.product-choice.disabled{opacity:.55}
.product-choice-image{height:155px;padding:8px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}.product-choice-image img{width:100%;height:100%;object-fit:contain;object-position:center;display:block}
.product-choice-body{padding:10px;display:flex;flex-direction:column;flex:1}.product-choice-name{font-weight:800;font-size:13px;line-height:1.25;min-height:34px}.stock-note{font-size:11px;color:#8e7f77;margin-top:4px}.qty-control{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;margin-top:8px;border:1px solid #eadbd6;border-radius:11px;overflow:hidden}.qty-control button{border:0;background:#f7efeb;height:34px;font-weight:900;cursor:pointer}.qty-control span{text-align:center;font-weight:900}.select-one-btn{margin-top:8px;width:100%;border:0;border-radius:10px;padding:9px;background:#f7efeb;font-weight:800;cursor:pointer}.selected .select-one-btn{background:#d95e77;color:white}
.choice-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice-card{border:1px solid #eadbd6;border-radius:15px;background:#fff;padding:10px;cursor:pointer}.choice-card.selected{border:2px solid #d95e77;background:#fff7f9}.choice-card-image{height:170px;display:flex;align-items:center;justify-content:center;overflow:hidden}.choice-card-image img{width:100%;height:100%;object-fit:contain}.choice-card-title{font-weight:800;font-size:13px;margin-top:7px}.choice-card-price{font-weight:900;color:#d95e77;margin-top:4px}
.color-grid{display:flex;flex-wrap:wrap;gap:10px}.color-chip{border:1px solid #dccac3;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;font-weight:700;font-size:13px}.color-chip.selected{background:#2e2926;color:#fff;border-color:#2e2926}
.fixed-list{display:flex;flex-wrap:wrap;gap:7px;margin:9px 0}.fixed-pill{background:#f6efeb;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:700}
.builder-summary-price-pending{font-weight:900;color:#a66b18;font-size:18px}.summary-section{border-top:1px solid #eee2dd;padding-top:10px;margin-top:10px}.summary-section:first-child{border-top:0;padding-top:0;margin-top:0}.summary-section h4{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#877870;margin:0 0 6px}.summary-mini{font-size:12px;line-height:1.5;margin:3px 0}.summary-mini b{color:#2e2926}
.builder-breadcrumb{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}.builder-breadcrumb span{font-size:12px;padding:6px 9px;border-radius:999px;background:#f6efeb}.builder-breadcrumb span.active{background:#2e2926;color:#fff}
.v050-banner{background:#e7f8ef;color:#145b43;border:1px solid #b9e4cf;border-radius:12px;padding:9px 12px;font-weight:800;margin-bottom:14px}
.offer-admin-card{border:1px solid #eadbd6;border-radius:16px;padding:14px;background:#fff;display:grid;grid-template-columns:100px 1fr 150px 120px;gap:14px;align-items:center}.offer-admin-card img{width:100px;height:80px;object-fit:contain;border-radius:10px;background:#fff}.offer-admin-card h3{margin:0 0 5px}.offer-admin-list{display:grid;gap:12px}.mount-price-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:10px}.mount-price-grid label{font-size:12px;font-weight:700}.mount-price-grid input{width:100%;margin-top:4px}
.demo-warning{background:#fff3d7;border:1px solid #efd39b;color:#775310;border-radius:12px;padding:10px 12px;margin-bottom:14px;font-size:13px}
@media(max-width:1100px){.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-choice-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.offer-admin-card{grid-template-columns:80px 1fr 130px}.offer-admin-card img{width:80px}.offer-admin-card .offer-active-col{grid-column:2/4}}
@media(max-width:760px){.choice-path-grid,.offer-grid{grid-template-columns:1fr}.product-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.choice-card-grid{grid-template-columns:1fr}.offer-image{height:230px}.product-choice-image{height:145px}.offer-admin-card{grid-template-columns:70px 1fr}.offer-admin-card img{width:70px;height:70px}.offer-admin-card .offer-price-col,.offer-admin-card .offer-active-col{grid-column:1/-1}.mount-price-grid{grid-template-columns:1fr}.steps{overflow:auto}.step{min-width:120px}}

/* ===== v0.6: cuenta de cliente ===== */
.account-modal-card{max-width:760px}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;background:#f7f2ef;padding:6px;border-radius:14px}
.account-tab{border:0;background:transparent;padding:11px 14px;border-radius:10px;font-weight:700;cursor:pointer;color:#695d57}
.account-tab.active{background:#fff;box-shadow:0 2px 10px rgba(40,28,22,.08);color:#2f2926}
.account-form{display:block}
.account-profile{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0 18px;border-bottom:1px solid #eadfd9;margin-bottom:16px}
.customer-order-card{border:1px solid #eadfd9;border-radius:14px;padding:14px;margin:10px 0;background:#fff}
.customer-order-top,.customer-order-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}
.customer-order-bottom{margin-top:10px;padding-top:10px;border-top:1px dashed #eadfd9}
#accountBtn{white-space:nowrap}
#pSku[readonly]{background:#f7f4f2;color:#5e5550;font-weight:700}
@media(max-width:720px){.nav-actions{gap:6px}.nav-actions .btn{padding:9px 10px;font-size:12px}.account-profile{align-items:flex-start;flex-direction:column}.account-modal-card{width:min(94vw,760px)}}

/* v0.6.1 */
.google-button-wrap{display:flex;justify-content:center;min-height:44px}.account-divider{display:flex;align-items:center;gap:10px;color:#94847c;font-size:12px;margin:14px 0}.account-divider:before,.account-divider:after{content:"";height:1px;background:#eadfd9;flex:1}.good-text{color:#187552;font-weight:700;margin-top:4px}code{background:#f6efeb;padding:2px 5px;border-radius:5px}


/* ===== v0.8.5: recuperación de contraseña ===== */
.account-form-link-row{display:flex;justify-content:flex-end;margin:-2px 0 12px}.account-text-link{appearance:none;border:0;background:transparent;padding:0;color:#31514a;font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.account-text-link:hover{color:#1f3b35}.account-recovery-intro{background:#f7f2ef;border:1px solid #eadfd9;border-radius:14px;padding:14px 16px;margin-bottom:15px}.account-recovery-intro b{display:block;color:#314d47;margin-bottom:5px}.account-recovery-intro p{margin:0;color:#746963;font-size:13px;line-height:1.55}
.reset-page{min-height:100vh;background:#fff9f6;color:#2d2926}.reset-shell{max-width:560px;margin:0 auto;padding:64px 20px 80px}.reset-brand{display:flex;justify-content:center;margin-bottom:28px}.reset-brand img{width:min(240px,62vw);height:auto}.reset-card{background:white;border:1px solid #eadbd6;border-radius:24px;padding:30px;box-shadow:0 18px 50px rgba(71,52,43,.08)}.reset-eyebrow{font-size:12px;letter-spacing:.08em;font-weight:900;color:#d36a7e;text-transform:uppercase}.reset-card h1{font-family:Georgia,serif;color:#314d47;font-size:38px;line-height:1.08;margin:10px 0 12px}.reset-card>p{color:#746963;line-height:1.6;margin:0 0 22px}.reset-form{display:grid;gap:14px}.reset-form .field{margin:0}.reset-status{border-radius:14px;padding:14px 16px;margin-bottom:16px;background:#f7f2ef;border:1px solid #eadfd9;color:#5e5550;line-height:1.5}.reset-status.success{background:#eaf7f0;border-color:#c4e3d2;color:#23644e}.reset-status.error{background:#fff1ef;border-color:#f0c9c2;color:#9a4136}.reset-actions{display:grid;gap:10px;margin-top:6px}.password-match{font-size:12px;margin-top:5px}.password-match.bad{color:#a8433c}.password-match.good{color:#247154}.reset-security-note{font-size:12px;color:#8b7f78;line-height:1.5;margin-top:18px;padding-top:16px;border-top:1px solid #eee2dd}@media(max-width:600px){.reset-shell{padding:34px 15px 60px}.reset-card{padding:22px 18px;border-radius:20px}.reset-card h1{font-size:31px}}


/* ===== v0.8.6: recuperación visible + modal seguro ===== */
body.account-modal-open{overflow:hidden}
#accountModal{z-index:200;padding:16px 18px;align-items:flex-start}
#accountModal .account-modal-card{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.account-inline-status{margin:10px 0 2px;padding:10px 12px;border:1px solid #dfd5cf;border-radius:12px;background:#f7f2ef;color:#5e5550;font-size:12px;line-height:1.45}
.account-inline-status.info{background:#f4f7f6;border-color:#d7e2df;color:#31514a}
.account-inline-status.success{background:#eaf7f0;border-color:#c4e3d2;color:#23644e}
.account-inline-status.error{background:#fff1ef;border-color:#f0c9c2;color:#9a4136}
@media(max-width:720px){#accountModal{padding:10px}#accountModal .account-modal-card{width:100%;max-height:calc(100dvh - 20px);padding:18px;border-radius:18px}#accountModal .modal-head{position:sticky;top:-18px;z-index:2;background:#fff;padding:6px 0 10px;margin-bottom:12px}}


/* ===== v0.8.8: registro de cliente más completo ===== */
.account-register-intro{display:grid;gap:4px;margin-bottom:15px;padding:13px 15px;border:1px solid #e5ddd8;border-radius:14px;background:#faf6f3}.account-register-intro b{color:#314d47;font-size:14px}.account-register-intro span{color:#746963;font-size:12px;line-height:1.5}.account-register-consent{display:flex;align-items:flex-start;gap:9px;margin:14px 0;padding:11px 12px;border:1px solid #eadfd9;border-radius:12px;background:#fff;font-size:11px;line-height:1.5;color:#746963}.account-register-consent input{margin-top:2px;flex:0 0 auto}.account-register-consent a{color:#31514a;font-weight:800;text-decoration:underline;text-underline-offset:2px}.account-register-footnote{margin-top:9px;line-height:1.5}.account-register-footnote b{color:#4b5755}
