.osa-root { display: grid; gap: 14px; min-width: 0; max-width: 100%; overflow-x: clip; }
.osa-root h2 { font-size: 16px; letter-spacing: .04em; }
.osa-band { background: linear-gradient(135deg, rgba(234, 179, 8, 0.09), rgba(202, 138, 4, 0.02)); border: 1px solid rgba(234, 179, 8, 0.30); border-radius: 16px; padding: 16px 20px; min-width: 0; }
.osa-band-h { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 16px; }
.osa-emoji { font-size: 20px; line-height: 1; }
.osa-band-h strong { color: #fde047; font-size: 18px; font-weight: 900; letter-spacing: -0.025em; }
.osa-tag { color: #9aa3b5; font-size: 12px; font-weight: 500; }
.osa-pace { margin-left: auto; color: rgba(254, 240, 138, 0.8); font-size: 12px; font-weight: 650; }
.osa-slice { display: block; margin: 12px 0 0; }
.osa-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.osa-box { background: rgba(16, 18, 24, 0.4); border: 1px solid rgba(42, 47, 60, 0.4); border-radius: 12px; padding: 16px; min-width: 0; }
.osa-box.current { border-color: rgba(250, 204, 21, 0.6); background: rgba(250, 204, 21, 0.10); box-shadow: 0 10px 24px rgba(234, 179, 8, 0.10); }
.osa-box-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.osa-box-l { color: #9aa3b5; font-size: 12px; letter-spacing: .05em; font-weight: 750; text-transform: uppercase; }
.osa-current { color: #fde047; font-size: 10px; letter-spacing: .05em; font-weight: 800; margin: 0; text-transform: uppercase; }
.osa-box-v { font-size: 30px; font-weight: 900; color: #facc15; letter-spacing: -0.025em; margin-top: 4px; }
.osa-box-s { color: #9aa3b5; font-size: 12px; margin-top: 8px; }
@media (min-width: 640px) { .osa-box-v { font-size: 36px; } }
.osa-foot-note { color: #9aa3b5; font-size: 11px; margin: 12px 0 0; }
.osa-foot-note strong { color: #f4f6fb; font-weight: 650; }
.osa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.osa-stat, .osa-mini, .osa-card, .osa-wcard { background: #101218; border: 1px solid #242833; border-radius: 14px; padding: 12px; min-width: 0; }
.osa-stat { min-height: 168px; display: flex; flex-direction: column; gap: 4px; }
.tone-blue { border-color: #1e3a5f; background: linear-gradient(165deg, #102033, #101218 60%); }
.tone-green { border-color: #145c3a; background: linear-gradient(165deg, #0e3d28, #101218 60%); }
.tone-gold { border-color: #6a5412; background: linear-gradient(165deg, #3a3012, #101218 60%); }
.tone-amber, .tone-warn { border-color: #6a4a12; }
.tone-red, .tone-bad { border-color: #7f1d32; }
.tone-teal { border-color: #115e56; }
.osa-stat-h, .osa-bar-lab, .osa-gci-h, .osa-mrow-top, .osa-dsec-h, .osa-modal-h { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.osa-card-h { display: flex; justify-content: flex-start; gap: 8px; align-items: center; }
.osa-stat-h { color: #9aa3b5; font-weight: 700; }
.osa-stat-v { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; }
.tone-blue .osa-stat-v { color: #60a5fa; }
.tone-green .osa-stat-v { color: #3ddc84; }
.tone-gold .osa-stat-v { color: #f5c542; }
.osa-sub, .osa-type-hint, .osa-chip-title { color: #9aa3b5; font-size: 12px; margin: 0; }
.osa-bar { margin-top: 6px; }
.osa-bar-lab { font-size: 11px; color: #9aa3b5; }
.osa-track { height: 6px; background: #1c2230; border-radius: 99px; overflow: hidden; display: flex; margin-top: 4px; }
.osa-fill { height: 100%; background: currentColor; width: 0; }
.tone-blue .osa-fill { background: #60a5fa; }
.tone-green .osa-fill, .osa-fill.ok { background: #3ddc84; }
.tone-gold .osa-fill, .osa-fill.gold { background: #f5c542; }
.osa-fill.warn { background: #f0a43a; }
.osa-fill.bad { background: #f43f5e; }
.osa-minis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.osa-mini { border-color: transparent; background: #101218; text-align: center; }
.osa-mini-v { font-size: 30px; font-weight: 800; }
.osa-mini-v.ok, .ok { color: #3ddc84; }
.osa-mini-v.warn, .warn { color: #f0a43a; }
.osa-mini-v.bad, .bad { color: #f43f5e; }
.osa-mini-v.blue, .blue { color: #60a5fa; }
.osa-mini-v.teal { color: #2ee0c5; }
.osa-mini-l { font-size: 12px; font-weight: 700; margin: 2px 0 6px; }
.osa-mini.tone-blue .osa-mini-l { color: #60a5fa; }
.osa-mini.tone-green .osa-mini-l { color: #3ddc84; }
.osa-mini.tone-amber .osa-mini-l, .osa-mini.tone-warn .osa-mini-l { color: #f0a43a; }
.osa-mini.tone-red .osa-mini-l, .osa-mini.tone-bad .osa-mini-l { color: #fb7185; }
.osa-mini.tone-teal .osa-mini-l { color: #2ee0c5; }
.osa-chip-title { letter-spacing: .08em; font-size: 10px; font-weight: 750; margin: 6px 0 4px; }
.osa-chip { display: flex; justify-content: space-between; gap: 6px; background: #12151c; border: 1px solid #2a2f3c; border-radius: 8px; padding: 3px 6px; font-size: 11px; margin-top: 3px; min-width: 0; }
.osa-chip span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.osa-chip-n { white-space: nowrap; }
.osa-lb, .osa-cards-wrap, .osa-weekly { min-width: 0; }
.osa-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; min-width: 0; }
.osa-table, .osa-dtable { width: 100%; border-collapse: collapse; font-size: 14px; }
.osa-table th, .osa-table td, .osa-dtable th, .osa-dtable td { padding: 8px 8px; text-align: right; border-bottom: 1px solid #1c2230; white-space: nowrap; }
.osa-dtable th, .osa-dtable td { white-space: normal; font-size: 14px; font-weight: 400; }
.osa-dtable th small { display: block; color: #9aa3b5; font-size: 9px; font-weight: 400; line-height: 1.25; }
.osa-table th:nth-child(2), .osa-table td:nth-child(2), .osa-dtable td:first-child, .osa-dtable th:first-child { text-align: left; }
.osa-sort { background: none; border: 0; color: #9aa3b5; font: inherit; font-size: 10px; letter-spacing: .04em; cursor: pointer; padding: 0; }
.osa-gold { box-shadow: inset 0 0 0 1px #6a5412; background: #16130c; }
.osa-name { font-weight: 700; }
.osa-mrows { display: none; }
.osa-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.osa-card { display: flex; flex-direction: column; gap: 8px; }
.osa-gci-box, .osa-prog, .osa-type, .osa-load { width: 100%; text-align: left; background: #14120c; border: 1px solid #3a2e12; border-radius: 10px; color: inherit; cursor: pointer; padding: 8px; }
.osa-gci-amt { font-size: 18px; font-weight: 800; margin: 4px 0; }
.osa-gci-amt strong { color: #f5c542; font-size: 20px; }
.osa-gci-amt strong.ok { color: #3ddc84; }
.osa-gci-amt strong.warn { color: #f0a43a; }
.osa-gci-amt strong.bad { color: #f43f5e; }
.osa-gci-amt span { color: #9aa3b5; font-size: 12px; }
.osa-stack { display: flex; height: 8px; background: #1c2230; border-radius: 99px; overflow: hidden; }
.osa-stack-closed { background: #3ddc84; }
.osa-stack-pend { background: repeating-linear-gradient(135deg, #f5c542, #f5c542 4px, #3a3012 4px, #3a3012 8px); }
.osa-escrow, .osa-need { font-size: 12px; color: #d5dbea; margin: 4px 0; }
.osa-foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 11px; color: #9aa3b5; }
.osa-foot > div { min-width: 0; }
.osa-foot b { display: block; color: #f4f6fb; font-size: 13px; }
.osa-foot div:last-child > b { color: #f5c542; }
.osa-split { margin: 0; font-size: 10px; color: #9aa3b5; }
.osa-split b { font-weight: 700; }
.osa-note { margin: 3px 0 0; font-size: 10px; line-height: 1.15; color: #9aa3b5; text-align: center; overflow-wrap: anywhere; }
.osa-foot .osa-note b { display: block; color: #f5c542; font-size: 10px; font-weight: 700; line-height: 1.2; }
.osa-foot .osa-note span { display: block; color: #9aa3b5; font-size: 10px; line-height: 1.15; font-weight: 500; }
.osa-type { display: flex; justify-content: space-between; margin-top: 4px; }
.osa-type-lab, .osa-type-hint { letter-spacing: .08em; font-size: 10px; }
.osa-weekly { border: 1px solid #242833; border-radius: 14px; overflow: hidden; }
.osa-weekly-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 0; }
.osa-weekly-refresh { border: 1px solid #2a2f3c; background: #1a1d25; color: #d5dbea; border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.osa-weekly > .osa-sub { padding: 0 16px 10px; }
.osa-weekly-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px 16px; }
.osa-wcard { padding: 0; overflow: hidden; }
.osa-wcard:nth-child(-n+3) { border-color: rgba(234, 179, 8, .26); background: rgba(234, 179, 8, .025); }
.osa-wtoggle { width: 100%; display: grid; grid-template-columns: minmax(130px, 1fr) minmax(240px, 1.4fr) auto; align-items: center; gap: 8px; border: 0; background: transparent; color: inherit; text-align: left; padding: 10px 12px; cursor: pointer; }
.osa-wname { display: flex; align-items: center; gap: 7px; min-width: 0; }
.osa-wname strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.osa-wstats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; text-align: center; }
.osa-wstats b { display: block; }
.osa-wstats span, .osa-wside { color: #9aa3b5; font-size: 11px; }
.osa-warrow { color: #9aa3b5; font-size: 20px; transform: rotate(0); transition: transform .15s ease; }
.osa-wtoggle[aria-expanded="true"] .osa-warrow { transform: rotate(90deg); }
.osa-wdetail { border-top: 1px solid #242833; padding: 4px 12px 10px; }
.osa-wside { margin-top: 7px; }
.osa-wpills { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 4px; }
.osa-wpill { border: 1px solid #2a2f3c; border-radius: 6px; padding: 2px 6px; background: rgba(255,255,255,.025); }
.osa-wpill.type-vip { color: #c084fc; }
.osa-wpill.type-virtual { color: #7dd3fc; }
.osa-wpill.type-phone { color: #fcd34d; }
.osa-wgci { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; border: 1px solid rgba(234,179,8,.25); background: rgba(234,179,8,.04); border-radius: 8px; padding: 7px 9px; font-size: 11px; }
.osa-wgci strong { color: #fde047; letter-spacing: .06em; }
.osa-wgci span { color: #9aa3b5; }
.osa-wtasks { color: #9aa3b5; font-size: 11px; margin: 8px 0 0; }
.osa-wnames { min-width: 0; margin-top: 8px; }
.osa-wnames-h { color: #9aa3b5; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.osa-wnames-list { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 4px; min-width: 0; }
.osa-wperson { overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
a.osa-wperson { color: #f5c542; text-decoration: underline; text-underline-offset: 2px; }
.osa-weekly-updated { border-top: 1px solid #242833; color: #9aa3b5; font-size: 11px; text-align: right; margin: 0; padding: 7px 16px; }
.osa-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .70); backdrop-filter: blur(4px); z-index: 40;
  display: grid; place-items: center; overflow: auto; padding: 24px 16px; }
.osa-modal { width: min(1024px, 100%); max-width: 100%; background: #12141a; border: 1px solid rgba(234, 179, 8, .25);
  border-radius: 16px; padding: 0 0 8px; min-width: 0; max-height: 92vh; overflow: auto; }
.osa-modal h3 { margin: 0; font-size: 16px; font-weight: 700; }
.osa-x { background: none; border: 0; color: #9aa3b5; font-size: 18px; cursor: pointer; }
.osa-scroll { width: 100%; max-width: 100%; overflow-x: auto; min-width: 0; }
.osa-dtable a { font-weight: 400; text-decoration: none; color: #f4f6fb; }
.osa-dtable td:nth-child(2), .osa-dtable td:nth-child(3) { color: #9aa3b5; font-weight: 400; }
.osa-fee h4, .osa-ret-foot h4 { font-size: 11px; letter-spacing: .06em; color: #9aa3b5; padding: 10px 20px 0; margin: 0; }
.osa-dsec { margin-top: 14px; }
.osa-modal.narrow { width: min(640px, 100%); }
.osa-modal.narrow .osa-dtable th, .osa-modal.narrow .osa-dtable td { text-align: center; }
.osa-modal.narrow .osa-dtable th:first-child, .osa-modal.narrow .osa-dtable td:first-child { text-align: left; }
.osa-dtable tr.type-all td { font-weight: 750; }
.osa-dtable tr.osa-pending-total td { background: rgba(255,255,255,.02); font-weight: 750; }
.osa-dtable tr.osa-pending-total td:nth-last-child(2) { color: #f4f6fb; }
.osa-dtable tr.osa-pending-total td:last-child { color: #fde047; }
.osa-dtable td.type-vip { color: #c084fc; font-weight: 650; }
.osa-dsec-h strong.pending { color: #7dd3fc; }
.osa-dsec-h strong.closed { color: #34d399; }
.osa-dsec-h strong.ratified { color: #facc15; }
.osa-empty { text-align: center; color: #9aa3b5; padding: 28px 16px; margin: 0; }
.osa-dmeta { margin-left: auto; color: #f5c542; display: flex; gap: 8px; }
.osa-fee-row, .osa-ret-line { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 8px; padding: 8px 20px; border-top: 1px solid #242833; font-size: 14px; align-items: start; }
.osa-fee-m { display: grid; gap: 2px; min-width: 0; }
.osa-fee-m span, .osa-fee-row span { color: #9aa3b5; font-size: 11px; font-weight: 400; }
.osa-fee-m b { font-size: 14px; }
.osa-ret-line { grid-template-columns: 1fr auto auto; }
.osa-empty { text-align: center; padding: 40px 16px; }
.osa-load { width: auto; background: #f5c542; color: #1c1504; font-weight: 800; border: 0; border-radius: 999px; padding: 8px 16px; }
a { color: #f4f6fb; }
@media (max-width: 1100px) {
  .osa-minis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .osa-cards, .osa-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .osa-boxes, .osa-stats, .osa-minis, .osa-cards, .osa-weekly-grid { grid-template-columns: 1fr 1fr; }
  .osa-cards, .osa-weekly-grid, .osa-boxes { grid-template-columns: 1fr; }
  .osa-weekly-grid { padding: 10px; }
  .osa-wtoggle { grid-template-columns: minmax(100px, 1fr) minmax(185px, 1.5fr) auto; padding: 9px; }
  .osa-table-wrap { display: none; }
  .osa-mrows { display: grid; gap: 8px; }
  .osa-mrow { background: #101218; border: 1px solid #242833; border-radius: 12px; padding: 10px; min-width: 0; }
  .osa-m-bits { display: flex; flex-wrap: wrap; gap: 8px; color: #9aa3b5; font-size: 12px; margin-top: 6px; }
  .osa-m-bits b { color: #f4f6fb; }
  .osa-m-bits.osa-m-side { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; }
  .osa-stat-v { font-size: 26px; }
  .osa-box-v { font-size: 24px; }
  .osa-fee-row { grid-template-columns: 1fr 1fr; }
  .osa-back { padding: 0; place-items: stretch; }
  .osa-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; padding: 0; }
  .osa-dtable th, .osa-dtable td { white-space: normal; }
  .osa-scroll { overflow-x: hidden; }
}
