/* kupikvart.ru — restored compatible article stylesheet, 2026-11-16.
   Designed to work with existing article HTML and page-specific inline styles. */
body.article-page{background:#fafcf9;color:#233b33}.reading-progress{position:fixed;z-index:100;top:0;left:0;width:0;height:3px;background:#6eba8e;pointer-events:none;transition:width .08s}.article-hero{background:radial-gradient(circle at 85% 10%,rgba(143,194,156,.22),transparent 34%),linear-gradient(120deg,#123c3a,#22584d);color:#fff;padding:28px 0 65px;overflow:hidden}.article-hero .breadcrumbs{display:flex;gap:11px;align-items:center;flex-wrap:wrap;font-size:11px;color:#c4d7cd;margin-bottom:39px}.breadcrumbs a:hover{color:#fff;text-decoration:underline}.breadcrumbs [aria-current]{color:#e4f6e8}.article-hero-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.82fr);gap:clamp(22px,4vw,64px);align-items:center}.article-overline{font-size:11px;font-weight:850;letter-spacing:.17em;color:#c2e6b6;line-height:1.5}.article-hero h1{font-size:clamp(2.5rem,4.6vw,4.55rem);line-height:1.08;color:#fff;margin:20px 0 22px;max-width:780px;overflow-wrap:break-word}.article-hero-lead{font-size:16px;color:#d2e5da;line-height:1.85;max-width:700px;margin-bottom:24px}.article-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 25px;font-size:11px;color:#d1e4d5}.article-meta span{display:inline-flex;align-items:center;gap:7px}.article-meta span::before{content:none}.article-meta svg{display:block;width:16px;height:16px;min-width:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.article-hero-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:27px}.article-hero-visual{position:relative;min-height:360px;border-radius:20px;background:linear-gradient(155deg,rgba(245,255,244,.13),rgba(229,250,237,.025));border:1px solid rgba(231,247,232,.22);padding:24px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:inset 0 1px 2px rgba(255,255,255,.15)}.visual-topline{font-size:10px;letter-spacing:.16em;color:#c0dbc6;font-weight:750}.visual-property{display:grid;place-items:center;min-height:220px}.visual-property svg{max-width:100%;width:350px;max-height:250px}.visual-float{background:#eef8ee;color:#265748;border-radius:9px;padding:10px 13px;font-weight:750;font-size:11px;max-width:100%;box-shadow:0 8px 20px rgba(0,0,0,.12)}.visual-timeline{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:20px;color:#e0f2e1;font-size:10px}.visual-timeline>*{min-width:0}.summary-strip{background:#e9f3e8;border-bottom:1px solid #dae9da}.summary-strip-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:26px 0}.summary-strip-grid>div{border-right:1px solid #cbded0;padding:0 25px}.summary-strip-grid>div:first-child{padding-left:0}.summary-strip-grid>div:last-child{border-right:0}.summary-title{display:block;font-weight:850;font-size:10px;letter-spacing:.11em;color:#317254;margin-bottom:9px}.summary-strip p,.summary-strip span:not(.summary-title){color:#466355;font-size:13px;line-height:1.68}.summary-strip p{margin:0}
/* Sticky contents and main editorial column */
.article-layout{display:grid;grid-template-columns:minmax(205px,250px) minmax(0,1fr);align-items:start;gap:clamp(24px,4.5vw,65px);padding:66px 0 90px}.article-sidebar{min-width:0}.toc-sticky{position:sticky;top:118px;border:1px solid #dbe9dc;background:#fff;border-radius:14px;padding:22px 21px;max-height:calc(100vh - 140px);overflow:auto;scrollbar-width:thin}.toc-heading{font-size:11px;letter-spacing:.16em;color:#36755b;font-weight:850;margin-bottom:14px}.article-toc{display:flex;flex-direction:column;gap:3px}.article-toc a{display:block;padding:7px 8px;color:#536e5f;line-height:1.45;font-size:12px;border-left:2px solid transparent;border-radius:0 6px 6px 0}.article-toc a:hover,.article-toc a.is-active{background:#ecf5ed;color:#1c6049;border-left-color:#3c9970}.toc-home{display:block;margin-top:18px;padding-top:15px;border-top:1px solid #e6efe7;font-size:12px;font-weight:750;color:#337655}.article-content{min-width:0;width:100%;font-size:16px;line-height:1.85}.article-content>*:first-child{margin-top:0}.article-content p{margin:0 0 1.15em;color:#354d42}.article-content h2{font-family:Georgia,serif;font-weight:600;letter-spacing:-.03em;color:#204b3e;font-size:clamp(1.8rem,2.5vw,2.55rem);line-height:1.18;margin:0 0 .65em}.article-content h3{color:#2b5443;font-size:1.3rem;font-weight:750;line-height:1.3;margin:1.2em 0 .55em}.article-content h4{font-size:1.12rem;color:#2b604c}.article-content a{color:#1e7656;text-decoration:underline;text-underline-offset:3px}.article-content a:hover{color:#124730}.article-content strong{color:#21493a}.article-content ul,.article-content ol{padding-left:1.4em;margin:.65em 0 1.35em}.article-content li{padding-left:.1em;margin:.4em 0}.article-content blockquote{margin:22px 0;border-left:4px solid #70a982;padding:20px 24px;background:#eff8f1;border-radius:0 9px 9px 0}.article-content section{scroll-margin-top:110px}.prose-section{padding:0 0 32px;margin:0 0 32px;border-bottom:1px solid #e3eee5}.prose-section:last-of-type{border-bottom:0}.article-kicker{font-size:10px!important;letter-spacing:.16em;color:#53846c!important;font-weight:850;margin:0 0 12px!important}.prose-callout,.insight{padding:22px 24px;margin:21px 0 26px;background:#eaf4ed;border:1px solid #d1e6d5;border-left:4px solid #4c966f;border-radius:10px;font-size:14px;line-height:1.8;color:#315a43}.prose-callout p,.insight p{margin:0}.editorial-note{display:flex;gap:17px;align-items:start;padding:24px;border-radius:13px;background:#f3f6eb;border:1px solid #dbe3d4;margin:25px 0;font-size:14px}.note-mark{font-family:Georgia,serif;font-size:32px;color:#528068;line-height:1}.editorial-note p:last-child{margin:0}.resident-intro-grid,.residents-intro-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.residents-intro-card{border-radius:11px;background:#eff6ef;padding:20px;border:1px solid #d8e8d9}.residents-intro-card>span{font-size:10px;font-weight:850;letter-spacing:.12em;color:#438261}.residents-intro-card h3{font-family:Georgia,serif;font-size:20px;margin:9px 0}.residents-intro-card p{font-size:13px;margin:0;line-height:1.65}.mini-case-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.mini-case{border:1px solid #d9e7dc;border-radius:10px;padding:18px;background:#f7faf6}.mini-case p:last-child{margin-bottom:0}
/* Comparison and risk tables */
.compare-scroll,.reason-table-wrap,.role-table-wrap,.table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;border:1px solid #d8e7da;border-radius:12px;margin:21px 0 28px;background:#fff}.compare-table,.reason-table,.role-table,.article-content table{width:100%;border-collapse:collapse;min-width:550px;font-size:13px;line-height:1.55}.compare-table th,.reason-table th,.role-table th,.article-content table th{background:#e1f0e4;color:#285842;font-weight:850;text-align:left;padding:14px 15px;border-bottom:1px solid #cbdccf}.compare-table td,.reason-table td,.role-table td,.article-content table td{vertical-align:top;padding:13px 15px;border-bottom:1px solid #e5eee7;color:#3b5547}.compare-table tbody tr:nth-child(even),.reason-table tbody tr:nth-child(even),.role-table tbody tr:nth-child(even),.article-content table tbody tr:nth-child(even){background:#fafcf9}.compare-table tr:last-child td,.reason-table tr:last-child td{border-bottom:0}.risk-grid,.warning-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:25px 0}.risk-item,.warning-item{padding:23px;border:1px solid #e4e3d9;background:#fffaf0;border-radius:12px}.risk-item h3,.warning-item h3{margin:0 0 8px;color:#6d4d27;font-size:17px}.risk-item p,.warning-item p{font-size:13px;line-height:1.65;margin:0}.risk-postscript{color:#53685a;font-size:14px}.agreement-sample,.sample-contract{background:#fdfefb;border:1px solid #d8e3d5;border-left:4px solid #4b946e;border-radius:9px;padding:23px 25px;margin:22px 0}.agreement-sample p,.sample-contract p{font-size:14px}.sample-eyebrow,.sample-title{font-size:10px;letter-spacing:.12em;font-weight:850;color:#55836a;margin-bottom:13px}
/* Steps, FAQ, checklist */
.article-content .steps-section{padding:0 0 32px;margin-bottom:36px;border-bottom:1px solid #e1e9df;background:transparent}.steps-head{margin-bottom:18px}.numbered-section{scroll-margin-top:105px;margin:0 0 18px;padding:19px 21px;border:1px solid #dde9dd;border-radius:11px;background:#fff}.step-heading{display:flex;align-items:flex-start;gap:16px;margin-bottom:12px}.step-index{font-family:Georgia,serif;font-size:29px;color:#468264;line-height:1.2;min-width:37px}.step-category{font-size:10px;font-weight:850;letter-spacing:.11em;color:#658f72}.step-heading h3{font-size:18px;margin:4px 0 0;color:#244e3e}.numbered-section p:last-child{margin:0}.numbered-section p,.numbered-section li{font-size:14px;line-height:1.78}.checklist-section{scroll-margin-top:110px;position:relative;overflow:hidden;background:linear-gradient(180deg,#fbfefb 0%,#f3f8f2 100%);border:1px solid #d9e8dc;border-radius:24px;padding:32px;margin:34px 0 46px;box-shadow:0 18px 42px rgba(34,78,62,.08)}.checklist-section::before{content:"";position:absolute;inset:0 0 auto 0;height:112px;background:linear-gradient(90deg,rgba(77,150,110,.13),rgba(120,192,145,.04) 55%,transparent 100%);pointer-events:none}.article-content .checklist-header{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(240px,320px);align-items:stretch;gap:18px;margin-bottom:26px}.checklist-header h2{font-size:clamp(1.95rem,2.8vw,2.5rem);line-height:1.12;margin:0 0 10px}.checklist-header p:not(.article-kicker){font-size:14px;line-height:1.7;margin-bottom:0;max-width:54ch}.checklist-counter{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:18px 18px 16px;text-align:left;font-size:12px;color:#5b7a65;white-space:normal;min-width:0;border:1px solid #d8e8dc;border-radius:18px;background:rgba(255,255,255,.82);backdrop-filter:blur(4px);box-shadow:0 10px 26px rgba(40,87,66,.07)}.checklist-counter::before{content:"Прогресс";display:block;font-size:10px;font-weight:850;letter-spacing:.14em;color:#4b7d63;text-transform:uppercase;margin-bottom:6px}.checklist-counter strong,.checklist-counter #check-count{display:block;color:#1f5843;font-size:32px;font-family:Georgia,serif;font-weight:600;line-height:1.1;margin-bottom:10px}.checklist-progress-track{height:12px;width:100%;border-radius:999px;background:#dbeadf;overflow:hidden;box-shadow:inset 0 1px 2px rgba(34,78,62,.08);margin:0}.checklist-progress-track>div{background:linear-gradient(90deg,#2f7d5a,#68b182);height:100%;width:0;border-radius:999px;transition:width .25s ease}.checklist-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:14px}.checklist-grid>label,.checklist-item{position:relative;display:flex;align-items:flex-start;gap:14px;min-height:104px;background:#fff;border:1px solid #d8e6da;border-radius:16px;padding:18px 18px 18px 16px;cursor:pointer;font-size:14px;line-height:1.62;color:#365444;box-shadow:0 8px 18px rgba(33,73,58,.04);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}.checklist-grid>label:hover,.checklist-item:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(33,73,58,.09);border-color:#bfd8c4}.checklist-grid>label:has(input:checked),.checklist-grid>label.is-checked,.checklist-item.is-checked{background:linear-gradient(180deg,#f3fbf5 0%,#e8f6ec 100%);border-color:#86c09b;box-shadow:0 16px 30px rgba(61,138,95,.14)}.checklist-grid>label:has(input:checked)::after,.checklist-grid>label.is-checked::after,.checklist-item.is-checked::after{content:"Готово";position:absolute;top:12px;right:12px;font-size:10px;font-weight:850;letter-spacing:.08em;padding:5px 8px;border-radius:999px;background:#dff2e4;color:#256446}.checklist-grid input[type=checkbox]{appearance:none;margin:2px 0 0;flex-shrink:0;width:24px;height:24px;border:2px solid #8cb69a;border-radius:8px;display:grid;place-items:center;cursor:pointer;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}.checklist-grid input[type=checkbox]:checked{background:linear-gradient(180deg,#2f7d5a,#3f9168);border-color:#2f7d5a}.checklist-grid input[type=checkbox]:checked::after{content:"✓";color:#fff;font-weight:900;line-height:1;font-size:15px}.checklist-grid label:has(input:focus-visible),.checklist-grid>label.is-focus{outline:3px solid rgba(116,199,149,.65);outline-offset:2px}.checklist-controls,.checklist-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:24px;padding-top:22px;border-top:1px solid #dde8e0}.checklist-action,.checklist-reset{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:14px;padding:12px 18px;font-size:13px;font-weight:800;letter-spacing:.01em;transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease}.checklist-action:hover,.checklist-reset:hover{transform:translateY(-1px)}.checklist-action{background:linear-gradient(180deg,#2d7a58,#225f45);color:#fff;border:1px solid #225f45;box-shadow:0 10px 22px rgba(34,95,69,.18)}.checklist-action:hover{background:linear-gradient(180deg,#276f50,#1b523b)}.checklist-reset{background:#fff;color:#2f7354;border:1px solid #b7d1be}.checklist-reset:hover{background:#eef7f0;border-color:#97bea4}.faq-section{margin:40px 0;padding-bottom:35px;border-bottom:1px solid #dce8de}.faq-section h2{margin-bottom:22px}.faq-list{display:grid;gap:9px}.faq-list details{background:#fff;border:1px solid #d9e7da;border-radius:11px;overflow:hidden}.faq-list summary{cursor:pointer;list-style:none;padding:18px 43px 18px 18px;font-size:15px;font-weight:750;line-height:1.45;color:#284e3d;position:relative}.faq-list summary::-webkit-details-marker{display:none}.faq-list summary::after{content:"+";position:absolute;right:15px;top:14px;color:#36825d;font-size:23px;font-weight:400}.faq-list details[open] summary::after{content:"−"}.faq-list details[open] summary{border-bottom:1px solid #e5f0e7;background:#f6faf6}.faq-list details>p,.faq-list details>div{padding:17px 19px;margin:0;font-size:14px;color:#445c4e}.sources-section{margin:33px 0}.sources-section h2{margin-bottom:18px}.source-list{display:grid;gap:9px}.source-list>a{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:15px;padding:13px 16px;border:1px solid #dde8db;background:#f7faf6;border-radius:9px;text-decoration:none;color:#285e44}.source-list>a span{font-size:13px;font-weight:750}.source-list>a small{font-size:11px;color:#687a6a;grid-column:1;display:block;margin-top:2px}.source-list>a b{grid-column:2;grid-row:1 / span 2;font-size:18px;font-weight:400}.source-list>a:hover{background:#eaf5eb}.related-article{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #d9e8db;background:#fff;border-radius:12px;margin:12px 0;padding:19px 23px}.related-article span{font-weight:850;letter-spacing:.12em;font-size:10px;color:#5d8c69}.related-article h3{font-size:17px;margin:7px 0;color:#2a5944}.related-article p{font-size:12px;color:#6a7c6e;margin:0}.related-article>a{flex-shrink:0;text-decoration:none!important;font-weight:800;font-size:12px;color:#367b56}.article-end-note{margin-top:38px;padding-top:20px;border-top:1px solid #d8e4db;font-size:12px;color:#61746b}.article-bottom-cta{background:#194b41;color:#fff;padding:55px 0}.bottom-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.bottom-cta-inner p{font-size:10px;letter-spacing:.16em;font-weight:850;color:#c5e0c7;margin-bottom:12px}.bottom-cta-inner h2{color:#fff;margin:0;font-size:clamp(1.9rem,3.15vw,3rem)}
/* Per-article extras */
.price-tool,.payment-choice{background:#f0f7ef;padding:20px;border:1px solid #d2e6d5;border-radius:12px;margin:24px 0}.price-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.price-fields input,.price-fields select,.payment-choice input,.payment-choice select{width:100%;max-width:100%;padding:11px;border:1px solid #b8d0be;border-radius:8px;background:#fff}.price-tool-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.tool-eyebrow{font-size:11px;font-weight:800;color:#457961}.tool-percent{font-size:22px;color:#235c49;font-weight:750}.choice-row{display:flex;gap:13px;flex-wrap:wrap}.choice-result{padding:15px;border-radius:9px;background:#fff;border:1px solid #cbdcce;margin-top:15px}
@media(max-width:1080px){.article-layout{grid-template-columns:205px minmax(0,1fr);gap:27px}.toc-sticky{padding:15px}.article-hero-grid{gap:20px}.article-hero-visual{min-height:320px}.summary-strip-grid>div{padding-inline:14px}}
@media(max-width:800px){.article-hero{padding-bottom:48px}.article-hero-grid{grid-template-columns:1fr}.article-hero-visual{max-width:520px;width:100%;min-height:280px}.article-hero .breadcrumbs{margin-bottom:22px}.article-layout{grid-template-columns:1fr;padding:38px 0 64px}.article-sidebar{order:0}.toc-sticky{position:static;max-height:340px;padding:17px}.article-toc{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.summary-strip-grid{grid-template-columns:1fr;gap:13px;padding-block:20px}.summary-strip-grid>div,.summary-strip-grid>div:first-child{padding:0;border:0}.summary-strip-grid>div:not(:last-child){padding-bottom:12px;border-bottom:1px solid #c8decb}.bottom-cta-inner{flex-direction:column;align-items:flex-start}.article-content .checklist-header{grid-template-columns:1fr}.checklist-counter{max-width:360px}.checklist-section{padding:24px}}
@media(max-width:540px){.article-hero h1{font-size:clamp(2.15rem,9vw,3rem)}.article-hero-lead{font-size:15px}.article-hero-actions{flex-direction:column;align-items:stretch}.article-hero-actions .btn{width:100%}.article-hero-visual{min-height:245px}.article-content{font-size:15px}.article-content h2{font-size:1.77rem}.article-toc{grid-template-columns:1fr}.article-content .checklist-header{display:flex;align-items:flex-start;flex-direction:column}.checklist-counter{text-align:left;width:100%;max-width:none}.checklist-grid,.risk-grid,.warning-grid,.residents-intro-grid,.mini-case-grid,.price-fields{grid-template-columns:1fr}.checklist-grid>label,.checklist-item{min-height:auto;padding:16px}.checklist-grid>label::after,.checklist-item::after{top:10px;right:10px}.checklist-section{padding:18px;margin-inline:-1px}.related-article{align-items:flex-start;flex-direction:column}.related-article>a{align-self:flex-start}.source-list>a{padding:12px}.numbered-section{padding:15px}.prose-callout,.insight{padding:16px}.faq-list summary{font-size:14px}.footer{padding-top:46px}}
@media print{.topline,.site-header,.article-hero-visual,.article-sidebar,.article-bottom-cta,.footer,.checklist-actions,.checklist-controls,.reading-progress{display:none!important}.article-layout{display:block;padding:0}.article-content{width:100%}.article-hero{color:#000;background:#fff;padding:0}.article-hero h1,.article-hero em{color:#000!important}.article-hero-lead{color:#333}.article-hero .breadcrumbs{display:none}.checklist-section,.prose-section,.numbered-section{break-inside:avoid}a{color:#222!important}}


/* Unified full-width article checklists — 2026-11-16 */
.article-content .checklist-section{display:block;width:100%;min-width:0}
.article-content .checklist-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  width:100%;
  min-width:0;
  gap:10px;
  margin:18px 0 0;
}
.article-content .checklist-grid>label,
.article-content .checklist-grid>.checklist-item{
  display:flex;
  align-items:flex-start;
  width:100%;
  min-height:0;
  padding:16px 18px;
  gap:15px;
  border-radius:13px;
  line-height:1.55;
  font-size:15px;
}
.article-content .checklist-grid label>span{display:block;max-width:100%;min-width:0;overflow-wrap:anywhere}
.article-content .checklist-controls,
.article-content .checklist-actions{
  display:flex;
  flex-direction:row;
  justify-content:flex-start;
  flex-wrap:wrap;
  align-items:center;
  width:100%;
  margin:22px 0 0;
  padding:20px 0 0;
  border-top:1px solid #dce9df;
  gap:12px;
}
.article-content .checklist-controls>.checklist-action,
.article-content .checklist-controls>.checklist-reset,
.article-content .checklist-actions>.checklist-action,
.article-content .checklist-actions>.checklist-reset{width:auto;max-width:100%;margin:0}
@media(max-width:540px){
  .article-content .checklist-grid{grid-template-columns:minmax(0,1fr);gap:9px}
  .article-content .checklist-grid>label,
  .article-content .checklist-grid>.checklist-item{padding:15px 14px;font-size:14px;gap:12px}
  .article-content .checklist-controls,
  .article-content .checklist-actions{flex-direction:column;align-items:stretch}
  .article-content .checklist-controls>button,
  .article-content .checklist-actions>button{width:100%;justify-content:center}
}

/* Universal checklist link after each article checklist */
.ucl-article-link{display:block;width:fit-content;margin:19px 0 0;padding:11px 15px;background:#fff;border:1px solid #c6ddcd;border-radius:10px;color:#236a4a!important;text-decoration:none!important;font-size:13px;font-weight:800;line-height:1.5}.ucl-article-link:hover{background:#e8f4eb;border-color:#88b998;color:#194b36!important}@media(max-width:540px){.ucl-article-link{width:100%;text-align:center}}
