.menu-group a.active { color: #fff; background: rgba(255, 255, 255, 0.18); font-weight: 700; } .record-page, .record-detail-page { flex: 1; padding: 20px; background: transparent; } .record-card, .detail-card { border: 1px solid rgba(221, 232, 247, 0.92); border-radius: 14px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 16px 40px rgba(34, 69, 126, 0.08); } .record-card { min-height: calc(100vh - 122px); padding: 18px 20px 28px; } .record-card h1, .detail-heading h1 { margin: 0 0 18px; color: #15243d; font-size: 18px; font-weight: 800; } .record-query { min-height: 112px; display: grid; grid-template-columns: 210px 250px 230px minmax(330px, 1fr) 78px 78px; align-items: center; gap: 12px 18px; padding: 16px; border: 1px solid #dce8f7; border-radius: 12px; background: #fbfdff; } .record-query label { display: flex; align-items: center; gap: 8px; color: #2e4057; font-size: 12px; font-weight: 700; } .record-query label span { flex: 0 0 auto; } .record-query input, .record-query select { width: 142px; height: 32px; padding: 0 8px; border: 1px solid #d8e3f0; border-radius: 6px; color: #1f2d3d; background: #fff; outline: 0; font-size: 12px; } .area-select-label { overflow: visible; } .area-cascader { position: relative; width: 142px; flex: 0 0 142px; } .area-cascader-trigger { width: 100%; height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 9px; border: 1px solid #d8e3f0; border-radius: 6px; color: #1f2d3d; background: #fff; outline: 0; font-size: 12px; text-align: left; cursor: pointer; } .area-cascader-trigger:focus { border-color: #2f80ed; box-shadow: 0 0 0 2px rgba(47, 128, 237, 0.08); } #areaCascaderText { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .area-cascader-arrow { width: 8px; height: 8px; flex: 0 0 8px; border-right: 1.5px solid #68788c; border-bottom: 1.5px solid #68788c; transform: translateY(-2px) rotate(45deg); } .area-cascader-panel { position: absolute; left: 0; top: 38px; z-index: 180; display: flex; min-height: 130px; border: 1px solid #e3e8ef; border-radius: 4px; background: #fff; box-shadow: 0 8px 20px rgba(16, 42, 78, 0.12); } .area-cascader-column { width: 136px; max-height: 210px; padding: 6px 0; overflow: auto; border-right: 1px solid #eef2f6; } .area-cascader-column:last-child { border-right: 0; } .area-cascader-option { width: 100%; height: 30px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px; border: 0; color: #1f2d3d; background: transparent; text-align: left; font-size: 13px; cursor: pointer; } .area-cascader-option span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .area-cascader-option:hover, .area-cascader-option.active { color: #1677ff; background: #f3f8ff; } .area-cascader-next { color: #8a9ab0; } .area-cascader-empty { width: 136px; padding: 18px 10px; color: #8a9ab0; text-align: center; font-size: 12px; } .record-query .date-label { grid-column: span 2; } .date-label input { width: 158px; } .query-reset, .query-search, .record-toolbar button, .detail-heading button { height: 34px; border-radius: 8px; font-size: 13px; cursor: pointer; } .query-reset, .detail-heading button { border: 1px solid #d7e1ee; color: #52657a; background: #fff; } .query-search, .record-toolbar button { border: 1px solid #1677ff; color: #fff; background: #1677ff; box-shadow: 0 6px 14px rgba(22, 119, 255, 0.18); } .record-toolbar { height: 54px; display: flex; align-items: flex-end; } .record-toolbar button { min-width: 104px; } .record-table, .pass-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; border: 1px solid #e5edf7; border-radius: 12px; background: #fff; color: #111827; font-size: 13px; } .record-table thead tr, .pass-table thead tr { height: 42px; background: #f2f6fb; } .record-table th, .record-table td, .pass-table th, .pass-table td { padding: 0 10px; text-align: left; } .record-table th, .pass-table th { color: #516579; font-weight: 800; } .record-table tbody tr, .pass-table tbody tr { height: 42px; } .record-table tbody tr:nth-child(even), .pass-table tbody tr:nth-child(even) { background: #f8fbff; } .record-table td, .pass-table td { border-top: 1px solid #edf2f8; color: #25364a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .record-table th:nth-child(1), .record-table td:nth-child(1) { width: 44px; } .record-table th:nth-child(3), .record-table td:nth-child(3) { width: 124px; } .record-table th:nth-child(4), .record-table td:nth-child(4), .record-table th:nth-child(11), .record-table td:nth-child(11) { width: 96px; } .record-table th:nth-child(10), .record-table td:nth-child(10), .record-table th:nth-child(12), .record-table td:nth-child(12) { width: 142px; } .record-table th:nth-child(13), .record-table td:nth-child(13) { width: 82px; } .table-actions { display: flex; align-items: center; gap: 10px; } .table-actions button { border: 0; color: #1677ff; background: transparent; font-size: 13px; font-weight: 700; cursor: pointer; } .status-pill, .soft-tag, .pass-tag { min-width: 58px; height: 24px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 999px; font-style: normal; font-size: 12px; font-weight: 800; line-height: 1; } .status-pill.visiting, .soft-tag.green { color: #168b53; background: #e8f8ef; } .status-pill.pending { color: #1677c8; background: #e4f4ff; } .status-pill.signed { color: #b86800; background: #fff1cc; } .status-pill.overdue, .soft-tag.orange { color: #d66a3d; background: #ffece2; } .status-pill.cancelled { color: #6f7f94; background: #eef2f6; } .record-empty { padding: 38px; border: 1px solid #e5edf7; border-top: 0; border-radius: 0 0 12px 12px; color: #8a9ab0; text-align: center; font-size: 13px; background: #fff; } .record-pagination { height: 54px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: #606f83; font-size: 12px; } .record-pagination button { min-width: 22px; height: 22px; border: 0; color: #606f83; background: transparent; cursor: pointer; } .record-pagination button.active { color: #1685ff; } .record-pagination select, .record-pagination input { height: 24px; border: 1px solid #d8e2ee; color: #606f83; background: #fff; font-size: 12px; } .record-pagination input { width: 42px; padding: 0 6px; } .detail-heading { display: flex; align-items: center; justify-content: space-between; } .detail-card { margin-bottom: 26px; padding: 22px 26px 28px; } .detail-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: #142844; font-size: 18px; font-weight: 900; } .section-mark { width: 4px; height: 26px; border-radius: 3px; background: #2b7a5b; } .visitor-info-grid { display: grid; grid-template-columns: 98px repeat(2, minmax(220px, 1fr)); gap: 24px 70px; align-items: start; } .avatar-card { display: grid; justify-items: center; gap: 8px; color: #73849a; font-size: 12px; } .avatar-card strong { color: #25364a; font-size: 13px; } .avatar-placeholder { width: 72px; height: 72px; border-radius: 20px; background: #edf2f8; position: relative; } .avatar-placeholder::before { content: ""; position: absolute; left: 22px; top: 28px; width: 28px; height: 20px; border-radius: 3px; background: #8093ad; } .avatar-placeholder::after { content: ""; position: absolute; left: 31px; top: 32px; width: 10px; height: 10px; border: 3px solid #edf2f8; border-radius: 50%; } .avatar-placeholder.sign::before { left: 20px; top: 22px; width: 32px; height: 32px; border-radius: 50% 50% 6px 6px; } .avatar-placeholder.sign::after { left: 44px; top: 28px; width: 16px; height: 8px; border: 0; border-left: 3px solid #8093ad; border-bottom: 3px solid #8093ad; border-radius: 0; background: transparent; transform: rotate(-45deg); } .info-pair { display: grid; gap: 8px; color: #7a8ca3; font-size: 13px; } .info-pair strong { color: #172b45; font-size: 16px; font-weight: 900; } .detail-two-column { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; } .detail-stack { display: grid; gap: 24px; } .tag-list { display: flex; flex-wrap: wrap; gap: 8px; } .tag-list span { height: 26px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: #2f6699; background: #eef6ff; font-size: 13px; } .sign-grid { grid-template-columns: 98px repeat(2, minmax(220px, 1fr)); } .pass-table { width: 86%; margin-top: 8px; } .pass-tag.in { color: #1677c8; background: #dff2ff; } .pass-tag.out { color: #bf7b00; background: #fff0c7; } .capture-cell { display: inline-flex; align-items: center; gap: 10px; } .capture-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #6f839f; background: #edf2f8; } .detail-tip { margin: 24px 0 0; color: #7c8da3; font-size: 12px; } @media (max-width: 1360px) { .record-query { grid-template-columns: repeat(3, minmax(190px, 1fr)) 72px 72px; } .record-query .date-label { grid-column: span 2; } .visitor-info-grid, .sign-grid { gap: 20px 36px; } } /* Visitor record list layout refinement */ .record-query { grid-template-columns: minmax(190px, 1fr) minmax(230px, 1.08fr) minmax(230px, 1fr) minmax(440px, 1.65fr) 172px; gap: 12px 16px; align-items: center; } .record-query label { min-width: 0; } .record-query label span { white-space: nowrap; } .record-query input, .record-query select, .area-cascader-trigger { min-width: 0; } .record-query .date-label { grid-column: auto; } .date-label input { width: 148px; } .record-query .query-reset, .record-query .query-search { width: 72px; justify-self: end; } .record-query .query-reset { grid-column: 4; grid-row: 2; } .record-query .query-search { grid-column: 5; grid-row: 2; } .record-table th:nth-child(1), .record-table td:nth-child(1) { width: 42px; } .record-table th:nth-child(2), .record-table td:nth-child(2), .record-table th:nth-child(5), .record-table td:nth-child(5), .record-table th:nth-child(8), .record-table td:nth-child(8), .record-table th:nth-child(13), .record-table td:nth-child(13) { width: 78px; } .record-table th:nth-child(3), .record-table td:nth-child(3) { width: 132px; } .record-table th:nth-child(4), .record-table td:nth-child(4), .record-table th:nth-child(6), .record-table td:nth-child(6), .record-table th:nth-child(7), .record-table td:nth-child(7), .record-table th:nth-child(9), .record-table td:nth-child(9), .record-table th:nth-child(11), .record-table td:nth-child(11) { width: 96px; } .record-table th:nth-child(10), .record-table td:nth-child(10), .record-table th:nth-child(12), .record-table td:nth-child(12) { width: 136px; } @media (max-width: 1460px) { .record-query { grid-template-columns: repeat(3, minmax(190px, 1fr)) 172px; } .record-query .date-label { grid-column: span 2; } .record-query .query-reset { grid-column: 3; grid-row: 3; } .record-query .query-search { grid-column: 4; grid-row: 3; } }