:root {
  color-scheme: dark;
  --bg: #0d0e12;
  --sidebar: #111217;
  --panel: #17181f;
  --raised: #1e2029;
  --input: #13141b;
  --line: #2b2c36;
  --line-soft: #22242d;
  --text: #f3f2f7;
  --muted: #9c9daa;
  --quiet: #727582;
  --accent: #b9a3ff;
  --accent-hover: #cbbbff;
  --accent-tint: #a18aff15;
  --green: #a9e5bd;
  --red: #f0a2ac;
  --radius: 16px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--raised);
  color: var(--text);
  font-size: 12px;
  font-weight: 550;
  cursor: pointer;
  transition:
    background 0.16s,
    border-color 0.16s,
    transform 0.16s;
}
button:hover:not(:disabled) {
  background: #282a36;
  border-color: #454756;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button svg,
a svg {
  flex-shrink: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--input);
  color: var(--text);
  outline: 0;
  line-height: 1.7;
  font-size: 13px;
}
input::placeholder,
textarea::placeholder {
  color: var(--quiet);
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: none;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
  display: block;
}
label > input,
label > textarea {
  margin-top: 9px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  letter-spacing: -0.045em;
}
h1 {
  font-size: 36px;
  line-height: 1.16;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
}
p {
  color: var(--muted);
  line-height: 1.8;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 1.7px;
  color: var(--quiet);
}
.primary {
  background: var(--accent);
  color: #1b1332;
  border-color: var(--accent);
  font-weight: 650;
}
.primary:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.muted,
small {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.icon-button {
  width: 38px;
  min-height: 38px;
  padding: 8px;
  background: transparent;
  border-color: transparent;
  border-radius: 9px;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1;
}
.brand-symbol {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #171322;
  border-radius: 11px;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -3px;
  padding-right: 3px;
  box-shadow: 0 3px 20px #a085ff12;
}
.brand-name {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.7px;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.brand-name small {
  font-size: 14px;
  font-weight: 400;
  color: #767581;
  letter-spacing: -0.3px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  background: var(--green);
  flex-shrink: 0;
}
.loading {
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 22px;
  background: var(--bg);
}
.loading > .brand {
  color: var(--accent);
  font-size: 30px;
}
.loading p {
  font-size: 13px;
  color: var(--quiet);
}
/* Application shell */
.workspace {
  min-height: 100dvh;
  padding-left: 242px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 242px;
  z-index: 30;
  background: var(--sidebar);
  border-right: 1px solid var(--line-soft);
  padding: 28px 15px 18px;
  display: flex;
  flex-direction: column;
}
.sidebar > .brand {
  padding: 0 8px;
}
.studio-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 23px 5px 20px;
  padding: 11px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 11px;
  color: var(--muted);
}
.studio-tag > .workspace-plan {
  margin-left: auto;
  font-size: 9px;
  background: #ffffff06;
  padding: 3px 5px;
  border-radius: 4px;
  color: var(--quiet);
}
.studio-tag > .status-dot {
  width: 5px;
  height: 5px;
}
.search-label {
  margin: 0 4px 16px;
}
.search-label input {
  font-size: 12px;
  min-height: 39px;
  padding: 9px 11px;
  background: #ffffff03;
  border-color: var(--line-soft);
  margin: 0;
}
.overview-link,
.workspace-tools > button {
  width: 100%;
  justify-content: flex-start;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 11px 12px;
  min-height: 42px;
  font-size: 12px;
  font-weight: 450;
  gap: 12px;
  border-radius: 8px;
}
.overview-link > span,
.workspace-tools > button > span {
  display: flex;
}
.overview-link svg,
.workspace-tools svg {
  width: 17px;
  height: 17px;
  color: var(--quiet);
}
.overview-link[aria-current="page"] {
  background: var(--accent-tint);
  color: var(--accent);
  border-color: #a18aff13;
}
.overview-link[aria-current="page"] svg {
  color: var(--accent);
}
.overview-link:hover:not(:disabled),
.workspace-tools > button:hover:not(:disabled) {
  background: #ffffff05;
  border-color: transparent;
  color: var(--text);
}
.workspace-tools {
  margin-top: 3px;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #626573;
  margin: 29px 12px 10px;
}
#section-nav {
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #32333f transparent;
  margin-right: -5px;
  padding-right: 5px;
}
.nav-group {
  margin-bottom: 5px;
}
.nav-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 11px 12px;
  font-size: 12px;
  color: #c5c4cf;
  list-style: none;
  border-radius: 8px;
}
.nav-group > summary::-webkit-details-marker {
  display: none;
}
.nav-group > summary > small {
  margin-left: auto;
  color: #686b78;
  font-size: 10px;
}
.nav-group > summary > svg {
  width: 12px;
  height: 12px;
  color: #70727e;
  transition: transform 0.2s;
}
.nav-group[open] > summary > svg {
  transform: rotate(90deg);
}
.nav-group > summary:hover {
  background: #ffffff04;
}
.nav-group-items {
  margin-left: 20px;
  padding-left: 9px;
  border-left: 1px solid #2a2a35;
}
.nav-group-items > button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  gap: 9px;
  padding: 9px 10px;
  min-height: 37px;
  border: 0;
  background: transparent;
  color: #91929f;
  font-size: 11px;
  font-weight: 450;
  line-height: 1.55;
  margin: 2px 0;
  border-radius: 7px;
}
.nav-group-items > button > svg {
  width: 13px;
  height: 13px;
  opacity: 0.55;
}
.nav-group-items > button[aria-current] {
  background: #24202f;
  color: #d2c4ff;
}
.nav-group-items > button:hover:not(:disabled) {
  background: #ffffff05;
  color: #efecfa;
}
.nav-empty {
  padding: 14px;
  font-size: 12px;
}
.sidebar-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 17px 6px 0;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 17px 5px;
}
.sidebar-bottom button,
.sidebar-bottom a {
  padding: 0;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
}
.sidebar-bottom svg {
  width: 13px;
  height: 13px;
}
.sidebar-bottom #account {
  grid-column: 1/-1;
  overflow-wrap: anywhere;
  font-size: 10px;
  color: var(--quiet);
  border-top: 1px solid var(--line-soft);
  padding: 14px 0 0;
}
#nav-close,
#nav-toggle {
  display: none;
}
.main {
  min-width: 0;
}
.topbar {
  height: 77px;
  display: flex;
  align-items: center;
  gap: 23px;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  padding: 0 34px;
  background: #0d0e12ee;
  backdrop-filter: blur(18px);
}
.topbar-trail {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  color: var(--quiet);
  min-width: 0;
}
.topbar-trail strong {
  color: #c0bfce;
  font-weight: 450;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.command-trigger {
  margin-left: auto;
  background: transparent;
  border: 0;
  font-size: 11px;
  font-weight: 400;
  color: var(--quiet);
  gap: 9px;
  padding: 8px 0;
}
.command-trigger > svg {
  width: 15px;
  height: 15px;
}
kbd {
  border: 1px solid #333541;
  background: #ffffff03;
  border-radius: 4px;
  padding: 2px 5px;
  font-family: inherit;
  font-size: 9px;
  color: #777987;
  font-weight: 400;
}
.publish-state {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}
.publish-state[data-status="unsaved"] .status-dot,
.publish-state[data-status="draft"] .status-dot {
  background: #e4bf77;
}
.actions {
  display: flex;
  gap: 8px;
}
.actions button {
  font-size: 11px;
  min-height: 36px;
  padding: 9px 13px;
}
.actions svg {
  width: 14px;
  height: 14px;
}
/* Overview */
.dashboard {
  max-width: 1530px;
  padding: 38px 36px 26px;
  margin: auto;
}
.dashboard-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}
.dashboard-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #82818d;
}
.dashboard-heading h1 {
  font-size: 34px;
  letter-spacing: -1.4px;
  margin: 12px 0 9px;
  font-weight: 500;
}
.dashboard-heading h1 > span {
  color: #aaa7b8;
}
.dashboard-heading p {
  font-size: 12px;
  margin: 0;
  color: #858694;
}
.dashboard-media {
  background: var(--panel);
  font-size: 11px;
  min-height: 40px;
  border-radius: 8px;
}
.dashboard-media svg {
  width: 14px;
  height: 14px;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 22px;
}
.site-stage {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  min-height: 338px;
  background: #252333;
  border: 1px solid #3d364b;
  isolation: isolate;
}
.site-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #090914bb, #11101a15),
    linear-gradient(0deg, #0d0c15eb, transparent 85%);
  z-index: -1;
}
.site-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.85) saturate(0.8);
  transition: transform 1s;
}
.site-stage:hover .site-stage-image {
  transform: scale(1.035);
}
.stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 21px 24px;
}
.stage-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 1.7px;
  color: #e5deef;
}
.stage-label .status-dot {
  width: 5px;
  height: 5px;
}
.stage-open {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #ffffff25;
  background: #ffffff08;
  color: #ddd6ec;
}
.stage-open svg {
  width: 14px;
  height: 14px;
}
.stage-copy {
  padding: 48px 30px 28px;
}
.stage-copy > .eyebrow {
  color: #c3afda;
  font-size: 8px;
  letter-spacing: 1.8px;
}
.stage-copy h2 {
  font-size: 33px;
  font-weight: 500;
  letter-spacing: -1.2px;
  line-height: 1.08;
  margin: 12px 0 23px;
  color: #faf5ff;
}
.stage-copy button {
  min-height: 38px;
  font-size: 10px;
  padding: 10px 14px;
  border-radius: 7px;
}
.stage-copy button svg {
  width: 13px;
  height: 13px;
}
.release-panel {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
  background:
    radial-gradient(ellipse at top right, #8471c20a, transparent 80%),
    var(--panel);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}
.card-heading > .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
}
.pill {
  padding: 4px 7px;
  font-size: 9px;
  color: var(--green);
  background: #83d49e0a;
  border: 1px solid #83d49e20;
  border-radius: 5px;
  white-space: nowrap;
}
.release-symbol {
  margin: 25px 0 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #b9a3ff35;
  background: #b9a3ff09;
  color: var(--accent);
}
.release-symbol > svg {
  width: 18px;
}
.release-panel h2 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.release-panel p {
  font-size: 11px;
  line-height: 1.75;
  margin: 0 0 21px;
  color: #8b8b9a;
}
.release-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  margin-bottom: 11px;
  color: var(--quiet);
}
.release-meta strong {
  font-weight: 450;
  color: #bbb9ca;
}
.history-shortcut {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin-top: auto;
  justify-content: flex-start;
  font-size: 10px;
  padding: 15px 0 0;
  min-height: 29px;
  color: #b9b5c9;
}
.history-shortcut svg {
  width: 13px;
  height: 13px;
}
.history-shortcut svg:last-child {
  margin-left: auto;
  width: 11px;
}
.changed-list {
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.changed-list button {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  font-size: 10px;
  background: transparent;
  border: 0;
  padding: 8px 0;
  min-height: 30px;
}
.changed-list svg {
  width: 12px;
  height: 12px;
}
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 21px 0 37px;
  background: #14151b;
  padding: 20px 0;
}
.stat-strip button {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2px 12px;
  padding: 0 24px;
  text-align: left;
  font-size: 11px;
  min-height: 57px;
  font-weight: 400;
  color: var(--muted);
}
.stat-strip button:last-child {
  border-right: 0;
}
.stat-index {
  grid-row: 1/3;
  align-self: start;
  font-size: 9px;
  color: #565967;
  margin-top: 8px;
}
.stat-value {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1px;
  color: #e9e7f1;
  line-height: 1.2;
}
.stat-strip button > span:not(.stat-index) {
  grid-column: 2;
  font-size: 10px;
}
.stat-strip button > svg {
  grid-column: 3;
  grid-row: 1/3;
  width: 12px;
  height: 12px;
  color: #737282;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.section-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
}
.section-heading h2 {
  font-size: 23px;
  font-weight: 500;
  margin: 8px 0 0;
  letter-spacing: -0.7px;
}
.section-count {
  font-size: 10px;
  color: var(--quiet);
}
.page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.page-card {
  display: block;
  text-align: left;
  padding: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  min-width: 0;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.page-card:hover:not(:disabled) {
  border-color: #6b5d8e;
  background: var(--panel);
  transform: translateY(-3px);
}
.page-card-art {
  height: 138px;
  background: #24222f;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-card-art::after {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(0deg, #12131b44, #19112522);
}
.page-card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.72);
  transition:
    filter 0.3s,
    transform 0.5s;
}
.page-card:hover img {
  filter: saturate(1) brightness(0.9);
  transform: scale(1.035);
}
.page-art-index {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 14px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #e9e0f4;
  background: #15132155;
  padding: 3px 6px;
  border: 1px solid #ffffff20;
  border-radius: 4px;
}
.page-art-edit {
  position: absolute;
  right: 13px;
  top: 13px;
  z-index: 1;
  width: 27px;
  height: 27px;
  border: 1px solid #ffffff28;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #16131f66;
  color: #ece2ff;
}
.page-art-edit svg {
  width: 11px;
  height: 11px;
}
.page-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 17px 17px 19px;
}
.page-card-info h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin: 0 0 5px;
}
.page-card-info div > span {
  font-size: 10px;
  color: #747482;
  font-weight: 400;
}
.content-status {
  font-size: 8px;
  font-weight: 400;
  color: #9392a1;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.content-status .status-dot {
  width: 4px;
  height: 4px;
  background: #849f89;
}
.workspace-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-soft);
  margin-top: 32px;
  padding: 23px 0 0;
  color: #737583;
  font-size: 11px;
}
.workspace-bottom > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.workspace-bottom svg {
  width: 14px;
  height: 14px;
}
.workspace-bottom button {
  background: transparent;
  border: 0;
  color: #c7b8f3;
  font-size: 10px;
  padding: 0;
  min-height: 30px;
}
/* Editing workspace */
.editor-head {
  padding: 35px 36px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1530px;
  margin: auto;
}
.editor-head .eyebrow {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 1.5px;
}
.editor-head h1 {
  font-size: 31px;
  font-weight: 500;
  margin: 9px 0 12px;
}
.editor-head p {
  font-size: 12px;
  line-height: 1.8;
  max-width: 610px;
  margin: 0;
  color: #888896;
}
.revision {
  font-size: 10px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #8d8b9e;
  white-space: nowrap;
}
.editing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 25px;
  padding: 0 36px 60px;
  max-width: 1530px;
  margin: auto;
}
.editor {
  min-width: 0;
}
.form-studio {
  min-width: 0;
}
.form-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #17181f;
  border: 1px solid var(--line);
  padding: 5px;
  border-radius: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  margin-bottom: 22px;
}
.form-tabs button {
  flex: 1;
  white-space: nowrap;
  background: transparent;
  border-color: transparent;
  font-size: 10px;
  color: #8d8b9d;
  border-radius: 6px;
  min-height: 35px;
  padding: 9px;
  gap: 7px;
  font-weight: 450;
}
.form-tabs button svg {
  width: 13px;
  height: 13px;
}
.form-tabs button > span {
  font-size: 9px;
  color: #777588;
  border-radius: 4px;
  background: #ffffff05;
  padding: 1px 5px;
}
.form-tabs button[aria-pressed="true"] {
  background: #a68aee16;
  border-color: #a68aee18;
  color: #d0bdfc;
}
.form-tabs button[aria-pressed="true"] > span {
  color: #bb9fec;
  background: #ad85ff13;
}
.form-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  margin-bottom: 22px;
  min-width: 0;
  overflow: clip;
}
.form-panel-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 24px;
  border-bottom: 1px solid var(--line-soft);
  background: #ffffff01;
}
.form-panel-icon {
  width: 33px;
  height: 33px;
  border: 1px solid #38323f;
  border-radius: 8px;
  background: #ad85ff06;
  display: grid;
  place-items: center;
  color: #a991cf;
  flex-shrink: 0;
}
.form-panel-icon svg {
  width: 16px;
  height: 16px;
}
.form-panel-head h2 {
  font-size: 14px;
  margin: 0 0 5px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
.form-panel-head p {
  font-size: 11px;
  margin: 0;
  color: #797b8a;
  line-height: 1.65;
}
.form-panel-count {
  margin-left: auto;
  font-size: 9px;
  color: #686b7c;
  white-space: nowrap;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px 21px;
  min-width: 0;
}
.form-panel > .field-grid {
  padding: 26px 24px;
}
.field-grid > .field {
  margin: 0;
  min-width: 0;
}
.field-grid > .field-wide,
.field-grid > .block {
  grid-column: 1/-1;
}
.field {
  min-width: 0;
}
.field > label,
.field-label > label {
  display: block;
  font-size: 12px;
  font-weight: 450;
  color: #bdbbc9;
  line-height: 1.7;
  margin-bottom: 9px;
  overflow-wrap: anywhere;
}
.field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.field-label > label {
  margin: 0;
}
.field-kind {
  font-size: 8px;
  padding: 3px 6px;
  border: 1px solid #b9a3ff20;
  color: #a290c6;
  border-radius: 4px;
  background: #a18aff06;
  white-space: nowrap;
}
.field small {
  font-size: 10px;
  line-height: 1.7;
  color: #727586;
  display: block;
  margin-top: 8px;
}
.character-count {
  text-align: right;
}
.input-shell {
  position: relative;
  min-width: 0;
}
.input-shell > svg {
  position: absolute;
  left: 13px;
  top: 16px;
  width: 14px;
  height: 14px;
  color: #706d83;
  pointer-events: none;
}
.input-shell input {
  padding-left: 36px;
}
.input-shell:focus-within > svg {
  color: var(--accent);
}
.block {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #13141b;
  margin: 0 0 15px;
  min-width: 0;
  overflow: clip;
}
.block > summary {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 18px 39px 18px 18px;
  list-style: none;
  line-height: 1.7;
  font-size: 12px;
  color: #c6c2d7;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.block > summary::-webkit-details-marker {
  display: none;
}
.block > summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 25px;
  width: 6px;
  height: 6px;
  border-right: 1px solid #797389;
  border-bottom: 1px solid #797389;
  transform: rotate(-45deg);
}
.block[open] > summary::after {
  transform: rotate(45deg);
  top: 22px;
}
.block[open] > summary {
  border-bottom: 1px solid var(--line);
}
.block-body {
  padding: 22px 18px;
}
.block .block {
  background: #171820;
}
.block .block-body {
  padding: 19px 15px;
}
.array-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 14px;
  margin-bottom: 20px;
}
.array-toolbar button {
  min-height: 32px;
  font-size: 10px;
  padding: 7px 9px;
  gap: 6px;
  background: transparent;
}
.array-toolbar svg {
  width: 12px;
  height: 12px;
}
.array-toolbar .remove-entry {
  color: #c18999;
  border-color: #bc74882a;
  margin-left: 6px;
}
.array-add {
  width: 100%;
  border-style: dashed;
  min-height: 44px;
  background: #bda0ff04;
  border-color: #bda0ff30;
  color: #b8a0d9;
  margin-top: 15px;
  font-size: 11px;
}
.array-add svg {
  width: 14px;
  height: 14px;
}
.optional-field {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: clip;
}
.optional-field > .optional {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px;
  background: #ffffff02;
  color: #bab4cc;
  font-size: 12px;
}
.optional small {
  display: block;
  font-size: 10px;
  color: #767387;
  font-weight: 400;
  margin-top: 3px;
}
.optional-field > .field,
.optional-field > .block {
  margin: 18px;
}
.switch-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff02;
}
.switch-field label {
  font-size: 12px;
  color: #c8c1d6;
}
.switch-field small {
  font-size: 10px;
  color: #797286;
  margin-top: 3px;
}
input.form-switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 39px;
  flex: 0 0 39px;
  height: 23px;
  min-height: 23px;
  padding: 0;
  margin: 0;
  background: #3b3648;
  border: 1px solid #474051;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
input.form-switch::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #aca5bc;
  transition:
    transform 0.2s,
    background 0.2s;
}
input.form-switch:checked {
  background: #ac90e9;
  border-color: #ac90e9;
}
input.form-switch:checked::before {
  transform: translateX(16px);
  background: #fff;
}
input.form-switch:focus {
  border-color: #eee2ff;
}
.asset-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #3a3247;
  border-radius: 10px;
  overflow: hidden;
  background: #13141a;
  min-width: 0;
}
.asset-visual {
  background: repeating-conic-gradient(#22212b 0% 25%, #292632 0% 50%) 50%/18px
    18px;
  display: grid;
  place-items: center;
  min-height: 180px;
  min-width: 0;
  border-right: 1px solid var(--line);
}
.asset-visual > .media-preview {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: transparent;
  margin: 0;
  border: 0;
  border-radius: 0;
}
.asset-visual > svg {
  width: 30px;
  height: 30px;
  color: #83748c;
}
.asset-info {
  padding: 22px;
  align-self: center;
  min-width: 0;
}
.asset-kind {
  display: block;
  letter-spacing: 1.5px;
  font-size: 8px;
  color: #92849b;
  margin-bottom: 12px;
}
.asset-info > strong {
  font-size: 12px;
  font-weight: 450;
  color: #d2c6e1;
  line-height: 1.7;
  display: block;
  overflow-wrap: anywhere;
}
.asset-info > small {
  font-size: 10px;
  color: #81788c;
  margin: 7px 0 18px;
  line-height: 1.7;
}
.asset-choose {
  min-height: 36px;
  font-size: 10px;
  gap: 7px;
  border-color: #4a3b5e;
  color: #c8b3e4;
  background: #b592ef0b;
}
.asset-choose svg {
  width: 13px;
  height: 13px;
}
.asset-address {
  margin-top: 9px;
}
.asset-address summary {
  font-size: 10px;
  color: #91849f;
  padding: 8px 2px;
  cursor: pointer;
  min-height: 33px;
}
.asset-address input {
  font-size: 11px;
  margin-top: 7px;
}
.asset-unavailable {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  color: #98899f;
  font-size: 10px;
  padding: 20px;
}
.field-line {
  display: flex;
  gap: 10px;
}
.field-line input {
  flex: 1;
}
.media-preview {
  width: 180px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}
.editor-guide {
  align-self: start;
  position: sticky;
  top: 104px;
}
.guide-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 21px;
}
.guide-card > .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
}
.guide-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  margin: 23px 0 12px;
  color: #c2bcce;
}
.guide-card p {
  font-size: 11px;
  line-height: 1.85;
  color: #807a90;
}
.guide-card dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px 12px;
  font-size: 10px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.guide-card dt {
  color: #6e6d7b;
}
.guide-card dd {
  color: #b5a9c6;
  margin: 0;
  text-align: right;
}
.guide-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 22px;
  font-size: 10px;
  color: #b9a3d9;
}
.guide-link svg {
  width: 12px;
  height: 12px;
}
.guide-note {
  padding: 24px 15px;
  color: #776585;
}
.guide-note > svg {
  width: 18px;
}
.guide-note h3 {
  font-size: 12px;
  color: #9c8cab;
  letter-spacing: -0.1px;
  margin: 12px 0 8px;
}
.guide-note p {
  font-size: 11px;
  line-height: 1.85;
  color: #6f6a7f;
}
.shortcut {
  font-size: 9px;
  color: #7d758d;
  display: block;
  margin-top: 17px;
}
#notice:empty {
  display: none;
}
#notice:not(:empty) {
  font-size: 11px;
  margin: 16px 36px 0;
  padding: 12px 15px;
  background: #a58acc09;
  border: 1px solid #a58acc25;
  border-radius: 8px;
  color: #baaad0;
}
#error-list {
  margin: 15px 36px;
  padding: 16px;
  border: 1px solid #ec98a730;
  background: #de829110;
  color: #eeafbc;
  border-radius: 9px;
  font-size: 12px;
  white-space: pre-line;
  line-height: 1.8;
}
/* Writing surface */
.rich-field {
  border: 1px solid #3a3148;
  border-radius: 10px;
  background: #14121b;
  overflow: hidden;
}
.rich-field:focus-within {
  border-color: #b097d3;
}
.rich-toolbar.ql-toolbar.ql-snow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid #302836;
  background: #211b29;
  padding: 9px 10px;
  font-family: inherit;
}
.rich-toolbar.ql-snow button {
  width: 29px;
  height: 31px;
  min-height: 31px;
  border: 0;
  border-radius: 5px;
  padding: 6px;
  background: transparent;
}
.rich-toolbar.ql-snow button:hover,
.rich-toolbar.ql-snow button.ql-active {
  background: #a58acc20;
}
.rich-toolbar.ql-snow .ql-picker {
  font-size: 11px;
  height: 31px;
  color: #aa96bc;
}
.rich-toolbar.ql-snow .ql-picker-label {
  padding-top: 5px;
}
.rich-toolbar.ql-snow .ql-picker-options {
  background: #241e2d;
  border-color: #42344f;
  border-radius: 6px;
  color: #c0a5d8;
}
.rich-field .ql-container.ql-snow {
  border: 0;
  font: inherit;
}
.rich-field .ql-editor {
  min-height: 200px;
  max-height: 480px;
  overflow: auto;
  outline: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.95;
  padding: 23px;
  color: #d7cadd;
  overflow-wrap: anywhere;
}
.rich-field .ql-editor p {
  margin-bottom: 9px;
}
.rich-field .ql-editor.ql-blank::before {
  font-style: normal;
  left: 23px;
  color: #73637d;
}
.rich-field .ql-editor h2 {
  font-size: 24px;
  margin: 10px 0;
  line-height: 1.4;
}
.rich-field .ql-editor h3 {
  font-size: 19px;
  margin: 10px 0;
  line-height: 1.5;
}
.rich-field .ql-editor blockquote {
  border-color: #9876b5;
  background: #9673b50a;
  padding: 10px 15px;
  font-style: normal;
}
.rich-field .ql-editor a {
  color: #c6a3e7;
}
.rich-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid #302536;
  background: #1b1621;
  padding: 9px 14px;
  font-size: 9px;
  color: #80678e;
}
.ql-snow .ql-stroke {
  stroke: #a08ab4;
}
.ql-snow .ql-fill {
  fill: #a08ab4;
}
.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke {
  stroke: #e0b9ff;
}
.ql-snow .ql-tooltip {
  background: #251d30;
  border: 1px solid #574065;
  color: #d6b6eb;
  box-shadow: 0 8px 30px #0005;
  z-index: 5;
}
.ql-snow .ql-tooltip input[type="text"] {
  background: #15111c;
  border-color: #574065;
  color: #d6b6eb;
}
.ql-snow a {
  color: var(--accent);
}
/* Overlays and asset library */
dialog {
  color: var(--text);
  background: #17171f;
  border: 1px solid #3c3446;
  border-radius: 18px;
  padding: 29px;
  max-width: min(620px, calc(100vw - 32px));
  width: 100%;
  max-height: 90dvh;
  box-shadow: 0 30px 130px #000a;
}
dialog::backdrop {
  background: #050308c9;
  backdrop-filter: blur(10px);
}
dialog header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}
dialog header .eyebrow {
  color: #887194;
  font-size: 9px;
}
dialog h2 {
  font-size: 28px;
  letter-spacing: -1px;
  margin: 8px 0 0;
}
dialog p {
  font-size: 12px;
  color: #8c7d98;
  line-height: 1.8;
}
dialog header .icon-button {
  color: #ad96be;
}
.wide-dialog {
  max-width: min(1120px, calc(100vw - 32px));
}
.media-toolbar {
  display: flex;
  gap: 12px;
  padding: 17px 0 22px;
}
.media-toolbar > input {
  flex: 1;
  font-size: 12px;
  background: #110e18;
  border-color: #352b40;
}
.upload-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-width: 140px;
  background: var(--accent);
  color: #21152f;
  font-size: 11px;
  font-weight: 600;
  border-radius: 9px;
  padding: 13px 18px;
}
.upload-button input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.upload-button:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 17px;
}
.media-tile {
  border: 1px solid #322939;
  border-radius: 12px;
  overflow: hidden;
  background: #1d1824;
  min-width: 0;
  padding: 9px;
  transition: border-color 0.2s;
}
.media-tile:hover {
  border-color: #71518a;
}
.media-tile img,
.media-tile video {
  width: 100%;
  height: 145px;
  object-fit: contain;
  background: #100c16;
  border-radius: 7px;
}
.media-tile p {
  font-size: 10px;
  color: #bda6cc;
  margin: 11px 5px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.media-tile button {
  width: 100%;
  min-height: 33px;
  font-size: 10px;
  background: #bda0ff0a;
  color: #c8afdc;
  border-color: #60417444;
  border-radius: 7px;
}
.history-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid #382d42;
}
.history-row > span {
  font-size: 13px;
}
.history-row small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.8;
  color: #8b739c;
}
.history-row button {
  font-size: 10px;
  min-height: 36px;
  color: #c8afe3;
  border-color: #473158;
  background: #bda0ff06;
}
.link-dialog {
  max-width: min(480px, calc(100vw - 32px));
}
.link-dialog input,
#entry-key {
  margin-top: 8px;
  background: #120e19;
  border-color: #42304e;
}
.link-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
}
#rich-link-error {
  color: var(--red);
  margin-top: 9px;
}
.command-dialog {
  padding: 0;
  max-width: min(620px, calc(100vw - 30px));
  margin-top: 15dvh;
  background: #17151e;
  border-color: #473650;
}
.command-dialog header {
  margin: 0;
  padding: 16px 19px;
  align-items: center;
  border-bottom: 1px solid #392b43;
  gap: 10px;
}
.command-dialog header input {
  border: 0;
  padding: 7px 0;
  background: transparent;
  font-size: 15px;
  color: #e2d0ed;
}
.command-dialog footer {
  border-top: 1px solid #392b43;
  padding: 14px 21px;
  font-size: 10px;
  color: #7e688e;
  display: flex;
  align-items: center;
  gap: 8px;
}
.command-dialog footer kbd {
  margin-left: auto;
}
#command-results {
  max-height: 48dvh;
  overflow: auto;
  padding: 8px;
}
#command-results button {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  justify-content: flex-start;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 12px;
  font-size: 12px;
  gap: 13px;
}
#command-results button > svg {
  width: 16px;
  color: #8c6ca5;
}
#command-results button > svg:last-child {
  margin-left: auto;
  width: 12px;
}
#command-results button strong {
  font-weight: 450;
  display: block;
  color: #d3beda;
}
#command-results button small {
  font-size: 10px;
  color: #866994;
  display: block;
  margin-top: 4px;
}
#command-results button:hover,
#command-results button:focus {
  background: #bda0ff10;
}
.command-empty {
  padding: 30px 20px;
  text-align: center;
}
/* Sign in */
.login-screen {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: #0e0c13;
}
.login-art {
  position: relative;
  overflow: hidden;
  min-height: 100dvh;
  padding: 47px 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 75% 60%, #6b3f8733, transparent 65%), #15101e;
  border-right: 1px solid #33203f;
  isolation: isolate;
}
.login-art .brand {
  position: relative;
  z-index: 1;
}
.login-art > .brand .brand-name {
  color: #ede0f6;
}
.login-art > .brand .brand-name small {
  color: #8d709e;
}
.login-art > div:not(.login-grid) {
  position: relative;
  z-index: 1;
  margin: 100px 0 85px;
}
.login-art .eyebrow {
  font-size: 9px;
  color: #a989ba;
  letter-spacing: 2px;
}
.login-art h1 {
  font-size: clamp(55px, 5.5vw, 90px);
  font-weight: 450;
  letter-spacing: -4px;
  line-height: 0.96;
  margin: 30px 0;
}
.login-art h1 > span {
  color: #c5a2e4;
}
.login-art p {
  font-size: 13px;
  color: #a68bb7;
  max-width: 280px;
  line-height: 1.9;
}
.art-foot {
  font-size: 9px;
  letter-spacing: 2px;
  color: #6f587e;
}
.login-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#b89ad206 1px, transparent 1px),
    linear-gradient(90deg, #b89ad206 1px, transparent 1px);
  background-size: 60px 60px;
  overflow: hidden;
}
.login-grid > span {
  position: absolute;
  width: 300px;
  height: 460px;
  border-radius: 160px;
  border: 1px solid #caa3e633;
  background: linear-gradient(130deg, #caa3e61a, transparent 55%);
  transform: rotate(35deg);
  right: -40px;
  bottom: 50px;
  box-shadow: inset 1px 1px 1px #d8bcee21;
}
.login-grid > span:nth-child(2) {
  right: 30px;
  bottom: 95px;
  width: 290px;
  height: 440px;
}
.login-grid > span:nth-child(3) {
  right: 100px;
  bottom: 140px;
  width: 280px;
  height: 420px;
}
.login-grid > span:nth-child(4) {
  right: 170px;
  bottom: 185px;
  width: 270px;
  height: 400px;
}
.login-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 38px clamp(25px, 3.5vw, 64px) 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 52px;
  background: radial-gradient(ellipse at 50% 42%, #7c58be12, transparent 64%), #0e0c13;
}
.login-panel-top,.login-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
  color: #9892a7;
}
.login-panel-top > span:first-child { font-size: 9px; letter-spacing: 2px; font-weight: 600; }
.login-private { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.login-private > span { width: 5px; height: 5px; border-radius: 50%; background: #b4a0de; box-shadow: 0 0 12px #aa88db55; }
.login-card-wrap { position: relative; width: 100%; max-width: 450px; margin: auto; }
.login-card-wrap::before { content: ""; position: absolute; z-index: -1; inset: -70px -25px; background: radial-gradient(ellipse, #9265db13, transparent 66%); pointer-events: none; }
.login-card {
  position: relative;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid transparent;
  border-radius: 25px;
  background: linear-gradient(145deg, #1c1824, #121117 65%) padding-box, linear-gradient(135deg, #b091d845, #53455f45 42%, #b091d81c) border-box;
  box-shadow: 0 30px 90px #00000030, inset 0 1px 0 #ffffff04;
}
.login-symbol { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid #b19bd93d; border-radius: 18px; background: linear-gradient(135deg, #70529c44, #41325022); box-shadow: inset 0 1px 0 #d9c6ff15, 0 10px 30px #00000020; margin-bottom: 35px; }
.login-symbol > span:first-child { display: flex; }
.login-symbol svg { width: 28px; height: 28px; color: #c6acee; }
.login-symbol-spark { position: absolute; right: -5px; top: -5px; width: 15px; height: 15px; border-radius: 5px; background: #c7b0f4; border: 4px solid #211b2c; box-shadow: 0 0 20px #b592ff33; }
.login-card .eyebrow { color: #ad95c9; font-size: 9px; letter-spacing: 2px; margin: 0 0 14px; }
.login-card h2 { font-size: clamp(30px, 2.9vw, 42px); font-weight: 500; letter-spacing: -1.8px; line-height: 1.12; margin: 0 0 16px; }
.login-card h2 > span { color: #b499eb; }
.login-card .login-intro { font-size: 13px; line-height: 1.8; color: #a8a1b5; max-width: 290px; margin: 0 0 34px; }
.login-card .microsoft-signin { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 56px; padding: 15px 17px; border: 1px solid #ffffff; border-radius: 12px; background: #f2eef8; color: #25202e; box-shadow: 0 4px 18px #00000018; font-size: 12px; font-weight: 600; transition: background .2s, box-shadow .2s, transform .2s; }
.login-card .microsoft-signin:hover { background: #fff; border-color: #fff; box-shadow: 0 6px 24px #c2a6ee24; transform: translateY(-2px); }
.login-card .microsoft-signin:active { transform: translateY(0); }
.login-card .microsoft-signin:focus-visible { outline: 2px solid #c5acf0; outline-offset: 5px; }
.microsoft-signin svg { flex: none; }
.microsoft-signin .signin-arrow { margin-left: auto; color: #655975; transition: transform .2s; }
.microsoft-signin:hover .signin-arrow { transform: translateX(3px); }
.login-account-hint { margin: 14px 0 0; text-align: center; color: #a29aaF; font-size: 10px; line-height: 1.7; }
.login-access { display: flex; gap: 11px; margin-top: 29px; padding-top: 25px; border-top: 1px solid #91819f20; }
.login-access > span { display: flex; color: #9d8caf; margin-top: 2px; }
.login-access svg { width: 16px; height: 16px; }
.login-access strong { font-size: 11px; color: #c5bdcf; font-weight: 500; }
.login-access p { font-size: 10px; line-height: 1.8; color: #9990a5; margin: 5px 0 0; }
.login-card #login-error { color: #edb4c0; background: #ed92ad09; border-radius: 10px; padding: 12px 14px; font-size: 12px; line-height: 1.7; margin: 22px 0 0; overflow-wrap: anywhere; }
.login-card #login-error:empty { display: none; }
.login-card-caption { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 10px; color: #93889f; margin-top: 24px; }
.login-card-caption > span { width: 15px; height: 1px; background: #766183; }
.login-panel-footer { font-size: 9px; color: #8c8397; }
.login-panel-footer > span:last-child { font-size: 8px; letter-spacing: .5px; }
[hidden] {
  display: none !important;
}
@media (min-width: 1600px) {
  .site-stage {
    min-height: 385px;
  }
  .stage-copy {
    padding-top: 80px;
  }
  .page-card-art {
    height: 170px;
  }
  .dashboard {
    padding-top: 45px;
  }
}
@media (max-width: 1240px) {
  .publish-state {
    display: none;
  }
  .topbar {
    gap: 20px;
  }
  .command-trigger > span:not([data-icon]) {
    display: none;
  }
  .overview-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 18px;
  }
  .dashboard-heading h1 {
    font-size: 30px;
  }
  .stage-copy h2 {
    font-size: 29px;
  }
  .release-panel {
    padding: 21px;
  }
  .editing-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .editor-guide {
    display: none;
  }
  .page-card-info {
    padding: 15px 13px;
  }
  .content-status {
    font-size: 7px;
  }
  .page-card-info h3 {
    font-size: 12px;
  }
}
@media (max-width: 1030px) {
  .workspace {
    padding-left: 215px;
  }
  .sidebar {
    width: 215px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .brand-name {
    font-size: 17px;
    gap: 5px;
  }
  .brand-name small {
    font-size: 12px;
  }
  .brand-symbol {
    width: 32px;
    height: 32px;
    font-size: 25px;
    border-radius: 9px;
  }
  .studio-tag {
    font-size: 10px;
  }
  .workspace-plan {
    display: none;
  }
  .dashboard {
    padding: 30px 26px;
  }
  .topbar {
    padding: 0 26px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .site-stage {
    min-height: 320px;
  }
  .stage-copy {
    padding-top: 40px;
  }
  .release-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 25px;
    align-items: start;
  }
  .release-panel .card-heading {
    grid-column: 1/-1;
    margin-bottom: 15px;
  }
  .release-symbol {
    display: none;
  }
  .release-panel h2 {
    font-size: 20px;
    grid-column: 1;
  }
  .release-panel p {
    grid-column: 1;
    grid-row: 3/6;
    max-width: 260px;
    margin-bottom: 0;
  }
  .release-meta {
    grid-column: 2;
  }
  .release-meta:nth-of-type(3) {
    grid-row: 2;
  }
  .history-shortcut {
    grid-column: 2;
  }
  .release-panel .changed-list {
    grid-column: 1/-1;
  }
  .stat-strip button {
    padding: 0 15px;
    gap: 3px 8px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-index {
    display: none;
  }
  .stat-strip button > span:not(.stat-index) {
    grid-column: 1;
  }
  .stat-strip button > svg {
    grid-column: 2;
  }
  .stat-strip button {
    grid-template-columns: 1fr auto;
  }
  .page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .page-card-art {
    height: 150px;
  }
  .content-status {
    font-size: 8px;
  }
  .page-card-info h3 {
    font-size: 13px;
  }
  .dashboard-heading {
    align-items: flex-start;
  }
  .dashboard-heading h1 {
    font-size: 29px;
  }
  .dashboard-heading h1 > span {
    display: block;
  }
  .dashboard-media {
    font-size: 10px;
    white-space: nowrap;
    margin-top: 27px;
  }
  .editor-head {
    padding: 30px 26px 26px;
  }
  .editing-layout {
    padding: 0 26px 50px;
  }
  .form-panel-head {
    padding: 22px;
  }
  .form-panel > .field-grid {
    padding: 25px 22px;
  }
  .form-tabs button {
    font-size: 10px;
  }
  .form-tabs button svg {
    display: none;
  }
  .workspace-bottom {
    align-items: flex-start;
  }
  .workspace-bottom > div {
    max-width: 270px;
    line-height: 1.8;
  }
  .workspace-bottom button {
    white-space: nowrap;
  }
  .login-art {
    padding: 40px;
  }
  .login-art h1 {
    letter-spacing: -3px;
  }
  .login-grid > span {
    right: -180px;
  }
  .login-grid > span:nth-child(2) {
    right: -110px;
  }
  .login-grid > span:nth-child(3) {
    right: -40px;
  }
  .login-grid > span:nth-child(4) {
    right: 30px;
  }
}
@media (max-width: 700px) {
  .workspace {
    padding-left: 0;
  }
  .sidebar {
    width: min(295px, 86vw);
    padding: 28px 20px 18px;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
    z-index: 40;
  }
  .workspace.nav-open .sidebar {
    transform: translateX(0);
    box-shadow: 0 0 0 100vmax #03020abc;
  }
  .sidebar > .brand {
    padding-left: 5px;
  }
  .sidebar .brand-symbol {
    width: 35px;
    height: 35px;
  }
  .sidebar .brand-name {
    font-size: 19px;
  }
  .sidebar .brand-name small {
    font-size: 14px;
  }
  .studio-tag {
    margin-top: 25px;
    font-size: 11px;
  }
  .studio-tag > .workspace-plan {
    display: block;
  }
  #nav-close {
    display: flex;
    position: absolute;
    right: 12px;
    top: 27px;
    color: #a98fc0;
  }
  #nav-toggle {
    display: flex;
    flex-shrink: 0;
    color: #bab1ca;
    width: 32px;
    min-height: 36px;
  }
  .sidebar-bottom button,
  .sidebar-bottom a {
    min-height: 39px;
  }
  .nav-caption {
    margin-top: 22px;
  }
  .nav-group-items > button {
    font-size: 12px;
    min-height: 40px;
  }
  .topbar {
    padding: 0 16px;
    height: 68px;
    gap: 13px;
  }
  .topbar-trail {
    display: none;
  }
  .command-trigger {
    margin: 0;
    font-size: 10px;
    padding: 8px 0;
    min-height: 35px;
  }
  .command-trigger kbd {
    display: none;
  }
  .command-trigger > svg {
    width: 17px;
    height: 17px;
  }
  .actions {
    margin-left: auto;
    gap: 6px;
  }
  .actions button {
    padding: 9px 11px;
    font-size: 10px;
    min-height: 36px;
  }
  .actions svg {
    width: 12px;
    height: 12px;
  }
  .dashboard {
    padding: 30px 18px 23px;
  }
  .dashboard-heading {
    gap: 15px;
    margin-bottom: 24px;
  }
  .dashboard-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .dashboard-heading h1 {
    font-size: 30px;
    letter-spacing: -1.1px;
    margin: 13px 0 10px;
  }
  .dashboard-heading h1 > span {
    display: block;
  }
  .dashboard-heading p {
    font-size: 11px;
    line-height: 1.9;
    max-width: 260px;
  }
  .dashboard-media {
    font-size: 0;
    min-width: 35px;
    min-height: 35px;
    padding: 8px;
    gap: 0;
    margin-top: 27px;
  }
  .dashboard-media svg {
    width: 16px;
    height: 16px;
  }
  .overview-grid {
    gap: 15px;
  }
  .site-stage {
    min-height: 320px;
    border-radius: 12px;
  }
  .stage-top {
    padding: 19px 21px;
  }
  .stage-label {
    font-size: 8px;
    letter-spacing: 1.3px;
  }
  .stage-open {
    width: 29px;
    height: 29px;
  }
  .stage-copy {
    padding: 53px 23px 25px;
  }
  .stage-copy h2 {
    font-size: 29px;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-top: 13px;
  }
  .stage-copy > .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  .stage-copy button {
    min-height: 39px;
    font-size: 11px;
  }
  .release-panel {
    padding: 21px;
    border-radius: 12px;
    display: block;
  }
  .release-panel .card-heading {
    margin-bottom: 21px;
  }
  .release-panel h2 {
    font-size: 21px;
    margin-bottom: 8px;
  }
  .release-panel p {
    font-size: 11px;
    max-width: none;
    margin-bottom: 20px;
  }
  .release-meta {
    font-size: 11px;
    margin-bottom: 13px;
  }
  .history-shortcut {
    width: 100%;
    margin-top: 15px;
    font-size: 11px;
    padding-top: 17px;
    min-height: 39px;
  }
  .stat-strip {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin: 17px 0 30px;
    border-radius: 11px;
  }
  .stat-strip button {
    padding: 20px;
    gap: 6px 12px;
    min-height: 100px;
    border-bottom: 1px solid var(--line);
  }
  .stat-strip button:nth-child(2) {
    border-right: 0;
  }
  .stat-strip button:nth-child(3),
  .stat-strip button:nth-child(4) {
    border-bottom: 0;
  }
  .stat-value {
    font-size: 30px;
  }
  .stat-strip button > span:not(.stat-index) {
    font-size: 10px;
  }
  .section-heading {
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 24px;
    margin-top: 10px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
  }
  .section-count {
    font-size: 9px;
  }
  .page-grid {
    gap: 12px;
  }
  .page-card {
    border-radius: 9px;
  }
  .page-card-art {
    height: 116px;
  }
  .page-card-info {
    display: block;
    padding: 15px 13px;
  }
  .page-card-info h3 {
    font-size: 13px;
    margin-bottom: 5px;
  }
  .page-card-info div > span {
    font-size: 10px;
  }
  .content-status {
    margin-top: 14px;
    font-size: 9px;
  }
  .page-art-index {
    left: 10px;
    top: 10px;
    font-size: 8px;
    padding: 2px 4px;
  }
  .page-art-edit {
    right: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
  }
  .page-art-edit svg {
    width: 10px;
    height: 10px;
  }
  .workspace-bottom {
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
    padding-top: 20px;
    font-size: 11px;
  }
  .workspace-bottom > div {
    max-width: none;
  }
  .workspace-bottom button {
    font-size: 11px;
    min-height: 40px;
    justify-content: space-between;
    width: 100%;
  }
  .editor-head {
    padding: 28px 20px 24px;
  }
  .editor-head h1 {
    font-size: 29px;
    margin: 11px 0;
  }
  .editor-head p {
    font-size: 11px;
    line-height: 1.8;
  }
  .revision {
    display: none;
  }
  .editing-layout {
    padding: 0 15px 45px;
  }
  .form-tabs {
    padding: 5px;
    gap: 3px;
    margin-bottom: 18px;
    border-radius: 9px;
  }
  .form-tabs button {
    min-height: 41px;
    padding: 10px 12px;
    flex: none;
    font-size: 10px;
  }
  .form-tabs button > span {
    font-size: 8px;
  }
  .form-panel {
    border-radius: 11px;
    margin-bottom: 18px;
  }
  .form-panel-head {
    padding: 21px 17px;
    align-items: flex-start;
    gap: 11px;
  }
  .form-panel-head h2 {
    font-size: 14px;
    margin-top: 1px;
  }
  .form-panel-head p {
    font-size: 10px;
    line-height: 1.75;
  }
  .form-panel-count {
    display: none;
  }
  .form-panel-icon {
    width: 31px;
    height: 31px;
  }
  .form-panel > .field-grid {
    padding: 24px 17px;
  }
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .field > label,
  .field-label > label {
    font-size: 12px;
  }
  .field input:not([type="checkbox"]),
  .field textarea {
    font-size: 16px;
    min-height: 49px;
    padding: 12px;
  }
  .input-shell input:not([type="checkbox"]) {
    padding-left: 37px;
  }
  .input-shell > svg {
    top: 18px;
  }
  .field .asset-address input {
    font-size: 16px;
  }
  .field-kind {
    font-size: 8px;
  }
  .rich-field .ql-editor {
    font-size: 16px;
    min-height: 205px;
    padding: 17px;
  }
  .rich-field .ql-editor.ql-blank::before {
    left: 17px;
  }
  .rich-toolbar.ql-toolbar.ql-snow {
    padding: 8px;
  }
  .rich-toolbar.ql-snow button {
    min-height: 34px;
    width: 31px;
    height: 34px;
  }
  .rich-toolbar .ql-picker.ql-header {
    width: 91px;
  }
  .rich-footer {
    font-size: 9px;
    padding: 10px 12px;
  }
  .block > summary {
    padding: 18px 34px 18px 13px;
    font-size: 12px;
  }
  .block-body {
    padding: 19px 12px;
  }
  .block .block-body {
    padding: 17px 10px;
  }
  .block > summary::after {
    right: 16px;
  }
  .array-toolbar {
    justify-content: flex-start;
    gap: 5px;
  }
  .array-toolbar button {
    font-size: 9px;
    min-height: 41px;
    padding: 8px;
    gap: 4px;
  }
  .array-toolbar .remove-entry {
    margin-left: auto;
  }
  .array-toolbar svg {
    width: 11px;
    height: 11px;
  }
  .optional-field > .optional {
    padding: 15px 13px;
  }
  .optional-field > .field,
  .optional-field > .block {
    margin: 15px 12px;
  }
  .asset-card {
    grid-template-columns: 1fr;
  }
  .asset-visual {
    min-height: 165px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .asset-visual > .media-preview {
    height: 180px;
  }
  .asset-info {
    padding: 20px;
  }
  .asset-info > strong {
    font-size: 12px;
  }
  .asset-info > small {
    font-size: 11px;
  }
  .asset-choose {
    width: 100%;
    min-height: 43px;
    font-size: 11px;
  }
  .asset-address summary {
    min-height: 43px;
    padding: 11px 2px;
    font-size: 11px;
  }
  #notice:not(:empty),
  #error-list {
    margin: 12px 18px 0;
    font-size: 11px;
    padding: 13px;
  }
  dialog {
    padding: 22px;
    border-radius: 14px;
    max-height: 92dvh;
  }
  dialog h2 {
    font-size: 25px;
  }
  dialog header .eyebrow {
    font-size: 8px;
  }
  dialog p {
    font-size: 11px;
  }
  .media-toolbar {
    flex-direction: column;
    gap: 11px;
    padding-top: 9px;
  }
  .media-toolbar > input {
    font-size: 16px;
  }
  .upload-button {
    min-height: 45px;
  }
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }
  .media-tile {
    padding: 7px;
    border-radius: 9px;
  }
  .media-tile img,
  .media-tile video {
    height: 115px;
  }
  .media-tile p {
    font-size: 9px;
    margin: 10px 3px;
  }
  .media-tile button {
    min-height: 38px;
    font-size: 9px;
    padding: 8px;
  }
  .history-row {
    gap: 15px;
  }
  .history-row small {
    font-size: 10px;
  }
  .history-row > span {
    font-size: 12px;
  }
  .history-row button {
    font-size: 9px;
    padding: 9px;
  }
  .link-dialog input,
  #entry-key {
    font-size: 16px;
  }
  .command-dialog {
    padding: 0;
    margin-top: 9dvh;
  }
  .command-dialog header {
    padding: 15px;
  }
  .command-dialog header input {
    font-size: 16px;
  }
  .command-dialog footer {
    padding: 13px 15px;
    font-size: 9px;
  }
  #command-results {
    max-height: 57dvh;
  }
  .login-screen {
    grid-template-columns: 1fr;
  }
  .login-art {
    min-height: 390px;
    padding: 30px;
    gap: 45px;
    border-right: 0;
    border-bottom: 1px solid #33203f;
  }
  .login-art > div:not(.login-grid) {
    margin: 0;
  }
  .login-art h1 {
    font-size: 53px;
    letter-spacing: -2.5px;
    line-height: 0.96;
    margin: 24px 0 19px;
  }
  .login-art h1 br:nth-child(2) {
    display: none;
  }
  .login-art h1 > span {
    display: block;
  }
  .login-art p {
    font-size: 12px;
    max-width: 250px;
    margin: 0;
  }
  .login-art .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .art-foot {
    display: none;
  }
  .login-grid > span {
    height: 330px;
    width: 210px;
    right: -60px;
    bottom: -65px;
  }
  .login-grid > span:nth-child(2) {
    height: 310px;
    width: 200px;
    right: 0;
    bottom: -30px;
  }
  .login-grid > span:nth-child(3) {
    height: 290px;
    width: 190px;
    right: 60px;
    bottom: 5px;
  }
  .login-grid > span:nth-child(4) {
    height: 270px;
    width: 180px;
    right: 120px;
    bottom: 40px;
  }
  .login-panel { padding: 28px 20px 26px; gap: 32px; }
  .login-card { padding: 30px 25px; border-radius: 22px; }
  .login-card h2 { font-size: 36px; }
  .login-symbol { margin-bottom: 28px; }
  .login-panel-footer { flex-wrap: wrap; justify-content: center; gap: 8px 18px; }

}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

.command-trigger > [data-icon] {
  display: flex;
  align-items: center;
}
.command-trigger > [data-icon] svg {
  width: 15px;
  height: 15px;
}
.confirm-dialog {
  max-width: min(430px, calc(100vw - 32px));
  padding: 30px;
}
.confirm-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #b9a3ff12;
  border: 1px solid #b9a3ff25;
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 23px;
}
.confirm-symbol span {
  display: flex;
}
.confirm-symbol svg {
  width: 21px;
  height: 21px;
}
.confirm-dialog h2 {
  font-size: 26px;
  margin: 0 0 12px;
  letter-spacing: -0.7px;
}
.confirm-dialog p {
  font-size: 13px;
  line-height: 1.9;
  margin-bottom: 28px;
  color: #a99ab6;
}
.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 21px;
  border-top: 1px solid #3a2c43;
}
.confirm-actions button {
  font-size: 12px;
  min-height: 41px;
}

/* Official website branding, served locally by the CMS. */
.brand-logo {
  display: block;
  width: 172px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: none;
}
.sidebar .brand-logo {
  width: 160px;
}
.login-art .brand-logo,
.loading .brand-logo {
  width: 200px;
}
@media (max-width: 1030px) {
  .sidebar .brand-logo {
    width: 145px;
  }
}
@media (max-width: 700px) {
  .sidebar .brand-logo {
    width: 165px;
  }
  .login-art .brand-logo {
    width: 175px;
  }
}

/* Employee access */
.users-panel {
  max-width: 1530px;
  margin: auto;
  padding: 32px 36px 60px;
}
.team-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 0 38px;
}
.team-heading h1 {
  font-size: clamp(32px, 3.7vw, 54px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 15px 0;
}
.team-heading h1 span {
  color: #b6a1ff;
}
.team-heading p:not(.eyebrow) {
  max-width: 530px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}
.team-owner {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(158, 126, 255, 0.12), transparent);
  min-width: 250px;
}
.team-owner > svg {
  color: #b6a1ff;
  width: 24px;
  height: 24px;
}
.team-owner strong {
  font-size: 15px;
}
.team-owner > span:last-child {
  font-size: 12px;
  color: var(--muted);
}
.team-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.65fr);
  gap: 24px;
  align-items: start;
}
.team-add,
.team-directory {
  border: 1px solid var(--line);
  background: #17171d;
  border-radius: 20px;
  padding: 26px;
  min-width: 0;
}
.team-add {
  display: flex;
  flex-direction: column;
}
.team-add h2,
.team-directory h2 {
  font-size: 19px;
  letter-spacing: -0.5px;
  margin: 10px 0 24px;
}
.team-add label {
  margin: 18px 0 9px;
  font-size: 12px;
  color: #d4d1df;
  font-weight: 500;
}
.team-add input,
.team-add select,
.team-directory input,
.team-directory select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
}
.team-add small {
  margin-top: 8px;
  font-size: 11px;
  color: var(--muted);
}
.team-add > button {
  margin-top: 24px;
  justify-content: center;
}
.team-help {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin: 20px 0 0;
}
#user-add-feedback,
.user-feedback {
  color: #c6b9fa;
  font-size: 12px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#user-add-feedback:empty,
.user-feedback:empty {
  display: none;
}
.team-list-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.team-list-head h2 {
  margin: 0 0 8px;
}
.team-list-head p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.users-list {
  margin-top: 22px;
  display: grid;
  gap: 16px;
}
.user-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  background: #1c1c24;
}
.user-card-heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.user-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  background: #332a48;
  color: #d4c1ff;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
}
.user-card-heading > div {
  min-width: 0;
  display: grid;
  gap: 6px;
}
.user-card-heading strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.user-card-heading div span {
  color: var(--muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.access-badge {
  margin-left: auto;
  font-size: 10px;
  border-radius: 20px;
  padding: 5px 9px;
  background: #353039;
  color: #c4b7c7;
  text-transform: capitalize;
}
.access-badge.active {
  background: #223b33;
  color: #9bdbba;
}
.user-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
}
.user-controls label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.user-controls input,
.user-controls select {
  font-size: 12px;
  padding: 10px;
}
.user-card-footer {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.user-card-footer small {
  color: var(--muted);
  font-size: 11px;
}
.user-card-footer button {
  padding: 9px 13px;
  font-size: 11px;
}
.protected-label {
  display: flex;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  align-items: center;
}
.protected-label svg {
  width: 13px;
  height: 13px;
}
@media (max-width: 1150px) {
  .team-layout {
    grid-template-columns: 1fr;
  }
  .team-add {
    max-width: none;
  }
}
@media (max-width: 700px) {
  .team-heading {
    display: block;
  }
  .team-owner {
    margin-top: 24px;
    min-width: 0;
  }
  .team-add,
  .team-directory {
    padding: 20px;
  }
  .user-card {
    padding: 16px;
  }
  .user-controls {
    grid-template-columns: 1fr 1fr;
  }
  .user-controls label:first-child {
    grid-column: 1/-1;
  }
  .team-add input,
  .team-add select,
  .team-directory input,
  .team-directory select {
    font-size: 16px;
  }
  .user-card-heading {
    gap: 9px;
  }
  .access-badge {
    font-size: 9px;
    padding: 5px 7px;
  }
  .user-card-footer {
    flex-wrap: wrap;
  }
  .users-panel {
    padding: 18px 18px 40px;
  }
}
