.agent-menu-section-label { margin: 18px 13px 7px; color: rgba(231,224,250,.5); font-size: 10px; font-weight: 650; letter-spacing: .09em; }
.agent-extra-toggle { display: flex; align-items: center; justify-content: space-between; width: calc(100% - 8px); min-height: 38px; margin: 12px 4px 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.065); border-radius: 11px; background: rgba(255,255,255,.025); color: rgba(245,241,255,.78); font-family: inherit; cursor: pointer; text-align: left; transition: color .22s ease, background-color .22s ease, border-color .22s ease; }
.agent-extra-toggle:hover { border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.07); color: #fff; }
.agent-extra-toggle:focus-visible { outline: 2px solid #ddd5ff; outline-offset: -2px; }
.agent-extra-chevron { display: grid; width: 20px; height: 20px; place-items: center; color: rgba(239,234,255,.65); line-height: 1; transform: rotate(0); transition: transform .4s cubic-bezier(.2,.75,.25,1), color .2s ease; }
.agent-extra-chevron svg { display: block; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.agent-extra-toggle[aria-expanded="true"] .agent-extra-chevron { color: #f0d486; transform: rotate(90deg); }
.agent-extra-menu[hidden] { display: none !important; }
.agent-extra-menu:not([hidden]) { animation: agent-extra-menu-in .32s cubic-bezier(.2,.75,.25,1) both; animation-delay: calc(var(--extra-index,0) * 28ms); }
@keyframes agent-extra-menu-in { from { opacity: 0; translate: 0 -7px; } to { opacity: 1; translate: 0 0; } }
.agent-extra-page { display: grid; grid-template-rows: auto minmax(0,1fr); width: 100%; min-width: 0; height: calc(100vh - var(--topbar-height) - 16px); overflow: hidden; border: 1px solid #e5e4f1; border-radius: 12px; background: #fff; }
.agent-extra-page[hidden] { display: none; }
.agent-extra-page iframe { display: block; width: 100%; height: 100%; min-width: 0; border: 0; background: #f5f6fb; }
.agent-extra-toolbar { display: flex; gap: 6px; padding: 10px 12px; overflow-x: auto; border-bottom: 1px solid #ebe9f5; background: #fff; }
.agent-extra-toolbar button { flex: 0 0 auto; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #67728b; font: inherit; font-size: 13px; cursor: pointer; }
.agent-extra-toolbar button:hover { background: #f6f3ff; color: #6255d9; }
.agent-extra-toolbar button.is-active { border-color: #d8d0ff; background: #f0ecff; color: #6255d9; }
.agent-extra-toolbar button:focus-visible { outline: 2px solid #6255d9; outline-offset: -2px; }
@media (max-width: 1100px) {
  .agent-menu-section-label { margin: 15px 0 6px; text-align: center; font-size: 10px; letter-spacing: 0; }
  .agent-extra-toggle { width: 100%; margin: 12px 0 6px; padding: 6px 2px; gap: 2px; text-align: left; }
  .agent-extra-toggle > span:first-child { min-width: 0; }
  .agent-extra-menu.is-open .agent-submenu { display: grid; grid-template-rows: 1fr; opacity: 1; translate: 0 0; visibility: visible; pointer-events: auto; }
  .agent-extra-menu .agent-submenu-inner { display: grid; gap: 2px; padding: 2px 0 6px; }
  .agent-extra-menu .agent-submenu button { height: auto; min-height: 40px; padding: 8px 2px; white-space: normal; overflow-wrap: anywhere; text-align: center; font-size: 11px; line-height: 1.5; }
  .agent-extra-toolbar { padding: 8px; }
  .agent-extra-toolbar button { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .agent-extra-chevron { transition: none; }
  .agent-extra-menu:not([hidden]) { animation: none; }
}
