/* Feedback */
[hidden] {
  display: none !important;
}

.global-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(6px);
}

.global-loader.active {
  display: flex;
}

.global-loader-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(420px, calc(100vw - 32px));
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-glass);
}

.global-loader-panel strong {
  display: block;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.global-loader-panel p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.loader-orbit {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
}

.loader-orbit .material-icons {
  font-size: 21px;
}

/* Type and common components */
.section-eyebrow {
  display: inline-block;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(15, 116, 184, 0.28);
  outline-offset: 2px;
}

.ui-button,
.icon-btn,
.sidebar-toggle,
.crud-modal-close,
.table-page-btn,
.back-button,
.modules-logout {
  appearance: none;
  border: 0;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.ui-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.ui-button:hover {
  transform: translateY(-1px);
}

.ui-button:active {
  transform: translateY(0);
}

.ui-button-primary {
  border: 1px solid var(--green-700);
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: var(--white);
  box-shadow: 0 10px 22px rgba(7, 90, 145, 0.18);
}

.ui-button-primary:hover {
  box-shadow: 0 14px 26px rgba(7, 90, 145, 0.23);
}

.ui-button-secondary {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
}

.ui-button-ghost {
  border: 1px solid transparent;
  background: transparent;
  color: var(--green-700);
}

.ui-button-ghost:hover {
  background: var(--green-50);
}

.ui-button-icon {
  font-size: 18px;
}

.icon-btn {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 32px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--muted);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
}

.icon-btn .material-icons {
  font-size: 18px;
}

.icon-edit {
  background: var(--green-50);
  color: var(--green-700);
}

.icon-delete {
  background: #FFF1F0;
  color: #B42318;
}

.icon-neutral,
.crud-modal-close,
.table-page-btn {
  background: var(--green-50);
  color: var(--green-700);
}

/* Sidebar */
.sidebar-main {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.sidebar-top {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.sidebar-toggle {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
}

.sidebar-toggle .material-icons {
  font-size: 22px;
}

.sidebar-logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 4px 18px;
}

.sidebar-brand-logo {
  width: min(162px, 100%);
  max-height: 66px;
  object-fit: contain;
}

.sidebar-section-title {
  margin: 0 6px 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-list {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding-right: 2px;
}

.nav-item,
.nav-subitem {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.nav-item:hover,
.nav-subitem:hover,
.nav-item.active,
.nav-subitem.active {
  background: var(--green-50);
  color: var(--green-700);
}

.nav-item .material-icons,
.nav-subitem .material-icons {
  flex: 0 0 auto;
  font-size: 19px;
}

.nav-item span,
.nav-subitem span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-parent {
  justify-content: flex-start;
}

.nav-expand-icon {
  margin-left: auto;
  font-size: 18px !important;
}

.nav-sublist {
  display: grid;
  gap: 3px;
  margin: 3px 0 5px 13px;
  padding-left: 9px;
  border-left: 1px solid var(--border);
}

.nav-subitem {
  min-height: 30px;
  font-size: 0.75rem;
}

.sidebar-current-module {
  margin: 0 4px 10px;
}

.sidebar-current-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sidebar-current-card {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(15, 116, 184, 0.16);
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.sidebar-current-card .material-icons {
  font-size: 18px;
}

.sidebar-current-card span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  margin-top: 12px;
  border-top: 1px solid var(--border);
}

.sidebar-user-photo {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.sidebar-user-fallback {
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
}

.sidebar-user-fallback .material-icons {
  font-size: 18px;
}

.sidebar-user-info {
  min-width: 0;
}

.sidebar-user-info strong,
.sidebar-user-info span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user-info strong {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
}

.sidebar-user-info span {
  margin-top: 1px;
  color: var(--muted);
  font-size: 0.7rem;
}

.sidebar-user-logout {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--muted);
}

.sidebar-user-logout:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.sidebar-collapsed .sidebar {
  padding-inline: 10px;
}

.sidebar-collapsed .sidebar-brand-logo,
.sidebar-collapsed .sidebar-section-title,
.sidebar-collapsed .sidebar-current-module,
.sidebar-collapsed .nav-item span,
.sidebar-collapsed .nav-subitem span,
.sidebar-collapsed .nav-expand-icon,
.sidebar-collapsed .nav-sublist,
.sidebar-collapsed .sidebar-user-info {
  display: none;
}

.sidebar-collapsed .nav-item,
.sidebar-collapsed .nav-subitem {
  justify-content: center;
  padding: 0;
}

.sidebar-collapsed .sidebar-user {
  grid-template-columns: 1fr;
  justify-items: center;
}

.sidebar-collapsed .sidebar-user-logout {
  display: none;
}

/* Public module pages */
.modules-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 28px clamp(20px, 4vw, 56px);
  background: linear-gradient(135deg, #F6F8FA 0%, #EAF4FA 100%);
}

.modules-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.modules-logo {
  width: 154px;
  height: auto;
  object-fit: contain;
}

.modules-session {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.modules-logout,
.back-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-sm);
}

.modules-logout .material-icons,
.back-button .material-icons {
  font-size: 18px;
}

.modules-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.modules-header h1 {
  margin: 4px 0 8px;
  color: var(--text);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.08;
}

.modules-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

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

.modules-section + .modules-section {
  margin-top: 24px;
}

.modules-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modules-section-header::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--border);
}

.modules-section-admin {
  max-width: 390px;
}

.modules-grid-admin {
  grid-template-columns: minmax(230px, 1fr);
}

.module-card {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.module-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 116, 184, 0.28);
  box-shadow: var(--shadow-md);
}

.module-card-admin {
  border-color: rgba(7, 90, 145, 0.24);
  border-left-width: 3px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.module-card-admin::before {
  content: none;
}

.module-card-admin:hover {
  border-color: rgba(7, 90, 145, 0.34);
  box-shadow: var(--shadow-md);
}

.module-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
}

.module-icon .material-icons {
  font-size: 22px;
}

.module-card-admin .module-icon {
  background: var(--green-50);
  color: var(--green-700);
}

.module-card-admin h2 {
  color: var(--text);
}

.module-card-admin .module-arrow {
  color: var(--green-700);
}

.module-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.module-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.35;
}

.module-arrow {
  color: var(--green-700);
}

.module-arrow .material-icons {
  font-size: 21px;
}

.module-card-disabled {
  opacity: 0.7;
}

/* Auth access */
body.auth-body.public-page,
body.auth-body.public-page .public-shell {
  background-color: #FFFFFF;
  background-image: var(--auth-bg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

body.auth-body.public-page .public-shell {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  overflow: hidden;
}

.auth-page {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.auth-workspace {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
}

.auth-identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: clamp(28px, 5vw, 52px);
  color: var(--white);
  background: linear-gradient(135deg, #4F72B6 0%, #5DC9EB 100%);
}

.auth-copy {
  max-width: 440px;
}

.auth-copy span,
.auth-heading span {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.auth-copy span {
  color: rgba(255, 255, 255, 0.78);
}

.auth-copy h1 {
  margin: 10px 0 12px;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
}

.auth-copy p {
  margin: 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  line-height: 1.55;
}

.auth-access {
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 42px);
  background: var(--white);
}

.auth-form {
  width: 100%;
  max-width: 312px;
  display: grid;
  gap: 16px;
}

.auth-heading {
  display: grid;
  gap: 6px;
  margin-bottom: 4px;
}

.auth-heading span {
  color: var(--green-700);
}

.auth-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.auth-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.auth-field {
  display: grid;
  gap: 7px;
}

.auth-field label {
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
}

.auth-control {
  height: 42px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #F8FAFC;
  color: var(--muted);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.auth-control-secret {
  grid-template-columns: 22px minmax(0, 1fr) 30px;
}

.auth-control:focus-within {
  border-color: rgba(15, 116, 184, 0.46);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 116, 184, 0.08);
}

.auth-control-icon {
  font-size: 19px;
}

.auth-control input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
}

.auth-control input::placeholder {
  color: #94A3B8;
}

.auth-secret-toggle {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.auth-secret-toggle:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.auth-secret-toggle .material-icons {
  font-size: 18px;
}

.auth-submit {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
  border: 1px solid var(--green-700);
  border-radius: var(--radius-md);
  background: var(--green-700);
  color: var(--white);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 22px rgba(7, 90, 145, 0.18);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.auth-submit:hover {
  background: var(--green-500);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(7, 90, 145, 0.22);
}

.auth-submit:active {
  transform: translateY(0);
}

.auth-submit .material-icons {
  font-size: 18px;
}

.auth-footnote {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

/* CRUD page */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.toolbar-clean {
  margin-bottom: 12px;
}

.search-wrap {
  width: min(420px, 100%);
  min-height: 36px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
}

.search-wrap .material-icons {
  color: var(--muted);
  font-size: 20px;
}

.search-input {
  width: 100%;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.82rem;
}

.search-input::placeholder {
  color: #A0AEC0;
}

.content-shell:has(.table-card) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.content-shell:has(.table-card) .page-header,
.content-shell:has(.table-card) .toolbar {
  flex: 0 0 auto;
}

.content-shell:has(.table-card) .table-card {
  min-height: 0;
  flex: 1 1 auto;
}

.table-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  overflow: hidden;
}

.table-container {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}

.data-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
  background: #F8FAFC;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: left;
  text-transform: uppercase;
}

.data-table tbody td {
  height: 42px;
  max-width: 360px;
  padding: 0 12px;
  border-bottom: 1px solid #EDF2F7;
  color: var(--text);
  font-size: 0.78rem;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.data-table tbody tr:hover td {
  background: #FBFDFF;
}

.sortable-header {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
  text-transform: inherit;
  cursor: pointer;
}

.sort-icon {
  color: #94A3B8;
  font-size: 17px;
}

.actions-col {
  width: 104px;
  text-align: right !important;
}

.actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.actions form {
  margin: 0;
}

.table-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 700;
}

.table-badge-cancelado,
.table-badge-nao,
.table-badge-não,
.table-badge-inativo {
  background: #FFF1F0;
  color: #B42318;
}

.table-badge-pendente {
  background: #FFFAEB;
  color: #B54708;
}

.table-badge-concluido,
.table-badge-ativo,
.table-badge-sim {
  background: #ECFDF3;
  color: #047857;
}

.table-pagination {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  border-top: 1px solid var(--border);
  background: #FBFDFF;
}

.table-pagination-summary {
  color: var(--muted);
  font-size: 0.76rem;
}

.toolbar-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 420px);
}

.toolbar-search-form .search-wrap {
  flex: 1;
}

.table-page-btn.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.team-board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  padding-bottom: 6px;
}

.team-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.team-card.participants-open {
  border-color: rgba(5, 124, 77, 0.28);
  box-shadow: var(--shadow-md);
}

.team-card-top {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.team-leader-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
}

.team-leader-icon .material-icons {
  font-size: 22px;
}

.team-leader-content {
  min-width: 0;
}

.team-leader-content h2 {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.team-leader-content p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.team-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.team-card-actions form {
  margin: 0;
}

.team-view-toggle[aria-expanded="true"] {
  background: var(--green-100);
  color: var(--green-700);
}

.team-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-card-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.team-card-meta .material-icons {
  color: var(--green-700);
  font-size: 17px;
}

.team-participant-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-participant-list[hidden] {
  display: none;
}

.team-participant-list li {
  min-width: 0;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #EDF2F7;
  border-radius: var(--radius-md);
  background: #FBFDFF;
}

.team-participant-list .team-participant-empty {
  grid-template-columns: 20px minmax(0, 1fr);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.team-participant-empty .material-icons {
  color: var(--green-700);
  font-size: 18px;
}

.team-participant-avatar {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.team-participant-list strong,
.team-participant-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-participant-list strong {
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 700;
}

.team-participant-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
}

.team-empty-filter {
  margin-top: 14px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.dds-minute-page {
  height: 100%;
  min-height: 0;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 6px 0;
}

.public-shell .dds-minute-page {
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  padding: 28px 18px;
}

.dds-minute-shell {
  width: min(880px, 100%);
  height: 100%;
  max-height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.dds-minute-brand {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex: 0 0 auto;
}

.dds-minute-logo {
  width: min(190px, 32vw);
  max-height: 76px;
  object-fit: contain;
}

.dds-minute-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  justify-content: space-between;
  gap: 18px 28px;
  flex: 0 0 auto;
  margin-bottom: 14px;
}

.dds-minute-header-content {
  min-width: 0;
  text-align: left;
}

.dds-minute-header h1 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.2;
}

.dds-minute-header p {
  max-width: 680px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.dds-minute-header-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.dds-minute-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.dds-minute-card .form-grid {
  grid-template-columns: 1fr;
}

.dds-minute-topic-row,
.dds-minute-minister-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
}

.dds-minute-topic-select,
.dds-minute-minister-select {
  min-width: 0;
}

.dds-minute-check-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dds-minute-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
}

.dds-minute-checkbox-inline {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #FBFDFF;
  color: var(--text);
}

.dds-minute-checkbox input {
  width: 15px;
  height: 15px;
  accent-color: var(--green-700);
}

.enhanced-select {
  position: relative;
}

.enhanced-select-trigger {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.enhanced-select-trigger:focus,
.enhanced-select.open .enhanced-select-trigger {
  border-color: rgba(15, 116, 184, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 116, 184, 0.08);
}

.enhanced-select-trigger:disabled {
  background: #F8FAFC;
  color: var(--muted);
  cursor: default;
}

.enhanced-select-trigger .material-icons {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 20px;
  transition: transform 160ms ease;
}

.enhanced-select.open .enhanced-select-trigger .material-icons {
  transform: rotate(180deg);
}

.enhanced-select-trigger-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhanced-select-trigger-text.has-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.enhanced-select-trigger-preview-icon {
  flex: 0 0 auto;
  color: var(--green-700) !important;
  font-size: 18px !important;
}

.enhanced-select-trigger-text.muted {
  color: var(--muted);
}

.enhanced-select-options {
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.enhanced-select-options[hidden] {
  display: none;
}

.enhanced-list-search {
  position: relative;
  display: block;
  margin-bottom: 6px;
}

.enhanced-list-search .material-icons {
  position: absolute;
  left: 9px;
  top: 50%;
  color: var(--muted);
  font-size: 17px;
  pointer-events: none;
  transform: translateY(-50%);
}

.enhanced-list-search-input {
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 10px 0 32px !important;
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-md) !important;
  background: #FBFDFF !important;
  color: var(--text) !important;
  font-family: inherit;
  font-size: 0.82rem !important;
  outline: none;
  box-shadow: none !important;
}

.enhanced-list-search-input:focus {
  border-color: rgba(15, 116, 184, 0.45) !important;
  background: var(--white) !important;
  box-shadow: 0 0 0 3px rgba(15, 116, 184, 0.08) !important;
}

.enhanced-list-search-input:disabled {
  background: #F8FAFC !important;
  color: var(--muted) !important;
}

.enhanced-options-list {
  max-height: 202px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.enhanced-select-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
}

.enhanced-select-option:hover,
.enhanced-select-option:focus {
  background: var(--green-50);
  color: var(--green-700);
  outline: none;
}

.enhanced-select-option.selected {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 700;
}

.enhanced-select-option .material-icons {
  flex: 0 0 auto;
  color: var(--green-700);
  font-size: 17px;
}

.enhanced-select-option span {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhanced-select-option .enhanced-option-preview-icon {
  width: 20px;
  text-align: center;
}

.enhanced-select-option-status {
  margin-left: auto;
  font-size: 16px !important;
}

.enhanced-select-option-empty {
  padding: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.enhanced-option-no-results {
  padding: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.enhanced-option-no-results[hidden] {
  display: none;
}

.enhanced-select-source {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.enhanced-multiselect {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.enhanced-multiselect-trigger {
  width: 100%;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.enhanced-multiselect-trigger:focus,
.enhanced-multiselect.open .enhanced-multiselect-trigger {
  border-color: rgba(15, 116, 184, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 116, 184, 0.08);
}

.enhanced-multiselect-trigger:disabled {
  background: #F8FAFC;
  color: var(--muted);
  cursor: default;
}

.enhanced-multiselect-trigger .material-icons {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 20px;
  transition: transform 160ms ease;
}

.enhanced-multiselect.open .enhanced-multiselect-trigger .material-icons {
  transform: rotate(180deg);
}

.enhanced-multiselect-trigger-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhanced-multiselect-options {
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.enhanced-multiselect-options[hidden] {
  display: none;
}

.enhanced-multiselect-option {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.8rem;
  text-align: left;
  cursor: pointer;
}

.enhanced-multiselect-option:hover,
.enhanced-multiselect-option:focus {
  background: var(--green-50);
  color: var(--green-700);
  outline: none;
}

.enhanced-multiselect-option.selected {
  background: var(--green-50);
  color: var(--green-700);
  font-weight: 700;
}

.enhanced-multiselect-option .material-icons {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 17px;
}

.enhanced-multiselect-option:hover .material-icons,
.enhanced-multiselect-option:focus .material-icons,
.enhanced-multiselect-option.selected .material-icons {
  color: var(--green-700);
}

.enhanced-multiselect-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhanced-multiselect-option-empty {
  padding: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.enhanced-multiselect-source,
.dds-hidden-multiselect {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.enhanced-multiselect-selected,
.dds-selected-participants {
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #FBFDFF;
}

.enhanced-multiselect-selected[hidden] {
  display: none;
}

.enhanced-multiselect-empty,
.dds-selected-empty {
  color: var(--muted);
  font-size: 0.78rem;
}

.enhanced-multiselect-chip,
.dds-selected-chip {
  min-width: 0;
  max-width: 100%;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px 0 10px;
  border: 1px solid var(--green-100);
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.enhanced-multiselect-chip > span,
.dds-selected-chip > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.enhanced-multiselect-chip button,
.dds-selected-chip button {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.enhanced-multiselect-chip button:hover,
.dds-selected-chip button:hover {
  background: rgba(7, 90, 145, 0.1);
}

.enhanced-multiselect-chip .material-icons,
.dds-selected-chip .material-icons {
  font-size: 16px;
}

.modern-field.field-invalid .enhanced-multiselect-selected,
.modern-field.field-invalid .dds-selected-participants {
  border-color: #D92D20;
  background: #FFF8F7;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.modern-field.field-invalid .enhanced-select-trigger,
.modern-field.field-invalid .enhanced-multiselect-trigger {
  border-color: #D92D20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.table-pagination-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.table-page-btn {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
}

.table-page-btn:disabled {
  opacity: 0.45;
  cursor: default;
}

.table-page-indicator {
  min-width: 54px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  text-align: center;
}

/* Forms */
.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 18px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.8rem;
}

.form-note .material-icons {
  font-size: 18px;
}

.form-groups {
  display: grid;
  gap: 12px;
}

.form-group-section {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.form-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.form-group-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
}

.form-group-icon .material-icons {
  font-size: 18px;
}

.form-group-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-group-header p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.76rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-items: start;
}

.form-field-full {
  grid-column: 1 / -1;
}

.modern-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modern-field > label,
.radio-field-label {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 15px;
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  transform: none;
}

.required-icon {
  color: #B42318;
  font-size: 14px !important;
}

.modern-field input,
.modern-field select,
.modern-field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.modern-field input,
.modern-field select {
  height: 38px;
  padding: 0 10px;
}

.modern-field select[multiple] {
  height: auto;
  min-height: 132px;
  padding: 8px;
}

.modern-field select[multiple] option {
  padding: 7px 8px;
  border-radius: var(--radius-sm);
}

.modern-field textarea {
  min-height: 84px;
  padding: 10px;
  resize: vertical;
}

.modern-field input:focus,
.modern-field select:focus,
.modern-field textarea:focus {
  border-color: rgba(15, 116, 184, 0.45);
  box-shadow: 0 0 0 3px rgba(15, 116, 184, 0.08);
}

.readonly-field,
.modern-field input[readonly],
.modern-field select[disabled] {
  background: #F8FAFC;
  color: var(--muted);
}

.radio-field-options {
  min-height: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.radio-field-options label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 0.82rem;
}

.field-error-message {
  display: none;
  color: #B42318;
  font-size: 0.72rem;
}

.modern-field.field-invalid input,
.modern-field.field-invalid select,
.modern-field.field-invalid textarea,
.modern-field input[aria-invalid="true"],
.modern-field select[aria-invalid="true"],
.modern-field textarea[aria-invalid="true"] {
  border-color: #D92D20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.08);
}

.modern-field.field-invalid .radio-field-options {
  padding: 7px 9px;
  border: 1px solid #D92D20;
  border-radius: var(--radius-md);
  background: #FFF8F7;
}

.modern-field.field-invalid .field-error-message {
  display: block;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

/* Modal */
.crud-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(5px);
}

.crud-modal-backdrop.active,
.crud-modal-backdrop.open {
  display: flex;
}

.crud-modal-backdrop.active .crud-modal-panel {
  animation: modalEnter 180ms ease both;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.crud-modal-panel {
  width: min(920px, calc(100vw - 48px));
  max-height: min(760px, calc(100dvh - 48px));
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-glass);
}

.crud-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}

.crud-modal-header h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 700;
}

.crud-modal-header p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.crud-modal-close {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
}

.crud-modal-close .material-icons {
  font-size: 22px;
}

.crud-modal-panel form {
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.crud-modal-panel .form-groups {
  max-height: min(58vh, 520px);
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
}

.crud-modal-panel .form-group-section {
  overflow: visible;
}

/* Empty and supporting pages */
.empty-state {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 34px 18px;
  color: var(--muted);
  text-align: center;
}

.empty-state .material-icons {
  color: var(--green-700);
  font-size: 34px;
}

.empty-state h6 {
  margin: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

.empty-state p {
  margin: 0;
  font-size: 0.8rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.admin-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--white);
  color: inherit;
  box-shadow: var(--shadow-sm);
}

.admin-card-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-700);
}

.admin-card strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
}

.admin-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.admin-card-arrow {
  color: var(--green-700);
}

.not-found-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.not-found-shell {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.not-found-code {
  color: var(--green-700);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
}

.not-found-content h1 {
  margin: 6px 0 8px;
  color: var(--text);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.not-found-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.not-found-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .modules-topbar,
  .toolbar,
  .crud-modal-header,
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    overflow: auto;
  }

  .auth-workspace {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .auth-identity {
    gap: 20px;
  }

  .auth-access {
    padding: 30px 24px 34px;
  }

  .auth-form {
    max-width: 420px;
  }

  .form-grid,
  .crud-modal-panel .form-grid {
    grid-template-columns: 1fr;
  }

  .crud-modal-panel {
    width: min(100%, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
    padding: 18px;
  }

  .not-found-shell {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .not-found-actions {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .modules-page {
    padding: 20px;
  }

  .team-board {
    grid-template-columns: 1fr;
  }

  .team-card-top {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .team-card-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }

  .team-participant-list strong,
  .team-participant-list small {
    white-space: normal;
  }

  .dds-minute-page,
  .public-shell .dds-minute-page {
    align-items: stretch;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: visible;
    padding: 18px 0;
  }

  .public-shell .dds-minute-page {
    padding: 18px 12px;
  }

  .dds-minute-shell {
    height: auto;
    max-height: none;
  }

  .dds-minute-header {
    grid-template-columns: 1fr;
  }

  .dds-minute-brand {
    order: -1;
    justify-content: flex-start;
  }

  .dds-minute-logo {
    width: min(170px, 58vw);
    max-height: 62px;
  }

  .dds-minute-check-row {
    align-items: stretch;
    flex-direction: column;
  }

  .dds-minute-header-actions,
  .dds-minute-header .ui-button {
    width: 100%;
  }

  .dds-minute-card {
    overflow: visible;
    padding: 14px;
  }

  .dds-minute-card .form-grid {
    grid-template-columns: 1fr;
  }

  .dds-minute-topic-row,
  .dds-minute-minister-row {
    grid-template-columns: 1fr;
  }

  .dds-minute-checkbox {
    white-space: normal;
  }

  .dds-minute-checkbox-inline {
    justify-content: flex-start;
    width: 100%;
  }

  .modules-grid {
    grid-template-columns: 1fr;
  }

  .module-card {
    grid-template-columns: 38px minmax(0, 1fr) 24px;
  }

  .search-wrap {
    width: 100%;
  }

  .auth-page {
    padding: 0;
  }

  .auth-workspace {
    border-radius: 0;
  }

  .auth-identity {
    padding: 24px;
  }

  .auth-copy h1 {
    font-size: 1.72rem;
  }

  .auth-copy p {
    font-size: 0.84rem;
  }

  .auth-access {
    padding: 26px 18px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
