:root {
  --color: #1e9e6f;
  --auth-primary: #16325c;
  --auth-text: #1f2937;
  --auth-muted: #667085;
  --auth-border: #dde5ee;
  --auth-surface: #ffffff;
  --auth-soft: #f8fbff;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  background: #f4f6f9;
  color: #1f2937;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 32px;
  font-weight: 800;
}

.user-block {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-switcher button {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.theme-switcher button[data-theme="green"] { background: #1e9e6f; }
.theme-switcher button[data-theme="blue"] { background: #2563eb; }
.theme-switcher button[data-theme="orange"] { background: #ea580c; }
.theme-switcher button[data-theme="purple"] { background: #7c3aed; }

.nav {
  border-top: 1px solid #eee;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 15px 0;
  margin: 0;
}

.nav ul li {
  position: relative;
}

.nav ul li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  color: #111827;
}

.nav ul li a:hover {
  color: var(--color);
}

.nav ul li ul {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  background: white;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  min-width: 200px;
}

.nav ul li:hover ul {
  display: block;
}

.nav ul li ul li {
  padding: 5px 0;
}

.main {
  margin-top: 30px;
}

.content-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.content-card img {
  max-width: 100%;
  border-radius: 12px;
}

.footer {
  margin-top: 50px;
  padding: 30px 0;
  background: white;
  border-top: 1px solid #eee;
}

/* Themes */
.theme-green { --color: #1e9e6f; }
.theme-blue { --color: #2563eb; }
.theme-orange { --color: #ea580c; }
.theme-purple { --color: #7c3aed; }

/* Auth pages */
.auth-shell {
  max-width: 980px;
  margin: 0 auto;
}

.auth-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 30px 32px;
  margin-bottom: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(30, 158, 111, .22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.94));
  border: 1px solid rgba(30, 158, 111, .14);
  box-shadow: 0 16px 40px rgba(15, 23, 42, .08);
}

.auth-hero-copy {
  position: relative;
  z-index: 1;
}

.auth-hero-side {
  position: relative;
  z-index: 1;
}

.auth-kicker {
  margin: 0 0 10px;
  color: var(--color);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.auth-title {
  margin: 0 0 12px;
  color: var(--auth-primary);
  font-size: 44px;
  line-height: 1.08;
  font-weight: 800;
}

.auth-lead {
  margin: 0;
  max-width: 690px;
  color: #475467;
  font-size: 18px;
  line-height: 1.7;
}

.auth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(22, 50, 92, .09);
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.auth-badge {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 44px rgba(15, 23, 42, .12);
  font-size: 36px;
}

.auth-badge-large {
  width: 92px;
  height: 92px;
  font-size: 40px;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: 22px;
  align-items: start;
}

.auth-form-card,
.auth-side-card,
.auth-success-box {
  border-radius: 28px;
  background: var(--auth-surface);
  border: 1px solid #e8eef5;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .08);
}

.auth-form-card {
  padding: 24px;
}

.auth-form-compact {
  padding-bottom: 22px;
}

.auth-panel {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid var(--auth-border);
  background: #ffffff;
}

.auth-panel + .auth-panel {
  margin-top: 18px;
}

.auth-panel-accent {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-color: #dbe6f2;
}

.auth-panel-soft {
  background: #fbfcfe;
}

.auth-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.auth-section-title {
  margin: 0;
  color: var(--auth-primary);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.auth-section-text {
  margin: 6px 0 0;
  color: var(--auth-muted);
  font-size: 15px;
  line-height: 1.6;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.auth-grid-login {
  grid-template-columns: 1fr;
}

.auth-wide {
  grid-column: 1 / -1;
}

.auth-info-banner {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f6fbff, #f9fafb);
  border: 1px solid #d7e5f3;
}

.auth-info-banner-warning {
  background: linear-gradient(135deg, #fff9ec, #fffdf7);
  border-color: #f3d9a5;
}

.auth-info-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
  font-size: 24px;
}

.auth-info-banner strong {
  display: block;
  color: var(--auth-primary);
  font-size: 16px;
  margin-bottom: 4px;
}

.auth-info-banner p {
  margin: 0;
  color: #475467;
  line-height: 1.65;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-links-stack {
  flex-direction: column;
  align-items: stretch;
}

.auth-links a,
.auth-muted-link,
.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #f2f6fa;
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
}

.auth-links a:hover,
.auth-muted-link:hover,
.auth-button:hover {
  background: var(--color);
  color: #ffffff;
  transform: translateY(-1px);
}

.auth-card .control-group,
.auth-form-card .control-group {
  margin: 0;
}

.auth-form-card .control-label {
  margin-bottom: 8px;
}

.auth-form-card label {
  display: inline-block;
  color: #243247;
  font-size: 15px;
  font-weight: 700;
}

.auth-form-card input[type="text"],
.auth-form-card input[type="email"],
.auth-form-card input[type="password"],
.auth-form-card input[type="tel"] {
  width: 100%;
  box-sizing: border-box;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d6dee9;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  font-size: 16px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.auth-form-card input::placeholder {
  color: #98a2b3;
}

.auth-form-card input:hover {
  border-color: #c3d1e1;
}

.auth-form-card input:focus {
  outline: none;
  background: #fff;
  border-color: var(--color);
  box-shadow: 0 0 0 5px rgba(30, 158, 111, .12);
}

.auth-form-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.auth-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.auth-check-row .control-label,
.auth-check-row .controls {
  margin: 0;
}

.auth-form-card .help-block,
.auth-form-card .form-text,
.auth-form-card .muted {
  display: block;
  margin-top: 7px;
  color: #667085;
  font-size: 13px;
  line-height: 1.5;
}

.auth-form-card fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.auth-form-card .star {
  color: #dc2626;
}

.auth-form-card .btn,
.auth-form-card button,
.auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--auth-primary);
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease;
}

.auth-form-card .btn-primary,
.auth-form-card button.btn-primary,
.auth-button-primary {
  background: linear-gradient(135deg, var(--color), #28b17f);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(30, 158, 111, .24);
}

.auth-form-card .btn:hover,
.auth-form-card button:hover,
.auth-button:hover {
  transform: translateY(-1px);
}

.auth-side-card {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
}

.auth-side-title {
  margin: 0 0 16px;
  color: var(--auth-primary);
  font-size: 22px;
}

.auth-check-list {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.auth-check-list li {
  position: relative;
  padding-left: 28px;
  color: #475467;
  line-height: 1.6;
}

.auth-check-list li + li {
  margin-top: 12px;
}

.auth-check-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30, 158, 111, .12);
  color: var(--color);
  font-size: 12px;
  font-weight: 800;
}

.auth-success-box {
  position: relative;
  padding: 28px;
  background: linear-gradient(135deg, #ffffff, #f8fffb);
  border-color: rgba(30, 158, 111, .18);
}

.auth-success-box-large {
  padding-left: 110px;
}

.auth-success-icon {
  position: absolute;
  top: 26px;
  left: 28px;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(30, 158, 111, .12);
  color: var(--color);
  font-size: 28px;
  font-weight: 800;
}

.auth-success-box p {
  margin: 8px 0 0;
  color: #475467;
  font-size: 16px;
  line-height: 1.7;
}

.auth-steps {
  margin: 16px 0 0;
  padding-left: 20px;
  color: #344054;
}

.auth-steps li + li {
  margin-top: 8px;
}

#system-message-container .alert,
.alert-message,
.alert-warning,
.alert-error {
  position: relative;
  border: 1px solid #f1d29d;
  border-radius: 22px;
  padding: 20px 22px 20px 70px;
  background: linear-gradient(135deg, #fff8ec, #fffdf8);
  color: #7c4a03;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
  line-height: 1.7;
}

#system-message-container .alert:before,
.alert-message:before,
.alert-warning:before,
.alert-error:before {
  content: "!";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: #b45309;
  font-size: 20px;
  font-weight: 800;
}

#system-message-container .alert h4,
.alert-heading {
  margin: 0 0 8px;
  color: #7c4a03;
}

@media (max-width: 920px) {
  .auth-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 14px;
  }

  .header-row {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }

  .user-block {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav ul {
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 13px;
  }

  .main {
    margin-top: 18px;
  }

  .content-card {
    padding: 18px;
    border-radius: 18px;
  }

  .auth-hero {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    border-radius: 22px;
  }

  .auth-badge,
  .auth-badge-large {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    font-size: 28px;
  }

  .auth-title {
    font-size: 34px;
  }

  .auth-lead {
    font-size: 16px;
  }

  .auth-form-card,
  .auth-side-card,
  .auth-success-box {
    border-radius: 22px;
  }

  .auth-form-card {
    padding: 18px;
  }

  .auth-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .auth-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auth-info-banner {
    grid-template-columns: 1fr;
  }

  .auth-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-actions .btn,
  .auth-actions .auth-muted-link,
  .auth-actions button,
  .auth-actions .auth-button {
    width: 100%;
  }

  .auth-success-box-large {
    padding-left: 18px;
    padding-top: 88px;
  }

  .auth-success-icon {
    top: 18px;
    left: 18px;
  }
}

/* Zooshow cabinet UI: same visual language as auth pages */
:root {
  --zs-cabinet-blue: #16325c;
  --zs-cabinet-text: #1f2937;
  --zs-cabinet-muted: #667085;
  --zs-cabinet-border: #dfe8f2;
  --zs-cabinet-soft: #f7fbff;
  --zs-cabinet-shadow: 0 18px 48px rgba(15, 23, 42, .08);
  --zs-cabinet-soft-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

/* Main cabinet wrappers */
body .ds-wrap,
body .showx-wrap,
body .org-wrap,
body .zs-home,
body .photoshow-show-photographers,
body .ps-order-toolbar,
body .ps-order-box,
body .ps-order-empty,
body .ps-order-grid,
body .ps-order-nav {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
}

body .ds-wrap,
body .showx-wrap,
body .org-wrap,
body .zs-home {
  max-width: 1180px !important;
  margin: 0 auto 28px !important;
}

/* Hero/header areas */
body .ds-head,
body .showx-head,
body .org-top,
body .zs-home > h1:first-child {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 158, 111, .14) !important;
  border-radius: 28px !important;
  background: radial-gradient(circle at top right, rgba(30, 158, 111, .22), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.94)) !important;
  box-shadow: var(--zs-cabinet-shadow) !important;
}

body .ds-head,
body .showx-head,
body .org-top {
  padding: 28px 30px !important;
  margin-bottom: 22px !important;
}

body .zs-home > h1:first-child {
  display: block;
  padding: 30px 32px !important;
  margin: 0 0 22px !important;
  color: var(--zs-cabinet-blue) !important;
  font-size: 40px !important;
  line-height: 1.12 !important;
  font-weight: 850 !important;
}

body .ds-head h2,
body .showx-title,
body .org-title {
  margin: 0 0 10px !important;
  color: var(--zs-cabinet-blue) !important;
  font-size: 36px !important;
  line-height: 1.1 !important;
  font-weight: 850 !important;
  letter-spacing: -.02em;
}

body .ds-head h2:before,
body .showx-title:before,
body .org-title:before {
  content: "Личный кабинет";
  display: block;
  margin-bottom: 12px;
  color: var(--color);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .showx-title:before { content: "Управление выставкой"; }
body .org-title:before { content: "Мои мероприятия"; }

body .ds-muted,
body .showx-sub,
body .org-sub,
body .ps-order-sub,
body .muted,
body small.ds-muted {
  color: var(--zs-cabinet-muted) !important;
  line-height: 1.65 !important;
}

body .ds-head .ds-muted,
body .showx-sub,
body .org-sub {
  font-size: 16px !important;
}

/* Tabs */
body .ds-tabs {
  display: flex !important;
  gap: 10px !important;
  margin: 0 0 22px !important;
  padding: 8px !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: var(--zs-cabinet-soft-shadow) !important;
}

body .ds-tab {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: #f4f7fb !important;
  color: var(--zs-cabinet-blue) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease !important;
}

body .ds-tab:hover {
  transform: translateY(-1px);
  background: #eef5fb !important;
}

body .ds-tab.active {
  background: linear-gradient(135deg, var(--color), #28b17f) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(30, 158, 111, .22) !important;
}

/* Cards and panels */
body .ds-card,
body .ds-sidecard,
body .ds-photo-card,
body .ds-photo-list,
body .ds-photo-album,
body .org-card,
body .showx-panel,
body .showx-doc-layer,
body .showx-editor,
body .showx-template-preview,
body .reg-field,
body .ps-order-box,
body .ps-order-card,
body .well,
body .content-card .wrap .card,
body .content-card .wrap .filters {
  border: 1px solid #e8eef5 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: var(--zs-cabinet-soft-shadow) !important;
}

body .ds-card,
body .ds-sidecard,
body .ds-photo-card,
body .ds-photo-list,
body .org-card,
body .showx-panel,
body .showx-doc-layer,
body .reg-field,
body .ps-order-box,
body .ps-order-card,
body .well,
body .content-card .wrap .card,
body .content-card .wrap .filters {
  padding: 20px !important;
}

body .ds-sidecard h4,
body .ds-photo-list h4,
body .org-name,
body .showx-card h3,
body .showx-section-title,
body .auth-side-title,
body .content-card .wrap .title,
body .ps-order-name {
  color: var(--zs-cabinet-blue) !important;
  font-weight: 850 !important;
}

body .showx-card h3,
body .showx-section-title,
body .ds-photo-list h4,
body .content-card .wrap .title {
  font-size: 24px !important;
  line-height: 1.2 !important;
}

/* Participant split and side cards */
body .ds-part {
  gap: 22px !important;
}

body .ds-part-side {
  width: 340px !important;
  flex-basis: 340px !important;
}

body .ds-side-list {
  gap: 10px !important;
}

body .ds-side-list li,
body .auth-check-list li {
  line-height: 1.6 !important;
}

body .ds-side-list a,
body .ps-order-links a,
body .link {
  color: #2563eb !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

body .ds-side-list a:hover,
body .ps-order-links a:hover,
body .link:hover {
  color: var(--color) !important;
  text-decoration: none !important;
}

/* Tables */
body .ds-table,
body .content-card .wrap .table,
body table.table,
body table.table-striped {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  box-shadow: var(--zs-cabinet-soft-shadow) !important;
}

body .tableWrap {
  border-radius: 22px !important;
  overflow: auto !important;
  box-shadow: var(--zs-cabinet-soft-shadow) !important;
}

body .ds-table th,
body .ds-table td,
body .content-card .wrap .table th,
body .content-card .wrap .table td,
body table.table th,
body table.table td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #edf2f7 !important;
  color: var(--zs-cabinet-text) !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body .ds-table th,
body .content-card .wrap .table th,
body table.table th {
  background: linear-gradient(180deg, #fbfdff, #f4f8fc) !important;
  color: #344054 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
}

body .ds-table tr:hover td,
body .content-card .wrap .table tr:hover td,
body table.table tr:hover td {
  background: #fbfdff !important;
}

/* Buttons */
body .ds-btn,
body .org-btn,
body .showx-btn,
body .btn2,
body .btn,
body .act,
body .doc,
body .ps-order-toolbar .btn,
body .ps-order-box .btn,
body .photoshow-show-photographers .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid #dbe6f2 !important;
  border-radius: 999px !important;
  background: #f4f7fb !important;
  color: var(--zs-cabinet-blue) !important;
  font-size: 13px !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: transform .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease, border-color .15s ease !important;
}

body .ds-btn:hover,
body .org-btn:hover,
body .showx-btn:hover,
body .btn2:hover,
body .btn:hover,
body .act:hover,
body .doc:hover,
body .ps-order-toolbar .btn:hover,
body .ps-order-box .btn:hover,
body .photoshow-show-photographers .btn:hover {
  transform: translateY(-1px) !important;
  border-color: #c8d5e6 !important;
  background: #eef5fb !important;
  text-decoration: none !important;
}

body .ds-btn.green,
body .org-btn.primary,
body .showx-btn.primary,
body .btn2--primary,
body .btn-success,
body .act-ok {
  background: linear-gradient(135deg, var(--color), #28b17f) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(30, 158, 111, .22) !important;
}

body .ds-btn.red,
body .showx-btn.danger,
body .btn-danger,
body .act-bad {
  background: #fff5f5 !important;
  border-color: #ffd0d0 !important;
  color: #9f1d1d !important;
}

body .org-btn.mini,
body .showx-btn.mini,
body .ds-btn.mini,
body .btn-small {
  min-height: 36px !important;
  padding: 0 12px !important;
  font-size: 12px !important;
}

/* Badges and statuses */
body .ds-badge,
body .org-badge,
body .showx-badge,
body .ds-pill,
body .badge,
body .st,
body .ds-order-pill,
body .showx-now,
body .org-count {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 28px !important;
  padding: 0 10px !important;
  border-radius: 999px !important;
  border: 1px solid #dbe6f2 !important;
  background: #f5f8fb !important;
  color: #475467 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
}

body .ds-badge.ok,
body .showx-badge.ok,
body .org-badge.ok,
body .act-ok {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #067647 !important;
}

body .ds-badge.warn,
body .showx-badge.warn,
body .org-badge.warn,
body .ds-warn,
body .warn {
  background: #fff7ed !important;
  border-color: #fed7aa !important;
  color: #9a3412 !important;
}

body .ds-badge.no,
body .showx-badge.danger,
body .org-badge.no,
body .badge.rejected,
body .st.rejected {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  color: #991b1b !important;
}

/* Forms */
body .showx-input,
body .reg-field input[type="text"],
body .reg-field input[type="email"],
body .reg-field input[type="password"],
body .reg-field input[type="tel"],
body .content-card .wrap input[type="text"],
body .content-card .wrap input[type="email"],
body .content-card .wrap input[type="password"],
body .content-card .wrap input[type="tel"],
body .content-card .wrap select,
body .content-card .wrap textarea,
body .ds-wrap input[type="text"],
body .ds-wrap input[type="email"],
body .ds-wrap input[type="password"],
body .ds-wrap input[type="tel"],
body .ds-wrap select,
body .ds-wrap textarea,
body .ps-order-filter select,
body .ps-order-filter button,
body .ps-order-form-grid input,
body .ps-order-form-grid select,
body .ps-order-form-grid textarea,
body .ps-order-delivery-grid input,
body .ps-order-delivery-grid select,
body .ps-order-delivery-grid textarea {
  min-height: 46px !important;
  padding: 11px 13px !important;
  border: 1px solid #d6dee9 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 15px !important;
  box-sizing: border-box !important;
  transition: border-color .15s ease, box-shadow .15s ease !important;
}

body .showx-input:focus,
body .reg-field input:focus,
body .content-card .wrap input:focus,
body .content-card .wrap select:focus,
body .content-card .wrap textarea:focus,
body .ds-wrap input:focus,
body .ds-wrap select:focus,
body .ds-wrap textarea:focus,
body .ps-order-form-grid input:focus,
body .ps-order-form-grid select:focus,
body .ps-order-form-grid textarea:focus,
body .ps-order-delivery-grid input:focus,
body .ps-order-delivery-grid select:focus,
body .ps-order-delivery-grid textarea:focus {
  outline: none !important;
  border-color: var(--color) !important;
  box-shadow: 0 0 0 5px rgba(30, 158, 111, .12) !important;
}

body .showx-control-title,
body .reg-title,
body .showx-mini-label,
body .content-card .wrap label,
body .ds-wrap label {
  color: #243247 !important;
  font-weight: 850 !important;
}

body .showx-help,
body .reg-links,
body .showx-editor-hint {
  color: var(--zs-cabinet-muted) !important;
  line-height: 1.55 !important;
}

/* Organizer cards */
body .org-grid {
  gap: 18px !important;
}

body .org-card {
  overflow: hidden !important;
}

body .org-card .head {
  padding: 0 !important;
  margin-bottom: 18px !important;
}

body .org-thumb {
  width: 82px !important;
  height: 82px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: radial-gradient(circle at top right, rgba(30,158,111,.24), transparent 45%), linear-gradient(135deg, #ffffff, #eef7ff) !important;
  box-shadow: 0 14px 30px rgba(15,23,42,.09) !important;
  color: var(--color) !important;
}

body .org-body {
  padding: 0 !important;
}

body .org-row,
body .showx-line,
body .showx-passitem,
body .showx-control-field,
body .showx-deadline,
body .ds-photo-stat,
body .ps-order-file,
body .ps-order-thumb {
  border: 1px solid #edf2f7 !important;
  border-radius: 18px !important;
  background: #fbfdff !important;
}

body .org-row,
body .showx-line,
body .showx-passitem,
body .showx-control-field,
body .showx-deadline,
body .ds-photo-stat {
  padding: 14px !important;
}

/* Show management */
body .showx-hero,
body .showx-grid {
  gap: 18px !important;
}

body .showx-stat,
body .ds-photo-kpi,
body .ds-photo-stat strong {
  color: var(--zs-cabinet-blue) !important;
  font-weight: 850 !important;
}

body .showx-stat {
  font-size: 42px !important;
}

body .showx-passport {
  gap: 14px !important;
}

body .showx-doc-layer summary {
  padding: 20px !important;
  color: var(--zs-cabinet-blue) !important;
  font-size: 20px !important;
}

body .showx-doc-inner {
  padding: 0 20px 20px !important;
}

body .showx-print-card {
  min-height: 74px !important;
  padding: 12px !important;
  border: 1px solid #dfe8f2 !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  box-shadow: 0 8px 20px rgba(15,23,42,.04) !important;
}

body .showx-print-card:hover {
  transform: translateY(-1px) !important;
  border-color: #c8d5e6 !important;
}

body .showx-editor {
  padding: 18px !important;
  background: #fbfdff !important;
}

/* Registration settings */
body .reg-grid {
  gap: 18px !important;
}

body .reg-check {
  color: var(--zs-cabinet-text) !important;
  font-size: 15px !important;
}

/* Photographer cabinet */
body .ds-photo-grid,
body .ds-photo-columns,
body .ds-photo-albums {
  gap: 18px !important;
}

body .ds-photo-card,
body .ds-photo-list {
  padding: 22px !important;
}

body .ds-photo-album {
  padding: 18px !important;
  background: #fbfdff !important;
}

body .ds-order-thumbs img,
body .ps-order-thumbs img,
body .ps-order-thumb img {
  border-radius: 14px !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.08) !important;
}

/* Entries layout uses generic classes inside .content-card */
body .content-card > .wrap,
body .content-card .wrap {
  max-width: 1240px !important;
  margin: 0 auto !important;
}

body .content-card .wrap .title {
  margin: 0 0 18px !important;
  padding: 26px 28px !important;
  border: 1px solid rgba(30, 158, 111, .14) !important;
  border-radius: 28px !important;
  background: radial-gradient(circle at top right, rgba(30, 158, 111, .22), transparent 34%), linear-gradient(135deg, rgba(255,255,255,.98), rgba(239,246,255,.94)) !important;
  box-shadow: var(--zs-cabinet-shadow) !important;
}

body .content-card .wrap .filters {
  margin-bottom: 18px !important;
}

body .content-card .wrap .filters__row {
  gap: 12px !important;
}

body .content-card .wrap .actions,
body .content-card .wrap .docs,
body .content-card .wrap .btns {
  gap: 8px !important;
}

body .dog {
  color: var(--zs-cabinet-blue) !important;
  font-weight: 850 !important;
}

/* Modals */
body .ds-modal__panel {
  border-radius: 28px !important;
  box-shadow: 0 24px 70px rgba(15,23,42,.28) !important;
}

body .ds-modal__head {
  padding: 16px 18px !important;
  border-bottom: 1px solid #e8eef5 !important;
}

body .ds-modal__title {
  color: var(--zs-cabinet-blue) !important;
  font-size: 18px !important;
}

/* Photo orders pages */
body .ps-order-toolbar,
body .ps-order-empty,
body .ps-order-nav {
  margin-bottom: 18px !important;
  padding: 18px !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: var(--zs-cabinet-soft-shadow) !important;
}

body .ps-order-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 18px !important;
}

body .ps-order-card {
  padding: 18px !important;
}

body .ps-order-meta,
body .ps-order-sub {
  color: var(--zs-cabinet-muted) !important;
  line-height: 1.6 !important;
}

/* Cabinet home */
body .zs-home h2 {
  margin: 22px 0 12px !important;
  color: var(--zs-cabinet-blue) !important;
  font-size: 24px !important;
  font-weight: 850 !important;
}

body .zs-home ul {
  margin: 0 0 18px !important;
  padding: 20px !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: var(--zs-cabinet-soft-shadow) !important;
  list-style: none !important;
}

body .zs-home li + li {
  margin-top: 12px !important;
}

body .zs-home li {
  position: relative !important;
  padding-left: 28px !important;
  color: #475467 !important;
  line-height: 1.6 !important;
}

body .zs-home li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(30,158,111,.12);
  color: var(--color);
  font-size: 12px;
  font-weight: 850;
}

/* Mobile polish */
@media (max-width: 980px) {
  body .showx-hero,
  body .showx-grid,
  body .showx-editor-grid,
  body .ds-photo-columns {
    grid-template-columns: 1fr !important;
  }

  body .showx-passport,
  body .showx-print-grid,
  body .showx-diploma-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .ds-part-side {
    width: 100% !important;
    flex-basis: auto !important;
  }
}

@media (max-width: 760px) {
  body .ds-head,
  body .showx-head,
  body .org-top,
  body .zs-home > h1:first-child {
    padding: 22px 20px !important;
    border-radius: 22px !important;
  }

  body .ds-head h2,
  body .showx-title,
  body .org-title,
  body .zs-home > h1:first-child {
    font-size: 30px !important;
  }

  body .ds-tabs {
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding: 7px !important;
  }

  body .ds-tab {
    white-space: nowrap !important;
  }

  body .ds-card,
  body .ds-sidecard,
  body .ds-photo-card,
  body .ds-photo-list,
  body .org-card,
  body .showx-panel,
  body .showx-doc-layer,
  body .reg-field,
  body .ps-order-box,
  body .ps-order-card,
  body .well,
  body .content-card .wrap .card,
  body .content-card .wrap .filters {
    border-radius: 20px !important;
    padding: 16px !important;
  }

  body .showx-passport,
  body .showx-print-grid,
  body .showx-diploma-grid,
  body .ds-photo-grid,
  body .ds-photo-album-stats,
  body .reg-grid,
  body .showx-control-grid,
  body .showx-editor-fields,
  body .showx-custom-coords-grid {
    grid-template-columns: 1fr !important;
  }

  body .showx-editor-fields .half,
  body .showx-editor-fields .wide,
  body .reg-field[style] {
    grid-column: 1 / -1 !important;
  }

  body .showx-actions,
  body .showx-cta,
  body .showx-control-actions,
  body .org-actions,
  body .ds-photo-actions,
  body .auth-actions {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body .showx-actions .showx-btn,
  body .showx-cta .showx-btn,
  body .showx-control-actions .showx-btn,
  body .org-actions .org-btn,
  body .ds-photo-actions .ds-btn,
  body .ds-btn.green,
  body .ds-btn.red {
    width: 100% !important;
  }
}


/* Zooshow photographer cabinet: studio / gallery skin */
:root {
  --zs-photo-ink: #0b1220;
  --zs-photo-panel: #111827;
  --zs-photo-panel-2: #182235;
  --zs-photo-line: rgba(255,255,255,.14);
  --zs-photo-text: #f8fafc;
  --zs-photo-muted: #b8c1d1;
  --zs-photo-gold: #f6c66b;
  --zs-photo-cyan: #67e8f9;
  --zs-photo-green: #37d399;
  --zs-photo-shadow: 0 22px 58px rgba(2, 6, 23, .24);
  --zs-photo-soft-shadow: 0 16px 36px rgba(2, 6, 23, .18);
}

/* Photographer layer in the main cabinet */
body #layer-photographer.ds-layer,
body .ds-layer#layer-photographer {
  position: relative !important;
  overflow: hidden !important;
  padding: 26px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(circle at 14% 0%, rgba(103,232,249,.20), transparent 32%),
    radial-gradient(circle at 90% 8%, rgba(246,198,107,.20), transparent 32%),
    linear-gradient(135deg, #08111f 0%, #101827 48%, #1b2638 100%) !important;
  box-shadow: var(--zs-photo-shadow) !important;
  color: var(--zs-photo-text) !important;
}

body #layer-photographer.ds-layer:before {
  content: "";
  position: absolute;
  inset: -160px -120px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(255,255,255,.26) 0 1px, transparent 1px 100%),
    radial-gradient(circle, rgba(255,255,255,.08), transparent 58%);
  background-size: 18px 18px, auto;
  opacity: .7;
  pointer-events: none;
}

body #layer-photographer.ds-layer:after {
  content: "";
  position: absolute;
  inset: auto auto -110px -90px;
  width: 310px;
  height: 310px;
  border-radius: 999px;
  border: 42px solid rgba(255,255,255,.045);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
}

body #layer-photographer .ds-photo-top,
body #layer-photographer .ds-photo-grid,
body #layer-photographer .ds-photo-columns {
  position: relative !important;
  z-index: 1 !important;
}

body #layer-photographer .ds-photo-top {
  align-items: center !important;
  min-height: 150px !important;
  padding: 24px 26px !important;
  margin: 0 0 22px !important;
  border: 1px solid var(--zs-photo-line) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(110deg, rgba(255,255,255,.10), rgba(255,255,255,.04)),
    radial-gradient(circle at 83% 28%, rgba(103,232,249,.22), transparent 28%) !important;
  box-shadow: var(--zs-photo-soft-shadow) !important;
  backdrop-filter: blur(8px);
}

body #layer-photographer .ds-photo-top:after {
  content: "📷";
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 26px;
  background: rgba(255,255,255,.10);
  box-shadow: 0 20px 42px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.14);
  font-size: 36px;
}

body #layer-photographer .ds-photo-top h3 {
  margin: 0 0 10px !important;
  color: #ffffff !important;
  font-size: 42px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.035em !important;
}

body #layer-photographer .ds-photo-top h3:before {
  content: "Фотостудия";
  display: block;
  margin-bottom: 12px;
  color: var(--zs-photo-gold);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body #layer-photographer .ds-muted,
body #layer-photographer .ds-photo-sub,
body #layer-photographer .ds-photo-kpi-label,
body #layer-photographer .ds-photo-album-meta {
  color: var(--zs-photo-muted) !important;
}

body #layer-photographer .ds-photo-actions {
  gap: 10px !important;
}

body #layer-photographer .ds-btn,
body #layer-photographer .ds-btn.green,
body #layer-photographer .ds-order-filter button,
body #layer-photographer .ds-order-filter a {
  min-height: 44px !important;
  padding: 0 17px !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.10) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease !important;
}

body #layer-photographer .ds-btn.green,
body #layer-photographer .ds-order-filter button {
  background: linear-gradient(135deg, var(--zs-photo-green), #16a36c) !important;
  border-color: transparent !important;
  color: #04130d !important;
  box-shadow: 0 14px 28px rgba(55, 211, 153, .25) !important;
}

body #layer-photographer .ds-btn:hover,
body #layer-photographer .ds-order-filter button:hover,
body #layer-photographer .ds-order-filter a:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.16) !important;
}

body #layer-photographer .ds-photo-grid {
  gap: 14px !important;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

body #layer-photographer .ds-photo-card {
  position: relative !important;
  overflow: hidden !important;
  padding: 20px !important;
  border: 1px solid var(--zs-photo-line) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.045)) !important;
  box-shadow: var(--zs-photo-soft-shadow) !important;
  backdrop-filter: blur(8px);
}

body #layer-photographer .ds-photo-card:before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,198,107,.28), transparent 62%);
  pointer-events: none;
}

body #layer-photographer .ds-photo-card:after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 26px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10) 0 4px, transparent 4px 8px) 0 0/8px 100% repeat-x;
  opacity: .55;
}

body #layer-photographer .ds-photo-kpi {
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 950 !important;
  letter-spacing: -.04em;
}

body #layer-photographer .ds-photo-kpi-label {
  margin-top: 8px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  letter-spacing: .02em !important;
}

body #layer-photographer .ds-photo-columns {
  gap: 18px !important;
}

body #layer-photographer .ds-photo-list {
  overflow: hidden !important;
  padding: 20px !important;
  border: 1px solid var(--zs-photo-line) !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,.075) !important;
  box-shadow: var(--zs-photo-soft-shadow) !important;
  backdrop-filter: blur(8px);
}

body #layer-photographer .ds-photo-list h4 {
  color: #ffffff !important;
  font-size: 25px !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
}

body #layer-photographer .ds-photo-albums {
  gap: 14px !important;
}

body #layer-photographer .ds-photo-album {
  position: relative !important;
  overflow: hidden !important;
  padding: 18px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.055)) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.18) !important;
}

body #layer-photographer .ds-photo-album:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--zs-photo-gold), var(--zs-photo-cyan));
  opacity: .85;
}

body #layer-photographer .ds-photo-album-title {
  color: #ffffff !important;
  font-size: 19px !important;
  letter-spacing: -.01em !important;
}

body #layer-photographer .ds-photo-album-stats {
  gap: 10px !important;
}

body #layer-photographer .ds-photo-stat {
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.08) !important;
}

body #layer-photographer .ds-photo-stat strong {
  color: #ffffff !important;
}

body #layer-photographer .ds-photo-stat span {
  color: var(--zs-photo-muted) !important;
}

body #layer-photographer .ds-photo-item {
  border-top: 1px solid rgba(255,255,255,.10) !important;
}

body #layer-photographer .ds-order-top {
  gap: 12px !important;
}

body #layer-photographer .ds-order-pill {
  border: 1px solid rgba(103,232,249,.28) !important;
  background: rgba(103,232,249,.12) !important;
  color: #dffcff !important;
  font-weight: 900 !important;
}

body #layer-photographer .ds-order-thumbs img {
  width: 58px !important;
  height: 58px !important;
  border: 2px solid rgba(255,255,255,.20) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.22) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}

body #layer-photographer .ds-order-thumbs img:hover {
  transform: scale(1.06) rotate(-1deg);
  box-shadow: 0 16px 30px rgba(0,0,0,.28) !important;
}

body #layer-photographer .ds-order-filter {
  padding: 12px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.07) !important;
}

body #layer-photographer .ds-order-filter label {
  color: #ffffff !important;
  font-weight: 850 !important;
}

body #layer-photographer .ds-order-filter select {
  min-height: 44px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

/* Photographer photo-order pages: keep same gallery mood on standalone order screens */
body .ps-order-grid,
body .ps-order-toolbar,
body .ps-order-box,
body .ps-order-card,
body .ps-order-empty,
body .ps-order-nav {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif !important;
}

body .ps-order-card,
body .ps-order-box,
body .ps-order-empty {
  border-color: #e8eef5 !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 34px rgba(15,23,42,.08) !important;
}

body .ps-order-card {
  position: relative !important;
  overflow: hidden !important;
}

body .ps-order-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--zs-photo-gold), var(--zs-photo-cyan), var(--zs-photo-green));
}

body .ps-order-name {
  color: var(--zs-cabinet-blue, #16325c) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
}

body .ps-order-thumbs {
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)) !important;
  gap: 12px !important;
}

body .ps-order-thumb img {
  border-radius: 16px !important;
  box-shadow: 0 12px 26px rgba(15,23,42,.12) !important;
  transition: transform .15s ease, box-shadow .15s ease !important;
}

body .ps-order-thumb img:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(15,23,42,.18) !important;
}

body .ps-order-filter select,
body .ps-order-filter button,
body .ps-order-filter a,
body .ps-order-nav a,
body .ps-order-form-grid input,
body .ps-order-form-grid select,
body .ps-order-delivery-grid input,
body .ps-order-delivery-grid select {
  min-height: 44px !important;
  border-radius: 14px !important;
  border-color: #dce6f2 !important;
}

body .ps-order-form-grid button,
body .ps-order-delivery-grid button {
  min-height: 44px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0b1220, #1f2937) !important;
  color: #fff !important;
}

/* Public list of show photographers */
body .photoshow-show-photographers {
  padding: 20px !important;
  border: 1px solid #e8eef5 !important;
  border-radius: 26px !important;
  background:
    radial-gradient(circle at top right, rgba(103,232,249,.14), transparent 32%),
    linear-gradient(135deg, #ffffff, #f8fbff) !important;
  box-shadow: 0 16px 40px rgba(15,23,42,.08) !important;
}

body .photoshow-show-photographers h3 {
  margin: 0 0 16px !important;
  color: var(--zs-cabinet-blue, #16325c) !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
}

body .photoshow-show-photographers .well {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 22px !important;
}

body .photoshow-show-photographers .well:before {
  content: "📸";
  position: absolute;
  right: 18px;
  top: 14px;
  opacity: .18;
  font-size: 36px;
}

@media (max-width: 760px) {
  body #layer-photographer.ds-layer,
  body .ds-layer#layer-photographer {
    padding: 18px !important;
    border-radius: 26px !important;
  }

  body #layer-photographer .ds-photo-top {
    min-height: 0 !important;
    padding: 20px !important;
    border-radius: 22px !important;
  }

  body #layer-photographer .ds-photo-top:after {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    font-size: 28px;
  }

  body #layer-photographer .ds-photo-top h3 {
    font-size: 32px !important;
  }

  body #layer-photographer .ds-photo-grid,
  body #layer-photographer .ds-photo-album-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  body #layer-photographer .ds-photo-album {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 520px) {
  body #layer-photographer .ds-photo-grid,
  body #layer-photographer .ds-photo-album-stats {
    grid-template-columns: 1fr !important;
  }
}

/* Zooshow photographer cabinet compact v2 */
#layer-photographer,
.photographer-cabinet,
.zs-photographer-cabinet{
  --photo-accent:var(--color,#1e9e6f);
  --photo-dark:#16325c;
  --photo-text:#243247;
  --photo-muted:#667085;
  --photo-border:#dfe7f0;
  background:transparent!important;
  color:var(--photo-text)!important;
  padding:0!important;
}
#layer-photographer *{box-sizing:border-box}

/* Возвращаем общий светлый стиль сайта вместо темной студии */
#layer-photographer .photo-hero,
#layer-photographer .photographer-hero,
#layer-photographer .zs-photo-hero,
#layer-photographer .dashboard-hero{
  margin:0 0 12px!important;
  padding:14px 16px!important;
  border:1px solid rgba(30,158,111,.18)!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(30,158,111,.07),rgba(255,255,255,.97))!important;
  color:var(--photo-text)!important;
  box-shadow:0 8px 22px rgba(15,23,42,.05)!important;
}
#layer-photographer h1,
#layer-photographer .page-title{
  margin:0 0 6px!important;
  color:var(--photo-dark)!important;
  font-size:24px!important;
  line-height:1.2!important;
  font-weight:800!important;
}
#layer-photographer h2,
#layer-photographer h3,
#layer-photographer .card-title,
#layer-photographer .panel-title,
#layer-photographer .album-title{
  margin:0 0 8px!important;
  color:var(--photo-dark)!important;
  font-size:18px!important;
  line-height:1.25!important;
  font-weight:800!important;
}
#layer-photographer p,
#layer-photographer .lead,
#layer-photographer .muted{
  margin:0 0 8px!important;
  color:var(--photo-muted)!important;
  font-size:14px!important;
  line-height:1.45!important;
}

/* Компактные карточки и сетки */
#layer-photographer .photo-grid,
#layer-photographer .photographer-grid,
#layer-photographer .dashboard-grid,
#layer-photographer .cards,
#layer-photographer .items{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:12px!important;
  margin:0 0 14px!important;
}
#layer-photographer .card,
#layer-photographer .photo-card,
#layer-photographer .photographer-card,
#layer-photographer .album-card,
#layer-photographer .order-card,
#layer-photographer .panel,
#layer-photographer .well,
#layer-photographer .item,
#layer-photographer .thumbnail{
  padding:12px 14px!important;
  border:1px solid var(--photo-border)!important;
  border-radius:14px!important;
  background:#fff!important;
  color:var(--photo-text)!important;
  box-shadow:0 6px 18px rgba(15,23,42,.045)!important;
}
#layer-photographer .card + .card,
#layer-photographer .panel + .panel,
#layer-photographer .well + .well{margin-top:12px!important}

/* Фото остаются фото, но без лишнего воздуха */
#layer-photographer img{max-width:100%}
#layer-photographer .photo-thumb,
#layer-photographer .album-cover,
#layer-photographer .preview,
#layer-photographer .thumbnail img{
  border-radius:12px!important;
  border:1px solid #e7edf4!important;
  background:#f8fafc!important;
  object-fit:cover!important;
}
#layer-photographer .thumbnail{padding:8px!important}

/* Кнопки и панели действий */
#layer-photographer .toolbar,
#layer-photographer .actions,
#layer-photographer .form-actions,
#layer-photographer .btn-toolbar,
#layer-photographer .filter-bar,
#layer-photographer .photo-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:8px!important;
  margin:0 0 12px!important;
  padding:0!important;
}
#layer-photographer .btn,
#layer-photographer button,
#layer-photographer input[type="submit"],
#layer-photographer input[type="button"],
#layer-photographer .button,
#layer-photographer a.btn{
  min-height:34px!important;
  padding:7px 12px!important;
  border:1px solid #d8e2ed!important;
  border-radius:999px!important;
  background:#f4f7fb!important;
  color:var(--photo-dark)!important;
  font-size:13px!important;
  font-weight:700!important;
  line-height:1.2!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
#layer-photographer .btn-primary,
#layer-photographer button.btn-primary,
#layer-photographer .btn-success,
#layer-photographer .button-primary,
#layer-photographer .save,
#layer-photographer .upload{
  border-color:var(--photo-accent)!important;
  background:var(--photo-accent)!important;
  color:#fff!important;
}

/* Формы */
#layer-photographer label{
  margin:0 0 5px!important;
  color:#344054!important;
  font-size:13px!important;
  font-weight:700!important;
}
#layer-photographer input[type="text"],
#layer-photographer input[type="email"],
#layer-photographer input[type="password"],
#layer-photographer input[type="number"],
#layer-photographer input[type="date"],
#layer-photographer input[type="file"],
#layer-photographer select,
#layer-photographer textarea{
  width:100%;
  min-height:36px!important;
  padding:7px 10px!important;
  border:1px solid #d8e2ed!important;
  border-radius:10px!important;
  background:#fff!important;
  color:#1f2937!important;
  font-size:13px!important;
  line-height:1.3!important;
  box-shadow:none!important;
}
#layer-photographer textarea{min-height:86px!important}
#layer-photographer input:focus,
#layer-photographer select:focus,
#layer-photographer textarea:focus{
  outline:none!important;
  border-color:var(--photo-accent)!important;
  box-shadow:0 0 0 3px rgba(30,158,111,.12)!important;
}
#layer-photographer .control-group,
#layer-photographer .form-group,
#layer-photographer .field{margin:0 0 10px!important}

/* Таблицы и списки компактнее */
#layer-photographer .table-wrap,
#layer-photographer .table-responsive,
#layer-photographer .orders-table-wrap{
  overflow-x:auto!important;
  border:1px solid var(--photo-border)!important;
  border-radius:14px!important;
  background:#fff!important;
}
#layer-photographer table{
  width:100%!important;
  border-collapse:collapse!important;
  margin:0 0 12px!important;
  background:#fff!important;
  color:var(--photo-text)!important;
  font-size:13px!important;
}
#layer-photographer th,
#layer-photographer td{
  padding:8px 10px!important;
  border-bottom:1px solid #edf1f6!important;
  vertical-align:middle!important;
  line-height:1.35!important;
}
#layer-photographer th{
  background:#f8fafc!important;
  color:var(--photo-dark)!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
#layer-photographer tr:last-child td{border-bottom:0!important}

/* Маленькие и понятные статусы */
#layer-photographer .badge,
#layer-photographer .label,
#layer-photographer .status,
#layer-photographer .state,
#layer-photographer .tag{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  padding:3px 8px!important;
  border-radius:999px!important;
  background:rgba(30,158,111,.10)!important;
  color:#137a55!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.1!important;
}
#layer-photographer .alert,
#layer-photographer .notice,
#layer-photographer .message,
#layer-photographer .warning{
  margin:0 0 12px!important;
  padding:10px 12px!important;
  border:1px solid #f0d69f!important;
  border-radius:12px!important;
  background:#fff9ed!important;
  color:#7c4a03!important;
  line-height:1.45!important;
  box-shadow:none!important;
}

/* Публичные фото-блоки ближе к общему стилю */
.photographers-public .card,
.photographer-public .card,
.photo-orders .card,
.photo-order-list .card,
.com_photoshows .card,
.photoshows .card{
  padding:12px 14px;
  border:1px solid #dfe7f0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(15,23,42,.045);
}

@media(max-width:760px){
  #layer-photographer .photo-hero,
  #layer-photographer .photographer-hero,
  #layer-photographer .zs-photo-hero,
  #layer-photographer .dashboard-hero{
    padding:12px!important;
    border-radius:14px!important;
  }
  #layer-photographer h1,
  #layer-photographer .page-title{font-size:21px!important}
  #layer-photographer .photo-grid,
  #layer-photographer .photographer-grid,
  #layer-photographer .dashboard-grid,
  #layer-photographer .cards,
  #layer-photographer .items{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  #layer-photographer .card,
  #layer-photographer .photo-card,
  #layer-photographer .photographer-card,
  #layer-photographer .album-card,
  #layer-photographer .order-card,
  #layer-photographer .panel,
  #layer-photographer .well,
  #layer-photographer .item{
    padding:11px 12px!important;
    border-radius:13px!important;
  }
  #layer-photographer th,
  #layer-photographer td{padding:7px 8px!important}
}

/* Zooshow photographer cabinet light ultra compact v3
   Точная перебивка предыдущего темного фото-блока: фото/миниатюры остаются, фон становится светлым,
   блоки ужимаются по высоте и отступам.
*/
html body .ds-wrap{
  max-width:1180px!important;
  margin:0 auto 16px!important;
}

html body .ds-head{
  padding:18px 24px!important;
  min-height:0!important;
  border-radius:22px!important;
}
html body .ds-head h2{
  font-size:30px!important;
  line-height:1.15!important;
  margin:0 0 8px!important;
}
html body .ds-head .ds-muted{
  font-size:14px!important;
  line-height:1.35!important;
}

html body .ds-tabs{
  gap:8px!important;
  margin:0 0 12px!important;
  padding:7px!important;
  border-radius:18px!important;
}
html body .ds-tab{
  min-height:34px!important;
  padding:0 14px!important;
  border-radius:999px!important;
  font-size:13px!important;
}

/* Сам слой фотографа */
html body #layer-photographer.ds-layer,
html body .ds-layer#layer-photographer{
  position:relative!important;
  overflow:visible!important;
  padding:12px!important;
  border:1px solid #dfe8f2!important;
  border-radius:18px!important;
  background:#ffffff!important;
  background-image:none!important;
  box-shadow:0 8px 24px rgba(15,23,42,.055)!important;
  color:#243247!important;
}
html body #layer-photographer.ds-layer:before,
html body #layer-photographer.ds-layer:after,
html body .ds-layer#layer-photographer:before,
html body .ds-layer#layer-photographer:after{
  content:none!important;
  display:none!important;
}

/* Верх фотографа: без темного баннера и без лишней декоративной камеры */
html body #layer-photographer .ds-photo-top{
  align-items:center!important;
  min-height:0!important;
  padding:10px 12px!important;
  margin:0 0 10px!important;
  border:1px solid rgba(30,158,111,.16)!important;
  border-radius:15px!important;
  background:linear-gradient(135deg,rgba(30,158,111,.06),#ffffff 58%)!important;
  background-image:linear-gradient(135deg,rgba(30,158,111,.06),#ffffff 58%)!important;
  box-shadow:0 4px 14px rgba(15,23,42,.04)!important;
  backdrop-filter:none!important;
}
html body #layer-photographer .ds-photo-top:before,
html body #layer-photographer .ds-photo-top:after{
  content:none!important;
  display:none!important;
}
html body #layer-photographer .ds-photo-top h3{
  margin:0 0 4px!important;
  color:#16325c!important;
  font-size:24px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.025em!important;
}
html body #layer-photographer .ds-photo-top h3:before{
  content:none!important;
  display:none!important;
}
html body #layer-photographer .ds-muted,
html body #layer-photographer .ds-photo-sub,
html body #layer-photographer .ds-photo-kpi-label,
html body #layer-photographer .ds-photo-album-meta{
  color:#667085!important;
  font-size:13px!important;
  line-height:1.35!important;
}

/* Кнопки компактнее */
html body #layer-photographer .ds-photo-actions{
  gap:7px!important;
}
html body #layer-photographer .ds-btn,
html body #layer-photographer .ds-btn.green,
html body #layer-photographer .ds-order-filter button,
html body #layer-photographer .ds-order-filter a{
  min-height:32px!important;
  padding:0 12px!important;
  border:1px solid #d8e2ed!important;
  border-radius:999px!important;
  background:#f4f7fb!important;
  color:#16325c!important;
  font-size:13px!important;
  font-weight:800!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
html body #layer-photographer .ds-btn.green,
html body #layer-photographer .ds-order-filter button{
  border-color:#1e9e6f!important;
  background:#1e9e6f!important;
  background-image:none!important;
  color:#ffffff!important;
  box-shadow:0 5px 14px rgba(30,158,111,.18)!important;
}

/* KPI в одну компактную светлую строку */
html body #layer-photographer .ds-photo-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 0 10px!important;
}
html body #layer-photographer .ds-photo-card{
  position:relative!important;
  overflow:hidden!important;
  min-height:76px!important;
  padding:10px 12px!important;
  border:1px solid #dfe8f2!important;
  border-radius:13px!important;
  background:#fbfdff!important;
  background-image:none!important;
  box-shadow:0 4px 14px rgba(15,23,42,.045)!important;
  backdrop-filter:none!important;
}
html body #layer-photographer .ds-photo-card:before,
html body #layer-photographer .ds-photo-card:after{
  content:none!important;
  display:none!important;
}
html body #layer-photographer .ds-photo-kpi{
  color:#16325c!important;
  font-size:30px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.04em!important;
}
html body #layer-photographer .ds-photo-kpi-label{
  margin-top:5px!important;
  color:#667085!important;
  font-size:12px!important;
  line-height:1.25!important;
  font-weight:750!important;
}

/* Основные колонки и списки */
html body #layer-photographer .ds-photo-columns{
  grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr)!important;
  gap:10px!important;
  margin-top:0!important;
}
html body #layer-photographer .ds-photo-list{
  overflow:hidden!important;
  padding:12px!important;
  border:1px solid #dfe8f2!important;
  border-radius:14px!important;
  background:#ffffff!important;
  background-image:none!important;
  box-shadow:0 4px 14px rgba(15,23,42,.04)!important;
  backdrop-filter:none!important;
}
html body #layer-photographer .ds-photo-list h4{
  margin:0 0 4px!important;
  color:#16325c!important;
  font-size:17px!important;
  line-height:1.25!important;
  font-weight:900!important;
}
html body #layer-photographer .ds-photo-list-head{
  margin-bottom:8px!important;
  gap:8px!important;
}
html body #layer-photographer .ds-photo-albums{
  gap:8px!important;
}
html body #layer-photographer .ds-photo-album{
  position:relative!important;
  overflow:hidden!important;
  padding:10px!important;
  border:1px solid #e6edf5!important;
  border-radius:12px!important;
  background:#fbfdff!important;
  background-image:none!important;
  box-shadow:none!important;
}
html body #layer-photographer .ds-photo-album:before,
html body #layer-photographer .ds-photo-album:after{
  content:none!important;
  display:none!important;
}
html body #layer-photographer .ds-photo-album-title{
  color:#16325c!important;
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:900!important;
}
html body #layer-photographer .ds-photo-album-meta{
  margin-top:4px!important;
  line-height:1.35!important;
}
html body #layer-photographer .ds-photo-album-stats{
  gap:6px!important;
  margin-top:8px!important;
}
html body #layer-photographer .ds-photo-stat{
  padding:7px 8px!important;
  border:1px solid #e6edf5!important;
  border-radius:10px!important;
  background:#ffffff!important;
}
html body #layer-photographer .ds-photo-stat strong{
  color:#16325c!important;
  font-size:18px!important;
  line-height:1!important;
}
html body #layer-photographer .ds-photo-stat span{
  margin-top:3px!important;
  color:#667085!important;
  font-size:11px!important;
  line-height:1.2!important;
}

/* Заказы и миниатюры: сами фотографии НЕ прячем */
html body #layer-photographer .ds-photo-item{
  padding:9px 0!important;
  border-top:1px solid #edf1f6!important;
}
html body #layer-photographer .ds-order-top{
  gap:8px!important;
}
html body #layer-photographer .ds-order-pill{
  padding:4px 8px!important;
  border:1px solid rgba(30,158,111,.22)!important;
  border-radius:999px!important;
  background:rgba(30,158,111,.09)!important;
  color:#137a55!important;
  font-size:12px!important;
  font-weight:850!important;
}
html body #layer-photographer .ds-order-thumbs{
  gap:5px!important;
  margin-top:6px!important;
}
html body #layer-photographer .ds-order-thumbs img{
  display:block!important;
  width:46px!important;
  height:46px!important;
  object-fit:cover!important;
  border:1px solid #e2e8f0!important;
  border-radius:10px!important;
  background:#f3f6f9!important;
  box-shadow:none!important;
  transition:none!important;
}
html body #layer-photographer .ds-order-thumbs img:hover{
  transform:none!important;
  box-shadow:none!important;
}

/* Фильтр заказов */
html body #layer-photographer .ds-order-filter{
  padding:0!important;
  gap:6px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
html body #layer-photographer .ds-order-filter select{
  min-height:32px!important;
  padding:5px 9px!important;
  border:1px solid #d8e2ed!important;
  border-radius:9px!important;
  background:#ffffff!important;
  color:#243247!important;
  font-size:13px!important;
}
html body #layer-photographer .ds-order-filter button{
  min-height:32px!important;
  padding:0 11px!important;
}

/* На планшете и телефоне без горизонтальной давки */
@media(max-width:1160px){
  html body #layer-photographer .ds-photo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  html body #layer-photographer .ds-photo-columns{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:760px){
  html body .ds-head{
    padding:14px 16px!important;
    border-radius:18px!important;
  }
  html body .ds-head h2{
    font-size:24px!important;
  }
  html body .ds-tabs{
    gap:6px!important;
    padding:6px!important;
  }
  html body .ds-tab{
    min-height:32px!important;
    padding:0 11px!important;
  }
  html body #layer-photographer.ds-layer,
  html body .ds-layer#layer-photographer{
    padding:10px!important;
    border-radius:16px!important;
  }
  html body #layer-photographer .ds-photo-top{
    align-items:flex-start!important;
    padding:10px!important;
  }
  html body #layer-photographer .ds-photo-top h3{
    font-size:21px!important;
  }
  html body #layer-photographer .ds-photo-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  html body #layer-photographer .ds-photo-card{
    min-height:68px!important;
    padding:9px 10px!important;
  }
  html body #layer-photographer .ds-photo-kpi{
    font-size:26px!important;
  }
}

/* ============================================================
   ZOOSHOW portal shell + 3 selectable themes, 2026-09-15
   Default: burgundy. Theme selection is stored in localStorage.
   ============================================================ */
:root{
  --zs-bg:#f6f2ed;
  --zs-panel:#fffdfa;
  --zs-soft:#f3ede8;
  --zs-text:#4b3036;
  --zs-muted:#88757a;
  --zs-border:#e2d8d3;
  --zs-border-strong:#d6c6c0;
  --zs-primary:#7a5058;
  --zs-primary-hover:#684149;
  --zs-accent:#bd955d;
  --zs-topbar:#7a5058;
  --zs-topbar-text:#fbf6f7;
  --color:var(--zs-primary);
}

body.theme-burgundy{
  --zs-bg:#f6f2ed;
  --zs-panel:#fffdfa;
  --zs-soft:#f3ede8;
  --zs-text:#4b3036;
  --zs-muted:#88757a;
  --zs-border:#e2d8d3;
  --zs-border-strong:#d6c6c0;
  --zs-primary:#7a5058;
  --zs-primary-hover:#684149;
  --zs-accent:#bd955d;
  --zs-topbar:#7a5058;
  --zs-topbar-text:#fbf6f7;
  --color:var(--zs-primary);
}

body.theme-olive{
  --zs-bg:#f5f3ed;
  --zs-panel:#fbfaf7;
  --zs-soft:#eef1ee;
  --zs-text:#2f4038;
  --zs-muted:#76857e;
  --zs-border:#d8ddd7;
  --zs-border-strong:#cbd3cc;
  --zs-primary:#5f7468;
  --zs-primary-hover:#4e6257;
  --zs-accent:#a88452;
  --zs-topbar:#667c70;
  --zs-topbar-text:#f5f8f6;
  --color:var(--zs-primary);
}

body.theme-slate{
  --zs-bg:#f3f5f7;
  --zs-panel:#ffffff;
  --zs-soft:#eef3f6;
  --zs-text:#304252;
  --zs-muted:#758493;
  --zs-border:#d7dfe6;
  --zs-border-strong:#c7d1da;
  --zs-primary:#586c7d;
  --zs-primary-hover:#465a6b;
  --zs-accent:#b8945c;
  --zs-topbar:#60778a;
  --zs-topbar-text:#f4f8fb;
  --color:var(--zs-primary);
}

body{
  background:var(--zs-bg);
  color:var(--zs-text);
  transition:background-color .2s ease,color .2s ease;
}

.container{
  max-width:1640px;
  width:calc(100% - 64px);
  padding:0;
}

.zs-topbar{
  min-height:36px;
  background:var(--zs-topbar);
  color:var(--zs-topbar-text);
  font-size:12px;
}
.zs-topbar__row{
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.zs-language-switch{
  display:flex;
  align-items:center;
  gap:14px;
}
.zs-language-switch a{
  color:var(--zs-topbar-text);
  text-decoration:none;
  font-weight:800;
  opacity:.72;
}
.zs-language-switch a:hover{opacity:1}
.zs-topbar__right{
  display:flex;
  align-items:center;
  gap:16px;
  min-width:0;
}
.zs-topbar .user-block{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--zs-topbar-text);
}
.zs-topbar .user-block a{
  color:var(--zs-topbar-text);
  opacity:.9;
}
.zs-topbar .theme-switcher{
  display:flex;
  align-items:center;
  gap:7px;
}
.zs-topbar .theme-switcher button{
  width:16px;
  height:16px;
  padding:0;
  border:2px solid rgba(255,255,255,.62);
  border-radius:50%;
  cursor:pointer;
  opacity:.76;
  transition:.15s ease;
}
.zs-topbar .theme-switcher button:hover,
.zs-topbar .theme-switcher button.is-active{
  opacity:1;
  transform:scale(1.1);
  box-shadow:0 0 0 2px rgba(255,255,255,.2);
}
.zs-topbar .theme-switcher button[data-theme="burgundy"]{background:#7a5058}
.zs-topbar .theme-switcher button[data-theme="olive"]{background:#667c70}
.zs-topbar .theme-switcher button[data-theme="slate"]{background:#60778a}

.header{
  position:relative;
  z-index:1200;
  background:var(--zs-panel);
  box-shadow:none;
  border-bottom:1px solid var(--zs-border);
}
.header-row{
  min-height:92px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.zs-site-brand{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  color:var(--zs-text);
  text-decoration:none;
  line-height:1;
}
.zs-site-brand:hover{text-decoration:none;color:var(--zs-text)}
.zs-site-brand strong{
  font-size:29px;
  font-weight:850;
  letter-spacing:-.025em;
}
.zs-site-brand span{
  margin-top:6px;
  color:var(--zs-muted);
  font-size:13px;
  font-weight:500;
  white-space:nowrap;
}
.header .nav{
  flex:1 1 auto;
  min-width:0;
  border:0;
}
.header .nav > .container{width:auto;max-width:none;margin:0;padding:0}
.header .nav ul{
  min-height:92px;
  display:flex;
  align-items:stretch;
  justify-content:flex-end;
  flex-wrap:nowrap;
  gap:0;
  padding:0;
  margin:0;
}
.header .nav ul li{
  display:flex;
  align-items:stretch;
}
.header .nav ul li a{
  position:relative;
  display:flex;
  align-items:center;
  padding:0 15px;
  color:var(--zs-text);
  font-size:14px;
  font-weight:750;
  white-space:nowrap;
}
.header .nav ul li.active > a,
.header .nav ul li.current > a,
.header .nav ul li a:hover{
  color:var(--zs-text);
}
.header .nav ul li.active > a:after,
.header .nav ul li.current > a:after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:0;
  height:3px;
  background:var(--zs-accent);
}
.header .nav ul li ul{
  top:72px;
  z-index:1300;
  min-width:220px;
  min-height:0;
  display:none;
  padding:8px;
  border:1px solid var(--zs-border);
  border-radius:8px;
  background:var(--zs-panel);
  box-shadow:0 12px 30px rgba(42,31,34,.12);
}
.header .nav ul li:hover > ul,
.header .nav ul li.is-open > ul{display:block}
.header .nav ul li ul li{display:block}
.header .nav ul li ul li a{min-height:36px;padding:7px 9px}

.main{
  position:relative;
  z-index:1;
  margin-top:20px;
}
.content-card{
  background:var(--zs-panel);
  border-radius:12px;
  box-shadow:0 4px 16px rgba(42,31,34,.035);
}
body.zs-home-page .content-card{
  padding:0;
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
body.zs-home-page .main{
  margin-top:20px;
}

.footer{
  margin-top:44px;
  padding:0;
  background:var(--zs-topbar);
  color:var(--zs-topbar-text);
  border-top:3px solid var(--zs-accent);
}
.zs-footer-row{
  min-height:84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.zs-footer-brand{
  display:flex;
  flex-direction:column;
}
.zs-footer-brand strong{font-size:21px;line-height:1}
.zs-footer-brand span{margin-top:5px;font-size:11px;opacity:.76}
.footer a{color:var(--zs-topbar-text)}

@media (max-width:1400px){
  .container{width:calc(100% - 40px)}
  .header-row{align-items:flex-start;padding:18px 0}
  .header .nav ul{min-height:auto;flex-wrap:wrap;justify-content:flex-end}
  .header .nav ul li a{min-height:38px;padding:0 10px}
  .header .nav ul li.active > a:after,
  .header .nav ul li.current > a:after{left:9px;right:9px}
}

@media (max-width:900px){
  .container{width:calc(100% - 24px)}
  .header-row{display:block}
  .zs-site-brand{margin-bottom:12px}
  .header .nav ul{justify-content:flex-start}
  .zs-topbar__row{flex-wrap:wrap;padding:5px 0}
  .zs-topbar__right{margin-left:auto}
}

@media (max-width:640px){
  .zs-site-brand strong{font-size:24px}
  .zs-site-brand span{font-size:11px}
  .header .nav ul li a{font-size:12px;padding:0 8px}
  .zs-topbar__right{width:100%;justify-content:space-between}
}

/* ==========================================================
   ZOOSHOW mobile shell 2026-09-21
   Desktop layout is intentionally unchanged.
   ========================================================== */
.zs-mobile-menu-toggle{
  display:none;
}

@media (max-width:760px){
  html{
    -webkit-text-size-adjust:100%;
  }

  body{
    overflow-x:hidden;
  }

  .container{
    width:calc(100% - 24px);
    max-width:none;
  }

  /* Compact utility bar. Keep auth/language visible without taking a screenful. */
  .zs-topbar{
    min-height:38px;
  }
  .zs-topbar__row{
    min-height:38px;
    padding:5px 0;
    flex-wrap:nowrap;
    gap:10px;
  }
  .zs-language-switch{
    flex:0 0 auto;
    gap:10px;
  }
  .zs-language-switch a{
    font-size:11px;
  }
  .zs-topbar__right{
    width:auto;
    margin-left:auto;
    gap:9px;
    justify-content:flex-end;
    min-width:0;
  }
  .zs-topbar .theme-switcher{
    gap:5px;
  }
  .zs-topbar .theme-switcher button{
    width:13px;
    height:13px;
    border-width:1px;
  }
  .zs-topbar .user-block{
    min-width:0;
    gap:6px;
    font-size:11px;
    line-height:1.2;
    white-space:nowrap;
  }
  .zs-topbar .user-block p,
  .zs-topbar .user-block div{
    margin-top:0;
    margin-bottom:0;
  }
  .zs-topbar .user-block a{
    font-size:11px;
  }

  /* True mobile header instead of a wrapped desktop menu. */
  .header{
    position:sticky;
    top:0;
    z-index:1100;
    box-shadow:0 5px 18px rgba(42,31,34,.08);
  }
  .header-row{
    position:relative;
    min-height:62px;
    padding:8px 0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .zs-site-brand{
    min-width:0;
    margin:0;
  }
  .zs-site-brand strong{
    font-size:22px;
    line-height:1;
  }
  .zs-site-brand span{
    margin-top:4px;
    font-size:10px;
    line-height:1.15;
    white-space:normal;
  }

  .zs-mobile-menu-toggle{
    flex:0 0 auto;
    width:44px;
    height:44px;
    padding:0;
    border:1px solid var(--zs-border);
    border-radius:13px;
    background:var(--zs-soft);
    color:var(--zs-text);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    cursor:pointer;
  }
  .zs-mobile-menu-toggle span{
    display:block;
    width:19px;
    height:2px;
    border-radius:999px;
    background:currentColor;
    transition:transform .18s ease,opacity .18s ease;
  }
  .zs-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1){
    transform:translateY(7px) rotate(45deg);
  }
  .zs-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2){
    opacity:0;
  }
  .zs-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3){
    transform:translateY(-7px) rotate(-45deg);
  }

  .header .nav{
    position:absolute;
    left:-12px;
    right:-12px;
    top:100%;
    display:none;
    max-height:calc(100vh - 70px);
    overflow:auto;
    padding:7px 12px 14px;
    border-top:1px solid var(--zs-border);
    background:var(--zs-panel);
    box-shadow:0 18px 34px rgba(42,31,34,.16);
    -webkit-overflow-scrolling:touch;
  }
  .header .nav.is-mobile-open{
    display:block;
  }
  .header .nav > .container{
    width:100%;
  }
  .header .nav ul{
    display:block;
    min-height:0;
    padding:0;
    margin:0;
  }
  .header .nav ul li{
    display:block;
    width:100%;
  }
  .header .nav ul li + li{
    border-top:1px solid rgba(226,216,211,.7);
  }
  .header .nav ul li a{
    min-height:46px;
    padding:0 10px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    font-size:15px;
    line-height:1.2;
    white-space:normal;
  }
  .header .nav ul li.active > a:after,
  .header .nav ul li.current > a:after{
    left:10px;
    right:auto;
    bottom:5px;
    width:40px;
    height:3px;
  }
  .header .nav ul li.has-submenu > a:before{
    content:"+";
    order:2;
    margin-left:12px;
    color:var(--zs-muted);
    font-size:20px;
    font-weight:400;
  }
  .header .nav ul li.has-submenu.is-open > a:before{
    content:"−";
  }
  .header .nav ul li ul{
    position:static;
    display:none;
    min-width:0;
    padding:3px 0 8px 13px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .header .nav ul li.is-open > ul{
    display:block;
  }
  .header .nav ul li ul li{
    border:0;
  }
  .header .nav ul li ul li a{
    min-height:40px;
    padding:0 10px;
    font-size:14px;
    color:var(--zs-muted);
  }

  body.zs-menu-open{
    overflow:hidden;
  }
  body.zs-menu-open:before{
    content:"";
    position:fixed;
    inset:0;
    z-index:1050;
    background:rgba(15,23,42,.28);
    backdrop-filter:blur(1px);
  }
  body.zs-menu-open .header{
    z-index:1100;
  }

  /* More usable component canvas on narrow screens. */
  .main{
    margin-top:12px;
  }
  .content-card{
    padding:14px;
    border-radius:14px;
    box-shadow:0 3px 12px rgba(42,31,34,.035);
  }
  body.zs-home-page .main{
    margin-top:12px;
  }
  body.zs-home-page .content-card{
    padding:0;
  }

  .main input[type="text"],
  .main input[type="email"],
  .main input[type="tel"],
  .main input[type="number"],
  .main input[type="search"],
  .main input[type="date"],
  .main select,
  .main textarea{
    max-width:100%;
    box-sizing:border-box;
  }

  .footer{
    margin-top:28px;
  }
  .zs-footer-row{
    min-height:70px;
    padding:12px 0;
    align-items:flex-start;
    flex-direction:column;
    gap:10px;
  }
}

@media (max-width:420px){
  .container{
    width:calc(100% - 20px);
  }
  .zs-site-brand span{
    display:none;
  }
  .header-row{
    min-height:56px;
  }
  .zs-topbar .theme-switcher{
    display:none;
  }
  .content-card{
    padding:10px;
  }
}
