/* social. by arlo · staff.css · ממשק הצוות (קידומת .st-) */

/* ---------- מעטפת ---------- */
body.is-staff{background:#fff}
.st-app{display:grid;grid-template-columns:252px minmax(0,1fr);height:100vh;height:100dvh}
.st-side{grid-column:1;display:flex;flex-direction:column;min-height:0;background:#fafafc;border-inline-end:1px solid var(--hair)}
.st-side-head{padding:22px 22px 14px}
.st-brand{display:inline-flex;color:var(--ink);text-decoration:none!important}
.st-side-scroll{flex:1;min-height:0;overflow:auto;padding:4px 10px 12px;overscroll-behavior:contain}
.st-clients{display:flex;flex-direction:column;gap:2px}
.st-cl{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border-radius:10px;color:var(--text);font-size:14.5px;font-weight:500;text-decoration:none!important;transition:background .15s,box-shadow .15s}
.st-cl:hover{background:rgba(0,0,0,.045)}
.st-cl:active{background:rgba(0,0,0,.07)}
.st-cl.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06),inset 0 0 0 1px var(--hair)}
.st-cl.off{opacity:.55}
.st-cl-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-cl .badge{flex:none}
.st-wait{flex:none;width:8px;height:8px;border-radius:50%;background:var(--warn-strong)}
.st-cl-sk{pointer-events:none}
.st-sk-av{width:28px;height:28px;border-radius:50%!important;flex:none}
.st-sk-ln{height:11px;flex:1;border-radius:6px!important}
.st-side-new{display:flex;align-items:center;gap:10px;width:100%;height:40px;margin-top:6px;padding:0 10px;border-radius:10px;color:var(--sub);font-size:14.5px;font-weight:500;transition:background .15s,color .15s}
.st-side-new:hover{background:rgba(0,0,0,.045);color:var(--ink)}
.st-side-new-ic{flex:none;width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1.5px #d1d1d6}
.st-side-new-ic .ic{width:15px;height:15px}
.st-side-foot{display:flex;flex-direction:column;gap:2px;padding:10px;border-top:1px solid var(--hair)}
.st-side-link{display:flex;align-items:center;gap:10px;height:40px;padding:0 10px;border-radius:10px;color:var(--text);font-size:14.5px;font-weight:500;text-decoration:none!important;transition:background .15s}
.st-side-link .ic{width:19px;height:19px;color:var(--sub);margin:0 4px}
.st-side-link:hover{background:rgba(0,0,0,.045)}
.st-side-link.on{background:#fff;color:var(--ink);font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06),inset 0 0 0 1px var(--hair)}
.st-me{display:flex;align-items:center;gap:10px;height:44px;padding:0 4px 0 0;padding-inline:10px 2px}
.st-me-name{flex:1;min-width:0;font-size:14px;font-weight:600;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-me-out{color:var(--sub)}
.st-me-out:hover{color:var(--ink)}
.st-body{grid-column:2;display:flex;flex-direction:column;min-width:0;min-height:0}
.st-top{display:none}
.st-main{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scroll-behavior:auto}
.st-page{max-width:1480px;margin:0 auto;padding:26px 36px 72px}
.st-page-empty{display:flex;align-items:center;justify-content:center;min-height:100%}
.grow{flex:1;min-width:0}

/* ---------- כותרת לקוח ---------- */
.st-ch{display:flex;align-items:center;gap:14px;margin-bottom:10px}
.st-ch-av{display:inline-flex}
.st-ch-id{flex:1;min-width:0}
.st-ch-name{margin:0;font-size:26px;font-weight:700;line-height:1.15;letter-spacing:-.015em;color:var(--ink);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-ch-handle{margin-top:3px;font-size:14px;color:var(--sub);text-align:right}
.st-ch-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.st-ch-actions .btn .badge{margin-inline-start:2px}
.st-bar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;margin:0 -36px;padding:10px 36px;background:rgba(255,255,255,.8);-webkit-backdrop-filter:saturate(180%) blur(18px);backdrop-filter:saturate(180%) blur(18px);box-shadow:0 1px 0 rgba(0,0,0,.05)}
.st-month{display:flex;align-items:center;gap:2px;flex:1;min-width:0}
.st-mname{min-width:132px;text-align:center;font-size:18px;font-weight:700;color:var(--ink);letter-spacing:-.01em;white-space:nowrap}
.st-mnav{width:36px;height:36px}
.st-mnav .ic{width:19px;height:19px}
.st-thismonth{margin-inline-start:6px}
.st-thismonth[disabled]{opacity:.35}
.st-viewseg{flex:none}

/* תכולה */
.st-scope{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 0}
.st-sc{display:inline-flex;align-items:center;gap:7px;height:32px;padding:0 12px;border-radius:16px;background:var(--bg2);color:var(--text);font-size:13px;font-weight:500;white-space:nowrap;transition:background .2s,color .2s,filter .15s,transform .1s}
.st-sc .ic{width:15px;height:15px;color:var(--sub)}
.st-sc-n{font-weight:700;font-variant-numeric:tabular-nums;color:var(--ink)}
.st-sc.done{background:var(--ok-bg);color:var(--ok)}
.st-sc.done .ic,.st-sc.done .st-sc-n{color:var(--ok)}
.st-sc.extra{background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
button.st-sc:not([disabled]):hover{filter:brightness(.96)}
button.st-sc:not([disabled]):active{transform:scale(.98)}
.st-sc[disabled]{cursor:default}
.st-sc.on,.st-sc.on.done,.st-sc.on.extra{background:var(--ink);color:#fff;box-shadow:none}
.st-sc.on .ic,.st-sc.on .st-sc-n{color:#fff}

/* סינון */
.st-filters{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:12px 0 0}
.st-view{margin-top:16px}
.st-fchip{height:30px;padding:0 11px;font-weight:500;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
button.st-fchip:hover{background:#fafafa;box-shadow:inset 0 0 0 1px #c7c7cc}
.st-fchip.on,button.st-fchip.on:hover{background:var(--ink);color:#fff;box-shadow:none}
.st-fchip .ic{width:14px;height:14px}
.st-fchip-n{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--sub)}
.st-fchip.on .st-fchip-n{color:rgba(255,255,255,.75)}
.st-fsep{width:1px;height:18px;margin:0 4px;background:var(--line)}
.st-fclear{margin-inline-start:4px}
.st-sdot{display:inline-block;flex:none;width:8px;height:8px;border-radius:50%}
.st-att-dot{display:inline-block;flex:none;width:7px;height:7px;border-radius:50%;background:var(--err-strong)}
.st-fchip.on .st-att-dot{box-shadow:0 0 0 1.5px #fff}
.st-fchip.zero:not(.on){color:var(--sub)}
.st-fchip.zero:not(.on) .st-att-dot{background:#d1d1d6}
.st-muted{color:var(--faint)}
.st-cnt{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:10px;background:rgba(0,0,0,.055);color:var(--sub);font-size:12px;font-weight:600;font-variant-numeric:tabular-nums}

/* ---------- ריק וטעינה ---------- */
.st-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:72px 20px;text-align:center}
.st-empty.big{min-height:60vh}
.st-empty-ic{display:flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:20px;background:var(--bg2);color:var(--sub)}
.st-empty-ic .ic{width:30px;height:30px}
.st-empty-t{font-size:17px;font-weight:600;color:var(--ink)}
.st-skel{display:flex;flex-direction:column;gap:12px;padding:8px 0}
.st-skel-row{height:52px;border-radius:12px}
.st-shwait{display:flex;justify-content:center;padding:18px}

/* ---------- לוח שנה ---------- */
.st-tray{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;border-radius:14px;background:var(--bg2);transition:box-shadow .15s,background .15s}
.st-tray.is-empty{display:none}
.st-dragging .st-tray.is-empty{display:flex;min-height:48px}
.st-tray-h{display:flex;align-items:center;gap:6px;flex:none;font-size:13px;font-weight:600;color:var(--sub)}
.st-tray-list{display:flex;flex-wrap:wrap;gap:6px;flex:1;min-width:0}
.st-tray.st-drop{background:#ececf0;box-shadow:inset 0 0 0 2px var(--ink)}
.st-cal{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:var(--hair);border:1px solid var(--hair);border-radius:16px;overflow:hidden}
.st-cal-dow{padding:9px 12px;background:#fafafc;font-size:12px;font-weight:600;color:var(--sub)}
.st-cal-cell{position:relative;display:flex;flex-direction:column;gap:4px;min-width:0;min-height:124px;padding:6px 6px 8px;background:#fff;cursor:pointer;transition:background .15s,box-shadow .15s}
.st-cal-cell:hover{background:#fcfcfd}
.st-cal-cell.out{background:#fafafb}
.st-cal-cell.out .st-cal-d{color:#c7c7cc}
.st-cal-top{display:flex;align-items:center;justify-content:space-between;padding:0 2px}
.st-cal-d{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:50%;font-size:13px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}
.st-cal-cell.today .st-cal-d{background:var(--ink);color:#fff}
.st-cal-add{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;color:var(--sub);opacity:0;transition:opacity .15s,background .15s,color .15s}
.st-cal-add .ic{width:15px;height:15px}
.st-cal-cell:hover .st-cal-add{opacity:1}
.st-cal-add:hover{background:var(--bg2);color:var(--ink)}
.st-cal-items{display:flex;flex-direction:column;gap:3px;min-width:0}
.st-cal-cell.st-drop{background:#f5f5f7;box-shadow:inset 0 0 0 2px var(--ink)}
.st-chipi{display:flex;align-items:flex-start;gap:5px;min-width:0;min-height:26px;padding:5px 7px;border-radius:7px;font-size:12.5px;font-weight:500;line-height:1.3;cursor:grab;user-select:none;-webkit-user-select:none;transition:transform .12s,box-shadow .15s,filter .15s,opacity .15s}
.st-chipi .ic{flex:none;width:13px;height:13px;margin-top:2px;opacity:.85}
.st-chipi-t{display:-webkit-box;flex:1;min-width:0;overflow:hidden;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.st-chipi-h{flex:none;margin-top:1px;font-size:11.5px;opacity:.72;font-variant-numeric:tabular-nums}
.st-chipi.tray{align-items:center;min-height:28px;padding:0 9px}
.st-chipi.tray .ic{margin-top:0}
.st-chipi.tray .st-chipi-t{display:block;white-space:nowrap;text-overflow:ellipsis}
.st-chipi:hover{filter:brightness(.97);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.st-chipi:active{cursor:grabbing;transform:scale(.98)}
.st-chipi.dragging{opacity:.35}
.st-chipi.hid{background:#fff;border:1px dashed currentColor}
.st-chipi.tray{max-width:240px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06)}
.st-chipi.tray.hid{box-shadow:none}
.st-chipi .st-att-dot{width:6px;height:6px;margin-top:5px}

/* מובייל: רשימת ימים */
.st-days{display:flex;flex-direction:column;gap:20px}
.st-day-h{display:flex;align-items:baseline;gap:8px;margin:0 4px 8px;font-size:15px;font-weight:600;color:var(--sub)}
.st-day-n{font-size:22px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.st-day-today{align-self:center;padding:2px 8px;border-radius:10px;background:var(--ink);color:#fff;font-size:11.5px;font-weight:700}
.st-day-list{display:flex;flex-direction:column;overflow:hidden;background:#fff;border-radius:16px;box-shadow:inset 0 0 0 1px var(--hair)}
.st-row{display:flex;align-items:center;gap:12px;width:100%;min-height:68px;padding:10px 12px;border-bottom:1px solid var(--hair);text-align:right;transition:background .12s}
.st-row:last-child{border-bottom:0}
button.st-row:hover{background:#fafafb}
button.st-row:active{background:var(--bg2)}
.st-row-th{display:flex;align-items:center;justify-content:center;flex:none;width:42px;height:52px;overflow:hidden;border-radius:8px;background:var(--bg2);color:var(--sub)}
.st-row-th img{width:100%;height:100%;object-fit:cover;display:block}
.st-row-th .ic{width:18px;height:18px}
.st-row-main{display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.st-row-t{overflow:hidden;font-size:15px;font-weight:600;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}
.st-row-m{display:flex;gap:8px;font-size:13px;color:var(--sub)}
.st-row-end{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex:none}
.st-row-icons{display:flex;align-items:center;gap:8px}
.st-row-static{cursor:default}

/* נראות ותגובות מוקטנות */
.st-vis{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;white-space:nowrap}
.st-vis .ic{width:17px;height:17px}
.st-vis.on{color:var(--text)}
.st-vis.off{color:#c7c7cc}
.st-vis.at{color:var(--warn)}
.st-cm{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:600;color:var(--sub);font-variant-numeric:tabular-nums}
.st-cm .ic{width:15px;height:15px}
.st-cm.fix{color:var(--err)}

/* ---------- רשימה ---------- */
.st-tbl{overflow:hidden;background:#fff;border:1px solid var(--hair);border-radius:16px}
.st-tr{display:grid;grid-template-columns:52px 168px 150px minmax(0,1fr) 128px 96px 82px;align-items:center;min-height:56px;border-bottom:1px solid var(--hair);cursor:pointer;transition:background .12s}
.st-tr:last-child{border-bottom:0}
.st-tr:hover{background:#fafafb}
.st-tr.sel{background:#f4f4f6}
.st-th{min-height:42px;background:#fafafc;color:var(--sub);font-size:12px;font-weight:600;cursor:default}
.st-th:hover{background:#fafafc}
.st-td{display:flex;align-items:center;gap:7px;min-width:0;padding:0 10px;font-size:14px}
.st-td.c-cb{justify-content:center;padding:0}
.st-td.c-type{color:var(--sub);font-size:13.5px}
.st-td.c-type .ic{width:16px;height:16px}
.st-td.c-title{gap:8px}
.st-tt{overflow:hidden;font-weight:600;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}
.st-td.c-date{font-variant-numeric:tabular-nums}
.st-td.c-date>span{display:inline-flex;align-items:baseline;gap:8px}
.st-time{color:var(--sub)}
.st-cb{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:10px}
.st-cb-box{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:6px;background:#fff;box-shadow:inset 0 0 0 1.5px #c7c7cc;color:transparent;transition:background .12s,box-shadow .12s}
.st-cb-box .ic{width:14px;height:14px;stroke-width:2.6}
.st-cb:hover .st-cb-box{box-shadow:inset 0 0 0 1.5px #8e8e93}
.st-cb.on .st-cb-box{background:var(--ink);box-shadow:none;color:#fff}

/* פעולות על נבחרים */
.st-bulk{position:sticky;bottom:18px;z-index:30;display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin:16px auto 0;padding:7px;padding-inline-start:18px;border-radius:16px;background:rgba(29,29,31,.92);color:#fff;box-shadow:var(--sh-3);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);animation:st-rise .28s var(--ease)}
.st-bulk-n{font-size:14px;font-weight:600;white-space:nowrap;margin-inline-end:6px}
.st-bulk-acts{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none}
.st-bulk-acts::-webkit-scrollbar{display:none}
.st-bulk-b{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 12px;border-radius:10px;color:#fff;font-size:13.5px;font-weight:600;white-space:nowrap;transition:background .15s}
.st-bulk-b .ic{width:17px;height:17px}
.st-bulk-b:hover{background:rgba(255,255,255,.12)}
.st-bulk-b[aria-busy=true]{opacity:.5}
.st-bulk-x{color:#fff}
.st-bulk-x:hover{background:rgba(255,255,255,.12)}
@keyframes st-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ---------- סטטוסים ---------- */
.st-board{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(236px,1fr);align-items:start;gap:12px;overflow-x:auto;padding-bottom:14px;scroll-snap-type:x proximity}
.st-board.fade-end{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 56px);mask-image:linear-gradient(to right,transparent 0,#000 56px)}
.st-board.fade-start{-webkit-mask-image:linear-gradient(to left,transparent 0,#000 56px);mask-image:linear-gradient(to left,transparent 0,#000 56px)}
.st-board.fade-start.fade-end{-webkit-mask-image:linear-gradient(to right,transparent 0,#000 56px,#000 calc(100% - 56px),transparent 100%);mask-image:linear-gradient(to right,transparent 0,#000 56px,#000 calc(100% - 56px),transparent 100%)}
.st-col{min-height:120px;padding:10px;border-radius:16px;background:var(--bg2);scroll-snap-align:start}
.st-col-h{display:flex;align-items:center;gap:8px;padding:4px 6px 10px;font-size:13.5px;font-weight:600;color:var(--ink)}
.st-col-l{flex:1;min-width:0}
.st-col-list{display:flex;flex-direction:column;gap:8px}
.st-col-empty{height:56px;border:1.5px dashed rgba(0,0,0,.08);border-radius:12px}
.st-card{display:flex;gap:10px;width:100%;padding:10px;border-radius:12px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.06),inset 0 0 0 1px rgba(0,0,0,.04);text-align:right;transition:box-shadow .15s,transform .12s}
.st-card:hover{box-shadow:var(--sh-2)}
.st-card:active{transform:scale(.99)}
.st-card-th{display:flex;align-items:center;justify-content:center;flex:none;width:46px;height:58px;overflow:hidden;border-radius:8px;background:var(--bg2);color:var(--sub)}
.st-card-th img{width:100%;height:100%;object-fit:cover;display:block}
.st-card-th .ic{width:18px;height:18px}
.st-card-b{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.st-card-t{display:-webkit-box;overflow:hidden;font-size:14px;font-weight:600;line-height:1.3;color:var(--ink);-webkit-line-clamp:2;-webkit-box-orient:vertical}
.st-card-m{display:flex;align-items:center;gap:5px;font-size:12.5px;color:var(--sub)}
.st-card-m .ic{width:13px;height:13px}
.st-card-f{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;margin-top:2px;font-size:12px;color:var(--sub)}
.st-card-f .grow{flex:1 0 0}
.st-card-d{font-variant-numeric:tabular-nums;white-space:nowrap}
.st-card .st-vis .ic{width:15px;height:15px}

/* ---------- טפסים ---------- */
.st-form .field:last-child{margin-bottom:0}
.st-dt{display:flex;flex-direction:column;gap:7px;min-width:0}
.st-dt-row{display:flex;align-items:center;gap:8px}
.st-date{flex:1.3 1 0;min-width:0}
.st-tin{flex:1 1 0;min-width:140px}
.st-dt-read{display:flex;align-items:baseline;gap:12px;padding:0 2px;font-size:13px;line-height:1.35;color:var(--sub)}
.st-dt-txt{flex:1;min-width:0}
.st-dt-clr{position:relative;flex:none;padding:0 2px;font-size:13px}
.st-dt-clr::after{content:"";position:absolute;inset:-12px -8px}
.st-chips{display:flex;flex-wrap:wrap;gap:6px}
.st-chips .chip{height:34px;padding:0 13px}
.st-grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:12px}
.st-grid2 .field{margin-bottom:14px}
.st-handle{position:relative}
.st-handle-at{position:absolute;top:50%;left:14px;transform:translateY(-50%);color:var(--sub);font-size:16px;pointer-events:none}
.st-handle-in{padding-left:32px}
.st-avpick{display:flex;align-items:center;gap:16px;margin-bottom:20px}
.st-avpick-av{position:relative;display:inline-flex}
.st-avprog{position:absolute;right:10px;left:10px;bottom:-9px;height:4px;overflow:hidden;border-radius:2px;background:rgba(0,0,0,.08)}
.st-swatches{display:flex;flex-wrap:wrap;gap:10px}
.st-swc{position:relative;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);cursor:pointer;transition:transform .12s,box-shadow .15s}
.st-swc:hover{transform:scale(1.08)}
.st-swc.on{box-shadow:0 0 0 2px #fff,0 0 0 4px var(--ink)}
.st-swc-more{overflow:hidden;background:var(--bg2);color:var(--sub)}
.st-swc-more .ic{width:15px;height:15px}
.st-swc-custom{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
.st-scope-ed{overflow:hidden;border-radius:14px;box-shadow:inset 0 0 0 1px var(--hair)}
.st-scope-row{display:flex;align-items:center;gap:12px;min-height:54px;padding:6px 12px;border-bottom:1px solid var(--hair);color:var(--sub);transition:color .15s}
.st-scope-row:last-child{border-bottom:0}
.st-scope-row.on{color:var(--ink)}
.st-scope-ic{display:inline-flex}
.st-scope-ic .ic{width:19px;height:19px}
.st-scope-l{flex:1;min-width:0;font-size:15px;font-weight:500}
.st-stepper{display:inline-flex;align-items:center;height:36px;border-radius:10px;background:var(--bg2)}
.st-step{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;color:var(--ink);transition:background .12s}
.st-step:hover{background:var(--bg3)}
.st-step:active{background:#dcdce1}
.st-step .ic{width:16px;height:16px}
.st-num{width:42px;height:36px;padding:0;border:0;outline:0;background:transparent;font-size:15px;font-weight:600;text-align:center;font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.st-num::-webkit-inner-spin-button,.st-num::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.st-seg-full{display:flex;width:100%}
.st-seg-full button{flex:1;justify-content:center}
.st-pwrow{display:flex;align-items:center;gap:8px}
.st-pwfld{position:relative;flex:1;min-width:0}
.st-pw{padding-left:46px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:15px;letter-spacing:.02em}
.st-pw-cp{position:absolute;top:50%;left:4px;transform:translateY(-50%)}
.st-pw-cp .ic{width:18px;height:18px}
.st-row-sw{margin-top:6px}
.switch .st-sw-l{white-space:nowrap;font-size:14px;font-weight:600;color:var(--text)}
.st-foot-split{justify-content:flex-start}

/* ---------- עורך תוכן ---------- */
.st-ed-sheet .sheet-body{padding:0;background:#f5f5f7}
.st-ed-sheet .sheet-head{background:#fff}
.st-ed-head{display:inline-flex;align-items:center;gap:10px;max-width:100%;min-width:0;vertical-align:middle}
.st-ed-ttl{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-ed-pill{display:inline-flex;flex:none}
.st-ed-grid{display:grid;grid-template-columns:minmax(0,1fr) 372px;align-items:start;gap:24px;padding:20px 24px 40px}
.st-ed-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.st-ed-aside{align-self:stretch;min-width:0}
.st-ed-sticky{position:sticky;top:20px;display:flex;flex-direction:column;gap:12px}
.st-sec{padding:18px 20px;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04),inset 0 0 0 1px var(--hair)}
.st-sec-h{display:flex;align-items:center;gap:10px;min-height:30px;margin-bottom:14px;flex-wrap:wrap}
.st-sec-h h3{margin:0;font-size:16px;font-weight:700;color:var(--ink);letter-spacing:-.005em}
.st-sec-h .st-slot{display:contents}
.st-sub{margin-top:20px}
.st-sub-h{margin:0 2px 9px;font-size:13px;font-weight:600;color:var(--sub)}
.st-sec-foot{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-top:12px}
.st-save{min-width:84px}
.st-save.saved,.st-save.saved[disabled]{background:transparent;color:var(--ok);opacity:1;cursor:default}
.st-save.saved .ic{width:17px;height:17px}
.st-in-title{font-size:17px;font-weight:600}
.st-warn-note{margin-inline-end:auto;font-size:12.5px;color:var(--warn)}
.st-tag-int{display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:8px;background:var(--bg2);color:var(--sub);font-size:11.5px;font-weight:600}
.st-tag-int .ic{width:12px;height:12px}

/* נראות */
.st-visbox{display:block}
.st-vis-seg{display:flex;width:100%}
.st-vis-seg button{flex:1;justify-content:center}
.st-vis-seg button[aria-busy=true]{opacity:.55}
.st-vis-from{display:flex;align-items:flex-start;gap:8px;margin-top:10px}
.st-vis-from .st-dt{flex:1;min-width:0}
.st-vis-status{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:13.5px;color:var(--sub)}
.st-vis-dot{flex:none;width:8px;height:8px;border-radius:50%;background:#c7c7cc}
.st-vis-status.on{color:var(--text)}
.st-vis-status.on .st-vis-dot{background:var(--ok-strong)}
.st-vis-status.at .st-vis-dot{background:var(--warn-strong)}

/* רעיון */
.st-ideahead{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.st-sw{gap:9px}
.st-appr{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:13px;font-size:12.5px;font-weight:600;white-space:nowrap}
.st-appr .ic{width:15px;height:15px}
.st-appr.ok{background:var(--ok-bg);color:var(--ok)}
.st-appr.re{background:var(--warn-bg);color:var(--warn)}
.st-appr.wait{background:var(--bg2);color:var(--sub)}
.st-appr.muted{padding:0 4px;background:transparent;color:var(--sub)}
textarea.fld.st-idea-ta{min-height:96px}
textarea.fld.st-note-ta{min-height:64px}

/* אריחי מדיה */
.st-tiles{--tw:112px;display:flex;flex-wrap:wrap;gap:10px}
.st-tile{position:relative;display:flex;flex-direction:column;gap:6px;width:var(--tw)}
.st-tile-th{position:relative;display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:12px;background:var(--bg2);color:var(--sub);box-shadow:inset 0 0 0 1px rgba(0,0,0,.05);transition:transform .15s,box-shadow .15s}
.st-tile-th:hover{box-shadow:0 4px 14px rgba(0,0,0,.12)}
.st-tile-th:active{transform:scale(.98)}
.st-tile-th img{display:block;width:100%;height:100%;object-fit:cover}
.st-tile-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;pointer-events:none}
.st-tile-play .ic{width:30px;height:30px;filter:drop-shadow(0 1px 5px rgba(0,0,0,.45))}
.st-tile-dur{position:absolute;bottom:6px;left:6px;padding:1px 6px;border-radius:6px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:600}
.st-tile-idx{position:absolute;top:6px;right:6px;display:flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:rgba(255,255,255,.92);color:var(--ink);font-size:12px;font-weight:700;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.st-tile-tools{position:absolute;top:6px;left:6px;display:flex;gap:4px;opacity:0;transition:opacity .15s}
.st-tile:hover .st-tile-tools,.st-tile:focus-within .st-tile-tools{opacity:1}
.st-tb-i{position:relative;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.95);color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.16);transition:background .12s,transform .1s}
.st-tb-i::after{content:"";position:absolute;inset:-6px}
.st-tb-i:active{transform:scale(.94)}
.st-tb-i .ic{width:16px;height:16px}
.st-tb-i.del{color:var(--err)}
.st-tb-i[aria-busy=true]{opacity:.5}
.st-tile-addwrap{width:var(--tw)}
.st-tile-add{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:100%;aspect-ratio:4/5;border:1.5px dashed #c7c7cc;border-radius:12px;color:var(--sub);font-size:13px;font-weight:600;transition:border-color .15s,background .15s,color .15s}
.st-tile-add:hover,.st-tile-add.st-drop{border-color:var(--ink);background:#fafafa;color:var(--ink)}
.st-tile-add .ic{width:22px;height:22px}
.st-tile-addwrap.big,.st-tile-add.big{width:100%;height:150px;aspect-ratio:auto}
.st-tile-add.big{gap:8px;font-size:14px}
.st-vlabel{width:100%;height:30px;padding:0 8px;border:1px solid var(--line);border-radius:8px;outline:0;background:#fff;font-size:12.5px;transition:border-color .15s}
.st-vlabel:focus{border-color:#a8a8b0}
.st-vlabel:disabled{border-color:transparent;background:transparent;color:var(--sub);padding:0 2px}
.st-up .st-up-in{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;aspect-ratio:4/5;padding:10px;border-radius:12px;background:var(--bg2);color:var(--sub)}
.st-up .ic{width:20px;height:20px}
.st-up-name{max-width:100%;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap;direction:ltr}
.st-up-track{position:relative;width:80%;height:4px;overflow:hidden;border-radius:2px;background:rgba(0,0,0,.09)}
.st-up-bar{display:block;width:0;height:100%;border-radius:2px;background:var(--ink);transition:width .25s}
.st-up:not(.prog) .st-up-bar{width:38%!important;animation:st-indet 1.1s ease-in-out infinite}
.st-up-pct{min-height:14px;font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums}
@keyframes st-indet{0%{transform:translateX(130%)}100%{transform:translateX(-270%)}}
.st-avprog .st-up-bar{width:8%}

/* רפרנסים */
.st-refs .sh-refs{padding-inline:0}
.st-ref-add{display:flex;align-items:center;gap:8px;margin-top:10px}
.st-ref-ic{display:inline-flex;flex:none;color:var(--sub)}
.st-ref-ic .ic{width:18px;height:18px}
.st-ref-in{flex:1;min-width:0;height:38px;font-size:14px}
.st-refpend{margin-top:8px}
.st-refpend:empty{display:none}

/* תוצר */
.st-vbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.st-vtabs{display:flex;gap:6px;flex:1;flex-wrap:wrap;min-width:0}
.st-vtab{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 14px;border-radius:17px;background:var(--bg2);color:var(--sub);font-size:14px;font-weight:600;transition:background .15s,color .15s}
.st-vtab:hover{color:var(--ink)}
.st-vtab.on{background:var(--ink);color:#fff}
.st-vtab-sent{display:inline-flex}
.st-vtab-sent .ic{width:13px;height:13px}
.st-version{display:flex;flex-direction:column;gap:12px;padding:14px;border-radius:14px;background:#fafafc;box-shadow:inset 0 0 0 1px var(--hair)}
.st-version.locked{background:#fff}
.st-vhead{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.st-vstat{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:600}
.st-vstat .ic{width:15px;height:15px}
.st-vstat.sent{color:var(--ok)}
.st-vstat.draft{color:var(--sub)}
.st-fmt button{height:30px;padding:0 12px;font-size:13px}
.st-fmt button[disabled]{opacity:.35;cursor:default}
textarea.fld.st-vnote{min-height:48px;font-size:14px;background:#fff}
textarea.fld.st-vnote:disabled{background:transparent;border-color:transparent;padding:0 2px;min-height:0;resize:none;color:var(--sub)}
.st-vacts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.st-apbar{display:flex;align-items:center;gap:9px;padding:12px 14px;border-radius:14px;font-size:14px;line-height:1.35}
.st-apbar .ic{flex:none;width:20px;height:20px}
.st-apbar b{font-weight:700}
.st-apbar.ok{background:var(--ok-bg);color:var(--ok)}
.st-apbar.re{background:var(--warn-bg);color:var(--warn)}
.st-apbar.fix{background:var(--err-bg);color:var(--err)}
.st-apbar.wait{background:#fff;color:var(--sub);box-shadow:inset 0 0 0 1px var(--hair)}
.st-pv{overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04),inset 0 0 0 1px var(--hair)}
.st-pv .sh-ig-feed{border:0}
.st-pv .sh-ig-reel,.st-pv .sh-ig-story{padding:12px;display:flex;justify-content:center;background:#fff}
.st-pv-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;height:300px;border:1.5px dashed #d1d1d6;border-radius:18px;background:#fff;color:var(--sub);font-size:14px;font-weight:500}
.st-pv-empty-ic{display:inline-flex;color:#c7c7cc}
.st-pv-empty-ic .ic{width:32px;height:32px}

/* פעולות */
.st-sec-acts{padding:4px 2px;background:transparent;box-shadow:none}
.st-acts{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* צפייה במדיה */
.st-viewer-sheet .sheet-body{display:flex;align-items:center;justify-content:center;padding:0;background:#000}
.st-viewer{display:flex;align-items:center;justify-content:center;width:100%}
.st-viewer video,.st-viewer img{display:block;max-width:100%;max-height:78vh;margin:0 auto}

/* ---------- משתמשים ---------- */
.st-users{max-width:880px}
.st-uh{display:flex;align-items:center;gap:12px;margin-bottom:26px}
.st-usec{margin-bottom:32px}
.st-usec-h{display:flex;align-items:center;gap:8px;margin:0 4px 10px;font-size:13px;font-weight:600;color:var(--sub)}
.st-ulist{overflow:hidden;background:#fff;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04),inset 0 0 0 1px var(--hair)}
.st-ulist-empty{padding:14px 16px;font-size:14px;color:var(--faint)}
.st-urow{display:flex;align-items:center;gap:12px;width:100%;min-height:66px;padding:10px 16px;border-bottom:1px solid var(--hair);text-align:right;transition:background .12s}
.st-urow:last-child{border-bottom:0}
.st-urow:hover{background:#fafafb}
.st-urow:active{background:var(--bg2)}
.st-urow.off .av,.st-urow.off .st-urow-main{opacity:.55}
.st-urow-main{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.st-urow-n{display:flex;align-items:center;gap:6px;font-size:15px;font-weight:600;color:var(--ink)}
.st-urow-me{padding:2px 7px;border-radius:8px;background:var(--bg2);color:var(--sub);font-size:11px;font-weight:700}
.st-urow-e{overflow:hidden;font-size:13px;color:var(--sub);text-align:right;text-overflow:ellipsis;white-space:nowrap}
.st-urow-end{display:flex;align-items:center;gap:8px;flex:none}
.st-urow-last{min-width:132px;font-size:12.5px;color:var(--faint);text-align:left}
.st-urow-chev{display:inline-flex;color:#c7c7cc}
.st-urow-chev .ic{width:18px;height:18px}
.st-ugroup{margin-bottom:16px}
.st-ugroup-h{display:flex;align-items:center;gap:8px;margin:0 4px 8px;font-size:14.5px;font-weight:600;color:var(--ink)}
.st-ugroup-n{white-space:nowrap}

/* ---------- פעילות ---------- */
.st-act{display:flex;flex-direction:column;gap:2px;margin:-6px -8px}
.st-act-row{position:relative;display:flex;align-items:flex-start;gap:12px;width:100%;padding:12px 10px;border-radius:12px;text-align:right;transition:background .12s}
button.st-act-row:hover{background:var(--bg2)}
.st-act-row.unread{background:#f7f9fc}
.st-act-main{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0}
.st-act-t{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px;font-size:14.5px;color:var(--text)}
.st-act-t b{font-weight:700;color:var(--ink)}
.st-act-a.ok{font-weight:600;color:var(--ok)}
.st-act-a.fix{font-weight:600;color:var(--err)}
.st-act-q{margin-top:2px;padding:8px 11px;border-radius:12px;background:var(--bg2);font-size:14px;color:var(--text);white-space:pre-wrap;overflow-wrap:anywhere}
.st-act-row.unread .st-act-q{background:#fff;box-shadow:inset 0 0 0 1px var(--hair)}
.st-act-m{display:flex;gap:8px;font-size:12.5px;color:var(--sub)}
.st-act-item{max-width:70%;overflow:hidden;font-weight:600;color:var(--text);text-overflow:ellipsis;white-space:nowrap}
.st-act-dot{flex:none;width:9px;height:9px;margin-top:7px;border-radius:50%;background:var(--accent)}

/* ---------- גיליונות מובייל, תפריט ---------- */
.st-pick-list{display:flex;flex-direction:column;gap:2px;margin:-4px -6px}
.st-pick-list .st-cl,.st-pick-list .st-side-new{height:52px;font-size:16px}
.st-pick-list .st-cl.on{background:var(--bg2);box-shadow:none}
.st-menu{display:flex;flex-direction:column;margin:-4px -6px}
.st-menu-i{display:flex;align-items:center;gap:14px;height:52px;padding:0 12px;border-radius:12px;color:var(--ink);font-size:16px;font-weight:500;transition:background .12s}
.st-menu-i .ic{width:21px;height:21px;color:var(--sub)}
.st-menu-i:hover,.st-menu-i:active{background:var(--bg2)}
.st-menu-i.danger,.st-menu-i.danger .ic{color:var(--err)}
.st-menu-me{display:flex;align-items:center;gap:10px;margin-top:8px;padding:14px 12px 6px;border-top:1px solid var(--hair);font-size:14px;color:var(--sub)}

/* ---------- תצוגת לקוח ---------- */
.st-pvw-sheet .sheet-body{background:#f5f5f7}
.st-pvw-tag{padding:3px 10px;border-radius:10px;background:var(--bg2);color:var(--sub);font-size:13px;font-weight:600}
.st-pvw-box{max-width:1100px;min-height:60vh;margin:0 auto;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05),inset 0 0 0 1px var(--hair)}
.st-pvw-list{max-width:640px;margin:0 auto;overflow:hidden;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 1px var(--hair)}

/* ---------- מסכים בינוניים ---------- */
@media (max-width:1180px){
  .st-ed-grid{grid-template-columns:minmax(0,1fr) 320px;gap:18px;padding:18px}
  .st-ch{flex-wrap:wrap}
  .st-ch-actions{width:100%;justify-content:flex-start}
}
@media (max-width:1100px) and (min-width:761px){
  .st-tr{grid-template-columns:48px 150px 0 minmax(0,1fr) 120px 80px 64px}
  .st-td.c-type{display:none}
}

/* ---------- מובייל ---------- */
@media (max-width:760px){
  .st-app{display:block;height:auto}
  .st-side{display:none}
  .st-body{display:block}
  .st-top{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:2px;height:calc(54px + var(--safe-t));padding:var(--safe-t) max(8px,env(safe-area-inset-right)) 0 max(6px,env(safe-area-inset-left));background:rgba(255,255,255,.84);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid rgba(0,0,0,.07)}
  .st-pick{display:flex;align-items:center;gap:9px;min-width:0;max-width:64%;height:44px;padding:0 6px;border-radius:12px;color:var(--ink);transition:background .12s}
  .st-pick:active{background:var(--bg2)}
  .st-pick-name{min-width:0;overflow:hidden;font-size:17px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
  .st-pick-chev{position:relative;display:inline-flex;color:var(--sub)}
  .st-pick-chev .ic{width:17px;height:17px}
  .st-pick-dot{position:absolute;top:-2px;left:-3px;width:8px;height:8px;border-radius:50%;background:var(--err-strong);box-shadow:0 0 0 2px #fff}
  .st-tb{position:relative;width:44px;height:44px}
  .st-tb .ic{width:23px;height:23px}
  .st-tb-badge{position:absolute;top:4px;left:3px;min-width:18px;height:18px;padding:0 5px;font-size:10.5px;box-shadow:0 0 0 2px #fff}
  .st-main{overflow:visible}
  .st-page{padding:10px 16px calc(44px + var(--safe-b))}
  .st-ch{display:none}
  .st-bar{position:static;flex-wrap:wrap;gap:10px;margin:0;padding:2px 0 0;background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
  .st-month{justify-content:center;width:100%}
  .st-mnav{width:44px;height:44px}
  .st-mname{min-width:0;padding:0 6px;font-size:19px}
  .st-thismonth[disabled]{display:none}
  .st-viewseg{display:flex;width:100%}
  .st-viewseg button{flex:1;justify-content:center;height:36px;padding:0 8px}
  .st-scope,.st-filters{flex-wrap:nowrap;overflow-x:auto;margin-left:-16px;margin-right:-16px;padding:0 16px 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .st-scope::-webkit-scrollbar,.st-filters::-webkit-scrollbar{display:none}
  .st-scope{margin-top:14px}
  .st-sc,.st-fchip{flex:none}
  .st-fchip{height:36px;padding:0 13px}
  .st-filters{margin-top:10px}
  .st-view{margin-top:14px}

  /* רשימה ככרטיסים */
  .st-th{display:none}
  .st-tr{grid-template-columns:44px minmax(0,1fr) auto auto;grid-template-rows:auto auto;row-gap:3px;min-height:68px;padding:8px 12px 8px 4px;padding-inline:4px 12px}
  .st-td{padding:0 4px}
  .st-td.c-cb{grid-row:1/span 2;grid-column:1}
  .st-td.c-title{grid-row:1;grid-column:2}
  .st-td.c-date{grid-row:2;grid-column:2;font-size:13px;color:var(--sub)}
  .st-td.c-stage{grid-row:1;grid-column:3/span 2;justify-content:flex-end}
  .st-td.c-vis{grid-row:2;grid-column:3;justify-content:flex-end}
  .st-td.c-cm{grid-row:2;grid-column:4;justify-content:flex-end}
  .st-td.c-cm:empty{display:none}
  .st-td.c-type{display:none}
  .st-bulk{position:fixed;right:10px;left:10px;bottom:calc(10px + var(--safe-b));flex-wrap:wrap;width:auto;margin:0;padding:8px;padding-inline-start:14px;border-radius:18px}
  .st-bulk-n{flex:1}
  .st-bulk-acts{order:3;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:2px}
  .st-bulk-b{flex-direction:column;justify-content:center;gap:4px;height:58px;padding:4px 2px;font-size:11.5px;line-height:1.15;white-space:normal;text-align:center}
  .st-bulk-b .ic{width:20px;height:20px}
  .st-bulk-x{width:44px;height:44px}

  /* סטטוסים */
  .st-board{grid-auto-columns:84%;margin:0 -16px;padding:0 16px 14px;scroll-snap-type:x mandatory;scroll-padding:0 16px}

  /* עורך */
  .st-ed-main{padding:12px 12px calc(30px + var(--safe-b));gap:12px}
  .st-sec{padding:16px 14px;border-radius:16px}
  .st-sec-h{margin-bottom:12px}
  .st-ideahead{width:100%;justify-content:space-between}
  .st-grid2{grid-template-columns:minmax(0,1fr)}
  .st-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .st-tile,.st-tile-addwrap{width:auto}
  .st-tile-tools{opacity:1}
  .st-tb-i{width:32px;height:32px}
  .st-vtab{height:40px}
  .st-pv{margin:0 -2px}
  .st-pv-empty{height:220px}
  .st-ref-in{height:44px}
  .st-tin{min-width:146px}
  .st-vis-from{flex-wrap:wrap}
  .st-vis-from .btn{width:100%}

  /* יעדי מגע */
  .is-staff .btn{height:46px}
  .is-staff .btn.sm{height:42px;padding:0 14px}
  .is-staff .seg button{height:40px}
  .is-staff .chip{height:36px}
  .is-staff .sheet .icon-btn{width:44px;height:44px}
  .st-cb{width:44px;height:44px}
  .st-stepper{height:44px}
  .st-step{width:44px;height:44px}
  .st-num{height:44px}
  .st-cl{height:48px}
  .st-urow-last{display:none}
  .st-uh h1{display:none}
  .st-uh{justify-content:flex-end;margin-bottom:18px}
  .st-uh .btn span{display:inline}
  .st-act-row{padding:12px 8px}
}
