:root{color-scheme:light;font-family:Segoe UI,system-ui,sans-serif;--accent: #285a55;--ink: #142e33;--muted: #516469;--border: #d6e0e0;color:var(--ink);background:#f3f6f5;font-size:16px}*,*:before,*:after{box-sizing:border-box}body{margin:0}button,input,a{font:inherit}button,a{touch-action:manipulation}a{color:var(--accent)}button:disabled{cursor:default;opacity:.62}img{max-width:100%}:focus-visible{outline:3px solid color-mix(in srgb,var(--accent) 77%,white);outline-offset:3px}h1,h2,p{margin:0}h2{font-size:clamp(1.3rem,2.8vw,1.65rem);line-height:1.2;letter-spacing:-.025em}p{line-height:1.55}.shell{max-width:1180px;margin:0 auto;padding:0 28px 28px}.mast,.mast-actions>div{display:flex;align-items:center;gap:12px}.mast{min-height:74px;font-weight:700;font-size:.9rem}.mast-actions{justify-content:space-between}.mark{display:inline-grid;place-items:center;min-width:53px;height:36px;border-radius:8px;background:var(--ink);color:#fff;letter-spacing:.08em}.index-link{font-weight:700;text-underline-offset:4px;white-space:nowrap}.hero{position:relative;isolation:isolate;display:flex;justify-content:space-between;align-items:center;gap:24px;overflow:hidden;margin-bottom:22px;padding:clamp(24px,5vw,52px);border-radius:22px;color:#fff;background-color:var(--accent);background:linear-gradient(112deg,color-mix(in srgb,var(--accent) 55%,#0f2630),var(--accent))}.hero:after{content:"";position:absolute;z-index:-1;width:435px;height:435px;right:-130px;top:-150px;border-radius:50%;border:1px solid #ffffff32;box-shadow:0 0 0 27px #ffffff14,0 0 0 54px #ffffff0b,0 0 0 81px #ffffff08;pointer-events:none}.hero h1{max-width:680px;margin:4px 0 9px;font-size:clamp(2.05rem,5.7vw,4.05rem);line-height:1.04;letter-spacing:-.055em}.hero p{max-width:640px;color:#fff}.hero .institution{margin-bottom:8px;font-size:.875rem;font-weight:750;letter-spacing:.04em}.hero-info{display:grid;flex:none;min-width:160px;gap:5px;padding:16px;border:1px solid #ffffff42;border-radius:14px;background:#10252b30}.hero-info span{font-size:.875rem}.hero-info svg{margin-bottom:5px}.steps{display:flex;flex-wrap:wrap;gap:5px;align-items:center;margin-bottom:24px;padding:5px;border:1px solid var(--border);border-radius:14px;background:#fff}.steps button{min-height:44px;padding:8px 15px;border:0;border-radius:10px;background:transparent;color:var(--ink);font-weight:650;cursor:pointer}.steps button[aria-current]{background:var(--accent);color:#fff}.steps button:last-child.recover-step{margin-left:auto}.content:focus{outline:none}.gallery-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 16px}.gallery-heading p{color:var(--muted);margin-top:5px}.search{display:flex;width:min(100%,220px);min-height:46px;flex:none;align-items:center;gap:7px;padding:0 10px;color:var(--muted);border:1px solid #aabebf;border-radius:10px;background:#fff}.search svg{flex:none}.search input{width:100%;min-height:44px;border:0;background:transparent;color:var(--ink)}.search input:focus{outline:0}.search:focus-within{outline:2px solid var(--accent);outline-offset:2px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(150px,100%),1fr));gap:clamp(9px,1.8vw,17px)}.photo-card{overflow:hidden;min-width:0;padding:0;border:1px solid var(--border);border-radius:13px;text-align:left;color:var(--ink);background:#fff;cursor:pointer;transition:box-shadow .16s,border-color .16s}.photo-card:hover,.photo-card[aria-pressed=true]{border-color:var(--accent);box-shadow:0 3px 11px #1a3f4b1a}.photo-card img{display:block;width:100%;height:auto;aspect-ratio:4 / 5;object-fit:cover;background:#dce2e2}.photo-card span{display:block;padding:9px 11px;font-size:.875rem;font-weight:650}.footer{margin-top:2rem;padding-top:1rem;border-top:1px solid var(--border);color:var(--muted);font-size:.875rem}.form-layout{display:grid;align-items:start;grid-template-columns:170px minmax(0,1fr);gap:20px;max-width:880px}.selected-photo{display:grid;grid-template-columns:1fr;overflow:hidden;border:1px solid var(--border);border-radius:15px;background:#fff}.selected-photo img{display:block;width:100%;height:auto;object-fit:cover}.selected-photo>div{display:grid;padding:11px;align-self:center}.sheet{padding:clamp(18px,3.6vw,32px);border:1px solid var(--border);border-radius:17px;background:#fff}.sheet p{margin:7px 0 14px;color:var(--muted)}.profile-form h2{margin-bottom:16px}.profile-form fieldset{margin:0;padding:0;min-inline-size:0;border:0}.fields{display:grid;grid-template-columns:1fr 1fr;gap:13px}.fields label{display:grid;gap:5px;font-size:.9rem;font-weight:650}.fields input{min-width:0;min-height:46px;width:100%;border:1px solid #aabebf;border-radius:9px;padding:9px 10px;background:#fff;color:var(--ink);font-size:1rem}.confirm{display:flex;align-items:start;gap:9px;margin:17px 0 9px;font-weight:600;line-height:1.45}.confirm input{width:20px;height:20px;flex:none;margin:1px 0;accent-color:var(--accent)}.privacy{display:flex;gap:8px;align-items:baseline;font-size:.875rem}.lock{position:relative;display:inline-block;flex:none;width:11px;height:8px;border:1px solid currentColor;border-radius:2px}.lock:before{content:"";position:absolute;width:7px;height:6px;left:1px;bottom:6px;border:1px solid currentColor;border-bottom:0;border-radius:5px 5px 0 0}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;min-height:44px;border:1px solid transparent;border-radius:9px;padding:8px 15px;font-weight:700;text-decoration:none;cursor:pointer}.primary{color:#fff;background:var(--accent)}.primary:hover{background:color-mix(in srgb,var(--accent) 83%,#172b32)}.secondary{color:var(--accent);background:#fff;border-color:#aabebf}.text-button{justify-self:start;min-height:44px;padding:4px 0;color:var(--accent);background:transparent;border:0;text-decoration:underline;text-underline-offset:4px;cursor:pointer}.notice{border-radius:11px;padding:12px 15px;margin:0 0 12px;background:#e9f2f3}.notice.error{background:#faebe8;color:#782b22}.recovery,.receipt,.admin-login{max-width:560px}.recovery .fields,.admin-login .fields{grid-template-columns:1fr}.receipt .success-mark{display:grid;place-items:center;width:44px;height:44px;margin-bottom:12px;border-radius:50%;background:#dcefe6;color:#1a6a44;font-size:1.4rem;font-weight:750}.recovery-code{display:grid;gap:8px;margin:16px 0;padding:15px;border-radius:10px;background:#edf4f2}.recovery-code p{margin:0}.recovery-code code{font-size:clamp(1rem,3vw,1.25rem);overflow-wrap:anywhere;-webkit-user-select:all;user-select:all}.recovery-code button{justify-self:start}.portrait-dialog{padding:15px;width:min(90vw,410px);max-height:94vh;max-height:94dvh;overflow:auto;border:0;border-radius:16px;color:var(--ink)}.portrait-dialog::backdrop{background:#0e252dd4}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.close-button{min-width:44px;min-height:44px;border:0;border-radius:8px;background:#edf3f2;color:var(--ink);font-size:1.65rem;cursor:pointer}.portrait-preview{display:block;margin:auto auto 12px;max-height:64dvh;height:auto;width:auto;border-radius:9px}.portrait-dialog .primary{width:100%}.institutes{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(230px,100%),1fr));gap:12px}.institute-card{display:grid;gap:5px;padding:16px;border:1px solid var(--border);border-left:5px solid var(--accent);border-radius:11px;background:#fff;text-decoration:none;color:var(--ink)}.institute-card span,.admin-list span{color:var(--muted);font-size:.875rem}.admin-list{display:grid;gap:9px;list-style:none;padding:0}.admin-list li{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#fff;border:1px solid var(--border);border-radius:10px}.admin-list li div{display:grid;gap:2px}.visually-hidden{position:absolute;overflow:hidden;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap}@media(max-width:620px){.shell{padding:0 13px 22px}.mast{min-height:66px;font-size:.875rem}.mast-actions>div{gap:8px}.index-link{font-size:.875rem}.hero{gap:10px;margin-bottom:13px;border-radius:15px;padding:22px 17px}.hero-info{display:none}.steps{margin-bottom:16px}.steps button{padding-inline:10px;font-size:.875rem}.gallery-heading{align-items:start;flex-direction:column;gap:10px}.search{width:100%}.gallery{grid-template-columns:repeat(auto-fill,minmax(min(93px,100%),1fr))}.form-layout{grid-template-columns:1fr;gap:10px}.selected-photo{grid-template-columns:66px 1fr}.selected-photo img{width:66px}.selected-photo>div{padding:4px 10px}.fields{grid-template-columns:1fr;gap:10px}.profile-form .primary{width:100%}.admin-list .secondary{white-space:nowrap;font-size:.875rem}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important}}
