:root {
  font-family: Arial, Tahoma, sans-serif;
  color: #182d3c;
  background: #f4f7fa;
  font-size: 15px;
  --blue: #0168b1;
  --navy: #00243e;
  --line: #dce5ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #4bc8e8;
}
a {
  color: var(--blue);
}
button,
.button {
  background: var(--blue);
  color: white;
  border: 1px solid transparent;
  padding: 11px 17px;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button:hover,
.button:hover {
  filter: brightness(0.94);
}
button.secondary,
.button.secondary {
  color: #26485e;
  background: #fff;
  border-color: #cbd9e4;
}
button.danger {
  background: #a53030;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
h2 {
  font-size: 21px;
  margin: 0 0 20px;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
.muted,
small {
  color: #66788a;
}
.layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  background: #fff;
  border-inline-end: 1px solid var(--line);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.sidebar img {
  object-fit: contain;
  width: 174px;
  height: 69px;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar nav a {
  padding: 13px 16px;
  color: #476177;
  text-decoration: none;
  border-radius: 7px;
  font-weight: 600;
}
.sidebar nav a.active {
  background: #e9f3fa;
  color: #0168b1;
}
.sidebar footer {
  margin-top: auto;
  font-size: 12px;
  line-height: 1.8;
  color: #6c7d8a;
}
.workspace {
  min-width: 0;
}
.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar span {
  font-size: 13px;
}
.content {
  max-width: 1440px;
  margin: auto;
  padding: 34px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 10px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 22px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.stat {
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stat strong {
  display: block;
  font-size: 32px;
  margin-top: 12px;
  color: var(--navy);
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  margin: 24px 0;
  overflow: auto;
}
.tabs a {
  padding: 0 0 14px;
  white-space: nowrap;
  text-decoration: none;
  color: #66788a;
}
.tabs .active {
  border-bottom: 3px solid var(--blue);
  color: var(--blue);
  font-weight: 600;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar input,
.toolbar select {
  width: auto;
  min-width: 150px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
}
th {
  font-size: 12px;
  color: #6d8091;
  background: #f7f9fb;
  font-weight: 600;
}
td,
th {
  padding: 14px 12px;
  border-bottom: 1px solid #e6edf2;
  text-align: start;
  vertical-align: middle;
}
td small {
  display: block;
  margin-top: 5px;
}
td button {
  font-size: 12px;
  padding: 7px 9px;
}
.badge {
  display: inline-block;
  background: #edf2f7;
  color: #506578;
  border-radius: 30px;
  padding: 5px 9px;
  white-space: nowrap;
  font-size: 12px;
}
.badge.Confirmed,
.badge.accepted,
.badge.open {
  background: #e7f5ed;
  color: #23734a;
}
.badge.Declined,
.badge.failed,
.badge.unknown {
  background: #fff0e9;
  color: #ac4d2d;
}
.badge.VIP {
  background: #f1ecfb;
  color: #7252a3;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #40596d;
  margin-bottom: 17px;
}
input,
textarea,
select {
  display: block;
  width: 100%;
  border: 1px solid #cbd7e1;
  border-radius: 6px;
  padding: 11px 12px;
  margin-top: 7px;
  background: white;
  color: #182d3c;
}
input[type="checkbox"] {
  display: inline-block;
  width: auto;
  margin-inline-end: 8px;
}
textarea {
  min-height: 100px;
  resize: vertical;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.grid .wide {
  grid-column: 1/-1;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.notice {
  background: #eaf4fb;
  border-inline-start: 3px solid var(--blue);
  padding: 13px 16px;
  line-height: 1.6;
  border-radius: 5px;
  margin-bottom: 20px;
}
.error {
  color: #a53030;
  background: #fff0ed;
  padding: 14px;
  border-radius: 7px;
}
.empty {
  text-align: center;
  padding: 50px 20px;
  color: #66788a;
}
.auth {
  max-width: 450px;
  margin: 8vh auto;
  padding: 36px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.auth h1 {
  font-size: 25px;
  margin-top: 26px;
}
.auth img {
  object-fit: contain;
}
.auth button[type="submit"] {
  width: 100%;
}
.auth footer {
  font-size: 12px;
  color: #6c7d8a;
  margin-top: 30px;
}
.guest {
  max-width: 720px;
  margin: 40px auto;
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.guest img {
  object-fit: contain;
}
.guest h1 {
  margin-top: 30px;
}
.guest .event-details {
  background: #eef6fb;
  padding: 20px;
  border-radius: 9px;
  line-height: 1.9;
}
.guest .event-details strong {
  display: block;
}
.guest footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
  color: #66788a;
  font-size: 12px;
}
dialog {
  width: min(880px, 94vw);
  border: 0;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 24px 100px #00243e44;
  max-height: 90vh;
}
dialog::backdrop {
  background: #00243e88;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}
.dialog-head h2 {
  margin: 0;
}
.close {
  background: #f1f5f8;
  color: #324e62;
  padding: 8px 12px;
}
#toast {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 25px;
  max-width: 500px;
  background: #00243e;
  color: white;
  padding: 15px 22px;
  border-radius: 8px;
  display: none;
  z-index: 100;
}
iframe.preview {
  width: 100%;
  height: 620px;
  border: 1px solid var(--line);
  background: #f4f7fa;
  display: block;
  margin: auto;
}
.preview.mobile {
  max-width: 375px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
pre {
  white-space: pre-wrap;
  font: 13px/1.6 monospace;
}
.checklist {
  display: grid;
  gap: 10px;
}
.checklist label {
  margin: 0;
}
.link-button {
  background: transparent;
  color: var(--blue);
  padding: 4px;
  border: 0;
}
.event-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
.event-card:hover {
  border-color: var(--blue);
}
@media (max-width: 1000px) {
  .layout {
    grid-template-columns: 190px 1fr;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .content {
    padding: 22px;
  }
  .sidebar {
    padding: 20px 12px;
  }
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .layout {
    display: block;
  }
  .sidebar {
    padding: 12px 18px;
    gap: 8px;
    border-bottom: 1px solid var(--line);
  }
  .sidebar img {
    width: 115px;
    height: 46px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
  }
  .sidebar nav a {
    padding: 9px;
  }
  .sidebar footer {
    display: none;
  }
  .topbar {
    padding: 12px 18px;
  }
  .content {
    padding: 20px 14px;
  }
  .heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 10px;
  }
  .stat {
    padding: 16px;
  }
  .stat strong {
    font-size: 26px;
  }
  .card {
    padding: 18px;
  }
  .guest,
  .auth {
    margin: 18px 12px;
    padding: 24px;
  }
  .tabs {
    gap: 20px;
  }
  .toolbar input,
  .toolbar select {
    min-width: 0;
    max-width: 100%;
  }
}
@media print {
  .sidebar,
  .topbar,
  .tabs,
  .toolbar,
  button,
  .actions {
    display: none !important;
  }
  .layout {
    display: block;
  }
  .content {
    padding: 0;
  }
  .card {
    border: 0;
  }
  .cards {
    grid-template-columns: repeat(4, 1fr);
  }
  body {
    background: white;
  }
}
/* Al-Oula staff authentication: reference-inspired two-panel workspace */
.auth-system {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 46% 54%;
  background: #eef3f9;
}
.auth-brand {
  background: linear-gradient(150deg, #00243e 0%, #103c72 58%, #0168b1 100%);
  color: #fff;
  padding: 46px 52px 30px;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
.auth-brand header {
  display: flex;
  align-items: center;
  gap: 23px;
}
.auth-logo {
  background: #fff;
  border-radius: 10px;
  display: flex;
  padding: 7px 14px;
}
.auth-logo img {
  width: 137px;
  height: 54px;
  object-fit: contain;
}
.auth-product {
  border-inline-start: 1px solid #ffffff40;
  padding-inline-start: 22px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.7;
}
.auth-product small {
  display: block;
  color: #bacfe4;
  font-size: 10px;
  letter-spacing: 1.3px;
}
.auth-story {
  margin: auto 0;
  padding: 60px 0 42px;
  max-width: 640px;
}
.auth-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;
  margin: 0 0 20px;
}
.auth-story > .auth-kicker {
  color: #9ac6e8;
}
.auth-story h1 {
  font-size: clamp(35px, 3.5vw, 59px);
  letter-spacing: -1.8px;
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 25px;
}
.auth-description {
  font-size: 15px;
  color: #c5d7e9;
  max-width: 490px;
  line-height: 1.8;
  margin-bottom: 34px;
}
.auth-benefits {
  display: grid;
  gap: 12px;
}
.auth-benefit {
  display: flex;
  gap: 17px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #ffffff25;
  background: #ffffff08;
  border-radius: 12px;
}
.auth-benefit > span {
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff35;
  background: #ffffff0d;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  color: #badbf4;
}
.auth-benefit strong {
  font-size: 14px;
}
.auth-benefit p {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #b5cce3;
}
.auth-brand footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #adc8dd;
  font-size: 11px;
}
.auth-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 92px 50px 52px;
  min-width: 0;
}
.auth-language {
  position: absolute;
  top: 29px;
  inset-inline-end: 34px;
}
.auth-language button {
  font-size: 12px;
  padding: 9px 14px;
  background: transparent;
  border-color: #cfdbe7;
}
.auth-panel {
  width: 100%;
  max-width: 510px;
  background: #fff;
  padding: 43px 38px 30px;
  border: 1px solid #e4ebf3;
  border-radius: 23px;
  box-shadow: 0 18px 60px #1634510b;
}
.auth-panel-heading {
  text-align: center;
  margin-bottom: 32px;
}
.auth-panel-heading .auth-kicker {
  color: #7c92a8;
  font-size: 9px;
  letter-spacing: 1.6px;
  margin: 0 0 15px;
}
.auth-panel-heading h2 {
  color: #143b62;
  font-size: 30px;
  letter-spacing: -0.8px;
  margin: 0 0 12px;
}
.auth-panel-heading > p:last-child {
  font-size: 14px;
  color: #71869b;
  line-height: 1.6;
  margin: 0;
}
.auth-panel label {
  font-size: 12px;
  color: #344d63;
  margin-bottom: 21px;
}
.auth-panel input {
  height: 49px;
  border: 1px solid #d8e2ed;
  border-radius: 9px;
  font-size: 14px;
  padding: 12px 14px;
  margin-top: 8px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.auth-panel input:focus {
  outline: none;
  border-color: #0168b1;
  box-shadow: 0 0 0 3px #0168b115;
}
.auth-panel input::placeholder {
  color: #96a7b9;
}
.auth-password-wrap {
  display: block;
  position: relative;
}
.auth-password-wrap input {
  padding-inline-end: 65px;
}
.password-toggle {
  position: absolute;
  inset-inline-end: 7px;
  top: 7px;
  min-height: 34px;
  background: transparent;
  color: #0168b1;
  padding: 6px 9px;
  font-size: 11px;
  border: 0;
}
.auth-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 4px 0 25px;
}
.auth-options label {
  margin: 0;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 12px;
}
.auth-options input {
  height: 15px;
  width: 15px;
  accent-color: #0168b1;
  margin: 0 7px 0 0;
}
.auth-text-button {
  background: transparent;
  color: #0168b1;
  font-size: 12px;
  padding: 5px 0;
  border: 0;
}
.auth-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: linear-gradient(100deg, #075a99, #0178c4);
  border-radius: 9px;
  min-height: 49px;
  box-shadow: 0 6px 15px #0168b122;
  font-size: 14px;
}
.auth-assurance {
  margin: 28px 0 15px;
  text-align: center;
  font-size: 11px;
  color: #899eb1;
}
.auth-assurance span {
  color: #6082a1;
  margin-inline-end: 5px;
}
.auth-panel-brand {
  display: flex;
  justify-content: center;
}
.auth-panel-brand img {
  object-fit: contain;
}
.auth-entry-footer {
  font-size: 11px;
  text-align: center;
  color: #8296aa;
  margin: 24px 0 0;
}
.auth-back {
  display: block;
  text-align: center;
  background: none;
  border: 0;
  color: #52728f;
  width: 100%;
  margin-top: 24px;
  font-size: 12px;
  text-decoration: none;
}
.auth-feedback {
  font-size: 12px;
  line-height: 1.6;
}
.auth-feedback[hidden] {
  display: none;
}
[dir="rtl"] .auth-story h1 {
  letter-spacing: 0;
  line-height: 1.35;
}
[dir="rtl"] .auth-product,
[dir="rtl"] .auth-kicker {
  letter-spacing: 0;
}
[dir="rtl"] .auth-options input {
  margin: 0 0 0 7px;
}
@media (min-width: 1600px) {
  .auth-brand {
    padding: 58px 66px 35px;
  }
  .auth-story {
    padding: 80px 0;
  }
  .auth-panel {
    max-width: 570px;
    padding: 49px 43px 35px;
  }
  .auth-story h1 {
    font-size: 62px;
  }
}
@media (max-width: 1050px) {
  .auth-brand {
    padding: 35px 28px 25px;
  }
  .auth-product {
    font-size: 11px;
    padding-inline-start: 15px;
    letter-spacing: 1px;
  }
  .auth-logo img {
    width: 110px;
    height: 44px;
  }
  .auth-entry {
    padding: 85px 28px 35px;
  }
  .auth-panel {
    padding: 35px 26px 25px;
  }
  .auth-benefit {
    padding: 13px;
  }
  .auth-story h1 {
    font-size: 40px;
  }
  .auth-brand header {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .auth-system {
    display: block;
  }
  .auth-brand {
    min-height: 0;
    padding: 25px;
  }
  .auth-brand header {
    justify-content: center;
  }
  .auth-story {
    padding: 28px 0 0;
    margin: 0;
  }
  .auth-story h1 {
    font-size: 30px;
    text-align: center;
    line-height: 1.22;
    letter-spacing: -0.6px;
  }
  .auth-story h1 br {
    display: none;
  }
  .auth-story h1 br:after {
    content: " ";
  }
  .auth-story h1 {
    max-width: 390px;
    margin: 0 auto;
  }
  .auth-story > .auth-kicker,
  .auth-description,
  .auth-benefits,
  .auth-brand footer {
    display: none;
  }
  .auth-entry {
    padding: 66px 18px 30px;
    min-height: calc(100svh - 185px);
  }
  .auth-language {
    top: 17px;
    inset-inline-end: 22px;
  }
  .auth-panel {
    padding: 29px 24px 24px;
    border-radius: 18px;
    max-width: 470px;
  }
  .auth-panel-heading h2 {
    font-size: 27px;
  }
  .auth-panel-heading {
    margin-bottom: 26px;
  }
  .auth-entry-footer {
    font-size: 10px;
  }
  .auth-assurance {
    margin-top: 23px;
  }
  .auth-options {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-panel input {
    transition: none;
  }
}
/* Workspace refresh */
:root {
  --blue: #176ce3;
  --navy: #142b50;
  --line: #e5eaf3;
  background: #f5f7fc;
  color: #20314d;
  font-family: Arial, Tahoma, sans-serif;
}
.layout {
  grid-template-columns: 230px minmax(0, 1fr);
}
.sidebar {
  background: linear-gradient(160deg, #10233f, #16385e);
  border: 0;
  padding: 30px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  gap: 38px;
  color: #fff;
}
.sidebar > img {
  background: #fff;
  padding: 10px 16px;
  border-radius: 14px;
  width: 184px;
  height: 78px;
  align-self: center;
}
.sidebar nav {
  gap: 10px;
}
.sidebar nav a {
  color: #b8cbe1;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 11px;
}
.sidebar nav a svg {
  height: 21px;
  width: 21px;
}
.sidebar nav a.active {
  background: #2873de;
  color: #fff;
  box-shadow: 0 7px 18px #061a3655;
}
.sidebar nav a:hover {
  background: #ffffff15;
  color: #fff;
}
.sidebar footer {
  border-top: 1px solid #ffffff20;
  padding: 22px 12px;
  color: #9db4cf;
}
.workspace-label {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}
.topbar {
  padding: 19px 36px;
  background: #ffffffd9;
}
.topbar > span {
  font-weight: 700;
}
.topbar .secondary {
  border: 0;
  background: #f3f6fb;
  font-size: 12px;
  padding: 9px 12px;
}
.content {
  padding: 34px 36px;
  max-width: 1600px;
}
.heading h1 {
  font-size: 29px;
  letter-spacing: -0.8px;
}
.heading .muted {
  font-size: 14px;
  margin-bottom: 0;
}
.eyebrow {
  color: #69819f;
  font-size: 10px;
  letter-spacing: 1.8px;
}
.card {
  border: 1px solid #e5ebf4;
  border-radius: 17px;
  box-shadow: 0 5px 18px #23375904;
  padding: 25px;
  margin-bottom: 24px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.3px;
}
h3 {
  font-size: 15px;
}
button,
.button {
  border-radius: 10px;
  padding: 11px 17px;
  font-size: 13px;
  box-shadow: none;
}
.heading .actions button {
  background: #186be1;
  box-shadow: 0 5px 14px #186be123;
}
input,
select,
textarea {
  border: 1px solid #dfe6f1 !important;
  border-radius: 9px !important;
  background: #fff;
  padding: 11px 12px;
  min-height: 42px;
  color: #283f5d;
}
label {
  font-size: 12px;
  font-weight: 600;
  color: #5b6d84;
}
input[type="checkbox"] {
  min-height: 0;
  accent-color: #176ce3;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #a5c9fa;
  outline-offset: 1px;
}
.welcome-banner {
  background: linear-gradient(112deg, #1968d4, #5686ea 68%, #7c9fef);
  border-radius: 20px;
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  color: #fff;
  margin-bottom: 25px;
  min-height: 208px;
  position: relative;
}
.welcome-banner > div:first-child {
  position: relative;
  z-index: 1;
  max-width: 75%;
}
.welcome-banner .eyebrow {
  color: #d6e7ff;
}
.welcome-banner h2 {
  font-size: 26px;
  margin: 13px 0 8px;
  max-width: 540px;
}
.welcome-banner p {
  font-size: 13px;
  color: #e0eaff;
  margin-bottom: 20px;
}
.welcome-banner .button {
  background: white;
  color: #2361bd;
  font-size: 12px;
}
.hero-orbit {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  border: 38px solid #ffffff16;
  inset-inline-end: 35px;
  top: -25px;
  box-shadow: 0 0 0 40px #ffffff09;
  display: grid;
  place-items: center;
}
.hero-orbit span {
  font-size: 110px;
  color: #ffffffb0;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.metric {
  border: 1px solid #e5eaf3;
  border-radius: 15px;
  background: white;
  padding: 23px;
  position: relative;
  overflow: hidden;
}
.metric p {
  font-size: 12px;
  color: #60748d;
  margin: 0 0 15px;
  font-weight: 600;
}
.metric strong {
  font-size: 34px;
  color: #22385b;
  display: block;
  letter-spacing: -1px;
}
.metric small {
  font-size: 10px;
  display: block;
  margin-top: 11px;
  line-height: 1.5;
}
.metric-mark {
  display: block;
  position: absolute;
  inset-inline-end: 20px;
  top: 22px;
  height: 9px;
  width: 9px;
  border-radius: 50%;
  background: #3682ef;
  box-shadow: 0 0 0 7px #eaf2ff;
}
.metric.green .metric-mark {
  background: #18a98e;
  box-shadow: 0 0 0 7px #e5f7f1;
}
.metric.amber .metric-mark {
  background: #efa72c;
  box-shadow: 0 0 0 7px #fff5dc;
}
.metric.violet .metric-mark {
  background: #8b69db;
  box-shadow: 0 0 0 7px #f1ebfc;
}
.metric.green {
  border-bottom: 3px solid #58c9b4;
}
.metric.blue {
  border-bottom: 3px solid #6d9fee;
}
.metric.amber {
  border-bottom: 3px solid #f2c572;
}
.metric.violet {
  border-bottom: 3px solid #b49bea;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 24px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
}
.section-title h2 {
  margin: 0;
}
.section-title a {
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.section-title p {
  margin-bottom: 0;
  font-size: 13px;
}
.pill {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 6px;
  background: #eef3fb;
  color: #637b9b;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.response-chart {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 0;
}
.chart-total {
  width: 132px;
  height: 132px;
  border: 13px solid #e5f5f1;
  outline: 1px solid #daeee8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex-shrink: 0;
}
.chart-total strong {
  font-size: 29px;
  color: #168c79;
}
.chart-total span {
  font-size: 10px;
  color: #70879c;
}
.chart-bars {
  flex: 1;
}
.chart-bars > div {
  position: relative;
  font-size: 11px;
  margin-bottom: 15px;
}
.chart-bars b {
  float: inline-end;
}
.bar-track {
  height: 6px;
  border-radius: 5px;
  background: #f0f3f9;
  margin-top: 7px;
  overflow: hidden;
}
.bar-track i {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: 5px;
}
.attention-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3f8;
  text-decoration: none;
  color: inherit;
}
.attention-row:last-child {
  border-bottom: 0;
}
.attention-row > div {
  flex: 1;
}
.attention-row strong {
  font-size: 12px;
}
.attention-row small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eaf1fd;
  color: #2968c7;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar svg {
  height: 22px;
  width: 22px;
}
.avatar.amber {
  background: #fff3df;
  color: #c38624;
}
.person {
  display: flex;
  gap: 10px;
  align-items: center;
}
.filter-bar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 17px 20px;
  border-radius: 13px;
  margin-bottom: 23px;
}
.filter-bar label {
  flex: 1;
  min-width: 130px;
  margin: 0;
}
.filter-bar label:first-child {
  flex: 1.6;
  min-width: 180px;
}
.filter-bar input,
.filter-bar select {
  width: 100%;
  margin-top: 7px;
  font-size: 12px;
}
.filter-bar button {
  margin-bottom: 0;
}
.card > .filter-bar {
  border: 0;
  background: #f8faff;
  padding: 14px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.event-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.event-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #204a7913;
}
.event-art {
  background: linear-gradient(135deg, #0c8c83, #4ab6a5);
  height: 128px;
  padding: 23px;
  position: relative;
  overflow: hidden;
}
.tone-1 .event-art {
  background: linear-gradient(125deg, #7954b5, #af8ace);
}
.tone-2 .event-art {
  background: linear-gradient(125deg, #2465c0, #5d95e8);
}
.event-art > span:first-child {
  font-size: 39px;
  color: #fff;
  font-weight: 700;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}
.event-art .badge {
  position: absolute;
  top: 19px;
  inset-inline-end: 18px;
  background: #ffffffdf !important;
}
.art-ring {
  position: absolute;
  width: 155px;
  height: 155px;
  border: 27px solid #ffffff19;
  border-radius: 50%;
  inset-inline-end: -20px;
  bottom: -62px;
  box-shadow: 0 0 0 25px #ffffff0c;
}
.demo-tag {
  position: absolute;
  bottom: 16px;
  inset-inline-start: 24px;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #fff;
  background: #ffffff25;
  padding: 4px 6px;
  border-radius: 4px;
}
.event-tile-body {
  padding: 21px 23px 0;
}
.event-tile-body h2 {
  font-size: 20px;
  margin: 8px 0;
}
.event-tile-body p {
  font-size: 12px;
}
.event-date {
  color: #7690ac;
  font-size: 10px !important;
  margin: 0;
}
.event-tile-stats {
  display: flex;
  justify-content: space-between;
  padding: 17px 0 20px;
  gap: 8px;
}
.event-tile-stats span {
  font-size: 9px;
  color: #6f8199;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event-tile-stats strong {
  font-size: 19px;
  color: #294362;
}
.event-tile-footer {
  padding: 15px 0;
  border-top: 1px solid #edf1f6;
  font-size: 11px;
  color: #266ccb;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.badge {
  border: 0;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 600;
  background: #eef2f8;
  color: #5b7090;
  white-space: nowrap;
}
.badge.Confirmed,
.badge.open,
.badge.accepted,
.badge.Active {
  background: #e4f5ee;
  color: #168466;
}
.badge.Declined,
.badge.failed,
.badge.Cancelled,
.badge.Inactive {
  background: #fff0f0;
  color: #c75c69;
}
.badge.VIP,
.badge.Admin {
  background: #eee9ff;
  color: #7654bd;
}
.badge.Coordinator {
  background: #e5f2ff;
  color: #3076b5;
}
.badge.Awaiting,
.badge.queued,
.badge.draft {
  background: #fff4df;
  color: #b88320;
}
.badge.closed {
  background: #edf0f5;
  color: #7b879d;
}
.demo-notice {
  border: 1px solid #eddbaa;
  color: #987125;
  background: #fff9e8;
  border-radius: 9px;
  padding: 12px 17px;
  font-size: 12px;
  margin-bottom: 18px;
}
.tabs {
  gap: 5px;
  border: 0;
  background: #eaf0f8;
  border-radius: 11px;
  padding: 5px;
  margin: 23px 0;
}
.tabs a {
  padding: 11px 16px;
  border: 0;
  font-size: 12px;
  border-radius: 8px;
}
.tabs a.active {
  background: #fff;
  color: #1a69d9;
  box-shadow: 0 2px 5px #1d426c0b;
  border: 0;
}
.cards {
  margin-bottom: 24px;
}
.stat {
  border-radius: 14px;
  border-top: 3px solid #83afee;
  font-size: 12px;
  color: #687e96;
}
.stat:nth-child(2n) {
  border-top-color: #64c3ab;
}
.stat:nth-child(3n) {
  border-top-color: #eec779;
}
.stat strong {
  font-size: 29px;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.workflow-step {
  display: block;
  border: 1px solid #e5ebf4;
  background: #fafcff;
  border-radius: 12px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.workflow-step:hover {
  border-color: #80aeed;
  background: #f3f8ff;
}
.step-number {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #e8f1ff;
  color: #3679d3;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.workflow-step:nth-child(2n) .step-number {
  background: #e6f6f0;
  color: #1f9d7b;
}
.workflow-step:nth-child(3n) .step-number {
  background: #f0eaff;
  color: #865ec2;
}
.workflow-step h3 {
  margin: 14px 0 6px;
}
.workflow-step p {
  font-size: 11px;
  color: #7a8ca3;
  margin: 0 0 14px;
}
.workflow-step strong {
  font-size: 10px;
  color: #3476ca;
}
.report-tabs,
.settings-tabs {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 25px;
}
.report-tabs a,
.settings-tabs button {
  border: 1px solid #e0e7f1;
  background: white;
  color: #6b7f9a;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
}
.report-tabs a.active,
.settings-tabs button.active {
  background: #e8f1ff;
  border-color: #a8c8f2;
  color: #226acd;
}
.report-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 20px;
}
.report-actions p {
  font-size: 11px;
  max-width: 55%;
}
.settings-intro {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #eaf1ff;
  padding: 18px 22px;
  border-radius: 14px;
  margin-bottom: 25px;
}
.settings-intro p {
  font-size: 13px;
  margin: 0;
  color: #506f98;
}
.settings-panels {
  display: block !important;
  max-width: 960px;
}
.settings-panels > .card[hidden] {
  display: none !important;
}
.settings-panels > .card {
  padding: 30px;
}
.settings-panels form {
  max-width: 700px;
}
.settings-panels dl {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: #f6f9fe;
  border-radius: 12px;
  padding: 18px;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 27px;
}
.settings-panels dt {
  font-weight: 600;
}
.settings-panels dd {
  margin: 0;
}
.settings-panels #smtp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.settings-panels #smtp-form p,
.settings-panels #smtp-form button {
  grid-column: 1/-1;
}
.settings-panels #verify {
  margin-top: 15px;
}
.role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.role-cards > div {
  background: #eef3fd;
  border-radius: 13px;
  padding: 18px 22px;
}
.role-cards > div:nth-child(2) {
  background: #eaf7f1;
}
.role-cards > div:nth-child(3) {
  background: #f3effb;
}
.role-cards p {
  font-size: 12px;
  color: #70829b;
}
.assignment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 15px;
  background: #f7f9fc;
  border-radius: 12px;
}
.assignment-grid label {
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}
.form-footer {
  border-top: 1px solid #e9edf4;
  padding-top: 20px;
  margin-top: 24px;
  display: flex;
  gap: 10px;
}
.form-error {
  background: #fff0ef;
  border: 1px solid #ffd7d3;
  color: #b44342;
  padding: 12px;
  border-radius: 9px;
  font-size: 13px;
}
dialog {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px;
  max-width: 820px;
  width: calc(100vw - 40px);
  max-height: 90vh;
  box-shadow: 0 30px 100px #12294640;
}
dialog::backdrop {
  background: #132b4a70;
  backdrop-filter: blur(3px);
}
.dialog-head {
  border-bottom: 1px solid #edf1f7;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
th {
  background: #f7f9fd;
  color: #7b8da4;
  font-size: 10px;
  letter-spacing: 0.3px;
  padding: 14px 12px;
}
td {
  padding: 15px 12px;
  border-bottom: 1px solid #eef2f7;
  font-size: 12px;
}
td small {
  font-size: 10px;
  margin-top: 5px;
  display: block;
}
td a {
  text-decoration: none;
  font-weight: 600;
}
.table-wrap {
  border: 1px solid #edf1f7;
  border-radius: 10px;
}
#toast {
  z-index: 10000;
}
@media (min-width: 1500px) {
  .workflow-steps {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .content {
    padding: 40px 45px;
  }
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: 195px minmax(0, 1fr);
  }
  .sidebar {
    padding: 25px 12px;
  }
  .sidebar > img {
    width: 164px;
  }
  .content {
    padding: 26px 22px;
  }
  .metrics {
    gap: 10px;
  }
  .metric {
    padding: 18px;
  }
  .event-grid {
    gap: 14px;
  }
  .event-tile-body {
    padding: 17px 17px 0;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .response-chart {
    max-width: 620px;
  }
  .welcome-banner h2 {
    font-size: 24px;
  }
  .hero-orbit {
    inset-inline-end: -50px;
  }
}
@media (max-width: 800px) {
  .layout {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 16px;
    gap: 18px;
  }
  .sidebar > img {
    align-self: flex-start;
    height: 53px;
    width: 134px;
    padding: 5px 12px;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 5px;
  }
  .sidebar nav a {
    padding: 10px 12px;
    font-size: 11px;
  }
  .sidebar nav svg {
    width: 16px !important;
    height: 16px !important;
  }
  .sidebar footer {
    display: none;
  }
  .topbar {
    padding: 14px 18px;
    flex-wrap: wrap;
  }
  .content {
    padding: 24px 16px;
  }
  .heading h1 {
    font-size: 24px;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .welcome-banner {
    padding: 24px;
    min-height: 210px;
  }
  .welcome-banner > div:first-child {
    max-width: 90%;
  }
  .welcome-banner h2 {
    font-size: 23px;
  }
  .welcome-banner p {
    max-width: 85%;
  }
  .hero-orbit {
    opacity: 0.4;
  }
  .role-cards {
    grid-template-columns: 1fr;
  }
  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .report-actions {
    align-items: start;
    flex-direction: column;
  }
  .report-actions p {
    max-width: none;
  }
  .report-actions .button {
    font-size: 11px;
  }
  .filter-bar {
    padding: 14px;
  }
  .filter-bar label {
    min-width: 120px;
  }
  .settings-panels #smtp-form {
    display: block;
  }
  .settings-panels .card {
    padding: 20px;
  }
  .settings-panels dl {
    grid-template-columns: 1fr;
  }
  .settings-panels dd {
    margin-bottom: 8px;
  }
  .heading {
    align-items: start;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .sidebar nav a {
    flex-direction: column;
    gap: 5px;
    min-width: 58px;
    padding: 8px;
  }
  .topbar > div {
    display: flex;
    gap: 3px;
  }
  .heading {
    gap: 10px;
  }
  .heading .actions button {
    padding: 10px;
    font-size: 11px;
  }
  .workflow-step {
    padding: 13px;
  }
  .workflow-step h3 {
    font-size: 13px;
  }
  .response-chart {
    gap: 16px;
  }
  .chart-total {
    width: 108px;
    height: 108px;
    border-width: 10px;
  }
  .chart-total strong {
    font-size: 24px;
  }
  .metric strong {
    font-size: 30px;
  }
  .metric p {
    max-width: 80%;
  }
  .settings-tabs button {
    padding: 10px 12px;
  }
  .assignment-grid {
    grid-template-columns: 1fr;
  }
  .auth-story h1 br {
    display: initial;
  }
}
@media print {
  .sidebar,
  .topbar,
  .filter-bar,
  .report-actions,
  .report-tabs,
  .tabs,
  .settings-tabs,
  .heading .actions {
    display: none !important;
  }
  .layout,
  .workspace,
  .dashboard-grid {
    display: block !important;
  }
  .content {
    padding: 0;
  }
  .card,
  .metric {
    break-inside: avoid;
    box-shadow: none;
  }
  .welcome-banner {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(4, 1fr);
  }
  a {
    color: inherit;
  }
  .table-wrap {
    overflow: visible;
  }
  table {
    font-size: 10px;
  }
  .report-actions + div {
    display: block;
  }
}
.workspace-copyright{padding:18px 36px 28px;color:#8797ac;font-size:11px;text-align:center}.auth-entry-footer{font-size:11px}.auth-brand footer{font-size:11px}
.brand-link{display:inline-flex;align-items:center;justify-content:center}.sidebar>.brand-link{align-self:center}.sidebar>.brand-link img{background:white;padding:10px 16px;border-radius:14px;width:184px;height:78px;object-fit:contain}.workspace-brand-name{color:#c9daf0;text-decoration:none;font-size:12px;line-height:1.8;display:block}.workspace-copyright a,.auth-entry-footer a{color:inherit;text-decoration:none}.auth-brand footer a{color:inherit;text-decoration:none}.workspace-copyright a:hover,.auth-entry-footer a:hover,.workspace-brand-name:hover{text-decoration:underline}@media(max-width:1150px){.sidebar>.brand-link img{width:164px}}@media(max-width:800px){.sidebar>.brand-link{align-self:flex-start}.sidebar>.brand-link img{height:53px;width:134px;padding:5px 12px}}
/* Compact account and language navigation */
.topbar{height:82px;padding:16px 36px;position:sticky;top:0;z-index:30;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid #e8edf5;display:flex;justify-content:space-between;align-items:center;flex-wrap:nowrap}.topbar-context{display:flex;align-items:center;gap:12px}.context-icon{width:38px;height:38px;border-radius:11px;background:#f1f5fc;color:#5f82b2;display:grid;place-items:center}.context-icon svg{width:19px;height:19px}.topbar-context>div{display:flex;flex-direction:column;gap:4px}.topbar-context small{font-size:8px;letter-spacing:1.4px;color:#8b9bb0}.topbar-context strong{font-size:13px;color:#284264}.topbar-tools{display:flex;align-items:center;gap:18px}.icon-button,.topbar .icon-button{display:inline-grid;place-items:center;width:40px;height:40px;padding:0;border-radius:12px;background:#f3f6fc;border:1px solid #e6edf6;color:#5d7da8;box-shadow:none}.icon-button svg{width:21px;height:21px}.icon-button:hover{background:#e8f1ff;color:#216cd4;filter:none}.topbar-divider{width:1px;height:28px;background:#e6ecf5}.account-control{position:relative}.account-trigger{display:flex;align-items:center;gap:11px;border:1px solid transparent;background:transparent;padding:3px 6px;color:#2c405e;box-shadow:none;border-radius:12px}.account-trigger:hover,.account-trigger[aria-expanded=true]{background:#f5f8fd;filter:none}.account-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#edf3ff,#dce9ff);color:#4077c0;border:2px solid #fff;box-shadow:0 0 0 1px #dfe9f7}.account-avatar svg{width:23px;height:23px}.account-identity{display:flex;flex-direction:column;text-align:start;gap:5px}.account-identity strong{font-size:12px}.account-identity small{font-size:10px;font-weight:400;color:#8293aa}.chevron{height:13px;width:13px;color:#8ba0bc;margin-inline-start:8px}.account-menu{position:absolute;top:calc(100% + 13px);inset-inline-end:0;width:230px;border:1px solid #e1e9f3;background:#fff;box-shadow:0 15px 40px #243d6926;border-radius:15px;padding:7px;z-index:50}.account-menu[hidden]{display:none}.account-menu-heading{padding:13px 12px;border-bottom:1px solid #edf1f6;margin-bottom:6px}.account-menu-heading strong{display:block;font-size:12px}.account-menu-heading small{display:block;margin-top:5px;font-size:10px;color:#8496ac}.account-menu>button{width:100%;display:flex;align-items:center;gap:12px;background:transparent;color:#5b7392;border:0;text-align:start;padding:12px;font-size:12px}.account-menu>button:hover{background:#f1f6fd;filter:none}.account-menu>button svg{width:18px;height:18px}.account-menu #logout{color:#c1626c}.account-menu #logout:hover{background:#fff3f3}.auth-language .icon-button{background:#ffffff90;border-color:#dae4f0}.auth-language{z-index:2}
@media(max-width:800px){.topbar{height:72px;padding:12px 18px}.topbar-tools{gap:12px}.topbar-context small{display:none}.account-identity{display:none}.chevron{margin:0}.account-trigger{gap:4px}.topbar-context{gap:8px}.context-icon{width:32px;height:32px}.topbar-context strong{font-size:12px}.account-menu{width:215px}.topbar>div{display:flex;gap:10px}.topbar-divider{height:24px}}@media print{.topbar{display:none!important}}
