.tasicore-settings { max-width:1100px; padding:clamp(18px,3vw,30px); }
.tasicore-settings h2, .tasicore-settings h3, .tasicore-map-page h1 { margin:0; color:#16324f; }
.tasicore-settings p { line-height:1.6; }
.tasicore-settings-heading, .tasicore-preview-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.tasicore-settings-heading p { margin:6px 0 0; }
.tasicore-origin-details { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:16px; margin:22px 0 12px; background:#f3f6fa; border:1px solid #dce5ef; border-radius:10px; }
.tasicore-origin-details dt { margin-bottom:6px; color:#52667e; font-size:.8rem; font-weight:600; }
.tasicore-origin-details dd { margin:0; color:#193957; font-size:.9rem; overflow-wrap:anywhere; }
.tasicore-origin-details code { font-size:.85rem; }
.tasicore-settings-note { color:#53677e; font-size:.875rem; }
.tasicore-grant-note, .tasicore-configuration-error { padding:12px 14px; border-radius:8px; overflow-wrap:anywhere; }
.tasicore-grant-note { border:1px solid #e2c787; background:#fff8e6; color:#6b5018; }
.tasicore-configuration-error { border:1px solid #eab3be; background:#fff3f5; color:#9f233a; }
.tasicore-embed-form { margin-top:22px; }
.tasicore-embed-form label { display:block; margin-bottom:8px; font-size:.9rem; font-weight:600; color:#16324f; }
.tasicore-embed-form textarea { box-sizing:border-box; width:100%; min-height:140px; padding:12px; border:1px solid #b9c9db; border-radius:8px; background:#fff; color:#243d56; font: .85rem/1.6 ui-monospace,Consolas,monospace; resize:vertical; }
.tasicore-embed-form textarea:focus-visible { outline:3px solid #a2c5ff; outline-offset:2px; }
.tasicore-preview-panel { margin-top:24px; border-top:1px solid #dce5ef; padding-top:20px; }
.tasicore-preview-heading { align-items:center; }
.tasicore-frame-container { width:100%; min-width:0; border:1px solid #d5e0eb; border-radius:10px; background:#f3f6fa; }
.tasicore-map-frame { display:block; width:100%; height:clamp(520px,75vh,1000px); border:0; border-radius:9px; background:#fff; }
.tasicore-map-page { padding:clamp(14px,2vw,28px); min-width:0; font-family:var(--app-font-body,Arial,sans-serif); }
.tasicore-map-heading { margin:0 0 18px; }
.tasicore-map-heading h1 { font-size:clamp(1.35rem,3vw,1.9rem); line-height:1.25; }
.tasicore-map-heading p { margin:8px 0 0; color:#53677e; line-height:1.55; }
.tasicore-map-heading .tasicore-map-eyebrow { margin:0 0 6px; color:#376487; font-size:.75rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.tasicore-preview-panel .tasicore-map-frame { height:clamp(500px,65vh,800px); }
.tasicore-settings [hidden], .tasicore-preview-panel[hidden] { display:none !important; }
@media (max-width:640px) {
  .tasicore-origin-details { grid-template-columns:1fr; }
  .tasicore-settings .settings-actions { align-items:stretch; }
  .tasicore-settings .settings-actions .app-button { flex:1 1 auto; }
  .tasicore-map-frame { height:78vh; height:78dvh; min-height:520px; }
  .tasicore-preview-panel .tasicore-map-frame { height:72vh; height:72dvh; min-height:480px; }
  .settings-tabs { overflow-x:auto; gap:18px; }
  .settings-tabs [role="tab"] { flex-shrink:0; }
}
