    /* TOKENS */
    :root {
        --green:     #70AD47; --greendk:    #548235;
        --teal:      #008080; --tealdk:     #003F3E;
        --orange:    #fa8e36; --orangedk:   #c06216; --orangelt:  #fdeada;
        --yellow:    #e4ac03; --yellowdk:   #7F6000;
        --black:     #2a2a2a; --blackdk:    #000000; --blacklt:   #d9d9d9;
        --purple:    #683e9b; --purpledk:   #352647; --purplelt:  #eddbff;
        --skyblue:   #6bb3f6; --skybluedk:  #2665a0;
        --blue:      #2e5688; --bluedk:     #1f3147; --bluelt:    #dce6f2;
        --red:       #c0514d; --reddk:      #8c3736; --redlt:     #f2dcdb;
        --magenta:   #830083; --magentadk:  #490e49;
        --ui-bg:     #0f1117; --ui-surface: #1a1d27; --ui-border: #2a2d3a;
        --ui-text:   #e2e4ed; --ui-muted:   #6b7080; --ui-accent: #4a9eff;
        --ui-glow:   rgba(74,158,255,0.15);
        --mono: 'IBM Plex Mono', monospace;
        --sans: 'IBM Plex Sans', sans-serif;
        --cons: consolas;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { overflow-y: scroll; }
    body { background: white; color: var(--ui-text); font-family: var(--sans); font-weight: 300; min-height: 100vh; }

    /* CONTROL BAR */
    #sticky-top { position: sticky; top: 0; z-index: 100; }
    #control-bar {
        background: var(--ui-surface); border-bottom: 1px solid var(--ui-border);
        padding: 10px 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
    }
    .bar-logo-link { display: flex; align-items: center; flex-shrink: 0; }
    .bar-logo {
        height: 28px;
        width: 28px;
        display: block;
        flex-shrink: 0;
    }
    .bar-sep   { color: var(--ui-border); padding: 0 4px; }
    #search-wrapper { position: relative; flex: 1; min-width: 180px; max-width: 340px; }
    #search-wrapper svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--ui-muted); pointer-events: none; }
    #cert-search {
        width: 100%; background: var(--ui-bg); border: 1px solid var(--ui-border);
        border-radius: 6px; color: var(--ui-text); font-family: var(--mono); font-size: .78rem;
        padding: 7px 10px 7px 34px; outline: none; transition: border-color .2s;
    }
    #cert-search:focus { border-color: var(--ui-accent); box-shadow: 0 0 0 3px var(--ui-glow); }
    #cert-search::placeholder { color: var(--ui-muted); }
    /* replace the default gradient WebKit clear "X" with blue one */
    #cert-search::-webkit-search-cancel-button {
        -webkit-appearance: none; appearance: none;
        height: 13px; width: 13px; margin-left: 6px; cursor: pointer;
        background-color: var(--ui-accent);
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6 18 18M18 6 6 18' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6 18 18M18 6 6 18' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    #cert-search::-webkit-search-cancel-button:hover { background-color: #79b8ff; }
    .filter-group { display: flex; gap: 6px; flex-wrap: wrap; }
    .filter-btn {
        font-family: var(--mono); font-size: .68rem; font-weight: 600;
        padding: 5px 10px; border-radius: 4px; border: 1.5px solid transparent;
        cursor: pointer; transition: all .15s; white-space: nowrap; letter-spacing: .03em;
        background: var(--ui-bg);
    }
    .filter-btn:hover { filter: brightness(1.2); }
    .filter-btn.active { border-color: currentColor; }
    .filter-btn[data-domain="all"]        { color: var(--ui-text); border-color: var(--ui-border); }
    .filter-btn[data-domain="all"].active { border-color: var(--ui-text); }
    .filter-btn[data-domain="network"]    { color: var(--green); }
    .filter-btn[data-domain="iam"]        { color: var(--teal); }
    .filter-btn[data-domain="engineer"]   { color: var(--orange); }
    .filter-btn[data-domain="asset"]      { color: var(--yellow); }
    .filter-btn[data-domain="mgmt"]       { color: #aaa; }
    .filter-btn[data-domain="testing"]    { color: var(--magenta); }
    .filter-btn[data-domain="software"]   { color: var(--skyblue); }
    .filter-btn[data-domain="ops"]        { color: var(--red); }
    #result-count { font-family: var(--mono); font-size: .68rem; color: var(--ui-muted); white-space: nowrap; margin-left: auto; }
    .btn {
        font-family: var(--mono); font-size: .75rem; font-weight: 600;
        padding: 7px 16px; border-radius: 2px; border: 1px solid var(--ui-border);
        cursor: pointer; background: var(--ui-bg); color: var(--ui-text); transition: background .15s;
    }
    .btn:hover { background: var(--ui-border); }
    .btn.primary { background: var(--ui-accent); color: #fff; border-color: var(--ui-accent); }
    .btn.primary:hover { filter: brightness(1.1); }

    /* CHART WRAPPER */
    .chart-inner { position: relative; display: inline-block; }
    #chart-outer { padding: 16px 12px 20px; overflow-x: hidden; }
    .chart-header {
        display: flex; align-items: baseline; gap: 18px;
        padding: 8px 8px 6px; background: white; border-radius: 6px 6px 0 0;
        font-family: var(--mono);
    }
    .chart-main-title { font-size: 1.5rem; font-weight: 500; color: #1a1a1a; padding-bottom: 30px; }
    .overworld-link {
        font-family: var(--mono);
        font-size: 0.62rem;
        color: var(--black);
        margin-left: auto;
        align-self: flex-start;
        text-decoration: none;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        border-bottom: 1px solid var(--black);
        transition: color 0.2s, border-color 0.2s;
    }
    .overworld-link:hover { color: var(--accent); border-color: var(--accent); }

    /* ORIGINAL CHART STYLES */
    .certchart {
        background: white; color: #323232; font-weight: 300;
        display: inline-flex; align-items: center; justify-content: center;
        text-align: center; font-family: var(--cons);
        float: left; flex-direction: column;
    }
    .certbg {
        background: #fff; justify-content: left; display: grid; position: relative;
        grid-template-columns: [skilllevel] 0.8vmax [network] 7.5vmax [iam] 2.65vmax [engineer] 17.2vmax [asset] 5.1vmax [mgmt] 21.8vmax [testing] 7.5vmax [software] 2.7vmax [operations] 31.5vmax;
        grid-template-rows: [domain] 2vmax [chart] 45.2vmax;
        column-gap: 0.2vmax; white-space: pre-wrap; line-height: 130%; left: 0;
    }
    .domaintitle {
        font-weight: 450; font-size: .8vmax; text-align: center;
        align-content: bottom; justify-content: center; align-self: flex-end;
        display: flex; margin-bottom: .1vmax;
    }
    .networkcontainer  { display: grid; border: 2px solid var(--green);   border-radius: .25vmax; }
    .iamcontainer      { display: grid; border: 2px solid var(--teal);    border-radius: .25vmax; }
    .assetcontainer    { display: grid; border: 2px solid var(--yellow);  border-radius: .25vmax; }
    .testingcontainer  { display: grid; border: 2px solid var(--magenta); border-radius: .25vmax; }
    .softwarecontainer { display: grid; border: 2px solid var(--skyblue); border-radius: .25vmax; }
    .engineercontainer {
        display: grid; border: 2px solid var(--orange); border-radius: .25vmax;
        grid-template-columns: 2.3vmax 2.3vmax 2.2vmax 2.2vmax 2.2vmax 2.2vmax 2.2vmax;
        grid-template-rows: 1vmax auto; column-gap: .2vmax;
    }
    .mgmtcontainer {
        display: grid; border: 2px solid var(--black); border-radius: .25vmax;
        grid-template-columns: 2.2vmax 2.2vmax 2.2vmax 2.2vmax 2.3vmax 2.2vmax 2.2vmax 2.2vmax 2.2vmax;
        grid-template-rows: 1vmax auto; column-gap: .2vmax;
    }
    .operationscontainer {
        display: grid; border: 2px solid var(--red); border-radius: .25vmax;
        grid-template-columns: 2.2vmax 2.2vmax 2.2vmax 2.3vmax 2.2vmax 2.3vmax 2.2vmax 2.2vmax 2.2vmax 2.2vmax 2.2vmax 2.2vmax 2.1vmax;
        grid-template-rows: 1vmax auto; column-gap: .2vmax;
    }
    .subtitle1 { font-weight:400;font-size:.5vmax;text-align:center;justify-content:center;align-self:center;display:flex; }
    .subtitle2 { font-weight:400;font-size:.5vmax;text-align:center;justify-content:center;align-self:center;display:flex;grid-column:span 2; }
    .subtitle4 { font-weight:400;font-size:.5vmax;text-align:center;justify-content:center;align-self:center;display:flex;grid-column:span 4; }
    .subtitle5 { font-weight:400;font-size:.5vmax;text-align:center;justify-content:center;align-self:center;display:flex;grid-column:span 5; }
    .spacer    { background:none; }
    .engsubdomain1  { display:flex;background:var(--orangelt);column-gap:1vmax;margin-bottom:1.5vmax }
    .engsubdomain4  { display:flex;background:var(--orangelt);grid-column:span 4;column-gap:1vmax;margin-left:.3vmax;margin-bottom:1.5vmax }
    .mgmtsubdomain4 { display:flex;background:var(--blacklt);grid-column:span 4;column-gap:1vmax;margin-left:.3vmax;margin-bottom:1.5vmax }
    .bluesubdomain2 { display:flex;background:var(--bluelt);grid-column:span 2;margin-left:.1vmax;margin-bottom:1.5vmax }
    .redsubdomain2  { display:flex;background:var(--redlt);grid-column:span 2;column-gap:1vmax;margin-bottom:1.5vmax }
    .redsubdomain5  { display:flex;background:var(--redlt);grid-column:span 5;column-gap:1vmax;margin-bottom:1.5vmax }

    /* FOREGROUND CERT GRID */
    .certcontainer {
        justify-content: center; text-align: center; align-content: center;
        line-height: 120%; display: grid; position: absolute; font-size: .6vmax;
        top: 1.9vmax; left: -0.5vmax;
        grid-template-columns:
            [skilllevel] 1.7vmax
            [network]    2.35vmax 2.35vmax 2.35vmax
                         .5vmax
            [iam]        2.5vmax
                         .5vmax
            [engineer]   2.35vmax 2.4vmax 2.45vmax 2.35vmax 2.4vmax 2.4vmax 2.4vmax
                         0.5vmax
            [asset]      2.4vmax 2.4vmax
                         0.5vmax
            [mgmt]       2.5vmax 2.5vmax 2.5vmax 2.35vmax 2.35vmax 2.35vmax 2.35vmax 2.35vmax 2.35vmax
                         0.4vmax
            [testing]    2.5vmax 2.45vmax 2.45vmax
                         0.4vmax
            [software]   2.35vmax
                         0.5vmax
            [ops]        2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax 2.4vmax;
        grid-template-rows: repeat(30, 1.5vmax);
        white-space: pre-wrap;
    }
    .skilllevelitem {
        transform: rotate(270deg); justify-items: right; align-items: flex-end;
        font-weight: 600; font-size: .8vmax; display: grid;
    }

    /* CERT BOX BASE */
    .cert-box {
        font-weight: 400; align-items: center; justify-items: center;
        text-decoration: none; display: grid; border-radius: .25vmax;
        transition: filter .15s, opacity .2s;
        position: relative; cursor: pointer;
    }
    .cert-box:focus-visible { outline: 2px solid #fff; outline-offset: 1px; z-index: 10; }

    /* PROGRAMMING LANGUAGE — not a cert */
    .prog-lang-line { /* the dotted line, full chart width, behind everything */
        position: relative; z-index: 0;
        align-self: center; height: 0;
        border-top: .2vmax dotted #5b6472;
        pointer-events: none;
    }
    .cert-box.prog-lang {
        background: #5b6472; color: #fff;
        border: .05vmax solid #3a4150;
        font-weight: 600; z-index: 3;
    }

    /* Domain colours */
    .networkitem1  { background:var(--green);   color:#fff; border:.05vmax solid var(--greendk); }
    .networkitem2  { background:var(--green);   color:#fff; border:.05vmax solid var(--greendk); }
    .iamitem1      { background:var(--teal);    color:#fff; border:.05vmax solid var(--tealdk); }
    .engineeritem1 { background:var(--orange);  color:#fff; border:.05vmax solid var(--orangedk); }
    .engineeritem2 { background:var(--orange);  color:#fff; border:.05vmax solid var(--orangedk); }
    .engineeritem3 { background:var(--orange);  color:#fff; border:.05vmax solid var(--orangedk); }
    .engineeritem4 { background:var(--orange);  color:#fff; border:.05vmax solid var(--orangedk); }
    .assetitem1    { background:var(--yellow);  color:#fff; border:.05vmax solid var(--yellowdk); }
    .assetitem2    { background:var(--yellow);  color:#fff; border:.05vmax solid var(--yellowdk); }
    .mgmtitem1     { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem2     { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem4x    { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem3     { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem4     { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem5     { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem15    { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem17    { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitemCASP  { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .mgmtitem25    { background:var(--black);   color:#fff; border:.05vmax solid var(--blackdk); }
    .testitem1     { background:var(--purple);  color:#fff; border:.05vmax solid var(--purpledk); }
    .testitem2     { background:var(--purple);  color:#fff; border:.05vmax solid var(--purpledk); }
    .softwareitem1 { background:var(--skyblue); color:#fff; border:.05vmax solid var(--skybluedk); }
    .softwareitem2 { background:var(--skyblue); color:#fff; border:.05vmax solid var(--skybluedk); }
    .softwareitem6 { background:var(--skyblue); color:#fff; border:.05vmax solid var(--skybluedk); }
    .blueopsitem1  { background:var(--blue);    color:#fff; border:.05vmax solid var(--bluedk); }
    .blueopsitem2  { background:var(--blue);    color:#fff; border:.05vmax solid var(--bluedk); }
    .blueopsitem3  { background:var(--blue);    color:#fff; border:.05vmax solid var(--bluedk); }
    .blueopsitem9  { background:var(--blue);    color:#fff; border:.05vmax solid var(--bluedk); }
    .redopsitem1   { background:var(--red);     color:#fff; border:.05vmax solid var(--reddk); }
    .redopsitem2   { background:var(--red);     color:#fff; border:.05vmax solid var(--reddk); }
    .redopsitem3   { background:var(--red);     color:#fff; border:.05vmax solid var(--reddk); }

    /* TOOLTIPS */
    [tooltiptext]:before, [tooltipleft]:before, [tooltipright]:before,
    [tooltiptexttitle]:before, [tooltiptexttitleleft]:before {
        position: absolute; max-width: 28vmax; height: max-content;
        padding: .4vmax .5vmax; background: inherit; border: inherit;
        border-radius: .2vmax; color: inherit; text-align: left;
        display: none; font-size: 115%; line-height: 140%; z-index: 50;
        pointer-events: none; white-space: pre-wrap;
        box-shadow: 0 4px 16px rgba(0,0,0,.25); width: max-content;
    }
    [tooltiptext]:before      { content:attr(tooltiptext);      bottom:105%; left:50%; transform:translateX(-50%); }
    [tooltipleft]:before      { content:attr(tooltipleft);      bottom:105%; left:0; }
    [tooltipright]:before     { content:attr(tooltipright);     bottom:105%; right:0; }
    [tooltiptexttitle]:before     { content:attr(tooltiptexttitle);     top:4.5%; left:50%; transform:translateX(-50%); background:var(--black); color:#fff; font-size:100%; width:25vmax; }
    [tooltiptexttitleleft]:before { content:attr(tooltiptexttitleleft); top:4.5%; left:0; background:var(--black); color:#fff; font-size:100%; width:25vmax; }
    [tooltiptext]:hover:before, [tooltipleft]:hover:before, [tooltipright]:hover:before,
    [tooltiptexttitle]:hover:before, [tooltiptexttitleleft]:hover:before { display:block; }

    /* SEARCH / FILTER STATES */
    .cert-box.search-match { outline:2px solid #fff; outline-offset:1px; z-index:5; filter:brightness(1.15); }
    .cert-box.search-dim   { opacity:.12; pointer-events:none; }
    .cert-box.domain-dim   { opacity:.08; pointer-events:none; }

    /* CHART KEY */
    .chart-key { color:#555; padding:.2vmax; font-size:.72vmax; text-align:right; line-height:1.8; margin-top:2px; font-family:var(--sans); }

    /* REPORT MODAL */
    #report-modal { display:none; position:fixed; inset:0; z-index:200; background:rgba(0,0,0,.7); align-items:center; justify-content:center; }
    #report-modal.open { display:flex; }
    .modal-box { background:var(--ui-surface); border:1px solid var(--ui-border); border-radius:10px; padding:24px; max-width:440px; width:90%; display:flex; flex-direction:column; gap:14px; }
    .modal-box h2 { font-family:var(--mono); font-size:.9rem; color:var(--ui-text); }
    .modal-box p { font-size:.82rem; color:var(--ui-muted); line-height:1.5; }
    .modal-box code { display:block; background:var(--ui-bg); border:1px solid var(--ui-border); border-radius:4px; padding:10px 12px; font-family:var(--mono); font-size:.78rem; color:var(--ui-accent); word-break:break-all; user-select:all; }
    .modal-buttons { display:flex; gap:10px; justify-content:flex-end; }

    /* INFO MODAL */
    .info-btn {
        background: none;
        border: none;
        color: var(--ui-muted);
        cursor: pointer;
        display: flex;
        align-items: center;
        padding: 2px;
        transition: color .15s;
        align-self: flex-start;
    }
    .info-btn:hover { color: var(--ui-accent); }

    #info-modal {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 200;
        background: rgba(0,0,0,.7);
        align-items: center;
        justify-content: center;
    }
    #info-modal.open { display: flex; }
    #info-modal .modal-box p { margin-bottom: 4px; }

    /* MOBILE */
    #static-fallback { display:none; }
    @media (max-width:720px) {
        #chart-outer { display:none; }
        #my-roadmap-section { display:none; }
        #static-fallback { display:block; padding:20px 16px; }
        #static-fallback > p { color:var(--ui-muted); font-size:.9rem; margin-bottom:12px; text-align:center; }
    }

    /* Shared ROADMAP and PROVIDER NOTES */
    #my-roadmap-section, #provider-notes-section, #other-resources-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5px 24px 20px;
    }

    .section-header h2 {
    font-family: var(--mono);
    font-size: 1.3rem;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: .02em;
    }

    .section-header p {
    font-size: .85rem;
    color: var(--ui-muted);
    max-width: 720px;
    line-height: 1.5;
    margin-bottom: 18px;
    }

    /* MY ROADMAP — toolbar */
    .my-roadmap-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    }

    .roadmap-count {
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--ui-muted);
    margin-left: auto;
    }

    /* MY ROADMAP — canvas */
    #my-roadmap-canvas {
    position: relative;
    background: #ffffff;
    border: 2px dashed var(--ui-border);
    border-radius: 10px;
    min-height: 420px;
    overflow: hidden;
    transition: border-color .2s, background .2s;
    }

    #my-roadmap-canvas.drag-over {
    border-color: var(--ui-accent);
    background: #f4f9ff;
    }

    #my-roadmap-empty-hint {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #b8bcc8;
    font-family: var(--sans);
    font-size: .95rem;
    pointer-events: none;
    text-align: center;
    width: 80%;
    }

    #my-roadmap-canvas.has-nodes #my-roadmap-empty-hint { display: none; }

    #my-roadmap-arrows {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    }

    /* MY ROADMAP — node cards */
    .my-cert-node {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    max-width: 160px;
    padding: 8px 14px;
    border-radius: 6px;
    font-family: var(--sans);
    font-size: .8rem;
    font-weight: 500;
    color: #fff;
    cursor: grab;
    user-select: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
    border: 1.5px solid rgba(0,0,0,.15);
    text-align: center;
    line-height: 1.25;
    }
    .my-cert-node:active { cursor: grabbing; }
    .my-cert-node.dragging-move { opacity: .85; box-shadow: 0 6px 16px rgba(0,0,0,.3); z-index: 5; }

    .my-cert-node .node-handle {
    position: absolute;
    right: -9px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--ui-accent);
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: crosshair;
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
    }
    .my-cert-node .node-handle:hover { transform: translateY(-50%) scale(1.2); }

    .my-cert-node .node-delete {
    position: absolute;
    left: -8px;
    top: -8px;
    width: 18px;
    height: 18px;
    background: var(--red);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: .68rem;
    line-height: 14px;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity .15s;
    }
    .my-cert-node:hover .node-delete { opacity: 1; }

    /* Original chart cert boxes get a grab cursor + slight lift on hover to hint draggability */
    .cert-box[draggable="true"] { cursor: grab; }
    .cert-box[draggable="true"]:active { cursor: grabbing; }

    /* PROVIDER NOTES */
    .notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 2px 44px;
    }
    .note-card {
    padding: 14px 4px 16px 16px;
    border-left: 2px solid #e3e5ea;
    border-bottom: 1px solid #eceef2;
    transition: border-left-color .15s;
    }
    .note-card:hover { border-left-color: var(--ui-accent); }
    .note-card h3 {
    font-family: var(--mono);
    font-size: .82rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: .02em;
    }
    .note-card p {
    font-size: .82rem;
    color: #4a4f5c;
    line-height: 1.6;
    margin-bottom: 6px;
    }
    .note-card p:last-of-type { margin-bottom: 8px; }
    .note-card a {
    display: inline-block;
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--ui-muted);
    text-decoration: none;
    word-break: break-all;
    }
    .note-card a:hover { color: var(--ui-accent); text-decoration: underline; }

    /* OTHER RESOURCES */
    .resources-list {
    display: grid;
    gap: 2px 44px;
    }
    .resource-link {
    padding: 14px 4px 16px 16px;
    border-left: 2px solid #e3e5ea;
    border-bottom: 1px solid #eceef2;
    transition: border-left-color .15s;
    }
    .resource-link:hover { border-left-color: var(--ui-accent); }
    .resource-link h3 {
    font-family: var(--mono);
    font-size: .82rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 6px;
    letter-spacing: .02em;
    }
    .resource-link a {
    display: inline-block;
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--ui-muted);
    text-decoration: none;
    word-break: break-all;
    }
    .resource-link a:hover { color: var(--ui-accent); text-decoration: underline; }

    /* PROGRESS TRACKING (earned / in-progress / planned) */
    .filter-btn#progress-btn { color: var(--ui-accent); }
    .filter-btn#progress-btn.active { border-color: var(--ui-accent); background: var(--ui-glow); }

    /* per-cert status rings (inset) */
    .cert-box.status-earned     { box-shadow: inset 0 0 0 0.28vmax #2ecc71; }
    .cert-box.status-inprogress { box-shadow: inset 0 0 0 0.28vmax #f1b50a; }
    .cert-box.status-planned    { box-shadow: inset 0 0 0 0.28vmax #c98be0; }
    .cert-box[class*="status-"]::after {
        position: absolute; top: -0.1vmax; right: 0.1vmax;
        font-size: .55vmax; line-height: 1; font-weight: 700;
        text-shadow: 0 0 2px rgba(0,0,0,.6); pointer-events: none;
    }
    .cert-box.status-earned::after     { content: "\2713"; color: #dffbe6; }
    .cert-box.status-inprogress::after { content: "\2026"; color: #fff6d6; }
    .cert-box.status-planned::after    { content: "\2605"; color: #f3e3ff; }
    body.tracking-on .cert-box:not(.search-dim):not(.domain-dim) { cursor: copy; }

    /* PROGRESS PANEL */
    #progress-panel { display: none; background: var(--ui-surface); border-bottom: 1px solid var(--ui-border);
        padding: 14px 20px; }
    #progress-panel.open { display: block; }
    .progress-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
    .progress-head .legend { font-family: var(--mono); font-size: .68rem; color: var(--ui-muted); display: flex; gap: 14px; flex-wrap: wrap; }
    .progress-head .legend span { display: inline-flex; align-items: center; gap: 5px; }
    .legend .swatch { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
    .swatch.earned { background: #2ecc71; } .swatch.inprogress { background: #f1b50a; } .swatch.planned { background: #c98be0; }
    #progress-reset { margin-left: auto; }
    .progress-bars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px 22px; }
    .pbar-row { display: grid; grid-template-columns: 84px 1fr auto; align-items: center; gap: 8px; font-family: var(--mono); font-size: .66rem; }
    .pbar-row .pbar-name { color: var(--ui-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .pbar-track { height: 9px; border-radius: 5px; background: var(--ui-bg); overflow: hidden; display: flex; }
    .pbar-fill-earned { background: #2ecc71; height: 100%; transition: width .25s; }
    .pbar-fill-inprogress { background: #f1b50a; height: 100%; transition: width .25s; opacity: .85; }
    .pbar-row .pbar-count { color: var(--ui-muted); white-space: nowrap; }

    /* MOBILE CERT LIST */
    #mobile-cert-list { text-align: left; max-width: 640px; margin: 8px auto 0; }
    #mobile-search-empty { display:none; color: var(--ui-muted); font-size:.85rem; padding:14px 4px; }
    .m-domain { border: 1px solid var(--ui-border); border-radius: 8px; margin-bottom: 10px; overflow: hidden; background: #fff; }
    .m-domain > summary { list-style: none; cursor: pointer; padding: 12px 14px; font-family: var(--mono);
        font-size: .82rem; font-weight: 600; display: flex; align-items: center; gap: 8px; color: #1a1a1a; }
    .m-domain > summary::-webkit-details-marker { display: none; }
    .m-domain > summary::after { content: "+"; margin-left: auto; color: var(--ui-muted); font-size: 1.1rem; }
    .m-domain[open] > summary::after { content: "\2013"; }
    .m-domain > summary .m-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
    .m-domain > summary .m-cnt { color: var(--ui-muted); font-weight: 400; font-size: .72rem; }
    .m-tier { font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; text-transform: uppercase;
        color: var(--ui-muted); padding: 8px 14px 2px; }
    .m-cert { display: block; padding: 9px 14px; border-top: 1px solid #f0f1f4; text-decoration: none; color: #222; }
    .m-cert:hover { background: #f7f9fc; }
    .m-cert .m-abbr { display: block; font-family: var(--mono); font-weight: 600; font-size: .8rem; color: #111; }
    .m-cert .m-abbr .m-status { font-size: .72rem; margin-left: 6px; }
    .m-cert .m-name { display: block; font-size: .76rem; color: #555; margin-top: 3px; line-height: 1.4; }
    .m-cert .m-meta { display: block; font-size: .72rem; color: var(--ui-muted); margin-top: 3px; }

    /* ============================================================
        PRINT
    ============================================================ */
    @media print {
        *, *::before, *::after {
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
        }
        @page { size: landscape; margin: 8mm; }
        body { background: #fff !important; }

        /* Hide things that don't belong on paper */
        #sticky-top, #control-bar, #progress-panel,
        #report-modal, #info-modal, #static-fallback,
        .info-btn, #report-btn, #progress-btn {
                display: none !important;
        }

        /* Let the whole chart show: no sticky, no scroll clipping, no float, print full chart even with filter active */
        #chart-outer { overflow: visible !important; padding: 0 !important; }
        .certchart   { float: none !important; }
        .chart-inner { break-inside: avoid; }
        .chart-header { padding: 0 0 4px !important; }
        .chart-main-title { color: #000 !important; padding-bottom: 30px !important; }
        .cert-box.search-dim, .cert-box.domain-dim { opacity: 1 !important; }
        .cert-box.search-match { outline: none !important; filter: none !important; }
        [tooltiptext]:before, [tooltipleft]:before, [tooltipright]:before,
        [tooltiptexttitle]:before, [tooltiptexttitleleft]:before { display: none !important; }

        #my-roadmap-section { page-break-before: always; break-before: page; }
        #provider-notes-section { page-break-before: always; break-before: page; }
        .section-header h2, .note-card h3 { color: #000 !important; }
        .section-header p, .note-card p { color: #222 !important; }
        .note-card a { color: #444 !important; }
    }
