.board-page .page-title { flex-wrap: wrap; }
.board-create { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-top: 18px; }
.board-create > div { flex: 1; min-width: 150px; }
.board-create .board-title-field { flex: 2; min-width: 220px; }
.board-hint { margin: 0 0 18px; line-height: 1.6; }
.board-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.board-column { background: #eaf0f7; border: 2px solid transparent; border-radius: 16px; padding: 14px; min-height: 320px; transition: border-color .15s; }
.board-column-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.board-column-heading h2 { margin: 0; font-size: 16px; }
.board-column-heading > span { background: white; padding: 4px 9px; border-radius: 20px; font-weight: 700; }
.board-column[data-status="InProgress"] .board-column-heading { color: #2456c5; }
.board-column[data-status="Done"] .board-column-heading { color: #16734b; }
.board-ticket-list { min-height: 230px; }
.board-ticket { background: white; border: 1px solid #dce5f0; box-shadow: 0 3px 8px #182a4e08; border-radius: 11px; padding: 16px; margin-bottom: 12px; cursor: grab; overflow-wrap: anywhere; }
.board-ticket h3 { margin: 10px 0 16px; line-height: 1.5; }
.board-ticket-id { color: #68788e; font-size: 10px; letter-spacing: .08em; font-weight: 700; }
.board-assignee { display: flex; gap: 8px; align-items: center; color: #526078; font-size: 12px; }
.board-avatar { display: inline-grid; place-items: center; width: 27px; height: 27px; flex-shrink: 0; border-radius: 50%; background: #e7eefe; color: #2456c5; font-weight: 700; }
.board-edit { border-top: 1px solid #edf1f5; padding-top: 12px; cursor: auto; }
.board-edit summary { color: #2456c5; cursor: pointer; font-size: 12px; font-weight: 650; }
.board-edit form { margin-top: 14px; }
.board-edit input, .board-edit select { margin-bottom: 12px; }
.board-empty { color: #68788e; line-height: 1.7; text-align: center; padding: 35px 10px; }
.board-dragging { opacity: .45; }
.board-drop-target { border-color: #2456c5; }
.board-drop-before { box-shadow: 0 -4px #2456c5; }
.board-errors { color: #a02034; }
.board-page :focus-visible { outline: 3px solid #2456c5; outline-offset: 3px; }
@media (max-width: 760px) { .board-columns { grid-template-columns: 1fr; } .board-column { min-height: 180px; } .board-ticket-list { min-height: 100px; } }

.board-header .container, main.board-page, body:has(.board-header) > footer { max-width: 1440px; }
.board-header .nav { min-height: 76px; height: auto; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; gap: 18px; }
.board-header nav { flex-wrap: wrap; gap: 18px; }
.board-page h1 { overflow-wrap: anywhere; }
.board-page textarea { display: block; width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; resize: vertical; }
.board-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 20px; }
.board-full { grid-column: 1 / -1; }
.board-add { color: #2456c5; cursor: pointer; padding: 10px 0; font-weight: 700; }
.board-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 11px; color: #526078; }
.board-priority { padding: 4px 8px; background: #eff3f9; border-radius: 6px; }
.priority-High { background: #fff0d0; color: #805400; }
.priority-Urgent, .board-overdue { background: #ffe7ea; color: #9d2336; }
.board-card-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid #edf1f5; font-size: 12px; }
.board-card-footer > span { font-weight: 750; }
.board-description { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.board-success { background: #e7f8ee; color: #166534; }
.board-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.board-project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.board-project-card { margin-bottom: 0; overflow-wrap: anywhere; }
.board-project-stats { display: flex; flex-wrap: wrap; gap: 30px; margin: 22px 0; }
.board-project-stats small { display: block; color: #68788e; margin-bottom: 6px; }
.board-project-stats strong { font-size: 24px; }
.board-project-tasks-heading { margin-top: 24px; }
.board-catalog { padding: 0; list-style: none; }
.board-catalog li { padding: 14px 0; border-bottom: 1px solid #edf1f5; overflow-wrap: anywhere; }
.board-week-nav { margin-top: 20px; }
.board-week-grid { display: grid; grid-template-columns: repeat(var(--board-week-days, 7), minmax(0, 1fr)); gap: 10px; margin-bottom: 22px; align-items: start; }
.board-week-day { background: #eaf0f7; border: 1px solid #dde5f0; border-radius: 12px; padding: 12px; min-height: 240px; }
.board-today { border-color: #2456c5; }
.board-day-heading { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.board-day-heading h2 { font-size: 14px; margin: 0; }
.board-day-heading small { display: block; margin-top: 4px; font-weight: 400; color: #68788e; }
.board-day-heading > strong { font-size: 22px; color: #2456c5; }
.board-week-entry { background: white; padding: 12px; border-radius: 9px; margin-bottom: 10px; overflow-wrap: anywhere; }
.board-week-entry h3 { font-size: 13px; margin: 8px 0 12px; line-height: 1.5; }
.board-week-entry small, .board-week-entry p { font-size: 11px; color: #68788e; }
.board-page .metrics strong { overflow-wrap: anywhere; }
.board-team-scroll { max-height: 65vh; }
.board-team-table { min-width: 850px; }
.board-team-table thead th { position: sticky; top: 0; background: #eff3f9; z-index: 1; }
.board-team-table a[aria-current="true"] { font-weight: 800; text-decoration: underline; }
@media (max-width: 1100px) { .board-week-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .board-fields, .board-settings-grid { grid-template-columns: 1fr; } .board-week-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .board-week-grid { grid-template-columns: 1fr; } }
