/* Accepted product composition, scoped to the real record route. */
.ux-retained-price{display:flex;min-height:116px;flex-direction:column;justify-content:space-between;gap:16px;padding:16px 12px}
.ux-retained-price>span{font-size:12px;line-height:1.3}
.ux-retained-price>strong{font-size:clamp(24px,2.6vw,38px);line-height:1.1;font-weight:600}
/* Filed-label controls reuse the accepted card delta; no preview action stubs. */
.ux-pack-stage.ux-pack-stage--filed{display:block;padding-bottom:54px}
.cp-photo-tools{position:absolute;bottom:6px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.cp-photo-tools a{min-height:44px;display:inline-flex;align-items:center;color:#303d6d;font:500 14px/1.3 var(--font-sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cp-use{margin-bottom:2px!important}
.cp-pack-detail{font-size:15px;line-height:1.5;margin:0 0 15px;max-width:50ch;order:0}
.cp-pack-detail>summary{display:flex;align-items:center;gap:8px;min-height:36px;cursor:pointer;list-style:none}
.cp-pack-detail>summary::-webkit-details-marker{display:none}
.cp-pack-detail>summary svg{width:16px;height:16px;flex:none;color:var(--ux-brand)}
.cp-pack-detail[open]>summary svg{transform:rotate(180deg)}
.cp-pack-detail>div{border-top:1px solid var(--ux-line);padding-top:8px;margin-top:5px;color:var(--ux-muted);font-size:13px;line-height:1.5}
.cp-pack-detail p{margin:0 0 7px}
.cp-ingredient-notes{padding:0 0 4px}
.cp-ingredient-row{padding:15px 0;border-top:1px solid var(--ux-line)}
.cp-ingredient-row:first-child{border:0}
.cp-ingredient-row h4{font-size:16px;line-height:1.35;margin:0 0 4px;font-weight:600}
.cp-ingredient-row p{font-size:14px;line-height:1.5;margin:4px 0;color:var(--ux-muted)}
.cp-ingredient-row .cp-ingredient-name{font-size:15px;color:var(--ink);margin-bottom:8px}
.cp-original{font-size:13px;margin:8px 0 12px}
.cp-original summary{min-height:32px;cursor:pointer;color:var(--ux-brand);text-decoration:underline;text-underline-offset:3px}
.cp-original p,.cp-diet-scope{font-size:13px;line-height:1.5;color:var(--ux-muted);margin:10px 0}
.cp-label-dialog{width:min(1080px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;color:var(--ink);background:var(--bg-raised,#fff);border:0;border-radius:12px;box-shadow:0 14px 50px #18213b35;overflow:hidden}
.cp-label-dialog::backdrop{background:#1a203d66}
.cp-label-dialog header{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:18px 22px;border-bottom:1px solid var(--ux-line)}
.cp-label-dialog h2{font:600 22px/1.2 var(--font-sans);margin:0 0 4px}
.cp-label-dialog header p{font-size:13px;color:var(--ux-muted);margin:0}
.cp-label-dialog form{margin:0}
.cp-label-dialog [data-close-label]{width:44px;height:44px;display:grid;place-items:center;flex:none;border:0;border-radius:4px;background:transparent;color:var(--ink);cursor:pointer}
.cp-label-dialog [data-close-label] svg{width:20px;height:20px}
.cp-label-toolbar{display:flex;align-items:center;justify-content:space-between;padding:9px 22px;gap:12px}
.cp-label-toolbar p{margin:0;font-size:12px;color:var(--ux-muted)}
.cp-label-toolbar button{border:0;padding:8px 0;min-height:44px;background:transparent;color:var(--ux-brand);font:500 13px var(--font-sans);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.cp-label-scroll{overflow:auto;max-height:calc(100dvh - 240px);background:#f5f5f3;padding:18px}
.cp-label-scroll img{display:block;width:100%;height:auto;max-width:1600px;margin:auto}
.cp-label-scroll.is-zoom img{width:1600px;max-width:none}
.cp-label-foot{padding:12px 22px 18px!important;margin:0!important;font-size:12px!important;line-height:1.5;color:var(--ux-muted)}
.cp-photo-tools :focus-visible,.cp-label-dialog :focus-visible,.cp-pack-detail :focus-visible{outline:3px solid var(--gold,#ad6505);outline-offset:3px}
.ux-price-cell summary>.cp-price-empty{white-space:nowrap;overflow-wrap:normal;letter-spacing:0}
.cp-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.ux-photo-dialog{box-sizing:border-box;max-inline-size:calc(100vw - 32px)}
@media(max-width:760px){.ux-pack-stage.ux-pack-stage--filed{box-sizing:border-box;height:354px;padding:10px 10px 44px}.cp-photo-tools{left:12px;right:12px;bottom:3px}.cp-photo-tools a{font-size:13px}.cp-pack-detail{font-size:14px;margin-top:-10px;margin-bottom:6px}.cp-use{font-size:15px!important;line-height:1.45!important}.cp-label-dialog{width:calc(100vw - 20px);max-width:none;max-height:calc(100dvh - 20px);border-radius:10px}.cp-label-dialog header{padding:14px}.cp-label-dialog h2{font-size:20px}.cp-label-toolbar{padding:8px 14px}.cp-label-scroll{padding:10px;min-height:180px}.cp-label-foot{padding:10px 14px 14px!important}}
@media(max-width:360px){.ux-pack-stage.ux-pack-stage--filed{height:314px}}
.ux-record{--ux-brand:#303d6d;--ux-line:#d8dce5;--ux-muted:#676e7b;color:var(--ink);margin-top:12px}
[data-theme="dark"] .ux-record{--ux-brand:var(--brand);--ux-line:var(--line);--ux-muted:var(--ink-muted);--ux-panel:var(--bg-muted);--ux-price-bg:var(--brand-tint);--ux-price-border:var(--line-strong);--ux-expert-bg:#3a2f1c}
.ux-record h1,.ux-record h2,.ux-record h3,.ux-record p{margin-top:0}
.ux-record h1{font-size:clamp(32px,3.8vw,48px);font-weight:600;line-height:1.08;letter-spacing:-1px;margin-bottom:20px;overflow-wrap:anywhere}
.ux-record h2{font-size:26px;font-weight:600;line-height:1.2;margin-bottom:16px}
.ux-record h3{font-size:17px;font-weight:600;line-height:1.3;margin-bottom:10px}
.ux-crumb{display:flex;flex-wrap:wrap;gap:10px;font-size:13px;color:var(--ux-muted);margin-bottom:28px}
.ux-product-hero{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:56px;align-items:center}
.ux-pack-stage{position:relative;min-width:0;min-height:450px;background:#fff;display:flex;align-items:center;justify-content:center;border:1px solid #e1e4ea;border-radius:5px;padding:22px}
.ux-pack-stage>.muted{color:#676e7b}
.ux-pack-link{display:block;width:100%;border-radius:3px}
.ux-pack-link:focus-visible{outline:3px solid var(--ux-brand);outline-offset:5px}
.ux-pack-link img{display:block;width:100%;height:420px;object-fit:contain}
.ux-enlarge-cue{position:absolute;bottom:12px;right:16px;color:#676e7b;font-size:12px;pointer-events:none}
.ux-meta{font-size:14px;line-height:1.5;color:var(--ux-muted);margin-bottom:13px}
.ux-intake{font-size:18px;line-height:1.5;margin-bottom:22px}
.ux-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.ux-price-instruments{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;align-items:start;margin:24px 0 14px}
.ux-price-cell{position:relative;border:1px solid var(--ux-price-border,#c6cedf);background:var(--ux-price-bg,#f0f3fa);border-radius:5px;min-width:0;color:var(--ux-brand)}
.ux-price-cell summary{display:flex;min-height:116px;flex-direction:column;justify-content:space-between;gap:16px;padding:16px 12px;cursor:pointer;list-style:none}
.ux-price-cell summary::-webkit-details-marker{display:none}
.ux-price-cell summary>span:first-child{font-size:12px;line-height:1.3;padding-right:13px;overflow-wrap:anywhere}
.ux-price-cell summary>strong{font-size:clamp(24px,2.6vw,38px);line-height:1.1;font-weight:600;letter-spacing:-.7px;overflow-wrap:anywhere}
.ux-price-info{position:absolute;right:10px;top:15px;font-size:10px;border:1px solid #8997b6;border-radius:50%;height:14px;width:14px;text-align:center;line-height:12px}
.ux-price-cell>p{font-size:12px;line-height:1.5;padding:0 12px 14px;margin:0;color:var(--ux-muted)}
.ux-offers-cue{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:13px;line-height:1.4;color:var(--ux-muted)}
.ux-record-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:40px;margin-top:48px;align-items:start}
.ux-composition{min-width:0;border-top:2px solid var(--ux-brand);padding-top:24px}
.ux-record .ing{grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:22px 0;border-top:1px solid var(--ux-line)}
.ux-record .ing__limit{grid-column:1/-1}
.ux-record .ing__name>b{font-size:21px}
.ux-record .ing__num{font-size:30px;line-height:1.2;font-weight:600}
.ux-record .ing__num .sub{font-size:12px;font-weight:400;max-width:190px}
.ux-record .ing__bar{height:11px;margin:9px 0 14px}
.ux-record .ing__fill{background:var(--ux-brand)}
.ux-record .ing.is-over{padding-left:var(--space-4)}
.ux-record .ing__limit>.small{font-size:14px}
.ux-record .ing__limit>.sub{font-size:12px;line-height:1.5;margin-top:8px}
.ux-record .num-over{color:var(--num-over)}
.ux-label-note{border-top:1px solid var(--ux-line);margin-top:24px;padding-top:20px;font-size:14px;line-height:1.6}
.ux-record-detail{border-top:1px solid var(--ux-line);padding:14px 0;font-size:13px;line-height:1.6}
.ux-record-detail summary{cursor:pointer;color:var(--ux-brand)}
.ux-record-detail>p,.ux-record-detail>.table-box{margin-top:14px}
.ux-offers-panel{min-width:0;background:var(--ux-panel,#f4f5f8);border:1px solid var(--ux-line);border-radius:5px;padding:24px}
.ux-offers-panel .vt-offer{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;min-width:0;padding:18px 0;border-bottom:1px solid var(--ux-line)}
.ux-offers-panel .vt-offer__price{min-width:0;white-space:normal;overflow-wrap:anywhere}
.ux-offers-panel .vt-offer>.vt-offer__meta{grid-column:1/-1}
.ux-offers-panel .vt-offer__shop{overflow-wrap:anywhere}
.ux-offers-panel .vt-offer__price .vt-num{font-size:23px}.ux-offers-panel .vt-offer__price small{font-size:12px;font-weight:400}
.ux-offers-panel .vt-offer__action{grid-column:1/-1}.ux-offers-panel .vt-offer__action .vt-btn{width:100%;justify-content:center}
.ux-offers-panel .vt-offer__notice,.ux-offers-panel .vt-offer__info{grid-column:1/-1}
.ux-amazon{border-top:1px solid var(--ux-line);margin-top:20px;padding-top:20px;font-size:14px}
.ux-help{border:1px solid var(--ux-line);padding:24px;margin-top:38px;border-radius:5px}
.ux-help-head{display:flex;gap:18px;align-items:baseline;justify-content:space-between}
.ux-help-head h2{margin-bottom:14px}.ux-help-head p{font-size:13px;color:var(--ux-muted)}
.ux-service-line{display:grid;grid-template-columns:170px 64px minmax(0,1fr) 15px;gap:18px;align-items:center;border-top:1px solid var(--ux-line);padding:15px 0;text-decoration:none;color:inherit}
.ux-service-line>span:first-child{font-size:18px;font-weight:600}.ux-service-line>strong{font-size:28px;color:var(--ux-brand);font-weight:600}
.ux-service-description{font-size:14px;color:var(--ux-muted);line-height:1.5}
.ux-service-expert{background:var(--ux-expert-bg,#faf4e5);margin:0 -12px -12px;padding:15px 12px;border-radius:0 0 4px 4px}
.ux-record-notes{margin-top:22px;font-size:13px;color:var(--ux-muted)}
.ux-record-notes>summary,.ux-photo-credit>summary{cursor:pointer}
.ux-notes-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:22px;padding:22px 0;border-top:1px solid var(--ux-line)}
.ux-photo-credit{font-size:12px;color:var(--ux-muted);margin:24px 0}.ux-photo-credit p{margin:12px 0;line-height:1.5}
.ux-photo-dialog{width:calc(100% - 32px);max-width:900px;max-height:90vh;padding:20px;border:1px solid #aab4c9;border-radius:7px;color:var(--ink);background:var(--bg-raised,#fff)}
.ux-photo-dialog::backdrop{background:rgba(32,39,61,.42)}
.ux-photo-dialog>div{display:flex;align-items:start;justify-content:space-between;gap:18px}.ux-photo-dialog h2{font-size:23px}.ux-photo-dialog button{min-height:40px;padding:8px 14px;font:inherit;cursor:pointer}
.ux-photo-dialog>img{display:block;width:100%;height:min(70vh,750px);object-fit:contain;background:#fff}
@media(max-width:1000px){.ux-product-hero{gap:28px;grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr)}.ux-pack-stage{min-height:390px}.ux-pack-link img{height:360px}.ux-record-grid{gap:26px;grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}}
@media(max-width:760px){.ux-record{margin-top:8px}.ux-crumb{margin-bottom:20px;font-size:12px}.ux-product-hero{display:flex;flex-direction:column;align-items:stretch;gap:18px}.ux-pack-stage{order:1;min-height:0;height:320px;padding:10px}.ux-pack-link img{height:298px}.ux-product-copy{display:contents}.ux-product-copy>.ux-meta{order:-3;margin:0 0 -10px;font-size:13px}.ux-product-copy>h1{order:-2;margin:0 0 -6px;font-size:31px;letter-spacing:-.6px}.ux-product-copy>.ux-intake{order:-1;margin:0;font-size:16px}.ux-product-copy>.ux-price-instruments{order:2;margin:0}.ux-product-copy>.ux-actions{order:3;margin:0}.ux-product-copy>.ux-offers-cue{order:4}.ux-actions>a{flex:1}.ux-price-instruments{gap:7px}.ux-price-cell summary{min-height:108px;padding:13px 10px}.ux-price-cell summary>strong{font-size:30px}.ux-price-cell summary>span:first-child{font-size:11px}.ux-price-info{right:7px;top:11px}.ux-record-grid{grid-template-columns:1fr;gap:26px;margin-top:30px}.ux-composition{padding-top:20px}.ux-offers-panel{padding:18px}.ux-help{padding:18px;margin-top:28px}.ux-help-head{display:block}.ux-service-line{grid-template-columns:1fr auto 14px;gap:8px;padding:13px 0}.ux-service-line>span:first-child{font-size:16px}.ux-service-line>strong{font-size:23px}.ux-service-description{grid-column:1/3;grid-row:2;font-size:13px}.ux-service-line>span:last-child{grid-column:3;grid-row:1/3;align-self:center}.ux-service-expert{padding:13px 12px}.ux-notes-grid{grid-template-columns:1fr;gap:18px}.ux-record .ing__num{font-size:27px}.ux-record .ing__name>b{font-size:20px}.ux-record .ing__amount{text-align:right}.ux-record .ing__limit{width:100%}.ux-record h2{font-size:23px}}
@media(max-width:360px){.ux-price-cell summary>strong{font-size:25px}.ux-price-cell summary{padding:12px 8px}.ux-pack-stage{height:280px}.ux-pack-link img{height:258px}}

/* Product help uses the canonical service deck; compact list help keeps its layout. */
.ux-record .ux-product-help{margin:38px 0 0;padding:0;border:0;min-width:0}
.ux-record .ux-product-help>.ux-help-head{display:block;margin-bottom:24px}
.ux-record .ux-product-help>.ux-help-head h2{margin-bottom:10px}
.ux-record .ux-product-help>.ux-help-head p{font-size:17px;line-height:1.5;color:var(--ink-muted);margin:0}
@media(max-width:760px){.ux-record .ux-product-help{margin-top:30px}.ux-record .ux-product-help>.ux-help-head{margin-bottom:20px}}

@media (max-width: 900px) {
  .ux-record .ux-composition .ing { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ux-record .ux-composition .ing__name,
  .ux-record .ux-composition .ing__amount { min-width: 0; overflow-wrap: anywhere; }
  .ux-record .ux-composition .ing__amount { text-align: left; }
  .ux-record .ux-composition .ing__num .sub { max-width: none; }
}
.ux-licensed-record {overflow-wrap:anywhere}
.ux-product-media {min-width:0}
.ux-product-media-note {margin:12px 0 0}
.ux-licensed-record .ux-actions {margin:20px 0 0}
.ux-licensed-record .ux-product-source {margin-top:32px}
@media(max-width:760px){.ux-product-media {order:1}.ux-licensed-record .ux-licence-notices {order:2}}
