/* Certificates tick sheet (certificate-tick-sheet.js), release 3, 2026-09-25.
 * Every selector begins with .cert, so nothing here can restyle another part of the dashboard.
 * It reads styles.css's custom properties with a fallback in every var(). */
.cert { color: var(--ink, #1f2933); max-width: 1100px; }
.cert-head { display: flex; align-items: center; gap: .4rem; }
.cert-head h2 { margin: 0; font-size: 1.15rem; }
.cert h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
.cert-banner { background: #eef2f7; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: .5rem .7rem; font-size: .88rem; margin: .5rem 0; }
.cert-status { min-height: 1.2em; color: var(--muted, #5b6470); font-size: .85rem; margin: .2rem 0; }
.cert-error { color: #9b2c2c; font-weight: 600; }
.cert-muted { color: var(--muted, #5b6470); font-size: .85rem; }
.cert-facts { margin: .4rem 0 .6rem; }
.cert-wrap { max-width: 100%; overflow-x: auto; }
.cert-table { border-collapse: collapse; width: 100%; font-size: .92rem; }
.cert-table th, .cert-table td { border-bottom: 1px solid var(--line, #e5e7eb); padding: .45rem .4rem; text-align: left; vertical-align: top; }
.cert-table thead th { font-size: .82rem; color: var(--muted, #5b6470); font-weight: 600; }
.cert-table tr.cert-left th, .cert-table tr.cert-left td { color: var(--muted, #5b6470); }
.cert-tick { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; cursor: pointer; }
.cert-tick input { width: 1.25rem; height: 1.25rem; }
.cert button { font: inherit; padding: .45rem .8rem; min-height: 44px; border-radius: 6px; border: 1px solid var(--line, #cfd6de); background: #fff; color: inherit; cursor: pointer; }
.cert button.cert-primary { background: var(--blue, #2f5f8f); border-color: var(--blue, #2f5f8f); color: #fff; }
.cert button:disabled { opacity: .55; cursor: not-allowed; }
.cert button:focus-visible, .cert input:focus-visible, .cert summary:focus-visible { outline: 2px solid var(--blue, #2f5f8f); outline-offset: 2px; }
.cert-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0; }
.cert-confirm { border: 1px solid var(--line, #e5e7eb); border-radius: 10px; padding: .4rem .9rem .6rem; margin-top: 1rem; }
.cert-done { background: #eaf6ee; border: 1px solid #b9dfc6; border-radius: 8px; padding: .3rem .8rem; }
.cert-picker { display: inline-flex; align-items: center; gap: .4rem; margin: .4rem 0; }
.cert-help { display: inline-block; position: relative; }
.cert-help > summary { list-style: none; cursor: pointer; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 1px solid var(--line, #cfd6de);
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.cert-help-body { position: absolute; z-index: 20; max-width: 320px; background: #fff; border: 1px solid var(--line, #e5e7eb); border-radius: 8px; padding: .4rem .7rem; }
@media (max-width: 600px) {
  .cert-table thead { display: none; }
  .cert-table tr { display: block; border-bottom: 1px solid var(--line, #e5e7eb); padding: .4rem 0; }
  .cert-table th, .cert-table td { display: block; border: 0; padding: .15rem 0; }
}
