/* Purchase and profile hierarchy, shared across screens. */
.compact-cost{margin:18px 0 10px;padding:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:none}
.compact-cost>summary{min-height:52px;padding:12px 0;display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;list-style:none;font-size:.875rem}
.compact-cost>summary::-webkit-details-marker{display:none}
.compact-cost>summary>strong{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:.9375rem}
.compact-cost>div{padding:0 0 16px}.compact-cost>div p{display:flex;justify-content:space-between;gap:16px;margin:8px 0}.compact-cost small{display:block;line-height:1.6;margin-top:12px}
.compact-cost[open]>summary svg,.receiving-disclosure[open]>summary>svg:last-child,.wishlist-filter-disclosure[open]>summary svg{transform:rotate(180deg)}
.purchase-actions{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:end;margin:16px 0}
.purchase-actions .quantity-field{margin:0}.purchase-actions .gift-button{margin:0;min-height:48px;white-space:normal;text-align:center;padding:11px 16px}
.purchase-actions .quantity-field>label{font-size:.875rem;margin-bottom:7px}.purchase-actions .quantity-stepper{height:48px}
.product-info .gift-availability-note{border:0;padding:0;margin:8px 0 14px;font-size:.875rem}
.product-info .product-wishlist-action{padding:8px 0 14px}.product-info .product-wishlist-action>span{display:none}
.product-info>.info-accordion{margin:0}.product-info .recipient-panel{margin:18px 0;padding:14px 16px}.product-info .recipient-panel p{margin:8px 0 0}
.personal-cover{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px 28px;padding:28px 30px}
.personal-cover .person-main{grid-column:1;grid-row:1}.personal-cover .profile-description{grid-column:1;grid-row:2;max-width:680px}
.personal-cover .profile-description>p:first-child{margin:0 0 8px;font-size:1.125rem;line-height:1.55;color:var(--ink)}
.personal-cover .profile-description>span{font-size:.875rem}.personal-cover .person-actions{grid-column:2;grid-row:1/3;align-self:center}
.profile-context{display:flex;align-items:flex-start;gap:24px;padding:12px 0;border-bottom:1px solid var(--line)}
.receiving-disclosure{background:transparent;padding:0;border:0;flex:1;min-width:0}.receiving-disclosure>summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;cursor:pointer;font-size:.875rem}
.receiving-disclosure>summary::-webkit-details-marker{display:none}.receiving-disclosure>summary svg{flex-shrink:0}.receiving-disclosure>div{max-width:650px;padding-bottom:12px}.receiving-disclosure p{font-size:.875rem;line-height:1.6;margin:6px 0}
.profile-context .profile-identity-note{flex:1;min-width:0;margin:0;padding:0;border:0}.profile-context .profile-identity-note summary{min-height:44px;display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer}.profile-context .profile-identity-note summary::-webkit-details-marker{display:none}
.profile-context .profile-identity-note p{font-size:.875rem;line-height:1.6}
.network-profile .profile-wishlist-heading{border:0;padding:24px 0 14px}.wishlist-confidence{display:block;margin-top:6px;font-size:.8125rem;color:var(--muted)}
.wishlist-filter-disclosure{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:0 0 20px}
.wishlist-filter-disclosure>summary{min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:.875rem;cursor:pointer;list-style:none}.wishlist-filter-disclosure>summary::-webkit-details-marker{display:none}.wishlist-filter-disclosure .wishlist-tools{margin:0 0 14px}
.footer-group>summary{font-weight:600;font-size:.9375rem;list-style:none;margin-bottom:12px;pointer-events:none}.footer-group>summary::-webkit-details-marker{display:none}
#footer .footer-group a,#footer .footer-group button{display:block;font-size:.875rem;line-height:1.5;min-height:36px;padding:7px 0;color:#655760;text-align:left;background:none;border:0}
.footer-group p{font-size:.875rem;line-height:1.6;color:#655760;margin-top:20px}
@media(max-width:760px){
 html{scroll-padding-top:16px}body{overscroll-behavior-y:none}
 .shell{width:calc(100% - 32px)}
 .main-header{min-height:0;padding:12px 0;gap:10px}.main-header .logo .wordmark{font-size:2.5rem}.header-actions{gap:16px}.header-action{min-width:44px;min-height:44px}.main-header .search{height:48px;max-width:none}.main-header .search input{font-size:1rem}.main-header .search>button{min-width:44px;min-height:44px}
 .navigation{min-height:48px;gap:4px 12px;flex-wrap:wrap}.navigation>a{font-size:.875rem;min-height:44px}
 .breadcrumbs{padding:12px 0;line-height:1.5;flex-wrap:wrap}.breadcrumbs a{display:inline-flex;align-items:center;min-height:32px}
 .page-heading,.network-page-heading,.finder-heading{padding-top:20px;padding-bottom:18px}.page-heading h1,.network-page-heading h1,.finder-heading h1{font-size:1.875rem;line-height:1.18}
 /* Do not trigger iOS field zoom; labels stay readable and controls have room to tap. */
 input:not([type=checkbox]):not([type=radio]),select,textarea,
 .sort-label select,.wishlist-tools select,.directory-controls select,.my-wish-item select,.brand-shop-controls select{font-size:1rem;min-height:44px}
 .field{font-size:.875rem}.field input,.field select,.field textarea{min-height:48px}.field textarea{min-height:100px}
 .check-inline,.network-radio,.filter-option,.interest-checks label{min-height:44px}.interest-checks input,.check-inline input,.network-radio input{flex-shrink:0}
 .button,.variant-options .variant{min-height:48px}.text-button{min-height:44px}.alphabet button{min-width:40px;min-height:44px}
 .people-page .network-page-heading{padding-top:20px}.people-page .people-search{margin-bottom:12px}
 .people-page .people-tabs{gap:0;justify-content:space-between}.people-page .people-tabs a{font-size:.875rem;padding:10px 4px;white-space:normal}
 .people-grid{gap:0;border-top:1px solid var(--line)}.people-grid .person-card{padding:16px 0 10px;border:0;border-bottom:1px solid var(--line);border-radius:0}
 .person-card .person-card-top{gap:12px}.person-card .person-card-top .avatar{height:48px;width:48px}.person-card h2{font-size:1.125rem}.person-card .person-handle{font-size:.875rem}
 .person-card .person-type{display:none}.person-card .person-wish-link{display:none}.person-card>p{font-size:.875rem;margin:8px 0!important;line-height:1.5}
 .people-grid .person-card-bottom{border:0;padding:0;margin:0;gap:8px}.person-card-bottom>span{font-size:.8125rem}.person-card-bottom .text-button{font-size:.875rem}
 .person-card-top .icon-btn{margin:-2px 0 0 auto}
 .people-result-summary{gap:4px;margin:12px 0}.people-identity-help summary{min-height:44px;display:flex;align-items:center}
 .not-on-tofa{padding:20px;margin:24px 0}.not-on-tofa .button{margin-top:12px}
 .personal-cover{display:flex;flex-direction:column;align-items:stretch;padding:20px;gap:16px;border-radius:6px}
 .personal-cover .person-main{gap:14px}.personal-cover .person-main>.avatar{width:60px;height:60px}.personal-cover .person-main h1{font-size:1.75rem;margin:4px 0}.personal-cover .person-main .person-type{font-size:.75rem}
 .personal-cover .profile-description>p:first-child{font-size:1rem;line-height:1.55;margin:0 0 6px}.personal-cover .profile-description>span{font-size:.8125rem}
 .personal-cover .person-actions{width:100%;gap:8px;display:flex;align-self:stretch}.personal-cover .person-actions .button{font-size:.875rem;padding:10px 12px;min-height:44px;flex:0 1 auto}.personal-cover .person-actions .button.primary{flex:1}
 .profile-context{display:block;padding:6px 0}.profile-context details{margin:0;border:0;padding:0}.profile-context summary{font-size:.875rem;min-height:44px}.profile-context .profile-identity-note summary{font-size:.875rem}
 .network-profile .profile-wishlist-heading{padding:20px 0 14px}.profile-wishlist-heading h2{font-size:1.5rem;margin-bottom:6px}.profile-wishlist-heading p{font-size:.9375rem}.profile-wishlist-heading .button{margin-top:12px;min-height:44px;padding:8px 12px;background:none}
 .wishlist-filter-disclosure{margin-bottom:16px}.wishlist-filter-disclosure .wishlist-tools{padding:12px}.wishlist-tools .inline-search{min-width:0}.wishlist-tools>label{white-space:normal}.wishlist-tools select{max-width:100%;min-width:0}
 .product-layout{gap:20px}.product-gallery .main-product-image{height:270px;padding:24px}.product-info h1{font-size:1.625rem;line-height:1.2;margin:8px 0}.product-info>.muted{font-size:.875rem;margin:8px 0}.detail-price{margin:12px 0 18px;font-size:1.5rem}.detail-price>span{font-size:.75rem}
 .variant-title{margin:16px 0 8px;font-size:.9375rem}.variant-options{gap:8px;flex-wrap:wrap}.variant-options .variant{font-size:.9375rem;min-height:44px;padding:10px 14px}
 .compact-cost{margin-top:16px}.compact-cost>summary{font-size:.875rem;min-height:48px;padding:10px 0}.compact-cost small{font-size:.875rem}
 .purchase-actions{gap:10px;margin:14px 0;grid-template-columns:auto minmax(0,1fr)}.purchase-actions .quantity-stepper input{width:38px;min-width:0}.purchase-actions .quantity-stepper button{min-width:40px}.purchase-actions .gift-button{font-size:.875rem;padding:10px;line-height:1.35;min-height:48px}.purchase-actions .gift-button svg{display:none}
 .product-info .recipient-panel{padding:12px;margin:16px 0}.product-info .recipient-panel p{font-size:.875rem}.product-info .recipient-panel .small{font-size:.875rem}
 .product-info .info-accordion summary{min-height:52px}.product-info .product-wishlist-action{margin-bottom:0}.product-info .product-wishlist-action .text-button{font-size:.875rem}
 .product-card .product-name{min-height:0;line-height:1.45}.product-card .product-meta{min-height:0;margin:6px 0 10px}.product-card .product-price{margin-top:10px}
 .results-controls{align-items:center}.results-controls .mobile-filter{min-height:44px}.sort-label{gap:6px}.sort-label select{max-width:170px}
 .checkout-title{padding-bottom:18px}.checkout-form .checkout-block{padding:18px 16px}.checkout-form .checkout-block h2{font-size:1.125rem;line-height:1.4}.checkout-form .form-grid{grid-template-columns:minmax(0,1fr)}
 .checkout-summary-details>summary{min-height:64px;padding:14px 16px}.checkout-summary-content{padding:0 16px 18px}.checkout-review-link{font-size:.875rem}
 .bag-item-detail{min-width:0}.bag-item-detail .quantity-field{margin:10px 0}.bag-item .bag-option{margin:10px 0}.order-summary{padding:20px 16px}.order-row{gap:12px}.order-row .text-button{min-height:44px}
 .setup-columns .checkout-block{padding:20px 16px}.setup-columns{gap:16px}.profile-setup-aside{padding:20px}.profile-setup-aside h2{margin:12px 0}.profile-setup-aside>div{padding-top:16px;margin-top:16px}
 .my-wish-item{align-items:flex-start;gap:10px}.my-wish-item select{width:100%;margin-top:6px}.my-wish-item .icon-btn{flex-shrink:0}.my-tools form{flex-wrap:wrap}.my-tools form select{flex-basis:65%;width:auto}.my-tools form button{flex-shrink:0}
 #dialog{width:calc(100% - 24px);max-width:520px;max-height:calc(100dvh - 24px);padding:16px 20px 24px;overflow:auto;overscroll-behavior:contain;border-radius:12px}
 #dialog .dialog-close{position:sticky;top:0;margin:0 -8px 0 auto;display:grid;place-items:center;background:#fff;z-index:2;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;right:auto}
 #dialog h2{font-size:1.5rem;line-height:1.25;margin:4px 0 16px}#dialog p{font-size:1rem}#dialog .button-row{flex-wrap:wrap}#dialog .button-row .button{font-size:.9375rem;min-height:48px;white-space:normal}
 .recipient-option{padding:12px 0;min-height:64px}.recipient-option>span:not(.avatar){font-size:.9375rem;min-width:0}.recipient-option small{font-size:.8125rem}.recipient-option .recipient-status{font-size:.75rem;max-width:78px;flex-shrink:0}
 #gift-filters{max-height:calc(100dvh - 16px);overscroll-behavior:contain}#toast{bottom:calc(16px + env(safe-area-inset-bottom));font-size:.875rem;line-height:1.5}
 #footer .footer-grid{display:block;padding:24px 0 0}#footer .footer-grid>div:first-child{display:flex;align-items:center;gap:20px;padding-bottom:20px}#footer .footer-grid .logo{margin:0}#footer .footer-grid .wordmark{font-size:2.5rem}#footer .footer-grid p{margin:0;font-size:.875rem}
 .footer-group{border-top:1px solid var(--line)}.footer-group>summary{min-height:52px;display:flex;justify-content:space-between;align-items:center;margin:0;font-size:.9375rem;cursor:pointer;pointer-events:auto}.footer-group>summary:after{content:'+';font-size:1.25rem;font-weight:400}.footer-group[open]>summary:after{content:'−'}
 #footer .footer-group>div{padding-bottom:14px}#footer .footer-group a,#footer .footer-group button{min-height:44px;padding:10px 0;font-size:.875rem}#footer .footer-group p{padding:10px 0}
 #footer .footer-bottom{margin-top:0;padding:16px 0 24px;gap:8px}#footer .receiving-footer{padding:24px 0}
}
@media(max-width:360px){.header-actions{gap:8px}.personal-cover{padding:16px}.personal-cover .person-actions{flex-wrap:wrap}.personal-cover .person-actions .button.primary{flex-basis:100%}.personal-cover .person-actions .button:not(.primary){flex:1}.purchase-actions{grid-template-columns:1fr}.purchase-actions .quantity-field{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.purchase-actions .quantity-field>label{margin:0}.purchase-actions .quantity-field .quantity-error{flex-basis:100%}.people-page .people-tabs{flex-wrap:wrap;justify-content:flex-start;gap:0 16px}.product-gallery .main-product-image{height:240px}}
@container tofa-content (max-width:20em){.purchase-actions{grid-template-columns:1fr}.personal-cover .person-actions{flex-wrap:wrap}.personal-cover .person-actions .button.primary{flex-basis:100%}.profile-context{display:block}.sort-label{flex-wrap:wrap}}
.product-heading>.muted{font-size:.875rem;margin:8px 0;color:var(--muted)}
@media(max-width:760px){
 .product-page .breadcrumbs>span:last-child,.product-page .breadcrumbs>svg:last-of-type{display:none}
 .product-layout{display:flex;flex-direction:column;gap:16px}.product-info{display:contents}.product-heading{order:-1}.product-gallery{order:0}.product-purchase-body{order:1}
 .product-heading .large-brand{margin:0 0 6px}.product-heading h1{font-size:1.625rem;line-height:1.2;margin:0 0 6px}.product-heading>.muted{margin:6px 0}.product-heading .detail-price{margin:8px 0 0;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.product-heading .detail-price>span{margin:0;display:inline;font-size:.75rem}
 .product-gallery .main-product-image{width:100%;height:240px;min-height:0;aspect-ratio:auto;padding:16px}.product-image-open img{padding:16px}.product-purchase-body>.variant-title{margin-top:0}.product-purchase-body .compact-cost{margin:14px 0 8px}.purchase-actions{margin:10px 0 14px}
 .network-profile .profile-wishlist-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:center;padding:18px 0 12px}.profile-wishlist-heading>div{display:contents}.profile-wishlist-heading h2{grid-row:1;grid-column:1;margin:0}.profile-wishlist-heading p{grid-column:1/-1;margin:0}.profile-other-gifts{grid-column:2;grid-row:1;font-size:.875rem;white-space:normal;gap:6px;text-align:right}
 .checkout-form .form-grid,.claim-page .form-grid{grid-template-columns:minmax(0,1fr)!important}
 .product-purchase-body .gift-availability-note{font-size:.875rem;border:0;padding:0;margin:8px 0 14px}
 .product-purchase-body .product-wishlist-action{padding:8px 0 14px}.product-purchase-body .product-wishlist-action>span{display:none}
}
@media(max-width:760px){
 .product-layout>.product-gallery{width:100%;align-self:stretch;min-width:0}.product-layout .main-product-image{width:100%;display:block}.product-layout .product-image-open{width:100%;height:100%}
 .creator-discovery{grid-template-columns:minmax(0,1fr)}.creator-discovery-copy,.creator-discovery-examples,.creator-search-home,.creator-example>div{min-width:0}.creator-search-home input{min-width:0;width:100%}.creator-discovery-copy h2{overflow-wrap:anywhere}.creator-example{grid-template-columns:48px minmax(0,1fr) 18px}
 .person-card-bottom{flex-wrap:wrap}.person-card-bottom .text-button{white-space:normal;max-width:100%;width:auto;flex-shrink:0}
 .profile-context{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px}.profile-context details[open]{grid-column:1/-1}.profile-context summary{line-height:1.45;padding:8px 0}.profile-context summary>svg{flex-shrink:0}.profile-context .profile-identity-note summary{justify-content:space-between}
}
@container tofa-content (max-width:20em){.profile-context{grid-template-columns:minmax(0,1fr)}.person-card-bottom{display:block}.person-card-bottom .text-button{display:inline-flex;width:auto;white-space:normal}.personal-cover .person-actions .button{white-space:normal}}
@media(max-width:760px){.topline .shell>span:only-child{display:inline!important}.product-purchase-body .info-accordion>summary{min-height:56px;padding:16px 0}}
.personal-cover .profile-description>span{color:#655c63}
@media(max-width:760px){.product-card .product-brand{min-height:24px;display:flex;align-items:center}.product-card .product-name{min-height:24px}.wishlist-tools input[type=checkbox]{min-height:20px;height:20px;width:20px}.wishlist-tools .check-inline{min-height:44px}}
