:root{--paper:#fcfaf7;--white:#fff;--ink:#362734;--muted:#71656d;--accent:#b3472e;--accent-hover:#963922;--blush:#f4e7de;--line:#e4ddd8;--green:#41654e;--error:#a6332a;--radius:14px;--shadow:0 12px 40px -16px #211b2333;--ease:cubic-bezier(.22,1,.36,1);--font:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.55 var(--font);-webkit-font-smoothing:antialiased}body:has(dialog[open]){overflow:hidden}::selection{background:#efc8b8;color:var(--ink)}*{scrollbar-color:#c4aaa0 var(--paper);scrollbar-width:thin}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}button,input,textarea,select{font:inherit}button,a,input,select,textarea{outline-offset:4px;accent-color:var(--accent)}:focus-visible{outline:2px solid var(--accent)}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}button[aria-busy=true]{cursor:wait}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;background:var(--ink);color:white;border:1px solid transparent;border-radius:8px;text-decoration:none;font-size:16px;font-weight:600;line-height:1.4;transition:background .16s var(--ease),color .16s var(--ease),border-color .16s var(--ease),transform .16s var(--ease)}button:hover,.button:hover{background:#513d4d}button:active,.button:active{transform:translateY(1px)}button.primary,.button.primary{background:var(--accent);color:var(--white)}button.primary:hover,.button.primary:hover{background:var(--accent-hover)}button.secondary,.button.secondary{background:transparent;color:var(--ink);border-color:var(--line)}button.secondary:hover,.button.secondary:hover{background:#f1eae4}button.quiet,.button.quiet{background:transparent;color:var(--ink);padding:8px 12px}button.quiet:hover{background:#f1eae4}button.danger{color:var(--error);background:#fae9e5}button.small,.button.small{min-height:36px;padding:7px 12px;font-size:15px}button.icon{padding:8px;width:44px;min-height:44px;flex-shrink:0}svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.skip{position:fixed;top:-80px;left:20px;z-index:10;background:var(--ink);color:#fff;padding:12px}.skip:focus{top:10px}header{border-bottom:1px solid var(--line);background:var(--paper)}.header-inner{max-width:1240px;margin:auto;padding:22px 32px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:11px;font-weight:600;text-decoration:none;font-size:17px;line-height:1.15;letter-spacing:-.025em;flex-shrink:0}.brand{min-height:48px}.brand-logo{display:block;width:146px;height:auto;flex:none}nav{margin-left:auto;display:flex;align-items:center;gap:8px}nav a{font-size:16px;text-decoration:none;padding:9px 12px;border-radius:6px}nav a.active{background:var(--blush);font-weight:600}nav a:hover{color:var(--accent)}main{max-width:1176px;margin:auto;min-height:65vh;padding:56px 32px 90px}h1,h2,h3,p{margin:0}h1{font-size:clamp(30px,4.3vw,52px);line-height:1.12;letter-spacing:-.025em;font-weight:600;text-wrap:balance}h2{font-size:28px;line-height:1.2;letter-spacing:-.025em;font-weight:600}h3{font-size:19px;line-height:1.3;font-weight:600;letter-spacing:0}.serif{font-family:Georgia,"Times New Roman",serif;font-weight:400;letter-spacing:-.025em}.muted{color:var(--muted)}.lead{font-size:20px;line-height:1.65;color:var(--muted);max-width:55ch}.stack{display:grid;gap:24px}.stack.small{gap:12px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.between{justify-content:space-between}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:36px}.page-heading p{margin-top:12px;max-width:60ch;color:var(--muted)}.page-heading>div:first-child{min-width:0}.page-heading h1,.list-card h2{overflow-wrap:anywhere}.page-heading .row{flex-shrink:0}.back{display:inline-flex;align-items:center;gap:7px;text-decoration:none;font-size:15px;color:var(--muted);margin-bottom:24px}.back svg{width:16px}.badge{display:inline-flex;align-items:center;gap:6px;background:var(--blush);color:#704c41;border-radius:5px;padding:4px 8px;font-size:14px;font-weight:600;white-space:nowrap}.badge.green{background:#e9efe7;color:var(--green)}.badge.gray{background:#eeeae7;color:#645b61}.subtle{font-size:15px;color:var(--muted)}.notice{background:#f3eee8;border-radius:10px;padding:16px 20px;font-size:16px;line-height:1.6}.notice p+p{margin-top:6px}.notice.success{background:#e9efe7;color:#355b41}.notice.warning{background:#f7ebd9;color:#775526}.notice.error,.form-error{background:#fae9e5;color:var(--error)}.form-error{padding:12px 14px;border-radius:7px;font-size:16px;display:none}.form-error:not(:empty){display:block;scroll-margin-block:24px}.empty{padding:64px 24px;text-align:center;border:1px dashed #cfc2b9;border-radius:var(--radius)}.empty .empty-symbol{margin:0 auto 18px;color:var(--accent);width:42px;height:42px}.empty h2{font-size:25px}.empty p{max-width:45ch;margin:12px auto 24px;color:var(--muted)}.list-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.list-card .card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.list-card h2{font-size:25px;line-height:1.25}.list-card h2 a{text-decoration:none}.list-card:hover{background:#fffdfb}.list-card:focus-within{outline:2px solid var(--accent);outline-offset:4px}.list-card h2 a::after{content:"";position:absolute;inset:0}.list-card .card-bottom{margin-top:auto;padding-top:24px;display:flex;justify-content:space-between;font-size:15px;color:var(--muted)}.list-card .card-bottom svg{color:var(--accent)}.date{font-size:15px;font-variant-numeric:tabular-nums;color:var(--muted)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:36px 0 22px}.section-heading h2{font-size:24px}.gifts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gift{min-width:0;display:flex;flex-direction:column;background:var(--white);border-radius:var(--radius);overflow:hidden;border:1px solid var(--line)}.gift-image{aspect-ratio:1.25;overflow:hidden;background:#f2ede7;position:relative;display:flex;align-items:center;justify-content:center}.gift-image img{width:100%;height:100%;object-fit:cover}.gift-image>svg{width:56px;height:56px;stroke-width:1;color:#c4aaa0}.gift-image .badge{position:absolute;bottom:12px;left:12px}.gift-content{padding:24px;display:flex;flex-direction:column;flex:1}.gift h3{font-size:21px;overflow-wrap:anywhere}.price{font-size:17px;margin-top:8px;font-variant-numeric:tabular-nums;font-weight:600}.gift-comment{font-size:16px;line-height:1.65;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 20px}.gift-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:auto;padding-top:16px}.gift-actions .reserve{width:100%}.gift-actions .store{width:100%;font-size:15px;color:var(--muted)}.gift-owner-actions{border-top:1px solid var(--line);padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:6px}.gift-owner-actions .row{gap:2px}.gift-owner-actions .quiet{font-size:15px}.owner-toolbar{display:flex;gap:8px;flex-wrap:wrap}.share-panel .row{flex-shrink:0}.hero{display:grid;grid-template-columns:1.12fr 1fr;align-items:center;gap:64px;padding:32px 0 80px}.hero h1{font-size:clamp(48px,6vw,78px);line-height:1.02;max-width:12ch}.hero .lead{margin-top:28px;font-size:19px;max-width:42ch}.hero .row{margin-top:32px}.hero small{display:block;color:var(--muted);font-size:15px;margin-top:16px}.example-list{min-width:0;background:var(--white);border-radius:16px;padding:32px;box-shadow:0 8px 24px #211b2310}.example-list .example-note{display:block;color:var(--muted);font-size:14px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.example-list h2{font-size:30px}.example-list>p{font-size:15px;color:var(--muted);margin:8px 0 24px}.example-gift{border-top:1px solid var(--line);padding:20px 0;display:flex;align-items:center;gap:16px}.example-gift:last-of-type{padding-bottom:0}.example-gift>div:not(.swatch){min-width:0}.example-gift:nth-of-type(2) .swatch{background:#e9efe7}.example-gift:nth-of-type(3) .swatch{background:#f4e7de}.example-gift .swatch{width:56px;height:64px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border-radius:7px;background:#f3eee8}.example-gift .swatch svg{width:30px;height:30px;color:#86604e}.example-gift h3{font-size:18px;font-weight:500;overflow-wrap:anywhere}.example-gift p{font-size:15px;color:var(--muted);margin-top:4px}.example-gift .badge{margin-left:auto}.how{display:grid;grid-template-columns:1fr 2fr;gap:64px;border-top:1px solid var(--line);padding-top:40px}.how h2{font-size:32px}.how ol{list-style:none;counter-reset:steps;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:0;padding:0}.how li{counter-increment:steps;font-size:16px;color:var(--muted)}.how li::before{content:counter(steps);display:block;font-family:Georgia,serif;font-size:32px;color:var(--accent);margin-bottom:8px}.how h3{font-size:18px;color:var(--ink);margin-bottom:8px}.privacy-note{display:flex;align-items:flex-start;gap:14px;padding-top:46px;max-width:65ch;font-size:15px;color:var(--muted)}.privacy-note svg{color:var(--green);margin-top:2px}.auth{max-width:480px;margin:22px auto 60px}.auth .form{padding-top:8px}.auth .form>button.primary{min-height:48px}.auth h1{font-size:40px}.auth>p{margin:18px 0 30px;color:var(--muted)}.form{display:grid;gap:20px}.field{display:grid;gap:8px;min-width:0}.field>label,.field-label{font-size:16px;font-weight:600}.field .hint{font-size:14px;color:var(--muted)}input:not([type=checkbox]),textarea,select{width:100%;min-height:48px;border:1px solid #d8ccc4;border-radius:8px;background:var(--white);padding:12px 16px;color:var(--ink);caret-color:var(--accent)}input::placeholder,textarea::placeholder{color:#7d6f6c;opacity:1}input[aria-invalid=true],textarea[aria-invalid=true]{border-color:var(--error)}textarea{resize:vertical;min-height:112px;line-height:1.5}.field-row{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:16px}.check{display:flex;align-items:flex-start;gap:10px;font-size:16px}.check input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.form-actions{display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:8px}.code-input{font-size:25px!important;letter-spacing:.3em;font-variant-numeric:tabular-nums}dialog::backdrop{background:#251b2466}.dialog-header h2{font-size:28px;overflow-wrap:anywhere}.dialog-header button{margin:-8px -8px 0 0}.dialog-copy{font-size:16px;color:var(--muted);margin-bottom:24px;white-space:pre-line}.toast{position:fixed;z-index:20;bottom:max(28px,env(safe-area-inset-bottom));left:50%;transform:translate(-50%,20px);max-width:calc(100% - 32px);background:var(--ink);color:#fff;padding:13px 23px;border-radius:9px;font-size:16px;box-shadow:var(--shadow);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.visible{opacity:1;transform:translate(-50%,0)}.toast.error{background:var(--error)}.loading{padding:100px 20px;text-align:center;color:var(--muted)}.loading-dots{display:inline-block}.profile-columns{display:grid;grid-template-columns:1fr 1fr;gap:64px}.profile-section{padding-top:24px;border-top:1px solid var(--line);margin-bottom:32px}.profile-section h2{font-size:24px;margin-bottom:20px}.profile-section p{font-size:16px;color:var(--muted);margin-bottom:18px}.danger-zone{border-color:#e8c9bf}.management{max-width:720px;margin:auto}.management .gift{display:grid;grid-template-columns:240px 1fr}.management .gift-image{aspect-ratio:1}.management-controls{margin-top:24px;display:flex;flex-wrap:wrap;gap:12px}.secret-link{overflow-wrap:anywhere;font:12px/1.6 ui-monospace,SFMono-Regular,monospace;background:white;border:1px solid var(--line);padding:12px;border-radius:7px;user-select:all}.management .notice{margin-top:24px}.upload{border:1px dashed #cbbdb3;padding:16px;border-radius:9px;background:#fff}.upload input{padding:0;border:0;min-height:30px;font-size:14px}.upload-preview{display:flex;align-items:center;gap:12px;margin-top:12px}.upload-preview img{height:64px;width:64px;object-fit:cover;border-radius:7px}.upload progress{width:100%;accent-color:var(--accent);height:7px}.admin-filters{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:28px}.admin-filters label{font-size:14px}.admin-filters input,.admin-filters select{font-size:15px;min-height:40px;padding:8px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:28px 0 36px}.metric{padding:24px 20px;border-right:1px solid var(--line)}.metric:last-child{border:0}.metric strong{font-size:32px;display:block;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.metric span{font-size:14px;color:var(--muted)}.metric small{display:block;margin-top:4px;color:var(--green);font-size:13px}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px}.report{min-width:0}.report h2{font-size:22px;margin-bottom:18px}.report.full{grid-column:1/-1}.table-scroll{overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:14px;font-variant-numeric:tabular-nums}.data-table th{font-weight:600;text-align:left;color:var(--muted);padding:9px 10px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:11px 10px;border-bottom:1px solid var(--line);max-width:280px;overflow-wrap:anywhere}.data-table th:first-child,.data-table td:first-child{padding-left:0}.chart{display:flex;align-items:flex-end;height:180px;gap:5px;border-bottom:1px solid var(--line);margin-bottom:12px}.chart-col{flex:1;min-width:3px;position:relative;background:var(--accent);border-radius:3px 3px 0 0;opacity:.8;min-height:2px}.chart-col:hover{opacity:1}.chart-labels{display:flex;justify-content:space-between;font-size:13px;color:var(--muted)}.funnel{display:grid;gap:10px}.funnel-step{display:grid;grid-template-columns:160px 1fr 38px;align-items:center;gap:10px;font-size:14px}.event-list{max-height:400px;overflow:auto}.event-row{display:grid;grid-template-columns:180px 1fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}.event-row code{font-size:13px;overflow-wrap:anywhere}footer{border-top:1px solid var(--line)}.footer-inner{max-width:1176px;margin:auto;padding:26px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:14px;color:var(--muted)}.footer-inner .row{gap:20px}.footer-inner button{min-height:30px;font-size:14px;padding:4px 0;color:var(--muted)}.feedback-trigger{font-size:14px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.nowrap{white-space:nowrap}.hidden{display:none!important}
@media(max-width:1050px){.hero{gap:40px}.gifts,.list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-filters{grid-template-columns:repeat(3,1fr)}.how{gap:30px;grid-template-columns:1fr 2.3fr}.page-heading{flex-wrap:wrap}}@media(max-width:700px){.header-inner{padding:18px 20px;gap:12px;flex-wrap:wrap}.brand{font-size:15px;gap:8px}nav{gap:2px}nav a{padding:10px 8px;font-size:15px;min-height:44px;display:inline-flex;align-items:center}nav .nav-account{font-size:0;padding:8px}.nav-account svg{width:20px}main{padding:32px 20px 60px}.page-heading{margin-bottom:26px;gap:20px}.page-heading h1{font-size:34px}.page-heading .row{width:100%}.page-heading .row .button,.page-heading .row button{flex:1}.page-heading p{font-size:16px}.gifts,.list-grid{gap:16px}.gift-content{padding:16px}.gift h3{font-size:18px}.gift-comment{font-size:15px;margin:9px 0 12px}.gift-owner-actions{padding:8px}.gift-owner-actions .quiet{font-size:15px;padding:8px;min-height:44px}.gift-owner-actions .icon{width:44px;min-height:44px}.gift-owner-actions svg{width:16px}.list-card{padding:22px 20px;min-height:200px}.list-card h2{font-size:23px}.list-card .card-top{margin-bottom:20px}.share-panel{display:block;padding:24px}.share-panel .row{margin-top:16px}.hero{display:block;padding:8px 0 48px}.hero h1{font-size:60px;max-width:10ch}.hero .lead{font-size:18px}.example-list{margin:40px 0 0;padding:24px;transform:none}.example-gift .badge{font-size:14px}.how{display:block;padding-top:32px}.how h2{font-size:30px;margin-bottom:26px}.how ol{gap:24px}.how h3{font-size:18px}.how li{font-size:16px}.how li::before{font-size:28px}.privacy-note{padding-top:34px}.auth{margin:10px auto 30px}.auth h1{font-size:36px}.profile-columns{grid-template-columns:1fr;gap:16px}.management .gift{grid-template-columns:140px 1fr}.management .gift-image{height:100%;aspect-ratio:auto;min-height:180px}.management .gift-content{padding:18px}.management-controls>*{flex:1}.admin-grid{grid-template-columns:1fr;gap:30px}.metrics{grid-template-columns:repeat(2,1fr)}.metric{border-bottom:1px solid var(--line);padding:16px}.metric:nth-child(2n){border-right:0}.metric:nth-last-child(-n+2){border-bottom:0}.metric strong{font-size:28px}.admin-filters{grid-template-columns:repeat(2,1fr)}.funnel-step{grid-template-columns:135px 1fr 32px}.footer-inner{padding:24px 20px;align-items:flex-start;flex-direction:column;gap:14px}dialog{padding:24px;max-height:calc(100dvh - 32px)}.dialog-header h2{font-size:24px}.form-actions{flex-wrap:wrap}.form-actions>*{flex:1}.event-row{grid-template-columns:1fr;gap:4px}}@media(max-width:400px){.gifts,.list-grid{grid-template-columns:1fr}.hero h1{font-size:52px}.how ol{grid-template-columns:1fr;gap:24px}.how li{position:relative;padding-left:40px}.how li::before{position:absolute;left:0;top:-4px}.management .gift{display:block}.management .gift-image{height:210px}.header-inner{padding:16px}nav a{padding:10px 7px}.admin-filters{grid-template-columns:1fr 1fr}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.error-title{font-size:32px}.centered{justify-content:center}.heading-meta{margin-bottom:12px}.preserve-lines{white-space:pre-wrap}.full-width{width:100%}.top-space{margin-top:12px}.spaced{margin:14px 0}.section-space{margin-top:40px}.report-caption{margin-top:16px}.history-input{flex:1;min-width:220px}.history-title{margin:24px 0 12px}.activity-chart{display:block;fill:none;width:100%;height:180px;stroke:none}.activity-chart rect{opacity:.8}.activity-chart rect:hover{opacity:1}.management .gift-image svg{width:56px;height:56px}
.funnel-details{margin-top:16px;font-size:14px}.funnel-details summary{cursor:pointer;color:var(--muted);margin-bottom:10px}.data-table td{line-height:1.6}.admin-filters button{align-self:end}.history-input+button{align-self:end}.metric strong{overflow-wrap:anywhere}

/* Keep content and controls readable between phone and tablet sizes. */
@media(max-width:700px){
  .brand{min-height:44px}
  .brand-logo{width:122px}
  .hero h1{font-size:clamp(46px,10vw,60px)}
  .hero small{font-size:15px;max-width:38ch}
  .hero .row .button{min-height:48px}
  .section-heading{align-items:flex-start;flex-wrap:wrap}
  .share-panel .row>*{flex:1}
  .header-inner nav{flex-wrap:wrap;justify-content:flex-end}
  .header-inner:has(nav a:nth-child(4)) nav{width:100%;margin-left:0;justify-content:space-between}
  .footer-inner button{min-height:44px}
  .footer-inner .row{gap:8px 20px}
  .upload-preview{flex-wrap:wrap}
  .upload input{max-width:100%}
}
@media(max-width:600px){
  .gifts,.list-grid{grid-template-columns:minmax(0,1fr)}
  .gift-content{padding:24px}
  .gift h3{font-size:22px}
  .gift-comment{font-size:16px}
  .gift-owner-actions{padding:8px 14px}
  .how ol{grid-template-columns:1fr;gap:24px}
  .how li{position:relative;padding-left:40px;max-width:42ch}
  .how li::before{position:absolute;left:0;top:-4px}
}
@media(max-width:440px){
  .example-gift{display:grid;grid-template-columns:48px minmax(0,1fr);gap:6px 14px}
  .example-gift .swatch{grid-row:span 2;width:48px;height:58px}
  .example-gift .badge{grid-column:2;justify-self:start;margin:2px 0 0}
  .example-list h2{font-size:28px}
  .field-row{grid-template-columns:minmax(0,1fr) 108px;gap:12px}

  .form-actions{gap:12px}
  .owner-toolbar{width:100%}
  .owner-toolbar>*{flex:1}
}

/* Authenticated surfaces prioritize wishes and their controls. */
main:is([data-screen="dashboard"],[data-screen="wishlist"],[data-screen="giving"],[data-screen="settings"],[data-screen="reservation_management"]){
  padding-top:40px;
}
main[data-screen] .page-heading h1{font-size:40px;line-height:1.16}
main[data-screen="wishlist"] .page-heading{display:block}
main[data-screen="wishlist"] .page-heading h1{max-width:32ch}
.owner-toolbar{margin-top:20px;gap:8px}
.owner-toolbar .small{min-height:44px}
.owner-toolbar .quiet{border-color:var(--line)}
.gift-image.no-image{--placeholder-bg:#f4e1d7;--placeholder-ink:#ae523b;aspect-ratio:auto;min-height:72px;padding:16px 24px;justify-content:flex-start;background:var(--placeholder-bg);color:var(--placeholder-ink)}
.gift-image.no-image>.gift-placeholder-art{width:28px;height:28px;max-width:100%;color:inherit;stroke-width:3}
.gift-image.no-image .badge{top:50%;bottom:auto;left:auto;right:20px;transform:translateY(-50%);max-width:calc(100% - 88px)}
.gift-placeholder-1.no-image{--placeholder-bg:#e4ebdc;--placeholder-ink:#587147}
.gift-placeholder-2.no-image{--placeholder-bg:#e1eaf0;--placeholder-ink:#4d718a}
.gift-placeholder-3.no-image{--placeholder-bg:#f3dfe5;--placeholder-ink:#a34e6b}
.gift-placeholder-4.no-image{--placeholder-bg:#f5ebcb;--placeholder-ink:#96722a}
.gift-placeholder-5.no-image{--placeholder-bg:#e9e2f0;--placeholder-ink:#7d5c97}
.gift-context{font-size:15px;line-height:1.5;color:var(--muted);margin-bottom:8px;overflow-wrap:anywhere}
.oauth-buttons{display:flex;flex-wrap:wrap;gap:10px}
.auth .oauth-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr));margin-bottom:22px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.gift-import{margin:0 0 24px;padding:16px;background:var(--white);border:1px solid var(--line);border-radius:10px;gap:10px}
.gift-import-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px}
.gift-import-row button{min-height:46px}
.group-progress{display:grid;gap:6px;margin:14px 0;font-size:15px;color:var(--muted)}
.group-progress progress{width:100%;height:10px;accent-color:var(--accent)}
.group-progress{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.group-progress strong{color:var(--ink);font-weight:600}
.payment-details{display:grid;gap:6px;margin:0 0 18px}
.payment-details dt{font-size:15px;color:var(--muted);margin-top:12px}
.payment-details dd{margin:0;overflow-wrap:anywhere}
.payment-requisites{white-space:pre-wrap;user-select:all;font-variant-numeric:tabular-nums}
.payment-qr{margin:24px 0;display:grid;justify-items:start;gap:12px}
.payment-qr img{display:block;max-width:100%;width:240px;height:auto;object-fit:contain;background:var(--white)}
.payment-qr figcaption{font-size:15px;color:var(--muted);max-width:40ch}
#group-qr{font-size:16px;padding:10px;min-width:0}
.gift-actions{flex-wrap:wrap}
@media(max-width:540px){.gift-import-row{grid-template-columns:1fr}}
.gift-owner-actions .row{flex-wrap:nowrap}
.gift-owner-actions .quiet[data-action="delete-gift"]{color:var(--muted)}
.gift-owner-actions .quiet[data-action="delete-gift"]:hover{color:var(--error);background:#fae9e5}
.archive-section{margin-top:32px;border-top:1px solid var(--line);padding-top:20px}
.archive-section summary{cursor:pointer;font-size:19px;font-weight:600;padding:8px 0;min-height:44px}
.archive-section summary .muted{font-size:17px;margin-left:8px;font-variant-numeric:tabular-nums}
.archive-section .list-grid{margin-top:20px}
.management .gift-image.no-image{min-height:150px;justify-content:center}
.upload input::file-selector-button{font:inherit;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:8px 10px;min-height:40px;margin-right:10px;cursor:pointer}
@media(max-width:700px){
  main[data-screen]{padding-top:28px}
  main[data-screen] .page-heading h1{font-size:32px}
  .owner-toolbar{width:auto}
  .owner-toolbar>*{flex:none}
  .gift-image.no-image{min-height:80px;padding:20px 22px}
  .gift-owner-actions .icon{width:44px;min-height:44px}
  .management-controls{display:grid;grid-template-columns:1fr}
  .management .gift{display:block}
  .management .gift-image{height:auto;aspect-ratio:1.6;min-height:0}
  .management .gift-image.no-image{min-height:88px;aspect-ratio:auto}
}

/* Navigation controls share a center line, including the account SVG. */
nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px}
nav a.nav-account{width:44px;height:44px;padding:0;flex:none}
.nav-account svg{display:block;width:20px;height:20px}
main[data-screen="analytics"]{padding-top:40px}
.admin-filters{grid-template-columns:repeat(3,minmax(0,1fr));padding:24px 0;border-block:1px solid var(--line);gap:18px}
.admin-filters label{font-size:15px}
.admin-filters input,.admin-filters select{font-size:16px;min-height:46px;padding:10px 12px}
.filter-actions{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,max-content);justify-content:end;align-items:stretch;gap:12px}
.metric{min-width:0;padding:20px;border-right:1px solid var(--line)}
.metric:nth-child(4n){border-right:0}
.metric:nth-child(n+5){border-top:1px solid var(--line)}
.metric:last-child{border-top:1px solid var(--line)}
.metric span{display:block;min-height:3em;font-size:15px;line-height:1.5}
.metric small{color:var(--muted);font-size:14px}
.admin-grid{gap:36px 32px}
.admin-tools{margin-top:36px}
.admin-grid>.report{padding-top:24px;border-top:1px solid var(--line)}
.data-table{font-size:15px}
.table-scroll{max-width:100%;max-height:480px;overscroll-behavior:contain;scrollbar-gutter:stable}
.table-scroll:focus-visible{outline-offset:4px}
.data-table th{position:sticky;top:0;background:var(--paper);z-index:1}
.funnel-step{grid-template-columns:minmax(120px,1.3fr) minmax(48px,1fr) minmax(30px,auto) 44px;font-size:15px;gap:12px}
.funnel-count,.funnel-percent{font-variant-numeric:tabular-nums;text-align:right}
.funnel-percent{color:var(--muted)}
.funnel-meter{display:block;width:100%;height:10px;border:0;border-radius:4px;background:var(--blush);overflow:hidden}
.funnel-meter::-webkit-meter-bar{height:10px;border:0;border-radius:4px;background:var(--blush)}
.funnel-meter::-webkit-meter-optimum-value{background:var(--accent);border-radius:4px}
.funnel-meter::-moz-meter-bar{background:var(--accent);border-radius:4px}
.funnel-details{font-size:15px}
.funnel-details summary,.all-metrics>summary{min-height:44px;padding-block:10px;cursor:pointer}
.all-metrics>summary{font-size:22px;font-weight:600;margin-bottom:12px}
.chart-empty{padding:28px 0;max-width:60ch;font-size:16px}
#history-form,#access-form{align-items:flex-end}
#history-form .form-error{flex-basis:100%}
@media(max-width:1050px){.funnel-step{gap:8px;grid-template-columns:minmax(105px,1.3fr) minmax(36px,1fr) minmax(24px,auto) 40px}}
@media(max-width:700px){
  main[data-screen="analytics"]{padding-top:28px}
  .admin-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px;padding:20px 0}
  .admin-filters .field:has(#timezone){grid-column:1/-1}
  .filter-actions{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}
  .metric{padding:18px 14px;border-right:1px solid var(--line)}
  .metric:nth-child(2n){border-right:0}
  .metric:nth-child(n+3){border-top:1px solid var(--line)}
  .metric:nth-last-child(-n+2){border-bottom:0}
  .metric span{min-height:4.5em}
  .funnel-step{grid-template-columns:minmax(96px,1.3fr) minmax(32px,1fr) minmax(24px,auto) 40px;gap:8px}
  .history-input{min-width:0;flex-basis:100%}
  #history-form>button,#access-form>button{width:100%}
  #access-form>.field{width:100%}
}

.filter-error{grid-column:1/-1}
@media(max-width:700px){
  .admin-filters .field:has(#source){grid-column:1/-1}
  .metric{border-bottom:0}
}

/* Normalize native select styling so arrows and text share the field grid. */
main[data-screen="analytics"] :is(input,select){
  height:48px;min-height:48px;line-height:22px;padding:12px 14px;font-size:16px;
}
main[data-screen="analytics"] select{
  appearance:none;-webkit-appearance:none;padding-right:44px;
  background-image:url("/assets/chevron-down.svg");
  background-repeat:no-repeat;background-size:18px 18px;background-position:right 14px center;
}
main[data-screen="analytics"] :is(button,.button){min-height:48px}
.filter-actions :is(button,.button){height:100%;margin:0}
@media(max-width:440px){
  .filter-actions{grid-template-columns:minmax(0,1fr)}
}
@media(forced-colors:active){
  main[data-screen="analytics"] select{appearance:auto;-webkit-appearance:auto;background-image:none;padding-right:14px}
}

.date-control{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:8px}
.date-picker{position:relative;display:flex;align-items:center;justify-content:center;height:48px;border:1px solid var(--line);border-radius:7px;background:var(--white);color:var(--ink)}
.date-picker:hover{background:var(--blush)}
.date-picker:focus-within{outline:2px solid var(--accent);outline-offset:4px}
.date-picker input[type="date"]{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;cursor:pointer}
.date-picker input[type="date"]::-webkit-calendar-picker-indicator{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;cursor:pointer}

#how-it-works {
  scroll-margin-block-start: 24px;
  align-self: start;
}

.how li {
  font-size: 18px;
}

.landing-guide-action {
  margin-top: 28px;
}

.landing-guests {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px 64px;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.landing-guests h2,
.landing-invite h2 {
  font-size: clamp(28px, 4vw, 36px);
  text-wrap: balance;
}

.landing-guests p {
  max-width: 58ch;
  color: var(--muted);
}

.landing-surprise {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
}

.landing-surprise svg {
  color: var(--green);
  margin-top: 2px;
}

.landing-invite {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 32px;
  margin-top: 48px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--blush);
  border-radius: var(--radius);
}

@media (max-width: 1050px) {
  .landing-guests {
    grid-template-columns: 1fr 2.3fr;
    column-gap: 30px;
  }
}

@media (max-width: 700px) {
  .hero .row button {
    min-height: 48px;
  }

  .landing-guests {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
    padding-top: 28px;
  }

  .landing-invite {
    margin-top: 32px;
  }
}

/* Profile addresses share one field layout with onboarding and gift editing. */
.pickup-prompt{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--line)}
.pickup-prompt h2{margin:0 0 8px;font-size:21px}
.pickup-prompt p{margin:0;color:var(--muted);max-width:65ch}
.pickup-prompt button{flex-shrink:0}
@media(max-width:600px){.pickup-prompt{align-items:flex-start;flex-direction:column;gap:16px}.pickup-prompt button{width:100%}}
.pickup-fields{display:grid;gap:16px}
.pickup-editor{min-width:0;margin:0;padding:20px 0 0;border:0;border-top:1px solid var(--line);display:grid;gap:16px}
.pickup-editor legend{padding:0;font-size:18px;font-weight:600}
.pickup-editor [hidden]{display:none}
.pickup-addresses{margin:12px 0;display:grid;gap:12px;font-size:16px}
.pickup-addresses div{min-width:0}
.pickup-addresses dt{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;font-weight:600}
.pickup-copy{flex-shrink:0}
.pickup-addresses dd{margin:2px 0 0;overflow-wrap:anywhere;white-space:pre-wrap;color:var(--muted)}
.wishlist-pickup{border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:24px 0 32px;padding:20px 0}
.wishlist-pickup .section-heading{margin:0 0 16px;gap:16px;flex-wrap:wrap}
.wishlist-pickup h2{font-size:21px}
.wishlist-pickup .pickup-addresses{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;font-size:18px}
@media(max-width:600px){.wishlist-pickup .pickup-addresses{grid-template-columns:1fr;gap:16px}}
main[data-screen="onboarding"] .auth{max-width:480px}
dialog .dialog-header button[hidden]{display:none}

/* Shared content resilience: names, actions and forms must fit at phone widths. */
.hero>div,.how>div,.landing-guests>div,.profile-columns>div,.share-panel>div{min-width:0}
.page-heading p,.notice,.dialog-copy,.example-list>p,.example-note{overflow-wrap:anywhere}
.gift-actions:empty{display:none}
.gift-actions>button:not(.store){width:100%}
.price,.badge,.card-bottom{font-variant-numeric:tabular-nums}
.gift-image.no-image .badge{max-width:calc(100% - 88px);white-space:normal;line-height:1.4}
.example-gift .badge{flex-shrink:0;font-weight:500}
.gift-comment{margin-bottom:16px}
.profile-section p:last-child{margin-bottom:0}
.pickup-editor .hint{font-size:16px;color:var(--muted)}
.pickup-custom{min-width:0;margin:0;padding:0;border:0;display:grid;gap:16px}
.pickup-custom legend{padding:0 0 12px}
.pickup-profile-address{margin-top:8px;overflow-wrap:anywhere;white-space:pre-wrap}
.pickup-exception{margin-top:24px;padding-top:20px;border-top:1px solid var(--line)}
.pickup-exception h3{font-size:18px;overflow-wrap:anywhere}
.button.quiet:hover{background:#f1eae4}
@media(hover:hover){
  input:not([type=checkbox]):not(:disabled):not([aria-invalid=true]):hover,textarea:not(:disabled):not([aria-invalid=true]):hover,select:not(:disabled):hover{border-color:var(--muted)}
}
@media(max-width:1050px) and (min-width:701px){
  .hero{gap:32px}
  .example-list{padding:24px}
  .example-gift{display:grid;grid-template-columns:48px minmax(0,1fr);gap:8px 16px}
  .example-gift .swatch{grid-row:span 2;width:48px;height:56px}
  .example-gift .badge{grid-column:2;justify-self:start;margin:0}
}
@media(max-width:700px){
  .hero .row{gap:12px}
  .example-gift .swatch{border-radius:8px}
  .field input:not([type=checkbox]),.field textarea,.field select,.history-input,
  main[data-screen] .admin-filters input,main[data-screen] .admin-filters select{font-size:18px}
  .form-actions>*{min-width:0}
  .dialog-header{gap:16px}
  button.small,.button.small{min-height:44px}
}
@media(max-width:440px){
  .header-inner:has(.nav-account) nav{width:100%;margin-left:0;justify-content:space-between;gap:4px}
  .header-inner:has(.nav-account){row-gap:8px}
  .hero .row>*{width:100%}
  .share-panel .row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
  .share-panel .row>*{width:100%}
  .gift-owner-actions{flex-wrap:wrap;gap:4px;padding:8px}
  .gift-owner-actions>.row{margin-left:auto;gap:0}
  .gift-owner-actions .quiet{padding-inline:8px}
  .section-heading>button{max-width:100%}
}

/* Wishbook: a spacious editorial landing and a focused collection workspace. */
:root{--paper:#f8f6f2;--ink:#302b29;--muted:#716963;--line:#e2ded7;--blush:#f0e3d9;--radius:16px}
body{line-height:1.6}
header{background:var(--paper)}
.header-inner{max-width:1328px;padding-block:20px}
nav{gap:12px}
nav a{border-radius:10px;color:var(--muted)}
nav a.active{color:var(--ink);background:#eae5de}
main{max-width:1280px;padding:64px 40px 96px}
main[data-screen] .page-heading h1{font-size:clamp(36px,4.4vw,56px);line-height:1.1}
.page-heading{margin-bottom:40px;align-items:center}
.page-heading p{font-size:18px;max-width:56ch}
button,.button{border-radius:10px;min-height:48px;padding:12px 20px;font-weight:500}
button.secondary,.button.secondary{background:var(--white)}
button.quiet,.button.quiet{background:transparent}
button:active,.button:active{transform:translateY(1px)}
.hero{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:80px;padding:32px 0 104px}
.hero h1{font-size:clamp(56px,6.5vw,88px);line-height:1.02;letter-spacing:-.04em;max-width:11ch}
.hero .lead{font-size:20px;line-height:1.65;margin-top:32px;max-width:38ch}
.hero .row{margin-top:36px;gap:12px}
.hero small{margin-top:20px}
.example-list{background:var(--blush);padding:40px 32px 24px;border-radius:16px;box-shadow:none}
.example-list h2{font-size:36px;line-height:1.15}
.example-list>p{font-size:16px;line-height:1.6;margin:12px 0 28px;max-width:36ch}
.example-gift{background:var(--white);border:0;border-radius:12px;margin-top:12px;padding:20px 16px;gap:16px}
.example-gift:last-of-type{padding-bottom:20px}
.example-gift .swatch{width:48px;height:56px;background:var(--paper);border-radius:8px}
.example-gift h3{font-size:18px}
.example-gift .badge{font-size:13px;padding:4px 6px}
.example-list .example-note{border:0;margin-top:20px;padding-top:0;font-size:14px}
.how{grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:64px;padding-top:48px}
.how h2,.landing-guests h2{font-size:36px;line-height:1.16;max-width:13ch}
.how li::before{font-size:40px;margin-bottom:20px}
.how h3{font-size:19px;font-weight:500;margin-bottom:12px}
.how li{font-size:17px;line-height:1.7}
.landing-guide-action{margin-top:32px}
.landing-guests{margin-top:64px;padding-top:48px;gap:64px}
.landing-invite{margin-top:64px;padding:40px 48px;background:var(--ink);color:var(--paper)}
.landing-invite h2{max-width:19ch;font-family:Georgia,serif;font-size:40px;font-weight:400;line-height:1.15}
.landing-invite .primary{background:var(--paper);color:var(--ink)}
.landing-invite .primary:hover{background:var(--blush)}
.list-grid{gap:24px}
.list-card{display:flex;flex-direction:column;border:1px solid var(--line);position:relative;padding:28px;min-height:256px;background:var(--white);border-radius:16px;transition:background .2s var(--ease),border-color .2s var(--ease)}

.list-card .card-top{margin-bottom:32px}
.list-card h2{font-size:32px;line-height:1.15}
.list-card p:not(.santa-meta){font-size:16px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.65;margin-top:16px}

.list-card .card-bottom{padding-top:32px}
.list-card:hover{background:#fffdf9;border-color:#bba99d}
.gifts{gap:24px;align-items:start}
.gift{border-radius:16px;background:var(--white)}
.gift-image{aspect-ratio:1.2;background:#eee9e2}
.gift-image img{object-fit:contain;padding:16px;background:var(--white)}
.gift-image.no-image{min-height:72px;background:var(--placeholder-bg);padding:16px 24px}
.gift-image.no-image>svg{width:28px;height:28px}
.gift-content{padding:24px}
.gift h3{font-size:23px;line-height:1.3;font-weight:500}
.price{font-size:18px;font-weight:500;margin-top:12px}
.gift-comment{line-height:1.7;margin:16px 0}
.gift-actions{padding-top:16px;gap:12px}
.gift-owner-actions{background:#fdfcf9;padding:8px 12px}
.gift-owner-actions .quiet{font-weight:400}
.share-panel p{color:#715c54;max-width:59ch;font-size:16px}

.wishlist-pickup{padding:24px 0;margin:32px 0}
.section-heading{margin:40px 0 24px}
.section-heading h2{font-size:26px;font-weight:500}
.profile-columns{gap:32px}
.profile-section{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:28px;margin-bottom:24px}
.profile-section h2{font-size:23px;font-weight:500}
.auth{max-width:760px;margin:8px auto 48px}
.auth h1{font-size:48px;line-height:1.1}
.empty{background:var(--white);border-style:solid;padding:64px 32px}
.dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--line)}

input:not([type=checkbox]),textarea,select{background:#fdfcf9}
main[aria-busy=true]{cursor:progress}
@media(min-width:701px) and (max-width:1100px){
 .hero{gap:40px}.example-list{padding:28px 24px}.example-list h2{font-size:30px}
 .example-gift{display:grid;grid-template-columns:48px minmax(0,1fr)}
 .example-gift .swatch{grid-row:span 2}.example-gift .badge{grid-column:2;justify-self:start;margin:0}
 .how{gap:32px}.how ol{gap:20px}.landing-guests{gap:32px}
}
@media(max-width:700px){
 .header-inner{padding:16px 20px}main{padding:32px 20px 64px}
 .hero{display:block;padding:8px 0 56px}.hero h1{font-size:clamp(52px,12vw,72px);max-width:11ch}
 .hero .lead{font-size:18px;margin-top:24px}.hero .row{margin-top:28px}
 .example-list{margin-top:40px;padding:28px 20px 20px}.example-list h2{font-size:32px}
 .example-gift{padding:16px;gap:12px}.example-gift:last-of-type{padding-bottom:16px}
 .how{display:block;padding-top:32px}.how h2,.landing-guests h2{font-size:30px;max-width:18ch}
 .how ol{margin-top:28px;gap:28px}.how li{padding-left:44px}.how li::before{font-size:32px;top:-6px}
 .how h3{margin-bottom:8px}.landing-guests{margin-top:40px;padding-top:32px;gap:20px}
 .landing-invite{margin-top:40px;padding:28px;gap:24px}.landing-invite h2{font-size:32px}
 main[data-screen] .page-heading h1{font-size:36px}.page-heading{gap:20px;margin-bottom:28px}
 .list-card{padding:24px;min-height:224px}.list-card h2{font-size:30px}
 .gifts{gap:20px}.gift h3{font-size:23px}.gift-image.no-image{min-height:72px}
 .share-panel{padding:24px;margin:24px 0}.share-panel .row{margin-top:20px}
 .profile-section{padding:24px}.auth h1{font-size:40px}
 .section-heading{margin:32px 0 20px}.section-heading h2{font-size:24px}
 dialog{padding:24px}.dialog-header h2{font-size:28px}
}
@media(max-width:440px){.example-gift{grid-template-columns:40px minmax(0,1fr)}.example-gift .swatch{width:40px;height:52px}.landing-invite .button{width:100%}.gift-owner-actions .quiet{padding-inline:8px}}

/* Giving keeps current choices separate from the account history. */
.giving-tabs{display:flex;flex-wrap:wrap;gap:8px 24px;border-bottom:1px solid var(--line);margin-bottom:28px}
.giving-tabs a{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:10px 0;border-radius:0;border-bottom:2px solid transparent;text-decoration:none;color:var(--muted);font-weight:600}
.giving-tabs a:hover{color:var(--ink)}
.giving-tabs a[aria-current="page"]{color:var(--accent);border-bottom-color:var(--accent)}
.giving-tabs span{font-size:16px;font-weight:400;font-variant-numeric:tabular-nums}
.gift[id]{scroll-margin-block:100px}

/* Secret Santa uses the same wishes, controls and warm surfaces as lists. */
.santa-intro{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;padding:40px 0;border-block:1px solid var(--line)}
.santa-intro h2{font-size:36px;line-height:1.15;margin:16px 0}
.santa-intro p{max-width:54ch;color:var(--muted);margin-bottom:24px}
.santa-intro ol{display:grid;gap:24px;list-style:decimal;padding-left:24px;align-content:center}
.santa-intro li{padding-left:8px}
.santa-intro li::marker{color:var(--accent);font-weight:600}
.santa-intro strong,.santa-intro li span{display:block}
.santa-intro li span{color:var(--muted);font-size:16px;margin-top:4px;max-width:46ch}
.santa-meta{display:flex;flex-wrap:wrap;gap:8px 24px;color:var(--muted);font-size:16px;font-variant-numeric:tabular-nums;margin-top:16px;overflow-wrap:anywhere}
.santa-game-card{display:flex;flex-direction:column;text-decoration:none}
.santa-game-card .card-top{flex-wrap:wrap;gap:12px;margin-bottom:20px}
.santa-game-card h2{overflow-wrap:anywhere}
.santa-card-action{display:flex;align-items:center;gap:8px;color:var(--accent);margin-top:auto;padding-top:24px;font-size:16px}
.santa-card-action svg{width:18px;height:18px}
.santa-help{color:var(--muted);font-size:16px;max-width:65ch;margin:24px 0}
.santa-rules{max-width:75ch;margin-bottom:28px;overflow-wrap:anywhere}
.santa-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;margin-top:36px}
.santa-section{min-width:0;border-top:1px solid var(--line);padding-top:24px}
.santa-section .section-heading{margin:0 0 20px;gap:12px;flex-wrap:wrap}
.santa-section p{overflow-wrap:anywhere;max-width:65ch}
.santa-wishlist-link{display:flex;align-items:center;gap:12px;min-height:48px;margin-top:16px;overflow-wrap:anywhere}
.santa-wishlist-link svg{width:20px;height:20px;flex:none}
.santa-members{list-style:none;padding:0;margin:0}
.santa-members li{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:14px 0;min-height:64px}
.santa-members li>div{min-width:0;overflow-wrap:anywhere}
.santa-members small{display:block;color:var(--muted);font-size:15px;margin-top:2px}
.santa-members button{flex:none}
.santa-invite{align-items:flex-start;gap:32px}
.santa-invite>div:first-child{flex:1;min-width:0}
.santa-invite .row{flex-direction:column;align-items:stretch;flex:none}
.santa-invite p{max-width:60ch}
.santa-invite input{margin-top:16px;font-size:16px}
.santa-draw{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0;border-block:1px solid var(--line)}
.santa-draw h2{font-size:24px;margin-bottom:8px}
.santa-draw p{max-width:64ch;font-size:16px;color:var(--muted)}
.santa-draw>button{flex:none}
.santa-recipient{background:var(--blush);border-radius:14px;padding:32px;max-width:780px;margin-bottom:36px;overflow-wrap:anywhere}
.santa-recipient-heading{display:flex;align-items:center;gap:10px;color:var(--accent)}
.santa-recipient-heading svg{width:24px;height:24px}
.santa-recipient h2{font-size:40px;line-height:1.16;margin:12px 0 20px}
.santa-recipient>.preserve-lines{max-width:65ch;margin-bottom:20px}
.santa-recipient>.button{margin-top:20px}
.santa-recipient .hint{color:var(--ink);font-size:15px;max-width:65ch;margin-top:12px}
.santa-ready{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}
.santa-ready span{display:flex;align-items:center;gap:8px}
.santa-ready svg{width:20px;height:20px}
.santa-footer{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px;padding-top:20px;border-top:1px solid var(--line)}
.santa-join{max-width:680px;margin:0 auto}
.santa-join .form{padding-top:24px;border-top:1px solid var(--line)}
#santa-new-wishlist[hidden]{display:none}
@media(max-width:700px){
 .santa-intro{grid-template-columns:minmax(0,1fr);gap:32px;padding:24px 0}
 .santa-intro h2{font-size:30px}
 .santa-columns{grid-template-columns:minmax(0,1fr);gap:32px}
 .santa-invite .row{flex-direction:row;flex-wrap:wrap}
 .santa-invite .row button{flex:1}
 .santa-draw{align-items:stretch;flex-direction:column}
 .santa-recipient{padding:24px}
 .santa-recipient h2{font-size:32px}
 .santa-game-card .santa-meta{flex-direction:column;gap:8px}
}

/* Profile settings: editable content first, reference information alongside it. */
.account-layout{grid-template-columns:minmax(0,1.65fr) minmax(260px,1fr);gap:48px;align-items:start}
.account-settings{min-width:0}
.account-settings .profile-section{background:transparent;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0 0 32px;margin:0 0 32px}
.account-settings .profile-section:last-child{margin-bottom:0}
.account-settings .profile-section>p{max-width:65ch}
.account-settings .form{margin-top:24px}
.account-settings #profile-form .field{max-width:440px}
.profile-save{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
.save-status{font-size:16px;color:var(--green)}
.save-status:empty{display:none}
.account-aside{min-width:0}
.account-aside .profile-section{padding:24px}
.account-aside h2{font-size:21px}
.account-aside p{font-size:16px}
.account-information{background:transparent;border:0;padding-top:8px!important}
.account-information h2:not(:first-child){margin-top:28px}
.account-links{display:grid;margin-top:20px}
.account-links a{display:flex;align-items:center;gap:12px;min-height:52px;padding:12px 0;text-decoration:none;border-top:1px solid var(--line);overflow-wrap:anywhere}
.account-links a:hover{text-decoration:underline;text-underline-offset:4px}
.account-links svg{width:20px;height:20px;flex:none}
.account-links svg:last-child{margin-left:auto;width:16px;height:16px}
.account-delete{display:flex;align-items:center;justify-content:space-between;gap:32px;margin:40px 0 0;background:transparent;border:0;border-top:1px solid var(--line);border-radius:0;padding:28px 0 0}
.account-delete p{max-width:75ch;font-size:16px;margin-bottom:0}
.account-delete button{flex:none}

/* Santa follows the exchange from gathering the group to preparing a gift. */
.santa-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;padding:0;margin:0 0 32px;gap:24px}
.santa-stages li{display:flex;align-items:center;gap:10px;padding:14px 0;border-bottom:2px solid var(--line);color:var(--muted);font-size:16px;min-width:0;overflow-wrap:anywhere}
.santa-stages svg{width:20px;height:20px;flex:none}
.santa-stages .is-current{border-color:var(--accent);color:var(--accent);font-weight:600}
.santa-stages .is-complete{border-color:var(--green);color:var(--green)}
.santa-invite h2{font-size:26px;line-height:1.25;margin-bottom:12px;font-weight:500}
.santa-invite input{width:100%;min-width:0;text-overflow:ellipsis}
.santa-invite .row{margin-top:0}
.santa-recipient{max-width:none}
.santa-wishlist-link span{min-width:0}
.santa-wishlist-link svg:last-child{margin-left:auto}
.santa-footer{justify-content:space-between}
.santa-game-card .card-top .subtle{font-size:15px}
.santa-game-card .santa-meta{display:flex;flex-direction:column;gap:8px;margin-top:16px}

.santa-game-card .santa-card-action{margin-top:auto}
@media(min-width:701px) and (max-width:1000px){
 .account-layout{gap:28px;grid-template-columns:minmax(0,1.4fr) minmax(240px,1fr)}
 .santa-invite{flex-direction:column;gap:20px}
 .santa-invite .row{flex-direction:row;flex-wrap:wrap}
}
@media(max-width:700px){
 .account-layout{grid-template-columns:minmax(0,1fr);gap:32px}
 .account-settings .profile-section{padding-bottom:28px;margin-bottom:28px}
 .account-aside .profile-section{margin-bottom:20px}
 .account-information{padding-inline:0!important}
 .account-delete{align-items:flex-start;flex-direction:column;gap:20px;margin-top:20px}
 .profile-save{align-items:flex-start;flex-direction:column;gap:12px}
 .santa-stages{gap:12px;margin-bottom:24px}
 .santa-stages li{align-items:flex-start;flex-direction:column;gap:8px;font-size:15px;padding:12px 0;line-height:1.45}
 .santa-invite .row{margin-top:20px}
 .santa-invite h2{font-size:24px}
 .santa-section .section-heading h2{font-size:23px}
 .santa-ready{align-items:stretch;flex-direction:column}
 .santa-ready button{width:100%}
 .santa-join .form-actions{align-items:stretch;flex-direction:column}
 .santa-join .form-actions>*{width:100%}
}

/* Workflow layout: reusable history rows and scrollable forms with visible actions. */
.hint{font-size:15px;line-height:1.6;color:var(--muted)}
.owner-toolbar{display:flex;align-items:center;flex-wrap:wrap}
.share-panel h3{margin-bottom:6px;font-weight:500;font-size:19px}

.share-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--white);border:1px solid var(--line);border-radius:16px;padding:20px 24px;margin:24px 0}

.wishlist-pickup{margin:24px 0;padding:20px 0}
.wishlist-pickup .section-heading{margin:0 0 16px}
.pickup-source{margin-bottom:12px}
.giving-history{display:grid;gap:16px}
.history-entry{display:grid;grid-template-columns:160px minmax(0,1fr)}
.history-entry .gift-image{height:100%;aspect-ratio:auto;min-height:120px}
.history-entry .gift-image.no-image{padding:20px;align-items:flex-start}
.history-entry .gift-image .badge{position:static;transform:none;white-space:normal;margin-top:12px;max-width:100%}
.history-entry .gift-image{flex-direction:column;gap:8px;padding:16px}
.history-entry .gift-image img{max-height:180px;padding:0;object-fit:contain}
.history-entry .gift-content{padding:20px 24px}
.history-role{font-size:15px;color:var(--muted);margin-bottom:4px}
.history-entry .price{margin-top:8px}
.history-entry .gift-actions:empty{display:none}
dialog{border:0;color:var(--ink);width:min(560px,calc(100% - 32px));overflow:auto;box-shadow:var(--shadow);background:var(--white);padding:32px;border-radius:16px;max-height:calc(100dvh - 32px);scroll-padding-block:24px 96px}

dialog .form-actions{position:sticky;bottom:-32px;z-index:2;background:var(--white);padding:16px 0;margin-top:0;border-top:1px solid var(--line)}
@media(max-width:700px){
 .owner-toolbar{width:100%;gap:8px}
 .owner-toolbar .primary{width:100%;flex:1 0 100%}
 .share-panel{display:flex;align-items:flex-start;padding:16px;gap:16px}
 .share-panel .row{margin-top:0;flex-direction:column;gap:8px}
 .share-panel .row button{white-space:nowrap}
 .share-panel h3{font-size:18px}
 .share-panel p{font-size:15px}
 .santa-invite{flex-direction:column}
 .santa-invite .row{flex-direction:row;width:100%}
 dialog{padding:24px 20px}
 dialog .form-actions{bottom:-24px}
 .history-entry{grid-template-columns:96px minmax(0,1fr)}
 .history-entry .gift-image{padding:12px;min-height:96px}
 .history-entry .gift-image.no-image{padding:12px}
 .history-entry .gift-content{padding:16px}
 .history-entry h3{font-size:21px}
 .history-entry .gift-actions{align-items:stretch;flex-direction:column}
 .history-entry .gift-actions>*{width:100%}
}

/* Warm, compact working surfaces. Covers are bundled original vector artwork. */
:root{--paper:#f8f5ef;--ink:#342e28;--muted:#756b60;--blush:#f0e2d5;--line:#e1d9cd;--white:#fffefa}
body{caret-color:var(--accent)}
.header-inner{padding-block:16px;max-width:1240px}
nav a.active{background:transparent;color:var(--accent);box-shadow:inset 0 -2px var(--accent);border-radius:0}
main{max-width:1176px}
main[data-screen] .page-heading h1{font-size:clamp(32px,4vw,48px)}
main[data-screen] .page-heading{margin-bottom:28px}
.page-heading p{line-height:1.6}
.list-grid,.gifts{gap:20px}
.list-card{padding:0 22px 20px;min-height:230px;overflow:hidden;border-radius:14px}
.list-card .card-top{margin-bottom:12px;gap:8px;flex-wrap:wrap}
.list-card h2{font-size:27px;line-height:1.2}
.list-card p:not(.santa-meta){margin-top:10px;line-height:1.5}
.list-card .card-bottom{padding-top:18px}
.list-cover,.santa-card-art{height:136px;margin:0 -22px 18px;overflow:hidden;background:var(--blush)}
.list-cover img{width:100%;height:100%;object-fit:contain;display:block}
.default-cover{background:#eee4d4;position:relative}
.default-cover::before,.default-cover::after{content:"";position:absolute;border:2px solid #bc9b76;border-radius:50%;width:68px;height:32px;top:18px;left:calc(50% - 64px);transform:rotate(25deg)}
.default-cover::after{left:calc(50% - 5px);transform:rotate(-25deg)}
.list-cover.default-cover{height:70px}
.wishlist-cover{display:flex;justify-content:center;max-height:224px;min-height:100px;margin-bottom:26px;border-radius:14px;overflow:hidden;background:#eee6d9}
.wishlist-cover img{display:block;max-width:100%;width:100%;height:224px;object-fit:contain}
.santa-card-art{height:100px;background:#e4e9de url('/assets/covers/winter.svg') center/cover no-repeat}
.santa-game-card .card-top{margin-top:0}
.gift-image{aspect-ratio:1.5;background:#fffefa;flex:none}
.gift-image img{padding:12px;object-fit:contain;background:#fffefa;display:block}
.gifts .gift-image>img{position:absolute;inset:0;width:100%;height:100%;padding:0;object-fit:cover;object-position:center}
.gift-content{padding:20px}
.gift h3{font-size:21px;font-weight:600;line-height:1.35}
.price{font-size:18px;font-weight:600;margin-top:8px;color:#77523c}
.gift-comment{font-size:16px;line-height:1.6;margin:10px 0 14px}
.gift-actions{padding-top:12px;gap:8px}
.gift-owner-actions{padding:6px 8px}
.gift-image.no-image{min-height:70px;padding:15px 20px}
.share-panel{padding:18px 20px;border-radius:12px;gap:20px}
.wishlist-pickup{margin:20px 0 26px;padding:14px 0}
.wishlist-pickup .section-heading{margin-bottom:4px;gap:8px}
.wishlist-pickup h2{font-size:19px}
.wishlist-pickup .pickup-addresses{gap:16px;margin:8px 0;font-size:16px}
.wishlist-pickup .pickup-addresses dt{font-size:15px;gap:4px}
.wishlist-pickup .pickup-copy{font-size:14px;padding:5px;min-height:36px}
.wishlist-pickup .pickup-copy svg{width:15px;height:15px}
.wishlist-pickup .hint{font-size:14px;margin-top:6px}
.pickup-source{font-size:14px}
.pickup-prompt{padding:16px 18px;margin-bottom:24px;background:#eeeade;border-radius:12px;gap:18px}
.pickup-prompt h2{font-size:19px;margin-bottom:4px}
.pickup-prompt p{font-size:16px}
.cover-editor{border:0;border-top:1px solid var(--line);margin:0;padding:18px 0 0;min-width:0}
.cover-editor legend{font-weight:600;padding:0}
.cover-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}
.cover-option{position:relative;display:grid;gap:6px;font-size:14px;cursor:pointer;min-width:0}
.cover-option>input{position:absolute;top:8px;left:8px;z-index:1;min-height:16px;width:16px;height:16px;margin:0;padding:0;accent-color:var(--accent)}
.cover-option>img,.cover-swatch,#cover-custom-preview{display:block;width:100%;height:76px;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#eee4d4}
#cover-custom-preview{overflow:hidden;display:grid;place-items:center}
#cover-custom-preview img{width:100%;height:76px;object-fit:contain}
.cover-option:has(input:checked)>:nth-child(2){outline:2px solid var(--accent);outline-offset:2px}
.cover-option .default-cover::before,.cover-option .default-cover::after{display:none}
.cover-option:focus-within{outline:2px solid var(--accent);outline-offset:4px;border-radius:8px}
#cover-file{font-size:16px;max-width:100%}
.santa-meta{display:flex;gap:8px 20px;flex-wrap:wrap;font-size:16px;line-height:1.6}
.santa-rules h2{font-size:20px;margin-bottom:10px}
.santa-rules p{max-width:70ch;line-height:1.7}
.santa-gift-link{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:18px 0;color:var(--accent);font-size:16px;overflow-wrap:anywhere}
.santa-gift-link span{color:var(--muted);font-size:14px}
.santa-columns,.profile-columns{gap:28px}
.header-inner nav a.nav-notifications{position:relative;width:44px;height:44px;padding:0;flex:none}
.nav-notifications svg{display:block;width:22px;height:22px}
.notification-count{position:absolute;top:0;right:0;display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 4px;background:var(--accent);color:#fff;border-radius:9px;font-size:11px;line-height:1;font-variant-numeric:tabular-nums}
.notification-list,.collection-participants{list-style:none;margin:24px 0 0;padding:0}
.notification-list li,.collection-participants li{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}
.notification-list li>div:first-child,.collection-participants li>div{min-width:0;overflow-wrap:anywhere}
.notification-list .unread{background:#f0e8dc;margin-inline:-16px;padding-inline:16px;border-radius:10px}
.notification-context{color:var(--muted);font-size:16px;margin-block:4px}
.notification-actions{display:flex;flex-wrap:wrap;justify-content:end;gap:8px;flex-shrink:0;max-width:42%}
.collection-participants strong,.collection-participants span{display:block}
.collection-participants .subtle{margin-top:4px}
.collection-participants button{max-width:45%;flex-shrink:0}
@media(max-width:1050px){.header-inner{gap:20px;flex-wrap:wrap}.header-inner nav{gap:2px}.header-inner nav a{padding-inline:8px}}
@media(max-width:700px){
 .header-inner{padding:12px 18px;gap:8px}.header-inner:has(nav a:nth-child(4)) nav{display:flex;width:100%;gap:4px;justify-content:flex-start;flex-wrap:wrap}
 .header-inner nav a{font-size:14px;padding:8px 7px}.header-inner nav .nav-account{margin-left:auto}
 main[data-screen]{padding:28px 18px 56px}.list-grid,.gifts{gap:16px}
 .list-card{padding:0 20px 18px;min-height:210px}.list-card h2{font-size:26px}.list-cover,.santa-card-art{margin-inline:-20px;height:120px}.list-cover.default-cover{height:64px}
 .gift-content{padding:18px}.gift h3{font-size:21px}.gift-image{aspect-ratio:1.65}.gift-image.no-image{min-height:70px}
 .wishlist-cover,.wishlist-cover img{height:160px;min-height:0}.wishlist-pickup .pickup-addresses{grid-template-columns:1fr;gap:10px}
 .wishlist-pickup .pickup-addresses>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:10px;align-items:start}
 .wishlist-pickup .pickup-addresses dt{align-items:start;flex-direction:column}.wishlist-pickup .pickup-addresses dd{margin-top:4px}
 .share-panel{padding:16px;gap:12px}.share-panel .row{flex-direction:row;flex-wrap:wrap}
 .share-panel:not(.santa-invite){display:block}
 .share-panel:not(.santa-invite) .row{width:100%;margin-top:12px;gap:8px}
 .share-panel:not(.santa-invite) .row>button{flex:1;min-width:0}
 .notification-list li{align-items:start;flex-direction:column;gap:12px}.notification-actions{max-width:none;justify-content:start}
 .notification-list .unread{margin-inline:-8px;padding-inline:8px}.santa-rules{padding:18px}.santa-rules h2{font-size:19px}
}
@media(max-width:380px){.cover-options{grid-template-columns:repeat(2,minmax(0,1fr))}.header-inner nav .nav-account{margin-left:0}.gift-owner-actions .quiet{padding-inline:6px}.wishlist-pickup .pickup-addresses>div{grid-template-columns:90px minmax(0,1fr)}}
.santa-meta{margin:14px 0 0;padding:0}
.santa-meta>div{min-width:0}
.santa-meta dt{font-size:14px;color:var(--muted)}
.santa-meta dd{margin:2px 0 0;color:var(--ink);font-size:16px;font-variant-numeric:tabular-nums}
.santa-game-card .santa-meta{gap:10px 18px;flex-direction:row}
.santa-game-card .santa-meta>div{flex:1 1 100px}
@media(max-width:700px){.page-heading .santa-meta{gap:12px 20px}.page-heading .santa-meta>div{flex:1 1 100px}}

.pickup-details summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;cursor:pointer;list-style:none}
.pickup-details summary h2{margin:0;min-width:0}
.pickup-toggle{display:grid;place-items:center;flex-shrink:0;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;color:var(--accent)}
.pickup-toggle svg{width:16px;height:16px}
.pickup-details[open] .pickup-toggle svg{transform:rotate(180deg)}
.pickup-details summary:hover .pickup-toggle{background:var(--blush)}
.pickup-details[open] summary{margin-bottom:12px}
.pickup-details .pickup-source{margin:0}
.pickup-details summary::-webkit-details-marker{display:none}
.pickup-details summary:focus-visible{outline:2px solid currentColor;outline-offset:3px}

.favorite-button[aria-pressed="true"]{color:var(--accent);border-color:var(--accent)}
.favorite-button[aria-pressed="true"] svg{fill:currentColor}
.favorite-lists{display:grid;gap:12px}
.favorite-list-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border:1px solid var(--line);border-radius:16px;color:inherit;text-decoration:none;background:var(--surface, #fff)}
.favorite-list-card:hover{border-color:var(--accent)}
.favorite-list-card h2{margin:0;font-size:1.15rem;overflow-wrap:anywhere}
.favorite-list-card p{margin:6px 0 0;color:var(--muted)}
.favorite-list-card>svg{flex:none}

.gift-collections{margin-bottom:clamp(38px,5vw,72px)}
.catalog-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 20px}
.catalog-heading h1,.catalog-heading h2{margin:0;line-height:1.12}
.catalog-heading h1{font-size:clamp(32px,4vw,52px);letter-spacing:-.04em}
.catalog-filters,.catalog-layout{display:flex;align-items:center;flex-wrap:wrap;gap:5px}
.catalog-filters{margin:0 0 20px}
.catalog-filters button,.catalog-layout button{background:transparent;border:0;border-radius:30px;color:var(--muted);padding:8px 14px;font:inherit;cursor:pointer}
.catalog-filters button[aria-pressed=true],.catalog-layout button[aria-pressed=true]{background:var(--ink);color:white}
.collection-grid,.catalog-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));gap:clamp(14px,2vw,26px)}
.collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1000px){.collection-grid:has(.collection-tile:nth-child(4)){grid-template-columns:repeat(4,minmax(0,1fr))}}
.collection-tile{position:relative;isolation:isolate;overflow:hidden;border-radius:22px;aspect-ratio:1.12;color:white;text-decoration:none;background:#665044;display:flex;align-items:flex-end;padding:clamp(16px,2vw,28px)}
.collection-tile[hidden]{display:none}
.collection-tile img,.collection-tile .catalog-art-fallback{z-index:-2}
.collection-tile:after{content:"";position:absolute;inset:0;background:linear-gradient(175deg,transparent 24%,rgba(26,16,12,.25) 48%,rgba(26,16,12,.86));z-index:-1}
.collection-tile strong{font-size:clamp(20px,2.2vw,32px);line-height:1.04;color:white;letter-spacing:-.035em;text-wrap:balance;overflow-wrap:anywhere}
.collection-count{position:absolute;top:16px;right:18px;background:#8b3b28;color:white;padding:3px 11px;border-radius:8px;box-shadow:4px 0 #deaa8e;font-weight:700}
.collection-tile:hover img{transform:scale(1.035)}
@media(prefers-reduced-motion:no-preference){.collection-tile img{transition:transform .25s ease}}
.catalog-art-fallback{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(140deg,#f0d6ac,#ad7463);color:#fff7e7}
.catalog-art-fallback svg{width:30%;height:30%;opacity:.75}
.catalog-hero{display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:26px;background:#593c32;color:white;margin:10px 0 36px}
.catalog-intro{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(24px,4vw,60px);min-width:0;overflow-wrap:anywhere}
.catalog-intro>span{color:#f1d8c7;font-size:.92rem}
.catalog-intro h1{color:inherit;font-size:clamp(32px,4.8vw,66px);letter-spacing:-.045em;line-height:1.03;margin:18px 0 0;text-wrap:balance}
.catalog-intro p{color:#fff3e8;line-height:1.5;margin:18px 0 0;white-space:pre-line}
.catalog-hero-art{position:relative;min-height:clamp(265px,30vw,450px)}
/* Catalog media fills its frame independently of the source image dimensions. */
.collection-tile>img,.collection-tile>.catalog-art-fallback,
.catalog-hero-art>img,.catalog-hero-art>.catalog-art-fallback,
.product-photo>img,.product-photo>.catalog-art-fallback{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.catalog-layout{border:1px solid var(--line);border-radius:30px;padding:3px}
.catalog-products{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.catalog-product,.product-copy{min-width:0;overflow-wrap:anywhere}
.product-photo{position:relative;min-width:0;aspect-ratio:1.14;overflow:hidden;background:#f3e9df;border-radius:20px}
.product-copy{padding:15px 2px;display:grid;justify-items:start;gap:9px}
.product-copy h3{font-size:clamp(20px,2vw,28px);letter-spacing:-.025em;line-height:1.12;margin:0}
.product-copy p{margin:0;white-space:pre-line}
.catalog-price,.product-copy a{color:var(--accent)}
.catalog-add{display:inline-flex;align-items:center;gap:8px;background:transparent;color:var(--ink);border:0;padding:5px 0;text-align:left;font:inherit;font-weight:600;cursor:pointer}
.catalog-add svg{width:31px;height:31px;padding:6px;border-radius:50%;background:var(--accent);color:white}
.catalog-products.as-list{grid-template-columns:1fr}
.as-list .catalog-product{display:grid;grid-template-columns:minmax(80px,170px) 1fr;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px}
@media(max-width:700px){
 .collection-grid,.catalog-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .collection-tile{aspect-ratio:.96;padding:14px;border-radius:16px}
 .collection-count{top:10px;right:12px}
 .catalog-hero{grid-template-columns:1fr}
 .catalog-hero-art{min-height:180px;max-height:240px;aspect-ratio:2;width:100%}
 .as-list .catalog-product{grid-template-columns:90px 1fr;gap:12px}
}
@media(max-width:420px){.catalog-products{grid-template-columns:1fr}.collection-tile strong{font-size:18px}.catalog-filters button{padding:6px 9px}}
.ideas-pagination{display:grid;justify-items:center;gap:12px;padding-block:32px}
.ideas-pagination p{margin:0;color:var(--muted);text-align:center}
.ideas-pagination button[hidden]{display:none}
