.edg-plans { margin: 34px 0 26px; }
.edg-plans-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.edg-plans-head h3 { font-family: var(--edg-display); font-size: clamp(21px, 2.2vw, 27px); font-weight: 800; color: var(--edg-navy); letter-spacing: -.4px; margin: 0 0 4px; }
.edg-plans-head p { margin: 0; color: var(--edg-muted); font-size: 14.5px; }
.edg-plans-sample { border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(16,26,60,.1); color: var(--edg-muted); font-size: 12px; font-weight: 700; padding: 7px 13px; }
.edg-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 15px; }
.edg-plan-card { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border: 0; border-radius: 22px; padding: 22px; color: var(--edg-ink); box-shadow: 0 20px 50px -32px rgba(16,26,60,.32), inset 0 0 0 1px rgba(16,26,60,.07); cursor: pointer; transition: transform .25s var(--edg-ease), box-shadow .25s var(--edg-ease); }
.edg-plan-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -32px rgba(16,26,60,.42), inset 0 0 0 1.5px rgba(59,47,212,.28); }
.edg-plan-card:focus-visible { outline: 3px solid rgba(59,47,212,.35); outline-offset: 3px; }
.edg-plan-card.featured { background: linear-gradient(180deg, #f8f7ff, #fff 55%); box-shadow: 0 24px 56px -30px rgba(59,47,212,.4), inset 0 0 0 1.5px rgba(59,47,212,.28); }
.edg-plan-badge { position: absolute; top: -10px; right: 18px; border-radius: 999px; background: var(--edg-accent); color: var(--edg-navy); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; padding: 5px 10px; text-transform: uppercase; }
.edg-plan-card h4 { font-family: var(--edg-display); font-size: 20px; font-weight: 800; margin: 0 0 4px; color: var(--edg-navy); }
.edg-plan-card .tagline { color: var(--edg-muted); font-size: 13px; line-height: 1.5; min-height: 39px; margin: 0; }
.edg-plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 15px 0 3px; }
.edg-plan-price strong { font-family: var(--edg-display); font-size: 28px; font-weight: 800; letter-spacing: -.04em; color: var(--edg-primary); }
.edg-plan-price s { color: #8b93b0; font-size: 13px; }
.edg-plan-price small { color: var(--edg-muted); font-size: 12px; font-weight: 600; }
.edg-plan-discount { display: inline-flex; align-items: center; gap: 5px; color: #138a5b; font-size: 11.5px; font-weight: 800; margin: 2px 0 0; }
.edg-plan-meta { color: var(--edg-muted); font-size: 12px; margin: 12px 0 0; line-height: 1.5; }
.edg-plan-open { display: inline-flex; align-items: center; gap: 7px; color: var(--edg-primary); font-size: 13px; font-weight: 800; margin-top: auto; padding-top: 16px; }
.edg-plan-open svg { width: 16px; height: 16px; }
.edg-plan-skeleton { min-height: 235px; border-radius: 22px; background: linear-gradient(100deg, #eef0f8 20%, #f7f8fd 45%, #eef0f8 70%); background-size: 220% 100%; animation: edg-plan-shimmer 1.2s linear infinite; }
@keyframes edg-plan-shimmer { to { background-position: -120% 0; } }
.edg-plan-empty { grid-column: 1 / -1; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(16,26,60,.08); color: var(--edg-muted); padding: 18px; font-size: 14px; }
.edg-plan-modal { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 18px; background: rgba(10,16,32,.64); backdrop-filter: blur(6px); }
.edg-plan-modal[hidden] { display: none; }
.edg-plan-dialog { width: min(760px, 100%); max-height: min(88vh, 900px); overflow: auto; background: #fff; border-radius: 26px; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.edg-plan-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; background: linear-gradient(180deg, #fff 75%, rgba(255,255,255,.94)); padding: 24px 26px 16px; border-bottom: 1px solid rgba(16,26,60,.07); }
.edg-plan-dialog-head h3 { font-family: var(--edg-display); font-size: 27px; font-weight: 800; color: var(--edg-navy); letter-spacing: -.6px; margin: 0 0 4px; }
.edg-plan-dialog-head p { color: var(--edg-muted); font-size: 14px; line-height: 1.55; margin: 0; }
.edg-plan-close { flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #f1f3fb; color: var(--edg-navy); cursor: pointer; font-size: 21px; line-height: 1; }
.edg-plan-dialog-body { padding: 22px 26px 28px; }
.edg-plan-slider-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.edg-plan-slider-row label { color: var(--edg-navy); font-family: var(--edg-display); font-size: 16px; font-weight: 700; }
.edg-plan-slider-row output { color: var(--edg-primary); font-family: var(--edg-display); font-size: 24px; font-weight: 800; }
.edg-plan-dialog-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.edg-plan-dialog-price strong { color: var(--edg-primary); font-family: var(--edg-display); font-size: 42px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.edg-plan-dialog-price s { color: #8b93b0; font-size: 15px; }
.edg-plan-dialog-price small { color: var(--edg-muted); font-size: 13px; font-weight: 600; }
.edg-plan-dialog-note { color: var(--edg-muted); font-size: 12.5px; margin: 7px 0 0; }
.edg-plan-feature-title { color: var(--edg-navy); font-family: var(--edg-display); font-size: 17px; font-weight: 800; margin: 25px 0 10px; }
.edg-plan-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.edg-plan-feature { display: flex; gap: 9px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid rgba(16,26,60,.06); }
.edg-plan-feature svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: #18a66d; }
.edg-plan-feature b { display: block; color: var(--edg-ink); font-size: 13.5px; }
.edg-plan-feature small { display: block; color: var(--edg-muted); font-size: 11.5px; margin-top: 2px; line-height: 1.45; }
.edg-plan-cap { display: inline-block; border-radius: 999px; background: #eeebff; color: var(--edg-primary); font-size: 10px; font-weight: 800; padding: 2px 7px; margin-top: 4px; }
.edg-plan-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 24px; }
.edg-plan-dialog-actions .edg-btn { flex: 1 1 220px; justify-content: center; }
.edg-plan-dialog-actions .edg-plans-sample { flex: none; }
@media (max-width: 640px) {
  .edg-plan-grid { grid-template-columns: 1fr; }
  .edg-plan-features { grid-template-columns: 1fr; }
  .edg-plan-dialog-head, .edg-plan-dialog-body { padding-left: 18px; padding-right: 18px; }
  .edg-plan-dialog-price strong { font-size: 36px; }
}
