@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --g-50: #f3fbf5;
    --g-100: #e7f6ea;
    --g-200: #cfead4;
    --g-500: #22c55e;
    --g-600: #16a34a;
    --g-700: #15803d;

    --bg: #f7faf8;
    --surface: rgba(255, 255, 255, 0.86);
    --card: #ffffff;
    --text: #0f172a;
    --muted: #475569;
    --subtle: #94a3b8;
    --border: rgba(15, 23, 42, 0.10);

    --shadow-sm: 0 1px 2px rgba(2, 6, 23, 0.06);
    --shadow-md: 0 14px 42px rgba(2, 6, 23, 0.14);
    --ring: 0 0 0 4px rgba(34, 197, 94, 0.18);

    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 18px;

    --t-fast: 140ms;
    --t-mid: 220ms;
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(1200px 700px at 30% 0%, var(--g-100) 0%, transparent 60%),
        radial-gradient(900px 600px at 100% 0%, rgba(34, 197, 94, 0.10) 0%, transparent 55%),
        var(--bg);
    min-height: 100vh;
    padding: 88px 20px 20px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 14px 20px;
    background: rgba(243, 251, 245, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(21, 128, 61, 0.14);
    box-shadow: 0 10px 28px rgba(21, 128, 61, 0.10);
}

.top-nav-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-nav-brand {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.top-nav-brand img {
    height: 28px;
    width: auto;
    object-fit: contain;
    opacity: 0.92;
}

.top-nav-items {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.top-nav-link {
    color: #f0fdf4;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #15803d 0%, #166534 100%);
    border: 1px solid rgba(187, 247, 208, 0.32);
    box-shadow: 0 10px 22px rgba(21, 128, 61, 0.24);
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease),
        background var(--t-mid) var(--ease), color var(--t-fast) var(--ease),
        border-color var(--t-fast) var(--ease);
}

.top-nav-link,
.title-subline,
.copy-btn,
.result-tip-strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.icon-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.form-group label.icon-label {
    color: #163023;
}

.tip-text.icon-tip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tip-text.icon-tip .ui-icon {
    margin-top: 2px;
    color: #b45309;
}

.title-subline {
    color: rgba(22, 48, 35, 0.72);
    font-size: 14px;
    font-weight: 500;
}

.ui-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    display: inline-block;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

.ui-icon-lg {
    width: 18px;
    height: 18px;
}

.ui-icon-sm {
    width: 14px;
    height: 14px;
}

button.top-nav-link {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(34, 197, 94, 0.16);
    cursor: pointer;
    font-family: inherit;
}

.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(8px);
}

.notice-modal.show {
    display: flex;
}

.trust-content {
    text-align: center;
    padding: 10px;
}

.trust-brand {
    margin-bottom: 20px;
}

.trust-brand img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: contain;
}

.trust-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.trust-title svg {
    color: #22c55e;
}

.trust-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    text-align: left;
}

.trust-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(34, 197, 94, 0.06);
    border-radius: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.trust-list li svg {
    flex-shrink: 0;
    color: #22c55e;
    margin-top: 2px;
}

.trust-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-primary-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.trust-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.trust-secondary-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.trust-secondary-btn:hover {
    background: rgba(0, 0, 0, 0.04);
}

.notice-dialog {
    width: min(760px, 100%);
    max-height: min(88vh, 960px);
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 249, 0.98));
    border-radius: 22px;
    border: 1px solid rgba(21, 128, 61, 0.14);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.24);
    padding: 34px 30px 30px;
    position: relative;
}

.notice-close {
    position: sticky;
    top: 0;
    margin-left: auto;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 999px;
    background: rgba(231, 246, 234, 0.96);
    color: var(--g-700);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.notice-content {
    margin-top: 6px;
    color: #111827;
    font-size: 17px;
    line-height: 1.85;
    white-space: pre-line;
}

.notice-title {
    text-align: center;
    color: #ff2a2a;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 6px;
}

.notice-subtitle,
.notice-warning {
    text-align: center;
    font-size: 18px;
    line-height: 1.5;
}

.notice-warning {
    margin-bottom: 18px;
}

.notice-section-title {
    font-weight: 700;
}

.notice-red {
    color: #ff2a2a;
    font-weight: 700;
}

.about-content {
    margin-top: 6px;
    color: #111827;
}

.about-title {
    text-align: center;
    color: #163023;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 22px;
}

.about-text {
    font-size: 17px;
    line-height: 1.95;
}

.about-highlight {
    color: var(--g-700);
    font-weight: 700;
}

.records-title {
    text-align: center;
    color: #163023;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 22px;
}

.records-group+.records-group {
    margin-top: 28px;
}

.records-group-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--g-700);
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid rgba(34, 197, 94, 0.9);
}

.records-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.records-card {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(21, 128, 61, 0.12);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    cursor: zoom-in;
}

.records-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    object-fit: cover;
    background: #f8fafc;
}

.image-viewer {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.image-viewer.show {
    display: flex;
}

.image-viewer-inner {
    width: min(1180px, 100%);
    max-height: 92vh;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 10px;
}

.image-viewer-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.image-viewer-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(231, 246, 234, 0.96);
    border: 1px solid rgba(34, 197, 94, 0.18);
    color: var(--g-700);
    font-weight: 800;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.image-viewer-download:hover {
    background: rgba(231, 246, 234, 1);
}

.image-viewer-close {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(231, 246, 234, 0.96);
    color: var(--g-700);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.image-viewer-img-desktop {
    width: 100%;
    max-height: calc(92vh - 60px);
    object-fit: contain;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    transform: scale(1.06);
    transform-origin: center;
}

.floating-qr {
    position: fixed;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1600;
    width: 144px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(21, 128, 61, 0.14);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(14px);
    user-select: none;
    touch-action: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.floating-qr-handle {
    font-size: 12px;
    font-weight: 700;
    color: var(--g-700);
    text-align: center;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.floating-qr img {
    display: block;
    width: 100%;
    border-radius: 14px;
    cursor: zoom-in;
    background: #f8fafc;
}

:focus-visible {
    outline: none;
    box-shadow: var(--ring);
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

.container {
    max-width: 760px;
    margin: 0 auto;
    background: var(--surface);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.header {
    background:
        linear-gradient(135deg, rgba(34, 197, 94, 0.18) 0%, rgba(22, 163, 74, 0.10) 42%, rgba(255, 255, 255, 0.08) 100%),
        linear-gradient(135deg, #eaf7ee 0%, #d8efe0 52%, #c7e7d2 100%);
    color: #163023;
    padding: 34px 28px 30px;
    border-bottom: 1px solid rgba(21, 128, 61, 0.10);
}

.header-content {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 86px;
    align-items: center;
    gap: 18px;
}

.logo-container {
    width: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.20);
}

.title-container {
    text-align: center;
    min-width: 0;
    width: 100%;
}

.header h1 {
    font-size: 27px;
    font-weight: 750;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
    color: #0f2a1b;
}

.header p {
    color: rgba(22, 48, 35, 0.72);
    font-size: 14px;
    font-weight: 500;
}

.announcement-bar {
    margin: 18px 26px 0;
    border: 1px solid rgba(34, 197, 94, 0.22);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(231, 246, 234, 0.96), rgba(243, 251, 245, 0.98));
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.10);
    overflow: hidden;
    position: relative;
}

.announcement-track {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 54px;
    padding: 0 16px;
}

.announcement-marquee {
    position: absolute;
    left: 16px;
    top: 50%;
    display: flex;
    align-items: center;
    min-width: max-content;
    white-space: nowrap;
    will-change: transform;
    transform: translate3d(0, -50%, 0);
    pointer-events: none;
    user-select: none;
}

.announcement-group {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.announcement-marquee span {
    display: inline-block;
    flex-shrink: 0;
    padding: 14px 52px 14px 0;
    color: var(--g-700);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.form-container {
    padding: 32px 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 252, 249, 0.98) 100%);
    position: relative;
    overflow: visible;
}

#rentalDays,
#ratio,
#rent {
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08) 0%, rgba(255, 255, 255, 0.96) 60%);
    border-color: rgba(34, 197, 94, 0.22);
    box-shadow: 0 10px 22px rgba(34, 197, 94, 0.10);
    font-weight: 650;
}

#rentalDays:focus,
#ratio:focus,
#rent:focus {
    transform: none;
}

.name-logo-container {
    display: none;
}

.name-logo {
    width: 82px;
    height: 40px;
    object-fit: contain;
    padding: 1px;
    opacity: 0.92;
}

.form-group {
    margin-bottom: 22px;
    min-width: 0;
}

.form-group label {
    display: inline-block;
    margin-bottom: 10px;
    padding-bottom: 2px;
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 2;
    line-height: 1.5;
}

.form-group label::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -6px;
    right: -6px;
    height: 6px;
    background: linear-gradient(90deg, rgba(34, 197, 94, 0.22), rgba(34, 197, 94, 0.10));
    border-radius: 999px;
    z-index: -1;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-size: 15px;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
        box-shadow var(--t-mid) var(--ease), background var(--t-mid) var(--ease);
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.form-group input.input-error,
.form-group .click-select.input-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.field-error {
    display: none;
    margin-top: 8px;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.field-error.show {
    display: block;
}

.click-select {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.click-select .click-option,
.multiselect-display,
.copy-btn,
.time-input-group {
    transform: translateZ(0);
    transition: transform var(--t-fast) var(--ease), box-shadow var(--t-mid) var(--ease),
        border-color var(--t-fast) var(--ease), background var(--t-mid) var(--ease),
        color var(--t-fast) var(--ease);
}

.click-select .click-option {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.82);
    color: var(--text);
    border-radius: var(--r-md);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    -webkit-tap-highlight-color: transparent;
}

.click-select .click-option:hover {
    border-color: rgba(34, 197, 94, 0.45);
    background: #fff;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.10);
    transform: translateY(-1px);
}

.click-select .click-option.active {
    border-color: rgba(34, 197, 94, 0.55);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.92), rgba(22, 163, 74, 0.92));
    color: white;
    font-weight: 600;
    box-shadow: 0 12px 26px rgba(34, 197, 94, 0.22);
}

.click-select .click-option:focus {
    outline: none;
    box-shadow: var(--ring);
}

.hidden-select {
    display: none;
}

.hidden-input {
    display: none;
}

.time-range-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
}

.time-input-group {
    display: grid;
    grid-template-columns: 64px 10px 56px 1fr;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: var(--shadow-sm);
}

.time-range-inline .time-input-group+.time-input-group {
    margin-top: 0;
}

.time-input-group:hover {
    border-color: rgba(34, 197, 94, 0.45);
    background: #fff;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.10);
    transform: translateY(-1px);
}

.time-input-group:focus-within {
    border-color: rgba(34, 197, 94, 0.55);
    background: #fff;
    box-shadow: var(--ring);
}

.time-input-group select {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    outline: none;
    width: 100%;
    min-width: 0;
    -webkit-appearance: none;
    appearance: none;
    text-align: center;
    text-align-last: center;
}

.time-input-group .minute-select {
    width: 100%;
}

.time-input-group .time-colon {
    color: var(--muted);
    font-weight: 800;
    margin: 0;
    text-align: center;
}

.time-input-group span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 700;
    white-space: nowrap;
    justify-self: end;
    letter-spacing: 0.2px;
}

@media (max-width: 480px) {
    .time-range-inline {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .time-input-group {
        grid-template-columns: 72px 10px 56px 1fr;
        min-width: 0;
        min-height: 42px;
        padding: 6px 10px;
        gap: 4px;
        overflow: visible;
        border-radius: 16px;
    }

    .time-input-group select {
        font-size: 15px;
        line-height: 1.2;
    }

    .time-input-group span {
        font-size: 12px;
    }
}

.form-group select[multiple] {
    min-height: 120px;
    overflow-y: auto;
}

.form-group select[multiple] option {
    padding: 8px 12px;
    border-radius: 4px;
    margin: 2px 0;
    cursor: pointer;
}

.form-group select[multiple] option:checked {
    background: linear-gradient(135deg, #b0f0b2 0%, #66bb6a 100%);
    color: white;
    font-weight: 500;
}

.form-group select[multiple] option:hover {
    background: rgba(76, 175, 80, 0.1);
}

.custom-multiselect {
    position: relative;
    width: 100%;
}

.multiselect-display {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    font-size: 15px;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    cursor: pointer;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.multiselect-display:hover {
    border-color: rgba(34, 197, 94, 0.45);
    background: #fff;
    box-shadow: 0 10px 22px rgba(2, 6, 23, 0.10);
    transform: translateY(-1px);
}

.multiselect-display.active {
    border-color: rgba(34, 197, 94, 0.55);
    background: #fff;
    box-shadow: var(--ring);
}

.multiselect-selected {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.multiselect-tag {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.92), rgba(22, 163, 74, 0.92));
    color: white;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 8px 16px rgba(34, 197, 94, 0.18);
}

.multiselect-tag .remove {
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
    opacity: 0.85;
    transition: opacity var(--t-fast) var(--ease), filter var(--t-fast) var(--ease);
}

.multiselect-tag .remove:hover {
    opacity: 1;
    filter: brightness(1.05);
}

.multiselect-placeholder {
    color: rgba(71, 85, 105, 0.72);
    font-style: italic;
}

.multiselect-arrow {
    margin-left: 8px;
    font-size: 12px;
    color: var(--muted);
    transition: transform var(--t-fast) var(--ease);
}

.multiselect-arrow.open {
    transform: rotate(180deg);
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.multiselect-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
    z-index: 1000;
    max-height: 220px;
    overflow-y: auto;
    display: none;
}

.multiselect-dropdown.show {
    display: block;
    animation: dropdownIn var(--t-mid) var(--ease);
}

.multiselect-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
}

.multiselect-option:hover {
    background: rgba(34, 197, 94, 0.08);
}

.multiselect-option.selected {
    background: rgba(34, 197, 94, 0.14);
    font-weight: 600;
}

.multiselect-option input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(71, 85, 105, 0.65);
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group textarea:-webkit-autofill,
.form-group textarea:-webkit-autofill:hover,
.form-group textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.88) inset;
    box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.88) inset;
    transition: background-color 9999s ease-out 0s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: rgba(34, 197, 94, 0.55);
    background: #fff;
    box-shadow: var(--ring);
    transform: translateY(-1px);
}

#awm {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}

label[for="awm"] {
    font-family: "Microsoft YaHei", "微软雅黑", sans-serif !important;
}

.tip-text {
    font-size: 12px;
    color: #b66a14;
    margin-top: 8px;
    font-style: normal;
    line-height: 1.65;
    opacity: 0.92;
    letter-spacing: 0.1px;
}

.form-group textarea {
    resize: vertical;
    min-height: 96px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-row-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.copy-btn {
    width: 100%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.96), rgba(22, 163, 74, 0.96));
    color: white;
    border: none;
    padding: 17px;
    border-radius: var(--r-lg);
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin-top: 28px;
    letter-spacing: 0.3px;
    box-shadow: 0 18px 34px rgba(34, 197, 94, 0.20);
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(34, 197, 94, 0.24);
    background: linear-gradient(135deg, rgba(34, 197, 94, 1), rgba(21, 128, 61, 0.96));
}

.copy-btn:active {
    transform: scale(0.985);
}

.copy-btn:active,
.copy-btn:focus {
    outline: none;
}

.success-message {
    background: rgba(34, 197, 94, 0.10);
    color: #166534;
    padding: 15px;
    border-radius: var(--r-md);
    margin-top: 20px;
    text-align: center;
    display: none;
    border: 1px solid rgba(34, 197, 94, 0.20);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 480px) {
    body {
        padding: 84px 12px 12px;
    }

    .top-nav {
        padding: 10px 12px;
    }

    .top-nav-inner {
        gap: 8px;
        align-items: center;
    }

    .top-nav-brand img {
        height: 24px;
    }

    .top-nav-items {
        flex: 1;
        gap: 8px;
        justify-content: flex-end;
    }

    .top-nav-link {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 72px;
        text-align: center;
        font-size: 13px;
        padding: 9px 8px;
    }

    .ui-icon {
        width: 15px;
        height: 15px;
    }

    .ui-icon-lg {
        width: 17px;
        height: 17px;
    }

    .tip-text.icon-tip {
        gap: 6px;
    }

    .notice-modal {
        padding: 12px;
    }

    .notice-dialog {
        max-height: 90vh;
        padding: 22px 16px 20px;
        border-radius: 18px;
    }

    .notice-close {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }

    .notice-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .records-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .about-title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.85;
    }

    .records-group+.records-group {
        margin-top: 22px;
    }

    .records-group-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

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

    .records-card {
        border-radius: 12px;
    }

    .image-viewer {
        padding: 10px;
    }

    .floating-qr {
        right: 10px;
        bottom: 10px;
        width: 64px;
        height: 64px;
        padding: 4px;
        border-radius: 999px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        cursor: grab;
    }

    .floating-qr.dragging {
        cursor: grabbing;
    }

    .floating-qr img {
        border-radius: 999px;
    }

    .image-viewer-download {
        height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .image-viewer-close {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .image-viewer-img-desktop {
        transform: none;
    }

    .image-viewer-img {
        border-radius: 14px;
        max-height: calc(92vh - 54px);
    }

    .notice-title {
        font-size: 22px;
    }

    .notice-subtitle,
    .notice-warning {
        font-size: 15px;
    }

    .container {
        border-radius: 14px;
    }

    .header {
        padding: 26px 20px 22px;
    }

    .header-content {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 12px;
    }

    .logo-container {
        width: auto;
    }

    .logo {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .title-container {
        min-width: auto;
    }

    .header h1 {
        font-size: 22px;
        letter-spacing: 0.2px;
    }

    .header p {
        font-size: 14px;
    }

    .announcement-bar {
        margin: 14px 18px 0;
        border-radius: 12px;
    }

    .announcement-track {
        min-height: 50px;
        padding: 0 12px;
    }

    .announcement-marquee {
        left: 12px;
    }

    .announcement-marquee span {
        font-size: 13px;
        padding: 12px 36px 12px 0;
    }

    .form-container {
        padding: 26px 18px;
    }

    .name-logo-container {
        top: 10px;
        left: 18px;
    }

    .name-logo {
        width: 70px;
        height: 35px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-row-three {
        grid-template-columns: 1fr;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        padding: 12px 14px;
    }

    .copy-btn {
        font-size: 16px;
        padding: 16px;
    }
}

.footer {
    max-width: 1300px;
    margin: 0 auto;
    padding: 24px 16px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-radius: var(--r-lg);
    margin-top: 16px;
    margin-bottom: 16px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: center;
}

.footer-section {
    padding: 8px;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.footer-about {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-work-time {
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-record-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
}

.footer-divider {
    margin: 0 8px;
    color: var(--text-tertiary);
}

.footer-record-link {
    color: var(--text-tertiary);
    text-decoration: none;
}

.footer-record-link:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}