/* CONSENT (features/consent.js): "Footage from trips", the Settings sheet and the upload notice, drawn in the app's own
   grammar (D1, 26 Oct 2026). Every line is normal text size; Yes and No are one class, so one size, colour and style.
   The first screen: a full page like Settings (the title in the display face, numbered sections, the title again in a bar
   once it has scrolled away), rising and leaving on the sheet curve. Above the app and the sheets, below the Face ID lock.
   The two sheets: the app's sheet (#delsheet, #htsheet in features/j19.css) value for value, over a dim like #scrim. */
.cs-root{color:#FAF8F3;font-family:var(--ui);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;outline:0}
.cs-gate{position:fixed;inset:0;z-index:2147482500;background:#1E1E1E;transform:translate3d(0,100%,0);transition:transform .45s cubic-bezier(.32,.72,0,1)}
.cs-gate.on{transform:none}
.cs-wrap{position:absolute;inset:0;display:flex;flex-direction:column;min-height:0}
.cs-gate .cs-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;overflow-x:clip;overscroll-behavior-x:none;padding:calc(env(safe-area-inset-top) + 60px) 20px 24px}
/* the bar: the trip page's (.tp-nav), the title in it once the big one is gone */
.cs-bar{position:absolute;z-index:2;left:0;right:0;top:0;height:calc(env(safe-area-inset-top) + 60px);display:flex;align-items:flex-end;justify-content:center;padding-bottom:20px;
  background:rgba(30,30,30,.78);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);box-shadow:0 .5px 0 rgba(250,248,243,.1);opacity:0;transition:opacity .2s;pointer-events:none}
.cs-up .cs-bar{opacity:1}
.cs-inl{font:400 22px/1 var(--display);letter-spacing:-.02em;text-transform:uppercase;color:#FAF8F3;white-space:nowrap}
.cs-title{margin:2px 0 22px;font:400 64px/.86 var(--display);letter-spacing:-.02em;text-transform:uppercase;color:#FAF8F3;text-wrap:balance;overflow-wrap:anywhere}
.cs-p{margin:0 0 26px;font:400 16px/1.5 var(--ui);color:rgba(250,248,243,.9);text-wrap:pretty;overflow-wrap:anywhere}
.cs-blk{margin:0 0 34px;padding-top:16px;border-top:1px solid rgba(250,248,243,.12)}
.cs-h{margin:0 0 12px;font:600 16px/1.4 var(--ui);color:#FAF8F3;overflow-wrap:anywhere}
.cs-h span{margin-right:4px;font:500 13px/1 var(--mono);letter-spacing:-.02em;color:rgba(250,248,243,.36)}
.cs-q{margin:0 0 16px;padding:0 0 0 14px;border-left:2px solid rgba(250,248,243,.5);font:500 17px/1.45 var(--ui);color:#FAF8F3;overflow-wrap:anywhere}
/* the statement, then the two lines directly under it (the partners line, the release), in the same quote */
.cs-q p{margin:0}
.cs-q p+p{margin-top:10px}
.cs-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}
/* Yes and No: the profile page's outlined pill (.pf-btn), pressed the same way */
.cs-ans{display:flex;align-items:center;justify-content:center;min-height:56px;padding:10px 14px;border:0;border-radius:999px;background:rgba(250,248,243,.06);color:#FAF8F3;box-shadow:inset 0 0 0 1px rgba(250,248,243,.2);
  font:600 16px/1.2 var(--ui);letter-spacing:-.01em;text-align:center;overflow-wrap:anywhere;-webkit-tap-highlight-color:transparent;transition:transform .2s cubic-bezier(.2,.9,.24,1),background .2s}
.cs-ans:active{transform:scale(.96);background:rgba(250,248,243,.14)}
/* the chosen answer: a heavier outline and a check mark, never the filled pill that Continue is */
.cs-ans.on{background:rgba(250,248,243,.12);box-shadow:inset 0 0 0 2px #FAF8F3}
.cs-ans.on::before{content:'\2713';margin-right:8px;font-weight:700}
.cs-u{margin:16px 0 0;font:400 16px/1.5 var(--ui);color:rgba(250,248,243,.82);text-wrap:pretty;overflow-wrap:anywhere}
.cs-links{margin:0;font:500 16px/1.4 var(--ui);color:rgba(250,248,243,.7)}
.cs-links .cs-link{display:block}
.cs-link{display:inline-block;min-height:44px;line-height:44px;color:#FAF8F3;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(250,248,243,.4)}
/* Continue: the pay sheet's foot (.st-foot) and the trip page's primary button (.tp-lock) */
.cs-foot{flex:none;padding:16px 20px calc(env(safe-area-inset-bottom) + 16px);border-top:1px solid rgba(250,248,243,.1);background:#1E1E1E}
.cs-go{display:flex;align-items:center;justify-content:center;width:100%;min-height:54px;padding:0 20px;border:0;border-radius:999px;background:#E5E4E2;color:#1E1E1E;font:600 16px/1 var(--ui);letter-spacing:-.01em;
  -webkit-tap-highlight-color:transparent;transition:transform .2s cubic-bezier(.2,.9,.24,1),opacity .2s}
.cs-go:active{transform:scale(.96)}
.cs-go[disabled]{opacity:.32;transform:none}
.cs-err{margin:0 0 10px;font:500 16px/1.4 var(--ui);color:#FAF8F3}

/* the sheets: #delsheet and #htsheet (features/j19.css), on the page so they open over the profile page too */
.cs-dim{position:fixed;inset:0;z-index:2147482400;background:rgba(0,0,0,.55);opacity:0;visibility:hidden;transition:opacity .3s var(--ease),visibility .3s}
.cs-dim.on{opacity:1;visibility:visible}
#cnsheet{position:fixed;left:0;right:0;bottom:0;z-index:2147482401;display:flex;flex-direction:column;max-height:calc(100% - env(safe-area-inset-top) - 12px);border-radius:30px 30px 0 0;
  background:rgba(30,30,30,.98);-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);
  transform:translateY(105%);transition:transform .45s cubic-bezier(.32,.72,0,1);padding-top:10px}
#cnsheet.on{transform:none}
#cnsheet .grab{flex:none;width:38px;height:5px;border-radius:3px;background:rgba(250,248,243,.25);margin:0 auto 12px}
#cnsheet .cs-scroll{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;overflow-x:clip;overscroll-behavior-x:none;padding:4px 22px calc(28px + env(safe-area-inset-bottom))}
#cnsheet .cs-h{margin:22px 0 12px}
#cnsheet .cs-p{margin:14px 0 8px}
#cnsheet .cs-u{margin-bottom:18px}
#cnsheet .cs-err{margin:0 0 4px}
#cnsheet .j19-btn.ghost{margin-top:10px}
/* Settings: a row with a line under it wraps instead of being cut off */
#is-view .is-tw{flex:1;min-width:0;display:flex;flex-direction:column;padding:12px 0}
#is-view .is-tw .is-t{flex:none;white-space:normal;overflow:visible;text-overflow:clip}
#is-view .is-tw .is-s{margin-top:4px;font:400 16px/22px var(--ui);letter-spacing:-.004em;color:var(--is-fg)}
@media (prefers-reduced-motion:reduce){.cs-gate,#cnsheet,.cs-dim,.cs-bar{transition:none}.cs-ans:active,.cs-go:active{transform:none}}
/* the first screen is a full page: nothing of the app may sit on it or take a tap through it (13 Nov 2026, found on the phone: the tab bar drew over .cs-foot) */
html.cs-gate-on .tabbar,html.cs-gate-on #j19-tour,html.cs-gate-on #j19-tour-in{visibility:hidden!important;pointer-events:none!important}
