/* A comforting patient space inside TalkMed's existing identity. */
.tm-space-home{background:linear-gradient(130deg,#fffffff0,var(--focus-bg));border-color:var(--focus-border);border-radius:25px}
.tm-space-home-content{padding:19px 18px 20px}.tm-space-home-body{display:grid;grid-template-columns:minmax(0,1fr) 104px;align-items:center;gap:14px}.tm-space-eyebrow{display:block;font-size:.875rem;line-height:1.5;font-weight:600;letter-spacing:.01em;color:var(--focus-ink,#6c4687)}
.tm-space-home h2{font-size:1.3rem;line-height:1.3;font-weight:650;letter-spacing:-.025em;color:#4b2f60;margin:8px 0 10px;overflow-wrap:anywhere}.tm-space-home-content p{font-size:.9375rem;line-height:1.6;color:#6d5879;margin:0}.tm-space-home-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.tm-space-home-actions .btn,.tm-space-home-content>.btn{min-height:46px;padding:11px 14px;font-size:.875rem;white-space:normal;line-height:1.5;border-radius:14px}.tm-space-home-content>.btn{margin-top:15px}
.tm-space-home-credit{padding:0 16px 7px;color:#786786;font-size:.75rem;line-height:1.5;background:#ffffff7d}.tm-space-home-credit summary{min-height:35px;padding:8px 0;cursor:pointer}.tm-space-home-credit a{color:inherit}.tm-space-home-credit>span{display:block;padding:3px 0 7px}
.tm-space-anatomy{margin:0;min-width:0}.tm-anatomy-stage{display:flex;justify-content:center;align-items:center;background:linear-gradient(145deg,#fff,#faf7ff);border:1px solid #e9e0ef;border-radius:23px;padding:24px 20px;overflow:hidden}.tm-anatomy-image{position:relative;line-height:0;max-width:310px}.tm-anatomy-image img{display:block;width:auto;height:auto;max-width:100%;max-height:240px;object-fit:contain}.tm-anatomy-point{position:absolute;display:block;width:13px;height:13px;transform:translate(-50%,-50%);border:2px solid #fff;border-radius:50%;background:#69428a;box-shadow:0 0 0 4px #8d64a559;pointer-events:none}.tm-space-anatomy figcaption{font-size:.875rem;line-height:1.6;color:#705a80;margin:12px 4px 0}.tm-space-anatomy figcaption strong{display:block;font-size:1rem;color:#5d3f75;margin-bottom:5px}.tm-space-anatomy figcaption small{display:block;font-size:.75rem;color:#80718a;margin-top:5px}
.tm-space-anatomy-small .tm-anatomy-stage{height:110px;padding:13px 10px;border:1px solid #ffffffbd;background:#ffffffb0;border-radius:22px}.tm-space-anatomy-small img{max-height:87px;max-width:100%;width:auto}.tm-anatomy-prostate:not(.tm-space-anatomy-small) .tm-anatomy-image img{max-height:270px}
.tm-space-comfort{margin:0;border-radius:22px;overflow:hidden;background:#e8e4e5;position:relative}.tm-space-comfort img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}.tm-space-comfort figcaption{position:absolute;bottom:6px;right:7px;font-size:.75rem;line-height:1.3;color:#fff;background:#34273ba3;padding:3px 6px;border-radius:5px}.tm-space-comfort-small img{height:120px;aspect-ratio:auto;object-position:50% 50%}.tm-space-comfort-small figcaption{font-size:.75rem;right:4px;bottom:4px;padding:2px 3px}
.tm-space-page-heading{position:relative;padding:3px 0 10px}.tm-space-page-heading h1{font-size:clamp(1.65rem,5.6vw,2.1rem);line-height:1.22;font-weight:600;letter-spacing:-.025em;color:#4f3167;margin:8px 0 4px;overflow-wrap:anywhere}.tm-space-page-heading .text-link{font-size:.875rem;line-height:1.5;min-height:42px;padding:8px 0;margin:0;color:#77538f}
.tm-space-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;padding:5px;margin:8px 0 23px;border-radius:17px;background:#e9dff091;border:1px solid #e3d6ed}.tm-space-tabs .btn{padding:11px 4px;min-height:46px;font-size:.875rem;line-height:1.5;white-space:normal;border:0;box-shadow:none;border-radius:12px;background:transparent;color:#6e547d;font-weight:550}.tm-space-tabs .btn[aria-pressed=true]{background:#fff;color:#5d337b;box-shadow:0 2px 8px #66497f12}
.tm-space-explainer{display:grid;gap:18px;background:linear-gradient(125deg,#fff,var(--focus-bg));border:1px solid var(--focus-border);border-radius:26px;padding:22px 19px;margin-bottom:21px}.tm-space-explainer h2,.tm-space-concerns>h2,.tm-space-help>h2{font-size:1.1rem;line-height:1.45;font-weight:600;letter-spacing:-.01em;color:#533767;margin:0 0 12px}.tm-space-explainer p,.tm-space-help>p{font-size:1rem;line-height:1.7;color:#614c70;margin:0}.tm-space-explainer .tm-space-scope{font-size:.875rem;color:#7b6388;margin-top:13px}.tm-space-explainer .tm-anatomy-stage{background:#ffffffd9;border-color:#ffffffee}.tm-space-explainer .tm-space-comfort{margin-top:2px}
.tm-space-information,.tm-space-concerns{display:grid;gap:11px;margin:18px 0}.tm-space-info{background:#ffffffdc;border:1px solid #e5d9ec;border-radius:19px;overflow:hidden}.tm-space-info>summary{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;min-height:63px;padding:17px 17px;color:#59396f;font-size:1rem;font-weight:550;line-height:1.5;list-style:none;cursor:pointer}.tm-space-info>summary::-webkit-details-marker{display:none}.tm-space-info>summary:after{content:'+';flex:none;font-size:1.35rem;color:#906ea8;font-weight:400}.tm-space-info[open]>summary:after{content:'−'}.tm-space-info>div{padding:0 17px 18px}.tm-space-info p{font-size:1rem;line-height:1.7;color:#64536e;margin:2px 0 16px}.tm-space-info .tm-space-question{padding:13px 14px;border-left:2px solid #a284b9;border-radius:0 12px 12px 0;background:#f5eff9;color:#604575;font-size:.9375rem;line-height:1.6}.tm-space-question>span{display:block;font-size:.8125rem;font-weight:650;line-height:1.4;margin-bottom:7px;color:#886698}.tm-space-info-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin-top:15px}.tm-space-info-actions .btn{white-space:normal;min-height:45px;padding:10px 12px;font-size:.875rem;line-height:1.5;border-radius:12px}.tm-space-info-actions .text-link{padding-left:0}.tm-space-info>summary:focus-visible{outline:2px solid #785398;outline-offset:-4px;border-radius:17px}
.tm-space-document{display:flex;align-items:center;gap:13px;width:100%;min-height:83px;padding:17px;border:1px solid #d6e6e1;border-radius:19px;background:linear-gradient(130deg,#fff,#ebf6f2);color:#3f766b;font:inherit;text-align:left;cursor:pointer;margin:22px 0}.tm-space-document>svg{width:26px;height:26px;flex:none}.tm-space-document>span{min-width:0}.tm-space-document strong{display:block;font-size:1rem;font-weight:550;line-height:1.5}.tm-space-document small{display:block;font-size:.875rem;line-height:1.5;margin-top:5px;color:#65837c}
.tm-space-service-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:19px 0}.tm-space-service{display:flex;flex-direction:column;align-items:flex-start;gap:11px;padding:17px 14px;min-width:0;text-align:left;border:1px solid #e0d5ea;border-radius:20px;background:linear-gradient(140deg,#ffffffef,#f8f3fccb);color:#67457e;font:inherit;cursor:pointer;box-shadow:0 4px 16px #6a458508}.tm-space-service>span:first-child{display:grid;place-items:center;width:36px;height:36px;background:#f0e6f7;border-radius:12px}.tm-space-service svg{width:21px;height:21px}.tm-space-service strong{display:block;font-size:1rem;font-weight:550;line-height:1.5;overflow-wrap:anywhere}.tm-space-service small{display:block;font-size:.875rem;line-height:1.55;color:#786284;margin-top:7px}.tm-space-human{display:grid;gap:10px;margin:23px 0}.tm-space-human .btn{min-height:49px;white-space:normal;line-height:1.5;font-size:.9375rem}
.tm-space-ai{display:flex;align-items:flex-start;gap:13px;padding:20px 17px;border-radius:21px;border:1px solid #d5c2e6;background:linear-gradient(125deg,#f3eafa,#ffffffed);margin:26px 0 12px}.tm-space-ai>div{min-width:0}.tm-space-ai strong{font-size:1rem;font-weight:600;color:#65427c;line-height:1.5}.tm-space-ai p{font-size:.875rem;line-height:1.6;color:#7a6189;margin:7px 0 3px}.tm-space-ai .text-link{font-size:.875rem;min-height:44px;padding:9px 0;white-space:normal;text-align:left}.tm-space-ai .tm-ai-symbol{flex:none;width:39px;height:39px;border-radius:13px}.tm-space-ai .tm-ai-symbol svg{width:24px;height:24px}
.tm-space-survivors{border:1px solid #dfd0e8;border-radius:24px;overflow:hidden;margin:24px 0;background:#ffffffe3}.tm-space-survivors>img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover}.tm-space-survivors>div{padding:19px}.tm-space-survivors h2{font-size:1.35rem;line-height:1.4;font-weight:600;color:#5d3973;margin:6px 0 10px}.tm-space-survivors p{font-size:1rem;line-height:1.65;color:#76617f;margin:0 0 14px}.tm-space-survivors>div>div{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.tm-space-survivors .btn{white-space:normal;font-size:.875rem;line-height:1.5;min-height:44px}.tm-space-survivors small{display:block;color:#88758e;font-size:.75rem;margin-top:12px}.tm-space-sources{font-size:.8125rem;line-height:1.6;color:#7a6885;margin:18px 0}.tm-space-sources>summary{padding:12px 0;min-height:44px;cursor:pointer}.tm-space-sources p{margin:9px 0 13px}.tm-space-sources ul{padding-left:19px}.tm-space-sources li{margin-bottom:10px}.tm-space-sources a{color:#79568d;overflow-wrap:anywhere}.tm-space-urgent p{color:#64536e}
.tm-space-page .tm-home-events{border:1px solid #e6d6e3;border-radius:20px;margin:22px 0}
@media(min-width:680px){.tm-space-explainer{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:center;gap:25px;padding:25px}.tm-space-home-body{grid-template-columns:minmax(0,1fr) 135px}.tm-space-anatomy-small .tm-anatomy-stage{height:125px}.tm-space-anatomy-small img{max-height:105px}.tm-space-service-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.tm-space-home-body{grid-template-columns:minmax(0,1fr) 78px;gap:10px}.tm-space-home-content{padding:16px 14px}.tm-space-home h2{font-size:1.18rem}.tm-space-service-list{grid-template-columns:1fr}.tm-space-service{flex-direction:row}.tm-space-tabs .btn{font-size:.8125rem}.tm-space-home-actions{display:grid}.tm-space-home-actions .btn{width:100%}}
@media(prefers-reduced-motion:no-preference){.tm-space-service,.tm-space-home-actions .btn{transition:transform .18s,box-shadow .18s}.tm-space-service:active,.tm-space-home-actions .btn:active{transform:scale(.985)}.tm-space-info[open]>div{animation:tm-arrive .2s ease-out}}
@media(forced-colors:active){.tm-space-home,.tm-space-explainer,.tm-anatomy-stage,.tm-space-info,.tm-space-service,.tm-space-ai,.tm-space-document{background:Canvas;color:CanvasText;border:1px solid CanvasText}.tm-space-tabs .btn[aria-pressed=true]{outline:2px solid Highlight}.tm-anatomy-point{background:Highlight;border-color:Canvas}}

.tm-life-page>.tm-space-comfort{margin:0 0 20px}

/* Keep anatomical callouts aligned with the image's real bounds at every size. */
.tm-anatomy-image{width:min(100%,var(--diagram-width));max-width:100%;flex:none}.tm-anatomy-image img,.tm-space-anatomy-small img,.tm-anatomy-prostate:not(.tm-space-anatomy-small) .tm-anatomy-image img{width:100%;max-height:none;height:auto}
