:root{color:#20242d;background:#f6f5f2;font-family:Arial,sans-serif}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:11vh auto;padding:24px}h1{font-size:38px;margin:8px 0 14px}.eyebrow{color:#9c3e2a;font-weight:700;letter-spacing:.07em;text-transform:uppercase;font-size:12px}.lead{font-size:18px;line-height:1.5}.card{margin:30px 0;padding:24px;background:#fff;border:1px solid #e4e0d8;border-radius:12px;box-shadow:0 8px 25px #2715090d}label{display:block;margin-bottom:8px;font-weight:700}input{width:100%;padding:12px;border:1px solid #bbb5aa;border-radius:7px}button,input{font-size:16px}button{margin-top:16px;padding:12px 18px;background:#9c3e2a;color:#fff;border:0;border-radius:7px;cursor:pointer}button:disabled{opacity:.6;cursor:wait}.note{color:#67645e;font-size:14px}a{color:#8b3827}.action-link{display:inline-block;margin:8px 0 12px;padding:12px 18px;border-radius:7px;color:#fff;background:#9c3e2a;font-weight:700;text-decoration:none}.secondary-action{margin-left:8px;background:#6e675d}.product-page{max-width:980px;margin-top:32px}.product-form{margin-top:22px}.product-form section+section{border-top:1px solid #e4e0d8;margin-top:26px;padding-top:22px}.product-form h2{margin:0 0 18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.form-grid label,.product-form>section>label{margin-bottom:16px}select,textarea{display:block;width:100%;margin-top:8px;padding:12px;border:1px solid #bbb5aa;border-radius:7px;color:inherit;font:inherit;background:#fff}textarea{min-height:86px;resize:vertical}.required{color:#9c3e2a}.choice-group{border:0;padding:0;margin:18px 0}.choice-group legend{font-weight:700;margin-bottom:8px}.choices{display:flex;flex-wrap:wrap;gap:8px}.check{display:inline-flex;align-items:center;gap:7px;margin:0;padding:8px 10px;border:1px solid #ddd7cd;border-radius:7px;background:#fcfbf9}.check input{width:auto;margin:0}.compact-choice details{position:relative}.compact-choice summary{min-height:46px;padding:12px 40px 12px 12px;border:1px solid #bbb5aa;border-radius:7px;background:#fff;cursor:pointer;list-style:none}.compact-choice summary::-webkit-details-marker{display:none}.compact-choice summary:after{content:"⌄";position:absolute;right:14px;top:8px;color:#6e675d;font-size:22px}.compact-choice details[open] summary{border-radius:7px 7px 0 0}.compact-choice .choices{padding:12px;border:1px solid #bbb5aa;border-top:0;border-radius:0 0 7px 7px;background:#fff}.form-message{margin:16px 0 0;padding:12px;border-radius:7px}.form-message.success{background:#edf7ed;color:#245d2b}.form-message.error{background:#fff0ee;color:#8d261c}.inline-form{display:flex;gap:10px;align-items:flex-start}.inline-form button{margin-top:0;white-space:nowrap}.company-result{padding-top:20px}.company-fields,.company-result{border-top:1px solid #e4e0d8;margin-top:24px}.company-fields{padding-top:2px}.company-fields>label{margin:16px 0}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px}.field-grid label{margin:0}.field-grid input{margin-top:8px}.company-fields h2+.note{margin-top:-8px}.input-action{display:flex;gap:8px;align-items:flex-start}.input-action input{min-width:0}.small-action{margin:8px 0 0;padding:12px 11px;white-space:nowrap;font-size:14px}.bank-field{position:relative}.bank-suggestions{position:absolute;z-index:2;top:100%;right:0;left:0;margin:2px 0 0;padding:4px;list-style:none;border:1px solid #bbb5aa;border-radius:7px;background:#fff;box-shadow:0 8px 20px #2715091a}.bank-suggestions li{margin:0}.bank-suggestions button{display:block;width:100%;margin:0;padding:9px 10px;color:#20242d;background:transparent;text-align:left;font-size:14px}.bank-suggestions button:hover{background:#f5efe9}.bank-suggestions span,.bank-suggestions strong{display:block}.bank-suggestions span{margin-top:3px;color:#67645e;font-size:12px}dl{display:grid;grid-template-columns:170px 1fr;grid-gap:10px 16px;gap:10px 16px}dt{color:#67645e}dd{margin:0;font-weight:700}h2{margin-top:28px;font-size:20px}li{margin:8px 0}.invoice-page{max-width:980px;margin-top:32px}.screen-actions{display:flex;justify-content:space-between;margin:0 0 20px}.invoice-paper{background:#fff;padding:34px 42px;color:#000;box-shadow:0 4px 22px #0002;font-size:13px;line-height:1.4}.invoice-paper h1{font-size:22px;margin:22px 0 12px}.invoice-paper p{margin:8px 0}.invoice-paper table{border-collapse:collapse;width:100%}.bank-table td{border:1px solid #000;padding:5px 7px}.bank-table td:nth-child(2){width:70px}.bank-table td:last-child{width:220px}.bank-name{font-weight:700}.supplier-line{font-size:12px}.line{height:1px;background:#000;margin:12px 0}.items-table{margin-top:20px}.items-table td,.items-table th{border:1px solid #000;padding:6px;vertical-align:top}.items-table th{text-align:center}.items-table td:first-child,.items-table th:first-child{width:34px;text-align:center}.items-table td:nth-child(3),.items-table th:nth-child(3){width:70px;text-align:center}.items-table td:last-child,.items-table td:nth-child(4),.items-table th:last-child,.items-table th:nth-child(4){width:110px;text-align:right}.totals{margin:14px 0 14px auto;width:300px}.totals p{display:flex;justify-content:space-between;gap:18px}.amount-words{font-weight:700}.signature{display:flex;align-items:flex-end;gap:12px;margin-top:24px}.signature-line{display:inline-block;width:200px;border-bottom:1px solid #000}.invoice-note{color:#555;font-size:11px}@media print{body{background:#fff}.invoice-page{max-width:none;margin:0;padding:0}.screen-actions{display:none}.invoice-paper{box-shadow:none;padding:0}}@media (max-width:680px){main{margin:0 auto;padding:18px}h1{font-size:30px}.field-grid,.form-grid{grid-template-columns:1fr}.secondary-action{margin-left:0}.inline-form{display:block}.inline-form button{margin-top:10px;width:100%}}