/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --pink: #ec5f92;
  --pink-strong: #e2477f;
  --pink-soft: #fde8f1;
  --pink-line: #f6b7ce;
  --green: #4caf50;
  --green-dark: #3e9142;
  --ink: #2b2b2b;
  --ink-soft: #5c5c5c;
  --muted: #8a8a8a;
  --line: #e9e9e9;
  --line-strong: #dcdcdc;
  --bg: #f1f1f1;
  --panel: #ffffff;
  --gold: #c9a227;
  --font-ui: "Outfit", "Jost", "Inter", system-ui, -apple-system, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: #f9c9dc;
}

/* ============ Landing ============ */
.landing {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, #fdf0f5 0, transparent 34%),
    radial-gradient(circle at 85% 16%, #f3f6ee 0, transparent 32%),
    #fbfaf7;
}

.l-nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.l-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 27px;
  letter-spacing: 0.4px;
  font-weight: 600;
}

.l-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pink-soft);
  display: grid;
  place-items: center;
  color: var(--pink-strong);
}

.l-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  color: #565656;
}

.l-nav-cta {
  border: 1px solid #dcd4cd;
  border-radius: 999px;
  padding: 9px 18px;
  background: #fff;
  font-size: 13px;
}

.l-hero {
  max-width: 1180px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  grid-gap: 56px;
  gap: 56px;
  padding: 28px 28px 70px;
  align-items: center;
}

.l-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: #8e7b69;
  background: #fff;
  border: 1px solid #eee4d8;
  padding: 8px 14px;
  border-radius: 999px;
}

.l-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1.02;
  margin: 22px 0 20px;
  color: #2d2923;
  letter-spacing: -0.02em;
}

.l-title em {
  font-family: "Alex Brush", cursive;
  font-style: normal;
  color: var(--pink-strong);
  font-size: 1.12em;
}

.l-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #6b665f;
  max-width: 470px;
}

.l-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.l-cta {
  background: #23211e;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 15px 28px;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 26px rgba(35, 33, 30, 0.16);
}

.l-cta:hover {
  background: #000;
}

.l-cta-ghost {
  background: transparent;
  border: 1px solid #d9d1c7;
  color: #4b463f;
  box-shadow: none;
}

.l-note {
  margin-top: 16px;
  font-size: 12px;
  color: #9b948c;
  display: flex;
  align-items: center;
  gap: 7px;
}

.l-preview-shell {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.l-preview-glow {
  position: absolute;
  inset: 12% 10%;
  background: radial-gradient(circle, #f6d9e4 0, transparent 66%);
  filter: blur(28px);
  z-index: 0;
}

.l-preview-card {
  position: relative;
  z-index: 1;
  width: 356px;
  height: 620px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(78, 64, 51, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.l-preview-badge {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #6a6257;
  white-space: nowrap;
}

.l-features {
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

.l-feature {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #ece6dd;
  border-radius: 18px;
  padding: 24px;
}

.l-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f8eee8;
  color: #9b7257;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.l-feature h3 {
  margin: 0 0 8px;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
}

.l-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #78716a;
}

.l-footer {
  border-top: 1px solid #ece8e1;
  padding: 26px 28px;
  text-align: center;
  color: #98918a;
  font-size: 12px;
}

/* ============ Wizard ============ */
.wizard {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 0, #fdf1f6 0, transparent 42%),
    #f8f6f2;
  padding: 28px 20px 70px;
}

.wizard-top {
  max-width: 1060px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wizard-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  font-size: 13px;
  color: #6b665f;
}

.wizard-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #eee7dd;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(66, 54, 42, 0.1);
  padding: 42px 48px 36px;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.step-dot {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: #eee6dc;
  transition: all 0.2s;
}

.step-dot.on {
  background: var(--pink);
  width: 54px;
}

.wizard-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  text-align: center;
  margin: 0 0 8px;
}

.wizard-sub {
  text-align: center;
  color: #8a837b;
  margin: 0 0 30px;
  font-size: 14px;
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
  gap: 12px;
}

.type-card {
  border: 1px solid #e9e1d6;
  background: #fff;
  border-radius: 14px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: all 0.16s;
}

.type-card:hover {
  border-color: #e3c8b2;
  transform: translateY(-2px);
}

.type-card.active {
  border-color: var(--pink);
  background: #fff8fb;
  box-shadow: 0 0 0 3px #fde8f1;
}

.type-emoji {
  font-size: 26px;
}

.wizard-fields {
  max-width: 480px;
  margin: 0 auto;
  display: grid;
  grid-gap: 18px;
  gap: 18px;
}

.wizard-fields.two {
  max-width: 620px;
  grid-template-columns: 1fr 1fr;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #918a82;
  margin-bottom: 7px;
}

.field input,
.field select {
  width: 100%;
  height: 48px;
  border: 1px solid #e4ddd4;
  border-radius: 12px;
  background: #fff;
  padding: 0 14px;
  font-size: 15px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px #fde8f1;
}

.wizard-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.btn-primary {
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 13px 26px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 8px 18px rgba(236, 95, 146, 0.24);
}

.btn-primary:hover {
  background: var(--pink-strong);
}

.btn-secondary {
  border: 1px solid #ddd5cb;
  background: #fff;
  color: #5d564e;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ghost {
  border: 0;
  background: transparent;
  color: #6e675f;
  padding: 8px 10px;
  font-size: 13px;
}

/* ============ Template gallery ============ */
.gallery {
  min-height: 100vh;
  background: #f7f4ef;
  padding: 26px 20px 80px;
}

.gallery-head {
  max-width: 1120px;
  margin: 0 auto 26px;
  text-align: center;
}

.gallery-head h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 42px;
  margin: 12px 0 8px;
}

.gallery-head p {
  color: #847c73;
  font-size: 14px;
  margin: 0;
}

.gallery-grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 18px;
  gap: 18px;
}

.gt-card {
  background: #fff;
  border: 1px solid #eae1d6;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  transition: all 0.18s;
  position: relative;
}

.gt-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(70, 58, 46, 0.14);
  border-color: #d8c5b1;
}

.gt-thumb {
  height: 238px;
  overflow: hidden;
  background: #eee9e1;
  position: relative;
}

.gt-info {
  padding: 12px 13px 14px;
}

.gt-name {
  font-size: 13px;
  font-weight: 500;
  color: #2f2b26;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gt-cat {
  margin-top: 4px;
  font-size: 10px;
  color: #9a9187;
  letter-spacing: 0.4px;
}

.gt-crown {
  position: absolute;
  top: 9px;
  right: 9px;
  background: #fff;
  border-radius: 999px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #b08d20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.gt-preview {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #eee;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 10px;
  letter-spacing: 0.8px;
  opacity: 0;
  transition: 0.16s;
  z-index: 2;
  white-space: nowrap;
}

.gt-card:hover .gt-preview {
  opacity: 1;
}

/* ============ Editor base ============ */
.ed-root {
  height: 100vh;
  display: grid;
  grid-template-rows: 64px 1fr 56px;
  background: var(--bg);
  overflow: hidden;
}

.ed-top {
  min-height: 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  z-index: 40;
  position: relative;
}

.ed-icon-btn {
  border: 0;
  background: transparent;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4a4a4a;
}

.ed-icon-btn:hover {
  background: #f5f5f5;
}

.ed-icon-btn:disabled {
  opacity: 0.32;
  cursor: default;
}

.ed-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px 0 4px;
  min-width: 118px;
}

.ed-brand-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 23px;
  letter-spacing: 0.2px;
  color: #2f2b27;
  line-height: 1;
}

.ed-brand-dot {
  color: var(--pink);
  font-size: 25px;
}

.ed-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1;
  justify-content: center;
  min-width: 0;
}

.ed-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e7e7e7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #3f3f3f;
  background: #fff;
  white-space: nowrap;
  max-width: 260px;
}

.ed-pill:hover {
  border-color: #d8d8d8;
  background: #fcfcfc;
}

.ed-pill svg {
  opacity: 0.45;
  flex-shrink: 0;
}

.ed-pill-sep {
  font-size: 12px;
  color: #777;
}

.ed-pill input {
  border: 0;
  outline: none;
  background: #fff;
  font-size: 12px;
  min-width: 70px;
  width: 100%;
}

.ed-pill input[type="date"] {
  min-width: 118px;
}

.ed-top-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ed-btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dedede;
  background: #fff;
  border-radius: 8px;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
  color: #2f2f2f;
}

.ed-btn-preview:hover {
  background: #f8f8f8;
}

.ed-btn-continue {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  height: 34px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 500;
}

.ed-btn-continue:hover {
  background: var(--green-dark);
}

.save-state {
  font-size: 10px;
  color: #9a9a9a;
  white-space: nowrap;
  padding: 0 6px;
}

.ed-body {
  display: flex;
  min-height: 0;
  position: relative;
}

.ed-rail {
  width: 64px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 30;
  overflow-y: auto;
  scrollbar-width: none;
}

.ed-rail::-webkit-scrollbar {
  display: none;
}

.rail-btn {
  border: 0;
  background: transparent;
  width: 100%;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #6f6f6f;
  position: relative;
  padding: 7px 2px;
}

.rail-btn:hover {
  background: #fafafa;
}

.rail-btn.active {
  background: var(--pink-soft);
  color: var(--pink-strong);
}

.rail-btn.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--pink);
  border-radius: 0 3px 3px 0;
}

.rail-ico {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}

.rail-txt {
  font-size: 9.5px;
  letter-spacing: 0.1px;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

.rail-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 9px;
  display: grid;
  place-items: center;
  padding: 0 3px;
}

/* ============ Panels ============ */
.ed-panel {
  width: 309px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  z-index: 25;
  animation: panelIn 0.16s ease both;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateX(-8px); }
  to { opacity: 1; transform: none; }
}

.panel-head {
  padding: 17px 16px 10px 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}

.panel-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
  line-height: 20.4px;
}

.panel-sub {
  font-size: 12px;
  color: #6b6b6b;
  margin: 4px 0 0;
  line-height: 1.35;
}

.panel-close {
  border: 0;
  background: transparent;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #939393;
  flex-shrink: 0;
}

.panel-close:hover {
  background: #f4f4f4;
}

.panel-scroll {
  flex: 1 1;
  overflow-y: auto;
  padding: 4px 17px 26px 25px;
  scrollbar-width: thin;
  scrollbar-color: #d9d9d9 transparent;
}

.panel-scroll::-webkit-scrollbar {
  width: 6px;
}

.panel-scroll::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 99px;
}

.panel-section-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: #212529;
  text-transform: none;
  margin: 17px 0 8px;
}

.panel-hint {
  font-size: 11.5px;
  color: #8f8f8f;
  margin: 0 0 10px;
  line-height: 1.4;
}

.notice {
  background: #fde8f1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 10.5px;
  line-height: 1.45;
  color: #525252;
  margin: 8px 0 12px;
}

.search-box {
  position: relative;
  margin: 4px 0 10px;
}

.search-box svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9b9b9b;
}

.search-box input {
  width: 100%;
  height: 38px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 0 12px 0 33px;
  font-size: 11.5px;
  outline: none;
  background: #fff;
}

.search-box input:focus {
  border-color: var(--pink-line);
  box-shadow: 0 0 0 2px #fde8f1;
}

/* Templates panel */
.tmpl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 9px;
  gap: 9px;
  padding-top: 4px;
}

.tmpl-card {
  border: 1px solid #e6e6e6;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  position: relative;
  transition: 0.14s;
}

.tmpl-card:hover {
  border-color: #cfcfcf;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.tmpl-thumb {
  height: 108px;
  overflow: hidden;
  background: #f1eee8;
  position: relative;
}

.tmpl-meta {
  padding: 7px 8px 8px;
}

.tmpl-name {
  font-size: 10.5px;
  font-weight: 600;
  color: #2e2e2e;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tmpl-cat {
  display: inline-block;
  margin-top: 3px;
  font-size: 8.5px;
  color: #9b9b9b;
  background: #f7f7f7;
  border-radius: 3px;
  padding: 1px 5px;
}

.tmpl-crown {
  position: absolute;
  top: 4px;
  right: 4px;
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: #b08d20;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

/* Elements panel */
.elem-category {
  margin-bottom: 2px;
}

.elem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 6.8px;
  gap: 6.8px;
  align-items: start;
  max-width: 252px;
  margin-left: 0;
}

.elem-card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  padding: 0;
  position: relative;
  transition: 0.14s;
  min-width: 0;
}

.elem-card:hover:not(.disabled) {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.elem-card.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.elem-preview {
  height: 134px;
  background: #fafafa;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  position: relative;
}

.elem-preview-svg,
.elem-preview-svg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.elem-caption {
  padding: 7px 10px 10px;
}

.elem-label {
  padding: 0 24px 0 0;
  height: auto;
  font-family: var(--font-ui);
  font-size: 13.5px;
  line-height: 1.25;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.87);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  min-width: 0;
}

.elem-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(24, 24, 27, 0.75);
  color: #fff;
  border-radius: 4px;
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
  padding: 2px 6px;
  z-index: 2;
}

.elem-badge.left {
  right: auto;
  left: 8px;
}

.elem-badge.premium {
  background: #fff;
  color: #9d7b13;
  border: 1px solid #e8d8a2;
  display: flex;
  align-items: center;
  gap: 2px;
}

.elem-note-row {
  height: auto;
  margin-top: 2px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 13.75px;
  color: #83621e;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.elem-help {
  position: absolute;
  right: 4px;
  bottom: 8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: transparent;
  border: 0;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.55);
  opacity: 1;
  z-index: 3;
  cursor: help;
}

.elem-help:hover {
  color: rgba(0, 0, 0, 0.78);
}

.elem-rows {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 8px;
}

.elem-row {
  width: 100%;
  max-width: 252px;
  display: flex;
  align-items: center;
  text-align: left;
  background: #f7f7f8;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  padding: 0 14px;
  color: #18181b;
  transition: 0.14s;
}

.elem-row:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.elem-row-title {
  height: 64px;
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.elem-row-subtitle {
  height: 56px;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}

.elem-row-body {
  height: 48px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.15;
}

/* Figures panel */
.fig-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 7px;
  gap: 7px;
}

.fig-cat {
  border: 1px solid #ececec;
  border-radius: 7px;
  background: #fff;
  padding: 7px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 74px;
  transition: 0.14s;
}

.fig-cat:hover,
.fig-cat.active {
  border-color: var(--pink-line);
  background: #fffafc;
}

.fig-cat-thumb {
  width: 40px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #9c8266;
}

.fig-cat-name {
  font-size: 8.5px;
  color: #666;
  text-align: center;
  line-height: 1.2;
}

.fig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 6px;
  gap: 6px;
  margin-top: 8px;
}

.fig-tile {
  border: 1px solid #ececec;
  background: #fcfcfc;
  border-radius: 7px;
  height: 86px;
  display: grid;
  place-items: center;
  padding: 7px;
  position: relative;
  transition: 0.14s;
}

.fig-tile:hover {
  border-color: var(--pink-line);
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.fig-tile svg {
  max-width: 100%;
  max-height: 100%;
}

.fig-premium {
  position: absolute;
  top: 4px;
  right: 4px;
  color: #b08d20;
}

.view-more {
  width: 100%;
  border: 0;
  background: transparent;
  color: #7a7a7a;
  font-size: 10px;
  padding: 12px 0 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Images panel */
.upload-tile {
  width: 100%;
  height: 108px;
  border: 1px dashed #d9d9d9;
  background: #fbfbfb;
  border-radius: 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8f8f8f;
  font-size: 10px;
}

.upload-tile:hover {
  border-color: var(--pink-line);
  background: #fffafc;
  color: var(--pink-strong);
}

.stock-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 7px;
  gap: 7px;
  margin-top: 8px;
}

.stock-tile {
  height: 86px;
  border: 0;
  border-radius: 7px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: left;
}

.stock-tile:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.stock-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 6px 5px;
  color: #fff;
  font-size: 8.5px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.45));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Animation panel */
.anim-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0 8px;
}

.anim-switch-title {
  font-size: 11.5px;
  font-weight: 500;
}

.anim-switch-desc {
  font-size: 10px;
  color: #9a9a9a;
  margin-top: 2px;
}

.switch {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  border: 0;
  background: #d8d8d8;
  position: relative;
  flex-shrink: 0;
  transition: 0.18s;
}

.switch::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  top: 2px;
  left: 2px;
  transition: 0.18s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.switch.on {
  background: var(--pink);
}

.switch.on::after {
  transform: translateX(18px);
}

.anim-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 6px;
  gap: 6px;
}

.anim-type {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 7px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #666;
}

.anim-type.active {
  border-color: var(--pink);
  background: #fff8fb;
  color: var(--pink-strong);
}

.anim-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 6px;
  gap: 6px;
}

.anim-bg {
  height: 58px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background: #fafafa;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.anim-bg.active {
  border: 2px solid var(--pink);
}

.anim-bg span {
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 7.5px;
  color: #6f6f6f;
}

.color-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 7px 0;
}

.color-row input[type="color"] {
  width: 38px;
  height: 32px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  padding: 2px;
  cursor: pointer;
}

.color-row input[type="text"] {
  flex: 1 1;
  height: 32px;
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 0 8px;
  font-size: 10.5px;
  font-family: monospace;
  outline: none;
}

.small-note {
  font-size: 9.5px;
  line-height: 1.45;
  color: #9b9b9b;
  margin: 7px 0 10px;
}

/* Sections panel */
.sec-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sec-card {
  border: 1px solid #e7e7e7;
  border-radius: 8px;
  background: #fff;
  padding: 8px 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.14s;
}

.sec-card.selected {
  border-color: #d8b979;
  box-shadow: 0 0 0 1px #efe2c2;
  background: #fffdf8;
}

.sec-grip {
  border: 0;
  background: transparent;
  color: #9a9a9a;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: -webkit-grab;
  cursor: grab;
  flex-shrink: 0;
}

.sec-index {
  font-size: 10px;
  color: #777;
  width: 12px;
  text-align: center;
  flex-shrink: 0;
}

.sec-name {
  flex: 1 1;
  min-width: 0;
  height: 28px;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  padding: 0 7px;
  font-size: 10.5px;
  outline: none;
  background: #fff;
}

.sec-name:focus {
  border-color: var(--pink-line);
}

.sec-actions {
  display: flex;
  align-items: center;
  gap: 1px;
  flex-shrink: 0;
}

.sec-mini {
  border: 0;
  background: transparent;
  width: 21px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #8d8d8d;
  border-radius: 4px;
}

.sec-mini:hover {
  background: #f4f4f4;
  color: #555;
}

.sec-mini.danger:hover {
  background: #fdecec;
  color: #c23b3b;
}

.add-section {
  margin-top: 9px;
  width: 100%;
  min-height: 46px;
  border: 1px dashed var(--pink-line);
  border-radius: 8px;
  background: #fff8fb;
  color: var(--pink-strong);
  font-size: 10.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.add-section:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.add-section:not(:disabled):hover {
  background: #fdeef5;
}

/* Layers panel */
.layers-hint {
  font-size: 10px;
  color: #9a9a9a;
  margin: 6px 0 10px;
  line-height: 1.4;
}

.layer-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.layer-row {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 7px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
}

.layer-row.selected {
  border-color: var(--pink);
  background: #fff7fa;
  box-shadow: 0 0 0 1px #f8cbdd;
}

.layer-row:hover {
  border-color: #d7d7d7;
}

.layer-grip {
  color: #a0a0a0;
  flex-shrink: 0;
  cursor: -webkit-grab;
  cursor: grab;
}

.layer-info {
  min-width: 0;
  flex: 1 1;
}

.layer-name {
  font-size: 10.5px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}

.layer-type {
  font-size: 8.5px;
  color: #9b9b9b;
  margin-top: 2px;
}

/* ============ Canvas ============ */
.ed-canvas-area {
  flex: 1 1;
  min-width: 0;
  position: relative;
  background: #f0f0f0;
  overflow: auto;
  overflow-anchor: none;
}

.ed-canvas-scroll {
  min-height: 100%;
  padding: 44px 40px 90px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.doc-page {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 26px rgba(0, 0, 0, 0.16);
  transform-origin: top center;
  flex-shrink: 0;
}

.section-shell {
  position: relative;
  width: 400px;
  overflow: clip;
  cursor: default;
}

.section-shell.selected {
  outline: 2px solid #e0b94d;
  outline-offset: -2px;
}

.section-shell.selected-empty {
  outline: 2px dashed #e0b94d;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.prim {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.prim.selected {
  outline: 1.5px solid var(--pink);
  outline-offset: 0;
}

.group-chrome {
  position: absolute;
  inset: 0;
  pointer-events: none;
  outline: 1px dashed rgba(236, 95, 146, 0.8);
  outline-offset: 0;
  border-radius: 2px;
  z-index: 55;
}

.group-child {
  pointer-events: auto;
}

.group-child.selected {
  outline: 1.5px solid var(--pink);
  outline-offset: 0;
}

.group-child-handle {
  width: 8px;
  height: 8px;
}

.prim.locked {
  cursor: not-allowed;
}

.prim-text {
  white-space: pre-wrap;
  word-break: break-word;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.prim-text-inner {
  width: 100%;
}

.prim-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.prim-image img,
.prim-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prim-figure {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.prim-figure svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.selection-handle {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--pink);
  z-index: 60;
}

.selection-handle.nw { left: -5px; top: -5px; cursor: nwse-resize; }
.selection-handle.ne { right: -5px; top: -5px; cursor: nesw-resize; }
.selection-handle.sw { left: -5px; bottom: -5px; cursor: nesw-resize; }
.selection-handle.se { right: -5px; bottom: -5px; cursor: nwse-resize; }

.selection-tag {
  position: absolute;
  top: -20px;
  left: 0;
  background: var(--pink);
  color: #fff;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  z-index: 60;
  pointer-events: none;
}

.text-editor-overlay {
  position: absolute;
  z-index: 80;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.text-editor-overlay textarea {
  width: 100%;
  height: 100%;
  border: 0;
  outline: none;
  resize: none;
  background: transparent;
  text-align: inherit;
}

.section-drop-hint {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(224, 185, 77, 0.55);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: rgba(120, 100, 50, 0.65);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  pointer-events: none;
}

/* ============ Bottom bar ============ */
.ed-bottom {
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 14px;
  z-index: 30;
}

.zoom-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 4px 8px;
  height: 36px;
}

.zoom-label {
  font-size: 10px;
  color: #777;
  margin-right: 2px;
}

.zoom-range {
  width: 130px;
  accent-color: var(--pink);
}

.zoom-input {
  width: 38px;
  height: 24px;
  border: 0;
  background: transparent;
  font-size: 10px;
  text-align: right;
  outline: none;
}

.zoom-pct {
  font-size: 10px;
  color: #777;
}

.zoom-fit {
  border: 0;
  background: transparent;
  color: #7a7a7a;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}

.section-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  height: 36px;
  padding: 0 8px;
  font-size: 10.5px;
  color: #555;
}

.section-nav button {
  border: 0;
  background: transparent;
  width: 22px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #777;
  border-radius: 4px;
}

.section-nav button:hover {
  background: #f4f4f4;
}

.section-nav .nav-count {
  min-width: 48px;
  text-align: center;
  color: #333;
}

/* ============ Toolbar ============ */
.ed-toolbar {
  position: absolute;
  z-index: 100;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  color: #fff;
  border-radius: 999px;
  height: auto;
  min-height: 38px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 2px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  max-width: calc(100vw - 460px);
}

.tb-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  height: 30px;
  min-width: 30px;
  padding: 5px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.tb-btn svg {
  width: 20px;
  height: 20px;
}

.tb-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.tb-btn.active {
  background: transparent;
  color: #90caf9;
}

.tb-btn.tb-pill {
  width: auto;
  min-width: 0;
  height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.tb-btn.tb-pill:hover {
  background: rgba(255, 255, 255, 0.2);
}

.tb-btn.tb-pill svg {
  width: 14px;
  height: 14px;
}

.tb-btn.tb-sizebtn {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 5px;
  border-radius: 6px;
}

.tb-btn.tb-sizebtn svg {
  width: 16px;
  height: 16px;
}

.tb-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0 2px;
  flex-shrink: 0;
}

.tb-font {
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
  text-transform: none;
  letter-spacing: 0;
  padding: 0 10px;
  min-width: 88px;
  max-width: none;
  height: 32px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  gap: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tb-font:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tb-sizeinput {
  width: 36px;
  height: 31px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 600;
  outline: none;
}

.tb-swatch {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  background: transparent;
}

.tb-swatch .tb-color {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  border: 0;
}

.tb-link-btn {
  min-width: 65px;
}

.tb-color {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0;
  cursor: pointer;
}

.tb-label {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  padding: 0 6px;
}

.tb-more {
  width: 30px;
}

/* Barra del elemento Calendario (grupo) */
.tb-btn.tb-cal-edit {
  height: 29px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
}
.tb-btn.tb-cal-edit:hover {
  background: rgba(255, 142, 195, 0.2);
}
.tb-btn.tb-cal-edit svg {
  width: 18px;
  height: 18px;
}
.tb-btn.tb-cal-animate {
  height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.tb-btn.tb-cal-animate:hover {
  background: rgba(255, 255, 255, 0.28);
}

.tb-spacer {
  width: 2px;
}

/* Floating popovers */
.floating-popover {
  position: absolute;
  z-index: 120;
  top: 70px;
  right: 22px;
  width: 250px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  padding: 13px;
}

.fp-title {
  font-size: 11px;
  font-weight: 600;
  margin: 0 0 10px;
}

.fp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.fp-row label {
  font-size: 10px;
  color: #666;
  min-width: 66px;
}

.fp-row input[type="range"] {
  flex: 1 1;
  accent-color: var(--pink);
}

.fp-row input[type="number"] {
  width: 52px;
  height: 28px;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 0 6px;
  font-size: 10px;
}

.fp-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 5px;
  gap: 5px;
  margin-top: 8px;
}

.fp-presets button {
  height: 26px;
  border: 1px solid #e4e4e4;
  background: #fff;
  border-radius: 5px;
  font-size: 9px;
  color: #666;
}

.fp-presets button:hover {
  border-color: var(--pink-line);
  color: var(--pink-strong);
}

.fp-slider-val {
  font-size: 9px;
  color: #888;
  min-width: 34px;
  text-align: right;
}

/* More menu */
.more-menu {
  position: absolute;
  z-index: 130;
  top: 70px;
  right: 22px;
  width: 218px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
  padding: 5px;
}

.more-item {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 5px;
  font-size: 10.5px;
  color: #333;
  text-align: left;
}

.more-item:hover:not(:disabled) {
  background: #f5f5f5;
}

.more-item:disabled {
  opacity: 0.38;
  cursor: default;
}

.more-item.danger {
  color: #c23b3b;
}

.more-sep {
  height: 1px;
  background: #eee;
  margin: 4px 0;
}

.more-footer {
  padding: 7px 9px;
  border-top: 1px solid #eee;
  margin-top: 4px;
  font-size: 9px;
  color: #999;
}

.more-link-form {
  padding: 8px 9px 6px;
  border-bottom: 1px solid #eee;
  margin-bottom: 4px;
}

.more-link-form label {
  display: block;
  font-size: 9px;
  color: #888;
  margin-bottom: 4px;
}

.more-link-form input {
  width: 100%;
  height: 30px;
  border: 1px solid #e2e2e2;
  border-radius: 5px;
  padding: 0 8px;
  font-size: 10px;
  outline: none;
}

/* Color and typography panels */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 7px 0 10px;
}

.chip {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 9px;
  color: #666;
}

.chip.active {
  background: #2f2f2f;
  border-color: #2f2f2f;
  color: #fff;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 5px;
  gap: 5px;
  margin-bottom: 12px;
}

.swatch {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  position: relative;
}

.swatch.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--pink);
}

.swatch.gradient {
  border-radius: 5px;
}

.color-block-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
  margin: 13px 0 7px;
}

.color-block-title button {
  border: 0;
  background: transparent;
  font-size: 9px;
  color: var(--pink-strong);
}

.font-row {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #f1f1f1;
  background: #fff;
  text-align: left;
  padding: 9px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.font-row:hover {
  background: #fafafa;
}

.font-row-name {
  font-size: 11px;
  color: #333;
}

.font-row-sample {
  font-size: 15px;
  color: #999;
  white-space: nowrap;
}

.font-row.active {
  background: #fff7fa;
}

.font-row.active .font-row-name {
  color: var(--pink-strong);
  font-weight: 600;
}

.style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 7px;
  gap: 7px;
}

.style-card {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 7px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #555;
}

.style-card .sample {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #333;
}

.style-card.active {
  border-color: var(--pink);
  background: #fff8fb;
  color: var(--pink-strong);
}

.anim-style-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 6px;
  gap: 6px;
}

.anim-style {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 7px;
  padding: 9px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  color: #555;
}

.anim-style.active {
  border-color: var(--pink);
  background: #fff8fb;
  color: var(--pink-strong);
}

.anim-preview-dot {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #f5e8ee;
  display: grid;
  place-items: center;
  color: var(--pink-strong);
  flex-shrink: 0;
}

.segmented {
  display: flex;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
  margin: 7px 0 10px;
}

.segmented button {
  flex: 1 1;
  border: 0;
  background: #fff;
  height: 35px;
  font-size: 12px;
  font-family: var(--font-ui);
  color: rgba(0, 0, 0, 0.6);
}

.segmented button.active {
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
}

.photo-shape-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 7px;
  gap: 7px;
}

.photo-shape {
  height: 76px;
  border: 1px solid #e7e7e7;
  background: #fafafa;
  border-radius: 6px;
  display: grid;
  place-items: center;
  padding: 7px;
}

.photo-shape.active {
  border-color: var(--pink);
  background: #fff8fb;
}

.photo-shape-demo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #d9c6b2, #a88e74);
}

/* ============ Modals ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 30, 30, 0.42);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  animation: fadeIn 0.16s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  width: min(880px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalIn 0.18s ease both;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

.modal-sub {
  font-size: 10.5px;
  color: #8d8d8d;
  margin: 3px 0 0;
}

.modal-close {
  border: 0;
  background: #f5f5f5;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #777;
}

.modal-body {
  overflow: auto;
  padding: 18px;
}

.modal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 13px 18px;
  border-top: 1px solid #eee;
  flex-shrink: 0;
}

.template-modal {
  width: min(1000px, 96vw);
}

.template-modal-body {
  display: grid;
  grid-template-columns: 430px 1fr;
  grid-gap: 22px;
  gap: 22px;
  padding: 18px;
  overflow: hidden;
  min-height: 0;
}

.template-preview-box {
  background: #f2efe9;
  border-radius: 10px;
  height: min(78vh, 720px);
  overflow: auto;
  display: flex;
  justify-content: center;
  padding: 18px;
}

.template-preview-notes {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-right: 10px;
}

.template-preview-notes h4 {
  font-family: var(--font-serif);
  font-size: 23px;
  margin: 0;
}

.template-preview-notes p {
  font-size: 12px;
  line-height: 1.6;
  color: #6f6f6f;
  margin: 0;
}

.template-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fact {
  border: 1px solid #eee;
  background: #fafafa;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 10px;
  color: #777;
}

/* Preview mode */
.preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(24, 24, 24, 0.55);
  -webkit-backdrop-filter: blur(7px);
          backdrop-filter: blur(7px);
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.2s ease both;
}

.preview-bar {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  padding: 0 16px;
  color: #2f2b27;
  background: #fff;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}

.preview-brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 23px;
  color: #2f2b27;
  line-height: 1;
  min-width: 96px;
}

.preview-brand span {
  color: var(--pink);
}

.preview-bar-title {
  flex: 1 1;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: #8c857c;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-bar-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.preview-back {
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 8px;
  height: 34px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 500;
}

.preview-back:hover {
  background: var(--pink-dark, #d94f80);
}

.preview-continue {
  border: 0;
  background: var(--green);
  color: #fff;
  border-radius: 8px;
  height: 34px;
  padding: 0 15px;
  font-size: 11px;
  font-weight: 500;
}

.preview-continue:hover {
  background: var(--green-dark);
}

.preview-stage {
  flex: 1 1;
  overflow: auto;
  padding: 26px 20px 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.preview-phone {
  width: 400px;
  max-height: calc(100vh - 146px);
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  background: #fff;
  scrollbar-width: thin;
}

.preview-phone::-webkit-scrollbar {
  width: 6px;
}

.preview-phone::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

/* Publish */
.publish-modal {
  width: min(540px, 96vw);
}

.publish-summary {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.publish-summary-icon {
  width: 38px;
  height: 38px;
  background: #fde8f1;
  color: var(--pink-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.publish-summary b {
  display: block;
  font-size: 12px;
}

.publish-summary span {
  font-size: 10px;
  color: #8a8a8a;
}

.publish-link {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 7px 8px 7px 11px;
  font-size: 11px;
  color: #4f4f4f;
  margin: 10px 0;
  background: #fff;
}

.publish-link span {
  flex: 1 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.plan-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #eee;
  border-radius: 9px;
  padding: 11px 13px;
  margin: 12px 0;
}

.plan-switch-row b {
  font-size: 11.5px;
  display: block;
}

.plan-switch-row small {
  font-size: 9.5px;
  color: #999;
}

.upgrade-modal {
  width: min(500px, 96vw);
}

.upgrade-hero {
  text-align: center;
  padding: 6px 10px 16px;
}

.upgrade-crown {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fdf6df;
  color: #b08d20;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.upgrade-hero h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  margin: 0 0 6px;
}

.upgrade-hero p {
  font-size: 12px;
  color: #7a7a7a;
  line-height: 1.55;
  margin: 0;
}

.upgrade-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.upgrade-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #555;
}

.upgrade-list svg {
  color: var(--green);
}

/* ============ Intro animation ============ */
.intro-overlay {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.intro-overlay.fullscreen {
  position: fixed;
  z-index: 300;
}

.intro-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-name {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 18px;
  font-family: "Alex Brush", cursive;
  font-size: 34px;
  letter-spacing: 0.5px;
}

.intro-hint {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  opacity: 0.7;
  animation: breathe 2.2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.9; }
}

.intro-envelope {
  position: relative;
  z-index: 2;
  width: 190px;
  height: 130px;
  perspective: 600px;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

.intro-envelope-body {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
}

.intro-envelope-flap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 66px;
  transform-origin: top center;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
  animation: flapOpen 3.4s ease-in-out infinite;
  z-index: 3;
}

@keyframes flapOpen {
  0%, 20% { transform: rotateX(0deg); }
  50%, 70% { transform: rotateX(180deg); }
  100% { transform: rotateX(0deg); }
}

.intro-seal {
  position: absolute;
  left: 50%;
  top: 52px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.intro-flower {
  position: absolute;
  width: 170px;
  height: 170px;
  opacity: 0.95;
  z-index: 2;
}

.intro-flower.left { left: -32px; bottom: -26px; transform: rotate(8deg); }
.intro-flower.right { right: -32px; top: -16px; transform: rotate(190deg); }

.intro-balloon {
  position: absolute;
  width: 44px;
  height: 58px;
  border-radius: 50% 50% 46% 46%;
  z-index: 2;
  animation: floatBalloon 4.5s ease-in-out infinite;
}

.intro-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 80px;
  background: rgba(0, 0, 0, 0.18);
}

@keyframes floatBalloon {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

/* ============ Public invitation ============ */
.pub-root {
  min-height: 100vh;
  background: #e8e4dc;
  display: flex;
  justify-content: center;
  padding: 0;
}

.pub-phone {
  width: 100%;
  max-width: 440px;
  min-height: 100vh;
  background: #fff;
  position: relative;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.14);
}

.pub-content {
  position: relative;
}

.pub-music-fab {
  position: fixed;
  right: max(18px, calc(50vw - 218px));
  bottom: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(30, 30, 30, 0.82);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 70;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.pub-rsvp-fab {
  position: fixed;
  right: max(18px, calc(50vw - 218px));
  bottom: 74px;
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 11px;
  z-index: 70;
  box-shadow: 0 8px 20px rgba(236, 95, 146, 0.4);
}

.pub-footer {
  text-align: center;
  padding: 26px 18px 34px;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(80, 80, 80, 0.55);
}

.rsvp-modal {
  width: min(430px, 94vw);
}

.rsvp-form {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.rsvp-form label {
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8a8a8a;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
  width: 100%;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 9px 11px;
  font-size: 12px;
  outline: none;
  background: #fff;
}

.rsvp-form textarea {
  min-height: 80px;
  resize: vertical;
}

.rsvp-form input:focus,
.rsvp-form select:focus,
.rsvp-form textarea:focus {
  border-color: var(--pink-line);
  box-shadow: 0 0 0 2px #fde8f1;
}

.rsvp-success {
  text-align: center;
  padding: 14px 6px 20px;
}

.rsvp-success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #e9f7ea;
  color: #3e9142;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
}

.toast {
  position: fixed;
  z-index: 400;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #2d2d2d;
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  animation: toastIn 0.2s ease both;
}

@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ============ Editor animations ============ */
@keyframes aFadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes aFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes aZoomIn { from { opacity: 0; transform: scale(0.65); } to { opacity: 1; transform: none; } }
@keyframes aZoomOut { from { opacity: 0; transform: scale(1.35); } to { opacity: 1; transform: none; } }
@keyframes aGrow { from { opacity: 0; transform: scale(0.65); } to { opacity: 1; transform: none; } }
@keyframes aShrink { from { opacity: 0; transform: scale(1.35); } to { opacity: 1; transform: none; } }
@keyframes aPulse { 0% { transform: scale(1); } 50% { transform: scale(1.06); } 100% { transform: scale(1); } }
@keyframes aSoftZoom { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
@keyframes aTinyZoom { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }
@keyframes aPan { from { transform: translateX(-26px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aRise { from { transform: translateY(36px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aPop { 0% { transform: scale(0.7); opacity: 0; } 70% { transform: scale(1.04); opacity: 1; } 100% { transform: scale(1); } }
@keyframes aDiagonal { from { transform: translate(-24px, 24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aBounce { 0% { transform: translateY(-50px); opacity: 0; } 60% { transform: translateY(8px); opacity: 1; } 80% { transform: translateY(-4px); } 100% { transform: none; } }
@keyframes aFall { from { transform: translateY(-70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aSpin { from { transform: rotate(-18deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes aRoll { from { transform: rotate(-180deg); opacity: 0; } to { transform: rotate(0); opacity: 1; } }
@keyframes aWobble { 0% { transform: rotate(-4deg); } 25% { transform: rotate(4deg); } 50% { transform: rotate(-3deg); } 75% { transform: rotate(2deg); } 100% { transform: rotate(0); } }
@keyframes aSqueeze { 0% { transform: scaleX(1.25) scaleY(0.8); opacity: 0; } 60% { transform: scaleX(0.96) scaleY(1.04); opacity: 1; } 100% { transform: none; } }
@keyframes aBlur { from { filter: blur(12px); opacity: 0; } to { filter: blur(0); opacity: 1; } }
@keyframes aShine { 0% { opacity: 0; filter: brightness(2.2); } 100% { opacity: 1; filter: brightness(1); } }
@keyframes aRect { 0% { -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); } 100% { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); } }
@keyframes aBreathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
@keyframes aShake { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-3px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(2px); } }
@keyframes aFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes aDrift { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }
@keyframes aOrbit { 0% { transform: rotate(0) translateX(6px) rotate(0); } 100% { transform: rotate(360deg) translateX(6px) rotate(-360deg); } }
@keyframes aTransform { 0% { transform: skewX(-6deg) scale(0.95); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ============ Utility ============ */
.row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.spacer {
  flex: 1 1;
}

.muted {
  color: #8a8a8a;
}

.tiny {
  font-size: 9.5px;
  line-height: 1.45;
}

.divider {
  height: 1px;
  background: #eee;
  margin: 12px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .ed-toolbar { max-width: calc(100vw - 420px); }
}

@media (max-width: 860px) {
  .l-hero { grid-template-columns: 1fr; gap: 26px; }
  .l-features { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .wizard-card { padding: 28px 20px; }
  .ed-panel { width: 280px; }
  .ed-brand { display: none; }
}

/* ============ Selection extras ============ */
.selection-handle.rot {
  left: 50%;
  top: -28px;
  margin-left: -5px;
  cursor: -webkit-grab;
  cursor: grab;
  background: #fff;
  border-color: var(--pink);
}

.selection-handle-line {
  position: absolute;
  left: 50%;
  top: -20px;
  width: 1px;
  height: 16px;
  background: var(--pink);
  z-index: 59;
  pointer-events: none;
}

.selection-handle.mid-n,
.selection-handle.mid-s,
.selection-handle.mid-w,
.selection-handle.mid-e {
  width: 7px;
  height: 7px;
  border-radius: 2px;
}

.selection-handle.mid-n { left: 50%; top: -4px; margin-left: -3.5px; cursor: ns-resize; }
.selection-handle.mid-s { left: 50%; bottom: -4px; margin-left: -3.5px; cursor: ns-resize; }
.selection-handle.mid-w { left: -4px; top: 50%; margin-top: -3.5px; cursor: ew-resize; }
.selection-handle.mid-e { right: -4px; top: 50%; margin-top: -3.5px; cursor: ew-resize; }

/* ============ Panel form bits ============ */
.panel-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-align: center;
  padding: 40px 18px;
  color: #9a938a;
}

.panel-empty-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7f3ee;
  color: #b4a894;
}

.panel-empty p {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  max-width: 220px;
}

.num-field {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  flex: 1 1;
  min-width: 0;
  font-size: 9px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #948c82;
}

.num-input-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #e6e0d8;
  background: #fff;
  border-radius: 7px;
  padding: 0 8px;
  height: 32px;
}

.num-input-wrap input {
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  font-size: 11.5px;
  color: #2f2b27;
  background: transparent;
}

.num-input-wrap i {
  font-style: normal;
  font-size: 9px;
  color: #a8a096;
}

.field-row {
  display: flex;
  gap: 8px;
  margin-bottom: 9px;
}

.btn-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 27px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid #e6e0d8;
  background: #fff;
  color: #55504a;
  font-family: inherit;
  font-size: 9.5px;
  cursor: pointer;
  transition: 0.15s;
}

.btn-mini:hover {
  border-color: #d8cec0;
  background: #fbf8f4;
}

.align-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  gap: 5px;
  margin-bottom: 6px;
}

.align-btn {
  height: 28px;
  border-radius: 6px;
  border: 1px solid #e6e0d8;
  background: #fff;
  color: #5d574f;
  font-family: inherit;
  font-size: 9.5px;
  cursor: pointer;
  transition: 0.15s;
}

.align-btn:hover {
  border-color: #d8cec0;
  background: #fbf8f4;
}

/* ============ Not found ============ */
.notfound {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: radial-gradient(circle at 50% 20%, #fffaf4, #f4ece1 70%);
}

.notfound-card {
  width: min(430px, 100%);
  background: #fff;
  border: 1px solid #efe5d8;
  border-radius: 18px;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 18px 50px rgba(80, 62, 40, 0.1);
}

.notfound-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  background: #fdeef3;
  color: var(--pink);
}

.notfound-card h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #302b25;
}

.notfound-card p {
  font-size: 12px;
  line-height: 1.7;
  color: #8b837a;
  margin: 0 0 20px;
}

.notfound-card .btn-primary {
  text-decoration: none;
}

/* ============ Element animation classes ============ */
.anim-zoom-in { animation-name: aZoomIn; }
.anim-zoom-out { animation-name: aZoomOut; }
.anim-grow { animation-name: aGrow; }
.anim-shrink { animation-name: aShrink; }
.anim-pulse { animation-name: aPulse; animation-iteration-count: infinite; }
.anim-soft-zoom { animation-name: aSoftZoom; }
.anim-tiny-zoom { animation-name: aTinyZoom; }
.anim-pan { animation-name: aPan; }
.anim-rise { animation-name: aRise; }
.anim-pop { animation-name: aPop; }
.anim-diagonal { animation-name: aDiagonal; }
.anim-bounce { animation-name: aBounce; }
.anim-fall { animation-name: aFall; }
.anim-spin { animation-name: aSpin; }
.anim-roll { animation-name: aRoll; }
.anim-wobble { animation-name: aWobble; }
.anim-squeeze { animation-name: aSqueeze; }
.anim-blur { animation-name: aBlur; }
.anim-fade { animation-name: aFadeIn; }
.anim-shine { animation-name: aShine; }
.anim-rect { animation-name: aRect; }
.anim-breathe { animation-name: aBreathe; animation-iteration-count: infinite; }
.anim-shake { animation-name: aShake; animation-iteration-count: infinite; }
.anim-float { animation-name: aFloat; animation-iteration-count: infinite; }
.anim-drift { animation-name: aDrift; animation-iteration-count: infinite; }
.anim-orbit { animation-name: aOrbit; animation-iteration-count: infinite; animation-timing-function: linear !important; }
.anim-transform { animation-name: aTransform; }
.anim-exit { animation-direction: reverse; animation-fill-mode: both; }

@keyframes pulseRing {
  0% { transform: scale(0.92); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ============ Template modal body ============ */
.template-modal .modal-body {
  padding: 0;
}

.template-modal-body {
  display: flex;
  gap: 26px;
  align-items: flex-start;
  padding: 22px 24px;
  max-height: 70vh;
  overflow: auto;
}

.template-preview-box {
  width: 400px;
  max-height: 62vh;
  overflow: auto;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f4f0e9;
  padding: 14px;
  display: flex;
  justify-content: center;
}

.template-preview-notes {
  flex: 1 1;
  min-width: 220px;
  padding-top: 6px;
}

.template-preview-notes h4 {
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  font-weight: 500;
  color: #2f2b27;
  margin: 6px 0 10px;
}

.template-preview-notes p {
  font-size: 11.5px;
  line-height: 1.75;
  color: #7f776d;
  margin: 0 0 14px;
}

.template-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

@media (max-width: 720px) {
  .template-modal-body { flex-direction: column; }
  .template-preview-box { width: 100%; }
}

.gt-thumb {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

@media (max-width: 1240px) {
  .ed-brand { display: none; }
  .save-state { display: none; }
  .ed-pill { max-width: 220px; }
  .ed-pill input { min-width: 54px; }
}

@media (max-width: 1000px) {
  .ed-top { gap: 6px; padding: 0 8px; }
  .ed-pills { gap: 5px; }
  .ed-pill { padding: 5px 9px; gap: 5px; font-size: 11px; }
  .ed-pill input { font-size: 11px; min-width: 44px; max-width: 90px; }
  .ed-pill input[type="date"] { min-width: 104px; font-size: 10.5px; }
  .ed-btn-preview { padding: 0 10px; font-size: 11px; }
  .ed-btn-continue { padding: 0 11px; font-size: 11px; }
}

@media (max-width: 860px) {
  .ed-pills .ed-pill:first-child .ed-pill-sep { display: none; }
  .ed-btn-preview { width: 34px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .ed-btn-preview svg { width: 15px; height: 15px; }
}

@media (max-width: 900px) {
  .ed-toolbar {
    max-width: calc(100vw - 420px);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ed-toolbar::-webkit-scrollbar { display: none; }
  .tb-btn { font-size: 0; gap: 0; padding: 0 7px; min-width: 30px; }
  .tb-btn svg { width: 14px; height: 14px; }
  .tb-font { display: none; }
  .tb-label { display: none; }
  .tb-sizeinput { width: 26px; }
}

/* Top bar refinements */
.ed-brand {
  gap: 7px;
  min-width: 136px;
}

.ed-brand-mail {
  color: #2a2a2a;
  flex-shrink: 0;
}

.ed-pill-pencil {
  opacity: 0.38;
  flex-shrink: 0;
}

.ed-date-pill {
  position: relative;
  cursor: pointer;
}

.ed-date-text {
  font-size: 12px;
  white-space: nowrap;
}

.ed-date-native {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0 !important;
  opacity: 0;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.ed-canvas-scroll {
  padding-top: 64px;
}

/* ============ Intro animation panel ============ */
.intro-kinds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 8px;
  gap: 8px;
}

.intro-kind {
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

.intro-kind-thumb {
  width: 100%;
  height: 56px;
  border-radius: 6px;
  border: 1px solid #e6e0d8;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  transition: 0.15s;
}

.intro-kind-thumb svg {
  width: 38px;
  height: 38px;
}

.intro-kind.active .intro-kind-thumb {
  border: 2px solid var(--pink);
  box-shadow: 0 0 0 2px #fdeef4;
}

.intro-kind-label {
  font-size: 9.5px;
  color: #7d7973;
  letter-spacing: 0.2px;
}

.intro-kind.active .intro-kind-label {
  color: var(--pink-strong);
  font-weight: 500;
}

.intro-kind-thumb.sobre {
  background: #f7f5f2;
}

.intro-kind-envelope {
  width: 34px;
  height: 24px;
  border-radius: 3px;
  background: #fff;
  border: 1px solid #ded8d0;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.intro-kind-envelope::before,
.intro-kind-envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 48%, #ded8d0 49%, #ded8d0 51%, transparent 52%);
}

.intro-kind-envelope::after {
  background: linear-gradient(45deg, transparent 48%, #ded8d0 49%, #ded8d0 51%, transparent 52%);
}

.intro-kind-thumb.flores {
  background: linear-gradient(140deg, #fdf4f1, #f5e3dc);
}

.intro-kind-thumb.globos {
  background: linear-gradient(140deg, #fdf7ea, #f4e6c8);
}

.intro-kind-balloons {
  position: relative;
  width: 44px;
  height: 40px;
  display: block;
}

.intro-kind-balloons i {
  position: absolute;
  width: 12px;
  height: 15px;
  border-radius: 50% 50% 48% 48%;
  background: radial-gradient(circle at 35% 30%, #f2d78a, #c8a24a);
}

.intro-kind-balloons i:nth-child(1) { left: 0; top: 8px; }
.intro-kind-balloons i:nth-child(2) { left: 11px; top: 2px; }
.intro-kind-balloons i:nth-child(3) { left: 22px; top: 10px; }
.intro-kind-balloons i:nth-child(4) { left: 31px; top: 4px; width: 11px; height: 14px; }
.intro-kind-balloons i:nth-child(5) { left: 16px; top: 20px; width: 11px; height: 14px; }

.color-block {
  margin-top: 16px;
}

.color-block-label {
  font-size: 10.5px;
  color: #6f6b66;
  margin-bottom: 7px;
  letter-spacing: 0.1px;
}

.color-block-body {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.color-block-swatch {
  width: 74px;
  height: 56px;
  border-radius: 6px;
  border: 1px solid #e2ddd6;
  padding: 0;
  flex-shrink: 0;
  background: #fff;
  cursor: pointer;
}

.color-block-swatch::-webkit-color-swatch-wrapper {
  padding: 0;
}

.color-block-swatch::-webkit-color-swatch {
  border: 0;
  border-radius: 5px;
}

.color-block-right {
  flex: 1 1;
  min-width: 0;
}

.color-block-hex {
  width: 100%;
  height: 42px;
  border: 1px solid #e2ddd6;
  border-radius: 7px;
  padding: 0 10px;
  font-family: inherit;
  font-size: 11.5px;
  color: #2f2b27;
  outline: none;
  background: #fff;
}

.color-block-hex:focus {
  border-color: var(--pink-line);
  box-shadow: 0 0 0 2px #fde8f1;
}

.color-block-hint {
  font-size: 10px;
  line-height: 1.55;
  color: #a09a92;
  margin: 6px 0 0;
}

.envelope-swatches {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 6px;
  gap: 6px;
}

.envelope-swatch {
  height: 30px;
  border-radius: 5px;
  border: 1px solid #e2ddd6;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.42);
  padding: 0;
  cursor: pointer;
  transition: 0.15s;
}

.envelope-swatch.active {
  box-shadow: 0 0 0 2px var(--pink);
  border-color: var(--pink);
}

.envelope-swatch[style*="#16295a"],
.envelope-swatch[style*="#5a5a5a"],
.envelope-swatch[style*="#3d2170"] {
  color: rgba(255, 255, 255, 0.72);
}

/* ============ Section animation grid ============ */
.anim-style-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.anim-style {
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 9px 4px 7px;
  height: 76px;
  text-align: center;
}

.anim-style-label {
  font-size: 9px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.anim-pic {
  width: 38px;
  height: 26px;
  position: relative;
  display: block;
  flex-shrink: 0;
}

.anim-pic i {
  position: absolute;
  display: block;
  background: var(--pink);
  opacity: 0.5;
  border-radius: 2px;
}

.anim-pic i:nth-child(1) { left: 3px; top: 7px; width: 10px; height: 12px; }
.anim-pic i:nth-child(2) { left: 15px; top: 3px; width: 12px; height: 20px; opacity: 0.85; }
.anim-pic i:nth-child(3) { left: 29px; top: 9px; width: 6px; height: 8px; opacity: 0.3; }

.anim-pic.p2 i:nth-child(1) { left: 12px; top: 14px; width: 14px; height: 4px; border-radius: 1px; }
.anim-pic.p2 i:nth-child(2) { left: 16px; top: 4px; width: 6px; height: 12px; }
.anim-pic.p2 i:nth-child(3) { left: 18px; top: 0; width: 2px; height: 4px; background: var(--pink-dark, #d94f80); }

.anim-pic.p3 i { border-radius: 50%; }
.anim-pic.p3 i:nth-child(1) { left: 4px; top: 4px; width: 12px; height: 12px; opacity: 0.3; }
.anim-pic.p3 i:nth-child(2) { left: 12px; top: -2px; width: 12px; height: 12px; }
.anim-pic.p3 i:nth-child(3) { left: 20px; top: 4px; width: 12px; height: 12px; opacity: 0.6; }

.anim-pic.p4 i { transform: rotate(-24deg); }
.anim-pic.p4 i:nth-child(1) { left: 2px; top: 10px; width: 26px; height: 10px; opacity: 0.9; border-radius: 2px; }
.anim-pic.p4 i:nth-child(2) { left: 4px; top: 10px; width: 12px; height: 10px; opacity: 0.35; }
.anim-pic.p4 i:nth-child(3) { left: 24px; top: 6px; width: 8px; height: 8px; opacity: 0.5; }

.anim-pic.p5 i:nth-child(1) { left: 4px; top: 8px; width: 7px; height: 12px; opacity: 0.4; }
.anim-pic.p5 i:nth-child(2) { left: 14px; top: 4px; width: 8px; height: 18px; opacity: 0.75; }
.anim-pic.p5 i:nth-child(3) { left: 25px; top: 10px; width: 8px; height: 9px; opacity: 0.55; }

.anim-pic.p6 i { border-radius: 50%; width: 10px; height: 10px; }
.anim-pic.p6 i:nth-child(1) { left: 4px; top: 12px; opacity: 0.3; }
.anim-pic.p6 i:nth-child(2) { left: 14px; top: 8px; opacity: 0.55; }
.anim-pic.p6 i:nth-child(3) { left: 24px; top: 4px; opacity: 0.9; }

.anim-pic.p7 i { border-radius: 50%; background: radial-gradient(circle, var(--pink) 0%, rgba(236, 95, 146, 0.25) 70%); }
.anim-pic.p7 i:nth-child(1) { left: 1px; top: 6px; width: 12px; height: 12px; }
.anim-pic.p7 i:nth-child(2) { left: 12px; top: 1px; width: 14px; height: 14px; opacity: 0.85; }
.anim-pic.p7 i:nth-child(3) { left: 25px; top: 8px; width: 10px; height: 10px; }

.anim-pic.p8 i:nth-child(1) { left: 13px; top: 0; width: 12px; height: 26px; border-radius: 6px 6px 0 0; opacity: 0.85; }
.anim-pic.p8 i:nth-child(2) { left: 5px; top: 14px; width: 28px; height: 5px; border-radius: 3px; opacity: 0.4; }
.anim-pic.p8 i:nth-child(3) { left: 17px; top: 20px; width: 4px; height: 6px; opacity: 0.25; }

.anim-pic.p9 i:nth-child(1) { left: 4px; top: 4px; width: 30px; height: 18px; border-radius: 4px; opacity: 0.18; background: transparent; border: 1.5px solid var(--pink); }
.anim-pic.p9 i:nth-child(2) { left: 8px; top: 8px; width: 22px; height: 10px; border-radius: 3px; opacity: 0.8; }
.anim-pic.p9 i:nth-child(3) { display: none; }

.anim-remove {
  width: 100%;
  height: 30px;
  margin-top: 10px;
  border: 1px solid #eeeae4;
  border-radius: 6px;
  background: #fbfaf8;
  color: #b8b2a9;
  font-family: inherit;
  font-size: 10px;
  cursor: pointer;
  transition: 0.15s;
}

.anim-remove:not(:disabled):hover {
  color: var(--pink-strong);
  border-color: #f3c6d6;
  background: #fff8fb;
}

.anim-remove:disabled {
  cursor: default;
}

/* ============ Intro stage (canvas) ============ */
.intro-stage,
.intro-stage-empty {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-stage-empty {
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  grid-gap: 8px;
  gap: 8px;
  padding: 30px;
}

.intro-stage-empty-title {
  font-size: 13px;
  font-weight: 600;
  color: #2b2b2b;
  letter-spacing: 0.1px;
}

.intro-stage-empty p {
  margin: 0;
  max-width: 250px;
  font-size: 11px;
  line-height: 1.6;
  color: #8f8f8f;
}

.intro-stage-envelope {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.intro-stage-center {
  position: absolute;
  left: 50%;
  top: 68%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  grid-gap: 12px;
  gap: 12px;
  pointer-events: none;
}

.intro-stage-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.4px;
  color: inherit;
  white-space: nowrap;
}

.intro-stage-hand {
  opacity: 0.92;
}

.intro-stage-scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-stage-flower {
  position: absolute;
  display: block;
  aspect-ratio: 1;
}

.intro-stage-flower svg {
  width: 100%;
  height: 100%;
}

.intro-stage-balloon {
  position: absolute;
  border-radius: 50% 50% 47% 47%;
  box-shadow: inset -8px -10px 22px rgba(0, 0, 0, 0.07), inset 8px 8px 20px rgba(255, 255, 255, 0.5);
  animation: introBalloon 6s ease-in-out infinite;
}

.intro-stage-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 90px;
  background: rgba(0, 0, 0, 0.12);
}

@keyframes introBalloon {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.anim-bg {
  height: 54px;
  display: grid;
  place-items: center;
}

.anim-bg-flowers {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.anim-bg-flowers svg:nth-child(1) {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 36px;
  height: 36px;
}

.anim-bg-flowers svg:nth-child(2) {
  position: absolute;
  right: 2px;
  bottom: -4px;
  width: 30px;
  height: 30px;
  opacity: 0.85;
}

.anim-bg-balloons {
  transform: scale(0.94);
}

.intro-stage-balloon {
  background-image: radial-gradient(circle at 33% 26%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 46%);
}

/* Canvas wrapper keeps floating toolbars fixed while the page scrolls */
.ed-canvas-wrap {
  flex: 1 1;
  min-width: 0;
  position: relative;
  display: flex;
  overflow: hidden;
}

/* ============ Images panel ============ */
.upload-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

.upload-tile-pink {
  width: 112px;
  height: 112px;
  border-radius: 9px;
  border: 1.5px dashed #f3a9c4;
  background: #fdeef4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--pink);
  font-size: 10.5px;
  font-weight: 500;
  transition: 0.15s;
}

.upload-tile-pink:hover {
  background: #fce6ef;
  border-color: var(--pink);
}

.upload-plus {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--pink);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  border: 1px solid #e7e1d9;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
  color: #a8a29a;
  margin-bottom: 4px;
}

.search-box input {
  border: 0;
  outline: none;
  flex: 1 1;
  min-width: 0;
  font-family: inherit;
  font-size: 11px;
  color: #3a352f;
  background: transparent;
}

.search-box input::placeholder {
  color: #b3ada4;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 7px;
  gap: 7px;
}

.cat-card {
  border: 1px solid #ece7e0;
  background: #fff;
  border-radius: 9px;
  padding: 8px 4px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.15s;
}

.cat-card:hover {
  border-color: #ded5ca;
  box-shadow: 0 4px 10px rgba(90, 76, 60, 0.06);
}

.cat-card.active {
  border-color: var(--pink);
  background: #fffcfe;
}

.cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #8a7a5f;
}

.cat-label {
  font-size: 8.8px;
  line-height: 1.25;
  color: #5f5a53;
  text-align: center;
  letter-spacing: 0.1px;
}

.link-more {
  border: 0;
  background: transparent;
  color: var(--pink-strong);
  font-family: inherit;
  font-size: 10px;
  padding: 8px 0 2px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.link-more:hover {
  text-decoration: underline;
}

/* ============ Typography panel ============ */
.font-chips .chip {
  background: #f5f3f0;
  border-color: transparent;
  color: #5b564f;
  padding: 4px 10px;
  font-size: 9.5px;
}

.font-chips .chip:hover {
  background: #efece7;
}

.font-chips .chip.active {
  background: #fff;
  border-color: #d7cfc4;
  color: #2f2b27;
  font-weight: 500;
}

.font-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 42vh;
  overflow-y: auto;
  padding: 1px 2px 4px;
  margin-bottom: 6px;
  scrollbar-width: thin;
}

.font-list::-webkit-scrollbar {
  width: 5px;
}

.font-list::-webkit-scrollbar-thumb {
  background: #ddd5ca;
  border-radius: 999px;
}

.font-row {
  border: 1px solid #ece7e0;
  border-radius: 8px;
  background: #fff;
  padding: 0 11px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  cursor: pointer;
  transition: 0.14s;
  flex-shrink: 0;
}

.font-row:hover {
  background: #fffdfb;
  border-color: #ded5ca;
}

.font-row.active {
  border-color: var(--pink);
  background: #fff7fa;
}

.font-row-name {
  font-size: 15px;
  color: #2f2b27;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.font-row.active .font-row-name {
  color: var(--pink-strong);
}

.font-row-sample {
  display: none;
}

/* ============ Colors panel extras ============ */
.color-block-title.as-button {
  border: 0;
  background: transparent;
  width: 100%;
  font-family: inherit;
  cursor: pointer;
  padding: 10px 0 6px;
}

.ver-todos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: -2px;
  padding: 2px 0 8px;
  font-size: 10.5px;
}

/* ============ Effects panel ============ */
.style-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.style-card {
  padding: 0;
  border-radius: 8px;
  border: 1px solid #e6e0d8;
  overflow: hidden;
  gap: 0;
  background: #fff;
  transition: 0.15s;
}

.style-card.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink);
  background: #fff;
}

.style-preview {
  width: 100%;
  height: 64px;
  background: #2b2b2b;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 25px;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.5px;
}

.style-preview.eff-1 {
  color: transparent;
  -webkit-text-stroke: 1px #ffffff;
}

.style-preview.eff-2 {
  background: #443345;
  color: #dfb9f2;
}

.style-preview.eff-3 {
  color: #f0d3fb;
  text-shadow: 0 0 7px #bb7ce8, 0 0 16px #a35fdf;
}

.style-preview.eff-4 {
  color: transparent;
  -webkit-text-stroke: 1px #e2b6f5;
}

.style-preview.shape svg {
  width: 58px;
  height: 26px;
}

.style-label {
  display: block;
  padding: 6px 2px 6px;
  font-size: 9px;
  line-height: 1.2;
  color: #5b564f;
  text-align: center;
  background: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.style-card.active .style-label {
  color: var(--pink-strong);
}

/* ============ Animation picker detail ============ */
.anim-detail-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0 12px;
  border-bottom: 1px solid #f0ece6;
  margin-bottom: 2px;
}

.anim-back {
  width: 24px;
  height: 24px;
  border: 1px solid #e8e2da;
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-items: center;
  color: #59544d;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.anim-back:hover {
  border-color: #d9d0c5;
  background: #fbf9f6;
}

.anim-detail-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #fdeef4;
  color: var(--pink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.anim-detail-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.anim-detail-title {
  font-size: 12px;
  font-weight: 600;
  color: #2f2b27;
  line-height: 1.2;
}

.anim-detail-sub {
  font-size: 9.5px;
  color: #a39d94;
  margin-top: 1px;
}

.anim-variant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 7px;
  gap: 7px;
}

.anim-variant {
  height: 34px;
  border: 1px solid #e9e3db;
  border-radius: 7px;
  background: #fff;
  font-family: inherit;
  font-size: 10px;
  color: #56514a;
  cursor: pointer;
  transition: 0.14s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  text-align: center;
  line-height: 1.15;
}

.anim-variant:hover {
  border-color: #dcd2c6;
  background: #fffdfa;
}

.anim-variant.active {
  border-color: var(--pink);
  background: #fff7fa;
  color: var(--pink-strong);
  font-weight: 500;
}

.anim-speed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #55504a;
  margin: 14px 0 0;
}

.anim-speed-head span:last-child {
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
  color: #8f8880;
}

/* ============ More menu (toolbar) ============ */
.more-menu {
  top: 58px;
  right: 16px;
  width: 224px;
  padding: 6px;
  border-radius: 10px;
  border-color: #ececec;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.more-item {
  gap: 10px;
  padding: 7px 10px;
  font-size: 11px;
  color: #3d3d3d;
}

.more-item svg {
  color: #6f6f6f;
  flex-shrink: 0;
}

.more-sep {
  margin: 3px 0;
  background: #f0f0f0;
}

.more-footer {
  text-align: right;
  border-top: 0;
  margin-top: 2px;
  padding: 8px 10px 4px;
  font-size: 9.5px;
  color: #b3b3b3;
}

.more-link-pop {
  position: absolute;
  top: 0;
  right: calc(100% + 10px);
  width: 252px;
  background: #1c1c1c;
  border-radius: 8px;
  padding: 12px 13px 11px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
}

.more-link-title {
  font-size: 10.5px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 9px;
}

.more-link-field {
  border: 1px solid var(--pink);
  border-radius: 6px;
  padding: 0 9px;
  height: 32px;
  display: flex;
  align-items: center;
  background: #141414;
}

.more-link-field input {
  flex: 1 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 11px;
}

.more-link-field input::placeholder {
  color: #7a7a7a;
}

.more-link-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.more-link-save,
.more-link-remove {
  height: 26px;
  border-radius: 5px;
  border: 1px solid #3a3a3a;
  background: #2a2a2a;
  color: #e8e8e8;
  font-family: inherit;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  cursor: pointer;
}

.more-link-save {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.more-link-remove {
  color: #b7b7b7;
}

/* ============ Toolbar popovers ============ */
.tool-pop {
  position: absolute;
  z-index: 140;
  top: 58px;
  left: 50%;
  transform: translateX(-50%);
  width: 252px;
  background: #1c1c1c;
  border-radius: 9px;
  padding: 12px 13px 11px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  color: #fff;
}

.tool-pop-spacing {
  width: 236px;
  left: 46%;
}

.tool-pop-radius {
  width: 240px;
  padding-left: 12px;
  padding-right: 12px;
  padding-bottom: 12px;
}

.tool-pop-radius .tool-pop-head {
  font-size: 12px;
  line-height: 19.9px;
  margin-bottom: 6px;
}

.tool-pop-radius .tool-pop-head + .tool-pop-range {
  height: 23px;
  margin-bottom: 12px;
}

.tool-pop-radius .tool-pop-chips {
  gap: 4px;
  margin-top: 10px;
}

.tool-pop-radius .tool-pop-chips button {
  height: 23.3px;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 600;
}

.tool-pop-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #f2f2f2;
  margin-bottom: 8px;
}

.tool-pop-head + .tool-pop-range {
  margin-bottom: 12px;
}

.tool-pop-value {
  margin-left: auto;
  font-size: 10.5px;
  color: #cfcfcf;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

.tool-pop-close {
  width: 18px;
  height: 18px;
  border: 0;
  background: transparent;
  color: #9a9a9a;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 2px;
}

.tool-pop-inline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.tool-pop-mini {
  font-size: 9px;
  color: #d7d7d7;
  border: 1px solid #4a4a4a;
  border-radius: 3px;
  padding: 1px 3px;
  line-height: 1;
}

.tool-pop-mini.lines {
  border: 0;
  font-size: 12px;
  padding: 0;
}

.tool-pop-range {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 14px;
  background: transparent;
  outline: none;
  margin: 0;
}

.tool-pop-range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: #ec5f92;
}

.tool-pop-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ec5f92;
  margin-top: -4.5px;
  cursor: pointer;
}

.tool-pop-range::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: #ec5f92;
}

.tool-pop-range::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ec5f92;
  cursor: pointer;
}

.tool-pop-chips {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.tool-pop-chips button {
  border: 1px solid #3d3d3d;
  background: #262626;
  color: #d4d4d4;
  border-radius: 5px;
  height: 24px;
  padding: 0 9px;
  font-family: inherit;
  font-size: 9.5px;
  cursor: pointer;
}

.tool-pop-chips button.active {
  border-color: var(--pink);
  color: #fff;
  background: #3a2430;
}

.tb-strong {
  font-size: 10px;
  line-height: 1.15;
  text-align: center;
  padding: 0 10px;
}

.tb-pink-icon {
  color: var(--pink);
  display: inline-flex;
}

/* ============ Photo shapes panel ============ */
.shape-cat-label {
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: 1.1px;
  color: #8a847c;
  text-transform: uppercase;
  margin: 12px 0 7px;
}

.photo-shape-grid {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.photo-shape {
  position: relative;
  height: 106px;
  padding: 8px;
  background: #fdfcfa;
  border-color: #ece7e0;
  overflow: hidden;
}

.photo-shape-demo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.photo-shape-label {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  background: rgba(35, 35, 35, 0.82);
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.1px;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-shape.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink);
  background: #fff8fb;
}

.photo-shape-demo {
  display: block;
  overflow: hidden;
}

.photo-shape-demo > *,
.photo-shape-demo img,
.photo-shape-demo svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============ Intro collage (flores / globos) ============ */
.intro-collage {
  position: absolute;
  inset: -10%;
  overflow: hidden;
}

.intro-collage-flower {
  position: absolute;
  display: block;
  aspect-ratio: 1;
}

.intro-collage-flower svg {
  width: 100%;
  height: 100%;
}

.intro-collage-balloon {
  position: absolute;
  aspect-ratio: 0.86;
  border-radius: 48% 48% 46% 46% / 54% 54% 44% 44%;
  box-shadow:
    inset -10px -14px 24px rgba(0, 0, 0, 0.05),
    inset 10px 12px 22px rgba(255, 255, 255, 0.55);
}

.intro-collage-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 14vh;
  background: rgba(120, 120, 120, 0.28);
}

.intro-open {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  grid-gap: 10px;
  gap: 10px;
  pointer-events: none;
}

.intro-open-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.35);
}

.intro-envelope-name {
  position: absolute;
  left: 0;
  right: 0;
  top: 46%;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  letter-spacing: 0.6px;
  z-index: 4;
  opacity: 0.86;
}

/* Canvas intro stage text placement */
.intro-stage-center {
  top: 50%;
}

.intro-stage-title {
  font-size: 30px;
}

/* Intro kind cards wrap the label in the card */
.intro-kind {
  border: 1px solid #ece7e0;
  border-radius: 8px;
  background: #fff;
  padding: 6px 5px 6px;
  transition: 0.15s;
}

.intro-kind:hover {
  border-color: #ded5ca;
}

.intro-kind.active {
  border-color: var(--pink);
  box-shadow: 0 0 0 1px var(--pink);
  background: #fff;
}

.intro-kind .intro-kind-thumb {
  border: 0;
  box-shadow: none;
  height: 52px;
}

.intro-kind.active .intro-kind-thumb {
  border: 0;
  box-shadow: none;
}

.intro-kind-label {
  padding-bottom: 1px;
}

/* Layers rows */
.layer-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.layer-name {
  font-size: 10.5px;
  font-weight: 500;
}

.layer-row .sec-mini {
  opacity: 0;
  transition: 0.12s;
}

.layer-row:hover .sec-mini,
.layer-row.selected .sec-mini {
  opacity: 1;
}

.layer-row {
  padding: 8px 9px;
}

/* Shared intro scene */
.intro-stage-scene {
  inset: -4%;
}

.intro-stage-balloon {
  aspect-ratio: 0.86;
  width: auto;
}

.intro-stage-balloon::after {
  height: 12vh;
}

.intro-flap-name {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  z-index: 3;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  letter-spacing: 0.6px;
  opacity: 0.9;
  pointer-events: none;
}

.intro-overlay .intro-stage-envelope,
.intro-overlay .intro-stage-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ============ Intro scene layout ============ */
.intro-stage-scene {
  inset: 0;
}

.intro-stage-garden {
  filter: saturate(1.05);
}

.intro-stage-garden .intro-stage-flower {
  aspect-ratio: 1;
}

.intro-stage-heart {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  filter: drop-shadow(0 16px 26px rgba(60, 90, 120, 0.12));
  animation: introFloat 7s ease-in-out infinite;
}

.intro-stage-heart:nth-child(3n) {
  animation-duration: 8.5s;
  animation-delay: -1.6s;
}

.intro-stage-heart:nth-child(2n) {
  animation-duration: 9.5s;
  animation-delay: -3.2s;
}

.intro-stage-heart svg {
  width: 100%;
  height: 100%;
  display: block;
}

@keyframes introFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.intro-overlay .intro-open-text {
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.9), 0 0 6px rgba(255, 255, 255, 0.8);
}

.intro-stage .intro-stage-center {
  z-index: 6;
}

.intro-overlay .intro-open {
  z-index: 6;
}

/* Keep scene layer below headline overlays */
.intro-stage-scene,
.intro-scene {
  isolation: isolate;
  z-index: 0;
}

.intro-stage-center,
.intro-open,
.intro-flap-name {
  z-index: 4;
}

.intro-stage-heart svg {
  filter: blur(0.4px);
}

.intro-stage-balloons::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 10%, rgba(246, 178, 195, 0.85) 0%, rgba(246, 178, 195, 0) 34%),
    radial-gradient(circle at 78% 78%, rgba(242, 168, 187, 0.8) 0%, rgba(242, 168, 187, 0) 36%),
    radial-gradient(circle at 92% 22%, rgba(158, 200, 236, 0.8) 0%, rgba(158, 200, 236, 0) 34%),
    radial-gradient(circle at 38% 46%, rgba(248, 202, 214, 0.75) 0%, rgba(248, 202, 214, 0) 40%),
    radial-gradient(circle at 60% 8%, rgba(180, 214, 240, 0.7) 0%, rgba(180, 214, 240, 0) 30%);
  filter: blur(14px);
}

.intro-stage-garden {
  filter: saturate(1.14);
}

.intro-stage-garden::before {
  content: "";
  position: absolute;
  inset: -6%;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 74%, rgba(240, 186, 196, 0.75) 0%, rgba(240, 186, 196, 0) 38%),
    radial-gradient(circle at 84% 14%, rgba(233, 205, 188, 0.75) 0%, rgba(233, 205, 188, 0) 36%),
    radial-gradient(circle at 66% 92%, rgba(196, 214, 198, 0.7) 0%, rgba(196, 214, 198, 0) 34%),
    radial-gradient(circle at 42% 30%, rgba(250, 216, 222, 0.7) 0%, rgba(250, 216, 222, 0) 40%);
  filter: blur(16px);
}

.intro-stage-balloons::before {
  display: none;
}

.intro-stage-tint {
  position: absolute;
  inset: -6%;
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
}

/* ============ Shared panel text inputs ============ */
.panel-input {
  width: 100%;
  box-sizing: border-box;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  background: #fff;
  color: #2f2b27;
  font-family: inherit;
  font-size: 10.5px;
  outline: none;
}

.panel-input:focus {
  border-color: #ec5f92;
}

.tb-url {
  width: 171px;
  min-width: 171px;
  flex-shrink: 0;
  height: 27px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f1ec;
  font-family: inherit;
  font-size: 10px;
  outline: none;
}

.tb-url::placeholder {
  color: rgba(244, 241, 236, 0.45);
}

.tb-color-input {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.panel-color-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1 1;
  height: 34px;
  padding: 0 10px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  background: #fff;
  font-size: 10.5px;
  color: #55504a;
}

.panel-color-field input[type="color"] {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

/* ============ Photo crop mode ============ */
.crop-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  border: 2px solid #ec5f92;
  background: rgba(0, 0, 0, 0.06);
  cursor: -webkit-grab;
  cursor: grab;
  touch-action: none;
}

.crop-hint {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 8.5px;
  white-space: nowrap;
}

.crop-done {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 4px 8px;
  border: 0;
  border-radius: 6px;
  background: #ec5f92;
  color: #fff;
  font-family: inherit;
  font-size: 9px;
  cursor: pointer;
}

.ed-btn-save {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  background: #fff;
  color: #55504a;
  font-family: inherit;
  font-size: 10px;
  cursor: pointer;
}

.ed-btn-save:hover {
  border-color: #d8cec0;
  background: #fbf8f4;
}

/* ============ Button toolbar parity ============ */
.tb-select {
  height: 28px;
  padding: 0 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #f4f1ec;
  font-family: inherit;
  font-size: 10px;
  outline: none;
  cursor: pointer;
}

.tb-select option {
  color: #2f2b27;
  background: #fff;
}

.tb-radius-icon {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1.5px dashed currentColor;
  border-radius: 5px;
}

/* ============ RSVP panel preview ============ */
.rsvp-preview {
  width: 267px;
  max-width: 100%;
  box-sizing: border-box;
  margin: 16px 0 0;
  padding: 14px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  background: #f8f7f3;
}

.rsvp-title-form {
  padding: 4px 6px;
  margin-bottom: 12px;
}

.rsvp-btn-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 39.6px;
  box-sizing: border-box;
  padding: 6.8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  margin: 0;
}

.rsvp-btn-row + .rsvp-btn-row {
  margin-top: 6px;
}

.rsvp-btn-input {
  width: 100%;
  height: 18.7px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: #908c7f;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
}

.rsvp-preview-title {
  margin-bottom: 12px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.5;
  font-weight: 600;
}

.rsvp-preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rsvp-preview-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  font-size: 9.5px;
  font-weight: 600;
  text-align: center;
}

.rsvp-preview-btn.outline {
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
}

.rsvp-preview-btn.ghost {
  border-radius: 999px;
  background: transparent;
  color: #6b655d;
}

.rsvp-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.rsvp-title-row input[type="color"] {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.rsvp-insert {
  width: auto;
  height: 31px;
  padding: 0 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #ec5f92;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.rsvp-insert:hover {
  background: rgba(236, 95, 146, 0.06);
}

.ed-build-tag {
  margin-left: 8px;
  padding: 2px 6px;
  border: 1px solid #e6e0d8;
  border-radius: 999px;
  color: #a39b90;
  font-family: Jost, sans-serif;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tb-dropdown-wrap {
  position: relative;
  display: inline-flex;
}

.tb-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 108px;
  min-width: 108px;
  height: 27px;
  padding: 0 8px;
  font-size: 10.5px;
}

.tb-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 220;
  width: 100%;
  min-width: 108px;
  padding: 0;
  border: 1px solid #e6e0d8;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 28, 22, 0.22);
}

.tb-dropdown-item {
  display: flex;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #3a3631;
  font-family: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.tb-dropdown-item:hover {
  background: #fbf1f5;
  color: #ec5f92;
}

.tb-dropdown-item.active {
  background: #fdeaf1;
  color: #ec5f92;
  font-weight: 600;
}

.color-target-tabs {
  margin: 2px 0 10px;
}

.panel-select-wrap {
  position: relative;
  width: 100%;
}

.panel-select-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.panel-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 220;
  padding: 0;
  border: 1px solid #e6e0d8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(34, 28, 22, 0.2);
}

.panel-select-item {
  display: flex;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: #fff;
  color: #3a3631;
  font-family: inherit;
  font-size: 11px;
  text-align: left;
  cursor: pointer;
}

.panel-select-item:first-child {
  border-radius: 5px 5px 0 0;
}

.panel-select-item:last-child {
  border-radius: 0 0 5px 5px;
}

.panel-select-item:hover,
.panel-select-item.active {
  background: #fbf1f5;
  color: #ec5f92;
}

/* Elementos: buscador con el mismo alto/ancho que el editor real */
.ed-panel .search-box {
  display: block;
  height: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0 0 10px;
  background: transparent;
  color: #9b9b9b;
  width: 100%;
  max-width: none;
}
.ed-panel[data-panel="elements"] .panel-scroll {
  padding-top: 0;
}
.ed-panel .search-box svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #9b9b9b;
}
.ed-panel .search-box input {
  width: 100%;
  height: 39px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 0 12px 0 33px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  color: #3a352f;
  background: #fff;
  outline: none;
}

/* Elementos: geometría medida contra el editor real */
.ed-panel .panel-head {
  padding-bottom: 5px;
}
.elem-category[data-category="basics"] {
  margin-top: 18px;
}
.elem-category[data-category="basics"] .panel-section-title {
  margin-bottom: 3.5px;
}
.elem-category[data-category="basics"] .panel-hint {
  margin-bottom: 6.5px;
}
.elem-category[data-category="basics"] .elem-grid {
  position: relative;
  top: 0;
}
.elem-category[data-category="event"] {
  margin-top: 17.7px;
}
.elem-category[data-category="event"] .panel-section-title {
  margin-bottom: 3.5px;
}
.elem-category[data-category="event"] .panel-hint {
  margin-bottom: 6.5px;
}
.elem-category[data-category="event"] .elem-grid {
  position: relative;
  top: 0;
}

.elem-category[data-category="buttons"] {
  margin-top: 17.7px;
}
.elem-category[data-category="buttons"] .elem-grid {
  position: relative;
  top: 1.5px;
}
.elem-category[data-category="media"] {
  margin-top: 19.5px;
}
.elem-category[data-category="media"] .elem-grid {
  position: relative;
  top: 1.5px;
}
.elem-category[data-category="presets"] {
  margin-top: 17.5px;
}
.elem-category[data-category="presets"] .panel-section-title {
  margin-bottom: 3.5px;
}
.elem-category[data-category="presets"] .panel-hint {
  margin-bottom: 6.5px;
}
.elem-category[data-category="presets"] .elem-grid {
  position: relative;
  top: 0;
}

.rsvp-title-textarea {
  width: 100%;
  height: 41px;
  min-height: 41px;
  padding: 0;
  border: 0;
  background: transparent;
  resize: none;
  outline: none;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  color: #000;
  line-height: 20.25px;
  overflow: hidden;
}

.rsvp-name-hint {
  margin: 8px 0 10px;
}

.rsvp-color-row {
  width: 100%;
  height: 32px;
  flex: 0 0 32px;
  justify-content: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rsvp-color-row input[type="color"] {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 5px;
  background: transparent;
}

.rsvp-color-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
  color: #212529;
}

.rsvp-color-title {
  margin: 32px 0 2px 13px;
  font-size: 13px;
  font-weight: 800;
  line-height: 19.5px;
}
.rsvp-auto-field {
  width: 100%;
  height: 34.3px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
  outline: none;
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.38);
  padding: 8.5px 14px;
}
.rsvp-auto-field + .rsvp-auto-field {
  margin-top: 8px;
}
.rsvp-auto-field + .rsvp-btn-row {
  margin-top: 5px;
}


.rsvp-panel .segmented {
  margin-top: 16px;
}
.rsvp-panel .panel-hint {
  margin-bottom: 4px;
}
.rsvp-panel .rsvp-name-hint {
  margin: 8px 0 10px;
}
.rsvp-panel .panel-section-title {
  margin-bottom: 4px;
}
.rsvp-panel .rsvp-preview {
  margin-top: 23px;
}
.rsvp-panel .rsvp-title-form {
  padding: 8px 6px;
  margin-bottom: 8.4px;
}
.rsvp-panel .rsvp-insert + .rsvp-insert {
  margin-top: 30px;
}


@media (min-width: 1600px) {
  .ed-rail {
    width: 72px;
    padding-left: 4px;
    padding-right: 4px;
  }
  .ed-panel {
    width: 300px;
  }
  .panel-head {
    padding: 17px 16px 10px 17px;
  }
  .panel-scroll {
    padding: 4px 16px 26px 17px;
  }
}


.rsvp-settings {
  margin-top: 16px;
  padding: 10.8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.016);
}
.rsvp-settings-title {
  margin: 0 0 2px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 20px;
  color: #212529;
}
.rsvp-settings-sub {
  margin: 0 0 10px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 17px;
  color: rgba(0, 0, 0, 0.6);
}
.rsvp-settings .rsvp-color-row {
  width: 100%;
  margin-left: 0;
}

/* ============================================================
   RSVP panel — paridad con el editor real (medido en vivo)
   ============================================================ */

/* Rail / panel / cabecera: geometría del editor real */
.ed-rail {
  width: 72px;
  padding: 8px 4px;
}
.rail-btn {
  width: 64px;
  min-height: 58px;
  padding: 7px 2px;
}
.ed-panel {
  width: 300px;
}
.panel-head {
  padding: 14px 12px 10px 17px;
  gap: 8px;
}
.panel-title {
  color: #212529;
  letter-spacing: -0.2px;
}
.panel-sub {
  margin: 4px 0 0;
  color: rgba(0, 0, 0, 0.6);
  line-height: 16.2px;
}
.panel-close {
  width: 34px;
  height: 34px;
}
.panel-scroll {
  padding: 4px 16px 26px 17px;
  scrollbar-width: none;
}
.panel-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.rsvp-panel {
  margin-top: 12px;
}

.rsvp-panel .segmented {
  display: flex;
  height: 39px;
  margin: 0;
  padding: 2px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
  overflow: visible;
  gap: 0;
}
.rsvp-panel .segmented button {
  flex: 1 1;
  height: 35px;
  padding: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 21px;
  cursor: pointer;
}
.rsvp-panel .segmented button.active {
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
}

.rsvp-hint {
  margin: 16px 0 0;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
}

.rsvp-panel .rsvp-preview {
  width: 267px;
  max-width: none;
  margin: 16px 0 0;
  padding: 14px 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  box-sizing: border-box;
  transition: box-shadow 0.2s ease;
}
.rsvp-panel .rsvp-preview.is-bg-active {
  box-shadow: 0 0 0 4px rgba(255, 142, 195, 0.12);
}

.rsvp-panel .rsvp-title-form {
  margin: 0 0 12px;
  padding: 8px 6px 9px;
  border-radius: 6px;
  cursor: text;
  transition: box-shadow 0.2s ease;
}
.rsvp-panel .rsvp-title-form.is-active {
  box-shadow: 0 0 0 4px rgba(255, 142, 195, 0.12);
}

.rsvp-panel .rsvp-title-textarea {
  display: block;
  width: 100%;
  height: 41px;
  min-height: 41px;
  padding: 0;
  border: 0;
  background: transparent;
  resize: none;
  outline: none;
  overflow: hidden;
  color: #000;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 700;
  line-height: 20.25px;
  text-align: center;
}

.rsvp-panel .rsvp-btn-row {
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: 39.6px;
  box-sizing: border-box;
  margin: 0;
  padding: 6.8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: text;
  transition: box-shadow 0.2s ease;
}
.rsvp-panel .rsvp-btn-row + .rsvp-btn-row {
  margin-top: 6px;
}
.rsvp-panel .rsvp-btn-row.is-active {
  box-shadow: 0 0 0 4px rgba(255, 142, 195, 0.12);
}
.rsvp-panel .rsvp-btn-input {
  display: block;
  width: 100%;
  height: 18.7px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 23px;
  text-align: center;
}

.rsvp-panel .rsvp-auto-fields {
  display: flex;
  flex-direction: column;
}
.rsvp-panel .rsvp-auto-field {
  width: 100%;
  height: 34.3px;
  box-sizing: border-box;
  margin: 0;
  padding: 8.5px 14px;
  border: 1px solid rgba(0, 0, 0, 0.26);
  border-radius: 6px;
  background: #fff;
  outline: none;
  color: rgba(0, 0, 0, 0.38);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 17.25px;
}
.rsvp-panel .rsvp-auto-fields .rsvp-auto-field + .rsvp-auto-field {
  margin-top: 8px;
}
.rsvp-panel .rsvp-auto-fields .rsvp-btn-row {
  margin-top: 8px;
}

.rsvp-panel .rsvp-settings {
  margin-top: 16px;
  padding: 10.8px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.016);
  box-sizing: border-box;
}
.rsvp-panel .rsvp-settings-title {
  margin: 0 0 2px;
  color: #212529;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  line-height: 19.5px;
}
.rsvp-panel .rsvp-settings-sub {
  margin: 0 0 10px;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
}

.rsvp-panel .rsvp-color-stack {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.rsvp-panel .rsvp-color-stack.multi {
  flex-direction: row;
  gap: 16px;
}
.rsvp-panel .rsvp-color-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rsvp-panel .rsvp-color-swatch {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  cursor: pointer;
}
.rsvp-panel .rsvp-color-swatch input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}
.rsvp-panel .rsvp-color-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rsvp-panel .rsvp-color-name {
  margin: 0;
  color: #212529;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
}
.rsvp-panel .rsvp-color-hex {
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
  text-transform: uppercase;
}

.rsvp-panel .rsvp-insert-chip {
  align-self: flex-start;
  height: 24px;
  margin-top: 10px;
  padding: 0 8px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 19.5px;
  white-space: nowrap;
  cursor: pointer;
}

.rsvp-panel .rsvp-bg-toggle {
  display: inline-flex;
  align-items: center;
  margin: 16px 0 0;
  padding: 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 22.75px;
  cursor: pointer;
}
.rsvp-panel .rsvp-bg-toggle.is-active {
  color: #ff8ec3;
}

/* Correcciones de geometría del panel (especificidad) */
.ed-panel {
  border-right: 0;
  box-shadow: inset -1px 0 0 var(--line);
}
.ed-panel .panel-head {
  padding: 14px 12px 10px 17px;
}
.panel-head > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}
.panel-close {
  padding: 0;
}

/* ============================================================
   Panel Calendario — paridad con el editor real (medido en vivo)
   ============================================================ */

.ed-panel .panel-close {
  margin-top: -2px;
}

.ed-panel[data-panel="calendar"] .panel-scroll {
  padding: 16px 31px 16px 17px;
}

.cal-panel {
  display: flex;
  flex-direction: column;
  font-family: var(--font-ui);
  color: #212529;
}

.cal-card {
  margin-top: 16px;
  padding: 10.8px 12px;
  background: rgba(0, 0, 0, 0.016);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
}
.cal-panel > .cal-card:first-child {
  margin-top: 0;
}

.cal-card-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 19.5px;
  color: #212529;
}

.cal-plain {
  margin-top: 16px;
}

.cal-caption {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 19.92px;
  color: rgba(0, 0, 0, 0.6);
}

/* --- Diseño: tarjetas de previsualización --- */
.cal-designs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  gap: 10px;
}
.cal-design {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  text-align: center;
  font-family: var(--font-ui);
}
.cal-design.active {
  background: rgba(255, 142, 195, 0.12);
  border-color: #ff8ec3;
}
.cal-design-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 125.3px;
  border-radius: 6px;
  overflow: hidden;
}
.cal-design-classic {
  padding-top: 8px;
  background: #faf6f0;
}
.cal-design-brush {
  padding-top: 4px;
  background: #e2eaf3;
}
.cal-mini-script {
  font-family: "Mrs Saint Delafield", cursive;
  font-size: 13px;
  line-height: 13px;
  color: #1c1c1c;
  white-space: nowrap;
}
.cal-mini-month {
  margin-top: 2px;
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 15px;
  line-height: 18px;
  color: #1c1c1c;
}
.cal-mini-year {
  font-family: Montserrat, sans-serif;
  font-size: 6px;
  line-height: 9px;
  letter-spacing: 2.4px;
  color: #1c1c1c;
}
.cal-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 4px);
  grid-auto-rows: 4px;
  grid-gap: 3px;
  gap: 3px;
  margin-top: 6px;
}
.cal-design-brush .cal-mini-grid {
  margin-top: 4px;
}
.cal-mini-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(28, 28, 28, 0.55);
}
.cal-mini-dot.light {
  background: #ffffff;
}
.cal-mini-brushhead {
  position: relative;
  width: 92px;
  height: 50px;
  flex-shrink: 0;
}
.cal-mini-day {
  font-family: "Kaushan Script", cursive;
  font-size: 44px;
  line-height: 50px;
  color: #ffffff;
  display: block;
}
.cal-mini-monthname {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  font-family: "Herr Von Muellerhoff", cursive;
  font-size: 24px;
  line-height: 24px;
  color: #1c1c1c;
}
.cal-design-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.6);
}
.cal-design.active .cal-design-label {
  color: #ff8ec3;
}

/* --- Grupos segmentados (tabs) --- */
.cal-tabs {
  display: flex;
  margin-top: 12px;
  padding: 2px;
  height: 39px;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.03);
}
.cal-tab {
  flex: 1 1;
  height: 35px;
  padding: 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 21px;
  cursor: pointer;
}
.cal-tab.active {
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
}

/* --- Fecha --- */
.cal-datebox {
  margin-top: 12px;
  padding: 8.8px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
}
.cal-datebox-value {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 16.9px;
  color: #212529;
}
.cal-datebox-hint {
  margin: 1.6px 0 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 14.3px;
  color: rgba(0, 0, 0, 0.6);
}

.cal-datetime {
  position: relative;
  margin-top: 12px;
  height: 40px;
}
.cal-datetime-field {
  margin: 0;
  height: 40px;
  padding: 0 8px;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  display: flex;
  align-items: center;
}
.cal-datetime-field legend {
  padding: 0 4px;
  margin-left: 8px;
  font-size: 12px;
  line-height: 11px;
  color: rgba(0, 0, 0, 0.6);
}
.cal-datetime-field input {
  width: 100%;
  height: 38px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 8.5px 34px 8.5px 6px;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 23px;
  color: rgba(0, 0, 0, 0.87);
}
.cal-datetime-field input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.cal-datetime-icon {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(0, 0, 0, 0.54);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.cal-datetime-icon:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* --- Marca del día --- */
.cal-tabs-marks {
  margin-top: 8px;
  height: 49.2px;
  border-radius: 10px;
}
.cal-mark {
  flex: 1 1;
  height: 45.2px;
  padding: 6px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.cal-mark.active {
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
}
.cal-mark-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
}
.cal-mark-ring {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid currentColor;
}
.cal-mark-heart {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.cal-mark-oval {
  width: 20px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.cal-colors {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.cal-colors-single {
  margin-top: 12px;
}
.cal-color-row {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.cal-swatch-wrap {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.cal-swatch-wrap input[type="color"] {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.cal-swatch-wrap input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.cal-swatch-wrap input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: 6px;
}
.cal-color-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cal-color-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 14.4px;
  color: #212529;
}
.cal-color-hex {
  font-size: 11px;
  font-weight: 600;
  line-height: 16.5px;
  color: rgba(0, 0, 0, 0.6);
}

/* --- Interruptores --- */
.cal-switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 24px;
}
.cal-switch {
  position: relative;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  flex-shrink: 0;
  cursor: pointer;
}
.cal-switch-track {
  position: absolute;
  top: 7px;
  left: 4px;
  width: 26px;
  height: 10px;
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0.5;
  transition: background 0.15s ease, opacity 0.15s ease;
}
.cal-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fafafa;
  box-shadow: 0 2px 1px -1px rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 1px 3px 0 rgba(0, 0, 0, 0.12);
  transition: transform 0.15s ease, background 0.15s ease;
}
.cal-switch.on .cal-switch-track {
  background: #ff8ec3;
  opacity: 0.5;
}
.cal-switch.on .cal-switch-thumb {
  transform: translateX(16px);
  background: #ff8ec3;
}
.cal-switch-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  color: #212529;
}

/* --- Pincelada --- */
.cal-tabs-brushes {
  margin-top: 8px;
  height: 58.4px;
  border-radius: 10px;
}
.cal-brush {
  flex: 1 1;
  height: 54.4px;
  padding: 6px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  line-height: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}
.cal-brush.active {
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
}
.cal-brush-none {
  font-size: 14px;
  font-weight: 700;
  line-height: 12px;
}
.cal-brush-glyph {
  width: 26px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}
.cal-brush svg path {
  fill: currentColor;
}

/* --- Semana --- */
.cal-week-section .cal-tabs {
  margin-top: 6px;
}

.cal-footer-hint {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 17.4px;
  color: rgba(0, 0, 0, 0.6);
}

/* Ritmo del grupo flotante (medido en el editor real) */
.ed-toolbar {
  gap: 0;
}
.ed-toolbar > * + * {
  margin-left: 4px;
}
.ed-toolbar > .tb-divider {
  margin-left: 4px;
  margin-right: 0;
}
.ed-toolbar > .tb-btn + .tb-divider {
  margin-left: 4px;
}
.tb-btn.tb-cal-edit {
  gap: 0;
}
.tb-btn.tb-cal-edit svg {
  margin-left: -2px;
  margin-right: 4px;
}
.tb-btn.tb-cal-animate {
  margin-right: 5px;
}
.ed-toolbar {
  top: 12px;
}

/* Interruptores del calendario: geometría real (raíz 40, pista x7, pulgar x4→+16) */
.cal-switch-row {
  gap: 0;
}
.cal-switch {
  width: 40px;
}
.cal-switch-track {
  left: 7px;
}
.cal-switch-label {
  line-height: 19.5px;
}
.cal-colors-single {
  margin-top: 10px;
}
.cal-mark-heart {
  fill: currentColor;
  stroke: none;
}
.cal-mark-oval {
  width: 18px;
  height: 10px;
  fill: currentColor;
  stroke: none;
}

/* Geometría fina del panel de calendario (medida en el editor real) */
.ed-root {
  grid-template-rows: 65px 1fr 56px;
}
.ed-top {
  min-height: 65px;
}
.cal-datebox {
  min-height: 50.4px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cal-tabs-marks .cal-mark {
  flex: 0 0 56.3px;
  margin: 0 -0.5px;
}
.cal-tabs-brushes .cal-brush {
  flex: 0 0 74.7px;
  margin: 0 -0.5px;
}
.cal-week-section .cal-caption {
  line-height: 24px;
}
.cal-tabs-marks .cal-mark,
.cal-tabs-brushes .cal-brush {
  line-height: 13.2px;
}
.cal-tabs-marks .cal-mark:first-child,
.cal-tabs-brushes .cal-brush:first-child {
  margin-left: 0;
}

/* ===== Barras flotantes: estructura medida en el editor real ===== */
.tb-group {
  display: flex;
  align-items: center;
  min-width: 0;
}
.tb-group > * + * {
  margin-left: 4px;
}
.ed-toolbar-text .tb-group > * + * {
  margin-left: 2px;
}
.ed-toolbar > .tb-divider,
.tb-group > .tb-divider {
  align-self: stretch;
  height: auto;
  margin: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.tb-btn.tb-font {
  width: 88px;
  min-width: 88px;
  max-width: 88px;
  height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}
.tb-sizegroup {
  display: flex;
  align-items: center;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}
.tb-sizegroup > * {
  margin-left: 0;
}
.tb-sizefield {
  width: 40px;
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tb-sizegroup .tb-sizeinput {
  width: 36px;
  height: 31px;
  margin: 0;
  padding: 4px 0;
}
.tb-btn.tb-colorbtn {
  width: 28px;
  min-width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 4px;
}
.tb-btn.tb-spacing {
  background: rgba(255, 142, 195, 0.12);
}
.tb-btn.tb-pill {
  height: 28px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 600;
  line-height: 19.25px;
}
.tb-btn.tb-pill.tb-voltear {
  font-size: 12px;
  line-height: 21px;
}
.tb-btn.tb-upload {
  height: 50px;
  min-width: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
  white-space: normal;
  text-align: center;
}
.tb-btn.tb-adjust {
  background: rgba(255, 255, 255, 0.12);
}
.tb-btn.tb-forma {
  display: inline-flex;
  align-items: center;
  height: 29px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}
.tb-forma-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 8px;
  flex-shrink: 0;
}
.ed-toolbar-image .tb-forma {
  width: 70px;
  padding: 0 4px;
}
.ed-toolbar-image .tb-forma-icon {
  margin-left: 0;
  margin-right: 8px;
}
.tb-btn.tb-fecha {
  height: 29px;
  padding: 4px 10px;
  background: rgba(255, 142, 195, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}
.tb-btn.tb-fecha svg {
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 4px;
}
.ed-toolbar > .tb-divider {
  margin: 0 0 0 4px;
}
.tb-group > .tb-divider {
  margin: 0 0 0 4px;
}
.ed-toolbar-text .tb-group > .tb-divider {
  margin-left: 2px;
}
.tb-btn.tb-forma,
.tb-btn.tb-fecha {
  gap: 0;
}
.tb-btn.tb-upload {
  width: 78.7px;
}
.ed-toolbar {
  left: calc(50% + 0.5px);
}
.tb-sizefield {
  justify-content: flex-start;
}

/* ===== Barra de Música (medida en el editor real) ===== */
.tb-btn.tb-music-change {
  width: 85.5px;
  min-width: 85.5px;
  height: 50px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
  white-space: normal;
  text-align: center;
  color: #fff;
}
.tb-btn.tb-music-change:hover {
  background: rgba(255, 255, 255, 0.2);
}
.tb-btn.tb-music-edit {
  width: 68.3px;
  min-width: 68.3px;
  height: 29px;
  padding: 4px 12px;
  gap: 0;
  border-radius: 999px;
  background: rgba(255, 142, 195, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
  color: #fff;
}
.tb-btn.tb-music-edit:hover {
  background: rgba(255, 142, 195, 0.2);
}
.tb-btn.tb-music-edit .tb-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 8px;
  flex-shrink: 0;
}
.tb-btn.tb-music-edit svg {
  width: 18px;
  height: 18px;
}
.tb-switch-label {
  display: inline-flex;
  align-items: center;
  height: 24px;
  cursor: pointer;
}
.tb-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 24px;
  padding: 7px;
  box-sizing: border-box;
  flex-shrink: 0;
  cursor: pointer;
}
.tb-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #9e9e9e;
  transition: transform 150ms ease, background-color 150ms ease;
  z-index: 1;
}
.tb-switch-track {
  display: block;
  width: 26px;
  height: 10px;
  border-radius: 7px;
  background: #bdbdbd;
  transition: background-color 150ms ease, opacity 150ms ease;
}
.tb-switch.on .tb-switch-thumb {
  transform: translateX(16px);
  background: #ff8ec3;
}
.tb-switch.on .tb-switch-track {
  background: #ff8ec3;
  opacity: 0.5;
}
.tb-switch-text {
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  color: #fff;
  white-space: nowrap;
}
.tb-btn.tb-font.tb-font-strong {
  background: rgba(255, 255, 255, 0.16);
}
.tb-btn.tb-borderbtn {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
}
.tb-btn.tb-borderbtn svg {
  width: 20px;
  height: 20px;
}
.tb-music-group > input[type="file"] {
  display: none;
  margin: 0;
}
.tb-music-group > input[type="file"] + * {
  margin-left: 0;
}

/* ===== Estructura del editor: pie dentro de la columna del lienzo ===== */
.ed-root {
  grid-template-rows: 65px 1fr;
}
.ed-main {
  flex: 1 1;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ed-bottom {
  height: 48px;
  flex-shrink: 0;
}

/* ===== Panel de Capas (medido en el editor real) ===== */
.ed-panel[data-panel="layers"] .panel-head {
  height: 56px;
  box-sizing: border-box;
  padding: 12px 12px 10px 17px;
}
.ed-panel[data-panel="layers"] .panel-head > div:first-child {
  padding-top: 2px;
}
.ed-panel[data-panel="layers"] .panel-scroll {
  padding: 12px 12px 26px 13px;
}
.ed-panel[data-panel="layers"] .layer-hint {
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 19.92px;
  color: rgba(0, 0, 0, 0.6);
  font-family: var(--font-ui);
}
.ed-panel[data-panel="layers"] .layer-list {
  gap: 0;
}
.ed-panel[data-panel="layers"] .layer-row {
  margin-top: 4px;
  padding: 6px 8px;
  gap: 4px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
  align-items: center;
}
.ed-panel[data-panel="layers"] .layer-row.selected {
  border-color: #ff8ec3;
  background: rgba(255, 142, 195, 0.12);
  box-shadow: none;
}
.ed-panel[data-panel="layers"] .layer-row:hover {
  border-color: rgba(0, 0, 0, 0.32);
}
.ed-panel[data-panel="layers"] .layer-grip {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
}
.ed-panel[data-panel="layers"] .layer-grip svg {
  width: 18px;
  height: 18px;
}
.ed-panel[data-panel="layers"] .layer-info {
  display: block;
  min-width: 0;
  flex: 1 1;
  font-size: 16px;
  line-height: 24px;
}
.ed-panel[data-panel="layers"] .layer-name {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  line-height: 16.8px;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ed-panel[data-panel="layers"] .layer-type {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 400;
  line-height: 14.4px;
  color: rgba(0, 0, 0, 0.6);
}
.ed-panel[data-panel="layers"] .layer-hint {
  font-family: "JetBrains Mono", monospace;
  padding-left: 4px;
}

/* ===== Pie del editor (medido en el editor real) ===== */
.ed-bottom {
  background: #fafafa;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding: 0 12px;
}
.zoom-box,
.section-nav {
  height: 34px;
  box-sizing: border-box;
  padding: 2px 8px;
  gap: 4px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.zoom-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.6);
  padding: 0 4px;
  margin: 0;
}
.zoom-box .zoom-fit {
  width: 26px;
  height: 26px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.54);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.zoom-box .zoom-fit svg {
  width: 16px;
  height: 16px;
}
.zoom-box > .zoom-fit:last-child {
  width: 28px;
  height: 28px;
}
.zoom-box > .zoom-fit:last-child svg {
  width: 18px;
  height: 18px;
}
.zoom-range {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 140px;
  height: 28px;
  margin: 0;
  background: transparent;
  accent-color: var(--pink);
}
.zoom-range::-webkit-slider-runnable-track {
  height: 2px;
  border-radius: 12px;
  background: #d4d4d8;
}
.zoom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  margin-top: -5px;
  border-radius: 50%;
  background: #ff8ec3;
}
.zoom-range::-moz-range-track {
  height: 2px;
  border-radius: 12px;
  background: #d4d4d8;
}
.zoom-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: #ff8ec3;
}
.zoom-value {
  display: inline-flex;
  align-items: center;
  gap: 5.8px;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}
.zoom-value .zoom-pct {
  width: 34px;
  height: 24px;
  box-sizing: border-box;
  padding: 2px 4px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: rgba(0, 0, 0, 0.87);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  outline: none;
}
.zoom-pct-sign {
  font-size: 12px;
  font-weight: 700;
  line-height: 12px;
  color: rgba(0, 0, 0, 0.6);
}
.section-nav > span:first-child,
.section-nav .nav-count {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.section-nav > span:first-child {
  color: rgba(0, 0, 0, 0.6);
  padding: 0 4px;
}
.section-nav .nav-count {
  color: rgba(0, 0, 0, 0.87);
  min-width: 56px;
  text-align: center;
}
.section-nav button {
  width: 28px;
  height: 28px;
  padding: 5px;
  border: 0;
  background: transparent;
  color: rgba(0, 0, 0, 0.54);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.section-nav button svg {
  width: 18px;
  height: 18px;
}
.zoom-box,
.section-nav {
  border: 1px solid rgba(0, 0, 0, 0.12);
}

/* ===== Barra de Sección (medida en el editor real) ===== */
.ed-toolbar-section {
  padding: 4px 10px;
}
.ed-toolbar-section > * + * {
  margin-left: 6px;
}
.ed-toolbar-section > .tb-divider {
  margin-left: 6px;
  height: 34px;
  align-self: center;
}
.tb-section-name {
  width: 120px;
  height: 34px;
  box-sizing: border-box;
  padding: 4px 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  outline: none;
}
.tb-section-height {
  display: flex;
  align-items: center;
  height: 34px;
}
.tb-section-height > * + * {
  margin-left: 0;
}
.tb-section-height .tb-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 19.92px;
  color: #fff;
  white-space: nowrap;
}
.tb-btn.tb-step {
  width: 26px;
  min-width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
}
.tb-btn.tb-step svg {
  width: 16px;
  height: 16px;
}
.tb-section-input {
  width: 52px;
  height: 34px;
  box-sizing: border-box;
  padding: 4px 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-align: center;
  outline: none;
  margin-left: 0;
}
.ed-toolbar-section .tb-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 19.92px;
  color: #fff;
}
.tb-btn.tb-ico30 {
  width: 30px;
  min-width: 30px;
  height: 30px;
  padding: 5px;
  border-radius: 50%;
}
.tb-btn.tb-ico30 svg {
  width: 20px;
  height: 20px;
}
.tb-btn.tb-section-animate {
  height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.tb-btn.tb-section-animate:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ed-toolbar-section .tb-label {
  font-family: "JetBrains Mono", monospace;
  padding: 0;
}
.ed-toolbar-section > .tb-btn + .tb-divider {
  margin-left: 6px;
}
.tb-btn.tb-section-animate {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

/* ===== Barra de Confirmación (medida en el editor real) ===== */
.ed-toolbar {
  max-width: 720px;
  overflow: hidden;
  scrollbar-width: none;
}
.ed-toolbar::-webkit-scrollbar {
  display: none;
}
.ed-toolbar > *,
.tb-group > * {
  flex-shrink: 0;
}
.tb-btn.tb-rsvp-pill {
  height: 29px;
  padding: 4px 12px;
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}
.tb-btn.tb-rsvp-pill:hover {
  background: rgba(255, 142, 195, 0.2);
}
.tb-rsvp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  flex-shrink: 0;
}
.tb-rsvp-icon svg {
  width: 18px;
  height: 18px;
}
.tb-rsvp-icon {
  margin-left: -2px;
  margin-right: 4px;
}

/* ===== Barra de Botón con enlace (medida en el editor real) ===== */
.ed-toolbar-linkbtn .tb-sizefield {
  width: 20.6px;
}
.ed-toolbar-linkbtn .tb-sizegroup .tb-sizeinput {
  width: 20.6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
}
.tb-btn.tb-pill.tb-link-btn {
  width: 64.9px;
  min-width: 64.9px;
  height: 29px;
  padding: 4px 3px;
  gap: 4px;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}
.tb-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.tb-link-icon svg {
  width: 18px;
  height: 18px;
}
.tb-btn.tb-pill.tb-link-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.ed-toolbar-linkbtn .tb-url {
  height: 26.7px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 13px;
}

/* ===== Barras de Ubicación, Galería y QR (medidas en el editor real) ===== */
.ed-toolbar-map,
.ed-toolbar-qr,
.ed-toolbar-gallery {
  gap: 0;
  padding: 4px 8px;
}

.tb-mgroup {
  display: flex;
  align-items: center;
  margin-right: 0;
}

.ed-toolbar-map .tb-mgroup {
  margin-right: 5px;
}

.tb-footer-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tb-divider.tb-mdivider {
  margin: 0;
  height: 29px;
}

.ed-toolbar-gallery > .tb-divider.tb-mdivider {
  margin: 0 0 0 4px;
}

.tb-btn.tb-pill.tb-animar {
  height: 28px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 19.25px;
}

.tb-btn.tb-pill.tb-map-pill {
  gap: 0;
  height: 29px;
  padding: 4px 10px;
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}

.tb-btn.tb-pill.tb-map-pill:hover {
  background: rgba(255, 142, 195, 0.2);
}

.tb-map-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 4px;
  flex-shrink: 0;
}

.tb-map-icon svg {
  width: 18px;
  height: 18px;
}

.tb-btn.tb-pill.tb-open-pill {
  gap: 0;
  height: 29px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}

.tb-open-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 4px;
  flex-shrink: 0;
}

.tb-open-icon svg {
  width: 18px;
  height: 18px;
}

.tb-btn.tb-pill.tb-gallery-pill {
  gap: 0;
  height: 29px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}

.tb-gallery-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 4px;
  flex-shrink: 0;
}

.tb-gallery-icon svg {
  width: 18px;
  height: 18px;
}

.tb-gallery-count {
  padding: 0 4px;
  font-family: "JetBrains Mono", monospace;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 400;
  line-height: 19.92px;
  flex-shrink: 0;
}

.tb-btn.tb-pill.tb-quitar-marca {
  height: 28px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 600;
  line-height: 19.25px;
}

/* ===== Panel de Ubicación ===== */
.ed-panel[data-panel="map"] .panel-scroll,
.ed-panel[data-panel="gallery"] .panel-scroll {
  padding: 16px;
}

.panel-outlined {
  position: relative;
  display: block;
  width: 100%;
  height: 56px;
}

.panel-outlined input {
  width: 100%;
  height: 56px;
  padding: 0 13px;
  border: 1px solid rgba(0, 0, 0, 0.23);
  border-radius: 10px;
  background: transparent;
  color: rgba(0, 0, 0, 0.87);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  outline: none;
}

.panel-outlined input:focus {
  border-color: #ff8ec3;
}

.panel-outlined span {
  position: absolute;
  left: 14px;
  top: 16px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 16px;
  line-height: 23px;
  pointer-events: none;
  transition: all 0.12s ease;
}

.panel-outlined input:focus + span,
.panel-outlined input:not(:placeholder-shown) + span {
  top: -9px;
  left: 10px;
  padding: 0 5px;
  background: #fff;
  font-size: 12px;
  line-height: 16px;
}

/* ===== Panel de Galería de fotos ===== */
.gpanel {
  display: block;
}

.gpanel-section {
  margin: 0 0 8px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 11px;
  font-weight: 800;
  line-height: 16.5px;
}

.gpanel-gap {
  margin-top: 20px;
}

.gpanel-design-row,
.gpanel-fit-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.gpanel-option {
  flex: 1 1;
  min-width: 0;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.03);
  color: rgba(0, 0, 0, 0.87);
  font-family: inherit;
  text-align: center;
  cursor: pointer;
}

.gpanel-option.active {
  border-color: #ff8ec3;
  background: rgba(255, 142, 195, 0.12);
}

.gpanel-option.active .gpanel-option-label {
  color: #ff8ec3;
}

.gpanel-preview {
  display: block;
  height: 88px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.55);
}

.gpanel-option-label {
  display: block;
  padding: 6px 0;
  color: rgba(0, 0, 0, 0.87);
  font-size: 11px;
  font-weight: 700;
  line-height: 16.5px;
}

.gp-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
  border-radius: 6px;
  background: #18181b;
}

.gp-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.gp-slide {
  flex: 0 0 100%;
  height: 100%;
}

.gp-slide:nth-child(n + 2) {
  display: none;
}

.gp-carousel::before,
.gp-carousel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.gp-carousel::before {
  left: 4px;
}

.gp-carousel::after {
  right: 4px;
}

.gp-arrow {
  display: none;
}

.gp-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.gp-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.gp-dots i.on {
  background: #fff;
}

.gp-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.gp-cards i {
  width: 52%;
  height: 60px;
  margin: 0 -18%;
  border: 2px solid #fff;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.gp-cards i:nth-child(1) {
  transform: rotate(-8deg) scale(0.86);
}

.gp-cards i:nth-child(2) {
  transform: rotate(-2deg) scale(0.94);
}

.gp-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  margin: 0 auto;
  border: 1px solid #a1a1aa;
  border-radius: 3px;
  background: #e4e4e7;
  overflow: hidden;
}

.gpanel-fit:nth-child(2) .gp-frame {
  background: #f4f4f5;
}

.gp-img {
  display: block;
  background: #71717a;
}

.gp-cover {
  width: 50px;
  height: 38px;
}

.gp-contain {
  width: 22px;
  height: 16px;
}

.gp-stretch {
  width: 40px;
  height: 32px;
}

.gpanel-hint {
  margin: 10px 0 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.8px;
}

.gpanel-count {
  margin: 8px 0 10px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 20.02px;
}

.gpanel-add {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 36.5px;
  padding: 6px 16px;
  border-radius: 10px;
  background: #ff8ec3;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 24.5px;
  cursor: pointer;
}

.gpanel-add input {
  display: none;
}

.gpanel-add svg {
  width: 20px;
  height: 20px;
  margin-left: -4px;
}

.tb-mgroup > .tb-divider.tb-mdivider {
  margin-left: 4px;
}
.ed-toolbar-qr .tb-mgroup > .tb-divider.tb-mdivider {
  margin-left: 9px;
  height: 30px;
}

/* ===== Panel de Mesa de regalos (medido en el editor real) ===== */
.ed-panel[data-panel="gift"] .panel-scroll {
  padding: 12px 16px;
}

.gift-hint {
  margin: 0 0 16px;
  color: rgba(0, 0, 0, 0.6);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 19.575px;
}

.gift-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gift-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.gift-step-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1.2px;
  border-radius: 50%;
  background: rgba(255, 142, 195, 0.12);
  color: #ff8ec3;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  flex-shrink: 0;
}

.gift-step-title {
  margin: 0;
  color: #212529;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 20.25px;
}

.gift-step-text {
  margin: 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 400;
  line-height: 18.2px;
}

.panel-footer {
  flex-shrink: 0;
  padding: 12px 16px;
}

.panel-footer-btn {
  width: 100%;
  height: 34.8px;
  padding: 5px 15px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: #fff;
  color: #ff8ec3;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 22.75px;
  cursor: pointer;
}

/* ===== Barras de Video, streaming y botón copiar (medidas en el editor real) ===== */
.tb-btn.tb-pill.tb-upload-video {
  height: 50px;
  font-size: 12px;
  font-weight: 600;
  line-height: 21px;
}

.tb-btn.tb-pink-active {
  background: rgba(255, 142, 195, 0.12);
}

.tb-btn.tb-pink-active:hover {
  background: rgba(255, 142, 195, 0.2);
}

.tb-btn.tb-info-btn svg {
  width: 18px;
  height: 18px;
}

.tb-url.tb-stream-field {
  width: 211.4px;
  min-width: 211.4px;
  height: 26.7px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.tb-url.tb-media-field {
  width: 180px;
  min-width: 180px;
  height: 26.7px;
  padding: 0 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.tb-url.tb-stream-field::placeholder,
.tb-url.tb-media-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.tb-btn.tb-pill.tb-copy-pill {
  width: 89.06px;
  height: 50px;
  padding: 4px 10px;
  gap: 0;
  white-space: normal;
  line-height: 21px;
  text-align: center;
}

.tb-copy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-left: -2px;
  margin-right: 4px;
  flex-shrink: 0;
}

.tb-copy-icon svg {
  width: 18px;
  height: 18px;
}

.tb-copy-field {
  width: 153.1px;
  min-width: 153.1px;
  height: 26.7px;
  padding: 4px 14px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  line-height: 18.6875px;
  outline: none;
}

.tb-copy-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Ajustes finos del botón para copiar */
.ed-toolbar-copy .tb-sizefield {
  width: 12.7px;
}
.ed-toolbar-copy .tb-sizegroup .tb-sizeinput {
  width: 12.7px;
  font-size: 16px;
  font-weight: 600;
  line-height: 23px;
}
.ed-toolbar-copy .tb-btn.tb-spacing {
  background: transparent;
}
.tb-btn.tb-colorbtn {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Recorte real de la barra de video y de YouTube/Pinterest */
.ed-toolbar-video {
  max-width: 566.8px;
}
.ed-toolbar-youtube {
  max-width: 528.5px;
}
.tb-btn.tb-pill.tb-upload-video {
  width: 53.6px;
  min-width: 53.6px;
  padding: 4px 6px;
  white-space: normal;
  text-align: center;
}

/* Media link help dialog (YouTube / Pinterest) */
.media-help-backdrop {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.5);
}

.media-help-card {
  width: 444px;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  color: rgba(0, 0, 0, 0.87);
  border-radius: 4px;
  padding: 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  font-family: inherit;
}

.media-help-card h2 {
  margin: 0;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: 800;
  line-height: 32px;
}

.media-help-content {
  padding: 0 24px 20px;
}

.media-help-card h3 {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  color: rgba(0, 0, 0, 0.87);
}

.media-help-card h3 + ul + h3,
.media-help-card h3:nth-of-type(2) {
  margin-top: 16px;
  margin-bottom: 6px;
}

.media-help-intro {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 20.3px;
  color: rgba(0, 0, 0, 0.6);
}

.media-help-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  line-height: 24px;
}

.media-help-card li {
  padding: 2.5px 0;
}

.media-help-examples {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  background: transparent;
}

.media-help-examples code {
  display: block;
  padding: 6.8px 10px;
  border-radius: 6px;
  background: rgba(255, 142, 195, 0.12);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  line-height: 19.2px;
  color: rgba(0, 0, 0, 0.87);
  overflow-wrap: anywhere;
}

.media-help-foot {
  margin: 16px 0 0;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.03);
  font-size: 13px;
  line-height: 18.2px;
  color: rgba(0, 0, 0, 0.87);
}

.media-help-actions {
  display: flex;
  justify-content: flex-end;
  padding: 8px 24px 16px;
  margin: 0;
}

.media-help-actions button {
  border: 0;
  border-radius: 999px;
  padding: 6px 16px;
  background: var(--pink, #ec5f92);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 24.5px;
  cursor: pointer;
}

/* ================================================================
   Panel del evento (panel-evento)
   ================================================================ */
.pn-shell {
  min-height: 100vh;
  background: #fff;
  color: #1a1a1a;
  font-family: var(--font-ui);
}

/* --- barra superior ------------------------------------------------ */
.pn-topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 60;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 26px 0 0;
  background: #f1faf5;
  border-bottom: 1px solid #e2f0e8;
}
.pn-mail {
  width: 72px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #1a1a1a;
  flex: 0 0 auto;
}
.pn-mail:hover { background: rgba(63, 174, 117, 0.08); }
.pn-topbar-copy {
  margin: 0;
  max-width: 480px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  color: #143d29;
}
.pn-topbar-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pn-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(63, 174, 117, 0.18);
  background: rgba(63, 174, 117, 0.08);
  color: #2f8f5f;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pn-topbar-cta-wrap {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.pn-topbar-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 8px;
  padding: 7px 14px;
  background: linear-gradient(180deg, #46b97f, #379d68);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  box-shadow: 0 2px 8px rgba(63, 174, 117, 0.3);
}
.pn-topbar-cta s { opacity: 0.75; font-weight: 500; }
.pn-topbar-cta strong { font-size: 13.5px; }
.pn-cta-arrow { font-size: 18px; line-height: 1; }
.pn-topbar-note { color: #5c6b62; font-size: 11px; }
.pn-premium-active {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  background: rgba(63, 174, 117, 0.12);
  border: 1px solid rgba(63, 174, 117, 0.3);
  color: #2f8f5f;
  font-weight: 700;
  font-size: 13px;
}

/* --- rail --------------------------------------------------------- */
.pn-rail {
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
  width: 72px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 0;
  background: #fff;
}
.pn-rail-item {
  height: 36px;
  width: 72px;
  display: grid;
  place-items: center;
  color: rgba(0, 0, 0, 0.6);
  transition: background 0.15s, color 0.15s;
}
.pn-rail-item:hover { background: #fafafa; color: #1a1a1a; }
.pn-rail-item.active { color: #ff8ec3; }
.pn-rail-help {
  margin-top: auto;
  margin-bottom: 16px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #6b6b6b;
}
.pn-help-circle {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border: 1.6px solid currentColor;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* --- main --------------------------------------------------------- */
.pn-main {
  margin-left: 72px;
  padding: 0 15px 56px 16px;
  min-height: calc(100vh - 60px);
}
.pn-page-head { padding-top: 14px; }
.pn-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #6d6d6d;
  font-size: 14px;
  min-height: 26px;
}
.pn-breadcrumb a { color: #6d6d6d; }
.pn-breadcrumb a:hover { color: var(--pink-strong); }
.pn-crumb-pill {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 16px;
  background: var(--pink-soft);
  color: var(--pink-strong);
  font-weight: 600;
  font-size: 14px;
}
.pn-page-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin: 6px 0 20px;
}
.pn-page-title {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.pn-page-sub {
  margin: 8px 0 0;
  color: #5c5c5c;
  font-size: 16px;
  line-height: 1.45;
}
.pn-page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* --- botones ------------------------------------------------------ */
.pn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  background: #fff;
  color: #1a1a1a;
  white-space: nowrap;
  transition: filter 0.15s, background 0.15s;
}
.pn-btn:hover { filter: brightness(0.97); }
.pn-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.pn-btn.primary { background: #f472a6; color: #fff; }
.pn-btn.green { background: #3fae75; color: #fff; }
.pn-btn.outline { border-color: var(--pink-line); color: var(--pink-strong); background: #fff; }
.pn-btn.soft { background: var(--pink-soft); color: var(--pink-strong); }
.pn-btn.ghost { border-color: #e6e6e6; color: #444; background: #fff; }
.pn-btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.pn-btn.block { width: 100%; }
.pn-icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
  color: #555;
}
.pn-link {
  border: 0;
  background: transparent;
  color: var(--pink-strong);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- inputs ------------------------------------------------------- */
.pn-input,
.pn-select,
.pn-textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #dedede;
  border-radius: 8px;
  background: #fff;
  padding: 10px 13px;
  font-size: 15px;
  outline: none;
}
.pn-textarea { min-height: 96px; resize: vertical; }
.pn-input:focus,
.pn-select:focus,
.pn-textarea:focus { border-color: #f3a5c4; box-shadow: 0 0 0 3px rgba(244, 114, 166, 0.12); }
.pn-search {
  position: relative;
  flex: 1 1;
}
.pn-search .pn-input { padding-left: 38px; }
.pn-search > svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a8a8a;
}
.pn-field { display: flex; flex-direction: column; gap: 6px; }
.pn-field-label { font-size: 13px; font-weight: 600; color: #444; }
.pn-field-hint { font-size: 12.5px; color: #7c7c7c; line-height: 1.45; }

/* --- toggle ------------------------------------------------------- */
.pn-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.pn-toggle-copy { display: flex; flex-direction: column; gap: 4px; }
.pn-toggle-label { font-size: 15px; font-weight: 600; }
.pn-toggle-desc { font-size: 13.5px; color: #6b6b6b; line-height: 1.45; }
.pn-switch {
  flex: 0 0 auto;
  width: 46px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  padding: 2px;
  background: #d9d9d9;
  transition: background 0.18s;
}
.pn-switch.on { background: #3fae75; }
.pn-switch-knob {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s;
}
.pn-switch.on .pn-switch-knob { transform: translateX(22px); }

/* --- tarjetas ----------------------------------------------------- */
.pn-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
}
.pn-card-pad { padding: 22px 24px; }
.pn-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
}
.pn-card-title .pn-ico-box {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 142, 195, 0.1);
  color: #f472a6;
}
.pn-section-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.pn-muted { color: #6b6b6b; }

/* --- dashboard ---------------------------------------------------- */
.pn-dash-head { padding: 16px 0 18px; }
.pn-dash-title-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pn-plan-badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 600;
}
.pn-dash-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.pn-dash-title .thin { font-weight: 400; font-size: 25px; }
.pn-dash-title .pencil { color: #333; display: inline-flex; }
.pn-dash-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  color: #4d4d4d;
  font-size: 15px;
  flex-wrap: wrap;
}
.pn-dash-meta .item { display: inline-flex; align-items: center; gap: 8px; }
.pn-dash-meta .sep { color: #bdbdbd; }
.pn-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-gap: 20px;
  gap: 20px;
  align-items: start;
}
.pn-dash-left { display: flex; flex-direction: column; gap: 20px; }

.pn-invite-card { padding: 22px 22px 26px; }
.pn-invite-body {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  grid-gap: 34px;
  gap: 34px;
  margin-top: 20px;
  align-items: start;
}
.pn-phone-wrap { display: flex; justify-content: center; }
.pn-phone {
  position: relative;
  width: 200px;
  height: 356px;
  border-radius: 36px;
  background: #1c1c1e;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.pn-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.55), transparent 42%),
    linear-gradient(160deg, #d9d4c8 0%, #f6f3ea 48%, #cfc8b8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #5f5744;
}
.pn-phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 20px;
  border-radius: 12px;
  background: #1c1c1e;
  z-index: 2;
}
.pn-phone-edit {
  position: absolute;
  top: 34px;
  right: 12px;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.85);
  display: grid;
  place-items: center;
  color: #555;
}
.pn-phone-overline {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  opacity: 0.9;
  margin-top: 18px;
}
.pn-phone-frame {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.75);
  background:
    radial-gradient(circle at 50% 40%, #f7d9c4 0 22%, #a8765b 23% 40%, #6b4b3a 41% 100%);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25);
}
.pn-phone-names {
  font-family: var(--font-serif);
  font-size: 19px;
  font-style: italic;
  margin-top: 6px;
}
.pn-phone-count {
  position: absolute;
  bottom: 16px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid rgba(95, 87, 68, 0.25);
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-align: center;
}
.pn-phone-count b { display: block; font-size: 13px; font-family: var(--font-serif); letter-spacing: 0; }
.pn-invite-right { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.pn-views-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: rgba(188, 140, 43, 0.1);
  color: #83621e;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
}
.pn-invite-actions { display: flex; flex-direction: column; gap: 10px; }
.pn-invite-actions .pn-btn { min-height: 41px; }
.pn-invite-actions .pn-btn.link { border: 0; background: transparent; color: var(--pink-strong); }

.pn-side-card { padding: 18px 16px; }
.pn-side-title { font-size: 18px; font-weight: 700; margin: 0 0 12px; }
.pn-action-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--pink-line);
  border-radius: 10px;
  background: #fff;
  padding: 8px 14px;
  margin-bottom: 10px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
}
.pn-action-btn:hover { background: #fffafc; }
.pn-action-btn .pn-action-ico {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 142, 195, 0.1);
  color: #f472a6;
  flex: 0 0 auto;
}
.pn-progress-card { padding: 20px 16px; margin-top: 16px; }
.pn-progress-top { display: flex; gap: 14px; align-items: flex-start; }
.pn-ring {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: conic-gradient(#f472a6 0 40%, #ececec 40% 100%);
}
.pn-ring > span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 700;
}
.pn-progress-copy strong { font-size: 18px; display: block; margin-bottom: 4px; }
.pn-progress-copy p { margin: 0; color: #6b6b6b; font-size: 13.5px; line-height: 1.35; }
.pn-steps { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pn-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: #4a4a4a; }
.pn-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e0e0e0;
  color: #fff;
  flex: 0 0 auto;
}
.pn-step-dot.done { background: #3fae75; }

.pn-promo-card { padding: 22px 22px 26px; }
.pn-promo-desc { text-align: center; color: #4f4f4f; font-size: 15px; margin: 16px 0 18px; }
.pn-promo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 16px; gap: 16px; }
.pn-promo-step { text-align: center; }
.pn-promo-thumb {
  height: 150px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #e8e2d4, #cfc7b5);
  color: #6d6553;
}
.pn-promo-thumb.alt { background: linear-gradient(150deg, #2a2a2a, #54504a); color: #f0e6d6; }
.pn-promo-thumb.alt2 { background: linear-gradient(150deg, #f6e7ec, #e5c9d4); color: #8b5c70; }
.pn-promo-thumb span.label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  background: rgba(255, 255, 255, 0.85);
  color: #3d3d3d;
  border-radius: 5px;
  padding: 3px 7px;
}
.pn-promo-step h4 { margin: 10px 0 4px; font-size: 15px; }
.pn-promo-step p { margin: 0; color: #6b6b6b; font-size: 13px; line-height: 1.35; }
.pn-promo-cta { display: flex; justify-content: center; margin-top: 22px; }

/* --- empty states ------------------------------------------------- */
.pn-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px 70px;
}
.pn-empty-icon {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: rgba(255, 142, 195, 0.18);
  color: #ff8ec3;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.pn-empty h3 { margin: 0 0 8px; font-size: 24px; font-weight: 700; }
.pn-empty p { margin: 0; color: #6b6b6b; font-size: 15px; max-width: 460px; line-height: 1.45; }
.pn-empty-action { margin-top: 20px; }

/* --- invitados / mesas -------------------------------------------- */
.pn-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pn-toolbar .pn-search { min-width: 260px; }
.pn-view-toggle {
  display: inline-flex;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
}
.pn-view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: #fff;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}
.pn-view-toggle button.active { background: var(--pink-soft); color: var(--pink-strong); }
.pn-view-toggle button + button { border-left: 1px solid #e2e2e2; }
.pn-rsvp-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.pn-guest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); grid-gap: 14px; gap: 14px; }
.pn-guest-card {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pn-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-strong);
  display: grid;
  place-items: center;
  font-weight: 700;
  flex: 0 0 auto;
}
.pn-guest-name { font-weight: 700; font-size: 16px; }
.pn-guest-meta { color: #6b6b6b; font-size: 13px; margin-top: 3px; }
.pn-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 12px;
  padding: 2px 9px;
  font-size: 11.5px;
  font-weight: 700;
  background: #f2f2f2;
  color: #666;
}
.pn-badge.yes { background: #e7f6ee; color: #2f8f5f; }
.pn-badge.no { background: #fdecec; color: #c95252; }
.pn-badge.pending { background: #fff5e5; color: #a8791f; }
.pn-guest-actions { margin-left: auto; display: flex; gap: 6px; }
.pn-table-list { display: flex; flex-direction: column; gap: 10px; }
.pn-table-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 14px 16px;
}
.pn-table-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 142, 195, 0.12);
  color: #f472a6;
}

/* --- listas / tablas ---------------------------------------------- */
.pn-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.pn-table th {
  text-align: left;
  padding: 12px 10px;
  font-size: 11.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #6b6b6b;
  border-bottom: 1px solid #eee;
  background: #fff8fb;
}
.pn-table td { padding: 13px 10px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.pn-table tr:last-child td { border-bottom: 0; }

/* --- presupuesto -------------------------------------------------- */
.pn-budget-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pn-budget-totals { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.pn-budget-total-box {
  background: #fff5f9;
  border-radius: 8px;
  padding: 10px 16px;
  text-align: center;
  min-width: 150px;
}
.pn-budget-total-box span { display: block; font-size: 11px; letter-spacing: 0.4px; color: #6b6b6b; text-transform: uppercase; }
.pn-budget-total-box strong { font-size: 17px; }
.pn-budget-total-box.green strong { color: #3fae75; }
.pn-budget-total-box.orange strong { color: #d08a1e; }

/* --- agenda ------------------------------------------------------- */
.pn-agenda-tabs { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid #e6e6e6; border-radius: 8px; overflow: hidden; width: -moz-fit-content; width: fit-content; }
.pn-agenda-tabs button {
  border: 0;
  background: #fff;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.pn-agenda-tabs button.active { background: var(--pink-soft); color: var(--pink-strong); }
.pn-agenda-tabs button + button { border-left: 1px solid #e6e6e6; }
.pn-agenda-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 10px;
}
.pn-agenda-date {
  width: 54px;
  text-align: center;
  border-radius: 8px;
  background: var(--pink-soft);
  color: var(--pink-strong);
  padding: 6px 0;
  flex: 0 0 auto;
}
.pn-agenda-date b { display: block; font-size: 18px; line-height: 1; }
.pn-agenda-date span { font-size: 10px; text-transform: uppercase; letter-spacing: 0.4px; }

/* --- álbum -------------------------------------------------------- */
.pn-album-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-gap: 22px; gap: 22px; align-items: start; }
.pn-album-nav { display: flex; flex-direction: column; gap: 2px; }
.pn-album-nav button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: left;
}
.pn-album-nav button:hover { background: #fafafa; }
.pn-album-nav button.active { background: #f4f4f4; }
.pn-album-panel {
  min-height: 430px;
  border: 1px solid #ececec;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 26px;
  gap: 10px;
}
.pn-album-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 18px 26px; gap: 18px 26px; text-align: left; max-width: 720px; margin: 20px auto 6px; }
.pn-album-step { display: flex; gap: 12px; }
.pn-album-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-strong);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.pn-album-step h4 { margin: 2px 0 4px; font-size: 15px; }
.pn-album-step p { margin: 0; color: #6b6b6b; font-size: 13.5px; line-height: 1.4; }

/* --- regalos ------------------------------------------------------ */
.pn-gift-hero {
  border: 1px solid #f6d9e6;
  border-radius: 10px;
  background: linear-gradient(180deg, #fffafc, #fff);
  padding: 26px 22px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pn-gift-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 142, 195, 0.12);
}
.pn-gift-eyebrow {
  display: inline-block;
  background: var(--pink-soft);
  color: var(--pink-strong);
  font-size: 13px;
  font-weight: 700;
  border-radius: 16px;
  padding: 4px 12px;
}
.pn-gift-hero h2 { margin: 12px 0 8px; font-size: 28px; }
.pn-gift-hero > p { margin: 0 auto; max-width: 640px; color: #5c5c5c; font-size: 15px; }
.pn-gift-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 14px; gap: 14px; margin-top: 24px; text-align: left; position: relative; z-index: 1; }
.pn-gift-step {
  border: 1px solid #f3e3ea;
  border-radius: 10px;
  background: #fff;
  padding: 16px;
}
.pn-gift-step .num { font-size: 11px; letter-spacing: 0.8px; color: #f472a6; font-weight: 700; }
.pn-gift-step h4 { margin: 6px 0 6px; font-size: 17px; }
.pn-gift-step p { margin: 0; color: #6b6b6b; font-size: 13.5px; line-height: 1.4; }
.pn-gift-benefits {
  margin-top: 16px;
  border: 1px solid #cfe8d9;
  background: #f3fbf6;
  border-radius: 10px;
  padding: 16px;
  text-align: left;
}
.pn-gift-benefits h4 { margin: 0 0 10px; color: #2f8f5f; font-size: 16px; }
.pn-gift-benefits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-gap: 12px; gap: 12px; }
.pn-gift-benefits li { display: flex; gap: 8px; color: #3d5c4a; font-size: 13.5px; line-height: 1.35; }
.pn-gift-cta { margin-top: 22px; position: relative; z-index: 1; }

/* --- configuración ------------------------------------------------ */
.pn-config-card { padding: 26px 28px; margin-bottom: 18px; }
.pn-config-title { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.pn-config-sub { color: #5c5c5c; font-size: 15px; margin: 0 0 18px; }
.pn-copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff5f9;
  border: 1px solid #f8dbe7;
  border-radius: 8px;
  padding: 16px 18px;
  margin-bottom: 18px;
}
.pn-copy-box small { display: block; color: #8a5c72; font-size: 11.5px; letter-spacing: 0.6px; font-weight: 700; margin-bottom: 6px; }
.pn-copy-box strong { font-size: 16px; word-break: break-all; }
.pn-inline-field { display: flex; gap: 10px; align-items: flex-start; }
.pn-inline-field .pn-input { flex: 1 1; }
.pn-config-divider { display: flex; align-items: center; gap: 14px; color: #9a9a9a; font-size: 13px; margin: 24px 0; }
.pn-config-divider::before,
.pn-config-divider::after { content: ""; height: 1px; background: #e8e8e8; flex: 1 1; }
.pn-segmented { display: inline-flex; border: 1px solid #e2e2e2; border-radius: 8px; overflow: hidden; }
.pn-segmented button {
  border: 0;
  background: #fff;
  padding: 9px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: #444;
}
.pn-segmented button.active { background: var(--pink-soft); color: var(--pink-strong); }
.pn-segmented button + button { border-left: 1px solid #e2e2e2; }
.pn-danger { border-color: #f2c9c9; }
.pn-danger .pn-config-title { color: #b23a3a; }

/* --- libro de firmas ---------------------------------------------- */
.pn-guestbook {
  margin: 18px 0 0;
  border-radius: 12px;
  background: #fbf8f2;
  border: 1px solid #efe7d9;
  padding: 44px 30px 34px;
  text-align: center;
  color: #6b5738;
}
.pn-guestbook-script { font-family: var(--font-serif); font-size: 27px; font-style: italic; }
.pn-guestbook-title { font-family: var(--font-serif); font-size: 44px; line-height: 1.1; margin: 2px 0 6px; }
.pn-guestbook-date { font-family: var(--font-serif); font-size: 26px; color: #8a7350; }
.pn-guestbook-how {
  max-width: 960px;
  margin: 26px auto 0;
  border: 1px solid #e7ddcc;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.45);
  padding: 22px 24px;
  text-align: left;
  color: #4f4638;
}
.pn-guestbook-how h3 { margin: 0 0 6px; font-size: 17px; }
.pn-guestbook-how p { margin: 0 0 14px; font-size: 14px; color: #6b5f4d; }
.pn-guestbook-how ol { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pn-guestbook-how li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.pn-guestbook-how .num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #c9b894;
  background: #f3ead9;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex: 0 0 auto;
}
.pn-guestbook-how .pn-btn { background: #6d4c2f; color: #fff; }
.pn-guestbook-empty {
  max-width: 960px;
  margin: 18px auto 0;
  border: 1px dashed #d8cdb8;
  border-radius: 10px;
  padding: 46px 20px;
  text-align: center;
}
.pn-guestbook-empty h3 { margin: 12px 0 6px; font-size: 20px; color: #3b3429; }
.pn-guestbook-empty p { margin: 0; color: #7a6d58; font-size: 14px; }

/* --- control de acceso -------------------------------------------- */
.pn-access-card { overflow: hidden; }
.pn-access-hero {
  background: #fff7fa;
  padding: 48px 24px 42px;
  text-align: center;
}
.pn-access-icon {
  width: 90px;
  height: 90px;
  border-radius: 22px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  background: rgba(255, 142, 195, 0.16);
  color: #f472a6;
}
.pn-access-hero h2 { margin: 0 auto 14px; font-size: 28px; max-width: 620px; }
.pn-access-hero p { margin: 0 auto; max-width: 560px; color: #5c5c5c; font-size: 15px; }
.pn-access-steps { display: flex; flex-direction: column; gap: 12px; max-width: 520px; margin: 24px auto 0; text-align: left; }
.pn-access-steps div { display: flex; gap: 12px; align-items: center; font-size: 14px; color: #4d4d4d; }
.pn-access-steps .num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff0f6;
  color: #f472a6;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex: 0 0 auto;
}
.pn-access-foot { padding: 22px; text-align: center; border-top: 1px solid #eee; }
.pn-access-foot strong { display: block; margin-bottom: 12px; }

/* --- modales ------------------------------------------------------ */
.pn-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px 40px;
  overflow-y: auto;
}
.pn-modal {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  max-width: calc(100vw - 40px);
  padding: 24px 26px 22px;
}
.pn-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pn-modal-title { margin: 0; font-size: 20px; font-weight: 700; }
.pn-modal-sub { margin: 6px 0 0; color: #5c5c5c; font-size: 14px; }
.pn-modal-close {
  border: 0;
  background: transparent;
  color: #6b6b6b;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.pn-modal-close:hover { background: #f5f5f5; }
.pn-modal-body { display: flex; flex-direction: column; gap: 14px; }
.pn-modal-foot { margin-top: 18px; display: flex; justify-content: flex-end; gap: 10px; }
.pn-modal .pn-btn { min-height: 42px; }
.pn-modal .pn-btn.block { width: 100%; }

.pn-upgrade-modal .pn-modal-head { margin-bottom: 10px; }
.pn-upgrade-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, #fff3f8, #fdf7ef);
  border-radius: 10px;
  padding: 16px;
  color: #b03a6a;
}
.pn-upgrade-hero strong { display: block; font-size: 16px; margin-bottom: 4px; }
.pn-upgrade-hero p { margin: 0; font-size: 13px; color: #7a5565; }
.pn-upgrade-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-gap: 9px 14px; gap: 9px 14px; }
.pn-upgrade-list li { display: flex; gap: 8px; font-size: 13.5px; color: #444; }
.pn-upgrade-list li::before { content: "✓"; color: #3fae75; font-weight: 700; }
.pn-upgrade-price { text-align: center; border-top: 1px solid #eee; padding-top: 14px; }
.pn-upgrade-price s { color: #9a9a9a; }
.pn-upgrade-price strong { font-size: 24px; margin-left: 6px; }
.pn-upgrade-price span { display: block; color: #7a7a7a; font-size: 12px; margin-top: 2px; }
.pn-upgrade-actions { display: flex; justify-content: center; gap: 10px; margin-top: 4px; }

.pn-option-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 14px 16px;
  background: #fff;
  text-align: left;
}
.pn-option-card.selected { border-color: #f3a5c4; background: #fffafc; }
.pn-option-card strong { display: block; font-size: 15px; }
.pn-option-card small { display: block; color: #6b6b6b; font-size: 12.5px; margin-top: 3px; line-height: 1.4; }
.pn-option-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--pink-soft);
  color: var(--pink-strong);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* --- toast / avisos ----------------------------------------------- */
.pn-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 4000;
  background: #1f1f1f;
  color: #fff;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.pn-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  line-height: 1.45;
}
.pn-notice.info { background: #f4f8ff; color: #35527a; }
.pn-notice.warn { background: #fff8e8; color: #7a5a17; }

/* --- drawer ------------------------------------------------------- */
.pn-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
}
.pn-drawer {
  width: 310px;
  max-width: 86vw;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
  animation: pn-slide-in 0.18s ease-out;
}
@keyframes pn-slide-in {
  from { transform: translateX(-24px); opacity: 0.6; }
  to { transform: translateX(0); opacity: 1; }
}
.pn-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
}
.pn-drawer-brand { font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.pn-drawer-brand span { color: var(--pink); }
.pn-drawer-head button { border: 0; background: transparent; color: #555; }
.pn-drawer-nav { padding: 4px 10px 18px; overflow-y: auto; }
.pn-drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #333;
  font-size: 14.5px;
  font-weight: 500;
}
.pn-drawer-item:hover { background: #fafafa; }
.pn-drawer-item.active { background: var(--pink-soft); color: var(--pink-strong); font-weight: 700; }
.pn-drawer-q {
  width: 18px;
  height: 18px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.pn-drawer-sep { height: 1px; background: #eee; margin: 8px 12px; }
.pn-drawer-foot {
  margin-top: auto;
  border-top: 1px solid #eee;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 6px 12px;
  gap: 6px 12px;
  font-size: 12.5px;
  color: #7a7a7a;
}
.pn-drawer-foot span { display: inline-flex; align-items: center; gap: 6px; }
.pn-drawer-foot strong { color: #333; font-weight: 600; }

/* --- banner app stores -------------------------------------------- */
.pn-store-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fff;
  padding: 8px 12px;
  font-size: 13.5px;
  color: #444;
  margin-top: 24px;
  width: -moz-fit-content;
  width: fit-content;
}
.pn-store-banner-icon { color: #777; display: grid; place-items: center; }
.pn-store-badges { display: inline-flex; gap: 6px; }
.pn-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #000;
  color: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  line-height: 1;
  min-width: 96px;
}
.pn-store-badge small { display: block; font-size: 7px; letter-spacing: 0.2px; opacity: 0.9; }
.pn-store-badge strong { display: block; font-size: 12px; }
.pn-store-icon { display: grid; place-items: center; }
.pn-store-banner .pn-store-badges { margin-left: 6px; }
.pn-store-banner .pn-store-badge { min-width: 88px; }

/* --- responsive --------------------------------------------------- */
@media (max-width: 1100px) {
  .pn-dash-grid { grid-template-columns: minmax(0, 1fr); }
  .pn-topbar-pills { display: none; }
  .pn-invite-body { grid-template-columns: 170px minmax(0, 1fr); gap: 20px; }
  .pn-phone { width: 170px; height: 302px; }
  .pn-gift-steps { grid-template-columns: 1fr; }
  .pn-gift-benefits ul { grid-template-columns: 1fr; }
  .pn-album-layout { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pn-topbar-copy { font-size: 13px; }
  .pn-topbar-cta { display: none; }
  .pn-invite-body { grid-template-columns: 1fr; }
  .pn-promo-steps { grid-template-columns: 1fr; }
  .pn-album-steps { grid-template-columns: 1fr; }
  .pn-page-title { font-size: 24px; }
}

/* --- ajustes finos del panel -------------------------------------- */
.pn-dash-right { display: flex; flex-direction: column; gap: 0; }

/* compartir / tutoriales */
.pn-share-options { display: flex; flex-direction: column; gap: 12px; }
.pn-option-tag {
  display: inline-block;
  margin-top: 8px !important;
  padding: 2px 8px;
  border-radius: 12px;
  background: var(--pink-soft);
  color: var(--pink-strong) !important;
  font-size: 11.5px !important;
  font-weight: 700;
}
.pn-share-link { display: flex; flex-direction: column; gap: 8px; }
.pn-share-link-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #444;
}
.pn-tutorial-steps { display: flex; flex-direction: column; gap: 14px; }
.pn-tutorial-step { display: flex; gap: 12px; align-items: flex-start; }
.pn-tutorial-step strong { display: block; font-size: 15px; }
.pn-tutorial-step p { margin: 3px 0 0; color: #6b6b6b; font-size: 13.5px; }

/* dashboard: formato de hora y más acciones */
.pn-format-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  background: #fff;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  color: #555;
}
.pn-format-ico {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #f472a6;
  display: inline-block;
}
.pn-more-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; gap: 10px; }
.pn-more-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-align: left;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  padding: 12px;
}
.pn-more-item:hover { background: #fffafc; border-color: #f6cfe0; }
.pn-more-item strong { display: block; font-size: 14px; }
.pn-more-item small { display: block; margin-top: 2px; color: #6b6b6b; font-size: 12px; line-height: 1.35; }

/* formularios en dos columnas */
.pn-form-row { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; gap: 12px; }
.pn-phone-row { display: grid; grid-template-columns: 96px 1fr; grid-gap: 8px; gap: 8px; }
.pn-country { padding-left: 8px; padding-right: 6px; }
.pn-import-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 14px 16px;
}
.pn-import-block strong { font-size: 14.5px; }
.pn-import-block p { margin: 0; }
.pn-order-select { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #555; }
.pn-order-select .pn-select { min-height: 40px; width: 170px; }

/* álbum digital */
.pn-qr {
  display: grid;
  grid-template-columns: repeat(21, 1fr);
  grid-gap: 2px;
  gap: 2px;
  width: 190px;
  height: 190px;
  padding: 10px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  margin: 8px 0;
}
.pn-qr span { background: transparent; border-radius: 1px; }
.pn-qr span.on { background: #1a1a1a; }
.pn-album-share,
.pn-album-cover,
.pn-album-config {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.pn-album-config { align-items: stretch; text-align: left; }
.pn-album-config .pn-toggle-row { border: 1px solid #eee; border-radius: 10px; padding: 14px 16px; }
.pn-cover-preview {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ececec;
  background: #fafafa;
}
.pn-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.pn-cover-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9a9a9a;
  font-size: 13px;
}

/* mesa de regalos */
.pn-currency-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--pink-strong);
  font-size: 13.5px;
  font-weight: 600;
  padding: 0;
  margin-bottom: 14px;
}
.pn-gift-summary {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  border: 1px solid #f3e3ea;
  border-radius: 10px;
  background: #fffafc;
  padding: 14px 18px;
  margin-bottom: 16px;
}
.pn-gift-summary > div span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: #8a6b78; }
.pn-gift-summary > div strong { font-size: 18px; }
.pn-gift-summary .pn-btn { margin-left: auto; }
.pn-gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); grid-gap: 14px; gap: 14px; }
.pn-gift-card {
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.pn-gift-card h3 { margin: 0; font-size: 16px; }
.pn-gift-card p { margin: 0; color: #6b6b6b; font-size: 13px; line-height: 1.4; }
.pn-gift-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 142, 195, 0.12);
  color: #f472a6;
}
.pn-gift-progress {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: #f2e6ec;
  overflow: hidden;
}
.pn-gift-progress span { display: block; height: 100%; background: #f472a6; border-radius: inherit; }
.pn-gift-card small { color: #6b6b6b; font-size: 12.5px; }
.pn-accounts {
  border-top: 1px solid #eee;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pn-account-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px 12px;
}
.pn-account-row strong { display: block; font-size: 14px; }
.pn-account-row small { color: #6b6b6b; font-size: 12px; }
.pn-account-form { display: flex; flex-direction: column; gap: 8px; }
.pn-account-form .pn-btn { align-self: flex-start; }

/* colaboradores */
.pn-collab-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  border: 1px dashed #e2cbd6;
  border-radius: 10px;
  padding: 46px 24px;
  color: #8a6b78;
}
.pn-collab-empty p { margin: 0; max-width: 420px; color: #6b6b6b; font-size: 14px; }

/* presupuesto */
.pn-budget-label { display: block; font-size: 11px; letter-spacing: 0.4px; color: #6b6b6b; text-transform: uppercase; }
.pn-budget-orange { color: #d08a1e; font-size: 17px; }
.pn-budget-green { color: #3fae75; font-size: 17px; }
.pn-budget-table-wrap { width: 100%; overflow-x: auto; }
.pn-budget-table-wrap .pn-table { min-width: 820px; }

/* agenda */
.pn-agenda-search {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pn-agenda-search .pn-search { flex: 1 1; min-width: 200px; }
.pn-color-btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(244, 114, 166, 0.35);
}
.pn-group-label { margin: 0 0 8px; font-size: 14px; font-weight: 700; }
.pn-agenda-tabs { margin-bottom: 4px; }
.pn-agenda-tabs button { background: #fff; }
.pn-agenda-tabs button.active {
  background: #fff0f6;
  color: #f472a6;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px #f8cfe0;
}
.pn-agenda-list { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.pn-agenda-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 0;
}
.pn-agenda-item.done .pn-agenda-title { text-decoration: line-through; color: #8a8a8a; }
.pn-agenda-check { border: 0; background: transparent; color: #b9b9b9; display: grid; place-items: center; padding: 0; }
.pn-agenda-item.done .pn-agenda-check { color: #3fae75; }
.pn-agenda-title { font-weight: 700; font-size: 15.5px; }
.pn-agenda-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 3px;
  color: #6b6b6b;
  font-size: 12.5px;
}
.pn-kind-tabs {
  display: flex;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}
.pn-kind-tabs button {
  flex: 1 1;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #444;
}
.pn-kind-tabs button + button { border-left: 1px solid #e2e2e2; }
.pn-kind-tabs button.active { background: var(--pink-soft); color: var(--pink-strong); }
.pn-person-select { position: relative; display: flex; align-items: center; gap: 8px; }
.pn-person-select .pn-select { padding-left: 44px; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.pn-person-select .pn-avatar { position: absolute; left: 9px; }
.pn-person-caret { position: absolute; right: 12px; color: #777; pointer-events: none; }
.pn-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pn-color-grid { display: flex; flex-wrap: wrap; gap: 14px; padding: 6px 0 2px; }
.pn-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.14);
  padding: 0;
}
.pn-color-swatch.active { box-shadow: 0 0 0 3px #fff, 0 0 0 5px currentColor; }

/* libro de firmas */
.pn-guestbook-empty-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #f3ead9;
  color: #6d5a3c;
  display: inline-grid;
  place-items: center;
  margin-bottom: 10px;
}
.pn-signature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-gap: 14px; gap: 14px; max-width: 960px; margin: 18px auto 0; }
.pn-signature {
  border: 1px solid #e7ddcc;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.6);
  padding: 16px;
  text-align: left;
}
.pn-signature-name { font-family: var(--font-serif); font-size: 20px; color: #6d4c2f; margin-bottom: 6px; }
.pn-signature p { margin: 0; color: #4f4638; font-size: 14px; line-height: 1.5; }

/* configuración */
.pn-config-card {
  border-radius: 12px;
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 26px 24px 28px;
  margin-bottom: 18px;
}
.pn-config-title { font-size: 24px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.pn-info-dot {
  border: 0;
  background: transparent;
  color: #8a8a8a;
  display: inline-grid;
  place-items: center;
  padding: 0;
  vertical-align: middle;
}
.pn-info-dot:hover { color: var(--pink-strong); }
.pn-config-field { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.pn-config-field .pn-field-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.pn-premium-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  border: 1px solid #f6cfe0;
  background: #fff5f9;
  color: var(--pink-strong);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 9px;
}
.pn-switch-row { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.pn-switch-label { font-size: 15px; font-weight: 600; }
.pn-btn.danger { border-color: #f2c9c9; color: #b23a3a; background: #fff; }
.pn-btn.danger-solid { background: #c94040; color: #fff; }

/* utilidades */
.pn-page-title { font-size: 32px; font-weight: 700; }
.pn-store-badge { min-width: 140px; padding: 6px 10px; gap: 8px; border-radius: 6px; }
.pn-store-badge small { font-size: 8.5px; letter-spacing: 0.3px; }
.pn-store-badge strong { font-size: 15px; }
.pn-store-banner .pn-store-badge { min-width: 118px; }
.pn-store-banner .pn-store-badge strong { font-size: 13px; }
.pn-store-banner .pn-store-badge small { font-size: 7.5px; }

@media (max-width: 760px) {
  .pn-form-row { grid-template-columns: 1fr; }
  .pn-more-grid { grid-template-columns: 1fr; }
  .pn-agenda-search { flex-wrap: wrap; }
  .pn-config-title { font-size: 20px; }
}

/* --- afinado: invitados / presupuesto ----------------------------- */
.pn-filter-btn { flex: 0 0 268px; justify-content: center; }
.pn-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 11px;
  background: #f1f1f1;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 700;
}
.pn-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  grid-gap: 14px;
  gap: 14px;
}
.pn-skeleton-card {
  height: 198px;
  border: 1px solid #ececec;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pn-skeleton-top { display: flex; align-items: center; gap: 10px; }
.pn-skeleton-top .pn-sk-block { margin-left: auto; width: 120px; height: 44px; border-radius: 6px; background: #f1f1f1; }
.pn-skeleton-mid { display: flex; align-items: center; gap: 8px; }
.pn-skeleton-foot { display: flex; justify-content: flex-end; gap: 8px; }
.pn-sk-circle { width: 24px; height: 24px; border-radius: 50%; background: #f1f1f1; flex: 0 0 auto; }
.pn-sk-bar { height: 12px; border-radius: 6px; background: #f1f1f1; }
.pn-sk-dot { width: 16px; height: 16px; border-radius: 50%; background: #f1f1f1; }
.pn-sk-dot.big { width: 32px; height: 32px; }

.pn-budget-side { display: flex; flex-direction: column; gap: 6px; }
.pn-budget-side > div { display: flex; align-items: baseline; gap: 6px; justify-content: flex-end; }
.pn-budget-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #fff0f6;
  font-size: 16px;
}
.pn-budget-covered { color: #3fae75; font-weight: 600; }
.pn-status-pending,
.pn-status-parcial,
.pn-status-pagado {
  display: inline-flex;
  align-items: center;
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
}
.pn-status-pending { background: #d9a441; }
.pn-status-parcial { background: #e08b2f; }
.pn-status-pagado { background: #3fae75; }
.pn-row-actions { display: inline-flex; align-items: center; gap: 8px; color: var(--pink-strong); }
.pn-row-actions .pn-link { color: var(--pink-strong); }
.pn-table-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 10px 2px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  color: #555;
}
.pn-table-foot .pn-select { width: 70px; min-height: 32px; padding: 4px 8px; font-size: 13px; }
.pn-page-arrow {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #777;
  display: grid;
  place-items: center;
}
.pn-page-arrow:disabled { opacity: 0.4; }

@media (max-width: 1100px) {
  .pn-filter-btn { flex: 1 1 160px; }
  .pn-skeleton-grid { grid-template-columns: 1fr; }
}

/* --- afinado: mesa de regalos ------------------------------------ */
.pn-gift-step { display: flex; align-items: flex-start; gap: 12px; }
.pn-gift-step-ico {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: #fff0f6;
  color: #f472a6;
}
.pn-gift-step .num { display: block; }

/* --- selectores del drawer ---------------------------------------- */
.pn-drawer-pick { position: relative; }
.pn-drawer-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #ececec;
  border-radius: 7px;
  background: #fff;
  padding: 4px 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #333;
  max-width: 100%;
}
.pn-drawer-value svg { color: #8a8a8a; flex: 0 0 auto; }
.pn-drawer-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 6px);
  z-index: 30;
  min-width: 168px;
  display: flex;
  flex-direction: column;
  padding: 6px;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.pn-drawer-menu button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  padding: 7px 9px;
  font-size: 13px;
  color: #333;
  text-align: left;
}
.pn-drawer-menu button:hover { background: #fff5f9; }
.pn-drawer-menu button.active { background: #fff0f6; color: var(--pink-strong); font-weight: 700; }

/* --- pie del drawer: alineación de país e idioma ------------------ */
.pn-drawer-foot {
  align-items: center;
  gap: 8px 12px;
  padding-bottom: 20px;
}
.pn-drawer-foot > span { font-size: 12px; color: #7a7a7a; }
.pn-drawer-pick { justify-self: start; }

.pn-drawer-foot {
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 8px 10px;
}
.pn-drawer-foot > span { white-space: nowrap; }
.pn-drawer-value { width: 100%; justify-content: space-between; }

