/* AmazingSort reading scale. Keep display type expressive and task text effortless. */
:root{--ui-utility:.875rem;--ui-body:1rem;--type-body:1rem;--type-small:.875rem;--type-control:.9375rem;--type-ink:#143c32;--type-secondary:#385349}
html{font-size:100%;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:var(--type-body);font-weight:400;line-height:1.6}
/* Controls stay distinct from prose, using real locally hosted medium/semibold weights. */
body .button,body .text-link{font-size:var(--type-control);font-weight:500;line-height:1.4}
body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){font-size:1rem;line-height:1.5}
body :is(.auth-card,.contact-form-panel,.payment-content,.business-main,.account-main) :is(label,.field,legend){font-size:var(--type-control);font-weight:500;line-height:1.5}
body :is(.auth-intro,.contact-intro>p:not(.eyebrow),.guide-intro,.guide-story p,.guide-faq p,.legal-content p,.legal-content li){font-size:1.0625rem;line-height:1.75;letter-spacing:normal;max-width:65ch}
body .legal-content :is(h1,h2,h3){font-weight:500}
body .legal-table table{font-size:var(--type-control);line-height:1.6}
body :is(.guide-preview,.guide-fineprint,.contact-note p,.form-help,.field-help,.checkout-trust,.recipient-trust,.business-notice,.group-note-help,#recipient-csv-help,.auth-status,.auth-note){font-size:var(--type-small);line-height:1.65;letter-spacing:normal}
body :is(.guide-preview,.contact-note p,.form-help,.field-help,.checkout-trust,.recipient-trust,.group-note-help,#recipient-csv-help,.auth-note){color:var(--type-secondary)}
body :is(.auth-footer,.contact-footer,.guide-footer,.legal-footer,.account-footer,.legal-links,.footer-links,.footer-directory){font-size:var(--type-small);line-height:1.6}
body :is(.site-footer,.auth-footer,.contact-footer,.guide-footer,.legal-footer,.account-footer) a{font-size:var(--type-small);line-height:1.5}
/* Homepage and gift studio: no tiny body copy or light, cramped selection labels. */
body .hero-copy .intro{font-size:1.0625rem;line-height:1.65;max-width:42ch;color:var(--type-secondary)}
body :is(.hero-copy .hero-note,.collection-caption,.story-copy>p,.section-intro,.business-intro){font-size:1rem;line-height:1.65;letter-spacing:normal}
body .hero-copy .hero-note{font-size:var(--type-small)}
body .group-page .group-campaign-copy .business-intro{font-size:1rem;line-height:1.65}
body #compact-builder :is(.gift-name,.item>span,.label-row>span){font-size:var(--type-control);font-weight:500;line-height:1.5}
body #compact-builder :is(.step-head small,.hint,.basket-caption,.note small,.catalogue-meta .hint){font-size:var(--type-small);line-height:1.55;color:var(--type-secondary)}
body #compact-builder .segments button{font-size:var(--type-small);font-weight:500;line-height:1.4}
body #compact-builder .cp-action-toolbar>button{font-size:var(--type-small);font-weight:500;line-height:1.5}
body #compact-builder .note #cp-note-copy{font-family:var(--serif);font-size:1.5rem;line-height:1.45;letter-spacing:0}
body #compact-builder :is(#cp-mobile-preview,#cp-mobile-next){font-weight:500}
/* Account navigation and task content share a legible utility scale. */
body .account-main .account-caption,body .account-main .account-subtitle{font-size:var(--type-small);line-height:1.65;color:var(--type-secondary)}
body .account-sidebar nav a{font-size:var(--type-control);font-weight:500;line-height:1.5}
body .account-page-heading>p{font-size:1rem;line-height:1.6;color:var(--type-secondary)}
body .account-card p:not(.eyebrow),body .account-recent-row{font-size:1rem;line-height:1.6}
body .account-main :is(.account-setting,.contact-suggestion span){font-size:1rem;line-height:1.6}
body .account-main :is(.contact-suggestion small,.account-settings-links a){font-size:var(--type-small);line-height:1.6}
body .my-cards{--card-muted:var(--type-secondary)}
body .my-cards :is(.my-cards-search,.my-cards-sort){font-size:var(--type-small);font-weight:500;line-height:1.5}
body .my-cards .my-cards-filters button{font-size:var(--type-small);font-weight:500;line-height:1.4;padding-inline:8px}
body .my-cards .my-cards-filters button:first-child{padding-left:0}
body .my-cards .my-cards-sort select{font-size:var(--type-control);font-weight:400}
body .my-cards :is(.my-card-balance,.my-card-from,.my-card-checked,.my-cards-status){font-size:var(--type-small);line-height:1.55}
body .my-cards .my-card-balance strong{font-size:1rem;font-weight:600}
body .account-main .my-card h3{font:600 1rem/1.45 var(--sans)}
body .my-cards .my-card-face-value>span{font-size:.75rem;line-height:1.4;font-weight:500}
body .my-cards .my-card-face-value strong{font-weight:600}
body .my-cards .my-card-test{font-size:.6875rem;line-height:1.4}
body .my-cards-caption{max-width:65ch}
body .account-main .my-cards-caption h3{font:600 1rem/1.5 var(--sans)}
body .my-cards-caption p{font-size:var(--type-small);line-height:1.7;color:var(--type-secondary)}
/* Opened cards are a reading surface, not fine print. Avoid muted legal/instruction text. */
body #my-card-detail{width:min(35rem,100%);font:400 1rem/1.65 var(--sans);--card-muted:var(--type-secondary);color:var(--type-ink);letter-spacing:normal}
body #my-card-detail :is(p,.my-card-terms-copy){font:400 1rem/1.7 var(--sans);color:var(--type-ink);letter-spacing:normal;max-width:65ch}
body #my-card-detail h2{font:500 2rem/1.2 var(--serif);letter-spacing:-.02em}
body #my-card-detail .my-card-information>h3{font:500 1.625rem/1.25 var(--serif);letter-spacing:0}
body #my-card-detail :is(h4,.my-card-personal-note h3,.my-card-detail-about h3){font:600 1rem/1.5 var(--sans);letter-spacing:0;color:var(--type-ink)}
body #my-card-detail :is(.button,.text-link,summary,.my-card-detail-top button){font:500 var(--type-control)/1.5 var(--sans);letter-spacing:0;min-height:44px}
body #my-card-detail .my-card-detail-top>p{font:500 var(--type-small)/1.5 var(--sans);color:var(--type-secondary)}
body #my-card-detail .my-card-facts>div{display:flex;flex-wrap:wrap;gap:6px 20px;font:400 1rem/1.6 var(--sans);padding-block:14px}
body #my-card-detail .my-card-facts dt{flex:1 1 7rem;min-width:0;overflow-wrap:anywhere;font-weight:500;color:var(--type-secondary)}
body #my-card-detail .my-card-facts dd{flex:2 1 12rem;min-width:0;font-weight:500;color:var(--type-ink)}
body #my-card-detail .my-card-balance{font-size:1rem;line-height:1.6;color:var(--type-secondary)}
body #my-card-detail .my-card-balance strong{font-size:1.125rem;font-weight:600;color:var(--type-ink)}
body #my-card-detail .my-card-checked{font-size:var(--type-small);line-height:1.6;color:var(--type-secondary)}
body #my-card-detail .my-card-code{font:500 1.125rem/1.6 ui-monospace,Consolas,monospace;letter-spacing:.02em;white-space:pre-wrap;overflow-wrap:anywhere}
body #my-card-detail .my-card-personal-note blockquote{font:500 1.5rem/1.6 var(--serif);letter-spacing:0;max-width:40ch}
body #my-card-detail .my-card-detail-about p,body #my-card-detail .my-card-notice{font-size:var(--type-small);line-height:1.65;color:var(--type-secondary)}
body #my-card-detail .my-card-face-value>span{font:500 var(--type-small)/1.4 var(--sans)}
body #my-card-detail .my-card-face-value strong{font:600 1.75rem/1.2 var(--sans)}
body #my-card-detail .my-card-open-label{font-size:var(--type-small);font-weight:500}
@media(max-width:800px){body .account-header .wordmark img{width:clamp(110px,28vw,142px);max-width:100%}body .account-header>.button{font-size:var(--type-small);white-space:nowrap}body .account-section-picker{font-size:var(--type-small);font-weight:500;line-height:1.5}}
@media(max-width:600px){body :is(.auth-intro,.contact-intro>p:not(.eyebrow),.guide-intro,.guide-story p,.guide-faq p,.legal-content p,.legal-content li){font-size:1rem;line-height:1.75}body .hero-copy .intro{font-size:1rem}body .my-cards-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,9rem),1fr))}body #my-card-detail{padding-inline:24px}body #compact-builder .note #cp-note-copy{font-size:1.375rem;line-height:1.45}}

/* Utility rows must yield to larger reading preferences instead of widening the page. */
body .account-header{flex-wrap:wrap}
body .account-header>.button{max-width:100%;white-space:normal;overflow-wrap:anywhere}
body .account-header .wordmark{min-width:0;max-width:100%}
body .account-section-picker{flex-wrap:wrap;white-space:normal}
body .account-section-picker select{flex:1 1 10rem;max-width:100%}
body .my-cards :is(.my-cards-search,.my-cards-sort){min-width:0;max-width:100%}
body .account-footer{flex-wrap:wrap;overflow-wrap:anywhere}

@media(max-width:374px){body .account-header{padding-inline:16px;gap:8px}body .account-sidebar{padding-inline:16px}body .account-main{padding:20px 16px 40px}body .account-page-heading{margin-bottom:20px}}

/* The basket leads with the chosen wrapping, then the personal note and gifts. */
body #compact-builder .basket .preview-label{padding:10px 18px 0;gap:8px 16px;align-items:center}
body #compact-builder #cp-wrap-name{font:500 .875rem/1.5 var(--sans);max-width:none;flex:1 1 10rem;min-width:0;overflow-wrap:anywhere}
body #compact-builder #cp-preview{font-size:.875rem;line-height:1.5;flex:none}
body #compact-builder .basket .basket-content{padding-top:8px}
body #compact-builder .basket .note{padding:10px 12px}
body #compact-builder .basket .item{min-height:50px;padding-block:3px;gap:8px}
body #compact-builder .basket .item>span{font:500 .8125rem/1.45 var(--sans);min-width:0;overflow-wrap:anywhere}
body #compact-builder .basket .item :is(select,.remove){min-height:44px}
/* Amounts have a stable utility column; searchable lists are never gift-name flex items. */
body #compact-builder .basket .item>select,body #compact-builder .basket .item>.basket-amount-search{flex:0 0 4.75rem;width:4.75rem;max-width:4.75rem;min-width:0}
body #compact-builder .basket .item>select{font:500 .8125rem/1.4 var(--sans);padding:6px 20px 6px 8px;font-variant-numeric:tabular-nums;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='m1 1 4 4 4-4' fill='none' stroke='%23143c32' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:10px 6px;background-repeat:no-repeat;background-position:right 8px center;text-overflow:clip}
@media(forced-colors:active){body #compact-builder .basket .item>select{appearance:auto;-webkit-appearance:auto;background-image:none;padding-inline:4px}}
body #compact-builder .basket .item>.basket-amount-search{display:inline-flex;align-items:center;overflow-wrap:normal}
body #compact-builder .basket .basket-amount-search input{box-sizing:border-box;width:100%;max-width:none;min-width:0;min-height:44px;margin:0;padding:6px 8px;font:500 .8125rem/1.4 var(--sans);font-variant-numeric:tabular-nums;border:1px solid var(--ui-border);border-radius:6px;background:var(--ui-paper);color:var(--ui-ink)}
@media(max-width:800px){body #compact-builder .basket .item>span,body #compact-builder .basket .item>select{font-size:.875rem}body #compact-builder .basket .basket-amount-search input{font-size:1rem}}
@media(max-width:380px){body #compact-builder .basket .preview-label{padding-inline:16px}body #compact-builder #cp-preview{font-size:.875rem}}

/* Group gifting: a quieter introduction and one clear task at a time. */
body.group-page{--group-secondary:var(--type-secondary);--group-summary-paper:#143c32;--group-summary-ink:#fff9ef;--group-summary-secondary:#e2e8da;--group-error:#ffe1a6}
body.group-page .group-campaign-copy h1{font-style:normal;color:var(--type-ink);overflow-wrap:break-word;min-width:0;text-wrap:balance}
body.group-page .group-campaign-copy .business-intro{font-size:1rem;line-height:1.65;max-width:52ch}
body.group-page .group-campaign-hero{margin-bottom:16px}
body.group-page .group-campaign-copy h1{margin-bottom:14px}
body.group-page .group-campaign-photo img{height:150px}
body.group-page .group-progress{margin-bottom:28px}
body.group-page .group-progress strong{font-size:.9375rem;line-height:1.4}
body.group-page .group-progress small{font-size:.875rem;line-height:1.5}
body.group-page .business-panel h3{font:600 .9375rem/1.5 var(--sans)}
body.group-page #batch-gifts .group-gift-name,body.group-page .group-gift-value{font:500 1rem/1.5 var(--sans)}
body.group-page .group-gift-value{font-variant-numeric:tabular-nums}
body.group-page .group-opening-name{font-size:.875rem;line-height:1.5}
body.group-page .group-opening-cards{scrollbar-width:thin;scrollbar-color:var(--group-secondary) var(--ui-paper)}
body.group-page :is(.organisation-toggle,.recipient-tool,.recipient-template,.recipient-note-toggle>summary,.recipient-row-tools button){font-size:.875rem;line-height:1.5}
body.group-page #batch-people>p:not(.eyebrow),body.group-page #batch-review>p{font-size:1rem;line-height:1.65;max-width:65ch}
body.group-page #batch-people .batch-opening-preview{font-size:.875rem;line-height:1.6;color:var(--group-secondary)}
body.group-page :is(.recipient-row-feedback,.group-empty){font-size:.875rem;line-height:1.65}
body.group-page .group-summary{background:var(--group-summary-paper);color:var(--group-summary-ink)}
body.group-page .group-totals span,body.group-page .group-feedback,body.group-page .group-delivery{font-size:.875rem;line-height:1.5;color:var(--group-summary-secondary)}
body.group-page .group-totals strong{font-family:var(--sans);font-weight:500;font-variant-numeric:tabular-nums}
body.group-page .group-summary-item,body.group-page #group-summary-details>summary{font-size:.875rem;line-height:1.5}
body.group-page .group-feedback:empty{display:none}
body.group-page .group-feedback.is-error{color:var(--group-error)}
body.group-page .group-progress button:focus-visible,body.group-page .group-opening-card:focus-visible,body.group-page .recipient-row-tools button:focus-visible{outline:3px solid var(--action-primary);outline-offset:3px}
body.group-page .group-opening-card:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:900px){body.group-page .group-summary{padding:14px 18px}body.group-page .group-totals{gap:12px}body.group-page .group-totals strong{font-size:1.375rem;line-height:1.3}body.group-page .group-totals span{font-size:.8125rem}body.group-page #group-summary-details{margin-top:10px}body.group-page .group-progress small{font-size:.8125rem}body.group-page .group-workspace{margin-top:20px}}
@media(max-width:600px){body.group-page .group-campaign-copy h1,body.group-page.group-has-basket .group-campaign-copy h1,html.group-has-basket body.group-page .group-campaign-copy h1{font-size:2.25rem;line-height:1.12;letter-spacing:-.025em}body.group-page .group-campaign-copy .business-intro{margin-bottom:16px}body.group-page .business-main{padding-top:24px}body.group-page .group-progress button{min-height:64px}body.group-page .business-panel h2{font-size:1.75rem;line-height:1.2;margin-bottom:20px}}

@media(max-width:600px){body.group-page .business-header .wordmark img{width:clamp(110px,28vw,142px)}body.group-page .business-header nav{font-size:.8125rem;line-height:1.5}body.group-page .business-header nav a{white-space:nowrap}}

/* A secondary action on forest needs its own contrasting interaction states. */
body #business .business-actions>.button.button-secondary:is(:hover,:focus-visible,:active){background:var(--butter);border-color:var(--butter);color:var(--ink);box-shadow:none}
body #business .business-actions>.button.button-secondary:focus-visible{outline-color:var(--butter)!important;box-shadow:0 0 0 6px var(--ink)!important}

/* One link character: Persimmon ink and a dashed underline attached to the words. */
:root{--link-ink:#a64025;--link-hover:#7f2e19;--link-on-dark:#f4b497;--link-on-dark-hover:#ffd0ba;--link-disabled:#606c64;--link-on-dark-disabled:#b3c5b7}
body :is(.group-summary,.business){--link-ink:var(--link-on-dark);--link-hover:var(--link-on-dark-hover);--link-disabled:var(--link-on-dark-disabled)}
body .text-link,body :is(.legal-content,.guide-story,.guide-faq,.auth-note,.my-cards-caption) a{border-bottom:0;background-image:none;color:var(--link-ink);text-decoration-line:underline;text-decoration-style:dashed;text-decoration-thickness:1px;text-underline-offset:.22em;text-decoration-skip-ink:auto}
body .text-link:hover,body :is(.legal-content,.guide-story,.guide-faq,.auth-note,.my-cards-caption) a:hover{color:var(--link-hover)}
body #my-card-detail .text-link{border-bottom:0;color:var(--link-ink);text-decoration:underline dashed;text-underline-offset:.22em}
body.group-page #batch-edit-gifts,body.group-page .recipient-row-tools button{border-bottom:0;color:var(--link-ink);text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:.22em}
body #compact-builder :is(#cp-preview,#cp-thought,#cp-edit-note,#cp-read-note,#cp-clear,#cp-preset-undo-button){border-bottom:0;color:var(--link-ink);text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:.22em}
body #compact-builder .step-head[aria-expanded=false] .step-action{color:var(--link-ink);text-decoration:underline dashed;text-decoration-thickness:1px;text-underline-offset:.22em}
body #compact-builder .step-head[aria-expanded=false]:is(:hover,:active) .step-action{color:var(--link-hover)}
body .group-summary .text-link{border-bottom:0;color:var(--link-ink);text-decoration:underline dashed;text-underline-offset:.22em}
body .group-summary .text-link:hover,body.group-page #batch-edit-gifts:hover,body.group-page .recipient-row-tools button:hover,body #compact-builder :is(#cp-preview,#cp-thought,#cp-edit-note,#cp-read-note,#cp-clear,#cp-preset-undo-button):hover{color:var(--link-hover)}
body .text-link:is(:disabled,[aria-disabled=true]),body.group-page .recipient-row-tools button:disabled,body #compact-builder :is(#cp-clear,#cp-preset-undo-button):disabled{color:var(--link-disabled);text-decoration:none;cursor:not-allowed}
body .group-summary .text-link:disabled{color:var(--link-disabled);text-decoration:none;opacity:1}
body .group-summary .text-link:focus-visible{outline-color:var(--butter)!important;box-shadow:0 0 0 6px var(--ink)!important}
/* Surface and spacing already group these areas; another rule adds no information. */
body .site-footer .footer-brand,body .site-footer .footer-bottom{border:0}
body .site-footer .footer-bottom nav a{border-right:0}
body .account-main .account-identity{border-bottom:0}
body .account-main .account-card:not(.contact-card){border-top:0}
body #my-card-detail .my-card-facts>div{border-bottom:0;padding-block:10px}

body .account-main .account-card-grid>.account-card{border:0}
body .brand-showcase{border-bottom:0}

body :is(.business,.group-summary) .text-link{border-bottom:0;color:var(--link-ink);text-decoration:underline dashed;text-underline-offset:.22em}
body :is(.business,.group-summary) .text-link:hover{color:var(--link-hover)}
body :is(.business,.group-summary) .text-link:disabled{color:var(--link-disabled);text-decoration:none}

/* A single header shell: cropped approved lockup, consistent scale and page edge. */
:root{--header-logo:156px;--header-row:48px;--header-gutter:6%;--header-pad:16px;--header-gap:20px}
@media screen{
 body>header.site-header:has(>.wordmark){box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--header-gap);width:100%;min-height:calc(var(--header-row) + 2*var(--header-pad));padding:var(--header-pad) var(--header-gutter);border-bottom:0;background:var(--cream)}
 body>header.site-header:has(>.wordmark)>.wordmark{display:flex;align-items:center;flex:0 0 var(--header-logo);width:var(--header-logo);min-width:0;max-width:none;min-height:var(--header-row);margin-block:0}
 body>header.site-header:has(>.wordmark)>.wordmark>img{display:block;width:var(--header-logo);height:auto;max-width:100%;transform:none;object-fit:contain}
 body>header.site-header:has(>.wordmark)>:is(nav,.account-control,.button,.text-link,a:not(.wordmark)){min-height:var(--header-row);align-items:center}
 body>header.site-header:has(>.wordmark)>.account-control{display:flex}
 body>header.site-header:has(>.wordmark)>a:not(.wordmark){display:inline-flex;justify-content:center}
}
@media screen and (max-width:800px){
 :root{--header-logo:clamp(120px,37vw,144px);--header-gutter:7%;--header-pad:8px;--header-gap:12px}
 body>header.site-header:has(>.wordmark)>.button{font-size:.8125rem;padding-inline:10px;white-space:nowrap}
 body>header.site-header.business-header:has(>.wordmark)>nav{order:0;width:auto;gap:12px;flex:0 1 auto}
 body>header.site-header.home-header>.home-mobile-menu>nav{max-height:calc(100dvh - 64px)}
}
@media screen and (max-width:720px){
 body>header.site-header .account-control .account-menu>summary.account-trigger,body>header.site-header .account-control>.account-signin{box-sizing:border-box;width:44px;height:44px;min-height:44px;padding:2px;border:1px solid var(--line);border-radius:50%;background:transparent}
 body>header.site-header .account-control .account-avatar{width:38px;height:38px}
}
@media screen and (max-width:374px){:root{--header-gap:6px}}



/* Opening links inherit the selected wrapping surface, including the light note state. */
body #unwrapping[data-reveal-version="1"]{--link-ink:var(--rw-ink);--link-hover:var(--rw-ink);--link-disabled:var(--rw-ink)}
body #unwrapping[data-reveal-version="1"] .text-link{color:var(--rw-ink)}
body #unwrapping[data-reveal-version="1"] .text-link:is(:hover,:focus-visible){color:var(--rw-ink);opacity:1}

body #unwrapping[data-reveal-version="1"] .inner-gift .claim-button:hover{opacity:1}
