:root {
  --brand:#c92d52;
  --brand-hover:#a91f41;
  --mint:#0f766e;
  --ink:#243244;
  --muted:#697586;
  --line:#e8e9ef;
  --paper:#fff;
  --canvas:#f7f8fc;
  --rose:#fff0f3;
  --bs-primary:#c92d52;
  --bs-primary-rgb:201,45,82;
  --bs-success:#0f766e;
  --bs-success-rgb:15,118,110;
  --bs-link-color:#a91f41;
  --bs-link-hover-color:#861932;
  --bs-body-color:#243244;
  --bs-body-font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --bs-border-color:#e8e9ef;
  --bs-border-radius:.8rem
}

* {
  box-sizing:border-box
}

body {
  margin:0;
  background:var(--canvas);
  font-size:15px;
  line-height:1.65;
  color:var(--ink)
}

a {
  text-decoration:none
}

a:hover {
  text-decoration:none
}

button,input,select,textarea {
  font:inherit
}

h1,h2,h3,h4,h5,h6 {
  font-weight:750;
  letter-spacing:-.025em;
  line-height:1.4
}

h1,h2 {
  font-size:1.65rem
}

h3 {
  font-size:1.25rem
}

h4 {
  font-size:1.15rem
}

h5 {
  font-size:1.05rem
}

p {
  overflow-wrap:anywhere
}

.skip-link {
  position:fixed;
  top:-100px;
  left:16px;
  z-index:2000;
  background:white;
  padding:12px
}

.skip-link:focus {
  top:8px
}

:focus-visible {
  outline:3px solid #0f766e;
  outline-offset:3px
}

.app-header {
  height:80px;
  background:#fff;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 32px;
  position:sticky;
  top:0;
  z-index:1020;
  gap:16px
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:19px;
  font-weight:800;
  color:var(--ink);
  flex-shrink:0
}

.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--brand);
  color:#fff;
  width:42px;
  height:42px;
  border-radius:14px;
  letter-spacing:-4px;
  padding-right:5px;
  font-size:23px
}

.brand-mark span {
  color:#ffd3dc
}

.brand small {
  display:block;
  font-size:10px;
  letter-spacing:.12em;
  color:var(--muted);
  font-weight:500
}

.header-context {
  font-size:13px;
  color:var(--muted);
  display:flex;
  gap:8px;
  align-items:center;
  margin-right:auto;
  margin-left:70px
}

.context-dot {
  height:7px;
  width:7px;
  border-radius:50%;
  background:var(--mint)
}

.profile-button {
  display:flex;
  align-items:center;
  gap:10px;
  border:0;
  background:transparent;
  color:var(--ink);
  min-height:44px;
  padding:4px 8px
}

.avatar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#e4f5f0;
  color:var(--mint);
  width:38px;
  height:38px;
  border-radius:13px;
  font-weight:750;
  flex-shrink:0
}

.profile-name {
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap
}

.profile-button>.bi {
  font-size:22px
}

.desktop-sidebar {
  position:fixed;
  top:80px;
  bottom:0;
  left:0;
  width:224px;
  padding:28px 18px 20px;
  border-right:1px solid var(--line);
  background:#fff;
  display:flex;
  flex-direction:column;
  overflow-y:auto
}

.nav-caption {
  text-transform:uppercase;
  font-size:11px;
  letter-spacing:.12em;
  color:var(--muted);
  padding:0 14px 12px
}

.side-link {
  display:flex;
  align-items:center;
  gap:12px;
  color:#637084;
  font-weight:550;
  padding:13px 14px;
  margin-bottom:5px;
  border-radius:12px;
  min-height:48px
}

.side-link>.bi {
  font-size:19px
}

.side-link:hover {
  background:#f6f7fa;
  color:var(--ink)
}

.side-link.active {
  background:var(--rose);
  color:var(--brand)
}

.nav-arrow {
  margin-left:auto;
  font-size:11px!important;
  opacity:0
}

.side-link.active .nav-arrow {
  opacity:1
}

.sidebar-note {
  margin-top:auto;
  padding:24px 14px 18px;
  color:var(--muted);
  font-size:11px
}

.sidebar-note strong {
  display:block;
  color:var(--ink);
  font-size:14px;
  margin:6px 0
}

.note-spark {
  font-size:30px;
  color:var(--brand)
}

.sidebar-note p {
  margin:0
}

.logout-form {
  margin:8px 0 0
}

.app-content {
  max-width:1600px;
  margin:0 auto 0 224px;
  padding:24px 36px 10px;
  min-width:0
}

.page-context {
  display:flex;
  gap:12px;
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px
}

.page-context a {
  color:var(--muted)
}

main {
  min-height:65vh;
  outline:none
}

main>.container,main>.container-fluid {
  padding:0;
  max-width:none
}

main>.row {
  --bs-gutter-y:1.25rem
}

.app-footer {
  margin-top:42px;
  padding:20px 0;
  font-size:11px;
  color:#6c7889;
  text-align:center
}

.app-footer span {
  margin:0 8px
}

.mobile-nav {
  display:none
}

.drawer-profile {
  display:flex;
  align-items:center;
  gap:12px;
  background:#f7f8fc;
  padding:18px;
  border-radius:16px;
  margin-bottom:20px
}

.drawer-profile small {
  display:block;
  color:var(--muted)
}

.navigation-drawer {
  --bs-offcanvas-width:330px
}

.card {
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 4px 18px #26334d04;
  overflow:hidden
}

.card-header {
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:18px 22px;
  font-weight:650
}

.card-header h4,.card-header h5,.card-header h6 {
  margin-bottom:0
}

.card-body {
  padding:24px
}

.card-footer {
  padding:16px 22px;
  background:#fff;
  border-top:1px solid var(--line)
}

.shadow-sm {
  box-shadow:0 4px 18px #26334d06!important
}

.card.border-primary {
  border-color:#efd2dc!important
}

.card-header.bg-primary {
  background:#fff1f4!important;
  color:var(--brand)!important
}

.card-header.bg-success {
  background:#edf8f5!important;
  color:var(--mint)!important
}

.btn {
  min-height:44px;
  border-radius:11px;
  font-size:14px;
  padding:10px 17px;
  font-weight:650;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  line-height:1.45;
  white-space:normal;
  transition:background .15s,box-shadow .15s
}

.btn-primary {
  --bs-btn-bg:var(--brand);
  --bs-btn-border-color:var(--brand);
  --bs-btn-hover-bg:var(--brand-hover);
  --bs-btn-hover-border-color:var(--brand-hover);
  --bs-btn-active-bg:var(--brand-hover);
  --bs-btn-active-border-color:var(--brand-hover);
  --bs-btn-disabled-bg:var(--brand)
}

.btn-outline-primary {
  --bs-btn-color:var(--brand);
  --bs-btn-border-color:#e6b9c5;
  --bs-btn-hover-bg:var(--brand);
  --bs-btn-hover-border-color:var(--brand);
  --bs-btn-active-bg:var(--brand);
  --bs-btn-active-border-color:var(--brand)
}

.btn-success {
  --bs-btn-bg:var(--mint);
  --bs-btn-border-color:var(--mint);
  --bs-btn-hover-bg:#095c56;
  --bs-btn-hover-border-color:#095c56;
  --bs-btn-active-bg:#095c56
}

.btn-light {
  background:#f5f6fa;
  border-color:var(--line)
}

.btn-info {
  background:#eaf7f5;
  color:#0f665e;
  border-color:#d3eae5
}

.btn-warning {
  background:#fff3dc;
  color:#775215;
  border-color:#f2dfb7
}

.btn-sm {
  min-height:38px;
  padding:8px 12px;
  font-size:13px
}

.btn-group {
  gap:6px;
  flex-wrap:wrap
}

.btn-group>.btn {
  border-radius:9px!important;
  margin-left:0!important
}

.btn-group form {
  margin:0
}

.btn-close {
  min-width:44px;
  min-height:44px;
  background-size:13px;
  padding:0;
  flex-shrink:0
}

.text-primary {
  color:var(--brand)!important
}

.text-success {
  color:var(--mint)!important
}

.badge {
  font-size:11px;
  line-height:1.5;
  white-space:normal;
  border-radius:7px;
  padding:5px 9px;
  font-weight:650
}

.badge.bg-primary {
  background:#fff0f3!important;
  color:#a91f41
}

.badge.bg-success {
  background:#e5f6ee!important;
  color:#116048
}

.badge.bg-info {
  background:#e8f4fc!important;
  color:#225d80
}

.badge.bg-warning {
  background:#fff3d7!important;
  color:#795411
}

.badge.bg-danger {
  background:#ffebed!important;
  color:#b12343
}

.badge.bg-secondary {
  background:#edf0f5!important;
  color:#536176
}

.alert {
  border:0;
  border-radius:12px;
  padding:16px 18px
}

.alert-info {
  background:#edf6fb;
  color:#285d78
}

.alert-success {
  background:#e7f5ef;
  color:#185e47
}

.alert-danger {
  background:#ffedf0;
  color:#a2213e
}

.alert-warning {
  background:#fff5dd;
  color:#78531b
}

.alert-dismissible {
  padding-right:3.5rem
}

.form-control,.form-select {
  min-height:46px;
  border-radius:10px;
  border-color:#dce0e8;
  font-size:15px;
  background-color:#fff;
  line-height:1.6;
  padding:10px 13px
}

.form-control:focus,.form-select:focus {
  border-color:var(--brand);
  box-shadow:0 0 0 3px #c92d5215
}

.form-control:disabled,.form-control[readonly] {
  background:#f7f8fa
}

.form-label,.control-label {
  font-size:13px;
  font-weight:650;
  margin-bottom:7px
}

.form-check {
  min-height:32px
}

.form-check-input {
  width:1.15em;
  height:1.15em;
  margin-top:.25em
}

.form-check-input:checked {
  background-color:var(--brand);
  border-color:var(--brand)
}

.input-group {
  min-width:0
}

.input-group>.form-control {
  min-width:0
}

.field-validation-error,.validation-summary-errors {
  font-size:13px;
  color:#b51e40
}

.input-validation-error {
  border-color:#c92d52!important
}

.text-prewrap,.text-pre-wrap {
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.job-content,.rich-content {
  overflow-wrap:anywhere
}

.job-content img,.rich-content img,main img {
  max-width:100%;
  height:auto
}

.job-content pre,main pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

main .row>* {
  min-width:0
}

main td,main dd {
  overflow-wrap:anywhere
}

.table {
  font-size:14px;
  --bs-table-bg:transparent;
  --bs-table-border-color:var(--line);
  margin-bottom:0
}

.table>:not(caption)>*>* {
  padding:15px 16px;
  vertical-align:middle
}

.table thead th {
  background:#f8f9fc;
  color:#677386;
  font-size:12px;
  font-weight:650;
  white-space:nowrap;
  border-bottom-width:1px
}

.table-bordered>:not(caption)>* {
  border-width:0 0 1px
}

.table-bordered>:not(caption)>*>* {
  border-width:0
}

.table-responsive {
  border:1px solid var(--line);
  border-radius:14px;
  background:#fff
}

.table tbody tr:hover {
  background:#fcf9fb
}

.nav-tabs {
  border:0;
  gap:6px
}

.nav-tabs .nav-link {
  border:0;
  border-radius:10px;
  color:var(--muted);
  padding:11px 15px;
  font-weight:600
}

.nav-tabs .nav-link.active {
  background:var(--rose);
  color:var(--brand)
}

.pagination {
  gap:5px;
  flex-wrap:wrap
}

.page-link {
  border-radius:9px!important;
  min-width:40px;
  min-height:40px;
  text-align:center;
  color:var(--muted);
  border-color:var(--line);
  display:flex;
  align-items:center;
  justify-content:center
}

.active>.page-link {
  background:var(--brand);
  border-color:var(--brand)
}

.mobile-pagination {
  display:none
}

.modal-content {
  border:0;
  border-radius:20px
}

.modal-header,.modal-footer {
  padding:18px 24px
}

.modal-body {
  padding:22px 24px
}

.modal-title {
  font-size:18px
}

.modal-open .mobile-nav {
  visibility:hidden
}

.filter-bar {
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:16px;
  margin-left:0;
  margin-right:0;
  align-items:end;
  --bs-gutter-y:12px
}

.filter-bar>.filter-field {
  padding-left:6px;
  padding-right:6px
}

.filter-toggle {
  display:none
}

.filter-active {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:10px 0 18px;
  font-size:12px
}

.filter-chip {
  background:#fff0f3;
  color:#972241;
  padding:5px 10px;
  border-radius:20px
}

.filter-clear {
  padding:5px 8px;
  text-decoration:underline
}

.filter-panel {
  display:contents
}

.filter-panel .offcanvas-header,.filter-panel .filter-apply {
  display:none
}

.actions-more {
  position:relative
}

.actions-more>summary {
  list-style:none
}

.actions-more>summary::-webkit-details-marker {
  display:none
}

.actions-more[open]>.secondary-actions {
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:8px
}

.secondary-actions {
  display:none
}

.form-section-title {
  margin:24px 0 16px;
  border-top:1px solid var(--line);
  padding-top:20px;
  color:var(--mint);
  font-size:14px
}

.guest .app-content {
  margin:0 auto;
  max-width:1200px;
  padding:48px 24px 0
}

.guest {
  background:radial-gradient(ellipse at 5% 15%,#ffeaf0,transparent 48%),radial-gradient(ellipse at 90% 90%,#e8f5ef,transparent 45%),#fcfafb
}

.guest .card {
  box-shadow:0 18px 60px #4022350b;
  border-color:#f0e8ed
}

.guest .card-header {
  padding:28px 24px;
  background:transparent;
  border:0;
  text-align:center
}

.guest .card-body {
  padding:12px 32px 32px
}

.guest .btn-group {
  width:100%;
  display:flex;
  gap:8px
}

.guest .btn-group>.btn {
  flex:1;
  display:flex;
  flex-direction:column;
  padding:12px 6px;
  gap:5px;
  font-size:12px
}

.guest .btn-group>.btn i {
  font-size:20px
}

.guest .card-footer {
  background:#fcfafb;
  text-align:center
}

.guest h2,.guest h3 {
  font-size:24px
}

.guest .app-footer {
  margin-top:20px
}

.toast {
  border-radius:12px;
  background:#fff
}

.page-action-bar {
  position:sticky;
  bottom:16px;
  background:#ffffffed;
  padding:12px;
  border:1px solid var(--line);
  border-radius:14px;
  display:flex;
  gap:8px;
  z-index:1010;
  margin-top:20px
}

.details-collapsible {
  margin-bottom:20px
}

.details-collapsible summary {
  font-weight:700;
  padding:12px 0;
  cursor:pointer
}

@media(min-width:768px) {
  .actions-more {
    display:contents
  }
  .actions-more>summary {
    display:none!important
  }
  .actions-more>.secondary-actions {
    display:contents!important
  }
}

@media(max-width:991.98px) {
  .desktop-sidebar {
    display:none
  }
  .app-content {
    margin-left:0;
    padding:24px
  }
  .header-context {
    margin-left:16px
  }
  .app-header {
    padding:0 24px;
    height:72px
  }
}

@media(max-width:767.98px) {
  body {
    font-size:14px
  }
  .app-header {
    height:66px;
    padding:0 16px;
    gap:8px
  }
  .brand {
    font-size:16px;
    gap:9px
  }
  .brand-mark {
    width:36px;
    height:36px;
    border-radius:11px;
    font-size:20px
  }
  .brand small {
    font-size:9px
  }
  .header-context,.profile-name {
    display:none
  }
  .profile-button {
    padding:0;
    gap:8px
  }
  .profile-button .avatar {
    width:32px;
    height:32px;
    font-size:13px
  }
  .app-content {
    padding:18px 16px calc(90px + env(safe-area-inset-bottom))
  }
  .page-context {
    margin-bottom:16px;
    font-size:11px
  }
  .mobile-nav {
    display:flex;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:1030;
    background:#fffffffa;
    border-top:1px solid #ede7ec;
    padding:7px 8px calc(7px + env(safe-area-inset-bottom));
    box-shadow:0 -5px 22px #28253505
  }
  .mobile-nav-item {
    display:flex;
    flex:1;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:2px;
    background:none;
    border:0;
    color:#6c788b;
    font-size:10px;
    min-height:48px;
    border-radius:12px
  }
  .mobile-nav-item .bi {
    font-size:20px;
    line-height:1.4
  }
  .mobile-nav-item.active {
    color:var(--brand);
    background:#fff0f3
  }
  .mobile-nav-item.active .bi {
    font-weight:700
  }
  .keyboard-open .mobile-nav {
    display:none
  }
  .keyboard-open .page-action-bar {
    position:static
  }
  .offcanvas {
    max-width:100vw
  }
  .offcanvas-bottom {
    height:auto;
    max-height:85dvh;
    border-radius:22px 22px 0 0
  }
  .offcanvas-header {
    padding:18px 20px
  }
  .offcanvas-body {
    padding:10px 20px 24px
  }
  .card {
    border-radius:15px
  }
  .card-body {
    padding:18px
  }
  .card-header,.card-footer {
    padding:15px 18px
  }
  .card-header h4 {
    font-size:17px
  }
  h1,h2 {
    font-size:23px
  }
  h3 {
    font-size:19px
  }
  .mb-4 {
    margin-bottom:20px!important
  }
  .btn,.btn-sm {
    min-height:44px;
    padding:10px 13px;
    font-size:13px
  }
  .btn-group {
    gap:8px
  }
  .form-control,.form-select {
    font-size:16px;
    min-height:48px
  }
  .form-label,.control-label {
    font-size:13px
  }
  textarea.form-control {
    min-height:110px
  }
  .input-group>.btn {
    padding-left:10px;
    padding-right:10px
  }
  .nav-tabs {
    display:flex;
    flex-wrap:wrap;
    gap:4px
  }
  .nav-tabs .nav-link {
    padding:10px;
    font-size:12px
  }
  .table-responsive:has(.records-table) {
    border:0;
    background:transparent;
    overflow:visible
  }
  .records-table,.records-table tbody {
    display:block;
    width:100%
  }
  .records-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%)
  }
  .records-table tbody tr {
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    background:#fff;
    border:1px solid var(--line);
    border-radius:15px;
    margin-bottom:14px;
    padding:14px 16px
  }
  .records-table tbody td {
    display:grid;
    grid-template-columns:80px minmax(0,1fr);
    gap:10px;
    border:0;
    padding:7px 0;
    text-align:left!important;
    min-width:0;
    font-size:13px;
    overflow-wrap:anywhere
  }
  .records-table tbody td::before {
    content:attr(data-label);
    color:var(--muted);
    font-size:12px;
    align-self:start;
    line-height:1.8
  }
  .records-table tbody td:first-child {
    font-weight:750;
    color:var(--ink);
    font-size:15px
  }
  .records-table tbody td.cell-actions {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    border-top:1px solid var(--line);
    margin-top:10px;
    padding-top:12px
  }
  .records-table tbody td.cell-actions::before {
    display:none
  }
  .records-table tbody td[colspan] {
    display:block
  }
  .records-table .btn-group {
    display:flex;
    flex-wrap:wrap;
    gap:8px
  }
  .records-table .text-nowrap {
    white-space:normal!important
  }
  .actions-more {
    display:inline-block
  }
  .secondary-actions {
    flex-basis:100%
  }
  .mobile-pagination {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:10px
  }
  .desktop-pagination {
    display:none!important
  }
  .pagination {
    font-size:13px
  }
  .modal-dialog {
    margin:0;
    max-width:100%;
    height:100%;
    min-height:100%;
    display:flex;
    align-items:stretch
  }
  .modal-content {
    border-radius:0;
    min-height:100dvh
  }
  .modal-body {
    overflow:auto;
    flex:1;
    padding:20px
  }
  .modal-header,.modal-footer {
    padding:14px 20px
  }
  .modal-footer {
    padding-bottom:calc(14px + env(safe-area-inset-bottom));
    position:sticky;
    bottom:0;
    background:#fff
  }
  .modal-body .row>[class*="col-"] {
    width:100%;
    flex:0 0 100%;
    margin-bottom:10px
  }
  .filter-bar {
    padding:12px;
    gap:10px;
    display:flex;
    flex-wrap:wrap;
    --bs-gutter-y:0
  }
  .filter-bar>.filter-keyword {
    flex:1;
    width:auto;
    min-width:120px;
    padding:0
  }
  .filter-bar>.filter-submit {
    width:auto;
    padding:0
  }
  .filter-bar>.filter-submit .btn {
    min-width:55px
  }
  .filter-toggle {
    display:inline-flex
  }
  .filter-panel {
    display:flex;
    flex-direction:column;
    position:fixed;
    bottom:0;
    left:0;
    right:0;
    z-index:1045;
    background:#fff;
    visibility:hidden;
    transform:translateY(100%);
    transition:transform .25s;
    height:auto;
    max-height:85dvh;
    border-radius:20px 20px 0 0;
    overflow-y:auto;
    padding:0 20px calc(20px + env(safe-area-inset-bottom))
  }
  .filter-panel.show,.filter-panel.showing {
    visibility:visible;
    transform:translateY(0)
  }
  .filter-panel .offcanvas-header {
    display:flex;
    padding:14px 0
  }
  .filter-panel>.filter-field {
    width:100%;
    padding:0;
    margin:10px 0
  }
  .filter-panel .filter-apply {
    display:flex;
    margin-top:15px;
    flex-shrink:0
  }
  .filter-active {
    font-size:11px;
    gap:6px
  }
  .page-action-bar {
    bottom:calc(78px + env(safe-area-inset-bottom));
    padding:10px;
    box-shadow:0 4px 16px #27314c0a
  }
  .page-action-bar>.btn {
    flex:1
  }
  .guest .app-content {
    padding:30px 16px 0
  }
  .guest .card-body {
    padding:8px 22px 26px
  }
  .guest .card-header {
    padding:24px 20px 16px
  }
  .guest .app-header>.btn {
    font-size:12px;
    min-height:40px
  }
  .guest .row {
    margin-right:0;
    margin-left:0
  }
  .guest .row>* {
    padding-left:0;
    padding-right:0
  }
  .app-footer {
    font-size:10px;
    margin-top:28px;
    line-height:1.8
  }
  main .d-flex.flex-nowrap {
    flex-wrap:wrap!important;
    white-space:normal!important
  }
  main .text-end {
    text-align:left!important
  }
  main .card-header.d-flex {
    gap:12px;
    flex-wrap:wrap
  }
  main .row {
    --bs-gutter-x:16px;
    --bs-gutter-y:14px
  }
  main dd {
    margin-bottom:12px
  }
  .list-group-item {
    padding:14px
  }
  .auth-hero {
    display:none
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important
  }
}

@media print {
  .app-header,.desktop-sidebar,.mobile-nav,.page-context,.app-footer,.page-action-bar,.btn,.filter-bar,.offcanvas {
    display:none!important
  }
  .app-content {
    margin:0;
    padding:0;
    max-width:none
  }
  .card {
    box-shadow:none;
    border:0
  }
  .card-body {
    padding:0
  }
  body {
    background:#fff
  }
  .records-table {
    display:table
  }
  .records-table tbody {
    display:table-row-group
  }
  .records-table tbody tr {
    display:table-row
  }
  .records-table tbody td {
    display:table-cell
  }
  .records-table tbody td::before {
    display:none
  }
}

.auth-shell {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:80px;
  align-items:center;
  max-width:1080px;
  margin:20px auto 0
}

.auth-hero h1 {
  font-size:50px;
  line-height:1.4;
  letter-spacing:-.05em;
  margin:28px 0 22px;
  color:#352b3a
}

.auth-eyebrow {
  display:inline-flex;
  gap:8px;
  align-items:center;
  background:#fff0f3;
  border:1px solid #f3d8e0;
  color:#a91f41;
  padding:8px 13px;
  border-radius:24px;
  font-size:12px
}

.auth-hero p {
  font-size:16px;
  color:#6e6574
}

.auth-highlights {
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  margin-top:34px;
  font-size:12px;
  color:var(--mint)
}

.auth-highlights span {
  display:flex;
  gap:8px;
  align-items:center
}

.auth-card .auth-form {
  padding:34px!important
}

.auth-role-picker {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px
}

.auth-role {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  min-height:76px;
  background:#fafbfc;
  border:1px solid var(--line);
  border-radius:12px;
  font-size:12px;
  cursor:pointer
}

.auth-role .bi {
  font-size:22px
}

.btn-check:checked+.auth-role {
  border-color:var(--brand);
  color:var(--brand);
  background:#fff0f3;
  box-shadow:0 0 0 1px var(--brand)
}

.btn-check:focus-visible+.auth-role {
  outline:3px solid var(--mint);
  outline-offset:3px
}

@media(max-width:991.98px) {
  .auth-shell {
    gap:36px
  }
  .auth-hero h1 {
    font-size:37px
  }
}

@media(max-width:767.98px) {
  .auth-shell {
    display:block;
    max-width:480px;
    margin-top:5px
  }
  .auth-card .auth-form {
    padding:26px 22px!important
  }
  .auth-hero {
    display:none
  }
  .auth-role {
    font-size:11px;
    min-height:72px
  }
  .auth-form h2 {
    font-size:26px
  }
}

:root {
  --bs-link-color-rgb:169,31,65;
  --bs-link-hover-color-rgb:134,25,50
}

body {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei","PingFang SC",sans-serif
}

.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:24px
}

.section-heading h2 {
  margin:7px 0 0
}

.eyebrow {
  font-size:11px;
  color:var(--mint);
  letter-spacing:.06em
}

.count-pill {
  background:#fff0f3;
  border:1px solid #f1dce3;
  color:#a91f41;
  border-radius:20px;
  font-size:12px;
  padding:7px 12px;
  white-space:nowrap
}

.job-card .card-title {
  font-size:17px;
  line-height:1.55;
  margin-bottom:10px
}

.job-card .card-title a {
  color:var(--ink)
}

.job-card .card-subtitle {
  font-size:12px;
  font-weight:500
}

.job-salary {
  font-size:20px;
  font-weight:750;
  color:var(--brand);
  margin:16px 0 12px
}

.job-tags {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  font-size:11px;
  margin-bottom:14px
}

.job-tags span {
  background:#f5f6fa;
  border-radius:6px;
  padding:4px 7px;
  margin:0!important;
  color:#5e6c7e
}

.job-summary {
  font-size:12px;
  color:#697586;
  line-height:1.8;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin-bottom:16px
}

.job-card .card-footer {
  padding-top:0
}

.job-card .card-body {
  padding-bottom:14px
}

.job-card .card-body>.small {
  font-size:10px
}

.job-card:hover {
  border-color:#eac0cd
}

.ql-toolbar.ql-snow {
  border-color:var(--line);
  border-radius:12px 12px 0 0;
  background:#f9fafc
}

.ql-container.ql-snow {
  border-color:var(--line);
  border-radius:0 0 12px 12px
}

.ql-editor {
  min-height:220px;
  font-size:16px
}

.validation-summary-valid {
  display:none
}

.filter-panel .offcanvas-header .btn-close {
  margin-right:-8px
}

.mobile-pagination .page-link[aria-disabled=true] {
  opacity:.4;
  pointer-events:none
}

@media(max-width:767.98px) {
  .section-heading {
    align-items:flex-start;
    margin-bottom:20px;
    flex-wrap:wrap;
    gap:10px
  }
  .section-heading h2 {
    font-size:23px
  }
  .count-pill {
    font-size:10px;
    padding:5px 10px
  }
  .job-card .card-title {
    font-size:16px
  }
  .job-card .card-body {
    padding:18px 18px 10px
  }
  .job-salary {
    font-size:21px;
    margin-top:12px
  }
  .job-card .card-footer {
    padding:0 18px 18px
  }
  .job-tags {
    gap:6px
  }
  .job-summary {
    margin-bottom:12px
  }
}

.cell-value {
  min-width:0
}

.cell-value>.badge {
  width:auto
}

.cell-value .text-muted {
  font-weight:400
}

.records-table td .btn-group {
  max-width:100%
}

@media(max-width:767.98px) {
  .records-table tbody td.cell-title {
    display:block;
    padding-top:0;
    padding-bottom:13px;
    font-size:16px
  }
  .records-table tbody td.cell-title::before {
    display:none
  }
  .records-table tbody td.cell-title .cell-value>.text-muted {
    font-size:11px;
    margin-top:5px
  }
  .records-table tbody td.secondary-field {
    display:none
  }
  .records-table tbody tr.row-expanded td.secondary-field {
    display:grid
  }
  .records-table tbody td.cell-actions {
    align-items:flex-start
  }
  .records-table .cell-value>.badge {
    width:auto
  }
  .table-responsive .records-table {
    margin-bottom:0
  }
}


.long-content { display: block; max-height: 18rem; overflow: hidden; }
.long-content.expanded { max-height: none; }
.content-toggle { margin-top: 6px; }
@media (max-width: 767.98px) {
  .mobile-action-bar, .mobile-detail-actions {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: auto !important;
    z-index: 1025;
    box-shadow: 0 4px 24px #26354d1f;
  }
  .mobile-detail-actions { display: flex; gap: 6px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  .mobile-detail-actions > .btn { flex: 1; padding-inline: 8px; }
  main:has(.mobile-action-bar), main:has(.mobile-detail-actions) { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
  .modal-open .mobile-action-bar, .modal-open .mobile-detail-actions, .keyboard-open .mobile-action-bar, .keyboard-open .mobile-detail-actions { visibility: hidden; }
}
@media (min-width: 768px) {
  .wide-records-table { min-width: 1120px; }
  .records-table .badge { white-space: nowrap; }
  .records-table td:first-child { min-width: 170px; }
  .records-table .cell-actions { min-width: 220px; }
}
