@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-Semibold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-HeavyItalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-Heavy.otf") format("opentype");
  font-weight: 850;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-HeavyItalic.otf") format("opentype");
  font-weight: 850;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "MJA SF Display";
  src: url("./font/SF-Pro-Display-BlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: block;
}

:root {
  --bg: #dfe6ee;
  --surface: #ffffff;
  --surface-strong: #ffffff;
  --brand-blue: #1c46b4;
  --brand-yellow: #f7ed79;
  --brand-green: #63c45d;
  --brand-green-deep: #2c5a26;
  --brand-rose: #efbcc5;
  --brand-rose-deep: #c75670;
  --brand-rose-ink: #84263a;
  --ink: #101010;
  --muted: rgba(16, 16, 16, 0.62);
  --line: rgba(16, 16, 16, 0.14);
  --accent: #101010;
  --accent-warm: #101010;
  --display-font:
    "MJA SF Display",
    "SF Pro Expanded Black",
    "SF Pro Expanded",
    "SF Pro Display",
    "Helvetica Neue",
    Arial,
    sans-serif;
  --shadow: 0 28px 72px rgba(58, 72, 92, 0.18);
  --frame-max-width: 424px;
  --frame-gap: 20px;
  --frame-pad-x: 14px;
  --frame-pad-top: 18px;
  --frame-pad-bottom: 22px;
  --nav-icon-size: 30px;
  --back-icon-width: 42px;
  --display-strong-weight: 850;
  --display-stroke: 0.011em;
  --display-mobile-stroke: 0.017em;
  --hero-top-offset: clamp(18px, 2.8svh, 24px);
  --hero-title-gap: 14px;
  --contact-gap: clamp(10px, 1.25svh, 16px);
  --contact-card-pad: clamp(13px, 1.55svh, 17px);
  --contact-inner-gap: clamp(7px, 0.9svh, 9px);
  --contact-text-weight: 760;
  --contact-field-height: clamp(42px, 5.1svh, 50px);
  --contact-button-height: clamp(44px, 5.4svh, 52px);
  --contact-textarea-min: clamp(68px, 10.5svh, 116px);
  --contact-card-radius: 28px;
  --contact-field-radius: 22px;
  --contact-shadow-soft: 0 10px 24px rgba(28, 70, 180, 0.04);
  --card-clickable-shadow: none;
  --card-clickable-shadow-hover: none;
  --folder-menu-height: clamp(392px, 56svh, 492px);
  --folder-reveal-max: clamp(238px, 28svh, 286px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  background: #edf2f7;
}

body {
  min-height: 100svh;
  min-height: 100dvh;
  overflow: hidden;
  touch-action: manipulation;
  overscroll-behavior: none;
  background:
    radial-gradient(circle at top, #f3f6f9 0%, #e7edf3 34%, #d9e1ea 100%);
  color: var(--ink);
  font-family:
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.fonts-loading body {
  overflow: hidden;
}

.font-loading-screen {
  display: none;
}

html.fonts-loading .site-frame,
html.fonts-loading .secure-auth-modal,
html.fonts-loading .pdf-page-modal {
  opacity: 0;
  visibility: hidden;
}

html.fonts-loading .font-loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #f7f9fc;
  color: var(--brand-blue);
}

.font-loading-mark {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.font-loading-star {
  display: block;
  width: 76px;
  height: 76px;
  fill: currentColor;
  animation: fontLoaderPulse 1.15s ease-in-out infinite;
}

.font-loading-ring {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(28, 70, 180, 0.2);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: fontLoaderSpin 0.72s linear infinite;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes fontLoaderPulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fontLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .font-loading-star,
  .font-loading-ring {
    animation: none;
  }
}

.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;
}

.site-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(
    calc(100% - (var(--frame-gap) * 2) - var(--safe-left) - var(--safe-right)),
    var(--frame-max-width)
  );
  min-height: calc(
    100svh - (var(--frame-gap) * 2) - var(--safe-top) - var(--safe-bottom)
  );
  min-height: calc(
    100dvh - (var(--frame-gap) * 2) - var(--safe-top) - var(--safe-bottom)
  );
  margin: calc(var(--frame-gap) + var(--safe-top)) auto
    calc(var(--frame-gap) + var(--safe-bottom));
  padding: var(--frame-pad-top) var(--frame-pad-x) var(--frame-pad-bottom);
  border: 1px solid rgba(18, 26, 36, 0.08);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav-item {
  min-height: 24px;
  padding: 0;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.site-nav-item.is-active {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.screen-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.screen.is-active {
  opacity: 1;
  pointer-events: auto;
}

.screen-inner {
  height: 100%;
  overflow-y: auto;
  padding-right: 8px;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.screen-inner::-webkit-scrollbar {
  display: none;
}

.screen-home {
  overflow-x: hidden;
  overflow-y: hidden;
  padding-right: 0;
  padding-bottom: 0;
}

.screen-inner-minimal {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-right: 0;
  padding-bottom: 0;
}

.screen-inner-minimal > :not(.inner-screen-header):not(.tool-screen-header) {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.screen-inner-minimal > :not(.inner-screen-header):not(.tool-screen-header)::-webkit-scrollbar {
  display: none;
}

.screen-inner-contact {
  padding-bottom: 6px;
}

.inner-screen-header {
  display: grid;
  gap: var(--hero-title-gap);
  align-content: start;
  position: relative;
  flex: none;
  z-index: 14;
  padding-top: var(--hero-top-offset);
  padding-inline: 0;
  padding-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 78%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(12px);
}

.screen-inner-minimal .inner-screen-header {
  width: 100%;
  margin: 0;
}

.home-star,
.inner-screen-home {
  display: block;
  width: var(--nav-icon-size);
  height: var(--nav-icon-size);
  border-radius: 999px;
  color: var(--brand-blue);
}

.inner-screen-home {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: var(--back-icon-width);
  justify-self: start;
}

.home-star svg,
.inner-screen-home svg {
  display: block;
  width: 100%;
  height: 100%;
}

.home-star svg {
  fill: currentColor;
}

.screen-title-row h2,
.work-copy strong {
  margin: 0;
  letter-spacing: -0.05em;
}

.site-frame.is-home .site-header {
  display: none;
}

.site-frame.is-home {
  padding-bottom: 0;
}

.home-composition {
  position: relative;
  display: flex;
  justify-content: center;
  height: 100%;
  min-height: 100%;
  padding-top: 0;
}

.home-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(112px, 16svh, 172px);
  width: min(100%, 382px);
  height: 100%;
  min-height: 100%;
}

.home-hero {
  position: relative;
  padding: 0;
  padding-top: var(--hero-top-offset);
  z-index: 2;
}

.home-star {
  margin-left: 0;
}

.home-primary-copy {
  margin: var(--hero-title-gap) 0 0;
  width: 100%;
  max-width: none;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(2.74rem, 7.6vw, 3.46rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 0.96;
  letter-spacing: -0.062em;
  text-align: left;
}

.home-primary-copy span {
  display: block;
}

.home-primary-copy span + span {
  margin-top: 6px;
}

.home-menu-card {
  position: relative;
  flex: 1;
  width: 100%;
  min-height: clamp(392px, 56svh, 492px);
  margin-top: auto;
  z-index: 3;
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform;
}

.home-menu-card::before {
  content: "";
  position: absolute;
  top: -52px;
  right: 0;
  width: 124px;
  height: 52px;
  border-radius: 26px 26px 0 0;
  background: var(--brand-blue);
}

.home-folder-stack {
  position: relative;
  flex: none;
  width: 100%;
  height: var(--folder-menu-height);
  min-height: var(--folder-menu-height);
  margin-top: auto;
  --folder-reveal: 0px;
}

.home-folder-stack.is-dragging {
  user-select: none;
}

.home-folder-stack .home-menu-card {
  position: absolute;
  inset: auto 0 0 0;
  height: var(--folder-menu-height);
  min-height: var(--folder-menu-height);
  margin-top: 0;
  transform: translateY(var(--folder-reveal));
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 3;
}

.home-folder-stack.is-dragging .home-menu-card {
  transition: none;
  cursor: grabbing;
}

.home-folder-stack .home-menu-surface {
  box-shadow: 0 14px 28px rgba(28, 70, 180, 0.12);
}

.home-secure-card {
  position: absolute;
  inset: auto 0 0 0;
  height: var(--folder-menu-height);
  z-index: 1;
}

.home-secure-surface {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0 0 14px;
  border-radius: 30px 30px 28px 28px;
  border: 1px solid rgba(199, 86, 112, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0) 30%),
    linear-gradient(180deg, #f7cbd3 0%, #f4bcc7 28%, #f8d8de 100%);
  overflow: hidden;
}

.home-secure-label {
  position: absolute;
  top: -52px;
  right: 92px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 52px;
  border-radius: 26px 26px 0 0;
  border: 1px solid rgba(199, 86, 112, 0.18);
  border-bottom: 0;
  background: linear-gradient(180deg, #f7ccd5 0%, #efbcc5 100%);
  color: var(--brand-rose-ink);
  box-shadow: 0 20px 28px rgba(199, 86, 112, 0.18);
}

.home-secure-label svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.home-secure-kicker,
.home-secure-copy,
.dashboard-card-label {
  margin: 0;
  color: rgba(132, 38, 58, 0.58);
  font-family: var(--display-font);
  font-size: 0.64rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.home-secure-hint,
.home-secure-status,
.dashboard-card-copy,
.dashboard-meta,
.dashboard-notes {
  margin: 0;
  color: rgba(16, 16, 16, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-secure-list {
  display: grid;
  width: 100%;
  padding-top: clamp(14px, 2.2svh, 18px);
}

.home-secure-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: 100%;
  min-height: clamp(84px, 10svh, 94px);
  padding: 20px 24px;
  border-top: 1px solid rgba(132, 38, 58, 0.14);
  color: var(--brand-rose-ink);
  text-align: left;
}

.home-secure-item:first-child {
  border-top: 0;
}

.home-secure-item-copy {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.home-secure-index {
  color: rgba(132, 38, 58, 0.56);
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: 0.08em;
  line-height: 1;
  transform: translateY(-0.16em);
}

.home-secure-text {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  font-family: var(--display-font);
  font-size: clamp(2.18rem, 6.2vw, 2.44rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.home-secure-item-arrow {
  align-self: end;
  justify-self: end;
  color: rgba(132, 38, 58, 0.56);
  inline-size: clamp(1.24rem, 2.7vw, 1.46rem);
  block-size: clamp(1.24rem, 2.7vw, 1.46rem);
  line-height: 0;
  margin-bottom: 0.12em;
}

.home-secure-item-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.home-secure-status {
  padding: 10px 22px 0;
  min-height: 18px;
}

.secure-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 18px;
}

.secure-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 19, 32, 0.24);
  backdrop-filter: blur(8px);
}

.secure-auth-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(100%, 340px);
  padding: 22px 16px 16px;
  border-radius: 28px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background:
    linear-gradient(180deg, rgba(239, 188, 197, 0.22), rgba(255, 255, 255, 0) 38%),
    #ffffff;
  box-shadow: 0 34px 64px rgba(29, 42, 77, 0.18);
}

.secure-auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--brand-blue);
}

.secure-auth-close svg {
  display: block;
  width: 18px;
  height: 18px;
}

.secure-auth-close path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.secure-auth-kicker {
  margin: 0;
  color: rgba(28, 70, 180, 0.46);
  font-family: var(--display-font);
  font-size: 0.64rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.secure-auth-title {
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(1.9rem, 7vw, 2.28rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.secure-auth-form {
  display: grid;
  gap: 10px;
}

.secure-auth-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
}

.secure-auth-input::placeholder {
  color: rgba(28, 70, 180, 0.42);
}

.secure-auth-input:focus {
  border-color: rgba(28, 70, 180, 0.34);
}

.secure-auth-submit,
.dashboard-refresh {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 18px;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 0.86rem;
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: lowercase;
}

.secure-auth-status {
  min-height: 18px;
  margin: 0;
  color: rgba(16, 16, 16, 0.72);
  font-size: 0.82rem;
  line-height: 1.35;
}

.secure-auth-status.is-error {
  color: var(--brand-rose-ink);
}

.secure-auth-status.is-success {
  color: var(--brand-green-deep);
}

.home-secure-status.is-error {
  color: var(--brand-rose-ink);
}

.home-secure-status.is-success {
  color: var(--brand-green-deep);
}

.home-menu-surface {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 28px 0 0 0;
  background: var(--brand-blue);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.home-menu-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-top: clamp(14px, 2.2svh, 18px);
}

.home-menu-label {
  position: absolute;
  top: -52px;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  height: 52px;
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 0.92rem;
  font-style: italic;
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: -0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  padding-top: 2px;
  cursor: grab;
  user-select: none;
  touch-action: none;
  will-change: transform;
}

.home-folder-stack.is-dragging .home-menu-label {
  cursor: grabbing;
}

.home-folder-stack.is-dragging .home-menu-surface,
.home-folder-stack.is-dragging .home-menu-item {
  cursor: grabbing;
}

.home-menu-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  width: 100%;
  min-height: clamp(84px, 10svh, 94px);
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-align: left;
  user-select: none;
  touch-action: none;
}

.home-menu-item:first-child {
  border-top: 0;
}

.home-menu-item-copy {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.home-menu-index {
  color: rgba(255, 255, 255, 0.66);
  font-family: var(--display-font);
  font-size: 0.8rem;
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 0;
  white-space: nowrap;
  transform: translateY(-0.16em);
}

.home-menu-item-arrow {
  align-self: end;
  justify-self: end;
  color: rgba(255, 255, 255, 0.66);
  inline-size: clamp(1.24rem, 2.7vw, 1.46rem);
  block-size: clamp(1.24rem, 2.7vw, 1.46rem);
  line-height: 0;
  margin-bottom: 0.12em;
}

.home-menu-item-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.home-menu-text {
  display: inline-block;
  min-width: 0;
  max-width: 100%;
  font-family: var(--display-font);
  font-size: clamp(2.4rem, 6.8vw, 2.82rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-transform: lowercase;
}

.inner-screen-title {
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(2.48rem, 7.1vw, 3.18rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.inner-screen-title-work {
  color: var(--ink);
  text-transform: none;
}

.work-copy strong,
.home-primary-copy,
.home-menu-label,
.home-menu-index,
.home-menu-text,
.home-secure-index,
.home-secure-text,
.inner-screen-title,
.tool-card-title,
.transcriber-file-name,
.tool-screen-path {
  font-synthesis: none;
  -webkit-text-stroke: var(--display-stroke) currentColor;
}

.inner-screen-home path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: none) and (pointer: coarse) {
  .work-copy strong,
  .home-primary-copy,
  .home-menu-label,
  .home-menu-index,
  .home-menu-text,
  .home-secure-index,
  .home-secure-text,
  .inner-screen-title,
  .tool-card-title,
  .transcriber-file-name,
  .tool-screen-path {
    -webkit-text-stroke: var(--display-mobile-stroke) currentColor;
  }
}

@media (max-width: 640px) {
  html,
  body {
    background: #ffffff;
  }

  .site-frame {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0;
    padding:
      calc(14px + var(--safe-top))
      calc(12px + var(--safe-right))
      calc(12px + var(--safe-bottom))
      calc(12px + var(--safe-left));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

}

.screen-title-row {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.section-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.screen-title-row h2 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.93;
}

.work-shell {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
  min-height: 100%;
  padding-bottom: 8px;
}

.work-intro {
  display: grid;
  gap: 10px;
  max-width: 29ch;
}

.work-lead {
  margin: 0;
  color: rgba(28, 70, 180, 0.66);
  font-size: 1.04rem;
  font-weight: 560;
  line-height: 1.42;
}

.work-inline-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  width: fit-content;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(0.98rem, 4.4vw, 1.1rem);
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
}

.work-inline-cta svg {
  width: clamp(30px, 8vw, 40px);
  height: clamp(20px, 5.4vw, 27px);
  flex: 0 0 auto;
}

.work-inline-cta path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.work-inline-cta:focus-visible {
  outline: 2px solid rgba(28, 70, 180, 0.18);
  outline-offset: 4px;
  border-radius: 999px;
}

.work-accordion {
  margin-top: auto;
  padding-top: clamp(56px, 12svh, 118px);
  display: grid;
  gap: 12px;
}

.work-project {
  border: 1px solid rgba(28, 70, 180, 0.11);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 10px 28px rgba(28, 70, 180, 0.045);
  overflow: hidden;
}

.work-project-toggle {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 96px;
  padding: 16px 18px;
  color: var(--brand-blue);
  text-align: left;
}

.work-project-toggle:focus-visible {
  outline: 2px solid rgba(28, 70, 180, 0.18);
  outline-offset: -4px;
  border-radius: 24px;
}

.work-project-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  border: 1.5px solid rgba(28, 70, 180, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(28, 70, 180, 0.04) 0 48%, transparent 49%),
    rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 0 0 11px rgba(28, 70, 180, 0.035);
}

.work-project-orbit svg {
  width: 29px;
  height: 20px;
  color: var(--brand-blue);
  transform: rotate(0deg);
  transition: transform 220ms ease;
}

.work-project-orbit path,
.work-project-link path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.work-project.is-open > .work-project-toggle .work-project-orbit svg {
  transform: rotate(90deg);
}

.work-project-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.work-project-category {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: rgba(28, 70, 180, 0.52);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.work-project-name {
  display: block;
  min-width: 0;
  color: var(--brand-blue);
  font-size: clamp(1.08rem, 3.7vw, 1.34rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.work-project-blurb {
  display: block;
  max-width: 32ch;
  color: rgba(28, 70, 180, 0.66);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.28;
}

.work-project-year {
  color: rgba(28, 70, 180, 0.58);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.work-project-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 180ms ease;
}

.work-project.is-open .work-project-panel {
  opacity: 1;
}

.work-project-panel-inner {
  display: grid;
  gap: 14px;
  padding: 0 12px 18px;
}

.work-sub-accordion {
  display: grid;
  gap: 10px;
  width: 100%;
}

.work-project.is-nested {
  border-color: rgba(28, 70, 180, 0.09);
  border-radius: 24px;
  background: rgba(28, 70, 180, 0.045);
  box-shadow: none;
}

.work-project.is-nested .work-project-toggle {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  min-height: 82px;
  padding: 14px 16px;
}

.work-project.is-nested .work-project-orbit {
  width: 46px;
  border-color: rgba(28, 70, 180, 0.24);
  box-shadow: inset 0 0 0 9px rgba(28, 70, 180, 0.03);
}

.work-project.is-nested .work-project-orbit svg {
  width: 25px;
  height: 18px;
}

.work-project.is-nested .work-project-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.14;
}

.work-project.is-nested .work-project-panel-inner {
  padding: 0 16px 16px;
}

.work-project-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.work-project-media.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.work-project-media-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  padding: 9px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  border-radius: 19px;
  background:
    linear-gradient(180deg, rgba(28, 70, 180, 0.035), rgba(255, 255, 255, 0.74)),
    #f7f8fa;
  overflow: hidden;
}

.work-project-media-item img {
  width: 100%;
  height: auto;
  max-height: 188px;
  border-radius: 12px;
  object-fit: contain;
}

.work-project-description {
  margin: 0;
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.work-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 10px;
  border: 1px solid rgba(28, 70, 180, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.work-project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(28, 70, 180, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.2;
}

.work-project-link svg {
  width: 24px;
  height: 17px;
  flex: 0 0 auto;
}

.work-project-link:focus-visible {
  outline: 2px solid rgba(28, 70, 180, 0.18);
  outline-offset: 3px;
  border-radius: 999px;
}

.tools-hub,
.tool-screen-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 18px;
  padding-bottom: 8px;
}

.tool-group {
  display: grid;
  gap: 10px;
}

.tool-group-label,
.tool-screen-path,
.transcriber-card-label {
  margin: 0;
  color: rgba(28, 70, 180, 0.46);
  font-family: var(--display-font);
  font-size: 0.64rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.tool-grid {
  display: grid;
  gap: 12px;
}

.tool-card,
.transcriber-card,
.transcriber-result,
.contact-card {
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(28, 70, 180, 0.12);
}

.tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title arrow"
    "meta meta";
  align-items: end;
  column-gap: 12px;
  row-gap: 4px;
  width: 100%;
  min-height: 98px;
  padding: 14px 14px 15px;
  text-align: left;
  box-shadow: var(--card-clickable-shadow);
}

.tool-card-primary {
  row-gap: 3px;
}

button.tool-card {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

button.tool-card:hover,
button.tool-card:focus-visible {
  transform: translateY(-1px);
  box-shadow: var(--card-clickable-shadow-hover);
}

.tool-card-topline {
  grid-area: arrow;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 10px;
  min-height: 100%;
}

.tool-card-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(28, 70, 180, 0.08);
  color: rgba(28, 70, 180, 0.62);
  font-family: var(--display-font);
  font-size: 0.62rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.tool-card-arrow {
  align-self: end;
  justify-self: end;
  color: rgba(28, 70, 180, 0.5);
  inline-size: 1.14rem;
  block-size: 1.14rem;
  line-height: 0;
  margin-bottom: 0.12em;
}

.tool-card-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.tool-card-title,
.transcriber-file-name {
  display: block;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(1.42rem, 4.3vw, 1.74rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 0.98;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.tool-card-title {
  grid-area: title;
  align-self: end;
}

.tool-card-copy,
.tool-card-meta,
.tool-screen-description,
.transcriber-status,
.transcriber-upload-copy,
.transcriber-process-copy,
.transcriber-banner {
  margin: 0;
  color: rgba(16, 16, 16, 0.66);
  font-size: 0.88rem;
  line-height: 1.45;
}

.tool-card-meta {
  grid-area: meta;
  color: rgba(28, 70, 180, 0.56);
  font-family: var(--display-font);
  font-size: 0.58rem;
  font-weight: 700;
  font-stretch: expanded;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.tool-card-soon {
  opacity: 0.86;
}

.tool-card-soon .tool-card-title {
  color: rgba(28, 70, 180, 0.82);
}

.tool-screen-header {
  display: grid;
  gap: 14px;
  align-content: start;
  position: relative;
  flex: none;
  z-index: 14;
  padding-top: var(--hero-top-offset);
  padding-inline: 0;
  padding-bottom: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.98) 78%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(12px);
}

.tool-screen-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.tool-screen-path {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(1.42rem, 4.3vw, 1.74rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: none;
  white-space: normal;
  overflow: visible;
}

.tool-screen-path-section,
.tool-screen-path-separator {
  text-transform: uppercase;
}

.tool-screen-path-subsection {
  text-transform: lowercase;
}

.tool-screen-description {
  max-width: 290px;
}

.transcriber-form {
  display: grid;
  gap: 10px;
}

.transcriber-pwa-card {
  gap: 12px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background:
    linear-gradient(180deg, rgba(235, 242, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.transcriber-pwa-head {
  display: grid;
  gap: 6px;
}

.transcriber-pwa-status {
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.transcriber-pwa-hint {
  margin: 0;
  color: rgba(20, 51, 130, 0.74);
  font-size: 0.86rem;
  line-height: 1.45;
}

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

.transcriber-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  box-shadow: none;
}

.transcriber-upload-card {
  position: relative;
  min-height: 136px;
  cursor: pointer;
  background: #ffffff;
}

.transcriber-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.manual-file-pick-card {
  cursor: default;
}

.manual-file-pick-card .transcriber-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.transcriber-upload-progress {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.is-hidden {
  display: none !important;
}

.transcriber-upload-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(28, 70, 180, 0.09);
}

.transcriber-upload-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-blue);
  transition: width 120ms ease;
}

.transcriber-upload-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.transcriber-upload-copy,
.transcriber-upload-percent,
.transcriber-process-percent {
  margin: 0;
  color: rgba(28, 70, 180, 0.58);
  font-size: 0.78rem;
  font-weight: 600;
}

.transcriber-upload-percent,
.transcriber-process-percent {
  color: var(--brand-blue);
}

.transcriber-process-progress {
  display: grid;
  gap: 8px;
  margin-top: -2px;
}

.transcriber-process-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(28, 70, 180, 0.09);
}

.transcriber-process-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-blue);
  transition: width 180ms ease;
}

.transcriber-process-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.transcriber-banner {
  padding: 11px 14px;
  border-radius: 18px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background: rgba(28, 70, 180, 0.05);
}

.transcriber-banner.is-error {
  border-color: rgba(189, 92, 0, 0.18);
  background: rgba(255, 182, 92, 0.16);
  color: #9c4f00;
}

.transcriber-banner.is-success {
  border-color: rgba(40, 142, 84, 0.18);
  background: rgba(99, 196, 93, 0.12);
  color: #27643a;
}

.transcriber-textarea {
  width: 100%;
  min-height: 90px;
  padding: 12px 0 0;
  border: 1px solid rgba(28, 70, 180, 0.12);
  border-width: 0;
  border-radius: 0;
  background: transparent;
  color: var(--brand-blue);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.92rem;
  line-height: 1.45;
  resize: vertical;
}

.transcriber-textarea-compact {
  min-height: 54px;
}

.transcriber-textarea::placeholder {
  color: rgba(16, 16, 16, 0.34);
}

.transcriber-textarea:focus {
  outline: none;
  box-shadow: none;
}

.transcriber-submit,
.transcriber-secondary {
  min-height: 42px;
  border-radius: 999px;
  font-family: var(--display-font);
  font-size: 0.84rem;
  font-weight: 900;
  font-stretch: expanded;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.transcriber-submit {
  padding: 0 20px;
  background: var(--brand-blue);
  color: #ffffff;
}

.transcriber-submit:hover,
.transcriber-submit:focus-visible,
.transcriber-secondary:hover,
.transcriber-secondary:focus-visible {
  transform: translateY(-1px);
  box-shadow: none;
}

.transcriber-submit:disabled,
.transcriber-secondary:disabled {
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.transcriber-submit:disabled {
  cursor: wait;
}

.transcriber-secondary:disabled {
  cursor: not-allowed;
}

.transcriber-status {
  min-height: 1.5em;
  color: var(--brand-blue);
}

.transcriber-result {
  display: grid;
  gap: 12px;
  padding: 14px;
  margin-top: 10px;
  box-shadow: none;
}

.transcriber-result.is-empty .transcriber-output {
  min-height: 86px;
  max-height: none;
  padding: 15px;
  color: #5d74b7;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: left;
}

.transcriber-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.transcriber-secondary {
  min-width: 84px;
  padding: 0 16px;
  border: 1px solid rgba(28, 70, 180, 0.14);
  background: #ffffff;
  color: var(--brand-blue);
}

.transcriber-secondary-muted {
  border-color: rgba(28, 70, 180, 0.09);
  background: rgba(255, 255, 255, 0.86);
}

.transcriber-reset-action {
  min-width: min(100%, 320px);
  flex: 1 1 220px;
  border-color: rgba(99, 196, 93, 0.2);
  background: linear-gradient(180deg, #71cf6b 0%, #5ab953 100%);
  color: #ffffff;
}

.transcriber-reset-action:hover,
.transcriber-reset-action:focus-visible {
  background: linear-gradient(180deg, #7ad575 0%, #56b250 100%);
}

.transcriber-output {
  margin: 0;
  min-height: 220px;
  max-height: none;
  padding: 15px;
  overflow: visible;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(28, 70, 180, 0.12);
  color: #143382;
  font-family:
    "SF Mono",
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  font-size: 0.82rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.qr-tool-form {
  display: grid;
  gap: 10px;
}

.qr-tool-mode-switch {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background: #ffffff;
}

.qr-tool-mode-button {
  flex: 1 1 0;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: rgba(28, 70, 180, 0.58);
  font-family: var(--display-font);
  font-size: 0.74rem;
  font-weight: 900;
  font-stretch: expanded;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.qr-tool-mode-button:hover,
.qr-tool-mode-button:focus-visible {
  transform: translateY(-1px);
}

.qr-tool-mode-button.is-active {
  background: var(--brand-blue);
  color: #ffffff;
}

.qr-tool-input-card {
  min-height: 0;
}

.qr-tool-textarea {
  min-height: 132px;
}

.qr-tool-file-note,
.qr-tool-preview-empty {
  margin: 0;
  color: rgba(16, 16, 16, 0.66);
  font-size: 0.84rem;
  line-height: 1.45;
}

.qr-tool-file-note {
  max-width: 32ch;
  color: rgba(28, 70, 180, 0.66);
}

.qr-tool-result {
  gap: 12px;
}

.qr-tool-output {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  min-height: 288px;
  padding: 18px;
}

.qr-tool-result.is-empty .qr-tool-output {
  display: block;
  min-height: 86px;
  padding: 15px;
  color: #5d74b7;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: left;
}

.qr-tool-preview-qr {
  display: grid;
  place-items: center;
  width: 100%;
}

.qr-tool-preview-qr svg,
.qr-tool-preview-qr img {
  display: block;
  width: min(100%, 252px);
  height: auto;
}

.media-tool-mode-switch {
  display: flex;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background: #ffffff;
}

.media-tool-mode-button {
  flex: 1 1 0;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: transparent;
  color: rgba(28, 70, 180, 0.58);
  font-family: var(--display-font);
  font-size: 0.74rem;
  font-weight: 900;
  font-stretch: expanded;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.media-tool-mode-button:hover,
.media-tool-mode-button:focus-visible {
  transform: translateY(-1px);
}

.media-tool-mode-button.is-active {
  background: var(--brand-blue);
  color: #ffffff;
}

.media-tool-panel {
  display: grid;
  gap: 10px;
}

.media-image-form,
.media-video-form,
.audio-extract-form,
.file-compress-form,
.text-audio-form {
  display: grid;
  gap: 10px;
}

.media-image-form > .transcriber-submit,
.media-video-form > .transcriber-submit,
.audio-extract-form > .transcriber-submit,
.file-compress-form > .transcriber-submit,
.text-audio-form > .transcriber-submit {
  width: 100%;
}

.media-tool-upload-card {
  min-height: 0;
  cursor: default;
}

.media-tool-upload-card .transcriber-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.media-tool-pick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-tool-note {
  margin: 0;
  color: rgba(28, 70, 180, 0.68);
  font-size: 0.82rem;
  line-height: 1.48;
}

.media-tool-note.is-hidden {
  display: none !important;
}

.media-tool-settings-grid {
  display: grid;
  gap: 10px;
}

.media-tool-setting-card {
  min-height: 0;
}

.media-tool-setting-card-full {
  grid-column: 1 / -1;
}

.media-tool-select {
  width: 100%;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  appearance: none;
}

.media-tool-select:focus {
  outline: none;
}

.media-tool-range-wrap {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.media-tool-range {
  width: 100%;
  margin: 0;
  accent-color: var(--brand-blue);
}

.media-tool-range-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(28, 70, 180, 0.68);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.media-tool-range-meta strong {
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}

.media-tool-color-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.media-tool-color {
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: transparent;
}

.media-image-result,
.media-video-result,
.audio-extract-result,
.file-compress-result,
.text-audio-result {
  gap: 12px;
}

.media-image-output,
.media-video-output,
.audio-extract-output,
.file-compress-output,
.text-audio-output {
  display: grid;
  gap: 14px;
  align-content: start;
}

.media-image-result.is-empty .media-image-output,
.media-video-result.is-empty .media-video-output,
.audio-extract-result.is-empty .audio-extract-output,
.file-compress-result.is-empty .file-compress-output,
.text-audio-result.is-empty .text-audio-output {
  display: block;
  min-height: 86px;
  padding: 15px;
  color: #5d74b7;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: left;
}

.media-image-summary,
.media-video-summary {
  margin: 0;
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.84rem;
  line-height: 1.5;
}

.media-image-warning,
.media-image-row-warning {
  margin: 0;
  border: 1px solid rgba(189, 92, 0, 0.18);
  background: rgba(255, 182, 92, 0.16);
  color: #9c4f00;
}

.media-image-warning {
  padding: 11px 14px;
  border-radius: 18px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.media-image-row-warning {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.text-audio-textarea {
  min-height: 76px;
}

.text-audio-speed-card {
  min-width: 0;
}

.text-audio-submit {
  width: 100%;
}

.media-tool-number-input {
  width: 100%;
}

.media-image-preview-grid {
  display: grid;
  gap: 10px;
}

.media-image-preview-card,
.media-video-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background:
    linear-gradient(180deg, rgba(242, 247, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.media-image-preview-label {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(28, 70, 180, 0.08);
  color: rgba(28, 70, 180, 0.66);
  font-family: var(--display-font);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.media-image-preview-media,
.media-video-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(28, 70, 180, 0.04);
}

.media-image-preview-image,
.media-video-preview video {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.media-video-preview audio {
  width: 100%;
}

.media-video-download-note {
  margin: 0;
  padding: 16px;
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.82rem;
  line-height: 1.48;
  text-align: left;
}

.media-image-preview-meta,
.media-video-meta {
  margin: 0;
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.82rem;
  line-height: 1.48;
}

.media-image-list {
  display: grid;
  gap: 10px;
}

.media-image-row {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background: #ffffff;
}

.media-image-row-copy {
  display: grid;
  gap: 4px;
}

.media-image-row-title,
.media-video-title {
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.media-image-row-meta {
  margin: 0;
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.media-image-row-actions {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.media-image-row-actions .transcriber-secondary {
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
}

.media-video-copy {
  display: grid;
  gap: 6px;
}

.media-video-cancel {
  width: fit-content;
}

.media-video-progress {
  margin-top: -2px;
}

@media (min-width: 700px) {
  .media-tool-settings-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.pdf-tool-upload-card {
  min-height: 128px;
}

.pdf-merge-form,
.pdf-split-form {
  display: grid;
  gap: 18px;
}

.pdf-tool-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.pdf-tool-note,
.pdf-tool-output-copy {
  margin: 0;
  color: rgba(28, 70, 180, 0.68);
  font-size: 0.84rem;
  line-height: 1.5;
}

.pdf-tool-helper {
  margin: -2px 0 0;
  color: rgba(16, 16, 16, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pdf-tool-pick-button {
  width: fit-content;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.pdf-tool-pick-button:hover,
.pdf-tool-pick-button:focus-visible {
  transform: translateY(-1px);
}

.pdf-tool-pick-button[aria-disabled="true"] {
  opacity: 0.58;
  transform: none;
  pointer-events: none;
}

.pdf-tool-name-card,
.pdf-tool-stack-card {
  gap: 12px;
}

.pdf-tool-name-input {
  width: 100%;
  min-height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pdf-tool-name-input::placeholder {
  color: rgba(28, 70, 180, 0.34);
}

.pdf-tool-name-input:focus {
  outline: none;
}

.pdf-tool-section-head {
  display: grid;
  gap: 6px;
}

.pdf-tool-summary,
.pdf-tool-row-title,
.pdf-page-modal-title {
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.pdf-tool-empty-state {
  padding: 15px;
  border-radius: 22px;
  border: 1px dashed rgba(28, 70, 180, 0.18);
  background: rgba(28, 70, 180, 0.03);
  color: rgba(28, 70, 180, 0.62);
  font-size: 0.84rem;
  line-height: 1.5;
}

.pdf-tool-list,
.pdf-page-grid {
  display: grid;
  gap: 10px;
}

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

.pdf-tool-row,
.pdf-page-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 22px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background:
    linear-gradient(180deg, rgba(242, 247, 255, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.pdf-tool-row-copy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.pdf-tool-row-order,
.pdf-page-status,
.pdf-page-origin {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(28, 70, 180, 0.08);
  color: rgba(28, 70, 180, 0.66);
  font-family: var(--display-font);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
}

.pdf-tool-row-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pdf-tool-row-title {
  margin: 0;
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.pdf-tool-row-meta,
.pdf-page-meta {
  margin: 0;
  color: rgba(16, 16, 16, 0.66);
  font-size: 0.8rem;
  line-height: 1.45;
}

.pdf-tool-row-actions,
.pdf-tool-actions,
.pdf-tool-chip-row,
.pdf-tool-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-tool-actions {
  justify-content: center;
}

.pdf-tool-result-actions {
  justify-content: center;
}

.pdf-tool-mini-action,
.pdf-tool-chip {
  min-width: 0;
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.pdf-tool-mini-action-danger {
  border-color: rgba(199, 78, 67, 0.18);
  color: #b14335;
}

.pdf-tool-mini-action-active {
  border-color: rgba(99, 196, 93, 0.22);
  background: rgba(99, 196, 93, 0.14);
  color: #245c36;
}

.pdf-tool-result {
  margin-top: 16px;
  gap: 14px;
}

.pdf-tool-file-card {
  min-height: 0;
  max-height: none;
  padding: 10px 11px;
  overflow: visible;
}

.pdf-tool-file-card.is-empty {
  display: block;
  color: #5d74b7;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: left;
}

.pdf-tool-output-state {
  display: grid;
  gap: 6px;
}

.pdf-tool-output-status {
  margin: 0;
  color: #5d74b7;
  font-size: 0.72rem;
  line-height: 1.45;
  text-align: left;
}

.pdf-tool-file-card-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 0;
  padding: 0;
}

.pdf-tool-file-thumb-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-width: 54px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(235, 242, 255, 0.9) 0%, rgba(250, 252, 255, 1) 100%);
  border: 1px solid rgba(28, 70, 180, 0.08);
}

.pdf-tool-file-thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.pdf-tool-file-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 54px;
  border-radius: 14px;
  background: rgba(28, 70, 180, 0.1);
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdf-tool-file-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pdf-tool-file-name {
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.pdf-tool-file-meta {
  color: rgba(16, 16, 16, 0.64);
  font-size: 0.8rem;
  line-height: 1.4;
}

.pdf-page-card {
  gap: 10px;
  align-content: start;
}

.pdf-page-card.is-muted {
  opacity: 0.78;
  background: rgba(246, 249, 255, 0.7);
}

.pdf-page-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 182px;
  padding: 8px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.96) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(28, 70, 180, 0.08);
}

.pdf-page-preview:hover,
.pdf-page-preview:focus-visible {
  transform: translateY(-1px);
}

.pdf-page-preview-image {
  display: block;
  max-width: 100%;
  max-height: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(28, 70, 180, 0.08);
}

.pdf-page-preview-placeholder {
  color: rgba(28, 70, 180, 0.52);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.pdf-page-card-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.pdf-page-origin-top {
  justify-self: start;
  margin-bottom: -2px;
}

.pdf-page-origin {
  background: rgba(16, 16, 16, 0.04);
  color: rgba(16, 16, 16, 0.6);
}

.pdf-page-actions {
  margin-top: 2px;
}

.pdf-page-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.pdf-page-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.58);
  backdrop-filter: blur(6px);
}

.pdf-page-modal-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  width: min(100%, 560px);
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 56px rgba(16, 16, 16, 0.18);
}

.pdf-page-modal-close {
  justify-self: end;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background: #ffffff;
  color: var(--brand-blue);
}

.pdf-page-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pdf-page-modal-copy {
  display: grid;
  gap: 6px;
}

.pdf-page-modal-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 18px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.96) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(28, 70, 180, 0.08);
}

.pdf-page-modal-image {
  display: block;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(28, 70, 180, 0.08);
}

.qr-text-viewer {
  display: grid;
  min-height: 100svh;
  padding: 28px 18px;
  background:
    radial-gradient(circle at top, rgba(235, 242, 255, 0.88), rgba(255, 255, 255, 0.98) 56%),
    #ffffff;
}

.qr-text-viewer-card {
  width: min(100%, 760px);
  margin: auto;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(20, 51, 130, 0.08);
}

.qr-text-viewer-label {
  display: block;
  margin-bottom: 14px;
  color: rgba(28, 70, 180, 0.5);
  font-family: var(--display-font);
  font-size: 0.64rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.qr-text-viewer-content {
  margin: 0;
  color: #143382;
  font-family:
    "SF Mono",
    "SFMono-Regular",
    Menlo,
    Consolas,
    monospace;
  font-size: 0.88rem;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.screen-inner-about > :not(.inner-screen-header):not(.tool-screen-header) {
  overflow: hidden;
  padding-bottom: 0;
}

.inner-screen-header-about {
  gap: var(--hero-title-gap);
  padding-bottom: 10px;
}

.about-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
  padding: 0;
}

.about-lockup {
  display: grid;
  justify-items: start;
  gap: 16px;
  width: max-content;
  max-width: 100%;
  transform: translateY(clamp(-128px, -14svh, -96px));
}

.about-copy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 0;
}

.about-statement {
  width: max-content;
  max-width: 100%;
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(1.12rem, 4.4vw, 1.44rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  line-height: 1.12;
  letter-spacing: -0.048em;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

.about-statement span {
  display: block;
  white-space: nowrap;
}

.about-statement span + span {
  margin-top: 0.42em;
}

.about-mark {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding-left: 0;
}

.about-logo {
  display: block;
  width: clamp(72px, 18vw, 92px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .about-panel {
    align-items: center;
    justify-content: center;
  }

  .about-lockup {
    width: max-content;
    max-width: 100%;
    transform: translateY(clamp(-48px, -6svh, -28px));
  }

  .about-statement {
    width: max-content;
    max-width: 100%;
    font-size: clamp(1.28rem, 5.6vw, 1.48rem);
    line-height: 1.12;
  }

  .about-statement span {
    white-space: nowrap;
  }

  .about-logo {
    width: clamp(86px, 24vw, 106px);
  }
}

.contact-meta span {
  padding: 11px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.screen-contact {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  margin-top: 18px;
  padding-bottom: 0;
  padding-inline: 0;
}

.contact-shell {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: 0;
}

.contact-stack {
  display: grid;
  grid-auto-rows: max-content;
  width: 100%;
  min-height: 0;
  height: auto;
  align-content: start;
  gap: 12px;
}

.contact-card {
  display: grid;
  gap: var(--contact-inner-gap);
  min-height: 0;
  padding: var(--contact-card-pad);
  border-radius: var(--contact-card-radius);
  background: #ffffff;
  border: 1px solid rgba(28, 70, 180, 0.12);
  box-shadow: none;
}

.contact-card-compact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: 90px;
}

.contact-card-form {
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: start;
  gap: 10px;
}

.contact-card-label {
  margin: 0;
  color: rgba(28, 70, 180, 0.46);
  font-family: var(--display-font);
  font-size: 0.64rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-card-value {
  display: flex;
  align-items: flex-start;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(1rem, 2.2vw, 1.06rem);
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: -0.028em;
  line-height: 1.08;
}

.contact-card-value-mail {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  grid-template-rows:
    repeat(3, var(--contact-field-height))
    minmax(var(--contact-textarea-min), 1fr)
    var(--contact-button-height);
  min-height: 0;
  gap: 9px;
}

.contact-input {
  width: 100%;
  min-height: var(--contact-field-height);
  padding: 0 15px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  border-radius: var(--contact-field-radius);
  background: #ffffff;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: -0.02em;
  line-height: 1;
  appearance: none;
  box-shadow: none;
}

.contact-input::placeholder {
  color: rgba(16, 16, 16, 0.34);
  font-family: var(--display-font);
  font-size: 0.64rem;
  font-weight: var(--contact-text-weight);
  font-stretch: expanded;
  letter-spacing: -0.02em;
  line-height: 1;
}

.contact-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(28, 70, 180, 0.1);
}

.contact-textarea {
  min-height: 0;
  height: 100%;
  padding-top: 15px;
  padding-bottom: 15px;
  resize: none;
  border-radius: 26px;
}

.contact-honey {
  display: none;
}

.contact-submit {
  min-height: var(--contact-button-height);
  padding: 0 22px;
  border-radius: 999px;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: var(--display-font);
  font-size: 0.92rem;
  font-weight: 900;
  font-stretch: expanded;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  box-shadow: none;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.78;
  box-shadow: none;
}

.contact-form-status {
  margin: 0 4px 0;
  color: rgba(16, 16, 16, 0.48);
  font-size: 0.76rem;
  line-height: 1.35;
  min-height: 1.1em;
  color: var(--brand-blue);
}

.contact-form-status:empty {
  display: none;
}

.screen-inner-dashboard {
  padding-bottom: 16px;
}

.dashboard-shell {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding-bottom: 12px;
}

.dashboard-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 30px;
  border: 1px solid rgba(28, 70, 180, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow:
    0 18px 40px rgba(28, 70, 180, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.dashboard-card-hero {
  background:
    radial-gradient(circle at top right, rgba(99, 196, 93, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(28, 70, 180, 0.12), rgba(255, 255, 255, 0) 42%),
    #ffffff;
}

.dashboard-card-lock {
  background:
    radial-gradient(circle at top right, rgba(239, 188, 197, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(239, 188, 197, 0.24), rgba(255, 255, 255, 0) 40%),
    #ffffff;
}

.dashboard-card-topline,
.dashboard-hero-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-card-title {
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: clamp(1.5rem, 5.8vw, 2rem);
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.dashboard-grid {
  display: block;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.08);
  color: rgba(16, 16, 16, 0.72);
  font-family: var(--display-font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dashboard-pill.is-online {
  background: rgba(99, 196, 93, 0.18);
  color: var(--brand-green-deep);
}

.dashboard-pill.is-warning {
  background: rgba(247, 237, 121, 0.42);
  color: #745f00;
}

.dashboard-pill.is-offline {
  background: rgba(199, 86, 112, 0.14);
  color: var(--brand-rose-ink);
}

.dashboard-refresh {
  background: var(--brand-blue);
}

.dashboard-refresh:disabled {
  opacity: 0.42;
  cursor: default;
}

.dashboard-panels {
  display: grid;
  gap: 14px;
}

.dashboard-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: 32px;
  border: 1px solid rgba(28, 70, 180, 0.1);
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.96), rgba(255, 255, 255, 0.98)),
    #ffffff;
  box-shadow:
    0 18px 40px rgba(28, 70, 180, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.dashboard-panel-overview {
  background:
    radial-gradient(circle at top right, rgba(99, 196, 93, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(28, 70, 180, 0.12), rgba(255, 255, 255, 0) 44%),
    #ffffff;
}

.dashboard-panel-head,
.dashboard-service-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-kpis,
.dashboard-overview-grid,
.dashboard-service-grid,
.dashboard-plan-grid,
.dashboard-recovery-grid {
  display: grid;
  gap: 12px;
}

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

.dashboard-data-point,
.dashboard-overview-card,
.dashboard-service-card,
.dashboard-plan-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(28, 70, 180, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 255, 0.96)),
    #ffffff;
}

.dashboard-data-point.is-strong {
  background:
    radial-gradient(circle at top right, rgba(28, 70, 180, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 255, 0.96)),
    #ffffff;
}

.dashboard-data-label,
.dashboard-overview-title,
.dashboard-service-meta,
.dashboard-plan-limit {
  color: rgba(16, 16, 16, 0.56);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.dashboard-data-value {
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 1.12rem;
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.dashboard-overview-card {
  gap: 10px;
}

.dashboard-metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(28, 70, 180, 0.08);
}

.dashboard-metric-row:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.dashboard-metric-row span {
  color: rgba(16, 16, 16, 0.62);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.dashboard-metric-row strong {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: right;
  overflow-wrap: anywhere;
}

.dashboard-service-grid,
.dashboard-plan-grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.dashboard-service-title {
  margin: 0;
  color: var(--brand-blue);
  font-family: var(--display-font);
  font-size: 0.96rem;
  font-weight: var(--display-strong-weight);
  font-stretch: expanded;
  letter-spacing: -0.03em;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.dashboard-service-detail {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.dashboard-plan-card .dashboard-meter {
  margin-top: 2px;
}

.dashboard-provider-list {
  display: grid;
  gap: 12px;
}

.dashboard-provider-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 24px;
  border: 1px solid rgba(28, 70, 180, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 249, 255, 0.96)),
    #ffffff;
}

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

.dashboard-provider-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-provider-status {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dashboard-provider-status.is-online {
  color: var(--brand-green-deep);
}

.dashboard-provider-status.is-warning {
  color: #745f00;
}

.dashboard-provider-status.is-offline {
  color: var(--brand-rose-ink);
}

.dashboard-provider-copyline {
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.dashboard-provider-copyline strong {
  display: block;
  margin-bottom: 3px;
  color: rgba(16, 16, 16, 0.5);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dashboard-provider-limit {
  margin: 0;
  color: rgba(16, 16, 16, 0.56);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.dashboard-provider-row .dashboard-meter {
  margin: 0;
}

.dashboard-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.08);
  color: rgba(16, 16, 16, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-chip.is-online {
  background: rgba(99, 196, 93, 0.18);
  color: var(--brand-green-deep);
}

.dashboard-chip.is-warning {
  background: rgba(247, 237, 121, 0.46);
  color: #745f00;
}

.dashboard-chip.is-offline {
  background: rgba(199, 86, 112, 0.15);
  color: var(--brand-rose-ink);
}

.dashboard-meter {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(28, 70, 180, 0.08);
}

.dashboard-meter-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-green);
  transition:
    width 180ms ease,
    background-color 180ms ease;
}

.dashboard-meter-fill.is-safe {
  background: var(--brand-green);
}

.dashboard-meter-fill.is-warning {
  background: #d7ae00;
}

.dashboard-meter-fill.is-critical {
  background: var(--brand-rose-deep);
}

.dashboard-source-link {
  display: inline-flex;
  width: fit-content;
  color: var(--brand-blue);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.dashboard-inline-status {
  min-height: 1em;
  margin: 0;
  color: rgba(16, 16, 16, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}

.dashboard-inline-status.is-online {
  color: var(--brand-green-deep);
}

.dashboard-inline-status.is-warning {
  color: #745f00;
}

.dashboard-inline-status.is-offline {
  color: var(--brand-rose-ink);
}

.dashboard-action-button {
  width: 100%;
}

.dashboard-button-stack {
  display: grid;
  gap: 8px;
}

.dashboard-action-button-secondary {
  background: #ffffff;
  color: var(--brand-blue);
  border: 1px solid rgba(28, 70, 180, 0.14);
}

.dashboard-recovery-copy {
  display: grid;
  gap: 6px;
}

@media (min-width: 780px) {
  .dashboard-kpis {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.places-screen .inner-screen-title {
  font-size: clamp(2rem, 6.4vw, 2.68rem);
}

.places-header-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.places-add-icon {
  justify-content: flex-end;
}

.places-layout {
  display: grid;
  gap: 12px;
}

.places-main,
.places-form-panel,
.places-toolbar {
  min-width: 0;
}

.places-toolbar {
  display: grid;
  padding: 14px;
  border: 0;
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.055);
}

.places-search-input,
.place-field input,
.place-field textarea {
  width: 100%;
  border: 1px solid rgba(16, 16, 16, 0.04);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
}

.places-search-input,
.place-field input {
  min-height: 44px;
  padding: 0 15px;
}

.places-search-input::placeholder,
.place-field input::placeholder,
.place-field textarea::placeholder {
  color: rgba(28, 70, 180, 0.42);
}

.places-search-input:focus,
.place-field input:focus,
.place-field textarea:focus {
  border-color: rgba(28, 70, 180, 0.34);
}

.places-primary-button,
.places-secondary-button,
.places-danger-button,
.places-icon-button {
  min-height: 46px;
  border-radius: 999px;
  font-family: var(--display-font);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: lowercase;
}

.places-primary-button {
  padding: 0 16px;
  background: var(--brand-blue);
  color: #ffffff;
}

.places-secondary-button {
  padding: 0 16px;
  border: 1px solid rgba(28, 70, 180, 0.14);
  background: #ffffff;
  color: var(--brand-blue);
}

.places-danger-button {
  padding: 0 16px;
  background: rgba(199, 86, 112, 0.12);
  color: var(--brand-rose-ink);
}

.places-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  padding: 0;
  border: 1px solid rgba(28, 70, 180, 0.14);
  color: var(--brand-blue);
}

.places-icon-button svg {
  width: 20px;
  height: 20px;
}

.places-icon-button path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.places-meta {
  min-height: 20px;
  margin: 10px 4px;
  color: rgba(16, 16, 16, 0.62);
  font-size: 0.8rem;
  font-weight: 700;
}

.places-meta.is-error {
  color: var(--brand-rose-ink);
}

.places-meta.is-success {
  color: var(--brand-green-deep);
}

.places-list,
.place-form {
  display: grid;
  gap: 8px;
}

.places-group {
  display: grid;
  gap: 0;
  border: 0;
  border-radius: 18px;
  background: rgba(16, 16, 16, 0.065);
  overflow: hidden;
}

.places-group .places-group {
  margin: 0 10px 10px;
  border-width: 0;
  border-radius: 14px;
  background: rgba(16, 16, 16, 0.06);
}

.places-group-category {
  background: rgba(255, 255, 255, 0.38);
}

.places-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  padding: 0 15px;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 0.96rem;
  font-weight: 850;
  letter-spacing: 0;
  text-align: left;
}

.places-group-region > .places-group-toggle,
.places-group-city > .places-group-toggle,
.places-group-category > .places-group-toggle {
  min-height: 50px;
  font-size: 0.82rem;
}

.places-group-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  color: rgba(16, 16, 16, 0.48);
  font-size: 0.72rem;
  line-height: 1;
}

.places-group-arrow {
  display: inline-block;
  color: rgba(16, 16, 16, 0.52);
  font-size: 1rem;
  transform: rotate(-90deg);
  transition: transform 160ms ease;
}

.places-group.is-open > .places-group-toggle .places-group-arrow {
  transform: rotate(0deg);
}

.places-group-panel {
  display: grid;
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  opacity: 0;
  transition:
    max-height 200ms ease-out,
    opacity 160ms ease-out;
}

.places-group.is-open > .places-group-panel {
  max-height: 24000px;
  opacity: 1;
}

.places-items {
  display: grid;
  padding: 0 10px 10px;
}

.place-pill-wrap {
  display: grid;
  gap: 0;
}

.place-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  width: 100%;
  padding: 0 10px;
  border-bottom: 1px solid rgba(18, 26, 36, 0.06);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: left;
}

.place-row-arrow {
  color: rgba(16, 16, 16, 0.38);
  font-size: 1.2rem;
  font-weight: 700;
}

.place-pill.is-michelin {
  background: transparent;
  color: var(--brand-rose-ink);
  box-shadow: inset 3px 0 0 rgba(199, 86, 112, 0.58);
}

.place-pill.is-favorite {
  background: transparent;
  color: #745f00;
  box-shadow: inset 3px 0 0 rgba(202, 161, 33, 0.58);
}

.place-pill-marker {
  display: inline-block;
  min-width: 16px;
  margin-right: 3px;
  font-weight: 900;
}

.place-pill-wrap.is-selected .place-pill {
  color: var(--brand-blue);
}

.place-detail {
  margin: 8px 0 12px;
  padding: 16px;
  border: 0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(18, 26, 36, 0.04);
  color: rgba(16, 16, 16, 0.7);
  font-size: 0.84rem;
  line-height: 1.42;
}

.place-detail p {
  margin: 0 0 8px;
}

.place-detail-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.place-detail-top strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 850;
}

.place-detail-meta {
  margin: 4px 0 0;
  color: rgba(16, 16, 16, 0.58);
  font-weight: 850;
}

.place-detail-edit {
  flex: none;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(28, 70, 180, 0.26);
  border-radius: 999px;
  color: var(--brand-blue);
  font-size: 0.76rem;
  font-weight: 850;
}

.place-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.place-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-blue);
  font-weight: 800;
}

.place-detail-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.places-empty {
  margin: 0;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  color: rgba(16, 16, 16, 0.62);
  font-size: 0.84rem;
  font-weight: 700;
}

.places-form-panel {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-bottom));
  z-index: 24;
  width: min(392px, calc(100vw - 24px));
  max-height: min(78svh, 680px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(28, 70, 180, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(58, 72, 92, 0.24);
  transform: translate(-50%, calc(100% + 24px));
  transition: transform 220ms ease;
}

.places-form-panel.is-open {
  transform: translate(-50%, 0);
}

.places-form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.place-field {
  display: grid;
  gap: 7px;
}

.place-field-gmaps {
  position: relative;
}

.place-field span,
.place-tags legend {
  color: rgba(16, 16, 16, 0.56);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.place-field textarea {
  min-height: 96px;
  padding: 13px 14px;
  resize: vertical;
}

.place-field input.is-autofilled {
  border-color: rgba(28, 70, 180, 0.46);
  box-shadow: 0 0 0 4px rgba(28, 70, 180, 0.08);
}

.place-field input:disabled {
  opacity: 0.58;
  cursor: wait;
}

.place-enrich-status {
  min-height: 16px;
  color: rgba(28, 70, 180, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.place-field-gmaps.is-loading::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 41px;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(28, 70, 180, 0.16);
  border-top-color: var(--brand-blue);
  border-radius: 999px;
  animation: place-spin 0.7s linear infinite;
}

@keyframes place-spin {
  to {
    transform: rotate(360deg);
  }
}

.place-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.place-tags legend {
  flex: 0 0 100%;
}

.place-tag-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.place-tag-toggle span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.06);
  color: rgba(16, 16, 16, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
}

.place-tag-toggle input:checked + span {
  box-shadow: inset 0 0 0 2px currentColor;
}

.place-tag-toggle.is-michelin span {
  color: var(--brand-rose-ink);
}

.place-tag-toggle.is-favorite span {
  color: #745f00;
}

.place-form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.place-form-actions .places-danger-button {
  grid-column: 1 / -1;
}

@media (max-width: 640px) {
  .places-form-panel.is-open {
    transform: translate(-50%, 0);
  }
}

@media (max-width: 900px) {
  :root {
    --frame-gap: 10px;
    --frame-pad-x: 12px;
    --frame-pad-top: 16px;
    --frame-pad-bottom: 18px;
  }

  .site-frame {
    border-radius: 30px;
  }

  .screen-inner {
    padding-right: 0;
  }

  .work-project-toggle {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 13px;
    min-height: 104px;
    padding: 16px;
    align-items: center;
  }

  .work-project-orbit {
    width: 52px;
  }

  .work-project-year {
    grid-column: 2;
    justify-self: start;
    margin-top: -8px;
  }

  .work-project-name {
    max-width: 24ch;
  }

  .work-project-panel-inner {
    padding: 0 10px 16px;
  }

  .work-project.is-nested .work-project-toggle {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: 88px;
    padding: 14px 16px;
  }

  .work-project.is-nested .work-project-orbit {
    width: 46px;
  }

  .work-project.is-nested .work-project-panel-inner {
    padding: 0 10px 16px;
  }

  .home-stack {
    gap: clamp(102px, 15svh, 148px);
    width: 100%;
    max-width: none;
  }

  .home-folder-stack {
    --folder-menu-height: clamp(376px, 54svh, 456px);
    --folder-reveal-max: clamp(238px, 28svh, 286px);
  }

  .home-primary-copy {
    font-size: clamp(2.78rem, 11vw, 3.72rem);
  }

  .home-menu-card {
    min-height: clamp(376px, 54svh, 456px);
  }

  .home-menu-item,
  .home-menu-item-copy {
    column-gap: 12px;
    gap: 12px;
  }

  .home-menu-item {
    padding-inline: 20px;
  }

  .home-menu-text {
    font-size: clamp(2.32rem, 9vw, 2.9rem);
  }

  .dashboard-hero-row {
    flex-direction: column;
  }

  .dashboard-kpis,
  .dashboard-overview-grid,
  .dashboard-recovery-grid {
    grid-template-columns: 1fr;
  }

  .screen-title-row h2 {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  .contact-mail {
    width: 100%;
    padding: 18px 24px;
    text-align: center;
  }

  .screen-contact {
    margin-top: 16px;
  }
}

@media (max-width: 480px) {
  :root {
    --frame-gap: 4px;
    --frame-pad-x: 10px;
    --frame-pad-top: 14px;
    --frame-pad-bottom: 12px;
    --nav-icon-size: 28px;
    --back-icon-width: 40px;
    --display-mobile-stroke: 0.018em;
    --contact-gap: 10px;
    --contact-card-pad: 12px;
    --contact-inner-gap: 7px;
    --contact-text-weight: 750;
    --contact-field-height: 40px;
    --contact-button-height: 42px;
    --contact-textarea-min: 64px;
  }

  .site-frame {
    border-radius: 0;
    box-shadow: none;
    background: #ffffff;
  }

  .site-header {
    margin-bottom: 16px;
  }

  .home-stack {
    gap: clamp(52px, 7.2svh, 74px);
  }

  .home-folder-stack {
    --folder-menu-height: clamp(392px, 62svh, 508px);
    --folder-reveal-max: clamp(224px, 28svh, 276px);
  }

  .home-primary-copy {
    margin-top: 10px;
    font-size: clamp(2.6rem, 11.8vw, 3.24rem);
  }

  .home-menu-card {
    min-height: clamp(430px, 70svh, 560px);
  }

  .home-menu-card::before {
    top: -46px;
    width: 112px;
    height: 48px;
  }

  .home-secure-card {
    inset: 0 0 auto 0;
    height: var(--folder-menu-height);
  }

  .home-secure-surface {
    padding: 0 0 12px;
    border-radius: 26px 26px 26px 26px;
  }

  .home-secure-label {
    top: -46px;
    right: 84px;
    width: 112px;
    height: 48px;
  }

  .home-secure-label svg {
    width: 20px;
    height: 20px;
  }

  .home-secure-item {
    min-height: clamp(78px, 9.4svh, 86px);
    padding: 18px 18px;
  }

  .home-menu-surface {
    border-radius: 26px 0 0 0;
  }

  .home-menu-label {
    top: -46px;
    width: 112px;
    height: 48px;
    font-size: 0.88rem;
    padding-top: 1px;
  }

  .home-menu-list {
    padding-top: 14px;
  }

  .home-menu-item {
    min-height: clamp(78px, 9.4svh, 86px);
    padding: 18px 18px;
  }

  .home-menu-index {
    font-size: 0.72rem;
  }

  .home-menu-item-arrow {
    inline-size: 1.22rem;
    block-size: 1.22rem;
  }

  .home-menu-text {
    font-size: clamp(2.18rem, 9.3vw, 2.66rem);
  }

  .screen-contact {
    margin-top: 14px;
    padding-bottom: 4px;
  }

  .contact-shell {
    width: 100%;
  }

  .dashboard-card {
    padding: 14px;
    border-radius: 26px;
  }

  .dashboard-panel {
    padding: 14px;
    border-radius: 26px;
  }

  .dashboard-card-title {
    font-size: clamp(1.24rem, 5.9vw, 1.58rem);
  }

  .dashboard-service-card,
  .dashboard-plan-card,
  .dashboard-data-point,
  .dashboard-overview-card {
    border-radius: 22px;
  }

  .contact-stack {
    gap: 10px;
  }

  .contact-card {
    border-radius: 26px;
  }

  .contact-card-compact {
    min-height: 84px;
    gap: 7px;
  }

  .contact-input {
    border-radius: 20px;
    font-size: 0.84rem;
  }

  .contact-textarea {
    min-height: 0;
  }

  .contact-card-label {
    font-size: 0.62rem;
  }

  .contact-card-value {
    font-size: 0.98rem;
  }

  .tools-hub,
  .tool-screen-body {
    gap: 12px;
    margin-top: 14px;
  }

  .tool-card,
  .transcriber-card,
  .transcriber-result {
    border-radius: 26px;
  }

  .tool-card {
    min-height: 92px;
    padding: 13px 13px 14px;
  }

  .tool-card-title,
  .transcriber-file-name,
  .tool-screen-path {
    font-size: clamp(1.32rem, 6vw, 1.62rem);
  }

  .transcriber-pwa-status {
    font-size: 0.96rem;
  }

  .transcriber-output {
    border-radius: 22px;
  }

  .transcriber-upload-card {
    min-height: 124px;
  }

  .transcriber-textarea {
    min-height: 84px;
  }

  .transcriber-textarea-compact {
    min-height: 52px;
  }

  .pdf-tool-row,
  .pdf-page-card {
    padding: 13px;
    border-radius: 20px;
  }

  .pdf-tool-row-title,
  .pdf-tool-summary,
  .pdf-page-modal-title {
    font-size: 0.98rem;
  }

  .pdf-tool-mini-action,
  .pdf-tool-chip {
    flex: 1 1 120px;
  }

  .pdf-page-grid {
    grid-template-columns: 1fr;
  }

  .pdf-merge-form,
  .pdf-split-form {
    gap: 16px;
  }

  .pdf-tool-result {
    margin-top: 14px;
  }

  .pdf-tool-file-card {
    min-height: 0;
    padding: 9px 10px;
  }

  .pdf-tool-file-card-inner {
    min-height: 0;
    padding: 0;
  }

  .pdf-tool-file-thumb-wrap {
    width: 50px;
    min-width: 50px;
    height: 64px;
    border-radius: 12px;
  }

  .pdf-page-preview {
    min-height: 170px;
    padding: 8px;
  }

  .pdf-page-preview-image {
    max-height: 156px;
  }

  .pdf-page-modal-dialog {
    padding: 16px;
    border-radius: 24px;
  }

  .pdf-page-modal-surface {
    min-height: 360px;
    border-radius: 22px;
  }

  .pdf-page-modal-image {
    max-height: 328px;
  }

  .transcriber-result-actions {
    width: 100%;
    justify-content: center;
  }

  .transcriber-pwa-actions {
    width: 100%;
  }

  .transcriber-reset-action {
    flex-basis: 100%;
  }

}

@media (max-height: 760px) {
  :root {
    --contact-gap: 8px;
    --contact-card-pad: 10px;
    --contact-inner-gap: 7px;
    --contact-text-weight: 740;
    --contact-field-height: 38px;
    --contact-button-height: 40px;
    --contact-textarea-min: 56px;
  }

  .screen-contact {
    margin-top: 10px;
    padding-bottom: 4px;
  }

  .contact-stack {
    gap: 10px;
  }

  .contact-card {
    border-radius: 24px;
  }

  .contact-card-label {
    font-size: 0.62rem;
  }

  .contact-card-value {
    min-height: 36px;
    font-size: 0.8rem;
  }

  .contact-input {
    padding-inline: 14px;
    font-size: 0.8rem;
  }

  .contact-submit {
    font-size: 0.84rem;
  }

}

@media (max-width: 360px) {
  .home-stack {
    gap: clamp(70px, 10svh, 96px);
  }

  .home-folder-stack {
    --folder-menu-height: clamp(344px, 48svh, 408px);
    --folder-reveal-max: clamp(210px, 28svh, 244px);
  }

  .home-primary-copy {
    font-size: clamp(2.34rem, 12vw, 2.86rem);
  }

  .home-menu-card {
    min-height: clamp(356px, 50svh, 424px);
  }

  .home-menu-text {
    font-size: clamp(2rem, 10vw, 2.4rem);
  }
}

@media (max-height: 720px) {
  .home-stack {
    gap: clamp(62px, 8.8svh, 96px);
  }

  .home-folder-stack {
    --folder-menu-height: clamp(336px, 46svh, 392px);
    --folder-reveal-max: clamp(206px, 28svh, 240px);
  }

  .home-primary-copy {
    font-size: clamp(2.44rem, 9.4vw, 3.08rem);
  }

  .home-menu-card {
    min-height: clamp(348px, 48svh, 404px);
  }
}

@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
  textarea,
  select {
    font-size: 16px;
  }
}
