.live-banner{height:30px;display:flex;align-items:center;gap:12px;padding:0 17px;background:#def3e8;color:#215940;font-size:11px}
.live-banner strong{font-size:10px;letter-spacing:1px}.live-banner a{margin-left:auto;color:#215940;font-weight:750}
.live-section{padding:24px;overflow-y:auto}.live-section h2{margin:3px 0}.live-section p{line-height:1.5}
.live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:13px}
.live-card{background:#fff;padding:17px;border:1px solid #e0e9e2;border-radius:12px;box-shadow:0 4px 20px #182b200b;overflow-wrap:anywhere}
.live-card h3{font-size:15px;margin:2px 0 9px}.live-card p{font-size:12px;margin:7px 0;color:#5b7268}
.live-card .live-hint,.live-hint{font-size:12px;color:#798b82;padding:12px}
.live-card small{font-size:10px;color:#738a7f}.live-card a{color:#0b785c;font-weight:700}
.live-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.live-actions button{border:1px solid #bdd9c9;border-radius:7px;background:#f0f7f3;padding:8px;color:#17684b;cursor:pointer;font-size:11px;font-weight:700}
.live-thread{display:flex;text-align:left;gap:9px;width:100%;border:0;border-bottom:1px solid #e6eeea;background:#fff;padding:13px;cursor:pointer}
.live-thread:hover,.live-thread.selected{background:#ecf6f0}.live-thread strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-thread small{font-size:11px;color:#73867d;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.live-thread .cnt{background:#d9efe1;font-size:10px;padding:4px 7px;border-radius:10px;margin-left:auto}
.live-avatar{width:39px;height:39px;display:grid;place-items:center;flex:none;border-radius:50%;background:#e6f0e8;color:#217358;font-weight:800}
.live-contact{padding:17px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.live-contact strong{display:block;font-size:14px}
.live-contact select,.live-contact textarea{max-width:100%;width:100%;padding:8px;border:1px solid #e0e8e1;border-radius:7px}
.live-contact button{padding:8px;margin-top:10px;border-radius:8px;border:1px solid #b6dccc;background:#edf7f2;color:#146d53;cursor:pointer}
.chat-messages .live-bubble{max-width:84%;margin:12px;padding:12px;border-radius:11px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.5}
.chat-messages .live-bubble.out{margin-left:auto;background:#e2f5e9}.live-bubble small{display:block;font-size:10px;text-align:right;color:#75877d;margin-top:7px}
.live-day-orders{padding:14px}.live-day-orders p{margin:9px 0;font-size:12px}.live-day-tasks{padding:8px 14px;max-height:420px;overflow-y:auto}
.live-task{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid #e8eeea;font-size:11px}
.live-task.done{opacity:.6}.live-task button{border:1px solid #c2dccc;border-radius:6px;background:white;color:#0b7253;cursor:pointer;font-size:10px;padding:5px 7px}
#bootstrap-tasks{margin:12px}.live-date{display:flex;align-items:center;gap:12px;margin:14px 0}
.live-date input{max-width:200px}.live-section a{color:#0b7658}
.live-warning{position:fixed;z-index:100;top:20%;left:50%;transform:translateX(-50%);background:#fff5da;border:1px solid #e0c783;padding:22px;border-radius:12px}
.live-flash{display:none;position:fixed;z-index:101;bottom:20px;right:20px;max-width:400px;background:#163d32;color:white;padding:13px;border-radius:9px;font-size:12px}
.live-modal{position:fixed;inset:0;z-index:90;background:#0a1915bb;display:grid;place-items:center;padding:12px}.live-modal.hidden,.hidden{display:none!important}
.live-modal-box{position:relative;width:min(700px,100%);max-height:95vh;overflow:auto;background:#fff;border-radius:16px;padding:25px}
.live-modal-box h2{font-size:21px}.live-modal-box p{font-size:12px;color:#6c8479}.live-close{position:absolute;right:14px;top:14px;border:0;background:transparent;font-size:25px;cursor:pointer}
.live-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:18px}
.live-form label{font-size:11px;color:#5b7567;font-weight:700;display:grid;gap:5px}
.live-form input,.live-form textarea{width:100%;padding:9px;border:1px solid #d2e0d6;border-radius:8px;font:inherit}.live-form .live-wide{grid-column:1/-1}
@media(max-width:800px){.live-section{padding:12px}.live-banner span{display:none}}
@media(max-width:620px){.live-form{grid-template-columns:1fr}.live-form .live-wide{grid-column:auto}.live-grid{grid-template-columns:1fr}.live-bubble{max-width:94%}}

.live-requirement{border-bottom:1px solid #e2ece6;padding:10px 0}
.live-requirement strong{font-size:12px}
.live-requirement p{font-size:11px;color:#667c71;margin:5px 0}
.live-requirement .live-actions{margin:7px 0}
.live-requirement button{font-size:10px;background:#e4f5eb;border:1px solid #b8dbc5;border-radius:7px;color:#126d4e;padding:5px 9px;cursor:pointer}
.live-business-tabs{display:flex;flex-wrap:wrap;gap:7px;margin:17px 0}
.live-business-tabs button{padding:10px 14px;background:white;border:1px solid #d2e5d9;border-radius:8px;color:#35644f;cursor:pointer}
.live-business-tabs button.chosen{background:#126f61;color:white}
.live-business-panel{background:#fff;border:1px solid #e3ede6;padding:19px;border-radius:13px;margin:12px 0}
.live-business-panel h3{font-size:16px}
.live-business-panel form{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}
.live-business-panel input,.live-business-panel select{padding:10px;border:1px solid #d9e6dd;border-radius:8px;max-width:270px;min-width:110px;font:inherit}
.live-business-panel button{padding:9px 12px;background:#146c57;border:0;color:white;border-radius:8px;cursor:pointer}
.live-business-table{overflow:auto;max-width:100%}
.live-business-table table{border-collapse:collapse;width:100%;font-size:12px}
.live-business-table th,.live-business-table td{white-space:nowrap;text-align:left;border-bottom:1px solid #e8efe9;padding:10px}
.live-business-table button{padding:5px 8px;font-size:10px}
@media(max-width:620px){.live-business-panel{padding:12px}.live-business-panel form{display:grid;grid-template-columns:1fr 1fr}.live-business-panel input,.live-business-panel select{width:100%;min-width:0}.live-business-tabs button{flex:1 1 110px}}

.live-contact label{display:block;font-size:11px;font-weight:700;margin-top:12px;color:#44645a}.live-contact input{width:100%;max-width:100%;padding:8px;border:1px solid #e1e8e2;border-radius:7px}

#day-orders button{margin-left:5px;border:1px solid #c3dbcc;border-radius:7px;background:white;padding:5px 9px;color:#0d7855;cursor:pointer}#edit-operational{border-radius:10px;background:#e8f4ec;max-height:470px;overflow:auto;padding:15px}#edit-operational .live-form{gap:9px}#edit-operational button{border:1px solid #b3dac3;background:#146c57;border-radius:7px;color:white;padding:8px;cursor:pointer}


.template-quick{display:flex;gap:7px;padding:7px 12px 0;background:#f8fbf9}
.template-quick select{flex:1;min-width:0;font-size:12px;padding:8px;border:1px solid #c8dfd0;border-radius:7px;background:white}
.template-quick button,.template-editor button{font-size:12px;border:1px solid #b9d8c5;border-radius:8px;background:#e4f4ea;color:#14644c;padding:8px 11px;font-weight:700;cursor:pointer}
.template-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;margin-top:14px;align-items:start}
.template-card pre{font:12px/1.6 inherit;font-family:inherit;white-space:pre-wrap;word-break:break-word;background:#f7faf8;border:1px solid #e4eee7;border-radius:8px;padding:12px;max-height:310px;overflow-y:auto}
.template-card .template-warning{font-weight:700;color:#895f21}
.template-editor{display:grid;gap:12px}.template-editor label{display:grid;gap:6px;font-size:13px;font-weight:700;color:#325b48}
.template-editor input:not([type="checkbox"]),.template-editor textarea{width:100%;padding:10px;border:1px solid #caddd0;border-radius:8px;font:inherit}
.template-editor textarea{resize:vertical;min-height:250px}.template-editor .review-line{display:flex;align-items:center;gap:9px}
@media(max-width:620px){.template-quick button{white-space:normal;max-width:98px}.template-list{grid-template-columns:1fr}}
