@font-face {
  font-family: "Noto Sans Myanmar";
  src: url("/assets/NotoSansMyanmar-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Myanmar";
  src: url("/assets/NotoSansMyanmar-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--sndk-cream);
  color: var(--sndk-dark-brown);
  font: 16px/1.9 var(--sndk-body-font);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(25px, 3vw, 42px);
  line-height: 1.85;
  font-weight: 700;
  letter-spacing: -0.3px;
}
h2 {
  font-size: 23px;
  line-height: 1.8;
}
h3 {
  font-size: 18px;
}
a {
  color: var(--sndk-burgundy);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
a,
button,
input {
  outline-offset: 5px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #7a0e2e;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
}
em {
  font-style: normal;
  color: var(--sndk-burgundy);
}
.skip {
  position: fixed;
  left: 15px;
  top: -100px;
  background: #fff;
  padding: 12px;
  z-index: 100;
}
.skip:focus {
  top: 10px;
}
.topbar {
  min-height: 108px;
  margin: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #d9cbb6;
}
.brand {
  display: block;
  max-width: 280px;
}
.brand img {
  display: block;
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 52px;
  border: 1px solid var(--sndk-burgundy);
  border-radius: 9px;
  background: var(--sndk-burgundy);
  padding: 13px 24px;
  color: #fff;
  font-weight: 700;
  text-align: center;
}
.button:hover {
  background: #5e0b23;
  text-decoration: none;
}
.button.small {
  padding: 9px 18px;
  min-height: 44px;
  font-size: 14px;
}
.full {
  width: 100%;
}
.hero {
  padding: 70px 8% 75px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1600px;
  margin: auto;
}
.eyebrow {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #6f4d3a;
  margin-bottom: 18px;
}
.pill {
  display: inline-block;
  border: 1px solid #d4b886;
  background: #fff8e9;
  color: #6b351c;
  border-radius: 40px;
  font-size: 12px;
  padding: 5px 14px;
}
.hero h1 {
  margin: 24px 0;
}
.lead {
  font-size: 18px;
  line-height: 2.1;
}
.actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.text-link {
  font-weight: 700;
  font-size: 14px;
}
.local-note {
  font-family: Arial, "Noto Sans Myanmar", sans-serif;
  font-size: 12px;
  color: #654a39;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
}
.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #366148;
}
.hero-art {
  position: relative;
  padding: 20px;
}
.arch {
  background: #f2e5ce;
  border: 1px solid #c6a15d;
  outline: 1px solid #dcc195;
  outline-offset: 10px;
  border-radius: 220px 220px 12px 12px;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 45px 20px;
  box-shadow: 0 22px 60px #4b2e1e0a;
}
.arch img {
  width: 180px;
  border-radius: 24px;
  margin: 22px 0;
}
.serif {
  font:
    italic 32px Georgia,
    serif;
  color: #7a0e2e;
  margin-bottom: 12px;
}
.arch p:last-of-type {
  font-size: 13px;
  margin-top: 14px;
}
.ornament {
  color: #9b6a20;
  font-size: 24px;
}
.art-line {
  height: 1px;
  width: 80px;
  background: #c6a15d;
}
.art-caption {
  display: block;
  font:
    10px Arial,
    sans-serif;
  letter-spacing: 3px;
  text-align: center;
  margin-top: 30px;
}
.about {
  border-top: 1px solid #d9cbb6;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 65px;
  padding: 55px 8%;
  background: #fffaf1;
}
.about h2 {
  font-size: 27px;
}
.notice {
  background: #f8edda;
  border: 1px solid #d8bc8a;
  border-left: 4px solid #b9914a;
  border-radius: 8px;
  padding: 18px;
  font-size: 14px;
  line-height: 2;
  color: #4b2e1e;
}
.footer {
  padding: 24px 6%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font:
    12px/1.8 Arial,
    sans-serif;
  border-top: 1px solid #e3d6c4;
  color: #624936;
}
.auth-wrap {
  max-width: 1100px;
  margin: 65px auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 65px;
  align-items: center;
  padding: 0 30px;
}
.auth-story h1 {
  font-size: 29px;
}
.auth-story img {
  border-radius: 26px;
  margin: 20px 0;
}
.auth-card {
  padding: 36px;
  background: #fff;
  border: 1px solid #e2d5c0;
  border-radius: 16px;
  box-shadow: 0 18px 60px #4b2e1e08;
}
.auth-card h2 {
  margin: 20px 0 5px;
}
.auth-card p {
  font-size: 14px;
}
.auth-card form {
  margin-top: 25px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 7px;
}
input {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid #ae9e88;
  border-radius: 7px;
  background: #fff;
  color: #321f16;
  margin-bottom: 20px;
}
input:focus {
  border-color: #7a0e2e;
}
.form-hint {
  margin: 22px 0 0;
  text-align: center;
}
.error {
  padding: 14px;
  background: #fff0f0;
  border: 1px solid #b42a36;
  color: #811023;
  border-radius: 8px;
  margin: 18px 0;
}
.admin-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fffaf1;
  border-right: 1px solid #e5d7c3;
  padding: 28px 17px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.admin-brand {
  display: block;
  margin: 0 8px 35px;
}
.sidebar-label {
  font-size: 12px;
  color: #694c37;
  margin-left: 14px;
}
.sidebar nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 8px;
  color: #4b2e1e;
}
.sidebar nav a.active {
  background: #7a0e2e;
  color: #fff;
}
.sidebar nav a span {
  font-size: 22px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 14px 0;
  font-size: 12px;
}
.sidebar-bottom p {
  margin: 13px 0;
  line-height: 1.8;
}
.admin-body {
  min-width: 0;
  background: #fbf8f2;
}
.admin-header {
  min-height: 94px;
  padding: 17px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  border-bottom: 1px solid #e7ddce;
}
.workspace-name {
  font-size: 14px;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.avatar {
  background: #f3e3d0;
  border: 1px solid #d4af70;
  color: #7a0e2e;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.account strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.account small {
  display: block;
  font:
    11px/1.6 Arial,
    sans-serif;
}
.account-password {
  font-size: 12px;
  margin-left: 12px;
}
.logout {
  background: transparent;
  border: 1px solid #c7b59c;
  color: #7a0e2e;
  border-radius: 7px;
  min-height: 44px;
  padding: 6px 12px;
  font-size: 12px;
}
.admin-main {
  padding: 32px;
  max-width: 1600px;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.page-heading h1 {
  font-size: 26px;
  margin: 0;
}
.page-heading .eyebrow {
  font-size: 10px;
  margin-bottom: 8px;
}
.status-chip {
  font:
    12px Arial,
    sans-serif;
  background: #edf3e9;
  border: 1px solid #bdcbb3;
  border-radius: 30px;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
}
.welcome {
  padding: 32px 36px;
  border: 1px solid #d9bc91;
  border-radius: 12px;
  background: #f5ead8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.welcome h2 {
  margin: 18px 0 10px;
  font-size: 27px;
}
.welcome p {
  font-size: 15px;
  margin: 0;
}
.welcome img {
  border-radius: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 32px 0 18px;
}
.section-heading h2 {
  font-size: 18px;
  margin: 0;
}
.section-heading > span {
  font-size: 12px;
  white-space: nowrap;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e1d4c1;
  border-radius: 10px;
  padding: 23px;
}
.feature-icon {
  display: block;
  color: #7a0e2e;
  font:
    20px Georgia,
    serif;
  margin-bottom: 18px;
}
.feature-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
}
.feature-card p {
  font-size: 14px;
  min-height: 65px;
}
.feature-card a {
  font-size: 13px;
  font-weight: 700;
}
.next-phase {
  border: 1px solid #e1d4c1;
  border-radius: 10px;
  padding: 25px;
  background: #fff;
  margin: 26px 0;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.next-phase h2 {
  font-size: 20px;
  margin-bottom: 10px;
}
.next-phase p {
  font-size: 14px;
  margin-bottom: 0;
}
.next-phase .eyebrow {
  font-size: 10px;
  margin-bottom: 14px;
}
.pending {
  font-size: 12px;
  white-space: nowrap;
  border: 1px solid #bca98c;
  border-radius: 30px;
  padding: 7px 12px;
}
.panel {
  background: #fff;
  border: 1px solid #e0d3bf;
  border-radius: 12px;
  padding: 25px;
  margin-top: 22px;
  min-width: 0;
}
.narrow {
  max-width: 620px;
}
.panel h2 {
  font-size: 20px;
}
.panel p {
  font-size: 14px;
}
.table-scroll {
  overflow-x: auto;
  max-width: 100%;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
caption {
  text-align: left;
  font-weight: 700;
  margin-bottom: 16px;
}
th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8dfd2;
  text-align: left;
  white-space: nowrap;
}
thead {
  background: #f7efdf;
}
th {
  font-weight: 700;
}
th small {
  display: block;
  font:
    11px/1.8 Arial,
    sans-serif;
  color: #654b3a;
}
.allowed {
  color: #205332;
  background: #eef5e9;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 12px;
}
.denied {
  color: #624d3b;
}
.message {
  max-width: 650px;
  margin: 70px auto;
  padding: 30px;
}
.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid #bda78d;
  border-radius: 7px;
  min-width: 44px;
  min-height: 44px;
}
@media (min-width: 1600px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1050px) {
  .admin-layout {
    grid-template-columns: 235px minmax(0, 1fr);
  }
  .admin-main {
    padding: 24px;
  }
  .admin-header {
    padding: 16px 24px;
  }
  .workspace-name {
    display: none;
  }
  .account-password {
    margin: 0;
  }
  .hero {
    gap: 25px;
    padding-left: 6%;
    padding-right: 6%;
  }
  .hero h1 {
    font-size: 29px;
  }
  .arch {
    min-height: 430px;
  }
  .auth-wrap {
    gap: 30px;
  }
  .next-phase {
    display: block;
  }
  .pending {
    display: inline-block;
    margin-top: 16px;
  }
}
@media (max-width: 760px) {
  .topbar {
    min-height: 88px;
    margin: 0 5%;
    gap: 15px;
  }
  .brand {
    max-width: 200px;
  }
  .topbar nav {
    gap: 10px;
  }
  .topbar nav > a:first-child {
    display: none;
  }
  .button.small {
    font-size: 12px;
    padding: 8px 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 42px 6%;
    gap: 35px;
  }
  .hero h1 {
    font-size: 27px;
  }
  .hero-copy {
    max-width: 600px;
  }
  .hero-art {
    max-width: 400px;
    width: 100%;
    margin: auto;
  }
  .arch {
    min-height: 380px;
  }
  .arch img {
    width: 140px;
  }
  .serif {
    font-size: 29px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 35px 6%;
  }
  .auth-wrap {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 32px auto;
    padding: 0 18px;
  }
  .auth-story {
    display: none;
  }
  .auth-card {
    padding: 26px;
  }
  .admin-layout {
    display: block;
  }
  .sidebar {
    position: fixed;
    z-index: 20;
    left: 0;
    width: 270px;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 6px 0 30px #0002;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle {
    display: block;
    flex-shrink: 0;
  }
  .admin-header {
    padding: 13px 16px;
    gap: 10px;
    align-items: flex-start;
  }
  .account {
    justify-content: flex-end;
    gap: 8px;
  }
  .account .avatar {
    display: none;
  }
  .account strong {
    font-size: 13px;
  }
  .account-password {
    font-size: 11px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .admin-main {
    padding: 22px 16px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .welcome {
    padding: 23px 20px;
  }
  .welcome h2 {
    font-size: 21px;
  }
  .welcome img {
    width: 85px;
  }
  .welcome .pill {
    font-size: 10px;
  }
  .welcome p {
    font-size: 13px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-card p {
    min-height: 0;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .section-heading > span {
    display: none;
  }
  .panel {
    padding: 18px;
  }
  .status-chip {
    font-size: 10px;
  }
  .next-phase {
    padding: 22px;
  }
  .footer {
    font-size: 10px;
  }
  .message {
    margin: 35px 16px;
  }
  .admin-main .notice {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .actions {
    gap: 18px;
  }
  .hero .button {
    font-size: 14px;
  }
  .feature-card {
    padding: 22px;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading .eyebrow {
    letter-spacing: 1px;
  }
  .welcome img {
    display: none;
  }
  .auth-card .local-note {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

/* Phase 2 business forms */
select,
textarea {
  font: inherit;
  width: 100%;
  background: #fff;
  border: 1px solid #ae9e88;
  border-radius: 7px;
  color: #321f16;
  padding: 10px 12px;
  margin: 7px 0 20px;
  min-height: 50px;
}
textarea {
  resize: vertical;
  line-height: 1.9;
}
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7a0e2e;
  outline-offset: 3px;
}
.toolbar {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.toolbar p {
  margin: 0;
}
.form-panel {
  max-width: 950px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}
label small {
  display: block;
  font-weight: 400;
  margin-top: -12px;
  margin-bottom: 20px;
  font-size: 13px;
}
.filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: flex-end;
  margin-bottom: 15px;
}
.filters label {
  min-width: 170px;
  max-width: 260px;
  flex: 1;
}
.filters input,
.filters select {
  margin-bottom: 0;
}
.filters button,
.filters > a {
  margin-bottom: 7px;
  min-height: 44px;
}
.filters input[type="hidden"] {
  display: none;
}
.outline {
  background: #fff;
  color: #7a0e2e;
}
.outline:hover {
  background: #faefe5;
  color: #7a0e2e;
}
.details {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 13px 20px;
}
.details dt {
  font-weight: 700;
}
.details dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.prewrap {
  white-space: pre-wrap;
}
.wrap {
  white-space: normal;
  min-width: 150px;
  max-width: 280px;
  overflow-wrap: anywhere;
}
td small {
  display: block;
  font-size: 12px;
}
details summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 44px;
  padding: 9px 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 17px;
  margin: 24px 0;
}
.metric {
  padding: 23px;
  background: #fff;
  border: 1px solid #d9c3a0;
  border-radius: 12px;
  min-width: 0;
}
.metric span {
  font-size: 14px;
  display: block;
}
.metric strong {
  display: block;
  font-size: 25px;
  margin-top: 13px;
  overflow-wrap: anywhere;
}
.metric.accent {
  background: #7a0e2e;
  color: #fff;
}
.payment-action {
  border-top: 1px solid #d6c5ab;
  padding-top: 20px;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.inline-form {
  display: flex;
  align-items: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}
.inline-form label {
  flex: 1;
  min-width: 200px;
}
.inline-form input {
  margin-bottom: 0;
}
.proof-form {
  padding: 18px;
  background: #f9f2e8;
  border-radius: 8px;
}
.proof-form [role="status"] {
  display: block;
  overflow-wrap: anywhere;
}
.history {
  padding-left: 22px;
}
.history li {
  padding: 15px 0;
  border-bottom: 1px solid #e3d5c0;
}
.history p {
  margin: 8px 0;
}
.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
  font-size: 14px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.staff-card {
  padding: 18px;
  border: 1px solid #d7c6ad;
  border-radius: 10px;
  min-width: 0;
}
.staff-card > small {
  display: block;
  overflow-wrap: anywhere;
  margin: 8px 0 18px;
}
.role-editor {
  margin: 18px 0;
  border-top: 1px solid #d7c6ad;
  padding-top: 15px;
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  border: 1px solid #e3d5c0;
  border-radius: 6px;
  padding: 12px;
  font-weight: 400;
}
.check input {
  width: 20px;
  min-height: 20px;
  flex-shrink: 0;
  margin: 6px 0 0;
  accent-color: #7a0e2e;
}
.check small {
  margin: 5px 0 0;
  font:
    11px Arial,
    sans-serif;
  overflow-wrap: anywhere;
}
.sidebar {
  overflow-y: auto;
}
.sidebar-bottom {
  padding-top: 25px;
}
.sidebar nav a {
  padding-top: 9px;
  padding-bottom: 9px;
}
.admin-brand {
  margin-bottom: 20px;
}
@media (max-width: 760px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .filters label {
    max-width: none;
    min-width: 0;
  }
  .filters button {
    width: 100%;
  }
  .toolbar > .button {
    width: 100%;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .details dd {
    margin-bottom: 12px;
  }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .metric {
    padding: 16px 12px;
  }
  .metric strong {
    font-size: 19px;
  }
  .metric span {
    font-size: 13px;
  }
  .account-password {
    font-size: 13px;
  }
  .staff-grid {
    grid-template-columns: 1fr;
  }
  .permission-grid {
    grid-template-columns: 1fr;
  }
  .staff-card {
    padding: 15px;
  }
  label {
    font-size: 15px;
  }
  .proof-form input {
    font-size: 13px;
  }
  .form-panel {
    width: 100%;
  }
}

.audit-json {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 450px;
  min-width: 240px;
  font: 13px/1.8 monospace;
  background: #faf4e6;
  padding: 15px;
  border: 1px solid #d4af70;
}
/* Phase 3 */
.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.template-card {
  background: #fff;
  border: 1px solid #d6be98;
  border-radius: 12px;
  overflow: hidden;
}
.template-art {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f1e2bc;
  color: #593710;
  padding: 30px;
  gap: 12px;
}
.template-art.theme-burgundy {
  background: #7a0e2e;
  color: #faf4e6;
}
.template-art.theme-green {
  background: #173e2d;
  color: #faf4e6;
}
.template-art.theme-blue {
  background: #173957;
  color: #faf4e6;
}
.template-art.theme-pink {
  background: #f5dce2;
  color: #73354d;
}
.template-art.theme-white {
  background: #fcfcf8;
  color: #252622;
}
.template-art.theme-cream {
  background: #ecdbc0;
  color: #4b2e1e;
}
.template-symbol {
  font-size: 38px;
}
.template-art span:last-child {
  font-size: 13px;
}
.template-meta {
  padding: 22px;
}
.template-meta h2 {
  font-size: 20px;
}
.template-meta p {
  font-size: 13px;
}
.template-meta > a {
  margin-right: 15px;
}
.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 1fr);
  gap: 25px;
  align-items: start;
}
.builder-preview-panel {
  position: sticky;
  top: 18px;
  min-width: 0;
}
.builder-preview-panel iframe {
  display: block;
  width: 100%;
  max-width: 430px;
  height: 760px;
  background: #faf4e6;
  border: 6px solid #4b2e1e;
  border-radius: 26px;
  margin: 18px auto;
}
.builder-preview-panel > p {
  font-size: 13px;
}
.preview-toolbar {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
}
.builder-tabs {
  display: none;
}
.inv-list h2 {
  font-size: 20px;
}
button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
@media (max-width: 1050px) {
  .builder-layout {
    grid-template-columns: 1fr;
  }
  .builder-preview-panel {
    position: static;
  }
}
@media (max-width: 760px) {
  .builder-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .builder-preview-panel {
    display: none;
  }
  .builder-layout.show-preview .builder-form-panel {
    display: none;
  }
  .builder-layout.show-preview .builder-preview-panel {
    display: block;
  }
  .builder-preview-panel iframe {
    height: 670px;
    border-width: 4px;
    border-radius: 18px;
  }
  .template-grid {
    grid-template-columns: 1fr;
  }
  .template-meta > a {
    display: inline-block;
    margin-top: 12px;
  }
  .builder-tabs button {
    font-size: 13px;
    padding: 10px 14px;
  }
  .preview-toolbar {
    font-size: 11px;
  }
}
.asset-thumb {
  width: 160px;
  max-height: 180px;
  object-fit: contain;
  background: #f4eee2;
  border: 1px solid #d5c2a5;
  border-radius: 8px;
}
.media-choice {
  border-width: 2px;
}
.timeline-row {
  border-left: 4px solid #d4af70;
}
fieldset {
  border: 1px solid #d7c6ad;
  border-radius: 8px;
  margin: 20px 0;
  padding: 18px;
}
legend {
  font-weight: 700;
  padding: 0 10px;
}
select[multiple] {
  min-height: 140px;
}
.experience-layout .builder-preview-panel iframe {
  min-height: 700px;
}
.form-panel details > summary {
  font-size: 17px;
}
@media (max-width: 760px) {
  .topbar nav {
    flex-wrap: wrap;
  }
  .experience-layout .builder-preview-panel iframe {
    min-height: 650px;
  }
}
.partner-progress {
  width: 100%;
  height: 24px;
  accent-color: var(--sndk-burgundy);
}
.partner-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
.partner-tier input,
.partner-tier select {
  min-width: 0;
}
.partner-statement {
  max-width: 900px;
  margin: auto;
}
@media print {
  .no-print,
  .sidebar,
  .admin-header,
  .topbar,
  footer,
  .page-heading {
    display: none !important;
  }
  .admin-layout,
  .admin-body,
  .admin-main {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .partner-statement {
    border: 0;
    box-shadow: none;
  }
}
