.account-panel.account-panel-profile:has(.fc-wh) { width: 100%; min-height: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.account-site:has([data-warehouse]) .account-topbar { min-height: 56px; padding-inline: 16px; }
.account-site:has([data-warehouse]) .account-panel-heading { margin-bottom: 6px; }
.account-site:has([data-warehouse]) .account-panel-heading h2 { font-size: 28px; }
@media (max-width: 760px) {
  .account-site:has([data-warehouse]) .account-workspace { padding: 10px 12px 20px; }
}
.fc-wh {
  --wh-ink: #eff9f6;
  --wh-muted: #b5c8c7;
  --wh-edge: #3a5558;
  --wh-deep: #111d21;
  --wh-panel: #1b2c30;
  --wh-teal: #85e0cc;
  --wh-gold: #ffd891;
  --wh-danger: #ffbbbb;
  box-sizing: border-box;
  min-width: 0;
  padding: 9px;
  border: 1px solid #284145;
  border-radius: 6px;
  background: var(--wh-deep);
  color: var(--wh-ink);
  font-size: 15px;
  container-type: inline-size;
  overflow-anchor: none;
}
.fc-wh :is(button, input) { scroll-margin-block: 120px; }
.fc-wh :is(.fc-wh-toolbar, .fc-wh-dialog, .fc-wh-detail-sheet, .fc-wh-detail) :is(button, input) { scroll-margin-block: 0; }
.fc-wh button {
  min-width: 44px;
  min-height: 44px;
  padding: 4px 9px;
  border: 1px solid var(--wh-edge);
  border-radius: 4px;
  background: #23363a;
  color: var(--wh-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}
.fc-wh button:enabled:hover { background: #30494b; border-color: #6b9692; }
.fc-wh button:disabled { opacity: .55; cursor: not-allowed; }
.fc-wh :is(button, input, .fc-wh-slot):focus-visible { outline: 2px solid var(--wh-teal); outline-offset: 2px; }
.fc-wh .fc-wh-danger { border-color: #a85953; background: #8b3934; color: #fff; }
.fc-wh .fc-wh-danger:enabled:hover { background: #a34840; border-color: #efa59b; }
.fc-wh-controls {
  display: grid;
  grid-template-columns: auto minmax(110px, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  grid-column: 1;
  grid-row: 1;
}
.fc-wh-toolbar {
  display: grid;
  position: relative;
  z-index: 3;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 22px;
  align-items: center;
  gap: 2px 7px;
  padding-bottom: 3px;
  background: var(--wh-deep);
}
.fc-wh-filter-strip {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
  align-items: stretch;
  gap: 4px;
  margin-bottom: 5px;
  padding: 2px;
}
.fc-wh-filter-strip button { flex-shrink: 0; white-space: nowrap; }
.fc-wh-filter-strip button[aria-pressed="true"] { background: #234743; color: #b7f5e4; box-shadow: inset 0 -2px #72d5bc; }
.fc-wh-filter-strip.fc-wh-scopes {
  gap: 5px;
  margin-bottom: 7px;
  padding: 2px 2px 7px;
  border-bottom: 1px solid #3b5657;
}
.fc-wh .fc-wh-scopes button {
  border-color: #496466;
  border-radius: 5px;
  background: #203438;
  font-weight: 720;
}
.fc-wh .fc-wh-scopes button[aria-pressed="true"] {
  border-color: #ade8d9;
  background: #ade8d9;
  color: #152e2a;
  box-shadow: none;
}
.fc-wh-filter-strip[aria-label="武器槽位"] { border-left: 2px solid #426566; padding-left: 7px; }
.fc-wh-filters, .fc-wh-equipment-filters { display: flex; min-width: 0; gap: 6px; }
.fc-wh-equipment-filters[hidden] { display: none; }
.fc-wh-equipment-filters[data-hidden] { visibility: hidden; }
.account-panel .fc-wh .fc-wh-expiry-control {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--wh-muted);
  font-size: 13px;
  white-space: nowrap;
}
.account-panel .fc-wh .fc-wh-expiry-filter {
  align-self: start;
  width: 88px;
  height: 44px;
  margin: 0;
  padding-inline: 7px;
  border: 1px solid var(--wh-edge);
  border-radius: 4px;
  background: #23363a;
  color: var(--wh-ink);
  font: inherit;
  font-size: 13px;
}
.fc-wh-expiry-filter:focus-visible { outline: 2px solid var(--wh-teal); outline-offset: 2px; }
.fc-wh-kinds { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
.fc-wh-kinds button { padding-inline: 8px; border-radius: 0; }
.fc-wh .fc-wh-kinds button[aria-pressed="false"] { background: transparent; color: var(--wh-muted); }
.fc-wh .fc-wh-kinds button[aria-pressed="false"]:enabled:hover { background: #243b3e; color: var(--wh-ink); }
.fc-wh-kinds button:first-child { border-radius: 4px 0 0 4px; }
.fc-wh-kinds button:last-child { border-radius: 0 4px 4px 0; }
.fc-wh-kinds button + button { border-left: 0; }
.fc-wh-kinds button[aria-pressed="true"] { background: #234743; color: #b7f5e4; box-shadow: inset 0 -2px #72d5bc; }
.fc-wh-kinds button:focus-visible { z-index: 1; }
.fc-wh-search { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 5px; margin: 0; }
.account-panel .fc-wh-search input {
  min-width: 0;
  height: 44px;
  padding: 0 9px;
  border-color: var(--wh-edge);
  border-radius: 4px;
  background: #101b1e;
  color: var(--wh-ink);
  font-size: 14px;
}
.fc-wh-search input::placeholder { color: #9db3b3; }
.fc-wh-quality-filter { position: relative; }
.fc-wh-quality-filter > button { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.fc-wh-quality-filter > button[aria-expanded="true"] { border-color: var(--wh-teal); }
.fc-wh-options {
  position: absolute;
  z-index: 2;
  top: calc(100% + 4px);
  right: 0;
  margin: 0;
  padding: 3px;
  border: 1px solid #547675;
  border-radius: 4px;
  background: #17282d;
  box-shadow: 0 6px 18px #081417bf;
  font-size: 14px;
}
.fc-wh-search .fc-wh-options { left: 0; list-style: none; max-height: 290px; overflow: auto; }
.fc-wh-options > :is(li, label) { padding: 5px 8px; min-height: 36px; cursor: pointer; }
.fc-wh-options > li { display: flex; align-items: center; overflow-wrap: anywhere; }
.fc-wh-options > :is(li:hover, li[aria-selected="true"], label:hover) { background: #284344; }
.fc-wh-quality-filter .fc-wh-options { min-width: 110px; }
.account-panel .fc-wh-quality-filter .fc-wh-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  white-space: nowrap;
}
.fc-wh-quality-filter [data-quality="1"] { color: var(--wh-muted); }
.account-panel .fc-wh-quality-filter input { width: 17px; height: 17px; margin: 0; accent-color: #7cdac3; }
.fc-wh .fc-wh-mode { display: inline-flex; align-items: center; justify-content: center; gap: 5px; white-space: nowrap; }
.fc-wh-mode svg { flex: 0 0 auto; color: var(--wh-teal); }
.fc-wh-mode[aria-pressed="true"] { color: #c4f6e9; border-color: #689993; }
.fc-wh-draft-count { min-width: 18px; color: var(--wh-teal); font-variant-numeric: tabular-nums; }
.fc-wh-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.fc-wh-actions { display: contents; }
.fc-wh-selection, .fc-wh-pages > span { color: var(--wh-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.fc-wh-selection { grid-area: 2 / 1 / 3 / -1; justify-self: start; white-space: nowrap; }
.fc-wh-notice { grid-column: 1 / -1; grid-row: 2; justify-self: end; max-width: calc(100% - 182px); white-space: nowrap; }
.fc-wh-notice p { margin: 0; padding: 0; overflow: hidden; text-overflow: ellipsis; }
.fc-wh-action-buttons, .fc-wh-pages > div, .fc-wh-dialog-actions { display: flex; flex-wrap: wrap; gap: 5px; }
.fc-wh-action-buttons { grid-column: 2; grid-row: 1; }
.fc-wh-results { min-width: 0; }
.fc-wh-layout { display: grid; gap: 11px; min-width: 0; }
.fc-wh-layout[data-revalidating] { visibility: hidden; }
.fc-wh-collection { min-width: 0; }
.fc-wh :is(.fc-wh-grid, .fc-wh-protection, .fc-wh-review-list) { margin: 0; padding: 0; list-style: none; }
.fc-wh-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.fc-wh-tile { position: relative; min-width: 0; container-type: inline-size; }
.fc-wh .fc-wh-slot {
  box-sizing: border-box;
  display: grid;
  width: 100%;
  min-width: 0;
  grid-template-rows: auto 84px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid #3c5355;
  border-radius: 4px;
  background: #1d2e33;
  color: var(--wh-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}
.fc-wh-slot-gap { display: grid; min-width: 0; grid-template-rows: auto 84px; border: 1px dashed #3c5355; border-radius: 4px; color: var(--wh-muted); }
.fc-wh-slot-gap .fc-wh-art { opacity: .45; }
.fc-wh .fc-wh-slot:not([aria-disabled="true"]):hover { border-color: #8dc1b6; background: #253c3e; }
.fc-wh .fc-wh-slot[aria-disabled="true"] { cursor: not-allowed; }
.fc-wh-tile[data-marked] .fc-wh-slot { border-color: #65bfab; background: #223e3a; }
.fc-wh-art, .fc-wh-detail-art {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  aspect-ratio: 5 / 4;
  place-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid #3c5355;
  background: #26393d;
}
.fc-wh-tile[data-marked] .fc-wh-art { background: #2b4746; border-bottom-color: #5f8c83; }
.fc-wh-icon { position: absolute; inset: 3px; display: grid; place-items: center; color: #9ebebe; }
.fc-wh-icon[data-warehouse-icon="skin"][data-fallback] { color: #cfbadd; }
.fc-wh-icon[data-warehouse-icon="accessory"][data-fallback] { color: #dfc6a4; }
.fc-wh-icon[data-warehouse-icon="item"][data-fallback] { color: #c1d3aa; }
.fc-wh-icon img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.fc-wh-stock, .fc-wh-marks span {
  padding: 1px 4px;
  border: 1px solid #54696a;
  border-radius: 3px;
  background: #101c20;
  color: #f2fbfa;
  font-size: 11px;
  line-height: 16px;
  font-variant-numeric: tabular-nums;
}
.fc-wh-stock { position: absolute; top: 4px; right: 4px; max-width: calc(100% - 40px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-wh [data-quality="2"] { color: #8ded7a; }
.fc-wh [data-quality="3"] { color: #78c8ff; }
.fc-wh [data-quality="4"] { color: #d29bff; }
.fc-wh [data-quality="5"] { color: #ffca66; }
.fc-wh [data-quality="6"] { color: #ff706b; }
.fc-wh-quality {
  position: absolute;
  top: 4px;
  left: 4px;
  padding: 2px 4px;
  border-radius: 3px;
  background: #0d191e;
  font-size: 12px;
  font-weight: 750;
  line-height: 16px;
}
.fc-wh-art:has(.fc-wh-quality) .fc-wh-stock { max-width: calc(100% - 49px); }
.fc-wh-marks { position: absolute; bottom: 4px; left: 4px; display: flex; gap: 3px; }
.fc-wh-marks .fc-wh-starter { border-color: #62866b; color: #beedc5; }
.fc-wh-marks .fc-wh-bound { border-color: #5c807f; color: #b2ebde; }
.fc-wh-marks .fc-wh-expired { border-color: #a36261; color: #ffc6be; }
.fc-wh-marks .fc-wh-timed { border-color: #9b814c; color: #ffdf94; }
.fc-wh-deadline { display: flex; flex-wrap: wrap; gap: 2px 6px; margin-top: 4px; }
.fc-wh-deadline time { color: var(--wh-ink); font-variant-numeric: tabular-nums; }
.fc-wh-caption { display: grid; min-width: 0; grid-template-rows: 18px 17px; gap: 3px; padding: 5px 6px; }
.fc-wh-caption > strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.fc-wh-traits { display: flex; align-items: center; gap: 6px; font-size: 11px; font-variant-numeric: tabular-nums; }
.fc-wh-upgrade { color: var(--wh-teal); }
.fc-wh-stars { color: var(--wh-gold); white-space: nowrap; }
.fc-wh-protected { margin-left: auto; color: #d2bda0; }
.fc-wh-selected-mark { flex: none; margin-left: auto; color: #a9f4ca; }
.fc-wh-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fc-wh-quantity-field {
  position: absolute;
  inset-inline: 5px;
  bottom: 45px;
  display: grid;
  grid-template-columns: minmax(28px, 1fr) minmax(44px, 1.15fr) minmax(28px, 1fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid #668c86;
  border-radius: 5px;
  background: #102125;
  box-shadow: 0 2px 6px #081518aa;
}
.fc-wh-quantity-field[data-quiet] { visibility: hidden; }
.fc-wh .fc-wh-quantity-field .fc-wh-adjust {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #294347;
  color: #c0f1e4;
  font-size: 19px;
  line-height: 1;
}
.fc-wh .fc-wh-quantity-field .fc-wh-adjust:enabled:hover { background: #38615f; }
.fc-wh .fc-wh-quantity-field .fc-wh-adjust:disabled { color: #99aeae; opacity: .7; }
.account-panel .fc-wh .fc-wh-quantity {
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 1px;
  border: 1px solid #53716f;
  border-block: 0;
  border-radius: 0;
  background: #101f20;
  color: var(--wh-ink);
  text-align: center;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
}
.fc-wh-quantity::-webkit-inner-spin-button,
.fc-wh-quantity::-webkit-outer-spin-button { appearance: none; margin: 0; }
.fc-wh-tile[data-marked] .fc-wh-marks { bottom: auto; top: 25px; }
.fc-wh-tile[data-marked] .fc-wh-marks span { padding-block: 0; line-height: 14px; }
.account-panel .fc-wh .fc-wh-quantity[aria-invalid="true"] { border-color: var(--wh-danger); }
.fc-wh-pages { min-height: 55px; padding-top: 7px; }
.fc-wh-detail { min-width: 0; align-self: start; padding: 8px; border: 1px solid var(--wh-edge); border-radius: 4px; background: var(--wh-panel); }
.fc-wh-detail[data-empty] { display: none; }
.fc-wh-tooltip {
  position: fixed;
  z-index: 6;
  top: 8px;
  left: 8px;
  visibility: hidden;
  width: min(255px, calc(100vw - 16px));
  max-height: calc(100dvh - 16px);
  overflow: hidden;
  padding: 8px;
  border: 1px solid #547b78;
  border-radius: 5px;
  background: var(--wh-panel);
  box-shadow: 0 8px 24px #060d10b0;
  pointer-events: none;
}
.fc-wh-tooltip .fc-wh-detail-art { height: 56px; aspect-ratio: auto; }
.fc-wh-detail-head { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 31px; margin: 0 0 6px; }
.fc-wh-detail-head h3, .fc-wh-detail-title h4 { margin: 0; font-size: 14px; font-weight: 700; }
.fc-wh .fc-wh-detail-head button { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; }
.fc-wh-detail-sheet {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 560px);
  max-width: 100%;
  max-height: min(70dvh, 600px);
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: var(--wh-panel);
  color: var(--wh-ink);
}
.fc-wh-detail-sheet::backdrop { background: #101719a0; }
.fc-wh-detail-sheet .fc-wh-detail { padding: 12px 12px max(12px, env(safe-area-inset-bottom)); }
.fc-wh-detail-art { border: 1px solid #3b5052; border-radius: 3px; background: #24373c; }
.fc-wh-detail-title { padding-block: 7px 4px; overflow-wrap: anywhere; }
.fc-wh-detail-title span { color: var(--wh-teal); font-size: 12px; }
.fc-wh-counts { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 2px 0 6px; }
.fc-wh-counts div { min-width: 0; padding: 3px 4px; border: 1px solid #3c585a; border-radius: 3px; }
.fc-wh-counts dt { color: var(--wh-muted); font-size: 11px; }
.fc-wh-counts dd { margin: 0; overflow-wrap: anywhere; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.fc-wh-variant { min-width: 0; margin-top: 4px; color: var(--wh-muted); font-size: 12px; }
.fc-wh-variant-stats, .fc-wh-sockets, .fc-wh .fc-wh-protection { display: flex; flex-wrap: wrap; gap: 3px 5px; }
.fc-wh-variant-stats span, .fc-wh-protection li { padding: 1px 4px; border: 1px solid #415a5b; border-radius: 3px; }
.fc-wh-variant-stats .fc-wh-expired { color: var(--wh-danger); border-color: #764b4d; }
.fc-wh-sockets { margin-top: 5px; }
.fc-wh-sockets span { min-width: 0; overflow-wrap: anywhere; }
.fc-wh-socket-label { font-weight: 650; }
.fc-wh .fc-wh-protection { margin-top: 8px; color: #f4d7a8; font-size: 12px; }
.fc-wh-empty-detail { margin: 3px 0; color: var(--wh-muted); font-size: 13px; }
.fc-wh-state, .fc-wh-error, .fc-wh-success { margin: 0 0 7px; padding: 7px; color: var(--wh-muted); overflow-wrap: anywhere; font-size: 13px; }
.fc-wh-state p { margin: 0 0 7px; }
.fc-wh-error, .fc-wh-state [role="alert"] { color: var(--wh-danger); }
.fc-wh-success { color: var(--wh-teal); }
.fc-wh-dialog {
  width: min(455px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 16px;
  overflow: auto;
  border: 1px solid #657b7d;
  border-radius: 6px;
  background: #1c2b2f;
  color: var(--wh-ink);
  box-shadow: 0 15px 40px #0e181ad0;
}
.fc-wh-dialog::backdrop { background: #101719b0; }
.fc-wh-dialog h3 { margin: 0; font-size: 19px; }
.fc-wh-dialog p { margin: 7px 0 10px; color: var(--wh-muted); font-size: 14px; }
.fc-wh .fc-wh-review-list { max-height: 34vh; overflow: auto; border-block: 1px solid var(--wh-edge); }
.fc-wh-review-list li { padding: 6px 3px; font-size: 14px; }
.fc-wh-review-list li + li { border-top: 1px solid var(--wh-edge); }
.fc-wh-review-name { display: flex; justify-content: space-between; gap: 7px; }
.fc-wh-review-name strong:first-child { min-width: 0; overflow-wrap: anywhere; }
.fc-wh-review-name strong:last-child { white-space: nowrap; }
.fc-wh-dialog-actions { justify-content: end; margin-top: 10px; }
@container (min-width: 405px) {
  .fc-wh-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .fc-wh {
    height: max(290px, calc(100dvh - var(--wh-page-top, 118px) - 12px));
    display: flex;
    flex-direction: column;
  }
  .fc-wh > :not(.fc-wh-results) { flex-shrink: 0; }
  .fc-wh > .fc-wh-results {
    flex: 1;
    min-height: 0;
    overflow: auto;
    overflow-anchor: none;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
  }
  .fc-wh-collection :is(button, input) { scroll-margin-block: 6px; }
  .fc-wh-grid { grid-template-columns: repeat(auto-fill, minmax(126px, 1fr)); }
  .fc-wh .fc-wh-slot, .fc-wh-slot-gap { grid-template-rows: 88px 44px; }
  .fc-wh-grid .fc-wh-art { height: 88px; aspect-ratio: auto; }
}
@media (max-width: 1099px) {
  .fc-wh-controls { grid-column: 1 / -1; }
  .fc-wh-toolbar:has(.fc-wh-notice p) .fc-wh-selection { visibility: hidden; }
  .fc-wh-notice { justify-self: start; max-width: 100%; }
  .fc-wh-action-buttons {
    position: fixed;
    z-index: 4;
    right: 12px;
    bottom: max(10px, env(safe-area-inset-bottom));
    padding: 4px;
    border: 1px solid #527473;
    border-radius: 5px;
    background: #1b3032;
    box-shadow: 0 5px 16px #07141699;
  }
  .fc-wh .fc-wh-slot, .fc-wh-slot-gap { grid-template-rows: auto 62px; }
  .fc-wh-grid .fc-wh-art { aspect-ratio: 3 / 2; }
  .fc-wh-quantity-field { bottom: 63px; }
}
@container (max-width: 705px) {
  .fc-wh-controls { grid-template-columns: minmax(0, 1fr) auto; }
  .fc-wh-filters { grid-column: 1 / -1; flex-wrap: wrap; }
  .fc-wh-equipment-filters { flex: 1 0 242px; }
  .fc-wh-kinds { flex: 1; grid-template-columns: minmax(64px, 1.5fr) repeat(3, minmax(0, 1fr)); }
  .fc-wh-kinds button { padding-inline: 3px; }
}
@container (max-width: 490px) {
  .fc-wh-detail:not([data-empty]) { display: grid; grid-template-columns: 83px minmax(0, 1fr); column-gap: 7px; }
  .fc-wh-detail-head, .fc-wh-detail .fc-wh-variant, .fc-wh-detail .fc-wh-protection { grid-column: 1 / -1; }
  .fc-wh-detail-art { grid-row: span 2; }
  .fc-wh-detail-title { padding-top: 0; }
}
@media (max-width: 520px) {
  .fc-wh { padding: 8px; }
}

.account-site .account-sidebar:has([data-account-rail-toggle]) {
  position: relative;
  min-width: 0;
  padding: 12px 12px 8px;
}
.fc-account-rail-header {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.account-site .account-sidebar:has([data-account-rail-toggle]) h1 {
  width: auto;
  margin: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 22px;
  white-space: nowrap;
}
.account-site .account-sidebar:has([data-account-rail-toggle]) > nav { margin-top: 6px; }
.account-site .account-sidebar:has([data-account-rail-toggle]) > nav :is(button, a) {
  min-width: 0;
  min-height: 44px;
  padding-block: 4px;
}
.account-sidebar .fc-account-rail-toggle {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #30595a;
  background: #e6eeeb;
  border: 1px solid #b8c8c3;
  border-radius: 5px;
  cursor: pointer;
}
.account-sidebar .fc-account-rail-toggle:hover {
  background: #d6e6e0;
  border-color: #7ba29b;
}
.account-sidebar .fc-account-rail-toggle:focus-visible {
  outline: 2px solid #34767b;
  outline-offset: 2px;
}
.fc-account-rail-toggle[aria-expanded="false"] svg { transform: rotate(180deg); }
@media (min-width: 701px) {
  .account-site .account-layout:has([data-account-rail-toggle]) {
    width: min(1680px, calc(100% - 28px));
    grid-template-columns: 178px minmax(0, 1fr);
  }
  .account-site .account-layout:has([data-account-rail-toggle]) .account-workspace {
    padding: 18px 0 24px 14px;
  }
  .account-site .account-sidebar:has([data-account-rail-toggle]) {
    padding: 12px 6px 14px 0;
  }
  .account-site .account-sidebar:has([data-account-rail-toggle]) > nav {
    position: sticky;
    top: 62px;
  }
  .account-sidebar .fc-account-rail-header {
    position: sticky;
    z-index: 2;
    top: 12px;
    background: #e7eeeb;
  }
  .account-site .account-layout:has([data-account-rail-toggle][aria-expanded="false"]) {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .account-site .account-sidebar:has([data-account-rail-toggle][aria-expanded="false"]) {
    padding: 12px 5px 16px 0;
  }
  .account-sidebar:has([data-account-rail-toggle][aria-expanded="false"]) h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .account-sidebar:has([data-account-rail-toggle][aria-expanded="false"]) .fc-account-rail-header {
    justify-content: center;
  }
  .account-site .account-sidebar:has([data-account-rail-toggle][aria-expanded="false"]) > nav :is(button, a) {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline: 4px;
    font-size: 0;
    text-align: center;
  }
  .account-sidebar:has([data-account-rail-toggle][aria-expanded="false"]) > nav svg {
    grid-area: 1 / 1;
  }
}
@media (min-width: 1100px) {
  .account-site .account-layout:has([data-account-rail-toggle][aria-expanded="false"]) .fc-wh-grid {
    grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  }
}
@media (max-width: 700px) {
  .account-sidebar:has([data-account-rail-toggle][aria-expanded="false"]) > nav { display: none; }
  .fc-account-rail-toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
  .fc-account-rail-toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
}
