/* BioInnovation Greece Brand Center
   Tokens come from the Branding Identity and Palette handbook (Polynesian Blue). */
:root {
  --big-blue: #174D88;
  --big-deep: #23405E;
  --big-sky: #6AB0FC;
  --big-mist: #D7E4FD;
  --big-red: #A33630;
  --big-ochre: #BD7E17;
  --big-lime: #E0E17F;
  --white: #FFFFFF;
  --black: #000000;

  --ink: #14202E;
  --ink-soft: #52627A;
  --line: #E1E8F2;
  --surface: #F4F7FB;
  --page: #FFFFFF;

  --font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-secondary: Lato, Arial, sans-serif;
  --font-alt: "Source Sans 3", Arial, sans-serif;
}
:root {
  --navy: #0B1626;
  --navy-2: #11243D;
  --radius: 10px;
  --radius-sm: 8px;
  --side: 276px;
  --shadow: 0 1px 2px rgba(11, 22, 38, .06);
  --shadow-lg: 0 2px 8px rgba(11, 22, 38, .1);
  --bar: 60px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: #fff;
  line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--big-blue); text-underline-offset: 3px; }
a:hover { color: var(--big-deep); }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86em; }
code { background: rgba(23,77,136,.08); border: 0; padding: .12em .45em; border-radius: 6px; color: var(--big-deep); }
::selection { background: var(--big-sky); color: var(--navy); }

/* ---------- Sidebar ---------- */
.side {
  position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 30; background: var(--big-deep); color: var(--big-mist);
  display: flex; flex-direction: column; overflow-y: auto;
}
.side-brand { display: block; padding: 26px 24px 20px; text-decoration: none; border-bottom: 1px solid rgba(215,228,253,.14); }
.side-brand img { width: 100%; max-width: 188px; }
.side-brand span { display: block; margin-top: 12px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--big-sky); font-weight: 700; }
.side-nav { padding: 8px 14px 24px; flex: 1; }
.grp h6 { margin: 22px 10px 8px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(215,228,253,.55); }
.side-nav a { display: block; padding: 8px 12px; margin-bottom: 1px; border-radius: 6px; color: var(--big-mist); text-decoration: none; font-size: 14.5px; }
.side-nav a:hover { background: rgba(215,228,253,.09); color: #fff; }
.side-nav a[aria-current="page"] { background: var(--big-blue); color: #fff; font-weight: 700; }
.side-nav a:focus-visible { outline: 3px solid var(--big-sky); outline-offset: -2px; }
.side-nav .sub { margin: 2px 0 8px 14px; padding-left: 10px; border-left: 1px solid rgba(215,228,253,.2); }
.side-nav .sub a { padding: 5px 10px; font-size: 13px; color: rgba(215,228,253,.75); border-radius: 4px; margin: 0; }
.side-nav .sub a.on { color: #fff; font-weight: 700; background: rgba(215,228,253,.1); }
.side-foot { padding: 16px 24px; font-size: 12px; line-height: 1.6; color: rgba(215,228,253,.55); border-top: 1px solid rgba(215,228,253,.14); }
.scrim { display: none; }

/* ---------- Top strip ---------- */
.top {
  position: fixed; top: 0; left: var(--side); right: 0; height: var(--bar); z-index: 20; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(20px, 3vw, 40px);
}
.crumb { font-size: 13.5px; color: var(--ink-soft); } .crumb i { font-style: normal; margin: 0 6px; color: #A9B6C8; } .crumb b { color: var(--big-deep); }
.main-link { display: inline-flex; align-items: center; gap: 8px; font: 700 13.5px var(--font); text-decoration: none; color: var(--big-deep); border: 1.5px solid var(--big-deep); padding: 8px 16px; border-radius: 6px; white-space: nowrap; transition: background .15s, color .15s; }
.main-link:hover { background: var(--big-deep); color: #fff; }
.main-link:focus-visible { outline: 3px solid var(--big-sky); outline-offset: 2px; }
.menu-btn { display: none; background: var(--big-deep); color: #fff; border: 0; border-radius: 6px; padding: 9px 14px; font: 700 13px var(--font); cursor: pointer; }

/* ---------- Page ---------- */
main { margin-left: var(--side); padding-top: var(--bar); }
.page { max-width: 1000px; padding: 48px clamp(20px, 4vw, 48px) 40px; }
.doc-head { padding-bottom: 28px; margin-bottom: 4px; border-bottom: 1px solid var(--line); counter-reset: sec; }
.page { counter-reset: sec; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin: 0 0 12px; color: var(--ink-soft); }
h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; margin: 0 0 14px; letter-spacing: -.01em; color: var(--big-deep); }
.lead { font-size: 18px; color: var(--ink-soft); max-width: 66ch; margin: 0; }
h2 { font-size: 24px; line-height: 1.25; margin: 56px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); color: var(--big-deep); counter-increment: sec; }
h2::before { content: counter(sec) "."; color: var(--big-blue); margin-right: .55em; font-weight: 700; }
h3 { font-size: 17px; margin: 28px 0 8px; color: var(--big-deep); }
p { margin: 0 0 14px; max-width: 78ch; }
ul.rules-list { padding-left: 20px; max-width: 78ch; } ul.rules-list li { margin-bottom: 10px; }
.muted { color: var(--ink-soft); font-size: 14.5px; }
.page-foot { margin-top: 72px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Content components ---------- */
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 24px; text-decoration: none; color: inherit; display: block; box-shadow: var(--shadow); }
a.card:hover { border-color: var(--big-sky); }
.card h3 { margin: 0 0 6px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.tile {
  border-radius: var(--radius); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; padding: 40px 28px; min-height: 180px; box-shadow: var(--shadow);
}
.tile img { width: min(320px, 100%); }
.tile.sym img { width: 96px; }
.t-white { background: #fff; } .t-mist { background: var(--big-mist); } .t-blue { background: var(--big-blue); border-color: var(--big-blue); }
.t-deep { background: var(--big-deep); border-color: var(--big-deep); } .t-black { background: #000; border-color: #000; }
.caption { font-size: 13px; color: var(--ink-soft); margin: 10px 4px 20px; }
.caption b { color: var(--ink); }

.clear { display: inline-block; max-width: 100%; padding: 28px; background: repeating-linear-gradient(45deg, rgba(106,176,252,.18) 0 6px, transparent 6px 12px); border: 1px dashed var(--big-sky); border-radius: 14px; }
.clear img { width: min(280px, 100%); background: #fff; }

.dont { position: relative; }
.dont .tile { min-height: 140px; }
.dont .x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--big-red); color: #fff; width: 26px; height: 26px; border-radius: 50%; font: 700 15px/26px var(--font); text-align: center; }

.swatch { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: pointer; background: #fff; text-align: left; padding: 0; font: inherit; color: inherit; width: 100%; box-shadow: var(--shadow); }
.swatch:hover { border-color: var(--big-sky); }
.swatch .chip { height: 128px; position: relative; }
.swatch .chip .copied { position: absolute; right: 12px; top: 12px; background: rgba(0,0,0,.72); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 99px; opacity: 0; transition: opacity .15s; }
.swatch.done .chip .copied { opacity: 1; }
.swatch .meta { padding: 14px 16px 16px; }
.swatch .meta b { display: block; font-size: 15px; }
.swatch .meta .hex { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--ink-soft); }
.swatch .meta small { display: block; color: var(--ink-soft); margin-top: 2px; font-size: 12.5px; }
.swatch.primary .chip { height: 210px; }
.pair { border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 2px; box-shadow: var(--shadow); }
.pair b { font-size: 26px; letter-spacing: -.02em; } .pair span { font-size: 13px; opacity: .92; }

.specimen { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.specimen .big { font-size: 68px; line-height: 1; margin: 0 0 12px; color: var(--big-deep); letter-spacing: -.03em; }
.specimen .alpha { color: var(--ink-soft); word-break: break-all; }
.role { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--big-red); font-weight: 700; margin-bottom: 8px; }
.scale { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 24px; box-shadow: var(--shadow); }
.scale > div { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.scale > div:last-child { border-bottom: 0; }
.scale .tag { font: 12px ui-monospace, Menlo, monospace; color: var(--ink-soft); }
.scale .s1 { font-size: 44px; font-weight: 700; line-height: 1.1; color: var(--big-deep); letter-spacing: -.02em; }
.scale .s2 { font-size: 32px; font-weight: 700; line-height: 1.15; color: var(--big-deep); }
.scale .s3 { font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--big-deep); }
.scale .s4 { font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--big-deep); }
.scale .sb { font-size: 16px; }

.btn { display: inline-block; font: 700 15px var(--font); padding: 11px 22px; border-radius: 6px; border: 2px solid var(--big-blue); background: var(--big-blue); color: #fff; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { background: var(--big-deep); border-color: var(--big-deep); color: #fff; }
.btn.secondary { background: transparent; color: var(--big-blue); }
.btn.secondary:hover { background: var(--big-mist); color: var(--big-deep); }
.btn.light { background: #fff; color: var(--big-blue); border-color: #fff; }
.btn.light:hover { background: var(--big-mist); border-color: var(--big-mist); }
input:focus-visible, select:focus-visible, .swatch:focus-visible, .dl:focus-visible, a.card:focus-visible, .tilecard:focus-visible { outline: 3px solid var(--big-sky); outline-offset: 2px; }
.row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.demo { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; box-shadow: var(--shadow); }
.demo.dark { background: var(--big-deep); border-color: var(--big-deep); }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 4px; letter-spacing: .02em; }
.b-blue { background: var(--big-blue); color: #fff; } .b-mist { background: var(--big-mist); color: var(--big-deep); } .b-red { background: var(--big-red); color: #fff; } .b-ochre { background: var(--big-ochre); color: #000; } .b-lime { background: var(--big-lime); color: var(--big-deep); }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--big-deep); }
input, select { width: 100%; font: 16px var(--font); padding: 12px 14px; border: 1.5px solid #AFC0D6; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus { border-color: var(--big-blue); }
.stat b { display: block; font-size: 44px; line-height: 1; color: var(--big-blue); letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--ink-soft); }
.callout { border: 1px solid var(--line); background: #fff; padding: 20px 22px; border-radius: var(--radius); box-shadow: var(--shadow); border-left: 4px solid var(--big-blue); }
.callout b:first-child { color: var(--big-deep); }

.dl { display: flex; align-items: center; gap: 16px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; background: #fff; box-shadow: var(--shadow); }
.dl:hover { border-color: var(--big-sky); background: var(--surface); color: inherit; }
.dl .thumb { width: 104px; height: 64px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 8px; border: 1px solid var(--line); }
.dl .thumb img { max-height: 100%; }
.dl b { display: block; font-size: 15px; } .dl small { color: var(--ink-soft); }
.dl .ext { margin-left: auto; font: 700 11px ui-monospace, Menlo, monospace; letter-spacing: .08em; color: var(--big-blue); background: rgba(23,77,136,.08); padding: 6px 10px; border-radius: 8px; }

pre { background: var(--navy-2); color: var(--big-mist); border-radius: var(--radius); padding: 20px 22px; overflow-x: auto; font-size: 13.5px; line-height: 1.6; margin: 0; box-shadow: var(--shadow); }

/* Social */
.shot { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; display: flex; justify-content: center; box-shadow: var(--shadow); }
.shot img { max-width: 100%; max-height: 420px; width: auto; height: auto; border-radius: 6px; }
.shot.wide img { max-height: none; width: 100%; }
.shot.sq img { max-height: 220px; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: table; }
.spec th, .spec td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--big-red); background: var(--surface); }
.spec td:first-child { font-weight: 700; color: var(--big-deep); white-space: nowrap; }

/* Forum + BioSTART */
.forum-hero { aspect-ratio: 3 / 2; border-radius: 22px; box-shadow: var(--shadow-lg); background: #174D88 url(/assets/forum/forum-background.webp) center / cover; display: flex; align-items: center; justify-content: center; }
.forum-hero img { width: min(300px, 55%); }
.bs-cover-wrap { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 40px; align-items: start; }
.bs-cover { aspect-ratio: 1448 / 2000; container-type: inline-size; position: relative; overflow: hidden; border-radius: 16px; background: #174D88 url(/assets/biostart/biostart-background.svg) center / cover; color: #fff; box-shadow: var(--shadow-lg); }
.bs-ribbon { position: absolute; left: 0; top: 13.2%; width: 81%; height: 4.8%; display: flex; align-items: center; padding-left: 9.7%; background: linear-gradient(90deg, #fff 0, rgba(255,255,255,.95) 30%, rgba(255,255,255,0) 100%); clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%); }
.bs-ribbon img { height: 62%; width: auto; }
.bs-title { position: absolute; left: 9.7%; top: 25%; font-size: 8.4cqw; line-height: 1.17; } .bs-title b { font-weight: 700; }
.bs-by { position: absolute; left: 9.7%; top: 43.6%; width: 32%; display: flex; align-items: center; gap: 3cqw; font-size: 4cqw; } .bs-by img { width: 100%; }
.bs-by.static { position: static; width: 260px; max-width: 100%; font-size: 24px; color: #fff; gap: 12px; } .bs-by.static img { width: 190px; }
.bs-qr { position: absolute; right: 7%; bottom: 3.5%; display: flex; align-items: center; gap: 3cqw; font-size: 3.4cqw; line-height: 1.2; }
.bs-qr i { width: 10.5cqw; height: 10.5cqw; border: .5cqw dashed rgba(255,255,255,.8); border-radius: 2px; }
.steps { padding-left: 20px; } .steps li { margin-bottom: 10px; }

/* Overview */
.cover {
  position: relative; overflow: hidden; color: #fff; border-radius: 16px; padding: clamp(28px, 5vw, 56px); margin-bottom: 8px;
  background:
    url(/assets/cover/symbol-watermark.png) no-repeat right -90px center / 520px auto,
    radial-gradient(700px 320px at 90% 0%, rgba(106,176,252,.35), transparent 60%),
    linear-gradient(135deg, #174D88 0%, #23405E 70%, #1B3250 100%);
}
.cover .eyebrow-light { margin: 0 0 18px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--big-mist); opacity: .85; }
.cover h1 { color: #fff; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.015em; }
.cover-lead { font-size: 18px; color: #D7E4FD; max-width: 56ch; margin: 0 0 36px; }
.cover-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0; padding-top: 24px; border-top: 1px solid rgba(215,228,253,.25); }
.cover-meta > div { padding: 0 24px 0 0; }
.cover-meta dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--big-sky); font-weight: 700; margin-bottom: 6px; }
.cover-meta dd { margin: 0; font-size: 14.5px; color: #fff; line-height: 1.5; }
.cover-meta dd i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 8px; border: 1px solid rgba(255,255,255,.5); vertical-align: -1px; }
.cover-meta code { background: rgba(255,255,255,.14); color: #fff; }
.index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.ix { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; background: #fff; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.ix:hover { border-color: var(--big-blue); box-shadow: 0 0 0 1px var(--big-blue); color: inherit; }
.ix:focus-visible { outline: 3px solid var(--big-sky); outline-offset: 2px; }
.ix-prev { height: 132px; display: flex; align-items: center; justify-content: center; padding: 18px; background: var(--surface); position: relative; border-bottom: 1px solid var(--line); }
.ix-blue { background: var(--big-blue); } .ix-blue img { width: 62%; max-width: 210px; }
.ix-forum { background: #174D88 url(/assets/cover/forum-bg.jpg) center / cover; } .ix-forum img { height: 82%; width: auto; }
.ix-bs { background: #174D88 url(/assets/cover/biostart-bg.jpg) center / cover; } .ix-bs .rib { position: absolute; left: 0; top: 34px; width: 82%; }
.ix-txt { padding: 14px 18px 18px; } .ix-n { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--big-red); font-weight: 700; margin-bottom: 4px; }
.ix-txt b { display: block; font-size: 17px; color: var(--big-deep); margin-bottom: 4px; } .ix-txt p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.sw-strip { display: flex; width: 100%; height: 72px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); } .sw-strip i { flex: 1; }
.aa { display: flex; align-items: center; gap: 16px; color: var(--big-deep); } .aa b { font-size: 58px; line-height: 1; letter-spacing: -.03em; } .aa span { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; } .mini .btn { padding: 8px 14px; font-size: 13px; }
.avs { display: flex; } .avs img { width: 68px; height: 68px; border-radius: 50%; border: 3px solid #fff; box-shadow: var(--shadow); } .avs img + img { margin-left: -14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; } .chips i { font: 700 12px ui-monospace, Menlo, monospace; font-style: normal; letter-spacing: .08em; background: #fff; border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; color: var(--big-blue); }
.rule-grid { list-style: none; counter-reset: rule; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.rule-grid li { counter-increment: rule; position: relative; padding: 18px 20px 18px 64px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.rule-grid li::before { content: counter(rule); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--big-mist); color: var(--big-blue); font-weight: 700; display: grid; place-items: center; }
.rule-grid b { display: block; color: var(--big-deep); margin-bottom: 2px; } .rule-grid span { color: var(--ink-soft); font-size: 14.5px; display: block; }

/* Text boxes, copy buttons, co-branding, signature */
.textbox { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 110px 4px 20px; background: #fff; box-shadow: var(--shadow); margin-bottom: 14px; }
.textbox p { max-width: none; }
.copybtn { font: 700 12.5px var(--font); color: var(--big-blue); background: #fff; border: 1.5px solid var(--big-blue); border-radius: 6px; padding: 7px 14px; cursor: pointer; }
.copybtn:hover, .copybtn.done { background: var(--big-blue); color: #fff; }
.copybtn:focus-visible { outline: 3px solid var(--big-sky); outline-offset: 2px; }
.textbox .copybtn { position: absolute; top: 12px; right: 14px; }
.sigprev { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; box-shadow: var(--shadow); overflow-x: auto; }
.cobrand { gap: 22px; flex-wrap: wrap; } .cobrand img { width: 190px; }
.cobrand.col { flex-direction: column; gap: 10px; }
.cobrand .vr { width: 1px; height: 54px; background: #AFC0D6; } .cobrand .vr.light { background: rgba(255,255,255,.5); }
.ph { display: inline-grid; place-items: center; min-width: 150px; height: 56px; padding: 0 16px; border: 1.5px dashed #AFC0D6; border-radius: 6px; color: var(--ink-soft); font-size: 13px; text-align: center; line-height: 1.3; }
.ph.light { border-color: rgba(255,255,255,.55); color: #fff; } .ph.sm { min-width: 84px; height: 44px; }
.lbl { font-size: 13px; color: var(--ink-soft); }
.row-many { gap: 14px; }

/* Overview previews and footer actions */
.nm { text-align: center; color: var(--big-deep); } .nm b { display: block; font-size: 19px; } .nm span { font-size: 12.5px; color: var(--ink-soft); }
.cb { display: flex; align-items: center; gap: 12px; } .cb img { width: 130px; } .cb i { width: 1px; height: 34px; background: #AFC0D6; } .cb span { font-size: 11px; color: var(--ink-soft); border: 1.5px dashed #AFC0D6; border-radius: 5px; padding: 12px 10px; }
.ph-img { width: 70%; height: 70%; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.5); background: linear-gradient(135deg, rgba(255,255,255,.25), rgba(255,255,255,.05)); }
.sigm { text-align: left; font-size: 12px; color: var(--ink-soft); line-height: 1.4; } .sigm b { display: block; font-size: 14px; color: var(--big-deep); } .sigm img { width: 120px; margin-top: 8px; }
.page-foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--big-blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Social examples and checklist */
.post { container-type: inline-size; aspect-ratio: 1; border-radius: 12px; position: relative; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.post.bad { background: linear-gradient(135deg, #f3e1b6, #cfe3a8 60%, #e8b4c8); padding: 7cqw; }
.post.bad .p1 { font: italic 700 9.5cqw/1.1 "Brush Script MT", "Segoe Script", cursive; color: #c0392b; }
.post.bad .p2 { font: 700 5cqw/1.2 "Courier New", monospace; color: #1b5e20; margin-top: 4cqw; }
.post.bad .p3 { font: 2.1cqw/1.3 "Times New Roman", serif; color: #555; margin-top: 5cqw; }
.post.good { background: var(--big-blue); padding: 8cqw; color: #fff; }
.post.good .g1 { font: 700 11cqw/1.05 var(--font); letter-spacing: -.01em; }
.post.good .g2 { font: 5cqw/1.3 var(--font); margin-top: 5cqw; color: var(--big-mist); }
.post.good .g3 { font: 700 5cqw/1.3 var(--font); margin-top: 3.5cqw; }
.post.good img { position: absolute; left: 8cqw; bottom: 8cqw; width: 38cqw; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 78ch; }
.checklist li { position: relative; padding: 12px 16px 12px 46px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.checklist li::before { content: ""; position: absolute; left: 16px; top: 14px; width: 17px; height: 17px; border: 2px solid var(--big-blue); border-radius: 4px; }

/* Tables */
.spec a { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) { .spec { display: block; overflow-x: auto; } }
@media (max-width: 960px) {
  .side { transform: translateX(-100%); transition: transform .2s; }
  body.menu-open .side { transform: none; }
  body.menu-open .scrim { display: block; position: fixed; inset: 0; background: rgba(11,22,38,.5); z-index: 25; }
  .top { left: 0; } .menu-btn { display: block; } .crumb { display: none; }
  .top { justify-content: space-between; }
  main { margin-left: 0; }
  .scale > div { grid-template-columns: 1fr; gap: 4px; }
  .bs-cover-wrap { grid-template-columns: 1fr; } .bs-cover { max-width: 340px; }
}
@media (max-width: 520px) { .main-link { padding: 8px 12px; font-size: 12.5px; } }
@media print {
  @page { size: A4; margin: 16mm 14mm; }
  body { font-size: 11pt; }
  .side, .top, .scrim, .menu-btn, .foot-actions, .copybtn { display: none !important; }
  main { margin: 0; padding: 0; }
  .page { max-width: none; padding: 0; }
  h2 { break-after: avoid; } .tile, .swatch, .dl, .callout, .ix, .rule-grid li, .dont, .pair, .shot, .specimen, .spec tr { break-inside: avoid; }
  .cover, .tile, .swatch .chip, .pair, .ix-prev, .bs-cover, .forum-hero { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .textbox { padding-right: 20px; }
  .bs-cover-wrap { grid-template-columns: 1fr; } .bs-cover { max-width: 300px; }
  .doc-head { break-before: page; } .doc-head:first-child { break-before: auto; }
}
