/* MyAppClub TouchBook. Forest, gold and paper colours (first made for GauBase World Club),
   the owner's logos. Styles are TouchBook's own; no code is shared with other apps. */
:root {
  --font: "Segoe UI", system-ui, -apple-system, "Noto Sans", "Noto Sans Gujarati", "Noto Sans Devanagari", sans-serif;
  --forest: #0f3b2c; --forest-2: #1f5b45; --leaf: #2f8a5b; --sprout: #9be07a; --sun: #f3a63b; --gold: #f3c55b; --saffron: #e8892b;
  --bg: #f6f3ea; --card: #ffffff; --ink: #173e32; --muted: #5d7a6c; --line: #e4e0d2;
  --brand: #0f3b2c; --brand-2: #1f5b45; --soft: #eef7ef; --danger: #b42318; --stage: #e9e5d8;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); -webkit-tap-highlight-color: transparent; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--brand-2); }
#app { min-height: 100%; display: flex; flex-direction: column; }
.loading { margin: auto; padding: 40px 16px; text-align: center; color: var(--muted); font-size: 1.1rem; }
.offscreen { position: fixed; left: -100000px; top: 0; width: 1000px; visibility: hidden; }
[hidden] { display: none !important; }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--forest); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.brand strong { display: block; font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.brand small { display: block; font-size: .72rem; color: var(--gold); }
.top .icon-btn { background: transparent; color: #fff; border-color: var(--gold); }
.mark { width: 42px; height: 42px; border-radius: 50%; background: #fff; object-fit: contain; flex: 0 0 auto; }
.top-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d9e8df; }
.brand + .lang { margin-left: auto; }
.lang { border: 0; background: #fff; color: var(--ink); border-radius: 999px; padding: 6px 12px; max-width: min(40vw, 200px); }

.screen { width: 100%; max-width: 960px; margin: 0 auto; padding: 16px 16px 40px; }
/* hero: sunrise over the forest, two logos and the name in the middle */
.hero-wc { position: relative; overflow: hidden; margin: 6px 0 0; padding: 30px 24px 32px; border-radius: 28px; color: #fff; text-align: center;
  background: radial-gradient(circle at 50% -10%, rgba(243,166,59,.9) 0, rgba(243,166,59,.35) 22%, transparent 50%),
              radial-gradient(circle at 10% 110%, rgba(155,224,122,.35) 0, transparent 45%),
              linear-gradient(160deg, #0f3b2c 0%, #16533d 55%, #2f8a5b 100%);
  box-shadow: 0 24px 60px -28px rgba(15,59,44,.7); }
.hero-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,560px) minmax(0,1fr); align-items: center; gap: 18px; }
.hero-logo { justify-self: center; width: clamp(96px,15vw,170px); height: clamp(96px,15vw,170px); object-fit: contain; border-radius: 50%; background: #fff; padding: 6px;
  box-shadow: 0 0 0 4px rgba(243,197,91,.85), 0 16px 34px -14px rgba(0,0,0,.6); }
.hero-center { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hero-kicker { margin: 0; font-weight: 800; letter-spacing: .08em; color: var(--gold); font-size: clamp(.95rem,2.2vw,1.2rem); }
.wc-name { margin: 2px 0 0; font-size: clamp(2.4rem,7vw,4.4rem); line-height: 1; font-weight: 900;
  background: linear-gradient(180deg,#fff 30%,#fde7a8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.oneid { margin: 12px auto 0; max-width: 90%; }
.oneid span { position: relative; z-index: 1; display: inline-block; padding: 6px 16px; border-radius: 16px; font-weight: 800; font-size: clamp(.85rem,1.5vw,1rem); line-height: 1.35; color: #3b2400;
  background: linear-gradient(135deg,#fff1c1 0%,#f6d27a 35%,#e9a93a 100%); box-shadow: 0 10px 26px -10px rgba(243,166,59,.95); }
.motto { margin: 18px 0; }
.motto span { display: inline-block; padding: 7px 20px; border-radius: 14px; font-weight: 800; color: #0f3b2c; background: linear-gradient(135deg,#e9ffd8,#9be07a); }
.btn-gold { border: 0; cursor: pointer; border-radius: 999px; padding: 12px 30px; font-weight: 800; font-size: 1.1rem; color: #3b2400;
  background: linear-gradient(135deg,#f6d27a,#f3a63b); box-shadow: 0 10px 24px -10px rgba(243,166,59,.9); }
.drop-note { margin: 10px 0 0; color: #e3efe7; font-size: .9rem; }
@media (max-width: 600px) {
  .hero-wc { padding: 22px 12px 26px; }
  .hero-row { grid-template-columns: 1fr 1fr; grid-template-areas: 'l r' 'c c'; row-gap: 14px; }
  .hero-row > .logo-btn:first-child { grid-area: l; } .hero-row > .logo-btn:last-child { grid-area: r; } .hero-center { grid-area: c; }
  .hero-logo { width: 96px; height: 96px; }
  .brand small { display: none; }
}
/* the owner's logos in a slow endless band (paused on hover, still when motion is reduced) */
.logo-band { overflow: hidden; margin: 30px 0 0; padding: 16px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); mask-image: linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.logo-track { display: flex; width: max-content; animation: logos 45s linear infinite; }
.logo-band:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 40px; margin: 0; padding: 0 20px; list-style: none; }
.logo-set img { height: 84px; width: auto; max-width: 280px; object-fit: contain; display: block; }
.logo-set img.round { border-radius: 50%; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (max-width: 520px) { .logo-set img { height: 64px; } .logo-set { gap: 26px; } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; width: auto; } .logo-band { -webkit-mask-image: none; mask-image: none; } .logo-set { flex-wrap: wrap; justify-content: center; row-gap: 16px; } .logo-set[aria-hidden] { display: none; } }
.site-foot { text-align: center; font-size: .78rem; color: var(--muted); padding: 20px 16px 28px; }
.site-foot p { margin: 4px 0; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.section-title { margin: 30px 0 12px; font-size: 1.4rem; color: var(--forest); }
.section-title::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin-top: 8px; background: linear-gradient(90deg,var(--saffron),var(--gold)); }
.screen-title { font-size: 1.4rem; margin: 6px 0 14px; }

.primary { background: var(--brand-2); color: #fff; border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.primary.big { font-size: 1.15rem; padding: 14px 26px; border-radius: 14px; }
.chip { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 12px; cursor: pointer; white-space: nowrap; }
.chip[aria-pressed="true"] { background: var(--soft); border-color: var(--brand-2); }
.chip:disabled { opacity: .7; cursor: default; }
.ghost { border: 1px solid var(--line); background: transparent; border-radius: 10px; padding: 8px 12px; cursor: pointer; }
.danger { color: var(--danger); }
.icon-btn { border: 1px solid var(--line); background: var(--card); border-radius: 10px; min-width: 38px; height: 38px; cursor: pointer; font-size: 1.05rem; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, .reader-stage:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; border: 1px solid var(--line); background: var(--card); border-radius: 20px; cursor: pointer; text-align: left; text-decoration: none; color: var(--ink); min-height: 124px; box-shadow: 0 12px 30px -24px rgba(15,59,44,.55); }
.tile:hover { border-color: var(--gold); }
.tile-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.5rem; background: linear-gradient(135deg,#eaf6ec,#fdf2dc); margin-bottom: 6px; }
.tile-name { font-weight: 800; font-size: 1.05rem; color: var(--forest); }
.tile-sub { color: var(--muted); font-size: .85rem; }
.privacy { margin-top: 24px; padding: 14px 18px; border-radius: 18px; background: linear-gradient(135deg,#fff8e8,#eef7ef); border: 1px solid #eadfbf; }
body.dragging #app { outline: 4px dashed var(--brand-2); outline-offset: -10px; }

.list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 8px; }
.row { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px 6px 6px; }
.row-main { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; text-align: left; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); text-decoration: none; }
.row-icon { grid-row: span 2; font-size: 1.5rem; }
.row-name { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-sub { color: var(--muted); font-size: .85rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty { color: var(--muted); padding: 14px 4px; list-style: none; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.inline-form input { flex: 1; min-width: 180px; }
input, textarea { border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 10px 12px; }
.search { width: 100%; }
.nb-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.nb-title { flex: 1; font-size: 1.3rem; font-weight: 800; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.editor { display: flex; flex-direction: column; gap: 10px; min-height: calc(100vh - 110px); }
.page-title { font-size: 1.2rem; font-weight: 700; }
.page-body { flex: 1; min-height: 50vh; resize: vertical; line-height: 1.6; font-size: 1.05rem; }
.editor-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.save-state { color: var(--muted); font-size: .9rem; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 18px; border-radius: 12px; z-index: 50; max-width: calc(100% - 32px); box-shadow: 0 6px 24px #0004; }

/* reader */
.reader { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--stage); }
.reader-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; padding-top: max(8px, env(safe-area-inset-top)); background: var(--card); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.reader-title { flex: 1 1 160px; min-width: 0; margin: 0; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reader-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.zoom-label { min-width: 46px; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; }
.reader-stage { flex: 1; overflow: auto; touch-action: pan-x pan-y; overscroll-behavior: contain; }
.reader-content { padding: 14px; margin: 0 auto; }
.reader-content > * { zoom: var(--zoom, 1); }
.reader-content.regular { max-width: 980px; display: flex; flex-direction: column; gap: 14px; }
.reader-content.flip { max-width: 980px; perspective: 1600px; }
.page-slot { min-height: 300px; }
.page-slot:empty { background: #fff8; border-radius: 4px; aspect-ratio: 1 / 1.3; }
.flip-slot { transform-origin: center; }
.flip-slot.out-left { animation: out-left 130ms ease-in forwards; transform-origin: left center; }
.flip-slot.out-right { animation: out-right 130ms ease-in forwards; transform-origin: right center; }
.flip-slot.in-right { animation: in-right 150ms ease-out; transform-origin: left center; }
.flip-slot.in-left { animation: in-left 150ms ease-out; transform-origin: right center; }
@keyframes out-left { to { transform: rotateY(-88deg); opacity: .4; } }
@keyframes out-right { to { transform: rotateY(88deg); opacity: .4; } }
@keyframes in-right { from { transform: rotateY(88deg); opacity: .4; } }
@keyframes in-left { from { transform: rotateY(-88deg); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .flip-slot { animation: none !important; } }
/* TouchBook mode: one whole page fills the stage, no scrolling, tap left / right */
.touch-mode .reader-stage { overflow: hidden; touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none; }
.touch-mode .zoom-ctl { display: none; }
.reader-content.touch { height: 100%; max-width: none; padding: 6px; display: flex; }
.reader-content.touch > .flip-slot { flex: 1; min-height: 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.touch .sheet-page { flex: 0 0 auto; }
.touch .pdf-wrap { height: 100%; display: flex; align-items: center; justify-content: center; background: transparent; box-shadow: none; }
.touch .pdf-page { width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: 0 2px 10px #0003; }
.touch .ppt-frame { width: auto; }
.touch .docx-wrapper.sheet-page > section.docx { margin: 0; overflow: hidden; }
.touch .excel-page, .touch .text-page { max-height: 100%; overflow: auto; }
.chip[aria-pressed="true"] { font-weight: 700; }
.touch-ask { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 16px; background: #0007; }
.touch-ask-card { background: var(--card); color: var(--ink); border-radius: 16px; padding: 20px; max-width: 420px; width: 100%; text-align: center; box-shadow: 0 10px 40px #0005; }
.touch-ask-card h2 { margin: 8px 0; font-size: 1.25rem; }
.touch-ask-card p { margin: 0 0 12px; color: var(--muted); }
.touch-ask-icon { font-size: 2rem; }
.touch-hint { display: flex; gap: 8px; margin: 12px 0 16px; font-size: .9rem; }
.touch-hint span { flex: 1; padding: 10px 6px; border-radius: 10px; background: var(--soft); }
.touch-ask-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.reader-nav { display: flex; align-items: center; gap: 8px; padding: 8px 12px; padding-bottom: max(8px, env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); }
.nav-btn { flex: 0 0 auto; border: 0; background: var(--brand-2); color: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.nav-btn:disabled { opacity: .4; cursor: default; }
.reader-status { flex: 1; text-align: center; font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .nav-btn { padding: 10px 12px; } .reader-status { font-size: .78rem; } }
.error { color: var(--danger); padding: 20px; }

/* pages: always white paper, also in dark mode */
.sheet-page { background: #fff; color: #111; box-shadow: 0 2px 10px #0002; border-radius: 3px; margin: 0 auto; }
.pdf-wrap { line-height: 0; }
.pdf-page { display: block; width: 100%; height: auto; }
.text-page { padding: 28px 30px; min-height: 60vh; max-width: 820px; }
.text-title { margin: 0 0 12px; font-size: 1.3rem; color: #0f544e; }
.text-body { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--font); font-size: 1rem; line-height: 1.6; }
.docx-wrapper.sheet-page { background: transparent; box-shadow: none; padding: 0; display: block; }
.docx-wrapper.sheet-page > section.docx { margin: 0 auto; box-shadow: 0 2px 10px #0002; }
.excel-page { padding: 0; overflow: hidden; }
.excel-head { padding: 10px 14px; background: #eef7f5; border-bottom: 1px solid #cfe3de; color: #123b39; }
.excel-scroll { overflow: auto; max-height: calc(100vh - 230px); }
.reader-content.regular .excel-scroll { max-height: none; }
.excel-table { border-collapse: collapse; font-size: .85rem; font-family: var(--font); }
.excel-table th, .excel-table td { border: 1px solid #dde5e3; padding: 4px 8px; white-space: pre; max-width: 360px; overflow: hidden; text-overflow: ellipsis; }
.excel-table thead th { position: sticky; top: 0; background: #f1f5f4; color: #555; font-weight: 600; z-index: 1; }
.excel-table th.rownum { position: sticky; left: 0; background: #f1f5f4; color: #555; font-weight: 600; text-align: right; }
.excel-table th.corner { position: sticky; left: 0; z-index: 2; }
.excel-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.ppt-frame { position: relative; overflow: hidden; width: 100%; }
.ppt-slide { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #fff; overflow: hidden; font-family: var(--font); color: #000; }
.ppt-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ppt-shape { position: absolute; display: flex; flex-direction: column; overflow: hidden; }
.ppt-p { margin: 0; overflow-wrap: anywhere; }
.ppt-pic { position: absolute; object-fit: fill; }
.ppt-chart { position: absolute; display: grid; place-items: center; border: 2px dashed #9ebdb8; color: #567; font-size: 18px; text-align: center; padding: 8px; }
.ppt-table { position: absolute; border-collapse: collapse; }
.ppt-table td { border: 1px solid #889; padding: 4px 6px; vertical-align: top; }

/* reader bars */
.reader-bar { background: var(--forest); color: #fff; border-bottom: 0; }
.reader-bar .chip, .reader-bar .icon-btn { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(243,197,91,.6); }
.reader-bar .chip[aria-pressed="true"] { background: linear-gradient(135deg,#f6d27a,#f3a63b); color: #3b2400; border-color: transparent; }
.reader-bar .chip.keep:disabled { opacity: 1; color: var(--gold); }
.nav-btn { border-radius: 999px; }
.primary { border-radius: 999px; }

/* the two main logos: a click / touch shows the logo large, 80% of the screen, never enlarged beyond its own size (no blur) */
.logo-btn { justify-self: center; padding: 0; border: 0; background: none; border-radius: 50%; cursor: zoom-in; }
.logo-btn .hero-logo { display: block; transition: transform .15s ease; }
.logo-btn:hover .hero-logo, .logo-btn:focus-visible .hero-logo { transform: scale(1.04); }
.logo-box { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.logo-box::backdrop { background: rgba(10,30,22,.82); }
.logo-box[open] { display: grid; place-items: center; width: 100vw; height: 100vh; margin: 0; inset: 0; cursor: zoom-out; }
.logo-box img { width: min(80vw, 80vh, 1254px); height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 6px rgba(243,197,91,.9), 0 30px 80px -20px rgba(0,0,0,.7); image-rendering: auto; }
.logo-box .logo-close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold);
  background: rgba(255,255,255,.12); color: #fff; font-size: 1.4rem; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .logo-btn .hero-logo { transition: none; } }

/* Close the file: a clear red-gold button at the right end of the reader bar (never hidden) */
.close-btn { order: 99; margin-left: auto; flex: 0 0 auto; border: 2px solid var(--gold); background: #b42318; color: #fff; border-radius: 999px;
  padding: 7px 14px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.close-btn:hover, .close-btn:focus-visible { background: #8f1c12; }
.reader-bar { row-gap: 6px; }
.reader-title { order: 1; } .reader-bar > .icon-btn:first-child { order: 0; } .reader-tools { order: 2; }
@media (max-width: 700px) {
  .reader-title { flex: 1 1 0; }
  .close-btn { order: 1; margin-left: 0; padding: 6px 11px; }
  .reader-tools { order: 3; flex: 1 1 100%; }
}

/* sign-in with the MyAppClub account */
.acct-chip { margin-left: auto; color: #fff; text-decoration: none; border: 1px solid var(--gold); border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: .9rem; white-space: nowrap; }
.acct-chip + .lang { margin-left: 0; }
.login-wall { border: 0; padding: 0; background: transparent; max-width: min(460px, calc(100vw - 32px)); }
.login-wall::backdrop { background: rgba(10,30,22,.7); }
.login-wall-card { background: var(--card); color: var(--ink); border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 0 0 4px rgba(243,197,91,.8), 0 24px 60px -20px #0008; }
.login-wall-card h2 { margin: 8px 0; color: var(--forest); }
.lw-icon { font-size: 2rem; }
.reg-link { display: inline-block; text-decoration: none; color: var(--forest-2); font-weight: 700; }
.login-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; max-width: 460px; }
.login-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-weight: 600; }
.picture-code { width: 100%; max-width: 330px; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.picture-words { font-size: 1.1rem; font-weight: 700; }
.linkish { background: none; border: 0; padding: 0; color: var(--forest-2); text-decoration: underline; cursor: pointer; font: inherit; }
.login-msg { min-height: 1.4em; font-weight: 600; color: var(--forest-2); }

/* admin: Settings -> API Key (Uni-API Key standard) */
.admin-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.admin-box h2 { margin: 0 0 4px; font-size: 1.15rem; }
.admin-add { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 10px; max-width: 480px; }
.admin-add h3 { margin: 0; font-size: 1rem; }
.admin-add input, .admin-add select, .login-card input { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ticks { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.tick { font-weight: 500; white-space: nowrap; }
.checks { display: flex; flex-wrap: wrap; gap: 4px; }
.checks .ok, .checks .no { font-size: .78rem; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.checks .ok { background: #e3f3e8; color: #1d5b33; }
.checks .no { background: #f7e6e3; color: #8a2d1d; }
.btn-link { display: inline-block; text-decoration: none; }
