:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #1d2129; background: #f5f7fa; }
* { box-sizing: border-box; }
html, body { min-width: 320px; min-height: 100%; margin: 0; }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
.admin-layout { display: flex; min-height: 100vh; }
.sidebar { display: flex; position: fixed; z-index: 1; width: 224px; min-height: 100vh; flex-direction: column; padding: 24px 12px 16px; color: #c9d2e3; background: #17233c; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 12px 27px; color: #fff; font-size: 17px; font-weight: 600; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 7px; background: #2679f5; font-size: 17px; }
.side-nav { display: grid; gap: 4px; }
.nav-link { display: flex; width: 100%; align-items: center; gap: 12px; padding: 11px 12px; border: 0; border-radius: 5px; background: transparent; color: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.nav-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-link.is-active { background: #2679f5; color: #fff; }
.nav-icon { width: 16px; color: currentColor; font-size: 19px; line-height: 1; text-align: center; }
.nav-group { display: grid; gap: 2px; }.nav-arrow { margin-left: auto; font-size: 18px; transition: transform .18s ease; }.nav-group.is-open .nav-arrow { transform: rotate(90deg); }.nav-sub-link { display: none; margin-left: 28px; padding: 9px 12px; border-radius: 5px; color: #c9d2e3; font-size: 13px; }.nav-group.is-open .nav-sub-link { display: block; }.nav-sub-link:hover, .nav-sub-link.is-active { color: #fff; background: rgba(255,255,255,.08); }.nav-sub-link.is-active { color: #86b7ff; }
.sidebar-footer { display: flex; align-items: center; gap: 9px; margin-top: auto; padding: 14px 12px 0; border-top: 1px solid rgba(255,255,255,.11); color: #fff; font-size: 13px; }
.user-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #42618d; font-size: 12px; }
.main-content { width: calc(100% - 224px); min-height: 100vh; margin-left: 224px; padding: 0 40px 44px; }
.admin-view[hidden] { display: none; }
.catering-view { margin-top: 18px; min-height: calc(100vh - 136px); }
.catering-view iframe { width: 100%; min-height: calc(100vh - 150px); border: 0; background: #f7f8fa; }
.topbar { display: flex; min-height: 92px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e7ebf0; }
.breadcrumb, .topbar h1 { margin: 0; }.breadcrumb { color: #86909c; font-size: 12px; }.topbar h1 { margin-top: 6px; font-size: 22px; font-weight: 600; }
.logout-button { padding: 7px 12px; border: 1px solid #d9dee8; border-radius: 4px; background: #fff; color: #4e5969; font-size: 13px; cursor: pointer; }.logout-button:hover { color: #1769e8; border-color: #1769e8; }
.welcome-section { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 25px 28px; border-radius: 8px; background: #eaf3ff; }.section-kicker { margin: 0 0 5px; color: #1769e8; font-size: 13px; }.welcome-section h2 { margin: 0; font-size: 21px; font-weight: 600; }.welcome-section p:not(.section-kicker) { margin: 8px 0 0; color: #62728a; font-size: 14px; }.primary-action { flex: 0 0 auto; padding: 10px 16px; border-radius: 4px; background: #1769e8; color: #fff; font-size: 14px; }.primary-action:hover { background: #0f5dcc; }
.metrics-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 20px; }.metric-card { min-height: 139px; padding: 20px 22px; border: 1px solid #e8ecf1; border-radius: 7px; background: #fff; }.metric-card p, .metric-card span { margin: 0; color: #86909c; font-size: 13px; }.metric-card strong { display: block; margin: 13px 0 7px; color: #1d2129; font-size: 30px; font-weight: 600; }
.content-section { margin-top: 28px; }.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 14px; }.section-heading h2, .section-heading p { margin: 0; }.section-heading h2 { font-size: 17px; font-weight: 600; }.section-heading p { margin-top: 5px; color: #86909c; font-size: 13px; }.section-heading > a { color: #1769e8; font-size: 13px; }
.shortcut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }.shortcut-card { display: flex; width: 100%; min-height: 108px; align-items: center; gap: 13px; padding: 18px; border: 1px solid #e8ecf1; border-radius: 7px; background: #fff; color: #1d2129; text-align: left; cursor: pointer; }.shortcut-card:hover { border-color: #99c5ff; box-shadow: 0 6px 18px rgba(28,74,130,.06); }.shortcut-icon { display: grid; width: 40px; height: 40px; flex: 0 0 auto; place-items: center; border-radius: 7px; font-size: 15px; font-weight: 600; }.blue { background: #e9f2ff; color: #1769e8; }.green { background: #e8f8ef; color: #1e9c55; }.orange { background: #fff2e5; color: #dc7c1b; }.shortcut-card span:nth-child(2) { display: grid; gap: 7px; }.shortcut-card strong { font-size: 14px; font-weight: 600; }.shortcut-card small { color: #86909c; font-size: 12px; }.shortcut-card b { margin-left: auto; color: #a8b2c1; font-size: 22px; font-weight: 400; }
.activity-section { padding: 20px; border: 1px solid #e8ecf1; border-radius: 7px; background: #fff; }.empty-activity { display: grid; min-height: 110px; place-items: center; border-top: 1px solid #f0f2f5; color: #a7afbd; font-size: 13px; }.toast { position: fixed; z-index: 3; bottom: 28px; left: 50%; display: none; padding: 10px 15px; border-radius: 4px; background: rgba(29,33,41,.88); color: #fff; font-size: 13px; transform: translateX(-50%); }.toast.is-visible { display: block; }
.enterprise-view, .enterprise-detail-view { margin-top: 24px; }.enterprise-filter { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 16px 20px; padding: 22px 24px; border: 1px solid #e5e9ef; background: #fff; }.enterprise-filter label { display: grid; gap: 8px; color: #4e5969; font-size: 13px; }.enterprise-filter input, .enterprise-filter select { width: 100%; height: 35px; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #4e5969; font-size: 13px; }.enterprise-filter input::placeholder { color: #b1bac7; }.enterprise-filter-actions { display: flex; align-items: end; gap: 10px; }.filter-primary, .filter-reset { height: 35px; padding: 0 16px; border: 1px solid #2679f5; border-radius: 4px; font-size: 13px; cursor: pointer; }.filter-primary { background: #2679f5; color: #fff; }.filter-reset { background: #fff; color: #4e5969; border-color: #d9e0ea; }.enterprise-list-heading { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; color: #1d2129; font-size: 17px; font-weight: 600; }.enterprise-list-heading span:nth-child(2) { color: #86909c; font-size: 12px; font-weight: 400; }.enterprise-list-heading button { height: 32px; margin-left: auto; padding: 0 13px; border: 1px solid #2679f5; border-radius: 4px; background: #2679f5; color: #fff; font-size: 13px; }.enterprise-table-wrap { overflow-x: auto; border: 1px solid #e5e9ef; background: #fff; }.enterprise-table { width: 100%; min-width: 1080px; border-collapse: collapse; font-size: 13px; }.enterprise-table th, .enterprise-table td { height: 46px; padding: 0 14px; border-bottom: 1px solid #edf0f3; color: #4e5969; text-align: left; white-space: nowrap; }.enterprise-table th { background: #f6f7f9; color: #6b7480; font-weight: 500; }.enterprise-table th:first-child, .enterprise-table td:first-child { width: 62px; text-align: center; }.enterprise-detail-button, .enterprise-administrators-button, .enterprise-add-administrator-button { padding: 0; border: 0; background: transparent; color: #2679f5; font-size: 13px; cursor: pointer; }.enterprise-actions { display: flex; gap: 12px; }.enterprise-actions button:disabled { color: #b1bac7; cursor: not-allowed; }
.admin-dialog { width: min(620px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 8px; box-shadow: 0 18px 52px rgba(23,35,60,.22); color: #1d2129; }.admin-dialog::backdrop { background: rgba(23,35,60,.45); }.dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; padding: 20px 24px 16px; border-bottom: 1px solid #edf0f3; }.dialog-heading h2, .dialog-heading p { margin: 0; }.dialog-heading h2 { font-size: 18px; }.dialog-heading p { margin-top: 6px; color: #86909c; font-size: 13px; }.dialog-close { padding: 0 4px; border: 0; background: transparent; color: #86909c; font-size: 25px; cursor: pointer; }.dialog-body { min-height: 150px; max-height: 55vh; padding: 20px 24px; overflow-y: auto; }.dialog-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 24px 20px; border-top: 1px solid #edf0f3; }.administrator-list, .administrator-candidates { display: grid; gap: 10px; }.administrator-item, .administrator-candidate { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e5e9ef; border-radius: 6px; }.administrator-avatar { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: #e9f2ff; color: #2679f5; }.administrator-item span:last-child, .administrator-candidate span { display: grid; gap: 5px; }.administrator-item strong, .administrator-candidate strong { font-size: 14px; }.administrator-item small, .administrator-candidate small { color: #86909c; font-size: 12px; }.administrator-search-label { display: block; margin-bottom: 8px; color: #4e5969; font-size: 13px; }.administrator-search { display: flex; gap: 10px; }.administrator-search input { min-width: 0; height: 35px; flex: 1; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; }.administrator-search-help { margin: 8px 0 18px; color: #86909c; font-size: 12px; }.administrator-candidate { cursor: pointer; }.administrator-candidate:has(input:checked) { border-color: #2679f5; background: #f5f9ff; }.dialog-state { margin: 28px 0; color: #86909c; font-size: 13px; text-align: center; }.dialog-state.is-error { color: #f53f3f; }.enterprise-pagination { margin: 14px 0; color: #86909c; font-size: 13px; }.detail-toolbar { display: flex; justify-content: space-between; margin-bottom: 18px; }.detail-toolbar > button:first-child { padding: 0; border: 0; background: transparent; color: #4e5969; font-size: 14px; cursor: pointer; }.detail-section { margin-bottom: 18px; padding: 22px 24px; border: 1px solid #e5e9ef; background: #fff; }.detail-section h2 { margin: 0 0 20px; font-size: 16px; }.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 32px; margin: 0; }.detail-grid div { min-width: 0; }.detail-grid dt { margin-bottom: 8px; color: #86909c; font-size: 12px; }.detail-grid dd { margin: 0; color: #30343b; font-size: 14px; }.status-pill { color: #1c9b55; }.enterprise-view[hidden], .enterprise-detail-view[hidden] { display: none; }
.dialog-link-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: #2679f5; font-size: 13px; cursor: pointer; }.nested-admin-dialog { width: min(520px, calc(100vw - 32px)); }.create-user-form-grid { display: grid; gap: 16px; }.create-user-form-grid label { display: grid; gap: 8px; color: #4e5969; font-size: 13px; }.create-user-form-grid input { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; color: #30343b; }.create-user-form-grid input:focus { outline: 0; border-color: #2679f5; box-shadow: 0 0 0 2px rgba(38,121,245,.1); }
.enterprise-pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 14px 0; }.enterprise-pagination > p { margin: 0; color: #86909c; font-size: 13px; }.enterprise-pagination-buttons, .enterprise-pagination-buttons > span { display: flex; align-items: center; gap: 6px; }.enterprise-pagination-buttons button { min-width: 32px; height: 32px; padding: 0 9px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #4e5969; font-size: 13px; cursor: pointer; }.enterprise-pagination-buttons button:hover:not(:disabled):not(.is-active) { color: #2679f5; border-color: #2679f5; }.enterprise-pagination-buttons button.is-active { border-color: #2679f5; background: #2679f5; color: #fff; }.enterprise-pagination-buttons button:disabled { background: #f5f6f7; color: #c9cdd4; cursor: not-allowed; }.pagination-ellipsis { display: inline-grid; min-width: 24px; height: 32px; place-items: center; color: #86909c; }
.detail-tabs { display: flex; gap: 26px; height: 46px; align-items: stretch; margin: 0 -40px 20px; padding: 0 40px; border-bottom: 1px solid #e3e8ef; overflow-x: auto; white-space: nowrap; }.detail-tabs button { position: relative; flex: 0 0 auto; padding: 0; border: 0; background: transparent; color: #30343b; font-size: 14px; cursor: pointer; }.detail-tabs button.active { color: #2679f5; }.detail-tabs button.active::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; border-radius: 2px 2px 0 0; background: #2679f5; content: ""; }.detail-placeholder { min-height: 220px; }.detail-placeholder p { color: #86909c; font-size: 14px; }.detail-placeholder[hidden] { display: none; }
.detail-toolbar { display: flex; align-items: center; justify-content: space-between; }.detail-toolbar-actions { display: flex; align-items: center; gap: 10px; }.filter-secondary { height: 35px; padding: 0 16px; border: 1px solid #2679f5; border-radius: 4px; background: #fff; color: #2679f5; font-size: 13px; cursor: pointer; }.filter-secondary:hover { background: #f0f7ff; }
.employee-list-view { margin-top: 24px; }.employee-list-toolbar { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; color: #4e5969; font-size: 14px; }.employee-list-toolbar button { padding: 0; border: 0; background: transparent; color: #2679f5; cursor: pointer; }.employee-filter { display: flex; align-items: end; gap: 20px; padding: 22px 24px; border: 1px solid #e5e9ef; background: #fff; }.employee-filter label { display: grid; width: 260px; gap: 8px; color: #4e5969; font-size: 13px; }.employee-filter input, .employee-filter select { width: 100%; height: 35px; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #4e5969; font-size: 13px; }.employee-filter-actions { display: flex; gap: 10px; }.employee-list-heading { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; color: #1d2129; font-size: 17px; font-weight: 600; }.employee-list-heading span:nth-child(2) { color: #86909c; font-size: 12px; font-weight: 400; }.employee-table-wrap { overflow-x: auto; border: 1px solid #e5e9ef; background: #fff; }.employee-table { width: 100%; min-width: 880px; border-collapse: collapse; font-size: 13px; }.employee-table th, .employee-table td { height: 46px; padding: 0 14px; border-bottom: 1px solid #edf0f3; color: #4e5969; text-align: left; white-space: nowrap; }.employee-table th { background: #f6f7f9; color: #6b7480; font-weight: 500; }.employee-table th:first-child, .employee-table td:first-child { width: 62px; text-align: center; }.employee-pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 14px 0; }.employee-pagination > p { margin: 0; color: #86909c; font-size: 13px; }.employee-pagination-buttons, .employee-pagination-buttons > span { display: flex; align-items: center; gap: 6px; }.employee-pagination-buttons button { min-width: 32px; height: 32px; padding: 0 9px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #4e5969; font-size: 13px; cursor: pointer; }.employee-pagination-buttons button.is-active { border-color: #2679f5; background: #2679f5; color: #fff; }.employee-pagination-buttons button:disabled { background: #f5f6f7; color: #c9cdd4; cursor: not-allowed; }
.list-create-button { margin-left: auto; }.department-row-actions, .employee-row-actions { display: flex; gap: 12px; }.department-row-actions button, .employee-row-actions button { padding: 0; border: 0; background: transparent; color: #2679f5; cursor: pointer; }.department-row-actions .department-delete-button, .employee-row-actions .employee-delete-button { color: #f53f3f; }.create-user-form-grid select { width: 100%; height: 36px; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #30343b; }
.embedded-settings[hidden] { display: none; }.settings-row-save { margin-left: 4px; }.settings-note { margin-bottom: 18px; padding: 15px 18px; border: 1px solid #f2d99d; border-radius: 4px; background: #fff8e8; color: #6d541b; }.settings-note strong { font-size: 14px; }.settings-note p { margin: 7px 0 0; color: #695c41; font-size: 13px; }.settings-row { display: flex; min-height: 54px; align-items: center; gap: 26px; border-bottom: 1px solid #f0f2f5; color: #3d4652; font-size: 14px; }.settings-row:last-child { border-bottom: 0; }.settings-row > span { min-width: 320px; }.detail-toggle { position: relative; display: inline-block; width: 40px; height: 21px; cursor: pointer; }.detail-toggle input { position: absolute; opacity: 0; }.detail-toggle span { position: absolute; inset: 0; border-radius: 20px; background: #dce2eb; transition: background .18s ease; }.detail-toggle span::before { position: absolute; top: 3px; left: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.15); content: ""; transition: transform .18s ease; }.detail-toggle input:checked + span { background: #2679f5; }.detail-toggle input:checked + span::before { transform: translateX(19px); }.settings-help { margin: -7px 0 12px; color: #86909c; font-size: 13px; }.settings-radio { display: flex; gap: 24px; margin-bottom: 18px; color: #4e5969; font-size: 14px; }.settings-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }.settings-footer span { color: #86909c; font-size: 13px; }.limit-input { width: 130px; height: 35px; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; color: #4e5969; }.settings-authorization { display: flex; align-items: center; gap: 13px; padding: 10px 0 13px 320px; }.settings-authorization[hidden] { display: none; }.settings-authorization span { color: #2679f5; font-size: 13px; word-break: break-all; }
.authorization-panel { align-items: flex-start; flex-direction: column; }.authorization-address { display: flex; width: 100%; align-items: center; gap: 10px; }.authorization-address[hidden] { display: none; }.authorization-address label { flex: 0 0 auto; color: #4e5969; font-size: 13px; }.authorization-address input { min-width: 0; height: 35px; flex: 1; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #4e5969; }.authorization-address button { flex: 0 0 auto; }
.authorization-company { display: flex; width: 100%; align-items: center; gap: 10px; }.authorization-company label { flex: 0 0 auto; color: #4e5969; font-size: 13px; }.authorization-company input { width: 320px; height: 35px; padding: 0 10px; border: 1px solid #d9e0ea; border-radius: 4px; background: #fff; color: #4e5969; }.authorization-company input.is-invalid { border-color: #f53f3f; box-shadow: 0 0 0 2px rgba(245,63,63,.12); }.authorization-company button { flex: 0 0 auto; }
.amap-authorized-details { display: flex; width: 100%; gap: 56px; margin: 0; padding: 4px 0; }.amap-authorized-details[hidden] { display: none; }.amap-authorized-details div { display: grid; gap: 8px; }.amap-authorized-details dt { color: #86909c; font-size: 13px; }.amap-authorized-details dd { margin: 0; color: #30343b; font-size: 14px; font-weight: 500; }
@media (max-width: 900px) { .main-content { padding: 0 24px 36px; }.shortcut-grid { grid-template-columns: 1fr; }.shortcut-card { min-height: 82px; } }
@media (max-width: 650px) { .sidebar { position: static; width: 100%; min-height: auto; padding: 14px; }.admin-layout { display: block; }.brand { padding: 0 6px 13px; }.side-nav { display: flex; overflow-x: auto; }.nav-link { width: auto; flex: 0 0 auto; }.sidebar-footer { display: none; }.main-content { width: 100%; margin: 0; padding: 0 16px 28px; }.topbar { min-height: 75px; }.welcome-section { align-items: flex-start; flex-direction: column; padding: 20px; }.metrics-grid { grid-template-columns: 1fr; gap: 10px; }.metric-card { min-height: 102px; }.activity-section { padding: 16px; }.catering-view { margin-top: 8px; }.catering-view iframe { min-height: calc(100vh - 105px); } }
