/* Planning content lives inside the existing accessible ActionRail dialog. */
html[data-ui="5"] .r22-workforce-template{min-width:0;max-width:100%;color:var(--r22-ink,#eff5fa)}
html[data-ui="5"] .r22-workforce-template *{box-sizing:border-box}
html[data-ui="5"] .r22-workforce-template :is(.r22-workforce-intro,.r22-workforce-note,.field>small,.r22-workforce-inventory p){margin:0;color:var(--r22-muted,#9eafbf)!important;font-size:13px!important;line-height:1.7;overflow-wrap:anywhere}
html[data-ui="5"] .r22-workforce-template .r22-workforce-intro{margin-bottom:16px}
html[data-ui="5"] .r22-workforce-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 12px;padding-block:12px;border-block:1px solid var(--r22-line,rgba(152,194,219,.17))}
html[data-ui="5"] .r22-workforce-overview>div{display:flex;flex-direction:column;gap:5px;min-width:0}
html[data-ui="5"] .r22-workforce-overview dt{color:var(--r22-muted,#9eafbf)!important;font-size:12px!important;line-height:1.5}
html[data-ui="5"] .r22-workforce-overview dd{margin:0;font-size:24px!important;font-weight:600;color:var(--r22-ink,#eff5fa)!important;font-variant-numeric:tabular-nums;line-height:1.2}
html[data-ui="5"] .r22-workforce-inventory{margin-bottom:20px;border-bottom:1px solid var(--r22-line,rgba(152,194,219,.17));min-width:0}
html[data-ui="5"] .r22-workforce-inventory summary{min-height:44px;padding:11px 0;cursor:pointer;line-height:1.65;font-size:13px!important;font-weight:500;color:var(--r22-ink,#eff5fa)!important}
html[data-ui="5"] .r22-workforce-inventory dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0}
html[data-ui="5"] .r22-workforce-inventory dl>div{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;min-height:58px;padding:9px 0;border-top:1px solid var(--r22-line,rgba(152,194,219,.17))}
html[data-ui="5"] .r22-workforce-inventory dt{min-width:0;font-size:13px!important;line-height:1.5;color:var(--r22-ink,#eff5fa)!important}
html[data-ui="5"] .r22-workforce-inventory dt small{display:block;margin-top:3px;font-size:11px!important;line-height:1.5;color:var(--r22-muted,#9eafbf)!important}
html[data-ui="5"] .r22-workforce-inventory dd{margin:0;flex:none;font-size:16px!important;font-variant-numeric:tabular-nums;color:var(--r22-accent,#79d9ef)!important}
html[data-ui="5"] .r22-workforce-inventory p{padding-block:10px 14px}
html[data-ui="5"] .r22-workforce-template .form{min-width:0;gap:16px}
html[data-ui="5"] .r22-workforce-template .field{min-width:0}
html[data-ui="5"] .r22-workforce-template .field>label{color:var(--r22-ink,#eff5fa)!important;font-size:13px!important;line-height:1.6}
html[data-ui="5"] .r22-workforce-template :is(input,textarea,select){min-width:0;max-width:100%;width:100%;min-height:44px;font-size:16px!important;line-height:1.6!important}
html[data-ui="5"] .r22-workforce-template textarea{min-height:112px;resize:vertical}
html[data-ui="5"] .r22-workforce-market{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
html[data-ui="5"] .r22-workforce-template .form-actions{min-width:0;margin-top:0}
html[data-ui="5"] .r22-workforce-template .form-actions .btn{min-height:44px;white-space:normal}
html[data-ui="5"] .r22-workforce-template :is(summary,input,textarea,select,button):focus-visible{outline:2px solid var(--r22-accent,#79d9ef)!important;outline-offset:3px}
html[data-ui="5"]:is([data-theme="light"],[data-theme="day"]) .r22-workforce-template{--r22-ink:#183347;--r22-muted:#526979;--r22-accent:#12637a;--r22-line:rgba(27,62,84,.18)}
@media(max-width:440px){html[data-ui="5"] .r22-workforce-overview{gap:8px}html[data-ui="5"] .r22-workforce-overview dt{font-size:11px!important}html[data-ui="5"] .r22-workforce-market,html[data-ui="5"] .r22-workforce-inventory dl{grid-template-columns:minmax(0,1fr)}html[data-ui="5"] .r22-workforce-template .form-actions .btn{width:100%}}
@media(forced-colors:active){html[data-ui="5"] .r22-workforce-template{--r22-ink:CanvasText;--r22-muted:CanvasText;--r22-accent:LinkText;--r22-line:CanvasText}}
