@font-face {
  font-family: "CMU Serif";
  src: url("/fonts/cmu-serif-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CMU Serif";
  src: url("/fonts/cmu-serif-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #111;
  --muted: #555555;
  --teal: #000dff;
  --teal-dark: #000ac2;
  --border: #e5e5e5;
  --bg: #fff;
  --font: "CMU Serif", Georgia, "Times New Roman", serif;
  --font-ui: "Montserrat", Arial, sans-serif;
  --accent: #000dff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button {
  border: 0;
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #000dff;
  outline-offset: 4px;
}
svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  vertical-align: middle;
}
button span[data-icon] {
  display: inline-flex;
}
button {
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
[hidden] {
  display: none !important;
}
.sidebar {
  width: 246px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #ffffff;
  border-right: 1px solid var(--border);
  padding: 32px 20px 0;
  display: flex;
  flex-direction: column;
  z-index: 30;
}
.brand {
  display: flex;
  align-items: center;
  font-family: "CMU Serif", Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1.7px;
  padding-left: 12px;
  line-height: 1;
}
.brand-dot {
  color: #000dff;
}
.workspace {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 0;
  margin: 35px 0 29px;
  padding: 12px 10px;
  font-size: 12px;
  font-weight: 650;
}
.workspace-logo {
  display: grid;
  place-items: center;
  background: #eeeeee;
  color: var(--teal);
  width: 31px;
  height: 33px;
  border-radius: 0;
  font-weight: 700;
  font-size: 16px;
}
.workspace small,
.profile small {
  display: block;
  font-size: 10px;
  color: #666666;
  margin-top: 4px;
  font-weight: 400;
}
.workspace-chevron {
  margin-left: auto;
  color: #666666;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #666666;
  font-weight: 650;
  margin: 0 13px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-caption button {
  font-size: 21px;
  font-weight: 400;
  color: #666666;
  line-height: 12px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  border-radius: 0;
  text-align: left;
  padding: 0 13px;
  font-size: 12px;
  color: #555555;
  font-weight: 500;
  width: 100%;
}
.nav-item:hover {
  background: #f5f5f5;
}
.nav-item.active {
  background: #eeefff;
  color: #000dff;
  font-weight: 650;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item .nav-count {
  margin-left: auto;
  background: #ffffff99;
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 0;
}
.sidebar-folders {
  margin-top: 33px;
}
.folder-item {
  font-size: 11px;
  min-height: 37px;
  gap: 11px;
}
.folder-dot {
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: #999999;
  flex-shrink: 0;
}
.folder-dot.blue {
  background: #999999;
}
.folder-dot.green {
  background: #999999;
}
.folder-dot.purple {
  background: #999999;
}
.folder-dot.gray {
  background: #999999;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 34px;
}
.storage {
  padding: 18px 13px;
  background: #f5f5f5;
  border: 1px solid #eeeeee;
  border-radius: 0;
}
.storage-icon {
  color: #666666;
  display: block;
  margin-bottom: 11px;
}
.storage strong {
  font-size: 10px;
  font-weight: 600;
  display: block;
}
.storage p {
  font-size: 10px;
  color: #666666;
  margin: 7px 0 12px;
}
.storage-meter {
  height: 4px;
  border-radius: 0;
  background: #eeeeee;
}
.storage-meter span {
  display: block;
  background: #666666;
  width: 24%;
  height: 100%;
  border-radius: 0;
}
.help-button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #666666;
  width: 100%;
  padding: 21px 10px;
}
.help-button svg {
  width: 16px;
}
.external-arrow {
  margin-left: auto;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px 6px;
  border-top: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
}
.profile > span:last-child {
  margin-left: auto;
  color: #666666;
}
.profile > span:last-child svg {
  width: 14px;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: #eeeeee;
  color: #555555;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 650;
  border: 3px solid white;
  flex-shrink: 0;
}
.avatar.small {
  width: 31px;
  height: 31px;
  font-size: 9px;
}
.app-shell {
  margin-left: 246px;
}
.topbar {
  height: 75px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 11px;
  color: #555555;
}
.breadcrumb > span:first-child {
  color: #666666;
}
.breadcrumb > span:nth-child(2) {
  color: #dddddd;
}
.breadcrumb svg {
  width: 15px;
  height: 15px;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 21px;
}
.private-workspace {
  color: #666666;
  font-size: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.private-workspace svg {
  height: 13px;
  width: 13px;
}
.topbar-divider {
  height: 23px;
  width: 1px;
  background: #eeeeee;
}
.icon-button {
  position: relative;
  color: #555555;
  width: 26px;
  height: 31px;
  display: grid;
  place-items: center;
}
.notification-dot {
  position: absolute;
  right: 5px;
  top: 4px;
  width: 4px;
  height: 4px;
  border-radius: 0;
  background: #666666;
  border: 1px solid #ffffff;
}
main {
  max-width: 1560px;
  margin: auto;
  padding: 38px 42px 28px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
h1 {
  font-family: "CMU Serif", Georgia, "Times New Roman", serif;
  font-size: 32px;
  letter-spacing: -1.25px;
  margin: 0 0 10px;
  font-weight: 750;
  line-height: 1.25;
}
.page-heading p {
  font-size: 12px;
  color: #666666;
  margin: 0;
  line-height: 1.5;
}
.button {
  min-height: 42px;
  padding: 0 17px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 550;
  font-size: 11px;
  white-space: nowrap;
}
.button.primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 2px 3px #33333313;
}
.button.primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 3px 9px #33333325;
}
.button.secondary {
  background: #ffffff;
  border: 1px solid #eeeeee;
  color: #333333;
}
.button.secondary:hover {
  background: #f5f5f5;
}
.button svg {
  width: 16px;
  height: 16px;
}
.upload-button {
  margin-top: 10px;
}
.content-tabs {
  display: flex;
  align-items: center;
  gap: 26px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 23px;
  height: 44px;
}
.content-tabs > button {
  height: 100%;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 12px;
  color: #666666;
  padding: 0 0 14px;
  position: relative;
  font-weight: 500;
}
.content-tabs > button.active {
  color: #000dff;
  font-weight: 650;
}
.content-tabs > button.active:after {
  content: "";
  height: 2px;
  position: absolute;
  bottom: -1px;
  background: #000dff;
  width: 100%;
}
.content-tabs > button > span {
  font-size: 9px;
  padding: 3px 6px;
  background: #eeeeee;
  border-radius: 0;
  color: #666666;
  font-weight: 550;
}
.content-tabs > button.active > span {
  background: #eeefff;
  color: #555555;
}
.library-total {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #666666;
  padding-bottom: 13px;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 0;
  background: #666666;
}
.filter-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #eeeeee;
  background: white;
  border-radius: 0;
  padding: 0 12px;
  width: 32%;
  min-width: 180px;
  height: 39px;
  color: #666666;
}
.search-field svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.search-field input {
  width: 100%;
  min-width: 0;
  outline: none;
  border: 0;
  font-size: 10px;
  color: #333333;
  background: transparent;
}
.search-field input::placeholder {
  color: #666666;
}
.search-field:focus-within {
  outline: 2px solid #000dff;
  outline-offset: 1px;
}
.search-field kbd {
  font-family: var(--font);
  font-size: 9px;
  color: #999999;
  border: 1px solid #eeeeee;
  border-radius: 0;
  padding: 1px 5px;
}
.filter-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}
.select-control,
.sort-control {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #eeeeee;
  background: #ffffff;
  height: 39px;
  padding: 0 11px;
  border-radius: 0;
  color: #666666;
  position: relative;
}
.select-control svg,
.sort-control svg {
  width: 14px;
  height: 14px;
}
.select-control select,
.sort-control select {
  appearance: none;
  background: none;
  border: 0;
  color: #555555;
  font-size: 10px;
  cursor: pointer;
  padding: 0 12px 0 0;
  max-width: 110px;
  outline: none;
  height: 100%;
}
.select-control > span:last-child,
.sort-control > span:last-child {
  position: absolute;
  right: 8px;
  pointer-events: none;
}
.select-control > span:last-child svg,
.sort-control > span:last-child svg {
  width: 11px;
}
.sort-control {
  background: none;
  border-color: transparent;
  padding-left: 7px;
}
.sort-control select {
  max-width: 95px;
}
.filter-divider {
  height: 22px;
  width: 1px;
  background: #eeeeee;
  margin: 0 3px;
}
.view-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid #eeeeee;
  padding: 3px;
  border-radius: 0;
  height: 37px;
  background: #ffffff;
}
.view-switch button {
  width: 29px;
  height: 29px;
  border-radius: 0;
  color: #666666;
  display: grid;
  place-items: center;
}
.view-switch button.active {
  background: #eeefff;
  color: #555555;
}
.view-switch svg {
  width: 15px;
  height: 15px;
}
.results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 10px;
  min-height: 22px;
}
.results-toolbar strong {
  font-weight: 600;
  color: #333333;
}
.results-hint {
  color: #666666;
  margin-left: 13px;
  font-size: 9px;
}
.selection-tools {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  color: #666666;
  font-size: 9px;
}
.selection-tools button {
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
}
.selection-tools button:hover {
  color: var(--teal);
}
.mini-checkbox {
  border: 1px solid #dddddd;
  width: 11px;
  height: 11px;
  border-radius: 0;
}
.selection-divider {
  color: #999999;
}
.asset-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 21px 18px;
}
.asset-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  transition:
    box-shadow 0.18s,
    border-color 0.18s;
  min-width: 0;
  touch-action: pan-y;
  user-select: none;
}
.asset-card:hover {
  box-shadow: 0 6px 18px #1111110b;
  border-color: #dddddd;
}
.asset-card.selected {
  border-color: #000dff;
  box-shadow: 0 0 0 1px #000dff;
}
.card-select {
  width: 100%;
  text-align: left;
  padding: 0;
  display: block;
  color: inherit;
}
.asset-thumb {
  aspect-ratio: 1.66;
  background: #dddddd;
  position: relative;
  overflow: hidden;
}
.asset-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 0.5s;
  filter: saturate(0.65);
}
.asset-card:hover .asset-thumb > img {
  transform: scale(1.03);
}
.asset-thumb:after {
  content: "";
  position: absolute;
  inset: 65% 0 0;
  background: linear-gradient(transparent, #11111138);
  pointer-events: none;
}
.select-badge {
  position: absolute;
  left: 11px;
  top: 11px;
  width: 22px;
  height: 22px;
  border-radius: 0;
  border: 1px solid #ffffff99;
  background: #ffffff99;
  backdrop-filter: blur(5px);
  display: grid;
  place-items: center;
  z-index: 3;
  color: transparent;
  touch-action: none;
  cursor: crosshair;
}
.select-badge svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}
.selected .select-badge {
  background: #000dff;
  border-color: #000dff;
  color: #ffffff;
}
.asset-card .selection-order {
  display: none;
}
.asset-duration {
  position: absolute;
  right: 9px;
  bottom: 9px;
  font-size: 8px;
  color: #ffffff;
  background: #1111119c;
  border-radius: 0;
  padding: 3px 5px;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #ffffff99;
  border-radius: 0;
  width: 33px;
  height: 33px;
  background: #ffffff26;
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  color: white;
  padding-left: 2px;
  font-size: 9px;
}
.asset-info {
  padding: 13px 13px 11px;
}
.asset-type-line {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  color: #666666;
  margin-bottom: 7px;
}
.asset-type-line svg {
  width: 11px;
  height: 11px;
}
.asset-type-line .type-dot {
  font-size: 8px;
  color: #dddddd;
  padding: 0 1px;
}
.asset-title {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 20px 10px 0;
  line-height: 1.3;
  color: #333333;
}
.asset-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666666;
  font-size: 8px;
}
.pdf-cover {
  height: 100%;
  position: relative;
  padding: 15px 19px;
  overflow: hidden;
  background: #eeeeee;
}
.cover-company {
  background: #eeeeee;
  color: #333333;
}
.cover-wordmark {
  font-family: "CMU Serif", Georgia, "Times New Roman", serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
}
.cover-title {
  font-family: "CMU Serif", Georgia, "Times New Roman", serif;
  font-size: 23px;
  letter-spacing: -1px;
  line-height: 1.2;
  font-weight: 600;
  position: relative;
}
.cover-company .cover-title {
  max-width: 110px;
}
.cover-note {
  font-size: 5px;
  letter-spacing: 1.5px;
  margin-top: 13px;
  text-transform: uppercase;
  position: relative;
}
.cover-platform {
  background: #111111;
  color: #eeeeee;
}
.cover-platform .cover-wordmark {
  color: #999999;
}
.pdf-page-label {
  position: absolute;
  right: 9px;
  bottom: 9px;
  font-size: 8px;
  background: #ffffff9c;
  color: #555555;
  border-radius: 0;
  padding: 3px 5px;
  z-index: 1;
}
.library-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  font-size: 8px;
  color: #666666;
  padding-bottom: 12px;
}
.library-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}
.library-footer svg {
  width: 11px;
  height: 11px;
}
.selection-tray {
  position: fixed;
  bottom: 22px;
  left: calc(246px + (100% - 246px) / 2);
  transform: translateX(-50%);
  width: min(780px, calc(100% - 300px));
  z-index: 35;
  background: #ffffff;
  box-shadow:
    0 8px 40px #11111126,
    0 0 0 1px #eeeeee;
  border-radius: 0;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  gap: 14px;
}
.tray-count {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: #eeefff;
  color: #555555;
  font-size: 15px;
  font-weight: 650;
  flex-shrink: 0;
}
.tray-label {
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}
.tray-label small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #666666;
  font-weight: 400;
}
.tray-thumbs {
  display: flex;
  margin-left: 4px;
}
.tray-thumb {
  width: 34px;
  height: 34px;
  border: 2px solid #ffffff;
  border-radius: 0;
  object-fit: cover;
  margin-left: -8px;
  background: #eeeeee;
  display: grid;
  place-items: center;
  color: #666666;
  font-size: 11px;
  overflow: hidden;
}
.tray-thumb svg {
  width: 14px;
}
.tray-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.tray-review {
  font-size: 10px;
  color: #555555;
  min-height: 39px;
  white-space: nowrap;
}
.tray-clear {
  font-size: 10px;
  color: #666666;
  padding: 8px;
}
.tray-separator {
  height: 25px;
  width: 1px;
  background: #eeeeee;
}
.has-selection main {
  padding-bottom: 115px;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.collection-card {
  border-radius: 0;
  border: 1px solid #eeeeee;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.collection-card.selected {
  border-color: #000dff;
  box-shadow: 0 0 0 1px #000dff;
}
.collection-cover {
  height: 170px;
  position: relative;
  background: #eeeeee;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 30px;
}
.collection-cover.blue {
  background: #eeeeee;
}
.collection-cover.sand {
  background: #eeeeee;
}
.collection-cover.pink {
  background: #eeeeee;
}
.collection-cover .collection-mini {
  width: 95px;
  height: 116px;
  border: 5px solid white;
  border-radius: 0;
  background: #ffffff;
  box-shadow: 0 6px 16px #11111126;
  overflow: hidden;
  transform: rotate(-10deg);
  flex-shrink: 0;
  margin-right: -25px;
}
.collection-cover .collection-mini:nth-child(2) {
  transform: rotate(5deg) translateY(-6px);
  z-index: 1;
}
.collection-cover .collection-mini:nth-child(3) {
  transform: rotate(17deg);
  z-index: 2;
}
.collection-mini img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.collection-mini .pdf-cover {
  padding: 9px;
}
.collection-mini .cover-wordmark {
  margin: 0 0 18px;
  font-size: 7px;
}
.collection-mini .cover-title {
  font-size: 13px;
}
.collection-mini .cover-note {
  display: none;
}
.collection-info {
  padding: 20px;
}
.collection-info h3 {
  font-family: "CMU Serif";
  font-size: 15px;
  letter-spacing: -0.4px;
  margin: 0 0 8px;
}
.collection-info p {
  font-size: 10px;
  line-height: 1.7;
  color: #666666;
  min-height: 34px;
  margin: 0 0 17px;
}
.collection-info-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #666666;
}
.collection-info-footer button {
  font-size: 10px;
  color: #555555;
  padding: 5px 0;
}
.collection-toggle {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  background: #ffffff;
  border: 1px solid #ffffff99;
  border-radius: 0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #999999;
}
.collection-toggle svg {
  width: 16px;
}
.selected .collection-toggle {
  color: #ffffff;
  background: var(--teal);
  border-color: var(--teal);
}
.collection-card .collection-main {
  width: 100%;
  text-align: left;
  padding: 0;
}
.empty-state {
  text-align: center;
  padding: 65px 20px;
  color: #666666;
}
.empty-state > span svg {
  width: 32px;
  height: 32px;
}
.empty-state h2 {
  font-family: "CMU Serif";
  font-size: 20px;
  color: #333333;
}
.empty-state p {
  font-size: 12px;
  margin-bottom: 20px;
}
.asset-grid.list-mode {
  grid-template-columns: 1fr;
  gap: 9px;
}
.list-mode .card-select {
  display: flex;
  align-items: center;
}
.list-mode .asset-thumb {
  height: 75px;
  width: 120px;
  flex-shrink: 0;
  aspect-ratio: auto;
}
.list-mode .asset-info {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 15px 45px 15px 20px;
}
.list-mode .asset-title,
.list-mode .asset-type-line {
  margin: 0;
}
.list-mode .pdf-cover {
  padding: 8px 15px;
}
.list-mode .cover-wordmark {
  margin-bottom: 7px;
  font-size: 6px;
}
.list-mode .cover-title {
  font-size: 11px;
}
.list-mode .cover-note {
  display: none;
}
.list-mode .select-badge {
  width: 20px;
  height: 20px;
  top: 7px;
  left: 7px;
}
.overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #11111166;
  backdrop-filter: blur(3px);
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 470px;
  max-width: 100%;
  z-index: 61;
  background: #ffffff;
  box-shadow: -8px 0 40px #1111111c;
  display: flex;
  flex-direction: column;
  padding: 30px;
  overflow: auto;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.drawer-header h2 {
  font-family: "CMU Serif";
  font-size: 23px;
  letter-spacing: -0.8px;
  margin: 0;
}
.drawer-close {
  font-size: 25px;
  color: #666666;
  width: 36px;
  height: 36px;
}
.drawer-subtitle {
  font-size: 12px;
  line-height: 1.8;
  color: #666666;
  margin: 0 0 24px;
}
.review-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.review-item {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #eeeeee;
  background: #ffffff;
  border-radius: 0;
  padding: 9px;
}
.review-number {
  font-size: 10px;
  color: #666666;
  width: 14px;
  text-align: center;
}
.review-thumb {
  width: 49px;
  height: 45px;
  overflow: hidden;
  border-radius: 0;
  flex-shrink: 0;
  background: #eeeeee;
  display: grid;
  place-items: center;
  color: #666666;
}
.review-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.review-info {
  flex: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: 550;
}
.review-info small {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: 9px;
  color: #666666;
}
.review-order {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.review-order button {
  width: 28px;
  height: 24px;
  border-radius: 0;
  background: #f5f5f5;
  display: grid;
  place-items: center;
  color: #666666;
}
.review-order svg {
  width: 12px;
  height: 12px;
}
.review-remove {
  color: #666666;
  font-size: 19px;
  width: 25px;
  height: 38px;
}
.drawer-bottom {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
}
.drawer-bottom .primary {
  flex: 1;
}
.form-field {
  display: block;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 550;
  color: #333333;
}
.form-field > input,
.form-field > select,
.form-field > textarea {
  display: block;
  margin-top: 9px;
  border: 1px solid #eeeeee;
  border-radius: 0;
  min-height: 43px;
  padding: 11px;
  width: 100%;
  background: #ffffff;
  color: #333333;
  font-size: 12px;
  resize: vertical;
}
.form-field small {
  font-size: 10px;
  font-weight: 400;
  color: #666666;
  line-height: 1.5;
  display: block;
  margin-top: 7px;
}
.form-note {
  border: 1px solid #eeeeee;
  background: #f5f5f5;
  border-radius: 0;
  padding: 13px;
  font-size: 11px;
  color: #555555;
  line-height: 1.7;
  margin-bottom: 20px;
}
.form-note svg {
  width: 14px;
  height: 14px;
  margin-right: 5px;
}
.share-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 27px;
  padding: 14px;
  background: #f5f5f5;
  border-radius: 0;
  color: #555555;
  font-size: 11px;
}
.share-summary strong {
  color: #333333;
}
.success-symbol {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  background: #eeeeee;
  color: #555555;
  border-radius: 0;
  margin: 24px auto 18px;
}
.success-symbol svg {
  width: 27px;
  height: 27px;
}
.success-copy {
  text-align: center;
}
.success-copy h3 {
  font: 650 24px "CMU Serif";
  letter-spacing: -0.7px;
}
.success-copy p {
  font-size: 12px;
  color: #666666;
  line-height: 1.8;
}
.share-link-box {
  background: #f5f5f5;
  border: 1px solid #eeeeee;
  border-radius: 0;
  padding: 13px;
  margin: 22px 0;
  word-break: break-all;
  font-size: 12px;
  color: #555555;
}
.toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  padding: 13px 19px;
  background: #111111;
  color: white;
  font-size: 12px;
  border-radius: 0;
  box-shadow: 0 7px 30px #11111133;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100% - 30px);
}
.toast button {
  font-size: 11px;
  color: #dddddd;
  text-decoration: underline;
  white-space: nowrap;
}
.preview-large {
  border-radius: 0;
  overflow: hidden;
  margin: 15px 0 20px;
  height: 240px;
  background: #eeeeee;
}
.preview-large > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-large .pdf-cover {
  padding: 26px;
}
.preview-large .cover-title {
  font-size: 40px;
}
.preview-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.preview-meta span {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 0;
  background: #f5f5f5;
  color: #666666;
}
.preview-description {
  font-size: 13px;
  color: #666666;
  line-height: 1.9;
}
.share-list {
  display: grid;
  gap: 12px;
}
.share-record {
  border: 1px solid #eeeeee;
  border-radius: 0;
  padding: 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.share-record h3 {
  font-size: 14px;
  margin: 0 0 7px;
}
.share-record p {
  font-size: 11px;
  color: #666666;
  margin: 0;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.mobile-nav-label {
  display: none;
}
@media (min-width: 1500px) {
  main {
    padding: 44px 50px 28px;
  }
  .asset-thumb {
    aspect-ratio: 1.7;
  }
  .asset-title {
    font-size: 12px;
  }
  .asset-info {
    padding: 15px;
  }
  .asset-type-line {
    font-size: 9px;
  }
  .asset-meta {
    font-size: 9px;
  }
  .filter-toolbar {
    margin-bottom: 25px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .app-shell {
    margin-left: 215px;
  }
  .topbar {
    padding: 0 30px;
  }
  main {
    padding: 32px 30px;
  }
  .asset-grid {
    gap: 17px 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .results-hint {
    display: none;
  }
  .search-field {
    width: 29%;
  }
  .filter-controls {
    gap: 6px;
  }
  .tag-filter {
    display: none;
  }
  .selection-tray {
    left: calc(215px + (100% - 215px) / 2);
    width: calc(100% - 265px);
  }
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .storage strong {
    font-size: 9px;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 180px;
    padding: 25px 12px 0;
  }
  .brand {
    font-size: 29px;
    padding-left: 9px;
  }
  .workspace {
    font-size: 10px;
    padding: 10px 7px;
    gap: 7px;
  }
  .workspace-logo {
    width: 25px;
    height: 28px;
    font-size: 13px;
  }
  .workspace small {
    font-size: 9px;
  }
  .workspace-chevron {
    display: none;
  }
  .nav-item {
    font-size: 11px;
    padding-left: 10px;
    gap: 9px;
  }
  .folder-item {
    font-size: 10px;
  }
  .nav-caption {
    font-size: 8px;
    margin-left: 10px;
  }
  .storage {
    padding: 13px 10px;
  }
  .storage strong {
    line-height: 1.6;
  }
  .help-button {
    font-size: 9px;
    padding-left: 8px;
    gap: 6px;
  }
  .profile {
    font-size: 10px;
    gap: 7px;
  }
  .profile small {
    font-size: 8px;
  }
  .app-shell {
    margin-left: 180px;
  }
  main {
    padding: 27px 24px;
  }
  .topbar {
    height: 65px;
    padding: 0 24px;
  }
  .page-heading {
    margin-bottom: 24px;
  }
  h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .asset-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-field {
    min-width: 150px;
    width: 40%;
  }
  .sort-control {
    display: none;
  }
  .filter-divider {
    display: none;
  }
  .library-total {
    font-size: 8px;
  }
  .selection-tray {
    left: calc(180px + (100% - 180px) / 2);
    width: calc(100% - 215px);
    gap: 10px;
  }
  .tray-thumbs {
    display: none;
  }
  .tray-review {
    font-size: 9px;
  }
  .tray-clear {
    font-size: 9px;
  }
  .tray-actions {
    gap: 8px;
  }
  .tray-actions .button {
    padding: 0 12px;
  }
  .library-footer > span:last-child {
    display: none;
  }
  .collection-cover {
    height: 155px;
  }
  .collection-cover .collection-mini {
    width: 80px;
    height: 105px;
  }
  .collection-info {
    padding: 17px;
  }
  .collection-info h3 {
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    height: 64px;
    width: 100%;
    border-right: 0;
    border-top: 1px solid #eeeeee;
    padding: 0 8px;
    background: #fffffff5;
    backdrop-filter: blur(15px);
    z-index: 40;
  }
  .brand,
  .workspace,
  .nav-caption,
  .sidebar-folders,
  .sidebar-bottom {
    display: none;
  }
  #main-nav {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: space-around;
    height: 100%;
  }
  .nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    font-size: 9px;
    min-height: 44px;
    border-radius: 0;
    position: relative;
    width: 25%;
    padding: 6px 0;
  }
  .nav-item.active {
    background: transparent;
  }
  .nav-item.active:before {
    position: absolute;
    top: 0;
    width: 24px;
    height: 2px;
    background: #000dff;
    content: "";
  }
  .nav-item .nav-count {
    display: none;
  }
  .nav-item svg {
    width: 20px;
    height: 20px;
  }
  .app-shell {
    margin-left: 0;
  }
  .topbar {
    height: 58px;
    padding: 0 20px;
  }
  .breadcrumb {
    font-size: 10px;
    gap: 11px;
  }
  .topbar-right {
    gap: 13px;
  }
  .private-workspace,
  .topbar-divider {
    display: none;
  }
  main {
    padding: 26px 20px 85px;
  }
  h1 {
    font-size: 29px;
    margin-bottom: 7px;
  }
  .page-heading {
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 23px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 230px;
    line-height: 1.7;
  }
  .upload-button {
    font-size: 10px;
    padding: 0 11px;
    min-height: 36px;
    margin-top: 17px;
    gap: 6px;
  }
  .upload-button svg {
    width: 13px;
  }
  .content-tabs {
    height: 41px;
    gap: 24px;
    margin-bottom: 19px;
  }
  .content-tabs > button {
    font-size: 11px;
    padding-bottom: 12px;
  }
  .library-total {
    font-size: 7px;
    gap: 4px;
  }
  .content-tabs > button > span {
    font-size: 8px;
  }
  .filter-toolbar {
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 15px;
  }
  .search-field {
    flex: 1;
    min-width: 140px;
    height: 39px;
  }
  .search-field input {
    font-size: 10px;
  }
  .search-field kbd {
    display: none;
  }
  .filter-controls {
    gap: 7px;
  }
  .select-control {
    padding: 0 8px;
    gap: 5px;
    height: 39px;
  }
  .select-control select {
    font-size: 9px;
    max-width: 75px;
  }
  .view-switch {
    height: 37px;
  }
  .view-switch button {
    width: 25px;
  }
  .select-control > span:first-child {
    display: none;
  }
  .results-toolbar {
    font-size: 10px;
    margin-bottom: 12px;
    gap: 7px;
  }
  .selection-tools {
    gap: 7px;
    font-size: 8px;
  }
  .selection-tools button {
    min-height: 32px;
  }
  .asset-grid {
    gap: 13px 12px;
  }
  .asset-thumb {
    aspect-ratio: 1.38;
  }
  .asset-info {
    padding: 12px 10px 10px;
  }
  .asset-title {
    font-size: 10px;
    margin-right: 5px;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .asset-type-line {
    font-size: 7px;
    margin-bottom: 7px;
    gap: 3px;
  }
  .asset-meta {
    font-size: 7px;
    gap: 4px;
  }
  .select-badge {
    height: 26px;
    width: 26px;
    top: 8px;
    left: 8px;
  }
  .asset-duration,
  .pdf-page-label {
    font-size: 7px;
    right: 6px;
    bottom: 6px;
  }
  .video-play {
    height: 28px;
    width: 28px;
    font-size: 8px;
  }
  .pdf-cover {
    padding: 15px 13px;
  }
  .cover-title {
    font-size: 20px;
  }
  .cover-wordmark {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .cover-note {
    font-size: 4px;
    letter-spacing: 1px;
    margin-top: 11px;
  }
  .library-footer {
    font-size: 7px;
    margin-top: 24px;
    line-height: 1.7;
  }
  .library-footer svg {
    width: 10px;
  }
  .selection-tray {
    bottom: 75px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    padding: 10px 11px;
    gap: 9px;
    border-radius: 0;
  }
  .tray-count {
    width: 31px;
    height: 34px;
    font-size: 13px;
  }
  .tray-label {
    font-size: 10px;
  }
  .tray-label small {
    font-size: 7px;
  }
  .tray-review {
    font-size: 9px;
    min-height: 36px;
  }
  .tray-clear {
    font-size: 8px;
    padding: 4px;
  }
  .tray-actions {
    gap: 8px;
  }
  .tray-separator {
    display: none;
  }
  .tray-actions .button {
    font-size: 9px;
    padding: 0 12px;
    min-height: 36px;
    gap: 5px;
  }
  .tray-actions .button svg {
    width: 13px;
  }
  .has-selection main {
    padding-bottom: 175px;
  }
  .toast {
    bottom: 153px;
    font-size: 11px;
    width: max-content;
  }
  .drawer {
    padding: 23px 20px;
    bottom: 0;
    width: 440px;
  }
  .drawer-header h2 {
    font-size: 22px;
  }
  .review-item {
    gap: 8px;
    padding: 8px;
  }
  .review-order button {
    min-width: 34px;
    height: 28px;
  }
  .review-remove {
    min-width: 32px;
    min-height: 44px;
  }
  .review-info {
    font-size: 10px;
  }
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .collection-cover {
    height: 185px;
  }
  .collection-cover .collection-mini {
    height: 135px;
    width: 105px;
  }
  .collection-info h3 {
    font-size: 16px;
  }
  .collection-info p {
    font-size: 11px;
    min-height: auto;
  }
  .collection-info-footer {
    font-size: 10px;
  }
  .collection-info-footer button {
    min-height: 37px;
    font-size: 11px;
  }
  .list-mode .asset-thumb {
    width: 86px;
    height: 76px;
  }
  .list-mode .asset-info {
    display: block;
    padding: 10px 34px 10px 13px;
  }
  .list-mode .asset-title {
    margin: 5px 0;
  }
  .share-record {
    align-items: flex-start;
    flex-direction: column;
  }
  .share-record .button {
    align-self: flex-end;
  }
  .collection-toggle {
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 380px) {
  main {
    padding-left: 14px;
    padding-right: 14px;
  }
  .library-total {
    display: none;
  }
  .tray-label small {
    display: none;
  }
  .tray-review {
    font-size: 8px;
  }
  .tray-actions {
    gap: 5px;
  }
  .tray-actions .button {
    padding: 0 9px;
  }
  .tray-clear {
    display: none;
  }
  .asset-meta {
    font-size: 6px;
  }
  .page-heading p {
    max-width: 185px;
  }
  .upload-button {
    padding: 0 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Live portal: uploads, share management, authentication and the external viewer. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.error-text {
  color: #a64036;
  font-size: 12px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.error-text:empty {
  display: none;
}
.logout-button {
  font-size: 20px;
  min-width: 30px;
  min-height: 40px;
  color: #555555;
}
.collection-edit-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 20px;
  color: #666666;
  font-size: 11px;
}
.collection-edit-bar > span {
  margin-right: auto;
}
.collection-edit-bar .button {
  min-height: 35px;
  font-size: 10px;
}
.share-search {
  width: 100%;
  max-width: 480px;
  margin: 8px 0 12px;
}
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 0 0 22px;
}
.dashboard-metrics > div {
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0;
  padding: 21px;
}
.dashboard-metrics strong {
  display: block;
  font-family: "CMU Serif", Georgia, "Times New Roman", serif;
  font-size: 29px;
  font-weight: 650;
  color: #333333;
  margin-bottom: 8px;
}
.dashboard-metrics span {
  font-size: 10px;
  color: #666666;
}
.share-record-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 8px;
}
.share-record-title h3 {
  margin: 0;
}
.share-status {
  font-size: 9px;
  text-transform: capitalize;
  padding: 4px 8px;
  border-radius: 0;
  background: #eeeeee;
  color: #555555;
}
.share-status.expired {
  background: #eeeeee;
  color: #555555;
}
.share-status.revoked {
  background: #eeeeee;
  color: #a47261;
}
.share-record .share-record-meta {
  font-size: 9px;
  line-height: 1.9;
  margin-top: 9px;
  color: #666666;
}
.share-record-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.qr-panel {
  text-align: center;
  margin: 12px 0 20px;
}
.qr-panel img {
  border-radius: 0;
  max-width: 100%;
  border: 1px solid #eeeeee;
  background: white;
}
.qr-panel p {
  font-size: 10px;
  color: #666666;
}
.analytics-section {
  margin-top: 30px;
  border-top: 1px solid #eeeeee;
  padding-top: 15px;
}
.analytics-section h3 {
  font:
    650 17px "CMU Serif",
    Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.5px;
}
.analytics-section h4 {
  font-size: 12px;
  font-weight: 550;
}
.analytics-section .dashboard-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.analytics-section .dashboard-metrics > div {
  padding: 14px 10px;
}
.analytics-section .dashboard-metrics strong {
  font-size: 23px;
}
.analytics-section .dashboard-metrics span {
  font-size: 8px;
}
.event-counts > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  padding: 10px 0;
  font-size: 11px;
  color: #666666;
  gap: 10px;
}
.event-counts small {
  display: block;
  font-size: 9px;
  color: #666666;
  margin-top: 5px;
}
.event-counts strong {
  color: #555555;
}
.activity-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.activity-list li {
  font-size: 10px;
  color: #666666;
  border-bottom: 1px solid #eeeeee;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
}
.activity-list time {
  font-size: 9px;
  color: #666666;
}
.button.danger {
  color: #a66557;
  background: #eeeeee;
  border: 1px solid #dddddd;
}
.button.danger:hover {
  background: #dddddd;
}
.upload-dropzone {
  padding: 36px 20px;
  text-align: center;
  background: #f5f5f5;
  border: 1.5px dashed #999999;
  border-radius: 0;
  cursor: pointer;
  margin: 15px 0 22px;
}
.upload-dropzone > svg {
  width: 32px;
  height: 32px;
  color: #555555;
}
.upload-dropzone h3 {
  font:
    650 18px "CMU Serif",
    Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.4px;
  color: #333333;
}
.upload-dropzone p {
  font-size: 12px;
  color: #666666;
}
.upload-dropzone small {
  font-size: 10px;
  color: #666666;
}
.upload-dropzone.dragover {
  background: #eeeeee;
  border-color: #555555;
}
.upload-row {
  border: 1px solid #eeeeee;
  border-radius: 0;
  margin-bottom: 11px;
  background: #ffffff;
  padding: 13px;
}
.upload-row > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.upload-row strong {
  font-size: 11px;
  overflow-wrap: anywhere;
}
.upload-row span {
  font-size: 9px;
  color: #666666;
  text-transform: capitalize;
}
.upload-row progress {
  width: 100%;
  height: 5px;
  margin: 13px 0 5px;
  accent-color: #555555;
}
.upload-row .button {
  font-size: 9px;
  min-height: 29px;
  margin-top: 6px;
}
.internal-video {
  width: 100%;
  max-height: 50vh;
  display: block;
  background: #111111;
  border-radius: 0;
  margin: 12px 0 20px;
}
.pdf-reader {
  background: #eeeeee;
  border: 1px solid #eeeeee;
  border-radius: 0;
  overflow: hidden;
  margin: 12px 0 22px;
}
.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
  flex-wrap: wrap;
  font-size: 10px;
  color: #555555;
}
.pdf-controls button {
  min-width: 34px;
  min-height: 36px;
  border: 1px solid #eeeeee;
  border-radius: 0;
  font-size: 12px;
}
.pdf-controls button:hover {
  background: #f5f5f5;
}
.pdf-controls input {
  width: 42px;
  height: 32px;
  text-align: center;
  border: 1px solid #eeeeee;
  border-radius: 0;
  font-size: 11px;
  color: #555555;
}
.pdf-control-divider {
  width: 1px;
  height: 22px;
  background: #eeeeee;
  margin: 0 2px;
}
.pdf-scroll {
  overflow: auto;
  max-height: 65vh;
  min-height: 100px;
  padding: 15px;
  text-align: center;
  overscroll-behavior: contain;
}
.pdf-scroll canvas {
  display: block;
  margin: auto;
  max-width: none;
  box-shadow: 0 2px 10px #11111116;
}
.pdf-reader .error-text {
  padding: 0 15px;
}
.login-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.login-card {
  margin: 30px 20px;
  padding: 45px !important;
  width: min(470px, calc(100% - 40px));
  background: #ffffffc9;
  border: 1px solid #eeeeee;
  border-radius: 0;
  box-shadow: 0 20px 90px #33333308;
}
.login-card .brand {
  padding: 0;
  margin-bottom: 50px;
  font-size: 36px;
}
.login-card h1 {
  font-size: 30px;
  line-height: 1.3;
  color: #333333;
}
.login-card p {
  font-size: 12px;
  color: #666666;
  line-height: 1.8;
  margin: 18px 0 26px;
}
.login-card .button {
  display: flex;
  width: 100%;
  min-height: 45px;
  margin-bottom: 12px;
  font-size: 12px;
}
.login-card small {
  font-size: 9px;
  color: #666666;
  display: block;
  margin-top: 40px;
}
.login-card p.error-text {
  color: #a64036;
}
.viewer-page {
  background: #f5f5f5;
  min-height: 100dvh;
}
.viewer-header {
  max-width: 1260px;
  margin: auto;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
}
.viewer-logo {
  display: block;
  width: clamp(140px, 30vw, 180px);
  max-width: 100%;
  height: auto;
}
.viewer-main {
  max-width: 1180px;
  padding: 55px 40px;
  margin: auto;
}
.viewer-main h1 {
  font-size: 35px;
  color: #333333;
  letter-spacing: -1.4px;
  max-width: 750px;
  overflow-wrap: anywhere;
}
.viewer-main #viewer-subtitle {
  font-size: 13px;
  color: #666666;
  margin: 15px 0 32px;
}
.viewer-gate {
  background: white;
  border: 1px solid #eeeeee;
  max-width: 460px;
  padding: 27px;
  border-radius: 0;
}
.viewer-gate .button {
  min-height: 44px;
  font-size: 12px;
}
.viewer-gate .form-field {
  font-size: 12px;
}
.viewer-player {
  margin-bottom: 28px;
}
.viewer-player-heading {
  margin-bottom: 22px;
}
.viewer-player h2 {
  font:
    650 21px "CMU Serif",
    Georgia,
    "Times New Roman",
    serif;
  color: #333333;
  letter-spacing: -0.6px;
  overflow-wrap: anywhere;
}
.viewer-player-heading p {
  font-size: 12px;
  color: #666666;
  line-height: 1.8;
  max-width: 800px;
}
.viewer-player video {
  width: 100%;
  max-height: 65vh;
  border-radius: 0;
  background: #111111;
  display: block;
}
.viewer-player .pdf-scroll {
  max-height: 75vh;
}
.viewer-assets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.viewer-asset {
  display: flex;
  text-align: left;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  border-radius: 0;
  padding: 19px;
  color: #555555;
  min-height: 80px;
}
.viewer-asset:hover {
  border-color: #999999;
  background: #f5f5f5;
}
.viewer-asset[aria-pressed="true"] {
  border-color: #666666;
  background: #eeefff;
}
.viewer-asset-number {
  font:
    500 24px "CMU Serif",
    Georgia,
    "Times New Roman",
    serif;
  color: #999999;
}
.viewer-asset strong {
  font-size: 12px;
  font-weight: 550;
  display: block;
  overflow-wrap: anywhere;
}
.viewer-asset small {
  font-size: 9px;
  color: #666666;
  display: block;
  margin-top: 7px;
}
.viewer-asset-arrow {
  margin-left: auto;
  font-size: 20px;
  color: #666666;
}
.viewer-privacy {
  font-size: 10px;
  line-height: 1.9;
  color: #666666;
  border-top: 1px solid #eeeeee;
  margin-top: 50px;
  padding-top: 22px;
  max-width: 800px;
}
.drawer .preview-meta {
  margin-top: 16px;
}
.drawer .form-field > input[type="datetime-local"] {
  font-family: inherit;
}
.empty-state .button {
  margin: 5px;
}
.asset-card .card-select {
  min-height: 0;
}
.asset-actions {
  display: flex;
  border-top: 1px solid #eeeeee;
}
.asset-actions button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 4px;
  color: #000dff;
  background: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
}
.asset-actions button + button {
  border-left: 1px solid #eeeeee;
}
.asset-actions button:hover {
  background: #eeeeee;
}
.asset-actions button:focus-visible {
  outline: 2px solid #000dff;
  outline-offset: -3px;
}
.select-badge {
  min-width: 26px;
  min-height: 26px;
}
.tag-filter {
  display: flex;
}
@media (max-width: 960px) {
  .tag-filter {
    display: flex;
  }
  .filter-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    flex: 1;
  }
  .filter-controls {
    flex-shrink: 0;
  }
  .dashboard-metrics {
    gap: 10px;
  }
  .dashboard-metrics > div {
    padding: 17px;
  }
  .dashboard-metrics strong {
    font-size: 24px;
  }
  .dashboard-metrics span {
    font-size: 9px;
  }
}
@media (max-width: 700px) {
  .sidebar .logout-button {
    display: none;
  }
  .share-record {
    width: 100%;
    overflow: hidden;
    padding: 17px;
  }
  .share-record-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .share-record-actions .button {
    font-size: 10px;
    min-height: 40px;
  }
  .share-record h3 {
    font-size: 13px;
  }
  .share-record-title {
    flex-wrap: wrap;
  }
  .share-record .share-record-meta {
    font-size: 9px;
  }
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 12px;
  }
  .dashboard-metrics > div {
    padding: 16px;
  }
  .dashboard-metrics strong {
    font-size: 25px;
  }
  .dashboard-metrics span {
    font-size: 10px;
  }
  .topbar .avatar {
    cursor: pointer;
  }
  .collection-edit-bar {
    gap: 6px;
    flex-wrap: wrap;
  }
  .collection-edit-bar > span {
    width: 100%;
    padding-bottom: 5px;
  }
  .collection-edit-bar .button {
    min-height: 38px;
  }
  .viewer-header {
    padding: 22px 20px;
  }
  .viewer-main {
    padding: 35px 20px;
  }
  .viewer-main h1 {
    font-size: 29px;
  }
  .viewer-main #viewer-subtitle {
    font-size: 12px;
    margin-bottom: 25px;
  }
  .viewer-assets {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .viewer-asset {
    padding: 15px;
    min-height: 76px;
  }
  .viewer-player h2 {
    font-size: 19px;
  }
  .viewer-gate {
    padding: 22px;
  }
  .viewer-gate .button {
    width: 100%;
    margin-top: 7px;
  }
  .viewer-privacy {
    font-size: 9px;
  }
  .pdf-controls {
    gap: 4px;
    font-size: 9px;
  }
  .pdf-controls button {
    min-height: 40px;
    min-width: 35px;
  }
  .pdf-scroll {
    padding: 10px;
  }
  .login-card {
    padding: 30px !important;
  }
  .login-card h1 {
    font-size: 26px;
  }
  .tag-filter select {
    max-width: 75px;
  }
  .tag-filter > span:first-child {
    display: none;
  }
  .search-field {
    width: 100%;
    flex-basis: 100%;
  }
  .filter-controls {
    width: 100%;
    justify-content: flex-end;
  }
  .filter-controls .select-control {
    margin-right: auto;
  }
  .filter-controls .tag-filter {
    margin-right: auto;
  }
  .sort-control {
    display: flex;
    padding-left: 0;
  }
  .sort-control > span:first-child {
    display: none;
  }
  .sort-control select {
    font-size: 9px;
    max-width: 88px;
  }
  .filter-controls {
    gap: 4px;
  }
  .library-total {
    display: none;
  }
  .logout-button {
    min-height: 35px;
  }
}

.review-short {
  display: none;
}
@media (max-width: 700px) {
  .filter-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 7px;
  }
  .filter-controls .select-control {
    width: 100%;
    margin: 0;
    min-width: 0;
  }
  .filter-controls .select-control select {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .filter-controls .sort-control {
    grid-row: 2;
    grid-column: 1/-1;
    justify-self: end;
    height: 29px;
  }
  .filter-controls .view-switch {
    grid-row: 1;
    grid-column: 3;
  }
  .tray-label small,
  .review-full {
    display: none;
  }
  .review-short {
    display: inline;
  }
  .tray-review,
  .tray-actions .button,
  .tray-clear {
    min-height: 42px;
  }
  .tray-label {
    font-size: 9px;
  }
  .drawer-close {
    min-width: 44px;
    min-height: 44px;
  }
}

/* Square corners apply to every component and native form/progress surface. */
*,
*::before,
*::after {
  border-radius: 0;
}
progress::-webkit-progress-bar,
progress::-webkit-progress-value,
progress::-moz-progress-bar {
  border-radius: 0;
}
.login-page {
  background: var(--bg);
}

/* Standard Manufacturing branding: CMU Serif, Montserrat, white, #111 and #000dff. */
body {
  font-size: 15px;
}
button,
input,
select,
textarea,
.nav-item,
.nav-caption,
.breadcrumb,
.workspace,
.profile,
.avatar,
.asset-info,
.selection-tray,
.form-field,
.drawer-subtitle,
.share-record p,
.viewer-privacy,
.viewer-assets,
.library-footer,
.results-toolbar,
.content-tabs,
.storage,
.help-button {
  font-family: var(--font-ui);
}
h1,
h2,
h3,
.brand {
  font-family: var(--font);
}
.button.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: none;
}
.button.primary:hover {
  background: #000ac2;
}
.button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline-color: var(--accent);
}
input[type="radio"],
progress {
  accent-color: var(--accent);
}
.layout-choice {
  border: 1px solid #ddd;
  margin: 0 0 20px;
  padding: 12px;
  display: flex;
  gap: 20px;
  font-family: var(--font-ui);
  font-size: 12px;
}
.layout-choice legend {
  font-size: 11px;
  padding: 0 5px;
  font-weight: 600;
  color: #333;
}
.layout-choice label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  cursor: pointer;
}
.layout-choice input {
  width: 17px;
  height: 17px;
  margin: 0;
}
.sender-preview {
  border: 1px solid #ddd;
  margin-bottom: 22px;
}
.sender-preview summary {
  font-family: var(--font-ui);
  font-size: 11px;
  padding: 14px;
  cursor: pointer;
}
.sender-preview-content {
  padding: 12px;
  background: #fafafa;
  margin-top: 12px;
}
.sender-preview summary + .sender-preview-content {
  margin-top: 0;
  border-top: 1px solid #ddd;
}
.sender-preview-player:empty {
  display: none;
}
.sender-preview-player {
  margin-bottom: 14px;
}
.sender-preview-player h4 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 10px;
}
.sender-preview-player > video {
  width: 100%;
  background: #111;
  max-height: 40vh;
  display: block;
}
.share-layout-settings {
  margin-top: 25px;
  border-top: 1px solid #ddd;
  padding-top: 14px;
}
.share-layout-settings h3 {
  font-size: 20px;
}
.media-gallery {
  display: grid;
  gap: 16px;
}
.media-gallery.is-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-gallery.is-list {
  grid-template-columns: minmax(0, 1fr);
}
.media-gallery-item {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0;
  text-align: left;
  overflow: hidden;
  font-family: var(--font-ui);
}
.media-gallery-item:hover {
  border-color: #777;
}
.media-gallery-item[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.media-gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.media-gallery-thumbnail {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #eceff5;
}
.media-gallery-thumbnail video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.media-gallery-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-ui);
  font-size: 23px;
  color: #666;
}
.media-gallery-kind {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #111;
  color: #fff;
  font-size: 9px;
  padding: 4px 6px;
}
.media-gallery-info {
  display: block;
  padding: 14px 16px;
  flex: 1;
  min-width: 0;
}
.media-gallery-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  display: block;
  overflow-wrap: anywhere;
  color: #111;
}
.media-gallery-action {
  display: block;
  font-size: 10px;
  color: #666;
  margin-top: 6px;
}
.media-gallery-index {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 3px 5px;
  background: #ffffffdf;
  font-size: 9px;
  color: #333;
}
.media-gallery.is-list .media-gallery-item {
  flex-direction: row;
  align-items: center;
}
.media-gallery.is-list .media-gallery-thumbnail {
  width: 150px;
  flex-shrink: 0;
}
.media-gallery.is-list .media-gallery-info {
  padding-right: 35px;
}
.sender-preview-content .media-gallery.is-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.sender-preview-content .media-gallery-info {
  padding: 10px;
}
.sender-preview-content .media-gallery-title {
  font-size: 10px;
}
.sender-preview-content .media-gallery-action {
  font-size: 8px;
}
.sender-preview-content .media-gallery.is-list .media-gallery-thumbnail {
  width: 110px;
}
@media (max-width: 700px) {
  .media-gallery.is-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .media-gallery-info {
    padding: 11px;
  }
  .media-gallery-title {
    font-size: 11px;
  }
  .media-gallery.is-list .media-gallery-thumbnail {
    width: 115px;
  }
  .media-gallery.is-list .media-gallery-info {
    padding-right: 12px;
  }
  .viewer-main h1 {
    font-size: 31px;
  }
}
@media (max-width: 380px) {
  .sender-preview-content .media-gallery.is-grid {
    gap: 8px;
  }
  .sender-preview-content .media-gallery-info {
    padding: 8px;
  }
  .sender-preview-content .media-gallery.is-list .media-gallery-thumbnail {
    width: 86px;
  }
}

.mini-checkbox.checked {
  background: var(--accent);
  border-color: var(--accent);
}

/* Asset version history and per-asset version choices. */
.asset-version-meta {
  font-family: var(--font-ui);
  font-size: 8px;
  line-height: 1.6;
  color: #666;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-mode .asset-version-meta {
  grid-column: 2/-1;
  margin-top: 0;
}
.version-selection {
  margin: 22px 0;
}
.version-selection h3 {
  font-family: var(--font);
  font-size: 21px;
  letter-spacing: 0;
}
.version-selection-item {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.version-selection-item > strong {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}
.version-picker {
  display: block;
  font-family: var(--font-ui);
  font-size: 9px;
  color: #666;
  font-weight: 400;
  margin-top: 8px;
}
.version-picker select {
  display: block;
  max-width: 100%;
  width: 100%;
  min-width: 0;
  min-height: 37px;
  border: 1px solid #ddd;
  background: white;
  font-family: var(--font-ui);
  font-size: 10px;
  padding: 7px;
  margin-top: 5px;
  color: #333;
}
.review-info .version-picker {
  max-width: 100%;
}
.review-info .version-picker select {
  font-size: 9px;
}
.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.version-history {
  margin-top: 20px;
}
.version-history-item {
  border-top: 1px solid #ddd;
  padding: 18px 0;
}
.version-history-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.version-history-heading h3 {
  font-family: var(--font);
  font-size: 21px;
  margin: 0;
}
.version-default-badge {
  font-family: var(--font-ui);
  font-size: 9px;
  padding: 4px 6px;
  background: var(--accent);
  color: #fff;
}
.version-status {
  font-family: var(--font-ui);
  font-size: 10px;
  color: #666;
  text-transform: capitalize;
  margin-left: auto;
}
.version-attribution,
.version-filename,
.version-note {
  font-family: var(--font-ui);
  font-size: 11px;
  line-height: 1.8;
  color: #555;
  overflow-wrap: anywhere;
}
.version-note {
  background: #f5f5f5;
  padding: 10px;
  white-space: pre-wrap;
}
.version-checksum {
  font-family: var(--font-ui);
  font-size: 9px;
  color: #666;
}
.version-checksum summary {
  cursor: pointer;
  min-height: 30px;
}
.version-checksum code {
  display: block;
  overflow-wrap: anywhere;
  background: #f5f5f5;
  padding: 9px;
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-ui);
  font-size: 11px;
  min-height: 44px;
  margin: 10px 0;
}
.checkbox-field input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.upload-row strong small {
  display: block;
  font-size: 9px;
  color: #666;
  font-weight: 400;
  margin-top: 5px;
}
@media (max-width: 700px) {
  .version-picker select {
    min-height: 44px;
  }
  .review-info .version-picker select {
    font-size: 9px;
  }
  .version-attribution,
  .version-filename,
  .version-note {
    font-size: 10px;
  }
  .asset-version-meta {
    font-size: 7px;
  }
}

.share-version-summary {
  border-top: 1px solid var(--border);
  padding-top: 15px;
  margin-top: 25px;
}
.share-version-summary h3 {
  font-family: var(--font);
  font-size: 21px;
}
.share-version-summary ol {
  list-style: none;
  padding: 0;
}
.share-version-summary li {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 11px;
}
.share-version-summary li strong {
  font-weight: 600;
  white-space: nowrap;
}
