
/* Hesaplasan V2.2 - Embed & Share */
.embed-share-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:18px}
.embed-card,.share-card{padding:24px}
.embed-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.embed-card-head h2,.share-card h2{margin:5px 0 8px}
.embed-card-head p,.share-card p{color:var(--muted);margin:0;line-height:1.65}
.embed-badge{display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:999px;background:color-mix(in srgb,var(--brand) 10%,var(--surface));color:var(--brand);font-size:12px;font-weight:850}
.embed-preview-mini{display:flex;align-items:center;gap:11px;margin:20px 0 12px;padding:13px 14px;border:1px solid var(--line);border-radius:15px;background:var(--surface2)}
.embed-preview-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--surface);border:1px solid var(--line);font-size:20px}
.embed-preview-mini div{display:flex;flex-direction:column;gap:2px}
.embed-preview-mini strong{font-size:14px}
.embed-preview-mini small{font-size:11px;color:var(--muted)}
.embed-code{width:100%;min-height:125px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface2);color:var(--text);font:500 12px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;resize:vertical}
.embed-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.embed-note{margin-top:12px!important;font-size:12px!important}
.share-url-box{margin-top:20px}
.share-url-box input{width:100%;min-height:48px}
.embed-body{margin:0;background:var(--bg);min-height:100vh}
.embed-shell{max-width:760px;margin:0 auto;padding:14px}
.embed-brandbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.embed-brand-link{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}
.embed-brand-link>span:last-child{display:flex;flex-direction:column}
.embed-brand-link strong{font-size:15px;line-height:1}
.embed-brand-link strong span{color:var(--brand)}
.embed-brand-link small{color:var(--muted);font-size:10px;margin-top:4px}
.embed-logo{width:36px;height:36px;display:grid;place-items:center;border-radius:11px;background:linear-gradient(135deg,#7c3aed,#5b5cf0);color:#fff;font-weight:950;box-shadow:0 8px 20px rgba(91,76,240,.2)}
.embed-open-link{font-size:12px;font-weight:800;color:var(--brand);text-decoration:none;white-space:nowrap}
.embed-tool-head{display:flex;align-items:center;gap:14px;margin:0 0 14px;padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--surface)}
.embed-tool-head h1{font-size:24px;line-height:1.12;margin:0 0 6px}
.embed-tool-head p{margin:0;color:var(--muted);font-size:13px;line-height:1.55}
.embed-calculator{padding:18px}
.embed-calculator .calculator-head{display:none}
.embed-footer-note{display:flex;justify-content:center;gap:5px;padding:14px 6px 2px;color:var(--muted);font-size:11px}
.embed-footer-note a{color:var(--brand);font-weight:800;text-decoration:none}
@media(max-width:850px){.embed-share-grid{grid-template-columns:1fr}}
@media(max-width:560px){
  .embed-card,.share-card{padding:18px}
  .embed-brandbar{align-items:flex-start}
  .embed-open-link{font-size:11px}
  .embed-tool-head{align-items:flex-start}
  .embed-tool-head h1{font-size:21px}
}
