/* Pencify H2 "Blue pencil" shell: scoped to :root.pco (removed for reduced motion / forced colors) */
:root.pco{--pco-page:#0b0b0b;--pco-ink:#ededed}
:root.pco[data-theme="light"]{--pco-page:#fdf7f2;--pco-ink:#2b2b2b}
/* sidebar = page colour, no hard edge; one thin hand-drawn grey line instead */
@media (min-width:721px){:root.pco .sidebar{background:var(--pco-page)!important;border-right-color:transparent!important;position:relative}
:root.pco .sidebar[data-pco]::after{content:"";position:absolute;top:0;bottom:0;right:-3px;width:6px;background:var(--pc-vline) 0 0/100% 100% no-repeat;pointer-events:none;z-index:2}}
@media (max-width:720px){:root.pco .sidebar[data-pco]::after{content:"";position:absolute;top:0;bottom:0;right:-3px;width:6px;background:var(--pc-vline) 0 0/100% 100% no-repeat;pointer-events:none}}
/* inactive items: plain modern, no outlines */
:root.pco .projectlink:not([aria-current="page"]):hover{background:color-mix(in srgb,var(--pco-ink) 7%,transparent)}
/* ACTIVE (H3 "Solid active"): crisp solid blue pills, no sketch. Dark: #18b4ff + near-black (8.4:1). Light: #0077b6 + white (4.9:1) */
:root.pco{--pco-act:#18b4ff;--pco-act-ink:#0b0b0b}
:root.pco[data-theme="light"]{--pco-act:#0077b6;--pco-act-ink:#ffffff}
:root.pco .projectlink[aria-current="page"]{background:var(--pco-act)!important;color:var(--pco-act-ink)!important;box-shadow:none!important;transition:background-color .3s ease,color .3s ease}
:root.pco .projectlink[aria-current="page"] .projecticon{color:var(--pco-act-ink)!important}
:root.pco .themeswitch .themepill{background:var(--pco-act)!important;box-shadow:none!important;transition:transform 260ms cubic-bezier(.16,1,.3,1),background-color .3s ease!important}
:root.pco .themeswitch button[aria-pressed="true"]{color:var(--pco-act-ink)!important;transition:color .26s ease}
@keyframes pco-in{from{opacity:.4}}
/* side panel selections: 5% blue tint (bottom tab bar keeps its solid pill). Text: dark #f2f2f2 (~17:1), light #0b0b0b (~19:1) */
:root.pco .projectlink[aria-current="page"],:root.pco .themeswitch .themepill{background:rgba(24,180,255,.10)!important}
:root.pco .projectlink[aria-current="page"],:root.pco .projectlink[aria-current="page"] .projecticon,:root.pco .themeswitch button[aria-pressed="true"]{color:#f2f2f2!important}
:root.pco[data-theme="light"] .projectlink[aria-current="page"],:root.pco[data-theme="light"] .themeswitch .themepill{background:rgba(0,119,182,.10)!important}
:root.pco[data-theme="light"] .projectlink[aria-current="page"],:root.pco[data-theme="light"] .projectlink[aria-current="page"] .projecticon,:root.pco[data-theme="light"] .themeswitch button[aria-pressed="true"]{color:#0b0b0b!important}
