/* (3.19.0 website) the home page's new parts: what is new, 3D covers, the structure check, the subtitle editor, the
   transcript screen, Complex templates, plan badges. Uses the colours of home.css (navy / brass, light and dark). */
.yic3190 { display: inline-flex; width: 30px; height: 30px; color: var(--navy); flex: none; }
.yic3190 svg { width: 100%; height: 100%; }
@media (prefers-color-scheme: dark) { .yic3190 { color: var(--ink); } }
.sub.wide { max-width: 46em; margin: 0 auto 30px; }
.new-pill3190 { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 14px; color: var(--navy); background: var(--card, #fff); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px 4px 6px; margin-bottom: 14px; }
html[dir="rtl"] .new-pill3190 { padding: 4px 6px 4px 14px; }
.new-pill3190 b { background: var(--brass); color: #fff; border-radius: 999px; padding: 1px 9px; font-size: 12px; letter-spacing: .04em; }
.new-pill3190:hover { border-color: var(--brass); }
@media (prefers-color-scheme: dark) { .new-pill3190 { color: var(--ink); } .new-pill3190 b { color: #0E1A2E; } }
.plan9 { display: inline-block; vertical-align: 2px; margin-inline-start: 6px; padding: 1px 9px; border-radius: 999px; font-size: 11.5px; letter-spacing: .04em; background: var(--navy); color: #fff; text-transform: none; }
@media (prefers-color-scheme: dark) { .plan9 { background: var(--gold); color: #0E1A2E; } }

/* what is new: six cards */
.n9-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.n9-grid a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; height: 100%; text-decoration: none; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s, transform .15s; }
.n9-grid a:hover, .n9-grid a:focus-visible { border-color: var(--brass); transform: translateY(-2px); }
.n9-grid .yic3190 { grid-row: span 2; }
.n9-grid b { color: var(--navy); font-size: 17px; }
.n9-grid span:not(.yic3190) { color: var(--muted); font-size: 14.5px; }
@media (prefers-color-scheme: dark) { .n9-grid b { color: var(--ink); } }
@media (max-width: 900px) { .n9-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .n9-grid { grid-template-columns: 1fr; } }

/* 3D covers: Cover builder kits as books standing on a navy shelf, front and spine showing */
.covers3d { display: grid; grid-template-columns: 1fr; gap: 26px; }
.covers3d .c9-text { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 56px); align-items: start; }
.covers3d .c9-text .eyebrow, .covers3d .c9-text h2 { grid-column: 1; }
.covers3d .c9-text > .muted { grid-column: 1; margin-top: 0; }
.covers3d .c9-text .ticks { grid-column: 2; grid-row: 2 / span 2; align-self: center; }
.covers3d h2 { text-align: start; margin: 8px 0 12px; color: var(--navy); }
.covers3d .c9-text > .muted { font-size: 17px; }
@media (prefers-color-scheme: dark) { .covers3d h2 { color: var(--ink); } }
.c9-fig { margin: 0; min-width: 0; }
.c9-fig figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.c9-shelf { direction: ltr; display: flex; justify-content: center; align-items: flex-end; gap: 34px; padding: 50px 18px 44px; border-radius: 18px; overflow: hidden; perspective: 1300px;
  background: radial-gradient(120% 90% at 50% 20%, #24406b 0%, #172D50 55%, #0f2240 100%); box-shadow: var(--shadow318); position: relative; }
.c9-shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; height: 2px; background: linear-gradient(90deg, transparent, rgba(216,183,124,.55), transparent); }
.bk { position: relative; width: 120px; height: 180px; flex: none; transform-style: preserve-3d; transition: transform .5s ease; }
.bk.rtl { transform: rotateY(-36deg); } .bk.ltr { transform: rotateY(36deg); }
.bk:hover { transform: rotateY(0deg) translateY(-6px); }
.bk i { position: absolute; top: 0; height: 100%; background-size: 140px 180px; background-repeat: no-repeat; backface-visibility: hidden; }
.bk .f { left: 0; width: 120px; box-shadow: 0 18px 26px -10px rgba(0,0,0,.55); }
.bk .s { width: 20px; }
.bk.rtl .f { background-position: 0 0; }
.bk.rtl .s { left: 120px; transform-origin: left center; transform: rotateY(90deg); background-position: -120px 0; filter: brightness(.82); }
.bk.ltr .f { background-position: -20px 0; }
.bk.ltr .s { left: -20px; transform-origin: right center; transform: rotateY(-90deg); background-position: 0 0; filter: brightness(.82); }
.bk1 i { background-image: url(/web/site3190-book-1.jpg?v=WganHzYIFDxH); } .bk2 i { background-image: url(/web/site3190-book-2.jpg?v=zLq6YmTVqd0D); } .bk3 i { background-image: url(/web/site3190-book-3.jpg?v=qKdc2eo9ijUw); }
.bk4 i { background-image: url(/web/site3190-book-4.jpg?v=fLnyKPuz0rYg); } .bk5 i { background-image: url(/web/site3190-book-5.jpg?v=5rw6U0QpI-CZ); } .bk6 i { background-image: url(/web/site3190-book-6.jpg?v=y-7vcJIuYeOJ); }
@media (prefers-reduced-motion: reduce) { .bk { transition: none; } .bk:hover { transform: none; } .bk.rtl:hover { transform: rotateY(-36deg); } .bk.ltr:hover { transform: rotateY(36deg); } }
@media (max-width: 1000px) { .bk5, .bk6 { display: none; } }
@media (max-width: 860px) { .covers3d .c9-text { grid-template-columns: 1fr; } .covers3d .c9-text .ticks { grid-column: 1; grid-row: auto; } }
@media (max-width: 520px) { .bk4 { display: none; } .c9-shelf { gap: 14px; padding: 34px 8px 34px; } .bk { width: 84px; height: 126px; } .bk i { background-size: 98px 126px; } .bk .f { width: 84px; } .bk .s { width: 14px; }
  .bk.rtl .s { left: 84px; background-position: -84px 0; } .bk.ltr .f { background-position: -14px 0; } .bk.ltr .s { left: -14px; } }

/* the structure check: evidence → analysis → checked tree */
.m9-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: none; }
.m9-card { position: relative; background: var(--card, #fff); border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: 14px; padding: 18px 18px 16px; min-width: 0; }
.m9-card + .m9-card::before { content: ""; position: absolute; top: 50%; inset-inline-start: -15px; width: 12px; height: 12px; border-top: 2px solid var(--brass); border-inline-end: 2px solid var(--brass); transform: translateY(-50%) rotate(45deg); }
html[dir="rtl"] .m9-card + .m9-card::before { transform: translateY(-50%) rotate(-45deg); }
.m9-card h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 2px; font-size: 19px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .m9-card h3 { color: var(--ink); } }
.m9-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 13px var(--ui); }
@media (prefers-color-scheme: dark) { .m9-n { background: var(--gold); color: #0E1A2E; } }
.m9-sub { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.m9-ev { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 13.5px; }
.m9-ev li { display: grid; grid-template-columns: 48px 1fr auto; gap: 8px; align-items: center; padding: 5px 8px; border-radius: 8px; background: var(--paper); }
.m9-ev li.warn { background: color-mix(in srgb, var(--brass) 16%, var(--paper)); }
.m9-ev code { font: 12px ui-monospace, Consolas, monospace; color: var(--muted); direction: ltr; text-align: start; }
.m9-ev span { color: var(--muted); } .m9-ev b { font-family: var(--heb); font-size: 15px; }
.m9-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.m9-chips span { font-size: 12.5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.m9-q { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.m9-q p { margin: 0 0 8px; } .m9-q.ok p { margin: 0; color: var(--muted); }
.m9-q b { font-family: var(--heb); font-size: 15px; }
.m9-btn { display: inline-block; font-size: 13px; font-weight: 600; color: #fff; background: var(--navy); border-radius: 999px; padding: 3px 12px; }
@media (prefers-color-scheme: dark) { .m9-btn { background: var(--gold); color: #0E1A2E; } }
.m9-verify { display: flex; gap: 8px; align-items: center; margin: 10px 0 0; font-size: 13.5px; color: var(--muted); }
.m9-verify .yic3190, .u9-ok .yic3190 { width: 20px; height: 20px; }
.m9-tree { list-style: none; margin: 0; padding: 0; font-family: var(--heb); font-size: 16px; display: grid; gap: 4px; }
.m9-tree > li { padding: 6px 10px; border-radius: 8px; background: var(--paper); }
.m9-tree ul { list-style: none; margin: 4px 0 0; padding: 0 14px 0 0; font-size: 14px; color: var(--muted); }
.m9-tree ul li::before { content: "– "; }
.m9-tree li.fixed { background: color-mix(in srgb, #1b7a3d 13%, var(--paper)); }
.m9-tree li.more { background: none; color: var(--muted); }
@media (max-width: 900px) { .m9-flow { grid-template-columns: 1fr; } .m9-card + .m9-card::before { top: -15px; inset-inline-start: 50%; transform: translateX(-50%) rotate(135deg); } html[dir="rtl"] .m9-card + .m9-card::before { transform: translateX(50%) rotate(135deg); } }

/* the subtitle editor: list on the LEFT (both languages), video, the selected subtitle, timeline */
.u9-ed { direction: ltr; display: grid; grid-template-columns: 1.05fr 1.6fr 1fr; grid-template-rows: auto auto; gap: 10px; background: #0f1b2f; border-radius: 16px; padding: 12px; box-shadow: var(--shadow318); color: #e8edf5; font-size: 12.5px; min-width: 0; }
.u9-list { display: grid; gap: 6px; align-content: start; min-width: 0; }
.u9-cue { background: #182a46; border-radius: 8px; padding: 6px 8px; border-left: 3px solid transparent; }
.u9-cue i { display: block; font-style: normal; color: #a9b4c6; font-size: 11px; }
.u9-cue span { display: block; }
.u9-cue.on { border-left-color: #D8B77C; background: #22385b; }
.u9-video { position: relative; border-radius: 10px; min-height: 150px; background: linear-gradient(160deg, #3b4d6b, #1c2a42 60%, #2a2219); display: flex; align-items: flex-end; justify-content: center; padding: 12px; }
.u9-video::before { content: ""; position: absolute; top: 42%; left: 50%; width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent rgba(255,255,255,.75); transform: translate(-40%, -50%); }
.u9-sub { background: rgba(0,0,0,.62); color: #fff; font-size: 14px; padding: 3px 10px; border-radius: 4px; text-align: center; }
.u9-insp { display: grid; gap: 8px; align-content: start; background: #182a46; border-radius: 10px; padding: 10px; min-width: 0; }
.u9-time { font: 11.5px ui-monospace, Consolas, monospace; color: #a9b4c6; }
.u9-bar { height: 6px; border-radius: 3px; background: #2b3f62; } .u9-bar i { display: block; height: 100%; width: 58%; border-radius: 3px; background: #7fd49c; }
.u9-ok { display: flex; gap: 6px; align-items: center; color: #7fd49c; }
.u9-ok .yic3190 { color: #7fd49c; }
.u9-tl { grid-column: 1 / -1; position: relative; background: #13223a; border-radius: 10px; padding: 8px 10px; }
.u9-blocks { position: relative; height: 18px; }
.u9-blocks i { position: absolute; top: 0; height: 100%; border-radius: 4px; background: #2e4a75; }
.u9-blocks .b1 { left: 2%; width: 20%; } .u9-blocks .b2 { left: 24%; width: 14%; } .u9-blocks .b3 { left: 40%; width: 24%; background: #D8B77C; } .u9-blocks .b4 { left: 66%; width: 30%; }
.u9-wave { display: flex; align-items: center; gap: 2px; height: 34px; margin-top: 6px; overflow: hidden; }
.u9-wave i { flex: 1; min-width: 1px; background: #5f7499; border-radius: 1px; }
.u9-head { position: absolute; top: 4px; bottom: 4px; left: 50%; width: 2px; background: #D8B77C; }
@media (max-width: 560px) { .u9-ed { grid-template-columns: 1fr 1.3fr; } .u9-insp { display: none; } }

/* the transcript screen: transcriptions slim on the LEFT, the text with room, one side column */
.tx3190 { grid-template-columns: 1.35fr 1fr; }
.t9-scr { direction: ltr; display: grid; grid-template-columns: 80px 1fr 146px; gap: 10px; background: var(--card, #fff); border: 1px solid var(--line); border-radius: 16px; padding: 12px; box-shadow: var(--shadow318); font-size: 13px; min-width: 0; }
.t9-files, .t9-side { display: grid; gap: 5px; align-content: start; min-width: 0; }
.t9-files b, .t9-side b { font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 4px; }
html[dir="rtl"] .t9-files b, html[dir="rtl"] .t9-side b { text-transform: none; letter-spacing: 0; text-align: right; }
.t9-files span, .t9-side > span:not(.t9-seg) { padding: 5px 8px; border-radius: 7px; background: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t9-files span.on, .t9-side > span.on { background: color-mix(in srgb, var(--brass) 20%, var(--paper)); }
.t9-text { min-width: 0; font: 14px/1.6 var(--serif); padding: 4px 8px; border-inline: 1px solid var(--line); text-align: left; }
.t9-text h4 { margin: 10px 0 2px; font: 600 14.5px var(--ui); color: var(--navy); }
@media (prefers-color-scheme: dark) { .t9-text h4 { color: var(--ink); } }
.t9-text p { margin: 0 0 6px; }
.t9-text [lang="he"] { font-family: var(--heb); font-size: 15px; }
.t9-sum { background: var(--paper); border-radius: 8px; padding: 6px 9px; font: 12.5px/1.5 var(--ui); }
.t9-seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.t9-seg i { flex: 1 1 auto; text-align: center; font-style: normal; font-size: 10.5px; padding: 3px 4px; }
.t9-seg i.on { background: var(--navy); color: #fff; }
@media (prefers-color-scheme: dark) { .t9-seg i.on { background: var(--gold); color: #0E1A2E; } }
@media (max-width: 860px) { .tx3190 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .t9-scr { grid-template-columns: 70px 1fr; } .t9-side { display: none; } }

/* Complex templates: a classic page, the source in the middle and the commentary around it */
.x9-page { justify-self: center; width: min(380px, 100%); aspect-ratio: 6 / 8.4; background: #fffdf7; color: #222; border-radius: 4px; padding: 22px 22px 18px; font-family: var(--heb);
  box-shadow: 0 1px 0 #e9e2d0, 0 18px 40px rgba(23,45,80,.2), 8px 8px 0 -2px #efe7d3; display: flex; flex-direction: column; gap: 10px; }
.x9-run { display: flex; justify-content: space-between; font-size: 11px; border-bottom: 1px solid #333; padding-bottom: 3px; }
.x9-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; flex: 1; }
.x9-c { background: repeating-linear-gradient(to bottom, #d6d0c2 0 3px, transparent 3px 8px); border-radius: 1px; }
.x9-mid { display: flex; flex-direction: column; gap: 10px; }
.x9-mid .x9-c { flex: 1; }
.x9-src { border-bottom: 1px solid #cfc9bb; padding: 0 4px 6px; }
.x9-src b { display: block; text-align: center; font-size: 13px; margin-bottom: 6px; }
.x9-page .ln { display: block; height: 4px; margin: 0 0 6px; background: #cfc9bb; border-radius: 2px; }
.x9-src .ln { height: 7px; margin-bottom: 9px; background: #8d8676; }
.x9-page .ln:nth-child(4n) { width: 80%; }
.x9-foot { border-top: 1px solid #999; padding-top: 6px; }
.x9-foot .ln { height: 3px; }
/* the app's icons where the page had emoji */
.ic3190 .yic3190 { width: 34px; height: 34px; }
.lv-mode button { display: inline-flex; align-items: center; gap: 6px; }
.lv-mode .yic3190 { width: 18px; height: 18px; color: currentColor; }
.lv-mode button.on .yic3190 svg g g { stroke: currentColor !important; }
.pr9 { margin-top: -6px; }
