
:root{--ink:#142f49;--blue:#164e79;--cream:#faf8f3;--gold:#efbd52;--line:#deded7}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c87916;outline-offset:3px}header{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:24px;gap:24px}.brand{font-weight:800;font-size:21px;letter-spacing:-.7px;display:flex;align-items:center;gap:10px}.mark{background:var(--blue);color:white;border-radius:14px;padding:10px}nav{display:flex;gap:6px;align-items:center}nav button{padding:11px 15px;border-radius:22px;background:transparent;color:var(--ink)}nav button.active{background:#e6eceb}.primary{background:var(--blue);color:white;padding:14px 23px;border-radius:9px;font-weight:700}.secondary{padding:13px 20px;background:white;color:var(--ink);border:1px solid var(--line);border-radius:9px;font-weight:700}.notice{padding:10px 24px;text-align:center;font-size:12px;background:#eaf0f2;color:#365268}main{max-width:1200px;margin:auto;padding:25px 24px 60px}.hero{display:grid;grid-template-columns:1.1fr 1fr;gap:45px;align-items:center;padding:35px 0 45px}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:2px;color:#52716c}h1{font-family:Georgia,serif;font-size:64px;line-height:1.04;letter-spacing:-2.8px;margin:18px 0}h1 em{font-weight:normal;color:#17649a}p{line-height:1.65;color:#536574}.hero p{max-width:430px;font-size:17px}.actions{display:flex;gap:12px;margin:25px 0}.micro{font-size:12px;color:#65766d}.heroart{position:relative;min-height:365px;background:#f3d781;border-radius:140px 140px 22px 22px;display:flex;align-items:center;justify-content:center;overflow:hidden}.heroart img{width:100%;height:365px;object-fit:cover}.ribbon{position:absolute;bottom:20px;left:20px;right:20px;background:#fffefaed;padding:16px 20px;border-radius:12px;display:flex;justify-content:space-between;align-items:center}.ribbon strong{font-family:Georgia,serif;font-size:23px}.pill{display:inline-block;border-radius:20px;background:#eff3ea;color:#3d6556;padding:7px 10px;font-size:11px;font-weight:700}.steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:22px 0;gap:25px}.step{display:flex;gap:13px;align-items:center;font-size:13px}.num{background:#eee8d9;border-radius:50%;padding:10px 14px;font-family:Georgia,serif}.step small{display:block;color:#637283;margin-top:4px}.sectiontop{display:flex;justify-content:space-between;align-items:end;margin:40px 0 22px;gap:15px}h2{font-family:Georgia,serif;font-size:34px;letter-spacing:-.7px;margin:8px 0}h3{margin:0;font-size:22px;font-family:Georgia,serif}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters button{background:transparent;border:1px solid var(--line);border-radius:22px;padding:9px 16px;color:var(--ink)}.filters button.active{background:var(--ink);color:white;border-color:var(--ink)}.search{padding:12px;border:1px solid var(--line);border-radius:8px;background:white;width:220px;margin-bottom:16px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.card{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden}.photo{height:245px;background:#e9e9df;position:relative}.photo img{width:100%;height:100%;object-fit:cover}.photo .pill{position:absolute;left:14px;top:14px;background:#fffffff0}.body{padding:21px}.body p{font-size:14px;min-height:46px;margin:10px 0 20px}.card button{width:100%;padding:12px;background:white;border:1px solid #c7d1d4;border-radius:8px;color:var(--blue);font-weight:bold}.card button.selected{background:var(--blue);color:white}.small{font-size:12px;color:#687a86}.empty{padding:50px;text-align:center;border:1px dashed var(--line);border-radius:15px;grid-column:1/-1}.panel{max-width:750px;margin:25px auto;background:white;border:1px solid var(--line);border-radius:18px;padding:30px}label{display:block;margin:18px 0 7px;font-size:14px;font-weight:bold}input:not([type=checkbox]),select,textarea{width:100%;padding:13px;border:1px solid #cdd4d5;border-radius:8px;background:#fff;color:var(--ink)}textarea{min-height:100px;resize:vertical}.check{display:flex;align-items:start;gap:10px;line-height:1.5;font-weight:normal}.check input{margin-top:4px}.formrow{display:grid;grid-template-columns:1fr 1fr;gap:18px}footer{border-top:1px solid var(--line);padding:25px;max-width:1200px;margin:auto;display:flex;justify-content:space-between;font-size:11px;color:#62747b;gap:20px}.callout{background:#f3efdf;border-radius:10px;padding:16px;font-size:13px;line-height:1.6}.adminrow{padding:18px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.adminrow img{width:60px;height:60px;object-fit:cover;border-radius:8px}.status{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:15px 23px;border-radius:10px;box-shadow:0 5px 30px #0002;z-index:10;max-width:90%;font-size:14px}.hidden{display:none!important}dialog{border:0;border-radius:18px;padding:30px;max-width:440px;width:90%;color:var(--ink)}dialog::backdrop{background:#142f4970}.muted{color:#687b83} @media(max-width:760px){header{flex-wrap:wrap;gap:15px;padding:18px}nav{width:100%;overflow:auto;justify-content:space-between}nav button{font-size:12px;padding:10px}.brand{font-size:19px}.hero{grid-template-columns:1fr;gap:20px;padding:22px 0}h1{font-size:47px}.heroart,.heroart img{min-height:280px;height:280px}.steps{grid-template-columns:1fr;gap:16px}.grid{grid-template-columns:repeat(2,1fr);gap:12px}.photo{height:190px}.body{padding:15px}.sectiontop{align-items:start;flex-direction:column}.formrow{grid-template-columns:1fr;gap:0}.panel{padding:22px}footer{flex-direction:column}.body p{min-height:68px}}@media(max-width:460px){.grid{grid-template-columns:1fr}.photo{height:280px}.body p{min-height:0}.actions{flex-wrap:wrap}main{padding:18px}.heroart{margin-top:8px}}

.photo{height:280px}.adminrow{flex-wrap:wrap}.adminrow img{width:90px;height:90px}.adminrow>div{flex:1;min-width:160px}button:disabled{opacity:.5;cursor:not-allowed}#message{position:fixed;bottom:20px;left:5%;right:5%;padding:18px;background:#142f49;color:white;border-radius:12px;z-index:30}a{color:#164e79}header{flex-wrap:wrap}header select{width:auto;padding:8px}.brand img{width:180px}.ribbon{bottom:8px;font-size:13px}input[type=range]{padding:0}nav{flex-wrap:wrap}@media(max-width:460px){.brand img{width:150px}.brand{font-size:16px}.heroart img{height:300px!important}}
/* A brighter, photo-led home with consistent frames and access to originals. */
:root{--ink:#15354c;--blue:#155c87;--cream:#fbfaf7;--line:#e3e8e9}html{scroll-behavior:smooth}body{font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}.notice{background:#edf3f5;color:#456171;font-size:11px;letter-spacing:.15px;padding:8px 20px}header{padding:22px 24px;gap:20px}.brand{font-size:18px;line-height:1.3;letter-spacing:-.4px;gap:15px}.brand img{width:172px}.brand span{border-left:1px solid #dbe1e3;padding-left:16px}nav button{font-size:14px;padding:10px 14px}nav button.active{background:#eaf1f2;color:#155c87}header .secondary{font-size:13px;padding:12px 17px}header select{font-size:13px;border-color:var(--line)}main{padding-top:14px}.hero{grid-template-columns:1.1fr 1fr;gap:70px;padding:25px 0 40px}.hero-copy{padding:16px 0}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#52717d;line-height:1.7}.hero .eyebrow{display:flex;align-items:center;gap:8px}.hero .eyebrow span{width:7px;height:7px;border-radius:50%;background:#e8b739}h1{font-family:Arial,Helvetica,sans-serif;font-size:clamp(42px,4.5vw,60px);font-weight:750;letter-spacing:-2.5px;line-height:1.07;margin:22px 0}h1 em{font-style:normal;font-weight:inherit;color:var(--blue)}.hero p{font-size:16px;line-height:1.8;max-width:425px;margin-bottom:25px}.hero-actions{display:flex;align-items:center;gap:23px;flex-wrap:wrap}.primary{border-radius:12px;padding:15px 20px;font-size:14px;box-shadow:0 4px 10px #14568110}.hero-actions .primary span{margin-left:16px}.browse-link{font-size:14px;font-weight:600;text-decoration:none}.browse-link span{margin-left:8px}.hero-note{display:flex;align-items:center;gap:9px;font-size:12px;color:#697e87;margin-top:26px;line-height:1.6}.note-icon{font-size:20px;color:#748e97}.heroart{display:block;padding:0;border:0;min-height:0;height:410px;border-radius:24px;background:#e5e4df;position:relative;overflow:hidden;isolation:isolate;box-shadow:0 14px 34px #1834480c}.heroart .photo-open{height:100%}.heroart img{width:100%;height:100%!important;min-height:0;object-fit:cover}.hero-tag{position:absolute;left:20px;top:20px;padding:9px 12px;background:#fffef4ed;border-radius:30px;font-size:9px;font-weight:700;letter-spacing:1.1px;pointer-events:none}.hero-tag span{color:#bf8f1b;margin-right:4px}.hero-caption{position:absolute;bottom:0;left:0;right:0;padding:60px 24px 24px;background:linear-gradient(transparent,#102c3cb8);color:white;pointer-events:none}.hero-caption span{display:block;font-size:12px;opacity:.9;margin-bottom:7px}.hero-caption strong{font-size:20px;letter-spacing:-.4px}.contest-strip{padding:20px 24px;border:1px solid #dce7e7;background:#f0f5f4;border-radius:14px}.contest-strip>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}.status-dot{width:7px;height:7px;background:#7f9b92;border-radius:50%}.contest-status{margin-left:auto;font-size:11px;color:#536e66;padding:5px 10px;border:1px solid #d1dfda;border-radius:20px}.contest-strip p{margin:9px 0 0;font-size:12px;line-height:1.6}.sectiontop{margin:44px 0 24px;align-items:center}.sectiontop h2{margin:8px 0 6px}h2{font-family:Arial,Helvetica,sans-serif;font-size:30px;font-weight:700;letter-spacing:-1px}.sectiontop p{font-size:13px;margin:0}.gallery-tools{display:flex;gap:10px;align-items:center}.gallery-tools input{width:200px;font-size:13px;padding:12px 14px;border-color:var(--line);border-radius:10px}.gallery-tools select{width:120px;font-size:13px;border-color:var(--line);border-radius:10px;padding:12px}.grid{gap:24px}.card{border:1px solid #e3e7e5;border-radius:18px;box-shadow:0 4px 12px #15354c03}.photo{height:auto;aspect-ratio:1/1;background:#e8ece9;overflow:hidden}.photo img{display:block;width:100%;height:100%;object-fit:cover}.photo-open,.card .photo-open{position:relative;display:block;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;overflow:hidden;cursor:zoom-in}.photo-open img{transition:transform .25s ease}.photo-open:hover img{transform:scale(1.025)}.photo-open:focus-visible{outline-offset:-5px;outline:3px solid #efbd52}.photo-expand{position:absolute;right:14px;top:14px;width:30px;height:30px;background:#ffffffeb;color:#15354c;border-radius:50%;display:grid;place-items:center;font-size:17px;font-weight:400;box-shadow:0 2px 6px #0001}.body{padding:20px}.pill{font-size:10px;background:#eff4f3;color:#5a716b;padding:6px 9px;letter-spacing:.1px}.body h3{font-family:Arial,Helvetica,sans-serif;font-size:22px;letter-spacing:-.6px;margin:11px 0 0}.body p{font-size:12px;min-height:0;margin:8px 0 20px;line-height:1.6}.card button[data-vote]{font-size:12px;padding:11px;border-color:#dbe3e6;border-radius:9px}.card button[data-vote]:disabled{opacity:1;background:#f8fafb;color:#7a8e9a;border-color:#edf0f2}footer{padding:27px 24px;line-height:1.6}footer .secondary{font-size:12px;padding:9px 14px}#lineup{scroll-margin-top:24px}#photoDialog{position:fixed;max-width:calc(100vw - 32px);width:max-content;max-height:calc(100dvh - 32px);padding:12px;border-radius:18px;background:#fff}#photoDialog::backdrop{background:#0c1c29dd;backdrop-filter:blur(5px)}#fullPhoto{display:block;max-width:calc(100vw - 56px);max-height:calc(100dvh - 110px);width:auto;height:auto;object-fit:contain;border-radius:10px}#photoCaption{margin:12px 5px 3px;font-size:14px;font-weight:700;color:var(--ink)}#photoClose{position:absolute;top:22px;right:22px;width:36px;height:36px;border-radius:50%;background:#fffffff0;color:var(--ink);font-size:25px;box-shadow:0 2px 8px #0002}
@media(min-width:761px) and (max-width:1050px){header{gap:14px}.brand img{width:145px}.brand{font-size:16px}header nav{order:4;width:100%;justify-content:center}.hero{gap:35px}.gallery-tools input{width:170px}.heroart{height:390px}}
@media(max-width:760px){header{padding:18px;gap:14px}.brand{margin-right:auto;font-size:16px}.brand img{width:145px}.brand span{padding-left:12px}header nav{order:4;width:100%;justify-content:center}header .secondary{padding:10px 12px}.hero{grid-template-columns:1fr 1fr;gap:24px;padding:12px 0 28px}h1{font-size:40px;letter-spacing:-1.7px}.hero p{font-size:14px;line-height:1.65}.heroart{height:360px;margin:0}.hero-note{font-size:11px}.hero-caption{padding:45px 17px 18px}.hero-caption strong{font-size:17px}.hero-tag{left:14px;top:14px;font-size:8px}.hero-actions{gap:16px}.sectiontop{align-items:start;gap:20px}.gallery-tools{width:100%}.gallery-tools input{flex:1;width:0}.gallery-tools select{width:125px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.photo{height:auto}.contest-strip{padding:17px}.body{padding:16px}.body p{min-height:0}}
@media(max-width:560px){main{padding:8px 18px 40px}.brand{font-size:14px;gap:10px}.brand img{width:130px}.brand span{padding-left:10px}header select{margin-left:auto}header .secondary{font-size:12px}header nav{justify-content:space-between;gap:0}nav button{padding:9px 11px;font-size:12px}.hero{grid-template-columns:1fr;gap:25px}.hero-copy{padding:5px 0 0}h1{font-size:46px;margin:18px 0}.hero p{max-width:100%;font-size:15px;margin-bottom:22px}.hero-note{margin-top:20px}.heroart{height:340px;border-radius:20px}.heroart img{object-position:50% 30%!important}.hero-tag{font-size:9px}.hero-caption strong{font-size:21px}.hero-caption{padding:50px 22px 22px}.contest-strip>div{font-size:12px}.contest-status{margin-left:17px}.sectiontop{margin-top:32px}h2{font-size:27px}.grid{grid-template-columns:1fr;gap:22px}.photo{height:auto;aspect-ratio:1.08/1}.body{padding:20px}.body h3{font-size:23px}.body p{font-size:13px}.photo-expand{width:34px;height:34px}.heroart .photo-expand{right:16px;top:16px}footer{font-size:11px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.photo-open img{transition:none}.photo-open:hover img{transform:none}}

.heroart .photo-open img{object-position:50% 30%!important}
/* Focused administrator workspace */
.admin-head{display:flex;justify-content:space-between;gap:24px;align-items:center;padding:20px 0 30px}.admin-head h1{font-size:38px;letter-spacing:-1.5px;margin:12px 0}.admin-head p{margin:0}.admin-head .pill{max-width:290px;line-height:1.7}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid var(--line);padding:0 0 18px;margin-bottom:26px}.admin-tabs button{border:1px solid var(--line);border-radius:10px;background:white;padding:13px 16px}.admin-tabs button.active{background:var(--blue);color:white;border-color:var(--blue)}.admin-count{background:#e8bb43;color:#15354c;border-radius:20px;padding:2px 6px;margin-left:4px}.admin-workspace{background:white;padding:30px;border:1px solid var(--line);border-radius:20px;min-height:330px}.admin-next{background:#edf4f3;padding:27px;border-radius:16px}.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.admin-metrics>div{padding:20px;border:1px solid var(--line);border-radius:14px}.admin-metrics strong{font-size:34px;display:block}.admin-metrics span{font-size:13px;line-height:1.5;display:block;margin-top:8px}.admin-tip{padding:20px;border-radius:12px;background:#f6f3e6;line-height:1.7;margin:20px 0;font-size:14px}.review-filter{max-width:270px;margin:20px 0}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.review-card.adminrow{display:block;border:1px solid var(--line);border-radius:16px;padding:0;overflow:hidden}.review-card[hidden]{display:none!important}.review-photo{height:270px;background:#eef2ef}.review-photo img{width:100%;height:100%;object-fit:contain;border-radius:0}.review-card.adminrow>div:not(.review-photo){padding:18px;min-width:0}.review-card .secondary{margin:3px;padding:12px}.sharing-note{margin:0;padding:14px 18px;background:#f1f6f4;font-size:12px}.admin-timeline>div{display:flex;gap:18px;padding:22px 0;border-bottom:1px solid var(--line)}.admin-timeline>div>span{background:#edf4f3;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.admin-timeline p{margin:6px 0}.winner-summary{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:25px 0;align-items:center}.winner-summary .photo{border-radius:16px}.next-month{display:block;margin-top:28px}.history-list article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}.settings-grid article{background:#f5f8f7;border-radius:14px;padding:20px;overflow-wrap:anywhere}.admin-workspace h3{font-family:Arial,sans-serif;font-size:21px}.admin-workspace form{max-width:600px}.admin-workspace button{min-height:44px}.admin-workspace>button{margin-right:10px}@media(max-width:760px){.admin-head{display:block}.admin-head h1{font-size:32px}.admin-head .pill{margin-top:16px;display:inline-block}.admin-tabs{justify-content:flex-start}.admin-tabs button{flex:1 1 28%;font-size:12px;padding:11px 8px}.admin-workspace{padding:20px}.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}.review-grid,.winner-summary{grid-template-columns:1fr}.history-list article{align-items:start;flex-direction:column}.admin-next{padding:20px}.admin-workspace h2{font-size:25px}.admin-metrics>div{padding:15px}}
/* Shared multilingual layout, including Dari and Pashto. */
#language,#lang{min-width:145px;max-width:100%;font:inherit;padding-inline:12px 28px}
[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}
[dir=rtl] .brand{direction:ltr}
[dir=rtl] .hero-copy,[dir=rtl] .panel,[dir=rtl] .admin-content{text-align:start}
[dir=rtl] .eyebrow{letter-spacing:normal}
[dir=rtl] input[type=email],[dir=rtl] input[type=datetime-local]{direction:ltr}
[dir=rtl] .photo-expand{right:auto;left:14px}
[dir=rtl] .hero-tag{right:20px;left:auto}
nav button,.admin-nav button{white-space:normal;overflow-wrap:anywhere}
label,p,button,h1,h2,h3{overflow-wrap:break-word}
@media(max-width:650px){header{gap:12px}#language,#lang{min-width:125px;font-size:14px}.hero h1{font-size:clamp(36px,9vw,58px)}[dir=rtl] .hero-tag{right:12px}}
.submission-success{text-align:center;padding:clamp(28px,5vw,64px);margin-block:30px}.success-icon{font-size:42px;background:#e7f2e8;color:#24663d;border-radius:50%;width:78px;height:78px;display:grid;place-items:center;margin:0 auto 22px}.submission-success h1{font-size:clamp(30px,5vw,46px);line-height:1.15}.submission-success .hero-actions{justify-content:center}.winner-hero h1{overflow-wrap:anywhere}#winnerPreview .photo{max-width:280px;margin-top:18px;border-radius:18px;overflow:hidden}#chooseWinner{margin-top:24px}#chooseWinner .check{margin-block:20px}
.submission-progress{position:relative;background:#edf4fa;border:1px solid #b5cfe4;border-radius:16px;padding:22px;margin:18px 0;color:#163e61;line-height:1.6;white-space:normal}.submission-progress[aria-busy=true]::before{content:'';display:inline-block;width:18px;height:18px;border:3px solid #b5cfe4;border-top-color:#246298;border-radius:50%;margin-inline-end:10px;animation:save-spin 1s linear infinite}.submission-progress.error{background:#fff8e8;border-color:#e3cb88}.submission-progress button{margin:12px 10px 0 0}@keyframes save-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.submission-progress[aria-busy=true]::before{animation:none}}

.archive-pet{margin:0 18px 18px;align-self:start}.reset-panel{margin-top:24px;border-color:#d7bfa3}.reset-panel form{max-width:440px}
