body.wz-page-active main.content > :not(.wz-page-root) { display: none !important; }
.wz-page-root { min-width: 0; }
.wz-sidebar-nav .sidebar-nav-icon b { font-size: .65rem; letter-spacing: -.03em; }
.wz-page { display: grid; gap: 14px; }
.wz-page-header { align-items: center; }
.wz-page-message { padding: 11px 14px; border: 1px solid; border-radius: 11px; font-weight: 750; }
.wz-page-message.error { color: #8c1d2a; background: #fff1f3; border-color: #efb6be; }
.wz-page-message.success { color: #17633c; background: #ecfbf2; border-color: #a8dfbe; }
.wz-page-message.info { color: #174f91; background: #edf6ff; border-color: #b7d6f6; }
.wz-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.wz-page-section,.wz-create-page { padding: 16px !important; }
.wz-section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.wz-section-title h3,.wz-section-title p { margin: 0; }
.wz-section-title p { color: #667c98; font-size: .82rem; margin-top: 3px; }
.wz-section-title > span { min-width: 30px; padding: 5px 9px; border-radius: 999px; background: #e8f2ff; color: #1554a2; font-weight: 850; text-align: center; }
.wz-page-list { display: grid; gap: 12px; }
.wz-document { border: 1px solid #d9e4f1; border-radius: 13px; overflow: hidden; background: #fff; }
.wz-document.active { border-left: 5px solid #d08b16; }
.wz-document.cancelled { opacity: .78; border-left: 5px solid #7990aa; }
.wz-document > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 14px; background: #f7faff; border-bottom: 1px solid #e2eaf4; }
.wz-document > header > div { display: grid; gap: 2px; }
.wz-document > header strong { font-size: 1.05rem; color: #15375f; }
.wz-document > header span { color: #657b96; font-size: .8rem; }
.wz-status { padding: 5px 9px; border-radius: 999px; background: #fff1d5; color: #805100 !important; font-weight: 850; }
.wz-document.cancelled .wz-status { background: #eaf0f6; color: #53677e !important; }
.wz-document-meta { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 16px; padding: 12px 14px; }
.wz-document-meta .wide { grid-column: 1/-1; }
.wz-document-items { overflow: auto; border-top: 1px solid #e5ecf5; border-bottom: 1px solid #e5ecf5; }
.wz-document-items table { width: 100%; border-collapse: collapse; }
.wz-document-items th,.wz-document-items td { padding: 8px 12px; text-align: left; border-bottom: 1px solid #edf2f7; }
.wz-document-items th { color: #667d98; font-size: .72rem; background: #fbfcfe; }
.wz-document > footer { display: flex; justify-content: flex-end; padding: 11px 14px; }
.wz-history summary { cursor: pointer; font-weight: 850; color: #244a73; margin-bottom: 12px; }
.wz-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.wz-form-grid .wide { grid-column: 1/-1; }
.wz-form-grid label,.wz-search-field { display: grid; gap: 5px; color: #355575; font-weight: 750; }
.wz-selected-section,.wz-picker-section { margin-top: 15px; padding-top: 15px; border-top: 1px solid #e2eaf3; }
.wz-selected-list { display: flex; flex-wrap: wrap; gap: 7px; min-height: 42px; }
.wz-selected-chip { display: inline-flex !important; gap: 8px; align-items: center; padding: 7px 10px !important; border: 1px solid #a9c8ed !important; border-radius: 999px !important; background: #edf6ff !important; color: #164f91 !important; -webkit-text-fill-color: #164f91 !important; box-shadow: none !important; }
.wz-selected-empty,.wz-empty { display: grid; place-items: center; min-height: 70px; color: #6d8199; text-align: center; }
.wz-search-field input { min-height: 45px; }
.wz-help { color: #687f99; font-size: .8rem; margin: 7px 0 10px; }
.wz-candidates { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; max-height: 520px; overflow: auto; padding: 2px; }
.wz-candidate { display: grid !important; grid-template-columns: 24px minmax(0,1fr); align-items: start; gap: 9px; padding: 10px !important; border: 1px solid #d8e3ef !important; border-radius: 11px !important; background: #fbfdff !important; cursor: pointer; }
.wz-candidate.selected { border-color: #4d91e5 !important; background: #eaf4ff !important; }
.wz-candidate input { width: 18px !important; height: 18px !important; margin: 2px 0 0 !important; }
.wz-candidate-copy { min-width: 0; display: grid; gap: 3px; }
.wz-candidate-copy strong { color: #183b64; overflow-wrap: anywhere; }
.wz-candidate-copy code { width: fit-content; font-size: .72rem; }
.wz-candidate-copy small { color: #647b96; overflow-wrap: anywhere; }
.wz-form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 15px; }
:root[data-theme="dark"] .wz-page-message.error { color:#ffd9de; background:#3b1c25; border-color:#8d4856; }
:root[data-theme="dark"] .wz-page-message.success { color:#d9ffe9; background:#143524; border-color:#398661; }
:root[data-theme="dark"] .wz-page-message.info { color:#d9eaff; background:#17314f; border-color:#426c9f; }
:root[data-theme="dark"] :is(.wz-document,.wz-candidate) { background:#121e30 !important; border-color:#3b4d68 !important; }
:root[data-theme="dark"] .wz-document > header,:root[data-theme="dark"] .wz-document-items th { background:#17253a; border-color:#3b4d68; }
:root[data-theme="dark"] .wz-document > header strong,:root[data-theme="dark"] .wz-candidate-copy strong { color:#edf5ff; }
:root[data-theme="dark"] :is(.wz-document > header span,.wz-document-meta,.wz-candidate-copy small,.wz-help,.wz-section-title p) { color:#a9bad1; }
:root[data-theme="dark"] .wz-candidate.selected { background:#19375c !important; border-color:#5b96df !important; }
@media(max-width:1000px){.wz-candidates{grid-template-columns:1fr}.wz-document-meta{grid-template-columns:1fr}.wz-document-meta .wide{grid-column:auto}}
@media(max-width:720px){.wz-summary-grid,.wz-form-grid{grid-template-columns:1fr}.wz-form-grid .wide{grid-column:auto}.wz-page-header,.wz-section-title{align-items:flex-start;flex-direction:column}.wz-form-actions{flex-direction:column-reverse}.wz-form-actions button{width:100%}}
