.admin-shell {
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-width: auto;
  scrollbar-color: #7964b5 #17151d;
  font-size: 15px;
}
.admin-shell::-webkit-scrollbar { width: 12px; }
.admin-shell::-webkit-scrollbar-track { background: #17151d; }
.admin-shell::-webkit-scrollbar-thumb { background: #7964b5; border: 3px solid #17151d; border-radius: 8px; }
.admin-page { padding-bottom: 90px; }
.admin-page h1 { font-size: 25px; }
.admin-shell :is(.admin-header-actions button, .admin-header-actions a, .admin-section-tabs strong, .admin-settings-actions button, .admin-add-phone-button, .admin-add-phone-form button, .admin-row-actions button, .admin-empty-state button) { font-size: 13px; }
.admin-shell :is(.admin-section-tabs small, .admin-stats span, .admin-user-main small, .admin-add-phone-form p, .admin-feature-toggle small, .admin-settings-heading p, .admin-settings-message, .admin-settings-card header small, .admin-canvas-preview small, .admin-canvas-preview dd, .admin-canvas-preview dt) { font-size: 12px; line-height: 1.5; }
.admin-shell :is(.admin-user-main strong, .admin-feature-toggle strong, .admin-settings-card h3) { font-size: 15px; }
.admin-shell :is(.admin-user-row select, .admin-add-phone-form input, .admin-add-phone-form select, .admin-settings-grid input, .admin-settings-grid select, .admin-settings-grid textarea, .admin-settings-card.maintenance textarea) { font-size: 14px; }
.admin-shell :is(.admin-settings-grid label > span, .admin-settings-card.maintenance > label > span, .admin-add-phone-form label > span) { font-size: 13px; }
.admin-shell .admin-user-row select { min-height: 38px; }
.admin-shell .admin-application-note { display: flex; flex-wrap: wrap; gap: 7px; margin: 5px 0; color: #d8cfec; font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; }
.admin-shell .admin-application-note span:first-child { color: #aa91f3; font-weight: 650; white-space: nowrap; }
.admin-shell .admin-row-actions button { min-height: 36px; }
.admin-shell .admin-settings-grid textarea.admin-release-notes { min-height: 116px; height: 116px; padding: 12px; line-height: 1.6; resize: vertical; }
.workspace.has-managed-announcement { grid-template-rows: 56px 44px minmax(0, 1fr); }
.managed-announcement p { font-size: 13px; font-weight: 550; }
.managed-announcement span { font-size: 11px; }
.cetus-release-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 22px; background: #06050ccc; backdrop-filter: blur(8px); }
.cetus-release-dialog { width: min(520px, 100%); max-height: min(75dvh, 650px); overflow-y: auto; padding: 28px; border: 1px solid #9a84ff66; border-radius: 18px; color: #f5f3f8; background: linear-gradient(145deg, #201b31, #14121d); box-shadow: 0 25px 80px #0009; }
.cetus-release-eyebrow { color: #bbaeff; font-size: 13px; font-weight: 650; letter-spacing: .08em; }
.cetus-release-dialog h2 { margin: 10px 0 16px; font-size: 25px; font-weight: 700; }
.cetus-release-dialog p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; color: #ded9eb; font-size: 15px; line-height: 1.75; }
.cetus-release-dialog button { display: block; margin: 25px 0 0 auto; padding: 11px 18px; border: 0; border-radius: 9px; color: white; background: #7656d9; font-size: 14px; font-weight: 650; }
.cetus-release-dialog button:hover { background: #8869ed; }
.admin-shell .admin-user-row { grid-template-columns: 26px minmax(260px, 1fr) 140px minmax(240px, auto); gap: 12px; }
.admin-shell .admin-user-check, .admin-shell .admin-selection-bar input { appearance: auto; accent-color: #7c5cff; width: 18px; height: 18px; cursor: pointer; }
.admin-shell .admin-user-main { min-width: 0; gap: 7px; }
.admin-shell .admin-user-main strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.admin-shell .admin-user-note { display: flex; align-items: center; gap: 7px; max-width: 560px; }
.admin-shell .admin-user-note input { width: min(100%, 390px); min-width: 0; min-height: 34px; padding: 6px 10px; border: 1px solid #ffffff25; border-radius: 7px; background: #0f0e15; color: #f5f3f8; font-size: 13px; }
.admin-shell .admin-user-note input::placeholder { color: #797382; }
.admin-shell .admin-user-note button, .admin-shell .admin-export-button, .admin-shell .admin-user-filters button, .admin-shell .admin-bulk-toolbar button { min-height: 34px; padding: 6px 11px; border: 1px solid #8f78df5c; border-radius: 7px; color: #e6ddff; background: #30234c; font-size: 13px; white-space: nowrap; }
.admin-shell .admin-user-note button:disabled { opacity: .45; cursor: not-allowed; }
.admin-shell .admin-user-filters, .admin-shell .admin-selection-bar, .admin-shell .admin-bulk-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid #ffffff16; border-radius: 9px; background: #17161c; }
.admin-shell .admin-user-filters label { display: grid; gap: 5px; color: #aaa4b5; font-size: 12px; }
.admin-shell .admin-user-filters input, .admin-shell .admin-user-filters select, .admin-shell .admin-bulk-toolbar input, .admin-shell .admin-bulk-toolbar select { min-height: 35px; padding: 6px 10px; border: 1px solid #ffffff25; border-radius: 7px; background: #0f0e15; color: #f5f3f8; font-size: 13px; color-scheme: dark; }
.admin-shell .admin-selection-bar { align-items: center; }
.admin-shell .admin-selection-bar label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.admin-shell .admin-selection-bar span { color: #b5aacb; font-size: 13px; }
.admin-shell .admin-bulk-toolbar { border-color: #7c5cff66; }
.admin-shell .admin-bulk-toolbar strong { color: #c6b9ff; font-size: 14px; }
.admin-shell .admin-bulk-toolbar input { min-width: min(320px, 100%); }
.admin-shell .admin-list-message { margin: 0 0 12px; color: #cbbdff; font-size: 13px; }
.admin-shell .admin-canvas-settings .admin-settings-actions { position: fixed; z-index: 60; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #9a84ff66; border-radius: 13px; background: #201b2eea; box-shadow: 0 14px 44px #0009; backdrop-filter: blur(14px); }
.admin-shell .admin-canvas-settings .admin-settings-actions .primary { min-height: 43px; padding-inline: 22px; font-size: 14px; font-weight: 700; white-space: nowrap; }
@media (max-width: 1050px) { .admin-shell .admin-user-row { grid-template-columns: 26px minmax(0,1fr) 140px; } .admin-shell .admin-row-actions { grid-column: 2 / -1; justify-content: flex-start; flex-wrap: wrap; } }
@media (max-width: 700px) {
  .admin-shell .admin-canvas-settings .admin-settings-actions { left: 12px; right: 12px; bottom: 12px; justify-content: space-between; }
  .admin-shell .admin-canvas-settings .admin-settings-actions .primary { flex: 1; padding-inline: 10px; }
  .admin-page { padding: 22px 15px 75px; }
  .cetus-release-dialog { padding: 23px; }
  .admin-shell .admin-user-row { grid-template-columns: 24px minmax(0,1fr); }
  .admin-shell .admin-user-row > select, .admin-shell .admin-row-actions { grid-column: 2; }
  .admin-shell .admin-user-tools { align-items: stretch; flex-direction: column; }
  .admin-shell .admin-user-tool-actions { justify-content: space-between; flex-wrap: wrap; }
  .admin-shell .admin-user-note { flex-wrap: wrap; }
}
