
:root{
  --care-primary:#005793;
  --care-dark:#203050;
  --care-blue:#007B9F;
  --care-teal:#379C9E;
  --care-green:#009472;
  --care-lightgreen:#88BC4D;
  --care-yellow:#E5CD1F;
  --care-bg:#F5F8FA;
  --care-card:#FFFFFF;
  --care-border:#D9E3EA;
  --care-muted:#5A6878;
  --shadow:0 12px 35px rgba(32,48,80,.10);
  --radius:18px;
  --font-mono:"JetBrains Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:"Open Sans",Arial,sans-serif;color:var(--care-dark);background:#fff;line-height:1.6}
a{color:var(--care-primary);text-decoration:none} a:hover{text-decoration:underline}
.skip-link{position:absolute;left:-999px;top:auto;background:var(--care-primary);color:#fff;padding:.7rem 1rem;z-index:20}.skip-link:focus{left:1rem;top:1rem}
.container{width:min(1160px,calc(100% - 40px));margin-inline:auto}.container.narrow{width:min(920px,calc(100% - 40px))}
.topbar{background:var(--care-dark);color:#fff;font-size:.86rem}.topbar-inner{width:min(1160px,calc(100% - 40px));margin:auto;display:flex;justify-content:space-between;gap:1rem;padding:.45rem 0}.topbar-contact{opacity:.9}
.site-header{position:sticky;top:0;z-index:10;background:#fff;box-shadow:0 2px 14px rgba(32,48,80,.08)}
.brandbar{width:min(1160px,calc(100% - 40px));margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:1rem 0}.brand{display:flex;align-items:center;gap:.85rem;color:var(--care-dark)}.brand:hover{text-decoration:none}.brand img{height:42px;width:auto}.brand small{display:block;font-size:.8rem;color:var(--care-muted);font-weight:400}.brand strong{font-weight:700;letter-spacing:.02em}
.main-nav{display:flex;gap:.35rem;align-items:center}.nav-link{padding:.65rem .85rem;border-radius:999px;color:var(--care-dark);font-weight:600;font-size:.94rem}.nav-link:hover,.nav-link.is-active{background:rgba(0,87,147,.09);color:var(--care-primary);text-decoration:none}.menu-toggle{display:none;background:var(--care-primary);color:#fff;border:0;border-radius:999px;padding:.65rem .95rem;font-weight:700}.mobile-nav{display:none;padding:0 20px 1rem}.mobile-nav .nav-link{display:block;margin:.2rem 0}
.page-intro{background:#fff;border-bottom:1px solid var(--care-border);padding:0}
.page-intro .container{padding:2rem 0 1.7rem}
.page-intro h1{font-size:clamp(1.8rem,3.4vw,2.5rem);line-height:1.12;margin:0 0 .55rem;font-weight:700;color:var(--care-dark);letter-spacing:-.02em}
.page-intro .page-intro-lead{font-size:1.02rem;color:var(--care-muted);max-width:800px;margin:0}
.page-intro .hero-actions{margin-top:.9rem}
.page-intro .section-kicker{margin-bottom:.3rem}
@media(max-width:760px){.page-intro .container{padding:1.5rem 0 1.3rem}}
section{padding:4rem 0}.section-muted{background:var(--care-bg)}.section-title{max-width:760px;margin:0 0 2rem}.section-title h2{font-size:2rem;line-height:1.15;margin:0 0 .65rem}.section-title p{color:var(--care-muted);margin:0}.grid{display:grid;gap:1.2rem}.grid.cards{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.profiles{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:var(--care-card);border:1px solid var(--care-border);border-radius:var(--radius);padding:1.35rem;box-shadow:var(--shadow)}.card h3{margin:.25rem 0 .55rem;font-size:1.28rem}.card p{color:var(--care-muted);margin:.5rem 0}.card .tag{display:inline-flex;align-items:center;border-radius:999px;background:rgba(0,87,147,.08);color:var(--care-primary);padding:.25rem .65rem;font-size:.78rem;font-weight:700}.profile-card{border-top:5px solid var(--profile-color,var(--care-primary))}.card-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1rem}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border-radius:999px;border:1px solid var(--care-primary);padding:.68rem 1rem;font-weight:700;text-decoration:none}.btn:hover{text-decoration:none}.btn.primary{background:var(--care-primary);color:#fff}.btn.secondary{background:#fff;color:var(--care-primary)}.btn.light{background:rgba(255,255,255,.15);color:#fff;border-color:rgba(255,255,255,.45)}
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.step{background:#fff;border:1px solid var(--care-border);border-radius:var(--radius);padding:1.3rem}.step:before{counter-increment:step;content:counter(step);display:inline-grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:var(--care-primary);color:#fff;font-weight:700;margin-bottom:.7rem}.step h3{margin:.2rem 0 .5rem}
.profile-header{background:#fff;border-bottom:1px solid var(--care-border)}.summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-top:1.4rem}.summary-item{background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.24);border-radius:14px;padding:1rem}.summary-item strong{display:block;color:#fff;font-size:1.5rem}.summary-item span{color:rgba(255,255,255,.82);font-size:.9rem}
.breadcrumb{font-size:.9rem;color:var(--care-muted);margin-bottom:1rem}.breadcrumb a{color:var(--care-primary);font-weight:700;text-decoration:underline}.breadcrumb a:hover{color:var(--care-dark)}.use-box{border-left:6px solid var(--profile-color,var(--care-primary));background:#fff;border-radius:var(--radius);padding:1.4rem;box-shadow:var(--shadow)}.metadata-list{display:grid;gap:.8rem}.metadata-row{display:grid;grid-template-columns:220px 1fr;gap:1rem;border-bottom:1px solid var(--care-border);padding:.8rem 0}.metadata-row:last-child{border-bottom:0}.metadata-row dt{font-weight:700}.metadata-row dd{margin:0;color:var(--care-muted);word-break:break-word}.field-tools{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;margin:1rem 0 1.5rem}.search-input{width:min(520px,100%);padding:.8rem 1rem;border:1px solid var(--care-border);border-radius:999px;font:inherit}.select-input{padding:.8rem 1rem;border:1px solid var(--care-border);border-radius:999px;background:#fff;font:inherit}
.table-wrap{overflow:auto;background:#fff;border:1px solid var(--care-border);border-radius:var(--radius);box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;min-width:820px}th,td{text-align:left;padding:.85rem 1rem;border-bottom:1px solid var(--care-border);vertical-align:top}th{background:var(--care-bg);font-weight:700;color:var(--care-dark)}td{color:var(--care-muted)}td strong{color:var(--care-dark)}.badge{display:inline-flex;border-radius:999px;padding:.18rem .55rem;font-size:.78rem;font-weight:700}.badge.req{background:rgba(229,205,31,.26);color:#625300}.badge.opt{background:rgba(0,148,114,.10);color:#006b52}.badge.cv{background:rgba(0,123,159,.10);color:#005f7a}
.details-list{display:grid;gap:.8rem}.field-detail{background:#fff;border:1px solid var(--care-border);border-radius:var(--radius);padding:0;overflow:hidden}.field-detail summary{cursor:pointer;padding:1rem 1.2rem;font-weight:700;display:flex;justify-content:space-between;gap:1rem}.field-detail .detail-body{padding:0 1.2rem 1.2rem;color:var(--care-muted)}code{background:#eef4f7;border:1px solid #d8e7ee;border-radius:6px;padding:.12rem .35rem;color:var(--care-dark);font-size:.9em}.term-grid{display:grid;gap:.8rem}.term-card{background:#fff;border:1px solid var(--care-border);border-radius:var(--radius);padding:1rem}.term-card h3{margin:0 0 .4rem}.term-card p{margin:.4rem 0;color:var(--care-muted)}.term-meta{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
.callout{background:linear-gradient(135deg,rgba(0,87,147,.08),rgba(136,188,77,.12));border:1px solid var(--care-border);border-radius:var(--radius);padding:1.5rem}.callout h2,.callout h3{margin-top:0}.download-list{display:grid;gap:.75rem}.download-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#fff;border:1px solid var(--care-border);border-radius:14px;padding:.9rem 1rem}.download-item span{color:var(--care-muted)}
.site-footer{background:var(--care-dark);color:#fff;padding:3rem 0 0}.site-footer h2,.site-footer h3{color:#fff;margin-top:0}.site-footer p{color:rgba(255,255,255,.78)}.site-footer a{display:block;color:#fff;margin:.35rem 0}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:2rem}.footer-note{margin-top:2rem;padding:1rem 20px;background:rgba(0,0,0,.18);text-align:center;color:rgba(255,255,255,.72);font-size:.9rem}
@media(max-width:900px){.main-nav{display:none}.menu-toggle{display:inline-flex}.mobile-nav.is-open{display:block}.grid.cards,.grid.two,.grid.profiles,.steps,.summary-strip,.footer-grid{grid-template-columns:1fr}.metadata-row{grid-template-columns:1fr}.page-hero .container{padding:3rem 0}.topbar-inner{flex-direction:column;gap:.1rem}.brandbar{align-items:center}.brand img{height:34px}}


/* CARE RDM public portal additions */
.home-grid, .policy-grid, .updates-grid, .events-grid {display:grid;gap:1.25rem;}
.home-grid {grid-template-columns:repeat(auto-fit,minmax(230px,1fr));}
.policy-grid {grid-template-columns:repeat(auto-fit,minmax(260px,1fr));}
.updates-grid {grid-template-columns:minmax(0,1fr);}
.events-grid {grid-template-columns:repeat(auto-fit,minmax(300px,1fr));}
.portal-card, .policy-card, .update-card, .event-card {background:#fff;border:1px solid rgba(32,48,80,.14);border-radius:18px;padding:1.25rem;box-shadow:0 12px 32px rgba(32,48,80,.08);}
.portal-card h3, .policy-card h3, .update-card h3, .event-card h3 {margin-top:.25rem;color:#203050;}
.portal-card .tag, .update-card .date, .event-card .date {display:inline-flex;align-items:center;font-size:.82rem;font-weight:700;color:#005793;background:rgba(0,87,147,.08);border-radius:999px;padding:.25rem .65rem;margin-bottom:.5rem;}
.portal-card:nth-child(2) .tag,.policy-card:nth-child(2) .tag{color:#007B9F;background:rgba(0,123,159,.08)}
.portal-card:nth-child(3) .tag,.policy-card:nth-child(3) .tag{color:#009472;background:rgba(0,148,114,.08)}
.portal-card:nth-child(4) .tag,.policy-card:nth-child(4) .tag{color:#379C9E;background:rgba(55,156,158,.1)}
.portal-card:nth-child(5) .tag,.policy-card:nth-child(5) .tag{color:#557d1d;background:rgba(136,188,77,.14)}
.callout-public {border-left:6px solid #88BC4D;background:linear-gradient(90deg,rgba(136,188,77,.14),rgba(255,255,255,.8));border-radius:16px;padding:1rem 1.25rem;margin:1rem 0;}
.policy-list {margin:0;padding-left:1.15rem;}
.policy-list li {margin:.55rem 0;}
.kpi-row {display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin-top:1rem;}
.kpi-tile {background:#f7fafc;border-radius:16px;border:1px solid rgba(32,48,80,.12);padding:1rem;}
.kpi-tile strong {display:block;color:#005793;font-size:1.65rem;}
.download-list {display:flex;flex-wrap:wrap;gap:.7rem;margin-top:1rem;}
.download-list a {display:inline-flex;align-items:center;gap:.35rem;border-radius:999px;border:1px solid rgba(0,87,147,.22);padding:.55rem .85rem;text-decoration:none;font-weight:700;background:#fff;}
.namespace-box {background:#203050;color:#fff;border-radius:18px;padding:1rem 1.25rem;margin:1rem 0;}
.namespace-box code {background:rgba(255,255,255,.12);color:#fff;padding:.1rem .25rem;border-radius:5px;}
.small-note {font-size:.92rem;color:#5e6b80;}
.timeline {position:relative;padding-left:1.2rem;}
.timeline:before {content:"";position:absolute;left:.2rem;top:.2rem;bottom:.2rem;border-left:3px solid rgba(0,87,147,.2);}
.timeline-item {position:relative;margin:0 0 1rem;padding-left:1rem;}
.timeline-item:before {content:"";position:absolute;left:-.42rem;top:.35rem;width:.75rem;height:.75rem;background:#005793;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 2px rgba(0,87,147,.2);}
@media (max-width: 720px){.download-list{display:block}.download-list a{margin:.25rem 0}}


/* Ontology term filtering */
.term-filter-panel{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:.85rem;align-items:end;background:#fff;border:1px solid rgba(32,48,80,.14);border-radius:18px;padding:1rem;box-shadow:0 12px 32px rgba(32,48,80,.08);margin:1.4rem 0 1rem;}
.term-filter-panel label{display:grid;gap:.35rem;font-weight:700;color:#203050;}
.term-filter-panel label span{font-size:.84rem;letter-spacing:.02em;}
.term-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;}
.term-anchor{font-weight:700;text-decoration:none;color:#005793;background:rgba(0,87,147,.08);border-radius:999px;padding:.15rem .45rem;}
.term-detail-list{display:grid;grid-template-columns:170px minmax(0,1fr);gap:.35rem .8rem;margin:.9rem 0 0;padding-top:.75rem;border-top:1px solid rgba(32,48,80,.12);}
.term-detail-list dt{font-weight:700;color:#203050;}
.term-detail-list dd{margin:0;color:#5e6b80;word-break:break-word;}
.empty-state{background:#fff;border:1px dashed rgba(32,48,80,.28);border-radius:18px;padding:1.2rem;text-align:center;color:#5e6b80;margin-top:1rem;}
.term-downloads{margin-bottom:1.2rem;}
.ontology-kpis .kpi-tile span{color:#5e6b80;}
@media(max-width:980px){.term-filter-panel{grid-template-columns:1fr 1fr}.term-filter-panel label:first-child{grid-column:1/-1}}
@media(max-width:640px){.term-filter-panel{grid-template-columns:1fr}.term-detail-list{grid-template-columns:1fr}.term-filter-panel .btn{width:100%;}}


.topbar a{color:#fff;text-decoration:none}.topbar a:hover{text-decoration:underline}
.about-band{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin:1rem 0 1.25rem}.about-band div{background:#fff;border:1px solid rgba(32,48,80,.12);border-radius:18px;padding:1.1rem;box-shadow:0 12px 32px rgba(32,48,80,.07)}.about-band strong{display:block;font-size:1.9rem;color:#005793}.about-band span{color:#5A6878;font-weight:600}.team-section{margin:0 0 2.2rem}.team-section h3{font-size:1.45rem;margin:0 0 1rem}.team-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1rem}.team-card{background:#fff;border:1px solid rgba(32,48,80,.14);border-top:5px solid #005793;border-radius:18px;padding:1.2rem;box-shadow:0 12px 32px rgba(32,48,80,.08)}.team-card.accent-blue{border-top-color:#007B9F}.team-card.accent-green{border-top-color:#009472}.team-card.accent-teal{border-top-color:#379C9E}.team-card h4{margin:.1rem 0 .45rem;color:#203050;font-size:1.18rem}.team-card p{margin:.35rem 0;color:#5A6878}.contact-layout{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(300px,1.4fr);gap:1.2rem;align-items:start}.contact-card{background:#fff;border:1px solid rgba(32,48,80,.14);border-radius:18px;padding:1.25rem;box-shadow:0 12px 32px rgba(32,48,80,.08)}.primary-contact{background:linear-gradient(135deg,#005793,#007B9F);color:#fff}.primary-contact h3,.primary-contact p,.primary-contact a{color:#fff}.primary-contact a{font-size:1.25rem;font-weight:700;word-break:break-word}.main-nav{flex-wrap:wrap;justify-content:flex-end}.nav-link{font-size:.88rem;padding:.55rem .68rem}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#005793;color:#fff!important;padding:.55rem .85rem;font-weight:700;text-decoration:none}.button:hover{text-decoration:none;background:#004a7c}@media(max-width:900px){.contact-layout{grid-template-columns:1fr}.nav-link{font-size:.94rem;padding:.65rem .85rem}}


.combined-hub-note .callout-public{margin-top:0}
#profiles .profile-card{border-top:6px solid var(--profile-color,#005793)}
#terms{scroll-margin-top:100px}
#profiles{scroll-margin-top:100px}

/* Event card location/format tag (distinct from the date pill) */
.event-card .tag {display:inline-flex;align-items:center;font-size:.82rem;font-weight:600;color:#379C9E;background:rgba(55,156,158,.10);border-radius:999px;padding:.25rem .65rem;margin-bottom:.5rem;}
.event-card p strong {color:#203050;}


.hero-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.4rem}
.hero-actions .btn.light{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.54);color:#fff}
.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.task-card,.ux-card{background:#fff;border:1px solid rgba(32,48,80,.14);border-radius:18px;padding:1.25rem;box-shadow:0 12px 32px rgba(32,48,80,.08)}
.task-card{border-top:5px solid #005793}
.task-card:nth-child(2){border-top-color:#009472}
.task-card:nth-child(3){border-top-color:#379C9E}
.task-number{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#005793;color:#fff;font-weight:700;margin-bottom:.6rem}
.task-card h3,.ux-card h3{margin:.2rem 0 .55rem}
.task-card p,.ux-card p{color:#5A6878}
.task-card a,.ux-card a{font-weight:700}
.flow-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}
.flow-strip div,.role-map div{background:#fff;border:1px solid rgba(32,48,80,.13);border-radius:16px;padding:1rem;box-shadow:0 10px 26px rgba(32,48,80,.06)}
.flow-strip strong,.role-map strong{display:block;color:#005793;margin-bottom:.25rem}
.flow-strip span,.role-map span{display:block;color:#5A6878;font-size:.95rem}
.ux-grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.role-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}
.do-dont-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.ux-card.good{border-top:5px solid #009472}
.ux-card.warning{border-top:5px solid #E5CD1F}
.ux-card ul{margin:.6rem 0 0;padding-left:1.1rem;color:#5A6878}
.ux-card li{margin:.35rem 0}
.ux-profile-grid .profile-card{transition:transform .18s ease,box-shadow .18s ease}
.ux-profile-grid .profile-card:hover{transform:translateY(-2px);box-shadow:0 16px 40px rgba(32,48,80,.12)}
.mini-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:1rem 0 0}
.mini-stats div{background:#F5F8FA;border-radius:13px;padding:.65rem;border:1px solid rgba(32,48,80,.08)}
.mini-stats dt{font-size:.78rem;color:#5A6878;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.mini-stats dd{margin:.12rem 0 0;font-size:1.15rem;color:#203050;font-weight:700}
.news-card{border-left:6px solid #005793}
.news-card:nth-child(2){border-left-color:#009472}
.news-card:nth-child(3){border-left-color:#379C9E}
.news-card .tag.subtle{margin-top:.7rem;color:#5A6878;background:#F5F8FA}
.event-timeline{display:grid;gap:1rem;position:relative}
.timeline-card{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1rem;background:#fff;border:1px solid rgba(32,48,80,.14);border-radius:18px;padding:1.1rem;box-shadow:0 12px 32px rgba(32,48,80,.08)}
.timeline-date{font-weight:700;color:#005793}
.timeline-body h3{margin:.25rem 0 .45rem}
.timeline-body p{margin:.3rem 0;color:#5A6878}
.footer-legal{padding-top:1rem;display:flex;gap:1.25rem;flex-wrap:wrap;font-size:.85rem}
.footer-legal a{color:rgba(255,255,255,.75);display:inline;margin:0}
.page-context-nav{display:flex;gap:.65rem;flex-wrap:wrap;margin:1rem 0 0}
.page-context-nav a{display:inline-flex;border:1px solid rgba(0,87,147,.25);border-radius:999px;padding:.45rem .75rem;font-weight:700;background:#fff}
@media(max-width:980px){
  .task-grid,.ux-grid-3,.flow-strip,.role-map{grid-template-columns:1fr 1fr}
  .timeline-card{grid-template-columns:1fr}
}
@media(max-width:680px){
  .task-grid,.ux-grid-3,.flow-strip,.role-map,.do-dont-grid{grid-template-columns:1fr}
  .mini-stats{grid-template-columns:1fr}
}

.six-flow{grid-template-columns:repeat(6,minmax(0,1fr));}
.section-link{margin-top:1.15rem;font-weight:700;}
@media(max-width:1100px){.six-flow{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){.six-flow{grid-template-columns:1fr;}}


:root{
  --shadow-soft:0 10px 28px rgba(32,48,80,.08);
  --shadow-lift:0 18px 42px rgba(32,48,80,.13);
}
body{background:#fff;}
.topbar a{color:#fff;text-decoration:none}.topbar a:hover{text-decoration:underline}
.ux-hero{background:linear-gradient(135deg,#005793 0%,#007B9F 54%,#379C9E 100%);}
.ux-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 20%,rgba(229,205,31,.18),transparent 27%),radial-gradient(circle at 10% 85%,rgba(136,188,77,.18),transparent 30%);opacity:.9}
.ux-hero .container{padding:4.9rem 0 4.4rem}.ux-hero h1{letter-spacing:-.035em}.ux-hero p{max-width:820px}.hero-actions{display:flex;gap:.85rem;flex-wrap:wrap;margin-top:1.55rem}.btn.light{backdrop-filter:saturate(130%) blur(2px)}
.section-title{margin-bottom:1.7rem}.section-title h2{font-weight:700;letter-spacing:-.02em}.section-title p{font-size:1.03rem}
.task-grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.task-card{position:relative;border-top:4px solid #005793}.task-card:nth-child(2){border-top-color:#009472}.task-card:nth-child(3){border-top-color:#379C9E}.task-card:nth-child(4){border-top-color:#88BC4D}.task-card a{font-weight:700}.task-number{box-shadow:none;background:#F5F8FA;color:#005793;border:1px solid #D9E3EA}
.lifecycle-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem}.lifecycle-row div{background:#fff;border:1px solid var(--care-border);border-radius:16px;padding:1rem;box-shadow:var(--shadow-soft);min-height:142px}.lifecycle-row strong{display:block;color:#203050;margin-bottom:.4rem}.lifecycle-row span{display:block;color:#5A6878;font-size:.96rem}.lifecycle-row div:before{content:"";display:block;width:38px;height:5px;border-radius:999px;background:#005793;margin-bottom:.9rem}.lifecycle-row div:nth-child(2):before{background:#007B9F}.lifecycle-row div:nth-child(3):before{background:#379C9E}.lifecycle-row div:nth-child(4):before{background:#009472}.lifecycle-row div:nth-child(5):before{background:#88BC4D}
.balanced-cards .card,.balanced-cards .policy-card{min-height:245px}.portal-map{grid-template-columns:repeat(5,minmax(0,1fr));}.portal-map div{background:#fff;border:1px solid var(--care-border);box-shadow:var(--shadow-soft)}
.guidance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.guidance-card{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow-soft)}.guidance-card h3{margin:.2rem 0 .45rem;color:#203050}.guidance-card p{color:#5A6878;margin:0}.guidance-card:before{content:"";display:block;width:42px;height:5px;border-radius:999px;background:#005793;margin-bottom:.85rem}.guidance-card:nth-child(2):before{background:#007B9F}.guidance-card:nth-child(3):before{background:#379C9E}.guidance-card:nth-child(4):before{background:#009472}.guidance-card:nth-child(5):before{background:#88BC4D}.guidance-card:nth-child(6):before{background:#E5CD1F}
.timeline-process{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem}.timeline-process div{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1rem;box-shadow:var(--shadow-soft)}.timeline-process span{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#005793;color:#fff;font-weight:700;margin-bottom:.65rem}.timeline-process strong{display:block;color:#203050;margin-bottom:.35rem}.timeline-process p{margin:0;color:#5A6878;font-size:.92rem}.decision-callout{display:flex;align-items:center;justify-content:space-between;gap:1.5rem}.decision-callout p{max-width:720px}
.layer-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.layer-strip div{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow-soft)}.layer-strip span{display:inline-grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:50%;background:#005793;color:#fff;font-weight:700;margin-bottom:.8rem}.layer-strip div:nth-child(2) span{background:#009472}.layer-strip div:nth-child(3) span{background:#379C9E}.layer-strip strong{display:block;font-size:1.1rem;margin-bottom:.4rem}.layer-strip p{color:#5A6878;margin:0}.profile-tile{background:#fff;border:1px solid var(--care-border);box-shadow:var(--shadow-soft);padding:1.25rem}.profile-tile .profile-note{font-size:.92rem;color:#5A6878}.term-filter-panel{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:.85rem;box-shadow:var(--shadow-soft)}.term-count{color:#5A6878;font-weight:700}.term-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr));max-height:760px;overflow:auto;padding:.15rem}.compact-term{box-shadow:none}.compact-term h3{font-size:1.05rem}.compact-term p{font-size:.92rem}.term-uri code{font-size:.82rem}.empty-state{background:#fff;border:1px solid var(--care-border);border-radius:14px;padding:1rem;color:#5A6878}
.timeline-clean{display:grid;gap:1rem;position:relative}.timeline-clean article{display:grid;grid-template-columns:230px minmax(0,1fr);gap:1.25rem;background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1.25rem;box-shadow:var(--shadow-soft)}.timeline-clean time{font-weight:700;color:#005793}.timeline-clean h3{margin:.1rem 0 .35rem}.timeline-clean p{color:#5A6878;margin:.3rem 0}.timeline-clean span{display:inline-flex;margin-top:.55rem;border-radius:999px;background:#F5F8FA;color:#5A6878;font-size:.8rem;font-weight:700;padding:.25rem .6rem}.home-news{grid-template-columns:repeat(3,minmax(0,1fr))}.news-card{border-left:0;border-top:4px solid #005793}.news-card:nth-child(2){border-top-color:#009472}.news-card:nth-child(3){border-top-color:#379C9E}
.office-box{text-align:center;background:#203050;color:#fff;border-radius:20px;padding:1.7rem;margin-bottom:1.5rem;box-shadow:var(--shadow-lift)}.office-box h2{margin:.2rem 0;color:#fff}.office-box a{color:#fff;font-weight:700}.team-group{margin:1.4rem 0}.team-group h3{display:inline-flex;background:#005793;color:#fff;border-radius:999px;padding:.45rem 1rem;font-size:1rem}.team-group:nth-of-type(3) h3{background:#009472}.team-group:nth-of-type(4) h3{background:#007B9F}.team-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.team-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1.15rem;box-shadow:var(--shadow-soft)}.avatar-initials{flex:0 0 58px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#005793,#379C9E);color:#fff;font-weight:700}.team-card h4{font-size:1.15rem;margin:0 0 .15rem}.team-card strong{color:#005793}.team-card p{margin:.25rem 0 0;color:#5A6878}.contact-card h2{font-size:1.55rem}.clean-list{margin:.7rem 0 0;padding-left:1.2rem;color:#5A6878}.clean-list li{margin:.35rem 0}
.main-nav .nav-link{font-size:.91rem;padding:.62rem .72rem}.site-header{box-shadow:0 2px 16px rgba(32,48,80,.07)}.card,.portal-card,.policy-card,.update-card,.event-card{box-shadow:var(--shadow-soft)}.card:hover,.task-card:hover,.profile-card:hover,.guidance-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-1px)}.card,.task-card,.profile-card,.guidance-card{transition:box-shadow .18s ease, transform .18s ease}
@media(max-width:1120px){.task-grid-4,.lifecycle-row,.portal-map,.timeline-process{grid-template-columns:repeat(2,minmax(0,1fr))}.home-news{grid-template-columns:1fr}.guidance-grid,.grid.profiles{grid-template-columns:repeat(2,minmax(0,1fr))}.term-grid-compact{grid-template-columns:1fr}}
@media(max-width:760px){.task-grid-4,.lifecycle-row,.portal-map,.timeline-process,.guidance-grid,.layer-strip,.team-card-grid,.timeline-clean article,.home-news,.grid.profiles{grid-template-columns:1fr}.decision-callout{display:block}.ux-hero .container{padding:3.4rem 0}.term-filter-panel{display:block}.term-filter-panel>*{margin:.35rem 0;width:100%}}


:root{
  --care-primary:#005793;
  --care-dark:#203050;
  --care-blue:#007B9F;
  --care-teal:#379C9E;
  --care-green:#009472;
  --care-lightgreen:#88BC4D;
  --care-yellow:#E5CD1F;
  --care-bg:#F5F8FA;
  --care-soft:#EEF5F7;
  --care-card:#FFFFFF;
  --care-border:#D9E3EA;
  --care-muted:#607086;
  --shadow-soft:0 10px 28px rgba(32,48,80,.075);
  --shadow-lift:0 18px 44px rgba(32,48,80,.13);
  --radius:18px;
}
body{font-family:"Open Sans",Arial,sans-serif;background:#fff;color:var(--care-dark);}
.site-header{box-shadow:0 2px 16px rgba(32,48,80,.07)}
.brand strong{letter-spacing:.01em}.brand small{color:#607086}.main-nav .nav-link{font-size:.91rem;padding:.62rem .74rem}.nav-link.is-active{background:rgba(0,87,147,.09)}
.page-hero.ux-hero{background:linear-gradient(135deg,#005793 0%,#007B9F 58%,#379C9E 100%);position:relative;overflow:hidden}.page-hero.ux-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 78% 18%,rgba(229,205,31,.20),transparent 28%),radial-gradient(circle at 12% 82%,rgba(136,188,77,.20),transparent 32%);}.page-hero.ux-hero .container{padding:4.7rem 0 4.5rem}.page-hero h1{letter-spacing:-.04em;max-width:960px}.page-hero p{max-width:820px}.btn.secondary{background:#fff;color:var(--care-primary);border-color:#fff}.btn.primary{background:var(--care-primary);color:#fff;border-color:var(--care-primary)}.hero-actions{display:flex;gap:.85rem;flex-wrap:wrap;margin-top:1.55rem}.section-kicker{text-transform:uppercase;letter-spacing:.11em;font-weight:800;font-size:.78rem;color:var(--care-primary);margin:0 0 .45rem}.section-title h2{font-size:clamp(1.85rem,3vw,2.45rem);letter-spacing:-.025em}.section-title p{font-size:1.04rem}.section-muted{background:var(--care-bg)}
.action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.care-card{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.25rem;box-shadow:var(--shadow-soft);transition:.18s ease;display:flex;flex-direction:column}
.care-card .card-link{margin-top:auto;padding-top:.5rem}.care-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px)}.care-card h3{margin:.35rem 0 .55rem;font-size:1.22rem}.care-card p{color:var(--care-muted)}.care-card .tag{display:inline-flex;border-radius:999px;background:rgba(0,87,147,.08);color:var(--care-primary);padding:.24rem .62rem;font-size:.78rem;font-weight:800}.card-link a{font-weight:800}.action-grid article:nth-child(2) .tag{background:rgba(0,148,114,.10);color:#007857}.action-grid article:nth-child(3) .tag{background:rgba(55,156,158,.12);color:#227F82}.action-grid article:nth-child(4) .tag{background:rgba(136,188,77,.14);color:#557C20}
.lifecycle-compact{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem}.lifecycle-compact div{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.1rem;box-shadow:var(--shadow-soft)}.lifecycle-compact span,.commitment-grid span,.process-line span,.layer-comparison span{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--care-primary);color:#fff;font-weight:800;margin-bottom:.85rem}.lifecycle-compact div:nth-child(2) span,.process-line div:nth-child(2) span{background:var(--care-blue)}.lifecycle-compact div:nth-child(3) span,.process-line div:nth-child(3) span{background:var(--care-teal)}.lifecycle-compact div:nth-child(4) span,.process-line div:nth-child(4) span{background:var(--care-green)}.lifecycle-compact div:nth-child(5) span,.process-line div:nth-child(5) span{background:var(--care-lightgreen)}.lifecycle-compact strong,.process-line strong{display:block;font-size:1.08rem;margin-bottom:.3rem}.lifecycle-compact p,.process-line p{color:var(--care-muted);margin:0;font-size:.95rem}.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.value-panel{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.45rem;box-shadow:var(--shadow-soft);border-top:5px solid var(--care-primary)}.value-panel:nth-child(2){border-top-color:var(--care-green)}.value-panel:nth-child(3){border-top-color:var(--care-teal)}.value-panel h3{margin:.1rem 0 .55rem}.value-panel p{color:var(--care-muted)}.value-panel a{font-weight:800}.milestone-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.milestone-preview article,.milestone-timeline article{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.25rem;box-shadow:var(--shadow-soft)}.milestone-preview time,.milestone-timeline time{display:inline-flex;color:var(--care-primary);font-weight:800;background:rgba(0,87,147,.08);border-radius:999px;padding:.25rem .65rem;margin-bottom:.65rem}.milestone-preview h3,.milestone-timeline h3{margin:.2rem 0 .45rem}.milestone-preview p,.milestone-timeline p{color:var(--care-muted);margin:0}.section-link{font-weight:800;margin-top:1.2rem}
.split-feature{display:grid;grid-template-columns:1.25fr .75fr;gap:1.25rem;align-items:start}.quiet-box{background:linear-gradient(135deg,rgba(0,87,147,.08),rgba(136,188,77,.12));border:1px solid var(--care-border);border-radius:22px;padding:1.5rem}.check-list{padding-left:0;list-style:none}.check-list li{position:relative;padding-left:1.65rem;margin:.55rem 0;color:var(--care-muted)}.check-list li:before{content:"✓";position:absolute;left:0;color:var(--care-green);font-weight:800}.ra-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem}.ra-strip span{background:#fff;border:1px solid var(--care-border);border-radius:999px;padding:.65rem .85rem;text-align:center;font-weight:800;color:var(--care-primary)}.flow-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.flow-cards a{display:block;background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.2rem;box-shadow:var(--shadow-soft);text-decoration:none}.flow-cards strong{display:block;color:var(--care-dark);font-size:1.12rem;margin-bottom:.35rem}.flow-cards span{color:var(--care-muted)}
.commitment-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.9rem}.commitment-grid article,.check-card-grid article,.support-grid article{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.15rem;box-shadow:var(--shadow-soft)}.commitment-grid h3{margin:.2rem 0 .5rem;font-size:1.08rem}.commitment-grid p,.check-card-grid li,.support-grid p{color:var(--care-muted)}.check-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.check-card-grid ul{padding-left:1.1rem;margin-bottom:0}.process-line{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.75rem}.process-line div{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1rem;box-shadow:var(--shadow-soft)}.process-line div:nth-child(6) span{background:var(--care-yellow);color:#473d00}.decision-banner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.65rem;box-shadow:var(--shadow-soft)}.decision-banner h2{margin:.1rem 0 .35rem}.decision-banner p{color:var(--care-muted);margin:0;max-width:760px}
.layer-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.layer-comparison article{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.3rem;box-shadow:var(--shadow-soft)}.layer-comparison article:nth-child(2) span{background:var(--care-green)}.layer-comparison article:nth-child(3) span{background:var(--care-teal)}.layer-comparison p{color:var(--care-muted)}.profile-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.profile-choice{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;background:#fff;border:1px solid var(--care-border);border-top:5px solid var(--profile-color);border-radius:22px;padding:1.25rem;box-shadow:var(--shadow-soft)}.profile-choice h3{font-size:1.15rem;margin:.45rem 0 .55rem}.profile-choice p{color:var(--care-muted)}.profile-choice dl{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem;margin:0}.profile-choice dt{font-size:.76rem;color:var(--care-muted);font-weight:800;text-transform:uppercase}.profile-choice dd{margin:0;font-size:1.2rem;font-weight:800}.profile-code{font-weight:900;color:var(--profile-color);letter-spacing:.04em}.profile-choice a,.download-pill{font-weight:800}.mapping-panel{position:relative;min-height:430px;background:linear-gradient(135deg,#fff,#F5F8FA);border:1px solid var(--care-border);border-radius:28px;padding:2rem;box-shadow:var(--shadow-soft)}.mapping-center{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:220px;height:140px;border-radius:26px;background:var(--care-primary);color:#fff;display:grid;place-items:center;text-align:center;padding:1rem;box-shadow:var(--shadow-lift)}.mapping-center strong{display:block;text-transform:uppercase;font-size:.78rem;letter-spacing:.08em;opacity:.85}.mapping-center span{font-size:1.45rem;font-weight:900}.mapping-node{position:absolute;width:250px;background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1rem;box-shadow:var(--shadow-soft)}.mapping-node strong{display:block;color:var(--care-dark)}.mapping-node span{color:var(--care-muted)}.mapping-node.n1{left:5%;top:12%;border-left:5px solid var(--care-blue)}.mapping-node.n2{right:5%;top:12%;border-left:5px solid var(--care-green)}.mapping-node.n3{left:5%;bottom:12%;border-left:5px solid var(--care-teal)}.mapping-node.n4{right:5%;bottom:12%;border-left:5px solid var(--care-lightgreen)}.refined-filter{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:1.25rem}.term-grid-compact{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;max-height:760px;overflow:auto;padding:.1rem}.compact-term{box-shadow:none}.compact-term h3{font-size:1.05rem}.compact-term p{font-size:.92rem}.term-uri code{font-size:.82rem}.empty-state{background:#fff;border:1px solid var(--care-border);border-radius:14px;padding:1rem;color:var(--care-muted)}
.profile-summary-card{display:grid;grid-template-columns:1.2fr .8fr;gap:1.5rem;background:#fff;border:1px solid var(--care-border);border-top:6px solid var(--profile-color);border-radius:24px;padding:1.6rem;box-shadow:var(--shadow-soft)}.profile-summary-card p{color:var(--care-muted)}.profile-summary-card dl{display:grid;gap:.6rem;margin:0}.profile-summary-card dt{font-size:.75rem;color:var(--care-muted);text-transform:uppercase;font-weight:800}.profile-summary-card dd{margin:0;font-weight:800}.profile-sections{display:grid;gap:1rem}.section-muted-sub{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.35rem;box-shadow:var(--shadow-soft)}.section-muted-sub>p{color:var(--care-muted)}.field-chip-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.field-chip{display:flex;justify-content:space-between;gap:1rem;background:#F8FBFC;border:1px solid var(--care-border);border-radius:16px;padding:.85rem}.field-chip.required{border-left:5px solid var(--care-yellow)}.field-chip.optional{border-left:5px solid var(--care-green)}.field-chip h4{margin:.1rem 0 .25rem}.field-chip p{margin:0;color:var(--care-muted);font-size:.92rem}.field-chip code{align-self:start;white-space:nowrap}.download-box{background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.5rem;box-shadow:var(--shadow-soft)}.download-pills{display:flex;flex-wrap:wrap;gap:.6rem}.download-pill{border:1px solid var(--care-border);border-radius:999px;padding:.45rem .75rem;background:#F5F8FA;text-decoration:none}
.milestone-timeline{display:grid;gap:1rem}.milestone-timeline article{display:grid;grid-template-columns:220px minmax(0,1fr);gap:1.2rem}.org-chart-lite{max-width:980px;margin:auto}.org-root{text-align:center;background:var(--care-dark);color:#fff;border-radius:22px;padding:1.4rem;box-shadow:var(--shadow-lift);margin-bottom:1.4rem}.org-root strong{display:block;font-size:1.35rem}.org-root a{color:#fff}.org-section{margin:1.25rem 0}.org-section h2{display:inline-flex;background:var(--care-primary);color:#fff;border-radius:999px;padding:.5rem 1.05rem;font-size:1rem}.org-section.data h2{background:var(--care-green)}.org-section.members h2{background:var(--care-blue)}.team-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.team-card{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.1rem;box-shadow:var(--shadow-soft)}.avatar-initials{flex:0 0 62px;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--care-primary),var(--care-teal));color:#fff;font-weight:900}.team-card h3{margin:0 0 .18rem;font-size:1.14rem}.team-card strong{color:var(--care-primary)}.team-card p{margin:.25rem 0 0;color:var(--care-muted)}.support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:1rem}.contact-primary,.contact-topics{background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.5rem;box-shadow:var(--shadow-soft)}.contact-primary h2{font-size:1.55rem}.callout.warning{margin-top:1.2rem;background:linear-gradient(135deg,rgba(229,205,31,.18),rgba(0,87,147,.07));border-color:rgba(229,205,31,.6)}
@media(max-width:1120px){.action-grid,.lifecycle-compact,.commitment-grid,.check-card-grid,.process-line,.ra-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-choice-grid,.value-grid,.milestone-preview,.support-grid{grid-template-columns:1fr 1fr}.mapping-panel{min-height:560px}.mapping-center{top:48%}.mapping-node{width:42%}.term-grid-compact{grid-template-columns:1fr}.flow-cards{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.page-hero.ux-hero .container{padding:3.3rem 0}.action-grid,.lifecycle-compact,.commitment-grid,.check-card-grid,.process-line,.ra-strip,.profile-choice-grid,.value-grid,.milestone-preview,.support-grid,.layer-comparison,.team-card-grid,.contact-layout,.split-feature,.flow-cards,.profile-summary-card,.field-chip-grid{grid-template-columns:1fr}.decision-banner{display:block}.milestone-timeline article{grid-template-columns:1fr}.mapping-panel{min-height:auto;display:grid;gap:.8rem}.mapping-center,.mapping-node{position:static;transform:none;width:auto}.mapping-center{height:auto}.refined-filter>*{width:100%}}


:root{
  --ra1:#005793; --ra2:#007B9F; --ra3:#009472; --ra4:#379C9E; --ra5:#88BC4D;
  --shadow-soft:0 12px 28px rgba(32,48,80,.08);
  --shadow-lift:0 22px 50px rgba(32,48,80,.14);
}
.footer-grid-refined{grid-template-columns:2fr 1fr 1fr 1fr}.footer-grid-refined a{line-height:1.45}
.ra-strip{display:none}.ra-area-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1rem}.ra-card{min-height:170px;color:#fff;border-radius:22px;padding:1.1rem;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.ra-card:after{content:"";position:absolute;right:-35px;bottom:-35px;width:120px;height:120px;border-radius:50%;background:rgba(255,255,255,.18)}.ra-card span{display:inline-flex;align-self:flex-start;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:.25rem .6rem;font-weight:900;letter-spacing:.04em}.ra-card h3{margin:1.2rem 0 .35rem;color:#fff;font-size:1.15rem}.ra-card p{margin:0;color:rgba(255,255,255,.86);font-size:.92rem}.ra-card.ra1{background:linear-gradient(135deg,var(--ra1),#203050)}.ra-card.ra2{background:linear-gradient(135deg,var(--ra2),#005793)}.ra-card.ra3{background:linear-gradient(135deg,var(--ra3),#006b52)}.ra-card.ra4{background:linear-gradient(135deg,var(--ra4),#007B9F)}.ra-card.ra5{background:linear-gradient(135deg,var(--ra5),#5f8f2c)}
.concept-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:1rem;align-items:stretch}.concept-flow article{background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.35rem;box-shadow:var(--shadow-soft);position:relative}.concept-icon{width:2.4rem;height:2.4rem;border-radius:50%;display:grid;place-items:center;background:var(--care-primary);color:#fff;font-weight:900;margin-bottom:.75rem}.concept-flow article:nth-of-type(2) .concept-icon{background:var(--care-green)}.concept-flow article:nth-of-type(3) .concept-icon{background:var(--care-teal)}.concept-flow h3{margin:.2rem 0 .5rem}.concept-flow p{color:var(--care-muted)}.flow-arrow{display:grid;place-items:center;font-size:2rem;color:var(--care-primary);font-weight:900}.profile-decision-ribbon{display:flex;gap:.75rem;align-items:center;background:#fff;border:1px solid var(--care-border);border-left:6px solid var(--care-yellow);border-radius:18px;padding:1rem 1.15rem;margin-bottom:1rem;box-shadow:var(--shadow-soft)}.profile-decision-ribbon strong{white-space:nowrap}.profile-decision-ribbon span{color:var(--care-muted)}.profile-choice-grid-refined{align-items:stretch}.profile-choice{transition:transform .18s ease, box-shadow .18s ease}.profile-choice:hover{transform:translateY(-3px);box-shadow:var(--shadow-lift)}.profile-choice a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid currentColor;padding:.45rem .75rem;text-decoration:none;align-self:flex-start}.mapping-showcase{display:grid;grid-template-columns:320px 1fr;gap:1.2rem;align-items:stretch}.mapping-core{background:linear-gradient(135deg,var(--care-primary),var(--care-dark));color:#fff;border-radius:28px;padding:1.6rem;box-shadow:var(--shadow-lift);display:flex;flex-direction:column;justify-content:center}.mapping-core span{text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:rgba(255,255,255,.72);font-size:.8rem}.mapping-core strong{font-size:2rem;line-height:1.1;margin:.35rem 0}.mapping-core p{color:rgba(255,255,255,.86);margin:0}.mapping-spokes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.spoke{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.2rem;box-shadow:var(--shadow-soft);border-top:5px solid var(--care-primary)}.spoke span{text-transform:uppercase;letter-spacing:.08em;font-size:.74rem;font-weight:900;color:var(--care-muted)}.spoke strong{display:block;color:var(--care-dark);margin:.25rem 0;font-size:1.05rem}.spoke p{color:var(--care-muted);margin:0}.spoke.ontology{border-top-color:var(--care-blue)}.spoke.profile{border-top-color:var(--care-green)}.spoke.filename{border-top-color:var(--care-teal)}.spoke.readme{border-top-color:var(--care-lightgreen)}.mapping-note{margin-top:1rem;background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1rem 1.2rem;color:var(--care-muted);box-shadow:var(--shadow-soft)}.mapping-note strong{color:var(--care-dark)}
.term-index-panel{display:grid;grid-template-columns:.8fr 1.2fr;gap:1rem;align-items:center;background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.25rem;box-shadow:var(--shadow-soft);margin-bottom:1rem}.term-index-panel h3{margin:.1rem 0 .35rem}.term-index-panel p{margin:0;color:var(--care-muted)}.term-index-actions{display:flex;flex-wrap:wrap;gap:.55rem;justify-content:flex-end}.term-index-actions button{border:1px solid var(--care-border);background:#F5F8FA;border-radius:999px;padding:.55rem .75rem;font-weight:900;color:var(--care-primary);cursor:pointer}.term-index-actions button:hover{background:rgba(0,87,147,.08)}.term-browser-shell{background:#fff;border:1px solid var(--care-border);border-radius:26px;padding:1rem;box-shadow:var(--shadow-lift)}.term-browser-heading{display:flex;justify-content:space-between;gap:1rem;align-items:start;border-bottom:1px solid var(--care-border);padding:.4rem .4rem 1rem;margin-bottom:1rem}.term-browser-heading h3{margin:.1rem 0}.term-browser-heading p{color:var(--care-muted);margin:0}.term-browser-heading .term-count{background:var(--care-primary);color:#fff;border-radius:999px;padding:.4rem .8rem;font-weight:900;white-space:nowrap}.term-grid-readable{grid-template-columns:repeat(2,minmax(0,1fr));max-height:720px;overflow:auto;padding:.3rem .25rem .3rem 0}.term-grid-readable .term-card{border-radius:18px;padding:1.05rem;border-left:4px solid var(--care-primary);box-shadow:0 5px 16px rgba(32,48,80,.06)}.term-grid-readable .term-card h3{font-size:1.12rem}.term-grid-readable .term-card p{font-size:.95rem}.term-uri code{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.timeline-vertical{position:relative;display:grid;gap:1.1rem;margin-left:1rem}.timeline-vertical:before{content:"";position:absolute;left:1.1rem;top:.8rem;bottom:.8rem;width:3px;background:linear-gradient(var(--care-green),var(--care-blue),var(--care-primary));border-radius:999px}.timeline-vertical article{position:relative;display:grid;grid-template-columns:210px 1fr;gap:1.2rem;align-items:start;padding-left:3rem}.timeline-vertical article:before{content:"";position:absolute;left:.72rem;top:1.05rem;width:15px;height:15px;border-radius:50%;background:#fff;border:4px solid var(--care-primary);z-index:1}.timeline-vertical article:first-child:before{border-color:var(--care-green)}.timeline-vertical article:nth-child(2):before{border-color:var(--care-blue)}.timeline-vertical time{display:inline-flex;background:rgba(0,87,147,.08);color:var(--care-primary);font-weight:900;border-radius:999px;padding:.35rem .75rem}.timeline-vertical article>div{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.25rem;box-shadow:var(--shadow-soft)}.timeline-vertical h3{margin:.1rem 0 .45rem}.timeline-vertical p{color:var(--care-muted);margin:0}.timeline-newest-first article:first-child>div{border-left:5px solid var(--care-green)}.timeline-newest-first article:nth-child(2)>div{border-left:5px solid var(--care-blue)}.timeline-newest-first article:nth-child(3)>div{border-left:5px solid var(--care-primary)}
.policy-principle-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:2rem}.policy-principle-band article{background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.25rem;box-shadow:var(--shadow-soft);border-top:5px solid var(--care-primary)}.policy-principle-band article:nth-child(2){border-top-color:var(--care-green)}.policy-principle-band article:nth-child(3){border-top-color:var(--care-teal)}.policy-principle-band span{font-weight:900;color:var(--care-primary)}.policy-principle-band h3{margin:.3rem 0}.policy-principle-band p{color:var(--care-muted)}.commitment-grid article,.check-card-grid article,.process-line div{transition:transform .18s ease}.commitment-grid article:hover,.check-card-grid article:hover,.process-line div:hover{transform:translateY(-3px)}.policy-support-panel{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:#fff;border:1px solid var(--care-border);border-radius:26px;padding:1.6rem;box-shadow:var(--shadow-lift)}.policy-support-panel h2{margin:.2rem 0 .45rem}.policy-support-panel p{color:var(--care-muted);margin:0;max-width:760px}.policy-support-actions{display:flex;gap:.7rem;flex-wrap:wrap;justify-content:flex-end;min-width:310px}
.contact-hero-card{display:grid;grid-template-columns:1.2fr .8fr;gap:1rem;background:#fff;border:1px solid var(--care-border);border-radius:28px;padding:1.6rem;box-shadow:var(--shadow-lift);align-items:center}.contact-hero-card h2{font-size:2rem;margin:.2rem 0 .45rem}.contact-hero-card p{color:var(--care-muted)}.contact-hero-card aside{background:linear-gradient(135deg,rgba(0,87,147,.09),rgba(136,188,77,.13));border:1px solid var(--care-border);border-radius:22px;padding:1.2rem}.contact-hero-card aside strong{display:block;color:var(--care-dark);font-size:1.1rem;margin-bottom:.3rem}.contact-hero-card aside span{color:var(--care-muted)}.contact-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.contact-step-grid article{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.2rem;box-shadow:var(--shadow-soft)}.contact-step-grid span{display:inline-grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:var(--care-primary);color:#fff;font-weight:900;margin-bottom:.7rem}.support-grid-refined article{border-top:5px solid var(--care-primary)}.support-grid-refined article:nth-child(2){border-top-color:var(--care-green)}.support-grid-refined article:nth-child(3){border-top-color:var(--care-yellow)}.support-grid-refined article:nth-child(4){border-top-color:var(--care-teal)}
@media(max-width:1100px){.ra-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.concept-flow{grid-template-columns:1fr}.flow-arrow{display:none}.mapping-showcase,.term-index-panel,.policy-support-panel,.contact-hero-card{grid-template-columns:1fr}.mapping-spokes,.policy-principle-band,.contact-step-grid{grid-template-columns:1fr 1fr}.footer-grid-refined{grid-template-columns:1fr 1fr}.term-index-actions{justify-content:flex-start}.timeline-vertical article{grid-template-columns:1fr}}
@media(max-width:720px){.ra-area-grid,.mapping-spokes,.policy-principle-band,.contact-step-grid,.term-grid-readable,.footer-grid-refined{grid-template-columns:1fr}.timeline-vertical{margin-left:0}.timeline-vertical:before{left:.9rem}.timeline-vertical article{padding-left:2.5rem}.term-browser-heading{display:block}.policy-support-actions{min-width:0;justify-content:flex-start}.profile-decision-ribbon{display:block}}

.section-tight{padding:2.2rem 0}
.spec-index{display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:1rem;margin-top:-.4rem}
.spec-index-card{background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.35rem;box-shadow:var(--shadow-soft);border-top:5px solid var(--care-teal)}
.spec-index-card.primary{border-top-color:var(--care-primary);background:linear-gradient(135deg,#fff,#F5F8FA)}
.spec-index-card h2{font-size:1.2rem;margin:.25rem 0 .45rem}
.spec-index-card p{color:var(--care-muted);margin:0 0 1rem}
.index-label{font-size:.78rem;text-transform:uppercase;letter-spacing:.09em;font-weight:900;color:var(--care-primary)}
.index-actions{display:flex;flex-wrap:wrap;gap:.55rem}
.index-actions a{display:inline-flex;border-radius:999px;padding:.42rem .7rem;border:1px solid rgba(0,87,147,.28);font-weight:900;text-decoration:none;color:var(--care-primary);background:rgba(0,87,147,.04)}
.index-actions a:hover{background:rgba(0,87,147,.1)}
.profile-choice-grid-technical{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem}
.profile-choice-enhanced{position:relative;overflow:hidden;padding:0;border-top:0;border-left:6px solid var(--profile-color)}
.profile-choice-enhanced:before{content:"";position:absolute;inset:0 0 auto 0;height:7px;background:var(--profile-color)}
.profile-card-top{padding:1.3rem 1.35rem .6rem}
.profile-card-top h3{font-size:1.35rem;margin:.28rem 0 .45rem}
.profile-scope-chip{margin:0 1.35rem .85rem;display:inline-flex;align-self:flex-start;background:color-mix(in srgb, var(--profile-color) 12%, white);color:var(--care-dark);border:1px solid color-mix(in srgb, var(--profile-color) 28%, white);border-radius:999px;padding:.34rem .68rem;font-weight:900;font-size:.83rem}
.profile-tech-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;padding:0 1.35rem 1.1rem}
.profile-tech-grid div{background:#F5F8FA;border:1px solid rgba(32,48,80,.08);border-radius:14px;padding:.7rem}
.profile-tech-grid div.wide{grid-column:1 / -1}
.profile-tech-grid span{display:block;text-transform:uppercase;letter-spacing:.07em;font-size:.68rem;font-weight:900;color:var(--care-muted);margin-bottom:.25rem}
.profile-tech-grid strong{display:block;color:var(--care-dark);font-size:.96rem;line-height:1.28}
.profile-tech-grid code{font-size:.82rem;color:var(--care-primary);overflow-wrap:anywhere}
.profile-card-actions{display:flex;gap:.55rem;flex-wrap:wrap;padding:1rem 1.35rem 1.25rem;border-top:1px solid var(--care-border);background:linear-gradient(135deg,#fff,#F9FBFC)}
.button-link{border:1px solid var(--profile-color);color:var(--profile-color);background:#fff;border-radius:999px;padding:.52rem .8rem;font-weight:900;text-decoration:none;cursor:pointer;font:inherit}
.button-link.secondary{background:var(--profile-color);color:#fff}.button-link.ghost{border-color:var(--care-border);color:var(--care-primary);background:#F5F8FA}
.term-index-actions a.term-index-open{display:inline-flex;align-items:center;border:1px solid var(--care-primary);background:var(--care-primary);color:#fff;border-radius:999px;padding:.55rem .75rem;font-weight:900;text-decoration:none}
.term-browser-shell{border-top:6px solid var(--care-primary)}
.term-grid-readable .term-card{transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease}
.term-grid-readable .term-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-soft);border-color:rgba(0,87,147,.28)}
.milestone-clean article>div{min-height:0}.milestone-clean article{align-items:center}
@media(max-width:1100px){.spec-index,.profile-choice-grid-technical{grid-template-columns:1fr}.spec-index{margin-top:0}}
@media(max-width:720px){.profile-tech-grid{grid-template-columns:1fr}.profile-card-actions{display:grid}.button-link{justify-content:center;text-align:center}.spec-index-card{padding:1.1rem}}


.op-overview-section{background:#fff;padding-top:3rem;padding-bottom:3rem}
.op-overview{display:grid;grid-template-columns:1.35fr .9fr;gap:1.2rem;align-items:stretch}
.op-overview-main,.op-spec-box{background:#fff;border:1px solid var(--care-border);border-radius:26px;box-shadow:var(--shadow-soft);padding:1.45rem}
.op-overview-main{background:linear-gradient(135deg,#fff,#F5F8FA);border-left:6px solid var(--care-primary)}
.op-overview-main h2{font-size:1.7rem;line-height:1.18;margin:.35rem 0 .65rem}.op-overview-main p{color:var(--care-muted);max-width:780px}
.op-route{display:flex;gap:.55rem;flex-wrap:wrap;margin-top:1rem}.op-route span{background:#fff;border:1px solid var(--care-border);border-radius:999px;padding:.55rem .85rem;font-weight:800;color:var(--care-primary)}
.op-spec-box dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;margin:0}.op-spec-box dt{text-transform:uppercase;font-size:.72rem;letter-spacing:.07em;color:var(--care-muted);font-weight:900}.op-spec-box dd{margin:.1rem 0 0;font-size:1.35rem;font-weight:900;color:var(--care-dark);overflow-wrap:anywhere}.op-spec-box code{font-size:.76rem}.op-spec-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:1rem}.op-spec-actions a{border:1px solid var(--care-border);border-radius:999px;padding:.45rem .7rem;font-weight:800;background:#F5F8FA;text-decoration:none}
.op-profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.op-profile-card{background:#fff;border:1px solid var(--care-border);border-radius:24px;box-shadow:var(--shadow-soft);padding:1.2rem;display:flex;flex-direction:column;gap:1rem;border-top:6px solid var(--profile-color);min-height:100%}.op-profile-card:hover{box-shadow:var(--shadow-lift);transform:translateY(-2px);transition:.18s ease}.op-profile-head{display:flex;align-items:center;gap:.75rem}.profile-mark{width:3.1rem;height:3.1rem;border-radius:16px;display:grid;place-items:center;background:var(--profile-color);color:#fff;font-weight:900;letter-spacing:.03em}.op-profile-head h3{margin:0;font-size:1.25rem}.op-profile-card p{color:var(--care-muted);margin:0}.op-profile-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem;margin:0}.op-profile-facts div{background:#F5F8FA;border:1px solid var(--care-border);border-radius:14px;padding:.65rem}.op-profile-facts dt{text-transform:uppercase;font-size:.68rem;letter-spacing:.06em;color:var(--care-muted);font-weight:900}.op-profile-facts dd{margin:.1rem 0 0;font-size:1.3rem;font-weight:900;color:var(--care-dark)}.op-profile-actions{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:auto}.op-profile-actions a,.op-profile-actions button{border:1px solid var(--profile-color);background:#fff;color:var(--profile-color);border-radius:999px;padding:.5rem .7rem;font-weight:900;text-decoration:none;cursor:pointer;font-family:inherit}.op-profile-actions a:first-child{background:var(--profile-color);color:#fff}.op-profile-actions button:hover,.op-profile-actions a:hover{text-decoration:none;filter:brightness(.96)}
.op-term-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:1.1rem;align-items:start}.op-term-tools{position:sticky;top:118px;background:#fff;border:1px solid var(--care-border);border-radius:24px;box-shadow:var(--shadow-soft);padding:1rem}.op-term-tools h3{margin:.2rem 0 .8rem}.op-term-tools label{display:grid;gap:.3rem;margin:.75rem 0;font-weight:800;color:var(--care-dark)}.op-term-tools .btn{width:100%;margin-top:.3rem}.op-alpha-nav{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.8rem}.op-alpha-nav a{display:grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:#F5F8FA;border:1px solid var(--care-border);font-weight:900;text-decoration:none;color:var(--care-primary)}
.op-term-panel{background:#fff;border:1px solid var(--care-border);border-radius:28px;box-shadow:var(--shadow-lift);padding:1rem;max-height:960px;overflow:auto}.op-term-tabs{position:sticky;top:0;background:#fff;z-index:2;display:flex;gap:.5rem;flex-wrap:wrap;padding:.25rem 0 .9rem;border-bottom:1px solid var(--care-border);margin-bottom:1rem}.op-term-tabs a{border:1px solid var(--care-border);border-radius:999px;padding:.45rem .7rem;font-weight:900;background:#F5F8FA;text-decoration:none}.op-index-list{background:#F5F8FA;border:1px solid var(--care-border);border-radius:22px;padding:1rem;margin-bottom:1rem}.op-letter-group{padding:.65rem 0;border-bottom:1px solid rgba(32,48,80,.08)}.op-letter-group:last-child{border-bottom:0}.op-letter-group h3{margin:0 0 .35rem;color:var(--care-primary)}.op-letter-group ul{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem .75rem}.op-letter-group a{font-weight:700;font-size:.92rem;overflow-wrap:anywhere}.op-term-details{display:grid;gap:.65rem}.op-term{border:1px solid var(--care-border);border-radius:18px;background:#fff;overflow:hidden}.op-term summary{cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.95rem 1rem;font-weight:900}.op-term summary small{display:block;font-weight:700;color:var(--care-muted);margin-top:.1rem}.op-term-pills{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}.op-term-pills span,.op-term-body dl span{display:inline-flex;border-radius:999px;background:rgba(0,87,147,.08);color:var(--care-primary);font-size:.76rem;font-weight:900;padding:.25rem .55rem}.op-term-body{padding:0 1rem 1rem}.op-term-body p{color:var(--care-muted);margin:.2rem 0 1rem}.op-term-body dl{display:grid;gap:.45rem;margin:0}.op-term-body dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:.75rem;padding:.45rem 0;border-top:1px solid rgba(32,48,80,.08)}.op-term-body dt{font-weight:900;color:var(--care-dark)}.op-term-body dd{margin:0;color:var(--care-muted);overflow-wrap:anywhere}
@media(max-width:1100px){.op-overview,.op-term-layout{grid-template-columns:1fr}.op-profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.op-term-tools{position:static}.op-letter-group ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.op-spec-box dl,.op-profile-grid,.op-profile-facts,.op-letter-group ul,.op-term-body dl>div{grid-template-columns:1fr}.op-term summary{display:block}.op-term-pills{justify-content:flex-start;margin-top:.5rem}}


.section-tight{padding:2.7rem 0}.ontology-two-layer{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.ontology-two-layer article{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.25rem;box-shadow:0 10px 26px rgba(32,48,80,.07)}.ontology-two-layer h2{margin:.25rem 0 .5rem;font-size:1.35rem}.ontology-two-layer p{margin:0;color:var(--care-muted)}
.namespace-simple{margin-top:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;background:#F5F8FA;border:1px solid var(--care-border);border-radius:18px;padding:1rem}.namespace-simple strong{display:block;margin-bottom:.25rem}.namespace-simple code{word-break:break-all}.namespace-simple nav{display:flex;gap:.55rem;flex-wrap:wrap}.namespace-simple nav a{border:1px solid rgba(0,87,147,.22);background:#fff;border-radius:999px;padding:.5rem .75rem;font-weight:700;text-decoration:none}.profile-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.profile-choice-card{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1.1rem;box-shadow:0 9px 22px rgba(32,48,80,.06);border-top:5px solid var(--profile-color);display:flex;flex-direction:column;gap:.8rem}.profile-choice-head{display:flex;justify-content:space-between;gap:.75rem;align-items:center}.profile-code-badge{display:inline-flex;align-items:center;border-radius:999px;background:var(--profile-color,#005793);color:#fff;font-weight:800;font-size:.8rem;letter-spacing:.04em;padding:.32rem .65rem}.profile-type{font-size:.82rem;color:var(--care-muted);font-weight:700}.profile-choice-card h3{font-size:1.3rem;margin:0}.profile-choice-card p{margin:0;color:var(--care-muted)}.profile-choice-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin-top:auto}.profile-choice-meta span{background:#F5F8FA;border:1px solid var(--care-border);border-radius:12px;padding:.55rem;font-size:.78rem;color:var(--care-muted)}.profile-choice-meta strong{display:block;font-size:1.1rem;color:var(--care-dark)}.profile-choice-actions{display:flex;gap:.55rem;flex-wrap:wrap}.profile-choice-actions .btn{padding:.55rem .8rem;font-size:.9rem}.profile-choice-actions button{font-family:inherit;cursor:pointer}
.ontology-terms-section{background:#fff}.term-index-panel{border:1px solid var(--care-border);border-radius:18px;background:#F5F8FA;margin-bottom:1rem;overflow:hidden}.term-index-panel summary{cursor:pointer;font-weight:800;padding:1rem 1.1rem}.term-alpha{display:flex;gap:.35rem;flex-wrap:wrap;padding:0 1.1rem 1rem}.term-alpha a{background:#fff;border:1px solid var(--care-border);border-radius:999px;min-width:2rem;text-align:center;padding:.28rem .45rem;font-weight:800;text-decoration:none}.term-index-groups{max-height:280px;overflow:auto;border-top:1px solid var(--care-border);padding:1rem;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem}.term-index-group{background:#fff;border:1px solid var(--care-border);border-radius:14px;padding:.8rem}.term-index-group h4{margin:0 0 .45rem;color:var(--care-primary)}.term-index-group ul{margin:0;padding-left:1rem}.term-index-group li{margin:.2rem 0}.term-browser{border:1px solid var(--care-border);border-radius:22px;background:#fff;box-shadow:0 12px 32px rgba(32,48,80,.08);overflow:hidden}.term-browser-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:.75rem;align-items:end;background:#F5F8FA;border-bottom:1px solid var(--care-border);padding:1rem}.term-browser-toolbar label{display:grid;gap:.25rem;font-weight:800}.term-browser-toolbar label span{font-size:.82rem;color:var(--care-muted)}.term-result-note{padding:.75rem 1rem;margin:0;color:var(--care-muted);border-bottom:1px solid var(--care-border)}.term-list-scroll{max-height:720px;overflow:auto;padding:.65rem}.term-row{border:1px solid var(--care-border);border-radius:14px;background:#fff;margin:.55rem 0;overflow:hidden}.term-row[hidden]{display:none!important}.term-row summary{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1rem;cursor:pointer}.term-main strong{display:block;color:var(--care-dark)}.term-main small{color:var(--care-muted)}.term-badges{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}.term-badges span{font-size:.73rem;font-weight:800;border-radius:999px;background:rgba(0,87,147,.08);color:var(--care-primary);padding:.18rem .48rem}.term-row-body{padding:0 1rem 1rem;color:var(--care-muted)}.term-row-body dl{display:grid;gap:.45rem;margin:.8rem 0 0}.term-row-body dl div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:.7rem;border-top:1px solid var(--care-border);padding-top:.45rem}.term-row-body dt{font-weight:800;color:var(--care-dark)}.term-row-body dd{margin:0;word-break:break-word}.empty-state{margin:.75rem;background:#F5F8FA}
.profile-page-intro{padding:2.5rem 0}.profile-page-card{border-left:7px solid var(--profile-color);background:#fff;border-radius:22px;border-top:1px solid var(--care-border);border-right:1px solid var(--care-border);border-bottom:1px solid var(--care-border);box-shadow:0 12px 32px rgba(32,48,80,.08);padding:1.35rem;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:1.25rem}.profile-page-main h2{font-size:2rem;margin:.75rem 0 .5rem}.profile-page-main p{color:var(--care-muted)}.profile-page-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.profile-page-stats span{background:#F5F8FA;border:1px solid var(--care-border);border-radius:14px;padding:.85rem;color:var(--care-muted)}.profile-page-stats strong{display:block;color:var(--care-dark);font-size:1.5rem}.profile-section-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.profile-section-card{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1rem;box-shadow:0 8px 20px rgba(32,48,80,.06)}.profile-section-card h3{margin:.1rem 0 .45rem}.profile-section-card p{color:var(--care-muted);font-size:.95rem}.profile-section-card span{font-weight:800;color:var(--care-primary)}.profile-field-tools{align-items:stretch}.profile-table-wrap{margin-bottom:1rem}.profile-field-details{display:grid;gap:.55rem;margin-top:1rem}.profile-field-detail{background:#fff;border:1px solid var(--care-border);border-radius:14px;overflow:hidden}.profile-field-detail[hidden]{display:none!important}.profile-field-detail summary{display:flex;justify-content:space-between;gap:1rem;padding:.8rem 1rem;cursor:pointer;font-weight:800}.profile-field-detail summary small{display:block;color:var(--care-muted);font-weight:600}.profile-field-detail>div{padding:0 1rem 1rem;color:var(--care-muted)}.profile-field-detail dl{display:grid;gap:.4rem}.profile-field-detail dl div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:.7rem;border-top:1px solid var(--care-border);padding-top:.4rem}.profile-field-detail dt{font-weight:800;color:var(--care-dark)}.profile-field-detail dd{margin:0;word-break:break-word}
@media(max-width:980px){.ontology-two-layer,.profile-choice-grid,.profile-page-card,.profile-section-grid{grid-template-columns:1fr}.namespace-simple{display:block}.namespace-simple nav{margin-top:.8rem}.term-browser-toolbar{grid-template-columns:1fr 1fr}.term-browser-toolbar label:first-child{grid-column:1/-1}.term-index-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.profile-choice-meta,.profile-page-stats,.term-browser-toolbar,.term-index-groups,.term-row-body dl div,.profile-field-detail dl div{grid-template-columns:1fr}.term-row summary{display:block}.term-badges{justify-content:flex-start;margin-top:.4rem}}


.ontology-page-hero .container{padding-bottom:4rem}.ontology-flow-section{background:#fff}.ontology-flow-simple{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.ontology-flow-simple article{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1.1rem 1.15rem;box-shadow:0 8px 22px rgba(32,48,80,.06);position:relative}.ontology-flow-simple article span{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--care-primary);color:#fff;font-weight:800;margin-bottom:.6rem}.ontology-flow-simple article:nth-child(2) span{background:var(--care-green)}.ontology-flow-simple article:nth-child(3) span{background:var(--care-teal)}.ontology-flow-simple h2{font-size:1.15rem;margin:.1rem 0 .35rem}.ontology-flow-simple p{margin:0;color:var(--care-muted)}
.profile-select-section{padding-top:3.3rem}.profile-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.profile-select-card{background:#fff;border:1px solid var(--care-border);border-left:5px solid var(--profile-color);border-radius:18px;padding:1rem;box-shadow:0 8px 24px rgba(32,48,80,.06);display:flex;flex-direction:column;gap:.8rem;min-height:265px}.profile-select-top{display:flex;justify-content:space-between;gap:.65rem;align-items:flex-start}.profile-select-top span{color:var(--profile-color);font-weight:900;letter-spacing:.03em}.profile-select-top small{color:var(--care-muted);font-weight:700;text-align:right}.profile-select-card h3{font-size:1.08rem;line-height:1.35;margin:0;color:var(--care-dark);font-weight:700}.profile-select-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;margin:auto 0 0}.profile-select-stats div{background:#F5F8FA;border:1px solid rgba(32,48,80,.08);border-radius:12px;padding:.55rem}.profile-select-stats dt{font-size:.68rem;letter-spacing:.04em;text-transform:uppercase;color:var(--care-muted);font-weight:900}.profile-select-stats dd{margin:.1rem 0 0;color:var(--care-dark);font-weight:900;font-size:1.05rem}.profile-select-actions{display:flex;gap:.55rem;flex-wrap:wrap}.profile-select-actions .btn{font-size:.9rem;padding:.55rem .8rem}.profile-select-actions .btn.is-selected,.profile-select-actions button.is-selected{background:var(--profile-color);border-color:var(--profile-color);color:#fff}.profile-select-actions button{font-family:inherit;cursor:pointer}
.term-panel-v16{background:#fff;border:1px solid var(--care-border);border-radius:22px;box-shadow:0 14px 34px rgba(32,48,80,.09);overflow:hidden}.term-panel-head{display:grid;grid-template-columns:1.3fr .95fr;gap:1rem;align-items:center;padding:1.35rem 1.35rem 1rem;border-bottom:1px solid var(--care-border)}.term-panel-head h2{margin:.15rem 0 .35rem}.term-panel-head p{margin:0;color:var(--care-muted)}.namespace-card-simple{background:#F5F8FA;border:1px solid var(--care-border);border-radius:16px;padding:1rem}.namespace-card-simple strong{display:block;margin-bottom:.35rem}.namespace-card-simple code{display:block;overflow-wrap:anywhere}.namespace-card-simple nav{display:flex;gap:.45rem;flex-wrap:wrap;margin-top:.7rem}.namespace-card-simple a{background:#fff;border:1px solid rgba(0,87,147,.18);border-radius:999px;padding:.38rem .6rem;font-weight:800;text-decoration:none;font-size:.85rem}.term-filter-bar{display:grid;grid-template-columns:1.35fr .8fr .9fr auto;gap:.75rem;align-items:end;background:#F5F8FA;border-bottom:1px solid var(--care-border);padding:1rem 1.35rem}.term-filter-bar label{display:grid;gap:.25rem;font-weight:800}.term-filter-bar label span{font-size:.8rem;color:var(--care-muted)}.term-filter-state{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.75rem 1.35rem;border-bottom:1px solid var(--care-border);color:var(--care-muted)}.term-filter-state strong{color:var(--care-dark)}.alpha-index-compact{margin:1rem 1.35rem;border:1px solid var(--care-border);border-radius:16px;background:#fff;overflow:hidden}.alpha-index-compact summary{cursor:pointer;padding:.8rem 1rem;font-weight:900}.alpha-shortcuts{display:flex;gap:.3rem;flex-wrap:wrap;padding:0 1rem .85rem}.alpha-shortcuts a{min-width:1.9rem;text-align:center;border-radius:999px;border:1px solid var(--care-border);background:#F5F8FA;padding:.22rem .4rem;font-weight:900;text-decoration:none}.alpha-index-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;max-height:300px;overflow:auto;border-top:1px solid var(--care-border);padding:1rem}.alpha-group{background:#F5F8FA;border-radius:13px;padding:.75rem}.alpha-group h4{margin:0 0 .35rem;color:var(--care-primary)}.alpha-group ul{margin:0;padding-left:1rem}.alpha-group li{margin:.18rem 0}.v16-list{max-height:760px;overflow:auto;padding:0 1.35rem 1.35rem}.v16-list .term-row{border:1px solid var(--care-border);border-radius:14px;background:#fff;margin:.55rem 0;overflow:hidden;box-shadow:0 4px 12px rgba(32,48,80,.04)}.v16-list .term-row[hidden]{display:none!important}.v16-list .term-row summary{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1rem;cursor:pointer;align-items:center}.v16-list .term-main strong{display:block;color:var(--care-dark)}.v16-list .term-main small{color:var(--care-muted)}.v16-list .term-badges{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:flex-end}.v16-list .term-badges span{font-size:.73rem;font-weight:800;border-radius:999px;background:rgba(0,87,147,.08);color:var(--care-primary);padding:.18rem .48rem}.v16-list .term-row-body{padding:0 1rem 1rem;color:var(--care-muted)}.v16-list .term-row-body dl{display:grid;gap:.45rem;margin:.8rem 0 0}.v16-list .term-row-body dl div{display:grid;grid-template-columns:155px minmax(0,1fr);gap:.7rem;border-top:1px solid var(--care-border);padding-top:.45rem}.v16-list .term-row-body dt{font-weight:800;color:var(--care-dark)}.v16-list .term-row-body dd{margin:0;word-break:break-word}.v16-list .empty-state{margin:.75rem 0;background:#F5F8FA}
.profile-detail-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:1rem;align-items:stretch}.profile-summary-panel,.profile-fact-panel{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.25rem;box-shadow:0 10px 28px rgba(32,48,80,.07)}.profile-summary-panel{border-left:6px solid var(--profile-color)}.profile-summary-panel h2{margin:.55rem 0 .55rem}.profile-summary-panel p{color:var(--care-muted)}.profile-detail-actions{display:flex;gap:.65rem;flex-wrap:wrap;margin-top:1rem}.profile-fact-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:0 0 1rem}.profile-fact-panel div{background:#F5F8FA;border:1px solid rgba(32,48,80,.08);border-radius:13px;padding:.65rem}.profile-fact-panel dt{font-size:.72rem;text-transform:uppercase;color:var(--care-muted);font-weight:900}.profile-fact-panel dd{font-size:1.35rem;color:var(--care-dark);font-weight:900;margin:.1rem 0 0}.profile-fact-panel p{color:var(--care-muted);margin:0}.profile-section-chip-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem}.profile-section-chip{display:block;background:#fff;border:1px solid var(--care-border);border-radius:16px;padding:.95rem;text-decoration:none;box-shadow:0 7px 18px rgba(32,48,80,.05)}.profile-section-chip:hover{text-decoration:none;box-shadow:0 12px 26px rgba(32,48,80,.08)}.profile-section-chip strong{display:block;color:var(--care-dark)}.profile-section-chip span{color:var(--care-muted);font-size:.9rem}.profile-detail-list{margin-top:1.1rem;display:grid;gap:.65rem}.profile-field-detail{background:#fff;border:1px solid var(--care-border);border-radius:14px;overflow:hidden}.profile-field-detail summary{cursor:pointer;display:flex;justify-content:space-between;gap:1rem;padding:.85rem 1rem;font-weight:800}.profile-field-detail-body{padding:0 1rem 1rem;color:var(--care-muted)}.profile-field-detail-body dl{display:grid;gap:.4rem}.profile-field-detail-body dl div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:.7rem;border-top:1px solid var(--care-border);padding-top:.45rem}.profile-field-detail-body dt{font-weight:800;color:var(--care-dark)}.profile-field-detail-body dd{margin:0;word-break:break-word}
@media(max-width:1050px){.profile-select-grid,.ontology-flow-simple,.term-panel-head,.profile-detail-layout{grid-template-columns:1fr}.term-filter-bar{grid-template-columns:1fr 1fr}.term-filter-bar .term-search-label{grid-column:1/-1}.alpha-index-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-section-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.profile-select-grid,.profile-select-stats,.term-filter-bar,.alpha-index-groups,.v16-list .term-row summary,.v16-list .term-row-body dl div,.profile-fact-panel dl,.profile-section-chip-grid,.profile-field-detail summary,.profile-field-detail-body dl div{grid-template-columns:1fr}.term-filter-state{display:block}.v16-list .term-badges{justify-content:flex-start;margin-top:.5rem}.namespace-card-simple nav{display:grid}.profile-detail-actions{display:grid}}


.profile-select-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem;align-items:stretch}
.profile-select-card.profile-card-lean{position:relative;min-height:0;padding:0;border-left:0;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 10px 28px rgba(32,48,80,.07);transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;gap:0}
.profile-select-card.profile-card-lean:hover{transform:translateY(-2px);box-shadow:0 16px 38px rgba(32,48,80,.11);border-color:color-mix(in srgb,var(--profile-color) 34%,#d6e1e8)}
.profile-card-accent{height:6px;background:var(--profile-color)}
.profile-card-heading{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:1.05rem 1.1rem .45rem}
.profile-card-heading h3{font-size:1.35rem;line-height:1.05;margin:.05rem 0 0;color:var(--care-dark);font-weight:900}
.profile-card-scope{margin:0;color:var(--profile-color);font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900}
.profile-card-count{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid color-mix(in srgb,var(--profile-color) 28%,white);background:color-mix(in srgb,var(--profile-color) 9%,white);color:var(--care-dark);font-weight:900;font-size:.8rem;padding:.28rem .58rem;white-space:nowrap}
.profile-card-purpose{padding:0 1.1rem;margin:.15rem 0 .8rem;color:var(--care-muted);font-size:.96rem;line-height:1.55;min-height:3rem}
.profile-card-mini-meta{display:flex;gap:.35rem;flex-wrap:wrap;padding:0 1.1rem .9rem}
.profile-card-mini-meta span{display:inline-flex;gap:.25rem;align-items:center;border-radius:999px;background:#F5F8FA;border:1px solid rgba(32,48,80,.08);font-size:.78rem;color:var(--care-muted);font-weight:800;padding:.28rem .55rem}
.profile-card-mini-meta strong{color:var(--care-dark)}
.profile-card-best{padding:.85rem 1.1rem;margin:0;background:linear-gradient(135deg,#F9FBFC,#fff);border-top:1px solid rgba(32,48,80,.08);color:var(--care-muted);font-size:.9rem;line-height:1.45;min-height:4rem}
.profile-card-best strong{color:var(--care-dark)}
.profile-card-actions{display:flex;gap:.55rem;flex-wrap:wrap;padding:.95rem 1.1rem 1.08rem;border-top:1px solid rgba(32,48,80,.08);background:#fff}
.profile-card-actions .btn{padding:.52rem .78rem;font-size:.88rem;min-height:auto}.profile-card-actions .btn.primary{box-shadow:none}.profile-card-actions .btn.secondary{background:#fff}
.profile-card-actions .btn.is-selected,.profile-card-actions button.is-selected{background:var(--profile-color);border-color:var(--profile-color);color:#fff}
.profile-card-actions button{font-family:inherit;cursor:pointer}

.profile-detail-intro{padding:2.5rem 0 1.4rem;background:linear-gradient(180deg,#fff,#F7FAFC)}
.profile-detail-shell{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.55fr);gap:1rem;align-items:stretch}
.profile-detail-hero-card{background:#fff;border:1px solid var(--care-border);border-top:6px solid var(--profile-color);border-radius:24px;padding:1.25rem 1.35rem;box-shadow:0 12px 30px rgba(32,48,80,.08)}
.profile-detail-heading-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.5fr);gap:1rem;align-items:end;margin-top:.7rem}
.profile-detail-heading-row h2{margin:.35rem 0 .35rem;font-size:2rem;line-height:1.1}.profile-detail-heading-row p{margin:0;color:var(--care-muted);max-width:70ch}
.profile-code-badge{display:inline-flex;background:color-mix(in srgb,var(--profile-color) 12%,white);border:1px solid color-mix(in srgb,var(--profile-color) 35%,white);color:var(--care-dark);border-radius:999px;padding:.32rem .65rem;font-weight:900;letter-spacing:.04em;font-size:.78rem}
.profile-iri-box{background:#F5F8FA;border:1px solid rgba(32,48,80,.08);border-radius:16px;padding:.85rem;min-width:0}.profile-iri-box span{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;color:var(--care-muted);font-weight:900;margin-bottom:.25rem}.profile-iri-box code{font-size:.84rem;color:var(--care-primary);overflow-wrap:anywhere}
.profile-detail-actions .btn.ghost{background:#F5F8FA;color:var(--care-primary);border:1px solid rgba(0,87,147,.18)}
.profile-detail-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.profile-detail-facts div{background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:1rem;box-shadow:0 9px 24px rgba(32,48,80,.06)}.profile-detail-facts strong{display:block;color:var(--profile-color);font-size:1.75rem;line-height:1}.profile-detail-facts span{display:block;margin-top:.35rem;color:var(--care-muted);font-weight:800;font-size:.86rem}
.profile-detail-structure{padding:2.2rem 0}.profile-section-chip-grid{gap:.85rem}.profile-section-chip{border-radius:18px;position:relative;overflow:hidden}.profile-section-chip:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--profile-color,#005793)}.profile-section-chip strong{font-size:1rem}.profile-section-chip span{display:block;margin-top:.28rem}
.profile-fields-section{padding:2.6rem 0}.profile-fields-section .table-wrap,.profile-field-details,.profile-detail-list{background:#fff;border:1px solid var(--care-border);border-radius:20px;box-shadow:0 10px 26px rgba(32,48,80,.06);overflow:hidden}.profile-fields-section .table-wrap{padding:0}.profile-table-wrap table{margin:0}.profile-field-tools{background:#F5F8FA;border:1px solid var(--care-border);border-radius:18px;padding:.75rem;margin-bottom:1rem}.profile-field-detail{border-left:0;border-right:0;border-radius:0;margin:0}.profile-field-detail:first-child{border-top:0}.profile-field-detail:last-child{border-bottom:0}.profile-field-detail summary{padding:1rem 1.15rem}.profile-field-detail-body{padding:0 1.15rem 1.15rem}.profile-field-detail summary:hover{background:#F9FBFC}
@media(max-width:1050px){.profile-select-grid,.profile-detail-shell,.profile-detail-heading-row{grid-template-columns:1fr}.profile-card-purpose,.profile-card-best{min-height:0}}
@media(max-width:680px){.profile-detail-facts{grid-template-columns:1fr}.profile-card-actions{display:grid}.profile-card-actions .btn{text-align:center}}


.profile-card-mini-meta span{white-space:normal;line-height:1.25}.profile-card-mini-meta span strong{white-space:nowrap}.profile-field-result-state{display:flex;justify-content:space-between;gap:1rem;align-items:center;background:#fff;border:1px solid var(--care-border);border-bottom:0;border-radius:18px 18px 0 0;padding:.8rem 1rem;color:var(--care-muted)}.profile-field-result-state strong{color:var(--care-dark)}.profile-field-browser-list.profile-detail-list{margin-top:0;border-radius:0 0 20px 20px}.profile-field-empty{margin:1rem 0 0}.profile-section-chip.is-active{border-color:color-mix(in srgb,var(--profile-color,#005793) 45%,#d6e1e8);box-shadow:0 12px 28px rgba(0,87,147,.12);background:linear-gradient(180deg,#fff,#f7fbfd)}.profile-field-detail[hidden]{display:none!important}.term-row.is-highlighted{border-color:rgba(0,87,147,.55)!important;box-shadow:0 0 0 3px rgba(0,87,147,.12),0 8px 22px rgba(32,48,80,.10)!important}.alpha-index-compact a{cursor:pointer}.alpha-group a:hover{text-decoration:underline}
@media(max-width:680px){.profile-field-result-state{display:block}.profile-field-result-state span{display:block;margin-top:.25rem}}


.profile-field-detail summary{align-items:center;position:relative;padding-right:2.4rem;}
.profile-field-detail summary::after{content:'+';position:absolute;right:1.05rem;top:50%;transform:translateY(-50%);font-weight:900;color:var(--care-primary);font-size:1.1rem;}
.profile-field-detail[open] summary::after{content:'–';}
.profile-field-summary-main{display:grid;gap:.15rem;min-width:0;}
.profile-field-summary-main strong{color:var(--care-dark);font-weight:900;}
.profile-field-summary-main small{color:var(--care-muted);font-weight:600;line-height:1.35;}
.aims-preview-section{padding:2.7rem 0;}
.compact-title{max-width:860px;}
.aims-form-shell{background:#fff;border:1px solid var(--care-border);border-radius:22px;box-shadow:0 12px 30px rgba(32,48,80,.07);overflow:hidden;}
.aims-preview-note{background:linear-gradient(90deg,rgba(0,87,147,.08),rgba(136,188,77,.08));border-bottom:1px solid var(--care-border);padding:.9rem 1.1rem;color:var(--care-muted);font-weight:700;}
.aims-form-section{border-bottom:1px solid var(--care-border);}
.aims-form-section:last-of-type{border-bottom:0;}
.aims-form-section summary{cursor:pointer;display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:1rem 1.15rem;background:#fff;}
.aims-form-section summary:hover{background:#F9FBFC;}
.aims-form-section summary strong{display:block;color:var(--care-dark);}
.aims-form-section summary small{display:block;color:var(--care-muted);font-weight:600;margin-top:.15rem;}
.aims-section-count{white-space:nowrap;background:#F5F8FA;border:1px solid var(--care-border);border-radius:999px;padding:.25rem .65rem;color:var(--care-muted);font-weight:800;font-size:.85rem;}
.aims-form-fields{padding:0 1.15rem 1.15rem;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;}
.aims-field,.aims-repeat-group{border:1px solid var(--care-border);border-radius:16px;background:#FBFCFD;padding:.9rem;}
.aims-field label{display:grid;gap:.15rem;font-weight:800;color:var(--care-dark);}
.aims-label-title{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap;}
.aims-field small{color:var(--care-muted);font-weight:600;line-height:1.3;}
.aims-help{color:var(--care-muted);font-size:.9rem;line-height:1.45;margin:.45rem 0 .65rem;}
.aims-field input,.aims-field select,.aims-field textarea{width:100%;border:1px solid var(--care-border);border-radius:12px;padding:.7rem .75rem;font:inherit;background:#fff;color:var(--care-dark);}
.aims-field textarea{resize:vertical;}
.aims-field.is-missing{border-color:#b54708;background:#fff8f3;box-shadow:0 0 0 3px rgba(181,71,8,.08);}
.aims-required{display:inline-flex;align-items:center;border-radius:999px;padding:.12rem .45rem;background:rgba(0,87,147,.09);color:var(--care-primary);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.02em;}
.aims-repeat-group{grid-column:1/-1;background:#fff;}
.aims-repeat-group legend{font-weight:900;color:var(--care-dark);padding:0 .35rem;}
.aims-repeat-instance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.75rem;}
.aims-repeat-instance+.aims-repeat-instance{border-top:1px dashed var(--care-border);padding-top:.75rem;}
.aims-add-entry{margin-top:.75rem;}
.aims-form-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;border-top:1px solid var(--care-border);padding:1rem 1.15rem;background:#F9FBFC;}
.aims-check-status{color:var(--care-muted);font-weight:700;}
.aims-check-status.is-ok{color:#007a52;}
.aims-check-status.is-alert{color:#b54708;}
@media(max-width:760px){.aims-form-fields,.aims-repeat-instance{grid-template-columns:1fr}.aims-form-section summary{display:block}.aims-section-count{display:inline-flex;margin-top:.5rem}.profile-field-detail summary{display:block}}


.profile-card-action-note{display:inline-flex;align-items:center;color:var(--care-muted);font-weight:700;font-size:.86rem;line-height:1.35;padding:.45rem 0;}
.profile-card-actions{align-items:center;}
.ontology-page-hero .container.narrow{max-width:940px;}

/* Coscine/AIMS-style form preview: clearer editor feeling, less card clutter */
.aims-form-shell{border-radius:18px;background:#fff;border:1px solid #d9e3e8;box-shadow:0 18px 44px rgba(32,48,80,.10);}
.aims-preview-note{background:#eef6fb;color:#203050;border-bottom:1px solid #d9e3e8;font-weight:600;}
.aims-preview-note strong{color:#005793;margin-right:.25rem;}
.aims-section-nav{display:flex;gap:.45rem;flex-wrap:wrap;padding:.85rem 1.05rem;background:#f7fafb;border-bottom:1px solid #d9e3e8;position:sticky;top:0;z-index:2;}
.aims-section-nav a{display:inline-flex;align-items:center;border:1px solid #d9e3e8;background:#fff;border-radius:999px;padding:.38rem .7rem;font-weight:800;text-decoration:none;color:#203050;font-size:.86rem;}
.aims-section-nav a:hover{background:rgba(0,87,147,.07);border-color:rgba(0,87,147,.28);color:#005793;}
.aims-form-section{border-bottom:1px solid #d9e3e8;background:#fff;scroll-margin-top:110px;}
.aims-form-section summary{background:#fff;padding:1.15rem 1.2rem;border-left:5px solid rgba(0,87,147,.25);}
.aims-form-section[open] summary{background:#fbfdfe;border-left-color:#005793;}
.aims-form-section summary strong{font-size:1.04rem;}
.aims-form-section summary small{max-width:820px;}
.aims-section-count{background:#eef4f7;color:#203050;border-color:#d9e3e8;}
.aims-form-fields{grid-template-columns:1fr;gap:0;padding:0;}
.aims-field,.aims-repeat-group{border:0;border-top:1px solid #e2ebef;border-radius:0;background:#fff;padding:1.1rem 1.2rem;}
.aims-repeat-group{background:#fbfdfe;}
.aims-field label{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;border:0;}
.aims-label-title{font-size:.98rem;color:#203050;}
.aims-field small{font-size:.82rem;text-align:right;max-width:50%;}
.aims-help{margin:.35rem 0 .75rem;max-width:920px;}
.aims-field input,.aims-field select,.aims-field textarea{border:1px solid #cfdce3;border-radius:8px;background:#fff;box-shadow:inset 0 1px 2px rgba(32,48,80,.04);min-height:42px;}
.aims-field input:focus,.aims-field select:focus,.aims-field textarea:focus{outline:3px solid rgba(0,87,147,.13);border-color:#005793;}
.aims-repeat-instance{grid-template-columns:1fr;gap:0;border:1px solid #d9e3e8;border-radius:12px;background:#fff;overflow:hidden;margin-top:.8rem;}
.aims-repeat-instance .aims-field:first-child{border-top:0;}
.aims-add-entry{margin:.85rem 0 0 1.2rem;}
.aims-form-actions{background:#f7fafb;padding:1rem 1.2rem;}

/* Profile-specific term catalog */
.profile-fields-section .section-title{max-width:880px;}
.profile-field-result-state{margin-bottom:.75rem;}
.profile-alpha-index{margin:1rem 0 1.2rem;background:#fff;border:1px solid var(--care-border);border-radius:18px;box-shadow:var(--shadow-soft);overflow:hidden;}
.profile-alpha-index summary{cursor:pointer;padding:.9rem 1rem;font-weight:900;color:#203050;background:#f8fbfc;}
.profile-alpha-index[open] summary{border-bottom:1px solid var(--care-border);}
.profile-alpha-index .alpha-shortcuts{padding:.85rem 1rem .35rem;}
.profile-alpha-index .alpha-index-groups{padding:0 1rem 1rem;max-height:340px;overflow:auto;}
.profile-alpha-index .alpha-group{scroll-margin-top:120px;}
.profile-alpha-index .alpha-group ul{columns:2;}
.profile-field-detail{scroll-margin-top:120px;}
.profile-field-detail.is-highlighted{border-color:rgba(0,87,147,.55)!important;box-shadow:0 0 0 3px rgba(0,87,147,.12),0 8px 22px rgba(32,48,80,.10)!important;}
.profile-field-detail-body dl div:has(dt + dd code){align-items:start;}

@media(max-width:760px){
  .aims-section-nav{position:static;}
  .aims-field label{display:grid;}
  .aims-field small{text-align:left;max-width:none;}
  .profile-alpha-index .alpha-group ul{columns:1;}
}


.ontology-page-hero .container{max-width:980px;}
.ontology-flow-section.section-tight{padding:1.85rem 0 1.65rem;}
.ontology-flow-simple{gap:.85rem;}
.ontology-flow-simple article{border-radius:16px;box-shadow:none;background:#fbfdfe;border-color:#dce7ec;padding:1rem 1.05rem;}
.ontology-flow-simple article span{width:1.75rem;height:1.75rem;font-size:.9rem;margin-bottom:.5rem;}
.ontology-flow-simple h2{font-size:1.05rem;}
.ontology-flow-simple p{font-size:.94rem;line-height:1.45;}
.profile-select-section{padding-top:2.65rem;padding-bottom:3.1rem;}
.profile-select-section .section-title{max-width:900px;margin-bottom:1.35rem;}
.profile-select-section .section-title h2{margin-top:.2rem;}
.profile-select-grid{gap:1rem;align-items:stretch;}
.profile-select-card.profile-card-v21{border:1px solid #dbe7ed;border-radius:18px;box-shadow:0 8px 22px rgba(32,48,80,.055);background:#fff;}
.profile-select-card.profile-card-v21:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(32,48,80,.095);border-color:color-mix(in srgb,var(--profile-color) 26%,#dbe7ed);}
.profile-card-v21 .profile-card-accent{height:4px;}
.profile-card-v21 .profile-card-heading{padding:1rem 1rem .35rem;align-items:center;}
.profile-card-v21 .profile-card-heading h3{font-size:1.28rem;letter-spacing:-.01em;}
.profile-card-v21 .profile-card-scope{font-size:.72rem;letter-spacing:.075em;}
.profile-card-v21 .profile-card-count{font-size:.78rem;padding:.24rem .55rem;background:#fff;color:var(--profile-color);border-color:color-mix(in srgb,var(--profile-color) 35%,#dbe7ed);}
.profile-card-v21 .profile-card-purpose{padding:0 1rem;margin:.2rem 0 .8rem;min-height:0;line-height:1.5;font-size:.94rem;}
.profile-card-metrics-v21{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem;padding:0 1rem .85rem;}
.profile-card-metrics-v21 span{display:grid;gap:.12rem;align-content:start;border-radius:12px;background:#f7fafb;border:1px solid #e0e9ee;padding:.55rem .6rem;color:#203050;line-height:1.2;}
.profile-card-metrics-v21 span small{font-size:.68rem;line-height:1.2;color:#667887;font-weight:800;text-transform:uppercase;letter-spacing:.045em;}
.profile-card-metrics-v21 span strong{font-size:1.05rem;color:#203050;font-weight:900;line-height:1;}
.profile-card-v21 .profile-card-best{padding:0 1rem .95rem;min-height:0;background:#fff;border-top:0;font-size:.88rem;line-height:1.45;color:#607383;}
.profile-card-v21 .profile-card-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.65rem;align-items:center;margin-top:auto;padding:.85rem 1rem 1rem;background:#fbfdfe;border-top:1px solid #e2ebef;}
.profile-card-v21 .profile-card-actions .btn{justify-self:start;border-radius:999px;}
.profile-card-v21 .profile-card-action-note{font-size:.78rem;font-weight:700;color:#72828e;padding:0;}
.profile-detail-intro{padding:2.35rem 0 1.25rem;}
.profile-detail-shell{gap:1.1rem;}
.profile-detail-hero-card{border-radius:22px;box-shadow:0 12px 28px rgba(32,48,80,.075);}
.profile-detail-heading-row h2{font-size:1.9rem;}
.profile-detail-actions{margin-top:1.15rem;}
.profile-detail-actions .btn{border-radius:999px;}
.profile-detail-facts div{box-shadow:none;border-color:#dfe9ee;background:#fbfdfe;}
.profile-detail-facts strong{font-size:1.55rem;}
.profile-detail-structure{padding:2rem 0;}
.profile-section-chip-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.profile-section-chip{box-shadow:none;border-color:#dfe9ee;background:#fff;padding:.9rem .95rem;}
.profile-section-chip:hover{box-shadow:0 10px 22px rgba(32,48,80,.07);}
.aims-preview-section{padding:2.55rem 0;}
.aims-form-shell{box-shadow:0 14px 34px rgba(32,48,80,.085);border-color:#d5e2e9;}
.aims-preview-note{padding:.85rem 1.1rem;line-height:1.5;}
.aims-section-nav{top:0;padding:.75rem 1rem;}
.aims-section-nav a{border-radius:10px;padding:.42rem .68rem;}
.aims-form-section summary{padding:1.05rem 1.15rem;}
.aims-form-section summary strong{font-size:1rem;}
.aims-form-section summary small{line-height:1.35;}
.aims-section-count{font-size:.8rem;}
.aims-field,.aims-repeat-group{padding:1rem 1.15rem;}
.aims-repeat-group legend{font-size:.98rem;}
.aims-help{font-size:.88rem;line-height:1.45;color:#667887;}
.aims-field input,.aims-field select,.aims-field textarea{border-radius:9px;min-height:40px;}
.aims-form-actions{gap:.65rem;}
.profile-fields-section{padding:2.45rem 0 3.1rem;}
.profile-fields-section .section-title{max-width:900px;margin-bottom:1rem;}
.profile-field-tools{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(220px,.55fr);gap:.7rem;background:#f7fafb;border-color:#dfe9ee;border-radius:16px;padding:.85rem;}
.profile-field-tools .search-input,.profile-field-tools .select-input{min-height:42px;}
.profile-field-result-state{border-color:#dfe9ee;background:#fff;border-radius:16px;margin:.9rem 0 .85rem;padding:.8rem .95rem;}
.profile-alpha-index{box-shadow:none;border-color:#dfe9ee;margin:0 0 1rem;}
.profile-alpha-index summary{background:#fbfdfe;padding:.85rem .95rem;}
.profile-alpha-index .alpha-index-groups{max-height:300px;}
.profile-field-browser-list.profile-detail-list{border-radius:18px;box-shadow:0 12px 28px rgba(32,48,80,.065);border-color:#dfe9ee;}
.profile-field-detail summary{padding:.95rem 1.1rem;background:#fff;}
.profile-field-summary-main strong{font-size:.98rem;}
.profile-field-summary-main small{font-size:.86rem;}
.profile-field-detail-body{background:#fbfdfe;padding:0 1.1rem 1.05rem;}
.profile-field-detail-body dl div{border-top-color:#dfe9ee;grid-template-columns:165px minmax(0,1fr);}
.profile-field-detail-body dt{font-size:.9rem;}
.profile-field-detail-body dd{font-size:.92rem;}
@media(max-width:1050px){.profile-card-metrics-v21{grid-template-columns:repeat(3,minmax(0,1fr));}.profile-section-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:760px){.profile-card-metrics-v21,.profile-field-tools,.profile-field-detail-body dl div{grid-template-columns:1fr}.profile-card-v21 .profile-card-actions{grid-template-columns:1fr}.profile-card-v21 .profile-card-actions .btn{justify-self:stretch;text-align:center}.profile-section-chip-grid{grid-template-columns:1fr}.profile-detail-heading-row{display:block}.profile-iri-box{margin-top:1rem}}

.profile-fields-section .section-title{margin-bottom:1rem;}
.profile-alpha-index{margin:.25rem 0 .85rem;border-radius:14px;background:#fff;border:1px solid #dce7ec;box-shadow:0 8px 20px rgba(32,48,80,.045);}
.profile-alpha-index summary{padding:.72rem .9rem;font-size:.92rem;font-weight:900;color:#203050;background:#fbfdfe;border-radius:14px;}
.profile-alpha-index[open] summary{border-bottom:1px solid #e3ebef;border-radius:14px 14px 0 0;}
.profile-alpha-index .alpha-shortcuts{padding:.65rem .75rem .2rem;gap:.32rem;}
.profile-alpha-index .alpha-shortcuts a{min-width:1.8rem;text-align:center;padding:.28rem .45rem;border-radius:8px;font-size:.78rem;}
.profile-alpha-index .alpha-index-groups{padding:.45rem .75rem .8rem;max-height:255px;gap:.65rem;}
.profile-alpha-index .alpha-group{padding:.6rem .65rem;border-radius:10px;background:#f8fbfc;border:1px solid #edf2f5;}
.profile-alpha-index .alpha-group h4{font-size:.82rem;margin:0 0 .35rem;color:#005793;}
.profile-alpha-index .alpha-group li{font-size:.86rem;line-height:1.25;margin-bottom:.25rem;}
.profile-field-filter-label{margin:.8rem 0 .35rem;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#667887;}
.profile-field-tools{margin-top:0;padding:.65rem;border-radius:14px;}
.profile-field-tools .search-input,.profile-field-tools .select-input{min-height:38px;padding:.62rem .82rem;border-radius:10px;font-size:.91rem;}
.profile-field-result-state{margin:.72rem 0 .8rem;padding:.65rem .82rem;font-size:.9rem;}
.profile-field-browser-list.profile-detail-list{border-radius:15px;}
.profile-field-detail summary{padding:.82rem .95rem;}
.profile-field-summary-main strong{font-size:.94rem;}
.profile-field-summary-main small{font-size:.8rem;color:#6b7c88;}
.profile-field-detail-body{padding:0 .95rem .85rem;}
.profile-field-detail-body p{font-size:.92rem;line-height:1.48;margin:.75rem 0;}
.profile-field-detail-body dl div{grid-template-columns:145px minmax(0,1fr);padding:.42rem 0;}
.profile-field-detail-body dt{font-size:.82rem;}
.profile-field-detail-body dd{font-size:.88rem;}

.aims-preview-section{padding:2.35rem 0;background:#f4f7fa;}
.aims-preview-section .section-title{max-width:860px;margin-bottom:1rem;}
.aims-form-shell.aims-compact-editor{max-width:1040px;margin:0 auto;border-radius:12px;border:1px solid #cfdce3;box-shadow:0 10px 26px rgba(32,48,80,.08);background:#fff;overflow:hidden;}
.aims-editor-header{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.7rem .9rem;background:#eef3f6;border-bottom:1px solid #cfdce3;}
.aims-editor-title{display:grid;gap:.1rem;}
.aims-editor-title span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#667887;font-weight:900;}
.aims-editor-title strong{font-size:.98rem;color:#203050;}
.aims-editor-status{font-size:.78rem;font-weight:800;color:#667887;background:#fff;border:1px solid #dbe5eb;border-radius:999px;padding:.25rem .55rem;white-space:nowrap;}
.aims-compact-editor .aims-preview-note{padding:.62rem .9rem;font-size:.85rem;line-height:1.4;background:#f8fbfc;border-bottom:1px solid #dbe5eb;}
.aims-compact-editor .aims-section-nav{padding:.55rem .8rem;gap:.35rem;background:#fff;border-bottom:1px solid #dbe5eb;position:sticky;top:0;z-index:2;}
.aims-compact-editor .aims-section-nav a{font-size:.78rem;border-radius:8px;padding:.32rem .52rem;border-color:#d8e4ea;background:#f8fbfc;}
.aims-compact-editor .aims-form-section{scroll-margin-top:96px;border-bottom:1px solid #dbe5eb;}
.aims-compact-editor .aims-form-section summary{padding:.75rem .9rem;border-left:4px solid rgba(0,87,147,.22);}
.aims-compact-editor .aims-form-section[open] summary{border-left-color:#005793;background:#fafdfe;}
.aims-compact-editor .aims-form-section summary strong{font-size:.92rem;}
.aims-compact-editor .aims-form-section summary small{font-size:.78rem;line-height:1.3;color:#667887;}
.aims-compact-editor .aims-section-count{font-size:.72rem;padding:.18rem .5rem;}
.aims-compact-editor .aims-form-fields{padding:.55rem .75rem .75rem;background:#fff;display:grid;grid-template-columns:1fr;gap:.5rem;}
.aims-compact-editor .aims-field,.aims-compact-editor .aims-repeat-group{border:1px solid #dfe8ed;border-radius:8px;background:#fff;padding:.68rem .72rem;margin:0;}
.aims-compact-editor .aims-repeat-group{background:#fbfdfe;}
.aims-compact-editor .aims-repeat-group legend{font-size:.87rem;font-weight:900;color:#203050;padding:0 .28rem;}
.aims-compact-editor .aims-field label{display:grid;grid-template-columns:minmax(170px,.55fr) minmax(160px,.45fr);gap:.7rem;align-items:start;}
.aims-compact-editor .aims-label-title{font-size:.87rem;line-height:1.25;font-weight:900;color:#203050;}
.aims-compact-editor .aims-field small{font-size:.72rem;line-height:1.25;text-align:right;color:#6d7e8a;max-width:none;}
.aims-compact-editor .aims-help{font-size:.78rem;line-height:1.35;color:#6b7c88;margin:.28rem 0 .48rem;max-width:900px;}
.aims-compact-editor .aims-field input,.aims-compact-editor .aims-field select,.aims-compact-editor .aims-field textarea{min-height:34px;border-radius:6px;padding:.48rem .55rem;font-size:.86rem;border:1px solid #cbd8df;background:#fff;}
.aims-compact-editor .aims-field textarea{min-height:72px;}
.aims-compact-editor .aims-repeat-instance{border:1px solid #dbe5eb;border-radius:8px;margin-top:.55rem;background:#fff;}
.aims-compact-editor .aims-repeat-instance .aims-field{border:0;border-top:1px solid #e6edf1;border-radius:0;}
.aims-compact-editor .aims-repeat-instance .aims-field:first-child{border-top:0;}
.aims-compact-editor .aims-add-entry{margin:.55rem 0 0 0;font-size:.8rem;padding:.42rem .68rem;border-radius:8px;}
.aims-compact-editor .aims-required{font-size:.63rem;padding:.08rem .34rem;letter-spacing:.04em;}
.aims-compact-editor .aims-form-actions{padding:.72rem .9rem;background:#f8fbfc;border-top:1px solid #dbe5eb;}
.aims-compact-editor .aims-form-actions .btn{font-size:.84rem;padding:.55rem .78rem;border-radius:9px;}
.aims-compact-editor .aims-check-status{font-size:.84rem;}
@media(max-width:760px){
  .aims-editor-header{display:grid;align-items:start;}
  .aims-editor-status{width:max-content;}
  .aims-compact-editor .aims-section-nav{position:static;}
  .aims-compact-editor .aims-field label{grid-template-columns:1fr;gap:.18rem;}
  .aims-compact-editor .aims-field small{text-align:left;}
  .profile-alpha-index .alpha-index-groups{max-height:none;}
}

.profile-directory-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
  align-items:stretch;
}
.profile-directory-card{
  position:relative;
  display:grid;
  grid-template-columns:10px minmax(0,1fr) minmax(210px,.42fr);
  grid-template-areas:
    "rail main facts"
    "rail action action";
  overflow:hidden;
  border:1px solid #dce8ee;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 26px rgba(32,48,80,.055);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.profile-directory-card:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--profile-color) 35%,#dce8ee);
  box-shadow:0 16px 34px rgba(32,48,80,.09);
}
.profile-directory-card-foundation{
  grid-column:1 / -1;
  grid-template-columns:10px minmax(0,1fr) minmax(280px,.36fr);
}
.profile-directory-rail{
  grid-area:rail;
  background:linear-gradient(180deg,var(--profile-color),color-mix(in srgb,var(--profile-color) 58%,#203050));
}
.profile-directory-main{
  grid-area:main;
  padding:1.25rem 1.3rem 1rem;
}
.profile-directory-topline{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  margin-bottom:.45rem;
}
.profile-directory-scope{
  display:inline-flex;
  width:max-content;
  max-width:100%;
  border-radius:999px;
  background:color-mix(in srgb,var(--profile-color) 9%,#fff);
  color:var(--profile-color);
  border:1px solid color-mix(in srgb,var(--profile-color) 22%,#e2ebef);
  padding:.22rem .58rem;
  font-size:.72rem;
  letter-spacing:.055em;
  text-transform:uppercase;
  font-weight:900;
  line-height:1.2;
}
.profile-directory-total{
  flex:0 0 auto;
  color:#607383;
  font-size:.82rem;
  font-weight:800;
  white-space:nowrap;
}
.profile-directory-main h3{
  margin:0 0 .45rem;
  color:#203050;
  font-size:1.42rem;
  line-height:1.08;
  letter-spacing:-.015em;
}
.profile-directory-purpose{
  margin:.25rem 0 .7rem;
  color:#4f6474;
  font-size:.98rem;
  line-height:1.5;
}
.profile-directory-best{
  margin:0;
  color:#667887;
  font-size:.9rem;
  line-height:1.45;
}
.profile-directory-best strong{color:#203050;}
.profile-directory-facts{
  grid-area:facts;
  border-left:1px solid #e3edf2;
  background:linear-gradient(180deg,#fbfdfe,#f6fafc);
  padding:1.1rem 1rem;
}
.profile-directory-facts dl{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.7rem;
  margin:0;
}
.profile-directory-facts div{
  min-width:0;
  border-radius:14px;
  background:#fff;
  border:1px solid #e1ebf0;
  padding:.7rem .75rem;
}
.profile-directory-facts dt{
  margin:0 0 .22rem;
  color:#6d7f8c;
  font-size:.68rem;
  text-transform:uppercase;
  letter-spacing:.055em;
  font-weight:900;
  line-height:1.2;
}
.profile-directory-facts dd{
  margin:0;
  color:#203050;
  font-size:1rem;
  font-weight:900;
  line-height:1.15;
}
.profile-directory-action{
  grid-area:action;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.9rem 1.25rem 1rem 1.3rem;
  border-top:1px solid #e3edf2;
  background:#fff;
}
.profile-directory-action .btn{
  flex:0 0 auto;
  border-radius:999px;
  box-shadow:none;
  padding:.58rem .9rem;
  font-size:.9rem;
}
.profile-directory-action span{
  color:#6d7f8c;
  font-size:.84rem;
  font-weight:750;
  text-align:right;
}
@media(max-width:1120px){
  .profile-directory-grid{grid-template-columns:1fr;}
  .profile-directory-card,.profile-directory-card-foundation{grid-column:auto;grid-template-columns:10px minmax(0,1fr) minmax(230px,.38fr);}
}
@media(max-width:760px){
  .profile-directory-card,.profile-directory-card-foundation{
    grid-template-columns:1fr;
    grid-template-areas:"rail" "main" "facts" "action";
  }
  .profile-directory-rail{height:6px;}
  .profile-directory-facts{border-left:0;border-top:1px solid #e3edf2;}
  .profile-directory-facts dl{grid-template-columns:repeat(2,minmax(0,1fr));}
  .profile-directory-action{display:grid;gap:.6rem;}
  .profile-directory-action .btn{text-align:center;}
  .profile-directory-action span{text-align:left;}
}
@media(max-width:520px){
  .profile-directory-facts dl{grid-template-columns:1fr;}
  .profile-directory-topline{align-items:flex-start;flex-direction:column;gap:.35rem;}
}


.profile-catalog-list{
  display:grid;
  gap:.85rem;
  margin-top:.35rem;
}
.profile-row-card{
  position:relative;
  display:grid;
  grid-template-columns:8px minmax(0,1fr);
  overflow:hidden;
  border:1px solid #dce8ee;
  border-radius:20px;
  background:#fff;
  box-shadow:0 9px 24px rgba(32,48,80,.052);
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.profile-row-card:hover{
  transform:translateY(-1px);
  border-color:color-mix(in srgb,var(--profile-color) 34%,#dce8ee);
  box-shadow:0 14px 32px rgba(32,48,80,.085);
}
.profile-row-accent{
  background:linear-gradient(180deg,var(--profile-color),color-mix(in srgb,var(--profile-color) 60%,#203050));
}
.profile-row-body{
  display:grid;
  gap:.78rem;
  padding:1.1rem 1.2rem 1.05rem;
}
.profile-row-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.profile-row-title{
  min-width:0;
  display:grid;
  gap:.35rem;
}
.profile-row-scope{
  width:max-content;
  max-width:100%;
  display:inline-flex;
  border-radius:999px;
  background:color-mix(in srgb,var(--profile-color) 8%,#fff);
  color:var(--profile-color);
  border:1px solid color-mix(in srgb,var(--profile-color) 20%,#e2ebef);
  padding:.2rem .55rem;
  font-size:.7rem;
  letter-spacing:.055em;
  text-transform:uppercase;
  font-weight:900;
  line-height:1.2;
}
.profile-row-title h3{
  margin:0;
  color:#203050;
  font-size:1.35rem;
  line-height:1.08;
  letter-spacing:-.012em;
}
.profile-row-button{
  flex:0 0 auto;
  border-radius:999px;
  padding:.55rem .92rem;
  box-shadow:none;
  font-size:.9rem;
}
.profile-row-copy{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(260px,.78fr);
  gap:1rem;
  align-items:start;
}
.profile-row-purpose,
.profile-row-use{
  margin:0;
  font-size:.94rem;
  line-height:1.5;
}
.profile-row-purpose{color:#405665;font-weight:650;}
.profile-row-use{color:#667887;}
.profile-row-use strong{color:#203050;}
.profile-row-facts{
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.55rem;
  margin:0;
  padding:.78rem 0 0;
  border-top:1px solid #e4edf2;
}
.profile-row-facts li{
  min-width:0;
  display:flex;
  align-items:baseline;
  gap:.38rem;
  border-radius:12px;
  background:#f8fbfc;
  border:1px solid #e2ebef;
  padding:.55rem .65rem;
  color:#203050;
}
.profile-row-facts strong{
  flex:0 0 auto;
  color:var(--profile-color);
  font-size:1.08rem;
  line-height:1;
  font-weight:900;
}
.profile-row-facts span{
  min-width:0;
  color:#607383;
  font-size:.78rem;
  line-height:1.2;
  font-weight:800;
}
@media(max-width:960px){
  .profile-row-copy{grid-template-columns:1fr;gap:.42rem;}
  .profile-row-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .profile-row-card{grid-template-columns:1fr;}
  .profile-row-accent{height:6px;}
  .profile-row-body{padding:1rem;}
  .profile-row-top{display:grid;gap:.75rem;}
  .profile-row-button{width:100%;text-align:center;}
  .profile-row-facts{grid-template-columns:1fr;}
}


.tools-page-hero .hero-actions .external:after,
.btn.external:after,
.mini-tool-card.external:after{content:"↗";font-size:.85em;margin-left:.25rem;}
.tool-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:stretch;}
.tool-link-card{background:#fff;border:1px solid var(--care-border);border-radius:24px;padding:1.25rem;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;justify-content:space-between;gap:1.1rem;border-top:5px solid var(--care-teal);}
.tool-link-card.primary-tool{border-top-color:var(--care-primary);}
.tool-link-card h3{font-size:1.35rem;margin:.25rem 0 .4rem;color:var(--care-dark);}
.tool-link-card p{color:var(--care-muted);margin:0;}
.tool-label{display:inline-flex;width:max-content;border-radius:999px;background:rgba(0,87,147,.08);color:var(--care-primary);font-size:.76rem;font-weight:900;letter-spacing:.03em;padding:.25rem .6rem;}
.platform-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;counter-reset:tools;}
.platform-flow>div{background:#fff;border:1px solid var(--care-border);border-radius:22px;padding:1.15rem;box-shadow:var(--shadow-soft);position:relative;}
.platform-flow span{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:var(--care-primary);color:#fff;font-weight:900;margin-bottom:.65rem;}
.platform-flow h3{margin:.1rem 0 .45rem;font-size:1.08rem;}
.platform-flow p{color:var(--care-muted);margin:0;font-size:.94rem;}
.tool-guidance-panel{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;background:#fff;border:1px solid var(--care-border);border-radius:26px;padding:1.45rem;box-shadow:var(--shadow-lift);}
.tool-guidance-panel h2{margin:.15rem 0 .4rem;}
.tool-guidance-panel p{color:var(--care-muted);margin:0;max-width:760px;}
.tool-action-stack{display:flex;gap:.55rem;flex-wrap:wrap;justify-content:flex-end;min-width:320px;}
.mini-tool-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem;}
.mini-tool-card{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1rem 1.05rem;box-shadow:var(--shadow-soft);display:grid;gap:.2rem;color:var(--care-dark);border-left:5px solid var(--care-primary);}
.mini-tool-card:nth-child(2){border-left-color:var(--care-green);}.mini-tool-card:nth-child(3){border-left-color:var(--care-teal);}
.mini-tool-card:hover{text-decoration:none;transform:translateY(-2px);transition:transform .18s ease;}
.mini-tool-card span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--care-muted);}
.mini-tool-card strong{font-size:1.05rem;color:var(--care-dark);}
.mini-tool-card small{font-size:.86rem;color:var(--care-muted);line-height:1.35;}
.inline-tools-note{display:flex;align-items:center;gap:.8rem;justify-content:space-between;background:#fff;border:1px solid var(--care-border);border-radius:18px;padding:.9rem 1rem;box-shadow:var(--shadow-soft);}
.inline-tools-note span{color:var(--care-muted);flex:1;}
.inline-tools-note a{font-weight:900;white-space:nowrap;}
@media(max-width:980px){.tool-card-grid,.platform-flow,.mini-tool-strip{grid-template-columns:1fr}.tool-guidance-panel{display:grid}.tool-action-stack{min-width:0;justify-content:flex-start}.inline-tools-note{display:grid;gap:.35rem}}


.tool-link-card{
  border-top-color:var(--care-primary)!important;
}
.tool-link-card .btn.tool-card-button,
.tool-link-card .btn.primary.tool-card-button,
.tool-link-card .btn.secondary.tool-card-button{
  width:100%;
  background:var(--care-primary)!important;
  color:#fff!important;
  border-color:var(--care-primary)!important;
  box-shadow:none;
}
.tool-link-card .btn.tool-card-button:hover{
  background:#004c82!important;
  border-color:#004c82!important;
}
.tools-page-hero ~ section .section-title,
.ontology-page-hero ~ section .section-title,
.profile-detail-intro ~ section .section-title,
.aims-preview-section .section-title,
.profile-fields-section .section-title{
  max-width:none!important;
  width:100%;
}
.aims-form-shell.aims-compact-editor,
.profile-field-browser-list,
.profile-field-tools,
.profile-field-result-state,
.profile-alpha-index,
.profile-section-chip-grid,
.platform-flow,
.tool-card-grid,
.tool-guidance-panel{
  max-width:none!important;
  width:100%;
}
.aims-preview-note{
  color:#415466;
}
.aims-preview-note strong{
  color:var(--care-primary);
}


.support-grid-six article:nth-child(1){border-top-color:var(--care-primary)}
.support-grid-six article:nth-child(2){border-top-color:var(--care-blue)}
.support-grid-six article:nth-child(3){border-top-color:var(--care-green)}
.support-grid-six article:nth-child(4){border-top-color:var(--care-yellow)}
.support-grid-six article:nth-child(5){border-top-color:var(--care-teal)}
.support-grid-six article:nth-child(6){border-top-color:var(--care-leaf)}
.team-card-photo{align-items:center;min-height:128px;overflow:hidden}
.team-photo{flex:0 0 82px;width:82px;height:82px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 8px 22px rgba(32,48,80,.18);background:#f6f8fb}
.org-section .team-card-photo:hover .team-photo{box-shadow:0 10px 28px rgba(32,48,80,.24)}
@media(max-width:760px){.team-photo{flex-basis:72px;width:72px;height:72px}.team-card-photo{align-items:flex-start}}


.team-detail-grid{gap:1.15rem}
.team-detail-card{align-items:flex-start;min-height:0;padding:1.2rem}
.team-detail-card .team-photo{margin-top:.15rem}
.team-copy{min-width:0;flex:1}
.team-kicker{margin:0 0 .3rem!important;color:var(--care-primary)!important;font-size:.78rem!important;font-weight:800;letter-spacing:.03em;text-transform:uppercase}
.team-meta-list{display:grid;gap:.35rem;margin:.75rem 0 .8rem;padding:0}
.team-meta-list div{display:grid;grid-template-columns:112px minmax(0,1fr);gap:.6rem;align-items:start;border-top:1px solid rgba(32,48,80,.08);padding-top:.35rem}
.team-meta-list dt{font-size:.74rem;font-weight:800;color:#5A6878;text-transform:uppercase;letter-spacing:.025em}
.team-meta-list dd{margin:0;color:#203050;font-size:.9rem;line-height:1.35;word-break:break-word}
.team-meta-list a{color:var(--care-primary);font-weight:700;text-decoration:none}
.team-meta-list a:hover{text-decoration:underline}
.team-profile-link{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(0,87,147,.22);background:rgba(0,87,147,.06);color:var(--care-primary)!important;border-radius:999px;padding:.42rem .72rem;font-size:.82rem;font-weight:800;text-decoration:none}
.team-profile-link:hover{text-decoration:none;background:rgba(0,87,147,.11)}
.team-profile-link-muted{background:rgba(32,48,80,.05);border-color:rgba(32,48,80,.14);color:#5A6878!important}
@media(max-width:900px){.team-meta-list div{grid-template-columns:1fr;gap:.1rem}.team-detail-card{padding:1rem}}


.org-root-note{display:block;margin-top:.35rem;font-size:.88rem;color:rgba(255,255,255,.82);font-weight:600}
.team-detail-grid{align-items:stretch}
.team-detail-card{position:relative;border-top:4px solid rgba(0,87,147,.88)}
.org-section.data .team-detail-card{border-top-color:#009472}
.org-section.members .team-detail-card{border-top-color:#007B9F}
.team-director-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;background:linear-gradient(135deg,var(--care-dark),var(--care-primary));color:#fff;border-radius:999px;padding:.34rem .68rem;font-size:.72rem;font-weight:900;letter-spacing:.035em;text-transform:uppercase;margin:0 0 .55rem;box-shadow:0 8px 20px rgba(32,48,80,.16)}
.team-meta-list-uniform{margin-top:.85rem}
.team-meta-list-uniform div{grid-template-columns:128px minmax(0,1fr)}
.team-detail-card .team-copy>strong{display:block;margin-top:.2rem;color:var(--care-primary)}
.team-detail-card .team-copy>p:not(.team-kicker){line-height:1.38;min-height:2.4em}
@media(max-width:900px){.team-meta-list-uniform div{grid-template-columns:1fr}.team-detail-card .team-copy>p:not(.team-kicker){min-height:0}}


.team-detail-card .team-copy h3{margin-top:.05rem;}
.team-detail-card .team-copy>p:not(.team-kicker){min-height:0;}
.team-meta-list.team-meta-list-uniform{margin-top:1rem;border-top:1px solid rgba(32,48,80,.08);padding-top:.45rem;}
.team-meta-list-uniform div{grid-template-columns:150px minmax(0,1fr);padding-top:.42rem;}
.org-section h2{margin-bottom:1rem;}
.org-root-note{display:block;margin-top:.25rem;color:rgba(255,255,255,.85);font-size:.88rem;}
@media(max-width:900px){.team-meta-list-uniform div{grid-template-columns:1fr}.team-meta-list.team-meta-list-uniform{margin-top:.85rem}}

.milestone-timeline-v30{max-width:980px;margin:2rem auto 0;display:grid;gap:0;}
.milestone-item-v30{position:relative;display:grid;grid-template-columns:178px 38px minmax(0,1fr);gap:1rem;align-items:stretch;padding:0 0 1.35rem;}
.milestone-item-v30:last-child{padding-bottom:0;}
.milestone-date-v30{display:flex;flex-direction:column;align-items:flex-end;text-align:right;padding-top:.35rem;}
.milestone-date-v30 time{display:inline-flex;width:max-content;max-width:100%;background:rgba(0,87,147,.08);color:var(--care-primary);border:1px solid rgba(0,87,147,.16);border-radius:999px;padding:.38rem .75rem;font-weight:900;line-height:1.1;}
.milestone-date-v30 span{margin-top:.38rem;color:var(--care-muted);font-size:.78rem;text-transform:uppercase;letter-spacing:.055em;font-weight:800;}
.milestone-marker-v30{position:relative;display:flex;justify-content:center;}
.milestone-marker-v30:before{content:"";position:absolute;top:.55rem;width:18px;height:18px;border-radius:999px;background:#fff;border:4px solid var(--care-primary);box-shadow:0 0 0 6px rgba(0,87,147,.08);z-index:2;}
.milestone-marker-v30:after{content:"";position:absolute;top:1.7rem;bottom:-1.35rem;width:2px;background:linear-gradient(180deg,rgba(0,87,147,.32),rgba(0,148,114,.32));border-radius:999px;}
.milestone-item-v30:last-child .milestone-marker-v30:after{display:none;}
.milestone-item-v30.is-current .milestone-marker-v30:before{border-color:var(--care-green);box-shadow:0 0 0 6px rgba(0,148,114,.10);}
.milestone-card-v30{background:#fff;border:1px solid var(--care-border);border-radius:20px;padding:1.15rem 1.25rem;box-shadow:var(--shadow-soft);}
.milestone-item-v30.is-current .milestone-card-v30{border-left:5px solid var(--care-green);}
.milestone-card-v30 h3{margin:.05rem 0 .45rem;color:var(--care-dark);font-size:1.08rem;line-height:1.28;}
.milestone-card-v30 p{margin:0;color:var(--care-muted);line-height:1.55;}
@media(max-width:760px){.milestone-item-v30{grid-template-columns:32px minmax(0,1fr);gap:.85rem}.milestone-date-v30{grid-column:2;grid-row:1;align-items:flex-start;text-align:left;padding-top:0}.milestone-marker-v30{grid-column:1;grid-row:1 / span 2}.milestone-card-v30{grid-column:2;grid-row:2}.milestone-marker-v30:before{top:.35rem}.milestone-marker-v30:after{top:1.5rem;bottom:-5rem}}

.org-root-note{display:none!important;}
.team-director-badge{
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  background:linear-gradient(135deg,var(--care-dark),var(--care-primary));
  color:#fff;
  border-radius:999px;
  padding:.34rem .72rem;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.035em;
  text-transform:uppercase;
  margin:0 0 .62rem;
  box-shadow:0 8px 20px rgba(32,48,80,.16);
}
.team-meta-list.team-meta-list-uniform{
  border-top:1px solid rgba(32,48,80,.10);
  padding-top:.6rem;
}
.team-meta-list-uniform div:first-child{
  border-top:0;
  padding-top:0;
}
.team-meta-list-uniform div + div{
  border-top:1px solid rgba(32,48,80,.08);
}

.milestone-track-v31{
  position:relative;
  max-width:900px;
  margin:2rem auto 0;
  padding-left:2.15rem;
  display:grid;
  gap:1rem;
}
.milestone-track-v31:before{
  content:"";
  position:absolute;
  left:.62rem;
  top:.7rem;
  bottom:.7rem;
  width:2px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(0,148,114,.55),rgba(0,87,147,.24));
}
.milestone-track-item-v31{
  position:relative;
}
.milestone-track-marker-v31{
  position:absolute;
  left:-2.07rem;
  top:1.2rem;
  width:1.25rem;
  height:1.25rem;
  border-radius:999px;
  background:#fff;
  border:4px solid var(--care-primary);
  box-shadow:0 0 0 6px rgba(0,87,147,.08);
  z-index:2;
}
.milestone-track-item-v31.is-current .milestone-track-marker-v31{
  border-color:var(--care-green);
  box-shadow:0 0 0 6px rgba(0,148,114,.12);
}
.milestone-track-card-v31{
  background:#fff;
  border:1px solid var(--care-border);
  border-radius:22px;
  padding:1.18rem 1.28rem;
  box-shadow:var(--shadow-soft);
}
.milestone-track-item-v31.is-current .milestone-track-card-v31{
  border-color:rgba(0,148,114,.35);
  box-shadow:0 16px 34px rgba(0,87,147,.10);
}
.milestone-track-meta-v31{
  display:flex;
  align-items:center;
  gap:.6rem;
  flex-wrap:wrap;
  margin-bottom:.55rem;
}
.milestone-track-meta-v31 time{
  display:inline-flex;
  color:var(--care-primary);
  background:rgba(0,87,147,.08);
  border:1px solid rgba(0,87,147,.14);
  border-radius:999px;
  padding:.32rem .7rem;
  font-weight:900;
  line-height:1.1;
}
.milestone-track-meta-v31 span{
  display:inline-flex;
  color:#fff;
  background:var(--care-green);
  border-radius:999px;
  padding:.32rem .62rem;
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.045em;
}
.milestone-track-card-v31 h3{
  margin:0 0 .42rem;
  color:var(--care-dark);
  font-size:1.12rem;
  line-height:1.28;
}
.milestone-track-card-v31 p{
  margin:0;
  color:var(--care-muted);
  line-height:1.55;
}
@media(max-width:760px){
  .milestone-track-v31{padding-left:1.75rem;}
  .milestone-track-v31:before{left:.42rem;}
  .milestone-track-marker-v31{left:-1.73rem;width:1.08rem;height:1.08rem;top:1.15rem;}
  .milestone-track-card-v31{padding:1rem;}
}

.team-director-badge{
  background:linear-gradient(135deg,#009472,#005793) !important;
  color:#ffffff !important;
  border:1px solid rgba(255,255,255,.28);
  text-shadow:0 1px 1px rgba(0,0,0,.18);
}


.team-detail-grid{
  align-items:stretch;
}
.team-detail-card{
  align-items:stretch;
  min-height:318px;
}
.team-detail-card .team-photo{
  margin-top:.25rem;
}
.team-copy{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:0;
}
.team-detail-card .team-copy h3{
  min-height:2.75em;
  display:flex;
  align-items:flex-start;
  margin-bottom:.22rem;
  line-height:1.28;
}
.team-detail-card .team-copy>strong{
  min-height:1.45em;
  display:block;
}
.team-detail-card .team-copy>p:not(.team-kicker):not(.team-director-badge){
  min-height:3.7em;
  margin-top:.28rem;
  line-height:1.38;
}
.team-meta-list.team-meta-list-uniform{
  margin-top:.45rem;
  margin-bottom:.85rem;
  border-top:1px solid rgba(32,48,80,.10);
  padding-top:.55rem;
  gap:0;
}
.team-meta-list-uniform div{
  min-height:2.65rem;
  display:grid;
  grid-template-columns:150px minmax(0,1fr);
  align-items:center;
  padding:.46rem 0;
  border-top:0;
}
.team-meta-list-uniform div:first-child{
  padding-top:0;
}
.team-meta-list-uniform div + div{
  border-top:1px solid rgba(32,48,80,.08);
}
.team-meta-list-uniform dt,
.team-meta-list-uniform dd{
  align-self:center;
}
.team-profile-link{
  margin-top:auto;
  align-self:flex-start;
}
.team-director-card{
}
.team-director-badge{
  position:static;
  display:inline-flex;
  align-items:center;
  width:max-content;
  max-width:100%;
  margin:0 0 .55rem;
  background:rgba(0,148,114,.08) !important;
  color:#006e5a !important;
  border:1px solid rgba(0,148,114,.24) !important;
  border-radius:999px;
  padding:.28rem .62rem;
  font-size:.75rem;
  font-weight:800;
  letter-spacing:.01em;
  text-transform:none;
  line-height:1.15;
  box-shadow:none;
  text-shadow:none;
}
@media(max-width:900px){
  .team-detail-card{min-height:0;}
  .team-detail-card .team-copy h3,
  .team-detail-card .team-copy>strong,
  .team-detail-card .team-copy>p:not(.team-kicker):not(.team-director-badge){min-height:0;}
  .team-profile-link{margin-top:.65rem;}
  .team-meta-list-uniform div{grid-template-columns:1fr;min-height:0;align-items:start;gap:.08rem;}
  .team-director-card .team-copy h3{padding-right:0;margin-top:0;}
  .team-director-badge{position:static;margin:0 0 .55rem;}
}

/* Director badge slot: normal-flow flex row between the name and institution
   lines. Flexbox centers the badge based on its actual rendered content box,
   which is robust to line-height/padding quirks that plain margin arithmetic
   is not. The slot's min-height directly controls how much vertical space is
   reserved between the two lines (kept close to the badge's own height, so
   the offset versus a card with no badge is as small as physically possible
   without the badge overlapping either line). */

/* Director badge moved below the photo instead of between the name and
   institution lines. This means the text column (name, institution, chair,
   role/contact/phone, profile link) needs no special-case spacing at all —
   it matches a card with no badge exactly, row for row. The badge keeps its
   normal, fully readable size since it no longer has to fit in a squeezed
   gap. */
.team-photo-col{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:.5rem;
  flex:0 0 82px;
  width:82px;
}
.team-photo-col .team-director-badge{
  display:inline-flex;
  text-align:center;
  white-space:normal;
  width:100%;
  max-width:82px;
  justify-content:center;
  box-sizing:border-box;
  padding:.28rem .3rem;
  font-size:.66rem;
}
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.footer-institution-strip{
  margin-top:2rem;
  padding:1.05rem 1.15rem;
  border-radius:18px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.14);
  display:grid;
  grid-template-columns:minmax(220px,.9fr) minmax(0,1.7fr);
  gap:1.25rem;
  align-items:center;
  box-shadow:0 18px 45px rgba(0,0,0,.16);
}
.footer-institution-copy h3{
  margin:0 0 .25rem;
  color:var(--care-dark);
  font-size:1rem;
}
.footer-institution-copy p{
  margin:0;
  color:rgba(32,48,80,.72);
  font-size:.9rem;
  line-height:1.45;
}
.footer-institution-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:.8rem;
  align-items:center;
}
.site-footer .footer-institution-logo{
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  min-height:62px;
  padding:.55rem .8rem;
  border-radius:14px;
  background:#fff;
  border:1px solid rgba(32,48,80,.12);
  box-shadow:0 6px 18px rgba(32,48,80,.08);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.site-footer .footer-institution-logo:hover{
  transform:translateY(-1px);
  border-color:rgba(0,87,147,.22);
  box-shadow:0 10px 24px rgba(32,48,80,.12);
}
.footer-institution-logo img{
  display:block;
  max-width:210px;
  max-height:46px;
  object-fit:contain;
}
.footer-institution-logo:nth-child(1) img{max-width:150px;max-height:42px;}
.footer-institution-logo:nth-child(2) img{max-width:220px;max-height:52px;}
.footer-institution-logo:nth-child(3) img{max-width:185px;max-height:44px;}
@media(max-width:900px){
  .footer-institution-strip{grid-template-columns:1fr;align-items:start;}
  .footer-institution-logos{justify-content:flex-start;}
}
@media(max-width:560px){
  .footer-institution-strip{padding:.9rem;border-radius:16px;}
  .site-footer .footer-institution-logo{width:100%;min-height:56px;justify-content:flex-start;}
  .footer-institution-logo img{max-width:100%;}
}

.site-footer .footer-institution-logo:first-child{
  min-width:150px;
}
.site-footer .footer-institution-logo:first-child img{
  width:auto;
  height:auto;
}


.aims-form-shell{
  border-radius:18px;
  overflow:hidden;
}
.aims-editor-header{
  background:linear-gradient(90deg,#203050,#005793);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.85rem 1.05rem;
}
.aims-editor-title{
  display:flex;
  align-items:baseline;
  gap:.55rem;
  flex-wrap:wrap;
}
.aims-editor-title span{
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.78;
}
.aims-editor-title strong{
  font-size:1rem;
  letter-spacing:.01em;
}
.aims-editor-status{
  font-size:.78rem;
  font-weight:800;
  color:#eaf5f8;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);
  border-radius:999px;
  padding:.28rem .6rem;
}
.aims-preview-note{
  display:flex;
  align-items:center;
  gap:.45rem;
  padding:.72rem 1.05rem;
  font-size:.9rem;
  line-height:1.45;
}
.aims-readiness-panel{
  display:grid;
  grid-template-columns:280px minmax(0,1fr);
  gap:1rem;
  padding:.95rem 1.05rem;
  background:#fff;
  border-bottom:1px solid #d9e3e8;
}
.aims-readiness-overview{
  border:1px solid #d9e3e8;
  border-radius:14px;
  background:#fbfdfe;
  padding:.85rem .9rem;
}
.aims-readiness-overview span{
  display:block;
  color:#607383;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.07em;
  text-transform:uppercase;
  margin-bottom:.18rem;
}
.aims-readiness-overview strong{
  color:#203050;
  font-size:1.65rem;
  line-height:1.1;
}
.aims-readiness-overview small{
  display:block;
  color:#607383;
  font-weight:700;
  margin-top:.22rem;
}
.aims-section-readiness-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.55rem;
}
.aims-section-readiness-card{
  border:1px solid #d9e3e8;
  border-radius:14px;
  background:#fff;
  padding:.72rem .75rem;
  text-decoration:none;
  color:#203050;
  display:grid;
  gap:.32rem;
  min-height:94px;
  transition:.18s ease;
}
.aims-section-readiness-card:hover{
  transform:translateY(-1px);
  border-color:rgba(0,87,147,.28);
  box-shadow:0 10px 24px rgba(32,48,80,.08);
}
.aims-section-readiness-card strong{
  font-size:.91rem;
  line-height:1.25;
}
.aims-section-readiness-card span{
  color:#607383;
  font-weight:700;
  font-size:.78rem;
}
.aims-section-readiness-card em{
  font-style:normal;
  justify-self:start;
  font-size:.71rem;
  font-weight:900;
  border-radius:999px;
  padding:.18rem .5rem;
  background:#f1f5f7;
  color:#607383;
}
.aims-section-readiness-card.is-complete em{
  color:#006e5a;
  background:rgba(0,148,114,.10);
}
.aims-section-readiness-card.is-progress em{
  color:#005793;
  background:rgba(0,87,147,.09);
}
.aims-section-readiness-card.is-empty em{
  color:#607383;
  background:#f1f5f7;
}
.aims-section-nav{
  padding:.7rem 1.05rem;
  gap:.38rem;
}
.aims-section-nav a{
  font-size:.8rem;
  padding:.31rem .62rem;
}
.aims-form-section{
  position:relative;
}
.aims-form-section summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:.8rem;
  padding:.9rem 1.05rem;
  border-left:0;
}
.aims-form-section[open] summary{
  background:#fbfdfe;
}
.aims-section-number{
  width:2rem;
  height:2rem;
  display:inline-grid;
  place-items:center;
  border-radius:10px;
  background:rgba(0,87,147,.10);
  color:#005793;
  font-weight:900;
  font-size:.88rem;
}
.aims-form-section summary strong{
  font-size:.98rem;
  line-height:1.2;
}
.aims-form-section summary small{
  font-size:.82rem;
  line-height:1.35;
  max-width:880px;
}
.aims-section-count{
  font-size:.76rem;
  padding:.22rem .55rem;
}
.aims-form-fields{
  background:#fff;
}
.aims-field,
.aims-repeat-group{
  padding:.86rem 1.05rem;
}
.aims-repeat-group{
  border-top:1px solid #d9e3e8;
  background:#fbfdfe;
}
.aims-repeat-group legend{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  font-size:.94rem;
}
.aims-repeat-group>.aims-help{
  background:#f4f8fa;
  border:1px solid #dde8ee;
  border-radius:12px;
  padding:.62rem .72rem;
  margin:.45rem 0 .75rem;
}
.aims-repeat-instance{
  border-radius:10px;
  margin-top:.65rem;
}
.aims-field label{
  align-items:flex-start;
  gap:.75rem;
}
.aims-label-title{
  font-size:.92rem;
  line-height:1.25;
}
.aims-field small{
  font-size:.77rem;
}
.aims-help{
  font-size:.82rem;
  color:#657987;
  margin:.28rem 0 .58rem;
}
.aims-field input,
.aims-field select,
.aims-field textarea{
  min-height:38px;
  padding:.55rem .65rem;
  font-size:.92rem;
  border-radius:7px;
}
.aims-required{
  font-size:.65rem;
  padding:.1rem .38rem;
}
.aims-add-entry{
  margin:.75rem 0 0;
  padding:.42rem .72rem!important;
  font-size:.82rem!important;
  border-radius:999px!important;
}
.aims-form-actions{
  position:sticky;
  bottom:0;
  z-index:3;
  background:rgba(247,250,251,.96);
  backdrop-filter:blur(8px);
  padding:.8rem 1.05rem;
  border-top:1px solid #d9e3e8;
}
.aims-check-status{
  font-size:.86rem;
}
.aims-form-section.has-missing summary{
  box-shadow:inset 4px 0 0 #b54708;
}
.aims-form-section.has-complete-required summary{
  box-shadow:inset 4px 0 0 #009472;
}
.aims-form-section.has-progress summary{
  box-shadow:inset 4px 0 0 #005793;
}
@media(max-width:980px){
  .aims-readiness-panel{grid-template-columns:1fr;}
  .aims-section-readiness-list{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  .aims-editor-header{align-items:flex-start;flex-direction:column;}
  .aims-readiness-panel{padding:.8rem;}
  .aims-section-readiness-list{grid-template-columns:1fr;}
  .aims-form-section summary{grid-template-columns:auto minmax(0,1fr);align-items:start;}
  .aims-form-section summary .aims-section-count{grid-column:2;justify-self:start;}
  .aims-form-actions{position:static;}
}

.aims-editor-title span,
.aims-editor-title strong,
.aims-editor-status{
  color:#ffffff;
}
.aims-editor-title span{
  opacity:1;
}


.aims-field-overview-panel .aims-readiness-overview strong{
  font-size:1.35rem;
}
.aims-field-overview-panel .aims-readiness-overview small b{
  color:#203050;
  font-weight:900;
}
.aims-readiness-progress{
  margin-top:.75rem;
  padding-top:.75rem;
  border-top:1px solid #d9e3e8;
}
.aims-readiness-progress span{
  margin-bottom:.12rem;
}
.aims-readiness-progress strong{
  display:block;
  font-size:1.08rem !important;
}
.aims-readiness-progress small{
  margin-top:.1rem;
}
.aims-section-readiness-card small[data-aims-section-composition]{
  color:#607383;
  font-size:.75rem;
  font-weight:700;
  line-height:1.25;
}
.aims-field-overview-panel .aims-section-readiness-card{
  min-height:112px;
  align-content:start;
}


.aims-compact-dashboard{
  display:grid;
  grid-template-columns:1fr;
  gap:.75rem;
  padding:.75rem .9rem;
  background:#f7fafc;
  border-bottom:1px solid #dbe5eb;
}
.aims-profile-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.45rem;
}
.aims-profile-metrics>div{
  background:#fff;
  border:1px solid #dfe8ed;
  border-radius:10px;
  padding:.58rem .65rem;
  min-width:0;
}
.aims-profile-metrics span{
  display:block;
  font-size:.68rem;
  font-weight:850;
  color:#647684;
  letter-spacing:.035em;
  text-transform:uppercase;
  margin-bottom:.12rem;
}
.aims-profile-metrics strong{
  display:block;
  font-size:1.12rem;
  line-height:1.1;
  color:#203050;
}
.aims-profile-metrics small{
  display:block;
  color:#6b7c88;
  font-size:.72rem;
  line-height:1.25;
  margin-top:.12rem;
}
.aims-progress-metric{
  border-left:3px solid #009472 !important;
}
.aims-section-dashboard{
  background:#fff;
  border:1px solid #dfe8ed;
  border-radius:12px;
  padding:.55rem;
}
.aims-dashboard-title{
  display:flex;
  justify-content:space-between;
  gap:.75rem;
  align-items:center;
  padding:.05rem .15rem .5rem;
  border-bottom:1px solid #edf2f5;
  margin-bottom:.5rem;
}
.aims-dashboard-title strong{
  color:#203050;
  font-size:.9rem;
}
.aims-dashboard-title span{
  color:#6b7c88;
  font-size:.78rem;
}
.aims-compact-dashboard .aims-section-readiness-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.45rem;
}
.aims-compact-dashboard .aims-section-readiness-card{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  grid-template-areas:"num copy" "meta meta";
  align-items:start;
  gap:.35rem .45rem;
  padding:.58rem .62rem;
  border-radius:10px;
  border:1px solid #dfe8ed;
  background:#fbfdfe;
  box-shadow:none;
  min-height:auto;
}
.aims-compact-dashboard .aims-section-readiness-card:hover,
.aims-compact-dashboard .aims-section-readiness-card.is-open{
  border-color:#005793;
  background:#f5f9fc;
  transform:none;
}
.aims-card-number{
  grid-area:num;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1.35rem;
  height:1.35rem;
  border-radius:999px;
  background:#e8f1f6;
  color:#005793;
  font-weight:900;
  font-size:.75rem;
}
.aims-card-copy{grid-area:copy;min-width:0;}
.aims-card-copy strong{
  display:block;
  font-size:.84rem;
  line-height:1.18;
  color:#203050;
  margin:0 0 .1rem;
}
.aims-card-copy small{
  display:block;
  color:#6b7c88;
  font-size:.7rem;
  line-height:1.25;
}
.aims-card-meta{
  grid-area:meta;
  display:flex;
  justify-content:space-between;
  gap:.5rem;
  align-items:center;
  padding-top:.35rem;
  border-top:1px solid #edf2f5;
}
.aims-card-meta b{
  color:#203050;
  font-size:.73rem;
  font-weight:850;
}
.aims-card-meta em{
  margin:0;
  font-size:.68rem;
  font-style:normal;
  font-weight:800;
  color:#647684;
  background:#eef3f6;
  border-radius:999px;
  padding:.16rem .42rem;
  white-space:nowrap;
}
.aims-compact-dashboard .aims-section-readiness-card.is-complete em{
  color:#006e5a;
  background:rgba(0,148,114,.12);
}
.aims-compact-dashboard .aims-section-readiness-card.is-progress em{
  color:#7a6400;
  background:rgba(229,205,31,.18);
}
.aims-compact-dashboard .aims-section-readiness-card.is-open .aims-card-number{
  background:#005793;
  color:#fff;
}
.aims-compact-editor .aims-form-section{
  border-bottom:1px solid #dbe5eb;
}
.aims-compact-editor .aims-form-section summary{
  cursor:pointer;
}
.aims-compact-editor .aims-form-section:not([open]) summary{
  background:#fff;
}
.aims-compact-editor .aims-form-section:not([open]) summary:hover{
  background:#f8fbfc;
}
.aims-compact-editor .aims-form-section[open] summary{
  box-shadow:inset 4px 0 0 #005793;
}
@media(max-width:980px){
  .aims-profile-metrics{grid-template-columns:repeat(2,minmax(0,1fr));}
  .aims-compact-dashboard .aims-section-readiness-list{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .aims-profile-metrics,
  .aims-compact-dashboard .aims-section-readiness-list{grid-template-columns:1fr;}
  .aims-dashboard-title{align-items:flex-start;flex-direction:column;gap:.15rem;}
}

.aims-field.is-invalid{
  border-color:#c66a00 !important;
  box-shadow:0 0 0 2px rgba(198,106,0,.12);
}
.aims-field input::placeholder,
.aims-field textarea::placeholder{
  color:#7b8994;
  opacity:1;
}
.aims-field select option[value=""]{
  color:#667887;
}

.aims-input-requirements{
  margin:.34rem 0 0;
  color:#41546a;
  font-size:.76rem;
  line-height:1.35;
  background:#f6fafc;
  border-left:3px solid rgba(0,87,147,.28);
  padding:.34rem .48rem;
  border-radius:6px;
}
.aims-tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  margin:.45rem 0 .15rem;
  min-height:.4rem;
}
.aims-tag-chip{
  display:inline-flex;
  align-items:center;
  gap:.34rem;
  border:1px solid #cbd8df;
  background:#fff;
  border-radius:999px;
  padding:.22rem .46rem;
  font-size:.78rem;
  color:#203050;
}
.aims-tag-chip button{
  border:0;
  background:transparent;
  color:#667887;
  cursor:pointer;
  font-weight:800;
  padding:0 .1rem;
  line-height:1;
}
.aims-tag-status{
  margin:.15rem 0 0;
  font-size:.74rem;
  color:#667887;
}
.aims-field.is-invalid .aims-input-requirements,
.aims-field.is-missing .aims-input-requirements{
  border-left-color:#a33;
  background:#fff7f7;
  color:#7c2d2d;
}
.aims-field input[data-tags-input]{
  margin-top:.15rem;
}

.aims-required-star{color:#b42318;font-weight:900;margin-left:.18rem;font-size:1rem;line-height:1;}
.aims-compact-editor .aims-input-requirements{color:#536575;}
.aims-compact-editor .aims-field input[data-default-value],
.aims-compact-editor .aims-field textarea[data-default-value],
.aims-compact-editor .aims-field select[data-default-value]{background:#fbfdfe;}

.aims-editor-tools{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;justify-content:flex-end;}
.aims-lang-switch{display:inline-flex;align-items:center;gap:.25rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.18rem .25rem;color:#fff;}
.aims-lang-switch span{font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;opacity:.9;padding:0 .28rem;}
.aims-lang-switch button{border:0;background:transparent;color:#fff;border-radius:999px;padding:.18rem .46rem;font-size:.72rem;font-weight:900;cursor:pointer;}
.aims-lang-switch button.is-active{background:#fff;color:#203050;}
.aims-compact-editor .aims-field label{display:flex;align-items:center;justify-content:space-between;gap:.65rem;}
.aims-compact-editor .aims-field label small{display:none!important;}
.aims-label-title{display:inline-flex;align-items:center;gap:.25rem;}
.aims-info{display:inline-grid;place-items:center;width:18px;height:18px;min-width:18px;border-radius:50%;border:1px solid #bfd1da;color:#005793;background:#f8fbfc;font-size:.72rem;font-weight:900;font-style:normal;cursor:help;line-height:1;}
legend .aims-info{margin-left:.35rem;vertical-align:middle;}
.aims-info:hover,.aims-info:focus{outline:none;border-color:#005793;background:#eaf4f8;color:#203050;box-shadow:0 0 0 3px rgba(0,87,147,.12);}
.aims-input-requirements,.aims-field>.aims-help,.aims-repeat-group>.aims-help{display:none!important;}
.aims-tags-status:empty{display:none;}
.aims-compact-editor .aims-field input::placeholder,
.aims-compact-editor .aims-field textarea::placeholder{color:#667887;opacity:.88;}
@media (max-width:760px){.aims-editor-tools{justify-content:flex-start}.aims-compact-editor .aims-field label{align-items:flex-start}.aims-info{margin-top:.1rem}}

.aims-preview-note-action{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.aims-preview-note-action p{
  margin:0;
  flex:1 1 auto;
}
.aims-preview-note-action .aims-coscine-link{
  flex:0 0 auto;
  white-space:nowrap;
  padding:.46rem .7rem;
  border-radius:8px;
  font-size:.82rem;
}
.aims-section-readiness-card small[data-aims-section-composition]{
  line-height:1.25;
}
@media (max-width:760px){
  .aims-preview-note-action{align-items:flex-start;flex-direction:column;}
}

/* Review package: profile page internal tabs */
.profile-page-tabs{
  background:#f6fafc;
  border-top:1px solid #dbe5eb;
  border-bottom:1px solid #dbe5eb;
  padding:1rem 0;
}
.profile-tab-buttons{
  display:flex;
  gap:.65rem;
  flex-wrap:wrap;
}
.profile-tab-button{
  appearance:none;
  border:1px solid #cfdce3;
  background:#fff;
  color:#203050;
  border-radius:999px;
  padding:.68rem 1rem;
  font-weight:800;
  font-size:.92rem;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(32,48,80,.06);
}
.profile-tab-button:hover{
  border-color:rgba(0,87,147,.36);
  color:#005793;
}
.profile-tab-button.is-active{
  background:#005793;
  border-color:#005793;
  color:#fff;
  box-shadow:0 12px 24px rgba(0,87,147,.18);
}
.profile-tab-panel[hidden]{
  display:none !important;
}


/* Review package profile hub cleanup */
.brandbar{justify-content:space-between;}
.profile-tab-intro{margin:0 0 .7rem;color:#506473;font-weight:650;}
.profile-page-tabs .container{display:grid;gap:.25rem;}

/* ==========================================================================
   PROFESSIONAL REDESIGN LAYER
   Signature: this site reviews a data schema, so schema-like elements
   (profile codes, field paths, term URIs, counts, statuses) are set in
   monospace throughout, like a materials/engineering datasheet. Buttons,
   cards, and tabs are tightened from generic pill/SaaS defaults toward a
   more precise, documentation-tool geometry. Brand colors are unchanged.
   ========================================================================== */

/* ---- Type: monospace for schema data ---- */
code{font-family:var(--font-mono);background:#eef4f7;border:1px solid #d8e7ee;border-radius:5px;padding:.15rem .4rem;color:var(--care-dark);font-size:.83em;letter-spacing:-.01em}
.section-kicker{letter-spacing:.11em}
.section-title h2{letter-spacing:-.02em}

/* ---- Buttons: tightened from pill to precise rectangle ---- */
.btn{border-radius:9px;font-weight:700;transition:background .15s ease,border-color .15s ease,color .15s ease,transform .1s ease}
.btn.primary:hover{background:#00456f;border-color:#00456f}
.btn.secondary:hover{background:rgba(0,87,147,.06)}
.btn:active{transform:translateY(1px)}
.profile-row-button{border-radius:9px}
.search-input,.select-input{border-radius:9px}

/* ---- Header / nav ---- */
.nav-link{border-radius:8px}

/* ---- Workflow steps: outline index instead of filled dot ---- */
.ontology-flow-simple article span{background:transparent;color:var(--care-primary);border:1.5px solid var(--care-primary);border-radius:7px}
.ontology-flow-simple article:nth-child(2) span{color:var(--care-green);border-color:var(--care-green);background:transparent}
.ontology-flow-simple article:nth-child(3) span{color:var(--care-teal);border-color:var(--care-teal);background:transparent}
.ontology-flow-simple article{border-radius:12px}

/* ---- Landing page profile cards ---- */
.profile-row-card{border-radius:13px}
.profile-detail-hero-card{border-radius:13px}
.profile-detail-facts div{border-radius:9px}
.profile-row-facts li{border-radius:9px}
.use-box{border-radius:13px}

/* ---- Profile page internal tabs: segmented control ---- */
.profile-page-tabs{background:#fff;border-top:1px solid var(--care-border);border-bottom:1px solid var(--care-border);padding:1rem 0}
.profile-tab-buttons{display:inline-flex;flex-wrap:wrap;gap:.25rem;background:var(--care-bg);border:1px solid var(--care-border);border-radius:11px;padding:.28rem}
.profile-tab-button{appearance:none;border:none;background:transparent;color:var(--care-muted);border-radius:8px;padding:.62rem 1rem;font-weight:700;font-size:.9rem;box-shadow:none;transition:background .15s ease,color .15s ease}
.profile-tab-button:hover{color:var(--care-dark)}
.profile-tab-button.is-active{background:#fff;color:var(--care-primary);box-shadow:0 2px 8px rgba(32,48,80,.1)}
@media(max-width:600px){.profile-tab-buttons{display:flex;width:100%}.profile-tab-button{flex:1 1 auto;text-align:center;font-size:.84rem;padding:.6rem .5rem}}

/* ---- Footer: slightly tighter ---- */
.site-footer{padding-top:.5rem}

/* ---- Remove-entry button for repeatable form groups ---- */
.aims-repeat-instance{position:relative}
.btn.aims-remove-entry{margin-top:.6rem;padding:.42rem .72rem;font-size:.82rem;border-radius:8px;color:#b42318;border-color:#e3b3ac;background:#fff;font-weight:700}
.btn.aims-remove-entry:hover{background:#fdf1f0;border-color:#c33;color:#8f1d10}
.aims-compact-editor .btn.aims-remove-entry{font-size:.78rem;padding:.36rem .62rem}


/* Feedback form review package */
.profile-row-actions{display:flex;gap:.55rem;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.profile-feedback-link{white-space:nowrap;align-self:center;}
.feedback-intro .hero-actions{margin-top:1rem;}
.feedback-form{max-width:980px;margin:0 auto;background:#fff;border:1px solid #d9e5eb;border-radius:18px;box-shadow:0 12px 28px rgba(32,48,80,.08);padding:1.25rem;}
.feedback-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;}
.feedback-field{display:grid;gap:.42rem;margin-bottom:1rem;}
.feedback-field label{font-weight:800;color:#203050;font-size:.92rem;}
.feedback-field label span{color:#005793;font-weight:900;}
.feedback-field input,.feedback-field select,.feedback-field textarea{width:100%;border:1px solid #cbd8df;border-radius:10px;padding:.7rem .78rem;font:inherit;color:#203050;background:#fff;}
.feedback-field textarea{resize:vertical;line-height:1.45;}
.feedback-wide{margin-top:.1rem;}
.feedback-actions{display:flex;gap:.7rem;align-items:center;flex-wrap:wrap;border-top:1px solid #e2ebf0;padding-top:1rem;margin-top:.4rem;}
.feedback-status{margin:0;color:#5f7180;font-size:.9rem;}
.feedback-status.is-ok{color:#0d6b4f;font-weight:700;}
.feedback-status.is-error{color:#9d2a2a;font-weight:700;}
@media (max-width:760px){.feedback-grid{grid-template-columns:1fr}.profile-row-actions{justify-content:flex-start}.profile-tab-buttons{align-items:stretch}.profile-feedback-link{text-align:center}}

/* Profile review feedback v1.1 */
.feedback-form-advanced{padding:0;background:transparent;border:0;box-shadow:none;display:grid;gap:1rem;}
.feedback-section-card{background:#fff;border:1px solid #d9e5eb;border-radius:16px;box-shadow:0 10px 24px rgba(32,48,80,.07);padding:1.1rem 1.15rem 1rem;margin:0;}
.feedback-section-card legend{font-weight:900;color:#203050;padding:0 .3rem;font-size:1rem;}
.feedback-checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .75rem;margin-top:.1rem;}
.feedback-checkbox-grid label,.feedback-consent{display:flex;align-items:flex-start;gap:.45rem;border:1px solid #e0e9ef;border-radius:10px;background:#f9fcfd;padding:.58rem .65rem;font-weight:600;color:#203050;line-height:1.35;}
.feedback-checkbox-grid input,.feedback-consent input{margin-top:.18rem;accent-color:#005793;}
.feedback-consent{margin:.25rem 0 0;}
.profile-row-actions .btn.secondary[data-feedback-profile]{display:none;}
@media (max-width:760px){.feedback-checkbox-grid{grid-template-columns:1fr}.feedback-section-card{padding:.95rem}}


/* Field-level feedback workflow refinement */
.profile-review-workflow{background:#f6f9fb;border-top:1px solid #dbe5eb;border-bottom:1px solid #dbe5eb;padding:1.1rem 0;}
.profile-review-workflow .profile-tab-intro{max-width:980px;margin:0 0 .8rem;color:#415263;}
.profile-review-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:stretch;}
.profile-review-step{display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:start;text-align:left;border:1px solid #cfdce3;background:#fff;border-radius:14px;padding:.85rem .9rem;text-decoration:none;color:#203050;box-shadow:0 8px 20px rgba(32,48,80,.06);min-height:100%;}
.profile-review-step:hover,.profile-review-step:focus{border-color:#005793;box-shadow:0 10px 24px rgba(0,87,147,.12);transform:translateY(-1px);}
.profile-review-step.is-active{border-color:#005793;background:linear-gradient(180deg,#fff,#f5fbff);}
.profile-review-step-no{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:999px;background:#005793;color:#fff;font-weight:900;font-size:.86rem;}
.profile-review-step strong{display:block;font-size:.93rem;margin:.05rem 0 .18rem;}
.profile-review-step small{display:block;font-size:.78rem;line-height:1.35;color:#647684;}
.profile-review-step.profile-feedback-link{border-color:#88BC4D;background:#fbfff7;}
.profile-review-step.profile-feedback-link .profile-review-step-no{background:#88BC4D;color:#203050;}
.feedback-guidance{margin:.1rem 0 1rem;color:#526574;line-height:1.5;max-width:960px;}
.field-review-card{overflow:visible;}
.field-review-toolbar{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end;margin:.8rem 0 1rem;}
.field-review-search{flex:1 1 320px;margin:0;}
.field-review-search span{display:block;font-weight:800;font-size:.86rem;margin-bottom:.25rem;color:#203050;}
.field-review-search input{width:100%;min-height:42px;border:1px solid #cbd8df;border-radius:9px;padding:.55rem .65rem;}
.field-review-summary{display:flex;gap:.55rem;align-items:center;justify-content:space-between;border:1px solid #dbe5eb;border-radius:10px;background:#f8fbfc;color:#415263;padding:.65rem .8rem;font-weight:800;font-size:.86rem;margin-bottom:.8rem;}
.feedback-empty-state{border:1px dashed #cbd8df;border-radius:12px;padding:1rem;background:#fbfdfe;color:#667887;}
.field-review-section{border:1px solid #dbe5eb;border-radius:12px;background:#fff;margin:.75rem 0;overflow:hidden;}
.field-review-section summary{display:flex;justify-content:space-between;gap:1rem;align-items:center;cursor:pointer;padding:.75rem .9rem;background:#f7fafc;color:#203050;}
.field-review-section summary span{font-size:.78rem;color:#667887;font-weight:800;}
.field-review-section-body{display:grid;gap:.65rem;padding:.75rem;}
.field-review-row{border:1px solid #e0e8ee;border-radius:11px;padding:.75rem;background:#fff;}
.field-review-row-head{display:flex;justify-content:space-between;gap:.75rem;align-items:start;margin-bottom:.25rem;}
.field-review-row-head strong{font-size:.92rem;color:#203050;}
.field-review-row-head small{display:block;font-size:.74rem;color:#667887;margin-top:.14rem;}
.field-review-row p{font-size:.82rem;line-height:1.45;color:#526574;margin:.35rem 0 .65rem;}
.feedback-field-marker{display:inline-flex;align-items:center;border-radius:999px;padding:.08rem .38rem;font-size:.64rem;font-weight:900;margin-left:.25rem;vertical-align:middle;}
.feedback-field-marker.req{background:#e7f1f8;color:#005793;}
.feedback-field-marker.cond{background:#fff5d9;color:#785d00;}
.feedback-field-marker.opt{background:#eef3f6;color:#667887;}
.field-review-row-controls{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(170px,.9fr) minmax(260px,1.6fr);gap:.55rem;align-items:start;}
.field-review-row-controls label{display:grid;gap:.22rem;font-size:.75rem;color:#526574;font-weight:800;}
.field-review-row-controls select,.field-review-row-controls textarea{width:100%;border:1px solid #cbd8df;border-radius:8px;padding:.48rem .55rem;font:inherit;font-size:.82rem;background:#fff;}
.field-review-row-controls textarea{min-height:74px;resize:vertical;}
@media (max-width:900px){.profile-review-steps{grid-template-columns:1fr}.field-review-row-controls{grid-template-columns:1fr}.field-review-toolbar{display:grid}.profile-review-step{grid-template-columns:auto 1fr}}


/* --- Inline field review: polished, brand-consistent design --- */
:root{
  --review-danger:#B3261E;
  --review-danger-bg:#FDEDEB;
  --review-ok-bg:rgba(0,148,114,.10);
}

/* Sticky top bar: live progress + jump-to-flagged navigation */
.review-top-bar{
  position:sticky;top:var(--site-header-h,88px);z-index:5;
  display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;
  background:#fff;border-bottom:1px solid var(--care-border);
  padding:.7rem 1.15rem;margin:0 0 0;
  box-shadow:0 6px 16px rgba(32,48,80,.05);
}
.review-top-bar .review-progress{margin:0;font-weight:700;color:var(--care-dark);font-size:.88rem;}
.review-top-bar.has-flagged .review-progress{color:var(--review-danger);}
.review-progress-wrap{display:flex;flex-direction:column;gap:5px;min-width:180px;flex:1 1 auto;}
.review-progress-bar{display:flex;height:6px;border-radius:999px;overflow:hidden;background:var(--care-border);width:100%;max-width:280px;}
.review-progress-bar span{height:100%;transition:width .3s ease;}
.review-progress-bar .is-ok{background:var(--care-green);}
.review-progress-bar .is-bad{background:var(--review-danger);}

/* Floating jump-to-flagged widget: fixed to the viewport, not the page,
   so it's reachable no matter how far down you've scrolled */
.review-float-nav{
  position:fixed;right:22px;bottom:22px;z-index:20;
  display:flex;align-items:center;gap:6px;
  background:var(--care-dark);color:#fff;border-radius:999px;
  padding:.55rem .6rem .55rem 1rem;box-shadow:0 10px 28px rgba(32,48,80,.28);
  animation:review-float-in .2s ease;
}
.review-float-nav[hidden]{display:none;}
.review-float-count{font-size:.8rem;font-weight:700;white-space:nowrap;margin-right:2px;}
.review-float-nav button{
  border:0;background:rgba(255,255,255,.14);color:#fff;width:2rem;height:2rem;border-radius:999px;
  font-size:1rem;font-weight:900;cursor:pointer;display:inline-grid;place-items:center;
  transition:background .15s ease;
}
.review-float-nav button:hover{background:rgba(255,255,255,.28);}
.review-float-nav button:focus-visible{outline:2px solid #fff;outline-offset:2px;}
@keyframes review-float-in{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
@media (max-width:600px){.review-float-nav{right:14px;bottom:14px;}}

/* Live progress text reused in the bottom bar */
.review-progress{font-size:.88rem;color:var(--care-muted);margin:0 0 12px;}

/* Repeatable field groups (Creator, Data Owner, ...) get the same flex header as simple fields,
   so the icon + toggle always land in the same place: top-right, next to the name. */
.aims-repeat-group legend{display:flex;width:100%;justify-content:space-between;align-items:center;gap:1rem;}

/* Toggle: modern segmented switch with a sliding highlight, not a hard-divided button pair */
.field-toggle{position:relative;display:inline-flex;border-radius:999px;background:var(--care-bg);padding:3px;flex:none;}
.field-toggle-thumb{
  position:absolute;top:3px;left:0;height:calc(100% - 6px);border-radius:999px;
  background:var(--care-green);box-shadow:0 2px 8px rgba(0,148,114,.35);
  transition:transform .28s cubic-bezier(.4,0,.2,1),background-color .28s ease,box-shadow .28s ease;
  z-index:0;
}
.field-toggle-thumb.is-bad{background:var(--review-danger);box-shadow:0 2px 8px rgba(179,38,30,.35);}
.field-toggle button{
  position:relative;z-index:1;border:0;background:transparent;padding:.42rem .85rem;font-size:.79rem;
  cursor:pointer;color:var(--care-muted);display:inline-flex;align-items:center;gap:5px;font-weight:700;
  white-space:nowrap;transition:color .2s ease;border-radius:999px;
}
.field-toggle button span{font-size:.85em;}
.field-toggle button.is-active{color:#fff;}
.field-toggle button:hover:not(.is-active){color:var(--care-dark);}
.field-toggle button:focus-visible{outline:2px solid var(--care-primary);outline-offset:2px;}

/* Toggle sits inline with the field name, same position every time */
.aims-label-actions{display:inline-flex;align-items:center;gap:8px;flex:none;}

/* Comment box: smooth reveal instead of an abrupt show/hide */
.field-comment{max-height:0;opacity:0;overflow:hidden;margin-top:0;transition:max-height .25s ease,opacity .2s ease,margin-top .25s ease;}
.field-comment.is-open{max-height:220px;opacity:1;margin-top:10px;}
.field-comment textarea{width:100%;box-sizing:border-box;font:inherit;padding:8px 10px;border:1px solid var(--care-border);border-radius:8px;resize:vertical;}
.field-comment textarea:focus-visible{outline:2px solid var(--care-primary);outline-offset:1px;}

/* Field cards: consistent shape for every field, with a clear flagged state */
.aims-field,fieldset.aims-repeat-group{transition:background-color .2s ease,box-shadow .2s ease;}
.aims-field[data-review-status="needs_change"],
fieldset.aims-repeat-group[data-review-status="needs_change"]{
  background:var(--review-danger-bg);box-shadow:inset 3px 0 0 var(--review-danger);
}
.aims-field[data-review-status="ok"],
fieldset.aims-repeat-group[data-review-status="ok"]{
  box-shadow:inset 3px 0 0 transparent;
}

/* Brief highlight pulse when jumping to a flagged field via the nav buttons */
@keyframes review-jump-pulse{
  0%{box-shadow:inset 3px 0 0 var(--review-danger),0 0 0 0 rgba(179,38,30,.35);}
  100%{box-shadow:inset 3px 0 0 var(--review-danger),0 0 0 10px rgba(179,38,30,0);}
}
.is-jump-highlight{animation:review-jump-pulse 1.1s ease-out;}

/* Sticky submit bar at the bottom of the whole preview form */
.review-submit-bar{
  position:sticky;bottom:0;background:#fff;border-top:1px solid var(--care-border);
  padding:16px;margin-top:18px;border-radius:14px 14px 0 0;
  box-shadow:0 -6px 18px rgba(32,48,80,.08);transition:box-shadow .3s ease;
}
.review-submit-bar.is-submitted{box-shadow:0 -6px 18px rgba(0,148,114,.18);}
.review-draft-note{
  background:rgba(0,87,147,.08);color:var(--care-primary);border-radius:10px;
  padding:.6rem .85rem;font-size:.85rem;margin-bottom:10px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;
}
.review-draft-note[hidden]{display:none;}
.review-draft-note button{
  border:1px solid var(--care-primary);background:#fff;color:var(--care-primary);
  border-radius:999px;padding:.25rem .65rem;font-size:.78rem;font-weight:700;cursor:pointer;
}
.review-draft-note button:hover{background:var(--care-primary);color:#fff;}
.review-submit-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:12px;}
.review-submit-field{display:flex;flex-direction:column;gap:4px;font-size:.88rem;color:var(--care-dark);}
.review-submit-field input,.review-submit-field textarea{font:inherit;padding:8px 10px;border:1px solid var(--care-border);border-radius:8px;box-sizing:border-box;}
.review-submit-field input:focus-visible,.review-submit-field textarea:focus-visible{outline:2px solid var(--care-primary);outline-offset:1px;}
.review-submit-wide{grid-column:1 / -1;}
.review-submit-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.feedback-status.is-ok{color:var(--care-green);font-weight:700;}
.feedback-status.is-error{color:var(--review-danger);font-weight:700;}

/* Simplified single-view intro (replaces the old 2-tab workflow bar) */
/* Intro: a proper 3-step visual card instead of a plain paragraph */
.profile-review-intro{padding:1.6rem 0 1.4rem;background:#F7FAFC;}
.review-intro-card{
  background:#fff;border:1px solid var(--care-border);border-radius:var(--radius);
  box-shadow:var(--shadow-soft,0 10px 28px rgba(32,48,80,.08));padding:1.4rem 1.5rem;
}
.review-intro-title{margin:0 0 1.1rem;font-size:1.05rem;color:var(--care-dark);}
.review-intro-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.4rem;}
.review-intro-step{display:flex;gap:.85rem;align-items:flex-start;}
.review-intro-step-no{
  display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:999px;
  background:var(--care-primary);color:#fff;font-weight:900;font-size:.86rem;flex:none;
}
.review-intro-step strong{display:block;color:var(--care-dark);margin-bottom:.2rem;font-size:.96rem;}
.review-intro-step small{color:var(--care-muted);line-height:1.45;}
@media (max-width:900px){.review-intro-steps{grid-template-columns:1fr;}}

@media (max-width: 600px){
  .review-submit-grid{grid-template-columns:1fr;}
  .aims-label-actions{flex-wrap:wrap;justify-content:flex-start;}
  .review-top-bar{flex-direction:column;align-items:flex-start;}
}

/* --- "Review & send all" link in the top bar --- */

/* --- Review & send all page --- */
.review-loading{color:#666;}
.review-all-summary{font-weight:700;color:var(--care-dark);margin:0 0 16px;}
.review-all-card{background:#fff;border:1px solid var(--care-border);border-radius:14px;padding:1.1rem 1.3rem;margin-bottom:16px;box-shadow:var(--shadow-soft,0 10px 28px rgba(32,48,80,.06));}
.review-all-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;flex-wrap:wrap;margin-bottom:8px;}
.review-all-card-head h2{margin:0;font-size:1.05rem;}
.review-all-card-meta{margin:2px 0 0;font-size:.85rem;color:var(--care-muted);}
.review-all-card-actions{display:flex;gap:8px;flex:none;}
.review-all-field-list{border-top:1px solid #eee;margin-top:8px;}
.review-all-field-row{padding:8px 0;border-bottom:1px solid #f2f2f2;display:flex;flex-direction:column;gap:2px;}
.review-all-field-name{font-weight:700;color:var(--care-dark);font-size:.92rem;}
.review-all-field-comment{color:#444;font-size:.88rem;}
.review-all-none{color:var(--care-green);font-weight:600;margin:8px 0 0;}
.review-all-general-comment{font-size:.9rem;margin:10px 0 0;}
.review-all-ok-list{font-size:.8rem;color:var(--care-muted);margin:8px 0 0;}
.review-all-empty{background:#fff;border:1px solid var(--care-border);border-radius:14px;padding:2rem;text-align:center;}
.review-all-empty p{margin:0 0 14px;color:var(--care-muted);}
.review-all-sent p{color:var(--care-dark);}
.review-all-submit-bar{position:static;box-shadow:none;border-radius:14px;margin-top:8px;}

/* --- Hub page: session status badges + banner --- */
.profile-saved-badge{display:inline-flex;align-items:center;margin-left:8px;padding:.15rem .55rem;border-radius:999px;background:var(--care-green);color:#fff;font-size:.7rem;font-weight:800;letter-spacing:.02em;vertical-align:middle;}
/* --- 3-step review wizard on the hub page --- */
.review-wizard-step{background:#fff;border:1px solid var(--care-border);border-radius:16px;padding:1.5rem 1.6rem;margin:0 0 1.4rem;box-shadow:var(--shadow-soft,0 10px 28px rgba(32,48,80,.06));}
.review-wizard-step[hidden]{display:none;}
.wizard-step-title{display:flex;align-items:center;gap:.6rem;margin:0 0 .3rem;font-size:1.1rem;}
.wizard-step-no{display:inline-grid;place-items:center;width:1.8rem;height:1.8rem;border-radius:999px;background:var(--care-primary);color:#fff;font-weight:900;font-size:.85rem;flex:none;}
.wizard-step-hint{color:var(--care-muted);margin:0 0 1.1rem;font-size:.92rem;}
.wizard-intake-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:14px;}
.wizard-field{display:flex;flex-direction:column;gap:5px;font-size:.88rem;font-weight:700;color:var(--care-dark);}
.wizard-field .req{color:#b42318;}
.wizard-field input,.wizard-field select{font:inherit;font-weight:400;padding:.55rem .7rem;border:1px solid var(--care-border);border-radius:8px;box-sizing:border-box;}
.wizard-error{color:#b42318;font-weight:600;font-size:.88rem;margin:0 0 10px;}
.wizard-error[hidden]{display:none;}
.wizard-profile-toggles{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:1.2rem;}
.wizard-profile-toggle{border:1px solid var(--care-border);background:var(--care-bg);color:var(--care-dark);border-radius:999px;padding:.5rem 1rem;font-weight:700;font-size:.88rem;cursor:pointer;transition:background .15s ease,color .15s ease,border-color .15s ease;}
.wizard-profile-toggle:hover{border-color:var(--care-primary);}
.wizard-profile-toggle.is-active{background:var(--care-primary);color:#fff;border-color:var(--care-primary);}
.wizard-profile-toggle.is-locked{cursor:default;opacity:.9;}
.wizard-profile-toggle.is-locked::after{content:' (required)';font-weight:400;font-size:.85em;}
.wizard-step-actions{display:flex;gap:12px;align-items:center;}
.wizard-send-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;background:var(--care-bg);border:1px solid var(--care-border);border-radius:12px;padding:.9rem 1.1rem;margin:0 0 1.2rem;}
.wizard-send-banner p{margin:0;font-weight:600;color:var(--care-dark);}
.wizard-send-banner.is-ready{background:rgba(0,148,114,.1);border-color:var(--care-green);}
.wizard-send-banner[hidden]{display:none;}
.wizard-edit-links{margin:0 0 1.2rem;font-size:.85rem;}
.wizard-edit-links button{border:0;background:none;color:var(--care-primary);font-weight:700;cursor:pointer;padding:0;font-size:inherit;text-decoration:underline;}
.profile-saved-badge.is-pending{background:var(--care-muted);}
@media (max-width:900px){.wizard-intake-grid{grid-template-columns:1fr;}}

/* --- Step 2: full profile cards used for selection --- */
.review-wizard-step[data-wizard-step="select"] .profile-catalog-list{margin:0 0 1.2rem;}
.profile-row-card.is-selected{box-shadow:0 0 0 2px var(--care-primary) inset;}
.profile-row-card.is-required-card{box-shadow:0 0 0 2px var(--care-green) inset;}
.profile-row-button.is-selected-btn{background:var(--care-primary);}

/* --- Sequence bar: Prev/Next across the selected profiles --- */
.review-sequence-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--care-bg);border-bottom:1px solid var(--care-border);padding:.6rem 1.15rem;font-size:.85rem;}
.review-seq-nav{color:var(--care-primary);font-weight:700;text-decoration:none;}
.review-seq-nav:hover{text-decoration:underline;}
.review-seq-nav.is-disabled{color:var(--care-muted);font-weight:400;}
.review-seq-position{color:var(--care-muted);font-weight:600;}

/* --- Step 3: compact resume checklist --- */
.review-checklist{margin:0 0 1.2rem;}
.review-checklist-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:.8rem 1rem;border:1px solid var(--care-border);border-radius:12px;margin-bottom:.6rem;background:#fff;}
.review-checklist-row.is-done{background:rgba(0,148,114,.06);border-color:var(--care-green);}
.review-checklist-name{font-weight:700;color:var(--care-dark);flex:1 1 auto;}
.review-checklist-name small{color:var(--care-muted);font-weight:400;}
.review-checklist-status{color:var(--care-muted);font-size:.85rem;}

/* --- New 4-step "Review workflow" summary --- */
@media (max-width:600px){.review-sequence-bar{flex-wrap:wrap;}}

/* --- Reviewer details card at the top of the Review & send all page --- */
.review-all-reviewer-card h2{margin:0 0 12px;font-size:1.05rem;}
.review-all-reviewer-card .review-submit-grid{grid-template-columns:1fr 1fr 1fr;margin-bottom:0;}
@media (max-width:700px){.review-all-reviewer-card .review-submit-grid{grid-template-columns:1fr;}}

/* ============================================================
   DESIGN SYSTEM PASS — buttons, stepper, motion, consistency
   ============================================================ */

/* --- Definitive button system (fixes .btn.subtle, which was used
   throughout the review UI but never actually had a style) --- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.4rem;
  border-radius:10px;padding:.6rem 1.05rem;font-weight:700;font-size:.92rem;
  border:1px solid transparent;cursor:pointer;text-decoration:none;
  transition:background-color .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease,transform .08s ease;
}
.btn:hover{text-decoration:none;}
.btn:active{transform:translateY(1px);}
.btn:focus-visible{outline:2px solid var(--care-primary);outline-offset:2px;}
.btn:disabled,.btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none;}

.btn.primary{background:var(--care-primary);border-color:var(--care-primary);color:#fff;}
.btn.primary:hover:not(:disabled){background:#00456f;border-color:#00456f;}

.btn.secondary{background:#fff;border-color:var(--care-primary);color:var(--care-primary);}
.btn.secondary:hover:not(:disabled){background:rgba(0,87,147,.07);}

.btn.subtle{background:var(--care-bg);border-color:var(--care-border);color:var(--care-muted);}
.btn.subtle:hover:not(:disabled){background:#eef2f4;border-color:#c7d2d8;color:var(--care-dark);}

.btn.danger{background:#fff;border-color:#e3b3ac;color:#b42318;}
.btn.danger:hover:not(:disabled){background:#fdf1f0;border-color:#c33;color:#8f1d10;}

/* Remove buttons on the send-review page read as destructive, not neutral */
[data-remove]{background:#fff;border-color:#e3b3ac;color:#b42318;}
[data-remove]:hover{background:#fdf1f0;border-color:#c33;color:#8f1d10;}

/* --- Persistent stepper: always visible across all 3 wizard steps --- */
.wizard-stepper{display:flex;align-items:center;margin:0 0 1.6rem;max-width:640px;}
.wizard-stepper-item{display:flex;align-items:center;gap:.55rem;flex:none;}
.wizard-stepper-dot{
  display:inline-grid;place-items:center;width:2.1rem;height:2.1rem;border-radius:999px;
  background:var(--care-bg);border:2px solid var(--care-border);color:var(--care-muted);
  font-weight:900;font-size:.9rem;transition:background-color .2s ease,border-color .2s ease,color .2s ease;
  flex:none;
}
.wizard-stepper-label{font-weight:700;font-size:.85rem;color:var(--care-muted);white-space:nowrap;transition:color .2s ease;}
.wizard-stepper-connector{flex:1 1 auto;height:2px;background:var(--care-border);margin:0 .7rem;min-width:24px;transition:background-color .2s ease;}
.wizard-stepper-item.is-active .wizard-stepper-dot{background:var(--care-primary);border-color:var(--care-primary);color:#fff;}
.wizard-stepper-item.is-active .wizard-stepper-label{color:var(--care-dark);}
.wizard-stepper-item.is-done .wizard-stepper-dot{background:var(--care-green);border-color:var(--care-green);color:#fff;}
.wizard-stepper-item.is-done .wizard-stepper-dot::before{content:'✓';}
.wizard-stepper-item.is-done .wizard-stepper-connector-fill{background:var(--care-green);}
@media (max-width:640px){
  .wizard-stepper-label{display:none;}
  .wizard-stepper{max-width:none;}
}

/* --- Smooth step transitions instead of an instant cut --- */
.review-wizard-step{animation:wizard-step-in .25s ease;}
@keyframes wizard-step-in{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}

/* --- Card hover elevation for interactive cards --- */
.profile-row-card{transition:box-shadow .18s ease,transform .18s ease;}
.review-wizard-step[data-wizard-step="select"] .profile-row-card:hover{box-shadow:var(--shadow-lift,0 18px 42px rgba(32,48,80,.13));transform:translateY(-2px);}
.review-checklist-row{transition:box-shadow .15s ease;}
.review-checklist-row:hover{box-shadow:0 4px 14px rgba(32,48,80,.06);}
