@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  --ink: #10100e;
  --panel: #171714;
  --panel-light: #1e1e19;
  --line: #35342a;
  --gold: #e7ba58;
  --gold-bright: #f4d381;
  --navy: #101b35;
  --navy-light: #1b2c50;
  --paper: #f0eee7;
  --muted: #9c9a8f;
  --mono: 'DM Mono', monospace;
  --display: 'Oxanium', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--paper);
  background-color: var(--ink);
  background-image: radial-gradient(ellipse at 78% 8%, rgba(231, 186, 88, .13), transparent 32%), radial-gradient(ellipse at 4% 72%, rgba(31, 55, 99, .42), transparent 40%), linear-gradient(130deg, #090a0d 0%, #111827 54%, #0c0c0a 100%), repeating-linear-gradient(0deg, transparent 0, transparent 47px, rgba(255,255,255,.018) 48px), repeating-linear-gradient(90deg, transparent 0, transparent 47px, rgba(255,255,255,.018) 48px);
  font-family: var(--display);
  font-weight: 400;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.gold, h1 span, h2 span { color: var(--gold); }

.topbar {
  width: min(1240px, calc(100% - 72px));
  height: 88px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(231,186,88,.23);
}
.wordmark { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; line-height: 1; letter-spacing: 0; }
.wordmark small { display: block; margin-top: 6px; color: var(--muted); font: 9px var(--mono); letter-spacing: 0; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-size: 20px; font-weight: 600; }
.main-nav { display: flex; height: 100%; align-items: center; gap: 38px; }
.main-nav a { position: relative; color: #aaa89e; font-size: 13px; transition: color .18s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--paper); }
.main-nav a.active::after { position: absolute; right: 0; bottom: -34px; left: 0; height: 2px; background: var(--gold); content: ''; }
.nav-action { color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.nav-action span { margin-left: 8px; font-size: 17px; }

.home-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; width: min(1120px, calc(100% - 72px)); min-height: 540px; margin: 0 auto; padding: 48px 0 42px; }
.hero-copy { position: relative; z-index: 1; padding-left: 14px; animation: rise-in .7s ease both; }
.eyebrow { margin: 0; color: var(--gold); font: 10px var(--mono); letter-spacing: .12em; }
.status-dot, .footer-dot { display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px rgba(231,186,88,.55); }
h1, h2, h3, p { letter-spacing: 0; }
.home-hero h1 { margin: 22px 0 18px; font-size: clamp(56px, 7vw, 88px); font-weight: 600; line-height: .96; }
.hero-description { max-width: 410px; margin: 0; color: #aaa89e; font-size: 15px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 1px solid transparent; cursor: pointer; font-size: 11px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.button-gold { color: #17140c; background: linear-gradient(115deg, #d6a33a, var(--gold-bright) 58%, #d2a03a); }
.button-gold:hover { background: var(--gold-bright); }
.button-dark { color: var(--paper); background: linear-gradient(115deg, rgba(16,27,53,.52), rgba(15,15,13,.4)); border-color: var(--line); }
.button-dark:hover { border-color: var(--gold); color: var(--gold); }
.text-link, .outline-link { color: var(--paper); font-size: 12px; }
.text-link span, .outline-link span { margin-left: 8px; color: var(--gold); font-size: 17px; }
.hero-art { position: relative; min-height: 420px; display: grid; place-items: center; overflow: hidden; border-left: 1px solid rgba(231,186,88,.17); animation: rise-in .85s .1s ease both; }
.art-grid { position: absolute; inset: 0; opacity: .46; background-image: linear-gradient(rgba(231,186,88,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(231,186,88,.08) 1px, transparent 1px); background-size: 35px 35px; mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.vault-ring { position: absolute; width: min(74%, 330px); aspect-ratio: 1; border: 1px solid rgba(231,186,88,.53); border-radius: 50%; }
.ring-outer::before, .ring-outer::after { position: absolute; inset: 13px; border: 1px dashed rgba(231,186,88,.36); border-radius: 50%; content: ''; }
.ring-outer::after { inset: -18px; border-style: solid; border-color: rgba(231,186,88,.13); }
.ring-inner { width: min(54%, 242px); border-color: rgba(231,186,88,.28); box-shadow: 0 0 70px rgba(231,186,88,.08), inset 0 0 45px rgba(231,186,88,.05); }
.vault-core { position: relative; width: 112px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: radial-gradient(circle, #282315 0, #15140f 68%); box-shadow: 0 0 34px rgba(231,186,88,.12); transform: rotate(-24deg); }
.vault-core::before, .vault-core::after { position: absolute; width: 162px; height: 1px; background: rgba(231,186,88,.6); content: ''; }
.vault-core::after { transform: rotate(90deg); }
.core-dial { z-index: 1; width: 49px; aspect-ratio: 1; border: 1px solid var(--gold); border-radius: 50%; background: repeating-conic-gradient(from 6deg, transparent 0deg 17deg, rgba(231,186,88,.52) 18deg 19deg, transparent 20deg 30deg); }
.core-line { position: absolute; z-index: 2; width: 20px; height: 1px; background: var(--gold-bright); transform: translateX(10px) rotate(-35deg); transform-origin: left; }
.core-pin { position: absolute; z-index: 2; width: 6px; aspect-ratio: 1; border-radius: 50%; background: var(--gold-bright); }
.art-label { position: absolute; color: rgba(231,186,88,.77); font: 9px var(--mono); letter-spacing: .14em; }
.label-top { top: 17%; right: 11%; }.label-bottom { bottom: 13%; left: 9%; }
.art-cross { position: absolute; color: var(--gold); font: 18px var(--mono); opacity: .7; }.cross-one { top: 23%; left: 15%; }.cross-two { right: 18%; bottom: 19%; }
.home-strip { width: min(1120px, calc(100% - 72px)); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.home-strip > div { min-height: 90px; display: flex; flex-direction: column; justify-content: center; gap: 9px; padding: 14px 28px; border-right: 1px solid var(--line); }
.home-strip > div:first-child { padding-left: 14px; }.home-strip > div:last-child { border-right: 0; }
.strip-label { color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.home-strip strong { color: var(--paper); font-size: 14px; font-weight: 500; }
.home-bottom { width: min(1120px, calc(100% - 72px)); margin: 0 auto; padding: 62px 14px 68px; display: flex; align-items: flex-end; justify-content: space-between; }
.home-bottom h2 { margin: 13px 0 0; font-size: 34px; font-weight: 500; line-height: 1.08; }
.outline-link { min-height: 44px; display: inline-flex; align-items: center; padding: 0 17px; border: 1px solid var(--line); font-size: 10px; }
.outline-link:hover { border-color: var(--gold); }
.site-footer { width: min(1240px, calc(100% - 72px)); min-height: 68px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); letter-spacing: .05em; }
.site-footer .footer-dot { width: 5px; height: 5px; margin: 0 8px; vertical-align: 1px; }

[hidden] { display: none !important; }
.vault-page { padding-bottom: 20px; }
.vault-app {
  width: min(1580px, calc(100% - 40px));
  min-height: min(760px, calc(100vh - 40px));
  margin: 14px auto 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(231,186,88,.3);
  background: linear-gradient(145deg, rgba(10,16,30,.98), rgba(13,13,12,.98) 66%);
  box-shadow: 0 24px 90px rgba(0,0,0,.4), 0 0 70px rgba(22,39,75,.18);
}
.vault-topbar {
  position: relative;
  flex: 0 0 48px;
  width: auto;
  height: 48px;
  margin: 0;
  padding: 0 20px;
  border-bottom-color: rgba(231,186,88,.2);
}
.vault-topbar .brand-mark { width: 30px; height: 30px; font-size: 17px; }
.vault-topbar .wordmark { gap: 9px; font-size: 13px; }
.vault-topbar .wordmark small { margin-top: 4px; font-size: 8px; }
.vault-main { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0 24px 24px; }
.vault-page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding: 21px 4px 18px; }
.vault-page-heading h1 { margin: 7px 0 0; font-size: 29px; font-weight: 500; }
.vault-page-heading > p:last-child { margin: 0 0 4px; }
.vault-sidebar { min-width: 0; display: flex; flex-direction: column; padding: 22px; border-right: 1px solid var(--line); background: linear-gradient(160deg, rgba(19,34,65,.58), rgba(14,14,12,.12) 65%); }
.vault-workspace.sidebar-collapsed { grid-template-columns: 64px minmax(0, 1fr); }
.sidebar-toggle { width: 30px; height: 30px; flex: 0 0 30px; align-self: flex-end; margin-bottom: 12px; border: 1px solid var(--line); color: var(--gold); background: rgba(15,22,39,.7); cursor: pointer; font-size: 22px; line-height: 1; }
.sidebar-toggle:hover { border-color: var(--gold); }
.sidebar-toggle span { display: inline-block; transition: transform .18s ease; }
.sidebar-collapsed .vault-sidebar { align-items: center; padding: 10px 6px; }
.sidebar-collapsed .sidebar-toggle { align-self: center; }
.sidebar-collapsed .sidebar-toggle span { transform: rotate(180deg); }
.sidebar-collapsed .access-form, .sidebar-collapsed .gate-note { display: none; }
.sidebar-collapsed .vault-link-menu { width: 100%; margin-top: 6px; }
.sidebar-collapsed .side-menu-heading { justify-content: center; }
.sidebar-collapsed .side-menu-heading > span:first-child { display: none; }
.sidebar-collapsed .link-tab { overflow: hidden; padding: 0; font-size: 0; text-align: center; }
.sidebar-collapsed .link-tab::before { content: attr(data-short-label); color: inherit; font: 11px var(--mono); }
.gate-note { margin: auto 0 0; padding-top: 20px; }
.vault-link-menu { min-height: 0; flex: 1; display: flex; flex-direction: column; margin-top: 8px; }
.side-menu-heading { min-height: 36px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }
.link-list { min-height: 0; flex: 1; display: flex; flex-direction: column; gap: 6px; overflow-x: hidden; overflow-y: auto; padding: 8px 2px 6px 0; }
.link-tab { width: 100%; min-height: 46px; flex: 0 0 auto; padding: 10px 12px; border: 1px solid transparent; color: var(--muted); background: linear-gradient(100deg, rgba(16,27,53,.42), rgba(18,18,16,.22)); cursor: pointer; font-size: 12px; text-align: left; }
.link-tab:hover, .link-tab[aria-pressed="true"] { color: var(--gold-bright); border-color: rgba(231,186,88,.55); background: linear-gradient(100deg, rgba(34,48,79,.78), rgba(31,28,18,.62)); }
.vault-display { display: flex; flex-direction: column; padding: 24px; }
.vault-display .empty-state { flex: 1; }
.vault-display .unlocked-head { flex: 0 0 auto; margin-bottom: 20px; }
.vault-display .frame-wrap { flex: 1; min-height: 320px; height: auto; }
.vault-display .frame-wrap iframe { min-height: 0; flex: 1; }

.page-main, .contact-main { width: min(1120px, calc(100% - 72px)); margin: 0 auto; }
.page-heading { padding: 58px 14px 32px; }
.page-heading.vault-page-heading { padding: 21px 4px 18px; }
.page-heading.vault-page-heading h1 { font-size: 29px; }
.page-heading.vault-page-heading > p:last-child { margin: 0 0 4px; }
.page-heading h1, .contact-heading h1 { margin: 14px 0 8px; font-size: clamp(43px, 6vw, 64px); font-weight: 600; line-height: 1; }
.page-heading > p:last-child, .contact-heading > p:last-child { margin: 13px 0 0; color: var(--muted); font-size: 14px; }
.vault-workspace { flex: 1; min-height: min(560px, calc(100vh - 220px)); display: grid; grid-template-columns: 300px minmax(0, 1fr); border: 1px solid var(--line); background: linear-gradient(120deg, rgba(8,15,32,.94), rgba(17,17,14,.97) 74%); }
.access-form { display: flex; flex-direction: column; gap: 10px; }
.access-form .button { align-self: flex-start; margin-top: 9px; }
.section-topline { min-height: 28px; display: flex; align-items: center; justify-content: space-between; }
.section-topline h2, .section-topline h3 { margin: 0; color: var(--muted); font: 10px var(--mono); letter-spacing: .08em; }
.count-chip { min-width: 25px; padding: 5px 7px; border: 1px solid var(--line); color: var(--gold); text-align: center; font: 10px var(--mono); }
.micro-copy { color: #858378; font-size: 11px; line-height: 1.65; }
.vault-display { position: relative; min-width: 0; min-height: 0; padding: 26px; background: linear-gradient(145deg, rgba(22,35,64,.25), rgba(11,11,10,.45) 62%); }
.empty-state { min-height: 365px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-lock { width: 46px; height: 42px; position: relative; margin-bottom: 25px; border: 1px solid rgba(231,186,88,.65); background: rgba(231,186,88,.06); }
.empty-lock::before { position: absolute; width: 22px; height: 22px; left: 11px; top: -19px; border: 1px solid var(--gold); border-bottom: 0; border-radius: 14px 14px 0 0; content: ''; }
.empty-lock span { position: absolute; left: 20px; top: 14px; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.empty-state h2 { margin: 11px 0; font-size: 27px; font-weight: 500; line-height: 1.12; }
.empty-state > p:last-child { max-width: 300px; margin: 2px 0; color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); font-size: 12px; }
.unlock-panel { max-width: 400px; margin: 46px auto; }
.unlock-panel h2 { margin: 10px 0 5px; font-size: 28px; font-weight: 500; }
.unlock-panel > p { color: var(--muted); font-size: 12px; }
.unlock-form { display: flex; gap: 8px; margin-top: 22px; }
.unlock-form input { min-width: 0; flex: 1; }
.form-error { min-height: 18px; color: #ee8877 !important; }
.unlocked-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.unlocked-head h2 { margin: 7px 0 4px; font-size: 25px; font-weight: 500; }
.unlocked-head p { margin: 0; color: var(--muted); font-size: 12px; }
.lock-button { flex: 0 0 auto; padding: 8px 10px; border: 1px solid var(--line); color: var(--muted); background: transparent; cursor: pointer; font: 9px var(--mono); }
.frame-wrap { position: relative; min-height: 260px; height: min(52vw, 410px); border: 1px solid var(--line); background: #0c0c0b; }
.frame-wrap iframe { width: 100%; height: 100%; border: 0; background: white; }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.field-label { margin-top: 9px; color: var(--muted); font: 9px var(--mono); letter-spacing: .07em; }
.field-label span { float: right; color: #737168; }
input, textarea { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; color: var(--paper); background: linear-gradient(115deg, #111a2b, #171714 72%); font-family: var(--display); font-size: 13px; }
textarea { min-height: 130px; padding: 13px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #69685f; }
.form-message { min-height: 18px; margin: 0; color: var(--gold); font-size: 12px; }

.contact-main { min-height: calc(100vh - 156px); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 48px 14px 72px; }
.contact-heading { min-width: 0; }
.contact-heading h1 { margin-top: 22px; font-size: clamp(54px, 7vw, 78px); }
.contact-heading > p:last-child { max-width: 370px; margin-top: 20px; line-height: 1.8; }
.contact-form { padding: 28px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(20,34,63,.76), rgba(23,23,20,.88) 65%); }
.contact-form .button { align-self: flex-start; margin-top: 12px; }
.contact-form .micro-copy { margin: 0; }

@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .topbar { width: calc(100% - 36px); height: 72px; }
  .main-nav { gap: 18px; }.main-nav a { font-size: 12px; }.main-nav a.active::after { bottom: -27px; }
  .nav-action { display: none; }
  .home-hero, .home-strip, .home-bottom, .site-footer, .page-main, .contact-main { width: calc(100% - 36px); }
  .home-hero { grid-template-columns: 1fr; gap: 10px; padding: 64px 0 25px; }
  .hero-copy { padding-left: 4px; }.home-hero h1 { font-size: clamp(58px, 15vw, 82px); }
  .hero-art { min-height: 310px; border-left: 0; }.vault-ring { width: min(68%, 290px); }.ring-inner { width: min(49%, 210px); }
  .home-strip { grid-template-columns: 1fr; }.home-strip > div, .home-strip > div:first-child { min-height: 70px; padding: 12px 14px; border-right: 0; border-bottom: 1px solid var(--line); }.home-strip > div:last-child { border-bottom: 0; }
  .home-bottom { padding: 46px 4px 52px; }
  .site-footer { min-height: 68px; gap: 12px; font-size: 8px; }
  .page-heading { padding: 45px 4px 24px; }
  .vault-workspace { grid-template-columns: 1fr; }
  .vault-display { min-height: 360px; padding: 20px 14px; }.empty-state { min-height: 310px; }.unlock-panel { margin: 25px auto; }
  .contact-main { min-height: unset; grid-template-columns: 1fr; gap: 34px; padding: 58px 4px 68px; }.contact-heading h1 { font-size: 58px; }.contact-form { min-width: 0; padding: 20px; }
    .vault-app { width: calc(100% - 20px); min-height: calc(100vh - 20px); margin: 10px auto 20px; }
    .vault-topbar { width: auto; height: 48px; flex-basis: 48px; padding: 0 15px; }
    .vault-main { padding: 0 12px 12px; }
    .vault-page-heading { align-items: flex-start; flex-direction: column; gap: 8px; padding: 18px 4px 14px; }
    .vault-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 430px) {
  .brand-mark { width: 31px; height: 31px; }.wordmark { gap: 8px; font-size: 13px; }.main-nav { gap: 12px; }.main-nav a { font-size: 11px; }
  .home-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }.contact-heading h1 { font-size: 42px; }
    .vault-topbar { height: 48px; flex-basis: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

.vault-page {
  width: 100%;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}
.vault-app {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  box-shadow: none;
}
.vault-topbar {
  z-index: 1;
  flex-basis: 52px;
  height: 52px;
  gap: 20px;
  padding: 0 18px;
  background: linear-gradient(100deg, #121b2d, #11110f 72%);
}
.vault-current-name {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--gold-bright);
  font: 10px var(--mono);
  letter-spacing: .08em;
  text-align: center;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.vault-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vault-top-actions a,
.vault-top-actions button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--paper);
  background: rgba(15, 22, 39, .55);
  cursor: pointer;
  font: 9px var(--mono);
  white-space: nowrap;
}
.vault-top-actions a:hover,
.vault-top-actions button:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}
.vault-top-actions span { color: var(--gold); font-size: 13px; }
.vault-main {
  flex: 1;
  min-height: 0;
  padding: 0;
}
.vault-access-panel {
  width: min(390px, calc(100% - 40px));
  margin: auto;
  padding: 28px;
  border: 1px solid rgba(231, 186, 88, .3);
  background: linear-gradient(145deg, rgba(20, 34, 63, .82), rgba(15, 15, 13, .96) 75%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}
.vault-access-panel h1 {
  margin: 10px 0 6px;
  font-size: 30px;
  font-weight: 500;
}
.access-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 12px;
}
.vault-access-panel .access-form { gap: 8px; }
.vault-access-panel .access-form .button { align-self: flex-start; margin-top: 6px; }
.vault-access-panel .micro-copy { margin: 18px 0 0; }
.vault-workspace {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  border: 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(8, 15, 32, .94), rgba(17, 17, 14, .97) 74%);
}
.vault-workspace.sidebar-collapsed { grid-template-columns: 58px minmax(0, 1fr); }
.vault-sidebar {
  min-height: 0;
  padding: 10px;
}
.sidebar-toggle {
  width: 28px;
  height: 28px;
  align-self: flex-end;
  margin-bottom: 4px;
}
.sidebar-collapsed .vault-sidebar { padding: 8px 5px; }
.vault-link-menu { min-height: 0; flex: 1; }
.side-menu-heading { min-height: 30px; }
.link-list { padding-top: 4px; }
.link-tab { min-height: 40px; }
.vault-display {
  min-width: 0;
  min-height: 0;
  display: flex;
  padding: 0;
}
.vault-display .frame-wrap {
  min-width: 0;
  min-height: 0;
  height: auto;
  flex: 1;
  border: 0;
}
.vault-display .frame-wrap iframe {
  display: block;
  min-height: 0;
}

@media (max-width: 760px) {
  .vault-topbar { gap: 8px; padding: 0 9px; }
  .vault-topbar .wordmark { gap: 6px; font-size: 11px; }
  .vault-topbar .wordmark small { font-size: 7px; }
  .vault-current-name { font-size: 8px; }
  .vault-top-actions { gap: 4px; }
  .vault-top-actions a, .vault-top-actions button { min-height: 30px; gap: 4px; padding: 0 6px; font-size: 8px; }
  .vault-workspace { grid-template-columns: 190px minmax(0, 1fr); }
  .vault-workspace.sidebar-collapsed { grid-template-columns: 52px minmax(0, 1fr); }
}