/* presentations: the "הצגה" tab and the playback bar (js/shows.js) */
.shows .sh{margin-bottom:var(--space-2)}
.shows .note.err{color:var(--color-accent-700)}
.shows .btn .i,.shbar .i{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;flex:none}
.shows .btn{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;font-size:13px}
.shows .lnk{font-size:13px;text-decoration:underline;text-underline-offset:3px;color:var(--color-text);padding:0}
.shows .adel{color:var(--color-accent-700)}
.shrow{padding:var(--space-3) 0;border-bottom:2px solid var(--color-divider);display:grid;grid-template-columns:1fr auto;gap:var(--space-2) var(--space-3);align-items:center}
.shrow:first-of-type{border-top:2px solid var(--color-divider)}
.shname{display:flex;flex-direction:column;gap:2px;min-width:0}.shname b{font-size:15px}.shname span{font-size:12px;color:var(--color-text-muted)}
.shacts{display:flex;gap:var(--space-2)}
.shnew{margin-top:var(--space-3)}
.shlogin{margin-top:var(--space-3)}
.shfr{grid-column:1/-1;list-style:none;margin:0;padding:0;border-inline-start:2px solid var(--color-text)}
.shfr button{display:flex;gap:var(--space-2);width:100%;text-align:start;padding:5px var(--space-2);font-size:13px}
@media (hover:hover){.shfr button:hover{background:var(--color-accent-100)}}
.shfr li.on button{background:var(--color-text);color:var(--color-bg)}
.shn{font-variant-numeric:tabular-nums;font-weight:700;min-width:1.4em}
/* editor */
.shlab{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;margin-bottom:var(--space-3)}
.shin{width:100%;border:2px solid var(--color-text);border-radius:0;padding:7px 9px;font:inherit;font-size:14px;font-weight:400;background:var(--color-bg);color:var(--color-text)}
.shnm{font-size:16px;font-weight:600}
.shfl{list-style:none;margin:0 0 var(--space-3);padding:0}
.shf{padding:var(--space-2) 0;border-top:2px solid var(--color-divider)}
.shf:last-child{border-bottom:2px solid var(--color-divider)}
.shf.on{box-shadow:inset 3px 0 0 #ec3013}[dir=rtl] .shf.on{box-shadow:inset -3px 0 0 #ec3013}
.shfh{display:flex;align-items:center;gap:var(--space-2)}
.shfh .shin{padding:5px 7px;font-size:13px;border-width:1px}
.shmv{display:flex}.shmv button{width:26px;height:26px;display:grid;place-items:center}.shmv button:disabled{opacity:.25}
.shmv .i{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2}
.shmeta{font-size:12px;color:var(--color-text-muted);margin:4px 0 0;padding-inline-start:calc(1.4em + var(--space-2))}
.shfa{display:flex;gap:var(--space-3);margin-top:4px;padding-inline-start:calc(1.4em + var(--space-2))}
.shadd{width:100%;justify-content:center}
.shbtns{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-3)}
/* playback bar: centered over the map, above everything on it */
.shbar{position:fixed;z-index:1200;bottom:28px;left:50%;transform:translateX(-50%);display:flex;align-items:stretch;background:var(--color-bg);color:var(--color-text);border:2px solid var(--color-text);max-width:calc(100vw - 24px);font-family:var(--font-body)}
.shbar[hidden]{display:none}
.shbar .shb{width:48px;display:grid;place-items:center;border-inline-start:2px solid var(--color-text)}
.shbar .shb:first-child{border-inline-start:0}
@media (hover:hover){.shbar .shb:hover:not(:disabled){background:var(--color-accent-100)}}
.shbar .shb:disabled{opacity:.3}
.shbar .shnext{background:#ec3013;color:#fff}@media (hover:hover){.shbar .shnext:hover:not(:disabled){background:#c82508}}
.shbar .shnext:disabled{background:var(--color-bg);color:var(--color-text)}
.shbar .shb .i{width:22px;height:22px}
.shbar .shx .i{width:16px;height:16px}
.shbar .shmid{display:flex;flex-direction:column;justify-content:center;padding:8px 16px;min-width:200px;box-sizing:border-box;border-left:2px solid var(--color-text)}
.shbar .shmid b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:600;color:var(--color-text-muted)}
.shbar .shmid>span{font-size:15px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* phone: the bar takes the search box's place while a presentation plays */
@media (max-width:820px){.shbar{bottom:auto;top:60px;left:12px;right:12px;transform:none;max-width:none}.shbar .shmid{min-width:0;width:auto!important;flex:1;padding:3px 10px}.shbar .shb{width:44px}
  .shbar .shmid b{font-size:11px}.shbar .shmid>span{font-size:14px}
  body.showing .lb .fsearch{visibility:hidden}}
/* chosen projects per frame (Uri, 18.10.2026) */
.shonly{margin-top:6px;padding-inline-start:calc(1.4em + var(--space-2));display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.shonly .shck{display:flex;align-items:center;gap:6px;font-size:13px;cursor:pointer}
.shonly input[type=checkbox]{accent-color:#ec3013;width:15px;height:15px;margin:0;border-radius:0}
.shonly .lnk{display:inline-flex;align-items:center;gap:4px}.shonly .lnk .i{width:13px;height:13px}
.shpk{width:100%;display:flex;flex-direction:column;gap:6px;margin-top:2px}
.shpk .shin{padding:5px 7px;font-size:13px;border-width:1px}
.shpl{max-height:260px;overflow-y:auto;border:1px solid var(--color-text)}
.shpi{display:flex;align-items:center;gap:6px;padding:4px 7px;font-size:13px;cursor:pointer;border-bottom:1px solid var(--color-divider)}
@media (hover:hover){.shpi:hover{background:var(--color-accent-100)}}
.shpi svg{width:16px;height:16px;flex:none}
.shpi span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* photos per frame (Uri, 19.10.2026): the editor's thumbnails, the bar's photos button and the floating gallery */
.shpics{margin-top:6px;padding-inline-start:calc(1.4em + var(--space-2));display:flex;flex-direction:column;gap:6px}
.shth{display:grid;grid-template-columns:repeat(auto-fill,minmax(72px,1fr));gap:6px}
.shth figure{margin:0;position:relative;aspect-ratio:4/3;border:1px solid var(--color-text);cursor:grab;background:var(--color-divider)}
.shth img{width:100%;height:100%;object-fit:cover;display:block}
.shth figure button{position:absolute;top:0;inset-inline-end:0;width:20px;height:20px;display:grid;place-items:center;background:var(--color-bg);border-inline-start:1px solid var(--color-text);border-bottom:1px solid var(--color-text);opacity:0}
.shth figure:hover button,.shth figure button:focus{opacity:1}
.shth figure button .i{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2}
.shmeta0{font-size:12px;color:var(--color-text-muted)}
.shpa{display:flex;flex-wrap:wrap;gap:var(--space-3)}
.shpa .lnk{display:inline-flex;align-items:center;gap:4px;cursor:pointer}.shpa .lnk .i{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2}
.shpa .lnk.dis,.shpa .lnk:disabled{opacity:.4;pointer-events:none}
.shimp{display:flex;flex-direction:column;gap:6px;padding:6px;border:1px solid var(--color-text)}
.shimpr{display:flex;gap:6px;align-items:center}.shimpr .shin{flex:1;min-width:0;padding:5px 7px;font-size:13px;border-width:1px}
.shimpr .btn{padding:5px 10px;white-space:nowrap}
.shcand label{position:relative;aspect-ratio:4/3;border:1px solid var(--color-divider);cursor:pointer;opacity:.45}
.shcand label.on{border:2px solid #ec3013;opacity:1}
.shcand input{position:absolute;top:3px;inset-inline-start:3px;margin:0;accent-color:#ec3013;width:14px;height:14px}
/* the bar's photos button: present for the whole show when any frame has photos, faded on frames without */
.shbar .shpic{display:flex;align-items:center;justify-content:center;gap:4px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.shbar .shpic .i{width:20px;height:20px}
.shbar .shpic.on,.shbar .shpic.on:hover:not(:disabled){background:var(--color-text);color:var(--color-bg)}
.shbar .shpic.fresh{animation:shPicNew 2.5s ease forwards}
@keyframes shPicNew{0%,70%{background:#ec3013;color:#fff}100%{background:var(--color-bg);color:var(--color-text)}}
.shgal{position:fixed;inset:0;z-index:1190;background:rgba(0,0,0,.42)}
.shgal[hidden]{display:none}
.shgf{position:absolute;left:-9999px;background:var(--color-bg);border:2px solid var(--color-text);font-family:var(--font-body);opacity:0;transition:opacity .2s}
.shgf.in{opacity:1}
.shgf img{display:block;user-select:none}
.shgc{height:32px;display:flex;align-items:center;gap:10px;padding:0 12px;border-top:2px solid var(--color-text);font-size:13px;color:var(--color-text)}
.shgc span:first-child{font-weight:700;font-variant-numeric:tabular-nums}
.shgc span+span{color:var(--color-text-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the arrows sit on the photo's side edges, the X on its top corner (top left in Hebrew) */
.shga,.shgx{position:absolute;display:grid;place-items:center;background:var(--color-bg);color:var(--color-text);border:2px solid var(--color-text)}
/* the arrows are lighter than the frame: see-through, a 1px frame and a thin chevron (Uri, 24.10.2026) */
.shga{top:calc(50% - 17px);width:48px;height:48px;transform:translateY(-50%);background:rgba(243,242,242,.55);border:1px solid rgba(32,30,29,.35)}
.shgr{right:-25px}.shgl{left:-25px}
@media (hover:hover){.shga:hover:not(:disabled){background:rgba(243,242,242,.9);border-color:var(--color-text)}}
.shga:disabled{opacity:0;pointer-events:none}
.shga .i{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.25;opacity:.75}
@media (hover:hover){.shga:hover:not(:disabled) .i{opacity:1}}
.shgx{top:-21px;inset-inline-end:-21px;width:40px;height:40px;background:var(--color-text);color:var(--color-bg);border-color:var(--color-text)}
@media (hover:hover){.shgx:hover{background:#ec3013;border-color:#ec3013}}
.shgx .i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
@media (max-width:820px){.shga{width:40px;height:40px}.shgr{right:-14px}.shgl{left:-14px}.shgx{top:-16px;inset-inline-end:-12px;width:34px;height:34px}}
/* full screen: a project's photos from "Details" */
.shgal.full{z-index:3000;background:rgba(0,0,0,.82)}
