:root {
  color-scheme: light;
  --bg: #f7faff;
  --surface: #ffffff;
  --surface-soft: #f4f8ff;
  --line: #e4ebf5;
  --line-strong: #d5dfed;
  --text: #0b1220;
  --muted: #667085;
  --muted-2: #8a96aa;
  --blue: #1473ff;
  --blue-soft: #edf5ff;
  --green: #18b26b;
  --green-soft: #eafaf2;
  --orange: #f59e0b;
  --orange-soft: #fff5df;
  --purple: #7c3aed;
  --purple-soft: #f2eaff;
  --red: #ef4444;
  --shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  font-size: 14px;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  height: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  color: var(--muted-2);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lucide,
.lucide-icon,
[data-lucide] {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  flex: 0 0 auto;
}

.primary,
button.primary,
a.primary {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.ghost,
button.ghost,
a.ghost {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #0f1b33;
  font-size: 0.86rem;
  font-weight: 730;
  text-decoration: none;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
}

.wide {
  width: 100%;
}

input,
select,
textarea {
  width: 100%;
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 7px;
  color: #344054;
  font-size: 0.84rem;
  font-weight: 760;
}

.pill,
.status {
  width: fit-content;
  max-width: 100%;
  min-height: 22px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

.pill.warn {
  border-color: #fed7aa;
  background: var(--orange-soft);
  color: #c26a00;
}

.strong-pill {
  background: var(--green-soft);
  border-color: #bbf7d0;
  color: var(--green);
}

.site-logo {
  display: none;
}

/* Auth */
.auth-page {
  min-height: 100dvh;
  height: 100dvh;
  display: grid;
  grid-template-columns: minmax(430px, 42.35%) minmax(0, 57.65%);
  overflow: hidden;
  background: #ffffff;
}

.auth-panel {
  min-width: 0;
  padding: 48px 33px 42px 56px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  border: 0;
  background: #ffffff;
}

.schema-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  padding: 28px;
}

.auth-logo {
  width: 192px;
  height: auto;
  display: block;
  flex: 0 0 auto;
}

.auth-content {
  width: min(100%, 438px);
  margin: 79px auto 0;
}

.auth-heading {
  margin-bottom: 36px;
}

.auth-heading h1,
.auth-loading-copy h1 {
  color: #090b0e;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.auth-heading p,
.auth-loading-copy p {
  margin-top: 10px;
  color: #777c91;
  font-size: 15px;
  line-height: 1.5;
}

.auth-form,
.auth-loading-copy {
  display: grid;
  gap: 15px;
}

.auth-form label {
  gap: 7px;
  color: #15171c;
  font-size: 12px;
  font-weight: 600;
}

.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-password-group {
  display: grid;
  gap: 7px;
}

.auth-label-row label {
  display: block;
}

.auth-label-row button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5233e8;
  font-size: 12px;
  font-weight: 600;
}

.auth-form input {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid #cfd2da;
  border-radius: 7px;
  background: #ffffff;
  color: #15171c;
  font-size: 13px;
  font-weight: 400;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form input:focus {
  border-color: #5a39ee;
  box-shadow: 0 0 0 2px rgba(90, 57, 238, 0.12);
}

.auth-form input.auth-input-error,
.auth-form input.auth-input-error:focus {
  border-color: #e5484d;
  background: #fffafa;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.1);
}

.auth-field-error {
  min-height: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c9343a;
  font-size: 11px;
  font-weight: 550;
  line-height: 1.35;
}

.auth-field-error .lucide-icon,
.auth-field-error svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.password-field {
  position: relative;
  display: block;
}

.password-field input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 30px;
  height: 30px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #9297a8;
}

.password-toggle .lucide-icon,
.password-toggle svg {
  width: 17px;
  height: 17px;
}

.auth-submit,
.google-auth {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease;
}

.auth-submit {
  margin-top: 15px;
  border: 1px solid #5233e8;
  background: #5233e8;
  color: #ffffff;
}

.auth-submit:hover {
  border-color: #4527d5;
  background: #4527d5;
}

.google-auth {
  border: 1px solid #ddd6fe;
  background: #ffffff;
  color: #11142b;
}

.google-auth-disabled {
  position: relative;
  display: grid;
  cursor: not-allowed;
  outline: none;
}

.google-auth-disabled .google-auth {
  width: 100%;
  border-color: #d9dce3;
  background: #f1f2f4;
  color: #969ba7;
  pointer-events: none;
}

.google-auth-disabled .google-mark {
  filter: grayscale(1);
  opacity: 0.55;
}

.google-auth-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  z-index: 2;
  padding: 6px 9px;
  transform: translate(-50%, 4px);
  border-radius: 6px;
  background: #30333a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.google-auth-disabled:hover .google-auth-tooltip,
.google-auth-disabled:focus-visible .google-auth-tooltip {
  transform: translate(-50%, 0);
  opacity: 1;
}

.auth-submit:active,
.google-auth:active {
  transform: scale(0.985);
}

.google-mark {
  width: 20px;
  height: 20px;
  display: block;
}

.auth-switch {
  margin-top: 37px;
  color: #808498;
  font-size: 12px;
  text-align: center;
}

.auth-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5233e8;
  font-weight: 600;
}

.auth-visual {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 17px 0 0 17px;
  background: #9a622e;
}

.auth-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: right center;
}

.auth-loading-copy {
  width: min(100%, 438px);
  margin: auto;
}

.auth-page-loading .auth-panel {
  justify-content: flex-start;
}

.auth-page-loading .auth-loading-copy {
  margin-top: auto;
  margin-bottom: auto;
}

.reset-page {
  min-height: 100dvh;
  padding: 32px 20px;
  display: grid;
  place-items: center;
  overflow-y: auto;
  background: #fafafe;
}

.reset-card {
  width: min(100%, 542px);
  min-height: 512px;
  padding: 74px 70px 58px;
  display: flex;
  flex-direction: column;
  border: 1px solid #dedfe7;
  border-radius: 7px;
  background: #ffffff;
}

.reset-card-sent {
  min-height: 432px;
}

.reset-logo {
  width: 180px;
  height: auto;
  display: block;
}

.reset-heading {
  margin-top: 29px;
}

.reset-heading h1 {
  color: #090b0e;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

.reset-heading p {
  max-width: 400px;
  margin-top: 11px;
  color: #777c91;
  font-size: 16px;
  line-height: 1.55;
}

.reset-heading strong {
  font-weight: 700;
}

.reset-form {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.reset-form input {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #d9dbe3;
  border-radius: 7px;
  background: #fafafa;
  color: #15171c;
  font-size: 13px;
  outline: none;
}

.reset-form input::placeholder {
  color: #9296a7;
}

.reset-form input:focus {
  border-color: #5a39ee;
  box-shadow: 0 0 0 2px rgba(90, 57, 238, 0.12);
}

.reset-submit {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #5233e8;
  border-radius: 7px;
  background: #5233e8;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  transition: transform 140ms ease, background-color 140ms ease;
}

.reset-submit:hover {
  background: #4527d5;
}

.reset-submit:active {
  transform: scale(0.985);
}

.reset-card-sent > .reset-submit {
  margin-top: 34px;
}

.reset-back {
  margin-top: 40px;
  color: #808498;
  font-size: 12px;
  text-align: center;
}

.reset-back button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #5233e8;
  font-weight: 600;
}

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

.full-width {
  grid-column: 1 / -1;
}

.form-helper {
  margin: 14px 0;
  line-height: 1.45;
}

.schema-card {
  display: grid;
  gap: 18px;
}

/* App shell */
.app-shell.tf-app {
  min-height: 100vh;
  height: 100vh;
  width: 100vw;
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  background: var(--bg);
}

.tf-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  min-width: 0;
  padding: 18px 16px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 16px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  overflow: hidden;
}

.tf-logo {
  height: 48px;
  display: flex;
  align-items: center;
}

.tf-logo img {
  width: 158px;
  height: auto;
  display: block;
}

.tf-nav {
  display: grid;
  gap: 5px;
}

.tf-nav button,
.mobile-nav button {
  min-height: 38px;
  padding: 0 11px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: #263756;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 730;
}

.tf-nav button.active,
.mobile-nav button.active {
  border-color: #dbeafe;
  background: #eef6ff;
  color: var(--blue);
}

.tf-nav svg,
.mobile-nav svg {
  width: 18px;
  height: 18px;
}

.tf-project-card,
.tf-pro-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.tf-project-card {
  align-self: end;
  padding: 12px;
}

.tf-project-image {
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #e9f3ff, #ffffff);
  color: var(--blue);
}

.tf-project-image svg {
  width: 34px;
  height: 34px;
}

.tf-project-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 2px;
}

.tf-project-title strong {
  font-size: 0.96rem;
}

.tf-project-title span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.tf-project-card small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.tf-project-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.tf-project-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}

.tf-project-meta strong {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}

.tf-project-card button,
.tf-pro-card button {
  width: 100%;
}

.tf-pro-card {
  padding: 12px;
  background: linear-gradient(135deg, #3b82f6, #7cb8ff);
  color: #ffffff;
}

.tf-pro-card p {
  margin: 8px 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  line-height: 1.45;
}

.tf-pro-card button {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.tf-main {
  min-width: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 14px 18px 16px;
  background: var(--bg);
}

.tf-topbar {
  display: grid;
  grid-template-columns: minmax(190px, 0.58fr) minmax(300px, 520px) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}

.tf-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tf-page-title > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: #eef6ff;
  color: var(--blue);
}

.tf-page-title h1 {
  font-size: 1.2rem;
  line-height: 1.1;
}

.tf-page-title p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.command-search {
  position: relative;
}

.tf-topbar .command-search {
  min-height: 36px;
  padding: 0 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(16, 24, 40, 0.04);
}

.tf-topbar .command-search > span {
  display: none;
}

.tf-topbar .command-search input {
  min-height: 34px;
  padding: 0 8px;
  border: 0;
  background: transparent;
}

.tf-topbar kbd {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f3f6fb;
  color: var(--muted);
  font-size: 0.72rem;
}

.tf-top-actions {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.tool-dot,
.account-avatar-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: #263756;
  font-weight: 850;
}

.account-avatar-button {
  background: #eaf3ff;
  color: var(--blue);
}

.tf-user-label {
  display: grid;
  gap: 2px;
}

.tf-user-label strong {
  font-size: 0.86rem;
}

.tf-user-label span {
  color: var(--muted);
  font-size: 0.72rem;
}

.account-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  min-width: 160px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.account-dropdown button {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  text-align: left;
}

/* Page wrappers */
.insight-page,
.tf-dashboard-page {
  display: grid;
  gap: 14px;
}

.insight-page-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.insight-page-head h2 {
  font-size: 1.22rem;
}

.insight-page-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

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

.insight-card,
.panel,
.metric,
.tf-card,
.tf-call-focus,
.tf-onset-card,
.tf-crew-table,
.tf-schedule-card,
.leaderboard-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.panel,
.metric,
.insight-card {
  padding: 14px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
  margin-bottom: 10px;
}

.panel-head h3,
.panel-head h4 {
  font-size: 0.96rem;
}

/* Dashboard */
.tf-dashboard-white {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
}

.tf-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 10px;
  align-items: stretch;
}

.tf-call-focus {
  min-height: 118px;
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 16px;
}

.tf-call-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.tf-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eef6ff;
  color: var(--blue);
}

.tf-card-icon.small {
  width: 32px;
  height: 32px;
  border-radius: 11px;
}

.tf-card-icon svg {
  width: 23px;
  height: 23px;
}

.tf-card-icon.small svg {
  width: 17px;
  height: 17px;
}

.tf-call-main h2 {
  font-size: clamp(4.2rem, 5.8vw, 6rem);
  line-height: 0.9;
}

.tf-call-main p:not(.eyebrow) {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.tf-call-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tf-call-meta div {
  min-height: 62px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.tf-call-meta span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
}

.tf-call-meta strong {
  font-size: 0.94rem;
}

.tf-onset-card {
  padding: 14px;
  display: grid;
  align-content: space-between;
  gap: 8px;
}

.tf-onset-card > strong {
  display: block;
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
  line-height: 0.9;
}

.compact-timer,
.timer-display {
  color: var(--blue);
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 900;
}

.tf-quick-stats,
.insight-metric-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.insight-mini-card,
.set-metric {
  min-height: 68px;
  padding: 10px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 4px 10px;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.insight-mini-card .mini-icon {
  grid-row: span 3;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--blue);
}

.insight-mini-card span,
.set-metric span {
  color: var(--muted);
  font-size: 0.76rem;
}

.insight-mini-card strong,
.set-metric strong {
  font-size: 1.18rem;
  line-height: 1;
}

.insight-mini-card small,
.set-metric em {
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.insight-mini-card.is-live {
  background: #fffaf0;
}

.tf-main-board {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(292px, 0.3fr);
  gap: 10px;
  align-items: stretch;
}

.tf-board-primary {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(94px, 0.26fr);
  gap: 10px;
}

.tf-board-row {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(360px, 1.05fr) minmax(330px, 0.95fr);
  gap: 10px;
}

.tf-side-stack {
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  display: grid;
  grid-auto-rows: minmax(0, 1fr);
  gap: 10px;
  align-content: stretch;
}

.tf-card,
.tf-crew-table,
.tf-schedule-card {
  min-height: 0;
  padding: 11px;
}

.tf-crew-table,
.tf-schedule-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.insight-table {
  display: grid;
}

.insight-table-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  padding: 7px 0;
  border-bottom: 1px solid #eef2f7;
}

.insight-table-row:last-child {
  border-bottom: 0;
}

.row-icon,
.mini-icon,
.alert-icon {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--blue);
}

.row-icon {
  width: 28px;
  height: 28px;
}

.insight-table-row strong,
.insight-table-row span {
  display: block;
}

.insight-table-row span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.tf-schedule-card .timeline,
.set-timeline {
  display: grid;
  gap: 6px;
  max-height: 100%;
  overflow: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li,
.schedule-list-item,
.notice,
.person-row,
.file-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 9px;
}

.schedule-list-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 9px;
}

.tf-action-strip {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tf-compact-card {
  min-height: 0;
  padding: 10px;
  display: grid;
  gap: 5px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tf-compact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tf-compact-card > span,
.tf-compact-card small {
  color: var(--muted);
  font-size: 0.72rem;
}

.tf-compact-card strong {
  min-width: 0;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tf-carpool-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.tf-carpool-summary {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: center;
}

.tf-carpool-summary span {
  min-height: 46px;
  display: grid;
  place-items: center;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.tf-carpool-summary b {
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1;
}

.tf-carpool-summary small {
  color: var(--muted);
  font-size: 0.72rem;
}

.schedule-time-cell {
  color: var(--blue);
  font-size: 0.74rem;
}

.schedule-time-cell i {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 0.66rem;
  font-style: normal;
}

.schedule-content {
  display: grid;
  gap: 2px;
}

.schedule-content b {
  font-size: 0.8rem;
}

.schedule-content small,
.schedule-content em {
  color: var(--muted);
  font-size: 0.7rem;
  font-style: normal;
}

.call-card {
  display: grid;
  gap: 4px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.call-label {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.call-label b {
  font-size: 0.78rem;
}

.call-label em {
  color: var(--muted);
  font-size: 0.68rem;
  font-style: normal;
}

.call-time {
  font-size: 1.12rem;
  font-weight: 900;
}

.set-status-list {
  display: grid;
  gap: 6px;
}

.set-status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.set-status-row span {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
}

.set-status-row strong {
  font-size: 0.78rem;
}

.set-status-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.68rem;
}

.set-status-row.good {
  border-color: #bbf7d0;
  background: var(--green-soft);
}

.set-status-row.warn {
  border-color: #fed7aa;
  background: var(--orange-soft);
}

.bars {
  display: grid;
  gap: 10px;
}

.bar-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
}

.bar-row > span {
  justify-content: center;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf2f7;
}

.bar-track div {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), #9cc7ff);
}

.leaderboard-card {
  padding: 16px;
}

/* One-screen dashboard: no page-level scrolling on the main control surface */
.tf-main {
  overflow: auto;
}

.tf-main:has(.tf-dashboard-page) {
  overflow: hidden;
}

.tf-dashboard-page {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.tf-dashboard-page .tf-dashboard-white,
.tf-dashboard-page .tf-main-board,
.tf-dashboard-page .tf-crew-table,
.tf-dashboard-page .tf-schedule-card,
.tf-dashboard-page .tf-side-stack {
  min-height: 0;
}

.tf-dashboard-page .tf-crew-table,
.tf-dashboard-page .tf-schedule-card,
.tf-dashboard-page .tf-card {
  overflow: hidden;
}

.tf-dashboard-page .tf-crew-table .insight-table,
.tf-dashboard-page .tf-schedule-card .timeline {
  max-height: calc(100% - 42px);
  overflow: hidden;
}

.tf-dashboard-page .tf-side-stack .tf-card {
  padding: 10px;
}

.tf-dashboard-page .tf-side-stack .set-status-row {
  padding: 7px 8px;
}

.tf-dashboard-page .tf-side-stack .bar-row {
  gap: 7px;
}

.leaderboard-list {
  display: grid;
  gap: 8px;
}

.leaderboard-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.leaderboard-rank {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--blue);
  font-weight: 900;
}

/* Other pages */
.profile-template,
.my-call-template,
.production-template,
.setup-template,
.crew-hub-food-board,
.grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-identity-card,
.profile-form-card,
.profile-food-card,
.timer-template-card,
.logistics-template-card,
.kit-card,
.production-roster-card,
.production-announcement-card,
.agreement-template-card,
.setup-summary-card,
.setup-form-card,
.menu-admin-card,
.food-logistics-card,
.admin-coffee-card,
.admin-carpool-card,
.join-panel,
.crew-timer-panel {
  padding: 18px;
}

.profile-food-card,
.agreement-template-card {
  grid-column: 1 / -1;
}

.profile-avatar-xl {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef6ff;
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.food-tags-panel,
.food-tag-options,
.tag-cloud,
.inline-actions,
.card-actions-right,
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.card-actions-right,
.profile-actions {
  justify-content: flex-end;
  margin-top: 14px;
}

.timer-toggle-row,
.toggle-row,
.readonly-field,
.logistics-cardlet,
.pickup-address-readout,
.meal-choice,
.meal-option-card,
.crew-list-row,
.carpool-row,
.special-call-box,
.schedule-editor-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 12px;
}

.timer-display {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1;
}

.compact-timer {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.switch-input {
  width: 42px;
  min-width: 42px;
  height: 24px;
}

.file-list,
.crew-list,
.roster-list,
.pref-list,
.announcement-feed {
  display: grid;
  gap: 8px;
}

.file-list article,
.person-row,
.crew-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.person-row {
  width: 100%;
  border: 1px solid var(--line);
  background: #ffffff;
  text-align: left;
}

.file-actions,
.card-actions-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: #344054;
}

.danger-icon {
  color: var(--red);
}

/* Modals and overlays */
.profile-overlay,
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.34);
}

.crew-profile,
.modal-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.18);
  padding: 20px;
}

.crew-list-modal,
.pending-review-modal,
.carpool-modal,
.special-call-modal,
.admin-edit-modal {
  width: min(920px, 100%);
}

.crew-directory-overlay {
  padding: clamp(14px, 3vw, 32px);
  padding-top: 6vh;
  place-items: start center;
  background: rgba(48, 61, 82, 0.42);
  backdrop-filter: blur(3px);
}

.crew-directory-modal {
  width: min(1060px, 100%);
  height: min(840px, 88vh);
  min-height: 560px;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #e1e8f2;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
}

.crew-directory-header {
  min-height: 94px;
  padding: 24px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.crew-directory-title,
.crew-directory-tools,
.crew-directory-person > span,
.crew-directory-stat {
  display: flex;
  align-items: center;
}

.crew-directory-title {
  gap: 18px;
}

.crew-directory-title > span {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eff6ff;
  color: #1473ff;
}

.crew-directory-title svg {
  width: 27px;
  height: 27px;
}

.crew-directory-title h2,
.crew-directory-title p,
.crew-directory-footer p {
  margin: 0;
}

.crew-directory-title h2 {
  color: #111827;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.crew-directory-title p {
  margin-top: 6px;
  color: #50617c;
  font-size: 0.82rem;
  font-weight: 650;
}

.crew-directory-tools {
  gap: 16px;
}

.crew-directory-search {
  width: min(280px, 31vw);
  height: 50px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  color: #8090a7;
  background: #ffffff;
}

.crew-directory-search input {
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172033;
  font: inherit;
  font-size: 0.86rem;
}

.crew-directory-search input::placeholder {
  color: #a1aec0;
}

.crew-directory-search svg {
  width: 17px;
  height: 17px;
}

.crew-directory-close {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #dfe7f2;
  border-radius: 12px;
  background: #ffffff;
  color: #536176;
}

.crew-directory-close svg {
  width: 22px;
  height: 22px;
}

.crew-directory-stats {
  padding: 12px 28px 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.crew-directory-stat {
  min-width: 0;
  min-height: 78px;
  padding: 14px 18px;
  gap: 14px;
  border: 1px solid #e1e8f2;
  border-radius: 10px;
  background: #ffffff;
}

.crew-directory-stat > span {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.crew-directory-stat svg {
  width: 22px;
  height: 22px;
}

.crew-directory-stat.blue > span { color: #1299ee; background: #eaf8ff; }
.crew-directory-stat.green > span { color: #11c98a; background: #eafbf5; }
.crew-directory-stat.amber > span { color: #f5ab00; background: #fff7df; }
.crew-directory-stat.violet > span { color: #7a5cf1; background: #f3f0ff; }

.crew-directory-stat strong,
.crew-directory-stat small {
  display: block;
}

.crew-directory-stat strong {
  color: #111827;
  font-size: 1.18rem;
  line-height: 1;
}

.crew-directory-stat small {
  margin-top: 7px;
  color: #61708a;
  font-size: 0.72rem;
}

.crew-directory-list {
  min-height: 0;
  margin: 0 28px 18px;
  overflow: auto;
  scrollbar-width: thin;
}

.crew-directory-row {
  width: 100%;
  min-height: 96px;
  padding: 12px 26px 12px 18px;
  display: grid;
  grid-template-columns: 86px minmax(210px, 1.35fr) minmax(190px, 1fr) 110px;
  gap: 16px;
  align-items: center;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #ffffff;
  color: #182033;
  text-align: left;
}

.crew-directory-row + .crew-directory-row {
  margin-top: -1px;
}

.crew-directory-row:hover,
.crew-directory-row:focus-visible {
  background: #f8fbff;
}

.crew-directory-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #e8eef6;
  color: #45617c;
  font-size: 0.8rem;
  font-weight: 800;
}

.crew-directory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.crew-directory-person {
  min-width: 0;
}

.crew-directory-person > span {
  min-width: 0;
  gap: 10px;
}

.crew-directory-person strong,
.crew-directory-role strong,
.crew-directory-hours strong {
  overflow: hidden;
  color: #111827;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crew-directory-person strong {
  font-size: 0.96rem;
}

.crew-directory-person small {
  color: #66758e;
  font-size: 0.74rem;
  white-space: nowrap;
}

.crew-directory-person em {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #536176;
  font-size: 0.7rem;
  font-style: normal;
}

.crew-directory-person em i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f7b515;
}

.crew-directory-person em.active i {
  background: #13c68a;
}

.crew-directory-role {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.crew-directory-role strong {
  font-size: 0.86rem;
  font-weight: 550;
}

.crew-directory-role small {
  flex: 0 0 auto;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.67rem;
  font-weight: 750;
}

.crew-directory-hours {
  text-align: right;
}

.crew-directory-hours strong,
.crew-directory-hours small {
  display: block;
}

.crew-directory-hours strong {
  font-size: 0.82rem;
}

.crew-directory-hours small {
  margin-top: 5px;
  color: #66758e;
  font-size: 0.7rem;
}

.crew-directory-no-results {
  min-height: 160px;
  display: grid;
  place-items: center;
  color: #8090a7;
  font-size: 0.85rem;
}

.crew-directory-footer {
  min-height: 112px;
  padding: 18px 28px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  gap: 18px;
  align-items: center;
  border-top: 1px solid #e7edf5;
}

.crew-directory-footer p {
  color: #536176;
  font-size: 0.72rem;
}

.crew-directory-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.crew-directory-pagination button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe7f2;
  border-radius: 10px;
  background: #ffffff;
  color: #536176;
  font-size: 0.78rem;
}

.crew-directory-pagination button.active {
  border-color: #1473ff;
  background: #1473ff;
  color: #ffffff;
}

.crew-directory-pagination button:disabled {
  color: #c5cfdd;
  background: #f8fafc;
}

.crew-directory-pagination svg {
  width: 16px;
  height: 16px;
}

.crew-page-gap {
  color: #536176;
}

.crew-directory-link {
  min-height: 44px;
  padding: 0 18px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 10px;
  background: #eef5ff;
  color: #1473ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.crew-directory-link svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 760px) {
  .crew-directory-overlay { padding: 10px; }
  .crew-directory-modal { height: calc(100vh - 20px); min-height: 0; border-radius: 16px; }
  .crew-directory-header { position: relative; min-height: 78px; padding: 16px; gap: 12px; }
  .crew-directory-title { gap: 10px; }
  .crew-directory-title > span { width: 42px; height: 42px; }
  .crew-directory-title h2 { font-size: 1.05rem; }
  .crew-directory-tools { gap: 8px; }
  .crew-directory-search { width: 42px; height: 42px; padding: 0; display: grid; grid-template-columns: 1fr; place-items: center; transition: width .18s ease; }
  .crew-directory-search input { position: absolute; width: 0; opacity: 0; pointer-events: none; }
  .crew-directory-search svg:first-child { display: none; }
  .crew-directory-search:focus-within { position: absolute; z-index: 2; left: 16px; right: 66px; width: auto; padding: 0 12px; grid-template-columns: 18px minmax(0, 1fr) 18px; background: #fff; }
  .crew-directory-search:focus-within input { position: static; width: auto; opacity: 1; pointer-events: auto; }
  .crew-directory-search:focus-within svg:first-child { display: block; }
  .crew-directory-close { width: 42px; height: 42px; }
  .crew-directory-stats { padding: 6px 16px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .crew-directory-stat { min-height: 62px; padding: 9px; gap: 9px; }
  .crew-directory-stat > span { width: 36px; height: 36px; }
  .crew-directory-stat small { margin-top: 4px; }
  .crew-directory-list { margin: 0 16px 10px; }
  .crew-directory-row { min-height: 92px; padding: 10px 12px; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
  .crew-directory-avatar { width: 46px; height: 46px; }
  .crew-directory-role { grid-column: 2; margin-top: -18px; }
  .crew-directory-hours { grid-column: 3; grid-row: 1 / span 2; }
  .crew-directory-footer { min-height: 78px; padding: 12px 16px; grid-template-columns: 1fr auto; gap: 10px; }
  .crew-directory-footer p { display: none; }
  .crew-directory-pagination { justify-content: start; overflow-x: auto; }
  .crew-directory-link { width: 42px; min-height: 42px; padding: 0; justify-content: center; font-size: 0; }
}

.modal-scroll-list,
.schedule-editor {
  display: grid;
  gap: 10px;
  max-height: 520px;
  overflow: auto;
}

.signature-preview {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 200;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 28px));
  padding: 12px 16px;
  border-radius: var(--radius);
  background: #111827;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-nav {
  display: none;
}

.empty-state {
  min-height: 180px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 12px;
}

@media (max-width: 1280px) {
  .auth-panel {
    padding-right: 33px;
    padding-left: 56px;
  }

  .app-shell.tf-app {
    grid-template-columns: 238px minmax(0, 1fr);
  }

  .tf-logo img {
    width: 150px;
  }

  .tf-main-board {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  }

  .tf-board-row {
    grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.9fr);
  }

  .tf-quick-stats,
  .insight-metric-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-height: 700px) and (min-width: 981px) {
  .tf-sidebar {
    gap: 14px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .tf-logo {
    height: 44px;
  }

  .tf-nav {
    gap: 4px;
  }

  .tf-nav button {
    min-height: 34px;
  }

  .tf-project-image {
    height: 44px;
  }

  .tf-pro-card {
    display: none;
  }
}

@media (max-width: 980px) {
  .auth-page {
    grid-template-columns: minmax(400px, 48%) minmax(0, 52%);
  }

  .auth-panel {
    padding: 38px 34px;
  }

  .auth-logo {
    width: 192px;
  }

  .auth-content {
    margin-top: 52px;
  }

  .app-shell.tf-app {
    grid-template-columns: 1fr;
  }

  .tf-sidebar {
    display: none;
  }

  .tf-main {
    padding: 14px 14px calc(96px + env(safe-area-inset-bottom));
  }

  .tf-topbar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .tf-topbar .command-search,
  .tf-user-label {
    display: none;
  }

  .tf-hero-row,
  .tf-call-focus,
  .tf-main-board,
  .tf-board-row,
  .tf-action-strip,
  .tf-side-stack,
  .profile-template,
  .my-call-template,
  .production-template,
  .setup-template,
  .crew-hub-food-board,
  .grid.two,
  .insight-content-grid {
    grid-template-columns: 1fr;
  }

  .tf-main:has(.tf-dashboard-page) {
    overflow: auto;
  }

  .tf-dashboard-page {
    height: auto;
    overflow: visible;
  }

  .tf-dashboard-white,
  .tf-board-primary {
    height: auto;
  }

  .tf-quick-stats,
  .insight-metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: #ffffff;
  }

  .mobile-nav button {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    min-height: 54px;
    padding: 6px 4px;
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .reset-page {
    padding: 0;
    place-items: stretch;
    background: #ffffff;
  }

  .reset-card,
  .reset-card-sent {
    width: 100%;
    min-height: 100dvh;
    padding: 42px 24px;
    border: 0;
    border-radius: 0;
  }

  .reset-logo {
    width: 172px;
  }

  .reset-heading {
    margin-top: 62px;
  }

  .reset-heading h1 {
    font-size: 32px;
  }

  .auth-page {
    height: 100dvh;
    min-height: 100dvh;
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .auth-panel {
    min-height: 100dvh;
    padding: 32px 24px calc(34px + env(safe-area-inset-bottom));
  }

  .auth-logo {
    width: 192px;
  }

  .auth-content {
    width: 100%;
    margin-top: 58px;
  }

  .auth-heading {
    margin-bottom: 32px;
  }

  .auth-heading h1,
  .auth-loading-copy h1 {
    font-size: 32px;
  }

  .auth-visual {
    display: none;
  }

  .tf-main {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tf-call-focus,
  .tf-onset-card,
  .tf-card,
  .tf-crew-table,
  .tf-schedule-card,
  .panel,
  .insight-card {
    padding: 14px;
  }

  .tf-call-main {
    align-items: flex-start;
  }

  .tf-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .tf-call-main h2 {
    font-size: clamp(2.45rem, 15vw, 4.2rem);
  }

  .tf-call-meta {
    grid-template-columns: 1fr;
  }

  .tf-quick-stats,
  .insight-metric-strip {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .insight-mini-card {
    min-height: 92px;
    padding: 12px;
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .insight-mini-card .mini-icon {
    width: 36px;
    height: 36px;
  }

  .form-grid,
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

/* Project Overview rebuild */
.overview-shell.tf-app {
  grid-template-columns: 288px minmax(0, 1fr);
  background: #f7f9fc;
}

.overview-shell .tf-sidebar {
  padding: 24px 16px 18px;
  grid-template-rows: 54px minmax(0, 1fr) auto;
  gap: 16px;
  border-right-color: #e8edf5;
  background: #ffffff;
}

.overview-shell .tf-logo { height: 42px; padding: 0 4px; }
.overview-shell .tf-logo img { width: 222px; max-width: calc(100% - 12px); }
.tf-sidebar-close, .tf-menu-button, .tf-sidebar-scrim { display: none; }

.overview-shell .tf-nav {
  align-content: start;
  gap: 3px;
  overflow-y: hidden;
}

.overview-shell .tf-nav button {
  position: relative;
  min-height: 43px;
  padding: 0 16px;
  gap: 14px;
  border: 0;
  border-radius: 11px;
  color: #42526b;
  font-size: .95rem;
  font-weight: 600;
}

.overview-shell .tf-nav button.active { background: #edf4ff; color: #1169ed; }
.overview-shell .tf-nav button.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 4px;
  border-radius: 0 5px 5px 0;
  background: #1473ff;
}
.overview-shell .tf-nav svg { width: 19px; height: 19px; }

/* Sidebar navigation typography and icons intentionally render at 90%. */
.overview-shell .tf-nav button { font-size: .855rem; }
.overview-shell .tf-nav svg { width: 17px; height: 17px; }

.overview-shell .tf-project-card {
  width: 100%;
  padding: 12px;
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-align: left;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}
.overview-shell .tf-project-image {
  height: 88px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #eaf1f8;
  color: #66809f;
}
.overview-shell .tf-project-image svg { width: 32px; height: 32px; }
.overview-shell .tf-project-title { justify-content: space-between; margin: 5px 0 3px; }
.overview-shell .tf-project-title strong { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; }
.overview-shell .tf-project-title svg { width: 17px; height: 17px; color: #718096; }

.overview-shell .tf-main {
  padding: 18px 20px 20px;
  background: #f8fafc;
}

.page-design-canvas {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: calc(100% - 8px);
  margin-top: 8px;
  background: #f8fafc;
  overflow: hidden;
}
.overview-shell .tf-topbar {
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 56px;
  margin-bottom: 16px;
}
.overview-shell .tf-page-title h1 { font-size: 1.65rem; letter-spacing: -.035em; }
.overview-shell .tf-top-actions { gap: 12px; }
.tf-project-selector {
  min-width: 250px;
  height: 46px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: auto 6px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #536176;
  text-align: left;
  box-shadow: 0 3px 10px rgba(15,23,42,.04);
}
.tf-project-selector i { width: 6px; height: 6px; border-radius: 50%; background: #1473ff; }
.tf-project-selector strong { overflow: hidden; color: #111827; text-overflow: ellipsis; white-space: nowrap; }
.tf-project-selector svg { width: 16px; height: 16px; }
.overview-shell .tool-dot { border: 0; background: transparent; }
.overview-shell .account-avatar-button { width: 44px; height: 44px; border: 0; background: #0f3040; color: #fff; }

.new-overview-grid {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1.02fr) minmax(330px, 1.18fr) minmax(250px, .86fr);
  grid-template-rows: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 14px;
  overflow: hidden;
}

.overview-card {
  min-width: 0;
  min-height: 0;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e3e8ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 23, 42, .045);
}
.overview-card > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.overview-card h2 { font-size: 1.18rem; line-height: 1.2; letter-spacing: -.025em; }
.overview-link, .icon-only, .overview-card-footer {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0866f5;
  font-size: .8rem;
  font-weight: 650;
}
.icon-only { color: #64748b; }
.icon-only svg { width: 18px; height: 18px; }
.overview-card-footer { margin-top: auto; padding-top: 13px; text-align: center; }
.overview-card-footer.left { text-align: left; border-top: 1px solid #edf1f5; }

.overview-people { display: grid; gap: 6px; }
.overview-person {
  min-width: 0;
  min-height: 54px;
  padding: 4px 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  border: 0;
  background: transparent;
  text-align: left;
}
.overview-avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: #e8eef6; color: #45617c; font-size: .72rem; font-weight: 800; }
.overview-person strong, .overview-person small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-person strong { font-size: .9rem; }
.overview-person small { margin-top: 3px; color: #718096; font-size: .76rem; }
.crew-state { display: inline-flex; align-items: center; gap: 6px; color: #64748b; font-size: .72rem; font-style: normal; white-space: nowrap; }
.crew-state i { width: 6px; height: 6px; border-radius: 50%; background: #94a3b8; }
.crew-state.success { color: #0aa874; }.crew-state.success i { background: #13bd87; }
.crew-state.warning { color: #e8790c; }.crew-state.warning i { background: #fb8c17; }

.schedule-date { padding-bottom: 14px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid #edf1f5; color: #718096; font-size: .82rem; }
.schedule-date:first-letter { color: #111827; }.schedule-date i { width: 4px; height: 4px; border-radius: 50%; background: #94a3b8; }
.overview-schedule { margin: 12px 0 0; padding: 0; display: grid; gap: 5px; list-style: none; overflow: auto; }
.overview-schedule li { min-height: 34px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 10px; align-items: center; }
.overview-schedule time { color: #0866f5; font-size: .84rem; font-weight: 650; }
.overview-schedule span { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
.overview-schedule strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #536176; font-size: .83rem; font-weight: 550; }
.overview-schedule small { overflow: hidden; color: #8a96a8; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }

/* Project Overview — personalized call summary (kept within the existing card frame) */
.schedule-overview-card > header { margin-bottom: 9px; }
.overview-call-summary { min-height: 0; display: flex; flex: 1; flex-direction: column; overflow: hidden; }
.overview-call-block { min-width: 0; min-height: 0; display: flex; flex: 1; flex-direction: column; justify-content: center; }
.overview-call-block.is-primary { flex: 1.2; }
.overview-call-block > p { color: #718096; font-size: .61rem; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
.overview-call-time-row { min-width: 0; margin-top: 3px; display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.overview-call-time { color: #0866f5; font-size: clamp(1.35rem, 2.1vw, 1.85rem); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.overview-call-block.is-secondary .overview-call-time { font-size: 1.17rem; }
.overview-call-status { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; background: #e9f9f3; color: #079b70; font-size: .57rem; font-style: normal; font-weight: 700; white-space: nowrap; }
.overview-call-source { margin-top: 3px; color: #25324a; font-size: .66rem; font-weight: 700; }
.overview-call-location-row { min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.overview-call-location { margin-top: 5px; overflow: hidden; color: #536176; font-size: .66rem; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.overview-call-empty { margin-top: 8px; color: #25324a; font-size: .88rem; line-height: 1.15; }
.overview-call-block > .overview-call-empty + small { margin-top: 5px; color: #7a8799; font-size: .63rem; line-height: 1.35; }
.overview-call-divider { flex: 0 0 auto; height: 1px; margin: 7px 0; background: #e9edf3; }
.overview-transport { min-width: 0; margin-top: 5px; display: flex; align-items: center; gap: 5px; color: #718096; font-size: .6rem; line-height: 1.2; }
.overview-transport > svg { width: 12px; height: 12px; flex: 0 0 auto; color: #4f6680; }
.overview-transport > span { min-width: 0; display: flex; align-items: baseline; gap: 4px; overflow: hidden; }
.overview-transport b { flex: 0 0 auto; color: #64748b; font-weight: 650; }
.overview-transport i { flex: 0 0 auto; font-style: normal; }
.overview-transport strong { min-width: 0; overflow: hidden; color: #718096; font-weight: 550; text-overflow: ellipsis; white-space: nowrap; }
.overview-call-block.is-primary .overview-transport,
.overview-call-block.is-primary .overview-transport > svg,
.overview-call-block.is-primary .overview-transport b,
.overview-call-block.is-primary .overview-transport strong { color: #0aa874; }
.overview-transport small { min-width: 0; overflow: hidden; color: #8995a6; text-overflow: ellipsis; white-space: nowrap; }
.overview-call-change { margin-top: 4px; overflow: hidden; color: #9a6b12; font-size: .56rem; text-overflow: ellipsis; white-space: nowrap; }

.overview-schedule-backdrop { position: fixed; inset: 0; z-index: 240; padding: 20px; display: grid; place-items: center; background: rgba(30, 42, 60, .45); backdrop-filter: blur(2px); }
.overview-full-schedule { width: min(1050px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe5ed; border-radius: 18px; background: #fff; color: #17233a; box-shadow: 0 28px 85px rgba(15, 23, 42, .26); }
.overview-full-schedule > header { min-height: 68px; padding: 15px 20px 10px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.overview-full-schedule > header h2 { font-size: 1.05rem; }
.overview-full-schedule > header p { margin-top: 6px; color: #66758e; font-size: .67rem; }
.overview-full-schedule > header > button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; color: #586980; }
.overview-full-schedule > header > button:hover { background: #f2f5f9; }
.overview-full-schedule > header svg { width: 17px; }
.overview-schedule-dates { padding: 0 20px 12px; display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid #e8edf4; }
.overview-schedule-dates button { min-height: 30px; padding: 0 13px; flex: 0 0 auto; border: 1px solid #e1e7ef; border-radius: 999px; background: #fff; color: #536176; font-size: .61rem; font-weight: 650; }
.overview-schedule-dates button.active { border-color: #d3e2ff; background: #e9f1ff; color: #0866f5; }
.overview-schedule-table-wrap { min-height: 170px; overflow: auto; padding: 8px 20px 14px; }
.overview-schedule-table-wrap table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.overview-schedule-table-wrap th { padding: 8px 9px; color: #7b8799; font-size: .54rem; font-weight: 800; letter-spacing: .04em; text-align: left; text-transform: uppercase; }
.overview-schedule-table-wrap th:nth-child(1) { width: 10%; }.overview-schedule-table-wrap th:nth-child(2) { width: 19%; }.overview-schedule-table-wrap th:nth-child(3) { width: 14%; }.overview-schedule-table-wrap th:nth-child(4) { width: 14%; }.overview-schedule-table-wrap th:nth-child(5) { width: 10%; }.overview-schedule-table-wrap th:nth-child(6) { width: 10%; }.overview-schedule-table-wrap th:nth-child(7) { width: 23%; }
.overview-schedule-table-wrap td { min-width: 0; padding: 10px 9px; border-top: 1px solid #e9edf3; color: #536176; font-size: .61rem; vertical-align: middle; }
.overview-schedule-table-wrap td > strong,.overview-schedule-table-wrap td > small { display: block; }.overview-schedule-table-wrap td > strong { overflow: hidden; color: #25324a; font-size: .65rem; text-overflow: ellipsis; white-space: nowrap; }.overview-schedule-table-wrap td > small { margin-top: 4px; color: #8290a3; }
.overview-schedule-table-wrap td > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overview-schedule-table-wrap time { color: #0866f5; font-weight: 750; white-space: nowrap; }
.overview-schedule-table-wrap td > em,.overview-schedule-table-wrap td > b { display: inline-flex; padding: 4px 7px; border-radius: 999px; background: #f0efff; color: #6554c0; font-size: .53rem; font-style: normal; font-weight: 700; white-space: nowrap; }
.overview-schedule-table-wrap td > b { background: #e8f1ff; color: #0866f5; }
.overview-schedule-table-wrap tr.personal td { background: #eef5ff; }
.modal-transport { min-width: 0; display: flex; align-items: center; gap: 6px; color: #0aa874; }
.modal-transport > svg { width: 13px; flex: 0 0 auto; }.modal-transport > span { min-width: 0; }.modal-transport strong,.modal-transport small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.modal-transport strong { color: #42526b; font-size: .59rem; }.modal-transport small { margin-top: 3px; color: #718096; font-size: .53rem; }
.overview-schedule-modal-empty { min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 8px; color: #8a96a8; text-align: center; }.overview-schedule-modal-empty > svg { width: 26px; }.overview-schedule-modal-empty > strong { color: #42526b; font-size: .8rem; }.overview-schedule-modal-empty > p { font-size: .65rem; }.overview-schedule-modal-empty .overview-transport { max-width: 320px; margin-top: 8px; }
.overview-full-schedule > footer { padding: 12px 20px; display: flex; justify-content: flex-end; border-top: 1px solid #e8edf4; }
.overview-full-schedule > footer button { min-height: 34px; padding: 0 15px; border: 1px solid #dce4ee; border-radius: 8px; background: #fff; color: #42526b; font-size: .62rem; font-weight: 700; }

.onset-overview-card {
  padding: 16px 18px;
  display: grid;
  grid-template-rows: auto minmax(82px, 1fr) auto auto;
}
.onset-overview-card > header { margin-bottom: 6px; }

.progress-ring-slot {
  min-width: 0;
  min-height: 0;
  padding: 2px 0 6px;
  display: grid;
  place-items: center;
}

.progress-ring {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 150px;
  aspect-ratio: 1;
  margin: 0;
  padding: 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#09bca7 0 calc(var(--progress) * .38%), #0866f5 calc(var(--progress) * .38%) calc(var(--progress) * 1%), #e5efff 0);
}
.progress-ring > div { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; border-radius: 50%; background: #fff; }
.progress-ring span { color: #0866f5; font-size: .65rem; }.progress-ring strong { font-size: 1.65rem; line-height: 1.02; }.progress-ring small { margin-top: 2px; color: #718096; font-size: .6rem; }
.onset-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onset-facts div:last-child { text-align: right; }.onset-facts span, .onset-facts strong { display: block; }.onset-facts span { color: #8a96a8; font-size: .68rem; }.onset-facts strong { margin-top: 3px; font-size: .9rem; }
.onset-status { min-height: 30px; margin-top: 6px; padding: 6px; align-self: end; border-radius: 9px; background: #e9f9f3; color: #07a879; text-align: center; font-size: .72rem; font-weight: 650; }

.announcement-list { display: grid; gap: 7px; overflow: auto; }
.announcement-row { position: relative; min-height: 74px; padding: 10px 34px 20px 10px; border-radius: 12px; background: #f7f9fc; }
.announcement-row > div { min-width: 0; }.announcement-row strong { display: block; font-size: .84rem; }.announcement-row p { margin-top: 5px; display: -webkit-box; overflow: hidden; color: #718096; font-size: .78rem; line-height: 1.28; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.announcement-row > span { position: absolute; top: 12px; right: 11px; color: #0866f5; }.announcement-row svg { width: 16px; height: 16px; }
.announcement-row > small { position: absolute; right: 10px; bottom: 7px; color: #0aa874; font-size: .68rem; }

.meal-heading { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #edf1f5; }.meal-heading strong { font-size: .94rem; }.meal-heading span { color: #718096; font-size: .75rem; }
.meal-summary { min-height: 54px; margin: 15px 0; color: #42526b; font-size: .82rem; line-height: 1.6; }
.dietary-block { margin-top: auto; }.dietary-block > strong { display: block; margin-bottom: 10px; font-size: .9rem; }.dietary-block > div { display: flex; flex-wrap: wrap; gap: 8px; }
.diet-count, .diet-tag { min-height: 28px; padding: 0 10px; display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; background: #eef5ff; color: #0866f5; font-size: .72rem; }
.diet-tag { background: #e9f9f3; color: #0a9e74; }.diet-tag svg { width: 13px; height: 13px; }.muted-tag { background: #f1f5f9; color: #718096; }

.activity-list { display: grid; gap: 18px; }.activity-row { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 11px; align-items: center; }.activity-row > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: #eaf9f4; color: #0866f5; }.activity-row svg { width: 17px; height: 17px; }.activity-row strong, .activity-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.activity-row strong { font-size: .82rem; }.activity-row small { margin-top: 5px; color: #718096; font-size: .7rem; }
.overview-empty { min-height: 150px; display: grid; place-content: center; justify-items: center; gap: 10px; color: #94a3b8; text-align: center; }.overview-empty svg { width: 28px; height: 28px; }.overview-empty p { max-width: 220px; font-size: .78rem; line-height: 1.45; }

@media (max-width: 1180px) {
  .overview-shell.tf-app { grid-template-columns: 248px minmax(0, 1fr); }
  .new-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; overflow: auto; }
  .overview-card { min-height: 360px; }
}

@media (max-width: 900px) {
  .overview-shell.tf-app { grid-template-columns: 1fr; }
  .overview-shell .tf-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 102; width: 288px; display: grid; transform: translateX(-105%); transition: transform .22s ease; }
  .overview-shell.sidebar-open .tf-sidebar { transform: translateX(0); }
  .tf-sidebar-scrim { position: fixed; inset: 0; z-index: 101; border: 0; background: rgba(15, 23, 42, .34); }
  .overview-shell.sidebar-open .tf-sidebar-scrim { display: block; }
  .tf-sidebar-close, .tf-menu-button { display: inline-grid; place-items: center; border: 0; background: transparent; color: #536176; }
  .tf-sidebar-close { margin-left: auto; }.tf-menu-button { width: 38px; height: 38px; border: 1px solid #e2e8f0; border-radius: 10px; }
  .overview-shell .tf-main { padding: 14px 16px 90px; }
}

@media (max-width: 680px) {
  .overview-shell .tf-topbar { grid-template-columns: 1fr auto; gap: 8px; }
  .overview-shell .tf-page-title h1 { font-size: 1.18rem; }
  .tf-project-selector { min-width: 0; width: 42px; padding: 0; display: grid; place-items: center; }
  .tf-project-selector > :not(svg) { display: none; }
  .overview-shell .notification-button { display: none; }
  .new-overview-grid { display: grid; grid-template-columns: 1fr; overflow: visible; }
  .overview-shell .tf-main:has(.new-overview-grid) { overflow: auto; }
  .new-overview-grid { height: auto; }
  .overview-card { min-height: 340px; padding: 18px; border-radius: 16px; }
  .schedule-overview-card { min-height: 390px; }.onset-overview-card { min-height: 410px; }
  .overview-call-time { font-size: 1.55rem; }
  .overview-schedule-backdrop { padding: 0; place-items: stretch; }
  .overview-full-schedule { width: 100%; max-height: 100vh; height: 100%; border: 0; border-radius: 0; }
  .overview-schedule-table-wrap { padding: 8px 16px 18px; }
  .overview-schedule-table-wrap table,.overview-schedule-table-wrap tbody { display: block; }
  .overview-schedule-table-wrap thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .overview-schedule-table-wrap tr { margin-bottom: 8px; padding: 12px; display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 8px; border: 1px solid #e3e9f1; border-radius: 11px; }
  .overview-schedule-table-wrap tr.personal { border-color: #bfd5ff; background: #eef5ff; }
  .overview-schedule-table-wrap td { padding: 0; border: 0; background: transparent !important; }
  .overview-schedule-table-wrap td:nth-child(n+3) { grid-column: 2; }
  .overview-schedule-table-wrap td:has(.modal-transport) { grid-column: 1 / -1; margin-top: 4px; }
}

/* Department — crew-facing collaborative workspace */
.tf-main:has(.department-page) { overflow: auto; }
.department-page { min-width: 0; padding: 0 2px 28px; color: #17233a; }
.department-page button,.department-page input,.department-page textarea,.department-page select,.dept-overlay button,.dept-overlay input,.dept-overlay textarea,.dept-overlay select { font: inherit; }
.dept-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; grid-template-areas: "identity featured" "content rail"; gap: 14px; align-items: start; }
.dept-card { min-width: 0; border: 1px solid #dfe5ed; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.dept-identity-card { grid-area: identity; min-height: 244px; padding: 22px; }
.dept-identity-card > header { display: flex; gap: 18px; align-items: center; }
.dept-identity-icon { width: 76px; height: 76px; flex: 0 0 76px; display: grid; place-items: center; border-radius: 50%; background: #ede5ff; color: #7649ee; }
.dept-identity-icon svg { width: 34px; height: 34px; }
.dept-title-line { display: flex; align-items: center; gap: 12px; }
.dept-title-line h2 { font-size: 1rem; letter-spacing: .01em; }
.dept-title-line span { padding: 5px 11px; border-radius: 999px; background: #e7f8ef; color: #078a62; font-size: .62rem; font-weight: 750; }
.dept-identity-card header p { margin-top: 8px; color: #4e6382; font-size: .72rem; line-height: 1.55; }
.dept-facts { margin-top: 28px; display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); }
.dept-facts button { min-width: 0; min-height: 92px; padding: 3px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; border: 0; border-right: 1px solid #e5eaf1; background: transparent; color: #17233a; text-align: center; }
.dept-facts button:last-child { border-right: 0; }.dept-facts button:disabled { cursor: default; opacity: 1; }
.dept-facts button:not(:disabled):hover { background: #f8fbff; }.dept-facts svg { width: 20px; color: #385579; }
.dept-facts small { color: #526987; font-size: .56rem; }.dept-facts strong { overflow: hidden; max-width: 100%; font-size: .68rem; text-overflow: ellipsis; white-space: nowrap; }.dept-facts em { color: #60728c; font-size: .55rem; font-style: normal; }.dept-facts button:not(:disabled) em { color: #0866f5; }

.dept-featured { grid-area: featured; min-height: 244px; padding: 0; display: flex; flex-direction: column; overflow: hidden; border-color: #dfe5ed; color: inherit; text-align: left; }
.dept-featured > header { min-height: 43px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ecf2; }.dept-featured > header strong { font-size: .72rem; }.dept-featured > header svg { width: 15px; }
.dept-featured > div { padding: 14px 16px; }.dept-featured h3 { font-size: .88rem; }.dept-featured > div > p { margin-top: 10px; color: #40516b; font-size: .62rem; line-height: 1.55; }.dept-featured time { margin-left: 7px; color: #718096; }
.dept-author { margin-top: 14px; display: flex; gap: 9px; align-items: center; }.dept-author > span:last-child { display: block; color: #61718a; font-size: .57rem; }.dept-author b,.dept-author small { display: block; }.dept-author b { color: #253650; }.dept-author small { margin-top: 2px; }
.dept-featured > footer { margin-top: auto; min-height: 42px; padding: 0 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; border-top: 1px solid #e7ecf2; color: #4c617e; font-size: .56rem; }.dept-featured footer span { display: flex; align-items: center; gap: 5px; }.dept-featured footer svg { width: 12px; }.dept-featured footer b { color: #0866f5; }
.dept-readers .dept-avatar { margin-left: -5px; border: 2px solid #fff; }.dept-readers i { font-style: normal; }

.dept-content { grid-area: content; min-height: 640px; overflow: hidden; }
.dept-tabs { min-height: 48px; padding: 0 16px; display: flex; gap: 5px; align-items: stretch; border-bottom: 1px solid #e6ebf1; overflow-x: auto; }
.dept-tabs > button { position: relative; min-width: max-content; padding: 0 14px; border: 0; background: transparent; color: #354866; font-size: .64rem; font-weight: 650; }.dept-tabs > button.active { color: #0866f5; }.dept-tabs > button.active::after { content:""; position:absolute; right:8px; bottom:0; left:8px; height:2px; background:#1473ff; }.dept-tabs > span { flex: 1; }.dept-tabs .dept-sort { display: inline-flex; align-items: center; gap: 8px; }.dept-tabs .dept-sort svg { width: 12px; }.dept-tabs .dept-primary,.dept-primary { min-height: 34px; align-self: center; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 7px; background: #116df2; color: #fff; }.dept-primary svg { width: 13px; }
.dept-tab-content { min-height: 580px; }
.dept-feed,.dept-question-list { display: grid; }
.dept-post { min-height: 118px; padding: 14px 16px; display: grid; grid-template-columns: 38px minmax(0,1fr) 54px; gap: 10px; border-bottom: 1px solid #e8edf3; }.dept-post.expanded { min-height: 205px; }
.dept-avatar { width: 34px; height: 34px; display: inline-grid; place-items: center; flex: 0 0 34px; border-radius: 50%; background: #e7edf5; color: #29415e; font-size: .58rem; font-weight: 750; }.dept-avatar.small { width: 28px; height: 28px; flex-basis: 28px; font-size: .51rem; }.dept-avatar.tiny { width: 23px; height: 23px; flex-basis: 23px; font-size: .45rem; }.dept-avatar.lavender,.dept-avatar.violet { background:#ebe5ff;color:#5f45bd }.dept-avatar.blue{background:#e3f0fa;color:#275c75}.dept-avatar.green{background:#dff5e9;color:#19714f}.dept-avatar.gold{background:#fff0bf;color:#795a00}.dept-avatar.navy{background:#10384a;color:#fff}
.dept-post-main { min-width: 0; }.dept-post-main > header { display: flex; gap: 10px; align-items: center; color: #68788f; font-size: .55rem; }.dept-post-main > header strong { color: #17233a; font-size: .64rem; }.dept-post-copy { margin-top: 7px; display: grid; grid-template-columns: 72px minmax(0,1fr); gap: 10px; align-items: start; }.dept-post-copy > button,.dept-question-copy > button { padding: 0; border: 0; background: transparent; color: inherit; text-align: left; }.dept-post-copy h3,.dept-question-copy h3 { font-size: .68rem; }.dept-post-copy p,.dept-question-copy p { margin-top: 5px; color: #4f617b; font-size: .58rem; line-height: 1.4; }
.dept-badge { display: inline-flex; min-height: 18px; padding: 0 7px; align-items: center; justify-content: center; border-radius: 999px; background: #ede6ff; color: #6547dd; font-size: .48rem; font-weight: 800; white-space: nowrap; }.dept-badge.question{background:#e7f1ff;color:#0866f5}.dept-badge.resource{background:#e4f7ed;color:#0b9368}.dept-badge.equipment{background:#f0e8ff;color:#7a45dd}.dept-badge.safety{background:#ffe8e8;color:#c5393f}.dept-badge.schedule_change{background:#fff4c9;color:#9b7300}.dept-badge.reminder{background:#fff0dc;color:#c66c14}
.dept-post-main > footer { margin-top: 9px; display: flex; gap: 18px; }.dept-post-main > footer button { padding: 0; display: inline-flex; align-items: center; gap: 5px; border: 0; background: transparent; color: #506783; font-size: .55rem; }.dept-post-main > footer button.active { color:#079b70 }.dept-post-main footer svg { width: 12px; }.dept-post-actions { display: flex; justify-content: flex-end; gap: 4px; }.dept-post-actions button { width: 25px; height: 25px; display: grid; place-items: center; border: 0; background: transparent; color: #526987; }.dept-post-actions svg { width: 13px; }
.dept-attachment { max-width: 310px; min-height: 34px; margin: 9px 0 0 82px; padding: 0 9px; display: grid; grid-template-columns: 16px minmax(0,1fr) auto 15px; gap: 7px; align-items: center; border: 1px solid #dde5ee; border-radius: 7px; background: #fff; color: #354866; text-align: left; font-size: .55rem; }.dept-attachment svg { width: 13px; }.dept-attachment small { color:#718096 }
.dept-thread { max-width: 470px; margin: 10px 0 0 0; border: 1px solid #dfe6ef; border-radius: 8px; overflow: hidden; }.dept-thread article { padding: 8px 10px; display: flex; gap: 8px; border-bottom: 1px solid #e8edf3; }.dept-thread article > span:not(.dept-avatar) { flex:1; }.dept-thread article strong,.dept-thread article small { margin-right:8px;font-size:.53rem }.dept-thread article p { margin-top:4px;color:#40516b;font-size:.55rem }.dept-thread article button { padding:0;border:0;background:transparent;color:#526987;font-size:.5rem }.dept-composer { min-height: 34px; padding: 4px 8px; display: flex; align-items: center; gap: 7px; }.dept-composer input { min-width:0;flex:1;border:0;outline:0;font-size:.54rem }.dept-composer button { width:24px;height:24px;display:grid;place-items:center;border:0;background:transparent;color:#526987 }.dept-composer svg { width:13px }
.dept-load-more { min-height: 42px; border: 0; background: #fff; color: #0866f5; font-size: .58rem; font-weight: 700; }.dept-load-more svg { width: 12px; vertical-align: middle; }

.dept-rail { grid-area: rail; display: grid; gap: 12px; }
.dept-side-card { overflow: hidden; }.dept-side-card > header { min-height: 42px; padding: 0 14px; display: grid; grid-template-columns: 18px minmax(0,1fr) 14px; gap: 7px; align-items: center; border-bottom: 1px solid #e7ecf2; }.dept-side-card header h3 { font-size: .68rem; }.dept-side-card header svg { width: 14px; color:#0866f5 }.dept-side-card header svg:last-child{color:#526987}
.dept-side-card dl { margin:0;padding:7px 14px;display:grid }.dept-side-card dl>div { min-height:56px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px;align-content:center }.dept-side-card dl svg { grid-row:1/3;width:14px;color:#4c6382 }.dept-side-card dt { color:#526987;font-size:.54rem }.dept-side-card dd { margin:3px 0 0;color:#17233a;font-size:.65rem;font-weight:700 }
.dept-reminder { width:100%;min-height:32px;padding:0 14px;display:flex;align-items:center;gap:7px;border:0;background:#fff8e5;color:#624c14;text-align:left;font-size:.57rem;font-weight:650 }.dept-reminder svg{width:13px;color:#ef9a16}
.dept-event-list { padding:9px 14px;display:grid;gap:8px }.dept-event-list button { padding:0;display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px;border:0;background:transparent;color:inherit;text-align:left }.dept-event-list time { min-height:38px;padding:5px;display:grid;place-content:center;border-radius:7px;background:#f5f7fb;color:#536176;font-size:.5rem;text-align:center;white-space:pre-line }.dept-event-list strong,.dept-event-list small { display:block }.dept-event-list strong { font-size:.6rem }.dept-event-list small { margin-top:3px;color:#63718a;font-size:.52rem }
.dept-side-link { width:100%;min-height:35px;border:0;background:#fff;color:#0866f5;font-size:.58rem;font-weight:700 }
.dept-kit-grid { padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px }.dept-kit-grid button { min-height:38px;padding:0 8px;display:flex;align-items:center;gap:7px;border:0;border-radius:7px;background:#eef5ff;color:#223650;text-align:left;font-size:.53rem;font-weight:650 }.dept-kit-grid button:nth-child(1){background:#eef8f3}.dept-kit-grid button:nth-child(3){background:#fff1f1}.dept-kit-grid button:nth-child(4){background:#f3eeff}.dept-kit-grid svg{width:14px;color:#0866f5}

.dept-question-card { padding:15px 16px;display:grid;grid-template-columns:38px minmax(0,1fr);gap:10px;border-bottom:1px solid #e7ecf2 }.dept-question-card>div>header{display:flex;align-items:center;gap:10px;color:#68788f;font-size:.55rem}.dept-question-card header strong{color:#17233a;font-size:.64rem}.dept-question-card header em{margin-left:auto;display:flex;align-items:center;gap:5px;color:#0b9368;font-style:normal}.dept-question-card header em.open{color:#b87900}.dept-question-card header svg{width:13px}.dept-question-copy{margin-top:8px;display:grid;grid-template-columns:66px minmax(0,1fr);gap:9px}.dept-question-card>div>footer{margin-top:9px;display:flex;align-items:center;gap:5px;color:#536b87;font-size:.55rem}.dept-question-card footer svg{width:13px}.dept-answer{margin-top:10px;border:1px solid #dfe6ef;border-radius:8px;overflow:hidden}.dept-answer article{padding:10px 12px;display:flex;gap:9px;border-bottom:1px solid #e7ecf2}.dept-answer article>span:not(.dept-avatar){flex:1}.dept-answer article header{display:flex;gap:8px}.dept-answer article p{margin-top:6px;color:#435572;font-size:.56rem;line-height:1.45}.dept-answer article button{margin:8px 10px 0 0;padding:0;border:0;background:transparent;color:#536b87;font-size:.5rem}.dept-answer article button svg{width:12px}

.dept-resources { padding:16px }.dept-resource-controls { display:flex;gap:9px;align-items:center }.dept-resource-controls>button,.dept-resource-search{min-height:34px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px solid #dce4ee;border-radius:7px;background:#fff;color:#42526b;font-size:.55rem}.dept-resource-search{width:270px}.dept-resource-search input{min-width:0;flex:1;border:0;outline:0}.dept-resource-search svg,.dept-resource-controls button svg{width:13px}.dept-resource-controls>span{flex:1}.dept-resource-controls>button.active{background:#eef4fb;color:#0866f5}.dept-resource-groups{margin-top:18px}.dept-resource-groups h4{margin:12px 0 7px;color:#536b87;font-size:.54rem;letter-spacing:.04em}.dept-resource-row{min-height:55px;padding:8px 10px;display:grid;grid-template-columns:32px minmax(0,1fr) 150px 60px 25px 25px 25px;gap:8px;align-items:center;border:1px solid #e1e7ef;border-bottom:0}.dept-resource-row:last-of-type{border-bottom:1px solid #e1e7ef}.dept-resource-row>span:first-child{width:28px;height:28px;display:grid;place-items:center;border-radius:6px;background:#edf4ff;color:#1670ef}.dept-resource-row>span.pdf{background:#fff0f0;color:#e34d4d}.dept-resource-row>span.sheet{background:#eaf8ef;color:#19a067}.dept-resource-row>span.text{background:#fff5df;color:#e08a18}.dept-resource-row svg{width:15px}.dept-resource-row>button{min-width:0;padding:0;border:0;background:transparent;color:#42526b;text-align:left}.dept-resource-row>button:nth-of-type(1) strong,.dept-resource-row>button:nth-of-type(1) small,.dept-resource-row time small{display:block}.dept-resource-row strong{color:#17233a;font-size:.62rem}.dept-resource-row small,.dept-resource-row time,.dept-resource-row em{color:#60728c;font-size:.52rem;font-style:normal}.dept-resource-row button:not(:first-of-type){display:grid;place-items:center}.dept-resource-groups.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.dept-resource-groups.grid h4{grid-column:1/-1}.dept-resource-groups.grid .dept-resource-row{min-height:110px;grid-template-columns:32px 1fr 25px;border:1px solid #e1e7ef;border-radius:8px}.dept-resource-groups.grid .dept-resource-row time,.dept-resource-groups.grid .dept-resource-row em,.dept-resource-groups.grid .dept-resource-row>button:nth-last-child(n+2){display:none}.dept-resources>footer{padding:20px;text-align:center;color:#60728c;font-size:.52rem}

.dept-equipment{padding:16px;display:grid;grid-template-columns:minmax(0,1.55fr) minmax(245px,.75fr);gap:14px}.dept-equipment h3{margin:0 0 8px;font-size:.68rem}.dept-package{width:100%;min-height:86px;margin-bottom:8px;padding:8px;display:grid;grid-template-columns:54px minmax(0,1fr) auto 225px;gap:10px;align-items:center;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:inherit;text-align:left}.dept-package>span{width:54px;height:54px;display:grid;place-items:center;border-radius:7px;background:#f1f4f8;color:#243c58}.dept-package>span svg{width:29px}.dept-package>div strong,.dept-package>div small,.dept-package>div em{display:block}.dept-package>div strong{font-size:.68rem}.dept-package>div small{margin-top:3px;color:#536b87;font-size:.53rem}.dept-package>div em{margin-top:9px;color:#536b87;font-size:.49rem;font-style:normal}.dept-package>i,.dept-equipment-list em{padding:4px 7px;border-radius:999px;background:#e7f8ef;color:#078a62;font-size:.48rem;font-style:normal;font-weight:750}.dept-package>i.picked-up,.dept-equipment-list em.picked-up{background:#e8f2ff;color:#0866f5}.dept-package dl{display:grid;grid-template-columns:1fr .7fr;gap:12px}.dept-package dt{color:#60728c;font-size:.48rem}.dept-package dd{margin:4px 0 0;font-size:.54rem}.dept-equipment-main>h3:nth-of-type(2){margin-top:15px}.dept-equipment-list{display:grid}.dept-equipment-list>button{min-height:46px;padding:7px 10px;display:grid;grid-template-columns:20px minmax(0,1fr) 35px 90px 150px 15px;gap:8px;align-items:center;border:1px solid #e2e7ee;border-bottom:0;background:#fff;color:#17233a;text-align:left}.dept-equipment-list>button:last-child{border-bottom:1px solid #e2e7ee}.dept-equipment-list svg{width:16px;color:#395674}.dept-equipment-list strong{font-size:.58rem}.dept-equipment-list span{font-size:.54rem}.dept-equipment-list small{color:#60728c;font-size:.5rem}.dept-equipment-list>button>svg:last-child{width:12px}.dept-equipment>aside{display:grid;gap:12px;align-content:start}.dept-handoff,.dept-return{padding:14px;border:1px solid #dfe6ef;border-radius:9px}.dept-handoff header,.dept-return header{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e7ecf2;padding-bottom:10px}.dept-handoff header svg,.dept-return header svg{width:16px;color:#0866f5}.dept-handoff header h3,.dept-return header h3{margin:0;flex:1}.dept-handoff header button{padding:0;border:0;background:transparent;color:#0866f5;font-size:.5rem}.dept-handoff>p,.dept-return>p{margin-top:12px;color:#60728c;font-size:.5rem}.dept-handoff>div{margin-top:7px;display:flex;gap:8px;align-items:center}.dept-handoff>div strong{flex:1;font-size:.55rem}.dept-handoff>div strong small{color:#60728c;font-weight:500}.dept-handoff>div time{font-size:.5rem}.dept-handoff>svg{width:14px;margin:10px 0 0 50%;color:#395674}.dept-return>strong{display:block;margin-top:5px;font-size:.6rem}.dept-return>button{width:100%;min-height:34px;margin-top:15px;border:1px solid #1670ef;border-radius:7px;background:#fff;color:#0866f5;font-size:.55rem;font-weight:700}

.dept-safety{padding:20px}.dept-safety>header{display:flex;gap:12px;align-items:center}.dept-safety>header>svg{width:33px;color:#6f47e9}.dept-safety>header h3{font-size:.75rem}.dept-safety>header p{margin-top:3px;color:#526987;font-size:.55rem}.dept-safety-grid{margin-top:18px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.dept-safety-grid>button{min-height:176px;padding:18px;display:grid;grid-template-columns:54px minmax(0,1fr);gap:14px;border:1px solid #dfe6ef;border-radius:9px;background:#fff;color:inherit;text-align:left}.dept-safety-grid>button>span{width:54px;height:54px;display:grid;place-items:center;border-radius:50%;background:#fff2d9;color:#e7960b}.dept-safety-grid>button>span.purple{background:#efe7ff;color:#7145e8}.dept-safety-grid>button>span.blue{background:#e5f2ff;color:#1975ed}.dept-safety-grid>button>span.green{background:#e2f7ed;color:#15a26e}.dept-safety-grid svg{width:27px}.dept-safety-grid h3{font-size:.74rem}.dept-safety-grid ul{margin:12px 0 0;padding-left:17px;display:grid;gap:9px;color:#31445f;font-size:.57rem}.dept-emergency{min-height:82px;margin-top:14px;padding:12px 16px;display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:14px;align-items:center;border:1px solid #ffb7b7;border-radius:9px;background:#fff6f6}.dept-emergency>svg{width:30px;color:#ef3f48}.dept-emergency strong{font-size:.65rem}.dept-emergency p{margin-top:4px;color:#60728c;font-size:.52rem}.dept-emergency dl{display:flex}.dept-emergency dl>div{min-width:130px;padding:0 18px;border-left:1px solid #efd8d8}.dept-emergency dt{color:#60728c;font-size:.5rem}.dept-emergency dd{margin:5px 0 0;color:#e3323d;font-size:.65rem;font-weight:750}.dept-emergency a{min-height:34px;padding:0 14px;display:inline-flex;align-items:center;gap:7px;border:1px solid #f06d73;border-radius:7px;color:#d72f38;text-decoration:none;font-size:.55rem;font-weight:700}.dept-emergency a svg{width:13px}

.dept-overlay{position:fixed;inset:0;z-index:300;padding:20px;display:grid;place-items:center;background:rgba(24,34,50,.48);backdrop-filter:blur(2px)}.dept-overlay-panel{width:min(660px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe5ed;border-radius:14px;background:#fff;color:#17233a;box-shadow:0 28px 80px rgba(15,23,42,.28)}.dept-overlay-panel.drawer{position:fixed;inset:18px 18px 18px auto;width:min(610px,calc(100vw - 36px));max-height:none}.dept-overlay-panel>header{min-height:64px;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ecf2}.dept-overlay-panel>header h2{font-size:1rem}.dept-overlay-panel>header button{width:34px;height:34px;display:grid;place-items:center;border:0;background:transparent;color:#536176}.dept-overlay-panel>header svg{width:17px}.dept-overlay-body{min-height:0;padding:18px;overflow:auto}.dept-overlay-body>label{margin-bottom:14px;display:grid;gap:7px;color:#354866;font-size:.65rem;font-weight:650}.dept-overlay-body input,.dept-overlay-body textarea,.dept-overlay-body select{width:100%;padding:10px 11px;border:1px solid #dce4ee;border-radius:8px;background:#fff;color:#17233a;outline:0;font-weight:450}.dept-overlay-body input:focus,.dept-overlay-body textarea:focus,.dept-overlay-body select:focus{border-color:#2f80ed;box-shadow:0 0 0 3px rgba(47,128,237,.1)}.dept-overlay-panel>footer{padding:13px 18px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e7ecf2}.dept-overlay-panel>footer button{min-height:36px;padding:0 13px;display:inline-flex;align-items:center;gap:6px;border:1px solid #dce4ee;border-radius:8px;background:#fff;color:#42526b;font-size:.62rem;font-weight:700}.dept-overlay-panel>footer button.primary{border-color:#116df2;background:#116df2;color:#fff}.dept-overlay-panel>footer svg{width:13px}.dept-member-tabs{display:flex;gap:7px}.dept-member-tabs button{min-height:32px;padding:0 10px;border:1px solid #dfe6ef;border-radius:999px;background:#fff;color:#526987;font-size:.57rem}.dept-member-tabs button.active{background:#edf4ff;color:#0866f5}.dept-member-list{margin-top:15px;display:grid;gap:8px}.dept-member-list article{padding:10px;display:grid;grid-template-columns:36px minmax(0,1fr) 28px auto;gap:10px;align-items:center;border:1px solid #e1e7ef;border-radius:8px}.dept-member-list article strong,.dept-member-list article small,.dept-member-list article span{display:block}.dept-member-list article strong{font-size:.65rem}.dept-member-list article small,.dept-member-list article span{margin-top:3px;color:#60728c;font-size:.54rem}.dept-member-list article>a{color:#536b87}.dept-member-list article>a svg{width:15px}.dept-member-list article>button{min-height:30px;padding:0 9px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#0866f5;font-size:.54rem}.dept-upload{min-height:38px;padding:0 11px;display:flex;align-items:center;gap:7px;border:1px dashed #bdc9d8;border-radius:8px;background:#f9fbfd;color:#526987;font-size:.58rem}.dept-upload svg{width:14px}.dept-preview-icon{width:64px;height:64px;display:grid;place-items:center;border-radius:14px;background:#edf4ff;color:#0866f5}.dept-preview-icon svg{width:30px}.dept-overlay-body>h3{margin-top:14px;font-size:.85rem}.dept-overlay-body>p{margin-top:7px;color:#536176;font-size:.62rem;line-height:1.55}.dept-detail-list{margin-top:18px;display:grid}.dept-detail-list>div{min-height:44px;padding:9px 0;display:grid;grid-template-columns:130px minmax(0,1fr);gap:12px;border-bottom:1px solid #e7ecf2}.dept-detail-list dt{color:#60728c;font-size:.58rem}.dept-detail-list dd{margin:0;color:#263650;font-size:.62rem}.dept-document-preview{min-height:170px;margin-top:18px;display:grid;place-items:center;border:1px solid #dfe6ef;border-radius:9px;background:#f6f8fb;color:#718096;font-size:.6rem}.dept-equipment-hero{padding:13px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;border-radius:10px;background:#f2f7fd}.dept-equipment-hero>span{width:46px;height:46px;display:grid;place-items:center;border-radius:10px;background:#fff;color:#287df0}.dept-equipment-hero svg{width:23px}.dept-equipment-hero small{color:#60728c;font-size:.54rem}.dept-equipment-hero h3{margin-top:5px}.dept-equipment-hero p{margin-top:3px}.dept-equipment-hero em{padding:5px 8px;border-radius:999px;background:#e5f8ef;color:#078a62;font-size:.53rem;font-style:normal}.dept-safety-detail{padding:12px;display:grid;grid-template-columns:20px minmax(0,1fr);gap:9px;border:1px solid #e1e7ef;border-radius:8px}.dept-safety-detail+article{margin-top:8px}.dept-safety-detail svg{width:17px;color:#0a9b70}.dept-safety-detail p{margin:0!important}.dept-kit-drawer{display:grid;gap:10px}.dept-kit-drawer button{min-height:84px;padding:15px;display:grid;grid-template-columns:minmax(0,1fr) 18px;border:1px solid #e1e7ef;border-radius:9px;background:#fff;color:#17233a;text-align:left}.dept-kit-drawer strong{font-size:.7rem}.dept-kit-drawer p{grid-column:1;margin-top:7px;color:#60728c;font-size:.58rem}.dept-kit-drawer svg{grid-column:2;grid-row:1/3;width:15px;align-self:center}.dept-overlay-eyebrow{color:#6c4de0!important;font-weight:800;text-transform:uppercase}.dept-event-detail{margin-top:12px;padding:11px;display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px;border:1px solid #e1e7ef;border-radius:8px}.dept-event-detail svg{width:18px;color:#526987}.dept-event-detail strong{display:block;margin-bottom:4px;font-size:.57rem}.dept-event-detail span{color:#42526b;font-size:.61rem}.dept-post-detail>.dept-badge{margin-top:15px}.dept-post-detail>h3{margin-top:10px;font-size:1rem}.dept-post-detail>p{margin-top:8px;color:#42526b;font-size:.65rem;line-height:1.55}.dept-post-readers{margin-top:15px;padding:10px;border-radius:8px;background:#f4f7fb;color:#526987;font-size:.58rem}.dept-post-readers svg{width:14px;vertical-align:middle}.dept-post-detail>section{margin-top:18px}.dept-post-detail>section h4{margin-bottom:9px;font-size:.68rem}

@media (max-width: 1120px){.dept-layout{grid-template-columns:minmax(0,1fr) 285px}.dept-facts button{padding-inline:7px}.dept-resources{padding:13px}.dept-resource-controls{flex-wrap:wrap}.dept-resource-controls>span{display:none}.dept-resource-row{grid-template-columns:32px minmax(0,1fr) 120px 50px 25px 25px 25px}.dept-package{grid-template-columns:48px minmax(0,1fr) auto}.dept-package dl{grid-column:2/-1}.dept-equipment{grid-template-columns:1fr}.dept-equipment>aside{grid-template-columns:1fr 1fr}}
@media (max-width: 900px){.dept-layout{grid-template-columns:1fr;grid-template-areas:"identity" "featured" "content" "rail"}.dept-rail{grid-template-columns:repeat(2,1fr)}.dept-rail>.dept-side-card:last-child{grid-column:1/-1}.dept-facts{grid-template-columns:repeat(3,1fr);gap:12px 0}.dept-facts button:nth-child(3){border-right:0}.dept-content{min-height:0}.dept-overlay-panel.drawer{position:static;width:100%;max-height:calc(100vh - 40px)}}
@media (max-width: 680px){.department-page{padding-bottom:88px}.dept-identity-card{padding:16px}.dept-identity-card>header{align-items:flex-start}.dept-identity-icon{width:54px;height:54px;flex-basis:54px}.dept-title-line{align-items:flex-start;flex-wrap:wrap}.dept-title-line h2{font-size:.86rem}.dept-identity-card header p br{display:none}.dept-facts{grid-template-columns:1fr 1fr}.dept-facts button{border-right:0;border-bottom:1px solid #e7ecf2}.dept-tabs{padding-inline:6px}.dept-tabs>button{padding-inline:10px}.dept-tabs>span,.dept-tabs .dept-sort{display:none}.dept-tabs .dept-primary{position:absolute;right:17px;margin-top:52px;z-index:2}.dept-post{grid-template-columns:34px minmax(0,1fr);padding:13px 12px}.dept-post-actions{grid-column:2}.dept-post-copy,.dept-question-copy{grid-template-columns:1fr}.dept-attachment{margin-left:0}.dept-question-card{grid-template-columns:32px minmax(0,1fr);padding-inline:12px}.dept-question-card>div>header{flex-wrap:wrap}.dept-question-card header em{margin-left:0}.dept-resource-controls>button:nth-of-type(1),.dept-resource-controls>button:nth-of-type(2),.dept-resource-controls>button:nth-of-type(3){display:none}.dept-resource-search{width:100%}.dept-resource-row{grid-template-columns:30px minmax(0,1fr) 24px}.dept-resource-row time,.dept-resource-row em,.dept-resource-row>button:nth-last-child(n+2){display:none}.dept-equipment{padding:12px}.dept-package{grid-template-columns:44px minmax(0,1fr) auto}.dept-package dl{grid-column:1/-1}.dept-equipment-list>button{grid-template-columns:18px minmax(0,1fr) 30px 72px 14px}.dept-equipment-list small{display:none}.dept-equipment>aside{grid-template-columns:1fr}.dept-safety{padding:14px}.dept-safety-grid{grid-template-columns:1fr}.dept-emergency{grid-template-columns:40px minmax(0,1fr)}.dept-emergency dl,.dept-emergency a{grid-column:1/-1}.dept-rail{grid-template-columns:1fr}.dept-rail>.dept-side-card:last-child{grid-column:auto}.dept-overlay{padding:0;align-items:end}.dept-overlay-panel,.dept-overlay-panel.drawer{position:static;width:100%;max-height:94vh;border-radius:16px 16px 0 0}.dept-overlay-panel>footer{display:grid;grid-template-columns:1fr 1fr}.dept-overlay-panel>footer button{justify-content:center}.dept-detail-list>div{grid-template-columns:100px minmax(0,1fr)}}


/* Call Sheet — crew-facing production day hub */
.tf-main:has(.call-sheet-page) { overflow:auto; }
.call-sheet-page { min-width:0; padding:0 2px 28px; display:grid; gap:14px; color:#17233a; }
.call-sheet-page button,.call-sheet-page a,.call-sheet-modal button,.call-sheet-modal a { font:inherit; }
.call-sheet-toolbar { min-height:46px; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.call-sheet-date-nav,.call-sheet-toolbar-actions { display:flex; align-items:center; gap:8px; }
.call-sheet-toolbar button { min-height:36px; padding:0 11px; display:inline-flex; align-items:center; gap:7px; border:1px solid #dfe6ef; border-radius:9px; background:#fff; color:#42526b; font-size:.63rem; font-weight:700; box-shadow:0 3px 10px rgba(15,23,42,.025); }
.call-sheet-date-nav > button:not(.call-sheet-date-button) { width:34px; padding:0; justify-content:center; border-color:transparent; background:transparent; box-shadow:none; }
.call-sheet-date-nav > span { margin:0 4px; color:#40506a; font-size:.64rem; font-weight:750; white-space:nowrap; }
.call-sheet-toolbar svg { width:14px; }
.call-sheet-card,.call-sheet-header-card,.call-sheet-acknowledgement { min-width:0; overflow:hidden; border:1px solid #dfe5ed; border-radius:14px; background:#fff; box-shadow:0 5px 18px rgba(15,23,42,.035); }
.call-sheet-card { display:flex; flex-direction:column; padding:16px 16px 0; }
.call-sheet-card > h2 { min-height:25px; color:#465a7a; font-size:.66rem; font-weight:850; letter-spacing:.02em; }
.call-sheet-card > h2 > button,.lower-card-head button { float:right; padding:0; border:0; background:transparent; color:#0866f5; font-size:.56rem; font-weight:700; }
.call-sheet-card > footer { min-height:43px; margin:14px -16px 0; padding:0 16px; display:flex; align-items:center; justify-content:center; border-top:1px solid #e7ecf2; }
.call-sheet-card-link { border:0; background:transparent; color:#0866f5; font-size:.59rem; font-weight:750; }
.call-sheet-card-link svg { width:13px; margin-left:9px; vertical-align:middle; }
.call-sheet-header-card { min-height:164px; padding:24px; display:grid; grid-template-columns:64px minmax(0,1fr) 250px; gap:18px; align-items:start; cursor:pointer; }
.call-sheet-main-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:12px; background:#eee8ff; color:#7a50eb; }.call-sheet-main-icon svg{width:30px;}
.call-sheet-header-main > p { color:#4e6485; font-size:.65rem; font-weight:850; letter-spacing:.04em; }.call-sheet-header-main h2{margin-top:7px;font-size:1.28rem;line-height:1.15;}
.call-sheet-header-times { margin-top:22px; display:flex; gap:30px; }.call-sheet-header-times .call-sheet-fact{min-width:105px;}
.call-sheet-fact { min-width:0; display:grid; grid-template-columns:18px minmax(0,1fr); gap:8px; align-items:start; }.call-sheet-fact>svg{width:15px;color:#4c6282}.call-sheet-fact small,.call-sheet-fact strong,.call-sheet-fact em{display:block}.call-sheet-fact small{color:#5e6d85;font-size:.56rem}.call-sheet-fact strong{margin-top:4px;color:#263650;font-size:.65rem}.call-sheet-fact em{margin-top:3px;color:#718096;font-size:.53rem;font-style:normal;line-height:1.4}
.call-sheet-header-card > aside { min-height:115px; padding-left:24px; display:flex; flex-direction:column; gap:8px; border-left:1px solid #e1e7ef; }.call-sheet-header-card aside>span{align-self:flex-start;padding:5px 9px;border-radius:999px;background:#e9f9f3;color:#079b70;font-size:.57rem;font-weight:750}.call-sheet-header-card aside>small{color:#5b6b82;font-size:.56rem}.call-sheet-header-card aside svg{width:12px;vertical-align:middle}.call-sheet-header-card aside button{align-self:flex-start;padding:0;border:0;background:transparent;color:#0866f5;font-size:.57rem;font-weight:700}.call-sheet-update-link{color:#697a91!important;font-weight:600!important}
.call-sheet-priority-grid { display:grid; grid-template-columns:minmax(310px,.82fr) minmax(0,1.18fr); gap:10px; }.my-call-card,.production-overview-card{min-height:285px;}
.my-call-time { margin:7px 0 18px; display:flex; align-items:center; gap:12px; }.my-call-time>span{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#e5f8ef;color:#0aa474}.my-call-time>span svg{width:22px}.my-call-time strong,.my-call-time small{display:block}.my-call-time strong{color:#07996d;font-size:1.65rem;line-height:1}.my-call-time small{margin-top:5px;color:#263650;font-size:.62rem;font-weight:700}.my-call-empty{margin:12px 0;padding:14px;border-radius:9px;background:#f5f7fa;color:#536176;font-size:.7rem}
.my-call-details { display:grid; gap:10px }.my-call-details>div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px;align-items:center}.my-call-details dt{display:flex;align-items:center;gap:8px;color:#596a84;font-size:.56rem}.my-call-details dt svg{width:13px}.my-call-details dd{margin:0;overflow:hidden;color:#2b3b55;font-size:.59rem;text-overflow:ellipsis;white-space:nowrap}.my-call-transport{margin-top:12px;padding-top:10px;display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:10px;align-items:start;border-top:1px solid #e6ebf1}.my-call-transport>span{display:flex;gap:8px;color:#596a84;font-size:.56rem}.my-call-transport svg{width:13px}.my-call-transport>div{display:grid;grid-template-columns:16px minmax(0,1fr);gap:5px}.my-call-transport>div svg{grid-row:1/3;color:#36516f}.my-call-transport strong,.my-call-transport small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.58rem}.my-call-transport small{color:#718096}.my-call-transport>em{padding:4px 8px;border-radius:999px;background:#e8f8f1;color:#079b70;font-size:.52rem;font-style:normal;font-weight:700}
.production-overview-grid { flex:1; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }.production-overview-grid>div{min-width:0;padding:13px;display:grid;grid-template-columns:18px minmax(0,1fr);gap:7px;align-content:center;border-right:1px solid #e7ecf2;border-bottom:1px solid #e7ecf2}.production-overview-grid>div:nth-child(3n){border-right:0}.production-overview-grid>div:nth-last-child(-n+3){border-bottom:0}.production-overview-grid svg{width:14px;color:#4e6485}.production-overview-grid small,.production-overview-grid strong{display:block}.production-overview-grid small{color:#52627a;font-size:.55rem}.production-overview-grid strong{margin-top:5px;color:#263650;font-size:.67rem}.production-overview-grid strong small{margin-top:3px;color:#718096;font-size:.5rem;font-weight:500}
.call-sheet-logistics-grid { display:grid; grid-template-columns:.86fr 1.02fr 1.02fr; gap:10px; }.call-sheet-logistics-grid>.call-sheet-card{min-height:290px}.weather-summary{margin:6px 0 14px;display:flex;align-items:center;gap:14px}.weather-summary>span{width:52px;height:52px;display:grid;place-items:center;color:#f5a51c}.weather-summary>span svg{width:42px}.weather-summary small,.weather-summary strong,.weather-summary em{display:block}.weather-summary small{font-size:.59rem}.weather-summary strong{margin-top:4px;color:#4a5e7e;font-size:1.05rem}.weather-summary em{margin-top:5px;color:#52627a;font-size:.56rem;font-style:normal}.call-sheet-detail-list{display:grid;gap:12px}.call-sheet-detail-list .call-sheet-fact{grid-template-columns:18px 100px minmax(0,1fr)}.call-sheet-detail-list .call-sheet-fact>span{display:contents}.call-sheet-detail-list .call-sheet-fact small{align-self:center}.call-sheet-detail-list .call-sheet-fact strong{margin:0;text-align:right}.call-sheet-detail-list .call-sheet-fact em{grid-column:3;text-align:right}.weather-source{margin-top:auto;padding-top:10px;display:flex;align-items:center;gap:5px;color:#8792a4;font-size:.5rem}.weather-source svg{width:11px}.call-sheet-weather-skeleton{display:grid;gap:12px}.call-sheet-weather-skeleton i{height:34px;border-radius:8px;background:#eef2f6}.call-sheet-empty-state{min-height:150px;display:grid;place-content:center;justify-items:center;gap:8px;color:#8792a4;text-align:center}.call-sheet-empty-state svg{width:25px}.call-sheet-empty-state strong{color:#42526b;font-size:.7rem}.call-sheet-empty-state p{max-width:240px;font-size:.59rem;line-height:1.45}
.location-title,.transport-title{margin:5px 0 20px;display:grid;grid-template-columns:26px minmax(0,1fr);gap:8px;align-items:start}.location-title>svg,.transport-title>svg{width:20px;color:#0ab27e}.transport-title>svg{color:#2381ef}.location-title strong,.location-title small,.transport-title strong,.transport-title small{display:block}.location-title strong,.transport-title strong{font-size:.78rem}.location-title small,.transport-title small{margin-top:5px;color:#63718a;font-size:.56rem}
.call-sheet-schedule-grid { display:grid; grid-template-columns:minmax(0,1.9fr) minmax(270px,.8fr); gap:10px; }.shooting-schedule-card,.cast-calls-card{min-height:280px}.call-sheet-table-wrap{min-width:0;overflow-x:auto}.shooting-schedule-table{width:100%;border-collapse:collapse;table-layout:fixed}.shooting-schedule-table th{padding:9px;color:#7b8799;font-size:.5rem;text-align:left;text-transform:uppercase}.shooting-schedule-table td{padding:9px;border-top:1px solid #e9edf3;color:#263650;font-size:.56rem}.shooting-schedule-table th:nth-child(1){width:14%}.shooting-schedule-table th:nth-child(2){width:12%}.shooting-schedule-table th:nth-child(3){width:28%}.shooting-schedule-table tr.scene{cursor:pointer}.shooting-schedule-table tr.scene:hover td{background:#f7faff}.shooting-schedule-table tr.meal td{background:#eaf9f3;color:#078e67}.shooting-schedule-table svg{width:13px}.compact-call-table{display:grid}.compact-call-table>div{min-height:38px;display:grid;grid-template-columns:1fr .9fr .7fr;gap:7px;align-items:center;border-bottom:1px solid #edf1f5;font-size:.55rem}.compact-call-table b{color:#7b8799;font-size:.49rem;text-transform:uppercase}.compact-call-table time{text-align:right}
.call-sheet-lower-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.lower-call-card{min-height:230px}.card-tone-icon{width:25px;height:25px;margin-right:7px;display:inline-grid;place-items:center;border-radius:8px;vertical-align:middle}.card-tone-icon svg{width:14px}.card-tone-icon.orange{background:#fff1e4;color:#f0812d}.card-tone-icon.purple{background:#f0eaff;color:#7c58e7}.card-tone-icon.red{background:#ffe8e8;color:#e65050}.card-tone-icon.blue{background:#e8f3ff;color:#2080ee}.lower-card-title,.lower-call-card>small{display:block}.lower-card-title{margin-top:5px;font-size:.68rem}.lower-call-card>small{margin-top:5px;color:#5f6f86;font-size:.54rem;line-height:1.45}.lower-call-card>p{margin-top:15px;color:#52627a;font-size:.56rem;line-height:1.5}.diet-pills{margin-top:auto;display:flex;flex-wrap:wrap;gap:5px}.diet-pills span{padding:4px 7px;border-radius:999px;background:#e8f8f1;color:#079b70;font-size:.48rem}.lower-card-head{margin-top:5px;display:flex;justify-content:space-between}.lower-card-head strong{font-size:.65rem}.department-call-list{margin-top:10px;display:grid}.department-call-list>div{min-height:28px;padding:0 5px;display:flex;align-items:center;justify-content:space-between;font-size:.53rem}.department-call-list .you{border-radius:7px;background:#eaf9f3;color:#078e67}.instruction-preview{margin:7px 0 0 16px;display:grid;gap:9px;color:#34455e;font-size:.54rem;line-height:1.3}.instruction-preview .critical{color:#ba3e3e}.contact-preview{display:grid}.contact-preview>div{min-height:33px;display:grid;grid-template-columns:90px minmax(0,1fr) 18px;gap:6px;align-items:center;font-size:.51rem}.contact-preview a{color:#3b5877}.contact-preview svg{width:12px}
.call-sheet-acknowledgement{min-height:88px;padding:17px 24px;display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center}.call-sheet-acknowledgement>span{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:#e5f8ef;color:#0aa474}.call-sheet-acknowledgement svg{width:21px}.call-sheet-acknowledgement strong,.call-sheet-acknowledgement small{display:block}.call-sheet-acknowledgement strong{color:#4d6180;font-size:.63rem}.call-sheet-acknowledgement small{margin-top:5px;color:#718096;font-size:.55rem}.call-sheet-acknowledgement button{min-height:36px;padding:0 16px;border:1px solid #80d9b9;border-radius:8px;background:#fff;color:#079b70;font-size:.56rem;font-weight:700}.call-sheet-acknowledgement button:disabled{background:#e9f9f3;opacity:.75}

/* Call Sheet overlays */
.call-sheet-modal-backdrop{position:fixed;inset:0;z-index:260;padding:20px;display:grid;place-items:center;background:rgba(29,40,58,.45);backdrop-filter:blur(2px)}
.call-sheet-modal{width:min(620px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;border:1px solid #dfe5ed;border-radius:14px;background:#fff;color:#17233a;box-shadow:0 28px 80px rgba(15,23,42,.28)}.call-sheet-modal.full-call-sheet-modal{width:min(880px,100%)}
.call-sheet-modal>header{min-height:66px;padding:15px 18px;display:flex;justify-content:space-between;align-items:start;border-bottom:1px solid #e7ecf2}.call-sheet-modal>header p{color:#526987;font-size:.53rem;font-weight:800}.call-sheet-modal>header h2{margin-top:5px;font-size:1.02rem}.call-sheet-modal>header>button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:#596980}.call-sheet-modal>header svg{width:16px}.call-sheet-modal-body{min-height:0;padding:18px;overflow:auto}.call-sheet-modal-body>section{margin-top:20px}.call-sheet-modal-body h3{margin-bottom:10px;color:#33445f;font-size:.7rem}.call-sheet-modal-body p,.call-sheet-modal-body li{color:#536176;font-size:.61rem;line-height:1.5}.call-sheet-modal>footer{padding:12px 18px;display:flex;justify-content:flex-end;gap:7px;flex-wrap:wrap;border-top:1px solid #e7ecf2}.call-sheet-modal>footer button,.call-sheet-modal>footer a{min-height:34px;padding:0 11px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #dfe6ef;border-radius:8px;background:#fff;color:#42526b;font-size:.56rem;font-weight:700;text-decoration:none}.call-sheet-modal>footer .primary{border-color:#116df2;background:#116df2;color:#fff}.call-sheet-modal>footer svg{width:12px}.modal-lead{margin:-4px 0 15px;color:#718096!important}.call-sheet-modal-details{display:grid}.call-sheet-modal-details>div{min-height:48px;padding:9px 0;display:grid;grid-template-columns:145px minmax(0,1fr);gap:12px;border-bottom:1px solid #e9edf3}.call-sheet-modal-details dt{color:#63718a;font-size:.56rem}.call-sheet-modal-details dd{margin:0;color:#263650;font-size:.61rem}.call-sheet-modal-details dd small{display:block;margin-top:4px;color:#718096;line-height:1.45}.full-call-sheet-meta{display:flex;justify-content:flex-end}.full-call-sheet-meta span{padding:5px 9px;border-radius:999px;background:#e9f9f3;color:#079b70;font-size:.54rem;font-weight:700}.full-call-sheet-personal{padding:14px;border-radius:10px;background:#f5faf8}.full-call-sheet-personal>strong{display:block;color:#079b70;font-size:1.45rem}.full-call-sheet-personal>span{display:block;margin-top:4px;font-size:.6rem}.full-call-sheet-notes{display:grid;grid-template-columns:1fr 1fr;gap:10px}.full-call-sheet-notes>div{padding:12px;border:1px solid #e2e8f0;border-radius:9px}.version-history-list{display:grid}.version-history-list>button{position:relative;padding:14px 80px 14px 0;display:block;border:0;border-bottom:1px solid #e7ecf2;background:#fff;text-align:left}.version-history-list strong,.version-history-list small,.version-history-list p{display:block}.version-history-list strong{color:#087a59;font-size:.68rem}.version-history-list small{margin-top:4px;color:#718096;font-size:.55rem}.version-history-list p{margin-top:9px;color:#42526b;font-size:.6rem}.version-history-list em{position:absolute;top:14px;right:0;color:#8792a4;font-size:.51rem;font-style:normal}.transport-modal-hero{margin-bottom:12px;padding:13px;display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;border-radius:10px;background:#f1f7ff}.transport-modal-hero>svg{width:21px;color:#287df0}.transport-modal-hero strong,.transport-modal-hero small{display:block}.transport-modal-hero small{margin-top:4px;color:#718096}.transport-modal-hero em{padding:4px 7px;border-radius:999px;background:#e5f8ef;color:#079b70;font-size:.51rem;font-style:normal}.modal-data-table{display:grid;min-width:540px}.modal-data-table>div{min-height:46px;padding:8px;display:grid;grid-template-columns:1.2fr .65fr 1fr 1.3fr;gap:8px;align-items:center;border-bottom:1px solid #e7ecf2;color:#42526b;font-size:.55rem}.modal-data-table>div:first-child{color:#7b8799;font-size:.49rem;text-transform:uppercase}.modal-data-table span strong,.modal-data-table span small{display:block}.modal-data-table span small{margin-top:3px;color:#718096}.modal-data-table.cast>div{grid-template-columns:1.25fr repeat(5,.7fr)}.instruction-groups{display:grid;gap:10px}.instruction-groups section{padding:12px;border:1px solid #e3e9f1;border-radius:9px}.instruction-groups p{display:flex;gap:7px;align-items:start}.instruction-groups p.critical{color:#b84040}.instruction-groups svg{width:14px;flex:0 0 14px}.contact-modal-list{display:grid;gap:8px}.contact-modal-list article{padding:10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto auto auto;gap:8px;align-items:center;border:1px solid #e2e8f0;border-radius:9px}.contact-modal-list>article>span{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:#eaf3ff;color:#287df0}.contact-modal-list svg{width:15px}.contact-modal-list strong,.contact-modal-list small,.contact-modal-list em{display:block}.contact-modal-list small,.contact-modal-list em{margin-top:3px;color:#718096;font-size:.52rem;font-style:normal}.contact-modal-list a,.contact-modal-list button{min-height:30px;padding:0 8px;display:inline-flex;align-items:center;gap:4px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#42526b;font-size:.51rem;text-decoration:none}.weather-modal-summary{padding:14px;display:flex;align-items:center;gap:12px;border-radius:10px;background:#f6f9fd}.weather-modal-summary span{color:#f5a51c}.weather-modal-summary svg{width:30px}.weather-modal-summary strong{font-size:.7rem}.weather-modal-summary b{margin-left:auto;color:#4b5f7e;font-size:1rem}.hourly-forecast{display:flex;gap:6px;overflow-x:auto}.hourly-forecast span{min-width:130px;padding:9px;border:1px solid #e2e8f0;border-radius:8px;color:#52627a;font-size:.53rem}.weather-prep-note{margin-top:15px;padding:11px;display:flex;gap:8px;border-radius:8px;background:#fff8e8;color:#8a6616;font-size:.57rem}.weather-prep-note svg{width:15px}.updated-list{margin:10px 0 0 18px;display:grid;gap:7px}

@media (max-width:1100px){.call-sheet-toolbar{align-items:flex-start}.call-sheet-date-nav,.call-sheet-toolbar-actions{flex-wrap:wrap}.call-sheet-priority-grid{grid-template-columns:1fr 1.15fr}.call-sheet-logistics-grid{grid-template-columns:1fr 1fr}.call-sheet-logistics-grid>.transportation-card{grid-column:1/-1}.call-sheet-lower-grid{grid-template-columns:1fr 1fr}.call-sheet-schedule-grid{grid-template-columns:1fr}.cast-calls-card{min-height:auto}.call-sheet-header-card{grid-template-columns:58px minmax(0,1fr) 210px}}
@media (max-width:900px){.call-sheet-toolbar{display:grid}.call-sheet-toolbar-actions{justify-content:flex-end}.call-sheet-header-card{grid-template-columns:52px minmax(0,1fr)}.call-sheet-header-card>aside{grid-column:1/-1;min-height:auto;padding:12px 0 0;display:grid;grid-template-columns:auto 1fr 1fr;align-items:center;border-top:1px solid #e7ecf2;border-left:0}.call-sheet-priority-grid{grid-template-columns:1fr}.call-sheet-logistics-grid{grid-template-columns:1fr 1fr}.call-sheet-logistics-grid>.weather-card{grid-column:1/-1}.call-sheet-header-times{gap:16px}}
@media (max-width:680px){.call-sheet-page{gap:10px}.call-sheet-toolbar{gap:8px}.call-sheet-date-nav{display:grid;grid-template-columns:32px minmax(0,1fr) 32px}.call-sheet-date-nav>span{grid-column:1/-1;text-align:center}.call-sheet-date-nav>button:nth-last-child(-n+2){display:none}.call-sheet-toolbar-actions{display:grid;grid-template-columns:1fr 1fr}.call-sheet-toolbar-actions button:first-child{grid-column:1/-1}.call-sheet-header-card{padding:16px;grid-template-columns:44px minmax(0,1fr);gap:12px}.call-sheet-main-icon{width:44px;height:44px}.call-sheet-header-main h2{font-size:1rem}.call-sheet-header-times{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.call-sheet-header-card>aside{display:flex;align-items:flex-start}.call-sheet-priority-grid,.call-sheet-logistics-grid,.call-sheet-schedule-grid,.call-sheet-lower-grid{grid-template-columns:1fr}.call-sheet-logistics-grid>.weather-card,.call-sheet-logistics-grid>.transportation-card{grid-column:auto}.my-call-card,.production-overview-card,.call-sheet-logistics-grid>.call-sheet-card{min-height:auto}.production-overview-grid{min-height:230px}.my-call-details>div{grid-template-columns:100px minmax(0,1fr)}.my-call-transport{grid-template-columns:100px minmax(0,1fr)}.my-call-transport>em{grid-column:2;justify-self:start}.shooting-schedule-table,.shooting-schedule-table tbody{display:block}.shooting-schedule-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.shooting-schedule-table tr{margin-bottom:7px;padding:10px;display:grid;grid-template-columns:74px 50px minmax(0,1fr);gap:6px;border:1px solid #e3e9f1;border-radius:9px}.shooting-schedule-table td{padding:0;border:0;background:transparent!important}.shooting-schedule-table td:nth-child(3){font-weight:700}.shooting-schedule-table td:nth-child(n+4){grid-column:3}.call-sheet-acknowledgement{padding:14px;grid-template-columns:40px minmax(0,1fr)}.call-sheet-acknowledgement button{grid-column:1/-1;width:100%}.call-sheet-modal-backdrop{padding:0;align-items:end}.call-sheet-modal,.call-sheet-modal.full-call-sheet-modal{width:100%;max-height:100vh;height:min(94vh,760px);border-radius:16px 16px 0 0}.call-sheet-modal>footer{display:grid;grid-template-columns:1fr 1fr}.call-sheet-modal>footer>*{width:100%}.call-sheet-modal-details>div{grid-template-columns:105px minmax(0,1fr)}.full-call-sheet-notes{grid-template-columns:1fr}.modal-data-table{min-width:0}.modal-data-table>div,.modal-data-table.cast>div{padding:10px;grid-template-columns:1fr 1fr}.modal-data-table>div:first-child{display:none}.modal-data-table>div>*:nth-child(n+3){grid-column:2}.contact-modal-list article{grid-template-columns:34px minmax(0,1fr)}.contact-modal-list a,.contact-modal-list button{grid-column:auto}.weather-modal-summary{flex-wrap:wrap}.weather-modal-summary b{margin-left:0;width:100%}}

/* Call Sheet typography — match the hierarchy used across Overview and Schedule. */
.call-sheet-page,
.call-sheet-modal {
  --cs-caption: 9px;
  --cs-label: 10px;
  --cs-body: 11px;
  --cs-value: 12px;
  --cs-section: 12px;
  line-height: 1.45;
}
.call-sheet-toolbar button,
.call-sheet-date-nav > span { font-size: 11px; font-weight: 700; }
.call-sheet-header-main > p { font-size: 11px; }
.call-sheet-header-main h2 { font-size: 22px; line-height: 1.2; }
.call-sheet-fact small { font-size: var(--cs-label); }
.call-sheet-fact strong { font-size: var(--cs-value); }
.call-sheet-fact em { font-size: var(--cs-caption); }
.call-sheet-header-card aside > span { font-size: var(--cs-caption); }
.call-sheet-header-card aside > small,
.call-sheet-header-card aside button { font-size: var(--cs-label); }
.call-sheet-card > h2 { font-size: var(--cs-section); line-height: 1.35; }
.call-sheet-card > h2 > button,
.lower-card-head button { font-size: var(--cs-caption); }
.call-sheet-card-link { font-size: 10px; }
.call-sheet-card > footer {
  padding: 3px 14px;
  border-top: 0;
}
.call-sheet-card-link {
  width: 100%;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #dfe6ef;
  border-radius: 8px;
  background: #fff;
}
.call-sheet-card-link:hover { border-color: #b9c9dd; background: #f8fbff; }
.call-sheet-card-link:focus-visible { outline: 3px solid rgba(20,115,255,.18); outline-offset: 1px; }
.call-sheet-card-link svg { margin-left: 0; }
.my-call-time strong { font-size: 26px; }
.my-call-time small { font-size: var(--cs-body); }
.my-call-empty { font-size: var(--cs-body); }
.my-call-details dt,
.my-call-transport > span { font-size: var(--cs-label); }
.my-call-details dd { font-size: var(--cs-body); }
.my-call-transport strong { font-size: var(--cs-body); }
.my-call-transport small { font-size: var(--cs-label); }
.my-call-transport > em { font-size: var(--cs-caption); }
.production-overview-grid small { font-size: var(--cs-label); }
.production-overview-grid strong { font-size: var(--cs-value); }
.production-overview-grid strong small { font-size: var(--cs-caption); }
.weather-summary small { font-size: var(--cs-body); }
.weather-summary em { font-size: var(--cs-label); }
.call-sheet-detail-list .call-sheet-fact small,
.call-sheet-detail-list .call-sheet-fact strong { font-size: var(--cs-body); }
.weather-source { font-size: var(--cs-caption); }
.call-sheet-empty-state strong { font-size: var(--cs-body); }
.call-sheet-empty-state p { font-size: var(--cs-label); }
.location-title strong,
.transport-title strong { font-size: 13px; }
.location-title small,
.transport-title small { font-size: var(--cs-label); }
.shooting-schedule-table th { font-size: 9px; }
.shooting-schedule-table td { font-size: var(--cs-body); }
.compact-call-table > div { font-size: var(--cs-body); }
.compact-call-table b { font-size: 9px; }
.lower-card-title { font-size: var(--cs-value); }
.lower-call-card > small,
.lower-call-card > p { font-size: var(--cs-label); }
.diet-pills span { font-size: 8px; }
.lower-card-head strong { font-size: var(--cs-body); }
.department-call-list > div,
.instruction-preview { font-size: var(--cs-label); }
.contact-preview > div { font-size: var(--cs-caption); }
.call-sheet-acknowledgement strong { font-size: var(--cs-body); }
.call-sheet-acknowledgement small,
.call-sheet-acknowledgement button { font-size: var(--cs-label); }
.call-sheet-modal > header p { font-size: var(--cs-caption); }
.call-sheet-modal > header h2 { font-size: 17px; }
.call-sheet-modal-body h3 { font-size: var(--cs-section); }
.call-sheet-modal-body p,
.call-sheet-modal-body li,
.call-sheet-modal-details dd { font-size: var(--cs-body); }
.call-sheet-modal-details dt,
.call-sheet-modal > footer button,
.call-sheet-modal > footer a { font-size: var(--cs-label); }
.full-call-sheet-personal > span,
.version-history-list p { font-size: var(--cs-body); }
.version-history-list strong { font-size: var(--cs-value); }
.version-history-list small,
.modal-data-table > div { font-size: var(--cs-label); }
.modal-data-table > div:first-child { font-size: 9px; }
.contact-modal-list small,
.contact-modal-list em,
.contact-modal-list a,
.contact-modal-list button,
.hourly-forecast span,
.weather-prep-note { font-size: var(--cs-caption); }

@media (max-width: 680px) {
  .call-sheet-page,
  .call-sheet-modal {
    --cs-caption: 10px;
    --cs-label: 11px;
    --cs-body: 12px;
    --cs-value: 13px;
    --cs-section: 13px;
  }
  .call-sheet-header-main h2 { font-size: 20px; }
  .my-call-time strong { font-size: 26px; }
}

/* Preserve the reference desktop composition until the mobile navigation breakpoint. */
@media (min-width: 901px) {
  .overview-shell:has(.call-sheet-page) .tf-topbar { min-height: 46px; margin-bottom: 10px; }
  .call-sheet-toolbar { min-height: 37px; }
  .call-sheet-header-card { min-height: 151px; }
  .call-sheet-header-card { grid-template-columns: 64px minmax(0, 1fr) 220px; }
  .call-sheet-priority-grid { grid-template-columns: minmax(320px, .87fr) minmax(0, 1.13fr); }
  .my-call-card,
  .production-overview-card { height: 312px; min-height: 312px; }
  .my-call-card > h2 { min-height: 20px; }
  .my-call-time { margin: 4px 0 9px; }
  .my-call-time > span { width: 38px; height: 38px; }
  .my-call-details { gap: 7px; }
  .my-call-transport { margin-top: 7px; padding-top: 7px; }
  .call-sheet-logistics-grid { grid-template-columns: .86fr 1.02fr 1.02fr; }
  .call-sheet-logistics-grid > .weather-card,
  .call-sheet-logistics-grid > .transportation-card { grid-column: auto; }
  .call-sheet-logistics-grid > .call-sheet-card { height: 268px; min-height: 268px; }
  .location-title,
  .transport-title { margin-bottom: 13px; }
  .call-sheet-detail-list { gap: 8px; }
  .weather-source { display: none; }
  .call-sheet-schedule-grid { grid-template-columns: minmax(0, 1.7fr) minmax(260px, .9fr); }
  .call-sheet-schedule-grid { margin-top: -4px; }
  .shooting-schedule-card,
  .cast-calls-card { height: 253px; min-height: 253px; }
  .shooting-schedule-table th { padding-block: 4px; font-size: 8px; }
  .shooting-schedule-table td { padding-block: 5px; font-size: 9px; }
  .compact-call-table > div { min-height: 30px; }
  .call-sheet-lower-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lower-call-card { height: 220px; min-height: 220px; }
  .lower-call-card > h2 { font-size: 10px; letter-spacing: .01em; }
  .lower-call-card .call-sheet-card-link { font-size: 9px; }
  .lower-call-card > small,
  .lower-call-card > p,
  .department-call-list > div,
  .instruction-preview { font-size: 9px; }
  .contact-preview > div { grid-template-columns: 76px minmax(0, 1fr) 14px; font-size: 8px; }
  .call-sheet-card > footer { min-height: 38px; margin: auto -16px 0; flex: 0 0 38px; }
  .call-sheet-acknowledgement { min-height: 82px; margin-top: 4px; }
}

/* Project Settings — profile, recruiting presentation, and membership gateway */
.tf-main:has(.project-settings-page){overflow:auto;background:#f8faff}.overview-shell:has(.project-settings-page) .tf-topbar{min-height:62px;margin-bottom:12px}.project-settings-page{--ps-blue:#1473ff;--ps-ink:#12203a;--ps-muted:#66758c;--ps-border:#dfe6ef;display:grid;gap:12px;min-width:0;padding:0 0 28px;color:var(--ps-ink);font-size:12px}.project-settings-page button,.project-settings-page input,.project-settings-page select,.project-settings-page textarea{font:inherit}.ps-section-head{display:flex;gap:10px;align-items:flex-start;margin-top:2px}.ps-section-head>span{width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:var(--ps-blue);color:#fff;font-weight:800}.ps-section-head h2{font-size:16px;line-height:1.2}.ps-section-head p,.ps-card header p{margin-top:3px;color:var(--ps-muted);font-size:10px}.ps-card{min-width:0;border:1px solid var(--ps-border);border-radius:11px;background:#fff;box-shadow:0 5px 18px rgba(24,43,77,.04)}.ps-profile-grid{display:grid;grid-template-columns:minmax(340px,.92fr) minmax(0,2.05fr);gap:18px}.ps-cover-card{position:relative;min-height:278px;overflow:hidden;border-radius:10px;background:#132238;box-shadow:0 7px 20px rgba(15,23,42,.12)}.ps-cover-card>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;transition:transform .2s}.ps-cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(3,12,22,.82))}.ps-cover-title{position:absolute;left:0;right:0;bottom:82px;text-align:center;color:#fff}.ps-cover-title strong{display:block;font-size:31px;letter-spacing:.25em;text-shadow:0 2px 16px #000}.ps-cover-title small{display:block;margin-top:7px;font-size:8px;letter-spacing:.18em}.ps-cover-actions{position:absolute;left:15px;right:15px;bottom:15px;display:flex;gap:8px}.ps-cover-actions button,.ps-cover-button{min-height:34px;padding:0 12px;display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.6);border-radius:7px;background:rgba(2,10,20,.58);color:#fff;font-weight:700;cursor:pointer;backdrop-filter:blur(6px)}.ps-cover-button input{display:none}.ps-cover-actions .icon{width:34px;padding:0;justify-content:center}.ps-cover-actions svg{width:14px}.ps-cover-empty{min-height:278px;display:grid;place-items:center;align-content:center;gap:12px;border:1px dashed #a9b9ce;border-radius:10px;background:#eef4fa;color:#53657f}.ps-cover-empty svg{width:32px}.ps-identity{padding:12px 15px}.ps-identity>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.ps-identity>header h3,.ps-card>header h3{font-size:13px}.ps-identity>header>div{display:flex;gap:6px}.ps-primary,.ps-secondary,.danger{min-height:30px;padding:0 11px;border-radius:7px;font-weight:750;cursor:pointer}.ps-primary{border:1px solid var(--ps-blue);background:var(--ps-blue);color:#fff}.ps-secondary{border:1px solid #b9c9dd;background:#fff;color:#1473ff}.danger{border:1px solid #ff5a62;background:#fff;color:#ef3f48}.danger.solid{background:#ef3f48;color:#fff}.ps-primary:disabled,.ps-secondary:disabled{opacity:.42;cursor:not-allowed}.ps-form-grid{display:grid;grid-template-columns:1.35fr .9fr .9fr .95fr;gap:15px}.ps-form-stack{position:relative;display:grid;align-content:start;gap:9px}.ps-field{position:relative;display:grid;gap:5px;color:#22314a;font-size:10px;font-weight:700}.ps-field input,.ps-field select,.ps-field textarea,.ps-date-pair{width:100%;min-height:33px;padding:7px 9px;border:1px solid #d9e1ec;border-radius:7px;background:#fff;color:#17233a;outline:none;font-weight:600}.ps-field textarea{resize:vertical;line-height:1.3}.ps-field input:focus,.ps-field select:focus,.ps-field textarea:focus{border-color:#60a0ff;box-shadow:0 0 0 3px rgba(20,115,255,.1)}.ps-date-pair{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0;border:0}.ps-date-pair input{min-width:0}.ps-counter{position:absolute;right:5px;bottom:5px;color:#6f7c90;font-size:9px;font-weight:500}.ps-community-grid{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(400px,.98fr);gap:18px}.ps-community-editor{display:grid;grid-template-columns:.9fr 1.1fr;padding:12px 14px}.ps-community-editor>div+div{padding-left:15px;border-left:1px solid #e7ecf3}.ps-visibility-list{display:grid}.ps-visibility-list>button{min-height:31px;display:grid;grid-template-columns:16px 125px minmax(0,1fr) 14px;gap:7px;align-items:center;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:#4c5d75;text-align:left}.ps-visibility-list svg{width:14px}.ps-visibility-list b{justify-self:end;padding:3px 8px;border-radius:999px;font-size:9px}.ps-visibility-list b.purple{background:#eee7ff;color:#7957dc}.ps-visibility-list b.green{background:#e1f8ec;color:#15966c}.ps-visibility-list b.orange{background:#fff2d6;color:#b97812}.ps-visibility-list strong{justify-self:end;overflow:hidden;color:#1473ff;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.ps-tag-row{min-height:52px;display:grid;grid-template-columns:16px 36px minmax(0,1fr);gap:7px;padding-top:7px;color:#4c5d75}.ps-tag-row>svg{width:14px}.ps-tag-row>div,.ps-chips{display:flex;flex-wrap:wrap;gap:5px}.ps-tag-row button,.ps-chips span,.ps-tag-picker button{padding:4px 8px;border:0;border-radius:999px;background:#edf2f8;color:#506078;font-size:9px}.ps-marketing-copy{display:grid;align-content:start;gap:9px}.ps-community-preview{padding:12px}.ps-community-preview>header{margin-bottom:8px}.ps-preview-body{display:grid;grid-template-columns:180px minmax(0,1fr);gap:12px;min-height:142px;padding:8px;border:1px solid #e2e8f0;border-radius:8px}.ps-preview-body>img{width:100%;height:100%;min-height:128px;object-fit:cover;border-radius:6px}.ps-preview-body>div{display:grid;align-content:start;gap:7px}.ps-preview-body h3{font-size:15px}.ps-preview-body h3 b{margin-left:5px;padding:3px 8px;border-radius:999px;background:#eee7ff;color:#7555d8;font-size:9px}.ps-preview-body p{display:flex;align-items:center;color:#596a82;font-size:10px}.ps-preview-body p svg{width:11px;margin-right:4px}.ps-preview-body>div>strong{margin-top:2px;font-size:11px}.ps-preview-pitch{margin:8px 2px 0;color:#65758b;font-size:10px}.ps-community-preview>footer{display:grid;grid-template-columns:1fr 1.1fr;gap:7px;margin-top:9px}.ps-community-preview>footer button{display:flex;align-items:center;justify-content:center;gap:6px}.ps-community-preview>footer svg{width:12px}.ps-members-grid{display:grid;grid-template-columns:.78fr 1fr .88fr 1.32fr;gap:18px}.ps-member-summary{display:grid;grid-template-columns:repeat(3,1fr);min-height:188px}.ps-member-summary button{display:grid;place-items:center;align-content:center;gap:7px;border:0;border-right:1px solid #e7ecf3;background:#fff;color:#61718a}.ps-member-summary button:last-child{border-right:0}.ps-member-summary svg{width:20px}.ps-member-summary strong{font-size:20px;color:#12203a}.ps-member-summary span{font-size:9px}.ps-member-summary small,.ps-link{color:#1473ff;font-size:9px;font-weight:700}.ps-invite,.ps-join,.ps-pending{padding:12px}.ps-invite nav{display:grid;grid-template-columns:repeat(3,1fr);margin:10px 0;background:#f1f4f8;border-radius:6px}.ps-invite nav button{min-height:29px;border:0;background:transparent;color:#536176;font-size:9px}.ps-invite nav button.active{border-radius:6px;background:#e5efff;color:#1473ff}.ps-code-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:9px}.ps-code-grid label{display:grid;gap:5px;font-size:9px;font-weight:700}.ps-code-grid label>button{min-height:36px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;gap:7px;border:1px solid #dfe6ef;border-radius:7px;background:#fff;color:#1d2a40;overflow:hidden}.ps-code-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.ps-code-grid svg{width:13px}.ps-invite>footer{display:flex;gap:6px;margin-top:8px}.ps-invite>footer button{border:0;background:transparent;color:#1473ff;font-size:9px}.ps-invite>p{margin-top:9px;color:#77859a;font-size:9px}.ps-invite>p svg{width:10px}.ps-join>header,.ps-pending>header{margin-bottom:9px}.ps-join>label{min-height:35px;display:grid;grid-template-columns:16px 88px minmax(0,1fr);gap:6px;align-items:center;border-bottom:1px solid #edf1f5;color:#4f6078;font-size:9px}.ps-join svg{width:13px}.ps-join select{min-width:0;border:0;background:#fff;color:#536176;font-size:9px}.ps-join b{font-weight:500}.ps-pending>header h3 b{padding:2px 6px;border-radius:999px;background:#1473ff;color:#fff;font-size:8px}.ps-pending>div>article{min-height:58px;padding:6px;display:grid;grid-template-columns:35px minmax(0,1fr) 130px;gap:7px;align-items:center;border:1px solid #e3e9f1;border-radius:7px}.ps-pending>div>article+article{margin-top:6px}.ps-avatar{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;background:#123748;color:#fff;font-size:9px;font-weight:800}.ps-avatar.large{width:54px;height:54px;font-size:13px}.ps-pending article strong{font-size:10px}.ps-pending article small,.ps-pending article p{display:block;overflow:hidden;color:#68778c;text-overflow:ellipsis;white-space:nowrap;font-size:8px}.ps-pending article aside{display:grid;gap:5px}.ps-pending article aside>button{min-height:22px;border:1px solid #d8e1ed;border-radius:5px;background:#fff;color:#43546c;font-size:8px}.ps-pending article aside>span{display:flex;gap:4px}.ps-pending article aside>span button{flex:1;min-height:22px;font-size:8px}.ps-link{margin-top:7px;border:0;background:transparent}.ps-link svg{width:10px}.ps-empty{padding:20px;color:#718096;text-align:center}.ps-overlay{position:fixed;inset:0;z-index:400;padding:20px;display:grid;place-items:center;background:rgba(15,28,48,.48);backdrop-filter:blur(2px)}.ps-overlay-panel{width:min(680px,100%);max-height:calc(100vh - 40px);display:flex;flex-direction:column;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 30px 90px rgba(15,23,42,.28)}.ps-overlay-panel.drawer{width:min(720px,92vw);height:100vh;max-height:100vh;margin-left:auto;border-radius:14px 0 0 14px}.ps-overlay:has(.drawer){padding:0;place-items:stretch}.ps-overlay-panel>header{padding:16px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e9f0}.ps-overlay-panel>header h2{font-size:17px}.ps-overlay-panel>header button{width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:7px;background:#f1f4f8}.ps-overlay-panel>header svg{width:16px}.ps-overlay-body{min-height:0;padding:18px;overflow:auto;color:#42526b}.ps-overlay-panel>footer{padding:12px 18px;display:flex;justify-content:flex-end;gap:7px;border-top:1px solid #e4e9f0}.ps-crop-preview{aspect-ratio:16/9;overflow:hidden;border-radius:10px;background:#101827}.ps-crop-preview img{width:100%;height:100%;object-fit:cover}.ps-range-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:15px}.ps-range-grid label{display:grid;gap:7px;font-size:10px;font-weight:700}.ps-crop-sizes{display:grid;grid-template-columns:2fr 1fr .55fr;gap:10px;margin-top:16px}.ps-crop-sizes div{display:grid;gap:5px}.ps-crop-sizes img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:6px}.ps-crop-sizes div:last-child img{aspect-ratio:1}.ps-modal-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ps-modal-form .ps-field:has(textarea),.ps-modal-form .ps-check{grid-column:1/-1}.ps-check{display:flex;align-items:center;gap:8px}.ps-drawer-list,.ps-people-list{display:grid;gap:9px}.ps-drawer-list>article,.ps-people-list>article{padding:12px;display:flex;gap:10px;align-items:center;border:1px solid #e1e7ef;border-radius:9px}.ps-drawer-list article>div,.ps-people-list article>div{min-width:0;flex:1}.ps-drawer-list h3{display:flex;gap:8px;align-items:center}.ps-drawer-list h3 span{padding:3px 6px;border-radius:999px;background:#e7f6ee;color:#138562;font-size:8px}.ps-drawer-list p,.ps-drawer-list small,.ps-people-list p,.ps-people-list small{margin-top:4px;color:#68778d;font-size:10px;line-height:1.4}.ps-drawer-list aside{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.ps-drawer-list aside button,.ps-people-list button{min-height:27px;padding:0 8px;border:1px solid #d9e2ee;border-radius:6px;background:#fff;color:#3f5169;font-size:9px}.ps-drawer-list aside .ps-primary,.ps-people-list .ps-primary{background:#1473ff;color:#fff}.ps-search{display:flex;align-items:center;gap:7px;margin-bottom:14px;padding:0 10px;border:1px solid #d9e2ee;border-radius:8px}.ps-search svg{width:15px}.ps-search input{width:100%;min-height:38px;border:0;outline:0}.ps-applicant-summary{display:flex;gap:12px;align-items:center;padding:12px;border-radius:9px;background:#f4f7fb}.ps-applicant-summary p,.ps-applicant-summary small{margin-top:4px}.ps-overlay blockquote{margin:14px 0;padding:12px 14px;border-left:3px solid #1473ff;background:#f8faff}.ps-choice-list{display:grid;gap:6px}.ps-choice-list button{min-height:44px;padding:0 13px;display:flex;justify-content:space-between;align-items:center;border:1px solid #e0e6ee;border-radius:8px;background:#fff;color:#32445d}.ps-choice-list button.active{border-color:#1473ff;background:#f1f6ff;color:#1473ff}.ps-tag-picker{display:flex;flex-wrap:wrap;gap:8px}.ps-tag-picker button.selected{background:#1473ff;color:#fff}.modal-preview{border:0;box-shadow:none}.modal-preview .ps-preview-body{grid-template-columns:260px 1fr;min-height:240px}.modal-preview .ps-preview-body img{min-height:220px}
@media(max-width:1180px){.ps-profile-grid,.ps-community-grid{grid-template-columns:1fr}.ps-cover-card{min-height:360px}.ps-form-grid{grid-template-columns:1fr 1fr}.ps-members-grid{grid-template-columns:1fr 1fr}.ps-community-preview{min-height:0}}
@media(max-width:760px){.project-settings-page{gap:14px}.ps-cover-card{min-height:230px}.ps-cover-title{bottom:75px}.ps-cover-title strong{font-size:22px}.ps-form-grid,.ps-members-grid,.ps-community-editor{grid-template-columns:1fr}.ps-community-editor>div+div{padding:14px 0 0;border-left:0;border-top:1px solid #e7ecf3}.ps-preview-body{grid-template-columns:1fr}.ps-preview-body>img{aspect-ratio:16/9}.ps-pending>div>article{grid-template-columns:35px minmax(0,1fr)}.ps-pending article aside{grid-column:1/-1}.ps-overlay{padding:0;align-items:end}.ps-overlay-panel{width:100%;max-height:94vh;border-radius:15px 15px 0 0}.ps-overlay-panel.drawer{width:100%;height:94vh;border-radius:15px 15px 0 0}.ps-modal-form,.ps-range-grid{grid-template-columns:1fr}.ps-modal-form .ps-field:has(textarea),.ps-modal-form .ps-check{grid-column:auto}.ps-cover-actions .icon{display:none}}
@media(max-width:480px){.ps-profile-grid{display:block}.ps-identity{margin-top:12px}.ps-member-summary{min-height:140px}.ps-code-grid{grid-template-columns:1fr}.ps-community-preview>footer{grid-template-columns:1fr}.ps-cover-title strong{font-size:18px}.ps-cover-button,.ps-cover-actions button{padding:0 8px;font-size:10px}.modal-preview .ps-preview-body{grid-template-columns:1fr}}

/* Crew network and profile settings */
.overview-shell .tf-sidebar { grid-template-rows: 54px minmax(0, 1fr) auto; }
.tf-page-title > div { min-width: 0; }
.tf-page-title p { margin-top: 4px; color: #718096; font-size: .7rem; font-weight: 450; }
.tf-sidebar-user { min-height: 54px; padding: 7px 5px; display: grid; grid-template-columns: 36px minmax(0,1fr) 16px; gap: 9px; align-items: center; border: 0; background: transparent; text-align: left; color: #17233a; }
.tf-sidebar-user > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #0f3040; color: #fff; font-size: .7rem; font-weight: 800; }
.tf-sidebar-user strong,.tf-sidebar-user small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.tf-sidebar-user strong { font-size: .72rem; }.tf-sidebar-user small { margin-top: 2px; color: #64748b; font-size: .62rem; }.tf-sidebar-user svg { width: 14px; }
.tf-header-user { min-width: 196px; min-height: 46px; padding: 5px 8px 5px 5px; display: grid; grid-template-columns: 36px minmax(0,1fr) 16px; gap: 9px; align-items: center; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; color: #17233a; text-align: left; box-shadow: 0 3px 10px rgba(15,23,42,.04); }
.tf-header-user-avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #0f3040; color: #fff; font-size: .68rem; font-weight: 850; }
.tf-header-user-copy { min-width: 0; }.tf-header-user-copy strong,.tf-header-user-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.tf-header-user-copy strong { font-size: .72rem; }.tf-header-user-copy small { margin-top: 2px; color: #718096; font-size: .62rem; }.tf-header-user > svg { width: 14px; color: #536176; }

.network-card,.network-settings-main { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; box-shadow: 0 5px 18px rgba(15,23,42,.035); }
.network-primary,.network-secondary { min-height: 40px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 9px; font-size: .72rem; font-weight: 700; }
.network-primary { border: 1px solid #116df2; background: #116df2; color: #fff; }.network-secondary { border: 1px solid #dfe6ef; background: #fff; color: #426083; }.network-primary svg,.network-secondary svg { width: 15px; }.wide { width: 100%; }
.network-empty { padding: 32px; color: #8a96a8; text-align: center; font-size: .78rem; }

.network-settings-page,.network-crew-page { min-width: 0; min-height: 0; height: 100%; overflow: auto; padding: 0 2px 2px; }
.network-settings-grid { min-height: 100%; display: grid; grid-template-columns: minmax(235px,.62fr) minmax(0,1.65fr); gap: 18px; align-items: start; }
.network-settings-aside { display: grid; gap: 16px; }
.profile-identity-panel { padding: 22px; text-align: center; }.profile-identity-panel h2 { margin-top: 14px; font-size: 1.12rem; }.profile-identity-panel > strong { display: block; margin-top: 5px; color: #33445f; font-size: .76rem; }.profile-identity-panel > p { margin: 12px 0 0; display: flex; align-items: center; justify-content: center; gap: 7px; color: #66758e; font-size: .68rem; }.profile-identity-panel > p svg { width: 14px; }.profile-identity-panel .network-secondary { margin-top: 18px; }
.network-avatar-xl { position: relative; width: 104px; height: 104px; margin: 0 auto; display: grid; place-items: center; overflow: visible; border-radius: 50%; background: #dce8f4; color: #385774; font-size: 1.35rem; font-weight: 850; }
.network-avatar-xl > img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }.network-avatar-xl label { position: absolute; right: -3px; bottom: 4px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #dfe7f0; border-radius: 50%; background: #fff; color: #45617c; box-shadow: 0 3px 10px rgba(15,23,42,.12); }.network-avatar-xl label input { position: absolute; width: 1px; height: 1px; opacity: 0; }.network-avatar-xl svg { width: 15px; }
.profile-completion-panel { padding: 20px; }.profile-completion-panel h3 { font-size: .86rem; }.network-completion-head { margin-top: 16px; padding-bottom: 16px; display: grid; grid-template-columns: 62px minmax(0,1fr); gap: 12px; align-items: center; border-bottom: 1px solid #edf1f5; }.network-completion-head strong { font-size: .72rem; }.network-completion-head p { margin-top: 5px; color: #718096; font-size: .64rem; line-height: 1.4; }
.network-progress { --value:0; width: 58px; height: 58px; padding: 5px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#116df2 calc(var(--value)*1%),#e7eef8 0); }.network-progress::before { content:""; width: 46px; height: 46px; grid-area: 1/1; border-radius: 50%; background: #fff; }.network-progress span { z-index: 1; grid-area: 1/1; font-size: .72rem; font-weight: 800; }
.network-checklist { margin-top: 15px; display: grid; gap: 10px; }.network-checklist > div { display: flex; gap: 8px; align-items: center; color: #8591a2; font-size: .67rem; }.network-checklist svg { width: 15px; color: #bcc6d2; }.network-checklist .done { color: #42526b; }.network-checklist .done svg { color: #0fc28a; }

.network-settings-main { min-width: 0; overflow: hidden; }.network-tabs { padding: 16px 18px 0; display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid #e8edf4; }.network-tabs button { min-height: 40px; padding: 0 12px; flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #64748b; font-size: .68rem; font-weight: 650; }.network-tabs button.active { border-bottom-color: #1473ff; color: #0866f5; }
.network-tab-panel { padding: 24px; }.network-form-section > h3 { margin: 0 0 16px; font-size: .9rem; }.network-form-section > h3:not(:first-child) { margin-top: 26px; }.network-form-section > p,.network-section-head p { margin: -8px 0 18px; color: #718096; font-size: .7rem; }.network-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 20px; }.network-field { position: relative; display: grid; gap: 7px; color: #33445f; font-size: .68rem; font-weight: 650; }.network-field.full { grid-column: 1/-1; }.network-field > span { display: flex; justify-content: space-between; gap: 8px; }.network-field em { color: #8a96a8; font-size: .58rem; font-style: normal; font-weight: 500; }.network-field input,.network-field textarea,.network-link-row input,.social-modal textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #dbe3ed; border-radius: 9px; background: #fff; color: #17233a; font: inherit; font-weight: 450; outline: none; }.network-field input:focus,.network-field textarea:focus,.network-link-row input:focus,.social-modal textarea:focus { border-color: #2f80ed; box-shadow: 0 0 0 3px rgba(47,128,237,.1); }.network-field input[readonly] { background: #f6f8fb; color: #596980; }.network-field textarea { min-height: 104px; resize: vertical; }.network-field > small { position: absolute; right: 10px; bottom: 8px; color: #8a96a8; font-size: .58rem; }
.network-save-row { margin-top: 24px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }.network-save-row > small { margin-right: auto; color: #7a8799; font-size: .62rem; }.network-save-row button:disabled { opacity: .48; cursor: not-allowed; }.network-section-head { display: flex; justify-content: space-between; gap: 16px; align-items: start; margin-bottom: 18px; }.network-section-head h3 { font-size: .9rem; }.network-section-head p { margin: 5px 0 0; }
.network-stack { display: grid; gap: 10px; }.network-link-row { display: grid; grid-template-columns: 130px minmax(0,1fr) auto 38px; gap: 10px; align-items: center; }.network-link-row label { display: flex; gap: 6px; align-items: center; color: #64748b; font-size: .65rem; }.network-link-row > button,.network-experience > button { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: #8391a4; }.network-link-row svg,.network-experience svg { width: 16px; }
.network-search { height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 8px; border: 1px solid #dce4ee; border-radius: 9px; background: #fff; color: #8a96a8; }.network-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; font-size: .7rem; }.network-search svg { width: 15px; }
.network-chip-grid { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }.network-chip-grid button,.social-chips span { min-height: 31px; padding: 0 11px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dce4ee; border-radius: 8px; background: #fff; color: #536176; font-size: .66rem; }.network-chip-grid button.selected { border-color: #9fc1ff; background: #edf4ff; color: #0866f5; }.network-chip-grid svg { width: 12px; }
.network-experience { padding: 14px; display: grid; grid-template-columns: 38px minmax(0,1fr) 38px; gap: 12px; align-items: center; border: 1px solid #e3e9f1; border-radius: 10px; }.network-experience > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #edf4ff; color: #0866f5; }.network-experience strong { font-size: .75rem; }.network-experience p { margin-top: 4px; color: #718096; font-size: .65rem; }
.network-choice-list,.network-privacy-list { display: grid; gap: 9px; }.network-choice-list label,.network-privacy-list label { min-height: 58px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #e1e8f0; border-radius: 9px; }.network-choice-list label span,.network-privacy-list label span { min-width: 0; flex: 1; }.network-choice-list strong,.network-choice-list small,.network-privacy-list strong,.network-privacy-list small { display: block; }.network-choice-list strong,.network-privacy-list strong { font-size: .7rem; }.network-choice-list small,.network-privacy-list small { margin-top: 4px; color: #718096; font-size: .62rem; }.network-privacy-list input { width: 38px; height: 20px; }

.network-crew-page { display: grid; gap: 12px; align-content: start; }.network-crew-toolbar { display: grid; grid-template-columns: minmax(260px,1fr) 170px 150px auto; gap: 12px; }.network-crew-toolbar select { min-height: 44px; padding: 0 12px; border: 1px solid #dce4ee; border-radius: 9px; background: #fff; color: #42526b; font-size: .7rem; }.network-view-toggle { display: flex; }.network-view-toggle button { width: 42px; border: 1px solid #dce4ee; background: #fff; color: #64748b; }.network-view-toggle button:first-child { border-radius: 9px 0 0 9px; }.network-view-toggle button:last-child { border-radius: 0 9px 9px 0; }.network-view-toggle button.active { background: #edf4ff; color: #0866f5; }.network-view-toggle svg { width: 16px; }
.crew-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }.crew-summary-grid .crew-directory-stat { min-height: 66px; padding: 10px 14px; }.crew-summary-grid .crew-directory-stat > span { width: 38px; height: 38px; }.crew-summary-grid .crew-directory-stat strong { font-size: .95rem; }.crew-summary-grid .crew-directory-stat small { margin-top: 4px; font-size: .6rem; }
.key-contacts { padding: 16px; }.key-contacts header { display: flex; justify-content: space-between; align-items: center; }.key-contacts h3 { font-size: .75rem; }.key-contacts header button { border: 0; background: transparent; color: #0866f5; font-size: .65rem; }.key-contacts > div { margin-top: 13px; display: flex; gap: 18px; overflow-x: auto; }.key-contacts > div > button { min-width: 135px; display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 9px; align-items: center; border: 0; background: transparent; text-align: left; }.key-contacts strong,.key-contacts small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.key-contacts strong { font-size: .67rem; }.key-contacts small { margin-top: 4px; color: #718096; font-size: .58rem; }
.network-avatar { width: 34px; height: 34px; display: inline-grid; place-items: center; overflow: hidden; border-radius: 50%; background: #e4edf6; color: #45617c; font-size: .58rem; font-weight: 800; }.network-avatar img { width: 100%; height: 100%; object-fit: cover; }.network-avatar.large { width: 58px; height: 58px; font-size: .75rem; }.network-avatar.hero { position: absolute; left: 24px; top: 90px; width: 72px; height: 72px; border: 4px solid #fff; }
.crew-directory-card { min-width: 0; overflow: visible; }.crew-directory-tabs { height: 46px; padding: 0 14px; display: flex; align-items: end; gap: 18px; overflow-x: auto; border-bottom: 1px solid #e7edf4; }.crew-directory-tabs button { height: 46px; flex: 0 0 auto; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #536176; font-size: .66rem; }.crew-directory-tabs button.active { border-color: #1473ff; color: #0866f5; font-weight: 700; }
.network-crew-table { min-width: 780px; }.network-crew-head,.network-crew-row { display: grid; grid-template-columns: minmax(145px,1.4fr) minmax(130px,1fr) 100px 105px 130px 85px 34px; gap: 12px; align-items: center; }.network-crew-head { min-height: 42px; padding: 0 16px; color: #7a8799; font-size: .58rem; }.network-crew-row { position: relative; min-height: 54px; padding: 7px 16px; border-top: 1px solid #edf1f5; color: #42526b; font-size: .62rem; }.network-person { min-width: 0; display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 8px; align-items: center; border: 0; background: transparent; text-align: left; }.network-person strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .66rem; }.network-crew-row em { padding: 3px 6px; border-radius: 5px; font-style: normal; font-weight: 700; }.network-status,.network-availability { padding: 4px 7px; border-radius: 999px; background: #e9f9f3; color: #078963; font-size: .56rem; font-weight: 650; }.network-availability.busy { background: #fff3e6; color: #d56b11; }.network-more { position: relative; }.network-more > button { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #dfe6ef; border-radius: 50%; background: #fff; color: #64748b; }.network-more svg { width: 14px; }.network-more-menu { position: absolute; z-index: 10; top: 32px; right: 0; width: 170px; padding: 6px; display: grid; border: 1px solid #dfe6ef; border-radius: 10px; background: #fff; box-shadow: 0 14px 35px rgba(15,23,42,.16); }.network-more-menu button { min-height: 32px; padding: 0 9px; border: 0; border-radius: 6px; background: transparent; color: #42526b; text-align: left; font-size: .63rem; }.network-more-menu button:hover { background: #f1f5fa; }
.crew-page-footer { min-height: 58px; padding: 10px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #edf1f5; color: #718096; font-size: .6rem; }.crew-page-footer nav { display: flex; gap: 6px; }.crew-page-footer button { width: 30px; height: 30px; border: 1px solid #dfe6ef; border-radius: 50%; background: #fff; color: #536176; font-size: .62rem; }.crew-page-footer button.active { border-color: #1473ff; background: #1473ff; color: #fff; }
.network-crew-grid { padding: 16px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }.network-crew-grid article { padding: 18px; display: grid; justify-items: center; text-align: center; border: 1px solid #e3e9f1; border-radius: 12px; }.network-crew-grid h3 { margin-top: 10px; font-size: .78rem; }.network-crew-grid p { margin-top: 4px; color: #536176; font-size: .66rem; }.network-crew-grid em { margin-top: 8px; padding: 3px 7px; border-radius: 6px; font-size: .6rem; font-style: normal; }.network-crew-grid small { margin-top: 10px; display: flex; gap: 5px; color: #718096; font-size: .6rem; }.network-crew-grid small svg { width: 12px; }.network-crew-grid b { margin: 9px 0; color: #078963; font-size: .62rem; }.network-groups { padding: 14px; display: grid; gap: 10px; }.network-groups details { border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }.network-groups summary { padding: 12px 15px; display: flex; justify-content: space-between; cursor: pointer; font-size: .72rem; font-weight: 750; }

.social-modal-backdrop { position: fixed; inset: 0; z-index: 150; padding: 18px; display: grid; place-items: center; background: rgba(41,53,72,.42); backdrop-filter: blur(3px); }.social-modal { width: min(460px,100%); max-height: calc(100vh - 36px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe6ef; border-radius: 16px; background: #fff; box-shadow: 0 28px 80px rgba(15,23,42,.24); }.social-modal > header { min-height: 58px; padding: 0 18px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #edf1f5; }.social-modal > header h2 { font-size: .95rem; }.social-modal > header button { width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: #536176; }.social-modal > header svg { width: 18px; }.social-modal-body { min-height: 0; padding: 18px; overflow: auto; }.social-modal-body h4 { margin: 17px 0 9px; font-size: .72rem; }.social-modal-body > p { color: #536176; font-size: .68rem; line-height: 1.55; }.social-modal > footer,.social-modal form > footer { padding: 14px 18px; display: flex; justify-content: flex-end; gap: 9px; border-top: 1px solid #edf1f5; }.social-modal form > footer { margin: 18px -18px -18px; }.social-modal textarea { min-height: 92px; margin-top: 8px; resize: vertical; }.social-modal label { color: #33445f; font-size: .66rem; font-weight: 650; }
.social-person-summary { padding: 18px; display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 12px; align-items: center; border-bottom: 1px solid #edf1f5; }.social-person-summary h3 { font-size: .88rem; }.social-person-summary p { margin-top: 4px; color: #536176; font-size: .66rem; }.social-person-summary small { margin-top: 6px; display: flex; gap: 5px; color: #718096; font-size: .6rem; }.social-person-summary svg { width: 12px; }
.social-profile-hero { position: relative; padding: 60px 24px 18px; }.social-cover { position: absolute; inset: 0 0 auto; height: 112px; background: url('./assets/auth-crew-art.png') center 42%/cover; }.social-profile-hero h3 { position: relative; margin-top: 38px; font-size: 1rem; }.social-profile-hero > strong { position: relative; display: block; margin-top: 5px; color: #42526b; font-size: .68rem; }.social-profile-hero > p { position: relative; margin-top: 9px; display: flex; gap: 5px; color: #718096; font-size: .62rem; }.social-profile-hero > p svg { width: 12px; }.social-connected { margin-bottom: 12px; display: inline-flex; align-items: center; gap: 5px; color: #078963; font-size: .62rem; }.social-connected svg { width: 14px; }
.social-action-row { display: flex; gap: 8px; flex-wrap: wrap; }.social-action-row button { min-height: 36px; padding: 0 11px; display: inline-flex; align-items: center; gap: 6px; border: 1px solid #dfe6ef; border-radius: 8px; background: #f7f9fc; color: #0866f5; font-size: .62rem; }.social-action-row svg { width: 14px; }.social-highlights { display: grid; gap: 8px; }.social-highlights span { display: flex; gap: 8px; align-items: center; color: #536176; font-size: .64rem; }.social-highlights svg { width: 16px; color: #08a678; }.social-chips { display: flex; flex-wrap: wrap; gap: 6px; }.social-projects { display: grid; gap: 8px; }.social-projects > div { padding: 10px; display: flex; justify-content: space-between; border: 1px solid #e2e8f0; border-radius: 8px; }.social-projects strong,.social-projects small { font-size: .63rem; }
.social-contact-field { min-height: 58px; padding: 10px; display: grid; grid-template-columns: 30px minmax(0,1fr); gap: 10px; align-items: center; border: 1px solid #e2e8f0; border-radius: 9px; }.social-contact-field + .social-contact-field { margin-top: 8px; }.social-contact-field > svg { width: 15px; color: #0866f5; }.social-contact-field small,.social-contact-field strong { display: block; }.social-contact-field small { color: #718096; font-size: .58rem; }.social-contact-field strong { margin-top: 4px; overflow: hidden; text-overflow: ellipsis; font-size: .68rem; }
.kudos-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }.kudos-grid label { position: relative; }.kudos-grid input { position: absolute; opacity: 0; }.kudos-grid span { min-height: 38px; padding: 0 10px; display: flex; align-items: center; border: 1px solid #dfe6ef; border-radius: 8px; color: #536176; font-size: .62rem; }.kudos-grid input:checked + span { border-color: #90b8ff; background: #edf4ff; color: #0866f5; }
.crew-social-profile-modal { width: min(520px,100%); }

@media (max-width: 1100px) {
  .network-settings-grid { grid-template-columns: 260px minmax(0,1fr); }
  .network-crew-toolbar { grid-template-columns: minmax(220px,1fr) 150px 140px auto; }
  .network-crew-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .network-settings-grid { grid-template-columns: 1fr; }.network-settings-aside { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .network-crew-toolbar { grid-template-columns: 1fr 1fr; }.network-view-toggle { justify-content: flex-end; }
  .crew-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .crew-directory-card { overflow-x: auto; }
}
@media (max-width: 680px) {
  .overview-shell .tf-sidebar { grid-template-rows: 54px minmax(0,1fr) auto; }
  .tf-header-user { min-width: 0; width: 44px; height: 44px; min-height: 44px; padding: 0; display: grid; grid-template-columns: 1fr; place-items: center; border: 0; border-radius: 50%; background: transparent; box-shadow: none; }
  .tf-header-user-avatar { width: 44px; height: 44px; }.tf-header-user-copy,.tf-header-user > svg { display: none; }
  .network-settings-page,.network-crew-page { overflow: visible; height: auto; }
  .network-settings-aside { grid-template-columns: 1fr; }.network-settings-main { overflow: visible; }
  .network-tab-panel { padding: 17px; }.network-form-grid { grid-template-columns: 1fr; }.network-field.full { grid-column: auto; }
  .network-link-row { grid-template-columns: 1fr 38px; }.network-link-row input:nth-child(2) { grid-column: 1/-1; }.network-link-row label { grid-column: 1; }
  .network-crew-page > *, .network-crew-toolbar > * { min-width: 0; max-width: 100%; }
  .network-crew-toolbar { width: 100%; grid-template-columns: minmax(0,1fr) minmax(0,1fr); }.network-crew-toolbar .network-search { grid-column: 1/-1; }.network-crew-toolbar select { width: 100%; }.network-view-toggle { justify-content: stretch; }.network-view-toggle button { flex: 1; }
  .crew-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.key-contacts > div { gap: 10px; }
  .crew-directory-card { overflow: visible; }.network-crew-table { min-width: 0; }.network-crew-head { display: none; }.network-crew-row { min-height: 136px; padding: 14px; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }.network-person { grid-column: 1/-1; }.network-crew-row > span:nth-child(2),.network-crew-row > span:nth-child(3) { display: inline-flex; }.network-crew-row > span:nth-child(6) { display: none; }.network-more { position: absolute; top: 12px; right: 12px; }.network-more-menu { top: 32px; }
  .network-crew-grid { grid-template-columns: 1fr; }.crew-page-footer { align-items: start; }.crew-page-footer span { max-width: 130px; }
  .social-modal-backdrop { padding: 8px; align-items: end; }.social-modal { width: 100%; max-height: calc(100vh - 16px); border-radius: 16px 16px 10px 10px; }.social-modal > header { min-height: 54px; }.social-modal > footer { flex-wrap: wrap; }.social-modal > footer button { flex: 1; }.kudos-grid { grid-template-columns: 1fr; }
}

/* Global 90% interface scale. The inverse canvas size keeps every screen
   edge-to-edge while the controls and spacing render at 90%. */
:root {
  --ui-scale: 0.9;
  --ui-scale-inverse: 111.111111%;
}

body {
  overflow: hidden;
}

#app {
  width: 100%;
  height: 100%;
  min-height: 100%;
  zoom: 1;
}

.auth-page,
.reset-page,
.app-shell.tf-app {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.tf-main,
.tf-sidebar {
  height: 100%;
}

.auth-page,
.auth-panel {
  overflow: hidden;
}

.auth-panel { padding: 38px 32px 30px 50px; }
.auth-content { margin-top: 54px; }

.tf-main > .insight-page:not(.tf-dashboard-page) {
  min-height: 0;
  height: 100%;
  grid-template-rows: auto auto;
  align-content: start;
  overflow: auto;
}

.tf-main > .insight-page:not(.tf-dashboard-page) > .insight-content-grid {
  align-self: start;
}

@media (max-height: 700px) {
  .auth-panel {
    overflow-y: auto;
  }
  .overview-shell .tf-nav { overflow-y: auto; }
}

/* Account page */
.notification-button { position: relative; }
.notification-count { position: absolute; top: -3px; right: -2px; min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #f8fafc; border-radius: 999px; background: #2f80ed; color: #fff; font-size: 9px; font-weight: 800; }

.tf-main:has(.account-page) { overflow: hidden; }
.account-page { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; overflow: auto; padding: 0 2px 2px; }
.account-page-heading h1 { display: none; }
.account-page-heading nav { display: flex; align-items: center; gap: 10px; color: #718096; font-size: .78rem; }
.account-page-heading nav button { padding: 0; border: 0; background: transparent; color: #64748b; }
.account-page-heading nav span { color: #0866f5; font-weight: 650; }
.account-page-heading nav svg { width: 14px; height: 14px; }
.account-layout { min-height: 0; display: grid; grid-template-columns: minmax(270px, .72fr) minmax(0, 2fr); grid-template-areas: "left details" "diet diet"; gap: 16px; align-content: start; }
.account-left-column { grid-area: left; display: grid; gap: 16px; align-content: start; }
.account-card { min-width: 0; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.035); }
.account-card h2 { color: #0f1b33; font-size: 1rem; line-height: 1.25; }
.account-card p { color: #718096; font-size: .76rem; line-height: 1.45; }

.account-profile-card { min-height: 210px; padding: 28px 26px; display: grid; grid-template-columns: 126px minmax(0, 1fr); gap: 20px; align-items: center; overflow: hidden; background: linear-gradient(135deg, #eef5ff 0%, #fff 62%); }
.account-avatar-wrap { position: relative; width: 112px; height: 112px; }
.account-avatar { width: 112px; height: 112px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #075dd8; color: #fff; font-size: 2rem; font-weight: 750; box-shadow: inset 0 -18px 36px rgba(0,33,100,.22); }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-edit { position: absolute; right: -1px; bottom: 3px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #dce4ef; border-radius: 50%; background: #fff; color: #36506d; box-shadow: 0 4px 12px rgba(15,23,42,.12); cursor: pointer; }
.avatar-edit input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.avatar-edit svg { width: 16px; height: 16px; }
.account-identity { min-width: 0; }
.account-identity h2 { overflow: hidden; font-size: 1.2rem; text-overflow: ellipsis; white-space: nowrap; }
.account-identity > p { margin-top: 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-hours { margin-top: 24px; padding-top: 14px; display: flex; gap: 10px; align-items: center; border-top: 1px solid #e4eaf2; }
.account-hours > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: #edf4ff; color: #0866f5; }
.account-hours svg { width: 19px; height: 19px; }.account-hours small,.account-hours strong { display: block; }.account-hours small { color: #718096; font-size: .68rem; }.account-hours strong { margin-top: 2px; color: #0f1b33; font-size: .95rem; }
.avatar-reset { margin-top: 9px; padding: 0; border: 0; background: transparent; color: #0866f5; font-size: .7rem; }

.account-completion-card { min-height: 280px; padding: 22px; }
.account-completion-card > header { display: grid; grid-template-columns: minmax(0, 1fr) 60px; gap: 14px; align-items: start; }.account-completion-card header p { margin-top: 5px; }
.account-progress { --account-progress: 0; width: 58px; height: 58px; padding: 5px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(#0866f5 calc(var(--account-progress) * 1%), #e6eefb 0); }
.account-progress::before { content: ""; grid-area: 1/1; width: 46px; height: 46px; border-radius: 50%; background: #fff; }.account-progress span { z-index: 1; grid-area: 1/1; font-size: .7rem; font-weight: 750; }
.completion-list { margin-top: 18px; display: grid; gap: 10px; }.completion-list > div { display: flex; align-items: center; gap: 9px; color: #718096; font-size: .74rem; }.completion-list svg { width: 17px; height: 17px; color: #b8c3d2; }.completion-list .complete { color: #42526b; }.completion-list .complete svg { color: #0bbf91; }

.account-details-card { grid-area: details; min-height: 506px; padding: 24px; }
.account-details-card > header { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }.account-details-card header p { margin-top: 4px; }.account-details-card header small { display: block; margin-top: 5px; color: #8a96a8; font-size: .68rem; }
.account-form-actions { display: flex; gap: 8px; }.account-save,.account-discard { min-height: 42px; padding: 0 18px; border-radius: 10px; font-size: .78rem; font-weight: 700; }.account-save { border: 1px solid #0866f5; background: #0866f5; color: #fff; box-shadow: 0 6px 14px rgba(8,102,245,.16); }.account-save:disabled { border-color: #d9e1eb; background: #e9eef5; color: #94a3b8; box-shadow: none; }.account-discard { border: 1px solid #dce4ee; background: #fff; color: #536176; }
.account-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 24px; }.account-field { gap: 7px; color: #17233a; font-size: .74rem; font-weight: 650; }.account-field.full { grid-column: 1/-1; }.account-field input { min-height: 44px; padding: 0 13px; border: 1px solid #d8e0ea; border-radius: 10px; background: #fff; color: #17233a; font-size: .78rem; font-weight: 450; outline: none; }.account-field input:focus { border-color: #2f80ed; box-shadow: 0 0 0 3px rgba(47,128,237,.1); }.account-field input::placeholder { color: #a0a9b7; }.account-field input.account-input-error { border-color: #e5484d; background: #fffafa; }.account-inline-error { display: flex; align-items: center; gap: 5px; color: #c9343a; font-size: .66rem; font-weight: 500; }.account-inline-error svg { width: 13px; height: 13px; }

.account-dietary-card { grid-area: diet; padding: 20px; }.account-dietary-card > header { margin-bottom: 14px; }.account-dietary-card > header p { margin-top: 3px; }.account-tag-group { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 14px; align-items: start; padding: 13px 0; border-top: 1px solid #edf1f5; }.account-tag-group > strong { display: flex; align-items: center; gap: 9px; color: #22324a; font-size: .75rem; }.account-tag-group > strong svg { width: 18px; height: 18px; color: #4f6b8c; }.tag-select-list { display: flex; flex-wrap: wrap; gap: 8px; }.account-tag-group .tag-select { min-height: 30px; padding: 0 11px; display: inline-flex; align-items: center; gap: 5px; border: 1px solid #dce4ee; border-radius: 8px; background: #fff; color: #536176; font-size: .7rem; font-weight: 600; }.account-tag-group .tag-select svg { width: 13px; height: 13px; }.account-tag-group.allergy .tag-select.selected { border-color: #eab75f; background: #fff8e9; color: #9a5c00; }.account-tag-group.diet .tag-select.selected { border-color: #73cba8; background: #eaf9f2; color: #087a55; }.account-tag-group .tag-select:hover { border-color: #8fa6c2; }.account-tag-group .tag-select:focus-visible,.account-save:focus-visible,.account-discard:focus-visible,.avatar-edit:focus-within { outline: 3px solid rgba(47,128,237,.22); outline-offset: 2px; }

@media (max-width: 1180px) {
  .account-layout { grid-template-columns: minmax(240px,.75fr) minmax(0,1.55fr); }
  .account-profile-card { grid-template-columns: 96px minmax(0,1fr); padding: 22px; }.account-avatar-wrap,.account-avatar { width: 88px; height: 88px; }
}
@media (max-width: 900px) {
  #app { width: 100%; height: 100%; min-height: 100%; zoom: 1; }
  .account-layout { grid-template-columns: 1fr; grid-template-areas: "left" "details" "diet"; }
  .account-left-column { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .account-page { overflow: visible; }.tf-main:has(.account-page) { overflow: auto; }
  .account-left-column { grid-template-columns: 1fr; }
  .account-profile-card { grid-template-columns: 94px minmax(0,1fr); min-height: 190px; padding: 20px; }.account-avatar-wrap,.account-avatar { width: 88px; height: 88px; }
  .account-details-card { padding: 19px; }.account-details-card > header { display: grid; }.account-form-actions { display: grid; grid-template-columns: 1fr 1fr; }.account-save,.account-discard { width: 100%; }
  .account-form-grid { grid-template-columns: 1fr; gap: 14px; }.account-field.full { grid-column: auto; }
  .account-tag-group { grid-template-columns: 1fr; }
}

/* Schedule — crew-facing production timeline */
.tf-main:has(.schedule-page-redesign) { overflow: auto; }
.schedule-page-redesign { min-width: 0; display: grid; gap: 14px; padding: 0 2px 24px; color: #17233a; }
.schedule-card { min-width: 0; border: 1px solid #e1e7ef; border-radius: 15px; background: #fff; box-shadow: 0 6px 20px rgba(15,23,42,.035); }
.schedule-eyebrow,.schedule-section-label { color: #566b8c; font-size: .64rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.schedule-eyebrow { color: #6948d8; }
.schedule-hero-layout { display:grid; grid-template-columns:minmax(0,2.4fr) minmax(300px,1fr); grid-template-areas:"next today" "activity today"; gap:14px; align-items:stretch; }
.schedule-top-grid { display: grid; grid-template-columns: minmax(0,2.4fr) minmax(310px,1fr); gap: 14px; }
.schedule-next-up { grid-area:next; min-height: 122px; padding: 18px 20px; display: grid; grid-template-columns: 48px minmax(0,1fr) auto; gap: 16px; align-items: center; }
.schedule-next-icon,.schedule-card-icon { display: grid; place-items: center; border-radius: 12px; background: #f0eaff; color: #7a55ea; }
.schedule-next-icon { width: 48px; height: 48px; }.schedule-next-icon svg { width: 23px; }
.schedule-next-copy h2,.schedule-today-card h2,.schedule-selected-panel h2 { margin-top: 5px; font-size: 1rem; line-height: 1.2; }
.schedule-event-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; color: #63718a; font-size: .66rem; }
.schedule-event-meta span,.schedule-event-meta em { display: inline-flex; align-items: center; gap: 6px; }.schedule-event-meta svg { width: 13px; }.schedule-event-meta em { padding: 5px 8px; border-radius: 999px; background: #f0eaff; color: #7753d9; font-style: normal; font-weight: 650; }
.schedule-next-actions { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }.schedule-next-actions small { color: #8792a4; font-size: .6rem; }
.schedule-link-button,.schedule-wide-action { min-height: 34px; padding: 0 13px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid #dfe6ef; border-radius: 8px; background: #fff; color: #0c6df1; font-size: .65rem; font-weight: 700; }.schedule-link-button svg,.schedule-wide-action svg { width: 13px; }
.schedule-today-card { grid-area:today; min-height: 122px; padding: 18px; display: flex; flex-direction: column; }.schedule-today-card > header { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 12px; align-items: start; }.schedule-card-icon { width: 42px; height: 42px; }.schedule-card-icon svg { width: 20px; }.schedule-today-card header p,.schedule-selected-panel > p { margin-top: 10px; color: #718096; font-size: .68rem; }
.schedule-mini-timeline { margin: 15px 0; display: grid; }.schedule-today-card .schedule-wide-action { margin-top: auto; width: 100%; }

.schedule-activity-card { grid-area:activity; min-height: 335px; display: grid; grid-template-columns: minmax(360px,1.4fr) minmax(285px,1fr); overflow: hidden; }
.schedule-activity-calendar,.schedule-selected-panel { min-width: 0; padding: 20px; }.schedule-selected-panel { display: flex; flex-direction: column; border-left: 1px solid #e6ebf1; }.schedule-calendar-head { margin: 13px 0 12px; display: flex; justify-content: space-between; align-items: center; }.schedule-calendar-head h3 { font-size: .88rem; }.schedule-calendar-head nav { display: flex; gap: 3px; }.schedule-calendar-head button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #718096; }.schedule-calendar-head button:hover { background: #f2f5f9; }.schedule-calendar-head svg { width: 15px; }
.schedule-square-grid { max-width: 435px; display: grid; grid-template-columns: repeat(7,minmax(28px,1fr)); gap: 10px; }
.schedule-day-square { position: relative; aspect-ratio: 1; min-width: 0; border: 0; border-radius: 9px; background: var(--day-color); box-shadow: inset 0 0 0 1px rgba(15,23,42,.025); }.schedule-day-square:hover,.schedule-day-square:focus-visible { z-index: 30; }.schedule-day-square:hover { transform: translateY(-1px); box-shadow: 0 5px 12px rgba(71,52,160,.14); }.schedule-day-square.selected { outline: 2px solid #3790ff; outline-offset: 2px; }.schedule-day-square.today::after { content:""; position:absolute; inset:-5px; border:1px solid rgba(55,144,255,.45); border-radius:13px; pointer-events:none; }
.schedule-day-square > i { position: absolute; left: 50%; bottom: -7px; display: flex; gap: 2px; transform: translateX(-50%); }.schedule-day-square > i b { width: 4px; height: 4px; border-radius: 50%; background: var(--dot); }
.schedule-day-tooltip { position: absolute; z-index: 20; left: 50%; bottom: calc(100% + 9px); width: 190px; padding: 11px; display: none; border: 1px solid #dfe6ef; border-radius: 9px; background: #fff; color: #17233a; text-align: left; box-shadow: 0 14px 34px rgba(15,23,42,.16); transform: translateX(-50%); }.schedule-day-tooltip strong,.schedule-day-tooltip em,.schedule-day-tooltip b,.schedule-day-tooltip small { display: block; }.schedule-day-tooltip strong { margin-bottom: 7px; font-size: .68rem; }.schedule-day-tooltip em { margin-top: 5px; font-size: .62rem; font-style: normal; }.schedule-day-tooltip small { margin-top: 2px; color: #718096; }.schedule-day-tooltip b { margin-top: 8px; color: #64748b; font-size: .58rem; }.schedule-day-square:hover .schedule-day-tooltip,.schedule-day-square:focus-visible .schedule-day-tooltip { display: block; }
.schedule-day-square:nth-child(-n + 7) .schedule-day-tooltip { top: calc(100% + 9px); bottom: auto; }
.schedule-day-square:nth-child(7n + 1) .schedule-day-tooltip,
.schedule-day-square:nth-child(7n + 2) .schedule-day-tooltip { left: 0; transform: none; }
.schedule-day-square:nth-child(7n + 6) .schedule-day-tooltip,
.schedule-day-square:nth-child(7n) .schedule-day-tooltip { right: 0; left: auto; transform: none; }
.schedule-legend { margin-top: 17px; display: flex; flex-wrap: wrap; gap: 7px 14px; color: #66758e; font-size: .56rem; }.schedule-legend span { display: inline-flex; align-items: center; gap: 5px; }.schedule-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--legend); }
.schedule-selected-panel h2 { margin-top: 12px; }.schedule-selected-timeline { margin-top: 15px; display: grid; }.schedule-selected-panel .schedule-wide-action { width: 100%; margin-top: auto; }
.schedule-compact-event { min-height: 58px; padding: 8px 0; display: grid; grid-template-columns: 60px 10px minmax(0,1fr) auto; gap: 9px; align-items: center; border: 0; border-bottom: 1px solid #eef2f6; background: transparent; color: inherit; text-align: left; }.schedule-compact-event time { color: #718096; font-size: .6rem; }.schedule-compact-event > i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--event-color); }.schedule-compact-event > i::after { content:""; position:absolute; top:7px; left:3px; width:1px; height:51px; background:#d8deea; }.schedule-compact-event:last-child > i::after { display:none; }.schedule-compact-event strong,.schedule-compact-event small { display:block; }.schedule-compact-event strong { font-size:.67rem; }.schedule-compact-event small { margin-top:5px; color:#718096; font-size:.58rem; }
.schedule-category-badge { padding:4px 8px; border-radius:999px; background:color-mix(in srgb,var(--schedule-category) 14%,white); color:var(--schedule-category); font-size:.55rem; font-weight:700; white-space:nowrap; }

.schedule-logistics-section { padding: 16px; }.schedule-logistics-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.schedule-logistics-card { min-height: 210px; padding: 14px; display: flex; flex-direction: column; border: 1px solid transparent; border-radius: 12px; }.schedule-logistics-card.meals { border-color:#ffe0cc; background:#fff8f4; }.schedule-logistics-card.carpool { border-color:#d9e8ff; background:#f3f8ff; }.schedule-logistics-card.location { border-color:#d5eee5; background:#f2faf7; }
.schedule-logistics-card header { display:flex; align-items:center; gap:9px; }.schedule-logistics-card header > span { width:32px; height:32px; display:grid; place-items:center; border-radius:9px; }.schedule-logistics-card.meals header > span { background:#fff0e4; color:#f26e21; }.schedule-logistics-card.carpool header > span { background:#e5f0ff; color:#287df0; }.schedule-logistics-card.location header > span { background:#dff5ec; color:#11a879; }.schedule-logistics-card header svg { width:17px; }.schedule-logistics-card h3 { font-size:.74rem; }.schedule-logistics-card .schedule-wide-action { width:100%; margin-top:auto; background:rgba(255,255,255,.72); }
.schedule-meal-list { margin: 11px 0 8px; display:grid; gap:7px; }.schedule-meal-list > div { display:grid; grid-template-columns:74px 1fr 85px; gap:7px; align-items:center; font-size:.58rem; }.schedule-meal-list time,.schedule-meal-list span { color:#586780; }.schedule-logistics-note { display:flex; gap:5px; color:#298666; font-size:.57rem; }.schedule-logistics-note svg { width:12px; }
.schedule-logistics-card dl { margin: 12px 0; display:grid; grid-template-columns:110px minmax(0,1fr); gap:8px; font-size:.58rem; }.schedule-logistics-card dt { color:#66758e; }.schedule-logistics-card dd { margin:0; }.schedule-logistics-card dd b { color:#0a9169; }
.schedule-location-summary { margin: 10px 0; display:grid; grid-template-columns:minmax(0,1fr) 120px; gap:10px; }.schedule-location-summary small,.schedule-location-summary strong,.schedule-location-summary p { display:block; }.schedule-location-summary small { margin-top:6px; color:#52627a; font-size:.52rem; }.schedule-location-summary strong { margin-top:2px; font-size:.61rem; }.schedule-location-summary p { margin-top:2px; color:#66758e; font-size:.54rem; line-height:1.35; }.schedule-location-summary > button { padding:0; overflow:hidden; border:0; border-radius:9px; }.schedule-location-summary img { width:100%; height:100%; min-height:88px; object-fit:cover; }.schedule-location-actions { margin-top:auto; display:grid; grid-template-columns:1fr 1fr; gap:7px; }.schedule-location-actions button { min-height:32px; display:flex; align-items:center; justify-content:center; gap:6px; border:1px solid #dce8e4; border-radius:8px; background:rgba(255,255,255,.82); color:#38576a; font-size:.56rem; }.schedule-location-actions svg { width:12px; }

.schedule-bottom-grid { display:grid; grid-template-columns:1.35fr 1fr; gap:14px; }.schedule-status-card,.schedule-changes-card { min-height:170px; padding:16px; }.schedule-milestones { margin-top:18px; display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); }.schedule-milestones article { min-width:0; text-align:center; }.schedule-milestones article > div { position:relative; display:flex; align-items:center; justify-content:center; }.schedule-milestones article > div > span { position:relative; z-index:1; width:35px; height:35px; display:grid; place-items:center; border:2px solid #cbd3de; border-radius:50%; background:#fff; color:#8894a5; }.schedule-milestones article > div > i { position:absolute; left:50%; right:-50%; height:2px; background:#d5dbe4; }.schedule-milestones article.completed > div > span { border-color:#2fc091; background:#e7f8f2; color:#18aa7c; }.schedule-milestones article.completed > div > i { background:#2fc091; }.schedule-milestones article.current > div > span { border-color:#7457f0; background:#f0eaff; color:#6f4bea; box-shadow:0 0 0 4px rgba(116,87,240,.08); }.schedule-milestones svg { width:16px; }.schedule-milestones strong,.schedule-milestones em,.schedule-milestones small { display:block; }.schedule-milestones strong { margin-top:9px; font-size:.58rem; }.schedule-milestones em { margin-top:4px; color:#8b96a7; font-size:.53rem; font-style:normal; }.schedule-milestones article.completed em { color:#18aa7c; }.schedule-milestones article.current em { color:#6f4bea; font-weight:700; }.schedule-milestones small { margin-top:3px; color:#718096; font-size:.5rem; }.schedule-status-card > p { margin-top:14px; color:#8490a1; font-size:.53rem; }
.schedule-changes-card > header { display:flex; justify-content:space-between; align-items:center; }.schedule-changes-card > header button { border:0; background:transparent; color:#0c6df1; font-size:.58rem; }.schedule-changes-card > div { margin-top:12px; display:grid; gap:8px; }.schedule-change-row { display:grid; grid-template-columns:8px minmax(125px,.8fr) minmax(0,1.4fr) auto; gap:8px; align-items:center; font-size:.55rem; }.schedule-change-row > i { width:7px; height:7px; border-radius:50%; background:var(--change-color); }.schedule-change-row span,.schedule-change-row time { color:#718096; }.schedule-change-row time { text-align:right; white-space:nowrap; }
.schedule-calendar-utilities { padding:10px 14px; display:flex; justify-content:flex-end; align-items:center; gap:8px; border:1px solid #e3e8ef; border-radius:12px; background:#fff; }.schedule-calendar-utilities > span { margin-right:auto; color:#718096; font-size:.6rem; font-weight:700; text-transform:uppercase; }.schedule-calendar-utilities button { min-height:32px; padding:0 10px; display:inline-flex; align-items:center; gap:6px; border:1px solid #e0e6ee; border-radius:8px; background:#fff; color:#42526b; font-size:.56rem; }.schedule-calendar-utilities svg { width:13px; }
.schedule-empty { padding:18px 0; color:#718096; }.schedule-empty strong { display:block; color:#42526b; font-size:.7rem; }.schedule-empty p { margin-top:6px; font-size:.62rem; line-height:1.5; }

/* Schedule overlays */
.schedule-overlay-backdrop { position:fixed; inset:0; z-index:180; padding:18px; display:grid; place-items:center; background:rgba(24,34,50,.48); backdrop-filter:blur(2px); }.schedule-overlay-panel { width:min(760px,100%); max-height:calc(100vh - 36px); display:flex; flex-direction:column; overflow:hidden; border:1px solid #dfe5ed; border-radius:14px; background:#fff; box-shadow:0 28px 80px rgba(15,23,42,.28); }.schedule-overlay-panel > header { min-height:70px; padding:14px 20px; display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #edf1f5; }.schedule-overlay-panel > header h2 { margin-top:5px; font-size:1.05rem; }.schedule-overlay-panel > header > button { width:36px; height:36px; display:grid; place-items:center; border:0; background:transparent; color:#52627a; }.schedule-overlay-panel > header svg { width:18px; }.schedule-overlay-body { min-height:0; padding:20px; overflow:auto; }.schedule-overlay-body section { margin-top:20px; }.schedule-overlay-body h4 { margin-bottom:9px; font-size:.72rem; }.schedule-overlay-body p,.schedule-overlay-body li { color:#536176; font-size:.65rem; line-height:1.55; }.schedule-overlay-panel > footer { padding:14px 20px; display:flex; justify-content:flex-end; flex-wrap:wrap; gap:8px; border-top:1px solid #edf1f5; }.schedule-primary-button,.schedule-secondary-button { min-height:38px; padding:0 13px; display:inline-flex; align-items:center; gap:7px; border-radius:8px; font-size:.62rem; font-weight:700; }.schedule-primary-button { border:1px solid #116df2; background:#116df2; color:#fff; }.schedule-secondary-button { border:1px solid #dfe6ef; background:#fff; color:#42526b; }.schedule-primary-button svg,.schedule-secondary-button svg { width:14px; }
.schedule-modal-event-head { display:grid; grid-template-columns:54px minmax(0,1fr); gap:14px; align-items:start; }.schedule-modal-event-head > span { width:54px; height:54px; display:grid; place-items:center; border-radius:14px; background:color-mix(in srgb,var(--event-color) 13%,white); color:var(--event-color); }.schedule-modal-event-head > span svg { width:25px; }.schedule-modal-event-head h3 { margin:8px 0 6px; font-size:1.05rem; }.schedule-modal-event-head p { margin-top:4px; display:flex; align-items:center; gap:6px; }.schedule-modal-event-head p svg,.schedule-modal-event-head em svg { width:13px; }.schedule-modal-event-head em { margin-top:8px; display:inline-flex; align-items:center; gap:5px; color:#0a9169; font-size:.62rem; font-style:normal; }
.schedule-attendees { display:flex; flex-wrap:wrap; gap:8px; }.schedule-attendees > span { min-height:32px; padding:4px 9px 4px 4px; display:inline-flex; align-items:center; gap:7px; border:1px solid #e2e8f0; border-radius:999px; font-size:.6rem; }.schedule-attendees i { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#e7eff7; color:#45617c; font-size:.5rem; font-style:normal; }.schedule-action-items { display:grid; gap:7px; }.schedule-action-items article { padding:10px; display:grid; grid-template-columns:18px minmax(0,1fr); gap:8px; border:1px solid #e3e9f1; border-radius:8px; }.schedule-action-items svg { width:16px; color:#8a96a8; }.schedule-action-items article.done svg { color:#0bbf91; }.schedule-action-items strong,.schedule-action-items small { display:block; font-size:.62rem; }.schedule-action-items small { margin-top:4px; color:#718096; }
.schedule-day-summary { padding:14px; border-radius:10px; background:#f6f8fc; }.schedule-day-summary h3 { margin-top:5px; font-size:1.05rem; }.schedule-day-summary p { margin-top:7px; }.schedule-full-timeline { margin-top:14px; display:grid; }.schedule-full-timeline > button { min-height:86px; padding:12px 4px; display:grid; grid-template-columns:80px 10px minmax(0,1fr) auto; gap:10px; align-items:start; border:0; border-bottom:1px solid #e9edf3; background:transparent; text-align:left; }.schedule-full-timeline time { font-size:.66rem; font-weight:700; }.schedule-full-timeline time small { display:block; margin-top:4px; color:#8792a4; font-size:.55rem; font-weight:500; }.schedule-full-timeline > button > i { margin-top:5px; width:8px; height:8px; border-radius:50%; background:var(--event-color); }.schedule-full-timeline strong,.schedule-full-timeline small,.schedule-full-timeline em { display:block; }.schedule-full-timeline strong { margin-top:7px; font-size:.73rem; }.schedule-full-timeline small { margin-top:5px; color:#64748b; font-size:.6rem; }.schedule-full-timeline em { margin-top:5px; color:#8490a1; font-size:.56rem; font-style:normal; }.schedule-full-timeline b { padding:4px 7px; border-radius:999px; background:#e9f9f3; color:#078963; font-size:.54rem; white-space:nowrap; }
.schedule-overlay-panel.full-day { width:min(940px,100%); }.schedule-full-day-heading { padding:0 20px 14px; display:flex; align-items:center; gap:8px; border-bottom:1px solid #edf1f5; }.schedule-full-day-heading h3 { margin-right:auto; color:#536176; font-size:.8rem; }.schedule-full-day-heading span,.schedule-full-day-heading em { min-height:30px; padding:0 10px; display:inline-flex; align-items:center; gap:6px; border:1px solid #e2e8f0; border-radius:7px; color:#42526b; font-size:.56rem; font-style:normal; font-weight:700; }.schedule-full-day-heading svg { width:12px; }.schedule-full-day-layout { min-height:0; display:grid; grid-template-columns:minmax(0,1fr) 250px; overflow:auto; }.schedule-full-day-main { min-width:0; padding:16px 20px 20px; }.schedule-day-stats { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-bottom:1px solid #e8edf3; }.schedule-day-stats article { padding:0 12px 14px; display:grid; grid-template-columns:24px minmax(0,1fr); gap:8px; border-right:1px solid #e8edf3; }.schedule-day-stats article:last-child { border-right:0; }.schedule-day-stats > article > svg { width:20px; color:#6c52ee; }.schedule-day-stats article:nth-child(2) > svg { color:#14b67f; }.schedule-day-stats article:nth-child(3) > svg { color:#2f80ed; }.schedule-day-stats strong,.schedule-day-stats small { display:block; }.schedule-day-stats strong { font-size:.63rem; }.schedule-day-stats small { margin-top:3px; color:#7d899b; font-size:.53rem; }.schedule-full-day-main .schedule-full-timeline { margin-top:8px; }.schedule-full-day-main .schedule-full-timeline > button { grid-template-columns:80px 10px minmax(0,1fr); }.schedule-full-timeline span > small,.schedule-full-timeline span > em { display:flex; align-items:center; gap:5px; }.schedule-full-timeline span svg { width:12px; }.schedule-quick-actions { padding:18px; display:flex; flex-direction:column; border-left:1px solid #e7ecf2; }.schedule-quick-actions > button { min-height:58px; padding:9px 0; display:grid; grid-template-columns:24px minmax(0,1fr) 14px; gap:8px; align-items:center; border:0; border-bottom:1px solid #edf1f5; background:transparent; color:#42526b; text-align:left; }.schedule-quick-actions > button > svg { width:18px; color:#2f80ed; }.schedule-quick-actions > button > svg:last-child { width:13px; color:#718096; }.schedule-quick-actions strong,.schedule-quick-actions small { display:block; }.schedule-quick-actions strong { font-size:.62rem; }.schedule-quick-actions small { margin-top:4px; color:#7d899b; font-size:.53rem; }.schedule-day-note { margin-top:20px; padding:12px; display:grid; grid-template-columns:18px minmax(0,1fr); gap:8px; border-radius:8px; background:#f3f6fb; }.schedule-day-note > svg { width:16px; color:#287df0; }.schedule-day-note strong { font-size:.62rem; }.schedule-day-note p { margin-top:5px; color:#68778d; font-size:.56rem; line-height:1.45; }
.schedule-overlay-date { margin-bottom:14px; color:#536176; font-size:.68rem; font-weight:700; }.schedule-meal-modal-list { display:grid; gap:10px; }.schedule-meal-modal-list article { padding:14px; border:1px solid #e2e8f0; border-left:3px solid #ff8b4d; border-radius:9px; }.schedule-meal-modal-list article:nth-child(2) { border-left-color:#32c68d; }.schedule-meal-modal-list article:nth-child(3) { border-left-color:#9a71ee; }.schedule-meal-modal-list header { display:flex; gap:10px; align-items:center; }.schedule-meal-modal-list header > span { width:38px; height:38px; display:grid; place-items:center; border-radius:50%; background:#fff0e8; color:#f4722d; }.schedule-meal-modal-list header svg { width:18px; }.schedule-meal-modal-list h3 { font-size:.75rem; }.schedule-meal-modal-list header p { margin-top:4px; }.schedule-meal-modal-list article > strong { display:block; margin-top:10px; font-size:.6rem; }.schedule-meal-modal-list article > p { margin-top:4px; }
.schedule-overlay-subtitle { margin:-17px 20px 0; color:#718096; font-size:.6rem; }.schedule-meal-modal-list article header > span { width:62px; height:62px; flex:0 0 62px; }.schedule-meal-modal-list article:nth-child(2) header > span { background:#e6f8ef; color:#16b979; }.schedule-meal-modal-list article:nth-child(3) header > span { background:#f0eaff; color:#825de8; }.schedule-meal-modal-list header > div { min-width:0; }.schedule-meal-modal-list header p { display:flex; align-items:center; gap:5px; }.schedule-meal-modal-list header p svg { width:12px; }.schedule-meal-modal-list header strong { display:block; margin:6px 0; font-size:.64rem; }.schedule-meal-info-grid { margin-top:12px; display:grid; grid-template-columns:1fr 1fr; gap:10px; }.schedule-meal-info-grid section { margin:0; padding:13px; border:1px solid #e2e8f0; border-radius:9px; }.schedule-meal-info-grid section > div { display:flex; flex-wrap:wrap; gap:5px; }.schedule-meal-info-grid section > div span { padding:4px 7px; border-radius:999px; background:#e9f9f2; color:#0a9b70; font-size:.53rem; }.schedule-meal-info-grid section > div span.warning { background:#fff0e5; color:#dc6d24; }.schedule-meal-info-grid section > p { margin-top:10px; display:flex; gap:8px; }.schedule-meal-info-grid section > p svg { width:15px; flex:0 0 15px; }.schedule-meal-info-grid section > p span,.schedule-meal-info-grid section > p strong { display:block; }.schedule-meal-info-grid section > p strong { margin-bottom:3px; color:#33445f; }
.schedule-ride-card { padding:16px; border:1px solid #dfe7f0; border-radius:11px; }.schedule-ride-card header { display:flex; gap:12px; align-items:center; }.schedule-ride-card header > span { width:42px; height:42px; display:grid; place-items:center; border-radius:11px; background:#e8f2ff; color:#287df0; }.schedule-ride-card h3 { font-size:.8rem; }.schedule-ride-card dl { margin-top:17px; display:grid; grid-template-columns:110px minmax(0,1fr); gap:10px; font-size:.65rem; }.schedule-ride-card dt { color:#718096; }.schedule-ride-card dd { margin:0; }
.schedule-overlay-panel.drawer { position:fixed; inset:18px 18px 18px auto; width:min(590px,calc(100vw - 36px)); max-height:none; height:calc(100vh - 36px); }.schedule-location-drawer-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:14px; }.schedule-location-drawer-hero img { grid-row:1/7; width:100%; height:215px; object-fit:cover; border-radius:10px; }.schedule-location-drawer-hero > span { align-self:end; color:#0a9b70; font-size:.58rem; font-weight:800; text-transform:uppercase; }.schedule-location-drawer-hero h3 { font-size:.9rem; }.schedule-location-drawer-hero p { margin:0; }.schedule-location-drawer-hero > div { display:grid; gap:6px; }.schedule-location-drawer-hero button { min-height:34px; border:1px solid #dfe6ef; border-radius:8px; background:#fff; color:#42526b; font-size:.58rem; font-weight:650; }.schedule-location-detail-list { margin-top:15px; display:grid; gap:8px; }.schedule-location-detail-list article { padding:12px; display:grid; grid-template-columns:38px minmax(0,1fr); gap:11px; border:1px solid #e1e8ef; border-radius:9px; }.schedule-location-detail-list article > span { width:38px; height:38px; display:grid; place-items:center; border-radius:9px; background:#e5f8f0; color:#0ca777; }.schedule-location-detail-list svg { width:18px; }.schedule-location-detail-list h4 { margin:0 0 4px; color:#0a8e67; font-size:.63rem; text-transform:uppercase; }
.schedule-change-filters { display:flex; flex-wrap:wrap; gap:7px; }.schedule-change-filters button { min-height:32px; padding:0 11px; border:1px solid #dfe6ef; border-radius:999px; background:#fff; color:#536176; font-size:.58rem; }.schedule-change-filters button.active { border-color:#99bfff; background:#edf4ff; color:#0866f5; }.schedule-change-modal-list { margin-top:15px; display:grid; }.schedule-change-modal-list article { min-height:72px; padding:12px 0; display:grid; grid-template-columns:8px minmax(0,1fr) auto; gap:10px; border-bottom:1px solid #e9edf3; }.schedule-change-modal-list article > i { margin-top:5px; width:7px; height:7px; border-radius:50%; background:#7b57ef; }.schedule-change-modal-list strong,.schedule-change-modal-list span,.schedule-change-modal-list small { display:block; }.schedule-change-modal-list strong { font-size:.68rem; }.schedule-change-modal-list span,.schedule-change-modal-list small,.schedule-change-modal-list time { margin-top:4px; color:#718096; font-size:.57rem; }.schedule-change-modal-list p { margin-top:8px; display:flex; align-items:center; gap:8px; }.schedule-change-modal-list del { color:#a36767; }.schedule-change-modal-list b { color:#0a9169; }.schedule-change-modal-list svg { width:12px; }

@media (max-width: 1100px) {
  .schedule-hero-layout { grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr); }
  .schedule-top-grid { grid-template-columns: minmax(0,1.7fr) minmax(285px,1fr); }
  .schedule-activity-card { grid-template-columns: 1fr 1fr; }
  .schedule-logistics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.schedule-logistics-card.location { grid-column:1/-1; }
  .schedule-bottom-grid { grid-template-columns:1fr; }
}
@media (max-width: 900px) {
  .schedule-hero-layout { grid-template-columns:1fr; grid-template-areas:"next" "today" "activity"; }.schedule-top-grid,.schedule-activity-card { grid-template-columns:1fr; }
  .schedule-selected-panel { border-top:1px solid #e6ebf1; border-left:0; min-height:310px; }
  .schedule-square-grid { max-width:none; }.schedule-calendar-utilities { flex-wrap:wrap; justify-content:flex-start; }
}
@media (max-width: 680px) {
  .schedule-page-redesign { gap:11px; }.schedule-next-up { grid-template-columns:42px minmax(0,1fr); padding:16px; }.schedule-next-icon { width:42px; height:42px; }.schedule-next-actions { grid-column:1/-1; flex-direction:row; align-items:center; }.schedule-event-meta { display:grid; gap:8px; }
  .schedule-activity-calendar,.schedule-selected-panel { padding:16px; }.schedule-square-grid { gap:7px; }.schedule-day-square { border-radius:7px; }.schedule-day-tooltip { width:160px; }
  .schedule-logistics-grid { grid-template-columns:1fr; }.schedule-logistics-card.location { grid-column:auto; }.schedule-meal-list > div { grid-template-columns:68px minmax(0,1fr); }.schedule-meal-list > div span { grid-column:2; }.schedule-location-summary { grid-template-columns:1fr 100px; }
  .schedule-milestones { grid-template-columns:repeat(3,1fr); gap:18px 0; }.schedule-milestones article:nth-child(3) > div > i { display:none; }.schedule-change-row { grid-template-columns:8px minmax(0,1fr) auto; }.schedule-change-row span { grid-column:2/-1; }.schedule-calendar-utilities > span { width:100%; }
  .schedule-overlay-backdrop { padding:6px; align-items:end; }.schedule-overlay-panel,.schedule-overlay-panel.drawer { position:static; width:100%; height:auto; max-height:calc(100vh - 12px); border-radius:14px 14px 8px 8px; }.schedule-overlay-panel > header { min-height:60px; padding:12px 16px; }.schedule-overlay-body { padding:16px; }.schedule-overlay-panel > footer { padding:12px 16px; }.schedule-overlay-panel > footer button { flex:1; justify-content:center; }
  .schedule-full-day-heading { padding:0 16px 12px; flex-wrap:wrap; }.schedule-full-day-heading h3 { width:100%; }.schedule-full-day-layout { grid-template-columns:1fr; }.schedule-full-day-main { padding:14px 16px; }.schedule-day-stats { grid-template-columns:1fr; }.schedule-day-stats article { padding:9px 0; border-right:0; border-bottom:1px solid #edf1f5; }.schedule-quick-actions { border-top:1px solid #e7ecf2; border-left:0; }.schedule-full-timeline > button { grid-template-columns:62px 8px minmax(0,1fr); }.schedule-full-timeline > button > b { grid-column:3; justify-self:start; }.schedule-meal-info-grid { grid-template-columns:1fr; }.schedule-location-drawer-hero { grid-template-columns:1fr; }.schedule-location-drawer-hero img { grid-row:auto; height:180px; }.schedule-location-drawer-hero > div { grid-template-columns:1fr; }
}
.onset-page{display:grid;gap:10px;padding-bottom:20px;color:#0e1a33}.onset-card{background:#fff;border:1px solid #dbe3ee;border-radius:15px;box-shadow:0 8px 24px rgba(30,55,90,.035)}.onset-page button,.onset-page a,.onset-dialog button,.onset-dialog a{font:inherit}.onset-page button{cursor:pointer}.onset-timer{min-height:178px;padding:20px 22px;display:grid;grid-template-columns:minmax(330px,1.25fr) minmax(330px,1fr) auto;align-items:center;gap:22px}.onset-timer-main{border-right:1px solid #dce3ec;padding-right:24px}.onset-timer h2,.onset-day h2,.onset-logistic h2,.onset-pulse h2,.onset-help h2{margin:0;font-size:.82rem}.onset-timer-main>div{display:flex;align-items:center;gap:16px;margin:10px 0 4px}.onset-clock{font-size:2.15rem;line-height:1;letter-spacing:.06em}.onset-state{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:999px;background:#e2f6ed;color:#098657;font-size:.65rem;font-weight:750}.onset-state i,.onset-pulse h2 span i{width:8px;height:8px;border-radius:50%;background:#0c9b66}.onset-state.paused{background:#fff2d9;color:#aa7100}.onset-state.paused i{background:#df9800}.onset-timer-main p{margin:3px 0;color:#40516a;font-size:.62rem}.onset-timer-main small{display:flex;align-items:center;gap:6px;margin-top:12px;padding-top:10px;border-top:1px solid #e2e7ee;color:#65758c;font-size:.55rem}.onset-timer-main small svg{width:13px}.onset-totals{margin:0;display:grid;grid-template-columns:repeat(3,minmax(100px,1fr));align-items:center}.onset-totals>div{padding:4px 18px;border-right:1px solid #dfe5ee}.onset-totals>div:last-child{border:0}.onset-totals dt{color:#41516a;font-size:.57rem}.onset-totals dd{margin:6px 0 0;font-size:.85rem;font-weight:800}.onset-timer-actions{display:flex;gap:10px}.onset-timer-actions button,.onset-day>div button{height:40px;padding:0 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #0874ff;border-radius:7px;background:#fff;color:#0867df;font-weight:750;white-space:nowrap;font-size:.62rem}.onset-timer-actions button svg,.onset-day button svg{width:15px}.onset-timer-actions .danger,.onset-dialog footer .danger{border-color:#e61e2a;background:#e61e2a;color:#fff;box-shadow:0 4px 12px rgba(215,25,38,.18)}.onset-complete-time{display:block;margin:14px 0 8px;font-size:2rem}.onset-timer.completed{grid-template-columns:1fr 1fr auto}
.onset-day{min-height:78px;padding:11px 20px;display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center}.onset-day dl{margin:0;display:grid;grid-template-columns:.65fr 1.1fr 1fr .75fr 1.35fr}.onset-day dl>div{padding:0 18px;border-right:1px solid #dce3ec}.onset-day dl>div:last-child{border:0}.onset-day dt{font-size:.52rem;color:#62718a}.onset-day dd{margin:6px 0 0;font-size:.62rem;font-weight:750}.onset-day>div{display:flex;gap:8px}.onset-day>div button{height:34px;padding:0 13px}
.onset-logistics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.onset-logistic{min-height:214px;padding:14px 18px;display:flex;flex-direction:column}.onset-logistic.meals{border-color:#ffcda9;background:#fffaf7}.onset-logistic.carpool{border-color:#cbdfff;background:#f7faff}.onset-logistic.location{border-color:#c8e8dc;background:#f7fcfa}.onset-logistic header{display:flex;align-items:center;gap:10px}.onset-logistic header>span{width:31px;height:31px;display:grid;place-items:center;border-radius:10px}.onset-logistic header svg{width:17px}.onset-logistic.meals header>span{background:#fff0e5;color:#ef5d11}.onset-logistic.carpool header>span{background:#e6f0ff;color:#1677ed}.onset-logistic.location header>span{background:#def4e9;color:#079463}.onset-logistic .onset-highlight{margin-top:8px;color:#0870ea;font-size:.63rem}.onset-logistic.meals .onset-highlight{color:#ee5b12}.onset-logistic.location .onset-highlight{color:#008e55}.onset-logistic p{margin:5px 0;color:#43536c;font-size:.58rem}.onset-logistic small{margin-top:6px;color:#65748a;font-size:.52rem}.onset-logistic b{font-size:.58rem}.onset-pills{display:flex;gap:7px;margin:9px 0}.onset-pills span{padding:5px 9px;border:1px solid #ffd7b8;border-radius:6px;background:#fff5eb;color:#e75c17;font-size:.5rem}.onset-logistic dl{margin:6px 0;display:grid;gap:6px}.onset-logistic dl>div{display:grid;grid-template-columns:1fr 1fr;font-size:.56rem}.onset-logistic dd{margin:0;text-align:right}.onset-logistic .confirmed{color:#07935a;font-weight:750}.onset-logistic>button,.onset-split-actions button{min-height:34px;margin-top:auto;border:1px solid currentColor;border-radius:6px;background:rgba(255,255,255,.7);color:#0872ed;font-size:.58rem;font-weight:750}.onset-logistic.meals>button{color:#eb5c17}.onset-logistic.location>button,.onset-logistic.location .onset-split-actions button{color:#058d55}.onset-logistic button svg{width:14px;vertical-align:middle;margin-left:6px}.onset-split-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto}.onset-split-actions button{margin:0}.onset-notice{min-height:46px;padding:0 18px;display:flex;align-items:center;gap:13px;border:1px solid #efc750;border-radius:9px;background:#fffaf0;color:#1c2a42;font-size:.57rem}.onset-notice>svg{width:18px;color:#e6a800;fill:#e6a800}.onset-notice span{flex:1}.onset-notice button{padding:7px 14px;border:1px solid #e6b324;border-radius:6px;background:#fff;color:#b78000;font-weight:750;font-size:.54rem}.onset-notice button svg{width:12px;vertical-align:middle;margin-left:6px}
.onset-location-open{margin:0!important;padding:0!important;display:grid!important;min-height:0!important;text-align:left;border:0!important;background:transparent!important;color:inherit!important}.onset-location-open:hover .onset-highlight{text-decoration:underline}
.onset-community{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,1fr);gap:10px;align-items:start}.onset-pulse,.onset-help{padding:14px 18px}.onset-pulse>header p{margin:5px 0 0;color:#64738a;font-size:.54rem}.onset-pulse h2 span{display:inline-flex;align-items:center;gap:5px;margin-left:8px;color:#078c58;font-size:.52rem;font-weight:650}.onset-pulse h2 span i{width:6px;height:6px}.onset-pulse-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 10px}.onset-pulse-bubble{min-width:0;border:1px solid #dbe3ee;border-radius:9px;background:#fff}.onset-pulse-open{width:100%;min-height:78px;padding:11px;text-align:left;border:0;background:transparent;color:#122038}.onset-pulse-open strong{display:block;font-size:.57rem;line-height:1.45}.onset-pulse-open small{display:block;margin-top:8px;color:#64748b;font-size:.48rem}.onset-pulse-bubble footer{padding:4px 7px;display:flex;flex-wrap:wrap;gap:6px;border-top:1px solid #edf0f5}.onset-pulse-bubble footer button{padding:0;border:0;background:transparent;color:#50627d;font-size:.43rem}.onset-pulse-bubble footer button[aria-pressed=true]{color:#066ee7;font-weight:750}.onset-pulse-bubble footer svg{width:10px;vertical-align:middle;margin-right:2px}.onset-pulse-bubble.removed{padding:18px;color:#718096;font-size:.56rem}.onset-composer{position:relative;padding-top:11px;border-top:1px solid #e3e8ef;display:grid;grid-template-columns:1fr 140px 100px;gap:9px}.onset-composer input,.onset-composer select{width:100%;height:38px;border:1px solid #d8e1ed;border-radius:7px;background:#fff;padding:0 12px;font-size:.56rem}.onset-composer button{border:0;border-radius:7px;background:#0872ef;color:#fff;font-weight:750}.onset-composer>small{position:absolute;right:112px;bottom:-15px;color:#7a899e;font-size:.45rem}.onset-form-error{color:#c32732;font-size:.52rem}.onset-safety-copy{margin:15px 0 0;color:#68788f;font-size:.5rem}.onset-help>div{margin-top:8px;border:1px solid #dee5ee;border-radius:8px;overflow:hidden}.onset-help article{min-height:53px;padding:7px 10px;display:grid;grid-template-columns:32px 1fr 38px 38px;gap:8px;align-items:center;border-bottom:1px solid #e6ebf1}.onset-help article:last-child{border:0}.onset-help article>span{width:31px;height:31px;display:grid;place-items:center;border-radius:50%;color:#fff}.onset-help article>span.blue{background:#0971d7}.onset-help article>span.green{background:#07904f}.onset-help article>span.purple{background:#7e3ee8}.onset-help article>span svg{width:16px}.onset-help article>button{padding:0;text-align:left;border:0;background:transparent}.onset-help article small,.onset-help article strong{display:block;font-size:.5rem}.onset-help article strong{font-size:.58rem;margin-top:3px}.onset-help article>a{width:35px;height:31px;display:grid;place-items:center;border:1px solid #94bdf8;border-radius:6px;color:#0874ea}.onset-help article>a svg{width:14px}.onset-help h3{margin:10px 0 7px;font-size:.56rem}.onset-help nav{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.onset-help nav button{min-height:34px;border:1px solid #bad2f6;border-radius:6px;background:#fff;color:#0870e1;font-size:.48rem}.onset-help nav svg{width:12px;vertical-align:middle;margin-right:4px}
.onset-overlay{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;padding:22px;background:rgba(13,28,49,.42);backdrop-filter:blur(2px)}.onset-dialog{width:min(540px,calc(100vw - 32px));max-height:min(760px,calc(100vh - 40px));overflow:auto;border:1px solid #dbe3ed;border-radius:15px;background:#fff;box-shadow:0 24px 70px rgba(17,38,70,.24)}.onset-dialog.drawer{width:min(620px,100vw);height:100vh;max-height:none;margin-left:auto;border-radius:15px 0 0 15px}.onset-dialog>header{position:sticky;top:0;z-index:1;padding:16px 18px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e7ee;background:#fff}.onset-dialog h2{margin:0;font-size:.88rem}.onset-dialog>header button{width:32px;height:32px;border:0;background:transparent}.onset-dialog>header svg{width:17px}.onset-dialog-body{padding:18px;color:#31425c;font-size:.64rem;line-height:1.55}.onset-dialog>footer{padding:13px 18px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #e2e7ee}.onset-dialog>footer button,.onset-dialog>footer a,.onset-dialog-body .primary{min-height:36px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd8e9;border-radius:7px;background:#fff;color:#1d4f8d;text-decoration:none;font-size:.57rem;font-weight:700}.onset-dialog>footer .primary,.onset-dialog-body .primary{border-color:#0874ed;background:#0874ed;color:#fff}.onset-modal-time{display:block;margin:12px 0;font-size:1.6rem;color:#101d35}.onset-modal-list{margin:12px 0;display:grid;gap:0}.onset-modal-list>div{padding:9px 0;display:grid;grid-template-columns:145px 1fr;border-bottom:1px solid #e7ebf1}.onset-modal-list dt{color:#6b7a91}.onset-modal-list dd{margin:0;color:#15243c;font-weight:650}.onset-field{display:grid;gap:7px;margin:10px 0;font-weight:700}.onset-field textarea,.onset-field select{width:100%;padding:10px;border:1px solid #d3dce8;border-radius:7px;font:inherit;font-weight:400}.onset-meal-detail{padding:10px 0;border-bottom:1px solid #e7ecf2}.onset-meal-detail h3,.onset-meal-detail p{margin:0 0 4px}.onset-thread-root{padding:13px;border:1px solid #dfe6ef;border-radius:9px}.onset-thread-root small{display:block;margin-top:8px;color:#68788f}.onset-replies{margin:10px 0;display:grid;gap:8px}.onset-replies article{padding:10px;border:1px solid #e2e7ee;border-radius:8px}.onset-replies article p{margin:5px 0}.onset-rules{display:grid;gap:10px;padding-left:18px}
@media(max-width:1100px){.onset-timer{grid-template-columns:1fr 1fr}.onset-timer-actions{grid-column:1/-1}.onset-timer-main{border-right:0}.onset-day{grid-template-columns:1fr}.onset-day dl{grid-template-columns:repeat(5,1fr)}.onset-day>div{justify-content:flex-end}.onset-logistics{grid-template-columns:repeat(2,1fr)}.onset-logistic.location{grid-column:1/-1}.onset-pulse-grid{grid-template-columns:repeat(2,1fr)}.onset-community{grid-template-columns:1fr}}
@media(max-width:720px){.onset-page{gap:9px}.onset-timer{padding:17px;grid-template-columns:1fr}.onset-timer-main{padding:0}.onset-clock{font-size:1.75rem}.onset-totals{grid-template-columns:1fr}.onset-totals>div{padding:7px 0;display:flex;justify-content:space-between;border-right:0;border-bottom:1px solid #e4e9ef}.onset-timer-actions{grid-column:auto;display:grid}.onset-day{padding:15px}.onset-day dl{grid-template-columns:1fr 1fr}.onset-day dl>div{padding:9px 0;border-right:0;border-bottom:1px solid #e7ebf1}.onset-day>div{display:grid}.onset-logistics{grid-template-columns:1fr}.onset-logistic.location{grid-column:auto}.onset-pulse-grid{grid-template-columns:1fr}.onset-composer{grid-template-columns:1fr}.onset-composer>small{right:8px;bottom:94px}.onset-help nav{grid-template-columns:1fr}.onset-notice{padding:12px;align-items:flex-start;flex-wrap:wrap}.onset-notice span{flex-basis:70%}.onset-notice button{margin-left:auto}.onset-dialog{width:calc(100vw - 18px);max-height:calc(100vh - 18px)}.onset-dialog>footer{flex-wrap:wrap}.onset-dialog>footer button,.onset-dialog>footer a{flex:1}.onset-modal-list>div{grid-template-columns:1fr;gap:4px}}
.onset-timer{min-height:166px;padding-top:18px;padding-bottom:18px}.onset-clock{font-size:2.55rem}.onset-logistic{min-height:200px}.onset-pulse-open{min-height:66px}.onset-pulse-bubble footer{gap:3px}.onset-pulse-bubble footer button{font-size:.4rem}

.ps-student-fields{display:grid;grid-template-columns:1.7fr .7fr 1fr;gap:10px;margin-top:9px;padding-top:9px;border-top:1px solid #edf1f5}.ps-profile-grid{align-items:stretch}.ps-cover-card{min-height:0;height:100%}.ps-community-editor,.ps-community-preview{min-height:250px}.ps-marketing-copy .ps-field textarea{min-height:54px}.ps-marketing-copy .ps-field:last-of-type textarea{min-height:66px}
.ps-section-head{position:relative;z-index:2}.ps-profile-grid,.ps-community-grid{margin-bottom:4px}
@media(min-width:1400px){.project-settings-page{gap:9px;padding-bottom:12px}.overview-shell:has(.project-settings-page) .tf-topbar{min-height:54px;margin-bottom:8px}.ps-section-head>span{width:20px;height:20px}.ps-profile-grid{min-height:auto}.ps-community-grid{min-height:248px}.ps-community-editor,.ps-community-preview{min-height:248px}.ps-members-grid{min-height:188px}}
@media(max-width:1180px){.ps-cover-card{height:auto;aspect-ratio:16/9}}
@media(max-width:760px){.ps-student-fields{grid-template-columns:1fr}.ps-cover-card{height:auto!important;min-height:0!important;aspect-ratio:16/9}}
