/* Panel Cheat Sheets v1.0 */
.panelcheat-wrap{max-width:1240px;margin:0 auto;padding:28px 18px 48px;color:#111827;}
.panelcheat-hero{position:relative;overflow:hidden;border-radius:28px;padding:34px;background:linear-gradient(135deg,#121826,#243047 52%,#b91c1c);color:#fff;box-shadow:0 22px 55px rgba(15,23,42,.24);}
.panelcheat-hero::after{content:"";position:absolute;right:-80px;top:-80px;width:260px;height:260px;border-radius:999px;background:rgba(255,255,255,.13);}
.panelcheat-eyebrow{margin:0 0 8px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:#fecaca;font-size:.78rem;}
.panelcheat-hero h1{margin:.05rem 0 .7rem;font-size:clamp(2rem,5vw,4.2rem);line-height:1.02;color:#fff;max-width:850px;}
.panelcheat-hero .lede{font-size:1.08rem;line-height:1.65;max-width:850px;color:#e5e7eb;margin:0 0 18px;}
.panelcheat-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.panelcheat-actions .btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:999px;padding:.78rem 1rem;font-weight:800;border:1px solid rgba(255,255,255,.35);}
.panelcheat-actions .btn-primary{background:#fff;color:#991b1b;border-color:#fff;}
.panelcheat-actions .btn-secondary{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.34);}
.panelcheat-actions .btn-secondary:hover{background:rgba(255,255,255,.22);}
.panelcheat-note{margin-top:18px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fef2f2;font-weight:650;}
.panelcheat-section{margin-top:26px;background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:22px;box-shadow:0 12px 30px rgba(15,23,42,.08);}
.panelcheat-section h2{margin:0 0 6px;font-size:1.55rem;color:#111827;}
.panelcheat-section p{color:#4b5563;line-height:1.6;}
.panelcheat-search{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:16px;}
.panelcheat-search input{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:13px 14px;font-size:1rem;color:#111827;background:#fff;}
.panelcheat-search button,.panelcheat-reset{border:0;border-radius:14px;background:#b91c1c;color:#fff;font-weight:800;padding:0 18px;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;}
.panelcheat-filter-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.panelcheat-filter{border:1px solid #d1d5db;background:#f8fafc;color:#1f2937;border-radius:999px;padding:8px 12px;font-weight:750;cursor:pointer;}
.panelcheat-filter.is-active{background:#111827;color:#fff;border-color:#111827;}
.panelcheat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px;}
.panelcheat-card{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:#111827;background:#f8fafc;border:1px solid #e5e7eb;border-radius:22px;padding:18px;transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;}
.panelcheat-card:hover{transform:translateY(-2px);box-shadow:0 16px 35px rgba(15,23,42,.12);border-color:#fecaca;}
.panelcheat-card .kicker{font-weight:900;color:#b91c1c;text-transform:uppercase;letter-spacing:.06em;font-size:.73rem;}
.panelcheat-card h3{margin:0;font-size:1.25rem;color:#111827;}
.panelcheat-card p{margin:0;color:#4b5563;line-height:1.52;}
.panelcheat-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:auto;}
.panelcheat-tag{font-size:.78rem;padding:5px 8px;border-radius:999px;background:#e5e7eb;color:#1f2937;font-weight:750;}
.panelcheat-open{font-weight:900;color:#991b1b;margin-top:4px;}
.panelcheat-detail-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px;margin-top:22px;}
.panelcheat-panel{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:20px;box-shadow:0 10px 24px rgba(15,23,42,.07);}
.panelcheat-panel h2,.panelcheat-panel h3{margin-top:0;color:#111827;}
.panelcheat-list{margin:0;padding-left:1.15rem;color:#374151;line-height:1.65;}
.panelcheat-list li{margin:.28rem 0;}
.panelcheat-models{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px;}
.panelcheat-model{background:#111827;color:#fff;border-radius:999px;padding:7px 10px;font-weight:800;font-size:.85rem;}
.panelcheat-warning{border-left:5px solid #b91c1c;background:#fff7ed;border-radius:16px;padding:14px 16px;color:#7c2d12;}
.panelcheat-warning strong{color:#991b1b;}
.panelcheat-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px;}
.panelcheat-link{display:block;text-decoration:none;background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:13px;color:#111827;font-weight:850;}
.panelcheat-link span{display:block;color:#64748b;font-weight:600;font-size:.86rem;margin-top:3px;}
.panelcheat-copy{width:100%;border:0;border-radius:14px;background:#111827;color:#fff;font-weight:850;padding:12px 14px;cursor:pointer;margin-top:10px;}
.panelcheat-copy-note{font-size:.9rem;color:#166534;display:none;margin-top:8px;font-weight:800;}
.panelcheat-print{border:1px solid #d1d5db;background:#fff;color:#111827;border-radius:14px;font-weight:850;padding:12px 14px;cursor:pointer;margin-top:10px;width:100%;}
.panelcheat-small{font-size:.92rem;color:#64748b;}
@media (max-width:900px){.panelcheat-grid,.panelcheat-detail-grid,.panelcheat-link-grid{grid-template-columns:1fr}.panelcheat-search{grid-template-columns:1fr}.panelcheat-search button{padding:12px 16px}.panelcheat-hero{padding:26px 20px}}
@media print{header,.site-footer,.panelcheat-actions,.panelcheat-search,.panelcheat-filter-row,.panelcheat-copy,.panelcheat-print{display:none!important}.panelcheat-wrap{padding:0}.panelcheat-hero,.panelcheat-section,.panelcheat-panel{box-shadow:none!important;border:1px solid #ddd!important}.panelcheat-hero{color:#111!important;background:#fff!important}.panelcheat-hero h1,.panelcheat-hero .lede{color:#111!important}}

/* Panel Cheat Sheets v1.0b - hero button contrast/cache fix */
.panelcheat-hero .panelcheat-actions a.btn,
.panelcheat-hero .panelcheat-actions a.btn:link,
.panelcheat-hero .panelcheat-actions a.btn:visited,
.panelcheat-hero .panelcheat-actions a.btn:hover,
.panelcheat-hero .panelcheat-actions a.btn:active{
  text-indent:0 !important;
  opacity:1 !important;
  visibility:visible !important;
  font-size:1rem !important;
  line-height:1.2 !important;
  -webkit-text-fill-color:currentColor !important;
}
.panelcheat-hero .panelcheat-actions a.btn-primary,
.panelcheat-hero .panelcheat-actions a.btn-primary:link,
.panelcheat-hero .panelcheat-actions a.btn-primary:visited,
.panelcheat-hero .panelcheat-actions a.btn-primary:hover,
.panelcheat-hero .panelcheat-actions a.btn-primary:active{
  background:#fff !important;
  color:#991b1b !important;
  border-color:#fff !important;
  -webkit-text-fill-color:#991b1b !important;
}
.panelcheat-hero .panelcheat-actions a.btn-secondary,
.panelcheat-hero .panelcheat-actions a.btn-secondary:link,
.panelcheat-hero .panelcheat-actions a.btn-secondary:visited{
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
}
