.streaming-content { padding-top: 26px; }
.streaming-page { width: min(1540px, 100%); margin: 0 auto; display: grid; gap: 19px; }
.streaming-hero { min-height: 146px; padding: 25px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #24405f; border-radius: 9px; background: radial-gradient(circle at 88% 20%, rgba(47,125,246,.17), transparent 25%), linear-gradient(115deg, rgba(47,125,246,.1), rgba(32,200,117,.035) 62%, rgba(154,92,246,.06)), #0b1728; box-shadow: var(--shadow); }
.streaming-hero h1 { margin: 0; font-size: clamp(23px, 2.2vw, 31px); line-height: 1.12; letter-spacing: -.035em; }
.streaming-hero p:not(.section-label) { max-width: 720px; margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.streaming-hero .section-label { margin-bottom: 9px; color: #73a8ff; letter-spacing: .14em; }
.streaming-hero-actions { display: flex; gap: 9px; flex: 0 0 auto; }
.streaming-hero-actions button { min-height: 43px; }
.streaming-status { min-height: 18px; color: var(--muted); font-size: 11px; }
.streaming-status[data-state="success"] { color: #62d99a; }
.streaming-status[data-state="error"] { color: #ff8793; }
.streaming-alert { padding: 12px 15px; border: 1px solid rgba(242,81,98,.28); border-radius: 7px; background: rgba(242,81,98,.08); color: #ffc1c7; font-size: 12px; }
.streaming-metrics { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.streaming-metric { min-height: 122px; padding: 16px; display: grid; grid-template-columns: 37px minmax(0,1fr); gap: 11px; align-items: start; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(255,255,255,.018), transparent 52%), var(--panel); box-shadow: var(--shadow); }
.streaming-metric-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 7px; font-size: 19px; }
.streaming-metric-icon.blue { color: #78adff; background: rgba(47,125,246,.14); }.streaming-metric-icon.green { color: #58df99; background: rgba(32,200,117,.13); }.streaming-metric-icon.orange { color: #ffc45c; background: rgba(245,165,36,.13); }.streaming-metric-icon.purple { color: #c39bff; background: rgba(154,92,246,.13); }.streaming-metric-icon.cyan { color: #63d8ee; background: rgba(34,183,217,.13); }.streaming-metric-icon.red { color: #ff8894; background: rgba(242,81,98,.13); }
.streaming-metric-copy { min-width: 0; }.streaming-metric-copy small { display: block; min-height: 30px; color: #c5d0df; font-size: 10px; line-height: 1.35; }.streaming-metric-copy strong { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; font-size: clamp(17px,1.35vw,22px); line-height: 1.1; white-space: nowrap; }.streaming-metric-copy em { display: block; margin-top: 7px; color: var(--muted); font-size: 9px; font-style: normal; line-height: 1.4; }
.streaming-focus { display: grid; grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(130px, .65fr)); gap: 11px; }
.streaming-focus-lead, .streaming-focus-item { min-height: 72px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 7px; background: #0b1727; }
.streaming-focus-lead { border-color: rgba(245,165,36,.24); background: linear-gradient(100deg, rgba(245,165,36,.075), transparent), #0b1727; }
.streaming-focus-icon { width: 35px; height: 35px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 7px; color: #ffc35d; background: rgba(245,165,36,.13); font-size: 19px; }
.streaming-focus-lead strong, .streaming-focus-item strong { display: block; font-size: 12px; }.streaming-focus-lead span, .streaming-focus-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.35; }.streaming-focus-item strong { font-size: 16px; }.streaming-focus-item span { margin-top: 2px; }
.streaming-tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); }
.streaming-tabs button { min-height: 47px; padding: 0 17px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.streaming-tabs button i { font-size: 16px; }.streaming-tabs button[aria-selected="true"] { border-color: var(--blue); color: #fff; }.streaming-tabs button:hover { color: #fff; }
.streaming-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: var(--shadow); }
.streaming-panel-head { margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.streaming-panel-head h2 { margin: 0; font-size: 17px; }.streaming-panel-head p { margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.streaming-panel-head .primary-button, .streaming-panel-head .secondary-button { min-height: 36px; }
.streaming-toolbar { margin-bottom: 13px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.streaming-toolbar > label:not(.streaming-search):not(.streaming-checkbox) { width: 155px; }
.streaming-toolbar select { height: 37px; padding: 0 28px 0 10px; color: #ced8e6; font-size: 10px; }
.streaming-search { min-width: 210px; max-width: 305px; flex: 1; position: relative; }
.streaming-search i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 15px; }
.streaming-search input { height: 37px; padding: 0 11px 0 33px; font-size: 10px; }
.streaming-search input::placeholder { color: #71819a; }
.streaming-checkbox { min-height: 37px; display: inline-flex; align-items: center; gap: 8px; color: #c8d3e1; font-size: 10px; cursor: pointer; }
.streaming-checkbox input { width: 16px; height: 16px; accent-color: var(--blue); }
.streaming-table-wrap { width: 100%; overflow: auto; border: 1px solid var(--line-soft); border-radius: 7px; }
.streaming-table { width: 100%; min-width: 915px; border-collapse: collapse; }
.streaming-table th { padding: 12px 13px; color: #aab9cc; background: #0c1727; border-bottom: 1px solid var(--line); font-size: 9px; font-weight: 750; text-align: left; text-transform: uppercase; letter-spacing: .045em; }
.streaming-table td { padding: 12px 13px; border-bottom: 1px solid var(--line-soft); color: #dce5f1; font-size: 10px; vertical-align: middle; }
.streaming-table tbody tr:last-child td { border-bottom: 0; }.streaming-table tbody tr:hover { background: rgba(255,255,255,.018); }
.streaming-person { min-width: 150px; display: flex; align-items: center; gap: 9px; }
.streaming-avatar { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid rgba(47,125,246,.18); border-radius: 50%; background: rgba(47,125,246,.13); color: #83b4ff; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.streaming-person-copy { min-width: 0; }.streaming-person-copy strong, .streaming-person-copy small { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.streaming-person-copy strong { color: #f1f5fb; font-size: 10px; }.streaming-person-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.streaming-service { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }.streaming-service-mark { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 6px; color: #89b4f7; background: #12223a; font-size: 10px; font-weight: 800; }
.streaming-money-stack strong, .streaming-money-stack small { display: block; white-space: nowrap; }.streaming-money-stack strong { font-size: 10px; }.streaming-money-stack small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.streaming-chip { min-height: 22px; padding: 4px 7px; display: inline-flex; align-items: center; gap: 4px; border-radius: 5px; font-size: 9px; font-weight: 750; white-space: nowrap; }
.streaming-chip.green { color: #6ce2a2; background: rgba(32,200,117,.12); }.streaming-chip.orange { color: #ffc45d; background: rgba(245,165,36,.13); }.streaming-chip.red { color: #ff8592; background: rgba(242,81,98,.12); }.streaming-chip.blue { color: #83b1ff; background: rgba(47,125,246,.13); }.streaming-chip.muted { color: #a7b3c4; background: rgba(145,160,182,.12); }.streaming-chip.purple { color: #c39bff; background: rgba(154,92,246,.13); }
.streaming-state-stack { display: grid; justify-items: start; gap: 5px; }
.streaming-row-actions { min-width: 175px; display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.streaming-row-actions .row-action { width: 30px; height: 30px; font-size: 14px; }.streaming-row-actions .row-action[disabled] { opacity: .36; cursor: not-allowed; }
.streaming-row-actions a[aria-disabled="true"] { opacity: .42; cursor: not-allowed; }
.streaming-table-empty { min-height: 245px; padding: 30px 18px; display: grid; justify-items: center; align-content: center; text-align: center; }.streaming-empty-icon { width: 48px; height: 48px; margin-bottom: 13px; display: grid; place-items: center; border-radius: 12px; background: rgba(47,125,246,.12); color: #80b0ff; font-size: 23px; }.streaming-table-empty strong { font-size: 12px; }.streaming-table-empty p { margin: 7px 0 14px; color: var(--muted); font-size: 10px; line-height: 1.5; }.streaming-table-empty .primary-button { min-height: 34px; font-size: 10px; }
.streaming-pagination { min-height: 49px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 10px; }.streaming-pagination > div { display: flex; gap: 6px; }.streaming-pagination .secondary-button { width: 33px; min-height: 32px; padding: 0; }.streaming-pagination .secondary-button:disabled { opacity: .36; cursor: not-allowed; }
.streaming-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 11px; }
.streaming-platform-card { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 7px; background: #0a1524; }
.streaming-platform-head { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }.streaming-platform-name { display: flex; align-items: center; gap: 9px; min-width: 0; }.streaming-platform-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.streaming-platform-name .streaming-service-mark { width: 30px; height: 30px; font-size: 13px; }
.streaming-platform-fields { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }.streaming-platform-fields label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; }.streaming-platform-fields input { height: 35px; padding: 0 9px; font-size: 10px; }.streaming-platform-foot { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; }.streaming-platform-foot strong { color: #64db9a; font-size: 10px; }.streaming-platform-foot .secondary-button { min-height: 31px; padding: 0 10px; font-size: 9px; }
.streaming-privacy-note { margin: 0; display: flex; align-items: start; gap: 7px; color: #8091a8; font-size: 9px; line-height: 1.5; }.streaming-privacy-note i { flex: 0 0 auto; color: #63a3ff; font-size: 14px; }
.streaming-dialog { width: min(570px, calc(100vw - 28px)); max-height: min(86vh, 760px); padding: 22px; overflow: auto; border: 1px solid #2d425e; border-radius: 9px; background: #0d1929; color: var(--text); box-shadow: 0 25px 80px rgba(0,0,0,.55); }
.streaming-dialog[open] { display: block; }.streaming-dialog::backdrop { background: rgba(0,5,13,.76); backdrop-filter: blur(5px); }
.streaming-dialog form { display: grid; gap: 16px; }.streaming-dialog .form-grid { gap: 12px; }.streaming-dialog label { display: grid; gap: 7px; color: #cbd5e1; font-size: 10px; font-weight: 650; }.streaming-dialog label input, .streaming-dialog label select, .streaming-dialog label textarea { padding: 10px; font-size: 11px; }.streaming-dialog label input, .streaming-dialog label select { min-height: 39px; }.streaming-dialog label textarea { min-height: 72px; resize: vertical; }.streaming-dialog .streaming-checkbox { display: flex; align-items: center; gap: 8px; font-weight: 500; line-height: 1.4; }.streaming-dialog .streaming-checkbox input { flex: 0 0 auto; }.streaming-dialog .streaming-checkbox span { color: #c2cedc; }
.streaming-dialog-head { margin-bottom: 18px; display: flex; align-items: start; justify-content: space-between; gap: 14px; }.streaming-dialog-head h2 { margin: 0; font-size: 20px; }.streaming-dialog-head .section-label { margin: 0 0 6px; }.streaming-dialog-head .icon-button { flex: 0 0 auto; }.streaming-dialog-actions { margin-top: 4px; display: flex; justify-content: flex-end; gap: 8px; }.streaming-form-hint { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }.streaming-dialog-context { margin: -6px 0 16px; color: #adbbce; font-size: 11px; line-height: 1.55; }
.streaming-ledger-dialog { width: min(700px, calc(100vw - 28px)); }.streaming-ledger-list { display: grid; gap: 8px; }.streaming-ledger-entry { padding: 11px 12px; display: grid; grid-template-columns: 33px minmax(0,1fr) auto auto; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 7px; background: #0a1524; }.streaming-ledger-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 6px; font-size: 16px; }.streaming-ledger-entry.payment .streaming-ledger-icon { color: #61d999; background: rgba(32,200,117,.12); }.streaming-ledger-entry.expense .streaming-ledger-icon { color: #ffbd56; background: rgba(245,165,36,.12); }.streaming-ledger-copy { min-width: 0; }.streaming-ledger-copy strong, .streaming-ledger-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.streaming-ledger-copy strong { font-size: 10px; }.streaming-ledger-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }.streaming-ledger-amount { font-size: 10px; font-weight: 750; white-space: nowrap; }.streaming-ledger-amount.negative { color: #ff8894; }.streaming-ledger-entry .row-action { flex: 0 0 auto; }.streaming-ledger-empty { padding: 24px 12px; color: var(--muted); font-size: 11px; text-align: center; }
.streaming-period-toolbar { margin: -4px 0 10px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: end; gap: 12px; }.streaming-period-toolbar label { min-width: 0; display: grid; gap: 6px; color: #cbd5e1; font-size: 10px; font-weight: 650; }.streaming-period-toolbar select { width: 100%; min-height: 39px; padding: 8px 10px; font-size: 10px; }.streaming-period-pagination { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 9px; white-space: nowrap; }.streaming-period-pagination button { width: 34px; min-height: 34px; padding: 0; }.streaming-period-pagination button:disabled, .streaming-ledger-actions button:disabled { opacity: .42; cursor: not-allowed; }.streaming-ledger-actions { margin-bottom: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }.streaming-ledger-actions > div { display: flex; gap: 7px; }.streaming-ledger-actions button { min-height: 34px; padding: 0 10px; font-size: 9px; white-space: nowrap; }
.streaming-dialog :focus-visible, .streaming-panel :focus-visible, .streaming-hero :focus-visible, .streaming-tabs :focus-visible { outline: 2px solid #77aaff; outline-offset: 2px; }
.streaming-dialog [data-form-error] { color: #ff8b96; font-size: 10px; }
.streaming-confirm-actions { display: flex; justify-content: flex-end; gap: 8px; }
.sr-only { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1380px) {
  .streaming-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .streaming-focus { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .streaming-focus-lead { grid-column: 1 / -1; }
}
@media (max-width: 1120px) {
  .streaming-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .streaming-focus { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 880px) {
  .streaming-hero { align-items: flex-start; flex-direction: column; padding: 22px; }
  .streaming-hero-actions { width: 100%; }.streaming-hero-actions button { flex: 1; }
  .streaming-focus { grid-template-columns: repeat(3, minmax(0,1fr)); }.streaming-focus-lead { grid-column: 1 / -1; }
  .streaming-catalog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .streaming-content { padding: 15px 12px 25px; }.streaming-page { gap: 15px; }
  .streaming-hero { min-height: 0; padding: 19px 17px; }.streaming-hero h1 { font-size: 23px; }.streaming-hero-actions { flex-direction: column; }.streaming-hero-actions button { width: 100%; }
  .streaming-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }.streaming-metric { min-height: 112px; padding: 12px; grid-template-columns: 31px minmax(0,1fr); gap: 8px; }.streaming-metric-icon { width: 31px; height: 31px; font-size: 16px; }.streaming-metric-copy strong { font-size: 16px; white-space: normal; overflow-wrap: anywhere; }.streaming-metric-copy small { font-size: 9px; }.streaming-metric-copy em { font-size: 8px; }
  .streaming-focus { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }.streaming-focus-lead { grid-column: 1 / -1; }.streaming-focus-item { min-height: 64px; padding: 11px; }
  .streaming-tabs button { min-height: 43px; padding-inline: 11px; font-size: 10px; }.streaming-tabs button i { font-size: 14px; }
  .streaming-panel { padding: 15px 12px; }.streaming-panel-head { align-items: flex-start; flex-direction: column; }.streaming-panel-head > button { width: 100%; }.streaming-toolbar { align-items: stretch; flex-direction: column; }.streaming-toolbar > label:not(.streaming-search):not(.streaming-checkbox), .streaming-search { width: 100%; max-width: none; }.streaming-toolbar select { width: 100%; }
  .streaming-checkbox { min-height: 32px; }.streaming-table-empty { min-height: 220px; padding: 22px 12px; }.streaming-pagination { align-items: flex-start; flex-direction: column; padding-top: 12px; }
  .streaming-dialog { padding: 18px 15px; }.streaming-dialog .form-grid { grid-template-columns: 1fr; }.streaming-dialog .form-grid .span-2 { grid-column: auto; }.streaming-dialog-actions { flex-direction: column-reverse; }.streaming-dialog-actions button { width: 100%; }
  .streaming-period-toolbar { grid-template-columns: 1fr; align-items: stretch; }.streaming-period-pagination { justify-content: space-between; }.streaming-ledger-actions { align-items: stretch; flex-direction: column; }.streaming-ledger-actions > div { flex-direction: column; }.streaming-ledger-actions button { width: 100%; }
  .streaming-ledger-entry { grid-template-columns: 30px minmax(0,1fr) auto; gap: 8px; }.streaming-ledger-entry > .row-action { grid-column: 2 / 4; justify-self: end; }.streaming-ledger-copy strong { white-space: normal; }.streaming-ledger-amount { grid-column: 3; grid-row: 1; }
  .streaming-platform-fields { grid-template-columns: 1fr 1fr; }.streaming-platform-foot { align-items: flex-start; flex-direction: column; }.streaming-platform-foot .secondary-button { width: 100%; }
  .streaming-refresh { width: 38px; min-width: 38px; min-height: 38px; padding: 0; }.streaming-refresh span { display: none; }
}
