:root {
    color-scheme: light;
    --ztpos-bg: #fbfaf6;
    --ztpos-paper: #fffefb;
    --ztpos-paper-soft: #f5f1e8;
    --ztpos-ink: #1f2a24;
    --ztpos-ink-soft: #405047;
    --ztpos-muted: #758076;
    --ztpos-line: #e7e0d2;
    --ztpos-line-strong: #d8cfbf;
    --ztpos-sage: #587466;
    --ztpos-sage-deep: #314b41;
    --ztpos-sage-soft: #e8f0eb;
    --ztpos-mint: #cde7d8;
    --ztpos-cream: #f6ead1;
    --ztpos-peach: #f3c7aa;
    --ztpos-amber: #bb7a32;
    --ztpos-danger: #b25b4a;
    --ztpos-success: #4f8d68;
    --ztpos-warning: #bb7a32;
    --radius-card: 28px;
    --radius-soft: 18px;
    --shadow-card: 0 1px 2px rgba(55, 65, 58, .07), 0 8px 24px rgba(55, 65, 58, .06);
    --shadow-floating: 0 24px 70px rgba(55, 65, 58, .14), 0 8px 22px rgba(55, 65, 58, .08);
    font-family:
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Noto Sans TC",
        "PingFang TC",
        "Microsoft JhengHei",
        sans-serif;
    color: var(--ztpos-ink);
    background: var(--ztpos-bg);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ztpos-ink);
    background:
        radial-gradient(circle at 8% 6%, rgba(205, 231, 216, .72), transparent 28rem),
        radial-gradient(circle at 93% 2%, rgba(246, 234, 209, .82), transparent 30rem),
        linear-gradient(180deg, #fffdf7 0%, var(--ztpos-bg) 44%, #f7f3ea 100%);
    font-feature-settings: "kern" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    line-height: 1.72;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(88, 116, 102, .28);
    outline-offset: 3px;
}

.portal-page {
    min-height: 100vh;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(231, 224, 210, .78);
    background: rgba(251, 250, 246, .82);
    backdrop-filter: blur(18px);
}

.nav-inner,
.page-section,
.portal-footer {
    width: min(1168px, calc(100% - 40px));
    margin: 0 auto;
}

.nav-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ztpos-ink);
    text-decoration: none;
    font-weight: 760;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(88, 116, 102, .18);
    border-radius: 14px;
    background: linear-gradient(145deg, #eff8f2, #d3e8d8 68%, #c9dfce);
    color: var(--ztpos-sage-deep);
    box-shadow: 0 8px 18px rgba(88, 116, 102, .13);
    letter-spacing: -.04em;
}

.brand-name {
    display: grid;
    line-height: 1.16;
    letter-spacing: .03em;
}

.brand-name small {
    color: var(--ztpos-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    font-weight: 650;
}

.nav-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 9px 12px;
    color: var(--ztpos-ink-soft);
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    background: rgba(232, 240, 235, .86);
    color: var(--ztpos-sage-deep);
}

.nav-links a:hover {
    transform: translateY(-1px);
}

.nav-cta {
    border: 1px solid rgba(49, 75, 65, .1);
    background: linear-gradient(180deg, #5f7d6e 0%, #415e52 100%);
    color: #fffef9 !important;
    box-shadow: 0 10px 22px rgba(49, 75, 65, .18);
}

.nav-cta:hover {
    background: linear-gradient(180deg, #668775 0%, #314b41 100%) !important;
    color: #fffef9 !important;
}

.hero {
    padding-top: 76px;
    padding-bottom: 64px;
}

.page-section.hero:has(.product-frame) {
    display: grid;
    grid-template-columns: minmax(0, .93fr) minmax(420px, 1.07fr);
    align-items: center;
    gap: 56px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--ztpos-sage);
    font-size: 13px;
    font-weight: 760;
    letter-spacing: .12em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.08;
    letter-spacing: -0.055em;
    font-weight: 820;
    text-wrap: balance;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.16;
    letter-spacing: -.045em;
    font-weight: 810;
    text-wrap: balance;
}

h3 {
    color: var(--ztpos-ink);
    letter-spacing: -.02em;
}

.summary {
    max-width: 760px;
    color: var(--ztpos-ink-soft);
    font-size: clamp(17px, 1.6vw, 20px);
    line-height: 1.88;
    text-wrap: pretty;
}

.fineprint,
.muted {
    color: var(--ztpos-muted);
    font-size: 14px;
    line-height: 1.75;
}

.warning-note {
    max-width: 820px;
    margin: 18px 0 0;
    border: 1px solid rgba(187, 122, 50, .28);
    border-radius: var(--radius-soft);
    background: rgba(246, 234, 209, .68);
    color: #6c4a20;
    padding: 15px 17px;
    font-size: 15px;
    line-height: 1.75;
}

.warning-note strong {
    display: block;
    color: #7a4f1b;
    font-size: 16px;
    font-weight: 720;
}

.release-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.release-meta-grid div {
    min-width: 0;
    border: 1px solid rgba(187, 122, 50, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .62);
    padding: 10px 12px;
}

.release-meta-grid span {
    display: block;
    color: var(--ztpos-muted);
    font-size: 12px;
    font-weight: 800;
}

.release-meta-grid strong {
    margin-top: 4px;
    color: var(--ztpos-ink);
    font-family: var(--font-ui);
    font-size: 13px;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 16px;
}

.button,
.actions a,
.panel-form button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--ztpos-line);
    border-radius: 999px;
    background: rgba(255, 254, 251, .78);
    color: var(--ztpos-sage-deep);
    padding: 11px 18px;
    text-decoration: none;
    font-weight: 650;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border .18s ease;
}

.button:hover,
.actions a:hover,
.panel-form button:hover {
    transform: translateY(-1px);
    background: #fffefb;
    border-color: var(--ztpos-line-strong);
}

.actions a.primary-action,
.primary-action,
.button.primary,
.panel-form button {
    border-color: rgba(49, 75, 65, .12);
    background: linear-gradient(180deg, #5f7d6e 0%, #415e52 100%);
    color: #fffef9 !important;
    box-shadow: 0 10px 22px rgba(49, 75, 65, .18);
}

.button.secondary,
.actions a:not(.primary-action) {
    background: rgba(255, 254, 251, .78);
}

.primary-action:hover,
.primary-action:focus-visible,
.button.primary:hover,
.button.primary:focus-visible,
.panel-form button:hover,
.panel-form button:focus-visible {
    background: linear-gradient(180deg, #668775 0%, #314b41 100%);
    color: #fffef9 !important;
}

.product-frame {
    position: relative;
    margin-top: 0;
    border: 1px solid rgba(216, 207, 191, .95);
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255, 254, 251, .95), rgba(248, 244, 236, .95));
    box-shadow: var(--shadow-floating);
    overflow: hidden;
}

.product-titlebar {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--ztpos-line);
    background: rgba(255, 254, 251, .9);
    padding: 0 18px;
    color: var(--ztpos-muted);
    font-size: 13px;
    font-weight: 650;
}

.window-controls {
    display: flex;
    gap: 7px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ded6c7;
}

.window-controls span:nth-child(2) {
    background: var(--ztpos-mint);
}

.window-controls span:nth-child(3) {
    background: var(--ztpos-peach);
}

.product-workspace {
    display: grid;
    grid-template-columns: 86px minmax(220px, .9fr) minmax(280px, 1.15fr);
    min-height: 430px;
    background: #fffdf8;
}

.mock-sidebar {
    display: grid;
    align-content: start;
    justify-items: center;
    gap: 10px;
    border-right: 1px solid var(--ztpos-line);
    background: var(--ztpos-paper-soft);
    padding: 18px 8px;
}

.mock-sidebar div {
    width: 52px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--ztpos-muted);
    font-size: 12px;
    font-weight: 650;
}

.mock-sidebar .active {
    background: var(--ztpos-sage-deep);
    color: #fffef9;
}

.mock-panel {
    padding: 18px;
}

.mock-card,
.stat-card,
.feature-card,
.release-card,
.step-card {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .82);
    box-shadow: var(--shadow-card);
}

.mock-card {
    padding: 18px;
}

.mock-card header,
.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.mock-card h3,
.feature-card h3,
.release-card h3,
.step-card h3 {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.32;
    font-weight: 720;
}

.mock-list {
    display: grid;
    gap: 10px;
}

.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(231, 224, 210, .9);
    border-radius: var(--radius-soft);
    background: #fffefb;
    padding: 11px 12px;
    color: var(--ztpos-ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-tile {
    min-height: 108px;
    border: 1px solid var(--ztpos-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #fffefb, #faf7ef);
    padding: 14px;
    display: grid;
    align-content: space-between;
    color: var(--ztpos-ink);
    font-weight: 700;
}

.product-tile small {
    color: var(--ztpos-muted);
    font-size: 12px;
    line-height: 1.5;
}

.section-band {
    padding: 74px 0;
}

.section-band.surface {
    background: rgba(255, 254, 251, .58);
    border-top: 1px solid rgba(231, 224, 210, .84);
    border-bottom: 1px solid rgba(231, 224, 210, .84);
}

.grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.route-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.route-card,
.fit-guide,
.checklist-panel {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .86);
    box-shadow: var(--shadow-card);
}

.route-card {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 24px;
}

.route-card.recommended {
    border-color: rgba(79, 141, 104, .34);
    background: linear-gradient(180deg, rgba(255, 254, 251, .96), rgba(232, 240, 235, .84));
}

.route-card.caution {
    border-color: rgba(187, 122, 50, .32);
    background: linear-gradient(180deg, rgba(255, 254, 251, .96), rgba(246, 234, 209, .68));
}

.route-card-head {
    display: grid;
    gap: 9px;
}

.route-card h3,
.fit-guide h4,
.checklist-panel h4 {
    margin: 0;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 760;
}

.route-card p,
.fit-guide p,
.checklist-panel p {
    margin: 0;
    color: var(--ztpos-muted);
    line-height: 1.75;
}

.route-status {
    width: fit-content;
    border: 1px solid rgba(88, 116, 102, .22);
    border-radius: 999px;
    background: rgba(232, 240, 235, .9);
    color: var(--ztpos-sage-deep);
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 780;
}

.route-list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding-left: 20px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.route-card .button {
    align-self: end;
    width: fit-content;
}

.fit-guide,
.checklist-panel {
    display: grid;
    gap: 12px;
    margin-top: 14px;
    padding: 18px;
}

.checklist-list {
    display: grid;
    gap: 10px;
}

.checklist-item {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 1px solid var(--ztpos-line);
    border-radius: 16px;
    background: rgba(255, 254, 251, .76);
    padding: 11px 12px;
    color: var(--ztpos-ink-soft);
    font-size: 14px;
    line-height: 1.65;
}

.checklist-item input {
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    accent-color: var(--ztpos-sage-deep);
}

.checklist-status {
    min-height: 28px;
    margin: 0;
    color: var(--ztpos-sage-deep) !important;
    font-size: 14px;
    font-weight: 760;
}

.primary-action:disabled,
button.primary-action:disabled {
    cursor: not-allowed;
    border-color: var(--ztpos-line);
    background: #d8d2c7;
    color: #746f66 !important;
    box-shadow: none;
    transform: none;
}

.member-entry-grid {
    margin-bottom: 16px;
}

.nav-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--ztpos-line);
    border-radius: 999px;
    background: rgba(255, 254, 251, .78);
    color: var(--ztpos-sage-deep);
    padding: 9px 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.member-hero {
    padding-bottom: 36px;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 16px;
    padding-bottom: 32px;
}

.member-grid + .member-grid {
    padding-top: 0;
}

.member-page .panel {
    grid-column: span 12;
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .86);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.member-page .panel > header {
    border-bottom: 1px solid var(--ztpos-line);
    background: rgba(245, 241, 232, .82);
    padding: 16px 18px;
}

.member-page .panel > header h2 {
    margin: 0;
    color: var(--ztpos-ink);
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.member-page .panel-body {
    padding: 18px;
}

.member-page .span-4 {
    grid-column: span 4;
}

.member-page .span-6 {
    grid-column: span 6;
}

.member-page .span-8 {
    grid-column: span 8;
}

.member-page .span-12 {
    grid-column: span 12;
}

.member-page label {
    display: grid;
    gap: 7px;
    margin: 12px 0 0;
    color: var(--ztpos-ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.member-page input,
.member-page select,
.member-page textarea {
    width: 100%;
    border: 1px solid var(--ztpos-line-strong);
    border-radius: 16px;
    background: #fffefb;
    color: var(--ztpos-ink);
    font: inherit;
    padding: 11px 13px;
}

.member-page input[type="checkbox"] {
    width: auto;
    min-height: 0;
    margin-right: 8px;
}

.member-page textarea {
    min-height: 110px;
    resize: vertical;
}

.member-page .actions {
    margin: 16px 0 0;
}

.member-page button:not(.nav-button),
.member-page .button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(49, 75, 65, .12);
    border-radius: 999px;
    background: linear-gradient(180deg, #5f7d6e 0%, #415e52 100%);
    color: #fffef9;
    padding: 11px 18px;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(49, 75, 65, .14);
}

.member-page button.secondary {
    border-color: var(--ztpos-line);
    background: rgba(255, 254, 251, .78);
    color: var(--ztpos-sage-deep);
    box-shadow: none;
}

.member-page button:not(.nav-button):hover,
.member-page button:not(.nav-button):focus-visible,
.member-page .button:hover,
.member-page .button:focus-visible {
    background: linear-gradient(180deg, #668775 0%, #314b41 100%);
    color: #fffef9;
    border-color: rgba(49, 75, 65, .16);
}

.member-page button.secondary:hover,
.member-page button.secondary:focus-visible,
.member-page .button.secondary:hover,
.member-page .button.secondary:focus-visible {
    background: #fffefb;
    color: var(--ztpos-sage-deep);
    border-color: var(--ztpos-line-strong);
}

.member-page .status-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.member-page .status {
    border: 1px solid var(--ztpos-line);
    border-radius: var(--radius-soft);
    background: #fffefb;
    padding: 14px;
}

.member-page .status strong {
    display: block;
    color: var(--ztpos-ink);
    font-size: 15px;
    margin-bottom: 3px;
}

.member-page .status span,
.member-page .message,
.member-page .row {
    font-size: 14px;
}

.member-page .status span,
.member-page .row span {
    color: var(--ztpos-muted);
}

.member-page .rows {
    display: grid;
    gap: 8px;
}

.member-page .row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(231, 224, 210, .7);
    padding: 9px 0;
}

.member-page .row:last-child {
    border-bottom: 0;
}

.member-page .feedback-card {
    display: grid;
    gap: 10px;
    border-bottom: 1px solid rgba(231, 224, 210, .7);
    padding: 12px 0;
}

.member-page .feedback-card:last-child {
    border-bottom: 0;
}

.member-page .feedback-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.member-page .feedback-card-header strong {
    color: var(--ztpos-ink);
    overflow-wrap: anywhere;
}

.member-page .feedback-message {
    margin: 0;
    border: 1px solid var(--ztpos-line);
    border-radius: 14px;
    background: rgba(245, 241, 232, .54);
    color: var(--ztpos-ink-soft);
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.member-page .feedback-supplement-form {
    display: grid;
    gap: 8px;
}

.member-page .feedback-supplement-form textarea {
    min-height: 82px;
}

.member-page .feedback-supplement-form output {
    align-self: center;
    color: var(--ztpos-muted);
    font-size: 13px;
    font-weight: 700;
}

.member-page .badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    border-radius: 999px;
    background: var(--ztpos-sage-soft);
    color: var(--ztpos-sage-deep);
    padding: 2px 9px;
    font-size: 12px;
    font-weight: 720;
    white-space: nowrap;
}

.member-page .message {
    min-height: 24px;
    margin-top: 10px;
    color: var(--ztpos-sage-deep);
    font-weight: 720;
}

.member-page .error {
    color: var(--ztpos-danger);
}

.hidden {
    display: none !important;
}

.feature-card,
.release-card,
.step-card {
    padding: 24px;
}

.feature-card p,
.release-card p,
.step-card p,
.portal-footer p {
    margin: 0;
    color: var(--ztpos-muted);
    line-height: 1.72;
}

.feature-card a,
.release-card a,
.step-card a,
.portal-footer a {
    color: var(--ztpos-sage-deep);
    font-weight: 720;
    text-decoration-color: rgba(88, 116, 102, .3);
    text-underline-offset: 3px;
}

.feedback-forum-list {
    display: grid;
    gap: 14px;
}

.feedback-forum-item,
.feedback-forum-empty {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .9);
    box-shadow: var(--shadow-card);
}

.feedback-forum-empty {
    padding: 22px;
    color: var(--ztpos-muted);
    line-height: 1.72;
}

.feedback-forum-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(112px, 148px);
    gap: 18px;
    align-items: center;
    padding: 18px;
}

.feedback-forum-item h3 {
    margin: 8px 0 0;
    font-size: 19px;
    line-height: 1.42;
    overflow-wrap: anywhere;
}

.feedback-forum-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.feedback-forum-meta span {
    border: 1px solid rgba(73, 107, 91, .2);
    border-radius: 999px;
    background: rgba(232, 245, 238, .78);
    color: var(--ztpos-sage-deep);
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 720;
}

.feedback-vote-box {
    display: grid;
    justify-items: center;
    gap: 5px;
    border-left: 1px solid rgba(231, 224, 210, .96);
    padding-left: 18px;
    min-width: 0;
}

.feedback-vote-box strong {
    font-size: 28px;
    line-height: 1;
}

.feedback-vote-box span {
    color: var(--ztpos-muted);
    font-size: 12px;
}

.feedback-vote-box button {
    width: 100%;
    border: 1px solid rgba(73, 107, 91, .24);
    border-radius: 999px;
    background: var(--ztpos-sage-deep);
    color: #fffef9;
    padding: 9px 10px;
    font-weight: 760;
}

.feedback-vote-box button:disabled {
    cursor: default;
    opacity: .68;
}

.docs-search-panel {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.docs-search-panel label {
    color: var(--ztpos-ink);
    font-weight: 760;
}

.docs-search-panel input {
    width: 100%;
    border: 1px solid rgba(73, 107, 91, .24);
    border-radius: 999px;
    background: #fffefb;
    color: var(--ztpos-ink);
    padding: 13px 16px;
    font-size: 16px;
}

.docs-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.docs-search-card {
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .88);
    box-shadow: var(--shadow-card);
    padding: 20px;
    min-width: 0;
}

.docs-search-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
    line-height: 1.35;
}

.docs-search-card p {
    margin: 0 0 12px;
    color: var(--ztpos-muted);
    line-height: 1.72;
}

.docs-search-card a {
    color: var(--ztpos-sage-deep);
    font-weight: 760;
    text-underline-offset: 3px;
}

.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 24px;
}

.stat-card {
    padding: 18px;
}

.stat-card strong {
    display: block;
    color: var(--ztpos-sage-deep);
    font-size: 26px;
    line-height: 1.1;
    letter-spacing: -.04em;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    border: 1px solid rgba(231, 224, 210, .95);
    border-radius: 999px;
    background: rgba(255, 254, 251, .68);
    color: var(--ztpos-muted);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 650;
}

.status-ok {
    color: var(--ztpos-success);
}

.status-warn {
    color: var(--ztpos-warning);
}

.panel-form {
    max-width: 760px;
    display: grid;
    gap: 14px;
    border: 1px solid rgba(231, 224, 210, .96);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .86);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.panel-form label {
    display: grid;
    gap: 7px;
    color: var(--ztpos-ink-soft);
    font-size: 13px;
    font-weight: 650;
}

.panel-form input,
.panel-form select,
.panel-form textarea {
    width: 100%;
    border: 1px solid var(--ztpos-line-strong);
    border-radius: 16px;
    background: #fffefb;
    color: var(--ztpos-ink);
    font: inherit;
    padding: 11px 13px;
}

.download-result {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: var(--ztpos-muted);
    font-size: 14px;
    font-weight: 650;
}

.deploy-panel {
    border-top: 1px solid var(--ztpos-line);
    padding-top: 24px;
}

.deploy-panel dl {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0;
}

.deploy-panel div {
    border: 1px solid var(--ztpos-line);
    border-radius: var(--radius-card);
    background: rgba(255, 254, 251, .82);
    padding: 18px;
}

.deploy-panel dt {
    color: var(--ztpos-muted);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.deploy-panel dd {
    margin: 8px 0 0;
    overflow-wrap: anywhere;
    font-size: 16px;
    line-height: 1.55;
}

.portal-footer-wrap {
    border-top: 1px solid rgba(231, 224, 210, .9);
    background: rgba(255, 254, 251, .64);
}

.portal-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 34px 0 46px;
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-weight: 650;
}

@media (max-width: 980px) {
    .page-section.hero:has(.product-frame) {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}

@media (max-width: 860px) {
    .nav-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        flex-wrap: wrap;
        overflow: visible;
        padding-bottom: 2px;
    }

    .nav-links a {
        flex: 1 1 calc(50% - 6px);
        justify-content: center;
        padding: 9px 8px;
        text-align: center;
    }

    .nav-links .nav-cta {
        flex-basis: 100%;
    }

    .nav-links .nav-button {
        flex: 1 1 100%;
        justify-content: center;
    }

    .hero {
        padding-top: 44px;
        padding-bottom: 46px;
    }

    h1 {
        font-size: clamp(38px, 13vw, 58px);
        letter-spacing: -.048em;
    }

    .summary {
        font-size: 17px;
        line-height: 1.82;
    }

    .product-workspace {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .product-titlebar {
        min-height: auto;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 14px;
        font-size: 12px;
    }

    .mock-sidebar {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 6px;
        border-right: 0;
        border-bottom: 1px solid var(--ztpos-line);
        padding: 10px;
    }

    .mock-sidebar div {
        width: auto;
        min-height: 42px;
        font-size: 11px;
    }

    .mock-panel {
        padding: 12px;
    }

    .mock-card header,
    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .member-page .span-4,
    .member-page .span-6,
    .member-page .span-8 {
        grid-column: span 12;
    }

    .member-page .status-list {
        grid-template-columns: 1fr;
    }

    .tag {
        white-space: normal;
    }

    .mock-panel.product-area {
        grid-column: auto;
        padding-top: 0;
    }

    .mock-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .mock-grid {
        grid-template-columns: 1fr;
    }

    .section-band {
        padding: 58px 0;
    }

    .feedback-forum-item {
        grid-template-columns: 1fr;
    }

    .feedback-vote-box {
        border-left: 0;
        border-top: 1px solid rgba(231, 224, 210, .96);
        padding: 14px 0 0;
        justify-items: stretch;
    }

    .portal-footer {
        flex-direction: column;
    }
}

@media (max-width: 720px) {
    .nav-inner,
    .page-section,
    .portal-footer {
        width: min(100% - 28px, 1168px);
    }
}
