:root{font-family:"Malgun Gothic",system-ui,sans-serif;color:#172033;background:#f5f7fb;line-height:1.55}*{box-sizing:border-box}body{margin:0}a{color:#1769e8;text-decoration:none}button,.button,input,textarea{font:inherit}.topbar{display:flex;align-items:center;justify-content:space-between;padding:18px max(24px,calc((100% - 980px)/2));background:#fff;border-bottom:1px solid #e4e8f0}.brand{display:flex;align-items:center;gap:12px}.brand img{width:54px;height:54px;object-fit:cover;border-radius:14px}.brand h1{font-size:21px;margin:0}.brand p{margin:2px 0 0;color:#627086;font-size:13px}.page{max-width:980px;margin:0 auto;padding:24px}.page.narrow{max-width:760px}.summary{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border-radius:22px;box-shadow:0 4px 18px #1b2f4d18;margin-bottom:20px}.summary div{text-align:center;padding:24px;border-right:1px solid #e5e8ef}.summary div:last-child{border:0}.summary span{display:block;color:#66758a}.summary strong{display:block;color:#1769e8;font-size:25px}.summary .red{color:#d52e2e}.summary .orange{color:#cf7300}.toolbar{text-align:right;margin:18px 0}.primary,.button{display:inline-block;border:0;border-radius:13px;padding:11px 18px;font-weight:700;cursor:pointer}.primary{background:#286fe8;color:#fff}.secondary{background:#fff;color:#233047;border:1px solid #aab2c0}.wide{width:100%}.notice-list{display:grid;gap:16px}.notice-card{background:#fff;border-radius:18px;padding:22px;box-shadow:0 4px 14px #1b2f4d1a;border-top:7px solid #2875e8}.notice-card.urgent{border-color:#cf2f2f}.notice-card.event{border-color:#e69500}.notice-head,.card-actions,.attachment,footer,.form-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.badge,.target{display:inline-block;padding:6px 10px;border-radius:9px;background:#e9f1ff;margin-right:6px;font-size:13px;font-weight:700}.target{background:#f0f2f5;color:#536074}.card-actions{font-weight:700}.card-actions form{margin:0}.card-actions button{border:0;background:transparent;color:#c62b2b;font-weight:700;cursor:pointer}.notice-card h2{margin:18px 0 6px}.content{white-space:pre-wrap;color:#4d5b70}.attachment{background:#f1f5fb;padding:13px;border-radius:12px}.attachment a{font-weight:700;margin-left:10px}.notice-card footer{border-top:1px solid #e5e9ef;margin-top:16px;padding-top:14px;color:#768398;font-size:13px}.notice-card footer strong{color:#1769e8}.empty,.alert{padding:16px;border-radius:12px;background:#fff}.alert{margin-bottom:16px}.alert.error{background:#fff0f0;color:#a51f1f}.alert.success{background:#eaf8ef;color:#176b35}.form-card{background:#fff;padding:26px;border-radius:20px;box-shadow:0 4px 18px #1b2f4d18}.form-card>label,.login-card label{display:block;font-weight:700;margin-bottom:16px}.form-card input[type=text],.form-card input:not([type]),.form-card textarea,.login-card input{display:block;width:100%;margin-top:7px;border:1px solid #9da7b5;border-radius:12px;padding:12px;background:#fff}.form-card textarea{resize:vertical}fieldset{border:0;padding:0;margin:22px 0}legend{font-weight:800;margin-bottom:10px}.inline{display:inline-flex;align-items:center;gap:6px;margin:0 14px 8px 0}.users{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-height:250px;overflow:auto;border:1px solid #d7dce5;border-radius:12px;padding:10px}.user{display:flex;gap:8px;padding:8px}.user small{display:block;color:#7b8797}.form-actions{justify-content:flex-end;margin-top:24px}.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(145deg,#3657ed,#8533ed)}.login-card{width:min(410px,100%);background:#fff;padding:32px;border-radius:28px;text-align:center}.login-logo{width:138px;height:138px;object-fit:cover}.login-card h1{font-size:32px;margin:6px 0}.login-card>p{color:#657086;margin:0 0 24px}.login-card label{text-align:left}.icon-button{width:48px;height:48px;border:0;border-radius:12px;background:#f0f4fb;color:#1769e8;font-size:24px}.empty{text-align:center;color:#68768b}@media(max-width:640px){.topbar{padding:14px 18px}.page{padding:16px}.summary div{padding:18px 8px}.summary span{font-size:13px}.notice-head,.attachment,footer{align-items:flex-start;flex-direction:column}.users{grid-template-columns:1fr}.brand h1{font-size:18px}}

.attachment-preview{display:flex;align-items:center;justify-content:center;margin:12px 0 16px;overflow:hidden;border:1px solid #dce4f0;border-radius:12px;background:#f8faff}.attachment-preview img{display:block;width:auto;max-width:100%;height:auto;max-height:520px;object-fit:contain}
@media(max-width:640px){.attachment-preview img{max-height:360px}}
