@charset "utf-8";

:root {
    --bg-soft: #f3f6fb;
    --bg-warm: #fbf8f0;
    --surface: rgba(255, 255, 255, 0.96);
    --surface-strong: #ffffff;
    --paper: #fffef9;
    --ink: #1c2636;
    --muted: #5f6878;
    --line: rgba(28, 38, 54, 0.12);
    --line-strong: rgba(180, 138, 58, 0.26);
    --accent: #b48a3a;
    --accent-dark: #88672f;
    --accent-ink: #274b72;
    --accent-soft: rgba(180, 138, 58, 0.12);
    --success: #0f7a67;
    --shadow: 0 24px 54px rgba(16, 27, 45, 0.1);
    --radius-xl: 28px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
}

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

body.certificate-page {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 10%, rgba(180, 138, 58, 0.14), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(39, 75, 114, 0.08), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 62%, var(--bg-warm) 100%);
    position: relative;
}

.certificate-backdrop {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 14% 12%, rgba(180, 138, 58, 0.08), transparent 34%),
        radial-gradient(circle at 82% 6%, rgba(39, 75, 114, 0.05), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 248, 236, 0.26));
}

.certificate-shell {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 22px 0 48px;
    position: relative;
    z-index: 1;
}

.certificate-hero {
    position: relative;
    overflow: hidden;
    padding: 18px 22px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.96));
    box-shadow: var(--shadow);
    animation: heroRise 0.7s ease-out both;
}

.certificate-hero::before {
    content: "";
    position: absolute;
    left: 22px;
    right: 22px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.7), transparent);
}

.certificate-hero::after {
    content: "";
    position: absolute;
    inset: auto -6% -72% auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 138, 58, 0.12), transparent 62%);
}

.compact-hero {
    padding: 14px 20px;
}

.compact-hero::before {
    left: 20px;
    right: 20px;
}

.compact-hero::after {
    width: 180px;
    height: 180px;
    inset: auto -8% -76% auto;
}

.hero-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-brand.is-compact {
    margin-bottom: 0;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    min-height: 52px;
}

.brand-logo img {
    max-width: 280px;
    max-height: 54px;
    object-fit: contain;
}

.brand-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-shortcuts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.hero-shortcuts .button {
    min-height: 44px;
    padding: 0 20px;
    white-space: nowrap;
}

.certificate-hero .hero-grid {
    margin-top: 24px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
    gap: 28px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.register-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.72fr);
    gap: 24px;
    align-items: start;
}

.eyebrow,
.section-tag,
.service-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eyebrow {
    color: var(--accent-dark);
    margin-bottom: 14px;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(2.3rem, 4vw, 3.8rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.hero-copy p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions,
.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    color: #ffffff;
    border-color: rgba(39, 75, 114, 0.24);
    background: linear-gradient(135deg, #264c74 0%, #3a648a 100%);
    box-shadow: 0 18px 32px rgba(38, 76, 116, 0.18);
}

.button-primary:hover {
    box-shadow: 0 22px 36px rgba(38, 76, 116, 0.22);
}

.button-secondary {
    color: var(--accent-ink);
    border-color: rgba(39, 75, 114, 0.14);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 24px rgba(16, 27, 45, 0.06);
}

.button-secondary:hover {
    border-color: rgba(180, 138, 58, 0.26);
    background: #ffffff;
}

.hero-services,
.difference-panel {
    display: grid;
    gap: 14px;
}

.service-item,
.difference-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    border: 1px solid rgba(39, 75, 114, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 249, 252, 0.92));
    text-decoration: none;
    color: inherit;
    box-shadow: 0 16px 30px rgba(16, 27, 45, 0.06);
    animation: liftIn 0.6s ease both;
}

.service-item::before,
.difference-item::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--accent), rgba(39, 75, 114, 0.72));
}

.service-item:nth-child(2) {
    animation-delay: 0.08s;
}

.service-item:nth-child(3) {
    animation-delay: 0.16s;
}

.service-item.is-current {
    border-color: rgba(180, 138, 58, 0.24);
    background: linear-gradient(180deg, rgba(255, 252, 245, 0.98), rgba(247, 240, 224, 0.9));
}

.service-item strong,
.difference-item strong {
    display: block;
    margin-top: 6px;
    font-size: 20px;
}

.service-item p,
.difference-item p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.74;
}

.service-link {
    display: inline-flex;
    margin-top: 14px;
    color: var(--accent-ink);
    font-size: 14px;
    font-weight: 700;
}

.portal-main,
.register-layout,
.details-layout {
    margin-top: 24px;
}

.panel {
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-xl);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.query-panel,
.form-panel,
.aside-panel,
.details-panel {
    padding: 30px;
}

.details-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96));
}

.section-head {
    display: grid;
    gap: 8px;
}

.section-head h2 {
    margin: 0;
    font-size: clamp(1.8rem, 2.2vw, 2.4rem);
    letter-spacing: -0.03em;
}

.section-head p {
    margin: 0;
    color: var(--muted);
    line-height: 1.78;
}

.section-head em {
    color: #c24d3f;
    font-style: normal;
    font-weight: 700;
}

.section-tag {
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.details-page .section-head {
    justify-items: center;
    text-align: center;
}

.details-page .section-head p {
    max-width: 760px;
}

.form-grid {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

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

.field {
    display: grid;
    gap: 10px;
}

.field-full {
    grid-column: 1 / -1;
}

.field-label {
    font-size: 14px;
    font-weight: 700;
}

.field-label em {
    color: #d84b4b;
    font-style: normal;
    margin-right: 4px;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fffdfb;
    color: var(--ink);
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.field textarea {
    min-height: 132px;
    resize: vertical;
}

.field-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fffdfb;
}

.field-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-size: 14px;
}

.field-options-gender {
    padding: 0;
    border: 0;
    background: transparent;
    gap: 26px;
}

.field-option-gender {
    gap: 10px;
    font-weight: 600;
}

.field-option-gender span {
    order: 1;
}

.field-option-gender input[type="radio"] {
    order: 2;
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: var(--accent-dark);
}

.field-tip {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.register-upload {
    display: grid;
    gap: 12px;
}

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

.upload-trigger {
    position: relative;
    overflow: hidden;
    min-width: 150px;
}

.upload-trigger span {
    pointer-events: none;
}

.upload-trigger input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    opacity: 0;
    cursor: pointer;
}

.upload-preview {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 700;
}

.upload-preview.is-hidden {
    display: none;
}

.certificate-sheet-list {
    display: grid;
    gap: 28px;
    margin-top: 28px;
}

.certificate-sheet {
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
}

.certificate-sheet__frame {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 34px;
    border-radius: 32px;
    border: 1px solid rgba(28, 38, 54, 0.1);
    background: linear-gradient(180deg, #fffefb 0%, #fbf5e8 100%);
    box-shadow: 0 26px 50px rgba(16, 27, 45, 0.1);
}

.certificate-sheet__frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(180, 138, 58, 0.24);
    border-radius: 24px;
    pointer-events: none;
}

.certificate-sheet__frame::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 22%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(180, 138, 58, 0.08), transparent 66%);
    pointer-events: none;
}

.certificate-sheet__header,
.certificate-sheet__meta,
.certificate-table-wrapper,
.certificate-sheet__footer,
.certificate-line-list {
    position: relative;
    z-index: 1;
}

.certificate-sheet__header {
    display: grid;
    justify-items: center;
    gap: 12px;
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(28, 38, 54, 0.1);
}

.certificate-sheet__header::after {
    content: "";
    width: 140px;
    height: 2px;
    margin-top: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.78), transparent);
}

.certificate-sheet__logo img {
    width: auto;
    max-width: 280px;
    max-height: 64px;
    display: block;
}

.certificate-sheet__tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(180, 138, 58, 0.14);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.certificate-sheet__header h3 {
    margin: 0;
    font-size: 2.1rem;
    letter-spacing: 0.16em;
}

.certificate-sheet__header p {
    margin: 0;
    max-width: 620px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.82;
}

.certificate-sheet__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.certificate-sheet__meta-item {
    display: grid;
    gap: 8px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(39, 75, 114, 0.1);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.certificate-sheet__meta-item span {
    color: var(--accent-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.certificate-sheet__meta-item strong {
    color: var(--ink);
    font-size: 18px;
    line-height: 1.55;
    word-break: break-all;
}

.certificate-table-wrapper {
    margin-top: 24px;
    overflow: hidden;
    border: 1px solid rgba(28, 38, 54, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
}

.certificate-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.certificate-table th,
.certificate-table td {
    padding: 16px 18px;
    vertical-align: top;
}

.certificate-table th {
    width: 138px;
    border-right: 1px solid rgba(28, 38, 54, 0.08);
    border-bottom: 1px solid rgba(28, 38, 54, 0.08);
    background: rgba(39, 75, 114, 0.05);
    color: var(--accent-ink);
    text-align: left;
    font-size: 14px;
    font-weight: 700;
}

.certificate-table td {
    border-bottom: 1px solid rgba(28, 38, 54, 0.08);
    color: var(--ink);
    font-size: 15px;
    line-height: 1.74;
    word-break: break-all;
}

.certificate-table td + th,
.certificate-table td + td,
.certificate-table th + td {
    border-left: 1px solid rgba(28, 38, 54, 0.08);
}

.certificate-table tr:nth-child(even) td {
    background: rgba(255, 252, 246, 0.58);
}

.certificate-table tr:last-child th,
.certificate-table tr:last-child td {
    border-bottom: 0;
}

.certificate-sheet__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 24px;
    align-items: start;
    margin-top: 24px;
}

.certificate-sheet__summary {
    padding: 22px 24px;
    border: 1px dashed rgba(180, 138, 58, 0.34);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
}

.certificate-sheet__summary h4 {
    margin: 0;
    font-size: 16px;
}

.certificate-sheet__summary-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.certificate-sheet__summary-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.74;
}

.certificate-sheet__summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.certificate-sheet__qrcode {
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(39, 75, 114, 0.12);
    background: rgba(255, 255, 255, 0.74);
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.certificate-sheet__qrcode-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 27, 45, 0.08);
}

.certificate-sheet__qrcode img {
    width: 100%;
    max-width: 170px;
    height: auto;
    display: block;
}

.certificate-sheet__qrcode h4 {
    margin: 14px 0 0;
    font-size: 15px;
}

.certificate-sheet__qrcode p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.72;
}

.certificate-line-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.certificate-line {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(28, 38, 54, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 247, 238, 0.86));
}

.certificate-line__label {
    color: var(--accent-ink);
    font-size: 13px;
    font-weight: 700;
}

.certificate-line__value {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.72;
    word-break: break-all;
}

.detail-result-list {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.detail-card {
    padding: 24px;
    border: 1px solid rgba(28, 38, 54, 0.08);
    border-radius: 24px;
    background: var(--surface-strong);
    box-shadow: 0 18px 36px rgba(16, 27, 45, 0.08);
}

.detail-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.detail-card__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(180, 138, 58, 0.12);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.detail-card__title h3 {
    margin: 12px 0 0;
    font-size: 1.65rem;
    letter-spacing: -0.03em;
}

.detail-card__title p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.72;
}

.detail-status {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(15, 122, 103, 0.12);
    color: var(--success);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.detail-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 24px;
    margin-top: 22px;
    align-items: start;
}

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

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 92px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(250, 247, 240, 0.64);
}

.detail-item__label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.detail-item__value {
    color: var(--ink);
    font-size: 15px;
    line-height: 1.72;
    word-break: break-all;
}

.detail-side {
    display: grid;
    gap: 16px;
}

.detail-qrcode {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 246, 237, 0.92));
    text-align: center;
}

.detail-qrcode__image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(16, 27, 45, 0.08);
}

.detail-qrcode img {
    width: 100%;
    max-width: 170px;
    height: auto;
    display: block;
}

.detail-qrcode h4 {
    margin: 16px 0 0;
    font-size: 16px;
}

.detail-qrcode p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.slider-captcha {
    margin-top: 24px;
    padding: 18px 18px 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 239, 0.88));
}

.slider-captcha__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
}

.slider-captcha__refresh {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-dark);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.slider-captcha__track {
    position: relative;
    height: 54px;
    overflow: hidden;
    user-select: none;
    touch-action: none;
    border: 1px solid rgba(39, 75, 114, 0.12);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(238, 244, 247, 0.95), rgba(229, 236, 241, 0.92));
}

.slider-captcha__fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 54px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(180, 138, 58, 0.22), rgba(39, 75, 114, 0.2));
    transition: width 0.18s ease, background 0.18s ease;
}

.slider-captcha__text {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 68px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
}

.slider-captcha__thumb {
    position: absolute;
    left: 6px;
    top: 6px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(16, 27, 45, 0.18);
    cursor: grab;
    transition: left 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    touch-action: none;
}

.slider-captcha__thumb::before,
.slider-captcha__thumb::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-top: 2px solid var(--accent-dark);
    border-right: 2px solid var(--accent-dark);
    transform: rotate(45deg);
}

.slider-captcha__thumb::before {
    left: 12px;
}

.slider-captcha__thumb::after {
    left: 18px;
}

.slider-captcha.is-active .slider-captcha__thumb {
    cursor: grabbing;
    box-shadow: 0 18px 34px rgba(39, 75, 114, 0.2);
}

.slider-captcha.is-loading .slider-captcha__thumb {
    opacity: 0.8;
    cursor: wait;
}

.slider-captcha.is-verified .slider-captcha__track {
    border-color: rgba(15, 122, 103, 0.24);
    background: linear-gradient(180deg, rgba(229, 250, 245, 0.98), rgba(215, 244, 236, 0.94));
}

.slider-captcha.is-verified .slider-captcha__fill {
    background: linear-gradient(135deg, rgba(15, 122, 103, 0.32), rgba(57, 196, 168, 0.38));
}

.slider-captcha.is-verified .slider-captcha__text {
    color: var(--success);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(39, 75, 114, 0.34);
    box-shadow: 0 0 0 4px rgba(39, 75, 114, 0.1);
    background: #ffffff;
    transform: translateY(-1px);
}

.query-divider {
    height: 1px;
    margin: 24px 0 18px;
    background: linear-gradient(90deg, transparent, rgba(28, 38, 54, 0.14), transparent);
}

.notice-list,
.plain-list,
.timeline-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

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

.notice-item,
.plain-list li,
.timeline-list li {
    position: relative;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.72;
}

.notice-item::before,
.plain-list li::before,
.timeline-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.text-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-ink);
    text-decoration: none;
    font-weight: 700;
}

.text-link:hover {
    color: var(--accent-dark);
}

.agreement-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    color: var(--muted);
    line-height: 1.7;
}

.agreement-row input {
    margin-top: 4px;
    accent-color: var(--accent);
}

.info-block + .info-block {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.details-page .form-actions {
    justify-content: center;
    margin-top: 30px;
}

.portal-main,
.register-layout,
.details-layout {
    position: relative;
}

.portal-main {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
}

.register-layout {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.details-layout {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.portal-page .query-panel,
.register-page .form-panel,
.register-page .aside-panel,
.details-page .details-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.portal-page .query-panel::before,
.register-page .form-panel::before,
.register-page .aside-panel::before,
.details-page .details-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(180, 138, 58, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(248, 244, 236, 0.46));
    pointer-events: none;
    z-index: 0;
}

.portal-page .query-panel::after,
.register-page .form-panel::after,
.register-page .aside-panel::after,
.details-page .details-panel::after {
    content: "";
    position: absolute;
    left: 30px;
    right: 30px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.78), transparent);
    pointer-events: none;
    z-index: 0;
}

.portal-page .query-panel > *,
.register-page .form-panel > *,
.register-page .aside-panel > *,
.details-page .details-panel > * {
    position: relative;
    z-index: 1;
}

.section-head {
    position: relative;
    padding-bottom: 18px;
}

.section-head::after {
    content: "";
    width: 160px;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(180, 138, 58, 0.86), rgba(39, 75, 114, 0.18), transparent);
}

.section-head h2 {
    font-family: "STSong", "SimSun", "Songti SC", serif;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.portal-page .section-head p,
.register-page .section-head p {
    max-width: 680px;
}

.query-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 249, 252, 0.96)),
        repeating-linear-gradient(90deg, rgba(180, 138, 58, 0.03) 0, rgba(180, 138, 58, 0.03) 1px, transparent 1px, transparent 22px);
}

.query-form {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 320px;
    grid-template-areas:
        "fields notes"
        "divider notes"
        "actions notes";
    gap: 22px 28px;
    align-items: start;
    margin-top: 26px;
}

.query-form .form-grid {
    grid-area: fields;
    margin-top: 0;
}

.query-form .query-divider {
    grid-area: divider;
    margin: 0;
    align-self: center;
}

.query-form .notice-list {
    grid-area: notes;
    gap: 16px;
    margin: 0;
    padding: 24px;
    border: 1px solid rgba(39, 75, 114, 0.12);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 246, 236, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    counter-reset: service-note;
}

.query-form .notice-item {
    min-height: 42px;
    padding-left: 56px;
    color: var(--ink);
}

.query-form .notice-item::before {
    counter-increment: service-note;
    content: counter(service-note, decimal-leading-zero);
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(180, 138, 58, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 230, 0.96));
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(16, 27, 45, 0.06);
}

.query-form .form-actions {
    grid-area: actions;
    margin-top: 0;
    padding-top: 6px;
}

.register-page .form-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.96)),
        repeating-linear-gradient(90deg, rgba(39, 75, 114, 0.025) 0, rgba(39, 75, 114, 0.025) 1px, transparent 1px, transparent 24px);
}

.register-page .aside-panel {
    position: sticky;
    top: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 245, 235, 0.94));
}

.js-register-field {
    padding: 18px 18px 20px;
    border: 1px solid rgba(39, 75, 114, 0.10);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 241, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.js-register-field:focus-within {
    transform: translateY(-1px);
    border-color: rgba(39, 75, 114, 0.22);
    box-shadow:
        0 16px 30px rgba(16, 27, 45, 0.08),
        0 0 0 4px rgba(39, 75, 114, 0.08);
}

.field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.field input,
.field select,
.field textarea,
.field-options {
    background: rgba(255, 255, 255, 0.94);
}

.slider-captcha {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.agreement-row {
    padding: 16px 18px;
    border: 1px solid rgba(28, 38, 54, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
}

.info-block {
    position: relative;
    padding-left: 18px;
}

.info-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(180, 138, 58, 0.9), rgba(39, 75, 114, 0.28));
}

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

.plain-list li {
    min-height: 28px;
    padding-left: 42px;
}

.plain-list li::before {
    width: 24px;
    height: 24px;
    top: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 246, 235, 0.92));
    border: 1px solid rgba(180, 138, 58, 0.20);
    box-shadow: 0 8px 18px rgba(16, 27, 45, 0.05);
}

.timeline-list {
    display: grid;
    gap: 14px;
    counter-reset: service-step;
}

.timeline-list li {
    min-height: 36px;
    padding-left: 54px;
}

.timeline-list li::before {
    counter-increment: service-step;
    content: counter(service-step);
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(180, 138, 58, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 245, 232, 0.92));
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(16, 27, 45, 0.05);
}

.timeline-list li::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: -14px;
    width: 2px;
    background: linear-gradient(180deg, rgba(180, 138, 58, 0.36), rgba(39, 75, 114, 0.10));
}

.timeline-list li:last-child::after {
    display: none;
}

.details-panel {
    padding: 36px 34px 40px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97)),
        radial-gradient(circle at top center, rgba(180, 138, 58, 0.08), transparent 36%);
}

.details-page .section-head {
    padding-bottom: 24px;
}

.details-page .section-head::after {
    width: 220px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.9), rgba(39, 75, 114, 0.18), transparent);
}

.certificate-sheet {
    filter: drop-shadow(0 18px 32px rgba(16, 27, 45, 0.08));
}

.certificate-sheet__frame {
    padding: 40px 38px 36px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(251, 244, 229, 0.98)),
        repeating-linear-gradient(90deg, rgba(180, 138, 58, 0.025) 0, rgba(180, 138, 58, 0.025) 1px, transparent 1px, transparent 26px);
}

.certificate-sheet__frame::before {
    inset: 16px;
    border-color: rgba(180, 138, 58, 0.32);
}

.certificate-sheet__frame::after {
    top: 20%;
    width: 380px;
    height: 380px;
    background:
        radial-gradient(circle, rgba(180, 138, 58, 0.10), transparent 62%),
        radial-gradient(circle at 50% 50%, rgba(39, 75, 114, 0.05), transparent 70%);
    opacity: 0.95;
}

.certificate-sheet__header {
    padding-top: 6px;
    padding-bottom: 28px;
}

.certificate-sheet__header::before {
    content: "";
    width: 84px;
    height: 84px;
    border-radius: 50%;
    border: 1px solid rgba(180, 138, 58, 0.28);
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.98), rgba(250, 244, 232, 0.96)),
        radial-gradient(circle at 50% 50%, rgba(180, 138, 58, 0.10), transparent 64%);
    box-shadow: 0 14px 28px rgba(16, 27, 45, 0.07);
}

.certificate-sheet__tag {
    border: 1px solid rgba(180, 138, 58, 0.20);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 244, 230, 0.90));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.certificate-sheet__header h3 {
    font-family: "STSong", "SimSun", "Songti SC", serif;
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
}

.certificate-sheet__meta {
    gap: 20px;
    margin-top: 28px;
}

.certificate-sheet__meta-item {
    position: relative;
    overflow: hidden;
}

.certificate-sheet__meta-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(180, 138, 58, 0.9), transparent 72%);
}

.certificate-table-wrapper {
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(250, 246, 237, 0.82));
}

.certificate-sheet__summary,
.certificate-sheet__qrcode {
    position: relative;
    overflow: hidden;
}

.certificate-sheet__summary::before,
.certificate-sheet__qrcode::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(180, 138, 58, 0.84), rgba(39, 75, 114, 0.18));
}

.certificate-sheet__qrcode {
    padding-top: 24px;
}

.details-page .text-link {
    min-height: 52px;
    padding: 0 20px;
    justify-content: center;
    border: 1px solid rgba(39, 75, 114, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
}

.details-page .text-link:hover {
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(16, 27, 45, 0.08);
}

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes liftIn {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 980px) {
    .certificate-shell {
        width: min(100% - 28px, 1180px);
        padding: 18px 0 30px;
    }

    .hero-grid,
    .register-layout,
    .two-column {
        grid-template-columns: 1fr;
    }

    .certificate-hero,
    .query-panel,
    .form-panel,
    .aside-panel,
    .details-panel {
        padding: 24px;
    }

    .hero-copy h1 {
        font-size: 2.1rem;
    }

    .brand-logo img {
        max-width: 220px;
    }

    .hero-shortcuts {
        margin-left: 0;
    }

    .detail-card__content {
        grid-template-columns: 1fr;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .query-form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "fields"
            "divider"
            "notes"
            "actions";
    }

    .certificate-sheet__meta,
    .certificate-sheet__footer {
        grid-template-columns: 1fr;
    }

    .register-page .aside-panel {
        position: relative;
        top: 0;
    }
}

@media screen and (max-width: 640px) {
    .hero-brand {
        align-items: flex-start;
    }

    .register-upload-row {
        grid-template-columns: 1fr;
    }

    .slider-captcha__label {
        flex-direction: column;
        align-items: flex-start;
    }

    .slider-captcha__text {
        padding: 0 60px;
        font-size: 13px;
    }

    .hero-actions,
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button,
    .text-link {
        width: 100%;
        justify-content: center;
    }

    .hero-shortcuts {
        width: 100%;
        gap: 10px;
    }

    .hero-shortcuts .button {
        width: auto;
        flex: 1 1 calc(50% - 5px);
    }

    .field-options-gender {
        gap: 18px;
    }

    .query-form .notice-list {
        padding: 18px;
    }

    .query-form .notice-item {
        padding-left: 50px;
    }

    .detail-card {
        padding: 20px;
    }

    .detail-card__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-card__title h3 {
        font-size: 1.38rem;
    }

    .certificate-sheet__frame {
        padding: 22px 18px;
        border-radius: 26px;
    }

    .certificate-sheet__frame::before {
        inset: 10px;
        border-radius: 18px;
    }

    .certificate-sheet__frame::after {
        width: 220px;
        height: 220px;
        top: 24%;
    }

    .certificate-sheet__header h3 {
        font-size: 1.5rem;
        letter-spacing: 0.08em;
    }

    .certificate-table th,
    .certificate-table td {
        display: block;
        width: 100%;
        padding: 12px 14px;
    }

    .certificate-table td + th,
    .certificate-table td + td,
    .certificate-table th + td {
        border-left: 0;
    }

    .certificate-table td[colspan] {
        width: 100%;
    }
}

.portal-main,
.register-layout,
.details-layout {
    position: relative;
}

.portal-main::before,
.register-layout::before,
.details-layout::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: -20px;
    height: 140px;
    background:
        radial-gradient(circle at 50% 50%, rgba(180, 138, 58, 0.10), transparent 58%),
        radial-gradient(circle at 24% 44%, rgba(39, 75, 114, 0.06), transparent 42%);
    filter: blur(24px);
    pointer-events: none;
    opacity: 0.9;
    z-index: 0;
}

.portal-main > *,
.register-layout > *,
.details-layout > * {
    position: relative;
    z-index: 1;
}

.panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-color: rgba(180, 138, 58, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 249, 252, 0.96)),
        linear-gradient(120deg, rgba(180, 138, 58, 0.03), transparent 28%);
    box-shadow:
        0 24px 56px rgba(16, 27, 45, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 68px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), transparent);
    pointer-events: none;
    z-index: 0;
}

.panel::after {
    content: "";
    position: absolute;
    right: -26px;
    top: -26px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 138, 58, 0.14), transparent 68%);
    pointer-events: none;
    opacity: 0.8;
    z-index: 0;
}

.panel > * {
    position: relative;
    z-index: 1;
}

.query-panel,
.form-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(250, 247, 240, 0.94)),
        linear-gradient(120deg, rgba(180, 138, 58, 0.03), transparent 26%);
}

.aside-panel {
    background:
        linear-gradient(180deg, rgba(251, 247, 238, 0.98), rgba(245, 248, 252, 0.94)),
        linear-gradient(160deg, rgba(39, 75, 114, 0.03), transparent 30%);
}

.details-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 246, 240, 0.96)),
        linear-gradient(140deg, rgba(180, 138, 58, 0.04), transparent 24%);
}

.section-head {
    position: relative;
    gap: 10px;
    padding-bottom: 18px;
}

.section-head::after {
    content: "";
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, rgba(180, 138, 58, 0.04), rgba(180, 138, 58, 0.76), rgba(39, 75, 114, 0.20), transparent);
}

.details-page .section-head::after {
    width: 240px;
}

.details-page .section-head h2 {
    font-family: "STSong", "SimSun", "Songti SC", serif;
    letter-spacing: 0.08em;
}

.section-tag {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 10px 18px rgba(16, 27, 45, 0.06);
}

.query-form,
.register-form {
    position: relative;
}

.field {
    position: relative;
}

.field input,
.field select,
.field textarea {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 20px rgba(16, 27, 45, 0.04);
}

.field input::placeholder,
.field textarea::placeholder {
    color: #8d97a7;
}

.field:hover input,
.field:hover select,
.field:hover textarea {
    border-color: rgba(180, 138, 58, 0.20);
}

.field-options {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 20px rgba(16, 27, 45, 0.04);
}

.register-upload-row input[readonly] {
    color: var(--muted);
}

.upload-trigger {
    box-shadow: 0 12px 22px rgba(16, 27, 45, 0.08);
}

.query-divider {
    margin: 28px 0 20px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.48), rgba(39, 75, 114, 0.18), transparent);
}

.notice-list,
.plain-list,
.timeline-list {
    gap: 14px;
}

.notice-item,
.plain-list li,
.timeline-list li {
    padding: 16px 18px 16px 56px;
    border: 1px solid rgba(180, 138, 58, 0.16);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 239, 0.84));
    box-shadow:
        0 14px 24px rgba(16, 27, 45, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.notice-item::before,
.plain-list li::before {
    left: 18px;
    top: 18px;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at center, rgba(180, 138, 58, 0.86) 0 28%, rgba(180, 138, 58, 0.18) 29% 100%);
    box-shadow: 0 6px 14px rgba(180, 138, 58, 0.18);
}

.timeline-list {
    counter-reset: timeline-step;
}

.timeline-list li {
    counter-increment: timeline-step;
    padding-left: 74px;
}

.timeline-list li::before {
    content: counter(timeline-step, decimal-leading-zero);
    left: 16px;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, rgba(180, 138, 58, 0.20));
    border: 1px solid rgba(180, 138, 58, 0.28);
    color: var(--accent-dark);
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(16, 27, 45, 0.08);
}

.text-link {
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(180, 138, 58, 0.18);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 22px rgba(16, 27, 45, 0.06);
}

.slider-captcha {
    border-color: rgba(180, 138, 58, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 245, 236, 0.92)),
        linear-gradient(135deg, rgba(39, 75, 114, 0.03), transparent 34%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 16px 28px rgba(16, 27, 45, 0.06);
}

.slider-captcha__track {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.certificate-sheet {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.certificate-sheet:hover {
    transform: translateY(-4px);
}

.certificate-sheet__frame {
    border-color: rgba(180, 138, 58, 0.20);
    background:
        linear-gradient(180deg, #fffefc 0%, #faf5e9 100%),
        linear-gradient(90deg, rgba(180, 138, 58, 0.03), transparent 24%);
    box-shadow:
        0 34px 70px rgba(16, 27, 45, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.80);
}

.certificate-sheet__frame::before {
    border-color: rgba(180, 138, 58, 0.34);
}

.certificate-sheet__header h3 {
    font-family: "STSong", "SimSun", "Songti SC", serif;
    letter-spacing: 0.22em;
    text-indent: 0.22em;
}

.certificate-sheet__seal {
    position: absolute;
    right: 34px;
    top: 168px;
    width: 126px;
    height: 126px;
    border-radius: 50%;
    border: 3px solid rgba(188, 70, 55, 0.26);
    box-shadow: inset 0 0 0 8px rgba(188, 70, 55, 0.06);
    color: rgba(188, 70, 55, 0.56);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-14deg);
    pointer-events: none;
    z-index: 0;
}

.certificate-sheet__seal::before,
.certificate-sheet__seal::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.certificate-sheet__seal::before {
    inset: 10px;
    border: 1px solid rgba(188, 70, 55, 0.30);
}

.certificate-sheet__seal::after {
    inset: 23px;
    border: 1px dashed rgba(188, 70, 55, 0.26);
}

.certificate-sheet__seal span {
    position: relative;
    z-index: 1;
    font-family: "Times New Roman", serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.certificate-sheet__meta-item {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.86),
        0 14px 24px rgba(16, 27, 45, 0.05);
}

.certificate-table-wrapper {
    padding: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(250, 246, 239, 0.56));
}

.certificate-table th {
    background: linear-gradient(180deg, rgba(39, 75, 114, 0.07), rgba(39, 75, 114, 0.03));
}

.certificate-sheet__summary {
    position: relative;
    padding-left: 30px;
}

.certificate-sheet__summary::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 18px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(180, 138, 58, 0.85), rgba(39, 75, 114, 0.22));
}

.certificate-sheet__qrcode {
    position: relative;
}

.certificate-sheet__qrcode::before {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -8px;
    height: 18px;
    background: radial-gradient(circle, rgba(16, 27, 45, 0.14), transparent 68%);
    filter: blur(12px);
    opacity: 0.6;
    pointer-events: none;
}

.details-page .form-actions {
    gap: 16px;
}

@media screen and (max-width: 980px) {
    .portal-main::before,
    .register-layout::before,
    .details-layout::before {
        left: 2%;
        right: 2%;
    }

    .notice-item,
    .plain-list li,
    .timeline-list li {
        padding-right: 16px;
    }

    .certificate-sheet__seal {
        right: 24px;
        top: 172px;
        width: 102px;
        height: 102px;
    }

    .certificate-sheet__seal span {
        font-size: 22px;
    }
}

@media screen and (max-width: 640px) {
    .section-head::after {
        width: 140px;
    }

    .notice-item,
    .plain-list li {
        padding-left: 52px;
    }

    .timeline-list li {
        padding-left: 68px;
    }

    .timeline-list li::before {
        width: 36px;
        height: 36px;
    }

    .certificate-sheet__seal {
        right: 18px;
        top: 154px;
        width: 84px;
        height: 84px;
        border-width: 2px;
    }

    .certificate-sheet__seal::before {
        inset: 7px;
    }

    .certificate-sheet__seal::after {
        inset: 17px;
    }

    .certificate-sheet__seal span {
        font-size: 17px;
    }
}

.portal-page .query-panel,
.register-page .form-panel,
.register-page .aside-panel,
.details-page .details-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.portal-page .query-panel::before,
.register-page .form-panel::before,
.register-page .aside-panel::before,
.details-page .details-panel::before {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    top: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.84), transparent);
    z-index: 0;
}

.portal-page .query-panel::after,
.register-page .form-panel::after,
.register-page .aside-panel::after,
.details-page .details-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -26% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180, 138, 58, 0.08), transparent 66%);
    pointer-events: none;
    z-index: 0;
}

.portal-page .query-panel {
    max-width: 960px;
    margin: 0 auto;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.96));
}

.register-page .form-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 246, 238, 0.94));
}

.register-page .aside-panel {
    position: sticky;
    top: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.94));
}

.section-head {
    position: relative;
    z-index: 1;
    padding-bottom: 22px;
}

.section-head::after {
    content: "";
    width: 132px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.82), transparent);
}

.portal-page .section-head,
.register-page .form-panel .section-head {
    justify-items: center;
    text-align: center;
}

.portal-page .section-head p,
.register-page .form-panel .section-head p {
    max-width: 760px;
}

.portal-page .query-form,
.register-page .register-form,
.details-page .certificate-sheet-list {
    position: relative;
    z-index: 1;
}

.portal-page .query-form .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.portal-page .query-form .field,
.register-page .register-form .field {
    padding: 18px;
    border: 1px solid rgba(39, 75, 114, 0.08);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.portal-page .query-form .field-full {
    grid-column: 1 / -1;
}

.register-page .register-form .field-options-gender {
    padding-top: 4px;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #9aa6b5;
}

.portal-page .notice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 4px;
}

.portal-page .notice-item {
    min-height: 100%;
    padding: 18px 18px 18px 48px;
    border: 1px solid rgba(39, 75, 114, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 246, 238, 0.9));
    box-shadow: 0 14px 28px rgba(16, 27, 45, 0.06);
}

.portal-page .notice-item::before {
    left: 16px;
    top: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.88) 0 28%, transparent 30%),
        linear-gradient(135deg, #264c74 0%, #b48a3a 100%);
    box-shadow: 0 10px 18px rgba(16, 27, 45, 0.12);
}

.register-page .plain-list,
.register-page .timeline-list {
    display: grid;
    gap: 12px;
}

.register-page .plain-list li,
.register-page .timeline-list li {
    padding: 16px 18px 16px 52px;
    border: 1px solid rgba(39, 75, 114, 0.08);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
}

.register-page .plain-list li::before {
    left: 18px;
    top: 17px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.9) 0 28%, transparent 30%),
        linear-gradient(135deg, rgba(180, 138, 58, 0.96), rgba(136, 103, 47, 0.98));
    box-shadow: 0 8px 14px rgba(16, 27, 45, 0.12);
}

.register-page .timeline-list {
    counter-reset: service-step;
}

.register-page .timeline-list li {
    counter-increment: service-step;
}

.register-page .timeline-list li::before {
    content: attr(data-step);
    left: 15px;
    top: 13px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #264c74 0%, #b48a3a 100%);
    box-shadow: 0 10px 18px rgba(16, 27, 45, 0.14);
}

.slider-captcha {
    box-shadow: 0 14px 28px rgba(16, 27, 45, 0.08);
}

.agreement-row {
    padding: 18px 20px;
    border: 1px dashed rgba(180, 138, 58, 0.28);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 246, 238, 0.88));
}

.text-link {
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(39, 75, 114, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    justify-content: center;
}

.text-link::after {
    content: "->";
    margin-left: 8px;
    font-size: 12px;
}

.details-page .certificate-sheet {
    position: relative;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.details-page .certificate-sheet:hover {
    transform: translateY(-4px);
}

.details-page .certificate-sheet::before,
.details-page .certificate-sheet::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.details-page .certificate-sheet::before {
    top: 26px;
    right: 34px;
    width: 116px;
    height: 116px;
    border: 1px solid rgba(180, 138, 58, 0.26);
    box-shadow:
        inset 0 0 0 8px rgba(180, 138, 58, 0.08),
        inset 0 0 0 16px rgba(39, 75, 114, 0.04);
    opacity: 0.92;
}

.details-page .certificate-sheet::after {
    top: 56px;
    right: 64px;
    width: 56px;
    height: 56px;
    background: radial-gradient(circle, rgba(180, 138, 58, 0.3), transparent 68%);
    opacity: 0.82;
}

.details-page .certificate-sheet__frame {
    background:
        linear-gradient(180deg, #fffefb 0%, #fbf5e8 100%),
        repeating-linear-gradient(180deg, rgba(180, 138, 58, 0.04) 0 1px, transparent 1px 46px);
}

.details-page .certificate-sheet__header h3 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
}

.details-page .certificate-sheet__meta-item:last-child strong {
    font-family: "Consolas", "Menlo", "Monaco", monospace;
    letter-spacing: 0.16em;
    font-size: 17px;
}

.details-page .certificate-table-wrapper {
    padding: 14px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.details-page .certificate-table th {
    background:
        linear-gradient(180deg, rgba(39, 75, 114, 0.08), rgba(39, 75, 114, 0.02));
}

.details-page .certificate-sheet__summary,
.details-page .certificate-sheet__qrcode {
    position: relative;
    overflow: hidden;
}

.details-page .certificate-sheet__summary::after,
.details-page .certificate-sheet__qrcode::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(180, 138, 58, 0.64), transparent);
}

.details-page .form-actions {
    align-items: center;
}

@media screen and (max-width: 980px) {
    .portal-page .notice-list {
        grid-template-columns: 1fr;
    }

    .portal-page .query-form .form-grid {
        grid-template-columns: 1fr;
    }

    .register-page .aside-panel {
        position: static;
    }
}

@media screen and (max-width: 640px) {
    .portal-page .query-panel::before,
    .register-page .form-panel::before,
    .register-page .aside-panel::before,
    .details-page .details-panel::before {
        left: 18px;
        right: 18px;
    }

    .portal-page .query-form .field,
    .register-page .register-form .field {
        padding: 16px;
        border-radius: 20px;
    }

    .portal-page .notice-item,
    .register-page .plain-list li,
    .register-page .timeline-list li {
        padding-right: 16px;
    }

    .details-page .certificate-sheet::before {
        top: 22px;
        right: 20px;
        width: 88px;
        height: 88px;
    }

    .details-page .certificate-sheet::after {
        top: 42px;
        right: 40px;
        width: 40px;
        height: 40px;
    }
}

.portal-page .query-panel {
    max-width: 1040px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.96)),
        repeating-linear-gradient(90deg, rgba(180, 138, 58, 0.03) 0, rgba(180, 138, 58, 0.03) 1px, transparent 1px, transparent 22px);
}

.portal-page .query-form {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) 320px;
    grid-template-areas:
        "fields notes"
        "divider notes"
        "actions notes";
    gap: 22px 28px;
    align-items: start;
}

.portal-page .query-form .form-grid {
    grid-area: fields;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.portal-page .query-form .query-divider {
    grid-area: divider;
    margin: 0;
}

.portal-page .query-form .form-actions {
    grid-area: actions;
    margin-top: 0;
}

.portal-page .notice-list {
    grid-area: notes;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
    padding: 24px;
    border: 1px solid rgba(39, 75, 114, 0.12);
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(251, 246, 236, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
    counter-reset: service-note;
}

.portal-page .notice-item {
    min-height: 42px;
    padding: 0 0 0 56px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.portal-page .notice-item::before {
    counter-increment: service-note;
    content: counter(service-note, decimal-leading-zero);
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    border: 1px solid rgba(180, 138, 58, 0.22);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 244, 230, 0.96));
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(16, 27, 45, 0.06);
}

.register-page .form-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.96)),
        repeating-linear-gradient(90deg, rgba(39, 75, 114, 0.025) 0, rgba(39, 75, 114, 0.025) 1px, transparent 1px, transparent 24px);
}

.register-page .aside-panel {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(250, 245, 235, 0.94));
}

.register-page .register-form .field {
    padding: 18px 18px 20px;
    border: 1px solid rgba(39, 75, 114, 0.10);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 241, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.register-page .register-form .field:focus-within {
    transform: translateY(-1px);
    border-color: rgba(39, 75, 114, 0.22);
    box-shadow:
        0 16px 30px rgba(16, 27, 45, 0.08),
        0 0 0 4px rgba(39, 75, 114, 0.08);
}

.register-page .timeline-list li::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 44px;
    bottom: -14px;
    width: 2px;
    background: linear-gradient(180deg, rgba(180, 138, 58, 0.34), rgba(39, 75, 114, 0.10));
}

.register-page .timeline-list li:last-child::after {
    display: none;
}

.details-page .details-panel {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 249, 252, 0.97)),
        radial-gradient(circle at top center, rgba(180, 138, 58, 0.08), transparent 36%);
}

.details-page .certificate-sheet__header h3 {
    font-family: "STSong", "SimSun", "Songti SC", serif;
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-indent: 0.24em;
}

.details-page .certificate-sheet__summary::before,
.details-page .certificate-sheet__qrcode::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(180, 138, 58, 0.84), rgba(39, 75, 114, 0.18));
}

@media screen and (max-width: 980px) {
    .portal-page .query-form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "fields"
            "divider"
            "notes"
            "actions";
    }

    .portal-page .notice-list {
        padding: 20px;
    }
}

/* Stability Layer */
.portal-page .query-panel {
    max-width: 920px;
    margin: 0 auto;
}

.portal-page .query-form {
    display: block;
    margin-top: 24px;
}

.portal-page .query-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
}

.portal-page .query-form .field {
    padding: 18px;
    border: 1px solid rgba(39, 75, 114, 0.08);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.portal-page .query-form .field-full {
    grid-column: 1 / -1;
}

.portal-page .query-divider,
.portal-page .notice-list {
    display: none !important;
}

.portal-page .query-form .form-actions {
    margin-top: 24px;
    padding-top: 0;
}

.details-page .certificate-sheet,
.details-page .certificate-sheet:hover {
    transform: none;
}

.details-page .certificate-sheet::before,
.details-page .certificate-sheet::after {
    display: none;
}

.details-page .certificate-sheet__seal {
    opacity: 0.88;
}

@media screen and (max-width: 980px) {
    .portal-page .query-form .form-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .portal-page .query-form .field {
        padding: 16px;
        border-radius: 20px;
    }
}

/* PDF Download */
.certificate-sheet__actions {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    position: relative;
    z-index: 2;
}

.certificate-download-button {
    min-width: 188px;
}

.certificate-download-button.is-loading {
    pointer-events: none;
    opacity: 0.88;
}

.certificate-download-button.is-loading::after {
    content: "";
    width: 14px;
    height: 14px;
    margin-left: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.78);
    border-top-color: transparent;
    animation: certificate-pdf-spin 0.78s linear infinite;
}

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

@media screen and (max-width: 640px) {
    .certificate-sheet__actions {
        margin-top: 14px;
    }

    .certificate-download-button {
        width: 100%;
    }
}

/* Email Verify */
.email-verify-box {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.email-verify-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 156px;
    gap: 12px;
    align-items: stretch;
}

.email-verify-row input {
    min-width: 0;
}

.email-verify-button {
    min-height: 50px;
    padding: 0 16px;
}

.email-verify-button.is-loading,
.email-verify-button.is-waiting {
    pointer-events: none;
}

@media screen and (max-width: 640px) {
    .email-verify-row {
        grid-template-columns: 1fr;
    }

    .email-verify-button {
        width: 100%;
    }
}
