/* One static portal card per feature. All product details belong to that one surface. */
.cpc-grid {
  --cpc-muted: #79756e;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 0;
  margin-top: 44px;
}
.cpc-feature { min-width: 0; overflow: hidden; border: 1px solid #e6e4df; border-radius: 24px; background: #fff; }
.cpc-grid svg { flex-shrink: 0; }
.cpc-stage { display: flex; align-items: center; min-width: 0; min-height: 414px; padding: 38px 36px 32px; }
.cpc-memory-stage { background: radial-gradient(ellipse at 27% 8%, #eeeaff 0, transparent 60%), linear-gradient(150deg, #f6f5fd, #faf9f6 68%, #fff); }
.cpc-access-stage { background: radial-gradient(ellipse at 85% 5%, #e8f0ff 0, transparent 60%), linear-gradient(215deg, #f6f7fe, #f9f8f5 68%, #fff); }
.cpc-window { width: 100%; max-width: 424px; margin: 0 auto; overflow: hidden; border-radius: 14px; border: 1px solid #e6e3ee; background: #fff; box-shadow: 0 24px 48px -27px rgba(46,35,24,.25), 0 5px 14px -8px rgba(46,35,24,.12); }
.cpc-window-bar { min-height: 47px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #efeeeb; background: #fdfcfe; }
.cpc-window-name { display: inline-flex; align-items: center; gap: 9px; color: #34312d; font-size: 13px; font-weight: 600; }
.cpc-mark { display: inline-grid; grid-template-columns: repeat(2, 5px); gap: 2px; flex: none; width: 12px; height: 12px; color: var(--ce-blue); }
.cpc-mark i { background: currentColor; }
.cpc-mark i:nth-child(2) { opacity: .42; }
.cpc-mark i:nth-child(3) { opacity: .68; }
.cpc-status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 5px; font-size: 12px; line-height: 1.2; white-space: nowrap; }
.cpc-status > span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.cpc-status.is-review { color: #956222; background: #fbf4e8; }
.cpc-status.is-success { color: #377561; background: #eef6f1; }
.cpc-source-icon { flex: none; object-fit: contain; border-radius: 3px; }
.cpc-memory-body, .cpc-access-body { padding: 20px; }
.cpc-record-heading { display: flex; align-items: center; gap: 10px; }
.cpc-record-icon { display: grid; place-items: center; flex: none; width: 38px; height: 41px; border-radius: 8px; background: #f3f2fd; color: #6560bb; }
.cpc-meta { color: var(--cpc-muted); font-size: 12px; }
.cpc-record-heading h4 { margin: 3px 0 0; color: #302e2a; font-weight: 600; letter-spacing: -.025em; font-size: 17px; }
.cpc-date-change { display: grid; grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr); align-items: center; gap: 10px; margin: 23px 0; }
.cpc-date-change > div > span { color: var(--cpc-muted); font-size: 12px; }
.cpc-date-change strong { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: 32px; line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.cpc-date-change small { font-size: 12px; font-weight: 400; letter-spacing: -.01em; }
.cpc-old-date strong { color: #948e85; }
.cpc-new-date strong { color: #3c35c2; }
.cpc-change-arrow { display: grid; place-items: center; color: #9691b0; }
.cpc-source-excerpt { padding-top: 15px; border-top: 1px solid #eeece7; }
.cpc-source-excerpt > div { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: #797269; }
.cpc-source-excerpt strong { color: #58534c; font-size: 12px; font-weight: 500; }
.cpc-source-excerpt time { margin-left: auto; font-size: 12px; }
.cpc-source-excerpt img { width: 15px; height: 15px; }
.cpc-source-excerpt p { margin: 8px 0 0; font-size: 14px; color: #625e57; line-height: 1.6; }
.cpc-window-footer { display: flex; align-items: center; gap: 8px; min-height: 45px; padding: 12px 17px; border-top: 1px solid #efeeeb; color: #8d785c; font-size: 12px; line-height: 1.5; background: #fdfbf8; }
.cpc-access-footer { color: #647c6d; background: #f9fbf9; }
.cpc-identity { display: flex; align-items: center; gap: 10px; margin: 23px 0; }
.cpc-person { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; color: #6b538a; background: #eae4f5; font-size: 12px; font-weight: 600; }
.cpc-identity > div > strong { display: block; font-size: 13px; font-weight: 500; color: #4f4840; }
.cpc-identity > div > span { display: block; margin-top: 3px; font-size: 12px; color: var(--cpc-muted); }
.cpc-role-label { margin-left: auto; color: #797269; font-size: 12px; }
.cpc-permission-labels { display: flex; justify-content: space-between; gap: 10px; padding: 0 0 9px; border-bottom: 1px solid #eae7e1; font-size: 12px; color: #827a70; }
.cpc-policy-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 0; font-size: 13px; color: #686055; }
.cpc-policy-row .cpc-source-icon { width: 17px; height: 17px; }
.cpc-policy-row + .cpc-policy-row { border-top: 1px solid #f1efea; }
.cpc-policy-row > span { display: inline-flex; align-items: center; gap: 7px; }
.cpc-policy-row > span:last-child { font-size: 12px; flex-shrink: 0; }
.cpc-policy-row .is-allowed { color: #51826b; }
.cpc-policy-row .is-locked { color: #797269; }
.cpc-feature-copy { padding: 12px 32px 30px; }
.cpc-feature-icon { color: #6a61b9; display: inline-flex; margin-bottom: 13px; }
.cpc-feature-copy h3 { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.25; letter-spacing: -.035em; font-weight: 600; color: #2c2924; margin: 0 0 13px; }
.cpc-feature-copy p { font-size: 16px; line-height: 1.75; color: #787269; margin: 0; max-width: 480px; }
@supports (grid-template-rows: subgrid) {
  .cpc-feature { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
}
@media (max-width: 1120px) {
  .cpc-stage { padding-left: 25px; padding-right: 25px; }
}
@media (max-width: 900px) {
  .cpc-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .cpc-stage { padding-left: 48px; padding-right: 48px; }
  .cpc-feature-copy { width: 100%; max-width: 620px; margin: 0 auto; padding: 12px 40px 30px; }
}
@media (max-width: 560px) {
  .cpc-grid { margin-top: 32px; }
  .cpc-feature { border-radius: 19px; }
  .cpc-stage { padding: 28px 16px; min-height: 0; }
  .cpc-window-bar { padding: 12px; gap: 8px; }
  .cpc-window-name { font-size: 12px; gap: 7px; }
  .cpc-status { padding: 4px 5px; }
  .cpc-memory-body, .cpc-access-body { padding: 17px 14px; }
  .cpc-date-change { gap: 5px; grid-template-columns: minmax(0,1fr) 24px minmax(0,1fr); }
  .cpc-date-change strong { flex-direction: column; gap: 7px; }
  .cpc-window-footer { padding: 12px; }
  .cpc-policy-row { gap: 7px; font-size: 12px; }
  .cpc-policy-row > span { gap: 5px; }
  .cpc-policy-row > span:first-child { min-width: 0; }
  .cpc-feature-copy { padding: 8px 24px 27px; }
  .cpc-feature-copy h3 { font-size: 23px; }
}
