:root { color-scheme: light; font-family: "Malgun Gothic", system-ui, sans-serif; color: #172b37; background: #f0f4f5; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
header { padding: 24px max(20px, calc((100% - 1060px) / 2)); background: #173844; color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
header p { margin: 0 0 4px; color: #b9d6dc; font-size: .875rem; }
h1 { margin: 0; font-size: clamp(1.35rem, 4vw, 2rem); }
main { max-width: 1100px; padding: 20px; margin: auto; }
.panel { padding: 18px; background: white; border: 1px solid #d7e2e5; border-radius: 12px; margin-bottom: 14px; }
.filters, .forms { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.filters label, .forms form { flex: 1 1 220px; }
.forms { margin-top: 14px; }
summary { cursor: pointer; font-weight: 700; }
label { display: grid; gap: 6px; font-weight: 650; font-size: .9rem; min-width: 0; }
input, select { width: 100%; min-height: 42px; padding: 8px; border: 1px solid #a8bac1; border-radius: 6px; background: #fff; color: inherit; font: inherit; }
button, .download { display: inline-block; font: inherit; font-weight: 700; padding: 10px 14px; border: 1px solid transparent; border-radius: 7px; background: #006759; color: #fff; cursor: pointer; text-decoration: none; }
.secondary { background: white; color: #174754; border-color: #a8bac1; }
button:disabled, input:disabled, select:disabled { opacity: .65; cursor: wait; }
form button { margin-top: 8px; }
h2, h3, h4 { margin: 0 0 10px; overflow-wrap: anywhere; }
.section-title, .job-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.section-title p { text-align: right; color: #435762; }
.status { white-space: nowrap; color: #1d4e56; background: #e6f2f1; padding: 5px 9px; border-radius: 6px; font-size: .875rem; }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 7px 0 14px; }
.photo { padding: 12px; min-width: 0; border: 1px solid #d7e2e5; border-radius: 8px; }
.preview { min-height: 100px; background: #eef4f5; display: grid; place-items: center; margin-bottom: 10px; color: #435762; }
.preview a { width: 100%; }
.preview img { display: block; width: 100%; height: 180px; object-fit: contain; }
#notice { padding: 12px 14px; border-radius: 7px; background: #dcefe8; }
#notice.error { background: #ffe9e5; color: #8a2d1d; }
#login { max-width: 420px; margin: 24px auto; }
@media (max-width: 520px) { main { padding: 12px; } .photos { grid-template-columns: 1fr; } .section-title { display: block; } .section-title p { text-align: left; } }
