.app-roadmap {
  flex: 0 0 auto;
  min-width: 0;
  margin: 0 0 20px;
  padding: 22px 24px 16px;
  color: #18233e;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 3px 12px #233d5b05;
}
.app-roadmap [hidden], .app-roadmap-dialog [hidden] { display: none !important; }
.app-roadmap button, .app-roadmap-dialog button { font: inherit; cursor: pointer; }
.app-roadmap :focus-visible, .app-roadmap-dialog :focus-visible { outline: 3px solid #087cf0; outline-offset: 4px; }
.app-roadmap__header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 20px; row-gap: 6px; margin-bottom: 10px; }
.app-roadmap__heading { display: contents; }
.app-roadmap__header-actions { grid-column: 3; grid-row: 2; min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.app-roadmap__controls { flex-shrink: 0; }
.app-roadmap__eyebrow { grid-column: 1 / -1; grid-row: 1; text-align: left; color: #728198; font-size: 10px; font-weight: 750; letter-spacing: .13em; margin: 0; }
.app-roadmap h2 { grid-column: 2; grid-row: 2; text-align: center; color: #10182b; font-size: 23px; letter-spacing: -.6px; line-height: 1.25; margin: 0; font-weight: 750; }
.app-roadmap__controls, .app-roadmap__year-nav { display: flex; align-items: center; gap: 12px; }
.app-roadmap__year-nav { gap: 8px; color: #52617b; font-size: 15px; font-variant-numeric: tabular-nums; }
.app-roadmap__year-nav button { width: 28px; height: 30px; padding: 0; border: 1px solid #e5eaf1; border-radius: 7px; background: #fff; color: #607089; font-size: 23px; line-height: 1; }
.app-roadmap__add { border: 1px solid #d9e3ef; border-radius: 8px; padding: 8px 11px; font-size: 12px !important; font-weight: 650 !important; color: #355372; background: #f8fbff; white-space: nowrap; }
.app-roadmap__add:hover, .app-roadmap__year-nav button:hover { background: #edf5ff; border-color: #9abfea; }
.app-roadmap__timeline { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); }
.app-roadmap__release-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; margin-bottom: 8px; }
.app-roadmap__release-row > .app-roadmap__continues { margin-left: auto; }
.app-roadmap .app-roadmap__release-toggle { flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px; box-sizing: border-box; height: 32px; padding: 6px 8px; border: 1px solid #d9e3ef; border-radius: 8px; background: #f8fbff; color: #355372; font-size: 12px; font-weight: 650; line-height: 18px; white-space: nowrap; }
.app-roadmap__timeline > .app-roadmap__release-toggle { position: absolute; left: 0; z-index: 6; }
.app-roadmap__release-toggle svg { width: 14px; height: 14px; flex-shrink: 0; }
.app-roadmap__release-toggle:hover { background: #edf5ff; border-color: #9abfea; }
.app-roadmap__release-toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
.app-roadmap__track-heading { position: absolute; left: 0; width: 104px; top: calc(var(--track-top, 122px) + 8px); display: flex; flex-direction: column; justify-content: center; gap: 6px; height: var(--roadmap-total-track-height, 144px); }
.app-roadmap__track-label { line-height: 1.35; color: #435373; font-size: 14px; font-weight: 650; }
.app-roadmap__viewport { grid-column: 2; min-width: 0; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #c7d2e2 transparent; overscroll-behavior-x: contain; padding-top: 8px; }
.app-roadmap__canvas { position: relative; isolation: isolate; }
.app-roadmap__track { position: absolute; left: 44px; top: var(--track-top); height: var(--roadmap-track-height, 144px); background: #edf1f6; isolation: isolate; }
.app-roadmap__track::after, .app-roadmap__segment::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, #829ab580 0 1px, transparent 1px); background-size: var(--roadmap-month-width) 100%; background-position: calc(-1 * var(--roadmap-segment-offset, 0px)) 0; background-repeat: repeat-x; pointer-events: none; z-index: 1; }
.app-roadmap__segment > .app-roadmap__segment-copy, .app-roadmap__segment > .app-roadmap__time-bar { z-index: 2; }
.app-roadmap__unplanned { position: absolute; top: 0; height: 100%; background: #fff; pointer-events: none; }
.app-roadmap__unplanned-outline { display: block; width: 100%; height: 100%; overflow: hidden; pointer-events: none; }
.app-roadmap__unplanned-outline rect { x: 2px; y: 2px; width: max(0px, calc(100% - 4px)); height: calc(100% - 4px); rx: 6px; fill: none; stroke: #829ab5; stroke-width: 4px; stroke-dasharray: 18 14; stroke-linecap: round; }
.app-roadmap__month { position: absolute; width: 1px; background: repeating-linear-gradient(to bottom, #dce3ed 0 7px, transparent 7px 12px); z-index: -1; }
.app-roadmap__month.is-january { background: #d3dce9; }
.app-roadmap__month > span { position: absolute; left: 0; bottom: -1px; transform: translateX(-50%); padding-top: 8px; background: #fff; color: #435373; font-size: 13px; line-height: 19px; text-align: center; }
.app-roadmap__month small { display: block; color: #8491a5; font-size: 10px; letter-spacing: .02em; line-height: 13px; }
.app-roadmap__segment { position: absolute; top: var(--track-top); height: var(--roadmap-track-height, 144px); overflow: hidden; padding: 0; border: 0; border-right: 2px solid #fff; border-radius: 0 !important; background: var(--segment-light); color: var(--segment-ink); text-align: center; box-shadow: none; }
.app-roadmap__segment:hover { filter: brightness(.97); z-index: 2; }
.app-roadmap__segment:focus-visible { outline-offset: -4px; z-index: 3; }
.app-roadmap__fill { position: absolute; inset: 0 auto 0 0; width: var(--completion); background: var(--segment-color); transition: width .25s ease; }
.app-roadmap__time-bar { position: absolute; inset: auto 0 0; box-sizing: border-box; height: 8px; overflow: hidden; background: #fff; border: 1px solid #a7bacb; pointer-events: none; }
.app-roadmap__time-fill { display: block; height: 100%; width: var(--time-elapsed); background: #496f91; }
.app-roadmap__time-bar--late { border-color: #c66c65; }
.app-roadmap__time-bar--late .app-roadmap__time-fill { background: #dc2626; }
.app-roadmap__segment-copy { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 3px; white-space: nowrap; padding: 4px 4px 12px; color: var(--segment-ink); }
.app-roadmap__segment-copy--filled { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--completion)) 0 0); color: #fff; text-shadow: 0 1px 3px #1c164040; }
.app-roadmap__segment-title { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; max-width: 100%; }
.app-roadmap__segment-copy strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 18px; font-weight: 750; letter-spacing: -.3px; }
.app-roadmap__segment-metrics { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 3px 8px; max-width: 100%; font-size: 13px; font-weight: 600; }
.app-roadmap__schedule-status { max-width: 100%; font-size: 12px; font-weight: 650; line-height: 1.25; white-space: normal; text-align: center; }
.app-roadmap__schedule-status--late, .app-roadmap__schedule-status--due { padding: 2px 6px; border-radius: 4px; color: #b42318; background: #fff3ef; text-shadow: none; }
.app-roadmap__schedule-assessment { max-width: 100%; padding: 2px 5px; border-radius: 4px; font-size: 11px; font-weight: 650; line-height: 1.25; white-space: normal; text-align: center; color: #52617b; background: #f5f8fc; text-shadow: none; }
.app-roadmap__schedule-assessment-label { font-weight: 500; }
.app-roadmap__schedule-assessment--ahead, .app-roadmap__schedule-assessment--on-track, .app-roadmap__schedule-assessment--complete { color: #067647; background: #ecfdf3; }
.app-roadmap__schedule-assessment--behind { color: #b42318; background: #fff3ef; }
.app-roadmap__segment-copy small { font-size: 11px; font-weight: 600; background: #21103b25; border-radius: 20px; padding: 2px 12px; line-height: 14px; }
.app-roadmap__segment.is-narrow .app-roadmap__segment-copy strong { font-size: 13px; }
.app-roadmap__segment.is-narrow .app-roadmap__segment-metrics { font-size: 11px; }
.app-roadmap__segment.is-narrow .app-roadmap__schedule-status { font-size: 10px; }
.app-roadmap__segment.is-narrow .app-roadmap__segment-copy { gap: 2px; padding: 2px 3px 11px; }
.app-roadmap__segment.is-narrow .app-roadmap__schedule-assessment { padding: 1px 4px; font-size: 10px; line-height: 1.2; }
.app-roadmap__segment.is-narrow .app-roadmap__schedule-assessment-label { display: none; }
.app-roadmap__segment.is-narrow .app-roadmap__segment-copy small { font-size: 10px; padding: 2px 5px; }
.app-roadmap__segment.is-tiny .app-roadmap__segment-copy { writing-mode: vertical-rl; gap: 2px; }
.app-roadmap__segment.is-tiny .app-roadmap__segment-metrics { flex-direction: column; flex-wrap: nowrap; gap: 2px; }
.app-roadmap__segment.is-tiny .app-roadmap__schedule-status { padding: 0; white-space: nowrap; }
.app-roadmap__segment.is-tiny .app-roadmap__schedule-assessment { padding: 0; white-space: nowrap; }
.app-roadmap__segment.is-tiny .app-roadmap__status { display: none; }
.app-roadmap__segment.is-tiny .app-roadmap__segment-copy small { background: transparent; padding: 0; }
.app-roadmap__status { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 25px; height: 25px; border: 3px solid #fff; border-radius: 50%; box-sizing: border-box; background: #fff; color: #657082; text-shadow: none; vertical-align: middle; }
.app-roadmap__status svg { width: 100%; height: 100%; }
.app-roadmap__status--complete { background: #02a65c; color: #fff; }
.app-roadmap__status--progress { background: conic-gradient(#7945df var(--progress), #cdb8f4 var(--progress)); }
.app-roadmap__status--progress > span { width: 11px; height: 11px; border-radius: 50%; background: #fff; }
.app-roadmap__segment-title > .app-roadmap__status { width: 27px; height: 27px; }
.app-roadmap__segment.is-narrow .app-roadmap__segment-title > .app-roadmap__status { width: 21px; height: 21px; }
.app-roadmap__connector { position: absolute; width: 2px; background: var(--segment-color); z-index: 3; }
.app-roadmap__release-label { position: absolute; width: 108px; padding: 1px 7px; border: 1px solid #eddc97; border-radius: 999px; background: #fff6c9; color: #725716; font-size: 13px; font-weight: 650; line-height: 18px; text-align: center; white-space: nowrap; pointer-events: none; z-index: 4; }
.app-roadmap__release { position: absolute; width: 108px; height: 76px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; border: 2px solid var(--segment-color); border-radius: 9px; color: #17223c; background: color-mix(in srgb, var(--segment-light) 30%, white); padding: 6px 2px; z-index: 4; box-shadow: 0 2px 5px #223b5904; }
.app-roadmap__release::after { content: ""; position: absolute; top: 100%; height: 2px; left: var(--connector-left); width: var(--connector-width); background: var(--segment-color); }
.app-roadmap__release.is-released { background: #fff; }
.app-roadmap__release:hover { box-shadow: 0 3px 12px #1526401a; }
.app-roadmap__release > strong { font-size: 18px; font-weight: 750; letter-spacing: -.3px; }
.app-roadmap__release > span:not(.app-roadmap__status) { font-size: 11px; line-height: 14px; }
.app-roadmap__release > .app-roadmap__status { position: absolute; right: -10px; top: -11px; width: 29px; height: 29px; }
.app-roadmap__node { position: absolute; display: grid; place-items: center; transform: translate(-50%, -50%); width: 29px; height: 29px; padding: 0; border: 3px solid #fff; border-radius: 50% !important; background: #fff; z-index: 5; }
.app-roadmap__node > span:not(.app-roadmap__status) { width: 19px; height: 19px; border: 2px solid #8893a4; border-radius: 50%; }
.app-roadmap__node .app-roadmap__status { width: 26px; height: 26px; border-width: 0; }
.app-roadmap__arrow { position: absolute; top: calc(var(--track-top) - 7px); width: 56px; height: calc(var(--roadmap-track-height, 144px) + 14px); border: 0; border-radius: 0; padding: 0; background: transparent; color: var(--segment-color); z-index: 1; }
.app-roadmap__arrow:hover { filter: brightness(.95); }
.app-roadmap__arrow svg { width: 100%; height: 100%; }
.app-roadmap__arrow--unplanned svg path { fill: #fff; stroke: currentColor; stroke-width: 4px; stroke-dasharray: 18 14; stroke-linecap: round; stroke-linejoin: round; }
.app-roadmap__legend { grid-column: 1; grid-row: 2; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; column-gap: 16px; row-gap: 8px; color: #53617b; font-size: 11px; }
.app-roadmap__legend > span, .app-roadmap__continues, .app-roadmap__status-key > span { display: inline-flex; align-items: center; gap: 8px; }
.app-roadmap__legend > span { white-space: nowrap; }
.app-roadmap__swatch { display: inline-block; flex-shrink: 0; width: 17px; height: 17px; border-radius: 3px; }
.app-roadmap__swatch--complete { background: #7945df; }
.app-roadmap__swatch--remaining { background: #d9c4fa; }
.app-roadmap__swatch--time { height: 8px; border: 1px solid #a7bacb; background: linear-gradient(to right, #496f91 50%, #fff 50%); }
.app-roadmap__swatch--planned { background: #edf1f6; border: 1px solid #d3dce9; }
.app-roadmap__swatch--unplanned { background: #fff; }
.app-roadmap__swatch--unplanned rect { x: 1.5px; y: 1.5px; width: calc(100% - 3px); height: calc(100% - 3px); rx: 3px; stroke-width: 3px; stroke-dasharray: 4 5; }
.app-roadmap__milestone-key { flex-shrink: 0; width: 17px; height: 17px; border: 2px solid #344158; border-radius: 50%; }
.app-roadmap__continues { flex-shrink: 0; white-space: nowrap; color: #53617b; font-size: 11px; }
.app-roadmap__continues b { color: #8896ad; font-size: 23px; font-weight: 400; line-height: 17px; }
.app-roadmap__status-key { flex: 1 1 0; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 16px; min-width: 0; font-size: 11px; color: #53617b; }
.app-roadmap__status-key > span { max-width: 100%; }
.app-roadmap__status-key .app-roadmap__status { border-width: 2px; width: 23px; height: 23px; }
.app-roadmap__hint { min-width: 0; line-height: 1.35; text-align: left; color: #8490a4; font-size: 11px; }
.app-roadmap__empty { color: #60728c; font-size: 13px; margin: -8px 0 20px; }
.app-roadmap__notice { color: #915716; font-size: 12px; margin: 12px 0 0; }
/* Drawing uses horizontal pointer gestures; vertical scrolling remains available on touch screens. */
.app-roadmap__canvas { touch-action: pan-y; }
.app-roadmap__track { cursor: crosshair; }
.app-roadmap__drag-preview { position: absolute; height: var(--roadmap-track-height); box-sizing: border-box; border: 2px dashed #087cf0; background: #d9eaffbb; color: #123e78; padding: 8px; font-size: 12px; text-align: center; pointer-events: none; overflow: hidden; white-space: nowrap; z-index: 6; }
.app-roadmap__draft.app-roadmap__segment { height: auto; min-height: var(--roadmap-track-height); overflow: visible; border: 2px solid var(--segment-color); background: var(--segment-light); box-sizing: border-box; z-index: 6; container: roadmap-draft / inline-size; }
.app-roadmap__draft.app-roadmap__segment:hover { filter: none; z-index: 6; }
.app-roadmap__draft-fields { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 8px; box-sizing: border-box; z-index: 2; }
.app-roadmap__draft-fields > label { flex: 1; min-width: 0; margin: 0; }
.app-roadmap__draft-fields input[name=version] { font-size: 17px; padding: 8px; }
.app-roadmap__draft-dates { position: relative; display: block; margin-bottom: 12px; color: #18233e; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; z-index: 2; }
.app-roadmap__draft-range { position: absolute; top: -2px; left: -2px; width: var(--draft-range-width); height: 6px; background: var(--segment-color); z-index: 3; pointer-events: none; }
.app-roadmap__draft [data-draft-edge] { position: absolute; top: 0; height: 20px; width: 12px; padding: 0; border: 0; background: transparent; cursor: ew-resize; touch-action: none; z-index: 4; }
.app-roadmap__draft [data-draft-edge]::before { content: ""; position: absolute; top: 40%; bottom: 40%; left: 4px; width: 3px; border-radius: 3px; background: var(--segment-color); }
.app-roadmap__draft [data-draft-edge=start] { left: -5px; }
.app-roadmap__draft [data-draft-edge=end] { left: calc(var(--draft-range-width) - 8px); }
.app-roadmap__draft [data-draft-edge]:disabled { display: none; }
body.focus-mode .app-roadmap { display: none; }

.app-roadmap-dialog { position: fixed; inset: 0; width: min(610px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 1px solid #d9e3ef; border-radius: 18px; color: #18233e; background: #fff; box-shadow: 0 24px 80px #122c4b33; overflow: auto; }
.app-roadmap-dialog::backdrop { background: #162c4e66; backdrop-filter: blur(4px); }
.app-roadmap-dialog > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px 18px; border-bottom: 1px solid #e7edf4; }
.app-roadmap-dialog h2 { margin: 0; font-size: 24px; line-height: 1.2; letter-spacing: -.5px; overflow-wrap: anywhere; }
.app-roadmap-dialog h3 { font-size: 15px; margin: 22px 0 5px; }
.app-roadmap-dialog button { border: 1px solid #d9e3ef; border-radius: 8px; background: #fff; color: #355372; padding: 9px 13px; font-size: 13px; }
.app-roadmap-dialog button:hover { background: #f2f7fd; }
.app-roadmap-dialog [data-roadmap-close] { padding: 0; width: 32px; height: 32px; font-size: 24px; flex-shrink: 0; }
.app-roadmap-dialog__body { padding: 22px 24px; }
.app-roadmap-dialog__summary > div:first-child { display: flex; align-items: center; gap: 8px; }
.app-roadmap-dialog__summary strong { font-size: 20px; }
.app-roadmap-dialog__summary > div:first-child > span:last-child { font-size: 13px; color: #60728c; margin-left: auto; }
.app-roadmap-dialog__progress { height: 10px; margin-top: 12px; border-radius: 4px; overflow: hidden; background: var(--segment-light); }
.app-roadmap-dialog__progress > span { display: block; height: 100%; background: var(--segment-color); transition: width .25s; }
.app-roadmap-dialog__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 0; font-size: 13px; }
.app-roadmap-dialog__dates dt { color: #728198; margin-bottom: 5px; }
.app-roadmap-dialog__dates dd { font-weight: 650; margin: 0; }
.app-roadmap-dialog__notes { font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px 14px; background: #f6f8fc; border-radius: 8px; }
.app-roadmap-dialog__hint { color: #728198; font-size: 12px; line-height: 1.55; margin: 0 0 12px; }
.app-roadmap-dialog__projects { list-style: none; margin: 12px 0; padding: 0; }
.app-roadmap-dialog__projects li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; padding: 10px 0; border-bottom: 1px solid #edf1f6; font-size: 12px; overflow-wrap: anywhere; }
.app-roadmap-dialog__projects span { color: #728198; }
.app-roadmap-dialog__task-list { list-style: none; margin: 12px 0; padding: 0; }
.app-roadmap-dialog__task-list li + li { border-top: 1px solid #edf1f6; }
.app-roadmap-dialog__task-list button { display: flex; align-items: center; gap: 10px; text-align: left; width: 100%; padding: 11px 0; border: 0; }
.app-roadmap-dialog__task-list button > span:nth-child(2) { flex: 1; min-width: 0; }
.app-roadmap-dialog__task-list strong, .app-roadmap-dialog__task-list small { display: block; overflow-wrap: anywhere; }
.app-roadmap-dialog__task-list small { margin-top: 3px; color: #728198; font-size: 11px; }
.app-roadmap-dialog footer { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e7edf4; }
.app-roadmap-dialog footer > span { flex: 1; font-size: 11px; color: #728198; }
.app-roadmap-dialog .app-roadmap-dialog__primary { color: #fff; background: #087cf0; border-color: #087cf0; font-weight: 650; }
.app-roadmap-dialog .app-roadmap-dialog__primary:hover { background: #076bd0; }
.app-roadmap-form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 650; margin: 0 0 16px; }
.app-roadmap-form input:not([type=checkbox]):not([type=radio]), .app-roadmap-form select, .app-roadmap-form textarea { width: 100%; min-width: 0; border: 1px solid #ced9e7; border-radius: 8px; padding: 10px 11px; color: #18233e; background: #fcfdff; font: inherit; font-weight: 400; box-sizing: border-box; }
.app-roadmap-form textarea { resize: vertical; }
.app-roadmap-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-roadmap-form .app-roadmap-form__colors { display: grid; grid-template-columns: repeat(5, 28px); align-content: center; justify-content: start; gap: 8px; margin: 0 0 16px; }
.app-roadmap-form .app-roadmap-form__swatch { position: relative; display: block; width: 28px; height: 28px; margin: 0; cursor: pointer; }
.app-roadmap-form__swatch > span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--swatch-color); box-sizing: border-box; border: 2px solid #fff; box-shadow: 0 0 0 1px #ced9e7; }
.app-roadmap-form .app-roadmap-form__swatch > input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.app-roadmap-form__swatch:has(input:checked) > span { box-shadow: 0 0 0 2px #18233e; }
.app-roadmap-form__swatch:has(input:focus-visible) > span { outline: 3px solid #087cf0; outline-offset: 4px; }
.app-roadmap-form__status { font-size: 12px; line-height: 1.5; color: #728198; margin: 8px 0; }
.app-roadmap-form .app-roadmap-form__checkbox { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; }
.app-roadmap-form__checkbox span { color: #728198; font-size: 11px; font-weight: 400; }
.app-roadmap-form input[type=checkbox] { accent-color: #087cf0; width: 16px; height: 16px; flex-shrink: 0; }
.app-roadmap-form fieldset { min-width: 0; border: 0; margin: 20px 0; padding: 0; }
.app-roadmap-form [hidden] { display: none !important; }
.app-roadmap-form__date-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.app-roadmap-form__date-options label { display: flex; flex-direction: row; align-items: center; gap: 9px; margin: 0; padding: 12px; border: 1px solid #ced9e7; border-radius: 8px; background: #fcfdff; cursor: pointer; }
.app-roadmap-form__date-options label:has(input:checked) { border-color: #087cf0; background: #edf5ff; color: #123e78; }
.app-roadmap-form input[type=radio] { width: 16px; height: 16px; flex: 0 0 16px; margin: 0; accent-color: #087cf0; }
.app-roadmap-form__actual-dates { padding: 12px 14px; margin-bottom: 16px; border: 1px solid #d9e3ef; border-radius: 8px; background: #f6f9fd; }
.app-roadmap-form__actual-dates .app-roadmap-dialog__dates { margin: 0 0 12px; }
.app-roadmap-form__actual-dates p:last-child { margin-bottom: 0; }
.app-roadmap-form legend { margin-bottom: 10px; font-size: 13px; font-weight: 650; }
.app-roadmap-form legend span { color: #728198; font-weight: 400; }
.app-roadmap-form__tasks { max-height: 200px; overflow: auto; margin-top: 10px; border: 1px solid #e0e7f0; border-radius: 8px; padding: 4px 10px; }
.app-roadmap-form .app-roadmap-form__project { display: flex; flex-direction: row; align-items: center; gap: 10px; margin: 0; padding: 10px 0; font-weight: 400; cursor: pointer; }
.app-roadmap-form .app-roadmap-form__project[hidden] { display: none; }
.app-roadmap-form__project + .app-roadmap-form__project { border-top: 1px solid #edf1f6; }
.app-roadmap-form__project > span { min-width: 0; }
.app-roadmap-form__project strong, .app-roadmap-form__project small { display: block; overflow-wrap: anywhere; }
.app-roadmap-form__project strong { font-size: 12px; }
.app-roadmap-form__project small { font-size: 11px; margin-top: 3px; color: #728198; }
.app-roadmap-form__project:has(input:disabled) { opacity: .55; cursor: default; }
.app-roadmap-form [data-legacy-links] { margin-top: 10px; }
.app-roadmap-form__error { color: #b14325; font-size: 12px; line-height: 1.5; margin-bottom: 12px; }
.app-roadmap-form__error:empty { display: none; }
.app-roadmap-dialog .app-roadmap-form__remove { margin-right: auto; color: #a84231; }
.app-roadmap-inline-editor { position: relative; inset: auto; width: 50%; box-sizing: border-box; max-height: none; margin: 16px 0 0; border-radius: 12px; box-shadow: none; overflow: visible; background: #f8fbff; }
.app-roadmap-inline-editor > header { justify-content: flex-end; padding: 8px 12px 0; border: 0; }
.app-roadmap-inline-editor .app-roadmap-dialog__body { padding: 8px 20px 18px; }
.app-roadmap-inline-editor .app-roadmap-form__date-choice { margin: 0 0 16px; }
.app-roadmap-inline-editor footer { margin-top: 4px; }
.app-roadmap__draft-fields .app-roadmap-form__colors { grid-template-columns: repeat(5, 20px); gap: 6px; margin: 0; }
.app-roadmap__draft-fields .app-roadmap-form__swatch { width: 20px; height: 20px; }
@container roadmap-draft (max-width: 360px) {
  .app-roadmap__draft-fields { gap: 8px; }
  .app-roadmap__draft-fields .app-roadmap-form__colors { grid-template-columns: repeat(5, 14px); gap: 4px; }
  .app-roadmap__draft-fields .app-roadmap-form__swatch { width: 14px; height: 14px; }
}
.app-roadmap__draft > .app-roadmap-inline-editor { width: 100%; margin: 0; border: 0; border-radius: 0; background: var(--segment-light); z-index: 2; }
.app-roadmap__draft .app-roadmap-dialog__body { padding: 24px 10px 10px; text-align: left; }
.app-roadmap__draft .app-roadmap-form__tasks { max-height: 140px; }
.app-roadmap__draft .app-roadmap-form__colors { flex: 0 0 auto; }
.app-roadmap__draft footer { padding-top: 12px; }
.app-roadmap-form__use-trello[aria-pressed=true] { border-color: #087cf0; background: #edf5ff; color: #123e78; }
.app-roadmap-inline-editor [data-manual-dates][hidden], .app-roadmap-inline-editor [data-trello-dates][hidden], .app-roadmap-inline-editor .app-roadmap-dialog__dates[hidden] { display: none; }
@media (max-width: 900px) {
  .app-roadmap-inline-editor { width: 100%; }
}
@media (max-width: 1100px) {
  .app-roadmap__controls { flex-direction: column; align-items: flex-end; gap: 10px; }
}
@media (max-width: 700px) {
  /* Wrapped sticky controls would cover the roadmap on narrow screens. */
  #gantt-container:has(.app-roadmap) .my-week-strip-row { position: relative; top: auto; }
  .app-roadmap { padding: 18px 14px 14px; border-radius: 14px; }
  .app-roadmap__header { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 12px; }
  .app-roadmap h2 { grid-column: 1; font-size: 21px; }
  .app-roadmap__header-actions { grid-column: 1; grid-row: 4; justify-content: space-between; flex-wrap: nowrap; }
  .app-roadmap__legend { grid-row: 3; column-gap: 16px; row-gap: 10px; }
  .app-roadmap__timeline { grid-template-columns: 94px minmax(0, 1fr); }
  .app-roadmap__track-heading { width: 86px; }
  .app-roadmap__track-label { font-size: 12px; }
  .app-roadmap__status-key { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; font-size: 10px; }
  .app-roadmap__status-key > span { gap: 5px; }
  .app-roadmap-dialog > header, .app-roadmap-dialog__body { padding: 18px; }
  .app-roadmap-dialog h2 { font-size: 21px; }
  .app-roadmap-form__row { gap: 10px; }
  .app-roadmap-form__date-options { grid-template-columns: 1fr; }
  .app-roadmap-dialog__summary strong { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .app-roadmap__fill, .app-roadmap-dialog__progress > span { transition: none; }
}
