/* Hub · Unified Home look (20261017.1) — presentation only. Light-mode colours are scoped to body:not(.dark); Hub's dark mode keeps its palette. */
body:not(.dark) #app{--suite-line:#e3e8f2;--suite-muted:#75809a;--suite-brand:#633cff;--suite-soft:#f0ecff}
body:not(.dark){background:#f5f7fc}
/* Sidebar: Home's white navigation surface instead of the dark gradient panel. */
body:not(.dark) #sidebar.sidebar{background:#fff!important;color:#172033!important;border-inline-end:0!important;border-inline-start:1px solid #e3e8f2!important;box-shadow:none!important}
body:not(.dark) #sidebar .brand strong{color:#172033!important}
body:not(.dark) #sidebar .brand small{color:#75809a!important}
body:not(.dark) #sidebar nav button{color:#45546d!important;background:transparent!important;border-color:transparent!important;box-shadow:none!important}
body:not(.dark) #sidebar nav button:hover{background:#f5f7fc!important}
body:not(.dark) #sidebar nav button.active{background:#f0ecff!important;color:#5834ca!important}
body:not(.dark) #sidebar nav button.active:before,body:not(.dark) #sidebar nav button.active:after{background:transparent!important;box-shadow:none!important}
body:not(.dark) #sidebar :is(nav button img,.icon-button img){filter:none!important;opacity:.62}
body:not(.dark) #sidebar nav button.active img{opacity:1;filter:invert(24%) sepia(86%) saturate(4300%) hue-rotate(250deg) brightness(92%)!important}
body:not(.dark) #sidebar .sidebar-status{background:#f5f7fc!important;border:1px solid #e3e8f2!important;color:#172033!important;box-shadow:none!important}
body:not(.dark) #sidebar .sidebar-status :is(b,strong){color:#172033!important}
body:not(.dark) #sidebar .sidebar-status small,body:not(.dark) #sidebar .profile small{color:#75809a!important}
body:not(.dark) #sidebar .sidebar-foot{border-color:#e3e8f2!important}
body:not(.dark) #sidebar .profile :is(b,strong,span){color:#172033}
body:not(.dark) #sidebar .icon-button{background:#fff!important;border:1px solid #e3e8f2!important}
/* Brand mark: Home's solid square. */
#app .logo-mark{background:#633cff!important;border-radius:13px!important;box-shadow:none!important;font-family:inherit!important}
/* Flat surfaces: no drop shadows on cards and buttons (dialogs, drawers, search results, toasts keep theirs). */
#app .main :is(article,section,.panel,.metric,.app-card,.control-card,.global-search-wrap,button):not(dialog *){box-shadow:none!important}
/* Cards: white, thin neutral border, 18px radius, no status stripe or tint (status stays in the dot and the pill). */
body:not(.dark) #app .main :is(.app-card,.metric,.control-card,.panel,.command-bar){background:#fff!important;border:1px solid #e3e8f2!important}
#app .main :is(.app-card,.metric,.control-card,.panel,.command-bar){border-radius:18px!important}
#app .main .app-card:before{display:none!important}
body:not(.dark) #app .main .add-system-card{border-style:dashed!important;border-color:#ccd4e5!important}
body:not(.dark) #app .main .app-icon{background:#f0ecff!important}
/* Buttons: primary solid brand, secondary white with a thin border — as in Home. */
#app .main :is(button.primary,.launch-btn:not(.disabled),.plus-circle){background:#633cff!important;background-image:none!important;color:#fff!important;border-color:transparent!important}
#app .main :is(button.primary,.launch-btn){border-radius:12px!important}
body:not(.dark) #app .main :is(.soft-button,.mini-btn,.icon-button){background:#fff!important;border:1px solid #e3e8f2!important;color:#172033!important;border-radius:12px!important}
/* Typography: Home scale for the page greeting and section titles. */
#app .main #heroGreeting{font-size:2.125rem!important;font-weight:700!important}
#app .main .eyebrow{font-size:.625rem!important;font-weight:900!important;letter-spacing:.02em!important;color:#633cff!important}
body:not(.dark) #app .main .global-search-wrap{border:1px solid #e3e8f2!important;border-radius:12px!important;background:#fff!important}
/* Mobile drawer keeps the light surface too. */
@media(max-width:900px){body:not(.dark) #sidebar.sidebar{box-shadow:0 20px 60px #17253d26!important}}
/* Dark mode: an offline system card kept a light gradient (pre-existing); give it the same dark surface as the other cards. */
body.dark #app .main .app-card.offline{background:rgb(23,34,53)!important;background-image:none!important}
/* Inner screens (20261017.2). */
#app .main :is(.automation-metric,.maintenance-summary-card,.work-metric){box-shadow:none!important;border-radius:18px!important}
body:not(.dark) #app .main :is(.automation-metric,.maintenance-summary-card,.work-metric){border-color:#e3e8f2!important}
body:not(.dark) #app :is(.avatar){background:#f0ecff!important;background-image:none!important}
body:not(.dark) #app .main #agentMessages{background:#fff!important;background-image:none!important}
/* Top navigation bar (20261017.3): the sidebar becomes the same white top bar as in the other five apps. */
html body #app.app{display:block!important;grid-template-columns:none!important}
html body #app #sidebar.sidebar{position:sticky!important;top:0!important;right:auto!important;left:auto!important;width:100%!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:1.5rem!important;padding:1rem 2vw!important;border:0!important;border-bottom:1px solid #e3e8f2!important;border-radius:0!important;z-index:60!important;transition:none!important;box-shadow:none!important}
body.dark #app #sidebar.sidebar{border-bottom-color:#ffffff14!important}
html body #app #sidebar .brand{flex:0 0 auto!important;margin:0!important;padding:0!important;gap:.6rem!important;min-width:0}
html body #app #sidebar .brand strong{font-size:1.05rem!important;line-height:1.3!important;white-space:nowrap}
html body #app #sidebar .brand small{font-size:.75rem!important}
html body #app #sidebar .logo-mark{width:2.5rem!important;height:2.5rem!important;font-size:1.1rem!important}
html body #app #sidebar #nav{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;flex:1!important;min-width:0!important;gap:.25rem!important;margin:0!important;padding:0!important;overflow:visible!important}
html body #app #sidebar #nav>button{flex:0 0 auto!important;width:auto!important;min-height:0!important;white-space:nowrap!important;padding:.7rem .8rem!important;border-radius:10px!important;font-size:.95rem!important;display:inline-flex!important;align-items:center!important;gap:.3rem!important;margin:0!important;justify-content:flex-start!important}
html body #app #sidebar #nav>button.hidden,html body #app #sidebar #nav button[hidden]{display:none!important}
html body #app #sidebar #nav button img{width:1rem!important;height:1rem!important}
html body #app #sidebar #nav button.active:before,html body #app #sidebar #nav button.active:after{display:none!important}
html body #app #sidebar #nav button{border:0!important;box-shadow:none!important}
html body #app #sidebar .sidebar-status{display:none!important}
html body #app #sidebar .sidebar-foot{flex:0 0 auto!important;margin:0!important;padding:0!important;border:0!important;gap:.5rem!important}
html body #app #sidebar .sidebar-foot .profile small{display:none!important}
html body #app #mobileMenu{display:none!important}
html body #app .main{max-width:min(92vw,2400px)!important;width:100%!important;margin:0 auto!important;padding:0 2vw 6rem!important}
/* "עוד" overflow menu, as in the other apps. */
#app .hub-more{position:relative;flex:0 0 auto}
#app .hub-more[hidden]{display:none!important}
#app .hub-more summary{list-style:none;cursor:pointer;padding:.7rem .8rem;white-space:nowrap;font-size:.95rem;font-weight:700;color:#45546d;border-radius:10px}
#app .hub-more summary::-webkit-details-marker{display:none}
#app .hub-more summary:after{content:'⌄';margin-inline-start:.5rem}
#app .hub-more:not([open])>.hub-overflow{display:none!important}
#app .hub-overflow{position:absolute;inset-inline-end:0;top:calc(100% + 6px);min-width:13rem;max-width:calc(100vw - 24px);max-height:70dvh;overflow:auto;padding:8px;background:#fff;border:1px solid #e1e7f0;border-radius:14px;box-shadow:0 12px 35px #17253d20;z-index:90}
#app .hub-overflow>button{display:flex!important;width:100%!important;text-align:start!important;margin:0!important;padding:.8rem!important;white-space:nowrap}
body.dark #app .hub-overflow{background:#172235;border-color:#ffffff14}
body.dark #app .hub-more summary{color:#c9d3e3}
@media(max-width:1000px){
 html body #app #sidebar.sidebar{flex-wrap:wrap!important;padding:12px 16px!important;gap:10px!important}
 html body #app #sidebar #nav{flex-basis:100%!important;order:3!important}
 html body #app #sidebar .sidebar-foot{margin-inline-start:auto!important}
 html body #app #sidebar .sidebar-foot .profile :is(b,strong,span:not(.avatar)){display:none!important}
 html body #app #sidebar #nav>button,#app .hub-more summary{font-size:.8rem!important;padding:.55rem .5rem!important}
 html body #app .main{max-width:100%!important;padding-inline:14px!important}
}
/* 20261017.4: the "עוד" menu must not be clipped by the bar, and the page header scrolls with the page (one sticky bar, as in the other apps). */
html body #app #sidebar.sidebar{overflow:visible!important;max-height:none!important}
html body #app .main>.topbar{position:relative!important;top:auto!important;z-index:1!important}
/* 20261017.7: form fields in every Hub screen (work center fields were unstyled browser defaults). */
#app .main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not(#globalSearch),select,textarea){border-radius:12px!important;padding:.65rem .9rem!important;min-height:2.75rem;font:inherit;font-size:.95rem!important;box-shadow:none!important}
#app .main textarea{min-height:5.5rem;resize:vertical}
body:not(.dark) #app .main :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not(#globalSearch),select,textarea){border:1px solid #e3e8f2!important;background-color:#fff!important;color:#172033!important}
body:not(.dark) #app .main :is(input,select,textarea):focus{outline:none!important;border-color:#633cff!important;box-shadow:0 0 0 3px #f0ecff!important}
/* Work center: the page bar already says "מרכז עבודה" — hide the repeated in-page title, keep its buttons. */
#app .main .view .page-head>div:has(>h2){display:none!important}
#app .main .view .page-head:not(:has(>:not(div:has(>h2)))){display:none!important}
#app .main .view .page-head{justify-content:flex-start!important}
/* Work cards: no thick category stripe (the column and badges already show it), Home card shape. */
#workView .work-card{border-inline-start-width:1px!important;border-radius:18px!important}
body:not(.dark) #workView .work-card{border-color:#e3e8f2!important}

/* worker2 20261021 · ניקיון Hub: "הצג עוד" לרשימות ארוכות, כרטיסי כניסה נקיים, חיבורים בהגדרות */
.tidy-hidden{display:none!important}
.tidy-more{display:block;margin:10px auto 4px;min-width:160px;font-weight:700}
#dashboardView .app-card .card-actions{justify-content:center}
#settingsIntegrations{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:10px;margin-top:12px}
#settingsIntegrations .integration-card{border:1px solid var(--line,#e3e8f2);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:4px;background:#fff}
#settingsIntegrations .integration-top{display:flex;justify-content:space-between;align-items:center;font-weight:700}
#settingsIntegrations .integration-top i{width:10px;height:10px;border-radius:50%;background:#e0a100}
#settingsIntegrations .integration-card.ok .integration-top i{background:#13a76b}
#settingsIntegrations .integration-card small{color:var(--muted,#75809a)}
#homeTechToggle{white-space:nowrap}
/* מסך הבית: בלי כפילויות — ניהול מערכות במסך "מערכות", קיצורי ניהול בתפריט העליון */
#dashboardView #dashboardAddSystem,#dashboardView .quick-control,#dashboardView .suite-overview-card{display:none!important}

/* worker2 20261021b · בריאות — כרטיסים חיים */
.wearables-view .wearable-people{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,460px),1fr));gap:18px}
.wr-card{display:flex;flex-direction:column;gap:14px;padding:20px!important;border-radius:20px!important}
.wr-head{display:flex;align-items:center;gap:12px}
.wr-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;font-size:1.3rem;flex:none;background:#613df2}
.wr-c1{background:#e5484d}.wr-c2{background:#13a76b}.wr-c3{background:#f08a24}.wr-c4{background:#0ea5b7}
.wr-who{flex:1;min-width:0}.wr-who h3{margin:0;font-size:1.2rem}.wr-who p{margin:2px 0 0;color:var(--muted,#75809a);font-size:.88rem}
.wr-status{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;background:#f1f3f8;color:#5b6478;font-weight:700;font-size:.85rem;white-space:nowrap}
.wr-status i{width:8px;height:8px;border-radius:50%;background:#a3abbd}
.wr-status.online{background:#e7f7ef;color:#0f7a4f}.wr-status.online i{background:#13a76b;box-shadow:0 0 0 0 rgba(19,167,107,.5);animation:wr-pulse 2s infinite}
.wr-status.offline{background:#fff4e0;color:#9a5b00}.wr-status.offline i{background:#e0a100}
@keyframes wr-pulse{0%{box-shadow:0 0 0 0 rgba(19,167,107,.5)}70%{box-shadow:0 0 0 8px rgba(19,167,107,0)}100%{box-shadow:0 0 0 0 rgba(19,167,107,0)}}
@media (prefers-reduced-motion:reduce){.wr-status.online i{animation:none}}
.wr-alert{background:#fff4e0;border:1px solid #f3d9a4;color:#7a4b00;border-radius:12px;padding:10px 12px;font-size:.9rem}
.wr-today{display:grid;grid-template-columns:auto 1fr;gap:14px;align-items:center}
.wr-rings{display:flex;gap:10px}
.wr-ring{position:relative;width:112px;height:112px}
.wr-ring svg{width:100%;height:100%}
.wr-track{fill:none;stroke:#eef1f7;stroke-width:9}
.wr-fill{fill:none;stroke-width:9;stroke-linecap:round;transition:stroke-dasharray .8s ease}
.wr-ring.steps .wr-fill{stroke:#613df2}.wr-ring.sleep .wr-fill{stroke:#3b6fe0}
.wr-ring-text{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 14px}
.wr-ring-text b{font-size:1.15rem;line-height:1.1}.wr-ring-text small{font-size:.68rem;color:var(--muted,#75809a);line-height:1.2;margin-top:3px}
.wr-tiles{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.wr-tile{display:flex;gap:8px;align-items:center;background:#f7f8fc;border-radius:12px;padding:9px 10px;min-width:0}
.wr-tile-icon{font-size:1.2rem}
.wr-tile small{display:block;color:var(--muted,#75809a);font-size:.75rem}.wr-tile b{display:block;font-size:1.05rem}.wr-tile em{display:block;font-style:normal;color:var(--muted,#75809a);font-size:.72rem}
.wr-spark{display:flex;align-items:center;gap:10px;background:#faf9ff;border-radius:12px;padding:8px 12px}
.wr-spark small{color:var(--muted,#75809a);white-space:nowrap;font-size:.8rem}
.wr-spark-bars{flex:1;height:36px}.wr-spark-bars svg{width:100%;height:36px}
.wr-spark-bars rect{fill:#c9bdfb}.wr-spark-bars rect.today{fill:#613df2}
.wr-more summary,.wr-manage summary{cursor:pointer;color:#613df2;font-weight:700;font-size:.9rem}
.wr-more-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px;margin-top:8px}
.wr-more-grid div{background:#f7f8fc;border-radius:10px;padding:8px}.wr-more-grid small{display:block;color:var(--muted,#75809a);font-size:.75rem}
.wr-actions{display:flex;gap:8px;flex-wrap:wrap}
.wr-actions a,.wr-actions button{text-decoration:none}
.wr-device{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 0;border-top:1px solid var(--line,#eef1f7);font-size:.88rem}
.wr-device.old{color:var(--muted,#75809a)}
.wr-empty{background:#f7f8fc;border-radius:12px;padding:16px;color:#5b6478}
.wearables-view .wearable-summary{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.wearables-view .wearable-privacy,.wearables-view #wearableAppStatus,.wearables-view #wearableApk{display:none!important}
@media(max-width:600px){.wr-today{grid-template-columns:1fr}.wr-rings{justify-content:center}.wr-ring{width:104px;height:104px}}

/* worker2 20261021b · משתמשים — כרטיסים ברורים */
#usersTable{display:grid;gap:12px}
.uc-card{border:1px solid var(--line,#e3e8f2);border-radius:16px;padding:14px 16px;background:#fff;display:flex;flex-direction:column;gap:10px}
.uc-card.disabled{opacity:.6}
.uc-head{display:flex;align-items:center;gap:12px}
.uc-head .avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font-weight:800;background:#613df2;flex:none}
.uc-c1{background:#e5484d!important}.uc-c2{background:#13a76b!important}.uc-c3{background:#f08a24!important}.uc-c4{background:#0ea5b7!important}.uc-c5{background:#8b5cf6!important}
.uc-who{flex:1;min-width:0;display:flex;flex-direction:column}.uc-who small{color:var(--muted,#75809a);font-size:.82rem}
.uc-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.uc-apps{display:flex;flex-wrap:wrap;gap:6px}
.uc-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:999px;font-size:.82rem;border:1px solid var(--line,#e3e8f2);color:#9aa3b8;background:#fafbfd}
.uc-chip.on{background:#efeaff;border-color:#d9cffd;color:#3d2a9e;font-weight:700}
.uc-chip em{font-style:normal;font-weight:500;color:#6b5bd0;font-size:.75rem}
.uc-actions{display:flex;gap:8px}
#inviteChannels{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 10px}
.invites-past{margin-top:12px}.invites-past summary{cursor:pointer;color:#613df2;font-weight:700;padding:6px 0}
.users-page-head p,.users-panel .panel-head p,.invitations-panel .panel-head p{display:none}
#usersTable.data-table{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr))!important;gap:12px!important;padding:12px!important;border:0!important}
#usersTable .uc-head{display:flex!important;align-items:center!important;gap:12px!important}
#usersTable .uc-who{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:1px}
#usersTable .uc-who small{display:block!important}
body #app #usersTable .uc-head .avatar{background:#613df2!important;color:#fff!important}
body #app #usersTable .uc-head .avatar.uc-c1{background:#e5484d!important}body #app #usersTable .uc-head .avatar.uc-c2{background:#13a76b!important}body #app #usersTable .uc-head .avatar.uc-c3{background:#f08a24!important}body #app #usersTable .uc-head .avatar.uc-c4{background:#0ea5b7!important}body #app #usersTable .uc-head .avatar.uc-c5{background:#8b5cf6!important}
.users-management-grid{display:flex!important;flex-direction:column!important;gap:18px}
.users-management-grid>.panel{width:100%!important;max-width:none!important;align-self:stretch!important}
.users-management-grid .users-panel{order:1}.users-management-grid .invitations-panel{order:2}
#inviteChannels.invite-channels{display:flex!important;flex-wrap:wrap;gap:8px;padding:10px 16px!important;border:0!important;background:none!important}
#inviteChannels .channel-pill{flex:none!important;width:auto!important}
.wr-spark[hidden],.wr-more[hidden]{display:none!important}
/* worker2 20261021c · תמונות בני הבית מהלוח המשפחתי */
.avatar,.wr-avatar,#profile .avatar{position:relative;overflow:hidden}
.pa-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}

/* worker2 20261021d · סבב 2: אוטומציות, תחזוקה, מרכז עבודה, סוכן, פעילות, הגדרות */
/* פחות טקסט הסבר — הכותרות מספיקות */
#automationsView .panel-head p,#maintenanceView .panel-head p,#maintenanceView .maintenance-card-head p,#auditView .panel-head p,#workView .panel-head p,#settingsView .settings-section-head p,#automationsView .section-head:not(.page-head) p{display:none}
/* אוטומציות: שורה אחת לכל אוטומציה */
#automationsList{display:flex!important;flex-direction:column!important;gap:8px!important}
.ar-row{display:grid;grid-template-columns:40px minmax(180px,2fr) minmax(90px,1fr) minmax(90px,1fr) auto auto;align-items:center;gap:14px;background:#fff;border:1px solid var(--line,#e3e8f2);border-radius:14px;padding:10px 14px;transition:box-shadow .15s}
.ar-row:hover{box-shadow:0 4px 14px rgba(23,32,51,.07)}
.ar-row.disabled{opacity:.6}
.ar-row.bad,.ar-row.error{border-color:#f3c2c4;background:#fff7f7}
.ar-icon{width:36px;height:36px;border-radius:10px;background:#efeaff;display:grid;place-items:center}
.ar-icon img,.ar-icon svg{width:18px;height:18px}
.ar-main{min-width:0}.ar-main b{display:block;font-size:.98rem}.ar-main small{display:block;color:var(--muted,#75809a);font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ar-fact small{display:block;color:var(--muted,#75809a);font-size:.72rem}.ar-fact b{font-size:.88rem}
.ar-actions{display:flex;align-items:center;gap:6px}
.ar-actions .switch{margin-inline-start:6px}
@media(max-width:900px){.ar-row{grid-template-columns:36px 1fr auto;grid-template-areas:"i m s" "f1 f2 f2" "a a a"}.ar-icon{grid-area:i}.ar-main{grid-area:m}.ar-row .automation-state{grid-area:s}.ar-row .ar-fact:nth-of-type(1){grid-area:f1}.ar-row .ar-fact:nth-of-type(2){grid-area:f2}.ar-actions{grid-area:a;justify-content:flex-end}}
#smartAutomationTemplates{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
#smartAutomationTemplates .smart-template{display:inline-flex!important;align-items:center;gap:10px;width:auto!important;min-height:0!important;padding:8px 14px!important;border-radius:999px!important}
#smartAutomationTemplates .smart-template span{color:#613df2;font-weight:700;font-size:.82rem}
/* תחזוקה: גרף העלויות */
.usage-bars{display:flex!important;align-items:flex-end!important;gap:3px!important;height:160px!important;padding:6px 0!important;overflow-x:auto}
.usage-day{flex:1 1 0;min-width:12px;height:100%;display:flex!important;flex-direction:column;justify-content:flex-end;align-items:center;gap:4px}
.usage-day i{display:block;width:100%;background:linear-gradient(180deg,#8b6cff,#613df2);border-radius:4px 4px 0 0;min-height:3px}
.usage-day small{font-size:.62rem;color:var(--muted,#75809a);writing-mode:vertical-rl;transform:rotate(180deg);height:30px}
/* מרכז עבודה: עמודות ברוחב קריא, גלילה לצד במקום כרטיסים חופפים */
/* worker2 20261022: columns wrap onto more rows instead of running off the screen */
#workBoard.work-board{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))!important;grid-auto-columns:auto!important;overflow:visible!important;align-items:start!important;padding-bottom:8px}
#workBoard .work-column{min-width:0}
#workBoard .work-column:has(.empty){opacity:.75}
/* סוכן: השיחה במרכז, בלי חלונית ההסברים */
.agent-layout{display:block!important}
.agent-layout .agent-guide{display:none!important}
.agent-chat{max-width:1000px;margin:0 auto}
.agent-page-head p{display:none}
.agent-status.online{background:#e7f7ef;color:#0f7a4f}.agent-status.offline{background:#fff4e0;color:#9a5b00}
/* הגדרות: סדר */
#settingsView .settings-section{border-radius:18px}
#settingsEnvSummary:empty{display:none}
.agent-messages{display:flex;flex-direction:column;gap:10px}
.agent-msg{display:flex}.agent-msg.user{justify-content:flex-start}.agent-msg.agent{justify-content:flex-end}
.agent-bubble{max-width:78%;padding:10px 14px;border-radius:16px;background:#f3f4f8}
.agent-msg.user .agent-bubble{background:#efeaff;border-bottom-right-radius:4px}
.agent-msg.agent .agent-bubble{background:#f3f4f8;border-bottom-left-radius:4px}
.agent-bubble b{font-size:.8rem;color:#613df2}.agent-bubble p{margin:4px 0;white-space:pre-wrap}.agent-bubble small{color:var(--muted,#75809a);font-size:.72rem}
#workBoard .work-list,#workBoard .work-card{min-width:0!important;max-width:100%!important;box-sizing:border-box}
#workBoard .work-card,#workBoard .work-card *{overflow-wrap:anywhere;word-break:break-word}
/* worker2 20261022a · תמונות כמו בלוח המשפחתי: רקע בגוון של בן המשפחה, בלי חיתוך */
.pa-img{object-fit:contain!important;background:transparent!important}
.has-photo{color:transparent!important}
/* worker2 20261022b · שלב קוד הבוט בכניסה ראשונה */
.login-bot-code{display:flex;flex-direction:column;gap:10px;margin:6px 0 4px}
.login-bot-code p{margin:0;color:#5b6478;line-height:1.6}
.login-bot-code label{display:block;font-size:.85rem;color:#5b6478;margin-top:6px}
.login-bot-code input{font-size:1.5rem;letter-spacing:.45em;text-align:center;padding:10px;border-radius:12px}
.login-bot-wait{display:flex;flex-direction:column;align-items:center;gap:6px;background:#faf8ff;border:1px solid #e3dafc;border-radius:16px;padding:14px;margin:4px 0}
.login-bot-wait span{color:#5b6478}
.login-bot-wait b{font:800 3rem/1 system-ui,sans-serif;color:#613df2;letter-spacing:.06em}
.login-bot-wait small{color:#75809a}
/* worker2 20261023: team room entry in the dashboard banner */
.command-actions .team-room-entry{text-decoration:none!important;display:inline-flex!important;align-items:center;gap:8px;color:#3d2a9e!important;border-color:#d9cffd!important;background:#f7f5ff!important}
.command-actions .team-room-entry .team-room-spark{display:grid;place-items:center;width:22px;height:22px;border-radius:7px;background:linear-gradient(145deg,#633cff,#7b5cff);color:#fff;font-size:.8rem}
/* worker2 20261023: soft-button links look like buttons, not underlined text */
a.soft-button{text-decoration:none!important;display:inline-flex;align-items:center;gap:6px;color:inherit}
