:root {
    --blue: #1f7ae0;
    --deep-blue: #0e56b8;
    --light-blue: #eaf4ff;
    --border: #d8e2ef;
    --text: #203040;
    --muted: #6f7f95;
    --bg: #f4f8fc;
    --success: #18a058;
    --warning: #f0a020;
    --danger: #d03050;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text);
    background: var(--bg);
}
a { color: var(--blue); text-decoration: none; }
.wrap { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
    background: #fff;
    border-bottom: 1px solid #dfe8f3;
    position: sticky;
    top: 0;
    z-index: 10;
}
.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo-circle {
    width: 48px; height: 48px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff1, #0a4ba8), linear-gradient(135deg, #1f7ae0, #0e56b8);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; box-shadow: 0 6px 16px rgba(31,122,224,.22);
}
.brand-title { font-size: 24px; font-weight: 700; color: #1269d3; }
.brand-subtitle { font-size: 13px; color: var(--muted); margin-top: 2px; }
.top-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.nav-text { color: var(--muted); }
.hero {
    background: radial-gradient(circle at 15% 20%, #3b84ef 0, #1f7ae0 35%, #0d5bc1 100%);
    color: #fff; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0;
}
.hero-inner {
    min-height: 450px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 24px;
    position: relative;
}
.hero-copy h1 { font-size: 44px; line-height: 1.35; margin: 16px 0; }
.hero-copy p { font-size: 17px; line-height: 1.8; max-width: 680px; color: rgba(255,255,255,.93); }
.hero-badge, .hero-date {
    display: inline-block; padding: 10px 18px; border-radius: 4px; background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
}
.hero-date { margin-top: 14px; font-weight: 700; }
.hero-actions { margin-top: 28px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 4px; border: 1px solid transparent;
    cursor: pointer; font-size: 15px; font-weight: 700; transition: .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, #2892ff, #156dd8); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue); border-color: #bcd8ff; }
.full { width: 100%; }
.hero-card { display: flex; justify-content: center; }
.gov-screen {
    width: 420px; height: 280px; border-radius: 18px; background: linear-gradient(145deg, #fff, #d6ebff);
    box-shadow: 0 20px 44px rgba(4, 39, 101, .24); padding: 28px; position: relative;
}
.gov-screen::before {
    content: ""; position: absolute; width: 140px; height: 140px; right: -40px; top: -30px; border-radius: 32px;
    background: linear-gradient(135deg, #7bb6ff, #2784ef);
    transform: rotate(18deg); opacity: .92;
}
.gov-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--blue); margin-bottom: 20px; }
.gov-line { height: 18px; background: #b8d8ff; border-radius: 9px; margin-bottom: 14px; width: 86%; }
.gov-line.short { width: 58%; }
.gov-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.gov-grid span { height: 74px; border-radius: 14px; background: linear-gradient(145deg, #eaf4ff, #cde2ff); border: 1px solid #c8def8; }
.section-light { padding: 48px 0 56px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .panel, .summary-card {
    background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 8px 24px rgba(17, 77, 150, .06);
}
.feature-card { padding: 24px; }
.feature-card h3 { margin-top: 0; color: var(--deep-blue); }
.site-footer {
    background: #fff; border-top: 1px solid #dde7f3; padding: 18px 0; color: var(--muted); font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.auth-section { min-height: calc(100vh - 154px); display: flex; align-items: center; justify-content: center; padding: 34px 16px; }
.auth-card.wide { width: min(1080px, 100%); display: grid; grid-template-columns: 1fr 420px; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 22px 56px rgba(15, 60, 128, .12); }
.auth-side { padding: 46px 42px; color: #fff; min-height: 520px; }
.side-gradient, .login-illustration { background: linear-gradient(135deg, #58b4ff, #1c78e1 48%, #0f57bb); }
.auth-side h2 { font-size: 38px; margin-top: 28px; }
.auth-side p { font-size: 16px; line-height: 1.8; }
.deadline-box { display: inline-block; padding: 10px 16px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); }
.auth-form-wrap { padding: 42px 36px; background: #fff; }
.auth-form-wrap h3 { margin-top: 0; padding-bottom: 14px; border-bottom: 2px solid #edf3fb; color: var(--deep-blue); }
.alert { padding: 12px 14px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.alert.error { background: #fff2f3; color: var(--danger); border: 1px solid #f4c2cb; }
.alert.success { background: #f0fff7; color: var(--success); border: 1px solid #b7ebcb; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.form-grid.single { grid-template-columns: 1fr; }
label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #334155; }
input, select, textarea {
    width: 100%; border: 1px solid #d3deea; border-radius: 4px; padding: 12px 14px; font-size: 14px; background: #fff; outline: none;
}
input:focus, select:focus, textarea:focus { border-color: #4f9fff; box-shadow: 0 0 0 3px rgba(79,159,255,.12); }
small { color: var(--muted); }
.form-tip { margin-top: 14px; color: var(--muted); font-size: 14px; }
.inner-banner { background: linear-gradient(135deg, #3f90ef, #1569d3); color: #fff; padding: 44px 0; }
.inner-banner h1 { margin: 0 0 10px; font-size: 34px; }
.admin-banner { background: linear-gradient(135deg, #2f87e7, #0d59be); }
.dashboard-grid, .two-column-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.panel { padding: 24px; }
.status-badge { display: inline-flex; padding: 6px 12px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.status-pending { background: var(--warning); }
.status-approved { background: var(--success); }
.status-rejected { background: var(--danger); }
.gov-list { margin: 0; padding-left: 18px; line-height: 1.9; color: #455468; }
.form-panel { max-width: 980px; }
.full-row { grid-column: 1 / -1; }
.consent-box { background: #f8fbff; border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; }
.consent-title { margin-bottom: 10px; font-weight: 700; }
.inline-radio { display: inline-flex; flex-direction: row; align-items: center; margin-right: 18px; gap: 8px; }
.notice-box { border-top: 1px solid #e8eef6; padding-top: 16px; color: #4b5f77; line-height: 1.8; }
.center { text-align: center; }
.submit-btn { min-width: 300px; }
.admin-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.summary-card { padding: 22px; text-align: center; }
.summary-card strong { display: block; font-size: 32px; color: var(--deep-blue); }
.summary-card span { color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar-form { display: flex; gap: 12px; flex-wrap: wrap; }
.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.data-table th, .data-table td { border-bottom: 1px solid #e9eef5; padding: 12px; text-align: left; font-size: 14px; }
.data-table th { background: #f6faff; color: var(--deep-blue); }
.table-link { color: var(--blue); font-weight: 700; }
.empty { text-align: center; color: var(--muted); }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; line-height: 1.8; }
.detail-grid .full { grid-column: 1 / -1; }
.review-meta { margin-top: 18px; padding-top: 18px; border-top: 1px solid #edf2f8; color: var(--muted); line-height: 1.9; }
@media (max-width: 960px) {
    .hero-inner, .auth-card.wide, .dashboard-grid, .two-column-layout, .cards-3, .admin-summary, .form-grid.two-col {
        grid-template-columns: 1fr;
    }
    .hero-copy h1 { font-size: 32px; }
    .gov-screen { width: 100%; max-width: 420px; }
    .brand-title { font-size: 18px; }
    .header-inner { padding: 10px 0; align-items: flex-start; flex-direction: column; gap: 12px; }
}
