/* SOC sizing calculator, scoped under .calc-app and re-skinned to the design system. */
.calc-app{
      --primary: #1E7FD0;
      --primary-dark: #003F7F;
      --primary-light: #5BA8E0;
      --bg-dark: #0A1424;
      --bg-card: #13284a;
      --bg-card-hover: #1B365D;
      --border: rgba(120,160,210,.24);
      --border-light: rgba(120,160,210,.40);
      --text: #ffffff;
      --text-muted: #9DB4CE;
      --text-dim: #6E8AAC;
      --success: #46C28E;
      --warning: #E0A23A;
      --purple: #8FC5EE;
      --pink: #E0573A;
    }
.calc-app *{ box-sizing: border-box; margin: 0; padding: 0; }
.calc-app{
      font-family: 'IBM Plex Sans', system-ui, sans-serif;
      background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1f35 50%, var(--bg-dark) 100%);
      color: var(--text);
      min-height: 100vh;
      line-height: 1.6;
    }
.calc-app .mono{ font-family: 'IBM Plex Mono', ui-monospace, monospace; }
.calc-app .bg-pattern{
      position: fixed;
      inset: 0;
      opacity: 0.02;
      pointer-events: none;
      background-image: 
        linear-gradient(rgba(30, 127, 208, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 127, 208, 0.5) 1px, transparent 1px);
      background-size: 60px 60px;
    }
.calc-app .container{
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 24px;
      position: relative;
      z-index: 1;
    }
.calc-app header{
      padding: 16px 0;
      border-bottom: 1px solid var(--border);
      background: rgba(15, 23, 42, 0.9);
      backdrop-filter: blur(12px);
      position: sticky;
      top: 0;
      z-index: 100;
    }
.calc-app .header-content{
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
.calc-app .logo{
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: inherit;
    }
.calc-app .logo img{
      height: 40px;
      width: auto;
    }
.calc-app .logo-text p{
      font-size: 0.65rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }
.calc-app .header-cta{
      display: flex;
      align-items: center;
      gap: 16px;
    }
.calc-app .header-phone{
      color: var(--text-muted);
      font-size: 0.8rem;
      text-decoration: none;
    }
.calc-app .header-phone:hover{ color: var(--primary-light); }
.calc-app .hero{
      text-align: center;
      padding: 32px 0 24px;
    }
.calc-app .hero h2{
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 700;
      margin-bottom: 12px;
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--success) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
.calc-app .hero p{
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto;
      font-size: 0.9rem;
    }
.calc-app .contact-form{
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 20px 24px;
      margin-bottom: 24px;
    }
.calc-app .contact-form-header{
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 16px;
    }
.calc-app .contact-form-header svg{
      width: 20px;
      height: 20px;
      color: var(--primary-light);
    }
.calc-app .contact-form-header h3{
      font-size: 1rem;
      font-weight: 600;
      color: var(--text);
    }
.calc-app .contact-form-header span{
      font-size: 0.75rem;
      color: var(--text-dim);
      margin-left: auto;
    }
.calc-app .contact-grid{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }
@media (max-width: 900px){.calc-app .contact-grid{
        grid-template-columns: repeat(2, 1fr);
      }

    }
@media (max-width: 600px){.calc-app .contact-grid{
        grid-template-columns: 1fr;
      }

    }
.calc-app .contact-field{
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
.calc-app .contact-field label{
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
.calc-app .contact-field label .required{
      color: var(--pink);
    }
.calc-app .contact-field input, .calc-app .contact-field select{
      padding: 10px 12px;
      background: var(--bg-dark);
      border: 1px solid var(--border);
      border-radius: 6px;
      color: var(--text);
      font-size: 0.9rem;
      font-family: inherit;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
.calc-app .contact-field input:focus, .calc-app .contact-field select:focus{
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(30, 127, 208, 0.15);
    }
.calc-app .contact-field input::placeholder{
      color: var(--text-dim);
    }
.calc-app .contact-field select{
      cursor: pointer;
      -webkit-appearance: none;
      -moz-appearance: none;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 10px center;
      background-size: 16px;
      padding-right: 36px;
    }
.calc-app .contact-field select option{
      background: var(--bg-dark);
      color: var(--text);
    }
.calc-app .tabs{
      display: flex;
      gap: 4px;
      background: var(--bg-card);
      padding: 4px;
      border-radius: 10px;
      margin-bottom: 24px;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }
.calc-app .tab{
      flex: 1;
      padding: 10px 16px;
      background: transparent;
      border: none;
      border-radius: 6px;
      color: var(--text-muted);
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }
.calc-app .tab:hover{ color: var(--text); }
.calc-app .tab.active{
      background: var(--primary);
      color: white;
    }
.calc-app .main-grid{
      display: grid;
      grid-template-columns: 1fr 360px;
      gap: 24px;
      padding-bottom: 48px;
    }
@media (max-width: 1024px){.calc-app .main-grid{
        grid-template-columns: 1fr;
      }

    }
.calc-app .tab-content{ display: none; }
.calc-app .tab-content.active{ display: block; }
.calc-app .categories{ display: flex; flex-direction: column; gap: 8px; }
.calc-app .category{
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      overflow: hidden;
    }
.calc-app .category-header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 16px;
      cursor: pointer;
      transition: background 0.2s;
      border: none;
      background: transparent;
      width: 100%;
      color: inherit;
      text-align: left;
    }
.calc-app .category-header:hover{ background: var(--bg-card-hover); }
.calc-app .category-info{
      display: flex;
      align-items: center;
      gap: 10px;
    }
.calc-app .category-icon{
      width: 32px;
      height: 32px;
      background: rgba(30, 127, 208, 0.1);
      border: 1px solid rgba(30, 127, 208, 0.2);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
.calc-app .category-icon svg{ width: 16px; height: 16px; color: var(--primary-light); }
.calc-app .category-title{ font-weight: 600; font-size: 0.85rem; }
.calc-app .category-count{
      font-size: 0.65rem;
      color: var(--text-dim);
      background: var(--bg-dark);
      padding: 2px 6px;
      border-radius: 8px;
      margin-left: 6px;
    }
.calc-app .category-meta{
      display: flex;
      align-items: center;
      gap: 12px;
    }
.calc-app .category-eps{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 0.75rem;
      color: var(--primary-light);
    }
.calc-app .chevron{
      width: 16px;
      height: 16px;
      color: var(--text-dim);
      transition: transform 0.2s;
    }
.calc-app .category.expanded .chevron{ transform: rotate(180deg); }
.calc-app .category-content{
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
.calc-app .category.expanded .category-content{ max-height: 3000px; }
.calc-app .devices{
      padding: 0 16px 12px;
      border-top: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 6px;
      padding-top: 12px;
    }
.calc-app .device{
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      background: var(--bg-dark);
      border-radius: 6px;
      border: 1px solid transparent;
      transition: border-color 0.2s;
    }
.calc-app .device:hover{ border-color: var(--border); }
.calc-app .device-info{ flex: 1; min-width: 0; }
.calc-app .device-name{
      font-size: 0.8rem;
      color: var(--text);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
.calc-app .device-eps{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 0.65rem;
      color: var(--text-dim);
    }
.calc-app .device-input{
      display: flex;
      align-items: center;
      gap: 10px;
      margin-left: 12px;
    }
.calc-app .device-input input{
      width: 70px;
      padding: 6px 10px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 5px;
      color: var(--primary-light);
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 0.8rem;
      text-align: right;
    }
.calc-app .device-input input:focus{
      outline: none;
      border-color: var(--primary);
      box-shadow: 0 0 0 2px rgba(30, 127, 208, 0.1);
    }
.calc-app .device-input input::placeholder{ color: var(--text-dim); }
.calc-app .device-total{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 0.65rem;
      color: var(--success);
      min-width: 70px;
      text-align: right;
    }
.calc-app .mdr-section{
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 16px;
    }
.calc-app .mdr-section h3{
      font-size: 0.9rem;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
.calc-app .mdr-section h3 svg{
      width: 18px;
      height: 18px;
      color: var(--purple);
    }
.calc-app .mdr-tiers{
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }
@media (max-width: 768px){.calc-app .mdr-tiers{ grid-template-columns: 1fr; }

    }
.calc-app .mdr-tier{
      background: var(--bg-dark);
      border: 2px solid var(--border);
      border-radius: 10px;
      padding: 16px;
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
    }
.calc-app .mdr-tier:hover{ border-color: var(--border-light); }
.calc-app .mdr-tier.selected{
      border-color: var(--primary);
      background: rgba(30, 127, 208, 0.05);
    }
.calc-app .mdr-tier.popular::before{
      content: 'POPULAR';
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--primary);
      color: white;
      font-size: 0.6rem;
      font-weight: 600;
      padding: 2px 8px;
      border-radius: 4px;
    }
.calc-app .mdr-tier-header{
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 8px;
    }
.calc-app .mdr-tier-name{
      font-weight: 600;
      font-size: 0.9rem;
    }
.calc-app .mdr-tier-check{
      width: 20px;
      height: 20px;
      border: 2px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
.calc-app .mdr-tier.selected .mdr-tier-check{
      background: var(--primary);
      border-color: var(--primary);
    }
.calc-app .mdr-tier.selected .mdr-tier-check svg{
      color: white;
      width: 12px;
      height: 12px;
    }
.calc-app .mdr-tier-features{
      list-style: none;
      font-size: 0.7rem;
      color: var(--text-muted);
    }
.calc-app .mdr-tier-features li{
      padding: 3px 0;
      display: flex;
      align-items: center;
      gap: 6px;
    }
.calc-app .mdr-tier-features li svg{
      width: 12px;
      height: 12px;
      color: var(--success);
      flex-shrink: 0;
    }
.calc-app .sidebar{ position: sticky; top: 80px; }
.calc-app .stats-grid{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 16px;
    }
.calc-app .stat-card{
      padding: 14px;
      border-radius: 10px;
      border: 1px solid;
    }
.calc-app .stat-card.cyan{
      background: linear-gradient(135deg, rgba(30, 127, 208, 0.15) 0%, rgba(30, 127, 208, 0.05) 100%);
      border-color: rgba(30, 127, 208, 0.3);
    }
.calc-app .stat-card.green{
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
      border-color: rgba(16, 185, 129, 0.3);
    }
.calc-app .stat-card.purple{
      background: linear-gradient(135deg, rgba(143, 197, 238, 0.15) 0%, rgba(143, 197, 238, 0.05) 100%);
      border-color: rgba(143, 197, 238, 0.3);
    }
.calc-app .stat-card.amber{
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.05) 100%);
      border-color: rgba(245, 158, 11, 0.3);
    }
.calc-app .stat-label{
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      opacity: 0.8;
      margin-bottom: 4px;
    }
.calc-app .stat-label svg{ width: 12px; height: 12px; }
.calc-app .stat-card.cyan .stat-label{ color: var(--primary-light); }
.calc-app .stat-card.green .stat-label{ color: #34d399; }
.calc-app .stat-card.purple .stat-label{ color: #a78bfa; }
.calc-app .stat-card.amber .stat-label{ color: #fbbf24; }
.calc-app .stat-value{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 1.3rem;
      font-weight: 600;
    }
.calc-app .stat-card.cyan .stat-value{ color: var(--primary-light); }
.calc-app .stat-card.green .stat-value{ color: #34d399; }
.calc-app .stat-card.purple .stat-value{ color: #a78bfa; }
.calc-app .stat-card.amber .stat-value{ color: #fbbf24; }
.calc-app .stat-unit{
      font-size: 0.6rem;
      opacity: 0.6;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
    }
.calc-app .retention-card{
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px 16px;
      margin-bottom: 16px;
    }
.calc-app .retention-label{
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 10px;
    }
.calc-app .retention-label span{
      color: var(--primary-light);
      font-weight: 600;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
    }
.calc-app .retention-slider{
      width: 100%;
      height: 5px;
      background: var(--bg-dark);
      border-radius: 3px;
      -webkit-appearance: none;
      cursor: pointer;
    }
.calc-app .retention-slider::-webkit-slider-thumb{
      -webkit-appearance: none;
      width: 16px;
      height: 16px;
      background: var(--primary);
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(30, 127, 208, 0.4);
    }
.calc-app .retention-marks{
      display: flex;
      justify-content: space-between;
      font-size: 0.6rem;
      color: var(--text-dim);
      margin-top: 6px;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
    }
.calc-app .cta-card{
      background: linear-gradient(135deg, var(--bg-card) 0%, rgba(30, 127, 208, 0.1) 100%);
      border: 1px solid rgba(30, 127, 208, 0.3);
      border-radius: 10px;
      padding: 20px;
    }
.calc-app .cta-card h3{
      font-size: 1rem;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
.calc-app .cta-card h3 svg{ width: 18px; height: 18px; color: var(--primary-light); }
.calc-app .cta-card p{
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 16px;
    }
.calc-app .cta-btn{
      width: 100%;
      padding: 12px 20px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      border: none;
      border-radius: 8px;
      color: white;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 12px rgba(30, 127, 208, 0.3);
    }
.calc-app .cta-btn:hover{
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(30, 127, 208, 0.4);
    }
.calc-app .cta-btn:disabled{
      background: var(--bg-card-hover);
      cursor: not-allowed;
      box-shadow: none;
      transform: none;
    }
.calc-app .cta-btn svg{ width: 16px; height: 16px; }
.calc-app .breakdown{
      margin-top: 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px;
    }
.calc-app .breakdown h4{
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-dim);
      margin-bottom: 10px;
    }
.calc-app .breakdown-list{
      max-height: 140px;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
.calc-app .breakdown-item{
      display: flex;
      justify-content: space-between;
      font-size: 0.7rem;
    }
.calc-app .breakdown-item span:first-child{
      color: var(--text-muted);
      flex: 1;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      padding-right: 6px;
    }
.calc-app .breakdown-item span:nth-child(2){
      color: var(--text-dim);
      margin: 0 6px;
    }
.calc-app .breakdown-item span:last-child{
      color: var(--primary-light);
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
    }
.calc-app .gaps{
      margin-top: 16px;
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 10px;
      padding: 14px;
    }
.calc-app .gaps__header{
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 12px;
    }
.calc-app .gaps__header svg{
      width: 14px;
      height: 14px;
      color: var(--warning);
      flex-shrink: 0;
    }
.calc-app .gaps__title{
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-dim);
    }
.calc-app .gaps__count{
      margin-left: auto;
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 0.65rem;
      color: var(--warning);
      background: rgba(245, 158, 11, 0.1);
      padding: 2px 6px;
      border-radius: 8px;
    }
.calc-app .gaps__list{
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: 280px;
      overflow-y: auto;
    }
.calc-app .gap-item{
      padding: 8px 10px;
      background: var(--bg-dark);
      border-radius: 6px;
      border-left: 3px solid var(--text-dim);
    }
.calc-app .gap-item--high{ border-left-color: var(--pink); }
.calc-app .gap-item--medium{ border-left-color: var(--warning); }
.calc-app .gap-item--low{ border-left-color: var(--primary-light); }
.calc-app .gap-item__title{
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 3px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
.calc-app .gap-item__severity{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 0.55rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      padding: 1px 5px;
      border-radius: 3px;
    }
.calc-app .gap-item--high .gap-item__severity{
      background: rgba(224, 87, 58, 0.15);
      color: var(--pink);
    }
.calc-app .gap-item--medium .gap-item__severity{
      background: rgba(245, 158, 11, 0.15);
      color: var(--warning);
    }
.calc-app .gap-item--low .gap-item__severity{
      background: rgba(91, 168, 224, 0.15);
      color: var(--primary-light);
    }
.calc-app .gap-item__desc{
      font-size: 0.7rem;
      color: var(--text-muted);
      line-height: 1.5;
    }
.calc-app .modal-overlay{
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(4px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 1000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
      padding: 20px;
    }
.calc-app .modal-overlay.active{
      opacity: 1;
      visibility: visible;
    }
.calc-app .modal{
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: 16px;
      width: 100%;
      max-width: 520px;
      max-height: 90vh;
      overflow-y: auto;
      transform: scale(0.95) translateY(20px);
      transition: transform 0.3s;
      position: relative;
    }
.calc-app .modal-overlay.active .modal{
      transform: scale(1) translateY(0);
    }
.calc-app .modal-header{
      padding: 24px 24px 16px;
      text-align: center;
    }
.calc-app .modal-icon{
      width: 56px;
      height: 56px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 14px;
      box-shadow: 0 8px 24px rgba(30, 127, 208, 0.3);
    }
.calc-app .modal-icon svg{ width: 28px; height: 28px; color: white; }
.calc-app .modal-header h3{
      font-size: 1.3rem;
      margin-bottom: 6px;
    }
.calc-app .modal-header p{
      color: var(--text-muted);
      font-size: 0.85rem;
    }
.calc-app .modal-preview{
      margin: 16px 24px;
      padding: 14px;
      background: var(--bg-dark);
      border-radius: 10px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
.calc-app .preview-stat{
      text-align: center;
    }
.calc-app .preview-stat .value{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--primary-light);
    }
.calc-app .preview-stat .label{
      font-size: 0.6rem;
      color: var(--text-dim);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
.calc-app .modal-close{
      position: absolute;
      top: 14px;
      right: 14px;
      width: 28px;
      height: 28px;
      background: var(--bg-dark);
      border: 1px solid var(--border);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      color: var(--text-dim);
      transition: all 0.2s;
      z-index: 10;
    }
.calc-app .modal-close:hover{
      background: var(--bg-card-hover);
      color: var(--text);
    }
.calc-app .modal-close svg{ width: 14px; height: 14px; }
.calc-app .success-content{
      padding: 28px 24px;
      text-align: center;
    }
.calc-app .success-icon{
      width: 72px;
      height: 72px;
      background: linear-gradient(135deg, var(--success) 0%, #2f9e70 100%);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 18px;
      box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
    }
.calc-app .success-icon svg{ width: 36px; height: 36px; color: white; }
.calc-app .success-content h3{
      font-size: 1.4rem;
      margin-bottom: 10px;
      color: var(--success);
    }
.calc-app .success-content p{
      color: var(--text-muted);
      margin-bottom: 20px;
      font-size: 0.9rem;
    }
.calc-app .success-stats{
      background: var(--bg-dark);
      border-radius: 10px;
      padding: 18px;
      margin-bottom: 20px;
    }
.calc-app .success-stats h4{
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--text-dim);
      margin-bottom: 14px;
    }
.calc-app .success-grid{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }
.calc-app .success-stat .value{
      font-family: 'IBM Plex Mono', ui-monospace, monospace;
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--primary-light);
    }
.calc-app .success-stat .label{
      font-size: 0.7rem;
      color: var(--text-dim);
    }
.calc-app .success-actions{
      display: flex;
      gap: 10px;
    }
.calc-app .success-actions button{
      flex: 1;
      padding: 10px 18px;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.85rem;
      cursor: pointer;
      transition: all 0.2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
.calc-app .success-actions .primary{
      background: var(--primary);
      border: none;
      color: white;
    }
.calc-app .success-actions .secondary{
      background: transparent;
      border: 1px solid var(--border);
      color: var(--text);
    }
.calc-app .success-actions button:hover{
      transform: translateY(-1px);
    }
.calc-app .success-actions button svg{ width: 14px; height: 14px; }
.calc-app footer{
      border-top: 1px solid var(--border);
      padding: 20px 0;
      margin-top: 24px;
    }
.calc-app .footer-content{
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      font-size: 0.75rem;
      color: var(--text-dim);
    }
.calc-app .footer-links{
      display: flex;
      gap: 20px;
    }
.calc-app .footer-links a{
      color: var(--text-dim);
      text-decoration: none;
      transition: color 0.2s;
    }
.calc-app .footer-links a:hover{ color: var(--primary-light); }
@media (max-width: 640px){.calc-app .stats-grid{ grid-template-columns: 1fr; }
.calc-app .modal-preview{ grid-template-columns: repeat(2, 1fr); }
.calc-app .success-grid{ grid-template-columns: 1fr; }
.calc-app .success-actions{ flex-direction: column; }
.calc-app .header-phone{ display: none; }

    }
.calc-app .mdr-tier.msoc-tier{
      background: linear-gradient(145deg, #0a111f 0%, #0d1829 100%);
      border: 2px solid rgba(30,127,208,0.5);
      position: relative;
      overflow: hidden;
    }
.calc-app .mdr-tier.msoc-tier::after{
      content: "";
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(30,127,208,0.06) 0%, transparent 60%);
      pointer-events: none;
    }
.calc-app .mdr-tier.msoc-tier.selected{
      border-color: var(--primary);
      background: linear-gradient(145deg, rgba(30,127,208,0.12) 0%, rgba(30,127,208,0.04) 100%);
    }
.calc-app .mdr-tier.msoc-tier::before{
      content: 'AI-POWERED';
      position: absolute; top: -10px; left: 50%;
      transform: translateX(-50%);
      background: linear-gradient(135deg, var(--primary) 0%, #003F7F 100%);
      color: white; font-size: 0.58rem; font-weight: 700;
      padding: 2px 10px; border-radius: 4px; letter-spacing: 0.08em;
    }
.calc-app .mdr-tier.msoc-tier .mdr-tier-name{ color: var(--primary-light); }
.calc-app .msoc-tier-badge{
      font-size: 0.58rem; font-weight: 600; padding: 1px 6px; border-radius: 3px;
      background: rgba(30,127,208,0.15); color: var(--primary-light);
      letter-spacing: 0.06em; text-transform: uppercase; margin-left: 6px;
    }
.calc-app .msoc-rec{
      margin-top: 16px;
      background: linear-gradient(145deg, rgba(30,127,208,0.10) 0%, rgba(30,127,208,0.04) 100%);
      border: 1px solid rgba(30,127,208,0.35);
      border-radius: 10px;
      padding: 16px;
      position: relative;
      overflow: hidden;
    }
.calc-app .msoc-rec::before{
      content: "";
      position: absolute; top: 0; right: 0;
      width: 120px; height: 120px;
      background: radial-gradient(circle, rgba(30,127,208,0.12) 0%, transparent 70%);
      pointer-events: none;
    }
.calc-app .msoc-rec-label{
      font-size: 0.6rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
      color: var(--primary-light); margin-bottom: 8px; display: flex; align-items: center; gap: 6px;
    }
.calc-app .msoc-rec-dot{
      width: 7px; height: 7px; border-radius: 50%;
      background: var(--primary-light); box-shadow: 0 0 8px var(--primary);
      animation: pulse-dot 1.6s ease-in-out infinite;
    }
@keyframes pulse-dot{ 0%,100%{opacity:1} 50%{opacity:0.35} }
.calc-app .msoc-rec-title{ font-size: 0.9rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.calc-app .msoc-rec-body{ font-size: 0.75rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.calc-app .msoc-rec-stats{
      display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px;
    }
.calc-app .msoc-rec-stat{ text-align: center; padding: 6px 4px; background: rgba(30,127,208,0.06); border-radius: 6px; }
.calc-app .msoc-rec-stat-v{ font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 0.9rem; font-weight: 600; color: var(--primary-light); }
.calc-app .msoc-rec-stat-l{ font-size: 0.55rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-app .msoc-rec-btn{
      display: block; width: 100%; text-align: center;
      padding: 9px 16px; border-radius: 7px;
      background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
      color: white; font-size: 0.8rem; font-weight: 600;
      text-decoration: none; transition: all 0.2s;
      box-shadow: 0 4px 12px rgba(30,127,208,0.25);
    }
.calc-app .msoc-rec-btn:hover{ filter: brightness(1.1); transform: translateY(-1px); }
.calc-app .hidden{ display: none !important; }
.calc-app .spinner{
      width: 16px;
      height: 16px;
      border: 2px solid transparent;
      border-top-color: currentColor;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }
@keyframes spin{
      to { transform: rotate(360deg); }
    }
.calc-app button{
      -webkit-appearance: none !important;
      -moz-appearance: none !important;
      appearance: none !important;
    }
.calc-app button:hover{
      opacity: 1 !important;
    }
.calc-app .cta-btn:hover:not(:disabled){
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%) !important;
      color: white !important;
      opacity: 1 !important;
      transform: translateY(-1px) !important;
      box-shadow: 0 6px 20px rgba(30, 127, 208, 0.4) !important;
    }
.calc-app .cta-btn:disabled:hover{
      background: var(--bg-card-hover) !important;
      opacity: 0.6 !important;
    }
.calc-app .tab:hover{
      opacity: 1 !important;
      color: var(--text) !important;
    }
.calc-app .tab.active:hover{
      background: var(--primary) !important;
      color: white !important;
    }
.calc-app .category-header:hover{
      opacity: 1 !important;
      background: var(--bg-card-hover) !important;
    }
.calc-app .modal-close:hover{
      opacity: 1 !important;
      background: var(--bg-card-hover) !important;
      color: var(--text) !important;
    }
.calc-app .success-actions button:hover{
      opacity: 1 !important;
    }
.calc-app .success-actions .primary:hover{
      background: var(--primary-light) !important;
      color: white !important;
    }
.calc-app .success-actions .secondary:hover{
      background: var(--bg-card-hover) !important;
    }
