/* 星盤查詢：欄位與星盤圖樣式；共用元件沿用 site.css */
#nc-form [hidden] { display: none !important; }
.nc-fun { background: #fffbeb; border-left: 4px solid #d97706; padding: 10px 14px; border-radius: 6px; font-size: 1rem; }
.nc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.nc-row3 { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 0 10px; }
.nc-row > *, .nc-row3 > * { min-width: 0; }
#nc-form .qr-field input[type=date], #nc-form .qr-field input[type=time], #nc-form .qr-field input[type=text] { display: block; width: 100%; box-sizing: border-box; margin-top: 4px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font: inherit; font-weight: 400; background: #fff; color: var(--fg); }
#nc-form input:disabled { background: var(--soft); color: var(--muted); }
.nc-custom { margin: 10px 0; border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.nc-custom summary { cursor: pointer; font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.nc-big { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 8px 0; text-align: center; }
.nc-big > div { background: #eff4ff; border: 2px solid var(--brand); border-radius: 12px; padding: 8px 4px; min-width: 0; }
.nc-big span { display: block; color: var(--muted); font-size: .95rem; }
.nc-big b { display: block; font-size: 1.3rem; color: var(--brand-dark); }
.nc-big small { color: var(--muted); font-size: .95rem; }
.nc-meta { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.nc-notes { font-size: .98rem; background: #fffbeb; border-radius: 8px; padding: 8px 12px 8px 30px; }
.nc-chartwrap { max-width: 520px; margin: 12px auto 0; }
.nc-svg { width: 100%; height: auto; display: block; background: #fff; border: 1px solid var(--line); border-radius: 50%; }
.nc-ring { fill: none; stroke: #94a3b8; stroke-width: 1.2; }
.nc-line { stroke: #94a3b8; stroke-width: 1; }
.nc-house { stroke: #cbd5e1; stroke-width: 1; }
.nc-axis { stroke: var(--brand-dark); stroke-width: 2; }
.nc-hnum { font-size: 10px; fill: #64748b; }
.nc-pt { font-size: 11px; font-weight: 700; fill: var(--brand-dark); }
.nc-sign { font-size: 17px; }
.nc-sign.el0 { fill: #dc2626; } .nc-sign.el1 { fill: #15803d; } .nc-sign.el2 { fill: #b45309; } .nc-sign.el3 { fill: #1d4ed8; }
.nc-planet { font-size: 17px; fill: #111827; }
.nc-tick { stroke: #111827; stroke-width: 1.4; }
.nc-asp { stroke-width: 1.2; opacity: .75; }
.asp-c { stroke: #64748b; } .asp-h { stroke: #dc2626; } .asp-e { stroke: #2563eb; }
.nc-table small { color: var(--muted); }
#nc-result h3 { font-size: 1.1rem; margin: 1.2rem 0 .4rem; }
@media (max-width: 480px) {
  .nc-row3 { grid-template-columns: 1fr 1fr; }
  .nc-row3 > :last-child { grid-column: 1 / -1; }
  .nc-big b { font-size: 1.15rem; }
}
.nc-mean { display: block; font-weight: 400; margin-top: 2px; }
.nc-table tbody th { width: auto; }
