/* MarshChat 0.8.9: accessible, lighter color surfaces and more compact controls. */
:root[data-mc-theme="neon"]{--mc-bg:#edf8f6;--mc-side:#dcefeb;--mc-panel:#fff;--mc-border:#b7d4cd;--mc-text:#183b3b;--mc-muted:#526f6b;--mc-accent:#147f75;--mc-accent-text:#fff;--mc-hover:#c9e7e0;--mc-glow:#147f7520;color-scheme:light}
:root[data-mc-theme="aurora"]{--mc-bg:#f4f1fc;--mc-side:#e9e3f8;--mc-panel:#fff;--mc-border:#d4c9ea;--mc-text:#302746;--mc-muted:#6e6282;--mc-accent:#7754ba;--mc-accent-text:#fff;--mc-hover:#ded3f4;--mc-glow:#7754ba20;color-scheme:light}
:root[data-mc-theme="sunset"]{--mc-bg:#fff3ef;--mc-side:#ffe5df;--mc-panel:#fff;--mc-border:#eed0c6;--mc-text:#482e32;--mc-muted:#806466;--mc-accent:#bd5b55;--mc-accent-text:#fff;--mc-hover:#ffdad1;--mc-glow:#bd5b5520;color-scheme:light}
:root[data-mc-theme="gold"]{--mc-bg:#fbf7ed;--mc-side:#f3ead4;--mc-panel:#fff;--mc-border:#e1d5b8;--mc-text:#383322;--mc-muted:#766e5a;--mc-accent:#82641d;--mc-accent-text:#fff;--mc-hover:#eee1bf;--mc-glow:#82641d20;color-scheme:light}
:root[data-mc-theme="arctic"]{--mc-bg:#edf3fa;--mc-side:#f8fbff;--mc-panel:#fff;--mc-border:#c9d9e8;--mc-text:#172b41;--mc-muted:#526980;--mc-accent:#297cc6;--mc-accent-text:#fff;--mc-hover:#e5effa;--mc-glow:#297cc626;color-scheme:light}
html[data-mc-theme] body{font-family:ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:14px!important;line-height:1.45!important;letter-spacing:normal!important;background:var(--mc-bg)!important;color:var(--mc-text)!important}
html[data-mc-theme] body > aside,html[data-mc-theme] body > main > header,html[data-mc-theme] .mc-tabs-v089{background:var(--mc-side)!important;color:var(--mc-text)!important;border-color:var(--mc-border)!important;background-image:none!important;box-shadow:none!important}
html[data-mc-theme] body > aside{width:216px!important;min-width:190px!important;padding:12px!important;overflow-y:auto!important;border-right:1px solid var(--mc-border)!important}
html[data-mc-theme] body > main{background:var(--mc-bg)!important;color:var(--mc-text)!important;min-width:0!important}
html[data-mc-theme] body > main > header{padding:12px 20px!important;min-height:58px!important}
html[data-mc-theme] body > main > header h1{font-size:20px!important;letter-spacing:-.025em!important}
html[data-mc-theme] body > main > .toolbar{padding:7px 14px!important;background:var(--mc-bg)!important;box-shadow:none!important;gap:6px!important;border-color:var(--mc-border)!important}
html[data-mc-theme] body > aside .brand{font-size:18px!important;padding:8px 5px 12px!important;letter-spacing:-.03em!important}
html[data-mc-theme] body > aside .section{font-size:10px!important;margin:12px 6px 7px!important;color:var(--mc-muted)!important}
html[data-mc-theme] body > aside .network{background:transparent!important;color:var(--mc-text)!important;padding:8px!important;border-radius:8px!important;border:1px solid transparent!important;box-shadow:none!important}
html[data-mc-theme] body > aside .network:hover{background:var(--mc-hover)!important}
html[data-mc-theme] body > aside .network.active,html[data-mc-theme] body > aside .network.selected{background:var(--mc-panel)!important;border-color:var(--mc-border)!important}
html[data-mc-theme] body :is(button,select,input,textarea){font-family:inherit!important;font-size:13px!important;box-shadow:none!important;border-radius:8px!important;letter-spacing:normal!important}
html[data-mc-theme] body :is(button,select){padding:7px 10px!important;min-height:32px!important;line-height:1.25!important;font-weight:600!important}
html[data-mc-theme] body button{transition:background-color .14s ease,border-color .14s ease!important}
html[data-mc-theme] body button:hover{filter:none!important;background:var(--mc-hover)!important;color:var(--mc-text)!important}
html[data-mc-theme] body button:focus-visible,html[data-mc-theme] body a:focus-visible{outline:2px solid var(--mc-accent)!important;outline-offset:2px!important}
html[data-mc-theme] body #compose button{background:var(--mc-accent)!important;color:var(--mc-accent-text)!important;border:1px solid var(--mc-accent)!important}
html[data-mc-theme] body #compose{margin:10px 14px!important;padding:6px!important;border:1px solid var(--mc-border)!important;border-radius:11px!important;background:var(--mc-panel)!important;box-shadow:none!important}
html[data-mc-theme] body #messages{padding:12px 18px!important;background:var(--mc-bg)!important;color:var(--mc-text)!important}
html[data-mc-theme] body #messages .line{padding:4px 2px!important;border-bottom:1px solid var(--mc-border)!important}
html[data-mc-theme] body :is(.toolbar,header,aside) :is(button,select){background:var(--mc-panel)!important;color:var(--mc-text)!important;border-color:var(--mc-border)!important}
.mc-tabs-v089{display:flex;gap:5px;align-items:center;padding:7px 15px;border-bottom:1px solid var(--mc-border);flex-shrink:0;overflow-x:auto}
.mc-shortcuts-v089{display:grid;gap:3px;border-bottom:1px solid var(--mc-border);padding-bottom:12px;margin:5px 0 12px}
html[data-mc-theme] .mc-tabs-v089 .mc-tab-v089,html[data-mc-theme] .mc-shortcuts-v089 .mc-tab-v089{background:transparent!important;border:1px solid transparent!important;color:var(--mc-text)!important;min-height:34px!important;padding:8px 11px!important;font-size:12px!important;font-weight:600!important;text-align:left!important;white-space:nowrap;cursor:pointer}
html[data-mc-theme] .mc-shortcuts-v089 .mc-tab-v089{width:100%;}
html[data-mc-theme] .mc-tab-v089:hover{background:var(--mc-hover)!important}
html[data-mc-theme] .mc-tab-v089[aria-selected="true"]{background:var(--mc-panel)!important;border-color:var(--mc-border)!important;color:var(--mc-accent)!important}
.mc-panel-v089{display:none;flex:1;min-height:0;overflow:hidden;background:#f8fafc!important}
.mc-panel-v089 .mc-frame-v089{display:block;height:100%;width:100%;border:0;background:#f8fafc}
.mc-frame-v089[hidden]{display:none!important}
body[data-mc-section="people"] .mc-panel-v089,body[data-mc-section="photos"] .mc-panel-v089{display:flex}
body[data-mc-section="people"] > main > :not(header):not(.mc-tabs-v089):not(.mc-panel-v089),body[data-mc-section="photos"] > main > :not(header):not(.mc-tabs-v089):not(.mc-panel-v089){display:none!important}
.mc-panel-error{padding:22px;color:#833}
@media(max-width:750px){html[data-mc-theme] body > aside{width:175px!important;min-width:150px!important}.mc-tabs-v089{padding:5px!important}}
@media(max-width:620px){html[data-mc-theme] body > aside{width:auto!important;min-width:0!important}.mc-shortcuts-v089{display:flex;flex-wrap:wrap}.mc-shortcuts-v089 .mc-tab-v089{width:auto!important}.mc-panel-v089{min-height:60vh}}
