/* Product Engineer Opportunity Map. Builds on the Mental Model page (product-engineer-profile.css):
   same tokens (.pp --ink, --paper, --lime, --muted, --line, --px), no new colours. */
.om-dist h3,.om-asked h3,.om-group h3{font:700 13px var(--px);letter-spacing:1.5px;text-transform:uppercase;margin:22px 0 10px}
.om-row{display:grid;grid-template-columns:minmax(120px,240px) 1fr minmax(130px,auto);gap:12px;align-items:center;margin:6px 0;font-size:14px}
.om-row__k{line-height:1.3}
.om-row__n{font:12px var(--px);white-space:nowrap}
.om-bar{position:relative;display:block;height:14px;border:2px solid currentColor}
.om-bar__weak,.om-bar__strong{position:absolute;left:0;top:0;bottom:0}

.om-filters{display:flex;flex-direction:column;gap:8px;margin:14px 0 6px}
.om-frow{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.om-filters button,.om-filters select{font:12px var(--px);padding:6px 10px;border:2px solid var(--ink);background:var(--paper);color:var(--ink);cursor:pointer}
.om-filters button[aria-pressed="true"]{background:var(--ink);color:var(--lime)}
.om-f{font:12px var(--px)}

.om-jobs{border-top:2px solid var(--ink)}
.om-job>summary{display:block;padding:18px 12px;border-bottom:1px solid var(--line);cursor:pointer;list-style:none}
.om-job>summary::-webkit-details-marker{display:none}
.om-job>summary:hover,.om-job[open]>summary{background:#0000000a}
.om-job>summary:focus-visible{outline:3px solid var(--ink);outline-offset:3px}
.om-job__heading{display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.om-job__t{font-size:16px;line-height:1.4;min-width:0;overflow-wrap:anywhere}
.om-job__action{flex:none;font-size:12px;color:var(--muted)}
.om-job__chevron{display:inline-block;font-size:18px}
.om-job__hide,.om-job[open] .om-job__show{display:none}
.om-job[open] .om-job__hide{display:inline}
.om-job[open] .om-job__chevron{transform:rotate(180deg)}
.om-job__n{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin:6px 0 14px}
.om-reading-key{font-size:14px;line-height:1.6;margin:0 0 20px;max-width:85ch;--c:var(--ink)}
.om-reading-key p{margin:8px 0}
.om-reading-key p:first-child{display:flex;flex-wrap:wrap;gap:4px 18px}
.om-reading-key p:first-child>span{display:inline-flex;align-items:center;gap:6px}
.om-empty{padding:24px 12px;font-size:15px}
.om-panel{padding:10px 4px 18px;border-bottom:2px solid var(--ink);font-size:14px;line-height:1.5}
.om-summary{margin:0 0 10px}
.om-note,.om-meta{font-size:13px;color:var(--muted);margin:6px 0}

/* Character select (from the legacy map), on the ink band */

.om-method h3{font:700 13px var(--px);letter-spacing:1.5px;text-transform:uppercase;margin:22px 0 8px}
.om-method p,.om-method li{font-size:15px;line-height:1.6;max-width:72ch}
.om-method ul{padding-left:20px;display:flex;flex-direction:column;gap:8px}

@media (max-width:640px){
  .om-row{grid-template-columns:minmax(0,1fr);gap:4px}
  .om-row__n{white-space:normal}
}

/* Tech named by each posting */
.om-tech{display:inline-block;font:11px var(--px);padding:2px 6px;margin:2px 4px 2px 0;border:1px solid currentColor}
.om-help{font-size:13px;line-height:1.5;color:var(--muted);margin:2px 0 0;max-width:80ch}

/* The whole sample, stack, where & how */
.om-two{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:12px}
.om-fig{margin:0}
.om-fig figcaption{font-size:14px;margin-bottom:8px;line-height:1.45}
.om-fig figcaption span{display:block;font-size:12px;opacity:.75}
.om-fig .om-row{grid-template-columns:minmax(90px,150px) 1fr minmax(90px,auto)}
.om-country{display:grid;grid-template-columns:minmax(90px,150px) 1fr 30px;gap:12px;align-items:center;margin:5px 0;font-size:14px}
.om-country__sq{display:flex;flex-wrap:wrap;gap:3px}
.om-country__sq i{width:12px;height:12px;border:2px solid var(--lime)}
.om-country__sq i.on{background:var(--lime)}
@media (max-width:760px){.om-two{grid-template-columns:1fr}}

/* Contextual hints (same card as the Field Notes glossary, assets/glossary.css) and visible links */
.pp .om-link{color:inherit;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px}
.pp .gloss{position:relative;text-decoration:underline dotted;text-decoration-thickness:2px;text-underline-offset:4px;cursor:help}
.pp .gloss:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.pp .gloss-card{display:none;position:absolute;z-index:60;top:calc(100% + 8px);left:0;width:min(360px,calc(100vw - 32px));padding:14px 16px;background:#fffdf6;color:#171918;border:2px solid #171918;box-shadow:4px 4px 0 #171918;font:400 14px/1.5 system-ui,-apple-system,sans-serif;letter-spacing:0;text-align:left;text-transform:none;cursor:auto}
.pp .gloss:hover>.gloss-card,.pp .gloss:focus-within>.gloss-card{display:block}
.pp .gloss-card strong{display:block;margin-bottom:4px;font:700 12px ui-monospace,Menlo,monospace;letter-spacing:1px;text-transform:uppercase}
.pp .gloss-card .gloss-def{display:block}
.pp .gloss-card a{display:inline-block;margin-top:10px;font:700 12px ui-monospace,Menlo,monospace;color:#171918}
@media (max-width:600px){.pp .gloss-card{position:fixed;top:auto;right:16px;bottom:16px;left:16px;width:auto;max-height:50vh;overflow:auto}}

/* Step colours (STEP_COLOR in the script): bars, cells, lanes */
.om-bar{--c:var(--lime-deep);border-radius:3px;overflow:hidden;border-width:1px;background:#fff8}
.pp-band--ink .om-bar{--c:var(--lime);background:#ffffff0d}
.om-bar__weak{background:repeating-linear-gradient(135deg,var(--c) 0 2px,transparent 2px 5px)}
.om-bar__strong{background:var(--c);border-radius:0 3px 3px 0}
.om-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--c);margin-right:8px;vertical-align:0}
.om-group{border-left:4px solid var(--c);padding-left:14px;margin-top:18px}
.om-group h3{color:var(--c)}
.pp-band--ink .om-group:last-child h3{color:#c9a8ea}
.pp-band--ink .om-group .om-note{color:#d8d2c4;margin:-4px 0 10px}
.pp-band--ink .om-group .om-note strong{color:#c9a8ea}
.pp-band--ink .om-group .om-note a{color:inherit;text-decoration:underline}

/* Evidence and explanations are outside the posting summary: only the header toggles it. */
.om-expanded{padding:0 12px 12px}
.om-cells{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.om-practicegroup{min-width:0;border-top:3px solid var(--c);padding-top:10px}
.om-practicegroup__title{font-size:14px;font-weight:700;line-height:1.4;margin:0 0 14px!important}
.om-practicegroup__title>span{font-weight:400;color:var(--muted);margin-right:5px}
.om-practicegroup__items{display:grid;gap:20px}
.om-practice{min-width:0}
.om-practice__heading{display:flex;gap:7px;align-items:flex-start;font:600 14px/1.4 system-ui,sans-serif;margin:0}
.om-practice__heading .om-cell{margin-top:4px}
.om-practice em{font-style:normal;font-weight:400;color:var(--muted)}
.om-practice__status{font-size:12px;line-height:1.5;color:var(--muted);margin:3px 0 8px}
.om-practicegroup--around{grid-column:1/-1;border-top:1px solid var(--line);padding-top:12px}
.om-practicegroup--around .om-practicegroup__title{border-left:3px solid var(--c);padding-left:8px}
.om-practicegroup--around .om-practicegroup__items{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.om-evidence{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.om-evidence li{border-left:2px solid var(--c);padding-left:9px}
.om-evidence__strength{font-size:11px;color:var(--muted)}
.om-evidence blockquote,.om-assessment blockquote{margin:3px 0 8px;font-size:14px;line-height:1.5}
.om-evidence__empty{font-size:12px;color:var(--muted);margin:0 0 8px}
.om-assessment{margin-top:8px;border:1px solid var(--line);border-radius:4px;overflow-wrap:anywhere}
.om-assessment>summary{padding:8px;cursor:pointer;font:600 12px/1.4 system-ui,sans-serif;color:var(--ink);letter-spacing:0}
.om-assessment>summary:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.om-assessment[open]>summary{border-bottom:1px solid var(--line)}
.om-assessment__body{padding:10px;font-size:13px;line-height:1.5;background:#ffffff70}
.om-assessment__body p{margin:0 0 8px}
.om-assessment__body .om-assessment__label{font-weight:700;font-size:12px}
.om-assessment__body .om-assessment__source{font-size:11px;color:var(--muted)}
.om-assessment__limit{color:var(--muted)}
.om-reason{border-top:1px solid var(--line);padding-top:10px;margin-top:12px}
.om-reason--pending{border-top-style:dashed}
.om-expanded .om-panel{padding:22px 0 0}
@media(max-width:1000px){.om-cells{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
  .om-expanded{padding:0 8px 12px}
  .om-job__heading{display:block}
  .om-job__action{display:block;margin-top:6px}
  .om-cells,.om-practicegroup--around .om-practicegroup__items{grid-template-columns:1fr}
}
.om-cell{flex:none;margin-top:3px}
.om-practice__text{display:block;min-width:0}
.om-practice__status{display:block;font-size:12px;color:var(--muted);margin-top:1px}
.om-practice em{font-style:normal;color:var(--muted)}
.om-practicegroup--around{grid-column:1/-1;border-top:1px solid var(--line);padding-top:10px}
.om-practicegroup--around .om-practicegroup__title{border-left:3px solid var(--c);padding-left:8px;font-size:12px}
.om-practicegroup--around .om-practicegroup__items{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
@media(max-width:1000px){.om-cells{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){
  .om-job>summary{padding:18px 4px}
  .om-job__heading{display:block}
  .om-job__action{display:block;margin-top:6px}
  .om-cells,.om-practicegroup--around .om-practicegroup__items{grid-template-columns:1fr}
}
.om-cell{display:inline-block;flex:none;width:13px;height:13px;border-radius:3px;background:transparent;box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--c) 75%,var(--ink))}
.om-cell--on{background:var(--c);box-shadow:none}
.om-cell--weak{background:repeating-linear-gradient(135deg,var(--c) 0 2px,transparent 2px 4px);box-shadow:inset 0 0 0 1.5px var(--c)}
.om-job>summary{border-radius:6px}
.om-job[open]>summary{background:#fff;box-shadow:0 1px 0 var(--line)}
.om-job[open]{background:#fffdf8;border-radius:8px;box-shadow:0 10px 30px -18px #3b2a1466;margin:6px 0 10px}

/* The posting panel: summary and tech, then one lane per step */
.om-panel{padding:16px 16px 18px;border-bottom:0}
.om-panel__top{display:grid;gap:10px}
.om-techline{display:flex;flex-wrap:wrap;align-items:center;gap:4px;margin:0}
.om-techline__k{font:700 11px var(--px);letter-spacing:1px;text-transform:uppercase;margin-right:6px;opacity:.75}
.om-techline .none{font-size:13px;opacity:.6}
.om-summary{font-size:17px;line-height:1.55;margin:0;max-width:62ch}
.om-lanes{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px}
.om-lane{background:color-mix(in srgb,var(--c) 9%,#fff);border-radius:8px;padding:10px 12px 12px;border-top:4px solid var(--c)}
.om-lane h4{margin:0 0 8px;font-size:13px;font-weight:700;color:color-mix(in srgb,var(--c) 70%,#171918)}
.om-lane ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.om-lane--empty{background:transparent;border-top-style:dashed;opacity:.55}
.om-lane--empty p{margin:0;font-size:13px}
.om-ex{border-left:3px solid var(--c);padding-left:9px}
.om-ex--weak{border-left-style:dashed}
.om-ex__p{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:2px}
.om-ex__p em{font-style:normal;font-weight:400;padding:0 5px;border:1px dashed currentColor;border-radius:999px;margin-left:4px}
.om-ex q{font-size:14px;line-height:1.45}
.om-meta a{color:inherit;font-weight:600}
@media (max-width:1000px){.om-lanes{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .om-panel__top,.om-lanes{grid-template-columns:1fr}
  .om-cells{gap:5px}
  .om-cell{width:11px;height:11px}
}
.om-key{display:flex;flex-wrap:wrap;gap:4px 14px;justify-content:flex-end;font:12px var(--px);color:var(--ink)}
.om-key .om-dot{width:9px;height:9px;margin-right:5px}
@media (max-width:640px){.om-key{justify-content:flex-start}}

.om-sensitivity{margin-top:40px;padding-top:24px;border-top:1px solid var(--line)}
.om-sensitivity p{max-width:78ch;margin:24px 0}
#om-sensitivity-bars{margin:32px 0}
.om-row--current{font-weight:700}
.om-agreement{width:100%;max-width:640px;border-collapse:collapse;margin:40px 0}
.om-agreement caption{text-align:left;font-weight:700;margin-bottom:12px}
.om-agreement th,.om-agreement td{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}
.om-agreement thead{background:#ffffff70}

/* Compact markers share the same practice state and grouping as the expanded evidence. */
.om-list-key{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 4px;border-bottom:1px solid var(--line);font:11px/1.5 var(--px);color:var(--muted)}
.om-job__compact-count{font:11px var(--px);color:var(--muted);white-space:nowrap}
.om-job[open] .om-job__compact-count,.om-job[open] .om-compactcells{display:none}
.om-job:not([open])>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 4px}
.om-job:not([open]) .om-job__heading{gap:8px;align-items:center}
.om-job:not([open]) .om-job__t{font-size:14px;line-height:1.35}
.om-job:not([open]) .om-job__action{margin:0}
.om-job:not([open]) .om-job__show{display:none}
.om-compactcells{display:flex;gap:8px}
.om-compactgroup{display:flex;gap:2px}
.om-compactgroup .om-cell{display:block}
.om-compactgroup--around{border-left:1px solid var(--line);padding-left:8px}
.om-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:640px){
  .om-list-key{display:block}
  .om-list-key>.om-key{margin-top:6px}
  .om-job:not([open])>summary{grid-template-columns:1fr;gap:6px}
  .om-job:not([open]) .om-job__heading{display:flex}
}

/* The four steps of The Product Engineer Path under the filter: one card per step, in path order */
.om-stepstrip{margin:14px 0 18px}
.om-stepstrip__h{font:700 12px var(--px);letter-spacing:1px;text-transform:uppercase;margin:0 0 8px}
.om-stepstrip ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.om-stepstrip li{position:relative;display:grid;gap:3px;align-content:start;padding:10px 12px 12px;background:#fff;border-radius:6px;border-top:5px solid var(--c);box-shadow:0 1px 0 var(--line)}
.om-stepstrip li+li::before{content:"→";position:absolute;left:-18px;top:50%;transform:translateY(-50%);font-size:16px;opacity:.55}
.om-stepstrip li>b{font-size:18px;color:var(--c);filter:brightness(.8)}
.om-stepstrip__n{font:11px var(--px);letter-spacing:1px;text-transform:uppercase;opacity:.7}
.om-stepstrip__d{font-size:14px;line-height:1.35}
.om-stepstrip__c{font:12px var(--px);margin-top:4px;opacity:.85}
.om-stepstrip__rule{font-size:13px;margin:8px 0 0;opacity:.8}
@media (max-width:760px){.om-stepstrip ol{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.om-stepstrip li+li::before{display:none}}

/* Steps filter, right above the list: one card per group, four marks filled as many as the steps asked */
.om-fhead{font-weight:700;margin:6px 0 0}
.om-fgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.om-filters .om-fbtn{display:grid;grid-template-columns:auto 1fr;grid-template-areas:"pips count" "name name";align-items:center;gap:6px 10px;padding:10px 12px;text-align:left;border-radius:6px}
.om-fbtn__name{grid-area:name;font:12px var(--px)}
.om-fbtn__count{grid-area:count;justify-self:end;font:700 22px/1 var(--px)}
.om-pips{grid-area:pips;display:inline-grid;grid-template-columns:repeat(4,12px);gap:3px}
.om-pips i{width:12px;height:12px;border:2px solid currentColor;box-sizing:border-box}
.om-pips i.on{background:currentColor}
.om-pips--any{display:inline-block;font:11px var(--px);letter-spacing:1px;text-transform:uppercase;opacity:.8}
.om-filters .om-fbtn:hover{box-shadow:0 2px 0 var(--ink)}
.om-filters .om-fbtn[aria-pressed="true"] .om-pips i{border-color:var(--lime)}
.om-filters .om-fbtn[aria-pressed="true"] .om-pips i.on{background:var(--lime)}
@media (max-width:760px){.om-fgrid{grid-template-columns:repeat(2,minmax(0,1fr))}.om-fgrid .om-fbtn:first-child{grid-column:1/-1}}

/* Each practice inside an open posting is collapsed: mark, name, strength and a small + to open */
.om-practice__sum{list-style:none;display:grid;grid-template-columns:1fr auto;grid-template-areas:"head icon" "status icon";column-gap:8px;cursor:pointer;padding:4px 0;border-radius:4px}
.om-practice__sum::-webkit-details-marker{display:none}
.om-practice__sum .om-practice__heading{grid-area:head}
.om-practice__sum .om-practice__status{grid-area:status;margin:2px 0 0 21px}
.om-practice__icon{grid-area:icon;align-self:center;position:relative;width:18px;height:18px;border-radius:50%;border:1px solid var(--line);color:var(--muted);transition:transform .15s}
.om-practice__icon::before,.om-practice__icon::after{content:"";position:absolute;left:50%;top:50%;width:8px;height:1.5px;background:currentColor;transform:translate(-50%,-50%)}
.om-practice__icon::after{transform:translate(-50%,-50%) rotate(90deg)}
.om-practice[open]>.om-practice__sum .om-practice__icon{transform:rotate(45deg)}
.om-practice__sum:hover .om-practice__icon{color:var(--ink);border-color:var(--ink)}
.om-practice__sum:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
.om-practice__body{padding:6px 0 4px 21px}
.om-practice+.om-practice{margin-top:6px}

/* How to read a posting (section 03): four illustrated cards, then short notes */
.om-howto{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 10px}
.om-howto__card{margin:0;display:grid;grid-template-rows:76px auto;gap:10px;padding:14px;background:#fff;border-radius:8px;box-shadow:0 1px 0 var(--line)}
.om-howto__card figcaption{font-size:14px;line-height:1.45}
.om-howto__card figcaption b{display:block;margin-bottom:3px}
.om-howto__art{display:flex;align-items:center;justify-content:center;gap:10px;background:var(--paper);border-radius:6px;padding:8px}
.om-howto__group{display:grid;justify-items:center;gap:4px}
.om-howto__group small{font:10px var(--px);color:var(--c);filter:brightness(.75)}
.om-howto__group .om-cell{border-color:var(--c)}
.om-howto__group .om-cell--on{background:var(--c)}
.om-howto__marks span{display:grid;justify-items:center;gap:4px;font:11px var(--px)}
.om-howto__marks .om-cell{width:18px;height:18px}
.om-howto__steps{flex-direction:column;gap:0}
.om-howto__steps b{font:700 28px/1 var(--px)}
.om-howto__steps span{font:11px var(--px);opacity:.7}
.om-howto__flow{flex-wrap:wrap;gap:4px;font:11px var(--px)}
.om-howto__flow span{padding:3px 6px;border:1px solid var(--ink);border-radius:4px;background:#fff}
.om-howto__flow span+span::before{content:"→ ";opacity:.5;margin-left:-2px}
.om-howto__notes{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:4px;font-size:14px;line-height:1.45;color:var(--muted)}
.om-howto__notes b{color:var(--ink)}
@media (max-width:900px){.om-howto{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.om-howto{grid-template-columns:1fr}}
.om-refs{padding-left:20px;font-size:14px;line-height:1.5}
.om-refs li{margin-bottom:6px}
.om-howto__marks{--c:var(--ink)}
.om-howto__cells{display:flex;gap:3px}
.om-howto__cells .om-cell{margin:0}

/* How this map was made (section 05): eight icon steps along one line, wrapping on narrow screens */
.om-process{margin:10px 0 28px}
.om-process figcaption{font-size:15px;margin-bottom:12px}
.om-process ol{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:14px;position:relative}
.om-process ol::before{content:"";position:absolute;left:4%;right:4%;top:26px;border-top:2px dashed var(--line)}
.om-process__step{position:relative;display:grid;align-content:start;gap:4px;font-size:13px;line-height:1.4}
.om-process__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#fff;border:2px solid var(--ink);color:var(--ink);position:relative;z-index:1}
.om-process__icon svg{width:26px;height:26px}
.om-process__step--end .om-process__icon{background:var(--ink);color:var(--lime)}
.om-process__n{font:11px var(--px);opacity:.6;margin-top:4px}
.om-process__step b{font-size:14px;line-height:1.25}
.om-process__step b a{color:inherit}
.om-process__d{color:var(--muted)}
.om-process__when{font:11px var(--px);opacity:.75}
@media (max-width:1000px){.om-process ol{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:22px}.om-process ol::before{display:none}}
@media (max-width:560px){.om-process ol{grid-template-columns:1fr;gap:0}
  .om-process__step{grid-template-columns:52px 1fr;column-gap:12px;padding-bottom:16px}
  .om-process__step>*:not(.om-process__icon){grid-column:2}.om-process__icon{grid-row:1/span 4}
  .om-process__step:not(:last-child)::before{content:"";position:absolute;left:25px;top:52px;bottom:0;border-left:2px dashed var(--line)}}
.om-datalist{padding-left:20px;font-size:15px;line-height:1.55}
.om-datalist li{margin-bottom:6px}
.om-datalist code{font-size:.9em;overflow-wrap:anywhere}
