/* Revision 02: horizontal history, neutral surfaces, individual branch colors. */
.section-heading>.branch-badge{color:var(--branch-color,#356bdf);font-size:9px}
:root{--paper:#f4f5f7;--ink:#20262d;--soft:#68727e;--line:#e2e6eb;--wash:#e9edf1;--violet:#356bdf;--violet-dark:#20262d;--violet-tint:#e9eff6;--muted-violet:#68798f}
.shell{max-width:1510px;padding:0 42px}.topbar{height:83px}.brand{font-size:25px}.brand svg{stroke:#de5938;transform:rotate(-90deg)}.brand span{font-size:11px}.nav-button{font-size:13px;padding:9px 18px}.nav-button.active{color:var(--ink);background:#fff;box-shadow:0 1px 5px #20262d0b}.avatar{background:#e1e6ed;color:#465362;font-size:12px}.page-heading{padding:32px 0 27px}.eyebrow{font-size:11px}h1{font-size:clamp(35px,3.5vw,48px)}.intro{font-size:14px}.fz-btn{font-size:13px;padding:13px 18px}.workspace{display:flex;flex-direction:column;gap:22px}.graph-panel{border-color:#dce2e8;border-radius:26px;width:100%;min-width:0;box-shadow:0 3px 10px #20262d03}.panel-head{padding:22px 26px 17px}.graph-date{display:flex;align-items:center;gap:13px}.calendar-icon{width:37px;height:40px;display:grid;place-items:center;border:1px solid #dde2e8;border-radius:10px;font-weight:600;position:relative;padding-top:4px}.calendar-icon:before{content:'';position:absolute;top:7px;left:9px;right:9px;border-top:2px solid #a4adb9}.panel-head h2{font-size:19px}.panel-head p{font-size:11px;margin-top:5px}.live-pill{font-size:10px;color:var(--soft);padding:0;background:none}.live-pill i{background:#168579}.graph-toolbar{padding:0 26px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.lane-key{display:flex;align-items:center;flex-wrap:wrap;gap:17px;font-size:10px;height:auto;margin:0}.lane-key span{display:flex;align-items:center;gap:6px;transform:none}.legend-dot{width:7px;height:7px;background:var(--branch-color);border-radius:50%}.graph-hint{font-size:10px;color:var(--soft)}.graph-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#c5cdd6 transparent;background-color:#fafbfd;background-image:radial-gradient(circle,#cfd7e0 .8px,transparent .9px);background-size:16px 16px;border-block:1px solid var(--line)}.graph-body{position:relative;height:426px;min-width:1120px;margin:0}.graph-body svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}.graph-line{fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.main-line{stroke:#9ba7b6}.branch-line{stroke:var(--branch-color)}.continuation-line{stroke-dasharray:3 6;opacity:.6}#timeline{list-style:none;margin:0;padding:0;position:absolute;inset:0}.event{position:absolute;width:160px;height:auto;display:block;margin:0;padding:0;border:0;--branch-color:#738294}.event.event-commit:hover,.event.selected{background:transparent}.event-title{display:flex;align-items:flex-start;flex-direction:column;gap:13px;width:160px;border:0;background:transparent;padding:0;color:var(--ink);font:500 12px/1.45 var(--text);text-align:left;cursor:pointer;position:relative}.node-dot{width:18px;height:18px;border-radius:50%;border:3px solid #fafbfd;background:var(--branch-color);box-shadow:0 0 0 1px var(--branch-color);flex:none;transition:box-shadow .2s}.node-label{display:block;max-width:156px;border-radius:7px;padding:4px 6px;margin:-4px 0 0 -6px;background:#fafbfdea}.event-title:hover .node-label,.event.selected .node-label{background:#fff;box-shadow:0 2px 8px #20262d10}.event-title:hover .node-dot,.event.selected .node-dot{box-shadow:0 0 0 4px white,0 0 0 6px var(--branch-color)}.event.selected .node-label{font-weight:600;color:var(--branch-color)}.event-detail{display:block;font-size:9px;color:var(--soft);font-weight:400;margin-top:3px;max-width:none}.event-time{display:none}.event-structural .event-title{cursor:pointer}.event-structural .node-dot{background:#fafbfd;border:3px solid var(--branch-color);box-shadow:none}.event-structural .node-label{font-size:10px;color:var(--branch-color);font-weight:500}.event-start .node-label{position:absolute;top:-38px;white-space:nowrap}.event-start .node-dot,.event-branch .node-dot{width:13px;height:13px;margin:2.5px}.event-branch .node-label{position:absolute;top:-33px;white-space:nowrap}.event-merge .node-dot{border-radius:4px;transform:rotate(45deg);width:13px;height:13px;margin:2.5px}.event-merge .node-label{position:absolute;top:-35px;white-space:nowrap}#graph-axis{position:absolute;bottom:0;height:29px;left:0;right:0;background:#fafbfde6;border-top:1px solid #e4e9ef;font-size:9px;color:#7a8592}#graph-axis span{position:absolute;top:8px;transform:translateX(-50%)}.graph-footer{gap:20px;padding:14px 25px;font-size:10px;margin:0;background:#fff;border:0}.graph-footer p{margin:0;color:var(--soft);font-size:10px}.continuing{font-size:16px;color:#66788d;margin-right:5px}.graph-help{color:#8a949f;margin:auto}.text-button{color:var(--ink);font-size:11px}aside{display:grid;grid-template-columns:1.1fr .85fr 1fr;gap:22px;align-items:stretch}.commit-panel,.branch-panel,.detail-panel{background:#fff;border:1px solid var(--line);border-radius:24px;padding:23px;min-width:0}.section-heading h2,.commit-panel h2{font-size:20px}.section-heading{gap:9px}.section-heading>span:not(.branch-badge){color:var(--soft);font-size:11px}.small-mark{display:grid;place-items:center;background:#eef2f6;width:25px;height:25px;border:0;border-radius:8px;font-size:20px!important;color:#6a798b!important;margin:0}.commit-panel>p{color:var(--soft);font-size:11px;margin:9px 0 18px;max-width:none}label{font-size:10px;margin:13px 0 6px}select,textarea,input{border-color:#dae0e7;border-radius:10px;background:#fbfcfd;padding:10px 11px;font-size:11px}textarea{min-height:71px}textarea::placeholder,input::placeholder{color:#83909d}.form-bottom{margin-top:10px}.form-bottom>span{font-size:9px;color:var(--soft)}.form-bottom .fz-btn{padding:11px 18px;font-size:12px;background:var(--ink)}.branch-row{gap:9px;padding:21px 0}.branch-symbol{font-size:25px;color:var(--branch-color)}.branch-row strong{font-size:11px}.branch-row small{font-size:9px;margin-top:4px}.branch-row .text-button{font-size:9px}.helper{font-size:10px;margin-top:17px;line-height:1.7}.detail-panel{display:flex;flex-direction:column}.branch-badge{font-size:9px;font-weight:500;border:1px solid currentColor;color:var(--branch-color,#356bdf);border-radius:99px;padding:4px 8px}.detail-panel>h3{font:600 23px/1.15 var(--display);letter-spacing:-.02em;margin:15px 0 0}.detail-panel>p:not(.muted){font-size:12px;line-height:1.8;color:var(--soft);margin:11px 0 26px}.muted{font-size:10px}.detail-panel>.muted{margin:14px 0 0}.version-note{gap:10px;border-top:1px solid var(--line);padding-top:18px;margin: auto 0 0}.version-seal{font:600 11px var(--text);color:#596a80;background:#edf1f6;padding:8px;border-radius:9px;flex:none;width:auto;height:auto;border:0}.version-note strong{font-size:11px}.version-note .muted{font-size:9px}.comparison,.concept-intro{background:#e8eef5}.comparison-foot{border-color:#ccd7e3}.tag{background:#e9effa;color:#365c92}.concept-intro p{color:#506074}.detail-callout{background:#e9effa;color:#365c92}dialog{background:#fff}dialog::backdrop{background:#20262d50}
@media(min-width:1450px){.shell{padding:0 50px}}
@media(max-width:1050px){.shell{padding:0 25px}aside{grid-template-columns:1fr 1fr}.detail-panel{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:5px 25px}.detail-panel .section-heading,.detail-panel>.muted{grid-column:1/-1}.detail-panel .version-note{grid-column:2;grid-row:3/5}.detail-panel>p:not(.muted){margin-bottom:0}.graph-help{display:none}.graph-footer .text-button{margin-left:auto}.brand span{display:none}}
@media(max-width:760px){.topbar{height:auto}.graph-body svg{width:100%}#timeline{margin:0}.graph-body{margin:0}.lane-key{margin:0;gap:12px}.lane-key span{transform:none}.event{height:auto;padding:0}.event-title{font-size:12px}.event-time{display:none}.panel-head h2{font-size:16px}.calendar-icon{display:none}.graph-toolbar{padding:0 17px 15px;align-items:start;flex-direction:column;gap:10px}.graph-hint{font-size:9px}.graph-footer{padding:12px 17px;gap:10px}.graph-footer p{font-size:9px}.graph-footer .text-button{font-size:9px}.workspace{gap:18px}.commit-panel label,select,textarea{font-size:12px}}
@media(max-width:650px){.shell{padding:0 18px}.page-heading{padding:27px 0 24px;gap:18px}.page-heading h1{font-size:38px;max-width:14ch}.eyebrow{font-size:10px}.intro{font-size:12px;max-width:34ch;line-height:1.6}.page-heading>.fz-btn{padding:11px 15px}.graph-panel{border-radius:22px}.panel-head{padding:19px 17px 16px}.panel-head p{font-size:10px}.live-pill{font-size:8px}aside{grid-template-columns:1fr;gap:18px}.detail-panel{display:flex;grid-column:auto}.detail-panel .version-note{margin-top:25px}.commit-panel,.branch-panel,.detail-panel{padding:23px;border-radius:22px}.branch-row strong{font-size:12px}.form-bottom>span{font-size:10px}.form-bottom{flex-wrap:nowrap}}
