* { box-sizing: border-box; }
body { margin: 0; background: #edf1f5; color: #152a45; font: 18px/1.5 Arial, sans-serif; }
.shell { width: calc(100% - 32px); max-width: 1120px; margin: 32px auto; padding: 32px; background: white; border-radius: 16px; }
header { border-bottom: 2px solid #e78136; margin-bottom: 28px; }
header span { font-weight: 800; letter-spacing: 3px; }
h1 { font-size: 40px; line-height: 1.15; }
.layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.layout > * { min-width: 0; }
aside { background: #152a45; color: white; padding: 28px; border-radius: 12px; align-self: start; }
label { display: block; margin-top: 12px; }
input, button { font: inherit; padding: 12px; width: 100%; min-width: 0; border: 1px solid #aab4c3; border-radius: 6px; }
button { margin-top: 20px; background: #e78136; color: #152a45; font-weight: bold; cursor: pointer; }
button:disabled { opacity: .7; cursor: wait; }
input:focus-visible, button:focus-visible { outline: 3px solid #152a45; outline-offset: 3px; }
input[aria-invalid="true"] { border: 2px solid #a52b16; }
#total { font-size: 32px; }
.help { font-size: 16px; margin: 6px 0; }
.error, #status[data-state="error"] { color: #a52b16; }
.error:empty { display: none; }
#status, .error { overflow-wrap: anywhere; }
#status[data-state="success"] { font-weight: bold; }
@media (max-width: 760px) {
  .shell { margin: 16px auto; padding: 24px; }
  .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  h1 { font-size: 32px; }
  aside { padding: 24px; }
}
