/* v658: existing recruitment candidates in a three-card template. */
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"]{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;max-width:none!important;max-height:none!important;margin:0!important;transform:none!important;border:0!important;border-radius:0!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;overflow:hidden!important;}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"]>.sheet-head{position:absolute!important;inset:8px 12px auto!important;height:46px!important;min-height:0!important;padding:4px 12px!important;background:var(--tp-surface)!important;border-radius:18px!important;color:var(--tp-ink)!important;}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"] .sheet-head h2{color:var(--tp-ink)!important;background:var(--tp-surface)!important;border-radius:14px!important;padding:3px 16px!important;font-size:20px!important;}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"] .sheet-head button{background:var(--tp-surface)!important;color:var(--tp-ink)!important;border:1px solid var(--tp-edge)!important;min-height:32px!important;}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"]>:is(.sheet-handle,.sheet-environment,.v4-system-rail){display:none!important;}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"]>.sheet-scroll{position:absolute!important;inset:62px 12px 10px!important;padding:0!important;height:auto!important;overflow:hidden!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]{position:relative!important;inset:auto!important;display:grid!important;grid-template-columns:110px minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;gap:10px!important;width:100%!important;height:100%!important;min-height:0!important;padding:0!important;margin:0!important;background:transparent!important;border:0!important;overflow:hidden!important;color:var(--tp-ink)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]>.staff-v4-tabs{position:static!important;display:flex!important;flex-direction:column!important;grid-column:1!important;grid-row:1!important;gap:6px!important;width:auto!important;min-height:0!important;overflow:auto!important;padding:8px!important;background:var(--tp-surface)!important;border-radius:18px!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .staff-v4-tabs button{flex:none!important;min-height:42px!important;padding:6px!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;border:1px solid var(--tp-edge)!important;border-radius:12px!important;font-size:13px!important;white-space:normal!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .staff-v4-tabs button[aria-selected="true"]{background:var(--tp-blue)!important;color:#10324f!important;border-color:var(--tp-edge)!important;box-shadow:none!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]>.staff-msg{grid-column:1/-1!important;margin:0!important;padding:0!important;font-size:12px!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]>.staff-msg:empty{display:none!important;}

body[data-ui-version="3"] #app .player-sheet[data-ui-view="workforce-recruit"]{top:0!important;left:0!important;right:0!important;bottom:0!important;outline:0!important}
body[data-ui-version="3"] #app .player-sheet[data-ui-view="workforce-recruit"]>.sheet-head{top:8px!important;left:12px!important;right:12px!important;bottom:auto!important}
body[data-ui-version="3"] #app .player-sheet[data-ui-view="workforce-recruit"]>.sheet-scroll{top:62px!important;left:12px!important;right:12px!important;bottom:10px!important}
body[data-ui-version="3"] #app .player-sheet[data-ui-view="workforce-recruit"] #sheet-title::before{display:none!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]>[data-staff-section="recruit"]{display:grid!important;grid-column:2!important;grid-row:1!important;grid-template-rows:auto minmax(0,1fr)!important;gap:10px!important;height:100%!important;min-height:0!important;padding:12px!important;margin:0!important;background:var(--tp-surface)!important;border:1px solid var(--tp-edge)!important;border-radius:20px!important;overflow:hidden!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2>.staff-section-head{display:none!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 *{box-sizing:border-box!important;text-shadow:none!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-board-toolbar{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;padding:6px!important;border:0!important;border-radius:12px!important;font-size:12px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 button{background:var(--tp-surface)!important;color:var(--tp-ink)!important;border:1px solid var(--tp-edge)!important;box-shadow:none!important;filter:none!important;border-radius:10px!important;min-height:30px!important;padding:4px 8px!important;font-size:12px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .free-quota{display:flex!important;align-items:center!important;gap:6px!important;flex-wrap:wrap!important;margin:0 0 0 auto!important;padding:0!important;background:transparent!important;color:var(--tp-ink)!important;font-size:12px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2>.emp-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;gap:12px!important;min-height:0!important;height:100%!important;overflow:hidden!important;padding:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-card.recruit{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(80px,1fr) minmax(90px,1fr) auto!important;gap:0!important;min-width:0!important;min-height:0!important;height:100%!important;padding:0!important;overflow:hidden!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;border:1px solid var(--tp-edge)!important;border-radius:18px!important;box-shadow:var(--tp-shadow)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-card.recruit[hidden]{display:none!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-portrait{position:relative!important;display:block!important;grid-row:1!important;grid-column:1!important;inset:auto!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;background-size:cover!important;background-position:center 25%!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-rarity{position:absolute!important;left:8px!important;top:8px!important;z-index:2!important;background:#e5defa!important;color:#40396e!important;border:1px solid white!important;box-shadow:none!important;font-size:16px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .draw-x{position:absolute!important;right:6px!important;top:6px!important;z-index:3!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy{grid-row:2!important;min-height:0!important;overflow:auto!important;padding:8px 10px!important;scrollbar-width:thin!important;background:var(--tp-surface)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:5px!important;min-width:0!important;padding:0!important;background:transparent!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head>b{display:block!important;padding:5px 8px!important;border-radius:9px!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;font-size:18px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 :is(.emp-specialty,.emp-level,.apt-tag,.emp-tag){position:static!important;background:#e2edff!important;color:#35476a!important;border:0!important;border-radius:8px!important;font-size:12px!important;white-space:normal!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-level{align-self:flex-start!important;padding:2px 6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .ability-bar{color:var(--tp-ink)!important;background:transparent!important;font-size:12px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .ability-bar i{background:var(--tp-surface)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .ability-bar i b{background:linear-gradient(90deg,#8ca7f0,#b39bdf)!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-action-footer{display:flex!important;flex-direction:column!important;gap:3px!important;grid-row:3!important;position:static!important;padding:6px 8px!important;background:var(--tp-surface)!important;border:0!important;min-height:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-price{display:flex!important;justify-content:space-between!important;gap:4px!important;margin:0!important;padding:3px 8px!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;border-radius:14px!important;font-size:13px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 [data-emp-recruit]{width:100%!important;min-height:40px!important;margin:0!important;padding:6px 8px!important;background:var(--tp-gold)!important;color:var(--tp-gold-ink)!important;border:1px solid var(--tp-edge)!important;border-radius:22px!important;font-size:14px!important;white-space:normal!important;line-height:1.25!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 button:disabled{opacity:1!important;background:var(--tp-disabled)!important;color:var(--tp-muted)!important;border-color:var(--tp-edge)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 :is(.staff-card-details,.staff-detail-body,.emp-warn){background:var(--tp-surface)!important;color:var(--tp-ink)!important;border-color:var(--tp-edge)!important;font-size:12px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog{background:var(--tp-surface)!important;color:var(--tp-ink)!important;}
@media(max-height:500px){
body[data-ui-version="3"] #app .player-sheet[data-ui-view="workforce-recruit"]>.sheet-head{top:4px!important;left:8px!important;right:8px!important;height:36px!important}
body[data-ui-version="3"] #app .player-sheet[data-ui-view="workforce-recruit"]>.sheet-scroll{top:46px!important;left:8px!important;right:8px!important;bottom:6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]{grid-template-columns:92px minmax(0,1fr)!important;gap:6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"]>[data-staff-section="recruit"]{padding:6px!important;gap:5px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2>.emp-grid{gap:6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-card.recruit{grid-template-rows:72px minmax(0,1fr) auto!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy{padding:4px 6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head{gap:3px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head>b{font-size:14px!important;padding:2px 5px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-board-toolbar{gap:4px!important;padding:3px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-action-footer{padding:4px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 [data-emp-recruit]{min-height:34px!important;font-size:12px!important}
}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-card.recruit{align-items:stretch!important;align-content:stretch!important;border-color:var(--tp-edge)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy{align-self:stretch!important;height:100%!important;min-height:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-portrait:not(.tier-art){width:100%!important;background-size:400% 100%!important;background-position:calc(var(--avatar) * 100% / 3) top!important;background-repeat:no-repeat!important;background-color:var(--tp-surface)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-portrait.tier-art{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;background-color:var(--tp-surface)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-rarity{right:auto!important;width:auto!important;min-width:32px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .free-quota{width:auto!important;flex:1 1 auto!important;justify-content:flex-end!important;line-height:1.3!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .free-quota .s-refresh{width:auto!important;flex:0 0 auto!important;margin:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head>.emp-level{float:right!important;align-self:flex-end!important;font-size:10px!important;padding:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .ability-bar small{background:var(--tp-surface)!important;color:var(--tp-ink)!important;}
@media(max-height:500px){
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"]>.sheet-scroll{top:46px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-board-toolbar{font-size:11px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .free-quota{font-size:10px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head>.emp-level{position:absolute!important;top:48px!important;right:8px!important;padding:2px 5px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-head>b{margin:0!important}
}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-portrait:not(.tier-art){width:auto!important;aspect-ratio:1!important;justify-self:center!important;max-width:100%!important}
body[data-ui-version="3"] #app .player-sheet[data-scene-panel="staff"][data-ui-view="workforce-recruit"]{box-shadow:none!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog >header{background:var(--tp-surface)!important;color:var(--tp-ink)!important;border-color:var(--tp-edge)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog .draw-box{background:var(--tp-surface)!important;border:1px solid var(--tp-edge)!important;padding:8px!important;font-size:12px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog .draw-keep{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog .draw-keep label{display:inline-flex!important;align-items:center!important;gap:4px!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;padding:3px 6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog input[type="checkbox"]{appearance:auto!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;accent-color:var(--tp-ink)!important;margin:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog .draw-row{background:var(--tp-surface)!important;padding:6px!important;margin:4px 0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog .draw-row>span{display:flex!important;flex-wrap:wrap!important;gap:4px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog button{width:auto!important;min-height:28px!important;background:var(--tp-surface)!important;color:var(--tp-ink)!important;}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-options-dialog .draw-release{display:flex!important;flex-wrap:wrap!important;gap:4px!important}
/* v710 老闆規則：卡片內不捲動，雷達圖縮到放得下 */
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy{overflow:hidden!important;display:flex!important;flex-direction:column!important;gap:4px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-radars{display:grid!important;grid-template-columns:1fr 1fr!important;gap:4px!important;flex:1 1 auto!important;min-height:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-radar{min-height:0!important;padding:2px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-radar svg{max-height:min(120px,18dvh)!important;width:100%!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-radar ul{grid-template-columns:1fr!important;font-size:10px!important;gap:0!important}
/* v710 展開「能力・薪資・管理」改成蓋在名單上的整頁卡，不在小卡內捲動 */
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open]>.staff-detail-body{position:fixed!important;z-index:60!important;top:64px!important;left:132px!important;right:16px!important;bottom:12px!important;display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:8px 12px!important;padding:44px 14px 12px!important;background:#ffffff!important;color:#21334b!important;border:2px solid #b8cce3!important;border-radius:16px!important;box-shadow:0 8px 24px rgba(33,51,75,.18)!important;overflow:hidden!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open]>.staff-detail-body>small:first-child{grid-column:1/-1!important;font-size:13px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-radars{grid-column:1!important;grid-row:2!important;grid-template-columns:1fr 1fr!important;align-items:start!important;height:100%!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-radar{display:grid!important;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr) auto!important;align-items:center!important;height:100%!important;gap:2px 6px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-radar svg{grid-column:1!important;grid-row:1!important;max-height:calc(100dvh - 190px)!important;max-width:170px!important;justify-self:center!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-radar figcaption{grid-column:1!important;grid-row:2!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-radar ul{grid-column:2!important;grid-row:1/-1!important;align-self:center!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-radar ul{grid-template-columns:1fr!important;font-size:12px!important;gap:2px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] :is(.emp-money,.emp-note){grid-column:2!important;margin:0!important;font-size:13px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-note{grid-row:2!important;align-self:end!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open] .emp-money{grid-row:2!important;align-self:start!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open]>summary{position:fixed!important;z-index:61!important;top:70px!important;right:24px!important;background:var(--tp-blue,#2bb5f0)!important;color:#15324f!important;border-color:#1885ba!important;border-radius:10px!important;padding:4px 12px!important;font-size:13px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open]>summary::after{content:" ✕"}
@media(max-height:500px){body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open]>.staff-detail-body{top:48px!important;left:104px!important;bottom:6px!important;padding-top:38px!important}body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .staff-card-details[open]>summary{top:52px!important}}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy .apt-tag{display:none!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy .staff-card-details>summary{font-size:12px!important;padding:2px 6px!important;min-height:0!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy{gap:2px!important;padding:3px 8px!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy .emp-head{gap:2px!important}
@media(max-height:500px){body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-card.recruit{grid-template-rows:62px minmax(0,1fr) auto!important}}
/* v713: 手機橫向——左側分頁不被共用短螢幕規則壓成 28px 一列；小卡不放「可補」標籤免溢出 */
@media (max-height:500px){
body[data-ui-version="3"] #app#app#app .staff-v3[data-ui-view="workforce-recruit"] .staff-v4-tabs{height:auto!important;overflow:visible!important;flex-direction:column!important;flex-wrap:nowrap!important}
body[data-ui-version="3"] #app#app#app .staff-v3[data-ui-view="workforce-recruit"] .staff-v4-tabs button{height:auto!important;min-height:28px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.2!important;flex-shrink:1!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .recruit-copy .emp-tag{display:none!important}
}
/* v713: 360 高的小手機——頭像列再縮，卡內不溢出 */
@media (max-height:380px){
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 .emp-card.recruit{grid-template-rows:36px minmax(0,1fr) auto!important}
body[data-ui-version="3"] #app .staff-v3[data-ui-view="workforce-recruit"] .recruit-template-v2 [data-emp-recruit]{min-height:32px!important;padding:3px 8px!important}
}
