* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: #f0f2f5;
    color: #333;
    font: 14px/1.5 Arial, "Microsoft YaHei", sans-serif;
}

a {
    color: #20a53a;
    text-decoration: none;
}

a:hover {
    color: #17862d;
}

code {
    display: inline-block;
    max-width: 360px;
    overflow: hidden;
    padding: 2px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 3px;
    background: #f7f9fb;
    color: #444;
    font-family: Consolas, Monaco, monospace;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.log-detail {
    min-width: 280px;
}

.log-pairs {
    display: grid;
    gap: 6px;
}

.log-pair {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 8px;
    align-items: start;
}

.log-key {
    color: #666;
    font-weight: 600;
}

.log-value {
    color: #222;
    word-break: break-word;
}

.log-empty {
    color: #999;
}

.log-detail pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.log-detail code {
    display: block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
}

.app {
    display: flex;
    min-height: 100vh;
}

aside {
    position: sticky;
    top: 0;
    width: 190px;
    height: 100vh;
    padding: 0;
    background: #2f3542;
    color: #d7dce3;
    box-shadow: 2px 0 8px rgba(0, 0, 0, .08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    background: #252b36;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.brand img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand span {
    overflow: hidden;
    text-overflow: ellipsis;
}

nav {
    display: grid;
    gap: 0;
    padding-top: 10px;
}

nav a,
.logout {
    display: block;
    margin: 0;
    padding: 12px 18px;
    border-left: 3px solid transparent;
    border-radius: 0;
    color: #d7dce3;
}

nav a.active,
nav a:hover,
.logout:hover {
    border-left-color: #20a53a;
    background: #252b36;
    color: #fff;
}

.logout {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

main {
    flex: 1;
    min-width: 0;
    padding: 18px 20px 32px;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    margin-bottom: 14px;
}

h1 {
    margin: 0;
    color: #222;
    font-size: 20px;
    font-weight: 500;
}

h2 {
    margin: 0;
    color: #222;
    font-size: 15px;
    font-weight: 600;
}

section,
.auth-panel {
    margin-bottom: 16px;
    padding: 0;
    border: 1px solid #dcdfe6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid #edf0f2;
    border-radius: 12px 12px 0 0;
    background: #fff;
}

.collapse-section {
    overflow: hidden;
    border: 1px solid #dcdfe6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.collapse-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
}

.collapse-section summary::-webkit-details-marker {
    display: none;
}

.collapse-section summary::after {
    content: "+";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-left: 10px;
    border: 1px solid #dcdfe6;
    border-radius: 50%;
    color: #666;
    font-weight: 500;
}

.collapse-section[open] summary {
    border-bottom-color: #edf0f2;
}

.collapse-section[open] summary::after {
    content: "-";
}

.collapse-section summary span {
    flex: 1;
    min-width: 0;
}

.collapse-section summary em {
    margin-left: 12px;
    color: #777;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.metric {
    min-height: 78px;
    padding: 14px 16px;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.metric span {
    display: block;
    color: #777;
    font-size: 13px;
}

.metric strong {
    display: block;
    margin-top: 4px;
    color: #20a53a;
    font-size: 26px;
    font-weight: 500;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

th,
td {
    padding: 9px 10px;
    border-bottom: 1px solid #ebeef5;
    color: #333;
    text-align: left;
    vertical-align: middle;
}

th {
    background: #f6f7f9;
    color: #555;
    font-weight: 500;
}

tr:hover td {
    background: #f9fbf9;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
}

.form-grid .wide {
    grid-column: 1 / -1;
}

label {
    display: grid;
    gap: 6px;
    color: #444;
    font-weight: 500;
}

input,
select,
textarea {
    width: 100%;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    outline: none;
    background: #fff;
    color: #333;
    font: inherit;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #20a53a;
    box-shadow: 0 0 0 2px rgba(32, 165, 58, .12);
}

textarea {
    resize: vertical;
}

.check {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    font-weight: 400;
}

.check input {
    width: auto;
    min-height: 0;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    padding: 12px 14px;
    border-bottom: 1px solid #ebeef5;
    background: #fbfbfc;
}

.filters label {
    min-width: 170px;
}

.settings-form {
    display: grid;
    gap: 14px;
}

.settings-form > .primary {
    justify-self: start;
}

.button,
button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font: inherit;
}

.button:hover,
button:hover {
    border-color: #20a53a;
    color: #20a53a;
}

.primary {
    border-color: #20a53a;
    background: #20a53a;
    color: #fff;
}

.primary:hover {
    border-color: #17862d;
    background: #17862d;
    color: #fff;
}

.link {
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #20a53a;
}

.danger {
    color: #e74c3c;
}

.actions {
    white-space: nowrap;
}

.inline {
    display: inline;
    margin-left: 10px;
}

.notice {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 3px;
}

.notice.error {
    border: 1px solid #f3b5ae;
    background: #fff4f2;
    color: #c0392b;
}

.notice.success {
    border: 1px solid #bde5c6;
    background: #f1fbf3;
    color: #17862d;
}

.notice.warn {
    border: 1px solid #f1d58b;
    background: #fff8df;
    color: #8a6800;
}

.auth-panel {
    max-width: 760px;
    margin: 42px auto;
    padding: 20px;
}

.auth-panel.login {
    max-width: 380px;
    margin-top: 86px;
}

.auth-panel h1 {
    margin-bottom: 18px;
    text-align: center;
}

.login-brand {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.login-brand img {
    width: 96px;
    max-height: 42px;
    object-fit: contain;
}

.login-brand h1 {
    margin: 0;
}

.auth-panel form {
    display: grid;
    gap: 14px;
}

.grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.portal-body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: linear-gradient(120deg, #edfbf3, #f2fff7, #ffffff);
}

.front-nav {
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 0 max(60px, calc((100vw - 1180px) / 2));
    background: transparent;
}

.front-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #222;
    font-size: 22px;
    font-weight: 600;
}

.front-logo-mark {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #28c76f;
    box-shadow: 0 8px 20px rgba(40, 199, 111, .25);
}

.front-logo-mark::after {
    content: "";
    position: absolute;
    top: 7px;
    left: 10px;
    width: 12px;
    height: 20px;
    border-left: 4px solid #fff;
    border-radius: 10px;
}

.front-nav nav {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0;
}

.front-nav nav a {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0;
    border-radius: 0;
    color: #555;
    font-size: 16px;
}

.front-nav nav a:hover,
.front-nav nav a.active {
    background: transparent;
    color: #28c76f;
}

.front-main {
    flex: 1;
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    padding: 30px 60px 48px;
}

.portal-shell {
    min-height: 100vh;
    padding: 1px 14px;
}

.portal-body > .notice,
.portal-top,
.portal-body > section {
    max-width: 1080px;
    margin-right: auto;
    margin-left: auto;
}

.portal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 28px;
    margin-bottom: 16px;
    padding: 18px 20px;
    border: 1px solid #dcdfe6;
    border-radius: 3px;
    background: #fff;
}

.portal-top h1 {
    margin-bottom: 4px;
}

.portal-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-title img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.portal-top p {
    margin: 0;
    color: #777;
}

.front-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 18px;
    align-items: stretch;
    padding: 72px 34px;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.front-hero-simple {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
    min-height: 410px;
    text-align: center;
}

.front-hero-simple .front-actions {
    justify-content: center;
}

.front-kicker {
    margin-bottom: 8px;
    color: #28c76f;
    font-weight: 700;
}

.front-hero h1 {
    margin: 0 0 24px;
    color: #28c76f;
    font-size: 56px;
    font-weight: 600;
    line-height: 1.25;
}

.front-hero p {
    max-width: 640px;
    margin: 0 auto;
    color: #666;
    font-size: 20px;
}

.front-actions {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 42px;
}

.front-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 40px;
    border: 1px solid #dcdfe6;
    border-radius: 50px;
    background: #fff;
    color: #333;
    font-size: 18px;
}

.front-actions a.primary {
    border-color: #28c76f;
    background: #28c76f;
    color: #fff;
}

.front-panel {
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 22px;
    border: 1px solid #cfead5;
    border-radius: 4px;
    background: #fff;
}

.front-panel strong {
    color: #20a53a;
    font-size: 46px;
    font-weight: 600;
}

.front-panel span {
    font-size: 16px;
    font-weight: 600;
}

.front-panel p {
    margin: 0;
    color: #777;
}

.section-meta {
    color: #777;
    font-size: 13px;
}

.front-title {
    padding: 0 0 14px;
    border: 0;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.front-title h1 {
    margin-bottom: 10px;
    color: #28c76f;
    font-size: 32px;
}

.front-title p {
    margin: 0;
    color: #777;
}

.front-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    padding: 16px;
}

.front-link {
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid #ebeef5;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
    color: #333;
}

.front-link:hover {
    border-color: #28c76f;
    background: #f4fcf6;
}

.front-link strong {
    font-size: 16px;
}

.front-link span {
    color: #777;
}

.query-box {
    padding: 16px;
}

.query-box form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
    gap: 12px;
    align-items: end;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    padding: 16px;
}

.portal-info {
    min-height: 72px;
    padding: 12px;
    border: 1px solid #ebeef5;
    border-radius: 3px;
    background: #fbfbfc;
}

.portal-info span {
    display: block;
    margin-bottom: 6px;
    color: #777;
    font-size: 13px;
}

.portal-info strong {
    display: block;
    color: #222;
    font-weight: 500;
    word-break: break-all;
}

.portal-bind {
    display: flex;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid #ebeef5;
    background: #fbfbfc;
}

.portal-bind input {
    max-width: 360px;
}

.portal-changelog {
    padding: 0 16px 16px;
}

.portal-changelog h3 {
    margin: 0 0 8px;
    font-size: 14px;
}

.portal-changelog pre {
    margin: 0;
    padding: 12px;
    overflow: auto;
    border: 1px solid #ebeef5;
    border-radius: 3px;
    background: #fbfbfc;
    color: #444;
    white-space: pre-wrap;
}

.portal-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    padding: 16px;
}

.portal-product {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 14px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.portal-product h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.portal-product p {
    margin: 0;
    color: #777;
}

.portal-product strong {
    color: #f56c6c;
    font-size: 22px;
    font-weight: 500;
}

.portal-product span {
    color: #666;
}

.portal-pay-note {
    padding: 16px;
    color: #444;
}

.pay-qrcode {
    display: grid;
    gap: 12px;
    justify-items: start;
    max-width: 360px;
}

.pay-qrcode img {
    width: 220px;
    height: 220px;
    border: 1px solid #ebeef5;
    border-radius: 6px;
    background: #fff;
}

.pay-qrcode code {
    display: block;
    max-width: 100%;
    white-space: normal;
    word-break: break-all;
}

.front-footer {
    margin-top: auto;
    padding: 18px;
    background: rgba(120, 120, 120, .25);
    color: #666;
    font-size: 16px;
    text-align: center;
}

.empty {
    padding: 16px;
    color: #888;
    text-align: center;
}

@media (max-width: 760px) {
    .app {
        display: block;
    }

    aside {
        position: static;
        width: auto;
        height: auto;
    }

    .logout {
        position: static;
    }

    main {
        padding: 14px;
    }

    .form-grid,
    .grid.two {
        grid-template-columns: 1fr;
    }

    table {
        display: block;
        overflow: auto;
    }

    .filters {
        display: grid;
    }

    .filters label {
        min-width: 0;
    }

    .portal-top,
    .portal-bind {
        display: grid;
    }

    .front-nav {
        position: static;
        display: grid;
        gap: 10px;
        padding: 12px 14px;
    }

    .front-nav nav {
        overflow-x: auto;
    }

    .front-main {
        padding: 14px;
    }

    .front-hero {
        padding: 46px 12px;
    }

    .front-hero h1 {
        font-size: 34px;
    }

    .front-hero p {
        font-size: 16px;
    }

    .front-actions {
        display: grid;
        gap: 12px;
    }

    .front-hero,
    .query-box form {
        grid-template-columns: 1fr;
    }

    .portal-bind input {
        max-width: none;
    }
}

/* Front pages based on the root HTML templates. */
.portal-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background: linear-gradient(120deg, #edfbf3, #f2fff7, #ffffff);
    color: #333;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-height: 76px;
    margin: 0;
    padding: 20px 60px;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #222;
}

.logo-box:hover {
    color: #222;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}

.logo-text {
    overflow: hidden;
    color: #222;
    font-size: 22px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
    min-width: 0;
    padding: 0;
}

.nav-menu a {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    color: #555;
    font-size: 16px;
    transition: color .2s;
}

.nav-menu a:hover,
.nav-menu a.active {
    border: 0;
    background: transparent;
    color: #28c76f;
}

.main-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 134px);
    overflow: hidden;
    padding: clamp(24px, 5vh, 40px) 20px clamp(32px, 7vh, 72px);
    text-align: center;
}

.main-title {
    max-width: calc(100vw - 32px);
    margin: 0 0 24px;
    color: #28c76f;
    font-size: clamp(15px, 4.8vw, 56px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0;
    white-space: nowrap;
}

.sub-desc {
    margin: 0 0 40px;
    color: #666;
    font-size: 20px;
}

.feature-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    gap: 28px 50px;
    margin-bottom: clamp(26px, 6vh, 50px);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
    font-size: 18px;
}

.feature-item i {
    color: #333;
    font-size: 22px;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.btn-query,
.btn-replace {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    min-height: 56px;
    padding: 0 40px;
    border-radius: 50px;
    font-size: 18px;
}

.btn-query {
    border: 1px solid #28c76f;
    background: #28c76f;
    color: #fff;
}

.btn-query:hover {
    border-color: #22a85e;
    background: #22a85e;
    color: #fff;
}

.btn-replace {
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
}

.btn-replace:hover {
    border-color: #28c76f;
    color: #28c76f;
}

.container {
    flex: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 60px 48px;
}

.page-title {
    margin: 0 0 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: #28c76f;
    font-size: 32px;
    font-weight: 600;
}

.store-container .notice,
.container > .notice {
    max-width: 700px;
    margin: 0 auto 18px;
}

.store-category {
    margin-top: 30px;
}

.category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.category-head h3 {
    margin: 0;
    color: #222;
    font-size: 20px;
}

.category-head span {
    color: #777;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.app-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    padding: 20px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.app-icon {
    color: #28c76f;
    font-size: 42px;
}

.app-name {
    margin: 14px 0 10px;
    color: #222;
    font-size: 20px;
    font-weight: 700;
}

.app-desc {
    min-height: 42px;
    margin: 0 0 12px;
    color: #666;
    font-size: 14px;
}

.app-meta {
    margin-top: auto;
    color: #777;
    font-size: 13px;
}

.app-price {
    margin-top: 8px;
    color: #f56c6c;
    font-size: 18px;
    font-weight: 700;
}

.buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 12px;
    padding: 10px;
    border: 0;
    border-radius: 6px;
    background: #28c76f;
    color: #fff;
    cursor: pointer;
}

.buy-btn:hover {
    background: #22a85e;
    color: #fff;
}

.search-card,
.form-card {
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 30px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.form-card {
    max-width: 680px;
    padding: 35px;
}

.order-card {
    max-width: 900px;
}

.order-card form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px;
}

.card-title {
    grid-column: 1 / -1;
    margin: 0 0 20px;
    color: #222;
    font-size: 20px;
}

.input-row {
    margin-bottom: 20px;
}

.input-row label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.input-row input,
.input-row select {
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 0 15px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 16px;
}

.search-btn,
.submit-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: #28c76f;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
}

.search-btn:hover,
.submit-btn:hover {
    background: #22a85e;
    color: #fff;
}

.tips {
    margin-bottom: 25px;
    padding: 12px 16px;
    border: 1px solid #ffd591;
    border-radius: 6px;
    background: #fff7e6;
    color: #d48806;
}

.tips a {
    margin-left: 8px;
    color: #28c76f;
}

.sub-title {
    max-width: 100%;
    margin: 8px 0 14px;
    color: #222;
    font-size: 20px;
}

.result-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.result-table th,
.result-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.result-table th {
    background: #f5f7fa;
    font-weight: 700;
}

.page-empty {
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.footer-copyright {
    margin-top: auto;
    padding: 18px;
    background: rgba(120, 120, 120, .25);
    color: #666;
    font-size: 16px;
    text-align: center;
}

@media (max-width: 760px) {
    .header-nav {
        display: grid;
        gap: 14px;
        padding: 16px;
    }

    .nav-menu {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        gap: 0;
        overflow: visible;
        white-space: normal;
    }

    .nav-menu a {
        justify-content: center;
        padding: 6px 2px;
        font-size: 14px;
        text-align: center;
    }

    .main-wrap {
        justify-content: flex-start;
        min-height: 0;
        padding: 56px 16px 80px;
    }

    .sub-desc {
        font-size: 16px;
    }

    .feature-row,
    .btn-group {
        gap: 16px;
    }

    .container {
        padding: 24px 16px 40px;
    }

    .page-title {
        font-size: 26px;
    }

    .order-card form {
        grid-template-columns: 1fr;
    }

    .search-card,
    .form-card {
        padding: 22px;
    }
}
