  .teca-soundcalc-widget{
    --bg-page:transparent;
    --bg-panel:#0e1621;
    --bg-panel-2:#141d2b;
    --bg-card:#182636;
    --bg-card-2:#1c2a3b;
    --border:#28384c;
    --orange:#f0742a;
    --orange-dark:#d9631d;
    --green:#25a25a;
    --text:#eef2f6;
    --text-dim:#93a1b3;
    --text-faint:#5f7186;
    --radius:14px;

    font-family:"Segoe UI","Noto Sans Armenian",Arial,sans-serif;
    color:var(--text);
    display:flex;
    justify-content:center;
    padding:16px 12px;
    font-size:14px;
  }

  .teca-soundcalc-widget, .teca-soundcalc-widget *{
    box-sizing:border-box;
  }

  .teca-soundcalc-widget .tsc-card{
    width:100%;
    max-width:760px;
    background:var(--bg-panel);
    border-radius:16px;
    padding:22px 22px 18px;
    box-shadow:0 14px 34px rgba(10,16,26,.25);
  }

  .teca-soundcalc-widget .tsc-eyebrow{
    color:var(--orange);
    font-size:10.5px;
    font-weight:700;
    letter-spacing:.12em;
    margin:0 0 8px;
  }

  .teca-soundcalc-widget button.tsc-toggleBtn{
    background:none;
    border:none;
    padding:0;
    font-family:inherit;
    cursor:pointer;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    color:#ffffff;
    font-size:16px;
    font-weight:800;
    letter-spacing:.04em;
    text-align:center;
    transition:filter .15s ease;
  }
  .teca-soundcalc-widget button.tsc-toggleBtn:hover{
    filter:brightness(1.25);
  }
  .teca-soundcalc-widget .tsc-toggle-chevron{
    width:14px;
    height:14px;
    flex:none;
    color:var(--orange);
    transition:transform .2s ease;
  }
  .teca-soundcalc-widget button.tsc-toggleBtn.tsc-open .tsc-toggle-chevron{
    transform:rotate(180deg);
  }

  .teca-soundcalc-widget .tsc-collapse{
    display:none;
  }
  .teca-soundcalc-widget .tsc-collapse.tsc-open{
    display:block;
    animation:tsc-collapse-in .18s ease;
  }
  @keyframes tsc-collapse-in{
    from{opacity:0;transform:translateY(-4px);}
    to{opacity:1;transform:translateY(0);}
  }

  .teca-soundcalc-widget h1.tsc-title{
    font-size:19px;
    line-height:1.25;
    margin:0 0 8px;
    font-weight:800;
    color:var(--text);
  }

  .teca-soundcalc-widget .tsc-lede{
    color:var(--text-dim);
    font-size:12.5px;
    line-height:1.5;
    margin:0 0 18px;
    max-width:520px;
  }

  .teca-soundcalc-widget .tsc-grid{
    width:100%;
  }

  .teca-soundcalc-widget label.tsc-field-label{
    display:block;
    font-size:12.5px;
    color:var(--text);
    margin-bottom:6px;
    font-weight:600;
  }

  .teca-soundcalc-widget .tsc-input-wrap{
    position:relative;
    margin-bottom:10px;
  }

  .teca-soundcalc-widget input.tsc-input[type="number"]{
    width:100%;
    background:var(--bg-card);
    border:1px solid var(--border);
    border-radius:10px;
    color:var(--text);
    font-size:16px;
    font-weight:700;
    padding:10px 40px 10px 14px;
    outline:none;
    transition:border-color .15s ease, box-shadow .15s ease;
    appearance:textfield;
  }
  .teca-soundcalc-widget input.tsc-input[type="number"]:focus{
    border-color:var(--orange);
    box-shadow:0 0 0 3px rgba(240,116,42,.18);
  }
  .teca-soundcalc-widget input.tsc-input::-webkit-outer-spin-button,
  .teca-soundcalc-widget input.tsc-input::-webkit-inner-spin-button{
    -webkit-appearance:none;
    margin:0;
  }
  .teca-soundcalc-widget .tsc-unit{
    position:absolute;
    right:14px;
    top:50%;
    transform:translateY(-50%);
    color:var(--text-faint);
    font-size:13px;
    font-weight:600;
    pointer-events:none;
  }

  .teca-soundcalc-widget button.tsc-cta{
    width:100%;
    background:linear-gradient(180deg, var(--orange), var(--orange-dark));
    border:none;
    color:#fff;
    font-size:13px;
    font-weight:700;
    padding:11px 14px;
    border-radius:10px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:filter .15s ease, transform .05s ease;
  }
  .teca-soundcalc-widget button.tsc-cta:hover{filter:brightness(1.06);}
  .teca-soundcalc-widget button.tsc-cta:active{transform:translateY(1px);}
  .teca-soundcalc-widget button.tsc-cta svg{width:14px;height:14px;flex:none;}

  .teca-soundcalc-widget .tsc-privacy{
    display:flex;
    align-items:center;
    gap:6px;
    color:var(--text-faint);
    font-size:10.5px;
    margin-top:10px;
  }
  .teca-soundcalc-widget .tsc-privacy svg{width:12px;height:12px;flex:none;opacity:.8;}

  .teca-soundcalc-widget .tsc-stat-line{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:11px;
    color:var(--text-dim);
    padding:5px 0;
    border-top:1px solid var(--border);
  }
  .teca-soundcalc-widget .tsc-stat-line .tsc-l{display:flex;align-items:center;gap:6px;}
  .teca-soundcalc-widget .tsc-stat-line svg{width:12px;height:12px;opacity:.75;flex:none;}
  .teca-soundcalc-widget .tsc-stat-line .tsc-v{color:var(--text);font-weight:600;}

  .teca-soundcalc-widget .tsc-row2{
    display:flex;
    gap:14px;
    align-items:stretch;
    margin-top:14px;
  }
  .teca-soundcalc-widget .tsc-row2 > *{
    flex:1 1 0;
    min-width:0;
    margin-top:0 !important;
  }

  .teca-soundcalc-widget .tsc-materials{
    margin-top:14px;
  }
  .teca-soundcalc-widget .tsc-materials-title{
    color:var(--orange);
    font-size:10.5px;
    font-weight:700;
    letter-spacing:.06em;
    margin:0 0 8px;
  }
  .teca-soundcalc-widget .tsc-mtable-wrap{
    background:var(--bg-panel-2);
    border:1px solid var(--border);
    border-radius:12px;
    overflow-x:auto;
  }
  .teca-soundcalc-widget table.tsc-mtable{
    width:100%;
    border-collapse:collapse;
    font-size:12px;
  }
  .teca-soundcalc-widget table.tsc-mtable th{
    text-align:right;
    color:var(--text-faint);
    font-weight:600;
    font-size:10px;
    padding:9px 10px;
    border-bottom:1px solid var(--border);
    white-space:nowrap;
  }
  .teca-soundcalc-widget table.tsc-mtable th.tsc-al,
  .teca-soundcalc-widget table.tsc-mtable td.tsc-al{
    text-align:left;
  }
  .teca-soundcalc-widget table.tsc-mtable td{
    text-align:right;
    padding:8px 10px;
    border-bottom:1px solid var(--border);
    color:var(--text);
    white-space:nowrap;
  }
  .teca-soundcalc-widget table.tsc-mtable tbody tr:last-child td{
    border-bottom:none;
  }
  .teca-soundcalc-widget table.tsc-mtable td.tsc-name{
    color:var(--text-dim);
    font-weight:600;
    white-space:normal;
  }
  .teca-soundcalc-widget table.tsc-mtable tfoot td{
    border-bottom:none;
    border-top:1px solid var(--border);
    padding:10px;
    font-weight:800;
    font-size:12.5px;
    color:var(--orange);
  }

  .teca-soundcalc-widget .tsc-materials button.tsc-pdf-btn{
    margin-top:10px;
  }

  .teca-soundcalc-widget .tsc-3d-section{
    margin-top:14px;
  }
  .teca-soundcalc-widget .tsc-3d-wrap{
    position:relative;
    width:100%;
    height:400px;
    background:var(--bg-panel-2);
    border:1px solid var(--border);
    border-radius:12px;
    overflow:hidden;
  }
  .teca-soundcalc-widget .tsc-3d-canvas{
    width:100%;
    height:100%;
  }
  .teca-soundcalc-widget .tsc-3d-canvas canvas{
    display:block;
    width:100% !important;
    height:100% !important;
  }
  .teca-soundcalc-widget .tsc-3d-info{
    position:absolute;
    top:14px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    gap:10px;
    font-size:18px;
    color:var(--text-dim);
    background:rgba(14,22,33,.55);
    padding:8px 18px;
    border-radius:10px;
    pointer-events:none;
  }
  .teca-soundcalc-widget .tsc-3d-info span{font-weight:800;color:var(--text);}

  .teca-soundcalc-widget button.tsc-pdf-btn{
    width:100%;
    margin-top:10px;
    background:var(--bg-card-2);
    border:1px solid var(--border);
    color:var(--text);
    font-size:11.5px;
    font-weight:600;
    padding:9px;
    border-radius:8px;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    transition:background .15s ease;
  }
  .teca-soundcalc-widget button.tsc-pdf-btn:hover{background:#22334a;}
  .teca-soundcalc-widget button.tsc-pdf-btn svg{width:12px;height:12px;}

  .teca-soundcalc-widget .tsc-contact-bar{
    margin-top:14px;
    width:100%;
    background:var(--bg-panel-2);
    border:1px solid var(--border);
    border-radius:12px;
    padding:18px 20px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:14px;
  }
  .teca-soundcalc-widget .tsc-contact-text .tsc-t1{font-weight:700;font-size:13.5px;margin:0 0 3px;color:var(--text);}
  .teca-soundcalc-widget .tsc-contact-text .tsc-t2{color:var(--text-faint);font-size:11.5px;margin:0;}
  .teca-soundcalc-widget .tsc-contact-actions{display:flex;gap:8px;flex-wrap:wrap;width:100%;}
  .teca-soundcalc-widget .tsc-contact-actions .tsc-btn-pill{flex:1;justify-content:center;min-width:110px;}
  .teca-soundcalc-widget .tsc-contact-actions .tsc-btn-phone{flex:0 0 auto;min-width:0;}
  .teca-soundcalc-widget .tsc-btn-pill{
    display:flex;align-items:center;gap:6px;
    border-radius:8px;
    padding:8px 12px;
    font-size:11.5px;
    font-weight:700;
    border:none;
    cursor:pointer;
    color:#fff;
    text-decoration:none;
    white-space:nowrap;
  }
  .teca-soundcalc-widget .tsc-btn-pill svg{width:13px;height:13px;}
  .teca-soundcalc-widget .tsc-btn-call{background:var(--orange);}
  .teca-soundcalc-widget .tsc-btn-whatsapp{background:var(--green);}
  .teca-soundcalc-widget .tsc-btn-phone{background:var(--bg-card-2);border:1px solid var(--border);padding:8px;}

  .teca-soundcalc-widget .tsc-stats-footer{
    margin-top:12px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
  }
  .teca-soundcalc-widget .tsc-stat-box{
    background:var(--bg-panel-2);
    border:1px solid var(--border);
    border-radius:10px;
    padding:9px 6px;
    text-align:center;
  }
  .teca-soundcalc-widget .tsc-stat-box svg{width:15px;height:15px;color:var(--orange);margin-bottom:4px;}
  .teca-soundcalc-widget .tsc-stat-box .tsc-n{font-weight:800;font-size:12px;}
  .teca-soundcalc-widget .tsc-stat-box .tsc-d{color:var(--text-faint);font-size:9px;margin-top:2px;line-height:1.25;}

  /* --- lead popup --- */
  .teca-soundcalc-widget .tsc-popup-overlay{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(6,10,16,.65);
    z-index:9999;
    align-items:center;
    justify-content:center;
    padding:16px;
  }
  .teca-soundcalc-widget .tsc-popup-overlay.tsc-open{
    display:flex;
  }
  .teca-soundcalc-widget .tsc-popup{
    position:relative;
    width:100%;
    max-width:380px;
    background:var(--bg-panel);
    border:1px solid var(--border);
    border-radius:16px;
    padding:26px 22px 22px;
    box-shadow:0 24px 60px rgba(0,0,0,.45);
  }
  .teca-soundcalc-widget .tsc-popup-close{
    position:absolute;
    top:10px;
    right:12px;
    background:none;
    border:none;
    color:var(--text-faint);
    font-size:22px;
    line-height:1;
    cursor:pointer;
    padding:4px;
  }
  .teca-soundcalc-widget .tsc-popup-close:hover{color:var(--text);}
  .teca-soundcalc-widget .tsc-popup-title{
    font-size:17px;
    font-weight:800;
    margin:0 0 6px;
    color:var(--text);
    padding-right:20px;
  }
  .teca-soundcalc-widget .tsc-popup-sub{
    font-size:12px;
    color:var(--text-dim);
    line-height:1.5;
    margin:0 0 18px;
  }
  .teca-soundcalc-widget .tsc-popup-label{
    display:block;
    font-size:11.5px;
    font-weight:600;
    color:var(--text);
    margin:0 0 6px;
  }
  .teca-soundcalc-widget .tsc-popup-input{
    width:100%;
    background:var(--bg-card);
    border:1px solid var(--border);
    border-radius:9px;
    color:var(--text);
    font-size:13.5px;
    font-family:inherit;
    padding:10px 12px;
    outline:none;
    margin-bottom:14px;
    transition:border-color .15s ease, box-shadow .15s ease;
  }
  .teca-soundcalc-widget .tsc-popup-input:focus{
    border-color:var(--orange);
    box-shadow:0 0 0 3px rgba(240,116,42,.18);
  }
  .teca-soundcalc-widget .tsc-popup-textarea{
    resize:vertical;
    min-height:70px;
  }
  .teca-soundcalc-widget .tsc-popup-submit{
    margin-top:2px;
  }


  /* --- hidden PDF render template (captured via html2canvas) --- */
  .teca-soundcalc-widget .tsc-pdf-template{
    position:fixed;
    left:-99999px;
    top:0;
    width:760px;
    overflow:hidden;
    background:#ffffff;
    color:#222;
    font-family:"Segoe UI","Noto Sans Armenian",Arial,sans-serif;
    padding:36px;
    box-sizing:border-box;
  }
  .teca-soundcalc-widget .tsc-pdf-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    border-bottom:2px solid #e2e2e2;
    padding-bottom:18px;
    margin-bottom:24px;
  }
  .teca-soundcalc-widget .tsc-pdf-logo{
    height:44px;
    max-width:180px;
    object-fit:contain;
  }
  .teca-soundcalc-widget .tsc-pdf-headtext{
    text-align:right;
  }
  .teca-soundcalc-widget .tsc-pdf-title{
    font-size:20px;
    font-weight:800;
    color:#111;
  }
  .teca-soundcalc-widget .tsc-pdf-domain{
    font-size:12px;
    color:#999;
    margin-top:4px;
  }
  .teca-soundcalc-widget .tsc-pdf-area-line{
    font-size:15px;
    font-weight:700;
    color:#111;
    margin-bottom:22px;
  }
  .teca-soundcalc-widget .tsc-pdf-area-line .tsc-pdf-area{
    font-weight:800;
  }
  .teca-soundcalc-widget .tsc-pdf-table{
    width:100%;
    table-layout:fixed;
    border-collapse:collapse;
    font-size:14.5px;
  }
  .teca-soundcalc-widget .tsc-pdf-th-left{
    text-align:left;
    padding:10px 10px 10px 14px;
    border-bottom:2px solid #999;
    color:#555;
    font-size:12.5px;
    font-weight:700;
  }
  .teca-soundcalc-widget .tsc-pdf-th-center{
    text-align:center;
    padding:10px;
    border-bottom:2px solid #999;
    color:#555;
    font-size:12.5px;
    font-weight:700;
  }
  .teca-soundcalc-widget .tsc-pdf-footnote{
    margin-top:28px;
    font-size:11px;
    color:#aaa;
  }

  @media (max-width:640px){
    .teca-soundcalc-widget .tsc-card{padding:16px 14px 16px;}
    .teca-soundcalc-widget h1.tsc-title{font-size:17px;}
    .teca-soundcalc-widget .tsc-row2{flex-direction:column;}
    .teca-soundcalc-widget .tsc-stats-footer{grid-template-columns:repeat(4,1fr);gap:6px;}
    .teca-soundcalc-widget .tsc-stat-box{padding:7px 3px;}
    .teca-soundcalc-widget .tsc-stat-box svg{width:13px;height:13px;margin-bottom:3px;}
    .teca-soundcalc-widget .tsc-stat-box .tsc-n{font-size:10.5px;}
    .teca-soundcalc-widget .tsc-stat-box .tsc-d{font-size:8px;}
  }
