.pl-eyebrow { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--t-accent, #4f46e5); }
.pl-muted { color: var(--muted, #6b7280); }

.pl-current { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: center; background: var(--surface, #fff); border: 1px solid var(--line, #ececf0); border-radius: var(--r-card, 20px); padding: 24px 26px; margin-bottom: 22px; }
.pl-current h2 { font-size: 1.4rem; font-weight: 700; margin: 6px 0 4px; letter-spacing: -0.02em; }
.pl-current p { margin: 0; color: var(--muted, #6b7280); font-size: .94rem; }
.pl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pl-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--t-soft, #eef2ff); color: var(--t-accent, #4f46e5); }
.pl-tag.is-ok { background: #ecfdf3; color: #067647; }
.pl-tag.is-gray { background: #f2f4f7; color: #475467; }
.pl-meter-label { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted, #6b7280); margin-bottom: 6px; }
.pl-meter-label b { color: var(--ink, #0f1115); font-weight: 700; }
.pl-meter { height: 8px; border-radius: 999px; background: #f1f1f4; overflow: hidden; }
.pl-meter span { display: block; height: 100%; border-radius: inherit; background: var(--t-accent, #4f46e5); }
.pl-meter.is-warn span { background: #d97706; }
.pl-meter.is-full span { background: #b42318; }
.pl-meter-note { font-size: .8rem; color: var(--muted, #6b7280); margin-top: 6px; }

.plans.pl-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plan .pl-audience { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--ink, #0f1115); }
.plan .pl-audience i { color: var(--t-accent, #4f46e5); }
.plan .pl-example { font-size: .84rem; color: var(--muted, #6b7280); background: #fafafb; border: 1px dashed var(--line, #ececf0); border-radius: 12px; padding: 8px 10px; }
.plan .pl-current-badge { background: #ecfdf3; color: #067647; }

.pl-section { margin-top: 44px; }
.pl-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 16px; }
.pl-section-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 0; }
.pl-section-head p { margin: 4px 0 0; color: var(--muted, #6b7280); max-width: 60ch; }

.pl-compare-wrap { background: var(--surface, #fff); border: 1px solid var(--line, #ececf0); border-radius: var(--r-card, 20px); overflow-x: auto; scroll-margin-top: 90px; }
.pl-compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .92rem; }
.pl-compare th, .pl-compare td { padding: 13px 16px; border-bottom: 1px solid #f1f1f4; text-align: center; vertical-align: middle; }
.pl-compare th:first-child, .pl-compare td:first-child { text-align: left; width: 34%; }
.pl-compare thead th { position: sticky; top: 0; background: #fafafb; font-family: var(--f-head, inherit); font-size: 1rem; font-weight: 700; }
.pl-compare thead th small { display: block; font-family: var(--f-body, inherit); font-size: .78rem; font-weight: 500; color: var(--muted, #6b7280); }
.pl-compare thead th.is-hl { background: var(--t-soft, #eef2ff); color: var(--t-accent, #4f46e5); }
.pl-compare td.is-hl { background: color-mix(in srgb, var(--t-soft, #eef2ff) 45%, #fff); }
.pl-compare .pl-group td { background: #fafafb; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #6b7280); text-align: left; padding: 9px 16px; }
.pl-compare tr:last-child td { border-bottom: 0; }
.pl-compare .pl-row-title { font-weight: 600; color: var(--ink, #0f1115); }
.pl-compare .pl-row-desc { display: block; font-size: .8rem; font-weight: 400; color: var(--muted, #6b7280); margin-top: 2px; }
.pl-yes { color: #067647; }
.pl-no { color: #c0c4cf; }
.pl-soon { display: inline-block; margin-left: 6px; font-size: .68rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #fffaeb; color: #b54708; vertical-align: middle; }

.pl-change { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.pl-change-item { background: var(--surface, #fff); border: 1px solid var(--line, #ececf0); border-radius: 16px; padding: 18px; }
.pl-change-item i { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--t-soft, #eef2ff); color: var(--t-accent, #4f46e5); margin-bottom: 10px; }
.pl-change-item strong { display: block; font-size: .98rem; margin-bottom: 4px; }
.pl-change-item span { color: var(--muted, #6b7280); font-size: .88rem; line-height: 1.5; }

.pl-terms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.pl-term-card { background: var(--surface, #fff); border: 1px solid var(--line, #ececf0); border-radius: 16px; padding: 18px; border-top: 3px solid var(--tr, var(--t-accent, #4f46e5)); }
.pl-term-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; font-weight: 700; margin: 0 0 12px; }
.pl-term-card h3 i { color: var(--tr, var(--t-accent, #4f46e5)); }
.pl-term { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid #f1f1f4; }
.pl-term:first-of-type { border-top: 0; padding-top: 0; }
.pl-term > i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--trs, var(--t-soft, #eef2ff)); color: var(--tr, var(--t-accent, #4f46e5)); font-size: .85rem; }
.pl-term b { display: block; font-size: .92rem; }
.pl-term span { display: block; color: var(--muted, #6b7280); font-size: .85rem; line-height: 1.45; }

.pl-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.pl-guide a { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; padding: 12px 14px; border-radius: 14px; border: 1px solid #e2e8f0; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pl-guide a:hover { border-color: var(--t-accent, #4f46e5); color: inherit; }
.pl-guide a.is-on { border-color: var(--t-accent, #4f46e5); box-shadow: 0 0 0 3px var(--t-soft, #eef2ff); }
.pl-guide i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--t-soft, #eef2ff); color: var(--t-accent, #4f46e5); font-size: .85rem; }
.pl-guide b { display: block; font-size: .9rem; color: #111827; }
.pl-guide span { display: block; font-size: .8rem; line-height: 1.4; color: #64748b; }

.pl-hint { display: block; max-width: 62ch; color: #475467; font-size: .9rem; margin-top: 2px; }
.pl-usage { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid #e2e8f0; background: #f8fafc; font-size: .8rem; font-weight: 600; color: #334155; text-decoration: none; }
.pl-usage:hover { color: #111827; border-color: var(--t-accent, #4f46e5); }
.pl-usage.is-warn { background: #fffaeb; border-color: #fedf89; color: #b54708; }
.pl-usage.is-full { background: #fef3f2; border-color: #fecdca; color: #b42318; }
.pl-lock { opacity: .75; }
.pl-lock .fa-lock { font-size: .75em; margin-left: 4px; }
.pl-banner { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; margin-bottom: 16px; font-size: .9rem; background: #fffaeb; border: 1px solid #fedf89; color: #93370d; }
.pl-banner a { font-weight: 700; color: inherit; }
.pl-banner.is-info { background: var(--t-soft, #eef2ff); border-color: #e0e3f5; color: #1f2430; }

.pl-history { font-size: .9rem; }
.pl-history th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: #6b7080; font-weight: 600; white-space: nowrap; }
.pl-history td { vertical-align: middle; }
.pl-action { display: inline-flex; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 600; background: #f2f4f7; color: #475467; }
.pl-action.is-Create { background: #ecfdf3; color: #067647; }
.pl-action.is-Delete { background: #fef3f2; color: #b42318; }
.pl-action.is-Update { background: #eff8ff; color: #175cd3; }

@media (max-width: 1100px) {
    .plans.pl-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .pl-current { grid-template-columns: 1fr; }
    .plans.pl-4 { grid-template-columns: 1fr; }
    .pl-guide { grid-template-columns: 1fr; }
}
