.app-control-grid {
  grid-template-columns: .9fr 1.1fr;
  margin-bottom: 16px;
}
.remote-flags { display: grid; grid-template-columns: 1fr 1fr; }
.remote-flags label:nth-last-child(2) { border-bottom: 0; }
.app-control-phone { position: relative; overflow: hidden; }
.remote-banner {
  margin-top: 18px;
  min-height: 245px;
  border: 1px solid #6e5423;
  border-radius: 10px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -75px 90px #07080a;
}
.remote-banner small { color: #e6be67; font-size: 7px; letter-spacing: 1px; }
.remote-banner h3 { font: 18px Georgia; margin: 8px 0; }
.remote-banner p { color: #c1b79f; font-size: 8px; line-height: 1.5; margin: 0 0 12px; }
.remote-banner button { align-self: flex-start; border: 0; border-radius: 5px; background: linear-gradient(#e4be65,#a87527); padding: 8px 11px; color: #171108; font-weight: bold; font-size: 8px; }
.app-links .feature-off { opacity: .28; text-decoration: line-through; }
.maintenance-preview { position: absolute; inset: 46px 8px 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 10%,#34280f,#111318 42%,#090a0d); border: 1px solid #9a7331; border-radius: 16px; padding: 15px; z-index: 3; text-align: center; box-shadow: 0 18px 50px #000; }
.maintenance-preview[hidden] { display: none; }
.maintenance-preview .maintenance-kicker { display: inline-block; border: 1px solid #6f5420; border-radius: 10px; background: #2b220f; color: #e6bd64; padding: 4px 7px; font-size: 6px; letter-spacing: 1px; }
.maintenance-preview>i { width: 42px; height: 42px; display: grid; place-items: center; margin-top: 11px; border-radius: 50%; background: linear-gradient(#f2d176,#a87425); color: #171108; font-style: normal; font-size: 21px; box-shadow: 0 0 0 4px #6d532033; }
.maintenance-preview b,.maintenance-preview small { display: block; }
.maintenance-preview>b { color: #fff2cc; font: 14px Georgia; margin-top: 11px; }
.maintenance-preview>small { color: #a6a8ae; line-height: 1.5; margin-top: 7px; font-size: 7px; }
.maintenance-preview em { width: 100%; display: flex; flex-direction: column; gap: 3px; margin-top: 10px; padding: 8px; border: 1px solid #30343a; border-radius: 8px; background: #15181c; color: #767b84; font-size: 6px; font-style: normal; text-align: left; }
.maintenance-preview em strong { color: #69d49a; font-size: 7px; }
.maintenance-preview button { width: 100%; min-height: 30px; margin-top: 7px; border-radius: 7px; font-size: 7px; font-weight: bold; }
.maintenance-preview .maintenance-whatsapp { border: 0; background: linear-gradient(90deg,#20ad61,#168749); color: #fff; }
.maintenance-preview .maintenance-check { border: 1px solid #755a24; background: #17191e; color: #e6ba5c; }
.icon-btn.danger { color: #ef8989; border-color: #633939; }
.banner-upload-line { margin: -7px 18px 14px; display: flex; align-items: center; gap: 10px; }
.banner-upload-line span { color: #717780; font-size: 8px; }
.mini-action { border: 1px solid #6b5427; background: #2d240f; color: #e7be65; border-radius: 5px; padding: 7px 10px; font-size: 8px; }
.mini-action:disabled { opacity: .45; cursor: wait; }
.internal-destination { margin: -5px 18px 15px; padding: 11px; border: 1px solid #2f333a; border-radius: 6px; background: #0d0f12; }
.internal-destination>small { display: block; color: #777d86; font-size: 8px; margin-bottom: 8px; }
.internal-destination>div { display: flex; flex-wrap: wrap; gap: 6px; }
.internal-destination button { border: 1px solid #393e46; background: #181b20; color: #999fa8; border-radius: 13px; padding: 6px 9px; font-size: 8px; }
.internal-destination button.selected { border-color: #9a7331; background: #33280f; color: #f0cb73; }
.modal-card textarea { display: block; width: 100%; min-height: 70px; margin-top: 7px; border: 1px solid #343840; background: #181b20; color: #eee; border-radius: 5px; padding: 9px; resize: vertical; }
.support-contact-card { margin-bottom: 16px; }
.support-contact-grid { display: grid; grid-template-columns: minmax(260px,1fr) minmax(220px,.6fr); gap: 14px; padding: 0 18px; }
.support-contact-grid > label { margin: 0; padding: 0; }
.support-contact-grid > label small { display: block; margin-top: 6px; color: #747a84; line-height: 1.5; }
.support-number-preview { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 14px; border: 1px solid #3b403f; border-radius: 8px; background: linear-gradient(145deg,#10251a,#111418); }
.support-number-preview small { color: #62c98c; font-size: 8px; letter-spacing: 1px; }
.support-number-preview strong { margin: 7px 0 11px; color: #e3e7e5; font-size: 12px; word-break: break-all; }
.support-template-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 16px 18px 0; }
.support-template-grid label { margin: 0; padding: 0; }
.support-template-grid textarea { min-height: 105px; }
@media (max-width: 900px) { .app-control-grid { grid-template-columns: 1fr; } .support-template-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .remote-flags { grid-template-columns: 1fr; } .remote-flags label:nth-last-child(2) { border-bottom: 1px solid var(--line); } .support-contact-grid { grid-template-columns: 1fr; } }

/* Executive App Control visual system */
#appcontrol {
  position: relative;
  isolation: isolate;
}

#appcontrol::before,
#appcontrol::after {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

#appcontrol::before {
  top: -160px;
  right: -80px;
  width: 520px;
  height: 420px;
  background: radial-gradient(circle, rgba(184, 135, 50, .11), transparent 69%);
}

#appcontrol::after {
  top: 580px;
  left: 4%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(78, 102, 126, .055), transparent 70%);
}

#appcontrol .app-control-head {
  position: relative;
  min-height: 96px;
  margin-bottom: 14px;
  padding: 21px 23px;
  overflow: hidden;
  align-items: center;
  border: 1px solid #312d24;
  border-radius: 12px;
  background:
    linear-gradient(112deg, rgba(191, 143, 51, .09), transparent 38%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 10px),
    linear-gradient(145deg, #171a1f, #0e1014);
  box-shadow: 0 18px 46px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .025);
}

#appcontrol .app-control-head::after {
  position: absolute;
  top: -65px;
  right: 160px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(218, 174, 84, .09);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 60px rgba(205, 153, 57, .04);
}

#appcontrol .app-control-head > span,
#appcontrol .app-control-head-state {
  position: relative;
  z-index: 1;
}

#appcontrol .app-control-head > span > small {
  color: #d4a851;
  letter-spacing: .22em;
}

#appcontrol .app-control-head h1 {
  margin-block: 7px 5px;
  color: #f3ede1;
  font-size: 31px;
}

.app-control-head-state {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 235px;
  padding: 9px 10px 9px 14px;
  border: 1px solid #363229;
  border-radius: 8px;
  background: rgba(10, 12, 15, .54);
}

.app-control-head-state > small {
  flex: 1;
  color: #686f79;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
}

.app-control-head-state .badge {
  justify-content: center;
  min-width: 96px;
  border-radius: 6px;
}

#appcontrol .app-control-intro {
  position: relative;
  min-height: 58px;
  margin-bottom: 16px;
  overflow: hidden;
  border-color: #4a3c24;
  background: linear-gradient(105deg, rgba(39, 31, 17, .92), rgba(20, 20, 20, .76) 55%, rgba(19, 23, 25, .8));
  color: #d4b873;
  box-shadow: inset 0 1px rgba(255, 229, 166, .025);
}

#appcontrol .app-control-intro > b {
  border-color: #745b2b;
  background: #211a0e;
  color: #e5bb5c;
}

#appcontrol .app-control-intro > em {
  margin-left: auto;
  padding: 6px 9px;
  border: 1px solid #455044;
  border-radius: 999px;
  background: #121c17;
  color: #69bc89;
  font-size: 6px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .13em;
  white-space: nowrap;
}

#appcontrol .app-control-grid {
  grid-template-columns: minmax(470px, .95fr) minmax(420px, 1.05fr);
  align-items: stretch;
  gap: 15px;
}

#appcontrol .card {
  border-color: #2d3138;
  border-radius: 11px;
  background: linear-gradient(152deg, rgba(20, 23, 28, .985), rgba(13, 15, 19, .985));
  box-shadow: 0 19px 48px rgba(0, 0, 0, .18), inset 0 1px rgba(255, 255, 255, .02);
}

#appcontrol .card > header {
  min-height: 69px;
  padding: 16px 19px;
  border-bottom-color: #292d34;
  background: linear-gradient(90deg, rgba(190, 142, 50, .05), transparent 47%);
}

#appcontrol .card > header small {
  letter-spacing: .17em;
}

#appcontrol .card > header h2 {
  color: #eae4d9;
  font-size: 17px;
}

.app-control-config-card {
  position: relative;
}

.app-control-config-card::after {
  position: absolute;
  top: 69px;
  right: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 156, 65, .055), transparent 70%);
  content: "";
  pointer-events: none;
}

.app-control-section-label {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 15px 18px 0;
}

.app-control-section-label span {
  color: #bd9650;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .15em;
}

.app-control-section-label small {
  color: #626973;
  font-size: 7px;
}

#appcontrol .remote-flags {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 18px 15px;
  border: 0;
  border-radius: 0;
}

#appcontrol .remote-flags label,
#appcontrol .remote-flags label:nth-last-child(2) {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 10px 11px;
  border: 1px solid #2c3138;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(27, 30, 36, .86), rgba(18, 20, 24, .86));
  box-shadow: inset 0 1px rgba(255, 255, 255, .018);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

#appcontrol .remote-flags label:hover {
  border-color: #54472d;
  background: linear-gradient(145deg, rgba(35, 32, 25, .9), rgba(20, 22, 26, .9));
  transform: translateY(-1px);
}

#appcontrol .remote-flags label:has(input:checked) {
  border-color: #4d442f;
  background: linear-gradient(145deg, rgba(42, 35, 21, .76), rgba(19, 22, 25, .9));
}

#appcontrol .remote-flags .maintenance-flag:has(input:checked) {
  border-color: #744b39;
  background: linear-gradient(145deg, rgba(54, 30, 24, .78), rgba(22, 20, 21, .92));
}

.flag-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #46402e;
  border-radius: 8px;
  background: #201c13;
  color: #cfaa5d;
  font-size: 10px;
  font-style: normal;
}

#appcontrol .remote-flags label > span {
  min-width: 0;
}

#appcontrol .remote-flags label > span > b,
#appcontrol .remote-flags label > span > small {
  display: block;
}

#appcontrol .remote-flags label > span > b {
  overflow: hidden;
  color: #c7cbd1;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#appcontrol .remote-flags label > span > small {
  margin-top: 4px;
  overflow: hidden;
  color: #656c75;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#appcontrol .remote-flags input[type="checkbox"] {
  position: relative;
  display: block;
  width: 36px !important;
  min-width: 36px;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #42474f !important;
  border-radius: 999px !important;
  appearance: none;
  background: #111419 !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .45);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

#appcontrol .remote-flags input[type="checkbox"]::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #767d86, #454b53);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .45);
  content: "";
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s ease;
}

#appcontrol .remote-flags input[type="checkbox"]:checked {
  border-color: #84682f !important;
  background: linear-gradient(90deg, #3a2d13, #765622) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 224, 145, .05), 0 0 12px rgba(196, 145, 48, .1);
}

#appcontrol .remote-flags input[type="checkbox"]:checked::before {
  background: linear-gradient(145deg, #f2d17e, #bd862d);
  box-shadow: 0 2px 7px rgba(0, 0, 0, .48), 0 0 8px rgba(232, 186, 90, .22);
  transform: translateX(16px);
}

#appcontrol .remote-flags input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(220, 177, 83, .48);
  outline-offset: 3px;
}

#appcontrol .maintenance-message-field {
  margin: 0 18px 13px;
  padding: 13px;
  border: 1px solid #2b3037;
  border-radius: 8px;
  background: rgba(10, 12, 15, .42);
  color: #7f8690;
}

.maintenance-message-field > span,
.maintenance-message-field > small {
  display: block;
}

.maintenance-message-field > span {
  color: #b6bac1;
  font-size: 8px;
  font-weight: 700;
}

.maintenance-message-field > small {
  margin-top: 4px;
  color: #626974;
  font-size: 7px;
}

#appcontrol .maintenance-message-field textarea {
  min-height: 77px;
  margin-top: 10px;
  border-color: #30353d;
  border-radius: 7px;
  outline: none;
  background: linear-gradient(145deg, #181b20, #121519);
  color: #d5d8dc;
  line-height: 1.5;
}

#appcontrol .maintenance-message-field textarea:focus {
  border-color: #7f6229;
  box-shadow: 0 0 0 3px rgba(194, 145, 51, .07);
}

#appcontrol .app-control-realtime-note {
  margin: 0 18px 13px;
  border-color: #34483d;
  background: linear-gradient(90deg, rgba(19, 42, 30, .62), rgba(17, 22, 20, .68));
  color: #83b497;
}

#appcontrol .app-control-realtime-note > b {
  border-color: #3f7257;
  color: #65cb90;
}

#appcontrol .app-control-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 18px 15px;
}

#appcontrol .app-control-actions button {
  min-height: 42px;
  border-radius: 7px;
  font-size: 8px;
  letter-spacing: .02em;
}

#appcontrol .app-control-actions .ghost {
  border-color: #3a4048;
  background: linear-gradient(145deg, #1b1e23, #14161a);
}

#appcontrol .app-control-actions .gold {
  border-color: #b18331;
  background: linear-gradient(145deg, #e1b85f, #a97527);
  box-shadow: inset 0 1px rgba(255, 245, 212, .23), 0 7px 18px rgba(155, 106, 29, .13);
}

#appcontrol .app-control-actions button:disabled {
  border-color: #34383f;
  background: #1a1d21;
  box-shadow: none;
  color: #595f68;
  cursor: default;
}

#appcontrol .app-control-job {
  display: grid;
  grid-template-columns: .8fr .75fr 1.45fr;
  gap: 1px;
  padding: 0;
  border-top: 1px solid #282d34;
  background: #282d34;
}

#appcontrol .app-control-job > span {
  min-width: 0;
  padding: 13px 15px;
  background: linear-gradient(145deg, #15181d, #101216);
}

#appcontrol .app-control-job small {
  color: #5f6670;
  font-size: 6px;
  letter-spacing: .11em;
}

#appcontrol .app-control-job strong {
  overflow: hidden;
  color: #d0aa5a;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-control-preview-card {
  display: flex;
  flex-direction: column;
}

.app-preview-nav .icon-btn {
  border-color: #4a402b;
  border-radius: 7px;
  background: #1c1913;
}

.app-device-stage {
  position: relative;
  display: grid;
  flex: 1;
  place-items: center;
  min-height: 520px;
  padding: 35px 22px 25px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(190, 142, 48, .13), transparent 36%),
    linear-gradient(145deg, #0d0f13, #111318);
}

.app-device-stage::before,
.app-device-stage::after {
  position: absolute;
  border: 1px solid rgba(219, 177, 85, .07);
  border-radius: 50%;
  content: "";
}

.app-device-stage::before {
  width: 430px;
  height: 190px;
  transform: rotate(-11deg);
}

.app-device-stage::after {
  width: 330px;
  height: 140px;
  transform: rotate(13deg);
}

.device-stage-label {
  position: absolute;
  z-index: 3;
  top: 17px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #69717a;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .13em;
}

.device-stage-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #57ca8a;
  box-shadow: 0 0 9px rgba(87, 202, 138, .55);
}

#appcontrol .app-control-phone {
  position: relative;
  z-index: 2;
  width: 286px;
  height: 480px;
  margin: 0;
  border: 7px solid #292d33;
  border-radius: 30px;
  background: radial-gradient(circle at 50% -10%, #29200f, #0c0e11 33%);
  box-shadow: 0 30px 75px rgba(0, 0, 0, .68), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 0 40px rgba(195, 145, 49, .06);
}

#appcontrol .app-control-phone::before {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 70px;
  height: 13px;
  border-radius: 999px;
  background: #050607;
  content: "";
  transform: translateX(-50%);
}

#appcontrol .app-control-phone .phone-top {
  color: #d2ad5c;
  letter-spacing: .06em;
}

#appcontrol .remote-banner {
  border-color: #745a29;
  border-radius: 12px;
  background-color: #17150f;
  box-shadow: inset 0 -95px 100px #07080a, 0 10px 30px rgba(0, 0, 0, .22);
}

#appcontrol .remote-banner button {
  border: 1px solid #bc8b31;
  border-radius: 6px;
  background: linear-gradient(145deg, #e2ba62, #a87527);
  box-shadow: inset 0 1px rgba(255, 245, 213, .22);
}

#appcontrol .app-links span {
  border: 1px solid #2c3037;
  border-radius: 7px;
  background: linear-gradient(145deg, #181b20, #111318);
  color: #a9adb4;
}

#appcontrol .app-control-contract {
  grid-template-columns: 110px minmax(0, 1fr);
  margin: 0;
  border: 0;
  border-top: 1px solid #292d34;
  border-radius: 0;
  background: #292d34;
}

#appcontrol .app-control-contract b,
#appcontrol .app-control-contract span {
  min-height: 35px;
  background: #12151a;
}

#appcontrol .support-contact-card,
#appcontrol .notification-history-card,
#appcontrol > .two-col:not(.app-control-grid),
#appcontrol .announcement-summary {
  margin-top: 15px;
}

#appcontrol .support-contact-card {
  margin-bottom: 0;
}

#appcontrol .support-contact-grid {
  gap: 12px;
  padding-top: 16px;
}

#appcontrol .support-contact-grid > label,
#appcontrol .support-template-grid > label,
#appcontrol > .two-col .form-card > label {
  color: #858b94;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .04em;
}

#appcontrol .form-card input:not([type="checkbox"]),
#appcontrol .form-card textarea {
  border-color: #30353d;
  border-radius: 7px;
  outline: none;
  background: linear-gradient(145deg, #191c21, #13161a);
  color: #d8dade;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .15);
}

#appcontrol .form-card input:not([type="checkbox"]):focus,
#appcontrol .form-card textarea:focus {
  border-color: #806329;
  box-shadow: 0 0 0 3px rgba(198, 149, 55, .07);
}

#appcontrol .support-number-preview {
  border-color: #355043;
  border-radius: 9px;
  background:
    radial-gradient(circle at 100% 0, rgba(82, 196, 132, .1), transparent 45%),
    linear-gradient(145deg, #10231a, #111418);
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
}

#appcontrol .support-number-preview .mini-action {
  border-color: #376649;
  background: #152a1e;
  color: #76d49c;
}

#appcontrol .support-template-grid {
  gap: 10px;
}

#appcontrol .support-template-grid label {
  padding: 11px;
  border: 1px solid #292e35;
  border-radius: 8px;
  background: rgba(12, 14, 18, .43);
}

#appcontrol .support-template-grid textarea {
  min-height: 95px;
}

#appcontrol .notification-history-card .data-table th {
  height: 39px;
  padding-inline: 13px;
  border-top: 0;
  background: linear-gradient(180deg, #12151a, #0d1013);
  color: #777e88;
  letter-spacing: .1em;
}

#appcontrol .notification-history-card .data-table td {
  padding: 13px;
  border-color: #24282e;
  background: rgba(17, 19, 23, .78);
}

#appcontrol .notification-history-card .data-table tbody tr:hover td {
  background: rgba(43, 35, 20, .42);
}

#appcontrol > .two-col:not(.app-control-grid) {
  gap: 15px;
}

#appcontrol > .two-col:not(.app-control-grid) .phone-preview {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 32%, rgba(191, 143, 51, .09), transparent 34%),
    linear-gradient(145deg, #14171b, #0d0f13);
}

#appcontrol > .two-col:not(.app-control-grid) .phone-preview .phone {
  width: 265px;
  height: 420px;
  margin-block: 25px;
  border-radius: 29px;
  box-shadow: 0 30px 65px rgba(0, 0, 0, .55), 0 0 35px rgba(197, 147, 51, .05);
}

#appcontrol .announcement-actions button {
  min-height: 38px;
  border-radius: 7px;
}

#appcontrol .announcement-summary {
  gap: 9px;
}

#appcontrol .announcement-summary article {
  position: relative;
  min-height: 84px;
  padding: 15px;
  overflow: hidden;
  border-color: #2d3138;
  border-radius: 9px;
  background:
    linear-gradient(135deg, rgba(191, 143, 51, .055), transparent 48%),
    linear-gradient(145deg, #181b20, #111318);
  box-shadow: inset 0 1px rgba(255, 255, 255, .02);
}

#appcontrol .announcement-summary article::after {
  position: absolute;
  right: -18px;
  bottom: -24px;
  width: 70px;
  height: 70px;
  border: 1px solid rgba(220, 177, 84, .07);
  border-radius: 50%;
  content: "";
}

#appcontrol .announcement-summary small {
  color: #6d747e;
  letter-spacing: .13em;
}

#appcontrol .announcement-summary b {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  color: #ddba68;
  font: 400 24px Georgia, serif;
}

@media (max-width: 1180px) {
  #appcontrol .app-control-grid {
    grid-template-columns: 1fr;
  }

  .app-device-stage {
    min-height: 545px;
  }

  #appcontrol .announcement-summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  #appcontrol .app-control-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-control-head-state {
    width: 100%;
  }

  #appcontrol .app-control-intro {
    align-items: flex-start;
  }

  #appcontrol .app-control-intro > em {
    display: none;
  }

  #appcontrol .remote-flags {
    grid-template-columns: 1fr;
    margin-inline: 12px;
  }

  .app-control-section-label {
    align-items: flex-start;
    flex-direction: column;
    padding-inline: 12px;
  }

  #appcontrol .maintenance-message-field,
  #appcontrol .app-control-realtime-note,
  #appcontrol .app-control-actions {
    margin-inline: 12px;
  }

  #appcontrol .app-control-job {
    grid-template-columns: 1fr;
  }

  .app-device-stage {
    min-height: 520px;
    padding-inline: 8px;
  }

  #appcontrol .app-control-phone {
    width: min(286px, 100%);
  }

  #appcontrol .support-contact-grid,
  #appcontrol .support-template-grid {
    padding-inline: 12px;
  }

  #appcontrol .announcement-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.promo-routing-card .main-website-link {
  display: grid;
  gap: 7px;
  max-width: 720px;
  margin-bottom: 18px;
}
.promo-routing-card .main-website-link small { color: #777e87; font-weight: 500; }
.promo-routing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.promo-route-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid #30343b;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(27,30,35,.96), rgba(13,15,18,.98));
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.promo-route-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.promo-route-card > header small,
.promo-route-card > header strong { display: block; }
.promo-route-card > header small { margin-bottom: 4px; color: #85724a; font-size: 8px; letter-spacing: 1.4px; }
.promo-route-card > header strong { color: #e5e0d5; font-size: 13px; }
.promo-route-card > label:not(.promo-live-chat-toggle) { display: grid; gap: 7px; }
.promo-route-card input[type="url"]:disabled {
  border-color: #292d33;
  background: #101216;
  color: #696f77;
  cursor: not-allowed;
  opacity: .68;
}
.promo-route-card.live-chat-mode {
  border-color: rgba(197,151,57,.62);
  background: radial-gradient(circle at 100% 0, rgba(204,156,56,.13), transparent 40%), linear-gradient(145deg,#1d1b14,#101215 72%);
  box-shadow: inset 0 0 0 1px rgba(223,177,76,.08), 0 12px 30px rgba(0,0,0,.2);
}
.promo-route-card.live-chat-mode > header .badge { border-color: #2f7250; background: #152c20; color: #74d89d; }
.promo-live-chat-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
  padding: 12px;
  border: 1px solid #30343a;
  border-radius: 9px;
  background: rgba(8,10,12,.52);
  cursor: pointer;
}
.promo-live-chat-toggle > span { min-width: 0; flex: 1; }
.promo-live-chat-toggle b,
.promo-live-chat-toggle small { display: block; }
.promo-live-chat-toggle b { color: #d9dce1; font-size: 10px; }
.promo-live-chat-toggle small { margin-top: 4px; color: #737a84; font-size: 8px; font-weight: 500; line-height: 1.45; }
.promo-live-chat-toggle input {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid #434851;
  border-radius: 999px;
  background: #181b20;
  cursor: pointer;
  transition: .2s ease;
}
.promo-live-chat-toggle input::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #7b828c;
  transition: .2s ease;
}
.promo-live-chat-toggle input:checked { border-color: #b8872d; background: #4a3715; }
.promo-live-chat-toggle input:checked::before { background: #efc769; box-shadow: 0 0 10px rgba(235,188,84,.35); transform: translateX(16px); }
.promo-live-chat-toggle input:focus-visible { outline: 2px solid #d4a744; outline-offset: 3px; }

@media (max-width: 780px) {
  .promo-routing-grid { grid-template-columns: 1fr; }
}

/* App Control banner editor belongs to the same premium surface */
#appBannerModal .modal-card {
  border-color: #5a4827;
  border-radius: 12px;
  background:
    radial-gradient(circle at 100% 0, rgba(199, 151, 61, .09), transparent 28%),
    linear-gradient(150deg, #15181d, #0e1014);
  box-shadow: 0 30px 100px rgba(0, 0, 0, .78), inset 0 1px rgba(255, 239, 196, .035);
}

#appBannerModal .modal-card > header {
  background: linear-gradient(90deg, rgba(190, 143, 52, .075), transparent 48%);
}

#appBannerModal .modal-card input,
#appBannerModal .modal-card textarea {
  border-color: #323740;
  border-radius: 7px;
  outline: 0;
  background: linear-gradient(145deg, #191c21, #13161a);
}

#appBannerModal .modal-card input:focus,
#appBannerModal .modal-card textarea:focus {
  border-color: #806329;
  box-shadow: 0 0 0 3px rgba(198, 149, 55, .07);
}

#appBannerModal .flag-list {
  border-color: #302f2a;
  background: rgba(10, 12, 15, .45);
}

#appBannerModal .flag-list label {
  align-items: center;
  color: #babec5;
}

#appBannerModal .flag-list input[type="checkbox"] {
  position: relative;
  width: 36px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #84682f !important;
  border-radius: 999px !important;
  appearance: none;
  background: linear-gradient(90deg, #3a2d13, #765622) !important;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, .4);
  cursor: pointer;
}

#appBannerModal .flag-list input[type="checkbox"]::before {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(145deg, #777e87, #464c54);
  content: "";
  transition: transform .2s ease, background .2s ease;
}

#appBannerModal .flag-list input[type="checkbox"]:checked::before {
  background: linear-gradient(145deg, #f2d17e, #bd862d);
  box-shadow: 0 0 8px rgba(232, 186, 90, .22);
  transform: translateX(16px);
}

#appBannerModal .flag-list input[type="checkbox"]:not(:checked) {
  border-color: #42474f !important;
  background: #111419 !important;
}

.member-access-prototype { margin-bottom: 16px; }
.member-access-layout { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(360px,1.2fr); min-height: 590px; }
.member-access-notes { padding: 20px; border-right: 1px solid var(--line); }
.member-access-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 18px; }
.member-access-tabs button { height: 42px; border: 1px solid #343840; border-radius: 7px; background: #181b20; color: #878e98; font-weight: 700; font-size: 9px; }
.member-access-tabs button.active { border-color: #846528; background: linear-gradient(145deg,#33280f,#1c180f); color: #f0cb73; box-shadow: inset 0 0 0 1px #ba8f3633; }
.access-step-list { display: grid; gap: 8px; margin-bottom: 18px; }
.access-step { display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 11px; align-items: center; padding: 13px; border: 1px solid #2d3138; border-radius: 8px; background: #14171b; color: #737a84; }
.access-step > i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #3a4048; border-radius: 50%; color: #7f8690; font-style: normal; font-size: 8px; }
.access-step b,.access-step small { display: block; }
.access-step b { color: #b8bdc5; font-size: 9px; }
.access-step small { margin-top: 4px; line-height: 1.5; font-size: 8px; }
.access-step.active { border-color: #735b28; background: #211b0f; color: #a99467; }
.access-step.active > i { border-color: #ba8c31; background: #33280f; color: #f0c75f; }
.access-step.done { border-color: #28543f; color: #719980; }
.access-step.done > i { border-color: #367052; background: #173124; color: #69d296; }
.member-access-phone-wrap { display: grid; place-items: center; align-content: center; padding: 25px; background: radial-gradient(circle at 50% 0,#30240e 0,transparent 36%),#0c0e11; }
.member-access-phone { position: relative; width: 300px; height: 535px; overflow: hidden; border: 7px solid #2b2e34; border-radius: 32px; background: radial-gradient(circle at 50% -5%,#30230d,#0b0d10 31%); box-shadow: 0 30px 65px #0009, inset 0 0 0 1px #4b4f5666; }
.member-access-phone::before { content: ''; position: absolute; z-index: 5; top: 7px; left: 50%; width: 82px; height: 18px; border-radius: 12px; background: #050607; transform: translateX(-50%); }
.member-phone-status { position: relative; z-index: 6; height: 32px; padding: 11px 15px 0; display: flex; justify-content: space-between; color: #a7abb1; font-size: 7px; }
.member-phone-brand { height: 57px; padding: 9px 18px; display: flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 1px solid #25282e; }
.member-phone-brand > i { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg,#e8c76f,#96641d); color: #161108; font-style: normal; }
.member-phone-brand b,.member-phone-brand small { display: block; }
.member-phone-brand b { color: #ebc96f; font: 11px Georgia; letter-spacing: .6px; }
.member-phone-brand small { margin-top: 2px; color: #656a72; font-size: 5px; letter-spacing: 1.4px; }
.member-phone-screen { display: none; padding: 28px 24px 24px; }
.member-phone-screen.active { display: block; }
.member-phone-kicker { color: #d7aa4e; font-size: 6px; font-weight: 800; letter-spacing: 1.4px; }
.member-phone-screen h3 { margin: 8px 0 7px; color: #f3eee4; font: 22px Georgia; }
.member-phone-screen > p { margin: 0 0 18px; color: #7d838c; font-size: 8px; line-height: 1.5; }
.member-phone-screen label { display: block; margin: 11px 0; color: #888e97; font-size: 7px; }
.member-phone-screen label[hidden] { display: none!important; }
.member-phone-screen input { width: 100%; height: 39px; margin-top: 6px; padding: 0 11px; border: 1px solid #343941; border-radius: 7px; outline: 0; background: #16191e; color: #ececec; font-size: 9px; }
.member-phone-screen input:focus { border-color: #94712c; box-shadow: 0 0 0 2px #9b742423; }
.member-phone-primary { width: 100%; min-height: 40px; border: 1px solid #bc8a30; border-radius: 7px; background: linear-gradient(#e4bd61,#aa7624); color: #171108; font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.member-phone-switch { display: block; margin-top: 14px; color: #666d76; text-align: center; font-size: 7px; }
.member-phone-switch button { padding: 0; border: 0; background: none; color: #dfb85d; font-size: inherit; }
.member-phone-help { display: block; margin: 10px auto 0; padding: 4px 8px; border: 0; background: none; color: #dfb85d; font-size: 7px; font-weight: 800; }
.member-phone-help[hidden] { display: none; }
.member-phone-back { width: 28px; height: 28px; margin: -9px 0 16px; border: 1px solid #343941; border-radius: 50%; background: #171a1f; color: #e5ba5d; font-size: 18px; }
.member-pin-hint { min-height: 24px; margin: 6px 0 14px!important; color: #777e87!important; font-size: 7px!important; }
.member-pin-hint.error { color: #ef8989!important; }
.member-dashboard-screen { padding: 20px 17px; }
.member-dashboard-head { display: flex; align-items: center; gap: 10px; }
.member-dashboard-head > span { min-width: 0; flex: 1; }
.member-dashboard-head small,.member-dashboard-head b { display: block; }
.member-dashboard-head small { color: #777d85; font-size: 6px; }
.member-dashboard-head b { margin-top: 4px; overflow: hidden; color: #efc668; font-size: clamp(8px,3.2vw,14px); text-overflow: ellipsis; white-space: nowrap; }
.member-dashboard-head button { flex: 0 0 auto; height: 30px; padding: 0 10px; border: 1px solid #413a2b; border-radius: 6px; background: #181713; color: #b8a878; font-size: 7px; }
.member-dashboard-hero { margin-top: 20px; padding: 18px; border: 1px solid #624b1f; border-radius: 12px; background: linear-gradient(145deg,#34270e,#15140f); }
.member-dashboard-hero small { color: #d8aa4e; font-size: 6px; letter-spacing: 1px; }
.member-dashboard-hero h3 { margin: 8px 0; font-size: 18px; }
.member-dashboard-hero p { margin: 0; color: #9d916e; font-size: 8px; line-height: 1.5; }
.member-dashboard-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.member-dashboard-menu span { min-height: 45px; display: grid; place-items: center; border: 1px solid #2c3037; border-radius: 8px; background: #15181c; color: #a8adb4; font-size: 8px; }
.member-notification-reminder { margin-top: 12px; padding: 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #665023; border-radius: 9px; background: #211b0e; }
.member-notification-reminder[hidden] { display: none; }
.member-notification-reminder span { min-width: 0; flex: 1; }
.member-notification-reminder b,.member-notification-reminder small { display: block; }
.member-notification-reminder b { color: #e7c069; font-size: 8px; }
.member-notification-reminder small { margin-top: 3px; color: #897b5d; font-size: 6px; line-height: 1.4; }
.member-notification-reminder button { flex: 0 0 auto; padding: 7px 8px; border: 0; border-radius: 6px; background: #d8aa50; color: #1a1308; font-size: 7px; font-weight: 800; }
.member-notification-sheet { position: absolute; z-index: 8; inset: 31px 0 0; padding: 27px 22px 20px; overflow-y: auto; background: radial-gradient(circle at 50% 0,#392b10,#0c0e11 42%); text-align: center; }
.member-notification-sheet[hidden] { display: none; }
.notification-sheet-icon { width: 54px; height: 54px; margin: 0 auto 16px; display: grid; place-items: center; border: 1px solid #c39134; border-radius: 18px; background: linear-gradient(145deg,#e3bd61,#8d5d1b); box-shadow: 0 0 32px #ca942c44; color: #171108; font-size: 25px; }
.member-notification-sheet > small { color: #deb352; font-size: 6px; font-weight: 800; letter-spacing: 1px; }
.member-notification-sheet h3 { margin: 8px 0; color: #f3eee4; font: 23px Georgia; }
.member-notification-sheet > p { margin: 0 0 12px; color: #858b94; font-size: 8px; }
.member-notification-sheet ul { margin: 0 0 15px; padding: 0; list-style: none; text-align: left; }
.member-notification-sheet li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #282c32; }
.member-notification-sheet li > i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #2c2412; color: #e4b957; font-style: normal; }
.member-notification-sheet li b,.member-notification-sheet li small { display: block; }
.member-notification-sheet li b { color: #d9dce0; font-size: 8px; }
.member-notification-sheet li small { margin-top: 3px; color: #747b84; font-size: 6px; }
.member-notification-sheet > strong { display: block; margin-bottom: 12px; color: #d8c9a4; font-size: 8px; }
.member-notification-later { margin-top: 10px; padding: 4px; border: 0; background: none; color: #737a83; font-size: 7px; }
.member-access-state { width: min(370px,100%); margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.member-access-state span { padding: 10px; border: 1px solid #2e333a; border-radius: 7px; background: #121419; color: #6f7680; font-size: 7px; }
.member-access-state strong { display: block; margin-top: 4px; color: #d7b359; font-size: 8px; }

@media (max-width: 900px) {
  .member-access-layout { grid-template-columns: 1fr; }
  .member-access-notes { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .member-access-prototype > header { align-items: flex-start; gap: 12px; }
  .member-access-phone-wrap { padding: 20px 8px; }
  .member-access-phone { width: min(300px,100%); }
}
