:root{--bg: #0b0e13;--surface: #141a23;--surface-2: #1c2430;--border: rgba(255, 255, 255, .08);--text: #f2f5f9;--muted: #8b94a3;--accent: #b9f04d;--accent-soft: rgba(185, 240, 77, .12);--on-accent: #10150a;--verde: #4ade80;--rojo: #f87171;--naranja: #fb923c;--amarillo-fatiga: #fde047;--radius: 18px;--radius-sm: 12px;--shadow: 0 8px 24px rgba(0, 0, 0, .35)}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;overflow:hidden;overscroll-behavior:none}html{background-color:#0f131a}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased;touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}.app{position:fixed;top:0;left:0;right:0;height:var(--app-h, 100dvh);max-width:520px;margin:0 auto;background:radial-gradient(1200px 500px at 50% -200px,rgba(185,240,77,.07),transparent 60%),var(--bg);display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top,0px)}.offline-bar{flex:0 0 auto;background:#fb923c29;border-bottom:1px solid rgba(251,146,60,.4);color:var(--naranja);font-size:.78rem;font-weight:600;text-align:center;padding:7px 12px}.error-bar{flex:0 0 auto;width:100%;border:0;background:#ef44442e;border-bottom:1px solid rgba(239,68,68,.5);color:#fca5a5;font:inherit;font-size:.78rem;font-weight:600;text-align:center;padding:7px 12px;cursor:pointer}.app-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain;padding-bottom:16px;scroll-padding-bottom:96px}.screen-center{min-height:100%;display:flex;align-items:center;justify-content:center;color:var(--muted)}.page{padding:28px 20px}.page h1{font-size:1.65rem;font-weight:800;letter-spacing:-.02em;margin-bottom:14px}.page .subtitle{color:var(--muted);font-size:.92rem;line-height:1.5;margin-bottom:18px}.login{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:32px;background:radial-gradient(900px 480px at 50% -120px,rgba(185,240,77,.12),transparent 60%),var(--bg)}.login .logo{font-size:2.4rem;font-weight:900;letter-spacing:-.03em}.login .logo span{color:var(--accent)}.login .tagline{color:var(--muted);margin-bottom:36px}.google-btn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;max-width:320px;padding:14px 16px;border:none;border-radius:28px;background:#fff;font-family:inherit;font-size:1rem;font-weight:600;color:#1f1f1f;cursor:pointer;transition:transform .15s,box-shadow .15s;box-shadow:0 4px 18px #0006}.google-btn:hover{transform:translateY(-1px);box-shadow:0 8px 26px #00000080}.login .error{color:var(--rojo);font-size:.9rem;text-align:center;max-width:320px}.guest-btn{background:none;border:1px solid var(--border);border-radius:24px;padding:12px 20px;width:100%;max-width:320px;color:var(--muted);font-family:inherit;font-size:.95rem;font-weight:600;cursor:pointer}.routine-card{background:var(--surface);border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:var(--radius);padding:16px 18px;margin-bottom:12px;position:relative;cursor:pointer;transition:transform .15s,background .15s}.routine-card:hover{background:var(--surface-2);transform:translateY(-1px)}.routine-card h3{font-size:1.08rem;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}.routine-card .muscles{font-size:.9rem;color:var(--muted)}.routine-card .time{font-size:.82rem;color:var(--accent);font-weight:600;margin-top:6px}.routine-card.menu-open{z-index:20}.routine-card .menu-btn{position:absolute;top:14px;right:14px;background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:4px 12px;font-weight:700;color:var(--muted);cursor:pointer;letter-spacing:2px}.routine-card .menu{position:absolute;top:48px;right:14px;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--radius-sm);box-shadow:var(--shadow);z-index:10;overflow:hidden}.routine-card .menu button{display:block;width:100%;padding:11px 20px;border:none;background:none;text-align:left;font-family:inherit;font-size:.95rem;color:var(--text);cursor:pointer}.routine-card .menu button:hover{background:#ffffff0f}.routine-card .menu button.danger{color:var(--rojo)}.create-routine-btn{width:100%;background:var(--accent);border:none;border-radius:var(--radius);padding:18px;font-family:inherit;font-size:1.05rem;font-weight:800;color:var(--on-accent);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:4px;margin-top:8px;box-shadow:0 6px 24px #b9f04d40;transition:transform .15s,box-shadow .15s}.create-routine-btn:hover{transform:translateY(-1px);box-shadow:0 10px 32px #b9f04d59}.create-routine-btn .plus{font-size:1.4rem;line-height:1}.empty-state{text-align:center;color:var(--muted);padding:36px 16px;line-height:1.6}.muscle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:24px}.muscle-tile{border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer;padding:14px 6px;display:flex;flex-direction:column;align-items:center;gap:8px;font-family:inherit;font-size:.9rem;font-weight:600;color:var(--text);transition:all .15s}.muscle-tile:last-child:nth-child(3n+1){grid-column:1 / -1}.muscle-tile:hover{background:var(--surface-2)}.muscle-tile .icon{display:flex;align-items:center;justify-content:center;color:#cfd6e0}.muscle-tile.selected .icon{color:var(--accent)}.muscle-status-list .muscle-label{display:flex;align-items:center;gap:8px;color:#cfd6e0;min-width:110px}.muscle-tile.selected{background:var(--accent-soft);border-color:var(--accent);color:var(--accent);box-shadow:inset 0 0 0 1px var(--accent)}.field{margin-bottom:18px}.field label{display:block;font-weight:600;font-size:.88rem;color:var(--muted);margin-bottom:8px}.field input{width:100%;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-family:inherit;font-size:1rem;outline:none;transition:border-color .15s}.field input:focus{border-color:var(--accent)}.field input::placeholder{color:#5b6470}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary-btn{width:100%;background:var(--accent);border:none;border-radius:var(--radius);padding:16px;font-family:inherit;font-size:1.02rem;font-weight:800;color:var(--on-accent);cursor:pointer;box-shadow:0 6px 24px #b9f04d38;transition:transform .15s}.primary-btn:hover:not(:disabled){transform:translateY(-1px)}.primary-btn:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}.secondary-btn{width:100%;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;font-family:inherit;font-size:1rem;color:var(--text);cursor:pointer;margin-top:10px}.progress-bar{height:10px;background:var(--surface-2);border-radius:5px;overflow:hidden;margin:14px 0 10px}.progress-bar .fill{height:100%;background:linear-gradient(90deg,var(--accent),var(--verde));border-radius:5px;transition:width .35s ease}.exercise-item{display:flex;align-items:flex-start;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px 16px;margin-bottom:10px;cursor:pointer;transition:background .15s,opacity .2s}.exercise-item .exercise-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:12px}.exercise-item .exercise-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.exercise-item:hover{background:var(--surface-2)}.exercise-item.done{opacity:.45;cursor:default}.exercise-item.done .name{text-decoration:line-through}.exercise-item .set-counter{width:48px;height:48px;min-width:48px;border:1.5px solid var(--border);border-radius:14px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:.95rem;color:var(--accent)}.exercise-item.done .set-counter{background:var(--verde);border-color:var(--verde);color:var(--on-accent);font-size:1.2rem}.exercise-item .exercise-info{flex:1}.exercise-item .name{font-weight:700;font-size:.98rem;letter-spacing:-.01em}.exercise-item .detail{font-size:.8rem;color:var(--muted);margin-top:2px}.exercise-item .set-dots{display:flex;gap:6px;margin-top:8px}.exercise-item .dot{width:11px;height:11px;border-radius:50%;border:1.5px solid #3a4452;background:transparent;transition:all .15s}.exercise-item .dot.filled{background:var(--accent);border-color:var(--accent);box-shadow:0 0 8px #b9f04d80}.exercise-item .undo-set{border:1px solid var(--border);background:var(--surface-2);border-radius:8px;width:26px;height:24px;min-width:26px;font-size:1rem;font-weight:700;line-height:1;cursor:pointer;color:var(--muted);margin-left:2px}.exercise-item .set-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.exercise-item .chip{min-width:26px;height:24px;padding:0 8px;border-radius:7px;border:1.5px dashed #3a4452;display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;font-variant-numeric:tabular-nums;color:var(--muted);white-space:nowrap}.exercise-item .chip.filled{border-style:solid;border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.log-set-btn{border:1px solid var(--accent);background:var(--accent-soft);color:var(--accent);border-radius:12px;padding:9px 14px;font-family:inherit;font-size:.86rem;font-weight:800;cursor:pointer;white-space:nowrap;-webkit-tap-highlight-color:transparent}.log-set-btn:active:not(:disabled){background:var(--accent);color:var(--on-accent)}.log-set-btn:disabled{opacity:.35;cursor:not-allowed}.exercise-item.current{border-color:#b9f04d80;box-shadow:inset 3px 0 0 var(--accent)}.last-time{font-size:.76rem;color:var(--muted);margin-top:6px;line-height:1.45}.last-time .label{font-weight:700;color:#6f7a89}.last-time .suggestion{color:var(--accent);font-weight:700;white-space:nowrap}.segmented{display:flex;gap:4px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:4px;margin-bottom:18px}.segmented button{flex:1;padding:11px;border:none;border-radius:calc(var(--radius) - 5px);background:transparent;color:var(--muted);font-family:inherit;font-size:.92rem;font-weight:700;cursor:pointer;transition:all .15s}.segmented button.active{background:var(--accent);color:var(--on-accent)}.preset-list{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px solid var(--border);font-size:.84rem;color:var(--muted);line-height:1.7}.unit-select{border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--muted);font-family:inherit;font-size:.78rem;font-weight:700;padding:6px 4px;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-align:center}.timer-chip{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--accent-soft);border:1px solid rgba(185,240,77,.4);border-radius:var(--radius);padding:14px;font-size:1.5rem;font-weight:800;font-variant-numeric:tabular-nums;color:var(--accent);letter-spacing:.03em}.timer-chip .pulse{width:10px;height:10px;border-radius:50%;background:var(--accent);animation:pulse 1.2s ease-in-out infinite}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.75)}}.timer-row{display:flex;align-items:stretch;gap:8px}.timer-row .timer-chip{flex:1 1 auto;min-width:0}.timer-chip.paused{background:#8b94a31f;border-color:#8b94a366;color:var(--muted)}.timer-chip .pause-dot{width:10px;height:10px;border-radius:2px;background:var(--muted)}.pause-btn{flex:0 0 auto;padding:0 16px;border-radius:var(--radius);border:1px solid var(--border);background:var(--surface-2);color:var(--text);font-size:.9rem;font-weight:700;white-space:nowrap;cursor:pointer}.pause-btn:active{background:#ffffff14}.paused-note{margin-top:8px;padding:10px;border-radius:var(--radius);background:#8b94a31a;border:1px solid rgba(139,148,163,.35);color:var(--muted);font-size:.9rem;text-align:center}.rest-chip{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:var(--radius);padding:10px;margin-top:8px;font-size:.92rem;font-variant-numeric:tabular-nums;transition:all .3s}.rest-chip strong{font-size:1.05rem}.rest-chip.counting{background:#f871711a;border:1px solid rgba(248,113,113,.45);color:var(--rojo)}.rest-chip.done{background:#4ade801a;border:1px solid rgba(74,222,128,.45);color:var(--verde)}.weight-box{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:.78rem}.weight-input{width:50px;padding:8px 6px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);font-family:inherit;font-size:.95rem;font-weight:700;text-align:center;outline:none}.weight-input:focus{border-color:var(--accent)}.exercise-item.locked{cursor:default}.exercise-item.locked .set-counter{opacity:.45}.routine-card.active-workout{border-left-color:var(--verde);background:linear-gradient(90deg,rgba(74,222,128,.08),var(--surface))}.finish-btn{width:100%;margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);color:var(--text);font-family:inherit;font-size:1rem;font-weight:700;cursor:pointer;transition:all .15s}.finish-btn:hover:not(:disabled){border-color:var(--accent)}.finish-btn:disabled{opacity:.4;cursor:not-allowed}.finish-btn.complete{background:var(--accent);border-color:var(--accent);color:var(--on-accent);font-weight:800;box-shadow:0 6px 24px #b9f04d40}.finish-banner{background:linear-gradient(90deg,var(--accent),var(--verde));color:var(--on-accent);border-radius:var(--radius);padding:16px;text-align:center;font-weight:800;margin-top:16px;box-shadow:0 6px 24px #4ade8040}.edit-exercise{display:flex;align-items:flex-start;gap:10px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px 14px;margin-bottom:10px}.edit-exercise .edit-order{display:flex;flex-direction:column;gap:4px}.edit-exercise .edit-order button{width:30px;height:26px;border:1px solid var(--border);border-radius:8px;background:var(--surface-2);color:var(--text);font-size:.85rem;cursor:pointer}.edit-exercise .edit-order button:disabled{opacity:.3;cursor:not-allowed}.edit-exercise .edit-body{flex:1;min-width:0}.edit-exercise .name{font-weight:700;font-size:.96rem}.edit-exercise .detail{font-size:.78rem;color:var(--muted);margin-top:2px}.edit-exercise .edit-fields{display:flex;gap:10px;margin-top:8px}.edit-exercise .edit-fields label{display:flex;flex-direction:column;gap:4px;font-size:.72rem;color:var(--muted);font-weight:600}.edit-exercise .edit-fields input{width:74px;padding:7px 8px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--text);font-family:inherit;font-size:.9rem;font-weight:700;outline:none}.edit-exercise .edit-fields input:focus{border-color:var(--accent)}.edit-exercise .edit-remove{width:30px;height:30px;min-width:30px;border:1px solid rgba(248,113,113,.4);border-radius:50%;background:#f8717114;color:var(--rojo);font-size:.85rem;font-weight:700;cursor:pointer}.add-panel{border:1px solid var(--border);border-radius:var(--radius);padding:14px;margin-top:10px;background:#ffffff05}.add-panel .muscle-grid{margin-bottom:14px}.add-panel .check-row{width:100%;text-align:left;font-family:inherit;color:var(--text)}.body-map-wrap{display:flex;justify-content:center;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 8px;margin:12px 0 18px}.legend{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-bottom:22px;font-size:.8rem;color:var(--muted)}.legend .item{display:flex;align-items:center;gap:6px}.legend .swatch{width:14px;height:14px;border-radius:4px;border:1px solid var(--border)}.muscle-status-list .row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--border);font-size:.95rem}.muscle-status-list .bar{width:42%;height:8px;background:var(--surface-2);border-radius:4px;overflow:hidden}.muscle-status-list .bar .fill{height:100%;border-radius:4px;transition:width .3s}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:26px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:18px 14px;text-align:center}.stat-card .value{font-size:1.9rem;font-weight:900;letter-spacing:-.02em;color:var(--accent)}.stat-card .label{font-size:.8rem;color:var(--muted);margin-top:4px}.bar-chart .row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.bar-chart .label{width:80px;font-size:.88rem;color:var(--muted)}.bar-chart .track{flex:1;background:var(--surface-2);border-radius:6px;height:24px;overflow:hidden}.bar-chart .fill{height:100%;background:linear-gradient(90deg,rgba(185,240,77,.55),var(--accent));border-radius:6px;display:flex;align-items:center;justify-content:flex-end;padding-right:8px;font-size:.78rem;font-weight:800;color:var(--on-accent);min-width:22px;transition:width .3s}.section-title{font-size:1.05rem;font-weight:800;letter-spacing:-.01em;margin:26px 0 12px}.chart-box{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:14px;margin-bottom:14px}.cal-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;font-weight:700;font-size:.95rem}.cal-nav button{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;color:var(--text);width:34px;height:30px;font-size:1.1rem;cursor:pointer}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.cal-head{text-align:center;font-size:.7rem;font-weight:700;color:var(--muted);padding:4px 0}.cal-cell{aspect-ratio:1;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:.8rem;color:var(--muted)}.cal-cell.trained{background:var(--accent-soft);border:1px solid rgba(185,240,77,.35);color:var(--text);font-weight:700}.cal-cell.today{outline:1.5px solid var(--accent)}.cal-cell .dot-row{display:flex;gap:2px}.cal-cell .dot-row span{width:5px;height:5px;border-radius:50%}.evo-summary{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;margin:12px 2px 4px}.evo-value{font-size:1.7rem;font-weight:900;color:var(--accent)}.evo-delta{font-size:.82rem;font-weight:700}.evo-delta.up{color:var(--verde)}.evo-delta.down{color:var(--rojo)}.evo-chart{margin-top:4px}.evo-dates{display:flex;justify-content:space-between;font-size:.75rem;color:var(--muted);padding:0 6px}.weight-input.reps{width:42px}.profile-card{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-bottom:20px}.profile-card .avatar{width:56px;height:56px;border-radius:50%;border:2px solid var(--accent)}.profile-card .name{font-weight:800;font-size:1.05rem;letter-spacing:-.01em}.profile-card .email{color:var(--muted);font-size:.88rem;margin-top:2px}.logout-btn{width:100%;margin-top:28px;padding:14px;border:1px solid rgba(248,113,113,.4);border-radius:var(--radius);background:#f8717114;color:var(--rojo);font-family:inherit;font-size:1rem;font-weight:700;cursor:pointer;transition:background .15s}.peso-row{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:14px;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font-size:.9rem}.peso-row.como-boton{width:100%;font:inherit;font-size:.9rem;color:var(--text);text-align:left;cursor:pointer}.peso-row.como-boton .peso-ref{margin-left:auto}.peso-row.como-boton:active{background:var(--surface-2)}.peso-valor{font-weight:700;white-space:nowrap}.peso-valor.muted{font-weight:600;color:var(--muted)}.peso-delta,.peso-delta.neutro{color:#7dd3fc;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}.peso-ref{color:var(--muted);font-size:.82rem;white-space:nowrap}.peso-row .link-btn{margin-left:auto;font-size:.82rem}.peso-input{width:5.5em;padding:8px 10px;border-radius:var(--radius-sm);border:1px solid var(--border);background:var(--surface-2);color:var(--text);font:inherit;font-weight:700;font-variant-numeric:tabular-nums;text-align:center}.peso-unidad{color:var(--muted)}.peso-guardar{margin-left:auto;padding:8px 14px;border-radius:var(--radius-sm);border:none;background:var(--accent);color:var(--on-accent);font:inherit;font-weight:700;cursor:pointer}.peso-guardar:disabled{opacity:.6}.peso-row.editando .link-btn{margin-left:0}.peso-error{flex:1 0 100%;margin:0;color:var(--rojo);font-size:.8rem}.link-btn{background:none;border:none;padding:0;color:var(--muted);font:inherit;text-decoration:underline;cursor:pointer}.build-stamp.diag{margin-top:6px;color:var(--muted);line-height:1.6;padding:0 12px}.build-stamp{text-align:center;color:#4b5563;font-size:.72rem;margin-top:18px;font-variant-numeric:tabular-nums}.logout-btn:hover{background:#f8717126}.bottom-nav{flex:0 0 auto;width:100%;background:#0f131a;border-top:1px solid var(--border);display:flex;justify-content:space-around;padding-top:10px;padding-bottom:max(10px,env(safe-area-inset-bottom,0px));z-index:50}.bottom-nav a,.bottom-nav button{background:none;border:none;display:flex;flex-direction:column;align-items:center;gap:3px;font-family:inherit;font-size:.68rem;font-weight:600;color:var(--muted);text-decoration:none;cursor:pointer;transition:color .15s;-webkit-tap-highlight-color:transparent}.bottom-nav .icon{font-size:1.35rem;position:relative}.bottom-nav a.active,.bottom-nav button.active{color:var(--accent)}.bottom-nav .live-dot{position:absolute;top:-2px;right:-5px;width:8px;height:8px;border-radius:50%;background:var(--verde);box-shadow:0 0 0 2px #0f131a;animation:pulse 1.6s ease-in-out infinite}.back-link{display:inline-block;margin-bottom:14px;color:var(--muted);text-decoration:none;font-size:.9rem;font-weight:600}.back-link:hover{color:var(--accent)}.owner-toggle{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px}.owner-toggle .name{font-weight:700;font-size:.98rem}.owner-toggle .detail{color:var(--muted);font-size:.82rem;margin-top:2px}.switch{width:52px;height:30px;min-width:52px;border-radius:15px;border:1px solid var(--border);background:var(--surface-2);cursor:pointer;position:relative;transition:background .2s}.switch .knob{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:var(--muted);transition:all .2s}.switch.on{background:var(--accent);border-color:var(--accent)}.switch.on .knob{left:25px;background:var(--on-accent)}.machine-card{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:12px;margin-bottom:10px;cursor:pointer;transition:background .15s}.machine-card:hover{background:var(--surface-2)}.machine-photo{width:64px;height:64px;min-width:64px;border-radius:var(--radius-sm);object-fit:cover;background:var(--surface-2)}.machine-photo.placeholder{display:flex;align-items:center;justify-content:center;font-size:1.6rem}.machine-info .name{font-weight:700;font-size:.98rem}.machine-info .detail{color:var(--muted);font-size:.84rem;margin-top:2px}.machine-info .count{color:var(--accent);font-size:.8rem;font-weight:600;margin-top:4px}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:16px}.photo-thumb{position:relative;aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;border:1px solid var(--border)}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb button{position:absolute;top:6px;right:6px;width:24px;height:24px;border:none;border-radius:50%;background:#000000a6;color:#fff;font-size:.8rem;cursor:pointer}.photo-add{aspect-ratio:1;border:2px dashed #3a4452;border-radius:var(--radius-sm);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:1.6rem;color:var(--muted);cursor:pointer;transition:border-color .15s}.photo-add:hover{border-color:var(--accent)}.photo-add span{font-size:.72rem;font-weight:600}.ai-box{background:var(--accent-soft);border:1px solid rgba(185,240,77,.35);border-radius:var(--radius);padding:14px 16px;font-size:.92rem;line-height:1.5;margin:14px 0}.ai-box.warn{background:#fb923c1a;border-color:#fb923c66;color:var(--naranja)}.ai-box .notes{color:var(--muted);font-size:.84rem;margin-top:4px}.ai-box a{display:inline-block;color:var(--accent);font-weight:600;margin-top:8px;text-decoration:none}.select{width:100%;padding:14px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--text);font-family:inherit;font-size:1rem;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b94a3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center}.checklist{display:flex;flex-direction:column;gap:8px}.check-row{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sm);padding:12px 14px;cursor:pointer;font-size:.93rem;transition:all .15s}.check-row small{color:var(--muted)}.check-row input{display:none}.check-row .box{width:22px;height:22px;min-width:22px;border:1.5px solid #3a4452;border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:800;color:var(--on-accent);transition:all .15s}.check-row.on{border-color:#b9f04d66}.check-row.on .box{background:var(--accent);border-color:var(--accent)}
