/* Approved804:18526/18529 and804:18527/1228:3604. Scoped reporting styles. */
body .trends-page{display:flex;flex-direction:column;gap:20px;width:100%;min-width:0}
body .trends-page *{box-sizing:border-box}
body .trends-page h1,body .trends-page h2,body .trends-page h3,body .trends-page h4{margin:0;letter-spacing:0;padding:0;min-height:0;text-align:left}
body .trends-page>header{display:flex;flex-direction:column;gap:4px}
body .trends-page h1{font-size:32px;line-height:42px;font-weight:600}
body .trends-page .trend-owner-label{font-size:10px;line-height:13px;font-weight:500;color:var(--muted);margin:0}
body .trends-period{display:flex;gap:8px;width:100%;--selection-height:44px}
body .trends-period .selection-control{flex:1;min-width:0}
body .trends-period .selection-control>input{position:absolute;width:1px;height:1px;opacity:0;clip-path:inset(50%);overflow:hidden}
body .trends-period .selection-pill{height:44px}
body .trend-scope{display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:16px}
body .trend-scope>p{font-size:12px;line-height:16px}
body .trend-scope>p:last-child{color:var(--muted)}
body .trend-stack{display:flex;flex-direction:column;gap:20px}
body .trend-card{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%;padding:20px;border-radius:24px;overflow-wrap:anywhere;color:var(--black)}
body .trend-card h2{font-size:26px;line-height:34px;font-weight:600}
body .trend-card h3{font-size:17px;line-height:23px;font-weight:600}
body .trend-card p{margin:0}
body .trends-page .trend-eyebrow{font-size:10px;line-height:13px;font-weight:600;opacity:.74}
body .trends-page .trend-note{font-size:11px;line-height:15px;font-weight:400;opacity:.74;margin:0}
body .trends-page .trend-small{font-size:12px;line-height:16px;margin:0}
body .trends-page .trend-micro{font-size:10px;line-height:13px;font-weight:400;opacity:.74;margin:0}
body .trend-rhythm{background:var(--cream);padding:16px;gap:16px}
body .trend-weekdays{display:flex;gap:8px;align-items:flex-end;width:100%}
body .trend-weekday{display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;gap:5px}
body .trend-weekday strong{font-size:12px;line-height:16px;font-weight:600;opacity:.74}
body .trend-weekday>span:last-child{font-size:11px;line-height:15px;font-weight:500;opacity:.74}
body .trend-weekday-plot{display:flex;align-items:flex-end;height:64px;width:min(32px,100%)}
body .trend-weekday-plot i{width:100%;background:var(--black);border-radius:6px}
body .trend-weekday-plot i.is-leading{background:var(--orange)}
body .trend-weekday-plot i.is-zero{background:var(--completed)}
body .trend-return,body .trend-gap{display:grid;grid-template-columns:minmax(0,148fr) minmax(0,154fr);gap:16px;align-items:center;width:100%}
body .trend-return>div:last-child{display:flex;flex-direction:column;gap:8px}
body .trend-return h3{font-size:21px;line-height:28px}
body .trend-donut{position:relative;display:grid;place-items:center;width:104px;height:104px;margin:0 auto;border-radius:50%;background:conic-gradient(var(--orange) 0 var(--share),var(--black) var(--share) 100%)}
body .trend-donut:before{content:'';position:absolute;inset:13px;border-radius:50%;background:var(--cream)}
body .trend-donut strong{position:relative;font-size:23px;line-height:30px;font-weight:600}
body .trend-donut.is-unknown{background:var(--completed)}
body .trend-gap>strong{font-size:56px;line-height:64px;text-align:center;font-weight:600}
body .trend-gap>div{display:flex;flex-direction:column;gap:4px}
body .trend-gap p{font-size:13px;line-height:17px;font-weight:500}
body .trend-gap small{font-size:10px;line-height:13px;opacity:.74}
body .trend-taste{display:flex;flex-direction:column;gap:16px}
body .trend-flavours{background:var(--pink);padding:16px;gap:16px}
body .trend-flavour-list{display:flex;flex-direction:column;gap:12px}
body .trend-rank{display:flex;flex-direction:column;gap:4px}
body .trend-rank>div{display:flex;gap:8px;justify-content:space-between;align-items:flex-start;min-height:19px}
body .trend-rank>div>span{flex:1;font-size:12px;line-height:16px;font-weight:500;opacity:.74}
body .trend-rank strong{flex:0 0 28px;font-size:14px;line-height:19px;font-weight:600;text-align:right}
body .trend-rank-track{display:block;height:4px;width:100%}
body .trend-rank-track i{display:block;height:100%;max-width:100%;background:var(--black);border-radius:3px}
body .trend-flavour{display:grid;grid-template-columns:116px minmax(0,1fr) 24px;gap:12px;align-items:center}
body .trend-flavour>div{display:contents}
body .trend-flavour>div>span{font-size:13px;line-height:17px;opacity:1;grid-column:1;grid-row:1}
body .trend-flavour strong{font-size:15px;line-height:20px;grid-column:3;grid-row:1}
body .trend-flavour>.trend-rank-track{height:10px;grid-column:2;grid-row:1}
body .trend-choice-columns{background:var(--attention);padding:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}
body .trend-choice-columns>div{display:flex;flex-direction:column;gap:12px;min-width:0}
body .trend-experience{background:var(--orange)}
body .trend-experience h2{font-size:28px;line-height:37px}
body .trend-experience>p:not(.trend-small):not(.trend-note){font-size:15px;line-height:20px;font-weight:500}
body .trend-experience>.trend-small:nth-last-child(2){line-height:17px}
body .trend-participant-share{display:flex;gap:3px;height:18px;width:100%}
body .trend-participant-share>*{min-width:0;border-radius:3px;background:var(--cream)}
body .trend-participant-share>i{background:var(--black)}
body .trend-rewards{background:var(--cream);padding:16px}
body .trend-rewards h2{font-size:24px;line-height:32px}
body .trend-reward-table{display:flex;flex-direction:column;gap:12px}
body .trend-reward-table>div{display:grid;grid-template-columns:minmax(0,1fr) 48px 64px;gap:8px;align-items:center}
body .trend-reward-table>div>span{font-size:12px;line-height:16px;font-weight:500;opacity:.74}
body .trend-reward-table>div>strong{font-size:25px;line-height:33px;font-weight:600}
body .trend-reward-table>.trend-reward-head>span{font-size:10px;line-height:13px;font-weight:600}
body .trend-bookings{background:var(--panel)}
body .trend-bookings h2{font-size:25px;line-height:33px}
body .trend-booking-shares{display:flex;gap:3px;width:100%;min-height:18px}
body .trend-booking-shares>i{display:block;height:18px;min-width:0;border:0;outline:0;border-radius:3px}
body .trends-page .outcome-arrived{background:#aec987}
body .trends-page .outcome-cancelled{background:var(--orange)}
body .trends-page .outcome-no_show{background:#b42b75}
body .trends-page .outcome-missing{background:var(--black)}
body .trend-outcome-legend{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-flow:column;grid-template-rows:auto auto;gap:8px 16px}
body .trend-outcome-legend>p{display:flex;gap:8px;align-items:center;font-size:12px;line-height:16px;font-weight:500}
body .trend-outcome-legend i{width:8px;height:8px;flex:0 0 8px;border:0;border-radius:50%}
body .trend-about{display:flex;width:100%;align-items:center;justify-content:space-between;padding:0;background:transparent;border:0;font-size:13px;line-height:16px;font-weight:500;min-height:44px}
body .trend-about>i{display:grid;place-items:center;border:1px solid var(--ink);border-radius:999px;width:44px;height:44px}
body .trends-page>.secondary{min-height:52px;font-size:16px;line-height:24px;font-weight:600;margin:0;padding:12px 16px;border-radius:999px}
body .trend-record-row{display:flex;justify-content:space-between;gap:12px}
body .trend-record-row>span:last-child{font-size:12px;color:var(--muted)}
body .trend-definition{display:flex;flex-direction:column;gap:8px;margin:20px 0}
body #trends-visible-form,body #trend-export-form,body #confirm-trend-export{display:flex;flex-direction:column;gap:16px}
body .trend-export-columns{display:flex;flex-direction:column;gap:8px}
body .trend-export-preview{max-width:100%;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:12px;font-size:12px}
body .trends-individual{color:#f5f2e9}
body .trends-individual h1{font-size:28px;line-height:37.8px}
body .trends-individual .trend-owner-label{line-height:13.5px;color:#b2b3aa}
body .trend-member-scope{font-size:12px;line-height:16.2px;color:var(--muted)}
body .trends-individual .trend-card{padding:20px;gap:12px}
body .trends-individual .trend-card h3{font-size:19px;line-height:25.65px}
body .trend-member-visits{background:#f5f2e9}
body .trend-member-visits h2{font-size:32px;line-height:43.2px}
body .trend-member-visits>p{font-size:13px;line-height:17.55px}
body .trends-individual .trend-weekday-plot i.is-zero{background:var(--black);opacity:.18}
body .trends-individual .trend-card .trend-note{font-size:12px;line-height:16.2px}
body .trend-member-track{height:10px;width:100%;border-radius:5px;background:var(--line);overflow:hidden}
body .trend-member-track>i{display:block;height:100%;background:var(--black);border-radius:5px}
body .trend-member-bookings>strong{font-size:42px;line-height:48px;font-weight:600}
body .trend-member-bookings>p{font-size:14px;line-height:18.9px}
body .trend-member-choices{background:var(--surface);color:#f5f2e9}
body .trend-member-choices>p{font-size:13px;line-height:17.55px;font-weight:500}
body .trend-member-choices h4{font-size:15px;line-height:20.25px;font-weight:600}
body .trend-member-choices .trend-note{color:#b2b3aa}
body .trend-member-choices .trend-member-track{height:7px;border-radius:4px}
body .trend-member-choices .choice-0{background:var(--orange)}
body .trend-member-choices .choice-1{background:#f5b895}
body .trend-member-promises{background:#f5b895}
body .trend-member-promises>.foundation-progress{margin:0;width:100%;color:var(--ink);height:76px}
body .trend-member-promises>p{font-size:13px;line-height:17.55px}
body .trend-earned{display:flex;flex-direction:column;gap:6px;background:#f5f2e9;padding:14px;border-radius:24px}
body .trend-earned>strong{font-size:15px;line-height:20.25px;font-weight:600}
@media(max-width:359px){body .trend-choice-columns{grid-template-columns:minmax(0,1fr)}body .trend-flavour{grid-template-columns:90px minmax(0,1fr) 24px}body .trend-reward-table>div{grid-template-columns:minmax(0,1fr) 40px 40px}body .trend-return h3{font-size:18px;line-height:24px}}

/* Approved reporting shell: 50px nav, then 20px to the page heading. */
body.is-staff .shell:has(.trends-page)>.topbar{height:50px;min-height:50px;margin-bottom:20px}

/* Retained approved detail destinations: 804:18533/34/35, 1087:700/704/720,
   1090:8893. Local source tokens are kept local to these frames. */
body .trends-detail{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:20px;width:100%;min-width:0;background:#121313;border-radius:24px;color:#f5f2e9;font-size:14px;line-height:1.35;box-sizing:border-box}
body .trends-detail *{box-sizing:border-box}
body .trends-detail :is(p,h2,h3,h4){padding:0;margin:0;min-height:0;letter-spacing:0;text-align:left}
body .trends-detail h2{font-size:28px;font-weight:600;line-height:1.35}
body .trends-detail h3{font-size:17px;font-weight:600;line-height:1.35}
body .trends-detail h4{font-size:20px;font-weight:600;line-height:1.35}
body .trends-detail .td-muted{color:#b2b3aa}
body .trends-detail .td-eyebrow{font-size:10px;line-height:1.35;font-weight:500;color:#b2b3aa}
body .trends-detail .td-scope,body .trends-detail .td-small{font-size:12px;line-height:1.35}
body .trends-detail .td-note{font-size:13px;line-height:1.35}
body .trends-detail .td-outcome{font-size:16px;line-height:1.35}
body .trends-detail .td-total{font-size:52px;line-height:1.35;font-weight:600}
body .trends-detail .td-card{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:20px;width:100%;min-width:0;border-radius:24px;overflow-wrap:anywhere}
body .trends-detail .td-cream{background:#f1e8d5;color:#121313}
body .trends-detail .td-orange{background:#fe814a;color:#121313}
body .trends-detail .td-peach{background:#f5b895;color:#121313}
body .trends-detail .td-yellow{background:#f2d45e;color:#121313}
body .trends-detail .td-yellow .td-eyebrow{color:inherit}
body .trends-detail .td-surface{background:#20211f;color:#f5f2e9}
body .trends-detail .td-booking-total{font-size:34px;line-height:1.35;font-weight:600}
body .trends-detail .td-awaiting{font-size:14px;line-height:1.35;font-weight:500}
body .trends-detail .td-row{display:flex;flex-direction:column;gap:4px;min-width:0}
body .trends-detail .td-row>div{display:flex;align-items:flex-start;gap:12px}
body .trends-detail .td-row span{flex:1;min-width:0;overflow-wrap:anywhere}
body .trends-detail .td-row strong{font-size:14px;line-height:20px;font-weight:600;text-align:right;flex-shrink:0}
body .trends-detail .td-label{font-size:14px;line-height:20px;font-weight:600}
body .trends-detail .td-percentage{font-size:36px;line-height:41.4px;font-weight:500}
body .trends-detail .td-share{display:flex;flex-direction:column;gap:8px}
body .trends-detail .td-track{display:block;width:100%;height:8px;border-radius:24px;background:#222421;overflow:hidden}
body .trends-detail .td-track>i{display:block;height:8px;border-radius:8px;background:#fe814a}
body .trends-detail>.primary,body .trends-detail>.secondary{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;width:100%;padding:12px 16px;margin:0;border-radius:999px;font-size:16px;line-height:24px;font-weight:600;white-space:normal}
body .trends-detail>.secondary{border:1px solid #454741;color:#f5f2e9;background:transparent}
body .trends-detail>.primary{background:#f5f2e9;color:#101110;border:0}
body .td-modern{padding:24px 20px;gap:16px;border-radius:32px;color:#f5f3eb;font-size:14px;line-height:21px}
body .td-modern h2{line-height:33.6px}
body .td-modern h3{font-size:18px;line-height:25.2px}
body .td-modern .td-muted{color:#a9aaa3}
body .td-modern .td-eyebrow{font-size:12px;line-height:18px;font-weight:400;color:#fe814a}
body .td-modern .td-scope{font-size:14px;line-height:21px}
body .td-modern .td-small{line-height:18px}
body .td-visits{gap:16px}
body .trends-detail .td-visit{border:0;min-height:0;text-align:left;padding:14px;gap:5px}
body .trends-detail .td-visit strong{font-size:15px;line-height:1.35;font-weight:600}
body #modal.trends-detail-sheet{padding:0;background:#121313}
body #modal.trends-detail-sheet>.sheet-toolbar{display:none}
body #modal.trends-detail-sheet>.sheet-content{padding:0;gap:0}
body #modal.trends-detail-sheet>.sheet-content>.sheet-feedback:not([hidden]),body #modal.trends-detail-sheet>.sheet-content>.sheet-pending:not([hidden]){margin:20px}
