/* Бортум 0.16.0 — единая навигация и общий язык интерфейса. */
:root{
  --bt-ui-radius:20px;
  --bt-ui-border:#e5e9ef;
  --bt-ui-shadow:0 12px 34px rgba(19,28,41,.055);
  --bt-ui-surface:#fff;
  --bt-ui-muted:#6f7a88;
}

.bt-nav{gap:12px}
.bt-nav button{min-height:54px}
.bt-nav button span{white-space:nowrap}

.bt-view{display:none;align-content:start;gap:18px}
.bt-view.is-active{display:grid}
.bt-view>.bt-section-intro,
.bt-unified-section,
.bt-service-block,
.bt-current-mileage,
.bt-completeness-strip,
.bt-dashboard-grid>.bt-panel{
  border:1px solid var(--bt-ui-border);
  border-radius:var(--bt-ui-radius);
  background:var(--bt-ui-surface);
  box-shadow:var(--bt-ui-shadow);
}

.bt-section-intro{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:24px 26px;
}
.bt-section-intro>div:first-child{max-width:760px}
.bt-section-intro>div>span,
.bt-unified-section__head>div>span{
  display:block;
  margin-bottom:5px;
  color:var(--bt-purple);
  font-size:11px;
  font-weight:850;
  letter-spacing:.075em;
  text-transform:uppercase;
}
.bt-section-intro h2{margin:0 0 6px;font-size:clamp(28px,3vw,42px);line-height:1.05}
.bt-section-intro p,.bt-unified-section__head p{margin:0;color:var(--bt-ui-muted);line-height:1.55}
.bt-section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.bt-unified-section{padding:24px 26px;scroll-margin-top:105px}
.bt-unified-section__head{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:18px}
.bt-unified-section__head h3{margin:0 0 5px;font-size:24px;letter-spacing:-.025em}
.bt-unified-section__head>div{max-width:760px}

.bt-report-summary{gap:12px}
.bt-report-summary article{border:1px solid var(--bt-ui-border);border-radius:17px;background:#fff;box-shadow:none}
.bt-service-plan{gap:18px}
.bt-service-block{overflow:hidden}
.bt-service-block>header{border-bottom:1px solid #edf0f4}
.bt-service-details{margin-top:11px;border-top:1px dashed #dfe4ea;padding-top:10px}
.bt-service-details summary{color:var(--bt-purple);font-weight:800;cursor:pointer}
.bt-report-footer{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bt-report-footer .bt-button{width:100%;justify-content:center}

#bt-plan-symptoms .bt-filter-row{margin:0 0 18px}
#bt-plan-symptoms .bt-symptom-grid{margin:0}
#bt-plan-symptoms .bt-symptom-card{box-shadow:none}

[data-view-panel="history"] .bt-current-mileage{margin:0;padding:17px 22px}
[data-view-panel="history"] .bt-timeline{margin:0}
#bt-history-documents{margin-bottom:10px}
.bt-document-list{margin-top:4px}
.bt-document{border-color:#e8ebf0;background:#fbfcfd}

.bt-operation span em{font-style:normal}
.bt-operation span{display:flex;align-items:center;gap:8px}
.bt-operation span.is-active{color:var(--bt-purple)}

@media(max-width:900px){
  .bt-section-intro,.bt-unified-section__head{align-items:flex-start;flex-direction:column}
  .bt-section-actions{width:100%;justify-content:stretch}
  .bt-section-actions .bt-button{flex:1}
  .bt-report-footer{grid-template-columns:1fr}
}

@media(max-width:680px){
  .bt-content{padding-bottom:88px}
  .bt-section-intro,.bt-unified-section{padding:19px 17px;border-radius:17px}
  .bt-section-intro h2{font-size:29px}
  .bt-unified-section__head h3{font-size:21px}
  .bt-section-intro .bt-button,.bt-unified-section__head .bt-button,.bt-section-actions .bt-button{width:100%}
  .bt-mobile-nav{grid-template-columns:repeat(4,1fr);height:72px}
  .bt-mobile-nav button{position:relative;gap:2px}
  .bt-mobile-nav .bt-mobile-assistant{color:#171c23}
  .bt-mobile-nav .bt-mobile-assistant b{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    margin-top:-17px;
    border-radius:50%;
    background:var(--bt-lime);
    box-shadow:0 8px 24px rgba(125,165,0,.28);
    font-size:20px;
  }
  .bt-mobile-nav .bt-mobile-assistant span{font-weight:850;color:#313941}
  body:not(.bt-chat-open) .bt-fab{display:none!important}
  .bt-report-summary{grid-template-columns:repeat(3,1fr)}
  .bt-report-summary article{padding:13px 8px}
  .bt-report-summary article strong{font-size:23px}
}
