/* Mons Partner — black and white only (same brand as Mons Media), Montserrat. Mobile first. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format('woff2'); }
:root { --black: #0b0b0b; --ink-2: #1f1f1f; --line: #e6e6e6; --gray: #8a8a8a; --white: #fff; --soft: #f7f7f7; --radius: 14px;
  --font: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; font-weight: 500; line-height: 1.55; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--black); text-decoration: underline; text-decoration-color: var(--gray); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.2; margin: 1.2em 0 .5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(24px, 6vw, 36px); margin-top: .2em; }
h2 { font-size: 18px; } h3 { font-size: 15px; }
p { margin: 0 0 .8em; }
code { font-family: var(--mono); font-size: .88em; font-weight: 400; word-break: break-all; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.main { padding-top: 20px; padding-bottom: 56px; min-height: 60vh; }
.muted { color: var(--gray); } .small { font-size: 13px; } .tiny { font-size: 12px; }
.lead { font-size: 17px; }

.lockup { display: inline-flex; align-items: center; gap: 8px; color: currentColor; }
.logo-mark { height: 26px; width: auto; display: block; }
.logo-word { height: 18px; width: auto; display: block; }
.lockup-sub { font-size: 10px; letter-spacing: .38em; text-transform: uppercase; padding-left: 9px; border-left: 1px solid currentColor; line-height: 1.6; }

.topbar { background: var(--black); color: var(--white); }
.topbar a { color: var(--white); text-decoration: none; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; }
.lang { display: flex; gap: 4px; }
.lang a { font-size: 12px; padding: 4px 8px; border: 1px solid #444; border-radius: 999px; opacity: .7; }
.lang a.on { opacity: 1; border-color: var(--white); }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding-top: 4px; padding-bottom: 8px; scrollbar-width: none; align-items: center; }
.tabs a { white-space: nowrap; font-size: 13px; padding: 6px 12px; border-radius: 999px; opacity: .75; }
.tabs a.on { background: var(--white); color: var(--black); opacity: 1; }
.tabs form { margin-left: auto; }
.tabs .link { color: var(--white); opacity: .7; }
.mockbar { background: var(--soft); border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; padding: 6px; }

.footer { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 13px; }

.btn { display: inline-block; font: inherit; font-weight: 700; font-size: 14px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--black); background: var(--black); color: var(--white); cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--ink-2); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-ghost { background: var(--white); color: var(--black); }
.btn-ghost:hover { background: var(--soft); }
.btn-danger { background: var(--white); color: var(--black); border-style: dashed; }
.btn-fb { width: 100%; padding: 14px; font-size: 15px; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; color: inherit; }
.inline { display: inline; }

.hero { padding: 12px 0 8px; max-width: 760px; }
.narrow { max-width: 560px; }
.grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 12px 0 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; background: var(--white); }
.card h2, .card h3 { margin-top: 0; }
.card.mini img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.post-head { display: flex; gap: 12px; }
.post-head img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.comments { list-style: none; padding: 0; margin: 10px 0 0; }
.comments li { border-top: 1px solid var(--line); padding: 10px 0; }
.comments li.is-hidden { opacity: .55; }
.plain, .list, .events, .checks { padding-left: 0; list-style: none; margin: 0 0 12px; }
.plain li, .list li, .events li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.list a { text-decoration: none; display: block; }
.checks li { padding: 4px 0 4px 26px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 4px; font-weight: 700; }
.tag { display: inline-block; font-size: 11px; padding: 1px 8px; border-radius: 999px; background: var(--black); color: var(--white); vertical-align: middle; }
.tag-off { background: var(--white); color: var(--gray); border: 1px solid var(--line); }
.notice { border: 1px solid var(--black); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 14px; }
.notice-err { border-style: dashed; background: var(--soft); }
.notice-warn { border-color: var(--gray); background: var(--soft); }
.notice p:last-child { margin: 0; }

form.stack { display: grid; gap: 12px; }
label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; }
label.check { display: inline-flex; gap: 6px; align-items: center; font-weight: 500; margin-right: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
input, select, textarea { font: inherit; font-weight: 500; font-size: 16px; padding: 10px 12px; border: 1px solid #cfcfcf; border-radius: 10px; background: var(--white); color: var(--black); width: 100%; min-width: 0; }
input[type=checkbox], input[type=radio] { width: auto; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 1px; }
.row { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; margin: 6px 0 12px; }
.row label { flex: 1 1 180px; }
.row .grow, .grow { flex: 1 1 200px; }
.row input { flex: 1 1 160px; }
.subtabs { display: flex; gap: 6px; margin: 8px 0 14px; }
.subtabs a { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; }
.subtabs a.on { background: var(--black); color: var(--white); border-color: var(--black); }
.thread { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.msg { max-width: 85%; padding: 8px 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); align-self: flex-start; }
.msg.mine { align-self: flex-end; background: var(--black); color: var(--white); border-color: var(--black); }
.msg.mine .muted { color: #bbb; }
.actions { display: grid; gap: 16px; margin-top: 28px; border-top: 1px solid var(--line); padding-top: 20px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; color: var(--gray); font-weight: 700; }
.copy { display: block; background: var(--soft); padding: 8px 10px; border-radius: 8px; user-select: all; }
.prose { max-width: 760px; } .prose li { margin-bottom: 6px; }
