:root{--ink:#18253b;--muted:#708096;--line:#e7edf4;--bg:#f7f9fc;--blue:#365bdf;--accent:#8ff5ca;--navy:#111d35;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,"Segoe UI","Malgun Gothic",sans-serif;font-size:15px;line-height:1.65}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{max-width:1140px;margin:auto;padding:0 24px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;gap:11px;align-items:center;color:#152440;font-weight:900;letter-spacing:1.2px;font-size:17px}.brand small{font-size:9px;display:block;line-height:1.2;letter-spacing:2px;color:#8090a3}.brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:#2239a3;color:#fff;font-weight:900;font-size:23px;transform:rotate(-6deg)}nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:700;color:#475973}nav a:hover{color:var(--blue)}nav .nav-btn{padding:10px 14px;background:#f0f4fb;border:0;border-radius:9px;color:#263857;font-size:13px;font-weight:700}.inline{display:inline}.hero{position:relative;overflow:hidden;min-height:390px;border-radius:25px;margin-top:32px;padding:59px 70px;background:radial-gradient(circle at 85% 10%,#344c7a 0,transparent 43%),linear-gradient(125deg,#0f203f,#172952 70%,#1c2851);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:28px}.hero-copy,.hero-graphic{position:relative;z-index:2}.hero-copy{max-width:580px}.eyebrow{font-size:11px;letter-spacing:2.5px;font-weight:850;color:#93f5c8}.eyebrow-dark{color:#3660d3}.dot{display:inline-block;width:7px;height:7px;background:#94ffd0;border-radius:50%;margin-right:5px}.hero h1{font-size:42px;line-height:1.32;letter-spacing:-1.9px;margin:17px 0}.hero h1 span{color:#9efad3}.hero p{color:#b4c4dd;line-height:1.85;margin-bottom:28px}.hero .button{border-color:#a0f3d0}.orb{position:absolute;border-radius:50%;border:1px solid #ffffff16}.orb-1{width:490px;height:490px;right:-190px;top:-110px}.orb-2{width:340px;height:340px;right:-110px;top:-35px}.button{display:inline-flex;align-items:center;justify-content:center;gap:15px;padding:12px 19px;border-radius:11px;font-size:13px;font-weight:800;border:0;white-space:nowrap}.button-accent{background:#a1f8d3;color:#123c36}.button-primary{background:#365bdf;color:#fff}.button-primary:hover{background:#2847bb}.button-outline{background:#fff;border:1px solid #ccd7e9;color:#50617f}.button-small{padding:8px 12px;font-size:12px;background:#edf2ff;color:#2f4ed0}.hero-graphic{min-width:290px;margin-right:5px;transform:rotate(4deg)}.window{border:1px solid #ffffff30;background:#ffffff13;box-shadow:0 30px 80px #050e24a0;backdrop-filter:blur(8px);border-radius:17px;width:314px;overflow:hidden}.window-top{padding:15px;border-bottom:1px solid #ffffff20;font-size:10px;color:#adbbd7;display:flex;gap:6px;align-items:center}.window-top i{width:7px;height:7px;border-radius:50%;background:#889abe}.window-top i:first-child{background:#fd7e80}.window-top i:nth-child(2){background:#ffdc81}.window-top i:nth-child(3){background:#8bf2b9}.window-top span{margin-left:auto}.window-body{padding:23px}.mock-file{background:#ffffffeb;border-radius:13px;padding:15px;display:flex;gap:14px;align-items:center;color:#223454}.mock-file strong{background:#e3edff;border-radius:10px;color:#3d59c5;font-size:20px;width:45px;height:45px;display:grid;place-items:center}.mock-file div{flex:1}.mock-file b{display:block;font-size:13px}.mock-file small{display:block;font-size:10px;color:#7789a3}.mock-file span{font-size:22px;color:#4564c7}.mock-line{height:8px;border-radius:5px;background:#ffffff29;margin-top:14px}.mock-line.long{width:90%}.mock-line.medium{width:75%}.mock-line.short{width:45%}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:63px 0 26px}.section-head h2,.panel-heading h2{font-size:25px;letter-spacing:-.7px;margin:9px 0 4px}.section-head p,.subtext{color:var(--muted);font-size:13px;margin:0}.search-form{display:flex;background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden}.search-form input{border:0;outline:0;padding:13px;width:185px;color:var(--ink)}.search-form button{border:0;background:#eff3fd;color:#2d4db6;padding:0 15px;font-size:12px;font-weight:800}.app-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:85px}.app-card{background:#fff;border:1px solid var(--line);border-radius:17px;min-height:265px;display:flex;flex-direction:column;padding:25px 26px;box-shadow:0 7px 20px #0e245007;transition:transform .2s,border-color .2s}.app-card:hover{transform:translateY(-4px);border-color:#adbce7}.app-card-top{display:flex;align-items:start;justify-content:space-between}.app-icon,.detail-icon{width:56px;height:56px;display:grid;place-items:center;border-radius:15px;color:#fff;background:linear-gradient(150deg,#476de6,#192e87);font-size:25px;font-weight:900}.pill{border:1px solid #e2e9f1;border-radius:100px;background:#f4f7fb;padding:5px 11px;color:#5e718a;font-size:11px;font-weight:800;display:inline-block}.app-card h3{font-size:20px;margin:18px 0 2px;letter-spacing:-.5px}.tagline{font-size:13px;color:#76869a;line-height:1.65;margin:0 0 20px;min-height:40px}.app-meta{margin-top:auto;display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#78899e}.app-meta b{color:#3557c8}.card-bottom{border-top:1px solid var(--line);padding-top:15px;margin-top:19px;font-size:13px;font-weight:850;color:#3154cc;display:flex;justify-content:space-between}.empty{grid-column:1/-1;border:1px dashed #cbd7e5;background:#fff;border-radius:17px;text-align:center;padding:60px}.empty span{font-size:40px}.empty h3{margin:10px 0 0}.empty p{color:var(--muted)}.alert{padding:12px 18px;margin-top:20px;border-radius:10px;font-size:13px;background:#eaf7ed;color:#266746}.alert-error{background:#fff1f1;color:#b73333}footer{border-top:1px solid var(--line);color:#8b98aa;font-size:12px;background:#fff;padding:30px 0}.footer-grid{display:flex;justify-content:space-between;align-items:center}.footer-grid b{font-size:17px;color:#23385c}.footer-grid p{margin:0}.backline{display:flex;justify-content:space-between;font-size:13px;color:#5c72a0;font-weight:700;margin:30px 0 20px}.detail-hero{display:flex;align-items:center;gap:22px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:31px 36px;margin-bottom:24px}.detail-icon{width:84px;height:84px;font-size:36px;border-radius:20px}.detail-hero h1{margin:5px 0;font-size:30px;letter-spacing:-1px}.detail-hero p{margin:0;color:var(--muted)}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.panel{background:#fff;border:1px solid var(--line);border-radius:17px;padding:28px 30px;margin-bottom:22px;box-shadow:0 6px 18px #12274c06}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.panel-heading h2{font-size:21px;margin:0}.description,.release-notes{white-space:pre-line;color:#42536d;font-size:14px;line-height:1.85}.side-panel h3{margin:0 0 18px}.side-stat{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;font-size:13px}.side-stat span{color:var(--muted)}.side-note{border-radius:10px;background:#f2f6ff;padding:15px;color:#687d9b;font-size:12px;margin-top:20px}.release{border:1px solid var(--line);border-radius:13px;padding:20px;margin-bottom:16px}.release-top,.release-foot{display:flex;align-items:center;justify-content:space-between;gap:15px}.release-top small,.release-file small{color:var(--muted);font-size:11px}.version{font-size:19px}.latest{display:inline-block;background:#e4f7ec;color:#2c8354;font-size:10px;font-weight:800;padding:3px 8px;border-radius:6px;margin-left:10px}.release-notes{font-size:13px;margin:14px 0 17px}.release-foot{background:#f6f8fc;border-radius:9px;padding:12px;gap:10px}.release-file{min-width:0;overflow-wrap:anywhere;font-size:12px;font-weight:750}.release-file small{display:block}.hash{font-size:11px;color:#8390a5;margin-top:12px}.hash code{display:block;overflow-wrap:anywhere;background:#f5f7fb;padding:8px;border-radius:5px;color:#4a5b73}.delete-form{margin-top:10px;text-align:right}.danger-link{border:0;background:none;color:#b34550;font-size:11px}.feedback-panel{margin:5px 0 50px}.feedback-layout{display:grid;grid-template-columns:1fr 1fr;gap:32px}.feedback-list{border-left:1px solid var(--line);padding-left:30px}.feedback-list h3{margin:0 0 15px}.feedback-item{border-bottom:1px solid var(--line);padding:14px 0}.feedback-item>div{display:flex;justify-content:space-between}.feedback-item small{color:#99a5b3}.feedback-item p{white-space:pre-line;overflow-wrap:anywhere;color:#52617b;font-size:13px}.empty-simple{padding:25px;color:#8899ac;font-size:13px}.feedback-form label,.editor-form label,.auth-card label{display:block;font-weight:750;font-size:13px;margin-bottom:17px}input:not([type=hidden]):not([type=file]),textarea,select{width:100%;padding:12px 13px;background:#fff;border:1px solid #dce5ef;border-radius:9px;margin-top:7px;color:var(--ink);outline-color:#8da2ef}input[type=file]{width:100%;border:1px dashed #aebde1;border-radius:11px;padding:25px 15px;margin-top:7px;background:#f7f9ff}textarea{resize:vertical}label small{font-weight:400;color:#8290a1;display:block;margin-top:6px}.required{color:#c94860}.honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}.auth-card{max-width:460px;margin:75px auto 100px;padding:37px}.auth-card h1{margin:10px 0}.auth-card .subtext{margin-bottom:24px}.block{width:100%}.admin-header{display:flex;justify-content:space-between;align-items:center;margin:55px 0 25px;gap:20px}.admin-header h1,.form-page h1{font-size:30px;letter-spacing:-1px;margin:7px 0}.admin-header p{color:var(--muted);font-size:13px}.count{font-size:12px;border-radius:40px;background:#edf2fd;color:#365bd6;padding:4px 9px;margin-left:6px}.admin-program,.moderation{display:flex;align-items:center;gap:14px;padding:15px 0;border-top:1px solid var(--line)}.admin-program:first-child,.moderation:first-child{border-top:0}.app-icon.small{width:43px;height:43px;font-size:19px;border-radius:12px}.grow{flex:1}.grow small,.moderation small{display:block;color:var(--muted);font-size:11px}.admin-actions{display:flex;align-items:center;gap:15px;font-size:12px;color:#3e59af;font-weight:750}.moderation>div:first-child{flex:1}.moderation p{font-size:13px;color:#506079;white-space:pre-line;overflow-wrap:anywhere}.settings-link{margin:10px 0 60px;text-align:right;color:#365bd6;font-size:13px}.form-page{max-width:760px;margin:42px auto 85px}.backlink{color:#4563ac;font-size:13px;display:block;margin-bottom:25px}.form-page>.subtext{margin:0 0 22px}.editor-form{padding:32px}.editor-form label{margin-bottom:23px}.form-actions{display:flex;align-items:center;gap:24px}.form-actions>a{font-size:13px;color:#65758c}.error-box{text-align:center;max-width:700px;margin:90px auto}.error-box p{margin:18px 0 30px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(max-width:850px){.hero{padding:47px 42px}.hero h1{font-size:34px}.hero-graphic{min-width:210px;transform:scale(.8) rotate(4deg);transform-origin:center right}.app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-layout{grid-template-columns:1fr}.content-side{grid-row:1}}@media(max-width:600px){.shell{padding:0 16px}.nav{min-height:70px}.brand{font-size:14px}.brand small{font-size:8px}nav{gap:12px;font-size:12px}.hero{margin-top:16px;padding:36px 25px;min-height:360px}.hero h1{font-size:31px}.hero-graphic{display:none}.section-head{display:block;margin:42px 0 20px}.search-form{margin-top:20px}.search-form input{flex:1;width:auto}.app-grid{grid-template-columns:1fr;gap:14px;margin-bottom:55px}.app-card{min-height:245px}.footer-grid{display:block}.footer-grid>div+div{margin-top:12px}.detail-hero{padding:22px;gap:15px}.detail-icon{width:65px;height:65px;font-size:28px}.detail-hero h1{font-size:24px}.panel{padding:22px 18px}.panel-heading{align-items:flex-start}.release{padding:14px}.release-foot{display:block}.release-foot .button{margin-top:10px;width:100%}.feedback-layout{display:block}.feedback-list{border-left:0;border-top:1px solid var(--line);padding:25px 0 0;margin-top:25px}.admin-header{display:block;margin-top:35px}.admin-header>.button{margin-top:10px}.admin-program{flex-wrap:wrap}.admin-actions{width:100%;justify-content:flex-end}.moderation{align-items:flex-start;flex-direction:column}.editor-form{padding:22px 18px}.form-actions{display:block}.form-actions .button{width:100%;margin-bottom:14px}}

/* v1.2: Never let generic form-input rules override the collection search. */
.section-head{min-width:0}
.search-form{display:flex;align-items:stretch;flex:0 1 340px;width:340px;max-width:100%;min-width:0;min-height:45px;overflow:hidden;box-sizing:border-box}
.search-form input[type="search"]{display:block;flex:1 1 0;min-width:0;width:100%;box-sizing:border-box;margin:0;padding:10px 14px;border:0;border-radius:0;background:transparent;outline:none;box-shadow:none;font-size:13px;line-height:1.5;appearance:none}
.search-form input[type="search"]:focus-visible{outline:2px solid #365bdf;outline-offset:-2px}
.search-form button[type="submit"]{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:64px;padding:0 16px;min-height:45px;border:0;border-radius:0;background:#eaf0ff;font-size:12px;color:#294bbb;font-weight:800;white-space:nowrap}
@media(max-width:600px){.search-form{width:100%;max-width:100%;flex:none;margin-top:20px}}
/* The hero is a self-contained rotating banner, not the lower app-grid. */
.hero-has-slides{display:block;padding:0;min-height:410px}
.hero-slides{position:relative;z-index:2;min-height:410px}
.hero-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:48px 70px 74px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .55s ease,visibility .55s ease}
.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:3}
.hero-slide .hero-copy{max-width:620px;min-width:0;flex:1}
.hero-slide .hero-copy h1{font-size:39px;max-width:750px;line-height:1.25;overflow-wrap:anywhere}
.hero-slide .hero-copy h1 span{font-size:clamp(21px,2.5vw,31px);line-height:1.4;display:inline-block}
.hero-slide .hero-copy p{max-width:610px;min-height:42px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hero-slide .hero-graphic{flex:0 0 314px}
.hero-controls{position:absolute;z-index:5;left:50%;bottom:18px;transform:translateX(-50%);display:flex;align-items:center;gap:12px}
.hero-arrow{border:1px solid #ffffff57;background:#ffffff14;color:#fff;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;font-size:23px;line-height:1;cursor:pointer}
.hero-arrow:hover,.hero-arrow:focus-visible{background:#ffffff35}
.hero-dots{display:flex;align-items:center;gap:9px}
.hero-dot{cursor:pointer;display:block;width:9px;height:9px;border:0;border-radius:99px;padding:0;background:#ffffff66;transition:width .3s,background .3s}
.hero-dot.is-active{width:26px;background:#9efad3}
.mock-app-icon{width:45px;height:45px;flex:none;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:#e3edff}
.mock-app-icon strong{width:100%;height:100%;display:grid;place-items:center;color:#3d59c5;font-size:20px}
.mock-app-icon img{display:block;max-width:100%;width:100%;height:100%;object-fit:contain}
.app-icon,.detail-icon{overflow:hidden;flex:none}
.app-icon img,.detail-icon img{display:block;object-fit:contain;width:100%;height:100%}
.icon-editor{margin:0 0 24px}
.icon-editor label{display:block}
.icon-preview{display:flex;align-items:center;gap:13px;margin-bottom:15px;font-size:12px;color:#697a90}
.icon-preview img{width:68px;height:68px;border-radius:15px;object-fit:contain;border:1px solid #e3e9f5}
@media(max-width:950px){.hero-slide{padding-left:38px;padding-right:38px}.hero-slide .hero-graphic{flex-basis:250px;transform:scale(.76) rotate(4deg);transform-origin:center right;margin-right:-20px}}
@media(max-width:600px){.hero-has-slides,.hero-slides{min-height:415px}.hero-slide{padding:35px 24px 75px;align-items:center}.hero-slide .hero-graphic{display:none}.hero-slide .hero-copy h1{font-size:32px}.hero-slide .hero-copy h1 span{font-size:23px}.hero-slide .hero-copy p{font-size:13px;min-height:54px}.hero-controls{bottom:16px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}.hero-dot{transition:none}}
/* Compact mobile header: avoid wrapped labels on narrow phones. */
@media(max-width:600px){.nav{gap:8px}.brand{font-size:12px;letter-spacing:.4px;gap:8px;white-space:nowrap}.brand-mark{width:35px;height:35px;font-size:19px;flex:none}nav{white-space:nowrap;gap:8px;flex:none}nav>a:first-child{display:none}nav .nav-btn{padding:8px 10px;font-size:11px}.nav a{font-size:11px}}

/* v1.3: unified program metadata, image, and binary upload */
.editor-section-title{display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);padding:25px 0 18px;margin-top:12px}
.editor-section-title:first-of-type{border-top:none;margin-top:0;padding-top:0}
.editor-section-title h2{font-size:18px;margin:0;color:#172b48}
.editor-section-title p{font-size:12px;color:#75859c;margin:3px 0 0;line-height:1.55}
.editor-step{display:grid;place-items:center;flex:none;width:36px;height:36px;background:#eaf0ff;color:#3755c7;border-radius:10px;font-weight:850;font-size:13px}
.file-upload-box{background:#f4f7ff;border:1px solid #d4dff7;border-radius:14px;padding:20px;margin:4px 0 10px}
.file-upload-box>label{margin-bottom:14px}.file-upload-box input[type=file]{background:#fff;border:2px dashed #a4b8e9}
.upload-details{display:grid;grid-template-columns:1fr;gap:0}
.file-label-highlight{margin-left:9px;color:#3155d2;font-size:12px;font-weight:850}
.form-hint{font-size:12px;color:#63758d;margin:0 0 28px}.form-hint a{color:#365bdf;text-decoration:underline;font-weight:750}
.admin-version{display:inline-flex;margin:12px 0 5px;background:#eaf1ff;color:#3653a7;font-size:12px;border-radius:30px;padding:6px 13px;gap:6px;letter-spacing:.1px}
.admin-version strong{color:#193eac}
@media(max-width:600px){.file-upload-box{padding:14px}.editor-section-title{gap:9px}.editor-section-title h2{font-size:17px}}

/* v1.4: admin comment inspector and upload progress */
.button-danger{background:#fff0f0!important;color:#b93848!important;border:1px solid #f4c7cf}
.admin-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px}
.admin-actions form,.comment-actions form{margin:0}
.filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 18px}
.filter-tabs a{background:#f1f4fa;border:1px solid #e0e6f0;border-radius:9px;padding:7px 12px;font-size:12px;font-weight:700}
.filter-tabs a.selected{background:#e8efff;border-color:#9bb2f0;color:#284bc0}
.comment-card{align-items:flex-start;gap:22px;padding:22px 0}
.comment-main{flex:1;min-width:0}.comment-heading{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.comment-status{display:inline-block;border-radius:15px;padding:2px 9px;font-size:11px;font-weight:800;background:#eef2f6;color:#566a85}
.status-approved{background:#e8f8ee;color:#246d49}.status-hidden{background:#fff0f0;color:#9e4153}
.comment-message{white-space:pre-line;overflow-wrap:anywhere;font-size:13px;color:#465975}
.comment-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;font-size:12px;margin-top:14px}
.comment-meta>div{min-width:0}.comment-meta dt{font-weight:700;color:#75859c}.comment-meta dd{margin:2px 0 0;overflow-wrap:anywhere;color:#344968}
.comment-meta .ua-details{grid-column:1/-1;color:#718098;font-size:11px;overflow-wrap:anywhere}
.comment-meta .ua-details>div{padding:8px 10px;background:#f6f8fc;border-radius:7px;margin-top:6px;color:#586982}
.comment-actions{display:flex;flex:0 0 132px;flex-direction:column;gap:8px;align-items:stretch}
.comment-actions .button{width:100%}.pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:20px;font-size:12px;color:#61728b}
.pagination a{color:#365bdf;font-weight:800}.privacy-note{padding:9px 12px;border-radius:8px;background:#f1f5fd;color:#62758c;font-size:11px;line-height:1.6}
.upload-progress{border:1px solid #cbdcf7;border-radius:12px;background:#f0f5ff;padding:17px 18px;margin:15px 0 20px}
.upload-progress[hidden],.upload-error[hidden]{display:none!important}
.progress-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:13px;color:#213e9b}
.upload-progress progress{display:block;width:100%;height:15px;accent-color:#3c66e5;margin:12px 0;border-radius:10px;overflow:hidden}
.upload-progress small{display:block;font-size:12px;color:#6d7e95}
.upload-error{color:#b03542;font-size:12px;font-weight:700}
.mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
@media(max-width:600px){.comment-card{flex-direction:column}.comment-meta{grid-template-columns:1fr}.comment-actions{flex:none;flex-direction:row;flex-wrap:wrap;width:100%}.comment-actions .button{width:auto}}
