/* ATS candidate tabs, resume-intake actions, and organization work-card menus. */
.module-dashboard :is(.visual-kpi-grid>article,.visual-chart-card,.dashboard-detail-grid>.admin-panel){background:#071f4f!important;border-color:#244d79!important;box-shadow:0 14px 34px rgba(0,0,0,.16)!important}
.module-dashboard .admin-list>article{background:#08234a;border-color:#2a537f}
.module-recruitment .ats-candidate-drawer>nav button{cursor:pointer}
.module-recruitment .ats-detail-panel{display:grid;gap:12px}
.module-recruitment .ats-detail-panel[hidden]{display:none!important}
.module-recruitment .ats-detail-empty{margin:0;padding:18px 12px;border:1px dashed #3a5d77;border-radius:10px;color:#9db2c4;text-align:center}
.module-recruitment .ats-history-list{display:grid;gap:9px}
.module-recruitment .ats-history-list:empty::after{content:"No history is available.";padding:18px 12px;border:1px dashed #3a5d77;border-radius:10px;color:#9db2c4;text-align:center}
.module-recruitment .ats-history-list article{display:grid;grid-template-columns:28px minmax(0,1fr);gap:9px;padding:10px;border:1px solid #294e69;border-radius:10px;background:#0a2943}
.module-recruitment .ats-history-list article>svg{width:18px;color:#39d6b2}
.module-recruitment .ats-history-list article div{display:grid;gap:3px}.module-recruitment .ats-history-list small,.module-recruitment .ats-history-list time{color:#9eb3c6;font-size:.68rem}

.module-recruitment .resume-intake-card{position:relative;padding-top:18px}
.module-recruitment .resume-intake-card-menu{position:absolute;z-index:12;top:12px;right:12px}
.module-recruitment .resume-intake-card-menu>summary,.holo-card-menu>summary{display:grid;width:36px;height:36px;place-items:center;padding:0;border:1px solid #375b76;border-radius:9px;background:#0a2943;color:#d9e8f3;cursor:pointer;list-style:none}
.module-recruitment .resume-intake-card-menu>summary::-webkit-details-marker,.holo-card-menu>summary::-webkit-details-marker{display:none}
.module-recruitment .resume-intake-card-menu>summary svg,.holo-card-menu>summary svg{width:18px;height:18px}
.module-recruitment .resume-intake-card-menu-popover,.holo-card-menu-popover{position:absolute;z-index:30;top:42px;right:0;display:grid;gap:5px;width:190px;padding:7px;border:1px solid #345873;border-radius:11px;background:#071c31;box-shadow:0 18px 45px rgba(0,0,0,.38)}
.module-recruitment .resume-intake-card-menu-popover button,.holo-card-menu-popover>form button,.holo-card-edit>summary{box-sizing:border-box;display:flex;width:100%;min-height:40px;align-items:center;gap:8px;justify-content:flex-start;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#dceaf4;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.module-recruitment .resume-intake-card-menu-popover button:hover,.holo-card-edit>summary:hover{background:#123650}
.module-recruitment .resume-intake-card-menu-popover .resume-intake-delete{margin:0;padding:0;border:0}
.module-recruitment .resume-intake-card-menu-popover .resume-intake-delete button,.holo-card-menu-popover>form .danger{color:#ff91a6}
.module-recruitment .resume-intake-delete-note{display:flex;align-items:center;gap:7px;margin:4px 2px 0;padding:9px;color:#a9bdd0;font-size:12px;line-height:1.35;white-space:normal}
.module-recruitment .resume-intake-delete-note svg{width:16px;height:16px;flex:none}
.module-recruitment .resume-intake-card-menu-popover svg,.holo-card-menu-popover svg{width:17px;height:17px}

.holo-work-columns{align-items:start;gap:14px}
.holo-work-column{min-height:240px;padding:14px!important;border:1px solid #294d68!important;border-radius:14px;background:#071c31}
.holo-work-column>h5{margin:0 0 12px;color:#bcd0df;font-size:.82rem;letter-spacing:.02em}
.holo-mini-card{position:relative;display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start;margin-bottom:10px!important;padding:14px!important;border:1px solid #31556f!important;border-radius:12px!important;background:#0a2943!important;box-shadow:0 8px 22px rgba(0,0,0,.16)}
.holo-mini-card:last-child{margin-bottom:0!important}.holo-card-copy{min-width:0}.holo-card-copy>b{display:block;margin-bottom:5px;color:#f1f7fb}.holo-card-copy>small{display:block;color:#91aabe;line-height:1.45}
.holo-card-menu{position:relative;z-index:15}.holo-card-menu-popover{width:210px}.holo-card-edit{position:relative}.holo-card-edit>summary{list-style:none}.holo-card-edit>summary::-webkit-details-marker{display:none}
.holo-card-edit>form{position:absolute;z-index:40;top:0;right:calc(100% + 12px);display:grid;width:310px;gap:9px;padding:14px;border:1px solid #3b627d;border-radius:12px;background:#08223a;box-shadow:0 22px 55px rgba(0,0,0,.45)}
.holo-card-edit>form label{display:grid;gap:5px;color:#a9bdcc;font-size:.74rem}.holo-card-edit>form :is(input,textarea){box-sizing:border-box;width:100%;border:1px solid #3a617d;border-radius:8px;background:#06182b;color:#fff}.holo-card-edit>form textarea{min-height:90px;resize:vertical}.holo-card-edit>form>button{min-height:40px;border:1px solid #29cdb7;border-radius:8px;background:#0e5c5d;color:#fff;font-weight:800}
.holo-open-board{margin-top:10px!important}

html[data-theme=light] .module-recruitment .ats-history-list article,html[data-theme=light] .module-recruitment .resume-intake-card-menu-popover,html[data-theme=light] .holo-work-column,html[data-theme=light] .holo-mini-card,html[data-theme=light] .holo-card-menu-popover,html[data-theme=light] .holo-card-edit>form{background:#fff!important;border-color:#d3e0ea!important;color:#173653!important;box-shadow:0 12px 30px rgba(24,59,91,.12)!important}
html[data-theme=light] .module-dashboard :is(.visual-kpi-grid>article,.visual-chart-card,.dashboard-detail-grid>.admin-panel){background:#fff!important;border-color:#e3e9f1!important;box-shadow:0 10px 28px rgba(40,100,189,.08)!important}
html[data-theme=light] .module-recruitment .resume-intake-card-menu>summary,html[data-theme=light] .holo-card-menu>summary{background:#f4f8fc;color:#245078;border-color:#c9d9e6}
html[data-theme=light] .module-recruitment .resume-intake-card-menu-popover button,html[data-theme=light] .holo-card-edit>summary{color:#173653}
html[data-theme=light] .module-recruitment .resume-intake-card-menu-popover button:hover,html[data-theme=light] .holo-card-edit>summary:hover{background:#eaf2f9}
html[data-theme=light] .holo-card-copy>b{color:#173653}html[data-theme=light] .holo-card-copy>small,html[data-theme=light] .holo-work-column>h5{color:#5e7489}
html[data-theme=light] .holo-card-edit>form :is(input,textarea){background:#fff;color:#173653;border-color:#c6d8e6}

@media(max-width:900px){.holo-card-edit>form{position:fixed;top:50%;left:50%;right:auto;width:min(420px,calc(100vw - 28px));max-height:80vh;overflow:auto;transform:translate(-50%,-50%)}.module-recruitment .resume-intake-card-menu-popover{width:180px}}
