:root { --primary: #2563eb; --accent: #10b981; --bg: #f8fafc; --card: #ffffff; --text: #1e293b; --border: #e2e8f0; }
body { font-family: 'Plus Jakarta Sans', sans-serif; background: var(--bg); color: var(--text); margin: 0; padding: 15px; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.container { width: 100%; max-width: 1100px; background: var(--card); border-radius: 16px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.05); border: 1px solid var(--border); }
header { text-align: center; margin-bottom: 15px; }
header h1 { margin: 0; font-size: 1.5rem; color: var(--text); }
.grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; }
h2 { font-size: 0.9rem; margin: 0 0 12px 0; color: var(--primary); display: flex; align-items: center; gap: 8px; border-bottom: 2px solid var(--bg); padding-bottom: 6px; text-transform: uppercase; }
.input-row { margin-bottom: 10px; }
label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 3px; color: #475569; }
.field { position: relative; }
.field span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-size: 0.7rem; font-weight: 700; color: #94a3b8; }
input { width: 100%; padding: 8px 10px 8px 45px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.9rem; box-sizing: border-box; outline: none; transition: 0.2s; }
input:focus { border-color: var(--primary); background: #fff; }
.summary { background: #0f172a; color: white; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }
.box { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 12px; margin-top: 12px; }
.box-label { font-size: 0.7rem; color: #94a3b8; font-weight: 600; margin-bottom: 3px; }
.val { font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.final { color: #facc15; font-size: 1.6rem; }
.btn-group { display: flex; gap: 8px; margin-top: 10px; }
button { flex: 1; padding: 10px; border-radius: 8px; font-weight: 700; cursor: pointer; border: none; font-size: 0.8rem; transition: 0.2s; }
.btn-save { background: var(--primary); color: white; }
.btn-reset { background: #f1f5f9; color: #475569; }
.btn-pdf { background: #dc2626; color: white; margin-top: 10px; width: 100%; }
.btn-pdf:hover { background: #b91c1c; }
@media (max-width: 900px) { body { height: auto; overflow: auto; } .grid { grid-template-columns: 1fr; } }