@font-face { font-family:AeonikPro; src:url('/fonts/aeonikpro-regular.woff2') format('woff2'); font-weight:400; font-display:swap; }
@font-face { font-family:AeonikPro; src:url('/fonts/aeonikpro-medium.woff2') format('woff2'); font-weight:500; font-display:swap; }
@font-face { font-family:AeonikPro; src:url('/fonts/aeonikpro-semibold.woff2') format('woff2'); font-weight:600; font-display:swap; }
@font-face { font-family:AeonikPro; src:url('/fonts/aeonikpro-bold.woff2') format('woff2'); font-weight:700; font-display:swap; }
body { margin:0; background:var(--rp-bg); font-family:AeonikPro,system-ui,sans-serif; color:var(--rp-ink); }
.shell-header { display:flex; flex-wrap:wrap; align-items:center; gap:0 12px; min-height:52px; padding:0 32px 0 16px; background:var(--rp-surface); border-bottom:1px solid var(--rp-border); }
.shell-header .shell-logo { display:block; flex:none; align-self:flex-start; line-height:0; width:49px; height:60px; }
.shell-header .shell-logo img { display:block; width:100%; height:100%; }
.shell-header .shell-title { font-size:14px; font-weight:500; min-width:0; }
.shell-header .shell-tools { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:8px 12px; margin-left:auto; min-width:0; padding:6px 0; }
@media (max-width:760px) { .shell-header { padding-right:16px; gap:0 12px; } .shell-header .shell-tools { width:100%; margin-left:0; justify-content:flex-start; padding:8px 0 12px; } }
.rp-embedded .shell-header { display:block; min-height:0; padding:0; background:none; border:0; }
.rp-embedded .shell-header .shell-logo, .rp-embedded .shell-header .shell-title { display:none; }
.rp-embedded .shell-header .shell-tools { width:auto; margin:0; padding:0; justify-content:flex-start; }
@layer shell {
  .shell-access { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:4px 12px; font-size:13px; line-height:1.4; }
  .shell-access > *, .shell-access .shell-line > * { overflow-wrap:anywhere; }
  .shell-access form.shell-line { font-size:14px; }
  .shell-access .shell-line { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; margin:0; }
  .shell-access .shell-person { font-weight:600; }
  .shell-access .shell-muted { color:var(--rp-muted); }
  .shell-access.shell-embedded { justify-content:flex-start; padding:12px 16px; }
  .shell-access.shell-embedded p { margin:0; }
  .shell-access .shell-test { color:var(--rp-action); font-weight:600; }
  .shell-access button, .shell-access .shell-button { box-sizing:border-box; min-height:40px; font:inherit; padding:6px 14px; border:1px solid transparent; border-radius:9999px; background:var(--rp-button-secondary); color:inherit; max-width:100%; }
  .shell-access .rp-select { position:relative; min-width:0; }
  .shell-access .rp-select-trigger { border-color:var(--rp-control-line); background:var(--rp-surface); display:flex; align-items:center; justify-content:space-between; gap:12px; text-align:left; }
  .shell-access .rp-select-value { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .shell-access .rp-select-placeholder { color:var(--rp-muted); }
  .shell-access .rp-select-chevron { flex:none; width:16px; height:16px; background:currentColor; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23120F18' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px 16px no-repeat; }
  .shell-access .rp-select-open .rp-select-chevron { transform:rotate(180deg); }
  /* Панель Reka ставит обёртка Popper и берёт z-index у самой панели; высота ограничена, иначе нижние пункты уходят за экран. */
  .shell-access .rp-select-list { z-index:1000; box-sizing:border-box; margin:0; padding:6px; min-width:var(--reka-popper-anchor-width,0); max-width:calc(100vw - 16px); max-height:min(288px,60vh); overflow:hidden; background:var(--rp-surface); color:var(--rp-ink); border:1px solid var(--rp-border); border-radius:12px; box-shadow:0 12px 32px rgb(18 15 24 / 16%); text-align:left; }
  .shell-access .rp-select-searchable { display:flex; flex-direction:column; overflow:hidden; }
  .shell-access .rp-select-search { flex:none; padding:4px 4px 8px; }
  .shell-access .rp-select-search input { display:block; box-sizing:border-box; width:100%; min-width:0; min-height:40px; padding:0 12px; border:1px solid var(--rp-border); border-radius:12px; background:inherit; color:inherit; font:inherit; }
  .shell-access .rp-select-options { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; margin:0; padding:0; list-style:none; background:inherit; }
  .shell-access .rp-select-options::-webkit-scrollbar { width:10px; }
  .shell-access .rp-select-options::-webkit-scrollbar-thumb { background:var(--rp-border); border:3px solid transparent; border-radius:9999px; background-clip:content-box; }
  .shell-access .rp-select-options::-webkit-scrollbar-track { background:transparent; }
  .shell-access .rp-select-option-all { position:sticky; top:0; z-index:1; background:inherit; }
  .shell-access .rp-select-empty { flex:none; padding:10px 12px; color:var(--rp-muted); }
  .shell-access .rp-select-option { display:flex; align-items:center; min-height:36px; padding:6px 12px; border-radius:8px; cursor:pointer; overflow-wrap:anywhere; }
  .shell-access .rp-select-option[data-highlighted] { background:var(--rp-bg-2); }
  .shell-access .rp-select-option[data-state=checked] { color:var(--rp-ink); font-weight:600; }
  .shell-access .rp-select-option[data-disabled] { color:var(--rp-muted); cursor:not-allowed; }
  .shell-access button, .shell-access .shell-button { cursor:pointer; }
  .shell-access .shell-button { display:inline-block; box-sizing:border-box; text-decoration:none; background:var(--rp-brand); border-color:var(--rp-brand); color:var(--rp-brand-on); }
  .shell-access button:disabled { color:var(--rp-muted); cursor:default; }
  .shell-access :focus-visible { outline:3px solid var(--rp-focus); outline-offset:3px; }
}
@layer shell {
  .shell-theme { flex-wrap:nowrap; }
  .shell-theme button { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
  .shell-theme .rp-theme-icon { flex:none; }
  .shell-theme button[aria-checked=true] { border-color:var(--rp-action); color:var(--rp-action); }
}
