.admin-login-wrap {
  min-height: calc(100vh - 52px);
  display: flex; align-items: center; justify-content: center;
  padding: 48px 20px 72px;
  background:
    radial-gradient(900px 420px at 50% -80px, var(--primary-light) 0%, transparent 58%),
    var(--bg);
}
.admin-login-card {
  width: 100%; max-width: 440px;
  padding: 36px 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(26, 26, 26, 0.08);
}
.al-kicker {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}
.al-title {
  font-size: 28px; font-weight: 700; letter-spacing: -0.03em; color: var(--text);
  margin: 0 0 8px; line-height: 1.15;
}
.al-lede, .admin-login-card .admin-reset-copy {
  margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: var(--text-muted);
}
.al-stack {
  margin: 22px 0 16px;
  border: 1px solid #cfc8c0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.al-stack:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}
.al-field { padding: 10px 14px 12px; }
.al-field + .al-field { border-top: 1px solid #eee8e2; }
.al-field label {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 2px;
}
.admin-login-card .al-field .text-input {
  border: none; padding: 4px 0 0; border-radius: 0; min-height: 28px;
  font-size: 16px; background: transparent; box-shadow: none;
}
.admin-login-card .al-field .text-input:focus { border: none; outline: none; }
.admin-pass-wrap { position: relative; }
.admin-pass-wrap .text-input { padding-right: 64px; }
.admin-login-card .admin-pass-wrap .text-input { padding-right: 56px; }
.admin-pass-toggle {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  border: none; background: none; color: var(--primary);
  font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit;
  padding: 4px 2px;
}
.admin-pass-toggle:hover { text-decoration: underline; }
.admin-login-card .pay-btn {
  background: var(--primary); margin-top: 4px; margin-bottom: 4px;
  height: 48px; font-size: 16px; font-weight: 600; border-radius: 10px;
}
.admin-login-card .pay-btn:hover { background: var(--primary-dark); }
.admin-forgot-btn {
  display: block; width: 100%; margin-top: 14px;
  background: none; border: none; color: var(--primary);
  font-size: 14px; font-weight: 600; cursor: pointer; font-family: inherit;
  text-align: center;
}
.admin-forgot-btn:hover { text-decoration: underline; }
.admin-reset-copy { font-size: 13px; color: var(--text-muted); margin: 0 0 16px; line-height: 1.45; }
.login-ok { font-size: 13px; color: #1e7a32; margin: 0 0 12px; }
.login-ok:empty { display: none; }
.admin-login-card .login-error { font-size: 13px; margin: 0 0 12px; }
@media (max-width: 480px) {
  .admin-login-card { padding: 28px 20px 22px; }
  .al-title { font-size: 24px; }
}

.admin-dashboard { max-width: 1000px; margin: 0 auto; padding: 24px; }
.admin-dashboard-header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.admin-add-btn { width: auto; padding: 10px 20px; }

.admin-properties-list { display: flex; flex-direction: column; gap: 14px; }
.admin-property-row {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: center; gap: 16px;
}
.admin-property-thumb {
  width: 72px; height: 72px; border-radius: 8px; background: #efe8e0 center/cover no-repeat;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; opacity: 0.6;
}
.admin-property-info { flex: 1; min-width: 0; }
.admin-property-name { font-size: 15px; font-weight: 600; }
.admin-property-address { font-size: 12px; color: var(--text-muted); }
.admin-property-price { font-size: 13px; margin-top: 4px; }
.admin-property-price .price-strike { text-decoration: line-through; color: var(--text-light); margin-right: 4px; }
.admin-property-price .price-now { color: var(--primary); font-weight: 700; }
.admin-kind-badge {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: 0.02em;
  background: #7a2510; color: white; border-radius: 100px; padding: 1px 7px;
  margin-left: 6px; font-family: Inter, sans-serif; vertical-align: middle;
}
.admin-inactive-badge {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  color: var(--text-muted); background: var(--bg); border: 1px solid var(--border);
  padding: 2px 8px; border-radius: 100px; margin-left: 8px;
}
.admin-inactive-badge.confirmed { background: #d1fae5; color: #065f46; border-color: #a7e3c4; }
.admin-inactive-badge.cancelled { background: #fee2e2; color: #991b1b; border-color: #f5c2c0; }
.admin-inactive-badge.refunded { background: #ede9fe; color: #5b21b6; border-color: #ddd6fe; }
.admin-inactive-badge.refund_pending {
  background: #fff4d6; color: #8a6d00; border-color: #f0d889;
}
.admin-property-actions { display: flex; gap: 8px; flex-shrink: 0; }
.admin-icon-btn {
  border: 1.5px solid var(--border); background: white; color: var(--text);
  font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
}
.admin-icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.admin-icon-btn.danger:hover { border-color: var(--red); color: var(--red); }

.admin-refund-actions {
  display: flex; flex-direction: column; gap: 8px; margin-top: 10px; font-size: 13px;
}
.admin-refund-actions input, .admin-refund-actions select {
  margin-left: 8px; padding: 6px 8px; border: 1.5px solid var(--border); border-radius: 8px;
}

.admin-form-card { max-width: 480px; text-align: left; }
.admin-form-card .form-group { text-align: left; }
.admin-form-card select, .admin-form-card textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14px; background: white; color: var(--text); resize: vertical;
}
.admin-photo-preview { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.admin-photo-preview img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border);
}
.admin-active-row { display: flex; align-items: center; }
.admin-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.admin-checkbox-label input { width: auto; }

.admin-empty { color: var(--text-muted); font-size: 14px; padding: 24px 0; text-align: center; }
.admin-empty .admin-icon-btn { margin-top: 12px; }

.admin-tabs-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 24px;
}
.admin-tabs { display: flex; flex-wrap: wrap; gap: 4px; background: var(--bg); border-radius: 100px; padding: 3px; width: fit-content; margin-bottom: 0; }
.admin-tab-send {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; color: white;
  background: linear-gradient(135deg, #1f4d3a 0%, #3d8b68 55%, #c4a574 140%);
  font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 10px rgba(31,77,58,0.28);
}
.admin-tab-send:hover { filter: brightness(1.05); }
.admin-tab-send.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #1f4d3a, 0 2px 10px rgba(31,77,58,0.28);
}
.admin-tab-send-icon { display: inline-flex; }
.admin-tab-apps {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; color: white;
  background: linear-gradient(135deg, #7a2510 0%, #b33a1c 58%, #d4a017 160%);
  font-size: 13px; font-weight: 700; padding: 10px 18px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 2px 10px rgba(122,37,16,0.28);
}
.admin-tab-apps:hover { filter: brightness(1.06); }
.admin-tab-apps.active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #7a2510, 0 2px 10px rgba(122,37,16,0.28);
}
.admin-tab-apps-icon { display: inline-flex; }

.br-page { display: flex; flex-direction: column; gap: 28px; }
.br-compose-card {
  --br: #1f4d3a;
  --br-soft: #e8f2ec;
  --br-gold: #c4a574;
  --primary: #1f4d3a;
  --primary-light: #e8f2ec;
  --primary-dark: #163828;
  max-width: 760px; padding: 0; overflow: visible;
}
.br-calendar { margin-bottom: 4px; }
.br-compose-card .availability-panel { margin: 0 0 16px; }
.br-compose-card .stay-date-pills { margin-bottom: 12px; }
.br-compose-card .stay-calendar { margin-top: 4px; }
.br-airbnb-times.is-open .br-airbnb-fields { border-radius: 12px 12px 0 0; }
.br-airbnb-fields {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff;
}
.br-airbnb-field {
  text-align: left; border: none; background: #fff; padding: 12px 14px 11px;
  cursor: pointer; font-family: inherit; min-height: 64px;
}
.br-airbnb-field + .br-airbnb-field { border-left: 1.5px solid var(--border); }
.br-airbnb-field:hover, .br-airbnb-field.open { background: #faf7f4; }
.br-airbnb-field.open { box-shadow: inset 0 0 0 2px #1f4d3a; }
.br-airbnb-kicker {
  display: block; font-size: 10px; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px;
}
.br-airbnb-value { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.br-airbnb-menu {
  margin-top: -1px; border: 1.5px solid var(--border); border-radius: 0 0 12px 12px;
  background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,0.10);
}
.br-airbnb-menu-head {
  padding: 10px 14px 8px; font-size: 12px; font-weight: 700; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.br-airbnb-menu-list { max-height: 280px; overflow: auto; padding: 6px 0; }
.br-airbnb-opt {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border: none; background: none; padding: 11px 16px; font-family: inherit;
  font-size: 14px; font-weight: 600; color: var(--text); cursor: pointer; text-align: left;
}
.br-airbnb-opt:hover:not(:disabled) { background: #f6f3ef; }
.br-airbnb-opt.selected { background: var(--primary-light); color: #1f4d3a; }
.br-airbnb-opt.occupied, .br-airbnb-opt.cleaning, .br-airbnb-opt.too-short {
  color: #a8a29e; cursor: not-allowed;
}
.br-airbnb-opt.occupied .br-airbnb-opt-time {
  text-decoration: line-through; text-decoration-thickness: 1.5px; font-weight: 500;
}
.br-airbnb-opt-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #a16207;
}
.br-airbnb-opt.cleaning .br-airbnb-opt-tag { color: #92400e; }
.br-airbnb-opt.too-short .br-airbnb-opt-tag { color: var(--text-light); }
.br-airbnb-opt.vacant .br-airbnb-opt-tag { color: #1e7a32; }
.br-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  background: linear-gradient(135deg, #1f4d3a 0%, #2d6a50 62%, #7a5a2b 160%);
  color: #f7f1e8; padding: 22px 24px 20px;
  border-radius: 12px 12px 0 0;
}
.br-card-kicker {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.78; margin-bottom: 6px;
}
.br-card-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 6px; }
.br-card-lede { margin: 0; font-size: 14px; line-height: 1.5; opacity: 0.92; max-width: 42em; }
.br-expiry-badge {
  flex-shrink: 0; align-self: flex-start;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.28);
  color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 100px; white-space: nowrap;
}
.br-kind-toggle {
  display: flex; gap: 4px; background: var(--bg); border-radius: 100px; padding: 4px;
  width: calc(100% - 48px); max-width: 420px; margin: 20px 24px 8px;
}
.br-kind-btn {
  flex: 1; border: none; background: transparent; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 9px 12px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
}
.br-kind-btn.active { background: #1f4d3a; color: white; }
.br-section { padding: 18px 24px 8px; }
.br-section + .br-section { border-top: 1px solid var(--border); }
.br-section-title {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 14px;
}
.br-compose-card .form-group { margin-bottom: 16px; }
.br-compose-card .form-row { gap: 16px; }
.br-compose-card .text-input { min-height: 42px; }
.br-compose-card .form-group label {
  font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.br-req { color: #b42318; font-weight: 700; }
.br-optional {
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--text-muted); margin-left: 6px;
}
.br-duration-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 360px;
}
.br-duration-btn {
  border: 1.5px solid #1f4d3a; background: white; color: #1f4d3a;
  font-size: 14px; font-weight: 600; padding: 10px 16px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
}
.br-duration-btn.active { background: #1f4d3a; color: white; }
.br-duration-btn:hover:not(.active) { background: #e8f2ec; }
.br-duration-chip {
  display: none; width: fit-content; margin: -4px 0 16px;
  background: #e8f2ec; color: #1f4d3a; border: 1px solid #c5ddcf;
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 100px;
}
.br-duration-chip:not(:empty) { display: inline-flex; }
.br-duration-chip.is-warn {
  background: #fff4d6; color: #8a6d00; border-color: #f0d889;
}
.br-note-group textarea { min-height: 84px; }
.br-section-send { padding-bottom: 24px; }
.br-quote {
  background: #f6f3ef; border: 1px solid var(--border); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 14px; font-size: 13px; color: var(--text); line-height: 1.5;
}
.br-quote-empty { color: var(--text-muted); }
.br-quote-head {
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.br-quote-rows { color: var(--text); }
.br-quote-due {
  margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--border);
  font-size: 15px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
}
.br-quote-due strong { color: #1f4d3a; font-size: 18px; }
.br-send-btn {
  background: #1f4d3a; width: 100%;
}
.br-send-btn:hover { background: #163828; }
.br-sent-link { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; }
.br-sent-link .text-input { flex: 1; }
.br-sent-panel .admin-dashboard-header { margin-bottom: 12px; }
.br-status-pill {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px; border: 1px solid var(--border);
}
.br-status-sent { background: #e8f0ff; color: #1d4ed8; border-color: #bfdbfe; }
.br-status-viewed { background: #fff4d6; color: #8a6d00; border-color: #f0d889; }
.br-status-paid { background: #e7f6e7; color: #1e7a32; border-color: #c6e6c6; }
.br-status-expired { background: #f3f0ec; color: #7a7268; border-color: #e8e0d8; }
.br-status-cancelled { background: #fdecea; color: #9b1c1c; border-color: #f5c2c0; }

.admin-compose-card select, .br-compose-card select, .br-compose-card textarea {
  width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: inherit; font-size: 14px; background: white; color: var(--text); resize: vertical;
}
.admin-tab {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 100px;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.admin-tab.active { background: var(--primary); color: white; }

.admin-bookings-list { display: flex; flex-direction: column; gap: 14px; }
.admin-when-toggle {
  display: inline-flex; flex-wrap: wrap; gap: 4px; background: var(--bg);
  border: 1px solid var(--border); border-radius: 100px; padding: 3px;
  flex-shrink: 0; max-width: 100%;
}
.admin-when-btn {
  border: none; background: transparent; color: var(--text-muted);
  font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 100px;
  cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
}
.admin-when-btn span {
  min-width: 1.5em; text-align: center;
  font-size: 11px; font-weight: 700;
  background: white; border: 1px solid var(--border);
  border-radius: 100px; padding: 1px 7px;
}
.admin-when-btn.active { background: var(--primary); color: white; }
.admin-when-btn.active span {
  background: rgba(255,255,255,0.16); border-color: transparent; color: white;
}
.admin-when-btn.past-active,
#admin-lodge-when-past.active,
#admin-stay-when-past.active { background: var(--primary); }
#admin-lodge-when-cancelled.active,
#admin-stay-when-cancelled.active { background: #7a2510; }
.admin-booking-row.is-past { background: #f6f3ef; }
.admin-cancel-summary {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 13px; color: var(--text); margin: 0 0 16px; line-height: 1.5;
}
.admin-booking-row {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 16px; display: flex; align-items: flex-start; gap: 16px;
}
.admin-booking-info { flex: 1; min-width: 0; }
.admin-booking-id { font-size: 13px; font-weight: 700; font-family: monospace; margin-bottom: 4px; }
.admin-booking-billing { font-size: 12px; color: var(--primary); font-weight: 600; margin-top: 6px; }

.admin-pricing-card { max-width: 640px; }
.admin-pricing-card .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.admin-pricing-preview {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; font-size: 13px; color: var(--text); margin: 12px 0 16px; line-height: 1.5;
}

.admin-live-banner {
  background: #fdecea; color: #9b1c1c; border: 1px solid #f5c2c0;
  border-radius: 10px; padding: 10px 14px; font-size: 13px; font-weight: 700;
  margin: 0 0 18px;
}
.admin-billing-section { margin-bottom: 28px; }
.admin-billing-section-title {
  font-size: 15px; font-weight: 700; margin-bottom: 10px;
}
.admin-billing-filters {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px;
}
.admin-billing-filters input, .admin-billing-filters select {
  flex: 1; min-width: 180px; padding: 8px 10px; border: 1.5px solid var(--border);
  border-radius: 8px; font-family: inherit; font-size: 13px;
}
.admin-billing-table-wrap { overflow-x: auto; }
.admin-billing-table {
  width: 100%; border-collapse: collapse; font-size: 13px; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
}
.admin-billing-table th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--text-muted); padding: 10px 12px; border-bottom: 1px solid var(--border);
}
.admin-billing-table td {
  padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.admin-billing-table td .admin-property-actions { justify-content: flex-end; }
.admin-billing-muted { font-size: 12px; color: var(--text-muted); }
.admin-billing-muted.admin-billing-failed-summary { color: #9b1c1c; font-weight: 600; }
.admin-billing-errors { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.admin-billing-error {
  background: #fdecea; color: #9b1c1c; border: 1px solid #f5c2c0;
  border-radius: 10px; padding: 10px 14px; font-size: 13px;
}
.admin-billing-mono { font-family: monospace; font-size: 12px; word-break: break-all; }
.admin-pay-pill {
  display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase;
  padding: 2px 8px; border-radius: 100px; background: var(--bg); border: 1px solid var(--border);
  color: var(--text-muted);
}
.admin-pay-pill.ok { background: #e7f6e7; color: #1e7a32; border-color: #c6e6c6; }
.admin-pay-pill.warn { background: #fff4d6; color: #8a6d00; border-color: #f0d889; }
.admin-pay-pill.bad { background: #fdecea; color: #9b1c1c; border-color: #f5c2c0; }
.admin-pay-pill.muted { background: var(--bg); color: var(--text-muted); }
.admin-pay-pill.status-rejected {
  background: #dc2626; color: #fff; border-color: #b91c1c;
  font-weight: 800; letter-spacing: 0.04em;
}
.admin-pay-pill.status-approved {
  background: #16a34a; color: #fff; border-color: #15803d; font-weight: 800;
}
.admin-pay-pill.status-review {
  background: #d97706; color: #fff; border-color: #b45309; font-weight: 700;
}
.admin-pay-pill.status-pending {
  background: #fff4d6; color: #8a6d00; border-color: #f0d889; font-weight: 700;
}
.admin-pay-pill.verdict-high {
  background: #fdecea; color: #9b1c1c; border-color: #f5c2c0; font-weight: 800;
}
.app-row-rejected {
  border-color: #f5c2c0;
  box-shadow: inset 4px 0 0 #dc2626, var(--shadow);
}
.app-row-approved {
  box-shadow: inset 4px 0 0 #16a34a, var(--shadow);
}

.app-list-toast {
  margin: 0 0 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}
.app-list-toast[hidden] { display: none !important; }
.app-list-toast.is-ok { background: #e7f6e7; color: #1e7a32; border: 1px solid #c6e6c6; }
.app-list-toast.is-error { background: #fdecea; color: #9b1c1c; border: 1px solid #f5c2c0; }

.app-review-page { padding-bottom: 40px; }
.app-review-back {
  display: inline-flex; align-items: center; gap: 6px;
  border: none; background: none; padding: 0;
  color: var(--primary); font: inherit; font-size: 13px; font-weight: 700;
  cursor: pointer; margin-bottom: 16px;
}
.app-review-back:hover { text-decoration: underline; }
.app-review-hero {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  margin-bottom: 16px;
}
.app-review-name {
  margin: 4px 0 6px; font-size: 28px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15;
}
.app-review-meta { margin: 0; color: var(--text-muted); font-size: 14px; }
.app-review-toolbar {
  position: sticky; top: 52px; z-index: 20;
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 12px 0; margin: 0 0 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.app-review-toolbar .pay-btn {
  width: auto; min-width: 120px; height: 42px; margin: 0; padding: 0 18px;
  font-size: 14px; border-radius: 100px;
}
.app-review-btn {
  height: 42px; padding: 0 16px; margin: 0;
  border: 1.5px solid var(--border); background: #fff; color: var(--text);
  border-radius: 100px; font: inherit; font-size: 14px; font-weight: 600;
  cursor: pointer;
}
.app-review-btn:hover { border-color: var(--primary); color: var(--primary); }
.app-review-btn.app-review-reject:hover { border-color: var(--red); color: var(--red); }
.app-review-score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.app-review-score-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow);
}
.app-review-score {
  font-size: 40px; font-weight: 800; letter-spacing: -0.04em; margin: 8px 0 10px; line-height: 1;
}
.app-review-score span { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-left: 4px; }
.apply-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
.app-review-panel {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow);
}
.app-review-copy { margin: 10px 0 0; white-space: pre-wrap; color: var(--text); font-size: 14px; line-height: 1.55; }
.app-review-copy.muted, .app-review-note time { color: var(--text-muted); }
.app-review-flags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.app-review-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.app-review-cols .app-review-panel { margin-bottom: 0; }
.app-review-dl { margin: 12px 0 0; display: grid; gap: 10px; }
.app-review-dl dt {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted);
}
.app-review-dl dd { margin: 2px 0 0; font-size: 14px; font-weight: 550; }
.app-review-docs { margin: 10px 0 0; padding-left: 18px; }
.app-review-docs a { color: var(--primary); font-weight: 600; }
.app-review-notes { margin: 10px 0 14px; display: grid; gap: 10px; }
.app-review-note {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
}
.app-review-note time { display: block; font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.app-review-note p { margin: 0; font-size: 14px; }
.app-review-note-label {
  display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px;
}
.app-review-panel textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 12px;
  font: inherit; resize: vertical; background: #fff;
}
.app-review-panel textarea:focus { outline: none; border-color: var(--primary); }
.app-review-panel textarea.is-invalid { border-color: var(--red); }
.app-review-panel [data-app-action="note"] { margin-top: 10px; }
.app-list-review-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: auto; min-width: 0; height: 40px; margin: 0; padding: 0 16px 0 12px;
  border: none; border-radius: 10px;
  background: #1a1a1a; color: #fff;
  font-size: 13px; font-weight: 700; font-family: inherit;
  box-shadow: 0 2px 8px rgba(26,26,26,0.18);
  cursor: pointer;
}
.app-list-review-btn:hover { background: #000; transform: translateY(-1px); }
.app-list-review-btn svg { flex-shrink: 0; }

@media (max-width: 600px) {
  .admin-property-row { flex-wrap: wrap; }
  .admin-property-actions { width: 100%; justify-content: flex-end; }
  .admin-booking-row { flex-wrap: wrap; }
  .admin-pricing-card .form-row { grid-template-columns: 1fr; }
  .app-review-score-grid, .app-review-cols { grid-template-columns: 1fr; }
  .app-review-toolbar { top: 48px; }
  .app-review-toolbar .pay-btn, .app-review-btn { width: 100%; }
  .br-card-head { flex-direction: column; }
  .br-kind-toggle { width: calc(100% - 32px); margin: 16px 16px 4px; }
  .br-section { padding: 16px 16px 4px; }
  .br-card-head { padding: 18px 16px 16px; }
}
