.admin-publish-switcher {
  scroll-margin-top: 112px;
}

.admin-shell > * {
  min-width: 0;
}

.admin-sidebar{position:fixed;z-index:25;top:110px;left:max(1rem,calc((100vw - 1440px)/2 + 1rem));width:190px;display:grid;gap:.25rem;padding:.7rem;background:#fff;border:1px solid #e3dccf;border-radius:20px;box-shadow:0 10px 30px rgba(24,70,50,.08)}
.admin-sidebar a{display:flex;align-items:center;min-height:40px;padding:.65rem .75rem;border-radius:12px;color:#42594c;text-decoration:none;font-size:.76rem;font-weight:800;line-height:1.15}
.admin-sidebar a:hover,.admin-sidebar a.active{background:#e8f3eb;color:var(--green)}
.admin-sidebar a.has-sidebar-alert{position:relative;background:#fff8df;color:var(--green);animation:admin-sidebar-pulse 1.7s ease-in-out infinite}
@keyframes admin-sidebar-pulse{0%,100%{box-shadow:0 0 0 1px rgba(231,181,47,.2)}50%{box-shadow:0 0 0 4px rgba(231,181,47,.22),0 8px 18px rgba(146,103,19,.14)}}
.admin-shell > .admin-section-focused{z-index:3;border:3px solid #5ca878;background:#fbfffb;box-shadow:0 24px 54px rgba(24,70,50,.2),0 0 0 5px rgba(143,197,160,.28)}
.admin-shell > section{position:relative;scroll-margin-top:112px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.admin-shell > .admin-section-focused{transform:scale(1.025)}
@media (max-width: 960px){.admin-shell > .admin-section-focused{transform:scale(1.012)}}
@media (prefers-reduced-motion: reduce){.admin-shell > section{transition:none}}

.admin-shell > .admin-requests-block {
  grid-column: 1 / -1;
}
.admin-shell > .admin-fees-block{grid-column:1 / -1}.admin-fees-block .admin-fees-manager{margin:0;padding:0;border:0;background:transparent}

.admin-status-blocked {
  background: #fde5e0;
  color: #a33e2c;
}

.admin-actions .icon-action.is-active {
  background: #e8f3eb;
  border-color: #9ac9a9;
  color: var(--green);
}

.access-code-dialog {
  max-width: 560px;
}

.access-close-dialog {
  max-width: 620px;
}

.access-code-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
}

.access-code-actions .button {
  width: 100%;
}

@media (max-width: 620px) {
  .access-code-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 961px) {
  .admin-shell{padding-left:220px}
}

@media (max-width: 960px) {
  .admin-sidebar{position:sticky;top:104px;left:auto;width:auto;display:flex;overflow-x:auto;grid-column:1 / -1;order:-1;white-space:nowrap}
  .admin-sidebar a{flex:0 0 auto}
}

/* The former demo-mode status card has been removed from the production admin hero. */
.admin-hero {
  grid-template-columns: minmax(0, 1fr);
}

.admin-shell > .cabinet-block,
.admin-shell > .admin-grid > .cabinet-block {
  box-shadow: 0 14px 34px rgba(24,70,50,.07);
}

.admin-shell .cabinet-block-head {
  gap: 1rem;
}

.admin-shell .cabinet-block-head > div {
  min-width: 0;
}

.admin-shell .cabinet-block-head h2 {
  overflow-wrap: anywhere;
}

.admin-publish-switcher .cabinet-block-head {
  margin-bottom: 1rem;
}

.admin-publish-switcher .cabinet-block-head p {
  max-width: 620px;
}

.admin-form {
  min-width: 0;
}

.admin-form label {
  line-height: 1.25;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 48px;
}

.admin-form textarea {
  min-height: 112px;
}

.admin-empty,
.listing-empty {
  padding: 1.2rem;
  border: 1px dashed #d8d1c2;
  border-radius: 14px;
  background: #faf9f4;
}

.admin-registry-block .admin-toolbar {
  margin-top: 1.2rem;
}

.admin-table-wrap {
  border: 1px solid #e3dccf;
  border-radius: 14px;
  background: #fff;
}

@media (min-width: 961px) {
  .admin-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .admin-shell > .admin-hero,
  .admin-shell > .admin-polls-block,
  .admin-shell > .admin-notifications-block,
  .admin-shell > .admin-registry-block {
    grid-column: 1 / -1;
  }

  .admin-shell > .admin-publish-switcher {
    grid-column: 1;
    grid-row: 2;
  }

  .admin-shell > .admin-listings-block {
    grid-column: 2;
    grid-row: 2;
  }

  .admin-shell > .admin-news-block,
  .admin-shell > .admin-video-block {
    min-width: 0;
  }

  .admin-shell > .admin-publish-switcher,
  .admin-shell > .admin-listings-block,
  .admin-shell > .admin-news-block,
  .admin-shell > .admin-video-block {
    height: 280px;
    display: flex;
    flex-direction: column;
  }

  .admin-shell > .admin-collapsible:not(.is-collapsed) {
    height: auto;
    min-height: 280px;
  }

  .admin-shell > .admin-publish-switcher > .cabinet-block-head,
  .admin-shell > .admin-listings-block > .cabinet-block-head,
  .admin-shell > .admin-news-block > .cabinet-block-head,
  .admin-shell > .admin-video-block > .cabinet-block-head {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
  }

  .admin-shell > .admin-publish-switcher .cabinet-block-head > div,
  .admin-shell > .admin-listings-block .cabinet-block-head > div,
  .admin-shell > .admin-news-block .cabinet-block-head > div,
  .admin-shell > .admin-video-block .cabinet-block-head > div {
    width: 100%;
    text-align: center;
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
  }

  .admin-shell > .admin-publish-switcher .cabinet-block-head .eyebrow,
  .admin-shell > .admin-listings-block .cabinet-block-head .eyebrow,
  .admin-shell > .admin-news-block .cabinet-block-head .eyebrow,
  .admin-shell > .admin-video-block .cabinet-block-head .eyebrow {
    display: table;
    margin-right: auto;
    text-align: left;
  }

  .admin-shell > .admin-publish-switcher .cabinet-block-head h2,
  .admin-shell > .admin-listings-block .cabinet-block-head h2,
  .admin-shell > .admin-news-block .cabinet-block-head h2,
  .admin-shell > .admin-video-block .cabinet-block-head h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.05;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .admin-shell > .admin-publish-switcher .admin-publish-actions {
    width: 100%;
  }

  .admin-shell > .admin-listings-block .admin-section-toggle,
  .admin-shell > .admin-video-block .admin-section-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .admin-shell > .admin-news-block .admin-section-toggle {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .admin-shell > .admin-news-block .cabinet-block-head > .button {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
  }

  .admin-shell > .admin-news-block {
    grid-column: 1;
    grid-row: 3;
  }

  .admin-shell > .admin-video-block {
    grid-column: 2;
    grid-row: 3;
  }

  /* The selected publication form belongs directly below its launcher. */
  .admin-shell.has-open-publish > .admin-publish-section {
    grid-column: 1 / -1;
    grid-row: 3;
    min-height: 280px;
  }

  .admin-shell.has-open-publish > .admin-news-block,
  .admin-shell.has-open-publish > .admin-video-block {
    grid-row: 4;
  }

  .admin-shell.has-open-publish > .admin-scheme-block,
  .admin-shell.has-open-publish > .admin-board-block {
    grid-row: 5;
  }
}

.admin-publish-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.admin-publish-actions .button {
  width: 100%;
}

.admin-publish-actions .button.is-active {
  box-shadow: 0 0 0 4px rgba(185,239,77,.35), 0 12px 30px rgba(8,120,63,.18);
}

.admin-registry-add {
  margin: 1.1rem 0 1.2rem;
  padding: 1rem;
  border: 1px solid #e3dccf;
  border-radius: 16px;
  background: #f8f6ef;
}

.admin-registry-add .cabinet-block-head {
  margin-bottom: .8rem;
}

.admin-registry-add .cabinet-block-head h2 {
  font-size: 1.35rem;
}

.admin-publish-section[hidden] {
  display: none;
}

.admin-collapsible.is-collapsed > :not(.cabinet-block-head) {
  display: none !important;
}

.admin-section-toggle {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 .75rem;
  border: 1px solid #d8d1c2;
  border-radius: 10px;
  background: #f8f6ef;
  color: var(--green-dark);
  font: inherit;
  font-size: .75rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-section-toggle:hover,
.admin-section-toggle:focus-visible {
  background: #e8f3eb;
  border-color: #9ac9a9;
}

.admin-listings-block.has-pending {
  border-color: #e7b52f;
  box-shadow: 0 0 0 4px rgba(231,181,47,.18), 0 14px 34px rgba(146,103,19,.12);
  animation: admin-moderation-block-pulse 1.8s ease-in-out infinite;
}

.admin-listings-block.has-pending .admin-section-toggle {
  border-color: #e7b52f;
  background: #fff0bd;
  color: #8b6413;
}

@keyframes admin-moderation-block-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(231,181,47,.14), 0 14px 34px rgba(146,103,19,.1); }
  50% { box-shadow: 0 0 0 8px rgba(231,181,47,.28), 0 18px 40px rgba(146,103,19,.18); }
}

.poll-multiple-choice {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  align-items: center;
  gap: .65rem !important;
  color: var(--ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer;
}

.poll-multiple-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.poll-option input:disabled,
.owner-poll-submit:disabled {
  cursor: not-allowed;
  opacity: .6;
}

.admin-poll-results {
  margin-top: .8rem;
  padding-top: .7rem;
  border-top: 1px solid #e3dccf;
}

.admin-poll-results .poll-result-row > div:first-child {
  font-size: .74rem;
}

.admin-poll-card .poll-results {
  gap: .7rem;
  padding: .8rem .9rem .1rem;
  border: 1px solid #dce9de;
  border-radius: 14px;
  background: #fbfdfb;
}

.admin-poll-card .poll-result-bar {
  height: 9px;
}

.admin-broadcast-button {
  min-height: 36px;
  padding: 0 .7rem;
  margin-top: .35rem;
  font-size: .68rem;
  white-space: normal;
  text-align: center;
}

.admin-news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
}

.admin-news-card {
  display: grid;
  gap: .45rem;
  padding: 1rem;
  border: 1px solid #e3dccf;
  border-radius: 16px;
  background: #f8f6ef;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.admin-news-card:hover,
.admin-news-card:focus-visible {
  border-color: #9ac9a9;
  background: #eef6ef;
}

.admin-news-card .badge {
  width: max-content;
}

.admin-news-card strong {
  font-size: 1.05rem;
}

.admin-news-card time,
.admin-news-card > span:last-of-type {
  color: var(--muted);
  font-size: .8rem;
}

.admin-news-card b {
  margin-top: .25rem;
  color: var(--green);
  font-size: .78rem;
}

.news-editor-dialog {
  max-width: 620px;
}

.news-featured-choice {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  align-items: center;
  gap: .6rem !important;
  color: var(--ink) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.news-featured-choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

@media (max-width: 620px) {
  .admin-publish-actions {
    grid-template-columns: 1fr;
  }

  .admin-shell .cabinet-block-head {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .admin-shell > .admin-news-block .cabinet-block-head > .button,
  .admin-shell > .admin-news-block .admin-section-toggle,
  .admin-shell > .admin-listings-block .admin-section-toggle,
  .admin-shell > .admin-video-block .admin-section-toggle {
    width: 100%;
    margin-top: .7rem;
  }

  .admin-registry-head > .button {
    width: 100%;
  }

  .admin-news-list {
    grid-template-columns: 1fr;
  }

  .admin-shell > .admin-publish-switcher,
  .admin-shell > .admin-listings-block,
  .admin-shell > .admin-news-block,
  .admin-shell > .admin-video-block {
    height: auto;
  }

  .admin-shell > .admin-publish-switcher .cabinet-block-head h2,
  .admin-shell > .admin-listings-block .cabinet-block-head h2,
  .admin-shell > .admin-news-block .cabinet-block-head h2,
  .admin-shell > .admin-video-block .cabinet-block-head h2 {
    white-space: normal;
  }
}
.poll-thanks{padding:.8rem 1rem;border:1px solid #b9d7c2;border-radius:12px;background:#e8f3eb;color:var(--green-dark);font-size:.82rem;font-weight:800;line-height:1.4}.admin-poll-card .admin-response-details{grid-column:1/-1}
.admin-scheme-block{grid-column:1/-1}.admin-scheme-content{display:grid;grid-template-columns:minmax(220px,360px) minmax(280px,1fr);gap:1.2rem;align-items:start}.admin-scheme-preview-wrap{padding:.8rem;border:1px solid #e3dccf;border-radius:16px;background:#f8f6ef}.admin-scheme-preview-wrap img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:10px;background:#e8e4e4}.admin-scheme-preview-wrap p{margin:.7rem 0 0}.admin-scheme-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}.admin-scheme-actions .button{width:100%}
.admin-news-card{display:block;width:100%;border:1px solid #e3dccf;border-radius:14px;background:#f8f6ef;padding:0;text-align:left;color:var(--ink);overflow:hidden}.admin-news-card summary{display:grid;grid-template-columns:auto 1fr auto auto;gap:.7rem;align-items:center;padding:.8rem 1rem;cursor:pointer;list-style:none}.admin-news-card summary::-webkit-details-marker{display:none}.admin-news-card summary::after{content:'↓';color:var(--green);font-weight:800}.admin-news-card[open] summary::after{content:'↑'}.admin-news-card summary strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-news-card summary time{color:var(--muted);font-size:.75rem;white-space:nowrap}.admin-news-expand{display:none}.admin-news-expanded{padding:0 1rem 1rem;border-top:1px solid #e3dccf}.admin-news-expanded p{margin:.8rem 0;color:var(--muted);white-space:pre-wrap}.admin-news-expanded .button{min-height:38px;padding:0 .8rem;font-size:.78rem}
.admin-board-block{grid-column:1/-1}.admin-board-content{display:grid;grid-template-columns:minmax(280px,420px) minmax(280px,1fr);gap:1.2rem;align-items:start}.admin-board-list{display:grid;gap:.7rem}.admin-board-item{display:grid;grid-template-columns:56px 1fr auto;gap:.8rem;align-items:center;padding:.7rem;border:1px solid #e3dccf;border-radius:14px;background:#f8f6ef}.admin-board-item img{width:56px;height:56px;border-radius:12px;object-fit:cover}.admin-board-item div{display:grid;gap:.15rem}.admin-board-item strong{font-size:.88rem}.admin-board-item span,.admin-board-item small{color:var(--muted);font-size:.76rem}.admin-board-item .icon-action{margin:0}
.admin-board-item .admin-board-actions{display:flex;align-items:center;gap:.4rem}.admin-board-item .admin-board-actions .button{min-height:38px;padding:0 .7rem;font-size:.75rem}
@media (min-width: 961px) {
  .admin-shell > .admin-scheme-block,
  .admin-shell > .admin-board-block {
    height: 280px;
    display: flex;
    flex-direction: column;
  }

  .admin-shell > .admin-scheme-block {
    grid-column: 1;
    grid-row: 4;
  }

  .admin-shell > .admin-board-block {
    grid-column: 2;
    grid-row: 4;
  }

  .admin-shell > .admin-scheme-block > .cabinet-block-head,
  .admin-shell > .admin-board-block > .cabinet-block-head {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 1fr auto;
    align-items: end;
  }

  .admin-shell > .admin-scheme-block .cabinet-block-head > div,
  .admin-shell > .admin-board-block .cabinet-block-head > div {
    width: 100%;
    text-align: center;
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
  }

  .admin-shell > .admin-scheme-block .cabinet-block-head .eyebrow,
  .admin-shell > .admin-board-block .cabinet-block-head .eyebrow {
    display: table;
    margin-right: auto;
    text-align: left;
  }

  .admin-shell > .admin-scheme-block .cabinet-block-head h2,
  .admin-shell > .admin-board-block .cabinet-block-head h2 {
    max-width: 100%;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    line-height: 1.05;
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .admin-shell > .admin-scheme-block .admin-section-toggle,
  .admin-shell > .admin-board-block .admin-section-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }

  .admin-shell > .admin-scheme-block:not(.is-collapsed),
  .admin-shell > .admin-board-block:not(.is-collapsed) {
    height: auto;
    min-height: 280px;
  }
}
@media(max-width:620px){.admin-scheme-content,.admin-scheme-actions{grid-template-columns:1fr}}
.admin-access-requests-block{grid-column:1/-1}.admin-access-requests-list{display:grid;gap:.8rem}.admin-access-request{display:grid;grid-template-columns:1fr auto;gap:1rem;align-items:start;padding:1rem;border:1px solid #e3dccf;border-radius:16px;background:#f8f6ef}.admin-access-request.is-processed{opacity:.72}.admin-access-request>div:first-child{display:grid;gap:.22rem}.admin-access-request h3{margin:.45rem 0 .1rem;font-size:1.05rem}.admin-access-request p,.admin-access-request a,.admin-access-request small{margin:0;color:var(--muted);font-size:.8rem}.admin-access-request a{text-decoration:none;color:var(--green-dark);font-weight:800}.admin-access-request-actions{display:grid;gap:.55rem;justify-items:end}.admin-access-request-actions .button{min-width:210px}.admin-access-request-actions .icon-action{margin:0}@media(max-width:620px){.admin-access-request{grid-template-columns:1fr}.admin-access-request-actions{justify-items:stretch}.admin-access-request-actions .button{width:100%}}

/* Рабочие разделы кабинета располагаются в двух колонках; реестр остается широким. */
@media (min-width: 961px) {
  .admin-shell {
    align-items: stretch;
  }

  .admin-shell > .admin-hero {
    grid-column: 1 / -1 !important;
  }

  .admin-shell > .admin-registry-block {
    grid-column: 1 !important;
  }

  .admin-shell > .admin-registry-block:not(.is-collapsed) {
    grid-column: 1 / -1 !important;
  }

  .admin-shell > section:not(.admin-hero):not(.admin-registry-block) {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .admin-shell.has-open-publish > .admin-publish-section {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Единое центрированное оформление заголовков и описаний блоков. */
.cabinet-block-head {
  text-align: center;
}

.cabinet-block-head > div {
  text-align: center;
}

.cabinet-block-head .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.cabinet-block-head p {
  margin-left: auto;
  margin-right: auto;
}

.admin-registry-block > .admin-registry-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-registry-block > .admin-registry-head > div {
  width: 100%;
  text-align: center;
}

.admin-registry-block > .admin-registry-head .admin-section-toggle {
  margin-top: .8rem;
  align-self: center;
}

.admin-shell > section:not(.admin-hero):not(.admin-registry-block) > .cabinet-block-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-shell > section:not(.admin-hero):not(.admin-registry-block) > .cabinet-block-head > div {
  width: 100%;
  text-align: center;
}

.admin-shell > section:not(.admin-hero):not(.admin-registry-block) > .cabinet-block-head .admin-section-toggle,
.admin-shell > section:not(.admin-hero):not(.admin-registry-block) > .cabinet-block-head > .button {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.admin-news-block.is-collapsed #createNewsButton {
  display: none;
}

@media (min-width: 961px) {
  .admin-shell > section:not(.admin-hero):not(.admin-registry-block) {
    display: flex;
    flex-direction: column;
  }

  .admin-shell > section:not(.admin-hero):not(.admin-registry-block) > .cabinet-block-head {
    flex: 1;
    justify-content: space-between;
  }

  .admin-shell > section:not(.admin-hero):not(.admin-registry-block).is-collapsed {
    min-height: 280px;
  }
}

.admin-sidebar a[draggable="true"] {
  cursor: grab;
}

.admin-sidebar a.is-dragging {
  opacity: .58;
  background: #e8f3eb;
}

@media (min-width: 961px) {
  .admin-shell > section:not(.admin-hero):not(.admin-registry-block) {
    min-height: 280px;
  }
}

.admin-fees-manager{margin:1.2rem 0;padding:1rem;border:1px solid #e3dccf;border-radius:16px;background:#f8f6ef}.admin-fees-manager .cabinet-block-head{margin-bottom:.8rem}.admin-fee-form-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.7rem}.admin-fee-form-grid label{min-width:0}.admin-fees-list{display:grid;gap:.65rem;margin-top:1rem}.admin-fee-item{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.8rem;border:1px solid #e3dccf;border-radius:14px;background:#fff}.admin-fee-item div{display:grid;gap:.16rem;min-width:0}.admin-fee-item span,.admin-fee-item small{color:var(--muted);font-size:.72rem;font-weight:800}.admin-fee-item strong{font-size:.9rem}.admin-fee-item .icon-action{margin:0}@media(max-width:960px){.admin-fee-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.admin-fee-form-grid{grid-template-columns:1fr}.admin-fee-item{align-items:flex-start}.owner-fee-card{align-items:flex-start;flex-direction:column}.owner-fee-card strong{font-size:1rem}}
.admin-fee-accounts{margin-top:1rem;border-top:1px solid #e3dccf;padding-top:.8rem}.admin-fee-accounts summary{width:max-content;color:var(--green-dark);font-weight:800;cursor:pointer}.admin-fee-accounts>input{width:100%;height:44px;margin:.8rem 0;border:1px solid #d8d1c2;border-radius:12px;padding:0 .8rem;background:#fff;color:var(--ink);font:inherit}.admin-fee-accounts-list{display:grid;gap:.55rem;max-height:520px;overflow:auto}.admin-fee-account{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.7rem .8rem;border:1px solid #e3dccf;border-radius:12px;background:#fff}.admin-fee-account.is-paid{background:#e8f3eb;border-color:#b9d7c2}.admin-fee-account div{display:grid;gap:.12rem;min-width:0}.admin-fee-account strong{font-size:.84rem}.admin-fee-account span,.admin-fee-account small{color:var(--muted);font-size:.72rem}.admin-fee-account .button{min-height:36px;padding:0 .7rem;font-size:.72rem;white-space:nowrap}@media(max-width:620px){.admin-fee-account{align-items:flex-start;flex-direction:column}.admin-fee-account .button{width:100%}}
.fee-delete-dialog{max-width:620px}.fee-delete-dialog .access-code-actions .button{width:100%}
.video-delete-dialog{max-width:620px}.video-delete-dialog .access-code-actions .button{width:100%}
.owner-edit-dialog{max-width:620px}.admin-related-plots{display:block;margin-top:.35rem;color:var(--green-dark);font-size:.72rem;font-weight:800}
.admin-table td:first-child>strong{display:inline-flex;min-width:42px;height:42px;padding:0 .45rem;align-items:center;justify-content:center;border-radius:50%;background:#e1f3e6;color:var(--green-dark);font-size:.86rem;line-height:1;text-align:center;white-space:nowrap}.admin-table td:first-child .admin-related-plots{max-width:190px}
.admin-table tbody tr{position:relative;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease;transform-origin:center}.admin-table tbody tr:hover{z-index:2;transform:scale(1.012);background:#f4fbf5;box-shadow:0 8px 18px rgba(24,70,50,.1)}
.admin-table th,.admin-table td{ text-align:center!important; border-right:1px solid #e3dccf; vertical-align:middle; }.admin-table th:last-child,.admin-table td:last-child{border-right:0}.admin-table th{white-space:nowrap}.admin-table td:first-child .admin-related-plots{margin:.35rem auto 0}.admin-table td a{display:inline-block}.admin-table .admin-status{margin-left:auto;margin-right:auto}.admin-table .admin-email-editor{justify-items:center}
.admin-table .admin-actions{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;white-space:normal;min-width:54px}.admin-table .admin-actions .icon-action{margin:0;flex:0 0 34px}
.admin-table .admin-actions .icon-action{position:relative}.admin-table .admin-actions .icon-action::after{content:attr(data-tooltip);position:absolute;right:calc(100% + .55rem);top:50%;z-index:20;width:220px;padding:.55rem .7rem;border-radius:10px;background:#123f2b;color:#fff;font-size:.72rem;font-weight:700;line-height:1.25;text-align:left;opacity:0;pointer-events:none;transform:translateY(-50%) translateX(.3rem);transition:opacity .15s ease,transform .15s ease;white-space:normal}.admin-table .admin-actions .icon-action:hover::after,.admin-table .admin-actions .icon-action:focus-visible::after{opacity:1;transform:translateY(-50%) translateX(0)}
.admin-table tbody tr:hover td{background:#f4fbf5;border-right-color:transparent!important}.admin-table tbody tr:hover td:last-child{border-right:0}
.admin-table td:nth-child(5){max-width:260px;white-space:normal;overflow-wrap:anywhere;word-break:break-word}
.admin-table{table-layout:fixed;min-width:1100px}
.admin-table th,.admin-table td{overflow-wrap:anywhere;word-break:break-word}
.admin-table th{white-space:normal}
.admin-table th:nth-child(1),.admin-table td:nth-child(1){width:9%}
.admin-table th:nth-child(2),.admin-table td:nth-child(2){width:11%}
.admin-table th:nth-child(3),.admin-table td:nth-child(3){width:11%}
.admin-table th:nth-child(4),.admin-table td:nth-child(4){width:16%}
.admin-table th:nth-child(5),.admin-table td:nth-child(5){width:12%}
.admin-table th:nth-child(6),.admin-table td:nth-child(6){width:6%}
.admin-table th:nth-child(7),.admin-table td:nth-child(7){width:13%}
.admin-table th:nth-child(8),.admin-table td:nth-child(8){width:8%}
.admin-table th:nth-child(9),.admin-table td:nth-child(9){width:6%}
.admin-table th:nth-child(10),.admin-table td:nth-child(10){width:8%}
.admin-table .admin-email-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0;max-width:100%;gap:.35rem}
.admin-table .admin-email-editor input{min-width:0;width:100%}
.admin-table tbody tr:hover{transform:none}
.admin-table tbody tr > td{border-bottom:1px solid #e3dccf !important;box-shadow:inset 0 -1px 0 #e3dccf}
.admin-table tbody tr > td:last-child{border-right:0 !important}
.admin-table .admin-status{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center}
.admin-table .admin-actions{display:table-cell;min-width:0;height:100%;padding-left:.35rem;padding-right:.35rem;text-align:center;vertical-align:middle;white-space:normal}
.admin-table .admin-actions .icon-action{display:block;margin:.35rem auto;}
.admin-fee-account .button{width:auto}
@media(max-width:620px){.admin-fee-account .button{width:100%}}

.owner-fees-dialog{max-width:760px}.owner-plot-debt-total{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;border:2px solid #087c43;border-radius:14px;background:#e8f3eb;color:var(--green-dark)}.owner-plot-debt-total span{font-weight:800}.owner-plot-debt-total strong{font-size:1.35rem;white-space:nowrap}.owner-fee-dialog-row{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.8rem;border:1px solid #e3dccf;border-radius:12px;background:#faf9f4}.owner-fee-dialog-row.is-paid{background:#e8f3eb;border-color:#b9d7c2}.owner-fee-dialog-row>div{display:grid;gap:.12rem;min-width:0}.owner-fee-dialog-row span,.owner-fee-dialog-row small{color:var(--muted);font-size:.74rem}.owner-fee-dialog-row .button{width:auto;min-height:40px;padding:0 .8rem;white-space:nowrap}.owner-fees-dialog-list{display:grid;gap:.6rem;margin-top:1rem}@media(max-width:620px){.owner-plot-debt-total,.owner-fee-dialog-row{align-items:flex-start;flex-direction:column}.owner-fee-dialog-row .button{width:100%}}
.owner-credit-form{margin-top:1rem;border-color:#b9d7c2;background:#f2faf4}.owner-credit-form>p{margin:.15rem 0 .8rem;color:var(--muted);font-size:.82rem}.owner-credit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.owner-fee-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.owner-credit-total{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.1rem;border:2px solid #d8d1c2;border-radius:14px;background:#faf9f4;color:var(--muted)}.owner-credit-total.has-credit{border-color:#087c43;background:#e8f3eb;color:var(--green-dark)}.owner-credit-total span{font-weight:800}.owner-credit-total strong{font-size:1.35rem;white-space:nowrap}.fee-credit-ledger-row span{overflow-wrap:anywhere}@media(max-width:620px){.owner-credit-grid,.owner-fee-totals{grid-template-columns:1fr}.owner-credit-total{align-items:flex-start;flex-direction:column}}
.fee-year-total-cards article span{color:var(--muted);font-size:.72rem}.fee-credit-owners{border:1px solid #b9d7c2;border-radius:13px;background:#fff;overflow:hidden}.fee-credit-owners summary{padding:.8rem 1rem;color:var(--green-dark);font-weight:800;cursor:pointer;background:#edf7f0}.fee-credit-owners>div{display:grid;gap:.35rem;padding:.75rem}.fee-credit-owners>div>span{display:flex;justify-content:space-between;gap:1rem;padding:.6rem .7rem;border-radius:9px;background:#faf9f5;font-size:.8rem}.fee-credit-owners>div>span>strong{color:var(--green-dark);white-space:nowrap}.fee-credit-owners p{margin:.25rem;color:var(--muted);font-size:.8rem}@media(max-width:620px){.fee-credit-owners>div>span{align-items:flex-start;flex-direction:column}}
.life-services-admin-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.8fr);gap:1rem;align-items:start}.life-service-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.life-service-form-grid .is-wide{grid-column:1/-1}.life-service-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center}.life-service-check input{width:auto!important}.life-service-form-actions,.admin-life-service-actions{display:flex;flex-wrap:wrap;gap:.5rem}.life-service-form-actions .button,.admin-life-service-actions .button{width:auto}.life-service-file-list{display:grid;gap:.4rem;margin:.7rem 0}.life-service-file-list>span{display:flex;justify-content:space-between;gap:.5rem;padding:.5rem .7rem;border-radius:10px;background:#edf7f0}.life-service-file-list a{color:var(--green-dark);font-size:.78rem;font-weight:700}.life-service-file-list button{border:0;background:transparent;color:#a34b3d;font-size:1.2rem;cursor:pointer}.admin-life-service-list{display:grid;gap:.6rem}.admin-life-service-item{display:grid;gap:.7rem;padding:.85rem;border:1px solid #d8e5da;border-radius:13px;background:#fff}.admin-life-service-item.is-hidden{opacity:.65}.admin-life-service-item>div:first-child{display:grid;gap:.15rem}.admin-life-service-item span,.admin-life-service-item small{color:var(--muted);font-size:.72rem}.admin-life-service-actions .button{min-height:34px;padding:0 .6rem;font-size:.7rem}@media(max-width:900px){.life-services-admin-layout{grid-template-columns:1fr}}@media(max-width:620px){.life-service-form-grid{grid-template-columns:1fr}.life-service-form-grid .is-wide{grid-column:auto}.life-service-form-actions .button,.admin-life-service-actions .button{width:100%}}
.admin-fee-account{display:grid;grid-template-columns:minmax(180px,.35fr) minmax(0,1fr);align-items:start}.admin-fee-account-owner{display:grid!important;gap:.15rem!important}.admin-fee-account-owner span{color:var(--green-dark);font-weight:800}.admin-fee-account-charges{display:grid;gap:.45rem}.admin-fee-charge{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:.55rem .65rem;border:1px solid #e3dccf;border-radius:10px;background:#faf9f4}.admin-fee-charge.is-paid{background:#e8f3eb;border-color:#b9d7c2}.admin-fee-charge>div{display:grid!important;gap:.1rem!important}.admin-fee-charge span,.admin-fee-charge small{color:var(--muted);font-size:.72rem}.admin-fee-charge .button{flex:0 0 auto}@media(max-width:620px){.admin-fee-account{grid-template-columns:1fr}.admin-fee-charge{align-items:flex-start;flex-direction:column}.admin-fee-charge .button{width:100%}}
.admin-registry-import{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px) auto;gap:.8rem;align-items:end;margin-top:1rem;padding:1rem;border:1px dashed #b9d7c2;border-radius:16px;background:#f2faf4}.admin-registry-import h3{margin:.3rem 0 .2rem;font-size:1rem}.admin-registry-import p{margin:0;color:var(--muted);font-size:.78rem}.admin-registry-import .admin-form-message{grid-column:1/-1}.admin-file-label{display:grid;gap:.35rem;font-size:.72rem;font-weight:800;color:var(--muted)}.admin-file-label input{width:100%;min-height:44px;padding:.65rem;border:1px solid #d8d1c2;border-radius:12px;background:#fff;color:var(--ink);font:inherit}.admin-registry-import-actions{display:flex;gap:.55rem;align-items:center}.admin-registry-import-actions .button{white-space:nowrap}@media(max-width:760px){.admin-registry-import{grid-template-columns:1fr}.admin-registry-import-actions{flex-direction:column;align-items:stretch}.admin-registry-import-actions .button{width:100%}}

/* Однорядный трек блоков с прокруткой колесом мыши влево и вправо. */
.admin-shell > .admin-block-track {
  grid-column: 1 / -1;
  min-width: 0;
  --admin-card-width: min(620px, 72vw);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 1.2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: .4rem max(.25rem, calc((100% - var(--admin-card-width)) / 2)) 1.3rem;
  scroll-padding-inline: max(.25rem, calc((100% - var(--admin-card-width)) / 2));
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.admin-block-track > section {
  position: relative;
  flex: 0 0 var(--admin-card-width);
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: center;
}

.admin-block-track > section[data-carousel-clone] {
  opacity: .86;
  pointer-events: none;
}

.admin-block-track > section > .cabinet-block-head {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

.admin-block-track > section > .cabinet-block-head > div {
  width: 100%;
  text-align: center;
}

.admin-block-track > section > .cabinet-block-head .admin-section-toggle,
.admin-block-track > section > .cabinet-block-head > .button {
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}

.admin-block-track > section.admin-registry-block:not(.is-collapsed) {
  flex-basis: 100%;
}

.admin-block-track > section.admin-registry-block.admin-section-focused {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.admin-block-track > section.admin-section-focused {
  flex-basis: 100%;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 5;
  scroll-snap-align: start;
}

/* Открытый раздел должен расти по высоте страницы, а не прокручиваться внутри трека. */
.admin-block-track:has(> section.admin-section-focused) {
  display: block;
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  overflow: visible;
  padding-left: .4rem;
  padding-right: .4rem;
}

.admin-block-track:has(> section.admin-section-focused) > section.admin-section-focused {
  display: flex;
  flex: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.admin-block-track:has(> section.admin-section-focused) > section:not(.admin-section-focused) {
  display: none;
}

.admin-block-track > section.admin-publish-section[hidden] {
  display: none;
}

.admin-publish-embedded {
  display: grid;
  width: 100%;
  min-width: 0;
  margin-top: 1.2rem;
}

.admin-publish-embedded > .admin-publish-section {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid #e3dccf;
}

.admin-block-track > section.admin-scheme-block .admin-scheme-content,
.admin-block-track > section.admin-scheme-block .admin-scheme-content > *,
.admin-block-track > section.admin-scheme-block .admin-form,
.admin-block-track > section.admin-scheme-block .admin-scheme-actions {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.admin-block-track > section.admin-scheme-block .admin-scheme-content {
  width: 100%;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
}

.admin-block-track > section.admin-scheme-block .admin-form,
.admin-block-track > section.admin-scheme-block .admin-form > label,
.admin-block-track > section.admin-scheme-block input[type="file"] {
  width: 100%;
}

.admin-block-track > section.admin-scheme-block .admin-form > label {
  min-width: 0;
}

.admin-block-track > section.admin-scheme-block .admin-scheme-actions .button {
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  text-align: center;
}

.admin-block-track > section.admin-scheme-block .admin-scheme-actions {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.admin-block-track > section.admin-scheme-block input[type="file"] {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Реестр при выборе раскрывается на всю рабочую область, как остальные разделы. */
.admin-block-track:has(> section.admin-registry-block.admin-section-focused) > section.admin-registry-block.admin-section-focused {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Рабочая раскладка: два столбца без карусели. Порядок меняется боковым меню. */
.admin-shell > .admin-block-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: visible;
}

.admin-block-track > section,
.admin-block-track > section[data-carousel-clone] {
  display: flex !important;
  flex: none;
  width: auto;
  min-width: 0;
  max-width: none;
  min-height: 280px;
  opacity: 1;
  pointer-events: auto;
}

.admin-block-track > section.admin-section-focused {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  max-width: none;
  flex: none;
}

.admin-block-track > section[data-carousel-clone] {
  display: none !important;
}

.admin-block-track:has(> section.admin-section-focused) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  padding: 0;
  overflow: visible;
}

.admin-block-track:has(> section.admin-section-focused) > section:not(.admin-section-focused) {
  display: flex !important;
}

@media (max-width: 960px) {
  .admin-shell > .admin-block-track,
  .admin-block-track:has(> section.admin-section-focused) {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-block-track > section.admin-section-focused {
    grid-column: 1;
  }
}

/* Единый размер карточек в двух колонках; открытый блок занимает всю строку. */
.admin-block-track > section {
  grid-column: auto !important;
  height: 280px;
  min-height: 280px;
}

.admin-block-track > section.admin-section-focused {
  grid-column: 1 / -1 !important;
  order: -1;
  height: auto !important;
  min-height: 280px;
  border: 3px solid #5ca878;
  background: #fbfffb;
  box-shadow: 0 24px 54px rgba(24,70,50,.2), 0 0 0 5px rgba(143,197,160,.28);
  transform: scale(1.008);
  scroll-margin-top: 112px;
}

.admin-block-track > section:not(.admin-section-focused) {
  order: 0;
}

.admin-section-toggle {
  min-width: 132px;
  min-height: 48px;
  padding: 0 1rem;
  border: 2px solid #b7aa93;
  border-radius: 14px;
  background: #fff8e8;
  color: #0b6d3b;
  font-size: .88rem;
  font-weight: 900;
  box-shadow: 0 5px 0 #d8cdbb, 0 10px 20px rgba(24,70,50,.1);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}

.admin-section-toggle:hover,
.admin-section-toggle:focus-visible {
  background: #e8f6ec;
  border-color: #5ca878;
  box-shadow: 0 3px 0 #9ac9a9, 0 12px 24px rgba(24,70,50,.16);
  transform: translateY(-2px);
}

.admin-section-toggle[aria-expanded="true"] {
  background: #0b8043;
  border-color: #075d31;
  color: #fff;
  box-shadow: 0 5px 0 #064a28, 0 10px 20px rgba(11,128,67,.22);
}

/* Единая заметная стрелка для всех выпадающих списков ЛКП. */
.admin-body select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 52px;
  padding-right: 3.2rem !important;
  border: 2px solid #d8d1c2 !important;
  border-radius: 14px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230b8043' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
}

.admin-body select:focus {
  outline: 3px solid rgba(255, 212, 59, .75);
  outline-offset: 2px;
  border-color: #0b8043 !important;
}

@media (max-width: 960px) {
  .admin-block-track > section.admin-section-focused {
    grid-column: 1 !important;
  }
}

/* Раскрытые разделы не ограничиваются высотой карточки и прокручиваются страницей. */
.admin-body {
  overflow-y: auto !important;
}

.admin-block-track:has(> section.admin-section-focused),
.admin-block-track:has(> section.admin-section-focused) > section.admin-section-focused,
.admin-block-track:has(> section.admin-section-focused) > section.admin-section-focused .admin-table-wrap {
  height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
}

/* Keep the registry heading inside the visible area after the focused card moves to the top. */
.admin-block-track > .admin-registry-block.admin-section-focused {
  padding-top: 6rem;
}

@media (max-width: 960px) {
  .admin-block-track > .admin-registry-block.admin-section-focused {
    padding-top: 7rem;
  }
}

/* Floating registry search is moved outside the transformed card by admin.js. */
.admin-registry-toolbar-placeholder{display:none}.admin-registry-toolbar-placeholder.is-active{display:block}.admin-toolbar.is-floating-registry-toolbar{position:fixed;top:100px;z-index:40;margin:0!important;padding:.7rem;border:1px solid #d8d1c2;border-radius:16px;background:rgba(255,255,255,.97);box-shadow:0 10px 26px rgba(24,70,50,.18);backdrop-filter:blur(10px)}
.admin-registry-back-to-top{position:fixed;right:24px;bottom:24px;z-index:42;display:flex;align-items:center;gap:.5rem;padding:.8rem 1rem;border:0;border-radius:999px;background:var(--green-dark);color:#fff;box-shadow:0 10px 28px rgba(24,70,50,.28);font:inherit;font-weight:800;cursor:pointer;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}.admin-registry-back-to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}.admin-registry-back-to-top:hover{background:#0b8043}.admin-registry-back-to-top:focus-visible{outline:3px solid #ffd43b;outline-offset:3px}.admin-registry-back-to-top span{font-size:1.2rem;line-height:1}
.owner-edit-scope{display:grid;gap:.65rem;margin:.25rem 0;padding:.9rem 1rem;border:2px solid #b9d7c2;border-radius:14px;background:#f4faf6}.owner-edit-scope[hidden]{display:none}.owner-edit-scope legend{padding:0 .35rem;color:var(--green-dark);font-size:.82rem;font-weight:900}.owner-edit-scope label{display:flex!important;grid-template-columns:none!important;align-items:flex-start;gap:.6rem!important;padding:.65rem .75rem;border:1px solid #d8e5da;border-radius:11px;background:#fff;color:var(--ink)!important;font-size:.82rem!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer}.owner-edit-scope input{flex:0 0 auto;width:18px!important;min-height:18px!important;height:18px;margin-top:.1rem;accent-color:#087c43}.owner-edit-scope small{color:var(--muted);font-size:.75rem;line-height:1.4}
.admin-plot-membership{display:inline-grid;place-items:center;min-width:44px;min-height:44px;padding:.45rem .7rem;border:2px solid #d8e5da;border-radius:999px;background:#e7f4ea;color:var(--green-dark);font:inherit;font-weight:900;cursor:pointer;transition:.18s ease}.admin-plot-membership:hover,.admin-plot-membership:focus-visible{border-color:#0b8043;box-shadow:0 0 0 4px rgba(11,128,67,.14);transform:translateY(-1px)}.admin-plot-membership.is-member{border-color:#087c43;background:#087c43;color:#fff;box-shadow:0 5px 14px rgba(8,124,67,.22)}.membership-dialog{text-align:center}.membership-dialog .modal-icon{margin:0 auto}.membership-dialog h2{margin-top:1rem}.membership-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.2rem}.membership-actions .button{width:100%}@media(max-width:520px){.membership-actions{grid-template-columns:1fr}}
.owner-edit-confirm-dialog{text-align:center;max-width:560px}.owner-edit-confirm-dialog .modal-icon{margin:0 auto;background:#fff2d8;color:#9b5c12}.owner-edit-confirm-dialog h2{margin-top:1rem}.owner-edit-confirm-dialog p{color:var(--muted);line-height:1.5}.owner-edit-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;margin-top:1.2rem}.owner-edit-confirm-actions .button{width:100%;min-height:50px}.owner-edit-confirm-actions .button-primary{background:#a94f24}@media(max-width:620px){.owner-edit-confirm-actions{grid-template-columns:1fr}}
.registry-delete-action{color:#9b3d24}.registry-archive-dialog{max-width:760px}.registry-archive-list{display:grid;gap:.7rem;max-height:55vh;margin-top:1rem;overflow:auto}.registry-archive-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem;border:1px solid #e3dccf;border-radius:14px;background:#f8f6ef;text-align:left}.registry-archive-item>div{display:grid;gap:.18rem}.registry-archive-item span,.registry-archive-item small{color:var(--muted);font-size:.75rem}.registry-archive-item .button{width:auto;white-space:nowrap}@media(max-width:620px){.registry-archive-item{align-items:stretch;flex-direction:column}.registry-archive-item .button{width:100%}}
.fee-notices-head-actions{display:flex;align-items:center;gap:.65rem}.fee-notices.is-collapsed #feeNoticesRefresh{display:none}@media(max-width:620px){.fee-notices-head-actions{width:100%;align-items:stretch;flex-direction:column}.fee-notices-head-actions .button,.fee-notices-head-actions .admin-section-toggle{width:100%}}
.fee-notice-custom{display:grid;gap:.4rem;max-width:760px;font-weight:700}.fee-notice-custom textarea{width:100%;min-height:170px;padding:.8rem .9rem;border:1px solid #d9d1c3;border-radius:12px;background:#fff;color:var(--ink,#173c30);font:inherit;line-height:1.5;resize:vertical}.fee-notice-custom textarea:focus{border-color:#087c43;outline:3px solid rgba(8,124,67,.14)}.fee-notice-custom small{color:var(--muted,#667d73);font-size:.75rem;font-weight:600}.fee-notice-custom[hidden]{display:none}
@media(max-width:960px){.admin-toolbar.is-floating-registry-toolbar{top:174px}}
@media(max-width:620px){.admin-registry-back-to-top{right:14px;bottom:14px;padding:.72rem .9rem;font-size:.85rem}}

@media (max-width: 960px) {
  .admin-shell > .admin-block-track {
    grid-column: 1 / -1;
    --admin-card-width: calc(100vw - 2.2rem);
  }

  .admin-block-track > section {
    flex-basis: calc(100vw - 2.2rem);
  }
}
.admin-document-templates-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.2rem}.admin-document-template-form{padding:1rem;border:1px solid #e3dccf;border-radius:16px;background:#f8f6ef}.admin-document-template-form textarea{width:100%;min-height:280px;resize:vertical;border:1px solid #d8d1c2;border-radius:14px;padding:.9rem 1rem;background:#fff;color:var(--ink);font:inherit;line-height:1.45;text-transform:none;letter-spacing:0}.admin-document-template-actions{display:flex;flex-wrap:wrap;gap:.7rem}.admin-document-template-actions .button{width:auto}.admin-document-template-form .admin-field-hint{display:block;min-height:2.6rem;color:var(--muted);font-size:.75rem;line-height:1.35}@media(max-width:960px){.admin-document-templates-grid{grid-template-columns:1fr}}
.admin-section-labels-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}.admin-section-labels-form label{display:grid;gap:.35rem}.admin-section-labels-form input{width:100%;border:1px solid #d8d1c2;border-radius:12px;padding:.75rem .85rem;background:#fff;color:var(--ink);font:inherit}.admin-section-labels-form .button{width:max-content}@media(max-width:960px){.admin-section-labels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.admin-section-labels-grid{grid-template-columns:1fr}.admin-section-labels-form .button{width:100%}}
.admin-block-copy-divider{display:grid;gap:.35rem;margin:1.5rem 0 1rem;padding-top:1.2rem;border-top:1px solid #e3dccf}.admin-block-copy-divider p{margin:0;color:var(--muted);font-size:.85rem}.admin-block-copy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.admin-block-copy-card{display:grid;gap:.55rem;padding:1rem;border:1px solid #e3dccf;border-radius:16px;background:#f8f6ef}.admin-block-copy-card strong{color:var(--green-dark);font-size:1rem}.admin-block-copy-card label{display:grid;gap:.3rem;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:none;letter-spacing:0}.admin-block-copy-card input,.admin-block-copy-card textarea{width:100%;border:1px solid #d8d1c2;border-radius:11px;padding:.7rem .8rem;background:#fff;color:var(--ink);font:inherit;line-height:1.35}.admin-block-copy-card textarea{resize:vertical}@media(max-width:960px){.admin-block-copy-grid{grid-template-columns:1fr}}
.admin-block-copy-details{border:1px solid #e3dccf;border-radius:14px;background:#f8f6ef;overflow:hidden}.admin-block-copy-details summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.1rem;color:var(--green-dark);font-weight:800;cursor:pointer;list-style:none}.admin-block-copy-details summary::-webkit-details-marker{display:none}.admin-block-copy-details summary::after{content:'+';font-size:1.3rem}.admin-block-copy-details[open] summary::after{content:'−'}.admin-block-copy-details .admin-block-copy-card{border:0;border-top:1px solid #e3dccf;border-radius:0;background:#fff}
.admin-label-copy-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.55rem;align-items:end}.admin-label-copy-line input{min-width:0}.admin-inline-copy-toggle{align-self:stretch;border:1px solid #d8d1c2;border-radius:12px;padding:.7rem .85rem;background:#f8f6ef;color:var(--green-dark);font:inherit;font-size:.76rem;font-weight:800;white-space:nowrap;cursor:pointer}.admin-inline-copy-toggle span{font-size:1rem;margin-left:.25rem}.admin-inline-copy-toggle.is-open{background:#dff4e7;border-color:#9bcfb0}.admin-inline-copy-panel{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;padding:.85rem;border:1px solid #d8d1c2;border-radius:12px;background:#f8f6ef}.admin-inline-copy-panel[hidden]{display:none}.admin-inline-copy-panel label{display:grid;gap:.3rem;color:var(--muted);font-size:.72rem;font-weight:800;text-transform:none;letter-spacing:0}.admin-inline-copy-panel input,.admin-inline-copy-panel textarea{width:100%;border:1px solid #d8d1c2;border-radius:10px;padding:.65rem .75rem;background:#fff;color:var(--ink);font:inherit;line-height:1.35}.admin-inline-copy-panel textarea{resize:vertical}.admin-inline-copy-panel label:nth-child(3){grid-column:1/-1}@media(max-width:760px){.admin-label-copy-line{grid-template-columns:1fr}.admin-inline-copy-panel{grid-template-columns:1fr}.admin-inline-copy-panel label:nth-child(3){grid-column:auto}.admin-inline-copy-toggle{width:100%}}
.admin-copy-dialog{max-width:760px}.admin-copy-dialog .modal-icon{margin:0 auto}.admin-copy-dialog h2,.admin-copy-dialog>p{text-align:center}.admin-copy-dialog-form{display:grid;gap:.85rem;margin-top:1.2rem}.admin-copy-dialog-form label{display:grid;gap:.35rem;color:var(--muted);font-size:.75rem;font-weight:800;text-align:left}.admin-copy-dialog-form input,.admin-copy-dialog-form textarea{width:100%;border:1px solid #d8d1c2;border-radius:12px;padding:.8rem .9rem;background:#fff;color:var(--ink);font:inherit;line-height:1.35}.admin-copy-dialog-form textarea{resize:vertical}.admin-copy-dialog-form .access-code-actions{margin-top:.2rem}
.admin-site-editor-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,1fr);gap:1.2rem;align-items:start}.admin-site-editor-subtitle{margin:0 0 .8rem;color:var(--green-dark);font-size:1.1rem}.admin-site-editor-text{display:grid;gap:.65rem}.admin-site-editor-details{border:1px solid #e3dccf;border-radius:14px;background:#f8f6ef;overflow:hidden}.admin-site-editor-details summary{display:flex;justify-content:space-between;gap:1rem;padding:.9rem 1rem;color:var(--green-dark);font-weight:800;cursor:pointer;list-style:none}.admin-site-editor-details summary::-webkit-details-marker{display:none}.admin-site-editor-details summary::after{content:'+';font-size:1.2rem}.admin-site-editor-details[open] summary::after{content:'−'}.admin-site-editor-details summary span{font-size:.72rem;color:var(--muted);white-space:nowrap}.admin-site-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;padding:.9rem;border-top:1px solid #e3dccf;background:#fff}.admin-site-editor-fields label{display:grid;gap:.3rem;color:var(--muted);font-size:.72rem;font-weight:800}.admin-site-editor-fields label:nth-child(odd):last-child{grid-column:1/-1}.admin-site-editor-fields textarea{min-height:42px;resize:vertical}.admin-site-editor-fields textarea,.admin-site-editor-fields input{width:100%;border:1px solid #d8d1c2;border-radius:10px;padding:.65rem .75rem;background:#fff;color:var(--ink);font:inherit;line-height:1.35}.admin-site-editor-order{display:grid;gap:.55rem;padding:.7rem;border:1px solid #e3dccf;border-radius:14px;background:#f8f6ef}.admin-site-order-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.75rem .8rem;border:1px solid #e3dccf;border-radius:11px;background:#fff;color:var(--green-dark);cursor:grab}.admin-site-order-item.is-dragging{opacity:.45}.admin-site-order-handle{color:var(--muted);font-size:1.2rem}.admin-site-order-actions{display:flex;gap:.35rem}.admin-site-order-actions button{width:32px;height:32px;border:1px solid #d8d1c2;border-radius:8px;background:#f8f6ef;color:var(--green-dark);font:inherit;font-weight:800;cursor:pointer}.admin-site-order-actions button:disabled{opacity:.35;cursor:default}@media(max-width:960px){.admin-site-editor-layout{grid-template-columns:1fr}}@media(max-width:620px){.admin-site-editor-fields{grid-template-columns:1fr}.admin-site-editor-fields label:nth-child(odd):last-child{grid-column:auto}}
.admin-site-editor-unified{width:min(100%,1100px);margin:0 auto}.admin-site-editor-unified>.admin-field-hint{text-align:center;margin:0 auto 1rem}.admin-site-editor-unified .admin-site-editor-text{gap:.85rem}.admin-site-editor-block{cursor:grab}.admin-site-editor-block.is-dragging{opacity:.5}.admin-site-editor-block summary{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;align-items:center;justify-content:initial;text-align:center;gap:.75rem;min-height:68px;padding:1rem 1.15rem}.admin-site-editor-block summary>strong{font-size:1.05rem}.admin-site-editor-drag{color:var(--muted);font-size:1.35rem;line-height:1}.admin-site-editor-summary-actions{display:flex;align-items:center;justify-content:center;gap:.45rem}.admin-site-editor-summary-actions>[data-editor-toggle]{min-width:112px;color:var(--green-dark);font-size:.9rem;font-weight:800}.admin-site-editor-summary-actions button{width:38px;height:38px;border:1px solid #d8d1c2;border-radius:10px;background:#fff;color:var(--green-dark);font:inherit;font-size:1.1rem;font-weight:800;cursor:pointer}.admin-site-editor-summary-actions button:hover{background:#e3f5e9}.admin-site-editor-summary-actions button:disabled{opacity:.35;cursor:default}.admin-site-editor-block .admin-site-editor-fields{padding:1.2rem 1.35rem}.admin-site-editor-block[open] summary{background:#e3f5e9}.admin-site-editor-block[open] summary::after{display:none}@media(max-width:620px){.admin-site-editor-block summary{grid-template-columns:1.5rem minmax(0,1fr);text-align:left}.admin-site-editor-summary-actions{grid-column:1/-1;justify-content:center}.admin-site-editor-summary-actions>[data-editor-toggle]{min-width:120px}}
.admin-site-editor-block summary{grid-template-columns:minmax(0,1fr) auto;justify-content:center;text-align:center}.admin-site-editor-block summary::after{display:none!important;content:none!important}.admin-site-editor-block summary>strong{justify-self:center}.admin-site-editor-open{min-width:124px;border:2px solid var(--green-dark);border-radius:12px;padding:.65rem 1rem;background:#fff;color:var(--green-dark);font:inherit;font-weight:800;cursor:pointer}.admin-site-editor-open:hover,.admin-site-editor-block[open] .admin-site-editor-open{background:var(--green-dark);color:#fff}.admin-site-editor-block .admin-site-editor-fields>label:first-child{grid-column:1/-1}.admin-site-editor-toast{position:fixed;z-index:1000;left:50%;bottom:2rem;transform:translate(-50%,1rem);padding:.9rem 1.25rem;border:2px solid #9bcfb0;border-radius:14px;background:#e3f5e9;color:var(--green-dark);box-shadow:0 12px 30px rgb(18 58 45 / 18%);font-weight:800;opacity:0;transition:opacity .2s ease,transform .2s ease}.admin-site-editor-toast.is-visible{opacity:1;transform:translate(-50%,0)}@media(max-width:620px){.admin-site-editor-block summary{grid-template-columns:1fr;gap:.65rem}.admin-site-editor-open{justify-self:center}}
.admin-site-editor-toast{top:1.5rem;bottom:auto;padding:1.05rem 1.6rem;border:3px solid #ffd33d;border-radius:16px;background:var(--green-dark);color:#fff;box-shadow:0 16px 38px rgb(18 58 45 / 32%),0 0 0 5px rgb(255 211 61 / 22%);font-size:1.05rem;letter-spacing:.01em}
.admin-site-editor-toast{top:50%;left:50%;transform:translate(-50%,-50%)}.admin-site-editor-toast.is-visible{transform:translate(-50%,-50%)}
.admin-site-editor-block-save{grid-column:1/-1;justify-self:center;min-width:240px;margin:.25rem auto 0}
.admin-editor-tabs{display:flex;justify-content:center;gap:.65rem;flex-wrap:wrap;margin:1.25rem auto}.admin-editor-tab{border:2px solid #d8d1c2;border-radius:12px;padding:.75rem 1rem;background:#f8f6ef;color:var(--green-dark);font:inherit;font-weight:800;cursor:pointer}.admin-editor-tab:hover,.admin-editor-tab.is-active{border-color:var(--green-dark);background:var(--green-dark);color:#fff}.admin-editor-panel{width:100%}.admin-editor-panel[hidden]{display:none!important}.admin-editor-panel>.admin-form{margin-top:.2rem}.admin-editor-panel .admin-section-labels-grid{margin-top:.25rem}
