/* ── Acoperis-specific ── */
.header-login-btn{background:#fff;color:#1F4E79}
.header-login-btn:hover{background:#EFF6FF}

/* Breadcrumb */
.breadcrumb{
  background:#fff;border-bottom:1px solid #e2e8f0;
  padding:10px 20px;font-size:12px;color:#64748b;
  display:flex;align-items:center;gap:6px;flex-wrap:wrap;
}
.breadcrumb a{color:#2E86C1;text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.bc-sep{color:#cbd5e1}

/* Auth wall */
.auth-wall{
  max-width:480px;margin:60px auto;padding:0 16px;text-align:center;
}
.auth-card{
  background:#fff;border-radius:16px;border:1px solid #e2e8f0;
  padding:40px 32px;
}
.auth-icon{font-size:48px;margin-bottom:16px}
.auth-title{font-size:22px;font-weight:800;margin-bottom:8px}
.auth-desc{font-size:14px;color:#64748b;line-height:1.6;margin-bottom:24px}
.btn-primary{
  display:inline-block;padding:13px 28px;border-radius:10px;
  background:linear-gradient(135deg,#1F4E79,#2E86C1);
  color:#fff;font-size:15px;font-weight:700;text-decoration:none;
  transition:opacity .2s;
}
.btn-primary:hover{opacity:.9}
.auth-note{font-size:12px;color:#94a3b8;margin-top:14px}

/* Main layout */
.wrap{max-width:720px;margin:0 auto;padding:24px 16px 60px}

.page-hero{
  background:linear-gradient(135deg,#1F4E79,#2E86C1);
  border-radius:14px;padding:28px 24px;color:#fff;margin-bottom:24px;
}
.page-hero h1{font-size:22px;font-weight:800;margin-bottom:6px}
.page-hero p{font-size:13px;opacity:.85;line-height:1.5}
.hero-chip{
  display:inline-block;background:rgba(255,255,255,.2);
  border-radius:8px;padding:3px 10px;font-size:11px;font-weight:700;
  margin-bottom:12px;
}

/* Card */
.card{
  background:#fff;border-radius:14px;border:1px solid #e2e8f0;
  padding:24px;margin-bottom:16px;
}
.card-title{font-size:15px;font-weight:700;margin-bottom:16px;color:#1e293b;display:flex;align-items:center;gap:8px}

/* Form */
.field-group{margin-bottom:16px}
.field-group label{display:block;font-size:13px;font-weight:600;color:#374151;margin-bottom:5px}
.field-group label span{font-weight:400;color:#94a3b8;font-size:11px;margin-left:4px}
.field-group input[type=number],
.field-group select{
  width:100%;padding:10px 14px;border:1.5px solid #e2e8f0;
  border-radius:9px;font-size:14px;font-family:inherit;
  background:#F8FAFC;color:#1e293b;transition:border-color .15s;
}
.field-group input[type=number]:focus,
.field-group select:focus{outline:none;border-color:#2E86C1;background:#fff}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:480px){.field-row{grid-template-columns:1fr}}
.field-hint{font-size:11px;color:#94a3b8;margin-top:4px}

/* Range input */
.range-wrap{display:flex;align-items:center;gap:12px}
.range-wrap input[type=range]{flex:1;accent-color:#2E86C1}
.range-val{
  min-width:52px;background:#EFF6FF;color:#1D4ED8;
  font-weight:700;font-size:14px;text-align:center;
  padding:5px 8px;border-radius:8px;
}

/* Btn calc */
.btn-calc{
  width:100%;padding:14px;
  background:linear-gradient(135deg,#1F4E79,#2E86C1);
  color:#fff;border:none;border-radius:10px;
  font-size:16px;font-weight:700;cursor:pointer;
  transition:opacity .2s;display:flex;align-items:center;justify-content:center;gap:8px;
}
.btn-calc:hover{opacity:.9}

/* Results */
.results{display:none}
.results.is-visible{display:block}
.results-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-bottom:16px}
@media(max-width:480px){.results-grid{grid-template-columns:1fr}}
.res-item{
  background:#F8FAFC;border:1px solid #e2e8f0;
  border-radius:10px;padding:14px;
}
.res-label{font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}
.res-val{font-size:22px;font-weight:800;color:#1F4E79;line-height:1.1}
.res-unit{font-size:12px;color:#94a3b8;font-weight:400}

.res-highlight{border-color:#BFDBFE;background:#EFF6FF}
.res-highlight .res-val{color:#1D4ED8}

.note-box{
  background:#FEF9C3;border:1px solid #FDE68A;border-radius:10px;
  padding:12px 16px;font-size:12px;color:#92400E;line-height:1.5;margin-bottom:16px;
}
.need-block{border-top:1px solid #e2e8f0;padding-top:16px;margin-top:4px}
.need-title{font-size:13px;font-weight:800;color:#1e293b;margin-bottom:10px}
.need-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.need-note{font-size:11px;color:#64748b;line-height:1.45;margin-top:10px}
@media(max-width:480px){.need-grid{grid-template-columns:1fr}}

/* CTA upgrade */
.cta-upgrade{
  background:linear-gradient(135deg,#1F4E79,#2E86C1);
  border-radius:14px;padding:24px;color:#fff;text-align:center;
}
.cta-upgrade h3{font-size:17px;font-weight:800;margin-bottom:6px}
.cta-upgrade p{font-size:13px;opacity:.85;margin-bottom:16px;line-height:1.5}
.btn-white{
  display:inline-block;background:#fff;color:#1F4E79;
  padding:11px 24px;border-radius:9px;font-size:14px;font-weight:700;
  text-decoration:none;transition:transform .2s;
}
.btn-white:hover{transform:translateY(-1px)}

/* Footer */
.hidden{display:none}
.link-accent{color:#2E86C1;text-decoration:none}
.link-accent:hover{text-decoration:underline}

/* Material tiles */
.mat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:6px}
@media(max-width:480px){.mat-grid{grid-template-columns:repeat(2,1fr)}}
.mat-tile{
  border:2px solid #e2e8f0;border-radius:10px;padding:10px 8px;
  text-align:center;cursor:pointer;background:#F8FAFC;
  transition:border-color .15s,background .15s;
  font-size:11px;font-weight:600;color:#475569;line-height:1.3;
  -webkit-user-select:none;user-select:none;
}
.mat-tile:hover{border-color:#93C5FD;background:#F0F9FF}
.mat-tile.sel{border-color:#2E86C1;background:#EFF6FF;color:#1D4ED8}
.mat-tile-icon{font-size:22px;display:block;margin-bottom:5px}
.mat-waste{
  margin-top:6px;font-size:11px;color:#64748b;
  background:#F1F5F9;border-radius:7px;padding:5px 10px;display:inline-block;
}

.price-break-box{background:#F0FDF4;border:1px solid #BBF7D0;border-radius:12px;padding:18px;margin-top:16px}
.price-break-title{font-size:13px;font-weight:700;color:#15803D;margin-bottom:10px}
.price-break-row{display:flex;justify-content:space-between;gap:12px;padding:5px 0;border-bottom:1px solid rgba(0,0,0,.06);font-size:13px}
.price-break-summary{display:flex;justify-content:space-between;gap:12px}
.price-break-materials{padding:8px 0 4px;font-size:14px;font-weight:700;border-top:2px solid #BBF7D0;margin-top:6px}
.price-break-labor{padding:4px 0;font-size:13px;color:#475569}
.price-break-final{padding:6px 0 2px;font-size:15px;font-weight:800;color:#1F4E79}
.price-break-value-green{color:#15803D}
.price-break-note{font-size:11px;color:#94a3b8;margin-top:8px}
