/* Partner console marketing page (pc-) with a static console mock (cm-). */

.pc-hero { background: var(--sv-noire); background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 72px 72px; position: relative; overflow: hidden; }
.pc-hero::after { content: ""; position: absolute; top: -180px; right: -140px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(var(--sv-green-rgb),0.16), transparent 62%); pointer-events: none; }
.pc-hero__inner { max-width: 1240px; margin: 0 auto; padding: 72px 28px 64px; position: relative; z-index: 1; }
.pc-hero__title { font-size: 54px; line-height: 60px; font-weight: 700; letter-spacing: -0.03em; color: #fff; margin: 0 0 22px; max-width: 22ch; text-wrap: pretty; }
.pc-hero__lede { font-size: 19px; line-height: 30px; color: rgba(255,255,255,0.66); margin: 0 0 32px; max-width: 62ch; text-wrap: pretty; }
.pc-hero__checks { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.pc-hero__checks .check-item { color: rgba(255,255,255,0.66); }

.pc-mock-band { background: linear-gradient(var(--sv-noire) 260px, var(--sv-mist) 260px); padding: 0 28px 64px; }
.pc-mock-band__inner { max-width: 1240px; margin: 0 auto; }

.pc-section { background: var(--sv-paper); }
.pc-section--mist { background: var(--sv-mist); border-top: 1px solid var(--sv-line-soft); }
.pc-section__inner { max-width: 1240px; margin: 0 auto; padding: 72px 28px 76px; }
.pc-asks { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
.pc-ask { background: var(--sv-mist); border-radius: 14px; padding: 24px; }
.pc-ask__quote { font-size: 17px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 14px; text-wrap: pretty; }
.pc-ask__answer { font-size: 14px; line-height: 22px; color: var(--sv-muted); margin: 0; }
.pc-ask__answer strong { color: var(--sv-text); }

.pc-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-area { border: 1px solid var(--sv-noire-12); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; }
.pc-area__tag { font: 500 11px/16px "Poppins", sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sv-muted); margin-bottom: 10px; }
.pc-area__title { font-size: 19px; line-height: 27px; font-weight: 600; margin: 0 0 8px; }
.pc-area__copy { font-size: 14px; line-height: 22px; color: var(--sv-muted); margin: 0 0 14px; flex: 1 1 auto; }
.pc-area__link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--sv-green-800); }
.pc-roles { border: 1px solid var(--sv-noire-12); border-radius: 16px; overflow: hidden; margin-top: 22px; }
.pc-roles__head { padding: 18px 22px 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pc-roles__title { font-size: 19px; font-weight: 600; margin: 0; }
.pc-roles__note { font-size: 13px; color: var(--sv-muted); }
.pc-roles__grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; border-top: 1px solid rgba(27,27,27,0.08); }
.pc-role { padding: 18px 22px; border-right: 1px solid rgba(27,27,27,0.08); }
.pc-role:last-child { border-right: none; }
.pc-role__name { font-size: 14.5px; font-weight: 600; margin-bottom: 4px; }
.pc-role__copy { font-size: 13px; line-height: 20px; color: var(--sv-muted); }

/* ---- Console mock (cm-) ---- */
.cm { background: var(--sv-mist); border: 1px solid rgba(27,27,27,0.14); border-radius: 16px; box-shadow: 0 24px 64px rgba(27,27,27,0.24); overflow: hidden; display: grid; grid-template-columns: 216px minmax(0, 1fr); font-size: 13px; }
.cm__side { background: var(--sv-paper); border-right: 1px solid rgba(27,27,27,0.08); padding: 16px 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.cm__brand { display: flex; align-items: center; gap: 8px; padding: 2px 8px 12px; }
.cm__brand img { height: 20px; width: auto; }
.cm__brand-cap { font-size: 10.5px; color: var(--sv-subtle); }
.cm__org { display: flex; align-items: center; gap: 9px; border: 1px solid rgba(27,27,27,0.12); border-radius: 10px; padding: 9px 10px; margin-bottom: 12px; }
.cm__org-logo { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 7px; background: #2E6FE8; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.cm__org-name { display: block; font-size: 12.5px; font-weight: 600; }
.cm__org-sub { display: block; font-size: 10.5px; color: var(--sv-subtle); }
.cm__nav-item { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 10px; border-radius: 8px; font-size: 12.5px; font-weight: 500; color: var(--sv-muted); }
.cm__nav-item--active { background: var(--sv-green-50); color: var(--sv-green-800); font-weight: 600; }
.cm__nav-count { font-size: 10.5px; color: var(--sv-subtle); }
.cm__user { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 8px 0; border-top: 1px solid rgba(27,27,27,0.08); }
.cm__user-avatar { width: 26px; height: 26px; border-radius: 999px; background: var(--sv-noire); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; }
.cm__user-name { display: block; font-size: 12px; font-weight: 600; }
.cm__user-role { display: block; font-size: 10.5px; color: var(--sv-subtle); }
.cm__main { min-width: 0; }
.cm__topbar { background: var(--sv-paper); border-bottom: 1px solid rgba(27,27,27,0.08); height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 24px; }
.cm__title { font-size: 15px; font-weight: 600; }
.cm__live { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 6px; background: var(--sv-green-50); color: var(--sv-green-800); font-size: 11px; font-weight: 600; }
.cm__range { margin-left: auto; font-size: 12px; color: var(--sv-muted); border: 1px solid rgba(27,27,27,0.12); border-radius: 8px; height: 30px; display: inline-flex; align-items: center; padding: 0 11px; }
.cm__body { padding: 20px 24px 24px; }
.cm__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cm__kpi { background: var(--sv-paper); border: 1px solid rgba(27,27,27,0.10); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(27,27,27,0.06); }
.cm__kpi-label { font-size: 11.5px; color: var(--sv-muted); margin-bottom: 7px; }
.cm__kpi-row { display: flex; align-items: baseline; gap: 8px; }
.cm__kpi-value { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; }
.cm__kpi-delta { font-size: 11.5px; font-weight: 600; color: var(--sv-green-800); }
.cm__kpi-note { font-size: 11px; color: var(--sv-subtle); margin-top: 4px; }
.cm__channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.cm__chan { background: var(--sv-paper); border: 1px solid rgba(27,27,27,0.10); border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(27,27,27,0.06); display: flex; flex-direction: column; gap: 9px; }
.cm__chan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cm__chan-tag { display: inline-flex; align-items: center; height: 21px; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.cm__chan-who { font-size: 10.5px; color: var(--sv-subtle); }
.cm__chan-vol { display: flex; align-items: baseline; gap: 6px; }
.cm__chan-apps { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.cm__chan-apps-label { font-size: 11.5px; color: var(--sv-subtle); }
.cm__chan-how { font-size: 11.5px; line-height: 17px; color: var(--sv-muted); flex: 1 1 auto; }
.cm__chan-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(27,27,27,0.08); padding-top: 8px; }
.cm__chan-foot-note { font-size: 10.5px; color: var(--sv-subtle); }
.cm__chan-money { font-size: 13px; font-weight: 700; }
.cm__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 12px; align-items: start; margin-bottom: 14px; }
.cm__card { background: var(--sv-paper); border: 1px solid rgba(27,27,27,0.10); border-radius: 12px; box-shadow: 0 1px 2px rgba(27,27,27,0.06); }
.cm__card-head { padding: 14px 16px 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cm__card-title { font-size: 13px; font-weight: 600; }
.cm__card-sub { font-size: 11px; color: var(--sv-subtle); }
.cm__legend { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--sv-muted); }
.cm__legend-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
.cm__chart { display: flex; align-items: flex-end; gap: 4px; height: 132px; padding: 0 16px; }
.cm__bar { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; height: 100%; }
.cm__bar-ghost { background: rgba(27,27,27,0.10); border-radius: 2px 2px 0 0; }
.cm__bar-paid { background: var(--sv-green); border-radius: 0 0 2px 2px; }
.cm__axis { display: flex; justify-content: space-between; border-top: 1px solid rgba(27,27,27,0.08); margin: 10px 16px 0; padding: 8px 0 14px; font-size: 10.5px; color: var(--sv-subtle); }
.cm__alert { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid rgba(27,27,27,0.08); padding: 11px 16px; }
.cm__alert-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 999px; margin-top: 5px; }
.cm__alert-title { display: block; font-size: 12px; font-weight: 600; margin-bottom: 1px; }
.cm__alert-note { display: block; font-size: 11px; line-height: 16px; color: var(--sv-muted); }
.cm__badge-count { height: 19px; min-width: 19px; padding: 0 6px; border-radius: 999px; background: #FDF3E5; color: #B4741A; font-size: 10.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cm__route { padding: 0 16px 10px; }
.cm__route-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.cm__route-label { font-size: 12px; font-weight: 500; }
.cm__route-count { font-size: 11px; color: var(--sv-muted); }
.cm__route-track { height: 4px; background: var(--sv-mist); border-radius: 999px; overflow: hidden; }
.cm__route-fill { height: 100%; background: var(--sv-green); border-radius: 999px; }
.cm__table { overflow-x: auto; }
.cm__table-grid { display: grid; grid-template-columns: 96px minmax(120px, 1fr) 72px minmax(110px, 0.9fr) 130px 118px 82px 76px; min-width: 860px; }
.cm__th { padding: 8px 12px; background: #FAFBFC; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sv-subtle); border-bottom: 1px solid rgba(27,27,27,0.08); white-space: nowrap; }
.cm__td { padding: 10px 12px; border-bottom: 1px solid rgba(27,27,27,0.06); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm__td--ref { font-family: "JetBrains Mono", monospace; font-size: 11px; color: #00A375; padding-left: 16px; }
.cm__td--name { font-weight: 500; }
.cm__td--dim { color: var(--sv-muted); }
.cm__td--right { text-align: right; }
.cm__td--margin { font-weight: 600; text-align: right; }
.cm__td--when { font-size: 11px; color: var(--sv-subtle); text-align: right; }
.cm__pill { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.cm__via { display: block; font-size: 10px; color: var(--sv-subtle); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 1080px) {
  .cm { grid-template-columns: 1fr; }
  .cm__side { flex-direction: row; flex-wrap: wrap; align-items: center; border-right: none; border-bottom: 1px solid rgba(27,27,27,0.08); }
  .cm__user { margin-top: 0; border-top: none; padding-top: 0; }
  .cm__kpis, .cm__channels { grid-template-columns: 1fr 1fr; }
  .cm__grid { grid-template-columns: 1fr; }
  .pc-areas, .pc-asks { grid-template-columns: 1fr; }
  .pc-roles__grid { grid-template-columns: 1fr 1fr; }
  .pc-role { border-bottom: 1px solid rgba(27,27,27,0.08); }
  .pc-hero__title { font-size: 40px; line-height: 46px; }
}
