.einvoice-shell{max-width:1240px;margin:0 auto;padding:28px 20px 64px}.einvoice-hero{text-align:center;padding:22px 0}.einvoice-hero h1{margin:8px 0 10px}
.einvoice-card,.einvoice-info{background:#fff;border:1px solid #e4e8ef;border-radius:18px;padding:22px;box-shadow:0 10px 30px rgba(17,37,63,.06)}.einvoice-info{margin-top:20px}
.einvoice-file-field{display:grid;gap:8px;font-weight:700}.einvoice-file-field input{min-height:48px;padding:10px;border:1px dashed #aab5c4;border-radius:12px;background:#f8fafc}.einvoice-file-field small,.einvoice-note{color:#667085;font-weight:400}
.einvoice-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.einvoice-actions button{min-height:44px;border:0;border-radius:10px;padding:0 18px;font-weight:700;cursor:pointer;background:#1264e8;color:#fff}.einvoice-actions .secondary{background:#eef3fb;color:#17365d}.einvoice-actions button:disabled{opacity:.55;cursor:not-allowed}
.einvoice-status{min-height:24px;margin-top:16px;font-weight:700}.einvoice-status.error{color:#a61b1b}.einvoice-status.success{color:#176b35}
.einvoice-summary,.einvoice-panel{margin-top:20px}.einvoice-summary h2,.einvoice-panel h2{font-size:1.05rem;margin:0 0 10px}
.einvoice-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.einvoice-summary-grid div{display:grid;gap:3px;background:#f7f9fc;border-radius:12px;padding:14px;min-width:0}.einvoice-summary-grid strong{font-size:1.05rem;overflow-wrap:anywhere;unicode-bidi:plaintext}.einvoice-summary-grid span{color:#667085}
.einvoice-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:12px}.einvoice-profile-grid>div{display:flex;align-items:center;gap:9px;background:#f7f9fc;padding:12px;border-radius:10px}.einvoice-pill{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:28px;border-radius:999px;padding:2px 9px;background:#e8edf4;font-weight:800}.einvoice-pill.ok{background:#e7f5ec;color:#176b35}.einvoice-pill.neutral{background:#eef2f6;color:#52606f}
.einvoice-metadata,.einvoice-party{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0}.einvoice-party{grid-template-columns:1fr}.einvoice-metadata div,.einvoice-party div{background:#f7f9fc;border-radius:10px;padding:12px;min-width:0}.einvoice-metadata dt,.einvoice-party dt{font-weight:800;margin-bottom:4px}.einvoice-metadata dd,.einvoice-party dd{margin:0;color:#4d5b6a;overflow-wrap:anywhere;unicode-bidi:plaintext}
.einvoice-party-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.einvoice-party-grid article{border:1px solid #e4e8ef;border-radius:14px;padding:14px}.einvoice-party-grid h3{margin:0 0 10px;font-size:1rem}
.einvoice-table-wrap{overflow:auto;border:1px solid #e4e8ef;border-radius:12px}.einvoice-table-wrap table{border-collapse:collapse;width:max-content;min-width:100%}.einvoice-table-wrap th,.einvoice-table-wrap td{padding:9px 11px;border-bottom:1px solid #edf0f4;border-inline-end:1px solid #edf0f4;text-align:start;vertical-align:top;white-space:pre-wrap;max-width:420px;overflow-wrap:anywhere;unicode-bidi:plaintext}.einvoice-table-wrap th{background:#f7f9fc;position:sticky;top:0;z-index:1}.einvoice-severity{font-weight:700}.einvoice-severity.error{color:#a61b1b}.einvoice-severity.warning{color:#8a4b05}
[dir="rtl"] .einvoice-table-wrap th,[dir="rtl"] .einvoice-table-wrap td{text-align:right}
@media(max-width:820px){.einvoice-summary-grid{grid-template-columns:repeat(2,1fr)}.einvoice-party-grid,.einvoice-profile-grid{grid-template-columns:1fr}.einvoice-metadata{grid-template-columns:1fr}.einvoice-actions button{width:100%}}
@media(max-width:520px){.einvoice-card{padding:16px}.einvoice-summary-grid{grid-template-columns:1fr}}
