work-license-server 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -402,7 +402,7 @@ html[data-theme="light"] .tab.active { color: #fff; }
402
402
  .field label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
403
403
  .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
404
404
  @media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
405
- input[type="text"], input[type="email"], input[type="number"], select {
405
+ input[type="text"], input[type="email"], input[type="number"], input[type="password"], select {
406
406
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
407
407
  background: var(--field); color: var(--text); font: inherit; font-size: 14px; outline: none;
408
408
  transition: border-color .2s, box-shadow .2s;
@@ -572,6 +572,118 @@ table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
572
572
  .ai-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
573
573
  .ai-input input { border-radius: 999px; }
574
574
  .ai-input .btn { border-radius: 999px; width: 44px; padding: 0; }
575
+ body[data-stage="admin"] .ai-fab { display: none; }
576
+
577
+ /* ---------- Админка с левой вкладкой ИИ-агента ---------- */
578
+ .admin-workspace { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; align-items: start; width: 100%; }
579
+ .admin-workspace.only-agent { grid-template-columns: minmax(0, 1fr); }
580
+ .admin-workspace.only-agent .admin-main { display: none; }
581
+ .admin-left { position: sticky; top: 88px; display: grid; gap: 14px; min-width: 0; }
582
+ .admin-workspace.only-agent .admin-left { position: static; }
583
+ .admin-nav {
584
+ display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px;
585
+ border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
586
+ backdrop-filter: blur(18px);
587
+ }
588
+ .adm-tab {
589
+ display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid transparent;
590
+ border-radius: 12px; background: none; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 650;
591
+ color: var(--text-2); text-align: left; transition: all .2s; min-width: 0;
592
+ }
593
+ .adm-tab span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
594
+ .adm-tab svg { width: 16px; height: 16px; flex: none; color: var(--brand-2); }
595
+ .adm-tab:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--text); }
596
+ .adm-tab.on {
597
+ background: linear-gradient(135deg, var(--brand), #2563eb); color: #fff;
598
+ box-shadow: 0 10px 24px -10px var(--glow);
599
+ }
600
+ .adm-tab.on svg { color: #fff; }
601
+ .adm-tab .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); margin-left: auto; flex: none; }
602
+ .adm-agent-card { padding: 16px; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-color: color-mix(in srgb, var(--brand) 38%, var(--line)); }
603
+ .adm-ai-msgs {
604
+ padding: 12px; border-radius: 14px; border: 1px solid var(--line);
605
+ background: color-mix(in srgb, var(--bg-2) 60%, transparent);
606
+ min-height: 290px; max-height: 410px; overflow-x: hidden;
607
+ }
608
+ .admin-workspace.only-agent .adm-ai-msgs { min-height: 420px; max-height: 560px; }
609
+ .admin-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; width: 100%; }
610
+ .admin-main > .card { min-width: 0; overflow: hidden; }
611
+ .admin-main .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
612
+ @media (max-width: 1120px) {
613
+ .admin-workspace { grid-template-columns: minmax(0, 1fr); }
614
+ .admin-left { position: static; }
615
+ }
616
+
617
+ /* ---------- Оферта и вход администратора ---------- */
618
+ .oferta-banner {
619
+ padding: 16px 22px;
620
+ display: flex;
621
+ align-items: center;
622
+ justify-content: space-between;
623
+ gap: 16px;
624
+ flex-wrap: wrap;
625
+ border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
626
+ }
627
+ .oferta-banner.signed {
628
+ border-color: color-mix(in srgb, var(--ok) 45%, var(--line));
629
+ background: linear-gradient(135deg, color-mix(in srgb, var(--ok) 8%, var(--panel)), var(--panel));
630
+ }
631
+ .oferta-check-box {
632
+ margin-top: 6px;
633
+ padding: 12px 14px;
634
+ border-radius: 14px;
635
+ border: 1px solid var(--line-strong);
636
+ background: color-mix(in srgb, var(--brand) 8%, var(--field));
637
+ }
638
+ .oferta-check-label {
639
+ display: flex;
640
+ align-items: flex-start;
641
+ gap: 10px;
642
+ font-size: 13px;
643
+ line-height: 1.45;
644
+ cursor: pointer;
645
+ color: var(--text-2);
646
+ }
647
+ .oferta-check-label input[type="checkbox"] {
648
+ width: 18px;
649
+ height: 18px;
650
+ margin-top: 2px;
651
+ accent-color: var(--brand);
652
+ flex-shrink: 0;
653
+ }
654
+ .oferta-scroll {
655
+ max-height: 56vh;
656
+ overflow-y: auto;
657
+ padding: 16px;
658
+ border-radius: 14px;
659
+ border: 1px solid var(--line);
660
+ background: var(--field);
661
+ display: grid;
662
+ gap: 14px;
663
+ }
664
+ .oferta-sec h4 {
665
+ margin: 0 0 6px;
666
+ font-size: 14px;
667
+ color: var(--brand-2);
668
+ }
669
+ .oferta-sec p {
670
+ margin: 0;
671
+ font-size: 13px;
672
+ line-height: 1.6;
673
+ color: var(--text-2);
674
+ }
675
+ .admin-auth-gate {
676
+ position: relative;
677
+ z-index: 10;
678
+ min-height: 100vh;
679
+ display: grid;
680
+ place-items: center;
681
+ padding: 24px;
682
+ }
683
+ .admin-login-card {
684
+ width: 100%;
685
+ max-width: 460px;
686
+ }
575
687
 
576
688
  /* ---------- Модальное окно ---------- */
577
689
  .modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(2, 4, 10, .6); backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .25s; }