:root{--em-black:#000;--em-surface:#1a1a1a;--em-surface-2:#242426;--em-text:#e8eaed;--em-text-muted:#cbd5e1;--em-text-dim:#9aa0a6;--em-accent:#e31e24;--em-hover:rgba(255,255,255,.06);--em-active:rgba(255,255,255,.12);--em-divider:rgba(255,255,255,.08);}
body.em-theme{font-family:"Google Sans","Roboto","Segoe UI","Helvetica Neue",Arial,sans-serif !important;letter-spacing:.1px;background:#000 !important;color:var(--em-text) !important;}
body.em-theme header,body.em-theme .header{background:#000 !important;border-bottom:1px solid var(--em-divider) !important;padding-left:0 !important;color:var(--em-text) !important;}
body.em-theme header > a:not(#em-logo):not(.em-settings-link):not(.em-avatar),body.em-theme header > .logo,body.em-theme header img:not(#em-logo img):not(.em-avatar img){display:none !important;}
body.em-theme #em-logo{display:inline-flex;align-items:center;height:48px;padding:0 20px;text-decoration:none;order:-1;flex:0 0 auto;}
body.em-theme #em-logo img{height:28px;width:auto;display:block;}
body.em-theme #search{max-width:760px !important;width:60% !important;background:var(--em-surface) !important;border-radius:24px !important;border:1px solid transparent !important;}
body.em-theme #search:focus-within{background:var(--em-surface-2) !important;border-color:var(--em-divider) !important;}
body.em-theme #search input{color:var(--em-text) !important;}
body.em-theme #search input::placeholder{color:var(--em-text-dim) !important;}
body.em-theme #em-topbar-profile{display:inline-flex;align-items:center;gap:14px;margin-left:auto;padding:0 18px;}
body.em-theme .em-settings-link{color:var(--em-text-muted) !important;font-size:14px;font-weight:500;text-decoration:none;padding:6px 10px;border-radius:6px;}
body.em-theme .em-settings-link:hover{background:var(--em-hover) !important;color:var(--em-text) !important;}
body.em-theme .em-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--em-accent);color:#fff !important;font-weight:600;font-size:13px;text-decoration:none;}
body.em-theme nav#sidebar,body.em-theme aside#sidebar,body.em-theme aside.sidebar,body.em-theme aside,body.em-theme [id="sidebar"],body.em-theme [class*="sidebar"]{background:#000 !important;border-right:1px solid var(--em-divider) !important;padding-top:8px !important;color:var(--em-text) !important;}
body.em-theme .em-nav-group{display:flex;flex-direction:column;}
body.em-theme .em-nav-group-bottom{margin-top:16px;padding-top:12px;border-top:1px solid var(--em-divider);}
body.em-theme .em-nav,body.em-theme nav#sidebar a:not(.em-hidden-native):not(#em-logo),body.em-theme aside a:not(.em-hidden-native):not(#em-logo),body.em-theme aside button{display:flex !important;align-items:center !important;gap:14px !important;padding:10px 20px !important;margin:2px 8px 2px 0 !important;color:var(--em-text-muted) !important;font-size:14px !important;font-weight:500 !important;text-decoration:none !important;border-radius:0 24px 24px 0 !important;transition:background .15s ease,color .15s ease !important;cursor:pointer !important;background:transparent !important;border:none !important;}
body.em-theme .em-nav:hover,body.em-theme nav#sidebar a:not(.em-hidden-native):hover,body.em-theme aside a:not(.em-hidden-native):hover,body.em-theme aside button:hover{background:var(--em-hover) !important;color:var(--em-text) !important;}
body.em-theme .em-nav.active,body.em-theme nav#sidebar a.router-link-active,body.em-theme aside a.router-link-active,body.em-theme nav#sidebar a.active,body.em-theme aside a.active{background:var(--em-active) !important;color:#fff !important;}
body.em-theme .em-hidden-native{display:none !important;}
body.em-theme .em-nav .material-icons{font-size:20px !important;opacity:.95 !important;color:var(--em-text-muted) !important;}
body.em-theme .em-nav:hover .material-icons,body.em-theme .em-nav.active .material-icons{color:var(--em-text) !important;}
body.em-theme #em-nav-trash:hover .material-icons{color:var(--em-accent) !important;}
body.em-theme .credits{padding:12px 20px !important;border-top:1px solid var(--em-divider) !important;margin-top:12px !important;font-size:12px !important;color:var(--em-text-dim) !important;background:#000 !important;}
body.em-theme main,body.em-theme .main{background:#000 !important;color:var(--em-text) !important;}
body.em-theme #em-filter-pills{display:flex;flex-wrap:wrap;gap:10px;padding:8px 24px 16px;border-bottom:1px solid var(--em-divider);}
body.em-theme .em-pill{display:inline-flex;align-items:center;gap:4px;padding:6px 14px;border-radius:18px;background:var(--em-surface);color:var(--em-text-muted);font-size:13px;font-weight:500;border:1px solid var(--em-divider);cursor:pointer;transition:background .12s ease,border-color .12s ease;}
body.em-theme .em-pill:hover{background:var(--em-surface-2);border-color:rgba(255,255,255,.18);color:var(--em-text);}
body.em-theme .em-pill .material-icons{font-size:18px !important;color:inherit !important;}
body.em-theme .breadcrumbs > a:first-child{display:none !important;}
body.em-theme .breadcrumbs{padding:16px 24px !important;background:transparent !important;color:var(--em-text) !important;font-size:20px !important;font-weight:500 !important;}
body.em-theme #listing.list .item{padding:10px 16px !important;border-bottom:1px solid var(--em-divider) !important;transition:background .12s ease !important;background:transparent !important;color:var(--em-text) !important;}
body.em-theme #listing.list .item:hover{background:var(--em-hover) !important;}
body.em-theme #listing.list .item.header{font-weight:500 !important;font-size:13px !important;color:var(--em-text-dim) !important;text-transform:none !important;border-bottom:1px solid var(--em-divider) !important;background:transparent !important;}
body.em-theme #listing .item .name{font-size:14px !important;font-weight:400 !important;color:var(--em-text) !important;}
body.em-theme #listing .item i.material-icons{color:var(--em-text-dim) !important;margin-right:16px !important;}
body.em-theme .action{color:var(--em-text) !important;}
body.em-theme .action:hover{background:var(--em-hover) !important;border-radius:50% !important;}
body.em-theme ::-webkit-scrollbar{width:10px;height:10px;}
body.em-theme ::-webkit-scrollbar-thumb{background:var(--em-surface-2);border-radius:10px;}
body.em-theme ::-webkit-scrollbar-thumb:hover{background:#3a3c3f;}
