/* The app's look on the web: plain light silver, raised surfaces, glossy blue.
 *
 * The tokens and the surface classes are the app's own, from
 * docs/design/silver-redesign/source/base.css in the app repository, so a
 * screen here and the same screen on a phone are the same screen. What is
 * replaced is only the frame around them: the mockups draw a 412px phone, and
 * these pages are that column centred in the window, which is also the whole
 * width on a real phone.
 */
:root {
  --blue: #2455C5;
  --blue-hi: #3D6FE3;
  --blue-lo: #1A3F9A;
  --orange: #B34E26;          /* the TrulyAbled logo colour, used only for the logo */
  --ink: #0E1A33;
  --body: #2E3446;
  --muted: #4A4F5C;
  --light: rgba(255, 255, 255, 0.95);
  --shade: rgba(150, 152, 162, 0.5);
  --line: rgba(60, 64, 76, 0.18);
  --green: #1E6B34;
  /* The same as the phone app: Explain is a soft yellow everywhere and Get
     product a seafoam, both with dark text; Like is red so it is not taken
     for Save. */
  --yellow: #FCEDA8;
  --yellow-ink: #3A2A00;
  --yellow-edge: rgba(205, 170, 60, 0.55);
  --seafoam: #7FD8C3;
  --seafoam-ink: #053B33;
  --seafoam-edge: rgba(20, 90, 80, 0.22);
  --like: #B71C1C;
  /* Truly's own orange, for its name tag, as in the phone app. */
  --buddy: #B54D26;
  /* Set by the accessibility panel. Every size below is in rem, so one change
     here resizes the whole app the way a phone's text-size setting does. */
  --scale: 1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: calc(16px * var(--scale)); }

body {
  font-family: 'Jost', system-ui, sans-serif;
  background: #D2D4D8;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
/* The web app reads in Geist, as trulyabled.com/news does: Jost's small sizes
   blur on a Windows screen. Hindi letters come from Noto, which Geist lacks.
   The other pages sharing this sheet keep Jost. */
body.webapp { font-family: 'Geist', 'Noto Sans Devanagari', system-ui, sans-serif; }

/* The column the screens live in: the phone's 412px, and the whole width below
   that. min-height rather than height, so a long page scrolls instead of being
   cut off - something a phone mockup never has to answer for. */
.app {
  width: 100%;
  max-width: 412px;
  /* A fixed height, not a minimum: the tab bar and the sheets are placed
     against this box, and a screen too tall for it has to scroll inside it
     rather than push it open. At the largest text size most of them are. */
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(180deg, #EDEEF0 0%, #E3E4E7 100%);
  box-shadow: 0 0 60px rgba(20, 28, 48, 0.18);
  overflow: hidden;
}

/* One of these is shown at a time. A screen with its own .scroll never
   overflows here; the setup steps, which are one block from top to bottom, do
   once the text is large, so the screen itself scrolls. */
.view { display: none; flex: 1; flex-direction: column; min-height: 0; overflow-y: auto; }
.view.on { display: flex; }

.pad { padding: 0 20px; }
.spacer { flex: 1; }
.center { text-align: center; }
.hide { display: none !important; }

/* Everything above the tab bar scrolls; the bar floats over it. The room at
   the foot grows with the text size, as Truly in the corner does. */
.scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 4px 20px calc(48px + 5.25rem); }
.scroll.no-tabs { padding-bottom: 28px; }

/* raised and pressed-in surfaces */
.raised { background: linear-gradient(145deg, #F6F6F8 0%, #E6E7EA 55%, #D9DADE 100%);
  box-shadow: -5px -5px 12px var(--light), 6px 6px 14px var(--shade), inset 0 1px 0 rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.7); }
.pressed { background: #DFE0E3; box-shadow: inset 5px 5px 10px rgba(150,152,162,0.45), inset -5px -5px 10px rgba(255,255,255,0.95); }
.selected { background: linear-gradient(145deg, #EAF0FD, #DCE5FA); border: 1.5px solid var(--blue) !important;
  box-shadow: -4px -4px 10px var(--light), 5px 5px 12px rgba(36,85,197,0.22); }

/* glossy primary button */
.primary { position: relative; overflow: hidden; height: 3.75rem; border-radius: 18px; width: 100%;
  background: linear-gradient(180deg, var(--blue-hi) 0%, var(--blue) 52%, var(--blue-lo) 100%);
  box-shadow: 0 10px 22px rgba(36,85,197,0.42), 0 2px 4px rgba(20,40,100,0.3), inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 0 rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; font-size: 1.19rem; font-weight: 700; letter-spacing: 0.4px;
  font-family: inherit; border: none; cursor: pointer; }
.primary::before { content: ''; position: absolute; top: -40%; left: -30%; width: 45%; height: 180%;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0) 100%); transform: rotate(18deg); }
.primary::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0)); }
.primary .arrow { width: 2rem; height: 2rem; border-radius: 50%; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; font-size: 1.19rem; }
.primary.small { height: 2.875rem; border-radius: 14px; font-size: 0.97rem; }
.primary:disabled { opacity: 0.55; cursor: default; box-shadow: none; }
.primary:active:not(:disabled) { transform: translateY(1px); }

.pill { height: 2.875rem; padding: 0 15px 0 12px; border-radius: 999px; display: inline-flex; align-items: center; gap: 7px; font-size: 0.94rem; font-weight: 600; color: var(--ink); white-space: nowrap; font-family: inherit; cursor: pointer; }
.pill .mdi { font-size: 1.19rem; color: var(--blue); }
.pill.blue { color: var(--blue); font-weight: 700; }
.link { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; background: none; border: none; font-family: inherit; font-size: inherit; cursor: pointer; padding: 0; }

.title { font-size: 1.63rem; font-weight: 700; letter-spacing: -0.2px; color: var(--ink); }
.subtitle { font-size: 0.97rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.h-title { font-size: 1.69rem; font-weight: 700; letter-spacing: -0.2px; }
.chosen { font-size: 0.875rem; color: var(--muted); margin-top: 3px; font-weight: 500; }

.logo-disc { width: 6.5rem; height: 6.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.logo-disc img { width: 4.1rem; }

.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-weight: 600; font-size: 0.9rem; letter-spacing: 2px; }
.or .line { flex: 1; height: 2px; border-top: 1px solid rgba(60,64,76,0.25); border-bottom: 1px solid rgba(255,255,255,0.95); }

/* toggles */
.toggle { width: 52px; height: 30px; border-radius: 999px; position: relative; flex: none; border: none; padding: 0; cursor: pointer; }
.toggle.off { background: #D3D5DA; box-shadow: inset 2px 2px 5px rgba(150,152,162,0.6), inset -2px -2px 5px rgba(255,255,255,0.9); }
.toggle.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), 0 3px 8px rgba(36,85,197,0.35); }
.toggle::after { content: ''; position: absolute; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(145deg, #FFFFFF, #E2E3E6); box-shadow: 0 2px 4px rgba(0,0,0,0.25); transition: left .18s, right .18s; }
.toggle.off::after { left: 3px; }
.toggle.on::after { right: 3px; }

/* chips */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 2.375rem; padding: 0 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; color: var(--body); flex: none; font-family: inherit; cursor: pointer; }
.chip .mdi { font-size: 1.06rem; color: var(--blue); }
.chip.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.35), inset 0 1px 0 rgba(255,255,255,0.35); border: none; }
.chip.on .mdi { color: #fff; }
.chip.free { color: var(--green); }
.chip.free .mdi { color: var(--green); }

/* floating bottom tab bar (3 tabs) with the sliding highlight */
/* The sections, as a website keeps them: on a phone they slide in from the
   side behind the menu button, and from 900px they stand down the side for
   good (below). */
.tabbar { position: absolute; top: 0; bottom: 0; left: 0; width: min(17rem, 80%); z-index: 11;
  display: flex; flex-direction: column; gap: 6px; padding: 20px 12px; border-radius: 0 24px 24px 0;
  overflow-y: auto; transform: translateX(-105%); transition: var(--motion, transform .22s ease); }
.tabbar.open { transform: none; }
.tabbar .hl { display: none; }
.tabbar .t { flex: none; display: flex; align-items: center; gap: 14px; height: 3.25rem; padding: 0 16px;
  border-radius: 14px; font-size: 1rem; font-weight: 600; color: var(--muted); background: none; border: none;
  font-family: inherit; cursor: pointer; text-align: left; }
.tabbar .t .mdi { font-size: 1.38rem; color: var(--muted); line-height: 1; }
.tabbar .t.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo));
  box-shadow: 0 4px 10px rgba(36,85,197,0.3), inset 0 1px 0 rgba(255,255,255,0.35); }
.tabbar .t.on, .tabbar .t.on .mdi { color: #fff; }
/* TrulyAbled | by Kudrat Foundation, as trulyabled.com's header has it. */
.rail-brand { display: flex; align-items: center; gap: 12px; padding: 0 12px 14px; }
.rail-brand .lockup { height: 1.75rem; width: auto; display: block; }
.rail-brand .by-line { width: 1px; height: 1.6rem; background: var(--line); }
.rail-brand .by { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 500;
  color: var(--muted); text-decoration: none; opacity: 0.85; transition: var(--motion, opacity .15s ease); }
.rail-brand .by:hover { opacity: 1; }
.rail-brand .by img { height: 1.15rem; width: auto; display: block; }
/* Accessibility in the top bar, and Categories beside the search: laptop only (below). */
.tabbar .t-access, .search .cats { display: none; }
.t-access, .search .cats { flex: none; height: 2.75rem; padding: 0 16px; border-radius: 999px; align-items: center; gap: 8px;
  font-size: 0.94rem; font-weight: 600; color: var(--ink); font-family: inherit; cursor: pointer; border: none; }
.search .cats { height: 3.25rem; }
.t-access .mdi, .search .cats .mdi { font-size: 1.25rem; color: var(--blue); }
/* Pressed in for a moment when clicked or tapped. */
.tabbar .t:active, .t-access:active, .search .cats:active { transform: translateY(1px) scale(0.98); }
.menu { position: absolute; top: calc(6px + 0.0625rem); left: 20px; z-index: 6; width: 2.75rem; height: 2.75rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.menu .mdi { font-size: 1.44rem; color: var(--blue); line-height: 1; }
.menu-scrim { position: absolute; inset: 0; z-index: 10; border: none; padding: 0; background: rgba(14,26,51,0.35); }
/* The logo is at the top of the sections now, and on a phone the menu
   button takes its place at the start of each section's bar. */
#v-solutions > .topbar > .disc, #v-saved > .topbar > .disc, #v-innovations > .topbar > .disc { display: none; }
#v-solutions > .topbar, #v-news > .topbar, #v-saved > .topbar, #v-innovations > .topbar { padding-left: calc(30px + 2.75rem); }

/* top bar used on the three tabs */
.topbar { flex: none; display: flex; align-items: center; justify-content: space-between; padding: 6px 20px 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .disc { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.brand .name { font-size: 1.25rem; font-weight: 700; letter-spacing: 2.5px; color: var(--ink); }
.icon-btn { width: 2.875rem; height: 2.875rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.38rem; color: var(--blue); font-family: inherit; cursor: pointer; }
/* The two words in the Solutions bar. On a narrow screen, or at a big text
   size, each word is dropped in turn and the pill becomes its icon alone,
   rather than being squashed or cut off at the edge. */
.topbar .pill { height: 2.875rem; padding: 0 16px; border-radius: 999px; display: flex; align-items: center; gap: 8px; font-size: 0.94rem; font-weight: 600; color: var(--ink); font-family: inherit; cursor: pointer; flex: none; }
.topbar .pill .mdi { font-size: 1.31rem; color: var(--blue); }
.topbar .pill.push { margin-left: auto; }
.topbar > .disc { width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; flex: none; }
.topbar > .disc img { width: 2.125rem; }
/* Accessibility loses its word first, so Categories keeps its word as long as
   there is any room for it: Categories is the one that changes what is on
   screen, and its icon alone says least. */
@media (max-width: 440px) {
  .topbar .pill.push span { display: none; }
  .topbar .pill.push { padding: 0; width: 2.875rem; justify-content: center; }
}
@media (max-width: 340px) {
  .topbar .pill span { display: none; }
  .topbar .pill { padding: 0; width: 2.875rem; justify-content: center; }
}

/* The logo is shown on its own everywhere: no round silver background behind it. */
.logo-disc, .brand .disc, .big-disc { background: none !important; box-shadow: none !important; border: none !important; }
.brand .disc img { width: 2.125rem; }

/* 1 Splash */
.splash { align-items: center; justify-content: center; }
.splash .big-disc { width: 9.4rem; height: 9.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.splash .big-disc img { width: 6rem; }
.splash .word { margin-top: 26px; font-size: 2rem; font-weight: 700; letter-spacing: 6px; text-shadow: 0 1px 0 #fff; }
.splash .by { margin-top: 6px; display: flex; align-items: center; gap: 6px; font-size: 0.94rem; color: var(--muted); font-weight: 500; }
.splash .by img { width: 1.125rem; mix-blend-mode: multiply; }
.splash .loader { position: absolute; bottom: 70px; left: 0; right: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.track { width: 190px; height: 6px; border-radius: 999px; overflow: hidden; }
.track .bar { width: 45%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue-hi), var(--blue)); animation: slide 1.4s ease-in-out infinite; }
@keyframes slide { 0% { margin-left: 0 } 50% { margin-left: 55% } 100% { margin-left: 0 } }
.splash .loader span { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* shared header for the setup steps */
.step-top { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px 0; min-height: 3.625rem; }
.head { text-align: center; padding: 10px 20px 0; }
.dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #C3C5CB; display: block; }
.dots i.on { width: 22px; border-radius: 999px; background: var(--blue); }
.foot { padding: 0 20px 36px; }

/* 2 Language */
.lang-cards { display: flex; gap: 14px; padding: 34px 20px 0; }
.lang { flex: 1; height: 9.4rem; border-radius: 22px; padding: 18px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; font-family: inherit; text-align: left; cursor: pointer; }
.lang .script { font-size: 1.88rem; font-weight: 700; }
.lang .script.hi { font-family: 'Noto Sans Devanagari', sans-serif; font-size: 1.75rem; }
.lang .en { font-size: 0.94rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.lang .tick { position: absolute; top: 14px; right: 14px; font-size: 1.63rem; color: var(--blue); }
.lang .ring { position: absolute; top: 16px; right: 16px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9EA1A9; }
.hint { margin: 22px 26px 0; display: flex; gap: 10px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; align-items: flex-start; }
.hint .mdi { font-size: 1.25rem; color: var(--blue); flex: none; }

/* 3 Accessibility */
.preview-label { font-size: 0.94rem; font-weight: 600; margin: 22px 26px 8px; }
.preview { margin: 0 20px; border-radius: 18px; padding: 18px; font-size: 1.19rem; font-weight: 500; }
.opts { margin: 18px 20px 0; border-radius: 20px; padding: 4px 16px; }
/* Wrapping, not shrinking: at the largest text size the label and four
   buttons no longer fit one line, and a squeezed button is the one thing this
   row must not produce. */
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.opt:last-child { border-bottom: none; }
.opt .txt { flex: 1; }
.opt .t1 { font-size: 1rem; font-weight: 600; }
.opt .t2 { font-size: 0.81rem; color: var(--muted); margin-top: 1px; }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.sz { width: 2.875rem; height: 2.625rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink); font-family: inherit; cursor: pointer; }
.sz.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.35), inset 0 1px 0 rgba(255,255,255,0.35); border: none; }

/* 4 Sign in, 16 Create account */
.si-top { display: flex; justify-content: space-between; padding: 12px 20px 0; }
.si-top .pill { min-width: 9.4rem; height: 3.125rem; justify-content: center; }
.si-logo { display: flex; justify-content: center; margin-top: 2.875rem; }
.si-logo .logo-disc { width: 8rem; height: 8rem; }
.si-logo .logo-disc img { width: 5.125rem; }
.field-label { font-size: 0.94rem; font-weight: 600; margin: 0 0 9px 6px; }
.field { height: 3.75rem; border-radius: 18px; display: flex; align-items: center; padding: 0 18px; gap: 12px; }
.field input { flex: 1; min-width: 0; background: none; border: none; outline: none; font-family: inherit;
  font-size: 1.19rem; font-weight: 500; color: var(--ink); letter-spacing: 1px; }
.field input::placeholder { color: #5A5F6B; letter-spacing: 1.5px; }
.cc { font-size: 1.19rem; font-weight: 700; padding-right: 12px; border-right: 1.5px solid rgba(20,26,40,0.2); height: 30px; display: flex; align-items: center; }
.socials { display: flex; gap: 16px; }
.social { flex: 1; height: 3.5rem; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.06rem; font-weight: 600; font-family: inherit; cursor: pointer; }
.social .mdi { font-size: 1.5rem; color: var(--blue); }
.social:disabled { opacity: 0.5; cursor: default; }
.create { height: 3.5rem; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.06rem; font-weight: 700; color: var(--blue); border: 1.5px solid rgba(36,85,197,0.5) !important; width: 100%; font-family: inherit; background: none; cursor: pointer; }
.bottom-row { display: flex; justify-content: space-between; align-items: center; padding: 0 22px 34px; gap: 12px; }

/* 5 Enter the OTP */
.otp-text { text-align: center; font-size: 1.03rem; color: var(--body); line-height: 1.5; margin-top: 26px; padding: 0 30px; }
.otp-num { text-align: center; font-size: 1.19rem; font-weight: 700; margin-top: 4px; }
.otp-num .link { font-size: 0.9rem; margin-left: 8px; }
.boxes { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.box { width: 4.125rem; height: 4.625rem; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700;
  text-align: center; font-family: inherit; color: var(--ink); border: none; padding: 0; }
.box:focus { outline: none; border: 2px solid var(--blue); box-shadow: inset 4px 4px 8px rgba(150,152,162,0.4), inset -4px -4px 8px rgba(255,255,255,0.9), 0 0 0 4px rgba(36,85,197,0.12); }
.wait { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; font-size: 0.94rem; color: var(--muted); font-weight: 500; }
.timer { height: 2.25rem; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 1rem; color: var(--ink); }
.timer .mdi { color: var(--blue); font-size: 1.125rem; }

/* 6 Choose categories */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 20px 12px; align-content: start; }
/* Name on top, icon at the bottom. A long name pushes the icon down instead of running into it. */
.cat { min-height: 7.5rem; border-radius: 18px; padding: 13px 14px; position: relative; text-align: left; font-family: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cat .nm { font-size: 0.9rem; font-weight: 600; line-height: 1.25; padding-right: 28px; }
.cat .ck { position: absolute; top: 11px; right: 11px; font-size: 1.5rem; color: #8E929B; }
.cat.selected .ck { color: var(--blue); }
.cat .ic { font-size: 2.125rem; line-height: 1; color: var(--blue); }
.cat-foot { flex: none; padding: 14px 20px 34px; border-top: 1px solid rgba(255,255,255,0.9); box-shadow: 0 -1px 0 var(--line); background: linear-gradient(180deg, #E8E9EC, #E3E4E7); }
.count { text-align: center; font-size: 0.875rem; color: var(--muted); font-weight: 600; margin-bottom: 10px; }

/* 7 Solutions tab, 15 Type of solution */
.search { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
/* min-width 0, or the box keeps its input's width and pushes the mic onto a line of its own on a small phone. */
.search .box { flex: 1; min-width: 0; height: 3.25rem; border-radius: 16px; display: flex; align-items: center; gap: 8px; padding: 0 14px; width: auto; }
.search .box .mdi { font-size: 1.31rem; color: var(--muted); }
.search .box .mdi-creation { color: var(--blue); }
.search .box input { flex: 1; min-width: 0; background: none; border: none; outline: none; font-family: inherit; font-size: 0.94rem; font-weight: 500; color: var(--ink); }
.search .box input::placeholder { color: #5A5F6B; }
/* Search, the whole width under the box and the mic, as in the phone app. */
.search .go { flex: 1 0 100%; height: 3.125rem; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  gap: 8px; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue) 52%, var(--blue-lo));
  box-shadow: 0 10px 22px rgba(36,85,197,0.32), 0 2px 4px rgba(20,40,100,0.3), inset 0 1px 0 rgba(255,255,255,0.45), inset 0 -2px 0 rgba(0,0,0,0.18);
  transition: var(--motion, transform .15s ease, box-shadow .15s ease, filter .15s ease); }
.search .go .mdi { font-size: 1.38rem; }
.search .go:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.search .go:disabled { opacity: 0.45; cursor: default; }
.filters { display: flex; gap: 8px; margin-top: 10px; }
.filters .push { margin-left: auto; }
.chip .mdi-close { color: var(--muted); margin-left: 2px; }
/* Read by a screen reader, not shown. */
.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; }
.chip .mdi-chevron-right { color: var(--muted); margin-left: 2px; }
/* The chosen categories, above the search box. The row scrolls sideways and
   comes to rest with a whole chip at the left; the fade at the right edge is
   what says there are more. */
/* A row that scrolls clips whatever spills out of it, shadows included, so it
   is given room for them on every side and a softer shadow to fill it. */
.chips { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 8px;
  padding: 8px 20px 14px 8px; margin: -8px -20px -2px -8px; scrollbar-width: none; }
.chips .chip.raised { box-shadow: -3px -3px 7px var(--light), 3px 4px 8px var(--shade), inset 0 1px 0 rgba(255,255,255,0.9); }
.chips::-webkit-scrollbar { display: none; }
.chips:empty { display: none; }
.chips .chip { scroll-snap-align: start; }
.chips .chip.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.35), inset 0 1px 0 rgba(255,255,255,0.35); }
.chips .chip.on .mdi { color: #fff; }
.chips .chip .bare { border: none; background: none; padding: 0; font-family: inherit; font-size: inherit; font-weight: inherit; color: inherit; cursor: pointer; white-space: nowrap; }
.chips .chip .drop { display: flex; align-items: center; margin: 0 -6px 0 2px; padding: 4px; border-radius: 50%; border: none; background: none; color: inherit; font-family: inherit; cursor: pointer; }
.chips .chip .drop .mdi { font-size: 1.06rem; color: inherit; opacity: 0.75; }
/* Clearing what was typed, inside the search box. */
.search .box .wipe { border: none; background: none; padding: 0 2px; display: flex; align-items: center; color: var(--muted); cursor: pointer; font-family: inherit; }

/* Type: one row for each chosen category, opening to its subcategories. */
.type-group { margin: 0 20px 12px; border-radius: 18px; overflow: hidden; }
.type-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; border: none; background: none; font-family: inherit; text-align: left; color: inherit; cursor: pointer; }
.type-head .mdi { font-size: 1.44rem; color: var(--blue); flex: none; }
.type-head .nm { flex: 1; font-size: 1rem; font-weight: 600; }
.type-head .many { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.type-body { padding: 0 16px 8px; }
.type-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 0; border: none; border-top: 1px solid var(--line); background: none; font-family: inherit; text-align: left; color: inherit; cursor: pointer; font-size: 0.94rem; }
.type-row .mdi { font-size: 1.44rem; color: #8E929B; flex: none; }
.type-row.ticked .mdi { color: var(--blue); }

/* The whole card opens Know more, so it is a pointer everywhere except over
   the text of an explanation, which is there to be read. */
/* A column whose price and buttons sit at the bottom, so in a row of cards
   they line up whatever the length of each name and description. */
.sol { display: flex; flex-direction: column; border-radius: 20px; padding: 15px 15px 13px; margin-top: 14px; cursor: pointer;
  transition: var(--motion, transform .2s ease, box-shadow .2s ease); }
.sol .asking { margin-top: auto; padding-top: 11px; }
/* With a mouse, a card rises to meet it, the way a website shows what can be
   opened. Nothing moves for anyone who has turned movement down. */
@media (hover: hover) {
  .sol:hover { transform: translateY(-4px);
    box-shadow: -6px -6px 14px rgba(255,255,255,0.95), 10px 14px 26px rgba(120,124,138,0.45), inset 0 1px 0 rgba(255,255,255,0.9); }
  .act, .webapp .outline-sm, .chip, .tabbar .t, .pager .turn { transition: var(--motion, transform .15s ease, background-color .15s ease, box-shadow .15s ease); }
  .act:hover, .chip:hover, .pager .turn:hover:not([disabled]) { transform: translateY(-2px); }
  .webapp .outline-sm:hover { background: #EAF0FD; }
  .tabbar .t:not(.on):hover { background: rgba(36,85,197,0.08); color: var(--blue); }
  .tabbar .t:not(.on):hover .mdi { color: var(--blue); }
  /* The top bar's buttons rise a little under the mouse, as the cards do. */
  .t-access, .search .cats { transition: var(--motion, transform .15s ease, box-shadow .15s ease, filter .15s ease); }
  .tabbar .t:hover, .t-access:hover, .search .cats:hover { transform: translateY(-2px); }
  .tabbar .t.on:hover, .t-access:hover, .search .cats:hover { filter: brightness(1.05); }
  .news { transition: var(--motion, transform .2s ease, box-shadow .2s ease); }
  .news:hover { transform: translateY(-3px); }
  .news:hover .img img { transform: scale(1.04); }
  .regions button:not(.on):hover, .seg button:not(.on):hover { color: var(--blue); }
  .cal-day:not(:disabled):not(.on):hover { background: rgba(36,85,197,0.08); }
  /* Explain and Get product give a small shake when pointed at - the two
     things on a card most worth doing. */
  .act-big:hover { animation: buzz .45s ease; filter: brightness(1.04); }
}
@keyframes buzz {
  0%, 100% { transform: translateX(0) rotate(0); }
  20% { transform: translateX(-2px) rotate(-1.5deg); }
  40% { transform: translateX(2px) rotate(1.5deg); }
  60% { transform: translateX(-1.5px) rotate(-1deg); }
  80% { transform: translateX(1.5px) rotate(1deg); }
}
.sol .explained { cursor: auto; }
.sol-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(36,85,197,0.10); color: var(--blue-lo); }
/* A long kind, like "Walking aids (canes, crutches, walkers, rollators)",
   wraps inside its pill in the app rather than pushing the card wider. */
.webapp .tag { line-height: 1.5; padding: 3px 10px; min-width: 0; }
.sol .cat-name { font-size: 0.78rem; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.sol h3 { font-size: 1.09rem; font-weight: 700; margin-top: 9px; line-height: 1.3; }
/* Checked against the seller by a person: the phone app's white pill with a
   blue tick and the word, so nobody has to learn what a bare mark means. */
.verified { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 3px 10px 3px 4px;
  border-radius: 999px; background: #fff; border: 1px solid rgba(36,85,197,0.35);
  font-size: 0.81rem; font-weight: 600; color: var(--blue); white-space: nowrap; }
.verified .mdi { font-size: 1.25rem; line-height: 1; color: #1877F2; }

/* Over the picture's top corner, and staying there while the pictures are
   stepped through - it belongs to the solution, not to any one photograph.
   A solution with no picture keeps its mark in the row below. */
.shots .verified { position: absolute; top: 9px; right: 9px; z-index: 2; box-shadow: 0 2px 8px rgba(20,26,40,0.18); }
.sol p { font-size: 0.84rem; color: var(--body); line-height: 1.5; margin-top: 5px; }
.facts { display: flex; gap: 14px; margin-top: 9px; font-size: 0.81rem; font-weight: 600; flex-wrap: wrap; }
.facts span { display: flex; align-items: center; gap: 4px; }
.facts .mdi { color: var(--blue); font-size: 1rem; }
/* What it costs, and the way in. The tilde says the price is the last one
   seen at the seller, not a quote. */
/* Wrapping, because the price and the button cannot both be made narrower:
   at the largest text size they stop fitting side by side, and a row that
   does not wrap puts Know more off the edge of the card instead. */
.asking { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; flex-wrap: wrap; }
.asking .cost { font-size: 1.19rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.asking .cost.none { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.asking .outline-sm { max-width: 100%; }

/* A row of buttons, as the shared-solution and not-found pages use it. */
.acts { display: flex; gap: 10px; margin-top: 10px; align-items: center; }
.acts .primary { flex: 1; text-decoration: none; }

/* The buttons under a solution, on its card and in Know more, as in the phone
   app: Like, Save and Share each with its word, then Explain and Get product
   side by side. */
.acts-row { display: flex; gap: 8px; margin-top: 10px; }
.act { flex: 1; min-width: 0; height: 2.875rem; padding: 0 6px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-family: inherit; font-size: 0.84rem; font-weight: 600; color: var(--blue); cursor: pointer; }
.act .mdi { font-size: 1.13rem; flex: none; }
.act span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act.like { color: var(--like); }
.act.like[aria-pressed="true"] { background: linear-gradient(145deg, #FDEEEE, #F8DADA); border-color: #E9B3B3; }
.act[data-save][aria-pressed="true"] { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo));
  color: #fff; border-color: transparent; box-shadow: 0 4px 10px rgba(36,85,197,0.35), inset 0 1px 0 rgba(255,255,255,0.35); }
.act-big { position: relative; overflow: hidden; flex: 1; min-width: 0; height: 3rem; padding: 0 6px;
  border-radius: 16px; border: 1.5px solid; display: flex; align-items: center; justify-content: center;
  gap: 5px; font-family: inherit; font-size: 0.88rem; font-weight: 700; text-decoration: none;
  white-space: nowrap; cursor: pointer; }
.act-big .mdi { font-size: 1.13rem; flex: none; position: relative; z-index: 1; }
.act-big.explain { color: var(--yellow-ink); border-color: var(--yellow-edge);
  background: linear-gradient(180deg, #FEF5D2, var(--yellow));
  box-shadow: 0 4px 10px rgba(180,150,60,0.18), inset 0 1px 0 rgba(255,255,255,0.6); }
.act-big.explain:disabled { cursor: default; }
.act-big.get { color: var(--seafoam-ink); border-color: var(--seafoam-edge);
  background: linear-gradient(180deg, #B8EDE0 0%, var(--seafoam) 52%, #57C0A8 100%);
  box-shadow: 0 6px 14px rgba(20,110,95,0.22), inset 0 1px 0 rgba(255,255,255,0.7); }
/* The quieter button, in blue outline: Know more on a card. */
.outline-sm { height: 2.875rem; padding: 0 16px; border-radius: 14px; display: flex; align-items: center; gap: 6px; font-size: 0.94rem; font-weight: 600; color: var(--blue); border: 1.5px solid rgba(36,85,197,0.5) !important; background: none; font-family: inherit; cursor: pointer; flex: none; }
/* The pictures of a solution, swiped through, with a dot for each. */
.shots { margin: -15px -15px 12px; border-radius: 20px 20px 0 0; overflow: hidden; position: relative; background: #FFF; }
/* flex-start, or each picture is stretched to the row's own height, which
   is nothing until a picture gives it one. */
.shots .reel { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots .reel::-webkit-scrollbar { display: none; }
.shots img { flex: none; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; scroll-snap-align: center; background: #FFF; }
.shots .step { position: absolute; top: 50%; transform: translateY(-50%); width: 2.125rem; height: 2.125rem;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #F6F6F8 0%, #E6E7EA 55%, #D9DADE 100%); color: var(--blue);
  font-size: 1.38rem; font-family: inherit; border: 1px solid rgba(255,255,255,0.7); cursor: pointer;
  box-shadow: -3px -3px 8px rgba(255,255,255,0.95), 4px 4px 10px rgba(150,152,162,0.5);
  transition: var(--motion, opacity .18s, transform .15s); }
.shots .step.back { left: 8px; }
.shots .step.on-ward { right: 8px; }
.shots .step:hover:not([disabled]) { transform: translateY(-50%) scale(1.08); }
/* Faded rather than removed: the pictures must not shift when an end is reached. */
.shots .step[disabled] { opacity: 0.35; pointer-events: none; }
.shots .shot-off { flex: none; width: 100%; aspect-ratio: 4 / 3; display: flex; align-items: center;
  justify-content: center; background: #FFF; color: #7C808B; font-size: 2.5rem; }

.shots .dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; gap: 5px; justify-content: center; }
.shots .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(20,26,40,0.28); display: block; transition: width .18s, background .18s; }
.shots .dots i.on { width: 16px; border-radius: 999px; background: var(--blue); }

.explained { margin-top: 12px; border-radius: 14px; padding: 13px 14px; font-size: 0.875rem; line-height: 1.55; color: var(--body); }
.explained b { color: var(--ink); display: block; margin-bottom: 2px; font-size: 0.78rem; letter-spacing: 0.5px; text-transform: uppercase; }
.explained .part + .part { margin-top: 10px; }

/* 8 News tab, 12 Pick a date, 13 News loading, 14 Could not load */
.daily { display: inline-flex; align-items: center; gap: 6px; height: 1.63rem; padding: 0 11px; border-radius: 999px; font-size: 0.66rem; font-weight: 700; letter-spacing: 1.6px; color: var(--blue-lo); }
.daily i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); display: block; }
.seg { display: flex; padding: 4px; border-radius: 16px; margin-top: 12px; }
.seg button { flex: 1; height: 2.625rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; font-weight: 600; color: var(--body); background: none; border: none; font-family: inherit; cursor: pointer; }
.seg button.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.35), inset 0 1px 0 rgba(255,255,255,0.35); }
/* The News controls: the language and the days as two switches the full
   width, then Global or India with the calendar beside them. */
#news-lang, #news-days { margin-top: 12px; }
#news-lang button:lang(hi) { font-family: 'Noto Sans Devanagari', sans-serif; }
.region-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.regions { display: flex; border-bottom: 1.5px solid var(--line); }
.regions button { position: relative; height: 3rem; padding: 0 16px; display: flex; align-items: center; gap: 8px;
  border: none; background: none; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--muted); cursor: pointer; }
.regions button .mdi { font-size: 1.25rem; }
.regions button.on { color: var(--blue); }
.regions button.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1.5px; height: 3px; border-radius: 3px; background: var(--blue); }
.regions .flag, .in-india .flag { width: 1.4rem; height: 0.95rem; border-radius: 2px; flex: none;
  background: radial-gradient(circle, #000080 0 1.5px, transparent 2px), linear-gradient(#FF9933 33.3%, #fff 33.3% 66.6%, #138808 66.6%);
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15); }
.region-row .icon-btn { margin-left: auto; }
.region-row .icon-btn.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; }
#news-topic-chip { margin-top: 12px; }

/* Pick a date: a month of days, the empty ones greyed. */
.cal-month { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; }
.cal-month .step { width: 2.5rem; height: 2.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--blue); font-family: inherit; cursor: pointer; }
.cal-month .step:disabled { opacity: 0.35; cursor: default; }
.cal-name { flex: 1; text-align: center; font-size: 1.03rem; font-weight: 600; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-head { text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal-day { aspect-ratio: 1; max-height: 3rem; border-radius: 12px; border: none; background: none; font-family: inherit;
  font-size: 0.97rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.cal-day:disabled { color: var(--muted); opacity: 0.4; cursor: default; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px rgba(36,85,197,0.5); }
.cal-day.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.3); }
.sheet .hint { margin: 14px 0 0; }
.cal-acts { display: flex; gap: 10px; margin-top: 16px; }
.cal-acts .outline-btn { flex: 1; }
.cal-acts .primary { flex: 2; height: 3.25rem; border-radius: 16px; }
/* A column whose last part - Read, the source and Explain - sits at the
   bottom, so cards side by side line up as on trulyabled.com/news. */
.news { border-radius: 20px; overflow: hidden; margin-top: 14px; display: flex; flex-direction: column; }
.news .img { flex: none; aspect-ratio: 16 / 9; background: #D9DADE; position: relative; overflow: hidden; }
.news .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: var(--motion, transform .45s ease); }
.badge { position: absolute; z-index: 1; top: 12px; left: 12px; font-size: 0.72rem; font-weight: 600; color: #fff; padding: 5px 10px; border-radius: 999px; background: var(--blue); }
.news .body { flex: 1; display: flex; flex-direction: column; padding: 14px 15px; }
.news-foot { margin-top: auto; }
.news-foot .meta { display: block; }
.news h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.news p { font-size: 0.84rem; color: var(--body); line-height: 1.55; margin-top: 7px; }
.read { display: flex; justify-content: flex-end; align-items: center; gap: 3px; color: var(--blue); font-weight: 600; font-size: 0.875rem; margin-top: 8px; text-decoration: none; }
/* A story explained: simple Hindi under the summary, as in the phone app. */
.news-said { margin-top: 10px; padding: 10px 13px; border-radius: 0 10px 10px 0; background: #EAF0FD;
  border-left: 3px solid var(--blue); font-size: 0.94rem; line-height: 1.8; color: var(--ink);
  font-family: 'Noto Sans Devanagari', 'Jost', sans-serif; }
.news .news-explain { width: 100%; flex: none; margin-top: 12px; }
.divider { height: 2px; border-top: 1px solid rgba(60,64,76,0.18); border-bottom: 1px solid rgba(255,255,255,0.9); margin: 8px 0 10px; }
.meta { font-size: 0.78rem; color: var(--muted); font-weight: 500; }
.skeleton { border-radius: 20px; overflow: hidden; margin-top: 14px; }
.skeleton .img { aspect-ratio: 16 / 9; }
.skeleton .img, .skeleton .ln { background: linear-gradient(90deg, #DFE0E3 25%, #E9EAEC 50%, #DFE0E3 75%); background-size: 400% 100%; animation: shimmer 1.3s linear infinite; }
.skeleton .ln { height: 0.875rem; border-radius: 6px; margin: 10px 15px 0; }
.skeleton .ln.short { width: 45%; }
.skeleton .ln:last-child { margin-bottom: 15px; }
@keyframes shimmer { 0% { background-position: 100% 0 } 100% { background-position: 0 0 } }

/* 9 About tab */
.about-head { flex: none; display: flex; flex-direction: column; align-items: center; padding: 8px 20px 10px; }
.about-head .word { font-size: 1.25rem; font-weight: 700; letter-spacing: 3px; margin-top: 10px; }
.about-head .by { display: flex; align-items: center; gap: 5px; font-size: 0.81rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.about-head .by img { width: 0.94rem; mix-blend-mode: multiply; }

/* 9 Profile. On a phone, the account and the menu are one card, and a part
   opens in its place with Back. From 900px, the menu is on the left and the
   open part on the right (see the 900px block). */
.pf { display: flex; flex-direction: column; gap: 18px; }
.pf-part[hidden] { display: none; }
.pf-side, .pf-main { border-radius: 22px; padding: 18px 16px; }
.pf-main { display: none; }
#v-about.pf-open .pf-main { display: block; }
#v-about.pf-open .pf-side, #v-about.pf-open .about-head { display: none; }
/* Room above an open part for the menu button in the corner. */
#v-about.pf-open .scroll { padding-top: calc(16px + 2.75rem); }
.pf-back { margin-bottom: 16px; }
.pf .field:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
/* A bigger place to tap than the switch itself draws. */
.pf .toggle::before { content: ''; position: absolute; inset: -8px; }

.pf-who { display: flex; align-items: center; gap: 14px; }
.pf-avatar { width: 3.75rem; height: 3.75rem; border-radius: 50%; flex: none; display: flex; align-items: center;
  justify-content: center; background: rgba(36, 85, 197, 0.12); color: var(--blue); font-size: 1.6rem; }
.pf-avatar.letters { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.5px; }
.pf-who-tx { min-width: 0; }
.pf-name { font-size: 1.06rem; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.pf-how { font-size: 0.85rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.pf-signin { margin-top: 16px; height: auto; min-height: max(44px, 2.875rem); font-size: 1rem; gap: 8px; }
.pf-signin .mdi { font-size: 1.2rem; }

.pf-menu { display: flex; flex-direction: column; margin-top: 12px; }
.pf-item { display: flex; align-items: center; gap: 12px; width: 100%; min-height: max(44px, 3.25rem); padding: 6px 12px;
  border: none; border-radius: 14px; background: none; font-family: inherit; font-size: 1rem; font-weight: 600;
  color: var(--ink); text-align: left; cursor: pointer; }
.pf-item > .mdi:first-child { flex: none; font-size: 1.3rem; color: var(--blue); }
.pf-item span { flex: 1; min-width: 0; }
.pf-chev { flex: none; font-size: 1.25rem; color: var(--muted); }
/* A line between rows on a phone. Your account may be hidden, so the line
   goes on every row after the first one shown. */
.pf-item:not(.hide) ~ .pf-item { border-top: 1px solid var(--line); border-radius: 0; }

.pf-h { font-size: 1.6rem; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; }
.pf-h:focus { outline: none; }
.pf-sub { font-size: 0.97rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.pf-h3 { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }
.pf-small { font-size: 0.85rem; color: var(--muted); line-height: 1.5; margin-top: 12px; }
.pf-quiet { color: var(--muted); font-weight: 500; font-size: 0.85em; }
.pf-gap { margin-top: 16px; }
.pf-gap-sm { margin-top: 10px; }
.pf-save { width: auto; height: auto; min-height: max(44px, 2.875rem); padding: 0 22px; gap: 8px; }
.pf-save .mdi { font-size: 1.15rem; }
.pf-short { max-width: 12rem; }

/* 1 Your account */
.pf-rows { margin-top: 14px; }
.pf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label act" "value act";
  column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pf-label { grid-area: label; font-size: 0.85rem; color: var(--muted); }
.pf-value { grid-area: value; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1rem;
  font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.pf-act, .pf-noact { grid-area: act; }
.pf-act { min-height: max(44px, 2.75rem); padding: 0 10px; border: none; border-radius: 10px; background: none;
  font-family: inherit; font-size: 0.97rem; font-weight: 700; color: var(--blue); cursor: pointer; }
.pf-badge { padding: 2px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; color: var(--green);
  background: rgba(30, 107, 52, 0.12); }
.pf-row.editing { grid-template-columns: minmax(0, 1fr); grid-template-areas: "label" "edit"; }
.pf-edit { grid-area: edit; margin-top: 8px; }
.pf-edit .field, .pf-ask .field { height: 3.25rem; }
.pf-edit-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.pf-edit-acts .link { min-height: 44px; }
.pf-roles { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-role { min-height: max(44px, 2.75rem); padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line);
  background: none; font-family: inherit; font-size: 0.94rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.pf-role.on { border-color: var(--blue); background: rgba(36, 85, 197, 0.12); color: var(--blue); }
.pf-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.pf-btn { min-height: max(44px, 3rem); padding: 0 18px; border-radius: 14px; display: inline-flex; align-items: center;
  gap: 8px; border: 1.5px solid rgba(36, 85, 197, 0.5); background: none; font-family: inherit; font-size: 0.97rem;
  font-weight: 700; color: var(--blue); cursor: pointer; }
.pf-btn .mdi { font-size: 1.2rem; }
.pf-btn.danger { color: #A3261B; border-color: rgba(163, 38, 27, 0.45); }
.pf-ask { margin-top: 14px; padding: 16px; border-radius: 16px; }
.pf-ask-t { font-size: 1.06rem; font-weight: 700; color: var(--ink); }
.pf-ask .pf-small { margin-top: 6px; }
.pf-ask .field { margin-top: 10px; }

/* 2 Reading options */
.pf-preview { margin-top: 18px; padding: 14px 16px; border-radius: 16px; }
.pf-preview-t { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.pf-preview-x { margin-top: 4px; font-size: 1.12rem; font-weight: 500; color: var(--ink); }
.pf-set { padding: 16px 0; cursor: default; }
.pf-sizes { flex: 0 1 26rem; min-width: 0; margin-top: 0; }
.pf-sizes button { min-height: 44px; padding: 0 10px; white-space: nowrap; }
.pf-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; text-decoration: none; }
.pf-reset .mdi { font-size: 1.2rem; }

/* 3 Explain language */
.pf-choices { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.pf-choice { display: flex; align-items: center; gap: 12px; min-height: max(44px, 3.75rem); padding: 0 16px;
  border-radius: 16px; font-family: inherit; font-size: 1.06rem; font-weight: 600; color: var(--ink); text-align: left;
  cursor: pointer; }
.pf-choice .mdi-volume-high { font-size: 1.2rem; color: var(--blue); }
.pf-choice.selected { color: var(--blue); }

/* A yellow note, for something to keep in mind. */
.pf-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 14px;
  font-size: 0.92rem; font-weight: 500; line-height: 1.5; }
.pf-note .mdi { flex: none; font-size: 1.2rem; line-height: 1.25; }
.pf-note.warn { color: #6B4A05; background: rgba(214, 160, 30, 0.16); border: 1px solid rgba(180, 130, 20, 0.35); }

/* 4 What you need */
.pf-needs-top { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pf-needs-top .link { min-height: 44px; text-decoration: none; }
.pf-count { padding: 6px 12px; border-radius: 999px; background: rgba(36, 85, 197, 0.12); color: var(--blue);
  font-size: 0.9rem; font-weight: 700; }
.pf-needs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
.pf-needs .empty { grid-column: 1 / -1; }
.pf-need { display: flex; align-items: center; gap: 10px; min-height: max(44px, 3.5rem); padding: 8px 12px;
  border-radius: 14px; font-family: inherit; font-size: 0.94rem; font-weight: 600; color: var(--ink); text-align: left;
  cursor: pointer; }
.pf-need .box { flex: none; font-size: 1.35rem; color: #8E929B; }
.pf-need .ic { flex: none; font-size: 1.25rem; color: var(--blue); }
.pf-need span { min-width: 0; }
.pf-need.selected, .pf-need.selected .box { color: var(--blue); }
#pf-needs-save { margin-top: 18px; }

/* The list of cards in About and privacy */
.pf-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 16px; }

/* 5 Help and contact */
.pf-two { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 6px; }
.pf-form .pf-h3 { margin-top: 16px; }
.pf-reply { max-width: 20rem; margin-top: 0; }
.pf-reply button { min-height: 44px; }
.pf-area { height: auto; padding: 12px 18px; }
.pf-area textarea { flex: 1; min-height: 5rem; background: none; border: none; outline: none; font-family: inherit;
  font-size: 1rem; color: var(--ink); resize: vertical; }
.pf-counter { margin-top: 6px; text-align: right; font-size: 0.8rem; color: var(--muted); }
#pf-help-send { margin-top: 16px; }
.pf-ways { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-content: start; }
.pf-logo { width: 1.5rem; }

/* 6 About and privacy */
.pf-still { cursor: default; }
.pf-stores { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 16px 14px; }
.pf-stores .outline-sm { height: auto; min-height: max(44px, 2.875rem); text-decoration: none; }
.pf-foot { margin-top: 18px; }
.card { border-radius: 20px; }
/* text-decoration because some rows are links - an email address, the main
   site - and a row that is underlined reads as a different kind of thing
   from the row above it. */
.row { display: flex; align-items: center; gap: 14px; padding: 13px 16px; width: 100%; font-family: inherit; text-align: left; background: none; border: none; cursor: pointer; color: inherit; text-decoration: none; }
.row .ic { width: 2.625rem; height: 2.625rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.31rem; color: var(--blue); flex: none; }
.row .tx { flex: 1; }
.row .t1 { font-size: 1rem; font-weight: 600; }
.row .t2 { font-size: 0.78rem; color: var(--muted); margin-top: 1px; line-height: 1.35; }
.row .tr { font-size: 1.25rem; color: var(--muted); }
.rdiv { height: 1px; background: var(--line); margin-left: 72px; }
.sec-t { font-size: 1.125rem; font-weight: 700; margin-top: 20px; }
.para { font-size: 0.875rem; color: var(--body); line-height: 1.6; margin-top: 5px; }
.about-list { margin-top: 8px; font-size: 0.875rem; color: var(--body); line-height: 1.5; }
/* About us is read, not scanned: bigger text and more room between the parts. */
#v-about-us .sec-t { font-size: 1.35rem; margin-top: 30px; }
#v-about-us .para, #v-about-us .about-list { font-size: 1.06rem; line-height: 1.7; margin-top: 10px; }
#v-about-us .about-list { gap: 12px; }
#v-about-us .about-list .mdi { font-size: 1.25rem; line-height: 1.44; }

/* 10 Accessibility panel, 11 Topics menu, 12 Pick a date, 15 Type of solution */
.scrim { position: absolute; inset: 0; background: rgba(18, 22, 32, 0.45); z-index: 8; border: none; width: 100%; cursor: pointer; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; border-radius: 28px 28px 0 0; padding: 10px 20px 28px; max-height: 86%; overflow-y: auto;
  background: linear-gradient(180deg, #F1F2F4, #E4E5E8); box-shadow: 0 -10px 30px rgba(0,0,0,0.18), inset 0 1px 0 #fff;
  animation: rise .22s ease; }
@keyframes rise { from { transform: translateY(14px); opacity: .6 } }
.grab { width: 44px; height: 5px; border-radius: 999px; background: #B9BCC3; margin: 0 auto 12px; }

/* A question asked in the middle of the screen rather than at the bottom:
   for the one thing that has to be answered before anything can happen. */
.modal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 9;
  width: min(22rem, calc(100% - 36px)); max-height: 88%; overflow-y: auto; border-radius: 26px;
  padding: 24px 20px 20px; text-align: center;
  background: linear-gradient(180deg, #F1F2F4, #E4E5E8);
  box-shadow: 0 18px 40px rgba(0,0,0,0.26), inset 0 1px 0 #fff; animation: pop .2s ease; }
@keyframes pop { from { transform: translate(-50%, -50%) scale(0.95); opacity: 0 } }
.modal .x { position: absolute; top: 14px; right: 14px; width: 2.25rem; height: 2.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.13rem; color: var(--ink); font-family: inherit; cursor: pointer; border: none; }
.modal .lang-cards { padding: 20px 0 0; }
.modal .lang { height: 7.5rem; }
.modal .hint { margin-left: 0; margin-right: 0; text-align: left; }

/* Signing in and the first-time steps: cards over the app, so the solutions
   are there behind them from the first visit. Above the menu and its drawer. */
.pop-scrim { position: absolute; inset: 0; z-index: 12; background: rgba(18, 22, 32, 0.45); }
.view.pop.on { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 13;
  width: min(30rem, calc(100% - 28px)); max-height: calc(100% - 28px); border-radius: 26px;
  background: linear-gradient(180deg, #F1F2F4, #E4E5E8);
  box-shadow: 0 18px 40px rgba(0,0,0,0.26), inset 0 1px 0 #fff; animation: pop .2s ease; }
.view.pop:focus { outline: none; }
.pop-x { flex: none; margin-left: auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--ink); font-family: inherit; cursor: pointer; border: none; }
/* A card needs less of the room a full screen keeps at its foot for a thumb. */
.view.pop .spacer { flex: none; height: 18px; }
.view.pop .foot { padding-bottom: 22px; }
.view.pop .bottom-row { padding-bottom: 20px; }
.view.pop .cat-foot { padding-bottom: 18px; }
.view.pop .si-logo { margin-top: 0.5rem; }
.view.pop .si-logo .logo-disc { width: 5rem; height: 5rem; }
.view.pop .si-logo .logo-disc img { width: 3.25rem; }
.sheet-title { display: flex; align-items: center; gap: 8px; font-size: 1.31rem; font-weight: 700; }
.sheet-title .mdi { color: var(--blue); font-size: 1.5rem; }
.sheet-title .x { margin-left: auto; width: 2.625rem; height: 2.625rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; color: var(--ink); font-family: inherit; cursor: pointer; }
.srow { display: flex; align-items: center; gap: 12px; padding: 13px 0; border: none; border-bottom: 1px solid var(--line); width: 100%; background: none; font-family: inherit; text-align: left; color: inherit; cursor: pointer; flex-wrap: wrap; }
.srow:last-of-type { border-bottom: none; }
.srow .txt { flex: 1; }
.srow .t1 { font-size: 1rem; font-weight: 600; }
.srow .t2 { font-size: 0.78rem; color: var(--muted); }
/* A round choice: an empty ring, or blue with a tick when picked. */
.radio { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 2px solid #8E929B;
  display: flex; align-items: center; justify-content: center; }
.radio.on { border-color: var(--blue); background: var(--blue); }
.radio .mdi { font-size: 1rem; line-height: 1; color: #fff; }
.segs { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
.sb { height: 2.5rem; min-width: 2.875rem; padding: 0 12px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; font-family: inherit; color: var(--ink); cursor: pointer; }
.sb.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.35), inset 0 1px 0 rgba(255,255,255,0.35); border: none; }
.outline-btn { height: 3.25rem; border-radius: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 1rem; font-weight: 600; color: var(--blue); border: 1.5px solid rgba(36,85,197,0.5) !important; width: 100%; background: none; font-family: inherit; cursor: pointer; }

.drawer { position: absolute; top: 0; bottom: 0; left: 0; width: 77%; max-width: 318px; z-index: 9; padding: 28px 14px 20px; border-radius: 0 28px 28px 0; overflow-y: auto;
  background: linear-gradient(180deg, #F1F2F4, #E4E5E8); box-shadow: 10px 0 30px rgba(0,0,0,0.2), inset -1px 0 0 #fff;
  animation: slidein .22s ease; }
@keyframes slidein { from { transform: translateX(-14px); opacity: .6 } }
.dr-head { display: flex; align-items: center; gap: 10px; padding: 0 6px 14px; border-bottom: 1px solid var(--line); }
.dr-head .w { font-size: 1.06rem; font-weight: 700; letter-spacing: 2.5px; }
.dr-head .b { font-size: 0.81rem; color: var(--muted); }
.caps { font-size: 0.66rem; font-weight: 700; letter-spacing: 2px; color: var(--muted); margin: 16px 8px 8px; }
.trow { display: flex; align-items: center; gap: 12px; min-height: 2.875rem; padding: 8px 12px; border-radius: 14px; font-size: 0.94rem; font-weight: 500; width: 100%; background: none; border: none; font-family: inherit; text-align: left; color: inherit; cursor: pointer; }
/* A topic: its own icon in its own colour, the name, and how many stories. */
.trow .mdi { font-size: 1.31rem; color: var(--topic, var(--blue)); flex: none; }
.trow .t-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.trow .t-count { flex: none; font-size: 0.81rem; font-weight: 600; color: var(--muted); }
.trow.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff; box-shadow: 0 4px 10px rgba(36,85,197,0.3); }
.trow.on .mdi, .trow.on .t-count { color: #fff; }
.trow:disabled { cursor: default; opacity: 0.45; }
.trow:disabled .mdi { color: var(--muted); }
.trow:not(.on):not(:disabled):hover { background: rgba(36,85,197,0.08); }

/* The way between pages, as in the phone app: Previous, the page numbers and Next. */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pager .turn { min-width: 2.75rem; height: 2.75rem; padding: 0 12px; border-radius: 14px; display: flex;
  align-items: center; justify-content: center; font-size: 0.94rem; font-weight: 700; color: var(--ink);
  font-family: inherit; cursor: pointer; }
.pager .turn.word { color: var(--blue); font-weight: 600; padding: 0 16px; }
.pager .turn.on { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); color: #fff;
  border-color: transparent; box-shadow: 0 4px 10px rgba(36,85,197,0.35); }
.pager .turn[disabled] { opacity: 0.35; pointer-events: none; }

/* Everything recorded about one solution. The sheet is a column: the reading
   scrolls, and Explain and Where to buy keep their place at the bottom of it
   however much there is to read. min-height: 0 is what lets the reading
   shrink inside the sheet instead of pushing the strip past the bottom. */
.sheet.one-solution { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 0; }
.sheet.one-solution .detail { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 6px; }
.sheet.one-solution .acts { display: block; margin: 0; padding: 2px 0 24px; border-top: 1px solid var(--line); }
.sheet .detail { margin-top: 4px; }
.detail .shots { margin: 0 0 14px; border-radius: 16px; }
.detail h2 { font-size: 1.19rem; font-weight: 700; line-height: 1.3; }
.detail .where-it-sits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
/* The headed paragraphs of a shared solution's page (/s/...), which builds
   them on the server as .block and .label. */
.detail .block { margin-top: 16px; }
.detail .block .label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--blue); }
.detail .block p { font-size: 0.9rem; line-height: 1.55; color: var(--body); margin-top: 4px; }
/* The parts of Know more as the phone app draws them: each heading a card of
   its own with its icon in a circle and an arrow in a well, and the words of
   an open part in a second, lighter card under it, tied on by a blue edge. */
.detail .fold { margin-top: 12px; }
.detail .fold-head { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 3.75rem;
  padding: 10px 12px; border-radius: 18px; cursor: pointer; font-family: inherit; text-align: left;
  background: linear-gradient(145deg, #F6F6F8 0%, #E6E7EA 55%, #D9DADE 100%); border: 1px solid rgba(255,255,255,0.7);
  box-shadow: -3px -3px 8px rgba(255,255,255,0.95), 4px 4px 10px rgba(150,152,162,0.5), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: var(--motion, transform .15s ease); }
.detail .fold-head:hover { transform: translateY(-1px); }
.detail .fold.open .fold-head { background: linear-gradient(145deg, #EAF0FD 0%, #DCE5FA 100%); border-color: rgba(36,85,197,0.5); }
.detail .part-ic { flex: none; width: 2.375rem; height: 2.375rem; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: #EAF0FD; color: var(--blue); font-size: 1.25rem; }
.detail .fold.open .part-ic { background: var(--blue); color: #fff; }
.detail .part-t { flex: 1; font-size: 1.03rem; font-weight: 700; color: var(--ink); }
/* In a square well, so the arrow turns in place instead of poking past the edge. */
.detail .part-go { flex: none; width: 2.125rem; height: 2.125rem; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: #DFE0E3; color: var(--blue); font-size: 1.38rem;
  box-shadow: inset 2px 2px 4px rgba(150,152,162,0.45), inset -2px -2px 4px rgba(255,255,255,0.95); }
.detail .part-go .mdi { transition: var(--motion, transform .22s ease); }
/* Points right while closed and turns down as the part opens, as in the phone app. */
.detail .fold.open .part-go .mdi { transform: rotate(90deg); }
.detail .fold-body { margin: 8px 0 0 10px; padding: 14px 16px; border-radius: 16px; background: #F6F6F8;
  border-left: 4px solid var(--blue); box-shadow: 0 3px 10px rgba(150,152,162,0.5);
  font-size: 0.94rem; line-height: 1.6; color: var(--body); animation: unfold .22s ease-out; }
@keyframes unfold { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
/* The maker's own site, as a card that says where it goes. */
.detail .site-card { display: flex; align-items: center; gap: 12px; margin-top: 12px; min-height: 4rem; padding: 10px 12px;
  border-radius: 18px; text-decoration: none; border: 1.5px solid rgba(36,85,197,0.5);
  background: linear-gradient(145deg, #F6F6F8 0%, #E6E7EA 55%, #D9DADE 100%);
  box-shadow: -3px -3px 8px rgba(255,255,255,0.95), 4px 4px 10px rgba(150,152,162,0.5); }
.detail .site-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.detail .site-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; color: var(--muted); text-transform: uppercase; }
.detail .site-host { font-size: 1rem; font-weight: 600; color: var(--blue); text-decoration: underline; overflow-wrap: anywhere; }
.detail .site-go { flex: none; width: 2.125rem; height: 2.125rem; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; background: var(--blue); color: #fff; font-size: 1.1rem; }
.detail .cost { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.detail .cost > .cost { font-size: 1.31rem; font-weight: 700; color: var(--ink); }
.detail .cost > .cost.none { font-size: 0.88rem; font-weight: 600; color: var(--muted); }

/* What a screen says when something went wrong or there is nothing to show. */
.empty { text-align: center; padding: 46px 24px; }
.empty .mdi { font-size: 3.4rem; color: #9EA1A9; }
.empty .t1 { font-size: 1.19rem; font-weight: 700; margin-top: 12px; }
.empty .t2 { font-size: 0.94rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.empty .primary, .empty .outline-btn { margin-top: 20px; }
.problem { margin-top: 14px; border-radius: 14px; padding: 12px 14px; font-size: 0.9rem; font-weight: 600; color: #8A2318;
  background: rgba(179, 78, 38, 0.10); border: 1px solid rgba(179, 78, 38, 0.3); }
.success { margin-top: 14px; border-radius: 14px; padding: 12px 14px; font-size: 0.9rem; font-weight: 600; color: var(--green);
  background: rgba(30, 107, 52, 0.10); border: 1px solid rgba(30, 107, 52, 0.3); }

/* Dark ink on light silver already carries good contrast; this is for people
   who need more than the design gives. */
body.contrast { --ink: #000; --body: #111; --muted: #2A2E38; --line: rgba(0,0,0,0.5); }
body.contrast .raised { border-color: rgba(0,0,0,0.35); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* A visible focus ring, which a phone design has no need of. */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }


/* The News tab. On a phone the topics live behind the hamburger and the days
   behind the calendar, because there is nowhere else for them; the column and
   the row of days below are for a screen with room, and appear further down. */
.news-head { font-size: 1.44rem; line-height: 1.25; }
.topic-rail, .h-sub { display: none; }

/* Every picture of one solution, over the whole screen. A card shows them
   small; this is for looking at one properly. */
.gallery { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column;
  background: #0E1A33; animation: pop-in .18s ease; }
@keyframes pop-in { from { opacity: 0 } }
.gallery .g-top { display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; flex: none; z-index: 2; }
.gallery .g-count { font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,0.75); }
.gallery .g-top .x { width: 2.625rem; height: 2.625rem; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.25rem; color: #fff;
  background: rgba(255,255,255,0.14); border: none; font-family: inherit; cursor: pointer;
  box-shadow: none; }
/* One picture to a screenful, coming to rest on whole ones. */
.gallery .g-reel { flex: 1; min-height: 0; display: flex; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery .g-reel::-webkit-scrollbar { display: none; }
.gallery .plate { flex: none; width: 100%; height: 100%; display: flex; align-items: center;
  justify-content: center; scroll-snap-align: center; padding: 0 12px 24px; }
.gallery .plate img { max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform .18s ease; transform-origin: center center; }
/* Zoomed in, the picture is dragged about rather than scrolled: the reel it
   sits in scrolls sideways to the next picture, so a drag has to mean one
   thing or the other and never both. */
.gallery .plate.close-up { overflow: hidden; touch-action: none; cursor: grab; }
.gallery .plate.close-up img { transition: none; }
.gallery .plate.held { cursor: grabbing; }

/* Zoom in, zoom out, and back to the whole picture. Buttons rather than a
   pinch: a pinch asks for two fingers and a steady hand, and plenty of the
   people this app is for have neither. */
.gallery .g-zoom { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px;
  display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.16); z-index: 2; }
.gallery .g-zoom button { width: 2.875rem; height: 2.875rem; border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center; font-size: 1.44rem;
  background: rgba(255,255,255,0.16); color: #fff; font-family: inherit; cursor: pointer; }
.gallery .g-zoom button[disabled] { opacity: 0.35; cursor: default; }
.gallery .g-zoom .how-close { min-width: 3.25rem; text-align: center; font-size: 0.88rem;
  font-weight: 600; color: rgba(255,255,255,0.85); }
/* The card's arrows are sized under .shots, so these need their own: a
   full-screen picture deserves a target bigger than the card's, not smaller. */
.gallery .step { position: absolute; top: 50%; transform: translateY(-50%);
  width: 2.875rem; height: 2.875rem; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 1.44rem;
  background: rgba(255,255,255,0.16); color: #fff; border: none;
  font-family: inherit; cursor: pointer; }
.gallery .step.back { left: 12px; }
.gallery .step.on-ward { right: 12px; }
.gallery .step[disabled] { opacity: 0; pointer-events: none; }
/* The pictures in Know more open full screen, so they say so. */
.shots .reel[data-photo] { cursor: zoom-in; }

/* Explain is several seconds of waiting. The bar is paced on how long this
   usually takes rather than measured - nothing in the two steps reports its
   own progress - so it eases towards the end and waits there. Without the
   animation it sits part-filled, which still reads as working. */
.primary .going { position: absolute; left: 0; top: 0; bottom: 0; width: 35%; z-index: 0;
  background: rgba(255,255,255,0.22); animation: going 14s cubic-bezier(.1,.75,.25,1) forwards; }
@keyframes going { from { width: 4% } to { width: 93% } }
.primary .mdi, .primary span:not(.going) { position: relative; z-index: 1; }
/* The same bar on Explain, in a yellow that shows on the yellow button. */
.act-big .going { position: absolute; left: 0; top: 0; bottom: 0; width: 35%; z-index: 0;
  background: rgba(190,140,20,0.2); animation: going 14s cubic-bezier(.1,.75,.25,1) forwards; }

/* ---------- Wider than a phone ----------

   Everything above this line is the phone, and stays the phone. From here
   down is what changes as the screen gets wider. Nothing above is edited, so
   the phone layout cannot be broken by any of it, and all of this can be
   taken out again by deleting from here to the end of the file.

   Two steps rather than one. At 600px the box stops being 412px wide and the
   cards go across instead of down - that is a tablet, and the tab bar still
   belongs at the bottom where a thumb is. At 900px the bar becomes a rail
   down the left and the sheets become dialogs in the middle, because by then
   there is a mouse and a lap, and neither has a thumb at the bottom edge. */

@media (min-width: 600px) {
  /* The page, rather than a phone drawn in the middle of one. It takes the
     whole window: a band of empty grey down each side is what a phone laid on
     a desk looks like, not what a website looks like. Long lines of text are
     kept short where they are read, not by narrowing everything. */
  .app {
    max-width: none;
    box-shadow: none;
    background: none;
  }
  .view { background: linear-gradient(180deg, #EDEEF0 0%, #E3E4E7 100%); }
  .scroll { padding: 4px 28px calc(48px + 5.25rem); }
  .topbar { padding: 14px 28px 12px; }
  /* The menu button keeps its place at the start of the wider bar. */
  .menu { top: calc(14px + 0.0625rem); left: 28px; }
  #v-solutions > .topbar, #v-news > .topbar, #v-saved > .topbar, #v-innovations > .topbar {
    padding-left: calc(38px + 2.75rem);
  }

  /* Cards across rather than down. auto-fill rather than a fixed three, so
     the number follows the width - two on a tablet, three on a laptop, more
     on a wide screen - without another breakpoint for each. */
  /* max-content rather than the default auto: a card that hides its own
     overflow - the news card does, to round off its picture - has an
     automatic minimum size of zero as a grid item, and its row collapses to a
     sliver with the card clipped inside it. Saying what the rows are worth
     takes the guesswork out. */
  #sol-results, #saved-results, #news-list, #inno-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
    grid-auto-rows: max-content;
    gap: 18px;
    align-content: start;
  }
  /* Solutions in set columns rather than as many as fit: two here, three and
     then four as the page widens, so a page of twenty is five full rows of four. */
  #sol-results, #saved-results, #inno-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #sol-results .sol, #saved-results .sol, #news-list .news, #inno-results .sol { margin-top: 0; }

  /* The things that are not cards sit under all of them rather than in a
     column of their own: the pager, and whatever a screen says when it has
     nothing to show. */
  #sol-results > .empty, #saved-results > .empty, #news-list > .empty, #inno-results > .empty,
  #sol-results > .pager,
  #saved-results > .pager, #news-list > .pager, #inno-results > .pager {
    grid-column: 1 / -1;
  }

  /* Reading and filling in happen in a column. A line of text the width of
     this page is one the eye loses its place in on the way back.

     width as well as max-width: these are flex items, and an auto margin on
     one makes it shrink to its contents instead of filling what it is given. */
  #v-about-us .scroll {
    width: 100%;
    max-width: 46rem;
    margin-inline: auto;
  }
  /* Profile on a tablet: still one column, but not the whole width. */
  .pf { width: 100%; max-width: 46rem; margin-inline: auto; }
  #v-about.pf-open .scroll { padding-top: calc(24px + 2.75rem); }
  .pf-choices, .pf-needs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  /* Everything is sized in rem off this, so one number sets how big the whole
     app is. 16px is a thumb's size on a phone; with a mouse it reads as an
     app blown up to fill a window, and half the screen goes on things that
     need to be big only because they are being prodded. The reading-options
     scale still multiplies it, so somebody who asks for large text gets it.  */
  html { font-size: calc(14px * var(--scale)); }

  /* The sections in one bar along the top: logo, tabs, then Accessibility.
     It comes last in the markup, where its place in the reading order is
     right; order brings it to the top. */
  .tabbar {
    order: -1;
    position: static;
    flex: none;
    flex-direction: row;
    /* A second line rather than cut off, when the text is made large. */
    flex-wrap: wrap;
    align-items: center;
    width: auto;
    padding: 12px 28px;
    overflow: visible;
    transform: none;
    transition: none;
    border-radius: 0;
    /* Bright and lifted off the page, as trulyabled.com's header is. */
    background: linear-gradient(180deg, #FFFFFF 0%, #F6F7F9 100%);
    box-shadow: 0 2px 14px rgba(20, 28, 48, 0.08);
    border: none;
    border-bottom: 1px solid rgba(20, 28, 48, 0.07);
  }
  .tabbar .t { height: 2.75rem; gap: 8px; padding: 0 14px; border-radius: 999px; font-size: 0.94rem; }
  .tabbar .t .mdi { font-size: 1.25rem; }
  .rail-brand { padding: 0 20px 0 0; }
  .rail-brand .lockup { height: 2.4rem; }
  .rail-brand .by { font-size: 0.78rem; }
  .rail-brand .by img { height: 1.45rem; }
  .tabbar .t-access { display: flex; margin-left: auto; }

  /* Always there along the top, so no button to open it. Its Accessibility
     stands in for the one on each tab's own bar, and Categories moves beside
     the search, so those bars go. */
  .menu, .menu-scrim { display: none; }
  #v-solutions > .topbar, #v-saved > .topbar, #v-innovations > .topbar { display: none; }
  #v-solutions > .pad, #v-saved > .pad, #v-innovations > .pad { padding-top: 16px; }
  .search .cats { display: flex; }

  /* Room under the last row for Truly in the corner, so its buttons can scroll clear of it. */
  .scroll { padding-bottom: 8.5rem; }

  /* The search on one line, as a website's is: the box, the mic, then Search
     the width of its word rather than of the page. */
  .search { flex-wrap: nowrap; }
  .search .go { flex: none; width: auto; height: 3.25rem; padding: 0 30px; }

  /* News, laid out as trulyabled.com/news lays it out: the topics in a column
     of their own and the heading large with a line under it. The bar with the
     Topics button goes, since the topics are now on the page. */
  #v-news { flex-direction: row; }
  #v-news > .topbar { display: none; }
  #v-news .topic-rail {
    display: block;
    flex: none;
    width: 15.5rem;
    overflow-y: auto;
    padding: 20px 10px 24px 24px;
    border-right: 1px solid var(--line);
  }
  #v-news .news-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
  #v-news .pad { padding: 22px 28px 0; }
  .news-head { font-size: 2.25rem; line-height: 1.15; }
  #v-news .h-sub { display: block; max-width: 44rem; margin-top: 10px;
    font-size: 1rem; line-height: 1.55; color: var(--muted); }

  /* A card is mostly photograph otherwise, and a row of them fills the whole
     window - which is a lot of scrolling to see twelve things. The picture is
     shallower and the description stops at three lines; the whole of it is on
     the card's own page for anyone who wants it. */
  .sol .shots img { aspect-ratio: 16 / 10; }
  .sol p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
  }

  /* A sheet rising from the bottom edge is a thumb's idea of where things
     come from. With a mouse it is a dialog in the middle of the screen, and
     the grab handle it is dragged down by has nothing left to drag. */
  .sheet {
    left: 50%;
    right: auto;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(45rem, calc(100% - 96px));
    border-radius: 24px;
    padding: 20px 26px 26px;
    animation: pop .2s ease;
  }
  .sheet .grab { display: none; }
  .sheet.one-solution { padding-bottom: 0; }

  /* On a phone the picture is the width of the screen and everything else is
     a scroll away, which is how phones work. In a dialog it would fill the
     whole of what you can see and push the reading out of sight, so it is
     given a height and the picture sits inside it. */
  .sheet .detail .shots img { height: 15rem; aspect-ratio: auto; }

  /* The topics menu is a drawer off the left edge on a phone, where the edge
     is a thumb's reach. Here it is a dialog like the rest. */
  .drawer {
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(24rem, calc(100% - 96px));
    max-width: none;
    max-height: 80%;
    border-radius: 24px;
    animation: pop .2s ease;
  }
}

/* Profile on a laptop: the account and menu on the left, the open part on the right. */
@media (min-width: 900px) {
  #v-about .about-head { display: none; }
  #v-about .scroll, #v-about.pf-open .scroll { padding-top: 24px; }
  .pf { display: grid; grid-template-columns: 21.5rem minmax(0, 1fr); gap: 26px; align-items: start; max-width: 84rem; }
  .pf-side { position: sticky; top: 0; padding: 22px; }
  .pf-main, #v-about.pf-open .pf-main { display: block; padding: 30px 34px; }
  #v-about.pf-open .pf-side { display: block; }
  .pf-back, .pf-chev { display: none; }
  .pf-item:not(.hide) ~ .pf-item { border-top: none; border-radius: 14px; }
  .pf-item:hover { background: rgba(36, 85, 197, 0.06); }
  .pf-item[aria-current="page"] { background: rgba(36, 85, 197, 0.12); color: var(--blue); }
  .pf-h { font-size: 2rem; }
  .pf-label { font-size: 0.94rem; }
  .pf-row { grid-template-columns: 11rem minmax(0, 1fr) auto; grid-template-areas: "label value act"; }
  .pf-row.editing { grid-template-columns: 11rem minmax(0, 1fr); grid-template-areas: "label edit"; align-items: start; }
  .pf-row.editing .pf-label { padding-top: 14px; }
  .pf-edit { margin-top: 0; }
  .pf-needs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-two { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

/* Too narrow for both logos and every tab on one line: TrulyAbled stays, Kudrat Foundation goes. */
@media (min-width: 900px) and (max-width: 1099px) {
  .tabbar .rail-brand .by-line, .tabbar .rail-brand .by { display: none; }
  .tabbar .rail-brand { padding-right: 14px; }
  .tabbar .rail-brand .lockup { height: 2.1rem; }
}

/* A card needs about 17rem for its buttons to keep their words. With the
   sections along the top rather than down the side, that is three columns
   from 900px and four from 1150px. */
@media (min-width: 900px) {
  #sol-results, #saved-results, #inno-results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1150px) {
  #sol-results, #saved-results, #inno-results { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- 16 the helper: a button in the corner, and what it opens ---------- */

/* Truly, as in the phone app: the TrulyAbled mark as a small helper on a round
   orange button, with its name on a tag under it. Placed against the app box,
   not the window, and sized in rem so it grows with the text setting. */
.helper { position: absolute; right: 18px; bottom: 26px; z-index: 6;
  display: flex; flex-direction: column; align-items: center; }

/* The layers, from the reference design. Every picture is the same square, so
   they stack exactly; the square is bigger than the round face and centred on
   it, which leaves room for the float, the hop and the floor shadow. Inside
   it 1em is 1% of the square. --px and --py, from -1 to 1, are set by the
   script as Truly looks about: each layer shifts by a different amount, which
   reads as depth. */
.buddy { --size: 4rem; --px: 0; --py: 0; position: relative; display: block; width: var(--size); height: var(--size);
  padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; font-family: inherit;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.buddy .canvas { position: absolute; left: 50%; top: 50%; width: calc(var(--size) / .7533); height: calc(var(--size) / .7533);
  margin: calc(var(--size) / .7533 * -.4567) 0 0 calc(var(--size) / .7533 * -.5); font-size: calc(var(--size) / 75.33);
  pointer-events: none; }
.buddy .canvas span, .buddy .canvas img { position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  user-select: none; -webkit-user-drag: none; }
.buddy .ground { transform-origin: 50% 90.25%; translate: calc(var(--px) * -.8em) 0; }
.buddy .tilt { transform: perspective(70em) rotateX(calc(var(--py) * -11deg)) rotateY(calc(var(--px) * 13deg)); }
.buddy .lip { translate: calc(var(--px) * -1.3em) calc(var(--py) * -.9em); }
.buddy .shadows { translate: calc(var(--px) * -.5em) calc(var(--py) * -.5em); }
.buddy .figure { transform-origin: 50% 70.25%; translate: calc(var(--px) * .9em) calc(var(--py) * .9em); }
.buddy .body { transform-origin: 50% 70.25%; }
.buddy .head { transform-origin: 50% 29.15%; translate: calc(var(--px) * .6em) calc(var(--py) * .6em); }
.buddy .eyes { translate: calc(var(--px) * 1.25em) calc(var(--py) * 1em); }
.buddy .eyes-open { transform-origin: 50% 30%; }
.buddy .eyes-happy { opacity: 0; }
/* Held down, the face sinks onto the side wall, and springs back a little past rest. */
.buddy .press { transition: translate .34s cubic-bezier(.2, 1.9, .4, 1); }
.buddy.is-down .press { translate: 0 3.6em; transition: translate .07s ease-out; }
.buddy.is-happy .eyes-open { opacity: 0; }
.buddy.is-happy .eyes-happy { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .buddy .float { animation: buddy-float 4.6s ease-in-out infinite; }
  .buddy .ground { animation: buddy-ground 4.6s ease-in-out infinite; }
  .buddy .body { animation: buddy-breathe 3.4s ease-in-out infinite; }
  .buddy .head { animation: buddy-bob 3.4s ease-in-out infinite; animation-delay: -.35s; }
  .buddy .figure { animation: buddy-wobble 8.5s ease-in-out infinite; }
  .buddy .eyes-open { animation: buddy-blink 4.3s linear infinite; }
  .buddy.is-happy .figure { animation: buddy-jump 1.05s cubic-bezier(.3, 0, .3, 1) 1; }
  .buddy.is-happy .head { animation: buddy-nod 1.05s ease-in-out 1; }
  .buddy.is-happy .shadows { animation: buddy-shadow 1.05s cubic-bezier(.3, 0, .3, 1) 1; }
}
@keyframes buddy-float { 0%, 100% { transform: translateY(.6em) } 50% { transform: translateY(-2em) } }
@keyframes buddy-ground { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(.86); opacity: .68 } }
@keyframes buddy-breathe { 0%, 100% { transform: none } 50% { transform: scale(1.014, .982) } }
@keyframes buddy-bob { 0%, 100% { transform: translateY(.5em) } 50% { transform: translateY(-.9em) } }
@keyframes buddy-wobble { 0%, 68%, 100% { transform: none } 74% { transform: rotate(-4.5deg) } 81% { transform: rotate(3.6deg) }
  88% { transform: rotate(-2deg) } 94% { transform: rotate(.8deg) } }
@keyframes buddy-blink { 0%, 93%, 100% { transform: scaleY(1) } 96% { transform: scaleY(.08) } }
@keyframes buddy-jump { 0% { transform: none } 14% { transform: translateY(.8em) scale(1.06, .92) }
  40% { transform: translateY(-8.5em) scale(.96, 1.05) rotate(-3deg) } 64% { transform: translateY(0) scale(1.07, .92) }
  80% { transform: translateY(-1.6em) scale(.995, 1.01) } 100% { transform: none } }
@keyframes buddy-nod { 0%, 100% { transform: none } 40% { transform: translateY(-1.4em) rotate(7deg) } 64% { transform: translateY(1.1em) } }
@keyframes buddy-shadow { 0%, 64%, 100% { opacity: 1; transform: none }
  40% { opacity: .3; transform: translate(1.4em, 3em) scale(1.06) } }

/* Its name, just under the floor shadow. */
.buddy-tag { margin-top: 11px; padding: 1px 9px; border-radius: 999px; background: #fff; border: 1.5px solid var(--buddy);
  font-size: 0.75rem; font-weight: 700; line-height: 1.35; color: var(--buddy); white-space: nowrap; cursor: pointer; }

/* Truly's hello, once: a speech bubble over it, pointing down at it. */
.greet { position: absolute; right: -4px; bottom: calc(100% + 14px); width: max-content;
  max-width: min(19rem, calc(100vw - 36px)); padding: 14px 44px 14px 16px; border-radius: 20px 20px 6px 20px;
  background: #fff; border: 1px solid rgba(181,77,38,0.28); box-shadow: 0 14px 34px rgba(14,26,51,0.22);
  animation: rise .3s ease; }
.greet::after { content: ''; position: absolute; right: 1.7rem; bottom: -8px; width: 14px; height: 14px; background: #fff;
  border-right: 1px solid rgba(181,77,38,0.28); border-bottom: 1px solid rgba(181,77,38,0.28); transform: rotate(45deg); }
.greet-say { display: block; padding: 0; border: none; background: none; text-align: left; cursor: pointer;
  font-family: inherit; font-size: 0.92rem; line-height: 1.45; color: var(--body); }
.greet-say b { display: block; margin-bottom: 3px; color: var(--ink); }
.greet-x { position: absolute; top: 6px; right: 6px; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: none;
  background: none; display: flex; align-items: center; justify-content: center; font-size: 1.15rem; color: var(--muted);
  font-family: inherit; cursor: pointer; }
.greet-x:hover { background: rgba(14,26,51,0.06); }

/* The whole screen, not a sheet rising part of the way: a conversation is the
   thing somebody is doing while it is open, and half a screen of it with the
   catalogue showing behind reads as an interruption of the app rather than a
   part of it. The same on the phone, where it is a screen of its own. */
.ask-panel { position: absolute; inset: 0; z-index: 9; display: flex; flex-direction: column;
  padding: 10px 20px 16px; background: linear-gradient(180deg, #EDEEF0 0%, #E3E4E7 100%);
  animation: rise .22s ease; }

/* On a laptop the chat is a window in the corner Truly sits in, as a website's
   chat is, rather than the whole page. Above the bar along the top, which
   otherwise covered its title and its X. */
@media (min-width: 900px) {
  .ask-panel { inset: auto 24px 24px auto; z-index: 12; width: min(28rem, calc(100% - 48px));
    height: min(46rem, calc(100% - 48px)); padding: 14px 18px 16px; border-radius: 24px;
    box-shadow: 0 20px 50px rgba(14,26,51,0.3), inset 0 1px 0 #fff; }
}

/* Truly's still picture beside what it says, as in the phone's chat. */
.truly-face { width: 2.5rem; height: 2.5rem; flex: none; display: block; }
.sheet-title .truly-face { width: 2.25rem; height: 2.25rem; }
.talk .from-truly { align-self: flex-start; display: flex; align-items: flex-start; gap: 8px; max-width: 92%; }
.talk .from-truly .bubble { max-width: none; min-width: 0; }
/* An answer with no words yet shows nothing, its picture included. */
.talk .from-truly:has(> .bubble:empty) { display: none; }
.talk .from-truly + .aloud { margin-left: calc(2.5rem + 12px); }

/* The log takes what is left, so the asking row stays put and the box being
   typed in does not walk off the bottom as the thread grows. */
.talk { flex: 1; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; padding: 4px 2px 6px; }
.talk .bubble { max-width: 86%; padding: 10px 14px; font-size: 0.94rem; line-height: 1.55; white-space: pre-wrap; }
.talk .mine { align-self: flex-end; border-radius: 18px 18px 6px 18px; color: #fff;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo)); }
.talk .theirs { align-self: flex-start; border-radius: 18px 18px 18px 6px; color: var(--body); }
.talk .theirs b { color: var(--ink); }
/* The cards the helper found, the full width of the panel: they are the same
   cards the Solutions screen draws, and a card squeezed into a bubble loses
   its picture and its buttons. */
.talk .found { align-self: stretch; display: flex; flex-direction: column; gap: 14px; margin: 2px 0 4px; }
.talk .waiting { align-self: flex-start; color: var(--muted); font-size: 0.88rem; padding: 6px 4px; }
/* Before the first word of an answer there is nothing to put in its bubble. */
.talk .bubble:empty { display: none; }
/* The answer being written ends in a cursor, so words still arriving look
   like typing rather than like a reply cut short. Still for anyone who has
   asked for less movement. */
.talk [data-live]::after { content: "▍"; margin-left: 1px; color: var(--blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .talk [data-live]::after { animation: none; } }

.asking-row { display: flex; align-items: flex-end; gap: 10px; margin-top: 12px; }
.asking-row .field { flex: 1; height: auto; min-height: 3rem; padding: 11px 16px; border-radius: 18px; display: flex; }
.asking-row textarea { flex: 1; background: none; border: none; outline: none; resize: none;
  font-family: inherit; font-size: 0.94rem; line-height: 1.45; color: var(--ink); max-height: 6rem; }
.asking-row .send { flex: none; width: 3rem; height: 3rem; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-family: inherit;
  background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo));
  box-shadow: 0 5px 12px rgba(36,85,197,0.34), inset 0 1px 0 rgba(255,255,255,0.4); }
.asking-row .send .mdi { font-size: 1.31rem; color: #fff; line-height: 1; }
.asking-row .send[disabled] { opacity: .5; cursor: default; }
.talk-note { font-size: 0.8rem; color: var(--muted); margin: 10px 2px 0; text-align: center; }
.talk-note:empty { display: none; }
/* The microphone beside Send, the same size as Send so the row lines up. */
.asking-row button.talk { width: 3rem; height: 3rem; border-radius: 50%; }

/* Under an answer, small and to one side: the answer is the thing, and this is
   one more way to take it in. Words beside the icon, because a speaker on its
   own reads as "volume" to as many people as it reads as "listen". */
.talk .aloud { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  margin: -4px 0 2px 4px; padding: 6px 12px; min-height: 2.25rem; border: none; border-radius: 14px;
  font-family: inherit; font-size: 0.85rem; color: var(--blue); cursor: pointer; }
.talk .aloud .mdi { font-size: 1.1rem; }

/* The three lists of the Saved tab, one switch as in the phone app. */
#saved-which { margin: 12px 0 2px; max-width: 34rem; }

/* ---------- 17 speaking a search ---------- */

/* Beside the blue arrow, not instead of it: the arrow is still what searches,
   and this is another way to fill the box. Silver while it waits so the blue
   one stays the louder of the two. */
/* Buttons only: the chat log is a .talk too, and these sizes on it shrank the
   whole conversation to the size of this button. */
button.talk { width: 3.25rem; height: 3.25rem; border-radius: 16px; flex: none; border: none;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-family: inherit; }
button.talk .mdi { font-size: 1.5rem; color: var(--blue); }
/* Listening. The ring says so without moving anything, for somebody who has
   asked for less movement - and the colour alone would not say it at all. */
button.talk.hearing { background: linear-gradient(180deg, var(--blue-hi), var(--blue-lo));
  box-shadow: 0 0 0 4px rgba(36,85,197,0.18), 0 6px 14px rgba(36,85,197,0.38); border: none; }
button.talk.hearing .mdi { color: #fff; }

/* ---------- Innovations ---------- */

/* The stage switch with the category beside it, or under it when there is no
   room. Space under them, so the first cards don't sit right against them. */
.inno-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0 18px; }
.inno-filters .seg { flex: 1 1 20rem; max-width: 36rem; margin-top: 0; }
/* Four words in a phone's width: at the largest text they stop growing before they run together. */
.inno-filters .seg button { padding: 0 4px; white-space: nowrap; font-size: min(0.9rem, 3.8vw); }
.inno-cat-wrap { position: relative; flex: 1 1 12rem; max-width: 22rem; min-width: 0; }
.inno-cat { width: 100%; height: 3.125rem; padding: 0 14px; border-radius: 16px; display: flex; align-items: center; gap: 8px;
  cursor: pointer; font-family: inherit; font-size: 0.94rem; font-weight: 600; color: var(--ink); text-align: left; }
.inno-cat .mdi { flex: none; font-size: 1.2rem; color: var(--blue); }
#inno-cat-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inno-cat[aria-expanded="true"] .mdi-chevron-down { transform: rotate(180deg); }
/* The list opens under its button, over the cards, in the same silver as the rest. */
.inno-menu { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; max-height: min(24rem, 60vh);
  overflow-y: auto; padding: 6px; border-radius: 18px; }
.inno-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: none; border-radius: 12px;
  background: none; font-family: inherit; font-size: 0.94rem; font-weight: 600; color: var(--ink); text-align: left; cursor: pointer; }
.inno-opt .mdi { flex: none; font-size: 1.15rem; color: var(--blue); }
.inno-opt span { flex: 1; min-width: 0; }
.inno-opt:hover, .inno-opt:focus { background: rgba(36, 85, 197, 0.08); outline: none; }
.inno-opt:focus-visible { box-shadow: inset 0 0 0 2px var(--blue); }
.inno-opt[aria-selected="true"] { color: var(--blue); background: rgba(36, 85, 197, 0.12); }

/* How far along it is, and whether it is in India: the phone's pills. */
.stage, .in-india { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px 2px 8px; border-radius: 999px;
  border: 1px solid; font-size: 0.78rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.stage .mdi { font-size: 1rem; }
.stage.scaled { background: #E3F1E0; border-color: #B9D8B1; color: #2B5524; }
.stage.early { background: #FBF0DA; border-color: #EBCF97; color: #6E4500; }
.stage.making { background: #DFE0E3; border-color: var(--line); color: var(--muted); }
.in-india { gap: 6px; background: #fff; border-color: rgba(60,64,76,0.2); color: var(--ink); }
.in-india .flag { width: 1.1rem; height: 0.75rem; }
body.contrast .stage, body.contrast .in-india { border-width: 1.5px; }

/* A topic's picture standing in for a photo: all of it, on the cream it is drawn on, so nothing is cut off. */
.shots img.stand-in { background: #F5F3EF; }

.inno-marks { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 9px; }
.inno-marks:empty { display: none; }
.inno-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.inno-tags:empty { display: none; }
.maker { display: flex; align-items: flex-start; gap: 6px; margin-top: 5px; font-size: 0.84rem; font-weight: 600; color: var(--body); }
.maker .mdi { flex: none; font-size: 1.05rem; line-height: 1.25; color: var(--blue); }
/* The sheet's own words for the cost can run long: two lines on a card, all of it in Know more. */
.asking .cost.inno-cost { flex: 1 1 8rem; min-width: 0; white-space: normal; font-size: 0.94rem; line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }

/* Know more: the stage, the cost and India at a glance, then the parts. */
.inno-detail .maker { margin-top: 6px; font-size: 0.94rem; }
.glances { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.glance { flex: 1 1 9rem; min-width: 0; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px;
  border-radius: 16px; background: #F6F6F8; box-shadow: 0 3px 10px rgba(150,152,162,0.35); }
.glance.wide { flex-basis: 100%; }
.glance > .mdi { font-size: 1.25rem; line-height: 1.2; color: var(--blue); }
.glance > div { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.g-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: var(--muted); }
.g-value { font-size: 0.94rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.fold-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fold-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fold-list li { display: flex; align-items: flex-start; gap: 8px; }
.fold-list .mdi { flex: none; font-size: 1.1rem; line-height: 1.45; color: var(--blue); }
.touch-note { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: #F6F6F8;
  box-shadow: 0 3px 10px rgba(150,152,162,0.35); }
.touch-note p { margin-top: 4px; font-size: 0.94rem; line-height: 1.55; color: var(--body); overflow-wrap: anywhere; }
.reach-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.reach { flex: 1 1 12rem; min-width: 0; min-height: 3.25rem; padding: 8px 14px; border-radius: 16px; display: flex;
  align-items: center; gap: 10px; text-decoration: none; font-size: 0.94rem; font-weight: 600; color: var(--blue); }
.reach .mdi { flex: none; font-size: 1.25rem; }
.reach span { min-width: 0; overflow-wrap: anywhere; }
.reach b { display: block; font-size: 0.84rem; font-weight: 500; color: var(--body); }
