/* =========================================================
   ArcNode web demo — Scenes tab (ScenesView + SceneEditorView)
   ========================================================= */
.tab-scenes {
  background: var(--primary-bg);
  display: flex; flex-direction: column;
  overflow: hidden;
  --settings-bg: #1D1D1D;
  --settings-divider: #383838;
  --panel-stroke: rgba(165, 165, 165, 0.15);
}
.tab-scenes .arc-header { padding-bottom: 16px; }
.tab-scenes button:not(:disabled):active { opacity: .6; }
.tab-scenes .ios-switch:active { opacity: 1 !important; }

/* ---------- Grid view ---------- */
.tab-scenes .scn-view { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tab-scenes .scn-title {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 0 32px 24px;
}
.tab-scenes .scn-title__text { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.tab-scenes .scn-title h1 { font-size: 32px; font-weight: 400; line-height: 38px; color: var(--fg-primary); }
.tab-scenes .scn-title p { font-size: 14px; line-height: 18px; color: var(--fg-secondary); }
.tab-scenes .scn-alloff {
  height: 48px; padding: 0 16px; border-radius: 6px;
  background: var(--bg-inlay); border: 1px solid var(--grey400);
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--fg-primary);
}
.tab-scenes .scn-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 32px 32px 120px; }
.tab-scenes .scn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.tab-scenes .scn-card {
  position: relative; height: 200px; border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  background: transparent;
}
.tab-scenes .scn-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px; padding: 1px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(165,165,165,0), #444);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tab-scenes .scn-card--new { background: rgba(28, 28, 28, 0.8); align-items: center; justify-content: center; }
.tab-scenes .scn-card__inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--fg-primary); transition: opacity .15s; max-width: 100%; padding: 0 16px;
}
.tab-scenes .scn-card--new:active,
.tab-scenes .scn-card__main:active,
.tab-scenes .scn-card__edit:active { opacity: 1 !important; }
.tab-scenes .scn-card--new:active .scn-card__inner,
.tab-scenes .scn-card__main:active .scn-card__inner,
.tab-scenes .scn-card__edit:active > * { opacity: .4; }
.tab-scenes .scn-card__name {
  font-size: 20px; line-height: 24px; font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.tab-scenes .scn-card__main {
  flex: 1; min-height: 0; width: 100%;
  background: rgba(28, 28, 28, 0.8);
  display: flex; align-items: center; justify-content: center;
}
.tab-scenes .scn-card__edit {
  width: 100%; padding: 8px 0; min-height: 36px;
  background: rgba(28, 28, 28, 0.6);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  font-size: 14px; color: var(--fg-primary);
}
.tab-scenes .scn-card__edit > * { transition: opacity .15s; }
/* brief "activated" flash (web-only nicety) */
.tab-scenes .scn-card.is-activated .scn-card__main { animation: scn-flash .7s ease-out; }
.tab-scenes .scn-card.is-activated::before {
  content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; z-index: 1;
  box-shadow: inset 0 0 0 1.5px rgba(118, 125, 251, 0.9);
  animation: scn-ring .7s ease-out forwards;
}
@keyframes scn-flash { 0% { background: rgba(118, 125, 251, 0.28); } 100% { background: rgba(28, 28, 28, 0.8); } }
@keyframes scn-ring { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- Editor (slides in from the right) ---------- */
.tab-scenes .scn-editor {
  position: absolute; inset: 0; z-index: 6;
  background: var(--primary-bg);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
}
.tab-scenes .scn-editor.is-in { transform: none; }
.tab-scenes .scn-ed-head { padding: calc(var(--safe-top) + 16px) 32px 16px; display: flex; }
.tab-scenes .scn-back {
  position: relative; padding: 12px 16px; border-radius: 999px;
  color: var(--fg-secondary); display: flex; align-items: center; justify-content: center;
}
.tab-scenes .scn-back::before,
.tab-scenes .scn-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.05) 50%, rgba(255,255,255,.20) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.tab-scenes .scn-ed-title { padding: 0 32px 32px; display: flex; flex-direction: column; gap: 8px; }
.tab-scenes .scn-ed-title h1 { font-size: 32px; font-weight: 400; line-height: 38px; }
.tab-scenes .scn-ed-title p { font-size: 14px; line-height: 18px; color: var(--fg-secondary); }

.tab-scenes .scn-ed-main { flex: 1; min-height: 0; padding: 0 32px; display: flex; align-items: stretch; }
.tab-scenes .scn-side {
  width: 360px; flex: none; overflow-y: auto;
  background: var(--settings-bg);
  border: 1px solid var(--panel-stroke); border-right: 0;
  border-radius: 12px 0 0 12px;
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.tab-scenes .scn-side__label { font-size: 16px; line-height: 22px; color: var(--fg-primary); margin-bottom: 4px; }
.scn-input {
  width: 100%; padding: 13px; border-radius: 6px;
  background: var(--bg-inlay); border: 1px solid #383838;
  font-size: 13px; line-height: 16px; color: var(--fg-primary); outline: none;
}
.scn-input::placeholder { color: var(--fg-secondary); }
.scn-input:focus { border-color: rgba(118, 125, 251, 0.6); }

.tab-scenes .scn-panel {
  flex: 1; min-width: 0; display: flex; flex-direction: column;
  background: var(--settings-bg);
  border: 1px solid var(--panel-stroke);
  border-radius: 0 12px 12px 0; overflow: hidden;
}
.tab-scenes .scn-pills {
  flex: none; display: flex; gap: 8px; overflow-x: auto;
  padding: 12px 20px; border-bottom: 1px solid var(--panel-stroke);
}
.tab-scenes .scn-pill {
  position: relative; flex: none;
  padding: 16px 24px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; line-height: 19px; color: var(--glass-default-text);
  transition: background .2s ease-in-out, color .2s ease-in-out;
}
.tab-scenes .scn-pill.is-active { background: var(--glass-selected-pill); color: #fff; }
.tab-scenes .scn-pill__label { display: grid; }
.tab-scenes .scn-pill__label > span { grid-area: 1 / 1; }
.tab-scenes .scn-pill__label .ghost { font-weight: 600; visibility: hidden; }
.tab-scenes .scn-pill.is-active .real { font-weight: 600; }
.tab-scenes .scn-body { flex: 1; min-height: 0; overflow-y: auto; position: relative; }

.tab-scenes .scn-ed-actions { flex: none; padding: 24px 32px 100px; display: flex; align-items: center; }
.tab-scenes .scn-spacer { flex: 1; }
.tab-scenes .scn-delete {
  height: 40px; padding: 0 32px; border-radius: 6px;
  border: 1px solid rgba(255, 101, 101, 0.4); color: var(--red); font-size: 16px;
}
.tab-scenes .scn-save {
  height: 40px; padding: 0 32px; border-radius: 6px;
  background: var(--primary); color: #000; font-size: 16px;
  transition: background .2s, color .2s;
}
.tab-scenes .scn-save:disabled { background: rgba(118, 125, 251, 0.3); color: var(--fg-tertiary); cursor: default; }

/* reveal animation for newly-enabled device blocks */
.tab-scenes .scn-reveal.is-new { animation: scn-reveal .2s ease-in-out; }
@keyframes scn-reveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Lights / Switches ---------- */
.tab-scenes .scn-listhead {
  display: flex; align-items: center; gap: 48px;
  padding: 16px 32px; border-bottom: 1px solid var(--panel-stroke);
  font-size: 18px; color: var(--fg-tertiary);
}
.tab-scenes .scn-listhead .ios-switch,
.tab-scenes .scn-listhead__slot { width: 51px; margin-right: -3px; }
.tab-scenes .scn-listhead__slot { height: 31px; }
.tab-scenes .scn-row {
  height: 80px; padding: 16px 32px; background: var(--settings-bg);
  display: flex; align-items: center; gap: 48px;
}
.tab-scenes .scn-row__tgl { width: 48px; flex: none; display: flex; }
.tab-scenes .scn-row__name {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px;
  color: var(--fg-tertiary); font-size: 18px;
}
.tab-scenes .scn-row__name span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.tab-scenes .scn-row.is-on .scn-row__name { color: var(--fg-primary); }
.tab-scenes .scn-row.is-on .scn-row__name .arc-icon { color: var(--primary); }
.tab-scenes .scn-row__spacer { flex: 1; }
.tab-scenes .scn-row__dim { display: flex; align-items: center; gap: 7px; flex: none; }
.tab-scenes .scn-dim {
  position: relative; width: 200px; height: 19px; cursor: default; touch-action: none; outline: none;
}
.tab-scenes .scn-row.is-on .scn-dim { cursor: pointer; }
.tab-scenes .scn-dim::before {
  content: ""; position: absolute; left: 0; right: 0; top: 5.5px; height: 8px; border-radius: 100px;
  background: rgba(142, 141, 138, 0.2);
}
.tab-scenes .scn-dim__fill {
  position: absolute; left: 0; top: 5.5px; height: 8px; border-radius: 100px;
  background: linear-gradient(to right, #3A3A3A, #454545);
}
.tab-scenes .scn-row.is-on .scn-dim__fill { background: linear-gradient(to right, #816500, #767DFB); }
.tab-scenes .scn-dim__thumb {
  position: absolute; left: 0; top: 0; width: 19px; height: 19px; border-radius: 50%;
  background: var(--fg-tertiary);
}
.tab-scenes .scn-row.is-on .scn-dim__thumb { background: var(--primary); }
.tab-scenes .scn-dim.is-dragging .scn-dim__thumb { box-shadow: 0 0 0 6px rgba(118, 125, 251, 0.2); }
.tab-scenes .scn-dim__pct { width: 85px; text-align: right; font-size: 14px; color: var(--fg-tertiary); font-variant-numeric: tabular-nums; }
.tab-scenes .scn-row.is-on .scn-dim__pct { color: var(--fg-primary); }
.tab-scenes .scn-row__edit { width: 24px; height: 24px; flex: none; display: flex; align-items: center; justify-content: center; color: var(--fg-primary); }

.tab-scenes .scn-empty {
  display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 60px 40px; text-align: center;
}
.tab-scenes .scn-empty .arc-icon { color: var(--bg-control); }
.tab-scenes .scn-empty h3 { font-size: 18px; font-weight: 600; }
.tab-scenes .scn-empty p { font-size: 14px; color: var(--fg-tertiary); }

/* ---------- Cooling / Heating device blocks ---------- */
.tab-scenes .scn-dev { padding: 20px; }
.tab-scenes .scn-divider { height: 1px; background: #3A3A3A; }
.tab-scenes .scn-dev__head { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; }
.tab-scenes .scn-dev__names { display: flex; flex-direction: column; gap: 2px; }
.tab-scenes .scn-dev__name { font-size: 16px; font-weight: 600; color: var(--fg-primary); transition: color .2s; }
.tab-scenes .scn-dev__name.is-off { color: var(--fg-tertiary); }
.tab-scenes .scn-dev__model { font-size: 12px; color: var(--fg-tertiary); }

.tab-scenes .scn-circ {
  flex: none; border-radius: 50%; background: rgba(255, 255, 255, 0.2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
}
.tab-scenes .scn-circ:not(:disabled):active { opacity: 1; transform: scale(.94); background: rgba(255, 255, 255, 0.3); }
.tab-scenes .scn-circ:disabled { background: rgba(255, 255, 255, 0.1); cursor: default; }
.tab-scenes .scn-circ:disabled .arc-icon { opacity: .3; }

/* MaxxFan FanSpeedControlPanel */
.tab-scenes .scn-fanpanel {
  position: relative; height: 240px; border-radius: 16px;
  background: radial-gradient(250px circle at 51% 100%, #64C9FB 0, #3B9EC5 250px);
  display: flex; align-items: center; justify-content: center;
}
.tab-scenes .scn-fanpanel__num { font-size: 80px; font-weight: 200; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.tab-scenes .scn-fanpanel__btns {
  position: absolute; right: 24px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 16px;
}
.tab-scenes .scn-line {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; font-size: 14px; color: var(--fg-primary);
}
.tab-scenes .scn-airflow { padding-top: 8px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.tab-scenes .scn-airflow__btns { display: flex; gap: 16px; }
.tab-scenes .scn-airflow__btns button {
  display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--fg-tertiary);
  transition: color .2s;
}
.tab-scenes .scn-airflow__btns button.is-sel { color: var(--fg-primary); }

/* AC ClimateControlPanel */
.tab-scenes .scn-acpanel {
  height: 318px; border-radius: 16px; margin-top: 8px;
  display: flex; transition: background .3s;
}
.tab-scenes .scn-acpanel__modes { width: 160px; flex: none; padding-top: 8px; display: flex; flex-direction: column; }
.tab-scenes .scn-acpanel__modes button {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px;
  font-size: 16px; color: #FDFDFD; border-bottom: 1px solid transparent;
}
.tab-scenes .scn-acpanel__modes button.is-sel { font-weight: 700; color: #fff; border-bottom-color: #fff; }
.tab-scenes .scn-acpanel__temp { flex: 1; display: flex; align-items: center; justify-content: center; gap: 81px; }
.tab-scenes .scn-acpanel__num {
  font-size: 72px; font-weight: 200; color: #fff; line-height: 1; min-width: 120px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.tab-scenes .scn-sublabel { font-size: 13px; color: var(--fg-tertiary); padding: 12px 0 8px; }
.tab-scenes .scn-sublabel--inline { padding: 0; }
.tab-scenes .scn-cncfan { display: flex; gap: 8px; }
.tab-scenes .scn-cncfan button {
  flex: 1; height: 40px; border-radius: 10px; background: var(--bg-control);
  font-size: 15px; font-weight: 600; color: var(--fg-primary);
  transition: background .2s, color .2s;
}
.tab-scenes .scn-cncfan button.is-sel { background: var(--primary); color: var(--button-primary-text); }

/* Heating (Rixens) */
.tab-scenes .scn-hrow { display: flex; gap: 10px; padding-bottom: 12px; }
.tab-scenes .scn-hpill {
  flex: 1; height: 44px; border-radius: 10px; background: var(--bg-control); color: var(--fg-tertiary);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s;
}
.tab-scenes .scn-hpill.is-on { background: var(--green); color: var(--button-primary-text); }
.tab-scenes .scn-rxpanel {
  position: relative; height: 200px; border-radius: 16px; margin-top: 4px;
  color: #fff; display: flex; flex-direction: column;
}
.tab-scenes .scn-rxpanel.is-th { color: #1A1A1A; }
.tab-scenes .scn-rxpanel__th {
  position: absolute; top: 12px; right: 16px;
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
}
.tab-scenes .scn-rxpanel__th span { opacity: .85; }
.tab-scenes .scn-rxpanel__th .ios-switch { transform: scale(.85); margin: 0 -4px; }
.tab-scenes .scn-rxpanel__row { flex: 1; display: flex; align-items: center; padding: 50px 0 12px; }
.tab-scenes .scn-floor {
  margin-left: 14px; padding: 12px; border-radius: 10px;
  display: flex; align-items: center; gap: 10px; color: inherit;
  background: rgba(255, 255, 255, 0.08); opacity: .6;
  transition: background .2s, opacity .2s;
}
.tab-scenes .scn-floor.is-on { background: rgba(255, 255, 255, 0.25); }
.tab-scenes .is-th .scn-floor { opacity: 1; background: rgba(0, 0, 0, 0.06); }
.tab-scenes .is-th .scn-floor.is-on { background: rgba(0, 0, 0, 0.18); }
.tab-scenes .scn-floor:disabled { cursor: default; }
.tab-scenes .scn-floor__label { font-size: 15px; font-weight: 600; }
.tab-scenes .scn-floor__state { font-size: 12px; opacity: .75; margin-left: -4px; }
.tab-scenes .scn-rxpanel__num { flex: 1; text-align: center; font-size: 72px; font-weight: 200; line-height: 1; font-variant-numeric: tabular-nums; }
.tab-scenes .scn-rxpanel__num.is-off { font-size: 48px; font-weight: 300; opacity: .7; }
.tab-scenes .scn-rxpanel__btns { margin-right: 14px; display: flex; flex-direction: column; gap: 10px; }
.tab-scenes .scn-rxbtn {
  width: 44px; height: 44px; border-radius: 50%; color: inherit;
  background: rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
}
.tab-scenes .is-th .scn-rxbtn { background: rgba(0, 0, 0, 0.15); }
.tab-scenes .scn-rxbtn:disabled { cursor: default; }
.tab-scenes .scn-rxbtn:disabled .arc-icon { opacity: .4; }
.tab-scenes .scn-hfan { padding-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.tab-scenes .scn-hfan__row { display: flex; align-items: center; gap: 8px; }
.tab-scenes .scn-auto {
  padding: 5px 24px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: var(--bg-deep); color: var(--fg-tertiary);
  transition: background .2s, color .2s;
}
.tab-scenes .scn-auto.is-on { background: var(--primary); color: #1D1D1D; }
.tab-scenes .scn-hfan__pct { width: 40px; text-align: right; font-size: 13px; font-weight: 500; }

/* Awning */
.tab-scenes .scn-awn { display: flex; align-items: flex-start; gap: 16px; padding: 20px 32px; }
.tab-scenes .scn-awn__tgl { width: 48px; flex: none; display: flex; }
.tab-scenes .scn-awn__col { display: flex; flex-direction: column; gap: 8px; padding-top: 5px; }
.tab-scenes .scn-awn__name { font-size: 15px; font-weight: 500; }
.tab-scenes .scn-awn__col .scn-reveal { display: flex; flex-direction: column; gap: 8px; }
.tab-scenes .scn-awn__ctrls { display: flex; align-items: center; gap: 12px; }
.tab-scenes .scn-awn__cap { font-size: 12px; color: var(--fg-tertiary); }
.tab-scenes .scn-seg {
  width: 180px; height: 32px; padding: 2px; border-radius: 8px;
  background: rgba(118, 118, 128, 0.24); display: flex;
}
.tab-scenes .scn-seg button {
  flex: 1; border-radius: 7px; font-size: 13px; color: var(--fg-primary);
  transition: background .2s;
}
.tab-scenes .scn-seg button.is-sel { background: #636366; font-weight: 600; box-shadow: 0 3px 8px rgba(0,0,0,.12); }
.tab-scenes .scn-dur { display: flex; align-items: center; gap: 6px; color: var(--fg-tertiary); }
.tab-scenes .scn-menu { position: relative; }
.tab-scenes .scn-menu__btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 4px;
  font-size: 14px; color: var(--primary);
}
.tab-scenes .scn-menu__list {
  position: absolute; top: calc(100% + 4px); left: 0; z-index: 10; min-width: 190px;
  background: rgba(44, 44, 46, 0.97); border-radius: 12px; padding: 6px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 0.5px rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  animation: scn-menu-in .18s var(--ease-spring);
  transform-origin: top left;
}
@keyframes scn-menu-in { from { opacity: 0; transform: scale(.92); } }
.tab-scenes .scn-menu__list button {
  width: 100%; display: flex; align-items: center; gap: 6px; padding: 10px 16px 10px 10px;
  font-size: 16px; color: var(--fg-primary); text-align: left;
}
.tab-scenes .scn-menu__list button:hover { background: rgba(255, 255, 255, 0.06); }
.tab-scenes .scn-menu__check { width: 18px; display: flex; justify-content: center; }

/* ---------- Editor toast ("Scene saved successfully") ---------- */
.scn-toast {
  display: inline-block; padding: 12px 20px; border-radius: 8px;
  background: var(--green); color: #fff; font-size: 14px;
  animation: arc-toast-in .3s ease-in-out;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.scn-toast.is-leaving { animation: arc-fade-out .5s ease-in-out forwards; }

/* ---------- Modals (rendered in #overlay-root) ---------- */
.scn-confirm {
  width: 400px; padding: 32px; border-radius: 16px;
  background: var(--bg-elevated); border: 1px solid #3A3A3A;
  display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center;
}
.scn-confirm > .arc-icon { color: var(--red); }
.scn-confirm__text { display: flex; flex-direction: column; gap: 8px; }
.scn-confirm__text h3 { font-size: 20px; font-weight: 600; color: var(--fg-primary); }
.scn-confirm__text p { font-size: 14px; line-height: 19px; color: var(--fg-secondary); }
.scn-confirm__btns { width: 100%; display: flex; gap: 16px; }
.scn-confirm__btns button { flex: 1; height: 44px; border-radius: 6px; font-size: 16px; color: #fff; }
.scn-confirm__cancel { background: rgba(142, 142, 147, 0.3); }
.scn-confirm__delete { background: var(--red); font-weight: 600; }
.scn-confirm__btns button:active { opacity: .7; }

.scn-rename {
  width: 602px; max-width: calc(100vw - 80px); padding: 32px;
  background: var(--bg-deep); border: 1px solid #383838; border-radius: 8px;
  display: flex; flex-direction: column; gap: 32px;
}
.scn-rename__title { font-size: 16px; color: var(--fg-primary); }
.scn-rename__field { display: flex; flex-direction: column; gap: 8px; }
.scn-rename__field label { font-size: 16px; padding-left: 2px; }
.scn-rename__field .scn-input { width: 300px; }
.scn-rename__btns { display: flex; gap: 4px; }
.scn-rename__btns button { flex: 1; padding: 14px 0; border-radius: 10px; font-size: 16px; }
.scn-rename__cancel { background: var(--bg-control); color: var(--fg-primary); font-weight: 500; }
.scn-rename__save { background: var(--primary); color: var(--button-primary-text); font-weight: 600; }
.scn-rename__btns button:active { opacity: .7; }
