:root{font-family:system-ui,sans-serif;color:#26163f;background:#faf8fd;line-height:1.55}*{box-sizing:border-box}body{margin:0}header,main,footer{max-width:1100px;margin:auto;padding:1rem clamp(1rem,4vw,3rem)}header{background:#281542;color:white;display:flex;justify-content:space-between;align-items:center}header a{color:white}h1,h2{line-height:1.15}h1{font-size:clamp(2rem,5vw,3.6rem)}a{color:#522789}button,input,select,textarea{font:inherit;padding:.5rem;border:1px solid #aaa1b4;border-radius:.4rem}button{cursor:pointer;background:#d5f6e7;color:#211638}button:disabled{opacity:.55}label{display:grid;gap:.25rem}section,article.card,fieldset{background:white;border:1px solid #ded8e4;border-radius:.75rem;padding:1rem;margin:.8rem 0}.row,.tools{display:flex;flex-wrap:wrap;gap:.55rem;align-items:end}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:1rem}.card img,article img,#body img,dialog img{max-width:100%;height:auto}.card img{width:100%;aspect-ratio:16/9;object-fit:cover}.editor{border:1px solid #82728f;min-height:220px;padding:1rem;background:white}table{border-collapse:collapse}td,th{border:1px solid #9d90a8;padding:.4rem}dialog{width:min(850px,96vw);max-height:90vh;overflow:auto}#notice{position:sticky;top:0;background:#fff4d6;padding:.6rem;z-index:1}#notice:empty{display:none}[hidden]{display:none!important}article{overflow-wrap:anywhere}input,select,textarea{max-width:100%}

.focus-news .public-header,.focus-news .public-footer{display:block;max-width:none;padding:0}
.focus-news main,.focus-admin main{width:min(1160px,100%);padding:clamp(24px,4vw,52px) clamp(16px,4vw,44px);margin:auto}
.focus-news main>h1,.focus-admin main>h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.04em;margin:0 0 1.25rem}
.focus-news main>.row{display:flex;gap:12px;padding:18px;background:#fff;border:1px solid #ddd6e8;border-radius:14px;margin-bottom:22px}
.focus-news main>.row label{flex:1 1 200px;min-width:0}
.focus-news .grid{align-items:stretch;gap:18px}
.focus-news .grid .card{display:flex;flex-direction:column;align-items:flex-start;min-width:0;margin:0;padding:24px;border:1px solid #e2ddeb;border-top:4px solid #68cdb4;border-radius:14px;background:#fff}
.focus-news .grid .card h2{font-size:clamp(1.22rem,2vw,1.52rem);line-height:1.24;letter-spacing:-.025em;margin:.75rem 0 .55rem}
.focus-news .grid .card h2 a{color:#34204f;text-decoration:none}
.focus-news .grid .card h2 a:hover,.focus-news .grid .card h2 a:focus-visible{text-decoration:underline}
.focus-news .grid .card small{color:#62586d;font-size:.83rem;line-height:1.45}
.focus-news .grid .card p{margin:0;color:#4d4557;line-height:1.55}
.focus-news main>article{max-width:760px;margin:20px auto;font-size:1.05rem}
.focus-news main>article h1{font-size:clamp(1.8rem,4vw,2.8rem)}
.focus-admin header{max-width:none;gap:1rem;flex-wrap:wrap;padding:16px max(4vw,calc((100vw - 1080px)/2))}
.focus-admin header span{margin-left:auto}
.focus-admin section,.focus-admin details{padding:clamp(16px,3vw,28px);border-radius:14px;background:#fff}
.focus-admin label{font-weight:600;margin:.3rem 0}
.focus-admin input,.focus-admin textarea,.focus-admin select,.focus-news select,.focus-news input{min-width:0;background:white;color:#2c203c}
.focus-admin #panel>.row,.focus-admin .row>label{min-width:0}
.focus-admin #posts{width:min(100%,570px)}
.focus-admin #tools{padding:10px;background:#f2eff6;border-radius:9px}
.focus-admin #body{margin:.6rem 0 1rem;border-radius:9px}
.focus-admin #publish,.focus-news main form button{background:#40205d;color:white;border:0;padding:.65rem 1.1rem}
@media(max-width:640px){.focus-admin .row>label,.focus-news main>.row label{width:100%}.focus-admin header span{display:none}.focus-news .grid{grid-template-columns:1fr}}
