/* COPY of Omea Universe Code/css/elements.css (chapter 11 elements), copied 13 Nov 2026 for the website (Universe pass, round 19).
   Never edit by hand: re-copy from the Universe. One change: the chapter-11 library scaffolding rules (.lib-head, .band, .cell, .stage, .st-cap) are left out. */
/* Omea elements library (chapter 11). Every element is designed at 1x for a 390 pt phone
   and reused by the deck and web. Built from the tokens; one stroke system (11.3). */

:root {
  --el-paper: #F2EEE8;        /* stage paper, a step under the page */
  --el-card: #FBF9F6;         /* light card on paper */
  --el-hair: rgba(26,26,26,.12);
  --el-hair-2: rgba(26,26,26,.22);
  --el-stroke: 1.25px;        /* the one line weight: icons, rings, curves */
  --el-r-card: 18px;
  --el-r-row: 14px;
  --el-r-tile: 10px;
  /* Twin state grounds: dusk to sun, from the warm palette. No medical blue. */
  /* Each ground's three stops are tokens too, so a hero can place the light behind the face and neck (review 34). */
  --g-recharging-0: #EEE2D9; --g-recharging-1: #CDAEA2; --g-recharging-2: #7C4C44;
  --g-building-0: #F1E9E0;   --g-building-1: #CFC1B3;   --g-building-2: #8C7C6E;
  --g-steady-0: #F4EDE3;     --g-steady-1: #DCCDBE;     --g-steady-2: #A08E7A;
  --g-ready-0: #F8EBDC;      --g-ready-1: #E9C6A3;      --g-ready-2: #B98156;
  --g-thriving-0: #FAE5CF;   --g-thriving-1: #EAA879;   --g-thriving-2: #B3542B;
  --g-recharging: radial-gradient(62% 56% at 50% 40%, var(--g-recharging-0) 0%, var(--g-recharging-1) 52%, var(--g-recharging-2) 100%);
  --g-building:   radial-gradient(62% 56% at 50% 40%, var(--g-building-0) 0%, var(--g-building-1) 52%, var(--g-building-2) 100%);
  --g-steady:     radial-gradient(62% 56% at 50% 40%, var(--g-steady-0) 0%, var(--g-steady-1) 52%, var(--g-steady-2) 100%);
  --g-ready:      radial-gradient(62% 56% at 50% 40%, var(--g-ready-0) 0%, var(--g-ready-1) 52%, var(--g-ready-2) 100%);
  --g-thriving:   radial-gradient(62% 56% at 50% 40%, var(--g-thriving-0) 0%, var(--g-thriving-1) 52%, var(--g-thriving-2) 100%);
  /* Spacing (review 35): one 8 px baseline. App values: 20 side margin, 20 card padding on every side, 16 between stacked
     blocks, 8 from a label to its card and between pills, 16 above and below each row inside a card, 34 clear of the home indicator. */
  /* Icon tile (review 39): a soft filled tile in the chip's warm grey, no outline; light glass on images and dark grounds. */
  --tile-fill: #ECE8E2; --tile-r: 10px;
  --sp: 8px; --sp-side: 20px; --sp-pad: 20px; --sp-gap: 16px; --sp-label: 8px; --sp-pill: 8px; --sp-row: 16px; --sp-home: 34px;
  /* Per-person dot colours in Circle, each lifted from a portrait in the library */
  --p1: #E3A06F; --p2: #C65A2E; --p3: #660708; --p4: #1F2A44; --p5: #8E7F72; --p6: #A8B7AB;
}

/* ---------- 11.1 Surfaces ---------- */
.e-glass { border-radius: var(--el-r-card); padding: 16px 18px; background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px) saturate(1.1); backdrop-filter: blur(24px) saturate(1.1); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 16px 34px -22px rgba(40,25,15,.45); color: var(--ink); }
.e-smoke { border-radius: var(--el-r-card); padding: 16px 18px; background: linear-gradient(160deg, rgba(38,32,28,.64), rgba(18,16,15,.74)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.e-ink { border-radius: var(--el-r-card); padding: 16px 18px; background: var(--ink); color: #fff; }
.e-paper { border-radius: 10px; padding: 16px 18px; background: var(--card-paper); box-shadow: 0 10px 22px -16px rgba(60,40,20,.4), 0 1px 3px -1px rgba(60,40,20,.15); color: var(--ink); font-family: var(--lab); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.e-paper .t { font-size: 14px; letter-spacing: .02em; }
.e-paper .r { display: flex; justify-content: space-between; color: var(--secondary); }
.e-paper .ln { position: relative; height: 1px; background: rgba(26,26,26,.3); margin: 9px 0; }
.e-paper .ln b { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.e-ticket { position: relative; isolation: isolate; filter: drop-shadow(0 10px 14px rgba(60,40,20,.16)); background: none; box-shadow: none; }
.e-ticket::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 10px; background: var(--card-paper);
  -webkit-mask: radial-gradient(circle 7px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 7px at 0 50%, transparent 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 7px at 100% 50%, transparent 97%, #000) right / 51% 100% no-repeat; }
.e-card-k { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.e-card-t { font-size: 22px; font-weight: 300; letter-spacing: -0.015em; margin-top: 3px; line-height: 1.15; }
.e-card-s { font-size: 13px; opacity: .75; margin-top: 4px; line-height: 1.35; }
.e-sheet { position: relative; width: 300px; border-radius: 26px 26px 0 0; background: rgba(251,249,246,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 -12px 30px -18px rgba(40,25,15,.4); padding: 12px 20px 22px; color: var(--ink); }
.e-sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: rgba(26,26,26,.2); margin: 0 auto 14px; }
.e-modal-scrim { position: absolute; inset: 0; background: rgba(20,16,12,.38); }
.e-modal { position: relative; width: 250px; border-radius: 22px; background: var(--el-card); padding: 22px 20px 18px; text-align: center; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(20,10,5,.6); }

/* ---------- Buttons used inside elements (full set in 11.8) ---------- */
.e-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 400 15px var(--voice); border: 1px solid transparent; white-space: nowrap; }
.e-btn.pri { background: var(--ink); color: #fff; }
.e-btn.sec { background: var(--el-card); color: var(--ink); border-color: var(--el-hair-2); }
.e-btn.ghost { background: none; color: var(--ink); }
.e-btn.sm { height: 34px; padding: 0 14px; font-size: 13.5px; }
.e-btn.block { width: 100%; }

/* ---------- 11.2 The Twin unit ---------- */
.e-twin { position: relative; width: 240px; height: 300px; border-radius: 20px; overflow: hidden; color: #fff; }
.e-twin .g { position: absolute; inset: 0; }
.e-twin .face { position: absolute; left: 50%; bottom: 0; width: 100%; height: 100%; transform: translateX(-50%); object-fit: cover; object-position: 50% 30%; }
.e-twin .shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,18,12,.55), rgba(30,18,12,0) 42%); }
.e-twin .info { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.e-twin .row { display: flex; justify-content: space-between; align-items: flex-end; }
.e-twin .nm { font-size: 34px; font-weight: 300; letter-spacing: -0.02em; line-height: 1; }
.e-twin .sc { font-family: var(--readout); font-weight: 600; font-size: 20px; letter-spacing: .02em; }
.e-twin .sc small { font-family: var(--lab); font-size: 9px; opacity: .8; margin-left: 2px; font-weight: 400; }
.e-twin .who { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.e-twin.sm { width: 150px; height: 188px; border-radius: 14px; }
.e-twin.sm .nm { font-size: 22px; } .e-twin.sm .sc { font-size: 15px; } .e-twin.sm .info { left: 12px; right: 12px; bottom: 10px; }
.e-twin.locked .face { filter: grayscale(.3) blur(6px); opacity: .7; }
.e-pair { position: relative; width: 320px; height: 230px; border-radius: 20px; overflow: hidden; color: #fff; display: grid; grid-template-columns: 1fr 1fr; }
.e-pair .half { position: relative; overflow: hidden; }
.e-pair .half img { position: absolute; left: 50%; bottom: -6px; height: 104%; transform: translateX(-50%); }
.e-pair .half .info { position: absolute; left: 12px; bottom: 12px; z-index: 2; }
.e-pair .half .who { font-family: var(--lab); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.e-pair .half .nm { font-size: 24px; font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.e-pair .shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(30,18,12,.5), rgba(30,18,12,0) 45%); }
.e-av { position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none; }
.e-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: 50% 22%; display: block; }
.e-av.twin img { background: var(--g-ready); }
.e-av .ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); overflow: visible; }
.e-av.lg { width: 64px; height: 64px; }
.e-av.xs { width: 28px; height: 28px; }
.e-stack { display: flex; align-items: center; }
.e-stack .e-av { margin-left: -10px; box-shadow: 0 0 0 2px var(--el-card); border-radius: 50%; }
.e-stack .e-av:first-child { margin-left: 0; }
.e-stack .more { margin-left: -10px; width: 40px; height: 40px; border-radius: 50%; background: var(--el-card); box-shadow: 0 0 0 2px var(--el-card), inset 0 0 0 1px var(--el-hair-2); display: flex; align-items: center; justify-content: center; font-family: var(--lab); font-size: 10.5px; color: var(--ink); }
.e-ground { width: 120px; height: 150px; border-radius: 12px; position: relative; overflow: hidden; }
.e-ground img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- 11.3 Lines, curves and bars ---------- */
.e-statebar { display: flex; gap: 5px; width: 200px; max-width: 100%; }
.e-twin .e-statebar { width: 100%; }
.e-statebar i { flex: 1; height: 3px; border-radius: 2px; background: rgba(26,26,26,.15); }
.e-statebar i.on { background: var(--ink); }
.e-statebar.light i { background: rgba(255,255,255,.35); } .e-statebar.light i.on { background: #fff; }
.e-prog { position: relative; width: 220px; height: 3px; border-radius: 2px; background: rgba(26,26,26,.12); }
.e-prog i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--ink); }
.e-prog b { position: absolute; top: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); margin-left: -4.5px; }
.e-prog.light { background: rgba(255,255,255,.3); } .e-prog.light i, .e-prog.light b { background: #fff; }
.e-areas { width: 260px; }
.e-areas .a { display: grid; grid-template-columns: 1fr auto; row-gap: 6px; padding: 7px 0; }
.e-areas .a .l { font-size: 13.5px; } .e-areas .a .v { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.e-areas .a .b { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: rgba(26,26,26,.1); position: relative; }
.e-areas .a .b i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--ink); }
.e-areas .a.low .v, .e-areas .a.low .l { color: var(--ember); } .e-areas .a.low .b i { background: var(--ember); }
.e-ring { position: relative; width: 84px; height: 84px; }
.e-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.e-ring .v { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--readout); font-weight: 600; font-size: 24px; }
.e-spark { display: block; overflow: visible; }
.e-leader { display: flex; align-items: center; gap: 0; }
.e-hair { width: 220px; height: 1px; background: var(--el-hair); }

/* ---------- 11.4 Time ---------- */
.e-week { display: grid; grid-template-columns: repeat(7, 34px); gap: 6px; text-align: center; }
.e-week .dl { font-family: var(--lab); font-size: 9px; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.e-week .d { position: relative; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--muted); }
.e-week .d.logged { box-shadow: inset 0 0 0 1.25px var(--ink); color: var(--ink); }
.e-week .d.missed { box-shadow: inset 0 0 0 1.25px rgba(26,26,26,.25); color: var(--secondary); background-image: radial-gradient(circle, transparent 0); }
.e-week .d.missed::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--secondary); }
.e-week .d.today { background: var(--ink); color: #fff; }
.e-week .d.today::after { content: ''; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
.e-week.light .dl { color: rgba(255,255,255,.75); } .e-week.light .d { color: rgba(255,255,255,.7); }
.e-week.light .d.logged { box-shadow: inset 0 0 0 1.25px #fff; color: #fff; } .e-week.light .d.today { background: #fff; color: var(--ink); }
.e-week.light .d.today::after { background: #fff; } .e-week.light .d.missed { box-shadow: inset 0 0 0 1.25px rgba(255,255,255,.4); }
.e-stamp { font-family: var(--lab); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.e-stamp .k { color: var(--secondary); margin-right: 8px; }
.e-datebox { width: 64px; border-radius: 8px; background: var(--card-paper); box-shadow: 0 6px 14px -10px rgba(60,40,20,.4); text-align: center; padding: 7px 0 8px; font-family: var(--lab); color: var(--ink); }
.e-datebox .m { font-size: 9px; letter-spacing: .08em; color: var(--secondary); text-transform: uppercase; }
.e-datebox .n { font-family: var(--voice); font-size: 26px; font-weight: 300; line-height: 1.05; }
.e-dayline { position: relative; width: 300px; padding-left: 22px; }
.e-dayline::before { content: ''; position: absolute; left: 6px; top: 12px; bottom: 12px; width: 1px; background: var(--el-hair-2); }
.e-dayline .p { position: relative; display: flex; align-items: center; gap: 8px; height: 34px; font-size: 15px; }
.e-dayline .p::before { content: ''; position: absolute; left: -20px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--el-paper); box-shadow: inset 0 0 0 1.25px var(--secondary); }
.e-dayline .p.done::before { background: var(--ink); box-shadow: none; }
.e-dayline .p.now::before { width: 13px; height: 13px; margin-top: -6.5px; left: -22px; background: var(--el-card); box-shadow: inset 0 0 0 1.25px var(--ink), inset 0 0 0 4px var(--el-card), inset 0 0 0 7px var(--ink); }
.e-dayline .p .rng { font-family: var(--lab); font-size: 10px; color: var(--muted); letter-spacing: .04em; }
.e-dayline .p .end { margin-left: auto; font-size: 12.5px; color: var(--secondary); display: flex; align-items: center; gap: 4px; }
.e-dayline .p.future { color: var(--secondary); }
.e-weekc { display: flex; flex-direction: column; gap: 8px; }
.e-weekc .ticks { display: flex; gap: 4px; }
.e-weekc .ticks i { width: 12px; height: 12px; border-radius: 2px; box-shadow: inset 0 0 0 1.25px rgba(26,26,26,.25); }
.e-weekc .ticks i.on { background: var(--ink); box-shadow: none; }
.e-weekc .ticks i.now { box-shadow: inset 0 0 0 1.25px var(--ink); background: repeating-linear-gradient(45deg, var(--ink) 0 1px, transparent 1px 4px); }
.e-slot { display: flex; align-items: center; gap: 14px; width: 300px; border-radius: var(--el-r-row); padding: 12px 14px; background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair); }
.e-slot .tm { font-size: 18px; font-variant-numeric: tabular-nums; width: 52px; }
.e-slot .tt { font-size: 14.5px; } .e-slot .ss { font-size: 12px; color: var(--secondary); margin-top: 2px; }
.e-slot .rd { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px var(--secondary); }
.e-slot.sel { box-shadow: inset 0 0 0 1.25px var(--ink); } .e-slot.sel .rd { box-shadow: inset 0 0 0 1.25px var(--ink), inset 0 0 0 4px var(--el-card), inset 0 0 0 9px var(--ink); }
.e-slot.full { opacity: .5; } .e-slot.full .rd { box-shadow: none; }

/* ---------- 11.5 Status and progress ---------- */
.e-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-family: var(--lab); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; box-shadow: inset 0 0 0 1px var(--el-hair-2); color: var(--ink); background: transparent; }
.e-pill.now { background: var(--ink); color: #fff; box-shadow: none; }
.e-pill.done { background: rgba(26,26,26,.07); box-shadow: none; }
.e-pill.req { color: var(--ember); box-shadow: inset 0 0 0 1px rgba(198,90,46,.45); }
.e-pill.opt { color: var(--secondary); }
.e-pill.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.e-pill.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: none; }
.e-pill .ic { margin-left: -2px; }
.e-dots { display: flex; gap: 5px; align-items: center; }
.e-dots i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px rgba(26,26,26,.28); }
.e-dots i.on { background: var(--c, var(--ink)); box-shadow: none; }
.e-dots i.today { box-shadow: inset 0 0 0 1.25px var(--c, var(--ink)); }
.e-dots.light i { box-shadow: inset 0 0 0 1.25px rgba(255,255,255,.5); } .e-dots.light i.on { background: #fff; }
.e-act { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1.25px var(--el-hair-2); color: var(--ink); background: var(--el-card); flex: none; }
.e-act.yes { box-shadow: inset 0 0 0 1.25px var(--ink); }
.e-act.done { background: var(--ink); color: #fff; box-shadow: none; }
.e-act.skip { background: rgba(26,26,26,.08); color: var(--secondary); box-shadow: none; }
.e-act.press { transform: scale(.92); box-shadow: inset 0 0 0 1.25px var(--ink), 0 0 0 4px rgba(26,26,26,.08); }
.e-act.off { opacity: .35; }
.e-evid { display: flex; align-items: center; gap: 10px; }
.e-evid .bars { display: flex; gap: 3px; align-items: flex-end; }
.e-evid .bars i { width: 4px; border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(26,26,26,.35); }
.e-evid .bars i:nth-child(1) { height: 6px; } .e-evid .bars i:nth-child(2) { height: 9px; } .e-evid .bars i:nth-child(3) { height: 12px; } .e-evid .bars i:nth-child(4) { height: 15px; }
.e-evid .bars i.on { background: var(--ink); box-shadow: none; }
.e-evid .t { font-family: var(--lab); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- 11.6 Items and rows ---------- */
.e-tile { width: 40px; height: 40px; border-radius: var(--tile-r); background: var(--tile-fill); box-shadow: none; display: flex; align-items: center; justify-content: center; color: var(--ink); flex: none; }
.e-tile.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: none; color: var(--ink); }
.e-tile.ink { background: var(--ink); color: #fff; box-shadow: none; }
.e-tile.mute { background: var(--tile-fill); box-shadow: none; color: var(--muted); }
.e-row { display: flex; align-items: center; gap: 12px; width: 330px; padding: 12px 14px; border-radius: var(--el-r-row); background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair); color: var(--ink); }
.e-row .tx { flex: 1; min-width: 0; }
.e-row .tt { font-size: 15px; line-height: 1.25; }
.e-row .ss { font-size: 12.5px; color: var(--secondary); margin-top: 2px; line-height: 1.3; }
.e-row .acts { display: flex; gap: 8px; }
.e-row.done .tt { color: var(--ink); } .e-row.done .ss { color: var(--secondary); }
.e-row.skip { background: transparent; } .e-row.skip .tt { color: var(--secondary); } .e-row.skip .e-tile { opacity: .55; }
.e-row.locked { background: transparent; } .e-row.locked .tt, .e-row.locked .ss { color: var(--muted); }
.e-row.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: none; }
.e-row .chev { color: var(--muted); }
.e-row .val { font-size: 20px; font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.e-row .unit { font-family: var(--lab); font-size: 10px; letter-spacing: .04em; color: var(--secondary); width: 48px; }
.e-row .mk { width: 6px; height: 6px; border-radius: 50%; background: transparent; flex: none; }
.e-row .mk.on { background: var(--ember); }
.e-list { width: 330px; border-radius: var(--el-r-row); background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair); overflow: hidden; }
.e-list .e-row { width: auto; border-radius: 0; box-shadow: none; background: transparent; }
.e-list .e-row + .e-row { box-shadow: inset 0 1px 0 var(--el-hair); }
.e-toggle { width: 40px; height: 24px; border-radius: 999px; background: rgba(26,26,26,.14); position: relative; flex: none; }
.e-toggle::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.e-toggle.on { background: var(--ink); } .e-toggle.on::after { left: 19px; }
.e-toggle.lockd { opacity: .45; }
.e-step .st { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }

/* Compact variants for tight cells */
.e-twin.xs .row { flex-direction: column-reverse; align-items: flex-start; gap: 3px; }
.e-twin.xs .nm { font-size: 18px; } .e-twin.xs .sc { font-size: 13px; }
.e-twin.xs .info { left: 10px; right: 10px; bottom: 10px; }
.tight .e-areas .a { padding: 3px 0; row-gap: 4px; }
.e-list.tight .e-row { padding-top: 8px; padding-bottom: 8px; }
.e-list.tight .e-tile { width: 34px; height: 34px; border-radius: 9px; }

/* ---------- Review 9 ---------- */
/* Lab note on a plane: dot on the anchor, 1 px line, 8 px gap, tag. One tone per tag. */
.e-tag { font-family: var(--lab); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; padding: 5px 9px 4px; border-radius: 3px; background: rgba(250,247,242,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); }
.e-pn { position: absolute; display: flex; align-items: center; flex-direction: row-reverse; transform: translate(calc(-100% + 2.5px), -50%); z-index: 2; }
.e-pn.r { flex-direction: row; transform: translate(-2.5px, -50%); }
.e-pn .dot { width: 5px; height: 5px; border-radius: 50%; background: #fff; flex: none; }
.e-pn .ln { height: 1px; background: #fff; flex: none; margin: 0 0 0 8px; }
.e-pn.r .ln { margin: 0 8px 0 0; }
.e-pn.dark .e-tag { background: rgba(26,26,26,.85); color: #fff; }
.e-pn.dark .dot, .e-pn.dark .ln { background: var(--ink); }

/* 11.1.7 Floating system plane */
.e-planes { position: relative; perspective: 1500px; flex: none; }
.e-planes .stk { position: absolute; inset: 0; transform-style: preserve-3d; }
.e-planes .e-pl { position: absolute; inset: 0; border-radius: 3px; }
.e-planes .life { overflow: hidden; background: #222; }
.e-planes .life img { width: 100%; height: 100%; object-fit: cover; display: block; }
.e-planes .sys .c { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); }
.e-planes .sys .tl { left: -1px; top: -1px; border-left-width: 1px; border-top-width: 1px; } .e-planes .sys .tr { right: -1px; top: -1px; border-right-width: 1px; border-top-width: 1px; }
.e-planes .sys .bl { left: -1px; bottom: -1px; border-left-width: 1px; border-bottom-width: 1px; } .e-planes .sys .br { right: -1px; bottom: -1px; border-right-width: 1px; border-bottom-width: 1px; }
.e-planes .pl-tag { position: absolute; left: 0; top: -22px; font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); white-space: nowrap; }
.e-planes .pl-card { position: absolute; }
.e-planes.tilt .stk { transform: rotateX(46deg) rotateZ(-26deg) scale(.8); }
.e-planes.tilt .life { transform: translateZ(-24px); box-shadow: 0 50px 70px -40px rgba(60,40,20,.55); }
.e-planes.tilt .sys { transform: translateZ(36px); border: 1px solid rgba(26,26,26,.26); background: rgba(247,245,242,.06); }
.e-planes.apart .stk { transform: rotateX(52deg) rotateZ(-30deg) scale(.74); }
.e-planes.apart .life { transform: translateZ(-120px); box-shadow: 0 50px 70px -40px rgba(60,40,20,.55); }
.e-planes.apart .sys { transform: translateZ(160px); border: 1px solid rgba(26,26,26,.26); background: rgba(247,245,242,.06); }
.e-planes.flat .sys { border: 0; }
html:not(.export) .e-planes.drift .stk { animation: plane-drift 14s ease-in-out infinite alternate; }
@keyframes plane-drift { from { transform: rotateX(46deg) rotateZ(-26deg) scale(.8); } to { transform: rotateX(42deg) rotateZ(-21deg) scale(.8); } }

/* 11.11 Making your Twin: the mesh is the only construction mesh in the book */
.e-mesh { width: 100%; height: 100%; display: block; overflow: visible; }
.e-mesh g.b line { stroke: rgba(var(--mc), .42); stroke-width: .9; }
.e-mesh g.f line { stroke: rgba(var(--mc), .28); stroke-width: .8; stroke-dasharray: 2 3; }
.e-mesh circle.b { fill: rgba(var(--mc), .72); }
.e-mesh circle.f { fill: none; stroke: rgba(var(--mc), .45); stroke-width: .9; }
.e-making { position: relative; flex: none; }
.e-making .tw { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; }
.e-making .tw img { width: 100%; height: 100%; object-fit: cover; display: block; }
.e-making .mp { position: absolute; inset: 0; }
.e-making.float { perspective: 1200px; }
.e-making.float .mp { transform: translate3d(-34px, -14px, 0) rotateY(14deg); border: 1px solid rgba(26,26,26,.16); background: rgba(247,245,242,.32); border-radius: 4px; }
.e-makebar { width: 200px; font-family: var(--lab); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.e-makebar .r { display: flex; justify-content: space-between; margin-bottom: 8px; }

/* 11.11 Face capture */
.e-oval { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; }
.e-oval .o { position: relative; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1.5px rgba(255,255,255,.9); background: radial-gradient(70% 60% at 50% 40%, var(--dark-2), var(--dark-2)); }
.e-oval.turn .o { box-shadow: 0 0 0 1.5px rgba(255,255,255,.55); }
.e-oval .o img { position: absolute; left: 50%; top: 52%; width: 150%; transform: translate(-50%, -50%); }
.e-oval.ready .o img { opacity: .9; }
.e-oval .ok { position: absolute; right: 12%; bottom: 10%; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.e-oval .segs { display: flex; gap: 4px; }
.e-oval .segs i { width: 16px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.3); }
.e-oval .segs i.on { background: #fff; }
.e-oval .cap { font-size: 15px; font-weight: 300; text-align: center; }
.e-check { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.e-check .r { display: flex; align-items: center; gap: 10px; }
.e-check .b { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px currentColor; display: flex; align-items: center; justify-content: center; flex: none; opacity: .6; }
.e-check .r.done .b { background: currentColor; box-shadow: none; opacity: 1; }
.e-check .r.done .b svg { stroke: var(--check-on, var(--dark)); }
.e-check .r.pend { opacity: .5; }
.e-upload.empty { width: 170px; text-align: center; color: var(--ink); }
.e-upload .doc { width: 70px; height: 88px; margin: 0 auto 12px; border-radius: 8px; background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair-2); padding: 18px 13px 0; display: flex; flex-direction: column; gap: 6px; }
.e-upload .doc i { display: block; height: 1.25px; background: rgba(26,26,26,.3); }
.e-upload .t { font-size: 15px; } .e-upload .s { font-size: 12.5px; color: var(--secondary); margin-top: 2px; }
.e-upload.file { width: 300px; display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--el-r-row); background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair); color: var(--ink); }
.e-upload.file.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: none; }
.e-upload.file .tx { flex: 1; min-width: 0; }
.e-upload.file .r { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 7px; gap: 8px; }
.e-upload.file .tt { font-size: 14px; white-space: nowrap; } .e-upload.file .st { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); white-space: nowrap; }
.e-upload.file.error .st { color: var(--ember); }
.e-upload.file.error .e-prog i { background: var(--ember); }
.e-upload.file .ss { font-size: 12px; color: var(--secondary); margin-top: 6px; }
.e-upload.file .e-prog { width: 100% !important; }

/* 11.7 Messages */
.e-omark { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--ink); }
.e-omark i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1.6px #fff; }
.e-omark.light { background: #fff; } .e-omark.light i { box-shadow: inset 0 0 0 1.6px var(--ink); }
.e-nudge { width: 300px; display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--el-r-card); background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair); color: var(--ink); }
.e-nudge .tx { flex: 1; min-width: 0; }
.e-nudge .k { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.e-nudge .k b { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.e-nudge .tt { font-size: 15.5px; line-height: 1.3; letter-spacing: -0.005em; }
.e-nudge .ss { font-size: 12.5px; color: var(--secondary); margin-top: 4px; line-height: 1.35; }
.e-nudge .acts { display: flex; gap: 8px; margin-top: 10px; }
.e-nudge.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: none; }
.e-nudge.smk { background: linear-gradient(160deg, rgba(38,32,28,.64), rgba(18,16,15,.74)); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fff; }
.e-nudge.smk .k, .e-nudge.smk .ss { color: rgba(255,255,255,.7); }
.e-nudge.read { background: transparent; } .e-nudge.read .tt { color: var(--secondary); }
.e-toast { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 7px; border-radius: 999px; background: var(--el-card); box-shadow: 0 10px 24px -14px rgba(40,25,15,.4), inset 0 0 0 1px var(--el-hair); color: var(--ink); white-space: nowrap; }
.e-toast .tt { font-size: 14px; } .e-toast .tm { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; color: var(--muted); }
.e-toast.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 10px 24px -14px rgba(40,25,15,.4); }
.e-toast.gone { opacity: .45; transform: translateY(6px) scale(.98); }
.e-toast .e-btn { height: 28px; padding: 0 12px; font-size: 12.5px; margin-left: 4px; }
.e-doc { width: 300px; border-radius: 12px; background: var(--card-paper, var(--stage-lt)); padding: 14px 16px 15px; box-shadow: 0 10px 22px -16px rgba(60,40,20,.4), 0 1px 3px -1px rgba(60,40,20,.15); color: var(--ink); }
.e-doc .k { display: flex; gap: 10px; align-items: center; font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
.e-doc .k em { font-style: normal; color: var(--secondary); }
.e-doc .tt { font-size: 14.5px; line-height: 1.42; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(26,26,26,.14); }
.e-doc .ft { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); margin-top: 9px; }
.e-doc.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
.e-doc.draft .tt { color: var(--secondary); }
.e-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.e-qr { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px; border-radius: 999px; font-size: 14px; background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair-2); color: var(--ink); white-space: nowrap; }
.e-qr.sel { background: var(--ink); color: #fff; box-shadow: none; }
.e-qr.sent { background: transparent; color: var(--secondary); box-shadow: inset 0 0 0 1px var(--el-hair); }
.e-chips.gl .e-qr:not(.sel) { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: none; }
.e-empty { width: 220px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; color: var(--ink); }
.e-empty .e-tile { margin-bottom: 8px; }
.e-empty .tt { font-size: 16px; font-weight: 300; } .e-empty .ss { font-size: 12.5px; color: var(--secondary); line-height: 1.35; }
.e-empty .e-btn { margin-top: 10px; }
.e-empty.gl { background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-radius: var(--el-r-card); padding: 18px; }

/* 11.10 Places and maps */
.e-map { position: relative; border-radius: 14px; overflow: hidden; flex: none; }
.e-map > svg { width: 100%; height: 100%; display: block; }
.e-map .ml { font-family: var(--lab); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; fill: var(--warm-3); }
.e-map .pl-pin { position: absolute; transform: translate(-50%, -50%); }
.e-mark { display: block; flex: none; }
.e-pin { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px 0 9px; border-radius: 999px; background: var(--el-card); box-shadow: 0 6px 14px -8px rgba(40,25,15,.45), inset 0 0 0 1px var(--el-hair); font-size: 12.5px; color: var(--ink); white-space: nowrap; }
.e-pin .e-av { margin-left: -5px; }
.e-pin.sel { background: var(--ink); color: #fff; box-shadow: 0 6px 14px -8px rgba(40,25,15,.6); }
.e-pin.full { color: var(--muted); }
.e-place { position: relative; border-radius: 16px; overflow: hidden; flex: none; color: #fff; background: var(--dark); }
.e-place > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.e-place::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,14,10,.62), rgba(20,14,10,0) 50%); }
.e-place .cat { position: absolute; left: 10px; top: 10px; z-index: 2; height: 22px; font-size: 9.5px; color: var(--ink); }
.e-place .sv { position: absolute; right: 10px; top: 10px; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.8); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.e-place .nm { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; }
.e-place .nm .t { font-size: 19px; font-weight: 300; letter-spacing: -0.01em; line-height: 1.1; }
.e-place .nm .m { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .85; margin-top: 5px; }
.e-place .brief { position: absolute; inset: 0; background: var(--el-paper); color: var(--ink); padding: 44px 14px 0; box-shadow: inset 0 0 0 1px var(--el-hair-2); border-radius: 16px; }
.e-place .brief .lab { color: var(--ember); }
.e-place .brief p { font-size: 12px; line-height: 1.4; color: var(--secondary); margin: 6px 0 0; }
.e-place:has(.brief) { color: var(--ink); }
.e-place:has(.brief)::after { display: none; }
.e-place.locked > img { filter: grayscale(.5); opacity: .6; }
.e-pitem .th { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex: none; background: var(--el-paper); }
.e-pitem .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.e-pitem .wh { font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); margin-bottom: 3px; }
.e-booked { width: 290px; border-radius: 24px; background: var(--el-card); padding: 22px 18px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); box-shadow: 0 24px 50px -30px rgba(20,10,5,.55); }
.e-booked .ck { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.e-booked .tt { font-size: 21px; font-weight: 300; letter-spacing: -0.01em; } .e-booked .ss { font-size: 12.5px; color: var(--secondary); margin-top: 4px; line-height: 1.35; }
.e-booked .fr { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--el-paper); }
.e-booked .fr .t { font-size: 13.5px; } .e-booked .fr .s { font-size: 11.5px; color: var(--secondary); }
.e-booked .bt { display: flex; gap: 8px; width: 100%; margin-top: 14px; } .e-booked .bt .e-btn { flex: 1; }
.e-booked.gl { background: rgba(251,249,246,.86); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }

/* 11.12 Icon tiles, one per direction */
.e-it { --ts: 40px; width: var(--ts); height: var(--ts); display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--ink); position: relative; }
.e-it.tp { border-radius: 10px; background: var(--tile-fill); box-shadow: inset 0 0 0 1px rgba(26,26,26,.06); }
.e-it.tg { border-radius: var(--tile-r); box-shadow: none; background: var(--tile-fill); }
.e-it.ts { border-radius: 3px; background: var(--stage-lt); box-shadow: inset 0 0 0 1px rgba(42,35,32,.5), inset 0 0 0 3px var(--stage-lt), inset 0 0 0 4px rgba(42,35,32,.28); }
.e-it.ts em { position: absolute; right: 4px; bottom: 2px; font-style: normal; font-family: var(--lab); font-size: 6.5px; letter-spacing: .04em; color: rgba(42,35,32,.6); }
.e-it.to { border-radius: 50%; box-shadow: inset 0 0 0 1.25px rgba(26,26,26,.3); background: transparent; }
.e-it.gl.tp, .e-it.gl.tg, .e-it.gl.to { background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: none; }
.e-it.act.tp, .e-it.act.tg, .e-it.act.to { background: var(--ink); color: #fff; box-shadow: none; }
.e-it.act.ts { background: var(--dark); box-shadow: inset 0 0 0 3px var(--dark), inset 0 0 0 4px rgba(244,239,231,.4); } .e-it.act.ts em { color: rgba(244,239,231,.6); }
.e-it.off { opacity: .4; }
.e-it.bare { background: none !important; box-shadow: none !important; }
.icgrid { display: grid; gap: 14px 10px; justify-items: center; }
.icgrid .nm { font-family: var(--lab); font-size: 8.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 6px; text-align: center; white-space: nowrap; }
.icon-big { width: 168px; height: 168px; position: relative; background-image: linear-gradient(rgba(26,26,26,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(26,26,26,.07) 1px, transparent 1px); background-size: 7px 7px; box-shadow: inset 0 0 0 1px rgba(26,26,26,.14); }
.icon-big::before { content: ''; position: absolute; inset: 14px; box-shadow: inset 0 0 0 1px rgba(198,90,46,.45); }
.icon-big svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.e-oval.onpaper .o { box-shadow: 0 0 0 1.5px var(--ink); background: var(--el-card); }
.e-oval.onpaper .segs i { background: rgba(26,26,26,.15); }
.e-pitem.chosen { box-shadow: inset 0 0 0 1.25px var(--ink); }
.e-pitem.done .wh { color: var(--ink); }

/* ---------- Review 10 ---------- */
/* The glass lens: the one active state. A raised, lighter glass with depth and a soft top highlight. */
:root {
  --lens-fill: linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.78) 55%, rgba(250,247,242,.86) 100%);
  --lens-shadow: inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 1px rgba(60,40,20,.06), 0 0 0 .5px rgba(26,26,26,.1), 0 6px 14px -6px rgba(40,25,15,.32), 0 1px 2px rgba(40,25,15,.12);
  --glass-bar: rgba(236,231,224,.62);
  --glass-bar-edge: inset 0 0 0 .5px rgba(255,255,255,.7), inset 0 1px 0 rgba(255,255,255,.55), 0 18px 40px -22px rgba(40,25,15,.45);
}
.lens { position: relative; background: var(--lens-fill); box-shadow: var(--lens-shadow); -webkit-backdrop-filter: blur(12px) saturate(1.3) brightness(1.06); backdrop-filter: blur(12px) saturate(1.3) brightness(1.06); color: var(--ink); }
.lens::before { content: ''; position: absolute; inset: 1px 1px 50% 1px; border-radius: inherit; background: radial-gradient(120% 90% at 30% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%); pointer-events: none; }
.lens > * { position: relative; }

/* Status pill Now: a lens with the live ember dot (ink is kept for the primary CTA). */
.e-pill.now { background: var(--lens-fill); box-shadow: var(--lens-shadow); color: var(--ink); }
.e-pill.now::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--ember); margin-left: -1px; }

/* Category pill */
.e-pill.cat-p { gap: 5px; padding-left: 7px; }

/* Map */
.e-map { background: var(--stage-lt); }
.e-map .ma { font-family: var(--voice); font-size: calc(10.5px / var(--z, 1)); letter-spacing: .01em; fill: rgba(26,26,26,.55); }
.e-map .ms { font-family: var(--lab); font-size: calc(5.6px / var(--z, 1) * 1.3); letter-spacing: .1em; text-transform: uppercase; fill: rgba(26,26,26,.42); }
.e-map .ms.w { fill: #8FA2B2; font-style: italic; }
.e-map .pl-pin { position: absolute; transform: translate(-50%, -50%); z-index: 2; }
.e-mk { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #FBF9F6; color: var(--ink); box-shadow: 0 0 0 1px rgba(26,26,26,.28), 0 3px 8px -3px rgba(40,25,15,.4); flex: none; }
.e-mk.sel { width: 38px; height: 38px; background: var(--lens-fill); box-shadow: var(--lens-shadow), 0 0 0 1.25px var(--ink); }
.e-mk.mute { opacity: .45; }
.e-pin { gap: 6px; padding-left: 8px; }
.e-pin.sel { background: var(--lens-fill); color: var(--ink); box-shadow: var(--lens-shadow), 0 0 0 1.25px var(--ink); }
.e-mapspec { width: 100%; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.e-mapspec .r { display: grid; grid-template-columns: 80px 104px 30px 1fr; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--el-hair); font-size: 12.5px; color: var(--secondary); }
.e-mapspec .k { color: var(--ink); font-size: 13px; }
.e-mapspec .ly { font-family: var(--lab); font-size: 10px; letter-spacing: .04em; color: var(--ink); }
.e-mapspec .sw { width: 30px; height: 16px; border-radius: 2px; box-shadow: inset 0 0 0 .5px rgba(26,26,26,.15); display: flex; align-items: center; }
.e-mapspec .sw.ln { background: var(--stage-lt); } .e-mapspec .sw.ln i { display: block; width: 100%; }
.e-mapspec .sw.tx { box-shadow: none; font-size: 12px; color: var(--ink); justify-content: center; }
.e-mapspec .sw.off { background: repeating-linear-gradient(-45deg, transparent 0 3px, rgba(26,26,26,.2) 3px 4px); }
.e-place .cat { position: absolute; left: 10px; top: 10px; z-index: 2; }
.e-place .cat .e-pill { height: 22px; font-size: 9.5px; color: var(--ink); }
.e-pitem .th { position: relative; }
.e-pitem .th .ci { position: absolute; left: 4px; bottom: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.85); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.e-pitem .th:empty, .e-pitem .th:not(:has(img)) { box-shadow: inset 0 0 0 1px dashed; }
.e-pitem.chosen { background: var(--lens-fill); box-shadow: var(--lens-shadow), 0 0 0 1.25px rgba(26,26,26,.5); }

/* Avatars by voice */
.e-omark { width: 30px; height: 30px; border-radius: 50%; background: var(--stage-lt); box-shadow: inset 0 0 0 1px rgba(26,26,26,.16); display: flex; align-items: center; justify-content: center; flex: none; }
.e-omark i { display: none; }
.e-omark img { width: 12px; height: auto; display: block; }
.e-nudge.smk .e-omark, .e-omark.light { background: rgba(255,255,255,.85); }
.e-docav { display: block; border-radius: 50%; flex: none; background-color: var(--stage); background-size: 160% auto; background-position: 50% 27%; background-repeat: no-repeat; box-shadow: inset 0 0 0 .5px rgba(26,26,26,.12); }
.e-tile.bare { box-shadow: none; background: none; }

/* The report: an analogue paper file with a tab, a typed label and a paper grain */
.e-file { --fw: 200px; position: relative; width: var(--fw); height: calc(var(--fw) * .76); flex: none; font-family: var(--lab); letter-spacing: .05em; text-transform: uppercase; color: var(--dark-2); }
.e-file .back, .e-file .front, .e-file .sheet { position: absolute; left: 0; right: 0; border-radius: 3px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .25  0 0 0 0 .2  0 0 0 .07 0'/></filter><rect width='120' height='120' filter='url(%23n)'/></svg>"); }
.e-file .back { top: 9%; bottom: 0; background-color: var(--stage); box-shadow: inset 0 0 0 1px rgba(90,70,50,.18); }
.e-file .tab { position: absolute; left: 10%; top: -12px; height: 13px; padding: 2px 10px 0; border-radius: 4px 4px 0 0; background: var(--stage); box-shadow: inset 1px 1px 0 rgba(90,70,50,.15), inset -1px 0 0 rgba(90,70,50,.15); font-size: 7.5px; line-height: 11px; color: var(--dark-2); }
.e-file .sheet { left: 6%; right: 8%; top: 4%; bottom: 14%; background-color: var(--stage-lt); box-shadow: 0 1px 2px rgba(60,40,20,.15), inset 0 0 0 .5px rgba(60,40,20,.12); padding: 9% 9% 0; display: flex; flex-direction: column; gap: 5px; }
.e-file .sheet .ty { white-space: nowrap; font-size: 7px; color: var(--dark-2); margin-bottom: 4px; }
.e-file .sheet i { display: block; height: 1px; background: rgba(58,51,46,.28); }
.e-file .sheet.reading { top: -6%; }
.e-file .front .stamp { position: absolute; right: 8%; bottom: 10%; font-size: 7px; padding: 3px 5px 2px; border: 1px solid rgba(58,51,46,.55); border-radius: 2px; color: var(--dark-2); opacity: .85; }
.e-file .front .stamp.err { color: var(--ember); border-color: rgba(198,90,46,.6); }
.e-file .front { top: 34%; bottom: 0; background-color: var(--file-card); box-shadow: 0 -1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(90,70,50,.2), 0 10px 18px -12px rgba(60,40,20,.5); padding: 11% 9% 0; }
.e-file .front .ty { display: inline-block; white-space: nowrap; font-size: 7.5px; padding: 4px 7px 3px; background: var(--stage-lt); box-shadow: inset 0 0 0 .5px rgba(90,70,50,.25); color: var(--dark-2); }
.e-file .front .pr { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; font-size: 7.5px; color: var(--dark-2); }
.e-file .front .pr .e-prog { width: 100% !important; }
.e-file.empty .back { background-color: transparent; box-shadow: inset 0 0 0 1px rgba(90,70,50,.3); background-image: none; border: 0; outline: 1px dashed rgba(90,70,50,.35); outline-offset: -1px; }
.e-file.empty .tab { background: #F2EEE8; box-shadow: inset 0 0 0 1px rgba(90,70,50,.3); }
.e-file.empty .front { background-color: #F2EEE8; box-shadow: inset 0 0 0 1px rgba(90,70,50,.3); background-image: none; }
.e-minifile { position: relative; width: 34px; height: 30px; flex: none; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.e-minifile .t { position: absolute; left: 3px; top: 1px; width: 12px; height: 5px; border-radius: 2px 2px 0 0; background: var(--stage); box-shadow: inset 0 0 0 .5px rgba(90,70,50,.3); }
.e-minifile .b { position: absolute; left: 0; right: 0; top: 5px; bottom: 0; border-radius: 3px; background: var(--file-card); box-shadow: inset 0 0 0 .5px rgba(90,70,50,.3), 0 4px 8px -5px rgba(60,40,20,.5); }
.e-minifile .ic { position: relative; top: 2px; }
.e-minifile.error .b { box-shadow: inset 0 0 0 1px rgba(198,90,46,.6); }
.e-upload.empty { width: 190px; display: flex; flex-direction: column; align-items: center; }
.e-upload.empty .e-file { margin: 10px 0 14px; }

/* ---------- Review 20: the monochrome map and shape markers ---------- */
.e-map { background: var(--map-ground); }
.e-map .ma { font-family: var(--voice); font-size: calc(11px / var(--z, 1)); letter-spacing: .005em; fill: var(--map-area); }
.e-map .ms { font-family: var(--lab); font-size: calc(5.6px / var(--z, 1) * 1.3); letter-spacing: .1em; text-transform: uppercase; fill: rgba(26,26,26,.34); font-style: normal; }
.e-mk { width: auto; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; color: var(--ink); filter: drop-shadow(0 1px 1.5px rgba(26,26,26,.18)); }
.e-mk.sel { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 8px 18px -8px rgba(26,26,26,.45), inset 0 0 0 1px rgba(255,255,255,.9); filter: none; }
.e-mk.mute { opacity: .35; }

/* ---------- 11.7.6 Ask Omea ---------- */
.e-ask { width: 300px; padding: 14px 16px 12px; border-radius: var(--el-r-card); background: var(--el-card); box-shadow: inset 0 0 0 1px var(--el-hair), 0 12px 26px -20px rgba(40,25,15,.4); color: var(--ink); display: flex; flex-direction: column; gap: 10px; }
.e-ask .hd { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.e-ask .hd .e-omark { width: 22px; height: 22px; } .e-ask .hd .e-omark img { width: 9px; }
.e-ask .hd em { margin-left: auto; font-style: normal; font-family: var(--lab); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }
.e-ask .q { display: flex; justify-content: flex-end; }
.e-ask .q span { max-width: 82%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.35; }
.e-ask .an { display: flex; gap: 10px; align-items: flex-start; }
.e-ask .an .tx { flex: 1; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--stage-lt); box-shadow: inset 0 0 0 1px var(--el-hair); font-size: 13.5px; line-height: 1.4; }
.e-ask .an .tx.dots { display: inline-flex; flex: none; gap: 4px; padding: 12px 14px; }
.e-ask .an .tx.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--secondary); opacity: .6; }
.e-ask .cv { display: flex; gap: 6px; align-items: center; padding-left: 40px; font-size: 11.5px; line-height: 1.35; color: var(--secondary); }
.e-ask .em { font-size: 13px; color: var(--secondary); padding: 4px 0; }
.e-ask .cmp { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 6px 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--el-hair-2); font-size: 12.5px; color: var(--muted); }
.e-ask .cmp b { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-90deg); }
.e-ask.gl { background: rgba(251,249,246,.78); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: 0 16px 32px -20px rgba(0,0,0,.5); }
/* 11.6 habit row: the Why link (review 33) */
.e-row .why { display: inline-flex; align-items: center; gap: 3px; margin-top: 5px; font-family: var(--lab); font-size: 10.5px; letter-spacing: .06em; color: var(--secondary); }
.e-row.done .why, .e-row.skip .why { opacity: .8; }
/* 11.4 week strip with its month header */
.e-week.wm .mh { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; font-size: 15px; margin-bottom: 8px; }
.e-week.wm .mh .ar { display: inline-flex; gap: 10px; }
.e-week.light .mh { color: #fff; }
/* 11.6.6 The item page */
.e-ipage { width: 393px; padding: 0 20px 24px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); font-family: var(--voice); }
.e-ipage .ip-nav { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 4px; }
.e-ipage .ip-k { font-family: var(--lab); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); display: flex; align-items: center; gap: 10px; }
.e-ipage .ip-top h1 { font-size: 32px; font-weight: 300; letter-spacing: -0.025em; line-height: 1.08; margin: 8px 0 0; }
.e-ipage .ip-top p { font-size: 15px; line-height: 1.42; color: var(--ink-2); margin: 8px 0 6px; }
.e-ipage .ip-card { border-radius: 18px; background: var(--card-hi); box-shadow: inset 0 0 0 1px rgba(26,26,26,.08); padding: 14px 16px 16px; }
.e-ipage .ip-dr { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.e-ipage .ip-b { font-size: 14.5px; line-height: 1.42; margin: 8px 0 0; }
.e-ipage .ip-s { font-size: 13px; line-height: 1.4; color: var(--ink-2); margin: 8px 0 0; }
.e-ipage .ip-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.e-ipage .ip-card.res .ip-k { margin-bottom: 8px; }
.e-ipage .ip-card.res .e-evid .t { color: var(--ink); }
.e-ipage .ip-find { margin-top: 10px; border-radius: 12px; background: var(--card-find); padding: 12px 14px; }
.e-ipage .ip-find p { font-size: 14px; line-height: 1.42; margin: 0; }
.e-ipage .ip-find span { display: block; margin-top: 8px; font-family: var(--lab); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }
.e-ipage .ip-out { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.e-ipage .ip-out span { height: 32px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(26,26,26,.1); display: inline-flex; align-items: center; font-size: 13px; }
.e-ipage .ip-foot { display: flex; flex-direction: column; gap: 6px; padding: 6px 4px 0; font-size: 13px; color: var(--ink-2); }
.e-ipage .ip-foot a { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); }

/* 11.7.2 message card: the toast with a reply link */
.e-toast.msg { display: flex; height: auto; white-space: normal; gap: 12px; padding: var(--sp-pad); border-radius: var(--el-r-card); box-shadow: inset 0 0 0 1px var(--el-hair); align-items: center; }
.e-toast.msg .tx { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.e-toast.msg .tt { font-size: 15px; line-height: 1.3; }
.e-toast.msg .ln { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; }
.e-toast.msg .ln a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(26,26,26,.3); }
/* Avatar bank faces in a circle: the whole head inside, the face about 55 to 60% of the diameter (review 37) */
.e-av img.bk { border-radius: 0; transform: scale(1.32); transform-origin: 50% 36%; clip-path: circle(37.9% at 50% 46.6%); }
.e-av img.hc { background: none !important; position: absolute; height: auto; max-width: none; border-radius: 0; object-fit: initial; transform: none; }
/* Standard face crops (review 39): the crop fills the circle or oval whole, centred, no hand positioning */
.e-av img.cr { position: static; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; border-radius: 50%; transform: none; clip-path: none; background: none !important; }
.e-oval .o img.cr { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: none; }
.e-making .tw img.cr { object-fit: cover; object-position: 50% 42%; }
/* 11.4.1 week strip with completion rings (review 39) */
.e-week.rings .d { position: relative; background: transparent; box-shadow: none !important; color: var(--ink); }
.e-week.rings .d .rg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--ink); overflow: visible; }
.e-week.rings .d span { position: relative; }
.e-week.rings .d.none { color: var(--secondary); }
.e-week.rings .d.future { color: var(--secondary); }
.e-week.rings .d::after { display: none; }
.e-week.rings .d.today { background: var(--ink); color: #fff; }
.e-week.rings .d.today::after { content: ''; display: block; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
/* On a Twin ground or an image: white rings at reduced opacity; today stays the solid ink circle */
.e-week.rings.light .d { color: #fff; } .e-week.rings.light .d .rg { color: rgba(255,255,255,.72); }
.e-week.rings.light .d.none, .e-week.rings.light .d.future { color: rgba(255,255,255,.8); }
.e-week.rings.light .dl { color: rgba(255,255,255,.8); }
.e-week.rings.light .d.today { background: var(--ink); color: #fff; } .e-week.rings.light .d.today::after { background: var(--ink); }
/* Review 42: range bar (11b), change pill and evidence definitions (11.5), sources and score card (11b), ghost bars (11.3), state bands (11.3.6), retest (11.4) */
.e-range { width: 260px; padding-top: 22px; color: var(--ink); }
.e-range .rb-tr { position: relative; height: 1px; background: rgba(26,26,26,.28); }
.e-range .rb-band { position: absolute; top: -3px; height: 7px; border-radius: 4px; background: rgba(26,26,26,.12); }
.e-range .rb-pt { position: absolute; top: -4.5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: currentColor; }
.e-range .rb-pt b { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); font-weight: 400; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.e-range .rb-lb { position: relative; height: 14px; margin-top: 9px; }
.e-range .rb-lb span { position: absolute; transform: translateX(-50%); font-family: var(--lab); font-size: 10px; letter-spacing: .04em; color: var(--secondary); }
.e-range.light { color: #fff; } .e-range.light .rb-tr { background: rgba(255,255,255,.5); } .e-range.light .rb-band { background: rgba(255,255,255,.22); } .e-range.light .rb-lb span { color: rgba(255,255,255,.85); }
.e-pill.chg { background: transparent; box-shadow: inset 0 0 0 1px var(--el-hair-2); color: var(--ink); font-size: 10.5px; letter-spacing: .04em; }
.e-evdefs .ed-r, .e-srcs .sl-r { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--el-hair); font-size: 14px; line-height: 1.4; color: var(--ink); }
.e-evdefs .ed-r:first-child, .e-srcs .sl-r:first-child { border-top: 0; padding-top: 0; } .e-evdefs .ed-r:last-child, .e-srcs .sl-r:last-child { padding-bottom: 0; }
.e-evdefs .e-evid { width: 112px; flex: none; }
.e-srcs .sl-n { font-family: var(--lab); font-size: 11px; color: var(--secondary); width: 14px; flex: none; padding-top: 2px; }
.e-srcs .sl-t { display: block; } .e-srcs em { display: block; margin-top: 4px; font-style: normal; font-family: var(--lab); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--secondary); } .e-srcs .sl-j { display: block; font-size: 13px; color: var(--secondary); margin-top: 2px; }
.e-scorecard { display: flex; flex-direction: column; gap: 14px; color: var(--ink); }
.e-scorecard .sc-r { display: flex; align-items: center; gap: 10px; } .e-scorecard .sc-tx { flex: 1; } .e-scorecard .sc-t { font-size: 15px; } .e-scorecard .sc-s { font-size: 12.5px; color: var(--secondary); margin-top: 2px; }
.e-scorecard .sc-v { font-size: 28px; font-weight: 300; letter-spacing: -0.02em; min-width: 44px; text-align: right; } .e-scorecard .e-prog { width: 100% !important; } .e-scorecard .sc-nx { margin: 0; font-size: 14.5px; line-height: 1.42; }
.e-areas .a .b s { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: rgba(26,26,26,.18); text-decoration: none; }
.e-areas .a .b i { z-index: 1; } .e-areas .a .v em { font-style: normal; color: var(--muted); }
.e-spark .bl { font-family: var(--lab); font-size: 9px; letter-spacing: .05em; text-transform: uppercase; fill: var(--secondary); }
.e-weekc .ticks i.rt { box-shadow: inset 0 0 0 1.25px var(--ink); border-radius: 50%; }
.e-weekc .rtl { font-size: 13px; color: var(--secondary); } .e-weekc .rtl b { font-weight: 400; color: var(--ink); }
.c-rate .r span.last { position: relative; } .c-rate .r span.last::after { content: ''; position: absolute; left: 50%; bottom: -9px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ink); }
.e-ipage .ip-wk { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 14.5px; } .e-ipage .ip-wk .e-dots i { width: 10px; height: 10px; }
/* 11.6.2 variant · area row with chevron */
.e-row.arow .ar-h { display: flex; justify-content: space-between; align-items: baseline; }
.e-row.arow .ar-v { font-size: 14px; font-variant-numeric: tabular-nums; }
.e-row.arow .ar-b { display: block; position: relative; height: 3px; margin-top: 8px; border-radius: 2px; background: rgba(26,26,26,.1); }
.e-row.arow .ar-b i { position: absolute; inset: 0 auto 0 0; border-radius: 2px; background: var(--ink); }
.e-row.arow.low .tt, .e-row.arow.low .ar-v { color: var(--ember); } .e-row.arow.low .ar-b i { background: var(--ember); }
.e-row.arow .chev { color: var(--secondary); }

/* 11.6.3 data row with range (review 43) */
.e-row.drow.rr { flex-wrap: wrap; row-gap: 6px; } .e-row.drow.rr .rbw { flex-basis: 100%; } .e-row.drow.rr .e-range { padding-top: 4px; }
.e-row.drow .ss.flag { color: var(--ember); }
.e-week.one { grid-template-columns: 34px; }

.e-row.off { opacity: .5; }
.e-row.dashed { background: transparent; box-shadow: none; border: 1px dashed rgba(26,26,26,.22); }
.e-row.drow .rbw .e-range { width: 100%; }
.e-pitem.noci .ci{display:none}

.e-ask .hd.mono span { font-family: var(--lab); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--secondary); }
