/* LiveTongue product UI (from the approved step-5 mockup, task #390) */
:root {
  --ink: #14161a;
  --ink2: #4a5059;
  --ink3: #6e747d;
  --ink4: #b4b9c0;
  --line: #e5e7eb;
  --line2: #eef0f2;
  --bg: #f4f5f7;
  --paper: #ffffff;
  --navy: #0f172a;
  --blue: #0008ff;
  --blue-tint: #eef0ff;
  --blue-ink: #0006c2;
  --green: #08794f;
  --green-tint: #e8f6f0;
  --amber: #b45309;
  --amber-tint: #fff4e0;
  --red: #d92d20;
  --ar: "Noto Sans Arabic", "Inter", sans-serif;
}
.lt, .appwin, .mac, .ui { font-size: 14px; line-height: 1.5; color: var(--ink); text-align: left; }
.ui i.fi, .lt i.fi, .appwin i.fi { display: inline-flex; line-height: 1; align-items: center; justify-content: center; }
/* ---------- mac desktop ---------- */
.mac { position: relative; width: 1440px; height: 900px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 10%, #d8dfe8 0%, #c4cedb 55%, #b7c2d0 100%);
  box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .08); }
.menubar { position: absolute; inset: 0 0 auto 0; height: 30px; background: rgba(255, 255, 255, .62); backdrop-filter: blur(20px);
  display: flex; align-items: center; padding: 0 14px; gap: 20px; font-size: 13.5px; color: #1d1d1f; z-index: 5; }
.menubar .apple { width: 15px; height: 15px; }
.menubar b { font-weight: 600; }
.menubar .right { margin-left: auto; display: flex; gap: 16px; align-items: center; }
.menubar .right i { font-size: 15px; }
.mb-lt { position: relative; display: flex; align-items: center; padding: 3px 6px; border-radius: 5px; background: rgba(0,0,0,.08); }
.mb-lt svg { width: 15px; height: 17px; color: #1d1d1f; }
.mb-lt .d { position: absolute; right: 2px; top: 2px; width: 6px; height: 6px; border-radius: 3px; background: var(--blue); box-shadow: 0 0 0 1.5px rgba(255,255,255,.9); }

.win { position: absolute; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 50px -12px rgba(15,23,42,.38), 0 0 0 .5px rgba(0,0,0,.25); }
.lights { display: flex; gap: 8px; }
.lights span { width: 12px; height: 12px; border-radius: 6px; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0,0,0,.15); }
.lights span:nth-child(2) { background: #febc2e; }
.lights span:nth-child(3) { background: #28c840; }
.lights.off span { background: #d5d7da; }

/* ---------- zoom ---------- */
.zoom { background: #1f1f1f; color: #fff; display: flex; flex-direction: column; }
.z-top { height: 38px; display: flex; align-items: center; padding: 0 14px; gap: 12px; background: #1a1a1a; font-size: 12.5px; color: #cfcfcf; }
.z-top .t { flex: 1; text-align: center; }
.z-top .shield { color: #2bd27b; font-size: 13px; }
.z-strip { display: flex; gap: 8px; justify-content: center; padding: 10px 0 8px; }
.z-tile { position: relative; border-radius: 10px; overflow: hidden; background: #2a2a2a; }
.z-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.z-tile .nm { position: absolute; left: 8px; bottom: 7px; background: rgba(0,0,0,.55); padding: 2px 8px; border-radius: 5px; font-size: 12px; display: flex; gap: 6px; align-items: center; }
.z-tile .nm i { font-size: 11px; color: #ff6b6b; }
.z-tile.speaking { box-shadow: 0 0 0 2.5px #2bd27b; }
.z-tile .ini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; font-weight: 500; }
.z-main { flex: 1; margin: 0 14px; border-radius: 12px; overflow: hidden; position: relative; }
.z-bar { height: 66px; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 16px; background: #1a1a1a; font-size: 11.5px; color: #e6e6e6; }
.z-bar .b { display: flex; flex-direction: column; align-items: center; gap: 5px; width: 74px; }
.z-bar .b i { font-size: 19px; }
.z-bar .b.share i { color: #2bd27b; }
.z-bar .end { margin-left: auto; background: #e02828; color: #fff; padding: 7px 16px; border-radius: 8px; font-weight: 600; font-size: 13px; }
.z-bar .spacer { width: 120px; }

/* ---------- LiveTongue panel ---------- */
.lt { background: var(--paper); display: flex; flex-direction: column; color: var(--ink); }
.lt-head { padding: 14px 18px 12px; border-bottom: 1px solid var(--line2); }
.lt-row { display: flex; align-items: center; gap: 10px; }
.lt-mark { width: 18px; height: 20px; flex: none; }
.lt-title { font-weight: 600; font-size: 15px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lt-live { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink2); font-variant-numeric: tabular-nums; }
.lt-live .dot { width: 7px; height: 7px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 0 3px rgba(0, 8, 255, .14); }
.ib { width: 30px; height: 30px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink2); font-size: 15px; border: 1px solid var(--line); background: #fff; }
.ib.stop { color: var(--ink); }
.lt-sub { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12.5px; color: var(--ink3); }
.lt-sub .lang { color: var(--ink2); }
.lt-sub .lang b { color: var(--ink); font-weight: 600; }
.lt-sub .sep { width: 3px; height: 3px; border-radius: 2px; background: var(--ink4); }
.lt-sub .app { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.lt-sub .app img { width: 15px; height: 15px; border-radius: 4px; }

.lt-stream { flex: 1; overflow: hidden; padding: 6px 18px 0; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.lt-stream:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; background: linear-gradient(#fff, rgba(255,255,255,0)); z-index: 2; }
.blk { padding: 14px 0 12px; border-bottom: 1px solid var(--line2); }
.blk:last-child { border-bottom: 0; }
.who { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink3); margin-bottom: 6px; }
.who b { color: var(--ink); font-weight: 600; font-size: 13px; }
.who .t { font-variant-numeric: tabular-nums; }
.av { width: 22px; height: 22px; border-radius: 11px; object-fit: cover; flex: none; }
.avi { width: 22px; height: 22px; border-radius: 11px; background: #e7e9ec; color: var(--ink2); font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tr { font-size: 16.5px; line-height: 1.5; color: var(--ink); letter-spacing: -0.003em; }
.og { font-size: 13px; line-height: 1.45; color: var(--ink3); margin-top: 3px; }
.og[dir=rtl] { font-family: var(--ar); font-size: 14px; line-height: 1.7; text-align: right; }
.line + .line { margin-top: 10px; }
.term { text-decoration: underline dotted var(--ink4); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.term.sel { background: var(--blue-tint); color: var(--blue-ink); border-radius: 3px; text-decoration-color: var(--blue); }
.asked { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--blue-ink); background: var(--blue-tint); padding: 1px 7px 1px 6px; border-radius: 10px; margin-left: 6px; vertical-align: 2px; }
.asked i { font-size: 10px; }
.blk.me .tr { font-size: 14px; color: var(--ink2); }
.blk.me .who b { color: var(--ink2); font-weight: 500; }
.caret { display: inline-block; width: 2.5px; height: 19px; background: var(--blue); vertical-align: -3px; margin-left: 2px; border-radius: 1px; }
.blk.live .tr { color: var(--ink); }
.blk.live .who .now { color: var(--blue-ink); font-weight: 500; display: inline-flex; align-items: center; gap: 5px; }
.bars { display: inline-flex; gap: 2px; align-items: center; height: 10px; }
.bars span { width: 2px; background: var(--blue); border-radius: 1px; }

.lt-foot { padding: 12px 18px 14px; border-top: 1px solid var(--line2); background: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 9px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); background: #fff; color: var(--ink); white-space: nowrap; }
.btn i { font-size: 14px; }
.btn.primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn.block { width: 100%; }
.btn.sm { height: 32px; font-size: 13px; padding: 0 12px; border-radius: 8px; }
.kbd { font-size: 11.5px; color: var(--ink3); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; line-height: 18px; background: #fafbfc; }
.btn.primary .kbd { color: #c6cbd6; border-color: rgba(255,255,255,.2); background: transparent; }
.lt-hint { white-space: nowrap; display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--ink3); }
.lt-hint .l { display: flex; gap: 6px; align-items: center; }
.lt-hint i { font-size: 12px; }

/* sheet / popover inside panel */
.dim:after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.55); z-index: 3; }
.sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; border-radius: 14px; z-index: 6; padding: 16px 18px 16px;
  box-shadow: 0 18px 40px -10px rgba(15,23,42,.28), 0 0 0 1px rgba(15,23,42,.07); }
.sheet h4 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.sheet h4 .x { margin-left: auto; color: var(--ink3); font-size: 16px; }
.sheet .meta { font-size: 12.5px; color: var(--ink3); margin: 2px 0 12px; }
.sheet ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sheet li { font-size: 14.5px; line-height: 1.45; padding-left: 16px; position: relative; }
.sheet li:before { content: ""; position: absolute; left: 2px; top: 9px; width: 5px; height: 5px; border-radius: 3px; background: var(--ink4); }
.sheet li.you { background: var(--blue-tint); border-radius: 9px; padding: 8px 10px 8px 26px; margin: 2px -4px; }
.sheet li.you:before { background: var(--blue); left: 12px; top: 16px; }
.sheet li.you b { color: var(--blue-ink); font-weight: 600; }
.sheet .from { font-size: 12px; color: var(--ink3); display: block; margin-top: 2px; }
.pop { position: absolute; z-index: 6; width: 330px; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 18px 40px -10px rgba(15,23,42,.3), 0 0 0 1px rgba(15,23,42,.08); }
.pop .w { font-size: 17px; font-weight: 600; }
.pop .w span { font-weight: 400; color: var(--ink3); font-size: 13px; margin-left: 6px; }
.pop p { font-size: 14px; color: var(--ink2); margin-top: 6px; line-height: 1.5; }
.pop .ctx { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line2); font-size: 13px; color: var(--ink2); }
.pop .ctx b { color: var(--ink); font-weight: 600; }
.pop .acts { display: flex; gap: 8px; margin-top: 12px; }
.pop:before { content: ""; position: absolute; left: var(--ax, 40px); top: -6px; width: 12px; height: 12px; background: #fff; transform: rotate(45deg); box-shadow: -1px -1px 0 0 rgba(15,23,42,.08); }

/* ---------- panel moments ---------- */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mom { position: relative; height: 780px; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(15,23,42,.3), 0 0 0 1px rgba(15,23,42,.07); }
.mom .lt { position: absolute; inset: 0; }
.mom-cap { margin-top: 14px; font-size: 14px; color: var(--ink2); line-height: 1.45; }
.mom-cap b { color: var(--ink); display: block; font-size: 15px; margin-bottom: 2px; }

.card { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.field-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line2); font-size: 14px; }
.field-row:last-child { border-bottom: 0; }
.field-row .k { color: var(--ink3); }
.field-row .v { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.field-row .v i { color: var(--ink3); font-size: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 13px; border: 1px solid var(--line); font-size: 12.5px; color: var(--ink2); background: #fff; }
.chip.on { border-color: var(--ink); color: var(--ink); font-weight: 500; }
.chip i { font-size: 11px; }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11.5px; font-weight: 500; }
.tag.green { background: var(--green-tint); color: var(--green); }
.tag.amber { background: var(--amber-tint); color: var(--amber); }
.tag.grey { background: var(--bg); color: var(--ink2); }
.tag.blue { background: var(--blue-tint); color: var(--blue-ink); }

.steps { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.st { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.st .ic { width: 22px; height: 22px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 11px; }
.st.done .ic { background: var(--green-tint); color: var(--green); }
.st.doing .ic { border: 2px solid var(--blue); border-right-color: transparent; }
.st.todo .ic { border: 1.5px solid var(--line); }
.st.todo { color: var(--ink3); }
.st small { display: block; color: var(--ink3); font-size: 12.5px; }

/* compact strip */
.strip-wrap { position: relative; height: 300px; border-radius: 14px; overflow: hidden; margin-top: 16px; }
.strip { position: absolute; left: 50%; transform: translateX(-50%); bottom: 92px; width: 820px; background: rgba(255,255,255,.97); border-radius: 14px; padding: 12px 16px 12px 18px; display: flex; gap: 14px; align-items: center; box-shadow: 0 18px 40px -10px rgba(0,0,0,.45); }
.strip .txt { flex: 1; }
.strip .tr { font-size: 18px; }
.strip .og { font-size: 13px; }

/* ---------- app window (main) ---------- */
.appwin { position: relative; width: 1440px; height: 900px; border-radius: 14px; overflow: hidden; background: var(--bg); display: flex;
  box-shadow: 0 30px 60px -30px rgba(15,23,42,.35), 0 0 0 1px rgba(15,23,42,.1); }
.side { width: 248px; flex: none; padding: 14px 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.side .top { display: flex; align-items: center; justify-content: space-between; height: 22px; margin-bottom: 16px; padding-left: 4px; }
.side .top i { color: var(--ink3); font-size: 15px; }
.side .logo { height: 22px; margin: 0 0 18px 8px; align-self: flex-start; }
.nav { display: flex; align-items: center; gap: 11px; height: 34px; padding: 0 10px; border-radius: 8px; font-size: 14px; color: var(--ink2); }
.nav i { font-size: 15px; color: var(--ink3); width: 16px; }
.nav .c { margin-left: auto; font-size: 12.5px; color: var(--ink3); font-variant-numeric: tabular-nums; }
.nav.on { background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
.nav.on i { color: var(--ink); }
.nav .c.blue { color: var(--blue-ink); font-weight: 600; }
.side .grow { flex: 1; }
.usage { padding: 12px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: 13px; color: var(--ink2); }
.usage b { color: var(--ink); font-weight: 600; }
.usage .bar { height: 6px; border-radius: 3px; background: var(--line2); margin: 10px 0 8px; overflow: hidden; }
.usage .bar span { display: block; height: 100%; background: var(--ink); border-radius: 3px; }
.usage a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ink4); }
.acct { display: flex; align-items: center; gap: 10px; padding: 10px 6px 0; font-size: 13px; }
.acct .avi { width: 28px; height: 28px; border-radius: 14px; font-size: 12px; background: var(--navy); color: #fff; }
.acct small { display: block; color: var(--ink3); font-size: 12px; }

.page { flex: 1; margin: 8px 8px 8px 0; background: #fff; border-radius: 12px; box-shadow: 0 0 0 1px var(--line), 0 1px 2px rgba(15,23,42,.04); display: flex; flex-direction: column; overflow: hidden; }
.p-bar { height: 50px; flex: none; display: flex; align-items: center; padding: 0 16px 0 24px; border-bottom: 1px solid var(--line2); gap: 10px; font-size: 13.5px; color: var(--ink3); }
.p-bar b { color: var(--ink); font-weight: 500; }
.p-bar .r { margin-left: auto; display: flex; gap: 8px; }
.p-body { flex: 1; overflow: hidden; padding: 30px 40px 0 48px; }
.m-title { font-family: "Inter Display", "Inter"; font-size: 30px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.m-meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 13.5px; color: var(--ink2); }
.m-meta .dotsep { width: 3px; height: 3px; background: var(--ink4); border-radius: 2px; }
.m-meta img.app { width: 16px; height: 16px; border-radius: 4px; }
.faces { display: flex; }
.faces img, .faces .avi { width: 22px; height: 22px; border-radius: 11px; box-shadow: 0 0 0 2px #fff; margin-right: -6px; object-fit: cover; }
.ok-line { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink2); }
.ok-line i { color: var(--green); font-size: 14px; }
.tabs { display: flex; gap: 22px; margin-top: 22px; border-bottom: 1px solid var(--line2); font-size: 14px; color: var(--ink3); }
.tabs span { padding: 0 0 10px; }
.tabs span.on { color: var(--ink); font-weight: 500; box-shadow: inset 0 -2px 0 var(--ink); }
.m-grid { display: grid; grid-template-columns: minmax(0, 1fr) 392px; gap: 40px; padding-top: 24px; }
.sec { margin-bottom: 26px; }
.sec h3 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec h3 .n { color: var(--ink3); font-weight: 400; }
.seg { margin-left: auto; display: inline-flex; background: var(--bg); border-radius: 8px; padding: 2px; font-size: 12.5px; font-weight: 500; }
.seg span { padding: 3px 10px; border-radius: 6px; color: var(--ink3); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 0 0 1px var(--line); }
.sum { font-size: 15.5px; line-height: 1.6; color: var(--ink); max-width: 640px; }
.dec { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.dec li { font-size: 15px; padding-left: 18px; position: relative; }
.dec li:before { content: ""; position: absolute; left: 3px; top: 9px; width: 6px; height: 6px; border-radius: 3px; background: var(--ink); }
.person { margin-top: 6px; }
.person + .person { margin-top: 16px; }
.p-name { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.p-name .avi, .p-name img { width: 20px; height: 20px; border-radius: 10px; object-fit: cover; font-size: 10px; }
.p-name .n { color: var(--ink3); font-weight: 400; }
.act { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line2); align-items: start; }
.act:last-child { border-bottom: 0; }
.cb { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid #c5cad1; margin-top: 3px; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; }
.cb.on { background: var(--green); border-color: var(--green); }
.act .what { font-size: 15px; }
.act.done .what { text-decoration: line-through; text-decoration-color: var(--ink4); color: var(--ink3); }
.act .q { font-size: 12.5px; color: var(--ink3); margin-top: 3px; line-height: 1.45; }
.act .q .ts { color: var(--ink2); text-decoration: underline; text-decoration-color: var(--ink4); text-underline-offset: 2px; }
.act .due { font-size: 13px; color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; padding-top: 2px; }

.fu { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.fu-head { padding: 14px 16px 12px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line2); }
.fu-head b { font-size: 15px; font-weight: 600; }
.fu-row { display: flex; gap: 10px; padding: 9px 16px; border-bottom: 1px solid var(--line2); font-size: 13.5px; align-items: center; }
.fu-row .k { color: var(--ink3); width: 52px; }
.fu-body { padding: 14px 16px 6px; font-size: 14px; line-height: 1.55; color: var(--ink); }
.fu-body p + p { margin-top: 9px; }
.fu-body ul { padding-left: 18px; margin-top: 6px; }
.fu-body li { margin-bottom: 3px; }
.fu-foot { padding: 12px 16px 14px; }
.fu-foot .note { font-size: 12.5px; color: var(--ink3); margin-top: 8px; display: flex; gap: 6px; align-items: center; }

/* library */
.lib-side { width: 60px; flex: none; display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 6px; }
.lib-side .nv { width: 38px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ink3); font-size: 16px; position: relative; }
.lib-side .nv.on { background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.lib-side .nv .badge { position: absolute; right: 3px; top: 4px; width: 7px; height: 7px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 0 2px var(--bg); }
.ring { width: 34px; height: 34px; }
.rows { margin-top: 8px; }
.grp { font-size: 13px; color: var(--ink3); padding: 18px 0 6px; }
.rowm { display: grid; grid-template-columns: 22px minmax(0, 1fr) 190px 80px 96px 64px; gap: 14px; align-items: center; height: 54px; border-bottom: 1px solid var(--line2); font-size: 14px; }
.rowm img.app { width: 18px; height: 18px; border-radius: 5px; }
.rowm .t b { font-weight: 500; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowm .t small { color: var(--ink3); font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowm .r { text-align: right; color: var(--ink2); font-variant-numeric: tabular-nums; font-size: 13.5px; }
.rowm .lg { color: var(--ink2); font-size: 13px; }
.rowm .fy { text-align: right; font-size: 13px; font-weight: 500; color: var(--blue-ink); }
.rowm .fy.none { color: var(--ink4); font-weight: 400; }
.spin { width: 14px; height: 14px; border-radius: 7px; border: 2px solid var(--blue); border-right-color: transparent; display: inline-block; vertical-align: -2px; margin-right: 6px; }
.search { display: flex; align-items: center; gap: 8px; height: 34px; border: 1px solid var(--line); border-radius: 9px; padding: 0 12px; color: var(--ink3); font-size: 13.5px; width: 300px; }

/* ---------- mail ---------- */
.mailwin { width: 1440px; height: 1170px; border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(15,23,42,.35), 0 0 0 1px rgba(15,23,42,.1); }
.mw-bar { height: 52px; flex: none; display: flex; align-items: center; gap: 18px; padding: 0 18px; border-bottom: 1px solid #e8e8e8; background: #f6f6f6; color: #6b6b6b; font-size: 16px; }
.mw-bar .sp { flex: 1; }
.mw-body { flex: 1; display: flex; }
.mw-list { width: 360px; border-right: 1px solid #ececec; background: #fafafa; }
.mw-item { padding: 12px 18px 12px 26px; border-bottom: 1px solid #efefef; font-size: 13px; color: #6b6b6b; position: relative; }
.mw-item b { color: #1d1d1f; font-weight: 600; font-size: 13.5px; display: flex; justify-content: space-between; }
.mw-item b span { font-weight: 400; color: #8a8a8a; font-size: 12.5px; }
.mw-item .s { color: #1d1d1f; margin-top: 1px; }
.mw-item.on { background: #e4ecfb; }
.mw-item.unread:before { content: ""; position: absolute; left: 10px; top: 18px; width: 8px; height: 8px; border-radius: 4px; background: #0a84ff; }
.mw-read { flex: 1; overflow: hidden; padding: 26px 40px; }
.mw-hdr { display: flex; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #eee; }
.mw-hdr .fromav { width: 40px; height: 40px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px #e5e5e5; display: flex; align-items: center; justify-content: center; }
.mw-hdr .fromav img { width: 20px; }
.mw-hdr .f { font-size: 14px; color: #1d1d1f; }
.mw-hdr .f b { font-weight: 600; }
.mw-hdr .f small { display: block; color: #8a8a8a; font-size: 12.5px; }
.mw-hdr .when { margin-left: auto; color: #8a8a8a; font-size: 12.5px; }
.mail { width: 620px; margin: 28px 0 0 52px; font-size: 15px; line-height: 1.6; color: #1a1d21; }
.mail .lg { height: 22px; margin-bottom: 26px; }
.mail h1 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.mail .sub { color: #5b616b; font-size: 14px; margin-top: 4px; }
.mail h2 { font-size: 15px; font-weight: 600; margin: 24px 0 8px; }
.mail p { margin: 0; }
.mail .mact { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid #f0f1f3; }
.mail .mact .bx { width: 14px; height: 14px; border: 1.5px solid #c5cad1; border-radius: 4px; margin-top: 5px; flex: none; }
.mail .mact .d { margin-left: auto; color: #5b616b; font-size: 13.5px; white-space: nowrap; padding-left: 16px; }
.mail .mact small { display: block; color: #8b919a; font-size: 12.5px; }
.mail .cta { display: flex; gap: 16px; align-items: center; margin-top: 24px; }
.mail .cta .btn { height: 44px; padding: 0 20px; font-size: 15px; }
.mail .cta a { color: #1a1d21; font-size: 14px; text-decoration: underline; text-decoration-color: #b4b9c0; text-underline-offset: 3px; }
.mail .de { margin-top: 26px; padding: 16px 18px; background: #f6f7f8; border-radius: 10px; font-size: 14px; }
.mail .de b { display: block; margin-bottom: 4px; }
.mail .foot { margin-top: 24px; padding-top: 16px; border-top: 1px solid #eceef0; color: #8b919a; font-size: 12.5px; line-height: 1.55; }
.mail .foot a { color: #5b616b; text-decoration: underline; }

/* ---------- first run ---------- */
.fr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.frw { background: #fff; border-radius: 14px; height: 560px; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 18px 40px -20px rgba(15,23,42,.3), 0 0 0 1px rgba(15,23,42,.08); }
.frw .bar { height: 40px; display: flex; align-items: center; padding: 0 14px; gap: 10px; }
.frw .bar .pg { margin-left: auto; display: flex; gap: 5px; }
.frw .bar .pg span { width: 18px; height: 3px; border-radius: 2px; background: var(--line); }
.frw .bar .pg span.on { background: var(--ink); }
.frw .in { flex: 1; padding: 22px 34px 0; display: flex; flex-direction: column; }
.frw h3 { font-family: "Inter Display", "Inter"; font-size: 23px; font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.frw .lede { color: var(--ink2); font-size: 14px; margin-top: 8px; }
.frw .ft { padding: 18px 34px 26px; display: flex; gap: 10px; align-items: center; }
.frw .ft .skip { color: var(--ink3); font-size: 13.5px; }
.inp { height: 42px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; padding: 0 14px; font-size: 15px; gap: 10px; color: var(--ink); }
.inp i { color: var(--ink3); }
.code { display: flex; gap: 8px; margin-top: 18px; }
.code span { width: 46px; height: 54px; border: 1px solid var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.code span.cur { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,23,42,.08); }
.code span.cur:after { content: ""; width: 2px; height: 24px; background: var(--blue); }
.lrow { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; margin-top: 8px; }
.lrow.on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lrow .tick { margin-left: auto; width: 18px; height: 18px; border-radius: 9px; border: 1.5px solid #c5cad1; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; color: #fff; }
.lrow.on .tick { background: var(--ink); border-color: var(--ink); }
.lbl { font-size: 13px; color: var(--ink3); margin-top: 18px; }
.perm { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line2); font-size: 14.5px; }
.perm .pi { width: 34px; height: 34px; border-radius: 9px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--ink2); font-size: 15px; flex: none; }
.perm small { display: block; font-size: 12.5px; color: var(--ink3); }
.perm .r { margin-left: auto; }
.meter { display: flex; align-items: center; gap: 3px; height: 30px; }
.meter span { width: 4px; border-radius: 2px; background: var(--green); }
.meter span.off { background: var(--line); }
.heard { margin-top: 18px; padding: 14px; border-radius: 12px; background: var(--green-tint); display: flex; gap: 12px; align-items: center; font-size: 14px; color: #0a5c40; }
.heard b { color: #08452f; display: block; }
.words { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.words .chip { height: 30px; font-size: 13.5px; color: var(--ink); }
.words .chip i { color: var(--ink3); }
.mb-demo { margin-top: 18px; border-radius: 12px; background: radial-gradient(120% 90% at 20% 10%, #d8dfe8 0%, #c4cedb 60%); height: 250px; position: relative; overflow: hidden; }
.mb-demo .menubar { position: absolute; }
.mb-drop { position: absolute; right: 40px; top: 36px; width: 300px; background: rgba(255,255,255,.96); border-radius: 12px; padding: 8px; box-shadow: 0 16px 36px -10px rgba(15,23,42,.35), 0 0 0 .5px rgba(0,0,0,.2); font-size: 13.5px; }
.mb-drop .it { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 7px; }
.mb-drop .it.hi { background: var(--navy); color: #fff; }
.mb-drop .it.hi .kbd { color: #c6cbd6; border-color: rgba(255,255,255,.25); background: transparent; }
.mb-drop .it .kbd { margin-left: auto; }
.mb-drop .it img { width: 16px; height: 16px; border-radius: 4px; }
.mb-drop hr { border: 0; border-top: 1px solid var(--line); margin: 5px 6px; }
.mb-drop .sm { font-size: 12.5px; color: var(--ink3); padding: 4px 10px; }

/* ---------- chrome ---------- */
.chrome { position: absolute; left: 8px; right: 8px; top: 38px; bottom: 8px; border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; box-shadow: 0 22px 50px -12px rgba(15,23,42,.38), 0 0 0 .5px rgba(0,0,0,.25); }
.c-tabs { height: 40px; background: #dfe3ea; display: flex; align-items: flex-end; padding: 0 12px; gap: 12px; }
.c-tabs .lights { align-self: center; margin-right: 8px; }
.c-tab { white-space: nowrap; overflow: hidden; height: 32px; background: #fff; border-radius: 10px 10px 0 0; padding: 0 14px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; width: 240px; color: #1f1f1f; }
.c-tab img { width: 16px; height: 16px; }
.c-tab .x { margin-left: auto; color: #6b6b6b; font-size: 11px; }
.c-tab.off { background: transparent; color: #4a4a4a; }
.c-tool { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 14px; border-bottom: 1px solid #e4e6ea; color: #5f6368; font-size: 15px; }
.c-omni { flex: 1; height: 32px; border-radius: 16px; background: #eef1f5; display: flex; align-items: center; gap: 10px; padding: 0 14px; font-size: 14px; color: #1f1f1f; }
.c-omni i { font-size: 12px; color: #5f6368; }
.c-ext { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 15px; background: #e4e8ef; }
.c-ext svg { width: 14px; height: 16px; }
.c-main { flex: 1; display: flex; min-height: 0; }
.meet { flex: 1; background: #202124; color: #e8eaed; display: flex; flex-direction: column; padding: 14px 14px 0; }
.meet .tiles { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mt { border-radius: 12px; background: #3c4043; position: relative; display: flex; align-items: center; justify-content: center; }
.mt .circle { width: 110px; height: 110px; border-radius: 55px; display: flex; align-items: center; justify-content: center; font-size: 46px; color: #fff; }
.mt.speak .circle { box-shadow: 0 0 0 6px rgba(138, 180, 248, .35); }
.mt .nm { position: absolute; left: 14px; bottom: 12px; font-size: 13px; }
.mt .mic { position: absolute; right: 12px; top: 12px; width: 26px; height: 26px; border-radius: 13px; background: rgba(32,33,36,.6); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.mt.self { position: absolute; right: 24px; bottom: 90px; width: 220px; height: 130px; }
.meet .mbar { height: 76px; display: flex; align-items: center; gap: 10px; justify-content: center; position: relative; }
.meet .mbar .tm { position: absolute; left: 6px; font-size: 14px; }
.meet .mbar .rb { width: 44px; height: 40px; border-radius: 20px; background: #3c4043; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.meet .mbar .rb.end { width: 60px; background: #ea4335; }
.cside { width: 400px; flex: none; border-left: 1px solid #e4e6ea; display: flex; flex-direction: column; background: #fff; }
.cside-h { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 10px 0 14px; border-bottom: 1px solid #eceef1; font-size: 13.5px; color: #1f1f1f; }
.cside-h svg { width: 14px; height: 16px; }
.cside-h .sp { flex: 1; }
.cside-h i { color: #5f6368; font-size: 14px; }
.cside .lt { flex: 1; min-height: 0; }

.foot-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; border-top: 1px solid #d5d9de; }
.foot-board div { font-size: 14px; color: var(--ink2); display: flex; gap: 10px; }
.foot-board i { color: var(--ink); font-size: 16px; margin-top: 2px; }
.win > .lt, .mom > .lt { height: 100%; }
.lt { min-height: 0; }
.lt-stream { min-height: 0; }

.mt.self .circle { box-shadow: none; }
.mt.self { background: #3c4043; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.meet { position: relative; }
