@font-face {
  font-family: "Manrope";
  src: url("/static/fonts/Manrope-Variable.ttf?v=20260820f") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #071d24;
  --ink-soft: #415760;
  --teal: #1db5aa;
  --teal-deep: #087f7d;
  --teal-pale: #eaf8f6;
  --paper: #ffffff;
  --canvas: #f8fbfb;
  --line: #dbe6e7;
  --success: #117d72;
  --amber: #a76014;
  --amber-pale: #fff6e9;
  --radius: 22px;
  --shadow: 0 16px 42px rgb(7 29 36 / 7%);
  --page-width: 1160px;
  color: var(--ink);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgb(29 181 170 / 48%); outline-offset: 4px; border-radius: 7px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.045em; font-weight: 760; }
p { color: var(--ink-soft); }

.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; transform: translateY(-150%); background: var(--ink); color: white; padding: 9px 14px; border-radius: 8px; }
.skip-link:focus { transform: translateY(0); }
.section-shell, .site-header__inner, .site-footer__inner { width: min(calc(100% - 48px), var(--page-width)); margin-inline: auto; }

.site-header { background: rgb(255 255 255 / 93%); border-bottom: 1px solid rgb(219 230 231 / 82%); position: relative; z-index: 1; }
.site-header__inner { min-height: 70px; display: flex; align-items: center; gap: 28px; }
.brand-link { display: inline-flex; flex: 0 0 auto; }
.brand-logo { object-fit: contain; object-position: left center; }
.brand-logo--landing { width: 152px; height: 40px; }
.brand-logo--verification, .brand-logo--error, .brand-logo--legal, .brand-logo--pricing, .brand-logo--support, .brand-logo--auth { width: 122px; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; font-size: 14px; color: var(--ink-soft); }
.site-nav a:hover, .header-home:hover { color: var(--teal-deep); }
.header-home { margin-left: auto; font-size: 14px; color: var(--ink-soft); }
.locale-switch { display: flex; align-items: center; gap: 3px; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 750; }
.locale-switch a { padding: 4px 8px; color: var(--ink-soft); border-radius: 999px; }
.locale-switch a[aria-current="true"] { background: var(--ink); color: white; }

.eyebrow { margin-bottom: 11px; color: var(--teal-deep); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow--light { color: #a7f0e8; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 12px; min-height: 48px; padding: 12px 17px; font-size: 15px; font-weight: 760; white-space: nowrap; transition: transform .15s ease, background-color .15s ease; }
.button__icon { width: 19px; height: 19px; flex: 0 0 auto; }
.button:hover { transform: translateY(-1px); }
.button--primary { background: linear-gradient(110deg, #07847f, var(--teal)); color: white; box-shadow: 0 9px 20px rgb(8 127 125 / 20%); }
.button--primary:hover { background: linear-gradient(110deg, #087672, #18aa9f); }
.button--secondary { border-color: var(--line); background: white; color: var(--ink); }
.button--secondary:hover { border-color: var(--teal); }
.button--danger { border-color: #e8b7bb; background: #fff7f7; color: #a8343b; }
.button--danger:hover { border-color: #c95d65; background: #fff0f1; }
.button--light { background: white; color: var(--ink); }
.button:disabled { cursor: not-allowed; opacity: .55; transform: none; }

.landing-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(430px, .94fr); align-items: center; gap: 52px; padding-block: 60px 66px; }
.landing-hero h1 { max-width: 580px; font-size: clamp(44px, 4.15vw, 61px); }
.landing-hero h1 span { color: var(--teal); }
.landing-hero__lead { max-width: 520px; margin-block: 22px 27px; font-size: 17px; line-height: 1.6; }
.landing-hero__note { margin-top: 12px; font-size: 13px; }
.landing-hero__result-note { margin-top: 5px; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.hero-visual { isolation: isolate; position: relative; min-height: 400px; }
.hero-orb { position: absolute; z-index: -1; width: 77%; aspect-ratio: 1; top: 3%; left: 14%; border-radius: 50%; background: linear-gradient(135deg, #d6f3f0, #f4fbfa 70%); }
.hero-photo { position: absolute; width: 49%; margin: 0; padding: 7px; background: white; border: 1px solid white; border-radius: 23px; box-shadow: var(--shadow); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 17px; }
.hero-photo figcaption { position: absolute; top: 17px; left: 17px; padding: 5px 10px; border-radius: 8px; background: var(--ink); color: white; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.hero-photo--before { top: 20px; left: 4%; transform: rotate(-4deg); }
.hero-photo--after { right: 2%; bottom: 18px; transform: rotate(5deg); }
.hero-photo--after figcaption { background: var(--teal-deep); }
.hero-check { position: absolute; z-index: 1; top: 48%; left: 47%; display: grid; place-items: center; width: 67px; aspect-ratio: 1; border: 6px solid white; border-radius: 50%; background: var(--teal-deep); color: white; font-size: 34px; font-weight: 800; box-shadow: var(--shadow); }

.landing-section { padding-block: 56px; }
.landing-section--tint { background: transparent; }
.landing-section--compact { padding-block: 10px 34px; }
#how-it-works { padding-block: 42px 45px; }
#verification { padding-block: 10px 30px; }
#about { padding-block: 10px 33px; }
.section-heading { margin-bottom: 30px; }
.section-heading--center { text-align: center; }
.section-heading--center .eyebrow { display: none; }
.section-heading h2, .landing-cta h2 { font-size: clamp(29px, 3.2vw, 40px); }
.section-heading--center { margin-bottom: 25px; }
.section-heading--center h2 { font-size: clamp(27px, 2.6vw, 33px); }
.section-heading--row { display: flex; align-items: end; justify-content: space-between; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; list-style: none; padding: 0; margin: 0; }
.step { position: relative; display: grid; grid-template-columns: 30px 52px minmax(0, 1fr); gap: 11px; align-items: center; }
.step:not(:last-child)::after { content: "→"; position: absolute; top: 12px; right: -26px; color: #91d9d3; font-size: 23px; font-weight: 450; }
.step__number { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #eef7f6; color: var(--teal-deep); font-size: 12px; font-weight: 800; }
.step__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--teal-pale); color: var(--teal-deep); }
.step__icon svg { width: 26px; height: 26px; }
.step h3 { margin-bottom: 5px; font-size: 16px; letter-spacing: -.025em; }
.step p { max-width: 220px; font-size: 12.5px; line-height: 1.45; }
.verification-story { display: grid; grid-template-columns: minmax(0, .72fr) minmax(580px, 1.28fr); align-items: center; gap: 44px; padding: 34px 40px; border: 1px solid rgb(29 181 170 / 20%); border-radius: 22px; background: var(--teal-pale); }
.verification-story h2 { font-size: clamp(28px, 2.7vw, 35px); }
.section-lead { max-width: 390px; margin-top: 13px; font-size: 14px; line-height: 1.55; }
.publication-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; padding: 0; margin: 0; list-style: none; }
.publication-flow li { position: relative; display: grid; justify-items: center; align-content: start; text-align: center; min-width: 0; }
.publication-flow li:not(:last-child)::after { content: "→"; position: absolute; top: 22px; right: -22px; color: var(--teal); font-size: 22px; }
.publication-flow li:nth-child(2)::after { content: "⇢"; }
.publication-flow__icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 11px; border-radius: 50%; background: rgb(255 255 255 / 80%); color: var(--teal-deep); }
.publication-flow__icon svg { width: 28px; height: 28px; }
.publication-flow strong { font-size: 12px; line-height: 1.25; letter-spacing: -.015em; }
.publication-flow small { margin-top: 3px; color: var(--ink-soft); font-size: 10.5px; line-height: 1.3; }

.example-section { padding-block: 44px 34px; }
.example-section .section-heading { margin-bottom: 20px; }
.example-card { display: grid; grid-template-columns: minmax(350px, 1.08fr) minmax(210px, .72fr) minmax(260px, .9fr); align-items: stretch; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 12px 32px rgb(7 29 36 / 5%); }
.example-card__photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; min-width: 0; background: var(--line); }
.example-card__photos img { width: 100%; height: 100%; min-height: 226px; object-fit: cover; }
.example-card__check { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; aspect-ratio: 1; border: 5px solid white; border-radius: 50%; background: var(--teal-deep); color: white; font-size: 25px; font-weight: 800; transform: translate(-50%, -50%); box-shadow: 0 8px 20px rgb(7 29 36 / 18%); }
.example-card__body { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 24px 25px; }
.example-card__id { color: var(--ink); font-size: 18px; font-weight: 800; letter-spacing: -.025em; }
.status-inline { align-self: flex-start; margin-top: 7px; padding: 4px 8px; border-radius: 7px; background: var(--teal-pale); color: var(--success); font-size: 12px; font-weight: 750; }
.example-card__kind { margin-top: 9px; font-size: 11.5px; }
.example-card dl { display: flex; gap: 21px; margin: 18px 0 16px; }
.example-card dl div { display: grid; justify-items: center; min-width: 76px; gap: 2px; }
.example-card dt { display: inline-flex; align-items: center; justify-content: center; gap: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 650; }
.example-card dt svg { width: 14px; height: 14px; color: var(--teal-deep); }
.example-card dd { margin: 0; font-size: 22px; font-weight: 800; }
.example-card__button { align-self: flex-start; min-height: 37px; padding: 7px 10px; border-radius: 8px; color: var(--teal-deep); font-size: 11.5px; }
.example-card__trust { display: grid; align-content: center; gap: 15px; margin: 18px 18px 18px 0; padding: 20px 21px; border-radius: 14px; background: #f5f9f9; }
.example-card__trust p { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 8px; color: var(--ink); font-size: 12px; line-height: 1.45; }
.example-card__trust span { color: var(--teal-deep); font-weight: 850; }
.industry-chips { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 24px; }
.industry-chips span { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 12.5px; white-space: nowrap; }
.industry-chips i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-pale); color: var(--teal-deep); font-style: normal; }
.industry-chips svg { width: 22px; height: 22px; }
.landing-cta { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 38px; margin-bottom: 58px; padding: 34px 45px 34px 128px; overflow: hidden; border-radius: 20px; background: linear-gradient(115deg, #056965, #0c9089 62%, #16aaa0); }
.landing-cta::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(3 39 48 / 44%), transparent 46%); }
.landing-cta::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; right: -120px; bottom: -278px; border: 1px solid rgb(255 255 255 / 22%); border-radius: 50%; box-shadow: 0 0 0 42px rgb(255 255 255 / 4%), 0 0 0 84px rgb(255 255 255 / 3%); }
.landing-cta__symbol { position: absolute; left: 39px; top: 50%; width: 68px; height: 72px; object-fit: contain; transform: translateY(-50%); filter: brightness(0) invert(1); opacity: .95; }
.landing-cta h2 { color: white; }
.landing-cta p:not(.eyebrow) { max-width: 560px; margin-top: 10px; color: #d7eeee; font-size: 13px; }

.page--verification { background: white; }
.page--verification .site-header { border-bottom: 0; }
.page--verification .site-header__inner { min-height: 70px; }
.page--verification .brand-logo--verification { width: 152px; height: 40px; }
.verification-page { padding-block: 5px 36px; }
.verification-status { position: relative; isolation: isolate; display: grid; grid-template-columns: 102px minmax(0, 1fr) 180px; align-items: center; gap: 30px; min-height: 190px; padding: 24px 38px; overflow: hidden; border: 1px solid #d7e7e7; border-radius: 20px; background: linear-gradient(108deg, #f2fbfa, #fff 62%, #e8f7f5); }
.verification-status::after { content: ""; position: absolute; z-index: -1; width: 470px; height: 180px; right: -80px; bottom: -132px; border: 1px solid rgb(8 127 125 / 11%); border-radius: 50%; box-shadow: 0 0 0 38px rgb(29 181 170 / 3%); }
.verification-status--historical { border-color: #ead7b9; background: linear-gradient(108deg, var(--amber-pale), #fff 64%, #fff8ec); }
.verification-status__mark { display: grid; place-items: center; width: 96px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #53c9be, #07847f); color: white; box-shadow: 0 12px 28px rgb(8 127 125 / 18%); }
.verification-status--historical .verification-status__mark { background: linear-gradient(135deg, #d6974d, var(--amber)); box-shadow: 0 12px 28px rgb(167 96 20 / 16%); }
.verification-status__mark svg { width: 61%; height: 61%; }
.verification-status__copy { min-width: 0; }
.verification-status h1 { font-size: clamp(30px, 3.3vw, 42px); }
.verification-status p { max-width: 600px; margin-top: 9px; color: var(--ink); font-size: 16px; line-height: 1.55; }
.verification-status .button { margin-top: 17px; min-height: 41px; padding: 8px 14px; }
.verification-status__illustration { justify-self: end; display: block; width: 160px; height: auto; aspect-ratio: 1; color: var(--teal-deep); }
.verification-status--historical .verification-status__illustration { color: var(--amber); }
.web-card { border: 1px solid var(--line); border-radius: 20px; background: white; box-shadow: 0 12px 36px rgb(7 29 36 / 4%); }
.verification-document { padding: 34px; margin-top: 24px; }
.verification-overview { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 42px; }
.metadata-card h2, .trust-card h2 { font-size: 28px; }
.metadata-list { display: grid; margin: 21px 0 19px; }
.metadata-list > div { display: grid; grid-template-columns: minmax(190px, .78fr) minmax(0, 1.22fr); gap: 18px; align-items: start; padding: 9px 0; }
.metadata-list > .metadata-list__divider { margin-top: 5px; padding-top: 18px; border-top: 1px solid var(--line); }
.metadata-list dt { display: flex; align-items: center; gap: 11px; min-width: 0; color: var(--ink); font-size: 14px; }
.metadata-list dt svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--teal-deep); }
.metadata-list dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 14px; font-weight: 560; }
.preserve-lines { white-space: pre-line; }
.timezone-note { display: flex; align-items: center; gap: 13px; padding: 15px 17px; border-radius: 12px; background: #f5f8f8; color: var(--ink); font-size: 12.5px; line-height: 1.45; }
.timezone-note svg { flex: 0 0 auto; width: 27px; height: 27px; color: var(--teal-deep); }
.trust-card { align-self: stretch; padding: 25px 27px; border-radius: 15px; background: linear-gradient(145deg, #f2fbfa, #fff); }
.trust-card__mark { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border: 1px solid rgb(29 181 170 / 25%); border-radius: 50%; color: var(--teal-deep); background: rgb(255 255 255 / 76%); }
.trust-card__mark svg { width: 41px; height: 41px; }
.trust-card h2 { color: var(--teal-deep); text-align: center; font-size: 22px; }
.trust-card__lead { max-width: 330px; margin: 8px auto 20px; text-align: center; color: var(--ink); font-size: 13px; line-height: 1.5; }
.trust-points { display: grid; gap: 18px; padding-top: 20px; border-top: 1px solid #dce9e8; }
.trust-points > div { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 12px; }
.trust-points > div > svg { width: 23px; height: 23px; color: #23958d; }
.trust-points h3 { margin-bottom: 3px; color: var(--teal-deep); font-size: 13px; letter-spacing: -.015em; }
.trust-points p { color: var(--ink); font-size: 12px; line-height: 1.45; }
.report-preview { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.report-preview > h2 { margin-bottom: 16px; font-size: 18px; }
.retention-notice { margin: 0 0 18px; padding: 12px 14px; border: 1px solid #d8e5e6; border-radius: 10px; background: #f5f9f9; color: var(--muted); font-size: 13px; line-height: 1.5; }
.preview-sections { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.preview-section { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.preview-section h3 { margin-bottom: 10px; font-size: 13px; letter-spacing: -.01em; }
.preview-section h3 strong { color: var(--teal-deep); }
.preview-section h3 span { color: var(--ink); font-weight: 500; letter-spacing: 0; }
.preview-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.preview-tiles img, .preview-more { width: 100%; aspect-ratio: 1.04; border-radius: 9px; object-fit: cover; background: #edf2f2; }
.preview-more { display: grid; place-items: center; color: var(--ink); font-size: 18px; font-weight: 800; }
.pdf-action, .publication-history { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 17px 20px; margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9f9; }
.action-icon { width: 44px; height: 44px; color: var(--teal-deep); }
.pdf-action h2, .publication-history h2 { font-size: 16px; }
.pdf-action p, .publication-history p { margin-top: 3px; font-size: 12px; }
.pdf-action--archived { grid-template-columns: minmax(0, 1fr); }
.pdf-action .button, .publication-history .button { min-height: 39px; padding: 8px 14px; border-color: var(--teal-deep); color: var(--teal-deep); font-size: 12px; }
.local-pdf-verifier { margin-top: 20px; }
.local-pdf-verifier__body { display: grid; gap: 12px; width: 100%; max-width: 610px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 12px; background: #f7f9f9; }
.local-pdf-verifier__body h2 { font-size: 16px; }
.local-pdf-verifier__body > p { font-size: 12px; line-height: 1.55; }
.local-pdf-verifier__drop-zone { display: grid; gap: 10px; justify-items: start; padding: 14px; border: 1px dashed #9ccfca; border-radius: 10px; background: white; color: var(--ink-soft); font-size: 12px; cursor: pointer; }
.local-pdf-verifier__drop-copy { line-height: 1.45; }
.local-pdf-verifier__drop-zone:focus-within { outline: 3px solid rgb(29 181 170 / 32%); outline-offset: 3px; }
.local-pdf-verifier__drop-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.local-pdf-verifier__drop-zone .button { min-height: 39px; padding: 8px 14px; border-color: var(--teal-deep); color: var(--teal-deep); font-size: 12px; }
.local-pdf-verifier__result { display: grid; gap: 3px; margin: 0; padding: 12px 14px; border-radius: 10px; font-size: 12px; }
.local-pdf-verifier__result[hidden] { display: none; }
.local-pdf-verifier__result strong { font-size: 13px; }
.local-pdf-verifier__result[data-status="success"] { border: 1px solid #9bd8d1; background: var(--teal-pale); color: var(--success); }
.local-pdf-verifier__result[data-status="mismatch"], .local-pdf-verifier__result[data-status="unsupported"] { border: 1px solid #e8c789; background: var(--amber-pale); color: #805216; }
.local-pdf-verifier--archived { margin-top: 12px; }
.publication-history { background: white; }
.technical-details { margin-top: 20px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.technical-details summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; padding: 17px 20px; font-size: 14px; font-weight: 760; list-style: none; }
.technical-details summary::-webkit-details-marker { display: none; }
.details-chevron { width: 20px; height: 20px; flex: 0 0 auto; color: var(--ink-soft); transition: transform .16s ease; }
.technical-details[open] .details-chevron { transform: rotate(180deg); }
.technical-details[open] summary { border-bottom: 0; }
.technical-details__body { position: relative; padding: 5px 20px 18px; overflow: hidden; }
.technical-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 17px; }
.technical-list > div { min-width: 0; padding: 0 18px; border-left: 1px solid var(--line); }
.technical-list > div:first-child { padding-left: 0; border-left: 0; }
.technical-list dt { margin-bottom: 5px; color: var(--ink); font-size: 11px; }
.technical-list dd { margin: 0; overflow-wrap: anywhere; }
.technical-list code { color: var(--ink); font-size: 10px; line-height: 1.45; }
.technical-explanation { min-height: 112px; padding: 15px 150px 0 0; border-top: 1px solid var(--line); }
.technical-explanation h2 { margin-bottom: 6px; font-size: 14px; }
.technical-explanation p { max-width: 820px; color: var(--ink); font-size: 10.5px; line-height: 1.5; }
.technical-explanation p + p { margin-top: 7px; }
.technical-illustration { position: absolute; right: 24px; bottom: 18px; width: 124px; height: auto; color: var(--teal-deep); opacity: .72; }
.error-page { display: grid; min-height: calc(100vh - 190px); place-items: center; padding-block: 60px; }
.error-card { max-width: 550px; padding: 44px; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.error-card__mark { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 20px; border-radius: 15px; background: var(--amber-pale); color: var(--amber); font-size: 27px; font-weight: 850; }
.error-card h1 { font-size: 34px; }
.error-card p { margin: 14px auto 25px; }

.page--legal { background: white; }
.legal-page { padding-block: 54px 72px; }
.legal-document { max-width: 790px; margin-inline: auto; padding: clamp(28px, 5vw, 52px); }
.legal-document__eyebrow { margin-bottom: 11px; color: var(--teal-deep); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.legal-document h1 { max-width: 650px; font-size: clamp(32px, 4vw, 46px); }
.legal-document__intro { max-width: 650px; margin-top: 18px; color: var(--ink); font-size: 16px; line-height: 1.6; }
.legal-document__sections { display: grid; margin-top: 31px; }
.legal-section { padding: 22px 0; border-top: 1px solid var(--line); }
.legal-section h2 { margin-bottom: 8px; font-size: 18px; letter-spacing: -.025em; }
.legal-section p { max-width: 690px; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }

.site-footer { border-top: 1px solid var(--line); background: white; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; min-height: 75px; color: var(--ink-soft); font-size: 13px; }
.locale-switch--footer { padding: 0; border: 0; }
.site-footer__inner--brand { gap: 24px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--ink-soft); }
.footer-brand > svg { width: 29px; height: 29px; flex: 0 0 auto; color: var(--teal-deep); }
.footer-brand span { font-size: 12px; }
.footer-copy { color: #6c7d83; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-left: auto; color: var(--ink-soft); font-size: 11px; }
.footer-links a:hover { color: var(--teal-deep); }

.header-telegram { border-radius: 10px; background: var(--ink); color: white; padding: 9px 12px; font-size: 12px; font-weight: 760; white-space: nowrap; }
.header-telegram:hover { background: var(--teal-deep); }
.page--pricing, .page--support { background: linear-gradient(180deg, #fff 0, var(--canvas) 440px); }
.commercial-hero { padding-block: 58px 35px; text-align: center; }
.commercial-hero .eyebrow { margin-bottom: 12px; }
.commercial-hero h1 { font-size: clamp(36px, 4.3vw, 52px); }
.commercial-hero > p:last-child { max-width: 610px; margin: 17px auto 0; font-size: 16px; line-height: 1.65; }
.pricing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 28px; }
.plan-card, .support-card, .pricing-note, .support-links { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.plan-card { display: flex; min-width: 0; flex-direction: column; padding: clamp(25px, 4vw, 38px); }
.plan-card--pro { border-color: rgb(29 181 170 / 56%); box-shadow: 0 18px 44px rgb(8 127 125 / 13%); }
.plan-card h2, .support-card h2, .pricing-note h2, .support-links h2 { font-size: clamp(25px, 3vw, 32px); }
.plan-card__badge { display: inline-flex; margin-bottom: 12px; border-radius: 999px; background: var(--teal-pale); color: var(--teal-deep); padding: 5px 9px; font-size: 11px; font-weight: 800; }
.plan-card__lead { margin-top: 10px; min-height: 48px; font-size: 14px; }
.plan-card__items { display: grid; gap: 12px; flex: 1; margin: 30px 0; padding: 0; list-style: none; }
.plan-card__items li { position: relative; padding-left: 25px; color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.plan-card__items li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-deep); font-weight: 850; }
.plan-card__cta { align-self: stretch; }
.plan-card__note { margin: 12px 0 0; text-align: center; font-size: 12px; }
.upcoming-payment { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; border: 1px dashed #b9c9cc; border-radius: 12px; background: #f7faf9; color: var(--ink-soft); padding: 12px 14px; font-size: 13px; }
.upcoming-payment strong { border-radius: 999px; background: #e9f0f0; color: #65787d; padding: 3px 8px; font-size: 11px; }
.pricing-note { max-width: 820px; margin-bottom: 70px; padding: 27px 32px; text-align: center; }
.pricing-note p { max-width: 650px; margin: 11px auto 0; font-size: 14px; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 22px; }
.support-card { padding: clamp(25px, 4vw, 35px); }
.support-card > p { margin-top: 13px; font-size: 14px; line-height: 1.65; }
.support-card .button { margin-top: 19px; }
.support-contact { color: var(--teal-deep); font-size: 19px !important; font-weight: 780; overflow-wrap: anywhere; }
.support-card__note { border-top: 1px solid var(--line); padding-top: 16px; }
.support-links { margin-bottom: 70px; padding: 27px 32px; }
.support-links nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.support-links a { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.support-links a:hover { border-color: var(--teal); color: var(--teal-deep); }
.site-footer__inner { gap: 28px; padding-block: 26px; }
.footer-groups { display: flex; flex: 1; justify-content: center; gap: 32px; }
.footer-links { display: grid; gap: 4px; margin: 0; }
.footer-links span { margin-bottom: 3px; color: var(--ink); font-size: 11px; font-weight: 800; }
.footer-meta { display: grid; justify-items: end; gap: 8px; }

@media (max-width: 900px) {
  .landing-hero { grid-template-columns: 1fr; gap: 31px; padding-block: 60px 66px; }
  .hero-visual { width: min(100%, 560px); min-height: 375px; margin-inline: auto; }
  .verification-story { grid-template-columns: 1fr; gap: 35px; padding: 40px; }
  .example-card { grid-template-columns: minmax(320px, 1.15fr) minmax(240px, .85fr); }
  .example-card__trust { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); margin: 0; border-radius: 0; border-top: 1px solid var(--line); }
  .verification-overview { grid-template-columns: 1fr; gap: 25px; }
  .trust-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 18px; }
  .trust-card__mark { grid-row: 1 / 3; margin: 0; }
  .trust-card h2, .trust-card__lead { text-align: left; }
  .trust-card__lead { margin: 6px 0 0; }
  .trust-points { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; margin-top: 18px; }
}

@media (max-width: 700px) {
  .section-shell, .site-header__inner, .site-footer__inner { width: min(calc(100% - 32px), var(--page-width)); }
  .site-header__inner { min-height: 66px; gap: 12px; }
  .brand-logo--landing, .brand-logo--verification, .brand-logo--error, .brand-logo--legal, .brand-logo--pricing, .brand-logo--support, .brand-logo--auth { width: 132px; height: 34px; }
  .site-nav { display: none; }
  .header-home { display: none; }
  .header-telegram { margin-left: auto; padding: 8px 10px; font-size: 11px; }
  .locale-switch { margin-left: auto; }
  .landing-section { padding-block: 46px; }
  #how-it-works { padding-block: 40px 44px; }
  #verification { padding-block: 0 30px; }
  .steps, .preview-sections { grid-template-columns: 1fr; gap: 24px; }
  .step { grid-template-columns: 30px 52px minmax(0, 1fr); }
  .step:not(:last-child)::after { top: auto; bottom: -27px; left: 67px; right: auto; transform: translateX(-50%) rotate(90deg); transform-origin: center; }
  .publication-flow { gap: 18px; }
  .publication-flow li:not(:last-child)::after { right: -16px; }
  .verification-story { gap: 28px; padding: 31px 26px; }
  .example-card { grid-template-columns: 1fr; }
  .example-card__photos img { min-height: 210px; }
  .example-card__trust { grid-column: auto; grid-template-columns: 1fr; margin: 0; border-radius: 0; }
  .industry-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: initial; gap: 13px; }
  .landing-cta { display: grid; gap: 24px; padding: 31px 27px; margin-bottom: 52px; }
  .landing-cta__symbol { display: none; }
  .landing-cta .button { width: 100%; }
  .verification-page { padding-block: 3px 38px; }
  .verification-status { grid-template-columns: 66px minmax(0, 1fr); gap: 19px; min-height: 142px; padding: 24px; }
  .verification-status__mark { width: 66px; }
  .verification-status__illustration { display: none; }
  .verification-status h1 { font-size: 29px; }
  .verification-status p { font-size: 14px; }
  .verification-document { padding: 24px; }
  .preview-sections { gap: 13px; }
  .pdf-action, .publication-history { grid-template-columns: 42px minmax(0, 1fr); padding: 16px; }
  .pdf-action .button, .publication-history .button { grid-column: 1 / -1; width: 100%; }
  .action-icon { width: 38px; height: 38px; }
  .technical-list { grid-template-columns: 1fr; gap: 12px; }
  .technical-list > div, .technical-list > div:first-child { padding: 0 0 12px; border: 0; border-bottom: 1px solid var(--line); }
  .technical-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
  .technical-explanation { min-height: 0; padding-right: 0; }
  .technical-illustration { display: none; }
  .site-footer__inner { min-height: 67px; }
  .footer-brand span { display: none; }
  .site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 18px; padding-block: 22px; }
  .footer-groups { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); justify-content: stretch; gap: 14px; }
  .footer-meta { justify-items: end; }
  .pricing-grid, .support-grid { grid-template-columns: 1fr; }
  .commercial-hero { padding-block: 42px 27px; text-align: left; }
  .commercial-hero > p:last-child { margin-inline: 0; }
}

@media (max-width: 430px) {
  .landing-hero h1 { font-size: 43px; }
  .hero-visual { min-height: 300px; }
  .hero-photo { width: 53%; border-radius: 17px; }
  .hero-photo img { border-radius: 12px; }
  .hero-check { width: 54px; border-width: 5px; font-size: 27px; }
  .publication-flow { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .publication-flow li:not(:last-child)::after { display: none; }
  .example-card__photos img { min-height: 172px; }
  .industry-chips { grid-template-columns: 1fr 1fr; gap: 12px 8px; }
  .industry-chips span { gap: 7px; font-size: 11px; white-space: normal; }
  .industry-chips i { width: 38px; height: 38px; flex: 0 0 auto; }
  .photo-counts { gap: 8px; }
  .preview-tiles { grid-template-columns: repeat(2, 1fr); }
  .verification-status { grid-template-columns: 1fr; }
  .verification-status__mark { width: 58px; }
  .verification-document { padding: 19px; }
  .metadata-list > div { grid-template-columns: 1fr; gap: 5px; }
  .metadata-list dd { padding-left: 31px; }
  .trust-card { display: block; padding: 22px; }
  .trust-card__mark { margin: 0 auto 13px; }
  .trust-card h2, .trust-card__lead { text-align: center; }
  .trust-card__lead { margin: 7px auto 18px; }
  .trust-points { grid-template-columns: 1fr; }
  .preview-sections { grid-template-columns: 1fr; }
  .site-footer__inner { font-size: 12px; }
  .legal-page { padding-block: 32px 48px; }
  .legal-document { padding: 25px 21px; }
  .legal-document__intro { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

.header-account {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
}
.header-account:hover { border-color: var(--teal); color: var(--teal-dark); }
.auth-shell { display: grid; min-height: min(680px, calc(100vh - 210px)); place-items: center; padding-block: 72px; }
.auth-card { width: min(100%, 560px); padding: clamp(28px, 5vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: var(--surface); box-shadow: 0 22px 56px rgba(15, 43, 47, .08); }
.auth-card h1 { margin: 6px 0 12px; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.045em; }
.auth-card__lead { max-width: 42ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.auth-actions { display: grid; gap: 12px; margin-top: 30px; }
.auth-button { width: 100%; justify-content: center; min-height: 50px; }
.auth-card__muted { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.auth-card__back { display: inline-block; margin-top: 22px; color: var(--teal-dark); font-size: 14px; font-weight: 700; }
.auth-notice { margin: 24px 0 0; padding: 13px 15px; border: 1px solid #b9e2dd; border-radius: 14px; background: #f1fbf9; color: var(--ink); font-size: 14px; line-height: 1.45; }
.identity-section { margin-top: 35px; padding-top: 27px; border-top: 1px solid var(--line); }
.identity-section h2 { margin: 0 0 15px; font-size: 18px; letter-spacing: -.025em; }
.identity-list { display: grid; gap: 10px; }
.identity-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; }
.identity-row > div { display: grid; gap: 3px; }
.identity-row span { color: var(--muted); font-size: 14px; }
.identity-row .button, .identity-section--security .button { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.identity-section--security { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.identity-section--security h2 { margin: 0; }

@media (max-width: 700px) {
  .header-account { padding: 7px 9px; font-size: 11px; }
  .auth-shell { min-height: auto; padding-block: 38px 52px; }
  .auth-card { border-radius: 22px; }
  .identity-row, .identity-section--security { align-items: flex-start; flex-direction: column; }
  .identity-row .button, .identity-section--security .button { width: 100%; justify-content: center; }
}

/* Authenticated workspace ------------------------------------------------- */
body.app-page { min-height: 100vh; background: #f3f8f8; }
.app-shell { width: min(100%, 1440px); min-height: 100vh; margin-inline: auto; background: var(--canvas); }
.app-topbar { display: flex; align-items: center; justify-content: space-between; min-height: 70px; padding: 0 clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--line); background: rgb(255 255 255 / 94%); }
.app-brand { display: inline-flex; align-items: center; min-width: 0; }
.app-brand img { width: 134px; height: 38px; object-fit: contain; object-position: left center; }
.app-topbar__actions { display: flex; align-items: center; gap: 12px; }
.app-account-link { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; font-weight: 760; }
.app-account-link:hover { border-color: var(--teal); color: var(--teal-deep); }
.app-frame { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: calc(100vh - 70px); }
.app-sidebar { padding: 30px 20px; border-right: 1px solid var(--line); background: #f8fbfb; }
.app-navigation { display: grid; gap: 5px; }
.app-navigation a { display: flex; align-items: center; min-height: 42px; padding: 8px 12px; border-radius: 10px; color: var(--ink-soft); font-size: 13px; font-weight: 730; }
.app-navigation a:hover { background: var(--teal-pale); color: var(--teal-deep); }
.app-navigation a[aria-current="page"] { background: var(--ink); color: white; box-shadow: 0 8px 18px rgb(7 29 36 / 12%); }
.app-content { min-width: 0; padding: clamp(28px, 4vw, 52px); }
.app-heading, .app-detail-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 33px; }
.app-heading h1, .app-detail-heading h1 { font-size: clamp(31px, 4.3vw, 45px); }
.app-heading > div > p:not(.eyebrow) { max-width: 560px; margin-top: 10px; font-size: 15px; }
.app-heading .button, .app-detail-heading .button { flex: 0 0 auto; min-height: 43px; padding: 9px 14px; font-size: 13px; }
.app-section + .app-section { margin-top: 40px; }
.app-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.app-section__heading h2 { font-size: 19px; }
.app-section__heading p { margin-top: 4px; font-size: 12px; }
.app-text-link { color: var(--teal-deep); font-size: 13px; font-weight: 780; white-space: nowrap; }
.app-text-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.app-usage-grid { display: grid; grid-template-columns: minmax(155px, 1.12fr) repeat(3, minmax(135px, 1fr)); gap: 12px; }
.app-plan-card, .app-usage-card { display: grid; align-content: start; gap: 5px; min-width: 0; min-height: 122px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 6px 17px rgb(7 29 36 / 3%); }
.app-plan-card { border-color: rgb(29 181 170 / 38%); background: linear-gradient(132deg, #f0fcfa, #fff 74%); }
.app-plan-card > span, .app-usage-card > span { color: var(--ink-soft); font-size: 11px; font-weight: 760; letter-spacing: .025em; text-transform: uppercase; }
.app-plan-card strong, .app-usage-card strong { overflow-wrap: anywhere; font-size: 20px; letter-spacing: -.035em; }
.app-plan-card p, .app-plan-card small, .app-usage-card small { color: var(--ink-soft); font-size: 11px; line-height: 1.4; }
.app-plan-card small { color: var(--teal-deep); font-weight: 700; }
.app-record-list { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.app-record { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(120px, .7fr) minmax(120px, .65fr); align-items: center; gap: 18px; min-height: 67px; padding: 13px 17px; border-top: 1px solid var(--line); }
.app-record:first-child { border-top: 0; }
.app-record:hover { background: #f7fbfb; }
.app-record__main { display: grid; min-width: 0; gap: 2px; }
.app-record__main strong, .app-record__main span, .app-record__main small, .app-report-link strong, .app-report-link span, .app-report-link small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-record__main strong, .app-report-link strong { color: var(--ink); font-size: 14px; }
.app-record__main span, .app-record__main small, .app-record__meta { color: var(--ink-soft); font-size: 12px; }
.app-record__meta { text-align: right; }
.app-status { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; padding: 4px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 11px; font-weight: 780; line-height: 1.3; }
.app-status--completed { border-color: #a9ddd7; background: var(--teal-pale); color: var(--success); }
.app-status--in-progress { border-color: #ccdadd; background: #f4f8f8; color: var(--ink-soft); }
.app-empty { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 1px dashed #c6d7d8; border-radius: 14px; background: rgb(255 255 255 / 68%); }
.app-empty p { color: var(--ink-soft); font-size: 14px; }
.app-empty--large { display: grid; justify-items: start; min-height: 190px; align-content: center; padding: 29px; }
.app-mobile-navigation { display: none; }

.app-filter-form { display: grid; grid-template-columns: minmax(210px, 1.5fr) repeat(3, minmax(126px, .7fr)) auto; align-items: end; gap: 12px; margin-bottom: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 6px 18px rgb(7 29 36 / 3%); }
.app-filter-form label { display: grid; min-width: 0; gap: 5px; color: var(--ink-soft); font-size: 11px; font-weight: 760; }
.app-filter-form input, .app-filter-form select { width: 100%; min-height: 39px; border: 1px solid #c8d8da; border-radius: 9px; background: white; color: var(--ink); padding: 8px 10px; font: inherit; font-size: 13px; }
.app-filter-form input:focus, .app-filter-form select:focus { outline: 3px solid rgb(29 181 170 / 25%); border-color: var(--teal-deep); }
.app-filter-form__actions { display: flex; gap: 7px; }
.app-filter-form__actions .button { min-height: 39px; padding: 8px 11px; border-radius: 9px; font-size: 12px; }
.app-report-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 6px 18px rgb(7 29 36 / 3%); }
.app-report-table { width: 100%; min-width: 850px; border-collapse: collapse; text-align: left; }
.app-report-table th { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; font-weight: 780; letter-spacing: .025em; text-transform: uppercase; }
.app-report-table td { padding: 14px 16px; border-top: 1px solid var(--line); vertical-align: middle; color: var(--ink-soft); font-size: 13px; }
.app-report-table tbody tr:first-child td { border-top: 0; }
.app-report-table tbody tr:hover { background: #f8fbfb; }
.app-report-link { display: grid; min-width: 180px; gap: 2px; }
.app-report-link:hover strong { color: var(--teal-deep); }
.app-report-link span, .app-report-link small { color: var(--ink-soft); font-size: 11px; }
.app-report-table__verification { color: var(--ink); font-variant-numeric: tabular-nums; font-weight: 700; }
.app-counts { display: flex; flex-wrap: wrap; gap: 5px 8px; }
.app-counts span { color: var(--ink-soft); font-size: 11px; white-space: nowrap; }
.app-counts b { color: var(--ink); }
.app-pagination { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; }
.app-pagination span { color: var(--ink-soft); font-size: 12px; }
.app-pagination .button { min-height: 37px; padding: 7px 12px; font-size: 12px; }

.app-record-list--cards { gap: 12px; overflow: visible; border: 0; background: transparent; }
.app-progress-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(148px, .55fr) minmax(180px, .65fr); gap: 18px; align-items: center; padding: 19px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 6px 18px rgb(7 29 36 / 3%); }
.app-progress-card h2 { margin-top: 4px; font-size: 17px; }
.app-progress-card h2 a:hover { color: var(--teal-deep); }
.app-progress-card p { margin-top: 4px; font-size: 12px; }
.app-progress-card__status { display: grid; justify-items: start; gap: 5px; color: var(--ink-soft); font-size: 12px; }

.app-back { margin: -10px 0 19px; }
.app-back a { color: var(--teal-deep); font-size: 13px; font-weight: 760; }
.app-detail-heading { align-items: flex-start; }
.app-detail-heading__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; color: var(--ink-soft); font-size: 13px; }
.app-detail-metadata { margin-bottom: 28px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.app-detail-metadata dl, .app-settings-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; }
.app-detail-metadata dl > div { min-width: 0; padding: 7px 14px; border-left: 1px solid var(--line); }
.app-detail-metadata dl > div:first-child { padding-left: 0; border-left: 0; }
.app-detail-metadata dl > .app-detail-metadata__wide { grid-column: span 2; }
.app-detail-metadata dt, .app-settings-card dt { margin-bottom: 4px; color: var(--ink-soft); font-size: 11px; font-weight: 730; }
.app-detail-metadata dd, .app-settings-card dd { margin: 0; overflow-wrap: anywhere; color: var(--ink); font-size: 13px; font-weight: 650; }
.app-detail-metadata dd { white-space: pre-wrap; }
.app-detail-metadata dd small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 10px; font-weight: 500; }
.app-detail-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: -12px 0 27px; }
.app-detail-actions .button { min-height: 39px; padding: 8px 12px; font-size: 12px; }
.app-detail-actions form { display: inline-flex; }
.app-inline-notice { margin: -14px 0 25px; color: var(--ink-soft); font-size: 12px; }
.app-photo-section + .app-photo-section { margin-top: 27px; }
.app-photo-section { padding-top: 3px; }
.app-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(154px, 1fr)); gap: 12px; }
.app-photo-card { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: white; }
.app-photo-card img, .app-photo-placeholder { width: 100%; aspect-ratio: 1 / .78; object-fit: cover; }
.app-photo-placeholder { display: grid; place-items: center; padding: 14px; background: #f5f8f8; color: var(--ink-soft); font-size: 11px; text-align: center; }
.app-photo-card figcaption { padding: 7px 9px; color: var(--ink-soft); font-size: 11px; }
.app-history { margin-top: 35px; padding-top: 28px; border-top: 1px solid var(--line); }
.app-history ol { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: white; }
.app-history li { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; border-top: 1px solid var(--line); }
.app-history li:first-child { border-top: 0; }
.app-history li div { min-width: 0; }
.app-history li strong { display: block; font-size: 13px; }
.app-history li span, .app-history li p { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 11px; }
.app-history li p { overflow-wrap: anywhere; }

.app-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.app-settings-card { min-height: 145px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 6px 18px rgb(7 29 36 / 3%); }
.app-settings-card h2 { margin-bottom: 11px; font-size: 16px; }
.app-settings-card h2:not(:first-child) { margin-top: 20px; }
.app-settings-card > strong { font-size: 21px; }
.app-settings-card > p, .app-settings-card > small { display: block; margin-top: 4px; font-size: 12px; }
.app-settings-card > small { color: var(--teal-deep); font-weight: 700; }
.app-settings-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-settings-card dl > div { min-width: 0; padding: 0 12px; border-left: 1px solid var(--line); }
.app-settings-card dl > div:first-child { padding-left: 0; border-left: 0; }
.app-settings-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.app-settings-links .button { min-height: 39px; padding: 8px 12px; font-size: 12px; }
.app-not-found { max-width: 630px; margin: 7vh auto; }
.app-not-found h1 { font-size: 29px; }

/* Report workflow --------------------------------------------------------- */
.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; }
.app-flashes { display: grid; gap: 8px; margin: 0 0 22px; }
.app-flash { margin: 0; padding: 12px 14px; border: 1px solid; border-radius: 11px; font-size: 13px; font-weight: 650; line-height: 1.45; }
.app-flash--success { border-color: #aedfd8; background: #f1fbf9; color: #0a685f; }
.app-flash--error { border-color: #edc5a0; background: #fff8ee; color: #8f5019; }
.app-heading--compact { margin-bottom: 24px; }
.app-workflow-heading { margin-bottom: 23px; }
.app-workflow-card, .app-confirm-card { max-width: 900px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); border-radius: 17px; background: white; box-shadow: 0 8px 24px rgb(7 29 36 / 4%); }
.app-workflow-card + .app-workflow-card { margin-top: 20px; }
.app-mode-options { display: grid; gap: 11px; padding: 0; margin: 0; border: 0; }
.app-mode-option { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 13px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.app-mode-option:has(input:checked) { border-color: var(--teal); background: #f3fcfb; box-shadow: inset 0 0 0 1px rgb(29 181 170 / 15%); }
.app-mode-option input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--teal-deep); }
.app-mode-option__body { display: grid; gap: 4px; }
.app-mode-option strong { font-size: 16px; }
.app-mode-option small { color: var(--ink-soft); font-size: 13px; line-height: 1.45; }
.app-workflow-actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin-top: 20px; }
.app-workflow-actions--end { justify-content: flex-end; max-width: 900px; padding-top: 8px; }
.app-workflow-actions form { display: inline-flex; }
.app-workflow-actions .button { min-height: 42px; padding: 9px 13px; font-size: 13px; }
.app-metadata-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.app-metadata-form label, .app-upload-form label { display: grid; gap: 6px; color: var(--ink-soft); font-size: 11px; font-weight: 760; }
.app-metadata-form input, .app-metadata-form textarea, .app-upload-form select { width: 100%; border: 1px solid #c8d8da; border-radius: 10px; background: white; color: var(--ink); padding: 9px 10px; font: inherit; font-size: 13px; }
.app-metadata-form textarea { min-height: 112px; resize: vertical; line-height: 1.45; }
.app-metadata-form input:focus, .app-metadata-form textarea:focus, .app-upload-form select:focus, .app-file-picker input:focus-visible { outline: 3px solid rgb(29 181 170 / 25%); border-color: var(--teal-deep); }
.app-metadata-form__wide { grid-column: 1 / -1; }
.app-metadata-form .app-workflow-actions { grid-column: 1 / -1; margin-top: 2px; }
.app-workflow-section { max-width: 900px; margin-top: 27px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 6px 18px rgb(7 29 36 / 3%); }
.app-workflow-section .app-section__heading { margin-bottom: 15px; }
.app-photo-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 35px; }
.app-photo-card figcaption form { display: inline-flex; }
.app-photo-action { padding: 0; border: 0; background: transparent; color: #a8343b; font: inherit; font-size: 10px; font-weight: 760; cursor: pointer; }
.app-photo-action:hover { color: #702126; text-decoration: underline; text-underline-offset: 2px; }
.app-upload-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 11px 13px; align-items: end; margin-top: 17px; padding: 15px; border: 1px dashed #9fcfcd; border-radius: 13px; background: #fbfefe; }
.app-upload-form--editor { grid-template-columns: minmax(165px, .52fr) minmax(0, 1fr) auto; }
.app-file-picker { min-width: 0; }
.app-file-picker input { width: 100%; max-width: 100%; border: 1px solid #c8d8da; border-radius: 10px; background: white; color: var(--ink); font: inherit; font-size: 12px; }
.app-file-picker input::file-selector-button { margin-right: 9px; border: 0; border-radius: 7px; background: #e5f6f4; color: var(--teal-deep); padding: 7px 9px; font: inherit; font-size: 11px; font-weight: 780; cursor: pointer; }
.app-file-picker input:hover::file-selector-button { background: #d3f0ed; }
.app-file-picker small { min-height: 16px; color: var(--ink-soft); font-size: 11px; font-weight: 520; }
.app-upload-form > p { grid-column: 1 / -1; margin: -3px 0 0; color: var(--ink-soft); font-size: 11px; }
.app-provenance-note { max-width: 900px; margin: 14px 0 0; color: var(--ink-soft); font-size: 12px; line-height: 1.5; }
.app-review-card { margin-top: 28px; }
.app-review-card > p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.5; }
.app-change-list { display: grid; gap: 6px; margin: 0; padding-left: 20px; color: var(--ink); font-size: 13px; }
.app-confirm-card { max-width: 680px; margin-top: 4vh; }
.app-confirm-card h1 { margin: 6px 0 10px; font-size: clamp(29px, 4vw, 40px); letter-spacing: -.04em; }
.app-confirm-card > p:not(.eyebrow) { max-width: 56ch; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

@media (max-width: 980px) {
  .app-usage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-plan-card { grid-column: span 2; min-height: 105px; }
  .app-filter-form { grid-template-columns: minmax(200px, 1.25fr) repeat(2, minmax(140px, .7fr)); }
  .app-filter-form__actions { grid-column: 1 / -1; }
  .app-progress-card { grid-template-columns: minmax(0, 1fr) minmax(155px, .75fr); }
  .app-progress-card .app-counts { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  body.app-page { padding-bottom: 76px; }
  .app-topbar { position: sticky; z-index: 3; top: 0; min-height: 62px; padding-inline: 16px; }
  .app-brand img { width: 113px; height: 32px; }
  .app-topbar__actions { gap: 8px; }
  .app-account-link { min-height: 34px; padding: 7px 9px; font-size: 11px; }
  .app-locale-switch { font-size: 11px; }
  .app-locale-switch a { padding: 3px 6px; }
  .app-frame { display: block; min-height: auto; }
  .app-sidebar { display: none; }
  .app-content { padding: 25px 16px 28px; }
  .app-heading, .app-detail-heading { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 25px; }
  .app-heading h1, .app-detail-heading h1 { font-size: 31px; }
  .app-heading .button, .app-detail-heading .button { width: 100%; }
  .app-section + .app-section { margin-top: 31px; }
  .app-usage-grid { grid-template-columns: 1fr 1fr; gap: 9px; }
  .app-plan-card { grid-column: span 2; min-height: 92px; }
  .app-plan-card, .app-usage-card { min-height: 100px; padding: 14px; }
  .app-plan-card strong, .app-usage-card strong { font-size: 17px; }
  .app-record { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 13px; }
  .app-record__meta { grid-column: 1 / -1; text-align: left; }
  .app-empty { align-items: flex-start; flex-direction: column; }
  .app-mobile-navigation { position: fixed; z-index: 4; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); min-height: 66px; padding: 6px max(8px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid #d2e0e1; background: rgb(255 255 255 / 97%); box-shadow: 0 -7px 22px rgb(7 29 36 / 7%); backdrop-filter: blur(9px); }
  .app-mobile-navigation a { display: grid; place-items: center; min-width: 0; padding: 5px 3px; border-radius: 9px; color: var(--ink-soft); font-size: 10px; font-weight: 760; text-align: center; line-height: 1.15; }
  .app-mobile-navigation a[aria-current="page"] { background: var(--teal-pale); color: var(--teal-deep); }
  .app-filter-form { grid-template-columns: 1fr 1fr; gap: 10px; padding: 13px; }
  .app-filter-search, .app-filter-form__actions { grid-column: 1 / -1; }
  .app-filter-form__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .app-filter-form__actions .button { width: 100%; }
  .app-report-table-wrap { overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .app-report-table, .app-report-table tbody, .app-report-table tr, .app-report-table td { display: block; width: 100%; min-width: 0; }
  .app-report-table thead { display: none; }
  .app-report-table tbody { display: grid; gap: 10px; }
  .app-report-table tr { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: white; box-shadow: 0 5px 15px rgb(7 29 36 / 3%); }
  .app-report-table td, .app-report-table tbody tr:first-child td { display: grid; grid-template-columns: minmax(110px, .78fr) minmax(0, 1.22fr); gap: 10px; padding: 7px 0; border-top: 1px solid #edf2f2; font-size: 12px; }
  .app-report-table td:first-child { display: block; padding-top: 0; border-top: 0; }
  .app-report-table td::before { content: attr(data-label); color: var(--ink-soft); font-size: 10px; font-weight: 760; }
  .app-report-table td:first-child::before { display: none; }
  .app-report-table .app-status { justify-self: start; }
  .app-pagination { justify-content: space-between; gap: 8px; }
  .app-pagination span { text-align: center; }
  .app-progress-card { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .app-progress-card .app-counts { grid-column: auto; }
  .app-detail-metadata { padding: 14px; }
  .app-detail-metadata dl, .app-settings-card dl { grid-template-columns: 1fr; gap: 0; }
  .app-detail-metadata dl > div, .app-detail-metadata dl > div:first-child, .app-detail-metadata dl > .app-detail-metadata__wide { grid-column: auto; padding: 9px 0; border-top: 1px solid var(--line); border-left: 0; }
  .app-detail-metadata dl > div:first-child { padding-top: 0; border-top: 0; }
  .app-detail-actions { display: grid; margin-top: -8px; }
  .app-detail-actions .button { width: 100%; }
  .app-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .app-history li { align-items: flex-start; flex-direction: column; gap: 9px; }
  .app-settings-grid { grid-template-columns: 1fr; gap: 10px; }
  .app-settings-card { min-height: 0; padding: 17px; }
  .app-settings-card dl > div, .app-settings-card dl > div:first-child { padding: 8px 0; border-top: 1px solid var(--line); border-left: 0; }
  .app-settings-card dl > div:first-child { padding-top: 0; border-top: 0; }
  .app-settings-links { display: grid; }
  .app-settings-links .button { width: 100%; }
  .app-workflow-card, .app-workflow-section, .app-confirm-card { padding: 16px; border-radius: 14px; }
  .app-mode-option { padding: 14px; }
  .app-metadata-form { grid-template-columns: 1fr; }
  .app-metadata-form__wide { grid-column: auto; }
  .app-upload-form, .app-upload-form--editor { grid-template-columns: 1fr; align-items: stretch; }
  .app-upload-form .button, .app-workflow-actions .button, .app-workflow-actions form { width: 100%; }
  .app-workflow-actions { display: grid; grid-template-columns: 1fr; }
  .app-workflow-actions--end { justify-content: stretch; }
  .app-photo-card figcaption { align-items: flex-start; flex-direction: column; }
  .app-detail-actions form { width: 100%; }
}

@media (max-width: 380px) {
  .app-topbar { padding-inline: 12px; }
  .app-brand img { width: 99px; }
  .app-account-link { padding-inline: 7px; }
  .app-usage-grid { grid-template-columns: 1fr; }
  .app-plan-card { grid-column: auto; }
  .app-mobile-navigation a { font-size: 9px; }
}
