 .cgpa-page{max-width:900px;margin:auto;padding:25px 15px 60px}.hero{text-align:center;padding:15px 0 20px}.icon{font-size:55px}.hero h1{font-size:42px;margin:8px 0}.hero p{line-height:1.6;opacity:.75}.modes{display:flex;gap:12px;margin:20px 0}.modes button{flex:1;padding:15px;border:1px solid #cddddd;border-radius:14px;background:white;font-size:16px;font-weight:bold}.modes button.active{background:#d9f3f1;color:#006f6f;border-color:#008b8b}.box,.result{background:white;border-radius:18px;padding:22px;margin-bottom:20px;box-shadow:0 5px 20px #0000000d}.row{display:grid;grid-template-columns:1.4fr 1fr 1fr auto;gap:10px;margin:12px 0}.row input{width:100%;box-sizing:border-box;padding:13px;border:1px solid #d5dddd;border-radius:10px;font-size:15px}.row button{border:0;border-radius:10px;background:#ffe5e5;color:#b00020;font-weight:bold;padding:10px 14px}.add,.calc,.reset{border:0;border-radius:10px;padding:13px 18px;font-weight:bold;margin-top:8px}.add{background:#eef7f7;color:#006f6f}.calc{background:#008b8b;color:white}.reset{background:#eee}.actions{display:flex;gap:10px}.result{background:#eaf8f7}.result #answer{font-size:27px;font-weight:800;color:#006f6f;margin:12px 0}.result #formula{font-weight:bold}.result #details{opacity:.7;margin-top:7px}.note{background:#fff8df;padding:15px;border-radius:12px;margin-top:15px;line-height:1.5}@media(max-width:700px){.hero h1{font-size:34px}.modes{flex-direction:column}.row{grid-template-columns:1fr}.row button{width:100%}.actions{flex-direction:column}.calc,.reset{width:100%}}