/* KaViM Platform V1.61 · Featured Plans Studio
   Isolated from the store portal so the platform owner remains the single
   publishing authority for the customer storefront. */

.main-nav [data-view="featured-plans"] .featured-nav-count {
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  margin-inline-start: auto;
  color: #a55800;
  background: linear-gradient(135deg, #fff4dc, #ffe3ac);
  border: 1px solid rgba(234, 139, 21, .24);
  font-size: 11px;
  font-weight: 900;
}

.featured-studio {
  --featured-ink: #151a4a;
  --featured-accent: #f29a22;
  --featured-soft: #fff5e5;
  --featured-line: rgba(27, 36, 88, .10);
  position: relative;
  isolation: isolate;
}

.featured-studio::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px -28px auto;
  height: 360px;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 12%, rgba(242, 154, 34, .13), transparent 31%),
    radial-gradient(circle at 82% 20%, rgba(59, 74, 190, .10), transparent 32%);
  filter: blur(4px);
}

.featured-studio-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 26px;
  align-items: center;
  min-height: 250px;
  padding: clamp(25px, 4vw, 44px);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 179, 63, .20), transparent 28%),
    linear-gradient(135deg, #11153e 0%, #20275f 58%, #303b85 100%);
  box-shadow: 0 28px 80px rgba(16, 22, 68, .22);
}

.featured-studio-hero::after {
  content: "";
  position: absolute;
  width: 310px;
  aspect-ratio: 1;
  inset-inline-end: -80px;
  top: -115px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255, 255, 255, .035), 0 0 0 88px rgba(255, 255, 255, .022);
  pointer-events: none;
}

.featured-studio-copy { position: relative; z-index: 1; }
.featured-studio-copy .studio-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffc66f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .14em;
}
.featured-studio-copy .studio-eyebrow svg { width: 17px; height: 17px; }
.featured-studio-copy h2 {
  max-width: 660px;
  margin: 12px 0 9px;
  color: #fff;
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.featured-studio-copy h2 em { color: #ffb13d; font-style: normal; }
.featured-studio-copy p {
  max-width: 660px;
  margin: 0;
  color: rgba(237, 240, 255, .78);
  font-size: 14px;
  line-height: 1.85;
}

.featured-studio-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}
.featured-studio-actions button,
.featured-toolbar button,
.featured-card-actions button,
.featured-preview-actions button,
.featured-modal button {
  font: inherit;
}
.featured-studio-actions button {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.featured-studio-actions button:hover { transform: translateY(-2px); }
.featured-studio-actions button svg { width: 19px; height: 19px; }
.featured-studio-actions .studio-primary {
  color: #162052;
  background: linear-gradient(135deg, #ffc664, #f6a129);
  box-shadow: 0 15px 35px rgba(244, 157, 34, .25);
}
.featured-studio-actions .studio-secondary { color: #fff; background: rgba(255, 255, 255, .08); }

.featured-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
  margin: 18px 0;
}
.featured-metric {
  position: relative;
  overflow: hidden;
  min-height: 108px;
  padding: 17px;
  border: 1px solid var(--featured-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 38px rgba(23, 30, 76, .07);
}
.featured-metric::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  inset-inline-end: -30px;
  bottom: -38px;
  background: var(--metric-color, #f29a22);
  opacity: .10;
}
.featured-metric span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--metric-color, #f29a22);
  background: color-mix(in srgb, var(--metric-color, #f29a22) 12%, white);
}
.featured-metric span svg { width: 17px; height: 17px; }
.featured-metric small { display: block; margin-top: 10px; color: #7b829c; font-size: 11px; font-weight: 700; }
.featured-metric strong { display: block; margin-top: 2px; color: var(--featured-ink); font-size: 25px; line-height: 1; }

.featured-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 328px;
  gap: 17px;
  align-items: start;
}
.featured-library,
.featured-preview-rail {
  border: 1px solid var(--featured-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 50px rgba(24, 31, 78, .07);
}
.featured-library { min-width: 0; padding: 20px; }
.featured-preview-rail { position: sticky; top: 92px; overflow: hidden; }

.featured-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}
.featured-search {
  flex: 1 1 280px;
  min-width: 180px;
  height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(27, 36, 88, .13);
  border-radius: 15px;
  outline: none;
  color: var(--featured-ink);
  background: #f8f9fd;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.featured-search:focus,
.featured-toolbar select:focus,
.featured-modal input:focus,
.featured-modal select:focus,
.featured-modal textarea:focus {
  border-color: rgba(242, 154, 34, .72);
  box-shadow: 0 0 0 4px rgba(242, 154, 34, .10);
  background: #fff;
}
.featured-toolbar select {
  height: 46px;
  min-width: 160px;
  padding: 0 13px;
  border: 1px solid rgba(27, 36, 88, .13);
  border-radius: 15px;
  outline: none;
  color: var(--featured-ink);
  background: #f8f9fd;
}
.featured-view-toggle {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: #f0f2f8;
}
.featured-view-toggle button {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  color: #757d99;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}
.featured-view-toggle button.active { color: var(--featured-ink); background: #fff; box-shadow: 0 6px 15px rgba(22, 28, 71, .10); }

.featured-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.featured-plan-admin-card {
  --company-color: #f29a22;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  min-height: 265px;
  padding: 17px;
  border: 1px solid rgba(25, 32, 80, .10);
  border-radius: 23px;
  background: linear-gradient(150deg, #fff 10%, #fafbff 72%, color-mix(in srgb, var(--company-color) 6%, white));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation: featuredCardIn .42s both;
}
.featured-plan-admin-card:hover,
.featured-plan-admin-card.is-selected { transform: translateY(-3px); border-color: color-mix(in srgb, var(--company-color) 42%, #dfe3ef); box-shadow: 0 18px 38px rgba(23, 31, 80, .11); }
.featured-plan-admin-card.is-dragging { opacity: .45; transform: scale(.98); }
.featured-plan-admin-card.is-drop-target { box-shadow: 0 0 0 4px rgba(242, 154, 34, .16); }
.featured-plan-admin-card::after {
  content: "";
  position: absolute;
  width: 140px;
  aspect-ratio: 1;
  border-radius: 50%;
  inset-inline-end: -70px;
  top: -80px;
  background: var(--company-color);
  opacity: .07;
  pointer-events: none;
}
@keyframes featuredCardIn { from { opacity: 0; transform: translateY(12px) scale(.985); } }

.featured-admin-card-head { position: relative; z-index: 1; display: flex; align-items: center; gap: 11px; }
.featured-company-logo {
  width: 60px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(25, 32, 80, .09);
  color: var(--featured-ink);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}
.featured-company-logo img { width: 88%; height: 78%; object-fit: contain; }
.featured-admin-card-title { min-width: 0; }
.featured-admin-card-title small,
.featured-admin-card-title strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-admin-card-title small { color: #888fa5; font-size: 10px; }
.featured-admin-card-title strong { margin-top: 3px; color: var(--featured-ink); font-size: 14px; }
.featured-card-state {
  margin-inline-start: auto;
  border-radius: 999px;
  padding: 6px 9px;
  color: #8b5305;
  background: #fff1d7;
  font-size: 9px;
  font-weight: 900;
}
.featured-card-state.is-live { color: #13744a; background: #e4f8ee; }
.featured-card-state.is-off { color: #73798d; background: #eef0f5; }

.featured-admin-price-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.featured-admin-price { color: var(--featured-ink); }
.featured-admin-price strong { font-size: 37px; line-height: 1; letter-spacing: -.05em; }
.featured-admin-price sup { font-size: 14px; }
.featured-admin-price small { display: block; margin-top: 4px; color: #8a91a7; font-size: 9px; }
.featured-network-mark {
  min-width: 48px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--company-color);
  box-shadow: 0 8px 16px color-mix(in srgb, var(--company-color) 24%, transparent);
  font-size: 12px;
  font-weight: 950;
}
.featured-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.featured-specs span { padding: 9px 7px; border-radius: 12px; text-align: center; color: #6f7690; background: rgba(238, 240, 247, .76); font-size: 9px; }
.featured-specs b { display: block; margin-top: 3px; color: var(--featured-ink); font-size: 11px; }

.featured-card-actions { display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(25, 32, 80, .08); }
.featured-card-actions button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(25, 32, 80, .10);
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #535b7c;
  background: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}
.featured-card-actions button:hover { color: var(--featured-ink); border-color: rgba(242, 154, 34, .38); }
.featured-card-actions button svg { width: 14px; height: 14px; }
.featured-card-actions .featured-toggle { margin-inline-start: auto; color: #9b620d; background: #fff7e9; }
.featured-card-actions .featured-toggle.is-active { color: #fff; border-color: transparent; background: linear-gradient(135deg, #f5a52f, #e88712); }
.featured-order-controls { display: inline-flex; gap: 4px; }
.featured-order-controls button { width: 34px; padding: 0; }

.featured-preview-head { padding: 19px 19px 14px; border-bottom: 1px solid var(--featured-line); }
.featured-preview-head span { color: var(--featured-accent); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.featured-preview-head h3 { margin: 5px 0 2px; color: var(--featured-ink); font-size: 17px; }
.featured-preview-head p { margin: 0; color: #858ca2; font-size: 10px; line-height: 1.6; }
.featured-preview-body { padding: 15px; }
.featured-customer-preview {
  --preview-color: #f29a22;
  position: relative;
  overflow: hidden;
  min-height: 330px;
  padding: 18px;
  border-radius: 24px;
  color: var(--featured-ink);
  background: linear-gradient(155deg, #fff, #f8f9fd 65%, color-mix(in srgb, var(--preview-color) 8%, white));
  border: 1px solid rgba(24, 32, 80, .10);
  box-shadow: 0 18px 42px rgba(24, 31, 78, .10);
}
.featured-customer-preview::before {
  content: "";
  position: absolute;
  width: 180px;
  aspect-ratio: 1;
  inset-inline-start: -95px;
  bottom: -110px;
  border-radius: 50%;
  background: var(--preview-color);
  opacity: .09;
}
.preview-company { position: relative; display: flex; align-items: center; gap: 10px; }
.preview-company .featured-company-logo { width: 55px; height: 43px; }
.preview-company small,
.preview-company strong { display: block; }
.preview-company small { color: #8a91a6; font-size: 9px; }
.preview-company strong { margin-top: 3px; font-size: 13px; }
.preview-star { margin-inline-start: auto; color: #9b5b00; background: #ffedcd; border-radius: 999px; padding: 6px 8px; font-size: 9px; font-weight: 900; }
.preview-price { position: relative; display: flex; align-items: end; justify-content: space-between; margin: 25px 0 18px; }
.preview-price strong { font-size: 49px; line-height: .9; letter-spacing: -.06em; }
.preview-price sup { font-size: 16px; }
.preview-price span { padding: 7px 9px; border-radius: 10px; color: #fff; background: var(--preview-color); font-size: 11px; font-weight: 900; }
.preview-details { position: relative; display: grid; gap: 8px; }
.preview-details div { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 0 11px; border-radius: 11px; background: rgba(238, 240, 247, .82); font-size: 10px; }
.preview-details b { font-size: 11px; }
.preview-select { position: relative; width: 100%; min-height: 42px; margin-top: 16px; border: 0; border-radius: 13px; color: #fff; background: var(--featured-ink); font-weight: 900; }
.featured-preview-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 15px 16px; }
.featured-preview-actions button { min-height: 39px; border-radius: 12px; border: 1px solid rgba(24, 32, 80, .11); color: #535b7c; background: #fff; cursor: pointer; font-size: 10px; font-weight: 900; }
.featured-preview-actions .accent { color: #fff; border-color: transparent; background: var(--featured-ink); }

.featured-empty {
  grid-column: 1 / -1;
  min-height: 280px;
  padding: 45px 20px;
  border: 1px dashed rgba(25, 32, 80, .18);
  border-radius: 22px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  background: #fafbfe;
}
.featured-empty span { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; color: #d87e0c; background: #fff1da; }
.featured-empty span svg { width: 24px; height: 24px; }
.featured-empty strong { margin-top: 12px; color: var(--featured-ink); }
.featured-empty p { max-width: 370px; margin: 5px 0 0; color: #858ca2; font-size: 11px; line-height: 1.7; }

.featured-modal-backdrop {
  position: fixed;
  z-index: 5000;
  inset: 0;
  padding: 18px;
  display: grid;
  place-items: center;
  background: rgba(10, 14, 45, .60);
  backdrop-filter: blur(14px);
  animation: featuredFade .2s both;
}
.featured-modal-backdrop[hidden] { display: none !important; }
@keyframes featuredFade { from { opacity: 0; } }
.featured-modal {
  width: min(850px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 34px 110px rgba(7, 11, 38, .35);
  animation: featuredModalIn .28s cubic-bezier(.2,.8,.2,1) both;
}
@keyframes featuredModalIn { from { opacity: 0; transform: translateY(18px) scale(.975); } }
.featured-modal-head {
  position: sticky;
  z-index: 3;
  top: 0;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 21px 23px;
  border-bottom: 1px solid var(--featured-line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
}
.featured-modal-head > span { width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #f5a72f, #df7d0a); }
.featured-modal-head > span svg { width: 21px; height: 21px; }
.featured-modal-head div { min-width: 0; }
.featured-modal-head small { color: #e58a18; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.featured-modal-head h3 { margin: 4px 0 2px; color: var(--featured-ink); font-size: 21px; }
.featured-modal-head p { margin: 0; color: #838aa1; font-size: 11px; line-height: 1.6; }
.featured-modal-close { width: 38px; height: 38px; margin-inline-start: auto; border: 1px solid var(--featured-line); border-radius: 12px; display: grid; place-items: center; color: #69708b; background: #fff; cursor: pointer; }
.featured-modal-close svg { width: 18px; height: 18px; }
.featured-modal-content { padding: 22px; }
.featured-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.featured-form-grid label { display: grid; gap: 7px; color: #5e6681; font-size: 11px; font-weight: 800; }
.featured-form-grid label.wide { grid-column: 1 / -1; }
.featured-form-grid input,
.featured-form-grid select,
.featured-form-grid textarea {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid rgba(25, 32, 80, .13);
  border-radius: 13px;
  outline: none;
  color: var(--featured-ink);
  background: #f8f9fd;
  font: inherit;
  font-weight: 600;
}
.featured-form-grid textarea { min-height: 84px; resize: vertical; }
.featured-form-grid .featured-check {
  min-height: 48px;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 9px 12px;
  border-radius: 13px;
  background: #f8f9fd;
}
.featured-form-grid .featured-check input { width: 18px; min-height: 18px; accent-color: #ed951e; }
.featured-form-note { margin: 14px 0 0; padding: 11px 13px; border-radius: 13px; color: #7d612e; background: #fff7e8; font-size: 10px; line-height: 1.7; }
.featured-modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 17px 22px 22px; }
.featured-modal-foot button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(25, 32, 80, .11); border-radius: 13px; color: #5f6680; background: #fff; cursor: pointer; font-weight: 900; }
.featured-modal-foot .featured-save { min-width: 160px; color: #fff; border-color: transparent; background: linear-gradient(135deg, #1b2255, #303b82); box-shadow: 0 11px 25px rgba(27, 34, 85, .18); }
.featured-modal-foot button:disabled { opacity: .58; cursor: wait; }

.featured-publish-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.catalog-publish-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.catalog-publish-hub-card {
  --hub-accent: #5362d0;
  position: relative;
  overflow: hidden;
  min-height: 315px;
  padding: 21px;
  border: 1px solid rgba(25, 32, 80, .10);
  border-radius: 23px;
  background: linear-gradient(150deg, #fff, #f8f9fd 74%, color-mix(in srgb, var(--hub-accent) 8%, white));
}
.catalog-publish-hub-card.featured { --hub-accent: #ed951e; }
.catalog-publish-hub-card::after { content: ""; position: absolute; width: 170px; aspect-ratio: 1; inset-inline-end: -85px; top: -95px; border-radius: 50%; background: var(--hub-accent); opacity: .08; }
.catalog-publish-hub-card > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 17px; color: #fff; background: var(--hub-accent); box-shadow: 0 12px 25px color-mix(in srgb, var(--hub-accent) 22%, transparent); }
.catalog-publish-hub-card > span svg { width: 23px; height: 23px; }
.catalog-publish-hub-card > small { display: block; margin-top: 17px; color: var(--hub-accent); font-size: 9px; font-weight: 950; letter-spacing: .13em; }
.catalog-publish-hub-card h4 { margin: 5px 0; color: var(--featured-ink); font-size: 18px; }
.catalog-publish-hub-card p { min-height: 50px; margin: 0; color: #7e869d; font-size: 10px; line-height: 1.75; }
.catalog-publish-hub-card > div { display: flex; align-items: baseline; gap: 7px; margin: 17px 0 12px; }
.catalog-publish-hub-card > div b { color: var(--featured-ink); font-size: 27px; }
.catalog-publish-hub-card > div em { color: #8d94a9; font-size: 9px; font-style: normal; }
.catalog-publish-hub-card > button { width: 100%; min-height: 44px; border: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff; background: var(--hub-accent); cursor: pointer; font-weight: 900; }
.catalog-publish-hub-card > button svg { width: 17px; height: 17px; }
.featured-publish-section { padding: 16px; border: 1px solid var(--featured-line); border-radius: 19px; background: #fafbfe; }
.featured-publish-section h4 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; color: var(--featured-ink); font-size: 14px; }
.featured-publish-section h4 svg { width: 17px; height: 17px; color: #e58a18; }
.featured-publish-section > p { margin: 0 0 12px; color: #858ca2; font-size: 10px; line-height: 1.6; }
.featured-publish-list { display: grid; gap: 7px; max-height: 285px; overflow: auto; padding-inline-end: 3px; }
.featured-choice { min-height: 51px; display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid rgba(25, 32, 80, .09); border-radius: 13px; background: #fff; cursor: pointer; }
.featured-choice input { width: 17px; height: 17px; accent-color: #ed951e; }
.featured-choice span { min-width: 0; }
.featured-choice strong,
.featured-choice small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.featured-choice strong { color: var(--featured-ink); font-size: 11px; }
.featured-choice small { margin-top: 2px; color: #8a91a6; font-size: 9px; }
.featured-scope-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 11px; }
.featured-scope-card { min-height: 72px; display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: center; padding: 11px; border: 1px solid rgba(25, 32, 80, .10); border-radius: 14px; background: #fff; cursor: pointer; }
.featured-scope-card:has(input:checked) { border-color: rgba(237, 149, 30, .55); box-shadow: 0 0 0 3px rgba(237, 149, 30, .09); }
.featured-scope-card input { accent-color: #ed951e; }
.featured-scope-card strong,
.featured-scope-card small { display: block; }
.featured-scope-card strong { color: var(--featured-ink); font-size: 11px; }
.featured-scope-card small { margin-top: 3px; color: #8a91a6; font-size: 9px; line-height: 1.5; }
.featured-store-list[hidden] { display: none; }
.featured-publish-summary { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 15px; }
.featured-publish-summary div { padding: 12px; border-radius: 14px; text-align: center; color: #737b96; background: #f2f4f9; font-size: 9px; }
.featured-publish-summary b { display: block; margin-top: 3px; color: var(--featured-ink); font-size: 15px; }

.featured-toast-stack { position: fixed; z-index: 7000; inset-inline-end: 20px; bottom: 20px; width: min(370px, calc(100vw - 28px)); display: grid; gap: 8px; pointer-events: none; }
.featured-toast { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 12px; border: 1px solid rgba(25, 32, 80, .11); border-radius: 16px; color: var(--featured-ink); background: rgba(255, 255, 255, .98); box-shadow: 0 18px 45px rgba(15, 20, 59, .19); animation: featuredToastIn .25s both; }
.featured-toast > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: #168456; background: #e7f8f0; }
.featured-toast.is-error > span { color: #bb3443; background: #ffe9ec; }
.featured-toast strong,
.featured-toast small { display: block; }
.featured-toast strong { font-size: 12px; }
.featured-toast small { margin-top: 2px; color: #7f879e; font-size: 10px; line-height: 1.45; }
@keyframes featuredToastIn { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 1180px) {
  .featured-workspace { grid-template-columns: minmax(0, 1fr) 295px; }
  .featured-plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .featured-studio-hero { grid-template-columns: 1fr; }
  .featured-studio-actions { grid-template-columns: 1fr 1fr; }
  .featured-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-workspace { grid-template-columns: 1fr; }
  .featured-preview-rail { position: static; }
  .featured-preview-body { max-width: 430px; margin: auto; }
}

@media (max-width: 680px) {
  .featured-studio-hero { min-height: 0; padding: 23px 18px; border-radius: 24px; }
  .featured-studio-actions { grid-template-columns: 1fr; }
  .featured-metrics { gap: 9px; }
  .featured-metric { min-height: 96px; padding: 14px; border-radius: 18px; }
  .featured-library { padding: 13px; border-radius: 22px; }
  .featured-toolbar { display: grid; grid-template-columns: 1fr 1fr; }
  .featured-search { grid-column: 1 / -1; min-width: 0; }
  .featured-toolbar select { min-width: 0; width: 100%; }
  .featured-view-toggle { grid-column: 1 / -1; }
  .featured-view-toggle button { flex: 1; }
  .featured-plan-admin-card { min-height: 255px; padding: 14px; border-radius: 20px; }
  .featured-card-actions { flex-wrap: wrap; }
  .featured-card-actions .featured-toggle { margin-inline-start: 0; flex: 1; }
  .featured-modal-backdrop { padding: 0; align-items: end; }
  .featured-modal { max-height: 92dvh; border-radius: 25px 25px 0 0; }
  .featured-modal-head { padding: 18px 15px; }
  .featured-modal-content { padding: 15px; }
  .featured-form-grid,
  .featured-publish-layout,
  .catalog-publish-hub { grid-template-columns: 1fr; }
  .featured-form-grid label.wide,
  .featured-publish-summary { grid-column: auto; }
  .featured-publish-summary { grid-template-columns: repeat(3, 1fr); }
  .featured-modal-foot { position: sticky; bottom: 0; padding: 12px 15px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
  .featured-modal-foot button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .featured-plan-admin-card,
  .featured-modal,
  .featured-modal-backdrop,
  .featured-toast { animation: none !important; transition: none !important; }
}
