@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-cyrillic.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Manrope;
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
:root {
  --forest:#205543;
  --dark:#193d30;
  --ink:#1d3027;
  --muted:#4d6258;
  --paper:#f6f7f4;
  --line:#dce5de;
  --nav-height:68px;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.62 Manrope, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing:border-box; }
body { margin:0; }
p, h1, h2, h3 { margin:0; }
img { display:block; max-width:100%; }
a { color:var(--forest); text-underline-offset:.22em; }
:focus-visible { outline:3px solid #3f8062; outline-offset:3px; }
:is(section,h1,h2,h3,main)[id] { scroll-margin-top:calc(var(--nav-height) + 18px); }
.wrap { width:min(100% - 48px, 1184px); margin-inline:auto; }
.section { margin-block:clamp(36px,5.4vw,72px); }
.skip { position:fixed; top:8px; left:12px; z-index:1; padding:10px; background:white; transform:translateY(-160%); }
.skip:focus { transform:none; }
.header-shell { position:sticky; top:0; z-index:1100; }
.header-shell .site-header { background:#fff; border-bottom:1px solid var(--line); }
.header-row { min-height:var(--nav-height); display:flex; align-items:center; justify-content:space-between; gap:14px; }
.header-row .MuiIconButton-root { min-inline-size:44px; min-block-size:44px; }
.header-row .MuiButton-root[aria-current="page"] { background:#e8f0eb; }
.brand { display:inline-flex; align-items:center; gap:8px; color:var(--brand-ink,#173b5d); font-size:.99rem; line-height:1.03; font-weight:800; letter-spacing:-.035em; text-decoration:none; white-space:nowrap; }
.brand-name > span { display:block; font-size:.71rem; letter-spacing:.015em; }
.brand strong { display:block; font-weight:800; }
.brand-initial { color:var(--brand-red,#b63532); }
.brand-mark { display:block; position:relative; width:35px; height:33px; flex:none; }
.brand-mark i { position:absolute; bottom:4px; left:13px; inline-size:8px; block-size:24px; border-radius:3px; transform-origin:50% calc(100% - 2px); }
.brand-mark i:nth-child(1) { background:#bb463a; transform:rotate(-43deg); }
.brand-mark i:nth-child(2) { background:#c58a38; transform:rotate(-14deg); }
.brand-mark i:nth-child(3) { background:#40836a; transform:rotate(15deg); }
.brand-mark i:nth-child(4) { background:#285c8d; transform:rotate(44deg); }

.hero { display:grid; grid-template-columns:1fr 1fr; margin-top:20px; min-height:435px; overflow:hidden; }
.hero-content { align-self:center; padding:clamp(29px,4.2vw,61px); }
.hero-content .hero-region { color:var(--forest); font-weight:800; font-size:.9rem; }
.hero-content .hero-description { max-width:42ch; margin-top:15px; }
.hero-media { position:relative; min-height:100%; overflow:hidden; background:#e6eee7; }
.hero-media img { position:absolute; width:100%; height:100%; object-fit:cover; object-position:74% center; }
.hero-content .hero-actions { margin-top:22px; gap:10px; flex-wrap:wrap; }
.hero-content .hero-facts { list-style:none; margin:23px 0 0; padding:0; gap:8px 15px; flex-wrap:wrap; color:var(--muted); }
.hero-facts li { display:inline-flex; align-items:center; gap:5px; }
.hero-facts svg { color:var(--forest); }
.section-heading { display:flex; justify-content:space-between; align-items:end; gap:8px 24px; margin-bottom:19px; }
.section-heading a { flex:none; }
.three-columns { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.catalogue .catalogue-link { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; height:100%; }
.catalogue .catalogue-link img { width:100%; aspect-ratio:1.95; object-fit:cover; }
.catalogue .catalogue-link:hover h3 { text-decoration:underline; text-underline-offset:.22em; }
.callout { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:clamp(20px,4vw,42px); }
.callout button { flex:none; }
.page-intro { padding:clamp(21px,4.7vw,58px); }
.page-intro h1 { max-width:22ch; }
.page-content { margin-block:35px 66px; }
.prose { max-width:900px; }
.prose :is(p,ul,ol,figure,blockquote):not([class^='Mui']) { margin:0 0 1rem; }
.prose :is(h2,h3,h4):not(.MuiTypography-root) { margin:1.65em 0 .55em; line-height:1.2; }
.prose h2:not(.MuiTypography-root) { font-size:clamp(1.5rem,3.8vw,2.2rem); }
.prose h3:not(.MuiTypography-root), .prose .title-blok { font-size:1.22rem; font-weight:800; margin-block:1.4em .65em; }
.prose ul, .prose ol { padding-inline-start:1.5rem; }
.prose img:not(:where(.price-diagram img)) { width:auto; height:auto; max-height:520px; object-fit:contain; border-radius:9px; margin-block:9px; }
.prose img.brand-logo { max-width:min(100%,220px); max-height:85px; border-radius:0; }
.prose .ico-brand { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,136px),1fr)); gap:10px; margin-block:14px 22px; }
.prose .brand-i > a { display:grid; place-items:center; min-height:90px; padding:12px; background:#fff; border:1px solid var(--line); border-radius:12px; }
.prose .brand-i > a:hover { border-color:var(--forest); }
.prose .brand-i img.brand-logo { width:100%; height:58px; margin:0; }
.legacy-table-wrap { width:100%; overflow-x:auto; margin:0 0 1rem; }
.legacy-table-wrap table { min-width:100%; border-collapse:collapse; }
.legacy-table-wrap :is(td,th) { border:1px solid var(--line); padding:9px 12px; }
.prose a { overflow-wrap:anywhere; }
.prose a[href='#request']:not(.MuiButton-root) { display:inline-flex; align-items:center; min-height:44px; padding:8px 14px; color:var(--forest); border:1px solid #a8bfb1; border-radius:9px; background:white; font-weight:800; text-decoration:none; }
.prose a[href='#request']:not(.MuiButton-root):hover { border-color:var(--forest); background:#edf4ef; }
.prose .owl-carousel, .prose .warp-flex-blok { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); column-gap:14px; }
.prose .huge_it_gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr)); gap:10px; list-style:none; padding:0; }
.prose .cf7for_zakaz, .prose .blok-bg { padding:16px 24px; margin-block:20px; border:1px solid var(--line); border-radius:12px; background:#ecf2ec; }
.prose details:not(.MuiPaper-root) { margin-block:12px; }
details > summary { cursor:pointer; font-weight:800; }
details[open]:not(.MuiPaper-root) > summary { margin-bottom:14px; }
.directory details { padding:15px 20px; }
.directory ul { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr)); gap:9px 20px; padding-left:18px; }


.price-navigation { display:flex; flex-wrap:wrap; gap:5px; padding:7px; margin-bottom:13px; }
.price-navigation .MuiButton-root { min-width:0; padding-inline:11px; }
.price-intro { padding:clamp(18px,3.2vw,38px); }
.price-intro h1 { max-width:none; font-size:clamp(1.85rem,4.3vw,3.05rem); }
.price-shortcuts { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin-top:18px; }
.price-shortcuts a { font-weight:800; }
.pricing-content { max-width:none; }
.pricing-content .entry-content > :is(p,ul,ol) { max-width:76ch; }
.price-section { min-width:0; margin-block:clamp(24px,4.5vw,55px); }
.price-section .price-heading { margin:0 0 14px; }
.price-grid { display:grid; gap:13px; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.price-card .price-card-content { padding:14px 15px; }
.price-card .price-card-content:last-child { padding-bottom:15px; }
.price-card-content .MuiTypography-body2 { margin-top:4px; }
.price-diagram { display:grid; place-items:center; min-height:92px; margin:0 11px 11px; background:#f6f7f4; border-radius:8px; padding:7px; }
.price-diagram img { display:block; width:auto; max-width:100%; height:100px; object-fit:contain; mix-blend-mode:multiply; }
.price-table-container { min-width:0; }
.managed-price-table { table-layout:auto; }
.managed-price-table thead { background:#eef3ee; }
.managed-price-table thead .MuiTableCell-root { color:var(--muted); font-weight:800; }
.managed-price-table .MuiTableCell-root { font-size:.9rem; line-height:1.42; padding:8px 13px; }
.managed-price-table tbody tr:last-child .MuiTableCell-root { border-bottom:0; }
.managed-price-table tbody th { font-weight:620; overflow-wrap:anywhere; }
.managed-price-table .price-number { white-space:nowrap; font-weight:800; color:var(--dark); }
.managed-price-table .price-condition { color:var(--muted); }
.managed-price-table tr[id] { scroll-margin-top:calc(var(--nav-height) + 15px); }
.price-card-content .card-amount { color:var(--forest); font-size:1.18rem; font-weight:800; margin-top:5px; }
.house-grid { display:grid; gap:8px; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
.house-grid summary { display:flex; align-items:center; justify-content:space-between; list-style:none; gap:8px; padding:11px 13px; }
.house-grid summary::-webkit-details-marker { display:none; }
.house-grid details[open] summary svg { transform:rotate(180deg); }
.house-grid details .price-diagram img { height:83px; }
.inline-price { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:6px 14px; padding:8px 12px; margin-block:12px 17px; }
.inline-price .MuiChip-root { font-weight:800; }
.legacy-promo-amount { color:var(--forest); white-space:nowrap; font-variant-numeric:tabular-nums; }
.request-section { display:grid; grid-template-columns:minmax(220px, .85fr) minmax(0, 1.15fr); gap:clamp(20px,4vw,48px); margin-block:24px; padding:clamp(16px,3vw,34px); }
.request-section-intro { display:grid; align-content:start; justify-items:start; gap:12px; }
.request-section-intro h2 { max-width:24ch; }
.request-symbol { display:grid; place-items:center; width:40px; height:40px; border-radius:11px; background:#e7f0e9; color:var(--forest); }
.request-dialog .request-dialog-header { display:grid; gap:8px; position:relative; padding:18px 60px 16px 24px; background:#f4f8f4; border-bottom:1px solid var(--line); }
.request-dialog .request-dialog-close { position:absolute; top:8px; right:8px; }
.request-dialog .request-dialog-content { padding:20px 24px 24px; }
.request-form { display:grid; gap:14px; align-content:start; min-width:0; }
.request-fields { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
.request-dialog .request-fields { grid-template-columns:minmax(0,1fr); }
.request-form .MuiInputAdornment-root { color:#617b6f; }
.request-form .MuiFormHelperText-root { margin-inline:2px; }
.request-context { display:grid; gap:3px; padding:10px 12px; border-radius:9px; background:#edf4ef; }
.request-consent { display:grid; justify-items:start; }
.request-consent .MuiFormControlLabel-root { margin:0; align-items:center; }
.request-consent > :not(label) { margin-left:34px; }
.request-form .request-submit { min-height:47px; }
@media (max-width:680px) {
  .request-section,.request-fields { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:420px) {
  .request-dialog .request-dialog-content { padding:16px; }
  .request-dialog .request-dialog-header { padding-left:16px; }
}
.repair-price-panel { overflow:hidden; margin-top:14px; }
.repair-tools { display:flex; align-items:center; gap:10px; padding:14px; }
.repair-tools > button { flex:none; }
.repair-result-count { padding:0 14px 10px; }
.repair-empty { margin:0 14px 14px; }
#repair-price-root .managed-price-table .price-condition { width:33%; overflow-wrap:anywhere; }

.site-footer { padding:34px 0 24px; color:#e5f0e8; background:var(--dark); }
.footer-grid { display:grid; grid-template-columns:1.2fr 1fr 1fr; gap:25px; }
.site-footer .brand { --brand-ink:#e9f3f7; --brand-red:#ffada1; }
.site-footer .footer-sub { border-top:1px solid #4b695b; margin-top:23px; padding-top:14px; color:#d1e1d6; }
.footer-grid address { font-style:normal; }

.quote-section { margin-top:clamp(28px,5vmin,50px); }
.compact-quote { display:none; }
.quote-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,34%); }
.quote-fields { display:grid; gap:20px; padding:clamp(18px,3.1vw,35px); min-width:0; }
.input-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.input-grid .full-field { grid-column:1/-1; }
.quote-field { display:grid; align-content:start; gap:5px; min-width:0; }
.quote-field .quote-field-label { font-weight:700; color:var(--muted); }
.quote-field .MuiOutlinedInput-root { min-height:46px; background:#f8faf8; border-radius:9px; }
.quote-field .MuiOutlinedInput-notchedOutline { border-color:#c8d6cd; }
.quote-field .MuiOutlinedInput-input { font-weight:650; font-size:.94rem; }
.quote-field .MuiFormHelperText-root { margin:4px 1px 0; }
.quote-number input[type=number] { appearance:textfield; font-variant-numeric:tabular-nums; }
.quote-number input::-webkit-inner-spin-button,.quote-number input::-webkit-outer-spin-button { appearance:none; margin:0; }
.service-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.service-grid .service-option {
  display:flex;
  min-width:0;
  margin:0;
  padding-right:10px;
  border:1px solid var(--line);
  border-radius:9px;
  min-height:43px;
  cursor:pointer;
}
.service-grid .service-option:hover { background:#eff6f1; }
.service-grid .service-option > .MuiFormControlLabel-label { flex:1; min-width:0; }
.service-label { display:flex; justify-content:space-between; flex-wrap:wrap; column-gap:5px; align-items:baseline; font-size:.91rem; }
.service-label span + span { color:var(--muted); white-space:nowrap; font-size:.86rem; }
.quote-panel .quote-summary { min-width:0; padding:clamp(19px,3vw,30px); background:#edf3ee; border-left:1px solid var(--line); }
.quote-summary-content { position:sticky; top:calc(var(--nav-height) + 18px); }
.quote-illustration { display:grid; place-items:center; gap:9px; min-height:156px; }
.window-graphic { display:flex; align-items:stretch; max-width:100%; }
.window-sash { flex:1; position:relative; background:linear-gradient(149deg,#e0eee6,#b9d6c9 59%,#dfece5); border:6px solid #fff; box-shadow:inset 0 0 0 1px #92ac9f,0 4px 13px #36584b29; outline:1px solid #739384; }
.window-sash.door { flex-grow:.62; }
.window-sash:is(.opening-1,.opening-2)::after { content:""; position:absolute; right:4px; top:50%; width:3px; height:12px; border-radius:2px; background:#567467; }
.window-sash.opening-2::before { content:""; position:absolute; inset:3px; border-inline-end:1px dashed #688d7a; }
.quote-breakdown > div { display:flex; justify-content:space-between; gap:10px; font-size:.9rem; }
.quote-breakdown dd { margin:0; font-weight:800; white-space:nowrap; }
.quote-total .total-value { font-size:clamp(1.8rem,3.8vw,2.35rem); font-weight:800; letter-spacing:-.045em; line-height:1.25; color:var(--dark); }

@media (max-width:899px) {
  :root { --nav-height:62px; }
  .wrap { width:calc(100% - 30px); }
  .hero-content { padding:26px; }
}
@media (max-width:699px) {
  .hero { margin-top:11px; display:flex; flex-direction:column; min-height:0; }
  .hero-content { width:100%; padding:23px 19px; }
  .hero-media { height:clamp(175px,49vw,235px); }
  .hero-content .hero-actions { margin-top:17px; }
  .hero-content .hero-facts { margin-top:15px; }
  .section-heading { flex-wrap:wrap; align-items:start; }
  .three-columns { grid-template-columns:1fr; gap:10px; }
  .catalogue .catalogue-link { display:grid; grid-template-columns:minmax(100px,.46fr) minmax(0,1fr); align-items:center; }
  .catalogue .catalogue-link img { height:100%; min-height:113px; aspect-ratio:unset; }
  .catalogue .catalogue-link h3 { font-size:1.12rem; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:18px; }
  .footer-grid address { grid-column:1/-1; }
  .compact-quote {
    position:sticky;
    top:calc(var(--nav-height) + 1px);
    z-index:2;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:8px;
    margin:0 0 10px;
    padding:5px 10px 5px 13px;
    background:#eef5ef;
    border:1px solid var(--line);
    border-radius:10px;
    box-shadow:0 3px 8px #183a240d;
  }
  .compact-quote .compact-total { color:var(--dark); font-size:1.16rem; line-height:1.24; font-weight:800; }
  .price-grid { grid-template-columns:1fr; }
  .price-card .price-diagram { justify-items:center; }
  .price-card .price-diagram img { height:104px; }
  .quote-layout { grid-template-columns:1fr; }
  .quote-panel .quote-summary { border-left:0; border-top:1px solid var(--line); scroll-margin-top:calc(var(--nav-height) + 68px); }
  .quote-summary-content { position:static; }
}
@media (max-width:459px) {
  .hero-content .hero-actions { display:grid; }
  .header-row { gap:6px; }
  .callout { align-items:start; flex-direction:column; }
  .price-navigation { padding:5px; gap:2px; }
  .price-navigation .MuiButton-root { padding-inline:8px; }
  .price-shortcuts { gap:6px 12px; font-size:.87rem; }
  .price-shortcuts .MuiButton-root { width:100%; margin-top:5px; }
  .managed-price-table .MuiTableCell-root { padding:7px 9px; font-size:.85rem; }
  .house-grid { grid-template-columns:1fr; }
  .repair-tools { align-items:stretch; flex-direction:column; }
  .full-on-mobile, .service-grid { grid-template-columns:1fr; }
}
@media (max-width:359px) {
  .footer-grid { grid-template-columns:minmax(0,1fr); }
}

/* Cards retain their original text and can also be scrolled without scripts. */
.reviews-heading { display:flex; align-items:center; justify-content:space-between; gap:10px 16px; margin-bottom:14px; }
.review-controls { display:inline-flex; align-items:center; gap:3px; flex:none; }
.review-controls[hidden] { display:none; }
.review-controls .MuiIconButton-root { border:1px solid var(--line); background:#fff; color:var(--forest); min-width:44px; min-height:44px; }
.review-controls .MuiIconButton-root:disabled { opacity:.45; }
.review-position { min-width:46px; text-align:center; color:var(--muted); font-variant-numeric:tabular-nums; }
.review-track { position:relative; display:grid; grid-auto-flow:column; grid-auto-columns:calc((100% - 28px)/3); gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; padding:2px 0 10px; scrollbar-width:thin; scrollbar-color:#a7bdb0 transparent; align-items:start; }
.review-track .review-card { margin:0; min-width:0; padding:19px; scroll-snap-align:start; }
.glazing-track { align-items:stretch; }
.glazing-card { min-width:0; scroll-snap-align:start; }
.glazing-card .MuiCardActionArea-root { display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start; height:100%; }
.glazing-card-media { background:#edf3ee; aspect-ratio:16/9; }
.glazing-card-media img,.prose .glazing-card-media img { display:block; width:100%; height:100%; max-height:none; object-fit:cover; margin:0; border-radius:0; }
.glazing-card .MuiCardContent-root { display:flex; flex:1; flex-direction:column; padding:14px 15px; }
.glazing-card dl { display:grid; gap:5px; margin:10px 0; font-size:.88rem; }
.glazing-card dl > div { display:flex; justify-content:space-between; flex-wrap:wrap; gap:2px 8px; }
.glazing-card dt { color:var(--muted); }
.glazing-card dd { margin:0; font-weight:800; white-space:nowrap; }
.glazing-card-link { display:flex; align-items:center; gap:6px; padding-top:7px; margin-top:auto; font-weight:800; }
.window-profiles { margin:0 0 clamp(20px,4vw,38px); }
.window-profile-card { min-width:0; scroll-snap-align:start; }
.window-profile-media { display:grid; place-items:center; height:clamp(128px,18vw,170px); padding:14px; background:#f3f7f3; }
.prose .window-profile-media img { width:100%; height:100%; max-height:132px; margin:0; border-radius:0; object-fit:contain; }
.window-profile-card .MuiCardContent-root { padding:14px 15px 10px; }
.window-profile-card h3 { min-height:2.7em; }
.window-profile-link { display:inline-flex; gap:6px; align-items:center; margin-top:5px; font-weight:800; }
.prose .window-profile-card details { margin:0; border-top:1px solid var(--line); padding:9px 15px 12px; }
.prose .window-profile-card details p { margin:0; font-size:.91rem; overflow-wrap:anywhere; }
.review-card figcaption { display:flex; align-items:center; gap:9px; margin-bottom:13px; }
.review-avatar { display:grid; place-items:center; width:39px; height:39px; flex:none; border-radius:12px; background:#e7f1eb; color:var(--forest); font-weight:800; }
.review-card blockquote { margin:0; overflow-wrap:anywhere; }
.review-card summary { color:var(--forest); font-size:.91rem; margin:7px 0; }
.review-card details p { margin-top:5px; }
.review-replies { margin-top:13px; padding:12px; background:#f4f7f4; border-radius:8px; }
.reviews-links { display:flex; flex-wrap:wrap; gap:7px 20px; margin-top:12px; font-weight:800; }

.managed-price-table thead { background:#eff5f0; }
.managed-price-table tbody tr:nth-of-type(even), .admin-table tbody tr:nth-of-type(even) { background:#f8fbf8; }
.managed-price-table tbody tr:hover { background:#edf5ef; }
.managed-price-table tbody tr > .MuiTableCell-root { border-color:#e7eee8; }
.managed-price-table .price-number, .admin-price { font-variant-numeric:tabular-nums; }
.repair-price-panel .repair-tools { background:#fafdfa; border-bottom:1px solid var(--line); }
.repair-result-count { padding-top:10px; }
.repair-empty { margin-top:10px; }

.admin-header { background:white; border-bottom:1px solid var(--line); }
.admin-header .wrap { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:66px; }
.admin-main { width:min(100% - 40px, 1120px); padding:clamp(22px,4vw,47px) 0 60px; }
.admin-main h1 { font-size:clamp(2rem,4.2vw,3rem); }
.admin-tabs { margin-block:20px; }
.admin-tabs .MuiTab-root { font:800 .94rem Manrope,sans-serif; text-transform:none; min-height:56px; }
.admin-panel { display:grid; gap:14px; }
.admin-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.admin-section-head h2 { font-size:clamp(1.6rem,3.2vw,2.1rem); margin-bottom:4px; }
.admin-filters { display:grid; gap:12px; grid-template-columns:minmax(0,1fr) minmax(170px,29%); }
.admin-table-panel { overflow:hidden; }
.admin-table thead { background:#edf4ef; }
.admin-table th[scope="col"] { font-weight:800; color:var(--muted); white-space:nowrap; }
.admin-table .MuiTableCell-root { padding:10px 13px; line-height:1.44; }
.admin-table th[scope="row"] { overflow-wrap:anywhere; }
.admin-table .admin-price { font-weight:800; color:var(--dark); }
.admin-table .show-small { display:none; }
.admin-table .MuiButton-root { min-width:44px; min-height:40px; }
.admin-page-form { display:grid; gap:17px; padding:clamp(15px,3vw,29px); min-width:0; }
.admin-page-grid { display:grid; gap:17px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.admin-editor-heading { display:flex; align-items:center; justify-content:space-between; gap:11px; flex-wrap:wrap; }
.admin-form-actions { display:flex; justify-content:flex-end; gap:9px; flex-wrap:wrap; }
.lead-details { display:grid; gap:9px 15px; grid-template-columns:auto minmax(0,1fr); margin:0; }
.lead-details dt { color:var(--muted); }
.lead-details dd { margin:0; overflow-wrap:anywhere; white-space:pre-wrap; }
@media (max-width:900px) {
  .review-track { grid-auto-columns:calc((100% - 14px)/2); }
}
@media (max-width:600px) {
  .review-track { grid-auto-columns:100%; }
  .reviews-heading { flex-wrap:wrap; }
  .admin-main { width:calc(100% - 26px); }
  .admin-tabs .MuiTab-root { min-width:0; padding-inline:9px; }
  .admin-tabs .MuiSvgIcon-root { font-size:18px; }
  .admin-filters, .admin-page-grid { grid-template-columns:minmax(0,1fr); }
  .admin-table .hide-small { display:none; }
  .admin-table .show-small { display:block; }
  .admin-table .MuiTableCell-root { padding:8px 7px; }
  .admin-table .MuiTableCell-root:last-child { width:46px; }
  .admin-table .admin-price { overflow-wrap:anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  .review-track { scroll-behavior:auto; }
}

.work-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:11px; list-style:none; padding:0; margin:18px 0 12px; }
.work-steps > li { padding:15px 13px; min-width:0; }
.work-steps .MuiTypography-body2 { margin-top:6px; }
.step-icon { display:flex; align-items:center; gap:7px; margin-bottom:11px; color:#24523f; }
.step-icon svg { background:#e3eee6; border-radius:10px; box-sizing:content-box; padding:8px; }
.step-icon span { color:var(--muted); font-size:.84rem; font-weight:800; }
.project-track .project-card { margin:0; min-width:0; scroll-snap-align:start; }
.project-card img { width:100%; aspect-ratio:1.65; object-fit:cover; background:#e9f0eb; }
.project-card .project-description { margin-top:6px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; line-clamp:3; overflow:hidden; }
.project-card .MuiCardActionArea-root { height:100%; }
.project-pagination { display:flex; gap:7px; flex-wrap:wrap; margin-top:13px; }
.project-pagination .MuiButton-root { min-width:44px; }
.project-cover { margin:18px 0 0; max-width:850px; }
.project-cover img { width:100%; max-height:500px; object-fit:cover; border-radius:12px; }
.visual-editor { overflow:hidden; }
.visual-editor-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 15px; border-bottom:1px solid var(--line); background:#f5f9f5; }
.visual-editor-actions { display:flex; flex-wrap:wrap; gap:4px; }
.visual-editor-frame { width:100%; height:clamp(300px,53vh,540px); display:block; background:#fff; border:0; }
.admin-image-preview { background:#f3f7f3; border:1px solid var(--line); border-radius:10px; display:grid; justify-content:center; padding:10px; }
.admin-image-preview img { max-width:100%; max-height:260px; object-fit:contain; }
.media-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; }
.media-controls .MuiToggleButton-root { text-transform:none; }
.media-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,148px),1fr)); gap:12px; }
.media-thumbnail { display:grid; place-items:center; aspect-ratio:4/3; padding:6px; background:#f3f7f3; }
.media-thumbnail img { width:100%; height:100%; min-height:0; object-fit:contain; }
.media-grid .MuiCardContent-root { padding:8px 10px 10px; min-height:56px; }
.media-grid .MuiCardContent-root > span { display:block; }
.media-full-preview { display:grid; place-items:center; min-height:175px; background:#f3f7f3; border:1px solid var(--line); border-radius:12px; padding:10px; }
.media-full-preview img { max-width:100%; max-height:min(53vh,580px); object-fit:contain; }
.media-description { overflow-wrap:anywhere; }
.draft-preview-content { display:grid; justify-items:start; gap:12px; min-width:0; }
.draft-preview-shell { width:100%; min-width:0; margin-inline:auto; border:1px solid var(--line); border-radius:10px; overflow:hidden; background:white; }
.draft-preview-shell.mobile { max-width:390px; }
.draft-preview-shell iframe { display:block; width:100%; height:clamp(330px,65vh,680px); border:0; }
@media (max-width:900px) { .work-steps { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:600px) {
  .media-controls { grid-template-columns:minmax(0,1fr); }
  .media-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
  .work-steps { grid-template-columns:1fr; gap:8px; }
  .work-steps > li { display:grid; grid-template-columns:62px minmax(0,1fr); gap:9px; align-items:start; padding:12px; }
  .step-icon { gap:4px; margin-bottom:0; }
  .step-icon svg { padding:6px; }
  .visual-editor-toolbar { align-items:start; flex-direction:column; }
}
