:root{color:#172033;background:#eef3fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;line-height:1.5;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}button{border:0;border-radius:999px;background:#3563eb;color:#fff;cursor:pointer;font-weight:800;padding:.75rem 1rem}.file-button{border-radius:999px;cursor:pointer;display:inline-flex;font-weight:800;padding:.75rem 1rem}.file-button input{height:1px;opacity:0;overflow:hidden;position:absolute;width:1px}button:disabled{cursor:not-allowed;opacity:.6}button.secondary,.file-button{background:#e9eefb;color:#233b6d}button.danger{background:#fee2e2;color:#991b1b}input{width:100%;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#0f172a;margin-top:.4rem;padding:.75rem .85rem}label{color:#334155;display:block;font-weight:700}.app-shell{min-height:100vh;padding:2rem}.item-form,.items-panel,.projection-panel{border:1px solid rgba(39,58,92,.12);border-radius:28px;background:linear-gradient(135deg,#fff,#f8fbff);box-shadow:0 24px 80px #25395f1f;padding:clamp(1.25rem,3vw,2rem)}.eyebrow{margin:0 0 .75rem;color:#3563eb;font-size:.8rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase}h1,h2,h3{color:#0f172a;line-height:1.05;margin:0}h2{font-size:clamp(1.25rem,3vw,1.8rem)}h3{font-size:1.05rem}.content-grid{align-items:start;display:grid;gap:1.5rem;grid-template-columns:minmax(280px,420px) 1fr}.projection-panel{grid-column:1 / -1}.item-form{display:grid;gap:1rem}.form-row{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.field-help{color:#64748b;display:block;font-size:.78rem;font-weight:600;margin-top:.25rem}.form-actions,.item-actions,.panel-heading,.panel-actions,.item-summary,.projection-controls{align-items:center;display:flex;gap:.75rem}.panel-heading{justify-content:space-between;margin-bottom:1.25rem}.panel-help{color:#526174;margin:.4rem 0 0}.item-list{display:grid;gap:1rem;list-style:none;margin:0;padding:0}.item-card{align-items:center;border:1px solid #e2e8f0;border-radius:20px;cursor:grab;display:flex;gap:1rem;justify-content:space-between;padding:1rem;transition:border-color .15s ease,box-shadow .15s ease,opacity .15s ease}.item-card.dragging{border-color:#3563eb;box-shadow:0 12px 28px #3563eb2e;opacity:.72}.item-summary{min-width:0}.drag-handle{color:#94a3b8;flex:0 0 auto;font-weight:900;letter-spacing:-.2em;line-height:1}.item-card p,.empty-state,.status-message{color:#526174;margin:.4rem 0 0}.status-message{border-radius:14px;background:#e0ecff;color:#244986;padding:.8rem 1rem}.status-message.error{background:#fee2e2;color:#991b1b}.status-message.warning{background:#fef3c7;color:#92400e;margin-bottom:1rem}.empty-state{border:1px dashed #cbd5e1;border-radius:18px;padding:1.25rem}.projection-controls{flex-wrap:wrap;margin-bottom:1rem}.projection-controls label{max-width:220px}.projection-controls .checkbox-control{align-items:center;display:flex;gap:.45rem;max-width:320px}.projection-controls .checkbox-control input{margin-top:0;width:auto}.projection-results{display:grid;gap:1rem}.projection-summary-card{border:1px solid #dbe5f5;border-radius:20px;background:#f8fbff;padding:1rem}.projection-summary-card p{color:#526174;margin:.35rem 0 0}.projection-total{color:#0f172a!important;font-size:clamp(1.8rem,4vw,2.6rem);font-weight:900}.table-scroll{overflow-x:auto}table{border-collapse:collapse;min-width:860px;width:100%}caption{color:#0f172a;font-size:1.05rem;font-weight:800;margin-bottom:.6rem;text-align:left}th,td{border-bottom:1px solid #e2e8f0;padding:.7rem .6rem;text-align:left}th{color:#334155;font-size:.85rem;text-transform:uppercase}@media(max-width:820px){.app-shell{padding:1rem}.content-grid,.form-row{grid-template-columns:1fr}.item-card,.item-actions,.panel-heading{align-items:stretch;flex-direction:column}.item-summary{align-items:flex-start}}
