/* KAZIF review studio. Application chrome stays quiet around the work. */
:root {
  --paper: #131416;
  --card: #1b1d20;
  --ink: #efefeb;
  --muted: #92969c;
  --line: #303237;
  --soft: #23262a;
  --red: #f0644c;
  color-scheme: dark;
}
.shell {
  grid-template-columns: 218px minmax(0, 1fr);
}
.sidebar {
  background: #101113;
  padding: 27px 16px 18px;
  border-color: #282a2e;
}
.sidebar .logo {
  padding: 0 12px;
  margin-bottom: 37px;
}
.sidebar .logo img {
  filter: brightness(0) invert(1);
  width: 105px;
}
.workspace-switch {
  background: #1d1f22;
  border-color: #2d3034;
  padding: 11px;
  margin-bottom: 26px;
  border-radius: 8px;
}
.workspace-switch label {
  font-size: 8px;
  color: #92969c;
  letter-spacing: 0.08em;
}
.workspace-selector {
  font-size: 12px;
}
.client-avatar {
  background: #35322d;
  border-color: #48423a;
  color: #e7d9c1;
  border-radius: 7px;
}
.side-nav {
  gap: 5px;
}
.side-nav button {
  font-size: 12px;
  padding: 12px;
  border-radius: 7px;
  color: #9fa2a8;
  gap: 12px;
}
.side-nav button:hover {
  background: #1b1d20;
  color: #fff;
}
.side-nav button.active {
  background: #292c31;
  color: #f6f4ed;
}
.side-nav .icon {
  filter: invert(1);
  opacity: 0.55;
}
.side-nav button.active .icon {
  filter: invert(1);
  opacity: 0.9;
}
.nav-count {
  background: #414349;
  color: #ededed;
}
.test-label {
  background: none;
  border: 0;
  padding: 0 4px;
  color: #71777d;
  font-size: 9px;
  margin-bottom: 18px;
}
.user-row {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.user-row strong {
  font-size: 11px;
}
.user-row small,
.logout {
  color: #8b9098;
  font-size: 10px;
}
.topbar {
  height: 65px;
  padding: 0 34px;
  color: #a2a5ac;
  font-size: 11px;
  background: #17181b;
}
.topbar .right-status {
  font-size: 10px;
}
.content {
  max-width: 1600px;
  padding: 33px 34px 60px;
}
.page-heading {
  margin-bottom: 28px;
}
.page-heading h1 {
  font-size: 31px;
  letter-spacing: -0.045em;
  line-height: 1.15;
  font-weight: 550;
}
.page-heading .eyebrow {
  display: none;
}
.page-heading p {
  font-size: 12px;
  margin-top: 9px;
  color: #969ba3;
  line-height: 1.6;
}
.page-heading h1 span {
  color: #e4e4df;
}
.button {
  background: #272a2e;
  border-color: #3a3e44;
  color: #eeeee9;
  border-radius: 7px;
  font-size: 11px;
  min-height: 37px;
  padding: 10px 15px;
}
.button:hover {
  background: #33363c;
  border-color: #565b63;
}
.button.primary {
  background: #ec624d;
  color: #fff;
  border-color: #f27864;
  box-shadow: inset 0 1px #ffffff18;
}
.button.primary:hover {
  background: #f3715c;
}
.button.text {
  background: none;
  border-color: transparent;
  color: #b9bdc4;
}
.panel {
  border-radius: 10px;
  box-shadow: none;
  background: #1b1d20;
  border-color: #2c2f34;
}
.panel-pad {
  padding: 25px;
}
.panel h2 {
  font-size: 20px;
  letter-spacing: -0.035em;
}
.panel > p,
.settings-grid p {
  color: #a2a6ae;
  font-size: 12px;
  line-height: 1.65;
}
.eyebrow {
  color: #969ba3;
}
.period {
  background: #292c30;
  border-color: #34383d;
  color: #adb2ba;
  font-size: 10px;
}
.next-panel {
  background: linear-gradient(135deg, #282421, #211f1f);
}
.next-panel h2 {
  font-size: 31px;
  color: #e9e2d7;
}
.next-panel p {
  color: #a99e91;
}
.progress-track {
  background: #313135;
}
.progress-track i {
  background: #ee775a;
}
.progress-caption {
  color: #949aa3;
}
.mini-stats {
  border-color: #353638;
}
.mini-stats strong {
  font-size: 26px;
}
.mini-stats span {
  color: #949aa3;
  font-size: 10px;
}
.big-progress strong {
  font-size: 58px;
}
.big-progress span {
  color: #a8adb4;
}
.delivery-row {
  border-color: #303339;
}
.delivery-number {
  border-color: #393b40;
  color: #9b9da3;
}
.delivery-row h3 {
  font-size: 13px;
}
.delivery-row p {
  font-size: 11px;
  color: #8a909a;
}
.pill {
  background: #323239;
  color: #adb1be;
  border: 1px solid #3c3e47;
  font-size: 9px;
  border-radius: 5px;
  padding: 5px 7px;
}
.pill.review {
  background: #343021;
  border-color: #554833;
  color: #e1c77b;
}
.pill.approved {
  background: #22342e;
  border-color: #335448;
  color: #91c9ab;
}
.pill.production {
  background: #2a2c3b;
  border-color: #3b425d;
  color: #adb9e4;
}
.folder-feature {
  border-color: #38332e;
  background: #242321;
}
.folder-feature h3 {
  font-size: 14px;
}
.activity-item p {
  color: #999ea7;
}
.activity-list {
  border-color: #33363d;
}
.footer-note {
  color: #777e88;
  font-size: 10px;
  margin-top: 24px;
}
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 18px;
}
.library-toolbar > span {
  font-size: 11px;
  color: #888f99;
}
.library-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1c20;
  border: 1px solid #30343b;
  border-radius: 7px;
  padding: 10px 13px;
  width: 260px;
}
.library-search img {
  width: 15px;
  filter: invert(1);
  opacity: 0.5;
}
.library-search input {
  background: none;
  border: 0;
  outline: none;
  color: #e9e9e5;
  font-size: 11px;
  min-width: 0;
  width: 100%;
}
.folder-bar {
  gap: 8px;
  border-bottom: 1px solid #2c3037;
  padding-bottom: 20px;
  margin-bottom: 25px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
}
.folder-bar button {
  background: transparent;
  border: 1px solid #343840;
  color: #a1a7b0;
  font-size: 11px;
  padding: 9px 13px;
  white-space: nowrap;
  border-radius: 6px;
}
.folder-bar button.active {
  background: #3c3430;
  color: #f0c1aa;
  border-color: #79503e;
}
.file-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.file-card {
  overflow: hidden;
  border-radius: 10px;
  transition: border-color 0.2s;
  background: #1c1f23;
}
.file-card:hover {
  border-color: #5b626f;
}
.file-poster {
  aspect-ratio: 16/11;
  background: #0c0d0f;
  overflow: hidden;
}
.file-poster img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  transition: none;
}
.file-play {
  background: transparent;
}
.file-play b {
  width: 37px;
  height: 37px;
  border: 1px solid #ffffff55;
  background: #1a1a1a55;
  backdrop-filter: blur(10px);
  font-size: 12px;
  box-shadow: none;
}
.file-duration {
  background: #141519c7;
  border-radius: 4px;
  font-size: 9px;
  right: 10px;
  bottom: 10px;
}
.file-info {
  padding: 15px;
}
.file-info h3 {
  font-family: Geist, sans-serif;
  font-size: 12px;
  letter-spacing: -0.015em;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 13px;
}
.file-info small {
  font-size: 8px;
  color: #818894;
}
.file-info > div {
  align-items: center;
  gap: 8px;
}
.file-card[hidden] {
  display: none;
}
.field input,
.field textarea,
.field select {
  background: #141619;
  border-color: #353941;
  color: #eceeea;
  border-radius: 7px;
  font-size: 12px;
}
.field > small {
  color: #858c97;
  font-size: 10px;
}
.field {
  color: #c0c4cd;
  font-size: 11px;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #bc6f59;
  outline: 1px solid #bc6f59;
}
.table-wrap th {
  background: #22252a;
  color: #939aa5;
  border-color: #31353d;
  font-size: 9px;
}
.table-wrap td {
  border-color: #31353d;
  color: #bbc0c7;
  font-size: 12px;
}
.table-wrap td strong {
  color: #e2e5e7;
  font-size: 12px;
}
.table-wrap td small {
  color: #89919d;
}
.setup-note {
  color: #b7a490;
  background: #29241f;
  border-color: #4e4134;
}
.brief-card p {
  color: #a9b0b9;
}
.billing-side {
  background: #252323;
  color: #cabdb0;
  border-color: #393330;
}
.billing-side p {
  color: #b3a396;
}
.billing-copy p {
  color: #a3a9b3;
}
.connection-state {
  background: transparent;
  color: #b7aea2;
}
.connection-state i {
  background: #ae9677;
}
.assignment-item {
  border-color: #31363d;
}
.assignment-item input {
  accent-color: #ea6e51;
}
.assignment-item small {
  color: #9399a3;
}
.assignment-item input:checked + span {
  color: #ffd0b9;
}
.credential {
  background: #2a2825;
  color: #f8d7aa;
  border-color: #756045;
}
.frame-connection-status {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #29251f;
  border: 1px solid #554836;
  padding: 20px 22px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.frame-connection-status > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cfaa6c;
  flex-shrink: 0;
}
.frame-connection-status > div {
  flex: 1;
}
.frame-connection-status strong {
  font-size: 13px;
}
.frame-connection-status p {
  font-size: 11px;
  color: #b4a38d;
  margin-top: 6px;
  line-height: 1.6;
}
.frame-connection-status.connected {
  background: #1e3028;
  border-color: #355444;
}
.frame-connection-status.connected > i {
  background: #92c4a3;
}
.connection-facts {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 25px;
}
.connection-facts span {
  font-size: 10px;
  padding: 8px 10px;
  border: 1px solid #42454b;
  border-radius: 6px;
  color: #a8b2bc;
}
.frame-resource-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.frame-resource {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 1px solid #373c45;
  background: #23262c;
  color: #e5e7e8;
  border-radius: 7px;
  text-align: left;
}
.frame-resource .icon {
  filter: invert(1);
  opacity: 0.7;
}
.frame-resource strong {
  font-size: 12px;
  font-weight: 500;
  flex: 1;
}
.frame-resource > span {
  font-size: 10px;
  color: #999fa9;
}
.frame-resource:hover {
  background: #2a2e35;
}
.connection-steps {
  font-size: 12px;
  line-height: 1.8;
  color: #aab1bb;
  margin: 18px 0;
  padding-left: 18px;
}
/* A full review surface: work on the left, precise notes on the right. */
dialog {
  border-color: #3b414c;
  background: #202329;
  box-shadow: 0 40px 180px #0009;
  color: #eee;
}
.close-dialog {
  color: #b7bec8;
  z-index: 3;
}
.video-dialog {
  width: min(1440px, calc(100% - 50px));
  padding: 0;
  border-radius: 12px;
  max-height: 94svh;
  overflow: hidden;
}
.video-dialog .close-dialog {
  top: 17px;
  right: 14px;
  width: 30px;
  height: 30px;
  font-size: 24px;
  background: #2c3036;
  border-radius: 5px;
}
.review-desk-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 60px 17px 22px;
  gap: 20px;
  border-bottom: 1px solid #373b44;
  background: #24272e;
  min-height: 70px;
}
.review-file-title {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}
.review-file-title > .icon {
  filter: invert(1);
  opacity: 0.65;
  width: 21px;
}
.review-file-title > div {
  min-width: 0;
}
.review-file-title span {
  font-size: 9px;
  color: #989faa;
}
.review-file-title h2 {
  font-family: Geist, sans-serif;
  font-size: 12px;
  letter-spacing: -0.015em;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.review-file-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.file-origin {
  font-size: 9px;
  color: #8e97a5;
}
.review-desk-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 305px;
  min-height: 620px;
  max-height: calc(94svh - 70px);
}
.review-stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #101114;
}
.review-view-switch {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 16px;
  border-bottom: 1px solid #292d34;
  background: #191c20;
}
.review-view-switch > button {
  padding: 8px 16px;
  background: transparent;
  color: #939da9;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 10px;
}
.review-view-switch > button.active {
  background: #353b45;
  color: #f0f2f4;
  border-color: #414958;
}
.review-view-switch > a {
  margin-left: auto;
  font-size: 9px;
  min-height: 30px;
  padding: 7px 10px;
}
.review-screens {
  display: grid;
  grid-template-columns: 1fr;
  flex: 1;
  min-height: 0;
  padding: 15px;
  gap: 10px;
}
.review-screens > div {
  min-height: 0;
  display: grid;
  place-items: center;
  position: relative;
}
.review-screens video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 54svh;
  object-fit: contain;
  border-radius: 0;
  margin: 0;
  background: #0d0e10;
}
.review-screens.comparing {
  grid-template-columns: 1fr 1fr;
}
.compare-screen[hidden] {
  display: none !important;
}
.compare-screen label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: #20242beb;
  z-index: 2;
  font-size: 8px;
  color: #8994a1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-screen select {
  min-width: 0;
  width: 100%;
  background: #282e38;
  color: #c7d0db;
  border: 1px solid #434a56;
  border-radius: 4px;
  padding: 5px;
  font-size: 9px;
}
.review-strip {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 12px 16px;
  background: #191b1f;
  border-top: 1px solid #2e333b;
  flex-shrink: 0;
  scrollbar-width: thin;
}
.review-strip button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 135px;
  max-width: 190px;
  background: #242830;
  border: 1px solid #3c4350;
  color: #aeb9c8;
  padding: 5px;
  border-radius: 5px;
  text-align: left;
}
.review-strip button.selected {
  border-color: #e77756;
  background: #342822;
}
.review-strip img {
  width: 33px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
}
.review-strip span {
  font-size: 8px;
  max-width: 120px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-notes {
  display: flex;
  flex-direction: column;
  background: #202329;
  border-left: 1px solid #353b44;
  min-height: 0;
}
.review-notes > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 21px 20px;
  border-bottom: 1px solid #333944;
}
.review-notes h3 {
  font-family: Geist, sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 500;
}
.review-notes > header > span {
  font-size: 9px;
  padding: 3px 6px;
  background: #373f4b;
  border-radius: 4px;
  color: #bdc7d5;
}
#review-note-list {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  min-height: 130px;
}
.review-empty {
  font-size: 11px;
  color: #8c96a6;
  line-height: 1.8;
  padding: 15px 3px;
}
.review-empty img {
  width: 27px;
  filter: invert(1);
  opacity: 0.35;
  margin-bottom: 14px;
}
.review-empty h4 {
  font-size: 13px;
  font-weight: 500;
  color: #c6d0de;
  margin: 0 0 10px;
  line-height: 1.5;
}
.review-empty p {
  font-size: 11px;
  line-height: 1.8;
}
.review-note {
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #313844;
}
.review-note > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.review-note .client-avatar {
  width: 23px;
  height: 23px;
  font-size: 9px;
  background: #41444b;
  color: #ced2da;
  border: 0;
}
.review-note strong {
  font-size: 9px;
  font-weight: 500;
}
.review-note small {
  margin-left: auto;
  color: #737f91;
  font-size: 8px;
}
.review-note p {
  font-size: 11px;
  line-height: 1.75;
  color: #b9c3d2;
  margin: 11px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.review-note button {
  font-size: 9px;
  padding: 5px 8px;
  border: 1px solid #535468;
  border-radius: 4px;
  background: #363448;
  color: #bbb5e1;
}
#review-note-form {
  border-top: 1px solid #363d47;
  padding: 16px 18px;
  background: #262b33;
}
#review-note-form textarea {
  width: 100%;
  resize: vertical;
  min-height: 75px;
  padding: 10px;
  background: #1c2027;
  border: 1px solid #3d4654;
  border-radius: 6px;
  color: #e2e8f0;
  font-size: 11px;
  line-height: 1.65;
}
#review-note-form > .button {
  margin-top: 10px;
  float: right;
}
#review-note-form > small {
  display: block;
  clear: both;
  padding-top: 14px;
  color: #7e899a;
  font-size: 8px;
  line-height: 1.6;
}
.note-compose-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
}
.note-compose-meta .client-avatar {
  width: 23px;
  height: 23px;
  font-size: 8px;
}
.note-compose-meta strong {
  font-size: 9px;
  font-weight: 500;
}
.note-compose-meta > span:last-child {
  margin-left: auto;
  font-size: 9px;
  color: #c6b9a5;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.form-error {
  color: #f9a78f;
}
.client-option {
  background: #282d34;
  border-color: #404853;
  color: #e7e9ee;
}
.client-option > span:last-child {
  color: #8e9cae;
}
/* Sign-in carries the studio identity, without a pretend dashboard. */
.studio-login {
  background: #141519;
  grid-template-columns: 1.08fr 1fr;
}
.studio-login .login-story {
  background:
    radial-gradient(ellipse at 20% 50%, #73362455, transparent 65%), #181412;
  padding: 43px 50px;
  position: relative;
  overflow: hidden;
}
.login-story::before {
  display: none;
}
.login-story .logo {
  position: relative;
  z-index: 1;
}
.login-showcase {
  margin: 40px auto;
  max-width: 540px;
  width: 100%;
}
.login-showcase > .eyebrow {
  font-size: 9px;
  color: #a9917e;
}
.login-film-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  margin: 25px 0 34px;
  align-items: center;
}
.login-film-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 15px 45px #0003;
}
.login-film-grid img:nth-child(2) {
  height: 265px;
}
.login-story h1 {
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.05em;
}
.login-story h1 span {
  color: #c7ae95;
}
.login-story p {
  font-size: 12px;
  line-height: 1.8;
  color: #a59383;
  margin-top: 20px;
  max-width: 390px;
}
.login-story footer {
  font-size: 10px;
  color: #907f70;
}
.login-form-wrap {
  background: #17191d;
  padding: 55px;
}
.login-inner {
  max-width: 340px;
}
.login-inner > .eyebrow {
  font-size: 9px;
  color: #9a9189;
}
.login-inner h2 {
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-top: 18px;
}
.login-inner > p {
  font-size: 12px;
  color: #8f98a5;
}
.login-inner .field {
  font-size: 11px;
}
.login-inner .field input {
  padding: 13px;
}
.demo-login {
  border-top: 1px solid #343a42;
  padding-top: 26px;
  margin-top: 32px;
}
.demo-login > div {
  display: flex;
  gap: 9px;
  margin-top: 13px;
}
.demo-login .button {
  font-size: 10px;
  padding: 10px 13px;
}
.login-back {
  color: #8d97a5;
  font-size: 11px;
  margin-top: 26px;
}
.login-inner .form-stack {
  gap: 18px;
}
.login-inner .button.primary {
  min-height: 43px;
}
@media (min-width: 1600px) {
  .file-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1150px) {
  .shell {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .sidebar {
    padding: 23px 12px 18px;
  }
  .content {
    padding: 27px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-desk-body {
    grid-template-columns: minmax(0, 1fr) 275px;
  }
  .review-desk-header {
    padding-left: 16px;
  }
  .review-file-actions {
    gap: 8px;
  }
  .review-file-actions .file-origin {
    display: none;
  }
  .studio-login .login-story {
    padding: 35px;
  }
  .login-form-wrap {
    padding: 38px;
  }
  .login-film-grid img {
    height: 180px;
  }
  .login-film-grid img:nth-child(2) {
    height: 220px;
  }
  .login-story h1 {
    font-size: 34px;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  .sidebar {
    display: grid;
    position: relative;
    height: auto;
    padding: 17px 20px 0;
    grid-template-columns: 1fr auto;
  }
  .sidebar .logo {
    padding: 0;
    margin: 8px 0 21px;
  }
  .sidebar .logo img {
    width: 96px;
  }
  .workspace-switch {
    margin: 0 0 15px;
    padding: 7px 9px;
    max-width: 200px;
  }
  .side-nav {
    display: flex;
    overflow: auto;
    gap: 5px;
    padding-bottom: 12px;
    grid-column: 1/-1;
  }
  .side-nav button {
    font-size: 11px;
    padding: 9px 11px;
    white-space: nowrap;
  }
  .sidebar-bottom {
    display: none;
  }
  .topbar {
    height: 47px;
    padding: 0 22px;
  }
  .topbar .right-status {
    display: none;
  }
  .content {
    padding: 27px 22px 45px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .button {
    font-size: 10px;
  }
  .video-dialog {
    width: calc(100% - 20px);
    max-height: 96svh;
    overflow-y: auto;
  }
  .review-desk-body {
    grid-template-columns: 1fr;
    display: block;
    max-height: none;
    min-height: 0;
  }
  .review-desk-header {
    padding: 16px 52px 16px 16px;
    flex-wrap: wrap;
    gap: 13px;
  }
  .review-file-title {
    max-width: 100%;
  }
  .review-file-actions {
    width: 100%;
    justify-content: space-between;
  }
  .review-file-actions .file-origin {
    display: block;
  }
  .review-screens video {
    height: 43svh;
    max-height: 450px;
  }
  .review-screens.comparing video {
    height: 33svh;
  }
  .review-notes {
    border-left: 0;
    border-top: 1px solid #363c47;
    min-height: 350px;
  }
  .review-notes > header {
    padding: 16px 20px;
  }
  #review-note-list {
    max-height: 240px;
    min-height: 120px;
  }
  .review-empty {
    padding: 5px;
  }
  .review-empty img {
    display: none;
  }
  #review-note-form {
    padding: 15px 20px;
  }
  .review-strip {
    max-height: 80px;
  }
  .review-desk-header h2 {
    max-width: calc(100vw - 115px);
  }
  .frame-connection-status {
    padding: 17px;
    flex-wrap: wrap;
  }
  .frame-connection-status p {
    font-size: 11px;
  }
  .frame-resource {
    padding: 12px;
  }
  .frame-resource strong {
    font-size: 11px;
  }
  .frame-resource > span {
    font-size: 9px;
  }
  .studio-login {
    grid-template-columns: 1fr;
  }
  .studio-login .login-story {
    padding: 25px 30px;
    min-height: 0;
    display: block;
  }
  .login-showcase {
    margin: 20px 0 0;
    max-width: none;
  }
  .login-film-grid {
    display: none;
  }
  .login-story h1 {
    font-size: 27px;
    margin-top: 13px;
  }
  .login-showcase > .eyebrow,
  .login-story p,
  .login-story footer {
    display: none;
  }
  .studio-login .logo img {
    width: 95px;
  }
  .login-form-wrap {
    padding: 38px 30px 50px;
    display: block;
  }
  .login-inner {
    max-width: 420px;
    margin: 0 auto;
  }
  .login-inner h2 {
    font-size: 30px;
  }
}
@media (max-width: 480px) {
  .sidebar {
    padding: 14px 15px 0;
  }
  .sidebar .logo img {
    width: 83px;
  }
  .workspace-switch {
    max-width: 175px;
  }
  .workspace-selector {
    font-size: 11px;
  }
  .side-nav {
    gap: 3px;
  }
  .side-nav button {
    padding: 9px;
    font-size: 10px;
  }
  .topbar {
    padding: 0 17px;
    font-size: 10px;
  }
  .content {
    padding: 24px 17px 38px;
  }
  .page-heading {
    gap: 18px;
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 25px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p {
    font-size: 11px;
    line-height: 1.65;
  }
  .page-heading .button {
    min-height: 34px;
  }
  .library-toolbar {
    gap: 10px;
    margin-bottom: 18px;
  }
  .library-search {
    width: min(235px, 78%);
    padding: 9px 11px;
  }
  .library-toolbar > span {
    font-size: 9px;
    white-space: nowrap;
  }
  .folder-bar {
    gap: 6px;
    padding-bottom: 17px;
    margin-bottom: 20px;
  }
  .folder-bar button {
    font-size: 9px;
    padding: 8px 10px;
  }
  .file-grid {
    gap: 11px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .file-poster {
    aspect-ratio: 0.82;
  }
  .file-info {
    padding: 11px 9px;
  }
  .file-info h3 {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .file-info > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
  .file-info .pill {
    font-size: 7px;
    padding: 4px 5px;
  }
  .file-info small {
    font-size: 7px;
  }
  .file-play b {
    width: 29px;
    height: 29px;
    font-size: 9px;
  }
  .file-duration {
    font-size: 8px;
    padding: 3px 5px;
    bottom: 8px;
    right: 7px;
  }
  .panel-pad {
    padding: 21px;
  }
  .panel h2 {
    font-size: 19px;
  }
  .overview-grid,
  .lower-grid {
    gap: 14px;
  }
  .big-progress strong {
    font-size: 49px;
  }
  .mini-stats strong {
    font-size: 25px;
  }
  .mini-stats span {
    font-size: 9px;
  }
  .next-panel h2 {
    font-size: 27px;
  }
  .button {
    font-size: 10px;
  }
  .delivery-row h3 {
    font-size: 11px;
  }
  .delivery-row p {
    font-size: 9px;
  }
  .footer-note {
    font-size: 9px;
    line-height: 1.7;
  }
  .review-view-switch {
    padding: 9px 10px;
  }
  .review-view-switch > button {
    font-size: 10px;
    padding: 7px 13px;
  }
  .review-screens {
    padding: 9px;
    gap: 6px;
  }
  .review-screens video {
    height: 40svh;
  }
  .review-screens.comparing video {
    height: 30svh;
  }
  .compare-screen label {
    font-size: 0;
    padding: 5px;
  }
  .compare-screen select {
    font-size: 8px;
  }
  .review-file-actions .pill {
    font-size: 8px;
  }
  .review-file-actions .button {
    font-size: 9px;
    padding: 8px 11px;
    min-height: 30px;
  }
  .review-desk-header {
    padding: 14px 49px 14px 13px;
  }
  .review-file-title h2 {
    font-size: 10px;
  }
  .review-file-title span {
    font-size: 8px;
  }
  .review-file-actions {
    gap: 6px;
  }
  .studio-login .login-story {
    padding: 22px 25px;
  }
  .login-form-wrap {
    padding: 31px 25px 45px;
  }
  .login-inner h2 {
    font-size: 29px;
  }
  .login-story h1 {
    font-size: 25px;
  }
  .demo-login .button {
    font-size: 9px;
    padding: 9px 11px;
  }
}
.folder-refresh {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

@media (max-width: 650px) {
  .login-showcase h1 span {
    display: block;
  }
}
#main-content details {
  border-top: 1px solid #ffffff15;
  margin-top: 22px;
  padding-top: 15px;
}
#main-content details summary {
  color: #cccfd3;
  font-size: 12px;
  cursor: pointer;
}
#main-content details form {
  margin-top: 18px;
}
