:root { color-scheme: light; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #25342e; background: #f7f8f5; font-synthesis: none; --green: #285d49; --muted: #69756e; --line: #e5e9e2; --label: 238px; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 900px; }
main { max-width: 1540px; margin: 0 auto; padding: 30px 56px 40px; }
button, input, select, textarea { font: inherit; }
button, select, input[type=date] { cursor: pointer; }
button { border: 1px solid #d5ddd3; background: #fff; color: #34473d; border-radius: 8px; padding: 10px 16px; font-size: 13px; font-weight: 600; transition: background .12s; }
button:hover { background: #edf2eb; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.primary { background: var(--green); border-color: var(--green); color: #fff; }
button.primary:hover { background: #194735; }
button.danger { color: #a33731; }
:focus-visible { outline: 3px solid #3576b6; outline-offset: 3px; }
[hidden] { display: none !important; }
.roadmap-header { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin: 12px 0 38px; }
.identity { flex: 1; min-width: 0; }
input.title { display: block; width: 100%; font-size: clamp(28px, 3.1vw, 44px); font-weight: 600; letter-spacing: -1.7px; color: #24372d; background: transparent; padding: 3px 0; border: 1px solid transparent; border-radius: 4px; }
input.title:hover, .metadata input:hover { border-bottom-color: #a1b5a5; }
.metadata { display: flex; align-items: center; gap: 12px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.metadata input { width: 170px; padding: 4px 0; background: transparent; color: #52675a; border: 1px solid transparent; }
.metadata input::placeholder { color: #69756e; }
.meta-dot { color: #8f9b91; }
.header-actions { display: flex; gap: 10px; flex-shrink: 0; }
.roadmap-card { background: #fff; border: 1px solid #dfe5dc; border-radius: 14px; box-shadow: 0 4px 18px #233d2910; overflow: hidden; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 28px; }
.range-heading h1 { font-size: 16px; font-weight: 600; margin: 0 0 7px; letter-spacing: -.3px; }
.range-heading > span { color: var(--muted); font-size: 12px; }
.view-controls { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.view-controls input, .view-controls select { padding: 8px; border: 1px solid var(--line); border-radius: 7px; color: #34473d; background: #fff; font-size: 12px; }
.view-controls button { padding: 9px 11px; font-size: 12px; }
#timeline { padding-right: 28px; }
.axis, .project-row { display: grid; grid-template-columns: var(--label) minmax(0, 1fr); }
.axis { height: 66px; background: #fafbf8; border-block: 1px solid var(--line); }
.axis-label { font-size: 10px; letter-spacing: 1.5px; font-weight: 600; color: var(--muted); padding: 22px 28px; }
.axis-track { position: relative; border-left: 1px solid var(--line); }
.tick-label { position: absolute; top: 17px; font-size: 11px; color: #647265; white-space: nowrap; padding-left: 8px; }
.today-label { position: absolute; top: 44px; font-size: 8px; font-weight: 800; letter-spacing: .5px; color: var(--green); transform: translateX(-50%); background: #e5f1e9; padding: 3px 5px; border-radius: 3px; z-index: 2; }
.project-row { min-height: 78px; border-bottom: 1px solid #eef1eb; }
.project-label { display: flex; align-items: center; gap: 12px; padding: 18px 20px 18px 28px; border: 0; border-radius: 0; text-align: left; min-width: 0; font-weight: 500; font-size: 13px; }
.project-dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; border: 1px solid #00000015; }
.project-label-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.project-lane { position: relative; min-width: 0; border-left: 1px solid var(--line); }
.grid-line { position: absolute; inset-block: 0; border-left: 1px solid #eef1eb; pointer-events: none; }
.today-line { position: absolute; inset-block: 0; border-left: 1px dashed #67967e; z-index: 1; pointer-events: none; }
.project-bar { position: absolute; top: 21px; height: 36px; min-width: 5px; border: 1px solid #00000010; border-radius: 6px; padding: 0; color: #17251e; text-align: left; cursor: grab; z-index: 2; touch-action: none; user-select: none; }
.project-bar:hover { filter: brightness(.98); }
.bar-text { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 13px; pointer-events: none; font-size: 12px; font-weight: 500; }
.project-bar.dragging { cursor: grabbing; box-shadow: 0 4px 12px #20372b30; z-index: 3; }
.project-bar.clipped-start { border-left: 3px dotted #45584d; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.project-bar.clipped-end { border-right: 3px dotted #45584d; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.resize-handle { position: absolute; top: 0; bottom: 0; width: min(8px, 35%); cursor: ew-resize; }
.resize-handle.start { left: 0; }
.resize-handle.end { right: 0; }
.resize-handle::after { content: ''; position: absolute; height: 12px; top: 11px; left: 3px; border-left: 1px solid #25342e65; opacity: 0; }
.project-bar:hover .resize-handle::after { opacity: 1; }
.outside-range { position: absolute; top: 30px; left: 16px; font-size: 11px; color: #737e75; }
.empty { text-align: center; padding: 48px 24px 52px; }
.empty-icon { display: inline-block; font-size: 23px; color: #a9c7b5; line-height: .6; text-align: left; padding-bottom: 14px; }
.empty h2 { font-size: 22px; font-weight: 500; letter-spacing: -.5px; margin: 15px 0 10px; }
.empty p { color: var(--muted); font-size: 13px; margin: 0 0 23px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 28px; background: #fdfefb; }
.card-footer > span { color: var(--muted); font-size: 11px; }
.card-footer button { border: none; background: transparent; padding-left: 0; color: var(--green); }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 22px 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.footer-note { font-style: italic; }
.notice { background: #fff3d7; border: 1px solid #e7d0a0; border-radius: 8px; padding: 14px 18px; margin-top: 22px; font-size: 13px; line-height: 1.6; }
.recovery { margin-top: 60px; max-width: 660px; }
.recovery p { line-height: 1.7; color: var(--muted); }
.recovery button { margin-right: 10px; }
dialog { border: 1px solid #dbe3d8; border-radius: 16px; padding: 30px; width: 580px; max-height: calc(100vh - 40px); color: #25342e; box-shadow: 0 24px 100px #132d3030; }
dialog::backdrop { background: #16281f66; backdrop-filter: blur(3px); }
dialog h2 { font-size: 24px; letter-spacing: -.5px; font-weight: 600; margin: 8px 0 22px; }
dialog p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.dialog-heading { display: flex; justify-content: space-between; align-items: start; }
.eyebrow { color: #667e6d; font-size: 10px; letter-spacing: 1.7px; font-weight: 700; }
.icon-button { border: 0; padding: 0 8px; font-size: 27px; font-weight: 400; line-height: 1; }
dialog label, dialog legend { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
dialog input:not([type=radio]), dialog textarea { width: 100%; border: 1px solid #ccd7cb; border-radius: 7px; background: #fcfdfb; padding: 11px 12px; color: #25342e; font-size: 14px; }
dialog input[aria-invalid=true] { border-color: #b14439; }
dialog textarea { resize: vertical; margin-bottom: 18px; line-height: 1.5; }
.date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.optional { font-weight: 400; color: var(--muted); float: right; font-size: 11px; }
.field-error { display: block; color: #a53730; font-size: 12px; min-height: 21px; padding-top: 3px; }
fieldset { border: 0; padding: 0; margin: 0; }
#palette { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; padding: 4px; }
.swatch { position: relative; height: 27px; border-radius: 5px; margin: 0; cursor: pointer; border: 1px solid #00000015; }
.swatch input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; appearance: none; cursor: pointer; border-radius: 4px; }
.swatch:has(input:checked) { outline: 2px solid #355d46; outline-offset: 3px; }
.swatch:has(input:checked)::after { content: '✓'; position: absolute; inset: 2px 0; text-align: center; pointer-events: none; color: #17251e; }
.dialog-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; }
.dialog-actions > div { display: flex; gap: 10px; margin-left: auto; }
#tooltip { position: fixed; width: 340px; max-height: calc(100vh - 24px); overflow: auto; padding: 18px; border: 1px solid #d7e0d3; border-radius: 10px; background: #fff; box-shadow: 0 8px 30px #172e2526; z-index: 10; overflow-wrap: anywhere; font-size: 13px; }
#tooltip strong { font-size: 15px; }
#tooltip h3 { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 16px 0 5px; }
#tooltip p { margin: 6px 0 0; line-height: 1.5; }
.tip-body { white-space: pre-wrap; }
.tip-dates { color: var(--muted); font-size: 11px; }
#toast:not(:empty) { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); border-radius: 8px; background: #243e30; color: #fff; padding: 12px 20px; box-shadow: 0 4px 15px #0002; font-size: 13px; z-index: 30; pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 1100px) { main { padding-inline: 28px; } :root { --label: 190px; } .toolbar { padding-inline: 20px; } .range-heading h1 { font-size: 14px; } .roadmap-header { gap: 18px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
