/* JNP Signage: local assets only;
no frontend dependencies. */
:root {
  --ink:#2d233a;
  --muted:#716979;
  --line:#e4dfea;
  --paper:#f7f5fa;
  --nav:#24024f;
  --accent:#dbc9f3;
  --brand:#24024f;
  --radius:14px;
  font-family:"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
a {
  color:inherit;
  text-decoration:none
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button,a {
  touch-action:manipulation
}
button {
  cursor:pointer
}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {
  outline:3px solid #7d55a4;
  outline-offset:4px
}
h1,h2,h3,p {
  margin:0
}
h1 {
  font-size:clamp(28px,3.1vw,42px);
  font-weight:650;
  letter-spacing:-1.4px;
  line-height:1.18
}
h2 {
  font-size:20px;
  letter-spacing:-.45px
}
h3 {
  font-size:20px;
  letter-spacing:-.3px
}
small {
  font-size:12px
}
.muted {
  color:var(--muted);
  font-size:14px;
  line-height:1.7
}
.eyebrow {
  font-size:10px;
  font-weight:750;
  letter-spacing:1.9px;
  color:var(--brand);
  margin-bottom:13px
}
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  width:248px;
  padding:34px 24px 22px;
  background:var(--nav);
  color:#f1eafa;
  display:flex;
  flex-direction:column
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:23px;
  font-weight:600;
  letter-spacing:-.7px
}
.brand-logo {
  display:block;
  width:96px;
  height:96px;
  flex:0 0 auto;
}
.entry-story .brand-logo {
  width:112px;
  height:112px
}
.brand small {
  display:block;
  font-size:7px;
  letter-spacing:1px;
  margin-top:5px;
  color:#cbbddd
}
.nav-label {
  font-size:9px;
  letter-spacing:1.8px;
  color:#c5b5d9;
  margin:56px 12px 17px
}
.nav-item {
  display:flex;
  align-items:center;
  gap:13px;
  border-radius:8px;
  font-size:13px;
  padding:14px 12px;
  color:#d9cde8;
  margin-bottom:7px
}
.nav-item span {
  font-size:20px;
  line-height:1
}
.nav-item.selected {
  background:#48266c;
  color:var(--accent)
}
.nav-item:hover {
  background:#3d1c62
}
.sidebar-note {
  margin-top:28px;
  border:1px solid #563477;
  border-radius:10px;
  padding:15px 12px;
  font-size:11px;
  color:#e5dbef;
  line-height:1.5
}
.sidebar-note p {
  font-size:11px;
  color:#bdaacf;
  margin-top:8px
}
.dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:var(--accent);
  border-radius:50%;
  margin-right:5px;
  vertical-align:middle
}
.account {
  margin-top:auto;
  display:flex;
  gap:10px;
  align-items:center
}
.avatar {
  background:#50306f;
  border:1px solid #806297;
  border-radius:50%;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  font-size:13px
}
.account strong {
  display:block;
  font-size:12px;
  max-width:145px;
  overflow:hidden;
  text-overflow:ellipsis
}
.account small {
  color:#c0aed4;
  font-size:10px
}
.signout {
  color:#d0bde4;
  font-size:11px;
  background:none;
  border:0;
  padding:14px 0 0 44px
}
.signout span {
  margin-left:55px
}
.main-shell {
  margin-left:248px;
  min-height:100vh;
  display:flex;
  flex-direction:column
}
.topbar {
  height:75px;
  border-bottom:1px solid var(--line);
  background:#fff;
  padding:0 42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  color:#615469
}
.slash {
  margin:0 13px;
  color:#bbb0c4
}
.phase-badge {
  font-size:8px;
  letter-spacing:1.3px;
  border:1px solid var(--line);
  border-radius:4px;
  padding:7px 9px;
  color:#675774;
  font-weight:700
}
.content {
  padding:40px 42px;
  max-width:1440px;
  width:100%;
  margin:0 auto;
  flex:1
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:31px
}
.page-heading .muted {
  margin-top:12px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  padding:12px 17px;
  border-radius:7px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:650;
  line-height:1.4;
  white-space:nowrap;
  min-height:43px
}
.button.primary {
  background:var(--brand);
  color:white
}
.button.primary:hover {
  background:#48226e
}
.button.secondary {
  border-color:#dcd2e6;
  background:white;
  color:#543a6c
}
.button.secondary:hover {
  background:#f2edf8
}
.stats {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-bottom:25px
}
.stat-card {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:23px
}
.stat-card>span {
  font-size:12px;
  color:#685971
}
.stat-card strong {
  display:block;
  font-size:43px;
  letter-spacing:-1.6px;
  font-weight:600;
  margin:18px 0 10px
}
.stat-card small {
  color:var(--muted);
  font-size:11px
}
.foundation-banner {
  background:#eee7f7;
  border:1px solid #dfd1ee;
  border-radius:var(--radius);
  padding:30px;
  display:flex;
  justify-content:space-between;
  gap:30px;
  margin-bottom:30px;
  overflow:hidden
}
.tag {
  font-size:8px;
  letter-spacing:1.4px;
  font-weight:750;
  color:#624279;
  border:1px solid #d2bfe6;
  border-radius:4px;
  padding:5px 7px;
  display:inline-block;
  margin-bottom:17px
}
.foundation-banner h2 {
  font-size:25px;
  letter-spacing:-.8px
}
.foundation-banner p {
  font-size:13px;
  line-height:1.8;
  color:#6d5c7c;
  max-width:580px;
  margin:12px 0 18px
}
.text-link {
  color:#582e7b;
  font-size:12px;
  font-weight:650;
  display:inline-block
}
.text-link:hover {
  text-decoration:underline
}
.banner-number {
  font-size:130px;
  line-height:1;
  font-weight:500;
  color:#d1bfe6;
  letter-spacing:-10px;
  align-self:center;
  padding-right:10px
}
.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  margin-bottom:25px;
  overflow:hidden
}
.panel-heading {
  padding:23px 25px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line)
}
.panel-heading h2 {
  font-size:17px
}
.panel-heading .muted {
  font-size:12px;
  margin-top:5px
}
.small-label {
  font-size:8px;
  letter-spacing:1.2px;
  color:#7e7188;
  white-space:nowrap
}
.table-wrap {
  overflow:auto
}
table {
  border-collapse:collapse;
  width:100%;
  font-size:12px;
  text-align:left
}
th {
  font-size:9px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:600;
  color:#796c82;
  background:#fcfbfd;
  padding:15px 25px
}
td {
  border-top:1px solid #f0ebf5;
  padding:19px 25px;
  line-height:1.5
}
td .muted {
  font-size:12px
}
td:last-child {
  white-space:nowrap
}
.record-name {
  font-weight:650
}
.event-dot {
  display:inline-block;
  width:6px;
  height:6px;
  background:#ab8fc6;
  border-radius:50%;
  margin-right:10px
}
.status {
  font-size:10px;
  padding:5px 9px;
  border-radius:5px;
  display:inline-block
}
.status.active {
  color:#376243;
  background:#eaf4e5
}
.status.suspended {
  color:#85502a;
  background:#faf0de
}
.status.good { color:#376243; background:#eaf4e5 }
.status.amber { color:#85502a; background:#faf0de }
.status.offline { color:#8b3030; background:#fbe9e7 }
.empty {
  text-align:center;
  padding:64px 25px
}
.empty h3 {
  margin-bottom:10px
}
.empty p {
  color:var(--muted);
  font-size:13px;
  line-height:1.8;
  max-width:420px;
  margin:0 auto 23px
}
.empty-icon {
  font-size:32px;
  color:#81639b;
  display:block;
  margin-bottom:20px
}
.empty.compact {
  padding:37px 25px
}
.back-link {
  font-size:12px;
  color:#715087;
  display:inline-block;
  margin-bottom:25px
}
.form-panel {
  max-width:960px
}
.record-form {
  padding:27px
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px
}
.wide {
  grid-column:1/-1
}
label {
  display:flex;
  flex-direction:column;
  gap:9px;
  font-size:12px;
  font-weight:600;
  color:#4f3d5e
}
.optional {
  font-size:10px;
  font-weight:400;
  color:#887a92
}
input,select,textarea {
  width:100%;
  border:1px solid #dcd3e5;
  background:#fff;
  border-radius:6px;
  padding:12px 13px;
  font-size:13px;
  color:var(--ink);
  min-width:0
}
textarea {
  resize:vertical;
  line-height:1.5
}
input::placeholder {
  color:#a295ac
}
select {
  min-height:43px
}
.field-help {
  font-size:11px;
  line-height:1.7;
  color:#7a6a85;
  font-weight:400;
  margin-top:15px;
  max-width:600px
}
.form-actions {
  display:flex;
  gap:12px;
  justify-content:flex-end;
  border-top:1px solid var(--line);
  padding-top:23px;
  margin-top:28px
}
.alert {
  padding:15px 18px;
  border-radius:8px;
  margin-bottom:23px;
  font-size:13px;
  line-height:1.6;
  overflow-wrap:anywhere
}
.alert.success {
  color:#2d5b36;
  background:#e8f3e1;
  border:1px solid #cde0c2
}
.alert.error {
  color:#8d3730;
  background:#fff0eb;
  border:1px solid #efd0c4
}
.page-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:20px 42px;
  border-top:1px solid var(--line);
  font-size:10px;
  color:#84778e
}
.page-footer span {
  font-size:9px
}
.entry-shell {
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr
}
.entry-story {
  padding:44px 62px 30px;
  background:var(--nav);
  color:white;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100vh
}
.entry-story>.brand {
  margin-bottom:50px
}
.entry-story .eyebrow {
  color:var(--accent);
  font-size:9px;
  letter-spacing:2px
}
.entry-story h1 {
  font-size:clamp(40px,5vw,70px);
  letter-spacing:-3px;
  font-weight:500;
  line-height:1.08;
  margin:24px 0
}
.entry-description {
  color:#c8b6dc;
  font-size:14px;
  line-height:1.9;
  max-width:350px
}
.entry-footer {
  font-size:10px;
  color:#c2acd8;
  margin-top:32px
}
.entry-form {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:60px clamp(30px,6vw,100px);
  background:#fdfcfe
}
.login-box {
  max-width:390px;
  width:100%;
  margin:0 auto
}
.login-box h2 {
  font-size:36px;
  letter-spacing:-1.4px;
  margin-bottom:13px
}
.stack-form {
  display:flex;
  flex-direction:column;
  gap:23px;
  margin-top:34px
}
.full {
  width:100%;
  justify-content:space-between;
  margin-top:5px
}
.login-help {
  font-size:11px;
  line-height:1.9;
  color:#887893;
  border-bottom:1px solid var(--line);
  padding-bottom:30px;
  margin-top:24px
}
.release-note {
  margin-top:28px;
  font-size:11px;
  color:#6c4c83
}
.release-note .dot {
  background:#8964af
}
.release-note p {
  font-size:11px;
  line-height:1.8;
  color:#887a93;
  margin-top:9px
}
.display-art {
  margin-top:35px;
  max-width:340px;
  transform:rotate(-3deg)
}
.display-slide {
  border:7px solid #593b75;
  border-radius:8px;
  padding:24px;
  background:var(--accent);
  color:#32154e;
  position:relative;
  overflow:hidden;
  aspect-ratio:1.8;
  box-shadow:10px 14px 35px #15052a60
}
.display-slide>span {
  font-size:8px;
  letter-spacing:1.6px;
  position:relative;
  z-index:1
}
.display-slide strong {
  display:block;
  font-size:29px;
  line-height:1.1;
  font-weight:600;
  letter-spacing:-1px;
  margin-top:16px;
  position:relative;
  z-index:1
}
.display-slide i {
  position:absolute;
  width:150px;
  height:150px;
  border:25px solid #bda1db;
  border-radius:50%;
  right:-36px;
  bottom:-39px
}
.display-stand {
  width:55px;
  height:18px;
  background:#593b75;
  margin:0 auto;
  border-radius:0 0 6px 6px
}
.error-state {
  padding:40px 0
}
.error-state p {
  margin:20px 0
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap
}
.content-links {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:24px
}
.media-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:20px;
  padding:24px
}
.media-card {
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden
}
.media-card img {
  display:block;
  width:100%;
  height:180px;
  object-fit:contain;
  background:var(--paper)
}
.media-card-body {
  padding:16px;
  overflow-wrap:anywhere
}
.media-card h3 {
  font-size:14px;
  margin-bottom:8px
}
.media-card form {
  margin-top:14px
}
.slide-actions {
  display:flex;
  gap:8px;
  align-items:flex-end
}
.slide-actions input {
  width:88px
}
.playlist-grid {
  display:grid;
  grid-auto-flow:row;
  direction:ltr;
  grid-template-columns:repeat(auto-fill,minmax(min(250px,100%),1fr));
  gap:20px;
  margin:0;
  padding:24px;
  list-style:none
}
.playlist-card {
  min-width:0;
  border:1px solid var(--line);
  border-radius:10px;
  background:white;
  overflow:hidden
}
.playlist-card.dragging {
  opacity:.5;
  outline:3px dashed var(--brand);
  outline-offset:2px
}
.playlist-card-heading,.playlist-card-controls {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px
}
.playlist-card-heading {
  padding:10px 14px
}
.drag-handle {
  cursor:grab;
  touch-action:none;
  min-height:34px;
  padding:7px 10px
}
.drag-handle:active {
  cursor:grabbing
}
.playlist-card img {
  display:block;
  width:100%;
  height:180px;
  object-fit:contain;
  background:var(--paper);
  user-select:none
}
.playlist-card-body {
  padding:16px
}
.playlist-card h3 {
  font-size:14px;
  line-height:1.5;
  overflow-wrap:anywhere;
  margin-bottom:14px
}
.playlist-duration {
  display:flex;
  align-items:flex-end;
  gap:10px;
  margin:14px 0
}
.playlist-duration label {
  flex:1;
  min-width:0
}
.playlist-card-controls .button:last-child {
  margin-left:auto
}
.reorder-status {
  padding:16px 24px 0
}
button:disabled {
  opacity:.45;
  cursor:not-allowed
}
@media(min-width:1600px) {
  .entry-story {
    padding:60px 100px
  }
  .entry-form {
    padding:90px 100px
  }
}
@media(max-width:1100px) {
  .brand-logo {
    width:76px;
    height:76px
  }
  .sidebar {
    width:216px;
    padding:30px 17px
  }
  .main-shell {
    margin-left:216px
  }
  .content {
    padding:30px 25px
  }
  .topbar {
    padding:0 25px
  }
  .page-heading {
    align-items:flex-start
  }
  .banner-number {
    display:none
  }
  .entry-story {
    padding:40px 35px
  }
  .entry-form {
    padding:40px 30px
  }
  .stats {
    gap:12px
  }
  .stat-card {
    padding:19px
  }
  .stat-card small {
    line-height:1.6;
    display:block
  }
  .brand {
    font-size:21px
  }
  th,td {
    padding:16px 20px
  }
  .page-footer {
    padding:20px 25px
  }
}
@media(max-width:760px) {
  .sidebar {
    position:static;
    width:100%;
    padding:20px;
    display:block
  }
  .sidebar .brand {
    margin-bottom:20px
  }
  .nav-label,.sidebar-note,.account {
    display:none
  }
  .sidebar nav {
    display:flex;
    flex-wrap:wrap;
    gap:8px
  }
  .nav-item {
    margin:0;
    font-size:12px;
    padding:10px
  }
  .sidebar form {
    position:absolute;
    top:25px;
    right:20px
  }
  .signout {
    padding:8px
  }
  .signout span {
    margin-left:8px
  }
  .main-shell {
    margin-left:0
  }
  .topbar {
    height:56px;
    padding:0 20px;
    font-size:11px
  }
  .phase-badge {
    font-size:7px
  }
  .content {
    padding:28px 20px
  }
  .page-heading {
    flex-direction:column;
    gap:18px;
    margin-bottom:25px
  }
  h1 {
    font-size:30px
  }
  .stats {
    grid-template-columns:1fr;
    gap:10px
  }
  .stat-card {
    position:relative;
    padding:19px 24px
  }
  .stat-card strong {
    position:absolute;
    right:24px;
    top:14px;
    margin:0;
    font-size:36px
  }
  .stat-card small {
    margin-top:9px
  }
  .foundation-banner {
    padding:25px
  }
  .foundation-banner h2 {
    font-size:23px
  }
  .panel-heading {
    padding:20px;
    flex-wrap:wrap
  }
  .small-label {
    white-space:normal
  }
  .record-form {
    padding:20px
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:20px
  }
  .wide {
    grid-column:auto
  }
  .form-actions {
    flex-wrap:wrap
  }
  .page-footer {
    padding:20px;
    flex-direction:column;
    gap:7px
  }
  .entry-shell {
    display:block
  }
  .entry-story {
    min-height:0;
    padding:25px
  }
  .entry-story>.brand {
    margin:0
  }
  .entry-story>div,.entry-footer {
    display:none
  }
  .entry-form {
    padding:45px 25px;
    min-height:calc(100vh - 95px)
  }
  .empty {
    padding:40px 20px
  }
  .topbar .slash {
    margin:0 8px
  }
}

/* Site and network playback simulations */
.preview-toolbar { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:24px 0; }
.preview-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(360px,100%),1fr)); gap:24px; }
.preview-card { margin:0; overflow:hidden; }
.preview-card .panel-heading { min-height:100px; }
.preview-card h2 a { color:inherit; text-decoration:none; }
.preview-stage { height:320px; padding:20px; display:flex; align-items:center; justify-content:center; background:#eae6ef; }
.preview-display { position:relative; max-height:280px; max-width:100%; background:#000; box-shadow:0 0 0 7px #29252e,0 8px 18px #0003; overflow:hidden; aspect-ratio:16/9; }
.preview-display img { width:100%; height:100%; position:absolute; inset:0; object-fit:contain; }
.preview-fill img { object-fit:cover; }
.preview-stretch img { object-fit:fill; }
.preview-message { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; padding:12px; color:white; font-size:12px; text-align:center; }
.preview-display [hidden] { display:none; }
.preview-details { padding:16px 24px; font-size:13px; }
.preview-details p { margin:6px 0; }
