@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #111827;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--brand);
}

h1, h2, h3 {
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

h2 {
  font-size: 1.125rem;
}

img {
  max-width: 100%;
}

code {
  background: #f3f4f6;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

hr.divider {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0;
}

.muted {
  color: #6b7280;
  font-size: 0.9rem;
}

.text-ok {
  color: #16a34a;
}

.text-down {
  color: #dc2626;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover {
  text-decoration: none;
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
}
.btn--primary:hover:not(:disabled) {
  background: var(--brand-dark);
  color: #fff;
}
.btn--outline {
  background: #fff;
  color: var(--brand);
  border-color: var(--brand);
}
.btn--outline:hover:not(:disabled) {
  background: var(--brand-soft);
  color: var(--brand);
}
.btn--ghost {
  background: #fff;
  color: #111827;
  border-color: #e5e7eb;
}
.btn--ghost:hover:not(:disabled) {
  background: #f3f4f6;
  color: #111827;
}
.btn--danger {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}
.btn--danger:hover:not(:disabled) {
  background: #fee2e2;
  color: #dc2626;
}
.btn--danger-solid {
  background: #dc2626;
  color: #fff;
}
.btn--danger-solid:hover:not(:disabled) {
  background: #b91c1c;
  color: #fff;
}
.btn--sm {
  padding: 5px 10px;
  font-size: 0.85rem;
}
.btn--block {
  width: 100%;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}
.icon-btn:hover {
  background: #f3f4f6;
  color: #111827;
}
.icon-btn--danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

.input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font: inherit;
  background: #ffffff;
  color: #111827;
}
.input:focus {
  outline: 2px solid rgb(var(--brand-rgb) / 0.2);
  border-color: var(--brand);
}
.input::placeholder {
  color: #9ca3af;
}

textarea.input {
  resize: vertical;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.field > span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #374151;
}

.searchbox {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin-bottom: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
}
.searchbox:focus-within {
  border-color: var(--brand);
  outline: 2px solid rgb(var(--brand-rgb) / 0.15);
}
.searchbox input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  font: inherit;
  outline: none;
}
.searchbox button {
  display: flex;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
}
.searchbox--flat {
  margin-bottom: 0;
}

.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  border: 1px solid #fdba74;
  border-radius: 4px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.8rem;
  white-space: nowrap;
}

.spinner {
  width: 36px;
  height: 36px;
  margin: 48px auto;
  border: 4px solid #e5e7eb;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.error-box {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #dc2626;
  border-radius: 8px;
  text-align: center;
}
.error-box p {
  margin: 0 0 10px;
}

.empty-state {
  padding: 56px 16px;
  text-align: center;
  color: #6b7280;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  overflow-x: auto;
}
.tabs__item {
  padding: 10px 14px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: transparent;
  color: #6b7280;
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
}
.tabs__item:hover {
  color: var(--brand);
}
.tabs__item.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
  font-weight: 500;
}

.pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.pager__info {
  color: #6b7280;
  font-size: 0.85rem;
}
.pager__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}
.pager__btn {
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  font: inherit;
  cursor: pointer;
}
.pager__btn:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
}
.pager__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pager__btn--nav {
  background: #f3f4f6;
  border-color: transparent;
}
.pager__btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pager__btn.is-active:hover {
  color: #fff;
}
.pager__dots {
  padding: 0 6px;
  color: #6b7280;
}
.pager__size {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 6px;
}
.pager__size select {
  height: 36px;
  padding: 0 30px 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  font: inherit;
  appearance: none;
  cursor: pointer;
}
.pager__size svg {
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: #6b7280;
}

.toast-container {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: calc(100vw - 32px);
}

.toast {
  padding: 12px 16px;
  border-radius: 6px;
  color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
  animation: slide-in 0.2s ease-out;
}
.toast--success {
  background: #16a34a;
}
.toast--error {
  background: #dc2626;
}
.toast--info {
  background: #374151;
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
}
.skeleton {
  background: linear-gradient(90deg, #eceef1 25%, #f7f8fa 37%, #eceef1 63%);
  background-size: 400% 100%;
  border-radius: 6px;
  animation: shimmer 1.4s ease infinite;
}
.skeleton--cover {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 8px;
}
.skeleton--thumb {
  width: 128px;
  height: 86px;
  flex: none;
}
.skeleton--line {
  height: 14px;
  margin-bottom: 10px;
}
.skeleton--mt {
  margin-top: 16px;
}
.skeleton--w40 {
  width: 40%;
}
.skeleton--w80 {
  width: 80%;
}

.skeleton-row {
  display: flex;
  gap: 14px;
  padding: 16px 12px;
  border-bottom: 1px solid #e5e7eb;
}
.skeleton-row .skeleton {
  height: 16px;
}

@keyframes shimmer {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(17, 24, 39, 0.5);
  animation: fade-in 0.15s ease-out;
}
.modal__box {
  width: 100%;
  max-width: 420px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: fade-up 0.2s ease-out;
}
.modal__box h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}
.modal__box p {
  margin: 0 0 22px;
  color: #374151;
}
.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.shell__main > * {
  animation: fade-up 0.25s ease-out;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.shell {
  min-height: 100vh;
}
.shell__header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px 0 14px;
  background: linear-gradient(90deg, #fff 0%, #fff 52%, var(--brand-mid) 78%, var(--brand-dark) 100%);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
}
.shell__burger {
  display: flex;
  padding: 6px;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  border-radius: 6px;
}
.shell__burger:hover {
  background: #f3f4f6;
}
.shell__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: #111827;
}
.shell__brand:hover {
  color: #111827;
}
.shell__titles {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.shell__titles strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.shell__titles small {
  font-size: 0.72rem;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 600px) {
  .shell__titles small {
    display: none;
  }
}
.shell__right {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
  color: #fff;
  flex: none;
}
.shell__bell {
  display: flex;
}
.shell__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #fcd34d, transparent) no-repeat;
  background-size: 40% 100%;
  animation: progress-run 1s linear infinite;
}
.shell__login {
  color: #fff;
  font-weight: 500;
  white-space: nowrap;
}
.shell__login:hover {
  color: #fff;
  text-decoration: underline;
}
.shell__sidebar {
  position: fixed;
  top: 60px;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: 250px;
  overflow-y: auto;
  padding: 14px 8px;
  background: #fff;
  border-right: 1px solid #e5e7eb;
  transform: translateX(-100%);
  transition: transform 0.2s;
}
.shell__sidebar.is-open {
  transform: none;
}
.shell__menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.shell__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 6px;
  color: #1f2937;
  font-weight: 600;
  font-size: 0.95rem;
}
.shell__link:hover {
  background: #f3f4f6;
  color: #1f2937;
}
.shell__link.is-active {
  background: var(--brand);
  color: #fff;
}
.shell__link.is-active:hover {
  color: #fff;
}
.shell__icon {
  display: flex;
}
.shell__backdrop {
  position: fixed;
  inset: 60px 0 0 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.4);
}
@media (min-width: 901px) {
  .shell__backdrop {
    display: none;
  }
}
.shell__main {
  padding: 82px 24px 48px;
  min-height: 100vh;
  transition: margin-left 0.2s;
}
@media (min-width: 901px) {
  .shell__main.has-sidebar {
    margin-left: 250px;
  }
}
@media (max-width: 600px) {
  .shell__main {
    padding-left: 14px;
    padding-right: 14px;
  }
}

@keyframes progress-run {
  from {
    background-position: -40% 0;
  }
  to {
    background-position: 140% 0;
  }
}
.flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 30px;
  flex: none;
  border-radius: 3px;
  background: #da251d;
  color: #fcd34d;
  font-size: 1.1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  font-size: 1rem;
}

.userpill {
  position: relative;
}
.userpill__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
@media (max-width: 600px) {
  .userpill__btn {
    font-size: 0;
    gap: 2px;
  }
  .userpill__btn .emblem {
    font-size: 1rem;
  }
}
.userpill__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 140px;
  padding: 6px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
}
.userpill__menu button {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
  border-radius: 4px;
}
.userpill__menu button:hover {
  background: #f3f4f6;
}

.login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg, #fff 0%, var(--brand-soft) 40%, var(--brand) 100%);
}
.login__box {
  width: 100%;
  max-width: 380px;
  padding: 32px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}
.login__box h1 {
  font-size: 1.35rem;
  margin-top: 14px;
}
.login__box .muted {
  margin: 0 0 20px;
}

.page__title {
  margin-bottom: 14px;
}

.page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.chip {
  padding: 5px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}
.chip small {
  color: #6b7280;
}
.chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.chip.is-active small {
  color: var(--brand-line);
}

.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.88rem;
}

.news {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .news {
    grid-template-columns: 1fr;
  }
}
.news__featured h2 {
  font-size: 1.35rem;
  margin: 14px 0 10px;
}
.news__featured a:hover h2 {
  color: var(--brand);
}
.news__featured p {
  margin: 10px 0 0;
  color: #374151;
}
.news__cover {
  width: 100%;
  aspect-ratio: 3/2;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-line)) center/cover no-repeat;
  color: var(--brand);
  font-size: 5rem;
  font-weight: 700;
}
.news__list {
  display: flex;
  flex-direction: column;
}
.news__item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}
.news__item:first-child {
  padding-top: 0;
}
.news__item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.news__item h3 a:hover {
  color: var(--brand);
}
.news__thumb {
  width: 128px;
  height: 86px;
  flex: none;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-line)) center/cover no-repeat;
  color: var(--brand);
  font-size: 2rem;
  font-weight: 700;
}
@media (max-width: 600px) {
  .news__thumb {
    width: 104px;
    height: 74px;
  }
}

.info {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.info > div {
  display: flex;
  gap: 12px;
}
.info dt {
  width: 110px;
  flex: none;
  color: #6b7280;
}
.info dd {
  margin: 0;
  font-weight: 500;
}

.section-title {
  color: var(--brand);
  font-size: 1.05rem;
  margin: 18px 0 10px;
}

.cover {
  width: 100%;
  max-width: 760px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.content {
  max-width: 820px;
  font-size: 1rem;
}
.content p {
  margin: 0 0 1em;
  white-space: pre-line;
}

.brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fcd34d;
  font-size: 1.3rem;
}

.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.page-head h1 {
  margin: 0;
}

.panel {
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 20px;
}
.panel h2 {
  margin-bottom: 14px;
}

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

.stat {
  padding: 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--brand);
  border-radius: 8px;
}
.stat__value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--brand);
}
.stat__label {
  color: #6b7280;
  font-size: 0.88rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.status-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}
.status-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}
.status-list li strong {
  margin-left: auto;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot--ok {
  background: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
}
.dot--down {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2);
}

.top-list {
  margin: 0;
  padding-left: 20px;
}
.top-list li {
  padding: 6px 0;
}
.top-list li .muted {
  margin-left: 8px;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 600px) {
  .toolbar {
    grid-template-columns: 1fr;
  }
}

.table-wrap {
  overflow-x: auto;
  background: #fff;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.table th, .table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.92rem;
}
.table th {
  background: #f3f4f6;
  color: #111827;
  font-weight: 700;
  border-bottom: 2px solid #d1d5db;
  white-space: nowrap;
}
.table tbody tr:hover {
  background: #fafafa;
}
.table__title {
  font-weight: 500;
  max-width: 360px;
}
.table__empty {
  text-align: center !important;
  color: #6b7280;
  padding: 32px !important;
}

.col-num {
  width: 64px;
  text-align: center !important;
}

.col-actions {
  width: 130px;
  text-align: right !important;
  white-space: nowrap;
}

.status {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}
.status--published {
  background: #dcfce7;
  color: #166534;
}
.status--draft {
  background: #fef3c7;
  color: #92400e;
}

.form {
  max-width: 820px;
}
.form--inline {
  max-width: none;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}
.form__actions {
  display: flex;
  gap: 10px;
}

.table__actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  white-space: nowrap;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--brand);
  cursor: pointer;
}
.link-btn:hover {
  text-decoration: underline;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.check input {
  accent-color: var(--brand);
}

.panel--flush {
  padding: 0;
  overflow: hidden;
}

.input--sm {
  width: auto;
  padding: 5px 8px;
}

.input--mono {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.input--error {
  border-color: #dc2626;
}
.input--error:focus {
  border-color: #dc2626;
  outline-color: rgba(220, 38, 38, 0.25);
}

.crumbs {
  color: #6b7280;
  font-size: 0.9rem;
}
.crumbs .link-btn {
  color: #6b7280;
}
.crumbs .link-btn:hover {
  color: var(--brand);
}

.grid__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.grid__search {
  flex: 1 1 200px;
  max-width: 300px;
}
.grid__count {
  margin-left: auto;
  white-space: nowrap;
}
.grid .btn.is-on {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}
.grid__badge {
  min-width: 18px;
  padding: 0 6px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  line-height: 18px;
  text-align: center;
}
.grid__badge--soft {
  background: #f3f4f6;
  color: #6b7280;
}
.grid__picker {
  position: relative;
}
.grid__popup {
  position: absolute;
  z-index: 60;
  top: calc(100% + 6px);
  left: 0;
  min-width: 230px;
  max-height: 340px;
  overflow: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
}
.grid__popup label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.92rem;
}
.grid__popup label input {
  accent-color: var(--brand);
}
.grid__popup label:hover {
  background: #f3f4f6;
}
.grid__popup label.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.grid__popup-head {
  display: flex;
  justify-content: space-between;
  padding: 2px 8px 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.85rem;
}
.grid__scroll {
  overflow: auto;
  background: #fff;
}
.grid__table {
  width: 100%;
  min-width: 640px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}
.grid__table th, .grid__table td {
  padding: 8px 7px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid #e5e7eb;
}
.grid__table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f3f4f6;
  border-bottom: 2px solid #d1d5db;
  font-weight: 700;
  line-height: 1.25;
}
.grid__table tbody tr:hover {
  background: #fafafa;
}
.grid__sort {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}
.grid__sort:hover {
  color: var(--brand);
}
.grid__arrow {
  font-size: 0.7rem;
  color: #6b7280;
}
.grid__filters th {
  position: static;
  padding: 6px 8px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.grid__filters th .input {
  padding: 5px 8px;
  font-size: 0.85rem;
}
.grid__empty {
  padding: 32px !important;
  text-align: center !important;
  color: #6b7280;
}
.grid__group td {
  background: #f9fafb;
  color: var(--brand);
  border-top: 2px solid #e5e7eb;
}
.grid__group td small {
  color: #6b7280;
  font-weight: 400;
}
.grid__subtotal td {
  background: var(--brand-tint);
  font-weight: 600;
  border-bottom: 2px solid #f5c2c9;
  font-size: 0.88rem;
}
.grid__total td {
  position: sticky;
  bottom: 0;
  z-index: 1;
  background: var(--brand-soft);
  font-weight: 700;
  border-top: 2px solid var(--brand);
  border-bottom: 0;
}

.cell {
  width: 100%;
  min-width: 0;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font: inherit;
  color: #111827;
}
.cell:hover {
  border-color: #e5e7eb;
  background: #fff;
}
.cell:focus {
  outline: 2px solid rgb(var(--brand-rgb) / 0.25);
  border-color: var(--brand);
  background: #fff;
}
.cell--num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.cell--bad {
  border-color: #dc2626;
  background: #fef2f2;
}

.calc {
  font-variant-numeric: tabular-nums;
}

.rank {
  display: inline-block;
  min-width: 52px;
  padding: 2px 10px;
  border-radius: 999px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}
.rank--tot {
  background: #dcfce7;
  color: #166534;
}
.rank--kha {
  background: #dbeafe;
  color: #1e40af;
}
.rank--tb {
  background: #fef3c7;
  color: #92400e;
}
.rank--yeu {
  background: #fee2e2;
  color: #991b1b;
}
.rank--na {
  background: #f3f4f6;
  color: #6b7280;
}

.status--ok {
  background: #dcfce7;
  color: #166534;
}

.status--wait {
  background: #dbeafe;
  color: #1e40af;
}

.ext {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
}
.ext--docx {
  background: #dbeafe;
  color: #1d4ed8;
}
.ext--pdf {
  background: #fee2e2;
  color: #b91c1c;
}
.ext--xlsx {
  background: #dcfce7;
  color: #15803d;
}
.ext--pptx {
  background: #ffedd5;
  color: #c2410c;
}

.fname {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fname svg {
  flex: none;
  color: #6b7280;
}

.split {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 900px) {
  .split {
    flex-direction: column;
  }
}
.split__left {
  width: 300px;
  min-width: 220px;
  max-width: 520px;
  flex: none;
  margin-bottom: 0;
  padding: 12px;
  max-height: calc(100vh - 170px);
  overflow: auto;
  resize: horizontal;
}
@media (max-width: 900px) {
  .split__left {
    width: 100%;
    max-width: none;
    max-height: 300px;
    resize: none;
  }
}
.split__right {
  flex: 1;
  min-width: 0;
  width: 100%;
  margin-bottom: 0;
}

.tree__tools {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}
.tree__btns {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
}
.tree__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tree__row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}
.tree__row:hover {
  background: #f3f4f6;
}
.tree__row:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}
.tree__row.is-active {
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 600;
}
.tree__caret {
  display: flex;
  width: 18px;
  flex: none;
  color: #6b7280;
  transform: rotate(-90deg);
  transition: transform 0.15s;
}
.tree__caret.is-open {
  transform: none;
}
.tree__caret.is-leaf {
  visibility: hidden;
}
.tree__icon {
  display: flex;
  flex: none;
  color: #d97706;
}
.tree__label {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tree__count {
  padding: 0 8px;
  border-radius: 9px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 400;
}
.tree__empty {
  padding: 12px 4px;
}

.formula__row {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}
.formula__row .field {
  flex: 1 1 320px;
  margin: 0;
}
.formula__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 2px;
}
.formula__msg {
  margin: 8px 0;
  font-size: 0.88rem;
}
.formula__th {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}
.formula__th label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.formula__th .input--sm {
  width: 76px;
}

.opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0;
}

.opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.opt input {
  flex: none;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
.opt:hover {
  border-color: var(--brand);
}
.opt.is-checked {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.opt.is-correct {
  border-color: #16a34a;
  background: #f0fdf4;
}
.opt.is-wrong {
  border-color: #dc2626;
  background: #fef2f2;
}
.opt__tag {
  margin-left: auto;
  padding: 1px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.75rem;
}

.progress {
  height: 8px;
  border-radius: 99px;
  background: #f3f4f6;
  overflow: hidden;
}
.progress i {
  display: block;
  height: 100%;
  background: var(--brand);
  transition: width 0.25s;
}

.quiz {
  max-width: 760px;
}
.quiz__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}
.quiz__q {
  margin: 22px 0 4px;
  font-size: 1.2rem;
}
.quiz__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.quiz__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.quiz__dots button {
  width: 30px;
  height: 30px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  font: inherit;
  font-size: 0.8rem;
  cursor: pointer;
}
.quiz__dots button.is-done {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand);
}
.quiz__dots button.is-cur {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.result {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 760px;
}
.result--row {
  justify-content: space-between;
  max-width: none;
  flex-wrap: wrap;
}
.result__score {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
}
.result__score.is-good {
  background: #16a34a;
}
.result__score.is-mid {
  background: #d97706;
}
.result__score.is-low {
  background: #dc2626;
}
@media (max-width: 600px) {
  .result {
    flex-direction: column;
    text-align: center;
  }
}

.qreview {
  max-width: 760px;
  border-left: 4px solid #e5e7eb;
}
.qreview h3 {
  font-size: 1rem;
}
.qreview.is-right {
  border-left-color: #16a34a;
}
.qreview.is-wrong {
  border-left-color: #dc2626;
}
.qreview__flag {
  margin-left: 8px;
  font-size: 0.8rem;
}
.qreview__explain {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f3f4f6;
}

.qreview.is-right .qreview__flag {
  color: #16a34a;
}

.qreview.is-wrong .qreview__flag {
  color: #dc2626;
}

.survey {
  max-width: 760px;
}

.qfield {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.qfield legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
}
.qfield.has-error legend {
  color: #dc2626;
}
.qfield__err {
  margin: 6px 0 0;
  color: #dc2626;
  font-size: 0.85rem;
}

.req {
  color: #dc2626;
}

.stars {
  display: flex;
  align-items: center;
  gap: 4px;
}
.stars button {
  padding: 0;
  border: 0;
  background: none;
  color: #d1d5db;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.1s, color 0.1s;
}
.stars button:hover {
  transform: scale(1.15);
}
.stars button.is-on {
  color: #f59e0b;
}
.stars .muted {
  margin-left: 10px;
}

.comments {
  margin: 0;
  padding-left: 20px;
}
.comments li {
  padding: 4px 0;
}

.chart {
  display: block;
  width: 100%;
  height: auto;
}
.chart__grid {
  stroke: #eceef1;
  stroke-width: 1;
}
.chart__tick {
  font-size: 11px;
  fill: #6b7280;
}
.chart__bar {
  transition: opacity 0.15s;
}
.chart__bar:hover {
  opacity: 0.78;
}
.chart__dot:hover {
  r: 5.5;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.legend strong {
  margin-left: auto;
  padding-left: 12px;
}
.legend--col {
  flex-direction: column;
  flex-wrap: nowrap;
  min-width: 150px;
  margin: 0;
}

.donut {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.donut__num {
  font-size: 22px;
  font-weight: 700;
  fill: #111827;
}

.gauge {
  text-align: center;
}
.gauge svg {
  width: 100%;
  max-width: 260px;
}
.gauge__num {
  font-size: 26px;
  font-weight: 700;
  fill: #111827;
}
.gauge__arc {
  transition: stroke-dasharray 0.4s;
}

.spark {
  display: block;
  width: 100%;
  height: 32px;
  margin-top: 8px;
}

.heat {
  display: grid;
  align-items: center;
  gap: 4px;
}
.heat__col {
  text-align: center;
  color: #6b7280;
  font-size: 0.72rem;
}
.heat__row {
  color: #6b7280;
  font-size: 0.75rem;
}
.heat__cell {
  display: block;
  height: 26px;
  border-radius: 4px;
}

.widget {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.widget__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 10px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.widget__head h3 {
  margin: 0;
  font-size: 0.98rem;
}
.widget__body {
  padding: 16px;
}

.wgrid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.wgrid .w-4 {
  grid-column: span 4;
}
.wgrid .w-8 {
  grid-column: span 8;
}
@media (max-width: 900px) {
  .wgrid > * {
    grid-column: 1/-1 !important;
  }
}

.statcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.statcard {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.statcard__label {
  color: #6b7280;
  font-size: 0.88rem;
}
.statcard__value {
  margin: 2px 0;
  font-size: 1.7rem;
  font-weight: 700;
}
.statcard__delta {
  font-size: 0.85rem;
  font-weight: 600;
}
.statcard__delta.is-up {
  color: #16a34a;
}
.statcard__delta.is-down {
  color: #dc2626;
}
.statcard__delta .muted {
  font-size: 0.8rem;
  font-weight: 400;
}

.plist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.plist li {
  margin-bottom: 14px;
}
.plist__row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.9rem;
}
.plist__bar {
  height: 8px;
  border-radius: 99px;
  background: #f3f4f6;
  overflow: hidden;
}
.plist__bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  transition: width 0.4s;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #374151;
}

.clock {
  text-align: center;
}
.clock__time {
  color: var(--brand);
  font-size: 2.2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.cal__title {
  margin-bottom: 8px;
  text-align: center;
  font-weight: 600;
}
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal__dow {
  color: #6b7280;
}
.cal__day {
  padding: 5px 0;
  border-radius: 6px;
  font-size: 0.85rem;
}
.cal__day.is-today {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.todo {
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
}
.todo li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px solid #e5e7eb;
}
.todo li label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.todo li label input {
  accent-color: var(--brand);
}
.todo li.is-done label {
  color: #6b7280;
  text-decoration: line-through;
}
.todo__add {
  display: flex;
  gap: 8px;
}

.land {
  background: #fff;
}
.land__wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.land__wrap--narrow {
  max-width: 820px;
}
.land__header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.land__header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border-color: #e5e7eb;
}
.land__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1160px;
  height: 60px;
  margin: 0 auto;
  padding: 0 20px;
}
.land__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
}
.land__brand strong {
  letter-spacing: 0.02em;
}
.land__brand:hover {
  color: #111827;
}
.land__nav {
  display: flex;
  flex: 1;
  gap: 2px;
  margin-left: 12px;
}
.land__nav a {
  padding: 8px 12px;
  border-radius: 6px;
  color: #374151;
  font-size: 0.93rem;
  font-weight: 500;
}
.land__nav a:hover {
  background: var(--brand-soft);
  color: var(--brand);
}
@media (max-width: 900px) {
  .land__nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    margin: 0;
    padding: 8px 14px 16px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  }
  .land__nav.is-open {
    display: flex;
  }
}
.land__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.land__burger {
  display: none;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #111827;
  cursor: pointer;
}
@media (max-width: 900px) {
  .land__burger {
    display: flex;
  }
}
@media (max-width: 600px) {
  .land__try {
    display: none;
  }
}
.land__nav-extra {
  display: none;
}
@media (max-width: 900px) {
  .land__nav-extra {
    display: block;
  }
}

.hero {
  padding: 64px 0 80px;
  overflow: hidden;
  background: radial-gradient(900px 420px at 85% 0%, var(--brand-soft) 0%, transparent 70%), linear-gradient(180deg, #fff 0%, var(--brand-tint) 100%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}
.hero__text h1 {
  margin: 14px 0;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.hero__text h1 em {
  color: var(--brand);
  font-style: normal;
}
.hero__text p {
  max-width: 560px;
  margin: 0;
  color: #374151;
  font-size: 1.08rem;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero__tags li {
  padding: 3px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 99px;
  background: #fff;
  color: #6b7280;
  font-size: 0.82rem;
}
.hero__art {
  position: relative;
  padding-bottom: 20px;
}

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 600;
}

.mock {
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgb(var(--brand-rgb) / 0.15);
}
.mock__top {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mock__top i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}
.mock__top i:nth-child(2) {
  background: #fbbf24;
}
.mock__top i:nth-child(3) {
  background: #34d399;
}
.mock__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mock__kpis b {
  height: 52px;
  border: 1px solid #fbd5da;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-soft), #fff);
}
.mock__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 130px;
  margin-bottom: 14px;
  padding: 0 4px;
  border-bottom: 1px solid #e5e7eb;
}
.mock__chart span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--brand), var(--brand-mid));
  transform-origin: bottom;
  animation: grow 0.9s ease-out both;
}
.mock__rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock__rows u {
  display: block;
  height: 10px;
  border-radius: 6px;
  background: #f3f4f6;
  text-decoration: none;
}
.mock__rows u:nth-child(2) {
  width: 80%;
}
.mock__rows u:nth-child(3) {
  width: 60%;
}
.mock--float {
  position: absolute;
  right: -6px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 20px;
}
.mock--float strong {
  color: var(--brand);
  font-size: 1.8rem;
  line-height: 1.1;
}
.mock--float small {
  color: #6b7280;
}
@media (max-width: 600px) {
  .mock--float {
    right: 0;
  }
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
}
.sec {
  padding: 72px 0;
  scroll-margin-top: 60px;
}
.sec--tint {
  background: #fafafa;
}
.sec--red {
  padding: 48px 0;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
}
.sec__head {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: center;
}
.sec__head h2 {
  margin: 6px 0 10px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.sec__head p {
  margin: 0;
  color: #6b7280;
}
.sec__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  max-width: none;
  margin: 0 0 28px;
  text-align: left;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cards3, .cards4 {
  display: grid;
  gap: 20px;
}
.cards3 > .reveal, .cards4 > .reveal {
  display: flex;
}
.cards3 > .reveal > *, .cards4 > .reveal > * {
  flex: 1;
}

.cards3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .cards3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cards3 {
    grid-template-columns: 1fr;
  }
}

.cards4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .cards4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .cards4 {
    grid-template-columns: 1fr;
  }
}

.fcard, .dcard, .ncard {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.fcard h3, .dcard h3, .ncard h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.fcard p, .dcard p, .ncard p {
  margin: 0;
  color: #4b5563;
  font-size: 0.93rem;
}

.fcard {
  padding: 24px;
}
.fcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
}
.fcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.dcard {
  display: flex;
  flex-direction: column;
  padding: 22px;
  color: inherit;
}
.dcard:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
  color: inherit;
}
.dcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
}
.dcard p {
  flex: 1;
  font-size: 0.9rem;
}
.dcard__go {
  margin-top: 12px;
  color: var(--brand);
  font-weight: 600;
}

.ncard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}
.ncard:hover {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 4px 14px rgba(17, 24, 39, 0.08);
}
.ncard__cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-soft), var(--brand-line)) center/cover no-repeat;
  color: var(--brand);
  font-size: 3rem;
  font-weight: 700;
}
.ncard h3 {
  margin: 0;
}
.ncard h3 a:hover {
  color: var(--brand);
}
.ncard p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.notice {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px dashed #e5e7eb;
  border-radius: 8px;
  color: #6b7280;
  text-align: center;
}

.statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 900px) {
  .statband {
    grid-template-columns: repeat(2, 1fr);
  }
}
.statband__item strong {
  display: block;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}
.statband__item span {
  font-size: 0.92rem;
  opacity: 0.92;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .flow {
    grid-template-columns: 1fr;
  }
}
.flow > .reveal {
  display: flex;
}
.flow > .reveal > * {
  flex: 1;
}
.flow__step {
  position: relative;
  padding: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}
.flow__step h3 {
  margin: 10px 0 6px;
  font-size: 1rem;
}
.flow__step p {
  margin: 0;
  color: #4b5563;
  font-size: 0.88rem;
}
@media (min-width: 901px) {
  .flow > .reveal:not(:last-child) .flow__step::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 1;
    color: var(--brand);
    font-size: 1.6rem;
    line-height: 0;
  }
}
.flow__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  padding: 0 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.3rem;
  line-height: 1;
}
.faq__item[open] {
  border-color: var(--brand);
}
.faq__item[open] summary::after {
  content: "−";
}
.faq__item p {
  margin: 0 0 16px;
  color: #4b5563;
}

.cta {
  padding: 0 0 72px;
}
.cta__box {
  padding: 48px 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  text-align: center;
}
.cta__box h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.cta__box p {
  margin: 0;
  opacity: 0.92;
}
.cta__box .hero__cta {
  justify-content: center;
  margin-bottom: 0;
}

.btn--light {
  background: #fff;
  color: var(--brand);
}
.btn--light:hover:not(:disabled) {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost-light:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.land__footer {
  background: #111827;
  color: #d1d5db;
  padding-top: 48px;
}
.land__footer a {
  color: #d1d5db;
}
.land__footer a:hover {
  color: #fff;
}

.land__footgrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .land__footgrid {
    grid-template-columns: 1fr;
  }
}
.land__footgrid h4 {
  margin: 0 0 10px;
  color: #fff;
}
.land__footgrid a {
  display: block;
  padding: 3px 0;
  font-size: 0.92rem;
}
.land__footgrid p {
  max-width: 360px;
  color: #9ca3af;
  font-size: 0.9rem;
}
.land__footgrid .land__brand {
  margin-bottom: 10px;
  color: #fff;
}
.land__footgrid .land__brand:hover {
  color: #fff;
}

.land__copy {
  margin-top: 32px;
  padding: 16px 20px;
  border-top: 1px solid #1f2937;
  color: #6b7280;
  font-size: 0.85rem;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
