.sb { position: fixed; z-index: 900; color: #f3ead6; background: #0f1623; font-size: .92rem; }
.sb strong { color: #e3c377; }
.sb__dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #e3c377; flex: none; }
.sb__sub { opacity: .7; font-size: .85rem; }
.sb--panel { top: 0; right: 0; bottom: 0; width: 320px; display: flex; flex-direction: column; gap: 10px; padding: 16px; overflow-y: auto; border-left: 2px solid #d1a85c; box-shadow: -8px 0 30px rgba(0, 0, 0, .25); }
.sb__head { display: flex; align-items: center; }
.sb__head strong { flex: 1; font-size: 1.05rem; }
.sb__x { width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: none; color: #f3ead6; font-size: 1.1rem; cursor: pointer; }
.sb__co { font-weight: 800; font-size: 1.05rem; overflow-wrap: anywhere; }
.sb__meta { display: flex; justify-content: space-between; gap: 8px; opacity: .8; font-size: .85rem; }
.sb__count { font-weight: 800; color: #e3c377; white-space: nowrap; }
.sb__h { margin: 8px 0 0; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #e3c377; }
.sb__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 240px; overflow-y: auto; }
.sb__list li { padding: 8px 10px; border-radius: 8px; background: rgba(255, 255, 255, .06); }
.sb__sum { margin-top: 2px; font-size: .82rem; opacity: .85; overflow-wrap: anywhere; }
.sb__notes { width: 100%; box-sizing: border-box; padding: 9px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; background: rgba(255, 255, 255, .06); color: inherit; font: inherit; resize: vertical; }
.sb__end { margin-top: auto; padding: 11px; border: 0; border-radius: 10px; background: #e3c377; color: #1a1405; font-weight: 800; font-size: 1rem; cursor: pointer; }
.sb__end:hover { background: #f0d48e; }
.sb__back { text-align: center; color: #f3ead6; opacity: .75; font-size: .85rem; text-decoration: underline; }
.sb--tab { top: 40%; right: 0; border-radius: 12px 0 0 12px; border: 2px solid #d1a85c; border-right: 0; }
.sb__tab { display: flex; align-items: center; padding: 12px 14px; border: 0; background: none; color: #f3ead6; font-weight: 800; cursor: pointer; }
.sb:not(.sb--panel):not(.sb--tab) { top: 0; left: 0; right: 0; height: 40px; display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 2px solid #d1a85c; }
.has-supportpanel #root { margin-right: 320px; }
.has-supportread body { padding-top: 40px; }
.sb__overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(10, 14, 22, .6); }
.sb__dlg { width: min(520px, 100%); padding: 24px; border-radius: 16px; background: var(--paper, #fff); color: var(--ink, #1b1f27); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.sb__dlg h2 { margin: 0 0 8px; }
.sb__lab { display: block; margin-top: 14px; font-weight: 700; }
.sb__ta { display: block; width: 100%; margin-top: 6px; padding: 10px 12px; border: 1.5px solid var(--line, #d9d4c5); border-radius: 10px; font: inherit; resize: vertical; box-sizing: border-box; }
.sb__err { min-height: 1.2em; margin: 8px 0 0; color: #a3261d; font-size: .9rem; }
.sb__hint { margin: 10px 0 0; font-size: .9rem; color: #7a5b13; }
.sb__btns { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
@media (max-width: 820px) { .sb--panel { width: 100%; top: auto; height: 55vh; border-left: 0; border-top: 2px solid #d1a85c; } .has-supportpanel #root { margin-right: 0; margin-bottom: 55vh; } }
