.member-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 9px; font-size: 13px; }
.member-nav a, .member-nav button { color: inherit; font: inherit; text-decoration: none; border: 1px solid currentColor; border-radius: 8px; background: transparent; padding: 5px 9px; cursor: pointer; }
.member-nav a:first-child { background: rgba(255,255,255,.14); }
.member-service-link { text-decoration: none; }
.member-service-link span[data-i18n] { min-width: 0; white-space: normal; }
@media (min-width: 761px) and (hover: hover) and (pointer: fine) {
  .platform-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 8px; padding: 10px; overflow: visible; }
  .platform-tabs > .platform-tab { width: 100%; min-width: 0; min-height: 50px; justify-content: flex-start; padding: 10px 12px; font-size: 14px; }
  .platform-tabs > .platform-tab span[data-i18n] { min-width: 0; white-space: normal; word-break: keep-all; line-height: 1.4; text-align: left; }
  .platform-tabs > .platform-tab small { flex-shrink: 0; }
}
@media (min-width: 1200px) and (hover: hover) and (pointer: fine) {
  .platform-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.member-hero-controls { gap: 12px; }
.hero-utility-row, .hero-account-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; }
.member-hero-controls .hero-feedback-button { min-height: 42px; padding: 9px 16px; font-size: 14px; order: 0; }
.member-hero-controls .language-switch { order: 0; }
.member-hero-controls .language-option { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.member-hero-controls .hero-nav-card { order: 0; flex-basis: auto; }
.member-hero-controls .member-nav { font-size: 14px; gap: 10px; }
.member-hero-controls .member-nav > span { overflow-wrap: anywhere; }
.member-hero-controls .member-nav a, .member-hero-controls .member-nav button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border-radius: 10px; }
.member-hero-controls .member-nav .member-login-link { min-width: 96px; background: #fff; color: #2057b7; border-color: #fff; font-size: 16px; font-weight: 700; box-shadow: 0 4px 12px rgba(7,36,89,.16); }
.member-shell { max-width: 1160px; }
.member-shell [hidden] { display: none !important; }
.member-shell a { color: var(--primary); }
.member-shell .tool-hero a { color: #fff; }
.member-shell .tool-hero .member-home-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 22px; border: 1px solid rgba(255,255,255,.8); border-radius: 12px; background: #fff; color: #2057b7; font-size: 16px; font-weight: 700; box-shadow: 0 5px 14px rgba(7,36,89,.15); transition: background .15s, box-shadow .15s; }
.member-shell .tool-hero .member-home-link:hover { background: #eff6ff; box-shadow: 0 7px 18px rgba(7,36,89,.2); }
.member-shell .tool-hero .member-home-link:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 3px; }
.member-shell .tool-hero { margin-bottom: 20px; }
.member-shell .member-panel { padding: 24px; margin-top: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.member-shell h2 { margin: 0 0 15px; font-size: 21px; }
.member-shell h3 { margin: 18px 0 12px; }
.member-shell p { line-height: 1.7; }
.member-shell .member-muted { color: var(--muted); font-size: 13px; }
.member-shell .member-auth { max-width: 520px; margin: 25px auto; }
.member-auth-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.member-auth-actions .button { min-height: 46px; padding: 11px 16px; font-size: 16px; }
.member-shell label.member-field { display: flex; flex-direction: column; gap: 7px; margin: 14px 0; font-size: 14px; font-weight: 600; }
.member-shell input:not([type="checkbox"]), .member-shell textarea, .member-shell select { width: 100%; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.member-shell input:focus, .member-shell textarea:focus { outline: 2px solid #bfdbfe; border-color: var(--primary); }
.member-shell textarea { min-height: 170px; resize: vertical; font-family: ui-monospace, Consolas, monospace; }
.member-shell .member-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.member-shell .member-actions a { text-decoration: none; }
.member-shell .member-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.member-shell .member-tabs button { border: 1px solid var(--line); border-radius: 9px; padding: 10px 16px; color: var(--muted); background: #fff; font-weight: 700; cursor: pointer; }
.member-shell .member-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.member-shell .member-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.member-shell .member-metric { display: grid; gap: 9px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.member-shell .member-metric span { font-size: 13px; color: var(--muted); }
.member-shell .member-metric strong { font-size: 24px; overflow-wrap: anywhere; }
.member-shell .member-note { padding: 13px 16px; border-radius: 9px; background: #eff6ff; color: #1e40af; font-size: 13px; line-height: 1.8; }
.member-shell .member-warning { background: #fff7ed; color: #9a3412; }
.member-shell .member-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.7; margin: 14px 0; }
.member-shell .member-check input { flex: 0 0 auto; margin-top: 5px; accent-color: var(--primary); }
.member-shell .member-message { padding: 12px 16px; margin-top: 16px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 10px; color: #166534; line-height: 1.6; }
.member-shell .member-message.is-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.member-shell .member-quote { display: flex; gap: 20px; flex-wrap: wrap; background: #f8fafc; border: 1px solid var(--line); padding: 16px; border-radius: 10px; line-height: 1.8; }
.member-shell .member-quote strong { display: block; color: var(--ink); }
.member-shell .member-payment-fields { display: flex; flex-wrap: wrap; gap: 18px; }
.member-shell .member-payment-fields > label { flex: 1 1 200px; }
.member-shell #payment-link { color: #fff; text-decoration: none; }
.member-shell .member-table-wrap { overflow: auto; }
.member-shell table { width: 100%; border-collapse: collapse; white-space: nowrap; }
.member-shell td, .member-shell th { padding: 12px 10px; text-align: left; border-bottom: 1px solid #edf1f7; font-size: 13px; }
.member-shell th { color: var(--muted); background: #f8fafc; }
.member-shell td button { margin-right: 6px; font-size: 12px; min-height: 30px; padding: 5px 8px; }
.member-shell .member-empty { color: var(--muted); text-align: center; padding: 30px; }
.member-shell .member-order-detail > td { padding: 0 0 18px; white-space: normal; }
.member-shell .member-order-results { margin: 0; padding: 18px; background: #f8fafc; border-radius: 0 0 12px 12px; }
.member-shell .member-order-results h2 { font-size: 18px; }
.member-shell .member-order-results th { background: #eef2f7; }
.member-shell .member-order-results td:nth-child(2) { overflow-wrap: anywhere; white-space: normal; }
.member-shell .member-result-pages { justify-content: center; font-size: 13px; }
.member-shell .member-result-reason { display: block; max-width: 360px; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.member-shell .member-result-counts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; white-space: normal; }
.member-shell .member-result-counts > div { display: grid; gap: 10px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.member-shell .member-result-counts span { font-size: 13px; color: var(--muted); }
.member-shell .member-result-counts strong { font-size: 24px; }
@media(max-width: 760px) { .member-shell .member-result-counts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .member-shell .member-result-counts > div { padding: 12px; } }
.member-shell pre { overflow: auto; max-height: 480px; white-space: pre-wrap; overflow-wrap: anywhere; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; padding: 16px; font-size: 12px; }
.member-shell details { margin-top: 20px; }
.member-shell summary { cursor: pointer; color: var(--primary); }
.member-shell .member-status { display: inline-block; border-radius: 6px; background: #eff6ff; color: #1d4ed8; padding: 3px 7px; }
.member-shell .member-status[data-status="unknown"] { background: #fff7ed; color: #9a3412; }
.member-shell .member-status[data-status="completed"] { background: #f0fdf4; color: #166534; }
.public-unlock { margin-top: 20px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.public-unlock[hidden], .public-unlock [hidden] { display: none !important; }
.public-unlock a { color: var(--primary); }
.public-unlock a.button-primary { color: #fff; }
.public-unlock-heading, .public-unlock-actions, .public-unlock-input-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.public-unlock h2 { margin: 0 0 12px; font-size: 24px; }
.public-unlock-kicker { margin: 0 0 8px; color: var(--primary); font-size: 13px; font-weight: 700; }
.public-unlock-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding: 16px 20px; border: 1px solid #bfdbfe; border-radius: 12px; background: #eff6ff; }
.public-unlock-prices p { margin: 0; line-height: 1.8; }
.public-unlock-prices strong { display: inline-block; margin-left: 8px; color: #1e40af; font-size: 24px; }
.public-unlock-prices .public-unlock-free-rule { color: #1e40af; font-size: 18px; font-weight: 600; }
.public-unlock-muted, .public-unlock-field span { color: var(--muted); font-size: 13px; line-height: 1.8; }
.public-unlock-note { padding: 13px 16px; border-radius: 10px; background: #f1f5f9; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.public-unlock-note.is-error { color: #991b1b; background: #fef2f2; }
.public-unlock-field { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 18px 0 10px; font-size: 15px; font-weight: 600; }
.public-unlock textarea { box-sizing: border-box; width: 100%; min-height: 190px; padding: 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); font: 14px/1.7 ui-monospace, Consolas, monospace; resize: vertical; }
.public-unlock textarea:focus { outline: 2px solid #bfdbfe; border-color: var(--primary); }
.public-unlock-input-meta { margin-top: 10px; font-size: 13px; color: var(--muted); }
.public-unlock-input-meta .button { min-height: 34px; padding: 6px 12px; font-size: 13px; }
.public-unlock-actions { justify-content: flex-start; margin: 14px 0 0; }
.public-unlock-actions a { text-decoration: none; }
.public-unlock a.public-unlock-records { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: fit-content; min-width: 224px; max-width: 100%; min-height: 50px; box-sizing: border-box; padding: 12px 20px; border: 1px solid #a8c9ff; border-radius: 11px; background: #fff; color: #2057b7; font-size: 17px; font-weight: 700; text-decoration: none; box-shadow: 0 3px 10px rgba(37,99,235,.09); }
.public-unlock a.public-unlock-records:hover { background: #dbeafe; border-color: #6b9ff5; }
.public-unlock a.public-unlock-records:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 3px; }
.public-unlock-submitted { margin-top: 18px; padding: 20px; border: 1px solid #bbf7d0; border-radius: 12px; background: #f0fdf4; color: #166534; }
.public-unlock-submitted > strong { font-size: 20px; }
.public-unlock-submitted p { line-height: 1.7; }
.public-unlock-success-dialog { width: min(480px, calc(100vw - 36px)); box-sizing: border-box; padding: 26px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; }
.public-unlock-success-dialog::backdrop { background: rgba(15,23,42,.5); }
.public-unlock-success-dialog p { line-height: 1.8; }
.public-unlock-quote { display: flex; flex-wrap: wrap; gap: 16px 32px; margin-top: 20px; padding: 18px; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; }
.public-unlock-quote > div > span { color: var(--muted); font-size: 13px; }
.public-unlock-quote strong { display: block; margin-top: 8px; font-size: 21px; }
.public-unlock-quote > p, .public-unlock-quote > .public-unlock-actions { flex-basis: 100%; margin: 0; line-height: 1.8; }
.unlock-example { display: block; width: min(100%, 460px); height: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
@media(max-width: 760px) { .public-unlock { padding: 17px; } .public-unlock-heading { align-items: flex-start; } .public-unlock-prices { display: grid; padding: 14px; gap: 8px; } .public-unlock-prices strong { font-size: 22px; } .public-unlock-quote { gap: 15px 22px; } }
@media(max-width: 760px) { .public-unlock a.public-unlock-records { width: 100%; min-width: 0; margin: 8px 0 0; } }
@media(max-width: 760px) { .member-shell .tool-hero { align-items: flex-start; flex-direction: column; gap: 15px; } .member-shell .member-panel { padding: 17px; } .member-shell .member-metrics { grid-template-columns: 1fr 1fr; } .member-shell .member-metric:last-child { grid-column: 1 / -1; } .member-nav { justify-content: flex-start; } }
@media(max-width: 760px) { .member-shell .member-order-results { width: calc(100vw - 64px); max-width: 100%; box-sizing: border-box; padding: 12px; } .member-shell .member-order-results th, .member-shell .member-order-results td { padding: 9px 6px; font-size: 12px; } .member-shell .member-order-results h2 { flex-basis: 100%; } }
@media(max-width: 760px) { .member-hero-controls { justify-items: end; } .hero-utility-row, .hero-account-row { width: 100%; gap: 10px; } .hero-account-row .hero-nav-card { width: 100%; } .member-hero-controls .member-nav { justify-content: flex-end; } .member-service-link small { display: inline-block; } }
