/* Aramesh Tests — uses the Aramesh theme tokens when present. */
.amt-main, .amt-app, .amt-report, .amt-list, .amt-mytests, .amt-box, .amt-accnav, .amt-sources {
	--p: var(--am-primary, #3f6f6b);
	--pd: var(--am-primary-dark, #2a4b48);
	--ac: var(--am-accent, #c98f6a);
	--soft: var(--am-soft, #eaf2ef);
	--ink: var(--am-ink, #1f2d2c);
	--mut: var(--am-muted, #5b6b69);
	--line: var(--am-line, #dfe7e4);
	--r: var(--am-radius, 20px);
	--sh: var(--am-shadow-sm, 0 6px 18px -10px rgba(31, 45, 44, .3));
	direction: rtl; text-align: right;
}
.amt-main { padding-block: clamp(32px, 5vw, 64px); }
.amt-container { width: 100%; max-width: 980px; margin-inline: auto; padding-inline: 20px; }
.amt-hero { background: #eaf2ef; padding: 48px 0; }
.amt-hero h1 { margin: 0 0 8px; }
.amt-muted { color: var(--mut); font-size: .95rem; }
.amt-small { color: var(--mut); font-size: .84rem; text-align: center; margin-top: 14px; }
.amt-box { background: #fff; border-radius: var(--r); padding: 24px; box-shadow: var(--sh); margin-bottom: 20px; }
.amt-loading { padding: 40px; text-align: center; color: var(--mut); }

/* Buttons */
.amt-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent; background: var(--p); color: #fff !important; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none !important; transition: .2s; line-height: 1.4; }
.amt-btn:hover { background: var(--pd); }
.amt-btn:disabled { opacity: .6; cursor: wait; }
.amt-btn--block { width: 100%; padding-block: 1em; font-size: 1.02rem; }
.amt-btn--accent { background: var(--ac); }
.amt-btn--accent:hover { background: var(--pd); }
.amt-btn--ghost { background: transparent; color: var(--p) !important; border-color: var(--p); }
.amt-btn--ghost:hover { background: var(--p); color: #fff !important; }
.amt-btn--ghost:disabled { opacity: .35; cursor: default; }
.amt-btn--light { background: #fff; color: var(--pd) !important; }
.amt-btn--light:hover { background: var(--ac); color: #fff !important; }
.amt-btn--danger { background: #b42318; }
.amt-btn--sm { padding: .45em 1.1em; font-size: .88rem; }
.amt-link { background: none; border: 0; color: var(--p); font: inherit; cursor: pointer; padding: 6px 4px; text-decoration: underline; text-underline-offset: 3px; }
.amt-link:disabled { color: var(--mut); text-decoration: none; cursor: default; }

/* Facts strip */
.amt-facts { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.amt-facts span { background: #fff; border-radius: 999px; padding: 8px 18px; box-shadow: var(--sh); font-size: .92rem; }
.amt-facts b { color: var(--p); }

/* App card */
.amt-app { background: #fff; border-radius: calc(var(--r) * 1.2); padding: clamp(22px, 4vw, 36px); box-shadow: 0 18px 40px -24px rgba(31, 45, 44, .4); margin-bottom: 36px; position: relative; overflow: hidden; scroll-margin-top: 110px; }
.amt-app::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--ac), var(--p)); }
.amt-step { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.amt-step h3 { margin: 0 0 4px; font-size: 1.25rem; }
.amt-step p { margin: 0; }
.amt-step__n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--p); font-weight: 800; }

.amt-form { display: grid; gap: 14px; }
.amt-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.amt-req { color: #b42318; }
.amt-input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; line-height: 1.6; box-sizing: border-box; }
.amt-input:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px rgba(63, 111, 107, .15); }
.amt-input--code { text-align: center; font-size: 1.6rem; letter-spacing: .5em; font-weight: 800; }
.amt-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amt-fieldset { border: 0; padding: 0; margin: 0; }
.amt-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.amt-pill input { position: absolute; opacity: 0; }
.amt-pill span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; transition: .2s; }
.amt-pill input:checked + span { background: var(--p); border-color: var(--p); color: #fff; }
.amt-pill input:focus-visible + span { outline: 3px solid var(--ac); outline-offset: 2px; }
.amt-check { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--mut); line-height: 1.9; }
.amt-check input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--p); flex: none; }
.amt-tabs { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.amt-tabs button { border: 0; background: none; padding: 8px 22px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; color: var(--mut); }
.amt-tabs button.is-on { background: #fff; color: var(--p); box-shadow: var(--sh); }
.amt-row-links { display: flex; justify-content: space-between; }
.amt-msg { display: none; border-radius: 12px; padding: 12px 16px; font-size: .92rem; margin-bottom: 4px; }
.amt-msg.is-error { display: block; background: #fdecea; color: #a5281b; }
.amt-msg.is-ok { display: block; background: #e7f5ee; color: #1e6b45; }

.amt-price { display: flex; justify-content: space-between; align-items: center; background: var(--soft); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
.amt-price b { font-size: 1.25rem; color: var(--pd); }
.amt-price s { color: var(--mut); font-weight: 400; font-size: .95rem; margin-inline-end: 6px; }
.amt-coupon { margin-bottom: 12px; }
.amt-coupon summary { cursor: pointer; color: var(--p); font-weight: 700; font-size: .92rem; padding: 6px 0; }
.amt-coupon__row { display: flex; gap: 8px; margin-top: 8px; }
.amt-prev { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; }

/* Runner */
.amt-run h3 { font-size: 1.2rem; }
.amt-instr { background: var(--soft); border-radius: 14px; padding: 16px 20px; margin-bottom: 16px; line-height: 2; }
.amt-small-list { color: var(--mut); font-size: .9rem; margin: 0 0 20px; padding-inline-start: 1.2em; }
.amt-progress { margin-bottom: 18px; }
.amt-progress__bar { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; }
.amt-progress__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--p), var(--ac)); border-radius: 99px; transition: width .3s; }
.amt-progress__txt { display: flex; justify-content: space-between; font-size: .82rem; color: var(--mut); margin-top: 6px; }
.amt-q-instr { font-size: .84rem; color: var(--mut); margin: 0 0 6px; }
.amt-q { font-size: clamp(1.1rem, 2.4vw, 1.35rem); line-height: 1.9; margin: 0 0 20px; min-height: 3.8em; }
@media (max-width: 640px) { .amt-q { min-height: 0; } .amt-app { padding: 22px 18px; } }
.amt-opts { display: grid; gap: 10px; }
.amt-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: right; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font: inherit; cursor: pointer; transition: .15s; color: var(--ink); }
@media (hover: hover) { .amt-opt:hover { border-color: var(--p); background: var(--soft); } }
.amt-opt:focus { outline: none; }
.amt-opt:focus-visible { outline: 3px solid var(--ac); outline-offset: 2px; }
.amt-opt.is-on { border-color: var(--p); background: var(--p); color: #fff; }
.amt-opt__k { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--p); font-size: .85rem; font-weight: 800; }
.amt-opt.is-on .amt-opt__k { background: rgba(255, 255, 255, .25); color: #fff; }
.amt-nav { display: flex; justify-content: space-between; margin-top: 22px; }
.amt-done { text-align: center; }
.amt-done__ico { width: 72px; height: 72px; border-radius: 50%; background: var(--soft); color: var(--p); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 12px; }

/* Content under the app */
.amt-content { background: #fff; border-radius: var(--r); padding: clamp(22px, 4vw, 36px); box-shadow: var(--sh); }

/* Tests grid */
.amt-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin: 24px 0; }
.amt-tcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); padding: 26px 24px; box-shadow: var(--sh); color: var(--ink) !important; text-decoration: none !important; transition: .25s; border-top: 4px solid var(--p); }
.amt-tcard:hover { transform: translateY(-5px); box-shadow: 0 18px 40px -22px rgba(31, 45, 44, .35); }
.amt-tcard h3 { font-size: 1.1rem; margin: 0 0 8px; }
.amt-tcard p { color: var(--mut); font-size: .92rem; flex: 1; }
.amt-tcard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--mut); margin-bottom: 16px; }
.amt-tcard__meta strong { color: var(--pd); margin-inline-start: auto; }
.amt-mytests table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.amt-mytests th, .amt-mytests td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: right; }
.amt-mytests th { background: var(--soft); font-size: .88rem; }

/* Report */
.amt-report { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.amt-report__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; background: #fff; border-radius: var(--r); padding: 24px 28px; box-shadow: var(--sh); }
.amt-report__head h2 { margin: 2px 0 6px; font-size: 1.5rem; }
.amt-eyebrow { color: var(--ac); font-weight: 700; font-size: .88rem; }
.amt-card { background: #fff; border-radius: var(--r); padding: 24px 28px; box-shadow: var(--sh); }
.amt-card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.amt-card__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.amt-chip { font-size: .82rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; background: var(--soft); color: var(--pd); }
.amt-bar { position: relative; height: 30px; background: #f1f4f3; border-radius: 99px; overflow: hidden; margin: 14px 0; }
.amt-bar span { position: absolute; inset: 0 0 0 auto; border-radius: 99px; background: var(--p); }
.amt-bar em { position: absolute; inset: 0; display: flex; align-items: center; padding-inline: 14px; font-style: normal; font-size: .82rem; font-weight: 700; color: var(--ink); }
.amt-scale-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.amt-scale-legend span { font-size: .74rem; padding: 3px 10px; border-radius: 99px; background: #f3f4f4; color: var(--mut); }
.amt-scale-legend span.is-on { outline: 2px solid currentColor; font-weight: 800; }
.amt-tone-good .amt-bar span, .amt-bar.amt-tone-good span { background: #3f8f6b; }
.amt-bar.amt-tone-mild span { background: #c7a43a; }
.amt-bar.amt-tone-warn span { background: #d9822b; }
.amt-bar.amt-tone-high span { background: #c2410c; }
.amt-bar.amt-tone-nlow span { background: #7aa7c7; }
.amt-bar.amt-tone-nmid span { background: var(--p); }
.amt-bar.amt-tone-nhigh span { background: var(--ac); }
.amt-chip.amt-tone-good, .amt-scale-legend .amt-tone-good.is-on { background: #e5f4ec; color: #1e6b45; }
.amt-chip.amt-tone-mild, .amt-scale-legend .amt-tone-mild.is-on { background: #fbf3dc; color: #8a6a00; }
.amt-chip.amt-tone-warn, .amt-scale-legend .amt-tone-warn.is-on { background: #fdebd8; color: #9a4d00; }
.amt-chip.amt-tone-high, .amt-scale-legend .amt-tone-high.is-on { background: #fde4dc; color: #9b2c0c; }
.amt-chip.amt-tone-nlow { background: #e6f0f7; color: #2d5d80; }
.amt-chip.amt-tone-nhigh { background: #f7ece4; color: #8a4f2b; }
.amt-grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.amt-mini { background: #fff; border-radius: 16px; padding: 16px 12px; box-shadow: var(--sh); text-align: center; border-top: 4px solid var(--p); }
.amt-mini.amt-tone-nlow { border-color: #7aa7c7; }
.amt-mini.amt-tone-nhigh { border-color: var(--ac); }
.amt-mini span { display: block; font-size: .8rem; color: var(--mut); min-height: 2.6em; line-height: 1.6; }
.amt-mini b { display: block; font-size: 1.8rem; color: var(--pd); line-height: 1.3; }
.amt-mini b small { font-size: .9rem; }
.amt-mini em { font-style: normal; font-size: .76rem; color: var(--mut); }
.amt-facets { margin-top: 10px; }
.amt-facets summary { cursor: pointer; color: var(--p); font-weight: 700; }
.amt-facets table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .88rem; }
.amt-facets th { width: 30%; text-align: right; font-weight: 700; padding: 8px 0; vertical-align: middle; }
.amt-facets th small { display: block; font-weight: 400; font-size: .78rem; color: var(--mut); line-height: 1.7; margin-top: 2px; }
.amt-facets tr + tr { border-top: 1px solid var(--line); }
.amt-facets td { padding: 6px 8px; vertical-align: middle; color: var(--mut); }
.amt-facets__bar { width: 34%; }
.amt-facets .amt-bar { height: 20px; margin: 0; }
.amt-tips { margin: 10px 0 0; padding-inline-start: 1.2em; line-height: 2; }
.amt-tips li { margin-bottom: 6px; }
.amt-recs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.amt-reclist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 14px; }
.amt-reclist li { display: flex; gap: 12px; }
.amt-reclist .amt-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.amt-reclist strong { display: block; }
.amt-reclist small { color: var(--ac); font-weight: 700; }
.amt-reclist p { margin: 2px 0 0; font-size: .86rem; color: var(--mut); }
.amt-crisis { background: #fff4f2; border: 2px solid #f3b6a8; border-radius: var(--r); padding: 20px 24px; color: #7a1f10; }
.amt-crisis strong { font-size: 1.1rem; }
.amt-crisis p { margin: 8px 0 14px; line-height: 2; }
.amt-crisis__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.amt-consult { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--p), var(--pd)); color: #fff; border-radius: calc(var(--r) * 1.2); padding: clamp(24px, 4vw, 40px); }
.amt-consult h3 { color: #fff; margin: 0 0 8px; font-size: 1.3rem; }
.amt-consult p { color: rgba(255, 255, 255, .85); margin: 0; }
.amt-consult__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.amt-consult__phone { color: #fff !important; text-align: center; font-weight: 800; font-size: 1.15rem; }
.amt-disclaimer { font-size: .84rem; color: var(--mut); background: #fff; border-radius: 14px; padding: 14px 18px; }

/* Ability (picture) items */
.amt-mx { display: grid; gap: 16px; }
.amt-mx__q { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px; max-width: 420px; width: 100%; margin-inline: auto; }
.amt-mx__q img { width: 100%; height: auto; display: block; }
.amt-mx__opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 560px; margin-inline: auto; width: 100%; }
.amt-mx__opt { border: 2px solid var(--line); border-radius: 14px; background: #fff; padding: 6px; cursor: pointer; transition: .15s; position: relative; }
.amt-mx__opt img { width: 100%; height: auto; display: block; }
.amt-mx__opt:focus { outline: none; }
.amt-mx__opt:focus-visible { outline: 3px solid var(--ac); outline-offset: 2px; }
@media (hover: hover) { .amt-mx__opt:hover { border-color: var(--p); } }
.amt-mx__opt.is-on { border-color: var(--p); box-shadow: 0 0 0 3px rgba(63,111,107,.25); }
.amt-mx__opt.is-ok { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.25); }
.amt-mx__opt.is-bad { border-color: #dc2626; }
.amt-timer { height: 6px; background: var(--soft); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.amt-timer span { display: block; height: 100%; background: var(--p); transition: width 1s linear; }
.amt-timer.is-low span { background: #dc2626; }
.amt-iq { text-align: center; }
.amt-iq__main b { display: block; font-size: clamp(3rem, 9vw, 4.5rem); line-height: 1.1; color: var(--pd); margin: 6px 0 10px; }
.amt-iq__facts { list-style: none; padding: 0; margin: 18px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.amt-iq__facts li { background: var(--soft); border-radius: 14px; padding: 12px; }
.amt-iq__facts span { display: block; font-size: .8rem; color: var(--mut); }
.amt-iq__scale { position: relative; height: 34px; margin: 20px 0 8px; background: linear-gradient(90deg, #f7ece4, var(--soft) 50%, #e6f0f7); border-radius: 99px; display: flex; justify-content: space-between; align-items: center; padding: 0 10px; direction: ltr; }
.amt-iq__scale em { font-style: normal; font-size: .72rem; color: var(--mut); }
.amt-iq__scale span { position: absolute; top: -6px; width: 4px; height: 46px; background: var(--pd); border-radius: 4px; transform: translateX(-50%); }


/* NEO advanced sections */
.amt-guide h3 { margin-top: 0; }
.amt-guide h4 { margin: 14px 0 8px; color: var(--pd); font-size: 1rem; }
.amt-guide__keys { margin: 0; padding-inline-start: 1.1em; line-height: 2; font-size: .93rem; }
.amt-guide__keys b { color: var(--pd); }
.amt-guide__parts { margin: 0; padding: 0; list-style: none; counter-reset: g; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; font-size: .9rem; line-height: 1.8; }
.amt-guide__parts li { counter-increment: g; display: grid; grid-template-columns: 26px 1fr; column-gap: 8px; }
.amt-guide__parts li::before { content: counter(g, persian); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; background: var(--soft); color: var(--pd); font-weight: 800; font-size: .8rem; display: grid; place-items: center; margin-top: 3px; }
.amt-guide__parts a { color: var(--p); font-weight: 800; text-decoration: none; }
.amt-guide__parts span { color: var(--mut); }
.amt-ni-lead { color: var(--mut); font-size: .92rem; margin: -6px 0 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
#amt-neo-domains, .amt-ni, #amt-plan, #amt-recs { scroll-margin-top: 110px; }
.amt-ni h4, .amt-plan h4 { margin: 22px 0 10px; color: var(--pd); font-size: 1.05rem; }
.amt-ni p, .amt-plan p { line-height: 2; }
.amt-ni-pct { color: var(--mut); font-size: .85em; white-space: nowrap; }
.amt-ni-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.amt-ni-list li { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.amt-ni-list p { margin: 6px 0 0; }
.amt-ni-tag { display: inline-block; font-size: .74rem; font-weight: 700; border-radius: 999px; padding: .15em .8em; margin-inline-end: 8px; vertical-align: middle; }
.amt-ni-tag--reinforce { background: #fbeee5; color: #8a4a22; }
.amt-ni-tag--moderate { background: #e6f0f7; color: #275a7c; }
.amt-ni-tag--strength { background: var(--soft); color: var(--pd); }
.amt-ni-note { background: #fff8ec; border: 1px solid #f1d9a8; border-radius: 14px; padding: 12px 16px; font-size: .92rem; line-height: 1.9; margin-bottom: 16px; }
.amt-ni-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amt-ni-box { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.amt-ni-box h4 { margin-top: 0; }
.amt-ni-box ul { margin: 0; padding-inline-start: 1.1em; line-height: 1.95; }
.amt-ni-box li { margin-bottom: 6px; }
.amt-ni-q { color: var(--p); font-size: .9rem; font-weight: 700; margin: 8px 0 0; }
.amt-ni-factors { padding-inline-start: 1.1em; line-height: 2; }
.amt-ni-factors a { color: var(--p); font-weight: 700; white-space: nowrap; }
.amt-ni-str { display: grid; gap: 10px; }
.amt-ni-str details { border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; }
.amt-ni-str summary { cursor: pointer; font-weight: 700; color: var(--pd); }
.amt-ni-str dl { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; margin: 12px 0 4px; font-size: .92rem; line-height: 1.9; }
.amt-ni-str dt { font-weight: 700; color: var(--mut); }
.amt-ni-str dd { margin: 0; }
.amt-ni-str dt:nth-of-type(2), .amt-ni-str dt:nth-of-type(2) + dd { color: #1d6b4f; }
.amt-ni-chips, .amt-plan__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.amt-ni-chips span { background: var(--soft); color: var(--pd); border-radius: 999px; padding: .35em 1em; font-size: .88rem; font-weight: 700; }

/* 30-day plan */
.amt-plan__form fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px 16px; margin: 0 0 14px; }
.amt-plan__form legend { font-weight: 800; color: var(--pd); padding: 0 6px; }
.amt-plan__form label { display: block; margin-top: 10px; font-size: .93rem; line-height: 1.9; }
.amt-plan__form textarea, .amt-plan__form input[type="text"], .amt-plan__form select { display: block; width: 100%; margin-top: 6px; border: 1px solid var(--line); border-radius: 12px; padding: .7em .9em; font: inherit; background: #fff; box-sizing: border-box; }
.amt-plan__form textarea:focus, .amt-plan__form input:focus, .amt-plan__form select:focus { outline: 2px solid var(--p); outline-offset: 1px; }
.amt-plan__form input[type="range"] { display: block; width: 100%; accent-color: var(--p); margin-top: 6px; }
.amt-plan__form output { font-weight: 800; color: var(--p); }
.amt-plan__goals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amt-plan__goal, .amt-plan__chips label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; cursor: pointer; }
.amt-plan__goal:has(input:checked), .amt-plan__chips label:has(input:checked) { border-color: var(--p); background: var(--soft); }
.amt-plan__goal.is-sugg { border-style: dashed; border-color: var(--ac); }
.amt-plan__goal em { display: inline-block; font-style: normal; font-size: .72rem; color: #8a4a22; background: #fbeee5; border-radius: 99px; padding: 0 .6em; margin-inline-start: 4px; }
.amt-plan__detail { background: #fbfdfc; }
.amt-plan__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amt-plan__err { color: #b42318; font-weight: 700; margin: 6px 0; }
.amt-plan__rule { background: var(--soft); border-radius: 14px; padding: 12px 16px; line-height: 2; margin: 10px 0; }
.amt-plan__g { border-top: 1px solid var(--line); margin-top: 20px; padding-top: 4px; }
.amt-plan__real { background: #fbfdfc; border: 1px solid var(--line); border-radius: 14px; padding: 6px 16px; }
.amt-plan__real p { margin: 6px 0; }
.amt-plan__real span { font-weight: 700; color: var(--mut); }
.amt-plan__targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 0 6px; text-align: center; }
.amt-plan__targets div { background: var(--soft); border-radius: 14px; padding: 10px; }
.amt-plan__targets span { display: block; font-size: .8rem; color: var(--mut); }
.amt-plan__targets b { font-size: 1.5rem; color: var(--pd); }
.amt-plan__weeks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.amt-plan__week { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.amt-plan__week.is-now { border: 2px solid var(--p); }
.amt-plan__wh span { display: block; font-size: .8rem; color: var(--mut); }
.amt-plan__wh strong { color: var(--pd); }
.amt-plan__wh em { font-style: normal; font-size: .72rem; background: var(--p); color: #fff; border-radius: 99px; padding: .1em .7em; margin-inline-start: 6px; }
.amt-plan__week p { margin: 8px 0; font-size: .93rem; }
.amt-plan__week dl { margin: 0; font-size: .88rem; line-height: 1.8; }
.amt-plan__week dt { font-weight: 700; color: var(--mut); margin-top: 6px; }
.amt-plan__week dd { margin: 0; }
.amt-plan__rate { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .86rem; font-weight: 700; }
.amt-plan__rate input { width: 72px !important; flex: none; margin: 0 !important; height: auto !important; border: 1px solid var(--line); border-radius: 10px; padding: .35em .5em; font: inherit; text-align: center; transition: .2s; }
.amt-plan__rate input.is-saved { border-color: #16a34a; box-shadow: 0 0 0 3px rgba(22,163,74,.2); }
.amt-plan__ifs { padding-inline-start: 1.1em; line-height: 2; }
.amt-plan__ifs li { margin-bottom: 6px; }
.amt-plan__track { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; direction: rtl; max-width: 560px; }
.amt-plan__day { aspect-ratio: 1; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; font-size: .85rem; color: var(--mut); cursor: pointer; padding: 0; }
.amt-plan__day.is-today { border: 2px solid var(--ac); color: var(--ink); font-weight: 800; }
.amt-plan__day.is-on { background: var(--p); border-color: var(--p); color: #fff; }
.amt-plan__day.is-on::after { content: " ✓"; }
.amt-plan__day:disabled { cursor: default; }
.amt-plan__actions { margin-top: 12px; }


/* Account pages */
.amt-accnav { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: #fff; border-radius: var(--r); padding: 14px 18px; box-shadow: var(--sh); margin-bottom: 20px; }
.amt-accnav__who { display: flex; align-items: center; gap: 12px; }
.amt-accnav__who b { display: block; line-height: 1.5; }
.amt-accnav__who small { display: block; color: var(--mut); font-size: .82rem; }
.amt-accnav__av { width: 44px; height: 44px; border-radius: 50%; background: var(--soft); color: var(--pd); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.amt-accnav__av svg { width: 22px; height: 22px; }
.amt-accnav__links { display: flex; gap: 6px; flex-wrap: wrap; }
.amt-accnav__links a { padding: .5em 1.1em; border-radius: 999px; color: var(--pd); font-weight: 700; font-size: .92rem; text-decoration: none; border: 1px solid var(--line); }
.amt-accnav__links a:hover, .amt-accnav__links a.is-on { background: var(--p); border-color: var(--p); color: #fff; }
.amt-ident { text-align: right; margin: 0 0 10px; }
.amt-step__n svg { display: block; }


.amt-gw { border: 0; padding: 0; margin: 14px 0 6px; }

/* Appointment booking */
.amt-appt-intro { color: var(--mut); line-height: 2; }
.amt-bk + .amt-bk { margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }
.amt-bk-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.amt-bk-type { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: right; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 16px; padding: 14px 16px; cursor: pointer; transition: .15s; }
.amt-bk-type b { font-size: 1.02rem; }
.amt-bk-type span { font-size: .84rem; color: var(--mut); }
.amt-bk-type small { font-size: .8rem; color: var(--mut); line-height: 1.7; }
.amt-bk-type em { font-style: normal; font-weight: 800; color: var(--pd); margin-top: auto; padding-top: 6px; }
.amt-bk-type.is-on { border-color: var(--p); background: var(--soft); box-shadow: 0 0 0 3px rgba(63,111,107,.15); }
@media (hover: hover) { .amt-bk-type:hover, .amt-bk-day:hover, .amt-bk-time:hover { border-color: var(--p); } }
.amt-bk-dayrow { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.amt-bk-day { flex: none; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 0; font: inherit; color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: 14px; padding: 8px 4px; cursor: pointer; scroll-snap-align: start; line-height: 1.6; }
.amt-bk-day span { font-size: .78rem; color: var(--mut); }
.amt-bk-day b { font-size: 1.35rem; color: var(--pd); line-height: 1.3; }
.amt-bk-day small { font-size: .7rem; color: var(--p); margin-top: 2px; }
.amt-bk-day.is-on { background: var(--p); border-color: var(--p); }
.amt-bk-day.is-on span, .amt-bk-day.is-on b, .amt-bk-day.is-on small { color: #fff; }
.amt-bk-times { margin-top: 8px; scroll-margin-top: 120px; }
.amt-bk-dlabel { font-weight: 700; margin: 0 0 8px; }
.amt-bk-times > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.amt-bk-time { font: inherit; font-weight: 700; font-size: 1rem; background: #fff; color: var(--ink); border: 2px solid var(--line); border-radius: 12px; padding: .6em .4em; cursor: pointer; }
.amt-bk-time.is-on { background: var(--p); border-color: var(--p); color: #fff; }
#amt-bk-3 { scroll-margin-top: 110px; }
.amt-bk-sum { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 10px; margin-bottom: 16px; }
.amt-bk-sum div { background: var(--soft); border-radius: 14px; padding: 10px 14px; }
.amt-bk-sum span { display: block; font-size: .78rem; color: var(--mut); }
.amt-bk-sum b { color: var(--pd); }
.amt-bk-sum s { color: var(--mut); font-weight: 400; font-size: .85em; }
.amt-bk-empty { box-shadow: none; border: 1px dashed var(--line); }
.amt-ares { text-align: center; }
.amt-ares__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; font-size: 2rem; font-weight: 800; background: #e3f4ea; color: #16794a; }
.amt-ares.is-warn .amt-ares__icon { background: #fff4df; color: #9a6400; }
.amt-ares h3 { margin: 0 0 6px; }
.amt-asum { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; text-align: right; max-width: 460px; margin: 18px auto; background: var(--soft); border-radius: 16px; padding: 16px 20px; }
.amt-asum dt { color: var(--mut); font-size: .9rem; }
.amt-asum dd { margin: 0; font-weight: 700; }
.amt-ares__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.amt-myappts tr.is-past td { opacity: .65; }
.amt-st { display: inline-block; border-radius: 99px; padding: .15em .8em; font-size: .8rem; font-weight: 700; background: #eef1f0; color: var(--mut); }
.amt-st--booked { background: #e3f4ea; color: #16794a; }
.amt-st--pending, .amt-st--conflict { background: #fff4df; color: #9a6400; }
.amt-st--cancelled, .amt-st--no_show { background: #fdeceb; color: #a1281c; }
.amt-link--danger { color: #b42318; }
.amt-empty { text-align: center; }


/* Source & validity box */
.amt-sources { background: #fff; border-radius: var(--r); box-shadow: var(--sh); padding: 22px 24px; margin: 24px 0; direction: rtl; text-align: right; }
.amt-sources h2 { font-size: 1.15rem; margin: 0 0 10px; color: var(--pd, #2a4b48); }
.amt-sources p { line-height: 2; }
.amt-sources__refs { padding-inline-start: 1.1em; line-height: 1.9; font-size: .9rem; }
.amt-sources__refs li { margin-bottom: 10px; }
.amt-sources__cite { display: block; text-align: left; font-size: .84rem; color: var(--mut, #5b6b69); margin: 2px 0; }
.amt-sources a { color: var(--p, #3f6f6b); font-weight: 700; word-break: break-word; }
.amt-sources--compact h2 { font-size: 1.05rem; }

/* Extended reports (matrix test, DASS-21) */
.amt-x h3 { display: flex; align-items: center; gap: 10px; }
.amt-x__n { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); color: var(--pd); display: grid; place-items: center; font-size: .95rem; font-weight: 800; }
.amt-x h4 { margin: 18px 0 8px; color: var(--pd); }
.amt-x p { line-height: 2; }
.amt-x-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.amt-x-facts--3 { grid-template-columns: repeat(3, 1fr); }
.amt-x-facts > div { background: var(--soft); border-radius: 14px; padding: 12px; text-align: center; border-top: 4px solid transparent; }
.amt-x-facts b { display: block; font-size: 1.5rem; color: var(--pd); line-height: 1.5; }
.amt-x-facts span, .amt-x-facts small { display: block; font-size: .82rem; color: var(--mut); }
.amt-x-facts--3 b { font-size: 1.2rem; }
.amt-x-facts .amt-tone-good { border-color: #3f8f6b; } .amt-x-facts .amt-tone-mild { border-color: #c7a43a; } .amt-x-facts .amt-tone-warn { border-color: #d9822b; } .amt-x-facts .amt-tone-high { border-color: #c2410c; }
.amt-x-key { background: #fff8ec; border: 1px solid #f1d9a8; border-radius: 12px; padding: 10px 14px; }
.amt-x-tbl { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 6px 0 10px; }
.amt-x-tbl th, .amt-x-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.amt-x-tbl th { color: var(--mut); font-weight: 700; font-size: .82rem; background: #fafcfb; }
.amt-x-list { padding-inline-start: 1.2em; line-height: 2; }
.amt-x-list li { margin-bottom: 4px; }
.amt-x-chart { display: grid; gap: 10px; margin: 6px 0 10px; }
.amt-x-row { display: grid; grid-template-columns: 210px 1fr 48px 110px; gap: 10px; align-items: center; font-size: .88rem; }
.amt-x-row__bar { position: relative; height: 22px; background: #f1f4f3; border-radius: 99px; }
.amt-x-row__bar span { position: absolute; inset: 0 0 0 auto; border-radius: 99px; background: var(--p); }
.amt-x-row__bar i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); opacity: .55; transform: translateX(50%); }
.amt-x-row b { color: var(--pd); }
.amt-x-row em { font-style: normal; font-size: .75rem; border-radius: 99px; padding: .15em .7em; background: #eef1f0; color: var(--mut); text-align: center; }
.amt-x-row em.is-up { background: #e3f4ea; color: #16794a; }
.amt-x-row em.is-down { background: #fff4df; color: #9a6400; }
.amt-x-ex { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 14px; break-inside: avoid; }
.amt-x-ex h4 { margin-top: 0; }
.amt-x-ex__imgs { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; align-items: end; max-width: 620px; }
.amt-x-ex__imgs figure { margin: 0; text-align: center; }
.amt-x-ex__imgs img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.amt-x-ex__imgs .is-bad img { border: 2px solid #dc2626; }
.amt-x-ex__imgs .is-ok img { border: 2px solid #16a34a; }
.amt-x-ex__imgs .is-blank span { display: grid; place-items: center; aspect-ratio: 1; border: 2px dashed var(--line); border-radius: 10px; color: var(--mut); font-size: .85rem; }
.amt-x-ex__imgs figcaption { font-size: .78rem; color: var(--mut); margin-top: 4px; }
.amt-x-ex dl { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: .92rem; line-height: 1.9; }
.amt-x-ex dt { font-weight: 700; color: var(--mut); }
.amt-x-ex dd { margin: 0; }
.amt-x-box { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--line); border-radius: 5px; }
.amt-x-plan td:first-child { white-space: nowrap; font-weight: 700; }
.amt-x-fill { color: #b9c3c0; white-space: nowrap; letter-spacing: .1em; }
.amt-x-care { background: #fff4f2; border: 2px solid #f3b6a8; border-radius: var(--r); padding: 16px 20px; color: #7a1f10; }
.amt-x-care p { margin: 6px 0 0; line-height: 2; }
.amt-x-care a { color: #7a1f10; font-weight: 800; }
.amt-x-head { margin-bottom: 10px; }
.amt-x-groups { display: grid; gap: 12px; }
.amt-x-group { border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; break-inside: avoid; }
.amt-x-group__h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.amt-x-group__h em { font-style: normal; font-size: .8rem; color: var(--mut); }
.amt-x-dots { display: inline-flex; gap: 4px; }
.amt-x-dots i { width: 14px; height: 14px; border-radius: 50%; background: #e4e9e7; }
.amt-x-dots i.on { background: var(--ac); }
.amt-x-group ul { list-style: none; margin: 8px 0 0; padding: 0; font-size: .88rem; }
.amt-x-group li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px dashed var(--line); }
.amt-x-v { flex: none; font-weight: 700; font-size: .78rem; border-radius: 99px; padding: .1em .7em; background: #eef1f0; color: var(--mut); align-self: center; }
.amt-x-v2 { background: #fff4df; color: #9a6400; } .amt-x-v3 { background: #fdeceb; color: #a1281c; }
.amt-x-sev { display: grid; gap: 10px; margin-bottom: 10px; }
.amt-x-sev__row, .amt-x-sev__legend { display: grid; grid-template-columns: 90px 1fr 110px; gap: 10px; align-items: center; }
.amt-x-sev__bar, .amt-x-sev__legend > div { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.amt-x-sev__bar i { height: 22px; border-radius: 6px; background: #eef1f0; }
.amt-x-sev__bar i.on.amt-tone-good { background: #3f8f6b; } .amt-x-sev__bar i.on.amt-tone-mild { background: #c7a43a; } .amt-x-sev__bar i.on.amt-tone-warn { background: #d9822b; } .amt-x-sev__bar i.on.amt-tone-high { background: #c2410c; }
.amt-x-sev__bar i.cur { outline: 2px solid var(--ink); outline-offset: 1px; }
.amt-x-sev__legend em { font-style: normal; font-size: .72rem; color: var(--mut); text-align: center; }
.amt-x-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.amt-x-tipbox { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.amt-x-tipbox h4 { margin-top: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.amt-x-tipbox ul { padding-inline-start: 1.1em; margin: 0; line-height: 1.9; font-size: .9rem; }

/* MAAS report */
.amt-mx-scale { margin: 6px 0 14px; }
.amt-mx-scale__track { position: relative; display: flex; height: 30px; border-radius: 99px; overflow: visible; font-size: .75rem; }
.amt-mx-scale__track > span { display: grid; place-items: center; color: #4b5b55; }
.amt-mx-scale__track .z-low { background: #fdebd8; border-radius: 0 99px 99px 0; }
.amt-mx-scale__track .z-mid { background: #fbf3dc; }
.amt-mx-scale__track .z-high { background: #e5f4ec; border-radius: 99px 0 0 99px; }
.amt-mx-scale i.ref { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--ink); opacity: .5; transform: translateX(50%); }
.amt-mx-scale__legend i.ref { position: static; display: inline-block; height: 12px; vertical-align: middle; transform: none; }
.amt-mx-scale b.you { position: absolute; top: -30px; transform: translateX(50%); background: var(--pd); color: #fff; font-size: .75rem; padding: 2px 10px; border-radius: 99px; white-space: nowrap; }
.amt-mx-scale b.you::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--pd); height: 0; }
.amt-mx-scale { padding-top: 30px; }
.amt-mx-scale__ticks { display: flex; justify-content: space-between; font-size: .72rem; color: var(--mut); margin-top: 4px; }
.amt-mx-scale__ticks em { font-style: normal; }
.amt-mx-scale__legend { font-size: .78rem; color: var(--mut); margin: 4px 0 0; }
.amt-mx-bar.amt-tone-good span { background: #3f8f6b; } .amt-mx-bar.amt-tone-mild span { background: #c7a43a; } .amt-mx-bar.amt-tone-warn span { background: #d9822b; } .amt-mx-bar.amt-tone-high span { background: #c2410c; }
.amt-x-row em.amt-mx-chip.amt-tone-good { background: #e5f4ec; color: #1e6b45; } .amt-x-row em.amt-mx-chip.amt-tone-mild { background: #fbf3dc; color: #8a6a00; } .amt-x-row em.amt-mx-chip.amt-tone-warn { background: #fdebd8; color: #9a4d00; } .amt-x-row em.amt-mx-chip.amt-tone-high { background: #fde4dc; color: #9b2c0c; }
.amt-x-row.amt-mx-row { grid-template-columns: 270px 1fr 44px 100px; }
.amt-mx-row .amt-x-row__l small { display: block; color: var(--mut); font-size: .78rem; line-height: 1.7; margin-top: 2px; }
.amt-mx-sit h4 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.amt-mx-life { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.amt-mx-area { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; border-top: 4px solid #d9822b; break-inside: avoid; }
.amt-mx-area--good { border-top-color: #3f8f6b; } .amt-mx-area--mild { border-top-color: #c7a43a; }
.amt-mx-area__h { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: start; }
.amt-mx-area__h h4 { margin: 0 0 2px; }
.amt-mx-area__h small { color: var(--mut); font-size: .8rem; line-height: 1.7; display: block; }
.amt-mx-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: grid; place-items: center; }
.amt-mx-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--pd); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.amt-mx-area p { font-size: .93rem; margin: 10px 0 6px; }
.amt-mx-area__t { font-size: .82rem; color: var(--pd); }
.amt-mx-area ul { padding-inline-start: 1.1em; margin: 4px 0 0; font-size: .88rem; line-height: 1.9; }

.amt-mx-str { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 12px; }
.amt-mx-str > div { background: #f2f8f5; border: 1px solid #cfe6da; border-radius: 14px; padding: 12px 14px; display: grid; grid-template-columns: 26px 1fr; gap: 2px 8px; align-items: start; }
.amt-mx-str i { grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: #3f8f6b; color: #fff; display: grid; place-items: center; font-style: normal; font-size: .85rem; font-weight: 800; }
.amt-mx-str b { color: #1e6b45; font-size: .93rem; line-height: 1.7; }
.amt-mx-str span { font-size: .84rem; color: var(--mut); line-height: 1.8; }
.amt-mx-final { margin-top: 12px; }
.amt-mx-films { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amt-mx-film { display: grid; grid-template-columns: 110px 1fr; gap: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 12px; break-inside: avoid; }
.amt-mx-film h4 { margin: 0 0 2px; font-size: 1rem; }
.amt-mx-film h4 small { font-weight: 400; color: var(--mut); font-size: .78rem; }
.amt-mx-film p { font-size: .88rem; line-height: 1.9; margin: 6px 0; }
.amt-mx-film .amt-muted { font-size: .78rem; }
.amt-mx-film__tip { background: var(--soft); border-radius: 10px; padding: 6px 10px; }
.amt-mx-poster { aspect-ratio: 2 / 3; border-radius: 10px; overflow: hidden; }
.amt-mx-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amt-mx-poster a { display: block; height: 100%; }
.amt-mx-poster__ph { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 10px; box-sizing: border-box; color: #fff; background: linear-gradient(160deg, #2f6f5b 0%, #1f3d36 60%, #b5733f 140%); position: relative; }
.amt-mx-poster__ph::before { content: ""; position: absolute; top: 14px; inset-inline-end: 14px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); background: radial-gradient(circle at 60% 50%, rgba(255,255,255,.55) 0 22%, transparent 24%); }
.amt-mx-poster__ph b { font-size: .95rem; line-height: 1.5; }
.amt-mx-poster__ph em { font-style: normal; font-size: .68rem; opacity: .8; }
.amt-mx-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 6px 0 10px; }
.amt-mx-photos > div { border: 1px dashed #c9d6d1; border-radius: 14px; padding: 12px; text-align: center; }
.amt-mx-photos .amt-mx-ico { margin: 0 auto 6px; }
.amt-mx-photos b { display: block; font-size: .9rem; color: var(--pd); line-height: 1.7; }
.amt-mx-photos small { display: block; font-size: .8rem; color: var(--mut); line-height: 1.8; margin-top: 4px; }
.amt-mx-rule { background: #fff8ec; border: 1px solid #f1d9a8; border-radius: 12px; padding: 10px 14px; font-size: .92rem; }

/* Shared: books */
.amt-xb-books { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amt-xb-book { display: grid; grid-template-columns: 10px 1fr; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; break-inside: avoid; }
.amt-xb-book__spine { border-radius: 4px; background: linear-gradient(180deg, var(--p), var(--pd)); }
.amt-xb-book b { font-size: .97rem; }
.amt-xb-book small { color: var(--mut); font-size: .76rem; }
.amt-xb-book .amt-muted { display: block; font-size: .8rem; }
.amt-xb-book p { margin: 6px 0 0; font-size: .88rem; line-height: 1.85; }

/* BTPS (perfectionism) report */
.amt-bt-profile { display: grid; grid-template-columns: 360px 1fr; gap: 22px; align-items: start; }
.amt-bt-radar { width: 100%; max-width: 360px; display: block; margin: 0 auto; direction: ltr; overflow: visible; }
.amt-bt-radar .g { fill: none; stroke: #e3e9e6; }
.amt-bt-radar .ax { stroke: #d5ddd9; }
.amt-bt-radar .hi { fill: none; stroke: #d9822b; stroke-width: 1.5; stroke-dasharray: 5 4; }
.amt-bt-radar .lo { fill: none; stroke: #3f8f6b; stroke-width: 1.5; stroke-dasharray: 2 4; }
.amt-bt-radar .you { fill: rgba(47, 111, 91, .22); stroke: var(--pd); stroke-width: 2.5; stroke-linejoin: round; }
.amt-bt-radar .dot { stroke: #fff; stroke-width: 2; fill: var(--pd); }
.amt-bt-radar .dot.warn { fill: #d9822b; } .amt-bt-radar .dot.mild { fill: #c7a43a; } .amt-bt-radar .dot.good { fill: #3f8f6b; }
.amt-bt-radar .lb { font: 700 13px var(--font, inherit); fill: var(--ink); }
.amt-bt-radar .vl { font: 12px var(--font, inherit); fill: var(--mut); }
.amt-bt-legend { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: .78rem; color: var(--mut); }
.amt-bt-legend i { display: inline-block; width: 20px; height: 0; vertical-align: middle; margin-inline-end: 6px; border-top: 3px solid var(--pd); }
.amt-bt-legend i.hi { border-top: 2px dashed #d9822b; } .amt-bt-legend i.lo { border-top: 2px dotted #3f8f6b; }
.amt-bt-dim { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 0 0 16px; border-inline-start: 5px solid #d9822b; }
.amt-bt-dim--mild { border-inline-start-color: #c7a43a; } .amt-bt-dim--good { border-inline-start-color: #3f8f6b; }
.amt-bt-dim__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.amt-bt-dim__h h4 { margin: 0; font-size: 1.05rem; }
.amt-bt-dim__h small { font-weight: 400; color: var(--mut); font-size: .78rem; }
.amt-bt-what { font-size: .9rem; }
.amt-bt-items { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 6px; }
.amt-bt-it { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 7px 12px; border-radius: 10px; background: #f6f8f7; font-size: .88rem; }
.amt-bt-it em { font-style: normal; font-size: .78rem; white-space: nowrap; padding: 2px 10px; border-radius: 99px; background: #e9eeec; color: var(--mut); }
.amt-bt-it--agree em { background: #fdebd8; color: #9a4d00; } .amt-bt-it--disagree em { background: #e5f4ec; color: #1e6b45; }
.amt-bt-sub { margin: 10px 0; }
.amt-bt-sub h5, .amt-bt-two h5 { margin: 0 0 4px; font-size: .93rem; color: var(--pd); }
.amt-bt-sub p { margin: 0; font-size: .92rem; }
.amt-bt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 12px; }
.amt-bt-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.amt-bt-tags li { background: var(--soft); border-radius: 99px; padding: 3px 12px; font-size: .82rem; }
.amt-bt-note { background: #fff8ec; border: 1px solid #f1d9a8; border-radius: 12px; padding: 8px 12px; font-size: .88rem; }
.amt-bt-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.amt-bt-grid3 > div { border-radius: 12px; padding: 8px 12px; text-align: center; background: #f6f8f7; }
.amt-bt-grid3 span { display: block; font-size: .8rem; color: var(--mut); }
.amt-bt-grid3 .amt-tone-warn { background: #fdebd8; } .amt-bt-grid3 .amt-tone-mild { background: #fbf3dc; } .amt-bt-grid3 .amt-tone-good { background: #e5f4ec; }
.amt-bt-pat { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 10px; background: linear-gradient(180deg, #fbfdfc, #fff); }
.amt-bt-pat h4 { margin: 6px 0 4px; }
.amt-bt-pat p { margin: 0; font-size: .93rem; }
.amt-mx-str em { font-style: normal; color: #4b5b55; }
.amt-bt-traps, .amt-bt-needs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.amt-bt-trap, .amt-bt-need { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; border-top: 4px solid #d9822b; break-inside: avoid; }
.amt-bt-trap--mild, .amt-bt-need--mild { border-top-color: #c7a43a; } .amt-bt-trap--good, .amt-bt-need--good { border-top-color: #3f8f6b; }
.amt-bt-trap__h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.amt-bt-trap__h h4 { margin: 0; }
.amt-bt-trap p, .amt-bt-need p { margin: 8px 0 0; font-size: .9rem; }
.amt-bt-q { color: var(--mut); font-style: italic; }
.amt-bt-areas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amt-bt-topics { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 7px; font-size: .88rem; line-height: 1.85; }
.amt-bt-topics li { padding-inline-start: 14px; position: relative; }
.amt-bt-topics li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: #3f8f6b; }
.amt-bt-topics li.l2::before { background: #d9822b; } .amt-bt-topics li.l3::before { background: #c7a43a; }
.amt-bt-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: .92rem; }
.amt-bt-table th { background: var(--soft); text-align: start; padding: 10px 14px; font-size: .88rem; }
.amt-bt-table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; width: 50%; }
.amt-bt-table td:first-child { color: #9a4d00; } .amt-bt-table td:last-child { color: #1e6b45; font-weight: 600; }
.amt-bt-summary { font-size: 1rem; line-height: 2.1; background: var(--soft); border-radius: 14px; padding: 14px 18px; }

/* CBI (burnout) report */
.amt-cb-bars { margin: 6px 0 4px; }
.amt-cb-bar, .amt-cb-src__r { display: grid; grid-template-columns: 220px 1fr 44px; gap: 12px; align-items: center; margin-bottom: 12px; }
.amt-cb-bar__l b, .amt-cb-src__r b { display: block; font-size: .93rem; }
.amt-cb-bar__l small, .amt-cb-src__r small { display: block; font-size: .78rem; color: var(--mut); line-height: 1.7; }
.amt-cb-bar__t { position: relative; height: 14px; border-radius: 99px; background: #edf1ef; }
.amt-cb-bar__t > span { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 99px; background: #3f8f6b; }
.amt-cb-bar__t > span.amt-tone-mild { background: #c7a43a; } .amt-cb-bar__t > span.amt-tone-warn { background: #d9822b; } .amt-cb-bar__t > span.amt-tone-high { background: #c2410c; }
.amt-cb-bar__t i { position: absolute; top: -4px; bottom: -4px; width: 2px; z-index: 1; }
.amt-cb-bar__t i.z { background: rgba(0,0,0,.18); }
.amt-cb-bar__t i.ref, .amt-cb-legend i.ref { background: var(--ink); opacity: .55; width: 2px; }
.amt-cb-bar__v { font-size: 1.05rem; text-align: center; }
.amt-cb-scale { position: relative; height: 18px; margin: -4px 232px 0 56px; font-size: .72rem; color: var(--mut); }
.amt-cb-scale span { position: absolute; transform: translateX(50%); white-space: nowrap; }
.amt-cb-scale span:first-child { inset-inline-start: 0; }
.amt-cb-legend { font-size: .78rem; color: var(--mut); margin: 10px 0; }
.amt-cb-legend i.ref { display: inline-block; height: 12px; vertical-align: middle; margin-inline-end: 4px; }
.amt-cb-items { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 6px; }
.amt-cb-items li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 7px 12px; border-radius: 10px; background: #f6f8f7; font-size: .88rem; }
.amt-cb-items em { font-style: normal; font-size: .78rem; white-space: nowrap; padding: 2px 10px; border-radius: 99px; background: #e5f4ec; color: #1e6b45; }
.amt-cb-items em.amt-tone-mild { background: #fbf3dc; color: #8a6a00; } .amt-cb-items em.amt-tone-warn { background: #fdebd8; color: #9a4d00; } .amt-cb-items em.amt-tone-high { background: #fde4dc; color: #9b2c0c; }
.amt-cb-quad { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 520px; margin: 10px auto 18px; padding: 0 0 26px; padding-inline-start: 30px; }
.amt-cb-quad > div { border: 1px dashed #c9d6d1; border-radius: 14px; padding: 14px; text-align: center; min-height: 86px; display: flex; flex-direction: column; justify-content: center; gap: 2px; color: var(--mut); }
.amt-cb-quad > div b { color: var(--ink); font-size: .93rem; }
.amt-cb-quad > div small { font-size: .78rem; }
.amt-cb-quad > div.is-me { border: 2px solid var(--pd); background: var(--soft); }
.amt-cb-quad > div em { font-style: normal; font-size: .75rem; color: #fff; background: var(--pd); border-radius: 99px; padding: 1px 10px; align-self: center; margin-top: 4px; }
.amt-cb-quad__y { position: absolute; inset-inline-start: -24px; top: 50%; transform: translateY(-50%) rotate(-90deg); font-size: .75rem; color: var(--mut); white-space: nowrap; }
.amt-cb-quad__x { position: absolute; bottom: 0; inset-inline: 0; text-align: center; font-size: .75rem; color: var(--mut); }
.amt-cb-src__r { padding: 6px 8px; border-radius: 12px; margin-bottom: 6px; }
.amt-cb-src__r.is-top { background: #fff6ec; }
.amt-cb-six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 6px 0 10px; }
.amt-cb-six > div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.amt-cb-six b { display: block; color: var(--pd); font-size: .9rem; }
.amt-cb-six small { font-size: .82rem; color: var(--mut); line-height: 1.8; }

@media (max-width: 760px) {
	.amt-cb-bar, .amt-cb-src__r { grid-template-columns: 1fr 40px; gap: 4px 10px; }
	.amt-cb-bar__l, .amt-cb-src__r > span:first-child { grid-column: 1 / -1; }
	.amt-cb-scale { margin: -4px 0 0 50px; }
	.amt-cb-six { grid-template-columns: 1fr 1fr; }
	.amt-cb-items li { flex-direction: column; align-items: flex-start; gap: 4px; }
	.amt-bt-profile, .amt-bt-two, .amt-bt-traps, .amt-bt-needs, .amt-bt-areas, .amt-xb-books { grid-template-columns: 1fr; }
	.amt-bt-it { flex-direction: column; align-items: flex-start; gap: 4px; }
	.amt-bt-table th, .amt-bt-table td { padding: 8px 10px; font-size: .85rem; }
	.amt-mx-str, .amt-mx-films { grid-template-columns: 1fr; }
	.amt-mx-photos { grid-template-columns: 1fr 1fr; }
	.amt-mx-film { grid-template-columns: 90px 1fr; }
	.amt-mx-life { grid-template-columns: 1fr; }
	.amt-x-row.amt-mx-row { grid-template-columns: 1fr 44px; }
	.amt-mx-area__h { grid-template-columns: 40px 1fr; }
	.amt-mx-area__h .amt-chip { grid-column: 2; justify-self: start; }
	.amt-x-facts { grid-template-columns: repeat(2, 1fr); }
	.amt-x-facts--3, .amt-x-tips { grid-template-columns: 1fr; }
	.amt-x-row { grid-template-columns: 1fr 44px; }
	.amt-x-row__l { grid-column: 1 / -1; }
	.amt-x-row em { grid-column: 1 / -1; justify-self: start; }
	.amt-x-ex dl { grid-template-columns: 1fr; gap: 0; }
	.amt-x-ex dd { margin-bottom: 8px; }
	.amt-x-sev__row, .amt-x-sev__legend { grid-template-columns: 70px 1fr 80px; }
	.amt-x-plan th:nth-child(4), .amt-x-plan td:nth-child(4) { display: none; }
	.amt-bk-sum { grid-template-columns: 1fr; }
	.amt-ni-grid, .amt-plan__goals, .amt-plan__row, .amt-plan__weeks { grid-template-columns: 1fr; }
	.amt-ni-str dl { grid-template-columns: 1fr; gap: 0; }
	.amt-ni-str dd { margin-bottom: 8px; }
	.amt-plan__track { grid-template-columns: repeat(6, 1fr); }
	.amt-guide__parts { grid-template-columns: 1fr; }
	.amt-iq__facts { grid-template-columns: 1fr; }
	.amt-2col, .amt-recs, .amt-consult { grid-template-columns: 1fr; }
	.amt-grid5 { grid-template-columns: repeat(2, 1fr); }
	.amt-facets tr { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; padding: 6px 0; }
	.amt-facets th { width: auto; padding: 0; }
	.amt-facets td { padding: 0; }
	.amt-facets td:last-child { grid-column: 1 / -1; font-size: .84rem; padding-top: 4px; }
	.amt-facets__bar { width: auto; align-self: center; }
	.amt-card, .amt-report__head { padding: 20px; }
}
@media print {
	.amt-noprint, header, footer, .am-header, .am-topbar, .am-footer, .am-page-hero, .am-to-top, #wpadminbar { display: none !important; }
	.amt-card, .amt-report__head, .amt-mini { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
	.amt-facets { display: block; }
	.amt-facets[open] summary, .amt-facets summary { display: none; }
	.amt-facets > table { display: table !important; }
	body { background: #fff !important; }
	.amt-ni, .amt-plan { break-inside: auto; }
	.amt-ni-box, .amt-ni-list li, .amt-plan__week, .amt-ni-str details { break-inside: avoid; }
	.amt-plan__form { display: none; }
	.amt-plan__day.is-on { background: #ddd !important; color: #000; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
