/* Seven saved Stitch recurring-register exports share this composition.
   Real schedule states, server summaries and guarded actions stay authoritative. */
.tv-stitch-recurring {padding:24px;background:var(--tv-surface-muted,#f3f7fb);}
.tv-stitch-recurring .workspace-hero {display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px;}
.tv-stitch-recurring .workspace-hero h2 {font-size:28px;letter-spacing:-.03em;margin:0 0 8px;}
.tv-stitch-recurring .workspace-hero p {max-width:90ch;color:var(--tv-text-muted,#4d6178);margin:0;line-height:1.6;}
.tv-stitch-recurring .workspace-hero-actions {display:flex;flex-wrap:wrap;gap:8px;}
.tv-stitch-recurring .workspace-stats {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0;}
.tv-stitch-recurring .workspace-stat {background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;padding:20px;display:grid;gap:8px;min-width:0;}
.tv-stitch-recurring .workspace-stat > span {color:var(--tv-text-muted,#4d6178);font-size:13px;}
.tv-stitch-recurring .workspace-stat > strong {font-size:26px;font-weight:700;font-variant-numeric:tabular-nums;}
.tv-stitch-recurring .workspace-stat > small {font-size:12px;color:var(--tv-text-muted,#4d6178);}
.tv-stitch-recurring .recurring-register {background:#fff;border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;overflow-x:auto;}
.tv-recurring-credit-notes .recurring-register table {min-width:1180px;}
.tv-recurring-credit-notes .recurring-register tbody td:nth-child(5) {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
.tv-recurring-supplier-credits .recurring-register table {min-width:1180px;}
.tv-recurring-supplier-credits .recurring-register tbody td:nth-child(5) {text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;}
.tv-stitch-recurring .recurring-main {display:grid;gap:16px;min-width:0;}
.tv-stitch-recurring .recurring-filters {display:grid;grid-template-columns:minmax(200px,1fr) minmax(140px,220px) auto auto;align-items:end;gap:12px;padding:20px;border-bottom:1px solid var(--tv-border,#c7d4e2);}
.tv-stitch-recurring .recurring-filters label {display:grid;gap:8px;}
.tv-stitch-recurring .recurring-filters :is(input,select) {width:100%;}
.tv-stitch-recurring table {min-width:850px;}
.tv-stitch-recurring :is(td,th) {vertical-align:top;}
.tv-stitch-surface.tv-stitch-recurring th button {border:0;background:transparent;padding:4px 0;min-height:36px;justify-content:flex-start;text-align:left;font-weight:600;}
.tv-stitch-recurring td:first-child {min-width:160px;}
.tv-stitch-recurring td > div {display:grid;gap:6px;}
.tv-stitch-recurring tbody tr:hover {background:#f4f7ff;}
.tv-stitch-recurring .recurring-pagination {display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 20px;border-top:1px solid var(--tv-border,#c7d4e2);}
.tv-stitch-recurring .ledger-pagination-actions {display:flex;gap:8px;}
.tv-stitch-recurring .tv-operational-empty {padding:32px;}
.tv-stitch-recurring .attention-list {border:1px solid var(--tv-border,#c7d4e2);border-radius:10px;padding:16px;margin:16px 0;background:#eef3ff;}
.tv-stitch-recurring .tv-route-context {display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--tv-text-muted,#4d6178);margin-top:12px;}
.tv-stitch-recurring .recurring-selected-panel {
  display:grid;gap:18px;min-width:0;margin:0;padding:20px;
  border:1px solid var(--tv-border,#c7d4e2);border-radius:12px;background:#fff;
}
.tv-stitch-recurring .recurring-selected-header {
  display:flex;justify-content:space-between;align-items:flex-start;gap:16px;
  padding-bottom:14px;border-bottom:1px solid var(--tv-border,#c7d4e2);
}
.tv-stitch-recurring .recurring-selected-header h2 {margin:4px 0;font-size:20px;line-height:1.3;overflow-wrap:anywhere;}
.tv-stitch-recurring .recurring-selected-header p {margin:0;color:var(--tv-text-muted,#4d6178);font-size:12px;overflow-wrap:anywhere;}
.tv-stitch-recurring .recurring-selected-eyebrow {font-size:10px;letter-spacing:.1em;font-weight:750;color:var(--tv-text-muted,#4d6178);}
.tv-stitch-recurring .recurring-selected-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;min-width:0;
}
.tv-stitch-recurring .recurring-selected-grid .info-line {
  display:grid;grid-template-columns:minmax(90px,.8fr) minmax(0,1.2fr);gap:10px;
  padding:9px 0;border-bottom:1px solid #e8edf3;min-width:0;overflow-wrap:anywhere;
}
.tv-stitch-recurring .recurring-selected-policy {
  margin:0;padding:12px 14px;border-left:3px solid #0b65a5;background:#f3f7fb;
  color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.55;
}
.tv-stitch-recurring .recurring-selected-evidence-grid {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;min-width:0;
}
.tv-stitch-recurring .recurring-evidence-section {
  min-width:0;border:1px solid var(--tv-border,#c7d4e2);border-radius:10px;overflow:hidden;
}
.tv-stitch-recurring .recurring-evidence-section > header {
  display:flex;justify-content:space-between;align-items:baseline;gap:12px;
  padding:12px 14px;background:var(--tv-surface-muted,#f3f7fb);border-bottom:1px solid var(--tv-border,#c7d4e2);
}
.tv-stitch-recurring .recurring-evidence-section h3 {margin:0;font-size:14px;}
.tv-stitch-recurring .recurring-evidence-section > header span {color:var(--tv-text-muted,#4d6178);font-size:11px;white-space:nowrap;}
.tv-stitch-recurring .recurring-evidence-list {list-style:none;margin:0;padding:0;max-height:280px;overflow:auto;}
.tv-stitch-recurring .recurring-evidence-item {display:grid;gap:5px;padding:12px 14px;min-width:0;overflow-wrap:anywhere;}
.tv-stitch-recurring .recurring-evidence-item + .recurring-evidence-item {border-top:1px solid #e8edf3;}
.tv-stitch-recurring .recurring-evidence-item-head {display:flex;align-items:center;justify-content:space-between;gap:10px;}
.tv-stitch-recurring .recurring-evidence-item-head > strong {min-width:0;overflow-wrap:anywhere;}
.tv-stitch-recurring .recurring-evidence-item p {margin:0;color:var(--tv-text-muted,#4d6178);font-size:12px;line-height:1.45;}
.tv-stitch-recurring .recurring-evidence-item .recurring-evidence-error {color:#8a241d;}
.tv-stitch-recurring .recurring-evidence-empty {margin:0;padding:16px;color:var(--tv-text-muted,#4d6178);font-size:12px;}
.tv-stitch-recurring .recurring-selected-actions {
  display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
}
.tv-stitch-recurring :is(.recurring-selected-loading,.recurring-selected-error,.recurring-selected-empty) {
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:var(--tv-text-muted,#4d6178);
}
.tv-stitch-recurring .recurring-selected-loading strong,
.tv-stitch-recurring .recurring-selected-error strong,
.tv-stitch-recurring .recurring-selected-empty strong {color:var(--tv-text,#122c46);}
.tv-stitch-recurring .recurring-selected-error {color:#8a241d;}
@media(max-width:900px){.tv-stitch-recurring .workspace-stats{grid-template-columns:repeat(2,minmax(0,1fr));}.tv-stitch-recurring .workspace-hero{flex-direction:column;}}
@media(max-width:700px){.tv-stitch-recurring .recurring-selected-grid{grid-template-columns:1fr 1fr;}.tv-stitch-recurring .recurring-selected-panel{padding:14px;}}
@media(max-width:540px){.tv-stitch-recurring{padding:12px;}.tv-stitch-recurring .recurring-filters{grid-template-columns:1fr;}.tv-stitch-recurring .recurring-pagination{flex-direction:column;align-items:flex-start;}.tv-stitch-recurring .workspace-stat{padding:12px;}.tv-stitch-recurring .recurring-selected-header{flex-direction:column;}.tv-stitch-recurring .recurring-selected-grid{grid-template-columns:1fr;}.tv-stitch-recurring .recurring-selected-grid .info-line{grid-template-columns:1fr;gap:3px;}.tv-stitch-recurring .recurring-selected-evidence-grid{grid-template-columns:1fr;}.tv-stitch-recurring .recurring-evidence-section>header{align-items:flex-start;flex-direction:column;gap:4px;}}

/* Per-export ownership is attached by the one runtime route registry. The
   family shares a cadence-first frame, while the individual screens retain
   their own useful accent and content hierarchy. */
.tv-stitch-recurring:is(
  [data-stitch-route-screen="f16b9f217dfb4190a2f4634d1f0f107d"],
  [data-stitch-route-screen="faae2201b86a4c0e91110ad7d8d7b8f7"],
  [data-stitch-route-screen="7f96e0e9b67b4653801ff4ab9d795d7a"],
  [data-stitch-route-screen="56abd2abf78c463587a3e2df8014cd2e"],
  [data-stitch-route-screen="10094d6478804552bfde128b3cc020c1"],
  [data-stitch-route-screen="cd29812904044ecfaf7e84dcbcbf57b5"],
  [data-stitch-route-screen="434455262ceb4f34b190b32e87a4d839"]
) {
  border-radius: 16px;
  box-shadow: 0 1px 2px rgb(18 44 70 / 5%);
}
.tv-stitch-recurring:is(
  [data-stitch-route-screen="f16b9f217dfb4190a2f4634d1f0f107d"],
  [data-stitch-route-screen="faae2201b86a4c0e91110ad7d8d7b8f7"],
  [data-stitch-route-screen="7f96e0e9b67b4653801ff4ab9d795d7a"],
  [data-stitch-route-screen="56abd2abf78c463587a3e2df8014cd2e"],
  [data-stitch-route-screen="10094d6478804552bfde128b3cc020c1"],
  [data-stitch-route-screen="cd29812904044ecfaf7e84dcbcbf57b5"],
  [data-stitch-route-screen="434455262ceb4f34b190b32e87a4d839"]
) .recurring-register {
  box-shadow: 0 1px 2px rgb(18 44 70 / 5%);
}
.tv-stitch-recurring:is(
  [data-stitch-route-screen="f16b9f217dfb4190a2f4634d1f0f107d"],
  [data-stitch-route-screen="faae2201b86a4c0e91110ad7d8d7b8f7"],
  [data-stitch-route-screen="7f96e0e9b67b4653801ff4ab9d795d7a"],
  [data-stitch-route-screen="56abd2abf78c463587a3e2df8014cd2e"],
  [data-stitch-route-screen="10094d6478804552bfde128b3cc020c1"],
  [data-stitch-route-screen="cd29812904044ecfaf7e84dcbcbf57b5"],
  [data-stitch-route-screen="434455262ceb4f34b190b32e87a4d839"]
) .recurring-filters {
  background: var(--tv-surface-muted, #f3f7fb);
}
