@font-face {
  font-family: Poppins;
  src: url("/fonts/poppins-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/fonts/poppins-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/fonts/poppins-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Poppins;
  src: url("/fonts/poppins-bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
:root {
  --ink: #243b32;
  --muted: #728078;
  --green: #214e3e;
  --green-hover: #163c2e;
  --line: #e0e6df;
  --paper: #f8f9f6;
  --surface: #fff;
  --radius: 12px;
  --shadow: 0 2px 3px #213b2c04, 0 8px 24px #213b2c04;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Poppins, Arial, sans-serif;
  font-size: 13px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
input,
textarea,
select,
a {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
.ticket:focus-visible {
  outline: 3px solid #719c80;
  outline-offset: 3px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #769a80;
  outline-offset: 1px;
}
[hidden] {
  display: none !important;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  transition:
    background 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
button:active:not(:disabled) {
  transform: translateY(1px);
}
.app-header {
  height: 76px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: var(--green);
  border-radius: 10px;
  color: white;
  font-size: 25px;
  letter-spacing: -2px;
  padding: 0 2px 3px 0;
}
.brand-dot,
h1 > span {
  color: #7b9e75;
}
.workspace-name {
  border-left: 1px solid var(--line);
  padding-left: 28px;
  font-size: 11px;
  color: #647369;
}
.workspace-name > span {
  margin: 0 9px;
  color: #c6cec7;
}
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.private {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
i {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #79a585;
  border-radius: 50%;
  flex-shrink: 0;
}
main {
  max-width: 1760px;
  margin: auto;
  padding: 36px 40px 24px;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: #71816e;
  margin: 0 0 7px;
}
h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1.4px;
  margin: 0 0 7px;
  line-height: 1.3;
}
.muted {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  font-size: 12px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  background: var(--green);
  color: #fff;
  border-radius: 9px;
  padding: 12px 18px;
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
  min-height: 44px;
  box-shadow: 0 2px 3px #183d1910;
}
.primary:hover {
  background: var(--green-hover);
  box-shadow: 0 3px 8px #183d1920;
}
.primary > span {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.quiet {
  padding: 10px 12px;
  background: transparent;
  border: 1px solid transparent;
  color: #657269;
  border-radius: 8px;
  font-size: 11px;
  min-height: 40px;
}
.quiet:hover {
  background: #eaf0e8;
  color: var(--green);
}
#next-shoot {
  margin-bottom: 30px;
}
.column.next {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  column-gap: 25px;
  min-height: 0;
  padding: 22px;
  background: #edf2e9;
  border: 1px solid #dce6d5;
  border-radius: 14px;
  position: relative;
}
.shoot-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  border-right: 1px solid #d7e1d1;
  padding-right: 22px;
}
.shoot-eyebrow {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #718365;
  margin: 0 0 9px;
}
.next .column-header {
  width: 100%;
  gap: 8px;
  padding: 0;
}
.next .column-header h2 {
  font-size: 17px;
  letter-spacing: -0.5px;
  line-height: 1.4;
}
.next .column-description {
  font-size: 10px;
  margin: 7px 0 13px;
  color: #718169;
}
.next .dot {
  display: none;
}
.next .count {
  background: #dce8d4;
  color: #49673d;
  font-size: 10px;
  white-space: nowrap;
}
.shoot-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0 0 12px;
}
.shoot-details > div {
  display: grid;
  grid-template-columns: 17px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
}
.shoot-details dt {
  color: #75876a;
  font-size: 13px;
  line-height: 1.5;
}
.shoot-details svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shoot-details dd {
  margin: 0;
  font-size: 11px;
  color: #4e6344;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.shoot-details dd.unset {
  color: #7c8b73;
}
.shoot-edit {
  padding: 0;
  min-height: 28px;
  font-size: 10px;
  font-weight: 500;
  color: #3e6536;
  margin-top: auto;
  text-align: left;
}
.shoot-edit:hover {
  background: transparent;
  text-decoration: underline;
}
.next .tickets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-height: 0;
  align-items: stretch;
}
.next .ticket {
  margin: 0;
  min-height: 175px;
}
.shoot-slot {
  background: #f5f8f140;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  min-height: 175px;
  border: 1px dashed #c6d5bd;
  border-radius: 10px;
  color: #7d8c72;
  font-size: 10px;
}
.shoot-slot:hover {
  background: #f6f9f1;
  border-color: #84a076;
  color: #47683c;
}
.slot-plus {
  font-size: 25px;
  line-height: 1.2;
  font-weight: 400;
  color: #99ab8b;
}
.next .filter-empty {
  grid-column: 1/-1;
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 160px;
  color: #74836a;
  font-size: 12px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 0 15px;
  gap: 16px;
}
.board-label {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
}
.board-symbol {
  font-size: 22px;
  line-height: 1;
  color: #71846e;
}
.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  min-width: 23px;
  height: 23px;
  padding: 0 7px;
  border-radius: 6px;
  background: #e8ede5;
  color: #65745e;
}
.board-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 11px;
  color: var(--muted);
  width: 310px;
  margin: 0;
  font-weight: 400;
}
.search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #89968b;
  stroke-width: 1.7;
  flex-shrink: 0;
}
.search input {
  border: 0;
  background: transparent;
  padding: 11px 0;
  width: 100%;
  font-size: 10px;
  min-height: 40px;
}
.search:focus-within {
  outline: 2px solid #769a80;
  outline-offset: 1px;
}
.search input:focus {
  outline: none;
}
#location-filter {
  width: auto;
  min-width: 142px;
  font-size: 10px;
  padding: 10px 30px 10px 12px;
  min-height: 40px;
}
#clear-filters {
  font-size: 10px;
  white-space: nowrap;
}
.board-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 18px;
  font-size: 10px;
  color: #7b897d;
  min-height: 47px;
}
.board-caption p {
  margin: 0;
}
.sync {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 2px 0 2px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7d8b7c;
  font-size: 9px;
  white-space: nowrap;
  min-height: 24px;
}
.sync:hover {
  color: var(--green);
}
.refresh-icon {
  font-size: 15px;
  margin-left: 2px;
}
.sync[data-state="error"] {
  color: #a26043;
}
.sync[data-state="error"] i {
  background: #bb8059;
}
.sync[data-state="saving"] i {
  background: #c0a35c;
}
.sync[data-state="saving"] .refresh-icon {
  animation: spin 1s linear infinite;
}
#results {
  font-size: 10px;
  color: #546c4b;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.column {
  background: #f0f2ed;
  border: 1px solid #e7ebe3;
  border-radius: var(--radius);
  padding: 16px 11px 11px;
  min-width: 0;
  min-height: 340px;
  transition:
    background 0.16s,
    box-shadow 0.16s;
}
.column[data-column="pool"] {
  background: #f0f1ed;
}
.column[data-column="technical"] {
  background: #edf1f3;
  border-color: #e3e9eb;
}
.column[data-column="later"] {
  background: #f3f0e9;
  border-color: #eae5dc;
}
.column-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 3px;
}
.column-header h2 {
  font-size: 12px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  min-width: 0;
}
.column-header .count {
  background: #ffffffb0;
}
.column-add {
  margin-left: 3px;
  min-height: 26px;
  width: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #84907e;
  font-size: 20px;
  border-radius: 5px;
  line-height: 1;
}
.column-add:hover {
  background: #ffffffb0;
  color: var(--green);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #929c82;
  flex-shrink: 0;
}
.social .dot {
  background: #77956e;
}
.technical .dot {
  background: #7f9ba9;
}
.later .dot {
  background: #b69d72;
}
.column-description {
  font-size: 9px;
  color: #86907f;
  margin: 7px 3px 16px;
  line-height: 1.6;
}
.tickets {
  min-height: 222px;
}
.ticket {
  background: #fff;
  border: 1px solid #e0e6dc;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: visible;
  position: relative;
  cursor: grab;
  user-select: none;
  transition:
    transform 0.16s,
    box-shadow 0.16s,
    border-color 0.16s,
    opacity 0.16s;
}
.ticket:hover {
  border-color: #a4b69a;
  box-shadow: 0 4px 12px #213b2c0c;
  transform: translateY(-2px);
}
.ticket:active {
  cursor: grabbing;
}
.ticket:focus-visible {
  z-index: 1;
}
.ticket-body {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 15px;
  flex: 1;
  min-width: 0;
}
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 20px;
}
.ticket-more {
  color: #a0aa9a;
  letter-spacing: 1px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  margin-left: auto;
}
.ticket:hover .ticket-more {
  color: #546d4a;
}
.ticket h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.65;
  color: #304329;
  overflow-wrap: anywhere;
}
.ticket-note {
  font-size: 10px;
  line-height: 1.8;
  color: #83907b;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 0;
  overflow-wrap: anywhere;
}
.ticket-meta {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf0e9;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #7a8773;
  min-width: 0;
}
.ticket-author {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.avatar {
  background: #eef1e8;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #718564;
  font-size: 8px;
  font-weight: 500;
  flex-shrink: 0;
}
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 8px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eef3e8;
  color: #698154;
  white-space: nowrap;
}
.location-badge.unset {
  background: #f1f2ee;
  color: #89917f;
}
.ticket[data-location="onsite"] .location-badge {
  background: #ebf2f8;
  color: #7090a8;
}
.ticket[data-location="onsite"] h3 {
  color: #354956;
}
.ticket[data-location="onsite"] .avatar {
  background: #eef3f7;
  color: #7a94a7;
}
.ticket[data-location="office"] {
  border-top: 2px solid #b8cda5;
}
.ticket[data-location="onsite"] {
  border-top: 2px solid #b4cad9;
}
.add-column {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  text-align: left;
  border: 1px dashed transparent;
  border-radius: 7px;
  background: transparent;
  padding: 10px 5px;
  color: #85927b;
  font-size: 10px;
  min-height: 38px;
}
.add-column span {
  font-size: 17px;
  line-height: 1;
}
.add-column:hover {
  background: #ffffff90;
  border-color: #d3ddc9;
  color: var(--green);
}
.empty {
  text-align: center;
  color: #929b87;
  font-size: 10px;
  line-height: 1.8;
  padding: 45px 8px 25px;
  min-height: 170px;
}
.empty span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px dashed #ccd5c3;
  border-radius: 10px;
  font-size: 19px;
  color: #a5b096;
  margin: 0 auto 14px;
}
.empty strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #7c8972;
  margin-bottom: 4px;
}
.column.over {
  outline: 2px solid #85a273;
  outline-offset: -2px;
  background: #e5eddf;
  box-shadow: 0 0 0 4px #8aab6c0c;
}
.column.drop-invalid {
  outline: 2px solid #c38a6e;
  outline-offset: -2px;
  background: #f2e8df;
}
.ticket.dragging {
  opacity: 0.28;
  transform: scale(0.98);
  box-shadow: none;
}
.ticket.drop-before::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: #739660;
  border-radius: 3px;
}
.next .ticket.drop-before::before {
  top: 0;
  bottom: 0;
  left: -8px;
  right: auto;
  width: 3px;
  height: auto;
}
body.is-dragging,
body.is-dragging * {
  cursor: grabbing !important;
}
.is-dragging .shoot-slot {
  border-color: #91ab7e;
  background: #f6f9f2;
}
.is-dragging .column-description {
  color: #6a7d5d;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 9px;
  line-height: 1.8;
  color: #95a08c;
  padding-top: 20px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  width: min(560px, calc(100vw - 28px));
  max-height: calc(100dvh - 40px);
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 80px #1d332729;
  overscroll-behavior: contain;
}
dialog[open] {
  animation: dialog-in 0.18s ease-out;
}
dialog::backdrop {
  background: #142b244a;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 25px;
  letter-spacing: -1px;
  font-weight: 600;
  margin: 12px 0 8px;
}
.dialog-description {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 24px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dialog-top .eyebrow {
  margin: 0;
}
.icon-button {
  display: grid;
  place-items: center;
  background: #f3f5ef;
  border: 0;
  border-radius: 50%;
  color: #86917d;
  font-size: 23px;
  width: 30px;
  height: 30px;
  padding: 0;
}
.icon-button:hover {
  background: #e8ede2;
  color: var(--ink);
}
label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  margin-bottom: 7px;
}
label > span {
  color: #8b9b80;
}
.optional {
  font-weight: 400;
  font-size: 9px;
  margin-left: 4px;
}
input,
textarea,
select {
  width: 100%;
  border: 1px solid #dfe5da;
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font-size: 12px;
  min-height: 42px;
}
input::placeholder,
textarea::placeholder {
  color: #a0a897;
  font-size: 11px;
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.8;
}
dialog input,
dialog textarea,
dialog select {
  margin-bottom: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid > div {
  min-width: 0;
}
.dialog-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
  position: sticky;
  bottom: -28px;
  background: white;
  padding-bottom: 4px;
}
.danger {
  background: transparent;
  border: 0;
  color: #ac7766;
  font-size: 10px;
  padding: 10px 0;
  min-height: 40px;
}
.danger:hover {
  color: #8f4433;
}
.destructive {
  background: #a85b47;
}
.destructive:hover {
  background: #8d4836;
}
.spacer {
  flex: 1;
}
.order-buttons {
  display: flex;
  gap: 6px;
  margin-top: -8px;
}
.order-buttons .quiet {
  font-size: 10px;
  padding: 5px 10px;
  min-height: 30px;
  border: 1px solid #e5eadd;
}
.error {
  color: #a04c37;
  font-size: 11px;
  line-height: 1.7;
}
.error:empty {
  display: none;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 20px;
  background: #274a38;
  color: #fff;
  box-shadow: 0 6px 24px #233d2926;
  border: 1px solid #426247;
  border-radius: 10px;
  z-index: 10;
  max-width: calc(100vw - 30px);
  font-size: 11px;
  line-height: 1.7;
  animation: toast-in 0.18s ease-out;
}
.login {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--paper);
}
.login-card {
  width: 100%;
  max-width: 440px;
  background: white;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 50px #213b2c05;
}
.login-card .brand {
  margin-bottom: 38px;
}
.login-card .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  margin-bottom: 14px;
}
.login-card h1 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}
.login-card .muted {
  font-size: 11px;
  margin-bottom: 26px;
}
.login-card .primary {
  width: 100%;
  margin-top: 15px;
  justify-content: space-between;
}
.login-foot {
  font-size: 9px;
  color: #9aa38f;
  text-align: center;
  margin: 25px 0 0;
}
.ticket h3 {
  font-size: 13px;
}
.ticket-note {
  font-size: 11px;
  color: #6f7c67;
}
.ticket-meta {
  font-size: 10px;
  color: #6e7c66;
}
.location-badge {
  font-size: 9px;
}
.column-description {
  font-size: 10px;
  color: #75806d;
}
.board-caption {
  font-size: 11px;
  color: #74816b;
}
.sync {
  font-size: 10px;
}
.shoot-details dd {
  font-size: 12px;
}
.shoot-edit {
  font-size: 11px;
}
.next .column-description {
  font-size: 11px;
}
.count {
  font-size: 11px;
}
.next .count {
  font-size: 10px;
}
.column-header h2 {
  font-size: 13px;
}
.search input {
  font-size: 11px;
}
#location-filter {
  font-size: 11px;
}
footer {
  font-size: 10px;
  color: #7a8573;
}
@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    bottom: 17px;
  }
  to {
    opacity: 1;
    bottom: 24px;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1550px) {
  main {
    padding-top: 44px;
  }
  .column:not(.next) {
    min-height: 400px;
  }
  .tickets {
    min-height: 280px;
  }
  .column.next {
    grid-template-columns: 290px minmax(0, 1fr);
  }
  .next .ticket,
  .shoot-slot {
    min-height: 190px;
  }
  .ticket h3 {
    font-size: 13px;
  }
  .ticket-note {
    font-size: 11px;
  }
  .column-header h2 {
    font-size: 13px;
  }
}
@media (max-width: 1200px) {
  .app-header {
    padding: 0 26px;
  }
  .workspace-name {
    font-size: 10px;
  }
  .private {
    display: none;
  }
  main {
    padding: 28px 26px 24px;
  }
  .column.next {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
  }
  .next .tickets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .next .ticket,
  .shoot-slot {
    min-height: 142px;
  }
  .next .ticket-body {
    gap: 8px;
  }
  .board {
    gap: 12px;
  }
  .column:not(.next) {
    padding: 14px 9px 9px;
  }
  .column-header h2 {
    font-size: 11px;
  }
  .column-header {
    gap: 5px;
  }
  .column-add {
    margin: 0;
    width: 22px;
  }
  .ticket-body {
    padding: 12px;
  }
  .board-caption {
    font-size: 9px;
  }
  .search {
    width: 280px;
  }
}
@media (max-width: 960px) {
  .board {
    grid-template-columns: repeat(4, minmax(250px, 1fr));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 3px 3px 16px;
    margin: 0 -3px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #bcc9b3 transparent;
  }
  .board > .column {
    scroll-snap-align: start;
  }
  .column-header h2 {
    font-size: 12px;
  }
  .ticket h3 {
    font-size: 13px;
  }
  .workspace-name {
    border: 0;
    padding: 0;
  }
  .workspace-name > span {
    margin: 0 5px;
  }
  .intro {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 29px;
  }
  .board-tools {
    gap: 6px;
  }
  .search {
    width: 240px;
  }
  #location-filter {
    min-width: 132px;
  }
  .column.next {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .board-caption p {
    max-width: 60%;
    line-height: 1.7;
  }
  footer {
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 13px;
  }
}
@media (max-width: 650px) {
  .app-header {
    height: 66px;
    padding: 0 18px;
    gap: 10px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-icon {
    width: 31px;
    height: 31px;
    font-size: 22px;
    border-radius: 9px;
  }
  .workspace-name {
    display: none;
  }
  .header-right {
    gap: 0;
  }
  .header-right .quiet {
    font-size: 10px;
    padding: 10px 0 10px 10px;
  }
  main {
    padding: 26px 18px 24px;
  }
  .intro {
    gap: 12px;
    align-items: center;
    margin-bottom: 23px;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  h1 {
    font-size: 26px;
    letter-spacing: -1.1px;
  }
  .intro .muted {
    font-size: 10px;
    max-width: 220px;
    line-height: 1.7;
  }
  .intro .primary {
    padding: 10px 12px;
    font-size: 10px;
    gap: 5px;
    min-height: 42px;
  }
  .intro .primary > span {
    font-size: 18px;
  }
  .column.next {
    display: block;
    padding: 17px;
    border-radius: 12px;
  }
  .shoot-info {
    border-right: 0;
    padding-right: 0;
  }
  .shoot-eyebrow {
    font-size: 8px;
  }
  .next .column-header h2 {
    font-size: 18px;
  }
  .next .column-description {
    margin-bottom: 13px;
  }
  .shoot-details {
    gap: 7px;
    margin-bottom: 10px;
  }
  .shoot-details dd {
    font-size: 10px;
  }
  .shoot-edit {
    min-height: 34px;
    font-size: 10px;
    margin-bottom: 14px;
  }
  .next .tickets {
    gap: 10px;
  }
  .next .ticket,
  .shoot-slot {
    min-height: 150px;
  }
  .next .ticket h3 {
    font-size: 11px;
  }
  .next .ticket-note {
    font-size: 9px;
  }
  .next .ticket-body {
    padding: 12px;
    gap: 9px;
  }
  .next .ticket-meta {
    font-size: 8px;
  }
  .next .location-badge {
    font-size: 7px;
    padding: 3px 5px;
  }
  .next .ticket-more {
    font-size: 12px;
  }
  .next .avatar {
    width: 21px;
    height: 21px;
    font-size: 7px;
  }
  #next-shoot {
    margin-bottom: 24px;
  }
  .toolbar {
    display: block;
    padding-bottom: 13px;
  }
  .board-label {
    margin-bottom: 13px;
    font-size: 12px;
  }
  .board-tools {
    flex-wrap: wrap;
    gap: 8px;
  }
  .search {
    width: 100%;
    flex-basis: 100%;
  }
  .search input {
    font-size: 11px;
  }
  #location-filter {
    flex: 1;
    font-size: 11px;
  }
  .board-caption {
    align-items: flex-start;
    padding: 11px 0 14px;
    gap: 6px;
    flex-wrap: wrap;
  }
  .board-caption p {
    max-width: 100%;
    width: 100%;
    font-size: 9px;
  }
  .sync {
    margin-left: 0;
    padding-left: 0;
    font-size: 8px;
  }
  #results {
    margin-right: auto;
    font-size: 9px;
  }
  .board {
    grid-template-columns: repeat(4, minmax(260px, 82vw));
    gap: 12px;
    scroll-snap-type: x mandatory;
  }
  .column:not(.next) {
    min-height: 330px;
    padding: 16px 12px 10px;
  }
  .tickets {
    min-height: 220px;
  }
  .column-header h2 {
    font-size: 13px;
  }
  .ticket-body {
    padding: 15px;
  }
  .ticket-note {
    font-size: 11px;
  }
  .ticket-meta {
    font-size: 10px;
  }
  .location-badge {
    font-size: 9px;
  }
  .column-description {
    font-size: 10px;
    margin-bottom: 18px;
  }
  .add-column {
    font-size: 11px;
  }
  .empty {
    font-size: 11px;
  }
  footer {
    font-size: 8px;
  }
  dialog {
    padding: 22px;
    max-height: calc(100dvh - 28px);
  }
  dialog h2 {
    font-size: 23px;
  }
  .dialog-actions {
    bottom: -22px;
    gap: 5px;
    flex-wrap: wrap;
  }
  .dialog-actions .primary {
    padding: 11px 14px;
    font-size: 11px;
  }
  .dialog-actions .quiet {
    padding: 10px;
    font-size: 10px;
  }
  .dialog-actions .danger {
    font-size: 9px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .search input,
  #location-filter {
    font-size: 16px;
  }
  .search input::placeholder {
    font-size: 11px;
  }
  .form-grid {
    gap: 12px;
  }
  .login {
    padding: 20px;
  }
  .login-card {
    padding: 29px;
  }
  .login-card h1 {
    font-size: 31px;
  }
  .login-card .brand {
    margin-bottom: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.shoot-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  width: 100%;
}
.shoot-toggle,
.mobile-hint {
  display: none;
}
@media (max-width: 650px) {
  .shoot-toggle {
    display: inline-flex;
    align-items: center;
    padding: 0;
    min-height: 40px;
    font-size: 10px;
    color: #4d6c40;
    margin-left: auto;
  }
  .shoot-actions {
    margin: 0;
  }
  .shoot-actions .shoot-edit {
    margin: 0;
    min-height: 40px;
  }
  .next[data-collapsed="true"] .tickets {
    display: none;
  }
  .next[data-collapsed="false"] .tickets {
    margin-top: 14px;
  }
  .desktop-hint {
    display: none;
  }
  .mobile-hint {
    display: inline;
  }
  .next .column-description {
    font-size: 10px;
  }
  .next .ticket h3 {
    font-size: 12px;
  }
  .next .ticket-note {
    font-size: 10px;
  }
  .next .ticket-meta {
    font-size: 9px;
  }
  .next .location-badge {
    font-size: 8px;
  }
  .column-add {
    width: 36px;
    min-height: 36px;
  }
  .shoot-slot {
    min-height: 125px;
  }
  .shoot-toggle:focus-visible {
    outline-offset: 2px;
  }
}
