:root{--bg: #f4f6f9;--surface: #ffffff;--text: #1c2430;--muted: #5f6b7a;--border: #d9dee5;--primary: #1f4e79;--primary-hover: #183e61;--primary-soft: #e6eef6;--danger: #b42318;--danger-soft: #fdecea;--st-new: #6b7280;--st-new-bg: #eef0f3;--st-progress: #8a6100;--st-progress-bg: #fff4cc;--st-ready: #1d5fbf;--st-ready-bg: #e3edfc;--st-done: #1d7a3a;--st-done-bg: #e2f4e7;--st-stuck: #b42318;--st-stuck-bg: #fdecea;--st-cancel: #8b9099;--radius: 10px;--shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 1px 3px rgb(16 24 40 / 10%);font-family:Segoe UI,Rubik,Arial,Noto Sans Hebrew,sans-serif;font-size:16px;color:var(--text);background:var(--bg)}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0;min-height:100vh;min-height:100dvh;background:var(--bg)}button,a,input,select,textarea{touch-action:manipulation}.app-shell{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.app-shell>main.page{flex:1 0 auto;width:100%}.app-shell.fit{height:100vh;height:100dvh;overflow:hidden}.app-shell.fit>main.page{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}h1,h2,h3{margin:0 0 12px;line-height:1.25}h1{font-size:1.5rem}h2{font-size:1.2rem}h3{font-size:1.05rem}a{color:var(--primary)}.app-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:12px;padding:8px 16px;padding-block-start:max(8px,env(safe-area-inset-top));padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right));background:var(--primary);color:#fff}.app-header .brand{font-weight:700;font-size:1.1rem;color:#fff;text-decoration:none;white-space:nowrap}.app-header .spacer{flex:1}.app-header .user{font-size:.9rem;opacity:.9;white-space:nowrap}.app-header button{background:transparent;color:#fff;border:1px solid rgb(255 255 255 / 50%)}.app-header button:hover{background:#ffffff1f}.app-nav{display:flex;gap:4px;overflow-x:auto;padding:6px 12px;background:var(--surface);border-block-end:1px solid var(--border);scrollbar-width:thin}.app-nav a{padding:8px 12px;border-radius:8px;color:var(--text);text-decoration:none;white-space:nowrap;font-size:.95rem}.app-nav a.active{background:var(--primary-soft);color:var(--primary);font-weight:600}.app-nav .manager-link:before{content:"★ ";color:var(--st-progress)}main.page{max-width:1100px;margin:0 auto;padding:16px}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px;margin-block-end:16px}.row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.row.end{justify-content:flex-end}.stack{display:flex;flex-direction:column;gap:12px}.grow{flex:1}.muted{color:var(--muted)}.small{font-size:.875rem}.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}.page-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-block-end:16px}.page-title h1{margin:0}button,.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 16px;border-radius:8px;border:1px solid var(--border);background:var(--surface);color:var(--text);font:inherit;font-weight:500;cursor:pointer;text-decoration:none}button:hover,.btn:hover{background:#f0f2f5}button:disabled{opacity:.55;cursor:not-allowed}button.primary,.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}button.primary:hover,.btn.primary:hover{background:var(--primary-hover)}button.danger{color:var(--danger);border-color:#f1b5af}button.danger:hover{background:var(--danger-soft)}button.whatsapp,.btn.whatsapp{background:#1da851;border-color:#1da851;color:#fff}button.whatsapp:hover,.btn.whatsapp:hover{background:#168a42}button.small,.btn.small{min-height:32px;padding:4px 10px;font-size:.875rem}label.field{display:flex;flex-direction:column;gap:4px;font-size:.9rem;font-weight:500}input,select,textarea{font:inherit;padding:9px 12px;border:1px solid var(--border);border-radius:8px;background:#fff;color:var(--text);min-height:42px;width:100%;font-size:16px}textarea{min-height:70px;resize:vertical}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid var(--primary);outline-offset:1px}input[type=checkbox]{width:20px;min-height:20px;height:20px}input[type=tel],input.ltr-input{direction:ltr;text-align:end}.error-box{background:var(--danger-soft);color:var(--danger);border:1px solid #f1b5af;border-radius:8px;padding:10px 12px}.success-box{background:var(--st-done-bg);color:var(--st-done);border:1px solid #a6dcb6;border-radius:8px;padding:10px 12px}.badge{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.8rem;font-weight:600;white-space:nowrap}.badge.st-new{color:var(--st-new);background:var(--st-new-bg)}.badge.st-progress{color:var(--st-progress);background:var(--st-progress-bg)}.badge.st-ready{color:var(--st-ready);background:var(--st-ready-bg)}.badge.st-done{color:var(--st-done);background:var(--st-done-bg)}.badge.st-stuck{color:#fff;background:var(--st-stuck)}.badge.st-cancel{color:var(--st-cancel);background:#f3f4f6;text-decoration:line-through}.stuck{border-inline-start:4px solid var(--st-stuck)!important;background:var(--st-stuck-bg)!important}.cancelled-text{color:var(--st-cancel);text-decoration:line-through}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse}th,td{text-align:start;padding:10px 8px;border-block-end:1px solid var(--border);vertical-align:middle}th{font-size:.85rem;color:var(--muted);font-weight:600}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f8fafc}.list-item{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);margin-block-end:8px}.home{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:12px}.home h1{margin:0;font-size:1.2rem}.home h2{margin:0 0 6px;font-size:1rem}.home .big-actions{flex:1 1 auto;min-height:96px;max-height:260px;grid-template-columns:1fr 1fr;gap:12px;margin:0}.home .big-actions a{min-height:0;font-size:1.15rem}.home .big-actions a .icon{font-size:1.7rem}.home .counters{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.home .counter{display:flex;align-items:center;gap:10px;padding:8px 12px;line-height:1.2}.home .counter .num{font-size:1.5rem;min-width:1.6em}.big-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin-block-end:20px}.big-actions a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:120px;border-radius:14px;background:var(--primary);color:#fff;font-size:1.35rem;font-weight:700;text-decoration:none;box-shadow:var(--shadow)}.big-actions a:hover{background:var(--primary-hover)}.big-actions a .icon{font-size:2rem}.counters{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px}.counter{display:block;padding:14px;border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);text-decoration:none;color:var(--text)}.counter .num{font-size:1.9rem;font-weight:700}.counter.alert .num{color:var(--st-stuck)}.login{max-width:560px;margin:32px auto;padding:0 16px}.tabs{display:flex;flex-wrap:wrap;gap:4px;margin-block-end:16px}.tabs button{flex:1}.tabs button[aria-selected=true]{background:var(--primary-soft);border-color:var(--primary);color:var(--primary);font-weight:700}.user-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.user-tiles button{min-height:72px;font-size:1.1rem;font-weight:600}.pin-dots{display:flex;justify-content:center;gap:14px;margin:16px 0;direction:ltr}.pin-dots span{width:18px;height:18px;border-radius:50%;border:2px solid var(--primary)}.pin-dots span.filled{background:var(--primary)}.pin-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;direction:ltr;max-width:320px;margin:0 auto}.pin-pad button{min-height:60px;font-size:1.4rem;font-weight:600}.bell{position:relative}.bell .count{position:absolute;top:-6px;inset-inline-end:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--st-stuck);color:#fff;font-size:.75rem;font-weight:700;display:flex;align-items:center;justify-content:center}.bell-panel{position:absolute;top:52px;inset-inline-end:12px;width:min(360px,calc(100vw - 24px));background:var(--surface);color:var(--text);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 8px 24px #1018282e;padding:8px;z-index:20}.bell-panel a{display:flex;justify-content:space-between;padding:10px;border-radius:8px;color:var(--text);text-decoration:none}.bell-panel a:hover{background:#f3f5f8}.timeline{list-style:none;margin:0;padding:0}.timeline li{position:relative;padding-inline-start:32px;padding-block-end:18px}.timeline li:before{content:"";position:absolute;inset-inline-start:8px;top:4px;width:14px;height:14px;border-radius:50%;background:var(--primary)}.timeline li:after{content:"";position:absolute;inset-inline-start:14px;top:20px;bottom:0;width:2px;background:var(--border)}.timeline li:last-child:after{display:none}.timeline li.pending{color:#9aa3ae}.timeline li.pending:before{background:#d4d8de}.timeline .station{font-weight:600}.qty-stepper{display:inline-flex;flex-direction:column;align-items:stretch;width:64px}.qty-stepper button{min-height:34px;padding:0;font-size:1.25rem;line-height:1}.qty-stepper button:first-child{border-end-start-radius:0;border-end-end-radius:0}.qty-stepper button:last-child{border-start-start-radius:0;border-start-end-radius:0}.qty-stepper input{border-radius:0;border-block:none;min-height:40px;padding:4px;text-align:center;font-weight:700}.field.qty{display:flex;flex-direction:column;gap:4px;font-size:.9rem;font-weight:500}.field.qty-center{display:flex;flex-direction:column;align-items:center;gap:8px;font-weight:500}.line-editor{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:end;margin-block-end:8px}.autocomplete{position:relative}.autocomplete ul{position:absolute;z-index:15;inset-inline:0;top:100%;margin:2px 0 0;padding:4px;list-style:none;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 6px 18px #10182824;max-height:240px;overflow-y:auto}.autocomplete li{padding:8px 10px;border-radius:6px;cursor:pointer}.autocomplete li[aria-selected=true],.autocomplete li:hover{background:var(--primary-soft)}.toolbar{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:var(--surface);border-block-start:1px solid var(--border);margin:0 -16px -16px;border-radius:0 0 var(--radius) var(--radius)}dialog{border:none;border-radius:var(--radius);padding:20px;width:min(460px,calc(100vw - 24px));box-shadow:0 12px 32px #10182840}dialog::backdrop{background:#10182866}@media (max-width: 640px){main.page{padding:12px}.app-header .user{display:none}.line-editor{grid-template-columns:1fr auto;padding-block-end:8px;border-block-end:1px solid var(--border)}.line-editor .remove{grid-column:span 2}.hide-mobile{display:none}th,td{padding:8px 4px}}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:12px;background:#10182866}.modal{width:min(460px,100%);margin:0}.message-preview{margin:0;padding:12px;border-inline-start:4px solid #1da851;background:#f1fbf4;border-radius:8px;white-space:pre-wrap}.item-line{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;padding:10px 0;border-block-end:1px solid var(--border)}.item-line:last-child{border-block-end:none}.item-line .name{font-weight:600}.item-line .actions{margin-inline-start:auto;display:flex;flex-wrap:wrap;gap:6px}.bar{height:10px;border-radius:5px;background:var(--primary);min-width:2px}.bar.repairs{background:var(--st-progress)}.row>.grow{min-width:140px}.tabs button{flex:1 1 auto;white-space:nowrap}@media (max-width: 640px){table.cards thead{display:none}table.cards,table.cards tbody{display:block}table.cards tr{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;padding:10px 12px;margin-block-end:8px;border:1px solid var(--border);border-radius:8px;background:var(--surface)}table.cards td{display:block;padding:0;border:none;order:1}table.cards td.end{margin-inline-start:auto}table.cards td.full{flex-basis:100%;order:2}table.cards td.grow{flex:1 1 150px}table.cards td.hide-mobile{display:none}table.cards td.qty{width:auto}}.switch-row{display:flex;align-items:flex-start;gap:12px;cursor:pointer}.switch-row>span{display:flex;flex-direction:column;gap:2px}input[type=checkbox][role=switch]{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:none;width:46px;height:26px;min-height:26px;margin-block-start:2px;padding:0;border-radius:13px;border:none;background:var(--border);position:relative;cursor:pointer;transition:background .15s}input[type=checkbox][role=switch]:after{content:"";position:absolute;top:3px;inset-inline-start:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #0000004d;transition:inset-inline-start .15s}input[type=checkbox][role=switch]:checked{background:var(--primary)}input[type=checkbox][role=switch]:checked:after{inset-inline-start:23px}.hint{padding:12px;border-radius:8px;background:var(--primary-soft);border:1px solid var(--border)}.hint ol{margin:6px 0 0;padding-inline-start:20px}.late-text{color:var(--st-stuck);font-weight:700}
