/* Wave 2 (13 Sept 2026) - every NEW style for the wave-two slices lives here; app.css / shell.css /
   print-roadmap.css are untouched. Tokens come from shell.css. Slices append their own section below.
   ---------------------------------------------------------------------------------------------- */

/* ===== W0: Lisa's four notes ===== */

/* 1. goal + success statement as ONE unit at the same weight (Plan tab).
      The statement textarea takes the title input's exact type: 20px / 700 / the body ink. */
.goal-unit{display:block}
.goal-success{margin:4px 0 2px 0}
.goal-success-label{display:block;margin:0 0 -2px 0}
textarea.goal-success-input{display:block;font:inherit;font-size:20px;font-weight:700;line-height:1.3;color:var(--ink);
  border:1px solid transparent;background:transparent;width:min(760px,100%);padding:4px 8px;margin-left:-8px;border-radius:10px;
  resize:none;overflow:hidden;min-height:1.3em;field-sizing:content}
textarea.goal-success-input::placeholder{color:var(--faint);font-weight:600}
textarea.goal-success-input:hover{border-color:var(--line);background:var(--panel)}
textarea.goal-success-input:focus{border-color:var(--accent);background:#fff;outline:none;box-shadow:0 0 0 3px var(--focus)}
#view textarea.goal-success-input:disabled{background:transparent;border-color:transparent}
/* the read-only heading version (Roadmap + Capacity tabs): statement at the h3's size and weight */
.goal-heading h3{margin:0}
.goal-heading .goal-success-label{display:block;margin:6px 0 0 0}
.goal-heading .goal-success-text{font-size:17px;font-weight:700;line-height:1.3;margin:0}
/* the printed roadmap: statement at the title's size (1.25em, 700), namespaced like the rest of the sheet */
.rmp-goal-success{display:flex;align-items:baseline;gap:.5em;margin:0 0 .35em 0;line-height:1.2}
.rmp-success-label{font-size:.75em;color:#5C717F;text-transform:uppercase;letter-spacing:.04em;font-weight:700;flex:none}
.rmp-success-text{font-size:1.25em;font-weight:700}

/* 3. last edited, at the top of the sheet under the plan name */
.last-edited{font-size:12.5px;color:var(--muted);font-weight:600;margin:2px 0 0 0;min-height:1.4em}
.last-edited:empty{display:none}
@media print{.last-edited{color:#000;margin-top:2px}}

/* 4. Settings > Colours: three swatch-row radio choices */
.pal-opt{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 12px;border-radius:14px;cursor:pointer;margin-top:6px;border:1px solid transparent}
.pal-opt:hover{background:var(--panel)}
.pal-opt.active{background:var(--panel);border-color:var(--line)}
.pal-opt input[type=radio]{accent-color:var(--accent);margin:0;width:18px;height:18px;flex:none}
.pal-name{font-weight:700;min-width:220px;display:flex;flex-direction:column;line-height:1.3}
.pal-swatches{display:flex;gap:6px;flex-wrap:wrap}
.pal-sw{display:inline-flex;align-items:center;justify-content:center;width:38px;height:28px;border-radius:999px;border:2px solid;font-size:12px;font-weight:700}

/* ===== W1: Measures tab + roadmap markers (13 Sept) ===== */

/* the goal heading row: title + (on the Roadmap tab) the measures marker beside it */
.goal-heading-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
/* traffic lights - colour is never the only carrier: every dot has its word beside it or in its title */
.tl{width:10px;height:10px;border-radius:50%;display:inline-block;flex:none;vertical-align:middle}
.tl-green{background:#1C7346}.tl-amber{background:#C77D0A}.tl-red{background:#B3261E}.tl-grey{background:#9AA7AE}
.tl-closed{box-shadow:0 0 0 1.5px #fff,0 0 0 3px #144265}
/* status pill on the Measures tab */
.rag{display:inline-flex;align-items:center;gap:6px;padding:3px 10px 3px 7px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap;background:var(--panel);color:var(--ink)}
.rag-green{background:#E1F3E7;color:#1C7346}
.rag-amber{background:#FBEBD0;color:#8A5507}
.rag-red{background:var(--badbg);color:var(--badink)}
.rag-grey{background:#EEF1F2;color:#5C717F}
.rag-closed{display:inline-block;margin-left:4px;font-size:11px;font-weight:700;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 7px;white-space:nowrap;vertical-align:middle}
/* the measures table and the open row (details + actuals log) */
.measures-table th,.measures-table td{vertical-align:top}
.measures-table td.measure-cell{min-width:200px}
.measures-table input.measure-name{width:100%;min-width:180px;font-weight:600}
.measure-kind{display:flex;gap:6px;align-items:center;margin-top:4px}
.measure-kind select{padding:4px 6px;font-size:12.5px}
.measures-table input.measure-unit{width:64px;padding:4px 6px;font-size:12.5px}
.measures-table input.measure-num{width:78px}
.measures-table td.measure-acts{white-space:nowrap}
.measures-table input[type=date],.actuals-table input[type=date],.addform input[type=date]{font:inherit;font-size:12.5px;padding:4px 6px;border:1px solid var(--line);border-radius:8px;color:var(--ink);background:#fff}
.measures-table td.num input[type=date]{margin-top:4px}
.measure-latest{font-weight:600;max-width:200px;min-width:110px;line-height:1.3}
.rm-m-pop .small{overflow-wrap:anywhere}
tr.measure-open>td{background:var(--panel);padding:12px 16px;border-radius:14px}
.measure-detail>label{display:block;margin-bottom:4px}
textarea.measure-details{width:min(720px,100%);min-height:2.4em;resize:vertical;background:#fff}
.actuals-table{margin-top:6px;background:#fff;border-radius:12px;width:auto;min-width:min(720px,100%)}
.actuals-table th,.actuals-table td{padding:5px 8px}
textarea.actual-text{width:100%;min-width:240px;min-height:1.8em;resize:none;overflow:hidden;field-sizing:content}
/* the roadmap marker: icon + count + one light per in-progress measure; hover (or keyboard focus) opens the list */
.rm-measures{position:relative;display:inline-flex;align-items:center;gap:5px;padding:4px 10px 4px 8px;border-radius:999px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:12.5px;font-weight:700;color:var(--ink);line-height:1;user-select:none}
.rm-measures:hover,.rm-measures:focus-visible{border-color:var(--accent);background:#FCFDF7;outline:none;box-shadow:0 0 0 3px var(--focus)}
.rm-measures.rm-m-none{color:var(--muted)}
.rm-m-icon{width:15px;height:15px;flex:none}
.rm-m-n{margin-right:2px}
.rm-m-more{font-size:11px;color:var(--muted)}
.rm-m-pop{display:none;position:absolute;left:0;top:100%;margin-top:6px;z-index:5;background:#fff;box-shadow:var(--shadow-deep);border-radius:14px;padding:10px 14px;min-width:280px;max-width:440px;text-align:left;font-weight:500;line-height:1.4;cursor:default;color:var(--ink)}
.rm-measures:hover .rm-m-pop,.rm-measures:focus-visible .rm-m-pop{display:block}
.rm-m-pop ul{list-style:none;margin:0 0 6px 0;padding:0;display:flex;flex-direction:column;gap:6px}
.rm-m-pop li{display:flex;align-items:baseline;gap:7px}
.rm-m-pop li .tl{position:relative;top:1px}
.rm-m-name{font-weight:700}
.rm-m-hint{display:block;margin-top:2px}
@media print{.rm-measures{display:none}}
/* the printed roadmap: one small measures line under each goal, in em so the fit step scales it with the sheet */
.rmp-measures{display:flex;flex-wrap:wrap;align-items:baseline;gap:.2em .9em;font-size:.8em;margin:-.15em 0 .35em 0;line-height:1.25}
.rmp-m{display:inline-flex;align-items:center;gap:.3em;white-space:nowrap}
.rmp-tl{display:inline-block;width:.65em;height:.65em;border-radius:50%;flex:none}
.rmp-tl-green{background:#1C7346}.rmp-tl-amber{background:#C77D0A}.rmp-tl-red{background:#B3261E}.rmp-tl-grey{background:#9AA7AE}
.rmp-m-rag{color:#5C717F;font-weight:600}

/* the side-nav icon for the Measures tab (shell.css draws one per tab through --tab-icon; without it the mask is empty and a solid square shows) - a target, the same mark as the roadmap marker */
#tabs button[data-tab="measures"]{--tab-icon:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='8.5'/><circle cx='12' cy='12' r='4.5'/><circle cx='12' cy='12' r='1' fill='black'/></svg>")}

/* ===== W2: Allocate time by phase (13 Sept) ===== */

/* the goal line above its initiatives: the rolled-up goal total */
.alloc-goal-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0 8px 0;padding:6px 14px;border-left:6px solid var(--line);border-radius:12px;background:var(--card)}
.alloc-goal-title{font-size:16px;font-weight:700}
.alloc-goal-tot{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap}
/* one card per phase, inside the initiative card */
.phase-card{background:var(--panel);border-left:5px solid var(--line);border-radius:16px;padding:12px 16px;margin-top:12px}
.phase-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.phase-head input.phase-title{font-weight:700;font-size:15px;width:min(260px,100%)}
.phase-tot{font-size:13px;font-weight:700;color:var(--ink);white-space:nowrap;margin-right:4px}
.phase-people{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}
.phase-people-label{font-size:12px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.phase-people-label+select{margin-right:10px}
.resp-pills{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap}
.resp-pill{display:inline-flex;align-items:center;gap:5px;padding:3px 10px 3px 6px;border-radius:999px;background:#fff;border:1px solid var(--accent);color:var(--ink);font-size:12.5px;font-weight:700;cursor:pointer;white-space:nowrap}
.resp-pill input{margin:0;accent-color:var(--accent)}
select.resp-add{font-size:12.5px;padding:3px 6px}
.phase-actions{margin-top:10px}
.phase-actions h4{margin:0;font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.03em}
.ka-list{list-style:none;margin:6px 0 6px 0;padding:0;display:flex;flex-direction:column;gap:3px}
.ka-list li{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;font-size:13.5px}
.ka-tick{width:1.1em;flex:none;color:var(--accent);font-weight:700}
.ka-text{font-weight:600}
.ka-list li.ka-done .ka-text{color:var(--muted);text-decoration:line-through}
.phase-card .alloc-table{margin-top:10px;background:#fff;border-radius:12px}
.alloc-table tr.alloc-outside td{background:var(--warnbg)}
.phase-per-person{margin:6px 0 0 0}
.phase-warn{margin:8px 0 0 0;color:var(--muted)}
.phase-warn.loud{color:var(--warn);font-weight:700}
.phase-loose{margin-top:12px;border:1px dashed var(--warn);border-radius:16px;padding:10px 14px}
.phase-loose h4{margin:0;font-size:13px;color:var(--warn)}

/* ===== W4+W5: calendar events on the Gantt + capacity exceptions (13 Sept) ===== */

/* one soft tint per event type, never red; every band also carries its word (colour is never the only carrier) */
.ev-pld{background:#D2EAEB}
.ev-camp{background:#EAF7DF}
.ev-production{background:#E1F3E7}
.ev-other{background:#EEF3EA}
.ev-leave{background:repeating-linear-gradient(45deg,#fff 0 3px,#C9D6CF 3px 6px)}
.gantt td.ev-band{color:var(--ink);font-size:10.5px;font-weight:700;cursor:pointer;position:relative;
  max-width:none;padding:0;text-align:left;box-shadow:inset 0 -2px 0 rgba(20,66,101,.18);border-radius:8px}
/* the label is taken out of flow so a long title never widens the week columns; it clips with an ellipsis (the title attribute has it all) */
.gantt td.ev-band .ev-label{position:absolute;left:5px;right:3px;top:50%;transform:translateY(-50%);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}
.gantt td.ev-pld{box-shadow:inset 0 -2px 0 #34A0A4}
.gantt td.ev-camp{box-shadow:inset 0 -2px 0 #8CBF6A}
.gantt td.ev-production{box-shadow:inset 0 -2px 0 #57A163}
.gantt td.ev-other{box-shadow:inset 0 -2px 0 #9AA7AE}
.gantt td.ev-band:hover{filter:brightness(.96);outline:2px solid var(--accent);outline-offset:-2px}
.gantt tr.ev-lane td.rowh{padding:4px 12px}
.gantt tr.ev-lane td.ev-empty{cursor:copy}
.gantt td[data-pcell],.gantt td[data-gcell],.gantt td[data-heat]{cursor:copy}
.ev-add{padding:2px 9px;font-size:11.5px;margin-left:4px}
/* leave on a person's row: a hatch layered over whatever the cell shows (the heat class stays underneath) */
.gantt td.wk-leave{background-image:repeating-linear-gradient(45deg,rgba(255,255,255,0) 0 3px,rgba(92,113,127,.30) 3px 5px)}
/* the legend line under the chart key */
.ev-key{margin-top:-4px}
.ev-sw{display:inline-block;width:22px;height:12px;border-radius:4px;border:1px solid var(--line)}
/* the add / edit popover, pinned where the click landed */
.ev-pop{position:fixed;z-index:30;width:340px;max-width:calc(100vw - 16px);background:#fff;border-radius:16px;box-shadow:var(--shadow-deep);padding:12px 14px;color:var(--ink);font-size:13px}
.ev-pop-head{display:flex;align-items:center;gap:8px;margin-bottom:8px}
.ev-grid{display:grid;grid-template-columns:78px 1fr;gap:6px 8px;align-items:center}
.ev-grid>label{font-size:11.5px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.ev-grid input[type=text]{width:100%}
.ev-wk{display:flex;gap:6px;align-items:center}
.ev-msg{color:var(--bad);margin:6px 0;min-height:1em}
@media print{.ev-pop{display:none}}

/* People tab: the capacity exceptions mini-editor under a person */
.capex-toggle{margin-top:4px;padding:2px 9px;font-size:11.5px;white-space:nowrap}
tr.capex-row>td{background:var(--panel);padding:10px 14px}
.capex-box{display:flex;flex-direction:column;gap:6px}
.capex-lede{max-width:760px}
.capex-table{background:#fff;border-radius:12px;width:auto}
.capex-table th,.capex-table td{padding:4px 8px}
/* Gantt capacity-edit row: a week inside an exception - the pale blue tint with a dot, beside the override's sun tint */
td.capex{background:#D2EAEB;position:relative}
td.capex::after{content:'';position:absolute;top:1px;right:1px;width:4px;height:4px;border-radius:50%;background:#1A759F}
td.capex .capw{background:#D2EAEB;border-color:#1A759F}

/* ===== W6: plan sharing - role badge, the viewer's banner, the editor's line, the Sharing card (13 Sept) ===== */
.role-badge{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap;background:#EEF1F2;color:#40525E;border:1px solid var(--line)}
.role-badge.role-owner{background:var(--accent-soft);color:#2F6B3A}
.role-badge.role-admin{background:var(--warnbg);color:var(--warn)}
.role-badge.role-editor{background:#CDE1EA;color:#114C67;border-color:#B7D3E0}
.role-badge.role-viewer{background:#EEF1F2;color:#40525E}
.plan-bar #planRoleBadge{align-self:center}
.save-banner.view-only{background:#EAF2F6;color:#114C67}
.shared-note{font-size:12.5px;font-weight:600;color:#114C67;margin:6px 0 0 0}
.share-table{width:auto;min-width:min(620px,100%)}
.share-table td{vertical-align:middle}
.share-table td.share-email{font-weight:600;overflow-wrap:anywhere}
.share-table select{padding:4px 6px;font-size:13px}
.share-add{margin-top:10px;flex-wrap:wrap}
.share-add input[type=email]{font:inherit;width:min(280px,100%);border:1px solid var(--line);border-radius:10px;padding:6px 10px;background:#fff;color:var(--ink)}
.share-add select{padding:6px 8px}
.share-msg{margin:8px 0 0 0;font-weight:600}
.share-msg.ok{color:var(--ok)}
.share-msg.bad{color:var(--badink)}
@media print{#sharingCard,.shared-note,#planRoleBadge{display:none !important}}

/* ===== W7 (13 Sept, Lisa's 4pm notes): due dates, measures on the initiative timeline, the Plan tab as one tree, polish ===== */

/* roadmap: a measures row under an initiative's phases (and one for the whole goal) - a target mark + its light in the target date's column */
.rm-table tr.rm-mrow td.rm-mcell{height:26px;padding:2px 3px;text-align:center;vertical-align:middle;white-space:nowrap}
.rm-table td.rm-mrow-h{font-size:12px;font-weight:700;vertical-align:middle}
.rm-mk{display:inline-flex;align-items:center;gap:3px;padding:2px 6px 2px 4px;margin:1px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);cursor:pointer;line-height:1;font:inherit;font-size:11px}
.rm-mk .rm-m-icon{width:13px;height:13px}
.rm-mk:hover,.rm-mk:focus-visible{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px var(--focus)}
/* the marker's hover panel lives on <body> (the roadmap table scrolls sideways and would clip it) */
.rm-mk-pop{position:fixed;left:0;top:0;z-index:40;background:#fff;box-shadow:var(--shadow-deep);border-radius:14px;padding:10px 14px;min-width:240px;max-width:340px;color:var(--ink);font-size:13px;line-height:1.45;pointer-events:none}
.rm-mk-pop[hidden]{display:none}
.rm-mk-pop .small{font-size:12.5px}
.rm-mk-name{font-weight:700;margin-bottom:2px}
.rm-mk-rag{margin:4px 0 2px 0}
@media print{.rm-mk-pop{display:none !important}}
/* Measures tab: the link picker under the measure's type, and the row a marker drilled into */
.measure-link{display:flex;align-items:center;gap:6px;margin-top:4px;flex-wrap:wrap}
.measure-link select{padding:4px 6px;font-size:12.5px;max-width:260px}
.measures-table tr.measure-row.measure-focus>td{background:#F4FAEA;box-shadow:inset 0 2px 0 var(--accent),inset 0 -2px 0 var(--accent)}
/* printed roadmap: markers numbered as in the goal's Measures line */
.rmp .rmp-table tr.rmp-mrow td.rmp-cell{height:1.3em;padding:.04em .1em;white-space:nowrap}
.rmp .rmp-table td.rmp-mrow-h{font-size:.8em;color:#5C717F}
.rmp-mk{display:inline-flex;align-items:center;gap:.15em;border:1px solid #9AA7AE;border-radius:999px;padding:0 .3em 0 .18em;font-size:.72em;font-weight:700;line-height:1.3;margin:0 .05em;background:#fff;vertical-align:middle}
.rmp-mk .rmp-tl{width:.8em;height:.8em}
.rmp-mk-n{font-weight:700;color:#144265}
.rmp-m .rmp-mk-n{font-size:.85em;border:1px solid #9AA7AE;border-radius:999px;padding:0 .32em;margin-right:.1em}

/* Plan tab: goal > initiative > phase > key actions */
.plan-phase{background:#fff;border-radius:14px;padding:10px 14px;margin-top:10px;border-left:4px solid var(--line)}
.plan-phase-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.plan-phase-kicker{font-size:11.5px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.plan-phase-head input.plan-phase-title{font-weight:700;font-size:15px;width:min(280px,100%)}
.plan-due{font-size:13px;font-weight:700;color:var(--ink);background:var(--accent-soft);border-radius:999px;padding:3px 11px}
.plan-phase-who{display:flex;align-items:center;gap:6px 20px;flex-wrap:wrap;margin-top:8px;font-size:13.5px}
.plan-who{display:inline-flex;align-items:baseline;gap:6px}
.plan-who-label{font-size:11.5px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.03em}
.plan-who-names{font-weight:700}
.plan-phase .phase-people{margin-top:8px;padding:8px 10px;background:var(--panel);border-radius:12px}
.plan-phase-money{margin-top:6px}
.plan-phase .phase-actions{margin-top:8px}
.linkbtn{background:none;border:0;padding:0;font:inherit;color:var(--accent);text-decoration:underline;cursor:pointer}
.linkbtn:hover{color:var(--accent-hover)}
.ka-due{font-size:12.5px;font-weight:700;color:var(--ink);white-space:nowrap}
.ka-due-none{color:var(--muted);font-weight:600}
.step-due-label{margin-left:4px}

/* Gantt: a band's label runs on over the empty weeks after it; too little room shows the short type label; hover shows the whole title */
.gantt td.ev-band .ev-label{right:auto;width:calc(var(--ev-room,1) * 100% - 8px)}
.gantt td.ev-band .ev-short{display:none}
.gantt td.ev-band.ev-tight .ev-short{display:inline}
.gantt td.ev-band.ev-tight .ev-full{display:none}
.gantt td.ev-band:hover .ev-label{width:max-content;max-width:340px;overflow:visible;background:#fff;padding:2px 8px;left:0;border-radius:8px;box-shadow:var(--shadow-deep);z-index:6}
.gantt td.ev-band:hover .ev-short{display:none}
.gantt td.ev-band:hover .ev-full{display:inline}
.gantt td.ev-band.ev-tight .ev-label{left:2px;width:auto;overflow:visible;text-overflow:clip;font-size:10px;letter-spacing:-.01em}
/* the week cells are position:relative too (app.css), so a later cell painted over a run-on label: lift the label above
   the cells but under the sticky name column (z-index 2); hovered, it may sit over everything */
.gantt td.ev-band .ev-label{z-index:1}
.gantt td.ev-band:hover .ev-label{z-index:3}

/* ===== W8 (13 Sept, Lisa's 6pm asks): staff tags on events, measures by initiative, the demo card, week-by-week hours ===== */

/* Gantt: the tagged staff's initials ride on the event band */
.gantt td.ev-band .ev-initials{flex:none;margin-left:4px;padding:0 4px;border-radius:999px;background:#fff;color:var(--ink);font-size:9px;font-weight:700;letter-spacing:0;line-height:1.35;box-shadow:inset 0 0 0 1px rgba(20,66,101,.25)}
.gantt td.ev-band.ev-tight .ev-initials{margin-left:2px}
/* a band with initials: the title gives way (ellipsis, the whole title is in the hover) so the initials always show */
.gantt td.ev-band.ev-has-staff .ev-label{display:flex;align-items:center}
.gantt td.ev-band.ev-has-staff .ev-full{min-width:0;overflow:hidden;text-overflow:ellipsis}
.gantt td.ev-band.ev-has-staff:hover .ev-full{overflow:visible}
/* a tagged person's week: a light mark along the top of the cell (the hover names the event); heat and leave stay underneath */
.gantt td.wk-away{box-shadow:inset 0 3px 0 #8CBF6A}
/* the event popover: staff chips to tick */
.ev-staff{display:flex;flex-wrap:wrap;gap:4px;max-height:132px;overflow-y:auto;padding:2px 0}
.ev-chip{display:inline-flex;align-items:center;gap:4px;padding:2px 9px 2px 5px;border-radius:999px;border:1px solid var(--line);background:#fff;font-size:12px;font-weight:600;cursor:pointer;white-space:nowrap}
.ev-chip input{margin:0;accent-color:var(--accent)}
.ev-chip.on{border-color:var(--accent);background:#EAF2F6;color:#114C67}
.ev-pop{width:380px}

/* Roadmap: the goal row's count of measures still waiting for an initiative */
.rm-m-unlinked{display:inline-flex;align-items:center;padding:3px 9px;border-radius:999px;background:var(--warnbg);color:var(--warn);font-size:12px;font-weight:700;white-space:nowrap}
.rm-m-unlinked-pop{margin:0 0 6px 0;color:var(--warn);font-weight:700}
.rmp-m-unlinked{color:#8A5507;font-weight:700;white-space:nowrap}
@media print{.rm-m-unlinked{display:none}}
/* Measures tab: the initiative picker, the "Pick an initiative" prompt, and the add form */
.measure-link.measure-unlinked select{border-color:var(--warn);background:var(--warnbg)}
.measure-pick{font-size:12px;font-weight:700;color:var(--warn);background:var(--warnbg);border-radius:999px;padding:2px 9px;white-space:nowrap}
.measure-addform{margin-top:10px}
.measure-addform select{max-width:320px}

/* Settings: the demo plan card */
#demoCard .btn.primary{padding:9px 20px}

/* Gantt: "Edit hours week by week" leads the toolbar - a primary pill with a clock; the tip sits under it */
.gantt-toolbar{flex-wrap:wrap}
.btn.capedit-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 18px 8px 14px;font-size:14px;box-shadow:0 1px 0 rgba(20,66,101,.12)}
.btn.capedit-btn .capedit-clock{width:17px;height:17px;flex:none}
.btn.capedit-btn.on{background:#fff;color:var(--accent);border:2px solid var(--accent)}
.btn.capedit-btn.on:hover{background:#EAF2F6;color:var(--accent-hover)}
.capedit-tip{margin:-4px 0 10px 4px;font-size:13px;font-weight:600;color:var(--ink)}
/* while editing, every week cell reads as a box to type in */
.gantt tr[data-caprow] input.capw{border:2px solid #7FA3B8;background:#FFFBE6;color:var(--ink);font-weight:600;box-shadow:inset 0 1px 1px rgba(20,66,101,.08)}
.gantt tr[data-caprow] input.capw:focus{outline:none;border-color:var(--accent);background:#fff;box-shadow:0 0 0 2px var(--focus)}
.gantt tr[data-caprow] td.capovr input.capw{background:var(--accent-soft);border-color:var(--accent);font-weight:700}
.gantt tr[data-caprow] td.capex input.capw{background:#D2EAEB;border-color:#1A759F}
/* People tab: the pointer under the default capacity heading */
.people-table th .weekhours-link{display:block;margin-top:3px;font-size:11px;font-weight:600;text-transform:none;letter-spacing:0;white-space:normal;text-align:right;line-height:1.25}
/* Settings: the optional period start dates grid (W8, 6:40pm) */
.period-starts-wrap{overflow-x:auto;max-width:100%}
.period-starts-table{width:auto;border-collapse:separate;border-spacing:4px 3px}
.period-starts-table th{font-size:12px;color:var(--muted);font-weight:700;text-align:left;padding:0 4px;text-transform:none;letter-spacing:0}
.period-starts-table td{padding:0}
.period-starts-table input[type=date]{font:inherit;font-size:12.5px;padding:3px 5px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink)}
