:root {
  --ink: #252632;
  --muted: #858694;
  --muted-2: #a8a8b3;
  --line: #e9e9ee;
  --canvas: #f7f7f9;
  --card: #ffffff;
  --purple: #6958d5;
  --purple-dark: #5946c7;
  --purple-soft: #f0edff;
  --orange: #e28a3d;
  --green: #2b9a77;
  --red: #d66066;
  --sidebar: #282936;
  --sidebar-muted: #a4a4af;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 248px; flex: 0 0 248px; background: var(--sidebar); color: white; display: flex; flex-direction: column; padding: 27px 15px 18px; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 13px 29px; }
.brand-mark { width: 25px; height: 25px; display: flex; align-items: flex-end; gap: 3px; }
.brand-mark span { display: block; width: 6px; border-radius: 5px 5px 2px 2px; background: #8778ee; }
.brand-mark span:nth-child(1) { height: 13px; opacity: .65; }.brand-mark span:nth-child(2) { height: 21px; }.brand-mark span:nth-child(3) { height: 17px; opacity: .8; }
.brand-name { font-size: 16px; line-height: 1.1; font-weight: 800; letter-spacing: -.4px; }.brand-sub { margin-top: 4px; color: #888995; font-size: 10px; letter-spacing: .8px; }
.workspace-switcher { display: flex; align-items: center; padding: 11px 12px; border: 1px solid #41414f; border-radius: 9px; background: #30313f; gap: 10px; margin-bottom: 29px; }.workspace-avatar, .profile-avatar { display: grid; place-items: center; background: #7665df; color: white; font-weight: 800; border-radius: 7px; }.workspace-avatar { width: 29px; height: 29px; font-size: 14px; }.workspace-name { font-size: 12px; font-weight: 700; }.workspace-meta { color: #92929e; font-size: 10px; margin-top: 3px; }.chevron { margin-left: auto; color: #aaaab4; font-size: 18px; }
.nav-label { color: #737481; font-size: 9px; font-family: "DM Mono", monospace; letter-spacing: 1.2px; padding: 0 14px 9px; }.nav-label-spaced { margin-top: 30px; }.nav-list { flex: 1; }.nav-item { width: 100%; height: 41px; color: var(--sidebar-muted); border: 0; background: transparent; text-align: left; border-radius: 7px; padding: 0 14px; display: flex; align-items: center; gap: 12px; font-size: 12px; }.nav-item:hover { color: #fff; background: #30313f; }.nav-item.active { color: #fff; background: #4b466b; box-shadow: inset 3px 0 0 #9c8df7; }.nav-icon { width: 16px; font-size: 17px; color: #a6a4b5; text-align: center; }.nav-item.active .nav-icon { color: #c9c2ff; }.nav-count { margin-left: auto; min-width: 18px; padding: 2px 5px; border-radius: 8px; font: 10px "DM Mono", monospace; text-align: center; color: #d5ceff; background: #6155a4; }.sidebar-bottom { margin-top: auto; }.integration-card { display: flex; align-items: center; gap: 9px; margin: 10px 4px 20px; padding: 10px; border-top: 1px solid #3d3e4b; }.integration-icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; color: #52c79c; background: #243b38; font-size: 12px; }.integration-title { font-size: 10px; }.integration-desc { font-size: 9px; color: #898a96; margin-top: 3px; }.online-dot { width: 6px; height: 6px; border-radius: 50%; background: #52c79c; margin-left: auto; box-shadow: 0 0 0 3px #31504a; }.user-profile { display: flex; align-items: center; gap: 10px; padding: 13px 8px 2px; border-top: 1px solid #3d3e4b; }.profile-avatar { width: 31px; height: 31px; border-radius: 50%; font-size: 9px; background: #d59166; }.profile-name { font-size: 11px; font-weight: 700; }.profile-role { font-size: 9px; color: #8d8e99; margin-top: 3px; }.more { color: #8b8c98; margin-left: auto; letter-spacing: 2px; }
.nav-item-link { text-decoration: none; }
.main-content { min-width: 0; flex: 1; }.topbar { height: 72px; background: #fff; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 0 43px; }.breadcrumbs { display: flex; gap: 13px; align-items: center; font-size: 12px; color: #a2a2ad; }.breadcrumbs strong { color: var(--ink); font-weight: 700; }.slash { color: #d0d0d6; }.topbar-actions { display: flex; gap: 22px; align-items: center; }.sync-status { color: #a0a0aa; font-size: 10px; display: flex; gap: 7px; align-items: center; }.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #5ec69c; }.icon-button { position: relative; color: #8c8c98; border: 0; background: transparent; font-size: 20px; line-height: 1; }.notification-badge { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; width: 13px; height: 13px; color: white; background: #dc777e; border: 2px solid white; border-radius: 50%; font: 8px "DM Mono", monospace; }.top-avatar { display: grid; place-items: center; width: 29px; height: 29px; background: #d59166; color: #fff; border-radius: 50%; font-size: 9px; font-weight: 800; }
.content { max-width: 1400px; margin: 0 auto; padding: 40px 43px 38px; }.page-intro { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 31px; }.eyebrow { color: var(--purple); font: 10px "DM Mono", monospace; letter-spacing: 1.1px; margin-bottom: 9px; }.page-intro h1 { margin: 0; font-size: 28px; letter-spacing: -1.1px; line-height: 1.2; }.page-intro p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }.intro-actions { display: flex; gap: 9px; }.button { border-radius: 7px; height: 38px; padding: 0 15px; border: 1px solid transparent; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 7px; }.button-secondary { color: #666672; border-color: #dfdfe6; background: white; }.button-primary { color: white; background: var(--purple); box-shadow: 0 4px 10px #6958d52c; }.button-primary:hover { background: var(--purple-dark); }.button:disabled { opacity: .55; cursor: default; }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 42px; }.metric-card { min-height: 132px; padding: 19px 20px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 9px; }.metric-card-accent { border-color: #dcd7fa; background: linear-gradient(140deg, #fff 0%, #fbfaff 100%); }.metric-top { display: flex; justify-content: space-between; align-items: center; }.metric-label { color: #858591; font-size: 11px; }.metric-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 7px; font-size: 14px; }.metric-icon.orange { color: #db8b45; background: #fff1e3; }.metric-icon.purple { color: #7264d6; background: #eeeaff; }.metric-icon.green { color: #3a9b79; background: #e5f5ee; }.metric-icon.blue { color: #5c83cf; background: #eaf0fc; }.metric-value { margin-top: 8px; font-size: 27px; font-weight: 800; letter-spacing: -1px; }.metric-foot { display: flex; gap: 6px; margin-top: 7px; color: #a1a1ab; font-size: 10px; }.trend { font-weight: 700; }.trend.warning { color: #d18d49; }.trend.positive { color: #439978; }.trend.neutral { color: #777785; }
.section-heading { display: flex; justify-content: space-between; align-items: end; margin-bottom: 14px; }.section-heading h2 { margin: 0; font-size: 17px; letter-spacing: -.3px; }.section-caption { display: inline-block; margin-top: 5px; color: #9d9da8; font-size: 10px; }.view-toggle { display: flex; gap: 2px; padding: 3px; background: #eeeeF2; border-radius: 6px; }.toggle { color: #9a9aa5; border: 0; padding: 5px 12px; background: transparent; border-radius: 4px; font-size: 10px; }.toggle.active { color: #54545e; background: #fff; box-shadow: 0 1px 4px #25263210; }.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: #fff; }.table-toolbar { min-height: 63px; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }.filter-tabs { display: flex; gap: 3px; align-items: center; }.filter-tab { color: #9797a2; border: 0; border-bottom: 2px solid transparent; padding: 22px 10px 19px; background: transparent; font-size: 10px; }.filter-tab.active { color: var(--purple); border-color: var(--purple); font-weight: 700; }.filter-tab span { color: #aaaab4; margin-left: 4px; font: 9px "DM Mono", monospace; }.toolbar-right { display: flex; gap: 9px; }.search-box { width: 207px; height: 31px; display: flex; align-items: center; gap: 7px; padding: 0 9px; color: #aaaab4; border: 1px solid #e4e4e9; border-radius: 6px; }.search-box input { min-width: 0; flex: 1; border: 0; outline: none; color: var(--ink); font-size: 10px; }.search-box input::placeholder { color: #b4b4bd; }.filter-button { height: 31px; padding: 0 10px; color: #858590; border: 1px solid #e4e4e9; background: #fff; border-radius: 6px; font-size: 10px; }.table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 850px; } th { color: #aaaab3; background: #fcfcfd; text-align: left; font: 9px "DM Mono", monospace; letter-spacing: .4px; padding: 12px 20px; border-bottom: 1px solid #f0f0f3; } td { padding: 15px 20px; border-bottom: 1px solid #f0f0f3; font-size: 11px; vertical-align: middle; } tr:last-child td { border-bottom: 0; } tbody tr:hover { background: #fcfbff; }.employee-cell { display: flex; align-items: center; gap: 10px; }.employee-avatar { width: 31px; height: 31px; display: grid; place-items: center; color: #6b5ace; background: #eeeaff; border-radius: 50%; font-size: 10px; font-weight: 800; }.employee-avatar.avatar-1 { color: #b77644; background: #fff0e5; }.employee-avatar.avatar-2 { color: #458d71; background: #e5f4ed; }.employee-avatar.avatar-3 { color: #517bc0; background: #e9f0fc; }.employee-name { font-weight: 700; }.employee-id { color: #b1b1ba; font: 9px "DM Mono", monospace; margin-top: 3px; }.dept { color: #555561; }.position { color: #a6a6b0; margin-top: 3px; font-size: 10px; }.date-main { font-weight: 700; }.date-sub { margin-top: 3px; font-size: 9px; color: #adadb7; }.date-sub.due { color: #da8a47; }.progress-cell { width: 150px; }.progress-label { display: flex; justify-content: space-between; color: #91919c; font-size: 9px; margin-bottom: 7px; }.progress-label strong { color: #5b5b66; font: 9px "DM Mono", monospace; }.progress-bar { display: flex; gap: 3px; }.progress-segment { height: 4px; flex: 1; border-radius: 4px; background: #e9e9ed; }.progress-segment.done { background: #7061d6; }.progress-segment.current { background: #bbb2f5; }.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 5px; font-size: 9px; font-weight: 700; white-space: nowrap; }.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }.badge.employee { color: #b27640; background: #fff2e4; }.badge.manager { color: #5e54b8; background: #efedff; }.badge.hr { color: #3d8b6f; background: #e7f5ef; }.badge.completed { color: #6f6f7b; background: #f0f0f3; }.badge.extended { color: #b27640; background: #fff2e4; }.row-actions { display: flex; gap: 6px; }.row-action { height: 27px; padding: 0 9px; color: #6154c5; border: 1px solid #ddd8fa; background: #f8f7ff; border-radius: 5px; font-size: 9px; font-weight: 700; }.row-action.secondary { color: #8d8d97; border-color: #e5e5e9; background: white; }.loading, .empty-state { height: 180px; text-align: center; color: #9999a4; }.table-footer { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; color: #a3a3ad; border-top: 1px solid var(--line); font-size: 9px; }.pagination { display: flex; gap: 3px; }.pagination button { width: 24px; height: 24px; color: #b1b1ba; border: 1px solid #e9e9ed; background: #fff; border-radius: 4px; font-size: 12px; }.pagination button.active { color: var(--purple); border-color: #dcd7fa; background: #f4f2ff; }.bottom-note { display: flex; align-items: center; gap: 8px; color: #a0a0aa; margin-top: 15px; font-size: 10px; }.tip-icon { color: #8a7ce2; }.bottom-note button { margin-left: auto; color: var(--purple); border: 0; background: transparent; font-size: 10px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 10; display: flex; justify-content: flex-end; background: #29293655; }.modal-backdrop[hidden] { display: none; }.drawer { width: min(560px, 100vw); height: 100vh; overflow: auto; background: #fff; box-shadow: -10px 0 28px #25263220; animation: slide-in .22s ease-out; }.drawer-header { display: flex; justify-content: space-between; align-items: start; padding: 30px 30px 24px; border-bottom: 1px solid var(--line); }.drawer-kicker { color: #a3a3ad; font: 9px "DM Mono", monospace; letter-spacing: 1px; }.drawer-kicker span { color: var(--purple); }.drawer-header h2 { margin: 9px 0 0; font-size: 20px; }.close-button { width: 29px; height: 29px; color: #9999a3; border: 0; background: #f3f3f6; border-radius: 50%; font-size: 20px; line-height: 1; }.drawer-body { padding: 24px 30px 42px; }.profile-summary { display: flex; align-items: center; gap: 11px; }.large-avatar { width: 45px; height: 45px; display: grid; place-items: center; color: #6659c8; background: #efedff; border-radius: 50%; font-size: 14px; font-weight: 800; }.profile-summary strong { display: block; font-size: 14px; }.profile-summary span:not(.drawer-status) { display: block; color: #a0a0aa; font-size: 10px; margin-top: 4px; }.drawer-status { margin-left: auto; }.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 21px 0; margin: 20px 0 25px; border-top: 1px solid #f0f0f3; border-bottom: 1px solid #f0f0f3; }.detail-grid span { display: block; color: #aaaab3; font-size: 9px; margin-bottom: 7px; }.detail-grid strong { display: block; color: #565660; font-size: 10px; }.progress-track { display: flex; margin-bottom: 29px; }.progress-step { position: relative; flex: 1; text-align: center; color: #b2b2bb; font-size: 9px; }.progress-step:not(:last-child)::after { position: absolute; content: ""; top: 6px; left: 60%; right: -40%; height: 2px; background: #e6e6eb; }.progress-step.done { color: var(--purple); font-weight: 700; }.progress-step.done::after { background: #afa6ef; }.progress-step span { position: relative; z-index: 1; width: 13px; height: 13px; display: block; margin: 0 auto 7px; border: 3px solid #e6e6eb; border-radius: 50%; background: white; }.progress-step.done span { border-color: #7566d9; background: #7566d9; }.drawer-section { margin-top: 22px; }.drawer-section h3 { margin: 0 0 13px; font-size: 12px; }.submission-box { padding: 13px 14px; border: 1px solid #ececf0; border-radius: 7px; background: #fcfcfd; }.submission-box + .submission-box { margin-top: 9px; }.submission-title { display: flex; justify-content: space-between; color: #61616d; font-size: 10px; font-weight: 700; margin-bottom: 9px; }.submission-by { color: #aaaab3; font-weight: 400; }.submission-copy { color: #7e7e89; font-size: 10px; line-height: 1.7; white-space: pre-line; }.score-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 10px; }.score-item { text-align: center; padding: 8px 3px; border-radius: 5px; background: #f1efff; }.score-item span { display: block; color: #8881b7; font-size: 9px; }.score-item strong { color: #5f52bf; display: block; margin-top: 5px; font: 15px "DM Mono", monospace; }.form-field { margin-top: 14px; }.form-field label { display: block; color: #676772; font-size: 10px; font-weight: 700; margin-bottom: 7px; }.form-field textarea, .form-field input, .form-field select { width: 100%; padding: 10px; outline: none; color: #50505a; border: 1px solid #e2e2e8; border-radius: 6px; background: #fff; font-size: 10px; resize: vertical; }.form-field textarea:focus, .form-field input:focus { border-color: #a69ce9; box-shadow: 0 0 0 3px #eeeaff; }.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }.form-actions { display: flex; gap: 8px; margin-top: 22px; }.form-actions .button { flex: 1; justify-content: center; }.radio-group { display: flex; gap: 7px; }.radio-option { flex: 1; position: relative; }.radio-option input { position: absolute; opacity: 0; }.radio-option label { display: block; padding: 9px 5px; color: #898994; border: 1px solid #e4e4e9; border-radius: 6px; text-align: center; font-size: 10px; cursor: pointer; }.radio-option input:checked + label { color: var(--purple); border-color: #aaa1ee; background: #f5f3ff; font-weight: 700; }.notice-box { padding: 12px 14px; color: #7e7e8b; background: #faf9ff; border: 1px solid #ece9ff; border-radius: 7px; font-size: 10px; line-height: 1.7; }.empty-drawer { padding: 20px 0; text-align: center; color: #a2a2ac; font-size: 11px; }
.toast { position: fixed; z-index: 20; left: 50%; bottom: 25px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 16px; color: white; background: #2c2c38; border-radius: 7px; box-shadow: 0 6px 24px #25263222; font-size: 11px; transition: all .25s; }.toast.show { opacity: 1; transform: translate(-50%, 0); }
@keyframes slide-in { from { transform: translateX(30px); opacity: .2; } to { transform: translateX(0); opacity: 1; } }
@media (max-width: 1080px) { .sidebar { width: 210px; flex-basis: 210px; }.topbar, .content { padding-left: 26px; padding-right: 26px; }.metric-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .sidebar { display: none; }.topbar { height: 60px; padding: 0 18px; }.content { padding: 26px 16px; }.page-intro { display: block; }.intro-actions { margin-top: 18px; }.metric-grid { gap: 9px; margin-bottom: 30px; }.metric-card { padding: 14px; min-height: 117px; }.metric-value { font-size: 23px; }.table-toolbar { display: block; padding: 0 12px; }.filter-tabs { overflow-x: auto; }.filter-tab { padding: 15px 8px 13px; white-space: nowrap; }.toolbar-right { padding: 0 0 12px; }.search-box { flex: 1; width: auto; }.section-heading { margin-bottom: 10px; }.view-toggle { display: none; }.drawer-header, .drawer-body { padding-left: 20px; padding-right: 20px; }.detail-grid { grid-template-columns: repeat(2, 1fr); } }

/* Evaluation materials reader */
.content[hidden], .materials-page[hidden] { display: none; }
.materials-hint { display:flex; align-items:center; gap:7px; color:#8c8c98; font-size:10px; }
.materials-summary { display:grid; grid-template-columns:repeat(4,1fr); gap:15px; margin-bottom:22px; }
.material-summary-card { padding:18px 20px; border:1px solid var(--line); border-radius:9px; background:#fff; }
.material-summary-card span { display:block; color:#8c8c98; font-size:10px; }
.material-summary-card strong { display:block; margin-top:8px; font-size:25px; letter-spacing:-.8px; }
.materials-layout { display:grid; grid-template-columns:minmax(290px, .85fr) minmax(500px, 1.7fr); gap:16px; align-items:start; }
.materials-list-panel, .materials-reader { min-width:0; border:1px solid var(--line); border-radius:9px; background:#fff; }
.materials-list-panel { overflow:hidden; }
.materials-list-toolbar { padding:14px; border-bottom:1px solid var(--line); }
.materials-list-toolbar .search-box { width:100%; }
.materials-filters { display:flex; gap:4px; margin-top:11px; }
.material-filter { padding:7px 9px; color:#8d8d97; border:1px solid #e7e7eb; border-radius:5px; background:#fff; font-size:9px; }
.material-filter.active { color:var(--purple); border-color:#d8d2fb; background:#f7f5ff; font-weight:700; }
.materials-list { max-height:calc(100vh - 330px); overflow:auto; }
.material-list-item { width:100%; display:flex; align-items:center; gap:10px; padding:14px; text-align:left; border:0; border-bottom:1px solid #f1f1f4; background:#fff; cursor:pointer; }
.material-list-item:hover { background:#fcfbff; }
.material-list-item.active { background:#f7f5ff; box-shadow:inset 3px 0 0 var(--purple); }
.material-list-avatar { width:34px; height:34px; flex:0 0 34px; display:grid; place-items:center; border-radius:50%; color:#6b5ace; background:#eeeaff; font-size:10px; font-weight:800; }
.material-list-avatar.avatar-1 { color:#a56b39; background:#fff0df; }
.material-list-avatar.avatar-2 { color:#3b8e79; background:#e6f5ef; }
.material-list-avatar.avatar-3 { color:#4674b7; background:#e8f0ff; }
.material-list-main { min-width:0; flex:1; }
.material-list-main strong, .material-list-main span { display:block; }
.material-list-main strong { font-size:11px; }
.material-list-main > span { overflow:hidden; margin-top:4px; color:#9999a4; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
.material-list-meta { display:flex; gap:10px; margin-top:9px; color:#b0b0ba; font-size:9px; }
.material-list-meta .has-material { color:#3d8b6f; }
.material-list-state { padding:4px 6px; color:#b27640; background:#fff2e4; border-radius:5px; font-size:8px; white-space:nowrap; }
.material-list-state.complete { color:#3d8b6f; background:#e7f5ef; }
.materials-empty { padding:50px 20px; text-align:center; color:#a2a2ac; font-size:10px; }
.materials-reader { padding:25px 28px 35px; }
.materials-reader-empty { min-height:500px; display:grid; place-content:center; justify-items:center; text-align:center; color:#9999a4; }
.materials-reader-empty h2 { margin:15px 0 7px; color:#51515d; font-size:16px; }
.materials-reader-empty p { margin:0; font-size:10px; }
.materials-reader-icon { display:grid; place-items:center; width:46px; height:46px; border-radius:13px; color:var(--purple); background:var(--purple-soft); font-size:21px; }
.materials-reader-header { display:flex; justify-content:space-between; gap:20px; padding-bottom:22px; border-bottom:1px solid #f0f0f3; }
.materials-reader-kicker { color:var(--purple); font:9px "DM Mono",monospace; letter-spacing:1px; }
.materials-reader-header h2 { margin:9px 0 6px; font-size:22px; }
.materials-reader-header p { margin:0; color:#92919d; font-size:10px; }
.materials-reader-side { display:flex; flex-direction:column; align-items:flex-end; gap:9px; color:#9999a4; font-size:9px; white-space:nowrap; }
.material-facts { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding:18px 0 20px; border-bottom:1px solid #f0f0f3; }
.material-facts span { display:block; color:#aaaab3; font-size:9px; margin-bottom:6px; }
.material-facts strong { display:block; color:#565660; font-size:10px; }
.material-ok { color:var(--green)!important; }
.material-waiting { color:var(--orange)!important; }
.material-reader-section { margin-top:22px; padding:18px; border:1px solid #ececf0; border-radius:9px; background:#fcfcfd; }
.material-section-heading { display:flex; justify-content:space-between; align-items:start; gap:10px; margin-bottom:14px; }
.material-section-heading h3 { margin:0; font-size:13px; }
.material-section-heading p { margin:5px 0 0; color:#a2a2ac; font-size:9px; }
.material-section-badge { padding:5px 7px; color:#a2a2ac; background:#f0f0f3; border-radius:5px; font-size:8px; white-space:nowrap; }
.material-section-badge.submitted { color:#3d8b6f; background:#e7f5ef; }
.material-submitter { color:#9c9ca6; font-size:9px; }
.material-missing { color:#c48a54; font-size:9px; }
.material-fields-grid { display:grid; grid-template-columns:1fr 1fr; gap:13px 18px; }
.material-field { min-width:0; }
.material-field > span { display:block; margin-bottom:6px; color:#9b9ba5; font-size:9px; font-weight:700; }
.material-copy { color:#5f5f6b; font-size:11px; line-height:1.75; white-space:normal; overflow-wrap:anywhere; }
.material-score-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:8px; margin-bottom:15px; }
.material-score-grid > div { padding:10px 5px; border-radius:7px; text-align:center; background:#f0edff; }
.material-score-grid span { display:block; color:#837caf; font-size:9px; }
.material-score-grid strong { display:block; margin-top:6px; color:#5f52bf; font:16px "DM Mono",monospace; }
.material-manager-fields { grid-template-columns:1fr 2fr; }
.material-progress-list { display:grid; gap:10px; }
.material-progress-card { padding:13px; border:1px solid #eaeaf0; border-radius:7px; background:#fff; }
.material-progress-heading { display:flex; justify-content:space-between; gap:10px; }
.material-progress-heading strong { font-size:10px; }
.material-progress-status { color:#a0a0aa; font-size:9px; }
.material-progress-status.submitted { color:var(--green); }
.material-submission-meta { margin:6px 0 13px; }
.material-empty-block { padding:12px 0 2px; color:#a1a1ab; font-size:10px; }
.material-empty-line { margin-top:12px; color:#a1a1ab; font-size:10px; }
@media (max-width: 1100px) {
  .materials-layout { grid-template-columns:1fr; }
  .materials-list { max-height:none; }
  .materials-reader { min-height:500px; }
}
@media (max-width: 720px) {
  .materials-summary { grid-template-columns:repeat(2,1fr); }
  .materials-reader { padding:20px; }
  .materials-reader-header { display:block; }
  .materials-reader-side { align-items:flex-start; margin-top:12px; }
  .material-facts { grid-template-columns:repeat(2,1fr); }
  .material-fields-grid, .material-manager-fields { grid-template-columns:1fr; }
  .material-score-grid { grid-template-columns:repeat(3,1fr); }
}

.status-stack { display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
.badge.regular { color:#2b9a77; background:#e5f5ee; }
.completion-banner { display:flex; align-items:center; gap:13px; margin:0 0 22px; padding:15px 17px; border:1px solid #d8f0e5; border-radius:8px; background:linear-gradient(120deg, #f4fcf8, #fbfffd); }
.completion-icon { display:grid; place-items:center; width:31px; height:31px; flex:0 0 31px; color:#fff; background:#2b9a77; border-radius:50%; font-size:16px; font-weight:800; }
.completion-banner strong, .completion-banner span { display:block; }
.completion-banner strong { color:#257b61; font-size:12px; }
.completion-banner span { margin-top:5px; color:#7aa995; font-size:9px; }

/* 员工和主管的一次性填写页 */
.review-page { min-height: 100vh; background: radial-gradient(circle at 18% 8%, #eeeaff 0, transparent 33%), #f7f7f9; color: var(--ink); }
.review-shell { width: min(720px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0 42px; }
.review-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; color: #4d4969; }
.review-brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; color: white; background: var(--purple); font-weight: 800; box-shadow: 0 6px 15px #6958d53d; }
.review-brand strong, .review-brand span { display: block; }
.review-brand strong { font-size: 14px; letter-spacing: -.3px; }
.review-brand div span { margin-top: 2px; color: #a3a1af; font-size: 9px; letter-spacing: .4px; }
.review-card { overflow: hidden; border: 1px solid #e7e5ef; border-radius: 15px; background: rgba(255,255,255,.96); box-shadow: 0 18px 50px #39334c12; }
.review-header { padding: 31px 38px 23px; background: linear-gradient(135deg, #fbfaff, #fff); }
.review-kicker { color: var(--purple); font: 9px "DM Mono", monospace; letter-spacing: 1.5px; }
.review-header h1 { margin: 10px 0 7px; font-size: 25px; letter-spacing: -.8px; }
.review-header p { margin: 0; color: #92919d; font-size: 11px; }
.review-person { display: flex; align-items: center; gap: 12px; padding: 20px 38px; }
.review-avatar { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 50%; color: #6659c8; background: #efedff; font-size: 13px; font-weight: 800; }
.review-person strong, .review-person span { display: block; }
.review-person strong { font-size: 14px; }
.review-person span { margin-top: 4px; color: #a1a0aa; font-size: 10px; }
.review-due { margin-left: auto; text-align: right; }
.review-due small, .review-due b { display: block; }
.review-due small { color: #aaa8b2; font-size: 9px; }
.review-due b { margin-top: 5px; color: #5d5794; font: 11px "DM Mono", monospace; }
.review-divider { height: 1px; margin: 0 38px; background: #f0eff3; }
.review-context { display: flex; align-items: center; gap: 9px; padding: 18px 38px 3px; color: #a19fa9; font-size: 10px; }
.review-context strong { color: #575563; }
.review-context-note { margin-left: auto; color: #b2a9e8; }
.review-form { padding: 0 38px 38px; }
.review-tip { margin: 18px 0 20px; padding: 11px 13px; color: #777384; border: 1px solid #eeeaff; border-radius: 8px; background: #faf9ff; font-size: 10px; line-height: 1.7; }
.review-field { display: block; margin-top: 17px; border: 0; padding: 0; }
.review-field > span, .review-field legend { display: block; margin-bottom: 8px; color: #5d5b67; font-size: 10px; font-weight: 700; }
.review-field textarea, .review-score input { width: 100%; outline: none; color: #4c4a57; border: 1px solid #e4e2e9; border-radius: 8px; background: #fff; font-size: 11px; transition: border .2s, box-shadow .2s; }
.review-field textarea { min-height: 86px; padding: 12px; resize: vertical; line-height: 1.7; }
.review-field textarea:focus, .review-score input:focus { border-color: #aaa0eb; box-shadow: 0 0 0 3px #eeeaff; }
.review-field textarea::placeholder { color: #b7b5bf; }
.review-choice { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.review-choice-wide { grid-template-columns: repeat(3, 1fr); }
.review-choice label { padding: 11px 5px; color: #888591; border: 1px solid #e5e3e9; border-radius: 8px; text-align: center; font-size: 10px; cursor: pointer; }
.review-choice input { margin-right: 4px; accent-color: var(--purple); }
.review-choice label:has(input:checked) { color: #6154c5; border-color: #b2a9ee; background: #f7f5ff; font-weight: 700; }
.review-score-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.review-score { position: relative; display: block; }
.review-score span { display: block; margin-bottom: 8px; color: #5d5b67; font-size: 10px; font-weight: 700; }
.review-score input { padding: 11px 25px 11px 10px; text-align: center; }
.review-score em { position: absolute; right: 9px; bottom: 11px; color: #aaa7b1; font-size: 9px; font-style: normal; }
.review-submit { width: 100%; height: 43px; margin-top: 27px; color: #fff; border: 0; border-radius: 8px; background: var(--purple); box-shadow: 0 7px 15px #6958d52b; font-size: 11px; font-weight: 700; transition: background .2s, transform .2s; }
.progress-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }.progress-section-heading h3 { margin: 0; }.progress-section-heading > span { color: #aaaab3; font-size: 9px; }.progress-checkin-list { display: grid; gap: 8px; }.progress-checkin-item { padding: 12px 13px; border: 1px solid #ececf0; border-radius: 7px; background: #fcfcfd; }.progress-checkin-top { display: flex; align-items: center; justify-content: space-between; }.progress-checkin-top strong { color: #5c5c68; font-size: 11px; }.progress-checkin-meta { margin-top: 5px; color: #a0a0aa; font-size: 9px; }.progress-checkin-badge { padding: 4px 7px; border-radius: 5px; color: #777784; background: #f0f0f3; font-size: 9px; font-weight: 700; }.progress-checkin-badge.due { color: #b27640; background: #fff2e4; }.progress-checkin-badge.submitted { color: #3d8b6f; background: #e7f5ef; }.progress-checkin-badge.upcoming { color: #5e54b8; background: #efedff; }.progress-checkin-badge.cancelled { color: #8c8c96; background: #f0f0f3; }.progress-checkin-item .submission-box { margin-top: 10px; }.progress-paused-note { margin-top: 10px; }
.review-submit:hover { background: var(--purple-dark); transform: translateY(-1px); }
.review-submit:disabled { opacity: .6; cursor: default; transform: none; }
.review-loading, .review-success, .review-error { padding: 70px 38px; text-align: center; }
.review-loading p { color: #93919d; font-size: 11px; }
.loading-orb { display: block; width: 25px; height: 25px; margin: 0 auto; border: 3px solid #e8e4ff; border-top-color: var(--purple); border-radius: 50%; animation: review-spin .8s linear infinite; }
.review-state-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 auto 17px; border-radius: 50%; color: #fff; background: #5caf8c; font-size: 23px; font-weight: 800; }
.review-error .review-state-icon { background: #d77b83; }
.review-success h1, .review-error h1 { margin: 0 0 10px; font-size: 21px; }
.review-success p, .review-error p { margin: 0 auto 11px; color: #72707c; font-size: 11px; line-height: 1.8; }
.review-success span, .review-error span { color: #aaa8b2; font-size: 10px; }
.review-error-inline { padding: 10px 12px; color: #a9525e; border: 1px solid #f2d9dc; border-radius: 7px; background: #fff8f8; font-size: 10px; }
.manager-materials { padding: 0 38px; }
.manager-materials-title { display:flex; justify-content:space-between; align-items:center; gap:12px; margin:20px 0 10px; }
.manager-materials-title h2 { margin:0; font-size:14px; }
.manager-materials-title span { color:#3d8b6f; font-size:9px; }
.manager-material-section { margin-top:12px; padding:14px; border:1px solid #ececf0; border-radius:8px; background:#fcfcfd; }
.manager-material-heading { display:flex; justify-content:space-between; gap:10px; align-items:center; }
.manager-material-heading h2, .manager-material-section > h2 { margin:0; color:#5d5b67; font-size:11px; }
.manager-material-heading span { color:#aaa8b2; font-size:9px; }
.manager-material-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px 16px; margin-top:12px; }
.manager-material-fields strong { display:block; color:#9a98a3; font-size:9px; }
.manager-material-fields p { margin:5px 0 0; color:#5f5d68; font-size:10px; line-height:1.7; white-space:normal; overflow-wrap:anywhere; }
.manager-material-empty { margin-top:9px; color:#a5a2ad; font-size:10px; }
.review-readonly-note { margin:20px 38px 35px; padding:12px 14px; color:#777384; border:1px solid #e5f1eb; border-radius:8px; background:#f8fcfa; font-size:10px; line-height:1.7; }
.review-footnote { margin: 16px 0 0; color: #aaa8b2; text-align: center; font-size: 9px; }
.review-task-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #ececf0; border-radius: 8px; background: #fcfcfd; }
.review-task-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.review-task-icon { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; border-radius: 8px; color: #6558c7; background: #efedff; font-size: 12px; font-weight: 800; }
.review-task-main strong, .review-task-main span { display: block; }
.review-task-main strong { color: #5d5b67; font-size: 10px; }
.review-task-main span { overflow: hidden; margin-top: 4px; color: #aaa8b2; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.review-task-status { color: #8b8896; font-size: 9px; white-space: nowrap; }
.review-task-status.active { color: #3d8b6f; }
.review-task-status.submitted { color: #6f6f7b; }
.review-task-status.cancelled { color: #b95d65; }
.approval-action-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 12px 14px; border: 1px solid #ececf0; border-radius: 8px; background: #fcfcfd; }
.approval-action-row strong, .approval-action-row span { display: block; font-size: 10px; }
.approval-action-row strong { color: #5f52bf; }
.approval-action-row span { margin-top: 5px; color: #a0a0aa; }
.approval-action-row .button { flex: 0 0 auto; white-space: nowrap; }
.approval-action-row .button:disabled { color: #8e8e98; background: #f0f0f3; border-color: #f0f0f3; cursor: default; }
.approval-pending-label { color: #b27640; padding: 5px 8px; border-radius: 5px; background: #fff2e4; font-size: 9px; font-weight: 700; white-space: nowrap; }
.approval-decision { margin-top: 12px; padding: 14px; border: 1px solid #ececf0; border-radius: 8px; background: #fcfcfd; }.approval-decision label { display: block; margin-bottom: 7px; color: #676772; font-size: 10px; font-weight: 700; }.approval-decision textarea { width: 100%; padding: 9px 10px; outline: none; color: #50505a; border: 1px solid #e2e2e8; border-radius: 6px; background: #fff; font-size: 10px; resize: vertical; }.approval-decision textarea:focus { border-color: #a69ce9; box-shadow: 0 0 0 3px #eeeaff; }.approval-decision-actions { display: flex; gap: 8px; margin-top: 10px; }.approval-decision-actions .button { flex: 1; justify-content: center; }.button-danger { color: #b6535c; border-color: #f1d8db; background: #fff8f8; }.button-danger:hover { background: #fff0f1; }

/* HR 登录页 */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 15% 12%, #eeeaff 0, transparent 35%), var(--canvas); }
.login-shell { width: min(100%, 420px); }
.login-card { padding: 35px 36px 30px; border: 1px solid #e6e3f0; border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 20px 55px #39334c14; }
.login-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 38px; color: #4d4969; }
.login-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: white; background: var(--purple); font-weight: 800; box-shadow: 0 6px 15px #6958d53d; }
.login-brand strong, .login-brand span { display: block; }.login-brand strong { font-size: 15px; }.login-brand span { margin-top: 3px; color: #a3a1af; font-size: 9px; }
.login-kicker { color: var(--purple); font: 9px "DM Mono", monospace; letter-spacing: 1.4px; }.login-card h1 { margin: 10px 0 8px; font-size: 24px; letter-spacing: -.7px; }.login-intro { margin: 0 0 25px; color: #92919d; font-size: 11px; line-height: 1.7; }
.login-field { display: block; margin-top: 15px; }.login-field span { display: block; margin-bottom: 7px; color: #676772; font-size: 10px; font-weight: 700; }.login-field input { width: 100%; height: 40px; padding: 0 11px; outline: none; color: var(--ink); border: 1px solid #e2e2e8; border-radius: 7px; background: #fff; font-size: 11px; }.login-field input:focus { border-color: #a69ce9; box-shadow: 0 0 0 3px #eeeaff; }.login-submit { width: 100%; justify-content: center; margin-top: 21px; }.login-error { margin-top: 13px; padding: 9px 11px; color: #a9525e; border: 1px solid #f2d9dc; border-radius: 7px; background: #fff8f8; font-size: 10px; line-height: 1.6; }.login-footnote { margin: 22px 0 0; color: #aaa8b2; text-align: center; font-size: 9px; line-height: 1.6; }.logout-button { margin-left: auto; padding: 4px 0 4px 8px; color: #9a9aa5; border: 0; background: transparent; font-size: 9px; }.logout-button:hover { color: #fff; }
@keyframes review-spin { to { transform: rotate(360deg); } }
@media (max-width: 580px) { .review-shell { width: min(100% - 20px, 720px); padding-top: 20px; }.review-header, .review-person, .review-form, .manager-materials { padding-left: 20px; padding-right: 20px; }.review-divider { margin: 0 20px; }.review-context { padding-left: 20px; padding-right: 20px; }.review-person { align-items: flex-start; }.review-due { padding-top: 3px; }.review-score-grid { grid-template-columns: repeat(2, 1fr); }.review-choice { grid-template-columns: repeat(2, 1fr); }.review-choice-wide { grid-template-columns: 1fr; }.manager-material-fields { grid-template-columns: 1fr; }.review-readonly-note { margin-left:20px; margin-right:20px; }.review-loading, .review-success, .review-error { padding-left: 20px; padding-right: 20px; } }

/* 动态流程翻页 */
.pagination { align-items: center; }
.pagination button:disabled { color: #d2d2d8; background: #fafafd; cursor: default; }
.page-ellipsis { width: 14px; color: #b1b1ba; text-align: center; }

.login-divider { display: flex; align-items: center; gap: 12px; margin-top: 23px; color: #aaa8b2; font-size: 9px; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: #ecebf0; }
.login-dingtalk { text-decoration: none; color: #287bd1; border-color: #cfe2f7; background: #f7fbff; }
.login-dingtalk:hover { background: #eef7ff; }
