/* New Open Source layout using the existing Nocorps slate, emerald, teal and blue theme. */
.os-page{--os-paper:#f8fafc;--os-ink:#0f172a;--os-muted:#475569;--os-green:#059669;--os-line:#e2e8f0;background:var(--os-paper);color:var(--os-ink);font-family:inherit;padding-top:100px;line-height:1.6}.os-page *{box-sizing:border-box}.os-page h1,.os-page h2,.os-page h3,.os-page p{margin:0}.os-page a{text-decoration:none;color:inherit}.os-page button,.os-page input{font:inherit}.os-page button{cursor:pointer}.os-page svg{flex-shrink:0;vertical-align:middle}.os-page [hidden]{display:none!important}.os-page a:focus-visible,.os-page button:focus-visible,.os-page input:focus-visible{outline:3px solid #64748b;outline-offset:5px}.os-container{width:calc(100% - 112px);max-width:1216px;margin-inline:auto}.os-hero{padding:60px 0 66px;background:linear-gradient(135deg,#ffffff 0%,#ecfdf5 52%,#eff6ff 100%)}.os-breadcrumb{display:flex;align-items:center;gap:11px;font-size:12px;color:#475569;letter-spacing:.1px}.os-breadcrumb>svg{color:var(--os-green)}.os-breadcrumb>span:nth-child(3){color:#94a3b8;margin:0 1px}.os-breadcrumb>span:nth-child(2){color:#334155;font-weight:600}.os-hero h1{font-size:clamp(48px,5.3vw,74px);font-weight:800;letter-spacing:-3.8px;line-height:1.07;margin:28px 0 25px}.os-hero-description{font-size:15px;color:var(--os-muted);line-height:1.9;max-width:440px}.os-hero-actions{display:flex;align-items:center;gap:26px;margin-top:30px}.os-button{display:inline-flex;justify-content:center;align-items:center;gap:17px;min-height:46px;padding:12px 20px;border:1px solid transparent;border-radius:16px;font-size:14px;font-weight:700;white-space:nowrap}.os-page .os-button-primary{background:var(--os-green);color:white;border-color:var(--os-green);box-shadow:0 2px 3px #1e293b0b}.os-page .os-button-primary:hover{background:#047857}.os-github-link{display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:550}.os-github-link:hover{color:var(--os-green)}.os-library{padding:76px 0 78px;scroll-margin-top:105px}.os-library-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:36px}.os-section-intro{font-size:12px;color:#64748b;margin-bottom:9px!important}.os-library h2{font-size:32px;font-weight:700;letter-spacing:-1.2px;display:flex;align-items:center;gap:13px;line-height:1.2}.os-library h2>span{font-size:12px;font-weight:500;letter-spacing:0;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:5px;width:25px;height:25px;display:grid;place-items:center;margin-top:3px}.os-search{display:flex;align-items:center;gap:10px;padding:11px 13px;border:1px solid #e2e8f0;border-radius:7px;background:white;width:290px;color:#64748b;box-shadow:0 1px 2px #1e293b03}.os-search:focus-within{outline:2px solid #64748b;outline-offset:3px}.os-search input{min-width:0;flex:1;border:0;background:none;font-size:11px;color:#334155;outline:none!important}.os-search input::placeholder{color:#64748b}.os-search kbd{padding:0 5px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:3px;font-size:9px;color:#64748b}.os-library-layout{display:grid;grid-template-columns:214px minmax(0,1fr);gap:37px;align-items:start}.os-library-sidebar{position:sticky;top:110px;padding-top:4px}.os-library-sidebar>p{font-size:10px;color:#64748b;margin:0 12px 14px}.os-library-sidebar nav{display:grid;gap:4px}.os-library-sidebar nav>button{display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;padding:11px 12px;background:transparent;border:1px solid transparent;border-radius:6px;color:#475569;font-size:11px;min-height:40px}.os-library-sidebar nav>button>span:last-child{font-size:9px;color:#64748b;padding:1px 5px;min-width:18px;text-align:center}.os-library-sidebar nav>button[aria-pressed=true]{background:#ecfdf5;color:#047857;border-color:#e2e8f0;font-weight:600}.os-library-sidebar nav>button[aria-pressed=true]>span:last-child{background:#f8fafc;border:1px solid #e2e8f0;border-radius:4px;color:#475569}.os-library-sidebar nav>button:hover{background:#f1f5f9}.os-sidebar-note{margin-top:35px;border-top:1px solid #e2e8f0;padding:26px 12px 0;color:#64748b}.os-sidebar-note h3{font-size:13px;font-weight:700;color:#475569;margin-top:13px}.os-sidebar-note p{font-size:11px;color:#475569;line-height:1.9;margin:8px 0 14px}.os-sidebar-note a{display:flex;align-items:center;gap:6px;font-size:10px;color:#475569;font-weight:600}.os-projects-area{min-width:0}.os-results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:3px 0 15px;font-size:10px;color:#64748b}.os-results-heading>span{font-size:9px}.os-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.os-project-card{display:flex;flex-direction:column;min-width:0;background:white;border:1px solid #e2e8f0;border-radius:24px;padding:24px 23px 0;transition:border-color .18s,box-shadow .18s}.os-project-card:hover{border-color:#94a3b8;box-shadow:0 5px 14px #1e293b05}.os-card-top{display:flex;align-items:center;gap:10px;margin-bottom:19px}.os-project-mark{display:grid;place-items:center;width:37px;height:37px;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:9px;flex-shrink:0}.os-project-cli .os-project-mark{background:#f1f5f9;color:#475569;border-color:#e2e8f0}.os-project-android .os-project-mark{background:#f8fafc;color:#475569;border-color:#e2e8f0}.os-project-language .os-project-mark{background:#f8fafc;color:#64748b;border-color:#f1f5f9;font-size:25px;font-weight:700;letter-spacing:-2px;line-height:1}.os-project-category{font-size:11px;color:#475569;line-height:1.5}.os-source-icon{margin-left:auto;color:#64748b!important;display:grid;place-items:center;height:27px;width:27px;flex-shrink:0}.os-source-icon:hover{color:var(--os-green)!important}.os-project-card h3{font-size:23px;font-weight:700;letter-spacing:-.5px;line-height:1.4;overflow-wrap:anywhere;color:#1e293b}.os-card-description{font-size:14px;line-height:1.9;color:#475569;margin-top:10px!important;margin-bottom:19px!important;max-width:350px}.os-card-tags{display:flex;gap:11px;align-items:center;margin-top:auto;font-size:9px;color:#64748b;margin-bottom:20px}.os-card-tags>span{display:flex;align-items:center;gap:5px}.os-card-tags>span:last-child{padding-left:11px;border-left:1px solid #e2e8f0}.os-card-tags i{width:5px;height:5px;background:#94a3b8;border-radius:50%}.os-project-language .os-card-tags i{background:#94a3b8}.os-install{display:flex;align-items:center;gap:7px;padding:10px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;margin-bottom:17px;min-height:37px}.os-install code{font:9px ui-monospace,SFMono-Regular,Consolas,monospace;color:#334155;overflow:auto;white-space:nowrap;scrollbar-width:thin;min-width:0;flex:1;padding-block:2px}.os-install button{display:flex;align-items:center;gap:4px;border:0;background:none;color:#64748b;padding:3px;flex-shrink:0;min-width:21px;min-height:24px}.os-install button:hover{color:#334155}.os-card-links{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1f5f9;padding:15px 0;gap:13px}.os-card-links>a{display:flex;align-items:center;gap:7px;font-size:12px;color:#334155}.os-card-links>a:first-child{font-weight:600}.os-card-links>a:last-child{color:#475569;font-size:11px}.os-card-links a:hover{color:var(--os-green)}.os-empty{grid-column:1/-1;text-align:center;border:1px dashed #cbd5e1;border-radius:10px;padding:55px 20px;color:#64748b;min-height:260px;display:flex;align-items:center;flex-direction:column}.os-empty h3{font-size:19px;color:#334155;margin:15px 0 9px}.os-empty p{font-size:12px;margin-bottom:20px}.os-language{display:grid;grid-template-columns:1fr 1.1fr;gap:50px;align-items:center;padding:48px 47px;border:1px solid #f1f5f9;border-radius:13px;background:#eff6ff;overflow:hidden}.os-language-label{display:flex;align-items:center;gap:10px;font-size:10px;color:#64748b}.os-language-label>span{font-size:25px;font-weight:700;letter-spacing:-2px;color:#64748b;width:32px;height:32px;background:#f1f5f9;display:grid;place-items:center;border-radius:8px;line-height:1}.os-language h2{font-size:36px;font-weight:700;letter-spacing:-1.5px;line-height:1.22;color:#334155;margin-top:19px}.os-language-copy>p{font-size:12px;line-height:1.95;color:#475569;margin:17px 0 23px;max-width:345px}.os-page .os-button-dark{background:#0f172a;color:#fff;border-color:#0f172a;font-size:11px}.os-page .os-button-dark:hover{background:#1e293b}.os-language-editor{background:#fff;border:1px solid #e2e8f0;border-radius:9px;min-width:0;box-shadow:0 8px 18px #33415508;transform:rotate(1deg)}.os-language-editor-title{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:15px 20px;background:#ffffff;border-bottom:1px solid #f8fafc;font-size:9px;color:#94a3b8}.os-language-editor-title>span:first-child{display:flex;align-items:center;gap:7px;color:#64748b}.os-language-editor-title i{height:5px;width:5px;border-radius:50%;background:#94a3b8}.os-language-editor pre{font:10px/2.5 ui-monospace,SFMono-Regular,Consolas,monospace;padding:25px 20px;color:#64748b;overflow:auto;margin:0;scrollbar-width:thin}.os-line-number{color:#cbd5e1;user-select:none;margin-right:13px}.os-code-comment{color:#94a3b8}.os-code-keyword{color:#64748b}.os-code-string{color:#64748b}.os-language-editor-footer{border-top:1px solid #f8fafc;padding:13px 17px;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:8px;color:#94a3b8}.os-language-editor-footer>span,.os-language-editor-footer>a{display:flex;align-items:center;gap:6px}.os-language-editor-footer i{height:4px;width:4px;background:#94a3b8;border-radius:50%}.os-contribute{display:grid;grid-template-columns:1fr 1fr;gap:100px;padding:76px 0 85px;align-items:center}.os-contribute-icon{color:#64748b;display:block;margin-bottom:17px}.os-contribute h2{font-size:34px;line-height:1.24;letter-spacing:-1.3px;font-weight:700;color:#334155}.os-contribute p{font-size:12px;color:#475569;line-height:1.95;margin-top:18px}.os-contribute-links>a{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:22px 0;border-bottom:1px solid #e2e8f0;color:#64748b}.os-contribute-links>a:first-child{padding-top:0}.os-contribute-links>a:last-child{border:0;padding-bottom:0}.os-contribute-links strong{font-size:13px;font-weight:700;color:#334155;display:block}.os-contribute-links small{font-size:11px;color:#475569;margin-top:5px;display:block}.os-contribute-links a:hover strong,.os-contribute-links a:hover>svg{color:var(--os-green)}.os-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.os-hero{padding-block:78px 83px}.os-hero h1{font-size:78px}}
@media(max-width:1100px){.os-container{width:calc(100% - 72px)}.os-hero h1{font-size:57px;letter-spacing:-3px}.os-hero-description{font-size:13px}.os-hero-actions{gap:16px;flex-wrap:wrap}.os-button{font-size:11px;padding:11px 15px;gap:10px}.os-github-link{font-size:11px}.os-library-layout{grid-template-columns:180px minmax(0,1fr);gap:23px}.os-project-card{padding:20px 18px 0}.os-project-card h3{font-size:16px}.os-project-category{font-size:8px}.os-card-description{font-size:12px}.os-card-top{gap:8px}.os-project-mark{width:32px;height:32px}.os-library-sidebar nav>button{padding-inline:10px;font-size:10px}.os-language{padding:36px 30px;gap:30px}.os-language h2{font-size:30px}.os-language-editor pre{font-size:9px;padding:20px 12px}.os-line-number{margin-right:8px}.os-contribute{gap:55px}}
@media(max-width:850px){.os-hero{padding:40px 0 50px}.os-hero h1{font-size:65px}.os-hero-description{font-size:15px;max-width:480px}.os-library{padding-top:55px}.os-library h2{font-size:29px}.os-library-heading{align-items:flex-start}.os-search{width:245px;margin-top:18px}.os-library-layout{grid-template-columns:1fr;gap:22px}.os-library-sidebar{position:static}.os-library-sidebar>p,.os-sidebar-note{display:none}.os-library-sidebar nav{display:flex;gap:7px;overflow:auto;padding-bottom:5px;scrollbar-width:thin}.os-library-sidebar nav>button{flex-shrink:0;gap:10px;min-height:37px;padding:8px 12px;font-size:11px;border-color:#e2e8f0;background:white}.os-library-sidebar nav>button>span:last-child{font-size:9px}.os-project-card{padding:24px 22px 0}.os-card-description{font-size:12px}.os-project-card h3{font-size:18px}.os-project-category{font-size:10px}.os-project-mark{width:37px;height:37px}.os-card-top{gap:10px}.os-library{padding-bottom:55px}.os-language{grid-template-columns:1fr;padding:35px;gap:32px}.os-language h2{font-size:36px}.os-language-copy>p{max-width:450px;font-size:13px}.os-language-editor pre{font-size:12px;padding:24px 18px}.os-language-editor{transform:none}.os-contribute{padding:55px 0 65px;gap:35px}.os-contribute h2{font-size:29px}.os-contribute p br{display:none}.os-contribute p{font-size:12px}.os-contribute-links small{font-size:10px}}
@media(max-width:540px){.os-page{padding-top:90px}.os-container{width:calc(100% - 40px)}.os-hero{padding:24px 0 35px}.os-breadcrumb{font-size:10px;gap:9px}.os-hero h1{font-size:51px;letter-spacing:-2.5px;line-height:1.09;margin:23px 0 21px}.os-hero-description{font-size:13px;line-height:1.85}.os-hero-description br{display:none}.os-hero-actions{gap:17px;margin-top:25px;align-items:center}.os-button{font-size:10px;min-height:41px;padding:10px 13px;gap:10px}.os-github-link{font-size:10px;gap:7px}.os-github-link svg{width:16px;height:16px}.os-library{padding-top:39px;padding-bottom:38px;scroll-margin-top:90px}.os-library-heading{display:block;margin-bottom:23px}.os-section-intro{font-size:10px;margin-bottom:8px!important}.os-library h2{font-size:27px;gap:10px;letter-spacing:-1px}.os-library h2>span{height:22px;width:22px;font-size:10px}.os-search{width:100%;margin-top:22px;padding:12px}.os-search input{font-size:12px}.os-library-sidebar nav>button{font-size:10px;padding:8px 10px;gap:8px;min-height:35px}.os-library-layout{gap:15px}.os-results-heading{font-size:9px;margin-bottom:14px}.os-results-heading>span{font-size:8px}.os-project-grid{grid-template-columns:1fr;gap:16px}.os-project-card{padding:22px 22px 0}.os-project-card h3{font-size:19px}.os-card-description{font-size:12px;margin-bottom:19px!important}.os-card-top{margin-bottom:16px}.os-project-category{font-size:10px}.os-card-tags{font-size:10px;margin-bottom:18px}.os-install{padding:10px;margin-bottom:17px}.os-install code{font-size:9px}.os-card-links{padding-block:16px}.os-card-links>a{font-size:11px}.os-card-links>a:last-child{font-size:10px}.os-language{padding:25px 22px;border-radius:10px;gap:25px}.os-language-label{font-size:8px}.os-language-label>span{height:28px;width:28px;font-size:23px}.os-language h2{font-size:31px;margin-top:16px;letter-spacing:-1.3px}.os-language-copy>p{font-size:12px;margin:16px 0 20px}.os-language-editor-title{padding:12px;font-size:8px}.os-language-editor pre{font-size:8px;padding:17px 9px;line-height:2.6}.os-line-number{margin-right:8px}.os-language-editor-footer{padding:11px 10px;font-size:7px;gap:8px}.os-language-editor-footer svg{width:10px}.os-contribute{grid-template-columns:1fr;gap:31px;padding-top:41px;padding-bottom:45px}.os-contribute h2{font-size:29px}.os-contribute-icon{margin-bottom:15px}.os-contribute p{font-size:12px;margin-top:15px}.os-contribute-links>a{padding-block:19px}.os-contribute-links strong{font-size:13px}.os-contribute-links small{font-size:11px}.os-empty{padding:35px 18px}.os-empty p{font-size:11px}.os-empty h3{font-size:18px}}
@media(prefers-reduced-motion:reduce){.os-page *{scroll-behavior:auto!important;transition:none!important}}
/* Keep the category rail inside its grid track on narrow screens. */
.os-library-sidebar{min-width:0}
@media(max-width:850px){.os-library-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.os-hero h1{font-size:clamp(43px,12.8vw,51px)}}

/* Reuse the established public-site treatments. */
.os-hero h1{color:#0f172a;font-weight:800;letter-spacing:-.045em}.os-hero h1>span{background:linear-gradient(to right,#059669,#0d9488,#2563eb);background-clip:text;-webkit-background-clip:text;color:transparent}.os-breadcrumb{display:inline-flex;padding:7px 12px;background:white;border:1px solid #d1fae5;border-radius:999px;color:#065f46;box-shadow:0 1px 2px #00000005}.os-hero-description{color:#475569}.os-hero-actions .os-github-link{background:white;border:1px solid #e2e8f0;border-radius:16px;padding:12px 16px;color:#0f172a;box-shadow:0 1px 2px #00000005}.os-project-card{box-shadow:0 1px 3px #0f172a06;transition:border-color .2s,box-shadow .2s}.os-project-card:hover{border-color:#6ee7b7;box-shadow:0 10px 25px #0f172a0d}.os-library-sidebar nav>button{border-radius:12px}.os-library-sidebar nav>button[aria-pressed=true]{background:#0f172a;border-color:#0f172a;color:white}.os-library-sidebar nav>button[aria-pressed=true]>span:last-child{background:#ffffff20;border-color:transparent;color:white}.os-search{border-radius:16px}.os-install{background:#0f172a;border-color:#1e293b;border-radius:12px;padding:12px}.os-install code{color:#34d399;font-size:10px}.os-install button{color:#cbd5e1}.os-install button:hover{color:white}.os-project-card .os-project-mark{background:linear-gradient(to right,#10b981,#0d9488);border:0;color:white;border-radius:12px}.os-project-card[data-project=cus_theme] .os-project-mark{background:linear-gradient(to right,#3b82f6,#4f46e5)}.os-project-card[data-project=gradient_color_and_styles] .os-project-mark{background:linear-gradient(to right,#a855f7,#ec4899)}.os-project-card[data-project=change_package_name] .os-project-mark{background:linear-gradient(to right,#f97316,#d97706)}.os-project-card[data-project=generate_signin_key] .os-project-mark{background:linear-gradient(to right,#06b6d4,#2563eb)}.os-project-card[data-project=browser_webview] .os-project-mark{background:linear-gradient(to right,#2563eb,#0891b2)}.os-card-links>a:first-child{color:#047857}.os-language{border-radius:24px;background:linear-gradient(135deg,#ecfdf5,#eff6ff);border-color:#d1fae5}.os-language h2{color:#0f172a;font-weight:800}.os-language-label{color:#047857}.os-language-label>span{color:white;background:#059669}.os-language-editor{border-radius:16px;border-color:#334155;background:#0f172a;box-shadow:0 12px 24px #0f172a12}.os-language-editor-title{background:#1e293b;border-color:#334155;color:#94a3b8}.os-language-editor-title>span:first-child{color:#cbd5e1}.os-language-editor pre{color:#e2e8f0}.os-line-number{color:#64748b}.os-code-comment{color:#94a3b8}.os-code-keyword{color:#c4b5fd}.os-code-string{color:#6ee7b7}.os-language-editor-footer{border-color:#334155;color:#94a3b8}.os-contribute h2{color:#0f172a;font-weight:800}.os-contribute-icon{color:#059669}.os-contribute-links strong{color:#047857}.os-contribute-links>a>svg{color:#059669}.os-page .os-button-dark{color:white;background:#0f172a;border-color:#0f172a;border-radius:16px}.os-page .os-button-dark:hover{background:#1e293b}
@media(max-width:540px){.os-hero-actions{gap:10px;align-items:stretch}.os-hero-actions .os-github-link{padding:10px 12px;font-size:10px}.os-hero-actions .os-button{font-size:10px}.os-project-card h3{font-size:21px}.os-card-description{font-size:13px}.os-install code{font-size:9px}.os-language{border-radius:20px}.os-language-editor{border-radius:12px}}

.os-hero-simple{text-align:center;padding:52px 0 56px;border-bottom:1px solid #e2e8f0}.os-hero-intro{max-width:1000px}.os-hero-simple h1{font-size:clamp(38px,4.6vw,64px)}.os-hero-simple .os-hero-description{max-width:650px;margin:0 auto;font-size:15px;line-height:1.9}.os-hero-simple .os-hero-actions{justify-content:center}@media(max-width:540px){.os-hero-simple{padding:25px 0 35px}.os-hero-simple h1{font-size:36px;letter-spacing:-1.5px}.os-hero-simple .os-hero-description{font-size:13px}.os-hero-simple .os-hero-actions{justify-content:center;flex-wrap:wrap}}

.os-hero-simple+.os-library{padding-top:60px}@media(max-width:540px){.os-hero-simple+.os-library{padding-top:35px}}
