/* Shared responsive presentation. Calculator algorithms remain in their original files. */
[hidden]{display:none!important}
@media screen{
:root{--ink:#102b46;--blue:#1569d4;--mint:#0b9379;--line:#dce5f0}
html{scroll-padding-top:24px}body{margin:0;background:radial-gradient(ellipse at 90% 0,#deedf9,transparent 48%),#f3f6fb;color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}
*,*::before,*::after{box-sizing:border-box}main{max-width:1180px;margin:auto;padding:24px}body>header,.gdc-unified-header{max-width:1220px!important;margin:auto!important;padding:22px 24px!important;background:transparent!important;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;border:0!important;box-shadow:none!important}
.brand,.gdc-unified-header .brand{font-size:clamp(21px,3.3vw,32px)!important;font-weight:850;text-decoration:none;color:var(--ink);letter-spacing:-1.2px}.brand span{color:#df153c}.app-badge{font-size:10px;letter-spacing:1.5px;font-weight:800;color:#527087}body>header>nav,.gdc-unified-header>nav{display:none!important}
nav.portal-switcher{max-width:1180px!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 auto 16px!important;padding:0 24px!important;background:transparent!important;border:0!important;box-shadow:none!important;position:static!important}
nav.portal-switcher a{display:flex;align-items:center;gap:12px;padding:16px!important;min-width:0;border-radius:18px!important;background:white;border:1px solid #dae5f0;text-decoration:none;box-shadow:0 6px 22px #1f476508!important;transition:transform .18s,border-color .18s}
nav.portal-switcher a:hover{transform:translateY(-3px);border-color:#81b2e8}nav.portal-switcher a[aria-current]{background:#102b46!important;color:white!important;border-color:#102b46!important}nav.portal-switcher a[aria-current] small{color:#c7deef!important}nav.portal-switcher .pi{width:42px;height:42px;display:grid;place-items:center;background:#edf5ff;border-radius:13px;font-size:24px}nav.portal-switcher b{font-size:14px}nav.portal-switcher small{display:block;font-size:11px}nav.portal-switcher .arrow{display:none}
.portal-canjes-hero{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(115deg,#102b46,#145985)!important;border-radius:28px!important;padding:clamp(26px,5vw,54px)!important;color:white;margin-bottom:24px;box-shadow:0 18px 36px #102b4617}.portal-canjes-hero:after{content:'';position:absolute;z-index:-1;right:-65px;top:-110px;width:360px;height:360px;border:65px solid #ffffff09;border-radius:50%}.portal-canjes-hero h1{font-size:clamp(29px,4.6vw,52px)!important;line-height:1.1!important;letter-spacing:-1.8px;margin:16px 0;color:white!important}.portal-canjes-hero p{max-width:670px;color:#dbeaf5;font-size:17px!important}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#98d6ec}.portal-canjes-facts span{background:#ffffff12!important;color:#e8f7ff!important;font-size:12px!important}
.plates-page section,.gdc-canje-page form>section{background:white;border:1px solid var(--line);border-radius:22px;padding:28px;margin:22px 0;box-shadow:0 10px 30px #102b4605}h2{letter-spacing:-.5px}.plates-page h2,.gdc-canje-page h2{font-size:23px!important;margin:0 0 22px}.step-icon{border-radius:12px!important;background:#e9f3ff!important}
.plates-page .grid,.gdc-canje-page .grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 24px}.plates-page label,.gdc-canje-page label{display:block;font-weight:650;font-size:14px!important;min-width:0}.plates-page input,.plates-page select,.plates-page textarea,.gdc-canje-page input,.gdc-canje-page select,.gdc-canje-page textarea{width:100%;max-width:100%;min-width:0;padding:13px 14px;border:1px solid #cad8e6;border-radius:12px;background:#f8fafc;color:var(--ink);font:16px system-ui;min-height:49px;margin-top:8px;box-shadow:none;outline-offset:3px}.plates-page textarea,.gdc-canje-page textarea{min-height:110px}.plates-page label:has(textarea),.gdc-canje-page label:has(textarea){margin-top:20px}input:focus,select:focus,textarea:focus{outline:2px solid #2376d3!important;border-color:transparent!important}label{overflow-wrap:break-word}input,select,textarea{max-width:100%;min-width:0}select option{font-size:16px}button,a{touch-action:manipulation}
.plates-page button,.gdc-canje-page button{background:#1263c3;color:white;border:0;border-radius:12px;padding:14px 20px;font:700 15px system-ui;min-height:48px;cursor:pointer;white-space:normal}.actions{display:flex;flex-wrap:wrap;gap:12px}.actions>*{flex:1 1 150px}.hint{font-size:13px!important;color:#60738a}.info-panel{padding:18px 20px;background:#eef6ff;border:1px solid #d1e4f9;border-radius:16px;margin:20px 0}.info-panel p{margin-bottom:0}.check{display:flex!important;align-items:flex-start;gap:12px;margin:20px 0;font-weight:400!important}.check input{width:21px!important;height:21px!important;min-height:21px!important;flex:0 0 21px;margin:0!important;accent-color:#1569d4}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:14px/1.6 system-ui}
.plate-art{display:flex;gap:15px;flex-wrap:wrap;margin-top:28px}.plate-art span,.plate-chip{display:inline-block;border:3px solid currentColor;border-radius:7px;padding:8px 18px;font:bold 21px ui-monospace,monospace;letter-spacing:2px;background:#d9ffed;color:#08714e;box-shadow:0 5px 0 #0002}.plate-art span:last-child,.plate-chip.red{background:#ffeaee;color:#c52342}.plate-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:24px}.plate-choices label{position:relative;border:2px solid #e0e8f0;border-radius:18px;padding:22px;cursor:pointer;background:#fafcfe}.plate-choices label:has(:checked){border-color:#1169ce;background:#eef6ff}.plate-choices input{width:20px!important;min-height:20px!important;position:absolute;right:15px;top:8px;accent-color:#1569d4}.plate-choices b,.plate-choices small{display:block;margin-top:14px}.plate-choices small{color:#61738a;font-weight:400}.plate-chip{font-size:17px;padding:6px 12px}.mobile-dock{display:none!important}.portal-progress{position:static!important;border-radius:18px!important;box-shadow:none!important;background:white!important}.portal-step-buttons button{background:#edf4fb!important;color:#16588e!important}.portal-progress-top{font-size:13px}
@media(max-width:850px){nav.portal-switcher{grid-template-columns:repeat(2,minmax(0,1fr))!important}.grid4,.grid3{grid-template-columns:repeat(2,minmax(0,1fr))!important}.app-badge{display:none}}
@media(max-width:600px){body{padding-bottom:88px!important}main{padding:14px!important}.gdc-unified-header,body>header{padding:18px 16px!important}.brand{letter-spacing:-.9px!important}nav.portal-switcher{padding:0 14px!important;gap:8px!important}nav.portal-switcher a{padding:10px!important;gap:8px!important;border-radius:14px!important}nav.portal-switcher .pi{width:32px;height:32px;font-size:19px}nav.portal-switcher b{font-size:12px}nav.portal-switcher small{display:none}.portal-canjes-hero{border-radius:22px!important;padding:25px!important}.portal-canjes-hero p{font-size:15px!important}.plates-page section,.gdc-canje-page form>section{padding:20px!important;border-radius:19px}.plates-page .grid,.gdc-canje-page .grid,.grid4,.grid3,.grid2,.solicitudHero{grid-template-columns:minmax(0,1fr)!important}.plate-choices{grid-template-columns:minmax(0,1fr)}.plates-page h2,.gdc-canje-page h2{font-size:20px!important}.portal-step-buttons{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:6px!important}.portal-step-buttons button{padding:10px 5px!important;font-size:12px!important;min-width:0!important}.portal-canjes-facts{gap:6px!important}.portal-canjes-facts span{font-size:11px!important}.mobile-dock{position:fixed!important;bottom:0;left:0;right:0;z-index:1000;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));background:#ffffffed!important;backdrop-filter:blur(18px);padding:9px 4px calc(9px + env(safe-area-inset-bottom))!important;border-top:1px solid #d9e5f1;box-shadow:0 -5px 25px #183b5c0b;gap:2px!important}.mobile-dock a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none;color:#5f7185;font-size:10px;min-height:44px;border-radius:10px;min-width:0}.mobile-dock a span{font-size:20px}.mobile-dock a[aria-current]{color:#0860bd;background:#eaf3ff;font-weight:800}.portal-footnav{margin-bottom:20px!important}input,select,textarea{font-size:16px!important}.fieldRequired label::after{font-size:9px!important;letter-spacing:0!important}.contactOneLine,.contactStrip{max-width:100%!important}.contactOneLine a{overflow-wrap:anywhere;white-space:normal!important}.budgetActions{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
}
@media print{.mobile-dock{display:none!important}}

@media screen{.central>.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.central .card{border:1px solid #d6e2ef!important;background:linear-gradient(135deg,#fff,#f1f7fe)!important;border-radius:22px!important}.central .card:nth-child(2){background:linear-gradient(135deg,#fff,#eaf8f4)!important}.central .card:nth-child(3){background:linear-gradient(135deg,#fff,#f3efff)!important}.central .card:nth-child(4){background:linear-gradient(135deg,#fff,#fff3e7)!important}.central .card:before{background:#0c69cf08!important}.central .card h2{font-size:22px!important;color:#102b46}.central .card p{font-size:15px!important}.central .card-foot{font-size:14px!important;color:#1263c3!important}.central .card:hover{border-color:#5299e1!important}.central .ic{width:60px;height:60px;display:grid;place-items:center;background:white;border:1px solid #e0e8f0;border-radius:18px}.central .card-foot span:last-child{background:#1263c3;color:white;border-radius:50%;width:30px;height:30px;display:grid;place-items:center}}@media screen and (max-width:600px){.central>.grid{grid-template-columns:1fr!important;padding:16px!important;gap:14px!important}.central .card{min-height:210px!important;padding:22px!important}.hero h1{font-size:34px!important}.hero{margin:10px 14px!important;padding:24px!important}.hero-p{font-size:16px!important}.mini{grid-template-columns:1fr!important}}
/* R4: mobile sizing fixes verified against actual layout widths. */
@media screen{
.portal-switcher a>span:not(.pi){min-width:0;overflow-wrap:anywhere}
.mobile-table{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border:1px solid #dce5f0;border-radius:12px;margin:12px 0}
.mobile-table:focus-visible{outline:2px solid #1263c3;outline-offset:3px}.mobile-table table{margin:0!important}.mobile-table-hint{font:12px/1.5 system-ui;color:#54697c}
@media(max-width:600px){
.container,.wrap,.heroGrid,.heroText,.section,.card,.cols,.cols3,.cols4,.costTopOnly,.solicitudHero,.solicitudMiniForm,.ivtmNumbers{min-width:0!important;max-width:100%!important}
.originGrid{grid-template-columns:minmax(0,1fr)!important}.originCard{min-width:0!important;width:100%!important}
.heroButtons,.contactStrip,.contactOneLine,.solicitudActions{min-width:0!important;max-width:100%!important;flex-wrap:wrap!important}
.contactPill{max-width:100%!important;min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}.contactPill>*{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
.heroText h1,.heroText p,.sectionTitle{overflow-wrap:anywhere!important}
nav.portal-switcher a{gap:6px!important}nav.portal-switcher b{font-size:11px!important;line-height:1.3!important}nav.portal-switcher .pi{flex:0 0 28px!important;width:28px!important;height:28px!important}
.gdc-send-dialog{width:calc(100% - 24px)!important;padding:22px!important;max-width:550px!important}.gdc-send-dialog input{min-width:0!important}.gdc-send-dialog p{overflow-wrap:anywhere!important}
input[type=date]{width:100%!important;min-width:0!important;max-width:100%!important}
}
}
/* R5: controles fluidos y navegación táctil */
html{scroll-padding-bottom:100px}*{box-sizing:border-box}.draft-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin:16px auto;padding:12px 16px;max-width:1132px;background:#eaf4f8;border:1px solid #cbdfea;border-radius:14px;font:13px/1.5 system-ui;color:#153950}.draft-bar button{padding:10px 14px;border:1px solid #cbdfea;border-radius:10px;background:#fff;color:#153950;min-height:44px;cursor:pointer}.price-panel{background:linear-gradient(120deg,#102b46,#126697);color:white;border-radius:24px;padding:28px}.price-panel h2{font-size:42px;margin:10px 0}
@media(max-width:700px){.engGrid,.originCards{grid-template-columns:minmax(0,1fr)!important}.engCard,.engCard>*{min-width:0!important;max-width:100%!important}.engCard{width:100%!important}main a,.solicitudContact,a{overflow-wrap:anywhere}label{min-width:0!important;max-width:100%;white-space:normal!important}.grid,.row,.grid2,.grid3,.grid4{min-width:0;max-width:100%}button{white-space:normal;overflow-wrap:anywhere;min-height:44px}input,select,textarea{font-size:16px!important;max-width:100%;min-width:0!important}body{padding-bottom:95px}.gdc-send-dialog{box-sizing:border-box;max-width:calc(100vw - 24px)!important;padding:20px!important}.gdc-send-dialog input{box-sizing:border-box}table{max-width:100%}pre{white-space:pre-wrap;overflow-wrap:anywhere}}
@media(max-width:700px){.engFooter{min-width:0;max-width:100%;flex-wrap:wrap}.engFooter a{display:block;white-space:normal!important;min-width:0!important;max-width:100%;width:100%;overflow-wrap:anywhere}.opt-grid,.opt-grid.g2{grid-template-columns:minmax(0,1fr)!important}.vopt{min-width:0!important;width:100%!important}}
