/* Body-system illustrations and plain-language uses, with evidence in view. */
.profile-card{--system-ink:#08747a;--system-wash:#f8ece6;--system-line:#e9cdbf;border:1px solid #dfdfd6;border-radius:13px;min-height:0;box-shadow:0 2px 4px #34382903}
.profile-card.system-brain{--system-ink:#77628f;--system-wash:#f0edf6;--system-line:#dad1e8}
.profile-card.system-skin{--system-ink:#08747a;--system-wash:#f9eee5;--system-line:#ead2bf}
.profile-card.system-gut{--system-ink:#08747a;--system-wash:#f7f1e2;--system-line:#e5d9b7}
.profile-card.system-immune{--system-ink:#507d7f;--system-wash:#eaf2f1;--system-line:#c8dedb}
.profile-card.system-hormones{--system-ink:#08747a;--system-wash:#faece6;--system-line:#edcfc0}
.profile-card.system-mobility{--system-ink:#64815b;--system-wash:#edf3e9;--system-line:#d1dfc7}
.profile-card.system-heart{--system-ink:#08747a;--system-wash:#f7eaed;--system-line:#e9cdd3}
.profile-card.system-reproduction{--system-ink:#926680;--system-wash:#f3eaf1;--system-line:#e2cddd}
.profile-card:hover,.profile-card:focus-within{border-color:var(--system-ink);box-shadow:0 6px 20px #3438290a}
.profile-card .card-main{display:flex;flex-direction:column;width:100%;padding:0;min-width:0}
.card-visual{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;gap:16px;min-height:108px;width:100%;padding:20px 66px 20px 22px;background:var(--system-wash);border-bottom:1px solid var(--system-line)}
.card-visual:before,.card-visual:after{content:"";position:absolute;z-index:-1;border:1px solid var(--system-line);border-radius:50%;pointer-events:none}
.card-visual:before{width:190px;height:190px;right:-35px;top:-94px;box-shadow:0 0 0 22px var(--system-wash),0 0 0 23px var(--system-line)}
.card-visual:after{width:90px;height:90px;left:-34px;bottom:-68px}
.card-system-icon{display:grid;place-items:center;flex:none;width:62px;height:62px;border:1px solid var(--system-line);border-radius:19px;background:#ffffffba;color:var(--system-ink);box-shadow:0 3px 8px #41493106}
.card-system-icon svg{width:36px;height:36px;stroke-width:1.35}
.card-system-name{position:relative;font-size:12px;font-weight:550;line-height:1.5;color:var(--system-ink)}
.profile-card .card-bookmark{z-index:2;top:14px;right:13px;width:40px;height:40px;border:1px solid var(--system-line);border-radius:50%;background:#ffffffa8;color:var(--system-ink)}
.profile-card .card-bookmark:hover,.profile-card .card-bookmark.saved{background:#fff;border-color:var(--system-ink)}
.profile-card .card-bookmark svg{width:17px;height:17px}
.card-copy{flex:1;width:100%;padding:22px 22px 21px}
.card-copy .status-badge{font-size:9px;line-height:1.25;padding:6px 9px;max-width:100%;font-weight:500}
.card-copy .status-badge.approved{color:#3d6349;background:#eef5ed;border-color:#dce9d9}
.card-copy .status-badge.veterinary{color:#4d6580;background:#eff3f7;border-color:#dfe7ef}
.card-copy .status-badge.canine{color:#08747a;background:#fbf3e4;border-color:#eee1c8}
.card-copy .status-badge.early{color:#716675;background:#f4f0f5;border-color:#e8e0ea}
.card-copy .status-dot{width:5px;height:5px}
.profile-card .card-main h3{font-size:28px;font-weight:500;line-height:1.12;letter-spacing:-.85px;margin:17px 0 19px;overflow-wrap:anywhere}
.card-purpose{margin:0 0 16px}
.card-purpose-label{display:block;font-size:9px;line-height:1.4;font-weight:600;letter-spacing:1.15px;text-transform:uppercase;color:#838273;margin-bottom:8px}
.card-topic-list{display:flex;flex-wrap:wrap;gap:6px}
.card-topic{display:inline-block;border:1px solid var(--system-line);border-radius:6px;padding:6px 9px;font-size:11px;font-weight:500;line-height:1.5;background:var(--system-wash);color:#4c5349;max-width:100%}
.profile-card .card-description{font-size:12px;line-height:1.8;color:#6b7163;max-width:none;margin:0}
.profile-card .card-footer{padding:12px 16px 12px 22px;gap:12px;font-size:10px;line-height:1.5;background:#fdfdfb;border-color:#ecece5}
.profile-card .card-footer>span{min-width:0;flex:1;max-width:none;white-space:normal;color:#858777}
.profile-card .card-footer button{display:inline-flex;align-items:center;justify-content:flex-end;gap:11px;flex:none;width:auto;min-height:40px;padding:0 4px;border:0;border-radius:4px;font-size:11px;line-height:1.4;font-weight:500;color:#555c4c}
.profile-card .card-footer button>span:last-child{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid var(--system-line);border-radius:50%;font-size:17px;color:var(--system-ink)}
#library-title:focus{outline:none}
@media(min-width:761px) and (max-width:1180px){.card-visual{padding-left:19px;gap:12px}.card-system-icon{width:54px;height:54px;border-radius:17px}.card-system-icon svg{width:32px;height:32px}.card-system-name{font-size:11px}.card-copy{padding:21px 19px}.profile-card .card-main h3{font-size:25px}.profile-card .card-footer{padding-left:19px}}
@media(max-width:760px){
 .profile-grid{gap:17px}
 .card-visual{min-height:104px;padding:19px 64px 19px 22px}
 .card-system-name{font-size:12px}
 .card-copy{padding:22px}
 .card-copy .status-badge{font-size:10px;padding:6px 9px;max-width:100%}
 .profile-card .card-main h3{font-size:29px;margin:18px 0 20px}
 .card-purpose-label{font-size:9px}
 .card-topic{font-size:12px;padding:6px 9px}
 .profile-card .card-description{font-size:14px;line-height:1.75}
 .profile-card .card-footer{font-size:10px;padding:12px 16px 12px 22px}
 .profile-card .card-footer button{font-size:12px;min-height:40px}
}
@media(max-width:359px){.card-visual{gap:12px;padding-left:19px}.card-system-icon{width:54px;height:54px;border-radius:16px}.card-system-icon svg{width:32px;height:32px}.card-system-name{font-size:11px}.card-copy{padding:21px}.profile-card .card-main h3{font-size:27px}.card-topic{font-size:11px}.profile-card .card-footer{padding-left:21px;gap:8px}.profile-card .card-footer button{font-size:11px;gap:8px}}
