*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}body{font-family:system-ui,sans-serif;background:#f4f4f5;color:#18181b;min-height:100vh}.app{max-width:900px;margin:0 auto;padding:2rem 1rem}header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:2rem}.header-title{display:flex;align-items:center;gap:.75rem}.logo{height:40px;width:auto}header h1{font-size:1.6rem;font-weight:700}.header-meta{display:flex;align-items:center;gap:1rem}.header-meta span{font-size:.85rem;color:#71717a}button{padding:.5rem 1.2rem;background:#18181b;color:#fff;border:none;border-radius:8px;cursor:pointer;font-size:.9rem;transition:background .2s}button:hover:not(:disabled){background:#3f3f46}button:disabled{opacity:.5;cursor:not-allowed}main{display:flex;flex-direction:column;gap:2rem}.fuel-section h2{font-size:1.2rem;font-weight:600;margin-bottom:1rem;padding-bottom:.5rem;border-bottom:2px solid #18181b}.ciudades{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.ciudad-card{background:#fff;border-radius:12px;padding:1.2rem;box-shadow:0 1px 4px #00000012}.ciudad-card h3{font-size:1rem;font-weight:600;margin-bottom:.8rem;color:#3f3f46}.ciudad-card ul{list-style:none;display:flex;flex-direction:column;gap:.5rem}.ciudad-card li{display:flex;align-items:baseline;gap:.6rem}.precio{font-size:1.1rem;font-weight:700;color:#18181b;white-space:nowrap}.nombre{font-size:.85rem;color:#71717a}.estado{color:#71717a;font-size:.9rem}.estado.error{color:#b42318;background:#fef3f2;border:1px solid #fecdca;border-radius:8px;padding:.75rem 1rem;margin-bottom:1rem}.history-section{background:#fff;border-radius:12px;padding:1.2rem;box-shadow:0 1px 4px #00000012}.history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}.history-header h2{font-size:1.2rem;margin-bottom:.35rem}.history-meta{color:#71717a;font-size:.85rem}.history-header select{padding:.5rem;border:1px solid #d4d4d8;border-radius:8px;background:#fff}.history-fuel{margin-top:1.5rem}.history-fuel h3{font-size:1rem;margin-bottom:.8rem}.history-city{margin-top:1rem}.history-city h4{color:#3f3f46;font-size:.9rem;margin-bottom:.5rem}.history-table{overflow-x:auto}.history-row{display:grid;grid-template-columns:minmax(180px,1.8fr) repeat(3,minmax(95px,1fr));gap:.75rem;align-items:center;padding:.55rem 0;border-bottom:1px solid #f4f4f5;font-size:.85rem}.history-row-head{color:#71717a;font-size:.75rem;font-weight:600;text-transform:uppercase}.price-up{color:#b42318}.price-down{color:#067647}@media (max-width: 650px){.history-header{flex-direction:column}.history-header select{width:100%}}
