*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;background:#0f1115;color:#e6e9ef;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.45;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}a{color:#4f8cff;text-decoration:none}button{font:inherit;color:inherit}h1,h2,h3,h4{margin:0;font-weight:600;line-height:1.25}input,textarea,select{font:inherit}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#333b4a;border-radius:8px}::-webkit-scrollbar-track{background:transparent}.page-title{font-size:22px;margin-bottom:4px}.page-subtitle{color:#9aa3b2;font-size:13px;margin-bottom:18px}.row{display:flex;align-items:center;gap:10px}.row-between{display:flex;align-items:center;justify-content:space-between;gap:10px}.grid{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.stack{display:flex;flex-direction:column;gap:14px}.muted{color:#9aa3b2}.dim{color:#6b7485;font-size:12px}.ui-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 14px;border-radius:8px;border:1px solid transparent;background:#161a21;color:#e6e9ef;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s,opacity .15s;white-space:nowrap}.ui-btn:disabled{opacity:.55;cursor:not-allowed}.ui-btn--primary{background:#4f8cff;color:#08111f}.ui-btn--primary:hover:not(:disabled){background:#6ba0ff}.ui-btn--secondary{background:#161a21;border-color:#262c38}.ui-btn--secondary:hover:not(:disabled){border-color:#333b4a;background:#1a1f28}.ui-btn--danger{background:#ff5c5c24;color:#ff5c5c;border-color:#ff5c5c4d}.ui-btn--danger:hover:not(:disabled){background:#ff5c5c38}.ui-btn--ghost{background:transparent}.ui-btn--ghost:hover:not(:disabled){background:#161a21}.ui-icon-btn{display:inline-flex;align-items:center;justify-content:center;border:none;background:transparent;color:#9aa3b2;border-radius:8px;padding:6px;cursor:pointer}.ui-icon-btn:hover{background:#161a21;color:#e6e9ef}.ui-spin{animation:ui-spin .9s linear infinite}@keyframes ui-spin{to{transform:rotate(360deg)}}.ui-input{width:100%;background:#10141a;border:1px solid #262c38;color:#e6e9ef;border-radius:8px;padding:9px 12px;transition:border-color .15s,box-shadow .15s}.ui-input:focus{outline:none;border-color:#4f8cff;box-shadow:0 0 0 3px #4f8cff24}.ui-input::placeholder{color:#6b7485}.ui-textarea{min-height:120px;resize:vertical}.ui-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.ui-field{display:flex;flex-direction:column;gap:6px}.ui-field__label{font-size:13px;color:#9aa3b2}.ui-field__hint{font-size:12px;color:#6b7485}.ui-switch{display:inline-flex;align-items:center;gap:10px;border:none;background:transparent;cursor:pointer;padding:0}.ui-switch__track{width:42px;height:24px;border-radius:999px;background:#333b4a;position:relative;transition:background .15s;flex:none}.ui-switch__thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s}.ui-switch.is-on .ui-switch__track{background:#4f8cff}.ui-switch.is-on .ui-switch__thumb{transform:translate(18px)}.ui-switch__label{color:#e6e9ef}.ui-switch:disabled{opacity:.5;cursor:not-allowed}.ui-card{background:#1a1f28;border:1px solid #262c38;border-radius:12px;padding:16px}.ui-card--clickable{cursor:pointer;transition:border-color .15s,transform .15s}.ui-card--clickable:hover{border-color:#333b4a;transform:translateY(-1px)}.ui-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:500;background:#161a21;color:#9aa3b2}.ui-badge--success{background:#3ecf8e24;color:#3ecf8e}.ui-badge--danger{background:#ff5c5c24;color:#ff5c5c}.ui-badge--warning{background:#f0b42924;color:#f0b429}.ui-badge--accent{background:#4f8cff24;color:#4f8cff}.ui-avatar{flex:none;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;overflow:hidden;background:#10141a;border:1px solid #262c38;color:#9aa3b2;font-weight:600;font-size:15px;-webkit-user-select:none;user-select:none}.ui-avatar img{width:100%;height:100%;object-fit:cover;display:block}.ui-avatar__fallback{line-height:1}.token-chip{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:2px 9px 2px 2px;border-radius:999px;background:#161a21;color:#9aa3b2;font-size:12px;font-weight:500;max-width:100%}.token-chip__label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.token-chip__hint{color:#6b7485;font-weight:400}.ui-center{display:flex;align-items:center;justify-content:center;gap:10px;padding:40px 0;color:#9aa3b2}.ui-empty{text-align:center;padding:40px 16px;color:#9aa3b2}.ui-empty p{margin:0 0 6px}.ui-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0009;display:flex;align-items:center;justify-content:center;padding:16px;z-index:100}.ui-modal__panel{background:#1a1f28;border:1px solid #262c38;border-radius:16px;box-shadow:0 8px 30px #00000059;width:100%;max-width:480px;max-height:90vh;display:flex;flex-direction:column}.ui-modal__head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid #262c38}.ui-modal__body{padding:18px;overflow-y:auto}.ui-modal__foot{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #262c38}.ui-toasts{position:fixed;bottom:74px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:8px;z-index:200;width:min(440px,100vw - 24px)}@media(min-width:900px){.ui-toasts{bottom:20px;left:auto;right:20px;transform:none}}.ui-toast{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:12px;background:#161a21;border:1px solid #262c38;box-shadow:0 8px 30px #00000059;animation:ui-toast-in .2s ease}.ui-toast span{flex:1;font-size:14px}.ui-toast--success{border-color:#3ecf8e66}.ui-toast--error{border-color:#ff5c5c66}@keyframes ui-toast-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.layout{display:flex;min-height:100dvh}.layout__sidebar{display:none}@media(min-width:900px){.layout__sidebar{display:flex;flex-direction:column;width:240px;flex:none;border-right:1px solid #262c38;background:#161a21;padding:18px 12px;position:sticky;top:0;height:100dvh}}.layout__brand{display:flex;align-items:center;gap:10px;font-weight:600;padding:4px 8px 18px}.layout__logo{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;background:#4f8cff;color:#08111f;font-size:13px;font-weight:700}.layout__nav{display:flex;flex-direction:column;gap:4px;flex:1}.layout__divider{height:1px;background:#262c38;margin:8px 4px}.layout__link{display:flex;align-items:center;gap:10px;padding:9px 10px;border-radius:8px;color:#9aa3b2;border:none;background:transparent;cursor:pointer;text-align:left;width:100%}.layout__link:hover{background:#1a1f28;color:#e6e9ef}.layout__link.active{background:#4f8cff24;color:#4f8cff}.layout__logout{margin-top:8px}.layout__main{flex:1;min-width:0;display:flex;flex-direction:column}.layout__header{height:60px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 16px;border-bottom:1px solid #262c38;background:#0f1115e6;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);position:sticky;top:0;z-index:20}.layout__status{display:flex;align-items:center;gap:8px;font-size:13px;color:#9aa3b2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dot{width:8px;height:8px;border-radius:50%;flex:none}.dot--on{background:#3ecf8e;box-shadow:0 0 0 3px #3ecf8e33}.dot--off{background:#ff5c5c;box-shadow:0 0 0 3px #ff5c5c33}.layout__bell{position:relative}.layout__bell-count{position:absolute;top:-4px;right:-4px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#ff5c5c;color:#fff;font-size:10px;display:inline-flex;align-items:center;justify-content:center}@media(min-width:900px){.layout__logout-mobile{display:none}}.layout__content{flex:1;padding:18px 16px 84px;max-width:1100px;width:100%;margin:0 auto}@media(min-width:900px){.layout__content{padding-bottom:40px}}.bottom-nav{position:fixed;bottom:0;left:0;right:0;height:60px;display:flex;background:#161a21f5;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid #262c38;z-index:30;padding-bottom:env(safe-area-inset-bottom)}@media(min-width:900px){.bottom-nav{display:none}}.bottom-nav__link{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#6b7485;font-size:11px}.bottom-nav__link.active{color:#4f8cff}.bottom-nav__more{border:none;background:transparent;cursor:pointer;font-family:inherit}.bottom-nav__more.active{color:#4f8cff}.sheet{position:fixed;top:0;right:0;bottom:0;left:0;z-index:40;display:flex;align-items:flex-end;background:#00000080;animation:sheet-fade .16s ease-out}@media(min-width:900px){.sheet{display:none}}.sheet__panel{width:100%;max-width:100%;background:#161a21;border-top:1px solid #262c38;border-radius:16px 16px 0 0;box-shadow:0 8px 30px #00000059;padding:12px 12px calc(14px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:4px;animation:sheet-up .18s ease-out}.sheet__title{font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:#6b7485;padding:4px 10px 8px}.sheet__link{display:flex;align-items:center;gap:12px;width:100%;padding:13px 10px;border:none;border-radius:8px;background:transparent;color:#9aa3b2;font-family:inherit;font-size:15px;text-align:left;cursor:pointer}.sheet__link:hover{background:#1a1f28;color:#e6e9ef}.sheet__link.active{background:#4f8cff24;color:#4f8cff}@keyframes sheet-fade{0%{opacity:0}to{opacity:1}}@keyframes sheet-up{0%{transform:translateY(14px)}to{transform:translateY(0)}}.login{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:20px}.login__card{background:#1a1f28;border:1px solid #262c38;border-radius:12px;width:100%;max-width:380px;padding:28px 24px;text-align:center;display:flex;flex-direction:column;gap:14px;box-shadow:0 8px 30px #00000059}.login__card h1{font-size:20px}.login__card p{margin:0;font-size:13px}.login__icon{align-self:center;width:52px;height:52px;border-radius:14px;background:#4f8cff24;color:#4f8cff;display:flex;align-items:center;justify-content:center}.login__error{color:#ff5c5c;font-size:13px}.section-title{font-size:15px;margin-bottom:12px}.form-grid{display:grid;gap:12px;grid-template-columns:1fr}@media(min-width:560px){.form-grid{grid-template-columns:1fr 1fr}}.group-card{display:flex;flex-direction:column;gap:8px}.group-card__name{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-card__head{min-width:0;flex:1}.donor-row{min-width:0}.group-card__schedule{display:flex;flex-wrap:wrap;gap:6px}.chips{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:4px;background:#10141a;border:1px solid #262c38;border-radius:8px;padding:2px 4px 2px 8px}.chip__input{width:56px;background:transparent;border:none;color:#e6e9ef;font-variant-numeric:tabular-nums}.chip__input:focus{outline:none}.settings-list{display:flex;flex-direction:column;margin-top:12px}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid #262c38;font-size:14px}.stat__value{font-size:22px;font-weight:600}.queue-post{display:flex;gap:14px;align-items:flex-start}.queue-post__photos{display:grid;grid-template-columns:56px;gap:4px;flex:none}.queue-post__photo{width:56px;height:56px;object-fit:cover;border-radius:8px;background:#10141a}.queue-post__photo--empty{border:1px dashed #333b4a}.queue-post__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.queue-post__text{margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-wrap}.dropzone{border:1.5px dashed #333b4a;border-radius:12px;padding:28px 16px;text-align:center;cursor:pointer;color:#9aa3b2;display:flex;flex-direction:column;align-items:center;gap:8px;transition:border-color .15s,background .15s}.dropzone p{margin:0}.dropzone:hover,.dropzone.is-active{border-color:#4f8cff;background:#4f8cff24}.thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:10px}.thumb{position:relative;aspect-ratio:1;border-radius:8px;overflow:hidden;border:1px solid #262c38}.thumb img{width:100%;height:100%;object-fit:cover}.thumb__remove{position:absolute;top:4px;right:4px;width:22px;height:22px;border-radius:50%;border:none;background:#000000b3;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}.logs-filters{display:flex;flex-direction:column;gap:10px}.logs-filters__levels{display:flex;flex-wrap:wrap;gap:8px}.logs-filters__select,.logs-filters__search{background:#10141a;border:1px solid #262c38;border-radius:8px;color:#e6e9ef;padding:6px 10px;font-size:13px}.logs-filters__search{flex:1;min-width:160px}.logs-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border:1px solid #262c38;border-radius:999px;font-size:12px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#6b7485;cursor:pointer;-webkit-user-select:none;user-select:none}.logs-chip input{display:none}.logs-chip.is-on{color:#e6e9ef;border-color:#333b4a;background:#ffffff0a}.logs-chip--debug.is-on{color:#6b7485}.logs-chip--info.is-on{color:#4f8cff;border-color:#4f8cff80}.logs-chip--success.is-on{color:#3ecf8e;border-color:#3ecf8e80}.logs-chip--warning.is-on{color:#f0b429;border-color:#f0b42980}.logs-chip--error.is-on{color:#ff5c5c;border-color:#ff5c5c80}.logs{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12.5px;line-height:1.6;max-height:65vh;overflow-y:auto;white-space:pre-wrap;word-break:break-word}.logs__line{display:flex;gap:8px;padding:1px 4px;border-left:2px solid transparent}.logs__line--warning{border-left-color:#f0b429;background:#f0b4290f}.logs__line--error{border-left-color:#ff5c5c;background:#ff5c5c24}.logs__line--success{border-left-color:#3ecf8e}.logs__time{color:#6b7485;flex:none}.logs__level{flex:none;width:44px;font-weight:600}.logs__level--debug{color:#6b7485}.logs__level--info{color:#4f8cff}.logs__level--success{color:#3ecf8e}.logs__level--warning{color:#f0b429}.logs__level--error{color:#ff5c5c}.logs__category{flex:none;width:68px;color:#9aa3b2;overflow:hidden;text-overflow:ellipsis}.logs__text{flex:1;min-width:0}@media(max-width:899px){.logs-head{flex-wrap:wrap}.logs-head__actions{width:100%;flex-wrap:wrap;gap:10px}.logs-filters__select,.logs-filters__search{flex-basis:100%;min-width:0}.logs{font-size:12px;max-height:60dvh}.logs__line{flex-wrap:wrap;row-gap:2px;padding:3px 6px}.logs__category{width:auto;max-width:45%}.logs__text{flex:1 1 100%;flex-basis:100%}}
