﻿    :root{
      --md-green:#009b98;
      --md-green-hover:#008c89;
      --md-red:#e56773;
      --md-text:#111827;
      --md-blue:#30384f;
      --md-muted:#5a6275;
      --md-border:#e6e9ee;
      --md-bg:#f7f8fa;
      --md-card:#ffffff;
      --md-soft:#f4f6f8;
    }

    *{box-sizing:border-box}

    body{
      margin:0;
      font-family:'montserrat', sans-serif;
      color:var(--md-text);
      background:var(--md-bg);
      -webkit-font-smoothing:antialiased;
      text-rendering:optimizeLegibility;
    }

    a{color:inherit}

    .site-preview{
      max-width:1240px;
      margin:0 auto;
      padding:34px 20px 56px;
    }

    .site-head{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
      margin:0;
      padding:0 2px 26px;
    }

    .site-head h1{
      margin:0;
      font-size:38px;
      line-height:1.15;
      font-weight:700;
      letter-spacing:-.02em;
      color:#111;
    }

    .site-head .hint{
      margin:0;
      color:var(--md-muted);
      font-size:15px;
      line-height:1.4;
    }

    docs,
    doc,
    photo,
    docimg,
    docpriem,
    info,
    specs,
    spec,
    specmore,
    docname,
    docmeta,
    docactions{
      display:block;
    }

    docs{
      display:grid;
      grid-template-columns:repeat(3, minmax(0, 1fr));
      gap:24px;
      align-items:stretch;
      width:100%;
    }

    doc{
      min-width:0;
      overflow:hidden;
      background:var(--md-card);
      border-radius:0;
      box-shadow:none;
    }

    photo{
      position:relative;
      height:286px;
      min-width:0;
      background:#fff;
      border-bottom:2px solid var(--md-red);
      overflow:hidden;
    }

    docimg{
      width:100%;
      height:100%;
      background-repeat:no-repeat;
      background-position:center bottom;
      background-size:contain;
    }

    info{
      display:flex;
      flex-direction:column;
      gap:12px;
      min-width:0;
      padding:20px 20px 22px;
    }

    specs{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      min-width:0;
      margin:0;
    }

    spec{
      min-width:0;
      overflow:hidden;
      color:var(--md-green);
      font-size:18px;
      line-height:1.25;
      font-weight:700;
      white-space:nowrap;
      text-overflow:ellipsis;
    }

    specmore{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      flex:0 0 36px;
      width:36px;
      height:36px;
      border:1px solid var(--md-red);
      border-radius:0;
      color:var(--md-red);
      background:#fff;
      font-size:16px;
      line-height:1;
      font-weight:700;
      cursor:pointer;
      user-select:none;
    }

    specmore:hover{background:#fff6f7}

    docname{
      display:flex;
      flex-direction:column;
      gap:4px;
      min-width:0;
      margin:0;
    }

    docname strong{
      display:block;
      max-width:100%;
      margin:0;
      overflow-wrap:anywhere;
      color:#050505;
      font-size:46px;
      line-height:1.02;
      font-weight:800;
      letter-spacing:-.03em;
      text-transform:uppercase;
    }

    docname span{
      display:block;
      max-width:100%;
      overflow-wrap:anywhere;
      color:#050505;
      font-size:27px;
      line-height:1.16;
      font-weight:700;
      letter-spacing:-.02em;
    }

    docmeta{
      display:flex;
      align-items:center;
      gap:8px;
      min-width:0;
      margin:0;
      padding:0 0 14px;
      color:var(--md-blue);
      font-size:15px;
      line-height:1.25;
    }

    .meta-item{
      display:flex;
      align-items:center;
      gap:8px;
      min-width:0;
    }

    .meta-item:first-child{
      flex:1 1 auto;
    }

    .meta-item:last-child{
      flex:0 0 auto;
      white-space:nowrap;
    }

    .meta-text{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    .meta-sep{
      flex:0 0 1px;
      width:1px;
      height:28px;
      background:#d9dee5;
    }

    .num-red{
      color:var(--md-red);
      font-weight:700;
    }

    docpriem{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:10px;
      min-width:0;
      margin:0;
      padding:13px 16px;
      border-radius:0;
      background:var(--md-soft);
      color:var(--md-blue);
    }

    docpriem span{
      min-width:0;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
      font-size:14px;
      line-height:1.2;
      font-weight:500;
    }

    docpriem strong{
      flex:0 0 auto;
      color:var(--md-red);
      font-size:20px;
      line-height:1;
      font-weight:800;
      letter-spacing:-.025em;
      white-space:nowrap;
    }

    docactions{
      display:grid;
      grid-template-columns:1fr;
      gap:11px;
      padding:0;
      min-width:0;
    }

    .doc-btn{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:0;
      width:100%;
      min-width:0;
      min-height:52px;
      padding:0 16px;
      border-radius:0;
      border:none;
      text-decoration:none;
      font-size:16px;
      line-height:1.2;
      font-weight:700;
      text-align:center;
      white-space:nowrap;
      transition:background-color .15s ease, color .15s ease, border-color .15s ease;
    }

    .doc-btn-main{
      color:#fff;
      background:var(--md-green);
    }

    .doc-btn-main:hover{
      background:var(--md-green-hover);
    }

    docs doc docactions .doc-btn-more,
    maindocs doc docactions .doc-btn-more{
      display:flex;
      align-items:center;
      justify-content:center;
      min-height:52px !important;
      padding:0 16px !important;
      border:1px solid var(--md-green) !important;
      color:var(--md-green) !important;
      background:#fff !important;
      text-decoration:none !important;
      text-transform:none !important;
      font-size:16px !important;
      line-height:1.2 !important;
      font-weight:700 !important;
      letter-spacing:0 !important;
      white-space:nowrap;
    }

    docs doc docactions .doc-btn-more:hover,
    maindocs doc docactions .doc-btn-more:hover{
      color:var(--md-green) !important;
    }

    @media (max-width:1120px){
      docs{grid-template-columns:repeat(2, minmax(0, 1fr));}
      photo{height:300px;}
    }

    @media (max-width:720px){
      .site-preview{padding:24px 14px 42px;}
      .site-head{display:flex;flex-direction:column;gap:8px;}
      .site-head h1{font-size:30px;}
      docs{grid-template-columns:1fr;gap:18px;}
      photo{height:270px;}
      info{padding:18px 18px 20px;}
      docname strong{font-size:34px;}
      docname span{font-size:23px;}
      docmeta{font-size:14px;gap:9px;}
      .meta-text{white-space:normal;}
      docpriem{padding:14px 15px;}
      docpriem span{font-size:16px;}
      docpriem strong{font-size:22px;}
      .doc-btn{min-height:52px;font-size:16px;}
    }

    @media (max-width:390px){
      info{padding-left:15px;padding-right:15px;}
      photo{height:245px;}
      spec{font-size:17px;}
      specmore{width:36px;height:36px;flex-basis:36px;font-size:16px;}
      docname strong{font-size:32px;}
      docname span{font-size:21px;}
      docmeta{align-items:flex-start;flex-wrap:wrap;}
      .meta-sep{display:none;}
      .meta-item:last-child{flex-basis:100%;}
      docpriem{align-items:flex-start;flex-direction:column;gap:6px;}
    }

