/* Eira — système visuel partagé (site de guilde et panneau indépendant). */
:root{color-scheme:dark;--e-bg:#080f19;--e-sidebar:#0d1825;--e-surface:#121f2d;--e-surface-2:#172738;--e-border:#28394b;--e-text:#edf4f8;--e-muted:#93a7b9;--e-accent:#58dbc2;--e-accent-soft:#153f42;--e-gold:#f2b887;--e-radius:16px}
html{scroll-behavior:smooth}
body{background:var(--e-bg)!important;color:var(--e-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif}
:where(button,a,input,select,textarea):focus-visible{outline:2px solid var(--e-accent)!important;outline-offset:3px}
:where(button,select,input[type=checkbox],input[type=radio]){accent-color:var(--e-accent)}
:where(input,select,textarea){max-width:100%;font:inherit;color:var(--e-text)}
:where(input[type=text],input[type=search],input[type=number],input[type=time],select,textarea){background:#0d1926;border:1px solid #35495c;border-radius:10px;color:var(--e-text);min-height:43px;padding:10px 12px}
:where(input,textarea)::placeholder{color:#758b9e}
:where(select option,select optgroup){background:#0f1c2a;color:#ecf5f8}
:where(button){font:inherit}
:where(button:disabled){cursor:not-allowed;opacity:.55}
:where(h1,h2,h3){letter-spacing:-.025em}
:where(p){line-height:1.55}
:where(a){text-underline-offset:3px}
/* Site principal */
.app-shell{background:radial-gradient(circle at 88% 0%,#152938 0%,transparent 34%),var(--e-bg)}
.app-shell .sidebar{width:264px;background:var(--e-sidebar);border-right:1px solid var(--e-border);padding:27px 16px 19px;box-shadow:12px 0 36px #00000012}
.app-shell .brand{padding:0 12px 23px;gap:12px}
.app-shell .brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#9df3df,#37aeb1);color:#07232b;box-shadow:0 8px 24px #39dbc026}
.app-shell .brand strong{font-size:18px;letter-spacing:.18em}
.app-shell .brand small{font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#87a0b2}
.app-shell .guild{background:#142332;border:1px solid #283b4a;border-radius:14px;padding:14px;margin-bottom:25px;gap:12px}
.app-shell .guild-icon{width:38px;height:38px;background:#3b2530;border-color:#8b5860;color:#ffd3bd;border-radius:11px}
.app-shell .guild strong{font-size:13px}
.app-shell .guild small{margin-top:4px;color:#8fa4b4}
.app-shell .sidebar-nav{overflow-y:auto;scrollbar-width:thin;min-height:0;padding-bottom:8px;gap:4px}
.app-shell .sidebar-nav .eira-nav-heading{padding:15px 13px 6px;color:#6f8b9e;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.app-shell .sidebar-nav a,.app-shell .sidebar-bottom a{padding:11px 12px;border-radius:11px;font-size:13px;font-weight:650;color:#aebecb;transition:color .15s ease,background .15s ease}
.app-shell .sidebar-nav a:hover,.app-shell .sidebar-bottom a:hover{background:#1a2c3c;color:#fff}
.app-shell .sidebar-nav a.active{background:#19403f!important;color:#cbfff2!important;box-shadow:inset 3px 0 0 var(--e-accent)}
.app-shell .sidebar-nav a span{color:#91e5d2;filter:saturate(.65)}
.app-shell .sidebar-bottom{margin-top:auto;border-top:1px solid var(--e-border)}
.app-shell .main{margin-left:264px;width:calc(100% - 264px)}
.app-shell .topbar{height:76px;background:#0d1825ec;border-bottom:1px solid var(--e-border);padding:0 36px;backdrop-filter:blur(16px)}
.app-shell .topbar>div:first-of-type strong{font-size:15px}
.app-shell .topbar small{color:#8ca4b7}
.app-shell .profile{padding:6px 8px 6px 6px;border:1px solid #2a4152;background:#122331;border-radius:50px}
.app-shell .profile .avatar{background:#244c52;color:#c0f8e6}
.app-shell .content{width:100%;max-width:1520px;padding:40px clamp(20px,4vw,68px) 72px}
.app-shell .eyebrow{color:var(--e-accent);font-size:10px;letter-spacing:.17em}
.app-shell .welcome h1,.app-shell .content>h1{font-size:clamp(27px,2.8vw,36px);font-weight:780;margin-bottom:12px}
.app-shell .welcome p,.app-shell .content>p{color:var(--e-muted)}
.app-shell .stat-card,.app-shell .quick-grid a{background:var(--e-surface);border:1px solid var(--e-border);border-radius:16px;box-shadow:0 12px 38px #0000000a}
.app-shell .stat-card{padding:23px;min-height:110px}
.app-shell .stat-card>span{border-radius:12px;background:#173b40;color:var(--e-accent)}
.app-shell .stat-card small,.app-shell .quick-grid small{color:var(--e-muted)}
.app-shell .stat-card strong{color:#eff9fa}
.app-shell .quick-grid a{padding-top:24px;padding-bottom:24px}
.app-shell .quick-grid a:hover,.app-shell .stat-link:hover{border-color:#4e8b84;background:#192c39}
/* Tables et sections de données */
.app-shell :is(.table-wrap,.table-container,.database-layout,.filters,.members-table,.data-table,.season-card,.activity-card,.chart-card){border-color:var(--e-border)}
.app-shell :is(.data-card,.member-card,.members-stat,.stat-box,.summary-card,.activity-panel,.season-panel,.data-section,.panel,.chart-panel){border-radius:var(--e-radius);border-color:var(--e-border);box-shadow:none}
.app-shell :is(table){border-collapse:collapse}
.app-shell :is(table th){color:#bfd3dd}
.app-shell :is(table td){border-color:#2b3a4b}
.app-shell :is(table tbody tr:hover){background:#1c304033}
.app-shell :is(button:not(.menu-toggle),select,input,textarea){font-family:inherit}
/* Panneau indépendant */
body.eira-v9-page{--ep-bg:var(--e-bg);--ep-panel:var(--e-surface);--ep-card:var(--e-surface-2);--ep-border:var(--e-border);--ep-text:var(--e-text);--ep-muted:var(--e-muted);--ep-accent:var(--e-accent);--ep-accent-bg:var(--e-accent-soft);--ep-green:var(--e-accent)}
body.eira-panel-standalone,body.eira-panel-standalone main.config-page{background:var(--e-bg)!important;color:var(--e-text)!important}
.eira-panel-root .eira-control-frame{grid-template-columns:260px minmax(0,1fr);max-width:none;margin:0;min-height:100vh}
.eira-panel-root .eira-v9-sidebar{background:var(--e-sidebar);border-right:1px solid var(--e-border);padding:27px 13px 20px;position:sticky;top:0;height:100vh;overflow-y:auto;scrollbar-width:thin}
.eira-panel-root .eira-v9-brand{padding:3px 13px 14px;gap:12px}
.eira-panel-root .eira-v9-monogram{width:44px;height:44px;background:linear-gradient(140deg,#9af6dc,#36abae);color:#09242c;border-radius:13px;font-size:25px;box-shadow:0 10px 28px #58dbc224}
.eira-panel-root .eira-v9-brand strong{font-size:20px;letter-spacing:.17em}
.eira-panel-root .eira-v9-brand small{color:#90cbbf;font-size:9px;letter-spacing:.15em}
.eira-panel-root .eira-v9-side-intro{color:#829aae;padding:0 13px 16px;font-size:12px}
.eira-panel-root .eira-v9-group-label{color:#829bac;font-size:10px;letter-spacing:.17em;padding:18px 13px 7px}
.eira-panel-root .eira-v9-nav{gap:4px}
.eira-panel-root .eira-v9-navlink{padding:11px 12px;min-height:43px;font-weight:650;font-size:13px;border-radius:11px;color:#b3c3cf}
.eira-panel-root .eira-v9-navlink svg{color:#9db5c3}
.eira-panel-root .eira-v9-navlink:hover{background:#1c3240;color:#edf8f7}
.eira-panel-root .eira-v9-navlink.is-active{background:#19403f;border-color:#326e68;color:#d1fff2;box-shadow:inset 3px 0 0 var(--e-accent)}
.eira-panel-root .eira-v9-navlink.is-active svg{color:var(--e-accent)}
.eira-panel-root .eira-v9-side-footer{padding:23px 13px 0;color:#7993a5}
.eira-panel-root .eira-v9-workspace{background:radial-gradient(ellipse at 96% 0%,#1b363b44 0%,transparent 45%),var(--e-bg);padding:39px clamp(20px,4.5vw,76px) 76px}
.eira-panel-root .eira-v9-toolbar{border-color:var(--e-border);padding-bottom:25px;margin-bottom:20px}
.eira-panel-root .eira-v9-crumb,.eira-panel-root .eira-v9-kicker{color:var(--e-accent);letter-spacing:.17em;font-size:10px}
.eira-panel-root .eira-v9-page-title{color:var(--e-text);font-size:clamp(25px,2.8vw,36px)!important;font-weight:780}
.eira-panel-root .eira-v9-page-desc{color:var(--e-muted);font-size:13px}
.eira-panel-root .eira-v9-home{background:#182a39;color:#d3e2e7;border-color:var(--e-border);border-radius:10px;padding:11px 16px}
.eira-panel-root .eira-v9-home:hover{background:#1e3a42}
.eira-panel-root .eira-v9-welcome{background:radial-gradient(ellipse 80% 120% at 100% 0%,#23554c88 0%,transparent 65%),linear-gradient(130deg,#183239,#132332);border:1px solid #345c5d;border-radius:19px;padding:clamp(27px,4vw,42px);margin-bottom:22px}
.eira-panel-root .eira-v9-welcome h2{font-size:clamp(24px,3vw,37px);color:#f2fbf8}
.eira-panel-root .eira-v9-welcome p{color:#b6ccce}
.eira-panel-root .eira-v9-stat{background:var(--e-surface);border:1px solid var(--e-border);border-radius:15px;padding:21px}
.eira-panel-root .eira-v9-stat>svg{color:var(--e-accent)}
.eira-panel-root .eira-v9-stat-label{color:var(--e-muted)}
.eira-panel-root .eira-v9-stat-value{color:#f1fafa}
.eira-panel-root .eira-v9-quick{background:var(--e-surface);border-color:var(--e-border);border-radius:14px;padding:19px}
.eira-panel-root .eira-v9-quick>svg{color:var(--e-accent)}
.eira-panel-root .eira-v9-quick:hover{background:#1b3540;border-color:#46776f}
.eira-panel-root .eira-v9-info-card,.eira-panel-root .config-card{background:var(--e-surface)!important;border:1px solid var(--e-border)!important;border-radius:17px!important;padding:clamp(18px,2.5vw,29px)!important;margin-bottom:18px!important}
.eira-panel-root .eira-v9-info-card-head svg{color:var(--e-accent)}
.eira-panel-root .eira-v9-info-card>p{color:var(--e-muted);font-size:13px}
.eira-panel-root .config-card h2{font-size:18px!important;font-weight:760;color:var(--e-text)!important}
.eira-panel-root .config-card h3{color:var(--e-text)!important}
.eira-panel-root .config-card p{color:#9eafbd;font-size:13px;line-height:1.55}
.eira-panel-root .config-grid{grid-template-columns:minmax(250px,315px) minmax(0,1fr)!important;gap:20px!important}
.eira-panel-root .config-panel{background:transparent!important}
.eira-panel-root .eira-v9-setting-tile{background:#11202e;border:1px solid #2b4254;border-radius:12px;padding:17px}
.eira-panel-root .eira-v9-channel-label{color:#f0f9f8!important;gap:10px}
.eira-panel-root .eira-v9-field-description{margin-top:8px;color:#94aaba}
.eira-panel-root .permission-row{border-color:#2a4150}
.eira-panel-root input[type=text],.eira-panel-root input:not([type]),.eira-panel-root input[type=search],.eira-panel-root input[type=time],.eira-panel-root select,.eira-panel-root textarea{background:#0b1927!important;border:1px solid #395064!important;color:#e8f2f7!important;border-radius:10px!important;min-height:44px;padding:10px 12px!important}
.eira-panel-root :is(input,textarea)::placeholder{color:#8195a6}
.eira-panel-root .config-primary,.eira-panel-root .eira-v9-action-primary,.eira-panel-root .eira-spec-v4-save{background:var(--e-accent)!important;border:1px solid var(--e-accent)!important;color:#082b30!important;font-weight:760!important;border-radius:10px!important;min-height:43px;padding:11px 16px!important}
.eira-panel-root .config-primary:hover,.eira-panel-root .eira-v9-action-primary:hover{background:#8ef3dc!important;border-color:#8ef3dc!important}
.eira-panel-root .config-secondary,.eira-panel-root .eira-v9-action:not(.eira-v9-action-primary){background:#1b3040!important;color:#dcecf1!important;border:1px solid #3d5565!important;border-radius:10px!important;min-height:43px;padding:10px 16px!important}
.eira-panel-root .config-secondary:hover{background:#284252!important}
.eira-panel-root .eira-greeting-preview,.eira-panel-root .eira-rules-preview,.eira-panel-root .eira-trap-preview{background:#0d2230!important;border-left:3px solid var(--e-accent)!important;color:#e4eeef}
.eira-panel-root .eira-v11-access{border-color:#365b60;background:#112531}
.eira-panel-root .eira-v11-add-form{display:grid;grid-template-columns:minmax(150px,1fr) minmax(220px,1.4fr) auto;align-items:center}
.eira-panel-root .eira-v11-add-form input{min-width:0}
.eira-panel-root .eira-v11-add-form select{min-width:0;width:100%}
.eira-panel-root .eira-v11-add-form button{background:var(--e-accent);color:#07242b;border-radius:10px;min-height:43px}
.eira-panel-root .eira-v11-ids li{border-color:#2e4658;background:#10202c}
.eira-panel-root .eira-v11-member-name{font-size:13px;font-weight:650;color:#e9f5f5}
.eira-panel-root .eira-v11-danger{color:#ffc6bd;border-color:#8b5a59}
.eira-panel-root .eira-v11-muted{color:var(--e-muted)}
.eira-panel-root .eira-v9-temp-voice{background:#102532;border:1px solid #2b4958;border-radius:14px;padding:22px;margin:0 0 16px!important}
.eira-panel-root .eira-v9-temp-voice label{font-size:13px;font-weight:650}
.eira-panel-root .eira-v9-temp-voice select{max-width:550px}
.eira-panel-root .eira-v9-temp-voice p{max-width:680px}
.eira-panel-root #eira-specialisation-panel-v4[hidden]{display:none!important}
.eira-panel-root #eira-specialisation-panel-v4{display:block;position:relative;max-width:none;padding:0;border:0;background:transparent}
.eira-panel-root #eira-specialisation-panel-v4 .eira-spec-v4-card{max-width:none;background:var(--e-surface);border:1px solid var(--e-border);border-radius:16px;padding:25px}
/* Liste de choix Discord — les champs d'ID natifs restent derrière le formulaire pour le backend. */
.eira-panel-root [data-eira-resource-original]{display:none!important}
.eira-panel-root .eira-resource-picker{width:100%;min-width:0;background:#0b1927!important}
.eira-resource-status{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:#10252d;border:1px solid #264b4b;border-radius:11px;padding:10px 14px;margin:0 0 23px;color:#a5ddcb;font-size:12px}
.eira-resource-status [data-error=true]{color:#ffb9aa}
.eira-resource-refresh{background:transparent;border:0;color:var(--e-accent);font-weight:750;font-size:12px;cursor:pointer;padding:6px 5px}
.eira-resource-refresh:hover{text-decoration:underline}
/* Base de données indépendante */
body.eira-panel-standalone .eira-panel-root .database-layout,body.eira-panel-standalone .eira-panel-root .database-sidebar{border-color:var(--e-border)}
/* Authentification */
.login-page{background:radial-gradient(circle at 50% 13%,#153943,transparent 42%),#080f19}
.login-card{border:1px solid #36525b;background:linear-gradient(155deg,#142a36,#0e1928 75%);border-radius:23px;box-shadow:0 28px 90px #0007}
.login-card .logo{color:var(--e-accent)}
.login-card .eyebrow{color:var(--e-accent)}
.login-card .intro{color:#abc1cb}
.login-card .discord-button{background:#5865f2;color:white}
.login-card .notice{background:#112533;border-color:#2e4b57}
/* Réduction du texte de remplissage sans supprimer les conseils utiles. */
.eira-panel-root .eira-v9-info-card>p:empty,.eira-panel-root .eira-v9-proxy-status:empty{display:none}
/* Responsive */
@media(max-width:1160px){.eira-panel-root .config-grid{grid-template-columns:1fr!important}}
@media(max-width:950px){
  .eira-panel-root .eira-control-frame{display:block}
  .eira-panel-root .eira-v9-sidebar{height:auto;min-height:0!important;position:sticky;top:0;z-index:40;padding:12px 16px 9px;border-bottom:1px solid var(--e-border);border-right:none}
  .eira-panel-root .eira-v9-brand{padding:0 0 6px}
  .eira-panel-root .eira-v9-side-intro,.eira-panel-root .eira-v9-side-footer,.eira-panel-root .eira-v9-group-label{display:none}
  .eira-panel-root .eira-v9-nav{display:flex;flex-direction:row;overflow-x:auto;flex-wrap:nowrap;gap:6px;padding-bottom:6px}
  .eira-panel-root .eira-v9-navlink{min-height:38px;flex:0 0 auto;width:auto;white-space:nowrap;padding:8px 12px}
  .eira-panel-root .eira-v9-navlink.is-active{box-shadow:inset 0 -3px 0 var(--e-accent)}
  .eira-panel-root .eira-v9-workspace{padding:30px 22px 55px}
}
@media(max-width:820px){
  .app-shell .sidebar{width:264px}
  .app-shell .main{margin-left:0;width:100%}
  .app-shell .topbar{padding:0 18px}
  .app-shell .content{padding:27px 18px 55px}
}
@media(max-width:620px){
  .eira-panel-root .eira-v9-workspace{padding:22px 14px 46px}
  .eira-panel-root .eira-v9-toolbar{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:15px}
  .eira-panel-root .eira-v9-home{display:inline-flex}
  .eira-panel-root .eira-v9-stat-grid,.eira-panel-root .eira-v9-quick-grid,.eira-panel-root .eira-v9-tilegrid,.eira-panel-root .eira-logs-grid{grid-template-columns:1fr!important}
  .eira-panel-root .config-grid{grid-template-columns:1fr!important}
  .eira-panel-root .eira-v11-add-form{grid-template-columns:1fr}
  .eira-panel-root .config-card,.eira-panel-root .eira-v9-info-card{padding:17px 14px!important}
  .eira-panel-root .eira-v9-stat{padding:17px}
  .app-shell .profile{background:transparent;border:0;padding:0}
  .app-shell .welcome h1{font-size:28px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.eira-panel-root .eira-v9-navlink[hidden]{display:none!important}

/* Parcours Activités et réglages */
[hidden] { display: none !important; }
.eira-nav-section { display: grid; gap: 3px; }
.app-shell .sidebar-nav .eira-nav-label { width: auto; text-align: left; }
.app-shell .eira-guild-picker {
  margin: 0 0 14px; display: block; padding: 8px 12px; width: fit-content;
  border-radius: 7px; border: 1px solid var(--e-border); font-size: 13px; color: #b3c3cf;
}
.app-shell .eira-home-welcome { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.eira-activity-primary {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  color: #09252a; background: var(--e-accent); font-weight: 750; border-radius: 8px; text-decoration: none;
}
.eira-recent { margin: 24px 0; padding: 20px; border: 1px solid var(--e-border); border-radius: 13px; background: #142432; }
.eira-recent header, .eira-recent #recentActivityList a { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.eira-recent h2 { margin: 0 0 12px; font-size: 20px; }
.eira-recent header a { color: var(--e-accent); }
.eira-recent #recentActivityList a { padding: 12px 4px; border-top: 1px solid var(--e-border); color: inherit; }
.eira-recent #recentActivityList a span { color: #a9bbc9; font-size: .85rem; }
.eira-recent #recentActivityList a:hover strong { color: var(--e-accent); }
.eira-activity-controls { display: grid; grid-template-columns: minmax(190px, 2fr) repeat(2, minmax(135px, 1fr)) auto; align-items: end; gap: 12px; margin: 12px 0 24px; }
.eira-activity-filter { display: grid; gap: 5px; min-width: 0; }
.eira-activity-filter label { font-size: .85rem; color: #b4c5d2; }
.eira-activity-controls input, .eira-activity-controls select {
  width: 100%; min-width: 0; min-height: 42px; font: inherit; color: #eaf1f6;
  background: #0f1d29; border: 1px solid var(--e-border); border-radius: 8px; padding: 8px 10px;
}
.eira-activity-controls > button { min-height: 42px; }
.eira-activity-day { margin: 0 0 25px; }
.eira-activity-day h2 { margin: 0 0 9px; font-size: 15px; color: #b4c5d2; }
.eira-activity-day h2::first-letter { text-transform: uppercase; }
.eira-activity-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center;
  background: #142432; color: #eaf1f6; padding: 12px 14px; border: 1px solid var(--e-border); border-radius: 9px;
  text-decoration: none; margin-bottom: 7px;
}
.eira-activity-row:hover { border-color: var(--e-accent); }
.eira-activity-row small, .eira-role-card small, .signup-table td small { display: block; margin-top: 4px; color: #adc0cd; }
.eira-state { color: #a5edd7; background: #193d3b; padding: 5px 9px; border-radius: 6px; font-size: 12px; }
.eira-state.is-closed { color: #bfd0df; background: #263949; }
.eira-activity-count { color: #b4c5d2; font-size: 13px; min-width: 100px; text-align: right; }
.eira-activity-description { white-space: pre-wrap; overflow-wrap: anywhere; color: #c6d4df; }
.eira-roster-switch { display: flex; gap: 8px; margin: 20px 0 8px; }
.eira-roster-switch button { padding: 9px 13px; font: inherit; color: inherit; border: 1px solid var(--e-border); background: #162837; border-radius: 7px; cursor: pointer; }
.eira-roster-switch button[aria-pressed="true"] { color: #09252a; background: var(--e-accent); }
.eira-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(205px, 100%), 1fr)); gap: 12px; }
.eira-role-card { padding: 15px; border-radius: 9px; border: 1px solid var(--e-border); background: #142432; }
.eira-role-card h2 { font-size: 16px; margin: 0 0 12px; }
.eira-role-card ul { margin: 0; padding: 0; list-style: none; }
.eira-role-card li { padding: 8px 0; border-top: 1px solid var(--e-border); }
.eira-roster-member img { width: 25px; height: 25px; border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.eira-panel-root .eira-panel-server { display: block; color: #a8eddd; text-decoration: none; }
.eira-panel-root .eira-panel-find { width: 100%; margin: 0 0 14px; font-size: 13px; }
.eira-panel-nav-section { display: grid; gap: 3px; }
.eira-panel-root .eira-v9-nav .eira-v9-group-label { text-transform: uppercase; }
.eira-panel-root .eira-v9-page-desc:empty { display: none; }
.eira-panel-root .eira-panel-menu { display: none; }
.eira-panel-root .eira-v9-welcome .config-primary { margin-top: 15px; cursor: pointer; }
.eira-panel-root .eira-v9-stat-grid { margin-top: 24px; }
.eira-panel-root .eira-forum-section { margin: 12px 0; border: 1px solid var(--e-border); border-radius: 9px; background: #112232; }
.eira-panel-root .eira-forum-section > summary { padding: 14px; font-weight: 700; cursor: pointer; }
.eira-panel-root .eira-forum-fields { padding: 0 14px 14px; }
.eira-panel-root .eira-forum-actions { display: flex; gap: 10px; padding: 12px 0 0; }
@media (max-width: 950px) {
  .eira-panel-root .eira-panel-chrome { display: flex; align-items: center; gap: 10px; }
  .eira-panel-root .eira-panel-server { margin: 0 auto 0 0; min-width: 0; overflow-wrap: anywhere; }
  .eira-panel-root .eira-panel-menu { display: inline-block; padding: 7px 9px; min-height: 38px; background: #183341; border: 1px solid var(--e-border); color: #eaf1f6; border-radius: 8px; cursor: pointer; }
  .eira-panel-root .eira-v9-nav { display: none; }
  .eira-panel-root .eira-panel-menu-open .eira-v9-nav { display: block; max-height: 64vh; overflow: auto; padding-top: 12px; }
  .eira-panel-root .eira-v9-nav .eira-v9-group-label { display: block; }
  .eira-panel-root .eira-v9-navlink { width: 100%; }
  .eira-activity-controls { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 550px) {
  .app-shell .eira-home-welcome { align-items: flex-start; flex-direction: column; gap: 12px; }
  .eira-recent #recentActivityList a { align-items: flex-start; flex-direction: column; gap: 3px; }
  .eira-activity-row { grid-template-columns: 1fr auto; gap: 8px; }
  .eira-activity-row > div { grid-column: 1 / -1; }
  .eira-activity-count { min-width: 0; }
}
