.ic-page { max-width: 1320px; margin: 0 auto; color: #263247; font-size: 15px; line-height: 1.6; }
.ic-page *, .ic-detail-dialog * { box-sizing: border-box; }
.ic-page ::selection, .ic-detail-dialog ::selection { background: #dbe7ff; color: #203a67; }
.ic-heading { margin: 0 0 24px; }
.ic-heading h1 { margin: 0 0 6px; font-size: 28px; line-height: 1.3; font-weight: 650; }
.ic-heading p { margin: 0; color: #606e84; }
.ic-surface { padding: 28px; margin: 0 0 20px; background: #fff; border: 1px solid #dce2eb; border-radius: 12px; }
.ic-loading { min-height: 160px; color: #606e84; }
.ic-entry { max-width: 980px; }
.ic-page fieldset { min-width: 0; border: 0; margin: 0; padding: 0; }
.ic-page fieldset + fieldset { margin-top: 28px; }
.ic-page legend, .ic-page h2 { padding: 0; margin: 0; font-size: 18px; font-weight: 650; line-height: 1.5; }
.ic-page legend { margin-bottom: 12px; }
.ic-help { margin: 6px 0 16px; font-size: 14px; color: #606e84; }
.ic-grid { display: grid; gap: 20px 24px; }
.ic-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ic-page label { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-weight: 500; }
.ic-page input, .ic-page select { width: 100%; min-width: 0; height: 42px; padding: 9px 12px; font: inherit; line-height: 22px; color: #263247; background: #fff; border: 1px solid #b9c4d5; border-radius: 6px; caret-color: #315b9b; }
.ic-page input::placeholder { color: #69788f; }
.ic-page input:hover, .ic-page select:hover { border-color: #7f95b4; }
.ic-page input:focus, .ic-page select:focus { border-color: #4167a9; outline: 2px solid #c1d2ed; outline-offset: 1px; }
.ic-page button { font: inherit; cursor: pointer; }
.ic-page button:focus-visible, .ic-detail-dialog button:focus-visible { outline: 2px solid #315b9b; outline-offset: 3px; }
.ic-page button:disabled, .ic-page input:disabled, .ic-page select:disabled { cursor: not-allowed; opacity: .62; }
.ic-button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 18px; color: #344c72; background: #fff; border: 1px solid #bdc9da; border-radius: 6px; font-weight: 500; white-space: nowrap; }
.ic-button:hover:not(:disabled) { background: #f1f5fb; border-color: #718eb7; }
.ic-button:active:not(:disabled) { background: #e5edf9; }
.ic-primary { color: #fff; background: #4167a9; border-color: #4167a9; }
.ic-primary:hover:not(:disabled) { color: #fff; background: #34568f; border-color: #34568f; }
.ic-primary:active:not(:disabled) { background: #294775; }
.ic-link { display: inline-flex; min-height: 36px; padding: 5px 0; color: #315b9b; border: 0; background: transparent; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.ic-link:hover:not(:disabled) { color: #203f71; }
.ic-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.ic-actions .ic-help { margin: 0; }
.ic-error { margin: 20px 0 0; color: #a92c37; overflow-wrap: anywhere; }
.ic-service { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 20px; }
.ic-service p { margin: 0; }
.ic-flow-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.ic-company { margin: 12px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.ic-company span { margin-left: 18px; color: #606e84; font-weight: 400; white-space: nowrap; }
.ic-flow-heading .ic-help { margin-bottom: 0; }
.ic-flow-message { margin: 20px 0 0; max-width: 75ch; }
.ic-next-step { margin-top: 24px; max-width: 820px; }
.ic-next-step p { margin-top: 0; }
.ic-next-step > .ic-button { margin-top: 18px; }
.ic-code-form { max-width: 540px; }
.ic-code-form label { max-width: 280px; }
.ic-notice { margin: 20px 0 0; color: #765120; max-width: 75ch; }
.ic-results-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.ic-results-heading h2 span { margin-left: 14px; color: #606e84; font-size: 14px; font-weight: 400; }
.ic-table-wrap { overflow-x: auto; }
.ic-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ic-table th { padding: 12px 10px; background: #f3f6fa; font-weight: 500; color: #56657b; text-align: left; white-space: nowrap; }
.ic-table td { padding: 16px 10px; border-bottom: 1px solid #e3e8f0; vertical-align: top; }
.ic-table tbody tr:hover { background: #f7f9fc; }
.ic-number { overflow-wrap: anywhere; min-width: 150px; }
.ic-table .ic-amount { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ic-table td:first-child { white-space: nowrap; }
.ic-empty { margin: 0; padding: 28px 0; color: #606e84; }
.ic-pagination { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 20px; font-variant-numeric: tabular-nums; }
.ic-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.ic-detail-dialog { max-width: calc(100vw - 32px); }
.ic-detail-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 28px; margin: 0; }
.ic-detail-fields dt { color: #606e84; font-size: 13px; margin-bottom: 4px; }
.ic-detail-fields dd { margin: 0; color: #263247; overflow-wrap: anywhere; }
.ic-detail-subtitle { font-size: 16px; margin: 28px 0 12px; }
.ic-detail-items { overflow-x: auto; }
.ic-detail-items table { border-collapse: collapse; width: 100%; font-size: 13px; }
.ic-detail-items th, .ic-detail-items td { border-bottom: 1px solid #e3e8f0; padding: 10px; text-align: left; white-space: nowrap; }
.ic-detail-items th { background: #f3f6fa; color: #56657b; font-weight: 500; }
@media (max-width: 900px) {
  .ic-surface { padding: 22px; }
  .ic-table thead { display: none; }
  .ic-table, .ic-table tbody, .ic-table tr { display: block; }
  .ic-table tr { padding: 12px 0; border-bottom: 1px solid #dce2eb; }
  .ic-table td { display: flex; gap: 16px; justify-content: space-between; border: 0; padding: 5px 0; text-align: right; }
  .ic-table td::before { content: attr(data-label); color: #606e84; flex: 0 0 90px; text-align: left; }
  .ic-table td:last-child { justify-content: flex-end; }
  .ic-table td:last-child::before { display: none; }
  .ic-number { min-width: 0; }
}
@media (max-width: 600px) {
  .ic-heading { margin-bottom: 18px; }
  .ic-heading h1 { font-size: 24px; }
  .ic-surface { padding: 18px 14px; }
  .ic-two, .ic-detail-fields { grid-template-columns: minmax(0, 1fr); }
  .ic-grid { gap: 16px; }
  .ic-flow-heading { flex-direction: column; gap: 12px; }
  .ic-company span { display: block; margin-left: 0; }
  .ic-actions { gap: 10px; }
  .ic-actions .ic-help { flex-basis: 100%; }
  .ic-pagination { justify-content: space-between; gap: 8px; }
  .ic-pagination .ic-button { padding-inline: 12px; }
  .app-shell.invoice-collection-host .side { width: 128px !important; }
  .app-shell.invoice-collection-host .content { padding: 10px; }
}
.ic-invoice-type { display: block; margin-top: 4px; color: #606e84; font-size: 12px; }
@media (max-width: 900px) { .ic-table .ic-number { flex-wrap: wrap; } .ic-invoice-type { flex-basis: 100%; } }
a.ic-button { text-decoration: none; margin-top: 16px; }
