.milestones-panel,.correlations-panel{margin-top:18px}.milestone-grid,.correlation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px}.milestone-grid>div,.correlation-grid>div{display:grid;gap:6px;align-content:start;min-width:0;padding:14px 0;border-top:1px solid #e1e9e5;border-bottom:1px solid #e1e9e5}.milestone-grid span,.milestone-grid small,.correlation-grid span,.correlation-grid small{color:var(--muted)}.milestone-grid span,.correlation-grid span{display:inline-flex;align-items:center;gap:6px}.milestone-grid small,.correlation-grid small{line-height:1.35}.milestone-grid strong{font-size:1.35rem;line-height:1.1}.correlation-grid strong{font-size:1.12rem;line-height:1.2}.correlation-grid>div.needs-data strong{color:var(--muted);font-size:1rem;font-weight:700}.milestone-note,.correlation-note{margin:14px 0 0;color:var(--muted);line-height:1.45}.correlation-empty{display:grid;gap:7px;padding:14px;background:var(--blue-soft);border-left:4px solid var(--blue);border-radius:8px}.correlation-empty p{margin:0;color:#2c4b68;line-height:1.45}:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#1d2927;background:#f4f7f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ink: #1d2927;--muted: #60716d;--panel: #ffffff;--line: #dbe4df;--green: #4b7f64;--green-soft: #e6f1eb;--amber: #bf7f24;--amber-soft: #fff2dc;--red: #bd5c4a;--red-soft: #fae7e2;--blue: #4e6e8e;--blue-soft: #e7edf5;--shadow: 0 18px 50px rgba(33, 55, 51, .11)}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}.app-shell{width:min(1180px,calc(100% - 32px));margin:0 auto;padding:34px 0 54px}.app-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:8px 0 26px}.app-header h1{margin:4px 0 8px;font-size:clamp(2.2rem,5vw,4.2rem);line-height:.95;letter-spacing:0}.app-header p{margin:0;color:var(--muted);font-size:1.08rem}.eyebrow,.panel-kicker{display:inline-flex;align-items:center;gap:7px;color:var(--blue);font-size:.78rem;font-weight:760;letter-spacing:.08em;text-transform:uppercase}.ghost-button,.primary-button,.icon-button,.range-control button,.segmented-control button{border:0;border-radius:8px;transition:transform .16s ease,border-color .16s ease,background .16s ease}.header-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.ghost-button{display:inline-flex;align-items:center;gap:8px;flex:0 0 auto;min-height:42px;padding:0 14px;color:var(--ink);background:#fff;border:1px solid var(--line)}.ghost-button:hover,.primary-button:hover,.icon-button:hover,.range-control button:hover,.segmented-control button:hover{transform:translateY(-1px)}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}.metric-tile,.panel{background:var(--panel);border:1px solid var(--line);border-radius:8px;box-shadow:var(--shadow)}.metric-tile{display:grid;gap:6px;min-height:122px;padding:18px}.metric-tile span,.metric-tile small,.entry-row small{color:var(--muted)}.metric-tile strong{font-size:1.85rem;line-height:1}.dashboard-grid,.work-grid{display:grid;gap:18px}.dashboard-grid{grid-template-columns:minmax(0,1.65fr) minmax(310px,.85fr);align-items:stretch}.work-grid{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-top:18px}.sync-status{margin:0;font-weight:640}.sync-hint{margin:0;color:var(--muted);font-size:.88rem;line-height:1.4}.lower-grid{margin-top:18px}.panel{padding:22px}.forecast-panel{min-width:0}.readout-panel{margin-top:18px}.panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.panel-heading h2{margin:6px 0 0;font-size:1.28rem;line-height:1.12}.legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;color:var(--muted);font-size:.82rem}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{width:18px;height:3px;border-radius:999px}.legend-actual{background:var(--green)}.legend-trend{background:var(--ink)}.legend-forecast{background:var(--blue)}.legend-target{background:var(--amber)}.graph-shell{position:relative;min-width:0;overflow:hidden}.forecast-svg{display:block;width:100%;min-height:260px}.axis-line{stroke:#c8d3cd;stroke-width:2}.grid-line{stroke:#e6eeea;stroke-width:1.5}.today-line{stroke:#9eb1aa;stroke-dasharray:6 7;stroke-width:2}.actual-path,.forecast-path,.target-path{fill:none;stroke-linecap:round;stroke-linejoin:round}.actual-path{stroke:var(--green);stroke-width:3;opacity:.55}.trend-path{fill:none;stroke:var(--ink);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}.forecast-path{stroke:var(--blue);stroke-dasharray:9 8;stroke-width:4}.target-path{stroke:var(--amber);stroke-dasharray:5 7;stroke-width:3}.actual-dot{fill:#fff;stroke:var(--green);stroke-width:3}.hover-band{fill:transparent;cursor:crosshair}.hover-line{stroke:#253632;stroke-dasharray:4 7;stroke-width:1.6;opacity:.42}.hover-dot{fill:#fff;stroke-width:3}.hover-dot.actual{stroke:var(--green)}.hover-dot.forecast{stroke:var(--blue)}.hover-dot.target{stroke:var(--amber)}.forecast-tooltip{position:absolute;z-index:2;display:grid;gap:4px;min-width:148px;padding:10px 12px;color:#fff;background:#1f2d2a;border:1px solid rgba(255,255,255,.12);border-radius:8px;box-shadow:0 16px 35px #1829253d;font-size:.78rem;line-height:1.25;pointer-events:none}.forecast-tooltip.above.middle{transform:translate(-50%,calc(-100% - 12px))}.forecast-tooltip.below.middle{transform:translate(-50%,12px)}.forecast-tooltip.above.left{transform:translate(8px,calc(-100% - 12px))}.forecast-tooltip.below.left{transform:translate(8px,12px)}.forecast-tooltip.above.right{transform:translate(calc(-100% - 8px),calc(-100% - 12px))}.forecast-tooltip.below.right{transform:translate(calc(-100% - 8px),12px)}.forecast-tooltip strong{font-size:.84rem}.forecast-tooltip span{color:#d9e5e0}.planned-marker.green,.status-dot.green,.history-bar.green{background:var(--green);fill:var(--green)}.planned-marker.amber,.status-dot.amber,.history-bar.amber{background:var(--amber);fill:var(--amber)}.planned-marker.red,.status-dot.red,.history-bar.red{background:var(--red);fill:var(--red)}.graph-labels{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;color:var(--muted);font-size:.82rem}.graph-labels span:nth-child(2){text-align:center}.graph-labels span:nth-child(3){text-align:right}.assistant-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.assistant-message{display:flex;flex-direction:column;gap:7px;padding:14px;background:#eef5f1;border-left:4px solid var(--green);border-radius:8px}.assistant-message span{color:var(--green);font-size:.72rem;font-weight:760;letter-spacing:.08em;text-transform:uppercase}.assistant-message p{margin:0;color:#273934;line-height:1.45}.assistant-message.watch{background:var(--amber-soft);border-left-color:var(--amber)}.assistant-message.watch span{color:var(--amber)}.long-history-panel,.maths-panel{margin-top:18px}.maths-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.maths-grid div{display:grid;gap:6px;min-width:0;padding:14px 0;border-top:1px solid #e1e9e5;border-bottom:1px solid #e1e9e5}.maths-grid span,.maths-grid small{color:var(--muted)}.maths-grid strong{font-size:1.35rem;line-height:1}.maths-notes{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:10px;margin-top:14px}.maths-notes p{margin:0;color:#344743;line-height:1.4}.range-control{display:grid;grid-template-columns:repeat(5,minmax(42px,1fr));gap:7px;min-width:280px}.range-control button{min-height:38px;padding:0 10px;color:var(--muted);background:#f8faf9;border:1px solid #d4ded9;font-size:.84rem;font-weight:850}.range-control button.selected{color:#2c4b68;background:var(--blue-soft);border-color:#aebfd2}.history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin-bottom:18px;border-block:1px solid #e0e8e4}.history-summary div{display:grid;gap:5px;min-height:86px;padding:15px 18px;border-right:1px solid #e0e8e4}.history-summary div:last-child{border-right:0}.history-summary span,.history-summary small{color:var(--muted)}.history-summary span{font-size:.78rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.history-summary strong{font-size:1.48rem;line-height:1}.long-history-chart{min-width:0;overflow:hidden}.history-svg{display:block;width:100%;min-height:250px}.history-path{fill:none;stroke:var(--blue);stroke-linecap:round;stroke-linejoin:round;stroke-width:4}.history-low-dot{fill:var(--green)}.history-high-dot{fill:var(--red)}.history-latest-dot{fill:#fff;stroke:var(--blue);stroke-width:3}.form-panel,.destination-panel{display:flex;flex-direction:column;gap:14px}label{display:grid;gap:7px;color:var(--muted);font-size:.88rem;font-weight:700}input{width:100%;min-height:44px;padding:0 12px;color:var(--ink);background:#f8faf9;border:1px solid #cfdad5;border-radius:8px}input:focus{border-color:var(--blue);outline:3px solid rgba(78,110,142,.15)}.input-with-unit{display:grid;grid-template-columns:1fr auto;align-items:center;background:#f8faf9;border:1px solid #cfdad5;border-radius:8px}.input-with-unit:focus-within{border-color:var(--blue);outline:3px solid rgba(78,110,142,.15)}.input-with-unit input{border:0;background:transparent;outline:0}.input-with-unit span{padding-right:12px;color:var(--muted);font-weight:800}.segmented-control{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.segmented-control button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:0 10px;color:var(--muted);background:#f8faf9;border:1px solid #d4ded9;font-size:.86rem;font-weight:800}.segmented-control .selected.green{color:#23503d;background:var(--green-soft);border-color:#9fc4af}.segmented-control .selected.amber{color:#74470d;background:var(--amber-soft);border-color:#e0ba78}.segmented-control .selected.red{color:#763326;background:var(--red-soft);border-color:#dc9b90}.status-dot{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:999px}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 16px;color:#fff;background:var(--green);font-weight:850}.primary-button.amber{background:var(--amber)}.bar-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(28px,1fr));align-items:end;gap:10px;min-height:180px;padding-top:8px}.bar-item{display:grid;gap:7px;align-items:end;justify-items:center;color:var(--muted);font-size:.76rem;min-width:0}.bar-track{display:flex;align-items:flex-end;width:100%;height:142px;padding:4px;background:#f0f4f2;border-radius:8px}.history-bar{width:100%;min-height:28px;border-radius:6px}.entry-list,.plan-list{display:grid;gap:10px}.entry-row,.plan-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:62px;padding:11px;background:#f8faf9;border:1px solid #e0e8e4;border-radius:8px}.entry-row div,.plan-row div{display:grid;gap:3px;min-width:0}.entry-row span,.plan-row span{color:var(--muted);font-size:.9rem}.entry-row strong,.plan-row strong{line-height:1.1}.status-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;padding:0 10px;border-radius:999px;font-size:.78rem;font-weight:850;white-space:nowrap}.status-pill.green{color:#23503d;background:var(--green-soft)}.status-pill.amber{color:#74470d;background:var(--amber-soft)}.status-pill.red{color:#763326;background:var(--red-soft)}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:#7c5048;background:#fff7f5;border:1px solid #edd1cb}.empty-state{margin:0;color:var(--muted)}@media(max-width:980px){.metric-grid,.work-grid,.dashboard-grid,.history-summary,.maths-grid,.maths-notes{grid-template-columns:1fr 1fr}}@media(max-width:700px){.app-shell{width:min(100% - 22px,1180px);padding-top:22px}.app-header,.panel-heading{flex-direction:column}.range-control{width:100%;min-width:0}.metric-grid,.work-grid,.dashboard-grid,.history-summary,.maths-grid,.maths-notes{grid-template-columns:1fr}.history-summary div{border-right:0;border-bottom:1px solid #e0e8e4}.history-summary div:last-child{border-bottom:0}.metric-tile{min-height:96px}.segmented-control{grid-template-columns:1fr}.entry-row,.plan-row{grid-template-columns:1fr auto}.entry-row .icon-button,.plan-row .icon-button{grid-column:2}}
