@import url("./reference.css");

.brand-logo{display:block;width:46px!important;height:46px!important;max-width:46px!important;max-height:46px!important;object-fit:contain;border-radius:0;background:#ffffff;color:transparent;padding:3px;flex:0 0 46px; border-radius:0;}

/* Shared SLPS module surfaces use the attached reference dashboard palette and spacing. */
.module-form{display:grid;gap:16px}.module-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.module-form label{display:grid;gap:6px;color:#405448;font-size:13px;font-weight:650}.module-form input,.module-form select,.module-form textarea{width:100%;min-height:42px;padding:10px 12px;border:1px solid #d8e1da;border-radius:0;background:#fff;color:#20392d;font:inherit}.module-form textarea{resize:vertical}.module-form .wide{grid-column:1/-1}.module-form .button{justify-self:start}.table-wrap{overflow:auto;width:100%}#records{width:100%;border-collapse:collapse;font-size:13px}#records th,#records td{padding:12px 14px;border-bottom:1px solid #e6ece7;text-align:left;vertical-align:top}#records th{background:#f4f7f4;color:#28533c;font-size:11px;text-transform:capitalize;letter-spacing:.04em;white-space:nowrap}#records td{color:#34463a;max-width:420px;white-space:pre-wrap;overflow-wrap:anywhere}.empty-state{padding:28px;text-align:center;color:#78867c}.notice.success{border-left:4px solid #188a5c;background:#eef8f2;color:#20553b}.notice.error{border-left:4px solid #bd6458;background:#fff4f2;color:#7e342c}html[data-theme=dark] .module-form label,html[data-theme=dark] #records td{color:#dce8df}html[data-theme=dark] .module-form input,html[data-theme=dark] .module-form select,html[data-theme=dark] .module-form textarea{background:#17291f;border-color:#375341;color:#edf5ef}html[data-theme=dark] #records th{background:#203a2b;color:#e1eee3}html[data-theme=dark] #records th,html[data-theme=dark] #records td{border-color:#344b3a}html[data-theme=dark] .notice.success{background:#183727;color:#d5efdc}html[data-theme=dark] .notice.error{background:#482622;color:#f6d8d3}@media(max-width:700px){.module-form-grid{grid-template-columns:1fr}}
/* Larger, consistent type and the complete panel navigation on every SLPS tab. */
body{font-size:15px}.sidebar{width:260px}.workspace-label strong{font-size:15px}.workspace-label small{font-size:12px}.nav-item{font-size:15px;line-height:1.4;padding:12px 13px}.nav-label{font-size:10px;letter-spacing:1.1px;margin-top:20px}.sidebar-bottom{font-size:13px}.sidebar-bottom small{font-size:10px}.breadcrumb{font-size:12px}.page-heading p{font-size:14px}.button{font-size:14px}.section-heading p{font-size:13px}.module-form label{font-size:14px}#records{font-size:14px}#records th{font-size:12px}#records td{font-size:14px}.dashboard-button{margin-left:3px}@media(max-width:1000px){.sidebar{width:280px}}
.brand-copy strong{font-size:18px}.brand-copy small{font-size:10px;letter-spacing:2.2px}.admin-label{font-size:12px}.account-copy strong{font-size:14px}.account-copy small{font-size:12px}.site-footer{font-size:12px}

/* Keep toggles compact; text fields use the larger shared control treatment. */
.module-form input[type="checkbox"],.module-form input[type="radio"]{width:18px;min-width:18px;min-height:18px;height:18px;padding:0;border:0;border-radius:0;accent-color:#13845d;box-shadow:none;flex:0 0 auto}
.module-form label.active-toggle{display:flex;align-items:center;gap:10px;min-height:42px;padding:10px 12px;border:1px solid #d8e1da;border-radius:0;background:#f8fbf8;color:#405448}
.module-form label.active-toggle input[type="checkbox"]{margin:0}
.module-form input[type="file"]{min-height:42px;padding:7px 9px}
html[data-theme=dark] .module-form label.active-toggle{border-color:#375341;background:#17291f;color:#dce8df}

/* Professional form controls used consistently across every SLPS panel. */
.module-form label{line-height:1.45;gap:8px}
.module-form input:not([type="checkbox"]):not([type="radio"]),.module-form select,.module-form textarea{min-width:0;min-height:46px;padding:11px 13px;border:1px solid #d4dfd7;border-radius:0;background:#fff;color:#20392d;box-shadow:0 1px 2px #163b2308;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.module-form textarea{min-height:96px;line-height:1.55}
.module-form input::placeholder,.module-form textarea::placeholder{color:#9aa69e;opacity:1}
.module-form input:not([type="checkbox"]):not([type="radio"]):focus,.module-form select:focus,.module-form textarea:focus{border-color:#138b5f;outline:0;box-shadow:0 0 0 4px #138b5f1c,0 2px 5px #163b2310}
.module-form input:disabled,.module-form select:disabled,.module-form textarea:disabled{background:#f0f3f0;color:#87938a;cursor:not-allowed}
.module-form input[type="file"]{min-height:46px;padding:7px 9px;background:#f9fbf9;border-style:dashed;color:#5c6d61}
.module-form input[type="file"]::file-selector-button{margin-right:11px;padding:8px 12px;border:1px solid #cddbd1;border-radius:0;background:#fff;color:#236444;font:600 12px 'Segoe UI',Arial,sans-serif;cursor:pointer}
.module-form select[multiple]{min-height:166px;padding:8px;line-height:1.5}
.module-form select[multiple] option{padding:7px 9px;border-radius:0}
.module-form select[multiple] option:checked{background:linear-gradient(var(--green-light),var(--green-light));color:var(--green-dark)}
.module-form .field-help{display:block;color:var(--muted);font-size:11px;font-weight:400;line-height:1.55}
.module-form .field-help.wide{margin:0;padding:12px 14px;border-left:3px solid var(--gold);border-radius:0;background:var(--gold-light);color:var(--text)}
html[data-theme=dark] .module-form select[multiple] option:checked{background:linear-gradient(var(--green-light),var(--green-light));color:#e6f4e9}
html[data-theme=dark] .module-form input:not([type="checkbox"]):not([type="radio"]),html[data-theme=dark] .module-form select,html[data-theme=dark] .module-form textarea{border-color:#375341;background:#17291f;color:#edf5ef;box-shadow:none}
html[data-theme=dark] .module-form input::placeholder,html[data-theme=dark] .module-form textarea::placeholder{color:#819488}
html[data-theme=dark] .module-form input[type="file"]{background:#1c3023;color:#dce8df}
html[data-theme=dark] .module-form input[type="file"]::file-selector-button{border-color:#45634d;background:#294232;color:#e1eee4}
/* Finite, visible loading with a clear retry action. */
.session-notice.loading-state{display:flex;align-items:center;gap:12px;min-height:84px;margin:20px 30px;padding:18px 20px;border:1px solid var(--border);border-radius:0;background:var(--surface);box-shadow:var(--shadow);color:var(--muted)}
.loading-spinner{width:20px;height:20px;flex:0 0 20px;border:2px solid #cfe1d5;border-top-color:var(--green);border-radius:0;animation:slps-spin .8s linear infinite}
.loading-spinner[hidden]{display:none!important}@keyframes slps-spin{to{transform:rotate(360deg)}}
.session-notice.error-state{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:20px 30px;padding:18px 20px;border:1px solid #e7c7c0;border-left:4px solid #bd6458;border-radius:0;background:#fff7f5;color:#783a30;line-height:1.6;overflow-wrap:anywhere}
.retry-button{margin-left:auto}.theme-button{font-size:18px;line-height:1}
html[data-theme=dark] .session-notice.loading-state{border-color:var(--border);background:var(--surface);color:var(--muted)}
html[data-theme=dark] .session-notice.error-state{border-color:#69433b;background:#321f1c;color:#f2d6d0}
@media(max-width:700px){.session-notice.loading-state,.session-notice.error-state{margin:14px;padding:15px}.retry-button{margin-left:0}}

/* Keep management search fields visually aligned with the module forms. */
.search,.search-field input{min-height:42px;padding:9px 13px;border:1px solid #d4dfd7;border-radius:0;background:var(--surface);color:var(--text);font:inherit;box-shadow:0 1px 2px #163b2308;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}
.search:focus,.search-field input:focus{border-color:#138b5f;outline:0;box-shadow:0 0 0 4px #138b5f1c}
.search::placeholder,.search-field input::placeholder{color:#9aa69e;opacity:1}
html[data-theme=dark] .search,html[data-theme=dark] .search-field input{border-color:#375341;background:#17291f;color:#edf5ef;box-shadow:none}
html[data-theme=dark] .search::placeholder,html[data-theme=dark] .search-field input::placeholder{color:#819488}
/* Consistent navigation and communications controls across every panel. */
.nav-item{gap:11px;min-height:42px}.nav-item .icon{width:18px;height:18px;opacity:.9}.nav-item .nav-text{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.site-footer{position:relative;isolation:isolate;overflow:hidden}.site-footer:before,.site-footer:after{content:"";position:absolute;z-index:-1;left:-55%;width:210%;height:28px;bottom:-14px;border-radius:0;pointer-events:none;background:linear-gradient(90deg,transparent 0%,#138b5f14 24%,#d9821840 50%,#138b5f22 75%,transparent 100%);animation:footer-shimmer 8s linear infinite}.site-footer:after{bottom:-19px;opacity:.65;animation-duration:11s;animation-direction:reverse}.site-footer>*{position:relative}@keyframes footer-shimmer{from{transform:translateX(-8%)}to{transform:translateX(8%)}}@media(prefers-reduced-motion:reduce){.site-footer:before,.site-footer:after{animation:none}}
.chat-layout{display:grid;grid-template-columns:minmax(210px,.72fr) minmax(0,1.8fr);min-height:460px}.chat-contacts{border-right:1px solid var(--border);max-height:68vh;overflow:auto}.chat-contact{display:flex;width:100%;text-align:left;align-items:center;gap:11px;padding:14px 16px;border:0;border-bottom:1px solid var(--border);background:transparent;color:var(--text);cursor:pointer}.chat-contact:hover,.chat-contact.active{background:var(--green-light)}.chat-contact .avatar{width:36px;height:36px;flex:none}.chat-contact-copy{min-width:0}.chat-contact-copy strong,.chat-contact-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-contact-copy strong{font-size:12px}.chat-contact-copy small{font-size:10px;color:var(--muted)}.chat-thread{display:flex;flex-direction:column;min-width:0}.chat-thread-head{padding:15px 18px;border-bottom:1px solid var(--border);font-weight:700;font-size:13px}.chat-messages{padding:18px;display:flex;flex:1;flex-direction:column;gap:10px;overflow:auto;max-height:48vh}.chat-bubble{max-width:min(78%,560px);padding:10px 13px;border-radius:0;background:var(--canvas);border:1px solid var(--border);font-size:12px;line-height:1.55;overflow-wrap:anywhere}.chat-bubble.mine{align-self:flex-end;background:var(--green-light);border-color:transparent}.chat-bubble small{display:block;margin-top:5px;color:var(--muted);font-size:9px}.chat-compose{display:flex;gap:9px;padding:14px;border-top:1px solid var(--border)}.chat-compose textarea{flex:1;min-width:0;min-height:42px;max-height:130px;resize:vertical;padding:10px 12px;border:1px solid var(--border);border-radius:0;background:var(--surface);color:var(--text);font:inherit;font-size:12px}.chat-empty{padding:32px 18px;text-align:center;color:var(--muted);font-size:12px}.file-upload-row{padding:16px 22px;display:flex;align-items:end;gap:12px;flex-wrap:wrap;border-bottom:1px solid var(--border)}.file-upload-row .form-field{flex:1;min-width:170px}.file-upload-row .file-picker{min-width:240px}.file-upload-row input[type=file]{width:100%;font-size:11px}
@media(max-width:700px){.chat-layout{grid-template-columns:1fr}.chat-contacts{display:flex;max-height:none;overflow:auto;border-right:0;border-bottom:1px solid var(--border)}.chat-contact{min-width:190px;border-right:1px solid var(--border)}.chat-messages{max-height:42vh;min-height:220px}.chat-compose{padding:10px}.file-upload-row{padding:15px}.chat-bubble{max-width:90%}}
