.profile-page{max-width:820px;padding-bottom:32px}.profile-page>.assessment-deeper{padding:0;border:0;background:transparent}.profile-page h1{font-size:26px;margin:0 0 12px}.profile-page .profile-summary{grid-template-columns:64px minmax(0,1fr);gap:12px;padding:16px;margin:0 0 18px;border-color:var(--line)}.profile-page .profile-summary-avatar,.profile-page .profile-summary-placeholder{width:64px;height:64px}.profile-page .profile-summary-body{display:contents}.profile-page .profile-summary-name,.profile-page .profile-summary-personal{grid-column:2;margin:0}.profile-page .profile-summary-name{align-self:end;font-size:21px}.profile-page .profile-summary>div:first-child{grid-row:1/3}.profile-page .profile-summary-stats,.profile-page .profile-social-placeholders{grid-column:1/-1}.profile-page .profile-summary-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:6px}.profile-page .profile-summary-stats>div{background:#f3f7f4;border-radius:10px;padding:9px 7px}.profile-page .profile-summary-stats dt{font-size:12px;line-height:1.4}.profile-page .profile-summary-stats dd{font-size:20px;margin:5px 0 0}.profile-page .profile-social-placeholders{margin-top:0;gap:7px}.profile-page .profile-social-placeholders button{min-height:40px;padding:8px 12px}.profile-page .profile-summary-note:empty{display:none}.profile-page .profile-summary-note{margin:0 0 12px}.profile-organized{margin-top:0;gap:12px}.profile-editor-section{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;min-width:0}.profile-page .profile-section-title{font-size:18px;line-height:1.3;margin:0 0 12px;font-weight:750}.profile-page .profile-section-body{margin-top:0}.profile-page .profile-section-hint{font-size:13px;line-height:1.5;margin:0 0 12px}.profile-editor-section>.profile-field-container{margin:12px 0}.profile-editor-section>.profile-location-fields{margin:12px 0}.profile-page .profile-field-container input,.profile-page .profile-field-container select{min-height:44px}.profile-page .profile-privacy-control{gap:3px}.profile-page .profile-privacy-control select{min-height:36px;font-size:12px;background:#f7f9f7}.profile-page .profile-secondary-tools{font-size:13px;margin:10px 0;color:var(--muted)}.profile-page .profile-secondary-tools summary{cursor:pointer;font-size:13px;font-weight:500}.profile-page .profile-secondary-tools p{font-size:12px;margin:8px 0;line-height:1.5}.profile-page .profile-field-container[data-profile-field=nickname]>.profile-secondary-tools{grid-column:1/-1;margin:5px 0 0}.profile-default-location{padding:8px 12px;font-size:13px;margin-top:6px}.profile-page .profile-editor-section>fieldset{margin:12px 0;border:0;padding:0}.profile-page .profile-editor-section>fieldset legend{font-size:15px;margin-bottom:10px;padding:0}.profile-page .profile-editor-section>fieldset:has([name=min]){display:grid;grid-template-columns:1fr 1fr;gap:10px}.profile-page .profile-editor-section>fieldset:has([name=min]) label{display:grid;gap:5px;font-size:13px}.profile-page .profile-editor-section .profile-section-body fieldset{padding:12px;gap:8px}.profile-page .profile-save-bar{position:sticky;bottom:0;z-index:5;background:#f5f8f5ee;backdrop-filter:blur(10px);border-top:1px solid var(--line);padding:10px 0 calc(10px + env(safe-area-inset-bottom));display:grid;gap:6px}.profile-page .profile-save-bar .primary-btn{width:100%;min-height:46px;padding:12px}.profile-page .profile-save-bar .form-message{font-size:13px;line-height:1.4;margin:0}.profile-page .profile-storage-tools{margin:0 4px}.profile-page .profile-storage-tools .ghost-btn{font-size:12px;padding:8px 12px}.profile-page .profile-organized>p:not([role]){display:none}.profile-page .profile-field-container,.profile-page .profile-section-body{overflow-wrap:anywhere}.profile-page .profile-summary-stats dt a{display:inline-block}.profile-page .profile-section-body .profile-avatar-editor{padding:10px;background:#f7f9f6;border-radius:12px}.profile-page .profile-avatar-editor input[type=file]{width:100%;font-size:13px}.profile-page .week-table{min-width:0}.profile-page .week-table th,.profile-page .week-table td{font-size:12px}.profile-page .week-table td label{min-height:40px}.profile-page .week-quick{gap:6px}.profile-page .week-quick .ghost-btn{min-height:36px;padding:7px 10px}.profile-page .profile-editor-section .profile-field-container[data-profile-field=phone],.profile-page .profile-editor-section .profile-field-container[data-profile-field=paymentMethod]{grid-column:1/-1}@media(max-width:600px){.profile-page{padding:12px 12px 24px}.profile-editor-section{padding:14px 12px}.profile-page .profile-preferences .profile-location-fields{grid-template-columns:1fr 1fr}.profile-page .profile-location-fields>div:first-child{grid-column:1/-1}.profile-page .profile-summary-stats dd{font-size:18px}.profile-page .profile-summary-stats dt{font-size:11px}.profile-page .profile-section-body{gap:12px 10px}}@media(max-width:350px){.profile-page .profile-summary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-page .profile-preferences .profile-location-fields{grid-template-columns:1fr}}

.profile-page .profile-summary-stats dd{white-space:nowrap;font-size:clamp(16px,4.5vw,20px)}

.profile-page .profile-default-location{font-size:15px}
/* Skill on the left; its supporting indicators in three rows on the right. */
.profile-page .profile-summary-stats{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);grid-template-rows:repeat(3,minmax(62px,auto));grid-template-areas:"rating reliability" "rating self" "rating trust";gap:8px}
.profile-page .profile-summary-stats>div{min-width:0;padding:10px 12px}
.profile-page .profile-summary-stats>div:has([data-rating-stat="0"]){grid-area:rating;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#e7f1e8;padding:18px 8px}
.profile-page .profile-summary-stats>div:has([data-rating-stat="2"]){grid-area:reliability}
.profile-page .profile-summary-stats>div:has([data-rating-stat="1"]){grid-area:self}
.profile-page .profile-summary-stats>div:has([data-rating-stat="3"]){grid-area:trust}
.profile-page .profile-summary-stats dt{font-size:12px;font-weight:600;line-height:1.4}
.profile-page .profile-summary-stats dd{margin:3px 0 0;font-size:23px;line-height:1.15;white-space:normal;overflow-wrap:anywhere}
.profile-page .profile-summary-stats>div:has([data-rating-stat="0"]) dt{font-size:15px;font-weight:750}
.profile-page .profile-summary-stats [data-rating-stat="0"]{font-size:clamp(34px,10vw,60px);font-weight:850;line-height:1.08;letter-spacing:-1.2px;margin:0;max-width:100%;text-align:center}
@media(max-width:600px){.profile-page .profile-summary-stats [data-rating-stat="0"]{font-size:clamp(30px,9.5vw,46px)}.profile-page .profile-summary-stats>div{padding:9px 10px}}/* Identity column beside the complete rating panel. */
.profile-page .profile-summary{grid-template-columns:clamp(64px,20vw,96px) minmax(0,1fr);gap:8px 10px;align-items:start}
.profile-page .profile-summary>div:first-child{grid-column:1;grid-row:1;justify-self:center}
.profile-page .profile-summary-avatar,.profile-page .profile-summary-placeholder{width:clamp(64px,20vw,96px);height:clamp(64px,20vw,96px)}
.profile-page .profile-summary-name{grid-column:1;grid-row:2;align-self:start;justify-self:center;text-align:center;font-size:16px;line-height:1.25;overflow-wrap:anywhere;max-width:100%}
.profile-page .profile-summary-personal{grid-column:1;grid-row:3;justify-self:center;text-align:center;font-size:12px;line-height:1.4;overflow-wrap:anywhere;max-width:100%}
.profile-page .profile-summary-stats{grid-column:2;grid-row:1/4;align-self:stretch;margin:0;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:repeat(3,minmax(48px,auto));gap:6px}
.profile-page .profile-summary-stats>div{padding:7px 6px}
.profile-page .profile-summary-stats>div:has([data-rating-stat="0"]){padding:12px 4px;gap:10px}
.profile-page .profile-summary-stats>div:has([data-rating-stat="0"]) dt{font-size:12px}
.profile-page .profile-summary-stats [data-rating-stat="0"]{font-size:clamp(20px,6.5vw,36px);letter-spacing:-1px}
.profile-page .profile-summary-stats dt{font-size:11px}
.profile-page .profile-summary-stats dd{font-size:18px}
.profile-page .profile-social-placeholders{grid-column:1/-1;grid-row:4;margin-top:4px}
@media(max-width:350px){.profile-page .profile-summary{padding:12px;column-gap:8px}.profile-page .profile-summary-name{font-size:14px}.profile-page .profile-summary-personal{font-size:11px}.profile-page .profile-summary-stats dt{font-size:10px}}
/* Nickname above avatar, with social shortcuts below personal details. */
.profile-page .profile-summary-name{grid-row:1}
.profile-page .profile-summary>div:first-child{grid-row:2}
.profile-page .profile-summary-personal{grid-row:3}
.profile-page .profile-summary-stats{grid-row:1/5}
.profile-page .profile-social-placeholders{grid-column:1;grid-row:4;display:grid;grid-template-columns:1fr;gap:5px;margin:0;align-self:start;width:100%}
.profile-page .profile-social-placeholders button{font-size:11px;padding:7px 2px;min-height:34px;border-radius:8px;white-space:normal;overflow-wrap:anywhere}
.profile-page .profile-location-actions{display:flex;align-items:center;gap:8px;margin-top:12px;flex-wrap:wrap}
.profile-page .profile-location-actions .week-quick{margin:0;display:contents}
.profile-page .profile-location-actions .profile-default-location{margin:0;font-size:15px}
.profile-page .profile-location-actions button{min-height:44px;padding:9px 10px}
.profile-page .profile-location-actions{flex-wrap:nowrap}
.profile-page .profile-location-actions button{flex:1 1 0;min-width:0;font-size:clamp(12px,3.3vw,15px);padding:9px 6px}
.profile-page .profile-location-actions .profile-default-location{flex:1.6 1 0;font-size:clamp(12px,3.3vw,15px)}

/* Reliability centered beneath Z, with a small evidence-percentage ring. */
.profile-page .profile-summary-stats{grid-template-rows:minmax(90px,1fr) minmax(100px,auto);grid-template-areas:"rating self" "reliability trust";row-gap:0}
.profile-page .profile-summary-stats>div:has([data-rating-stat="0"]){container-type:inline-size;border-radius:10px 10px 0 0;padding:12px 4px 4px;gap:10px}
.profile-page .profile-summary-stats>div:has([data-rating-stat="0"]) dt{font-size:14px}
.profile-page .profile-summary-stats [data-rating-stat="0"]{font-size:clamp(20px,var(--z-score-font,28cqi),40px);letter-spacing:-1.2px;white-space:nowrap;overflow-wrap:normal}
.profile-page .profile-summary-stats>div:has([data-rating-stat="2"]){background:#e7f1e8;border-radius:0 0 10px 10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:8px 4px 12px;text-align:center}
.profile-page .profile-summary-stats>div:has([data-rating-stat="1"]){margin-bottom:6px;display:flex;flex-direction:column;justify-content:center}
.profile-page .profile-summary-stats>div:has([data-rating-stat="3"]){display:flex;flex-direction:column;justify-content:center}
.profile-page .profile-summary-stats .profile-reliability-ring{position:relative;isolation:isolate;width:48px;height:48px;flex:none;margin:0;display:grid;place-items:center;border-radius:50%;background:conic-gradient(#5ca51c var(--reliability-progress,0%),#cbdccc 0);font-size:12px;font-weight:750;line-height:1}
.profile-page .profile-summary-stats .profile-reliability-ring::before{content:"";position:absolute;inset:4px;border-radius:50%;background:#e7f1e8;z-index:-1}

.profile-page .profile-summary-stats [data-rating-stat="0"]:not(.profile-z-numeric){font-size:14px;white-space:normal;overflow-wrap:anywhere;letter-spacing:0}

.profile-page .profile-z-description{font-size:11px;font-weight:600;line-height:1.3;text-align:center;max-width:100%;overflow-wrap:anywhere}.profile-page .profile-z-description[hidden]{display:none}

/* Password action beneath the editable nickname; retained court fields stay hidden. */
.profile-page .profile-password-row{grid-column:1/-1;margin:4px 0 0;min-width:0}.profile-page .profile-password-row .ghost-btn{font-size:13px;font-weight:750;padding:6px 0;min-height:32px;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px}.profile-page .profile-password-row .form-message{font-size:13px;line-height:1.4;margin:6px 0 0}.profile-page .profile-editor-section[hidden]{display:none}


.profile-page .profile-summary-stats>div:has([data-rating-stat="3"]){align-items:center;gap:6px;text-align:center}.profile-page .profile-summary-stats .profile-trust-ring::before{background:#f3f7f4}.profile-playing-city{margin:14px 0 18px}.profile-page .profile-preference-title{font-size:15px;font-weight:650;margin:0 0 10px}.profile-playing-city .profile-location-fields{margin:0}

/* Compact name row, with password action aligned right on the following row. */
.profile-page .profile-field-container[data-profile-field=nickname]{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.profile-page .profile-field-container[data-profile-field=nickname]>.profile-extra-field{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0;font-weight:650}
.profile-page .profile-field-container[data-profile-field=nickname] input{width:clamp(100px,35vw,180px);max-width:100%;min-width:0;flex:1 1 100px}
.profile-page .profile-field-container[data-profile-field=nickname]>.ghost-btn{margin:0;min-height:40px}
.profile-page .profile-password-row{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:8px;margin:0}
.profile-page .profile-password-row .profile-password-button{border:1px solid var(--line);background:#f3f7f4;text-decoration:none;border-radius:10px;padding:8px 12px;min-height:40px;font-weight:750}
.profile-page .profile-password-row .form-message{flex-basis:100%}
.profile-page .profile-avatar-editor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}
.profile-page .profile-avatar-editor>.profile-extra-field{grid-column:1;grid-row:1;min-width:0;max-width:250px}
.profile-page .profile-avatar-editor input[type=file]{width:100%;min-width:0;font-size:12px}
.profile-page .profile-avatar-editor>.primary-btn{grid-column:2;grid-row:1;white-space:nowrap;min-height:40px}
.profile-page .profile-avatar-editor>.profile-avatar{grid-column:1;grid-row:2;width:36px;height:36px}
.profile-page .profile-avatar-editor>.ghost-btn{grid-column:2;grid-row:2}
.profile-page .profile-avatar-editor>p{grid-column:1/-1}
.profile-page .profile-avatar-editor>p:empty{display:none}

.profile-page .profile-field-container[data-profile-field=nickname]>p:empty{display:none}

.profile-page .profile-field-container[data-profile-field=nickname]{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.profile-page .profile-field-container[data-profile-field=nickname]>.profile-extra-field{flex:1 1 100px;max-width:230px}
.profile-page .profile-field-container[data-profile-field=nickname] input{flex:1 1 100px;max-width:180px;height:44px}
.profile-page .profile-field-container[data-profile-field=nickname]>.ghost-btn{flex:0 0 auto}
.profile-page .profile-field-container[data-profile-field=nickname]>p,.profile-page .profile-field-container[data-profile-field=nickname]>.profile-password-row{flex-basis:100%;width:100%}
.profile-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px}.profile-editor-heading .profile-section-title{margin:0}.profile-editor-heading .profile-password-row{display:contents}.profile-editor-heading .profile-password-button{margin-left:auto;padding:7px 10px;font-size:12px;white-space:nowrap}.profile-editor-heading .form-message{flex-basis:100%;margin:0}.profile-editor-heading .form-message[hidden]{display:none}

/* Contact values and visibility share one compact mobile row. */
.profile-page .profile-contact-inline{display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,0.65fr);gap:10px;align-items:end}.profile-page .profile-contact-inline>label{min-width:0;margin:0}.profile-page .profile-contact-inline input,.profile-page .profile-contact-inline select{width:100%;min-width:0;box-sizing:border-box;min-height:44px}.profile-page .profile-online-visibility{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-end;gap:10px}.profile-page .profile-online-visibility select{width:150px;max-width:65%;min-height:44px}

.profile-page .week-time-shortcuts{flex-wrap:nowrap;gap:4px}.profile-page .week-time-shortcuts .ghost-btn{font-size:clamp(10px,2.8vw,13px);padding:8px 3px;min-height:40px}

/* Short profile labels share a row with their controls. */
.profile-page .profile-field-container[data-profile-field=intro]>.profile-extra-field,.profile-page .profile-field-container[data-profile-field=travel]>.profile-extra-field{display:flex;flex-direction:row;align-items:center;gap:10px;min-width:0}.profile-page .profile-field-container[data-profile-field=intro] input,.profile-page .profile-field-container[data-profile-field=travel] select{flex:1 1 0;width:0;min-width:0}.profile-page .profile-playing-goals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 10px}.profile-page .profile-playing-goals>label{display:flex;align-items:center;gap:6px;min-width:0;margin:0;font-size:13px}.profile-page .profile-playing-goals input{flex:none}.profile-page .profile-playing-goals span{min-width:0}

/* Keep the linked country, province and town controls on one mobile row. */
.profile-page .profile-preferences .profile-playing-city .profile-location-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;align-items:start}.profile-page .profile-playing-city .profile-location-fields>label{min-width:0;font-size:12px;line-height:1.3;grid-template-rows:32px 48px auto;gap:4px!important;margin-bottom:0!important}.profile-page .profile-playing-city .profile-location-fields select{min-width:0;max-width:100%;padding:8px 4px!important;box-sizing:border-box;text-overflow:ellipsis}.profile-page .profile-playing-city .profile-location-fields input{width:100%;min-width:0;box-sizing:border-box;font-size:16px;padding:8px 4px}

/* Preferred levels and both limits fit on one row. */
.profile-page .profile-editor-section>fieldset.profile-preferred-levels{display:flex;align-items:center;gap:6px;min-width:0}.profile-page .profile-preferred-levels legend{float:left;flex:0 0 auto;font-size:13px;margin:0;padding:0;max-width:30%;line-height:1.3}.profile-page .profile-editor-section>fieldset.profile-preferred-levels label{display:block;flex:1 1 0;width:0;min-width:0;font-size:0}.profile-page .profile-preferred-levels select{width:100%;min-width:0;max-width:100%;min-height:44px;font-size:14px;padding:8px 3px;border-radius:10px}
.profile-page .profile-preferred-levels legend{max-width:none;white-space:nowrap;font-size:12px}

/* Explicit From/To labels beside compact Z-only selectors. */
.profile-page .profile-preferred-levels legend{white-space:normal;font-size:13px;line-height:1.25;flex:1 1 auto}.profile-page .profile-editor-section>fieldset.profile-preferred-levels label{display:flex;align-items:center;gap:5px;flex:0 0 auto;width:auto;font-size:13px;white-space:nowrap}.profile-page .profile-preferred-levels select{width:64px;flex:none;padding:8px 4px;font-size:16px}

.profile-page .profile-field-container[data-profile-field=dupr]{grid-column:1/-1}.profile-page .profile-contact-inline>.profile-online-visibility{grid-column:auto;display:grid;gap:4px;justify-content:stretch;margin:0}.profile-page .profile-contact-inline>.profile-online-visibility select{width:100%;max-width:none}

/* One compact row of personal shortcuts, including a round Settings control. */
.profile-page .profile-social-placeholders{grid-column:1/-1;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;gap:8px;width:100%}
.profile-page .profile-social-placeholders button{font-size:13px;min-height:44px;padding:8px 12px;white-space:nowrap;border-radius:22px;flex:0 1 auto}
.profile-page .profile-social-placeholders .settings-gear{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:44px;height:44px;flex:0 0 44px;margin:0;border:1px solid var(--line,#d7dfda);border-radius:50%;color:#075438;background:#fff}
.profile-page .profile-social-placeholders .settings-gear svg{width:25px;height:25px}
.profile-page .profile-z-mark{display:inline-block;position:relative;height:.73em;height:1cap;width:1.42em;width:1.42cap;vertical-align:baseline;margin-right:.03em;line-height:1;letter-spacing:0}
.profile-page .profile-z-mark svg{display:block;width:100%;height:100%;overflow:hidden}
.profile-page .profile-z-letter{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.profile-page .profile-social-placeholders{flex-wrap:wrap}
.profile-page .profile-social-placeholders .profile-share-button{flex:0 1 auto;min-height:44px}

.profile-page .profile-points-stat{display:flex;align-items:center;justify-content:center;gap:6px;font-size:13px;color:#075438;text-decoration:none;min-height:44px;max-width:100%;flex-wrap:wrap}.profile-page .profile-points-stat strong{font-size:18px;overflow-wrap:anywhere}
@media(max-width:430px){.profile-page .profile-social-placeholders{gap:5px}.profile-page .profile-social-placeholders button{padding:8px;font-size:12px}}

/* Personal shortcuts: Settings, Messages, Friends, Share. */
.profile-page .profile-social-placeholders{flex-wrap:nowrap;gap:8px}
.profile-page .profile-social-placeholders .profile-shortcut-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:9px;border:1px solid var(--line,#d7dfda);border-radius:50%;background:#fff;color:#075438}
.profile-page .profile-shortcut-icon svg{width:24px;height:24px;flex:none}
.profile-page .profile-shortcut-icon .social-notification-dot{position:absolute;top:3px;right:3px;margin:0}
.profile-page .profile-shortcut-icon:focus-visible{outline:2px solid #075438;outline-offset:3px}
