:root {
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #233a38;
  background: #f5f7f5;
  font-synthesis: none;
  --green: #176d59;
  --muted: #73827e;
  --line: #e2e8e3;
  --pale: #e9f2ec;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: inherit;
  padding: 10px 15px;
  font-size: 13px;
  font-weight: 600;
}
button:hover {
  background: #edf3ef;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button.primary {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
button.primary:hover {
  background: #10513f;
}
.danger {
  color: #b44a44;
}
.quiet {
  background: transparent;
  border-color: transparent;
}
.small {
  padding: 6px 10px;
  font-size: 12px;
}
a {
  color: var(--green);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1px;
}
.brand-mark {
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--green);
  color: white;
  width: 36px;
  height: 36px;
  font-size: 23px;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 232px;
  background: white;
  border-right: 1px solid var(--line);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  z-index: 2;
}
.sidebar .brand {
  padding-left: 10px;
}
.workspace-label {
  font-size: 10px;
  letter-spacing: 1.7px;
  color: #97a49e;
  font-weight: 700;
  margin: 46px 14px 15px;
  text-transform: uppercase;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button,
.help-link {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 13px 14px;
  font-size: 14px;
  color: #6b7d76;
}
.help-link {
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.help-link:hover {
  background: var(--pale);
  color: var(--green);
}
.login-form .help-link {
  justify-content: center;
}
.nav button.active {
  background: var(--pale);
  color: var(--green);
}
.nav-icon {
  font-size: 19px;
  width: 23px;
  text-align: center;
}
.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f4e8d3;
  display: grid;
  place-items: center;
  color: #8b7044;
  font-weight: 700;
}
.profile strong {
  font-size: 13px;
  display: block;
}
.profile span {
  font-size: 11px;
  color: var(--muted);
}
.main {
  margin-left: 232px;
}
.topbar {
  height: 80px;
  border-bottom: 1px solid var(--line);
  background: #ffffffb0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb b {
  color: #384d44;
  margin-left: 10px;
  font-weight: 500;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
select {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  color: inherit;
}
.content {
  max-width: 1450px;
  margin: auto;
  padding: 40px 42px;
}
.eyebrow {
  color: var(--green);
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 750;
  text-transform: uppercase;
  margin: 0 0 12px;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  font-weight: 650;
  margin: 0 0 9px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  font-size: 15px;
  margin: 0;
}
.subtle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 35px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
}
.stat-number {
  font-size: 33px;
  letter-spacing: -1px;
  font-weight: 600;
  margin-top: 12px;
}
.stat-icon {
  background: var(--pale);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 19px;
  color: var(--green);
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 15px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 21px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.screen-visual {
  height: 162px;
  background: linear-gradient(120deg, #eaf1ed, #f4f5ed);
  display: grid;
  place-items: center;
  position: relative;
}
.screen-visual .badge {
  position: absolute;
  top: 13px;
  left: 14px;
}
.mini-tv {
  width: 158px;
  height: 91px;
  background: #314e43;
  border: 5px solid #294237;
  border-radius: 5px;
  box-shadow: 0 13px 15px -13px #273a38;
  position: relative;
  display: grid;
  place-items: center;
  color: #e6efe5;
  text-align: center;
  padding: 12px;
  font-size: 10px;
}
.mini-tv:after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 55px;
  width: 38px;
  height: 10px;
  border-bottom: 3px solid #405a4c;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
}
.mini-tv span {
  border: 1px solid #88aa9260;
  padding: 9px 16px;
}
.card-body {
  padding: 20px;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}
.card-meta {
  border-top: 1px solid #eef1ed;
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 14px;
}
.badge {
  border-radius: 20px;
  padding: 5px 9px;
  background: #f2f3f0;
  color: #748075;
  font-size: 10px;
  font-weight: 650;
  white-space: nowrap;
}
.badge.online {
  background: #e0efe3;
  color: #37764b;
}
.badge.online:before {
  content: "●";
  font-size: 8px;
  margin-right: 5px;
}
.empty {
  border: 1px dashed #cbd7ce;
  border-radius: 12px;
  background: #f9fbf8;
  text-align: center;
  padding: 48px 25px;
}
.empty-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: #e7eee7;
  color: var(--green);
  font-size: 27px;
  margin: 0 auto 17px;
}
.empty h3 {
  margin-bottom: 9px;
}
.empty p {
  max-width: 440px;
  margin: 0 auto 20px;
}
.note {
  margin-top: 30px;
  background: #edf2e9;
  border: 1px solid #dfe7d8;
  border-radius: 10px;
  padding: 19px 22px;
  display: flex;
  gap: 15px;
}
.note-icon {
  font-size: 22px;
  color: #6b8263;
}
.note h3 {
  font-size: 13px;
  margin-bottom: 4px;
}
.note p {
  font-size: 12px;
}
.show-cover {
  height: 147px;
  background: #e9ede3;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-stack {
  width: 140px;
  height: 79px;
  background: #56735c;
  border: 5px solid white;
  border-radius: 4px;
  transform: rotate(-5deg);
  box-shadow:
    10px 7px 0 #b5c4ab,
    17px 13px 0 #d1dac8;
  display: grid;
  place-items: center;
  color: white;
  font-size: 25px;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}
th {
  padding: 15px 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  background: #fafbf9;
}
td {
  padding: 17px 22px;
  border-top: 1px solid var(--line);
}
td .subtle {
  font-size: 11px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: #193f33;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 55px 65px;
  position: relative;
  overflow: hidden;
}
.login-art .brand-mark {
  background: #9fc6a1;
  color: #193f33;
}
.login-copy {
  margin: auto 0;
  z-index: 1;
}
.login-copy h1 {
  font-size: clamp(35px, 4vw, 64px);
  line-height: 1.1;
  max-width: 500px;
  letter-spacing: -2px;
}
.login-copy p {
  color: #adcbba;
  font-size: 16px;
  line-height: 1.8;
  max-width: 380px;
}
.login-art:after {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border: 1px solid #ffffff14;
  border-radius: 50%;
  bottom: -210px;
  right: -150px;
  box-shadow:
    0 0 0 60px #ffffff04,
    0 0 0 120px #ffffff03;
}
.login-footer {
  color: #9db5a6;
  font-size: 11px;
  letter-spacing: 2px;
}
.login-form {
  display: flex;
  flex-direction: column;
  padding: 35px;
  align-items: center;
  justify-content: center;
}
.login-form > .language {
  align-self: flex-end;
  position: absolute;
  top: 30px;
}
.login-form form {
  width: 100%;
  max-width: 355px;
}
.login-form h2 {
  font-size: 27px;
  margin-bottom: 9px;
}
.login-form .subtle {
  margin-bottom: 27px;
}
label {
  font-size: 12px;
  font-weight: 600;
  display: block;
  margin: 17px 0 7px;
}
input:not([type="color"]),
textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce3dc;
  border-radius: 7px;
  background: white;
  color: #293b31;
}
input[type="color"] {
  width: 100%;
  height: 43px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 4px;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.full {
  width: 100%;
  margin-top: 23px;
}
.error {
  color: #b7473e;
  font-size: 12px;
  margin-top: 13px;
  min-height: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.form-row select {
  width: 100%;
}
dialog {
  width: min(570px, calc(100% - 30px));
  max-height: 90vh;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  box-shadow: 0 25px 90px #162c3340;
}
dialog::backdrop {
  background: #14291e66;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 9px;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
}
.secret {
  display: block;
  background: #f0f4ee;
  border: 1px solid var(--line);
  padding: 15px;
  margin: 18px 0;
  word-break: break-all;
  font-size: 13px;
  user-select: all;
}
.editor-list {
  display: grid;
  gap: 14px;
}
.slide-row {
  display: grid;
  grid-template-columns: 155px 1fr auto;
  gap: 23px;
  background: white;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
  align-items: center;
}
.slide-thumb {
  height: 87px;
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: white;
  position: relative;
  padding: 8px;
  text-align: center;
  font-size: 12px;
}
.slide-thumb img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.slide-thumb b {
  position: relative;
  text-shadow: 0 1px 5px black;
}
.slide-row .card-actions {
  margin: 0;
}
.slide-row p {
  max-width: 550px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.preview-stage {
  aspect-ratio: 16/9;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  isolation: isolate;
}
.preview-stage img,
.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}
.slide-copy {
  padding: 6%;
  width: 100%;
  text-shadow: 0 2px 12px #0008;
}
.slide-copy h1 {
  font-size: clamp(24px, 4vw, 80px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.slide-copy p {
  font-size: clamp(16px, 2vw, 40px);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.preview-stage .slide-copy h1 {
  font-size: 26px;
}
.preview-stage .slide-copy p {
  font-size: 16px;
}
.player {
  background: black;
  color: white;
  overflow: hidden;
}
.stage {
  width: 100vw;
  height: 100vh;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.stage > p {
  font-size: 24px;
  padding: 35px;
}
.fullscreen {
  position: fixed;
  bottom: 15px;
  right: 15px;
  background: #0007;
  color: white;
  border-color: #fff3;
  font-size: 22px;
  opacity: 0.3;
}
.fullscreen:hover {
  opacity: 1;
  background: #000a;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #203e30;
  color: white;
  border-radius: 8px;
  padding: 13px 23px;
  font-size: 13px;
  z-index: 10;
  box-shadow: 0 5px 30px #0002;
}
#toast:empty {
  display: none;
}
.footer {
  font-size: 11px;
  color: #9aa59c;
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.back {
  margin-bottom: 20px;
  padding-left: 0;
}
.loading {
  padding: 60px;
  text-align: center;
  color: var(--muted);
}
@media (min-width: 1600px) {
  .content {
    padding-top: 55px;
  }
}
@media (max-width: 1000px) {
  .sidebar {
    width: 195px;
    padding: 25px 15px;
  }
  .main {
    margin-left: 195px;
  }
  .content {
    padding: 30px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .slide-row {
    grid-template-columns: 110px 1fr;
  }
  .slide-row > .card-actions {
    grid-column: 1/-1;
  }
  .login-art {
    padding: 40px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    position: static;
    width: auto;
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: block;
  }
  .sidebar .brand {
    padding: 0;
    font-size: 22px;
  }
  .workspace-label,
  .sidebar-footer {
    display: none;
  }
  .nav {
    display: flex;
    flex-wrap: wrap;
    margin-top: 17px;
    gap: 4px;
  }
  .nav button,
  .nav .help-link {
    padding: 9px;
    font-size: 12px;
    gap: 5px;
  }
  .nav-icon {
    font-size: 16px;
    width: 18px;
  }
  .main {
    margin: 0;
  }
  .topbar {
    height: 61px;
    padding: 0 20px;
  }
  .content {
    padding: 25px 20px;
  }
  .heading {
    align-items: flex-start;
  }
  h1 {
    font-size: 27px;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat {
    padding: 14px 12px;
  }
  .stat-icon {
    display: none;
  }
  .stat-number {
    font-size: 27px;
  }
  .stat-label {
    font-size: 10px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 25px;
    min-height: 260px;
  }
  .login-copy {
    margin: 28px 0 0;
  }
  .login-copy h1 {
    font-size: 34px;
    max-width: 350px;
  }
  .login-copy p,
  .login-footer {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .login-form > .language {
    position: static;
    margin-bottom: 25px;
  }
  .footer {
    gap: 10px;
  }
  .slide-row {
    gap: 12px;
  }
  .top-actions {
    gap: 5px;
  }
  .breadcrumb {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .sidebar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 12px;
  }
  .sidebar-footer .profile {
    margin: 0;
  }
}
.secret {
  white-space: pre-wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
