/* Itolia Hub — Stylesheet */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  color: #1f2937;
  background: #f1f5f9;
}
#app { height: 100%; display: flex; flex-direction: column; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }
a { color: #e6500f; }

/* ---- Topbar ---- */
.topbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; background: #1e1f1f; color: #fff;
  flex-shrink: 0; min-height: 48px;
}
.topbar .brand {
  font-weight: 700; font-size: 16px; color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
}
.topbar .spacer { flex: 1; }
.topbar-btn {
  background: rgba(255,255,255,.12); color: #fff; border: none; border-radius: 6px;
  padding: 7px 12px; white-space: nowrap;
}
.topbar-btn:hover { background: rgba(255,255,255,.22); }
.search-wrap { position: relative; }
.search-wrap input {
  background: rgba(255,255,255,.14); border: 1px solid transparent; color: #fff;
  border-radius: 6px; padding: 7px 10px; width: 230px; outline: none;
}
.search-wrap input::placeholder { color: #cbd5e1; }
.search-wrap input:focus { background: #fff; color: #1f2937; }
.search-results {
  position: absolute; top: 40px; right: 0; width: 380px; max-height: 420px; overflow: auto;
  background: #fff; color: #1f2937; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.25);
  z-index: 60; padding: 6px;
}
.search-hit { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.search-hit:hover { background: #f1f5f9; }
.search-hit .hit-title { font-weight: 600; }
.search-hit .hit-meta { font-size: 12px; color: #64748b; }
.search-empty { padding: 12px; color: #64748b; }

/* ---- Login ---- */
.login-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e1f1f 0%, #e6500f 70%, #f07d00 100%);
}
.login-box {
  background: #fff; padding: 34px; border-radius: 12px; width: 360px;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.login-logo { display: block; width: 250px; max-width: 100%; margin: 0 auto 6px; }
.login-box h1 { margin: 0 0 4px; font-size: 22px; }
.login-box .sub { color: #64748b; margin: 0 0 20px; }
.login-box label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: 13px; }
.login-box input {
  width: 100%; padding: 10px; border: 1px solid #cbd5e1; border-radius: 8px;
}
.login-box button {
  width: 100%; margin-top: 20px; padding: 11px; border: none; border-radius: 8px;
  background: #e6500f; color: #fff; font-weight: 600;
}
.login-box button:hover { background: #c44a0c; }
.login-error { color: #dc2626; margin-top: 12px; min-height: 18px; }

/* ---- Home (Board-Übersicht) ---- */
.home { flex: 1; overflow: auto; padding: 26px; }
.home h2 { margin: 6px 0 14px; font-size: 17px; color: #334155; }
.board-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.board-tile {
  width: 210px; height: 96px; border-radius: 10px; color: #fff; padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  cursor: pointer; border: none; text-align: left;
  box-shadow: 0 2px 6px rgba(0,0,0,.15); transition: transform .08s;
}
.board-tile:hover { transform: translateY(-2px); }
.board-tile .tile-name { font-weight: 700; font-size: 15px; overflow: hidden; }
.board-tile .tile-icon { font-size: 20px; }
.board-tile.archived { opacity: .55; }
.board-tile.new-tile {
  background: #e2e8f0; color: #475569; align-items: center; justify-content: center;
  display: flex; font-weight: 600; border: 2px dashed #94a3b8;
}
.board-tile.new-tile:hover { background: #cbd5e1; }

/* ---- Board-Ansicht ---- */
.board-view { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.board-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff;
  flex-shrink: 0;
}
.board-head h1 { margin: 0; font-size: 17px; display: flex; gap: 8px; align-items: center; }
.board-head .archived-badge {
  background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 6px; font-size: 12px;
}
.board-head-btn {
  background: rgba(255,255,255,.2); color: #fff; border: none; border-radius: 6px;
  padding: 6px 11px;
}
.board-head-btn:hover { background: rgba(255,255,255,.32); }
.lanes {
  flex: 1; display: flex; align-items: flex-start; gap: 12px;
  overflow-x: auto; overflow-y: hidden; padding: 4px 14px 14px;
}
.lane {
  background: #e8edf3; border-radius: 10px; width: 276px; flex-shrink: 0;
  display: flex; flex-direction: column; max-height: 100%;
}
.lane-header {
  display: flex; align-items: center; gap: 6px; padding: 10px 10px 6px; cursor: grab;
}
.lane-header .lane-name { font-weight: 700; flex: 1; padding: 2px 6px; border-radius: 4px; }
.lane-header .lane-name:hover { background: #d7dee7; }
.lane-header input {
  flex: 1; font-weight: 700; border: 2px solid #e6500f; border-radius: 4px; padding: 1px 4px;
}
.lane-count { color: #64748b; font-size: 12px; }
.lane-menu-btn { border: none; background: none; color: #64748b; border-radius: 4px; padding: 2px 7px; font-size: 16px; }
.lane-menu-btn:hover { background: #d7dee7; }
.cards { padding: 4px 8px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; min-height: 8px; }
.card {
  background: #fff; border-radius: 8px; padding: 9px 10px; box-shadow: 0 1px 2px rgba(0,0,0,.15);
  cursor: pointer; border: none; text-align: left; display: block; width: 100%;
}
.card:hover { background: #f8fafc; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.sortable-ghost { opacity: .4; }
.card .card-labels { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 5px; }
.card .card-label-chip { height: 8px; width: 36px; border-radius: 4px; }
.card .card-title { font-size: 14px; }
.card .card-badges {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; color: #64748b; font-size: 12px;
  align-items: center;
}
.badge { display: inline-flex; align-items: center; gap: 3px; }
.badge.ticket-no { color: #94a3b8; font-family: ui-monospace, Consolas, monospace; }
.badge.due { padding: 2px 6px; border-radius: 5px; }
.badge.due.overdue { background: #dc2626; color: #fff; }
.badge.due.due-today { background: #f59e0b; color: #fff; }
.badge.checklist-done { color: #16a34a; }
.avatars { display: flex; margin-left: auto; }
.avatar {
  width: 24px; height: 24px; border-radius: 50%; background: #e6500f; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 11px;
  font-weight: 700; margin-left: -5px; border: 2px solid #fff;
}
.add-card-btn, .add-lane-btn {
  margin: 4px 8px 10px; padding: 7px 9px; border: none; background: none; border-radius: 6px;
  color: #64748b; text-align: left;
}
.add-card-btn:hover, .add-lane-btn:hover { background: #d7dee7; color: #1f2937; }
.add-lane {
  background: rgba(255,255,255,.35); border-radius: 10px; width: 276px; flex-shrink: 0;
}
.add-lane .add-lane-btn { margin: 6px; width: calc(100% - 12px); }
.inline-add { padding: 8px; }
.inline-add textarea, .inline-add input {
  width: 100%; border: 2px solid #e6500f; border-radius: 6px; padding: 7px; resize: none;
}
.inline-add .row { display: flex; gap: 8px; margin-top: 6px; }

/* ---- Buttons ---- */
.btn {
  border: none; border-radius: 6px; padding: 7px 13px; background: #e2e8f0; color: #1f2937;
}
.btn:hover { background: #cbd5e1; }
.btn.primary { background: #e6500f; color: #fff; font-weight: 600; }
.btn.primary:hover { background: #c44a0c; }
.btn.danger { background: #fee2e2; color: #b91c1c; }
.btn.danger:hover { background: #fecaca; }
.btn.ghost { background: none; color: #64748b; }
.btn.ghost:hover { background: #e2e8f0; color: #1f2937; }
.btn.small { padding: 4px 9px; font-size: 13px; }

/* ---- Modals ---- */
.overlay {
  position: fixed; inset: 0; background: rgba(15,23,42,.6); z-index: 40;
  display: flex; justify-content: center; align-items: flex-start; padding: 44px 16px;
  overflow-y: auto;
}
.modal {
  background: #f1f5f9; border-radius: 12px; width: 100%; max-width: 760px;
  box-shadow: 0 24px 70px rgba(0,0,0,.4); padding: 20px 24px 24px; position: relative;
}
.modal.narrow { max-width: 520px; }
.modal h2 { margin: 0 0 4px; font-size: 19px; padding-right: 30px; }
.modal .close-x {
  position: absolute; top: 12px; right: 12px; border: none; background: none; font-size: 21px;
  color: #64748b; border-radius: 6px; width: 32px; height: 32px;
}
.modal .close-x:hover { background: #e2e8f0; }
.modal h3 { font-size: 14px; color: #334155; margin: 20px 0 8px; display: flex; align-items: center; gap: 8px; }
.modal h3 .h-action { margin-left: auto; }
.card-title-input {
  width: 100%; font-size: 19px; font-weight: 700; border: 2px solid transparent;
  background: none; border-radius: 6px; padding: 4px 6px; margin-left: -6px;
}
.card-title-input:hover { background: #e8edf3; }
.card-title-input:focus { border-color: #e6500f; background: #fff; outline: none; }
.card-meta-line { color: #64748b; font-size: 12px; margin: 2px 0 0 0; }
.meta-grid { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 14px; }
.meta-block .meta-label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; margin-bottom: 5px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.label-chip {
  color: #fff; border-radius: 5px; padding: 4px 10px; font-size: 12px; font-weight: 600;
  border: none;
}
.chip-add {
  border: none; background: #e2e8f0; border-radius: 5px; padding: 4px 10px; color: #475569;
}
.chip-add:hover { background: #cbd5e1; }
.due-input { border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 8px; }
.markdown-body { background: #fff; border-radius: 8px; padding: 12px 14px; }
.markdown-body.clickable { cursor: pointer; }
.markdown-body.clickable:hover { background: #f8fafc; }
.markdown-body .placeholder { color: #94a3b8; }
.markdown-body p:first-child, .markdown-body h1:first-child, .markdown-body h2:first-child,
.markdown-body h3:first-child, .markdown-body ul:first-child { margin-top: 0; }
.markdown-body p:last-child, .markdown-body ul:last-child { margin-bottom: 0; }
.markdown-body pre { background: #f1f5f9; padding: 8px; border-radius: 6px; overflow-x: auto; }
.markdown-body code { background: #f1f5f9; padding: 1px 4px; border-radius: 4px; }
.desc-edit textarea {
  width: 100%; min-height: 130px; border: 2px solid #e6500f; border-radius: 8px; padding: 10px;
}
.edit-row { display: flex; gap: 8px; margin-top: 8px; }

/* Checklisten */
.checklist { background: #fff; border-radius: 8px; padding: 10px 12px; margin-bottom: 10px; }
.checklist-head { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.checklist-head .cl-title { flex: 1; }
.progress-wrap { display: flex; align-items: center; gap: 8px; margin: 7px 0; }
.progress-pct { font-size: 11px; color: #64748b; width: 32px; }
.progress-bar { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: #e6500f; transition: width .2s; }
.progress-fill.complete { background: #16a34a; }
.cl-item { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.cl-item input[type=checkbox] { width: 16px; height: 16px; }
.cl-item .cl-text { flex: 1; }
.cl-item .cl-text.done { text-decoration: line-through; color: #94a3b8; }
.cl-item .btn { visibility: hidden; }
.cl-item:hover .btn { visibility: visible; }
.cl-add-row { display: flex; gap: 8px; margin-top: 6px; }
.cl-add-row input { flex: 1; border: 1px solid #cbd5e1; border-radius: 6px; padding: 6px 8px; }

/* Kommentare */
.comment { background: #fff; border-radius: 8px; padding: 9px 12px; margin-bottom: 8px; }
.comment .c-head { display: flex; gap: 8px; align-items: baseline; margin-bottom: 3px; }
.comment .c-author { font-weight: 700; }
.comment .c-time { color: #94a3b8; font-size: 12px; }
.comment .c-del { margin-left: auto; }
.comment-add textarea {
  width: 100%; min-height: 60px; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px;
}
.comment-add textarea:focus { border-color: #e6500f; outline: none; }

/* Anhänge */
.attachment { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 8px; padding: 8px 12px; margin-bottom: 6px; }
.attachment .a-name { font-weight: 600; }
.attachment .a-meta { color: #94a3b8; font-size: 12px; }
.attachment .a-del { margin-left: auto; }

/* Popover (Label-/Mitglieder-Auswahl) */
.popover {
  position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 8px 30px rgba(0,0,0,.3);
  padding: 12px; z-index: 55; width: 280px;
}
.popover h4 { margin: 0 0 10px; font-size: 13px; text-align: center; color: #334155; }
.pop-row { display: flex; align-items: center; gap: 8px; padding: 4px 2px; border-radius: 6px; }
.pop-row:hover { background: #f1f5f9; }
.pop-row label { flex: 1; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.pop-row .label-chip { flex: 1; text-align: left; cursor: pointer; }
.pop-add-row { display: flex; gap: 6px; margin-top: 10px; }
.pop-add-row input[type=text] { flex: 1; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px 8px; min-width: 0; }
.pop-add-row input[type=color] { width: 34px; height: 30px; border: 1px solid #cbd5e1; border-radius: 6px; padding: 1px; }

/* Tabellen (Benutzerverwaltung) */
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
table.data th, table.data td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e8edf3; }
table.data th { background: #f8fafc; font-size: 12px; color: #64748b; text-transform: uppercase; }
table.data tr:last-child td { border-bottom: none; }
.role-pill { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #e0e7ff; color: #3730a3; font-weight: 700; }
.role-pill.member { background: #e2e8f0; color: #475569; }
.inactive-pill { font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #fee2e2; color: #b91c1c; font-weight: 700; }
.policy-box {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
  padding: 9px 12px; margin-top: 8px; font-size: 12px; color: #475569;
}
.policy-list { margin: 5px 0 0; padding-left: 18px; }
.policy-list li { margin: 2px 0; }
.pw-note {
  background: #fef9c3; border: 1px solid #fde047; padding: 10px 12px; border-radius: 8px;
  margin: 10px 0; font-family: ui-monospace, Consolas, monospace;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.form-grid label { font-size: 12px; font-weight: 700; color: #475569; display: block; margin-bottom: 3px; }
.form-grid input, .form-grid select { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 7px 9px; }
.form-row { margin-top: 12px; }
.form-row label { font-size: 12px; font-weight: 700; color: #475569; display: block; margin-bottom: 3px; }
.form-row input { width: 100%; border: 1px solid #cbd5e1; border-radius: 6px; padding: 7px 9px; }

/* Farb-Auswahl */
.swatches { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.swatch { width: 34px; height: 26px; border-radius: 6px; border: 2px solid transparent; padding: 0; }
.swatch.selected { border-color: #1e1f1f; }

/* Aktivität */
.activity-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: 360px; background: #fff; z-index: 45;
  box-shadow: -8px 0 30px rgba(0,0,0,.2); display: flex; flex-direction: column;
}
.activity-panel .panel-head {
  display: flex; align-items: center; padding: 14px 16px; border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
}
.activity-panel .panel-head button { margin-left: auto; }
.activity-list { flex: 1; overflow-y: auto; padding: 10px 16px; }
.activity-entry { padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 13px; }
.activity-entry .a-time { color: #94a3b8; font-size: 12px; }

/* Toasts */
#toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 100; }
.toast {
  background: #1e1f1f; color: #fff; padding: 10px 18px; border-radius: 8px; margin-top: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,.3); animation: toast-in .18s ease-out;
}
.toast.error { background: #b91c1c; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px);} to { opacity: 1; } }

/* Kleinkram */
.muted { color: #64748b; }
.hidden { display: none !important; }
.menu {
  position: absolute; background: #fff; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.3);
  z-index: 55; min-width: 180px; padding: 5px;
}
.menu button { display: block; width: 100%; text-align: left; border: none; background: none; padding: 8px 10px; border-radius: 6px; }
.menu button:hover { background: #f1f5f9; }
.menu button.danger { color: #b91c1c; }

/* ---- Marke ---- */
.brand-logo {
  background: #fff; border-radius: 6px; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-logo img { width: 20px; height: 25px; }
.login-footer { margin-top: 18px; text-align: center; font-size: 13px; color: #94a3b8; }
.login-footer a { color: #64748b; text-decoration: none; }
.login-footer a:hover { color: #e6500f; }

/* ---- Projekt-Board-Navigation ---- */
.board-body { flex: 1; display: flex; min-height: 0; }
.board-body .lanes { flex: 1; }
.board-sidebar {
  width: 216px; flex-shrink: 0; padding: 8px 10px 14px 14px;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.sidebar-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  color: rgba(255,255,255,.75); padding: 4px 8px 6px;
}
.sidebar-item {
  border: none; text-align: left; border-radius: 7px; padding: 8px 10px;
  background: rgba(255,255,255,.14); color: #fff; font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar-item:hover { background: rgba(255,255,255,.28); }
.sidebar-item.active { background: #fff; color: #1f2937; }
.sidebar-item.add { background: none; color: rgba(255,255,255,.8); font-weight: 400; }
.sidebar-item.add:hover { background: rgba(255,255,255,.18); color: #fff; }
.sidebar-spacer { flex: 1; min-height: 12px; }
.projects-tile { background: linear-gradient(135deg, #475569, #1e293b) !important; }

/* ---- Kunden-Struktur (Startseite) ---- */
.home-actions { margin-bottom: 20px; }
.customer-section { margin-bottom: 30px; }
.customer-head {
  display: flex; align-items: center; gap: 10px;
  margin: 22px 0 12px; font-size: 17px; color: #334155;
}
.archive-head { margin-top: 34px; }
.tile-foot { display: flex; align-items: center; gap: 8px; }
.tile-badge {
  background: rgba(255,255,255,.25); border-radius: 5px; padding: 2px 8px;
  font-size: 11px; font-weight: 700;
}
.tickets-tile { outline: 2px solid rgba(255,255,255,.5); outline-offset: -4px; }

/* ---- Ticket-Listen (Übersicht) ---- */
.ticket-list {
  background: #fff; border-radius: 10px; padding: 6px 10px; margin-top: 10px;
  max-width: 700px; box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.ticket-list-head { font-size: 12px; font-weight: 700; color: #64748b; padding: 6px 4px 2px; text-transform: uppercase; }
.ticket-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 6px;
  border-bottom: 1px solid #f1f5f9; cursor: pointer; border-radius: 6px;
}
.ticket-row:last-child { border-bottom: none; }
.ticket-row:hover { background: #f8fafc; }
.ticket-no-cell { color: #94a3b8; font-family: ui-monospace, Consolas, monospace; font-size: 12px; min-width: 34px; }
.ticket-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-pill { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.status-pill.open { background: #ffedd5; color: #c2410c; }
.status-pill.work { background: #dbeafe; color: #1d4ed8; }
.status-pill.done { background: #dcfce7; color: #15803d; }

/* ---- Sonstiges ---- */
.private-toggle { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 13px; color: #475569; cursor: pointer; }
.pop-group { font-size: 11px; font-weight: 700; color: #94a3b8; text-transform: uppercase; margin: 10px 0 3px; }
.popover.wide { width: 320px; max-height: 60vh; overflow-y: auto; }
.swatch.emoji { background: #f1f5f9; font-size: 16px; line-height: 1; }
.emoji-row { margin-top: 6px; }

/* ---- Mobil ---- */
@media (max-width: 700px) {
  .topbar { padding: 8px 10px; gap: 7px; }
  .topbar .brand { font-size: 15px; }
  .search-wrap input { width: 110px; }
  .search-wrap input:focus { width: 160px; }
  .search-results { width: calc(100vw - 20px); right: -60px; }
  .home { padding: 14px; }
  .board-tile { width: calc(50% - 7px); min-width: 150px; height: 88px; }
  .board-head { flex-wrap: wrap; padding: 8px 10px; }
  .board-head h1 { font-size: 15px; }
  .lanes {
    padding: 4px 10px 12px; gap: 10px;
    scroll-snap-type: x proximity;
  }
  .lane, .add-lane { width: 82vw; scroll-snap-align: start; }
  .board-body { flex-direction: column; }
  .board-sidebar {
    width: 100%; flex-direction: row; overflow-x: auto; overflow-y: hidden;
    padding: 4px 10px 8px; gap: 6px; align-items: center;
  }
  .sidebar-title { display: none; }
  .sidebar-item { flex-shrink: 0; }
  .sidebar-spacer { display: none; }
  .overlay { padding: 0; align-items: stretch; }
  .modal { border-radius: 0; max-width: 100%; padding: 16px 14px 24px; min-height: 100%; }
  .meta-grid { gap: 14px; }
  .card-title-input { font-size: 17px; }
  .activity-panel { width: 100%; }
  .popover { max-width: calc(100vw - 16px); }
  .modal table.data { display: block; overflow-x: auto; white-space: nowrap; }
  .form-grid { grid-template-columns: 1fr; }
  .ticket-list { max-width: none; }
  .btn, .topbar-btn, .board-head-btn { padding: 8px 12px; }
}
