/* Sysora 0.7 — one visual system for every screen and dialog */
:root{--green:#087c73;--green-soft:#e4f6ef;--ink:#172f45;--muted:#53697e;--line:#dce5ed;--bg:#f1f5fa;--amber:#92530a;--navy:#142f48;--blue:#1f5eaa;--purple:#6945b7;--shadow:0 5px 22px #183a5c08;--radius:20px}
body{font-family:"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5;background:radial-gradient(ellipse at 100% 0,#dff1ee80,transparent 38%),var(--bg);color:var(--ink)}
button,input,select{font-family:inherit}button{border-radius:11px;min-height:38px;padding:9px 13px;border-color:#d4e0e9;color:#29445c;font-weight:600;font-size:13px;box-shadow:0 1px 2px #193c5f04;gap:7px}button:hover{background:#eaf1f8;border-color:#93afc5;box-shadow:0 3px 9px #173c6210}button:active{transform:translateY(1px)}button:disabled{opacity:.48;box-shadow:none}button svg{width:17px;height:17px;stroke-width:1.8}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #2689cf;outline-offset:3px}
button.primary,button[data-tone=primary]{background:linear-gradient(125deg,#087f77,#08645f);border-color:#08645f;color:white;box-shadow:0 4px 10px #087c7324}button.primary:hover,button[data-tone=primary]:hover{background:#075b57;border-color:#075b57;box-shadow:0 5px 15px #087c7338}
button[data-tone=blue]{color:#205ea3;background:#edf5ff;border-color:#d2e3f8}button[data-tone=blue]:hover{background:#dfeeff;border-color:#8db9e6}button[data-tone=purple]{color:#6540a8;background:#f3eefa;border-color:#e3d7f5}button[data-tone=purple]:hover{background:#e9def9;border-color:#bda4e1}button[data-tone=green]{color:#087356;background:#e9f7f0;border-color:#cbe8d8}button[data-tone=green]:hover{background:#d5f0e1;border-color:#83c5a7}button[data-tone=amber]{color:#87550b;background:#fff6e7;border-color:#f1dfbc}button[data-tone=amber]:hover{background:#ffedca;border-color:#dcb972}button.danger,button[data-tone=red]{color:#ae3f48;background:#fff1f2;border-color:#f2d5d8}button.danger:hover,button[data-tone=red]:hover{background:#ffe0e4;border-color:#dc9ca5}button.quiet{box-shadow:none}button.quiet[data-tone]{border-style:solid}
svg{stroke-width:1.8}.ui-icon{overflow:visible}header{border-bottom:1px solid #dbe6ed;background:#ffffffed;box-shadow:0 3px 20px #15384e06;backdrop-filter:blur(18px)}.top{max-width:1580px;padding:17px 30px;gap:24px;flex-wrap:nowrap}.brand{gap:11px;font-size:20px;letter-spacing:1.6px;color:var(--navy)}.brand-icon{width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,#108d80,#0d4f68);box-shadow:0 5px 12px #07786c25;color:white;font-size:26px}.brand small{font-size:12px;color:var(--muted);margin-top:0}.user{padding-right:15px;border-right:1px solid var(--line);font-size:13px;color:#314b61}.user small{color:#62768a;font-size:11px;margin-top:2px}.avatar{width:37px;height:37px;background:#e9eff8;color:#31577b;font-weight:700;border:2px solid white;box-shadow:0 0 0 1px #d9e4ee}
nav{gap:4px;min-width:0;scrollbar-width:thin}nav button{min-height:43px;border-radius:12px;font-size:13px;color:#546b80;padding:10px 12px;font-weight:600;box-shadow:none;border:1px solid transparent;position:relative}nav button:hover{background:#eef4f9;border-color:#e0e8f1;box-shadow:none}nav button.active{background:#e6f4ef;border-color:#c5e4d9;color:#07675f;box-shadow:inset 0 -3px 0 #0c8e7c}nav button.active svg{stroke-width:2.1}nav button[data-nav=groups] svg,nav button[data-nav=programs] svg{color:#7753b5}
main{max-width:1580px;padding:23px 30px 70px}.demo{border:1px solid #d9e5ed;border-radius:11px;padding:9px 13px;background:#ffffffb8;color:#53687c;font-size:12px;margin-bottom:26px;box-shadow:0 2px 5px #25415c03}.demo-dot{width:7px;height:7px;background:#be852b;box-shadow:0 0 0 4px #fff2da}.version{font-size:11px;color:#4e6c84;background:#eaf0f7;padding:3px 9px;border-radius:6px;font-weight:700;font-variant-numeric:tabular-nums}
.title-row{gap:20px;margin-bottom:25px}.title-identity{display:flex;align-items:center;gap:16px;min-width:0}.page-icon{height:53px;width:53px;flex-shrink:0;border-radius:17px;display:grid;place-items:center;color:#087d73;background:#dff2eb;border:1px solid #cce7df;box-shadow:0 4px 12px #17766309}.page-icon svg{width:26px;height:26px;stroke-width:1.7}body[data-screen=groups] .page-icon,body[data-screen=programs] .page-icon{background:#ede6fb;border-color:#dfd2f7;color:#6945b7}body[data-screen=status] .page-icon,body[data-screen=schedules] .page-icon{background:#e5effd;border-color:#d3e3f8;color:#2767af}body[data-screen=history] .page-icon{background:#fff1d8;border-color:#efe0bf;color:#9b6417}.eyebrow{font-size:10px;letter-spacing:.8px;color:#52758a;font-weight:700;margin-bottom:2px}h1{font-size:29px;line-height:1.3;letter-spacing:-.65px;margin:0 0 5px;color:#19364e;font-weight:750}h2{color:#1c3b54;font-size:19px;font-weight:700}p.sub{color:#536e83;font-size:13px;line-height:1.6}.title-row>.primary{min-height:43px;padding:11px 17px;font-size:13px}
.overview{gap:9px;margin-bottom:22px;color:#35556d;font-size:12px}.overview>span{background:#fff;border:1px solid #dce6ee;border-radius:9px;padding:8px 12px;min-height:35px;display:inline-flex;align-items:center;gap:5px}.overview>span.muted{border-style:dashed;background:transparent}.overview>.badge.good{background:#e3f4ec;border-color:#c0e3d4;color:#076c52}.badge{font-weight:650;font-size:11px;padding:6px 10px;border-radius:8px;background:#edf2f8;color:#425f79}.badge.good{background:#e0f4e9;color:#08694f}.badge.warn{background:#fff0cd;color:#86500b}.muted{color:var(--muted)}
.sheet,.filters,.settings-section,.copy-destinations{border:1px solid #d9e3ed;border-radius:var(--radius);box-shadow:var(--shadow);background:#fff}.sheet-head{padding:18px 22px;background:linear-gradient(100deg,#f7fbfd,#fff);border-bottom-color:#e1e9f0;color:#436078;font-size:13px;gap:12px}.sheet-head b,.sheet-head h2{font-weight:700;color:#284961}.groups-sheet .sheet-head{background:linear-gradient(100deg,#f7f3ff,#fbfaff)}.groups-sheet{margin-bottom:23px}.groups-sheet .sheet-head b{color:#6748a3}.sheet-head input{border:1px solid #d4e0ea;background:#f8fafc;border-radius:10px;font-size:12px;width:230px;min-height:36px}
.switch-row{grid-template-columns:minmax(170px,1fr) minmax(145px,.9fr) minmax(630px,3.8fr);gap:16px;padding:19px 21px;border-bottom:1px solid #e9eff4;border-right:3px solid transparent;position:relative}.switch-row[data-state=on]{border-right-color:#14a17f}.switch-row[data-state=mixed]{border-right-color:#bc8c37}.switch-row:hover{background:#f8fbfd}.switch-row[data-group]:hover{background:#fbf9ff}.switch-name{gap:12px}.switch-name strong{font-size:14px;font-weight:700;color:#203e55}.switch-name small{font-size:11px;color:#5c7285;gap:5px;flex-wrap:wrap;margin-top:6px;line-height:1.6}.switch-icon{width:38px;height:38px;border-radius:12px;background:#edf2f7;color:#688196;border:1px solid #e0e7ee}.switch-icon.on{background:#dff4e9;color:#07836a;border-color:#bee5d4}.switch-icon svg{width:21px;height:21px}.switch-row[data-group] .switch-icon{background:#f0eafb;color:#7651b3;border-color:#e3d7f3}.entity-state{font-size:10px;font-weight:700;background:#edf2f6;border-radius:5px;padding:2px 6px;color:#52677b}.entity-state.state-on{background:#ddf4e9;color:#057054}.switch-row[data-state=mixed] .entity-state{background:#fff0d1;color:#916010}.next small{font-size:10px;color:#647d92;font-weight:600;margin-bottom:5px}.next strong{font-size:12px;color:#3b5b73;line-height:1.6}.timed-note{color:#8b5c12;background:#fff3d9;padding:3px 7px;border-radius:5px;display:inline-block;font-size:10px;margin-top:6px}
.switch-row>.actions{grid-column:auto;padding:0;gap:6px}.actions button{font-size:11px;min-height:34px;padding:7px 9px;gap:5px}.actions svg{width:15px;height:15px}.power-pair{gap:0;border-radius:10px;overflow:hidden;border:1px solid #d7e4e8}.power-pair button{border-radius:0!important;border:0!important;background:#f9fbfc!important;min-height:34px}.power-pair button:last-child{border-right:1px solid #d7e4e8!important}.power-pair button[data-tone=green].chosen{background:#0b8471!important;color:#fff!important}.power-pair button[data-tone=red].chosen{background:#edf1f6!important;color:#4a6277!important}.power-pair button[data-tone=red]:hover{background:#ffe7eb!important}.mode-select{font-size:11px;font-weight:600;padding:7px 9px;min-height:34px;border-radius:10px;background:#f3f7fb;max-width:126px;border-color:#d7e2eb}.mode-select.override{background:#fff2d9;color:#81550b;border-color:#ecd39a}.row-head{background:#f8fafc;color:#5d748a;font-size:11px;font-weight:650;padding-top:12px;padding-bottom:12px;border-right:3px solid transparent}
.filters{padding:21px;gap:20px;margin-bottom:18px;background:linear-gradient(130deg,#fff,#fbfdff)}.field{font-size:12px;font-weight:600;gap:8px;color:#35546d}.field-label{color:#35546d;font-size:12px;font-weight:650}input,select{min-height:40px;border-color:#cedce7;border-radius:10px;font-size:13px;background:#fbfcfe;color:#253f56;padding:10px 12px}input:hover,select:hover{border-color:#96b0c5}input:focus,select:focus{background:#fff;border-color:#4496bf}input[type=checkbox],input[type=radio]{min-height:0;accent-color:#087c73}input[type=checkbox]{width:16px;height:16px;border-radius:4px}input[type=radio]{accent-color:#087c73}.chip{padding:8px 11px;border:1px solid #d8e3ec;border-radius:9px;font-size:12px;color:#455e75;min-height:34px;gap:7px;background:#fff;font-weight:500}.chip:hover{background:#f1f6fb;border-color:#b3c8d9}.chip:has(input:checked){background:#e3f4ed;color:#086b57;border-color:#8ccab5;box-shadow:inset 0 0 0 1px #b3dfce}.group-chip:has(input:checked){background:#eee7fb;color:#6945b7;border-color:#bba6dd}.chip input{width:14px;height:14px}.day-filters{border-color:#e0e9f1;padding-top:17px}.day-button{border-radius:9px;min-height:35px}.day-button.active{background:#e3f4ed;border-color:#9fcebb;color:#076b59}.list-toolbar{padding:0 4px;color:#536c82;font-size:12px;margin:18px 0}.list-toolbar>.field{flex-direction:row;align-items:center;gap:10px}.list-toolbar>.field select{min-height:36px;font-size:12px;padding:7px 10px}.checkline{font-size:12px;line-height:1.6;color:#3d576e}.checks{gap:8px}
.schedule-table{font-size:13px}.schedule-table th{background:#eef4f9;font-weight:650;font-size:12px;color:#44627c;padding:14px 18px;border-bottom:1px solid #d5e2ec}.schedule-table td{padding:16px 18px;color:#35516a;border-bottom-color:#e6edf3;vertical-align:middle;line-height:1.7}.schedule-table tbody tr:nth-child(even){background:#fbfcfe}.schedule-table tbody tr:hover{background:#f0f7fc}.schedule-table time{font-size:15px;font-weight:700;color:#244967;font-variant-numeric:tabular-nums}.schedule-table td button{min-height:32px;font-size:11px;padding:6px 9px;border-radius:9px;gap:5px}.schedule-table td button svg{height:14px;width:14px}.schedule-table tr.paused{opacity:1;background:#f3f5f8}.schedule-table tr.paused td{color:#6c7f90}.schedule-table tr.paused time{color:#6c7f90}.cell-note{color:#61788b;font-size:11px}.inline-days summary{color:#1f6499;font-size:11px;font-weight:600}.inline-days .checks{background:#fff;box-shadow:0 3px 12px #1b42670c;border:1px solid #d6e4ee;border-radius:11px;padding:10px}.inline-days .chip{font-size:11px;min-height:29px;padding:5px 7px}.history-result{color:#365870;font-size:12px;overflow-wrap:anywhere}
.management-row{padding:21px 23px;border-color:#e5edf3;gap:18px}.management-row:hover{background:#f8fbfd}.management-row b{font-size:15px;color:#25455e;font-weight:700}.management-row small{font-size:12px;color:#5e768b;margin-top:5px}.managed-identity{display:grid;grid-template-columns:42px 1fr;column-gap:13px;align-items:center}.managed-identity>.entity-avatar{grid-column:1;grid-row:1/3}.managed-identity>b,.managed-identity>small{grid-column:2}.entity-avatar{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:#e9eff8;color:#3f6fa0}.entity-avatar.purple{background:#efe8fa;color:#7651b3;border:1px solid #e1d7f3}.entity-avatar svg{width:21px;height:21px}.channel-label{gap:14px}.drag-handle{border:1px dashed #c5d4e2;border-radius:10px;background:#f4f8fc;color:#7895ad;width:37px;min-height:37px;font-size:22px;box-shadow:none}.management-row[data-sort-channel]:nth-child(even){background:#fbfdff}.management-row[data-sort-channel]:hover{background:#f0f7fc}.management-row .actions{padding:0;gap:7px;flex-wrap:wrap}
.program-row{grid-template-columns:minmax(160px,1fr) minmax(180px,1.1fr) minmax(360px,1.9fr);padding:25px 23px;border-color:#e5edf3;gap:24px;position:relative}.program-row.is-active{background:linear-gradient(100deg,#fff,#f0faf5);border-right:4px solid #159c7d}.program-name{gap:12px}.program-name strong{font-size:16px;color:#23435c}.program-name .switch-icon{height:42px;width:42px;border-radius:14px;background:#f0eafa;color:#7651b3;border-color:#e1d8f0}.program-name .switch-icon.on{background:#dff3e9;color:#0a8066;border-color:#c3e4d5}.program-name small{color:#5e7588;font-size:12px}.program-when{font-size:13px;color:#34576e}.program-when small{color:#657d91;font-size:11px}.program-actions{gap:7px;justify-content:flex-start}.program-actions button{font-size:11px;padding:7px 10px;min-height:34px}.program-actions svg{height:15px;width:15px}.settings-row{padding:18px 23px;border-color:#e7eef5;gap:22px}.settings-row>b{font-size:12px;background:#e9f1fa;color:#2e628f;border:1px solid #d6e5f2;padding:6px 9px;border-radius:7px;width:max-content}.settings-row .checkline{font-size:12px}.group-settings-row{padding:19px 23px;border-color:#e5edf3}.group-settings-row small{color:#5e758a;font-size:12px}.settings-section{padding:25px;margin-bottom:23px}.settings-section h2{font-size:18px;border-bottom:1px solid #e4ecf3;padding-bottom:14px}.note-box{background:#eaf2fa;border:1px solid #d6e5f2;color:#385e7b;border-radius:12px;font-size:12px;padding:15px 19px;line-height:1.9}.action-desc{font-size:12px;color:#587189}.solar-summary{background:#e6f5ef;border:1px solid #cae7da;border-radius:11px;color:#226a52;padding:15px 17px;font-size:13px}.simulation-clock{background:linear-gradient(110deg,#eaf4fe,#f5faff);border-color:#d0e3f4;border-radius:15px;padding:16px 21px;color:#285b83}.simulation-clock b{font-size:13px;color:#285b83}.simulation-clock small{font-size:12px;color:#52718b}.simulation-clock .inline-actions{flex-wrap:wrap;gap:7px}.simulation-clock button{min-height:33px;font-size:11px;background:#ffffffb8;border-color:#c6dced;color:#355e82}.temporary-banner{border-radius:15px;background:linear-gradient(110deg,#fff5df,#fffcf4);border-color:#ecd6a9;padding:17px 21px;color:#855b16}.temporary-banner b{font-size:14px}.temporary-banner button{min-height:34px;font-size:12px}.copy-destinations{padding:25px;margin-top:23px}.copy-destinations h2{font-size:19px}.copy-row{padding:17px 22px}.copy-row:has(input:checked){background:#eaf7f1;border-right:3px solid #11967a}.copy-row>input{margin-left:6px}.copy-row span{font-size:13px}.copy-row small{font-size:11px}.copy-destinations .step-title{color:#3e5e77;font-size:13px}
.status-controls{background:white;border:1px solid #dce6ee;border-radius:16px;padding:17px 19px;gap:12px;box-shadow:var(--shadow)}.status-controls .field{min-width:145px}.status-controls>button{min-height:40px}.status-controls>.checkline{margin-right:auto;align-self:center;max-width:250px}.timeline-scroll{border-radius:20px;border:1px solid #d1e0eb;box-shadow:var(--shadow)}.timeline-header{background:#edf4fa}.lane-name{background:#f1f6fb;border-left-color:#d3e1ec;color:#355d7a;font-size:12px;font-weight:650;padding:18px 15px}.timeline-scale{height:79px}.scale-day{border-color:#d0dfe9}.scale-day b{font-size:12px;color:#355975;padding-top:15px}.scale-day small{color:#58748b;font-size:11px}.lane-track{height:90px;border-color:#e3ecf3;background:linear-gradient(0deg,#fff,#fcfdff)}.gridline{background:#e6edf4}.event-line{min-height:0;min-width:12px;border-radius:2px;box-shadow:none;transition:none;transform:translateX(-4px);padding:0;height:23px;font-weight:600}.event-line:hover{box-shadow:0 0 0 4px #deebf477}.event-line span{font-size:10px;color:inherit;background:#ffffffeb;border-radius:4px;line-height:1.2}.now-line{width:2px;background:#2379bb}.now-line small{background:#2379bb;color:white;padding:3px 5px;border-radius:4px;left:3px;font-size:9px}.timeline-legend{font-size:12px;gap:18px;background:#ffffffb0;border:1px solid #e0e9f1;border-radius:12px;padding:12px 17px}.legend-on{color:#087356}.legend-off{color:#b93c49}.legend-transition{color:#6945b7}.legend-duplicate{color:#8e5704}.legend-clash{color:#a71f3e}
dialog{border:1px solid #d4e2ed;border-radius:23px;width:min(860px,94vw);max-height:91vh;box-shadow:0 25px 100px #102e5140;background:#fff}dialog::backdrop{background:#102b4877;backdrop-filter:blur(5px)}.dialog-header{padding:22px 26px;background:linear-gradient(120deg,#193b55,#122e45);border:0;gap:14px}.dialog-header h2{color:#fff;font-size:20px;font-weight:650}.dialog-header .quiet{color:#dae8f1;background:#ffffff12;border:1px solid #ffffff29;border-radius:10px;min-height:35px;width:35px;padding:5px}.dialog-header .quiet:hover{background:#ffffff26}.dialog-body{padding:25px 27px}.dialog-footer{padding:18px 26px;border-color:#dbe6ee;background:#f6f9fc;box-shadow:0 -5px 15px #1c405605;gap:14px}.dialog-footer small{color:#526e85;font-size:11px}.dialog-footer .footer-actions{gap:8px}.dialog-footer button{min-height:38px}.edit-top{background:#edf4fa;border-color:#d9e5ee;padding:12px 26px;gap:8px}.edit-top button{min-height:33px;font-size:11px;padding:7px 10px}.step{background:#f9fbfd;border:1px solid #e1eaf2;border-radius:16px;padding:19px;margin-bottom:17px}.step-title{font-size:14px;color:#274c69;gap:10px;margin-bottom:17px}.step-number{width:27px;height:27px;border-radius:9px;background:#dfeefb;border:1px solid #c9dff1;color:#27649a;font-size:12px;font-weight:700}.target-type label,.action-type label{border-color:#d4e1eb;border-radius:11px;background:white;padding:11px 20px;font-size:13px}.target-type label:has(input:checked),.action-type label:has(input:checked){background:#e4f4ed;border-color:#88c6b1;color:#086b56;box-shadow:inset 0 0 0 1px #b9e2d3}.program-context{border-radius:11px;background:#eee9f8;color:#66439f;padding:12px 16px;font-size:12px;border:1px solid #dfd5ef;margin-bottom:20px}.program-context .muted{color:#76618e}.summary{background:#e5f5ed;border:1px solid #c8e6d7;color:#256a51;border-radius:13px;padding:17px;font-size:13px}.confirm-list{background:#fbfdff;border-color:#dce6ef;border-radius:14px;padding:18px;font-size:13px}.error{background:#fff0f0;color:#a33142;border:1px solid #f0ced4;border-radius:11px;font-size:13px;padding:13px 16px}.command-block{border-color:#d9e5ed;border-radius:13px;padding:17px;background:#fff}.same-settings{background:#e9f4fb;border:1px solid #d5e7f4;border-radius:10px;padding:12px;color:#365d78}.add-off-check{background:#eaf4fb;border:1px solid #d1e4f3;border-radius:11px;color:#2d5c7d;padding:14px}.quick-dates button{min-height:31px;font-size:11px;padding:5px 12px}.choice{border-radius:13px;border-color:#d4e1eb;font-size:14px;background:white}.choice:has(input:checked){background:#e3f4ec;border-color:#8fc9b3}.hebrew-resolved{color:#1d705e;font-size:12px}.target-grid .chip{padding:12px;font-size:12px;border-radius:10px}.empty{color:#59738b;font-size:14px;padding:52px 25px;line-height:1.9}.bottom-note{font-size:11px;color:#59748a;padding:18px 4px;line-height:1.8}.bottom-note svg{vertical-align:middle;color:#6596ad}.section-divider{border-color:#d9e4ed}.group-tag{color:#7653ab;font-size:10px;background:#f0eafb;border-radius:5px;width:max-content;padding:2px 6px}#toast{background:#14394f;border:1px solid #29556d;border-radius:14px;padding:15px 21px;color:#fff;box-shadow:0 9px 30px #122f4930;font-size:13px;line-height:1.7}
@media(min-width:1550px){.switch-row{grid-template-columns:minmax(190px,1fr) minmax(175px,.9fr) minmax(700px,3.8fr)}.actions button{font-size:12px}.top{gap:30px}nav button{font-size:14px}}
@media(max-width:1180px){.top{flex-wrap:wrap;gap:15px;padding:14px 24px}nav{order:3;flex-basis:100%;justify-content:flex-start}nav button{font-size:13px;min-height:40px;padding:9px 14px}.user{margin-right:auto}.switch-row{grid-template-columns:minmax(180px,1fr) minmax(160px,1fr);gap:13px}.switch-row>.actions{grid-column:1/-1;justify-content:flex-start;padding-right:49px;gap:7px}.row-head{display:none}.next{text-align:left}.program-row{grid-template-columns:1fr 1fr}.program-actions{grid-column:1/-1}.program-row{gap:17px}.title-row{margin-bottom:22px}}
@media(max-width:760px){main{padding:16px 14px 45px}.top{padding:12px 15px;gap:12px}.brand{font-size:18px;gap:9px}.brand-icon{width:37px;height:37px;font-size:23px;border-radius:12px}.brand small{font-size:10px}.user{font-size:11px;padding-right:12px}.user small{font-size:10px}.avatar{width:31px;height:31px}nav{gap:3px;padding-top:2px;scrollbar-width:none}nav button{font-size:12px;padding:10px 12px;min-height:40px;flex-shrink:0}nav button svg{width:16px;height:16px}.demo{font-size:10px;padding:8px 10px;margin-bottom:21px}.title-identity{gap:11px}.page-icon{height:43px;width:43px;border-radius:14px}.page-icon svg{width:22px;height:22px}.eyebrow{font-size:9px}h1{font-size:23px;letter-spacing:-.4px}.title-row{gap:12px;align-items:flex-start}.title-row>.primary{min-height:39px;padding:8px 12px;font-size:11px;gap:5px}.title-row>.primary svg{height:15px;width:15px}p.sub{font-size:12px;line-height:1.7}.overview{gap:7px;font-size:11px}.overview>span{padding:7px 9px;border-radius:9px}.sheet,.filters,.copy-destinations,.settings-section{border-radius:17px}.sheet-head{padding:15px;font-size:12px;gap:9px}.sheet-head input{width:155px;min-height:35px}.switch-row{grid-template-columns:minmax(125px,1fr) 125px;padding:17px 13px;gap:13px}.switch-icon{width:34px;height:34px;border-radius:10px}.switch-name{gap:9px}.switch-name strong{font-size:13px}.switch-name small{font-size:10px}.next small{font-size:10px}.next strong{font-size:11px}.switch-row>.actions{padding:0;gap:7px}.actions button{font-size:11px;min-height:38px;padding:8px 10px}.power-pair button{min-height:38px}.mode-select{font-size:11px;min-height:38px;max-width:127px}.management-row{padding:17px 15px;gap:15px}.management-row .actions{width:100%;justify-content:flex-start}.management-row small{font-size:11px}.management-row b{font-size:14px}.managed-identity{column-gap:11px}.entity-avatar{width:37px;height:37px;border-radius:11px}.filters{padding:17px;grid-template-columns:1fr;gap:18px}.chip{font-size:11px;min-height:34px;padding:8px 9px}.day-filters{grid-column:auto;gap:7px}.list-toolbar{gap:12px}.list-toolbar>.field{gap:7px;font-size:11px}.list-toolbar>.field select{font-size:11px;max-width:210px}.program-row{grid-template-columns:1fr;padding:20px 17px;gap:17px}.program-actions{grid-column:auto;gap:7px}.program-actions button{font-size:11px;min-height:37px}.program-name strong{font-size:15px}.program-when{font-size:12px}.settings-row{padding:16px 15px;grid-template-columns:65px 1fr;gap:12px}.settings-row .checkline{grid-column:2}.settings-row input{max-width:100%}.settings-row.row-head{display:none}.settings-section,.copy-destinations{padding:20px 17px}.settings-section h2{font-size:17px}.settings-section .form-grid{grid-template-columns:1fr 1fr}.settings-section .inline-actions{flex-wrap:wrap}.simulation-clock{padding:15px;border-radius:13px;gap:11px}.simulation-clock .inline-actions{gap:6px}.simulation-clock button{min-height:34px;padding:7px 9px}.simulation-clock b{font-size:12px}.temporary-banner{padding:15px}.status-controls{padding:15px;border-radius:14px;gap:10px}.status-controls .field{min-width:0;width:calc(50% - 5px)}.status-controls>.checkline{width:100%;max-width:none;margin-right:0}.timeline-legend{font-size:11px;gap:10px;padding:12px}.lane-name{width:110px;font-size:11px;padding:14px 10px}.timeline-scroll{border-radius:15px}.lane-track{height:90px}.schedule-table th,.schedule-table td{padding:14px 13px}.schedule-table{font-size:12px}.schedule-table td button{min-height:34px}.copy-row{padding:15px;align-items:flex-start}.copy-row span{font-size:12px}.copy-row>input{margin-top:5px}dialog{border-radius:19px;width:95vw;max-height:92vh}.dialog-header{padding:18px}.dialog-header h2{font-size:18px}.dialog-body{padding:19px 16px}.dialog-footer{padding:15px 16px}.dialog-footer .footer-actions{width:100%;flex-wrap:wrap}.dialog-footer button{font-size:12px}.edit-top{padding:12px 16px;gap:6px}.edit-top button{font-size:11px}.step{padding:15px;border-radius:13px}.step-title{font-size:13px}.form-grid,.form-grid.two{grid-template-columns:1fr 1fr}.time-parts{grid-template-columns:1fr 1fr}.target-grid{grid-template-columns:1fr 1fr}.target-grid .chip{font-size:11px;padding:11px 9px}.target-type label,.action-type label{padding:11px 16px;font-size:12px}.hebrew-date-grid{gap:8px}.hebrew-date-grid select{padding:9px 7px}.note-box{padding:13px 15px;font-size:11px}.action-desc{font-size:11px}.summary{padding:14px;font-size:12px}.timed-options{gap:9px}.choice{font-size:12px;padding:15px}.bottom-note{font-size:10px}#toast{left:14px;right:14px;bottom:16px;max-width:none;font-size:12px}}
@media(prefers-reduced-motion:no-preference){button,input,select,.chip{transition:background-color .15s,border-color .15s,box-shadow .15s,transform .12s}.sheet{animation:surface-in .22s ease-out}@keyframes surface-in{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:none}}.event-line{animation:none;transition:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.occasion-tree{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:15px 0}.occasion-family{border:1px solid #d8e4ed;border-radius:12px;background:#fff;overflow:hidden;align-self:start}.occasion-family:has(input:checked){border-color:#a7d1bf}.occasion-family-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;background:#f6f9fc}.occasion-family-head>label{display:flex;align-items:center;gap:9px;flex:1;cursor:pointer;font-size:13px;min-height:28px}.occasion-family-head b{color:#35556e;font-weight:650}.occasion-count{font-size:10px;border-radius:6px;background:#e8eff6;color:#4d708d;padding:2px 6px;margin-right:auto}.occasion-expand{width:29px!important;min-height:29px!important;padding:3px!important;border-radius:8px!important;background:#eaf2fa!important;border-color:#d4e2ee!important;color:#50789b!important;box-shadow:none!important}.occasion-expand svg{width:14px;height:14px;transform:rotate(180deg)}.occasion-expand[aria-expanded=true] svg{transform:rotate(-90deg)}.occasion-children{padding:12px;border-top:1px solid #e0e9f1;display:flex;flex-wrap:wrap;gap:7px}.occasion-children .chip{font-size:11px;min-height:32px;padding:7px 9px}.occasion-exclusions{margin-top:15px;border:1px solid #e7d8b4;background:#fffcf6;padding:12px 14px;border-radius:11px}.occasion-exclusions>summary{font-size:12px;color:#8b621c;cursor:pointer;font-weight:600}.occasion-exclusions .occasion-family-head{background:#fff9ef}@media(max-width:600px){.occasion-tree{grid-template-columns:1fr}.occasion-family-head{padding:11px 12px}.occasion-family-head>label{min-height:32px}.occasion-expand{min-height:32px!important;width:32px!important}}
.schedule-table tr.conflict-duplicate,.schedule-table tr.conflict-duplicate:nth-child(even){background:#fff2d6!important}.schedule-table tr.conflict-duplicate td:first-child{border-right:4px solid #d28a16}.schedule-table tr.conflict-clash,.schedule-table tr.conflict-clash:nth-child(even){background:#ffe5e9!important}.schedule-table tr.conflict-clash td:first-child{border-right:4px solid #c24459}.schedule-table tr.conflict-clash:hover{background:#ffd8df!important}.schedule-table tr.conflict-duplicate:hover{background:#ffe9ba!important}.collision-badge{display:flex;align-items:center;gap:5px;width:max-content;font-size:10px;font-weight:700;margin-top:7px;border-radius:6px;padding:3px 7px;background:#ffe0a0;color:#885103}.collision-badge.clash{background:#fac0ca;color:#922b40}.collision-badge svg{height:12px;width:12px}.collision-key{display:flex;gap:8px;flex-wrap:wrap;font-size:11px}.collision-key span{border-radius:6px;padding:4px 8px;background:#fff0d0;color:#815316}.collision-key span+span{background:#ffe1e6;color:#99394c}.end-mode{display:grid;grid-template-columns:1fr 1.3fr;gap:14px;margin:18px 0}.until-badge{display:inline-block;background:#fff0d1;color:#855512;border-radius:6px;padding:4px 7px;margin-top:6px;font-size:11px}.transition-filters{grid-template-columns:1fr}.occasion-next{background:#eaf5ee;border:1px solid #c8e3d3;border-radius:10px;padding:12px 15px;font-size:13px;color:#366f52}@media(max-width:600px){.end-mode{grid-template-columns:1fr}.collision-key{width:100%}}
.event-line.blocked{border-color:#91a1ad;color:#6e8293;background:#e9eef2}.switch-name strong{font-size:15px}.next strong{font-size:13px}.actions button{font-size:12px;min-height:36px}.power-pair button{min-height:36px}nav button[data-tone]{color:inherit;background:transparent;border-color:transparent}@media(max-width:1480px){.top{flex-wrap:wrap;gap:13px 20px}nav{order:3;flex-basis:100%;overflow-x:auto;scrollbar-width:none}nav button{padding:9px 14px;min-height:40px}.user{margin-right:auto}}@media(max-width:760px){.switch-name strong{font-size:14px}.next strong{font-size:11px}.actions button{font-size:11px;min-height:39px}.power-pair button{min-height:39px}nav button{padding:9px 12px}}
.program-color-picker{display:flex;align-items:center;gap:5px;font-size:10px;color:#60798d;margin-right:auto;cursor:pointer}.program-color-picker input{width:27px;height:27px;min-height:0;padding:2px;border-radius:8px;border:1px solid #cbdbe7;background:#fff;cursor:pointer}.program-color-picker input::-webkit-color-swatch-wrapper{padding:0}.program-color-picker input::-webkit-color-swatch{border:0;border-radius:5px}.program-row .program-name .switch-icon{background:color-mix(in srgb,var(--program-color) 13%,white);color:var(--program-color);border-color:color-mix(in srgb,var(--program-color) 25%,white)}.program-row.is-active{border-right-color:var(--program-color)}.compact-status-controls{display:flex;align-items:center;gap:9px;padding:14px 17px}.status-range{display:flex;gap:2px;padding:4px;background:#edf3f9;border:1px solid #dae5ef;border-radius:12px}.status-range button{background:transparent;border:0;box-shadow:none;min-height:33px;font-size:12px;padding:7px 17px;color:#59758d}.status-range button.selected{background:#153e56;color:white;box-shadow:0 2px 5px #16394c25;border-radius:9px}.compact-status-controls .status-date-field{display:block;min-width:0;font-size:0}.status-date-field input{font-size:13px;min-height:38px;width:150px;padding:8px 10px}.compact-status-controls>button{min-height:37px;padding:8px 11px}.status-date-caption{font-size:12px;color:#466982;margin-right:auto}.status-scroll{border-radius:19px;margin-top:20px;background:#fff}.status-board{direction:rtl}.status-axis-row,.status-chart-row{display:flex;direction:rtl}.status-device-cell{position:sticky;right:0;width:150px;flex-shrink:0;background:#f1f6fb;border-left:1px solid #d6e3ed;z-index:6;display:flex;align-items:center;gap:7px;padding:13px 12px;color:#335c78;font-size:12px}.status-device-cell b{font-size:12px;font-weight:650;overflow-wrap:anywhere}.status-axis-row .status-device-cell{font-weight:650;height:80px}.status-axis{position:relative;height:80px;background:#edf4fa;flex-shrink:0}.status-day{position:absolute;top:0;height:100%;border-left:1px solid #ccdce8;text-align:center}.status-day b{font-size:12px;display:block;padding-top:13px;color:#3c5e77}.status-day small{position:absolute;bottom:11px;color:#688197;font-size:10px;transform:translateX(50%)}.status-track{position:relative;height:66px;border-top:1px solid #dfe9f1;flex-shrink:0;background:#fff}.status-track.editable-status-track{cursor:crosshair;background:linear-gradient(#fcfdff,#fff)}.status-chart-row:hover .status-track{background:#f7fbfe}.status-chart-row .status-device-cell{border-top:1px solid #dfe9f1}.status-grid-line{position:absolute;top:0;bottom:0;width:1px;background:#e1eaf2;pointer-events:none}.status-band{position:absolute;top:16px;height:34px;min-height:0!important;min-width:0!important;border:0!important;border-radius:6px;background:var(--band-color)!important;color:var(--band-text)!important;font-size:11px;font-weight:650;box-shadow:0 2px 4px #2439490c!important;overflow:hidden;white-space:nowrap;padding:5px 8px!important;cursor:pointer;z-index:2;justify-content:center;transform:none!important}.status-band:hover{filter:brightness(1.06);outline:2px solid #ffffffaa;outline-offset:-3px}.status-band.manual-band{background:repeating-linear-gradient(135deg,var(--band-color) 0,var(--band-color) 9px,color-mix(in srgb,var(--band-color) 66%,white) 9px,color-mix(in srgb,var(--band-color) 66%,white) 16px)!important}.program-track{height:62px;background:#fafcff}.program-cell{background:#e9f1f9}.program-cell svg{height:16px;width:16px}.program-band{position:absolute;top:13px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:color-mix(in srgb,var(--band-color) 17%,white);color:color-mix(in srgb,var(--band-color) 75%,#142b41);border-top:3px solid var(--band-color);font-size:11px;font-weight:700;overflow:hidden;white-space:nowrap;padding:4px 6px;pointer-events:none}.status-event{position:absolute;top:9px;bottom:9px;height:48px;min-height:0!important;min-width:11px!important;width:11px;border:0!important;border-right:3px solid #079f68!important;padding:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transform:translateX(5px)!important;cursor:ew-resize;touch-action:none;z-index:4;transition:none!important}.status-event.off{border-right-color:#df4b55!important}.status-event:hover{filter:drop-shadow(0 0 3px #28765199)}.status-mode-event{position:absolute;top:8px;right:0;height:44px;min-height:0!important;min-width:10px!important;max-width:95px;padding:4px 7px!important;transform:translateX(50%);border:2px solid white!important;border-radius:7px!important;background:var(--marker-color)!important;color:white!important;font-size:10px!important;white-space:nowrap;overflow:hidden;box-shadow:0 2px 7px #12314518!important;z-index:4;touch-action:none;cursor:ew-resize}.status-track .now-line{z-index:5;pointer-events:none;background:#2379bb;width:2px;top:0;bottom:0}.status-track .now-line small{left:auto;right:3px;white-space:nowrap}.status-power{width:25px;min-width:25px;min-height:26px!important;padding:4px!important;border-radius:7px!important;margin-right:auto;background:#ffffff!important;border-color:#cfdfeb!important;color:#4d7998!important;box-shadow:none!important}.status-power svg{width:13px;height:13px}.device-state-dot{height:6px;width:6px;background:#a4b3c0;border-radius:50%;flex-shrink:0}.device-state-dot.on{background:#159c78;box-shadow:0 0 0 3px #def4ea}.status-program-legend{display:flex;align-items:center;flex-wrap:wrap;gap:12px 17px;padding:16px 8px;font-size:12px;color:#4a687f}.status-program-legend>span{display:flex;align-items:center;gap:7px}.status-program-legend i{display:inline-block;height:11px;width:22px;border-radius:4px}.status-program-legend small{font-size:11px;display:block;width:100%;color:#5c778b}.status-line-key:before{content:'';height:14px;width:3px;background:#079f68}.status-line-key.off:before{background:#df4b55}@media(max-width:760px){.compact-status-controls{padding:12px;gap:7px}.status-range button{padding:6px 12px;font-size:11px}.compact-status-controls .status-date-field{width:auto}.status-date-field input{width:138px;font-size:12px;min-height:36px}.status-date-caption{width:100%;font-size:11px;margin-right:0}.status-device-cell{font-size:11px;padding:11px 9px}.status-device-cell b{font-size:11px}.status-band{font-size:10px!important}.status-program-legend{gap:10px;font-size:11px}}
.program-name{flex-wrap:wrap;gap:10px}.status-device-cell b{min-width:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}.status-axis-row .status-device-cell{line-height:1.5}
.compact-filter-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:#fff;border:1px solid #dbe5ef;border-radius:15px;padding:12px 15px;margin:0 0 18px;box-shadow:var(--shadow)}.filter-bar-icon{height:33px;width:30px;color:#708a9e;display:grid;place-items:center;margin-left:3px}.filter-trigger{min-height:35px;padding:7px 12px;border:1px solid #d5e2ec;border-radius:10px;background:#fbfdff;color:#405f78;font-size:13px;gap:10px;font-weight:600}.filter-trigger:hover,.filter-trigger[aria-expanded=true]{border-color:#8db8ce;background:#edf6fc}.filter-trigger.is-filtered{background:#e9f4f0;border-color:#b2d5c8;color:#226a55}.filter-trigger>b{height:18px;min-width:18px;display:grid;place-items:center;border-radius:5px;background:#d4ebe0;color:#26664e;font-size:10px;padding:0 4px}.filter-chevron{display:flex;color:#7a94a7}.filter-chevron svg{width:12px;height:12px;transform:rotate(-90deg)}.filter-trigger[aria-expanded=true] .filter-chevron svg{transform:rotate(90deg)}.reset-filter-button{margin-right:auto;padding:6px!important;min-height:32px!important;width:32px;background:transparent;border-color:transparent;color:#7d94a5}.multi-filter-popover{position:fixed;z-index:60;display:flex;flex-direction:column;direction:rtl;background:white;border:1px solid #c9dce9;border-radius:15px;box-shadow:0 12px 45px #163b5b29;overflow:hidden;color:#284961}.multi-filter-head{display:flex;align-items:center;gap:10px;padding:14px 16px 10px}.multi-filter-head b{font-size:14px}.multi-filter-head small{font-size:10px;color:#7b93a5;margin-right:auto}.multi-filter-search{min-height:35px;margin:0 12px 8px;padding:7px 10px;border-radius:9px;font-size:12px}.multi-filter-all,.multi-filter-options>label{display:flex;align-items:center;gap:9px;padding:10px 15px;font-size:12px;cursor:pointer;line-height:1.6}.multi-filter-all{background:#eef5fa;border-top:1px solid #e0eaf2;border-bottom:1px solid #e0eaf2;font-weight:650}.multi-filter-options{overflow-y:auto;min-height:35px;max-height:300px;padding:4px 0}.multi-filter-options>label:hover{background:#eff7fb}.multi-filter-options>label:has(input:checked){color:#176c55;background:#f2f9f5}.multi-filter-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-top:1px solid #dfeaf2;font-size:11px;color:#40718d;background:#f8fbfe;gap:10px}.multi-filter-footer small{font-size:10px;color:#7c91a2}.compact-destination-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.multi-filter-popover input[type=checkbox]{width:15px;height:15px;flex-shrink:0}@media(max-width:760px){.compact-filter-bar{gap:6px;padding:10px;border-radius:12px}.filter-trigger{font-size:12px;padding:8px 10px;min-height:36px;gap:7px}.filter-bar-icon{width:20px}.multi-filter-options>label,.multi-filter-all{padding:12px 15px}.multi-filter-footer{font-size:11px;flex-wrap:wrap}}
.field{min-width:0}.field>input,.field>select{width:100%}.title-identity .page-icon{align-self:flex-start;margin-top:8px}@media(max-width:760px){.form-grid,.form-grid.two,.time-parts,.settings-section .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hebrew-date-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.target-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.title-identity{min-width:0}.title-row{align-items:flex-start}.title-identity .page-icon{margin-top:10px}}
.editable-program-context{flex-wrap:wrap;gap:10px}.editable-program-context select{width:auto;min-width:160px;max-width:270px;flex:1;min-height:35px;padding:7px 11px;background:#fff;color:#604199;border-color:#cdbfe7;font-weight:650;font-size:13px}.editable-program-context small{font-size:11px;color:#6e5b88;margin-right:auto}@media(max-width:600px){.editable-program-context select{min-width:130px;max-width:none}.editable-program-context small{width:100%;margin-right:0}}
.occasion-children.chol-branches{display:flex;flex-direction:column;gap:9px;padding:10px;background:#f9fbfd}.occasion-subfamily{width:100%;border:1px solid #dce7ee;border-radius:10px;overflow:hidden;background:white}.occasion-subfamily .occasion-family-head{background:#eef5fb;padding:9px 10px}.occasion-subfamily .occasion-family-head b{font-size:12px}.chol-israel-note{display:block;font-size:10px;line-height:1.7;color:#607c91;padding:2px 4px}.legacy-occasion-selection{grid-column:1/-1;display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:#607c91;padding:10px;border:1px dashed #cfdee9;border-radius:9px}

.status-now-label{position:absolute;bottom:0;transform:translateX(50%);background:#2379bb;color:#fff;padding:3px 5px;border-radius:4px 4px 0 0;font-size:10px;z-index:5;white-space:nowrap;pointer-events:none}

.actions .power-toggle{min-width:83px;border-radius:10px}.actions .power-toggle[data-tone=green]{background:#e4f6ef;color:#08765e;border-color:#b4ded0}.actions .power-toggle[data-tone=red]{background:#fff0f1;color:#b63848;border-color:#efc9cf}

.timed-target-picker{margin:0 0 20px;padding:15px;border:1px solid #cfdfeb;border-radius:14px;background:#f6faff}.timed-target-picker summary{font-weight:700;color:#285675;cursor:pointer}.timed-target-picker>.checkline{margin:12px 0}.timed-target-picker .checks{gap:7px}.timed-target-picker .action-desc{display:block;margin-top:10px}

.copy-source-row{display:grid;grid-template-columns:24px minmax(145px,.9fr) minmax(110px,.65fr) minmax(190px,1.25fr) minmax(250px,1.6fr);align-items:center;gap:0;padding:18px 20px;border-bottom:1px solid #dde8eb;border-inline-start:4px solid var(--copy-accent);background:var(--copy-bg);cursor:pointer;transition:box-shadow .15s,background .15s;--copy-accent:#138b6a;--copy-bg:#f0faf5;--copy-soft:#d7f1e4;--copy-ink:#086348}.copy-source-row.copy-off{--copy-accent:#d35767;--copy-bg:#fff4f5;--copy-soft:#f8dce1;--copy-ink:#aa3044}.copy-source-row:last-child{border-bottom:0}.copy-source-row:hover{background:color-mix(in srgb,var(--copy-soft) 55%,white)}.copy-source-row.is-selected{box-shadow:inset 0 0 0 2px var(--copy-accent);background:color-mix(in srgb,var(--copy-soft) 65%,white)}.copy-source-row.is-paused{opacity:.66}.copy-check{display:flex;align-items:center}.copy-source-row input{accent-color:var(--copy-accent);width:18px;height:18px}.copy-action-zone,.copy-program-zone,.copy-target-zone,.copy-date-zone{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:0 17px}.copy-program-zone,.copy-target-zone,.copy-date-zone{border-inline-start:1px solid color-mix(in srgb,var(--copy-accent) 16%,transparent);min-height:72px;justify-content:center}.copy-action-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--copy-ink);background:var(--copy-soft);padding:5px 9px;border-radius:9px}.copy-action-badge svg{width:14px;height:14px}.copy-time{font-size:17px;color:#234861;line-height:1.35}.copy-state{font-size:10px;color:#647e89}.copy-field-label{font-size:11px;color:#567487;font-weight:700}.copy-program-pill{display:inline-flex;gap:6px;align-items:center;font-size:12px;font-weight:700;color:var(--copy-program-color);border:1px solid color-mix(in srgb,var(--copy-program-color) 25%,white);background:color-mix(in srgb,var(--copy-program-color) 10%,white);padding:7px 10px;border-radius:9px}.copy-program-pill svg{width:14px;height:14px}.copy-target-chips,.copy-day-chips{display:flex;gap:5px;flex-wrap:wrap}.copy-target-chips>span{font-size:12px;color:#254b68;background:#fff;border:1px solid #d7e4eb;border-radius:8px;padding:5px 8px}.copy-day-chips>span{font-size:11px;color:#3f6072;background:#ffffffb8;border:1px solid #d8e5e7;border-radius:7px;padding:4px 7px}.copy-day-chips .copy-occasion{line-height:1.6}.copy-exclusion{font-size:11px;color:#a24655}@media(max-width:1150px){.copy-source-row{grid-template-columns:24px 145px 115px minmax(150px,1fr)}.copy-date-zone{grid-column:2/-1;margin-top:14px;padding-top:12px;border-inline-start:0;border-top:1px solid #dce8e7;min-height:0}}@media(max-width:620px){.copy-source-row{grid-template-columns:24px minmax(115px,1fr) minmax(105px,1fr);padding:16px 12px}.copy-action-zone,.copy-program-zone,.copy-target-zone,.copy-date-zone{padding-inline:10px}.copy-target-zone{grid-column:2/-1;margin-top:13px;border-inline-start:0;min-height:0}.copy-date-zone{grid-column:2/-1}.copy-time{font-size:15px}.copy-action-badge{font-size:11px}}
.home-status-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding:12px 16px;background:#fff;border:1px solid #dce6ef;border-radius:16px}.home-status-controls input{font-size:13px;max-width:160px}.home-active-program{margin-inline-start:auto;padding:7px 13px;border-radius:10px;font-size:13px;font-weight:700;color:var(--program-color);background:color-mix(in srgb,var(--program-color) 10%,white);border:1px solid color-mix(in srgb,var(--program-color) 24%,white)}.home-status-sheet{margin-bottom:23px;overflow:hidden}.home-status-header,.home-status-row{display:grid;grid-template-columns:minmax(165px,.8fr) minmax(270px,1.25fr) minmax(340px,2.1fr);align-items:center;gap:18px;padding:0 20px}.home-status-header{height:59px;background:#f1f6fb;color:#6b8194;font-size:11px;font-weight:700;border-bottom:1px solid #dce7ef}.home-status-header>span{padding-inline:4px}.home-status-row{padding-block:15px;border-bottom:1px solid #e0e9f0;background:#fff;min-height:105px}.home-status-row:last-child{border:0}.home-status-row:hover{background:#fafcfe}.home-identity{display:flex;gap:11px;align-items:flex-start;min-width:0}.home-identity>div{min-width:0}.home-identity strong{display:block;font-size:14px;line-height:1.5;overflow-wrap:anywhere;color:#234c67}.home-power{width:37px;height:37px;min-height:37px;min-width:37px;border-radius:12px;padding:8px;background:#edf2f7;border:1px solid #d1dfea;color:#638399;box-shadow:none}.home-power.on{background:#098b73;color:#fff;border-color:#098b73;box-shadow:0 3px 9px #0c8b7325}.home-power.mixed{background:linear-gradient(135deg,#0d8a75 50%,#e4f3ed 50%);color:#174d43}.home-power svg{width:20px;height:20px}.home-state{font-size:11px;color:#81909d;display:block;margin-top:3px}.home-state.on{color:#078363}.home-state.mixed{color:#a36a1b}.home-next{display:block;color:#526f84;font-size:11px;line-height:1.5;margin-top:6px}.home-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.home-actions button{font-size:11px;min-height:33px;padding:7px 8px;border-radius:9px;background:#f8fbfd;border-color:#d7e3ec;color:#456c87;gap:5px}.home-actions button svg{width:13px;height:13px}.home-actions .override-active{background:#fff1d9;color:#966319;border-color:#e8c88f}.home-track-wrap{min-width:0;width:100%}.home-status-track.status-track{width:100%;height:66px;border:1px solid #dce7f0;border-radius:10px;overflow:visible;background:linear-gradient(#f9fcff,#f4f8fc)}.home-status-track .status-band{top:18px;height:28px;border-radius:5px!important;padding:0!important}.home-status-track .status-event{top:11px;bottom:11px;height:43px}.home-status-track .status-grid-line{background:#dae5ef}.home-status-track .now-line{z-index:5;border-radius:3px}.home-axis{height:57px;position:relative;width:100%}.home-axis-day{position:absolute;top:0;height:100%;text-align:center;border-inline-end:1px solid #d6e2ed}.home-axis-day>b{display:block;padding-top:8px;font-size:10px;color:#53778e}.home-axis-day>small{position:absolute;bottom:8px;font-size:9px;font-weight:400;color:#6d879a;transform:translateX(50%)}.home-mobile-axis{display:none}.home-status-sheet .sheet-head h2{margin:0;font-size:16px}.home-status-sheet .sheet-head input{width:180px;font-size:12px}.override-choices{display:flex;flex-wrap:wrap;gap:10px}.home-clock-now{font-size:12px;color:#2776a9;margin-inline-start:4px}@media(min-width:1700px){.home-actions{max-width:380px}.home-status-header,.home-status-row{grid-template-columns:minmax(170px,.8fr) minmax(320px,1.3fr) minmax(420px,2.1fr)}}@media(max-width:1050px){.home-status-header,.home-status-row{grid-template-columns:180px minmax(0,1fr);gap:10px 20px}.home-status-header>span:nth-child(2){display:none}.home-actions{grid-column:1;grid-row:2}.home-track-wrap{grid-column:2;grid-row:1/3}.home-status-row{padding-block:18px}.home-identity{grid-column:1}.home-status-header{grid-template-columns:180px minmax(0,1fr)}.home-status-header>.home-axis{grid-column:2}.home-actions button{font-size:10px;padding:6px;min-height:31px}}@media(max-width:620px){.home-status-header{display:none}.home-status-row{grid-template-columns:1fr;gap:12px;padding:17px 14px}.home-identity{grid-column:1;grid-row:1}.home-identity strong{font-size:15px}.home-actions{grid-column:1;grid-row:2;gap:6px}.home-actions button{font-size:11px;padding:7px 8px;min-height:34px}.home-track-wrap{grid-column:1;grid-row:3}.home-mobile-axis{display:block;height:39px}.home-mobile-axis .home-axis{height:39px}.home-axis-day>b{padding-top:0;font-size:9px}.home-axis-day>small{bottom:3px}.home-status-track.status-track{height:62px}.home-status-sheet .sheet-head{padding:13px 14px}.home-status-controls{padding:10px;gap:6px}.home-status-controls .status-range button{font-size:11px;padding:7px 11px}.home-status-controls input{max-width:137px;padding:8px}.home-status-controls>button{padding:8px;min-height:34px}.home-active-program{font-size:11px}.home-next{font-size:11px}}
body:has(.home-status-sheet) main{max-width:none;padding:20px 24px 60px}body:has(.home-status-sheet) .top{max-width:none;padding-inline:24px}.home-status-header,.home-status-row{grid-template-columns:215px minmax(320px,390px) minmax(360px,1fr);gap:20px}.home-status-row{min-height:122px;padding-block:18px}.home-identity strong{font-size:18px;font-weight:700}.home-power{width:43px;height:43px;min-height:43px;min-width:43px;border-radius:13px}.home-state{font-size:13px}.home-next{font-size:13px;color:#3f637b}.home-actions{gap:8px}.home-actions button{font-size:14px;padding:9px 12px;min-height:41px;gap:6px}.home-actions button svg{width:16px;height:16px}.home-actions .home-override.override-auto{color:#4f6474!important;background:#eef3f7!important;border-color:#d6e1e9!important}.home-actions .home-override.override-on{color:#086d4c!important;background:#ddf5e8!important;border-color:#9ad1b5!important;font-weight:700}.home-actions .home-override.override-off{color:#b03447!important;background:#fde5e9!important;border-color:#e8aab7!important;font-weight:700}.home-actions .home-override.override-mixed{color:#8c5b12!important;background:#fff0d5!important;border-color:#e6c78c!important}.home-status-header{height:68px;font-size:13px}.home-axis{height:66px}.home-axis-day>b{font-family:Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.4;letter-spacing:normal;direction:rtl;white-space:nowrap;transform:none;padding-top:8px}.home-axis-day>small{font-family:Arial,sans-serif;font-size:12px;font-weight:500;line-height:1.2;bottom:10px;font-variant-numeric:tabular-nums;letter-spacing:0}.home-status-track.status-track{height:74px}.home-status-track .status-band{top:22px;height:30px}.home-status-track .status-event{top:13px;height:47px}.home-hours-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:700;color:#456a83}.home-hours-label select{font-size:14px;padding:8px 12px}.home-status-controls{font-size:14px}.home-clock-now{font-size:14px}.home-active-program{font-size:14px}.home-status-sheet .sheet-head h2{font-size:19px}@media(min-width:1700px){.home-status-header,.home-status-row{grid-template-columns:235px 440px minmax(600px,1fr)}}@media(max-width:1120px){.home-status-header,.home-status-row{grid-template-columns:210px minmax(0,1fr)}.home-actions{grid-column:1;grid-row:2}.home-actions button{font-size:13px;padding:8px 10px;min-height:39px}.home-track-wrap{grid-column:2;grid-row:1/3}.home-status-header>.home-axis{grid-column:2}.home-axis-day>small{font-size:11px}}@media(max-width:620px){body:has(.home-status-sheet) main{padding:16px 12px 45px}body:has(.home-status-sheet) .top{padding-inline:14px}.home-status-row{grid-template-columns:1fr;gap:14px;padding:18px 14px}.home-identity{grid-row:1}.home-actions{grid-column:1;grid-row:2}.home-track-wrap{grid-column:1;grid-row:3}.home-identity strong{font-size:18px}.home-actions button{font-size:13px;padding:9px 10px;min-height:40px}.home-mobile-axis{height:47px}.home-mobile-axis .home-axis{height:47px}.home-axis-day>b{font-size:12px;padding-top:0}.home-axis-day>small{font-size:10px;bottom:6px}.home-hours-label{font-size:12px}.home-hours-label select{font-size:12px;padding:8px}.home-status-controls{gap:7px}.home-next{font-size:13px}.home-state{font-size:13px}}
@media(min-width:621px) and (max-width:1120px){.home-status-header>span:nth-child(2){display:none}}

.home-actions select.home-override{font-size:14px;min-height:41px;padding:9px 12px;border-radius:9px;max-width:180px;cursor:pointer;font-weight:600}@media(max-width:620px){.home-actions select.home-override{font-size:13px;min-height:40px;padding:9px 10px}}

.weekday-selection-tools{display:flex;gap:7px;flex-wrap:wrap;flex-basis:100%;margin:0 0 9px}.weekday-selection-tools button{font-size:12px;padding:7px 11px;min-height:32px;background:#edf5fb;border:1px solid #cadfec;border-radius:8px;color:#285b7b}.multi-filter-popover .weekday-selection-tools{padding:0 14px;margin:5px 0 10px}.weekday-selection-tools button:last-child{background:#fff;color:#64778a;border-color:#d8e3ec}
.home-title-actions{display:flex;gap:9px;flex-wrap:wrap}.entity-history-table{min-width:650px}.entity-history-table td{font-size:13px}.history-action{display:inline-flex;padding:6px 11px;border-radius:9px;font-size:13px;font-weight:700;white-space:nowrap}.history-action.on{color:#087650;background:#e1f5e9}.history-action.off{color:#b03347;background:#fce6eb}.history-source{display:inline-flex;padding:5px 8px;border-radius:7px;background:#edf2fa;color:#496c89;font-size:12px}.history-outcome{color:#54758c;font-size:12px}.history-outcome.skipped{color:#9b6b23}.history-outcome.blocked,.history-outcome.failed{color:#bd3a4d}#freeCommandInput{width:100%;resize:vertical;min-height:100px;border:1px solid #c9dce9;border-radius:13px;background:#f9fcff;font:18px/1.8 Arial,sans-serif;padding:14px;color:#254b65}#freeCommandSuggestions{margin-top:10px;border:1px solid #d5e4ef;border-radius:12px;max-height:280px;overflow:auto;background:#fff;box-shadow:0 5px 18px #23445c0d}#freeCommandSuggestions button{width:100%;border:0;border-bottom:1px solid #edf2f6;border-radius:0;padding:11px 15px;display:flex;justify-content:space-between;gap:12px;color:#315d78;background:white}#freeCommandSuggestions button:last-child{border-bottom:0}#freeCommandSuggestions button:hover,#freeCommandSuggestions button.selected{background:#e6f4ee;color:#08765a}#freeCommandSuggestions small{font-size:11px;color:#7890a2}.free-command-preview h3{font-size:20px;color:#28536e;line-height:1.7}.free-command-preview p{color:#54768c;font-size:16px}#freeCommandError{margin-top:14px}@media(max-width:620px){.home-title-actions{gap:6px}.home-title-actions button{font-size:12px;padding:9px 10px}.entity-history-table{min-width:540px}.entity-history-table td{font-size:12px}#freeCommandInput{font-size:17px}}

.home-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;width:100%;max-width:none}.home-actions select.home-override{grid-column:span 2;max-width:none;width:100%;min-width:0}.home-actions>button:nth-child(2){grid-column:span 2}.home-actions>button{width:100%;min-width:0;font-size:13px;padding:9px 6px;justify-content:center;gap:5px}.home-actions>button svg{width:15px;height:15px}.home-actions>button:nth-child(n+3){background:#f5f9fc;color:#3c6682;border-color:#d5e2ec}.home-actions>button:nth-child(3){background:#fff7e9;border-color:#ead8b5;color:#8c661e}.home-actions>button:nth-child(4){background:#eef5ff;border-color:#cadcf5;color:#386ba0}@media(min-width:621px) and (max-width:1120px){.home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.home-actions select.home-override,.home-actions>button:nth-child(2){grid-column:auto}.home-actions select.home-override{font-size:11px;padding:9px 5px}.home-actions>button{font-size:12px;padding:8px 5px}}@media(max-width:620px){.home-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.home-actions>button{font-size:12px;padding:9px 4px;gap:4px}.home-actions>button svg{width:13px;height:13px}}

.schedule-free-entry{display:flex;justify-content:flex-start;margin-bottom:18px}.schedule-free-entry button{background:#edf5ff;border-color:#cbdff5;color:#315f90;padding:10px 16px;font-size:14px;border-radius:10px}
.guide-progress{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:25px}.guide-progress span{font-size:12px;padding:6px 10px;border-radius:8px;background:#f0f4f8;color:#8799a6}.guide-progress .active{background:#e3f3ee;color:#08775c;font-weight:700}.guide-progress .done{background:#e8f0fa;color:#50799e}.guide-question{font-size:24px;margin:5px 0 22px;color:#204c67}.guide-action-choices{display:grid;grid-template-columns:1fr 1fr;gap:15px}.guide-action-choices button{min-height:85px;font-size:21px;border-radius:15px;font-weight:700}.guide-action-choices button:first-child{background:#e5f6ed;color:#08764f;border-color:#b3dcc6}.guide-action-choices button:last-child{background:#ffedf0;color:#b63950;border-color:#ecc0ca}.guide-action-choices svg{width:23px;height:23px}.guide-mode-choices{display:flex;gap:8px;margin-bottom:22px}.guide-mode-choices button{flex:1;min-height:43px;background:#f5f8fc;color:#5d7a90}.guide-mode-choices .selected{background:#e5f3ed;border-color:#92cdb8;color:#087456;font-weight:700}#guidedTargetSearch{width:100%;font-size:17px;margin-bottom:16px}.guide-target-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:340px;overflow:auto}.guide-target-list label{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid #d5e3ef;background:#fafcff;border-radius:10px;cursor:pointer}.guide-target-list label:has(input:checked){background:#e8f5ee;border-color:#8fc8b2}.guide-target-list strong{font-size:14px}.guide-target-list small{font-size:11px;margin-inline-start:auto;color:#7d91a3}#guidedDayText{font-size:18px}#guidedError{margin-top:18px}@media(max-width:620px){.guide-target-list{grid-template-columns:1fr}.guide-progress span{font-size:10px;padding:6px 8px}.guide-question{font-size:22px}.guide-action-choices button{font-size:19px}.guide-mode-choices button{font-size:12px;padding:8px}}

/* Typed command conversation */
.command-conversation{display:flex;flex-direction:column;gap:12px;padding:8px 2px 24px;min-height:140px}
.conversation-question{align-self:flex-start;background:#e8f1fb;color:#183c59;border-radius:18px 18px 4px 18px;padding:12px 20px;font-size:18px;font-weight:700;max-width:85%}
.conversation-answer{align-self:flex-end;background:#087e76;color:white;border-radius:18px 18px 18px 4px;padding:12px 20px;font-size:18px;max-width:85%;overflow-wrap:anywhere}
.conversation-question.current{box-shadow:0 3px 12px #173f5912}
.conversation-entry{display:flex;gap:8px;align-items:center;border:2px solid #bad4e6;border-radius:18px;padding:7px;background:white}
.conversation-entry:focus-within{border-color:#07867c;box-shadow:0 0 0 3px #07867c14}
.conversation-entry input{flex:1;min-width:0;border:0!important;box-shadow:none!important;font-size:19px;background:transparent;padding:10px}
.conversation-entry button{flex-shrink:0;min-height:44px;border-radius:12px}
#conversationSuggestions{display:flex;flex-wrap:wrap;gap:7px;padding:12px 0}
#conversationSuggestions[hidden]{display:none}
#conversationSuggestions button{border-radius:20px;background:#f0f6fc;color:#224c6a;padding:8px 15px}
#conversationSuggestions button.selected{background:#d5eee7;border-color:#07867c}
#conversationError{margin-top:12px;color:#b42337}
@media(max-width:600px){.conversation-entry{gap:4px}.conversation-entry input{font-size:17px;padding:6px}.conversation-entry button{padding:10px}.conversation-question,.conversation-answer{font-size:17px}}

.inline-command-line{display:flex;gap:8px;align-items:center;padding:10px;border:2px solid #a7cbd8;border-radius:18px;background:#fff;min-height:72px}
.inline-command-line:focus-within{border-color:#07867c;box-shadow:0 0 0 4px #07867c12}
.inline-command-scroll{display:flex;align-items:center;gap:7px;flex:1;min-width:0;overflow-x:auto;padding:5px 0;scrollbar-width:thin}
.inline-command-token{white-space:nowrap;flex-shrink:0;border-radius:10px!important;background:#e1f2ed!important;color:#086e62!important;border:1px solid #acd7cb!important;padding:10px 13px!important;font-size:17px!important;font-weight:600}
.inline-command-input{min-width:180px;flex:1}
.inline-command-input input{width:100%;min-width:160px;border:0!important;box-shadow:none!important;background:transparent;font-size:19px;padding:10px 5px}
.inline-command-input input::placeholder{color:#648196;opacity:1}
.inline-command-line>button{flex-shrink:0;border-radius:12px;padding:10px}
@media(max-width:600px){.inline-command-line{padding:6px;gap:4px}.inline-command-token{font-size:16px!important}.inline-command-input{min-width:140px}.inline-command-input input{min-width:140px;font-size:17px}.inline-command-line>button{padding:8px}}

body:has(.home-status-sheet) main{padding-top:10px}@media(max-width:620px){body:has(.home-status-sheet) main{padding-top:8px}}

.home-groups-fold{margin-bottom:16px;border:1px solid var(--line);border-radius:15px;background:#fff;overflow:hidden}.home-groups-fold>summary{display:flex;align-items:center;gap:12px;padding:14px 20px;cursor:pointer;font-size:18px;font-weight:700;color:#244d65;list-style:none}.home-groups-fold>summary::-webkit-details-marker{display:none}.home-groups-chevron{font-size:24px;line-height:20px;transition:transform .15s}.home-groups-fold[open] .home-groups-chevron{transform:rotate(180deg)}.home-groups-fold>.home-status-sheet{margin:0;border:0;border-top:1px solid var(--line);border-radius:0}.home-groups-fold>summary:focus-visible{outline:3px solid #69bfb0;outline-offset:-3px}
.section-navigation{display:flex;gap:8px;align-items:center;margin-bottom:18px;border-bottom:1px solid #d5e2ec;padding-bottom:12px;flex-wrap:wrap}.section-navigation button{border-radius:12px;padding:10px 20px;font-weight:700}.section-navigation button.selected{background:#e0f2ed;color:#086d62;border-color:#9bcebf}

.home-program-row{background:#f4f8fc}.home-program-row .program-band{top:23px;height:30px;line-height:30px;font-size:13px;border-radius:6px;overflow:hidden;white-space:nowrap;text-align:center}.home-program-row .status-mode-event{top:10px;height:53px;z-index:4}.home-program-row .home-identity strong{font-size:17px}
.time-override-editor{margin-top:20px;border-top:1px solid #dfd8c7;padding-top:18px}.override-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.time-override-row{padding:16px;border:1px solid #bdd7e7;border-radius:14px;background:#f2f8fd;margin-top:12px}.time-override-row .time-parts{margin-top:16px}.time-override-row .field{margin-bottom:12px}
/* Program catalog v0.15 */
#modal.program-catalog-dialog{width:min(1180px,96vw);max-width:96vw}
.catalog-table-wrap{overflow:auto;max-height:64vh}.catalog-table{width:100%;border-collapse:collapse;font-size:14px}.catalog-table th,.catalog-table td{padding:12px 9px;border-bottom:1px solid #dce6e2;text-align:right;vertical-align:middle}.catalog-table thead th{position:sticky;top:0;background:#f3f8f6;z-index:1}.catalog-table td:nth-child(2),.catalog-table td:nth-child(3),.catalog-table td:nth-child(4){text-align:center}.catalog-table input{width:20px;height:20px;accent-color:#087c70}.catalog-table td>span{display:block;min-width:155px;margin-bottom:6px}.catalog-bulk{display:flex;gap:3px;margin-top:6px}.catalog-bulk button{font-size:11px;padding:5px;white-space:nowrap}.catalog-preview-row{padding:13px 0;border-bottom:1px solid #dce6e2;line-height:1.9}.catalog-table .cell-note{display:block;font-weight:400;color:#63766d}
@media(max-width:650px){#modal.program-catalog-dialog .dialog-body{padding:12px}.catalog-table th,.catalog-table td{padding:9px 6px}.catalog-table{font-size:13px}.catalog-table th:first-child{min-width:125px}.catalog-bulk{flex-direction:column}}
@media(max-width:650px){.catalog-table{display:block}.catalog-table thead{display:block}.catalog-table thead tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-table thead th{display:block;text-align:center;min-width:0!important}.catalog-table thead th:first-child,.catalog-table thead th:nth-child(n+5){display:none}.catalog-table tbody{display:block}.catalog-table tbody tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:12px 0;border:1px solid #dce6e2;border-radius:12px;overflow:hidden}.catalog-table tbody th{grid-column:1/-1;background:#f3f8f6}.catalog-table tbody td:nth-child(2)::before{content:'הוספה'}.catalog-table tbody td:nth-child(3)::before{content:'התחלה'}.catalog-table tbody td:nth-child(4)::before{content:'סיום וחזרה'}.catalog-table tbody td:nth-child(-n+4)::before{display:block;margin-bottom:7px}.catalog-table tbody td:nth-child(n+5){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:6px}.catalog-table tbody td:nth-child(5)::before{content:'התחלה:'}.catalog-table tbody td:nth-child(6)::before{content:'סיום:'}.catalog-table tbody td>span{min-width:0;margin:0;flex:1}.catalog-table-wrap{overflow-x:hidden}}
.catalog-start-list>div{display:flex;align-items:center;gap:8px;justify-content:space-between;padding:6px 0}.catalog-start-list>div+div{border-top:1px solid #dce6e2}.catalog-start-list span{min-width:150px;max-width:260px}.catalog-start-list button{flex-shrink:0}
@media(max-width:650px){.catalog-table tbody td:has(.catalog-start-list){display:block}.catalog-table tbody td:has(.catalog-start-list)::before{display:block;margin-bottom:5px}.catalog-start-list span{min-width:0;max-width:none;flex:1}}
/* Keep the home date/time/command toolbar below the persistent main navigation. */
.home-status-controls{position:sticky;top:calc(var(--sysora-nav-height,80px) + 8px);z-index:9;box-shadow:0 6px 18px #15384e12}
/* One shared, persistent axis for both groups and switches. */
.home-sticky-heading{position:sticky;top:calc(var(--sysora-nav-height,80px) + 8px);z-index:9;background:var(--bg);padding-bottom:1px;margin-bottom:16px}
.home-sticky-heading .home-status-controls{position:static;margin-bottom:8px}
.home-shared-axis{display:grid;border:1px solid #dce7ef;border-radius:12px;overflow:hidden}
@media(max-width:620px){.home-shared-axis{grid-template-columns:1fr;display:grid;padding-inline:14px}.home-shared-axis>span{display:none}.home-shared-axis>.home-axis{grid-column:1}}

.catalog-table th:nth-child(n+2):nth-child(-n+4){text-align:center}
.catalog-bulk{justify-content:center;flex-wrap:wrap}
.catalog-start-list span{min-width:0;overflow-wrap:anywhere}
.catalog-start-list span:empty{display:none}
.catalog-start-list>div:has(span:empty){justify-content:flex-end}
@media(min-width:651px){
  .catalog-table{table-layout:fixed}
  .catalog-table th:first-child{width:17%;overflow-wrap:anywhere}
  .catalog-table th:nth-child(n+2):nth-child(-n+4){width:11%}
  .catalog-table th:nth-child(5){width:28%}
  .catalog-table th:nth-child(6){width:22%}
  .catalog-start-list>div{flex-wrap:wrap}
  .catalog-start-list span{flex:1 1 100px}
}

.home-status-row.home-program-row {
  min-height: 0;
  padding-block: 4px;
  row-gap: 0;
}
.home-program-row .home-track-wrap {
  grid-column: -2 / -1;
  grid-row: 1;
}
.home-program-row .home-status-track.program-track { height: 30px; }
.home-program-row .program-band { top: 4px; height: 20px; line-height: 20px; font-size: 12px; }
.home-program-row .status-mode-event { top: 2px; height: 24px; padding: 0 4px; font-size: 11px; }
.inline-row-toggle{display:block;margin-top:6px;font-size:12px}
.inline-schedule-editor{padding:14px 16px;background:#f7fafc;border:1px solid #d5e2ec;border-radius:12px}
.inline-schedule-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px 20px}
.inline-schedule-days>span{display:block;font-size:12px;margin-bottom:5px}
.inline-schedule-days .checks{margin:0;gap:5px}
.inline-schedule-editor .time-parts{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.inline-schedule-editor .time-parts .field{min-width:100px;margin:0}
.inline-schedule-editor .time-parts .field:has(#rowAtSolar){min-width:145px}
.inline-schedule-editor>.inline-actions{margin-top:12px;display:flex;gap:8px}
.inline-full-edit{margin-inline-start:auto}
@media(max-width:760px){
  .inline-schedule-editor{position:sticky;right:0;width:min(100%,calc(100vw - 66px))}
  .inline-schedule-fields{align-items:start;flex-direction:column}
}
.extra-schedule-dates{flex-basis:100%;width:100%;margin-top:8px}
.extra-schedule-dates .time-override-row{margin-block:8px}
.home-switch-controls{display:grid;justify-items:center;gap:5px;flex:none}
.home-switch-controls .home-override{width:100%;max-width:110px;min-height:28px;padding:3px 4px;font-size:11px;border-radius:7px;cursor:pointer}
.home-switch-controls .home-override-control.override-on{border-color:#9ad1b5;background:#ddf5e8;color:#086d4c}
.home-switch-controls .home-override-control.override-off{border-color:#e8aab7;background:#fde5e9;color:#b03447}
.home-switch-controls .home-override-control.override-mixed{border-color:#e6c78c;background:#fff0d5;color:#8c5b12}
.home-status-row .home-actions{grid-template-columns:repeat(3,minmax(0,1fr))}
.home-status-row .home-actions>button:nth-child(n){grid-column:auto;white-space:normal;background:#f5f9fc;color:#3c6682;border-color:#d5e2ec}
.home-status-row .home-actions>button:nth-child(2){background:#fff7e9;color:#8c661e;border-color:#ead8b5}
.home-status-row .home-actions>button:nth-child(3){background:#eef5ff;color:#386ba0;border-color:#cadcf5}
@media (min-width:761px) and (max-width:1280px){.home-status-row .home-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
.home-switch-controls .home-override-control{position:relative;display:grid;place-items:center;width:54px;min-height:34px;padding:3px;border:1px solid #d6e1e9;border-radius:7px;background:#eef3f7;color:#4f6474;font-size:11px;line-height:1.12;text-align:center}
.home-override-control:focus-within{outline:2px solid #087c70;outline-offset:2px}
.home-switch-controls .home-override-control .home-override{position:absolute;inset:0;width:100%;height:100%;opacity:0}
.schedule-kind-options{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px}
.schedule-kind-options .choice{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid #d5e2ec;border-radius:8px;background:#fff;cursor:pointer}
.schedule-kind-options .choice:has(input:checked){background:#e6f4f0;border-color:#8fc7b9;color:#086a60}
.schedule-kind-options input{width:auto;margin:0;accent-color:#087c70}
.home-switch-controls:has(.home-override-control.override-off) .home-power{
  background:#fde5e9;color:#b03447;border-color:#e8aab7;opacity:1
}
.home-axis .home-now-flag{position:absolute;bottom:0;z-index:2;transform:translateX(50%);padding:2px 6px;border-radius:5px;background:#1769ad;color:#fff;font-size:11px;font-weight:700;line-height:1.3;white-space:nowrap;pointer-events:none}
.home-now-flag::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:4px solid transparent;border-top-color:#1769ad}
.home-switch-controls:has(.home-override-control.override-on) .home-power.on:disabled{opacity:1}
