.sumo-editor-shell {border:1px solid #334867;border-radius:16px;padding:0;width:calc(100vw - 24px);height:calc(100dvh - 24px);max-width:1800px;max-height:none;background:#0b1425;color:#e8edf8;overflow:hidden;box-sizing:border-box;}
.sumo-editor-shell::backdrop {background:#020712cf;}
.sumo-editor-shell iframe {display:block;width:100%;height:100%;border:0;}
.sumo-workbench {margin:0;background:#0b1425;color:#e5ecf8;font:14px system-ui,"Segoe UI",sans-serif;display:flex;flex-direction:column;height:100dvh;overflow:hidden;color-scheme:dark;}
.sumo-workbench * {box-sizing:border-box;}
.sumo-workbench [hidden] {display:none!important;}
.sumo-workbench button {font:inherit;background:#19283e;color:#e5ecf8;border:1px solid #354865;border-radius:7px;min-height:36px;padding:6px 12px;cursor:pointer;}
.sumo-workbench button:focus-visible {outline:2px solid #6edaf7;outline-offset:2px;}
.sumo-workbench button:disabled {opacity:.45;cursor:default;}
.sumo-workbench .primary {background:#05857e;border-color:#23c3ab;}
.sumo-top {padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #28354e;}
.sumo-top strong {font-size:20px;letter-spacing:.3px;}.sumo-top strong span {font-size:16px;color:#b8c8e2;margin-left:10px;}
.sumo-top small {display:block;color:#8ea4c5;margin-top:3px;}
.sumo-notice {padding:7px 18px;background:#15243c;color:#b7ccec;font-size:12px;}
.sumo-toolbar {display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:10px 18px;border-bottom:1px solid #28354e;}
#pair-clock {font-variant-numeric:tabular-nums;font-weight:700;margin-left:8px;color:#75dfd1;}
#draft-status {margin-left:auto;color:#9eb6d4;font-size:12px;}
.sumo-error {color:#ffd5d5;background:#532532;padding:8px 18px;margin:0;max-height:80px;overflow:auto;}
.sumo-layout {display:grid;grid-template-columns:minmax(0,1fr) 310px;flex:1;min-height:0;}
.sumo-program {display:flex;flex-direction:column;min-width:0;min-height:0;}
.sumo-actors {display:flex;background:#0e192b;padding:10px 12px 0;gap:8px;}
.sumo-actors button {flex:1;border-radius:9px 9px 0 0;border-bottom:3px solid transparent;text-align:left;}
.sumo-actors small {float:right;opacity:.7;}
#actor-A {color:#f7cd6c;}#actor-B {color:#ff929c;}
#actor-A[aria-selected=true] {border-bottom-color:#f4bc42;background:#342d22;}
#actor-B[aria-selected=true] {border-bottom-color:#f76a7c;background:#38212e;}
.sumo-modebar {display:flex;align-items:center;gap:6px;padding:9px 12px;flex-wrap:wrap;background:#101e32;}
.sumo-modebar [aria-pressed=true] {background:#345480;border-color:#648cc6;}
#program-owner {margin-right:auto;font-size:12px;color:#9fb2cf;}
.sumo-code-help {padding:7px 12px;color:#a6b6d0;font-size:12px;background:#152138;}
.sumo-editors {position:relative;flex:1;min-height:0;}
.sumo-actor-panel,.sumo-blocks,.sumo-code {position:absolute;inset:0;}
.sumo-blocks {background:#101b2b;}.sumo-code .CodeMirror {height:100%;font:14px/1.65 Consolas,monospace;}
.sumo-actor-panel[inert] {opacity:.7;}
.sumo-results {overflow:auto;padding:14px;border-left:1px solid #2b3b56;background:#0d182a;}
.sumo-results h2 {font-size:15px;margin:0;display:flex;justify-content:space-between;gap:8px;}.sumo-results h2 span {font-size:12px;color:#74dccb;}
.sumo-results>p {font-size:12px;color:#91a8c8;line-height:1.6;}
.sumo-results article {padding:12px;border:1px solid #3e4350;border-radius:10px;margin-bottom:12px;border-top:3px solid #e8b647;}
.sumo-results #result-B {border-top-color:#f36b7d;}
.sumo-results h3 {margin:0 0 10px;font-size:15px;display:flex;justify-content:space-between;}.sumo-results h3 span {font-size:11px;font-weight:400;color:#95acca;}
.sumo-motors {display:flex;align-items:center;gap:12px;color:#a2b7d6;font-size:12px;}.sumo-motors b {color:#e7f3ff;font-size:21px;font-variant-numeric:tabular-nums;}
.sumo-results h4,.sumo-results summary {font-size:12px;color:#a4b8d5;margin:12px 0 5px;}.sumo-results summary {cursor:pointer;}
.sumo-results pre {white-space:pre-wrap;overflow-wrap:anywhere;font:12px/1.6 Consolas,monospace;margin:0;color:#c8dfed;}
.sumo-log {height:130px;overflow:auto;background:#071222;border-radius:5px;padding:6px;}
.sumo-workbench .blocklyToolboxDiv {background:#122137;color:#c9dcf2;}.sumo-workbench .blocklyMainBackground {fill:#101b2b;stroke:none;}
.sumo-workbench .blocklyFlyoutBackground {fill:#1b3047;}.sumo-workbench .blocklyTreeRow {min-height:30px;}
@media(max-width:1000px) {.sumo-layout {grid-template-columns:minmax(0,1fr) 245px;}.sumo-top,.sumo-toolbar {padding:8px 10px;}.sumo-modebar button {padding:5px 8px;}.sumo-results {padding:9px;}}
@media(max-width:680px) {.sumo-workbench {overflow:auto;height:auto;min-height:100dvh;}.sumo-layout {display:flex;flex-direction:column;}.sumo-program {height:68dvh;min-height:440px;}.sumo-results {border-left:0;border-top:1px solid #2b3b56;display:grid;grid-template-columns:1fr 1fr;gap:8px;}.sumo-results>h2,.sumo-results>p {grid-column:1/-1;}.sumo-results article {min-width:0;}#draft-status {width:100%;margin-left:0;}.sumo-top strong span {display:block;margin-left:0;font-size:13px;}.sumo-top button {font-size:12px;}}
