/* Sistema editorial de las especialidades de Melo & Cía. */
.edition { --edge:clamp(20px,4vw,64px); }
.edition .frame { width:min(1240px,calc(100% - 2 * var(--edge))); }
.edition .mast { background:var(--paper); position:relative; z-index:4; }
.edition .mast .frame { min-height:76px; gap:20px; }
.edition-menu { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:8px clamp(12px,1.6vw,27px); }
.edition-menu a,.parent-link { font-size:13px; font-weight:650; text-decoration:none; }
.edition-menu a:hover,.parent-link:hover { text-decoration:underline; }
.parent-link { border-left:1px solid var(--rule); padding-left:18px; }
.mobile-menu { display:none; }
.edition .hero .frame { grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr); min-height:470px; }
.edition .hero h1 { max-width:15ch; }
.edition .hero-copy>p:not(.kicker) { max-width:53ch; font-size:clamp(16px,1.3vw,19px); }
.edition .section h2 { max-width:22ch; }
.edition .kicker+h2 { margin-top:12px; }
.family .hero h1 { max-width:13ch; }
.family-byline { display:flex; align-items:center; gap:12px; margin-top:22px; }
.family-byline img { width:56px; height:56px; object-fit:cover; object-position:center 28%; border-radius:50%; }
.family-byline p { font-size:14px; line-height:1.45; color:var(--muted); }
.family-byline a { color:var(--ink); font-weight:700; }
.family-routes .self-service { display:inline-block; border:0; padding:8px 0 0; color:var(--accent); font-size:14px; text-decoration:underline; }
.family-paths .family-checklist { margin:14px 0; border-bottom:1px solid var(--rule); }
.family-checklist summary { padding:10px 0; font-size:15px; }
.family-paths .family-fee { margin:auto 0 8px; color:var(--muted); font-size:14px; }
.family-actions { display:grid; justify-items:start; gap:8px; }
.family-actions .reference { padding:6px 0; font-size:14px; }
.family-scope { margin:24px 0 0; border-left:3px solid var(--accent); padding:4px 0 4px 15px; max-width:72ch; color:var(--muted); }
.family-scope strong { color:var(--ink); }
.family #mis-abonos { scroll-margin-top:72px; }
.family .notebook-page { padding:0 clamp(14px,2vw,26px) 10px; border:1px solid var(--rule); border-top:4px solid var(--accent); border-radius:4px; background:#fffcf6; align-self:start; }
.family .notebook-page>summary { font:600 23px/1.2 var(--display); }
.family .notebook-page>p { font-size:15px; }
.family .notebook-page .worksheet { border:0; padding-inline:0; }
.path-steps { margin:0; padding:0; list-style:none; counter-reset:etapa; }
.path-steps li { counter-increment:etapa; display:grid; grid-template-columns:36px 1fr; gap:5px 15px; padding:17px 0; border-top:1px solid var(--rule); }
.path-steps li::before { content:counter(etapa,decimal-leading-zero); color:var(--accent); font:italic 19px var(--display); grid-row:span 2; }
.path-steps h3 { font-size:24px; }
.path-steps p { font-size:15px; color:var(--muted); }
.tool-band { background:color-mix(in srgb,var(--paper) 85%,var(--rule)); }
.worksheet { margin:0; min-width:0; border:1px solid var(--rule); background:#fffefa; padding:20px; }
.worksheet legend { padding:0 6px; color:var(--ink); font:600 20px/1.25 var(--display); }
.worksheet-inputs,.filters { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.worksheet-field,.filters label { display:grid; gap:6px; font:650 13px/1.4 var(--body); min-width:0; }
.field-unit { display:flex; align-items:center; gap:3px; border:1px solid #a8afa8; border-radius:4px; padding-right:9px; background:white; }
.field-unit:focus-within { outline:2px solid var(--accent); outline-offset:1px; }
.field-unit small { color:var(--muted); }
.field-unit input,.filters input,.filters select { min-width:0; width:100%; padding:9px; min-height:43px; font:400 16px var(--body); color:var(--ink); background:white; border:0; border-radius:4px; }
.field-unit input:focus-visible { outline:0; }
.worksheet-buttons { display:flex; flex-wrap:wrap; gap:15px; margin-top:12px; }
.worksheet-buttons button,.filters button,.text-cta { color:var(--accent); font:650 14px/1.45 var(--body); cursor:pointer; text-underline-offset:.2em; }
.worksheet-buttons button,.filters button { border:0; padding:7px 1px; background:transparent; text-decoration:underline; }
.worksheet-results { border-top:1px solid var(--rule); margin-top:12px; }
.worksheet-results div { display:flex; align-items:baseline; flex-wrap:wrap; justify-content:space-between; gap:6px 14px; padding:10px 0; border-bottom:1px solid var(--rule); }
.worksheet-results dt { color:var(--muted); font-size:14px; }
.worksheet-results output { color:var(--accent); font:600 24px/1.25 var(--display); }
.sheet-foot,.input-feedback,.count { margin-top:10px; font-size:13px; line-height:1.5; color:var(--muted); }
.input-feedback:empty { margin:0; }
.last-call { color:var(--paper); background:var(--ink); padding-block:clamp(36px,5vw,70px); }
.last-call .frame { display:flex; justify-content:space-between; align-items:center; gap:26px; }
.last-call h2 { margin-top:10px; max-width:24ch; }
.last-call .button { color:var(--ink); background:var(--paper); }
.last-call .mail { display:block; margin-top:12px; font-size:14px; }
.stage-link { display:inline-block; margin-top:15px; font-size:14px; }
.auction .hero .frame { min-height:490px; }
.auction .hero .actions { gap:12px 20px; }
.auction .hero .hero-copy { min-width:0; }
.filters { margin:23px 0 12px; padding:16px; align-items:end; grid-template-columns:minmax(0,1fr) minmax(0,.65fr) auto; background:#eeeae0; }
.filters input,.filters select { border:1px solid #adb2b3; }
.filters button { min-height:42px; }
.lot-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:start; margin-top:12px; }
.lot.notice { position:relative; background:#fffefa; border:1px solid var(--rule); border-top:4px solid var(--accent); padding:clamp(16px,2.4vw,28px); }
.lot-head,.lot-links { display:flex; justify-content:space-between; gap:10px; align-items:baseline; flex-wrap:wrap; }
.lot-head span,.checked { color:var(--muted); font-size:12px; }
.lot .lot-head .kicker { color:var(--accent); font-size:10px; }
.lot.notice h3 { font:600 clamp(25px,2.8vw,36px)/1.12 var(--display); letter-spacing:-.05em; margin:10px 0 4px; }
.lot-price { display:flex; gap:24px; align-items:end; padding:16px 0; margin:14px 0; border-block:1px solid var(--rule); }
.lot-price small,.advisor span,.checked { display:block; }
.lot-price strong { font:600 27px var(--display); }
.lot-price time { font-weight:600; }
.lot details { margin:15px 0; }
.lot-links { justify-content:flex-start; gap:12px 22px; }
.lot .checked { margin-top:14px; }
.catalogue-sources { max-width:78ch; border-left:3px solid var(--accent); padding-left:15px; color:var(--muted); }
.catalogue-sources p { margin:8px 0; font-size:14px; }
.catalogue-filters { grid-template-columns:repeat(auto-fit,minmax(min(100%,195px),1fr)); }
.catalogue-filters .filter-actions { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px 18px; }
.catalogue-filters .market-toggle { display:flex; align-items:center; gap:8px; }
.market-toggle input { width:18px; min-height:18px; height:18px; accent-color:var(--accent); }
.catalogue-filters button { min-height:28px; justify-self:start; }
.lot .lot-source { font-weight:650; color:var(--accent); }
.lot .lot-case { font-size:13px; }
.lot-price { flex-wrap:wrap; gap:10px 24px; }
.lot-links { margin-top:15px; }
.more-lots { margin:20px 0 8px; padding:10px 18px; border:1px solid var(--accent); border-radius:4px; background:white; color:var(--accent); font:650 14px var(--body); cursor:pointer; }
.more-lots:hover { background:var(--paper); }
.outside-lot { margin-top:18px; }
.advisor { display:flex; align-items:center; gap:14px; margin-top:25px; }
.advisor img { border-radius:50%; width:66px; height:66px; object-fit:cover; object-position:50% 36%; }
.advisor span,.advisor a { font-size:13px; }
.market-facts { margin:15px 0 22px; }
.market-facts div { padding:12px 0; border-top:1px solid var(--rule); }
.market-facts dt { font-weight:700; }
.market-facts dd { font-size:15px; color:var(--muted); padding-top:3px; }
[hidden] { display:none !important; }
@media(max-width:900px) {
 .edition-menu { display:none; }
 .edition .mast .frame { min-height:70px; justify-content:space-between; flex-wrap:nowrap; }
 .mobile-menu { display:block; border:0; margin-left:auto; }
 .mobile-menu>summary { font-size:14px; padding:10px 6px; }
 .mobile-menu nav { position:absolute; right:var(--edge); top:calc(100% - 2px); min-width:195px; display:grid; background:var(--paper); border:1px solid var(--rule); box-shadow:0 6px 16px #192d3829; }
 .mobile-menu nav a { padding:9px 16px; color:var(--ink); font-size:14px; }
 .parent-link { font-size:12px; }
}
@media(max-width:700px) {
 .auction .hero .hero-photo { position:relative; width:100%; height:190px; }
 .edition .hero .frame { grid-template-columns:minmax(0,1fr); gap:24px; min-height:0; padding-block:32px; }
 .edition .hero h1 { font-size:clamp(40px,9.5vw,60px); }
 .family .duo,.edition .split,.edition .duo,.lot-grid,.filters { grid-template-columns:minmax(0,1fr); }
 .filters { gap:8px; }
 .filters button { justify-self:start; }
 .last-call .frame { display:grid; }
 .edition .section h2 { max-width:100%; }
}
@media(max-width:440px) {
 .edition .mast .frame { gap:8px; }
 .edition .parent-link { display:none; }
 .worksheet-inputs { grid-template-columns:1fr; }
 .family-routes { padding:17px; }
}
.hub .poster {
  display:flex; align-items:center; justify-content:center;
  gap:clamp(10px,1.7vw,22px); padding:clamp(16px,3vw,38px);
  min-height:clamp(158px,16vw,200px);
}
.hub .poster .emblema { flex:none; width:clamp(44px,5.5vw,70px); height:auto; }
.hub .poster .wordmark { white-space:nowrap; max-width:72%; }
.hub .debt .poster { background:repeating-linear-gradient(0deg,#16473e 0 21px,#24574b 22px,#16473e 23px); }
.hub .debt .marca-punto-y-saldo { width:clamp(130px,14.8vw,200px); height:auto; }
.hub .family .poster .marca-cada-mes { background:none; padding:0; width:clamp(190px,22vw,280px); height:auto; max-width:96%; }
.hub .auction .poster { background:linear-gradient(105deg,#142f3be6,#163747b8),url('../assets/postura-y-llave-umbral.webp') 60% 52%/cover; }
.hub .poster .nombre-remates { font:700 clamp(23px,3.1vw,41px)/1 Georgia,serif; letter-spacing:-.055em; }
.hub .nombre-remates i { font-weight:400; color:inherit; }
.hub .marcas { --ink:#302543; --accent:#403178; --muted:#5d5767; }
.hub .marcas .poster { background:#e8e2f1; }
.hub .poster .distintiva-mark { color:#403178; font:750 clamp(29px,3.5vw,45px)/1 var(--body); letter-spacing:-.07em; }
