/* PayoutLab - styles.css */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --border: #dfe3e8;
  --text: #16202b;
  --text-dim: #5b6875;
  /* Marca (hoja de uso del logo, 22/11/2026): indigo #3D2FB8 y lima #B6F23A como unico acento.
     El lima sobre blanco da 1,33:1, asi que en el tema claro nunca va como texto. */
  --brand: #3D2FB8;
  --brand-strong: #2E2390;
  --brand-soft: #EEECFB;
  --accent: #B6F23A;
  --good: #166534;
  --warn: #92400e;
  --bad: #b42318;
  --shadow: 0 1px 2px rgba(16, 32, 43, .06), 0 8px 24px rgba(16, 32, 43, .06);
  --radius: 12px;
  --maxw: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html[data-theme="dark"] {
  --bg: #110E1F;
  --surface: #1A1530;
  --surface-2: #231D3D;
  --border: #352D55;
  --text: #EEEAF7;
  --text-dim: #A9A3C2;
  --brand: #B6F23A;
  --brand-strong: #CCF76E;
  --brand-soft: #252B14;
  --accent: #B6F23A;
  --good: #4ade80;
  --warn: #f59e0b;
  --bad: #f87171;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}

@media (prefers-color-scheme: dark) {
  html[data-theme="auto"] {
    --bg: #110E1F;
    --surface: #1A1530;
    --surface-2: #231D3D;
    --border: #352D55;
    --text: #EEEAF7;
    --text-dim: #A9A3C2;
    --brand: #B6F23A;
    --brand-strong: #CCF76E;
    --brand-soft: #252B14;
    --accent: #B6F23A;
    --good: #4ade80;
    --warn: #f59e0b;
    --bad: #f87171;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
  /* Las mismas correcciones de contraste que html[data-theme="dark"]: sin esto, quien tiene el
     telefono en oscuro (el tema por defecto es auto) veia texto blanco sobre el color de marca claro. */
  html[data-theme="auto"] .primary-btn { color: #1A1530; }
  html[data-theme="auto"] .kicker { color: var(--brand-strong); }
  html[data-theme="auto"] .tab.is-active { color: #1A1530; }
  html[data-theme="auto"] .badge { color: #1A1530; }
  html[data-theme="auto"] .badge.is-blocked { color: var(--warn); }
  html[data-theme="auto"] .winner-year { color: var(--brand-strong); }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.015em; }
h1 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

a { color: var(--brand); }

.muted { color: var(--text-dim); }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff;
  padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
/* Marca: a 32 px la probeta no se lee, asi que va la version simplificada (moneda lima con $
   sobre indigo), como pide la hoja de uso. Va embebida: sirve igual a cualquier profundidad. */
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px; overflow: hidden; flex: none;
  background: #3D2FB8 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%2260%2060%20880%20880%22%3E%20%3Crect%20x%3D%2260%22%20y%3D%2260%22%20width%3D%22880%22%20height%3D%22880%22%20fill%3D%22%233D2FB8%22%2F%3E%20%3Ccircle%20cx%3D%22500%22%20cy%3D%22500%22%20r%3D%22400%22%20fill%3D%22%23B6F23A%22%2F%3E%20%3Ccircle%20cx%3D%22500%22%20cy%3D%22500%22%20r%3D%22318%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2234%22%2F%3E%20%3Cpolyline%20points%3D%22637.5%2C345.0%20632.1%2C339.4%20625.5%2C331.3%20617.6%2C321.7%20608.6%2C311.2%20598.5%2C301.0%20587.4%2C291.8%20575.4%2C284.5%20562.5%2C280.0%20547.8%2C278.0%20530.8%2C277.4%20512.2%2C278.3%20493.0%2C280.5%20473.8%2C283.8%20455.6%2C288.3%20439.0%2C293.7%20425.0%2C300.0%20412.7%2C307.7%20401.2%2C317.1%20390.6%2C327.9%20381.2%2C339.5%20373.5%2C351.7%20367.6%2C364.0%20363.8%2C376.1%20362.5%2C387.5%20363.7%2C398.7%20367.3%2C410.3%20372.9%2C422.0%20380.5%2C433.6%20389.7%2C444.9%20400.3%2C455.8%20412.1%2C465.9%20425.0%2C475.0%20440.1%2C482.8%20458.3%2C489.4%20478.5%2C495.2%20499.7%2C500.5%20520.9%2C505.7%20541.2%2C511.3%20559.6%2C517.6%20575.0%2C525.0%20588.3%2C533.5%20600.7%2C542.5%20612.0%2C552.1%20621.9%2C562.2%20630.2%2C572.6%20636.5%2C583.2%20640.7%2C594.1%20642.5%2C605.0%20641.7%2C616.7%20638.5%2C629.5%20633.1%2C642.8%20625.8%2C656.2%20616.8%2C669.2%20606.5%2C681.2%20594.9%2C691.6%20582.5%2C700.0%20568.0%2C706.7%20550.7%2C712.4%20531.5%2C716.9%20511.2%2C720.3%20490.8%2C722.4%20471.2%2C723.1%20453.1%2C722.3%20437.5%2C720.0%20423.8%2C715.1%20411.1%2C707.2%20399.2%2C697.3%20388.4%2C686.2%20378.8%2C675.1%20370.4%2C664.7%20363.2%2C656.0%20357.5%2C650.0%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2275%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpolyline%20points%3D%22500.0%2C195.0%20500.0%2C805.0%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2263.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E") center / cover no-repeat;
  color: transparent; font-size: 0;
}
.brand-text { font-size: 1.1rem; letter-spacing: -.02em; font-weight: 800; }
.brand-lab { font-weight: 400; }
/* La probeta completa, en el pie: la hoja pide 48 px como minimo. La version sobre indigo se lee
   igual en el tema claro y en el oscuro. */
.foot-logo {
  display: block; width: 48px; height: 56px; border-radius: 10px; margin: 0 0 12px;
  background: #3D2FB8 url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%22540%20390%201920%202250%22%3E%20%3Crect%20x%3D%22540%22%20y%3D%22390%22%20width%3D%221920%22%20height%3D%222250%22%20fill%3D%22%233D2FB8%22%2F%3E%20%3Cpath%20d%3D%22M1840.0%2C410.0%20L1855.7%2C410.9%20L1871.2%2C413.5%20L1886.2%2C417.9%20L1900.7%2C423.9%20L1914.5%2C431.5%20L1927.3%2C440.5%20L1939.0%2C451.0%20L1949.5%2C462.7%20L1958.5%2C475.5%20L1966.1%2C489.3%20L1972.1%2C503.8%20L1976.5%2C518.8%20L1979.1%2C534.3%20L1980.0%2C550.0%20L1980.0%2C550.0%20L1979.1%2C565.7%20L1976.5%2C581.2%20L1972.1%2C596.2%20L1966.1%2C610.7%20L1958.5%2C624.5%20L1949.5%2C637.3%20L1939.0%2C649.0%20L1927.3%2C659.5%20L1914.5%2C668.5%20L1900.7%2C676.1%20L1886.2%2C682.1%20L1871.2%2C686.5%20L1855.7%2C689.1%20L1840.0%2C690.0%20L1160.0%2C690.0%20L1144.3%2C689.1%20L1128.8%2C686.5%20L1113.8%2C682.1%20L1099.3%2C676.1%20L1085.5%2C668.5%20L1072.7%2C659.5%20L1061.0%2C649.0%20L1050.5%2C637.3%20L1041.5%2C624.5%20L1033.9%2C610.7%20L1027.9%2C596.2%20L1023.5%2C581.2%20L1020.9%2C565.7%20L1020.0%2C550.0%20L1020.0%2C550.0%20L1020.9%2C534.3%20L1023.5%2C518.8%20L1027.9%2C503.8%20L1033.9%2C489.3%20L1041.5%2C475.5%20L1050.5%2C462.7%20L1061.0%2C451.0%20L1072.7%2C440.5%20L1085.5%2C431.5%20L1099.3%2C423.9%20L1113.8%2C417.9%20L1128.8%2C413.5%20L1144.3%2C410.9%20L1160.0%2C410.0%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1150.0%2C600.0%20L1850.0%2C600.0%20L1850.0%2C1200.0%20L1150.0%2C1200.0%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1150.0%2C1150.0%20L1850.0%2C1150.0%20L2400.0%2C2330.0%20L2393.1%2C2363.9%20L2402.3%2C2388.0%20L2408.0%2C2413.2%20L2410.0%2C2438.9%20L2408.3%2C2464.6%20L2403.0%2C2489.8%20L2394.1%2C2514.0%20L2381.8%2C2536.7%20L2366.4%2C2557.4%20L2348.3%2C2575.7%20L2327.7%2C2591.2%20L2305.1%2C2603.6%20L2280.9%2C2612.7%20L2255.7%2C2618.2%20L2230.0%2C2620.0%20L770.0%2C2620.0%20L744.3%2C2618.2%20L719.1%2C2612.7%20L694.9%2C2603.6%20L672.3%2C2591.2%20L651.7%2C2575.7%20L633.6%2C2557.4%20L618.2%2C2536.7%20L605.9%2C2514.0%20L597.0%2C2489.8%20L591.7%2C2464.6%20L590.0%2C2438.9%20L592.0%2C2413.2%20L597.7%2C2388.0%20L606.9%2C2363.9%20L600.0%2C2330.0%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1840.0%2C482.0%20L1847.6%2C482.4%20L1855.1%2C483.7%20L1862.5%2C485.8%20L1869.5%2C488.7%20L1876.2%2C492.4%20L1882.4%2C496.8%20L1888.1%2C501.9%20L1893.2%2C507.6%20L1897.6%2C513.8%20L1901.3%2C520.5%20L1904.2%2C527.5%20L1906.3%2C534.9%20L1907.6%2C542.4%20L1908.0%2C550.0%20L1908.0%2C550.0%20L1907.6%2C557.6%20L1906.3%2C565.1%20L1904.2%2C572.5%20L1901.3%2C579.5%20L1897.6%2C586.2%20L1893.2%2C592.4%20L1888.1%2C598.1%20L1882.4%2C603.2%20L1876.2%2C607.6%20L1869.5%2C611.3%20L1862.5%2C614.2%20L1855.1%2C616.3%20L1847.6%2C617.6%20L1840.0%2C618.0%20L1160.0%2C618.0%20L1152.4%2C617.6%20L1144.9%2C616.3%20L1137.5%2C614.2%20L1130.5%2C611.3%20L1123.8%2C607.6%20L1117.6%2C603.2%20L1111.9%2C598.1%20L1106.8%2C592.4%20L1102.4%2C586.2%20L1098.7%2C579.5%20L1095.8%2C572.5%20L1093.7%2C565.1%20L1092.4%2C557.6%20L1092.0%2C550.0%20L1092.0%2C550.0%20L1092.4%2C542.4%20L1093.7%2C534.9%20L1095.8%2C527.5%20L1098.7%2C520.5%20L1102.4%2C513.8%20L1106.8%2C507.6%20L1111.9%2C501.9%20L1117.6%2C496.8%20L1123.8%2C492.4%20L1130.5%2C488.7%20L1137.5%2C485.8%20L1144.9%2C483.7%20L1152.4%2C482.4%20L1160.0%2C482.0%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1222.0%2C560.0%20L1778.0%2C560.0%20L1778.0%2C1220.0%20L1222.0%2C1220.0%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1222.0%2C1190.0%20L1778.0%2C1190.0%20L2322.0%2C2350.0%20L2329.7%2C2393.5%20L2335.3%2C2408.2%20L2338.8%2C2423.6%20L2340.0%2C2439.3%20L2339.0%2C2455.0%20L2335.7%2C2470.5%20L2330.3%2C2485.2%20L2322.8%2C2499.1%20L2313.4%2C2511.8%20L2302.3%2C2522.9%20L2289.7%2C2532.4%20L2275.9%2C2540.0%20L2261.1%2C2545.5%20L2245.7%2C2548.9%20L2230.0%2C2550.0%20L770.0%2C2550.0%20L754.3%2C2548.9%20L738.9%2C2545.5%20L724.1%2C2540.0%20L710.3%2C2532.4%20L697.7%2C2522.9%20L686.6%2C2511.8%20L677.2%2C2499.1%20L669.7%2C2485.2%20L664.3%2C2470.5%20L661.0%2C2455.0%20L660.0%2C2439.3%20L661.2%2C2423.6%20L664.7%2C2408.2%20L670.3%2C2393.5%20L678.0%2C2350.0%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1830.0%2C550.0%20L1828.7%2C555.1%20L1825.0%2C560.1%20L1818.8%2C565.0%20L1810.1%2C569.8%20L1799.1%2C574.5%20L1785.8%2C579.0%20L1770.3%2C583.3%20L1752.8%2C587.3%20L1733.3%2C591.0%20L1712.1%2C594.4%20L1689.3%2C597.5%20L1665.0%2C600.2%20L1639.5%2C602.6%20L1612.9%2C604.5%20L1585.4%2C606.0%20L1557.3%2C607.1%20L1528.8%2C607.8%20L1500.0%2C608.0%20L1471.2%2C607.8%20L1442.7%2C607.1%20L1414.6%2C606.0%20L1387.1%2C604.5%20L1360.5%2C602.6%20L1335.0%2C600.2%20L1310.7%2C597.5%20L1287.9%2C594.4%20L1266.7%2C591.0%20L1247.2%2C587.3%20L1229.7%2C583.3%20L1214.2%2C579.0%20L1200.9%2C574.5%20L1189.9%2C569.8%20L1181.2%2C565.0%20L1175.0%2C560.1%20L1171.3%2C555.1%20L1170.0%2C550.0%20L1171.3%2C544.9%20L1175.0%2C539.9%20L1181.2%2C535.0%20L1189.9%2C530.2%20L1200.9%2C525.5%20L1214.2%2C521.0%20L1229.7%2C516.7%20L1247.2%2C512.7%20L1266.7%2C509.0%20L1287.9%2C505.6%20L1310.7%2C502.5%20L1335.0%2C499.8%20L1360.5%2C497.4%20L1387.1%2C495.5%20L1414.6%2C494.0%20L1442.7%2C492.9%20L1471.2%2C492.2%20L1500.0%2C492.0%20L1528.8%2C492.2%20L1557.3%2C492.9%20L1585.4%2C494.0%20L1612.9%2C495.5%20L1639.5%2C497.4%20L1665.0%2C499.8%20L1689.3%2C502.5%20L1712.1%2C505.6%20L1733.3%2C509.0%20L1752.8%2C512.7%20L1770.3%2C516.7%20L1785.8%2C521.0%20L1799.1%2C525.5%20L1810.1%2C530.2%20L1818.8%2C535.0%20L1825.0%2C539.9%20L1828.7%2C544.9%20Z%22%20fill%3D%22%233D2FB8%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1050.0%2C1470.0%20C1096.7%2C1390.8%201135.0%2C1405.0%201180.0%2C1385.0%20C1225.0%2C1365.0%201270.0%2C1347.2%201320.0%2C1350.0%20C1370.0%2C1352.8%201425.0%2C1378.7%201480.0%2C1402.0%20C1535.0%2C1425.3%201596.7%2C1471.7%201650.0%2C1490.0%20C1703.3%2C1508.3%201757.5%2C1509.5%201800.0%2C1512.0%20C1842.5%2C1514.5%201856.7%2C1443.7%201905.0%2C1505.0%20C1953.3%2C1566.3%202030.5%2C1755.8%202090.0%2C1880.0%20C2149.5%2C2004.2%202239.5%2C2158.3%202262.0%2C2250.0%20C2284.5%2C2341.7%202252.0%2C2390.3%202225.0%2C2430.0%20C2198.0%2C2469.7%202320.8%2C2478.3%202100.0%2C2488.0%20C1879.2%2C2497.7%201120.8%2C2497.7%20900.0%2C2488.0%20C679.2%2C2478.3%20802.0%2C2469.7%20775.0%2C2430.0%20C748.0%2C2390.3%20717.2%2C2345.0%20738.0%2C2250.0%20C758.8%2C2155.0%20848.0%2C1990.0%20900.0%2C1860.0%20C952.0%2C1730.0%201003.3%2C1549.2%201050.0%2C1470.0%20Z%22%20fill%3D%22%23B6F23A%22%2F%3E%20%3Ccircle%20cx%3D%221660%22%20cy%3D%221735%22%20r%3D%2230%22%20fill%3D%22%23FFF8EC%22%2F%3E%20%3Ccircle%20cx%3D%221570%22%20cy%3D%222318%22%20r%3D%2246%22%20fill%3D%22%23FFF8EC%22%2F%3E%20%3Cpath%20d%3D%22M1528.0%2C1753.1%20L1524.3%2C1760.8%20L1519.6%2C1768.0%20L1514.1%2C1774.8%20L1507.7%2C1781.0%20L1500.4%2C1786.6%20L1492.5%2C1791.6%20L1483.8%2C1795.8%20L1474.4%2C1799.4%20L1464.5%2C1802.2%20L1454.1%2C1804.2%20L1443.3%2C1805.4%20L1432.2%2C1805.9%20L1420.8%2C1805.6%20L1409.3%2C1804.4%20L1397.7%2C1802.5%20L1386.1%2C1799.8%20L1374.6%2C1796.4%20L1363.3%2C1792.2%20L1352.3%2C1787.4%20L1341.6%2C1781.9%20L1331.4%2C1775.7%20L1321.7%2C1769.1%20L1312.7%2C1761.9%20L1304.2%2C1754.2%20L1296.5%2C1746.1%20L1289.6%2C1737.7%20L1283.6%2C1729.1%20L1278.4%2C1720.2%20L1274.1%2C1711.1%20L1270.8%2C1702.0%20L1268.5%2C1692.9%20L1267.2%2C1683.9%20L1266.9%2C1674.9%20L1267.6%2C1666.2%20L1269.3%2C1657.8%20L1272.0%2C1649.7%20L1275.7%2C1641.9%20L1280.4%2C1634.7%20L1285.9%2C1627.9%20L1292.3%2C1621.7%20L1299.6%2C1616.1%20L1307.5%2C1611.2%20L1316.2%2C1606.9%20L1325.6%2C1603.4%20L1335.5%2C1600.6%20L1345.9%2C1598.5%20L1356.7%2C1597.3%20L1367.8%2C1596.8%20L1379.2%2C1597.2%20L1390.7%2C1598.3%20L1402.3%2C1600.2%20L1413.9%2C1602.9%20L1425.4%2C1606.3%20L1436.7%2C1610.5%20L1447.7%2C1615.3%20L1458.4%2C1620.9%20L1468.6%2C1627.0%20L1478.3%2C1633.7%20L1487.3%2C1640.9%20L1495.8%2C1648.5%20L1503.5%2C1656.6%20L1510.4%2C1665.0%20L1516.4%2C1673.7%20L1521.6%2C1682.6%20L1525.9%2C1691.6%20L1529.2%2C1700.7%20L1531.5%2C1709.8%20L1532.8%2C1718.9%20L1533.1%2C1727.8%20L1532.4%2C1736.5%20L1530.7%2C1744.9%20Z%22%20fill%3D%22%23E6DCC6%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1528.0%2C1721.7%20L1524.3%2C1729.4%20L1519.6%2C1736.7%20L1514.1%2C1743.5%20L1507.7%2C1749.7%20L1500.4%2C1755.3%20L1492.5%2C1760.2%20L1483.8%2C1764.5%20L1474.4%2C1768.0%20L1464.5%2C1770.8%20L1454.1%2C1772.8%20L1443.3%2C1774.1%20L1432.2%2C1774.5%20L1420.8%2C1774.2%20L1409.3%2C1773.1%20L1397.7%2C1771.1%20L1386.1%2C1768.5%20L1374.6%2C1765.0%20L1363.3%2C1760.9%20L1352.3%2C1756.0%20L1341.6%2C1750.5%20L1331.4%2C1744.4%20L1321.7%2C1737.7%20L1312.7%2C1730.5%20L1304.2%2C1722.8%20L1296.5%2C1714.8%20L1289.6%2C1706.4%20L1283.6%2C1697.7%20L1278.4%2C1688.8%20L1274.1%2C1679.8%20L1270.8%2C1670.7%20L1268.5%2C1661.5%20L1267.2%2C1652.5%20L1266.9%2C1643.6%20L1267.6%2C1634.9%20L1269.3%2C1626.4%20L1272.0%2C1618.3%20L1275.7%2C1610.6%20L1280.4%2C1603.3%20L1285.9%2C1596.5%20L1292.3%2C1590.3%20L1299.6%2C1584.7%20L1307.5%2C1579.8%20L1316.2%2C1575.5%20L1325.6%2C1572.0%20L1335.5%2C1569.2%20L1345.9%2C1567.2%20L1356.7%2C1565.9%20L1367.8%2C1565.5%20L1379.2%2C1565.8%20L1390.7%2C1566.9%20L1402.3%2C1568.9%20L1413.9%2C1571.5%20L1425.4%2C1575.0%20L1436.7%2C1579.1%20L1447.7%2C1584.0%20L1458.4%2C1589.5%20L1468.6%2C1595.6%20L1478.3%2C1602.3%20L1487.3%2C1609.5%20L1495.8%2C1617.2%20L1503.5%2C1625.2%20L1510.4%2C1633.6%20L1516.4%2C1642.3%20L1521.6%2C1651.2%20L1525.9%2C1660.2%20L1529.2%2C1669.3%20L1531.5%2C1678.5%20L1532.8%2C1687.5%20L1533.1%2C1696.4%20L1532.4%2C1705.1%20L1530.7%2C1713.6%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpolyline%20points%3D%221433.9%2C1632.8%201432.7%2C1631.4%201431.1%2C1629.4%201429.2%2C1627.1%201427.0%2C1624.5%201424.6%2C1622.0%201421.9%2C1619.7%201419.0%2C1617.9%201415.9%2C1616.7%201412.4%2C1616.2%201408.2%2C1616.0%201403.7%2C1616.2%201399.0%2C1616.6%201394.4%2C1617.4%201389.9%2C1618.4%201385.9%2C1619.7%201382.5%2C1621.1%201379.4%2C1623.0%201376.6%2C1625.2%201374.0%2C1627.8%201371.7%2C1630.6%201369.8%2C1633.5%201368.3%2C1636.5%201367.3%2C1639.4%201367.0%2C1642.2%201367.2%2C1644.9%201368.1%2C1647.7%201369.4%2C1650.6%201371.2%2C1653.5%201373.4%2C1656.2%201375.9%2C1658.9%201378.8%2C1661.4%201381.9%2C1663.7%201385.5%2C1665.6%201389.9%2C1667.3%201394.8%2C1668.8%201399.9%2C1670.1%201405.1%2C1671.5%201410.0%2C1672.9%201414.4%2C1674.5%201418.1%2C1676.3%201421.3%2C1678.4%201424.3%2C1680.7%201427.0%2C1683.1%201429.4%2C1685.5%201431.4%2C1688.1%201432.9%2C1690.7%201433.9%2C1693.3%201434.3%2C1696.0%201434.0%2C1698.8%201433.2%2C1701.9%201431.9%2C1705.2%201430.0%2C1708.4%201427.8%2C1711.5%201425.3%2C1714.4%201422.4%2C1716.9%201419.4%2C1718.9%201415.8%2C1720.5%201411.6%2C1721.8%201406.9%2C1722.8%201402.0%2C1723.6%201397.0%2C1724.0%201392.2%2C1724.1%201387.8%2C1723.9%201384.1%2C1723.3%201380.8%2C1722.0%201377.7%2C1720.0%201374.8%2C1717.6%201372.3%2C1714.9%201369.9%2C1712.1%201367.9%2C1709.6%201366.2%2C1707.5%201364.9%2C1706.0%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2218.228%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpolyline%20points%3D%221401.0%2C1595.9%201399.0%2C1744.1%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2215.4938%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpath%20d%3D%22M1348.9%2C2254.4%20L1345.2%2C2266.0%20L1340.0%2C2277.2%20L1333.4%2C2287.9%20L1325.3%2C2297.9%20L1316.0%2C2307.2%20L1305.3%2C2315.7%20L1293.5%2C2323.3%20L1280.6%2C2330.1%20L1266.7%2C2335.9%20L1251.9%2C2340.7%20L1236.3%2C2344.5%20L1220.1%2C2347.2%20L1203.4%2C2348.9%20L1186.2%2C2349.4%20L1168.8%2C2348.8%20L1151.2%2C2347.2%20L1133.6%2C2344.4%20L1116.1%2C2340.6%20L1098.9%2C2335.8%20L1082.1%2C2330.0%20L1065.8%2C2323.2%20L1050.1%2C2315.5%20L1035.2%2C2307.0%20L1021.2%2C2297.6%20L1008.2%2C2287.6%20L996.2%2C2277.0%20L985.4%2C2265.8%20L975.9%2C2254.1%20L967.6%2C2242.1%20L960.8%2C2229.8%20L955.4%2C2217.3%20L951.5%2C2204.7%20L949.1%2C2192.1%20L948.2%2C2179.5%20L948.9%2C2167.2%20L951.1%2C2155.2%20L954.8%2C2143.6%20L960.0%2C2132.4%20L966.6%2C2121.7%20L974.7%2C2111.7%20L984.0%2C2102.4%20L994.7%2C2093.9%20L1006.5%2C2086.3%20L1019.4%2C2079.5%20L1033.3%2C2073.7%20L1048.1%2C2068.9%20L1063.7%2C2065.1%20L1079.9%2C2062.4%20L1096.6%2C2060.7%20L1113.8%2C2060.2%20L1131.2%2C2060.8%20L1148.8%2C2062.4%20L1166.4%2C2065.2%20L1183.9%2C2069.0%20L1201.1%2C2073.8%20L1217.9%2C2079.6%20L1234.2%2C2086.4%20L1249.9%2C2094.1%20L1264.8%2C2102.6%20L1278.8%2C2112.0%20L1291.8%2C2122.0%20L1303.8%2C2132.6%20L1314.6%2C2143.8%20L1324.1%2C2155.5%20L1332.4%2C2167.5%20L1339.2%2C2179.8%20L1344.6%2C2192.3%20L1348.5%2C2204.9%20L1350.9%2C2217.5%20L1351.8%2C2230.1%20L1351.1%2C2242.4%20Z%22%20fill%3D%22%23E6DCC6%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1348.9%2C2209.6%20L1345.2%2C2221.2%20L1340.0%2C2232.4%20L1333.4%2C2243.1%20L1325.3%2C2253.1%20L1316.0%2C2262.4%20L1305.3%2C2270.9%20L1293.5%2C2278.5%20L1280.6%2C2285.3%20L1266.7%2C2291.1%20L1251.9%2C2295.9%20L1236.3%2C2299.7%20L1220.1%2C2302.4%20L1203.4%2C2304.1%20L1186.2%2C2304.6%20L1168.8%2C2304.0%20L1151.2%2C2302.4%20L1133.6%2C2299.6%20L1116.1%2C2295.8%20L1098.9%2C2291.0%20L1082.1%2C2285.2%20L1065.8%2C2278.4%20L1050.1%2C2270.7%20L1035.2%2C2262.2%20L1021.2%2C2252.8%20L1008.2%2C2242.8%20L996.2%2C2232.2%20L985.4%2C2221.0%20L975.9%2C2209.3%20L967.6%2C2197.3%20L960.8%2C2185.0%20L955.4%2C2172.5%20L951.5%2C2159.9%20L949.1%2C2147.3%20L948.2%2C2134.7%20L948.9%2C2122.4%20L951.1%2C2110.4%20L954.8%2C2098.8%20L960.0%2C2087.6%20L966.6%2C2076.9%20L974.7%2C2066.9%20L984.0%2C2057.6%20L994.7%2C2049.1%20L1006.5%2C2041.5%20L1019.4%2C2034.7%20L1033.3%2C2028.9%20L1048.1%2C2024.1%20L1063.7%2C2020.3%20L1079.9%2C2017.6%20L1096.6%2C2015.9%20L1113.8%2C2015.4%20L1131.2%2C2016.0%20L1148.8%2C2017.6%20L1166.4%2C2020.4%20L1183.9%2C2024.2%20L1201.1%2C2029.0%20L1217.9%2C2034.8%20L1234.2%2C2041.6%20L1249.9%2C2049.3%20L1264.8%2C2057.8%20L1278.8%2C2067.2%20L1291.8%2C2077.2%20L1303.8%2C2087.8%20L1314.6%2C2099.0%20L1324.1%2C2110.7%20L1332.4%2C2122.7%20L1339.2%2C2135.0%20L1344.6%2C2147.5%20L1348.5%2C2160.1%20L1350.9%2C2172.7%20L1351.8%2C2185.3%20L1351.1%2C2197.6%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpolyline%20points%3D%221195.4%2C2104.2%201193.5%2C2102.4%201191.1%2C2099.7%201188.2%2C2096.4%201184.9%2C2092.9%201181.3%2C2089.5%201177.3%2C2086.5%201173.0%2C2084.1%201168.5%2C2082.8%201163.4%2C2082.3%201157.4%2C2082.3%201151.0%2C2082.9%201144.4%2C2083.9%201137.8%2C2085.4%201131.5%2C2087.2%201125.8%2C2089.3%201121.1%2C2091.7%201116.9%2C2094.6%201113.1%2C2098.0%201109.5%2C2101.9%201106.5%2C2106.1%201104.0%2C2110.4%201102.1%2C2114.8%201101.0%2C2119.0%201100.7%2C2123.0%201101.3%2C2126.8%201102.7%2C2130.8%201104.8%2C2134.8%201107.6%2C2138.7%201110.9%2C2142.5%201114.8%2C2146.1%201119.0%2C2149.4%201123.6%2C2152.4%201129.0%2C2154.9%201135.4%2C2156.9%201142.5%2C2158.6%201149.9%2C2160.2%201157.3%2C2161.7%201164.5%2C2163.3%201170.9%2C2165.2%201176.4%2C2167.6%201181.1%2C2170.3%201185.5%2C2173.3%201189.6%2C2176.5%201193.2%2C2179.8%201196.2%2C2183.3%201198.6%2C2186.9%201200.2%2C2190.6%201201.0%2C2194.4%201200.8%2C2198.4%201199.9%2C2202.9%201198.2%2C2207.6%201195.9%2C2212.4%201193.0%2C2217.0%201189.6%2C2221.3%201185.7%2C2225.1%201181.5%2C2228.2%201176.6%2C2230.7%201170.7%2C2232.9%201164.1%2C2234.8%201157.1%2C2236.3%201150.1%2C2237.3%201143.2%2C2237.8%201137.0%2C2237.8%201131.5%2C2237.2%201126.7%2C2235.7%201122.2%2C2233.2%201117.9%2C2229.9%201114.0%2C2226.2%201110.5%2C2222.5%201107.4%2C2219.0%201104.8%2C2216.1%201102.7%2C2214.1%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2226.04%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpolyline%20points%3D%221145.6%2C2054.2%201154.4%2C2265.8%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2222.134%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpath%20d%3D%22M1970.0%2C2022.4%20L1973.4%2C2032.5%20L1975.5%2C2043.0%20L1976.2%2C2053.9%20L1975.7%2C2065.1%20L1973.9%2C2076.4%20L1970.8%2C2087.9%20L1966.4%2C2099.3%20L1960.8%2C2110.7%20L1954.0%2C2121.9%20L1946.1%2C2132.8%20L1937.1%2C2143.5%20L1927.1%2C2153.7%20L1916.2%2C2163.4%20L1904.4%2C2172.5%20L1891.9%2C2181.0%20L1878.7%2C2188.9%20L1864.9%2C2195.9%20L1850.7%2C2202.2%20L1836.1%2C2207.5%20L1821.3%2C2212.0%20L1806.4%2C2215.6%20L1791.5%2C2218.1%20L1776.7%2C2219.7%20L1762.1%2C2220.3%20L1747.8%2C2219.9%20L1733.9%2C2218.6%20L1720.6%2C2216.2%20L1707.9%2C2212.8%20L1696.0%2C2208.5%20L1684.9%2C2203.3%20L1674.7%2C2197.3%20L1665.5%2C2190.4%20L1657.4%2C2182.7%20L1650.4%2C2174.3%20L1644.6%2C2165.3%20L1640.0%2C2155.7%20L1636.6%2C2145.6%20L1634.5%2C2135.1%20L1633.8%2C2124.2%20L1634.3%2C2113.0%20L1636.1%2C2101.7%20L1639.2%2C2090.2%20L1643.6%2C2078.8%20L1649.2%2C2067.4%20L1656.0%2C2056.2%20L1663.9%2C2045.2%20L1672.9%2C2034.6%20L1682.9%2C2024.4%20L1693.8%2C2014.7%20L1705.6%2C2005.6%20L1718.1%2C1997.0%20L1731.3%2C1989.2%20L1745.1%2C1982.2%20L1759.3%2C1975.9%20L1773.9%2C1970.5%20L1788.7%2C1966.1%20L1803.6%2C1962.5%20L1818.5%2C1959.9%20L1833.3%2C1958.3%20L1847.9%2C1957.7%20L1862.2%2C1958.1%20L1876.1%2C1959.5%20L1889.4%2C1961.9%20L1902.1%2C1965.3%20L1914.0%2C1969.5%20L1925.1%2C1974.7%20L1935.3%2C1980.8%20L1944.5%2C1987.7%20L1952.6%2C1995.4%20L1959.6%2C2003.7%20L1965.4%2C2012.8%20Z%22%20fill%3D%22%23E6DCC6%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpath%20d%3D%22M1970.0%2C1983.3%20L1973.4%2C1993.4%20L1975.5%2C2004.0%20L1976.2%2C2014.9%20L1975.7%2C2026.0%20L1973.9%2C2037.4%20L1970.8%2C2048.8%20L1966.4%2C2060.3%20L1960.8%2C2071.6%20L1954.0%2C2082.8%20L1946.1%2C2093.8%20L1937.1%2C2104.4%20L1927.1%2C2114.6%20L1916.2%2C2124.3%20L1904.4%2C2133.5%20L1891.9%2C2142.0%20L1878.7%2C2149.8%20L1864.9%2C2156.9%20L1850.7%2C2163.1%20L1836.1%2C2168.5%20L1821.3%2C2173.0%20L1806.4%2C2176.5%20L1791.5%2C2179.1%20L1776.7%2C2180.7%20L1762.1%2C2181.3%20L1747.8%2C2180.9%20L1733.9%2C2179.5%20L1720.6%2C2177.1%20L1707.9%2C2173.8%20L1696.0%2C2169.5%20L1684.9%2C2164.3%20L1674.7%2C2158.2%20L1665.5%2C2151.3%20L1657.4%2C2143.7%20L1650.4%2C2135.3%20L1644.6%2C2126.3%20L1640.0%2C2116.7%20L1636.6%2C2106.6%20L1634.5%2C2096.0%20L1633.8%2C2085.1%20L1634.3%2C2074.0%20L1636.1%2C2062.6%20L1639.2%2C2051.2%20L1643.6%2C2039.7%20L1649.2%2C2028.4%20L1656.0%2C2017.2%20L1663.9%2C2006.2%20L1672.9%2C1995.6%20L1682.9%2C1985.4%20L1693.8%2C1975.7%20L1705.6%2C1966.5%20L1718.1%2C1958.0%20L1731.3%2C1950.2%20L1745.1%2C1943.1%20L1759.3%2C1936.9%20L1773.9%2C1931.5%20L1788.7%2C1927.0%20L1803.6%2C1923.5%20L1818.5%2C1920.9%20L1833.3%2C1919.3%20L1847.9%2C1918.7%20L1862.2%2C1919.1%20L1876.1%2C1920.5%20L1889.4%2C1922.9%20L1902.1%2C1926.2%20L1914.0%2C1930.5%20L1925.1%2C1935.7%20L1935.3%2C1941.8%20L1944.5%2C1948.7%20L1952.6%2C1956.3%20L1959.6%2C1964.7%20L1965.4%2C1973.7%20Z%22%20fill%3D%22%23FFF8EC%22%20fill-rule%3D%22evenodd%22%2F%3E%20%3Cpolyline%20points%3D%221831.3%2C1993.1%201829.2%2C1991.9%201826.6%2C1990.2%201823.5%2C1988.1%201819.9%2C1985.8%201816.1%2C1983.7%201812.1%2C1982.1%201808.0%2C1981.0%201803.9%2C1980.8%201799.4%2C1981.5%201794.4%2C1982.8%201789.2%2C1984.7%201783.8%2C1987.0%201778.5%2C1989.7%201773.6%2C1992.6%201769.3%2C1995.6%201765.8%2C1998.6%201762.9%2C2001.9%201760.4%2C2005.7%201758.3%2C2009.7%201756.6%2C2013.9%201755.4%2C2018.1%201754.8%2C2022.2%201754.7%2C2026.0%201755.3%2C2029.4%201756.7%2C2032.6%201758.7%2C2035.6%201761.4%2C2038.5%201764.6%2C2041.2%201768.2%2C2043.7%201772.3%2C2045.9%201776.6%2C2047.8%201781.1%2C2049.3%201786.2%2C2050.3%201792.0%2C2050.6%201798.3%2C2050.5%201805.0%2C2050.2%201811.6%2C2049.8%201817.9%2C2049.7%201823.8%2C2049.9%201828.9%2C2050.7%201833.5%2C2052.0%201837.9%2C2053.5%201842.0%2C2055.3%201845.7%2C2057.4%201849.0%2C2059.6%201851.8%2C2062.2%201854.0%2C2064.9%201855.5%2C2068.0%201856.2%2C2071.4%201856.4%2C2075.4%201856.0%2C2079.7%201855.1%2C2084.3%201853.6%2C2088.8%201851.7%2C2093.2%201849.3%2C2097.2%201846.4%2C2100.7%201842.8%2C2103.9%201838.3%2C2107.1%201833.1%2C2110.1%201827.5%2C2112.8%201821.8%2C2115.2%201816.2%2C2117.1%201810.9%2C2118.5%201806.1%2C2119.2%201801.7%2C2119.0%201797.4%2C2117.8%201793.1%2C2116.0%201789.0%2C2113.7%201785.2%2C2111.3%201781.8%2C2109.0%201779.0%2C2107.2%201776.8%2C2105.9%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2222.692%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3Cpolyline%20points%3D%221778.3%2C1961.7%201831.7%2C2138.3%22%20fill%3D%22none%22%20stroke%3D%22%233D2FB8%22%20stroke-width%3D%2219.2882%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%20%3C%2Fsvg%3E") center / contain no-repeat;
}
.head-actions { display: flex; gap: 8px; align-items: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.lang-picker { display: inline-flex; }
.lang-picker select {
  font: inherit; font-weight: 600; color: var(--text); background: transparent;
  border: 1px solid var(--border); border-radius: 10px; padding: 9px 10px; cursor: pointer;
  max-width: 11rem;
}
.lang-picker select:hover { background: var(--surface-2); }
.lang-picker select option { background: var(--surface); color: var(--text); }

/* ---------- buttons ---------- */
.primary-btn, .ghost-btn {
  font: inherit; font-weight: 600; cursor: pointer; border-radius: 10px;
  padding: 10px 16px; border: 1px solid transparent; transition: background .15s, border-color .15s, color .15s;
}
.primary-btn {
  background: var(--brand); color: #fff; border-color: var(--brand);
  text-decoration: none; display: inline-block; text-align: center;
}
.primary-btn:hover { background: var(--brand-strong); border-color: var(--brand-strong); }
html[data-theme="dark"] .primary-btn { color: #1A1530; }
.ghost-btn { background: transparent; color: var(--text); border-color: var(--border); }
.ghost-btn:hover { background: var(--surface-2); }
.icon-btn { padding: 8px 11px; font-size: 1rem; line-height: 1; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand); outline-offset: 2px;
}

/* ---------- hero ---------- */
.hero { padding: 44px 0 24px; }
.kicker {
  display: inline-block; background: var(--brand-soft); color: var(--brand-strong);
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 5px 11px; border-radius: 999px; margin: 0 0 14px;
}
html[data-theme="dark"] .kicker { color: var(--brand-strong); }
.lead { font-size: 1.08rem; color: var(--text-dim); max-width: 62ch; }

/* ---------- tabs ---------- */
.tabs { display: flex; gap: 6px; margin-bottom: 18px; flex-wrap: wrap; }
.tab {
  font: inherit; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
html[data-theme="dark"] .tab.is-active { color: #1A1530; }

/* ---------- cards & forms ---------- */
.panel { padding-bottom: 8px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); margin-bottom: 18px;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 16px; }
@media (max-width: 760px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 9px; padding: 10px 12px; width: 100%;
}
.field textarea { resize: vertical; }
.hint { font-size: .78rem; color: var(--text-dim); font-weight: 400; }
.field-actions { justify-content: flex-end; }
.field-actions .primary-btn { width: 100%; }

fieldset { border: 0; padding: 0; margin: 0 0 20px; }
fieldset legend {
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-dim); padding: 0 0 8px;
}
.invoice-form .field { margin-bottom: 10px; }

/* ---------- comparator results ---------- */
.rate-info { font-size: .85rem; color: var(--text-dim); margin: 0 0 12px; }
.rate-info .pill {
  display: inline-block; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: 1px 9px; font-size: .75rem; margin-left: 6px;
}

.winner {
  background: var(--brand-soft); border: 1px solid var(--brand);
  border-radius: var(--radius); padding: 16px 18px; margin-bottom: 16px;
}
.winner strong { color: var(--brand-strong); }
.winner .winner-line { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.winner .big { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

.results { margin-bottom: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-scroll:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
table.cmp { border-collapse: collapse; width: 100%; min-width: 680px; font-size: .92rem; }
/* En pantallas chicas la tabla se desliza: el aviso (data-hint, fuera del texto de la pagina)
   queda fijo arriba y el nombre del medio queda fijo a la izquierda mientras se desliza. Las
   celdas fijas necesitan fondo opaco: la fila ganadora pinta su tono sobre la superficie. */
@media (max-width: 720px) {
  .table-scroll[data-hint]::before { content: attr(data-hint); display: block; position: sticky; left: 0;
    padding: 6px 12px; font-size: .78rem; color: var(--text-dim); }
  table.cmp { min-width: 0; }
  table.cmp th, table.cmp td { padding: 10px; }
  table.cmp th { white-space: normal; letter-spacing: 0; }
  /* La primera columna angosta: con las notas de cada medio ocupaba 190 de 333 px y dejaba ver
     una sola columna de numeros. A 132 px entran enteras "Recibis" y "Costo total". */
  table.cmp th:first-child, table.cmp td:first-child { position: sticky; left: 0; z-index: 1;
    width: 132px; min-width: 132px; max-width: 132px;
    background: var(--surface); box-shadow: 1px 0 0 var(--border); }
  /* La nota descriptiva de cada medio partia cada fila en 269 px de alto. En el celular queda solo
     su etiqueta de procedencia ("ver tarifas oficiales" / "estimacion propia"); el texto sigue en
     el DOM para lectores de pantalla y entero en pantallas grandes. */
  table.cmp .prov-note { font-size: 0; }
  table.cmp .prov-note .prov-src { font-size: .74rem; }
  table.cmp .prov-blocked { font-size: .72rem; line-height: 1.3; }
  table.cmp th:first-child { background: var(--surface-2); }
  table.cmp tr.best td:first-child { background: linear-gradient(var(--brand-soft), var(--brand-soft)), var(--surface); }
  table.cmp tr.blocked td:first-child { background: var(--surface-2); }
}
table.cmp th, table.cmp td { padding: 12px 14px; text-align: right; border-bottom: 1px solid var(--border); }
table.cmp th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); background: var(--surface-2); }
table.cmp th:first-child, table.cmp td:first-child { text-align: left; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp tr.best td { background: var(--brand-soft); }
table.cmp .net { font-weight: 700; font-variant-numeric: tabular-nums; }
table.cmp .num { font-variant-numeric: tabular-nums; }
.badge {
  display: inline-block; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; padding: 2px 7px; border-radius: 5px; margin-left: 8px;
}
html[data-theme="dark"] .badge { color: #1A1530; }
.prov-name { font-weight: 600; }
.prov-note { display: block; font-size: .78rem; color: var(--text-dim); font-weight: 400; max-width: 42ch; }
.prov-src { font-size: .74rem; white-space: nowrap; }
.prov-src.is-estimate { color: var(--warn); font-style: italic; }

/* Proveedor que no se puede contratar para esa moneda de destino. Se muestra igual, al final de
   la tabla, atenuado pero legible: es informacion util para quien factura desde una sociedad en
   otro pais, y ocultarla seria decidir por el lector. El contraste se mantiene por encima del
   minimo accesible, asi que no se baja de .72 de opacidad ni se usa gris sobre gris. */
table.cmp tr.blocked td { background: var(--surface-2); opacity: .78; }
table.cmp tr.blocked .net { font-weight: 600; }
.badge.is-blocked {
  background: transparent; color: var(--warn); border: 1px solid var(--warn); text-transform: none;
  letter-spacing: 0; font-weight: 600;
}
html[data-theme="dark"] .badge.is-blocked { color: var(--warn); }
.prov-blocked {
  display: block; font-size: .78rem; color: var(--warn); font-weight: 400; max-width: 42ch;
  margin-top: 4px;
}

/* Enlace al proveedor desde su propia fila. Se subraya solo al pasar por encima para que la
   tabla no parezca una lista de enlaces, que es como se leen las paginas de afiliados de baja
   calidad; el color de marca ya avisa de que se puede clicar. */
.prov-link { color: var(--brand); text-decoration: none; font-weight: 600; }
.prov-link:hover, .prov-link:focus-visible { text-decoration: underline; }
/* Ahorro proyectado a un ano. Va dentro del recuadro del ganador, en segunda linea. */
.winner-year { margin: 10px 0 0; font-size: .92rem; font-weight: 600; color: var(--brand-strong); }
.winner-more { margin: 10px 0 0; font-size: .92rem; }
html[data-theme="dark"] .winner-year { color: var(--brand-strong); }
.results .disclosure { margin-top: 10px; }

.verified {
  font-size: .8rem; color: var(--text-dim); margin: 10px 0 0; max-width: 78ch;
  border-left: 3px solid var(--border); padding-left: 12px;
}
/* Cuando los números todavía no se contrastaron contra la fuente, el aviso se marca en ámbar:
   el visitante tiene que poder distinguir de un vistazo un dato verificado de una estimación. */
.verified.is-unverified { border-left-color: var(--warn); color: var(--text); }
.cost-hi { color: var(--bad); }
.cost-mid { color: var(--warn); }
.cost-lo { color: var(--good); }

.note {
  background: var(--surface-2); border-left: 3px solid var(--brand);
  padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: .9rem; margin: 0 0 14px;
}
.disclaimer { font-size: .82rem; color: var(--text-dim); max-width: 78ch; }
.data-error { background: #fef2f2; border-bottom: 1px solid #fecaca; color: #7f1d1d; padding: 14px 0; }
.data-error p { margin: 4px 0 0; font-size: .9rem; }

/* ---------- rate results ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.stat .label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-dim); font-weight: 700; }
.stat .value { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.stat.primary { background: var(--brand-soft); border-color: var(--brand); }
.stat.primary .value { color: var(--brand-strong); }

/* ---------- invoice ---------- */
.invoice-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
@media (max-width: 940px) { .invoice-layout { grid-template-columns: 1fr; } }
.preview-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); margin-bottom: 8px; }
.invoice-preview { position: sticky; top: 78px; }
@media (max-width: 940px) { .invoice-preview { position: static; } }

.items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.item-row { display: grid; grid-template-columns: 1fr 90px 120px auto; gap: 8px; align-items: center; }
@media (max-width: 620px) { .item-row { grid-template-columns: 1fr 1fr; } }
.item-row input {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 9px; padding: 9px 11px; width: 100%;
}
.row-del {
  font: inherit; cursor: pointer; background: transparent; border: 1px solid var(--border);
  color: var(--text-dim); border-radius: 9px; padding: 8px 11px; line-height: 1;
}
.row-del:hover { color: var(--bad); border-color: var(--bad); }
.invoice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.saved-flag { font-size: .8rem; color: var(--good); margin-left: 10px; font-weight: 600; }

.doc {
  background: #fff; color: #111827; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); font-size: .9rem;
}
.doc h4 { margin: 0 0 2px; font-size: 1.5rem; letter-spacing: -.02em; }
.doc .doc-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.doc .doc-meta { text-align: right; font-size: .82rem; color: #4b5563; }
.doc .doc-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 22px; }
.doc .doc-parties h5 {
  margin: 0 0 4px; font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: #6b7280;
}
.doc .party-line { display: block; font-size: .84rem; color: #374151; }
.doc .party-name { font-weight: 700; color: #111827; font-size: .95rem; }
.doc table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: .85rem; }
.doc table th {
  text-align: right; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em;
  color: #6b7280; border-bottom: 1.5px solid #d1d5db; padding: 0 0 7px;
}
.doc table th:first-child, .doc table td:first-child { text-align: left; }
.doc table td { padding: 8px 0; border-bottom: 1px solid #e5e7eb; text-align: right; font-variant-numeric: tabular-nums; }
.doc .doc-totals { margin-left: auto; width: min(280px, 100%); }
.doc .doc-totals div { display: flex; justify-content: space-between; padding: 5px 0; font-variant-numeric: tabular-nums; }
.doc .doc-totals .grand {
  border-top: 1.5px solid #111827; margin-top: 6px; padding-top: 9px; font-weight: 800; font-size: 1.05rem;
}
.doc .doc-foot { margin-top: 22px; font-size: .8rem; color: #4b5563; white-space: pre-wrap; }
.doc .doc-foot strong { display: block; color: #111827; margin-bottom: 2px; }

/* ---------- monetization ---------- */
.partners { padding: 34px 0 6px; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 12px; }
.partner-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px;
}
.partner-card h3 { margin: 0; }
.partner-card p { font-size: .88rem; color: var(--text-dim); margin: 0; flex: 1; }
.partner-card .primary-btn { align-self: flex-start; padding: 8px 14px; font-size: .9rem; }
.disclosure { font-size: .78rem; color: var(--text-dim); max-width: 78ch; }
.ad-slot { min-height: 0; margin: 18px auto; text-align: center; }
.news, .donate { padding: 30px 0; text-align: center; }
.news-form { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.news-form input {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; min-width: 260px;
}

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--border); margin-top: 40px; padding: 26px 0 40px; background: var(--surface); }
.foot-meta { font-size: .78rem; color: var(--text-dim); display: flex; gap: 16px; flex-wrap: wrap; margin: 0; }

/* ---------- corridor pages ---------- */
.article { padding: 30px 0 10px; }
.article p { max-width: 74ch; }
/* Las listas de la metodologia son prosa, no navegacion: se leen mal a lo ancho de la pantalla. */
.article li { max-width: 74ch; margin-bottom: .4em; }
.crumbs { font-size: .8rem; color: var(--text-dim); margin-bottom: 10px; }
.crumbs a { text-decoration: none; }
.corridor-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.corridor-links a {
  font-size: .82rem; text-decoration: none; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 5px 12px; color: var(--text-dim);
}
.corridor-links a:hover { color: var(--brand); border-color: var(--brand); }

/* ---------- print ---------- */
/* En un telefono de 375 px la cabecera medía 440: la marca, el boton de guias, el selector de
   idioma (que muestra nombres largos como "Português (Brasil)") y el de tema no entran juntos, y
   eso hacia que TODAS las paginas del sitio se pudieran desplazar de lado. Un sitio que se mueve
   en horizontal al hacer scroll se siente roto, y la mayoria de este publico entra desde el
   telefono. Se recorta el selector con puntos suspensivos y, mas abajo de 400 px, el nombre de la
   marca cede el sitio al isotipo, que ya identifica igual. */
@media (max-width: 560px) {
  .head-inner { gap: 8px; }
  .lang-picker select { max-width: 8.5rem; text-overflow: ellipsis; padding: 9px 8px; }
  .head-actions { gap: 6px; min-width: 0; }
}
@media (max-width: 400px) {
  .brand-text { display: none; }
  .lang-picker select { max-width: 7rem; }
}

/* Dos impresiones distintas. La de la factura (clase print-invoice, la pone el boton y la saca
   afterprint) deja solo el documento. Cualquier otra imprime la pestaña que se esta viendo,
   sin la navegacion: antes estas reglas valian siempre y el comparador salia como factura vacia. */
@media print {
  body { background: #fff; }
  .site-head, .site-foot, .hero, .tabs, .partners, .ad-slot, .news, .donate, .data-error, .skip,
  .invoice-net { display: none !important; }
  .wrap { max-width: none; padding: 0; }
  body.print-invoice .invoice-form, body.print-invoice .preview-title, body.print-invoice .disclaimer,
  body.print-invoice #panel-compare, body.print-invoice #panel-rate { display: none !important; }
  body.print-invoice #panel-invoice { display: block !important; }
  body.print-invoice #panel-invoice > h2, body.print-invoice #panel-invoice > p.muted { display: none !important; }
  body.print-invoice .invoice-layout { display: block; }
  body.print-invoice .invoice-preview { position: static; }
  body.print-invoice .doc { border: 0; box-shadow: none; border-radius: 0; padding: 0; font-size: 11pt; }
  @page { margin: 18mm; }
}

.invoice-net { margin-top: 16px; }
.invoice-net h3 { margin: 0 0 6px; font-size: 1rem; }
.invoice-net ul { margin: 6px 0; padding-left: 1.2em; }

/* Pagina para clientes (/hire/en/): firma del autor y mensaje para copiar. */
.author-box { display: flex; gap: 14px; align-items: flex-start; margin: 28px 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.author-box img { border-radius: 50%; flex: none; object-fit: cover; }
.author-box p { margin: 0 0 6px; }
.note textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: .92rem; padding: 10px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); color: var(--text); resize: vertical; }

/* Costo de alta de una cuenta (Wise: USD 31 una sola vez): visible en todas las pantallas. */
.prov-setup { display: block; margin-top: 4px; font-size: .78rem; text-align: left; color: var(--warn); }
