:root {
  --dsamun-navy: #24145f;
  --dsamun-navy-2: #34248a;
  --dsamun-blue: #3d2c91;
  --dsamun-blue-dark: #281968;
  --dsamun-sky: #f0eef8;
  --dsamun-red: #b4232a;
  --dsamun-gold: #d4a017;
  --dsamun-gold-dark: #a9790f;
  --dsamun-gold-soft: #fff7df;
  --dsamun-bg: #f7f6fb;
  --dsamun-surface: #ffffff;
  --dsamun-surface-soft: #fbfaff;
  --dsamun-border: #ded9ec;
  --dsamun-border-strong: #c7bedf;
  --dsamun-text: #1f1b38;
  --dsamun-muted: #6e6881;
  --dsamun-shadow: 0 16px 38px rgba(44, 32, 97, 0.08);
  --dsamun-radius: 8px;
  --dsamun-sidebar-logo-width: 78px;
  --dsamun-sidebar-logo-height: 54px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dsamun-bot-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dsamun-dashboard {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--dsamun-bg);
  color: var(--dsamun-text);
  line-height: 1.55;
}

.dsamun-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.dsamun-sidebar {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: linear-gradient(180deg, var(--dsamun-navy) 0%, var(--dsamun-navy-2) 100%);
  color: #fff;
  padding: 24px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dsamun-sidebar-main {
  display: grid;
  gap: 20px;
}

.dsamun-sidebar-partners {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.dsamun-brand-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.dsamun-brand,
.dsamun-org-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  text-decoration: none;
}

.dsamun-brand-logo,
.dsamun-org-card > img,
.dsamun-affiliation img {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--dsamun-sidebar-logo-width);
  height: var(--dsamun-sidebar-logo-height);
  padding: 6px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  object-fit: contain;
}

.dsamun-brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dsamun-brand strong,
.dsamun-org-card strong {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0;
}

.dsamun-brand small,
.dsamun-org-card small,
.dsamun-sidebar-note {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.dsamun-org-card:hover {
  background: rgba(212, 160, 23, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
}

.dsamun-affiliation {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
}

.dsamun-affiliation img {
  border-radius: 8px;
}

.dsamun-affiliation:hover {
  background: rgba(212, 160, 23, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
}

.dsamun-affiliation strong {
  display: block;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.dsamun-affiliation small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  line-height: 1.35;
}

.dsamun-sidebar-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.dsamun-nav {
  display: grid;
  gap: 7px;
}

.dsamun-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  padding: 10px 12px;
  border-left: 3px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.dsamun-nav a:hover,
.dsamun-nav a.is-active {
  background: rgba(212, 160, 23, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.dsamun-nav a:hover {
  transform: translateX(2px);
}

.dsamun-nav-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.dsamun-nav-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dsamun-auth-nav {
  margin-top: 10px;
}

.dsamun-content {
  width: 100%;
  max-width: 1240px;
  padding: 34px;
  font-size: 13px;
  font-weight: 400;
}

.dsamun-panel,
.dsamun-subpanel {
  background: var(--dsamun-surface);
  border: 1px solid var(--dsamun-border);
  border-radius: var(--dsamun-radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--dsamun-shadow);
}

.dsamun-subpanel {
  background: var(--dsamun-surface-soft);
  box-shadow: none;
  border-left: 4px solid var(--dsamun-border-strong);
}

.dsamun-panel h1,
.dsamun-panel h2,
.dsamun-panel h3 {
  margin: 0 0 18px;
  color: var(--dsamun-navy);
  letter-spacing: 0;
}

.dsamun-panel h1 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
}

.dsamun-panel h2 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.dsamun-panel h3 {
  font-size: 14px;
  font-weight: 600;
}

.dsamun-auth {
  width: min(100%, 520px);
  margin: min(8vh, 72px) auto 0;
}

.dsamun-signup {
  width: min(100%, 960px);
  margin-top: 24px;
}

.dsamun-signup-choice h2 {
  margin-bottom: 14px;
}

.dsamun-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dsamun-choice-card {
  min-height: 210px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--dsamun-border);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #fbfaff 100%);
  color: var(--dsamun-text);
  cursor: pointer;
  text-align: center;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.dsamun-choice-card:hover,
.dsamun-choice-card.is-selected {
  border-color: var(--dsamun-blue);
  box-shadow: 0 16px 32px rgba(169, 121, 15, 0.13);
  transform: translateY(-2px);
}

.dsamun-choice-card.is-disabled,
.dsamun-choice-card:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.35);
}

.dsamun-choice-card.is-disabled:hover,
.dsamun-choice-card:disabled:hover {
  border-color: var(--dsamun-border);
  box-shadow: none;
  transform: none;
}

.dsamun-choice-card:hover .dsamun-choice-icon,
.dsamun-choice-card.is-selected .dsamun-choice-icon {
  background: var(--dsamun-gold-soft);
  color: var(--dsamun-gold-dark);
}

.dsamun-choice-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--dsamun-sky);
  color: var(--dsamun-blue);
}

.dsamun-choice-icon svg {
  width: 38px;
  height: 38px;
}

.dsamun-choice-title {
  color: var(--dsamun-navy);
  font-size: 18px;
  font-weight: 600;
}

.dsamun-choice-text {
  max-width: 250px;
  color: var(--dsamun-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dsamun-choice-note {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--dsamun-gold-soft);
  color: var(--dsamun-gold-dark);
  font-size: 11px;
  font-weight: 600;
}

.dsamun-signup-fields {
  display: grid;
  gap: 14px;
}

.dsamun-link-button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: #57479f;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
}

.dsamun-link-button:hover {
  color: var(--dsamun-gold-dark);
  text-decoration: underline;
}

.dsamun-form,
.dsamun-inline-form {
  display: grid;
  gap: 14px;
}

.dsamun-inline-form {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--dsamun-border);
  border-radius: var(--dsamun-radius);
  background: #fff;
}

.dsamun-subpanel .dsamun-inline-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.dsamun-compact-form {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.dsamun-country-add-form {
  grid-template-columns: minmax(180px, 1.6fr) auto auto auto minmax(220px, 2fr) 86px 46px;
}

.dsamun-country-add-form .dsamun-inline {
  min-height: 42px;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--dsamun-border-strong);
  border-radius: 7px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
}

.dsamun-add-button {
  grid-column: -2 / -1;
  width: 46px;
  min-width: 46px;
  padding: 0;
  margin-left: auto;
  font-size: 20px;
  font-weight: 600;
}

.dsamun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.dsamun-registration-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.dsamun-registration-grid > * {
  grid-column: span 12;
}

.dsamun-field-quarter {
  grid-column: span 3;
}

.dsamun-field-third {
  grid-column: span 4;
}

.dsamun-field-half {
  grid-column: span 6;
}

.dsamun-field-two-thirds {
  grid-column: span 8;
}

.dsamun-field-full {
  grid-column: span 12;
}

.dsamun-form-section {
  padding: 18px;
  border: 1px solid var(--dsamun-border);
  border-radius: var(--dsamun-radius);
  background: var(--dsamun-surface-soft);
}

.dsamun-form label,
.dsamun-inline-form label,
.dsamun-grid label {
  display: grid;
  gap: 7px;
  color: var(--dsamun-text);
  font-size: 12px;
  font-weight: 500;
}

.dsamun-inline {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.dsamun-form input,
.dsamun-form select,
.dsamun-form textarea,
.dsamun-inline-form input,
.dsamun-inline-form select,
.dsamun-inline-form textarea,
.dsamun-grid input,
.dsamun-grid select,
.dsamun-grid textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--dsamun-border-strong);
  border-radius: 7px;
  padding: 10px 11px;
  background: #fff;
  color: var(--dsamun-text);
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.dsamun-form textarea,
.dsamun-grid textarea {
  min-height: 92px;
  resize: vertical;
}

.dsamun-form input:focus,
.dsamun-form select:focus,
.dsamun-form textarea:focus,
.dsamun-inline-form input:focus,
.dsamun-inline-form select:focus,
.dsamun-inline-form textarea:focus,
.dsamun-grid input:focus,
.dsamun-grid select:focus,
.dsamun-grid textarea:focus {
  border-color: var(--dsamun-blue);
  box-shadow: 0 0 0 3px rgba(61, 44, 145, 0.14);
}

.dsamun-form input[type="checkbox"],
.dsamun-inline-form input[type="checkbox"],
.dsamun-grid input[type="checkbox"] {
  width: 16px;
  min-height: 16px;
  accent-color: var(--dsamun-blue);
}

.dsamun-button {
  border: 1px solid rgba(61, 44, 145, 0.16);
  border-radius: 7px;
  padding: 10px 16px;
  background: var(--dsamun-blue);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 9px 18px rgba(44, 32, 97, 0.1);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dsamun-button:hover {
  background: var(--dsamun-blue-dark);
  border-color: rgba(61, 44, 145, 0.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(44, 32, 97, 0.24);
}

.dsamun-button-danger {
  background: var(--dsamun-red);
}

.dsamun-button-danger:hover {
  background: #921b20;
  color: #fff;
  box-shadow: 0 14px 28px rgba(146, 27, 32, 0.22);
}

.dsamun-button-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 11px;
}

.dsamun-status-toggle-button {
  background: #fff;
  color: var(--dsamun-blue-dark);
  border-color: var(--dsamun-border);
  box-shadow: none;
}

.dsamun-status-toggle-button:hover {
  background: var(--dsamun-blue);
  color: #fff;
  border-color: rgba(61, 44, 145, 0.2);
}

.dsamun-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.dsamun-action-cell {
  min-width: 220px;
}

.dsamun-action-form {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.dsamun-row-action-form {
  display: inline-flex;
  margin: 0;
}

.dsamun-icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--dsamun-border);
  border-radius: 7px;
  background: var(--dsamun-surface-soft);
  color: var(--dsamun-blue-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dsamun-icon-button svg {
  width: 18px;
  height: 18px;
  display: block;
}

.dsamun-icon-button:hover {
  background: var(--dsamun-blue);
  border-color: rgba(61, 44, 145, 0.2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(44, 32, 97, 0.2);
}

.dsamun-icon-button-danger {
  color: var(--dsamun-red);
}

.dsamun-icon-button-danger:hover {
  background: var(--dsamun-red);
  border-color: var(--dsamun-red);
  color: #fff;
}

.dsamun-auth-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.dsamun-auth-actions a,
.dsamun-auth-footer a,
.dsamun-panel a {
  color: var(--dsamun-blue-dark);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
}

.dsamun-auth-actions a,
.dsamun-auth-footer a {
  color: #57479f;
  font-size: 13px;
  font-weight: 500;
}

.dsamun-auth-actions a:hover,
.dsamun-auth-footer a:hover,
.dsamun-panel a:hover {
  color: var(--dsamun-gold-dark);
  text-decoration: underline;
}

.dsamun-panel a.dsamun-button,
.dsamun-panel a.dsamun-button:hover {
  font-weight: 600;
  text-decoration: none;
}

.dsamun-panel a.dsamun-button {
  color: #fff;
}

.dsamun-panel a.dsamun-button:hover {
  color: #fff;
}

.dsamun-auth-footer {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--dsamun-border);
  color: var(--dsamun-muted);
  font-size: 12px;
}

.dsamun-search-shell {
  width: 100%;
  margin: 18px 0 24px;
}

.dsamun-search-field {
  position: relative;
  display: block;
  width: 100%;
}

.dsamun-search-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--dsamun-border-strong);
  border-radius: var(--dsamun-radius);
  padding: 12px 48px 12px 15px;
  background: #fff;
  color: var(--dsamun-text);
  font: inherit;
  font-size: 13px;
  outline: none;
  box-shadow: 0 12px 26px rgba(44, 32, 97, 0.06);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.dsamun-search-field input:focus {
  border-color: var(--dsamun-blue);
  box-shadow: 0 0 0 3px rgba(61, 44, 145, 0.12), 0 12px 26px rgba(44, 32, 97, 0.06);
}

.dsamun-search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 22px;
  height: 22px;
  color: var(--dsamun-blue);
  transform: translateY(-50%);
  pointer-events: none;
}

.dsamun-search-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.dsamun-tabs {
  display: grid;
  gap: 18px;
}

.dsamun-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--dsamun-border);
  border-radius: var(--dsamun-radius);
  background: var(--dsamun-surface-soft);
}

.dsamun-tab-button {
  border: 1px solid var(--dsamun-border);
  border-radius: 7px;
  padding: 10px 13px;
  background: #fff;
  color: var(--dsamun-blue-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dsamun-tab-button.is-active {
  background: var(--dsamun-blue);
  border-color: var(--dsamun-blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(44, 32, 97, 0.22);
}

.dsamun-tab-button:hover {
  background: var(--dsamun-blue-dark);
  border-color: var(--dsamun-blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(44, 32, 97, 0.18);
}

.dsamun-tab-panel {
  display: block;
}

.dsamun-section-stack {
  display: grid;
  gap: 14px;
}

.dsamun-accordion {
  border: 1px solid var(--dsamun-border);
  border-radius: var(--dsamun-radius);
  background: #fff;
  box-shadow: 0 10px 24px rgba(44, 32, 97, 0.05);
  overflow: hidden;
}

.dsamun-accordion[open] {
  border-color: var(--dsamun-border-strong);
  box-shadow: 0 14px 30px rgba(44, 32, 97, 0.09);
}

.dsamun-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 17px;
  background: var(--dsamun-surface-soft);
  color: var(--dsamun-navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  list-style: none;
}

.dsamun-accordion > summary::-webkit-details-marker {
  display: none;
}

.dsamun-accordion > summary::after {
  content: "+";
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: var(--dsamun-blue);
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.dsamun-accordion[open] > summary::after {
  content: "-";
  background: var(--dsamun-blue-dark);
  color: #fff;
}

.dsamun-accordion-body {
  padding: 17px;
  border-top: 1px solid var(--dsamun-border);
}

.dsamun-accordion-body > :last-child {
  margin-bottom: 0;
}

.dsamun-accordion-body .dsamun-table:first-child {
  margin-top: 0;
}

.dsamun-accordion-body .dsamun-subpanel {
  margin-bottom: 0;
}

.dsamun-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--dsamun-border);
  border-radius: var(--dsamun-radius);
  background: #fff;
}

.dsamun-table th,
.dsamun-table td {
  border-bottom: 1px solid var(--dsamun-border);
  padding: 12px;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.dsamun-table th {
  background: var(--dsamun-sky);
  color: var(--dsamun-navy);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dsamun-table tr:last-child td {
  border-bottom: 0;
}

.dsamun-table tbody tr:nth-child(even):not([hidden]) {
  background: #fcfbff;
}

.dsamun-table tbody tr:hover {
  background: var(--dsamun-gold-soft);
}

.dsamun-table .dsamun-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dsamun-fixed-value {
  align-self: center;
  color: var(--dsamun-muted);
  font-weight: 600;
}

.dsamun-status-card {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.dsamun-status-card > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
}

.dsamun-status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 25px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.dsamun-status-card .dsamun-status-badge {
  max-width: 100%;
  white-space: normal;
}

.dsamun-status-success {
  background: #e8f7ee;
  border-color: #a8dfbd;
  color: #17653a;
}

.dsamun-status-warning {
  background: #fff7df;
  border-color: #e7c66a;
  color: #76540b;
}

.dsamun-status-info {
  background: var(--dsamun-sky);
  border-color: #cfc6eb;
  color: var(--dsamun-blue-dark);
}

.dsamun-status-danger {
  background: #fff1f1;
  border-color: #f3b8b8;
  color: #7f1d1d;
}

.dsamun-status-neutral {
  background: #f4f2f8;
  border-color: var(--dsamun-border);
  color: var(--dsamun-muted);
}

.dsamun-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dsamun-modal-open {
  overflow: hidden;
}

.dsamun-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.dsamun-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 47, 0.54);
}

.dsamun-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: min(760px, 90vh);
  overflow: auto;
  border: 1px solid var(--dsamun-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(18, 12, 47, 0.28);
  padding: 24px;
}

.dsamun-modal-dialog h2 {
  margin-right: 42px;
}

.dsamun-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--dsamun-border);
  border-radius: 7px;
  background: #fff;
  color: var(--dsamun-blue-dark);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.dsamun-modal-close:hover {
  background: var(--dsamun-blue);
  border-color: var(--dsamun-blue);
  color: #fff;
  box-shadow: 0 10px 20px rgba(44, 32, 97, 0.18);
}

.dsamun-loading-indicator {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100000;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--dsamun-blue);
  box-shadow: 0 14px 34px rgba(44, 32, 97, 0.26);
}

.dsamun-loading-indicator span {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dsamun-spin 780ms linear infinite;
}

.dsamun-is-loading .dsamun-loading-indicator {
  display: flex;
}

@keyframes dsamun-spin {
  to {
    transform: rotate(360deg);
  }
}

.dsamun-muted {
  color: var(--dsamun-muted);
  font-size: 0.9em;
  font-weight: 400;
}

.dsamun-committee-label {
  margin: 16px 0 9px;
  padding: 9px 11px;
  border: 1px solid var(--dsamun-border);
  border-radius: 6px;
  background: #fff;
  color: var(--dsamun-navy);
  font-size: 12px;
  font-weight: 600;
}

.dsamun-error,
.dsamun-notice,
.dsamun-infobox {
  border-radius: 7px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid transparent;
}

.dsamun-error {
  background: #fff1f1;
  color: #7f1d1d;
  border-color: #f3b8b8;
}

.dsamun-form-errors {
  margin-top: 8px;
  padding: 11px 13px;
  border: 1px solid #f3b8b8;
  border-radius: 7px;
  background: #fff8f8;
  color: #7f1d1d;
  font-size: 12px;
  line-height: 1.45;
}

.dsamun-form-errors h3 {
  margin: 0 0 6px;
  color: #7f1d1d;
  font-size: 12px;
  line-height: 1.2;
}

.dsamun-form-errors ul {
  margin: 0;
  padding-left: 18px;
}

.dsamun-form-errors li + li {
  margin-top: 3px;
}

.dsamun-notice,
.dsamun-infobox {
  background: var(--dsamun-sky);
  color: var(--dsamun-blue-dark);
  border-color: #d8d0ec;
}

.dsamun-danger {
  border-color: #e8b5b5;
  background: #fffafa;
}

@media (max-width: 900px) {
  .dsamun-shell {
    grid-template-columns: 1fr;
  }

  .dsamun-sidebar {
    position: static;
    min-height: auto;
  }

  .dsamun-sidebar-partners {
    margin-top: 0;
  }

  .dsamun-content {
    padding: 18px;
  }

  .dsamun-auth,
  .dsamun-signup {
    margin-top: 0;
  }

  .dsamun-table {
    display: block;
    overflow-x: auto;
  }

  .dsamun-country-add-form {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .dsamun-add-button {
    grid-column: auto;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .dsamun-choice-grid {
    grid-template-columns: 1fr;
  }

  .dsamun-choice-card {
    min-height: 180px;
  }

  .dsamun-panel,
  .dsamun-subpanel,
  .dsamun-form-section {
    padding: 16px;
  }

  .dsamun-panel h1 {
    font-size: 22px;
  }

  .dsamun-auth-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dsamun-auth-actions .dsamun-button {
    width: 100%;
  }

  .dsamun-registration-grid > *,
  .dsamun-field-quarter,
  .dsamun-field-third,
  .dsamun-field-half,
  .dsamun-field-two-thirds {
    grid-column: span 12;
  }
}
