:root {
  color-scheme: light;
  --ink: #243d3c;
  --muted: #75817c;
  --teal: #0c6569;
  --border: #e0e5df;
  --canvas: #f8f9f5;
  --radius: 10px;
  font-family:
    "Segoe UI",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 14px;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
input,
select,
textarea {
  transition:
    background 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
}
:focus-visible {
  outline: 3px solid #6daeb3;
  outline-offset: 3px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  letter-spacing: -1.3px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 650;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  font-weight: 650;
}
p {
  line-height: 1.6;
}
.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  color: #6b8078;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.65px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: white;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.button:hover {
  background: #f0f3ed;
  border-color: #b9c8bf;
}
.button.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  box-shadow: 0 2px 2px #083e4110;
}
.button.primary:hover {
  background: #084e52;
  border-color: #084e52;
}
.button.small {
  min-height: 32px;
  padding: 7px 11px;
  font-size: 12px;
}
.button.full {
  width: 100%;
}
.button.danger {
  color: white;
  background: #b13e3e;
  border-color: #b13e3e;
}
.button.danger-ghost {
  color: #ad4242;
  border-color: #e9cbca;
  background: #fff7f7;
}
.button.danger-ghost:hover {
  background: #fce8e8;
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 5px;
  background: transparent;
  border: 0;
  border-radius: 5px;
  color: #738079;
}
.icon-button:hover {
  background: #dce4dc;
  color: var(--ink);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.9px;
}
.brand-dot {
  color: #76a896;
}
.brand-mark {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: flex-start;
  gap: 3px;
  border-radius: 7px;
  background: var(--teal);
  padding: 7px 6px;
}
.brand-mark i {
  display: block;
  width: 4px;
  height: 15px;
  border-radius: 1px;
  background: #fff;
}
.brand-mark i:nth-child(2) {
  height: 10px;
}
.brand-mark i:nth-child(3) {
  height: 6px;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e5eee5;
  color: #3c6857;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.4px;
  border: 1px solid #ccddcb;
}
.account-button {
  cursor: pointer;
}
.account-button:hover {
  background: #c9e0d4;
}
.small-avatar {
  width: 29px;
  height: 29px;
  background: #ecede1;
  border: 2px solid #dfebe1;
  font-size: 10px;
}
.card-avatar {
  width: 25px;
  height: 25px;
  font-size: 9px;
  border: 0;
  background: #dde9e0;
}
.card-identifier {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
}
.board-key {
  display: inline-block;
  padding: 2px 5px;
  margin-left: 5px;
  border: 1px solid #ffffff40;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.key-setup-banner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 16px 12px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--surface, #fff);
  color: var(--ink);
}

.key-setup-banner p {
  margin: 0;
  flex: 1;
  min-width: 220px;
  font-size: 13px;
  line-height: 1.5;
}
[data-board-key] {
  letter-spacing: 0.8px;
}
.large-avatar {
  width: 58px;
  height: 58px;
  font-size: 19px;
}
.initial-loading {
  display: grid;
  min-height: 100vh;
  place-items: center;
  color: var(--teal);
}

/* A restrained workspace frame keeps the board itself in focus. */
.app-shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.topbar {
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  z-index: 1;
}
.topbar-divider {
  height: 23px;
  border-left: 1px solid var(--border);
}
.sidebar-toggle {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  padding: 7px;
}
.workspace-name {
  font-size: 12px;
  color: #79847d;
}
.topbar-right {
  margin-left: auto;
  display: flex;
  gap: 19px;
  align-items: center;
}
.quiet-badge {
  color: #849184;
  font-size: 11px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.quiet-badge .icon {
  width: 15px;
  height: 15px;
}
.shell-body {
  flex: 1;
  display: flex;
  min-height: 0;
}
.sidebar {
  width: 224px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 14px 16px;
  background: #f0f3ed;
  border-right: 1px solid #dfe5db;
}
.settings-section {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 16px 0;
}
.settings-section > summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
}
.settings-section > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 10px;
}
.settings-section-body {
  padding: 0 16px 16px;
}
.workspace-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 27px;
}
.workspace-avatar {
  background: #dce7d9;
  border: 1px solid #c9d8c4;
  border-radius: 9px;
  color: #4c735c;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
}
.workspace-summary strong {
  font-size: 12px;
  display: block;
}
.workspace-summary small {
  font-size: 10px;
  color: #8d998c;
  display: block;
  margin-top: 5px;
}
.nav-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  margin-bottom: 5px;
  border-radius: 7px;
  font-size: 12px;
  color: #6b796d;
  font-weight: 550;
  border: 0;
  background: transparent;
  text-align: left;
}
.nav-item:hover {
  background: #e5ebe0;
}
.nav-item.active {
  background: #dfeade;
  color: #315e48;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-count {
  font-size: 10px;
  margin-left: auto;
  background: #cbdcc7;
  padding: 2px 6px;
  border-radius: 4px;
}
.sidebar-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 24px 7px 8px;
  color: #8b9889;
  letter-spacing: 1.2px;
  font-size: 9px;
  font-weight: 700;
}
.sidebar-heading .icon {
  width: 15px;
  height: 15px;
}
.sidebar-board {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #61715f;
  font-size: 12px;
}
.sidebar-board span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sidebar-board:hover,
.sidebar-board.selected {
  background: #e1e9dd;
}
.board-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.sidebar-boards {
  overflow-y: auto;
}
.sidebar-empty {
  font-size: 11px;
  color: #99a292;
  margin: 8px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.sidebar-tip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  margin-bottom: 20px;
}
.sidebar-tip .icon {
  width: 25px;
  height: 25px;
  color: #a6b69d;
}
.sidebar-tip p {
  margin: 0;
  color: #98a18f;
  font-size: 11px;
  line-height: 1.6;
}
.main-content {
  flex: 1;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}
.main-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.version-footer {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  padding: 9px 16px 13px;
  color: var(--muted);
}
.version-badge {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 2px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.version-badge:hover {
  text-decoration: underline;
}
.auth-shell {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.auth-shell > :is(.auth-page, .password-page) {
  flex: 1;
  min-height: 0;
  overflow: auto;
}
.dashboard {
  max-width: 1360px;
  margin: auto;
  padding: 44px 44px 25px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}
.page-heading .eyebrow {
  display: block;
  margin-bottom: 11px;
}
.page-heading h1 {
  margin-bottom: 11px;
}
.page-heading p {
  font-size: 13px;
  margin-bottom: 0;
}
.section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 21px;
}
.tabs {
  display: flex;
  align-items: center;
  gap: 20px;
}
.tab {
  font-size: 12px;
  font-weight: 600;
  padding: 10px 0;
  color: #889188;
  border: 0;
  background: none;
  border-bottom: 2px solid transparent;
}
.tab.active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}
.tab span {
  background: #e7ede3;
  border-radius: 4px;
  padding: 2px 5px;
  font-size: 10px;
  margin-left: 5px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  background: white;
  color: #8a978a;
}
.search-box input {
  width: 145px;
  border: 0;
  padding: 0;
  background: transparent;
  outline: none;
  font-size: 11px;
}
.search-box .icon {
  width: 14px;
  height: 14px;
}
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.board-tile {
  background: white;
  border: 1px solid #e0e6dc;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.board-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #263d3c0d;
}
.board-tile-cover {
  height: 132px;
  background: linear-gradient(135deg, #ffffff0a, #00000014), var(--board-color);
  padding: 24px 26px;
  position: relative;
  overflow: hidden;
}
.board-tile-cover::after {
  content: "";
  position: absolute;
  border: 1px solid #ffffff16;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  top: -115px;
  right: -40px;
  pointer-events: none;
}
.mini-board {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  width: 100%;
}
.mini-list {
  flex: 1;
  padding: 8px;
  background: #ffffff35;
  border-radius: 5px;
  min-height: 76px;
}
.mini-list i {
  display: block;
  width: 45%;
  height: 4px;
  background: #ffffff99;
  border-radius: 2px;
  margin-bottom: 8px;
}
.mini-list span {
  display: block;
  height: 20px;
  margin-top: 5px;
  border-radius: 3px;
  background: #ffffffd9;
}
.mini-list span.mini-short {
  height: 16px;
}
.tile-role {
  display: flex;
  gap: 5px;
  align-items: center;
  position: absolute;
  left: 15px;
  bottom: 9px;
  font-size: 9px;
  color: #ffffffca;
}
.tile-role .icon {
  width: 10px;
  height: 10px;
}
.board-tile-info {
  padding: 17px 18px;
}
.board-tile-info h3 {
  font-size: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.board-tile-info > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8e978a;
}
.new-board-tile {
  border: 1px dashed #cad4c5;
  border-radius: 10px;
  background: #f2f5ef;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: #71816a;
}
.new-board-tile:hover {
  background: #e8efe4;
  border-color: #91ac8b;
}
.new-board-tile > span {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #e2ebdb;
  color: #7b9570;
}
.new-board-tile strong {
  font-size: 12px;
}
.new-board-tile small {
  font-size: 10px;
  color: #9aa490;
}
.empty-boards {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
}
.empty-boards h3 {
  font-size: 21px;
  font-weight: 500;
  color: #73846a;
  margin-bottom: 10px;
}
.empty-boards p {
  color: #8f9b85;
  font-size: 12px;
}
.template-section {
  margin-top: 49px;
  padding-top: 31px;
  border-top: 1px solid #e1e7dc;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 23px;
}
.section-heading .eyebrow {
  font-size: 9px;
}
.section-heading h2 {
  margin: 10px 0 8px;
}
.section-heading p {
  font-size: 12px;
  margin: 0;
}
.template-count {
  font-size: 10px;
  color: #94a08d;
}
.template-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.template-card {
  background: #fff;
  border: 1px solid #e2e7dd;
  border-radius: 9px;
  overflow: hidden;
  padding: 0;
  text-align: left;
  transition: transform 0.15s;
}
.template-card:hover {
  transform: translateY(-3px);
  border-color: #b2c4a6;
}
.template-illustration {
  padding: 20px 17px 0;
  height: 100px;
  background: #e6ebe0;
  overflow: hidden;
}
.template-1 {
  background: #e5e9ef;
}
.template-2 {
  background: #eee6e1;
}
.template-3 {
  background: #eae5ed;
}
.template-illustration .mini-board {
  gap: 5px;
}
.template-illustration .mini-list {
  background: #bdcdb6;
  padding: 6px;
}
.template-1 .mini-list {
  background: #aebfd4;
}
.template-2 .mini-list {
  background: #d6bfb2;
}
.template-3 .mini-list {
  background: #c6b9d2;
}
.template-card > strong {
  display: block;
  margin: 17px 15px 6px;
  font-size: 12px;
}
.template-card > p {
  margin: 0 15px 16px;
  min-height: 30px;
  font-size: 10px;
  line-height: 1.6;
  color: #8c9785;
}
.template-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 15px 14px;
  font-size: 9px;
  color: #8e9a86;
}
.template-card > span .icon {
  width: 12px;
  height: 12px;
}
.dashboard-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 34px 0 0;
  font-size: 10px;
  color: #a1ac97;
}
.tiny-mark .icon {
  width: 13px;
  height: 13px;
}

/* Horizontal lists intentionally scroll independently of the fixed board toolbar. */
.board-main {
  overflow: hidden;
}
.board-workspace {
  height: 100%;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 85% 85%, #ffffff12, transparent 65%),
    linear-gradient(135deg, #ffffff05, #00000018), var(--board-color);
}
.board-header {
  min-height: 73px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 23px;
  color: #fff;
  background: #00000007;
}
.board-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.board-heading h1 {
  font-size: 23px;
  letter-spacing: -0.5px;
  margin: 0;
  max-width: 400px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board-back {
  display: grid;
  place-items: center;
  color: #ffffffb0;
  width: 25px;
  height: 30px;
  border-radius: 4px;
}
.board-back:hover {
  background: #ffffff20;
}
.board-privacy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #ffffffa8;
  padding-left: 14px;
  border-left: 1px solid #ffffff26;
}
.board-privacy .icon {
  width: 12px;
  height: 12px;
}
.role-badge {
  font-size: 9px;
  padding: 4px 7px;
  color: #fff;
  background: #ffffff1c;
  border-radius: 4px;
  white-space: nowrap;
}
.role-badge.neutral {
  background: #e9eee5;
  color: #6a7b60;
}
.board-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.member-stack {
  display: flex;
  padding-left: 5px;
  margin-right: 4px;
}
.member-stack .avatar {
  margin-left: -5px;
}
.button.board-button {
  min-height: 33px;
  background: #ffffffeb;
  color: #355853;
  border: 0;
  font-size: 11px;
  padding: 8px 11px;
}
.button.board-button:hover {
  background: #fff;
}
.button.icon-only {
  padding: 7px;
}
.button.board-button .icon {
  width: 15px;
  height: 15px;
}
.board-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px 13px;
  font-size: 10px;
  color: #ffffffa8;
}
.board-subheader > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.board-subheader .icon {
  width: 13px;
  height: 13px;
}
.subheader-dot {
  color: #ffffff63;
}
.board-search {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #ffffff12;
  padding: 6px 9px;
  border-radius: 5px;
}
.board-search input {
  border: none;
  outline: none;
  width: 135px;
  font-size: 10px;
  color: #fff;
  background: transparent;
}
.board-search input::placeholder {
  color: #ffffffa1;
}
.lanes {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 0 25px 18px;
  overflow: auto;
  flex: 1;
  min-height: 0;
}
.lanes::-webkit-scrollbar {
  width: 8px;
  height: 9px;
}
.lanes::-webkit-scrollbar-thumb {
  background: #ffffff40;
  border-radius: 10px;
}
.lanes::-webkit-scrollbar-track {
  background: #00000010;
}
.lane {
  flex: 0 0 282px;
  width: 282px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background: #edf0e9;
  border: 1px solid #ffffff2e;
  border-radius: 10px;
  box-shadow: 0 2px 4px #002b3010;
}
.lane-header {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 11px 9px 10px;
  flex-shrink: 0;
}
.lane-header h2 {
  font-size: 12px;
  letter-spacing: 0;
  margin: 0;
  font-weight: 650;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.lane-header .icon-button {
  width: 23px;
  height: 25px;
  padding: 3px;
}
.lane-header .icon {
  width: 16px;
  height: 16px;
}
.column-grip {
  cursor: grab;
  color: #a3ada0;
}
.column-grip:active {
  cursor: grabbing;
}
.lane-count {
  color: #929e8c;
  font-size: 10px;
  padding: 2px 5px;
}
.lane-cards {
  padding: 0 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 15px;
  overflow-y: auto;
}
.ticket {
  background: #fff;
  border-radius: 7px;
  border: 1px solid #e3e7df;
  border-bottom-color: #d0d7c9;
  padding: 12px;
  box-shadow: 0 1px 1px #334f3d04;
  cursor: pointer;
}
.ticket[draggable="true"] {
  cursor: grab;
}
.ticket:hover {
  border-color: #96b9a3;
  background: #fefffc;
}
.ticket:active[draggable="true"] {
  cursor: grabbing;
}
.ticket h3 {
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
  margin: 0 0 10px;
  color: #3f5144;
  overflow-wrap: anywhere;
}
.card-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.card-labels:empty {
  display: none;
}
.card-label {
  display: inline-block;
  text-align: center;
  color: #fff;
  min-width: 32px;
  min-height: 6px;
  border-radius: 3px;
  margin-bottom: 8px;
  padding: 3px 6px;
  font-size: 9px;
  font-weight: 650;
  text-shadow: 0 1px 2px #00000070;
}
.card-label:empty {
  padding: 0;
  height: 6px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  min-height: 16px;
}
.card-meta > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-meta > div > span {
  display: flex;
  gap: 4px;
  align-items: center;
  font-size: 9px;
  color: #829079;
}
.card-meta .icon {
  width: 12px;
  height: 12px;
}
.priority-chip {
  text-transform: capitalize;
}
.priority-chip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #80977f;
}
.priority-chip.priority-medium i {
  background: #c7aa44;
}
.priority-chip.priority-high i {
  background: #d38344;
}
.priority-chip.priority-urgent {
  color: #b85353;
}
.priority-chip.priority-urgent i {
  background: #c95d5d;
}
.estimate {
  background: #edf1e8;
  border-radius: 4px;
  min-width: 20px;
  padding: 3px 5px;
  justify-content: center;
}
.add-card {
  display: flex;
  gap: 7px;
  align-items: center;
  background: none;
  border: none;
  color: #84917b;
  padding: 13px 14px;
  text-align: left;
  font-size: 11px;
  border-radius: 0 0 9px 9px;
}
.add-card:hover {
  background: #e2e8dc;
  color: #58774e;
}
.add-card .icon {
  width: 14px;
  height: 14px;
}
.add-card-form {
  padding: 8px;
}
.add-card-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}
.inline-actions {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 7px;
}
.add-list {
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: left;
  flex: 0 0 240px;
  padding: 15px;
  border-radius: 9px;
  background: #ffffff18;
  color: #ffffffbd;
  border: 1px solid #ffffff12;
  font-size: 12px;
}
.add-list:hover {
  background: #ffffff2c;
  color: white;
}
.add-list .icon {
  width: 15px;
  height: 15px;
}
.drop-target {
  box-shadow: inset 0 0 0 3px #c9e8d2;
}
.no-matches {
  color: #96a18d;
  font-size: 11px;
  text-align: center;
  padding: 15px;
}
.empty-board {
  padding: 10px 25px;
  color: #ffffffa8;
  min-width: 250px;
}
.empty-board h2 {
  margin-bottom: 10px;
  color: #fff;
  font-weight: 500;
}
.empty-board p {
  font-size: 12px;
  max-width: 260px;
}
.board-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 9px 25px 13px;
  color: #ffffff72;
  font-size: 9px;
  flex-shrink: 0;
}
.board-bottom > span:last-child {
  text-align: right;
}

/* Native dialogs provide keyboard focus containment and Escape behavior. */
.modal {
  border: 1px solid #d9e2d4;
  border-radius: 14px;
  padding: 0;
  width: 470px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  box-shadow: 0 25px 90px #12343230;
  color: var(--ink);
  background: #fafbf7;
}
.modal::backdrop {
  background: #16383280;
  backdrop-filter: blur(3px);
}
.modal-wide {
  width: 890px;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 25px;
  border-bottom: 1px solid #e6eade;
  position: sticky;
  top: 0;
  background: #fafbf7;
  z-index: 1;
}
.modal-header h2 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -0.4px;
}
.modal-body {
  padding: 24px 25px;
}
.modal-body > .muted {
  font-size: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field > label,
.field-label {
  font-size: 11px;
  font-weight: 650;
  color: #5e745b;
}
.field-label {
  display: block;
  margin-bottom: 9px;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 48px;
}
.password-input input::-ms-reveal {
  display: none;
}
.password-toggle {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: 40px;
  height: auto;
  color: var(--muted);
}
@media (any-pointer: coarse) {
  .password-input input {
    min-height: 48px;
  }
}
:where(input:not([type="checkbox"]):not([type="radio"])),
select,
textarea {
  border: 1px solid #dce3d6;
  border-radius: 6px;
  background: #fff;
  padding: 10px 12px;
  color: #40513d;
  font-size: 13px;
  width: 100%;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #86ac95;
  outline: none;
  box-shadow: 0 0 0 3px #85b79620;
}
input[type="color"] {
  height: 43px;
  padding: 5px !important;
  cursor: pointer;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--teal);
}
textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 65px;
}
input::placeholder,
textarea::placeholder {
  color: #a1ac99;
}
input:disabled,
select:disabled,
textarea:disabled {
  color: #5f6c5a;
  background: #eff3ea;
  opacity: 1;
}
.form-hint,
.field-hint {
  font-size: 10px;
  line-height: 1.6;
  color: #97a28e;
}
.field-hint .icon {
  width: 11px;
  height: 11px;
  margin-right: 3px;
}
.form-error {
  font-size: 11px;
  color: #aa4141;
  line-height: 1.5;
}
.form-error:not(:empty) {
  padding: 9px 0;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
}
.checkbox-field {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 13px;
  font-size: 12px;
  color: #72836a;
}
.checkbox-field input {
  width: 15px;
  height: 15px;
}
.create-preview {
  height: 130px;
  padding: 25px 65px;
  background: var(--board-color);
  border-radius: 8px;
  margin-bottom: 23px;
}
.color-choices {
  display: flex;
  gap: 10px;
  margin-bottom: 17px;
}
.color-choices label {
  position: relative;
  width: 42px;
  height: 33px;
}
.color-choices input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.color-choices span {
  display: grid;
  place-items: center;
  background: var(--swatch);
  border-radius: 6px;
  width: 100%;
  height: 100%;
  color: #fff;
  pointer-events: none;
}
.color-choices .icon {
  visibility: hidden;
}
.color-choices input:checked + span .icon {
  visibility: visible;
}
.color-choices input:focus-visible + span {
  outline: 3px solid #88b9a0;
  outline-offset: 3px;
}
.color-choices input:checked + span {
  box-shadow:
    0 0 0 2px #fafbf7,
    0 0 0 4px #b2c8ac;
}
.member-list {
  margin: 22px 0 28px;
}
.share-search-results {
  margin: -8px 0 10px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface, #fff);
  max-height: 220px;
  overflow-y: auto;
}
.share-search-results button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-size: 12px;
}
.share-search-results button:hover,
.share-search-results button[aria-selected="true"] {
  background: var(--surface-hover, #edf1e8);
}
.member-row {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #e5e9df;
}
.member-row > div {
  flex: 1;
}
.member-row strong {
  font-size: 12px;
}
.member-row small {
  display: block;
  font-size: 10px;
  color: #99a490;
  margin-top: 3px;
}
.member-row select {
  width: 118px;
  padding: 7px;
  font-size: 10px;
}
.permission-help {
  background: #eef2e8;
  border-radius: 7px;
  padding: 11px 13px;
}
.permission-help p {
  margin: 0 0 7px;
  font-size: 10px;
  color: #859277;
}
.permission-help p:last-child {
  margin: 0;
}
.permission-help strong {
  color: #5f7756;
}
.ownership-settings {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.ownership-settings p {
  font-size: 12px;
  line-height: 1.6;
}
.danger-zone {
  border-top: 1px solid #e6e2da;
  padding-top: 22px;
  margin-top: 25px;
}
.danger-zone h3 {
  color: #a8564e;
  font-size: 13px;
  margin-bottom: 8px;
}
.danger-zone p {
  font-size: 11px;
  color: #998d80;
}
.list-move-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.labels-management {
  margin: 15px 0 23px;
}
.label-management-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}
.label-swatch {
  border-radius: 5px;
  flex: 1;
  padding: 10px;
  color: #fff;
  font-weight: 650;
  font-size: 11px;
  text-shadow: 0 1px 2px #00000060;
}
.label-swatch:empty::before,
.label-check span:empty::before {
  content: "\00a0";
}
.label-color-palette {
  display: flex;
  gap: 8px;
}
.label-color-palette button {
  width: 36px;
  height: 28px;
  border: 0;
  border-radius: 4px;
}
.account-summary {
  display: flex;
  align-items: center;
  gap: 17px;
  margin: 7px 0 28px;
}
.account-summary h3 {
  margin-bottom: 5px;
  font-size: 18px;
}
.account-summary p {
  font-size: 12px;
  margin: 0;
}
.account-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.version-display {
  font-size: 20px;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.version-details {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px 18px;
  margin: 24px 0;
  font-size: 12px;
}
.version-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.version-manual-copy {
  display: block;
  margin-top: 16px;
}
.ticket-context {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #8d9a81;
  margin-bottom: 21px;
}
.ticket-context .icon {
  width: 13px;
  height: 13px;
}
.ticket-number {
  margin-left: auto;
  font-size: 10px;
}
.ticket-layout {
  display: grid;
  grid-template-columns: 1fr 215px;
  gap: 29px;
}
input.ticket-title-input {
  font-size: 18px !important;
  font-weight: 600;
}
.ticket-main-fields textarea {
  font-size: 12px;
}
.ticket-side-fields {
  background: #f0f3e9;
  padding: 17px;
  border-radius: 9px;
}
.ticket-side-fields select {
  font-size: 11px;
}
.ticket-side-fields .field {
  margin-bottom: 18px;
}
.ticket-label-section {
  margin-bottom: 12px;
}
.ticket-label-section .field-label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ticket-label-section .icon {
  width: 13px;
  height: 13px;
}
.label-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.label-check {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
}
.label-check input {
  width: 14px;
  height: 14px;
}
.label-check span {
  border-left: 5px solid var(--label-color);
  background: #edf1e8;
  border-radius: 4px;
  padding: 6px 9px;
  color: #5c7052;
}
.creator-info {
  display: flex;
  gap: 9px;
  align-items: center;
  border-top: 1px solid #dfe7d6;
  padding-top: 17px;
  font-size: 9px;
  color: #9ba58e;
}
.creator-info strong {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  color: #6e825f;
}
.creator-info small {
  display: block;
  font-size: 8px;
  margin-top: 5px;
}
.ticket-lower {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 30px;
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid #e3e9da;
}
.ticket-lower h3 {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 17px;
  font-size: 13px;
}
.ticket-lower h3 .icon {
  width: 15px;
  height: 15px;
  color: #7f9370;
}
.count-pill {
  background: #e4ecdd;
  border-radius: 4px;
  font-size: 9px;
  padding: 2px 5px;
  color: #859779;
}
.discussion form textarea {
  font-size: 11px;
}
.discussion form .button {
  margin-top: 9px;
}
.comment {
  display: flex;
  gap: 9px;
  margin-top: 20px;
}
.comment > div {
  flex: 1;
  min-width: 0;
}
.comment-heading {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  margin-bottom: 5px;
}
.comment-heading strong {
  font-weight: 650;
}
.comment-heading time {
  font-size: 8px;
  color: #a4ad98;
}
.comment .markdown-content {
  font-size: 11px;
  background: white;
  border: 1px solid #e5e9de;
  border-radius: 6px;
  padding: 10px 12px;
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.comments > .field-hint {
  margin-top: 18px;
}
.activity-list {
  max-height: 340px;
  overflow: auto;
}
.activity-item {
  display: flex;
  gap: 10px;
  position: relative;
  margin: 0 0 16px;
}
.activity-dot {
  width: 5px;
  height: 5px;
  background: #bdd0b0;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.activity-item p {
  font-size: 10px;
  line-height: 1.6;
  color: #8a9a7e;
  margin: 0 0 3px;
  overflow-wrap: anywhere;
}
.activity-item strong {
  color: #667e5a;
}
.activity-item time {
  font-size: 8px;
  color: #a7b09c;
}
.readonly-note {
  display: flex;
  gap: 7px;
  align-items: center;
  color: #8f9e81;
  font-size: 11px;
  margin-top: 20px;
}
.ticket-move {
  margin-top: 23px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.ticket-move summary {
  font-size: 10px;
  color: #97a38b;
  cursor: pointer;
}
.move-fields {
  display: flex;
  gap: 10px;
  align-items: end;
  margin-top: 16px;
}
.move-fields .field {
  flex: 1;
  margin: 0;
}
.move-fields .field:nth-child(2) {
  max-width: 140px;
}
.ticket-move .danger-ghost {
  margin-top: 15px;
}

.admin-table-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow-x: auto;
}
.admin-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
}
.admin-table th {
  padding: 15px 19px;
  background: #f1f4ec;
  font-size: 10px;
  font-weight: 650;
  color: #89977c;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 18px 19px;
  border-bottom: 1px solid #edf0e8;
  font-size: 12px;
}
.admin-table tr:last-child td {
  border: 0;
}
.table-user {
  display: flex;
  gap: 11px;
  align-items: center;
}
.table-user small {
  display: block;
  font-size: 9px;
  color: #a0aa93;
  margin-top: 5px;
}
.table-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.admin-role {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #7f9172;
}
.admin-role .icon {
  width: 14px;
  height: 14px;
}
.status-badge {
  font-size: 9px;
  border-radius: 4px;
  background: #e9f0e2;
  color: #7b9768;
  padding: 5px 7px;
  white-space: nowrap;
}
.status-badge.pending {
  background: #f6edda;
  color: #ad965d;
}
.admin-footnote {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #9ba58f;
  margin-top: 20px;
}
.admin-footnote .icon {
  width: 12px;
  height: 12px;
}

.auth-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 47% 53%;
}
.auth-form-area {
  display: flex;
  flex-direction: column;
  padding: 35px 50px 26px;
  min-width: 0;
}
.auth-brand {
  width: fit-content;
}
.auth-card {
  width: 345px;
  max-width: 100%;
  margin: auto;
  padding: 48px 0;
}
.auth-card h1 {
  font-size: 37px;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 15px 0 18px;
}
.auth-card > .muted {
  font-size: 13px;
  margin-bottom: 30px;
}
.auth-card .field {
  margin-bottom: 22px;
}
.auth-card input {
  height: 43px;
}
.auth-card form > .button {
  margin-top: 12px;
  min-height: 44px;
  justify-content: space-between;
  padding: 12px 16px;
}
.auth-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 27px;
  color: #9aa58f;
}
.auth-note .icon {
  width: 12px;
  height: 12px;
  margin-top: 4px;
}
.auth-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}
.auth-footer {
  font-size: 10px;
  color: #a1ad95;
}
.auth-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 50px;
  min-height: 100%;
  overflow: hidden;
  background: #dfe7d8;
}
.art-caption {
  position: relative;
  z-index: 1;
  margin: 0 0 35px 10px;
}
.art-caption .eyebrow {
  color: #8a9f7b;
  font-size: 9px;
}
.art-caption h2 {
  font-size: 45px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.8px;
  color: #44603d;
  margin: 18px 0 0;
}
.art-orbit {
  position: absolute;
  border: 1px solid #bacdaf70;
  width: 690px;
  height: 690px;
  border-radius: 50%;
  left: 150px;
  top: -210px;
  pointer-events: none;
}
.orbit-two {
  width: 580px;
  height: 580px;
  left: 205px;
  top: -155px;
}
.art-sun {
  width: 140px;
  height: 140px;
  background: #eef2d9;
  border-radius: 50%;
  position: absolute;
  top: 9%;
  right: 13%;
  box-shadow: 0 0 70px #f5f8e13b;
}
.art-board {
  background: #0c6569;
  padding: 20px 17px 28px;
  border: 1px solid #ffffff44;
  border-radius: 13px;
  display: flex;
  gap: 12px;
  width: 540px;
  transform: rotate(-5deg);
  margin: 15px 0 25px -18px;
  box-shadow: 0 25px 45px #56714822;
  position: relative;
  z-index: 1;
}
.art-list {
  flex: 1;
  border-radius: 6px;
  background: #edf0e8;
  padding: 10px 8px;
  min-height: 190px;
}
.art-list strong {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 13px;
  padding: 0 3px;
  color: #66845c;
}
.art-list small {
  font-size: 8px;
  color: #a5b399;
}
.art-card {
  background: white;
  color: #64795a;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 5px;
  font-size: 10px;
  line-height: 1.5;
  box-shadow: 0 1px 0 #cbd7c2;
}
.art-label {
  height: 5px;
  width: 45px;
  border-radius: 2px;
  background: #849f6a;
  display: block;
  margin-bottom: 7px;
}
.art-label.coral {
  background: #cb997c;
}
.art-lines {
  width: 45px;
  height: 6px;
  border-top: 1px solid #dce4d4;
  border-bottom: 1px solid #dce4d4;
  margin-top: 10px;
}
.art-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #e3ecdc;
  border-radius: 50%;
  margin-left: auto;
  margin-top: 12px;
  font-size: 6px;
  color: #88a473;
}
.art-done {
  color: #8baf74;
  float: right;
}
.art-bottom {
  position: absolute;
  left: 60px;
  bottom: 27px;
  color: #91a380;
  font-size: 10px;
}
.password-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px 25px;
  background:
    radial-gradient(ellipse at top, #e8efdf, transparent 65%), var(--canvas);
}
.password-card {
  width: 440px;
  max-width: 100%;
  background: white;
  border: 1px solid #dce4d5;
  border-radius: 13px;
  padding: 35px;
  margin-top: 40px;
}
.password-card h1 {
  font-size: 27px;
  margin: 12px 0 15px;
}
.password-card > p {
  font-size: 12px;
  margin-bottom: 25px;
}

#toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
  max-width: min(420px, calc(100vw - 40px));
}
.toast {
  padding: 14px 18px;
  border-radius: 8px;
  background: #244c40;
  color: #fff;
  font-size: 12px;
  box-shadow: 0 6px 20px #00000015;
  line-height: 1.5;
  animation: toast-in 0.2s ease-out;
}
.toast-error {
  background: #954f4b;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
[hidden] {
  display: none !important;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .board-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1200px) {
  .dashboard {
    padding: 35px 28px;
  }
  .sidebar {
    width: 200px;
  }
  .quiet-badge {
    display: none;
  }
  .board-privacy {
    display: none;
  }
  .board-heading h1 {
    max-width: 260px;
  }
  .auth-art {
    padding: 45px 35px;
  }
  .art-board {
    width: 490px;
  }
  .art-caption h2 {
    font-size: 39px;
  }
  .template-card > strong {
    font-size: 11px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 180px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .workspace-summary {
    padding-left: 3px;
    gap: 7px;
  }
  .workspace-summary strong {
    font-size: 10px;
  }
  .workspace-summary small {
    font-size: 8px;
  }
  .workspace-avatar {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
  }
  .template-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .template-count {
    display: none;
  }
  .empty-boards {
    grid-column: auto;
    padding: 20px;
  }
  .board-header {
    padding: 15px 18px;
  }
  .board-heading {
    gap: 8px;
  }
  .board-heading h1 {
    font-size: 19px;
    max-width: 220px;
  }
  .board-heading .role-badge {
    display: none;
  }
  .member-stack {
    display: none;
  }
  .auth-form-area {
    padding: 30px;
  }
  .auth-card {
    width: 310px;
  }
  .auth-card h1 {
    font-size: 33px;
  }
  .art-caption h2 {
    font-size: 35px;
  }
  .art-board {
    width: 440px;
  }
}
@media (max-width: 760px) {
  .topbar {
    height: 58px;
    padding: 0 16px;
    gap: 15px;
  }
  .topbar .brand {
    font-size: 20px;
  }
  .topbar .brand-mark {
    width: 26px;
    height: 26px;
    padding: 6px 5px;
  }
  .topbar-divider,
  .workspace-name {
    display: none;
  }
  .topbar-right {
    gap: 12px;
  }
  .topbar .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .sidebar {
    display: none;
  }
  .sidebar-toggle {
    display: none;
  }
  .dashboard {
    padding: 28px 20px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .page-heading > .button {
    display: none;
  }
  .section-toolbar {
    flex-wrap: wrap;
    gap: 12px;
  }
  .tabs {
    gap: 18px;
  }
  .search-box {
    width: 100%;
  }
  .search-box input {
    width: 100%;
  }
  .board-tile-cover {
    height: 110px;
    padding: 15px 20px;
  }
  .new-board-tile {
    min-height: 190px;
  }
  .board-tile-info {
    padding: 14px;
  }
  .empty-boards h3 {
    font-size: 19px;
  }
  .template-section {
    margin-top: 35px;
  }
  .board-header {
    min-height: 65px;
    padding: 13px 13px;
  }
  .board-heading h1 {
    max-width: calc(100vw - 225px);
    font-size: 18px;
  }
  .board-back {
    width: 18px;
  }
  .board-header-actions {
    gap: 5px;
  }
  .button.board-button {
    padding: 8px;
    font-size: 10px;
  }
  .board-subheader {
    padding: 0 16px 13px;
  }
  .lanes {
    padding-left: 16px;
    padding-right: 16px;
    gap: 12px;
  }
  .lane {
    width: 280px;
    flex-basis: 280px;
  }
  .board-bottom {
    padding: 10px 16px;
    grid-template-columns: 1fr;
  }
  .board-bottom > span {
    display: none;
  }
  .modal-wide {
    max-width: calc(100vw - 20px);
  }
  .modal-header {
    padding: 18px;
  }
  .modal-body {
    padding: 20px 18px;
  }
  .ticket-layout {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .ticket-side-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 13px;
  }
  .ticket-side-fields .field {
    margin: 0;
  }
  .ticket-side-fields select {
    font-size: 10px;
    padding: 9px 6px;
  }
  .creator-info {
    grid-column: 1 / -1;
    margin-top: 5px;
  }
  .ticket-lower {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .activity-list {
    max-height: 220px;
  }
  .auth-page {
    display: block;
  }
  .auth-art {
    display: none;
  }
  .auth-form-area {
    min-height: 100%;
    padding: 25px;
  }
  .auth-card {
    width: 370px;
  }
  .auth-card h1 {
    font-size: 36px;
  }
  .auth-footer {
    text-align: center;
  }
  .admin-table {
    min-width: 680px;
  }
  .admin-page .page-heading > .button {
    display: flex;
  }
  .admin-page h1 {
    font-size: 24px;
  }
}
@media (max-width: 430px) {
  .board-grid {
    grid-template-columns: 1fr;
  }
  .empty-boards {
    padding: 14px 0;
  }
  .new-board-tile {
    min-height: 155px;
  }
  .board-tile-cover {
    height: 120px;
    padding: 20px 30px;
  }
  .template-grid {
    gap: 12px;
  }
  .template-card > strong {
    margin-left: 12px;
    margin-right: 12px;
  }
  .template-card > p {
    margin-left: 12px;
    margin-right: 12px;
  }
  .template-card > span {
    margin-left: 12px;
    margin-right: 12px;
  }
  .board-heading h1 {
    max-width: calc(100vw - 185px);
  }
  .button.board-button {
    gap: 5px;
  }
  .button.board-button .icon {
    width: 12px;
    height: 12px;
  }
  .board-header-actions .icon-only:last-child {
    padding: 7px 4px;
  }
  .ticket-side-fields {
    grid-template-columns: 1fr;
  }
  .creator-info {
    grid-column: auto;
  }
  .move-fields {
    flex-wrap: wrap;
  }
  .move-fields .field {
    min-width: 120px;
  }
  .move-fields .button {
    width: 100%;
  }
  .member-row select {
    width: 94px;
  }
  .member-row {
    gap: 7px;
  }
  .member-row .avatar {
    width: 28px;
    height: 28px;
    font-size: 9px;
  }
  .color-choices {
    gap: 8px;
  }
  .color-choices label {
    width: 36px;
  }
  .password-card {
    padding: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
