/* Functional floor shared by every design (prepended to each design's style.css by render-designs.mjs).
   Behaviour only: no colour, font, spacing or layout choices live here. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0}
[hidden]{display:none!important}
img,svg,video{max-width:100%;height:auto}
img{display:block}
figure{margin:0}
table{border-collapse:collapse}
.skip{position:absolute;left:-9999px;top:0;z-index:100}
.skip:focus{left:12px;top:12px;padding:8px 12px;background:#fff;color:#000;outline:3px solid #000}
summary{cursor:pointer}
:focus-visible{outline:3px solid currentColor;outline-offset:2px}
sup.rf{line-height:0;font-size:.7em;white-space:nowrap}
.ed-share-url{width:100%;max-width:100%}
pre,code{white-space:pre-wrap;overflow-wrap:anywhere}
main{overflow-wrap:break-word}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.srcs,.srcw,.srcs a{overflow-wrap:anywhere}
/* Structure the old stylesheet gave the correction contact: the address sits on its own line under the link. */
.ed-ac-address,.ed-ac-contact-note{display:block;overflow-wrap:anywhere}
.ed-ac-contact{display:inline-flex;align-items:center;min-height:44px}

/* Harbor: modern software guide. Rounded cards, soft sections, feature rows. Variables come from the per-site CSS. */
body.hb{background:var(--bg);color:var(--ink);font:400 17px/1.65 var(--body);-webkit-font-smoothing:antialiased}
.hb a{color:var(--accent);text-decoration:none}
.hb a:hover{color:var(--accent-deep);text-decoration:underline;text-underline-offset:3px}
.hb h1,.hb h2,.hb h3,.hb h4{font-family:var(--head);font-weight:700;line-height:1.15;letter-spacing:var(--head-track);margin:0 0 .45em;color:var(--ink);text-wrap:balance}
.hb h1 a,.hb h2 a,.hb h3 a{color:inherit}
.hb h1 a:hover,.hb h2 a:hover,.hb h3 a:hover{color:var(--accent);text-decoration:none}
.hb p{margin:0 0 .9em}
.hb dl dd{margin-left:0}
.hb-art{width:100%;height:auto}

/* Masthead: a light app bar with a pill navigation */
.hb-mast{max-width:1240px;margin:0 auto;padding:18px 28px 0}
.hb-bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:10px 10px 10px 14px;border-radius:999px;background:var(--bg);border:1px solid var(--line);box-shadow:0 8px 30px -18px rgba(40,30,120,.35)}
.hb-brand{display:flex;align-items:center;gap:12px;color:var(--ink)!important;text-decoration:none!important}
.hb-mark{width:40px;height:40px;flex:none}
.hb-mark-img{width:40px;height:40px}
.hb-name{font:700 21px/1.1 var(--head);letter-spacing:var(--head-track)}
.hb-nav{display:flex;flex-wrap:wrap;gap:4px;padding:4px;border-radius:999px;background:var(--soft)}
.hb-nav a{font:600 15px/1 var(--body);color:var(--ink);padding:11px 16px;border-radius:999px}
.hb-nav a:hover{background:var(--bg);color:var(--accent);text-decoration:none;box-shadow:0 2px 10px -4px rgba(40,30,120,.3)}
.hb-metabar{padding:14px 18px 0}
.hb-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:0;font:500 14.5px/1.5 var(--body);color:var(--mute)}
.hb-meta br{display:none}
.hb-updated{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;border-radius:999px;background:var(--soft2);color:var(--accent-deep);font-weight:600;font-size:13.5px}
.hb-updated::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}

.hb-main{max-width:1240px;margin:0 auto;padding:28px 28px 64px}

/* Shared labels */
.jn-category,.ep-kicker,.ed-guide-type{display:inline-block;font:700 12.5px/1 var(--body)!important;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep)!important;background:var(--soft2);padding:7px 12px;border-radius:999px;margin:0 0 14px!important}
.jn-read,.ep-official{display:inline-flex;align-items:center;gap:8px;font:700 15px/1 var(--body);color:var(--accent);padding:12px 18px;border-radius:999px;background:var(--soft);transition:background .2s}
.jn-read::after,.ep-official::after{content:"→";transition:transform .2s}
.jn-read:hover,.ep-official:hover{background:var(--soft2);text-decoration:none!important}
.jn-read:hover::after{transform:translateX(3px)}
.byline,.ep-byline,.ed-guide-byline{font:500 14.5px/1.4 var(--body);color:var(--mute)}

/* Home: hero panel */
.hb-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;gap:24px;padding:56px 56px 48px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b));position:relative;overflow:hidden}
.hb-hero h1{font-size:clamp(38px,4.6vw,62px);line-height:1.04;margin:0 0 20px}
.hb-hero [class*="-dek"]{font-size:20px;line-height:1.55;color:var(--mute);max-width:34em;margin-bottom:28px}
.hb-hero .jn-category{background:var(--bg)}
.hb-hero .jn-read{background:var(--accent);color:#fff;padding:15px 22px}
.hb-hero .jn-read:hover{background:var(--accent-deep);color:#fff}
.hb-hero-art{margin:-24px -16px -32px 0}

/* Home: feature cards with 3D icons */
.hb-features{margin:28px 0 0}
.hb-fgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hb-fcard{display:flex;flex-direction:column;padding:26px;border-radius:var(--radius);background:var(--bg);border:1px solid var(--line);box-shadow:0 18px 40px -30px rgba(40,30,120,.45)}
.hb-fcard>article,.hb-fcard>section{display:flex;flex-direction:column;flex:1}
.hb-fcard>article>div{display:flex;flex-direction:column;flex:1}
.hb-ficon{width:72px;height:72px;margin-bottom:18px}
.hb-fcard h2{font-size:22px;line-height:1.25}
.hb-fcard p:not(.jn-category){color:var(--mute);font-size:16.5px}
.hb-fcard .jn-category{align-self:flex-start}
.hb-fcard .jn-read{margin-top:auto;align-self:flex-start}
.hb-fcard-archive{background:var(--soft);border-color:transparent}
.hb-fcard-archive .jn-read{background:var(--bg)}

/* Home: feature rows (reviews) on a soft section */
.hb-reviews{margin:56px -28px 0;padding:52px 28px 56px;background:var(--soft);border-radius:calc(var(--radius) * 1.5)}
.hb-sec-head>header{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 28px}
.hb-sec-head h2{font-size:clamp(28px,3vw,38px);margin:0}
.hb-sec-head a{font-weight:700;font-size:15.5px}
.hb-rows{display:flex;flex-direction:column;gap:24px}
.hb-row>article{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center;padding:36px;border-radius:var(--radius);background:var(--bg);box-shadow:0 20px 50px -36px rgba(40,30,120,.5)}
.hb-row:nth-child(even)>article>figure{order:-1}
.hb-row h3{font-size:clamp(26px,2.4vw,32px)}
.hb-row [class*="best-for"],.hb-row [class*="review-fit"]{font-size:17.5px;color:var(--ink)}
.hb-row [class*="best-for"] strong{color:var(--accent-deep)}
.hb-row [class*="-limit"]{padding:16px 18px;border-radius:var(--radius-s);background:var(--soft);margin:0 0 18px;font-size:16px}
.hb-row [class*="-limit"] strong{display:block;font:700 13px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:4px}
.hb-row [class*="-limit"] p{margin:0}
.hb-row dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 18px}
.hb-row dl>div{padding:14px 16px;border-radius:var(--radius-s);background:var(--soft)}
.hb-row dt{font:700 12.5px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:4px}
.hb-row dd{font-size:16px;line-height:1.5}
.hb-row figure{padding:12px;border-radius:var(--radius);background:linear-gradient(135deg,var(--hero-a),var(--hero-b))}
.hb-row figure img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top left;border-radius:var(--radius-s);background:#fff;box-shadow:0 14px 30px -20px rgba(30,20,90,.55)}
.hb-scene img{border-radius:var(--radius-s);aspect-ratio:16/10;object-fit:cover}
.hb figcaption{font:500 13.5px/1.4 var(--body);color:var(--mute);margin:10px 4px 0}

/* Home: comparison as a product panel */
.hb-compare{margin:56px 0 0}
.hb-compare [data-journal-review-index]>div{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,2.2fr);gap:36px;align-items:start}
.hb-compare [data-journal-review-index]>div>header{position:sticky;top:20px}
.hb-compare h2{font-size:clamp(30px,3.2vw,42px)}
.hb-compare header p:not(.jn-category){color:var(--mute);font-size:17.5px}
.ed-controls{display:flex;flex-direction:column;gap:16px;padding:22px;border-radius:var(--radius);background:var(--soft);margin-bottom:18px}
.ed-control-group{display:flex;flex-direction:column;gap:10px}
.ed-control-label,.ed-focus>span{font:700 12.5px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep)}
.ed-chipset{display:flex;flex-wrap:wrap;gap:8px}
.ed-chip{font:600 14.5px/1 var(--body);padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;gap:8px}
.ed-chip span{width:8px;height:8px;border-radius:50%;background:var(--line)}
.ed-chip[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}
.ed-chip[aria-pressed="true"] span{background:#fff}
.ed-focus{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.ed-focus select{font:500 15.5px var(--body);padding:10px 14px;border-radius:12px;border:1px solid var(--line);background:var(--bg);color:var(--ink)}
.ed-control-actions{display:flex;flex-wrap:wrap;gap:10px}
.ed-button{font:700 14.5px/1 var(--body);padding:12px 18px;border-radius:999px;border:1px solid var(--line);background:var(--bg);color:var(--ink);cursor:pointer}
.ed-button-accent{background:var(--ink);border-color:var(--ink);color:#fff}
.ed-control-status{font-size:15px;color:var(--mute)}
.ed-share-url{font:15px var(--body);padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--ink)}
.ed-empty{color:var(--mute);font-style:italic}
.jn-vendors{display:flex;flex-direction:column;gap:12px}
.jn-vendors details{border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);transition:box-shadow .2s}
.jn-vendors details[open]{box-shadow:0 20px 44px -32px rgba(40,30,120,.55)}
.jn-vendors summary{display:flex;align-items:center;gap:16px;padding:18px 22px;list-style:none}
.jn-vendors summary::-webkit-details-marker{display:none}
.jn-vendors summary::after{content:"+";margin-left:auto;flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--accent);font:600 20px/1 var(--body)}
.jn-vendors details[open] summary::after{content:"−"}
.jn-vendors summary>span:last-child{display:flex;flex-direction:column;gap:3px}
.jn-vendors summary strong{font:700 19px/1.25 var(--head);letter-spacing:var(--head-track)}
.jn-vendors summary small{font-size:15.5px;line-height:1.45;color:var(--mute)}
[class*="-rank"]{flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,var(--soft2),var(--hero-b));color:var(--accent-deep);font:700 15px/1 var(--body);font-variant-numeric:tabular-nums}
[class*="vendor-body"]{padding:0 22px 22px 76px}
.jn-criteria{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;margin:14px 0 18px}
.jn-criteria section{padding:16px;border-radius:var(--radius-s);background:var(--soft)}
.jn-criteria h4{font-size:16px;margin-bottom:8px}
.jn-criteria p{font-size:16px;margin:0}
.ed-status,.ep-status{display:inline-flex;align-items:center;gap:6px;font:700 12px/1 var(--body);letter-spacing:.04em;text-transform:uppercase;padding:6px 10px;border-radius:999px;background:var(--bg);margin-bottom:10px}
.ed-status::before,.ep-status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.ed-status[data-status="documented"],[data-status="documented"] .ep-status{color:var(--ok)}
.ed-status[data-status="partial"],[data-status="partial"] .ep-status{color:var(--warn)}
.ed-status[data-status="not-established"],[data-status="not-established"] .ep-status{color:var(--accent-deep)}
.ed-claim{display:inline}
.ed-basis{display:block;font-size:14.5px;color:var(--mute);margin-top:4px}

/* Home: alternatives as numbered cards */
.hb-alts{margin:64px 0 0}
.hb-alts [data-journal-alternatives]>h2{font-size:clamp(28px,3vw,38px);margin-bottom:24px}
.hb-alts [data-journal-alternatives]>div{display:grid;grid-template-columns:1fr 1fr;gap:20px;counter-reset:alt}
.hb-alts article{position:relative;padding:28px 28px 24px;border-radius:var(--radius);border:1px solid var(--line);background:var(--bg);counter-increment:alt}
.hb-alts article::before{content:counter(alt,decimal-leading-zero);position:absolute;top:24px;right:24px;font:700 14px/1 var(--body);color:var(--accent-deep);background:var(--soft2);padding:8px 10px;border-radius:10px}
.hb-alts h3{font-size:24px;padding-right:56px}
.jn-alternative-scenario{font-size:18px;font-weight:600;color:var(--ink);padding:14px 16px;border-radius:var(--radius-s);background:var(--soft)}
.hb-alts article p:not(.jn-alternative-scenario){font-size:16.5px}
.hb-alts article p strong{color:var(--accent-deep)}

/* Inner pages: breadcrumbs */
.crumbs ol{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0 0 22px;font:600 14px/1.4 var(--body);color:var(--mute)}
.crumbs li+li::before{content:"›";margin-right:6px;color:var(--accent)}

/* Guide */
.ed-guide-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:center;padding:48px 52px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b));margin-bottom:36px}
.ed-guide-hero::after,.jn-ac-lead::after{content:"";display:block;aspect-ratio:4/3;background:center/contain no-repeat}
.ed-guide-hero .ed-guide-type{background:var(--bg)}
.ed-guide-hero h1{font-size:clamp(36px,4.4vw,58px);line-height:1.05}
.ed-guide-dek{font-size:20px;line-height:1.55;color:var(--mute)}
.ed-guide-dates{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 0}
.ed-guide-dates>div{display:flex;gap:6px;padding:6px 12px;border-radius:999px;background:var(--bg);font-size:14.5px}
.ed-guide-dates dt{color:var(--mute)}.ed-guide-dates dd{margin:0;font-weight:600}
.ed-guide-layout{display:grid;grid-template-columns:250px minmax(0,720px);gap:48px;justify-content:center}
.ed-guide-toc,.tocm,.rtoc{align-self:start;position:sticky;top:20px;padding:20px;border-radius:var(--radius);background:var(--soft);font-size:15.5px;line-height:1.45}
.ed-guide-toc summary,.tocm summary,.rtoc h2{font:700 13px/1.3 var(--body)!important;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);margin:0 0 10px}
.ed-guide-toc ol,.tocm ol,.rtoc ol{margin:0;padding-left:20px}
.ed-guide-toc li,.tocm li,.rtoc li{margin:7px 0}
.ed-guide-body,.artbody,.pf-main{font-size:18px;line-height:1.75}
.ed-guide-section+.ed-guide-section{margin-top:40px}
.ed-guide-body h2,.artbody h2,.pf-main h2{font-size:clamp(26px,2.6vw,32px);margin-top:1.3em}
.ed-guide-section:first-child h2{margin-top:0}
.artbody h3{font-size:22px;margin-top:1.2em}
.ed-guide-checklist{margin:26px 0;padding:22px 24px;border-radius:var(--radius);background:var(--soft);border:1px solid var(--line)}
.ed-guide-checklist h3{font:700 13px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep)}
.ed-guide-checklist ul{list-style:none;padding:0;margin:0}
.ed-guide-checklist li{position:relative;padding-left:34px;margin:10px 0;font-size:17px}
.ed-guide-checklist li::before{content:"";position:absolute;left:0;top:3px;width:22px;height:22px;border-radius:7px;background:var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3L16 8' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat}
.ed-guide-notes,.ed-guide-related{max-width:1018px;margin:40px auto 0;padding:24px 28px;border-radius:var(--radius);border:1px solid var(--line);font-size:16.5px}
.ed-guide-notes summary{font:700 17px/1.3 var(--head)}
.ed-guide-related{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;background:var(--soft);border-color:transparent}
.ed-guide-related h2{font-size:20px}
.ed-guide-related ul{list-style:none;padding:0;margin:0}
.ed-guide-related li{padding:8px 0;border-bottom:1px solid var(--line)}

/* Review */
.ep-journal-open{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:center;padding:44px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b));margin-bottom:40px}
.ep-journal-verdict .ep-kicker{background:var(--bg)}
.ep-journal-verdict h1{font-size:clamp(38px,4.6vw,60px);line-height:1.04}
.ep-journal-fit{font-size:19px;line-height:1.55}
.ep-fit-guide{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}
.ep-fit-guide>div{padding:16px;border-radius:var(--radius-s);background:var(--bg)}
.ep-fit-guide dt{font:700 12.5px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep)}
.ep-fit-guide dd{margin:4px 0 0;font-size:16px;line-height:1.5}
.hb .ep-official{background:var(--accent);color:#fff;margin-top:6px}
.hb .ep-official:hover{background:var(--accent-deep);color:#fff}
.ep-journal-picture{padding:12px;border-radius:var(--radius);background:var(--bg);box-shadow:0 24px 50px -34px rgba(30,20,90,.6)}
.ep-journal-picture img{width:100%;border-radius:var(--radius-s)}
.pf-body{display:grid;grid-template-columns:minmax(0,1fr) 320px;grid-template-areas:"main aside";gap:48px;max-width:1140px;margin:0 auto}
.pf-main{grid-area:main}.pf-aside{grid-area:aside}
.pf-main .tocm{display:none}
.pf-aside{font-size:16px;align-self:start;position:sticky;top:20px;display:flex;flex-direction:column;gap:16px}
.pf-aside .rtoc{position:static}
.pf-aside .card,.pf-aside>div:not(.rbox):not(.card){padding:20px;border-radius:var(--radius);border:1px solid var(--line);background:var(--bg)}
.pf-aside h2{font:700 13px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:10px}
.glance{margin:0;display:grid;gap:2px}
.glance dt{font:700 12px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--mute);margin-top:10px}
.glance dt:first-child{margin-top:0}
.glance dd{margin:2px 0 0;font:600 17px/1.4 var(--head)}
.alts{list-style:none;padding:0;margin:0}.alts li{padding:10px 0;border-bottom:1px solid var(--line)}.alts li:last-child{border:0}
.alts small{display:block;color:var(--mute);font-size:14.5px;margin:4px 0}
.ps{margin-bottom:12px}
.shot{margin:26px 0;padding:12px;border-radius:var(--radius);background:var(--soft)}
.shot img{border-radius:var(--radius-s);width:100%}
.ep-profile{max-width:1140px;margin:56px auto 0;padding:44px;border-radius:calc(var(--radius) * 1.5);background:var(--soft)}
.ep-assessment-head h2{font-size:clamp(28px,3vw,38px)}
.ep-criteria{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;margin-top:20px}
.ep-criterion{padding:22px;border-radius:var(--radius);background:var(--bg)}
.ep-criterion header{display:flex;flex-direction:column;align-items:flex-start}
.ep-criterion h3{font-size:20px}
.ep-criterion details{margin-top:8px;font-size:16px}
.ep-criterion summary{font-weight:700;color:var(--accent)}
.ep-proof{font-size:16px;color:var(--mute)}

/* About, method, sources, article index, archive article */
.ed-accountability,.mainart,.ed-source-page,.faq{max-width:820px;margin:0 auto}
.jn-ac-lead{display:grid;grid-template-columns:minmax(0,1fr) 220px;column-gap:24px;align-items:center;padding:44px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b));margin-bottom:28px}
.jn-ac-lead>*{grid-column:1}
.jn-ac-lead::after{grid-column:2;grid-row:1/span 4}
.jn-ac-lead h1,.mainart h1,.ed-source-page h1,.hb-article-index>h1{font-size:clamp(36px,4.4vw,56px);line-height:1.05}
.jn-ac-dek{font-size:20px;line-height:1.55;color:var(--mute)}
.jn-ac-question{font-weight:600;padding:14px 18px;border-radius:var(--radius-s);background:var(--bg);margin:6px 0 0}
.jn-ac-section,.ed-ac-block{margin:18px 0;padding:28px 30px;border-radius:var(--radius);border:1px solid var(--line)}
.jn-ac-section h2{font-size:26px}
.ed-ac-block h3{font-size:22px}
.ed-ac-evidence{margin:0}
.ed-ac-evidence>div{display:grid;grid-template-columns:190px 1fr;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.ed-ac-evidence>div:last-child{border:0}
.ed-ac-evidence dt{font-weight:700;color:var(--accent-deep)}.ed-ac-evidence dd{margin:0}
.jn-ac-revisions{margin:18px 0;padding:22px 30px;border-radius:var(--radius);background:var(--soft)}
.jn-ac-revisions summary{font:700 18px/1.3 var(--head)}
.jn-ac-revisions article{padding:12px 0;border-bottom:1px solid var(--line)}
.jn-ac-corrections{background:var(--soft);border-color:transparent}
.hb-article-index{position:relative}
.hb-article-index>h1,.hb-article-index>.tline{max-width:640px}
.hb-article-index::before{content:"";position:absolute;right:28px;top:8px;width:260px;aspect-ratio:4/3;background:center/contain no-repeat}
.tline{font-size:17px;color:var(--mute);margin-bottom:36px!important}
.alist{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.alist li{padding:28px;border-radius:var(--radius);border:1px solid var(--line);background:var(--bg);box-shadow:0 18px 40px -32px rgba(40,30,120,.45)}
.alist li:first-child{grid-column:1/-1;background:linear-gradient(135deg,var(--hero-a),var(--hero-b));border-color:transparent}
.alist a.n{font:700 23px/1.25 var(--head);letter-spacing:var(--head-track);color:var(--ink)}
.alist li:first-child a.n{font-size:30px}
.alist a.n:hover{color:var(--accent)}
.alist .byline{margin:8px 0 10px}
.alist p:not(.byline){color:var(--mute)}
.mainart .byline{margin-bottom:28px}
.faq{margin-top:48px;padding:32px;border-radius:var(--radius);background:var(--soft)}
.faq h2{font-size:28px}
.qa{padding:16px 0;border-top:1px solid var(--line)}.qa h3{font-size:19px}
table.matrix{width:100%;font-size:15.5px;margin:20px 0;display:block;overflow-x:auto;border-radius:var(--radius-s);border:1px solid var(--line)}
table.matrix th,table.matrix td{border-bottom:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}
table.matrix th{background:var(--soft)}
.srcs{max-width:1140px;margin:48px auto 0;padding:32px;border-radius:var(--radius);background:var(--soft);font-size:15px;line-height:1.55}
.srcs h2{font:700 13px/1.3 var(--body);letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep)}
.srcs ol{columns:2;column-gap:40px;padding-left:24px;margin:0}.srcs li{break-inside:avoid;margin-bottom:8px}
.ed-source-page .srcs{margin-top:24px}
.ed-source-page>header p{font-size:18px;color:var(--mute)}
.hb-after{padding:0 28px 32px}
.hb-404{max-width:640px;text-align:center;padding-top:12vh}
.hb-404::before{content:"";display:block;width:260px;aspect-ratio:4/3;margin:0 auto 20px;background:center/contain no-repeat}

/* Footer: a soft band with the site's shapes */
.hb-footwrap{max-width:1240px;margin:0 auto 28px;padding:0 28px}
.hb-foot{display:grid;grid-template-columns:minmax(0,1fr);border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b));padding:36px 40px;position:relative;overflow:hidden}
.hb-foot>.ed-wrap{display:grid;grid-template-columns:1.2fr 1fr;gap:28px;align-items:end;font-size:16px}
.hb-foot strong{font:700 24px/1.2 var(--head);letter-spacing:var(--head-track)}
.hb-foot p{color:var(--mute);margin:8px 0 0;max-width:40em}
.hb-foot>.ed-wrap>div:last-child p{color:var(--ink);font-weight:600}
.hb-foot>.ed-wrap>div:last-child{text-align:right}
@media (min-width:981px){
  .hb-foot{grid-template-columns:minmax(0,1fr) 300px;align-items:center;gap:24px}
  .hb-foot::after{content:"";display:block;aspect-ratio:2/1;background:center/contain no-repeat}
}

/* Variant: Logitheque. Centred masthead, outlined cards, nav bar under the name. */
.hb-v-logitheque .hb-bar{flex-direction:column;gap:14px;border-radius:var(--radius);padding:22px 18px 14px;box-shadow:none;background:linear-gradient(180deg,var(--soft),var(--bg))}
.hb-v-logitheque .hb-name{font-size:30px}
.hb-v-logitheque .hb-mark,.hb-v-logitheque .hb-mark-img{width:46px;height:46px}
.hb-v-logitheque .hb-nav{background:var(--bg);border:1px solid var(--line)}
.hb-v-logitheque .hb-metabar{text-align:center}
.hb-v-logitheque .hb-meta{justify-content:center;text-align:center}
.hb-v-logitheque .hb-fcard,.hb-v-logitheque .alist li,.hb-v-logitheque .hb-row>article{box-shadow:none;border:1px solid var(--line)}
.hb-v-logitheque .hb-reviews{background:linear-gradient(180deg,var(--soft),var(--bg))}
.hb-v-logitheque .hb-hero{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)}
.hb-v-logitheque .hb-hero-art{order:-1;margin:-24px 0 -32px -16px}
.hb-v-logitheque [class*="-rank"]{border-radius:50%}
.hb-v-logitheque .ed-button-accent{background:var(--accent);border-color:var(--accent)}

/* Narrow screens */
@media (max-width:980px){
  .hb-hero,.hb-v-logitheque .hb-hero,.ed-guide-hero,.ep-journal-open,.pf-body,.ed-guide-layout,.hb-compare [data-journal-review-index]>div{grid-template-columns:minmax(0,1fr)}
  .pf-body{grid-template-areas:"main" "aside"}
  .hb-hero-art,.hb-v-logitheque .hb-hero-art{order:-1;margin:-20px auto -8px;max-width:420px}
  .ed-guide-hero::after{display:none}
  .hb-fgrid{grid-template-columns:1fr}
  .hb-row>article{grid-template-columns:minmax(0,1fr);gap:24px}
  .hb-row:nth-child(even)>article>figure{order:0}
  .hb-compare [data-journal-review-index]>div>header{position:static}
  .ed-guide-toc,.pf-aside{position:static}
  .pf-main .tocm{display:block;position:static;margin-bottom:24px}.pf-aside .rtoc{display:none}
  .srcs ol{columns:1}
  .hb-article-index::before{display:none}
  .hb-article-index>h1,.hb-article-index>.tline{max-width:none}
}
@media (max-width:700px){
  body.hb{font-size:17px}
  .hb-mast{padding:12px 14px 0}
  .hb-bar{flex-direction:column;align-items:stretch;border-radius:var(--radius);padding:14px}
  .hb-brand{justify-content:center}
  .hb-nav{justify-content:center;border-radius:var(--radius-s)}
  .hb-nav a{padding:10px 12px;font-size:14.5px}
  .hb-metabar{padding:12px 6px 0}
  .hb-meta{justify-content:center;text-align:center}
  .hb-main{padding:20px 14px 48px}
  .hb-hero,.ed-guide-hero,.ep-journal-open,.jn-ac-lead{padding:28px 22px;border-radius:var(--radius)}
  .jn-ac-lead{grid-template-columns:minmax(0,1fr)}.jn-ac-lead::after{display:none}
  .hb-reviews{margin:40px -14px 0;padding:36px 14px;border-radius:var(--radius)}
  .hb-row>article{padding:22px}
  .hb-row dl,.ep-fit-guide{grid-template-columns:1fr}
  .hb-sec-head>header{flex-direction:column;gap:6px}
  .hb-alts [data-journal-alternatives]>div,.alist{grid-template-columns:1fr}
  .ed-controls{padding:16px}
  .jn-vendors summary{padding:16px}
  [class*="vendor-body"]{padding:0 16px 18px}
  .ep-profile,.faq,.srcs{padding:24px 18px}
  .jn-ac-section,.ed-ac-block,.jn-ac-revisions{padding:22px 18px}
  .ed-ac-evidence>div{grid-template-columns:1fr;gap:2px}
  .hb-footwrap{padding:0 14px}
  .hb-foot{padding:28px 22px}
  .hb-foot>.ed-wrap{grid-template-columns:1fr}.hb-foot>.ed-wrap>div:last-child{text-align:left}
  .hb-after{padding:0 14px 24px}
}

/* Look pass 1 */
.ep-byline span+span::before{content:"·";margin:0 .5em;color:var(--accent)}
.hb-foot>.ed-wrap>div:last-child{text-align:left}
.hb-foot>.ed-wrap{align-items:center}
.hb-after .srcs{margin-top:0}
.hb-main.hb-review{padding-bottom:48px}
.ep-criterion .ep-status{background:var(--soft)}
.alist li:first-child{grid-column:auto}
.alist li:first-child a.n{font-size:23px}
.hb-art-hero{padding:40px 44px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b));margin-bottom:36px}
.hb-art-hero .byline{margin:0!important}
.jn-ac-section h3{font-size:19px;margin:1.2em 0 .3em}
.jn-ac-section h2+h3{margin-top:.6em}
@media (max-width:700px){.hb-art-hero{padding:26px 22px;border-radius:var(--radius)}}

/* Round 2 (judge fixes) */
/* Checklists are open questions: empty rounded boxes, no ticks. */
.ed-guide-checklist li::before{background:var(--bg);border:2px solid var(--accent);box-sizing:border-box}
/* One left edge per page: guide rail, review body, sources and narrow columns all start on the container edge. */
.ed-guide-layout{grid-template-columns:260px minmax(0,760px);justify-content:start;gap:56px}
.ed-guide-toc{max-height:calc(100vh - 40px);overflow:auto}
.ed-guide-toc[open] summary{margin-bottom:12px}
.ed-guide-notes,.ed-guide-related{max-width:none;margin-left:0;margin-right:0}
.pf-body,.ep-profile{max-width:none}
.hb-after{max-width:1240px;margin:0 auto;padding:0 28px 32px}
.hb-after .srcs{max-width:none}
.hb-about>.crumbs,.hb-method>.crumbs,.hb-sources>.crumbs,.hb-archive-article>.ed-wrap{max-width:820px;margin-left:auto;margin-right:auto}
.hb-archive-article .faq{max-width:none}
/* Footer links stay whole; a separator never starts a line. */
.hb-foot-links .hb-fl{white-space:nowrap}
@media (min-width:981px){.hb-foot>.ed-wrap{grid-template-columns:minmax(0,1fr) auto}}
/* Status labels on one line; taglines wrap evenly. */
.ed-status,.ep-status{white-space:nowrap}
.hb-meta>span:first-child,.hb-foot p,[class*="-dek"]{text-wrap:pretty}
@media (max-width:980px){
  .ed-guide-layout{grid-template-columns:minmax(0,1fr);gap:28px}
  .ed-guide-toc{position:static;max-height:none}
  /* Keep a small piece of the site's art on narrow guide and about heroes. */
  .ed-guide-hero::after,.jn-ac-lead::after{display:block;order:-1;width:150px;justify-self:start;grid-column:1;grid-row:auto}
  .jn-ac-lead{grid-template-columns:minmax(0,1fr)}
  .jn-ac-lead::after{grid-row:1}
}
@media (max-width:700px){
  .jn-ac-lead::after{display:block}
  /* Hartwell keeps its left-aligned bar on phones; Logitheque stays centred. */
  .hb-v-hartwell .hb-bar{align-items:stretch}
  .hb-v-hartwell .hb-brand{justify-content:flex-start}
  .hb-v-hartwell .hb-nav{justify-content:flex-start;background:transparent;padding:0;gap:6px}
  .hb-v-hartwell .hb-nav a{background:var(--soft);padding:9px 13px}
  .hb-v-hartwell .hb-meta{justify-content:flex-start;text-align:left}
  .hb-v-hartwell .hb-metabar{padding-left:4px}
}
/* Guide rail: a soft full-height panel; the open contents list stays in view while reading. */
@media (min-width:981px){
  .ed-guide-toc{position:static;align-self:stretch;max-height:none;overflow:visible;background:linear-gradient(180deg,var(--soft) 0,var(--soft) 40%,rgba(255,255,255,0) 100%)}
  .ed-guide-toc>ol{position:sticky;top:24px}
}
.hb-404{max-width:720px;margin:10vh auto 48px;padding:48px 40px 40px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b))}
@media (max-width:700px){.hb-404{margin:24px 14px;padding:32px 22px}}
/* Review rail: a soft full-height column; facts first, then the contents list that stays in view. */
@media (min-width:981px){
  .pf-aside{position:static;align-self:stretch;padding:16px;border-radius:var(--radius);background:linear-gradient(180deg,var(--soft) 0,var(--soft) 35%,rgba(255,255,255,0) 100%)}
  .pf-aside>.card{order:1}.pf-aside>div:not(.rbox):not(.card){order:2}.pf-aside>p.rbox{order:3}
  .pf-aside>.rtoc{order:4;position:sticky;top:24px;background:var(--bg);border:1px solid var(--line)}
}
.ed-source-page>header{padding:40px 44px;border-radius:calc(var(--radius) * 1.5);background:linear-gradient(135deg,var(--hero-a),var(--hero-b))}
.ed-source-page>header p{margin:0}
@media (max-width:700px){.ed-source-page>header{padding:26px 22px;border-radius:var(--radius)}}
/* Article index as feature rows: no tall empty card bottoms. */
@media (min-width:701px){
  .alist{grid-template-columns:minmax(0,1fr);gap:14px}
  .alist li{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);column-gap:40px;align-items:start;padding:26px 30px}
  .alist li>a.n{grid-column:1;grid-row:1}
  .alist li>.byline{grid-column:1;grid-row:2;margin-bottom:0}
  .alist li>p:not(.byline){grid-column:2;grid-row:1/span 2;margin:0}
}
body[data-page="archive-article"] .hb-after .srcs{max-width:820px;margin:0 auto}

/* Round 3: generated images. White-ground renders blend into the soft panels (multiply). */
.hb-pic{width:100%;height:auto;display:block}
.hb-hero-art{margin:0}
.hb-hero-art .hb-pic{mix-blend-mode:multiply;border-radius:var(--radius)}
.hb-fimg{display:block;margin:-10px -10px 18px;border-radius:var(--radius-s);overflow:hidden;background:var(--soft)}
.hb-fimg .hb-pic{aspect-ratio:3/2;object-fit:cover;mix-blend-mode:multiply}
.hb-ficon{display:none}
.hb-scene{padding:0!important;background:none!important}
.hb-scene .hb-pic{border-radius:var(--radius);aspect-ratio:3/2;object-fit:cover}
.ed-guide-hero::after,.jn-ac-lead::after,.hb-article-index::before,.hb-404::before,.ed-source-page>header::after,.hb-art-hero::after,.ep-assessment-head::after,.hb-foot::after{background-size:cover;background-position:center;background-repeat:no-repeat;mix-blend-mode:multiply;border-radius:var(--radius-s)}
.ed-guide-hero::after,.jn-ac-lead::after{aspect-ratio:1/1}
.hb-article-index::before{width:240px;aspect-ratio:1/1;top:-8px}
.hb-404::before{width:280px;aspect-ratio:1/1}
.hb-foot::after{aspect-ratio:3/2}
/* Sources and archive heroes, assessment head: copy left, picture right. */
.ed-source-page>header,.hb-art-hero{display:grid;grid-template-columns:minmax(0,1fr) 200px;column-gap:28px;align-items:center}
.ed-source-page>header>*,.hb-art-hero>*{grid-column:1}
.ed-source-page>header::after,.hb-art-hero::after{content:"";grid-column:2;grid-row:1/span 3;aspect-ratio:1/1}
.hb-art-hero::after{aspect-ratio:3/2;align-self:center}
.hb-art-hero{grid-template-columns:minmax(0,1fr) 240px}
.ep-assessment-head{max-width:none;display:grid;grid-template-columns:minmax(0,1fr) 300px;column-gap:32px;align-items:center}
.ep-assessment-head>*{grid-column:1}
.ep-assessment-head::after{content:"";grid-column:2;grid-row:1/span 3;aspect-ratio:3/2}
@media (max-width:700px){
  .ed-source-page>header,.hb-art-hero,.ep-assessment-head{grid-template-columns:minmax(0,1fr)}
  .ed-source-page>header::after,.hb-art-hero::after,.ep-assessment-head::after{grid-column:1;grid-row:auto;order:-1;width:160px;margin-bottom:12px}
  .hb-article-index::before{display:block;position:static;width:150px;margin-bottom:8px}
  .hb-404::before{width:200px}
}
.hb-foot::after{background-position:right center}
.hb-hero-art .hb-pic{aspect-ratio:5/4;object-fit:cover;transform:scale(1.08)}

/* Round 4: enterprise register. Photography, no blends, no themed art; plain footer band. */
.hb-hero-art .hb-pic,.hb-fimg .hb-pic{mix-blend-mode:normal;transform:none}
.hb-hero-art .hb-pic{aspect-ratio:3/2;object-fit:cover;border-radius:var(--radius);box-shadow:0 24px 50px -34px rgba(20,20,60,.55)}
.hb-fimg{margin:-10px -10px 18px;background:none}
.hb-fimg .hb-pic{aspect-ratio:16/10}
.ed-guide-hero::after,.jn-ac-lead::after,.hb-article-index::before,.hb-404::before,.ed-source-page>header::after,.hb-art-hero::after,.ep-assessment-head::after{mix-blend-mode:normal;border-radius:var(--radius-s);box-shadow:0 18px 40px -30px rgba(20,20,60,.5)}
.hb-hero{gap:40px}
.hb-hero-art{margin:0!important}
@media (min-width:981px){.hb-foot{grid-template-columns:minmax(0,1fr)}.hb-foot::after{display:none}}
/* Round 4 look fixes */
@media (min-width:981px){.hb-article-index::before{width:200px;top:-6px}.hb-article-index>.tline{margin-bottom:64px!important}}
@media (max-width:980px){.jn-ac-lead{display:block}.jn-ac-lead::after{width:150px;margin:0 0 16px}}
