@font-face {
  font-family: Manrope;
  src: url(/static/manrope.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  font-family: Manrope, Arial, sans-serif;
  color: #10283e;
  background: #f5f7f9;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: #075ea4;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}
.brand img {
  width: 172px;
  max-width: 47vw;
  height: auto;
}
.brand > span {
  padding-left: 15px;
  border-left: 1px solid #c5d5df;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #42627a;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  background: white;
}
.login-left {
  padding: clamp(28px, 6vw, 90px);
  display: flex;
  flex-direction: column;
}
.login-left form {
  margin: auto 0;
  max-width: 400px;
  width: 100%;
  padding: 60px 0;
}
.image-panel {
  background: radial-gradient(
    ellipse at 65% 25%,
    #e2f6ff 3%,
    #d8e9f0 55%,
    #cbdae2
  );
  display: grid;
  place-items: center;
  overflow: hidden;
}
.image-panel img {
  width: 88%;
  max-width: 700px;
  filter: drop-shadow(0 22px 23px #294c611e);
}
h1,
h2,
h3,
p {
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1.1;
}
h2 {
  font-size: 1.25rem;
  letter-spacing: -0.035em;
}
.muted,
small,
.desc {
  color: #566c7d;
}
.muted,
.desc {
  line-height: 1.6;
}
.login form > p {
  margin-bottom: 26px;
}
.primary,
.secondary,
.quiet,
.danger,
.linkbtn {
  border: 0;
  border-radius: 9px;
  font-size: 0.92rem;
  padding: 11px 18px;
  font-weight: 750;
  min-height: 42px;
}
.primary {
  background: #075eb2;
  color: white;
}
.primary:hover {
  background: #084c91;
}
.secondary {
  background: white;
  border: 1px solid #c9d6df;
  color: #173853;
}
.quiet,
.linkbtn {
  background: transparent;
  color: #175783;
}
.danger {
  background: #fff2ee;
  color: #923324;
}
.full {
  width: 100%;
}
label {
  display: block;
  font-size: 0.86rem;
  font-weight: 750;
  margin-bottom: 16px;
}
input:not([type="checkbox"]),
select,
textarea {
  display: block;
  background: #fff;
  color: #142c40;
  border: 1px solid #bacad6;
  border-radius: 8px;
  padding: 10px 12px;
  width: 100%;
  margin-top: 6px;
  min-height: 44px;
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-right: 8px;
}
.error {
  color: #a73323;
  min-height: 1.2em;
  font-size: 0.88rem;
}
.bar {
  background: white;
  min-height: 73px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px clamp(18px, 4vw, 68px);
  border-bottom: 1px solid #d9e2e8;
}
.identity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.83rem;
}
.shell {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 195px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 60px);
  padding: 38px clamp(18px, 4vw, 68px);
}
nav {
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 5px;
}
nav button {
  background: transparent;
  border: 0;
  text-align: left;
  border-radius: 8px;
  padding: 14px 16px;
  color: #4b6476;
  font-weight: 700;
}
nav button[aria-current="page"] {
  background: #dfedf7;
  color: #075591;
}
.pane {
  min-width: 0;
}
.kicker {
  font-size: 0.74rem;
  font-weight: 800;
  color: #4a6579;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.heading,
.row,
.tools,
.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.heading,
.row {
  justify-content: space-between;
}
.heading {
  align-items: flex-start;
  margin-bottom: 23px;
}
.heading h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
.card,
.list,
.empty {
  background: white;
  border: 1px solid #d5e1e8;
  border-radius: 14px;
}
.list {
  overflow: hidden;
}
.row {
  padding: 17px 19px;
  border-bottom: 1px solid #e0e8ed;
  flex-wrap: wrap;
}
.row:last-child {
  border: 0;
}
.row strong,
.card strong {
  display: block;
}
.row small,
.card small {
  display: block;
  margin-top: 4px;
}
.actions,
.tools {
  flex-wrap: wrap;
}
.tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 750;
  border-radius: 6px;
  background: #e7f3ec;
  color: #256746;
  padding: 4px 8px;
}
.tag.off {
  color: #655548;
  background: #f4eee7;
}
.empty,
.card {
  padding: 23px;
}
.empty {
  margin-top: 14px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}
.media-card {
  padding: 0;
  overflow: hidden;
}
.creative {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #eef3f6;
}
.card-body {
  padding: 15px;
}
.card-body .actions {
  margin-top: 12px;
}
dialog {
  color: inherit;
  border: 1px solid #d5e1e8;
  border-radius: 16px;
  box-shadow: 0 25px 80px #0c253332;
  padding: 26px;
  width: min(470px, 94vw);
  max-height: 90vh;
}
dialog::backdrop {
  background: #122b3b66;
}
dialog header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
dialog header h2 {
  margin: 0;
}
dialog input[readonly] {
  font-size: 0.9rem;
}
.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.actions.end {
  justify-content: flex-end;
}
.code {
  font-size: 1.8rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  word-break: break-all;
}
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #12344b;
  color: white;
  border-radius: 9px;
  padding: 12px 18px;
  opacity: 0;
  pointer-events: none;
  max-width: 95vw;
  z-index: 8;
}
#toast.visible {
  opacity: 1;
}
.kiosk {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(22px, 5vw, 55px);
}
.kiosk .card {
  padding: clamp(22px, 4vw, 38px);
}
.kiosk .primary {
  min-height: 50px;
}
.kiosk .hero {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: center;
  background: white;
  overflow: hidden;
}
.hero img {
  width: 100%;
  padding: 16px;
}
.kiosk .media-card {
  margin-top: 16px;
}
.capture {
  width: 100%;
  max-height: 45vh;
  object-fit: contain;
  background: #112b40;
  border-radius: 12px;
}
.progress {
  display: flex;
  gap: 9px;
  margin: 18px 0;
}
.progress span {
  flex: 1;
  padding: 8px;
  border-bottom: 3px solid #c2d2db;
  font-size: 0.82rem;
}
.progress .active {
  border-color: #096bbf;
  font-weight: 800;
}
.idle {
  position: fixed;
  inset: 0;
  background: #071522;
  color: white;
  display: grid;
  place-items: center;
  z-index: 5;
}
.idle .creative {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #071522;
}
.wake {
  position: absolute;
  bottom: 4vh;
  background: #fff;
  color: #13334c;
  border: 0;
  border-radius: 30px;
  padding: 12px 24px;
  font-weight: 800;
}
.kiosk section + section {
  margin-top: 16px;
}
.kiosk .tools {
  margin-top: 17px;
}
.pending {
  font-variant-numeric: tabular-nums;
}
@media (max-width: 760px) {
  .login {
    display: block;
  }
  .image-panel {
    display: none;
  }
  .login-left {
    min-height: 100vh;
  }
  .login-left form {
    margin: auto;
  }
  .shell {
    display: block;
    padding-top: 16px;
  }
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  nav button {
    padding: 9px 12px;
  }
  .identity .email {
    display: none;
  }
  .bar {
    min-height: 60px;
  }
  .heading {
    flex-wrap: wrap;
  }
  .row {
    align-items: flex-start;
  }
  .kiosk .hero {
    grid-template-columns: 1fr;
  }
  .hero img {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
.idle #creative {
  width: 100%;
  height: 100%;
}
[hidden] {
  display: none !important;
}
