.page-title .operation-employee-button { margin-left: auto; }
.page-title .operation-employee-button + .primary-button { margin-left: 9px; }
.operation-employee-modal .modal-head { align-items: flex-start; }
.operation-employee-modal .modal-subtitle { margin: 6px 0 0; color: #7b8587; font-size: 12px; }
.operation-name-hint { color: #8b9596; font-size: 11px; font-weight: 400; line-height: 1.5; }
.existing-operation-steps { display: grid; gap: 8px; padding: 11px 12px; border: 1px solid #e1e7e4; border-radius: 7px; background: #fafcfb; }
.existing-operation-steps > strong { color: #667174; font-size: 12px; }
.existing-operation-steps > div { display: flex; flex-wrap: wrap; gap: 6px; }
.existing-operation-steps span { padding: 4px 7px; border-radius: 5px; color: #58705b; background: #eef6eb; font-size: 11px; }
.process-selection-grid .admin-no-processing { grid-column: 1 / -1; }
.process-selection-grid [data-admin-operation-step] { border-color: #b9dfae; background: #f8fcf6; }
.admin-process-group { grid-column: 1 / -1; display: grid; gap: 8px; padding: 11px; border: 1px solid #dce6df; border-radius: 7px; background: #f9fbfa; }
.admin-process-group header { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.admin-process-group header strong { color: #34423b; font-size: 12px; }
.admin-process-group header button { min-height: 29px; padding: 0 9px; border: 1px solid #b9d9b1; border-radius: 5px; color: #348b26; background: #f2f9ef; font-size: 10px; }
.admin-process-group > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.admin-process-group label { min-width: 0; }
.operation-employee-modal select { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid #d9e1dd; border-radius: 6px; background: #fff; }
.operation-employee-modal input { width: 100%; min-height: 42px; padding: 0 10px; border: 1px solid #d9e1dd; border-radius: 6px; background: #fff; color: #202623; }
.process-selection-field { text-align: left; }
.process-selection-title { justify-content: flex-start !important; gap: 8px; }
.process-selection-field > .field-hint { text-align: left; }
.operation-employee-toast { position: fixed; z-index: 80; left: 50%; bottom: 28px; transform: translateX(-50%); padding: 11px 16px; border: 1px solid #4c8f35; border-radius: 7px; color: #eaffdf; background: #173020; box-shadow: 0 8px 25px #0000001f; font-size: 13px; }
.operation-employee-toast.error { border-color: #be6a63; color: #fff4f2; background: #6e2925; }
.pending-review-banner { min-height: 92px; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 15px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid #e4a938; border-left: 5px solid #d98f14; border-radius: 7px; background: #fffaf0; box-shadow: 0 9px 24px #a76b1617; }
.pending-review-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #d98f14; font-size: 25px; font-weight: 900; }
.pending-review-copy { min-width: 0; display: grid; gap: 3px; }
.pending-review-copy span { color: #9c6817; font-size: 10px; font-weight: 900; }
.pending-review-copy strong { color: #3b2c13; font-size: 16px; }
.pending-review-copy p { margin: 0; overflow: hidden; color: #826d4b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.pending-review-banner > button { min-width: 104px; min-height: 40px; padding: 0 15px; border: 1px solid #b8730b; border-radius: 6px; color: #fff; background: #c77e0f; font-size: 12px; font-weight: 800; }
.pending-review-banner > button:hover { background: #ad6908; }
@media (max-width: 760px) { .pending-review-banner { grid-template-columns: 42px 1fr; } .pending-review-mark { width: 38px; height: 38px; } .pending-review-banner > button { grid-column: 1 / -1; width: 100%; } }
.accept-overdue-banner { min-height: 94px; display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; align-items: center; gap: 15px; margin: 0 0 18px; padding: 16px 18px; border: 1px solid #e5968f; border-left: 5px solid #d23e35; border-radius: 7px; background: #fff5f4; box-shadow: 0 9px 24px #a8322a17; }
.accept-overdue-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #d23e35; font-size: 25px; font-weight: 900; animation: admin-overdue-pulse 1.4s ease-in-out infinite; }
.accept-overdue-copy { min-width: 0; display: grid; gap: 3px; }
.accept-overdue-copy span { color: #ac3029; font-size: 10px; font-weight: 900; }
.accept-overdue-copy strong { color: #48201d; font-size: 16px; }
.accept-overdue-copy p { margin: 0; overflow: hidden; color: #8b514d; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.accept-overdue-banner > button { min-width: 104px; min-height: 40px; padding: 0 15px; border: 1px solid #b32f28; border-radius: 6px; color: #fff; background: #cf3e35; font-size: 12px; font-weight: 800; }
.accept-overdue-banner > button:hover { background: #b52f28; }
@keyframes admin-overdue-pulse { 50% { box-shadow: 0 0 0 7px #d23e3520; } }
@media (max-width: 760px) { .accept-overdue-banner { grid-template-columns: 42px 1fr; } .accept-overdue-mark { width: 38px; height: 38px; } .accept-overdue-banner > button { grid-column: 1 / -1; width: 100%; } }
.order-review-section { border-color: #cfe3c8 !important; background: #fbfef9 !important; }
.order-review-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.order-review-head span { color: #5a9f43; font-size: 9px; font-weight: 800; }
.order-review-head h3 { margin: 3px 0 0; color: #203128; font-size: 16px; }
.order-review-head b { padding: 5px 8px; border: 1px solid #d4e9cc; border-radius: 6px; color: #4c9235; background: #eff9eb; font-size: 11px; }
.order-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.order-review-grid > div { min-width: 0; display: grid; gap: 4px; padding: 9px 10px; border: 1px solid #e1e9de; border-radius: 6px; background: #fff; }
.order-review-grid span, .order-review-note > span, .order-review-files > span { color: #849087; font-size: 10px; }
.order-review-grid strong { overflow-wrap: anywhere; color: #27342e; font-size: 12px; }
.order-review-note, .order-review-files { margin-top: 9px; padding: 10px; border: 1px solid #e1e9de; border-radius: 6px; background: #fff; }
.order-review-note p, .order-review-files p { margin: 5px 0 0; color: #4e5b54; font-size: 12px; line-height: 1.55; }
.order-review-files > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.order-review-files a, .order-review-files i { max-width: 100%; overflow: hidden; padding: 5px 7px; border-radius: 5px; color: #397c2d; background: #eff8eb; font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.order-review-actions { display: grid; grid-template-columns: 1fr 1.45fr; gap: 8px; margin-top: 12px; }
.order-review-actions button { min-height: 40px; border: 1px solid #d7e2d3; border-radius: 6px; color: #6b756f; background: #fff; font-size: 12px; font-weight: 800; }
.order-review-actions [data-review-delete] { color: #b4524a; border-color: #eccfcb; background: #fffafa; }
.order-review-actions [data-review-approve] { color: #fff; border-color: #3b9730; background: #3f9f32; }
.order-review-actions [data-workflow-review-approve] { grid-column: 1 / -1; color: #fff; border-color: #3b9730; background: #3f9f32; }
.order-review-actions button:disabled { cursor: default; opacity: .6; }
.completion-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.completion-photo-card { min-width: 0; overflow: hidden; border: 1px solid #dfe8e2; border-radius: 7px; background: #f9fbfa; }
.completion-photo-card > a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #edf2ef; }
.completion-photo-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.completion-photo-card > div { display: grid; gap: 3px; padding: 9px 10px 10px; }
.completion-photo-card strong { overflow: hidden; color: #25312b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.completion-photo-card span, .completion-photo-card small { overflow: hidden; color: #7c8882; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.completion-photo-placeholder { min-height: 116px; display: grid !important; place-items: center; padding: 12px !important; color: #7c8882; background: #edf2ef; text-align: center; }
@media (max-width: 900px) { .completion-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-sidebar-password-button { width: calc(100% - 28px); min-height: 38px; display: flex; align-items: center; justify-content: center; gap: 8px; margin: auto 14px 8px; border: 1px solid #354241; border-radius: 7px; color: #d7e1de; background: #142020; font-size: 12px; font-weight: 700; }
.admin-sidebar-password-button:hover { color: #fff; border-color: #647473; background: #1b2928; }
.admin-sidebar-password-button span { color: #7acb58; font-size: 8px; }
.side-brand .admin-sidebar-brand-mark { display: block; padding: 0; overflow: hidden; background: transparent; box-shadow: none; }
.side-brand .admin-sidebar-brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-material-template-button { margin-bottom: 7px; }
.admin-material-template-button span { font-size: 15px; }

.admin-material-template-backdrop { z-index: 1400; }
.admin-material-template-modal { width: min(920px, calc(100vw - 36px)); max-height: calc(100vh - 40px); overflow: hidden; border: 1px solid #dfe7e3; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px #15231f38; }
.admin-material-template-modal > header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #e5ebe8; }
.admin-material-template-modal > header span { color: #4d9e36; font-size: 9px; font-weight: 800; }
.admin-material-template-modal > header h2 { margin: 3px 0; color: #1d2824; font-size: 21px; }
.admin-material-template-modal > header p { margin: 0; color: #7a8580; font-size: 11px; }
.admin-material-template-modal > header button { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #dfe6e2; border-radius: 7px; color: #67736e; background: #fff; font-size: 23px; }
.admin-material-template-layout { min-height: 430px; display: grid; grid-template-columns: 210px minmax(0, 1fr); }
.admin-material-template-layout > aside { padding: 14px; border-right: 1px solid #e4ebe7; background: #f7faf8; overflow-y: auto; }
.admin-material-template-layout > aside > button { width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid #8ed578; border-radius: 7px; color: #338e1f; background: #f0faec; font-weight: 700; }
.admin-material-template-layout > aside > div { display: grid; gap: 7px; margin-top: 12px; }
.admin-material-template-layout > aside > div > button { min-height: 55px; display: grid; gap: 3px; padding: 9px 10px; border: 1px solid #e0e8e3; border-radius: 7px; text-align: left; color: #39443f; background: #fff; }
.admin-material-template-layout > aside > div > button.active { border-color: #7acb61; background: #eff9eb; box-shadow: 0 0 0 2px #65bf4620; }
.admin-material-template-layout > aside strong { font-size: 12px; }
.admin-material-template-layout > aside span, .admin-material-template-layout > aside p { margin: 0; color: #8a948f; font-size: 10px; }
.admin-material-template-layout > form { min-width: 0; display: flex; flex-direction: column; padding: 18px 20px; overflow-y: auto; }
.admin-material-template-name { display: grid; gap: 7px; color: #53605b; font-size: 12px; font-weight: 700; }
.admin-material-template-name input { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #dce5e1; border-radius: 7px; outline: 0; }
.admin-material-template-name input:focus, .admin-material-template-row input:focus { border-color: #72c957; box-shadow: 0 0 0 3px #5dbf3d1f; }
.admin-material-template-head, .admin-material-template-row { display: grid; grid-template-columns: minmax(125px, 1.4fr) minmax(110px, 1.2fr) 90px 75px 32px; gap: 7px; align-items: center; }
.admin-material-template-head { margin: 17px 0 6px; padding: 0 3px; color: #89938e; font-size: 10px; text-align: center; }
.admin-material-template-row + .admin-material-template-row { margin-top: 7px; }
.admin-material-template-row input { width: 100%; min-width: 0; height: 38px; padding: 0 9px; border: 1px solid #dce5e1; border-radius: 7px; outline: 0; color: #2d3833; }
.admin-material-template-row button { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #efd3cf; border-radius: 7px; color: #ca564d; background: #fff8f7; font-size: 19px; }
.admin-material-template-tools { min-height: 44px; display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.admin-material-template-tools button { min-height: 34px; padding: 0 12px; border: 1px solid #c7e5bc; border-radius: 7px; color: #2d9e12; background: #f3faef; }
.admin-material-template-tools p { margin: 0; color: #c95047; font-size: 11px; }
.admin-material-template-modal footer { display: grid; grid-template-columns: auto 1fr auto auto; gap: 9px; margin-top: auto; padding-top: 17px; border-top: 1px solid #e8edea; }
.admin-material-template-modal footer button { min-height: 40px; padding: 0 17px; border-radius: 7px; }
.admin-material-template-modal .danger-button { border: 1px solid #ebc7c3; color: #bf4d44; background: #fff6f5; }
@media (max-width: 720px) {
  .admin-material-template-layout { grid-template-columns: 1fr; }
  .admin-material-template-layout > aside { max-height: 150px; border-right: 0; border-bottom: 1px solid #e4ebe7; }
  .admin-material-template-head, .admin-material-template-row { min-width: 540px; }
  [data-material-template-rows] { overflow-x: auto; }
}
.admin-password-backdrop { z-index: 90; }
.admin-password-modal { width: min(420px, calc(100vw - 32px)); overflow: hidden; border: 1px solid #dfe7e3; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px #15231f38; }
.admin-password-modal header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 20px; border-bottom: 1px solid #e7ece9; }
.admin-password-modal header span { color: #4d9e36; font-size: 10px; font-weight: 800; }
.admin-password-modal h2 { margin: 4px 0 0; color: #1d2824; font-size: 21px; }
.admin-password-modal header button { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #dfe6e2; border-radius: 7px; color: #67736e; background: #fff; font-size: 23px; }
.admin-password-modal form { display: grid; gap: 14px; padding: 20px; }
.admin-password-modal label { display: grid; gap: 7px; color: #53605b; font-size: 12px; font-weight: 700; }
.admin-password-modal input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid #dce5e1; border-radius: 7px; outline: 0; color: #29332f; background: #fff; }
.admin-password-modal input:focus { border-color: #72c957; box-shadow: 0 0 0 3px #5dbf3d1f; }
.admin-password-modal form > p { min-height: 18px; margin: -2px 0 0; color: #c95047; font-size: 12px; }
.admin-password-modal form > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.admin-password-modal form > div button { min-height: 42px; border-radius: 7px; }

.admin-order-search-panel { display: grid; grid-template-columns: minmax(220px, 1.2fr) minmax(190px, .8fr) auto; align-items: end; gap: 10px; margin-bottom: 12px; padding: 12px 14px; border: 1px solid #dde6e1; border-radius: 7px; background: #f8faf9; }
.admin-order-search-panel label { min-width: 0; display: grid; gap: 6px; color: #64716b; font-size: 10px; font-weight: 800; }
.admin-order-search-panel input { width: 100%; min-width: 0; height: 39px; padding: 0 11px; border: 1px solid #d7e2dc; border-radius: 6px; outline: 0; color: #26322d; background: #fff; font-size: 12px; }
.admin-order-search-panel input:focus { border-color: #68be4e; box-shadow: 0 0 0 3px #62b94718; }
.admin-order-search-panel button { min-width: 68px; height: 39px; padding: 0 13px; border: 1px solid #d6e0db; border-radius: 6px; color: #65716b; background: #fff; font-size: 12px; font-weight: 700; }
.admin-order-search-panel .admin-order-refresh-button { color: #fff; border-color: #4e9f3a; background: #4e9f3a; }
.admin-order-search-panel .admin-order-refresh-button:hover:not(:disabled) { border-color: #3e872e; background: #3e872e; }
.admin-order-search-panel .admin-order-refresh-button:disabled { cursor: default; opacity: .65; }
.admin-order-price-field { align-self: start; }
.order-price-detail > strong { display: block; margin-top: 8px; color: #248b24; font-size: 20px; overflow-wrap: anywhere; }
.employee-order-history-button { min-height: 30px; margin-right: 6px; padding: 0 9px; border: 1px solid #bfdcb6; border-radius: 6px; color: #388b2c; background: #f4faef; font-size: 11px; font-weight: 700; white-space: nowrap; }
.employee-edit-button { min-height: 30px; margin-right: 6px; padding: 0 10px; border: 1px solid #cbd8e6; border-radius: 6px; color: #35698f; background: #f5f9fd; font-size: 11px; font-weight: 700; white-space: nowrap; }
.employee-edit-button:disabled { opacity: .55; }
.employee-edit-backdrop { z-index: 1500; }
.employee-edit-modal { width: min(570px, calc(100vw - 34px)); max-height: calc(100vh - 36px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce6e0; border-radius: 8px; background: #fff; box-shadow: 0 30px 90px #14221d40; }
.employee-edit-modal > header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #e4ebe7; }
.employee-edit-modal > header span { color: #4c9d36; font-size: 9px; font-weight: 900; }
.employee-edit-modal > header h2 { margin: 3px 0; color: #1d2923; font-size: 21px; }
.employee-edit-modal > header p { margin: 0; color: #78847e; font-size: 11px; }
.employee-edit-modal > header button { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #dce5e0; border-radius: 7px; color: #68756f; background: #fff; font-size: 23px; }
.employee-edit-modal form { display: grid; gap: 13px; padding: 18px 20px 20px; overflow-y: auto; }
.employee-edit-modal form > label { display: grid; gap: 6px; color: #53615a; font-size: 11px; font-weight: 800; }
.employee-edit-modal input, .employee-edit-modal select { width: 100%; min-height: 42px; padding: 0 11px; border: 1px solid #d9e3de; border-radius: 7px; outline: 0; color: #29362f; background: #fff; }
.employee-edit-modal input:focus, .employee-edit-modal select:focus { border-color: #72c957; box-shadow: 0 0 0 3px #5dbf3d1f; }
.employee-edit-modal label small, .employee-edit-part-time small { color: #8a958f; font-size: 9px; font-weight: 500; }
.employee-edit-part-time { display: grid; gap: 9px; }
.employee-edit-part-time > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #53615a; font-size: 11px; }
.employee-edit-part-time [data-employee-edit-positions] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.employee-edit-part-time label { min-width: 0; min-height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 9px; border: 1px solid #dce5e0; border-radius: 7px; color: #65716b; background: #f8faf9; font-size: 10px; cursor: pointer; }
.employee-edit-part-time label.selected { color: #328a24; border-color: #91ce7e; background: #eff9eb; }
.employee-edit-part-time input { width: 14px; min-height: 14px; padding: 0; accent-color: #45a432; }
.employee-edit-part-time span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.employee-edit-modal [data-employee-edit-error] { min-height: 17px; margin: 0; color: #c95047; font-size: 11px; }
.employee-edit-modal footer { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; }
.employee-edit-modal footer button { min-height: 42px; border-radius: 7px; }
@media (max-width: 560px) { .employee-edit-part-time [data-employee-edit-positions] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.employee-order-history-backdrop { z-index: 1450; }
.employee-order-history-modal { width: min(920px, calc(100vw - 36px)); max-height: calc(100vh - 40px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dfe7e3; border-radius: 8px; background: #fff; box-shadow: 0 28px 80px #15231f38; }
.employee-order-history-modal > header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #e5ebe8; }
.employee-order-history-modal > header span { color: #4d9e36; font-size: 9px; font-weight: 800; }
.employee-order-history-modal > header h2 { margin: 3px 0; color: #1d2824; font-size: 21px; }
.employee-order-history-modal > header p { margin: 0; color: #7a8580; font-size: 11px; }
.employee-order-history-modal > header button { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #dfe6e2; border-radius: 7px; color: #67736e; background: #fff; font-size: 23px; }
.employee-order-history-body { min-height: 300px; padding: 18px 20px 22px; overflow-y: auto; background: #f8faf9; }
.employee-order-history-loading, .employee-order-history-empty { min-height: 260px; display: grid; place-items: center; color: #7c8882; font-size: 13px; }
.employee-order-history-empty.error { color: #c95047; }
.employee-order-history-summary { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; padding: 11px 14px; border: 1px solid #dfe8e2; border-radius: 7px; background: #fff; }
.employee-order-history-summary strong { color: #319a26; font-size: 24px; }
.employee-order-history-summary span { color: #52605a; font-size: 12px; font-weight: 700; }
.employee-order-history-summary p { margin: 0 0 0 auto; color: #84908a; font-size: 11px; }
.employee-order-history-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.employee-order-history-list article { min-width: 0; display: grid; gap: 8px; padding: 13px 14px; border: 1px solid #dfe8e2; border-radius: 7px; background: #fff; }
.employee-order-history-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.employee-order-history-title strong { color: #25332c; font-size: 13px; }
.employee-order-history-title span { padding: 4px 6px; border-radius: 5px; color: #a86819; background: #fff5e4; font-size: 9px; font-weight: 800; }
.employee-order-history-title span.done { color: #36802d; background: #edf8e9; }
.employee-order-history-list h3 { margin: 0; overflow: hidden; color: #3f4d46; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.employee-order-history-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
.employee-order-history-meta span { min-width: 0; overflow-wrap: anywhere; color: #738079; font-size: 10px; line-height: 1.45; }
.employee-order-history-list small { color: #9aa39f; font-size: 9px; }
@media (max-width: 760px) { .admin-order-search-panel { grid-template-columns: 1fr; } .admin-order-search-panel button { width: 100%; } .employee-order-history-list { grid-template-columns: 1fr; } .employee-order-history-summary { align-items: flex-start; flex-wrap: wrap; } .employee-order-history-summary p { width: 100%; margin-left: 0; } }

.operation-sort-backdrop { z-index: 1470; }
.operation-sort-modal { width: min(660px, calc(100vw - 34px)); height: min(900px, calc(100vh - 36px)); min-height: 0; display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dce6e0; border-radius: 8px; background: #fff; box-shadow: 0 30px 90px #14221d40; }
.operation-sort-modal > header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 20px; border-bottom: 1px solid #e4ebe7; }
.operation-sort-modal > header span { color: #4c9d36; font-size: 9px; font-weight: 900; }
.operation-sort-modal > header h2 { margin: 3px 0; color: #1d2923; font-size: 21px; }
.operation-sort-modal > header p { margin: 0; color: #78847e; font-size: 11px; }
.operation-sort-modal > header button { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #dce5e0; border-radius: 7px; color: #68756f; background: #fff; font-size: 23px; }
.operation-sort-fixed { display: grid; grid-template-columns: 74px minmax(0, 1fr); align-items: center; gap: 10px; margin: 14px 20px 8px; padding: 10px 12px; border: 1px solid #dfe8e2; border-radius: 7px; background: #f6f9f7; }
.operation-sort-fixed.tail { margin-top: 8px; margin-bottom: 4px; }
.operation-sort-fixed span { color: #849089; font-size: 10px; font-weight: 800; }
.operation-sort-fixed strong { color: #53615a; font-size: 11px; }
.operation-sort-list { flex: 1 1 auto; min-height: 0; display: grid; align-content: start; grid-auto-rows: max-content; gap: 7px; padding: 5px 20px; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.operation-sort-loading, .operation-sort-empty { min-height: 140px; display: grid; place-items: center; color: #7d8983; font-size: 12px; }
.operation-sort-empty.error { color: #c95047; }
.operation-sort-row { min-height: 58px; height: max-content; align-self: start; display: grid; grid-template-columns: 24px 28px minmax(0, 1fr) 34px 34px; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid #dce6e0; border-radius: 7px; background: #fff; transition: border-color .15s, box-shadow .15s, opacity .15s; }
.operation-sort-row:hover { border-color: #9fd48e; box-shadow: 0 5px 14px #4b8e3710; }
.operation-sort-row.dragging { opacity: .46; border-color: #54b438; }
.operation-sort-grip { cursor: grab; color: #9ba69f; font-size: 18px; letter-spacing: -4px; user-select: none; }
.operation-sort-row > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 6px; color: #398e28; background: #edf8e8; font-size: 11px; }
.operation-sort-row > div { min-width: 0; display: grid; gap: 3px; }
.operation-sort-row strong { overflow: hidden; color: #2b3932; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.operation-sort-row small { overflow: hidden; color: #89958f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.operation-sort-row button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #d8e3dd; border-radius: 6px; color: #4b5b53; background: #f8faf9; font-size: 16px; font-weight: 800; }
.operation-sort-row button:hover:not(:disabled) { color: #318b21; border-color: #97d183; background: #f1faed; }
.operation-sort-row button:disabled { cursor: default; opacity: .34; }
.operation-sort-message { min-height: 18px; margin: 5px 20px 0; color: #c95047; font-size: 11px; }
.operation-sort-modal > footer { display: grid; grid-template-columns: 1fr 1.35fr; gap: 9px; padding: 13px 20px 18px; }
.operation-sort-modal > footer button { min-height: 42px; border-radius: 7px; }
@media (max-width: 560px) { .operation-sort-modal > header { padding: 14px 16px; } .operation-sort-fixed { grid-template-columns: 1fr; gap: 4px; margin-left: 16px; margin-right: 16px; } .operation-sort-list { padding-left: 16px; padding-right: 16px; } .operation-sort-row { grid-template-columns: 18px 25px minmax(0, 1fr) 32px 32px; gap: 6px; padding-left: 7px; padding-right: 7px; } }
.operation-catalog-modal { width: min(860px, calc(100vw - 34px)); }
.operation-catalog-create { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.2fr) auto; gap: 8px; padding: 14px 20px 7px; }
.operation-catalog-create input, .operation-catalog-group input { min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #d8e3dd; border-radius: 6px; outline: 0; color: #2d3933; background: #fff; }
.operation-catalog-create input:focus, .operation-catalog-group input:focus { border-color: #6bc34f; box-shadow: 0 0 0 3px #5eb84218; }
.operation-catalog-create button { min-height: 38px; padding: 0 13px; border: 1px solid #84cc6e; border-radius: 6px; color: #fff; background: #459f32; font-size: 11px; font-weight: 800; }
.operation-catalog-group { display: block; padding: 9px 10px 10px; }
.operation-catalog-group > header { display: grid; grid-template-columns: 24px 28px minmax(140px, 1fr) repeat(5, 32px); align-items: center; gap: 7px; }
.operation-catalog-group > header > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 6px; color: #398e28; background: #edf8e8; font-size: 11px; }
.operation-catalog-group button { width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border: 1px solid #d8e3dd; border-radius: 6px; color: #4b5b53; background: #f8faf9; font-size: 15px; font-weight: 800; }
.operation-catalog-group button.danger { color: #bd5148; border-color: #edcbc7; background: #fff7f6; }
.operation-catalog-steps { display: grid; gap: 6px; margin: 8px 0 0 59px; padding: 8px; border: 1px solid #e5ebe7; border-radius: 6px; background: #f8faf9; }
.operation-catalog-steps > div { display: grid; grid-template-columns: 38px minmax(120px, 1fr) 32px 32px; align-items: center; gap: 7px; }
.operation-catalog-steps span { color: #89948e; font-size: 9px; font-weight: 800; text-align: center; }
.operation-catalog-steps p { margin: 3px; color: #8b958f; font-size: 10px; }
.operation-catalog-group [data-operation-new-step] { display: grid; grid-template-columns: minmax(140px, 1fr) 58px 58px; gap: 7px; margin: 8px 0 0 59px; }
.operation-catalog-group [data-operation-new-step][hidden] { display: none; }
.operation-catalog-group [data-operation-new-step] button { width: auto; padding: 0 9px; font-size: 10px; }
@media (max-width: 720px) { .operation-catalog-create { grid-template-columns: 1fr; } .operation-catalog-group > header { grid-template-columns: 20px 26px minmax(120px, 1fr) repeat(2, 31px); } .operation-catalog-group [data-operation-move], .operation-catalog-group [data-operation-group-delete] { display: none; } .operation-catalog-steps, .operation-catalog-group [data-operation-new-step] { margin-left: 0; } }
.cooperation-record-list { display: grid; gap: 8px; }
.cooperation-record-list article { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 9px; padding: 10px; border: 1px solid #dfe8e2; border-radius: 7px; background: #f9fbfa; }
.cooperation-record-list article > b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 6px; color: #368e27; background: #eaf7e5; font-size: 10px; }
.cooperation-record-list article > div { min-width: 0; display: grid; gap: 4px; }
.cooperation-record-list strong { color: #29362f; font-size: 11px; }
.cooperation-record-list p { margin: 0; color: #68756e; font-size: 10px; line-height: 1.45; }
.cooperation-record-list em { color: #318e25; font-style: normal; font-weight: 800; }
.cooperation-record-list small { color: #919b96; font-size: 9px; }
.attendance-range-archive-card { margin-top: 16px; overflow: hidden; }
.attendance-range-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-bottom: 1px solid #e3eae6; }
.attendance-range-head h2 { margin: 4px 0; color: #24312b; font-size: 19px; }
.attendance-range-head p { margin: 0; color: #7d8983; font-size: 11px; }
.attendance-range-head button { min-height: 36px; padding: 0 13px; border: 1px solid #c8dfc1; border-radius: 6px; color: #378d29; background: #f3faef; font-size: 11px; font-weight: 800; }
.attendance-range-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 14px 20px 0; }
.attendance-range-summary > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1px solid #e0e8e3; border-radius: 7px; background: #f9fbfa; }
.attendance-range-summary span { color: #738079; font-size: 11px; }
.attendance-range-summary strong { color: #2f3d35; font-size: 20px; }
.attendance-range-toolbar { min-height: 65px; display: flex; align-items: end; gap: 12px; padding: 12px 20px; }
.attendance-range-toolbar label { display: grid; gap: 5px; color: #68756e; font-size: 10px; font-weight: 800; }
.attendance-range-toolbar select { min-width: 170px; height: 36px; padding: 0 9px; border: 1px solid #d8e2dc; border-radius: 6px; color: #34423b; background: #fff; }
.attendance-range-toolbar > span { margin: 0 0 9px auto; color: #87918c; font-size: 10px; }
.attendance-range-table-wrap { position: relative; overflow-x: auto; border-top: 1px solid #e4ebe7; }
.attendance-range-table-wrap table { width: 100%; min-width: 1050px; border-collapse: collapse; }
.attendance-range-table-wrap th { padding: 10px 12px; color: #7c8882; background: #f6f8f7; font-size: 10px; text-align: left; white-space: nowrap; }
.attendance-range-table-wrap td { padding: 11px 12px; border-top: 1px solid #e8eeea; color: #53615a; font-size: 10px; vertical-align: top; }
.attendance-range-table-wrap td:first-child { min-width: 145px; }
.attendance-range-table-wrap td strong, .attendance-range-table-wrap td small { display: block; }
.attendance-range-table-wrap td strong { color: #29372f; font-size: 11px; }
.attendance-range-table-wrap td small { margin-top: 3px; color: #89938e; font-size: 9px; }
.attendance-result { display: inline-flex; align-items: center; min-height: 24px; padding: 0 7px; border-radius: 5px; font-weight: 800; }
.attendance-result.on-duty { color: #2f8c28; background: #ecf8e9; }
.attendance-result.resting { color: #bd5147; background: #fff0ee; }
.attendance-result.failed { color: #b36b19; background: #fff5e5; }
.attendance-result.missing { color: #6e7973; background: #eef1ef; }
.attendance-range-empty { min-height: 130px; display: grid; place-items: center; color: #89938e; font-size: 12px; }
.attendance-range-empty.error { color: #c95047; }
@media (max-width: 760px) { .attendance-range-head { align-items: flex-start; } .attendance-range-summary { grid-template-columns: repeat(2, 1fr); } .attendance-range-toolbar { align-items: stretch; flex-direction: column; } .attendance-range-toolbar select { width: 100%; } .attendance-range-toolbar > span { margin: 0; } }
.admin-accept-setting-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 20px 8px; }
.admin-accept-setting-grid label, .admin-repeat-minutes { display: grid; gap: 7px; color: #52605a; font-size: 11px; font-weight: 800; }
.admin-accept-setting-grid input, .admin-repeat-minutes input { min-width: 0; height: 40px; padding: 0 11px; border: 1px solid #d7e1db; border-radius: 6px; color: #26342d; background: #fff; outline: 0; }
.admin-accept-setting-grid input:focus, .admin-repeat-minutes input:focus { border-color: #6abd50; box-shadow: 0 0 0 3px #64b94918; }
.admin-repeat-setting { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 8px 20px; padding: 10px 13px; border: 1px solid #dfe7e2; border-radius: 7px; background: #f8faf9; }
.admin-repeat-setting span { display: grid; gap: 3px; }
.admin-repeat-setting strong { color: #34423b; font-size: 11px; }
.admin-repeat-setting small { color: #87928c; font-size: 9px; }
.admin-repeat-setting input { width: 18px; height: 18px; flex: 0 0 auto; accent-color: #48a632; }
.admin-repeat-minutes { margin: 10px 20px; }
.admin-repeat-minutes[hidden] { display: none; }
.admin-accept-setting-message { min-height: 18px; margin: 4px 20px 0; color: #378e2a; font-size: 10px; }
.admin-accept-setting-message.error { color: #c95047; }
@media (max-width: 640px) { .admin-accept-setting-grid { grid-template-columns: 1fr; } }
.admin-location-reader { display: flex; align-items: center; gap: 12px; margin: 0 20px 14px; padding: 11px 12px; border: 1px solid #dce7df; border-radius: 7px; background: #f8faf9; }
.admin-location-reader button { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; padding: 0 13px; border: 1px solid #92d27e; border-radius: 6px; color: #fff; background: #459f32; font-size: 11px; font-weight: 800; }
.admin-location-reader button:disabled { cursor: wait; opacity: .65; }
.admin-location-reader button span { font-size: 16px; }
.admin-location-reader p { margin: 0; color: #7c8882; font-size: 10px; line-height: 1.45; }
.admin-location-reader p.success { color: #348b28; }
.admin-location-reader p.error { color: #c95047; }
@media (max-width: 640px) { .admin-location-reader { align-items: stretch; flex-direction: column; } .admin-location-reader button { justify-content: center; } }

/* 管理后台登录页与设计、采购电脑端统一为品牌展示式登录。 */
.login-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(520px, 1.12fr) minmax(430px, .88fr);
  gap: 0;
  place-items: stretch;
  padding: 24px;
  background: #eef3ef;
}
.admin-login-showcase {
  position: relative;
  min-height: calc(100vh - 48px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 48px 58px 34px;
  border-radius: 28px;
  color: #f5fff3;
  background:
    linear-gradient(90deg, rgba(213, 255, 196, .055) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(213, 255, 196, .055) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(140deg, #0d211c 0%, #17372a 53%, #2d5d37 100%);
  box-shadow: 0 24px 60px rgba(23, 67, 39, .18);
}
.admin-login-showcase::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(224, 255, 212, .1);
  border-radius: 20px;
  pointer-events: none;
}
.admin-login-showcase::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 16%;
  width: 310px;
  height: 1px;
  background: rgba(196, 249, 163, .28);
  transform: rotate(-33deg);
  box-shadow: 0 28px 0 rgba(196, 249, 163, .12), 0 56px 0 rgba(196, 249, 163, .07);
  pointer-events: none;
}
.admin-login-showcase > * { position: relative; z-index: 1; }
.admin-login-showcase-brand { display: flex; align-items: center; gap: 12px; }
.admin-login-showcase-mark {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 10px 25px rgba(111, 214, 65, .18);
}
.admin-login-showcase-brand div:last-child { display: grid; gap: 3px; }
.admin-login-showcase-brand strong { font-size: 20px; letter-spacing: .01em; }
.admin-login-showcase-brand span { color: rgba(232, 255, 222, .66); font-size: 12px; }
.admin-login-showcase-copy { max-width: 610px; margin: auto 0 34px; }
.admin-login-eyebrow { color: #c9f5a9; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.admin-login-showcase-copy h1 { margin: 18px 0 18px; color: #f7fff4; font-size: clamp(42px, 4vw, 64px); line-height: 1.18; letter-spacing: -.045em; }
.admin-login-showcase-copy h1 em { color: #b8f37d; font-style: normal; }
.admin-login-showcase-copy p { max-width: 540px; margin: 0; color: rgba(238, 255, 234, .75); font-size: 16px; line-height: 1.85; }
.admin-login-preview { width: min(570px, 100%); padding: 12px 22px; border: 1px solid rgba(226, 255, 216, .18); border-radius: 18px; background: rgba(235, 255, 229, .1); box-shadow: inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(12px); }
.admin-login-preview-head { display: flex; align-items: center; justify-content: space-between; min-height: 38px; color: rgba(242, 255, 236, .92); font-size: 13px; font-weight: 700; }
.admin-login-preview-head b { padding: 5px 8px; border: 1px solid rgba(196, 255, 163, .32); border-radius: 999px; color: #d8ffbe; background: rgba(163, 239, 103, .1); font-size: 10px; font-weight: 700; }
.admin-login-preview-line { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 50px; border-top: 1px solid rgba(235, 255, 229, .12); color: rgba(246, 255, 243, .88); font-size: 13px; }
.admin-login-preview-line i { width: 10px; height: 10px; border: 2px solid rgba(232, 255, 222, .45); border-radius: 50%; }
.admin-login-preview-line i.done { border-color: #e4ffcf; background: #e4ffcf; }
.admin-login-preview-line i.active { border-color: #c5f989; box-shadow: 0 0 0 5px rgba(197, 249, 137, .13); }
.admin-login-preview-line em { color: rgba(232, 255, 222, .56); font-size: 11px; font-style: normal; }
.admin-login-showcase-foot { display: flex; gap: 8px; margin-top: 24px; color: rgba(226, 255, 216, .48); font-size: 10px; letter-spacing: .12em; }
.admin-login-card { align-self: center; justify-self: center; width: min(420px, calc(100% - 46px)); padding: 40px 42px 34px; border: 1px solid rgba(219, 231, 220, .95); border-radius: 24px; background: rgba(255, 255, 255, .96); box-shadow: 0 26px 70px rgba(23, 45, 30, .14); }
.admin-login-card .brand { margin-bottom: 46px; color: #17251e; }
.admin-login-card .brand-mark { width: 42px; height: 42px; border-radius: 12px; }
.admin-login-card .admin-login-brand-mark { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; overflow: hidden; }
.admin-login-card .admin-login-brand-mark img { display: block; width: 100%; height: 100%; object-fit: cover; }
.admin-login-card .brand > span { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.admin-login-card .login-copy h1 { margin: 0 0 10px; color: #122119; font-size: 35px; letter-spacing: -.045em; }
.admin-login-card .login-copy p { margin: 0 0 32px; color: #78847e; font-size: 14px; line-height: 1.6; }
.admin-login-card .form-stack { gap: 17px; }
.admin-login-card .form-stack label { gap: 9px; margin: 0; color: #45524b; font-size: 13px; font-weight: 700; }
.admin-login-card .form-stack input { height: 52px; padding: 0 14px; border: 1px solid #dbe6dc; border-radius: 12px; color: #233029; background: #fbfdfb; font-size: 15px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.admin-login-password-wrap { position: relative; display: flex; align-items: center; }
.admin-login-card .admin-login-password-wrap input { width: 100%; padding-right: 48px; }
.admin-login-password-toggle { position: absolute; right: 8px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; color: #8b9890; background: transparent; cursor: pointer; }
.admin-login-password-toggle:hover, .admin-login-password-toggle:focus-visible { color: #398f2b; background: #eff8eb; outline: 0; }
.admin-login-password-toggle span { position: relative; width: 18px; height: 12px; display: block; border: 1.6px solid currentColor; border-radius: 70% 0 70% 0; transform: rotate(45deg); }
.admin-login-password-toggle span::after { content: ''; position: absolute; top: 3px; left: 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.admin-login-password-toggle.is-visible { color: #398f2b; }
.admin-login-card .form-stack input:focus { border-color: #7bcf5f; background: #fff; box-shadow: 0 0 0 4px rgba(88, 196, 56, .11); }
.admin-login-card .form-stack .primary-button { min-height: 52px; margin-top: 3px; border-radius: 12px; color: #10200f; background: linear-gradient(135deg, #b2f15b, #79d83e); box-shadow: 0 12px 23px rgba(100, 184, 51, .22); font-size: 15px; }
.admin-login-card .form-stack .primary-button:hover { background: linear-gradient(135deg, #c0f976, #85e44a); }
.admin-login-card .login-hint { margin-top: 22px; color: #98a39c; font-size: 12px; }
.admin-login-card .error-text { min-height: 18px; margin: -2px 0 0; color: #c95047; }
@media (max-width: 980px) {
  .login-page { grid-template-columns: 1fr 420px; padding: 16px; }
  .admin-login-showcase { padding-left: 38px; padding-right: 38px; }
  .admin-login-card { width: min(420px, calc(100% - 24px)); padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 760px) {
  html, body { min-width: 0; }
  .login-page { grid-template-columns: 1fr; gap: 0; padding: 14px; }
  .admin-login-showcase { min-height: 390px; padding: 30px 28px 24px; border-radius: 22px; }
  .admin-login-showcase::before { inset: 16px; border-radius: 16px; }
  .admin-login-showcase-copy { margin-top: auto; margin-bottom: 0; }
  .admin-login-showcase-copy h1 { margin: 14px 0 12px; font-size: 40px; }
  .admin-login-showcase-copy p { font-size: 13px; line-height: 1.65; }
  .admin-login-preview, .admin-login-showcase-foot { display: none; }
  .admin-login-card { position: relative; z-index: 2; width: min(100%, 460px); margin: -48px auto 18px; padding: 30px 26px 26px; border-radius: 20px; }
  .admin-login-card .brand { margin-bottom: 30px; }
  .admin-login-card .login-copy h1 { font-size: 30px; }
}
