/* ZÜHRE Conecta — approved identity, original logo artwork, locally hosted font. */
@font-face{font-family:Manrope;src:url('/manrope.ttf') format('truetype');font-style:normal;font-weight:200 800;font-display:swap}
:root{--green:#0f766e;--border:#e2e8f0;--muted:#64748b;--ui-ink:#334155;--ui-muted:#64748b;--ui-line:#e2e8f0;--ui-soft:#f8fafc;--ui-accent:#0f766e;--brand-night:#0a0f24;--brand-emerald:#10b981;--brand-mint:#6ee7b7;background:#f8fafc;color:#334155;font-family:Manrope,'Segoe UI',sans-serif}
body,button,input,select,textarea{font-family:Manrope,'Segoe UI',sans-serif}body{color:#334155;background:#f8fafc}h1,h2,h3{color:#0a0f24;font-weight:750;letter-spacing:-.035em}.muted,.breadcrumb{color:#64748b}.primary,.new-conversation{background:#0f766e;border-color:#0f766e;color:#fff;box-shadow:0 2px 5px #0f766e12}.primary:hover,.new-conversation:hover{background:#115e59;border-color:#115e59}.outline{color:#475569;border-color:#dbe3ea}.outline:hover{background:#f0fdfa}.text-button,a{color:#0f766e}button:focus-visible,a:focus-visible,summary:focus-visible{outline-color:#0f766e}label{color:#475569}input,select,textarea{color:#334155}input:focus-visible,select:focus-visible{outline:2px solid #0f766e;outline-offset:2px}.composer textarea:focus-visible{outline:none}
.sidebar.compact-navigation{background:#0a0f24;color:#e2e8f0;border-right:1px solid #182238}.compact-navigation>.brand{margin:0 27px 14px 0;min-height:62px}.sidebar .brand-logo.brand-default{display:block;width:150px;height:auto;max-width:100%;max-height:none;object-fit:contain;border-radius:4px}.sidebar-toggle{top:31px;color:#a5bcc4;border-color:#293449}.sidebar-toggle:hover{background:#152f39;color:#6ee7b7}.compact-navigation nav{scrollbar-color:#293b4d #0a0f24}.compact-navigation nav::-webkit-scrollbar{background:#0a0f24}.compact-navigation nav::-webkit-scrollbar-thumb{background:#293b4d}.sidebar nav button{color:#aebaca;border-radius:8px}.sidebar nav button:hover{background:#122838;color:#e2e8f0}.sidebar nav button.active{background:#12352f;color:#6ee7b7;box-shadow:inset 3px 0 #10b981}.compact-navigation nav button[data-view=library],.compact-navigation nav button[data-view=team],.compact-navigation nav button[data-view=settings]{border-color:#202b40}.sidebar .account-footer{background:#0a0f24;border-color:#202b40}.sidebar .profile{border-color:#202b40}.sidebar .profile strong{color:#f1f5f9}.sidebar .profile small,.sidebar .profile-actions button{color:#a6b4c6}.sidebar .profile-actions button:hover{color:#6ee7b7}
.topbar{background:#fff;border-color:#e2e8f0}.breadcrumb{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#0f766e}.topbar h1{font-weight:750}.page-content{background:#f8fafc}.panel,.metric-card,.connection-card{border-color:#e2e8f0;box-shadow:0 2px 8px #0a0f2403}.panel h2,.panel h3,.metric-card>strong{color:#0a0f24}.metric-card>strong{font-variant-numeric:tabular-nums}.chart-track{background:#e9f5f1}.chart-track i{background:linear-gradient(90deg,#0f766e,#10b981)}.queue-top-tabs{background:#f1f5f9;border-color:#e2e8f0}.queue-top-tabs button{color:#64748b}.queue-top-tabs button.active{color:#0f766e}.filters{background:#f1f5f9}.filters button{color:#64748b}.filters button.active{color:#0f766e}.search input{background:#f8fafc;border-color:#e2e8f0}.list-heading h2{color:#0a0f24}.conversation:not(.is-unread):hover{background:#f8fafc}.conversation.selected{box-shadow:inset 3px 0 #10b981}.conversation strong{color:#263648}.conversation p,.conversation time{color:#64748b}.conversation small{color:#526477}.avatar{background:#e5f5ef;color:#0f766e}.chat{background:#f3f6f8}.chat-header,.assignment{border-color:#e2e8f0}.chat-header h2{color:#0a0f24}.chat-header small,.assignment{color:#64748b}.bubble{color:#334155}.bubble.incoming{border-color:#e2e8f0}.bubble.outgoing{background:#e1f5ec;border-color:#ccebdd}.bubble small{color:#60766f}.day{background:#fff;border-color:#e2e8f0;color:#64748b}.composer{border-color:#dae4e9;box-shadow:0 3px 14px #0a0f2404}.composer textarea{color:#334155}.composer .attachment-tools .text-button:hover{background:#ecfdf5}.composer .attachment-tools #record-audio{color:#0f766e;background:#e5f5ef}.toast{background:#0a0f24}.logo-preview{background:#f8fafc}.logo-preview .brand-default{width:250px;height:auto;max-width:100%}dialog{color:#334155}dialog::backdrop{background:#0a0f2470}
/* Login uses the two supplied logo versions without recreating the lettering. */
#auth.auth{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,480px);gap:clamp(40px,7vw,112px);padding:clamp(28px,5vw,80px);background:radial-gradient(ellipse at 10% 95%,#0f766e24,transparent 52%),#0a0f24;align-items:center;max-width:none}
.auth-story{align-self:stretch;display:flex;flex-direction:column;justify-content:center;min-height:520px;max-width:690px;padding:28px 0}.story-top{color:#6ee7b7;letter-spacing:.18em;font-size:10px;font-weight:700;margin-bottom:auto}.story-logo{display:block;width:100%;max-width:570px;height:auto;margin:36px 0 26px;border-radius:6px}.story-copy h2{font-size:clamp(28px,3.1vw,44px);line-height:1.22;color:#f8fafc;font-weight:650;letter-spacing:-.035em}.story-copy p{color:#a6b4c6;max-width:390px;font-size:14px;line-height:1.85;margin-top:20px}.story-bottom{display:flex;align-items:center;gap:9px;margin-top:auto;padding-top:42px;color:#8298aa;font-size:11px}.story-bottom span{width:6px;height:6px;border-radius:50%;background:#10b981}
#auth .auth-card{max-width:480px;padding:38px;background:#fff;border:1px solid #ffffff30;border-radius:20px;box-shadow:0 24px 80px #0003}#auth .brand{margin:0 0 20px;justify-content:center;background:#f8fafc;border-radius:12px;padding:6px}#auth .brand-logo.brand-default{width:260px;height:auto;max-width:100%;object-fit:contain}#auth .eyebrow{color:#0f766e;font-size:10px;font-weight:750;letter-spacing:.15em;margin:24px 0 9px}#auth h1{font-size:25px;line-height:1.3;letter-spacing:-.04em}#auth .muted{font-size:13px}#auth form{gap:17px;margin-top:24px}#auth label{font-size:12px;font-weight:650;gap:7px}#auth input{background:#f8fafc;border-color:#dbe3ea;min-height:45px;font-size:14px}#auth #auth-submit{min-height:45px;border-radius:9px;margin-top:3px}#auth .auth-footer{font-size:10px;color:#64748b;border-color:#e2e8f0;line-height:1.6}#auth .text-button{font-size:12px}
@media(max-width:1000px){#auth.auth{gap:35px;padding:36px;grid-template-columns:minmax(0,1fr) minmax(340px,420px)}.story-copy h2{font-size:30px}#auth .auth-card{padding:30px}.sidebar .brand-logo.brand-default{width:140px}}
@media(max-width:760px){#auth.auth{display:grid;grid-template-columns:minmax(0,1fr);padding:24px 16px;gap:0}.auth-story{display:none}#auth .auth-card{margin:auto;padding:26px;max-width:440px}#auth h1{font-size:23px}#auth .brand-logo.brand-default{width:230px}.sidebar.compact-navigation>.brand{min-height:42px;margin:0 35px 0 0}.sidebar .brand-logo.brand-default{width:130px;max-height:48px;object-fit:contain}.compact-navigation .sidebar-toggle{margin:0;align-self:center}.sidebar.compact-navigation{padding:5px 10px}.breadcrumb{font-size:9px}.topbar h1{font-size:20px}.chat-header h2{font-size:14px}.page-content{padding:18px 14px}}
@media(max-width:380px){#auth .auth-card{padding:22px}#auth h1{font-size:21px}}
.new-conversation,.new-conversation:hover{color:#fff}

#auth.auth{height:100dvh;min-height:0;overflow:auto;align-items:safe center;padding-block:24px}.auth-story{min-height:0}

/* Queue controls — ZÜHRE Conecta */
.topbar .sound-control-wrap{padding:3px;gap:2px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:none}
.topbar .sound-control-wrap>.sound-notifications{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;min-height:34px;padding:6px;border-radius:9px;color:#84939f;background:transparent;font-size:0}
.topbar .sound-notifications:before{content:none!important}.topbar .sound-notifications[aria-pressed=true]{background:#e8f6ef;color:#0f766e}.topbar .sound-notifications:hover{background:#f0f7f5;color:#0f766e}
.topbar .sound-control-wrap>.sound-volume-button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:30px;min-height:30px;padding:5px;border:0!important;border-radius:8px;color:#64748b;background:transparent}
.topbar .sound-volume-button:hover{background:#f1f5f9}.sound-volume-panel{font-size:12px;box-shadow:0 12px 35px #0a0f241a;border-color:#dce8e3}
.conversation-list .queue-top-tabs{margin:10px 12px 0;padding:4px;gap:4px;background:#f1f5f7;border:1px solid #e8edf1;border-radius:11px}
.conversation-list .queue-top-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:7px 8px;border-radius:8px;font-size:11px;font-weight:700;color:#64748b;white-space:nowrap;min-width:0}
.conversation-list .queue-top-tabs button.active{background:#fff;color:#0f766e;box-shadow:0 2px 5px #0a0f2408}.conversation-list .queue-top-tabs button:hover{color:#0f766e;background:#ffffffa6}
.queue-request-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;padding:0 5px;border-radius:6px;background:#e2eae9;color:#527068;font-size:9px;font-variant-numeric:tabular-nums}.queue-top-tabs button.active .queue-request-count{background:#dff3e9;color:#0f766e}
.conversation-list .list-heading{padding:14px 14px 10px}.conversation-list .list-heading h2{font-size:15px;letter-spacing:-.025em}.conversation-list .count{font-size:11px;padding:4px 7px;border-radius:7px;background:#f1f5f7;color:#64748b}
.conversation-list .new-conversation{min-height:35px;border-radius:9px;font-size:12px;box-shadow:none;margin-bottom:10px}.conversation-list>.search input{background:#f8fafc;border:1px solid #e2e8f0;border-radius:9px;padding:10px 11px;font-size:12px;min-height:37px}
.queue-filter-wrap{margin:10px 12px 8px;border:1px solid #e5ebef;border-radius:11px;background:#fff;overflow:hidden}
.queue-filter-wrap .queue-filters{margin:0;color:#64748b}.queue-filter-wrap .queue-filters summary{display:flex;align-items:center;gap:7px;list-style:none;padding:11px 94px 11px 11px;font-size:11px;font-weight:650;color:#475569;min-height:38px}
.queue-filters summary::-webkit-details-marker{display:none}.queue-filters summary:before{content:'';display:block;width:6px;height:6px;border-right:1.5px solid #0f766e;border-bottom:1.5px solid #0f766e;transform:rotate(-45deg);transition:transform .15s}.queue-filters[open] summary:before{transform:rotate(45deg) translateY(-2px)}
.queue-filter-wrap .clear-filters{right:9px;top:6px;padding:5px 4px;font-size:10px;font-weight:650;text-decoration:none;color:#0f766e;min-height:26px;border-radius:6px}.queue-filter-wrap .clear-filters:hover{background:#edf8f3}
.queue-filters .compact-filters{padding:2px 10px 11px;gap:10px 8px;align-items:start;grid-template-columns:repeat(2,minmax(0,1fr))}
.compact-filters .search-scope{display:flex;flex-direction:column;gap:5px;align-self:start}.queue-field-label{font-size:9px;font-weight:650;color:#64748b;letter-spacing:.01em;padding-left:2px}
.compact-filters .search-scope:has(#agent-filter){grid-column:1/-1}.compact-filters select{width:100%;height:34px;min-height:34px;padding:7px 24px 7px 9px;border:1px solid #e2e8f0;border-radius:8px;background-color:#f8fafc;color:#334155;font-size:10px;line-height:1.3;text-overflow:ellipsis;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2364758b' stroke-width='1.5'%3E%3Cpath d='m3 4 3 3 3-3'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 8px center}
.compact-filters select:hover{border-color:#a9cec0;background-color:#f3faf7}.compact-filters select:focus-visible,.queue-date-range input:focus-visible{outline:2px solid #99d8bf;outline-offset:1px}
.compact-filters .queue-unanswered{grid-column:1/-1;position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;margin:0;border:1px solid #e5ebef;background:#f8fafc;border-radius:8px;min-height:36px;font-size:11px;font-weight:550;color:#475569;cursor:pointer}
.queue-unanswered input{position:absolute;width:1px;height:1px;opacity:0;margin:0}.queue-switch{position:relative;width:29px;height:17px;border-radius:99px;background:#cbd5df;flex-shrink:0;transition:background .15s}.queue-switch:after{content:'';position:absolute;width:13px;height:13px;left:2px;top:2px;background:white;border-radius:50%;box-shadow:0 1px 2px #0a0f241a;transition:transform .15s}.queue-unanswered:has(input:checked){background:#eff9f4;border-color:#b8ddce;color:#0f766e}.queue-unanswered input:checked+.queue-switch{background:#0f766e}.queue-unanswered input:checked+.queue-switch:after{transform:translateX(12px)}.queue-unanswered:has(input:focus-visible){outline:2px solid #99d8bf;outline-offset:1px}
.queue-date-range{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;padding-top:9px;border-top:1px solid #edf1f5}.queue-date-range>span{grid-column:1/-1;font-size:9px;font-weight:650;color:#64748b}.queue-date-range label{font-size:9px;gap:4px;color:#64748b}.queue-date-range input{height:33px;min-height:33px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:6px;font-size:10px;color:#475569}
.conversation-list>.filters{display:flex;padding:4px;gap:2px;margin:0 12px;border:1px solid #e8edf1;border-radius:9px;background:#f1f5f7;overflow:visible}.conversation-list>.filters button{flex:1;min-width:0;padding:7px 1px;min-height:30px;border-radius:6px;font-size:9px;font-weight:600;white-space:nowrap;color:#64748b}.conversation-list>.filters button.active{background:#0f766e;color:white;box-shadow:0 2px 4px #0f766e15}.conversation-list>.list-caption{font-size:9px;letter-spacing:.08em;color:#84939f;margin-top:12px}
@media(max-width:650px){.compact-filters select{font-size:12px;height:38px}.queue-date-range input{font-size:12px;height:36px}.queue-field-label,.queue-date-range>span,.queue-date-range label{font-size:10px}.conversation-list>.filters button{font-size:10px}.topbar .sound-control-wrap{margin-left:0}.conversation-list .queue-top-tabs button{font-size:12px}}
@media(prefers-reduced-motion:reduce){.queue-switch,.queue-switch:after,.queue-filters summary:before{transition:none}}

@media(min-width:651px){.queue-filters .compact-filters{gap:7px 8px;padding-bottom:9px}.compact-filters .search-scope{gap:4px}.queue-field-label{line-height:12px}.compact-filters select{height:32px;min-height:32px;font-size:11px}.queue-filter-wrap .queue-filters summary{min-height:34px;padding-top:9px;padding-bottom:9px}.compact-filters .queue-unanswered{padding:7px 9px;min-height:33px}.queue-date-range{gap:4px 8px;padding-top:7px}.queue-date-range>span,.queue-date-range label{line-height:12px}.queue-date-range input{height:30px;min-height:30px;font-size:10px}}

/* Compact request inbox: access decisions and operational notices stay distinct. */
.conversation-list>.access-dialog{padding:12px!important;background:var(--ui-surface,#f7f9fa);max-height:none;min-height:0;flex:1;}
.conversation-list>.access-dialog header{margin:0 0 12px;gap:6px;}
.conversation-list>.access-dialog header h2{font-size:14px;margin:0;letter-spacing:-.02em;}
.conversation-list>.access-dialog header button{font-size:11px;padding:4px 6px;min-height:28px;}
.request-section{display:flex;align-items:center;gap:7px;font-size:12px;margin:14px 0 7px;color:#536474;}
.request-section span{font-size:10px;border-radius:8px;background:#e5edeb;padding:2px 6px;}
.request-hint{font-size:11px!important;line-height:1.4!important;color:#70808b;margin:0 0 8px;}
.access-request.compact-request{padding:10px 11px;margin:0 0 7px;border:1px solid #e0e8e8;border-radius:10px;box-shadow:none;}
.compact-request .request-top{display:flex;justify-content:space-between;align-items:center;gap:6px;flex-wrap:nowrap;margin-bottom:5px;}
.compact-request .request-kind{font-size:9px;letter-spacing:.025em;margin:0;text-transform:none;color:#357773;}
.compact-request time{font-size:10px;white-space:nowrap;margin:0;color:#819098;}
.compact-request>strong{display:block;font-size:12px;font-weight:600;line-height:1.35;overflow-wrap:anywhere;}
.compact-request p{font-size:11px;line-height:1.4;margin:3px 0;color:#62717e;}
.compact-request>small{display:block;font-size:10px;color:#859299;margin-top:3px;}
.compact-request .request-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin-top:7px;}
.compact-request .request-actions button{min-height:27px;font-size:10px;line-height:1.2;padding:5px 9px;margin:0;border-radius:7px;}
.compact-request .request-actions .text-button{margin-left:auto;}
.request-detail summary{cursor:pointer;font-size:10px;color:#357773;margin-top:5px;}
.request-empty{text-align:center;font-size:13px;color:#357773;padding:30px 8px;line-height:1.8;}
.request-empty small{font-size:11px;color:#70808b;}

/* Brand tint stays visible; pending requests gently pulse without dimming text. */
.conversation-list .queue-top-tabs button:has(.queue-request-count){background:#e8f3f0;color:#286c67;box-shadow:inset 0 0 0 1px #d6e9e3;}
.conversation-list .queue-top-tabs button:has(.queue-request-count).active{background:#deeee8;box-shadow:inset 0 0 0 1px #8bb9ad;}
.conversation-list .queue-top-tabs button:has(.queue-request-count:not([hidden])){animation:request-tab-pulse 3.6s ease-in-out infinite;}
@keyframes request-tab-pulse{0%,100%{background-color:#e8f3f0}50%{background-color:#cce5db}}
@media(prefers-reduced-motion:reduce){.conversation-list .queue-top-tabs button:has(.queue-request-count:not([hidden])){animation:none;background:#deeee8;}}
