/* Transf’Air — shared tokens and components. Breakpoints: 1200 / 992 / 768 / 480px. */
:root {
  --ta-bg: #f6f8fb;
  --ta-surface: #fff;
  --ta-ink: #182b46;
  --ta-muted: #728097;
  --ta-border: #e5eaf1;
  --ta-primary: #173f78;
  --ta-primary-hover: #102f5b;
  --ta-primary-soft: #edf3fc;
  --ta-teal: #2b8f8d;
  --ta-purple: #8065ab;
  --ta-success: #298364;
  --ta-danger: #b44048;
  --ta-amber: #aa7722;
  --ta-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ta-space-1: 4px;
  --ta-space-2: 8px;
  --ta-space-3: 12px;
  --ta-space-4: 16px;
  --ta-space-5: 20px;
  --ta-space-6: 24px;
  --ta-space-8: 32px;
  --ta-space-10: 40px;
  --ta-radius-sm: 6px;
  --ta-radius: 10px;
  --ta-radius-lg: 16px;
  --ta-shadow: 0 2px 6px #18365b04, 0 8px 24px #18365b04;
  --ta-shadow-float: 0 24px 70px #091c3d2e;
  --ta-transition: 160ms ease;
  --ta-sidebar: 236px;
  --bs-body-font-family: var(--ta-font);
  --bs-body-color: var(--ta-ink);
  --bs-primary: #173f78;
  --bs-border-color: var(--ta-border);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ta-bg);
  font-family: var(--ta-font);
  color: var(--ta-ink);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--ta-primary);
  text-decoration: none;
}
a:hover {
  color: var(--ta-primary-hover);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ta-ink);
  font-family: var(--ta-font);
  letter-spacing: -0.025em;
  font-weight: 650;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
}
h3 {
  font-size: 15px;
}
p {
  color: var(--ta-muted);
}
small {
  font-size: 12px;
}
::selection {
  background: #cbe1fd;
}
:focus-visible {
  outline: 3px solid #7eb0e8;
  outline-offset: 3px;
}
.text-muted,
.text-secondary {
  color: var(--ta-muted) !important;
}
.text-primary {
  color: var(--ta-primary) !important;
}
.text-xs {
  font-size: 12px;
}
.text-sm {
  font-size: 13px;
}
.text-xxs {
  font-size: 11px;
}
.font-weight-bold,
.font-weight-bolder {
  font-weight: 650;
}
.font-monospace,
code {
  font-family: ui-monospace, SFMono-Regular, monospace;
}
code {
  color: var(--ta-primary);
  font-size: 12px;
  background: var(--ta-primary-soft);
  border-radius: 5px;
  padding: 4px 7px;
}
.horizontal {
  border: 0;
  border-top: 1px solid var(--ta-border);
  opacity: 1;
}
.min-width-0 {
  min-width: 0;
}
.ta-skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  background: var(--ta-primary);
  color: white;
  padding: 12px;
  z-index: 9999;
  border-radius: 8px;
}
.ta-skip-link:focus {
  top: 12px;
}
.ta-sidebar {
  width: var(--ta-sidebar);
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  background: #fcfdff;
  border-right: 1px solid var(--ta-border);
  padding: 30px 16px 16px;
  overflow-y: auto;
}
.ta-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 10px 32px;
  color: var(--ta-ink);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.7px;
}
.ta-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.ta-brand small {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--ta-muted);
  margin-top: -3px;
}
.ta-nav-label {
  margin: 22px 14px 9px;
  color: #8c97a8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 650;
}
.ta-nav-link {
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  border-radius: 7px;
  color: #63728a;
  font-size: 13px;
  font-weight: 550;
  width: 100%;
  text-align: left;
  transition:
    background var(--ta-transition),
    color var(--ta-transition);
  margin-bottom: 3px;
}
.ta-nav-link i {
  width: 17px;
  text-align: center;
  font-size: 14px;
}
.ta-nav-link:hover {
  background: #f0f4fa;
  color: var(--ta-primary);
}
.ta-nav-link.active {
  background: #eaf1fb;
  color: var(--ta-primary);
}
.ta-sidebar-bottom {
  margin-top: auto;
  padding-top: 35px;
}
.ta-workspace-label {
  padding: 15px 9px;
  display: flex;
  gap: 11px;
  font-weight: 600;
  font-size: 12px;
  border-top: 1px solid var(--ta-border);
}
.ta-workspace-label small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: var(--ta-muted);
}
.ta-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #e6edf9;
  color: var(--ta-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 650;
}
.ta-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.main-content {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ta-has-sidebar .main-content {
  margin-left: var(--ta-sidebar);
}
.ta-topbar {
  height: 68px;
  padding: 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--ta-border);
  background: #ffffffbd;
  gap: 16px;
}
.ta-topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #748297;
}
.ta-breadcrumb-divider {
  padding: 0 12px;
  color: #c1c9d6;
}
.ta-topbar-link {
  font-size: 11px;
  color: var(--ta-muted);
  white-space: nowrap;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ta-page {
  padding: 36px;
  max-width: 1680px;
  width: 100%;
  margin: 0 auto;
  flex: 1;
  min-width: 0;
}
.ta-page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.ta-page-heading h1 {
  margin: 0 0 8px;
}
.ta-page-heading p {
  margin: 0;
  font-size: 13px;
}
.ta-page-heading .ta-eyebrow {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: #8c9aaf;
  margin-bottom: 10px;
}
.ta-app-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  color: #9aa4b5;
  gap: 16px;
  font-size: 10px;
}
.ta-app-footer form {
  margin: 0;
}
.ta-text-button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ta-muted);
}
.ta-mobile-menu,
.ta-nav-scrim {
  display: none;
}
.btn {
  border-radius: 7px;
  min-height: 38px;
  padding: 9px 14px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition:
    background var(--ta-transition),
    border-color var(--ta-transition),
    box-shadow var(--ta-transition);
  white-space: normal;
}
.btn:hover {
  box-shadow: 0 2px 5px #1a345712;
}
.btn:active {
  transform: translateY(1px);
}
.btn-sm {
  font-size: 11px;
  min-height: 32px;
  padding: 6px 10px;
}
.btn-primary,
.btn-dark,
.bg-gradient-primary,
.bg-gradient-dark,
.btn.bg-gradient-success {
  color: #fff !important;
  background: var(--ta-primary) !important;
  border: 1px solid var(--ta-primary) !important;
  box-shadow: none !important;
}
.btn-primary:hover,
.btn-dark:hover,
.bg-gradient-primary:hover,
.bg-gradient-dark:hover {
  background: var(--ta-primary-hover) !important;
}
.btn-outline-dark,
.btn-outline-primary,
.btn-outline-secondary {
  background: var(--ta-surface);
  border: 1px solid #dce3ed;
  color: #52637d;
}
.btn-outline-primary {
  color: var(--ta-primary);
}
.btn-outline-dark:hover,
.btn-outline-primary:hover,
.btn-outline-secondary:hover {
  background: var(--ta-primary-soft);
  border-color: #bbcde4;
  color: var(--ta-primary);
}
.bg-gradient-info {
  background: #eaf1fc !important;
  color: #3964a1 !important;
}
.bg-gradient-success {
  background: #e7f4ed !important;
  color: #2a8062 !important;
}
.bg-gradient-warning {
  background: #faf0d9 !important;
  color: #9a701e !important;
}
.bg-gradient-secondary {
  background: #edf0f5 !important;
  color: #738199 !important;
}
.bg-gradient-danger {
  background: #fcecef !important;
  color: #b44048 !important;
}
.btn.bg-gradient-danger {
  border: 1px solid #f3d1d8;
}
.ta-icon-btn {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #7a879c;
  padding: 4px;
  font-size: 13px;
}
.ta-icon-btn:hover {
  color: var(--ta-primary);
  background: var(--ta-primary-soft);
}
.ta-text-link {
  font-size: 12px;
  font-weight: 550;
}
.ta-inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ta-inline-actions form {
  margin: 0;
}
.ta-panel,
.card {
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  background: var(--ta-surface);
  box-shadow: var(--ta-shadow);
  min-width: 0;
}
.ta-panel-heading,
.card-header {
  padding: 22px 24px 18px;
  background: transparent;
  border: 0;
  border-radius: var(--ta-radius) var(--ta-radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ta-panel-heading h2 {
  margin: 0;
}
.ta-panel-heading p {
  font-size: 12px;
  margin: 5px 0 0;
}
.card-header h6 {
  font-size: 16px;
}
.card-body {
  padding: 22px 24px;
}
.ta-alert {
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 13px;
  padding: 12px 16px;
}
.alert-danger {
  background: #fff0f0;
  color: #a93c45 !important;
  border-color: #f4d9db;
}
.alert-success {
  background: #eef8f1;
  color: #298364 !important;
  border-color: #d8eddf;
}
.alert-info {
  background: #edf4ff;
  color: #39639c !important;
  border-color: #d9e5f7;
}
.alert-warning {
  background: #fff8e7;
  color: #987025 !important;
  border-color: #f1e6c7;
}
.ta-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.ta-field label,
.form-label-top,
.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #52647d;
  margin: 0;
}
.ta-field small {
  color: var(--ta-muted);
  font-size: 11px;
  line-height: 1.6;
}
.ta-field input,
.ta-field select,
.ta-field textarea,
.ta-filter-form input,
.ta-filter-form select,
.input-clean,
.form-control,
.form-select,
.ta-category-row input,
.ta-inline-actions > input {
  border: 1px solid #dce3ed;
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ta-ink);
  background: white;
  min-height: 40px;
  font-size: 13px;
  width: 100%;
  box-shadow: none;
  outline: none;
}
.ta-field input:focus,
.ta-field select:focus,
.input-clean:focus,
.form-control:focus,
.ta-filter-form input:focus {
  border-color: #82a8d3;
  box-shadow: 0 0 0 3px #dae6f660;
}
.ta-field input[type="checkbox"],
.ta-filter-form input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-height: 0;
  accent-color: var(--ta-primary);
  border-radius: 4px;
}
.ta-field input[type="color"] {
  width: 100%;
  height: 42px;
  padding: 4px;
  background: white;
}
.ta-field textarea {
  min-height: 92px;
  resize: vertical;
}
.ta-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 24px;
}
.ta-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.ta-form-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--ta-border);
  padding-top: 22px;
  flex-wrap: wrap;
}
.ta-hint {
  font-size: 12px;
  color: var(--ta-muted);
  line-height: 1.8;
  margin-top: 20px;
}
.ta-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid var(--ta-border);
  margin-bottom: 24px;
  overflow: auto;
  white-space: nowrap;
}
.ta-tabs a {
  padding: 12px 0;
  font-size: 13px;
  font-weight: 550;
  color: var(--ta-muted);
  border-bottom: 2px solid transparent;
}
.ta-tabs a.active {
  color: var(--ta-primary);
  border-color: var(--ta-primary);
}
.ta-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.ta-settings-aside > .ta-panel,
.ta-settings-aside.ta-panel {
  padding: 22px;
  margin-bottom: 20px;
}
.ta-settings-aside p {
  font-size: 12px;
  line-height: 1.9;
  margin: 10px 0 0;
}
.ta-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.ta-filter-form {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
}
.ta-search {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 430px;
}
.ta-search > i {
  position: absolute;
  left: 14px;
  top: 14px;
  color: #9aa6b8;
  font-size: 12px;
}
.ta-search input {
  padding-left: 37px;
}
.ta-filter-form select {
  width: auto;
  font-size: 12px;
  padding-right: 28px;
}
.ta-check {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
  color: var(--ta-muted);
}
.ta-page-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.ta-page-actions .ta-tabs {
  margin: 0;
  flex: 1;
}
.ta-empty {
  text-align: center;
  padding: 65px 24px;
}
.ta-empty > i {
  background: #f0f5fb;
  color: #7897bc;
  border-radius: 14px;
  font-size: 25px;
  padding: 18px;
  margin-bottom: 20px;
}
.ta-empty h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.ta-empty p {
  font-size: 13px;
  margin: 0;
}
.ta-quiet-empty {
  padding: 28px 24px;
  font-size: 12px;
}
.ta-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  padding: 12px 20px;
  border-radius: 10px;
  background: #173c58;
  color: #fff;
  box-shadow: var(--ta-shadow-float);
  font-size: 13px;
  max-width: calc(100vw - 32px);
}
.ta-toast.is-error {
  background: #9e3d46;
}
.ta-badge,
.badge,
.mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 550;
  line-height: 1.4;
  background: #f0f3f8;
  color: #7c899d;
  letter-spacing: 0;
}
.ta-badge.is-success {
  color: #298364;
  background: #edf7f1;
}
.ta-badge.is-amber {
  color: #aa7722;
  background: #fff6e5;
}
.ta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.ta-table-wrap,
.table-responsive {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}
.ta-table,
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 0;
}
.ta-table thead th,
.table thead th {
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.035em;
  color: #8b97a9;
  background: #fbfcfe;
  border-top: 1px solid #f0f3f7;
  border-bottom: 1px solid var(--ta-border);
  padding: 12px 18px;
  text-align: left;
  white-space: nowrap;
}
.ta-table tbody td,
.table tbody td {
  padding: 14px 18px;
  border-bottom: 1px solid #edf1f6;
  vertical-align: middle;
  color: #6c7b91;
}
.ta-table tbody tr:last-child td {
  border-bottom: 0;
}
.ta-table tbody tr:hover,
.table tbody tr:hover {
  background: #fafcff;
}
.ta-table td:first-child {
  max-width: 320px;
  min-width: 200px;
}
.ta-file-name {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 550;
  color: #3c4e68;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ta-file-name > span:last-child {
  min-width: 0;
}
.ta-file-name small {
  display: block;
  font-size: 10px;
  font-weight: 400;
  color: #98a4b7;
  margin-top: 3px;
}
.ta-file-icon {
  width: 34px;
  height: 38px;
  background: #eff4fc;
  color: #7596c3;
  border: 1px solid #e4ecf8;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  font-size: 14px;
}
.ta-file-icon.is-purple {
  background: #f4effa;
  border-color: #eee6f6;
  color: #a08ac1;
}
.ta-file-icon.is-teal {
  background: #edf7f6;
  border-color: #e2efed;
  color: #78aaa6;
}
.dropdown-menu {
  border: 1px solid var(--ta-border);
  border-radius: 9px;
  box-shadow: 0 12px 35px #13315b1a;
  font-size: 12px;
  padding: 6px;
  min-width: 190px;
}
.dropdown-item {
  padding: 9px 10px;
  border-radius: 5px;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: #61738d;
  white-space: normal;
}
.dropdown-item:hover {
  background: var(--ta-primary-soft);
  color: var(--ta-primary);
}
.ta-pagination {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: var(--ta-muted);
  border-top: 1px solid var(--ta-border);
  align-items: center;
}
.ta-pagination > div {
  display: flex;
  gap: 8px;
}
.modal-backdrop.show {
  opacity: 0.35;
}
.modal-content {
  border: 1px solid var(--ta-border);
  border-radius: 14px;
  box-shadow: var(--ta-shadow-float);
  overflow: hidden;
}
.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--ta-border);
}
.modal-title {
  font-size: 17px;
  font-weight: 650;
}
.modal-body {
  padding: 24px;
}
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--ta-border);
}
.btn-close {
  width: 24px;
  height: 24px;
  background-size: 10px;
  border-radius: 6px;
  opacity: 0.5;
}
.btn-close:hover {
  opacity: 1;
  background-color: #edf2f8;
}
.ta-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.ta-metric {
  background: white;
  border: 1px solid var(--ta-border);
  border-radius: 10px;
  padding: 20px 22px;
  box-shadow: var(--ta-shadow);
}
.ta-metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7e8da1;
  font-size: 11px;
}
.ta-metric-label i {
  color: #93a9c9;
  background: #f0f5fc;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
}
.ta-metric strong {
  font-size: 28px;
  letter-spacing: -1px;
  display: block;
  font-weight: 650;
  margin: 8px 0 3px;
  line-height: 1.3;
}
.ta-metric small {
  color: #a1aaba;
  font-size: 10px;
}
.ta-dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  margin-bottom: 24px;
  align-items: start;
}
.ta-secondary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ta-quick-actions {
  padding: 0 22px;
}
.ta-quick-actions > a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eff2f7;
  color: #52637b;
  font-weight: 550;
  font-size: 12px;
}
.ta-quick-actions > a > span:nth-child(2) {
  flex: 1;
}
.ta-quick-actions small {
  display: block;
  font-weight: 400;
  font-size: 10px;
  color: #98a4b6;
  margin-top: 4px;
}
.ta-quick-actions > a > i:last-child {
  font-size: 9px;
  color: #a8b4c6;
}
.ta-storage-meter {
  padding: 25px 22px;
}
.ta-storage-meter > div {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #8392a8;
}
.ta-storage-meter strong {
  font-weight: 550;
  color: #5b7497;
}
progress {
  width: 100%;
  height: 5px;
  appearance: none;
  border: 0;
  border-radius: 5px;
  overflow: hidden;
  display: block;
  margin: 12px 0;
  background: #edf2fa;
}
progress::-webkit-progress-bar {
  background: #edf2fa;
}
progress::-webkit-progress-value {
  background: #6f96c8;
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: #6f96c8;
}
.ta-storage-meter small {
  font-size: 10px;
  color: #9ba8ba;
}
.ta-activity-list > div,
.ta-activity-list > a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 24px;
  border-top: 1px solid #f1f4f8;
  font-size: 11px;
  color: #6c7d94;
}
.ta-activity-list > div > span:nth-child(2),
.ta-activity-list > a > span:nth-child(2) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.ta-activity-list small {
  display: block;
  color: #9da8b9;
  font-size: 10px;
  margin-top: 3px;
}
.ta-activity-list time {
  color: #a2adbc;
  font-size: 10px;
  white-space: nowrap;
}
.ta-activity-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #709bc9;
  box-shadow: 0 0 0 4px #f0f5fc;
}
.ta-activity-dot.is-amber {
  background: #c7a86b;
  box-shadow: 0 0 0 4px #fbf6ec;
}
.ta-activity-dot.is-purple {
  background: #9d89b5;
  box-shadow: 0 0 0 4px #f5f1f9;
}
.ta-visual-grid,
.ta-theme-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ta-visual-card {
  background: #fff;
  border: 1px solid var(--ta-border);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: var(--ta-shadow);
}
.ta-visual-card > a > img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: filter var(--ta-transition);
}
.ta-visual-card > a:hover > img {
  filter: brightness(0.95);
}
.ta-visual-body {
  padding: 18px;
}
.ta-visual-title {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  align-items: start;
}
.ta-visual-title h3 {
  font-size: 13px;
  overflow-wrap: anywhere;
  margin: 0 0 5px;
}
.ta-visual-title .ta-badge {
  font-size: 9px;
  flex-shrink: 0;
}
.ta-visual-body > p {
  font-size: 11px;
  margin: 4px 0 16px;
}
.ta-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 25px 16px;
  border: 1px dashed #b7cae2;
  border-radius: 10px;
  background: #f7faff;
  text-align: center;
}
.ta-upload-zone > i {
  color: #91aacc;
  font-size: 30px;
}
.ta-upload-zone > span {
  font-size: 11px;
  color: var(--ta-muted);
}
.ta-upload-zone input {
  font-size: 12px;
  width: 100%;
}
.ta-editor {
  margin-top: 32px;
  scroll-margin-top: 24px;
}
.ta-editor > .ta-settings-grid {
  grid-template-columns: 1fr 1fr;
}
.ta-edit-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 8px;
}
.ta-category-row {
  display: flex;
  gap: 6px;
}
.ta-category-row > form:first-child {
  display: flex;
  flex: 1;
  gap: 8px;
}
.ta-category-row input {
  min-width: 0;
}
.ta-theme-card {
  overflow: hidden;
}
.ta-theme-art {
  height: 190px;
  display: flex;
  align-items: center;
  padding: 25px;
  position: relative;
  isolation: isolate;
  background: radial-gradient(
      ellipse at 80% 90%,
      var(--theme-secondary),
      transparent 70%
    ),
    var(--theme-primary);
}
.ta-theme-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.ta-mini-card {
  width: 105px;
  height: 135px;
  background: white;
  border-radius: 8px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 35px #07172f22;
}
.ta-mini-card > span {
  height: 5px;
  width: 70%;
  background: #e2e9f2;
  border-radius: 4px;
}
.ta-mini-card > span:nth-child(2) {
  width: 100%;
  height: 32px;
  background: #f0f3f9;
}
.ta-mini-card > b {
  height: 18px;
  margin-top: auto;
  border-radius: 4px;
}
.ta-preview-dialog {
  max-width: min(1300px, calc(100vw - 40px));
  margin: 20px auto;
}
.ta-preview-stage {
  background: #e5eaf1;
  padding: 16px;
  display: flex;
  justify-content: center;
  overflow: auto;
}
.ta-preview-frame {
  width: 100%;
  height: min(780px, calc(100dvh - 150px));
  border: 0;
  border-radius: 8px;
  background: #fff;
}
.ta-preview-frame.is-mobile {
  width: 390px;
  max-width: 100%;
}
/* Public reception */
.ta-public .main-content {
  margin: 0 !important;
}
.ta-public-content {
  padding: 0;
  max-width: none;
}
.ta-download {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
  background: radial-gradient(
      ellipse at 80% 80%,
      var(--theme-secondary) 0,
      transparent 65%
    ),
    radial-gradient(ellipse at 20% 10%, #ffffff15, transparent 70%),
    var(--theme-primary);
  display: flex;
  flex-direction: column;
  color: var(--theme-text);
}
.ta-download-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.ta-download-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ta-download-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(90deg, #07152b60, transparent 75%),
    rgba(0, 0, 0, var(--theme-overlay));
}
.ta-download-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.ta-download-lines:before,
.ta-download-lines:after {
  content: "";
  width: 85vw;
  height: 85vw;
  position: absolute;
  border: 1px solid #ffffff10;
  border-radius: 50%;
  right: -25vw;
  top: -25vw;
}
.ta-download-lines:after {
  right: -15vw;
  top: -15vw;
}
.ta-public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 48px;
}
.ta-public-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit !important;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.ta-public-brand small {
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  display: block;
}
.ta-public-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.ta-public-nav {
  color: inherit !important;
  font-size: 11px;
  opacity: 0.7;
  display: flex;
  gap: 8px;
  align-items: center;
}
.ta-download-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 36px 7vw;
  gap: 10vw;
}
.ta-download-main.position-center {
  justify-content: center;
}
.ta-download-main.position-right {
  flex-direction: row-reverse;
}
.ta-download-card {
  background: #fffffffa;
  color: var(--ta-ink);
  border-radius: 17px;
  width: 400px;
  max-width: 100%;
  flex-shrink: 0;
  box-shadow: var(--ta-shadow-float);
  padding: 30px;
  backdrop-filter: blur(20px);
}
.ta-download-card.is-dark {
  background: #112238f5;
  color: #e7effc;
  --ta-ink: #eef3fa;
  --ta-muted: #95a7c0;
  --ta-border: #ffffff15;
  --ta-primary-soft: #ffffff0d;
}
.ta-download-card.is-dark .ta-download-file {
  border-color: #ffffff12;
}
.ta-download-card.is-dark .ta-file-icon {
  background: #ffffff0c;
  border-color: #ffffff12;
  color: #88a9d0;
}
.ta-download-card.is-dark .ta-download-meta {
  background: #ffffff07;
}
.ta-download-card.is-dark .ta-icon-btn {
  color: #98b2d4;
}
.ta-reception-kicker {
  color: #93a4b9;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 9px;
  font-weight: 650;
  margin: 0 0 18px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.ta-reception-kicker .ta-dot {
  color: #64a48f;
}
.ta-download-card h1 {
  font-size: 25px;
  letter-spacing: -0.9px;
  line-height: 1.3;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.ta-download-sender {
  font-size: 12px;
  margin-bottom: 17px;
  color: var(--ta-muted);
}
.ta-download-sender b {
  color: var(--ta-ink);
  font-weight: 550;
}
.ta-download-message {
  font-size: 12px;
  color: var(--ta-muted);
  line-height: 1.8;
  overflow-wrap: anywhere;
  margin: 0 0 20px;
  white-space: pre-line;
}
.ta-download-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  background: #f5f7fb;
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--ta-muted);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.ta-download-meta i {
  color: #8da5c4;
}
.ta-download-file-list {
  max-height: min(32dvh, 300px);
  min-height: 80px;
  overflow: auto;
  overscroll-behavior: contain;
  margin: 0 -4px 20px;
  padding: 0 4px;
  scrollbar-width: thin;
}
.ta-download-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px solid #edf1f5;
}
.ta-download-file:last-child {
  border-bottom: 0;
}
.ta-download-file-name {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 550;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.ta-download-file-name small {
  display: block;
  font-size: 10px;
  color: var(--ta-muted);
  margin-top: 3px;
  font-weight: 400;
}
.ta-download-file form {
  margin: 0;
}
.ta-download-file .ta-file-icon {
  width: 32px;
  height: 36px;
  flex-basis: 32px;
  font-size: 13px;
}
.ta-download-file .ta-icon-btn {
  width: 29px;
  min-width: 29px;
}
.ta-download-all {
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-button);
  color: var(--theme-button-text);
  border: 0;
  border-radius: 7px;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  padding: 13px;
  transition: filter var(--ta-transition);
}
.ta-download-all:hover {
  filter: brightness(1.13);
}
.ta-download-all:disabled {
  opacity: 0.6;
}
.ta-download-expiry {
  font-size: 10px;
  text-align: center;
  color: #9ca8ba;
  margin: 13px 0 0;
}
.ta-download-expiry i {
  margin-right: 4px;
}
.ta-download-brand-logo {
  max-width: 100px;
  max-height: 45px;
  object-fit: contain;
  margin-bottom: 20px;
}
.ta-download-copy {
  max-width: 450px;
  margin-left: auto;
  padding-bottom: 20px;
}
.ta-download-copy h2 {
  font-size: clamp(36px, 4.5vw, 68px);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -2.5px;
  color: inherit;
  margin: 0 0 23px;
}
.ta-download-copy p {
  font-size: 14px;
  line-height: 1.9;
  max-width: 290px;
  color: inherit;
  opacity: 0.7;
}
.position-right .ta-download-copy {
  margin-left: 0;
  margin-right: auto;
}
.position-center .ta-download-copy {
  display: none;
}
.ta-public-footer {
  padding: 26px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: inherit;
  opacity: 0.65;
}
.ta-share-details {
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid var(--ta-border);
  font-size: 10px;
  color: var(--ta-muted);
}
.ta-share-details summary {
  cursor: pointer;
  list-style: none;
  text-align: center;
}
.ta-share-controls {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ta-share-qr {
  display: flex;
  justify-content: center;
  padding: 16px 0 0;
}
.ta-share-qr img {
  margin: auto;
}
.ta-preview-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  font-size: 10px;
  padding: 7px 13px;
  background: #ffffffed;
  color: #536881;
  z-index: 3;
  box-shadow: 0 2px 10px #0001;
}
.ta-file-preview-frame {
  width: 100%;
  height: 65dvh;
  border: 0;
  border-radius: 8px;
  background: #f3f6fb;
}
.ta-file-preview-image {
  max-width: 100%;
  max-height: 65dvh;
  object-fit: contain;
  display: block;
  margin: auto;
}
.ta-preview-content {
  background: #f4f7fb;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ta-preview-content video {
  max-width: 100%;
  max-height: 65dvh;
}
.ta-preview-content audio {
  width: 100%;
  margin: 35px 0;
}
/* Existing explorer and upload: keep DOM, centralize proportions and palette. */
.workspace-shell {
  max-width: none;
}
.workspace-hero {
  border: 1px solid var(--ta-border);
  border-radius: 12px;
  box-shadow: var(--ta-shadow);
  overflow: hidden;
}
.workspace-top {
  padding: 20px;
  gap: 22px;
  background: linear-gradient(115deg, #ffffff, var(--workspace-tint, #f4f7fc));
  grid-template-columns: minmax(0, 1fr) auto;
}
.workspace-top.with-ad {
  grid-template-columns: minmax(0, 1fr) 180px auto;
}
.workspace-identity {
  padding: 0;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 16px;
  background: none;
  border: 0;
  box-shadow: none;
}
.workspace-logo {
  width: 55px;
  height: 55px;
  flex-basis: 55px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid var(--ta-border);
}
.workspace-title {
  font-size: 24px;
  line-height: 1.3;
}
.workspace-kicker {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #8ea1ba;
}
.workspace-desc {
  font-size: 12px;
  color: var(--ta-muted);
}
.workspace-badges {
  margin-top: 10px;
  gap: 6px;
}
.workspace-expiry-note {
  font-size: 10px;
  max-width: 500px;
  color: #8b98ab;
}
.workspace-people {
  padding: 0;
  min-width: 140px;
}
.participant-avatar,
.participant-more {
  width: 35px !important;
  height: 35px !important;
  flex-basis: 35px !important;
  border-radius: 50% !important;
  font-size: 11px;
  box-shadow: none;
  border: 2px solid white;
}
.participant-avatar img,
.workspace-participant-avatar,
.workspace-participant-avatar img {
  border-radius: 50% !important;
  object-fit: cover;
}
.workspace-avatar-row > * + * {
  margin-left: -7px;
}
.workspace-people-count {
  font-size: 10px;
}
.workspace-people-kicker {
  font-size: 9px;
}
.workspace-stat-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 20px 16px;
  gap: 12px;
}
.workspace-stat {
  padding: 10px 14px;
  border-radius: 7px;
  border-color: var(--ta-border);
  background: #f9fbfe;
  box-shadow: none;
}
.workspace-stat-value {
  font-size: 13px;
  font-weight: 600;
}
.workspace-stat-label {
  font-size: 9px;
  color: #8c9caf;
}
.workspace-ad-media {
  height: 80px;
  border-radius: 8px;
}
.workspace-ad-image {
  height: 80px;
  object-fit: cover;
}
.workspace-tabs {
  padding: 0 20px;
  gap: 26px;
  border-top: 1px solid var(--ta-border);
}
.workspace-tab {
  padding: 14px 0;
  font-size: 12px;
  border-bottom-width: 2px;
}
.workspace-content {
  padding: 22px;
}
.explorer-shell,
.explorer-layout {
  border-radius: 8px;
  box-shadow: none;
}
.explorer-toolbar {
  padding: 12px 16px;
  background: #fafcfe;
}
.breadcrumb-line {
  font-size: 12px;
}
.tree-sidebar {
  background: #f9fbfd;
  border-right: 1px solid var(--ta-border);
}
.tree-link,
.tree-row {
  font-size: 12px;
}
.explorer-list th {
  font-size: 10px;
  font-weight: 550;
  color: #8a9ab0;
  background: #fafcfe;
}
.explorer-list td {
  font-size: 12px;
  padding: 12px 14px;
}
.item-label {
  font-size: 12px;
}
.explorer-item:hover {
  background: #f7faff;
}
.workspace-file-actions .btn {
  min-height: 29px;
  padding: 5px 9px;
  font-size: 10px;
}
.workspace-people-popover {
  z-index: 1050;
  border-radius: 10px;
}
.workspace-avatar-stack:focus-within .workspace-people-popover {
  display: block;
  opacity: 1;
  visibility: visible;
}
.dropzone {
  border: 1px dashed #b0c5e0;
  background: #f8fbff;
  border-radius: 11px;
  padding: 30px 18px;
}
.dropzone:hover {
  border-color: #6e98ce;
  background: #f2f7fe;
}
.dropzone .text-primary {
  color: #6d92bf !important;
}
.file-row {
  box-shadow: none;
  border: 1px solid var(--ta-border);
  border-radius: 7px;
}
.code-box {
  border-radius: 8px !important;
  border: 1px solid #dce5f0 !important;
  color: var(--ta-primary) !important;
  box-shadow: none !important;
  background: #f9fbfe !important;
}
.code-box:focus {
  border-color: #82a8d3 !important;
  box-shadow: 0 0 0 3px #dae6f660 !important;
}
.progress {
  border-radius: 6px;
  background: #e8eff8;
}
.progress-bar {
  background: var(--ta-primary);
}
.success-code {
  color: var(--ta-primary);
}
.admin-workspaces-table,
.admin-transfers-table {
  font-size: 12px;
}
.workspace-toggle-label {
  font-size: 12px;
}
.admin-workspaces-page .card,
.upload-codes-card,
.s3-card {
  border: 1px solid var(--ta-border);
  box-shadow: var(--ta-shadow);
}
.transfer-key {
  font-size: 9px;
  opacity: 0.5;
}
/* Access: the six inputs and their behavior remain intact. */
.access-wrapper {
  min-height: 100dvh;
  background: radial-gradient(ellipse at 0 0, #e3ecf8, transparent 60%), #f7f9fc;
  padding: 40px;
}
.access-shell {
  max-width: 1080px;
  gap: 75px;
  align-items: center;
}
.access-hero {
  background: none;
  box-shadow: none;
  border: 0;
  padding: 28px 0;
}
.access-headline {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 550;
  line-height: 1.13;
  letter-spacing: -1.8px;
  color: var(--ta-primary);
  margin-bottom: 24px;
}
.access-copy {
  font-size: 14px;
  line-height: 1.9;
  max-width: 460px;
  color: #8090a6;
}
.access-brand {
  margin-bottom: 50px;
}
.access-brand-name {
  font-size: 16px;
}
.access-brand-logo {
  width: 44px;
  height: 44px;
}
.access-brand-kicker {
  font-size: 9px;
  color: #879db8;
}
.access-feature-grid {
  gap: 14px;
  margin-top: 35px;
}
.access-feature {
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}
.access-feature-icon {
  background: #eaf0f8;
  color: #7794ba;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 12px;
}
.access-feature-title {
  font-size: 11px;
  color: #6f819a;
}
.access-feature-text {
  font-size: 10px;
  line-height: 1.7;
  color: #94a1b4;
}
.access-trust-strip {
  margin-top: 35px;
  gap: 12px;
}
.access-trust-pill {
  background: transparent;
  border: 0;
  font-size: 9px;
  color: #8ea1ba;
  padding: 0;
}
.access-card {
  border: 1px solid #e2e9f3;
  border-radius: 16px;
  box-shadow: 0 20px 60px #173f7809;
  background: #fff;
}
.access-card-inner {
  padding: 30px;
}
.access-card-logo {
  height: 54px;
  margin: 10px auto 22px;
}
.access-card-title {
  font-size: 23px;
  letter-spacing: -0.6px;
}
.access-card-kicker {
  color: #92a2b8;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.access-sub {
  font-size: 12px;
  color: #91a0b4;
  line-height: 1.8;
  margin-bottom: 25px;
}
.access-form-shell {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}
.access-form-label {
  font-size: 11px;
  color: #7d8fa8;
}
.access-card .code-grid {
  gap: 7px;
}
.access-card .code-box {
  width: 100%;
  min-width: 0;
  height: 52px;
  font-size: 20px;
}
.access-form-cta .btn {
  min-height: 44px;
  margin-top: 14px;
}
.access-meta {
  border-top: 1px solid var(--ta-border);
  padding-top: 20px;
  gap: 10px;
}
.access-meta-card {
  border: 0;
  padding: 8px 0;
  background: none;
  border-radius: 0;
}
.access-meta-label {
  font-size: 8px;
  color: #a1afc1;
}
.access-meta-value {
  font-size: 12px;
  color: #8398b4;
  font-weight: 500;
}
.access-footer {
  color: #a5b0bf;
  font-size: 9px;
  border-color: var(--ta-border);
  margin-top: 20px;
}
.access-toprow .btn {
  min-height: 28px;
  font-size: 10px;
  padding: 4px 9px;
  border-color: #e4eaf3;
  color: #98a6bb;
}
.access-feature-icon .fa-server {
  color: #8f83b0;
}
@media (min-width: 1600px) {
  .ta-download-main {
    padding-left: 10vw;
    padding-right: 10vw;
  }
  .ta-download-copy {
    max-width: 550px;
  }
}
@media (max-width: 1200px) {
  .ta-page {
    padding: 28px;
  }
  .ta-topbar {
    padding: 0 28px;
  }
  .ta-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 270px;
  }
  .ta-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ta-settings-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .ta-visual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ta-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ta-metric {
    padding: 16px;
  }
  .ta-metric strong {
    font-size: 24px;
  }
  .ta-download-main {
    gap: 6vw;
    padding: 30px 5vw;
  }
  .ta-download-copy h2 {
    font-size: 48px;
  }
  .workspace-top.with-ad {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .workspace-ad-visual {
    display: none;
  }
}
@media (max-width: 992px) {
  :root {
    --ta-sidebar: 210px;
  }
  .ta-page {
    padding: 24px;
  }
  .ta-topbar {
    padding: 0 24px;
  }
  .ta-dashboard-grid,
  .ta-settings-grid {
    grid-template-columns: 1fr;
  }
  .ta-secondary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ta-settings-aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ta-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ta-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
  .ta-quick-actions > a {
    align-items: start;
    flex-wrap: wrap;
  }
  .ta-quick-actions > a > i:last-child {
    display: none;
  }
  .ta-download-copy h2 {
    font-size: 37px;
    letter-spacing: -1.4px;
  }
  .ta-download-copy p {
    font-size: 12px;
  }
  .ta-download-card {
    width: 370px;
    padding: 25px;
  }
  .ta-public-header,
  .ta-public-footer {
    padding: 25px 30px;
  }
  .access-wrapper {
    padding: 30px;
  }
  .access-shell {
    gap: 40px;
  }
  .access-headline {
    font-size: 38px;
  }
  .access-feature-grid {
    display: none;
  }
  .workspace-top {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .workspace-stat-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .ta-sidebar {
    transform: translateX(-100%);
    transition: transform var(--ta-transition);
    width: 236px;
    box-shadow: var(--ta-shadow-float);
  }
  .ta-nav-open .ta-sidebar {
    transform: translateX(0);
  }
  .ta-nav-open .ta-nav-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #10213d50;
    border: 0;
    z-index: 1035;
  }
  .ta-has-sidebar .main-content {
    margin-left: 0;
  }
  .ta-mobile-menu {
    display: inline-flex;
  }
  .ta-topbar {
    height: 60px;
    padding: 0 18px;
  }
  .ta-topbar-link {
    font-size: 10px;
  }
  .ta-topbar-title {
    font-size: 11px;
  }
  .ta-breadcrumb-divider {
    padding: 0 6px;
  }
  .ta-page {
    padding: 25px 18px;
  }
  .ta-page-heading {
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 12px;
  }
  .ta-page-heading h1 {
    font-size: 25px;
  }
  .ta-page-heading p {
    font-size: 12px;
  }
  .ta-page-heading .ta-eyebrow {
    font-size: 9px;
  }
  .ta-page-heading > .btn {
    font-size: 10px;
    padding: 8px 10px;
    min-height: 35px;
    flex-shrink: 0;
  }
  .ta-metrics {
    gap: 12px;
  }
  .ta-metric {
    padding: 16px;
  }
  .ta-metric-label {
    font-size: 10px;
  }
  .ta-metric strong {
    font-size: 26px;
  }
  .ta-panel-heading {
    padding: 19px;
  }
  .ta-form,
  .card-body {
    padding: 20px;
  }
  .ta-secondary-grid {
    grid-template-columns: 1fr;
  }
  .ta-app-footer {
    padding: 20px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ta-filter-form {
    gap: 9px;
  }
  .ta-search {
    max-width: none;
    flex-basis: 100%;
  }
  .ta-filter-form select {
    flex: 1;
    min-width: 120px;
  }
  .ta-page-actions {
    align-items: center;
    gap: 14px;
  }
  .ta-page-actions > .btn {
    font-size: 11px;
    min-height: 34px;
    padding: 8px 10px;
  }
  .ta-theme-grid,
  .ta-visual-grid {
    gap: 16px;
  }
  .ta-visual-title {
    flex-wrap: wrap;
  }
  .ta-visual-body {
    padding: 15px;
  }
  .ta-visual-body .btn {
    font-size: 10px;
  }
  .ta-editor > .ta-settings-grid {
    grid-template-columns: 1fr;
  }
  .ta-two-col {
    gap: 18px;
  }
  .ta-table-wrap {
    border-radius: 0 0 10px 10px;
  }
  .ta-table td,
  .ta-table th {
    padding: 13px;
  }
  .ta-download-main {
    justify-content: center;
    padding: 24px 18px 32px;
    gap: 0;
    flex: 1;
  }
  .ta-download-card {
    width: 410px;
    padding: 27px;
  }
  .ta-download-copy {
    display: none;
  }
  .ta-download-main.position-right {
    flex-direction: row;
  }
  .ta-public-header {
    padding: 24px;
  }
  .ta-public-brand {
    font-size: 19px;
    gap: 9px;
  }
  .ta-public-brand img {
    width: 32px;
    height: 32px;
  }
  .ta-public-brand small {
    font-size: 8px;
  }
  .ta-public-footer {
    padding: 20px 24px;
    font-size: 9px;
    gap: 10px;
  }
  .ta-download-file-list {
    max-height: 30dvh;
  }
  .ta-public-content {
    padding: 0;
  }
  .ta-preview-dialog {
    margin: 8px;
    max-width: calc(100vw - 16px);
  }
  .ta-preview-stage {
    padding: 8px;
  }
  .access-wrapper {
    padding: 24px 18px;
  }
  .access-shell {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 420px;
  }
  .access-hero {
    padding: 10px 5px 0;
    min-height: 0;
    width: 100%;
  }
  .access-brand {
    margin-bottom: 24px;
  }
  .access-brand-copy {
    display: block;
  }
  .access-headline {
    font-size: 35px;
    max-width: 340px;
    margin-bottom: 15px;
  }
  .access-copy {
    font-size: 12px;
    line-height: 1.8;
    margin-bottom: 0;
  }
  .access-trust-strip {
    display: none;
  }
  .access-card {
    width: 100%;
    margin-top: 0;
  }
  .access-card-inner {
    padding: 24px;
  }
  .access-card-logo {
    display: none;
  }
  .access-card-title {
    font-size: 22px;
  }
  .access-toprow {
    margin-bottom: 15px;
  }
  .access-card .code-box {
    height: 52px;
    font-size: 22px;
  }
  .access-meta {
    margin-top: 22px;
  }
  .workspace-top,
  .workspace-top.with-ad {
    grid-template-columns: minmax(0, 1fr);
    padding: 18px;
  }
  .workspace-identity {
    grid-template-columns: 45px minmax(0, 1fr);
    padding: 0;
  }
  .workspace-logo {
    width: 45px;
    height: 45px;
  }
  .workspace-title {
    font-size: 23px;
  }
  .workspace-people {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--ta-border);
  }
  .workspace-people-head {
    margin: 0;
  }
  .workspace-people-count {
    display: none;
  }
  .workspace-stat-strip {
    padding: 0 18px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-stat-label {
    font-size: 8px;
  }
  .workspace-content {
    padding: 16px;
  }
  .workspace-tabs {
    padding: 0 18px;
  }
  .explorer-list tr.explorer-item {
    border-radius: 8px;
    box-shadow: none;
    margin: 0;
    padding: 13px 10px;
    border: 0;
    border-bottom: 1px solid var(--ta-border);
  }
  .explorer-list tr.explorer-item .item-label {
    font-size: 12px;
  }
  .workspace-file-actions .btn {
    min-height: 34px;
  }
  .ta-download-file .ta-icon-btn {
    min-width: 32px;
    height: 36px;
  }
  .ta-download-card h1 {
    font-size: 24px;
  }
}
@media (max-width: 480px) {
  .ta-two-col {
    grid-template-columns: 1fr;
  }
  .ta-visual-grid,
  .ta-theme-grid {
    grid-template-columns: 1fr;
  }
  .ta-theme-art {
    height: 190px;
  }
  .ta-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .ta-quick-actions > a {
    flex-wrap: nowrap;
  }
  .ta-metric-label i {
    padding: 6px;
    font-size: 10px;
  }
  .ta-metric strong {
    font-size: 24px;
  }
  .ta-metric small {
    font-size: 9px;
  }
  .ta-metrics {
    gap: 10px;
  }
  .ta-metric {
    padding: 14px;
  }
  .ta-topbar-link {
    font-size: 0;
    gap: 0;
  }
  .ta-topbar-link i {
    font-size: 13px;
  }
  .ta-page-heading {
    flex-wrap: wrap;
  }
  .ta-page-heading > .btn {
    min-height: 38px;
    font-size: 12px;
  }
  .ta-download-main {
    padding: 15px 14px;
  }
  .ta-download-card {
    padding: 24px 22px;
    border-radius: 14px;
  }
  .ta-public-header {
    padding: 22px 20px;
  }
  .ta-public-footer {
    padding: 20px;
    flex-wrap: wrap;
  }
  .ta-public-nav {
    font-size: 10px;
  }
  .ta-public-brand {
    font-size: 18px;
  }
  .ta-download-card h1 {
    font-size: 23px;
  }
  .ta-download-file-list {
    max-height: 29dvh;
  }
  .ta-download-all {
    min-height: 48px;
  }
  .ta-public-content .ta-alert {
    margin: 12px;
  }
  .ta-pagination {
    padding: 15px;
    flex-wrap: wrap;
  }
  .access-card-inner {
    padding: 22px;
  }
  .access-headline {
    font-size: 32px;
    letter-spacing: -1.3px;
  }
  .access-wrapper {
    padding: 20px 14px;
  }
  .access-card .code-grid {
    gap: 5px;
  }
  .access-card .code-box {
    height: 48px;
    font-size: 21px;
  }
  .access-card-title {
    font-size: 21px;
  }
  .ta-page-actions .ta-tabs {
    gap: 18px;
  }
  .ta-page-actions .ta-tabs a {
    font-size: 12px;
  }
  .ta-preview-dialog .modal-header {
    padding: 15px;
    gap: 12px;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Shared final proportions for legacy structures, independent of their old skins. */
.ta-icon-btn.ta-mobile-menu {
  display: none;
}
.access-wrapper {
  background: radial-gradient(ellipse at 0 0, #e6eef9, transparent 65%), #f7f9fc !important;
}
.access-hero::before,
.workspace-identity::after {
  display: none;
}
.access-hero {
  position: relative;
}
.access-brand {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  padding: 0;
}
.access-card {
  min-height: 0;
  padding: 0;
}
.access-card-inner {
  border: 0;
  background: white;
  box-shadow: none;
  border-radius: 16px;
  padding: 38px 30px;
}
.access-card-title {
  font-weight: 650;
}
.access-sub {
  font-weight: 400;
}
.access-form-shell {
  margin-top: 0;
}
.access-card .code-grid {
  margin: 14px 0 0;
}
.access-card .access-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.access-card .access-meta-card {
  min-height: 0;
  text-align: left;
}
.access-meta-label {
  letter-spacing: 0.05em;
}
.access-card .access-footer {
  margin-top: 20px;
  padding-top: 16px;
  font-weight: 400;
}
.access-card .code-box {
  font-weight: 550;
}
.workspace-top,
.workspace-top.with-ad {
  display: grid;
  align-items: center;
}
.workspace-top.with-ad > * {
  min-height: 0;
}
.workspace-identity {
  display: grid;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}
.workspace-identity > .min-width-0 {
  align-items: flex-start;
  text-align: left;
}
.workspace-kicker {
  font-weight: 550;
  color: #91a2b7;
}
.workspace-kicker::before {
  width: 5px;
  height: 5px;
  background: #7599c3;
  box-shadow: none;
}
.workspace-people {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: none;
  display: flex;
  gap: 12px;
  padding: 0;
  align-items: flex-end;
  min-width: 140px;
}
.workspace-title {
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.6px;
}
.workspace-expiry-note {
  border: 0;
  background: none;
  padding: 0;
  color: #8b98ab;
  margin-top: 6px;
  font-weight: 400;
}
.workspace-badges .badge {
  font-size: 9px;
  border-radius: 5px;
  padding: 4px 7px;
  box-shadow: none;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.workspace-badges .badge.bg-gradient-primary {
  background: var(--ta-primary-soft) !important;
  color: var(--ta-primary) !important;
}
.workspace-badges .badge.bg-gradient-success {
  background: #e7f4ed !important;
  color: #2a8062 !important;
}
.workspace-badges .badge.bg-gradient-warning {
  background: #faf0d9 !important;
  color: #9a701e !important;
}
.workspace-tab.active {
  color: var(--ta-primary);
}
.workspace-tab.active:after {
  background: var(--ta-primary);
  height: 2px;
}
.workspace-people-head {
  gap: 12px;
}
.workspace-people-count {
  font-weight: 400;
  color: #92a4bd;
}
.workspace-people-kicker {
  font-weight: 550;
}
.workspace-top .participant-avatar {
  color: #597baf;
  background: #edf3fc;
}
.workspace-stat-strip .workspace-stat:last-child {
  display: block;
}
.workspace-stat-label {
  font-weight: 500;
  letter-spacing: 0.04em;
}
.workspace-footer-note {
  font-size: 10px;
  font-weight: 400;
  color: #9aa8bc;
  margin: 8px 0;
}
.workspace-theme-banner {
  height: 90px;
  overflow: hidden;
}
.workspace-theme-banner img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.ta-upload-appearance {
  border: 1px solid var(--ta-border);
  border-radius: 8px;
  padding: 14px 16px;
}
.ta-upload-appearance summary {
  cursor: pointer;
  font-size: 12px;
  color: #647b9a;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ta-upload-appearance summary > span {
  margin-left: auto;
  font-size: 10px;
  font-weight: 400;
  color: #a1aebf;
}
.ta-upload-recap {
  font-size: 11px;
  color: #8295ad;
  background: #f7faff;
  border-radius: 7px;
  padding: 12px 14px;
}
.upload-access-card {
  border: 1px solid var(--ta-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--ta-shadow);
}
.upload-access-title {
  font-size: 14px;
  font-weight: 600;
}
.upload-access-sub {
  font-size: 11px;
}
.upload-access-card .access-meta-grid {
  gap: 14px;
  margin-top: 16px;
}
.upload-access-card .access-meta-box {
  border: 0;
  border-radius: 6px;
  background: #f8faff;
  padding: 10px 12px;
}
.upload-access-card .access-meta-value {
  font-size: 12px;
  font-weight: 500;
}
.upload-access-card .access-meta-label {
  font-size: 8px;
}
.upload-access-card .upload-mode-note {
  display: none;
}
.upload-code-pill {
  background: #f0f5fc;
  border: 1px solid var(--ta-border);
  font-size: 13px;
  border-radius: 6px;
  color: #557eae;
}
.upload-access-top {
  gap: 12px;
}
.upload-access-card .card-body {
  padding: 18px 22px !important;
}
.dropzone .select-actions {
  flex-wrap: wrap;
}
.workspace-people-popover {
  display: block;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ta-transition);
  max-width: calc(100vw - 48px);
}
.workspace-avatar-stack:is(:hover, :focus-within) .workspace-people-popover {
  display: block;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.ta-download-copy > .ta-reception-kicker {
  font-size: 10px;
  letter-spacing: 0.13em;
  line-height: 1.8;
  max-width: none;
}
.ta-page-heading .btn {
  white-space: nowrap;
}
@media (max-width: 992px) {
  .workspace-top.with-ad > * {
    min-height: 0;
  }
  .workspace-top.with-ad .workspace-people {
    align-items: flex-end;
  }
  .workspace-title {
    font-size: 22px;
  }
}
@media (max-width: 768px) {
  .ta-icon-btn.ta-mobile-menu {
    display: inline-flex;
  }
  .workspace-identity {
    grid-template-columns: 45px minmax(0, 1fr);
  }
  .workspace-top.with-ad .workspace-people,
  .workspace-people {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--ta-border);
  }
  .workspace-people > .btn {
    order: 3;
  }
  .workspace-avatar-stack {
    margin-left: auto;
    margin-right: 0;
  }
  .workspace-people-head {
    display: none;
  }
  .workspace-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-stat-value {
    font-size: 12px;
  }
  .workspace-content {
    padding: 14px;
  }
  .access-card-inner {
    padding: 30px 24px;
  }
  .access-toprow {
    top: 12px;
    right: 14px;
  }
  .access-card-kicker {
    margin-top: 20px;
  }
  .access-card .access-meta-label {
    font-size: 8px;
  }
  .access-card .access-meta-value {
    font-size: 11px;
  }
  .access-card .access-meta {
    margin-top: 20px;
  }
  .access-form-shell {
    margin-top: 14px;
  }
  .upload-access-card .access-meta-grid {
    grid-template-columns: 1fr 1fr;
  }
  .upload-access-sub {
    display: none;
  }
  .workspace-avatar-stack {
    position: relative;
  }
  .workspace-people-popover {
    left: auto;
    right: 0;
    top: calc(100% + 8px);
    transform: none;
    width: 240px;
  }
  .workspace-identity .workspace-title {
    font-size: 22px;
  }
  .workspace-stat-strip .workspace-stat:last-child {
    display: block;
  }
  .access-headline {
    font-weight: 550;
  }
  .access-brand-name {
    font-weight: 600;
  }
}
.ta-quick-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #eff2f7;
  background: transparent;
  color: #52637b;
  font-weight: 550;
  font-size: 12px;
  text-align: left;
}
.ta-quick-button > span:nth-child(2) {
  flex: 1;
}
.ta-quick-button > i:last-child {
  font-size: 9px;
  color: #a8b4c6;
}
.ta-quick-button:hover {
  color: var(--ta-primary);
}
.ta-page-heading > form {
  margin: 0;
}
.ta-download-copy > .ta-reception-kicker {
  max-width: none;
}
.ta-public-brand img {
  border-radius: 8px;
  background: #ffffffd9;
  padding: 5px;
}
.ta-download-card > .ta-download-brand-logo {
  background: none;
  padding: 0;
}
.card-header {
  display: block;
}
.code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.code-box {
  display: block;
  min-width: 0;
  width: 100%;
  height: 48px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 550;
  letter-spacing: 0;
}
.ta-skip-link:not(:focus) {
  transform: translateY(-150%);
  clip-path: inset(100%);
}
.workspace-top.with-ad .workspace-ad-visual {
  height: 90px;
  min-height: 0;
  border-radius: 8px;
  box-shadow: none;
  align-self: center;
}
.workspace-ad-visual .workspace-ad-media,
.workspace-ad-visual .workspace-ad-image {
  height: 90px;
  min-height: 0;
  border-radius: 8px;
}
.workspace-ad-visual {
  background: transparent;
  border: 0;
}
.explorer-layout {
  min-height: 360px;
}
.ta-download:not(:has(.ta-download-bg)) .ta-download-overlay {
  background: rgba(0, 0, 0, calc(var(--theme-overlay) * 0.3));
}
@media (max-width: 768px) {
  .card-header.pb-0 {
    padding-top: 20px;
  }
  .card-header h5 {
    font-size: 19px;
  }
  .card-header h6 {
    font-size: 14px;
  }
  .explorer-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .explorer-actions .btn {
    min-height: 38px;
    border-radius: 7px !important;
  }
  .explorer-actions .selection-summary {
    grid-column: 1/-1;
    font-size: 10px;
  }
  .explorer-layout {
    min-height: 0;
  }
  .code-grid {
    gap: 6px;
  }
  .code-box {
    height: 45px;
    font-size: 20px;
  }
  .upload-access-card .card-body {
    padding: 16px !important;
  }
}
@media (max-width: 768px) {
  .explorer-actions .selection-summary {
    order: -1;
  }
  .explorer-actions #toggleSidebarBtn {
    grid-column: 1;
  }
  .explorer-actions #downloadSelectedBtn {
    grid-column: 2;
  }
  .workspace-top .workspace-logo {
    box-shadow: none;
  }
}
