/* support.primepay.mw, after the canvas design (SupportSite). Brand: Ink #09000D, Yellow #EBCC00, Light #EFEFEF. */
:root { --ink: #09000D; --yellow: #EBCC00; --text: #09000D; --mut: #5F5866; --line: #DCDADF; --hair: #EFEFEF; --soft: #F5F5F5;
        --g: #1F7A3D; --g-bg: #E6F4EA; --y: #7A5B00; --y-bg: #FFF6CC; --r: #B3261E; --r-bg: #FDECEA; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 14px/1.5 'Segoe UI', Inter, system-ui, sans-serif; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; background: var(--yellow); padding: 8px 12px; border-radius: 8px; z-index: 60; }
.mut { color: var(--mut); } .sm { font-size: 13px; } .xs { font-size: 12px; }
.row { display: flex; gap: 12px; align-items: center; } .col { display: flex; flex-direction: column; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
h1 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.01em; }
h2 { margin: 0; font-size: 20px; font-weight: 600; }
h3 { margin: 0; font-size: 15px; font-weight: 600; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.nav { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; flex-wrap: wrap; padding: 14px 32px; border-bottom: 1px solid var(--hair); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand b { font-size: 18px; }
.mark { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.links { display: flex; gap: 4px 22px; flex-wrap: wrap; align-items: center; color: var(--mut); font-weight: 600; }
.links a { text-decoration: none; padding: 10px 0; } .links a:hover, .links a[aria-current="page"] { color: var(--text); }
.btn { min-height: 44px; padding: 0 16px; border-radius: 10px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; cursor: pointer; text-decoration: none; }
.btn.ghost { background: #fff; color: var(--text); border: 1px solid var(--line); }
.btn.sm { min-height: 38px; }

.hero { background: var(--ink); color: #fff; padding: 44px 32px 52px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.hero h1 { font-size: 32px; color: #fff; }
.hero.small { padding: 24px 32px 28px; }
.search { width: min(640px, 100%); background: #fff; border-radius: 14px; display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 16px; }
.search svg { flex: none; color: var(--mut); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; min-height: 48px; color: var(--text); background: none; }
.search:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.search .btn { min-height: 40px; }
.pop { color: #C9C4CE; font-size: 13px; } .pop a { color: var(--yellow); font-weight: 600; text-decoration: none; } .pop a:hover { text-decoration: underline; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 32px 28px 44px; display: flex; flex-direction: column; gap: 30px; }
.wrap.narrow { max-width: 760px; }
.strip { display: flex; justify-content: space-between; align-items: center; gap: 8px 16px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; text-decoration: none; }
.strip:hover { border-color: var(--mut); }
.dot { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.dot::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; flex: none; }
.dot.ok { color: var(--g); } .dot.warn { color: var(--y); } .dot.bad { color: var(--r); } .dot.n { color: var(--mut); }
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.topic { border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; text-decoration: none; }
.topic:hover { border-color: var(--ink); }
.topic .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: var(--yellow); display: grid; place-items: center; margin-bottom: 6px; }
.topic b { font-size: 15px; }
.arts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.arts.one { grid-template-columns: 1fr; }
.arts a { text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 12px; }
.arts a:hover span:first-child { text-decoration: underline; }
.arts a small { display: block; color: var(--mut); font-size: 13px; }
.contact { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.cbox { background: var(--soft); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.cbox .ic2 { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 4px; }
.cbox a { font-weight: 600; font-size: 13px; text-decoration: none; margin-top: 4px; } .cbox a:hover { text-decoration: underline; }
.cbox a.plain { font-weight: 400; margin-top: 0; }
.foot { border-top: 1px solid var(--hair); padding: 18px 32px; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; color: var(--mut); font-size: 13px; }
.foot a { text-decoration: none; } .foot a:hover { text-decoration: underline; }

.art { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: 30px; padding: 28px 32px 40px; max-width: 1200px; margin: 0 auto; }
.toc { display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--mut); }
.toc b { color: var(--text); } .toc a { text-decoration: none; } .toc a:hover { color: var(--text); }
.toc a[aria-current="page"] { color: var(--text); font-weight: 600; box-shadow: inset 2px 0 0 var(--yellow); padding-left: 8px; }
.body { display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.65; max-width: 640px; min-width: 0; }
.body h1 { font-size: 26px; line-height: 1.25; }
.crumb { font-size: 13px; color: var(--mut); } .crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.md > * { margin: 0 0 14px; } .md > *:last-child { margin-bottom: 0; }
.md h2 { font-size: 17px; margin-top: 20px; } .md h3 { font-size: 15px; margin-top: 14px; }
.md ol, .md ul { padding-left: 20px; } .md li { margin-bottom: 4px; }
.md blockquote { background: var(--y-bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; margin: 0 0 14px; } .md blockquote p { margin: 0; }
.md code { font-family: Consolas, monospace; font-size: 12.5px; background: var(--soft); border-radius: 6px; padding: 2px 6px; }
.md table { border-collapse: collapse; width: 100%; font-size: 14px; display: block; overflow-x: auto; } .md th, .md td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hair); }
.md a { text-decoration: underline; }
.md img { max-width: 100%; height: auto; }
.help { border-top: 1px solid var(--hair); padding-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.yn { border: 1px solid var(--line); border-radius: 9px; padding: 0 14px; min-height: 40px; font: inherit; font-weight: 600; font-size: 13px; background: #fff; cursor: pointer; }
.yn:hover { border-color: var(--ink); }

.panel { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 6px; } .fld label, .fld .lbl { font-size: 13px; font-weight: 600; }
.inp { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; color: var(--text); min-height: 42px; width: 100%; }
textarea.inp { min-height: 110px; line-height: 1.5; resize: vertical; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.sugg { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; background: #FAFAFA; }
.sugg[hidden] { display: none; }
.sugg a { font-size: 13px; text-decoration: none; } .sugg a:hover { text-decoration: underline; }
.flash { padding: 10px 12px; border-radius: 10px; font-weight: 600; } .flash.ok { background: var(--g-bg); color: var(--g); } .flash.bad { background: var(--r-bg); color: var(--r); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--g-bg); color: var(--g); } .pill.warn { background: var(--y-bg); color: var(--y); } .pill.off { background: var(--hair); color: var(--mut); }
.msg { border: 1px solid var(--hair); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.msg.staff { background: var(--soft); border-color: var(--soft); }
.msg p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.hp { position: absolute; left: -9999px; }

@media (max-width: 960px) {
    .art { grid-template-columns: minmax(0, 1fr); padding: 20px 16px 32px; }
    .art .toc { order: 3; border-top: 1px solid var(--hair); padding-top: 14px; }
}
@media (max-width: 720px) {
    .nav { padding: 12px 16px; }
    .hero { padding: 32px 16px 36px; } .hero h1 { font-size: 26px; }
    .wrap { padding: 22px 16px 32px; gap: 24px; }
    .topics, .contact { grid-template-columns: 1fr; }
    .arts { grid-template-columns: 1fr; }
    .two { grid-template-columns: 1fr; }
    .foot { padding: 16px; }
    .search .btn span { display: none; }
}
