@font-face {
  font-family: Studio;
  src: local("Aptos"), local("Segoe UI");
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: #22334d;
  background: #f3f5f9;
  font-family: Studio, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
a {
  color: #315dcc;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #6c8bf1;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.2;
  font-weight: 650;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 17px;
  font-weight: 650;
}
small,
.muted {
  color: #6b7890;
}
button.primary,
.primary {
  background: #4064d8;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 3px 7px #2f4db018;
}
.outline {
  border: 1px solid #d4dce9;
  background: white;
  color: #354662;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 550;
}
.compact {
  padding: 7px 12px;
  font-size: 12px;
}
.quiet {
  color: #66748a;
  background: transparent;
  padding: 6px;
}
.danger {
  color: #b33e42;
  background: #fff0ef;
  border: 1px solid #efc7c8;
  border-radius: 7px;
  padding: 9px 14px;
}
.shell {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #17263d;
  color: #e4eaf3;
  position: fixed;
  inset: 0 auto 0 0;
  width: 224px;
  padding: 31px 19px;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  padding-left: 5px;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand strong {
  display: block;
  font-size: 24px;
  margin-top: 3px;
  font-weight: 650;
}
.workspace-label {
  margin: 35px 11px 23px;
  color: #a5b5cb;
  font-size: 12px;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #64be9d;
  margin-right: 6px;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sidebar nav button {
  text-align: left;
  color: #adbbcf;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  font-weight: 500;
}
.sidebar nav button span {
  font-size: 20px;
  width: 22px;
  text-align: center;
  color: #a6b7d1;
}
.sidebar nav button.active {
  background: #2c405f;
  color: white;
}
.sidebar nav button.active span {
  color: #a9baff;
}
.sidebar nav button i {
  font-size: 11px;
  font-style: normal;
  margin-left: auto;
  background: #3d5275;
  color: #e1e8f8;
  border-radius: 5px;
  padding: 1px 6px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 30px 10px 0;
  font-size: 11px;
  color: #a6b4c9;
}
.sidebar-bottom p {
  font-size: 12px;
  margin: 24px 0 20px;
  line-height: 1.8;
  color: #7e93b0;
}
.sidebar-bottom a {
  display: block;
  margin-top: 14px;
  color: #859ab7;
}
.sidebar-bottom .quiet {
  padding: 0;
  color: #b5c2d6;
}
.storage-track {
  height: 4px;
  border-radius: 8px;
  background: #344761;
  margin: 10px 0;
}
.storage-track span {
  display: block;
  height: 4px;
  max-width: 100%;
  background: #809be9;
  border-radius: 8px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid #e5eaf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
}
.breadcrumb {
  font-size: 12px;
  color: #8190a5;
}
.breadcrumb span {
  margin: 0 14px;
  color: #b1bdcc;
}
.breadcrumb b {
  font-weight: 500;
  color: #475975;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.status {
  font-size: 11px;
  color: #64768b;
}
.avatar {
  display: grid;
  place-items: center;
  background: #ecf0fa;
  color: #53668e;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 650;
}
main {
  padding: 37px 38px 25px;
  max-width: 1640px;
  margin: auto;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.heading p {
  color: #748197;
  margin-top: 8px;
  font-size: 13px;
}
.heading .primary span {
  margin-right: 6px;
}
.intro-strip {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.studio-banner {
  position: relative;
  overflow: hidden;
  min-height: 169px;
  background: #e4eafa;
  border: 1px solid #dce3f6;
  border-radius: 12px;
  padding: 25px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.studio-banner h2 {
  font-size: 22px;
  max-width: 280px;
  line-height: 1.3;
}
.studio-banner p {
  font-size: 12px;
  max-width: 300px;
  color: #657694;
  margin: 8px 0 14px;
}
.reel-art {
  width: 115px;
  height: 135px;
  transform: rotate(10deg);
  background: #273c62;
  border: 7px solid #fff;
  border-radius: 12px;
  box-shadow: -12px 7px 0 #bccbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-right: 25px;
  flex-shrink: 0;
}
.reel-art:before {
  content: "";
  position: absolute;
  inset: 10px;
  background: linear-gradient(150deg, #4b6a9b, #29416c);
  border-radius: 3px;
}
.reel-art:after {
  content: "▶";
  font-size: 24px;
  color: #edf2ff;
  z-index: 1;
}
.reel-art i {
  position: absolute;
  bottom: 9px;
  background: #adc1f9;
  height: 4px;
  width: 45px;
  z-index: 2;
}
.activity-card {
  background: white;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  padding: 22px;
}
.activity-card .mini-title {
  font-size: 13px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
}
.activity-card .mini-title span {
  font-size: 11px;
  color: #8b97aa;
  font-weight: 400;
}
.activity-item {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 13px 0;
}
.activity-icon {
  background: #edf2ff;
  color: #5c7bd5;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.activity-item p {
  font-size: 12px;
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-item small {
  font-size: 10px;
}
.stage-bar {
  background: white;
  border: 1px solid #e1e7f0;
  border-radius: 10px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 30px;
  padding: 17px 0;
}
.stage {
  padding: 0 24px;
  border-right: 1px solid #e7ecf3;
  display: flex;
  gap: 13px;
  align-items: center;
}
.stage:last-child {
  border-right: 0;
}
.stage .stage-icon {
  color: #6e88c0;
  background: #f0f3f9;
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.stage b {
  font-size: 20px;
  display: block;
  line-height: 1.2;
}
.stage small {
  font-size: 11px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 23px 0 18px;
}
.section-heading h2 {
  font-size: 18px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filter {
  padding: 7px 12px;
  border-radius: 6px;
  background: transparent;
  color: #79869b;
  font-size: 12px;
}
.filter.active {
  background: #e7edfc;
  color: #4364bf;
  font-weight: 600;
}
.search {
  max-width: 240px;
  margin: 0 !important;
  background: #fff !important;
  padding: 9px 12px !important;
  font-size: 12px !important;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 19px;
}
.video-card {
  background: white;
  border-radius: 11px;
  overflow: hidden;
  border: 1px solid #e0e6ef;
  transition: border-color 0.15s;
}
.video-card:hover {
  border-color: #b1c1df;
}
.poster {
  aspect-ratio: 16/9;
  background: #273752;
  position: relative;
  display: block;
  overflow: hidden;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.poster .duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: #142038dc;
  color: white;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
}
.poster .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-size: 22px;
  background: #0001;
}
.card-body {
  padding: 15px;
}
.card-body h3 {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 7px;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  color: #8a96a9;
  font-size: 10px;
  margin-bottom: 14px;
}
.card-footer {
  border-top: 1px solid #edf0f5;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 10px;
  white-space: nowrap;
  background: #edf2ff;
  color: #5375c7;
}
.badge.good {
  background: #e8f4ef;
  color: #337b62;
}
.badge.warn {
  background: #fff2da;
  color: #9a7025;
}
.badge.bad {
  background: #fceaea;
  color: #af5555;
}
.badge.neutral {
  background: #eef1f5;
  color: #75839a;
}
.card-button {
  background: none;
  color: #5473bd;
  font-size: 11px;
  padding: 3px;
}
.upload-tile {
  min-height: 243px;
  border: 1.5px dashed #ccd6e6;
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #f7f9fc;
  color: #7e8da5;
}
.upload-tile .plus {
  font-size: 26px;
  color: #7e97c4;
  background: #eaf0f9;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.upload-tile strong {
  font-size: 12px;
  font-weight: 550;
  color: #627695;
}
.upload-tile small {
  font-size: 10px;
}
.empty {
  padding: 65px 25px;
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 12px;
  text-align: center;
}
.empty .empty-icon {
  font-size: 35px;
  color: #839acd;
  margin-bottom: 12px;
}
.empty h2 {
  font-size: 20px;
}
.empty p {
  color: #7d8ba0;
  margin: 10px auto 20px;
  max-width: 470px;
}
.notice {
  background: #eaf0fc;
  border: 1px solid #d6e0f7;
  border-radius: 8px;
  padding: 13px 16px;
  font-size: 12px;
  color: #536a94;
  line-height: 1.65;
  margin: 15px 0;
}
.notice.warn {
  background: #fff7e8;
  border-color: #f0dfbd;
  color: #86672d;
}
.notice.error {
  background: #fff0ef;
  border-color: #f2d1cf;
  color: #a64e4e;
}
.moment-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.moment {
  display: grid;
  grid-template-columns: 160px 1fr 74px 130px;
  gap: 20px;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e6ef;
  padding: 14px;
  border-radius: 10px;
}
.moment-thumb {
  height: 91px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: #293950;
}
.moment-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.moment h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.moment p {
  font-size: 12px;
  color: #7c8ba1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.moment .tags {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.score {
  height: 56px;
  width: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #4266bb;
  background: #edf2ff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 650;
  line-height: 1.1;
}
.score small {
  font-size: 9px;
  font-weight: 400;
}
.moment-actions {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th {
  text-align: left;
  font-weight: 500;
  color: #8491a5;
  background: #fafbfd;
  padding: 14px 18px;
  white-space: nowrap;
}
td {
  padding: 17px 18px;
  border-top: 1px solid #edf0f5;
  vertical-align: middle;
}
td strong {
  font-weight: 600;
}
td small {
  display: block;
  margin-top: 4px;
}
.connection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.connection {
  background: #fff;
  padding: 22px;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
}
.platform-logo {
  font-size: 21px;
  font-weight: 700;
  margin-right: 10px;
  color: #425c88;
}
.connection p {
  font-size: 12px;
  color: #8090a6;
  margin: 8px 0 15px;
}
.connection h3 {
  font-size: 15px;
  display: flex;
  align-items: center;
}
.connection .account {
  padding: 12px;
  background: #f6f8fc;
  border-radius: 7px;
  margin: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.panel {
  padding: 25px;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 10px;
  margin-bottom: 20px;
}
.panel h3 {
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: #52647f;
  margin: 13px 0;
}
input:not([type="checkbox"]):not([type="range"]),
textarea,
select {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d6deeb;
  background: #fafbfd;
  border-radius: 7px;
  color: #263b5a;
  margin-top: 6px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  min-height: 84px;
}
label small {
  display: block;
  font-weight: 400;
  font-size: 11px;
  margin-top: 5px;
}
label.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.6;
}
input[type="checkbox"] {
  margin-top: 4px;
  accent-color: #4c70d9;
  flex-shrink: 0;
}
input[type="range"] {
  width: 100%;
  accent-color: #4b70d8;
}
.check-group {
  padding: 10px 15px;
  background: #f5f7fc;
  border-radius: 8px;
  margin: 16px 0;
}
.check-group label {
  margin: 8px 0;
}
.button-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 21px;
}
.button-row .spacer {
  flex: 1;
}
dialog {
  border: 1px solid #d8e1ef;
  border-radius: 14px;
  padding: 30px;
  width: min(650px, 94vw);
  max-height: 92vh;
  box-shadow: 0 20px 90px #0c193d45;
  color: #253957;
}
dialog::backdrop {
  background: #14213c70;
  backdrop-filter: blur(3px);
}
dialog .close {
  position: absolute;
  right: 17px;
  top: 12px;
  color: #7a8ca5;
  font-size: 26px;
  background: none;
}
.modal-title {
  margin-bottom: 10px;
  font-size: 25px;
}
.modal-desc {
  font-size: 12px;
  color: #76869f;
  margin-bottom: 22px;
  max-width: 520px;
}
.file-drop {
  border: 1.5px dashed #b4c4e0;
  border-radius: 9px;
  padding: 25px;
  text-align: center;
  background: #f5f8ff;
}
.file-drop input {
  background: transparent !important;
  border: 0 !important;
}
.file-drop strong {
  display: block;
}
.file-drop small {
  display: block;
  margin-top: 5px;
}
#editor {
  width: min(1260px, 96vw);
  padding: 0;
  max-height: 95vh;
}
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  border-bottom: 1px solid #e2e8f2;
}
.editor-header h2 {
  font-size: 18px;
}
.editor-header button {
  font-size: 25px;
  background: none;
  color: #7386a4;
}
.editor-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(350px, 1.2fr);
}
.preview-pane {
  background: #eef2f8;
  padding: 24px;
  min-width: 0;
}
.preview-pane video {
  display: block;
  max-height: 510px;
  width: 100%;
  background: #15243d;
  border-radius: 9px;
}
.preview-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 13px;
}
.preview-switch button {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 5px;
  color: #657ca4;
  background: white;
}
.source-note {
  font-size: 11px;
  color: #798ca8;
  margin: 10px 0 20px;
}
.edit-pane {
  padding: 22px 28px;
  max-height: 77vh;
  overflow-y: auto;
}
.factor {
  display: grid;
  grid-template-columns: 1fr 45px;
  gap: 5px;
  padding: 10px 0;
  border-bottom: 1px solid #dbe3ef;
  font-size: 11px;
}
.factor small {
  grid-column: 1/-1;
  font-size: 10px;
  line-height: 1.5;
}
.factor b {
  text-align: right;
  color: #4c69a1;
}
.factor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.factor-header h3 {
  font-size: 14px;
}
.subtitle-table {
  max-height: 225px;
  overflow-y: auto;
  border: 1px solid #e0e6f0;
  border-radius: 7px;
}
.subtitle-row {
  display: grid;
  grid-template-columns: 46px 1fr 45px;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-bottom: 1px solid #e7edf6;
  font-size: 10px;
}
.subtitle-row input {
  margin: 0 !important;
  padding: 6px !important;
  font-size: 11px !important;
}
.subtitle-row.uncertain {
  background: #fff6e5;
}
.subtitle-row button {
  background: none;
  color: #5376c5;
  font-size: 10px;
}
.editor-footer {
  padding: 17px 25px;
  border-top: 1px solid #e0e6ef;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  background: #fff;
}
.editor-footer .left {
  margin-right: auto;
}
.split-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 22px 0 8px;
}
.split-title h3 {
  font-size: 13px;
}
.split-title small {
  font-size: 10px;
}
details {
  margin-top: 15px;
}
summary {
  font-size: 12px;
  color: #657b9d;
  cursor: pointer;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
  background: #f2f5fa;
  padding: 12px;
  border-radius: 7px;
}
.progress-bar {
  height: 5px;
  background: #e7edf8;
  border-radius: 6px;
  overflow: hidden;
  margin-top: 12px;
}
.progress-bar span {
  display: block;
  width: 35%;
  height: 100%;
  background: #6a8ae5;
  animation: working 2s infinite linear;
}
@keyframes working {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(380%);
  }
}
footer {
  font-size: 10px;
  color: #96a3b8;
  padding: 10px 38px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}
footer span {
  flex: 1;
}
.login-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: white;
}
.login-art {
  background: #17263d;
  color: white;
  padding: 10vh 9%;
  position: relative;
  overflow: hidden;
}
.login-art > img {
  width: 60px;
  margin-bottom: 60px;
}
.login-art h1 {
  font-size: 46px;
  letter-spacing: -1.7px;
  line-height: 1.18;
}
.login-art p {
  margin-top: 25px;
  color: #a4b8d8;
  font-size: 15px;
  line-height: 1.8;
}
.frame-mark {
  margin-top: 70px;
  border: 2px solid #4d6383;
  border-radius: 13px;
  width: 230px;
  transform: rotate(-7deg);
  padding: 28px;
  font-size: 28px;
  color: #bfcfee;
  background: #223652;
}
.frame-mark b {
  display: block;
  font-size: 43px;
}
.frame-mark i {
  font-size: 14px;
  display: block;
  letter-spacing: 4px;
  color: #6784b3;
  border-top: 1px solid #4d6383;
  padding-top: 15px;
  margin-top: 20px;
}
.login-form {
  align-self: center;
  padding: 40px 18%;
}
.wordmark {
  display: block;
  font-size: 18px;
  color: #49618a;
  margin-bottom: 45px;
}
.login-form h2 {
  font-size: 29px;
}
.login-form > p {
  font-size: 13px;
  color: #8998ae;
  margin: 10px 0 30px;
}
.login-form label {
  margin-top: 30px;
}
.login-form input {
  padding: 14px !important;
}
.login-form button {
  width: 100%;
  margin-top: 10px;
}
.login-form small {
  display: block;
  margin-top: 35px;
  font-size: 11px;
}
#login-error {
  color: #b34b50;
  margin: 16px 0;
  font-size: 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 24px;
  max-width: min(650px, 92vw);
  background: #243956;
  color: white;
  border-radius: 9px;
  box-shadow: 0 8px 35px #15274730;
  z-index: 100;
  font-size: 13px;
}
#toast.error {
  background: #8f4249;
}
.right-row {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid #e0e6ef;
  border-radius: 9px;
  margin-bottom: 13px;
}
.right-row img {
  width: 70px;
  height: 45px;
  object-fit: cover;
  border-radius: 4px;
}
.right-row h3 {
  font-size: 14px;
}
.right-row p {
  font-size: 12px;
  color: #8190a5;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.learn-grid .panel p {
  color: #8090a5;
  font-size: 12px;
  margin-top: 8px;
}
.learn-grid strong {
  font-size: 30px;
  color: #4669b2;
}
.hint {
  font-size: 11px;
  color: #7a8ba5;
  line-height: 1.7;
  margin: 10px 0;
}
.nowrap {
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1500px) {
  .video-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 190px;
    padding: 26px 13px;
  }
  .shell {
    grid-template-columns: 190px 1fr;
  }
  .topbar {
    padding: 0 25px;
  }
  main {
    padding: 28px 25px;
  }
  .studio-banner {
    padding: 22px;
  }
  .reel-art {
    width: 80px;
    height: 110px;
    margin-right: 7px;
  }
  .stage {
    padding: 0 14px;
    gap: 10px;
  }
  .stage .stage-icon {
    width: 31px;
  }
  .activity-item p {
    max-width: 190px;
  }
  .moment {
    grid-template-columns: 120px 1fr 60px;
    gap: 13px;
  }
  .moment-actions {
    grid-column: 2/-1;
    flex-direction: row;
  }
  .moment-thumb {
    grid-row: span 2;
  }
  .top-actions {
    gap: 10px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 800px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px 18px;
  }
  .brand {
    font-size: 13px;
  }
  .brand strong {
    font-size: 18px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .workspace-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    margin-top: 15px;
    flex-direction: row;
    overflow: auto;
    gap: 4px;
  }
  .sidebar nav button {
    padding: 8px 10px;
    white-space: nowrap;
    font-size: 11px;
    gap: 6px;
    flex-shrink: 0;
  }
  .sidebar nav button span {
    font-size: 16px;
    width: 16px;
  }
  .sidebar nav button i {
    display: none;
  }
  .topbar {
    height: 57px;
    padding: 0 18px;
  }
  .top-actions .status,
  .avatar {
    display: none;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .breadcrumb span {
    margin: 0 8px;
  }
  main {
    padding: 23px 18px;
  }
  .heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .heading h1 {
    font-size: 26px;
  }
  .heading p {
    font-size: 12px;
    max-width: 230px;
  }
  .heading .primary {
    padding: 10px 12px;
    font-size: 12px;
    white-space: nowrap;
  }
  .intro-strip {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .activity-card {
    display: none;
  }
  .studio-banner {
    min-height: 155px;
  }
  .studio-banner h2 {
    font-size: 20px;
  }
  .stage-bar {
    grid-template-columns: 1fr 1fr;
    padding: 0;
    margin-bottom: 25px;
  }
  .stage {
    padding: 16px;
    border-bottom: 1px solid #e7ecf3;
  }
  .stage:nth-child(2) {
    border-right: 0;
  }
  .stage:nth-child(3),
  .stage:nth-child(4) {
    border-bottom: 0;
  }
  .stage b {
    font-size: 19px;
  }
  .section-heading {
    flex-wrap: wrap;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .card-body {
    padding: 12px;
  }
  .card-footer {
    flex-wrap: wrap;
  }
  .card-meta {
    font-size: 9px;
  }
  .card-button {
    font-size: 10px;
  }
  .upload-tile {
    min-height: 200px;
  }
  .upload-tile small {
    max-width: 120px;
    text-align: center;
  }
  .connection-grid,
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .moment {
    grid-template-columns: 75px 1fr 50px;
    padding: 11px;
    gap: 10px;
  }
  .moment-thumb {
    height: 85px;
  }
  .moment h3 {
    font-size: 12px;
  }
  .moment p {
    font-size: 11px;
  }
  .moment .score {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }
  .moment-actions button {
    font-size: 11px;
  }
  .right-row {
    grid-template-columns: 50px 1fr;
    gap: 10px;
  }
  .right-row img {
    width: 50px;
  }
  .right-row button {
    grid-column: 2;
    justify-self: start;
  }
  .editor-layout {
    grid-template-columns: 1fr;
  }
  .preview-pane video {
    max-height: 370px;
  }
  .edit-pane {
    max-height: none;
    overflow: visible;
    padding: 20px;
  }
  #editor {
    max-height: 95vh;
  }
  .preview-pane {
    padding: 20px;
  }
  .editor-footer {
    position: sticky;
    bottom: 0;
    padding: 12px;
  }
  .editor-footer button {
    font-size: 11px;
    padding: 9px;
  }
  .editor-footer .left {
    margin: 0;
  }
  footer {
    padding: 10px 18px 20px;
  }
  footer span {
    display: none;
  }
  footer .quiet {
    margin-left: auto;
  }
  .login-wrap {
    display: block;
  }
  .login-art {
    display: none;
  }
  .login-form {
    padding: 22vh 10%;
  }
  .search {
    max-width: none;
  }
  .panel {
    padding: 20px;
  }
}
@media (max-width: 400px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
  .heading {
    flex-direction: column;
    gap: 14px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .reel-art {
    margin-left: 12px;
    width: 65px;
    height: 90px;
  }
  .studio-banner h2 {
    font-size: 18px;
  }
  .studio-banner p {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
progress.storage-track {
  width: 100%;
  appearance: none;
  border: 0;
  display: block;
}
progress.storage-track::-webkit-progress-bar {
  background: #344761;
  border-radius: 8px;
}
progress.storage-track::-webkit-progress-value {
  background: #809be9;
  border-radius: 8px;
}
