/* HRISDC product adapter: approved white workspace, planning and stage sections. */
.du-shell:not(.public-shell) { --du-ground: #fff; background: #fff; }
.hdc-flow { margin-bottom: 23px; }
.hdc-flow-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.hdc-flow-heading h2 { font-size: 14px; font-weight: 500; margin: 0; }
.hdc-flow-controls { display: flex; gap: 8px; }
.hdc-flow-arrow { width: 34px; height: 34px; border: 1px solid #b8c4cd; border-radius: 5px; background: #fff; color: #192d3a; }
.hdc-flow-arrow:disabled { color: #9aa8b1; border-color: #e1e6ea; }
.hdc-flow [hidden], .hdc-plan [hidden] { display: none !important; }
.du-shell .hdc-flow .workflow-scroll { padding: 0 0 13px; margin: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; overscroll-behavior-x: contain; border-bottom: 1px solid #dce2e7; }
.du-shell .hdc-flow .workflow-track { display: grid; grid-template-columns: repeat(12,minmax(88px,1fr)); min-width: 0; gap: 7px; border: 0; border-radius: 0; overflow: visible; padding: 0; margin: 0; background: #fff; }
.du-shell .hdc-flow .workflow-step { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; min-height: 78px; height: 100%; padding: 7px 3px; border: 0; border-bottom: 2px solid transparent; border-radius: 6px; background: #fff; color: #586570; outline: none; box-shadow: none; text-align: center; }
.du-shell .hdc-flow .workflow-step:hover { background: #f6f8fa; color: #192d3a; }
.du-shell .hdc-flow .workflow-title { font-size: 11px; line-height: 1.4; font-weight: 500; color: inherit; overflow-wrap: normal; word-break: normal; hyphens: none; }
.hdc-flow-dot { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #bec8d0; background: #fff; display: grid; place-items: center; }
.hdc-flow-dot .ui-icon { width: 15px; height: 15px; }
.du-shell .hdc-flow .is-complete .hdc-flow-dot { background: #3c5364; border-color: #3c5364; color: #fff; }
.du-shell .hdc-flow .is-complete { color: #192d3a; }
.du-shell .hdc-flow .is-selected { background: #edf2f7; border-bottom-color: #315575; box-shadow: none; color: #315575; }
.du-shell .hdc-flow .is-active:not(.is-complete) .hdc-flow-dot { border: 2px solid #315575; }
.du-shell .hdc-flow .is-skipped .hdc-flow-dot, .du-shell .hdc-flow .is-disabled .hdc-flow-dot { border-style: dashed; background: #f5f7f9; }
.du-shell .hdc-flow .workflow-step:focus-visible { outline: 3px solid var(--du-accent); outline-offset: -3px; }
.hdc-flow-legend { display: flex; gap: 18px; flex-wrap: wrap; color: #586570; font-size: 12px; margin-top: 17px; }
.hdc-flow-legend > span { display: inline-flex; align-items: center; gap: 6px; }
.hdc-flow-legend-dot { display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #bec8d0; }
.hdc-flow-legend-dot .ui-icon { width: 11px; height: 11px; }
.hdc-flow-legend-dot.is-complete { background: #3c5364; border-color: #3c5364; color: #fff; }
.hdc-flow-legend-dot.is-selected { border: 2px solid #315575; }
.hdc-detail-grid .hdc-work-panel { border: 0; background: #fff; overflow: visible; }
.hdc-detail-grid .hdc-work-heading { padding: 0 0 15px; border: 0; }
.hdc-detail-grid .hdc-stage-overview { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 19px; font-size: 13px; color: #586570; }
.hdc-detail-grid .hdc-stage-content { padding: 0; }
.hdc-stage-section .hdc-section { border: 1px solid #dce2e7; border-radius: 8px; overflow: hidden; margin: 0 0 19px; padding: 0; background: #fff; }
.hdc-stage-section .hdc-section > summary { display: flex; align-items: center; gap: 14px; list-style: none; padding: 16px 19px; min-height: 64px; margin: 0; color: #192d3a; cursor: pointer; }
.hdc-stage-section .hdc-section > summary::-webkit-details-marker { display: none; }
.hdc-stage-section .hdc-section > summary::after { content: '+'; color: #586570; font-size: 18px; margin-left: auto; order: 3; }
.hdc-stage-section .hdc-section[open] > summary::after { content: '−'; }
.hdc-stage-section .hdc-section[open] > summary { border-bottom: 1px solid #dce2e7; }
.hdc-stage-section .hdc-section > summary h3 { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 16px; line-height: 1.3; font-weight: 600; letter-spacing: -.2px; }
.hdc-section > summary .ui-icon { width: 17px; height: 17px; color: #5d7181; }
.hdc-section-note { margin-left: auto; font-size: 12px; color: #586570; }
.hdc-section-plan > summary { background: #f3f5f7; box-shadow: inset 3px 0 #8595a2; }
.hdc-section-work > summary { background: #eef3f8; box-shadow: inset 3px 0 #315575; }
.hdc-section-output > summary { background: #f7f6f3; box-shadow: inset 3px 0 #968a6b; }
.hdc-stage-section .hdc-section-body { padding: 20px; }
.hdc-section-body .hdc-form-section:first-child { padding-top: 0; }
.hdc-section-body .hdc-form-section:last-child { border-bottom: 0; padding-bottom: 0; }
.hdc-section-output .hdc-section-body > form { padding: 12px 0; border-bottom: 1px solid #e8ecf0; }
.hdc-section-output .hdc-section-body > form:first-child { padding-top: 0; }
.hdc-section-output .hdc-section-body > form:last-of-type { border-bottom: 0; }
.hdc-section-output .form-check-input { accent-color: #3c5364; }
.hdc-section-output .form-check-input:checked { background-color: #3c5364; border-color: #3c5364; }
.hdc-info-panel { background: #fafbfc; }
.hdc-plan { color: #192d3a; font-variant-numeric: tabular-nums; }
.hdc-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 15px; }
.hdc-plan-heading h1 { font-size: 26px; font-weight: 600; letter-spacing: -.6px; margin: 0 0 7px; }
.hdc-plan-heading p { margin: 0; color: #586570; font-size: 14px; }
.hdc-plan-week-nav { display: flex; justify-content: flex-end; gap: 18px; flex-wrap: wrap; margin: 0 0 25px; font-size: 13px; }
.hdc-plan-week-nav a { color: #586570; text-decoration: none; padding: 5px 0; }
.hdc-plan-week-nav a:hover { text-decoration: underline; }
.hdc-plan-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 9px 20px; flex-wrap: wrap; margin-bottom: 22px; font-size: 14px; }
.hdc-plan-summary strong { font-size: 20px; font-weight: 600; letter-spacing: -.4px; }
.hdc-plan-free { font-size: 13px; color: #586570; }
.hdc-plan-meter { height: 5px; background: #e9edf1; border-radius: 3px; overflow: hidden; width: 100%; flex-basis: 100%; }
.du-shell .hdc-plan .hdc-plan-meter[data-ui-progress] { display: block; }
.hdc-plan-meter > span { display: block; height: 100%; background: #3c5364; width: 0; }
.hdc-plan-summary.is-over .hdc-plan-meter > span { background: #a23c32; }
.hdc-plan-split { padding: 19px 20px 20px; border: 1px solid #dce2e7; border-radius: 8px; margin-bottom: 18px; }
.hdc-plan-split > header { display: flex; justify-content: space-between; align-items: baseline; gap: 15px; margin-bottom: 19px; }
.hdc-plan-split h2 { font-size: 15px; font-weight: 600; letter-spacing: -.15px; line-height: 1.4; margin: 0; }
.hdc-plan-split > header > span { font-size: 12px; color: #586570; }
.hdc-plan-categories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.hdc-plan-category { --plan-category: #3c5364; min-width: 0; }
.hdc-category-strategic { --plan-category: #899aa8; }
.hdc-category-operational { --plan-category: #c6cdd4; }
.hdc-plan-category-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.hdc-plan-category-top > span { display: flex; align-items: center; gap: 8px; }
.hdc-plan-category-top i { display: block; width: 7px; height: 7px; background: var(--plan-category); border-radius: 1px; flex-shrink: 0; }
.hdc-plan-category-top strong { font-size: 15px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdc-plan-category .hdc-plan-meter > span { background: var(--plan-category); }
.hdc-plan-category-note { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: #586570; margin-top: 9px; }
.hdc-plan-category.is-over .hdc-plan-category-note { color: #a23c32; }
.hdc-plan-options { font-size: 12px; color: #586570; margin-bottom: 22px; }
.hdc-plan-options > summary { min-height: 34px; padding: 5px 0; list-style-position: inside; cursor: pointer; }
.hdc-plan-options > div { padding: 14px 0 0; }
.hdc-plan-options form { margin-top: 12px; }
.hdc-plan-options p { margin: 9px 0 0; }
.hdc-plan-board-heading { display: flex; justify-content: space-between; gap: 15px; align-items: baseline; margin-bottom: 17px; font-size: 13px; color: #586570; }
.hdc-plan-warning { display: inline-block; color: #a23c32; margin-left: 12px; }
.hdc-plan-day-picker { display: none; }
.hdc-plan .hdc-plan-days { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 0; border: 1px solid #dce2e7; border-radius: 8px; overflow: hidden; padding: 0; margin: 0; }
.hdc-plan .plan-day { min-width: 0; min-height: 0; display: flex; flex-direction: column; padding: 0; margin: 0; border: 0; border-right: 1px solid #dce2e7; border-radius: 0; background: #fff; box-shadow: none; }
.hdc-plan .plan-day:last-child { border-right: 0; }
.hdc-plan .plan-day-head { display: block; padding: 15px 13px 14px; min-height: 126px; background: #f8f9fb; border-bottom: 1px solid #dce2e7; border-radius: 0; }
.hdc-plan .plan-day.is-today .plan-day-head { box-shadow: inset 0 3px #192d3a; }
.hdc-plan .plan-day.is-over .plan-day-head { background: #fff4f1; }
.hdc-plan-date { display: flex; justify-content: space-between; gap: 6px; align-items: flex-start; min-height: 40px; margin-bottom: 7px; }
.hdc-plan-date h2 { font-size: 14px; line-height: 1.3; font-weight: 600; margin: 0; }
.hdc-plan-date h2 > span { display: block; font-size: 11px; font-weight: 400; color: #586570; margin-top: 2px; }
.hdc-plan-date > span { font-size: 12px; color: #586570; }
.hdc-plan .plan-day-hours { background: transparent; border-radius: 0; padding: 0; font-size: 13px; font-weight: 400; font-variant-numeric: tabular-nums; color: #586570; margin-bottom: 8px; }
.hdc-plan .plan-day-hours strong { font-weight: 600; color: #192d3a; }
.hdc-plan .plan-day.is-over .plan-day-hours strong, .hdc-plan .plan-day.is-over .hdc-plan-day-balance { color: #a23c32; }
.hdc-plan .plan-day.is-over .hdc-plan-meter > span { background: #a23c32; }
.hdc-plan-day-balance { font-size: 11px; color: #586570; margin: 7px 0 0; min-height: 16px; }
.hdc-plan .plan-items { list-style: none; margin: 0; padding: 0 12px; }
.hdc-plan .plan-item { display: flex; align-items: flex-start; gap: 8px; min-width: 0; margin: 0; padding: 15px 0; border: 0; border-bottom: 1px solid #e8ecf0; border-radius: 0; background: #fff; box-shadow: none; }
.hdc-plan .plan-item.is-done { opacity: 1; }
.hdc-plan .plan-item-check { margin: 0; }
.hdc-plan .today-check { display: grid; place-items: center; width: 18px; height: 18px; min-width: 18px; border: 1px solid #a7b4be; border-radius: 4px; padding: 0; margin: 2px 0 0; background: #fff; }
.du-shell .hdc-plan .plan-item.is-done .today-check { background: #3c5364; color: #fff; border-color: #3c5364; }
.hdc-plan .today-check .ui-icon { width: 14px; height: 14px; }
.hdc-plan .plan-item-main { min-width: 0; flex: 1; opacity: 1; }
.hdc-plan .plan-item-title { display: block; color: #192d3a; font-size: 13px; line-height: 1.45; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.hdc-plan .plan-item.is-done .plan-item-title { color: #66747e; text-decoration: line-through; }
.hdc-plan .plan-item-task { font-size: 11px; color: #586570; margin-top: 5px; }
.hdc-plan .plan-item-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: 8px; font-size: 11px; color: #586570; }
.hdc-plan .plan-item-hours { font-size: 12px; color: #192d3a; white-space: nowrap; }
.hdc-plan-item-category { font-size: 11px; color: #586570; margin-top: 5px; }
.hdc-plan-item-actions { margin-top: 9px; font-size: 11px; color: #586570; }
.hdc-plan-item-actions summary { cursor: pointer; list-style-position: inside; }
.hdc-plan-item-actions form { margin-top: 10px; }
.hdc-plan-item-actions .form-select { font-size: 12px; min-width: 0; }
.hdc-plan-item-actions .btn { margin-top: 7px; font-size: 12px; }
.hdc-plan .plan-remove { background: transparent; border: 0; font-size: 12px; color: #9c3030; padding: 7px 0; }
.hdc-plan-operational { padding: 0 10px; margin: 13px 12px; border-radius: 5px; background: #f5f7f9; color: #586570; font-size: 12px; }
.hdc-plan-operational summary { list-style-position: inside; padding: 10px 0; cursor: pointer; }
.hdc-plan-operational summary strong { float: right; font-weight: 500; color: #192d3a; }
.hdc-plan .plan-op { border: 0; padding: 8px 0 12px; margin: 0; }
.hdc-plan .plan-op-label { font-size: 12px; }
.hdc-plan .plan-op-row { display: flex; gap: 7px; }
.hdc-plan .plan-op-row .form-control { min-width: 0; width: 100%; }
.hdc-plan .plan-op-row .btn { padding-left: 7px; padding-right: 7px; font-size: 12px; }
.hdc-plan .plan-op-help { font-size: 12px; color: #586570; }
.hdc-plan-add-day { margin: auto 12px 13px; padding: 9px 0; color: #405d70; text-decoration: none; min-height: 36px; font-size: 12px; }
.hdc-plan .plan-empty { margin: 0; padding: 18px 0; font-size: 12px; color: #586570; }
.hdc-plan-drag-note { color: #586570; font-size: 12px; margin-top: 17px; }
.hdc-plan-add-section { margin: 24px 0; }
.hdc-plan-add-section h2 { font-size: 20px; font-weight: 600; margin: 0 30px 20px 0; }
.hdc-plan-add-form { display: grid; gap: 17px; }
.hdc-plan-add-form label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 7px; }
.hdc-plan-add-form .form-control, .hdc-plan-add-form .form-select { min-height: 42px; }
.hdc-plan-add-dialog { position: relative; width: min(490px,calc(100% - 32px)); max-height: calc(100% - 40px); border: 1px solid #dce2e7; border-radius: 12px; padding: 24px; color: #192d3a; background: #fff; }
.hdc-plan-add-dialog::backdrop { background: #192d3a55; }
.hdc-plan-add-dialog .hdc-plan-add-section { margin: 0; }
.hdc-plan-dialog-close { position: absolute; right: 14px; top: 14px; border: 0; background: #fff; color: #586570; width: 36px; height: 36px; font-size: 22px; }
@media(max-width:1000px) {
  .hdc-plan-category-top { align-items: flex-start; flex-direction: column; }
  .hdc-plan-category-note { flex-direction: column; gap: 3px; }
}
@media(max-width:850px) {
  .hdc-plan .hdc-plan-days { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; border: 0; border-radius: 0; overflow: visible; }
  .hdc-plan .plan-day, .hdc-plan .plan-day:last-child { border: 1px solid #dce2e7; border-radius: 7px; overflow: hidden; }
  .hdc-section-note { font-size: 11px; }
}
@media(max-width:600px) {
  .hdc-flow-arrow { width: 44px; height: 44px; }
  .hdc-stage-section .hdc-section > summary { flex-wrap: wrap; gap: 6px 12px; padding: 15px; }
  .hdc-section-note { order: 4; flex-basis: 100%; margin-left: 0; font-size: 12px; }
  .hdc-stage-section .hdc-section > summary::after { margin-left: auto; }
  .hdc-stage-section .hdc-section-body { padding: 17px; }
  .hdc-stage-overview { flex-wrap: wrap; }
  .hdc-plan-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hdc-plan-heading h1 { font-size: 24px; }
  .hdc-plan-week-nav { justify-content: flex-start; gap: 18px; }
  .hdc-plan-week-nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .hdc-plan-summary { gap: 9px 12px; }
  .hdc-plan-summary strong { font-size: 18px; }
  .hdc-plan-free { font-size: 12px; }
  .hdc-plan-split { padding: 17px; }
  .hdc-plan-split > header { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 20px; }
  .hdc-plan-categories { grid-template-columns: 1fr; gap: 22px; }
  .hdc-plan-category-top { align-items: center; flex-direction: row; margin-bottom: 10px; }
  .hdc-plan-category-note { flex-direction: row; gap: 8px; }
  .hdc-plan-board-heading { flex-direction: column; gap: 9px; }
  .hdc-plan-warning { margin-left: 0; margin-right: 10px; }
  .hdc-plan .hdc-plan-days { grid-template-columns: 1fr; gap: 18px; }
  .hdc-plan-enhanced .hdc-plan-day-picker { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 3px; border-bottom: 1px solid #dce2e7; margin-bottom: 18px; }
  .hdc-plan-day-picker button { padding: 7px 2px; border: 0; border-bottom: 2px solid transparent; background: #fff; min-height: 64px; color: #586570; font-size: 13px; }
  .hdc-plan-day-picker button span { display: block; margin-top: 5px; font-size: 11px; white-space: nowrap; }
  .hdc-plan-day-picker button[aria-pressed=true] { border-color: #192d3a; color: #192d3a; font-weight: 600; }
  .hdc-plan-day-picker button.is-over span { color: #a23c32; }
  .hdc-plan-enhanced .plan-day:not(.is-selected) { display: none; }
  .hdc-plan .plan-day-head { min-height: 0; padding: 14px 16px; }
  .hdc-plan-date { min-height: 0; justify-content: flex-start; gap: 10px; }
  .hdc-plan-date h2 { font-size: 15px; }
  .hdc-plan-date h2 > span { display: inline; font-size: 12px; margin-left: 7px; }
  .hdc-plan .plan-items { padding: 0 16px; }
  .hdc-plan .plan-item-title { font-size: 14px; }
  .hdc-plan .today-check { width: 21px; height: 21px; min-width: 21px; }
  .hdc-plan-item-actions summary { min-height: 38px; padding: 9px 0; font-size: 12px; }
  .hdc-plan-item-category, .hdc-plan .plan-item-task { font-size: 12px; }
  .hdc-plan-add-day { margin: 0 16px 7px; min-height: 44px; }
  .hdc-plan-add-form .form-control, .hdc-plan-add-form .form-select, .hdc-plan .plan-op .form-control { font-size: 16px; }
  .hdc-plan-dialog-close { width: 44px; height: 44px; top: 8px; right: 8px; }
}
@media (max-width: 575px) {
  .du-shell .topbar-links.has-processes { flex-wrap: wrap; }
}
