.fne-v15-wrap{max-width:1220px;margin:0 auto;font-family:Inter,Arial,sans-serif;color:#1f2937}
.fne-v15-card{background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);border:1px solid #e5edf5;border-radius:20px;padding:28px;margin-bottom:20px;box-shadow:0 10px 28px rgba(15,23,42,.06)}
.fne-v15-card h2{font-size:32px;line-height:1.1;margin:0 0 22px 0;color:#0f172a}
.fne-v15-card h3{margin-top:24px;margin-bottom:14px;font-size:20px;color:#111827}
.fne-v15-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:18px}
.fne-v15-wrap label{display:flex;flex-direction:column;gap:8px;font-weight:700;font-size:14px;color:#334155}
.fne-v15-wrap input{padding:10px 12px;border:1px solid #d9e4ef;border-radius:14px;min-height:48px;font-size:16px;width:100%;box-sizing:border-box;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)}
.fne-v15-wrap input:focus{outline:none;border-color:#7c9cff;box-shadow:0 0 0 4px rgba(59,130,246,.12)}
.fne-v15-table-wrap{overflow:visible}
.fne-v15-input-table,.fne-v15-result-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid #e8eef5;border-radius:18px;overflow:hidden}
.fne-v15-input-table th,.fne-v15-result-table th{background:#f8fafc;color:#475569;font-size:13px;text-transform:uppercase;letter-spacing:.05em}
.fne-v15-input-table th,.fne-v15-input-table td,.fne-v15-result-table th,.fne-v15-result-table td{padding:14px 12px;border-bottom:1px solid #e4ebf2;text-align:left;white-space:normal;word-break:break-word}
.fne-v15-result-table tr:hover td{background:#fbfdff}
.fne-calc-btn,.fne-toggle-btn{background:linear-gradient(135deg,#1d4ed8 0%,#2563eb 100%);color:#fff;border:none;border-radius:14px;padding:14px 22px;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 10px 20px rgba(37,99,235,.18)}
.fne-toggle-wrap{margin-top:14px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.fne-toggle-note{margin:0;color:#64748b;font-size:13px}
.fne-summary-cards{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr 1fr;gap:16px;margin:0 0 18px}
.fne-summary-card{background:#ffffff;border:1px solid #e7eef6;border-radius:18px;padding:18px 20px;box-shadow:0 6px 18px rgba(15,23,42,.05)}
.fne-summary-card.hero-card{background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);border-color:#cfe0ff}
.fne-summary-card span{display:block;color:#64748b;font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.fne-summary-card strong{display:block;font-size:30px;line-height:1.05;color:#0f172a}
.fne-summary-card small{display:block;margin-top:6px;color:#64748b;font-size:13px}
.fne-table{width:100%;table-layout:fixed}
.fne-basic{display:table-cell}
.fne-advanced{display:none}
.show-advanced .fne-advanced{display:table-cell !important}
@media (max-width:1200px){
  .fne-v15-grid,.fne-summary-cards{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .fne-v15-grid,.fne-summary-cards{grid-template-columns:1fr}
  .fne-v15-card{padding:18px;border-radius:16px}
  .fne-v15-card h2{font-size:26px}
  .fne-v15-result-table th,.fne-v15-result-table td{font-size:12px;padding:10px 8px}
}

.fne-v17-gate{max-width:860px;margin:24px auto;padding:24px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;font-family:Arial,sans-serif}
.fne-v17-msg{padding:10px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e5e7eb;margin-bottom:12px}
.fne-v17-consent{display:flex;gap:8px;align-items:flex-start}.fne-v17-consent input{width:auto;margin-top:3px}
.fne-v17-top{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}.fne-v17-card{padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#f8fafc}.fne-v17-card span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;margin-bottom:6px}.fne-v17-card strong{font-size:24px;color:#111827}
@media (max-width:700px){.fne-v17-top{grid-template-columns:1fr}}


.fne-subscription-note{
  padding:10px 14px;
  border:1px solid #dbeafe;
  background:#eff6ff;
  color:#1e3a8a;
  border-radius:10px;
  display:inline-block;
  margin-right:12px;
}
.fne-excel-btn{
  background:#0f766e;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  cursor:pointer;
  font-weight:600;
  margin-left:10px;
}
.fne-excel-btn:hover{ opacity:0.92; }

.fne-th-tip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:help;
  position:relative;
}
.fne-tip-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
  border-radius:50%;
  font-size:11px;
  line-height:1;
  background:#eff6ff;
  color:#1d4ed8;
  border:1px solid #bfdbfe;
  font-weight:700;
}
.fne-table th .fne-th-tip:hover{
  color:#1d4ed8;
}

.fne-profi-switch-wrap{
  grid-column: 1 / -1;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  background:#f8fbff;
  border-radius: 12px;
}
.fne-profi-switch-label{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  color:#1e3a8a;
}
.fne-profi-note{
  margin-top:8px;
  font-size:13px;
  color:#475569;
}
.fne-profi-grid{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap:14px;
}
@media (max-width: 900px){
  .fne-profi-grid{
    grid-template-columns: 1fr 1fr;
  }
}

.fne-profi-monthly-production{
  grid-column: 1 / -1;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  border-radius: 12px;
}

.fne-profi-grid.is-visible,
.fne-profi-monthly-production.is-visible{
  animation: fneProfiFade .22s ease-out;
}
.fne-profi-switch-wrap.is-active{
  border-color:#93c5fd;
  box-shadow:0 0 0 3px rgba(59,130,246,.08);
}
.fne-profi-monthly-production{
  scroll-margin-top: 100px;
}
@keyframes fneProfiFade{
  from{opacity:0; transform:translateY(-4px);}
  to{opacity:1; transform:translateY(0);}
}


/* ===== UI Upgrade overrides ===== */
.fne-v15-wrap,.fne-v17-wrap{color:#0f172a}
.fne-v15-card{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);border:1px solid #dbe4ee;box-shadow:0 12px 30px rgba(15,23,42,.07)}
.fne-v15-card h2{font-weight:800;letter-spacing:-.02em}
.fne-v15-wrap label{color:#0f172a;font-size:15px}
.fne-v15-wrap input,
.fne-v17-wrap input[type="number"],
.fne-v17-wrap input[type="text"],
.fne-v17-wrap input[type="email"],
.fne-v17-wrap select{
  background:#ffffff !important;
  color:#0f172a !important;
  border:1px solid #cbd5e1 !important;
  border-radius:14px !important;
  min-height:48px;
  font-size:16px !important;
  font-weight:600 !important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.03);
}
.fne-v15-wrap input::placeholder,
.fne-v17-wrap input::placeholder{color:#94a3b8 !important;opacity:1}
.fne-v15-wrap input:focus,
.fne-v17-wrap input[type="number"]:focus,
.fne-v17-wrap input[type="text"]:focus,
.fne-v17-wrap input[type="email"]:focus,
.fne-v17-wrap select:focus{
  outline:none !important;
  border-color:#22c55e !important;
  box-shadow:0 0 0 4px rgba(34,197,94,.12) !important;
}
.fne-v17-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;
  border:1px solid #dbe4ee !important;
  border-radius:18px !important;
  box-shadow:0 8px 24px rgba(15,23,42,.06);
  padding:18px 18px !important;
}
.fne-v17-card span{color:#64748b !important;font-size:12px !important;font-weight:700 !important;letter-spacing:.04em;text-transform:uppercase}
.fne-v17-card strong{color:#0f172a !important;font-weight:800 !important;line-height:1.2}
.fne-subscription-status.status-active,
.fne-subscription-end.has-date,
.fne-remaining-count.is-unlimited{color:#16a34a !important}
.fne-profi-switch-wrap{
  padding:16px 18px !important;
  border:1px solid rgba(34,197,94,.18) !important;
  background:linear-gradient(180deg,rgba(34,197,94,.08) 0%,rgba(34,197,94,.03) 100%) !important;
  border-radius:18px !important;
}
.fne-profi-switch-label{color:#0f172a !important;font-weight:700 !important}
.fne-profi-note{color:#475569 !important;line-height:1.55}
.fne-profi-grid{
  gap:16px !important;
}
.fne-profi-monthly-production{
  border:1px solid rgba(34,197,94,.18) !important;
  background:#ffffff !important;
  border-radius:18px !important;
}
.fne-v15-input-table,.fne-v15-result-table{
  border:1px solid #dbe4ee !important;
  border-radius:18px !important;
  overflow:hidden;
}
.fne-v15-input-table th,.fne-v15-result-table th{background:#f8fafc !important;color:#64748b !important;font-size:12px !important}
.fne-v15-input-table td,.fne-v15-result-table td{color:#0f172a !important}
.fne-calc-btn,.fne-toggle-btn,.fne-excel-btn{
  border-radius:14px !important;
  min-height:50px;
  font-size:16px !important;
  font-weight:800 !important;
  transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.fne-calc-btn{
  background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%) !important;
  box-shadow:0 12px 28px rgba(34,197,94,.24) !important;
}
.fne-calc-btn:hover,.fne-toggle-btn:hover,.fne-excel-btn:hover{transform:translateY(-1px)}
.fne-toggle-btn{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%) !important;box-shadow:0 10px 24px rgba(15,23,42,.18) !important}
.fne-excel-btn{background:linear-gradient(135deg,#0f766e 0%,#0d9488 100%) !important;box-shadow:0 10px 24px rgba(13,148,136,.18) !important}
.fne-v17-gate{
  border:1px solid #dbe4ee !important;
  border-radius:20px !important;
  box-shadow:0 12px 30px rgba(15,23,42,.07);
}
.fne-v17-msg{background:#f8fafc !important;border:1px solid #e2e8f0 !important;color:#334155 !important}
.fne-v17-consent{color:#475569}
.fne-v17-consent input{accent-color:#22c55e}
.fne-v17-plan-email-input{background:#fff !important;color:#0f172a !important;border:1px solid #cbd5e1 !important;border-radius:14px !important;min-height:48px;padding:10px 14px !important}
.fne-v17-plan-submit{
  background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:14px !important;
  min-height:48px;
  padding:12px 22px !important;
  font-weight:800 !important;
  box-shadow:0 12px 28px rgba(34,197,94,.24) !important;
}
@media (max-width:700px){
  .fne-v17-card strong{font-size:20px !important}
  .fne-v15-wrap input,.fne-v17-wrap input[type="number"],.fne-v17-wrap input[type="text"],.fne-v17-wrap input[type="email"],.fne-v17-wrap select{min-height:44px;font-size:15px !important}
}


.fne-v17-renew-wrap{margin:18px 0 24px;}
.fne-v17-renew-box{background:linear-gradient(180deg,rgba(245,158,11,.10) 0%, rgba(245,158,11,.04) 100%);border:1px solid rgba(245,158,11,.25);border-radius:18px;padding:18px 18px 16px;}
.fne-v17-renew-box h3{margin:0 0 8px;color:#92400e;font-size:20px;font-weight:800;}
.fne-v17-renew-box p{margin:0 0 14px;color:#7c2d12;}
.fne-v17-renew-form .fne-v17-plan-submit{background:linear-gradient(135deg,#f59e0b 0%, #d97706 100%) !important;box-shadow:0 12px 28px rgba(245,158,11,.22);}
.fne-v17-renew-form .fne-v17-plan-submit:hover{box-shadow:0 16px 34px rgba(245,158,11,.28);}


.fne-subscription-note{display:block !important;padding:14px 16px !important;}
.fne-subscription-note-text{margin-bottom:12px;font-weight:600;color:#1e3a8a;}
.fne-subscription-note-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:flex-start;}
.fne-v17-inline-plan{display:inline-block;}
.fne-v17-inline-plan .fne-v17-plan-form{display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.fne-v17-inline-plan .fne-v17-plan-submit{min-height:44px !important;padding:10px 18px !important;border-radius:12px !important;}
.fne-v17-inline-plan .fne-v17-plan-note{display:none !important;}
.fne-v17-inline-plan-business .fne-v17-plan-submit{background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%) !important;box-shadow:0 10px 24px rgba(15,23,42,.18) !important;}
.fne-v17-inline-plan-business .fne-v17-plan-submit:hover{box-shadow:0 16px 34px rgba(15,23,42,.24) !important;}
@media (max-width:700px){.fne-subscription-note-actions{flex-direction:column;}.fne-v17-inline-plan .fne-v17-plan-form{width:100%;}.fne-v17-inline-plan .fne-v17-plan-submit{width:100%;}}


/* ===== Access gate premium readable ===== */
.fne-v17-gate-premium{max-width:860px;margin:24px auto;padding:34px 32px 28px !important;border:1px solid rgba(34,197,94,.18) !important;border-radius:26px !important;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%) !important;box-shadow:0 22px 56px rgba(15,23,42,.14) !important;color:#0f172a !important;}
.fne-v17-gate-badge{display:inline-flex;align-items:center;gap:8px;background:#ecfdf5;color:#166534;border:1px solid rgba(34,197,94,.22);padding:8px 12px;border-radius:999px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;margin-bottom:16px;}
.fne-v17-gate-premium h3{margin:0 0 10px;color:#0f172a !important;font-size:30px;line-height:1.15;font-weight:800;letter-spacing:-.02em;}
.fne-v17-gate-lead{margin:0 0 22px !important;color:#475569 !important;font-size:17px !important;line-height:1.7 !important;font-weight:500 !important;}
.fne-v17-gate-form{display:block;}
.fne-v17-gate-label{display:block;color:#334155 !important;font-size:14px;font-weight:800 !important;margin-bottom:10px;}
.fne-v17-gate-premium input[type="email"]{width:100%;background:#ffffff !important;color:#0f172a !important;border:2px solid #cbd5e1 !important;border-radius:14px !important;min-height:56px;padding:0 16px !important;font-size:17px !important;font-weight:600 !important;box-shadow:none !important;}
.fne-v17-gate-premium input[type="email"]::placeholder{color:#94a3b8 !important;opacity:1;}
.fne-v17-gate-premium input[type="email"]:focus{outline:none !important;border-color:#22c55e !important;box-shadow:0 0 0 4px rgba(34,197,94,.14) !important;}
.fne-v17-gate-premium .fne-v17-consent{display:flex;align-items:flex-start;gap:10px;margin:14px 0 16px;color:#334155 !important;font-size:14px !important;line-height:1.5;}
.fne-v17-gate-premium .fne-v17-consent span{color:#334155 !important;font-weight:500;}
.fne-v17-gate-premium .fne-v17-consent input{margin-top:3px;accent-color:#22c55e;width:16px;height:16px;flex:0 0 16px;}
.fne-v17-gate-premium button{display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#22c55e 0%,#16a34a 100%) !important;border:0 !important;border-radius:14px !important;min-height:52px;padding:14px 24px !important;color:#ffffff !important;font-size:16px !important;font-weight:800 !important;box-shadow:0 14px 32px rgba(34,197,94,.22) !important;cursor:pointer;}
.fne-v17-gate-premium button:hover{transform:translateY(-1px);box-shadow:0 18px 40px rgba(34,197,94,.28) !important;}
.fne-v17-gate-footnote{margin-top:14px;color:#64748b !important;font-size:13px !important;line-height:1.55;}
.fne-v17-gate-premium .fne-v17-msg{background:#fff7ed !important;border:1px solid #fdba74 !important;color:#9a3412 !important;border-radius:14px;padding:12px 14px;margin:0 0 18px;font-weight:700;}
@media (max-width:700px){.fne-v17-gate-premium{padding:24px 18px 20px !important;border-radius:20px !important;}.fne-v17-gate-premium h3{font-size:24px !important;}.fne-v17-gate-lead{font-size:15px !important;}.fne-v17-gate-premium input[type="email"]{min-height:50px;font-size:16px !important;}.fne-v17-gate-premium button{width:100%;}}


.fne-battery-profi-row{
  grid-column: 1 / -1;
  display:grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap:14px;
}
@media (max-width: 900px){
  .fne-battery-profi-row{
    grid-template-columns: 1fr;
  }
}
.fne-battery-profi-row.is-visible{
  animation: fneProfiFade .22s ease-out;
}
.fne-profi-hideable{
  transition: opacity .15s ease;
}

.fne-opt-wrap{margin:18px 0 8px}
.fne-opt-check{display:flex !important;align-items:center;gap:10px;font-weight:800;color:#0f172a}
.fne-opt-check input{width:18px;height:18px;min-height:auto}
.fne-opt-panel{margin-top:14px;padding:18px;border:1px solid #1d4ed8;border-radius:18px;background:#0f172a;color:#e5e7eb;box-shadow:0 12px 28px rgba(15,23,42,.24)}
.fne-opt-panel h3{margin:0 0 10px;color:#f8fafc !important}
.fne-opt-sub{margin:0 0 14px;color:#cbd5e1;line-height:1.6}
.fne-opt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:14px}
.fne-opt-grid label{color:#e2e8f0 !important}
.fne-opt-grid input{background:#fff !important;color:#0f172a !important}
.fne-opt-btn{background:linear-gradient(135deg,#2563eb 0%,#1d4ed8 100%);color:#fff;border:none;border-radius:14px;padding:13px 18px;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px rgba(37,99,235,.24)}
.fne-opt-results{margin-top:16px}
.fne-opt-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.fne-opt-card{background:#ffffff;border:1px solid #dbe4ee;border-radius:16px;padding:16px 18px;color:#0f172a}
.fne-opt-card span{display:block;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
.fne-opt-card strong{display:block;font-size:26px;line-height:1.1;color:#0f172a}
.fne-opt-card-primary{background:#ecfdf5;border-color:#86efac}
.fne-opt-card-primary strong{color:#166534}
.fne-opt-recommend{margin-top:14px;padding:14px 16px;border-radius:14px;background:#eff6ff;border:1px solid #93c5fd;color:#0f172a;font-weight:700;line-height:1.6}
.fne-opt-empty{padding:14px 16px;border-radius:14px;background:#fff;border:1px dashed #93c5fd;color:#0f172a}
@media (max-width:900px){.fne-opt-grid,.fne-opt-cards{grid-template-columns:1fr}}


.fne-opt-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:12px;
  background:#e0f2fe;
  color:#0c4a6e;
  border:1px solid #bae6fd;
  font-size:14px;
  font-weight:600;
}

.fne-ai-wrap{margin:18px 0 10px;padding:18px;border:1px solid #cbd5e1;border-radius:18px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 10px 24px rgba(15,23,42,.06)}
.fne-ai-btn{background:linear-gradient(135deg,#7c3aed 0%,#4f46e5 100%);color:#fff;border:none;border-radius:14px;padding:13px 18px;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px rgba(79,70,229,.24)}
.fne-ai-btn:hover{transform:translateY(-1px)}
.fne-ai-note{margin-top:10px;color:#475569;line-height:1.6;font-size:14px}
.fne-ai-result{margin-top:14px;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid #dbe4ee;color:#0f172a}
.fne-ai-result.is-loading{border-style:dashed}
.fne-ai-loading{font-weight:700;color:#4338ca}
.fne-ai-result-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #e2e8f0}
.fne-ai-result-head strong{font-size:18px;color:#0f172a}
.fne-ai-result-head span{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.04em}
.fne-ai-result-body p{margin:0 0 12px;line-height:1.7}
.fne-ai-result-body p:last-child{margin-bottom:0}
.fne-ai-error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:12px;padding:12px 14px;font-weight:700}
@media (max-width:700px){.fne-ai-result-head{flex-direction:column;align-items:flex-start}.fne-ai-btn{width:100%}}

.fne-opt-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;align-items:center}.fne-opt-ai-btn{background:linear-gradient(135deg,#6f42c1,#5b3df5);color:#fff;border:none;border-radius:14px;padding:12px 18px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px rgba(91,61,245,.18)}.fne-opt-ai-btn:hover{filter:brightness(1.05)}.fne-opt-ai-result{margin-top:16px;padding:16px;border:1px solid #d8dff0;border-radius:18px;background:#fff}.fne-opt-ai-result.is-loading{opacity:.95}


.fne-step2-wrap{margin-top:18px;padding:18px;border:1px solid #d9e4f2;border-radius:18px;background:#f8fbff}
.fne-step2-head h3{margin:0 0 8px}
.fne-step2-note{margin:0 0 14px;color:#4d5f78}
.fne-step2-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.fne-step2-actions{margin-top:14px}
.fne-heating-ai-btn{background:#0b8f7a;color:#fff;border:none;border-radius:12px;padding:14px 20px;font-weight:700;cursor:pointer}
.fne-heating-local-result,.fne-heating-ai-result{margin-top:14px;border:1px solid #d9e4f2;border-radius:14px;background:#fff;padding:14px}
.fne-heating-result-head{font-size:20px;margin-bottom:8px;color:#153b6a}
.fne-heating-result-note{color:#5f6f86;font-size:14px}


/* UI upgrade + contrast fix for AI reports */
.fne-ai-result,
.fne-opt-ai-result,
.fne-heating-ai-result{
  color:#0f172a !important;
  background:#ffffff !important;
  border:1px solid #dbe4ee;
  box-shadow:0 12px 30px rgba(15,23,42,.08);
}
.fne-opt-ai-result{padding:18px;border-radius:18px}
.fne-opt-ai-result.is-loading,
.fne-heating-ai-result.is-loading,
.fne-ai-result.is-loading{opacity:1}
.fne-ai-result *,
.fne-opt-ai-result *,
.fne-heating-ai-result *{color:inherit}
.fne-ai-result-head,
.fne-opt-ai-result .fne-ai-result-head,
.fne-heating-ai-result .fne-ai-result-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
  padding-bottom:12px;
  border-bottom:1px solid #e2e8f0;
}
.fne-ai-result-head strong{font-size:20px;color:#0f172a}
.fne-ai-result-head span{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.05em}
.fne-ai-result-body,
.fne-opt-ai-result .fne-ai-result-body,
.fne-heating-ai-result .fne-ai-result-body{color:#1e293b;font-size:15px;line-height:1.75}
.fne-ai-result-body p,
.fne-opt-ai-result .fne-ai-result-body p,
.fne-heating-ai-result .fne-ai-result-body p{margin:0 0 12px;color:#1e293b}
.fne-ai-result-body strong,
.fne-opt-ai-result .fne-ai-result-body strong,
.fne-heating-ai-result .fne-ai-result-body strong{color:#0f172a}

.fne-ai-top3-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin:16px 0 18px;
}
.fne-ai-top3-card{
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  border:1px solid #dbe4ee;
  border-radius:18px;
  padding:16px;
  color:#0f172a;
  box-shadow:0 10px 22px rgba(15,23,42,.08);
}
.fne-ai-top3-card.is-featured{
  border-color:#8b5cf6;
  background:linear-gradient(180deg,#faf5ff 0%,#ffffff 100%);
  box-shadow:0 14px 32px rgba(91,61,245,.14);
}
.fne-ai-top3-rank-wrap{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.fne-ai-top3-rank{font-size:18px;font-weight:800;color:#0f172a}
.fne-ai-top3-badge{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:#ede9fe;
  color:#5b21b6 !important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}
.fne-ai-top3-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fne-ai-metric{
  background:#ffffff;
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:12px;
}
.fne-ai-metric span{display:block;font-size:12px;font-weight:700;color:#64748b !important;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.fne-ai-metric strong{display:block;font-size:18px;line-height:1.25;color:#0f172a !important}

.fne-ai-sections{display:grid;gap:12px}
.fne-ai-section{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:14px 16px;
}
.fne-ai-section.is-featured{
  background:linear-gradient(135deg,#eff6ff 0%,#ffffff 100%);
  border-color:#bfdbfe;
}
.fne-ai-section-title{
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#1d4ed8 !important;
  margin-bottom:8px;
}
.fne-ai-section-text{font-size:15px;line-height:1.7;color:#0f172a !important}
.fne-ai-free-text p{margin-top:12px}

@media (max-width:900px){
  .fne-ai-top3-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .fne-ai-top3-metrics{grid-template-columns:1fr}
  .fne-ai-result-head,
  .fne-opt-ai-result .fne-ai-result-head,
  .fne-heating-ai-result .fne-ai-result-head{flex-direction:column;align-items:flex-start}
}

.fne-calc-subtitle{
  margin:10px 0 18px;
  color:#475569 !important;
  font-size:14px;
  line-height:1.45;
  font-weight:500;
}
.fne-ai-wrap-inline{
  margin-top:0 !important;
}
.fne-calc-btn{
  min-width:260px;
  font-size:18px !important;
  letter-spacing:.01em;
}


.fne-opt-grid-compact{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
.fne-opt-base-summary{margin:14px 0 10px;}
.fne-opt-base-card{background:#f8fafc;border:1px solid #dbe7f5;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:4px;color:#0f172a;}
.fne-opt-base-card strong{font-size:14px;color:#1e3a8a;text-transform:uppercase;letter-spacing:.02em;}
.fne-opt-base-card span{font-size:18px;font-weight:700;color:#0f172a;}


.fne-heating-planner-wrap{margin:24px 0;padding:20px;border:1px solid #dbe4f0;border-radius:18px;background:#f8fbff}
.fne-heating-planner-head h3{margin:0 0 6px;color:#0b2a66}
.fne-heating-planner-sub{margin:0 0 16px;color:#41556f;line-height:1.5}
.fne-heating-question-row{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-bottom:16px}
.fne-heating-question-row label{display:flex;align-items:center;gap:8px;font-weight:600}
.fne-heating-question{font-weight:700;color:#0f172a}
.fne-heating-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.fne-heating-grid label{display:flex;flex-direction:column;gap:8px;font-weight:600;color:#0f172a}
.fne-heating-grid small{font-weight:400;color:#52637a}
.fne-heating-helper-box{margin-top:16px;padding:14px 16px;border-radius:14px;background:#eef6ff;color:#16325c;line-height:1.55}
.fne-heating-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.fne-heating-btn,.fne-heating-ai-btn{border:none;border-radius:999px;padding:12px 20px;font-weight:700;cursor:pointer}
.fne-heating-btn{background:#0b5ed7;color:#fff}
.fne-heating-ai-btn{background:#0f766e;color:#fff}
.fne-heating-local-result,.fne-heating-ai-result{margin-top:18px;background:#fff;border:1px solid #dbe4f0;border-radius:16px;padding:18px}
.fne-heating-result-head{margin-bottom:10px;color:#0b2a66}
.fne-heating-result-body p{margin:0 0 8px;color:#10233f;line-height:1.55}
.fne-heating-result-note{color:#4b5f79}
