/* CapiTracker Guides (guides.php). Base help layout copied from getting-started.php, plus guide pages. */
*{box-sizing:border-box}body{margin:0;background:#F8F7FC;color:#09090B;font-family:Inter,Arial,sans-serif}a{color:inherit}.help-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 28px;border-bottom:1px solid rgba(37,32,68,.18)}.help-brand{display:flex;align-items:center;gap:10px;font-weight:900}.help-brand span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#111326;color:#fff}.help-header a{color:#7C3AED;text-decoration:none;font-size:13px;font-weight:850}.help-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:calc(100vh - 67px)}.help-sidebar{padding:32px 22px;border-right:1px solid rgba(37,32,68,.18);background:#FFFFFF}.help-sidebar small{display:block;margin:0 9px 10px;color:#77758A}.help-platforms{display:grid;gap:4px}.help-platform{display:flex;align-items:center;gap:10px;padding:11px;border-radius:9px;text-decoration:none;font-weight:800}.help-platform.active{background:rgba(124,58,237,.10);color:#5B21B6}.help-mark{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:#7C3AED;color:#fff;font-size:11px}.help-mark.shopify{background:#78a943}.help-main{width:min(850px,calc(100% - 44px));margin:0 auto;padding:54px 0 80px}.help-kicker{color:#7C3AED;font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.help-main h1{margin:9px 0 13px;font-size:clamp(31px,5vw,47px);letter-spacing:-.045em}.help-lead{max-width:730px;margin:0 0 31px;color:#5F5D6D;font-size:17px;line-height:1.65}.help-prerequisites{margin-bottom:28px;padding:18px 20px;border:1px solid rgba(124,58,237,.18);border-radius:13px;background:rgba(124,58,237,.06)}.help-prerequisites strong{display:block;margin-bottom:8px}.help-prerequisites ul{margin:0;padding-left:20px;color:#5F5D6D;line-height:1.7}.help-steps{display:grid;gap:15px}.help-step{display:grid;grid-template-columns:42px minmax(0,1fr);gap:14px;padding:20px;border:1px solid rgba(37,32,68,.18);border-radius:14px;background:#FFFFFF}.help-step-number{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:rgba(124,58,237,.10);color:#5B21B6;font-weight:900}.help-step h2{margin:3px 0 7px;font-size:18px}.help-step p{margin:0;color:#5F5D6D;line-height:1.6}.help-step code{padding:2px 5px;border-radius:5px;background:#F8F7FC;color:#252044}.help-warning{margin-top:18px;padding:17px 19px;border-left:4px solid #f59e0b;border-radius:9px;background:#fff8e9;color:#714a05;line-height:1.6}.help-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:28px}.help-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 15px;border:1px solid rgba(37,32,68,.18);border-radius:9px;text-decoration:none;font-weight:850}.help-button.primary{border-color:#7C3AED;background:#7C3AED;color:#fff}@media(max-width:760px){.help-header{padding:14px 17px}.help-layout{grid-template-columns:1fr}.help-sidebar{padding:12px;border-right:0;border-bottom:1px solid rgba(37,32,68,.18)}.help-sidebar small{display:none}.help-platforms{grid-template-columns:1fr 1fr}.help-platform{justify-content:center}.help-main{width:min(100% - 28px,850px);padding-top:34px}.help-step{grid-template-columns:36px minmax(0,1fr);padding:16px}.help-step-number{width:34px;height:34px}}

.help-sidebar small{display:block;margin:18px 0 8px;color:#5F5D6D;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.help-sidebar small:first-child{margin-top:0}
.guide-nav{display:grid;gap:2px}
.guide-nav a{display:block;padding:9px 11px;border-radius:9px;text-decoration:none;font-weight:700;font-size:14.5px;line-height:1.35;color:#2A2540}
.guide-nav a:hover{background:rgba(124,58,237,.07)}
.guide-nav a.active{background:rgba(124,58,237,.12);color:#5B21B6}
.help-main h1{margin:8px 0 12px;font-size:34px;line-height:1.15}
.help-step h2{margin:6px 0 6px;font-size:19px}
.help-step p{margin:0 0 10px;line-height:1.65}
.guide-figure{margin:14px 0 4px}
.guide-figure img{display:block;width:100%;height:auto;border:1px solid rgba(37,32,68,.16);border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(37,32,68,.08)}
.guide-figure figcaption{margin-top:7px;color:#6B6880;font-size:12.5px}
.guide-tip{margin-top:18px;padding:16px 19px;border-left:4px solid #8B5CF6;border-radius:9px;background:rgba(139,92,246,.08);line-height:1.6}
.guide-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin-top:8px}
.guide-card{display:block;padding:18px;border:1px solid rgba(37,32,68,.18);border-radius:14px;background:#fff;text-decoration:none}
.guide-card:hover{border-color:rgba(124,58,237,.55);box-shadow:0 10px 24px rgba(124,58,237,.10)}
.guide-card strong{display:block;margin-bottom:6px;font-size:16px}
.guide-card span{color:#5F5D6D;font-size:14px;line-height:1.5}
.guide-group{margin:30px 0 10px;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#7C3AED}
.guide-next{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:30px}
code{padding:1px 6px;border-radius:6px;background:rgba(124,58,237,.08);font-size:.92em}
@media (max-width:760px){.help-main h1{font-size:27px}.guide-nav{grid-template-columns:1fr}.help-sidebar small{margin-top:10px}}
.help-header a:not(.help-brand){color:#C4B5FD !important;font-weight:800;text-decoration:none}
.guide-figure a{display:block}
.guide-nav a,.guide-card strong,.help-main h1{display:flex;align-items:center;gap:9px}
.help-main h1{gap:12px}
.guide-meta{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px}
.guide-meta span{padding:7px 12px;border-radius:999px;background:rgba(124,58,237,.08);border:1px solid rgba(124,58,237,.22);font-size:13.5px;color:#2A2540}
.guide-meta b{color:#5B21B6}
.guide-section-title{margin:30px 0 10px;font-size:21px}
.guide-numbers{display:grid;gap:8px;margin:0}
.guide-numbers div{display:grid;grid-template-columns:minmax(150px,230px) 1fr;gap:14px;padding:12px 14px;border:1px solid rgba(37,32,68,.14);border-radius:10px;background:#fff}
.guide-numbers dt{font-weight:800;color:#2A2540}
.guide-numbers dd{margin:0;line-height:1.55;color:#3F3B52}
.guide-faq details{margin:0 0 8px;padding:12px 14px;border:1px solid rgba(37,32,68,.14);border-radius:10px;background:#fff}
.guide-faq summary{cursor:pointer;font-weight:800;color:#2A2540}
.guide-faq p{margin:10px 0 0;line-height:1.6}
.guide-search{display:block;width:100%;max-width:560px;margin:4px 0 6px;padding:13px 16px;border:1px solid rgba(37,32,68,.22);border-radius:12px;font:inherit;font-size:15px;background:#fff}
.guide-search:focus{outline:2px solid rgba(124,58,237,.45);border-color:transparent}
.guide-search-empty{color:#5F5D6D}
@media (max-width:760px){.guide-numbers div{grid-template-columns:1fr;gap:4px}}

.guide-cards[hidden],.guide-card[hidden],.guide-group[hidden]{display:none !important}
/* Phones: 50+ guides made the sidebar a long scroll above every guide; the header "All guides" link and the cards replace it. */
@media (max-width:760px){.help-sidebar{display:none}}
