/* Generated by scripts/bundle-app-assets.mjs (`npm run bundle:assets`) — do not edit.
 * One request instead of 3: the stylesheets below, concatenated in their original
 * order and semantics. The parts stay the source of truth; `npm run check:public-page`
 * fails if this file and the parts disagree. */

/* ---- public/assets/css/main.css (sha256 8fcced7116a4) ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-a: #090909;
  --bg-b: #151515;
  --shell: #111111;
  --shell-soft: #171717;
  --shell-border: rgba(132, 149, 140, 0.2);
  --sidebar: #0d0d0d;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --panel-hover: rgba(255, 255, 255, 0.075);
  --text: #f2f4f3;
  /* --text-soft and --text-muted are checked against every surface they are painted on,
     including the animated background shining through the translucent shells: see
     scripts/check-contrast.mjs (`npm run check:contrast`). */
  --text-soft: rgba(242, 244, 243, 0.82);
  --text-muted: rgba(216, 222, 218, 0.8);
  --accent: #63ffab;
  --accent-soft: #2abf73;
  --cyan: #8de8c0;
  --violet: #75d89f;
  --success: #8cffbe;
  --warning: #d8ff7b;
  --danger: #ff8a8a;
  --shadow-xl: 0 34px 90px rgba(0, 0, 0, 0.52);
  --shadow-lg: 0 18px 44px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

html,
body {
  min-height: 100%;
  font-family: "Segoe UI Variable", "Segoe UI", "Helvetica Neue", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at top right, rgba(99, 255, 171, 0.05), transparent 28%),
    linear-gradient(160deg, var(--bg-a) 0%, var(--bg-b) 100%);
}

body {
  padding: 36px 20px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 3px, 32px 32px;
  opacity: 0.18;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.86) 0%, rgba(4, 4, 4, 0.58) 34%, rgba(4, 4, 4, 0.74) 100%),
    url("../img/space-background.webp") right center / cover no-repeat;
  opacity: 0.48;
}

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

button {
  border: 0;
}

.site-shell {
  width: min(1720px, calc(100vw - 40px));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.app-frame {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    var(--shell);
  border: 1px solid var(--shell-border);
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}

.app-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.035), transparent 38%);
}

.site-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 34px 22px 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.022), transparent 36%),
    var(--sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  color: var(--text);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 18px rgba(99, 255, 171, 0.18);
}

.sidebar-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
}

.sidebar-nav {
  flex: 1;
}

.nav-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  background: linear-gradient(90deg, rgba(99, 255, 171, 0.14), rgba(42, 191, 115, 0.05));
  color: var(--text);
  transform: translateX(2px);
  box-shadow: inset 0 0 0 1px rgba(99, 255, 171, 0.08);
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(99, 255, 171, 0.6);
}

.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 26%),
    var(--shell-soft);
}

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

.topbar-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.topbar-title {
  margin-top: 8px;
  max-width: 720px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.nav-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.security-toggle,
.language-button,
.footer-link,
.primary-button,
.secondary-button,
.text-link {
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.security-toggle,
.language-button,
.footer-link,
.secondary-button,
.text-link {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.security-toggle,
.language-button {
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switcher {
  display: flex;
  gap: 6px;
}

.language-button {
  min-width: 46px;
}

.language-button.is-active,
.primary-button,
.tool-actions button {
  background: linear-gradient(135deg, rgba(99, 255, 171, 0.9) 0%, rgba(42, 191, 115, 0.92) 100%);
  color: #041008;
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(42, 191, 115, 0.18);
}

.security-toggle:hover,
.language-button:hover,
.footer-link:hover,
.primary-button:hover,
.secondary-button:hover,
.text-link:hover,
.tool-actions button:hover {
  transform: translateY(-1px);
}

.user-info-bar {
  display: none;
  margin-bottom: 18px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-lg);
}

.user-info-bar.is-open {
  display: block;
}

.security-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.security-panel-text h3 {
  margin-top: 8px;
  font-size: 1.02rem;
}

.security-panel-text p {
  margin-top: 8px;
  color: var(--text-soft);
  max-width: 760px;
  line-height: 1.55;
}

.eyebrow,
.card-kicker,
.tool-option-kicker {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
}

.info-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.info-chip {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.info-chip-label {
  display: block;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  margin-bottom: 8px;
}

.info-chip-value {
  display: block;
  color: var(--text);
  font-weight: 600;
  word-break: break-word;
}

.site-main {
  flex: 1;
  min-width: 0;
}

.content-section {
  display: none;
}

.content-section.visible {
  display: block;
}

.section-inner {
  width: 100%;
}

.section-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(12, 12, 12, 0.92);
  box-shadow: var(--shadow-lg);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(480px, 1.1fr) minmax(560px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy-card,
.hero-stage {
  min-height: 460px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: clip;
}

.hero-copy-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.hero-title {
  margin-top: 14px;
  padding-bottom: 0.12em;
  font-size: clamp(3.3rem, 4.6vw, 5.8rem);
  line-height: 1.01;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-title span {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(99, 255, 171, 0.16);
}

.hero-lead {
  margin-top: 14px;
  max-width: 540px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 1rem;
}

.whoami-block {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(99, 255, 171, 0.12);
  background: rgba(7, 11, 9, 0.72);
}

.whoami-label {
  display: block;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  margin-bottom: 6px;
}

.whoami-code {
  color: var(--accent);
  font-size: 0.82rem;
  line-height: 1.5;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.primary-button,
.secondary-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
}

.hero-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
}

.hero-stage {
  position: relative;
  padding: 22px;
  background:
    linear-gradient(rgba(99, 255, 171, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(99, 255, 171, 0.08), transparent 34%),
    linear-gradient(160deg, rgba(18, 18, 18, 0.94), rgba(10, 10, 10, 0.98));
  background-size: 100% 24px, 24px 100%, auto, auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stage-glow {
  position: absolute;
  inset: auto 10% 6% 10%;
  height: 90px;
  border-radius: 999px;
  background: rgba(99, 255, 171, 0.12);
  filter: blur(34px);
}

.feature-spotlight,
.feature-tile,
.feature-list {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.feature-spotlight {
  min-height: 180px;
  padding: 22px;
  background:
    radial-gradient(circle at 30% 24%, rgba(99, 255, 171, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(16, 16, 16, 0.94));
}

.feature-spotlight h3,
.feature-tile h3,
.feature-list h3,
.mini-card h3,
.tools-summary h3 {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.feature-spotlight p,
.feature-tile p,
.feature-list p,
.mini-card p,
.tools-summary p {
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.9rem;
}

.feature-spotlight .card-kicker,
.feature-tile .card-kicker,
.feature-list .card-kicker {
  color: rgba(246, 247, 255, 0.58);
}

.feature-tile {
  min-height: 220px;
  padding: 22px;
}

.tile-one {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(18, 18, 18, 0.94));
}

.tile-two {
  background: linear-gradient(180deg, rgba(89, 214, 255, 0.28), rgba(34, 56, 83, 0.62));
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
}

.feature-list ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.feature-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.feature-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-card,
.tools-summary {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
}

.hero-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.mini-card {
  min-height: 150px;
}

.mini-card p:last-child,
.tools-summary p:last-child {
  margin-top: 10px;
}

.tools-summary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tools-summary-wide {
  grid-column: 1 / -1;
}

.tool-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tool-pill {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.82rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-heading p:last-child {
  margin-top: 10px;
  max-width: 420px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.92rem;
}

.content-grid {
  display: grid;
  gap: 14px;
}

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

.two-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.project-card,
.article-card,
.contact-card,
.tool-option {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
}

.info-card h3,
.project-card h3,
.article-card h3,
.contact-card h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.info-card p,
.project-card p:last-child,
.article-card p,
.contact-card p {
  margin-top: 8px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.9rem;
}

.icon-chip {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 255, 171, 0.08);
  border: 1px solid rgba(99, 255, 171, 0.12);
  color: var(--accent);
  font-size: 0.92rem;
  flex: 0 0 auto;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 16px;
}

.profile-summary-card,
.certification-panel {
  padding: 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.024);
}

.profile-summary-header,
.detail-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-summary-text {
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 18px;
}

.profile-table {
  display: grid;
  gap: 12px;
}

.profile-row,
.timeline-meta-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-key,
.timeline-meta-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.profile-value {
  color: var(--text);
  font-weight: 600;
  line-height: 1.5;
}

.profile-value-stack {
  display: grid;
  gap: 4px;
}

.profile-value-stack span {
  display: block;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.detail-card {
  min-height: 100%;
}

.detail-card-wide {
  grid-column: 1 / -1;
}

.experience-timeline {
  display: grid;
  gap: 14px;
}

.timeline-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
}

.timeline-marker {
  position: relative;
  display: flex;
  justify-content: center;
}

.timeline-marker::after {
  content: "";
  position: absolute;
  top: 42px;
  bottom: -20px;
  width: 1px;
  background: linear-gradient(180deg, rgba(99, 255, 171, 0.26), transparent);
}

.experience-timeline .timeline-card:last-child .timeline-marker::after {
  display: none;
}

.timeline-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.timeline-role-tag {
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-soft);
  font-size: 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.timeline-content h3 {
  margin-top: 8px;
}

.timeline-content p:last-of-type {
  margin-top: 8px;
}

.timeline-meta-grid {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.education-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.education-main-card {
  min-height: 100%;
}

.hobby-card {
  min-height: 100%;
}

.certification-panel {
  grid-column: 1 / -1;
}

.certification-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.cert-group {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.cert-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.cert-tag {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: rgba(99, 255, 171, 0.08);
  border: 1px solid rgba(99, 255, 171, 0.12);
  color: var(--text);
  font-size: 0.8rem;
}

.tools-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.tool-option {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tool-option:hover {
  background: var(--panel-hover);
  border-color: rgba(99, 255, 171, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.tool-option-title {
  font-size: 0.98rem;
}

.tool-option-text {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

#toolContent {
  margin-top: 16px;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
  color: var(--text-soft);
}

#toolContent textarea,
#toolContent input,
#toolContent select,
#toolContent button {
  width: 100%;
  max-width: 720px;
  margin: 10px 0;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(99, 255, 171, 0.1);
  background: rgba(4, 14, 9, 0.9);
  color: var(--text);
}

#toolContent textarea:focus,
#toolContent input:focus,
#toolContent select:focus {
  outline: none;
  border-color: rgba(99, 255, 171, 0.28);
  box-shadow: 0 0 0 3px rgba(99, 255, 171, 0.08);
}

.tool-label {
  display: inline-block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 700;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.tool-actions button {
  width: auto;
  min-width: 170px;
  border-radius: 12px;
  min-height: 44px;
  font-weight: 700;
}

.tool-status,
.password-preview {
  margin-top: 8px;
  color: var(--text-muted);
}

.tool-output {
  width: 100%;
  max-width: 100%;
  min-height: 82px;
  margin-top: 10px;
  padding: 16px;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid rgba(99, 255, 171, 0.08);
  background: rgba(4, 14, 9, 0.82);
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.tool-embed-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.tool-embed-header p {
  margin-top: 8px;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.5;
}

.tool-embed-note {
  margin-bottom: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(99, 255, 171, 0.08);
  background: rgba(8, 18, 12, 0.58);
  color: var(--text-soft);
  line-height: 1.5;
}



.tool-launch-link {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tool-launch-link:hover {
  transform: translateY(-1px);
  background: rgba(99, 255, 171, 0.1);
  border-color: rgba(99, 255, 171, 0.16);
}

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

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin: 10px 0 14px;
  max-width: 720px;
}

.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
}

.checkbox-grid input {
  width: auto;
  margin: 0;
  padding: 0;
}

.tool-canvas {
  display: block;
  max-width: 100%;
  margin-top: 16px;
  border-radius: 16px;
  overflow: hidden;
}

.strength-meter {
  width: 100%;
  max-width: 720px;
  height: 12px;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: rgba(99, 255, 171, 0.08);
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  width: 0;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.strength-meter-fill[data-strength="not tested"],
.strength-meter-fill[data-strength="not-tested"] {
  background: rgba(255, 255, 255, 0.24);
}

.strength-meter-fill[data-strength="weak"] {
  background: var(--danger);
}

.strength-meter-fill[data-strength="moderate"] {
  background: var(--warning);
}

.strength-meter-fill[data-strength="strong"] {
  background: var(--success);
}

.strength-summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 720px;
  gap: 12px;
  margin-bottom: 10px;
}

.password-results-list {
  margin: 10px 0 18px;
  padding-left: 20px;
  max-width: 720px;
}

.password-results-list li {
  margin-bottom: 6px;
}

.password-results-list .is-pass {
  color: var(--success);
}

.password-results-list .is-fail {
  color: #ffb7b7;
}

.text-link {
  width: fit-content;
  margin-top: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-link {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}

[data-lab-only="true"] {
  display: none !important;
}

body.lab-mode .nav-list li [data-lab-only="true"] {
  display: flex !important;
}

body.lab-mode .footer-links [data-lab-only="true"] {
  display: inline-flex !important;
}

body.lab-mode .content-section[data-lab-only="true"] {
  display: none;
}

body.lab-mode .content-section.visible[data-lab-only="true"] {
  display: block !important;
}

@media (min-width: 1800px) {
  .site-shell {
    width: min(1880px, calc(100vw - 56px));
  }

  .app-frame {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .app-main {
    padding: 34px;
  }

  .hero-shell {
    grid-template-columns: minmax(560px, 1.08fr) minmax(680px, 0.92fr);
  }
}

@media (max-width: 1180px) {
  .app-frame {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .profile-layout,
  .education-layout,
  .hero-shell,
  .hero-stage-grid,
  .three-columns,
  .tools-container {
    grid-template-columns: 1fr;
  }

  .profile-detail-grid,
  .certification-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  body {
    padding: 0;
  }

  body::after {
    background:
      linear-gradient(180deg, rgba(4, 4, 4, 0.78) 0%, rgba(4, 4, 4, 0.62) 42%, rgba(4, 4, 4, 0.86) 100%),
      url("../img/space-background-small.webp") 72% center / cover no-repeat;
    opacity: 0.42;
  }

  .site-shell {
    width: 100%;
  }

  .app-frame {
    grid-template-columns: 92px minmax(0, 1fr);
    min-height: 100vh;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .site-sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 0;
    padding: 14px 10px;
    position: relative;
    background:
      linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(14, 14, 14, 0.92));
    backdrop-filter: blur(16px);
  }

  .sidebar-label,
  .sidebar-footer {
    display: none;
  }

  .sidebar-nav {
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
    flex: 1;
  }

  .nav-list {
    display: grid;
    gap: 8px;
    width: 100%;
  }

  .nav-list a {
    min-height: 52px;
    padding: 8px 6px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .logo {
    font-size: 1.5rem;
    text-align: center;
  }

  .topbar,
  .security-panel-header,
  .profile-detail-grid,
  .hero-shell,
  .hero-stage-grid,
  .two-columns,
  .three-columns,
  .tools-container,
  .site-footer {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    gap: 18px;
  }

  .topbar-title {
    max-width: none;
    font-size: 1.1rem;
  }

  .app-main {
    padding: 18px;
  }

  .hero-copy-card,
  .hero-stage {
    min-height: auto;
  }

  .hero-copy-card,
  .hero-stage,
  .section-panel {
    border-radius: 20px;
  }

  .nav-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .security-toggle {
    flex: 1 1 170px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .hero-lead {
    max-width: none;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .tool-pill-row {
    gap: 8px;
  }

  .tool-embed-header {
    display: grid;
    grid-template-columns: 1fr;
  }


  .profile-row,
  .timeline-meta-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  body::after {
    background:
      linear-gradient(180deg, rgba(4, 4, 4, 0.72) 0%, rgba(4, 4, 4, 0.56) 34%, rgba(4, 4, 4, 0.88) 100%),
      url("../img/space-background-small.webp") 76% center / cover no-repeat;
    opacity: 0.38;
  }

  .app-frame {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .site-sidebar,
  .app-main,
  .hero-copy-card,
  .hero-stage,
  .section-panel {
    padding: 14px;
  }

  .topbar {
    gap: 14px;
  }

  .topbar-label {
    font-size: 0.66rem;
  }

  .topbar-title {
    font-size: 1rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-actions,
  .nav-actions,
  .footer-links {
    grid-template-columns: 1fr;
    display: grid;
  }

  .nav-list a {
    min-height: 48px;
    font-size: 0.62rem;
  }

  .language-switcher {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-actions button,
  .primary-button,
  .secondary-button,
  .security-toggle,
  .language-button,
  .footer-link,
  .tool-launch-link {
    width: 100%;
  }

  .tools-container,
  .hero-stage-grid {
    grid-template-columns: 1fr;
  }


  .timeline-card {
    grid-template-columns: 1fr;
  }

  .timeline-marker {
    justify-content: flex-start;
  }

  .timeline-marker::after {
    display: none;
  }

  .site-footer {
    gap: 12px;
  }
}

/* ------------------------------------------------------------------
   Acessibilidade: indicador de foco por teclado.
   Usa o verde de acento ja definido em :root, sem alterar a paleta.
   ------------------------------------------------------------------ */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* o navegador so deve desenhar o anel no foco por teclado */
:where(a, button, input, select, textarea, [tabindex]):focus:not(:focus-visible) {
  outline: none;
}

/* ------------------------------------------------------------------
   Item 25: "saltar para o conteudo". Fora do ecra ate receber foco;
   e o primeiro elemento focavel de cada pagina (ver Base.astro).
   ------------------------------------------------------------------ */
.skip-link {
  position: fixed;
  top: 0;
  left: 12px;
  z-index: 40;
  transform: translateY(-140%);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--accent);
  color: #041008;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  transition: transform 0.16s ease;
}

/* :focus-visible para o teclado; :focus porque o foco programatico e o clique tambem ca chegam. */
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}

/* ------------------------------------------------------------------
   Item 24: destinos da pagina 404, um bloco por idioma. O layout e
   so isto: as ligacoes usam o botao secundario ja existente.
   ------------------------------------------------------------------ */
.not-found-languages {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.not-found-group {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.not-found-title {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.not-found-lead {
  margin-top: 6px;
  max-width: 520px;
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.9rem;
}

.not-found-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* ---- public/assets/css/wall.css (sha256 2902f1fccd66) ---- */
/* Sections, language links and tool buttons after the move to static pages. */

a.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

button.tool-option {
  font: inherit;
  color: inherit;
  text-align: left;
}

.tool-option[aria-pressed="true"] {
  border-color: rgba(99, 255, 171, 0.3);
  background: rgba(99, 255, 171, 0.06);
}

/* The lab-only nav item is hidden on the <li> so it leaves no gap. */
body.lab-mode .nav-list li[data-lab-only="true"] {
  display: list-item !important;
}

/* Without JavaScript, a #hash link still shows its section. */
.content-section:target {
  display: block;
}

.site-main:has(.content-section:target) .content-section.visible:not(:target) {
  display: none;
}

body.js .content-section:target:not(.visible) {
  display: none;
}

.content-section h2:focus,
.content-section:focus {
  outline: none;
}

.topbar-title {
  margin: 0;
}

/* ---------- Wall ---------- */

.wall-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.wall-filters[hidden] {
  display: none;
}

.wall-filter {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wall-filter:hover {
  color: var(--text);
  border-color: rgba(99, 255, 171, 0.2);
}

.wall-filter[aria-pressed="true"] {
  color: #041008;
  background: linear-gradient(135deg, rgba(99, 255, 171, 0.9) 0%, rgba(42, 191, 115, 0.92) 100%);
  border-color: transparent;
}

.wall-filter:focus-visible,
.wall-title a:focus-visible,
.tool-option:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.wall-filter-divider {
  width: 1px;
  height: 22px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.12);
}

.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.wall-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.wall-card[hidden] {
  display: none;
}

.wall-card:hover {
  border-color: rgba(99, 255, 171, 0.16);
  background: var(--panel-hover);
}

.wall-card.is-pinned {
  border-color: rgba(99, 255, 171, 0.2);
  background:
    linear-gradient(160deg, rgba(99, 255, 171, 0.07), rgba(99, 255, 171, 0) 60%),
    rgba(255, 255, 255, 0.022);
}

@media (min-width: 1181px) {
  .wall-grid .wall-card.is-pinned {
    grid-column: span 2;
  }
}

.wall-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wall-date {
  margin-left: auto;
  letter-spacing: 0.06em;
}

.wall-type {
  color: var(--cyan);
}

.wall-status,
.wall-pinned,
.wall-lang {
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wall-status-active {
  color: var(--accent);
  border-color: rgba(99, 255, 171, 0.3);
}

.wall-status-shipped {
  color: var(--warning);
  border-color: rgba(216, 255, 123, 0.28);
}

.wall-status-archived {
  color: var(--text-muted);
}

.wall-pinned {
  color: var(--text);
}

.wall-title {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.wall-title a {
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
}

.wall-title a:hover {
  color: var(--accent);
}

.wall-summary {
  color: var(--text-soft);
  line-height: 1.5;
  font-size: 0.9rem;
}

.wall-card-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.wall-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.wall-tags .cert-tag {
  min-height: 26px;
  font-size: 0.74rem;
}

.wall-lang {
  color: var(--text-muted);
  min-height: 26px;
}

.wall-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wall-actions .text-link {
  margin-top: 0;
  min-height: 38px;
  font-size: 0.84rem;
}

.wall-empty {
  padding: 20px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
}

.wall-empty[hidden] {
  display: none;
}

/* ---------- Latest items on the home page ---------- */

/* Fills the free cell next to the last focus card. */
.latest-panel {
  justify-content: flex-start;
}

.latest-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.latest-heading .text-link {
  margin-top: 0;
  min-height: 36px;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.latest-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.wall-card-compact {
  padding: 10px 14px;
  gap: 4px;
  border-radius: 14px;
}

.wall-card-compact .wall-title {
  font-size: 0.9rem;
}

.latest-panel .wall-card-compact .wall-title {
  margin-top: 0;
}

.wall-card-compact .wall-card-top {
  font-size: 0.64rem;
}

/* ---------- Post page ---------- */

.post-article {
  max-width: 760px;
}

.post-back {
  margin-top: 0;
  margin-bottom: 18px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.post-body {
  margin-top: 26px;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.post-body > * + * {
  margin-top: 1em;
}

.post-body h2,
.post-body h3 {
  color: var(--text);
  margin-top: 1.6em;
  letter-spacing: -0.02em;
}

.post-body a {
  color: var(--accent);
}

.post-body ul,
.post-body ol {
  padding-left: 1.4em;
}

.post-body code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.post-body pre {
  padding: 16px;
  border-radius: 12px;
  background: rgba(4, 14, 9, 0.82);
  overflow-x: auto;
}

.post-body pre code {
  padding: 0;
  background: none;
}

.post-body blockquote {
  padding-left: 16px;
  border-left: 3px solid rgba(99, 255, 171, 0.4);
}

@media (max-width: 560px) {
  .latest-heading {
    flex-direction: column;
  }

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

.section-heading h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* ---- public/assets/css/background.css (sha256 eb9d8527682e) ---- */
/* Animated background and the settings menu that controls it. */

.site-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.site-background[hidden] {
  display: none;
}

/* Let the background show through the main surfaces. The alpha is high enough that even the
   brightest stroke the animated background can paint at its maximum level (rgba(99, 255, 171,
   0.9), see scripts/check-contrast.mjs) leaves 4.5:1 for every text colour on top of it. */
:root {
  --shell: rgba(17, 17, 17, 0.55);
  --sidebar: rgba(13, 13, 13, 0.62);
  --shell-soft: rgba(23, 23, 23, 0.62);
}

.section-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    rgba(12, 12, 12, 0.45);
}

.hero-stage {
  background:
    linear-gradient(rgba(99, 255, 171, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    radial-gradient(circle at top right, rgba(99, 255, 171, 0.08), transparent 34%),
    linear-gradient(160deg, rgba(18, 18, 18, 0.42), rgba(10, 10, 10, 0.52));
  background-size: 100% 24px, 24px 100%, auto, auto;
}

/* ---------- whoami typing ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whoami-code.is-typing::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  margin-left: 2px;
  vertical-align: -0.15em;
  background: var(--accent);
  animation: whoami-caret 1s steps(1) infinite;
}

@keyframes whoami-caret {
  50% {
    opacity: 0;
  }
}

/* ---------- Settings menu ---------- */

.settings-menu {
  position: relative;
}

.settings-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.settings-toggle:hover,
.settings-toggle[aria-expanded="true"] {
  color: var(--accent);
  border-color: rgba(99, 255, 171, 0.24);
}

.settings-toggle:hover {
  transform: translateY(-1px);
}

.settings-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(330px, calc(100vw - 32px));
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(99, 255, 171, 0.14);
  background: rgba(10, 13, 11, 0.96);
  box-shadow: var(--shadow-lg);
}

.settings-panel[hidden] {
  display: none;
}

.settings-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.settings-group {
  display: grid;
  gap: 8px;
}

.settings-label {
  color: var(--text-muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.settings-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.settings-option {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 650;
  cursor: pointer;
}

.settings-option:hover:not(:disabled) {
  color: var(--text);
  border-color: rgba(99, 255, 171, 0.2);
}

.settings-option[aria-pressed="true"] {
  color: #041008;
  border-color: transparent;
  background: linear-gradient(135deg, rgba(99, 255, 171, 0.9) 0%, rgba(42, 191, 115, 0.92) 100%);
}

.settings-option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.settings-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.86rem;
  cursor: pointer;
}

.settings-switch input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.settings-note {
  color: var(--warning);
  font-size: 0.8rem;
  line-height: 1.45;
}

.settings-note[hidden] {
  display: none;
}

.settings-toggle:focus-visible,
.settings-option:focus-visible,
.settings-switch input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
