@gyramais/gyra-design 0.2.58 → 0.2.59

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.
Files changed (27) hide show
  1. package/dist/components/Guide/GuideChecklist.d.ts +42 -0
  2. package/dist/components/Guide/GuideChoice.d.ts +24 -0
  3. package/dist/components/Guide/GuideLauncher.d.ts +48 -0
  4. package/dist/components/Guide/GuideNewsList.d.ts +31 -0
  5. package/dist/components/Guide/SiderList.d.ts +42 -0
  6. package/dist/components/Guide/index.d.ts +5 -0
  7. package/dist/components/Guide/index.js +7 -0
  8. package/dist/components/Guide/index.js.map +1 -0
  9. package/dist/components/Guide/useRovingFocus.d.ts +3 -0
  10. package/dist/emails/balance-sheet-finalized/components/Guide/GuideChecklist.d.ts +42 -0
  11. package/dist/emails/balance-sheet-finalized/components/Guide/GuideChoice.d.ts +24 -0
  12. package/dist/emails/balance-sheet-finalized/components/Guide/GuideLauncher.d.ts +48 -0
  13. package/dist/emails/balance-sheet-finalized/components/Guide/GuideNewsList.d.ts +31 -0
  14. package/dist/emails/balance-sheet-finalized/components/Guide/SiderList.d.ts +42 -0
  15. package/dist/emails/balance-sheet-finalized/components/Guide/index.d.ts +5 -0
  16. package/dist/emails/balance-sheet-finalized/components/Guide/useRovingFocus.d.ts +3 -0
  17. package/dist/emails/balance-sheet-finalized/index.d.ts +1 -0
  18. package/dist/emails/email/components/Guide/GuideChecklist.d.ts +42 -0
  19. package/dist/emails/email/components/Guide/GuideChoice.d.ts +24 -0
  20. package/dist/emails/email/components/Guide/GuideLauncher.d.ts +48 -0
  21. package/dist/emails/email/components/Guide/GuideNewsList.d.ts +31 -0
  22. package/dist/emails/email/components/Guide/SiderList.d.ts +42 -0
  23. package/dist/emails/email/components/Guide/index.d.ts +5 -0
  24. package/dist/emails/email/components/Guide/useRovingFocus.d.ts +3 -0
  25. package/dist/emails/email/index.d.ts +1 -0
  26. package/dist/index.css +1239 -0
  27. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -6474,6 +6474,1245 @@ h6 {
6474
6474
  color: var(--status-danger-text, #c93430);
6475
6475
  }
6476
6476
 
6477
+ /* Guide: "Primeiros passos" e "Novidades" no rodape do menu lateral, mais o
6478
+ bloco de lista curta (SiderList) e o corpo de escolha (GuideChoice).
6479
+
6480
+ Cores so por token: o componente acompanha o tema que o app definir. Escala
6481
+ da casa: 12 semibold nos itens do menu (como .menu-item-label do toolbox),
6482
+ 13 nos titulos de item, 11 em meta e contadores; espacamento em multiplos
6483
+ de 2 e 4; raio 8 nos itens e 12 nos cartoes.
6484
+
6485
+ Armadilhas do index.css global:
6486
+ - `* { outline: none !important }` e `*:focus { box-shadow: none !important }`
6487
+ matam anel de foco desenhado no proprio elemento. O foco visivel aqui e
6488
+ um ::after (o seletor universal nao casa com pseudo-elemento).
6489
+ - `* { font-family: var(--font-sans) }` impede heranca de fonte: o Lexend
6490
+ vai direto no elemento do titulo.
6491
+ - h1..h6 e p nascem pretos, com `whitespace-pre-line` e tamanhos grandes:
6492
+ todo titulo e paragrafo daqui zera cor, tamanho, peso e margem. */
6493
+
6494
+ /* ---- Utilitarios ------------------------------------------------------- */
6495
+
6496
+ .gyramais-guide-sr-only {
6497
+ position: absolute !important;
6498
+ width: 1px;
6499
+ height: 1px;
6500
+ padding: 0;
6501
+ margin: -1px;
6502
+ overflow: hidden;
6503
+ clip: rect(0, 0, 0, 0);
6504
+ white-space: nowrap;
6505
+ border: 0;
6506
+ }
6507
+
6508
+ .gyramais-guide-num {
6509
+ font-variant-numeric: tabular-nums;
6510
+ font-feature-settings: "tnum";
6511
+ }
6512
+
6513
+ .gyramais-guide-launcher:focus-visible::after,
6514
+ .gyramais-guide-icon-button:focus-visible::after,
6515
+ .gyramais-guide-text-button:focus-visible::after,
6516
+ .gyramais-guide-menu-item:focus-visible::after,
6517
+ .gyramais-guide-item:focus-visible::after,
6518
+ .gyramais-guide-news-item:focus-visible::after,
6519
+ .gyramais-guide-choice-option:focus-visible::after,
6520
+ .gyramais-sider-list-action:focus-visible::after,
6521
+ .gyramais-sider-list-collapsed-action:focus-visible::after,
6522
+ .gyramais-sider-list-item:focus-visible::after,
6523
+ .gyramais-sider-list-more:focus-visible::after {
6524
+ content: "";
6525
+ pointer-events: none;
6526
+ position: absolute;
6527
+ inset: -2px;
6528
+ border-radius: var(--radius-md);
6529
+ border-width: 2px;
6530
+ border-color: var(--color-border-focus);
6531
+ }
6532
+ .gyramais-guide-choice-option:focus-visible::after {
6533
+ inset: -3px;
6534
+ border-radius: calc(var(--radius-lg) + 3px);
6535
+ }
6536
+
6537
+ /* ---- GuideLauncher ----------------------------------------------------- */
6538
+
6539
+ .gyramais-guide-launcher {
6540
+ position: relative;
6541
+ margin: 0px;
6542
+ display: flex;
6543
+ min-height: 32px;
6544
+ width: 100%;
6545
+ cursor: pointer;
6546
+ align-items: center;
6547
+ gap: 0.5rem;
6548
+ border-radius: var(--radius-md);
6549
+ border-width: 0px;
6550
+ background-color: transparent;
6551
+ padding: 6px;
6552
+ text-align: left;
6553
+ color: var(--color-text-secondary);
6554
+ transition:
6555
+ background-color var(--duration-fast) var(--ease-default),
6556
+ color var(--duration-fast) var(--ease-default);
6557
+ }
6558
+ .gyramais-guide-launcher:hover,
6559
+ .gyramais-guide-launcher.is-active {
6560
+ background-color: var(--color-surface-active);
6561
+ color: var(--color-text-primary);
6562
+ }
6563
+ .gyramais-guide-launcher.is-collapsed {
6564
+ justify-content: center;
6565
+ padding-left: 0px;
6566
+ padding-right: 0px;
6567
+ }
6568
+
6569
+ .gyramais-guide-launcher-icon {
6570
+ position: relative;
6571
+ display: flex;
6572
+ height: 1.25rem;
6573
+ width: 1.25rem;
6574
+ flex-shrink: 0;
6575
+ align-items: center;
6576
+ justify-content: center;
6577
+ font-size: 20px;
6578
+ line-height: 1;
6579
+ }
6580
+ .gyramais-guide-launcher-icon > svg {
6581
+ height: 18px;
6582
+ width: 18px;
6583
+ }
6584
+
6585
+ .gyramais-guide-launcher-label {
6586
+ min-width: 0px;
6587
+ flex: 1 1 0%;
6588
+ overflow: hidden;
6589
+ text-overflow: ellipsis;
6590
+ white-space: nowrap;
6591
+ font-size: 12px;
6592
+ font-weight: 600;
6593
+ line-height: 1rem;
6594
+ }
6595
+
6596
+ .gyramais-guide-launcher-progress {
6597
+ display: inline-flex;
6598
+ flex-shrink: 0;
6599
+ align-items: center;
6600
+ gap: 5px;
6601
+ font-size: 11px;
6602
+ font-weight: 500;
6603
+ line-height: 1rem;
6604
+ color: var(--color-text-tertiary);
6605
+ font-variant-numeric: tabular-nums;
6606
+ font-feature-settings: "tnum";
6607
+ }
6608
+ .gyramais-guide-launcher-progress.is-complete {
6609
+ color: var(--gyra-blue);
6610
+ }
6611
+
6612
+ .gyramais-guide-ring {
6613
+ flex-shrink: 0;
6614
+ }
6615
+ .gyramais-guide-ring-track {
6616
+ fill: none;
6617
+ stroke: var(--color-border-primary);
6618
+ stroke-width: 2;
6619
+ }
6620
+ .gyramais-guide-ring-value {
6621
+ fill: none;
6622
+ stroke: var(--gyra-blue);
6623
+ stroke-width: 2;
6624
+ stroke-linecap: round;
6625
+ transition: stroke-dashoffset var(--duration-slow) var(--ease-default);
6626
+ }
6627
+
6628
+ .gyramais-guide-launcher-count {
6629
+ display: inline-flex;
6630
+ height: 18px;
6631
+ min-width: 18px;
6632
+ flex-shrink: 0;
6633
+ align-items: center;
6634
+ justify-content: center;
6635
+ border-radius: 9999px;
6636
+ background-color: var(--gyra-blue);
6637
+ padding-left: 5px;
6638
+ padding-right: 5px;
6639
+ font-size: 11px;
6640
+ font-weight: 600;
6641
+ line-height: 1;
6642
+ color: var(--color-text-on-primary);
6643
+ font-variant-numeric: tabular-nums;
6644
+ }
6645
+
6646
+ /* Recolhido: indicador preso ao canto do icone, com um aro na cor do menu
6647
+ para descolar do glifo. */
6648
+ .gyramais-guide-launcher-dot,
6649
+ .gyramais-guide-launcher-mini-count {
6650
+ pointer-events: none;
6651
+ position: absolute;
6652
+ box-shadow: 0 0 0 2px var(--color-surface-sidebar);
6653
+ }
6654
+ .gyramais-guide-launcher-dot {
6655
+ top: 5px;
6656
+ right: 5px;
6657
+ height: 7px;
6658
+ width: 7px;
6659
+ border-radius: 9999px;
6660
+ background-color: var(--gyra-blue);
6661
+ }
6662
+ .gyramais-guide-launcher-mini-count {
6663
+ top: 1px;
6664
+ right: 1px;
6665
+ display: inline-flex;
6666
+ height: 14px;
6667
+ min-width: 14px;
6668
+ align-items: center;
6669
+ justify-content: center;
6670
+ border-radius: 9999px;
6671
+ background-color: var(--gyra-blue);
6672
+ padding-left: 3px;
6673
+ padding-right: 3px;
6674
+ font-size: 9px;
6675
+ font-weight: 600;
6676
+ line-height: 1;
6677
+ color: var(--color-text-on-primary);
6678
+ }
6679
+
6680
+ /* ---- Cartao base (checklist e novidades) ------------------------------- */
6681
+
6682
+ .gyramais-guide-card {
6683
+ position: relative;
6684
+ display: flex;
6685
+ width: 100%;
6686
+ min-width: 0px;
6687
+ flex-direction: column;
6688
+ overflow: visible;
6689
+ border-radius: var(--radius-lg);
6690
+ border-width: 1px;
6691
+ border-style: solid;
6692
+ border-color: var(--color-border-secondary);
6693
+ background-color: var(--color-surface-elevated);
6694
+ color: var(--color-text-primary);
6695
+ box-shadow: var(--shadow-dropdown);
6696
+ }
6697
+
6698
+ .gyramais-guide-card-header {
6699
+ position: relative;
6700
+ display: flex;
6701
+ align-items: flex-start;
6702
+ justify-content: space-between;
6703
+ gap: 0.5rem;
6704
+ padding-left: 0.75rem;
6705
+ padding-right: 0.75rem;
6706
+ padding-top: 0.75rem;
6707
+ padding-bottom: 0.5rem;
6708
+ }
6709
+ .gyramais-guide-card-heading {
6710
+ display: flex;
6711
+ min-width: 0px;
6712
+ flex-direction: column;
6713
+ gap: 2px;
6714
+ }
6715
+ .gyramais-guide-card-heading.is-inline {
6716
+ min-height: 24px;
6717
+ flex-direction: row;
6718
+ align-items: center;
6719
+ gap: 0.5rem;
6720
+ }
6721
+ .gyramais-guide-card-title {
6722
+ margin: 0px;
6723
+ white-space: normal;
6724
+ font-size: 13px;
6725
+ font-weight: 600;
6726
+ line-height: 18px;
6727
+ color: var(--color-text-primary);
6728
+ font-family: var(--font-display);
6729
+ letter-spacing: var(--tracking-normal);
6730
+ }
6731
+ .gyramais-guide-card-subtitle {
6732
+ margin: 0px;
6733
+ white-space: normal;
6734
+ font-size: 12px;
6735
+ font-weight: 400;
6736
+ line-height: 1rem;
6737
+ color: var(--color-text-secondary);
6738
+ }
6739
+ .gyramais-guide-card-actions {
6740
+ margin-right: -0.25rem;
6741
+ margin-top: -3px;
6742
+ display: flex;
6743
+ flex-shrink: 0;
6744
+ align-items: center;
6745
+ gap: 2px;
6746
+ }
6747
+ .gyramais-guide-card-footer {
6748
+ border-width: 0px;
6749
+ border-top-width: 1px;
6750
+ border-style: solid;
6751
+ border-color: var(--color-border-subtle);
6752
+ padding-left: 0.75rem;
6753
+ padding-right: 0.75rem;
6754
+ padding-top: 0.5rem;
6755
+ padding-bottom: 0.5rem;
6756
+ font-size: 12px;
6757
+ color: var(--color-text-secondary);
6758
+ }
6759
+
6760
+ .gyramais-guide-icon-button {
6761
+ position: relative;
6762
+ margin: 0px;
6763
+ display: inline-flex;
6764
+ height: 1.5rem;
6765
+ width: 1.5rem;
6766
+ cursor: pointer;
6767
+ align-items: center;
6768
+ justify-content: center;
6769
+ border-radius: var(--radius-sm);
6770
+ border-width: 0px;
6771
+ background-color: transparent;
6772
+ padding: 0px;
6773
+ color: var(--color-text-tertiary);
6774
+ transition:
6775
+ background-color var(--duration-fast) var(--ease-default),
6776
+ color var(--duration-fast) var(--ease-default);
6777
+ }
6778
+ .gyramais-guide-icon-button:hover,
6779
+ .gyramais-guide-icon-button[aria-expanded="true"] {
6780
+ background-color: var(--color-surface-active);
6781
+ color: var(--color-text-primary);
6782
+ }
6783
+ .gyramais-guide-icon-button:focus-visible::after {
6784
+ border-radius: var(--radius-sm);
6785
+ }
6786
+
6787
+ .gyramais-guide-text-button {
6788
+ position: relative;
6789
+ margin: 0px;
6790
+ margin-right: -0.25rem;
6791
+ cursor: pointer;
6792
+ white-space: nowrap;
6793
+ border-radius: var(--radius-xs);
6794
+ border-width: 0px;
6795
+ background-color: transparent;
6796
+ padding-left: 0.25rem;
6797
+ padding-right: 0.25rem;
6798
+ padding-top: 2px;
6799
+ padding-bottom: 2px;
6800
+ font-size: 12px;
6801
+ font-weight: 500;
6802
+ line-height: 1rem;
6803
+ color: var(--color-text-link);
6804
+ }
6805
+ .gyramais-guide-text-button:hover {
6806
+ background-color: var(--gyra-blue-subtle);
6807
+ }
6808
+ .gyramais-guide-text-button:focus-visible::after {
6809
+ border-radius: var(--radius-xs);
6810
+ }
6811
+
6812
+ /* Menu "Mais opcoes": inline no cartao, sem portal, para herdar o tema. */
6813
+ .gyramais-guide-menu {
6814
+ position: relative;
6815
+ }
6816
+ .gyramais-guide-menu-list {
6817
+ position: absolute;
6818
+ top: calc(100% + 4px);
6819
+ right: 0px;
6820
+ z-index: 10;
6821
+ display: flex;
6822
+ min-width: 180px;
6823
+ flex-direction: column;
6824
+ border-radius: var(--radius-md);
6825
+ border-width: 1px;
6826
+ border-style: solid;
6827
+ border-color: var(--color-border-secondary);
6828
+ background-color: var(--color-surface-elevated);
6829
+ padding: 0.25rem;
6830
+ box-shadow: var(--shadow-drawer);
6831
+ animation: gyramais-guide-fade-in var(--duration-fast) var(--ease-default);
6832
+ }
6833
+ .gyramais-guide-menu-item {
6834
+ position: relative;
6835
+ margin: 0px;
6836
+ width: 100%;
6837
+ cursor: pointer;
6838
+ border-radius: var(--radius-sm);
6839
+ border-width: 0px;
6840
+ background-color: transparent;
6841
+ padding-left: 0.5rem;
6842
+ padding-right: 0.5rem;
6843
+ padding-top: 6px;
6844
+ padding-bottom: 6px;
6845
+ text-align: left;
6846
+ font-size: 12px;
6847
+ font-weight: 500;
6848
+ line-height: 1rem;
6849
+ color: var(--color-text-primary);
6850
+ }
6851
+ .gyramais-guide-menu-item:hover,
6852
+ .gyramais-guide-menu-item:focus-visible {
6853
+ background-color: var(--color-surface-active);
6854
+ }
6855
+ .gyramais-guide-menu-item:focus-visible::after {
6856
+ inset: -0px;
6857
+ border-radius: var(--radius-sm);
6858
+ }
6859
+
6860
+ /* ---- GuideChecklist ---------------------------------------------------- */
6861
+
6862
+ .gyramais-guide-progress-wrap {
6863
+ padding-left: 0.75rem;
6864
+ padding-right: 0.75rem;
6865
+ padding-bottom: 0.25rem;
6866
+ }
6867
+ .gyramais-guide-progress {
6868
+ display: flex;
6869
+ width: 100%;
6870
+ gap: 3px;
6871
+ }
6872
+ .gyramais-guide-progress-segment {
6873
+ height: 0.25rem;
6874
+ flex: 1 1 0%;
6875
+ border-radius: 9999px;
6876
+ background-color: var(--color-border-secondary);
6877
+ transition: background-color var(--duration-slow) var(--ease-default);
6878
+ }
6879
+ .gyramais-guide-progress-segment.is-done {
6880
+ background-color: var(--gyra-blue);
6881
+ }
6882
+ .gyramais-guide-progress-caption {
6883
+ margin: 0px;
6884
+ margin-top: 6px;
6885
+ white-space: normal;
6886
+ font-size: 11px;
6887
+ font-weight: 400;
6888
+ line-height: 1rem;
6889
+ color: var(--color-text-tertiary);
6890
+ }
6891
+
6892
+ .gyramais-guide-items {
6893
+ margin: 0px;
6894
+ display: flex;
6895
+ list-style-type: none;
6896
+ flex-direction: column;
6897
+ gap: 1px;
6898
+ padding-left: 6px;
6899
+ padding-right: 6px;
6900
+ padding-top: 0.25rem;
6901
+ padding-bottom: 6px;
6902
+ }
6903
+ .gyramais-guide-items > li {
6904
+ margin: 0px;
6905
+ padding: 0px;
6906
+ }
6907
+
6908
+ .gyramais-guide-item {
6909
+ position: relative;
6910
+ margin: 0px;
6911
+ display: flex;
6912
+ width: 100%;
6913
+ cursor: pointer;
6914
+ align-items: flex-start;
6915
+ gap: 10px;
6916
+ border-radius: var(--radius-md);
6917
+ border-width: 0px;
6918
+ background-color: transparent;
6919
+ padding-left: 6px;
6920
+ padding-right: 6px;
6921
+ padding-top: 6px;
6922
+ padding-bottom: 6px;
6923
+ text-align: left;
6924
+ color: var(--color-text-primary);
6925
+ transition: background-color var(--duration-fast) var(--ease-default);
6926
+ }
6927
+ .gyramais-guide-item:hover {
6928
+ background-color: var(--color-surface-active);
6929
+ }
6930
+ .gyramais-guide-item.is-next {
6931
+ background-color: var(--gyra-blue-subtle);
6932
+ }
6933
+ .gyramais-guide-item.is-next:hover {
6934
+ background-color: var(--gyra-blue-light);
6935
+ }
6936
+
6937
+ /* Marcador: aro vazio, aro azul no proximo passo, disco azul com check no
6938
+ concluido. 16px alinhado a primeira linha do titulo (18px). */
6939
+ .gyramais-guide-item-mark {
6940
+ position: relative;
6941
+ margin-top: 1px;
6942
+ display: flex;
6943
+ height: 1rem;
6944
+ width: 1rem;
6945
+ flex-shrink: 0;
6946
+ align-items: center;
6947
+ justify-content: center;
6948
+ border-radius: 9999px;
6949
+ border-width: 1.5px;
6950
+ border-style: solid;
6951
+ border-color: var(--color-border-strong);
6952
+ color: var(--color-text-tertiary);
6953
+ transition:
6954
+ background-color var(--duration-normal) var(--ease-default),
6955
+ border-color var(--duration-normal) var(--ease-default);
6956
+ }
6957
+ .gyramais-guide-item.is-next .gyramais-guide-item-mark {
6958
+ border-color: var(--gyra-blue);
6959
+ }
6960
+ .gyramais-guide-item.is-done .gyramais-guide-item-mark {
6961
+ border-color: var(--gyra-blue);
6962
+ background-color: var(--gyra-blue);
6963
+ }
6964
+ .gyramais-guide-item-mark:has(.gyramais-guide-item-icon) {
6965
+ border-radius: 0px;
6966
+ border-width: 0px;
6967
+ }
6968
+ .gyramais-guide-item-icon {
6969
+ display: flex;
6970
+ height: 1rem;
6971
+ width: 1rem;
6972
+ align-items: center;
6973
+ justify-content: center;
6974
+ font-size: 16px;
6975
+ line-height: 1;
6976
+ }
6977
+ .gyramais-guide-item-icon > svg {
6978
+ height: 1rem;
6979
+ width: 1rem;
6980
+ }
6981
+ .gyramais-guide-item.is-next .gyramais-guide-item-icon {
6982
+ color: var(--gyra-blue);
6983
+ }
6984
+
6985
+ .gyramais-guide-check {
6986
+ display: block;
6987
+ }
6988
+ .gyramais-guide-check path {
6989
+ fill: none;
6990
+ stroke: var(--color-text-on-primary);
6991
+ stroke-width: 1.9;
6992
+ stroke-linecap: round;
6993
+ stroke-linejoin: round;
6994
+ }
6995
+
6996
+ .gyramais-guide-item-body {
6997
+ display: flex;
6998
+ min-width: 0px;
6999
+ flex: 1 1 0%;
7000
+ flex-direction: column;
7001
+ gap: 2px;
7002
+ }
7003
+ .gyramais-guide-item-title {
7004
+ font-size: 13px;
7005
+ font-weight: 500;
7006
+ line-height: 18px;
7007
+ color: var(--color-text-primary);
7008
+ }
7009
+ .gyramais-guide-item.is-next .gyramais-guide-item-title {
7010
+ font-weight: 600;
7011
+ }
7012
+ .gyramais-guide-item-description {
7013
+ font-size: 12px;
7014
+ font-weight: 400;
7015
+ line-height: 1rem;
7016
+ color: var(--color-text-secondary);
7017
+ }
7018
+
7019
+ /* Risco do concluido: gradiente de 1px em vez de text-decoration, para poder
7020
+ animar da esquerda para a direita e acompanhar quebras de linha. */
7021
+ .gyramais-guide-item.is-done .gyramais-guide-item-title {
7022
+ font-weight: 400;
7023
+ color: var(--color-text-tertiary);
7024
+ }
7025
+ .gyramais-guide-item.is-done .gyramais-guide-item-title-text {
7026
+ background-image: linear-gradient(currentColor, currentColor);
7027
+ background-repeat: no-repeat;
7028
+ background-position: 0 55%;
7029
+ background-size: 100% 1px;
7030
+ -webkit-box-decoration-break: clone;
7031
+ box-decoration-break: clone;
7032
+ }
7033
+
7034
+ .gyramais-guide-item-meta {
7035
+ margin-top: 1px;
7036
+ flex-shrink: 0;
7037
+ font-size: 11px;
7038
+ line-height: 1rem;
7039
+ color: var(--color-text-tertiary);
7040
+ font-variant-numeric: tabular-nums;
7041
+ }
7042
+ .gyramais-guide-item-chevron {
7043
+ margin-top: 2px;
7044
+ margin-left: -0.25rem;
7045
+ flex-shrink: 0;
7046
+ color: var(--color-text-tertiary);
7047
+ opacity: 0;
7048
+ transition:
7049
+ opacity var(--duration-fast) var(--ease-default),
7050
+ transform var(--duration-fast) var(--ease-default);
7051
+ }
7052
+ .gyramais-guide-item:hover .gyramais-guide-item-chevron,
7053
+ .gyramais-guide-item:focus-visible .gyramais-guide-item-chevron,
7054
+ .gyramais-guide-item.is-next .gyramais-guide-item-chevron {
7055
+ opacity: 1;
7056
+ }
7057
+ .gyramais-guide-item.is-next .gyramais-guide-item-chevron {
7058
+ color: var(--gyra-blue);
7059
+ }
7060
+ .gyramais-guide-item:hover .gyramais-guide-item-chevron {
7061
+ transform: translateX(2px);
7062
+ }
7063
+
7064
+ /* Acabou de concluir: disco cresce com mola, check se desenha, titulo risca. */
7065
+ .gyramais-guide-item.is-just-done .gyramais-guide-item-mark {
7066
+ animation: gyramais-guide-pop 420ms var(--ease-spring);
7067
+ }
7068
+ .gyramais-guide-item.is-just-done .gyramais-guide-check path {
7069
+ stroke-dasharray: 11;
7070
+ animation: gyramais-guide-draw 260ms var(--ease-default) 120ms both;
7071
+ }
7072
+ .gyramais-guide-item.is-just-done .gyramais-guide-item-title-text {
7073
+ animation: gyramais-guide-strike 320ms var(--ease-default) 220ms both;
7074
+ }
7075
+
7076
+ .gyramais-guide-checklist-loading {
7077
+ display: flex;
7078
+ flex-direction: column;
7079
+ gap: 0.75rem;
7080
+ padding-left: 0.75rem;
7081
+ padding-right: 0.75rem;
7082
+ padding-bottom: 0.75rem;
7083
+ }
7084
+ .gyramais-guide-skeleton-rows {
7085
+ display: flex;
7086
+ flex-direction: column;
7087
+ gap: 14px;
7088
+ padding-top: 0.25rem;
7089
+ }
7090
+ .gyramais-guide-skeleton-row {
7091
+ display: flex;
7092
+ align-items: center;
7093
+ gap: 10px;
7094
+ }
7095
+
7096
+ /* ---- Estado vazio compartilhado ---------------------------------------- */
7097
+
7098
+ .gyramais-guide-empty {
7099
+ display: flex;
7100
+ flex-direction: column;
7101
+ align-items: center;
7102
+ gap: 0.5rem;
7103
+ padding-left: 1rem;
7104
+ padding-right: 1rem;
7105
+ padding-top: 1rem;
7106
+ padding-bottom: 1.25rem;
7107
+ text-align: center;
7108
+ }
7109
+ .gyramais-guide-empty-icon {
7110
+ display: flex;
7111
+ height: 2rem;
7112
+ width: 2rem;
7113
+ align-items: center;
7114
+ justify-content: center;
7115
+ border-radius: 9999px;
7116
+ border-width: 1px;
7117
+ border-style: solid;
7118
+ border-color: var(--color-border-subtle);
7119
+ background-color: var(--color-surface-secondary);
7120
+ color: var(--color-text-tertiary);
7121
+ }
7122
+ .gyramais-guide-empty-text {
7123
+ margin: 0px;
7124
+ white-space: normal;
7125
+ padding-left: 0.75rem;
7126
+ padding-right: 0.75rem;
7127
+ padding-bottom: 0.75rem;
7128
+ font-size: 12px;
7129
+ font-weight: 400;
7130
+ line-height: 1rem;
7131
+ color: var(--color-text-tertiary);
7132
+ }
7133
+ .gyramais-guide-empty .gyramais-guide-empty-text {
7134
+ padding: 0px;
7135
+ }
7136
+
7137
+ /* ---- GuideNewsList ----------------------------------------------------- */
7138
+
7139
+ .gyramais-guide-news-count {
7140
+ display: inline-flex;
7141
+ height: 18px;
7142
+ align-items: center;
7143
+ white-space: nowrap;
7144
+ border-radius: 9999px;
7145
+ background-color: var(--gyra-blue-light);
7146
+ padding-left: 6px;
7147
+ padding-right: 6px;
7148
+ font-size: 11px;
7149
+ font-weight: 500;
7150
+ line-height: 1;
7151
+ color: var(--gyra-blue);
7152
+ }
7153
+
7154
+ .gyramais-guide-news-items {
7155
+ margin: 0px;
7156
+ display: flex;
7157
+ max-height: min(60vh, 420px);
7158
+ list-style-type: none;
7159
+ flex-direction: column;
7160
+ gap: 1px;
7161
+ overflow-y: auto;
7162
+ overscroll-behavior: contain;
7163
+ padding-left: 6px;
7164
+ padding-right: 6px;
7165
+ padding-bottom: 6px;
7166
+ scrollbar-width: thin;
7167
+ scrollbar-color: var(--color-border-primary) transparent;
7168
+ }
7169
+ .gyramais-guide-news-items::-webkit-scrollbar {
7170
+ width: 6px;
7171
+ }
7172
+ .gyramais-guide-news-items::-webkit-scrollbar-thumb {
7173
+ border-radius: 9999px;
7174
+ background-color: var(--color-border-primary);
7175
+ }
7176
+ .gyramais-guide-news-items > li {
7177
+ margin: 0px;
7178
+ padding: 0px;
7179
+ }
7180
+
7181
+ .gyramais-guide-news-item {
7182
+ position: relative;
7183
+ margin: 0px;
7184
+ display: flex;
7185
+ width: 100%;
7186
+ cursor: pointer;
7187
+ border-radius: var(--radius-md);
7188
+ border-width: 0px;
7189
+ background-color: transparent;
7190
+ padding-top: 0.5rem;
7191
+ padding-bottom: 0.5rem;
7192
+ padding-right: 6px;
7193
+ padding-left: 1.25rem;
7194
+ text-align: left;
7195
+ transition: background-color var(--duration-fast) var(--ease-default);
7196
+ }
7197
+ .gyramais-guide-news-item:hover {
7198
+ background-color: var(--color-surface-active);
7199
+ }
7200
+
7201
+ /* O ponto mora no titulo (e nao na linha), para ficar alinhado a ele mesmo
7202
+ quando ha miniatura acima. A calha de 20px e fixa: lidas e nao lidas
7203
+ comecam na mesma coluna. */
7204
+ .gyramais-guide-news-dot {
7205
+ position: absolute;
7206
+ left: -13px;
7207
+ top: 6px;
7208
+ height: 6px;
7209
+ width: 6px;
7210
+ border-radius: 9999px;
7211
+ background-color: transparent;
7212
+ }
7213
+ .gyramais-guide-news-item.is-unread .gyramais-guide-news-dot {
7214
+ background-color: var(--gyra-blue);
7215
+ }
7216
+
7217
+ .gyramais-guide-news-body {
7218
+ display: flex;
7219
+ min-width: 0px;
7220
+ flex: 1 1 0%;
7221
+ flex-direction: column;
7222
+ gap: 2px;
7223
+ }
7224
+ .gyramais-guide-news-media {
7225
+ margin-bottom: 6px;
7226
+ display: block;
7227
+ aspect-ratio: 16/9;
7228
+ max-height: 120px;
7229
+ overflow: hidden;
7230
+ border-radius: var(--radius-sm);
7231
+ border-width: 1px;
7232
+ border-style: solid;
7233
+ border-color: var(--color-border-subtle);
7234
+ background-color: var(--color-surface-secondary);
7235
+ }
7236
+ .gyramais-guide-news-media > img,
7237
+ .gyramais-guide-news-media > video {
7238
+ display: block;
7239
+ height: 100%;
7240
+ width: 100%;
7241
+ -o-object-fit: cover;
7242
+ object-fit: cover;
7243
+ }
7244
+ .gyramais-guide-news-title {
7245
+ position: relative;
7246
+ font-size: 13px;
7247
+ font-weight: 500;
7248
+ line-height: 18px;
7249
+ color: var(--color-text-primary);
7250
+ }
7251
+ .gyramais-guide-news-item.is-unread .gyramais-guide-news-title {
7252
+ font-weight: 600;
7253
+ }
7254
+ .gyramais-guide-news-summary {
7255
+ overflow: hidden;
7256
+ display: -webkit-box;
7257
+ -webkit-box-orient: vertical;
7258
+ -webkit-line-clamp: 2;
7259
+ font-size: 12px;
7260
+ line-height: 1rem;
7261
+ color: var(--color-text-secondary);
7262
+ }
7263
+ .gyramais-guide-news-date {
7264
+ margin-top: 2px;
7265
+ font-size: 11px;
7266
+ line-height: 1rem;
7267
+ color: var(--color-text-tertiary);
7268
+ font-variant-numeric: tabular-nums;
7269
+ }
7270
+
7271
+ .gyramais-guide-news-loading {
7272
+ display: flex;
7273
+ flex-direction: column;
7274
+ gap: 1rem;
7275
+ padding-left: 1.25rem;
7276
+ padding-right: 1.25rem;
7277
+ padding-top: 0.25rem;
7278
+ padding-bottom: 1rem;
7279
+ }
7280
+ .gyramais-guide-news-skeleton {
7281
+ display: flex;
7282
+ flex-direction: column;
7283
+ gap: 6px;
7284
+ }
7285
+
7286
+ /* ---- GuideChoice ------------------------------------------------------- */
7287
+
7288
+ .gyramais-guide-choice {
7289
+ display: flex;
7290
+ width: 100%;
7291
+ flex-direction: column;
7292
+ gap: 1rem;
7293
+ color: var(--color-text-primary);
7294
+ }
7295
+ .gyramais-guide-choice-header {
7296
+ display: flex;
7297
+ flex-direction: column;
7298
+ gap: 0.25rem;
7299
+ }
7300
+ .gyramais-guide-choice-title {
7301
+ margin: 0px;
7302
+ white-space: normal;
7303
+ font-size: 17px;
7304
+ font-weight: 600;
7305
+ line-height: 22px;
7306
+ color: var(--color-text-primary);
7307
+ font-family: var(--font-display);
7308
+ letter-spacing: var(--tracking-tight);
7309
+ }
7310
+ .gyramais-guide-choice-subtitle {
7311
+ margin: 0px;
7312
+ white-space: normal;
7313
+ font-size: 13px;
7314
+ font-weight: 400;
7315
+ line-height: 18px;
7316
+ color: var(--color-text-secondary);
7317
+ }
7318
+
7319
+ .gyramais-guide-choice-options {
7320
+ margin: 0px;
7321
+ display: flex;
7322
+ list-style-type: none;
7323
+ flex-direction: column;
7324
+ gap: 0.5rem;
7325
+ padding: 0px;
7326
+ }
7327
+ .gyramais-guide-choice-options > li {
7328
+ margin: 0px;
7329
+ padding: 0px;
7330
+ }
7331
+
7332
+ .gyramais-guide-choice-option {
7333
+ position: relative;
7334
+ margin: 0px;
7335
+ display: flex;
7336
+ width: 100%;
7337
+ cursor: pointer;
7338
+ align-items: center;
7339
+ gap: 0.75rem;
7340
+ border-radius: var(--radius-lg);
7341
+ border-width: 1px;
7342
+ border-style: solid;
7343
+ border-color: var(--color-border-secondary);
7344
+ background-color: var(--color-surface-primary);
7345
+ padding-left: 14px;
7346
+ padding-right: 14px;
7347
+ padding-top: 0.75rem;
7348
+ padding-bottom: 0.75rem;
7349
+ text-align: left;
7350
+ transition:
7351
+ border-color var(--duration-fast) var(--ease-default),
7352
+ background-color var(--duration-fast) var(--ease-default);
7353
+ }
7354
+ .gyramais-guide-choice-option:hover {
7355
+ border-color: var(--color-border-primary);
7356
+ background-color: var(--color-surface-secondary);
7357
+ }
7358
+ .gyramais-guide-choice-option:active {
7359
+ background-color: var(--color-surface-active);
7360
+ }
7361
+
7362
+ .gyramais-guide-choice-icon {
7363
+ display: flex;
7364
+ height: 2rem;
7365
+ width: 2rem;
7366
+ flex-shrink: 0;
7367
+ align-items: center;
7368
+ justify-content: center;
7369
+ align-self: flex-start;
7370
+ border-radius: var(--radius-md);
7371
+ border-width: 1px;
7372
+ border-style: solid;
7373
+ border-color: var(--color-border-subtle);
7374
+ background-color: var(--color-surface-secondary);
7375
+ font-size: 18px;
7376
+ line-height: 1;
7377
+ color: var(--color-text-secondary);
7378
+ }
7379
+ .gyramais-guide-choice-icon > svg {
7380
+ height: 18px;
7381
+ width: 18px;
7382
+ }
7383
+ .gyramais-guide-choice-option.is-recommended .gyramais-guide-choice-icon {
7384
+ border-color: transparent;
7385
+ background-color: var(--gyra-blue-light);
7386
+ color: var(--gyra-blue);
7387
+ }
7388
+
7389
+ .gyramais-guide-choice-body {
7390
+ display: flex;
7391
+ min-width: 0px;
7392
+ flex: 1 1 0%;
7393
+ flex-direction: column;
7394
+ gap: 2px;
7395
+ }
7396
+ .gyramais-guide-choice-option-title {
7397
+ display: flex;
7398
+ flex-wrap: wrap;
7399
+ align-items: center;
7400
+ -moz-column-gap: 0.5rem;
7401
+ column-gap: 0.5rem;
7402
+ row-gap: 0.25rem;
7403
+ font-size: 14px;
7404
+ font-weight: 500;
7405
+ line-height: 1.25rem;
7406
+ color: var(--color-text-primary);
7407
+ }
7408
+ .gyramais-guide-choice-badge {
7409
+ display: inline-flex;
7410
+ height: 18px;
7411
+ align-items: center;
7412
+ white-space: nowrap;
7413
+ border-radius: 9999px;
7414
+ background-color: var(--gyra-blue-light);
7415
+ padding-left: 6px;
7416
+ padding-right: 6px;
7417
+ font-size: 11px;
7418
+ font-weight: 500;
7419
+ line-height: 1;
7420
+ color: var(--gyra-blue);
7421
+ }
7422
+ .gyramais-guide-choice-description {
7423
+ font-size: 12.5px;
7424
+ line-height: 18px;
7425
+ color: var(--color-text-secondary);
7426
+ }
7427
+ .gyramais-guide-choice-chevron {
7428
+ flex-shrink: 0;
7429
+ color: var(--color-text-quaternary);
7430
+ transition:
7431
+ transform var(--duration-fast) var(--ease-default),
7432
+ color var(--duration-fast) var(--ease-default);
7433
+ }
7434
+ .gyramais-guide-choice-option:hover .gyramais-guide-choice-chevron {
7435
+ color: var(--color-text-secondary);
7436
+ transform: translateX(2px);
7437
+ }
7438
+
7439
+ /* ---- SiderList --------------------------------------------------------- */
7440
+
7441
+ .gyramais-sider-list {
7442
+ display: flex;
7443
+ width: 100%;
7444
+ min-width: 0px;
7445
+ flex-direction: column;
7446
+ }
7447
+ .gyramais-sider-list.is-collapsed {
7448
+ align-items: center;
7449
+ }
7450
+
7451
+ .gyramais-sider-list-header {
7452
+ margin-bottom: 2px;
7453
+ display: flex;
7454
+ height: 1.5rem;
7455
+ align-items: center;
7456
+ justify-content: space-between;
7457
+ gap: 0.5rem;
7458
+ padding-left: 6px;
7459
+ padding-right: 2px;
7460
+ }
7461
+ /* Mesmo rotulo de grupo do menu (.menu-group-label do toolbox). */
7462
+ .gyramais-sider-list-title {
7463
+ margin: 0px;
7464
+ overflow: hidden;
7465
+ text-overflow: ellipsis;
7466
+ white-space: nowrap;
7467
+ font-size: 10.5px;
7468
+ font-weight: 600;
7469
+ text-transform: uppercase;
7470
+ line-height: 1rem;
7471
+ letter-spacing: 0.09em;
7472
+ color: var(--color-text-tertiary);
7473
+ }
7474
+
7475
+ .gyramais-sider-list-action {
7476
+ position: relative;
7477
+ margin: 0px;
7478
+ display: inline-flex;
7479
+ height: 1.25rem;
7480
+ width: 1.25rem;
7481
+ flex-shrink: 0;
7482
+ cursor: pointer;
7483
+ align-items: center;
7484
+ justify-content: center;
7485
+ border-radius: var(--radius-sm);
7486
+ border-width: 0px;
7487
+ background-color: transparent;
7488
+ padding: 0px;
7489
+ font-size: 14px;
7490
+ line-height: 1;
7491
+ color: var(--color-text-tertiary);
7492
+ transition:
7493
+ background-color var(--duration-fast) var(--ease-default),
7494
+ color var(--duration-fast) var(--ease-default);
7495
+ }
7496
+ .gyramais-sider-list-action > svg {
7497
+ height: 14px;
7498
+ width: 14px;
7499
+ }
7500
+ .gyramais-sider-list-action:hover {
7501
+ background-color: var(--color-surface-active);
7502
+ color: var(--color-text-primary);
7503
+ }
7504
+ .gyramais-sider-list-action:focus-visible::after {
7505
+ border-radius: var(--radius-sm);
7506
+ }
7507
+
7508
+ .gyramais-sider-list-collapsed-action {
7509
+ position: relative;
7510
+ margin: 0px;
7511
+ display: flex;
7512
+ height: 2rem;
7513
+ width: 100%;
7514
+ cursor: pointer;
7515
+ align-items: center;
7516
+ justify-content: center;
7517
+ border-radius: var(--radius-md);
7518
+ border-width: 0px;
7519
+ background-color: transparent;
7520
+ padding: 0px;
7521
+ font-size: 20px;
7522
+ line-height: 1;
7523
+ color: var(--color-text-secondary);
7524
+ }
7525
+ .gyramais-sider-list-collapsed-action > svg {
7526
+ height: 18px;
7527
+ width: 18px;
7528
+ }
7529
+ .gyramais-sider-list-collapsed-action:hover {
7530
+ background-color: var(--color-surface-active);
7531
+ color: var(--color-text-primary);
7532
+ }
7533
+
7534
+ .gyramais-sider-list-items {
7535
+ margin: 0px;
7536
+ display: flex;
7537
+ list-style-type: none;
7538
+ flex-direction: column;
7539
+ gap: 1px;
7540
+ padding: 0px;
7541
+ }
7542
+ .gyramais-sider-list-items > li {
7543
+ margin: 0px;
7544
+ min-width: 0px;
7545
+ padding: 0px;
7546
+ }
7547
+ .gyramais-sider-list-item {
7548
+ position: relative;
7549
+ margin: 0px;
7550
+ display: flex;
7551
+ height: 1.75rem;
7552
+ width: 100%;
7553
+ cursor: pointer;
7554
+ align-items: center;
7555
+ gap: 0.5rem;
7556
+ border-radius: var(--radius-md);
7557
+ border-width: 0px;
7558
+ background-color: transparent;
7559
+ padding-left: 6px;
7560
+ padding-right: 6px;
7561
+ text-align: left;
7562
+ color: var(--color-text-secondary);
7563
+ transition:
7564
+ background-color var(--duration-fast) var(--ease-default),
7565
+ color var(--duration-fast) var(--ease-default);
7566
+ }
7567
+ .gyramais-sider-list-item:hover {
7568
+ background-color: var(--color-surface-active);
7569
+ color: var(--color-text-primary);
7570
+ }
7571
+ .gyramais-sider-list-item.is-active {
7572
+ background-color: var(--color-surface-active);
7573
+ color: var(--color-text-primary);
7574
+ }
7575
+ .gyramais-sider-list-item-icon {
7576
+ display: flex;
7577
+ height: 1rem;
7578
+ width: 1rem;
7579
+ flex-shrink: 0;
7580
+ align-items: center;
7581
+ justify-content: center;
7582
+ font-size: 14px;
7583
+ line-height: 1;
7584
+ color: var(--color-text-tertiary);
7585
+ }
7586
+ .gyramais-sider-list-item-icon > svg {
7587
+ height: 14px;
7588
+ width: 14px;
7589
+ }
7590
+ .gyramais-sider-list-item-label {
7591
+ min-width: 0px;
7592
+ flex: 1 1 0%;
7593
+ overflow: hidden;
7594
+ text-overflow: ellipsis;
7595
+ white-space: nowrap;
7596
+ font-size: 12.5px;
7597
+ font-weight: 400;
7598
+ line-height: 1rem;
7599
+ }
7600
+ .gyramais-sider-list-item.is-active .gyramais-sider-list-item-label {
7601
+ font-weight: 500;
7602
+ }
7603
+
7604
+ .gyramais-sider-list-more {
7605
+ position: relative;
7606
+ margin: 0px;
7607
+ margin-top: 2px;
7608
+ display: inline-flex;
7609
+ height: 1.5rem;
7610
+ cursor: pointer;
7611
+ align-items: center;
7612
+ gap: 0.25rem;
7613
+ align-self: flex-start;
7614
+ border-radius: var(--radius-md);
7615
+ border-width: 0px;
7616
+ background-color: transparent;
7617
+ padding-left: 6px;
7618
+ padding-right: 6px;
7619
+ font-size: 12px;
7620
+ font-weight: 500;
7621
+ line-height: 1rem;
7622
+ color: var(--color-text-tertiary);
7623
+ transition: color var(--duration-fast) var(--ease-default);
7624
+ }
7625
+ .gyramais-sider-list-more:hover {
7626
+ color: var(--color-text-primary);
7627
+ }
7628
+
7629
+ .gyramais-sider-list-loading {
7630
+ display: flex;
7631
+ flex-direction: column;
7632
+ gap: 18px;
7633
+ padding-left: 6px;
7634
+ padding-right: 6px;
7635
+ padding-top: 9px;
7636
+ padding-bottom: 9px;
7637
+ }
7638
+ .gyramais-sider-list-empty {
7639
+ margin: 0px;
7640
+ white-space: normal;
7641
+ padding-left: 6px;
7642
+ padding-right: 6px;
7643
+ padding-top: 0.25rem;
7644
+ padding-bottom: 0.25rem;
7645
+ font-size: 12px;
7646
+ font-weight: 400;
7647
+ line-height: 1rem;
7648
+ color: var(--color-text-tertiary);
7649
+ }
7650
+
7651
+ /* ---- Movimento --------------------------------------------------------- */
7652
+
7653
+ @keyframes gyramais-guide-fade-in {
7654
+ from {
7655
+ opacity: 0;
7656
+ transform: translateY(-2px);
7657
+ }
7658
+ to {
7659
+ opacity: 1;
7660
+ transform: translateY(0);
7661
+ }
7662
+ }
7663
+ @keyframes gyramais-guide-pop {
7664
+ 0% {
7665
+ transform: scale(0.6);
7666
+ }
7667
+ 60% {
7668
+ transform: scale(1.15);
7669
+ }
7670
+ 100% {
7671
+ transform: scale(1);
7672
+ }
7673
+ }
7674
+ @keyframes gyramais-guide-draw {
7675
+ from {
7676
+ stroke-dashoffset: 11;
7677
+ }
7678
+ to {
7679
+ stroke-dashoffset: 0;
7680
+ }
7681
+ }
7682
+ @keyframes gyramais-guide-strike {
7683
+ from {
7684
+ background-size: 0 1px;
7685
+ }
7686
+ to {
7687
+ background-size: 100% 1px;
7688
+ }
7689
+ }
7690
+
7691
+ @media (prefers-reduced-motion: reduce) {
7692
+ .gyramais-guide-launcher,
7693
+ .gyramais-guide-ring-value,
7694
+ .gyramais-guide-progress-segment,
7695
+ .gyramais-guide-item,
7696
+ .gyramais-guide-item-mark,
7697
+ .gyramais-guide-item-chevron,
7698
+ .gyramais-guide-news-item,
7699
+ .gyramais-guide-choice-option,
7700
+ .gyramais-guide-choice-chevron,
7701
+ .gyramais-sider-list-item {
7702
+ transition: none;
7703
+ }
7704
+ .gyramais-guide-menu-list,
7705
+ .gyramais-guide-item.is-just-done .gyramais-guide-item-mark,
7706
+ .gyramais-guide-item.is-just-done .gyramais-guide-check path,
7707
+ .gyramais-guide-item.is-just-done .gyramais-guide-item-title-text {
7708
+ animation: none;
7709
+ }
7710
+ .gyramais-guide-item:hover .gyramais-guide-item-chevron,
7711
+ .gyramais-guide-choice-option:hover .gyramais-guide-choice-chevron {
7712
+ transform: none;
7713
+ }
7714
+ }
7715
+
6477
7716
  .gyramais-hover-card-trigger {
6478
7717
 
6479
7718
  display: block;