/* Functional layouts: matching results and the doctor's guided dashboard. */
.gd-portal .dashboard{align-items:start;overflow:visible}
.gd-portal .dashboard-nav{position:sticky;top:112px;align-self:start;height:auto;max-height:calc(100dvh - 128px);overflow:auto}
.gd-portal .dashboard-nav-content{position:static;display:flex;flex-direction:column}
.gd-portal .dashboard-nav nav,.gd-portal .dashboard-top,.gd-portal .dashboard-main{position:static;min-width:0}
.gd-portal .dashboard-top{margin-bottom:24px}
.gd-portal .goal-story{padding:26px;margin:0 0 26px;scroll-margin-top:120px}
.gd-portal .goal-story .profile-goals-head h3{font-size:23px;max-width:580px}
.gd-portal .goal-story-current{padding:22px;border:1px solid #cbe7df;border-radius:18px;background:white;margin:18px 0}
.gd-portal .goal-story-number{font-size:12px;font-weight:700;color:#008b82;letter-spacing:.08em}
.gd-portal .goal-story-current h3{font-size:23px;margin:10px 0}
.gd-portal .goal-story-current p{font-size:14px;margin:10px 0 18px}
.gd-portal .goal-story-success{display:inline-flex;background:#e0f6e9;color:#128557;padding:8px 15px;border-radius:50%}
.gd-portal .goal-story details{font-size:13px;color:#55727e}.gd-portal .goal-story summary{cursor:pointer;font-weight:650}
.gd-portal .match-results{max-width:1100px;margin:0 auto}.gd-portal .match-results .section-heading{margin-bottom:24px}
.gd-portal .match-results .cards{display:grid;grid-template-columns:1fr;gap:16px}
.gd-portal .match-results .studio-card{display:grid;grid-template-columns:230px minmax(0,1fr);border-radius:18px;overflow:hidden}
.gd-portal .match-results .studio-cover{height:100%;min-height:210px}.gd-portal .match-results .studio-cover-photo{width:100%;height:100%;object-fit:cover}
.gd-portal .match-results .card-body{padding:22px}.gd-portal .match-results h3{font-size:23px}
.gd-portal .match-results .result-label{margin:30px 0 14px;font-size:15px;font-weight:650}
.gd-portal .match-results .match-meter{background:#f0faf5;border:1px solid #d5ecdf;border-radius:12px;padding:12px}
.gd-portal .match-results .match-meter strong{font-size:23px;color:#12805c}
.gd-portal .match-results .match-reasons{font-size:13px;line-height:1.6;padding-left:20px}
.gd-portal .match-rank{display:inline-flex;align-items:center;gap:7px;color:#137d5f;font-size:13px;font-weight:700;margin-bottom:8px}
.gd-portal .match-results .result-footer{display:flex;justify-content:center;margin:24px 0}
@media(max-width:900px){.gd-portal .dashboard-nav{top:90px;max-height:calc(100dvh - 106px)}.gd-portal .match-results .studio-card{grid-template-columns:190px minmax(0,1fr)}}
@media(max-width:640px){.gd-portal .dashboard-nav{position:static;max-height:none;overflow:visible}.gd-portal .dashboard-nav nav{display:flex;flex-wrap:wrap;gap:8px}.gd-portal .dashboard-nav nav button{flex:1 1 140px}.gd-portal .goal-story{padding:18px}.gd-portal .match-results .studio-card{grid-template-columns:1fr}.gd-portal .match-results .studio-cover{height:180px;min-height:0}.gd-portal .match-results .card-body{padding:18px}}
body .gd-portal .dashboard.gd-d2 .dashboard-nav{position:static;top:auto;max-height:none;height:auto;overflow:visible}.gd-portal .dashboard-nav-content,.gd-portal .dashboard-nav nav{position:static;max-height:none;overflow:visible}.gd-portal .dashboard-top-native{margin-bottom:24px}.gd-portal .dashboard-top-native .cover img{width:100%;height:100%;object-fit:cover;border-radius:16px}.gd-portal .gd-nav-group{flex-basis:100%}

.gd-portal .dashboard-story-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:stretch;margin-bottom:26px}.gd-portal .dashboard-story-grid .goal-story{margin:0;background:linear-gradient(145deg,#f2fafc,#fff);border-radius:22px}.gd-portal .goal-story-ring{position:relative;width:92px;height:92px;flex-shrink:0}.gd-portal .goal-story-ring svg{width:100%;height:100%;transform:rotate(-90deg)}.gd-portal .goal-story-ring strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:23px}.gd-portal .goal-story-ring [data-goal-ring]{transition:stroke-dashoffset .35s}.gd-portal .dashboard-story-grid .profile-goals-head{gap:16px;align-items:center}.gd-portal .dashboard-story-grid .profile-goals-head h3{font-size:20px}.gd-portal .dashboard-story-grid .goal-story-current h3{font-size:20px}.gd-portal .dashboard-quick-actions{border-radius:22px}.gd-portal .dashboard-quick-actions .gd-q{min-width:0}.gd-portal .clinical-town.gd-v2 .clinical-pagination{display:flex!important}.gd-portal .clinical-town.gd-v2 .clinical-pagination[hidden]{display:none!important}@media(max-width:1100px){.gd-portal .dashboard-story-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.gd-portal .goal-story-ring [data-goal-ring]{transition:none}}

.gd-portal .match-results .studio-card{grid-template-columns:170px minmax(0,1fr);border-radius:16px}.gd-portal .match-results .studio-cover{min-height:190px}.gd-portal .match-results .card-body{padding:15px 18px}.gd-portal .match-results h3{font-size:19px;line-height:1.3;margin:5px 0}.gd-portal .match-results .professional{font-size:12px;line-height:1.5;margin:5px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.gd-portal .match-results .chips{gap:5px;margin:7px 0}.gd-portal .match-results .chips span{font-size:11px;padding:4px 7px}.gd-portal .match-results .card-link{padding-top:9px;margin-top:8px;font-size:13px}.gd-portal .match-results .card-trust{font-size:12px}.gd-portal .match-rank{font-size:11px;margin-bottom:4px}.gd-portal .match-rings{display:flex;align-items:center;gap:16px;padding:12px 14px;border:1px solid #daeaf0;border-radius:13px;background:#f4fafc;margin:10px 0}.gd-portal .match-ring{text-align:center;flex:0 0 auto}.gd-portal .match-ring-dial{width:48px;height:48px;position:relative;margin:0 auto 4px}.gd-portal .match-ring.overall .match-ring-dial{width:66px;height:66px}.gd-portal .match-ring svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}.gd-portal .match-ring circle{fill:none;stroke-width:6}.gd-portal .match-ring-track{stroke:#dfebef}.gd-portal .match-ring-fill{stroke:#0796bf;stroke-linecap:round}.gd-portal .match-ring.overall .match-ring-fill{stroke:#14855b;stroke-width:7}.gd-portal .match-ring-dial strong{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:15px;color:#155068}.gd-portal .match-ring.overall strong{font-size:21px;color:#14855b}.gd-portal .match-ring-dial small{font-size:9px;font-weight:600}.gd-portal .match-ring>span{font-size:10px;color:#587481;font-weight:600}.gd-portal .match-ring-caption{font-size:12px;line-height:1.5;margin-left:4px}.gd-portal .match-ring-caption strong,.gd-portal .match-ring-caption span{display:block}.gd-portal .match-ring-caption span{color:#66828e;font-size:11px}.gd-portal .match-explanation{font-size:12px;margin:6px 0;color:#52717f}.gd-portal .match-explanation summary{cursor:pointer;font-weight:650}.gd-portal .match-explanation ul{padding-left:18px;line-height:1.7}@media(max-width:640px){.gd-portal .match-results .studio-card{grid-template-columns:1fr}.gd-portal .match-results .studio-cover{height:160px;min-height:0}.gd-portal .match-rings{gap:12px;padding:10px}.gd-portal .match-ring-caption{display:none}}
.gd-portal .dashboard-quick-actions .gd-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gd-portal .dashboard-quick-actions .gd-q{padding:14px;gap:7px}.gd-portal .dashboard-quick-actions .gd-q b{font-size:13px}.gd-portal .dashboard-quick-actions .gd-q small{font-size:11px;line-height:1.5}

.gd-portal .match-results .card-meta{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px;font-size:12px}.gd-portal .match-results .card-meta .studio-certified{padding:4px 7px;font-size:11px}.gd-portal .match-results .card-meta .studio-certified svg{width:20px;height:20px}.gd-portal .match-results .card-body{padding:12px 16px}.gd-portal .match-results .card-trust:empty{display:none}.gd-portal .match-results .card-trust{margin:5px 0}.gd-portal .match-results .match-rings{padding:8px 12px;margin:8px 0;gap:14px}.gd-portal .match-results .match-ring.overall .match-ring-dial{width:58px;height:58px}.gd-portal .match-results .match-ring-dial{width:42px;height:42px}.gd-portal .match-results .match-ring.overall strong{font-size:19px}.gd-portal .match-results .match-ring-dial strong{font-size:13px}.gd-portal .match-results .match-explanation{margin:4px 0}.gd-portal .match-results .chips{margin:4px 0}.gd-portal .match-results .professional{-webkit-line-clamp:1}.gd-portal .match-results .card-link{margin-top:5px;padding-top:8px}
@media(max-width:640px){.gd-portal .match-results .studio-cover-photo{object-position:center 15%}}

.gd-portal .match-score-panel{display:flex;align-items:center;justify-content:space-between;gap:22px;margin:10px 0;padding:15px 17px;background:linear-gradient(120deg,#f1faf7,#f7fbfd);border:1px solid #d8eae5;border-radius:15px}.gd-portal .match-score-main{display:flex;align-items:center;gap:14px;min-width:0}.gd-portal .score-dial{position:relative;flex:0 0 68px;width:68px;height:68px}.gd-portal .score-dial svg{display:block;width:100%;height:100%;transform:rotate(-90deg)}.gd-portal .score-dial circle{fill:none;stroke-width:5}.gd-portal .score-track{stroke:#dceee5}.gd-portal .score-fill{stroke:#14855b;stroke-linecap:round}.gd-portal .score-number{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1px;color:#137f59}.gd-portal .score-number strong{font-size:25px;line-height:1;letter-spacing:-.04em}.gd-portal .score-number span{font-size:11px;font-weight:650;padding-top:5px}.gd-portal .score-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.gd-portal .score-eyebrow{font-size:9px;letter-spacing:.12em;font-weight:750;color:#5b7f79}.gd-portal .score-copy>strong{font-size:15px;line-height:1.35;color:#163846}.gd-portal .score-copy>small{font-size:11px;line-height:1.4;color:#6b858b}.gd-portal .score-breakdown{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;flex:0 0 190px;padding-left:20px;border-left:1px solid #d9e8e6}.gd-portal .score-detail>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:7px;font-size:11px;color:#537681}.gd-portal .score-detail strong{font-size:13px;color:#16657c}.gd-portal .score-detail strong small{font-size:9px;margin-left:1px}.gd-portal .score-detail-track{height:4px;background:#e0ecf0;border-radius:20px;overflow:hidden}.gd-portal .score-detail-track i{display:block;height:100%;border-radius:20px;background:#0796bf}@media(max-width:850px){.gd-portal .match-score-panel{flex-wrap:wrap;gap:12px}.gd-portal .score-breakdown{flex:1 1 170px}}@media(max-width:640px){.gd-portal .match-score-panel{padding:14px}.gd-portal .match-score-main{width:100%}.gd-portal .score-breakdown{width:100%;flex-basis:100%;padding:12px 0 0;border-left:0;border-top:1px solid #d9e8e6;gap:22px}.gd-portal .score-copy>strong{font-size:15px}}

.gd-portal .match-outside-notice{display:flex;align-items:flex-start;gap:16px;margin:18px 0 24px;padding:20px 22px;border:1px solid #eadcba;border-radius:16px;background:linear-gradient(110deg,#fff9ee,#fffdfa)}.gd-portal .outside-notice-icon{display:flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#f7ecd2;color:#9a6a16}.gd-portal .outside-notice-icon svg{width:23px;height:23px}.gd-portal .outside-notice-label{font-size:10px;letter-spacing:.09em;font-weight:750;color:#93681e}.gd-portal .match-outside-notice h3{font-size:18px;line-height:1.35;margin:6px 0 8px}.gd-portal .match-outside-notice p{font-size:13px;line-height:1.65;color:#596e78;margin:0 0 9px}.gd-portal .match-outside-notice small{font-size:11px;line-height:1.5;color:#826a46}.gd-portal .outside-zone-tag{display:inline-block;background:#fff2d9;color:#956419;border:1px solid #edd9ad;border-radius:6px;padding:3px 6px;font-size:10px;line-height:1.4;margin-right:7px;font-weight:700}.gd-portal .match-results .distance-note{font-size:11px;line-height:1.5;margin:5px 0;color:#956419}@media(max-width:640px){.gd-portal .match-outside-notice{padding:16px;gap:12px}.gd-portal .match-outside-notice h3{font-size:16px}}
/* Directory cards size from their content, rather than the portrait's intrinsic height. */
.gd-portal .directory-list .studio-card{grid-template-columns:200px minmax(0,1fr);align-items:stretch}.gd-portal .directory-list .studio-cover{position:relative;height:auto;min-height:190px;overflow:hidden}.gd-portal .directory-list .studio-cover-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 22%}.gd-portal .directory-list .studio-card.premium-verified{border-width:1px;box-shadow:0 6px 18px #007ca610}.gd-portal .directory-list .card-body{padding:14px 18px}.gd-portal .directory-list .card-link{margin-top:10px;padding-top:10px}@media(max-width:650px){.gd-portal .directory-list .studio-card{grid-template-columns:minmax(0,1fr)}.gd-portal .directory-list .studio-cover{height:170px;min-height:170px}.gd-portal .directory-list .studio-cover-photo{object-position:center 18%}}
.gd-portal .home-cases .gd-case-meta{padding:13px 16px 16px;gap:10px}.gd-portal .home-cases .gd-case-num{font-size:10px;letter-spacing:.08em}.gd-portal .home-cases .gd-case-studio{font-size:15px;line-height:1.35}.gd-portal .home-cases .gd-case-ver{font-size:10px;padding:4px 7px;gap:4px;border-radius:8px}.gd-portal .home-cases .gd-case-ver svg{width:17px;height:17px}.gd-portal .home-cases .gd-case-actions{gap:8px}.gd-portal .home-cases .gd-case-actions a{font-size:12px;line-height:1.35;padding:10px 12px;min-height:38px;box-shadow:none}.gd-portal .home-cases .gd-case-actions a.gd-btn-solid{box-shadow:0 4px 10px #007ca615}@media(max-width:600px){.gd-portal .home-cases .gd-case-meta{padding:12px 14px 14px}.gd-portal .home-cases .gd-case-studio{font-size:14px}.gd-portal .home-cases .gd-case-actions a{font-size:12px;padding:9px 10px}}
.gd-portal .studio-city{display:inline-flex;align-items:center;gap:6px;color:#007ca6;font-size:13px;font-weight:800;line-height:1.4;vertical-align:middle;letter-spacing:.01em}.gd-portal .studio-city svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.gd-portal .directory-list .studio-city{font-size:14px}.gd-portal .directory-list .card-meta{margin-bottom:7px}
.gd-portal .google-rating-badge{display:inline-flex;align-items:center;gap:5px;flex-wrap:nowrap;color:#274654;font-size:12px;line-height:1.4;text-decoration:none;padding:5px 8px;border:1px solid #e4ebee;border-radius:9px;background:#fff;vertical-align:middle}.gd-portal .google-rating-badge strong{font-size:13px;font-weight:800}.gd-portal .google-rating-badge small{font-size:11px;color:#6c818b}.gd-portal .google-rating-source{font-size:11px;font-weight:650;color:#526873;margin-left:3px}.gd-portal .google-rating-stars{position:relative;display:inline-block;font-size:14px;line-height:1;letter-spacing:1px;color:#dae1e4;white-space:nowrap}.gd-portal .google-rating-stars i{position:absolute;left:0;top:0;overflow:hidden;color:#e8a318;font-style:normal;white-space:nowrap}.gd-portal .card-trust{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gd-portal .google-profile-rating{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:16px 0}.gd-portal .google-profile-rating>small{font-size:11px;color:#6c818b}.gd-portal .google-review-author{justify-content:space-between}.gd-portal .google-review-stars{color:#e8a318}.gd-portal .google-rating-badge:hover{border-color:#cbdde5;background:#f9fcfd}
