@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.tvc-workbench {
  color: #060807;
  background: #f8f6f2;
  font-family: "DM Sans", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #060807;
  --ink-soft: #171a18;
  --paper: #f8f6f2;
  --surface: #fff;
  --muted: #606661;
  --line: #c8cbc7;
  --line-strong: #242925;
  --accent: #00bfb5;
  --accent-hover: #00a89f;
  --accent-soft: #d9f3f0;
  --coral: #f04b32;
  --success: #1f7a49;
  --warning: #b85c19;
  --danger: #c52d2d;
  --header-height: 70px;
  --content-max: 1440px;
  --mobile-nav-height: 68px;
  --mobile-nav-offset: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  --tvc-available-height: auto;
}

body.tvc-workbench-account .avada-myaccount-user,
body.tvc-workbench-account .woocommerce-MyAccount-navigation {
	display: none !important;
}

body.tvc-workbench-account .woocommerce-MyAccount-content {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

body.tvc-workbench-account .woocommerce {
	overflow: visible;
}

body.tvc-workbench-account #main > .fusion-row {
	max-width: none !important;
}

.tvc-workbench * {
  box-sizing: border-box;
}

.tvc-workbench {
  min-width: 0;
  scroll-behavior: smooth;
}

.tvc-workbench {
  margin: 0;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.tvc-workbench button,
.tvc-workbench input,
.tvc-workbench select,
.tvc-workbench textarea {
  color: inherit;
  font: inherit;
}

.tvc-workbench button,
.tvc-workbench a {
  -webkit-tap-highlight-color: transparent;
}

.tvc-workbench button {
  border: 0;
}

.tvc-workbench button:not(:disabled),
.tvc-workbench a {
  cursor: pointer;
}

.tvc-workbench a {
  color: inherit;
  text-decoration: none;
}

.tvc-workbench img,
.tvc-workbench svg {
  display: block;
}

.tvc-workbench p,
.tvc-workbench h1,
.tvc-workbench h2,
.tvc-workbench h3,
.tvc-workbench dl,
.tvc-workbench dd {
  margin: 0;
}

.tvc-workbench .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;
}

.tvc-workbench :focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.tvc-workbench--access {
  min-height: clamp(520px, 68vh, 760px);
  padding: clamp(48px, 8vw, 112px) 24px;
}

.tvc-workbench .tvc-access-request {
  width: min(100%, 680px);
  margin: 0 auto;
  border-top: 3px solid var(--accent);
  padding: clamp(28px, 5vw, 52px) 0 0;
}

.tvc-workbench .tvc-access-request h1 {
  max-width: 620px;
  margin: 8px 0 16px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.tvc-workbench .tvc-access-request > p:not(.eyebrow) {
  max-width: 590px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.tvc-workbench .tvc-access-request__notice {
  margin-top: 24px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 14px 16px;
  line-height: 1.45;
}

.tvc-workbench .tvc-access-request__form {
  display: grid;
  gap: 18px;
  margin: 32px 0 22px;
}

.tvc-workbench .tvc-access-request__form label {
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 650;
}

.tvc-workbench .tvc-access-request__form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line-strong);
  border-radius: 1px;
  background: #fff;
  padding: 0 15px;
  font-size: 1rem;
}

.tvc-workbench .tvc-access-request__form .button {
  width: fit-content;
  min-height: 50px;
  margin-top: 2px;
}

@media (max-width: 520px) {
  .tvc-workbench--access {
    min-height: 0;
    padding: 40px 20px 56px;
  }

  .tvc-workbench .tvc-access-request__form .button {
    width: 100%;
  }
}

.tvc-workbench .page-shell {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  background: var(--paper);
}

.tvc-workbench .site-header {
  position: relative;
  z-index: 20;
  display: grid;
  min-height: var(--header-height);
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  padding: 0 34px;
  background: var(--ink-soft);
  color: var(--accent);
  border-bottom: 1px solid #303431;
}

.tvc-workbench .site-header__brand {
  justify-self: start;
}

.tvc-workbench .site-header__brand img {
  width: 120px;
  height: auto;
}

.tvc-workbench .site-header__nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: var(--header-height);
}

.tvc-workbench .site-header__nav a {
  display: inline-flex;
  min-width: 104px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}

.tvc-workbench .site-header__nav a:hover {
  background: #222725;
  color: #73e4d9;
}

.tvc-workbench .site-header__nav svg,
.tvc-workbench .site-header__actions svg {
  width: 17px;
  height: 17px;
}

.tvc-workbench .site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.tvc-workbench .site-header__actions > a:not(.site-header__hire),
.tvc-workbench .site-header__actions > button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: transparent;
  color: var(--accent);
  transition: background-color 150ms ease, color 150ms ease;
}

.tvc-workbench .site-header__actions > a:not(.site-header__hire):hover,
.tvc-workbench .site-header__actions > button:hover {
  background: #252a27;
  color: #73e4d9;
}

.tvc-workbench .site-header__hire {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transition: background-color 150ms ease, color 150ms ease;
}

.tvc-workbench .site-header__hire:hover {
  background: var(--accent);
  color: var(--ink);
}

.tvc-workbench .site-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding: 24px 40px;
  border-top: 1px solid var(--line-strong);
  background: var(--ink-soft);
  color: #d5d8d5;
  font-size: 13px;
}

.tvc-workbench .site-footer nav {
  display: flex;
  gap: 24px;
}

.tvc-workbench .site-footer a {
  color: var(--accent);
}

.tvc-workbench .eyebrow {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.tvc-workbench .button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.15;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.tvc-workbench .button svg {
  width: 19px;
  height: 19px;
}

.tvc-workbench .button--primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--ink);
}

.tvc-workbench .button--primary:hover:not(:disabled) {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.tvc-workbench .button--secondary {
  border-color: var(--accent);
  background: transparent;
  color: var(--ink);
}

.tvc-workbench .button--secondary:hover:not(:disabled) {
  background: var(--accent-soft);
}

.tvc-workbench .button--ink {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.tvc-workbench .button--danger {
  border-color: var(--danger);
  background: var(--danger);
  color: white;
}

.tvc-workbench .button--danger:hover:not(:disabled) {
  border-color: #9f2020;
  background: #9f2020;
}

.tvc-workbench .button--compact {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 13px;
}

.tvc-workbench .button--full {
  width: 100%;
}

.tvc-workbench .button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.tvc-workbench .icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  padding: 0;
  border-radius: 1px;
  background: transparent;
  transition: background-color 150ms ease;
}

.tvc-workbench .icon-button:hover {
  background: rgba(6, 8, 7, 0.06);
}

.tvc-workbench .icon-button svg {
  width: 20px;
  height: 20px;
}

.tvc-workbench .text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 730;
  text-align: left;
}

.tvc-workbench .text-link:hover {
  color: var(--accent-hover);
}

.tvc-workbench .text-link svg {
  width: 16px;
  height: 16px;
}

.tvc-workbench .workbench--provider {
  display: grid;
  width: min(100%, var(--content-max));
  min-height: var(--tvc-available-height, 620px);
  flex: 1;
  grid-template-columns: 305px minmax(500px, 1fr) 282px;
  align-self: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tvc-workbench .project-inbox,
.tvc-workbench .action-rail {
  align-self: stretch;
}

.tvc-workbench .project-inbox {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.tvc-workbench .project-inbox__title {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 26px 20px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .project-inbox__title h1 {
  margin-top: 5px;
  font-size: 27px;
  font-weight: 590;
  letter-spacing: -0.035em;
}

.tvc-workbench .project-inbox__title-actions {
  display: flex;
  gap: 4px;
}

.tvc-workbench .filter-list {
  display: grid;
  gap: 7px;
  padding: 18px 18px 19px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .filter-list button {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 9px 5px 11px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: left;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.tvc-workbench .filter-list button:hover,
.tvc-workbench .filter-list button.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #006d67;
}

.tvc-workbench .filter-list button strong {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: rgba(0, 191, 181, 0.13);
  font-size: 11px;
}

.tvc-workbench .unclassified-link {
  display: grid;
  min-height: 44px;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 720;
  text-align: left;
}

.tvc-workbench .unclassified-link:hover {
  background: var(--accent-soft);
}

.tvc-workbench .unclassified-link strong {
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 10px;
}

.tvc-workbench .project-inbox__list {
  display: grid;
}

.tvc-workbench .project-row {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 104px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  padding: 18px 17px 16px 24px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 150ms ease;
}

.tvc-workbench .project-row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  content: "";
}

.tvc-workbench .project-row:hover {
  background: rgba(255, 255, 255, 0.38);
}

.tvc-workbench .project-row.is-selected {
  background: var(--accent-soft);
}

.tvc-workbench .project-row.is-selected::before {
  background: var(--accent);
}

.tvc-workbench .project-row__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tvc-workbench .project-row__copy small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.045em;
}

.tvc-workbench .project-row__copy strong {
  overflow: hidden;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tvc-workbench .project-row__copy > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tvc-workbench .project-row__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .project-row__unread,
.tvc-workbench .status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
}

.tvc-workbench .status-dot--awaiting_brief {
  background: #d68524;
}

.tvc-workbench .status-dot--ready,
.tvc-workbench .status-dot--scheduled {
  background: #477ec4;
}

.tvc-workbench .status-dot--in_production {
  background: var(--accent);
}

.tvc-workbench .status-dot--delivered {
  background: #7aa53f;
}

.tvc-workbench .status-dot--revision_requested {
  background: var(--coral);
}

.tvc-workbench .status-dot--approved {
  background: var(--success);
}

.tvc-workbench .status-dot--cancelled {
  background: var(--muted);
}

.tvc-workbench .project-inbox > .text-link {
  margin: auto 24px 18px;
  padding-top: 12px;
}

.tvc-workbench .project-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.13);
}

.tvc-workbench .project-header {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 30px 18px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .project-header__code {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.tvc-workbench .project-header h2 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.tvc-workbench .project-header > div > p:last-child {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.tvc-workbench .tabs {
  display: flex;
  min-height: 58px;
  align-items: flex-end;
  gap: 26px;
  overflow-x: auto;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.tvc-workbench .tabs button {
  position: relative;
  min-height: 52px;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 690;
  white-space: nowrap;
}

.tvc-workbench .tabs button::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.tvc-workbench .tabs button:hover,
.tvc-workbench .tabs button.is-active {
  color: var(--ink);
}

.tvc-workbench .tabs button.is-active::after {
  background: var(--accent);
}

.tvc-workbench .tab-panel {
  min-width: 0;
}

.tvc-workbench .project-main > .tab-panel {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.tvc-workbench .message-list {
  display: grid;
  gap: 18px;
  padding: 26px 30px 30px;
}

.tvc-workbench .message {
  width: min(100%, 690px);
  padding: 19px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.tvc-workbench .message--provider {
  margin-left: auto;
  border-color: #9bd8d2;
  background: rgba(217, 243, 240, 0.65);
}

.tvc-workbench .message header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.tvc-workbench .message header time {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 11px;
}

.tvc-workbench .message__identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tvc-workbench .message__avatar {
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.tvc-workbench .message--provider .message__avatar {
  border-color: var(--accent);
  background: var(--accent);
}

.tvc-workbench .message__identity > div {
  display: grid;
  gap: 1px;
}

.tvc-workbench .message__identity strong {
  font-size: 13px;
}

.tvc-workbench .message__identity span {
  color: var(--muted);
  font-size: 11px;
}

.tvc-workbench .message > p {
  font-size: 14px;
  line-height: 1.58;
  white-space: pre-line;
}

.tvc-workbench .message__unread {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: -2px 0 12px !important;
  font-size: 11px !important;
  font-weight: 760;
}

.tvc-workbench .message__unread > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.tvc-workbench .message__pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}

.tvc-workbench .composer {
  margin-top: auto;
  padding: 22px 30px 30px;
  border-top: 1px solid var(--line);
}

.tvc-workbench .composer > h3 {
  margin-bottom: 11px;
  font-size: 13px;
}

.tvc-workbench .composer__field {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.tvc-workbench .composer textarea {
  display: block;
  width: 100%;
  min-height: 94px;
  resize: vertical;
  padding: 15px 16px 8px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  line-height: 1.5;
}

.tvc-workbench .composer__field:focus-within {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.tvc-workbench .composer textarea:focus-visible {
  outline: 0;
}

.tvc-workbench .composer__actions {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 15px;
  padding: 7px 8px 8px 13px;
}

.tvc-workbench .composer__actions > span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .icon-label {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 4px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.tvc-workbench .icon-label:hover {
  color: var(--ink);
}

.tvc-workbench .icon-label svg {
  width: 18px;
  height: 18px;
}

.tvc-workbench .inline-notice {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  margin: 18px 30px 0;
  padding: 9px 9px 9px 13px;
  border: 1px solid #91c9ab;
  background: #e5f4ea;
  color: #145c36;
  font-size: 13px;
}

.tvc-workbench .inline-notice > svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.tvc-workbench .inline-notice .icon-button {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  margin-left: auto;
}

.tvc-workbench .inline-notice--warning {
  border-color: #d8a53a;
  background: #fff8df;
  color: #654500;
}

.tvc-workbench .assignment-notice > span {
  display: grid;
  gap: 2px;
}

.tvc-workbench .assignment-notice small {
  font-size: 11px;
}

.tvc-workbench .inline-notice__action {
  flex: 0 0 auto;
  margin-left: auto;
}

.tvc-workbench .action-rail {
  min-width: 0;
  border-left: 1px solid var(--line);
}

.tvc-workbench .action-rail > section {
  padding: 22px 22px 23px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .action-rail label,
.tvc-workbench .action-rail h3 {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 770;
}

.tvc-workbench .select-wrap {
  position: relative;
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.48);
}

.tvc-workbench .select-wrap .status-dot {
  position: absolute;
  left: 13px;
}

.tvc-workbench .select-wrap select {
  width: 100%;
  min-height: 44px;
  appearance: none;
  padding: 0 36px 0 32px;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.tvc-workbench .select-wrap:focus-within {
  outline: 3px solid var(--coral);
  outline-offset: 2px;
}

.tvc-workbench .select-wrap > svg {
  position: absolute;
  right: 12px;
  width: 15px;
  pointer-events: none;
}

.tvc-workbench .action-rail dl {
  display: grid;
  gap: 15px;
}

.tvc-workbench .action-rail dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px;
}

.tvc-workbench .action-rail dt {
  color: var(--muted);
  font-size: 11px;
}

.tvc-workbench .action-rail dd {
  text-align: right;
  font-size: 13px;
  font-weight: 710;
}

.tvc-workbench .action-rail dd span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.tvc-workbench .action-rail__next p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tvc-workbench .action-rail__next .button + .button {
  margin-top: 8px;
}

.tvc-workbench .action-rail__links {
  display: grid;
}

.tvc-workbench .action-rail__links a {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.tvc-workbench .action-rail__links a:last-child {
  border-bottom: 0;
}

.tvc-workbench .action-rail__links svg {
  width: 15px;
}

.tvc-workbench .content-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 24px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .content-heading h3 {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 630;
  letter-spacing: -0.035em;
}

.tvc-workbench .content-heading p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tvc-workbench .file-list {
  display: grid;
  padding: 0 30px;
}

.tvc-workbench .file-attachment {
  min-width: 0;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .file-attachment > .file-row,
.tvc-workbench .file-attachment > .file-row-actions {
  border-bottom: 0;
}

.tvc-workbench .file-row-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .file-row-actions .file-row {
  min-width: 0;
  border-bottom: 0;
}

.tvc-workbench .file-row__delete {
  color: var(--danger);
}

.tvc-workbench .file-row__delete:hover {
  background: #fff0ed;
}

.tvc-workbench .file-row {
  display: grid;
  width: 100%;
  min-height: 76px;
  grid-template-columns: 28px minmax(0, 1fr) auto 22px;
  align-items: center;
  gap: 13px;
  padding: 12px 5px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.tvc-workbench .file-row:hover {
  background: rgba(217, 243, 240, 0.36);
}

.tvc-workbench .file-row > svg {
  width: 23px;
  height: 23px;
}

.tvc-workbench .file-row > span:not(.tag) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tvc-workbench .file-row strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tvc-workbench .file-row small {
  color: var(--muted);
  font-size: 11px;
}

.tvc-workbench .file-row--compact {
  width: min(100%, 390px);
  min-height: 60px;
  grid-template-columns: 24px minmax(0, 1fr) 20px;
  margin-top: 15px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.tvc-workbench .file-attachment--compact {
  width: min(100%, 390px);
  margin-top: 15px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.tvc-workbench .file-attachment--compact .file-row--compact {
  width: 100%;
  margin-top: 0;
  border: 0;
  background: transparent;
}

.tvc-workbench .tag {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  padding: 3px 7px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: #006f69;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.tvc-workbench .tag--coral {
  border-color: var(--coral);
  background: #fff0ed;
  color: #b22f1d;
}

.tvc-workbench .briefing-notes {
  margin: 27px 30px 30px;
  padding: 20px;
  border-left: 3px solid var(--accent);
  background: rgba(217, 243, 240, 0.48);
}

.tvc-workbench .briefing-notes h3 {
  margin-bottom: 8px;
  font-size: 13px;
}

.tvc-workbench .briefing-notes p {
  color: #343936;
  font-size: 14px;
  line-height: 1.6;
}

.tvc-workbench .delivery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 30px 30px;
}

.tvc-workbench .delivery-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.tvc-workbench .delivery-card.is-latest {
  border-top: 3px solid var(--accent);
  padding-top: 15px;
}

.tvc-workbench .delivery-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.tvc-workbench .delivery-card > header > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.tvc-workbench .delivery-card > header strong {
  font-size: 13px;
}

.tvc-workbench .delivery-card > header span:not(.tag) {
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .delivery-card > header .icon-button {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  margin-top: -8px;
  margin-right: -8px;
}

.tvc-workbench .delivery-card__file,
.tvc-workbench .modal-highlight {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.tvc-workbench .delivery-card__file > svg,
.tvc-workbench .modal-highlight > svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.tvc-workbench .delivery-card__file > span,
.tvc-workbench .modal-highlight > span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tvc-workbench .delivery-card__file strong,
.tvc-workbench .modal-highlight strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tvc-workbench .delivery-card__file small,
.tvc-workbench .modal-highlight small {
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .audio-player {
  display: grid;
  min-width: 0;
  grid-template-columns: 38px auto minmax(45px, 1fr) 18px;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
}

.tvc-workbench .audio-player__play {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
}

.tvc-workbench .audio-player__play:hover {
  background: var(--accent-hover);
}

.tvc-workbench .audio-player__play svg {
  width: 17px;
}

.tvc-workbench .audio-player time {
  font-size: 9px;
  font-weight: 730;
  white-space: nowrap;
}

.tvc-workbench .audio-player__track {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: #c8cbc7;
}

.tvc-workbench .audio-player__track span {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 4px;
  background: var(--accent);
}

.tvc-workbench .audio-player > svg {
  width: 17px;
}

.tvc-workbench .detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .detail-grid > div {
  min-height: 98px;
  padding: 19px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .detail-grid > div:nth-child(2n) {
  border-right: 0;
}

.tvc-workbench .detail-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.tvc-workbench .detail-grid dd {
  font-size: 14px;
  line-height: 1.5;
}

.tvc-workbench .empty-state {
  display: grid;
  min-height: 160px;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.tvc-workbench .empty-state > svg {
  width: 26px;
  height: 26px;
  color: var(--accent-hover);
}

.tvc-workbench .empty-state strong {
  color: var(--ink);
  font-size: 13px;
}

.tvc-workbench .empty-state span,
.tvc-workbench .empty-state button {
  color: var(--muted);
  font-size: 12px;
}

.tvc-workbench .empty-state button {
  min-height: 38px;
  padding: 0 12px;
  background: transparent;
  text-decoration: underline;
}

.tvc-workbench .empty-state--panel {
  margin: 30px;
  border: 1px dashed var(--line);
}

.tvc-workbench .empty-state--large {
  min-height: 330px;
  border: 1px solid var(--line);
}

/* Buyer project list */

.tvc-workbench .buyer-home {
  width: min(calc(100% - 48px), 1260px);
  flex: 1;
  align-self: center;
  padding: 56px 0 68px;
}

.tvc-workbench .buyer-page-title {
  margin-bottom: 28px;
}

.tvc-workbench .buyer-page-title h1 {
  margin: 7px 0 8px;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.tvc-workbench .buyer-page-title > p:last-child {
  color: var(--muted);
  font-size: 15px;
}

.tvc-workbench .next-step-banner {
  display: grid;
  width: 100%;
  min-height: 118px;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--ink);
  text-align: left;
  transition: background-color 150ms ease;
}

.tvc-workbench .next-step-banner:hover {
  background: #14cbbf;
}

.tvc-workbench .next-step-banner__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.tvc-workbench .next-step-banner__icon svg {
  width: 22px;
  height: 22px;
}

.tvc-workbench .next-step-banner > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tvc-workbench .next-step-banner small {
  font-size: 11px;
  font-weight: 730;
}

.tvc-workbench .next-step-banner strong {
  font-size: 19px;
  letter-spacing: -0.025em;
}

.tvc-workbench .next-step-banner > span:nth-child(2) > span {
  font-size: 12px;
}

.tvc-workbench .buyer-list-tabs {
  display: flex;
  gap: 28px;
  margin-top: 38px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .buyer-list-tabs button {
  position: relative;
  min-height: 48px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 730;
}

.tvc-workbench .buyer-list-tabs button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: transparent;
  content: "";
}

.tvc-workbench .buyer-list-tabs button.is-active {
  color: var(--ink);
}

.tvc-workbench .buyer-list-tabs button.is-active::after {
  background: var(--accent);
}

.tvc-workbench .buyer-list-tabs button span {
  display: inline-grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  margin-left: 4px;
  border-radius: 50%;
  background: rgba(6, 8, 7, 0.07);
  font-size: 10px;
}

.tvc-workbench .buyer-project-table {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tvc-workbench .buyer-project-table__head,
.tvc-workbench .buyer-project-table__row {
  display: grid;
  grid-template-columns: minmax(230px, 1.3fr) minmax(150px, 0.75fr) minmax(160px, 0.75fr) minmax(150px, 0.65fr) 24px;
  align-items: center;
  gap: 18px;
  padding: 0 22px;
}

.tvc-workbench .buyer-project-table__head {
  min-height: 43px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tvc-workbench .buyer-project-table__row {
  position: relative;
  width: 100%;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background-color 150ms ease;
}

.tvc-workbench .buyer-project-table__row::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: transparent;
  content: "";
}

.tvc-workbench .buyer-project-table__row:hover {
  background: var(--accent-soft);
}

.tvc-workbench .buyer-project-table__row:hover::before {
  background: var(--accent);
}

.tvc-workbench .buyer-project-table__row > span {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
}

.tvc-workbench .buyer-project-table__row > span:first-child {
  display: grid;
  gap: 3px;
}

.tvc-workbench .buyer-project-table__row small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 730;
  letter-spacing: 0.04em;
}

.tvc-workbench .buyer-project-table__row strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tvc-workbench .status-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Buyer project detail */

.tvc-workbench .buyer-project {
  width: min(100%, var(--content-max));
  flex: 1;
  align-self: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.tvc-workbench .back-link {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 7px;
  margin: 16px 34px 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 690;
}

.tvc-workbench .back-link:hover {
  color: var(--ink);
}

.tvc-workbench .buyer-project__header {
  display: flex;
  min-height: 132px;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding: 18px 34px 28px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .buyer-project__header h1 {
  margin-bottom: 5px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 590;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.tvc-workbench .buyer-project__header > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 14px;
}

.tvc-workbench .buyer-project__header-meta {
  display: grid;
  min-width: 230px;
  gap: 11px;
  justify-items: end;
  font-size: 12px;
}

.tvc-workbench .buyer-project__header-meta > span:last-child {
  display: grid;
  gap: 2px;
  text-align: right;
}

.tvc-workbench .buyer-project__header-meta > span:last-child:not(strong) {
  color: var(--muted);
}

.tvc-workbench .buyer-project__header-meta strong {
  color: var(--ink);
}

.tvc-workbench .buyer-next-action {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 34px;
  border-bottom: 1px solid var(--line);
  background: var(--accent-soft);
}

.tvc-workbench .buyer-next-action h2 {
  margin: 4px 0;
  font-size: 21px;
  font-weight: 670;
  letter-spacing: -0.03em;
}

.tvc-workbench .buyer-next-action p:last-child {
  color: #35403b;
  font-size: 13px;
}

.tvc-workbench .buyer-next-action > svg {
  width: 24px;
  height: 24px;
}

.tvc-workbench .buyer-project > .inline-notice {
  margin: 18px 34px 0;
}

.tvc-workbench .tabs--buyer {
  padding: 0 34px;
}

.tvc-workbench .buyer-project__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 338px;
}

.tvc-workbench .buyer-project__main {
  min-width: 0;
  min-height: 540px;
  border-right: 1px solid var(--line);
}

.tvc-workbench .detail-grid--summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 0;
}

.tvc-workbench .detail-grid--summary > div {
  min-height: 116px;
}

.tvc-workbench .latest-message {
  margin: 28px 30px 34px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.35);
}

.tvc-workbench .latest-message header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 14px;
}

.tvc-workbench .latest-message header strong {
  font-size: 13px;
}

.tvc-workbench .latest-message time {
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .latest-message p {
  max-width: 690px;
  color: #343936;
  font-size: 13px;
  line-height: 1.58;
}

.tvc-workbench .latest-message .text-link {
  margin-top: 8px;
}

.tvc-workbench .buyer-delivery-rail {
  min-width: 0;
}

.tvc-workbench .buyer-delivery-rail > section {
  padding: 23px 20px 24px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .buyer-delivery-rail h2 {
  margin-bottom: 14px;
  font-size: 13px;
}

.tvc-workbench .buyer-delivery-rail .delivery-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.4);
}

.tvc-workbench .buyer-delivery-rail__actions {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.tvc-workbench .buyer-delivery-rail > section > .text-link {
  margin-top: 8px;
}

.tvc-workbench .invoice-link > button {
  display: grid;
  width: 100%;
  min-height: 66px;
  grid-template-columns: 22px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  text-align: left;
}

.tvc-workbench .invoice-link > button:hover {
  background: var(--accent-soft);
}

.tvc-workbench .invoice-link svg {
  width: 19px;
}

.tvc-workbench .invoice-link button > span {
  display: grid;
  gap: 2px;
}

.tvc-workbench .invoice-link strong {
  font-size: 12px;
}

.tvc-workbench .invoice-link small {
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .approved-state {
  display: grid;
  min-height: 96px;
  place-items: center;
  align-content: center;
  gap: 4px;
  margin-top: 11px;
  border: 1px solid #7cb899;
  background: #e5f4ea;
  color: var(--success);
}

.tvc-workbench .approved-state svg {
  width: 23px;
  height: 23px;
}

.tvc-workbench .approved-state strong {
  font-size: 12px;
}

.tvc-workbench .approved-state span {
  font-size: 10px;
}

.tvc-workbench .invoice-panel {
  display: grid;
  min-height: 480px;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 40px;
  text-align: center;
}

.tvc-workbench .invoice-panel > svg {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  color: var(--accent-hover);
}

.tvc-workbench .invoice-panel h2 {
  font-size: 27px;
  letter-spacing: -0.035em;
}

.tvc-workbench .invoice-panel > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
}

.tvc-workbench .invoice-panel .button {
  margin-top: 14px;
}

.tvc-workbench .invoice-provider-tools {
  display: grid;
  width: min(100%, 520px);
  gap: 18px;
  margin: 22px 0 8px;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
}

.tvc-workbench .invoice-provider-tools > .button {
  justify-self: center;
  margin-top: 0;
}

.tvc-workbench .invoice-provider-tools form {
  display: grid;
  gap: 8px;
}

.tvc-workbench .invoice-provider-tools form > div:first-of-type {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.tvc-workbench .invoice-provider-tools input {
  min-width: 0;
}

.tvc-workbench .invoice-provider-tools .form-help {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.tvc-workbench .customer-bottom-nav {
  display: none;
}

/* Dialogs */

.tvc-workbench .tvc-workbench-modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 24px;
  background: rgba(6, 8, 7, 0.72);
  animation: fade-in 140ms ease both;
}

.tvc-workbench .tvc-workbench-modal {
  width: min(100%, 560px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  border-top: 4px solid var(--accent);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  animation: modal-in 160ms ease both;
}

.tvc-workbench .tvc-workbench-modal > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 25px 25px 21px;
  border-bottom: 1px solid var(--line);
}

.tvc-workbench .tvc-workbench-modal h2 {
  margin-top: 5px;
  font-size: 28px;
  font-weight: 620;
  letter-spacing: -0.045em;
}

.tvc-workbench .tvc-workbench-modal header p:last-child {
  max-width: 430px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.tvc-workbench .modal-form {
  display: grid;
  gap: 20px;
  padding: 24px 25px 26px;
}

.tvc-workbench .modal-form label {
  display: grid;
  gap: 9px;
  font-size: 12px;
  font-weight: 760;
}

.tvc-workbench .modal-form textarea {
  width: 100%;
  resize: vertical;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.5;
}

.tvc-workbench .modal-form input[type="text"],
.tvc-workbench .modal-form input[type="email"],
.tvc-workbench .modal-form select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: var(--surface);
  box-shadow: none;
  font-size: 14px;
}

.tvc-workbench .modal-form input:focus,
.tvc-workbench .modal-form select:focus {
  border-color: var(--coral);
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.tvc-workbench .upload-field {
  display: grid;
  min-height: 70px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: white;
  font-weight: 450;
}

.tvc-workbench .upload-field > svg {
  width: 22px;
  height: 22px;
}

.tvc-workbench .upload-field > span {
  display: grid;
  gap: 2px;
}

.tvc-workbench .upload-field strong {
  font-size: 12px;
}

.tvc-workbench .upload-field small {
  color: var(--muted);
  font-size: 10px;
}

.tvc-workbench .upload-field--button {
  width: 100%;
  grid-template-columns: 22px minmax(0, 1fr);
  color: var(--ink);
  text-align: left;
}

.tvc-workbench .upload-field--button:hover {
  background: var(--accent-soft);
}

.tvc-workbench .modal-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  padding: 0 25px 26px;
}

.tvc-workbench .modal-form .modal-form__actions {
  padding: 2px 0 0;
}

.tvc-workbench .unclassified-list {
  display: grid;
  max-height: min(570px, calc(100dvh - 210px));
  overflow-y: auto;
}

.tvc-workbench .unclassified-message {
  display: grid;
  gap: 13px;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.tvc-workbench .unclassified-message > header,
.tvc-workbench .unclassified-message form {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.tvc-workbench .unclassified-message > header > div {
  display: grid;
  gap: 3px;
}

.tvc-workbench .unclassified-message > header span,
.tvc-workbench .unclassified-message time,
.tvc-workbench .unclassified-message p,
.tvc-workbench .unclassified-message__meta {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.tvc-workbench .unclassified-message > header strong {
  color: var(--ink);
  font-size: 14px;
}

.tvc-workbench .unclassified-message p {
  font-size: 12px;
}

.tvc-workbench .unclassified-message__meta {
  display: flex;
  gap: 14px;
}

.tvc-workbench .unclassified-message__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tvc-workbench .unclassified-message form {
  align-items: end;
}

.tvc-workbench .unclassified-message form label {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 6px;
  font-size: 11px;
  font-weight: 720;
}

.tvc-workbench .unclassified-message select {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: var(--paper);
}

.tvc-workbench .unclassified-message select:focus {
  border-color: var(--coral);
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.tvc-workbench .modal-highlight {
  margin: 24px 25px;
  padding: 16px;
  border: 1px solid var(--line);
  background: white;
}

.tvc-workbench .transition-list {
  display: grid;
  padding: 8px 25px 26px;
}

.tvc-workbench .transition-list > button {
  display: grid;
  min-height: 58px;
  grid-template-columns: 10px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 0 5px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.tvc-workbench .transition-list > button:hover {
  color: var(--accent-hover);
}

.tvc-workbench .transition-list > button > svg {
  width: 17px;
}

.tvc-workbench .transition-list > button > svg:last-child {
  justify-self: end;
}

.tvc-workbench .spin {
  animation: spin 800ms linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Two-column workbench */

@media (max-width: 1179px) {
  .tvc-workbench .site-header {
    grid-template-columns: 150px 1fr auto;
    padding-inline: 24px;
  }

  .tvc-workbench .site-header__nav a {
    min-width: 82px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .tvc-workbench .site-header__nav svg {
    display: none;
  }

  .tvc-workbench .workbench--provider {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .tvc-workbench .action-rail {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .tvc-workbench .action-rail > section {
    border-right: 1px solid var(--line);
  }

  .tvc-workbench .action-rail > section:nth-child(2n) {
    border-right: 0;
  }

  .tvc-workbench .delivery-list {
    grid-template-columns: 1fr;
  }

  .tvc-workbench .buyer-project__layout {
    grid-template-columns: minmax(0, 1fr) 310px;
  }
}

@media (max-width: 900px) {
  .tvc-workbench {
    --header-height: 62px;
  }

  .tvc-workbench .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 18px;
  }

  .tvc-workbench .site-header__brand img {
    width: 107px;
  }

  .tvc-workbench .site-header__nav {
    display: none;
  }

  .tvc-workbench .site-header__actions {
    grid-column: 2;
  }

  .tvc-workbench .workbench--provider {
    display: block;
    width: 100%;
    border: 0;
  }

  .tvc-workbench .project-inbox {
    border-right: 0;
  }

  .tvc-workbench .project-inbox__title {
    min-height: 96px;
  }

  .tvc-workbench .project-inbox__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tvc-workbench .project-row {
    border-right: 1px solid var(--line);
  }

  .tvc-workbench .project-main {
    border-top: 2px solid var(--line-strong);
  }

  .tvc-workbench .action-rail {
    grid-column: auto;
  }

  .tvc-workbench .buyer-home {
    width: min(calc(100% - 36px), 760px);
    padding-top: 40px;
  }

  .tvc-workbench .buyer-project-table__head {
    display: none;
  }

  .tvc-workbench .buyer-project-table__row {
    grid-template-columns: minmax(190px, 1fr) minmax(120px, auto) 24px;
    min-height: 94px;
  }

  .tvc-workbench .buyer-project-table__row > span:nth-child(2),
  .tvc-workbench .buyer-project-table__row > span:nth-child(3) {
    display: none;
  }

  .tvc-workbench .buyer-project__layout {
    grid-template-columns: 1fr;
  }

  .tvc-workbench .buyer-project__main {
    border-right: 0;
  }

  .tvc-workbench .buyer-delivery-rail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line-strong);
  }

  .tvc-workbench .buyer-delivery-rail > section {
    border-right: 1px solid var(--line);
  }

  .tvc-workbench .buyer-delivery-rail > section:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .tvc-workbench {
    --header-height: 58px;
  }

  .tvc-workbench {
    background: var(--paper);
  }

  .tvc-workbench .site-header {
    min-height: var(--header-height);
    padding-inline: 15px;
  }

  .tvc-workbench .site-header__brand img {
    width: 98px;
  }

  .tvc-workbench .site-header__hire {
    display: none;
  }

  .tvc-workbench .site-header__actions {
    gap: 1px;
  }

  .tvc-workbench .site-header__actions > a:not(.site-header__hire),
  .tvc-workbench .site-header__actions > button {
    width: 42px;
    height: 42px;
  }

  .tvc-workbench .site-footer {
    min-height: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 25px 18px calc(25px + env(safe-area-inset-bottom));
    font-size: 11px;
  }

  .tvc-workbench .page-shell--customer .site-footer {
    padding-bottom: calc(var(--mobile-nav-offset) + 28px);
  }

  .tvc-workbench .project-inbox__title {
    min-height: 88px;
    padding: 18px 17px;
  }

  .tvc-workbench .project-inbox__title h1 {
    font-size: 24px;
  }

  .tvc-workbench .filter-list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 13px 14px;
  }

  .tvc-workbench .filter-list button {
    flex: 0 0 auto;
  }

  .tvc-workbench .project-inbox__list {
    grid-template-columns: 1fr;
  }

  .tvc-workbench .project-row {
    min-height: 88px;
    border-right: 0;
  }

  .tvc-workbench .project-inbox > .text-link {
    margin-bottom: 14px;
  }

  .tvc-workbench .project-header {
    min-height: 98px;
    padding: 20px 17px 16px;
  }

  .tvc-workbench .project-header h2 {
    font-size: 22px;
  }

  .tvc-workbench .tabs {
    gap: 22px;
    padding-inline: 17px;
    scrollbar-width: none;
  }

  .tvc-workbench .tabs::-webkit-scrollbar {
    display: none;
  }

  .tvc-workbench .message-list {
    gap: 14px;
    padding: 20px 14px 24px;
  }

  .tvc-workbench .message {
    padding: 16px;
  }

  .tvc-workbench .composer {
    padding: 18px 14px 22px;
  }

  .tvc-workbench .composer__actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .tvc-workbench .composer__actions > span {
    display: none;
  }

  .tvc-workbench .composer__actions .button {
    margin-left: auto;
  }

  .tvc-workbench .inline-notice,
  .tvc-workbench .buyer-project > .inline-notice {
    margin: 14px;
  }

  .tvc-workbench .assignment-notice {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .tvc-workbench .assignment-notice .inline-notice__action {
    width: 100%;
    justify-content: flex-start;
    margin-left: 29px;
  }

  .tvc-workbench .action-rail {
    display: block;
  }

  .tvc-workbench .action-rail > section {
    border-right: 0;
  }

  .tvc-workbench .content-heading {
    flex-direction: column;
    padding: 23px 17px 20px;
  }

  .tvc-workbench .content-heading .button {
    width: 100%;
  }

  .tvc-workbench .file-list {
    padding-inline: 17px;
  }

  .tvc-workbench .file-row {
    grid-template-columns: 25px minmax(0, 1fr) auto;
  }

  .tvc-workbench .file-row > .tag {
    display: none;
  }

  .tvc-workbench .briefing-notes {
    margin: 22px 17px;
  }

  .tvc-workbench .delivery-list {
    padding: 20px 17px 24px;
  }

  .tvc-workbench .detail-grid {
    grid-template-columns: 1fr;
  }

  .tvc-workbench .detail-grid > div,
  .tvc-workbench .detail-grid > div:nth-child(2n) {
    min-height: 82px;
    padding: 16px 17px;
    border-right: 0;
  }

  /* Buyer mobile home */
  .tvc-workbench .buyer-home {
    width: 100%;
    padding: 30px 16px calc(var(--mobile-nav-offset) + 35px);
  }

  .tvc-workbench .buyer-page-title {
    margin-bottom: 22px;
  }

  .tvc-workbench .buyer-page-title h1 {
    font-size: 40px;
  }

  .tvc-workbench .buyer-page-title > p:last-child {
    font-size: 13px;
    line-height: 1.5;
  }

  .tvc-workbench .next-step-banner {
    min-height: 150px;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    padding: 19px 17px;
  }

  .tvc-workbench .next-step-banner__icon {
    width: 40px;
    height: 40px;
  }

  .tvc-workbench .next-step-banner > .button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 42px;
  }

  .tvc-workbench .next-step-banner strong {
    font-size: 17px;
  }

  .tvc-workbench .buyer-list-tabs {
    gap: 22px;
    overflow-x: auto;
    margin-top: 25px;
  }

  .tvc-workbench .buyer-list-tabs button {
    flex: 0 0 auto;
  }

  .tvc-workbench .buyer-project-table {
    border: 0;
  }

  .tvc-workbench .buyer-project-table__row {
    grid-template-columns: minmax(0, 1fr) auto 18px;
    gap: 8px;
    min-height: 100px;
    padding: 14px 10px 14px 14px;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .tvc-workbench .buyer-project-table__row > .status-label {
    justify-self: end;
    font-size: 10px;
  }

  .tvc-workbench .buyer-project-table__row strong {
    font-size: 13px;
    white-space: normal;
  }

  /* Buyer mobile detail */
  .tvc-workbench .buyer-project {
    border: 0;
    padding-bottom: var(--mobile-nav-offset);
  }

  .tvc-workbench .back-link {
    min-height: 52px;
    margin: 8px 15px 0;
    font-size: 12px;
  }

  .tvc-workbench .buyer-project__header {
    display: grid;
    min-height: 0;
    gap: 20px;
    padding: 13px 16px 22px;
  }

  .tvc-workbench .buyer-project__header h1 {
    max-width: 300px;
    font-size: 30px;
    line-height: 1;
  }

  .tvc-workbench .buyer-project__header-meta {
    min-width: 0;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 14px;
    justify-items: start;
    font-size: 11px;
  }

  .tvc-workbench .buyer-project__header-meta > span:last-child {
    justify-self: end;
    text-align: right;
  }

  .tvc-workbench .buyer-next-action {
    min-height: 112px;
    padding: 20px 16px;
  }

  .tvc-workbench .buyer-next-action h2 {
    font-size: 18px;
  }

  .tvc-workbench .buyer-next-action p:last-child {
    font-size: 12px;
    line-height: 1.45;
  }

  .tvc-workbench .buyer-next-action > svg {
    display: none;
  }

  .tvc-workbench .tabs--buyer {
    display: none;
  }

  .tvc-workbench .buyer-project__layout {
    display: flex;
    flex-direction: column;
  }

  .tvc-workbench .buyer-project__main {
    min-height: 0;
  }

  .tvc-workbench .detail-grid--summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tvc-workbench .detail-grid--summary > div {
    min-height: 112px;
    padding: 15px 16px;
    border-right: 1px solid var(--line);
  }

  .tvc-workbench .detail-grid--summary > div:nth-child(2n) {
    border-right: 0;
  }

  .tvc-workbench .detail-grid--summary dd {
    font-size: 12px;
  }

  .tvc-workbench .latest-message {
    margin: 21px 16px 24px;
    padding: 16px;
  }

  .tvc-workbench .buyer-delivery-rail {
    display: block;
    order: -1;
    border-top: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .tvc-workbench .buyer-delivery-rail > section {
    padding: 21px 16px;
    border-right: 0;
  }

  .tvc-workbench .buyer-delivery-rail > .invoice-link {
    display: none;
  }

  .tvc-workbench .buyer-delivery-rail .delivery-card {
    padding: 15px;
  }

  .tvc-workbench .buyer-delivery-rail__actions {
    gap: 9px;
  }

  .tvc-workbench .invoice-panel {
    min-height: 390px;
    padding: 30px 18px;
  }

  .tvc-workbench .customer-bottom-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 6px 5px env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: rgba(248, 246, 242, 0.98);
    backdrop-filter: blur(10px);
  }

  .tvc-workbench .customer-bottom-nav button {
    display: grid;
    min-width: 0;
    min-height: 56px;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 3px 2px;
    background: transparent;
    color: var(--muted);
    font-size: 9px;
    font-weight: 680;
  }

  .tvc-workbench .customer-bottom-nav button svg {
    width: 21px;
    height: 21px;
  }

  .tvc-workbench .customer-bottom-nav button.is-active {
    color: var(--accent-hover);
  }

  .tvc-workbench .tvc-workbench-modal-backdrop {
    align-items: end;
    padding: 0;
  }

  .tvc-workbench .tvc-workbench-modal {
    width: 100%;
    max-height: calc(100dvh - 24px);
    border-top-width: 3px;
  }

  .tvc-workbench .tvc-workbench-modal > header {
    padding: 21px 17px 18px;
  }

  .tvc-workbench .tvc-workbench-modal h2 {
    font-size: 24px;
  }

  .tvc-workbench .modal-form {
    padding: 20px 17px 22px;
  }

  .tvc-workbench .modal-form__actions {
    padding: 0 17px 22px;
  }

  .tvc-workbench .modal-form__actions .button {
    flex: 1;
    padding-inline: 12px;
  }

  .tvc-workbench .modal-highlight {
    margin: 20px 17px;
  }
}

@media (max-width: 359px) {
  .tvc-workbench .buyer-home {
    padding-inline: 12px;
  }

  .tvc-workbench .site-header {
    padding-inline: 12px;
  }

  .tvc-workbench .site-header__actions > button {
    display: none;
  }

  .tvc-workbench .buyer-project__header,
  .tvc-workbench .buyer-next-action,
  .tvc-workbench .tabs--buyer,
  .tvc-workbench .buyer-delivery-rail > section {
    padding-inline: 12px;
  }

  .tvc-workbench .detail-grid--summary {
    grid-template-columns: 1fr;
  }

  .tvc-workbench .detail-grid--summary > div {
    border-right: 0;
  }

  .tvc-workbench .customer-bottom-nav button {
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tvc-workbench *,
  .tvc-workbench *::before,
  .tvc-workbench *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress / Avada integration and native workbench controls. */

.woocommerce-account .woocommerce-MyAccount-navigation:has(+ .woocommerce-MyAccount-content .tvc-workbench) {
  display: none;
}

.woocommerce-account .woocommerce-MyAccount-content:has(.tvc-workbench) {
  float: none;
  width: 100%;
}

.tvc-workbench {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.tvc-workbench--provider {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
}

.tvc-workbench--customer > .buyer-home,
.tvc-workbench--customer > .buyer-project {
  margin-inline: auto;
}

.tvc-workbench .ph {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
}

.tvc-workbench button,
.tvc-workbench input,
.tvc-workbench textarea,
.tvc-workbench select {
  font-family: inherit;
}

.tvc-workbench button {
  border: 0;
  box-shadow: none;
}

.tvc-workbench .button .ph,
.tvc-workbench .text-link .ph,
.tvc-workbench .icon-label .ph {
  font-size: 1.2rem;
}

.tvc-workbench .icon-button .ph {
  font-size: 1.35rem;
}

.tvc-workbench .project-search {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  margin: 14px 18px 0;
  padding: 0 11px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.tvc-workbench .project-search input {
  width: 100%;
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

.tvc-workbench .project-search:focus-within {
  border-color: var(--coral);
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.tvc-workbench .project-search input:focus {
  outline: 0;
}

.tvc-workbench .form-status {
  min-height: 22px;
  color: var(--danger);
  font-size: 12px;
  line-height: 1.45;
}

.tvc-workbench .briefing-form {
  display: grid;
  gap: 18px;
  margin: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.tvc-workbench .briefing-form > label,
.tvc-workbench .modal-form > label,
.tvc-workbench .action-rail form {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 720;
}

.tvc-workbench .briefing-form textarea,
.tvc-workbench .modal-form textarea,
.tvc-workbench .modal-form input[type="file"],
.tvc-workbench .action-rail input[type="date"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: var(--paper);
  box-shadow: none;
}

.tvc-workbench .briefing-form textarea,
.tvc-workbench .modal-form textarea {
  min-height: 130px;
  resize: vertical;
}

.tvc-workbench .briefing-form textarea:focus,
.tvc-workbench .modal-form textarea:focus,
.tvc-workbench .action-rail input:focus {
  border-color: var(--coral);
  outline: 2px solid var(--coral);
  outline-offset: 1px;
}

.tvc-workbench .upload-field {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 82px;
  align-items: center;
  gap: 13px;
  padding: 15px;
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.tvc-workbench .upload-field span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.tvc-workbench .upload-field small {
  color: var(--muted);
  font-weight: 500;
}

.tvc-workbench .upload-field:hover,
.tvc-workbench .upload-field:focus-within {
  border-color: var(--accent-hover);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(0, 191, 181, 0.2);
}

.tvc-workbench .upload-field input[type="file"]:focus-visible {
  outline: 0;
}

.tvc-workbench .upload-field.is-dragging,
.tvc-workbench .upload-field[data-state="dragging"] {
  border-style: solid;
  border-color: var(--accent-hover);
  background: #c9efeb;
  box-shadow:
    0 0 0 2px rgba(0, 191, 181, 0.28),
    inset 0 0 0 2px var(--accent);
  transform: translateY(-1px);
}

.tvc-workbench .upload-field.has-selection,
.tvc-workbench .upload-field.has-files,
.tvc-workbench .upload-field.is-selected,
.tvc-workbench .upload-field[data-state="selected"],
.tvc-workbench .upload-field:has(input[type="file"][data-has-files="true"]) {
  border-style: solid;
  border-color: var(--success);
  background: #e8f5ed;
  box-shadow: inset 4px 0 0 var(--success);
}

.tvc-workbench .upload-field.has-selection > .ph,
.tvc-workbench .upload-field.has-files > .ph,
.tvc-workbench .upload-field.is-selected > .ph,
.tvc-workbench .upload-field[data-state="selected"] > .ph {
  color: var(--success);
}

.tvc-workbench .upload-field.has-error,
.tvc-workbench .upload-field.is-error,
.tvc-workbench .upload-field[aria-invalid="true"],
.tvc-workbench .upload-field[data-state="error"],
.tvc-workbench .upload-field:has(input[type="file"][aria-invalid="true"]) {
  border-style: solid;
  border-color: var(--danger);
  background: #fff0ed;
  box-shadow: inset 4px 0 0 var(--danger);
  color: #75180f;
}

.tvc-workbench .modal-form input[type="file"]:not(.sr-only) {
  border-style: dashed;
  border-color: var(--line-strong);
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    box-shadow 150ms ease;
}

.tvc-workbench .modal-form input[type="file"]:not(.sr-only):hover,
.tvc-workbench .modal-form input[type="file"]:not(.sr-only):focus-visible {
  border-color: var(--accent-hover);
  background: var(--accent-soft);
  box-shadow: 0 0 0 2px rgba(0, 191, 181, 0.2);
  outline: 0;
}

.tvc-workbench .modal-form input[type="file"][required]:valid {
  border-style: solid;
  border-color: var(--success);
  background: #e8f5ed;
  box-shadow: inset 4px 0 0 var(--success);
}

.tvc-workbench .modal-form input[type="file"]:user-invalid,
.tvc-workbench .modal-form input[type="file"][aria-invalid="true"] {
  border-style: solid;
  border-color: var(--danger);
  background: #fff0ed;
  box-shadow: inset 4px 0 0 var(--danger);
}

.tvc-workbench .tvc-email-status {
  display: flex;
  width: fit-content;
  max-width: calc(100% - 32px);
  align-items: flex-start;
  gap: 10px;
  margin: 16px auto;
  padding: 11px 14px;
  border: 1px solid #d79a4f;
  border-left: 4px solid var(--warning);
  background: #fff7e8;
  color: #6b3a12;
  font-size: 12px;
  font-weight: 620;
  line-height: 1.45;
}

.tvc-workbench .tvc-email-status > .ph {
  flex: 0 0 auto;
  margin-top: 2px;
  font-size: 17px;
}

.tvc-workbench .tvc-email-status > span {
  display: grid;
  gap: 2px;
}

.tvc-workbench .tvc-email-status small {
  color: inherit;
  font-weight: 500;
}

.tvc-workbench .tvc-email-status[hidden] {
  display: none;
}

.tvc-workbench .tvc-audio {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  accent-color: var(--accent);
}

.tvc-workbench .tvc-audio--attachment {
  width: calc(100% - 10px);
  height: 40px;
  margin: 0 5px 14px;
}

.tvc-workbench .file-attachment--compact .tvc-audio--attachment {
  width: calc(100% - 24px);
  margin: 0 12px 12px;
}

.tvc-workbench .action-rail__close,
.tvc-workbench .action-rail-backdrop {
  display: none;
}

.tvc-workbench .action-rail form {
  margin-top: 16px;
}

.tvc-workbench .action-rail form .text-link {
  justify-self: start;
}

.tvc-workbench .action-rail__links button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 720;
  text-align: left;
}

.tvc-workbench .tvc-inline-error {
  display: flex;
  width: min(100% - 32px, 760px);
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 36px auto;
  padding: 24px;
  border: 1px solid var(--danger);
  background: #fff5f3;
}

.tvc-workbench__loading {
  display: grid;
  width: min(100% - 32px, 1180px);
  gap: 16px;
  margin: 36px auto;
}

.tvc-workbench__skeleton {
  display: block;
  height: 104px;
  border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--accent-soft) 20%, #fff 45%, var(--accent-soft) 70%);
  background-size: 220% 100%;
  animation: tvc-workbench-skeleton 1.2s linear infinite;
}

.tvc-workbench__skeleton--title {
  width: min(420px, 70%);
  height: 44px;
}

@keyframes tvc-workbench-skeleton {
  to { background-position-x: -220%; }
}

.tvc-workbench .customer-bottom-nav {
  display: none;
}

.tvc-workbench .inline-notice--error {
  border-color: var(--danger);
  background: #fff0ed;
  color: #75180f;
}

.tvc-workbench .action-rail-backdrop {
  padding: 0;
}

@media (min-width: 1024px) and (max-width: 1179px) {
  .tvc-workbench .workbench--provider {
    grid-template-columns: 270px minmax(0, 1fr);
  }

  .tvc-workbench .action-rail {
    position: fixed;
    z-index: 100002;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: min(360px, 92vw);
    overflow-y: auto;
    border-left: 1px solid var(--line-strong);
    background: var(--paper);
    transform: translateX(102%);
    transition: transform 160ms ease;
  }

  .tvc-workbench.is-rail-open .action-rail {
    transform: translateX(0);
  }

  .tvc-workbench .action-rail__close {
    display: grid;
    margin: 10px 10px 0 auto;
  }

  .tvc-workbench .action-rail-backdrop {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(6, 8, 7, 0.42);
    opacity: 0;
    transition: opacity 160ms ease, visibility 160ms ease;
  }

  .tvc-workbench.is-rail-open .action-rail-backdrop {
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 1023px) {
  .tvc-workbench .action-rail {
    position: fixed;
    z-index: 100002;
    top: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: min(360px, 94vw);
    overflow-y: auto;
    border-left: 1px solid var(--line-strong);
    background: var(--paper);
    transform: translateX(102%);
    transition: transform 160ms ease;
  }

  .tvc-workbench.is-rail-open .action-rail {
    transform: translateX(0);
  }

  .tvc-workbench .action-rail__close {
    display: grid;
    margin: 10px 10px 0 auto;
  }

  .tvc-workbench .action-rail-backdrop {
    position: fixed;
    z-index: 100001;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(6, 8, 7, 0.42);
    opacity: 0;
  }

  .tvc-workbench.is-rail-open .action-rail-backdrop {
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 640px) {
  body.tvc-has-mobile-project-nav .fusion-footer {
    margin-bottom: var(--tvc-mobile-nav-offset, 0px);
  }

  .tvc-workbench .upload-field {
    min-height: 88px;
    align-items: flex-start;
    padding: 14px;
  }

  .tvc-workbench .tvc-email-status {
    width: calc(100% - 28px);
    max-width: none;
    margin-block: 14px;
    padding: 11px 12px;
  }

  .tvc-workbench .briefing-form {
    margin: 20px 14px;
    padding: 17px;
  }

  .tvc-workbench .unclassified-message > header,
  .tvc-workbench .unclassified-message form {
    display: grid;
  }

  .tvc-workbench .unclassified-message form .button {
    width: 100%;
  }

  .tvc-workbench .customer-bottom-nav {
    display: grid;
  }

  .tvc-workbench .customer-bottom-nav .ph {
    font-size: 1.3rem;
  }

  .woocommerce-account .tvc-workbench {
    margin-right: -15px;
    margin-left: -15px;
    width: calc(100% + 30px);
  }
}
