/* Общий стиль юридических страниц «ням.» — самодостаточный, открывается и напрямую в браузере. */
:root{
  --bg:#FFF9F2; --card:#ffffff; --ink:#292638; --muted:#706674;
  --berry:#C83F2B; --amber:#F0A742; --mint:#5BC7A9; --track:#F3ECEE;
  --sh-card:0 12px 30px -20px rgba(40,20,30,.45);
  --sh-soft:0 6px 16px -12px rgba(40,20,30,.4);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Nunito',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  line-height:1.62; font-size:16px; -webkit-font-smoothing:antialiased;
}
.wrap{max-width:720px; margin:0 auto; padding:30px 20px 72px;}

header.brand{display:flex; align-items:center; gap:12px; margin-bottom:22px;}
.appmark{
  width:46px; height:46px; border-radius:15px; background:var(--berry);
  display:inline-flex; align-items:flex-end; justify-content:center;
  position:relative; box-shadow:0 12px 26px -14px rgba(232,78,107,.7); flex:0 0 auto;
}
.appmark::before{content:"н";color:#fff;font-size:26px;font-weight:900;line-height:1;margin-bottom:7px;}
.appmark::after{content:"";width:5px;height:5px;border-radius:50%;background:#fff;margin:0 0 8px 2px;}
.brand-name{font-weight:900; font-size:20px; letter-spacing:-.02em; line-height:1;}
.brand-sub{color:var(--muted); font-weight:800; font-size:12.5px; margin-top:3px;}

h1{font-size:27px; font-weight:900; letter-spacing:-.02em; margin:6px 0 6px;}
.meta{color:var(--muted); font-weight:800; font-size:13.5px; margin-bottom:26px;}
h2{font-size:19px; font-weight:900; letter-spacing:-.01em; margin:34px 0 10px;}
h3{font-size:16px; font-weight:800; margin:20px 0 6px;}
p{margin:10px 0;}
p,li{color:#3a3033;}
a{color:var(--berry); font-weight:800; text-decoration:none;}
a:hover{text-decoration:underline;}
ul,ol{padding-left:22px; margin:8px 0;}
li{margin:5px 0;}
strong{font-weight:800; color:var(--ink);}

.card{background:var(--card); border-radius:20px; padding:16px 20px; box-shadow:var(--sh-card); margin:16px 0;}
.card p:first-child{margin-top:0;}
.card p:last-child{margin-bottom:0;}

.note{
  background:#FFE1D5; border:1px solid #EAC8B8; border-radius:14px;
  padding:14px 16px; color:#78422F; font-weight:700; margin:18px 0; font-size:15px;
}
.note strong{color:#78422F;}

table{width:100%; border-collapse:collapse; margin:14px 0; font-size:14.5px; display:block; overflow-x:auto;}
th,td{text-align:left; padding:10px 12px; border-bottom:1px solid var(--track); vertical-align:top; min-width:120px;}
th{font-weight:900; color:var(--ink); white-space:nowrap;}

.toc{background:var(--card); border-radius:18px; padding:14px 20px; box-shadow:var(--sh-soft); margin:20px 0 28px;}
.toc-title{font-weight:900; font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); margin-bottom:6px;}
.toc ol{margin:0; padding-left:20px;}
.toc a{color:var(--ink);}

footer{margin-top:48px; padding-top:20px; border-top:1px solid var(--track); color:var(--muted); font-weight:700; font-size:13px;}
.backlinks{margin-top:12px;}
.backlinks a{margin-right:18px; display:inline-block;}

.back-app{display:inline-flex;align-items:center;min-height:44px;margin:0 0 20px;text-decoration:underline;text-underline-offset:4px;}
a:focus-visible{outline:3px solid var(--berry);outline-offset:4px;}
::selection{background:#FFE1D5;color:var(--ink);}
