@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{color-scheme:dark;--bg:#10121a;--panel:#1a1d27;--line:#2c303d;--text:#f3f4f6;--muted:#a2a6b4;--lime:#c5f36b;--lime-dark:#14190c;--orange:#ff8a52}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 78% 0%,#293023 0%,transparent 34rem),var(--bg);color:var(--text);font:15px/1.5 'DM Sans',system-ui,sans-serif;min-height:100vh}
.shell{width:min(100% - 32px,560px);margin:auto;padding:24px 0 22px}
.brand{display:flex;align-items:center;gap:10px;font:700 13px 'Space Grotesk',sans-serif;letter-spacing:2px;color:var(--lime)}
.brand-logo{display:block;width:36px;height:36px;object-fit:contain;border-radius:10px;flex:0 0 auto}
.badge,.step{margin-left:auto;border:1px solid #3b4031;border-radius:99px;padding:4px 9px;color:#d6eca7;font:700 9px 'DM Sans',sans-serif;letter-spacing:1.2px}
.hero{padding:40px 0 22px}
.eyebrow{font:700 10px 'DM Sans',sans-serif;letter-spacing:1.7px;color:var(--lime);margin:0 0 9px}
.hero h1{font:700 clamp(38px,10vw,55px)/1.04 'Space Grotesk',sans-serif;letter-spacing:-2.5px;margin:0}
.hero h1 span{color:var(--lime)}
.sub{color:var(--muted);margin:14px 0 0;font-size:14px}
.panel{background:linear-gradient(145deg,#1c1f2a,#171a23);border:1px solid #2b2e39;border-radius:22px;padding:20px;margin:12px 0 15px;box-shadow:0 16px 48px #0002}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.section-head .eyebrow{margin-bottom:4px;color:#b3d86e}
.section-head h2{font:600 21px 'Space Grotesk',sans-serif;margin:0;letter-spacing:-.4px}
.step{margin:0;border-color:#343746;color:#aab0c1}
label,.label{display:block;font-size:12px;font-weight:700;color:#dfe0e6;margin:15px 0 7px}
.optional{color:#8d92a0;font-weight:400;margin-left:4px}
input{width:100%;height:49px;border:1px solid #393d4b;background:#12141b;color:white;border-radius:12px;padding:0 14px;font:500 14px 'DM Sans',sans-serif;outline:none}
input:focus{border-color:var(--lime);box-shadow:0 0 0 3px #c5f36b20}
input::placeholder{color:#717685}
.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.choice{min-height:61px;border:1px solid #353947;border-radius:12px;background:#171922;color:#f3f4f6;text-align:left;padding:10px 11px;cursor:pointer;font:600 12px 'DM Sans',sans-serif}
.choice strong,.choice small{display:block}
.choice small{color:#969baa;font-size:10px;font-weight:400;margin-top:3px}
.choice.active{border-color:#91ae54;background:#262e1c;box-shadow:inset 0 0 0 1px #c5f36b27}
.primary,.secondary{display:flex;align-items:center;justify-content:space-between;width:100%;height:54px;border:0;border-radius:14px;padding:0 17px;font:700 14px 'DM Sans',sans-serif;cursor:pointer}
.primary{margin-top:17px;background:var(--lime);color:var(--lime-dark);box-shadow:0 8px 24px #c5f36b21}
.primary:active,.secondary:active{transform:scale(.99)}
.primary span:last-child{font-size:20px}
.result{border-color:#465232}
.result[hidden]{display:none}
.spark{color:var(--lime);font-size:22px}
.device-name{font-size:12px;color:var(--muted);margin:-7px 0 13px}
.values{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.value{background:#12141b;border:1px solid #292d38;border-radius:13px;padding:12px}
.value span{display:block;color:#a2a6b4;font-size:11px}
.value b{display:block;font:700 25px 'Space Grotesk',sans-serif;color:var(--lime);margin-top:3px}
.secondary{justify-content:center;background:#303442;color:#f5f5f7;margin-top:14px}
.toast{height:15px;text-align:center;color:var(--lime);font-size:11px;margin:7px 0 0}
.note{display:flex;gap:12px;padding:15px;border-radius:15px;background:#22251b;border:1px solid #353a28;color:#d9ddcf}
.note-icon{flex:0 0 21px;display:grid;place-items:center;height:21px;border:1px solid #91aa5b;border-radius:50%;color:var(--lime);font-size:12px;font-weight:800}
.note strong{font-size:12px;color:#e7efcf}
.note p{font-size:11px;line-height:1.55;color:#b7bcac;margin:5px 0 0}
footer{display:flex;justify-content:space-between;gap:12px;color:#727784;font-size:10px;padding:18px 2px 0}
@media(min-width:500px){.shell{padding-top:30px}.hero{padding-top:48px}.panel{padding:23px}.choice{padding-left:14px}}
@media(prefers-reduced-motion:no-preference){.panel{animation:rise .38s ease-out both}@keyframes rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}

.logo-download{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:13px;padding:0 14px;border:1px solid #56643d;border-radius:12px;color:#d9f4a4;background:#1b2115;text-decoration:none;font-size:12px;font-weight:700;transition:background .15s ease,border-color .15s ease}.logo-download:hover,.logo-download:focus-visible{background:#27351a;border-color:var(--lime);outline:2px solid transparent}

.about{padding:18px 2px 4px;color:#b9bdc8}.about h2{font:600 17px 'Space Grotesk',sans-serif;letter-spacing:-.2px;color:#edf0f5;margin:0 0 6px}.about p{font-size:12px;line-height:1.65;color:#a2a6b4;margin:0 0 8px}.about strong{color:#e6e9ef}

.field-hint{margin:-1px 1px 0;color:#959aaa;font-size:11px;line-height:1.5}.profile-list{display:grid;gap:12px}.profile-card{padding:17px;border:1px solid #343947;border-radius:17px;background:linear-gradient(145deg,#171a23,#13151d)}.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.profile-heading .eyebrow{margin:0 0 3px}.profile-heading h3{margin:0;font:600 19px 'Space Grotesk',sans-serif;letter-spacing:-.3px}.profile-tag{flex:0 0 auto;border:1px solid #414734;border-radius:99px;padding:4px 8px;color:#d5e9a7;font-size:9px;font-weight:700;letter-spacing:1px}.profile-copy{margin:8px 0 12px;color:#aeb3c0;font-size:11px;line-height:1.55}.profile-empty{margin:10px 0 0;padding:12px;border:1px dashed #424655;border-radius:12px;color:#c1c5cf;background:#12141b;font-size:11px;line-height:1.5}.profile-results[hidden]{display:none}.button-size{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:12px;border:1px solid #3a4030;border-radius:12px;background:#1c2117;color:#d7ddcd;font-size:11px}.button-size small{display:block;color:#92998a;font-size:10px}.button-size b{flex:0 0 auto;color:var(--lime);font:700 20px 'Space Grotesk',sans-serif}.profile-card .secondary{font-size:12px}.profile-card .secondary:disabled{opacity:.45;cursor:not-allowed}.profile-card .secondary:disabled:active{transform:none}

.choices{grid-template-columns:repeat(2,minmax(0,1fr))}.choice{min-width:0}.choice-headshot{grid-column:1/-1;border-color:#596b34;background:linear-gradient(110deg,#282f1f,#1a1d25)}.choice-headshot.active{border-color:var(--lime);background:#2a351d}.calibration[hidden]{display:none}.calibration-copy{margin:-6px 0 4px;color:#b7bbca;font-size:12px;line-height:1.6}.calibration select{width:100%;min-height:49px;border:1px solid #393d4b;background:#12141b;color:#f3f4f6;border-radius:12px;padding:0 12px;font:500 13px 'DM Sans',sans-serif}.calibration select:focus{outline:none;border-color:var(--lime);box-shadow:0 0 0 3px #c5f36b20}.calibration-button{background:var(--lime);color:var(--lime-dark)}.text-button{display:block;width:100%;min-height:42px;margin-top:6px;border:0;background:transparent;color:#bbc0cd;font:600 11px 'DM Sans',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.adjustment-message{min-height:32px;margin:8px 0 0;color:#c6d4a8;font-size:11px;line-height:1.5}.note strong{display:block}.note p{line-height:1.6}

.profile-list{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px}.profile-card{min-width:0}.profile-heading{gap:6px}.profile-heading h3{font-size:clamp(15px,4.5vw,19px)}.profile-tag{font-size:8px;letter-spacing:.6px;padding:3px 6px}.profile-copy{font-size:10px}.profile-card .values{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.profile-card .value{min-width:0;padding:9px 6px}.profile-card .value span{font-size:9px;line-height:1.25;overflow-wrap:anywhere}.profile-card .value b{font-size:21px}.profile-card .button-size{gap:5px;padding:9px;font-size:9px}.profile-card .button-size b{font-size:17px}.profile-card .secondary{min-height:46px;height:auto;padding:7px 5px;font-size:10px;line-height:1.25}@media(max-width:390px){.shell{width:min(100% - 20px,560px)}.panel{padding:13px}.profile-list{gap:7px}.profile-card{padding:8px}.profile-heading{align-items:flex-start;gap:3px}.profile-heading h3{font-size:14px}.profile-tag{font-size:7px;letter-spacing:.2px;padding:3px 4px}.profile-copy{font-size:9px;line-height:1.4}.profile-card .values{gap:4px}.profile-card .value{padding:7px 4px}.profile-card .value span{font-size:8px}.profile-card .value b{font-size:18px}.profile-card .button-size{padding:7px 5px;font-size:8px}.profile-card .button-size b{font-size:15px}.profile-card .secondary{font-size:8px}}

.dpi-direction{margin:8px 0 0;padding:9px;border:1px solid #3d4b2d;border-radius:10px;background:#20271a;color:#dbe8c0;font-size:9px;line-height:1.45;overflow-wrap:anywhere}


/* Revisión local y orientativa de pantalla/táctil */
.scan-intro{margin:-7px 0 4px;color:#b7bbca;font-size:12px;line-height:1.6}.scan-workspace{display:grid;gap:13px;margin-top:14px}.scan-workspace[hidden],.scan-summary[hidden],.missed-touch-confirm[hidden]{display:none}.scan-caveat{padding:12px;border:1px solid #465232;border-radius:13px;background:#20271a;color:#e0e8d0}.scan-caveat strong{font-size:11px;color:#dff4b2}.scan-caveat p{margin:4px 0 0;color:#b9c2a9;font-size:10px;line-height:1.55}.device-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.device-spec{min-width:0;padding:10px;border:1px solid #303442;border-radius:11px;background:#12141b}.device-spec span,.device-spec strong{display:block;overflow-wrap:anywhere}.device-spec span{color:#9fa4b2;font-size:9px;line-height:1.3}.device-spec strong{margin-top:4px;color:#e7e9ef;font-size:10px;line-height:1.4;font-weight:600}.scan-step{padding:14px;border:1px solid #303442;border-radius:15px;background:#151720}.scan-step h3{margin:-5px 0 5px;font:600 17px 'Space Grotesk',sans-serif;letter-spacing:-.2px}.scan-step>p:not(.eyebrow){margin:0 0 10px;color:#afb4c2;font-size:10px;line-height:1.55}.screen-color-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.screen-color{min-height:38px;padding:4px 2px;border:1px solid #3a3e4c;border-radius:9px;background:#20232d;color:#f0f1f4;font:600 9px 'DM Sans',sans-serif;cursor:pointer}.screen-color[aria-pressed="true"]{border-color:var(--lime);box-shadow:0 0 0 2px #c5f36b28}.screen-color-swatch{min-height:138px;margin-top:8px;border:1px solid #3b3f4d;border-radius:11px;background:#151821;transition:background-color .12s ease}.scan-progress{margin:6px 0;color:#c7d5aa;font-size:10px;line-height:1.45}.scan-step label{margin:12px 0 6px}.scan-step select{width:100%;min-height:44px;border:1px solid #393d4b;border-radius:10px;background:#12141b;color:#f3f4f6;padding:0 10px;font:500 11px 'DM Sans',sans-serif}.scan-step select:focus{outline:none;border-color:var(--lime);box-shadow:0 0 0 3px #c5f36b20}.touch-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:9px}.touch-cell{min-width:0;min-height:48px;border:1px solid #393d4b;border-radius:9px;background:#11131a;color:#aeb3c1;font:700 13px 'Space Grotesk',sans-serif;cursor:pointer;touch-action:manipulation}.touch-cell:active{transform:scale(.97)}.touch-cell.is-touched{border-color:#9cbd5c;background:#29361c;color:#dfff9e}.touch-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px}.touch-controls .scan-progress{margin:0}.touch-reset{width:auto;min-height:34px;margin:0;padding:0 6px;color:#c6ccda;font-size:10px}.missed-touch-confirm{display:flex;align-items:flex-start;gap:8px;margin:8px 0 0;padding:10px;border:1px solid #5b4932;border-radius:10px;background:#2b241c;color:#e7d8c4;font-size:10px;line-height:1.5}.missed-touch-confirm input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:var(--lime)}.scan-finish{margin:0}.scan-finish:disabled{opacity:.42;cursor:not-allowed;box-shadow:none}.scan-summary{padding:13px;border:1px solid #3b4655;border-radius:12px;background:#1a2029;color:#d9e4f3;font-size:11px;line-height:1.6}.scan-summary.success{border-color:#475333;background:#20271a;color:#dce9c4}.scan-summary.warning{border-color:#67483a;background:#2b211c;color:#f0d5c2}.scan-summary.neutral{border-color:#47435a;background:#211f2b;color:#e0dced}.scan-workspace>.field-hint{margin:-7px 2px 0}
@media(max-width:390px){.scan-step{padding:11px}.device-spec{padding:8px}.device-spec strong{font-size:9px}.screen-color{font-size:8px}.touch-cell{min-height:44px}.screen-color-swatch{min-height:120px}}
