@font-face {
  font-family:"Burmal Signature";
  src:url("/static/vendor/MarckScript.ttf") format("truetype");
  font-weight:400;
  font-style:normal;
  font-display:block;
}
.platega-verification {
  font-family:"Burmal Signature",cursive !important; font-size:18px !important;
  font-weight:400 !important; font-style:normal !important; letter-spacing:0 !important;
  text-transform:none !important; padding:6px 0 !important; cursor:default;
}
:root[data-layout="v47"] .collapsible-feature .feature-top {
  grid-template-columns:42px minmax(0,1fr) auto 32px !important;
  align-items:center; gap:10px !important;
}
:root[data-layout="v47"] .collapsible-feature .simple-feature-top,
:root[data-layout="v47"] .collapsible-feature.stories-card .feature-top {
  grid-template-columns:42px minmax(0,1fr) 32px !important;
}
:root[data-layout="v47"] .collapsible-feature .feature-icon {
  width:42px !important; height:42px !important; flex-basis:42px !important;
}
.feature-disclosure {
  display:grid;place-items:center; width:32px;height:42px; border:0;
  background:transparent; color:var(--t-text); border-radius:10px; cursor:pointer;
}
.feature-disclosure::after {
  content:"";width:7px;height:7px;border:solid currentColor;border-width:1.5px 1.5px 0 0;
  transform:rotate(45deg);transition:transform .22s;
}
.feature-disclosure[aria-expanded="true"]::after { transform:rotate(135deg); }
.feature-disclosure:focus-visible {outline:2px solid var(--t-accent);outline-offset:2px;}
.feature-settings-viewport {overflow:hidden;}
.feature-settings-content {position:relative;padding:15px 0 1px;}
.feature-settings-description {margin:0 0 12px;color:var(--t-muted);font-size:12px;line-height:1.5;}
:root[data-layout="v47"] .feature-settings-content .chips {margin-top:0;}
:root[data-layout="v47"] .monitor-fields {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;
}
:root[data-layout="v47"] .monitor-fields button {
  display:flex;align-items:center;justify-content:flex-start;gap:8px;
  min-height:42px;border-radius:13px !important;padding:10px;font-size:12px;
}
.monitor-fields button > span {width:20px;flex:none;text-align:center;font-size:17px;white-space:nowrap;}
.feature-settings-content [data-setting="deleted_own_messages"],
.feature-settings-content [data-setting="edited_own_messages"] { flex:none; }
.feature-settings-content .event-owner-routing {margin-top:12px !important;}
@media (prefers-reduced-motion:reduce) {
  .feature-disclosure::after {transition:none;}
}
@media (max-width:350px) {
  :root[data-layout="v47"] .collapsible-feature .feature-top {grid-template-columns:36px minmax(0,1fr) auto 28px !important;gap:7px !important;}
  :root[data-layout="v47"] .collapsible-feature .simple-feature-top,
  :root[data-layout="v47"] .collapsible-feature.stories-card .feature-top {grid-template-columns:36px minmax(0,1fr) 28px !important;}
  :root[data-layout="v47"] .collapsible-feature .feature-icon {width:36px !important;height:36px !important;}
  .feature-disclosure {width:28px;}
}

.platega-verification, .platega-verification:hover, .platega-verification:active, .platega-verification:focus {transform:none !important;animation:none !important;transition:none !important;}

/* Compact spacing keeps controls readable and touch targets separate. */
:root[data-layout="v47"] .feature-card {padding:10px 13px !important;margin-bottom:10px !important;}
:root[data-layout="v47"] .collapsible-feature .feature-top {grid-template-columns:36px minmax(0,1fr) auto 32px !important;gap:9px !important;}
:root[data-layout="v47"] .collapsible-feature .simple-feature-top,
:root[data-layout="v47"] .collapsible-feature.stories-card .feature-top {grid-template-columns:36px minmax(0,1fr) 32px !important;}
:root[data-layout="v47"] :is(.feature-icon,.other-menu-icon) {width:36px !important;height:36px !important;flex-basis:36px !important;border-radius:12px !important;}
:root[data-layout="v47"] .feature-icon-svg {width:22px;height:22px;}
:root[data-layout="v47"] .feature-card .feature-copy h3 {font-size:16px !important;}
:root[data-layout="v47"] .other-menu-row {padding:10px 12px !important;min-height:56px !important;}
:root[data-layout="v47"] .feature-settings-content {padding-top:11px;}
:root[data-layout="v47"] .monitor-fields button {padding:8px;min-height:38px;}

:root[data-layout="v47"] .collapsible-feature .feature-icon {width:36px !important;height:36px !important;flex-basis:36px !important;}

/* Match expanded settings to the compact feature headers. */
:root[data-layout="v47"] .collapsible-feature .feature-top {grid-template-columns:36px minmax(0,1fr) 34px 26px !important;gap:8px !important;}
:root[data-layout="v47"] .collapsible-feature .simple-feature-top,
:root[data-layout="v47"] .collapsible-feature.stories-card .feature-top {grid-template-columns:36px minmax(0,1fr) 26px !important;}
:root[data-layout="v47"] .feature-disclosure {width:26px;height:34px;}
:root[data-layout="v47"] .switch {min-width:34px;min-height:32px;align-items:center;}
:root[data-layout="v47"] .switch span {width:34px !important;height:20px !important;flex:none;}
:root[data-layout="v47"] .switch span::after {width:14px !important;height:14px !important;left:2px !important;top:2px !important;transform:none !important;}
:root[data-layout="v47"] .switch input:checked + span::after {transform:translateX(14px) !important;}
:root[data-layout="v47"] .feature-settings-content {padding:8px 0 0;}
:root[data-layout="v47"] .feature-settings-content :is(.chips,.track-grid) {gap:6px;margin-top:4px !important;}
:root[data-layout="v47"] .feature-settings-content .chips button {min-height:32px !important;padding:6px 10px !important;border-radius:10px !important;line-height:1.25;}
:root[data-layout="v47"] .feature-settings-content .monitor-fields button {min-height:34px !important;padding:6px 8px !important;gap:6px;font-size:11px !important;border-radius:10px !important;}
:root[data-layout="v47"] .monitor-fields button > span {font-size:14px;width:17px;}
:root[data-layout="v47"] .feature-settings-content .event-owner-routing {padding:6px 9px !important;margin-top:6px !important;gap:8px;border-radius:10px !important;min-height:36px;}
:root[data-layout="v47"] .feature-settings-content :is(.utilities-open,.primary-action) {min-height:34px !important;padding:7px 10px !important;margin-top:6px !important;border-radius:10px !important;font-size:12px !important;}
:root[data-layout="v47"] .feature-settings-content :is(.self-delete-delay,.anti-spam-control) {padding:9px 10px !important;margin-top:4px !important;border-radius:10px !important;gap:8px;}
:root[data-layout="v47"] .feature-settings-content :is(input:not([type="checkbox"]):not([type="range"]),select) {min-height:36px !important;padding:8px 10px !important;font-size:12px !important;border-radius:10px !important;}
:root[data-layout="v47"] .feature-settings-content :is(.story-target-field,.guess-word-trigger) {margin-top:4px !important;gap:6px;}
:root[data-layout="v47"] .feature-settings-content :is(.feature-hint,small) {font-size:10px;line-height:1.4;margin-top:6px;}
