/*
 *  __        __    _    ____   ___   +======+
 *  \ \      / /   / \  | __ ) / _ \  | INC. |
 *   \ \ /\ / /   / _ \ |  _ \| | | | +======+  DIGITAL
 *    \ V  V /   / ___ \| |_) | |_| |
 *     \_/\_/   /_/   \_\____/ \___/
 * 
 *  WABO INC. DIGITAL
 *  https://digital.wabo.pt
 *  Copyright (c) 2027 Wabo Inc. Digital. Todos os direitos reservados.
 */

@import url('/assets/wabo-brand.css?v=20261017-brand1');
@font-face {
  font-family: 'Univia Pro';
  src: url('/assets/font/UniviaPro-Light.otf') format('opentype');
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'Univia Pro';
  src: url('/assets/font/UniviaPro-Regular.otf') format('opentype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Univia Pro';
  src: url('/assets/font/UniviaPro-Medium.otf') format('opentype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Univia Pro';
  src: url('/assets/font/UniviaPro-Bold.otf') format('opentype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Univia Pro';
  src: url('/assets/font/UniviaPro-Black.otf') format('opentype');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  font-family: 'Univia Pro', Arial, sans-serif;
  --bg: #f3f4f5;
  --surface: #fff;
  --sidebar: #ebedee;
  --text: #172025;
  --muted: #737d83;
  --line: #e4e7e9;
  --accent: #de2036;
  --soft: #fff0f2;
  color: var(--text);
  background: var(--bg);
}
:root[data-theme='dark'] {
  --bg: #121416;
  --surface: #1b1e21;
  --sidebar: #16191b;
  --text: #eef2f4;
  --muted: #a0a9b0;
  --line: #30363b;
  --soft: #351b21;
}
body {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 15px;
  background: var(--surface);
  color: var(--text);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.035em;
}
label {
  display: grid;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}
input,
textarea,
select {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  min-width: 0;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #de203630;
  border-color: var(--accent);
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
}
.primary:hover {
  background: #bf1529;
}
.quiet,
.subtle {
  color: var(--muted);
}
.status {
  font-size: 13px;
  min-height: 20px;
}
.error {
  color: #e53f52;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.13em;
  font-weight: 700;
  color: var(--muted);
}
.wabo-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.06em;
}
.wabo-logo small {
  background: #de2036;
  color: #fff;
  padding: 3px 4px;
  font-size: 9px;
  letter-spacing: 0;
}
.wabo-logo > span {
  font-size: 9px;
  letter-spacing: 0.13em;
  margin-left: 5px;
  font-weight: 500;
}
.login-layout {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 65px;
  background:
    linear-gradient(135deg, #000d, #0006),
    url('/assets/images/site/demolicoes.jpg') center/cover;
  color: #fff;
}
.login-art h1 {
  font-size: clamp(45px, 5.6vw, 85px);
  line-height: 1.03;
  margin: 25px 0;
}
.login-art p {
  line-height: 1.7;
  color: #ddd;
}
.login-art > span,
.login-art div > p:first-child {
  font-size: 10px;
  letter-spacing: 0.13em;
}
.login-main {
  display: grid;
  place-items: center;
  position: relative;
  padding: 70px 35px;
  background: var(--surface);
}
.login-main > .theme-switch {
  position: absolute;
  top: 25px;
  right: 25px;
}
.login-card {
  width: min(390px, 100%);
}
.login-card h2 {
  font-size: 36px;
  margin-bottom: 10px;
}
.login-card > p {
  color: var(--muted);
  font-size: 14px;
}
.login-card form {
  display: grid;
  gap: 22px;
  margin: 35px 0 15px;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 50px;
}
.password-field button {
  position: absolute;
  right: 3px;
  top: 3px;
  padding: 10px;
  border: 0;
  background: none;
}
.login-note {
  position: absolute;
  bottom: 15px;
  font-size: 11px;
  color: var(--muted);
}
.dashboard-shell {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  min-height: 100dvh;
}
.dashboard-sidebar {
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: auto;
}
.workspace {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 25px 4px;
}
.workspace img {
  width: 32px;
  height: 32px;
}
.workspace strong {
  font-size: 13px;
}
.workspace small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.nav-search {
  position: relative;
}
.nav-search > span {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 20px;
  color: var(--muted);
}
.nav-search input {
  padding: 11px 8px 11px 36px;
  font-size: 12px;
  background: var(--bg);
}
#dashboardNav {
  padding: 10px 0;
}
#dashboardNav p {
  font-size: 9px;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin: 25px 12px 9px;
}
#dashboardNav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 17px;
}
#dashboardNav a span {
  font-size: 13px;
}
#dashboardNav a:hover {
  color: var(--text);
  background: var(--bg);
}
#dashboardNav a.active {
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 1px 4px #00005;
  font-weight: 600;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
  display: grid;
  gap: 8px;
}
.sidebar-bottom > * {
  font-size: 11px;
  padding: 10px;
  text-align: left;
}
.sidebar-bottom button {
  background: transparent;
}
.dashboard-body {
  min-width: 0;
}
.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 34px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.dashboard-header h1 {
  font-size: 24px;
  margin: 5px 0 0;
}
.session-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--muted);
}
.user-avatar {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  color: white;
  font-size: 12px;
  font-weight: 700;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#toggleSidebar {
  display: none;
}
#view {
  padding: 30px 34px;
  max-width: 1800px;
  margin: auto;
}
.view-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 24px;
}
.view-intro h2 {
  font-size: 27px;
  margin-bottom: 8px;
}
.view-intro p,
.muted {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.card h3 {
  font-size: 16px;
  margin-bottom: 18px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}
.metric small {
  color: var(--muted);
  font-size: 12px;
}
.metric strong {
  display: block;
  font-size: 32px;
  margin: 15px 0 6px;
  letter-spacing: -0.05em;
}
.metric p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 22px;
}
.website-preview {
  width: 100%;
  height: 360px;
  border: 1px solid var(--line);
  border-radius: 8px;
  pointer-events: none;
  background: #111;
}
.preview-link {
  display: block;
  font-size: 12px;
  margin-top: 18px;
}
.bar-chart {
  height: 235px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-top: 20px;
  margin: 20px 0;
}
.chart-day {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
  gap: 8px;
  font-size: 10px;
  color: var(--muted);
}
.chart-day i {
  display: block;
  width: 60%;
  min-height: 2px;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
}
.table-wrap {
  overflow-x: auto;
}
.table-list {
  width: 100%;
  border-collapse: collapse;
}
.table-list th {
  text-align: left;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
  padding: 14px 10px;
  border-bottom: 1px solid var(--line);
}
.table-list td {
  padding: 17px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.table-list td small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 6px;
}
.table-list a.action {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 12px;
  white-space: nowrap;
  font-size: 12px;
}
.badge {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 5px;
  background: var(--soft);
  color: var(--accent);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field-grid .wide {
  grid-column: 1/-1;
}
.form-stack {
  display: grid;
  gap: 22px;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.catalog-card {
  display: grid;
  gap: 17px;
}
.catalog-card h3 {
  margin: 0;
}
.catalog-card a {
  font-size: 12px;
  color: var(--accent);
}
.form-actions {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
}
.conversation-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 570px;
  gap: 20px;
}
.conversation-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 650px;
  overflow: auto;
}
.conversation-list button {
  text-align: left;
  padding: 17px;
}
.conversation-list button.active {
  border-color: var(--accent);
  background: var(--soft);
}
.conversation-list small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
  font-size: 11px;
}
.chat-transcript {
  display: grid;
  gap: 14px;
  max-height: 400px;
  overflow: auto;
  padding: 15px 0;
}
.chat-message {
  max-width: 90%;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-message.user {
  justify-self: end;
  background: var(--soft);
}
.chat-message small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}
.profile-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--accent);
  color: #fff;
  font-size: 28px;
}
.profile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.global-status {
  position: fixed;
  bottom: 20px;
  right: 25px;
  padding: 14px 20px;
  background: var(--text);
  color: var(--surface);
  font-size: 12px;
  border-radius: 8px;
  z-index: 50;
  max-width: 80vw;
}
.global-status:empty {
  display: none;
}
.empty-state {
  padding: 50px 15px;
  text-align: center;
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 1100px) {
  .dashboard-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .home-grid {
    grid-template-columns: 1fr;
  }
  .conversation-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .session-meta > #serverIP {
    display: none;
  }
}
@media (max-width: 760px) {
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 30px;
    min-height: 260px;
    gap: 30px;
  }
  .login-art h1 {
    font-size: 42px;
    margin: 15px 0;
  }
  .login-art > span,
  .login-art div > p:last-child {
    display: none;
  }
  .login-main {
    padding: 75px 24px;
  }
  .login-note {
    position: static;
    margin-top: 45px;
  }
  .dashboard-shell {
    display: block;
  }
  .dashboard-sidebar {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 40;
    width: 260px;
    box-shadow: 0 0 0 100vw #0008;
  }
  .dashboard-shell.nav-open .dashboard-sidebar {
    display: flex;
  }
  #toggleSidebar {
    display: block;
  }
  .dashboard-header {
    padding: 17px 18px;
    gap: 12px;
  }
  .dashboard-header h1 {
    font-size: 20px;
  }
  .session-meta {
    margin-left: auto;
    gap: 10px;
  }
  #view {
    padding: 22px 16px;
  }
  .stats-grid {
    gap: 8px;
  }
  .metric {
    padding: 16px 12px;
  }
  .metric strong {
    font-size: 25px;
  }
  .metric p {
    display: none;
  }
  .view-intro {
    align-items: flex-start;
    flex-direction: column;
  }
  .view-intro h2 {
    font-size: 24px;
  }
  .card {
    padding: 18px;
  }
  .field-grid,
  .catalog-grid,
  .conversation-layout {
    grid-template-columns: 1fr;
  }
  .conversation-list {
    max-height: 180px;
  }
  .table-list th:nth-child(2),
  .table-list td:nth-child(2) {
    display: none;
  }
  .table-list td {
    padding: 15px 5px;
  }
  .session-meta #sessionTimer {
    font-size: 10px;
  }
}

/* Website manager layout following the supplied dashboard reference. */
:root {
  --accent: #00a991;
  --soft: #e0f8ed;
  --sidebar: #f0f1ed;
  --bg: #fff;
  --canvas: #d7d9d2;
  --line: #e9ebe8;
  --teal: #007d8b;
  --chart: #00bca4;
}
:root[data-theme='dark'] {
  --accent: #00b8a0;
  --soft: #143e35;
  --sidebar: #202523;
  --bg: #191e1c;
  --surface: #222825;
  --canvas: #111512;
  --line: #343d37;
  --teal: #68dbdf;
  --chart: #00bca4;
}
body {
  background: var(--canvas);
}
.dashboard-shell {
  width: calc(100% - 60px);
  max-width: 1800px;
  margin: 36px auto;
  height: calc(100dvh - 72px);
  min-height: 600px;
  background: var(--bg);
  border-radius: 25px;
  border: 8px solid color-mix(in srgb, var(--surface) 75%, transparent);
  box-shadow: 0 25px 55px #1112;
  overflow: hidden;
  grid-template-columns: 235px minmax(0, 1fr);
}
.dashboard-sidebar {
  height: 100%;
  position: static;
  border: 0;
  background: var(--sidebar);
  padding: 23px 14px;
}
.dashboard-body {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border-radius: 18px 0 0 18px;
}
.dashboard-header {
  position: relative;
  padding: 20px 28px;
  border: 0;
  flex: none;
}
.dashboard-header h1 {
  font-size: 22px;
}
.dashboard-header .eyebrow {
  display: none;
}
#view {
  padding: 8px 28px 28px;
  overflow: auto;
  flex: 1;
  width: 100%;
  max-width: none;
}
.workspace {
  padding: 22px 8px;
}
.nav-search input {
  background: #dedfda;
  border: 0;
}
:root[data-theme='dark'] .nav-search input {
  background: #303a32;
}
#dashboardNav a {
  padding: 11px 12px;
  margin: 2px 0;
}
#dashboardNav a svg {
  width: 20px;
  height: 20px;
  flex: none;
}
#dashboardNav a.active {
  color: var(--teal);
  background: var(--surface);
}
#dashboardNav p {
  margin-top: 24px;
}
.card {
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 0 0 1px #00001;
}
.session-meta {
  padding: 0 2px;
}
.user-avatar {
  background: #ff5925;
}
.login-layout {
  background: var(--surface);
}
.login-card .primary {
  background: #00a991;
  border-color: #00a991;
}
.management-advice {
  padding: 15px;
  border-radius: 14px;
  background: #d5f8e5;
  margin-bottom: 22px;
  color: #1c3e39;
}
:root[data-theme='dark'] .management-advice {
  background: #173c2c;
  color: #d8f7e8;
}
.advice-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  margin-bottom: 12px;
  color: #007c88;
}
.advice-title > span:first-child {
  background: #fff;
  border-radius: 6px;
  padding: 2px 5px;
  color: #00ac9b;
}
.advice-title > a {
  margin-left: auto;
  text-decoration: underline;
  font-size: 11px;
}
.advice-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.advice-cards article {
  background: var(--surface);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 116px;
  font-size: 12px;
  color: var(--text);
}
.advice-cards p {
  margin: 0;
  line-height: 1.5;
}
.advice-cards a {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  align-self: flex-start;
  color: var(--teal);
  font-weight: 600;
  font-size: 11px;
  margin-top: auto;
}
.website-overview {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 22px;
  align-items: stretch;
}
.website-card {
  position: relative;
  padding: 22px 24px 0;
  overflow: hidden;
  min-height: 670px;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.card-heading h3 {
  margin: 0;
  font-size: 15px;
}
.card-heading > a,
.card-heading > span {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 7px;
  color: var(--muted);
  font-size: 20px;
  line-height: 22px;
}
.site-screen {
  width: 100%;
  height: calc(100% - 48px);
  min-height: 590px;
  border: 6px solid #0c1313;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #111;
  position: relative;
}
.site-screen iframe {
  display: block;
  border: 0;
  transform-origin: top left;
  pointer-events: none;
}
.floating-preview-tools {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  align-items: center;
  background: #0c1918;
  border: 1px solid #ffffff30;
  border-radius: 11px;
  padding: 7px;
  box-shadow: 0 8px 24px #0004;
}
.floating-preview-tools button,
.floating-preview-tools a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #fff;
}
.floating-preview-tools i {
  width: 1px;
  height: 23px;
  background: #ffffff30;
  margin: 0 3px;
}
.floating-preview-tools [aria-pressed='true'] {
  background: #566460;
}
.floating-preview-tools svg {
  width: 22px;
  height: 22px;
}
.overview-report {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
}
.visitors-card {
  padding-bottom: 15px;
}
.report-filters {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 15px;
}
.period-pill {
  border: 1px solid var(--line);
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--teal);
  font-weight: 600;
}
.paired-chart {
  display: flex;
  gap: 12px;
  height: 230px;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(to top, transparent 0 49px, var(--line) 50px 51px);
}
.chart-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
}
.chart-pair {
  height: 195px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  justify-content: center;
  width: 100%;
}
.chart-pair i {
  display: block;
  background: var(--chart);
  width: 32%;
  border-radius: 2px 2px 0 0;
  min-height: 1px;
}
.chart-pair i + i {
  background: #dce2de;
}
.chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 17px;
  font-size: 10px;
}
.chart-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.chart-legend i {
  width: 13px;
  height: 7px;
  background: var(--chart);
  border-radius: 2px;
}
.chart-legend span + span i {
  background: #dce2de;
}
.report-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin: 14px 0 0;
}
.report-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.report-bottom h3 {
  font-size: 14px;
}
.report-bottom .empty-state {
  font-size: 12px;
  padding: 35px 0;
}
.activity-values {
  display: flex;
  gap: 20px;
}
.activity-values small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  line-height: 1.5;
}
.activity-values strong {
  font-size: 26px;
  display: block;
  margin-top: 7px;
}
.activity-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 28px 0 25px;
  font-size: 11px;
}
.activity-summary p {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.activity-dot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
.report-bottom > .card > .subtle {
  font-size: 10px;
}
.top-page {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  margin: 20px 0;
  font-size: 10px;
}
.top-page strong {
  font-size: 23px;
}
.top-page span {
  overflow-wrap: anywhere;
}
.top-page i {
  grid-column: 1/-1;
  background: var(--accent);
  height: 4px;
  border-radius: 4px;
}
.icon-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 11px;
}
.icon-action svg {
  width: 18px;
  height: 18px;
}
.catalog-workspace {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.catalog-index {
  padding: 14px;
  position: sticky;
  top: 0;
}
.catalog-search input {
  padding: 11px;
  font-size: 12px;
  background: var(--bg);
}
.catalog-index-items {
  display: grid;
  gap: 5px;
  margin-top: 16px;
  max-height: 65vh;
  overflow: auto;
}
.catalog-index-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  border: 1px solid transparent;
  background: none;
  padding: 10px;
}
.catalog-index-item > img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 7px;
}
.catalog-index-item > span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.catalog-index-item strong {
  font-size: 11px;
  font-weight: 600;
  display: block;
  line-height: 1.45;
}
.catalog-index-item small {
  font-size: 9px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}
.catalog-index-item.active {
  border-color: var(--accent);
  background: var(--soft);
}
.inspector-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}
.inspector-heading h3 {
  margin: 7px 0 0;
  font-size: 23px;
}
.catalog-cover {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg);
}
.catalog-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-badge {
  position: absolute;
  left: 15px;
  bottom: 15px;
  background: #000a;
  color: #fff;
  padding: 6px 9px;
  font-size: 8px;
  letter-spacing: 0.1em;
  border-radius: 4px;
}
.media-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: start;
}
.media-controls label {
  font-size: 11px;
}
.media-controls select {
  padding: 11px;
  font-size: 11px;
}
.upload-label {
  border: 1px dashed var(--line);
  padding: 14px;
  border-radius: 8px;
  color: var(--teal);
  position: relative;
  cursor: pointer;
  text-align: center;
  display: block;
  font-size: 12px !important;
}
.upload-label input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-label small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
}
.inspector-save {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.inspector-save .muted {
  font-size: 10px;
  max-width: 230px;
}
.inspector-save button {
  font-size: 12px;
}
.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading h3 {
  margin: 0 0 8px;
}
.section-heading p {
  margin: 0;
}
.section-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 10px;
  background: var(--soft);
  color: var(--teal);
}
.section-icon svg {
  width: 24px;
  height: 24px;
}
.website-preview-dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  width: min(1400px, 95vw);
  max-height: 95dvh;
}
.website-preview-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(5px);
}
.website-preview-dialog header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 17px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.website-preview-dialog header strong {
  display: block;
  font-size: 15px;
  margin-top: 4px;
}
.device-switch {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.device-switch button {
  width: 38px;
  height: 35px;
  padding: 7px;
}
.device-switch svg {
  width: 20px;
  height: 20px;
}
.device-switch [aria-pressed='true'] {
  background: var(--soft);
  border-color: var(--accent);
  color: var(--teal);
}
.preview-stage {
  display: flex;
  justify-content: center;
  padding: 20px;
  background: var(--sidebar);
  height: 75dvh;
  overflow: auto;
}
.preview-stage iframe {
  width: 100%;
  height: 100%;
  background: #fff;
  border: 0;
  flex: none;
  transition: width 0.25s;
  border-radius: 9px;
}
.website-preview-dialog[data-device='mobile'] iframe {
  width: 390px;
  max-width: 100%;
  border: 6px solid #111;
  border-radius: 22px;
}
.website-preview-dialog footer {
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  padding: 10px 20px;
}
@media (max-width: 1250px) {
  .dashboard-shell {
    grid-template-columns: 205px minmax(0, 1fr);
    width: calc(100% - 30px);
    margin: 20px auto;
    height: calc(100dvh - 40px);
  }
  .advice-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .website-overview {
    grid-template-columns: 0.9fr 1.15fr;
    gap: 15px;
  }
  .report-bottom {
    grid-template-columns: 1fr;
  }
  .catalog-workspace {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .dashboard-header,
  #view {
    padding-left: 20px;
    padding-right: 20px;
  }
  .website-card {
    padding: 20px 15px 0;
  }
  .report-bottom .card {
    padding: 20px;
  }
}
@media (max-width: 1000px) {
  .website-overview {
    grid-template-columns: 1fr;
  }
  .website-card {
    min-height: 550px;
  }
  .site-screen {
    height: 520px;
    min-height: 0;
  }
  .report-bottom {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-workspace {
    grid-template-columns: 1fr;
  }
  .catalog-index {
    position: static;
  }
  .catalog-index-items {
    grid-template-columns: 1fr 1fr;
    max-height: 220px;
  }
  .media-controls {
    grid-template-columns: 1fr;
  }
  .advice-title > span:nth-child(3) {
    display: none;
  }
}
@media (max-width: 760px) {
  .dashboard-shell {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .dashboard-body {
    border-radius: 0;
  }
  .dashboard-sidebar {
    position: fixed;
    height: 100dvh;
    border-radius: 0;
  }
  .dashboard-header {
    padding: 17px 16px;
  }
  #view {
    padding: 8px 16px 22px;
  }
  .advice-title {
    flex-wrap: wrap;
    font-size: 11px;
  }
  .advice-cards {
    display: flex;
    overflow: auto;
    scroll-snap-type: x mandatory;
  }
  .advice-cards article {
    min-width: 210px;
    scroll-snap-align: start;
  }
  .advice-cards article p {
    font-size: 11px;
  }
  .report-bottom {
    grid-template-columns: 1fr;
  }
  .catalog-index-items {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-index-item {
    padding: 7px;
  }
  .catalog-index-item > img {
    width: 35px;
    height: 35px;
  }
  .catalog-cover {
    height: 185px;
  }
  .inspector-heading {
    flex-wrap: wrap;
  }
  .inspector-save {
    flex-wrap: wrap;
  }
  .website-preview-dialog header {
    gap: 8px;
    padding: 13px;
  }
  .website-preview-dialog header strong {
    font-size: 12px;
  }
  .preview-stage {
    padding: 10px;
  }
  .period-pill {
    font-size: 10px;
  }
  .paired-chart {
    gap: 7px;
  }
  .chart-column {
    font-size: 8px;
  }
  .login-card h2 {
    font-size: 30px;
  }
}

.page-tools {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.page-tools .icon-action {
  font-size: 10px;
  padding: 8px;
}
.page-tools .action {
  font-size: 10px !important;
}

#showPassword svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Full-screen workspace in the site's red, black and white palette. */
:root {
  --accent: #de2036;
  --soft: #fff0f2;
  --sidebar: #f5f5f4;
  --bg: #f6f6f5;
  --canvas: #f6f6f5;
  --teal: #bc1830;
  --chart: #de2036;
}
:root[data-theme='dark'] {
  --accent: #ed3046;
  --soft: #351b22;
  --sidebar: #111315;
  --bg: #151719;
  --surface: #1c1e21;
  --canvas: #101214;
  --line: #303338;
  --teal: #ff6778;
  --chart: #ed3046;
}
.dashboard-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  height: 100dvh;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  grid-template-columns: 260px minmax(0, 1fr);
  transition: grid-template-columns 0.16s ease;
}
.dashboard-body {
  border-radius: 0;
  background: var(--bg);
}
.dashboard-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  position: relative;
  height: 100dvh;
}
.dashboard-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 20px 30px;
}
#view {
  padding: 24px 30px;
  max-width: 2000px;
  width: 100%;
}
.login-card .primary {
  background: var(--accent);
  border-color: var(--accent);
}
.user-avatar {
  background: #de2036;
}
.management-advice {
  background: #fff0f2;
  color: #3a171b;
  border: 1px solid #f8dce1;
}
:root[data-theme='dark'] .management-advice {
  background: #29191e;
  color: #ffd9df;
  border-color: #47232d;
}
.advice-title {
  color: var(--teal);
}
.advice-title > span:first-child {
  color: var(--accent);
}
.sidebar-top {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 -5px 22px;
}
.sidebar-top button {
  display: grid;
  place-items: center;
  position: relative;
  flex: none;
  padding: 5px;
  border: 0;
  background: transparent;
  width: 30px;
  height: 34px;
}
.sidebar-top button svg {
  width: 19px;
  height: 19px;
  color: var(--muted);
}
#companySelector {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  width: auto;
  text-align: left;
}
#companySelector strong {
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.company-symbol {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  background: #121212;
  border-radius: 7px;
  flex: none;
  padding: 4px;
}
.company-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-chevron {
  font-size: 11px;
  color: var(--muted);
}
.notification-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--surface);
}
.notification-dot[hidden] {
  display: none;
}
#dashboardNav a.active {
  color: var(--teal);
  background: var(--surface);
  box-shadow: 0 1px 4px #00005;
}
#dashboardNav a {
  margin: 2px 0;
}
#dashboardNav a span {
  font-size: 12px;
}
#dashboardNav p {
  margin-top: 23px;
}
.sidebar-wabo {
  padding: 7px 9px 18px !important;
  font-size: 15px !important;
}
.sidebar-wabo > span {
  font-size: 8px;
}
.sidebar-bottom {
  gap: 5px;
}
.sidebar-bottom > * {
  font-size: 10px;
}
.nav-search {
  outline: none;
}
.workspace-popover {
  position: fixed;
  z-index: 100;
  width: min(350px, calc(100vw - 24px));
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 45px #0003;
  color: var(--text);
  font-size: 12px;
}
.workspace-popover[hidden] {
  display: none !important;
}
.workspace-popover > p {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.workspace-popover > strong {
  display: block;
  font-size: 17px;
  margin-bottom: 5px;
}
.workspace-popover > .muted {
  font-size: 11px;
  display: block;
}
.workspace-popover > a {
  display: block;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 17px;
  color: var(--teal);
}
.notification-panel {
  max-height: 65dvh;
  overflow: auto;
}
.notification-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
}
.notification-panel header button {
  border: 0;
  font-size: 9px;
  padding: 5px;
  background: var(--bg);
  color: var(--teal);
}
.notification-panel a {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding: 13px 0;
  font-size: 12px;
}
.notification-panel small {
  font-size: 10px;
  color: var(--muted);
}
#pauseSession {
  padding: 5px 7px;
  font-size: 11px;
  border: 1px solid var(--line);
  background: var(--bg);
}
#pauseSession[aria-pressed='true'] {
  color: var(--accent);
  border-color: var(--accent);
}
#sessionTimer {
  font-variant-numeric: tabular-nums;
  background: var(--bg);
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--text);
}
.session-meta {
  gap: 9px;
}
.session-meta #serverIP {
  font-size: 9px;
}
.sidebar-compact {
  grid-template-columns: 78px minmax(0, 1fr);
}
.sidebar-compact .dashboard-sidebar {
  padding: 17px 10px;
}
.sidebar-compact #companySelector {
  flex: none;
  width: 30px;
}
.sidebar-compact #companySelector strong,
.sidebar-compact .company-chevron,
.sidebar-compact #dashboardNav a span,
.sidebar-compact #dashboardNav p,
.sidebar-compact .sidebar-wabo,
.sidebar-compact .sidebar-bottom > a,
.sidebar-compact .sidebar-bottom > button,
.sidebar-compact #navSearch {
  display: none;
}
.sidebar-compact .sidebar-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  margin: 0 0 20px;
  gap: 5px;
}
.sidebar-compact #companySelector {
  grid-column: 1/-1;
}
.sidebar-compact #dashboardNav a {
  justify-content: center;
  padding: 12px;
}
.sidebar-compact #dashboardNav a svg {
  width: 21px;
  height: 21px;
}
.sidebar-compact .nav-search {
  display: block;
  min-height: 38px;
  background: var(--bg);
  border-radius: 8px;
  cursor: pointer;
}
.sidebar-compact .nav-search > span {
  left: 20px;
  top: 8px;
}
.sidebar-compact .sidebar-bottom {
  min-height: 25px;
}
.workspace-dialog {
  width: min(680px, calc(100vw - 28px));
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  padding: 25px;
}
.workspace-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.workspace-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}
.workspace-dialog h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0;
  overflow-wrap: anywhere;
}
.workspace-dialog header button {
  padding: 5px 10px;
  font-size: 19px;
}
.workspace-dialog footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 25px;
  flex-wrap: wrap;
}
.request-message {
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 14px;
  padding: 18px;
  background: var(--bg);
  border-radius: 10px;
  overflow-wrap: anywhere;
}
.structure-tree > span {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}
.structure-tree > div {
  border-left: 1px solid var(--line);
  margin-left: 10px;
  padding-left: 23px;
}
.structure-row {
  display: grid;
  grid-template-columns: 20px minmax(130px, 1fr) minmax(120px, 1fr) auto auto;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  font-size: 12px;
}
.structure-row > span {
  color: var(--muted);
}
.structure-row label {
  font-size: 10px;
}
.structure-row small {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.structure-row > div {
  display: flex;
  gap: 5px;
}
.structure-row button {
  padding: 7px 10px;
}
.inline-check {
  display: flex;
  align-items: center;
  gap: 7px;
}
.inline-check input {
  width: 15px;
  accent-color: var(--accent);
}
.brand-image-preview {
  height: 100px;
  display: grid;
  place-items: center;
  background: #e6e6e6;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px;
}
.brand-image-preview img {
  max-width: 100%;
  max-height: 65px;
  object-fit: contain;
}
.brand-image-preview:has(img[src*='light']) {
  background: #121212;
}
input[type='color'] {
  height: 54px;
  cursor: pointer;
}
.search-result-preview {
  padding: 25px;
  border: 1px dashed var(--line);
  border-radius: 12px;
}
.search-result-preview span {
  font-size: 11px;
  color: var(--muted);
}
.search-result-preview h3 {
  margin: 9px 0;
  color: #3257a9;
  font-size: 20px;
}
.search-result-preview p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  color: var(--muted);
}
.file-workspace {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.file-folders {
  padding: 18px 10px;
  position: sticky;
  top: 0;
  max-height: 78dvh;
  overflow: auto;
}
.file-folders h3 {
  padding-left: 10px;
  font-size: 13px;
}
.file-folders button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px;
  font-size: 11px;
}
.file-folders button svg {
  width: 17px;
  height: 17px;
  flex: none;
  color: var(--muted);
}
.file-folders button span {
  overflow-wrap: anywhere;
  min-width: 0;
}
.file-folders button.active {
  background: var(--soft);
  color: var(--teal);
}
.file-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
}
.file-toolbar input {
  flex: 1;
  min-width: 0;
}
.file-toolbar select {
  width: 160px;
  font-size: 12px;
}
.file-path {
  font-size: 10px;
  color: var(--muted);
  padding: 18px 0;
}
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 15px;
  min-height: 180px;
}
.file-grid.drag-over {
  outline: 2px dashed var(--accent);
  outline-offset: 10px;
  background: var(--soft);
}
.media-file {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: stretch;
  text-align: left;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: var(--surface);
  color: var(--text);
}
.media-file:hover {
  border-color: var(--accent);
}
.media-file strong {
  font-size: 10px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.media-file small {
  font-size: 9px;
  color: var(--muted);
}
.media-file-cover {
  height: 115px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-radius: 7px;
  overflow: hidden;
}
.media-file-cover > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.media-file-cover > span,
.file-symbol {
  font-size: 36px;
  color: var(--muted);
  text-align: center;
}
.file-drop-help {
  font-size: 10px;
  margin-top: 25px;
}
.file-upload {
  position: relative;
  overflow: hidden;
  font-size: 12px;
  padding: 11px 16px;
  border-radius: 8px;
  cursor: pointer;
}
.file-upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.file-top-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.file-top-actions > button {
  font-size: 12px;
}
.media-inspect-preview {
  height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--bg);
  border-radius: 10px;
  margin-bottom: 20px;
}
.media-inspect-preview img,
.media-inspect-preview video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.media-inspect-preview audio {
  max-width: 100%;
}
.menu-links a[hidden],
.site-footer-social a[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .file-workspace {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .structure-row {
    grid-template-columns: 20px 1fr auto auto;
  }
  .structure-row small {
    display: none;
  }
  .dashboard-shell {
    grid-template-columns: 225px minmax(0, 1fr);
  }
  .dashboard-shell.sidebar-compact {
    grid-template-columns: 78px minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .dashboard-shell,
  .dashboard-shell.sidebar-compact {
    display: block;
    width: 100%;
    height: 100dvh;
  }
  .dashboard-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 270px;
    height: 100dvh;
    z-index: 50;
  }
  .sidebar-compact #companySelector strong,
  .sidebar-compact .company-chevron,
  .sidebar-compact #dashboardNav a span,
  .sidebar-compact #dashboardNav p,
  .sidebar-compact .sidebar-wabo,
  .sidebar-compact .sidebar-bottom > a,
  .sidebar-compact .sidebar-bottom > button,
  .sidebar-compact #navSearch {
    display: revert;
  }
  .sidebar-compact .sidebar-top {
    display: flex;
    margin: 0 -5px 22px;
  }
  .sidebar-compact #companySelector {
    display: flex;
    flex: 1;
    width: auto;
  }
  .sidebar-compact #dashboardNav a {
    justify-content: flex-start;
  }
  .sidebar-compact .nav-search {
    background: none;
  }
  .sidebar-compact .nav-search > span {
    left: 12px;
    top: 10px;
  }
  #collapseSidebar {
    display: none;
  }
  .dashboard-header {
    padding: 16px;
  }
  .session-meta #serverIP {
    display: none;
  }
  #view {
    padding: 20px 16px;
  }
  .file-workspace {
    grid-template-columns: 1fr;
  }
  .file-folders {
    position: static;
    max-height: 160px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .file-folders h3 {
    width: 100%;
    margin-bottom: 8px;
  }
  .file-folders button {
    width: auto;
    max-width: 180px;
    border: 1px solid var(--line);
    font-size: 10px;
    padding: 7px;
  }
  .file-folders button svg {
    display: none;
  }
  .file-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .file-toolbar {
    gap: 8px;
  }
  .file-toolbar select {
    width: 125px;
    font-size: 10px;
    padding: 12px 8px;
  }
  .structure-row {
    grid-template-columns: 15px 1fr auto;
    gap: 9px;
  }
  .structure-row .inline-check {
    grid-column: 2;
    grid-row: 2;
  }
  .structure-row > div {
    grid-column: 3;
    grid-row: 1/3;
    flex-direction: column;
  }
  .workspace-dialog {
    padding: 20px;
  }
  .media-inspect-preview {
    height: 220px;
  }
  .dashboard-shell.nav-open .dashboard-sidebar {
    display: flex;
  }
  .brand-image-preview {
    height: 90px;
  }
}
.dashboard-sidebar,
.dashboard-body #view {
  scrollbar-width: thin;
  scrollbar-color: #8a8a8a transparent;
}
.dashboard-sidebar::-webkit-scrollbar,
#view::-webkit-scrollbar {
  width: 5px;
}
.dashboard-sidebar::-webkit-scrollbar-thumb,
#view::-webkit-scrollbar-thumb {
  background: #777;
  border-radius: 5px;
}
.sidebar-top {
  position: sticky;
  top: 0;
  z-index: 6;
  background: var(--sidebar);
  padding: 6px 0;
}
.nav-search {
  position: sticky;
  top: 48px;
  z-index: 5;
  background: var(--sidebar);
}
:root[data-theme='dark'] .nav-search input {
  background: #26292d;
}
.sidebar-compact .nav-search {
  top: 88px;
}
/* Keep workspace controls fixed while the navigation list scrolls. */
.dashboard-sidebar {
  overflow: hidden;
}
.dashboard-sidebar > * {
  flex-shrink: 0;
}
.sidebar-top {
  position: relative;
  top: auto;
  margin-bottom: 14px;
}
.nav-search,
.sidebar-compact .nav-search {
  position: relative;
  top: auto;
}
.dashboard-sidebar #dashboardNav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  margin-top: 12px;
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}
.sidebar-bottom {
  flex: none;
  margin-top: 0;
  padding-top: 12px;
}
.dashboard-sidebar #dashboardNav::-webkit-scrollbar {
  width: 4px;
}
.dashboard-sidebar #dashboardNav::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
/* Dashboard navigation, account and release footer. */
:root[data-theme='dark'] {
  --bg: #000;
  --surface: #000;
  --sidebar: #000;
  --canvas: #000;
  --line: #292929;
}
.header-open-site {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
  color: var(--text);
  white-space: nowrap;
}
.header-open-site svg,
.sidebar-open-site svg {
  width: 17px;
  height: 17px;
}
.sidebar-open-site {
  display: grid;
  place-items: center;
  width: 24px;
  height: 34px;
  flex: none;
  color: var(--muted);
}
.sidebar-top {
  gap: 2px;
}
#companySelector strong {
  font-size: 10px;
}
.nav-search {
  display: flex;
  align-items: center;
  min-height: 40px;
}
.nav-search > span,
.sidebar-compact .nav-search > span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  pointer-events: none;
}
.nav-search input {
  padding-left: 36px;
}
.sidebar-bottom [data-logout] {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-bottom [data-logout] svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.sidebar-compact .sidebar-top {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
}
.sidebar-compact #collapseSidebar {
  order: -3;
}
.sidebar-compact #notificationToggle {
  order: -2;
}
.sidebar-compact #companySelector {
  order: -1;
}
.sidebar-compact .sidebar-open-site {
  order: 0;
}
.sidebar-compact .sidebar-bottom > [data-logout] {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: auto;
  padding: 8px;
}
.sidebar-compact [data-logout] span {
  display: none;
}
.sidebar-compact .nav-search > span {
  left: 50%;
  transform: translate(-50%, -50%);
}
.dashboard-footer {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 13px 28px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
}
.dashboard-footer .wabo-logo {
  font-size: 14px;
  color: var(--text);
}
.dashboard-footer .wabo-logo > span {
  font-size: 7px;
}
.dashboard-footer .wabo-logo small {
  font-size: 8px;
}
.footer-language {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.footer-language select {
  width: auto;
  padding: 6px 22px 6px 8px;
  font-size: 10px;
}
.dashboard-account-menu {
  position: fixed;
  right: 24px;
  top: 76px;
  z-index: 110;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 15px 50px #0004;
  width: 250px;
  padding: 20px;
}
.dashboard-account-menu > strong {
  display: block;
  font-size: 18px;
  margin-bottom: 12px;
}
.dashboard-account-menu > a,
.dashboard-account-menu > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  font-size: 12px;
  background: none;
}
.dashboard-account-menu label {
  font-size: 11px;
  margin: 12px 0;
}
.account-extra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
  align-items: start;
}
.account-extra-grid h3 {
  font-size: 22px;
}
.theme-manager {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
  gap: 24px;
}
.theme-swatch {
  height: 190px;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-bottom: 24px;
  border-bottom: 6px solid #de2036;
}
.theme-swatch > span {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.07em;
}
.theme-swatch strong {
  font-size: 20px;
}
.login-ag-logo {
  width: 230px;
  max-width: 70%;
  height: auto;
}
.login-wabo-logo {
  margin-top: auto;
}
.login-art > span {
  display: none;
}
.website-card {
  min-height: 0 !important;
  align-self: start;
}
.site-screen {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-sizing: content-box;
  padding: 0 !important;
}
.site-screen iframe {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
}
.site-screen[data-device='mobile'] {
  width: min(100%, 390px);
  aspect-ratio: 390/844;
  margin-inline: auto;
}
.floating-preview-tools {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  margin: 18px auto 0;
  width: fit-content;
}
.login-main,
:root[data-theme='dark'] .login-main {
  background: var(--surface);
}
@media (max-width: 1000px) {
  .header-open-site > span {
    display: none;
  }
  .dashboard-footer {
    padding: 12px 18px;
  }
  .release-details {
    max-width: 300px;
    line-height: 1.6;
  }
  .website-card {
    min-height: 0 !important;
  }
}
@media (max-width: 760px) {
  .account-extra-grid,
  .theme-manager {
    grid-template-columns: 1fr;
  }
  .dashboard-footer {
    gap: 8px;
    font-size: 8px;
  }
  .dashboard-footer .release-details {
    width: 100%;
    order: 4;
  }
  .dashboard-footer time {
    font-size: 8px;
  }
  .dashboard-account-menu {
    top: 70px;
    right: 15px;
  }
  .sidebar-compact .sidebar-top {
    flex-direction: row;
    gap: 2px;
  }
  .sidebar-compact #collapseSidebar {
    display: none;
  }
  .sidebar-compact #companySelector {
    order: 0;
  }
  .sidebar-compact .sidebar-bottom > [data-logout] {
    display: flex;
    width: 100%;
    height: auto;
  }
  .sidebar-compact [data-logout] span {
    display: inline;
  }
  .sidebar-compact .nav-search > span {
    left: 12px;
    transform: translateY(-50%);
  }
  .session-meta {
    gap: 6px;
  }
  .header-open-site {
    padding: 7px;
  }
}
/* Connected management tools. */
.header-qr {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  padding: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 7px;
}
.header-qr svg {
  width: 20px;
  height: 20px;
}
.platform-dialog {
  width: min(680px, calc(100vw - 28px));
  max-height: 90dvh;
  overflow: auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  font-family: inherit;
}
.platform-dialog::backdrop {
  background: #0009;
  backdrop-filter: blur(4px);
}
.platform-dialog header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}
.platform-dialog h2 {
  font-size: 24px;
  margin: 0;
}
.platform-dialog footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.qr-dialog {
  width: 390px;
  text-align: center;
}
.qr-dialog > img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 15px auto;
  background: white;
  border-radius: 8px;
}
.qr-dialog > a {
  display: block;
  overflow-wrap: anywhere;
  font-size: 11px;
  color: var(--accent);
  margin: 15px 0 20px;
}
.qr-dialog label {
  font-size: 11px;
  text-align: left;
}
.qr-dialog > p {
  font-size: 12px;
  line-height: 1.6;
}
.platform-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.platform-toolbar h3,
.platform-toolbar p {
  margin: 0;
  flex: 1;
}
.platform-toolbar p {
  font-size: 12px;
}
.menu-editor-node {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 16px;
  margin: 15px 0;
}
.menu-editor-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 0.7fr;
  gap: 14px;
  align-items: end;
}
.menu-editor-row label {
  font-size: 11px;
}
.menu-editor-row .row-actions {
  grid-column: 1/-1;
  justify-content: flex-end;
}
.menu-editor-children {
  padding-left: 20px;
}
.row-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.row-actions button {
  font-size: 11px;
  padding: 8px 12px;
}
.footer-editor-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr auto;
  gap: 12px;
  align-items: end;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.footer-editor-row img {
  width: 70px;
  height: 45px;
  object-fit: contain;
  background: #ddd;
  padding: 5px;
  border-radius: 5px;
}
.footer-editor-row:has(img) {
  grid-template-columns: 70px 1fr 1.3fr 1.3fr auto;
}
.footer-editor-row label {
  font-size: 10px;
}
.chat-meta {
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.auto-rule {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}
.auto-rule > button {
  justify-self: end;
}
.marketing-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 24px;
  margin: 24px 0;
}
.campaign-row {
  display: grid;
  width: 100%;
  text-align: left;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 18px 0;
  font-size: 13px;
}
.campaign-row small {
  color: var(--muted);
  font-size: 10px;
}
.user-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-table-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
  font-size: 12px;
  flex: none;
}
.user-table-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.map-admin-preview {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.map-admin-preview > iframe {
  display: block;
  width: 100%;
  height: 340px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 20px;
  background: var(--bg);
}
.map-admin-preview > iframe:not([src]) {
  display: none;
}
.map-admin-preview p {
  font-size: 12px;
  line-height: 1.6;
}
.global-status:not(:empty) {
  animation: admin-toast-in 0.18s ease-out;
  border-left: 4px solid var(--accent);
  box-shadow: 0 10px 40px #0003;
}
.global-status.is-error {
  background: #8a1525;
  color: #fff;
}
.sidebar-bottom [data-logout] svg {
  width: 20px;
  height: 20px;
}
@keyframes admin-toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1100px) {
  .footer-editor-row:has(img) {
    grid-template-columns: 65px 1fr 1fr;
  }
  .footer-editor-row:has(img) .row-actions {
    grid-column: 2/-1;
  }
  .menu-editor-row {
    grid-template-columns: 1fr 1fr;
  }
  .menu-editor-row > label:nth-child(3) {
    grid-column: 1;
  }
  .menu-editor-row .row-actions {
    grid-column: auto;
  }
  .marketing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .menu-editor-row,
  .footer-editor-row,
  .footer-editor-row:has(img) {
    grid-template-columns: 1fr;
  }
  .menu-editor-row .row-actions,
  .footer-editor-row:has(img) .row-actions {
    grid-column: auto;
  }
  .menu-editor-children {
    padding-left: 10px;
  }
  .menu-editor-node {
    padding: 12px;
  }
  .platform-dialog {
    padding: 18px;
  }
  .header-qr {
    width: 30px;
    height: 30px;
    padding: 6px;
  }
  .platform-toolbar {
    gap: 8px;
  }
  .marketing-grid {
    gap: 15px;
  }
  .user-identity {
    min-width: 150px;
  }
  .footer-editor-row > img {
    display: none;
  }
  .map-admin-preview > iframe {
    height: 270px;
  }
}
.promo-settings {
  margin-top: 24px;
}
.catalog-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.catalog-actions button,
.catalog-actions a {
  padding: 10px 14px;
  border: 1px solid var(--line, #ddd);
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}
.catalog-actions a {
  color: inherit;
  text-decoration: none;
}
.page-tools {
  flex-wrap: wrap;
}
.action.is-danger {
  color: #de2036;
}
.platform-dialog textarea {
  width: 100%;
  font: inherit;
  padding: 12px;
  box-sizing: border-box;
}
.action-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px !important;
  width: 40px;
  height: 40px;
  padding: 9px !important;
  flex-shrink: 0;
}
.action-icon svg {
  width: 21px;
  height: 21px;
}
.live-globe {
  padding: 24px;
  overflow: hidden;
  background: linear-gradient(140deg, rgba(227, 27, 61, 0.07), transparent);
}
.live-globe header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.live-globe canvas {
  display: block;
  width: 100%;
  height: 470px;
  touch-action: none;
  cursor: grab;
}
.live-globe canvas:active {
  cursor: grabbing;
}
.live-globe small {
  display: block;
  text-align: center;
  color: var(--muted, #7c858b);
}
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin: 0 7px 0 10px;
}
.live-dot.green {
  background: #30cf8b;
  box-shadow: 0 0 10px #30cf8b55;
}
.live-dot.red {
  background: #ee2445;
  box-shadow: 0 0 10px #ee244555;
}
@media (max-width: 600px) {
  .live-globe {
    padding: 14px;
  }
  .live-globe canvas {
    height: 320px;
  }
}
/* The compact sidebar follows the same reading order as its expanded state. */
.sidebar-top #companySelector {
  order: 0;
}
.sidebar-top #notificationToggle {
  order: 1;
}
.sidebar-top .sidebar-open-site {
  order: 2;
}
.sidebar-top #collapseSidebar {
  order: 3;
}
.action-icon svg {
  display: block !important;
  flex: none;
  min-width: 21px;
  min-height: 21px;
  stroke: currentColor;
  overflow: visible;
}
#dashboardNav a[hidden] {
  display: none !important;
}
.live-country-flag {
  font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 22px;
  vertical-align: middle;
}
.live-device {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
#liveMapNote {
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.team-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: start;
}
.team-thread {
  padding: 0;
  overflow: hidden;
}
.team-thread > header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line, #ddd);
}
.team-thread h3 {
  margin: 0 0 6px;
}
.team-thread > header small {
  color: var(--muted, #77818b);
}
.team-messages {
  min-height: 280px;
  height: 48vh;
  max-height: 620px;
  overflow: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-message {
  padding: 14px 16px;
  background: var(--bg, #f4f4f4);
  border: 1px solid var(--line, #ddd);
  border-radius: 8px;
  max-width: 86%;
  align-self: flex-start;
}
.team-message.is-mine {
  align-self: flex-end;
  border-color: #de203650;
  background: #de20360b;
}
.team-message header {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.team-message time {
  font-size: 12px;
  color: var(--muted, #77818b);
}
.team-message p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0 0;
}
.team-thread form {
  padding: 20px 24px;
  border-top: 1px solid var(--line, #ddd);
}
.team-thread textarea {
  width: 100%;
  resize: vertical;
  font: inherit;
  padding: 12px;
  background: var(--bg, #fff);
  color: inherit;
  border: 1px solid var(--line, #ddd);
  border-radius: 6px;
}
.team-thread form footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.team-people {
  padding: 24px;
}
.live-unmapped {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.live-unmapped > span {
  border: 1px solid var(--line, #ddd);
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 13px;
}
@media (max-width: 800px) {
  .team-workspace {
    grid-template-columns: 1fr;
  }
  .team-people {
    grid-row: 1;
  }
  .team-message {
    max-width: 95%;
  }
}
.theme-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 1fr);
  padding: 0;
  overflow: hidden;
}
.theme-package-cover {
  position: relative;
  min-height: 310px;
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  padding: 50px;
}
.theme-package-cover img {
  width: 75%;
  max-height: 110px;
  object-fit: contain;
}
.theme-package-cover > span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  background: #de2036;
  color: white;
  padding: 7px 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
}
.theme-package-info {
  padding: 30px;
}
.theme-package-info h2 {
  margin: 7px 0 14px;
}
.theme-active-label {
  color: #de2036;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.theme-package-info dl {
  margin: 22px 0;
}
.theme-package-info dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line, #ddd);
  font-size: 13px;
}
.theme-package-info dd {
  margin: 0;
  text-align: right;
}
.theme-package-info dt {
  color: var(--muted, #77818b);
}
.theme-tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.theme-tools-grid > a {
  color: inherit;
  text-decoration: none;
  padding: 20px;
}
.theme-tools-grid h3 {
  margin: 0 0 8px;
}
.theme-tools-grid p {
  margin: 0;
  font-size: 14px;
  color: var(--muted, #77818b);
}
.theme-settings {
  padding: 18px 22px;
  margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.theme-settings summary {
  cursor: pointer;
  font-weight: 700;
}
.theme-settings form {
  margin-top: 20px;
}
.theme-season-option {
  font-size: 14px;
}
@media (max-width: 800px) {
  .theme-overview {
    grid-template-columns: 1fr;
  }
  .theme-package-cover {
    min-height: 230px;
  }
  .theme-tools-grid {
    grid-template-columns: 1fr;
  }
  .theme-package-info {
    padding: 22px;
  }
}
