@font-face {
  font-family: SBAArabic;
  src: url("/static/arabic.ttf") format("truetype");
  font-display: swap;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
/* Inter variable font, self-hosted (SIL Open Font License, see INTER-LICENSE.txt). */
@font-face {
  font-family: Inter;
  src: url("/static/inter-latin.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  src: url("/static/inter-latin-ext.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  /* Brand colours sampled from the official SBA logo. */
  --teal: #0b5a6f;
  --deep: #043b4c;
  --orange: #f45638;
  --bg: #f3f6f5;
  --white: #fff;
  --ink: #243f46;
  --muted: #718487;
  --line: #e0e7e4;
  --soft: #eaf1ee;
  --green: #367a6c;
  --amber: #9b7736;
  --red: #ad6865;
  --slate: #759096;
  --unset: #cbd4d1;
  --radius: 13px;
  --shadow: 0 8px 24px #193d4510;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font:
    14px/1.5 Inter,
    "Segoe UI",
    SBAArabic,
    Arial,
    sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: #f4563829;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  font-weight: 650;
  letter-spacing: -1px;
  line-height: 1.2;
}
h2 {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 15px;
}
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 12px;
}
.icon {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.eyebrow,
.small-label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.eyebrow {
  margin-bottom: 9px;
}
.required {
  color: var(--orange);
}
input:not([type="checkbox"]),
select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  padding: 9px 11px;
  color: var(--ink);
  outline: none;
  transition:
    border 0.15s,
    box-shadow 0.15s;
}
input::placeholder {
  color: #9aa9a9;
}
input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px #0b5a6f12;
}
input[type="checkbox"] {
  accent-color: var(--teal);
  width: 15px;
  height: 15px;
  cursor: pointer;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 550;
  color: var(--ink);
}
label > input,
label > select {
  display: block;
  margin-top: 7px;
}
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 9px;
}
label:has(input[type="checkbox"]) input {
  margin: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #f4563899;
  outline-offset: 3px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 41px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.button.primary {
  background: var(--deep);
  color: white;
  box-shadow:
    inset 0 1px 0 #ffffff2b,
    0 2px 10px #043b4c2e;
}
.button.primary:hover {
  background: #0b5a6f;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 #ffffff2b,
    0 7px 18px #043b4c3d;
}
.button.primary:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 #ffffff2b,
    0 2px 8px #043b4c30;
}
.button.secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.button.secondary:hover {
  background: #f4f8f6;
  border-color: #cbdad5;
}
.button.quiet:hover {
  background: #eaf0ed;
}
.button.quiet {
  background: transparent;
  color: var(--muted);
  padding-left: 10px;
  padding-right: 10px;
}
.button.small {
  min-height: 34px;
  font-size: 11px;
  padding: 7px 12px;
}
.button.wide {
  width: 100%;
}
.button.danger {
  color: var(--red);
}
.button .icon {
  width: 16px;
  height: 16px;
}
.icon-button {
  border: 0;
  background: transparent;
  width: 33px;
  height: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 18px;
}
.icon-button:hover {
  background: var(--soft);
  color: var(--deep);
}
.icon-button.light {
  color: #c9d8d8;
}
.icon-button.light:hover {
  background: #ffffff12;
}
.report-button {
  position: relative;
}
.report-button:before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: var(--orange);
  border-radius: 4px;
}
.boot {
  min-height: 100vh;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--muted);
}
.spinner {
  width: 27px;
  height: 27px;
  display: inline-block;
  border: 2px solid var(--line);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.notice {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 12px;
  color: var(--muted);
}
.notice p {
  margin-top: 5px;
}
.notice strong {
  color: var(--ink);
}
.notice.warning {
  background: #fff7ee;
  border-color: #edd7b8;
  color: #8c622b;
}
.form-error {
  font-size: 12px;
  color: #a64f4f;
  min-height: 16px;
  margin: 8px 0;
}
.form-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
}
.login-view {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.login-story {
  background-color: var(--deep);
  background-image:
    radial-gradient(58% 42% at 84% 6%, #ffffff12, transparent 62%),
    radial-gradient(52% 40% at 4% 102%, #f4563826, transparent 68%);
  color: #fff;
  padding: 48px 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  position: relative;
}
.login-story > .brand-logo {
  width: 176px;
}
.brand-logo {
  display: block;
  width: 168px;
}
.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}
.login-story h1 {
  font-size: 44px;
  line-height: 1.18;
  letter-spacing: -1.4px;
  margin-bottom: 22px;
}
.login-story .eyebrow {
  color: #f9a292;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.login-story p:not(.eyebrow) {
  color: #c2d3d4;
  max-width: 360px;
  line-height: 1.8;
}
.login-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
}
.login-capabilities span {
  font-size: 10px;
  border: 1px solid #547278;
  border-radius: 5px;
  padding: 7px 10px;
  color: #d5e1e1;
}
.login-foot {
  font-size: 11px;
}
.login-form-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.login-form {
  width: 100%;
  max-width: 352px;
}
.login-form h2 {
  font-size: 29px;
  margin: 10px 0 9px;
  letter-spacing: -0.8px;
}
.login-form > .muted {
  margin-bottom: 29px;
}
.login-form label {
  margin-bottom: 18px;
}
.login-form > .form-note {
  text-align: center;
  margin-top: 19px;
}
.app-shell {
  min-height: 100vh;
}
.sidebar {
  width: 223px;
  position: fixed;
  inset: 0 auto 0 0;
  background-color: var(--deep);
  background-image: linear-gradient(
    180deg,
    #06404f 0%,
    #043b4c 34%,
    #032c38 100%
  );
  color: white;
  display: flex;
  flex-direction: column;
  padding: 31px 19px 18px;
  z-index: 30;
}
.sidebar > .brand-logo {
  margin-left: 14px;
  width: 156px;
}
.sidebar-rule {
  height: 1px;
  background: #ffffff17;
  margin: 30px 12px 23px;
}
.nav-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #8caaaf;
  margin: 0 14px 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  width: 100%;
  min-height: 45px;
  border-radius: 7px;
  background: transparent;
  color: #c4d4d5;
  text-align: left;
  padding: 12px 15px;
  margin-bottom: 5px;
  font-size: 12px;
  position: relative;
  transition: all 0.15s;
}
.nav-item .icon {
  width: 17px;
  height: 17px;
}
.nav-item:hover {
  background: #ffffff0c;
  color: white;
}
.nav-item.active {
  background: #eef4f1;
  color: var(--deep);
  font-weight: 650;
  box-shadow: 0 5px 16px #021e2838;
}
.nav-item.active:before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 3px;
  background: var(--orange);
  border-radius: 4px;
}
.nav-count {
  margin-left: auto;
  border: 1px solid #819994;
  border-radius: 4px;
  padding: 0 5px;
  font-size: 9px;
}
.sidebar-bottom {
  margin-top: auto;
}
.workspace-label {
  font-size: 8px;
  color: #96b0b4;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 15px 12px 6px;
}
.online-dot {
  width: 6px;
  height: 6px;
  display: inline-block;
  background: #629684;
  border-radius: 50%;
  flex: none;
}
.sidebar-bottom > p {
  font-size: 11px;
  margin: 0 12px 26px;
  word-break: break-word;
}
.account {
  border-top: 1px solid #ffffff18;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 2px 0;
}
.avatar {
  height: 31px;
  width: 31px;
  border-radius: 50%;
  background: #ffffff14;
  display: grid;
  place-items: center;
  font-size: 11px;
  flex: none;
}
.account > div {
  min-width: 0;
  flex: 1;
}
.account strong {
  font-size: 10px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 550;
}
.account small {
  font-size: 9px;
  color: #8fabb0;
  display: block;
  margin-top: 1px;
}
.account > .icon-button {
  width: 26px;
}
.main {
  margin-left: 223px;
}
.topbar {
  height: 68px;
  border-bottom: 1px solid var(--line);
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f9fbfacc;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.breadcrumb {
  font-size: 11px;
  color: var(--muted);
  display: flex;
  gap: 15px;
  align-items: center;
}
.breadcrumb strong {
  font-weight: 550;
  color: var(--ink);
}
.breadcrumb > span {
  color: #b5c1bf;
}
.topbar-right {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.topbar-divider {
  width: 1px;
  height: 15px;
  background: var(--line);
  margin: 0 10px;
}
.mobile-menu {
  display: none;
}
.page-content {
  max-width: 1700px;
  margin: 0 auto;
  padding: 33px 36px 16px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}
.page-heading h1 {
  margin-bottom: 8px;
}
.page-heading > .muted,
.page-heading > div > .muted {
  font-size: 12px;
}
.heading-actions {
  display: flex;
  gap: 10px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 2px 2px #253d4202;
}
.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.card-heading .small-label {
  font-size: 8px;
  letter-spacing: 1px;
}
.subtle-pill {
  font-size: 9px;
  font-weight: 550;
  background: var(--bg);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--muted);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}
.stat-card {
  padding: 20px 21px 15px;
  border-radius: 11px;
  position: relative;
  min-height: 129px;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}
.stat-top > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.stat-top > span:before {
  content: "";
  display: block;
  width: 3px;
  height: 12px;
  border-radius: 2px;
  background: var(--teal);
}
.stat-card.sent .stat-top > span:before {
  background: var(--orange);
}
.stat-card.confirmed .stat-top > span:before {
  background: var(--green);
}
.stat-card.awaiting .stat-top > span:before {
  background: var(--amber);
}
.stat-top .icon {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}
.stat-value {
  font-size: 33px;
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -1px;
  margin-top: 11px;
  color: var(--deep);
}
.stat-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: var(--muted);
  margin-top: 10px;
}
.stat-caption .icon {
  width: 13px;
  height: 13px;
}
.stat-card:hover {
  border-color: #b9c9c4;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px #122f391c;
}
.charts-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-bottom: 26px;
}
.chart-card {
  padding: 23px 24px 18px;
  min-height: 233px;
}
.chart-card h2 {
  font-size: 14px;
}
.donut-layout {
  display: grid;
  grid-template-columns: 40% 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}
.donut {
  width: 158px;
  max-width: 100%;
  height: 158px;
  display: block;
  margin: auto;
}
.donut .track {
  stroke: #edf1ee;
}
.donut text {
  fill: var(--deep);
  font-weight: 600;
  font-size: 27px;
}
.donut .donut-label {
  font-size: 9px;
  fill: var(--muted);
  font-weight: 400;
}
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legend-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--muted);
}
.legend-row b {
  margin-left: auto;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
}
.swatch {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 2px;
  flex: none;
}
.swatch.confirmed {
  background: var(--green);
}
.swatch.pending {
  background: var(--amber);
}
.swatch.declined {
  background: var(--red);
}
.swatch.no-response {
  background: var(--slate);
}
.swatch.unset {
  background: var(--unset);
}
.bar-chart {
  margin-top: 26px;
}
.bar-row {
  display: grid;
  grid-template-columns: 60px 1fr 25px;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  font-size: 10px;
  color: var(--muted);
}
.bar-row svg {
  height: 9px;
  width: 100%;
  overflow: visible;
}
.bar-row b {
  font-size: 11px;
  text-align: right;
  color: var(--ink);
}
.chart-note {
  font-size: 9px;
  color: var(--muted);
  margin-top: 4px;
}
.chart-empty-note {
  font-size: 10px;
  color: var(--muted);
}
.register-card {
  overflow: hidden;
}
.register-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 23px 17px;
  gap: 12px;
}
.register-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}
.register-heading p {
  margin-top: 5px;
  font-size: 10px;
}
.count-pill {
  display: inline-block;
  background: var(--soft);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 5px;
  letter-spacing: 0;
  color: var(--teal);
}
.table-actions {
  display: flex;
  gap: 5px;
}
.register-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 23px 15px;
  gap: 10px;
}
.quick-tabs {
  display: flex;
  gap: 20px;
  align-items: center;
}
.quick-tab {
  border: 0;
  background: transparent;
  font-size: 10px;
  padding: 10px 0;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.quick-tab.active {
  color: var(--teal);
  border-bottom-color: var(--orange);
  font-weight: 650;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  padding: 0 11px;
  min-width: 220px;
}
.search-field .icon {
  width: 15px;
  height: 15px;
  color: var(--muted);
}
.search-field input {
  border: 0;
  background: transparent;
  height: 34px;
  font-size: 10px;
  padding: 8px;
  box-shadow: none;
}
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 23px;
  background: #f8faf9;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters label {
  font-size: 10px;
  color: var(--muted);
}
.filters input,
.filters select {
  height: 36px;
  font-size: 11px;
}
.filters .button {
  align-self: end;
}
.bulk-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #eaf1ed;
  border-top: 1px solid var(--line);
  padding: 12px 23px;
}
.bulk-bar strong {
  font-size: 11px;
  margin-right: auto;
}
.bulk-bar select {
  width: auto;
  max-width: 180px;
  height: 33px;
  font-size: 11px;
}
.table-scroll {
  overflow: auto;
}
.guest-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 1000px;
  font-size: 11px;
}
.guest-table th {
  background: #edf2ef;
  color: var(--teal);
  font-size: 9px;
  text-align: left;
  font-weight: 650;
  white-space: nowrap;
  padding: 13px 11px;
}
.guest-table th button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
}
.guest-table th button span {
  margin-left: 4px;
  color: #8b9e9e;
  font-size: 10px;
}
.guest-table td {
  padding: 14px 11px;
  border-bottom: 1px solid #edf1ef;
  color: #708388;
  max-width: 210px;
}
.guest-table td:first-child,
.guest-table th:first-child {
  padding-left: 22px;
}
.guest-table td:last-child,
.guest-table th:last-child {
  padding-right: 20px;
}
.guest-table tr:hover td {
  background: #fafcfa;
}
.guest-table tr.selected td {
  background: #f0f5f2;
}
.guest-name {
  font-size: 12px;
  color: var(--deep);
  font-weight: 600;
  border: 0;
  background: transparent;
  text-align: start;
  display: block;
  max-width: 220px;
  line-height: 1.5;
  cursor: pointer;
  padding: 0;
  unicode-bidi: plaintext;
}
.guest-name:hover {
  text-decoration: underline;
}
.cell-text {
  display: block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  unicode-bidi: plaintext;
}
.guest-table .status-select {
  appearance: none;
  border: 0;
  height: 28px;
  padding: 5px 9px;
  min-width: 102px;
  width: auto;
  max-width: 140px;
  font-size: 10px;
  font-weight: 550;
  cursor: pointer;
  border-radius: 5px;
}
.guest-table .invitation-select {
  appearance: auto;
  min-width: 64px;
  max-width: 77px;
  font-weight: 400;
  font-size: 10px;
  background: #f3f6f4;
}
.confirmed.status-select,
.badge.confirmed {
  background: #e6f0eb;
  color: #367567;
}
.pending.status-select,
.badge.pending {
  background: #f4efdf;
  color: #8e6e33;
}
.declined.status-select,
.badge.declined {
  background: #f6eae8;
  color: #a1605c;
}
.no-response.status-select,
.badge.no-response {
  background: #e8eff0;
  color: #57737b;
}
.unset.status-select,
.badge.unset {
  background: #f0f3f1;
  color: #7c8c8a;
}
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 10px;
  border-radius: 4px;
}
.archived-tag {
  font-size: 8px;
  font-weight: 400;
  background: #eee5e1;
  color: #8a7166;
  padding: 2px 5px;
  border-radius: 3px;
  display: inline-block;
  margin-top: 4px;
}
.check-cell {
  width: 44px;
}
.row-action-heading {
  font-size: 0 !important;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 23px;
  font-size: 10px;
  color: var(--muted);
}
.pagination > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.page-size {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
}
.page-size select {
  height: 28px;
  width: 55px;
  font-size: 10px;
  padding: 3px 6px;
  margin: 0;
}
.empty-state {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state .icon {
  width: 32px;
  height: 32px;
  color: #91a9a6;
}
.empty-state h3 {
  color: var(--ink);
  margin: 14px 0 7px;
}
.empty-state p {
  font-size: 12px;
  margin-bottom: 18px;
}
.app-footer {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #96a5a4;
  padding: 22px 2px 5px;
}
.reports-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
}
.report-preview {
  padding: 36px 33px;
  box-shadow: var(--shadow);
  position: relative;
  max-width: 530px;
}
.paper-brand img {
  display: block;
  width: 133px;
  height: auto;
}
.paper-rule {
  height: 2px;
  background: var(--orange);
  width: 40px;
  margin: 25px 0;
}
.report-preview h2 {
  font-size: 24px;
  margin: 10px 0;
}
.report-preview > .muted {
  font-size: 11px;
}
.report-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 30px 0;
}
.report-mini-stats > div {
  background: var(--bg);
  padding: 13px 10px;
  border-radius: 5px;
}
.report-mini-stats span {
  font-size: 8px;
  color: var(--muted);
  display: block;
}
.report-mini-stats b {
  display: block;
  font-size: 20px;
  margin-top: 5px;
}
.paper-lines {
  border: 1px solid var(--line);
  border-radius: 3px;
  margin: 25px 0;
}
.paper-lines span {
  height: 25px;
  display: block;
  border-bottom: 1px solid var(--line);
}
.paper-lines span:first-child {
  background: var(--soft);
}
.paper-lines span:last-child {
  border: 0;
}
.report-controls {
  padding: 31px;
}
.report-controls h2 {
  font-size: 23px;
  margin: 17px 0 13px;
  line-height: 1.35;
  letter-spacing: -0.6px;
}
.report-controls > .muted {
  font-size: 12px;
  max-width: 460px;
  line-height: 1.8;
}
.feature-icon {
  height: 44px;
  width: 44px;
  border-radius: 10px;
  background: #edf3f0;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.feature-icon .icon {
  width: 22px;
  height: 22px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 13px;
  font-size: 11px;
  color: var(--muted);
}
.feature-list li {
  position: relative;
  padding-left: 21px;
}
.feature-list li:before {
  content: "✓";
  color: var(--green);
  position: absolute;
  left: 0;
}
.checkbox-label {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin: 22px 0;
}
.report-controls > .form-note {
  margin-top: 17px;
  max-width: 400px;
}
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.import-card,
.export-card,
.settings-card {
  padding: 28px;
}
.import-card > .muted,
.export-card > .muted,
.settings-card > .muted {
  font-size: 12px;
  margin: 10px 0 22px;
  line-height: 1.75;
}
.dropzone {
  border: 1.5px dashed #b9ccc6;
  background: #f9fbfa;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 18px;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 18px;
}
.dropzone.dragging,
.dropzone:hover {
  border-color: var(--teal);
  background: #eef5f0;
}
.dropzone > strong {
  font-size: 12px;
  font-weight: 550;
}
.dropzone > span:not(.feature-icon) {
  font-size: 10px;
  color: var(--muted);
}
.dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  height: 100%;
  margin: 0;
}
.export-card h2 {
  margin-top: 18px;
}
.export-card .form-note {
  margin: 17px 0 25px;
}
.import-preview {
  margin-top: 23px;
  padding: 24px;
}
.import-preview .card-heading {
  margin-bottom: 15px;
}
.import-summary {
  display: flex;
  gap: 24px;
  background: var(--bg);
  padding: 15px;
  border-radius: 7px;
  margin-bottom: 18px;
  font-size: 11px;
}
.import-summary b {
  display: block;
  font-size: 20px;
}
.import-error-list {
  margin: 15px 0;
  padding: 15px 18px;
  background: #fff4ef;
  color: #915e48;
  border-radius: 7px;
  font-size: 11px;
  max-height: 250px;
  overflow: auto;
}
.import-error-list p {
  padding: 4px 0;
}
.simple-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 11px;
  min-width: 600px;
}
.simple-table th {
  text-align: left;
  background: var(--bg);
  padding: 12px;
  font-size: 10px;
  color: var(--muted);
}
.simple-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
}
.import-preview-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.settings-card label {
  margin: 18px 0;
}
.settings-card > .button {
  margin-top: 7px;
}
.users-card {
  margin-top: 23px;
  padding: 25px;
}
.users-card .card-heading {
  margin-bottom: 19px;
}
.users-card select {
  height: 31px;
  font-size: 11px;
  padding: 5px 9px;
  width: auto;
}
.user-actions {
  display: flex;
  gap: 5px;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: #142e3945;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
}
.drawer {
  width: 485px;
  max-width: 100%;
  background: #fff;
  height: 100%;
  box-shadow: -12px 0 50px #122f3920;
  display: flex;
  flex-direction: column;
  animation: slide-in 0.18s ease-out;
}
.drawer-header {
  padding: 26px 26px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.drawer-header h2 {
  font-size: 23px;
  margin-top: 5px;
}
.drawer-tabs {
  display: flex;
  gap: 24px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line);
}
.drawer-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 15px 0;
  font-size: 11px;
}
.drawer-tabs button.active {
  border-bottom-color: var(--orange);
  color: var(--teal);
  font-weight: 650;
}
.drawer form {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
}
.drawer-fields {
  padding: 23px 26px;
  overflow-y: auto;
  flex: 1;
}
.drawer-fields > label {
  margin-bottom: 17px;
}
.form-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 17px;
}
.drawer-fields .form-note {
  margin: 10px 0 18px;
}
.drawer-footer {
  padding: 18px 23px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.drawer-footer > div {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.drawer-footer .button {
  font-size: 11px;
  padding: 9px 12px;
}
.record-meta {
  font-size: 10px;
  color: #8a9a9b;
  margin-top: 17px;
  line-height: 1.8;
}
.history-panel {
  overflow-y: auto;
  flex: 1;
  padding: 25px;
}
.history-item {
  position: relative;
  padding: 0 0 24px 22px;
  border-left: 1px solid var(--line);
  font-size: 11px;
}
.history-item:before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--orange);
  position: absolute;
  top: 4px;
  left: -4px;
  border-radius: 50%;
}
.history-item strong {
  font-weight: 600;
}
.history-item p {
  font-size: 10px;
  color: var(--muted);
  margin: 4px 0 9px;
}
.history-change {
  font-size: 10px;
  margin: 6px 0;
  padding: 8px 10px;
  background: var(--bg);
  border-radius: 4px;
  word-break: break-word;
}
.history-change b {
  display: block;
  color: var(--teal);
  font-weight: 550;
}
.history-change span {
  color: var(--muted);
}
.modal {
  width: 440px;
  max-width: calc(100% - 30px);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 28px;
  color: var(--ink);
  box-shadow: 0 30px 100px #122f3933;
}
.modal::backdrop {
  background: #14353e70;
}
.modal h2 {
  font-size: 21px;
  margin-bottom: 13px;
}
.modal p {
  font-size: 12px;
  line-height: 1.8;
}
.modal label {
  margin: 17px 0;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 24px;
}
.toasts {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 380px;
}
.toast {
  background: var(--deep);
  color: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 13px 17px;
  font-size: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: fade-in 0.2s;
}
.toast.error {
  background: #884e47;
}
.toast .icon {
  width: 17px;
  height: 17px;
}
.body-locked {
  overflow: hidden;
}
@keyframes slide-in {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1550px) {
  h1 {
    font-size: 36px;
  }
  .chart-card {
    min-height: 250px;
  }
  .donut {
    width: 170px;
    height: 170px;
  }
  .guest-table {
    font-size: 12px;
  }
  .guest-table th {
    font-size: 10px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 195px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .main {
    margin-left: 195px;
  }
  .page-content {
    padding: 28px 24px 16px;
  }
  .topbar {
    padding: 0 24px;
  }
  .stat-card {
    padding: 17px 16px;
  }
  .stats-grid {
    gap: 11px;
  }
  .chart-card {
    padding: 20px;
  }
  .chart-card .small-label {
    display: none;
  }
  .quick-tabs {
    gap: 13px;
  }
  .search-field {
    min-width: 190px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .heading-actions {
    padding-top: 10px;
  }
  .stat-caption {
    font-size: 8px;
  }
}
@media (max-width: 1050px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .heading-actions {
    padding-top: 0;
  }
  .charts-grid {
    grid-template-columns: 1fr 1fr;
  }
  .donut-layout {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .donut {
    width: 125px;
    height: 125px;
  }
  .chart-legend {
    gap: 6px;
  }
  .bar-chart {
    margin-top: 34px;
  }
  .register-toolbar {
    flex-wrap: wrap;
  }
  .search-field {
    width: 100%;
  }
  .reports-layout,
  .two-column {
    grid-template-columns: 1fr;
  }
  .report-preview {
    max-width: none;
  }
  .report-controls h2 br {
    display: none;
  }
  .chart-note {
    margin-top: 50px;
  }
  .filters {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 223px;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
    box-shadow: 15px 0 60px #122f3930;
  }
  .main {
    margin-left: 0;
  }
  .mobile-menu {
    display: inline-flex;
    margin-right: 13px;
  }
  .topbar {
    height: 58px;
    padding: 0 18px;
    justify-content: flex-start;
  }
  .topbar-right {
    margin-left: auto;
  }
  .topbar-right > span:not(.online-dot) {
    display: none;
  }
  .topbar-right time {
    font-size: 9px;
  }
  .page-content {
    padding: 24px 17px 14px;
  }
  h1 {
    font-size: 27px;
  }
  .page-heading {
    gap: 18px;
    margin-bottom: 21px;
  }
  .page-heading > div > .muted {
    font-size: 11px;
  }
  .heading-actions {
    width: 100%;
  }
  .heading-actions .button {
    flex: 1;
  }
  .stats-grid {
    gap: 10px;
  }
  .stat-card {
    min-height: 118px;
    padding: 15px;
  }
  .stat-value {
    font-size: 28px;
  }
  .stat-caption .icon {
    display: none;
  }
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .donut-layout {
    grid-template-columns: 40% 1fr;
    gap: 14px;
  }
  .donut {
    width: 146px;
    height: 146px;
  }
  .chart-card {
    min-height: 210px;
  }
  .chart-note {
    margin-top: 6px;
  }
  .chart-legend {
    gap: 10px;
  }
  .bar-chart {
    margin-top: 25px;
  }
  .register-heading {
    padding: 19px 16px;
    align-items: flex-start;
  }
  .register-heading .muted {
    display: none;
  }
  .table-actions {
    gap: 0;
  }
  .table-actions .button {
    font-size: 10px;
    padding: 5px 8px;
  }
  .table-actions .button .icon {
    width: 13px;
  }
  .register-toolbar {
    padding: 0 16px 13px;
  }
  .quick-tabs {
    gap: 15px;
    width: 100%;
    overflow: auto;
  }
  .quick-tab {
    font-size: 10px;
  }
  .filters {
    padding: 15px;
    grid-template-columns: 1fr 1fr;
  }
  .bulk-bar {
    padding: 12px;
    flex-wrap: wrap;
  }
  .bulk-bar strong {
    width: 100%;
  }
  .bulk-bar select {
    max-width: 140px;
  }
  .pagination {
    padding: 12px 14px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .pagination > div {
    gap: 4px;
  }
  .page-size {
    display: none;
  }
  .card-heading {
    flex-wrap: wrap;
  }
  .import-card,
  .export-card,
  .settings-card,
  .report-controls,
  .users-card {
    padding: 22px;
  }
  .report-preview {
    padding: 27px;
  }
  .report-controls h2 {
    font-size: 21px;
  }
  .import-preview {
    padding: 18px;
  }
  .import-preview-actions {
    flex-wrap: wrap;
  }
  .app-footer {
    font-size: 8px;
  }
  .drawer-header {
    padding: 20px;
  }
  .drawer-fields {
    padding: 20px;
  }
  .drawer-footer {
    padding: 14px;
  }
  .toasts {
    left: 16px;
    right: 16px;
    bottom: 15px;
    max-width: none;
  }
  .login-view {
    grid-template-columns: 1fr;
  }
  .login-story {
    min-height: 240px;
    padding: 28px;
    gap: 36px;
  }
  .login-story > .brand-logo {
    width: 150px;
  }
  .login-story h1 {
    font-size: 30px;
    margin-bottom: 12px;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story p:not(.eyebrow) {
    font-size: 12px;
  }
  .login-story .login-foot,
  .login-capabilities {
    display: none;
  }
  .login-story .eyebrow {
    font-size: 9px;
    margin-bottom: 11px;
  }
  .login-form-wrap {
    padding: 37px 26px 45px;
  }
  .login-form h2 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
