/* OK Ghana (okdesk), 10.11.2026. Cocoa + mango, slab headings, "ticket" cards with a perforated edge. ASCII only. */
:root {
  --ink: #2b1a12; --cocoa: #3b2416; --cocoa2: #5a3a26; --cream: #fff6ea; --paper: #fbf8f4; --line: #e6d9cb;
  --mango: #f08a24; --mango2: #ffe2c2; --link: #9a3412; --ok: #1f7a4d; --okbg: #e3f3ea; --no: #b42318; --nobg: #fde8e6;
  --wait: #8a5a00; --waitbg: #fff1cc;
  --slab: Rockwell, "Rockwell Nova", "Roboto Slab", "Zilla Slab", "DejaVu Serif", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 6px; --max: 1080px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.62 var(--sans); }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--cocoa); }
img { max-width: 100%; height: auto; }
.okd-in { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.okd-skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 9; }
.okd-skip:focus { left: 8px; }

/* age band and header */
.okd-age { background: var(--ink); color: var(--cream); font-size: 13.5px; line-height: 1.4; padding: 7px 16px; display: flex; gap: 10px; justify-content: center; align-items: center; }
.okd-age b { background: var(--mango); color: var(--ink); border-radius: 3px; padding: 1px 6px; font-weight: 800; }
.okd-age a { color: var(--mango2); }
.okd-top { background: var(--cocoa); color: var(--cream); border-bottom: 4px solid var(--mango); }
.okd-top__row { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 10px; }
.okd-brand { display: flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; }
.okd-mark { width: 40px; height: 40px; flex: none; }
.okd-mark .o { fill: var(--mango); }
.okd-mark .i { fill: var(--cocoa); }
.okd-mark .t { fill: none; stroke: var(--cream); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.okd-brand__t b { display: block; font: 700 23px/1.05 var(--slab); letter-spacing: .3px; }
.okd-brand__t small { display: block; font-size: 12.5px; opacity: .85; }
.okd-menu-btn { display: none; background: transparent; color: var(--cream); border: 1.5px solid var(--cream); border-radius: var(--r); padding: 6px 12px; font: inherit; font-size: 15px; }
.okd-nav { display: flex; flex-wrap: wrap; gap: 4px 2px; padding-bottom: 10px; }
.okd-nav a { color: var(--cream); text-decoration: none; padding: 6px 12px; border-radius: 999px; font-size: 15.5px; }
.okd-nav a:hover, .okd-nav a[aria-current] { background: var(--cream); color: var(--cocoa); }

/* page head */
.okd-main { padding: 18px 0 40px; }
.okd-crumbs ol { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; }
.okd-crumbs li + li::before { content: "/"; margin-right: 4px; color: #a08672; }
.okd-crumbs a { color: var(--cocoa2); }
.okd-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.okd-head__logo { width: 84px; height: 84px; border-radius: 18px; border: 2px solid var(--line); background: #fff; flex: none; }
.okd-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--link); }
h1, h2, h3 { font-family: var(--slab); color: var(--cocoa); line-height: 1.2; }
h1 { font-size: clamp(28px, 4.2vw, 40px); margin: 0 0 10px; }
h2 { font-size: 24px; margin: 30px 0 10px; }
h3 { font-size: 19px; margin: 20px 0 6px; }
.okd-lead { font-size: 19px; margin: 0 0 10px; max-width: 760px; }
.okd-by { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 6px 0 0; font-size: 14px; color: var(--cocoa2); }
.okd-by span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--mango); margin-right: 10px; vertical-align: middle; }
.okd-body { max-width: 800px; }
.okd-body p, .okd-body li { max-width: 72ch; }
.okd-body table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.okd-body th, .okd-body td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.okd-body thead th { background: var(--cocoa); color: var(--cream); font-weight: 600; }
.okd-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ticket card: dashed perforation on the left, notch circles */
.okd-lic, .okd-quick, .okd-grade, .okd-facts, .okd-visit, .okd-reg, .okd-rg { position: relative; background: #fff; border: 2px solid var(--line); border-radius: var(--r); margin: 18px 0; }
.okd-lic { display: flex; gap: 14px; align-items: center; padding: 12px 16px 12px 22px; border-left: 8px solid var(--ok); }
.okd-lic.is-no { border-left-color: var(--no); background: var(--nobg); display: block; }
.okd-lic b { display: block; color: var(--ok); }
.okd-lic.is-no b { color: var(--no); }
.okd-lic span { display: block; font-size: 15px; }
.okd-lic__seal { flex: none; width: 56px; height: 56px; border-radius: 50%; border: 2.5px dashed var(--ok); color: var(--ok); display: grid !important; place-items: center; font: 800 14px var(--slab); background: var(--okbg); }
.okd-quick { padding: 12px 18px; background: var(--cream); border-style: dashed; border-color: #e3c9a8; }
.okd-quick__h { margin: 0 0 4px; font-weight: 800; color: var(--cocoa); }
.okd-quick ul { margin: 0; padding-left: 20px; }

.okd-grade { display: grid; grid-template-columns: 170px 1fr; overflow: hidden; }
.okd-grade__stamp { background: var(--cocoa); color: var(--cream); padding: 16px; text-align: center; border-right: 3px dashed var(--paper); }
.okd-grade__stamp span { display: block; font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; }
.okd-grade__stamp b { display: block; font: 800 64px/1 var(--slab); color: var(--mango); margin: 6px 0; }
.okd-grade__stamp small { font-size: 12.5px; opacity: .9; }
.okd-grade__body { padding: 12px 16px; }
.okd-grade ul { list-style: none; margin: 0; padding: 0; }
.okd-grade li { display: grid; grid-template-columns: 1fr 110px 40px; gap: 4px 10px; align-items: center; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.okd-grade__n small { color: #8b7564; }
.okd-grade__bar { height: 8px; background: var(--mango2); border-radius: 4px; overflow: hidden; }
.okd-grade__bar i { display: block; height: 100%; width: var(--w); background: var(--mango); }
.okd-grade__why { grid-column: 1 / -1; color: #6b5444; font-size: 13.5px; }
.okd-grade__field { margin: 10px 0 0; font-size: 14.5px; }
.okd-pill { display: inline-block; border-radius: 999px; padding: 1px 10px; font-size: 13px; font-weight: 700; margin-right: 6px; }
.okd-pill.is-wait { background: var(--waitbg); color: var(--wait); }

.okd-facts { padding: 4px 16px 10px; }
.okd-facts h2 { font-size: 19px; margin: 12px 0 6px; }
.okd-facts th { width: 34%; color: var(--cocoa2); font-weight: 600; }
.okd-src { font-size: 12.5px; white-space: nowrap; }

.okd-visit { padding: 14px 16px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.okd-visit__btn { background: var(--mango); color: var(--ink); text-decoration: none; font-weight: 800; padding: 10px 18px; border-radius: var(--r); border: 2px solid var(--cocoa); }
.okd-visit__btn:hover { background: var(--cocoa); color: var(--cream); }
.okd-visit p { margin: 0; font-size: 13.5px; color: #6b5444; }

.okd-faq details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.okd-faq summary { cursor: pointer; font-weight: 700; color: var(--cocoa); }
.okd-faq details p { margin: 6px 0 0; }
.okd-next { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 26px 0; }
.okd-next__h { grid-column: 1 / -1; margin: 0; font: 700 19px var(--slab); color: var(--cocoa); }
.okd-next a { display: block; background: #fff; border: 2px solid var(--line); border-left: 6px solid var(--mango); border-radius: var(--r); padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.okd-next a span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--link); font-weight: 800; }
.okd-next a:hover { border-color: var(--cocoa); }
.okd-sources ol { font-size: 14.5px; padding-left: 22px; }
.okd-rg { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; background: var(--cream); font-size: 14.5px; }
.okd-rg b { background: var(--ink); color: var(--cream); border-radius: 4px; padding: 2px 7px; }
.okd-rg p { margin: 0; }

/* register search */
.okd-reg { padding: 14px 16px; }
.okd-reg__label { display: block; font-weight: 700; margin-bottom: 6px; }
.okd-reg__q { width: 100%; font: inherit; padding: 10px 12px; border: 2px solid var(--cocoa); border-radius: var(--r); }
.okd-reg__out { font-size: 14.5px; margin: 8px 0; }
.okd-reg__out.is-hit { color: var(--ok); font-weight: 700; }
.okd-reg__out.is-miss { color: var(--no); font-weight: 700; }
.okd-reg__t td:first-child { font-weight: 700; }
.okd-reg__t tr[hidden] { display: none; }
.okd-reg__note { font-size: 13px; color: #6b5444; }

/* contact form (plugin markup okc-*) */
.okc-form label { display: block; font-weight: 600; margin: 10px 0 4px; }
.okc-form input, .okc-form select, .okc-form textarea { width: 100%; font: inherit; padding: 9px 11px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; }
.okc-form button { margin-top: 12px; background: var(--cocoa); color: var(--cream); border: 0; border-radius: var(--r); padding: 10px 18px; font: inherit; font-weight: 700; cursor: pointer; }

/* footer */
.okd-foot { background: var(--ink); color: #eadccb; margin-top: 30px; padding: 26px 0 14px; font-size: 14.5px; }
.okd-foot a { color: var(--mango2); }
.okd-foot__grid { display: grid; grid-template-columns: 1.4fr .7fr 1.2fr; gap: 22px; }
.okd-foot__name { font: 700 21px var(--slab); color: var(--cream); margin: 0 0 6px; }
.okd-foot__nav p { margin: 0 0 6px; font-weight: 700; color: var(--cream); }
.okd-foot__nav a { display: block; margin: 3px 0; }
.okd-foot__badge b { background: var(--mango); color: var(--ink); border-radius: 3px; padding: 1px 6px; margin-right: 4px; }
.okd-foot__badge { color: var(--cream); font-weight: 700; }
.okd-foot__social a { margin-right: 10px; }
.okd-foot__legal { border-top: 1px solid #4a3326; margin-top: 18px; padding-top: 12px; font-size: 13px; color: #c9b39e; }
.okd-404 { padding: 30px 16px 60px; }

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .okd-menu-btn { display: inline-block; }
  .okd-nav { display: none; }
  .okd-nav.is-open { display: flex; flex-direction: column; }
  .okd-nav a { padding: 9px 4px; border-radius: 0; border-top: 1px solid var(--cocoa2); }
  .okd-head__logo { width: 60px; height: 60px; border-radius: 14px; }
  .okd-grade { grid-template-columns: 1fr; }
  .okd-grade__stamp { border-right: 0; border-bottom: 3px dashed var(--paper); display: flex; align-items: center; gap: 14px; text-align: left; }
  .okd-grade__stamp b { font-size: 46px; margin: 0; }
  .okd-grade li { grid-template-columns: 1fr 70px 36px; }
  .okd-foot__grid { grid-template-columns: 1fr; }
  .okd-facts th { width: 40%; }
}

/* media and icons (10.11.2026) */
.okd-ico { width: 20px; height: 20px; flex: none; vertical-align: -4px; color: currentColor; }
.okd-brand { flex-wrap: wrap; gap: 2px 12px; }
.okd-brand__logo { height: 40px; width: auto; display: block; }
.okd-brand__tag { font-size: 12.5px; opacity: .85; color: var(--cream); }
.okd-nav a { display: inline-flex; align-items: center; gap: 7px; }
.okd-nav .okd-ico { width: 18px; height: 18px; color: var(--mango); }
.okd-nav a:hover .okd-ico, .okd-nav a[aria-current] .okd-ico { color: var(--cocoa); }
.okd-cover { margin: 4px 0 18px; }
.okd-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--r); border: 2px solid var(--line); background: #f3ece3; }
.okd-fig { margin: 18px 0 22px; }
.okd-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: var(--r); border: 2px dashed var(--line); background: #f3ece3; }
.okd-fig figcaption { font-size: 14px; color: #6b5444; margin-top: 6px; padding-left: 10px; border-left: 3px solid var(--mango); }
.okd-lic__seal { flex-direction: column; gap: 0; line-height: 1; }
.okd-lic__seal .okd-ico { width: 24px; height: 24px; color: var(--ok); }
.okd-lic__seal small { font-size: 10px; letter-spacing: .5px; }
.okd-lic.is-no > .okd-ico { width: 26px; height: 26px; color: var(--no); float: left; margin: 0 10px 0 0; }
.okd-pill .okd-ico { width: 15px; height: 15px; margin-right: 4px; vertical-align: -3px; }
.okd-facts th .okd-ico { width: 18px; height: 18px; color: var(--link); margin-right: 8px; vertical-align: -4px; }
.okd-next a img { display: block; width: calc(100% + 12px); height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: -10px -12px 8px -6px; border-radius: 3px 3px 0 0; }
.okd-rg > .okd-ico { width: 28px; height: 28px; color: var(--ink); }
.okd-foot__name img { height: 36px; width: auto; display: block; }
.okd-foot__badge .okd-ico, .okd-foot__rg .okd-ico { width: 20px; height: 20px; color: var(--mango); margin-right: 4px; }
@media (max-width: 760px) {
  .okd-brand__tag { display: none; }
  .okd-brand__logo { height: 34px; }
}
