/* The area chooser is a working home: a next step, clear destinations and a
   small, accurately scoped practice record. All colors follow the user theme. */
.practice-home { display:grid; gap:23px; min-width:0; }
.practice-home .home-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:22px; margin:0; }
.practice-home .home-heading .page-eyebrow { display:block; margin:0 0 7px; font-size:0.625rem; }
.practice-home .home-heading h1 { margin:0; font-size:clamp(1.625rem,calc(2.1vw * var(--ui-type-scale)),2rem); line-height:1.2; letter-spacing:-.04em; font-weight:600; }
.practice-home .home-heading p { margin:9px 0 0; max-width:650px; color:var(--muted); font-size:0.8125rem; line-height:1.6; }
.practice-home .home-preferences { display:inline-flex; flex:none; align-items:center; gap:8px; padding:8px 0 8px 12px; margin-top:3px; color:var(--muted); background:transparent; border:0; font-size:0.6875rem; line-height:1.5; cursor:pointer; }
.practice-home .home-preferences > svg { width:15px; height:15px; }
.practice-home .home-preferences > svg:last-child { width:13px; height:13px; }
.practice-home .home-preferences:hover { color:var(--primary); }
.home-heading-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.practice-home .home-mobile-link{min-height:42px;padding:10px 14px;font-size:.8125rem;white-space:nowrap}
@media(max-width:700px){.home-heading-actions{justify-content:flex-start}.practice-home .home-mobile-link{min-height:44px}}
.practice-home .home-next { display:flex; align-items:center; gap:16px; padding:17px 19px; border:1px solid var(--line); border-radius:12px; background:linear-gradient(110deg,color-mix(in srgb,var(--primary) 5%,var(--surface)),var(--surface) 75%); }
.practice-home .home-next-icon { display:grid; flex:none; place-items:center; width:40px; height:40px; color:var(--primary); background:var(--surface); border:1px solid var(--line); border-radius:11px; }
.practice-home .home-next-icon > svg { width:19px; height:19px; }
.practice-home .home-next-copy { flex:1; min-width:0; }
.practice-home .home-kicker { display:block; color:var(--muted); font-size:0.5625rem; line-height:1.5; font-weight:650; letter-spacing:.08em; }
.practice-home .home-next h2 { margin:2px 0 4px; font-size:0.9375rem; line-height:1.5; letter-spacing:-.018em; font-weight:600; }
.practice-home .home-next p { max-width:650px; margin:0; color:var(--muted); font-size:0.75rem; line-height:1.65; }
.practice-home .home-next .btn { flex:none; min-height:37px; padding:9px 13px; font-size:0.6875rem; white-space:normal; }
.practice-home .home-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:13px; }
.practice-home .home-section-heading h2 { margin:0; font-size:0.9375rem; line-height:1.5; letter-spacing:-.02em; font-weight:600; }
.practice-home .home-section-heading > span { color:var(--muted); font-size:0.625rem; line-height:1.5; }
.practice-home .pathway-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:15px; }
.practice-home .pathway-card { position:relative; display:flex; flex-direction:column; align-items:stretch; grid-row:auto; gap:0; min-height:0; padding:18px; overflow:hidden; border:1px solid var(--line); border-radius:12px; background:var(--surface); color:var(--ink); box-shadow:none; text-align:left; transition:border-color .16s,box-shadow .16s,background .16s; }
.practice-home .pathway-card::before { content:""; position:absolute; top:0; left:20px; right:20px; height:2px; background:var(--primary); opacity:.65; }
.practice-home .pathway-card:hover { border-color:var(--accent-line); background:var(--surface); box-shadow:0 4px 16px var(--shadow-color); transform:none; }
.practice-home .pathway-card-head { display:flex; justify-content:space-between; align-items:center; gap:10px; width:100%; margin:0 0 12px; }
.practice-home .pathway-card .pathway-icon { display:grid; place-items:center; width:34px; height:34px; margin:0; color:var(--primary); background:color-mix(in srgb,var(--primary) 6%,var(--surface)); border:1px solid color-mix(in srgb,var(--primary) 12%,var(--line)); border-radius:9px; }
.practice-home .pathway-card .pathway-icon > svg { width:20px; height:20px; stroke-width:1.65; }
.practice-home .home-area-status { display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border:1px solid var(--line); border-radius:5px; color:var(--muted); font-size:0.5625rem; line-height:1.4; font-weight:500; }
.practice-home .home-area-status::before { content:""; flex:none; width:4px; height:4px; border-radius:50%; background:var(--success-ink); }
.practice-home .home-status-planned::before { background:var(--muted); }
.practice-home .pathway-card h2 { min-height:2.5em; max-width:none; margin:0 0 8px; font-size:1.25rem; line-height:1.25; letter-spacing:-.032em; font-weight:600; }
.practice-home .pathway-card p { flex:1; min-height:3.3em; margin:0; font-size:0.75rem; line-height:1.65; color:var(--muted); }
.practice-home .pathway-meta { display:block; margin:14px 0 0; padding:0; border:0; font-size:0.625rem; line-height:1.6; color:var(--muted); }
.practice-home .pathway-link { display:flex; align-items:center; justify-content:space-between; gap:10px; width:100%; margin:12px 0 0; padding:11px 0 0; border-top:1px solid var(--line); color:var(--primary); font-size:0.6875rem; line-height:1.5; font-weight:600; }
.practice-home .pathway-link > svg { flex:none; width:15px; height:15px; }
.practice-home .pathway-planned { opacity:1; border-style:solid; }
.practice-home .pathway-planned::before { background:var(--line-strong); opacity:.45; }
.practice-home .pathway-planned .pathway-icon { color:var(--muted); background:var(--surface-hover); border-color:var(--line); }
.practice-home .pathway-planned .pathway-link { color:var(--ink2); }
.practice-home .home-record { display:flex; align-items:center; gap:23px; padding:17px 0 0; border-top:1px solid var(--line); }
.practice-home .home-record-title { display:flex; flex:1; align-items:center; gap:10px; min-width:0; }
.practice-home .home-record-icon { display:grid; flex:none; place-items:center; width:33px; height:33px; border:1px solid var(--line); border-radius:9px; color:var(--muted); }
.practice-home .home-record-icon > svg { width:16px; height:16px; }
.practice-home .home-record h2 { margin:0; font-size:0.75rem; font-weight:600; line-height:1.5; }
.practice-home .home-record p { max-width:265px; margin:2px 0 0; color:var(--muted); font-size:0.75rem; line-height:1.6; }
.practice-home .home-record-metrics { display:flex; flex:none; gap:23px; margin:0; }
.practice-home .home-record-metrics > div { display:flex; flex-direction:column; min-width:62px; }
.practice-home .home-record-metrics dt { order:2; color:var(--muted); font-size:0.5625rem; line-height:1.6; }
.practice-home .home-record-metrics dd { order:1; margin:0 0 2px; color:var(--ink2); font-size:1.3125rem; line-height:1.2; letter-spacing:-.035em; font-weight:600; font-variant-numeric:tabular-nums; }
.practice-home .home-record-metrics small { margin-left:2px; font-size:0.625rem; letter-spacing:0; font-weight:400; color:var(--muted); }
.practice-home .home-record-link { display:inline-flex; flex:none; align-items:center; gap:7px; padding:8px 0 8px 8px; border:0; color:var(--primary); background:transparent; font-size:0.625rem; cursor:pointer; }
.practice-home .home-record-link > svg { width:14px; height:14px; }
.practice-home :is(.home-preferences,.pathway-card,.home-record-link):focus-visible { outline:2px solid var(--focus); outline-offset:4px; }
@media (max-width:1220px) {
  .practice-home .home-record { flex-wrap:wrap; gap:14px 22px; }
  .practice-home .home-record-title { flex-basis:100%; }
  .practice-home .home-record p { max-width:none; }
  .practice-home .home-record-metrics { flex:1; }
}
@media (max-width:1100px) and (min-width:641px) {
  .practice-home .pathway-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .practice-home .pathway-card { display:grid; grid-template-columns:40px minmax(0,1fr) minmax(140px,.45fr); grid-template-rows:auto auto auto; gap:6px 15px; padding:17px 18px; }
  .practice-home .pathway-card-head { display:contents; }
  .practice-home .pathway-card .pathway-icon { grid-column:1; grid-row:1/4; }
  .practice-home .home-area-status { grid-column:3; grid-row:1; align-self:start; justify-self:end; }
  .practice-home .pathway-card h2 { grid-column:2; grid-row:1; min-height:0; margin:0; font-size:1.1875rem; }
  .practice-home .pathway-card p { grid-column:2; grid-row:2; min-height:0; margin:0; font-size:0.75rem; }
  .practice-home .pathway-meta { grid-column:2; grid-row:3; margin-top:3px; }
  .practice-home .pathway-link { grid-column:3; grid-row:3; align-self:end; margin:0; padding:0; border:0; font-size:0.625rem; }
}
@media (max-width:760px) {
  .practice-home { gap:19px; }
  .practice-home .home-heading { flex-wrap:wrap; gap:8px; }
  .practice-home .home-heading h1 { font-size:1.6875rem; }
  .practice-home .home-preferences { margin:0; padding:4px 0; }
  .practice-home .home-next { flex-wrap:wrap; gap:11px; padding:15px; }
  .practice-home .home-next-icon { width:34px; height:34px; border-radius:9px; }
  .practice-home .home-next-copy { flex-basis:calc(100% - 46px); }
  .practice-home .home-next .btn { margin-left:45px; }
  .practice-home :is(.home-preferences,.home-record-link,.home-next .btn) { min-height:44px; min-width:44px; font-size:0.75rem; }
  .practice-home .home-section-heading { align-items:flex-start; flex-direction:column; gap:3px; }
}
@media (max-width:640px) {
  .practice-home .pathway-grid { grid-template-columns:minmax(0,1fr); gap:12px; }
  .practice-home .pathway-card { display:flex; gap:0; padding:18px; }
  .practice-home .pathway-card-head { margin-bottom:12px; }
  .practice-home .pathway-card h2 { min-height:0; margin-bottom:8px; font-size:1.3125rem; }
  .practice-home .pathway-card p { min-height:0; font-size:0.75rem; }
  .practice-home .pathway-meta { margin-top:13px; }
  .practice-home .pathway-link { margin-top:12px; padding-top:12px; }
  .practice-home .home-record { gap:15px; }
  .practice-home .home-record-metrics { justify-content:space-between; gap:12px; }
  .practice-home .home-record-metrics dd { font-size:1.25rem; }
  .practice-home .home-record-metrics dt { max-width:95px; }
  .practice-home .home-record-link { margin-left:43px; padding:0; }
}
@media (prefers-reduced-motion:reduce) {
  .practice-home .pathway-card { transition:none; }
}
