.chat-page{padding:0!important;min-height:0!important;height:var(--chat-height,100dvh);display:flex;flex-direction:column;overflow:hidden;background:#f0ede6!important}
.chat-page:before{display:none}.chat-page #module-back{margin:0!important;padding:12px 18px 5px;flex-shrink:0;background:#fff!important;font-size:13px;text-align:right;border-radius:0}
.chat-page #module-home{display:none}.chat-page #module-content{min-height:0;flex:1;display:flex;flex-direction:column;overflow:hidden}.group-header{display:flex;align-items:center;gap:12px;background:#fff;padding:10px 18px 14px;border-bottom:1px solid #e1e4df;flex-shrink:0}.group-header h1{font-size:19px!important;margin:0 0 4px!important;letter-spacing:0}.group-header div>span{font-size:11px;color:#7b8578}.group-avatar{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#dce7d4;color:#455d3c;font-weight:750;font-size:13px}
.chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 13px;display:flex;flex-direction:column;gap:8px;background:radial-gradient(circle at 10% 20%,#dbe3d955 0 2px,transparent 3px),#efede6;background-size:24px 24px;scrollbar-width:thin}.chat-bubble{flex-shrink:0;max-width:83%;min-width:90px;padding:9px 11px 6px;border-radius:15px;box-shadow:0 1px 2px #14251210;text-align:right;overflow-wrap:anywhere}.chat-own{align-self:flex-start;background:#dfedcf;border-top-right-radius:4px}.chat-other{align-self:flex-end;background:#fff;border-top-left-radius:4px}.chat-author{font-size:11px;font-weight:750;color:#587651}.chat-text{font-size:15px;line-height:1.55;white-space:pre-wrap;margin:4px 0}.chat-time{display:block;text-align:left;font-size:10px;color:#7c8775;direction:ltr;margin-top:3px}.chat-day{align-self:center;background:#ffffffc9;border-radius:8px;padding:4px 12px;color:#7f857b;font-size:11px;margin:8px 0;flex-shrink:0}.chat-empty{margin:auto;text-align:center;white-space:pre-line;font-size:14px;color:#7d8975;line-height:1.8}.chat-bubble .team-chat-image{margin:6px 0;max-height:270px;border-radius:9px}
.chat-composer{position:relative;display:flex;align-items:flex-end;gap:8px;flex-shrink:0;padding:10px 12px max(12px,env(safe-area-inset-bottom));margin:0;background:#f7f8f4;border-top:1px solid #dce1d6}.chat-composer textarea{box-sizing:border-box;flex:1;min-width:0;max-height:100px;min-height:42px;resize:none;border:1px solid #e0e5da;border-radius:22px;background:#fff;font:16px -apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;padding:10px 14px;line-height:20px;margin:0;color:#273024;outline-offset:1px}.chat-add,.chat-send{display:grid;place-items:center;border:0;padding:0;flex-shrink:0;width:40px;height:42px;border-radius:50%;font-size:27px;background:transparent;color:#607257}.chat-send{background:#526c45;color:#fff;font-size:20px;width:42px;transform:scaleX(-1)}.chat-send:disabled{opacity:.4}.chat-status{flex-shrink:0;background:#f7f8f4;color:#975341;font-size:12px;margin:0;padding:0 16px}.chat-status:not(:empty){padding:8px 16px}.chat-attachment{position:absolute;bottom:100%;right:12px;padding:8px;background:#fff;border-radius:13px;box-shadow:0 2px 14px #0002}.chat-attachment .team-chat-image{width:82px;height:82px;object-fit:cover;margin:0}.chat-remove{position:absolute;top:-6px;left:-6px;border:0;border-radius:50%;width:25px;height:25px;background:#526c45;color:white;font-size:19px}
@media(max-width:600px){body:has(.chat-page:not([hidden])) .bar{display:none}body:has(.chat-page:not([hidden])) .device{margin:0!important;min-height:0!important}body:has(.chat-page:not([hidden])) .home-line{display:none}}
.management-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0 18px}.management-tile{background:#fff;border:1px solid #e5e8ec;box-shadow:0 4px 18px #18314308;border-radius:20px;padding:18px 14px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;text-align:right;color:#183143;min-width:0;cursor:pointer}.management-icon{font-size:24px}.management-tile strong{font-size:16px}.management-tile small{font-size:12px;color:#647481;line-height:1.5}.management-wide{width:100%;margin:6px 0 16px;min-height:46px}.management-card{margin:14px 0}.management-card h2{font-size:19px;line-height:1.5;margin:12px 0 6px}.management-card h3{font-size:15px;margin-top:18px}.management-date{font-weight:600;color:#576b79}.management-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:600;margin-bottom:16px}.management-field input,.management-field textarea,.management-field select,.week-toolbar input{box-sizing:border-box;min-width:0;width:100%;font:inherit;font-size:16px;background:#f6f8fa;border:1px solid #d7e0e6;border-radius:12px;padding:12px;color:#183143;direction:rtl}.management-field textarea{resize:vertical}.management-form{margin-top:12px}.people-picker{border:1px solid #d7e0e6;border-radius:14px;padding:12px;display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:6px 0 18px;min-width:0}.people-picker legend{font-size:14px;padding:0 6px}.person-choice{display:flex;align-items:center;gap:8px;padding:9px 5px;border-radius:8px;font-size:14px;background:#f5f7f9;cursor:pointer}.person-choice input{width:20px;height:20px;accent-color:#197e7d;flex-shrink:0}.people-chips{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.people-chips span{padding:7px 11px;border-radius:30px;background:#edf3f4;color:#24585c;font-size:13px}.response-list{border-top:1px solid #e9edf0;padding:12px 0 3px;margin-top:10px}.response-list summary{font-size:14px;font-weight:600;cursor:pointer}.management-feedback:empty{display:none}.management-feedback{font-size:14px;padding:10px;border-radius:10px;background:#f0f5f7;color:#285860;overflow-wrap:anywhere}.team-utilities{display:flex;gap:10px;justify-content:center;padding:5px;grid-column:1/-1}.team-utilities button{font-size:12px;background:#ffffffdf}.week-toolbar{display:grid;grid-template-columns:auto 1fr auto;gap:6px;align-items:center}.week-toolbar button{font-size:11px;padding:8px 5px;margin:0;white-space:nowrap}.week-toolbar input{font-size:13px;padding:10px 4px;direction:ltr}.week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:16px 0}.week-day{border:1px solid #dde5e9;background:#fff;color:#4b626e;border-radius:12px;padding:9px 0;white-space:pre-line;line-height:1.7;font:inherit;font-size:13px;cursor:pointer}.week-day[aria-pressed=true]{background:#245b61;border-color:#245b61;color:white}.issue-new{background:#fff1e0;color:#976220}.issue-progress{background:#e6f1ff;color:#276499}.issue-resolved{background:#e9f5ec;color:#307c48}.management-form button:disabled{opacity:.5}.management-form input:focus,.management-form textarea:focus,.management-form select:focus{outline:2px solid #79aaa9;outline-offset:2px}
.remember-name{display:flex;align-items:center;gap:9px;font-size:13px;color:#58624f;margin:14px 2px 6px;cursor:pointer}.remember-name input{width:18px;height:18px;accent-color:#526c45}.tiny-report{display:block;margin:8px auto 0;padding:9px 13px;min-height:34px;border:0;background:transparent;color:#687360;font-size:11px;text-decoration:underline;text-underline-offset:3px;position:relative;z-index:2}.tiny-report:focus-visible{outline:2px solid #526c45;outline-offset:2px}#module-page>.tiny-report{margin:0 0 4px auto;text-align:left}.chat-page>.tiny-report{background:white;width:100%;text-align:left;padding:3px 18px 7px;margin:0;flex-shrink:0;min-height:26px}.report-dialog{direction:rtl;box-sizing:border-box;width:min(420px,calc(100vw - 28px));max-height:calc(100dvh - 40px);overflow:auto;border:1px solid #d9dfd3;border-radius:24px;background:#fcfdf9;color:#243323;padding:24px;box-shadow:0 20px 80px #10221145;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif}.report-dialog::backdrop{background:#0b1c1790;backdrop-filter:blur(5px)}.report-dialog h2{font-size:22px;margin:8px 0 6px}.report-dialog .fine{color:#667260;font-size:12px;line-height:1.6}.report-close{float:left;font:inherit;font-size:13px;border:0;border-radius:12px;padding:8px 12px;background:#eaf0e5;color:#34472c}.report-dialog .primary{background:#526c45;color:white;border:0;border-radius:14px;min-height:46px;font:inherit;font-weight:600}.report-dialog button:disabled{opacity:.5}.account-card h2{font-size:18px}.account-card button{margin-left:8px}.remember-name input:focus-visible{outline:2px solid #526c45;outline-offset:3px}

/* Local inventory hub and monthly team contributions */
.hub-pocket-small{display:flex;justify-content:center;margin:8px 0 12px}
.hub-pocket-small .read-button{font-size:12px;padding:6px 12px;min-height:32px;background:transparent;border:1px solid #ffffff55;color:inherit;border-radius:12px;opacity:.8}
.extra-stock-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.extra-stock-card{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#334735;min-height:130px;cursor:pointer;font:inherit;width:100%}
.extra-stock-icon{font-size:40px}.cash-controls{display:flex;gap:10px;margin:12px 0}.cash-controls input,.cash-controls select{min-width:0;width:50%;padding:12px;border:1px solid #d8ded4;border-radius:12px;font:inherit;background:#fff}
.cash-summary{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding:18px;background:#e8eee2;border-radius:18px;margin-bottom:16px;color:#334735}
.cash-person h2{font-size:18px;margin:0 0 8px}.cash-table-wrap{overflow:auto;max-width:100%;margin-top:16px}.cash-table-wrap table{border-collapse:collapse;white-space:nowrap;font-size:13px}.cash-table-wrap th,.cash-table-wrap td{padding:8px;border-bottom:1px solid #dde2d8;text-align:center}.cash-table-wrap th:first-child{position:sticky;right:0;background:#f5f6f0;z-index:1}.cash-table-wrap button{font-size:12px}

/* Four equal inventory destinations */
.trailer-list.stock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.stock-grid .trailer-card{margin:0;padding:10px;min-width:0;border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#fbfcf7,#e9eee5);box-shadow:0 4px 14px #183c2510;border:1px solid #d9e1d4;position:relative}
.stock-grid .trailer-card img,.stock-grid .warehouse-art{display:block;width:100%;height:125px;object-fit:contain;margin:0;border-radius:12px}
.stock-grid .warehouse-art{display:flex;align-items:center;justify-content:center}.warehouse-art svg{height:105px;width:100%}
.stock-grid .trailer-card figcaption{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:10px 2px 2px;min-height:57px}
.stock-grid .trailer-card h2{font-size:17px;line-height:1.3;margin:0;color:#2e493b}.stock-grid .trailer-meta{font-size:11px;line-height:1.4;white-space:normal;color:#647468}.stock-grid .trailer-name{gap:5px}
@media(max-width:360px){.stock-grid .trailer-card img,.stock-grid .warehouse-art{height:105px}.trailer-list.stock-grid{gap:8px}}

/* Let home cards cover the decorative pole, reclaiming its reserved gutter. */
#hub.scene{padding-left:20px;padding-right:20px}
#hub>.pole-rail{z-index:0;pointer-events:none}
#hub>.hub-options,#hub>.hub-intro,#hub>.topbar,#hub>#team-chat-open,#hub>.hub-pocket-small{position:relative;z-index:1}
#hub .hub-options{width:100%;margin-left:0;margin-right:0}
.stock-grid .trailer-dot{display:none}
.stock-grid .trailer-card.gray img{mix-blend-mode:multiply}
@media(max-width:350px){#hub.scene{padding-left:14px;padding-right:14px}}

/* Completed tasks retain clear text and a prominent, accessible status. */
.message-card.task-completed{border:2px solid #2f9461;background:#f0faf4}
.task-completed-badge{display:flex;align-items:center;gap:10px;color:#17643c;margin-bottom:12px;font-size:18px}
.task-completed-mark{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#21834e;color:#fff;font-size:30px;font-weight:800;line-height:1}

#module-page.cash-page{min-height:100dvh;background:#f6f7f2;animation:none}

.maor-reminder{display:flex;align-items:flex-end;gap:12px;margin:6px 0 20px;position:relative;z-index:2;direction:rtl}
.maor-head{width:82px;height:92px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 3px #26332120);animation:maor-hello .4s ease-out both}
.maor-bubble{position:relative;flex:1;min-width:0;padding:13px 14px;background:#fffdf6;border:2px solid #354835;border-radius:17px;box-shadow:0 4px 0 #35483516;color:#263728;text-align:right}
.maor-bubble:before{content:'';position:absolute;right:-8px;bottom:23px;width:12px;height:12px;background:#fffdf6;border-right:2px solid #354835;border-bottom:2px solid #354835;transform:rotate(-45deg)}
.maor-label{font-size:11px;font-weight:700;color:#62734e}.maor-message{font-size:14px;line-height:1.6;margin:5px 0 8px;padding-left:8px}
.maor-dismiss{position:absolute;left:0;top:0;min-width:36px;min-height:36px;border:0;background:transparent;color:#62734e;font-size:23px;border-radius:14px}
.maor-open{background:#edf2e4;color:#345027;border:0;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:700;min-height:38px}
@keyframes maor-hello{from{opacity:0;transform:translateY(8px) rotate(-5deg)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.maor-head{animation:none}}
@media(max-width:350px){.maor-head{width:64px;height:76px}.maor-reminder{gap:9px}.maor-message{font-size:13px}}

/* The generated portrait has a painted transparency grid: clip to its head silhouette. */
.maor-head{object-fit:fill;clip-path:polygon(39% 1%,54% 1%,66% 3%,73% 8%,76% 14%,78% 20%,80% 28%,81% 41%,84% 43%,86% 48%,86% 56%,85% 60%,82% 64%,78% 64%,76% 72%,72% 80%,65% 87%,56% 93%,48% 94%,41% 92%,36% 87%,31% 80%,27% 73%,23% 65%,19% 63%,17% 57%,18% 51%,20% 49%,17% 39%,15% 30%,17% 23%,16% 21%,21% 14%,29% 7%)}

.shai-morning-head{display:block;width:112px;flex-shrink:0;align-self:center;filter:drop-shadow(0 4px 3px #26332120)}.shai-morning-head[hidden]{display:none}.shai-morning-head svg{display:block;width:100%;height:auto;overflow:visible}.shai-morning .maor-bubble{background:#fff9e9;border-color:#8a7445}.shai-morning .maor-bubble:before{background:#fff9e9;border-color:#8a7445}.maor-message{white-space:pre-line}
