/* eCertif: ekit.in look (cream, orange, Manrope + DM Sans) */
@font-face { font-family: Manrope; src: url(fonts/Manrope.woff2) format('woff2'); font-weight: 500 800; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url(fonts/DMSans.woff2) format('woff2'); font-weight: 400 700; font-display: swap; }
:root { --ink: #162032; --muted: #566072; --orange: #f97316; --act: #c2410c; --act2: #9a3412; --cream: #fff8f0; --tint: #ffedd5; --line: #e5dfd6; --card: #fff; --ok: #166534; --okbg: #e9f7ee; --bad: #b91c1c; --badbg: #fdecec; --warnbg: #fff4d6; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.55 'DM Sans', Arial, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3, .brand b { font-family: Manrope, 'DM Sans', Arial, sans-serif; letter-spacing: -.02em; line-height: 1.2; text-wrap: balance; }
h1 { font-size: clamp(1.55rem, 4vw, 2rem); margin: 0 0 10px; font-weight: 800; }
h2 { font-size: 1.15rem; margin: 0 0 8px; font-weight: 800; }
h3 { font-size: 1.05rem; margin: 0 0 6px; }
p { margin: 0 0 12px; } p:last-child { margin-bottom: 0; }
a { color: var(--act); } li { margin: 4px 0; } ul, ol { padding-left: 22px; margin: 0 0 12px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--act); outline-offset: 2px; }
code { font: 600 .86em ui-monospace, Consolas, monospace; background: var(--tint); border-radius: 4px; padding: 1px 5px; }
pre { background: var(--tint); padding: 12px; border-radius: 8px; overflow: auto; } pre code { padding: 0; background: none; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
.muted { color: var(--muted); font-weight: 400; } .small { font-size: .875rem; } .err { color: var(--bad); } .center { text-align: center; } .pad { padding: 14px 18px; } .grow { flex: 1 1 260px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 62ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 24px 20px; }
main.wrap { min-height: 66vh; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { display: grid; gap: 14px; justify-items: start; } .stack > * { margin: 0; max-width: 100%; } .stack > label, .stack > .formrow, .stack > .flash, .stack > details { width: 100%; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; align-items: start; }
.head { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; } .head h1 { margin: 0; }

.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.brand { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; } .brand span { display: grid; line-height: 1.1; } .brand b { font-size: 1.15rem; font-weight: 800; } .brand small { color: var(--muted); font-size: .74rem; }
.top nav { display: flex; align-items: center; gap: 4px; } .top nav a:not(.btn), .top .link { padding: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; border-radius: 8px; white-space: nowrap; } .top nav a:hover:not(.btn), .top .link:hover { background: var(--tint); } .top [aria-current] { background: var(--tint); }
.link { border: 0; background: none; color: var(--act); text-decoration: underline; padding: 8px 0; cursor: pointer; font-weight: 600; }
.foot { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding: 26px 20px; font-size: .9rem; border-top: 1px solid var(--line); margin-top: 30px; } .foot a { color: var(--muted); padding: 6px 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 6px 16px; border-radius: 9px; border: 1px solid #cfc6b9; background: #fff; color: var(--ink); text-decoration: none; font-weight: 700; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--act); background: #fffaf4; } .btn.primary { background: var(--act); border-color: var(--act); color: #fff; } .btn.primary:hover { background: var(--act2); } .btn.big { min-height: 48px; padding: 8px 22px; } .btn.small { min-height: 38px; padding: 4px 13px; font-size: .92rem; } .btn.danger { color: var(--bad); border-color: #e9b4b4; } .btn[disabled] { opacity: .6; cursor: wait; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 0 0 16px; } .card.narrow { max-width: 520px; margin: 18px auto; padding: 24px; } .card.flush { padding: 0; overflow: hidden; } .card.tint { background: var(--tint); }
label { display: grid; gap: 5px; font-weight: 600; font-size: .95rem; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #bdb4a7; border-radius: 8px; background: #fff; padding: 8px 11px; font-weight: 400; } input[readonly] { background: #faf7f2; }
input::placeholder { color: #6f7887; }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--act); flex: none; } label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.code:is(input) { font: 700 1.5rem ui-monospace, Consolas, monospace; letter-spacing: .3em; text-align: center; }
.formrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; } .formrow label:not(.check) { flex: 1 1 200px; }
.copy { display: flex; gap: 8px; } .copy input { min-width: 0; } .copy .btn { flex: none; white-space: nowrap; }
.flash { padding: 12px 15px; border-radius: 9px; margin: 0 0 14px; border: 1px solid; } .flash.ok { background: var(--okbg); border-color: #b5dfc3; color: #14532d; } .flash.bad { background: var(--badbg); border-color: #f0bcbc; color: #7f1d1d; } .flash.warn { background: var(--warnbg); border-color: #ecd597; color: #5b4206; } .flash a { color: inherit; font-weight: 700; }
.tag { font: 700 .74rem 'DM Sans'; background: var(--tint); color: var(--act2); padding: 2px 8px; border-radius: 99px; vertical-align: middle; } .tag.bad { background: var(--badbg); color: var(--bad); }
summary { cursor: pointer; font-weight: 700; padding: 4px 0; } details[open] > summary { margin-bottom: 8px; }
.help { background: #f2f6ff; border: 1px solid #ccd9f3; border-radius: 10px; padding: 10px 16px; margin: 0 0 16px; }
.next { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin: 20px 0 0; }

.stepbar { background: var(--card); border-bottom: 1px solid var(--line); } .stepin { max-width: 1040px; margin: 0 auto; padding: 10px 20px; display: flex; gap: 10px 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; } .evname a { text-decoration: none; padding: 8px; margin-left: -8px; }
.steps { display: flex; list-style: none; gap: 4px; padding: 0; margin: 0; } .steps li { margin: 0; } .steps a { display: flex; gap: 7px; align-items: center; padding: 7px 9px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .9rem; border-radius: 8px; } .steps i { font-style: normal; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid #bdb4a7; font-size: .8rem; flex: none; } .steps .done i { background: var(--ok); border-color: var(--ok); color: #fff; } .steps .on a { color: var(--ink); background: var(--tint); } .steps .on i { background: var(--act); border-color: var(--act); color: #fff; }

.scroll { overflow-x: auto; } table { border-collapse: collapse; width: 100%; font-size: .93rem; overflow-wrap: normal; } th, td { text-align: left; padding: 9px 14px; border-bottom: 1px solid var(--line); vertical-align: top; } th { font-weight: 700; } .list th { background: #faf7f2; font-size: .85rem; } .list tr:last-child td { border-bottom: 0; } tr.off td { color: var(--muted); }
.sheet { background: #fff; margin-bottom: 10px; } .sheet th, .sheet td { border: 1px solid #cbd5c9; padding: 6px 10px; white-space: nowrap; } .sheet th { background: #eaf4e8; } .sheet em { font: 700 .72rem 'DM Sans'; color: var(--bad); }
.tools { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); flex-wrap: wrap; } .tools input { flex: 1 1 180px; min-height: 40px; width: auto; } .pager { padding: 12px 14px; margin: 0; }
.drop { display: grid; gap: 14px; justify-items: center; text-align: center; border: 2px dashed #d8b48f; padding: 28px 18px; } .drop.over { background: var(--tint); border-color: var(--act); } .drop label { justify-items: center; font-weight: 400; } .drop strong { font-size: 1.1rem; } .drop input { max-width: 340px; padding: 8px; } .drop .status:empty { display: none; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 16px; } .stats div { flex: 1 1 130px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; color: var(--muted); } .stats b { display: block; font: 800 1.5rem Manrope; color: var(--ink); font-variant-numeric: tabular-nums; } .stats .good b { color: var(--ok); } .stats .badn b { color: var(--bad); }
.quota { display: grid; gap: 5px; font-size: .9rem; min-width: 210px; } progress { width: 100%; height: 8px; accent-color: var(--act); }
.event { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .event > div { flex: 1 1 240px; } .event h2 a { color: var(--ink); text-decoration: none; } .event p { margin: 0; } .state { font-weight: 700; font-size: .9rem; color: var(--muted); } .state.live { color: var(--ok); } .state.paused { color: var(--act2); }
.ticks { list-style: '✓  '; }
figure { margin: 0; } figcaption { font-weight: 700; margin-bottom: 8px; } [data-pdf] img { width: 100%; display: block; border: 1px solid var(--line); }
.mycert { border: 1px solid var(--line); border-radius: 10px; padding: 14px; margin: 0 0 12px; display: grid; gap: 12px; }
.verdict { display: grid; gap: 2px; padding: 16px; border-radius: 10px; margin-bottom: 16px; } .verdict b { font: 800 1.3rem Manrope; } .verdict.ok { background: var(--okbg); color: #14532d; } .verdict.bad { background: var(--badbg); color: #7f1d1d; }
.facts, section dl { margin: 0 0 12px; } dt { font-weight: 700; } dd { margin: 0 0 10px; } .facts { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; } .facts dt { color: var(--muted); font-weight: 400; } .facts dd { margin: 0; font-weight: 600; } .facts small { font-weight: 400; } .topline { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; } .toc a { padding: 7px 12px; background: #fff; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; }

.hero { background: linear-gradient(#fff, var(--cream)); border-bottom: 1px solid var(--line); } .hero .two { align-items: center; gap: 44px; padding-top: 48px; padding-bottom: 52px; } .hero h1 { font-size: clamp(2rem, 5.2vw, 3.1rem); } .free { font-weight: 700; color: var(--act); }
.demo { min-width: 0; } .demo table { background: #fff; font-size: .85rem; border: 1px solid #cbd5c9; } .demo th { background: #eaf4e8; } .demo th, .demo td { padding: 7px 10px; border: 1px solid #dbe3d9; overflow-wrap: anywhere; } .demo .hl { background: var(--tint); } .arrow { text-align: center; font-size: 1.6rem; color: var(--act); }
.cert { position: relative; background: #fff; border: 2px solid #b98a3e; outline: 1px solid #b98a3e; outline-offset: -8px; padding: 34px 24px 44px; text-align: center; display: grid; gap: 6px; } .cert small { letter-spacing: .1em; color: #7a5a22; font-weight: 700; } .cert b { font: 800 1.7rem Manrope; color: var(--act2); border-bottom: 1px solid var(--line); padding-bottom: 6px; } .cert span { color: var(--muted); font-size: .9rem; } .cert em { position: absolute; left: 20px; bottom: 16px; font: 600 .74rem ui-monospace, Consolas, monospace; } .cert svg { position: absolute; right: 18px; bottom: 16px; width: 40px; } .cert .w { fill: #fff; }
.band { padding-top: 34px; } .band > h2 { font-size: 1.6rem; margin-bottom: 18px; } .five { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 22px; list-style: none; padding: 0; counter-reset: f; } .five li { counter-increment: f; color: var(--muted); } .five b { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; } .five li::before { content: counter(f); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--act); color: #fff; font-weight: 800; margin-bottom: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px; margin-bottom: 10px; } .faq .row { margin-top: 22px; }

body.full { display: flex; flex-direction: column; height: 100dvh; } body.full main { flex: 1; min-height: 0; display: flex; flex-direction: column; } body.full .flash { margin: 8px 20px; } .edhead { display: flex; align-items: center; gap: 14px; padding: 8px 20px; flex-wrap: wrap; } .edhead .help { margin: 0; padding: 6px 14px; flex: 1 1 260px; } .edhead ol { margin: 0; } #edstatus { color: var(--muted); font-size: .9rem; } #edstatus.bad { color: var(--bad); font-weight: 700; } #editor { flex: 1; min-height: 420px; --ce-accent: #c2410c; --ce-accent-soft: #ffedd5; }
dialog { border: 0; border-radius: 12px; padding: 16px; width: min(920px, 94vw); max-height: 92vh; } dialog::backdrop { background: rgba(22, 32, 50, .6); } .pvhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } #pvpages img { width: 100%; display: block; border: 1px solid var(--line); }
body.bare { background: #fff; } .poster { text-align: center; padding: 40px 20px; max-width: 700px; margin: 0 auto; } .poster h1 { font-size: 2.6rem; } .poster img { width: min(420px, 90%); height: auto; margin: 18px 0; } .poster .big { font-size: 1.4rem; font-weight: 700; }
@media print { .noprint { display: none; } }
@media (max-width: 720px) {
  .wrap { padding: 18px 16px; } .top { padding: 8px 14px; } .hide-s { display: none; } .top nav a:not(.btn), .top .link { padding: 10px 7px; }
  .stepin { padding: 8px 12px; } .evname { width: 100%; } .steps { width: 100%; justify-content: space-between; } .steps a { flex-direction: column; gap: 2px; padding: 5px 4px; font-size: .72rem; text-align: center; }
  .next .btn, .hero .btn { flex: 1 1 100%; } .edhead { padding: 8px 12px; } body.full { height: auto; min-height: 100dvh; } #editor { flex: none; height: 82dvh; }
  .list thead { display: none; } .list tr { display: grid; padding: 10px 14px; border-bottom: 1px solid var(--line); } .list td { border: 0; padding: 2px 0; overflow-wrap: anywhere; }
}
@media (max-width: 400px) { .brand small { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
