/* Sentinel Studio: shared tokens, responsive workspaces and reduced-motion support. */
:root {
  --studio-pink: #efb0d3;
  --studio-blue: #96bcff;
  --studio-lilac: #bfa7ff;
  --edge: #303044;
  --panel: #141420;
}
body {
  background:
    radial-gradient(ellipse at 90% 0, #23183570, transparent 42%),
    radial-gradient(ellipse at 15% 50%, #131e3035, transparent 55%), #0b0c13;
  background-attachment: fixed;
}
button {
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px #0002;
}
button:active:not(:disabled) {
  transform: translateY(0);
}
.primary {
  background: linear-gradient(125deg, #a784e8, #b89bef);
  color: #171024;
  box-shadow: 0 4px 20px #9472db22;
  font-weight: 700;
}
.panel {
  background: linear-gradient(150deg, #191925d9, #11121bcf);
  border-color: #303042;
  border-radius: 20px;
}
.panel h2 {
  letter-spacing: -0.025em;
}
.card {
  background: linear-gradient(135deg, #202030aa, #13131e);
  border-color: #313044;
}
#content {
  animation: studio-enter 0.3s ease both;
}
.studio-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  isolation: isolate;
  min-height: 232px;
  padding: 36px 40px;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid #423250;
  border-radius: 24px;
  background: linear-gradient(120deg, #291e38, #181727 60%, #172230);
}
.studio-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 0 0, #ae76d523, transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 69px, #ffffff03 70px 71px);
}
.studio-hero-copy {
  max-width: 75%;
  z-index: 2;
}
.studio-hero h1 {
  font-size: clamp(24px, 2.7vw, 40px);
  line-height: 1.2;
  margin: 11px 0 14px;
  letter-spacing: -0.055em;
}
.studio-hero p {
  color: #b6aec8;
  max-width: 700px;
  line-height: 1.8;
}
.studio-hero .primary {
  margin-top: 12px;
}
.hero-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: #bab4cc;
  font-size: 12px;
  margin-top: 20px;
}
.hero-refresh {
  position: absolute;
  right: 20px;
  top: 16px;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
  background: #ffffff05;
}
.studio-orbit {
  width: 170px;
  height: 170px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  position: relative;
}
.studio-orbit span {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 26px;
  background: linear-gradient(140deg, #c69eef28, #658cb510);
  border: 1px solid #b893e95c;
  box-shadow: 0 0 60px #ad7ade15;
  transform: rotate(-8deg);
}
.studio-orbit svg {
  width: 46px;
  height: 46px;
  color: #cbb4eb;
}
.studio-orbit i {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px dashed #b995e438;
  animation: studio-orbit 70s linear infinite;
}
.studio-orbit i + i {
  inset: 0;
  border-style: solid;
  border-color: #a98edc10;
  animation: none;
}
.studio-tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
  margin: 20px 0;
  border: 1px solid var(--edge);
  border-radius: 14px;
  overflow-x: auto;
  flex-shrink: 0;
}
.studio-tabs button {
  white-space: nowrap;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 10px 18px;
}
.studio-tabs button.active,
.page-rail button.active {
  background: #38294c;
  color: #e5d6ff;
}
.defense-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 22px;
}
.studio-side {
  min-width: 0;
}
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
  align-items: start;
}
.rule-card {
  min-width: 0;
  border: 1px solid #343047;
  border-radius: 18px;
  background: linear-gradient(125deg, #191823, #12131d);
  overflow: hidden;
}
.rule-card summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
}
.rule-card summary:after {
  content: "⌄";
  margin-left: auto;
  color: #9b8aaf;
}
.rule-card[open] summary {
  border-bottom: 1px solid var(--edge);
}
.rule-card summary b {
  display: block;
  color: #f0e9fa;
  font-size: 14px;
}
.rule-card summary small {
  display: block;
  line-height: 1.6;
  color: #9c93ab;
  margin-top: 6px;
}
.rule-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #b99bd514;
  color: #b7a1d5;
}
.rule-icon svg {
  width: 19px;
}
.rule-card form,
.rule-card > .log-grid {
  padding: 20px;
}
.rule-card .formgrid {
  grid-template-columns: 1fr;
}
.rule-card .tag {
  font-size: 9px;
}
.rule-card .switch-row {
  margin-bottom: 18px;
}
.security-response-settings {
  display: grid;
  gap: 16px;
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid var(--edge);
}
.security-response-settings [hidden] {
  display: none;
}
.security-response-settings small,
.security-warning-field small {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.security-warning-field {
  margin-top: 14px;
}
.security-response-settings .security-warning-field {
  margin-top: 0;
}
.security-response-settings textarea {
  min-height: 110px;
  resize: vertical;
}
.studio-side .panel {
  padding: 22px;
}
.signal-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.signal-legend span {
  padding: 8px 12px;
  border-radius: 8px;
  background: #c4abef10;
  color: #c5b4de;
  font-size: 12px;
}
.signal-note {
  display: flex;
  gap: 9px;
  padding: 13px;
  border: 1px solid #82614450;
  border-radius: 10px;
  margin: 10px 0;
  color: #dac3a9;
}
.signal-note svg {
  width: 17px;
  flex-shrink: 0;
}
.callout-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  margin: 20px 0;
  border: 1px solid #473454;
  background: linear-gradient(120deg, #251c32, #151723);
  border-radius: 18px;
}
.callout-card > svg {
  width: 38px;
  flex-shrink: 0;
  color: var(--accent);
}
.callout-card p {
  color: var(--muted);
}
.callout-card button {
  flex-shrink: 0;
}
.log-families {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.log-family .log-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.log-family label {
  font-size: 12px;
}
dialog.member-dialog,
dialog.ticket-dialog {
  width: min(1050px, 94vw);
  padding: 24px;
  max-height: 92vh;
}
.member-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(115deg, #3a2445, #262442 65%, #182b3d);
  padding: 30px;
  border: 1px solid #6f4d7745;
  border-radius: 20px;
}
.profile-halo {
  position: absolute;
  right: -70px;
  top: -120px;
  width: 420px;
  height: 420px;
  border: 1px solid #d6baf118;
  border-radius: 50%;
  box-shadow:
    0 0 0 40px #d6baf104,
    0 0 0 90px #d6baf104;
  z-index: -1;
}
.member-identity {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}
.member-identity .avatar {
  width: 94px;
  height: 94px;
  border-radius: 26px;
  border: 3px solid #d0b5e535;
  box-shadow: 0 10px 35px #0003;
}
.member-identity h2 {
  font-size: 30px;
  margin: 0 0 6px;
  letter-spacing: -0.04em;
}
.member-identity p {
  margin: 3px 0;
  color: #c0b5cb;
}
.member-identity code {
  font-size: 11px;
  color: #aa9cb9;
}
.member-identity > button {
  margin-left: auto;
  background: #ffffff10;
}
.profile-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 8px;
}
.profile-columns section {
  min-width: 0;
}
.profile-columns h3 {
  margin: 12px 0 18px;
}
.role-pills {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.role-pills .tag {
  font-size: 11px;
  padding: 6px 9px;
}
.permission-fold {
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 18px;
  margin: 20px 0;
}
.permission-fold summary {
  cursor: pointer;
}
.role-manager {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow: auto;
  margin: 20px 0;
  padding-right: 6px;
}
.role-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #353247;
  background: #ffffff03;
  border-radius: 12px;
  padding: 14px;
  margin: 0;
  cursor: pointer;
}
.role-choice:has(input:checked) {
  background: #b292ef12;
  border-color: #ad89da65;
}
.role-choice input {
  width: 18px;
  height: 18px;
  margin: 0;
}
.role-choice small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  color: var(--muted);
}
.role-choice b {
  font-size: 12px;
}
.role-choice:has(input:disabled) {
  opacity: 0.5;
}
.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.action-grid button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 10px;
  padding: 22px;
  background: linear-gradient(140deg, #272033, #191725);
  border-color: #3d314c;
  border-radius: 15px;
}
.action-grid svg {
  color: var(--accent);
}
.action-grid small {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.action-grid .danger-card {
  border-color: #5d3545;
  background: linear-gradient(140deg, #351f2d, #1c1823);
}
.staff-note {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #b598da09;
  border: 1px solid #332d42;
  border-radius: 12px;
  margin-bottom: 12px;
}
.staff-note > span svg {
  width: 18px;
  color: #b49cce;
}
.staff-note p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.staff-note small {
  font-size: 11px;
  color: var(--muted);
}
.action-target {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #a586ce0d;
  border: 1px solid var(--edge);
  padding: 18px;
  border-radius: 14px;
  margin-bottom: 20px;
}
.lookup-results {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.lookup-results button {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.lookup-results small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.lookup-results .avatar {
  width: 38px;
  height: 38px;
}
.desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
}
.case-entry {
  width: 100%;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
  border: 0;
  border-bottom: 1px solid var(--edge);
  border-radius: 0;
  padding: 22px 0;
  background: none;
}
.case-entry > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.case-entry small {
  font-size: 10px;
  color: #9690aa;
  line-height: 1.7;
}
.case-entry p {
  color: #c0b9ce;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
.case-dot {
  width: 11px;
  height: 11px;
  border: 2px solid #b28dde;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
  box-shadow: 0 0 0 5px #b28dde0c;
}
.case-dot.danger {
  border-color: #e593ad;
}
.desk-layout .event {
  padding: 15px 0;
  border-bottom: 1px solid var(--edge);
  overflow-wrap: anywhere;
}
.desk-layout .event p {
  font-size: 12px;
  color: var(--muted);
}
.desk-layout .event small {
  font-size: 10px;
  color: var(--muted);
}
.campaign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.campaign-card {
  border: 1px solid #403149;
  border-radius: 22px;
  overflow: hidden;
  background: #15141f;
}
.campaign-art {
  height: 135px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  background:
    radial-gradient(circle, #9164b943, transparent 65%),
    linear-gradient(135deg, #382141, #1c2336);
}
.campaign-art > svg {
  width: 58px;
  height: 58px;
  color: #d0abe9;
  transform: rotate(-10deg);
}
.campaign-art .tag {
  position: absolute;
  right: 18px;
  top: 18px;
}
.campaign-body {
  padding: 24px;
}
.campaign-body > small {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #9d86b6;
}
.campaign-body h2 {
  font-size: 21px;
  letter-spacing: -0.03em;
}
.campaign-body p {
  color: #aba1bb;
}
.campaign-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #baacca;
  padding: 15px 0;
  border-bottom: 1px solid var(--edge);
}
.winner-line {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.bonus-row {
  padding: 12px;
  border: 1px solid var(--edge);
  border-radius: 12px;
  margin: 12px 0;
}
.poll-card,
.idea-card {
  border: 1px solid var(--edge);
  border-radius: 16px;
  padding: 22px;
  margin: 16px 0;
  background: #ffffff02;
}
.poll-options {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.poll-options span {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #bfa7ff08;
  border-radius: 10px;
  padding: 10px;
}
.poll-options b {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #bfa7ff15;
  color: #c8b1ee;
  font-size: 11px;
}
.poll-card small,
.idea-card small {
  color: var(--muted);
  font-size: 11px;
}
.idea-card p {
  white-space: pre-wrap;
}
.idea-card blockquote {
  margin: 15px 0;
  padding: 14px;
  border-left: 2px solid #b193d8;
  background: #b193d80a;
  color: #c7b9d8;
}
.inline-editor {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  margin-top: 24px;
}
.inline-editor label {
  flex: 1;
}
.inline-editor button {
  margin-bottom: 14px;
}
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}
.milestone-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: 16px;
  background: linear-gradient(135deg, #2b2238, #181623);
}
.milestone-number {
  font-size: 32px;
  font-weight: 700;
  color: #dbc1ff;
}
.milestone-grid small {
  color: var(--muted);
  margin-bottom: 16px;
}
.milestone-grid h3 {
  margin: 8px;
}
.birthday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.birthday-grid article {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border: 1px solid #533348;
  border-radius: 15px;
  background: linear-gradient(125deg, #302033, #201a29);
}
.birthday-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 45px;
  color: #efb3d4;
}
.birthday-date b {
  font-size: 28px;
}
.birthday-date span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.birthday-grid small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.birthday-grid svg {
  width: 22px;
  color: #dab3d0;
  margin-left: auto;
}
.emoji-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 14px;
}
.emoji-gallery button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 25px 10px;
  background: linear-gradient(140deg, #252035, #171722);
  border-radius: 18px;
  min-width: 0;
}
.emoji-gallery img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.emoji-gallery strong {
  font-size: 12px;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.emoji-gallery small {
  font-size: 9px;
  color: var(--muted);
}
dialog.flow-dialog {
  width: min(1450px, 97vw);
  max-width: 97vw;
  padding: 24px;
  max-height: 94vh;
}
.flow-toolbar {
  display: flex;
  gap: 16px;
  align-items: flex-end;
  margin-bottom: 24px;
  padding: 20px;
  background: #1e1929;
  border: 1px solid #44344f;
  border-radius: 16px;
}
.flow-toolbar label {
  flex: 1;
  margin: 0;
}
.flow-toolbar button {
  height: 43px;
}
.flow-layout {
  display: grid;
  grid-template-columns: 190px minmax(320px, 1fr) minmax(260px, 380px);
  gap: 22px;
  align-items: start;
}
.page-rail {
  position: sticky;
  top: 0;
  min-width: 0;
}
.page-rail #page-list {
  display: grid;
  gap: 7px;
  margin: 15px 0;
}
.page-rail button {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  width: 100%;
  padding: 13px 12px;
  overflow-wrap: anywhere;
}
.page-rail button span {
  font-size: 10px;
  color: #9c84b6;
}
.link-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.link-choices label {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 10px;
  min-width: 0;
}
.link-choices input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.preview-controls {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.preview-controls button {
  font-size: 11px;
  background: #443458;
  padding: 8px 12px;
}
.published-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px;
  border-bottom: 1px solid var(--edge);
}
.published-row b {
  flex: 1;
}
.ticket-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.board-column {
  background: #11121b;
  border: 1px solid var(--edge);
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
}
.board-column > .section-title h3 {
  font-size: 13px;
}
.board-ticket {
  display: block;
  width: 100%;
  text-align: left;
  background: linear-gradient(125deg, #231c30, #181722);
  border: 1px solid #3f314c;
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 12px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.board-ticket h3 {
  font-size: 14px;
  margin: 15px 0 6px;
}
.board-ticket small {
  font-size: 9px;
  color: #927ea7;
}
.board-ticket p {
  font-size: 12px;
  color: #aea2bd;
}
.board-ticket-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid #ad8dcb1c;
  font-size: 10px;
  color: #b3a0ca;
}
.board-empty {
  padding: 34px 12px;
  text-align: center;
  color: #787389;
  font-size: 12px;
}
.ticket-operator {
  border-top: 1px solid var(--edge);
  margin-top: 25px;
  padding-top: 8px;
}
.ticket-operator form {
  padding: 20px;
  background: #a17ccb08;
  border: 1px solid #a17ccb22;
  border-radius: 14px;
}
.access-card {
  box-shadow:
    0 30px 100px #0006,
    0 0 80px #a67cdc0d;
}
.sidebar {
  background: linear-gradient(180deg, #15121f, #0c0d16);
  border-color: #302339;
}
.navitem.active {
  background: linear-gradient(100deg, #3f2c52, #211b32);
  box-shadow: inset 3px 0 #c3a0ef;
}
.navitem:hover {
  background: #c4a5ed0a;
}
.subnav {
  scrollbar-width: thin;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #ad8bdc;
  box-shadow: 0 0 0 3px #ad8bdc15;
}
.editor-section summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 18px;
}
button:focus-visible {
  outline: 2px solid #c6abf3;
  outline-offset: 3px;
}
@keyframes studio-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes studio-enter {
  from {
    opacity: 0.5;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .studio-hero h1 {
    font-size: 42px;
  }
}
@media (max-width: 1180px) {
  .defense-layout,
  .desk-layout {
    grid-template-columns: 1fr;
  }
  .studio-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .studio-orbit {
    width: 130px;
    height: 130px;
  }
  .flow-layout {
    grid-template-columns: 150px minmax(280px, 1fr);
  }
  .flow-layout > .preview-column {
    grid-column: 1/-1;
    position: static;
    max-width: none;
  }
  .log-families {
    grid-template-columns: 1fr;
  }
  .ticket-board {
    gap: 10px;
  }
  .board-column {
    padding: 12px;
  }
}
@media (max-width: 700px) {
  .studio-hero {
    padding: 25px 20px;
    min-height: 205px;
    border-radius: 18px;
  }
  .studio-hero-copy {
    max-width: 100%;
  }
  .studio-hero h1 {
    font-size: 28px;
    max-width: 93%;
  }
  .studio-hero p {
    font-size: 12px;
  }
  .studio-orbit {
    display: none;
  }
  .hero-pills {
    gap: 10px;
    font-size: 10px;
  }
  .rules-grid,
  .studio-side,
  .profile-columns,
  .role-manager,
  .ticket-board,
  .log-family .log-grid {
    grid-template-columns: 1fr;
  }
  .rule-card summary {
    padding: 16px;
  }
  .rule-card summary small {
    font-size: 10px;
  }
  .action-grid {
    grid-template-columns: 1fr 1fr;
  }
  .action-grid button {
    padding: 16px;
  }
  .callout-card {
    flex-wrap: wrap;
    padding: 20px;
  }
  .callout-card > svg {
    display: none;
  }
  .callout-card button {
    width: 100%;
  }
  .member-cover {
    padding: 20px;
  }
  .member-identity {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
  }
  .member-identity .avatar {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
  .member-identity h2 {
    font-size: 21px;
  }
  .member-identity p {
    font-size: 12px;
  }
  .member-identity > button {
    margin-left: 0;
  }
  .member-cover .eyebrow {
    font-size: 8px;
  }
  .studio-tabs button {
    padding: 9px 12px;
    font-size: 11px;
  }
  .profile-columns {
    gap: 10px;
    padding: 0;
  }
  dialog.member-dialog,
  dialog.ticket-dialog,
  dialog.flow-dialog {
    padding: 15px;
  }
  .flow-layout {
    display: flex;
    flex-direction: column;
  }
  .flow-layout > * {
    width: 100%;
  }
  .page-rail {
    position: static;
  }
  .page-rail #page-list {
    grid-template-columns: 1fr 1fr;
  }
  .flow-toolbar {
    flex-wrap: wrap;
    padding: 14px;
  }
  .flow-toolbar label {
    flex-basis: 100%;
  }
  .flow-toolbar button {
    flex: 1;
    font-size: 11px;
  }
  .flow-layout .preview-column {
    position: static;
  }
  .link-choices {
    grid-template-columns: 1fr;
  }
  .inline-editor {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .inline-editor button {
    margin-top: 10px;
  }
  .case-entry {
    gap: 10px;
  }
  .case-entry small {
    font-size: 9px;
  }
  .case-entry p {
    font-size: 12px;
  }
  .case-entry b {
    font-size: 12px;
  }
  .campaign-body {
    padding: 20px;
  }
  .card {
    min-width: 0;
  }
  .ticket-board .board-column {
    padding: 16px;
  }
  .board-empty {
    padding: 18px;
  }
  .birthday-grid {
    grid-template-columns: 1fr;
  }
  .studio-hero .buttons {
    flex-wrap: wrap;
  }
  .studio-hero .buttons button {
    font-size: 12px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar > * {
    min-width: 0;
  }
  .flow-toolbar select {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.preview-embed .preview-thumbnail {
  float: right;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 9px;
  margin: 0 0 12px 14px;
}
.preview-embed .preview-image {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: 9px;
  margin: 14px 0;
}
.preview-embed img[hidden] {
  display: none;
}

.giveaway-entrant-list { display:grid; gap:10px; margin:18px 0; }
.giveaway-entrant { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px; border:1px solid var(--border, #ffffff26); border-radius:12px; }
.giveaway-entrant > div { min-width:0; }
.giveaway-entrant strong, .giveaway-entrant small, .giveaway-entrant code { display:block; overflow-wrap:anywhere; }
.giveaway-entrant .tag { flex-shrink:0; }
