.admin-page{--admin-fill:#f4f8f4;--admin-surface:#fbfdf9;--admin-stroke:#ccdcd2;--admin-soft:#e2efe6;--admin-leaf:#2c644e;--admin-focus:#5d967d;--admin-faded:#63776c;background:radial-gradient(ellipse at 45% 0, #eef4ed, transparent 38rem), var(--paper);min-height:100dvh}.admin-page :focus-visible{outline:2px solid var(--admin-focus);outline-offset:3px}.admin-masthead{justify-content:space-between;align-items:center;gap:14px;min-height:76px;display:flex}.admin-masthead .btn{min-height:40px}.admin-main{padding-block:34px 64px}.admin-layout{grid-template-columns:194px minmax(0,1fr);align-items:start;gap:clamp(19px,3.2vw,36px);display:grid}.admin-page .btn{letter-spacing:.01em;border-radius:10px;min-height:42px;padding-inline:13px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}.admin-page .btn:active:not(:disabled){transform:translateY(1px)}.admin-page .btn-primary{color:#fff;background:linear-gradient(145deg,#2b644e,#1b4b3b);border-color:#1d5140;box-shadow:0 2px 4px #173c2d30}.admin-page .btn-primary:hover:not(:disabled){background:linear-gradient(145deg,#326e56,#174737);border-color:#184433;box-shadow:0 3px 8px #173c2d39}.admin-page .btn-primary:disabled{opacity:1;color:#536a5d;box-shadow:none;background:#e0ebe3;border-color:#cfdfd4}.admin-page .btn-outline{border-color:var(--admin-stroke);background:var(--admin-surface);color:var(--deep)}.admin-page .btn-outline:hover:not(:disabled){background:#edf6ee;border-color:#9fbfb0}.admin-page .btn-outline:disabled{opacity:1;color:#6c8276;background:#f2f6f2;border-color:#dfe8e1}.admin-page .text-button{min-height:34px;color:var(--deep);white-space:nowrap;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:5px;padding:4px 8px;font-size:.85rem;display:inline-flex}.admin-page .text-button:hover:not(:disabled){background:var(--admin-soft);border-color:#d6e5da;text-decoration:none}.admin-page .text-button:disabled{opacity:1;color:#7b8d82}.admin-page .text-button.admin-remove{color:var(--danger)}.admin-page .text-button.admin-remove:hover{background:#faefeb;border-color:#f1ddd5}.admin-rail{background:var(--admin-surface);border:1px solid #d4e2d8;border-radius:16px;padding:10px;position:sticky;top:23px;box-shadow:0 6px 17px #1b483009}.admin-rail nav{gap:3px;display:grid}.admin-rail-button{width:100%;min-height:43px;color:var(--muted);text-align:left;white-space:nowrap;background:0 0;border:1px solid #0000;border-radius:9px;align-items:center;gap:9px;padding:7px 10px;font-size:.915rem;font-weight:700;transition:background .16s;display:flex}.admin-rail-button:hover{background:var(--admin-fill);color:var(--forest)}.admin-rail-button[aria-current]{color:var(--deep);background:#e3f0e6;border-color:#d1e5d8;box-shadow:inset 3px 0 #50866c}.admin-logout{margin-top:5px}.admin-title{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:12px 19px;margin-bottom:16px;display:flex}.admin-title h1{letter-spacing:-.035em;margin-bottom:5px;font-size:clamp(1.75rem,4vw,2.32rem)}.admin-title p,.admin-muted{color:var(--muted);line-height:1.55}.admin-actions{flex-wrap:wrap;gap:7px;display:flex}.admin-card{background:#fff;border:1px solid #d7e4d9;border-radius:16px;margin-bottom:14px;padding:20px 23px;box-shadow:0 4px 12px #254d3610}.admin-card>h2,.admin-card-head h2{font-size:1.13rem}.admin-card-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 13px;display:flex}.admin-card>h2,.admin-card-head,.admin-card>.admin-muted{margin-bottom:14px}.admin-card-head .btn,.admin-report .btn{min-height:37px;padding:5px 10px;font-size:.875rem}.admin-fields{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:13px 16px;display:grid}.admin-field,.admin-upload-field{align-content:start;gap:6px;min-width:0;display:grid}.admin-field>span:first-child,.admin-control-label,.admin-range-label span{color:#254336;font-size:.9rem;font-weight:720}.full-width{grid-column:1/-1}.admin-page :is(input:not([type]),input[type=password],textarea,select){border:1px solid var(--admin-stroke);background:var(--admin-surface);width:100%;min-height:41px;color:var(--ink);border-radius:9px;padding:8px 10px;transition:border-color .16s,background .16s,box-shadow .16s;display:block}.admin-page :is(input:not([type]),input[type=password],textarea,select):hover:not(:disabled){border-color:#a3beb0}.admin-page :is(input:not([type]),input[type=password],textarea,select):focus{background:#fff;border-color:#70a28a;outline:none;box-shadow:0 0 0 3px #50937324}.admin-page :is(input:not([type]),input[type=password],textarea)::placeholder{color:var(--admin-faded)}.admin-page textarea{resize:vertical;line-height:1.52}.admin-group{border-top:1px solid #e6eee6;padding:13px 0}.admin-group:last-child{padding-bottom:0}.admin-group h3{font-size:1rem}.rule-actions{flex-wrap:wrap;align-items:center;gap:6px;margin-top:5px;display:flex}.admin-upload{background:linear-gradient(125deg,#eff6ef,#fbfdf9 80%);border:1px solid #d8e6dc;border-radius:12px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;column-gap:12px;padding:10px;display:grid}.admin-upload-preview{width:48px;height:48px;color:var(--admin-leaf);background:#dfefe4;border:1px solid #c9dfd1;border-radius:10px;place-items:center;font-size:1.12rem;display:grid;overflow:hidden}.admin-upload-preview img{object-fit:cover;width:100%;height:100%}.admin-upload-text{min-width:0}.admin-upload-text strong,.admin-upload-text small{overflow-wrap:anywhere;display:block}.admin-upload-text strong{color:#244737;font-size:.9rem}.admin-upload-text small{color:var(--muted);margin-top:4px;font-size:.78rem;line-height:1.4}.admin-upload-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:5px;display:flex}.admin-upload-actions .btn{min-height:38px;padding-inline:10px;font-size:.875rem}.admin-switch{color:#2c4c3e;cursor:pointer;align-items:center;gap:8px;width:fit-content;min-height:35px;font-size:.88rem;font-weight:650;display:inline-flex;position:relative}.admin-fields>.admin-switch{align-self:end}.admin-switch-track{background:#dbe7de;border:1px solid #9db7a8;border-radius:999px;flex:none;align-items:center;width:35px;height:20px;padding-left:3px;transition:background .16s,border-color .16s;display:inline-flex}.admin-switch-track:before{content:"";background:#fff;border-radius:50%;width:12px;height:12px;transition:transform .16s;box-shadow:0 1px 2px #153c2b46}.admin-switch:hover:not(.is-disabled) .admin-switch-track{border-color:#689c83;box-shadow:0 0 0 3px #70a28a1c}.admin-switch input:checked+.admin-switch-track{background:#347a5d;border-color:#2c654f}.admin-switch input:checked+.admin-switch-track:before{transform:translate(15px)}.admin-switch input:focus-visible+.admin-switch-track{outline:2px solid var(--admin-focus);outline-offset:3px}.admin-switch.is-disabled{cursor:not-allowed;color:#687d71;opacity:.67}.admin-range-label{justify-content:space-between;align-items:center;gap:8px;display:flex}.admin-range-label output{color:#2b5943;font-variant-numeric:tabular-nums;background:#e9f3eb;border-radius:6px;padding:2px 8px;font-size:.78rem;font-weight:700}.admin-slider{--range-rail:linear-gradient(to right, #408260 var(--range-progress), #d3e4d8 var(--range-progress));appearance:none;cursor:pointer;background:0 0;border-radius:6px;width:100%;min-width:0;height:26px;margin:0;padding:0}.admin-slider::-webkit-slider-runnable-track{background:var(--range-rail);border-radius:999px;height:5px}.admin-slider::-moz-range-track{background:var(--range-rail);border-radius:999px;height:5px}.admin-slider::-webkit-slider-thumb{appearance:none;background:#2e7052;border:2px solid #fff;border-radius:50%;width:15px;height:15px;margin-top:-5px;box-shadow:0 0 0 1px #447b63,0 2px 4px #1b433a3b}.admin-slider::-moz-range-thumb{background:#2e7052;border:2px solid #fff;border-radius:50%;width:12px;height:12px;box-shadow:0 0 0 1px #447b63,0 2px 4px #1b433a3b}.admin-slider:disabled{cursor:not-allowed;opacity:.58}.admin-player{background:#f6faf5;border:1px solid #d6e5da;border-radius:12px;grid-template-rows:auto;grid-template-columns:38px minmax(0,1fr) 34px;align-items:center;gap:7px 11px;padding:9px 11px;display:grid}.admin-player audio{display:none}.admin-player-play{color:#fff;background:#2b644e;border:1px solid #1e5140;border-radius:10px;place-items:center;width:38px;height:38px;padding:0;display:inline-grid;box-shadow:0 2px 4px #173c2d30}.admin-player-play:hover{background:#38785d}.admin-player-progress{gap:0;min-width:0;padding-top:2px;display:grid}.admin-player-progress>div{justify-content:space-between;align-items:center;gap:6px;display:flex}.admin-player-progress strong{color:#2b523f;font-size:.86rem}.admin-player-progress span{color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:.78rem}.admin-player-volume{color:#34654d;background:#fdfefc;border-color:#d5e5d9;width:34px;height:34px}.admin-player-error{color:var(--danger);grid-column:1/-1;font-size:.82rem}.admin-notice{color:#23543d;background:#ecf6ed;border:1px solid #d2e5d7;border-radius:9px;margin:0 0 11px;padding:8px 11px;font-size:.89rem;line-height:1.45}.admin-notice.error{color:var(--danger);background:#fcf1ed;border-color:#f1dfd9}.admin-report{border-bottom:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:8px 12px;padding:12px 0;display:flex}.admin-report:first-child{padding-top:0}.admin-report:last-child{border:0;padding-bottom:0}.admin-report h2{margin-bottom:5px;font-size:1rem}.admin-report-detail{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:6px}.admin-loading{text-align:center;color:var(--muted);margin:48px auto}@media (width<=760px){.admin-layout{grid-template-columns:minmax(0,1fr);gap:13px}.admin-main{padding-top:16px}.admin-masthead{min-height:64px}.admin-masthead .btn{min-height:36px;padding-inline:8px;font-size:.84rem}.admin-rail{grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:6px;display:grid;position:static}.admin-rail nav{scrollbar-width:thin;grid-column:1/-1;display:flex;overflow-x:auto}.admin-rail-button{gap:5px;width:auto;min-height:36px;padding:5px 7px;font-size:.82rem}.admin-logout{margin:0}.admin-fields{grid-template-columns:minmax(0,1fr);gap:10px}.admin-card{padding:14px}}@media (width<=550px){.admin-upload{grid-template-columns:44px minmax(0,1fr);gap:7px 8px}.admin-upload-preview{width:44px;height:44px}.admin-upload-actions{grid-column:2;justify-content:start}}@media (prefers-reduced-motion:reduce){.admin-page *,.admin-page :before{transition-duration:.01ms!important}}.reception-workspace{background:#fdfefc;border:1px solid #d0e0d5;border-radius:16px;grid-template-columns:clamp(208px,30%,270px) minmax(0,1fr);min-width:0;height:clamp(475px,100dvh - 205px,735px);display:grid;overflow:hidden;box-shadow:0 5px 18px #25473813}.reception-inbox,.reception-thread{flex-direction:column;min-width:0;min-height:0;display:flex}.reception-inbox{background:#f8fbf7;border-right:1px solid #dce8de}.reception-inbox-head,.reception-thread-head{background:#fff;border-bottom:1px solid #dce8de;align-items:center;gap:10px;min-height:66px;padding:10px 13px;display:flex}.reception-inbox-head{justify-content:space-between}.reception-inbox-head h2,.reception-thread-head h2,.reception-empty h2{color:#203f31;font-size:1.05rem}.reception-inbox-head h2:focus{outline:none}.reception-inbox-head p{color:var(--admin-faded);margin-top:3px;font-size:.78rem}.admin-page .reception-refresh{border-radius:8px;width:34px;min-height:34px;padding:0}.reception-client-list{scrollbar-width:thin;min-height:0;margin:0;padding:7px;list-style:none;overflow:auto}.reception-client-list li+li{margin-top:3px}.reception-client{color:#203f31;text-align:left;background:0 0;border:1px solid #0000;border-radius:10px;grid-template-rows:auto;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:58px;padding:7px 8px;transition:background .16s,border-color .16s;display:grid;position:relative}.reception-client:hover{background:#edf4ed}.reception-client[aria-current=true]{background:#e3f0e5;border-color:#cadfd1;box-shadow:inset 3px 0 #5a9476}.reception-client:focus-visible{outline-offset:-2px}.reception-avatar{color:#285c45;background:#e1efe5;border:1px solid #cfe2d6;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:.83rem;font-weight:760;display:inline-grid;overflow:hidden}.reception-client[aria-current=true] .reception-avatar,.reception-thread-head .reception-avatar{color:#fff;background:#2c644e;border-color:#2c644e}.reception-client-copy{min-width:0}.reception-client-copy :is(strong,span){text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.reception-client-copy strong{font-size:.9rem}.reception-client-copy span{color:var(--admin-faded);margin-top:4px;font-size:.78rem}.reception-client-meta{align-content:start;align-self:stretch;justify-items:end;gap:6px;display:grid}.reception-client time{color:#5f776a;white-space:nowrap;margin-top:2px;font-size:.71rem}.reception-client-policy{color:#456455;background:#e5eee7;border-radius:5px;place-items:center;width:20px;height:18px;font-size:.75rem;display:grid}.reception-client-policy.blocked{color:#95392e;background:#f6e8e3}.reception-unread{background:#2c8a53;border-radius:50%;width:8px;height:8px;margin:4px 4px 0 0;box-shadow:0 0 0 3px #dceee1}.reception-list-message{color:var(--muted);margin:12px;font-size:.875rem}.reception-list-message.error{color:var(--danger)}.reception-thread-head{flex-wrap:wrap;flex:none}.reception-thread-head .reception-avatar{width:39px;height:39px;font-size:.95rem}.reception-peer{flex:94px;min-width:0}.reception-actions{flex-wrap:wrap;gap:6px;margin-left:auto;display:flex}.reception-actions .btn{gap:5px;min-height:34px;padding-inline:8px;font-size:.81rem}.reception-actions .reception-mute[data-active=true]:not(:disabled){color:#285c45;background:#e4f1e7;border-color:#bed6c7}.reception-actions .reception-mute[data-active=true]:hover:not(:disabled){background:#daebdf;border-color:#9ebfac}.reception-actions .reception-ban:not(:disabled){color:#933f30;background:#fff9f6;border-color:#e8d5cc}.reception-actions .reception-ban[data-active=true]:not(:disabled){background:#f7e5df;border-color:#e4bfb3}.reception-actions .reception-ban:hover:not(:disabled){background:#f8e9e3;border-color:#dcb6a8}.reception-actions .reception-ban[data-active=true]:hover:not(:disabled){background:#f2dad1}.reception-actions .reception-ban:focus-visible{outline-color:#af604c}.reception-peer h2{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.reception-connection{color:var(--admin-faded);align-items:center;gap:5px;margin-top:3px;font-size:.78rem;display:flex}.reception-connection:before{content:"";background:#81928a;border-radius:50%;flex:none;width:6px;height:6px}.reception-connection[data-status=online]{color:#205f43}.reception-connection[data-status=online]:before{background:#2c8a53}.reception-connection[data-status=blocked]{color:#933f30}.reception-connection[data-status=blocked]:before{background:#ab4e3c}.admin-page .reception-back{display:none}.reception-empty{min-height:0;color:var(--muted);text-align:center;background:#f8fbf8;flex:1;align-content:center;justify-items:center;gap:8px;padding:16px;display:grid}.reception-empty p{font-size:.88rem;line-height:1.5}.reception-history{scrollbar-width:thin;background:#f5f9f6;flex:1;align-content:start;gap:10px;min-height:0;padding:12px 14px;display:grid;overflow:auto}.reception-history-empty{color:var(--muted);place-self:center;margin:12px 0;font-size:.84rem}.reception-bubble{border:1px solid var(--line);white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border-radius:4px 11px 11px;justify-self:start;min-width:0;max-width:min(84%,53ch);padding:8px 10px}.reception-bubble[data-role=staff]{background:#e0efe3;border-color:#cce0d1;border-radius:11px 4px 11px 11px;justify-self:end}.reception-bubble[data-role=auto]{background:#f0f5ed}.reception-bubble small{color:var(--muted);margin-bottom:4px;font-size:.74rem;display:block}.reception-bubble p{font-size:.94rem;line-height:1.5}.reception-bubble a{color:var(--forest);align-items:baseline;gap:4px;font-size:.9rem;text-decoration:underline;display:inline-flex}.reception-thread-error{color:var(--danger);background:#fcf1ed;border-bottom:1px solid #f1dfd9;padding:7px 13px;font-size:.86rem}.reception-composer{background:#fff;border-top:1px solid #dce8de;justify-items:end;gap:7px;padding:10px 13px;display:grid}.reception-composer .admin-field{width:100%}.reception-composer textarea{min-height:60px;max-height:18vh}.reception-composer textarea:disabled{color:#60786a;cursor:not-allowed;background:#f0f5ef;border-color:#dbe5dd}.reception-composer .btn{min-height:38px}@media (width<=680px){.reception-workspace{height:clamp(400px,100dvh - 250px,640px);display:block}.reception-inbox,.reception-thread{height:100%}.reception-inbox{border-right:0}.reception-workspace:not(.has-thread) .reception-thread,.reception-workspace.has-thread .reception-inbox{display:none}.admin-page .reception-back{min-height:34px;padding-inline:8px;font-size:.83rem;display:inline-flex}.reception-actions{border-top:1px solid #e5ede5;width:100%;margin:0;padding-top:7px}.reception-actions .btn{min-height:37px}.reception-history{padding-inline:9px}}.quick-image-upload .admin-upload-preview img{object-fit:contain}
