@import url("/assets/fonts.css");
:root {
  --ink: #20382f;
  --muted: #748078;
  --paper: #f7f8f4;
  --line: #e5e9e1;
  --gold: #a77d37;
  --green: #2d7054;
  --red: #b65745;
  --pale: #edf3eb;
  --radius: 16px;
  font-family: "Sarabun", Tahoma, system-ui, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  font-size: 15px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--green);
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #bca05f;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
}
h3 {
  font-size: 16px;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 12px;
  line-height: 1.7;
}
.app-shell {
  display: grid;
  grid-template-columns: 246px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 34px 24px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand strong {
  display: block;
  font-size: 23px;
  line-height: 1.2;
}
.brand small {
  font-size: 11px;
  letter-spacing: 1px;
}
.nav-title {
  font-size: 11px;
  letter-spacing: 1px;
  color: #92988f;
  margin: 0 12px 12px;
}
.nav {
  display: grid;
  gap: 7px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 13px 14px;
  border-radius: 9px;
  color: #768178;
  white-space: nowrap;
}
.nav button.active {
  color: var(--ink);
  background: var(--pale);
  font-weight: 600;
}
.nav svg,
.icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav button:hover {
  background: #f3f5ef;
}
.sidebar-bottom {
  margin-top: auto;
}
.approval-mini {
  background: #f7f7ef;
  border: 1px solid #ebe9d7;
  padding: 15px;
  border-radius: 12px;
  line-height: 1.7;
  font-size: 12px;
  margin-bottom: 22px;
}
.approval-mini strong {
  display: block;
  color: var(--gold);
  font-size: 14px;
}
.identity {
  display: flex;
  gap: 10px;
  align-items: center;
}
.avatar {
  background: #eaece3;
  color: #68775f;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-weight: 600;
}
.identity strong {
  font-size: 13px;
}
.identity small {
  display: block;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid var(--line);
  padding: 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff9;
  gap: 20px;
  font-size: 13px;
}
.topbar .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #78966b;
  border-radius: 50%;
  margin-right: 7px;
}
.content {
  max-width: 1460px;
  margin: auto;
  padding: 35px 42px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: white;
  border: 1px solid var(--ink);
  padding: 11px 18px;
  border-radius: 9px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.btn.light {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.btn.danger {
  background: var(--red);
  border-color: var(--red);
}
.btn.small {
  padding: 7px 12px;
  font-size: 12px;
}
.btn .icon {
  height: 19px;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.stats {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}
.stat {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.stat .label {
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
}
.stat .number {
  font-family: system-ui, sans-serif;
  font-size: 28px;
  letter-spacing: -0.8px;
  margin: 17px 0 9px;
  white-space: nowrap;
  font-weight: 600;
}
.stat .number small {
  font-size: 15px;
  font-weight: 400;
  margin-right: 5px;
  color: inherit;
}
.stat.featured {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.stat.featured .label,
.stat.featured small {
  color: #bccbb9;
}
.stat.featured .number small {
  color: #c5d3c3;
}
.positive {
  color: var(--green);
}
.negative {
  color: var(--red);
}
.gold {
  color: var(--gold);
}
.grid-two {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-head {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel-head small {
  display: block;
  margin-top: 4px;
}
.panel-body {
  padding: 0 24px 24px;
}
.legend {
  display: flex;
  gap: 14px;
  font-size: 11px;
  color: var(--muted);
}
.legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  margin-right: 5px;
  background: var(--green);
}
.legend span:last-child::before {
  background: #d6b77c;
}
.chart {
  height: 170px;
  display: flex;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
}
.chart-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 5px;
  position: relative;
  padding-bottom: 29px;
}
.chart-col label {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.bar {
  width: 20px;
  border-radius: 4px 4px 0 0;
  background: #64856d;
  min-height: 2px;
}
.bar.expense {
  background: #d5b77d;
}
.accounts {
  display: flex;
  gap: 22px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.account {
  flex: 1;
}
.account strong {
  display: block;
  font-family: system-ui;
  font-size: 17px;
  margin-top: 5px;
}
.review-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #f0f1ec;
}
.review-item:first-child {
  border: 0;
}
.review-item .avatar {
  background: #f6f1e7;
  color: var(--gold);
  border-radius: 10px;
}
.review-item .body {
  flex: 1;
  min-width: 0;
}
.review-item strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}
.review-item small {
  font-size: 11px;
}
.review-item .amount {
  font-family: system-ui;
  font-size: 13px;
}
.review-dots {
  display: flex;
  gap: 4px;
  margin-top: 7px;
}
.review-dots i {
  width: 20px;
  height: 4px;
  border-radius: 3px;
  background: #e9ede5;
}
.review-dots i.done {
  background: #7a956c;
}
.review-quick-help {
  margin: -8px 0 22px;
  padding: 14px 17px;
  border: 1px solid #e6dfcf;
  border-radius: 10px;
  background: #fbf8f0;
  color: var(--muted);
  font-size: 13px;
}
.review-quick-list {
  display: grid;
  gap: 16px;
}
.review-quick-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 5px 16px #203b2b08;
}
.review-quick-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.review-quick-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.review-quick-title .type-icon {
  flex-shrink: 0;
}
.review-quick-title strong {
  display: block;
  font-size: 16px;
}
.review-quick-title small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
.review-quick-amount {
  flex-shrink: 0;
  font-family: system-ui;
  font-size: 19px;
  font-weight: 650;
}
.review-quick-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px solid #f0f1ec;
  border-bottom: 1px solid #f0f1ec;
}
.review-quick-meta dt {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 5px;
}
.review-quick-meta dd {
  margin: 0;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.review-quick-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.btn.approve {
  background: #426e51;
  border-color: #426e51;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  background: #fafbf8;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
td {
  padding: 17px 24px;
  font-size: 13px;
  border-bottom: 1px solid #f0f2eb;
}
tbody tr:last-child td {
  border: 0;
}
td strong {
  font-weight: 500;
}
td small {
  display: block;
  font-size: 11px;
}
.table-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.type-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef4ec;
  color: #6b8a65;
  display: grid;
  place-items: center;
}
.type-icon.expense {
  color: #b59054;
  background: #f8f3e8;
}
.num {
  font-family: system-ui;
  font-variant-numeric: tabular-nums;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  background: #edf4eb;
  color: #5c7f4f;
}
.badge.pending {
  background: #faf2e2;
  color: #ac873e;
}
.badge.rejected {
  background: #faefeb;
  color: #b16857;
}
.footnote {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  color: #8a9388;
  font-size: 11px;
  gap: 15px;
}
.empty {
  padding: 34px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.filters {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
  padding: 0 24px 22px;
}
.filters label {
  flex: 1;
  min-width: 120px;
}
.filters input,
.filters select {
  font-size: 13px;
  padding: 9px;
}
.filters .search {
  flex: 2;
  min-width: 180px;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce2d8;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 8px;
  min-width: 0;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #7c9674;
  box-shadow: 0 0 0 3px #edf3e9;
}
textarea {
  resize: vertical;
  min-height: 88px;
}
input[type="file"] {
  padding: 15px;
  border-style: dashed;
  background: #f8faf6;
}
input[type="checkbox"] {
  width: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.full {
  grid-column: 1/-1;
}
.form-actions {
  display: flex;
  justify-content: end;
  gap: 10px;
  margin-top: 23px;
}
.notice {
  background: #f7f3e8;
  border: 1px solid #eee4cc;
  border-radius: 10px;
  padding: 14px 17px;
  font-size: 13px;
  line-height: 1.7;
  color: #8a7146;
  margin-bottom: 22px;
}
.error {
  color: var(--red);
  background: #fff0ec;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  margin: 14px 0;
}
.success {
  background: #edf4eb;
  color: var(--green);
  padding: 14px;
  border-radius: 9px;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--muted);
}
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.auth-art {
  background: var(--ink);
  color: #e5e9de;
  padding: 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.auth-art:after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  border: 1px solid #b7c79726;
  border-radius: 50%;
  right: -150px;
  bottom: -60px;
  box-shadow:
    0 0 0 60px #b7c79708,
    0 0 0 120px #b7c79705;
}
.auth-art h1 {
  font-size: 47px;
  line-height: 1.55;
  font-weight: 500;
  margin: 55px 0 24px;
}
.auth-art p {
  color: #adbea9;
  line-height: 1.9;
  font-size: 15px;
  max-width: 390px;
}
.auth .brand small {
  color: #aebeaa;
}
.auth-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.auth-box form {
  width: 100%;
  max-width: 360px;
}
.auth-box h2 {
  font-size: 27px;
  margin-bottom: 9px;
}
.auth-box label {
  margin-top: 20px;
}
.auth-box .btn {
  width: 100%;
  margin-top: 25px;
}
.auth-box > div {
  width: 100%;
  max-width: 450px;
}
.security-box {
  max-width: 700px;
  margin: auto;
}
.security-box form {
  padding: 24px;
}
.security-box h2 {
  margin-bottom: 12px;
}
.secret {
  overflow-wrap: anywhere;
  font-family: monospace;
  padding: 16px;
  background: #f1f4ed;
  border-radius: 8px;
  font-size: 18px;
  margin: 15px 0;
}
.key-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.key-values dt {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 7px;
}
.key-values dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.review-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.review-list li {
  padding: 15px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-list li .body {
  flex: 1;
}
.files {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}
.files a {
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
}
.audit-text {
  white-space: normal;
  max-width: 400px;
  overflow-wrap: anywhere;
  font-size: 11px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
  max-width: 540px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
  color: var(--ink);
}
dialog::backdrop {
  background: #14271ec0;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin-bottom: 20px;
}
dialog label {
  margin-top: 14px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  border-radius: 10px;
  padding: 13px 22px;
  box-shadow: 0 8px 30px #0002;
  z-index: 10;
  display: none;
}
.mobile-brand {
  display: none;
}
.donor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}
.donor-card {
  padding: 23px;
}
.donor-card .avatar {
  margin-bottom: 15px;
  width: 43px;
  height: 43px;
}
.donor-card h3 {
  margin-bottom: 6px;
}
.donor-card .num {
  font-size: 23px;
  margin: 20px 0 6px;
}
.progressline {
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
}
@media (min-width: 1500px) {
  .content {
    padding-top: 45px;
  }
  .stat .number {
    font-size: 34px;
  }
  .chart {
    height: 190px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    grid-template-columns: 210px 1fr;
  }
  .sidebar {
    padding: 28px 17px;
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-two {
    grid-template-columns: 1fr;
  }
  .donor-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    display: block;
    padding: 18px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin-bottom: 17px;
  }
  .nav-title,
  .sidebar-bottom {
    display: none;
  }
  .nav {
    display: flex;
    overflow: auto;
    gap: 4px;
  }
  .nav button {
    padding: 10px;
    font-size: 12px;
    gap: 7px;
  }
  .nav svg {
    width: 16px;
  }
  .topbar {
    height: 53px;
    padding: 0 18px;
    font-size: 11px;
  }
  .content {
    padding: 23px 16px;
  }
  .page-heading {
    align-items: start;
    gap: 12px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading .btn {
    padding: 10px 12px;
    font-size: 12px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px 14px;
  }
  .stat .number {
    font-size: 23px;
  }
  .stat .label {
    font-size: 11px;
  }
  .stat small {
    font-size: 10px;
  }
  .grid-two {
    gap: 17px;
  }
  .panel-head {
    padding: 19px 17px;
  }
  .panel-body {
    padding: 0 17px 19px;
  }
  .legend {
    font-size: 10px;
    gap: 7px;
  }
  th,
  td {
    padding: 14px 17px;
  }
  .form-grid,
  .key-values {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .footnote {
    display: block;
    line-height: 1.8;
  }
  .donor-grid {
    grid-template-columns: 1fr;
  }
  .review-quick-card {
    padding: 17px;
  }
  .review-quick-main {
    display: block;
  }
  .review-quick-amount {
    margin: 13px 0 0 39px;
  }
  .review-quick-meta {
    grid-template-columns: 1fr 1fr;
  }
  .review-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .review-quick-actions button:first-child {
    grid-column: 1 / -1;
  }
  .review-quick-actions .btn {
    width: 100%;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-art {
    padding: 25px;
  }
  .auth-art h1 {
    font-size: 28px;
    margin: 30px 0 8px;
  }
  .auth-art p,
  .auth-art > small {
    display: none;
  }
  .auth-box {
    padding: 32px 24px;
  }
  .filters {
    padding: 0 17px 18px;
  }
  .chart {
    gap: 4px;
  }
  .accounts {
    gap: 12px;
  }
  .account small {
    font-size: 10px;
  }
  .account strong {
    font-size: 14px;
  }
}
@media print {
  .sidebar,
  .topbar,
  .actions,
  .filters,
  .btn,
  .footnote {
    display: none !important;
  }
  .app-shell {
    display: block;
  }
  .content {
    padding: 0;
  }
  .panel {
    border: 1px solid #ddd;
    break-inside: avoid;
  }
  body {
    background: white;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    white-space: normal;
  }
  th,
  td {
    padding: 9px;
    font-size: 10px;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat {
    padding: 10px;
  }
  .stat .number {
    font-size: 20px;
  }
  .grid-two {
    grid-template-columns: 1fr 1fr;
  }
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.7;
}
.check-label input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.progressline .btn {
  display: flex;
  margin-top: 12px;
  font-size: 10px;
  white-space: normal;
  text-align: left;
}
.public-shell {
  min-height: 100vh;
}
.public-header {
  max-width: 1280px;
  padding: 28px 36px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.public-header .brand small {
  letter-spacing: 0;
}
.public-content {
  max-width: 1280px;
  margin: auto;
  padding: 45px 36px;
}
.public-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  gap: 12px;
  flex-wrap: wrap;
}
.public-stats {
  grid-template-columns: 1.2fr 1fr 1fr;
}
.public-accounts {
  background: #edf1e7;
  border: 1px solid #e0e6d8;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 0 0 28px;
  gap: 40px;
  max-width: 600px;
}
.public-footer {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  text-align: center;
  line-height: 2;
}
.donor-heading {
  margin-top: 40px;
}
.public-content .page-heading p {
  line-height: 1.7;
}
@media (max-width: 700px) {
  .public-header {
    padding: 20px 16px;
    align-items: start;
  }
  .public-header .btn {
    font-size: 11px;
    padding: 10px;
  }
  .public-content {
    padding: 30px 16px;
  }
  .public-content h1 {
    font-size: 25px;
  }
  .public-stats {
    grid-template-columns: 1fr 1fr;
  }
  .public-stats .featured {
    grid-column: 1/-1;
  }
  .public-stats .featured .number {
    font-size: 36px;
  }
  .public-content .page-heading {
    flex-wrap: wrap;
  }
  .public-header .brand {
    align-items: start;
  }
  .public-header .brand small {
    font-size: 10px;
  }
  .public-header .brand img {
    width: 34px;
    height: 34px;
  }
  .public-status small {
    font-size: 10px;
  }
}

.settings-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 24px;
}
.settings-tabs .btn {
  white-space: nowrap;
}
.public-copy {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.public-submit {
  margin-top: 28px;
}
.public-submit-form {
  padding-top: 24px;
}
.public-submit-status {
  margin-top: 14px;
  font-size: 13px;
}
.public-submit-status.success {
  color: #356b49;
}
.public-submit-status.error {
  color: var(--red);
}
.brand strong {
  font-size: 20px;
}
.brand small {
  white-space: normal;
}
.panel-body code {
  overflow-wrap: anywhere;
}

/* Use the supplied temple emblem in full, without cropping. */
.brand img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
}
.auth-art .brand img {
  width: 80px;
  height: 80px;
}
.public-header .brand img {
  width: 64px;
  height: 64px;
}
@media (max-width: 600px) {
  .brand img,
  .public-header .brand img {
    width: 48px;
    height: 48px;
  }
}
