.boards-page { box-sizing: border-box; width: min(980px, 100%); margin: 0 auto; padding: 28px 24px 50px; color: var(--text); }
.boards-page *, .boards-page *::before, .boards-page *::after { box-sizing: border-box; }
.boards-page h1, .boards-page h2, .boards-page h3, .boards-page p { margin: 0; }
.boards-page h1 { font-size: 28px; line-height: 1.3; }
.boards-page h2 { font-size: 19px; line-height: 1.4; }
.boards-page h3 { font-size: 17px; line-height: 1.5; overflow-wrap: anywhere; }
.boards-page .boards-hint { color: var(--text-dim); font-size: 13px; line-height: 1.65; }
.boards-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.boards-heading .boards-hint { margin-top: 8px; max-width: 560px; }
.boards-btn { border: 1px solid var(--line-accent); border-radius: 11px; padding: 10px 15px; background: var(--panel-3); color: var(--text); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; flex-shrink: 0; min-height: 42px; }
.boards-btn:hover { border-color: var(--accent-2); }
.boards-btn--primary { background: var(--accent); color: #fff; border-color: transparent; }
.boards-btn--quiet { background: transparent; }
.boards-btn--danger { margin-left: auto; background: transparent; color: var(--red); border-color: transparent; }
.boards-btn:disabled { opacity: .5; cursor: default; }
.boards-btn:focus-visible, .boards-input:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.boards-create, .boards-invite { padding: 22px; border: 1px solid var(--line-accent); border-radius: var(--radius); background: var(--panel-2); margin-bottom: 26px; }
.boards-invite { background: var(--accent-soft); }
.boards-invite .boards-hint { margin: 10px 0 18px; }
.boards-create label { display: block; font-weight: 750; font-size: 15px; margin-bottom: 10px; }
.boards-create > .boards-hint { margin-top: 10px; }
.boards-link-row { display: flex; gap: 10px; align-items: center; }
.boards-input { min-width: 0; flex: 1; width: 100%; min-height: 44px; border: 1px solid var(--line-accent); border-radius: 11px; padding: 11px 13px; background: var(--bg-soft); color: var(--text); font: inherit; font-size: 14px; }
.boards-input::placeholder { color: var(--text-faint); }
.boards-input:disabled { opacity: .55; }
.boards-group { margin-top: 28px; }
.boards-group > h2 { margin-bottom: 14px; }
.boards-grid { display: grid; gap: 14px; }
.boards-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--panel); }
.boards-card-head { display: flex; gap: 14px; align-items: center; }
.boards-card-mark { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-accent); border-radius: 13px; color: var(--accent-2); background: var(--accent-soft); font-size: 26px; flex-shrink: 0; }
.boards-card-info { min-width: 0; }
.boards-card-info .boards-hint { margin-top: 3px; }
.boards-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.boards-card-detail { border-top: 1px solid var(--line); margin-top: 17px; padding-top: 16px; }
.boards-card-detail > .boards-hint { margin: 0 0 9px; }
.boards-card-detail > .boards-hint:last-child { margin: 9px 0 0; }
.boards-empty { padding: 24px; border: 1px dashed var(--line-accent); border-radius: var(--radius); color: var(--text-dim); line-height: 1.7; font-size: 14px; }
.boards-error { padding: 15px 18px; margin-bottom: 20px !important; border: 1px solid var(--red); border-radius: var(--radius-sm); background: var(--red-soft); color: var(--text); line-height: 1.6; }
@media (max-width: 600px) {
  .boards-page { padding: 20px 14px 36px; }
  .boards-page h1 { font-size: 24px; }
  .boards-heading { gap: 10px; }
  .boards-create, .boards-invite, .boards-card { padding: 16px; }
  .boards-link-row { flex-wrap: wrap; }
  .boards-link-row .boards-input { flex-basis: 100%; }
  .boards-create .boards-link-row .boards-btn { width: 100%; }
  .boards-btn { padding: 10px 12px; }
}
