@font-face{font-family:Karla;src:url(karla-regular.ttf) format('truetype');font-weight:400;font-display:swap}@font-face{font-family:Karla;src:url(karla-bold.ttf) format('truetype');font-weight:700;font-display:swap}@font-face{font-family:Playfair;src:url(playfair-regular.ttf) format('truetype');font-weight:400;font-display:swap}
:root{font-family:Karla,Arial,sans-serif;color:#182e43;background:#f4f6f9;font-size:16px;--navy:#132c42;--blue:#174a86;--line:#dbe2e9;--muted:#536779}*{box-sizing:border-box}body{margin:0}a{color:var(--blue);text-underline-offset:4px}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:.5rem;min-height:46px;padding:.7rem 1.1rem;border:1px solid transparent;border-radius:4px;font-weight:700;cursor:pointer;text-decoration:none;line-height:1.4}button:hover,.button:hover{filter:brightness(.94)}.primary{color:#fff;background:var(--blue)}.secondary{background:#fff;border-color:#b9c8d6;color:var(--navy)}.quiet{background:none;color:var(--blue);padding:.35rem .6rem;min-height:44px}.text-link{font-weight:700}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2685d2;outline-offset:4px}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.1rem,4vw,3rem);line-height:1.12;letter-spacing:-.035em;font-weight:400}h2{font-size:1.4rem;line-height:1.25}h3{font-size:1.1rem;margin-top:1.5rem}p{line-height:1.65}small{display:block;font-size:.875rem;font-weight:400;line-height:1.45;color:var(--muted);margin-top:.35rem}.muted,.help{color:var(--muted)}.help{font-size:.875rem;line-height:1.6;margin-top:1.5rem}.eyebrow{font-size:.875rem;letter-spacing:.12em;font-weight:700;color:#456a8a;margin-bottom:.9rem}.skip{position:absolute;left:1rem;top:-100px;z-index:5;background:#fff;padding:1rem}.skip:focus{top:1rem}.header{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1.2rem max(24px,calc((100vw - 1240px)/2));background:#fff;border-bottom:1px solid var(--line)}.brand{display:inline-flex;flex-direction:column;align-items:center;text-decoration:none;flex-shrink:0}.brand img{width:148px;height:auto}.brand span{font-size:.7rem;letter-spacing:.5em;color:#677b8c;margin-top:4px}.header nav{display:flex;align-items:center;gap:1.3rem;flex-wrap:wrap}.header nav>a{font-size:.94rem;text-decoration:none;font-weight:700;padding:.5rem 0}.header nav form{margin:0}.header [aria-current]{border-bottom:2px solid var(--blue)}.main{max-width:1240px;margin:auto;padding:1.5rem 24px 5rem;min-height:calc(100vh - 188px)}.identity{display:flex;gap:1rem;justify-content:space-between;color:var(--muted);font-size:.875rem;border-bottom:1px solid var(--line);padding-bottom:1rem;margin-bottom:2.5rem}.page-head{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;margin:1.8rem 0 2rem}.page-head h1{margin-bottom:.8rem}.panel{border:1px solid var(--line);background:#fff;padding:2rem;border-radius:6px;margin-bottom:1.6rem;min-width:0}.panel h2{margin-bottom:1.2rem}.stack{display:flex;flex-direction:column;gap:1.3rem}.stack>button{align-self:flex-start}.stack label{display:flex;flex-direction:column;font-size:.94rem;font-weight:700;gap:.5rem}input:not([type=checkbox]),select,textarea{width:100%;min-height:48px;padding:.75rem;border:1px solid #aabac9;border-radius:4px;background:#fff;color:#152f47}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23132c42' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;padding-right:38px}textarea{resize:vertical;line-height:1.6}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}.actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.flash,.notice,.error{padding:1rem 1.2rem;border:1px solid #bbd0e1;background:#edf5fb;line-height:1.6;border-radius:4px}.flash{margin-bottom:1.2rem;color:#175b3e;background:#edf8f2;border-color:#b7d8c7}.error{color:#8f2525;background:#fff0f0;border-color:#dfbaba;margin-bottom:1.3rem}.notice{margin:1rem 0;color:#365674}.footer{border-top:1px solid var(--line);padding:1.5rem max(24px,calc((100vw - 1192px)/2));display:flex;justify-content:space-between;gap:1rem;font-size:.875rem;color:var(--muted);background:#fff}.auth-shell{display:grid;grid-template-columns:1.05fr 1fr;max-width:1192px;margin:3rem auto;min-height:580px;border:1px solid var(--line);border-radius:6px;overflow:hidden}.auth-shell>.flash{grid-column:1/-1;margin:0;border-radius:0}.auth-intro{background:var(--navy);padding:3.5rem;color:#fff;display:flex;flex-direction:column;align-items:flex-start}.auth-intro .eyebrow{color:#a8c8e4}.auth-intro h1{font-family:Playfair,Georgia,serif;font-size:clamp(2.8rem,4vw,4.2rem);letter-spacing:-.035em;line-height:1.12;margin:1rem 0 2rem}.auth-intro>p:last-of-type{color:#c0d1e0;max-width:26ch}.auth-mark{font-size:.875rem;color:#a8c1d6;border-top:1px solid #355168;padding-top:1.5rem;margin-top:auto}.auth-card{padding:3.5rem;background:#fff;align-content:center}.auth-card h2{font-size:1.9rem;font-weight:400;margin-bottom:.7rem}.auth-card>.muted{margin-bottom:2rem}.auth-card .stack>.primary{width:100%}.empty{padding:4rem 2rem;border:1px dashed #b7c8d8;background:#fff;text-align:center}.empty h2{margin:1rem 0 .6rem}.empty p{color:var(--muted);margin-bottom:1rem}.empty-icon{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:12px;background:#edf3f9;color:var(--blue);font-size:2rem}.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem}.app-card{display:flex;flex-direction:column;min-width:0;padding:1.6rem;border:1px solid var(--line);background:#fff;border-radius:6px}.card-top{display:flex;gap:.7rem;justify-content:space-between;align-items:flex-start;margin-bottom:1.7rem;flex-wrap:wrap}.category{font-size:.875rem;color:var(--muted)}.badge{display:inline-block;border-radius:30px;font-size:.875rem;padding:.3rem .65rem;white-space:nowrap;background:#edf0f4;color:#526477}.badge.published{background:#e6f3eb;color:#24623e}.badge.pending{background:#fff3d5;color:#7c5b14}.badge.rejected{background:#fce9e6;color:#923b2c}.app-card h2{margin-bottom:.8rem}.app-card>p{color:var(--muted);overflow-wrap:anywhere}.card-bottom{display:flex;gap:.7rem;justify-content:space-between;margin-top:auto;padding-top:2rem;font-size:.875rem}.detail-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:1.5rem}.preline{white-space:pre-line;overflow-wrap:anywhere}.break-word,.hash{overflow-wrap:anywhere}.hash{display:block;margin-top:1rem;font-size:.875rem}details{margin-top:1rem}summary{cursor:pointer}dl{display:grid;grid-template-columns:120px 1fr;gap:1rem;font-size:.94rem;margin:2rem 0}dt{color:var(--muted)}dd{margin:0}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.stack .check{display:flex;flex-direction:row;align-items:flex-start;font-weight:400;gap:.75rem;padding:.5rem 0}.check input{width:20px;height:20px;margin:1px 0;flex-shrink:0;accent-color:var(--blue)}fieldset{border:1px solid var(--line);padding:1rem;min-width:0}legend{font-weight:700;padding:0 .4rem;font-size:.94rem}.roles{display:grid;grid-template-columns:repeat(3,1fr);gap:1.3rem;margin-bottom:2rem}.roles article{border-left:3px solid #235890;background:#eaf0f6;padding:1.3rem}.roles h2{font-size:1.1rem;margin-bottom:.5rem}.roles p{font-size:.94rem;color:#4a6176}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:1rem}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:.94rem}th{font-size:.875rem;color:var(--muted);font-weight:700;white-space:nowrap}th,td{padding:1rem .7rem;border-bottom:1px solid var(--line);vertical-align:top}td{min-width:100px}td:first-child{min-width:180px}td small{font-size:.875rem}.upload-box{padding:1.7rem;background:#f4f7fb;border:1px dashed #9fb5c9;border-radius:5px}.upload-box p{font-size:.875rem;margin-top:1rem}.upload-box input[type=file]{border:0;padding:.4rem 0;background:transparent}.upload-box input::file-selector-button{font:inherit;border:1px solid #aabac9;border-radius:4px;background:#fff;padding:.6rem .9rem;margin-right:1rem;cursor:pointer}.narrow{max-width:680px}.setup-error{max-width:680px;margin:10vh auto;padding:2rem}.setup-error p{margin:1.5rem 0}
@media(max-width:1000px){.header{padding:1.2rem 24px}.header nav{gap:.8rem}.app-grid{grid-template-columns:repeat(2,1fr)}.auth-shell{margin:2rem 24px}.auth-card,.auth-intro{padding:2.5rem}}
@media(max-width:700px){.header{align-items:flex-start;flex-wrap:wrap;gap:1rem}.brand img{width:126px}.header nav{width:100%;gap:.4rem 1rem}.header nav>a{font-size:.875rem;min-height:44px;display:flex;align-items:center}.main{padding:1.2rem 20px 3rem}.identity{flex-direction:column;gap:.3rem;margin-bottom:1.5rem}.page-head{align-items:flex-start;flex-direction:column}.panel{padding:1.3rem}.auth-shell{display:block;margin:1.2rem 20px}.auth-intro{padding:1.8rem}.auth-intro h1{font-size:2.5rem;margin:.5rem 0 1rem}.auth-intro h1 br{display:none}.auth-intro>p:last-of-type{max-width:35ch}.auth-mark{display:none}.auth-card{padding:1.8rem}.auth-card h2{font-size:1.6rem}.auth-shell .flash{margin:0}.form-grid,.check-grid,.detail-grid,.app-grid,.roles{grid-template-columns:1fr}.detail-grid{gap:0}.roles{gap:.8rem}.roles article{padding:1rem}.footer{padding:1.4rem 20px;flex-direction:column;gap:.5rem}.empty{padding:2.5rem 1rem}.upload-box{padding:1rem}.section-head{flex-wrap:wrap}dl{grid-template-columns:100px 1fr}}
