:root{font-family:system-ui,Segoe UI,sans-serif;color:#193047;background:#f3f7f8}*{box-sizing:border-box}body{margin:0}main{max-width:720px;margin:auto;padding:20px}header{display:flex;justify-content:space-between;align-items:center;gap:10px}h1{font-size:1.5rem;color:#135a70}h2{font-size:1.15rem;margin:0 0 16px}nav{display:flex;flex-direction:column;gap:5px;margin:14px 0;padding:14px;background:#dceff0;border-radius:12px}nav span,.hint{font-size:.85rem;color:#4c6572}section,form{background:#fff;padding:20px;border-radius:14px;margin:14px 0;box-shadow:0 2px 12px #dce5e9}label{display:block;font-weight:600;margin:14px 0}input,select{display:block;width:100%;font:inherit;padding:12px;border:1px solid #a7bdc7;border-radius:9px;margin-top:7px;background:#fff;color:#193047}input[type=checkbox]{display:inline-block;width:auto;padding:0;margin:0 8px 0 0;vertical-align:middle}.checkbox-row{display:flex;align-items:flex-start;gap:8px;cursor:pointer}.checkbox-row input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:2px 0 0}button{font:inherit;font-weight:600;background:#156b79;color:#fff;border:0;border-radius:9px;padding:12px 16px;cursor:pointer;min-height:44px}button:disabled{background:#a8b9bf;cursor:not-allowed}.actions{display:flex;flex-wrap:wrap;gap:9px}.amount{font-size:1.2rem;font-weight:700}.history{display:block;width:100%;text-align:left;background:#eef6f7;color:#193047;margin:8px 0}small{overflow-wrap:anywhere}[role=status]{min-height:1.5em;color:#8b3d16}@media(max-width:480px){main{padding:12px}section,form{padding:16px}header{align-items:flex-start;flex-direction:column}}main{overflow-wrap:anywhere}input,select,textarea{min-width:0;max-width:100%}textarea{display:block;width:100%;font:inherit;padding:12px;border:1px solid #a7bdc7;border-radius:9px;margin-top:7px;min-height:120px;resize:vertical}button{max-width:100%;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}.checkbox-row{min-height:44px;align-items:center}.row-link-submit{scroll-margin:16px}:root{font-family:Segoe UI,Arial,sans-serif;font-size:16px;line-height:1.55;color:#e8eef5;background:#0b1220;--surface:#121d30;--border:#34445d;--muted:#b9c9da;--focus:#ffd36c}html{scroll-behavior:smooth}body{min-width:320px}main{max-width:1380px;padding:32px clamp(16px,4vw,56px) 80px}header{padding:28px 32px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(125deg,#1b3550,#122139 65%,#173d40);box-shadow:0 18px 48px #050a1660}header h1{font-size:clamp(1.65rem,3vw,2.6rem);letter-spacing:-.035em;margin:0;color:#fff}header small{color:#d7e8f4;font-size:.9rem}h2{font-size:1.25rem;line-height:1.3;color:#fff}h3{color:#eaf5ff}nav{flex-direction:row;align-items:center;flex-wrap:wrap;gap:10px;margin:24px 0;padding:14px 18px;background:#142238;border:1px solid var(--border);border-radius:14px}nav a,nav strong{display:inline-flex;align-items:center;min-height:44px;padding:9px 14px;border-radius:8px;text-decoration:none;font-weight:700}nav a{color:#bcebdc;background:#203b49}nav a:hover{background:#2c5660;color:#fff}nav strong{background:#d2f5e6;color:#102c2a}nav span{color:var(--muted)}section,form{background:var(--surface);padding:clamp(18px,2.4vw,30px);border:1px solid var(--border);border-radius:16px;margin:18px 0;box-shadow:0 8px 28px #050a162e;scroll-margin-top:20px}label{color:#edf4fb}input,select,textarea{border-color:#6c8197;background:#0d192a;color:#f3f7fc;min-height:44px}input::placeholder,textarea::placeholder{color:#a7bacb}input[type=checkbox]{accent-color:#72ddb7}.checkbox-row{min-height:44px}button{background:#72ddb7;color:#0b2726;transition:background-color .18s,box-shadow .18s}button:hover:not(:disabled){background:#a2ecd0;box-shadow:0 3px 12px #0003}button:active:not(:disabled){background:#c9f6e4}button:disabled{background:#566577;color:#e2e8ee;box-shadow:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.actions button:not(:first-child){background:#21384b;color:#e5f7f2;border:1px solid #587582}.actions button:not(:first-child):hover:not(:disabled){background:#305269}.actions button:disabled{background:#566577;color:#e2e8ee;border-color:transparent}.amount{font-size:1.4rem;color:#a2ecd0}.history{background:#21364a;color:#ecf5fb;border:1px solid #4a6576}.history:hover:not(:disabled){background:#2c4c60}.hint{font-size:.92rem;color:var(--muted);padding:10px 14px;border-left:3px solid #79cfb6;background:#1a2b3d;border-radius:0 7px 7px 0}small{color:var(--muted)}[role=status],[role=alert]{color:#ffd89c}details{border:1px solid var(--border);border-radius:9px;padding:10px 14px;margin:10px 0}summary{cursor:pointer;min-height:30px}code,pre{white-space:pre-wrap;overflow-wrap:anywhere;color:#b6efda}@media(min-width:900px){main>section>label{max-width:640px}main>section>div:has(>label){max-width:950px}}@media(max-width:600px){main{padding:14px 12px 56px}header{padding:21px;align-items:flex-start;flex-direction:column}nav{padding:12px}nav a,nav strong{width:100%;justify-content:center}section,form{padding:18px;margin:14px 0}button{width:100%;margin:3px 0}.actions{display:grid;grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}button{transition:none}}[data-risk-check-invoice],[data-risk-check-invoice] label,[data-risk-check-invoice] h4{color:#193047}[data-risk-check-invoice] small{color:#4c6572}fieldset{min-width:0;border-color:var(--border)}
