/* Meri Sadhana — Jaap + Sankalp (v2.24) */
.bdsa { --sf: #f26a1b; --mr: #8a1a14; --mr2: #5b1212; --ink: #2a1a12; --mut: #7a6558; --ln: #f1e2d2; --cr: #fff8ef; --gd: #f5a524;
	background: #fff; border: 1px solid var(--ln); border-radius: 16px; padding: 16px; margin: 14px 0; color: var(--ink); scroll-margin-top: calc(var(--bd-hh, 0px) + 16px); }
.bdsa-head h2 { font: 600 20px "Lora", Georgia, serif; color: var(--mr2); margin: 0; }
.bdsa-head h2 small { font: 500 13px var(--bd-body, system-ui); color: var(--mut); margin-left: 6px; }
.bdsa-sync { margin: 4px 0 0; font-size: 12.5px; color: var(--mut); }
.bdsa-sync a { color: var(--mr); font-weight: 600; margin-left: 4px; }
.bdsa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 12px; }
.bdsa-card { background: var(--cr); border: 1px solid var(--ln); border-radius: 14px; padding: 14px; min-width: 0; }
.bdsa-card h3 { margin: 0 0 10px; font-size: 15px; color: var(--mr); }
.bdsa-field[hidden] { display: none; }
.bdsa-field { display: block; font-size: 12.5px; font-weight: 600; color: var(--mut); margin-bottom: 10px; }
.bdsa-field select, .bdsa-field input { display: block; width: 100%; margin-top: 4px; padding: 9px 10px; border: 1px solid #e6d3bf; border-radius: 10px; background: #fff; font: 500 15px var(--bd-body, system-ui); color: var(--ink); box-sizing: border-box; }
.bdsa-field select:focus, .bdsa-field input:focus { outline: 2px solid var(--sf); outline-offset: 1px; }

.bdsa-tap { position: relative; display: grid; place-items: center; width: min(220px, 70vw); aspect-ratio: 1; margin: 6px auto 4px; border: 0; border-radius: 50%;
	background: radial-gradient(circle at 50% 38%, #fff 0, #fff3df 55%, #fde3bd 100%); box-shadow: 0 10px 28px rgba(138, 26, 20, .18), inset 0 -6px 14px rgba(242, 106, 27, .15);
	cursor: pointer; color: var(--mr2); -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; }
.bdsa-tap:focus-visible { outline: 3px solid var(--sf); outline-offset: 4px; }
.bdsa-tap.is-hit { animation: bdsa-hit .18s ease-out; }
@keyframes bdsa-hit { 50% { transform: scale(.96); } }
.bdsa-ring { position: absolute; inset: 0; }
.bdsa-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.bdsa-ring circle { fill: none; stroke-width: 7; }
.bdsa-ring__bg { stroke: #f6e1c6; }
.bdsa-ring__fg { stroke: var(--sf); stroke-linecap: round; transition: stroke-dashoffset .2s; }
.bdsa-tap__n { position: relative; font: 400 52px/1 "Yeseva One", Georgia, serif; grid-area: 1 / 1; margin-top: -12px; }
.bdsa-tap__s { position: relative; grid-area: 1 / 1; margin-top: 62px; font-size: 13px; color: var(--mut); }
.bdsa-help { text-align: center; font-size: 12px; color: var(--mut); margin: 4px 0 10px; }

.bdsa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0 0 10px; }
.bdsa-stats div { background: #fff; border: 1px solid var(--ln); border-radius: 10px; padding: 7px 4px; text-align: center; }
.bdsa-stats dt { font-size: 11px; color: var(--mut); }
.bdsa-stats dd { margin: 2px 0 0; font-weight: 700; font-size: 16px; color: var(--mr2); font-variant-numeric: tabular-nums; }
.bdsa-row { display: flex; flex-wrap: wrap; gap: 6px; }

.bdsa-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #f6802f, #e2560f); color: #fff; font: 600 13.5px var(--bd-body, system-ui); cursor: pointer; }
.bdsa-btn:focus-visible { outline: 3px solid var(--mr); outline-offset: 2px; }
.bdsa-btn--ghost { background: #fff; color: var(--mr); border: 1px solid #ebcfb2; }
.bdsa-btn--sm { min-height: 34px; padding: 6px 12px; font-size: 12.5px; }
.bdsa-btn.is-on { background: #1f7a3d; }

.bdsa-week { display: flex; justify-content: space-between; align-items: flex-end; gap: 6px; height: 84px; margin-top: 12px; padding-top: 6px; border-top: 1px dashed #ead7c2; }
.bdsa-week__d { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.bdsa-week__d span { width: 70%; max-width: 26px; background: var(--gd); border-radius: 6px 6px 2px 2px; }
.bdsa-week__d small { font-size: 11px; color: var(--mut); }

.bdsa-empty { color: var(--mut); font-size: 13.5px; margin: 0 0 12px; }
.bdsa-sk { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.bdsa-sk__i { background: #fff; border: 1px solid var(--ln); border-radius: 12px; padding: 10px 12px; }
.bdsa-sk__i.is-done { border-color: #b9dfc4; background: #f3fbf5; }
.bdsa-sk__top { display: flex; justify-content: space-between; gap: 8px; align-items: start; }
.bdsa-sk__top b { font-size: 14.5px; color: var(--mr2); overflow-wrap: anywhere; }
.bdsa-x { border: 0; background: none; font-size: 22px; line-height: 1; color: var(--mut); cursor: pointer; padding: 0 4px; min-width: 32px; min-height: 32px; }
.bdsa-bar { height: 8px; background: #f6e7d6; border-radius: 99px; overflow: hidden; margin: 8px 0; }
.bdsa-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gd), var(--sf)); border-radius: 99px; }
.bdsa-sk__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.bdsa-sk__meta small { color: var(--mut); font-size: 12px; }
.bdsa-ok { color: #1f7a3d; font-weight: 700; font-size: 13px; }
.bdsa-form { border-top: 1px dashed #ead7c2; padding-top: 12px; }
.bdsa-form__row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 8px; }

@media (max-width: 760px) {
	.bdsa { padding: 12px; }
	.bdsa-grid { grid-template-columns: minmax(0, 1fr); }
	.bdsa-stats dd { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .bdsa-tap.is-hit { animation: none; } .bdsa-ring__fg { transition: none; } }
