/* options-site copy of shared/sim.css, with the audit fixes at the end.
   Simulated Elefo: the Companion (front-desk app) and the Console (web), linked.
   Colours, sizes and type follow the product (packages/ui tokens, app redesign 29 Nov 2026). */
.esim {
  --s-ground: #EDE7DD; --s-card: #FFFDF9; --s-paper: #F7F3EC; --s-paper-2: #EFE9DE; --s-paper-3: #E4DCCF;
  --s-ink: #1F1B17; --s-ink-2: #5A524A; --s-ink-3: #7A7268; --s-rule: #E6DFD3; --s-rule-strong: #CFC6B8;
  --s-accent: #B0521F; --s-accent-soft: #F6E6D6; --s-danger: #8E2330; --s-ok: #3E6B3C; --s-note: #FBF1D3;
  --s-web: #F3F4F3; --s-host: #D8DBDF; --s-host-2: #C7CBD1; --s-host-line: #AEB4BC; --s-host-ink: #2B2F35;
  --s-ui: "Instrument Sans", "Segoe UI", system-ui, sans-serif; --s-serif: "Newsreader", Georgia, serif;
  font: 400 14px/20px var(--s-ui); color: var(--s-ink); -webkit-font-smoothing: antialiased; text-align: left;
  display: grid; gap: 14px; container-type: inline-size;
}
.esim *, .esim *::before, .esim *::after { box-sizing: border-box; }
.esim button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.esim button:focus-visible, .esim [tabindex]:focus-visible { outline: 2px solid var(--s-ink); outline-offset: 2px; }
.esim svg.g { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* goals */
.esim__goals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; }
.esim__goal { display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap; min-height: 36px; padding: 0 16px 0 6px; border-radius: 18px; border: 1px solid var(--sim-chip-rule, var(--s-rule-strong)); background: var(--sim-chip, var(--s-card)); color: var(--sim-chip-ink, var(--s-ink)); font-weight: 600; }
.esim__goal i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; font: 600 12px/1 var(--s-ui); font-style: normal; }
.esim__goal.is-done i { background: var(--s-ink); border-color: var(--s-ink); color: #fff; }
.esim__goal.is-done { color: var(--sim-chip-ink-done, var(--s-ink-3)); }
.esim__goal.is-next { border-color: var(--s-accent); box-shadow: 0 0 0 1px var(--s-accent); }
.esim__sp { flex: 1; }
.esim__reset { min-height: 36px; padding: 0 10px; color: var(--sim-label, var(--s-ink-2)) !important; text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.esim__tabs { display: none; height: 40px; padding: 3px; border-radius: 20px; background: var(--s-paper-3); font-weight: 600; font-size: 13px; }
.esim__tabs button { padding: 0 16px; border-radius: 17px; color: var(--s-ink-2); }
.esim__tabs button[aria-pressed="true"] { background: var(--s-card); color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-rule-strong); }

/* stage */
.esim__stage { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.esim__pane { display: grid; grid-template-rows: auto 1fr; gap: 8px; min-width: 0; }
.esim__cap { display: flex; align-items: baseline; gap: 8px; font: 600 11px/14px var(--s-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--sim-label, var(--s-ink-2)); }
.esim__cap b { font-weight: 600; opacity: .6; }
.esim__win { position: relative; height: var(--sim-h, 600px); border-radius: 14px; overflow: hidden; background: var(--s-host); box-shadow: 0 0 0 1px rgba(31,27,23,.14), 0 24px 48px -28px rgba(31,27,23,.45); }

/* host: plain practice software, deliberately greyer than Elefo */
.esim .pms { position: absolute; inset: 0; right: 344px; display: grid; grid-template-rows: 26px 30px 1fr; color: var(--s-host-ink); font: 400 11px/14px "Segoe UI", system-ui, sans-serif; }
.esim .pms__title { display: flex; align-items: center; gap: 8px; padding: 0 10px; background: #B7BCC3; font-weight: 600; white-space: nowrap; overflow: hidden; }
.esim .pms__menu { display: flex; align-items: center; gap: 14px; padding: 0 10px; background: var(--s-host-2); border-bottom: 1px solid var(--s-host-line); white-space: nowrap; overflow: hidden; }
.esim .pms__grid { display: grid; grid-template-columns: 34px repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; background: #F7F8F9; }
.esim .pms__grid > div { border-right: 1px solid #D9DDE2; border-bottom: 1px solid #E4E7EA; padding: 2px 4px; overflow: hidden; white-space: nowrap; }
.esim .pms__grid .hd { background: #EEF0F2; font-weight: 600; border-bottom-color: var(--s-host-line); }
.esim .pms__grid .tm { color: #5E656E; font-size: 10px; }
.esim .pms__grid .ap { background: #C9D6E8; border-left: 3px solid #7F97B8; } .esim .pms__grid .ap.b { background: #D7E3D0; border-left-color: #86A379; } .esim .pms__grid .ap.c { background: #E8DCC6; border-left-color: #B79B63; }

/* Companion */
.esim .app { position: absolute; top: 0; right: 0; bottom: 0; width: 344px; display: grid; grid-template-rows: 46px 1fr auto 54px; background: var(--s-ground); border-left: 1px solid rgba(31,27,23,.18); overflow: hidden; }
.esim .app__bar { display: flex; align-items: center; gap: 8px; padding: 0 12px; }
.esim .app__mark { width: 24px; height: 24px; }
.esim .app__chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 4px; border: 1px solid var(--s-rule-strong); border-radius: 17px; background: var(--s-card); font-weight: 600; }
.esim .av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #CFE3E1; font: 600 10px/1 var(--s-ui); color: #1d3b3a; flex: none; }
.esim .av.b { background: #E9D9C4; color: #4d3a22; } .esim .av.c { background: #DCD7EA; color: #3a2f57; }
.esim .app__card { position: relative; margin: 0 8px; background: var(--s-card); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px rgba(31,27,23,.05); }
.esim .app__page { position: absolute; inset: 0; overflow: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; }
.esim .app__page > * { flex: none; }
.esim .app__act { display: flex; align-items: center; gap: 8px; padding: 8px 10px 4px; }
.esim .fld { flex: 1; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 21px; border: 1px solid var(--s-rule-strong); background: var(--s-card); color: var(--s-ink-3); }
.esim .ib { display: grid !important; place-items: center; width: 42px; height: 42px; border-radius: 21px; border: 1px solid var(--s-rule-strong) !important; background: var(--s-card) !important; flex: none; }
.esim .app__dock { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; padding: 0 12px 4px; }
.esim .app__dock button { position: relative; justify-self: center; display: grid; justify-items: center; gap: 2px; width: 68px; padding: 5px 0; border-radius: 14px; color: var(--s-ink-2); font: 600 11px/13px var(--s-ui); }
.esim .app__dock button[aria-current="true"] { background: var(--s-paper-3); color: var(--s-ink); }
.esim .app__dock svg.g { width: 21px; height: 21px; }
.esim .bdg { position: absolute; top: 0; left: 38px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--s-ink); color: #fff; font: 700 10px/17px var(--s-ui); text-align: center; box-shadow: 0 0 0 2px var(--s-ground); }
.esim .meta { font-size: 13px; line-height: 18px; color: var(--s-ink-2); }
.esim .late { color: var(--s-danger); font-weight: 600; }
.esim .h-serif { margin: 0; font: 500 25px/29px var(--s-serif); letter-spacing: -.01em; }
.esim .h-page { margin: 0; font: 500 26px/30px var(--s-serif); }
.esim .btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px !important; border-radius: 22px; border: 1px solid var(--s-rule-strong) !important; background: var(--s-card) !important; font: 600 14px/1 var(--s-ui) !important; white-space: nowrap; }
.esim .btn.pri { background: var(--s-accent) !important; border-color: var(--s-accent) !important; color: #fff !important; }
.esim .btn.sm { min-height: 36px; padding: 0 14px !important; border-radius: 18px; font-size: 13px !important; }
.esim .btn.grow { flex: 1; } .esim .btn.blk { width: 100%; }
.esim .pulse { animation: esim-pulse 2.4s ease-out infinite; }
@keyframes esim-pulse { 0% { box-shadow: 0 0 0 0 rgba(176,82,31,.32); } 70%, 100% { box-shadow: 0 0 0 6px rgba(176,82,31,0); } }

/* day line */
.esim .day { position: relative; height: 70px; margin: 0 6px; }
.esim .day__line { position: absolute; left: -6px; right: -6px; top: 36px; height: 3px; background: var(--s-paper-3); border-radius: 2px; }
.esim .day__past { position: absolute; left: -6px; top: 36px; height: 3px; background: var(--s-ink); border-radius: 2px; }
.esim .day__dot { position: absolute; top: 30px; width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--s-card); border: 2px solid var(--s-ink); transition: background .3s, border-color .3s; }
.esim .day__dot.is-late { background: var(--s-danger); border-color: var(--s-danger); box-shadow: 0 0 0 3px var(--s-card), 0 0 0 5px var(--s-danger); }
.esim .day__dot.is-done { background: var(--s-ink); }
.esim .day__t { position: absolute; top: 54px; transform: translateX(-50%); font: 500 11px/14px var(--s-ui); color: var(--s-ink-2); white-space: nowrap; }
.esim .day__t.is-late { color: var(--s-danger); font-weight: 700; }
.esim .day__you { position: absolute; top: 2px; width: 34px; height: 28px; margin-left: -17px; }
.esim .day__now { position: absolute; top: 29px; width: 2px; height: 17px; margin-left: -1px; background: var(--s-ink); }

/* rows */
.esim .lbl { font: 600 12px/16px var(--s-ui); color: var(--s-ink-2); margin-top: 4px; }
.esim .row { display: grid !important; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; column-gap: 12px; min-height: 52px; padding: 8px 0 !important; width: 100%; border-top: 1px solid var(--s-rule) !important; }
.esim .row:first-of-type { border-top: 0 !important; }
.esim .row__t { font-size: 14px; line-height: 19px; font-weight: 500; } .esim .row__m { display: block; font-size: 12px; line-height: 16px; color: var(--s-ink-2); font-weight: 400; }
.esim .row__r { font-size: 12px; color: var(--s-ink-2); white-space: nowrap; } .esim .row__r.late { color: var(--s-danger); }
.esim .row.is-new .row__t { font-weight: 700; } .esim .row.is-done .row__t { color: var(--s-ink-3); font-weight: 400; }
.esim .st { width: 19px; height: 19px; border-radius: 50%; border: 1.7px solid var(--s-ink-3); } .esim .st.late { border-color: var(--s-danger); } .esim .st.done { border-color: var(--s-ink-3); background: var(--s-ink-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.esim .notes { border-radius: 16px; background: var(--s-note); padding: 10px 14px; display: flex; flex-direction: column; }
.esim .notes__h { display: flex; align-items: center; gap: 8px; font-weight: 600; padding-bottom: 6px; } .esim .notes__h span { flex: 1; } .esim .notes__h u { font-weight: 500; font-size: 12px; text-underline-offset: 3px; }
.esim .notes p { margin: 0; padding: 8px 0; border-top: 1px solid rgba(31,27,23,.1); font-size: 13.5px; line-height: 18px; }
.esim .back { align-self: flex-start; display: inline-flex !important; align-items: center; gap: 2px; height: 34px; padding: 0 14px 0 8px !important; border-radius: 17px; border: 1px solid var(--s-rule-strong) !important; background: var(--s-card) !important; font-weight: 600 !important; font-size: 13px !important; }
.esim .steps { display: flex; gap: 6px; } .esim .steps i { width: 22px; height: 4px; border-radius: 2px; background: var(--s-paper-3); } .esim .steps i.on { background: var(--s-ink); }
.esim .step { font: 500 16px/24px var(--s-ui); margin: 0; }
.esim .src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--s-ink-2); padding: 8px 10px; border-radius: 10px; background: var(--s-paper); }
.esim .toast { position: absolute; left: 8px; right: 8px; top: 6px; z-index: 6; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 6px 6px 14px; border-radius: 23px; background: var(--s-card); box-shadow: 0 0 0 1px var(--s-rule-strong), 0 10px 24px -10px rgba(31,27,23,.4); font-weight: 600; font-size: 13px; animation: esim-drop .45s cubic-bezier(.2,.9,.3,1.2); }
.esim .toast span { flex: 1; }
@keyframes esim-drop { from { transform: translateY(-64px); } to { transform: none; } }
.esim .scrim { position: absolute; inset: 0; z-index: 4; background: rgba(31,27,23,.36); animation: esim-fade .2s; }
.esim .sheet { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; background: var(--s-card); border-radius: 20px 20px 0 0; padding: 10px 14px 14px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 -8px 30px rgba(31,27,23,.18); animation: esim-rise .32s cubic-bezier(.2,.8,.2,1); }
.esim .sheet::before { content: ""; align-self: center; width: 36px; height: 4px; border-radius: 2px; background: var(--s-paper-3); }
.esim .sheet h4 { margin: 0; font: 500 21px/26px var(--s-serif); }
.esim .sheet label { display: block; font: 600 12px/16px var(--s-ui); margin-bottom: 5px; }
.esim .inp { display: flex; align-items: center; justify-content: space-between; min-height: 42px; padding: 9px 12px; border: 1px solid var(--s-rule-strong); border-radius: 12px; background: var(--s-card); font-size: 14px; line-height: 19px; }
.esim .chk { display: flex !important; align-items: center; gap: 10px; min-height: 36px; font-size: 13.5px !important; }
.esim .chk i { width: 20px; height: 20px; border-radius: 6px; border: 1.7px solid var(--s-ink-2); display: grid; place-items: center; } .esim .chk[aria-pressed="true"] i { background: var(--s-ink); border-color: var(--s-ink); } .esim .chk[aria-pressed="true"] i::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px,-1px); }
.esim .acts { display: flex; gap: 8px; }
.esim .menu { position: absolute; right: 10px; bottom: 8px; z-index: 5; width: 210px; background: var(--s-card); border-radius: 16px; padding: 6px; box-shadow: 0 0 0 1px var(--s-rule), 0 16px 36px -12px rgba(31,27,23,.45); animation: esim-rise .22s cubic-bezier(.2,.8,.2,1); }
.esim .menu button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 0 12px; border-radius: 10px; font-weight: 600; } .esim .menu button:hover { background: var(--s-paper); } .esim .menu button[disabled] { color: var(--s-ink-3); cursor: default; }
@keyframes esim-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes esim-fade { from { opacity: 0; } to { opacity: 1; } }
.esim .tix { border: 1px solid var(--s-rule); border-radius: 16px; padding: 12px; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 12px; }
.esim .tix__ic { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: var(--s-accent-soft); color: var(--s-accent); display: grid; place-items: center; }
.esim .tix__t { font-weight: 600; line-height: 19px; } .esim .tix__m { font-size: 12px; color: var(--s-ink-2); }
.esim .tix__f { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; border-top: 1px dashed var(--s-rule-strong); margin-top: 6px; padding-top: 8px; font-size: 12px; color: var(--s-ink-2); } .esim .tix__f b { color: var(--s-ink); }
.esim .calm { display: grid; justify-items: center; gap: 4px; padding: 6px 0 2px; } .esim .calm img { width: 54px; height: 54px; }
.esim .seg { display: inline-grid; grid-auto-flow: column; height: 34px; padding: 3px; border-radius: 17px; background: var(--s-paper-2); font: 600 12px/1 var(--s-ui); color: var(--s-ink-2); }
.esim .seg button, .esim .seg span { display: grid; place-items: center; padding: 0 12px; border-radius: 14px; } .esim .seg [aria-pressed="true"], .esim .seg [aria-current] { background: var(--s-card); color: var(--s-ink); box-shadow: 0 0 0 1px var(--s-rule-strong); }
.esim .hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; }

/* Console */
.esim__win.web { background: var(--s-web); display: grid; grid-template-columns: 148px minmax(0, 1fr); font-family: var(--s-ui); }
.esim .web__rail { background: #fff; border-right: 1px solid #E3E4E2; padding: 16px 8px; display: flex; flex-direction: column; gap: 2px; }
.esim .web__logo { display: flex; align-items: center; gap: 8px; padding: 0 8px 4px; font: 700 21px/1 "Source Serif 4", var(--s-serif); letter-spacing: -.055em; } .esim .web__logo img { width: 26px; height: 26px; } .esim .web__logo i { color: #C75C3A; font-style: normal; }
.esim .web__org { padding: 10px 8px 6px; font-weight: 600; font-size: 12.5px; }
.esim .web__sec { padding: 10px 8px 4px; font: 600 10px/14px var(--s-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--s-ink-3); }
.esim .web__nav { display: flex !important; align-items: center; gap: 10px; min-height: 38px; padding: 0 8px !important; border-radius: 10px; font-weight: 500 !important; width: 100%; }
.esim .web__nav span { flex: 1; } .esim .web__nav em { font-style: normal; min-width: 20px; padding: 1px 6px; border-radius: 6px; background: #EEEFED; font: 600 11px/16px var(--s-ui); text-align: center; transition: background .3s, color .3s; } .esim .web__nav em.bump { background: var(--s-accent); color: #fff; }
.esim .web__nav[aria-current="true"] { background: var(--s-accent-soft); font-weight: 700 !important; box-shadow: inset 3px 0 0 var(--s-accent); }
.esim .web__nav.quiet { color: var(--s-ink-2); cursor: default; }
.esim .web__who { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 8px; border-top: 1px solid #E3E4E2; font-size: 12px; line-height: 15px; } .esim .web__who b { display: block; font-size: 12.5px; }
.esim .web__main { position: relative; overflow: auto; padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 14px; scrollbar-width: none; }
.esim .web__main > * { flex: none; }
.esim .web h3 { margin: 0; font: 500 22px/28px var(--s-ui); letter-spacing: -.01em; } .esim .web h3 b { font-weight: 700; }
.esim .web__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.esim .wcard { background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px #E3E4E2; }
.esim .herd { position: relative; height: 150px; padding: 12px 16px; overflow: hidden; }
.esim .herd__ph { position: absolute; top: 12px; font: 500 11px/14px var(--s-ui); color: var(--s-ink-2); padding-left: 6px; border-left: 1px solid #C9CBC8; white-space: nowrap; } .esim .herd__ph b { color: var(--s-ink); font-weight: 600; margin-right: 4px; }
.esim .herd__base { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 1px; background: #D5D7D4; }
.esim .herd__red { position: absolute; bottom: 25px; height: 2px; background: var(--s-danger); transition: left .6s, width .6s; }
.esim .herd__dot { position: absolute; bottom: 22px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--s-danger); transition: transform .4s, opacity .4s; } .esim .herd__dot.gone { transform: scale(0); opacity: 0; }
.esim .herd__now { position: absolute; bottom: 22px; top: 46px; width: 1.5px; background: var(--s-ink); } .esim .herd__now b { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font: 600 11px/14px var(--s-ui); white-space: nowrap; }
.esim .herd__you { position: absolute; bottom: 27px; width: 44px; height: 36px; } .esim .herd__you.nod { animation: esim-nod .7s ease-in-out 2; transform-origin: 50% 100%; }
@keyframes esim-nod { 50% { transform: rotate(-9deg) translateY(-3px); } }
.esim .herd__n { position: absolute; bottom: 34px; font-size: 13px; color: var(--s-ink-2); white-space: nowrap; } .esim .herd__n b { color: var(--s-ink); }
.esim .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.esim .tile { padding: 12px 14px; display: grid; gap: 2px; transition: opacity .45s, transform .45s; } .esim .tile.out { opacity: 0; transform: scale(.96); }
.esim .tile b { font-size: 14px; } .esim .tile .late { font-size: 12.5px; } .esim .tile span { font-size: 12.5px; color: var(--s-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.esim .foot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 12.5px; color: var(--s-ink-2); } .esim .foot b { color: var(--s-ink); }
.esim .tbl { padding: 6px 8px; } .esim .tbl__h, .esim .tbl__r { display: grid !important; grid-template-columns: minmax(0, 1fr) 62px 86px 50px; align-items: center; padding: 0 10px !important; width: 100%; }
.esim .tbl__h { min-height: 30px; font-size: 11.5px; color: var(--s-ink-2); } .esim .tbl__h span, .esim .tbl__r span { text-align: right; } .esim .tbl__h span:first-child, .esim .tbl__r span:first-child { text-align: left; }
.esim .tbl__r { min-height: 40px; border-top: 1px solid #ECEDEB !important; font-size: 13.5px; border-radius: 0; } .esim .tbl__r b { font-weight: 700; } .esim .tbl__r[aria-pressed="true"] { background: #FAF1E9; border-radius: 10px; font-weight: 600; }
.esim .tbl__r.is-new { animation: esim-flash 1.6s ease-out; } @keyframes esim-flash { 0% { background: var(--s-accent-soft); } 100% { background: transparent; } }
.esim .dtl { padding: 14px 16px; display: grid; gap: 10px; } .esim .dtl h5 { margin: 0; font: 600 15px/20px var(--s-ui); }
.esim .dtl__t { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding-top: 10px; border-top: 1px solid #ECEDEB; font-size: 13.5px; line-height: 18px; } .esim .dtl__t small { grid-column: 1; font-size: 12px; color: var(--s-ink-2); } .esim .dtl__t .btn { grid-row: 1 / span 2; grid-column: 2; }
.esim .urg { display: inline-block; padding: 0 7px; margin-right: 6px; border-radius: 8px; background: var(--s-accent-soft); color: var(--s-accent); font: 600 11px/18px var(--s-ui); }
.esim .pop { position: absolute; z-index: 5; right: 20px; top: 62px; width: min(300px, calc(100% - 40px)); padding: 14px; display: grid; gap: 12px; box-shadow: 0 0 0 1px #DADBD8, 0 24px 48px -18px rgba(31,27,23,.45); animation: esim-rise .22s cubic-bezier(.2,.8,.2,1); }
.esim .pop h5 { margin: 0; font: 600 15px/20px var(--s-ui); } .esim .pop label { display: block; font: 600 12px/16px var(--s-ui); margin-bottom: 5px; }
.esim .opt { display: flex !important; align-items: center; gap: 10px; min-height: 38px; padding: 0 10px !important; width: 100%; border-radius: 10px; border: 1px solid #E3E4E2 !important; font-size: 13.5px !important; margin-top: 6px; } .esim .opt[aria-pressed="true"] { border-color: var(--s-ink) !important; box-shadow: 0 0 0 1px var(--s-ink); font-weight: 600 !important; }
.esim .sent { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 13px; animation: esim-rise .3s; } .esim .sent b { font-weight: 600; }
.esim__note { font-size: 12px; color: var(--sim-label, var(--s-ink-2)); }

@container (max-width: 940px) {
  .esim__stage { grid-template-columns: minmax(0, 1fr); }
  .esim__tabs { display: inline-grid; grid-auto-flow: column; }
  .esim[data-pane="desk"] .esim__pane.ops, .esim[data-pane="ops"] .esim__pane.desk { display: none; }

}
@container (max-width: 560px) {
  .esim .pms { display: none; } .esim .app { width: 100%; border-left: 0; }
  .esim__win.web { grid-template-columns: minmax(0, 1fr); } .esim .web__rail { flex-direction: row; align-items: center; padding: 6px 8px; border-right: 0; border-bottom: 1px solid #E3E4E2; overflow: auto; }
  .esim .web__org, .esim .web__sec, .esim .web__who, .esim .web__nav.quiet, .esim .web__logo span { display: none !important; } .esim .web__nav { width: auto; }
  .esim__win.web { grid-template-rows: auto 1fr; }
}
@media (prefers-reduced-motion: reduce) { .esim *, .esim *::before { animation: none !important; transition: none !important; } }

.esim .tbl__foot { padding: 8px 10px 4px; font-size: 11.5px; color: var(--s-ink-2); }
.esim .tbl__r.is-bump span:last-child { animation: esim-flash 1.6s ease-out; border-radius: 6px; }

/* ---------- options-site fixes ---------- */
.esim { gap: 18px; font-size: 14px; }
/* goals: one quiet row; numbers become checks */
.esim__goals { gap: 10px; font-size: 14px; }
.esim__try { font: 600 14px/1 var(--s-ui); color: var(--sim-label, var(--s-ink-2)); margin-right: 2px; }
.esim .esim__goal { min-height: 40px; padding: 0 18px 0 7px; gap: 10px; border-radius: 20px; font-weight: 600; }
.esim__goal i { width: 26px; height: 26px; font-size: 13px; }
.esim__goal i svg.g { width: 14px; height: 14px; stroke-width: 2.6; }
.esim__goal.is-done i { background: var(--s-ink); border-color: var(--s-ink); }
.esim__goal.is-done { border-color: transparent; background: transparent; }
.esim .esim__reset { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 600; min-height: 40px; padding: 0 12px; border-radius: 20px; }
.esim__reset:hover { background: rgba(31,27,23,.06); }
.esim__reset svg.g { width: 17px; height: 17px; }
/* the pair: two windows with a link between them */
.esim__stage { grid-template-columns: minmax(0, 1.06fr) 44px minmax(0, 1fr); gap: 0; }
.esim .esim__link { align-self: center; justify-self: center; display: grid; place-items: center; width: 34px; height: 34px; margin-top: 30px; border-radius: 50%; background: var(--sim-link, var(--s-card)); color: var(--sim-link-ink, var(--s-ink-2)); box-shadow: 0 0 0 1px var(--s-rule-strong); }
.esim__link svg.g { width: 17px; height: 17px; }
.esim__pane { gap: 12px; }
.esim__cap { align-items: center; gap: 10px; font: 400 15px/20px var(--s-ui); letter-spacing: 0; text-transform: none; color: var(--sim-label, var(--s-ink-2)); }
.esim__cap b { opacity: 1; font-weight: 600; color: var(--sim-label-strong, var(--s-ink)); }
.esim__cap small { margin-left: auto; font: 600 12px/1 var(--s-ui); padding: 6px 10px; border-radius: 12px; background: var(--sim-tag, rgba(31,27,23,.06)); color: var(--sim-label, var(--s-ink-2)); }
.esim__cap .av { width: 28px; height: 28px; font-size: 10.5px; }
.esim__win { border-radius: 18px; height: var(--sim-h, 580px); }
/* the practice software is the backdrop: quieter, so Elefo reads first */
.esim .pms { filter: grayscale(1); opacity: .5; }
.esim .pms__grid .tm { font-size: 11px; }
/* Console: the now label and Elefo no longer touch the phase labels or the line */
.esim .herd { height: 158px; }
.esim .herd__now { top: 60px; }
.esim .herd__now b { top: -20px; }
.esim .herd__you { margin-left: 8px; }
.esim .herd__n { margin-left: 8px; }
.esim .tile span { white-space: normal; overflow: visible; }
.esim .tbl--3 .tbl__h, .esim .tbl--3 .tbl__r { grid-template-columns: minmax(0, 1fr) 62px 56px; }
/* a toast never covers the page title */
.esim .app__card.has-toast .app__page { padding-top: 66px; }
.esim .tix__f .av { width: 24px; height: 24px; }
.esim__note { font-size: 13px; }
.esim .web__main { padding: 22px 22px 18px; }

/* tablet and phone: the two windows stack, Companion first, the link between */
@container (max-width: 940px) {
  .esim__stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 44px auto; }
  .esim[data-pane] .esim__pane.ops, .esim[data-pane] .esim__pane.desk { display: grid; }
  .esim__tabs { display: none !important; }
  .esim .esim__link { margin: 0; }
}
@container (max-width: 560px) {
  .esim__goals { gap: 6px; }
  .esim__try { display: none; }
  /* only the next goal keeps its words; the others are just their number or check */
  .esim .esim__goal:not(.is-next) { padding: 0 7px; border-color: transparent; background: transparent; }
  .esim__goal:not(.is-next) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .esim .esim__goal.is-next { flex: 1 1 auto; min-width: 0; white-space: normal; line-height: 1.2; padding-block: 6px; }
  .esim__reset span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .esim .esim__reset { width: 40px; justify-content: center; padding: 0; }
  .esim__win { height: var(--sim-h-phone, 540px); }
  .esim__cap { font-size: 14px; }
  .esim .web__rail { gap: 2px; }
  .esim .web__nav { padding: 0 10px !important; min-height: 36px; }
  .esim .web__main { padding: 16px 14px; }
  .esim .web h3 { font-size: 19px; line-height: 24px; }
  .esim .tbl__h, .esim .tbl__r { grid-template-columns: minmax(0, 1fr) 54px 76px 40px; padding: 0 6px !important; }
  .esim .herd__ph b { display: none; }
}

/* the link between the windows answers when one side changes the other */
.esim .esim__link { cursor: default; transition: background .3s, color .3s, transform .3s; }
.esim .esim__link.is-ping { background: var(--s-accent); color: #fff; box-shadow: none; transform: scale(1.12); }
@container (max-width: 940px) { .esim .esim__link { cursor: pointer; } }

/* round 2 */
.esim__now { display: none; }
.esim .esim__link { position: relative; overflow: visible; }
.esim .esim__link small { position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; font: 600 11.5px/1 var(--s-ui); color: var(--sim-label, var(--s-ink-2)); white-space: nowrap; }
.esim .esim__link.is-ping small { color: var(--s-accent); }
@container (max-width: 940px) {
  .esim .esim__link small { top: 50%; left: calc(100% + 8px); translate: 0 -50%; }
}
@container (max-width: 560px) {
  /* phone: 1 2 3 and reset on one row, the current goal in words below */
  .esim__goals { display: grid; grid-template-columns: repeat(3, auto) 1fr auto; align-items: center; gap: 6px; }
  .esim .esim__goal, .esim .esim__goal.is-next, .esim .esim__goal:not(.is-next) { padding: 0; width: 40px; justify-content: center; border-color: transparent; background: transparent; box-shadow: none; }
  .esim .esim__goal span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .esim .esim__goal.is-next i { background: var(--s-accent); border-color: var(--s-accent); color: #fff; }
  .esim__goals > .esim__goal:nth-of-type(1) { grid-column: 1; } .esim__goals > .esim__goal:nth-of-type(2) { grid-column: 2; } .esim__goals > .esim__goal:nth-of-type(3) { grid-column: 3; }
  .esim .esim__reset { grid-column: 5; grid-row: 1; }
  .esim__sp { display: none; }
  .esim__now { display: block; grid-column: 1 / -1; grid-row: 2; padding: 4px 4px 0; font: 600 16px/1.3 var(--s-ui); color: var(--sim-label-strong, var(--s-ink)); }
  .esim .web__logo { display: none; }
}

/* round 3 */
.esim .esim__goal.is-next { box-shadow: none; border-color: var(--s-accent); }
@container (max-width: 560px) {
  .esim .web__nav[aria-current="true"] { box-shadow: none; }
}

/* round 4 */
.esim .hometix h5 { display: flex; align-items: baseline; gap: 8px; } .esim .hometix h5 .meta { font-weight: 400; }
.esim .hometix .dtl__t small { grid-column: 1; }
@container (min-width: 941px) { .esim .pms { right: 380px; } .esim .app { width: 380px; } }
@container (max-width: 940px) { .esim .esim__link { display: none; } .esim__stage { grid-template-rows: auto auto; gap: 28px; } }

/* round 5: no link badge; the changed window answers with the accent ring */
.esim .esim__link { display: none !important; }
.esim__stage { grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr) !important; gap: 24px !important; }
@container (max-width: 940px) { .esim__stage { grid-template-columns: minmax(0, 1fr) !important; } }
.esim__win { transition: box-shadow .4s; }
.esim__win.is-ping { box-shadow: 0 0 0 1px var(--s-accent), 0 0 0 6px rgba(176,82,31,.14), 0 24px 48px -28px rgba(31,27,23,.45); }
@container (min-width: 941px) { .esim .pms { right: 420px; } .esim .app { width: 420px; } }

/* ---------- day/ ("The next day") ---------- */
/* the goals: an icon stepper on a path. One row in every state; the last slot holds the reset or, once earned, the demo. */
.esim { gap: 16px; }
.esim__gs { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 10px 8px 8px; border-radius: 30px; background: rgba(251,247,239,.84); box-shadow: 0 0 0 1px rgba(31,27,23,.08), 0 16px 30px -24px rgba(31,27,23,.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.gs__path { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; min-width: 0; }
.gs__path li { display: flex; align-items: center; min-width: 0; }
.gs__path li + li::before { content: ""; flex: none; width: clamp(12px, 2.2cqw, 32px); height: 1.5px; margin: 0 4px; background: var(--s-rule-strong); }
.gs__path li.is-done + li::before { background: var(--s-ink); }
.esim .gs__b { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 5px; border-radius: 22px; font: 600 15px/1.15 var(--s-ui); color: var(--s-ink-2); white-space: nowrap; }
.gs__b i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--s-card); box-shadow: inset 0 0 0 1.5px var(--s-rule-strong); color: var(--s-ink-2); font-style: normal; }
.esim .gs__b i svg.g { width: 18px; height: 18px; }
.esim .gs__path .is-next .gs__b { color: var(--s-ink); background: var(--s-accent-soft); }
.gs__path .is-next .gs__b i { background: var(--s-accent); box-shadow: none; color: #fff; }
.gs__path .is-done .gs__b i { background: var(--s-ink); box-shadow: none; color: #fff; } .esim .gs__path .is-done .gs__b i svg.g { stroke-width: 2.4; }
.gs__now { display: none; margin: 0 2px 0 auto; font: 500 24px/1.1 var(--s-serif); letter-spacing: -.01em; color: var(--s-ink); white-space: nowrap; }
.esim__gs[data-done="3"] .gs__now { display: block; }
.esim__gs .cta { min-height: 44px; flex: none; }
.esim__gs .esim__reset { flex: none; margin-left: auto; color: var(--s-ink-2) !important; } .esim__gs[data-done="3"] .esim__reset { margin-left: 0; }
.esim__gs[data-done="3"] .esim__reset span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .esim__gs[data-done="3"] .esim__reset { width: 40px; justify-content: center; padding: 0; }
/* captions: who, where, and the product's name with its icon */
.esim__cap small { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px 6px 9px; font-size: 13px; background: rgba(251,247,239,.66); color: var(--s-ink); }
.esim .esim__cap small svg.g { width: 15px; height: 15px; }
.esim__note { display: flex; align-items: center; gap: 7px; } .esim .esim__note svg.g { width: 16px; height: 16px; }
/* New task opens in the page, above the table, so the table is never hidden (audit 12) */
.esim .pop { position: static; width: auto; padding: 14px; gap: 10px; box-shadow: 0 0 0 1px #DADBD8, 0 14px 30px -22px rgba(31,27,23,.5); }
.esim .pop__opts { display: grid; gap: 6px; } .esim .pop .opt { margin-top: 0; }
.esim .opt i { flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--s-ink-3); } .esim .opt[aria-pressed="true"] i { box-shadow: inset 0 0 0 5px var(--s-ink); }
.esim .pop__meta { display: grid; grid-template-columns: 1.15fr 1fr; gap: 8px; }
.esim .pop__meta .inp { justify-content: flex-start; gap: 8px; min-height: 38px; padding: 6px 10px; font-size: 13px; line-height: 17px; color: var(--s-ink-2); } .esim .pop__meta .inp svg.g { width: 16px; height: 16px; } .esim .pop__meta .inp b { margin-left: auto; color: var(--s-ink); }

/* stacked (tablet and phone): the stepper stays in reach above both windows; only the current goal is in words */
@container (max-width: 940px) {
  .esim__gs { position: sticky; top: var(--gs-top, 104px); z-index: 8; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: 44px 40px; gap: 0 10px; padding: 6px 8px 6px 8px; border-radius: 26px; background: rgba(251,247,239,.94); }
  .gs__path { grid-area: 1 / 1; } .esim .gs__b { padding: 0; background: none !important; }
  .gs__b span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gs__path li + li::before { width: 18px; }
  .esim__gs .esim__reset, .esim__gs[data-done="3"] .esim__reset { grid-area: 1 / 3; margin: 0; width: 40px; justify-content: center; padding: 0; }
  .esim__gs .esim__reset span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .gs__now, .esim__gs[data-done="3"] .gs__now { display: block; grid-area: 2 / 1 / 3 / 3; align-self: center; margin: 0; padding-left: 8px; font: 600 16px/1.2 var(--s-ui); letter-spacing: 0; white-space: normal; }
  .esim__gs[data-done="3"] .gs__now { font: 500 20px/1.1 var(--s-serif); grid-column: 1 / 2; white-space: nowrap; }
  .esim__gs .cta { grid-area: 2 / 2 / 3 / 4; justify-self: end; min-height: 38px; padding: 0 16px; font-size: 14px; }
  .esim__pane { scroll-margin-top: calc(var(--gs-top, 104px) + 104px); }
}

/* the practice software stays a readable backdrop beside a 372px Companion */
@container (min-width: 941px) { .esim .pms { right: 372px; } .esim .app { width: 372px; } }
.esim .pms__grid > div { font-size: 10px; padding: 2px 3px; } .esim .pms__grid .tm { font-size: 10px; } .esim .pms__grid { grid-template-columns: 32px repeat(3, minmax(0, 1fr)); }

.esim .pms { opacity: .62; }
