.gh-alt-section{padding:30px 0;background:#edf7f1;border-top:1px solid #c8e3d2;border-bottom:1px solid #c8e3d2}.gh-alt-section h2{margin:3px 0 7px;color:#173b2c;font-size:clamp(22px,2.5vw,29px)}.gh-alt-section p{max-width:790px;color:#405449;margin:7px 0}.gh-alt-form{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px;align-items:end}.gh-alt-form label{display:grid;gap:5px;flex:1 1 250px;font-size:14px;font-weight:700}.gh-alt-form input,.gh-alt-form select{width:100%;min-height:45px;border:1px solid #9ab7a2;border-radius:9px;background:#fff;padding:10px;font:inherit}.gh-alt-form button,.gh-alt-cta{display:inline-flex;justify-content:center;align-items:center;min-height:45px;border:1px solid #1f5a3d;border-radius:9px;background:#1f5a3d;color:white;padding:9px 18px;text-decoration:none;font:inherit;font-weight:700;cursor:pointer}.gh-alt-cta:hover{background:#15462e;color:white}.gh-alt-page{padding:38px 0 65px}.gh-alt-page>h1{font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin-bottom:10px}.gh-alt-page>p{max-width:880px}.gh-alt-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:17px;margin:24px 0}.gh-alt-card{background:#fff;border:1px solid #d8e1d9;border-radius:14px;padding:22px;min-width:0}.gh-alt-card h2{font-size:22px;margin:0 0 8px}.gh-alt-card p{margin:10px 0}.gh-alt-meta{font-size:13px;color:#54665b}.gh-alt-card details{padding:12px;background:#f5f9f5;border-radius:9px;margin-top:15px}.gh-alt-card summary{font-weight:750;cursor:pointer}.gh-alt-card li{margin:8px 0}.gh-alt-card a{overflow-wrap:anywhere}.gh-alt-links{font-weight:700}.gh-alt-alert{background:#fff9e8;border:1px solid #ead8a5;padding:14px;border-radius:10px}.gh-alt-page #gh-alt-message{margin:15px 0}.gh-alt-page .gh-alt-form{margin:20px 0}@media(max-width:760px){.gh-alt-page{padding:23px 0 45px}.gh-alt-form button{width:100%}}
/* Editorial walkthroughs: readable, mobile-friendly code and structured checklists. */
.gh-guide{max-width:920px}.gh-guide h1{max-width:850px}.gh-guide .lead{font-size:1.08rem;line-height:1.65;max-width:850px}.gh-guide-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 26px}.gh-guide-facts p{border:1px solid #d8e1d9;border-radius:10px;padding:14px 16px;background:#f7faf7;margin:0}.gh-guide-facts strong{display:block;font-size:13px;margin-bottom:5px;color:#26523a}.gh-guide-facts span{display:block;line-height:1.5}.gh-guide-section{margin:28px 0;padding-top:6px}.gh-guide-section h2{font-size:clamp(19px,2.3vw,25px);line-height:1.3;margin:12px 0}.gh-guide-section p,.gh-guide-section li{line-height:1.7}.gh-guide-section li{margin:8px 0}.gh-guide-section pre{overflow-x:auto;max-width:100%;border:1px solid #d4e0da;border-radius:10px;background:#142921;color:#f4fff6;padding:16px;font-size:14px;line-height:1.6;white-space:pre}.gh-guide-section pre code{font:inherit;color:inherit;white-space:pre}.gh-guide-section a:not(.gh-alt-cta){overflow-wrap:anywhere}.gh-guide-section code:not(pre code){background:#edf5ef;border-radius:4px;padding:2px 4px;overflow-wrap:anywhere}
@media(max-width:640px){.gh-guide-facts{grid-template-columns:1fr}.gh-guide-section pre{font-size:12px}.gh-guide .lead{font-size:1rem}}

/* Homepage: harmonize GitHub finder with AI RightFit's editorial light layout.
   Scope to homepage so the standalone explorer and guides keep their own UI. */
body[data-page="home"] .gh-alt-section{
  background:var(--bg,#fafaf6);
  border-top:1px solid var(--border,#e1e4d8);
  border-bottom:1px solid var(--border,#e1e4d8);
  padding:clamp(36px,5vw,56px) 0;
}
body[data-page="home"] .gh-alt-section .eyebrow{
  color:var(--gold-ink,#5e4108);
  font-size:12px;
  font-weight:700;
  letter-spacing:.095em;
}
body[data-page="home"] .gh-alt-section h2{
  max-width:800px;
  margin:10px 0 12px;
  font-family:var(--serif,Georgia,serif);
  font-size:clamp(25px,3vw,34px);
  line-height:1.22;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--ink,#14211b);
}
body[data-page="home"] .gh-alt-section p:not(.eyebrow){
  max-width:810px;
  color:var(--muted,#4f5f57);
  font-size:15px;
  line-height:1.65;
}
body[data-page="home"] .gh-alt-section .gh-alt-form{
  max-width:790px;
  margin:22px 0 14px;
  gap:12px;
  align-items:end;
}
body[data-page="home"] .gh-alt-section .gh-alt-form label{
  flex:1 1 330px;
  font-size:14px;
  color:var(--ink,#14211b);
  gap:8px;
  font-weight:600;
}
body[data-page="home"] .gh-alt-section .gh-alt-form input{
  min-height:48px;
  border:1px solid var(--border-strong,#6f7b74);
  border-radius:var(--r-btn,12px);
  padding:11px 15px;
  color:var(--ink,#14211b);
  background:var(--surface,#fff);
  box-shadow:var(--shadow-sm,0 1px 2px rgba(20,33,27,.05));
}
body[data-page="home"] .gh-alt-section .gh-alt-form input:focus-visible{
  outline:3px solid var(--green,#1f5a3d);
  outline-offset:2px;
}
body[data-page="home"] .gh-alt-section .gh-alt-form button{
  min-height:48px;
  padding:11px 22px;
  border-radius:var(--r-btn,12px);
  background:var(--green,#1f5a3d);
  border-color:var(--green,#1f5a3d);
  color:#fff;
  font-size:14px;
  font-weight:650;
  transition:background-color .15s ease;
}
body[data-page="home"] .gh-alt-section .gh-alt-form button:hover{
  background:var(--green-dark,#17452f);
}
body[data-page="home"] .gh-alt-section .gh-alt-home-disclaimer{
  font-size:12px!important;
  line-height:1.6!important;
  max-width:760px;
  margin-top:12px;
}
@media(max-width:640px){
  body[data-page="home"] .gh-alt-section{padding:32px 0 38px;}
  body[data-page="home"] .gh-alt-section .gh-alt-form{gap:12px;margin-top:19px;}
  body[data-page="home"] .gh-alt-section .gh-alt-form button{width:100%;}
}

/* GitHub directory redesign: scoped so the twenty individual setup guides stay readable. */
.gh-directory{max-width:1280px;padding-top:32px;padding-bottom:72px;color:#25263c}
.gh-directory .eyebrow{font-size:12px;letter-spacing:.085em;font-weight:750;color:#66518b}
.gh-directory-intro{padding:13px 0 24px}
.gh-directory-intro h1{max-width:850px;margin:11px 0 12px;font-size:clamp(32px,4.5vw,51px);font-family:Fraunces,Georgia,serif;letter-spacing:-.032em;line-height:1.12;color:#25205a}
.gh-directory-lead{max-width:760px!important;margin:0;color:#54576a;font-size:17px;line-height:1.65}
.gh-directory-points{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:22px}
.gh-directory-points span{display:inline-flex;align-items:center;gap:5px;padding:7px 12px;border:1px solid #e4e2ed;background:#fff;border-radius:999px;font-size:12px;font-weight:650;color:#54536a}
.gh-directory-points strong{color:#25205a;font-size:13px}
.gh-directory-notice{display:grid;gap:4px;padding:15px 19px;margin:2px 0 27px;background:#f7f6fb;border:1px solid #e5e0ee;border-left:3px solid #8170ae;border-radius:12px;color:#555269}
.gh-directory-notice>strong{font-size:14px;color:#363156}
.gh-directory-notice p{font-size:13px;line-height:1.65;margin:0;max-width:1050px}
.gh-directory-search{background:#fff;border:1px solid #e2e1ea;border-radius:17px;padding:24px;box-shadow:0 3px 16px rgba(28,27,58,.035)}
.gh-directory-search-head h2,.gh-directory-listing-head h2{font-family:Fraunces,Georgia,serif;color:#25205a;font-size:23px;line-height:1.25;margin:0 0 5px}
.gh-directory-search-head p{font-size:13px;line-height:1.5;color:#626577;margin:0}
.gh-directory .gh-alt-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:19px 0 12px;align-items:end}
.gh-directory .gh-alt-form label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:700;line-height:1.4;color:#45435b}
.gh-directory .gh-alt-form input,.gh-directory .gh-alt-form select{height:45px;min-height:45px;width:100%;min-width:0;padding:9px 11px;border:1px solid #cecddd;border-radius:9px;background:#fff;color:#282641;font:inherit;font-size:13px;line-height:1.4}
.gh-directory .gh-alt-form input::placeholder{color:#858597;opacity:1}
.gh-directory .gh-alt-form input:focus-visible,.gh-directory .gh-alt-form select:focus-visible{outline:2px solid #7257f5;outline-offset:1px;border-color:#7257f5}
.gh-directory-filter-foot{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gh-directory-filter-foot p{font-size:12px;line-height:1.5;color:#6c6b79;margin:0}
.gh-directory-filter-foot button,.gh-directory-empty button{flex:none;padding:9px 13px;border:1px solid #cbc6dc;background:#fff;color:#483e70;border-radius:9px;font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.gh-directory-filter-foot button:hover,.gh-directory-empty button:hover{background:#f7f5fc}
.gh-directory-listing{margin-top:30px}
.gh-directory-listing-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin:0 0 16px}
.gh-directory-listing-head p{font-size:13px;color:#666778;margin:4px 0 0}
.gh-directory .gh-alt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:16px;margin:0}
.gh-directory .gh-alt-card{display:flex;flex-direction:column;min-width:0;padding:19px 19px 0;border-radius:15px;border:1px solid #e1dfeb;background:#fff;box-shadow:0 2px 9px rgba(33,29,67,.04);transition:border-color .15s ease,box-shadow .15s ease}
.gh-directory .gh-alt-card:hover{border-color:#b5aace;box-shadow:0 6px 20px rgba(33,29,67,.07)}
.gh-directory .gh-card-top{display:flex;align-items:start;justify-content:space-between;flex-wrap:wrap;gap:7px 9px;margin-bottom:12px}
.gh-directory .gh-card-category{font-size:11px;color:#625e76;font-weight:700}
.gh-directory .gh-card-status{font-size:10px;font-weight:750;padding:5px 8px;border-radius:999px;line-height:1.4;max-width:100%}
.gh-directory .gh-card-documented{background:#edf5f0;color:#276343}
.gh-directory .gh-card-unknown{background:#fff3e6;color:#935525}
.gh-directory .gh-alt-card>h3{color:#25205a;font-size:21px;line-height:1.25;letter-spacing:-.015em;margin:0 0 9px;font-family:Fraunces,Georgia,serif}
.gh-directory .gh-card-summary{font-size:13px;line-height:1.6;color:#41465a;margin:0 0 11px;min-height:62px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.gh-directory .gh-card-meta{font-size:12px;line-height:1.45;margin:0 0 12px;color:#797687;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:35px}
.gh-directory .gh-card-cost{padding:12px;background:#f8f8fb;border:1px solid #edebf3;border-radius:9px;font-size:12px;line-height:1.55;color:#545568;margin:0 0 15px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:66px}
.gh-directory .gh-card-cost strong{color:#353050}
.gh-directory .gh-card-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:auto;margin-bottom:16px}
.gh-directory .gh-card-guide{display:inline-flex;align-items:center;justify-content:center;padding:10px 13px;min-height:41px;border-radius:9px;background:#25205a;color:#fff;text-decoration:none;font-size:12px;font-weight:750}
.gh-directory .gh-card-guide:hover{background:#393074;color:#fff;text-decoration:none}
.gh-directory .gh-card-repo{display:inline-flex;align-items:center;padding:9px 6px;font-size:12px;font-weight:750;color:#62518d;text-decoration:none}
.gh-directory .gh-card-repo:hover{text-decoration:underline}
.gh-directory .gh-card-details{border-top:1px solid #eceaf2;padding:0;margin:0 -19px;border-radius:0 0 15px 15px;background:#fff}
.gh-directory .gh-card-details>summary{display:block;position:relative;font-size:12px;font-weight:700;padding:13px 34px 13px 19px;cursor:pointer;color:#544c78;list-style:none}
.gh-directory .gh-card-details>summary::-webkit-details-marker{display:none}
.gh-directory .gh-card-details>summary::after{content:'+';position:absolute;right:19px;top:11px;font-size:19px;line-height:1;color:#6b6685}
.gh-directory .gh-card-details[open]>summary::after{content:'−'}
.gh-directory .gh-card-details[open]{background:#faf9fd}
.gh-directory .gh-card-details-body{padding:0 19px 16px;font-size:12px;line-height:1.65;color:#56556b;overflow-wrap:anywhere}
.gh-directory .gh-card-details-body p{margin:9px 0}
.gh-directory .gh-card-details-body h4{font-size:13px;color:#363153;margin:16px 0 8px}
.gh-directory .gh-card-details-body ol,.gh-directory .gh-card-details-body ul{margin:0;padding-left:21px}
.gh-directory .gh-card-details-body li{margin:6px 0}
.gh-directory-empty{grid-column:1/-1;text-align:center;border:1px dashed #cbc5dd;border-radius:13px;padding:42px 18px;background:#fff}
.gh-directory-empty h3{color:#25205a;margin:0 0 7px}
.gh-directory-empty p{font-size:13px;color:#6b687b;margin:0 0 16px}
.gh-directory-method{margin:40px 0 0;padding:23px 0 0;border-top:1px solid #e9e6f0}
.gh-directory-method h2{color:#25205a;font-size:21px;margin:0 0 10px}
.gh-directory-method p{max-width:850px;font-size:13px;line-height:1.75;color:#646575;margin:0 0 10px}
@media(max-width:1040px){.gh-directory .gh-alt-form{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-directory .gh-alt-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.gh-directory{padding-top:18px;padding-bottom:45px}.gh-directory-intro{padding:7px 0 19px}.gh-directory-intro h1{font-size:33px}.gh-directory-lead{font-size:15px}.gh-directory-notice{padding:13px 14px}.gh-directory-search{padding:17px 14px}.gh-directory .gh-alt-form{grid-template-columns:1fr;gap:12px}.gh-directory-filter-foot{align-items:flex-start;flex-direction:column}.gh-directory .gh-alt-cards{grid-template-columns:1fr;gap:13px}.gh-directory .gh-card-summary,.gh-directory .gh-card-meta,.gh-directory .gh-card-cost{min-height:0}.gh-directory .gh-alt-card{padding:18px 17px 0}.gh-directory .gh-card-details{margin:0 -17px}.gh-directory .gh-card-details>summary{padding-left:17px}.gh-directory .gh-card-details-body{padding:0 17px 15px}}
@media(prefers-reduced-motion:reduce){.gh-directory .gh-alt-card{transition:none}}

/* GitHub popularity: stars are source-dated and separate from editorial verification. */
.gh-directory .gh-card-stars{display:inline-flex;align-items:center;align-self:flex-start;gap:5px;padding:5px 10px;margin:0 0 12px;background:#fbf7e9;border:1px solid #f1e2b3;border-radius:999px;color:#675016;font-size:12px;font-weight:750;line-height:1.35}
.gh-star-sort{display:flex;align-items:center;gap:8px;color:#515069;font-size:12px;font-weight:700;white-space:nowrap}
.gh-star-sort select{padding:8px 10px;min-height:38px;border:1px solid #d5d0e2;border-radius:9px;background:#fff;color:#393355;font:inherit}
.gh-star-note{font-size:12px;line-height:1.6;color:#77717e;margin:-5px 0 15px}
.gh-guide-stars{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:12px 0 20px;color:#5f5972;font-size:12px;line-height:1.5}
.gh-guide-stars [data-gh-stars-value]{padding:7px 11px;border:1px solid #eeddb2;border-radius:999px;background:#fcf7e8;color:#6f561d;font-weight:750}
.gh-guide-stars [data-gh-stars-date]{color:#6e6c80}
.gh-guide-stars a{color:#584a91;font-weight:700}
.gh-visual-walkthrough{margin:28px 0 32px}
.gh-visual-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 17px;margin-bottom:13px}
.gh-visual-heading h2{margin:0;font-size:clamp(19px,2.4vw,24px);color:#25205a;font-family:Fraunces,Georgia,serif}
.gh-visual-heading p{font-size:12px;line-height:1.55;color:#777486;margin:0;max-width:620px}
.gh-visual-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.gh-visual-step{background:#faf9fd;border:1px solid #e8e4f0;border-radius:13px;padding:16px 17px;min-width:0}
.gh-visual-icon{display:inline-flex;align-items:center;justify-content:center;width:57px;height:57px;background:#efebfb;border-radius:12px;margin:0 0 10px}
.gh-visual-icon svg{max-width:100%;height:auto}
.gh-visual-count{display:block;color:#6751a3;font-size:10px;font-weight:800;letter-spacing:.08em;margin-bottom:5px}
.gh-visual-step p{font-size:13px;line-height:1.6;color:#414153;margin:0;overflow-wrap:anywhere}
.gh-official-media{margin:18px 0 6px;padding:11px;background:#fff;border:1px solid #e5e2eb;border-radius:13px}
.gh-official-media img,.gh-official-media svg{display:block;width:100%;max-width:850px;height:auto;margin:0 auto;border-radius:8px}
.gh-official-media figcaption{margin:10px 3px 2px;color:#686677;font-size:12px;line-height:1.6}
@media(max-width:700px){.gh-star-sort{white-space:normal}.gh-directory-listing-head{align-items:flex-start;flex-direction:column}.gh-visual-steps{grid-template-columns:1fr}.gh-visual-step{display:grid;grid-template-columns:58px minmax(0,1fr);gap:1px 13px;align-items:center}.gh-visual-icon{grid-row:1/span 2;margin:0}.gh-visual-count{grid-column:2}.gh-visual-step p{grid-column:2}}

/* Featured popularity panel uses source-checked snapshots only, never editorial approval. */
.gh-featured{margin:0 0 26px;padding:19px 20px 20px;border:1px solid #e4e2ed;border-radius:15px;background:#fbfafc}
.gh-featured-head{display:flex;align-items:end;justify-content:space-between;gap:12px 22px;flex-wrap:wrap;margin-bottom:14px}
.gh-featured-head h2{font-family:Fraunces,Georgia,serif;font-size:21px;color:#25205a;margin:3px 0 0}
.gh-featured-head p:not(.eyebrow){font-size:12px;line-height:1.5;color:#747183;max-width:420px;margin:0}
.gh-featured-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.gh-featured-item{display:flex;justify-content:center;align-items:center;min-height:49px;padding:9px 10px;background:#fff;border:1px solid #e1daec;border-radius:10px;color:#4a3a77;text-decoration:none;font-size:12px;line-height:1.4;font-weight:750;text-align:center}
.gh-featured-item:hover{color:#25205a;border-color:#b5a5dc;text-decoration:none;background:#f7f4fe}
@media(max-width:900px){.gh-featured-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:450px){.gh-featured{padding:15px 13px}.gh-featured-row{grid-template-columns:1fr 1fr;gap:7px}.gh-featured-item{font-size:11px;padding:9px 5px}}

/* GitHub Academy: spacious editorial documentation and original-aspect desktop screenshots.
   CSS is scoped to guide pages so directory cards and the original catalogue are unchanged. */
.gh-guide{max-width:1160px}
.gh-guide>h1,.gh-guide>.lead,.gh-guide>.gh-alt-alert,.gh-guide>.gh-guide-facts,.gh-guide>.gh-guide-section{max-width:920px}
.gh-guide .gh-visual-walkthrough{margin:37px 0 43px;padding:0}
.gh-guide .gh-visual-heading{display:block;margin-bottom:18px}
.gh-guide .gh-visual-heading h2{font-size:clamp(22px,2.5vw,29px);font-weight:700;letter-spacing:-.02em;line-height:1.25;margin:0 0 8px}
.gh-guide .gh-visual-heading p{font-size:13px;line-height:1.65;max-width:810px}
.gh-guide .gh-visual-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.gh-guide .gh-visual-step{display:flex;flex-direction:column;align-items:start;min-height:194px;padding:16px 15px;border-color:#e3e1eb;border-radius:12px;background:#fff}
.gh-guide .gh-visual-icon{width:48px;height:48px;margin:0 0 14px;background:#f3f0fa}
.gh-guide .gh-visual-icon svg{width:36px;height:36px}
.gh-guide .gh-visual-count{font-size:10px;letter-spacing:.09em;margin:0 0 7px}
.gh-guide .gh-visual-step p{font-size:12.5px;line-height:1.65;color:#444456;margin:0}
.gh-guide .gh-official-media{margin:24px 0 5px;padding:0;border:1px solid #d9dce3;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 9px 30px rgba(20,26,45,.085)}
.gh-guide .gh-screen-titlebar{display:flex;align-items:center;gap:12px;min-height:38px;padding:9px 14px;background:#f6f7f9;border-bottom:1px solid #e0e2e7;font-size:12px;color:#555b68}
.gh-guide .gh-screen-dots{display:flex;gap:5px;flex:none}
.gh-guide .gh-screen-dots i{display:block;width:9px;height:9px;border-radius:50%;background:#d2d5db}
.gh-guide .gh-screen-dots i:first-child{background:#e69c93}
.gh-guide .gh-screen-dots i:nth-child(2){background:#e9ca85}
.gh-guide .gh-screen-dots i:nth-child(3){background:#9dcaa6}
.gh-guide .gh-screen-title{font-weight:650;color:#3b4150;overflow-wrap:anywhere}
.gh-guide .gh-screen-viewport{padding:12px;background:#eaedf2}
.gh-guide .gh-screen-viewport img,.gh-guide .gh-screen-viewport svg{display:block;width:100%;max-width:none;height:auto;object-fit:contain;object-position:top center;border-radius:4px;border:1px solid rgba(0,0,0,.13);background:#fff;margin:0}
.gh-guide .gh-screen-viewport a{display:block;cursor:zoom-in;line-height:0}
.gh-guide .gh-screen-viewport a:focus-visible{outline:3px solid #7257f5;outline-offset:3px}
.gh-guide .gh-screen-caption{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:6px 18px;padding:13px 16px;background:#fff}
.gh-guide .gh-screen-caption figcaption{flex:1 1 420px;font-size:12px;line-height:1.7;color:#5e6171;margin:0}
.gh-guide .gh-screen-full{font-size:12px;font-weight:750;color:#4f4386;text-decoration:none}
.gh-guide .gh-screen-full:hover{text-decoration:underline}
.gh-guide .gh-official-demo{padding:0;margin:24px 0 5px;border:1px solid #e2ddec;border-radius:12px;background:#faf9fd}
.gh-guide .gh-official-demo>summary{padding:15px 17px;font-size:13px;font-weight:750;cursor:pointer;color:#413668}
.gh-guide .gh-official-demo[open]>summary{border-bottom:1px solid #e2ddec}
.gh-guide .gh-official-demo .gh-official-media{margin:12px}
.gh-guide .gh-official-demo .gh-screen-viewport{padding:8px}
@media(max-width:1000px){.gh-guide .gh-visual-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.gh-guide .gh-visual-step{min-height:155px}}
@media(max-width:650px){.gh-guide .gh-visual-walkthrough{margin:26px 0 30px}.gh-guide .gh-visual-steps{grid-template-columns:1fr;gap:10px}.gh-guide .gh-visual-step{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:12px;min-height:0;align-items:center;padding:13px}.gh-guide .gh-visual-icon{grid-column:1;grid-row:1/span 2;margin:0;width:43px;height:43px}.gh-guide .gh-visual-icon svg{width:31px;height:31px}.gh-guide .gh-visual-count{grid-column:2;grid-row:1}.gh-guide .gh-visual-step p{grid-column:2;grid-row:2}.gh-guide .gh-screen-viewport{padding:5px}.gh-guide .gh-screen-caption{padding:10px 12px}}

/* Genuine upstream screenshots: full original image, clearly attributed focus annotations.
   The highlight outlines the overall UI view, not fabricated button coordinates. */
.gh-guide .gh-annotated-official,.gh-guide .gh-desktop-capture:has(.gh-highlight-canvas){border-color:#d5dae4}
.gh-guide .gh-highlight-canvas{position:relative;isolation:isolate}
.gh-guide .gh-highlight-canvas>a{display:block;line-height:0;cursor:zoom-in}
.gh-guide .gh-highlight-canvas img{width:100%;height:auto;object-fit:contain;object-position:top center;display:block}
.gh-guide .gh-highlight-outline{position:absolute;inset:9px;border:3px solid rgba(235,168,47,.94);border-radius:7px;pointer-events:none;box-shadow:0 0 0 9999px rgba(12,16,33,.04) inset}
.gh-guide .gh-highlight-tag{position:absolute;top:14px;left:14px;max-width:calc(100% - 28px);padding:9px 12px;border:1px solid rgba(255,255,255,.3);border-radius:8px;background:#1c2137;color:#fff;font-size:12px;font-weight:800;letter-spacing:.015em;line-height:1.4;pointer-events:none;box-shadow:0 3px 12px rgba(0,0,0,.2)}
.gh-guide .gh-screenshot-reading{padding:16px 19px 17px;background:#fbfafc;border-top:1px solid #e7e4ef}
.gh-guide .gh-screenshot-reading>strong{display:block;color:#302b52;font-size:14px;line-height:1.45;margin-bottom:6px}
.gh-guide .gh-screenshot-reading p{margin:0 0 9px;max-width:950px;font-size:13px;line-height:1.7;color:#51566b}
.gh-guide .gh-screenshot-reading .gh-screenshot-provenance{margin:0;color:#6a6c78;font-size:12px}
.gh-guide .gh-screenshot-reading a{color:#4a4189;font-weight:750}
@media(max-width:650px){.gh-guide .gh-highlight-outline{inset:4px;border-width:2px}.gh-guide .gh-highlight-tag{top:7px;left:7px;padding:5px 7px;font-size:10px;max-width:calc(100% - 14px)}.gh-guide .gh-screenshot-reading{padding:13px 14px}}

/* Evidence coverage: source-backed desktop images versus installation-tested recordings. */
.gh-screenshot-evidence{margin:26px 0;padding:23px 24px;border:1px solid #e1e3e9;border-radius:15px;background:#fafbfd}
.gh-evidence-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:13px 20px;flex-wrap:wrap;margin:0 0 18px}
.gh-evidence-intro h2{font-family:Fraunces,Georgia,serif;font-size:23px;line-height:1.25;color:#25205a;margin:4px 0 8px}
.gh-evidence-intro p:not(.eyebrow){max-width:680px;font-size:13px;line-height:1.65;color:#5f6374;margin:0}
.gh-evidence-coverage{display:inline-flex;align-self:center;border:1px solid #d4d8e2;padding:7px 11px;background:#fff;border-radius:999px;font-size:11px;line-height:1.4;color:#5f6174;font-weight:750}
.gh-evidence-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gh-evidence-links a{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr;gap:5px 8px;padding:15px 16px;min-height:90px;background:#fff;border:1px solid #dfe1e9;border-radius:11px;color:#353452;text-decoration:none}
.gh-evidence-links strong{grid-column:1;font-size:14px;line-height:1.35;color:#25205a}
.gh-evidence-links span:not(.gh-evidence-arrow){grid-column:1;grid-row:2;font-size:12px;line-height:1.5;color:#606476}
.gh-evidence-links .gh-evidence-arrow{grid-column:2;grid-row:1 / span 2;align-self:center;color:#6553a0;font-weight:800}
.gh-evidence-links a:hover,.gh-evidence-links a:focus-visible{border-color:#9d94bc;box-shadow:0 5px 16px rgba(35,33,69,.08)}
.gh-evidence-footnote{font-size:12px;line-height:1.65;color:#6c6f7d;margin:15px 0 0}
@media(max-width:750px){.gh-screenshot-evidence{padding:19px 16px}.gh-evidence-links{grid-template-columns:1fr}.gh-evidence-links a{min-height:0}.gh-evidence-intro h2{font-size:21px}}

/* New official-README screened projects have no independently tested setup guide. */
.gh-directory .gh-card-guide-pending{display:inline-flex;align-items:center;padding:9px 11px;border-radius:9px;border:1px solid #dedfe6;background:#f6f7fa;color:#626577;font-size:11px;font-weight:700;line-height:1.35}
.gh-directory .gh-batch-update{padding:13px 17px;margin:0 0 17px;border:1px solid #dce2e9;border-radius:11px;background:#f8fafc;color:#50576a;font-size:12px;line-height:1.7}

/* Clearly separated source evidence, not a claim of hands-on verification. */
.gh-directory .gh-evidence-facts{margin:16px 0 5px;padding:14px 16px;border:1px solid #e1e4ec;border-radius:11px;background:#f8f9fc}
.gh-directory .gh-evidence-facts h4{margin:0 0 10px;color:#25205a;font-size:13px;font-weight:750}
.gh-directory .gh-evidence-facts p{margin:7px 0;color:#5d6373;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.gh-directory .gh-evidence-facts a{color:#514193;font-weight:700;text-underline-offset:2px}
.gh-directory .gh-evidence-facts a:focus-visible{outline:2px solid #7257f5;outline-offset:3px}

/* GitHub Finder 2.0: evidence-aware OS filters and readable hardware notes. */
.gh-directory .gh-alt-form{align-items:end}
.gh-directory #gh-platform-note{font-size:13px;line-height:1.55;color:#455a50;margin:8px 0 12px}
.gh-directory .gh-card-hardware{font-size:13px;line-height:1.6;padding:10px 12px;background:#f3f8f5;border-left:3px solid #579777;border-radius:6px;color:#294839;overflow-wrap:anywhere}
.gh-directory .gh-card-hardware strong{display:block;margin-bottom:3px}
.gh-directory select:focus-visible,.gh-directory input:focus-visible{outline:3px solid #1f5a3d;outline-offset:2px}
@media(max-width:760px){.gh-directory .gh-alt-form{display:grid;grid-template-columns:minmax(0,1fr)}.gh-directory .gh-alt-form label{min-width:0;width:100%}.gh-directory .gh-card-hardware{padding:10px}}

/* Free-first spotlight: quiet editorial hierarchy; no gradients or fabricated badges. */
.gh-free-highlight{padding:20px 23px;margin:4px 0 24px;border:1px solid #cfded5;border-left:4px solid #2b6951;border-radius:12px;background:#f5faf6}
.gh-free-highlight h2{color:#214c38;font-size:clamp(20px,2.2vw,25px);line-height:1.25;margin:7px 0}
.gh-free-highlight p:not(.eyebrow){font-size:14px;line-height:1.7;max-width:920px;color:#486457}
.gh-free-highlight a{color:#215d42;font-weight:800}
@media(max-width:760px){.gh-free-highlight{padding:16px}}


/* GitHub popularity — restrained gold star accents, readable on light cards. */
.gh-directory .gh-card-stars,
.gh-guide-stars [data-gh-stars-value]{
  color:#8a6000;
  background:#fff8e4;
  border-color:#e4c77a;
}
.gh-featured-item{color:#805900;border-color:#e8d39b;background:#fffdf6}
.gh-featured-item:hover{color:#684900;border-color:#d3b15c;background:#fff8e4}
.gh-directory .gh-card-stars:focus-visible,
.gh-featured-item:focus-visible{outline:3px solid #c28b11;outline-offset:3px}

/* GitHub Academy directory: improve repeated small-text contrast on light cards.
   Lighthouse flagged many repeated card metadata nodes. Keep the palette and
   page layout unchanged; do not alter global site colors or other guide pages. */
.gh-directory .gh-card-meta,
.gh-directory .gh-card-category,
.gh-directory .gh-card-cost,
.gh-directory .gh-card-details-body,
.gh-directory .gh-card-details>summary,
.gh-directory .gh-card-guide-pending,
.gh-directory .gh-star-note,
.gh-directory .gh-directory-filter-foot p,
.gh-directory .gh-directory-method p,
.gh-directory .gh-directory-listing-head p,
.gh-directory .gh-directory-search-head p,
.gh-directory .gh-directory-notice p,
.gh-directory .gh-directory-lead,
.gh-directory .gh-card-repo,
.gh-directory .gh-featured-head p:not(.eyebrow),
.gh-directory .gh-evidence-facts p {
  color:#454357;
}
.gh-directory .gh-alt-form input::placeholder{color:#555264}
.gh-directory .gh-card-documented{color:#245238}
.gh-directory .gh-card-unknown{color:#744019}
.gh-directory .gh-card-stars{color:#684900}
.gh-directory .gh-card-status{font-size:11px}

/* Final small-text legibility pass for dynamically generated GitHub cards.
   Contrast-friendly ink on white, off-white, and pale tinted surfaces.
   Deliberately scoped to this directory; does not affect site-wide theme. */
.gh-directory .gh-alt-card .gh-alt-meta,
.gh-directory .gh-alt-card .gh-card-meta,
.gh-directory .gh-alt-card .gh-card-category,
.gh-directory .gh-alt-card .gh-card-summary,
.gh-directory .gh-alt-card .gh-card-cost,
.gh-directory .gh-alt-card .gh-card-cost strong,
.gh-directory .gh-alt-card .gh-card-details-body,
.gh-directory .gh-alt-card .gh-card-details-body p,
.gh-directory .gh-alt-card .gh-card-details-body li,
.gh-directory .gh-alt-card .gh-card-details>summary,
.gh-directory .gh-alt-card .gh-card-repo,
.gh-directory .gh-alt-card .gh-card-guide-pending {
  color:#353347;
}
.gh-directory #gh-alt-message,
.gh-directory .gh-star-note,
.gh-directory .gh-directory-points span,
.gh-directory .gh-directory-filter-foot p,
.gh-directory .gh-directory-method p,
.gh-directory .gh-directory-search-head p,
.gh-directory .gh-directory-listing-head p,
.gh-directory .gh-featured-head p:not(.eyebrow),
.gh-directory .gh-directory-notice p,
.gh-directory .gh-evidence-footnote {
  color:#3d3b50;
}
.gh-directory .gh-card-status.gh-card-documented {color:#1e4b33}
.gh-directory .gh-card-status.gh-card-unknown {color:#643512}
.gh-directory .gh-alt-form input::placeholder{color:#49455a}
.gh-live-projects{margin:0 0 26px;padding:19px 20px 20px;border:1px solid #e4e2ed;border-radius:15px;background:#fbfafc}.gh-live-projects[hidden]{display:none}.gh-live-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}.gh-live-item{display:flex;flex-direction:column;gap:6px;min-width:0}.gh-live-card{display:flex;flex-direction:column;gap:6px;flex:1;padding:12px 13px;background:#fff;border:1px solid #e1daec;border-radius:10px;color:#2b2550;text-decoration:none;min-width:0}.gh-live-card:hover,.gh-live-card:focus-visible{border-color:#9b8bd0}.gh-live-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.gh-live-stars{font-size:12px;font-weight:700;color:#6b4f00}.gh-live-name{font-size:15px;color:#3f2f7a;overflow-wrap:anywhere}.gh-live-desc{font-size:13px;line-height:1.45;color:#4b4760;overflow-wrap:anywhere}.gh-live-meta{font-size:12px;color:#5c5872}.gh-live-repo{font-size:12px;font-weight:650;color:#46358e;padding:0 2px}@media(max-width:650px){.gh-live-projects{padding:15px 13px}.gh-live-list{grid-template-columns:1fr}}
