*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;background:#f3f6f9;color:#1d2733;line-height:1.7}
header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:#0b4f7c;color:#fff;flex-wrap:wrap;gap:8px}
header a.brand{color:#fff;text-decoration:none;font-weight:700}
header nav{display:flex;gap:12px;align-items:center;font-size:.9rem}
header nav form{margin:0}
main{max-width:920px;margin:24px auto;padding:0 14px}
footer{text-align:center;color:#7a8794;font-size:.8rem;padding:24px}
.card{background:#fff;border-radius:10px;padding:22px;margin-bottom:18px;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.card.narrow{max-width:420px;margin:40px auto}
h1{font-size:1.4rem;margin:0 0 12px}h2{font-size:1.15rem;margin:0 0 10px}h3{font-size:1rem;margin:18px 0 6px}
label{display:block;margin:12px 0;font-weight:600}
input[type=email],input[type=password],input[name=code],textarea{display:block;width:100%;margin-top:6px;padding:10px;border:1px solid #c5d0db;border-radius:6px;font:inherit}
input[type=file]{display:block;margin-top:6px}
button,.button{display:inline-block;background:#0b4f7c;color:#fff;border:0;border-radius:6px;padding:10px 22px;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
button.primary{background:#0a8a4a}
button.ghost{background:#fff;color:#a12;border:1px solid #d9b3b8}
button.link{background:none;color:#fff;padding:0;text-decoration:underline;font-weight:400}
button[disabled]{opacity:.6;cursor:wait}
form.inline{display:inline}
.acts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:8px 6px;border-bottom:1px solid #e6ebf0;vertical-align:top}
.err{color:#b00020;font-weight:600}.flash{background:#e3f4ea;border:1px solid #9fd3b3;padding:10px 14px;border-radius:6px}
.note{color:#5b6875;font-size:.9rem}
.count{font-size:.85rem;color:#5b6875;margin:-6px 0 0}.count.over{color:#b35c00;font-weight:600}
.tips{background:#f6f9fc;border-radius:8px;padding:10px 16px;margin-top:18px}.tips ul{margin:0 0 6px 1.2em;padding:0}
.text{background:#f6f9fc;border-radius:6px;padding:10px 12px;white-space:normal}
.photos{display:flex;gap:8px;flex-wrap:wrap}.photos img{width:140px;height:100px;object-fit:cover;border-radius:6px}
.st{display:inline-block;font-size:.8rem;padding:2px 10px;border-radius:20px;background:#e6ebf0;vertical-align:middle}
.st-review{background:#fff2cc}.st-needs_check{background:#ffe0cc}.st-published{background:#d8f0e0}.st-working,.st-new{background:#dcebfa}
.st-rejected,.st-failed{background:#f8d7da}.st-cancelled{background:#eee;color:#777}
.events{font-size:.85rem;color:#5b6875;padding-left:1.2em}
details{margin:14px 0}summary{cursor:pointer;color:#0b4f7c;font-weight:600}
