:root {
  --ink: #07110b;
  --ink-2: #0d1a12;
  --green: #26d67f;
  --green-2: #13b969;
  --mint: #dff9eb;
  --paper: #f4f7f5;
  --white: #fff;
  --muted: #718078;
  --line: #dce5df;
  --danger: #dc4f4f;
  --shadow: 0 18px 45px rgba(7,17,11,.08)
}
* {
  box-sizing: border-box
}
html {
  background: var(--paper)
}
body {
  margin: 0;
  font-family: Manrope,ui-sans-serif,system-ui,sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh
}
.app-shell {
  display: flex;
  min-height: 100vh
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 270px;
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  z-index: 50
}
.brand {
  height: 88px;
  padding: 19px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08)
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--green);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -1px;
  box-shadow: 0 8px 24px rgba(38,214,127,.24)
}
.brand-mark span {
  font-size: 11px;
  vertical-align: top
}
.brand>div:nth-child(2) {
  min-width: 0
}
.brand strong {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px
}
.brand small,.sidebar-foot small {
  display: block;
  color: #829188;
  font-size: 10px;
  margin-top: 4px
}
.sidebar-close {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  color: white;
  font-size: 25px
}
.side-nav {
  padding: 20px 14px;
  overflow: auto;
  flex: 1
}
.side-nav p {
  font-size: 9px;
  letter-spacing: .17em;
  color: #68776e;
  font-weight: 800;
  margin: 18px 12px 8px
}
.side-nav p:first-child {
  margin-top: 0
}
.nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #abb7b0;
  text-decoration: none;
  padding: 10px 12px;
  margin: 3px 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  transition: .18s
}
.nav>span {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.05);
  font-size: 13px
}
.nav:hover {
  color: white;
  background: rgba(255,255,255,.06)
}
.nav.active {
  background: var(--green);
  color: var(--ink);
  box-shadow: 0 8px 25px rgba(38,214,127,.16)
}
.nav.active>span {
  background: rgba(7,17,11,.1)
}
.sidebar-foot {
  margin: 12px 16px 18px;
  padding: 13px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px
}
.sidebar-foot strong {
  font-size: 11px
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(38,214,127,.1)
}
.main {
  margin-left: 270px;
  min-width: 0;
  flex: 1
}
.topbar {
  height: 88px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 30
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px
}
.topbar-left small {
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 3px
}
.topbar-left strong {
  font-size: 14px
}
.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 8px
}
.user-menu {
  position: relative
}
.user-menu summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer
}
.user-menu summary::-webkit-details-marker {
  display: none
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--green);
  display: grid;
  place-items: center;
  font-weight: 800
}
.avatar.large {
  width: 48px;
  height: 48px;
  font-size: 20px;
  margin-bottom: 8px
}
.user-copy strong,.user-copy small {
  display: block
}
.user-copy strong {
  font-size: 12px
}
.user-copy small {
  color: var(--muted);
  font-size: 9px;
  margin-top: 2px
}
.chevron {
  color: var(--muted)
}
.user-popover {
  position: absolute;
  right: 0;
  top: 52px;
  width: 245px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow)
}
.user-popover>div {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px
}
.user-popover>div strong,.user-popover>div small {
  display: block
}
.user-popover>div small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px
}
.user-popover a,.user-popover button {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 10px;
  border: 0;
  background: none;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font: 600 11px Manrope;
  cursor: pointer
}
.user-popover a:hover,.user-popover button:hover {
  background: var(--paper)
}
.user-popover form {
  margin: 0
}
.content {
  padding: 20px;
  max-width: 1580px;
  margin: auto
}
.toast {
  display: flex;
  gap: 10px;
  padding: 12px 15px;
  background: var(--mint);
  border: 1px solid #ace8c8;
  color: #11603a;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600
}
.eyebrow,.label {
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--green-2);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 24px
}
.page-head h1 {
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -.04em;
  margin: 5px 0 0;
  font-weight: 800
}
.page-head>div>p:last-child:not(.eyebrow):not(.label) {
  color: var(--muted);
  font-size: 12px;
  margin: 7px 0 0
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 20px;
  box-shadow: 0 8px 28px rgba(7,17,11,.035)
}
.metric {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  margin: 9px 0 0;
  letter-spacing: -.04em
}
.sub {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0
}
.btn-primary,.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  font: 700 11px Manrope;
  text-decoration: none;
  cursor: pointer
}
.btn-primary {
  background: var(--green);
  border: 1px solid var(--green);
  color: var(--ink)
}
.btn-primary:hover {
  background: #3ee091
}
.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--line)
}
.progress {
  height: 6px;
  border-radius: 99px;
  background: #eaf0ec;
  margin-top: 10px;
  overflow: hidden
}
.progress span {
  display: block;
  height: 100%;
  background: var(--green);
  border-radius: 99px
}
.table-card {
  overflow: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(7,17,11,.035)
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px
}
th,td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #edf1ee
}
th {
  background: #f9fbfa;
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .09em
}
td {
  color: #334039;
  font-size: 11px
}
tbody tr:hover {
  background: #fbfdfc
}
tbody tr:last-child td {
  border-bottom: 0
}

.text-white{color:white !important}

.badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--mint);
  border: 1px solid #bdebd2;
  color: #0c7240;
  font-size: 9px;
  font-weight: 700
}
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden
}
.form-card.compact {
  max-width: 920px
}
.form-section {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding: 26px;
  border-bottom: 1px solid var(--line)
}
.form-section>div:first-child span {
  display: grid;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--mint);
  color: #08753f;
  place-items: center;
  font-size: 9px;
  font-weight: 800
}
.form-section h2 {
  font-size: 14px;
  margin: 9px 0
}
.form-grid {
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px
}
.form-section .form-grid {
  padding: 0
}
.form-grid label,.login-form label {
  font-size: 10px;
  font-weight: 700;
  color: #3c4942
}
.form-grid .wide {
  grid-column: 1/-1
}
.form-grid small {
  display: block;
  color: var(--danger);
  margin-top: 5px
}
.form-grid small:empty {
  display: none
}
.form-actions {
  padding: 18px 26px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
  background: #fafcfb
}
.form-alert {
  margin: 20px 26px 0;
  padding: 11px 13px;
  background: #fff0f0;
  border: 1px solid #f4c8c8;
  color: #a02e2e;
  border-radius: 10px;
  font-size: 11px
}
.check {
  display: flex!important;
  align-items: center;
  gap: 9px
}
.check input {
  width: auto!important
}
input,select,textarea {
  display: block;
  width: 100%;
  background: #fbfcfb!important;
  border: 1px solid #d7e1db!important;
  color: var(--ink)!important;
  border-radius: 9px!important;
  padding: 10px 11px!important;
  outline: none;
  font: 500 11px Manrope;
  margin-top: 6px
}
textarea {
  resize: vertical
}
input:focus,select:focus,textarea:focus {
  background: white!important;
  border-color: var(--green-2)!important;
  box-shadow: 0 0 0 3px rgba(38,214,127,.12)
}
input[type=file] {
  padding: 8px!important
}
.login-body {
  background: var(--ink);
  display: grid;
  place-items: center;
  padding: 28px
}
.login-shell {
  width: min(1040px,100%);
  min-height: 620px;
  background: white;
  border-radius: 25px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  box-shadow: 0 40px 100px rgba(0,0,0,.34)
}
.login-story {
  padding: 46px;
  background: linear-gradient(145deg,#0b2416 0%,#0a150e 62%,#183923 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden
}
.login-story:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  border: 70px solid rgba(38,214,127,.08);
  border-radius: 50%;
  right: -170px;
  bottom: 50px
}
.login-logo {
  position: relative;
  z-index: 1
}
.eyebrow.light {
  color: var(--green)
}
.login-story h1 {
  font-size: 38px;
  line-height: 1.13;
  letter-spacing: -.045em;
  margin: 12px 0 18px;
  max-width: 480px
}
.login-story>div>p:last-child {
  color: #a9b8ae;
  line-height: 1.7;
  font-size: 13px;
  max-width: 440px
}
.trust-row {
  display: flex;
  gap: 16px;
  color: #a9b8ae;
  font-size: 9px;
  font-weight: 700;
  position: relative;
  z-index: 1
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 40px
}
.login-form {
  width: min(340px,100%)
}
.login-form h2 {
  font-size: 30px;
  letter-spacing: -.04em;
  margin: 8px 0
}
.login-form>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 25px
}
.login-form form {
  display: grid;
  gap: 17px
}
.login-button {
  width: 100%;
  justify-content: space-between;
  padding: 12px 14px;
  margin-top: 4px
}
.security-note {
  display: block;
  text-align: center;
  color: #96a099;
  font-size: 9px;
  margin-top: 20px
}
.profile-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px
}
.profile-card {
  text-align: center
}
.profile-avatar {
  width: 82px;
  height: 82px;
  margin: 0 auto 14px;
  border-radius: 24px;
  background: var(--ink);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800
}
.profile-card h2 {
  margin: 0;
  font-size: 18px
}
.profile-card>p {
  color: var(--muted);
  font-size: 11px
}
.profile-list {
  display: grid;
  grid-template-columns: 1fr 1fr
}
.profile-item {
  padding: 17px;
  border-bottom: 1px solid var(--line)
}
.profile-item span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-bottom: 5px
}
.profile-item strong {
  font-size: 12px
}
.quick-actions {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin-top: 18px
}
.sidebar-backdrop {
  display: none
}
.empty-state {
  padding: 36px;
  text-align: center;
  color: var(--muted)
}
.search-bar {
  display: flex;
  gap: 9px;
  background: white;
  border: 1px solid var(--line);
  padding: 10px;
  border-radius: 14px;
  margin-bottom: 14px
}
.search-bar input,.search-bar select {
  margin: 0
}
.search-bar input {
  flex: 1
}
.search-bar select {
  width: 170px
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 11px;
  color: var(--muted)
}
.side-nav {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent
}
.side-nav.is-scrolling {
  scrollbar-color: #506158 transparent
}
.side-nav::-webkit-scrollbar {
  width: 5px
}
.side-nav::-webkit-scrollbar-track {
  background: transparent
}
.side-nav::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 999px
}
.side-nav.is-scrolling::-webkit-scrollbar-thumb {
  background: #506158
}
.side-nav.is-scrolling::-webkit-scrollbar-thumb:hover {
  background: #718078
}
.menu-btn {
  display: block
}
.nav b,.nav-dropdown b {
  font: inherit
}
.nav-dropdown {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  margin: 3px 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #abb7b0;
  font: 600 13px Manrope;
  cursor: pointer;
  text-align: left;
  transition: .18s
}
.nav-dropdown:hover {
  color: white;
  background: rgba(255,255,255,.06)
}
.nav-dropdown-icon {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.05)
}
.nav-dropdown i {
  font-style: normal;
  margin-left: auto;
  transition: transform .2s
}
.nav-group.expanded>.nav-dropdown {
  color: white
}
.nav-group.expanded>.nav-dropdown i {
  transform: rotate(180deg)
}
.nav-submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .22s ease
}
.nav-submenu:before {
  content: "";
  min-height: 0
}
.nav-submenu>.nav {
  display: none;
  margin-left: 12px
}
.nav-group.expanded>.nav-submenu {
  grid-template-rows: 1fr
}
.nav-group.expanded>.nav-submenu:before {
  display: none
}
.nav-group.expanded>.nav-submenu>.nav {
  display: flex
}
.nav.sub {
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 12px
}
.sidebar,.main {
  transition: width .25s,margin-left .25s
}
.sidebar-collapsed .sidebar {
  width: 82px
}
.sidebar-collapsed .main {
  margin-left: 82px
}
.sidebar-collapsed .brand {
  justify-content: center;
  padding-left: 12px;
  padding-right: 12px
}
.sidebar-collapsed .brand-copy,.sidebar-collapsed .nav-label,.sidebar-collapsed .nav b,.sidebar-collapsed .nav-dropdown b,.sidebar-collapsed .nav-dropdown i,.sidebar-collapsed .sidebar-foot div {
  display: none
}
.sidebar-collapsed .nav,.sidebar-collapsed .nav-dropdown {
  justify-content: center;
  padding-left: 8px;
  padding-right: 8px
}
.sidebar-collapsed .nav>span,.sidebar-collapsed .nav-dropdown-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px
}
.sidebar-collapsed .nav-submenu {
  display: none
}
.sidebar-collapsed .sidebar-foot {
  justify-content: center;
  padding: 13px 8px
}
.sidebar-collapsed .brand-mark {
  width: 44px;
  height: 44px
}
.sidebar-collapsed .side-nav {
  padding-left: 12px;
  padding-right: 12px
}

@media(max-width:1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: .25s
  }
  .sidebar.open {
    transform: none
  }
  .main {
    margin-left: 0
  }
  .menu-btn,.sidebar-close {
    display: block
  }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 45
  }
  .sidebar-backdrop.show {
    display: block
  }
}

@media(max-width:700px) {
  .content {
    padding: 22px 16px 45px
  }
  .topbar {
    padding: 0 16px;
    height: 76px
  }
  .user-copy,.chevron,.topbar-left small {
    display: none!important
  }
  .page-head h1 {
    font-size: 25px
  }
  .form-grid {
    grid-template-columns: 1fr;
    padding: 18px
  }
  .form-section {
    grid-template-columns: 1fr;
    padding: 20px
  }
  .form-section .form-grid {
    padding: 0
  }
  .form-grid .wide {
    grid-column: auto
  }
  .profile-grid {
    grid-template-columns: 1fr
  }
  .profile-list {
    grid-template-columns: 1fr
  }
  .login-body {
    padding: 0
  }
  .login-shell {
    min-height: 100vh;
    border-radius: 0;
    display: block
  }
  .login-story {
    min-height: 260px;
    padding: 28px
  }
  .login-story h1 {
    font-size: 28px
  }
  .trust-row {
    display: none
  }
  .login-panel {
    padding: 36px 24px
  }
  .search-bar {
    flex-wrap: wrap
  }
  .search-bar select {
    width: 100%
  }
}
.nav-dropdown i {
  width: 16px;
  height: 16px
}
.nav-dropdown i svg,.chevron svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}
.chevron {
  display: block;
  width: 15px;
  height: 15px
}
.table-actions {
  display: flex;
  align-items: center;
  gap: 6px
}
.table-actions form {
  margin: 0
}
.action-icon {
  width: 31px;
  height: 31px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: #526159;
  cursor: pointer;
  transition: .18s
}
.action-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}
.action-icon.view:hover {
  color: #087642;
  border-color: #99dfba;
  background: #effbf5
}
.action-icon.edit:hover {
  color: #7b5b00;
  border-color: #ead68f;
  background: #fffbed
}
.action-icon.delete:hover {
  color: #b52e2e;
  border-color: #efb1b1;
  background: #fff2f2
}
.action-row {
  display: flex;
  align-items: center;
  gap: 8px
}
.toast.error {
  background: #fff0f0;
  border-color: #f4c8c8;
  color: #a02e2e
}
.toast.warning {
  background: #fff8e7;
  border-color: #eed99f;
  color: #7d5b00
}
/* Standard, readable application typography */

body {
  font-size: 14px;
  line-height: 1.55
}
.brand strong {
  font-size: 14px
}
.brand small,.sidebar-foot small {
  font-size: 12px
}
.sidebar-foot strong {
  font-size: 13px
}
.side-nav p {
  font-size: 11px
}
.nav,.nav-dropdown {
  font-size: 14px
}
.nav.sub {
  font-size: 13px
}
.topbar-left small {
  font-size: 12px
}
.topbar-left strong {
  font-size: 15px
}
.user-copy strong {
  font-size: 13px
}
.user-copy small {
  font-size: 11px
}
.user-popover>div small {
  font-size: 12px
}
.user-popover a,.user-popover button {
  font-size: 13px
}
.toast {
  font-size: 13px
}
.eyebrow,.label {
  font-size: 11px
}
.page-head>div>p:last-child:not(.eyebrow):not(.label) {
  font-size: 14px
}
.sub {
  font-size: 12px
}
.btn-primary,.btn-secondary {
  font-size: 13px
}
.badge {
  font-size: 11px
}
th {
  font-size: 11px
}
td {
  font-size: 13px
}
.form-section h2 {
  font-size: 16px
}
.form-grid label,.login-form label {
  font-size: 13px
}
.form-grid small {
  font-size: 12px
}
input,select,textarea {
  font-size: 13px
}
.form-alert {
  font-size: 13px
}
.profile-card>p {
  font-size: 13px
}
.profile-item span {
  font-size: 11px
}
.profile-item strong {
  font-size: 14px
}
.pagination {
  font-size: 13px
}
.security-note {
  font-size: 11px
}
/* User-preferred large type scale: no readable copy below 16px */

body {
  font-size: 16px
}
.sidebar {
  width: 310px
}
.main {
  margin-left: 310px
}
.brand {
  height: 96px
}
.brand strong,.brand small,.sidebar-foot strong,.sidebar-foot small,.side-nav p,.nav,.nav.sub,.nav-dropdown,.topbar-left small,.topbar-left strong,.user-copy strong,.user-copy small,.user-popover>div small,.user-popover a,.user-popover button,.toast,.eyebrow,.label,.page-head>div>p:last-child:not(.eyebrow):not(.label),.sub,.btn-primary,.btn-secondary,.badge,th,td,.form-section h2,.form-grid label,.login-form label,.form-grid small,input,select,textarea,.form-alert,.profile-card>p,.profile-item span,.profile-item strong,.pagination,.security-note,small {
  font-size: 16px
}
.text-xs,.text-sm,.text-\[9px\],.text-\[10px\],.text-\[11px\],.text-\[12px\] {
  font-size: 16px!important
}
.brand strong {
  max-width: 205px
}
.topbar {
  height: 60px
}
.nav,.nav-dropdown {
  padding-top: 12px;
  padding-bottom: 12px
}
.nav.sub {
  padding-top: 10px;
  padding-bottom: 10px
}
th,td {
  padding: 16px
}
.btn-primary,.btn-secondary {
  padding: 11px 16px
}
.form-grid {
  gap: 20px
}
input,select,textarea {
  padding: 12px 13px!important
}
.user-popover {
  width: 280px
}
.sidebar-collapsed .sidebar {
  width: 82px
}
.sidebar-collapsed .main {
  margin-left: 82px
}

@media(max-width:1024px) {
  .sidebar,.sidebar-collapsed .sidebar {
    width: 310px
  }
  .main,.sidebar-collapsed .main {
    margin-left: 0
  }
}
/* Final balanced type scale */

body {
  font-size: 14px
}
.sidebar {
  width: 290px
}
.main {
  margin-left: 290px
}
.brand strong,.brand small,.sidebar-foot strong,.sidebar-foot small,.side-nav p,.nav,.nav.sub,.nav-dropdown,.topbar-left small,.topbar-left strong,.user-copy strong,.user-copy small,.user-popover>div small,.user-popover a,.user-popover button,.toast,.eyebrow,.label,.page-head>div>p:last-child:not(.eyebrow):not(.label),.sub,.btn-primary,.btn-secondary,.badge,th,td,.form-section h2,.form-grid label,.login-form label,.form-grid small,input,select,textarea,.form-alert,.profile-card>p,.profile-item span,.profile-item strong,.pagination,.security-note,small {
  font-size: 14px
}
.text-xs,.text-sm,.text-\[9px\],.text-\[10px\],.text-\[11px\],.text-\[12px\] {
  font-size: 14px!important
}
.brand strong {
  max-width: 185px
}
.sidebar-collapsed .sidebar {
  width: 82px
}
.sidebar-collapsed .main {
  margin-left: 82px
}

@media(max-width:1024px) {
  .sidebar,.sidebar-collapsed .sidebar {
    width: 290px
  }
  .main,.sidebar-collapsed .main {
    margin-left: 0
  }
}
/* Compact dashboard cards and polished title typography */

.dashboard-page .card {
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(7,17,11,.035)
}
.dashboard-page .grid {
  gap: 12px
}
.dashboard-page .metric {
  font-size: 23px;
  margin-top: 5px;
  line-height: 1.18
}
.dashboard-page .sub {
  margin-top: 3px;
  line-height: 1.35
}
.dashboard-page .label {
  font-family: "Plus Jakarta Sans",Manrope,sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: capitalize;
  color: #526159
}
.dashboard-page .card h2 {
  font-family: "Plus Jakarta Sans",Manrope,sans-serif;
  font-weight: 700
}
.dashboard-page .h-72 {
  height: 16rem
}
.dashboard-page .mt-5 {
  margin-top: 12px
}
.dashboard-page .mt-7 {
  margin-top: 16px
}
.dashboard-page .space-y-6>:not([hidden])~:not([hidden]) {
  margin-top: 14px
}
/* Member table actions: right aligned with clear, persistent action colors */

.member-table {
  background: #fff;
  border-color: var(--line);
}
.member-table th {
  background: #bcdcc5;
  color: #103921;
}
.member-table tbody tr {
  background: #fff;
}
.member-table tbody tr:hover {
  background: #fbfdfc;
}
.member-table td {
  border-bottom-color: #edf1ee;
}
.member-table th:last-child,.member-table td:last-child {
  text-align: right
}
.member-table .table-actions {
  justify-content: flex-end
}
.action-icon.view {
  color: #087642;
  border-color: #a6dfbf;
  background: #effbf5
}
.action-icon.edit {
  color: #9a6100;
  border-color: #f0cf89;
  background: #fff8e7
}
.action-icon.delete {
  color: #b52e2e;
  border-color: #efb1b1;
  background: #fff1f1
}
.action-icon.view:hover {
  color: #056235;
  border-color: #62c88f;
  background: #dff7ea
}
.action-icon.edit:hover {
  color: #774900;
  border-color: #dfa93d;
  background: #ffedbd
}
.action-icon.delete:hover {
  color: #922323;
  border-color: #df7777;
  background: #ffe1e1
}
.member-table th:first-child,.member-table td:first-child {
  width: 76px;
  text-align: center
}
.member-table-avatar {
  display: inline-grid;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  vertical-align: middle;
  border: 2px solid #d9eee3;
  background: #f2faf6
}
.member-table-avatar-fallback {
  place-items: center;
  background: var(--ink);
  color: var(--green);
  font-weight: 800;
  font-family: "Plus Jakarta Sans",Manrope,sans-serif
}
.member-group-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid #b9dac5;
  border-radius: 8px;
  background: #eaf6ee;
  color: #16462d;
  white-space: nowrap;
}
.member-group-pill b {
  font-size: 12px;
}
.member-group-pill small {
  padding-left: 6px;
  border-left: 1px solid #b9dac5;
  color: #557363;
  font-size: 10px;
}
.member-group-empty {
  color: #87938c;
  font-size: 12px;
}
.member-type-pill {
  display: inline-flex;
  padding: 5px 8px;
  border: 1px solid #d5ded8;
  border-radius: 99px;
  background: #f3f6f4;
  color: #536159;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.member-type-pill.presidium {
  border-color: #e5c575;
  background: #fff5d8;
  color: #785403;
}
.member-type-pill.group_leader {
  border-color: #a5d1b5;
  background: #e6f5eb;
  color: #08633c;
}
.member-type-pill.presidium_group_leader {
  border-color: #d5b873;
  background: #eef5df;
  color: #315d25;
}
/* Compact group cards */

.group-list-grid {
  gap: 12px;
}
.group-list-card {
  padding: 14px 15px;
  border-radius: 13px;
}
.group-list-card h3 {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.35;
}
.group-card-description {
  min-height: 32px;
  margin-top: 5px;
  color: #66736c;
  font-size: 12px;
  line-height: 1.45;
}
.group-card-actions {
  margin-top: 11px;
}
/* Coral primary theme */

:root {
  --green: #ff9c6b;
  --green-2: #e8753d;
  --mint: #fff0e8
}
.brand-mark {
  box-shadow: 0 8px 24px rgba(255,156,107,.24)
}
.nav.active {
  box-shadow: 0 8px 25px rgba(255,156,107,.18)
}
.status-dot {
  box-shadow: 0 0 0 5px rgba(255,156,107,.12)
}
.btn-primary:hover {
  background: #ffad85
}
input:focus,select:focus,textarea:focus {
  box-shadow: 0 0 0 3px rgba(255,156,107,.16)
}
.login-story:after {
  border-color: rgba(255,156,107,.09)
}
.toast {
  border-color: #ffd0b8;
  color: #9a431d
}
.badge {
  border-color: #ffcbb1;
  color: #9a431d
}
.form-section>div:first-child span {
  color: #a84920
}
.member-detail-sections {
  display: grid;
  gap: 16px
}
.detail-section {
  padding: 0;
  overflow: hidden
}
.detail-section-head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line)
}
.detail-section-head h2 {
  margin: 4px 0 0;
  font-family: "Plus Jakarta Sans",Manrope,sans-serif;
  font-size: 18px
}
.profile-item.wide-item {
  grid-column: 1/-1
}

@media(max-width:700px) {
  .profile-item.wide-item {
    grid-column: auto
  }
}
/* Bengali application typography */

body,.nav,.nav-dropdown,.btn-primary,.btn-secondary,input,select,textarea,.user-popover a,.user-popover button {
  font-family: "Noto Sans Bengali","Nikosh",sans-serif
}
.dashboard-page .label,.dashboard-page .card h2,.member-table-avatar-fallback,.detail-section-head h2 {
  font-family: "Noto Sans Bengali","Nikosh",sans-serif
}
.eyebrow,.label,th {
  text-transform: none;
  letter-spacing: .02em
}
/* Dark green, white and black dashboard */

.dashboard-page {
  --dash-green: #0b5d3b;
  --dash-green-dark: #063c28;
  --dash-green-soft: #e7f5ed;
  --dash-black: #07100b;
  position: relative
}
.dashboard-hero {
  align-items: center;
  padding: 24px 26px;
  margin-bottom: 16px;
  border-radius: 20px;
  background: linear-gradient(125deg,var(--dash-green-dark),var(--dash-green) 68%,#13744c);
  color: #fff;
  box-shadow: 0 16px 38px rgba(6,60,40,.18);
  overflow: hidden;
  position: relative
}
.dashboard-hero:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 34px solid rgba(255,255,255,.06);
  border-radius: 50%;
  right: 18%;
  top: -92px;
  pointer-events: none
}
.dashboard-hero>div {
  position: relative;
  z-index: 1
}
.dashboard-hero .eyebrow {
  color: #8fe1ba
}
.dashboard-hero h1 {
  letter-spacing: 0
}
.dashboard-hero>div>p:last-child:not(.eyebrow) {
  color: #c6dfd2
}
.dashboard-hero .btn-secondary {
  background: #fff;
  border-color: #fff;
  color: var(--dash-black)
}
.dashboard-hero .btn-primary {
  background: var(--dash-black);
  border-color: var(--dash-black);
  color: #fff
}
.dashboard-hero .btn-primary:hover {
  background: #122119
}
.dashboard-summary-grid {
  align-items: stretch
}
.dashboard-page .summary-card {
  min-height: 138px;
  padding: 18px 19px;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 26px rgba(7,16,11,.08);
  position: relative;
  overflow: hidden;
  transition: transform .2s ease,box-shadow .2s ease
}
.dashboard-page .summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(7,16,11,.13)
}
.summary-card .text-emerald-500,.summary-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800
}
.summary-card-green {
  background: linear-gradient(145deg,#0b5d3b,#08462e);
  color: #fff
}
.summary-card-green .label,.summary-card-green .sub {
  color: #b9dbc9
}
.summary-card-green .summary-icon {
  background: rgba(255,255,255,.12);
  color: #fff
}
.summary-card-green small {
  color: #b9dbc9!important
}
.summary-card-white {
  background: #fff;
  color: var(--dash-black);
  border: 1px solid #dce8e1!important
}
.summary-card-white .text-emerald-500 {
  background: var(--dash-green-soft);
  color: var(--dash-green)!important
}
.summary-card-soft {
  background: linear-gradient(145deg,#edf8f2,#d9efe4);
  color: var(--dash-green-dark)
}
.summary-card-soft .label,.summary-card-soft .sub {
  color: #426c58
}
.summary-card-soft .text-emerald-500 {
  background: var(--dash-green);
  color: #fff!important
}
.summary-card-black {
  background: linear-gradient(145deg,#07100b,#111c16);
  color: #fff
}
.summary-card-black .label {
  color: #70d2a2
}
.summary-card-black .sub {
  color: #9aada3
}
.summary-card-black .summary-icon {
  background: #163928;
  color: #70d2a2
}
.dashboard-page .dashboard-panel {
  border-color: #dbe7e0;
  box-shadow: 0 8px 24px rgba(7,16,11,.055)
}
.dashboard-page .dashboard-panel h2 {
  font-size: 17px
}
.chart-panel {
  border-top: 3px solid var(--dash-green)!important
}
.chart-panel-dark {
  background: var(--dash-black);
  border-color: var(--dash-black)!important;
  color: #fff
}
.chart-panel-dark .label {
  color: #70d2a2
}
.chart-panel-dark .badge {
  background: #153526;
  border-color: #285a42;
  color: #9ce4bf
}
.allocation-panel {
  background: linear-gradient(110deg,#fff 0%,#fff 70%,#f0f8f4 100%)
}
.dashboard-page .progress {
  background: #e1ebe5
}
.dashboard-page .progress span {
  background: linear-gradient(90deg,var(--dash-green-dark),#28a56c)
}
.activity-panel table th {
  background: #f1f7f4;
  color: #486456
}
.meetings-panel {
  background: var(--dash-green-soft)
}
.meetings-panel .label {
  color: var(--dash-green)
}
.meetings-panel .bg-emerald-50 {
  background: #fff!important
}
.meetings-panel .text-emerald-700 {
  color: var(--dash-green)!important
}

@media(max-width:700px) {
  .dashboard-hero {
    padding: 20px;
    border-radius: 16px
  }
  .dashboard-hero .flex.gap-2 {
    width: 100%;
    flex-wrap: wrap
  }
  .dashboard-page .summary-card {
    min-height: 126px
  }
}
/* Sidebar aligned with the dark-green dashboard theme */

.sidebar {
  background: linear-gradient(180deg,#063c28 0%,#082f22 55%,#07150f 100%);
  box-shadow: 12px 0 36px rgba(4,31,21,.12)
}
.brand {
  background: rgba(0,0,0,.12);
  border-bottom-color: rgba(255,255,255,.1)
}
.brand-mark {
  background: #fff;
  color: #063c28;
  box-shadow: 0 8px 22px rgba(0,0,0,.2)
}
.side-nav p {
  color: #79a48e
}
.nav,.nav-dropdown {
  color: #bfd2c8
}
.nav>span,.nav-dropdown-icon {
  background: rgba(255,255,255,.08);
  color: #dcebe3
}
.nav:hover,.nav-dropdown:hover,.nav-group.expanded>.nav-dropdown {
  background: rgba(0,0,0,.18);
  color: #fff
}
.nav.active {
  background: #fff;
  color: #063c28;
  box-shadow: 0 10px 24px rgba(0,0,0,.18)
}
.nav.active>span {
  background: #e5f4ec;
  color: #0b5d3b
}
.sidebar-foot {
  background: rgba(0,0,0,.13);
  border-color: rgba(255,255,255,.1)
}
.sidebar-foot small {
  color: #91ad9e
}
.status-dot {
  background: #64d69e;
  box-shadow: 0 0 0 5px rgba(100,214,158,.13)
}
.side-nav.is-scrolling::-webkit-scrollbar-thumb {
  background: #5c8972
}
.side-nav.is-scrolling {
  scrollbar-color: #5c8972 transparent
}
/* Settings workspace */

.settings-year-filter {
  max-width: 560px
}
.historical-year-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 24px 0;
  padding: 11px 13px;
  border: 1px solid #e6cf91;
  border-radius: 10px;
  background: #fff9e9;
  color: #6f5310;
}
.historical-year-note strong {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: 99px;
  background: #ead38e;
  color: #513b05;
  font-size: 11px;
}
.historical-year-note span {
  font-size: 13px;
}
.settings-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(260px,.7fr);
  gap: 18px;
  align-items: start
}
.settings-form-head {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(100deg,#f8fbf9,#edf7f2)
}
.settings-form-head h2 {
  margin: 3px 0 0;
  font-size: 19px
}
.settings-head-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #0b5d3b;
  color: #fff;
  font-size: 20px;
  font-weight: 800
}
.settings-note-card {
  padding: 22px;
  border-radius: 17px;
  background: linear-gradient(145deg,#07100b,#0b3826);
  color: #fff;
  box-shadow: 0 12px 30px rgba(7,16,11,.14)
}
.settings-note-card h3 {
  font-size: 20px;
  margin: 8px 0
}
.settings-note-card>p:not(.label) {
  color: #b8cdc2;
  line-height: 1.75
}
.settings-note-card>div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.1)
}
.settings-note-card>div span {
  color: #9db7a9
}
.settings-note-card .label {
  color: #6fd6a3
}
.money-input {
  position: relative
}
.collection-amount-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
}
.money-input>span {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-43%);
  font-weight: 800;
  color: #0b5d3b;
  z-index: 1
}
.money-input input {
  padding-left: 31px!important
}
.page-subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 28px 0 12px
}
.page-subhead h2 {
  font-size: 21px;
  margin: 3px 0 0
}
.settings-table th:last-child,.settings-table td:last-child {
  text-align: right
}
.settings-table .action-icon {
  margin-left: auto
}
.yearly-settings-table th:first-child,.yearly-settings-table td:first-child {
  width: 64px;
  text-align: center;
}
.configuration-history-section {
  position: relative;
  margin-top: 30px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #cddfd4;
  border-radius: 18px;
  background: #edf6f0;
  box-shadow: 0 9px 26px rgba(6,60,40,.055);
}
.configuration-history-section::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #0b5d3b;
  content: "";
}
.configuration-history-head {
  margin: 0 0 14px;
  padding: 2px 2px 12px;
  border-bottom: 1px solid #cddfd4;
}
.configuration-history-head .label {
  color: #0b5d3b;
}
.configuration-history-head>span {
  padding: 5px 9px;
  border: 1px solid #bfd9c8;
  border-radius: 99px;
  background: #fff;
  color: #315c45;
  font-size: 11px;
  font-weight: 700;
}
.configuration-history-section .yearly-settings-table {
  border-color: #cbded2;
  background: #fff;
  box-shadow: 0 6px 18px rgba(6,60,40,.045);
}
.yearly-settings-table th:last-child,.yearly-settings-table td:last-child {
  width: 92px;
  text-align: right;
}
.yearly-settings-table td strong,.yearly-settings-table td small {
  display: block;
}
.yearly-settings-table td strong {
  color: #183e2b;
}
.yearly-settings-table td small {
  margin-top: 2px;
  color: #7a8880;
  font-size: 11px;
}
.not-configured {
  color: #a5aea9;
}
.year-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid transparent;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}
.year-status::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.year-status.current {
  border-color: #a9d9bd;
  background: #e8f7ee;
  color: #087642;
}
.year-status.past {
  border-color: #d9dfdb;
  background: #f4f6f5;
  color: #617068;
}
.year-status.closed {
  border-color: #efc4c4;
  background: #fff0f0;
  color: #a53535;
}
.year-status.upcoming {
  border-color: #efcf91;
  background: #fff8e8;
  color: #8a620c;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #3c4942;
  margin-bottom: 8px
}
.member-picker {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 8px;
  max-height: 340px;
  overflow: auto;
  padding: 4px
}
.member-pick-item {
  display: flex!important;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfdfc;
  cursor: pointer
}
.member-pick-item:hover {
  border-color: #7ab99a;
  background: #f0f8f4
}
.member-pick-item input {
  width: 17px!important;
  margin: 0!important;
  accent-color: #0b5d3b
}
.member-pick-item>span:last-child {
  min-width: 0
}
.member-pick-item b,.member-pick-item small {
  display: block
}
.member-pick-item small {
  color: var(--muted);
  margin-top: 2px
}
.member-mini-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
  background: #0b5d3b;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px
}
.roster-card {
  padding: 0;
  overflow: hidden
}
.roster-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 18px;
  background: #e7f5ed;
  border-bottom: 1px solid #cfe6da
}
.roster-head span {
  font-size: 12px;
  color: #47705b
}
.roster-head h3 {
  margin: 2px 0 0;
  font-size: 18px
}
.roster-head>b {
  padding: 5px 9px;
  border-radius: 99px;
  background: #fff;
  color: #0b5d3b
}
.roster-list {
  padding: 5px 14px
}
.roster-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 2px;
  border-bottom: 1px solid #edf1ee
}
.roster-member:last-child {
  border-bottom: 0
}
.roster-member>div {
  min-width: 0;
  flex: 1
}
.roster-member b,.roster-member small {
  display: block
}
.roster-member small {
  color: var(--muted);
  margin-top: 2px
}
.roster-member form {
  margin: 0
}

@media(max-width:900px) {
  .collection-amount-grid {
    grid-template-columns: 1fr
  }
  .settings-layout {
    grid-template-columns: 1fr
  }
  .roster-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .member-picker {
    grid-template-columns: 1fr
  }
  .settings-form-head {
    padding: 17px
  }
  .settings-note-card {
    padding: 18px
  }
}

/* Final dashboard and sidebar refinements */
.sidebar {
  background: #063c28;
  box-shadow: 10px 0 30px rgba(4,31,21,.12)
}
.brand {
  background: #063c28
}
.nav,.nav-dropdown,.nav-group.expanded>.nav-dropdown {
  color: #fff
}
.nav>span,.nav-dropdown-icon {
  color: #fff;
  background: rgba(255,255,255,.09)
}
.nav:hover,.nav-dropdown:hover {
  color: #fff;
  background: rgba(0,0,0,.18)
}
.nav.active {
  color: #fff;
  background: rgba(255,255,255,.17);
  box-shadow: inset 3px 0 0 #fff
}
.nav.active>span {
  color: #fff;
  background: rgba(255,255,255,.14)
}
.dashboard-page .summary-card {
  min-height: 108px;
  padding: 12px 14px;
  border-radius: 12px
}
.dashboard-page .summary-card .metric {
  font-size: 20px;
  margin-top: 2px
}
.dashboard-page .summary-card .sub {
  font-size: 11px;
  margin-top: 1px
}
.summary-card .text-emerald-500,.summary-icon {
  width: 29px;
  height: 29px;
  border-radius: 8px
}
.dashboard-page .chart-panel,.dashboard-page .yearly-chart-panel,.dashboard-page .allocation-panel,.dashboard-page .group-chart-panel,.dashboard-page .activity-panel {
  background: #fff;
  color: var(--ink)
}
.dashboard-page .chart-panel .label,.dashboard-page .yearly-chart-panel .label {
  color: #0b5d3b
}
.dashboard-page .yearly-chart-panel .badge {
  background: #e7f5ed;
  border-color: #c6e6d5;
  color: #0b5d3b
}
.group-chart-wrap {
  height: 196px
}
.activity-panel table,.activity-panel thead,.activity-panel tbody,.activity-panel tr,.activity-panel th,.activity-panel td {
  background: #fff
}
.activity-panel th {
  color: #486456;
  border-top: 1px solid #edf1ee
}
.dashboard-page .meetings-panel {
  background: #fff;
  color: var(--ink)
}
.dashboard-page .panel-header {
  margin: -15px -15px 12px;
  padding: 12px 15px;
  background: #f1f7f4;
  border-bottom: 1px solid #dce9e2;
  border-radius: 13px 13px 0 0
}
.dashboard-page .panel-header h2 {
  margin-top: 2px
}
.dashboard-page .summary-card-head {
  margin: -12px -14px 5px;
  padding: 8px 12px;
  align-items: center;
  background: rgba(6,60,40,.055);
  border-bottom: 1px solid rgba(6,60,40,.08)
}
.dashboard-page .summary-card-green .summary-card-head,.dashboard-page .summary-card-black .summary-card-head {
  background: rgba(255,255,255,.075);
  border-bottom-color: rgba(255,255,255,.09)
}
@media(max-width:700px) {
  .dashboard-page .summary-card {
    min-height: 102px
  }
}

/* Group member management */

.group-members-page {
  --group-green: #0b5d3b;
  --group-green-dark: #063c28;
  --group-green-soft: #edf7f1;
}
.group-members-page-head {
  align-items: flex-end;
}
.group-members-summary {
  display: grid;
  grid-template-columns: repeat(3,minmax(105px,1fr));
  gap: 8px;
}
.group-members-summary>div {
  min-width: 112px;
  padding: 10px 12px;
  border: 1px solid #d9e8df;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(6,60,40,.045);
}
.group-members-summary span,.group-members-summary strong {
  display: block;
}
.group-members-summary span {
  color: #6b7a72;
  font-size: 12px;
}
.group-members-summary strong {
  margin-top: 2px;
  color: var(--group-green-dark);
  font-size: 21px;
  line-height: 1.1;
}
.group-settings-layout {
  grid-template-columns: minmax(0,1.75fr) minmax(270px,.65fr);
}
.group-assign-form {
  border-color: #d8e7de;
  box-shadow: 0 10px 30px rgba(6,60,40,.06);
}
.group-assign-head {
  background: #f0f7f3;
  border-bottom-color: #d8e7de;
}
.group-assign-head .settings-head-icon {
  background: var(--group-green-dark);
}
.group-assign-head .settings-head-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.group-members-alert {
  margin: 18px 24px 0;
}
.group-assignment-fields {
  padding-bottom: 18px;
}
.member-selection-block {
  padding-top: 2px;
}
.member-selector-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}
.member-selector-head .field-label {
  margin-bottom: 0;
}
.member-selector-tools {
  display: flex;
  align-items: center;
  gap: 7px;
}
.member-search-wrap {
  position: relative;
  width: 230px;
}
.member-search-wrap svg {
  position: absolute;
  left: 11px;
  top: 50%;
  z-index: 1;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  fill: none;
  stroke: #6b7a72;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.member-search-wrap input {
  height: 38px;
  padding: 8px 10px 8px 34px!important;
  background: #fff!important;
}
.selector-button {
  height: 38px;
  padding: 0 11px;
  border: 1px solid #b9d6c5;
  border-radius: 9px;
  background: #eaf5ee;
  color: var(--group-green-dark);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.selector-button:hover {
  background: #dceee3;
}
.selector-button.muted {
  border-color: #d9e1dc;
  background: #fff;
  color: #657169;
}
.group-members-page .member-picker {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  max-height: 364px;
  padding: 3px 5px 3px 3px;
}
.group-members-page .member-pick-item {
  position: relative;
  min-height: 58px;
  padding: 9px 10px;
  border-color: #dce8e1;
  background: #fff;
  transition: border-color .18s,background .18s,box-shadow .18s;
}
.group-members-page .member-pick-item:hover {
  border-color: #89b99d;
  background: #f4faf6;
  box-shadow: 0 4px 12px rgba(6,60,40,.055);
}
.group-members-page .member-pick-item:has(input:checked) {
  border-color: var(--group-green);
  background: #e8f5ed;
  box-shadow: inset 0 0 0 1px var(--group-green);
}
.group-members-page .member-mini-avatar {
  border-radius: 50%;
  background: var(--group-green-dark);
}
.member-pick-copy {
  min-width: 0;
  flex: 1;
}
.member-pick-copy b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.assignment-state {
  padding: 3px 6px;
  border: 1px solid #c5ded0;
  border-radius: 99px;
  background: #eff8f3;
  color: var(--group-green);
  font-size: 10px;
  font-weight: 700;
}
.group-assign-actions {
  align-items: center;
  justify-content: space-between;
  background: #f7faf8;
}
.group-assign-actions>span {
  color: #66746c;
  font-size: 13px;
}
.group-assign-actions>span strong {
  color: var(--group-green-dark);
  font-size: 18px;
}
.group-members-guide {
  position: sticky;
  top: 86px;
  overflow: hidden;
  background: var(--group-green-dark);
  box-shadow: 0 14px 34px rgba(6,60,40,.17);
}
.group-members-guide::after {
  position: absolute;
  right: -42px;
  top: -46px;
  width: 130px;
  height: 130px;
  border: 24px solid rgba(255,255,255,.045);
  border-radius: 50%;
  content: "";
}
.group-members-guide .guide-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-family: Georgia,serif;
  font-size: 18px;
  font-weight: 700;
}
.group-members-guide h3 {
  max-width: 250px;
  font-size: 19px;
  line-height: 1.45;
}
.group-members-guide ol {
  padding: 8px 0 0;
  margin: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,.12);
  list-style: none;
}
.group-members-guide li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0;
}
.group-members-guide li>span {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: #ff9c6b;
  color: #17241d;
  font-size: 12px;
  font-weight: 800;
}
.group-members-guide li b,.group-members-guide li small {
  display: block;
}
.group-members-guide li b {
  color: #fff;
  font-size: 13px;
}
.group-members-guide li small {
  margin-top: 1px;
  color: #a9c2b5;
  font-size: 11px;
}
.roster-section-head {
  padding-bottom: 10px;
  border-bottom: 1px solid #dbe8e0;
}
.roster-section-head>span {
  padding: 6px 10px;
  border-radius: 99px;
  background: #e7f4ec;
  color: var(--group-green-dark);
  font-size: 12px;
  font-weight: 700;
}
.group-roster-grid {
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.smart-roster-card {
  border-color: #d8e7de;
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(6,60,40,.045);
}
.smart-roster-card .roster-head {
  padding: 13px 15px;
  background: #e1f0e6;
  border-bottom-color: #c9dfd1;
  box-shadow: inset 4px 0 0 var(--group-green);
}
.smart-roster-card .roster-head h3 {
  font-size: 16px;
}
.smart-roster-card .roster-head>b {
  border: 1px solid #c5ddce;
  font-size: 11px;
}
.smart-roster-card .roster-list {
  max-height: 305px;
  overflow: auto;
  padding: 4px 12px;
}
.smart-roster-card .roster-member {
  padding: 9px 1px;
}
.smart-roster-card .member-mini-avatar {
  width: 31px;
  height: 31px;
  flex-basis: 31px;
  font-size: 12px;
}
.smart-roster-card .action-icon {
  width: 28px;
  height: 28px;
}
.roster-empty-state {
  min-height: 90px;
  display: grid;
  place-items: center;
}

@media(max-width:1100px) {
  .group-members-page-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .group-members-summary {
    width: 100%;
  }
  .group-roster-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px) {
  .group-members-summary {
    grid-template-columns: repeat(3,1fr);
  }
  .group-members-summary>div {
    min-width: 0;
  }
  .member-selector-head {
    align-items: stretch;
    flex-direction: column;
  }
  .member-selector-tools {
    flex-wrap: wrap;
  }
  .member-search-wrap {
    width: 100%;
  }
  .group-members-page .member-picker,.group-roster-grid {
    grid-template-columns: 1fr;
  }
  .group-members-guide {
    position: static;
  }
}
@media(max-width:520px) {
  .group-members-summary {
    grid-template-columns: 1fr;
  }
  .group-members-summary>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .group-members-summary strong {
    margin-top: 0;
  }
  .group-assign-actions {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Smart member profile */

.member-profile-page {
  --profile-green: #0b5d3b;
  --profile-dark: #063c28;
  --profile-soft: #edf7f1;
}
.member-profile-head {
  align-items: flex-end;
}
.member-profile-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.member-profile-layout {
  display: grid;
  grid-template-columns: 300px minmax(0,1fr);
  gap: 16px;
  align-items: start;
}
.member-identity-card {
  position: sticky;
  top: 84px;
  padding: 0;
  overflow: hidden;
  border-color: #d4e4da;
  box-shadow: 0 10px 30px rgba(6,60,40,.07);
}
.member-identity-cover {
  height: 104px;
  padding: 16px;
  background: var(--profile-dark);
  text-align: right;
}
.member-identity-cover span {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 99px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.member-identity-body {
  padding: 0 20px 20px;
  text-align: center;
}
.member-profile-avatar {
  display: grid;
  width: 96px;
  height: 96px;
  margin: -48px auto 12px;
  place-items: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: #dceee3;
  box-shadow: 0 7px 20px rgba(6,60,40,.14);
  object-fit: cover;
}
.member-profile-avatar-fallback {
  background: #ff9c6b;
  color: #17251e;
  font-size: 34px;
  font-weight: 800;
}
.member-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border: 1px solid #a9d9bd;
  border-radius: 99px;
  background: #e9f7ee;
  color: #087642;
  font-size: 11px;
  font-weight: 700;
}
.member-status-pill::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.member-identity-body h2 {
  margin: 9px 0 2px;
  color: #132b1e;
  font-size: 20px;
  line-height: 1.35;
}
.member-identity-body>p {
  margin: 0;
  color: #718078;
  font-size: 13px;
}
.identity-meta-list {
  margin-top: 18px;
  padding-top: 6px;
  border-top: 1px solid #e5ece8;
  text-align: left;
}
.identity-meta-list>div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1ee;
}
.identity-meta-list>div:last-child {
  border-bottom: 0;
}
.identity-meta-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border-radius: 9px;
  background: var(--profile-soft);
  color: var(--profile-green);
}
.identity-meta-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.identity-meta-list>div>span:last-child {
  min-width: 0;
}
.identity-meta-list small,.identity-meta-list strong {
  display: block;
}
.identity-meta-list small {
  margin-bottom: 2px;
  color: #849089;
  font-size: 10px;
}
.identity-meta-list strong {
  overflow-wrap: anywhere;
  color: #273d31;
  font-size: 12px;
}
.member-information-area {
  display: grid;
  min-width: 0;
  gap: 14px;
}
.member-overview-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 10px;
}
.member-overview-card {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d8e7de;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(6,60,40,.04);
}
.member-overview-card span,.member-overview-card strong {
  display: block;
}
.member-overview-card span {
  color: #78867e;
  font-size: 10px;
}
.member-overview-card strong {
  overflow: hidden;
  margin-top: 3px;
  color: var(--profile-dark);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.member-info-section {
  padding: 0;
  overflow: hidden;
  border-color: #d8e7de;
  border-radius: 14px;
  box-shadow: 0 7px 24px rgba(6,60,40,.045);
}
.member-info-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border-bottom: 1px solid #dce9e1;
  background: #f1f7f4;
}
.member-info-head h2 {
  margin: 2px 0 0;
  color: #183426;
  font-size: 16px;
}
.member-info-head .label {
  color: var(--profile-green);
  font-size: 10px;
}
.member-info-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 10px;
  background: var(--profile-green);
  color: #fff;
}
.member-info-icon.coral {
  background: #ff9c6b;
  color: #223028;
}
.member-info-icon.dark {
  background: #26352d;
}
.member-info-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.member-info-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.member-info-grid>div {
  min-width: 0;
  padding: 13px 16px;
  border-right: 1px solid #edf1ee;
  border-bottom: 1px solid #edf1ee;
}
.member-info-grid>div:nth-child(even) {
  border-right: 0;
}
.member-info-grid>div.wide {
  grid-column: 1/-1;
  border-right: 0;
}
.member-info-grid>div:nth-last-child(-n+2):not(.wide),.member-info-grid>div:last-child {
  border-bottom: 0;
}
.member-info-grid span,.member-info-grid strong {
  display: block;
}
.member-info-grid span {
  margin-bottom: 4px;
  color: #7b8881;
  font-size: 10px;
}
.member-info-grid strong {
  color: #283d32;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.member-note-section {
  padding: 16px;
  border-color: #ead7c9;
  background: #fff9f5;
}
.member-note-section .label {
  color: #a74e28;
}
.member-note-section>p:last-child {
  margin: 7px 0 0;
  color: #594c45;
  line-height: 1.7;
}

@media(max-width:1050px) {
  .member-profile-layout {
    grid-template-columns: 260px minmax(0,1fr);
  }
  .member-overview-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}
@media(max-width:800px) {
  .member-profile-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .member-profile-layout {
    grid-template-columns: 1fr;
  }
  .member-identity-card {
    position: static;
  }
}
@media(max-width:560px) {
  .member-profile-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
  .member-profile-actions a {
    justify-content: center;
    text-align: center;
  }
  .member-overview-grid,.member-info-grid {
    grid-template-columns: 1fr;
  }
  .member-info-grid>div,.member-info-grid>div:nth-child(even) {
    border-right: 0;
    border-bottom: 1px solid #edf1ee;
  }
  .member-info-grid>div:last-child {
    border-bottom: 0;
  }
}

/* Leadership workspace */

.leadership-filter {
  grid-template-columns: minmax(240px,1.4fr) minmax(170px,.7fr) minmax(150px,.6fr) auto;
}
.leadership-table th:first-child,.leadership-table td:first-child {
  width: 62px;
  text-align: center;
}
.leadership-table th:last-child,.leadership-table td:last-child {
  width: 128px;
  text-align: right;
}
.leadership-table .table-actions {
  justify-content: flex-end;
}
.leadership-member {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #263c30;
}
.leadership-member>span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 50%;
  background: #063c28;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.leadership-member b,.leadership-member small,.table-subtext {
  display: block;
}
.leadership-member small,.table-subtext {
  margin-top: 2px;
  color: #7a8880;
  font-size: 11px;
}
.position-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #b9d8c5;
  border-radius: 99px;
  background: #eaf6ee;
  color: #0b6840;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.position-pill.presidium {
  border-color: #e7c57d;
  background: #fff6de;
  color: #805b08;
}
.position-pill.group_leader {
  border-color: #9fcab0;
  background: #e5f4eb;
  color: #075d38;
}
.position-pill.presidium_group_leader {
  border-color: #d5b873;
  background: #eef5df;
  color: #315d25;
}
.position-pill.general {
  border-color: #d5ded8;
  background: #f3f6f4;
  color: #5b6861;
}
.leadership-form-alert {
  margin: 18px 26px 0;
}
.leadership-active-check {
  align-self: end;
  min-height: 45px;
  padding: 11px 13px;
  border: 1px solid #d7e1db;
  border-radius: 10px;
  background: #f7faf8;
}
.leadership-form .required-group>select {
  border-color: #8bbb9d!important;
  background: #f2faf5!important;
}
.leadership-detail-grid {
  display: grid;
  grid-template-columns: 280px minmax(0,1fr);
  gap: 16px;
  align-items: start;
}
.leadership-person-card {
  position: relative;
  overflow: hidden;
  padding: 27px 20px 20px;
  border-color: #d5e4db;
  text-align: center;
  box-shadow: 0 9px 28px rgba(6,60,40,.06);
}
.leadership-person-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: #063c28;
  content: "";
}
.leadership-crown {
  display: block;
  margin-bottom: 12px;
  color: #d3a526;
  font-size: 30px;
  line-height: 1;
}
.leadership-person-card .member-mini-avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 11px;
  border: 4px solid #e0eee5;
  border-radius: 50%;
  font-size: 21px;
}
.leadership-person-card h2 {
  margin: 0;
  font-size: 19px;
}
.leadership-person-card>p {
  margin: 3px 0 10px;
  color: #77847d;
}
.leadership-person-card>.btn-secondary {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

@media(max-width:900px) {
  .leadership-filter {
    grid-template-columns: 1fr 1fr;
  }
  .leadership-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width:560px) {
  .leadership-filter {
    grid-template-columns: 1fr;
  }
}

/* Member form required fields and image preview */

.required-fields-note {
  padding: 11px 26px;
  border-bottom: 1px solid #eadfd7;
  background: #fff9f5;
  color: #725b4f;
  font-size: 12px;
}
.required-fields-note span,.required-mark {
  color: #c73b32;
  font-weight: 800;
}
.member-photo-label {
  display: block;
  margin-bottom: 8px;
}
.member-photo-editor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px;
  border: 1px solid #d8e5dd;
  border-radius: 12px;
  background: #f7faf8;
}
.member-photo-preview {
  display: grid;
  width: 86px;
  height: 86px;
  flex: 0 0 86px;
  overflow: hidden;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #0b5d3b;
  box-shadow: 0 5px 16px rgba(6,60,40,.15);
}
.member-photo-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-photo-preview>span {
  color: #fff;
  font-size: 27px;
  font-weight: 800;
}
.member-photo-preview [hidden] {
  display: none;
}
.member-photo-controls {
  min-width: 0;
  flex: 1;
}
.member-photo-controls input {
  background: #fff!important;
}
.member-photo-controls small {
  margin-top: 7px;
  color: #748179;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
}

@media(max-width:560px) {
  .member-photo-editor {
    align-items: flex-start;
    flex-direction: column;
  }
  .member-photo-controls {
    width: 100%;
  }
}
