:root {
  --ink: #15130f;
  --coal: #24241f;
  --steel: #3a403b;
  --muted: #6d6658;
  --paper: #fff6dc;
  --panel: rgba(255, 246, 220, 0.78);
  --panel-strong: rgba(255, 250, 235, 0.72);
  --yellow: #ffca05;
  --amber: #efa50a;
  --rust: #a94f25;
  --green: #3f6138;
  --blue: #365c70;
  --line: rgba(21, 19, 15, 0.15);
  --shadow: 0 24px 70px rgba(21, 19, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 202, 5, 0.36), transparent 26rem),
    radial-gradient(circle at 90% 12%, rgba(169, 79, 37, 0.16), transparent 24rem),
    linear-gradient(135deg, #fcf0ca 0%, #ead6a6 58%, #c7b891 100%);
  font-family: "Manrope", sans-serif;
}

body.dark {
  --ink: #f7f4ed;
  --coal: #ffffff;
  --steel: #e6e8ec;
  --muted: #c8cbd2;
  --paper: #090807;
  --panel: rgba(18, 16, 15, 0.86);
  --panel-strong: rgba(24, 21, 20, 0.9);
  --yellow: #e43d30;
  --amber: #ff5a48;
  --rust: #d83127;
  --green: #527f58;
  --blue: #8a2d28;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  background:
    radial-gradient(circle at 10% 8%, rgba(228, 61, 48, 0.34), transparent 24rem),
    radial-gradient(circle at 85% 10%, rgba(120, 16, 12, 0.4), transparent 26rem),
    linear-gradient(135deg, #020202 0%, #0d0b0a 58%, #17110f 100%);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.texture {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(21, 19, 15, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 19, 15, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 86%);
}

body.dark .texture {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

.app-header,
.app-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.app-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 246, 220, 0.88);
  box-shadow: 0 16px 44px rgba(21, 19, 15, 0.1);
  backdrop-filter: blur(18px);
}

body.dark .app-header {
  background: rgba(14, 12, 11, 0.88);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
}

.brand,
.brand > span:last-child,
.app-header nav,
.user-menu,
.quick-stats,
.form-actions,
.filter-row,
.detail-actions,
.detail-meta,
.photo-gallery,
.job-title-line {
  display: flex;
}

.brand {
  align-items: center;
  min-width: 230px;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--yellow);
  background: var(--ink);
  border-radius: 14px 14px 5px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

body.dark .brand-mark {
  color: #fff;
  background: var(--rust);
}

.brand > span:last-child {
  flex-direction: column;
  line-height: 1.1;
}

.brand strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.app-header nav {
  justify-content: center;
  flex: 1;
  gap: 8px;
}

.app-header nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.app-header nav a:hover {
  color: var(--ink);
  background: rgba(21, 19, 15, 0.08);
}

.user-menu {
  align-items: center;
  gap: 10px;
}

.user-menu span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
}

.theme-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.theme-toggle button {
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 900;
}

.theme-toggle button.active {
  color: var(--ink);
  background: var(--yellow);
}

body.dark .theme-toggle {
  background: rgba(255, 255, 255, 0.06);
}

body.dark .theme-toggle button.active {
  color: #fff;
  background: var(--rust);
}

body.dark .brand small,
body.dark .app-header nav a,
body.dark .user-menu span,
body.dark p,
body.dark .panel-heading p,
body.dark .form-section-title p,
body.dark .job-type-switch label small,
body.dark .visibility-switch label small,
body.dark .file-drop small,
body.dark .photo-drop small,
body.dark .job-card small,
body.dark .crew-actions p,
body.dark .crew-members small,
body.dark .crew-role {
  color: #c8cbd2;
}

body.dark h1,
body.dark h2,
body.dark h3,
body.dark label,
body.dark .form-section-title span,
body.dark .job-list-section h3,
body.dark .job-card strong,
body.dark .quick-stats span,
body.dark .quick-stats strong,
body.dark .note-block strong,
body.dark .crew-members > strong,
body.dark .crew-actions strong {
  color: #ffffff;
}

body.dark .eyebrow,
body.dark .diagnostic-item a {
  color: #ff6b5f;
}

body.dark .detail-meta span,
body.dark .note-block p,
body.dark .job-card p {
  color: #e6e8ec;
}

body.dark .job-type-switch label,
body.dark .visibility-switch label {
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(10, 9, 8, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  color: #ffffff;
}

body.dark .job-type-switch label:has(input:checked),
body.dark .visibility-switch label:has(input:checked) {
  border-color: rgba(255, 59, 48, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 59, 48, 0.28), rgba(255, 255, 255, 0.06)),
    rgba(24, 10, 9, 0.96);
  box-shadow: 0 16px 34px rgba(255, 59, 48, 0.16);
}

body.dark .job-type-switch input,
body.dark .visibility-switch input {
  accent-color: var(--rust);
}

.compact-button {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.84rem;
}

.app-shell {
  flex: 1 0 auto;
  padding: 64px 0;
}

.auth-panel {
  margin-bottom: 24px;
  padding: clamp(20px, 3.5vw, 34px);
}

.auth-form .form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.auth-message {
  margin: 14px 0 0;
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
  margin-bottom: 30px;
  padding: 14px 0 6px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

h1 {
  max-width: 880px;
  font-size: clamp(3.4rem, 7.2vw, 6.9rem);
}

h2 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}

h3 {
  font-size: 2rem;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-copy {
  max-width: 760px;
  font-size: 1.08rem;
  margin-bottom: 0;
}

.quick-stats {
  gap: 12px;
}

.quick-stats div {
  flex: 1;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 246, 220, 0.68);
  box-shadow: 0 16px 40px rgba(21, 19, 15, 0.08);
}

body.dark .quick-stats div,
body.dark .form-section,
body.dark .job-card,
body.dark .crew-board-tools,
body.dark .note-block,
body.dark .diagnostic-item,
body.dark .crew-actions,
body.dark .crew-members li,
body.dark .detail-meta span {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    rgba(18, 16, 15, 0.82);
}

.quick-stats span {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 0.85;
}

.quick-stats strong {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: 22px;
  align-items: start;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.dark .panel {
  background: var(--panel);
}

.job-form,
.job-board,
.detail-panel {
  padding: clamp(20px, 3.5vw, 34px);
}

.job-form {
  display: grid;
  gap: 16px;
}

.panel-heading {
  margin-bottom: 26px;
}

.panel-heading.compact {
  margin-bottom: 18px;
}

.panel-heading p {
  max-width: 700px;
}

.job-form > .panel-heading {
  margin-bottom: 6px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

label {
  display: grid;
  gap: 8px;
  color: var(--coal);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.job-type-switch,
.visibility-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.job-type-switch label,
.visibility-switch label {
  align-items: center;
  display: flex;
  gap: 12px;
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 12px 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(255, 255, 255, 0.18)),
    rgba(255, 255, 255, 0.34);
  box-shadow: 0 10px 26px rgba(21, 19, 15, 0.06);
}

.job-type-switch label:has(input:checked),
.visibility-switch label:has(input:checked) {
  border-color: rgba(21, 19, 15, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 202, 5, 0.34), rgba(255, 255, 255, 0.26)),
    rgba(255, 255, 255, 0.42);
}

.job-type-switch label span,
.visibility-switch label span {
  display: grid;
  gap: 3px;
}

.job-type-switch label strong,
.visibility-switch label strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.job-type-switch label small,
.visibility-switch label small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.job-type-switch input,
.visibility-switch input {
  width: auto;
  min-height: auto;
}

.visibility-message {
  margin: -4px 0 0;
  font-weight: 800;
}

.form-section {
  padding: clamp(16px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.16)),
    var(--panel-strong);
  box-shadow: 0 16px 38px rgba(21, 19, 15, 0.08);
}

.actions-section {
  background:
    linear-gradient(135deg, rgba(255, 202, 5, 0.18), rgba(255, 255, 255, 0.18)),
    var(--panel-strong);
}

.form-section-title {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(21, 19, 15, 0.1);
}

.form-section-title span {
  display: block;
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.form-section-title p {
  margin: 4px 0 0;
  font-size: 0.88rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(21, 19, 15, 0.18);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  outline: none;
}

body.dark input,
body.dark select,
body.dark textarea {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
}

body.dark input::placeholder,
body.dark textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

input,
select {
  min-height: 50px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(255, 202, 5, 0.2);
}

.photo-drop {
  margin-top: 0;
  padding: 26px;
  border: 2px dashed rgba(21, 19, 15, 0.24);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.28);
  text-align: center;
}

body.dark .photo-drop,
body.dark .file-drop {
  background: rgba(255, 255, 255, 0.06);
}

.file-drop,
.photo-drop {
  cursor: pointer;
}

.file-drop {
  min-height: 88px;
  padding: 18px;
  border: 2px dashed rgba(21, 19, 15, 0.24);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.28);
}

.file-drop input,
.photo-drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.file-drop span,
.photo-drop span {
  color: var(--ink);
  font-size: 1.1rem;
}

.file-drop small,
.photo-drop small {
  max-width: 520px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.5;
}

.preview-grid,
.photo-gallery {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.preview-grid {
  display: flex;
}

.preview-grid img,
.photo-gallery img {
  width: 108px;
  height: 108px;
  border: 3px solid rgba(255, 246, 220, 0.9);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(21, 19, 15, 0.14);
}

.photo-gallery img {
  cursor: zoom-in;
}

.photo-tile {
  position: relative;
  margin: 0;
}

.photo-tile figcaption {
  max-width: 108px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.photo-delete {
  position: absolute;
  top: 6px;
  right: 6px;
  border: 0;
  border-radius: 999px;
  padding: 5px 8px;
  color: #fff8df;
  background: rgba(169, 79, 37, 0.92);
  font-size: 0.68rem;
  font-weight: 900;
}

.photo-status {
  margin: 10px 0 0;
  font-weight: 800;
}

.diagnostic-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.diagnostic-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.3);
}

.diagnostic-item a {
  font-weight: 900;
  text-decoration: underline;
}

.diagnostic-item span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.file-status {
  margin: 0;
  font-weight: 800;
}

.photo-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(10, 9, 7, 0.9);
}

.photo-modal img {
  max-width: min(100%, 1180px);
  max-height: 92vh;
  border-radius: 22px;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.form-actions,
.detail-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 900;
}

.button.primary {
  color: var(--ink);
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(239, 165, 10, 0.26);
}

body.dark .button.primary {
  color: #fff;
  background: var(--rust);
  box-shadow: 0 12px 28px rgba(216, 49, 39, 0.28);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.36);
}

body.dark .button.secondary {
  background: rgba(255, 255, 255, 0.08);
}

.button.danger {
  color: #fff8df;
  background: var(--rust);
}

.job-board {
  position: sticky;
  top: 108px;
}

.search-label {
  margin-bottom: 14px;
}

.filter-row {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.8rem;
  font-weight: 900;
}

.filter-button.active {
  color: var(--ink);
  background: var(--yellow);
}

body.dark .filter-button.active {
  color: #fff;
  background: var(--rust);
}

.crew-board-tools {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(54, 92, 112, 0.1), rgba(255, 255, 255, 0.24)),
    rgba(255, 255, 255, 0.28);
}

.crew-board-tools p {
  margin: 0;
  font-weight: 800;
}

.job-list {
  display: grid;
  gap: 16px;
  max-height: 680px;
  overflow: auto;
  padding-right: 4px;
}

.job-list-section {
  display: grid;
  gap: 10px;
}

.job-list-section h3 {
  margin: 8px 0 2px;
  padding-left: 2px;
  color: var(--coal);
  font-size: 1.45rem;
}

.job-card {
  width: 100%;
  border: 1px solid var(--line);
  border-left: 5px solid rgba(21, 19, 15, 0.28);
  border-radius: 20px;
  padding: 15px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.2)),
    rgba(255, 255, 255, 0.34);
  text-align: left;
  box-shadow: 0 10px 26px rgba(21, 19, 15, 0.06);
}

.job-card:hover,
.job-card.active {
  border-color: rgba(21, 19, 15, 0.34);
  border-left-color: var(--yellow);
  background: rgba(255, 202, 5, 0.18);
}

body.dark .job-card:hover,
body.dark .job-card.active {
  background: rgba(216, 49, 39, 0.2);
}

.job-card strong,
.job-card small,
.job-card p {
  display: block;
}

.job-card strong {
  margin-top: 10px;
  font-size: 1.02rem;
  line-height: 1.25;
}

.job-card small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.job-card p {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--steel);
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff8df;
  background: var(--blue);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.status-pill.Open {
  background: var(--blue);
}

.status-pill.Diagnosing {
  background: var(--steel);
}

.status-pill.Waiting {
  color: var(--ink);
  background: var(--yellow);
}

body.dark .status-pill.Waiting {
  color: #fff;
  background: var(--rust);
}

.status-pill.Needs {
  background: var(--rust);
}

.status-pill.Complete {
  background: var(--green);
}

.detail-panel {
  margin-top: 18px;
}

.empty-state {
  max-width: 720px;
}

.hidden {
  display: none;
}

.job-title-line {
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.detail-meta {
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.detail-meta span {
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.36);
  font-size: 0.85rem;
  font-weight: 900;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.note-block {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.3);
}

.note-block.full {
  grid-column: 1 / -1;
}

.note-block strong {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.note-block p {
  margin: 0;
  white-space: pre-wrap;
}

.photo-section {
  margin-top: 24px;
}

.photo-section h3 {
  margin-bottom: 12px;
}

.crew-panel {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.24);
}

.crew-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.28);
}

.crew-actions:first-of-type {
  grid-template-columns: minmax(0, 1fr) auto;
}

.crew-actions p {
  margin: 4px 0 0;
  font-size: 0.84rem;
}

.crew-actions code {
  display: inline-block;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(21, 19, 15, 0.08);
  font-weight: 900;
}

.crew-members {
  margin-top: 14px;
}

.crew-members ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}

.crew-members li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.3);
}

.crew-members li span {
  display: grid;
  gap: 2px;
}

.crew-members small,
.crew-role {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.member-role-control {
  min-width: 160px;
}

.member-role-control select {
  min-height: 42px;
}

.copy-output {
  width: 100%;
  min-height: 220px;
  margin-top: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
}

.empty-list {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: 22px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 980px) {
  .hero,
  .workspace {
    grid-template-columns: 1fr;
  }

  .job-board {
    position: static;
  }
}

@media (max-width: 720px) {
  .app-header {
    align-items: flex-start;
    border-radius: 28px;
    flex-direction: column;
  }

  .app-header nav {
    width: 100%;
    overflow-x: auto;
  }

  .user-menu {
    justify-content: space-between;
    width: 100%;
  }

  .quick-stats,
  .job-type-switch,
  .visibility-switch,
  .form-grid,
  .form-grid.three,
  .auth-form .form-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .form-section {
    border-radius: 22px;
    padding: 16px;
  }

  .quick-stats {
    display: grid;
  }

  .job-title-line {
    flex-direction: column;
  }

  .crew-actions,
  .crew-actions:first-of-type {
    grid-template-columns: 1fr;
  }
}

.app-footer {
  width: 100%;
  margin-top: auto;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.app-footer-link {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.app-footer-link:hover {
  color: var(--ink);
}

@media (max-width: 720px) {
  .app-footer {
    padding: 14px 16px 18px;
  }
}
