/* =========================================================
   Muro de Oración · FIHNEC Nicaragua
   ========================================================= */
:root {
  --navy: #14284b;
  --navy-2: #1e3a69;
  --navy-3: #0c1a33;
  --gold: #c9a14a;
  --gold-2: #e4c47e;
  --gold-soft: #f6ecd3;
  --cream: #f7f2e8;
  --paper: #fffdf9;
  --ink: #1b2233;
  --muted: #5e6679;
  --line: #e7dfcf;
  --line-2: #d9cfbb;
  --green: #2b7a57;
  --green-soft: #e3f2ea;
  --red: #b23b3b;
  --red-soft: #fbe9e7;
  --amber-soft: #fdf3dc;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 40, 75, .06), 0 6px 24px -12px rgba(20, 40, 75, .18);
  --shadow-lg: 0 2px 6px rgba(20, 40, 75, .08), 0 18px 40px -18px rgba(20, 40, 75, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; color: var(--navy); font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 0 0 .4em; }
h2 { font-size: 1.35rem; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
code { background: var(--gold-soft); padding: .1em .35em; border-radius: 5px; font-size: .92em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); font-size: .94rem; }
.center { text-align: center; }
.inline { display: inline; margin: 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--gold); margin: 0 0 .7em; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.section-title { margin: 2.4rem 0 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45em;
  font: 600 .98rem/1 var(--sans);
  padding: .82em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); color: #fff; }
.btn--gold { background: var(--gold); color: var(--navy-3); }
.btn--gold:hover { background: var(--gold-2); color: var(--navy-3); box-shadow: 0 6px 20px -8px rgba(201, 161, 74, .7); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); background: var(--paper); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger:hover { background: #9a3030; color: #fff; }
.btn--danger-ghost { background: transparent; color: var(--red); border-color: #e8c3bf; }
.btn--danger-ghost:hover { background: var(--red-soft); }
.btn--ok { background: var(--green); color: #fff; }
.btn--ok:hover { background: #22664a; color: #fff; }
.btn--sm { font-size: .88rem; padding: .62em 1.05em; }
.btn--xs { font-size: .8rem; padding: .48em .85em; }
.btn--lg { font-size: 1.05rem; padding: 1em 1.8em; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-3); color: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand__logo { height: 40px; width: auto; }
.brand__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, rgba(228,196,126,.35), rgba(228,196,126,.05) 70%); color: var(--gold-2); flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.brand__text small { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-2); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav > a:not(.btn), .nav .linkbtn { color: rgba(255,255,255,.82); text-decoration: none; padding: .5em .8em; border-radius: 999px; font-weight: 500; font-size: .95rem; }
.nav > a:not(.btn):hover, .nav .linkbtn:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav > a.is-active { color: #fff; background: rgba(255,255,255,.12); }
.nav .btn { margin-left: 6px; }
@media (max-width: 720px) {
  .topbar { position: static; }
  .topbar__inner { flex-direction: column; align-items: flex-start; padding-top: 12px; padding-bottom: 12px; gap: 8px; }
  .nav { justify-content: flex-start; }
  .nav__ext { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(228,196,126,.22), transparent 60%),
    radial-gradient(600px 300px at 10% 110%, rgba(30,58,105,.9), transparent 70%),
    var(--navy);
  color: #fff;
  padding: clamp(48px, 8vw, 92px) 0 clamp(40px, 6vw, 70px);
  position: relative; overflow: hidden;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(228,196,126,.5), transparent); }
.hero__inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .lead { color: rgba(255,255,255,.78); }
.hero .eyebrow { color: var(--gold-2); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6rem; }
.stats { display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,.12); }
.stats > div { background: rgba(12,26,51,.55); padding: 18px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.stats dt { font-size: .85rem; color: rgba(255,255,255,.7); }
.stats dd { margin: 0; font-family: var(--serif); font-size: 1.9rem; color: var(--gold-2); font-weight: 600; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats > div { flex-direction: column; align-items: flex-start; padding: 14px 16px; gap: 0; }
  .stats dd { font-size: 1.5rem; order: -1; }
  .stats dt { font-size: .76rem; }
}

/* ---------- Muro ---------- */
.wall { padding-top: 30px; padding-bottom: 60px; }
.is-embed .wall { padding-top: 16px; }
.filters { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 500; line-height: 1.3;
  transition: border-color .15s, background .15s;
}
.chip:hover { border-color: var(--gold); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__n { font-size: .74rem; background: var(--gold-soft); color: var(--navy); border-radius: 999px; padding: .05em .55em; font-weight: 700; }
.chip.is-active .chip__n { background: rgba(255,255,255,.18); color: #fff; }
.sort { display: inline-flex; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex: none; }
.sort a { padding: .42em .95em; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.sort a.is-active { background: var(--gold-soft); color: var(--navy); }
@media (max-width: 860px) {
  .filters { flex-direction: column-reverse; }
  .chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 6px; scrollbar-width: thin; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
  .chip { white-space: nowrap; }
}
.cat-desc { color: var(--muted); margin: -4px 0 14px; }
.wall__count { color: var(--muted); font-size: .9rem; margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; align-items: start; }
.grid--tight { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- Tarjeta ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  transition: box-shadow .2s, transform .2s; scroll-margin-top: 90px;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card--answered { border-color: #bfdccc; background: linear-gradient(180deg, #f6fbf8, var(--paper) 40%); }
.card__head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.card__head .chip { font-size: .8rem; padding: .3em .75em; background: var(--cream); }
.card__body p { margin: 0 0 .7em; font-size: 1.02rem; }
.card__body p:last-child { margin-bottom: 0; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px dashed var(--line); margin-top: auto; }
.card__meta { font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.card__who { font-weight: 600; color: var(--ink); }
.card__more { font-weight: 600; }
.dot { opacity: .5; }
.badge { display: inline-flex; align-items: center; gap: .3em; font-size: .78rem; font-weight: 700; padding: .28em .7em; border-radius: 999px; }
.badge--answered { background: var(--green-soft); color: var(--green); }
.testimony { margin: 14px 0 0; padding: 12px 14px; background: var(--green-soft); border: 1px solid #c9e3d5; border-radius: var(--radius-sm); }
.testimony strong { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--green); margin-bottom: 4px; }
.testimony p { font-size: .97rem; margin: 0 0 .5em; }
.testimony p:last-child { margin: 0; }

/* Botón Oré por esto */
.pray {
  display: inline-flex; align-items: center; gap: .45em; cursor: pointer;
  font: 600 .9rem/1 var(--sans); color: var(--navy);
  background: var(--paper); border: 1.5px solid var(--gold); border-radius: 999px; padding: .55em .6em .55em .85em;
  transition: background .15s, transform .15s, box-shadow .2s;
}
.pray:hover:not(:disabled) { background: var(--gold-soft); box-shadow: 0 4px 16px -8px rgba(201,161,74,.9); }
.pray__icon { font-size: 1.05em; }
.pray__count { background: var(--gold-soft); color: var(--navy); border-radius: 999px; padding: .32em .6em; font-size: .82rem; min-width: 2.1em; text-align: center; font-variant-numeric: tabular-nums; }
.pray.is-prayed { background: var(--gold-soft); border-color: var(--gold-soft); cursor: default; }
.pray.is-prayed .pray__count { background: var(--gold); color: var(--navy-3); }
.pray.is-loading { opacity: .7; }
.pray.just-prayed { animation: glow 1s ease; }
.pray.just-prayed .pray__icon { animation: lift .7s ease; }
@keyframes glow { 0% { box-shadow: 0 0 0 0 rgba(201,161,74,.6); } 100% { box-shadow: 0 0 0 16px rgba(201,161,74,0); } }
@keyframes lift { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-5px) scale(1.25); } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .pray.just-prayed, .pray.just-prayed .pray__icon { animation: none; } }

.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.pager__info { color: var(--muted); font-size: .9rem; }

.empty { text-align: center; padding: 56px 20px; background: var(--paper); border: 1px dashed var(--line-2); border-radius: var(--radius); }
.empty__icon { font-size: 2.6rem; margin-bottom: 8px; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 1.2em; }

/* ---------- Detalle ---------- */
.detail { padding-top: 26px; padding-bottom: 60px; }
.back { display: inline-block; margin-bottom: 14px; font-weight: 600; text-decoration: none; }
.detail .card { padding: 26px; }
.detail .card__body p { font-size: 1.12rem; }
.share { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 18px 0; color: var(--muted); font-size: .92rem; }
.prayer-guide { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-top: 10px; }
.prayer-guide h2 { font-size: 1.15rem; }
.prayer-guide ol { margin: 0; padding-left: 1.2em; color: var(--muted); }
.prayer-guide li { margin-bottom: .4em; }

/* ---------- Formularios ---------- */
.form-page { padding-top: 34px; padding-bottom: 60px; }
.form-head { margin-bottom: 18px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 32px); box-shadow: var(--shadow); margin-bottom: 18px; }
.panel--quiet { box-shadow: none; background: transparent; }
.panel h2 { font-size: 1.25rem; }
.form { display: grid; gap: 18px; }
.form h2 { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.form h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.form label, .form legend { display: block; font-weight: 600; color: var(--navy); font-size: .95rem; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { margin-bottom: 10px; }
.form input[type=text], .form input:not([type]), .form input[type=email], .form input[type=url], .form input[type=password], .form input[type=number], .form select, .form textarea, .input {
  display: block; width: 100%; margin-top: 6px;
  font: 400 1rem/1.5 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: .72em .9em;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus, .input:focus { outline: none; border-color: var(--navy-2); box-shadow: 0 0 0 4px rgba(30,58,105,.12); }
.form small { display: block; font-weight: 400; color: var(--muted); font-size: .84rem; margin-top: 6px; }
.req { color: var(--red); }
.opt { color: var(--muted); font-weight: 400; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; color: var(--ink) !important; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: 3px; accent-color: var(--navy); flex: none; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 0; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.catpick { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.catpick__item { position: relative; margin: 0; cursor: pointer; }
.catpick__item input { position: absolute; opacity: 0; inset: 0; }
.catpick__item > span {
  display: flex; align-items: center; gap: .55em; height: 100%;
  padding: .7em .85em; background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm);
  font-weight: 500; color: var(--ink); font-size: .94rem; line-height: 1.3; transition: border-color .15s, background .15s;
}
.catpick__icon { font-size: 1.15em; }
.catpick__item:hover > span { border-color: var(--gold); }
.catpick__item input:checked + span { border-color: var(--navy); background: #eef2f9; box-shadow: inset 0 0 0 1px var(--navy); }
.catpick__item input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.flashes { margin-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 12px; border: 1px solid; font-size: .95rem; }
.flash ul { margin: 0; padding-left: 1.1em; }
.flash--ok { background: var(--green-soft); border-color: #b9dcc9; color: #1d5a40; }
.flash--error { background: var(--red-soft); border-color: #efc4be; color: #8e2c2c; }
.flash--warn { background: var(--amber-soft); border-color: #ecd59c; color: #6e5112; }

/* Gracias */
.thanks { text-align: center; }
.thanks__icon { font-size: 3rem; }
.thanks .lead { margin-left: auto; margin-right: auto; }
.thanks .actions { justify-content: center; margin-top: 22px; }
.private-link { text-align: left; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin-top: 22px; }
.private-link h2 { font-size: 1.1rem; }
.private-link p { margin-bottom: .6em; }
.copyfield { display: flex; gap: 8px; margin: 10px 0; }
.copyfield input { flex: 1; min-width: 0; font: 500 .9rem var(--sans); padding: .6em .8em; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; color: var(--ink); }

/* Mi petición */
.mine { padding-top: 34px; padding-bottom: 60px; }
.mine__status { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.mine__facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mine__facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.mine__facts dd { margin: 0; font-weight: 600; }
.mine__body { font-size: 1.05rem; }
.mine__edit summary { cursor: pointer; font-weight: 600; color: var(--navy-2); margin: 10px 0; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; padding: .3em .75em; border-radius: 999px; }
.pill--pending { background: var(--amber-soft); color: #7a5a12; }
.pill--approved { background: var(--green-soft); color: var(--green); }
.pill--rejected { background: var(--red-soft); color: var(--red); }
.pill--withdrawn { background: #eceef2; color: var(--muted); }

/* ---------- Pie ---------- */
.footer { background: var(--navy-3); color: rgba(255,255,255,.7); padding: 34px 0; margin-top: 20px; }
.footer__inner { text-align: center; }
.footer__verse { font-family: var(--serif); font-style: italic; color: #fff; font-size: 1.1rem; max-width: 52ch; margin: 0 auto 14px; }
.footer__verse span { display: block; font-family: var(--sans); font-style: normal; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); margin-top: 6px; }
.footer__meta { font-size: .86rem; margin: 0; }
.footer a { color: rgba(255,255,255,.85); }

/* ---------- Modo embebido (iframe en WordPress) ---------- */
.is-embed { background: transparent; }
.is-embed main { padding-bottom: 8px; }
.is-embed .form-page, .is-embed .mine, .is-embed .detail { padding-top: 12px; padding-bottom: 16px; }
.is-embed .wall { padding-bottom: 16px; }

/* =========================================================
   Panel de administración
   ========================================================= */
.is-admin { background: #f3f1ec; }
.is-admin .topbar { background: var(--navy); }
.admin { padding-top: 26px; padding-bottom: 60px; }
.admin__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin__head h1 { font-size: 1.9rem; margin: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 22px; }
.kpi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; text-decoration: none; color: inherit; }
.kpi strong { display: block; font-family: var(--serif); font-size: 1.8rem; color: var(--navy); line-height: 1.1; }
.kpi span { font-size: .84rem; color: var(--muted); }
.kpi--alert { border-color: var(--gold); background: #fffaf0; }
@media (max-width: 760px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: .7em 1em; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .93rem; border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.is-active { color: var(--navy); border-bottom-color: var(--gold); }
.tabs .n { background: var(--line); color: var(--navy); font-size: .74rem; border-radius: 999px; padding: .1em .55em; margin-left: 4px; }
.tabs a.is-active .n { background: var(--gold); color: var(--navy-3); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar .input, .toolbar select { margin: 0; width: auto; min-width: 180px; padding: .5em .8em; font-size: .92rem; }
.bulkbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 12px; margin-bottom: 10px; font-size: .9rem; }
.mod-list { display: grid; gap: 12px; }
.mod { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.mod__check { padding-top: 3px; }
.mod__check input { width: 18px; height: 18px; accent-color: var(--navy); }
.mod__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .84rem; color: var(--muted); margin-bottom: 8px; }
.mod__meta .chip { font-size: .78rem; padding: .2em .65em; }
.mod__body { white-space: pre-line; font-size: 1rem; margin-bottom: 10px; }
.mod__testimony { background: var(--green-soft); border: 1px solid #c9e3d5; padding: 10px 12px; border-radius: 8px; margin-bottom: 10px; white-space: pre-line; }
.mod__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.mod__actions form { margin: 0; }
.mod__note { font-size: .84rem; color: #7a5a12; background: var(--amber-soft); padding: 4px 8px; border-radius: 6px; display: inline-block; margin-bottom: 8px; }
.table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: .93rem; }
.table th { background: #f8f5ee; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table tr:last-child td { border-bottom: 0; }
.table input, .table select { margin: 0 !important; padding: .45em .6em !important; font-size: .92rem !important; }
.table .w-icon { width: 70px; }
.table .w-num { width: 90px; }
.login { max-width: 420px; padding-top: 60px; padding-bottom: 60px; }
.install { padding-top: 40px; padding-bottom: 60px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.checks .ok { color: var(--green); }
.checks .bad { color: var(--red); font-weight: 600; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .cards-2 { grid-template-columns: 1fr; } .mod { grid-template-columns: 1fr; } .mod__check { display: none; } }
