:root{font-family:system-ui,-apple-system,"Segoe UI",sans-serif;background:#f7f8fa;color:#26394d}*{box-sizing:border-box}body{margin:0}header{background:white;border-bottom:1px solid #e3e9ef}.wrap{max-width:1100px;margin:auto;padding:20px}.top{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:14px;text-decoration:none;color:inherit}.brand img{width:65px;height:65px;object-fit:contain}.brand strong{display:block;font-size:22px}.brand small{display:block;color:#667c90}select,input,button{font:inherit}select,input{border:1px solid #c9d5e0;border-radius:10px;background:white;padding:11px;max-width:100%;color:#253a50;width:100%}.top select{width:auto}.hero{padding:42px 0 25px}.hero h1{font-size:clamp(29px,4vw,42px);margin:0 0 12px}.hero p{color:#64748b;font-size:17px;line-height:1.5}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin:8px 0 38px}.tile{cursor:pointer;text-align:left;border:1px solid #e1e8ef;border-radius:17px;background:white;min-height:190px;padding:23px;display:flex;flex-direction:column;align-items:flex-start;gap:10px;color:inherit;box-shadow:0 5px 20px #20344d09}.tile:hover,.tile.active{border-color:#7eacd8;box-shadow:0 5px 20px #2563eb18}.tile strong{font-size:20px}.tile small{color:#64748b;line-height:1.5;font-size:14px}.glyph{display:grid;place-items:center;border-radius:12px;width:52px;height:52px;font-size:23px;font-weight:700}.blue{background:#e3efff;color:#2369b4}.green{background:#ddf6eb;color:#167958}.orange{background:#fff0dc;color:#a55c13}.purple{background:#f0e8ff;color:#7544aa}.teal{background:#dff6f5;color:#177b80}.work{border:1px solid #e1e8ef;border-radius:18px;background:white;padding:28px;margin:10px 0 50px}.workhead{display:flex;align-items:center;justify-content:space-between;gap:12px}.work h2{margin:0;font-size:25px}.help,.note{color:#65778a;line-height:1.5}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:25px 0}.fields label{display:flex;flex-direction:column;gap:7px;font-weight:600;font-size:14px}.output{border-radius:12px;background:#f0f7ff;padding:18px;min-height:70px;line-height:1.7;overflow-wrap:anywhere}.output:empty{display:none}.output strong{font-size:23px;color:#174c81}.action{border:0;background:#256db6;color:white;padding:12px 18px;border-radius:10px;cursor:pointer;align-self:end}.subtle{border:1px solid #d9e3ec;background:white;padding:10px 14px;border-radius:10px;cursor:pointer;color:#315878}.meta{font-size:13px;color:#63758a;margin-top:10px}.error{color:#a12828}.line{display:block}footer{text-align:center;color:#7b8c9e;padding:24px;border-top:1px solid #e3e9ef}@media(max-width:750px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:530px){.cards,.fields{grid-template-columns:1fr}.top{flex-wrap:wrap}.work{padding:18px}.workhead{align-items:flex-start;flex-direction:column}.wrap{padding:16px}.tile{min-height:145px}}
.cards{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px}.tile{min-height:175px}.swap{align-self:end}.fields{align-items:end}@media(max-width:530px){.cards{grid-template-columns:1fr}}

/* GT Utilidades 3.0 — resultados visuais */
.output{background:transparent;padding:0;line-height:1.45;overflow:visible}.result-card{background:linear-gradient(145deg,#eff6ff,#fff);border:1px solid #dbe8f6;border-radius:20px;padding:28px}.eyebrow{font-size:13px;font-weight:750;color:#4c657b;letter-spacing:.03em}.big-number{font-size:clamp(32px,5vw,52px);font-weight:800;color:#1a507e;margin:10px 0}.big-number small{font-size:.45em}.formula-strip{padding:15px;background:white;border-radius:12px;color:#3c556d;font-size:16px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}.detail-grid>div{background:white;border:1px solid #e2ebf4;padding:15px;border-radius:12px;display:grid;gap:6px}.detail-grid span{font-size:13px;color:#64748b}.detail-grid strong{font-size:17px;color:#214e74}.weather-dashboard{display:grid;gap:20px}.weather-hero{background:linear-gradient(120deg,#d7f4f5,#e8f3ff);padding:26px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:16px}.weather-hero h2{margin:12px 0 0;font-size:18px}.hero-temp{font-size:clamp(52px,8vw,80px);font-weight:800;line-height:1.1;color:#164d74}.hero-temp span{font-size:.45em}.hero-condition{font-size:19px;font-weight:650;color:#375b6d}.hero-symbol{font-size:clamp(65px,12vw,120px);line-height:1}.weather-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.weather-metrics>div{border:1px solid #e0e9f0;background:white;border-radius:14px;padding:16px;display:grid;gap:8px}.weather-metrics span{font-size:13px;color:#617487}.weather-metrics strong{font-size:19px;color:#214e74}.forecast-section h3{font-size:20px;margin:8px 0 14px}.hour-grid{display:flex;gap:10px;overflow-x:auto;padding-bottom:12px}.hour-card{flex:0 0 98px;text-align:center;background:#f2f8fd;border:1px solid #e1eaf2;border-radius:14px;padding:14px 8px;display:grid;gap:8px}.hour-card strong{font-size:22px;color:#244e73}.hour-label{font-weight:700}.weather-emoji{font-size:34px;line-height:1.4}.small-muted{font-size:12px;color:#597085}.day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.day-card{text-align:center;border:1px solid #e1eaf2;border-radius:14px;background:#f7fafc;padding:12px 5px;display:grid;gap:6px;align-content:start}.day-name{font-weight:750;font-size:13px}.day-condition{font-size:12px;color:#526a80;min-height:32px}.day-temps{font-size:17px;color:#204a6b}.day-temps span{color:#7d91a5}.weather-dashboard .meta{line-height:1.7}@media(max-width:850px){.weather-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.day-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:530px){.weather-hero{padding:20px}.hero-symbol{font-size:66px}.day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.weather-metrics strong{font-size:16px}}

/* Ferramentas 3.1 */.tool-shell{max-width:960px}.tool-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end;margin:24px 0}.tool-fields label{display:flex;flex-direction:column;gap:7px;font-weight:600}.tool-fields textarea{padding:12px;border:1px solid #c9d5e0;border-radius:10px;font:inherit;width:100%}.tool-fields label:has(textarea),.tool-fields label:has(input[type=file]),.tool-fields #clockgrid{grid-column:1/-1}.tool-fields .action{min-height:46px}.tool-fields .big-number{grid-column:1/-1}.tool-fields input[type=checkbox]{margin-right:8px}#out{margin-bottom:30px}#qrTarget{display:flex;justify-content:center;margin:12px}#saveQR{margin-top:15px}.tile{min-height:175px}@media(max-width:650px){.tool-fields{grid-template-columns:1fr}}

/* GT Utilidades 3.2: relógios analógicos responsivos */
.world-clock-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.world-clock-card{display:flex;flex-direction:column;align-items:center;gap:9px;padding:20px 12px;border-radius:18px;background:linear-gradient(145deg,#f4f0ff,#fff);border:1px solid #e5dff3;text-align:center}.world-clock-city{font-size:17px;font-weight:750;color:#473b69}.analog-clock{width:min(150px,100%);height:auto}.world-clock-time{font-size:23px;font-variant-numeric:tabular-nums;color:#2d4767}.world-clock-date{font-size:13px;color:#65758b}@media(max-width:750px){.world-clock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.world-clock-grid{grid-template-columns:1fr}}

/* Fuel calculator: two clear calculation modes */
.fuel-tabs{display:flex;gap:10px;flex-wrap:wrap;grid-column:1/-1;margin:0 0 12px}.fuel-tab{padding:12px 18px;border-radius:12px;border:2px solid #b5d7ed;background:#f3f9fe;color:#1c4f75;font-weight:700;cursor:pointer}.fuel-tab.active{background:#2868a5;border-color:#2868a5;color:#fff}.fuel-tab:focus-visible{outline:3px solid #ed9d3b;outline-offset:3px}#fuelTripFields,#fuelAverageFields{grid-column:1/-1;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:14px}#fuelTripFields[hidden],#fuelAverageFields[hidden]{display:none!important}
