/* V1.0.12: shared settings, support team and compact administrative details. */
[data-team-settings][hidden]{display:none!important}
.staff-logout{display:inline-flex;margin-top:8px;font-size:12px}
#incoming-queue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:190px;overflow:auto;padding:12px 22px;overscroll-behavior:contain}
#incoming-queue:empty{display:none}
#incoming-queue .incoming-chat{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:0;padding:11px 14px;min-width:0;border:1px solid #dcc866;border-radius:16px;background:linear-gradient(115deg,#ecffd9,#fff1a0);box-shadow:inset 0 2px white,0 4px 0 #d3dcaf55}
#incoming-queue .incoming-chat strong{flex:1;overflow-wrap:anywhere;font-size:13px}
#incoming-queue button{font-size:12px;padding:7px 12px}
.settings-group{min-width:0;margin:22px 0;padding:22px;border:1px solid #bfd7b8;border-radius:20px;background:linear-gradient(125deg,#effff2,#fff9da 70%,#f4edfb);box-shadow:inset 0 2px #fff,0 4px 0 #cadaae38}
.settings-group legend{padding:8px 16px;border:1px solid #c3d8ad;border-radius:12px;background:linear-gradient(110deg,#ddf6c5,#ffe887);font-weight:700}
.settings-group .cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.settings-group label{min-width:0}
.settings-group :is(input:not([type=checkbox]),textarea){width:100%;min-width:0}
.settings-group .switch-row{display:flex!important;justify-content:space-between;align-items:center;gap:14px;margin:12px 0;padding:12px;border-radius:12px;background:#ffffff9c}
.settings-group input[type=checkbox]{appearance:none!important;position:relative;width:44px!important;max-width:44px!important;height:25px!important;min-width:44px!important;padding:0!important;flex:0 0 44px!important;border:1px solid #b7cbb5!important;border-radius:20px!important;background:#d3dfd0!important;cursor:pointer}
.settings-group input[type=checkbox]:after{content:"";position:absolute;left:3px;top:3px;width:17px;height:17px;border-radius:50%;background:white;box-shadow:0 1px 3px #37543b33;transition:transform .15s}
.settings-group input[type=checkbox]:checked{background:linear-gradient(110deg,#209c6d,#a4d38c)!important}
.settings-group input[type=checkbox]:checked:after{transform:translateX(18px)}
.security-policy-form{display:grid;gap:14px}
.settings-group small{display:block;margin-top:10px;line-height:1.6}
.team-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:24px;align-items:start}
.team-workspace>article:last-child{grid-column:1/-1}
.team-workspace .panel{padding:22px}
.team-workspace .form{display:grid;gap:16px;margin-top:18px}
.team-workspace h2{display:flex;align-items:center;gap:12px;font-size:22px}
.team-workspace h2 img{width:38px;height:38px;object-fit:contain}
.team-workspace input{width:100%;min-width:0}
.team-workspace table{width:100%}
.team-workspace input[type=file]{cursor:pointer;padding:10px;background:#f9fff4}
.team-workspace input[type=file]::file-selector-button{font:inherit;cursor:pointer;border:1px solid #c3d68f;border-radius:10px;background:linear-gradient(110deg,#dff6bd,#ffe978);padding:9px 13px;color:#26573f;margin-right:12px}
.staff-photo-preview img{width:72px;height:72px;object-fit:cover;border-radius:20px;border:1px solid #cbdba8;background:linear-gradient(130deg,#e1f8d8,#fff1b5);box-shadow:inset 0 2px #fff,0 4px #dbe8b9}
.staff-photo{width:100%;height:100%;object-fit:cover;border-radius:50%}
.staff-chat-actions{display:flex;flex-wrap:wrap;gap:9px;padding:16px;border-bottom:1px solid #d3dfbf;background:linear-gradient(120deg,#e9fbde,#fff1b7)}
.staff-chat-actions strong{flex:1 0 100%}
.staff-chat-actions select{max-width:100%;flex:1;min-width:130px}
.ring-volume{width:70px;padding:0;accent-color:#219d69}
.sound-switch{font-size:12px;white-space:nowrap}
.message.has-staff-photo:before,.live-message.has-staff-photo:before{display:none!important}
.message-staff-photo{position:absolute;right:-40px;top:0;width:32px;height:32px;object-fit:cover;border-radius:11px;border:1px solid #c6d9bb}
.native-live .message-staff-photo{right:-35px;width:28px;height:28px}
body :is(.notice,.account-feedback,.s-form-result,.newsletter-note,#settings-feedback,.live-error):not(:empty){padding:13px 17px!important;border:1px solid #b9d9a6!important;border-radius:14px!important;background:linear-gradient(115deg,#e6fae0,#fff5c9)!important;box-shadow:inset 0 2px #fff,0 3px 0 #cbdcaf40;color:#235d42;line-height:1.5}
body :is(.notice.error,.live-error):not(:empty){border-color:#e8c1ab!important;background:linear-gradient(110deg,#fff2df,#ffe6e9)!important;color:#853e35}
body.route-admin-users .kingk-mobile-table td>button{flex-direction:row!important;flex-wrap:nowrap!important;white-space:nowrap!important;align-items:center!important;gap:7px!important}
.balance-sign{display:inline-block;flex:none;line-height:1}
.proof-button{display:inline-flex!important;align-items:center;justify-content:center;white-space:nowrap;padding:9px 14px!important;border:1px solid #c4d69c;border-radius:12px;background:linear-gradient(115deg,#e3f6bb,#ffe875);box-shadow:inset 0 2px white,0 3px 0 #c9d2a044}
body.route-admin-payments .kingk-mobile-table td:before{white-space:nowrap;font-size:12px}
body.route-admin-payments .data-view-button{white-space:nowrap}
.payment-value-dialog{max-width:calc(100vw - 28px)}
.payment-value-dialog p{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.6}
.payment-value-dialog .dialog-close{display:grid;place-items:center;position:absolute;right:12px;top:12px;width:32px;height:32px;min-width:32px;padding:0}
.payment-value-dialog h2{padding-right:25px}
@media(max-width:700px){
 #incoming-queue{grid-template-columns:minmax(0,1fr);padding:10px;max-height:180px}
 #incoming-queue .incoming-chat strong{flex-basis:100%}
 .settings-group{padding:15px}
 .settings-group .cols,.team-workspace{grid-template-columns:minmax(0,1fr)}
 .team-workspace{padding:14px}
 .team-workspace .panel{padding:16px}
 .team-workspace>article:last-child{grid-column:auto}
 .header-right{flex-wrap:wrap}
 .ring-volume{width:55px}
}
@media(prefers-reduced-motion:reduce){.settings-group input[type=checkbox]:after{transition:none}}
