.sc-page{width:100%;color:#202124}.sc-heading,.sc-tools,.sc-tabs{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.sc-heading{justify-content:space-between;margin:18px 0}.sc-heading h1{margin:8px 0}.sc-heading small{font-weight:800;letter-spacing:.1em}.sc-tabs{background:#1d1f23;padding:16px;border-radius:14px;margin-bottom:24px}.sc-tabs a{color:#ffdf00;font-weight:700;padding:8px}.sc-filters,.sc-settings{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;align-items:end;margin:20px 0}.sc-filters label,.sc-settings label{display:flex;flex-direction:column;gap:6px}.sc-settings{grid-template-columns:1fr}.sc-counts,.sc-cases{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px}.sc-counts a,.sc-case{display:block;border:1px solid #ddd;border-radius:14px;padding:18px;background:#fff;color:#202124;text-align:left;text-decoration:none}.sc-counts a{border-top:4px solid #ffdc00}.sc-counts span,.sc-counts small,.sc-case small{display:block;margin-top:8px}.sc-case h2{font-size:1.12rem;margin:10px 0}.sc-unread{border-color:#b69800;box-shadow:inset 5px 0 #ffdc00}.sc-protocol{font-size:.8rem;font-weight:750}.sc-workspace{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:24px;margin-top:20px}.sc-workspace>section,.sc-workspace>aside{min-width:0}.sc-workspace aside{background:#f3f4f5;border-radius:16px;padding:18px}.sc-log{height:420px;max-height:55vh;overflow:auto;background:#f1f2f4;border-radius:16px;padding:16px;border:1px solid #ddd}.sc-message{max-width:90%;background:white;border:1px solid #ddd;border-radius:12px;padding:12px;margin:10px 24px 10px 0;overflow-wrap:anywhere}.sc-message p{white-space:pre-wrap;margin:8px 0}.sc-message small{display:block;color:#595959;font-size:.75rem}.sc-own{background:#fff6b8;margin-left:24px;margin-right:0}.sc-internal{background:#fff0db;border:1px dashed #bd7721;border-radius:14px;padding:16px;margin-top:24px}.sc-internal article{border-bottom:1px solid #ddb98b;padding:12px 0}.sc-internal h2{font-size:1.1rem}.sc-timeline{border-left:3px solid #e0bb00;padding-left:24px}.sc-timeline li{padding:12px 0}.sc-timeline small{display:block}.sc-record{background:#fff;border:1px solid #dedede;border-radius:16px;padding:20px;margin:16px 0}.sc-record h2{font-size:1.2rem}.sc-workspace form textarea{width:100%;box-sizing:border-box}.sc-workspace form label{display:block;margin:12px 0}.sc-page input,.sc-page select,.sc-page textarea{max-width:100%;box-sizing:border-box}.sc-page button:disabled{opacity:.6;cursor:not-allowed}.sc-widget-body{padding:14px}.sc-widget-body p{font-size:.86rem}.sc-widget-body #jdc-history{max-height:300px;overflow:auto}.sc-widget-body #jdc-limits{color:#595959;font-size:.75rem}.sc-widget-body .sc-message{font-size:.9rem}.sc-widget-body form label{display:block;margin:10px 0}.sc-widget-body textarea,.sc-widget-body select,.sc-widget-body input{width:100%;box-sizing:border-box}.sc-widget-body #jdc-queue{background:#fff6b8;padding:10px;border-radius:8px;font-weight:700}#jota-discord-chat .sc-widget-body{max-height:75vh;overflow:auto}#jota-discord-chat.jdc-expanded #jdc-history{max-height:45vh}.sc-tools{margin:12px 0}@media(max-width:760px){.sc-workspace{grid-template-columns:1fr}.sc-log{height:340px}.sc-heading h1{font-size:1.5rem}.sc-tabs{gap:4px}.sc-tabs a{font-size:.86rem}.sc-workspace aside{padding:12px}.sc-page .sc-tools>*{max-width:100%}}@media(prefers-reduced-motion:reduce){.sc-page *{scroll-behavior:auto}}
.sc-transfer-dialog{max-width:500px;width:calc(100% - 48px);border:0;border-radius:18px;padding:24px;box-shadow:0 20px 100px #0008}.sc-transfer-dialog::backdrop{background:#0009}.sc-transfer-dialog label{display:block;margin:14px 0}.sc-transfer-dialog select,.sc-transfer-dialog textarea{width:100%;box-sizing:border-box}.sc-transfer-dialog textarea{min-height:90px}
.sc-page .sc-heading{position:static;background:#1d1f23;color:#fff;border-radius:16px;padding:20px;min-height:0}#main .sc-page .sc-heading h1{color:#ffdf00;line-height:1.2}#main .sc-page .sc-heading small{color:#fff}.sc-page .sc-heading a{background:#ffdf00;color:#17191d}.sc-page .sc-case,.sc-page .sc-record{color:#202124;background:#fff}.sc-page .sc-case h2,.sc-page .sc-record h2{color:#202124}.sc-page input,.sc-page textarea,.sc-page select{background:#fff;color:#202124}#jota-discord-chat [hidden]{display:none!important}#jota-discord-chat #jdc-panel{padding:0;background:#fff;color:#202124;overflow:hidden;width:min(410px,calc(100vw - 24px));max-height:calc(100dvh - 145px)}#jota-discord-chat #jdc-panel header{position:static!important;display:flex;align-items:center;gap:10px;background:#1d1f23;color:#ffdf00;padding:14px;border:0;min-height:0}#jota-discord-chat #jdc-panel header strong{flex:1}#jota-discord-chat .sc-widget-body{padding:12px;max-height:calc(100dvh - 220px);overflow-y:auto}#jota-discord-chat #jdc-panel input,#jota-discord-chat #jdc-panel select,#jota-discord-chat #jdc-panel textarea{background:#fff;color:#202124;border:1px solid #b4b6bc}#jota-discord-chat #jdc-history{background:#f1f2f4;border-radius:10px;height:180px;min-height:100px;overflow-y:auto}#jota-discord-chat .sc-message{color:#202124}#jota-discord-chat .sc-message strong,#jota-discord-chat .sc-message p{color:#202124}#jota-discord-chat .sc-widget-body #jdc-queue{color:#202124;font-size:12px;margin:8px 0}#jota-discord-chat.sc-widget-active #jdc-limits,#jota-discord-chat.sc-widget-active .sc-widget-body>p:first-child,#jota-discord-chat.sc-widget-active .sc-widget-body>label{display:none}#jota-discord-chat.sc-widget-active #jdc-history{height:200px}#jota-discord-chat #jdc-form label{margin:6px 0}#jota-discord-chat #jdc-message{min-height:60px;max-height:90px;padding:8px}#jota-discord-chat #jdc-form button{padding:10px 14px;min-height:42px}#jota-discord-chat #jdc-status{font-size:11px;margin:6px 0}#jota-discord-chat.jdc-expanded #jdc-panel{max-height:92dvh;height:92dvh}#jota-discord-chat.jdc-expanded .sc-widget-body{max-height:calc(92dvh - 64px);width:100%;box-sizing:border-box}#jota-discord-chat.jdc-expanded #jdc-history{height:40dvh;max-height:45dvh}@media(max-width:600px){#jota-discord-chat #jdc-panel{max-height:calc(100dvh - 105px)}#jota-discord-chat .sc-widget-body{max-height:calc(100dvh - 175px)}#jota-discord-chat.sc-widget-active #jdc-history{height:160px}}
.sc-page [hidden]{display:none!important}#jota-discord-chat:not(.jdc-expanded) #jdc-panel{position:fixed;right:16px;bottom:88px;top:auto;max-height:calc(100dvh - 112px)}#jota-discord-chat:not(.jdc-expanded) .sc-widget-body{max-height:calc(100dvh - 185px)}#jota-discord-chat.sc-widget-active:not(.jdc-expanded) #jdc-history{height:155px}#jota-discord-chat #jdc-toggle{position:fixed;right:16px;bottom:20px}#jota-discord-chat .sc-widget-body details{margin:8px 0}#jota-discord-chat .sc-widget-body summary{cursor:pointer;font-weight:700}@media(max-width:600px){#jota-discord-chat #jdc-toggle{bottom:78px}#jota-discord-chat:not(.jdc-expanded) #jdc-panel{right:12px;bottom:128px;max-height:calc(100dvh - 145px)}#jota-discord-chat:not(.jdc-expanded) .sc-widget-body{max-height:calc(100dvh - 225px)}#jota-discord-chat.sc-widget-active:not(.jdc-expanded) #jdc-history{height:130px}}

#wa-contact-dialog{width:min(92vw,500px);padding:28px;border:2px solid #ffdf22;border-radius:18px;color:#f7f7f7;background:#1b1d1f}#wa-contact-dialog::backdrop{background:#000b}#wa-contact-dialog [hidden]{display:none!important}#wa-contact-dialog form{margin-top:20px}#wa-contact-dialog p{line-height:1.6}

/* Keep chat text readable on its white surface. */
#jota-discord-chat .sc-widget-body>p{color:#34383f}
