:root {
  --lime: #0066d8;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --line: rgba(255, 255, 255, 0.16);
  --header-h: 96px;
  --c1: #000000;
  --c2: #002a6c;
  --glow: #d1fa5b;
  --accent: #a5ffaf;
  --font: "Noto Sans Georgian", "Segoe UI", sans-serif;
}

html {
  background: #000000;
}

body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  z-index: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 62% 46% at 50% 8%, color-mix(in srgb, var(--glow) 48%, transparent), transparent 68%),
    radial-gradient(ellipse 38% 32% at 8% 92%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72%),
    linear-gradient(165deg, var(--c1) 0%, color-mix(in srgb, var(--c2) 78%, #000000) 64%, #000000 100%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--lime);
  color: #111111;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.skip-link:focus {
  top: 0.7rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.header-shade {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 999px;
  transition:
    left 0.45s ease,
    top 0.45s ease,
    width 0.45s ease,
    height 0.45s ease,
    border-radius 0.45s ease,
    background 0.45s ease;
}

.site-header.is-scrolled .header-shade {
  background: rgba(6, 8, 10, 0.78);
  border-color: transparent;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.header-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
  padding: 0.55rem 1.25rem;
}

.brand {
  display: flex;
  align-items: center;
  justify-self: start;
  grid-column: 1;
}

.brand img,
.footer-brand img {
  height: 68px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  grid-column: 2;
  min-width: 0;
}

.auth-mobile {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  list-style: none;
  margin: 0;
  padding: 0.28rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.site-header.is-ready .menu {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.menu-item {
  position: relative;
  display: flex;
  align-self: stretch;
}

.menu-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.menu-link::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: -0.45rem;
  bottom: -0.45rem;
  left: -0.08rem;
  right: -0.08rem;
}

.menu-item:first-child > .menu-link::after {
  left: -0.5rem;
}

.menu-item:last-child > .menu-link::after {
  right: -0.5rem;
}

.menu-link:hover,
.menu-item:hover > .menu-link,
.menu-link[aria-current="page"] {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.auth-desktop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: end;
  grid-column: 3;
}

.auth-name {
  color: white;
  font-size: 0.92rem;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}

a.auth-name:hover {
  color: var(--lime);
}

.auth-card [data-form-note].is-error {
  color: #ffb4b4;
}

.btn-ghost,
.btn-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.48rem 1rem;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: white;
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn-lime {
  border: 0;
  background: var(--lime);
  color: #ffffff;
  font-weight: 600;
}

.btn-lime:hover {
  background: #3089f6;
  color: #ffffff;
}

.mega {
  position: fixed;
  top: calc(var(--header-h) - 28px);
  left: 0;
  right: 0;
  width: 100%;
  padding-top: 22px;
  z-index: 30;
  background: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.22s ease,
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s ease;
}

.menu-item:hover > .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.menu-item.is-suppressed > .mega,
.menu-item.is-suppressed:hover > .mega,
.menu-item.is-suppressed:focus-within > .mega {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
}

.mega-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.15fr) minmax(200px, 1fr) minmax(200px, 1fr) minmax(200px, 1fr);
  gap: 0.35rem;
  min-height: 340px;
  padding: 0.7rem 1.25rem;
  background: rgba(8, 10, 14, 0.97);
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.mega-visual {
  position: relative;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
  background: #0c0d0f;
}

.mega-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-visual.is-logo img {
  object-fit: contain;
  padding: 2.2rem;
  background:
    radial-gradient(circle at 50% 42%, rgba(209, 250, 91, 0.22), transparent 62%),
    #0b0c0e;
}

.mega-copy {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.05rem 0.85rem 0.9rem 0.7rem;
}

.mega-copy h3 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 650;
}

.mega-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mega-more {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: white;
  color: #141414;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
}

.mega-more:hover {
  background: var(--lime);
  color: #141414;
}

.mega-links,
.mega-sub {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.mega-links {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mega-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.78rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: white;
}

.mega-chevron {
  opacity: 0;
}

.mega-links a:hover,
.mega-links a.is-current,
.mega-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.94);
  color: #141414;
}

.mega-links a:hover .mega-chevron,
.mega-links a.is-current .mega-chevron,
.mega-links a[aria-current="page"] .mega-chevron {
  opacity: 1;
}

.mega-sub {
  position: relative;
  min-width: 0;
}

.mega-sub-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.mega-sub-links.is-current {
  display: flex;
}

.mega-sub-label {
  display: none;
  padding: 0.65rem 0.85rem 0.1rem;
  color: var(--lime);
  font-size: 0.82rem;
}

.mega-sub-links a {
  display: block;
  padding: 0.72rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
}

.mega-sub-links a:hover,
.mega-sub-links a.is-current,
.mega-sub-links a[aria-current="page"] {
  color: var(--lime);
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(6, 8, 10, 0.42));
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-radius: 22px;
}

main {
  padding-top: var(--header-h);
}

.section-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 55% 70% at 50% 100%, rgba(209, 250, 91, 0.16), transparent 62%),
    #050605;
}

.hero-glow {
  position: absolute;
  width: min(520px, 62vw);
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background:
    repeating-linear-gradient(
      90deg,
      rgba(209, 250, 91, 0) 0 10px,
      rgba(209, 250, 91, 0.09) 11px 12px,
      rgba(209, 250, 91, 0) 13px 28px
    ),
    linear-gradient(180deg, rgba(209, 250, 91, 0) 0%, rgba(209, 250, 91, 0.16) 28%, rgba(209, 250, 91, 0.62) 72%, rgba(122, 238, 155, 0.28) 100%);
  filter: blur(0.4px);
  pointer-events: none;
  z-index: 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--lime);
  font-size: 0.92rem;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero h1 {
  margin: 0 auto 1rem;
  max-width: 15em;
  font-size: clamp(2.15rem, 4.4vw, 4.15rem);
}

.lime {
  color: var(--lime);
}

.lede,
.prose {
  color: var(--muted);
  font-size: 1.05rem;
}

.lede {
  max-width: 38rem;
  margin: 0 auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 3.2rem;
  text-align: left;
  align-items: center;
}

.stat-card {
  min-height: 340px;
  padding: 1.35rem 1.3rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stat-card:nth-child(1) { transform: rotate(-8deg) translateY(16px); }
.stat-card:nth-child(2) { transform: none; min-height: 400px; z-index: 2; }
.stat-card:nth-child(3) { transform: rotate(8deg) translateY(16px); }

.stat-title {
  margin: 0;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0;
}

.stat-value {
  color: var(--lime);
}

.stat-graph-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}

.stat-badge {
  border: 1px solid rgba(209, 250, 91, 0.7);
  color: var(--lime);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.82rem;
  white-space: nowrap;
}

.stat-graph {
  width: 100%;
  height: 120px;
  margin-top: auto;
  display: block;
}

.stat-detail {
  margin: auto 0 0;
  color: var(--muted);
}

.stat-meters {
  list-style: none;
  margin: auto 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.stat-meters li {
  display: grid;
  gap: 0.28rem;
  color: white;
  font-size: 0.92rem;
}

.meter {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #0066d8;
}

.stat-kicker,
.story-date {
  margin: 0;
  color: var(--lime);
  font-size: 0.78rem;
}

.stat-value {
  margin: 0.15rem 0;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label,
.sample-note {
  margin: 0;
  color: var(--muted);
}

.sample-note {
  margin-top: 2.4rem;
  font-size: 0.92rem;
}

.section {
  padding: 5.5rem 0;
}

.section h2,
.interior h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 16em;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.5rem;
  align-items: center;
}

.about-panel {
  padding: 1.4rem;
}

.about-panel img {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.about-panel p,
.child-card p {
  margin: 0;
  color: var(--muted);
}

.about-grid .btn-lime {
  margin-top: 0.5rem;
}

.child-grid,
.news-layout,
.footer-groups {
  display: grid;
  gap: 1rem;
}

.child-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.child-card,
.news-card {
  color: inherit;
  text-decoration: none;
}

.child-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.3rem;
  min-height: 100%;
}

.child-card img {
  width: 88px;
  height: 88px;
}

.child-card h3,
.story-title {
  margin: 0;
  font-size: 1.35rem;
}

.card-cta {
  margin-top: auto;
  color: var(--lime);
  font-weight: 600;
}

.child-card:hover,
.news-card:hover {
  border-color: rgba(209, 250, 91, 0.65);
}

.news-layout {
  display: block;
}

.news-scroller {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-top: 1.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  height: auto;
  padding: 0.2rem 0.2rem 0.8rem;
  cursor: grab;
}

.news-scroller.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.news-scroller::-webkit-scrollbar {
  height: 8px;
  width: 8px;
}

.news-scroller::-webkit-scrollbar-thumb {
  background: rgba(209, 250, 91, 0.5);
  border-radius: 99px;
}

.news-scroller .news-card {
  scroll-snap-align: start;
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
  padding: 0.75rem;
}

.news-index .news-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 0.9rem;
  align-items: center;
  padding: 0.7rem;
}

.news-card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  border-radius: 14px;
  pointer-events: none;
}

.news-index .news-card img {
  height: 112px;
}

.news-card span {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.story-summary {
  color: var(--muted);
}

.interior {
  padding: 4.2rem 0 5rem;
}

.interior-wrap {
  max-width: 860px;
}

.interior-hero {
  width: min(100%, 820px);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  margin: 0.5rem 0 1.2rem;
}

.interior-hero.is-logo {
  width: 148px;
  height: 148px;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

.fact-list,
.link-row,
.footer-groups ul,
.footer-groups h2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0;
}

.fact-list li {
  padding: 0.85rem 1rem;
}

.contact-facts a {
  color: var(--lime);
  text-decoration: none;
}

.auth-popup {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  border: 0;
  background: transparent;
  color: white;
}

.auth-popup:not([open]) {
  display: none;
}

.auth-popup[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-popup::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: auth-fade 0.22s ease;
}

.auth-popup-card {
  position: relative;
  width: min(440px, 100%);
  padding: 1.4rem 1.35rem 1.2rem;
  border-radius: 22px;
  background: rgba(8, 10, 14, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: auth-rise 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-popup-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.8rem;
  letter-spacing: -0.03em;
}

.auth-popup-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.auth-popup-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.auth-popup .auth-card {
  margin-top: 0;
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

@keyframes auth-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes auth-rise {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.auth-card {
  display: grid;
  gap: 0.8rem;
  max-width: 440px;
  margin-top: 1.2rem;
  padding: 1.2rem;
}

.auth-card label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.auth-card input,
.auth-card textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 0.65rem 0.75rem;
}

.auth-card button {
  border: 0;
  cursor: pointer;
}

.auth-card p,
.auth-card a {
  margin: 0;
  color: var(--muted);
}

.cabinet-layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.cabinet-menu {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem;
}

.cabinet-item,
.cabinet-group-toggle {
  display: flex;
  align-items: center;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: white;
  font: inherit;
  text-align: start;
  text-decoration: none;
  padding: 0.68rem 0.8rem;
  cursor: pointer;
}

.cabinet-item:hover,
.cabinet-group-toggle:hover,
.cabinet-item.is-current {
  background: rgba(0, 102, 216, 0.18);
}

.cabinet-item.is-current {
  color: #8abdff;
}

.cabinet-caret {
  width: 0.45rem;
  height: 0.45rem;
  margin-left: auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
}

.cabinet-group-toggle[aria-expanded="true"] .cabinet-caret {
  transform: rotate(45deg) translateY(-2px);
}

.cabinet-sub {
  display: grid;
  gap: 0.1rem;
  padding: 0.1rem 0 0.35rem 0.75rem;
}

.cabinet-sub .cabinet-item {
  font-size: 0.92rem;
}

.cabinet-panel {
  padding: 1.4rem 1.5rem 1.6rem;
  min-height: 18rem;
}

.cabinet-panel h1 {
  margin: 0 0 0.4rem;
  font-size: 1.7rem;
}

.cabinet-empty {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.account-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-top: -2.7rem;
  margin-bottom: 0.6rem;
}

.account-plus {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  padding: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.account-card {
  max-width: 760px;
}

.account-rows {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.account-card input[readonly] {
  color: rgba(255, 255, 255, 0.86);
}

.account-companies {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}

.account-companies button,
.account-card button.account-company {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: white;
  text-align: left;
  padding: 0.65rem 0.8rem;
  cursor: pointer;
}

.account-companies button.is-current {
  border-color: var(--lime);
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
}

.account-table th,
.account-table td {
  padding: 0.4rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  font-size: 0.86rem;
  vertical-align: top;
}

.account-table th {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.cabinet-back {
  margin-top: 0;
  margin-bottom: 1rem;
}

.cabinet-quiet {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .cabinet-layout {
    grid-template-columns: 1fr;
  }

  .account-toolbar {
    margin-top: 0.4rem;
  }
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.news-index {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.38);
  padding: 3rem 0 2.2rem;
}

.footer-inner {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.footer-brand {
  max-width: 36rem;
  margin-bottom: 1.8rem;
}

.footer-brand p {
  margin: 0.9rem 0 0.4rem;
  color: var(--muted);
}

.footer-mail {
  color: var(--lime);
  text-decoration: none;
}

.footer-groups {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.footer-groups h2 {
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.footer-groups a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

.footer-groups a:hover {
  color: var(--lime);
}

.footer-groups ul {
  display: grid;
  gap: 0.35rem;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

@media (max-width: 1199.98px) {
  .brand img {
    height: 54px;
  }

  .menu-link,
  .btn-ghost,
  .btn-lime {
    font-size: 0.86rem;
    padding-inline: 0.65rem;
  }
}

@media (max-width: 991.98px) {
  .header-bar {
    display: flex;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .auth-desktop {
    display: none;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 0.8rem 1rem 1.1rem;
    background: rgba(8, 10, 12, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.is-open .auth-mobile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
  }

  .menu-item:hover > .mega,
  .menu-item:focus-within > .mega,
  .mega {
    display: none;
  }

  .site-nav.is-open .menu-item > .mega {
    display: block;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
    padding-top: 0.35rem;
    margin: 0 0 0.6rem;
  }

  .site-nav.is-open .mega-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .site-nav.is-open .mega-links,
  .site-nav.is-open .mega-sub {
    border-left: 0;
  }

  .site-nav.is-open .mega-sub-links {
    display: flex;
    min-height: 0;
  }

  .site-nav.is-open .mega-sub-label {
    display: block;
  }

  .mega-visual {
    min-height: 160px;
  }

  .about-grid,
  .child-grid,
  .news-layout,
  .footer-groups,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2),
  .stat-card:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 575.98px) {
  .news-index .news-card {
    grid-template-columns: 1fr;
  }

  .news-scroller .news-card {
    flex-basis: 78vw;
  }

  .hero {
    text-align: left;
  }

  .lede {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-card:nth-child(1),
  .stat-card:nth-child(2),
  .stat-card:nth-child(3) {
    transform: none;
  }

  .header-shade {
    transition: none;
  }

  .hero-slider-card,
  .status-card,
  .registry-card,
  .contact-card {
    animation: none;
  }
}

.portal-home {
  display: grid;
  gap: 4.5rem;
  padding-bottom: 4rem;
}

.hero-slider {
  margin-top: calc(-1 * var(--header-h));
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 1.5rem) 0 3rem;
}

.hero-slider-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 1.5rem;
  padding: 1.6rem 1.6rem 5.6rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at 78% 42%, rgba(48, 137, 246, 0.45), transparent 28%),
    linear-gradient(120deg, rgba(0, 42, 108, 0.55), rgba(0, 102, 216, 0.28));
  overflow: hidden;
}

.hero-slider-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 70%);
  pointer-events: none;
}

.hero-copy,
.hero-art {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  margin: 0 0 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
}

.hero-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 38rem;
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  background: #ffffff;
  color: #0b2248;
  font-weight: 600;
  text-decoration: none;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.62rem 1.15rem;
  background: #0066d8;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  border: 0;
}

.hero-art {
  display: grid;
  place-items: center;
}

.orbit {
  width: min(280px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  position: relative;
}

.orbit span {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #8abdff;
}

.orbit span:nth-child(1) { top: 12%; left: 18%; background: #d1fa5b; }
.orbit span:nth-child(2) { top: 20%; right: 16%; }
.orbit span:nth-child(3) { bottom: 18%; left: 22%; background: #36d4aa; }
.orbit span:nth-child(4) { bottom: 22%; right: 14%; background: #0066d8; }

.orbit-icon {
  width: 112px;
  height: 112px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: rgba(8, 24, 64, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.slider-controls {
  position: absolute;
  z-index: 3;
  left: 1.6rem;
  bottom: 4.6rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.slider-controls button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.2);
  color: white;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 0.35rem;
  width: 92px;
}

.slider-dots i {
  display: block;
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.slider-dots i.is-current {
  background: #ffffff;
}

.portal-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: -3.2rem 0.6rem 0;
}

.portal-stat {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 0.9rem;
}

.portal-stat b {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.portal-stat span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.86rem;
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: none;
  background: #0066d8;
}

.stat-icon.is-teal { background: #00c9cc; }
.stat-icon.is-green { background: #36d4aa; color: #06241c; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.1rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.section-head p {
  max-width: 28rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.status-card,
.registry-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
  min-height: 250px;
}

.status-card h3,
.registry-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.status-card p,
.registry-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 102, 216, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.status-card .card-icon {
  background: #fff;
  overflow: hidden;
}

.status-card .card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-meta {
  margin: 0;
  color: #8abdff;
  font-size: 0.86rem;
}

a.status-card {
  color: inherit;
  text-decoration: none;
}

a.status-card:hover {
  border-color: rgba(138, 189, 255, 0.75);
}

.status-card .card-copy {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  color: #8abdff;
  text-decoration: none;
  font-weight: 600;
}

.program-page {
  padding: 1.5rem 0 4rem;
}

.program-detail-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 28px;
}

.program-detail-card.is-plain {
  grid-template-columns: minmax(0, 42rem);
}

.program-detail-copy h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.program-detail-copy p {
  margin: 0 0 1.25rem;
  white-space: pre-wrap;
  color: rgba(255, 255, 255, 0.84);
}

.program-detail-media {
  min-height: 240px;
  border-radius: 22px;
  overflow: hidden;
  background: #071427;
  display: grid;
  place-items: center;
}

.program-detail-media img,
.program-detail-media video {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: #071427;
}

.program-apply {
  cursor: pointer;
}

.program-showcase {
  display: grid;
  gap: 1.35rem;
  width: min(1180px, calc(100% - 2rem));
}

.program-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.4rem 2rem;
  align-items: center;
}

.program-hero-copy {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.program-hero-icon {
  width: 4.75rem;
  height: 4.75rem;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 18px;
}

.program-hero-intro {
  min-width: 0;
  display: grid;
  justify-items: start;
  align-content: start;
}

.program-hero .program-kicker {
  color: #A5FFAF;
  font-weight: 600;
}

.program-hero h1 {
  margin: 0.15rem 0 0;
  color: white;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
  font-weight: 700;
}

.program-hero-about {
  margin: 0.7rem 0 0;
  color: rgba(232, 241, 255, 0.88);
}

.program-hero-lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.program-hero-lead p {
  margin: 0;
  color: rgba(232, 241, 255, 0.88);
}

.program-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.program-hero-stats button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 28, 64, 0.45);
  color: #d7e6fb;
  padding: 0.32rem 0.7rem;
  cursor: pointer;
}

.program-hero-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(140, 176, 220, 0.28);
  background: #07111f;
}

.program-hero-frame video,
.program-hero-frame img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  background: #07111f;
}

.program-hero-frame figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin: 0;
  padding: 0.5rem 0.8rem 0.6rem;
  color: rgba(232, 241, 255, 0.82);
  font-size: 0.84rem;
}

.program-hero-frame figcaption b {
  font-weight: 600;
}

.program-hero-apply {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  margin-top: 0.75rem;
  border: 0;
  border-radius: 999px;
  background: white;
  color: #16325c;
  font: inherit;
  font-weight: 650;
  padding: 0.85rem 1rem;
  cursor: pointer;
}

.program-hero-apply:hover,
.program-hero-apply:focus-visible {
  background: #e7f1ff;
}

.program-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.program-pills button,
.program-side-list button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(8, 28, 64, 0.55);
  color: #d7e6fb;
  padding: 0.42rem 0.8rem;
  cursor: pointer;
}

.program-pills button.is-current {
  background: #ffffff;
  border-color: #ffffff;
  color: #10284d;
}

.program-pill-icon {
  width: 1.15rem;
  text-align: center;
  font-size: 0.85rem;
}

.program-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: 1rem;
  align-items: start;
}

.program-main {
  display: grid;
  gap: 0.9rem;
}

.program-section,
.program-side {
  border: 1px solid rgba(140, 176, 220, 0.22);
  border-radius: 22px;
  background: rgba(7, 28, 62, 0.78);
  padding: 1rem 1.05rem 1.1rem;
}

.program-side {
  display: grid;
  gap: 0.85rem;
  align-content: start;
  background: #071a36;
  position: sticky;
  top: calc(var(--header-h) + 0.8rem);
}

.program-side-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #2b86f0 0%, #0d63c8 100%);
}

.program-side-icon {
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  object-fit: contain;
  border-radius: 12px;
  background: white;
}

.program-side-head h2 {
  margin: 0.05rem 0 0;
  color: white;
  font-size: 1.02rem;
}

.program-side-progress {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.program-side-progress p {
  margin: 0;
  color: rgba(232, 241, 255, 0.82);
  font-size: 0.86rem;
}

.program-kicker,
.program-section-no {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.program-section-head,
.program-side-title {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.program-section-head > div:not(.program-meter) {
  flex: 1;
  min-width: 0;
}

.program-section h2,
.program-side h2 {
  margin: 0.1rem 0 0.25rem;
  font-size: 1.2rem;
}

.program-section p,
.program-side p,
.program-lead {
  margin: 0;
  color: rgba(232, 241, 255, 0.84);
}

.program-section-icon {
  width: 2.3rem;
  height: 2.3rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #1d74e8;
  color: white;
  font-weight: 700;
}

.program-section-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.program-section.is-docs .program-section-icon {
  background: #1aa6a0;
}

.program-rows,
.program-docs,
.program-notices,
.program-side-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.program-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(126, 168, 224, 0.45);
  border-radius: 14px;
  background: rgba(8, 32, 72, 0.55);
  color: white;
  line-height: 1.4;
}

.program-notice-icon {
  width: 2rem;
  height: 2rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #2f7fe0;
  color: white;
}

.program-notice-icon svg {
  width: 1rem;
  height: 1rem;
  max-width: 1rem;
  min-width: 0;
  display: block;
}

.program-notice.is-warning {
  border-color: rgba(214, 158, 52, 0.75);
  background: rgba(92, 58, 14, 0.78);
}

.program-notice.is-warning .program-notice-icon {
  background: #e39b1c;
  color: #3a2508;
}

.program-item { display: grid; gap: 0.35rem; }

.program-choice-title {
  margin: 0.45rem 0 0.05rem;
  color: #d5e4f7;
  font-weight: 600;
}

.program-options {
  list-style: none;
  display: grid;
  gap: 0.28rem;
  margin: 0 0 0.2rem 2.35rem;
  padding: 0;
}

.program-options li {
  color: #c5d7ee;
  font-size: 0.92rem;
  line-height: 1.35;
}

.program-options li::before {
  content: "";
  display: inline-block;
  width: 0.48rem;
  height: 0.48rem;
  margin-right: 0.48rem;
  border: 1.5px solid rgba(158, 190, 230, 0.85);
  border-radius: 2px;
  transform: translateY(-1px);
}

.program-options.is-single li::before {
  border-radius: 50%;
}

.program-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
  width: 100%;
  text-align: left;
  border: 1px solid rgba(140, 176, 220, 0.18);
  border-radius: 14px;
  background: rgba(4, 18, 42, 0.45);
  color: #e8f1ff;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
}

.program-row b,
.program-side-list b {
  color: #9eb6d6;
  font-weight: 600;
}

.program-box {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 6px;
  border: 1.5px solid rgba(158, 190, 230, 0.7);
}

.program-row.is-on {
  border-color: #3c8dff;
}

.program-row.is-on .program-box {
  background: #1d74e8;
  border-color: #1d74e8;
  box-shadow: inset 0 0 0 2px rgba(7, 28, 62, 0.9);
}

.program-docs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.program-doc {
  display: grid;
  gap: 0.45rem;
  min-height: 7.5rem;
  align-content: start;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(16, 92, 92, 0.28);
  border: 1px solid rgba(90, 210, 200, 0.25);
}

.program-doc span {
  color: #7dffe8;
  font-size: 1.2rem;
}

.program-meter {
  --pct: 0;
  width: 4.4rem;
  height: 4.4rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#d7e8ff calc(var(--pct) * 1%), rgba(255, 255, 255, 0.18) 0);
}

.program-meter span {
  width: 3.35rem;
  height: 3.35rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0b4f9e;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.program-meter.is-small {
  width: 3.3rem;
  height: 3.3rem;
}

.program-meter.is-small span {
  width: 2.45rem;
  height: 2.45rem;
  background: #0b2348;
  font-size: 0.72rem;
}

.program-side .program-meter span {
  background: #071a36;
}

.program-side .btn-blue {
  width: 100%;
}

.program-side-list button {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
  background: transparent;
  text-align: left;
}

.program-side-list button > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.program-side-list button.is-current {
  background: rgba(255, 255, 255, 0.14);
}

.program-media {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 14px;
  background: #071427;
}

.program-page.is-apply {
  background: #071833;
  min-height: calc(100vh - var(--header-h));
  padding-bottom: 3rem;
}

.apply-layout {
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 1.75rem 2.25rem;
  align-items: start;
  padding-top: 0.4rem;
}

.apply-nav {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.apply-progress-label {
  margin: 0;
  color: #d7e6f8;
  font-size: 0.95rem;
}

.apply-progress {
  height: 3px;
  margin: 0.15rem 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.apply-progress span {
  display: block;
  height: 100%;
  background: #7eb6ff;
}

.apply-nav-list {
  display: grid;
  gap: 0.2rem;
}

.apply-nav button {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #d5e4f7;
  text-align: left;
  padding: 0.48rem 0.6rem;
  cursor: pointer;
}

.apply-nav button.is-current {
  background: var(--lime);
  color: white;
}

.apply-num {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lime);
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
}

.apply-nav button.is-current .apply-num {
  background: white;
  color: var(--lime);
}

.apply-main h1 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

.apply-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1.15rem;
}

.apply-identity {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
}

.apply-identity-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem 1.15rem;
}

.phone-line {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.45rem;
  position: relative;
}

.phone-code,
.phone-menu button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(140, 176, 220, 0.35);
  border-radius: 12px;
  background: rgba(8, 24, 52, 0.72);
  color: white;
  font: inherit;
  cursor: pointer;
}

.phone-code {
  padding: 0.72rem 0.75rem;
  white-space: nowrap;
}

.phone-flag {
  font-size: 1.15rem;
  line-height: 1;
}

.phone-menu {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.35rem);
  left: 0;
  width: min(24rem, 100%);
  max-height: 16rem;
  overflow: auto;
  display: grid;
  gap: 0.25rem;
  padding: 0.45rem;
  border: 1px solid rgba(140, 176, 220, 0.35);
  border-radius: 14px;
  background: #0e1c31;
}

.phone-menu button {
  width: 100%;
  justify-content: flex-start;
  padding: 0.4rem 0.55rem;
  background: transparent;
}

.phone-menu button[aria-selected="true"],
.phone-menu button:hover {
  background: rgba(0, 102, 216, 0.45);
}

.apply-field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.apply-repeat,
.apply-group {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  min-width: 0;
}

.apply-fields > .apply-repeat.is-wide,
.apply-group {
  grid-column: 1 / -1;
}

.apply-group-copy {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(213, 228, 247, 0.18);
  border-radius: 14px;
}

.apply-plus {
  justify-self: start;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(158, 197, 255, 0.7);
  border-radius: 999px;
  background: transparent;
  color: #9ec5ff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.apply-field.is-wide {
  grid-column: 1 / -1;
}

.apply-label {
  color: #d5e4f7;
  font-size: 0.92rem;
}

.apply-label abbr {
  margin-left: 0.2rem;
  color: #ff5d73;
  text-decoration: none;
}

.apply-field input[type="text"],
.apply-field input[type="number"],
.apply-field input[type="date"],
.apply-field input[type="url"],
.apply-field input[type="file"],
.apply-field textarea,
.apply-field select {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.35);
  background: rgba(8, 24, 52, 0.72);
  color: white;
  padding: 0.72rem 0.85rem;
}

.apply-field input[type="date"] {
  color-scheme: dark;
}

.apply-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.apply-money {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(7.5rem, 0.8fr);
  gap: 0.5rem;
}

.apply-money.is-lari {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.apply-money.is-lari b,
.apply-contract b {
  color: #d5e4f7;
  font-size: 1.15rem;
}

.apply-stack {
  display: grid;
  gap: 0.55rem;
}

.apply-contract {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(7rem, 0.7fr) auto;
  gap: 0.5rem;
  align-items: center;
}

.apply-add {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #9ec5ff;
  padding: 0;
  cursor: pointer;
}

.apply-info {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(8, 24, 52, 0.55);
}

.apply-info p {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
}

.program-note {
  display: grid;
  gap: 0.25rem;
  margin: 0.75rem 0 0;
  white-space: pre-wrap;
}

.apply-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #9ec5ff 50%), linear-gradient(135deg, #9ec5ff 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.apply-choice {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #e8f1ff;
}

.apply-choice input {
  width: auto;
  accent-color: var(--lime);
}

.apply-submit {
  margin-top: 1.25rem;
}

.apply-fee-note {
  margin: 0.2rem 0 0;
  color: #d7e6f8;
  line-height: 1.5;
}

.apply-gate {
  width: 100%;
  border: 1px solid rgba(140, 176, 220, 0.45);
  border-radius: 14px;
  background: rgba(12, 36, 74, 0.72);
  color: white;
  padding: 0.9rem 1rem;
  text-align: left;
  line-height: 1.45;
  cursor: pointer;
}

.apply-terms-note {
  margin: 0 0 0.55rem;
  color: #ffd5d8;
  line-height: 1.5;
}

.apply-gate.is-pending {
  border-color: rgba(255, 150, 160, 0.8);
  background: rgba(226, 59, 74, 0.28);
  color: #ffe8ea;
}

.apply-gate:disabled {
  cursor: default;
  opacity: 0.72;
}

.apply-gate.is-done {
  border-color: rgba(46, 204, 140, 0.85);
  background: rgba(46, 204, 140, 0.38);
}

.apply-gate-state {
  margin: 0.4rem 0 0;
  color: #8ee0b8;
}

.terms-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(3, 10, 24, 0.72);
}

.terms-dialog {
  display: flex;
  flex-direction: column;
  width: min(40rem, 100%);
  max-height: min(36rem, calc(100vh - 2.4rem));
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 18px;
  background: #0c1c36;
  color: white;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.terms-dialog h2 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.terms-scroll {
  overflow: auto;
  flex: 1 1 auto;
  min-height: 8rem;
  max-height: 22rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: rgba(5, 16, 36, 0.72);
  white-space: pre-wrap;
  line-height: 1.55;
}

.terms-actions {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.85rem;
}

.terms-actions .btn-blue:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.terms-close {
  border: 0;
  background: transparent;
  color: #c5d7ef;
  cursor: pointer;
}

.apply-shell {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.apply-form,
.apply-category {
  display: grid;
  gap: 0.85rem;
}

.apply-category {
  padding: 1rem 1.1rem;
}

.apply-form h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.apply-form label,
.apply-choice {
  display: grid;
  gap: 0.35rem;
}

.apply-choice {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
}

.apply-form input,
.apply-form select,
.apply-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: white;
  padding: 0.65rem 0.75rem;
}

.apply-note { color: #ffb4b4; margin: 0; }

.apply-company-pick {
  display: grid;
  gap: 0.4rem;
}

.apply-company-trigger,
.apply-company-menu button {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.35);
  background: rgba(8, 24, 52, 0.72);
  color: white;
  padding: 0.72rem 2.2rem 0.72rem 0.85rem;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.apply-company-trigger {
  position: relative;
}

.apply-company-trigger::after {
  content: "";
  position: absolute;
  right: 0.95rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid #9ec5ff;
  border-bottom: 2px solid #9ec5ff;
  transform: translateY(-70%) rotate(45deg);
}

.apply-company-menu {
  display: grid;
  gap: 0.35rem;
}

.apply-company-menu button {
  padding-right: 0.85rem;
}

.apply-company-menu button:hover,
.apply-company-menu button[aria-selected="true"] {
  border-color: #9ec5ff;
  background: rgba(0, 102, 216, 0.45);
}

.apply-add-company {
  justify-self: start;
  cursor: pointer;
}
.apply-done { color: #b6f0d2; margin: 0; }

.auth-switch {
  margin-top: 0.85rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8abdff;
  cursor: pointer;
}

.registry-card .card-link {
  color: #7aee9b;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 28px;
}

.contact-card h2 {
  margin: 0 0 0.35rem;
}

.contact-card .lede {
  margin: 0 0 1rem;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.45rem;
}

.contact-list a {
  text-decoration: none;
}

.contact-map {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(138, 189, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 189, 255, 0.16) 1px, transparent 1px),
    linear-gradient(160deg, #06315f, #0a4e96);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.contact-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  top: 42%;
  left: 62%;
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  color: white;
}

.map-pin i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 8px rgba(0, 102, 216, 0.45);
}

.faq-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}

.faq-list article {
  padding: 1rem 1.1rem;
}

@media (max-width: 991.98px) {
  .hero-slider-card,
  .contact-card,
  .card-grid,
  .portal-stats,
  .program-detail-card,
  .program-detail-card.is-plain,
  .apply-layout,
  .apply-fields,
  .apply-identity-fields,
  .program-hero,
  .program-board,
  .program-docs {
    grid-template-columns: 1fr;
  }

  .program-side { position: static; }

  .portal-stats {
    margin-top: 1rem;
  }

  .section-head {
    display: grid;
  }
}

body.staff-body main {
  padding-top: 0;
}

.staff-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 3rem;
}

.staff-shell h1,
.staff-card h2 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.7rem;
}

.staff-kicker,
.staff-status {
  margin: 0;
  color: #8abdff;
  font-size: 0.92rem;
}

.staff-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.staff-card,
.staff-note {
  padding: 1.15rem 1.25rem;
}

.staff-list,
.staff-thread,
.staff-actions {
  display: grid;
  gap: 0.85rem;
}

.staff-list a {
  color: white;
  text-decoration: none;
}

.staff-list a:hover {
  color: #8abdff;
}

.staff-test {
  display: inline-block;
  margin: 0 0 0.45rem;
  border: 1px solid #0066d8;
  color: #8abdff;
  border-radius: 999px;
  padding: 0.05rem 0.65rem;
  font-size: 0.8rem;
}

.staff-flash {
  margin: 0 0 1rem;
  color: white;
}

.staff-choice {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.staff-choice input {
  width: auto;
}

.staff-assign summary {
  width: fit-content;
  cursor: pointer;
  list-style: none;
}

.staff-assign summary::-webkit-details-marker {
  display: none;
}

.staff-actions .btn-lime,
.staff-actions .btn-ghost,
.staff-top .btn-ghost {
  cursor: pointer;
}

.published-programs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.program-card {
  padding: 1.15rem 1.25rem;
}

.program-card h3 {
  margin: 0;
  font-size: 1.25rem;
}

.published-programs-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.program-diagrams {
  display: grid;
  gap: 0.8rem;
  margin-top: 0.85rem;
  overflow-x: auto;
}

.benefit-chart {
  display: grid;
  gap: 0.85rem;
  min-width: 640px;
  padding: 1.1rem 1.15rem 1rem;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0) 0 0 / 18px 18px,
    linear-gradient(165deg, #1660c4 0%, #0d4ea8 42%, #0c3f8c 100%);
}

.benefit-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-chart-title {
  display: block;
  width: 100%;
  margin: 0;
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.benefit-chart-lead {
  display: block;
  width: min(100%, 38rem);
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
  line-height: 1.45;
}

.benefit-chart-plot {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.35rem 0.7rem;
  align-items: end;
}

.benefit-chart-axis {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  height: 168px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
}

.benefit-chart-groups {
  display: grid;
  grid-template-columns: 3fr 3fr 4fr;
  gap: 0.85rem;
  height: 168px;
  align-items: end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.benefit-chart-group {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.4rem;
  height: 100%;
  align-items: end;
}

.benefit-chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
}

.benefit-chart-col.is-current i,
.benefit-chart-col:hover i,
.benefit-chart-col:focus-visible i {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.88);
  filter: brightness(1.12);
}

.benefit-chart-col b {
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.benefit-chart-col i {
  display: block;
  width: min(100%, 2.8rem);
  min-height: 6px;
  border-radius: 8px 8px 2px 2px;
}

.benefit-chart-group.is-mint i { background: linear-gradient(180deg, #8dffdf, #2fce9a); }
.benefit-chart-group.is-teal i { background: linear-gradient(180deg, #6ff3ee, #12b8b8); }
.benefit-chart-group.is-blue i { background: linear-gradient(180deg, #9ec2ff, #2f78ef); }

.benefit-chart-col span {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.benefit-chart-legend,
.benefit-chart-cards,
.benefit-chart-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.benefit-chart-legend p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-weight: 700;
}

.benefit-chart-legend p.is-mint { background: #2fce9a; color: #063326; }
.benefit-chart-legend p.is-teal { background: #14c4c4; color: #042f2f; }
.benefit-chart-legend p.is-blue { background: #2f78ef; color: white; }

.benefit-chart-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-radius: 16px;
  background: rgba(5, 24, 58, 0.35);
}

.benefit-chart-mark {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 50%;
  background: #12386e;
  color: white;
  font-weight: 700;
}

.benefit-chart-status-value {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 700;
  white-space: nowrap;
}

.benefit-chart-status-title,
.benefit-chart-status-note,
.benefit-chart-card strong,
.benefit-chart-card span {
  display: block;
  margin: 0;
}

.benefit-chart-status-note,
.benefit-chart-status-hint,
.benefit-chart-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
}

.benefit-chart-status-hint {
  margin: 0.3rem 0 0;
}

.benefit-chart-card,
.benefit-chart-benefit {
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
}

.benefit-chart-card { background: rgba(6, 28, 68, 0.42); }

.benefit-chart-card-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
}

.benefit-chart-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: white;
}

.benefit-chart-benefit.is-mint { background: linear-gradient(180deg, #3dce7a, #1ea85e); }
.benefit-chart-benefit.is-teal { background: linear-gradient(180deg, #1ec4c0, #0e9494); }
.benefit-chart-benefit.is-blue { background: linear-gradient(180deg, #2d78ea, #1557c4); }

.benefit-chart-icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
}

.benefit-chart-icon svg { display: block; }

.program-faq {
  display: grid;
  gap: 0.55rem;
}

.program-faq-item {
  border: 1px solid rgba(140, 176, 220, 0.28);
  border-radius: 14px;
  background: rgba(6, 24, 56, 0.45);
}

.program-faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 0;
  background: transparent;
  color: white;
  font: inherit;
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1rem;
  cursor: pointer;
}

.program-faq-item button i {
  width: 0.5rem;
  height: 0.5rem;
  flex: none;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg);
}

.program-faq-item.is-open button i {
  transform: rotate(225deg);
  margin-top: 0.25rem;
}

.program-faq-answer {
  margin: 0;
  padding: 0 1rem 0.95rem;
  color: rgba(232, 241, 255, 0.86);
  line-height: 1.5;
}

.deadline {
  display: grid;
  gap: 1.2rem;
  color: white;
}

.deadline-head {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.deadline-badge {
  width: 2.7rem;
  height: 2.7rem;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #2f86f6;
  color: white;
}

.deadline-badge svg,
.deadline-node svg {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
}

.deadline-no {
  margin: 0;
  color: #8eb6ff;
  font-size: 0.78rem;
  font-weight: 700;
}

.deadline-title {
  margin: 0.05rem 0 0;
  color: white;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
}

.deadline-summary {
  margin: 0.3rem 0 0;
  color: rgba(232, 241, 255, 0.82);
}

.deadline-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.deadline-steps li {
  position: relative;
  min-width: 0;
}

.deadline-steps li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: calc(50% + 1.75rem);
  width: calc(100% - 3.5rem);
  border-top: 1.5px dashed rgba(255, 255, 255, 0.55);
}

.deadline-node {
  width: 3.1rem;
  height: 3.1rem;
  margin: 0 auto 0.75rem;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: #0d315f;
  position: relative;
  z-index: 1;
}

.deadline-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  line-height: 1.45;
}

.deadline-calc {
  display: grid;
  grid-template-columns: minmax(11rem, 14rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  border: 1px dashed rgba(186, 214, 255, 0.55);
  border-radius: 18px;
  padding: 0.85rem;
}

.deadline-picker {
  display: grid;
  align-content: center;
  gap: 0.35rem;
}

.deadline-prompt {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

.deadline-date-label {
  color: white;
  font-weight: 700;
  font-size: 0.98rem;
}

.deadline-picker input[type="date"] {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(4, 16, 40, 0.45);
  color: white;
  color-scheme: dark;
  padding: 0.7rem 0.75rem;
  font: inherit;
}

.deadline-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
}

.deadline-card {
  display: grid;
  align-content: space-between;
  gap: 0.55rem;
  min-height: 6.2rem;
  border-radius: 14px;
  padding: 0.7rem 0.65rem 0.75rem;
  background: rgba(4, 18, 44, 0.28);
  border-left: 3px solid var(--deadline-tone, #3b82f6);
}

.deadline-card.is-blue { --deadline-tone: #3b82f6; }
.deadline-card.is-teal { --deadline-tone: #14b8a6; }
.deadline-card.is-red { --deadline-tone: #fb7185; }
.deadline-card.is-violet { --deadline-tone: #e879f9; }

.deadline-card span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  line-height: 1.35;
}

.deadline-card b {
  color: var(--deadline-tone);
  font-size: 0.98rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .deadline-calc,
  .deadline-steps { grid-template-columns: 1fr; }
  .deadline-cards { grid-template-columns: 1fr 1fr; }
  .deadline-steps li:not(:last-child)::before { display: none; }
}

.staff-form {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: start;
  margin: 0.8rem 0 1rem;
}

.staff-form-nav {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.staff-form-nav a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.45rem;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

.staff-form-nav span {
  display: grid;
  place-items: center;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  flex: none;
}

.staff-form-category + .staff-form-category { margin-top: 1.3rem; }

.staff-form-category h2 { margin: 0 0 0.8rem; font-size: 1.2rem; }

.staff-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 0.9rem;
}

.staff-form-field { display: grid; align-content: start; gap: 0.4rem; min-width: 0; }
.staff-form-field.is-wide { grid-column: 1 / -1; }
.staff-form-label, .staff-form-field > strong { color: #d5e4f7; font-size: 0.92rem; }

.staff-form-value,
.staff-form-lines,
.staff-form-note {
  margin: 0;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.35);
  background: rgba(8, 24, 52, 0.72);
  padding: 0.72rem 0.85rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.staff-form-value { min-height: 2.7rem; }

.staff-form-file {
  display: flex;
  align-items: center;
  min-height: 2.7rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.35);
  background: rgba(8, 24, 52, 0.72);
  color: #9ec5ff;
  padding: 0.72rem 0.85rem;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.staff-form-file:hover { color: white; }
.staff-form-value.is-long { min-height: 7rem; }
.staff-form-lines, .staff-form-choices { list-style: none; margin: 0; padding: 0.35rem; display: grid; gap: 0.35rem; }
.staff-form-lines li, .staff-form-choices li { border-radius: 10px; padding: 0.45rem 0.7rem; }
.staff-form-choices { border: 1px solid rgba(140, 176, 220, 0.28); border-radius: 12px; background: rgba(8, 24, 52, 0.35); }
.staff-form-choices li[data-selected] { background: rgba(0, 102, 216, 0.28); box-shadow: inset 3px 0 0 #8abdff; }

@media (max-width: 860px) {
  .staff-form, .staff-form-fields { grid-template-columns: 1fr; }
}

.app-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 1rem;
  align-items: start;
}

.app-review-side { display: grid; gap: 0.75rem; }

.app-side-card {
  border: 1px solid rgba(130, 168, 220, 0.22);
  border-radius: 18px;
  background: rgba(8, 20, 42, 0.72);
  padding: 0.9rem;
}

.app-side-card h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.8rem;
  font-size: 0.98rem;
}

.app-side-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
  flex: none;
}

.app-action-details > summary { list-style: none; cursor: pointer; }
.app-action-details > summary::-webkit-details-marker { display: none; }

.app-action {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  margin: 0 0 0.45rem;
  padding: 0.58rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 176, 220, 0.28);
  background: rgba(6, 16, 36, 0.72);
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.app-action svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.app-action-details[open] > .app-action { border-color: rgba(59, 130, 246, 0.75); background: rgba(0, 102, 216, 0.2); }

.app-action-panel { display: grid; gap: 0.45rem; margin: 0 0.1rem 0.65rem; }

.app-action-panel textarea {
  display: block;
  width: 100%;
  min-height: 5rem;
  margin-top: 0.3rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 176, 220, 0.35);
  background: rgba(8, 24, 52, 0.72);
  color: white;
  padding: 0.55rem 0.65rem;
}

.app-action-save {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: #0066d8;
  color: white;
  padding: 0.4rem 0.85rem;
  cursor: pointer;
}

.app-history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }

.app-history li {
  display: grid;
  gap: 0.1rem;
  padding-left: 0.8rem;
  border-left: 2px solid rgba(59, 130, 246, 0.55);
}

.app-history time, .app-side-empty, .app-history p { margin: 0; color: #8ea4c4; font-size: 0.84rem; }

@media (max-width: 980px) {
  .app-review { grid-template-columns: 1fr; }
}

.mine { display: grid; gap: 0.9rem; }

.mine-kicker {
  margin: 0.4rem 0 0;
  color: #9eb6d6;
  font-size: 0.82rem;
  font-weight: 700;
}

.mine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.mine-card,
.mine-counts article,
.mine-feed article {
  border: 1px solid rgba(130, 168, 220, 0.22);
  border-radius: 16px;
  background: rgba(8, 20, 40, 0.72);
  padding: 0.85rem 0.9rem;
}

.mine-card { position: relative; }

.mine-card:has(.mine-delete) { padding-right: 3.1rem; }

button.mine-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(226, 59, 74, 0.18);
  color: #ff8d98;
  cursor: pointer;
}

button.mine-delete svg { width: 1rem; height: 1rem; }

button.mine-delete:disabled { opacity: 0.55; cursor: default; }

.mine-card > button.mine-delete {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
}

.mine-card h2,
.mine-feed h2 { margin: 0.15rem 0; font-size: 1rem; }

.mine-kind,
.mine-code,
.mine-stage,
.mine-feed p { margin: 0; }

.mine-kind { color: #8eb6ff; font-size: 0.78rem; font-weight: 700; }

.mine-code,
.mine-dates,
.mine-kicker { color: #8ea4c4; }

.mine-stage { margin-top: 0.45rem; font-size: 0.82rem; font-weight: 700; }

.mine-card[data-tone="fix"] .mine-stage { color: #f0c14a; }
.mine-card[data-tone="rejected"] .mine-stage { color: #ff8d98; }
.mine-card[data-tone="granted"] .mine-stage,
.mine-card[data-tone="confirmed"] .mine-stage { color: #7dffe8; }
.mine-card[data-tone="review"] .mine-stage { color: #9ec5ff; }
.mine-card[data-tone="draft"] .mine-stage { color: #f3d48a; }

.mine-track {
  height: 0.35rem;
  margin: 0.7rem 0 0.4rem;
  border-radius: 999px;
  background: rgba(130, 168, 220, 0.18);
  overflow: hidden;
}

.mine-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f86f6;
}

.mine-card[data-tone="fix"] .mine-track span { background: #f0c14a; }
.mine-card[data-tone="rejected"] .mine-track span { background: #e23b4a; }
.mine-card[data-tone="granted"] .mine-track span,
.mine-card[data-tone="confirmed"] .mine-track span { background: #2ec8be; }

.mine-dates {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.72rem;
}

.mine-dates span:nth-child(2) { text-align: center; }

.mine-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(214, 122, 20, 0.18);
  color: #ffd59a;
}

.mine-alert a {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: #0066d8;
  color: white;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.mine-alert a:last-child { background: #d67a14; }

.mine-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.mine-counts span { display: block; color: #8ea4c4; font-size: 0.82rem; }

.mine-counts strong { font-size: 1.6rem; }

.mine-table-wrap { overflow-x: auto; }

.mine-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.mine-table th,
.mine-table td {
  padding: 0.75rem 0.55rem;
  border-bottom: 1px solid rgba(130, 168, 220, 0.16);
  text-align: left;
  vertical-align: middle;
}

.mine-table th { color: #8ea4c4; font-size: 0.8rem; font-weight: 600; }

.mine-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #9ec5ff;
}

.mine-pill::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: currentColor;
}

.mine-pill[data-tone="fix"] { color: #f0c14a; }
.mine-pill[data-tone="rejected"] { color: #ff8d98; }
.mine-pill[data-tone="granted"],
.mine-pill[data-tone="confirmed"] { color: #7dffe8; }
.mine-pill[data-tone="draft"] { color: #f3d48a; }

.mine-actions { display: flex; gap: 0.4rem; white-space: nowrap; }

.mine-actions a {
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(0, 102, 216, 0.2);
  color: #d5e6ff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.mine-actions a.is-fix { background: #d67a14; color: white; }

.mine-feed { display: grid; gap: 0.7rem; }

.mine-feed h2 { font-size: 1rem; }

.menu-count {
  display: inline-block;
  min-width: 1.3rem;
  margin-left: 0.4rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: #e23b4a;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.notice-list { display: grid; gap: 0.7rem; }

.notice-list article[data-unread],
.mine-feed article[data-unread] { background: rgba(46, 204, 140, 0.18); }

@media (max-width: 800px) {
  .mine-counts { grid-template-columns: 1fr 1fr; }
}

