/* TitikGrowth — Bagikan, Simpan & Riwayat v2 */
.tg-share-save{margin-top:18px;border:1px solid #e7e9ee;border-radius:16px;padding:16px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.035)}
.tg-share-save-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tg-share-save-head h3{margin:0;font-size:16px;line-height:1.25;color:#111827}
.tg-share-save-head button{border:1px solid #ffd6b8;background:#fff7f1;color:#c65d0f;font-weight:800;font-size:12px;cursor:pointer;padding:8px 12px;border-radius:10px;box-shadow:0 2px 6px rgba(15,23,42,.035)}
.tg-share-option{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b;margin:0 0 12px;cursor:pointer;user-select:none}
.tg-share-option input{width:15px;height:15px;accent-color:#f47b20}
.tg-share-actions{display:flex;flex-wrap:wrap;gap:8px}
.tg-share-btn{border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#111827;padding:9px 13px;font-size:12px;font-weight:800;cursor:pointer;transition:.16s ease;box-shadow:0 2px 5px rgba(15,23,42,.035)}
.tg-share-btn:hover{transform:translateY(-1px);border-color:#cbd5e1}
.tg-share-btn.primary{background:linear-gradient(135deg,#f47b20,#ff5f45);border-color:transparent;color:#fff}
.tg-share-btn.whatsapp{background:#16c96c;border-color:#16c96c;color:#fff}
.tg-share-helper{margin:10px 0 0;font-size:10.5px;line-height:1.55;color:#64748b}.tg-share-status{min-height:18px;margin-top:10px;font-size:11px;color:#64748b}
.tg-share-status.ok{color:#15803d}.tg-share-status.warn{color:#b45309}.tg-share-status.err{color:#b91c1c}
.tg-history-note{margin:0 0 10px;font-size:10.5px;line-height:1.55;color:#64748b}
.tg-history-toolbar{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 10px}
.tg-history-toolbar button{border:1px solid #e3e7ee;border-radius:9px;background:#fff;color:#1f2937;padding:7px 10px;font-size:10.5px;font-weight:800;cursor:pointer}
.tg-history-toolbar button.primary{background:#fff3e9;border-color:#ffc9a4;color:#c65d0f}
.tg-history-toolbar button.danger{color:#b91c1c}
.tg-history-toolbar button:disabled{opacity:.45;cursor:not-allowed}
.tg-history-scroll,.tg-compare-scroll{overflow:auto;border:1px solid #edf0f4;border-radius:12px;background:#fff}
.tg-history-table,.tg-compare-table{width:100%;border-collapse:collapse;min-width:720px;font-size:10.5px;color:#111827}
.tg-history-table th,.tg-compare-table th{background:#fff4ec;color:#374151;text-transform:uppercase;letter-spacing:.02em;font-size:9.5px;font-weight:900}
.tg-history-table th,.tg-history-table td,.tg-compare-table th,.tg-compare-table td{padding:9px 10px;border-bottom:1px solid #edf0f4;text-align:left;vertical-align:top}
.tg-history-table tr:last-child td,.tg-compare-table tr:last-child td{border-bottom:0}
.tg-history-table .tg-check-cell{width:32px;text-align:center}.tg-history-table input[type="checkbox"]{accent-color:#f47b20}
.tg-history-label{font-weight:800;line-height:1.4;max-width:250px}.tg-history-main-result{font-weight:800;color:#111827;white-space:normal}.tg-history-muted{display:block;color:#64748b;font-size:9.5px;margin-top:2px}
.tg-history-actions-inline{display:flex;gap:5px;flex-wrap:wrap;align-items:center}
.tg-history-linkbtn{border:0;background:none;padding:0;color:#0f9f63;font-size:10px;font-weight:800;cursor:pointer}.tg-history-linkbtn.rename{color:#64748b}.tg-history-linkbtn.delete{color:#ef4444}
.tg-history-empty{padding:14px;font-size:11px;color:#64748b;text-align:center}
.tg-compare-wrap{margin-top:14px}.tg-compare-wrap h4{margin:0 0 8px;font-size:13px;color:#111827}
.tg-compare-table th:first-child,.tg-compare-table td:first-child{position:sticky;left:0;background:#fff;z-index:1}.tg-compare-table th:first-child{background:#fff4ec;z-index:2}.tg-compare-table td:first-child{font-weight:800;min-width:180px}
.tg-restored-note{margin:10px 0 0;border:1px solid #fed7aa;background:#fff7ed;color:#9a4d11;border-radius:10px;padding:9px 11px;font-size:10.5px;line-height:1.45}
@media(max-width:680px){.tg-share-save{padding:14px;border-radius:14px}.tg-share-save-head{align-items:flex-start}.tg-share-actions{display:grid;grid-template-columns:1fr 1fr}.tg-share-btn{width:100%;padding:10px 9px}.tg-history-toolbar{display:grid;grid-template-columns:1fr 1fr}.tg-history-toolbar button{width:100%}.tg-history-table,.tg-compare-table{min-width:650px}}
.tg-history-quick{margin-top:14px;border:1px solid #f3dfcf;background:#fffaf6;border-radius:14px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.tg-history-quick>div:first-child{display:flex;flex-direction:column;gap:2px}.tg-history-quick strong{font-size:12px;color:#111827}.tg-history-quick span{font-size:10px;color:#64748b}.tg-history-quick>button{border:1px solid #ffc9a4;background:#fff;color:#c65d0f;border-radius:9px;padding:8px 12px;font-size:10.5px;font-weight:800;cursor:pointer;box-shadow:0 2px 6px rgba(15,23,42,.035)}
@media(max-width:680px){.tg-history-quick{align-items:stretch}.tg-history-quick>button{width:100%}}

.tg-modal-open{overflow:hidden}.tg-history-modal[hidden]{display:none!important}.tg-history-modal{position:fixed;inset:0;z-index:9999}.tg-history-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.52);backdrop-filter:blur(1px)}.tg-history-modal-dialog{position:relative;z-index:1;max-width:1080px;width:min(1080px,calc(100vw - 24px));max-height:calc(100vh - 24px);margin:12px auto;background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(15,23,42,.28);display:flex;flex-direction:column;overflow:hidden}.tg-history-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:18px 20px;border-bottom:1px solid #eef0f4;background:#fffaf6}.tg-history-modal-head h3{margin:0;font-size:18px;line-height:1.2;color:#111827}.tg-history-modal-head p{margin:6px 0 0;font-size:12px;line-height:1.55;color:#64748b;max-width:760px}.tg-history-modal-close{border:1px solid #e5e7eb;background:#fff;border-radius:10px;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;font-size:24px;line-height:1;color:#374151;cursor:pointer;flex:0 0 auto}.tg-history-modal-status{min-height:18px;padding:10px 20px 0;font-size:11px;color:#64748b}.tg-history-modal-status.ok{color:#15803d}.tg-history-modal-status.warn{color:#b45309}.tg-history-modal-status.err{color:#b91c1c}.tg-history-modal-body{padding:14px 20px 20px;overflow:auto}.tg-history-modal .tg-history-note{margin-bottom:12px}.tg-history-modal .tg-history-scroll,.tg-history-modal .tg-compare-scroll{max-width:100%}@media(max-width:680px){.tg-history-modal-dialog{width:min(100vw - 12px,1080px);max-height:calc(100vh - 12px);margin:6px auto;border-radius:16px}.tg-history-modal-head{padding:14px 14px 12px}.tg-history-modal-head h3{font-size:16px}.tg-history-modal-head p{font-size:11px}.tg-history-modal-status{padding:8px 14px 0}.tg-history-modal-body{padding:12px 14px 16px}.tg-share-save-head button{width:100%}}

/* TitikGrowth — contextual product recommendations inside calculator results */
.tg-product-promo{margin:0 18px 18px;border:1px solid #e9d8c2;border-radius:18px;padding:18px;background:linear-gradient(145deg,#fffaf4 0%,#fffdfb 48%,#f8efe5 100%);box-shadow:0 18px 42px rgba(15,23,42,.06)}
.tg-product-promo-head h3{margin:0;font-size:20px;line-height:1.25;color:#111827;letter-spacing:-.02em}
.tg-product-promo-head p{margin:8px 0 0;color:#5b6473;font-size:12px;line-height:1.7;max-width:780px}
.tg-product-more{box-sizing:border-box;margin-top:16px;padding:9px;border:1px solid #bcd4ed;border-radius:15px;background:linear-gradient(120deg,#edf6ff,#eaf4fc);box-shadow:0 8px 20px rgba(24,59,103,.07)}
.tg-product-more a{box-sizing:border-box;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:45px;padding:12px 14px;border-radius:10px;background:#183b67;border:1px solid #183b67;color:#fff;text-decoration:none;font-size:12px;font-weight:900;line-height:1.45;box-shadow:0 5px 12px rgba(24,59,103,.15);transition:background .15s ease,transform .15s ease}
.tg-product-more a:hover{background:#24568d;border-color:#24568d;transform:translateY(-1px)}
.tg-product-more a:focus-visible{outline:3px solid #76b8ff;outline-offset:3px}
.tg-product-more a span{font-size:17px;flex:none;line-height:1}

.tg-product-grid{display:grid;grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);gap:12px;margin-top:16px;align-items:stretch}
.tg-product-card{position:relative;display:flex;align-items:stretch;text-decoration:none;color:#111827;border-radius:16px;padding:16px;transition:.18s ease;border:1px solid transparent;overflow:hidden;box-shadow:0 10px 24px rgba(15,23,42,.06);min-height:198px}
.tg-product-card:before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit}
.tg-product-card:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(15,23,42,.1)}
.tg-product-mark{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-size:12px;font-weight:950;letter-spacing:-.02em;border:1px solid rgba(255,255,255,.55);box-shadow:inset 0 1px 0 rgba(255,255,255,.65)}
.tg-product-copy{display:flex;flex-direction:column;min-width:0;flex:1}
.tg-product-tag{font-size:9.5px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;opacity:.8}
.tg-product-copy strong{font-size:18px;line-height:1.12;margin-top:4px;letter-spacing:-.02em}
.tg-product-desc{font-size:11.5px;line-height:1.55;color:#4b5563;margin-top:10px;max-width:34ch}
.tg-product-tone{display:none}
.tg-product-cta{display:inline-flex;align-self:flex-start;font-size:11px;line-height:1.4;font-weight:900;border-radius:10px;padding:8px 11px;margin-top:auto}
.tg-product-coretax{background:linear-gradient(145deg,#f4f6f8 0%,#ffffff 42%,#e8edf2 100%);border-color:#cfd7df}
.tg-product-coretax:before{box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.tg-product-coretax .tg-product-mark{background:linear-gradient(145deg,#8d98a6,#4f5a69);color:#f7fafc}
.tg-product-coretax .tg-product-tag{color:#677587}
.tg-product-coretax .tg-product-copy strong{color:#1f2937}
.tg-product-coretax .tg-product-cta{background:linear-gradient(145deg,#5a6677,#374151);color:#f8fafc;box-shadow:0 8px 18px rgba(55,65,81,.18)}
@media(max-width:950px){.tg-product-promo{margin:0 18px 18px}}
@media(max-width:680px){.tg-product-promo{margin:0 14px 14px;padding:15px;border-radius:16px}.tg-product-promo-head h3{font-size:17px}.tg-product-promo-head p{font-size:11px}.tg-product-more a{width:100%;justify-content:center}.tg-product-grid{grid-template-columns:1fr}.tg-product-card{padding:14px;min-height:auto}.tg-product-copy strong{font-size:18px}}

.tg-product-mark{display:none}

.tg-product-card.tg-product-primary{min-height:205px;box-shadow:0 16px 34px rgba(15,23,42,.10)}
.tg-product-card.tg-product-primary .tg-product-copy strong{font-size:20px}
.tg-product-card.tg-product-primary .tg-product-desc{font-size:12px;max-width:38ch}
.tg-product-card.tg-product-primary .tg-product-cta{padding:9px 12px;font-size:11.5px}
.tg-product-card.tg-product-secondary{min-height:205px;box-shadow:0 7px 18px rgba(15,23,42,.045);filter:saturate(.78)}
.tg-product-card.tg-product-secondary .tg-product-copy strong{font-size:16px}
.tg-product-card.tg-product-secondary .tg-product-desc{font-size:10.5px;line-height:1.5}
.tg-product-card.tg-product-secondary .tg-product-cta{padding:7px 9px;font-size:10px;opacity:.9}
@media(max-width:680px){.tg-product-grid{grid-template-columns:1fr}.tg-product-card.tg-product-primary,.tg-product-card.tg-product-secondary{min-height:auto}.tg-product-card.tg-product-primary .tg-product-copy strong,.tg-product-card.tg-product-secondary .tg-product-copy strong{font-size:18px}.tg-product-card.tg-product-secondary{filter:none}}


/* Free → Premium natural next step */
.tg-premium-next-step{margin-top:14px;border:1px solid #f1cda9;border-radius:15px;padding:14px 15px;background:linear-gradient(145deg,#fffaf5 0%,#fff 66%,#fff6eb 100%);box-shadow:0 7px 18px rgba(15,23,42,.035)}
.tg-premium-next-kicker{display:block;color:#c65d0f;font-size:9px;font-weight:950;letter-spacing:.08em;text-transform:uppercase;margin-bottom:5px}
.tg-premium-next-step h3{margin:0;color:#17233a;font-size:15px;line-height:1.3;letter-spacing:-.15px}
.tg-premium-next-step p{margin:6px 0 11px;color:#64748b;font-size:10.8px;line-height:1.55}
.tg-premium-next-step a,.tg-premium-next-step button{display:inline-flex;align-items:center;border:0;border-radius:9px;padding:8px 10px;background:#fff1e6;color:#c65d0f;text-decoration:none;font:inherit;font-size:10.5px;font-weight:900;cursor:pointer;border:1px solid #ffd0ad}
.tg-premium-next-step a:hover,.tg-premium-next-step button:hover{background:#ffe8d5;border-color:#f7b780}
@media(max-width:680px){.tg-premium-next-step{padding:13px}.tg-premium-next-step a,.tg-premium-next-step button{width:100%;justify-content:center}}

/* v135: hanya ajakan Unlock Premium dalam hasil kalkulator */
.tg-product-grid.tg-product-grid-single{display:grid;grid-template-columns:minmax(0,1fr)}
.tg-product-card.tg-product-unlock{min-height:154px;background:linear-gradient(130deg,#fff9ee,#fff3e3);border-color:#f3c58d}
.tg-product-unlock .tg-product-tag{color:#ad5510}
.tg-product-unlock .tg-product-mark{display:none}
.tg-product-unlock .tg-product-copy strong{color:#17233a}
.tg-product-unlock .tg-product-cta{background:#e7721a;color:white}
