/* The established Producer overview: header, workspace links, progress, crew.
   Workspace content and the personal call sheet have separate routes. */
.company-logo {
  display: block;
  width: 257px;
  max-width: 100%;
  height: 42.44px;
  object-fit: contain;
  object-position: left center;
}
.company-logo.lee-logo {
  width: 210px;
}
.brand {
  min-width: 0;
}
.brand small {
  text-transform: uppercase;
  font-family: "Space Grotesk Logo", "Space Grotesk", sans-serif;
  font-weight: 650;
  line-height: 17px;
  letter-spacing: 0.476px;
  font-size: 17px;
  color: var(--ink);
}
.header-controls {
  flex-shrink: 0;
}
.project-workspace-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 24px;
}
.project-workspace-nav .button {
  background: color-mix(in srgb, var(--accent) 4%, transparent);
  color: var(--accent);
  border-color: var(--accent);
  min-height: 50px;
}
.project-workspace-nav .selected {
  color: var(--accent);
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 4%, transparent);
}
.project-overview-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin: 16px 0 20px;
}
.project-overview-facts p {
  font-size: 13px;
  margin: 0;
}
.project-overview-facts p + p {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}
.project-overview-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.project-overview-progress + .project-facts-summary {
  border-top: 0;
}
.project-overview-progress > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.project-overview-progress strong {
  font-size: 13px;
  font-weight: 600;
}
.project-overview-progress span {
  grid-column: 2;
  grid-row: 1/3;
  font-size: 26px;
  color: var(--accent);
}
.project-overview-progress small {
  font-size: 12px;
  color: var(--muted);
}
.project-overview-progress p {
  font-size: 12px;
  margin: 4px 0 10px;
}
.project-overview-progress progress {
  grid-column: 1/-1;
  width: 100%;
  height: 3px;
  accent-color: var(--accent);
  appearance: none;
  border: 0;
  background: var(--line);
  border-radius: 3px;
}
.project-overview-progress progress::-webkit-progress-bar {
  background: var(--line);
  border-radius: 3px;
}
.project-overview-progress progress::-webkit-progress-value {
  background: var(--accent);
  border-radius: 3px;
}
.project-overview-progress progress::-moz-progress-bar {
  background: var(--accent);
  border-radius: 3px;
}
.project-facts-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 18px 0 28px;
}
.project-facts-summary small {
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.project-facts-summary strong {
  display: block;
  font-size: 14px;
  margin-top: 8px;
  font-weight: 500;
}
.project-crew-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}
.project-crew-head,
.project-crew-member > summary {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) 165px 80px 150px 20px;
  gap: 20px;
  align-items: center;
  padding: 22px 24px;
}
.project-crew-head {
  background: var(--surface);
  padding-block: 10px;
  color: var(--muted);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-crew-member {
  border-top: 1px solid var(--line);
}
.project-crew-member > summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  min-height: 88px;
}
.project-crew-member > summary::-webkit-details-marker {
  display: none;
}
.project-crew-member > summary .person {
  min-width: 0;
  overflow-wrap: anywhere;
}
.project-crew-member .member-expanded {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 20px 24px;
}
.member-expanded h3 {
  font: 650 18px/1.3 var(--font-heading);
  margin: 20px 0 12px;
}
.gear-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 14px;
}
.section-heading h2 small {
  margin-left: 10px;
  color: var(--muted);
  font:
    400 16px/1.4 Manrope,
    sans-serif;
}
.schedule-questions {
  margin-top: 10px;
  font-size: 12px;
}
.schedule-questions > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  cursor: pointer;
  list-style: none;
}
.schedule-questions > summary::-webkit-details-marker {
  display: none;
}
.schedule-questions ol {
  padding-left: 18px;
  margin: 10px 0;
}
.schedule-questions li {
  margin: 6px 0;
}
@media (max-width: 1000px) {
  header {
    flex-wrap: wrap;
  }
  .header-controls {
    flex-shrink: 1;
  }
}
@media (max-width: 650px) {
  .company-logo {
    width: 210px;
    height: 35px;
  }
  header {
    gap: 14px;
    min-height: 87px;
    padding: 20px 16px;
  }
  .header-controls {
    width: 100%;
    justify-content: space-between;
  }
  .header-controls select {
    max-width: 170px;
  }
  .project-workspace-nav {
    gap: 8px;
  }
  .project-workspace-nav .button {
    flex: 1;
    padding: 10px 8px;
  }
  .project-overview-facts {
    display: block;
  }
  .project-overview-facts p + p {
    padding: 0;
    border: 0;
    margin-top: 6px;
  }
  .project-facts-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .project-crew-head {
    display: none;
  }
  .project-crew-member:first-of-type {
    border-top: 0;
  }
  .project-crew-member > summary {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    gap: 8px 12px;
    padding: 18px;
  }
  .project-crew-member > summary > .person {
    grid-column: 1/3;
  }
  .project-crew-member > summary > .toggle {
    grid-column: 3;
    grid-row: 1;
  }
  .project-crew-member > summary > .muted {
    font-size: 12px;
  }
  .project-crew-member > summary > .crew-sheet-cell {
    grid-column: 1/3;
  }
  .project-crew-member .member-expanded {
    padding: 18px;
  }
}

/* Company selection and role switching live in the familiar account menu. */
header {
  min-height: 104px;
}
@media (max-width: 650px) {
  header {
    min-height: 87px;
  }
}
.header-controls {
  margin-left: auto;
}
#header {
  align-items: center;
}
#header > .brand {
  min-height: 66px;
}
.company-picker {
  padding: 12px;
}
.menu-panel .segments {
  margin: 6px;
}
.menu-panel .segments button {
  min-width: 0;
}
.menu-panel .company-picker select {
  max-width: 100%;
}
@media (max-width: 650px) {
  header {
    flex-wrap: nowrap;
  }
  .header-controls {
    width: auto;
  }
  .company-logo {
    width: min(210px, 57vw);
  }
}

.schedule-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.schedule-list-head,
.schedule-row > summary {
  display: grid;
  grid-template-columns:
    minmax(0, 2.2fr) minmax(150px, 1.2fr) minmax(100px, 1fr)
    100px 18px;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.schedule-list-head {
  padding-block: 11px;
  background: var(--surface);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.schedule-row {
  border-top: 1px solid var(--line);
}
.schedule-row > summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
}
.schedule-row > summary::-webkit-details-marker {
  display: none;
}
.schedule-row > summary strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.schedule-row > summary small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.schedule-row > summary > span:not(:first-child) {
  color: var(--muted);
}
.schedule-row-body {
  padding: 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 16px;
}
.schedule-row-body p {
  margin: 0;
  font-size: 13px;
}
.schedule-row-body .actions {
  gap: 10px;
}
@media (max-width: 800px) {
  .schedule-list-head {
    display: none;
  }
  .schedule-row > summary {
    grid-template-columns: minmax(0, 1fr) auto 18px;
    gap: 8px 12px;
  }
  .schedule-row > summary > span:first-child {
    grid-column: 1/3;
  }
  .schedule-row > summary > span:nth-child(2),
  .schedule-row > summary > span:nth-child(3) {
    grid-column: 1;
  }
  .schedule-row > summary > span:nth-child(4) {
    grid-column: 2;
    grid-row: 2/4;
  }
  .schedule-row > summary > .toggle {
    grid-column: 3;
    grid-row: 1/4;
  }
  .schedule-row-body {
    padding: 18px;
  }
}

.page-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-title-row h1 {
  min-width: 0;
}
.page-title-row .badge {
  flex: none;
  margin-bottom: 12px;
}
.eyebrow {
  color: var(--accent);
  font: 11px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 6px;
}
.page-heading .eyebrow {
  margin-bottom: 0;
}
.project-overview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.project-overview-toolbar .project-workspace-nav {
  margin: 0;
}
@media (max-width: 650px) {
  .project-overview-toolbar {
    gap: 8px;
  }
  .project-overview-toolbar .project-workspace-nav {
    flex: 1;
  }
  .project-overview-toolbar .button {
    padding: 10px 8px;
  }
  .page-title-row {
    flex-wrap: wrap;
    gap: 0 10px;
  }
}

.project-overview-progress.three-progress {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.call-sheet-dates {
  margin: -10px 0 28px;
  font-size: 15px;
}
.call-location {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.call-location h2 {
  font: 500 17px/1.5 var(--font-body);
  letter-spacing: 0;
  margin: 12px 0;
}
@media (max-width: 650px) {
  .project-overview-progress.three-progress {
    grid-template-columns: 1fr;
  }
}

body[data-surface="crew-call-sheet"] .project-workspace-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
body[data-surface="crew-call-sheet"] .project-workspace-nav .button {
  flex: 0 1 auto;
  min-height: 44px;
  min-width: 0;
  border: 1px solid var(--accent);
  border-radius: 8px;
  text-align: center;
  background: color-mix(in srgb, var(--accent) 5%, var(--bg));
  color: var(--accent);
}
body[data-surface="crew-call-sheet"] .project-workspace-nav .button:hover {
  background: color-mix(in srgb, var(--accent) 12%, var(--bg));
}
@media (max-width: 650px) {
  body[data-surface="crew-call-sheet"] .project-workspace-nav .button {
    flex: 1 1 140px;
  }
}

.call-strip > div + div > strong {
  font: 500 20px/1.3 var(--font-body);
  margin: 8px 0 12px;
}
@media (max-width: 650px) {
  .call-sheet > .button.primary,
  .call-sheet > .form-actions > button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

.ui-icon {
  flex-shrink: 0;
  vertical-align: middle;
}
body[data-surface="producer-overview"] .page-title-row h1 {
  margin: 4px 0 8px;
}
.producer-preview-notice {
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  background: color-mix(in srgb, var(--accent) 3%, transparent);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 0 0 20px;
  font: 400 13px/1.5 var(--font-body);
  color: var(--ink);
}
.call-sheet {
  padding: 0;
  overflow: visible;
}
.call-sheet-grid {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(140px, 0.7fr) minmax(
      0,
      1.6fr
    );
  gap: 24px;
  padding: 14px 20px;
}
.call-sheet-grid .call-strip {
  display: contents;
}
.call-strip > div {
  min-width: 0;
}
.call-strip > div:first-child {
  border-right: 0;
  padding-right: 20px;
}
.call-strip > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.call-sheet-grid .call-location {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.call-location h2 {
  font: 600 14px/1.5 var(--font-body);
  margin: 8px 0;
}
.call-arrival {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.call-arrival p {
  font-size: 13px;
  margin: 0;
  min-width: 0;
}
.call-arrival .button {
  flex-shrink: 0;
}
.call-sheet > .form-actions {
  padding: 14px 24px;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  background: #ffffff02;
}
.call-sheet .day-picker {
  width: calc(100% - 32px);
  min-width: 0;
  margin: 10px 16px 0;
}
.call-time {
  font-size: 38px;
  line-height: 1.15;
  margin: 8px 0 4px;
}
.call-strip > div + div > strong {
  font-size: 18px;
  margin: 8px 0 0;
}
.call-strip .calendar-menu {
  margin-top: 10px;
}
.call-strip .calendar-menu > summary {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr) 12px;
  gap: 6px;
  min-height: 40px;
  padding: 8px;
  text-align: center;
  font: 500 11px/1.3 var(--font-body);
  color: var(--accent);
}
.call-strip .calendar-menu svg {
  width: 15px;
  height: 15px;
}
body[data-surface="crew-call-sheet"] main > .disclosure {
  margin: 16px 0;
}
body[data-surface="crew-call-sheet"] main > .disclosure > summary {
  font: 500 18px/1.3 var(--font-body);
  padding: 16px 20px;
  min-height: 76px;
  gap: 12px;
}
@media (max-width: 650px) {
  .call-sheet-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    padding: 14px 16px;
    gap: 14px;
  }
  .call-strip > div:first-child {
    padding-right: 14px;
    border-right: 0;
  }
  .call-strip > div + div {
    padding-left: 18px;
  }
  .call-sheet-grid .call-location {
    grid-column: 1/-1;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 0;
  }
  .call-arrival {
    display: block;
  }
  .call-arrival p {
    margin: 0 0 8px;
  }
  .call-arrival > .button {
    width: 100%;
    text-align: center;
  }
  .call-sheet > .form-actions > button {
    width: 100%;
  }
  .call-strip .calendar-label > span {
    display: inline;
    white-space: nowrap;
  }
  .call-time {
    font-size: 36px;
  }
  body[data-surface="crew-call-sheet"]
    main
    > .disclosure
    > summary
    .summary-meta {
    font-size: 10px;
    max-width: 100px;
    text-align: right;
  }
}

.call-strip small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 650px) {
  body[data-surface="dashboard"] .page-title-row h1 {
    font-size: 28px;
    line-height: 1.15;
  }
}

body[data-surface="producer-overview"] .page-heading {
  margin-bottom: 16px;
}
body[data-surface="producer-overview"] .page-heading p:not(.eyebrow) {
  font: 400 14px/1.5 var(--font-body);
}

/* Desktop Crew hierarchy: prominent call time, readable role and arrival details. */
@media (min-width: 901px) {
  body[data-surface="crew-call-sheet"] .call-sheet-grid {
    grid-template-columns: minmax(210px, 0.9fr) minmax(180px, 0.8fr) minmax(
        0,
        1.5fr
      );
    gap: 28px;
    padding: 24px;
    align-items: center;
  }
  body[data-surface="crew-call-sheet"] .call-time {
    font: 650 52px/1.05 var(--font-heading);
    letter-spacing: -0.045em;
    margin: 10px 0 12px;
  }
  body[data-surface="crew-call-sheet"] .call-strip > div + div > strong {
    font: 500 22px/1.3 var(--font-body);
    margin: 10px 0 14px;
  }
  body[data-surface="crew-call-sheet"] .call-location h2 {
    font: 500 20px/1.35 var(--font-body);
    margin: 10px 0;
  }
  body[data-surface="crew-call-sheet"] .call-arrival p {
    font: 400 14px/1.6 var(--font-body);
  }
  body[data-surface="crew-call-sheet"] .call-strip .calendar-menu > summary {
    font: 600 13px/1.4 var(--font-body);
    gap: 10px;
    padding: 10px 12px;
  }
}

.project-crew-member .call-sheet-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
}
.crew-availability {
  color: var(--muted);
  font: 400 12px/1.4 var(--font-body);
}
.crew-availability[data-booking-status="booked"] {
  color: var(--status-booked);
}
.crew-availability[data-booking-status="held"] {
  color: var(--warning);
}
.crew-availability[data-booking-status="declined"] {
  color: #ff9f91;
}
@media (min-width: 901px) and (max-width: 1200px) {
  .project-crew-head,
  .project-crew-member > summary {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) 150px 70px 145px 16px;
    gap: 12px;
    padding-inline: 16px;
  }
}
@media (max-width: 900px) {
  .project-crew-head {
    display: none;
  }
  .project-crew-member > summary {
    grid-template-columns: minmax(0, 1fr) auto 16px;
    gap: 8px 12px;
    padding: 18px;
  }
  .project-crew-member > summary > .person {
    grid-column: 1/3;
    grid-row: 1;
  }
  .project-crew-member > summary > .toggle {
    grid-column: 3;
    grid-row: 1;
  }
  .project-crew-member > summary > .crew-role-cell {
    grid-column: 1;
    grid-row: 2;
  }
  .project-crew-member > summary > .crew-call-cell {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
  }
  .project-crew-member > summary > .crew-availability {
    grid-column: 1/3;
    grid-row: 3;
  }
  .project-crew-member > summary > .crew-sheet-cell {
    grid-column: 1/3;
    grid-row: 4;
  }
  .crew-availability::before {
    content: "Availability · ";
    color: var(--muted);
  }
}

.company-logo.branded-company-logo {
  width: 200px;
  height: 54px;
}
:root[data-theme="light"] .branded-company-logo {
  background: #0d1011;
  padding: 6px 10px;
  border-radius: 6px;
}
@media (max-width: 650px) {
  .company-logo.branded-company-logo {
    width: min(180px, 48vw);
    height: 44px;
  }
}
.company-logo[src="/assets/digital-architect-logo.png"] {
  width: 300px;
  height: 34px;
}
@media (max-width: 650px) {
  .company-logo[src="/assets/digital-architect-logo.png"] {
    width: min(210px, 54vw);
    height: 28px;
  }
}

/* One booking notice layout for producer cards and crew call sheets. */
.booking-panel {
  --booking-color: var(--warning);
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  max-width: 100%;
  gap: 16px;
  margin: 0 0 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--booking-color);
  border-radius: 10px;
  background: var(--surface);
}
.booking-panel[data-booking-status="booked"] {
  --booking-color: var(--status-booked);
}
.booking-panel[data-booking-status="declined"],
.booking-panel[data-booking-status="released"] {
  --booking-color: #ff9286;
}
.booking-status-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--booking-color);
  background: var(--bg);
}
.booking-status-icon svg {
  width: 20px;
  height: 20px;
}
.booking-status-copy {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.booking-panel .booking-status-title {
  margin: 0 0 6px;
  color: var(--booking-color);
  font: 600 12px/1.5 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.booking-status-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 76ch;
}
.booking-status-copy > p + p:not(:empty) {
  margin-top: 10px;
}
.booking-status-copy > .error {
  color: #ff9286;
}
.booking-status-copy > p:empty {
  display: none;
}
.booking-status-actions {
  grid-column: 3;
  width: auto;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.booking-status-actions button {
  min-height: 42px;
  padding: 10px 14px;
  font: 500 12px/1.5 var(--mono);
  border-radius: 8px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 1000px) {
  .booking-panel {
    grid-template-columns: 34px minmax(0, 1fr);
  }
  .booking-status-actions {
    grid-column: 2;
  }
}
:root[data-theme="light"]
  .booking-panel:is(
    [data-booking-status="declined"],
    [data-booking-status="released"]
  ) {
  --booking-color: #9b3025;
}
@media (max-width: 650px) {
  .booking-panel {
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 18px;
    gap: 14px;
    margin-bottom: 26px;
  }
  .booking-status-icon {
    width: 34px;
    height: 34px;
  }
  .booking-panel .booking-status-title {
    font-size: 12px;
  }
  .booking-status-actions {
    grid-column: 1 / -1;
  }
}

/* Keep call-sheet navigation, booking state and job details together. */
.crew-call-header {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.crew-call-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
}
.crew-call-topbar .back {
  margin: 0;
  padding: 0;
}
.crew-call-topbar .booking-confirmed {
  margin: 0;
}
.crew-call-header .page-heading {
  margin: 0;
}
.crew-call-header .page-heading .actions:empty {
  display: none;
}
.crew-call-header .page-heading .eyebrow {
  margin-bottom: 6px;
}
.crew-call-header h1 {
  margin: 0;
  overflow-wrap: anywhere;
}
.crew-call-header .call-sheet-dates {
  margin: 0;
}
@media (max-width: 650px) {
  .crew-call-header h1 {
    font-size: 28px;
    line-height: 1.15;
  }
  body[data-surface="crew-call-sheet"]
    .crew-call-header
    + .disclosure
    > summary {
    min-height: 52px;
    padding: 12px 0;
    font-size: 15px;
  }
}

.parking-map-preview {
  display: block;
  width: 100%;
  max-width: 640px;
  padding: 0;
  margin: 12px 0 0;
  overflow: hidden;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
.parking-map-preview > span {
  display: block;
  padding: 10px 12px;
  font-size: 12px;
}
.parking-map-preview img {
  display: block;
  width: 100%;
  height: auto;
}
.parking-map-preview .custom-map-stage {
  width: 100%;
}
.parking-map-dialog {
  width: min(1200px, calc(100vw - 24px));
  max-width: none;
}
.parking-map-dialog .custom-map-scroll {
  max-height: 75dvh;
  overflow: auto;
}

.project-travel-dialog {
  width: min(1100px, calc(100vw - 32px));
  max-width: 1100px;
}
.project-travel-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.project-travel-dialog > form > p {
  font-size: 13px;
  line-height: 1.5;
  margin: 8px 0 14px;
}
.project-travel-person {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  min-width: 0;
}
.project-travel-person .section-heading {
  margin: 0;
  gap: 12px;
}
.project-travel-person h3 {
  margin: 0;
  font-size: 17px;
}
.project-travel-person .section-heading p {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
}
.project-travel-person .section-heading button {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 12px;
  flex-shrink: 0;
}
.project-travel-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 14px 0 0;
}
.project-travel-facts > div {
  min-width: 0;
}
.project-travel-facts dt {
  font: 500 10px/1.4 var(--mono);
  color: var(--muted);
  margin-bottom: 4px;
}
.project-travel-facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.project-travel-rewards {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.project-travel-rewards dd {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
  margin-top: 8px;
}
.project-travel-rewards dd > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.project-travel-rewards strong {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
@media (max-width: 900px) {
  .project-travel-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-travel-rewards dd {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .project-travel-person {
    padding: 14px;
  }
  .project-travel-facts {
    gap: 12px;
  }
  .project-travel-facts .known-traveler-fact {
    grid-column: 1 / -1;
  }
  .project-travel-person .section-heading {
    align-items: start;
  }
  .project-travel-person .section-heading button {
    max-width: 110px;
  }
}

/* Keep job workspaces by the title and crew tools by the crew list. */
body[data-surface="producer-overview"] .page-heading .project-workspace-nav {
  margin: 0;
  flex-wrap: wrap;
}
body[data-surface="producer-overview"]
  .project-overview:not(.wedding-overview)
  .project-overview-toolbar {
  justify-content: flex-end;
}
.project-crew-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 650px) {
  body[data-surface="producer-overview"] .page-heading > .actions {
    width: 100%;
  }
  body[data-surface="producer-overview"] .page-heading .project-workspace-nav {
    width: 100%;
  }
  body[data-surface="producer-overview"]
    .page-heading
    .project-workspace-nav
    .button {
    flex: 1;
  }
}

/* One compact job context row, then a single set of operational metrics. */
.project-summary {
  margin: 0 0 28px;
  border-top: 0;
}
.project-summary-context {
  display: grid;
  grid-template-columns: minmax(160px, 0.65fr) minmax(0, 2fr) auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
}
.project-summary-context span,
.project-summary-card h3 {
  color: var(--muted);
  font: 11px/1.5 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-summary-context p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.project-summary-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.project-summary-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.project-summary-card h3 {
  margin: 0 0 12px;
}
.project-summary-card > strong {
  font: 600 24px/1.25 var(--font-body);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.project-summary-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 8px 0 0;
}
.project-summary-card progress {
  width: 100%;
  height: 3px;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  appearance: none;
  background: var(--line);
  accent-color: var(--accent);
  margin-top: 16px;
}
.project-summary-card progress::-webkit-progress-bar {
  background: var(--line);
}
.project-summary-card progress::-webkit-progress-value {
  background: var(--accent);
}
.project-summary-card progress::-moz-progress-bar {
  background: var(--accent);
}
@media (max-width: 650px) {
  .project-summary-context {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px;
    padding: 16px 0;
  }
  .project-summary-location {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .project-summary-context > .actions {
    grid-column: 2;
    grid-row: 1;
  }
  .project-summary-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .project-summary-card {
    padding: 16px 14px;
  }
  .project-summary-card > strong {
    font-size: 21px;
  }
}

.project-summary-location {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.job-location-text {
  min-width: 0;
}
.job-state-map {
  display: block;
  width: 150px;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
}
[data-job-state-map] {
  flex-shrink: 0;
}
.job-state-map-base {
  fill: color-mix(in srgb, var(--muted) 32%, transparent);
  stroke: var(--bg);
  stroke-width: 3;
  stroke-linejoin: round;
}
.job-state-map-highlight {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 3;
  stroke-linejoin: round;
}
@media (max-width: 650px) {
  .project-summary-location {
    gap: 14px;
  }
  .job-state-map {
    width: 112px;
  }
}

body[data-surface="producer-overview"] .page-heading > .project-heading-map {
  margin-right: auto;
  flex-shrink: 0;
}
@media (max-width: 650px) {
  body[data-surface="producer-overview"]
    .page-heading:has(.project-heading-map:not([hidden]))
    > div:first-child {
    max-width: calc(100% - 128px);
    min-width: 0;
  }
}

/* Self-hosted vector streets inherit each workspace's brand colors. */
.job-city-map-button {
  display: block;
  position: relative;
  width: 240px;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: var(--bg);
  isolation: isolate;
}
.job-city-map {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.job-city-map-land {
  fill: color-mix(in srgb, var(--accent) 9%, var(--bg));
}
.job-map-roads {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.job-map-roads-local {
  stroke: color-mix(in srgb, var(--accent) 40%, var(--bg));
  stroke-width: 0.45px;
}
.job-map-roads-arterial {
  stroke: color-mix(in srgb, var(--accent) 46%, var(--muted));
  stroke-width: 0.8px;
}
.job-map-roads-highway {
  stroke: color-mix(in srgb, var(--accent) 55%, var(--ink));
  stroke-width: 1.35px;
}
.job-city-map-halo {
  fill: var(--accent);
  opacity: 0.18;
}
.job-city-map-pin {
  fill: var(--accent);
  stroke: var(--bg);
  stroke-width: 2;
}
.job-city-map-pin-center {
  fill: var(--bg);
}
.job-city-map-marker-shape {
  transform: scale(0.38);
}
.job-city-map-brand {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 17px 10px 6px;
  color: var(--ink);
  background: linear-gradient(transparent, var(--bg));
  font: 500 10px var(--mono);
  text-align: left;
}
.job-city-map-brand img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.job-city-map-brand > span:first-of-type {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.job-city-map-brand > span:last-child {
  color: var(--accent);
}
.job-city-map-dialog {
  width: min(760px, calc(100vw - 24px));
}
.job-city-map-large {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.job-city-map-large .job-map-roads-local {
  stroke-width: 0.7px;
}
.job-city-map-large .job-map-roads-arterial {
  stroke-width: 1.4px;
}
.job-city-map-large .job-map-roads-highway {
  stroke-width: 2.5px;
}
.job-city-map-large .job-city-map-brand {
  font-size: 12px;
  padding: 28px 15px 12px;
}
.job-city-map-dialog p {
  line-height: 1.6;
}
.job-map-credit {
  color: var(--muted);
  font-size: 11px;
}
@media (max-width: 650px) {
  .job-city-map-button {
    width: 140px;
  }
  body[data-surface="producer-overview"]
    .page-heading:has(.project-heading-map:not([hidden]))
    > div:first-child {
    max-width: calc(100% - 156px);
  }
  .job-city-map-brand {
    padding: 12px 5px 4px;
    gap: 4px;
    font-size: 8px;
  }
  .job-city-map-brand img {
    width: 11px;
    height: 11px;
  }
}
body[data-surface="producer-overview"] .page-heading:has(.job-city-map-button) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
}
body[data-surface="producer-overview"]
  .page-heading:has(.job-city-map-button)
  > div:first-child {
  min-width: 0;
  max-width: none;
}
body[data-surface="producer-overview"]
  .page-heading:has(.job-city-map-button)
  > .actions {
  margin: 0;
  width: auto;
}
@media (max-width: 900px) {
  body[data-surface="producer-overview"]
    .page-heading:has(.job-city-map-button) {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
  }
  body[data-surface="producer-overview"]
    .page-heading:has(.job-city-map-button)
    > .actions {
    grid-column: 1 / -1;
  }
}
/* Phone browsers use the full content width for title, map and workspaces. */
@media (max-width: 650px) {
  body[data-surface="producer-overview"]
    .page-heading:has(.job-city-map-button) {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    align-content: start;
    align-items: start;
    gap: 16px;
    min-height: 0;
    height: auto;
  }
  body[data-surface="producer-overview"]
    .page-heading:has(.job-city-map-button)
    > .project-heading-map,
  body[data-surface="producer-overview"]
    .page-heading:has(.job-city-map-button)
    > .actions {
    grid-column: 1;
    width: 100%;
    margin: 0;
  }
  body[data-surface="producer-overview"] .page-heading .job-city-map-button {
    width: 100%;
  }
  body[data-surface="producer-overview"] .page-heading .job-city-map-brand {
    font-size: 10px;
    padding: 18px 10px 7px;
  }
  body[data-surface="producer-overview"] .page-heading .job-city-map-brand img {
    width: 15px;
    height: 15px;
  }
}
@media (max-width: 650px) {
  body[data-surface="producer-overview"]
    .page-heading:has(.project-heading-map:not([hidden]))
    > div:first-child {
    width: 100%;
    max-width: none;
  }
}
/* A focused location viewer with the map as the primary surface. */
.job-city-map-dialog {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
}
.job-city-map-dialog form {
  padding: 24px;
}
.job-city-map-dialog .modal-head {
  margin-bottom: 8px;
}
.job-city-map-dialog .modal-head h2 {
  font-size: 23px;
  letter-spacing: -0.03em;
}
.job-city-map-dialog .modal-head [data-close] {
  width: 34px;
  min-height: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
}
.job-map-address {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
}
.job-map-address .button {
  flex-shrink: 0;
  min-height: 36px;
  padding: 7px 12px;
  font-size: 12px;
  color: var(--accent);
}
.job-city-map-dialog .job-city-map-large {
  border: 0;
  border-radius: 9px;
}
.job-city-map-dialog .job-map-roads-local {
  stroke-width: 0.55px;
  opacity: 0.8;
}
.job-city-map-dialog .job-map-roads-highway {
  stroke-width: 2px;
  opacity: 0.85;
}
.job-map-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.job-map-status {
  color: var(--muted);
  font-size: 11px;
}
.job-map-status::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.job-map-locate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.job-map-locate strong {
  font-size: 13px;
  font-weight: 500;
}
.job-map-locate p {
  margin: 3px 0 0;
  font-size: 12px;
}
.job-map-locate button {
  flex-shrink: 0;
  font-size: 12px;
  min-height: 36px;
  padding: 7px 12px;
}
.job-city-map-dialog .error:empty {
  display: none;
}
@media (max-width: 650px) {
  .job-city-map-dialog form {
    padding: 16px;
  }
  .job-map-address {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }
  .job-map-locate {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
/* Compact crew cards: identity, role/call, then status and a consistent action. */
@media (max-width: 900px) {
  .project-crew-member > summary {
    grid-template-columns: minmax(0, 1fr) auto 24px;
    gap: 8px 10px;
    padding: 16px;
    min-height: 0;
  }
  .project-crew-member > summary > .person {
    gap: 10px;
    font-weight: 500;
  }
  .project-crew-member > summary .avatar {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    font-size: 12px;
  }
  .project-crew-member > summary > .toggle {
    justify-self: end;
    align-self: center;
  }
  .project-crew-member > summary > .crew-role-cell {
    grid-column: 1;
    font-size: 12px;
    line-height: 1.45;
  }
  .project-crew-member > summary > .crew-call-cell {
    grid-column: 2 / 4;
    justify-self: end;
    white-space: nowrap;
    font: 400 11px/1.45 var(--mono);
  }
  .project-crew-member > summary > .crew-call-cell::before {
    content: "Call · ";
    color: var(--muted);
  }
  .project-crew-member > summary > .crew-availability {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    width: fit-content;
    font-size: 11px;
    line-height: 1.4;
    padding: 4px 7px;
    border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
    border-radius: 5px;
  }
  .project-crew-member > summary > .crew-availability::before {
    content: none;
  }
  .project-crew-member > summary > .crew-sheet-cell {
    grid-column: 2 / 4;
    grid-row: 3;
    justify-self: end;
  }
  .project-crew-member > summary > .crew-sheet-cell > .button,
  .project-crew-member > summary > .crew-sheet-cell > button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    width: 142px;
    max-width: 100%;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
    text-align: center;
    border-radius: 7px;
  }
}
@media (max-width: 360px) {
  .project-crew-member > summary {
    padding: 14px 12px;
    gap: 8px;
  }
  .project-crew-member > summary > .crew-sheet-cell > .button,
  .project-crew-member > summary > .crew-sheet-cell > button {
    width: 126px;
  }
}
.page-heading-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 6px;
}
.page-heading-meta .badge {
  margin: 0;
  font-size: 9px;
  padding: 3px 6px;
  line-height: 1.4;
}
.page-heading-meta .project-status-menu > .project-status-picker {
  border-radius: 4px;
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 3px 6px;
  background: transparent;
  font:
    400 9px/1.4 ui-monospace,
    monospace;
  letter-spacing: 0;
  color: var(--muted);
  text-transform: uppercase;
  cursor: pointer;
}
.page-heading-meta .project-status-menu > .project-status-picker:hover {
  border-color: var(--accent);
  color: var(--ink);
}
.project-crew-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.project-crew-heading h2 {
  margin: 0;
}
.project-crew-travel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-height: 40px;
  padding: 10px;
  border-color: transparent;
  color: var(--muted);
}
.project-crew-travel-icon:hover,
.project-crew-travel-icon:focus-visible {
  color: var(--accent);
  border-color: var(--line);
}
/* Shared dimensions and centering for the overview's text action buttons. */
body[data-surface="producer-overview"]
  :is(
    .page-heading .project-workspace-nav > .button,
    .project-crew-actions > .menu > summary,
    .project-crew-actions > button,
    .project-finances > .section-heading > .actions > button,
    .project-crew-member > summary > .crew-sheet-cell > .button,
    .project-crew-member > summary > .crew-sheet-cell > button
  ) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 150px;
  max-width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  border-radius: 8px;
  vertical-align: middle;
}
body[data-surface="producer-overview"] .project-crew-actions > .menu {
  flex-shrink: 0;
}
body[data-surface="producer-overview"]
  .project-crew-actions
  > .menu
  > summary
  > span {
  flex-shrink: 0;
  margin: 0;
}
body[data-surface="producer-overview"]
  .page-heading
  .project-workspace-nav
  > .button {
  flex: 0 1 150px;
}
@media (max-width: 650px) {
  body[data-surface="producer-overview"]
    .page-heading
    .project-workspace-nav
    > .button {
    flex: 1 1 150px;
  }
}
/* Use the same square controls and SVG icons as the rest of the app. */
dialog.job-city-map-dialog .modal-head > button[data-close] {
  box-sizing: border-box;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font: inherit;
}
dialog.job-city-map-dialog .modal-head > button[data-close] svg {
  width: 18px;
  height: 18px;
}
dialog.job-city-map-dialog .modal-head > button[data-close]:hover {
  border-color: var(--accent);
}
.job-city-map-dialog .job-map-directions {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 150px;
  height: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: transparent;
  font: 500 13px/1.25 var(--font-body);
}
.job-city-map-dialog .job-map-directions:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.job-city-map-brand > span:last-child .ui-icon {
  width: 12px;
  height: 12px;
}

.project-status-menu {
  display: inline-block;
}
.project-status-menu > .menu-panel {
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  min-width: 160px;
  color: var(--ink);
  background: var(--surface);
}
.project-status-menu > .menu-panel > button {
  color: var(--ink);
}
.project-status-menu > .menu-panel > button[aria-pressed="true"] {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

@media (max-width: 650px) {
  .project-summary { margin-bottom: 20px; }
  .project-summary-card { padding: 12px; }
  .project-summary-card h3 { margin-bottom: 6px; font-size: 10px; }
  .project-summary-card > strong { font-size: 20px; }
  .project-summary-card p { margin-top: 4px; font-size: 11px; }
  .project-summary-card progress { margin-top: 10px; }
}

.crew-schedule-links { display: grid; grid-auto-rows: 1fr; gap: 10px; margin: 20px 0; }
.crew-schedule-link { display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 72px; border: 1px solid var(--accent); border-radius: 10px; background: color-mix(in srgb, var(--accent) 6%, var(--surface)); text-decoration: none; }
.crew-schedule-link > .ui-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--accent); }
.crew-schedule-link > span:nth-child(2) { flex: 1; min-width: 0; }
.crew-schedule-link strong { display: block; font: 600 17px/1.3 var(--font-body); color: var(--ink); }
.crew-schedule-link small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.crew-schedule-link > span:last-child { color: var(--accent); }
.crew-resource-heading { margin: 24px 0 8px; font: 600 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
body[data-surface="crew-call-sheet"] #app > .crew-resource-row { margin: 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
body[data-surface="crew-call-sheet"] #app > .crew-resource-row > summary { display: flex; align-items: center; gap: 12px; padding: 12px 4px; min-height: 64px; }
.crew-resource-row > summary > .ui-icon { width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.crew-resource-copy { flex: 1; min-width: 0; }
.crew-resource-copy strong { display: block; font: 500 15px/1.3 var(--font-body); }
.crew-resource-copy small { display: block; margin-top: 3px; font: 400 12px/1.4 var(--font-body); color: var(--muted); }
body[data-surface="crew-call-sheet"] #app > .crew-resource-row > .panel-body { padding: 8px 0 16px; }

.call-arrival .directions-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: var(--accent); background: transparent; border-color: var(--accent); min-height: 44px; }

.call-arrival .directions-action,
.call-sheet > .form-actions > button {
  width: 220px;
  max-width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: 500 14px/1.4 var(--font-body);
}
/* Arrival navigation and confirmation share the same mobile footprint. */
@media (max-width: 650px) {
  .call-sheet > .form-actions { padding: 14px 16px; }
  .call-arrival .directions-action,
  .call-sheet > .form-actions > button {
    width: 100%;
    min-height: 48px;
    height: auto;
    padding: 10px 12px;
    font: 500 14px/1.4 var(--font-body);
    box-sizing: border-box;
  }
}

/* Keep the crew arrival card compact and its time easy to scan. */
body[data-surface="crew-call-sheet"] .call-strip > div:first-child {
  display: flex; flex-direction: column; align-self: stretch; justify-content: flex-start; gap: 8px;
}
body[data-surface="crew-call-sheet"] .call-sheet-grid { padding-top: 12px; padding-bottom: 12px; }
body[data-surface="crew-call-sheet"] .call-strip .calendar-menu { margin-top: 8px; }
body[data-surface="crew-call-sheet"] .call-strip .calendar-menu > summary {
  min-height: 40px; padding: 7px 8px; gap: 5px;
  grid-template-columns: 15px minmax(0, 1fr) 10px;
  font-size: 11px; white-space: nowrap;
}
body[data-surface="crew-call-sheet"] .calendar-label { white-space: nowrap; }
body[data-surface="crew-call-sheet"] .call-sheet > .form-actions { padding-top: 10px; padding-bottom: 10px; }
@media (max-width: 650px) {
  body[data-surface="crew-call-sheet"] .call-sheet-grid { gap: 8px; }
  body[data-surface="crew-call-sheet"] .call-strip > div:first-child { padding-right: 0; }
  body[data-surface="crew-call-sheet"] .call-strip > div + div { padding-left: 8px; }
  body[data-surface="crew-call-sheet"] .call-sheet-grid .call-location { padding-top: 12px; }
}
@media (max-width: 360px) {
  body[data-surface="crew-call-sheet"] .call-strip .calendar-menu > summary { grid-template-columns: 12px minmax(0, 1fr); padding-inline: 6px; gap: 4px; font-size: 10px; }
  body[data-surface="crew-call-sheet"] .call-strip .calendar-menu > summary > .toggle { display: none; }
  body[data-surface="crew-call-sheet"] .call-strip .calendar-menu svg { width: 12px; height: 12px; }
}

.crew-schedule-links > .crew-schedule-link { box-sizing: border-box; width: 100%; height: 100%; min-height: 80px; margin: 0; padding: 14px 16px; }
.crew-schedule-links > .crew-schedule-link small { line-height: 1.4; }
.crew-mobile-sheet-action { display: none; }
/* Producer roster: compact identity and call time, with actions on expansion. */
@media (max-width: 700px) {
  .project-crew-member > summary {
    display: grid; grid-template-columns: minmax(0, 1fr) auto 20px;
    grid-template-rows: auto auto; gap: 6px 12px; padding: 14px 16px; min-height: 0;
  }
  .project-crew-member > summary > .person { grid-column: 1; grid-row: 1; min-width: 0; align-self: start; }
  .project-crew-member > summary .avatar { display: none; }
  .project-crew-member > summary .crew-person-copy { min-width: 0; }
  .project-crew-member > summary .crew-person-name { display: block; font: 600 16px/1.3 var(--font-body); }
  .project-crew-member > summary .crew-person-role { display: block; margin-top: 3px; color: var(--muted); font: 400 12px/1.35 var(--font-body); }
  .project-crew-member > summary > .crew-role-cell,
  .project-crew-member > summary > .crew-sheet-cell { display: none; }
  .project-crew-member > summary > .crew-call-cell {
    grid-column: 2; grid-row: 1; align-self: start; justify-self: end;
    color: var(--ink); font: 500 20px/1.15 var(--font-body); text-align: right;
  }
  .project-crew-member > summary > .crew-call-cell::before { content: "CALL"; display: block; margin-bottom: 3px; color: var(--muted); font: 400 9px/1.2 var(--mono); letter-spacing: .06em; }
  .project-crew-member > summary > .crew-availability {
    grid-column: 1 / 3; grid-row: 2; border: 0; border-radius: 0; padding: 0;
    margin: 0; font: 500 11px/1.3 var(--font-body); justify-self: start;
  }
  .project-crew-member > summary > .crew-availability[data-booking-status="availability_requested"],
  .project-crew-member > summary > .crew-availability[data-booking-status="held"] { color: var(--warning); }
  .project-crew-member > summary > .toggle { grid-column: 3; grid-row: 1 / 3; align-self: center; justify-self: end; }
  .crew-mobile-sheet-action { display: block; margin-bottom: 14px; }
  .crew-mobile-sheet-action > :is(a, button) { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; }
}
