/* ═══ no-lines.css — נטען אחרון בכל דף ═══
   כלל הבעלים (6-Oct-2026): "למחוק כל קו סביב כל אובייקט" — במנוחה אף אלמנט לא מציג
   border (בכל צד) או outline. מה שהקו הבחין נשאר מובחן בעזרת מילוי עדין או צל רך;
   מצבי בחירה/שגיאה נקראים מצבע הטקסט/האייקון או מגוון מילוי — לעולם לא ממסגרת.
   טבעות פוקוס למקלדת נשארות בכפתורים; בשדות קלט משתמשים בהבהרה עדינה בלי מסגרת.

   Loaded last on every page. One sheet, minimum specificity + !important only where a rule
   it overrides was !important itself or came from an inline style.
   border-color:transparent (not border:0) keeps every box the same size — grids, tables and
   inputs do not reflow. */
@media screen{

/* ── 1. כל קו שקוף במנוחה — every border and outline colour is transparent at rest ── */
*,*::before,*::after{border-color:transparent!important}
*:not(:focus-visible),*::before,*::after{outline-color:transparent!important}

/* ── 2. כללים שהיו !important בעצמם — restated at ≥ their specificity, later in the cascade ── */
.successbar.bad{border-color:transparent!important}
.cell.mine{border-color:transparent!important}
.mfk-cal button.mfk-cal-cell.current{border-color:transparent!important}
.candidate-row.unavailable .candidate-blocked{border-color:transparent!important}
button[aria-pressed="true"],[role=button][aria-pressed="true"],.chip[aria-pressed="true"],.modebtn.on,.filter-chips .chip.on{border-color:transparent!important}

/* ── 3. חלון ⋯ וכל פריט בו, והסרגלים שהוא עולה מהם — the ⋯ panel, every item in it, the docks: no border, no shadow ── */
.bar-more-panel,.bar-more-panel>*,.bar-more-btn,#appDock,#bottomNav,#mifkadaLanguageDock,#mifkadaLanguageBar,nav.bottomdock,nav.bottomdock .navtabs,nav.bottomdock .statusbar,[data-bar-fit-dock],[data-bar-fit-dock]::before{border:0!important;box-shadow:none!important}

/* ── 4. קווי שיער מצל (inset 0 1px 0 …) וטבעות ללא טשטוש — hairlines and 0-blur rings go; soft shadows stay ── */
.app>header{box-shadow:0 12px 40px rgba(0,0,0,.4)!important}
@media (max-width:620px){.app-shell>header,.app-shell .app>header,.app>header{box-shadow:0 6px 18px rgba(0,0,0,.35)!important}}
.panel,.kpi,.pricebar{box-shadow:0 14px 40px rgba(0,0,0,.35)}
.btn,.ci-btn{box-shadow:0 4px 16px var(--accent-glow,rgba(201,164,104,.25))}
.sosbtn{box-shadow:0 4px 16px rgba(224,49,63,.3)!important} /* !important: the emergency pulse keyframes draw a 5px ring */
.logincard{box-shadow:0 20px 70px rgba(0,0,0,.5)}
.successbar{box-shadow:none}
nav button.on{box-shadow:0 1px 6px rgba(0,0,0,.35)}
.attendance-tile{box-shadow:0 8px 24px #0004}
.attendance-tile:hover{box-shadow:0 16px 34px #0006}
.not-found-home{box-shadow:0 5px 24px var(--accent-glow,rgba(201,164,104,.3))}
.cell.held{box-shadow:none;background-image:linear-gradient(rgba(201,164,104,.35),rgba(201,164,104,.35))}
.board tr.control-room-worker td{box-shadow:none}
.board tr.control-room-worker th.gname{background-image:linear-gradient(rgba(173,139,219,.2),rgba(173,139,219,.2))}
#connection::before{box-shadow:0 0 8px var(--accent-glow,rgba(201,164,104,.25))}
.ci-me::before{box-shadow:0 0 10px rgba(52,199,123,.6)}
.ci-post-pin{box-shadow:0 0 8px rgba(201,164,104,.5)}
.convdot.new{box-shadow:0 0 8px rgba(201,164,104,.4)}
.navbadge,#appDock .app-badge{box-shadow:none}
.x-close:hover{box-shadow:none!important}
.calendar-days button[aria-pressed=true]{box-shadow:none}
.cell .no-phone{box-shadow:none}
.assurelist{background:transparent}

/* ── 5. טבעות פוקוס למקלדת שכלל קודם כיבה או צייר כמסגרת — keyboard rings that were off or drawn as a border ── */
/* Field focus is indicated by a subtle fill change, never an orange frame.
   Do not reset inset box-shadows: Safari autofill uses one to keep login fields dark. */
:is(input,select,textarea,[contenteditable],.mfk-cal-trigger):is(:focus,:focus-visible){outline:none!important}
select:is(:focus,:focus-visible){box-shadow:none!important}
:is(input:not([type=checkbox]):not([type=radio]),select,textarea,[contenteditable],.mfk-cal-trigger):focus{filter:brightness(1.12)}
/* 6.10: no ring restored on the dialog × buttons — showModal focuses them on open, so a ring here shows on a tap (owner: no frame around any button). ui-buttons.css keeps them outline:none */
.pay-file:has(:focus-visible){outline:none!important;filter:brightness(1.12)}

/* ── 6. ציור שעשוי מקווים (לא קו סביב אובייקט) נשאר — art drawn with borders stays ── */
.ci-radar::after{border-top-color:var(--accent,#c9a468)!important}   /* spinner arc while locating */
.pay-empty-icon{border-color:var(--gold,#c9a468)!important}          /* empty-state document icon */
.ci-fencecircle{border-color:rgba(201,164,104,.5)!important}        /* dashed geofence on the check-in map */
.inbox::before{border-bottom-color:var(--mf-inbox,#1A1A1E)!important}               /* popover arrow — the inbox background, not a line */

/* ── 7. מילוי במקום הקו — where the border was the only thing separating the object from its background ── */
/* outlined buttons, chips and pills (transparent background before) */
.mini,.btn.ghost,.modebtn,.chinv,.soscancel,.filebtn,.langsw,.site-static,.rolecell,.rolechip,.treerow .tag,.sev,.swap .stag,.qlc-no,.delbar button,.sosact.quiet,.clrow,.trainweapon,.arm-row,.chip,.corr .chip,.workbook .chip,.training-workflow .training-status,.wb-tiles .count,.wb-list-bar button .x,.more-tiles>summary,#appSheet>header button,.app-sheet-body>button,#detailBody .filter-chips .chip,.pay-file-optional,dialog.checkpoint-scanner button,.checkpoint-scanner button{background-color:rgba(255,255,255,.07)}
.simple-row-fields input,.mifkada-dialog-input,.mifkada-dialog-textarea,.worker-absence-form input,body.app-guard input:not([type=checkbox]):not([type=radio]),body.app-guard textarea,body.app-guard select,.training-workflow :is(input:not([type=checkbox]):not([type=radio]),select,textarea),.employee-workflow :is(input:not([type=checkbox]):not([type=radio]),select,textarea){background-color:rgba(255,255,255,.07)}
.logincard input.libox{background-color:rgba(255,255,255,.14)}
/* cards, rows and boxes on a same-colour panel */
.location-card,.training-row,.availability-card,.shift-tools,.arm-empty,.pay-empty,.wb-empty,.note,.myday,.simple-week,#openSlotList>div{background-color:rgba(255,255,255,.05)}
.simple-row{background-color:rgba(255,255,255,.06)}
.training-workflow form:not(.mifkada-dialog-form),.employee-workflow form:not(.mifkada-dialog-form){background-color:rgba(255,255,255,.03)}
.app-home-launchers button,.simple-action,.simple-disclosure,.card,#board button.add-here{background-image:linear-gradient(rgba(255,255,255,.055),rgba(255,255,255,.055))}
body.app-guard :is(.card,dialog) :is(button,.button):not(.primary):not(.danger):not(.tile){background-image:linear-gradient(rgba(255,255,255,.07),rgba(255,255,255,.07))}
table.board .cell{background-color:rgba(255,255,255,.035)}
.cell.editable:hover{background-image:linear-gradient(rgba(201,164,104,.18),rgba(201,164,104,.18))}
/* table rows without their lines: a faint zebra keeps long tables scannable */
@media (min-width:701px){table.adm tbody tr:nth-child(even)>td,table.pmx tbody tr:nth-child(even)>td,table.mag tr:nth-child(even)>td,.ps-table tbody tr:nth-child(even)>td{background-image:linear-gradient(rgba(255,255,255,.025),rgba(255,255,255,.025))}}
/* dialogs and popovers that only had a frame: a soft shadow lifts them off the page */
dialog{box-shadow:0 18px 60px rgba(0,0,0,.55)}
/* selected / active: gold text or a gold-tinted fill, never a gold border */
.mini.go,.autoflag,.slip-card.unread,.ps-net,.qlbtn.ready,.cand.ring,.simsite.mid,.swap .stag.open,.employee-training-link,.empty-note,.pay-file,.arm-btns button,.armory-page>header #home,body>header #back,#payrollPortal .secondary,#payrollPortal a.button.secondary,dialog.pay-confirm .secondary,body.standalone-workflow #notice:not(:empty),.armory-page #notice:not(:empty),.training-workflow details summary,.employee-workflow details summary,.plan-choices button{background-color:rgba(201,164,104,.12)}
.pay-file.pay-file-optional{background-color:rgba(255,255,255,.07)}
.cell.unassigned,#daySchedule .unassigned,.cell.swap-open,.card.patrol-live,.tile.torch.on,.queue-error,.active-summary,.arm-row.st-issued,.wizard-point button,#addPointRow,#patrolPointsForm .form-actions button,#reusePoints button{background-image:linear-gradient(rgba(201,164,104,.14),rgba(201,164,104,.14))}
.swap .stag.ok,.deliv.ack{background-color:rgba(52,199,123,.12)}
.account-current{background-image:linear-gradient(rgba(52,199,123,.12),rgba(52,199,123,.12))}
/* error / status: tinted fill + the text or icon, not a red frame */
.nophone-note{background-color:rgba(255,140,26,.1)}
.pres.miss,.simsite.risk,.debtcat.hot,.arm-exc,.mfk-cal-trigger.invalid,.training-workflow .training-row.overdue,.arm-btns button.danger,#payrollPortal .secondary.danger,.workbook button.danger,.pay-empty.is-error,.pay-matches li.is-bad,#userDeletionDialog #userDeletionError,details.purge{background-color:rgba(244,91,105,.1)}
details.purge.demoseed{background-color:rgba(255,255,255,.04)}
.corr .chip.ok{background-color:rgba(159,216,166,.14)}.corr .chip.warn{background-color:rgba(201,164,104,.14)}.corr .chip.bad{background-color:rgba(255,154,164,.14)}
body.app-guard .danger,.card.patrol-missed,#modalContent .card.patrol-point-missing,.wizard-point button[data-wizard-delete],.arm-row.st-lost,.arm-row.st-maintenance{background-image:linear-gradient(rgba(244,91,105,.12),rgba(244,91,105,.12))}
/* בעלים 20.10 (QA, רקע בכל המסך): בצבע שנבחר המשטחים בהירים מהיום, והאדום על השטיפה האדומה שלו ירד מתחת ל-4.5:1 (מצוקה,
   "דיווח חירום", נקודה שלא נבדקה: 4.78 → 4.28). מתחת לשטיפה — שכבה שחורה בעוצמה של הצבע (--mf-wash-dim, tools/theme-tokens.mjs)
   שמחזירה את המשטח לבהירות של היום. בלי צבע נבחר הכלל לא חל. test/theme-qa-friend-browser.test.js */
:root[data-bg] body.app-guard .danger,:root[data-bg] .card.patrol-missed,:root[data-bg] #modalContent .card.patrol-point-missing,:root[data-bg] .wizard-point button[data-wizard-delete],:root[data-bg] .arm-row.st-lost,:root[data-bg] .arm-row.st-maintenance{background-image:linear-gradient(rgba(244,91,105,.12),rgba(244,91,105,.12)),linear-gradient(rgba(0,0,0,var(--mf-wash-dim,0)),rgba(0,0,0,var(--mf-wash-dim,0)))}

}

/* 6.10 readability review (WebKit probe, edge-contrast ≈1.0 = invisible): objects whose only separation was the line now get a fill one step lighter than what they sit on */
.addform input,.addform select{background-color:rgba(255,255,255,.07)!important}
#detailBody .availability-card button,#detailBody .shift-tools button{background-color:rgba(255,255,255,.1)!important}
.simple-week .simple-action{background-color:rgba(255,255,255,.08)!important;background-image:none!important}
.bgswatch:not([aria-pressed="true"]){background-color:rgba(255,255,255,.07)!important}
/* 6.10: the ⋯ count badge drew a 2px ring in the bar colour (a "cut-out" line) — the gold badge stands on its own */
.bar-more-badge{box-shadow:none!important}
/* 6.10 (בעלים: "סימון מסגרת בצבע כחול מסביב לדף"): הדף/המסך/הכותרת מקבלים פוקוס מהקוד (tabindex=-1) כשנפתחים —
   הדפדפן צייר סביבם טבעת כחולה. אלה לא יעדי מקלדת, אז בלי טבעת בכלל */
[tabindex="-1"]:focus,[tabindex="-1"]:focus-visible,main:focus,.view:focus,.view:focus-visible,section:focus,dialog:focus,h1:focus,h2:focus,#content:focus{outline:none!important}
/* בעלים 7.10: "תמחק קו מתחת לכפתורים — בלוח שנה ובפרופיל האישי": קישורים בצורת כפתור, כפתורי טקסט והיום בלוח השנה — בלי קו תחתון.
   היום בלוח השנה מסומן בזהב ובמשקל, לא בקו */
a.mini,a.btn,a.aibtn,a.chip,a.go,a.tile,a.simple-action,a.command,a.button,.emg-link,.linkbtn,.mfk-cal button.mfk-cal-cell span,.simple-week-list li.today strong{text-decoration:none!important}
.mfk-cal button.mfk-cal-cell.today span{color:var(--accent,#c9a468);font-weight:700}

/* Dialog copy follows the reading direction on every page; buttons and numeric
   controls retain their own alignment. This also covers calendar/report headings. */
dialog,dialog :is(h1,h2,h3,p,label,legend){text-align:start}

/* סבב 2 (8.10, כלל הבעלים: "בלי חצים מיותרים; בעברית האייקון אחרי הטקסט"): הדפדפן צייר משולש פתיחה (◄) לפני
   הטקסט של כל <summary> — 'פירוט יומי' בדוחות השעות, 'מידע נוסף' שהמעטפת עוטפת סביב הערות ארוכות, האימונים, בקשות
   שטופלו ועוד. התיקון של D9 (חופשות, המסמכים שלי) הוחל רק על שני דפים; כאן — על כל summary בכל דף, כולל אלה שנבנים
   בזמן ריצה. Every page loads this sheet last: no native disclosure marker on any summary (Chrome ::marker via
   list-style, Safari ::-webkit-details-marker). The summary stays a gold/pointer opener; nothing else changes. */
summary{list-style:none}
summary::-webkit-details-marker{display:none}
