:root{color-scheme:light;font-family:Arial,Helvetica,sans-serif;color:#153a60;background:#f4f7fb;font-size:16px;line-height:1.5;--blue:#153a60;--yellow:#f5c440}*{box-sizing:border-box}body{margin:0}a{color:#124fa4;text-underline-offset:3px}button,input,select,textarea{font:inherit}button,.button{display:inline-block;border:1px solid var(--blue);border-radius:7px;background:var(--blue);color:white;padding:12px 20px;font-weight:700;cursor:pointer;text-decoration:none}button:disabled{opacity:.6;cursor:wait}button.secondary{background:white;color:var(--blue)}:focus-visible{outline:3px solid #d99d00;outline-offset:3px}.top{display:flex;align-items:center;gap:24px;background:#fff;border-bottom:1px solid #d5dfeb;padding:16px max(24px,calc((100vw - 1100px)/2))}.top img{width:100px;height:64px;object-fit:contain}.top span{font-weight:700}.top button{margin-left:auto}main{max-width:1100px;margin:40px auto;padding:0 24px;min-height:65vh}h1{font-size:clamp(2rem,5vw,3rem);letter-spacing:-.035em;line-height:1.12;margin:8px 0 20px}h2{font-size:1.5rem;line-height:1.2;margin-top:0}h3{font-size:1.125rem;margin-top:0}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:.875rem;font-weight:700;color:#4e647b}.card{background:white;border:1px solid #d8e1eb;border-radius:12px;padding:28px;margin:20px 0}.auth{max-width:560px;margin:auto}.auth .card{border-top:5px solid var(--yellow)}label{display:block;font-weight:600;margin:16px 0 6px}input,select,textarea{display:block;width:100%;border:1px solid #91a4bb;border-radius:6px;background:white;color:#153a60;padding:11px 12px;min-height:48px}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23153a60' stroke-width='2'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:34px}input[type=checkbox]{display:inline-block;width:auto;min-height:0;margin-right:8px}input[type=file]{font-size:.875rem;max-width:100%}form button{margin-top:20px}small,.muted{color:#526579;font-size:.875rem}nav{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0}nav button[aria-current=page]{background:var(--yellow);color:var(--blue);border-color:#d6a62e}dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-bottom:0}dt{color:#53697f;font-size:.875rem}dd{margin:4px 0 0;font-weight:600;overflow-wrap:anywhere}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.grid .card{margin:0}.amount{font-size:2.1rem;font-weight:700;letter-spacing:-.025em}.status{display:inline-block;background:#eaf0f6;color:#153a60;padding:5px 12px;border-radius:5px;font-weight:700;font-size:.875rem}.status.paid,.status.accepted{background:#e2f3e8;color:#1e6039}.status.unconfirmed,.status.awaiting_verification,.status.part_paid{background:#fff3c8;color:#695000}.status.unpaid,.status.rejected{background:#fce5e6;color:#8c2330}.note{padding:18px 22px;border-left:4px solid var(--yellow);background:#fff7da;margin:20px 0}#notice:not(:empty){padding:16px 20px;background:#e9f0fa;border:1px solid #adbed5;border-radius:7px;margin-bottom:20px;overflow-wrap:anywhere}#notice.error{background:#fce5e6;border-color:#d6a1a4;color:#7b242b}.document{border-top:1px solid #d9e1eb;padding:18px 0;overflow-wrap:anywhere}.document:first-child{border-top:0}.document a{font-weight:700}details{margin-top:16px}summary{cursor:pointer;font-weight:700}.actions{display:flex;gap:10px;flex-wrap:wrap}.search{max-width:500px}footer{padding:30px 24px;color:#526579;border-top:1px solid #d8e1eb;text-align:center;font-size:.875rem}.empty{padding:30px 0}.quiet{margin-top:26px}.audit-note{font-size:.875rem}button.danger{background:white;color:#8c2330;border-color:#8c2330}@media(max-width:640px){.top{padding:12px 16px;gap:12px}.top img{width:72px;height:50px}.top span{font-size:.875rem}.top button{padding:8px 12px}main{padding:0 16px;margin-top:26px}.card{padding:22px 18px}.grid,dl{grid-template-columns:1fr}nav{gap:7px}nav button{padding:10px 12px;font-size:.875rem}.amount{font-size:1.9rem}}

.reminder-preview{white-space:pre-wrap;font:inherit;overflow-wrap:anywhere}textarea{resize:vertical}
