:root {
  color: #142d37;
  background: #f1f5f5;
  font: 16px/1.5 "Noto Sans KR", "Malgun Gothic", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: #086559; text-underline-offset: 3px; }
.board-header { background: white; border-bottom: 1px solid #dce6e5; }
.board-header-inner, main { max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 44px); }
.board-header-inner { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 16px; }
.board-header img { display: block; max-width: 100%; height: auto; }
main { padding-block: 38px 72px; }
h1, h2, h3, p { margin: 0; }
.board-title { display: flex; flex-wrap: wrap; gap: 16px; align-items: end; justify-content: space-between; margin-bottom: 20px; }
h1 { font-size: clamp(30px, 4.5vw, 48px); letter-spacing: -.04em; line-height: 1.2; }
h2 { font-size: 20px; }
.board-title p, .board-panel p { color: #506770; margin-top: 8px; }
.board-actions { display: flex; gap: 8px; }
button { border: 1px solid transparent; border-radius: 8px; background: #075b50; color: white; font: inherit; font-weight: 700; padding: 8px 13px; cursor: pointer; }
button:hover { background: #087266; }
button:disabled { opacity: .65; cursor: default; }
button.secondary { border-color: #c4d4d3; color: #174845; background: #fff; }
button.secondary:hover { background: #e5f3ef; }
button.danger { border-color: #e4c1ba; color: #962e21; background: #fff; }
button.danger:hover { background: #fff1ed; }
:focus-visible { outline: 2px solid #087266; outline-offset: 2px; }
.board-notice { color: #3b5a62; margin-bottom: 14px; }
.board-notice:empty { display: none; }
.board-notice[data-error] { color: #8b3321; }
.board-panel { background: white; border: 1px solid #d6e2e0; border-radius: 14px; padding: 22px; }
#board-login { max-width: 520px; }
.board-form { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.board-form label, .board-share-result label { display: grid; gap: 4px; color: #294b51; font-size: 14px; font-weight: 700; }
.board-form label { flex: 1 1 140px; }
.board-form input, .board-form select, .board-card select, .board-card textarea, .board-share-result input {
  min-width: 0; width: 100%; min-height: 40px; padding: 7px 9px; border: 1px solid #c4d4d3; border-radius: 8px; background: white; color: #142d37; font: inherit;
}
.board-filters {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)) auto;
  margin: 0 0 16px;
  padding: 15px;
  background: #fff;
  border: 1px solid #d6e2e0;
  border-radius: 12px;
}
.board-filter-actions { display: flex; gap: 7px; }
.board-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.board-toolbar label { font-size: 14px; }
.board-current { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 12px; }
#board-sync { color: #506770; font-size: 13px; }
.board-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.board-column { min-width: 0; padding: 15px; border: 1px solid #d4e1df; border-radius: 13px; background: #e8f0ef; }
.board-column h2 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 16px; }
.board-count { padding: 2px 8px; border-radius: 10px; background: #d6e5e2; color: #234c47; font-size: 13px; }
.board-empty { color: #4d656d; font-size: 14px; margin-bottom: 6px; }
.board-card { display: grid; gap: 8px; padding: 13px; margin-top: 9px; overflow-wrap: anywhere; background: white; border: 1px solid #d7e2e2; border-radius: 10px; }
.board-card time { color: #506770; font-size: 13px; }
.board-card h3 { font-size: 17px; }
.card-site, .card-contacts { display: grid; gap: 3px; font-size: 14px; }
.card-site ul { margin: 0; padding-inline-start: 20px; }
.card-notes { white-space: pre-wrap; color: #294b51; }
.card-details { padding-top: 6px; border-top: 1px solid #e2eceb; color: #506770; font-size: 13px; }
.card-details summary { cursor: pointer; }
.card-details p { margin-top: 5px; }
.card-details dl { margin: 5px 0; }
.card-details dd { margin: 0 0 4px; }
.card-assignee { color: #365861; font-size: 14px; }
.card-followup form, .card-followup label { display: grid; gap: 5px; }
.card-followup form { gap: 9px; margin-top: 9px; }
.card-followup label { color: #294b51; font-weight: 700; }
.card-followup textarea { resize: vertical; }
.card-followup button { justify-self: start; }
.card-followup .board-conflict { margin: 0; color: #8b3321; }
.card-state { display: flex; gap: 6px; }
.card-state button { flex: none; padding-inline: 9px; }
#board-settings { margin-top: 24px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.board-share-result { display: grid; gap: 6px; margin-top: 10px; }
.board-share-result button { justify-self: start; }
.board-members { display: grid; gap: 7px; padding: 0; margin: 14px 0 0; list-style: none; }
.board-members li { display: flex; justify-content: space-between; align-items: center; gap: 8px; overflow-wrap: anywhere; font-size: 14px; }
@media (max-width: 760px) {
  .board-columns, .settings-grid { grid-template-columns: 1fr; }
  .board-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board-filter-address { grid-column: 1 / -1; }
  .board-filter-actions { flex-wrap: wrap; }
  main { padding-top: 25px; }
}
