@a3s-lab/office 0.1.0 → 0.2.2

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 (69) hide show
  1. package/README.md +101 -24
  2. package/dist/0~2582.js +485 -0
  3. package/dist/0~4595.js +14 -7
  4. package/dist/0~4750.js +939 -0
  5. package/dist/{0~work-document-paragraph-formatting.js → 0~5861.js} +174 -3
  6. package/dist/0~7048.js +8 -6
  7. package/dist/0~9512.js +7 -4
  8. package/dist/0~document-editor.js +3147 -531
  9. package/dist/0~markdown-editor.js +26 -1
  10. package/dist/0~presentation-editor.js +68 -12
  11. package/dist/0~spreadsheet-editor.js +37 -17
  12. package/dist/0~work-document-extensions.js +588 -13
  13. package/dist/0~work-document-model-codec.js +1 -1
  14. package/dist/0~work-docx-bibliography.js +1 -1
  15. package/dist/0~work-docx-export.js +116 -55
  16. package/dist/0~work-docx-import.js +766 -107
  17. package/dist/0~work-office-diagnostics.js +2 -2
  18. package/dist/{4704.js → 2881.js} +162 -71
  19. package/dist/4104.js +2 -62
  20. package/dist/internal/features/work/editors/document-comment-window.d.ts +37 -0
  21. package/dist/internal/features/work/editors/document-navigation-panel.d.ts +3 -1
  22. package/dist/internal/features/work/editors/document-navigation-window.d.ts +64 -0
  23. package/dist/internal/features/work/editors/document-outline-navigation.d.ts +11 -0
  24. package/dist/internal/features/work/editors/document-page-navigation.d.ts +11 -1
  25. package/dist/internal/features/work/editors/document-page-thumbnail.d.ts +31 -0
  26. package/dist/internal/features/work/editors/document-picture-properties-dialog-model.d.ts +28 -0
  27. package/dist/internal/features/work/editors/document-picture-properties-dialog.d.ts +4 -0
  28. package/dist/internal/features/work/editors/document-search-navigation.d.ts +12 -0
  29. package/dist/internal/features/work/editors/document-table-margins-popover.d.ts +4 -0
  30. package/dist/internal/features/work/editors/document-table-properties-dialog-model.d.ts +51 -0
  31. package/dist/internal/features/work/editors/document-table-properties-dialog-sections.d.ts +19 -0
  32. package/dist/internal/features/work/editors/document-table-properties-dialog.d.ts +8 -0
  33. package/dist/internal/features/work/editors/office-task-pane.d.ts +1 -1
  34. package/dist/internal/features/work/editors/presentation-chart-panel.d.ts +2 -1
  35. package/dist/internal/features/work/editors/presentation-comments-panel.d.ts +2 -1
  36. package/dist/internal/features/work/editors/spreadsheet-workbook-panel.d.ts +2 -1
  37. package/dist/internal/features/work/editors/use-document-pagination.d.ts +6 -0
  38. package/dist/internal/features/work/editors/use-presentation-review-commands.d.ts +1 -1
  39. package/dist/internal/features/work/work-document-image-layout.d.ts +11 -0
  40. package/dist/internal/features/work/work-document-page-capture.d.ts +15 -0
  41. package/dist/internal/features/work/work-document-paragraph-formatting.d.ts +4 -0
  42. package/dist/internal/features/work/work-document-section.d.ts +3 -1
  43. package/dist/internal/features/work/work-document-table-borders.d.ts +20 -0
  44. package/dist/internal/features/work/work-document-table-cell-formatting.d.ts +8 -5
  45. package/dist/internal/features/work/work-document-table-geometry.d.ts +41 -0
  46. package/dist/internal/features/work/work-document-table-property-changes.d.ts +25 -0
  47. package/dist/internal/features/work/work-document-table-sizing.d.ts +15 -2
  48. package/dist/internal/features/work/work-document-word-line-metrics.d.ts +11 -0
  49. package/dist/internal/features/work/work-docx-document-layout.d.ts +2 -0
  50. package/dist/internal/features/work/work-docx-paragraph-alignment-import.d.ts +2 -1
  51. package/dist/internal/features/work/work-docx-paragraph-direction-import.d.ts +2 -1
  52. package/dist/internal/features/work/work-docx-paragraph-indent-import.d.ts +2 -1
  53. package/dist/internal/features/work/work-docx-paragraph-pagination-import.d.ts +2 -1
  54. package/dist/internal/features/work/work-docx-paragraph-spacing-import.d.ts +3 -2
  55. package/dist/internal/features/work/work-docx-paragraph-styles.d.ts +2 -2
  56. package/dist/internal/features/work/work-docx-run-formatting-import.d.ts +8 -1
  57. package/dist/internal/features/work/work-docx-tab-stop-import.d.ts +2 -1
  58. package/dist/internal/features/work/work-docx-table-cell-export.d.ts +1 -1
  59. package/dist/internal/features/work/work-docx-table-cell-import.d.ts +14 -4
  60. package/dist/internal/features/work/work-docx-table-sizing-export.d.ts +1 -1
  61. package/dist/internal/features/work/work-docx-table-sizing-import.d.ts +4 -3
  62. package/dist/internal/features/work/work-docx-table-styles.d.ts +22 -0
  63. package/dist/internal/features/work/work-types.d.ts +6 -0
  64. package/dist/office-kernel.wasm +0 -0
  65. package/dist/styles.css +1288 -233
  66. package/docs/{browser-editor-architecture.md → latest/en/browser-editor-architecture.md} +144 -35
  67. package/package.json +9 -5
  68. package/dist/0~6552.js +0 -787
  69. package/dist/0~8155.js +0 -299
package/dist/styles.css CHANGED
@@ -5546,7 +5546,9 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
5546
5546
  }
5547
5547
 
5548
5548
  .work-office-ribbon-panel {
5549
+ align-items: stretch;
5549
5550
  min-width: 0;
5551
+ display: flex;
5550
5552
  position: relative;
5551
5553
  }
5552
5554
 
@@ -5556,9 +5558,10 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
5556
5558
 
5557
5559
  .work-office-ribbon .work-office-toolbar {
5558
5560
  border: 0;
5559
- flex-basis: 74px;
5561
+ flex: auto;
5560
5562
  align-items: stretch;
5561
5563
  gap: 0;
5564
+ width: auto;
5562
5565
  height: 74px;
5563
5566
  min-height: 74px;
5564
5567
  padding: 5px 10px;
@@ -5582,20 +5585,20 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
5582
5585
  color: var(--work-office-accent);
5583
5586
  cursor: pointer;
5584
5587
  border-radius: 7px;
5588
+ flex: 0 0 27px;
5585
5589
  place-items: center;
5590
+ margin-block: 5px 6px;
5586
5591
  padding: 0;
5587
5592
  display: grid;
5588
- position: absolute;
5589
- top: 5px;
5590
5593
  box-shadow: 0 3px 12px #141b2b1a;
5591
5594
  }
5592
5595
 
5593
5596
  .work-office-ribbon-scroll.previous {
5594
- left: 4px;
5597
+ margin-left: 4px;
5595
5598
  }
5596
5599
 
5597
5600
  .work-office-ribbon-scroll.next {
5598
- right: 4px;
5601
+ margin-right: 4px;
5599
5602
  }
5600
5603
 
5601
5604
  .work-office-ribbon-scroll:hover, .work-office-ribbon-scroll:focus-visible {
@@ -5609,6 +5612,19 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
5609
5612
  box-shadow: 0 5px 16px #141b2b24;
5610
5613
  }
5611
5614
 
5615
+ .work-office-ribbon-scroll:disabled {
5616
+ cursor: default;
5617
+ opacity: .38;
5618
+ }
5619
+
5620
+ .work-office-ribbon-scroll:disabled:hover {
5621
+ border-color: color-mix(in srgb,
5622
+ var(--work-office-accent) 18%,
5623
+ var(--a3s-line));
5624
+ background: color-mix(in srgb, var(--a3s-panel) 94%, transparent);
5625
+ box-shadow: 0 3px 12px #141b2b1a;
5626
+ }
5627
+
5612
5628
  .work-office-ribbon-group {
5613
5629
  border-right: 1px solid var(--a3s-line);
5614
5630
  flex: none;
@@ -5904,6 +5920,59 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
5904
5920
  margin: 4px 7px;
5905
5921
  }
5906
5922
 
5923
+ @media (width <= 640px) {
5924
+ .workspace-context-menu {
5925
+ right: 8px;
5926
+ bottom: max(8px, env(safe-area-inset-bottom));
5927
+ scrollbar-color: var(--a3s-overlay-border) transparent;
5928
+ scrollbar-width: thin;
5929
+ border-radius: 12px;
5930
+ width: auto;
5931
+ min-width: 0;
5932
+ max-width: none;
5933
+ max-height: min(62dvh, 480px);
5934
+ padding: 8px;
5935
+ top: auto !important;
5936
+ left: 8px !important;
5937
+ }
5938
+
5939
+ .workspace-context-menu:before {
5940
+ background: var(--a3s-overlay-border);
5941
+ content: "";
5942
+ border-radius: 999px;
5943
+ justify-self: center;
5944
+ width: 32px;
5945
+ height: 4px;
5946
+ margin: 1px 0 5px;
5947
+ }
5948
+
5949
+ .work-office-context-menu > button {
5950
+ grid-template-columns: 20px minmax(0, 1fr) auto;
5951
+ gap: 10px;
5952
+ min-height: 44px;
5953
+ padding: 9px 10px;
5954
+ font-size: 12px;
5955
+ }
5956
+
5957
+ .work-office-context-menu > button > svg {
5958
+ width: 16px;
5959
+ height: 16px;
5960
+ }
5961
+
5962
+ .work-office-context-menu kbd {
5963
+ font-size: 10px;
5964
+ }
5965
+
5966
+ .workspace-context-menu::-webkit-scrollbar {
5967
+ width: 6px;
5968
+ }
5969
+
5970
+ .workspace-context-menu::-webkit-scrollbar-thumb {
5971
+ background: var(--a3s-overlay-border);
5972
+ border-radius: 999px;
5973
+ }
5974
+ }
5975
+
5907
5976
  @media (forced-colors: active) {
5908
5977
  .work-office-context-menu {
5909
5978
  border-color: canvastext;
@@ -6759,7 +6828,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
6759
6828
  }
6760
6829
  }
6761
6830
 
6762
- .work-document-pagination-popover, .work-document-paragraph-spacing-popover, .work-office-table-insert-popover {
6831
+ .work-document-pagination-popover, .work-document-paragraph-spacing-popover, .work-document-table-margins-popover, .work-office-table-insert-popover {
6763
6832
  align-items: center;
6764
6833
  display: flex;
6765
6834
  }
@@ -6866,6 +6935,16 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
6866
6935
  font-size: 9px;
6867
6936
  }
6868
6937
 
6938
+ .work-document-table-border-target-select {
6939
+ width: 88px;
6940
+ }
6941
+
6942
+ .work-document-table-border-target-select > button[role="combobox"] {
6943
+ height: 29px;
6944
+ padding-inline: 6px 4px;
6945
+ font-size: 9px;
6946
+ }
6947
+
6869
6948
  .work-document-table-size-fields {
6870
6949
  gap: 3px;
6871
6950
  width: 116px;
@@ -6908,193 +6987,531 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
6908
6987
  font-size: 9px;
6909
6988
  }
6910
6989
 
6911
- .work-office-table-picker-panel {
6912
- --work-office-table-picker-accent: var(--work-office-control-accent, var(--a3s-blue));
6913
- width: 277px;
6914
- padding: 11px;
6990
+ .work-document-table-properties-dialog {
6991
+ width: min(520px, 100%);
6915
6992
  }
6916
6993
 
6917
- .work-office-table-picker-grid {
6918
- border: 0;
6919
- grid-template-columns: repeat(10, 22px);
6994
+ .work-document-table-properties-dialog form {
6995
+ gap: 0;
6996
+ display: grid;
6997
+ }
6998
+
6999
+ .work-document-table-properties-tabs {
7000
+ background: var(--a3s-panel-soft);
7001
+ border-radius: 8px;
7002
+ grid-template-columns: repeat(4, minmax(0, 1fr));
6920
7003
  gap: 3px;
6921
- min-width: 0;
6922
- margin: 0;
6923
- padding: 0;
7004
+ margin: -4px 0 18px;
7005
+ padding: 3px;
6924
7006
  display: grid;
6925
7007
  }
6926
7008
 
6927
- .work-office-table-picker-grid > button {
6928
- box-sizing: border-box;
6929
- border: 1px solid var(--a3s-line-strong);
6930
- background: var(--a3s-bg);
7009
+ .work-document-table-properties-tabs > button {
7010
+ min-height: 36px;
7011
+ color: var(--a3s-muted);
7012
+ font: inherit;
6931
7013
  cursor: pointer;
6932
- border-radius: 3px;
6933
- width: 22px;
6934
- height: 20px;
6935
- padding: 0;
7014
+ background: none;
7015
+ border: 0;
7016
+ border-radius: 6px;
7017
+ padding: 0 10px;
7018
+ font-size: 11px;
7019
+ font-weight: 620;
6936
7020
  }
6937
7021
 
6938
- .work-office-table-picker-grid > button[data-highlighted="true"] {
6939
- border-color: color-mix(in srgb,
6940
- var(--work-office-table-picker-accent) 48%,
6941
- var(--a3s-line));
6942
- background: color-mix(in srgb,
6943
- var(--work-office-table-picker-accent) 14%,
6944
- var(--a3s-panel));
7022
+ .work-document-table-properties-tabs > button[aria-selected="true"] {
7023
+ background: var(--a3s-panel);
7024
+ color: var(--a3s-blue);
7025
+ box-shadow: 0 1px 3px #141c2a1a;
6945
7026
  }
6946
7027
 
6947
- .work-office-table-picker-grid > button:hover, .work-office-table-picker-grid > button:focus-visible {
6948
- outline: 2px solid
6949
- color-mix(in srgb, var(--work-office-table-picker-accent) 65%, transparent);
7028
+ .work-document-table-properties-tabs > button:hover {
7029
+ color: var(--a3s-ink);
7030
+ }
7031
+
7032
+ .work-document-table-properties-tabs > button:focus-visible {
7033
+ outline: 2px solid color-mix(in srgb, var(--a3s-blue) 58%, transparent);
6950
7034
  outline-offset: 1px;
6951
7035
  }
6952
7036
 
6953
- .work-office-table-picker-compact {
6954
- gap: 10px;
7037
+ .work-document-table-properties-panel {
7038
+ outline: none;
7039
+ align-content: start;
7040
+ gap: 20px;
7041
+ min-height: 260px;
6955
7042
  display: grid;
6956
7043
  }
6957
7044
 
6958
- .work-office-table-picker-dimension {
7045
+ .work-document-table-properties-section {
6959
7046
  border: 0;
7047
+ gap: 12px;
6960
7048
  min-width: 0;
6961
7049
  margin: 0;
6962
7050
  padding: 0;
7051
+ display: grid;
6963
7052
  }
6964
7053
 
6965
- .work-office-table-picker-dimension > legend {
6966
- color: var(--a3s-muted);
6967
- margin-bottom: 5px;
6968
- padding: 0;
6969
- font-size: 11px;
7054
+ .work-document-table-properties-section > legend {
7055
+ color: var(--a3s-ink);
7056
+ margin-bottom: 10px;
7057
+ font-size: 12px;
6970
7058
  font-weight: 650;
6971
- line-height: 16px;
6972
7059
  }
6973
7060
 
6974
- .work-office-table-picker-stepper {
6975
- border: 1px solid var(--a3s-line-strong);
6976
- background: var(--a3s-panel);
6977
- border-radius: 8px;
6978
- grid-template-columns: 44px minmax(0, 1fr) 44px;
6979
- height: 44px;
7061
+ .work-document-table-properties-choice-grid {
7062
+ grid-template-columns: repeat(3, minmax(0, 1fr));
7063
+ gap: 7px;
6980
7064
  display: grid;
6981
- overflow: hidden;
6982
7065
  }
6983
7066
 
6984
- .work-office-table-picker-stepper > button, .work-office-table-picker-stepper > input {
7067
+ .work-document-table-properties-choice-grid label {
7068
+ cursor: pointer;
6985
7069
  min-width: 0;
6986
- height: 42px;
6987
- color: var(--a3s-ink);
6988
- background: none;
6989
- border: 0;
6990
- border-radius: 0;
6991
- margin: 0;
7070
+ position: relative;
6992
7071
  }
6993
7072
 
6994
- .work-office-table-picker-stepper > button {
6995
- color: var(--a3s-muted);
6996
- cursor: pointer;
6997
- place-items: center;
6998
- padding: 0;
6999
- display: grid;
7073
+ .work-document-table-properties-choice-grid input {
7074
+ opacity: 0;
7075
+ pointer-events: none;
7076
+ width: 1px;
7077
+ height: 1px;
7078
+ position: absolute;
7000
7079
  }
7001
7080
 
7002
- .work-office-table-picker-stepper > button:first-child {
7003
- border-right: 1px solid var(--a3s-line);
7081
+ .work-document-table-properties-choice-grid label > span {
7082
+ border: 1px solid var(--a3s-line);
7083
+ background: var(--a3s-panel);
7084
+ min-height: 38px;
7085
+ color: var(--a3s-muted);
7086
+ border-radius: 7px;
7087
+ justify-content: center;
7088
+ align-items: center;
7089
+ gap: 6px;
7090
+ padding: 0 10px;
7091
+ font-size: 11px;
7092
+ font-weight: 580;
7093
+ display: flex;
7004
7094
  }
7005
7095
 
7006
- .work-office-table-picker-stepper > button:last-child {
7007
- border-left: 1px solid var(--a3s-line);
7096
+ .work-document-table-properties-choice-grid label:hover > span {
7097
+ border-color: color-mix(in srgb, var(--a3s-blue) 35%, var(--a3s-line));
7098
+ background: var(--a3s-panel-soft);
7099
+ color: var(--a3s-ink);
7008
7100
  }
7009
7101
 
7010
- .work-office-table-picker-stepper > button:hover:not(:disabled) {
7011
- background: color-mix(in srgb,
7012
- var(--work-office-table-picker-accent) 9%,
7013
- var(--a3s-panel));
7014
- color: var(--work-office-table-picker-accent);
7102
+ .work-document-table-properties-choice-grid input:checked + span {
7103
+ border-color: color-mix(in srgb, var(--a3s-blue) 72%, var(--a3s-line));
7104
+ background: color-mix(in srgb, var(--a3s-blue) 9%, var(--a3s-panel));
7105
+ color: var(--a3s-blue);
7015
7106
  }
7016
7107
 
7017
- .work-office-table-picker-stepper > button:disabled {
7018
- color: var(--a3s-faint);
7019
- cursor: default;
7020
- opacity: .55;
7108
+ .work-document-table-properties-choice-grid input:focus-visible + span {
7109
+ outline: 2px solid color-mix(in srgb, var(--a3s-blue) 58%, transparent);
7110
+ outline-offset: 2px;
7021
7111
  }
7022
7112
 
7023
- .work-office-table-picker-stepper > input {
7024
- appearance: textfield;
7025
- width: 100%;
7026
- font: inherit;
7027
- text-align: center;
7028
- padding: 0 6px;
7029
- font-size: 15px;
7030
- font-weight: 680;
7113
+ .work-document-table-properties-number-row {
7114
+ color: var(--a3s-muted);
7115
+ grid-template-columns: 72px minmax(0, 1fr) 34px;
7116
+ align-items: center;
7117
+ gap: 8px;
7118
+ font-size: 11px;
7119
+ display: grid;
7031
7120
  }
7032
7121
 
7033
- .work-office-table-picker-stepper > input::-webkit-inner-spin-button {
7034
- appearance: none;
7035
- margin: 0;
7122
+ .work-document-table-properties-number-row .work-office-number-field {
7123
+ width: 100%;
7124
+ height: 34px;
7036
7125
  }
7037
7126
 
7038
- .work-office-table-picker-stepper > input::-webkit-outer-spin-button {
7039
- appearance: none;
7040
- margin: 0;
7127
+ .work-document-table-properties-number-row small {
7128
+ color: var(--a3s-faint);
7129
+ font-size: 10px;
7041
7130
  }
7042
7131
 
7043
- .work-office-table-picker-stepper:focus-within {
7044
- border-color: color-mix(in srgb,
7045
- var(--work-office-table-picker-accent) 64%,
7046
- var(--a3s-line-strong));
7047
- box-shadow: 0 0 0 2px
7048
- color-mix(in srgb, var(--work-office-table-picker-accent) 16%, transparent);
7132
+ .work-document-table-properties-select-row {
7133
+ color: var(--a3s-muted);
7134
+ grid-template-columns: 92px minmax(0, 180px);
7135
+ align-items: center;
7136
+ gap: 8px;
7137
+ font-size: 11px;
7138
+ display: grid;
7049
7139
  }
7050
7140
 
7051
- .work-office-table-picker-stepper > :focus-visible {
7052
- outline: 2px solid
7053
- color-mix(in srgb, var(--work-office-table-picker-accent) 68%, transparent);
7054
- outline-offset: -3px;
7141
+ .work-document-table-properties-select-row .work-office-select, .work-document-table-properties-select-row button[role="combobox"] {
7142
+ width: 100%;
7055
7143
  }
7056
7144
 
7057
- .work-office-table-picker-compact > .work-office-table-picker-submit {
7058
- border: 1px solid var(--work-office-table-picker-accent);
7059
- background: var(--work-office-table-picker-accent);
7060
- color: #fff;
7061
- cursor: pointer;
7062
- height: 44px;
7063
- font: inherit;
7064
- border-radius: 8px;
7065
- padding: 0 16px;
7066
- font-size: 13px;
7067
- font-weight: 680;
7145
+ .work-document-table-properties-checkboxes {
7146
+ gap: 6px;
7147
+ display: grid;
7068
7148
  }
7069
7149
 
7070
- .work-office-table-picker-compact > .work-office-table-picker-submit:hover {
7071
- border-color: color-mix(in srgb,
7072
- var(--work-office-table-picker-accent) 86%,
7073
- #000);
7074
- background: color-mix(in srgb,
7075
- var(--work-office-table-picker-accent) 90%,
7076
- #000);
7150
+ .work-document-table-properties-checkboxes .work-office-checkbox, .work-document-table-properties-section > .work-office-checkbox {
7151
+ border-radius: 6px;
7152
+ min-height: 34px;
7153
+ padding: 5px 6px;
7077
7154
  }
7078
7155
 
7079
- .work-office-table-picker-compact > .work-office-table-picker-submit:focus-visible {
7080
- outline: 2px solid
7081
- color-mix(in srgb, var(--work-office-table-picker-accent) 58%, transparent);
7082
- outline-offset: 2px;
7156
+ .work-document-table-properties-margin-grid {
7157
+ grid-template-columns: repeat(2, minmax(0, 1fr));
7158
+ gap: 10px 14px;
7159
+ display: grid;
7083
7160
  }
7084
7161
 
7085
- .work-office-table-picker-size {
7086
- min-height: 18px;
7162
+ .work-document-table-properties-margin {
7087
7163
  color: var(--a3s-muted);
7088
- text-align: center;
7089
- margin-top: 8px;
7164
+ grid-template-columns: 22px minmax(0, 1fr) 30px;
7165
+ align-items: center;
7166
+ gap: 6px;
7090
7167
  font-size: 11px;
7091
- font-weight: 620;
7092
- line-height: 18px;
7093
- display: block;
7168
+ display: grid;
7094
7169
  }
7095
7170
 
7096
- .work-document-pagination-panel {
7097
- width: 238px;
7171
+ .work-document-table-properties-margin .work-office-number-field {
7172
+ width: 100%;
7173
+ height: 34px;
7174
+ }
7175
+
7176
+ .work-document-table-properties-margin small {
7177
+ color: var(--a3s-faint);
7178
+ font-size: 9px;
7179
+ }
7180
+
7181
+ .work-document-table-properties-margin > p[role="alert"] {
7182
+ color: var(--a3s-red);
7183
+ grid-column: 2 / -1;
7184
+ margin: -3px 0 0;
7185
+ font-size: 10px;
7186
+ line-height: 1.35;
7187
+ }
7188
+
7189
+ .work-document-table-properties-section > p[role="alert"] {
7190
+ color: var(--a3s-red);
7191
+ margin: -5px 0 0 80px;
7192
+ font-size: 10px;
7193
+ line-height: 1.4;
7194
+ }
7195
+
7196
+ .work-document-picture-properties-dialog {
7197
+ width: min(560px, 100%);
7198
+ }
7199
+
7200
+ .work-document-picture-properties-dialog form {
7201
+ grid-template-columns: repeat(2, minmax(0, 1fr));
7202
+ gap: 22px 26px;
7203
+ display: grid;
7204
+ }
7205
+
7206
+ .work-document-picture-properties-section {
7207
+ border: 0;
7208
+ align-content: start;
7209
+ gap: 11px;
7210
+ min-width: 0;
7211
+ margin: 0;
7212
+ padding: 0;
7213
+ display: grid;
7214
+ }
7215
+
7216
+ .work-document-picture-properties-section.position, .work-document-picture-properties-alt-text {
7217
+ grid-column: 1 / -1;
7218
+ }
7219
+
7220
+ .work-document-picture-properties-section > legend {
7221
+ color: var(--a3s-ink);
7222
+ margin-bottom: 9px;
7223
+ font-size: 12px;
7224
+ font-weight: 650;
7225
+ }
7226
+
7227
+ .work-document-picture-properties-number-row {
7228
+ min-height: 34px;
7229
+ color: var(--a3s-muted);
7230
+ grid-template-columns: 64px minmax(0, 1fr) 34px;
7231
+ align-items: center;
7232
+ gap: 8px;
7233
+ font-size: 11px;
7234
+ display: grid;
7235
+ }
7236
+
7237
+ .work-document-picture-properties-number-row .work-office-number-field {
7238
+ width: 100%;
7239
+ height: 34px;
7240
+ }
7241
+
7242
+ .work-document-picture-properties-number-row small, .work-document-picture-properties-alt-text small {
7243
+ color: var(--a3s-faint);
7244
+ font-size: 10px;
7245
+ }
7246
+
7247
+ .work-document-picture-properties-section > .work-office-checkbox {
7248
+ border-radius: 6px;
7249
+ min-height: 34px;
7250
+ padding: 5px 6px;
7251
+ }
7252
+
7253
+ .work-document-picture-properties-choice-grid {
7254
+ grid-template-columns: repeat(3, minmax(0, 1fr));
7255
+ gap: 7px;
7256
+ display: grid;
7257
+ }
7258
+
7259
+ .work-document-picture-properties-choice-grid label {
7260
+ cursor: pointer;
7261
+ min-width: 0;
7262
+ position: relative;
7263
+ }
7264
+
7265
+ .work-document-picture-properties-choice-grid input {
7266
+ opacity: 0;
7267
+ pointer-events: none;
7268
+ width: 1px;
7269
+ height: 1px;
7270
+ position: absolute;
7271
+ }
7272
+
7273
+ .work-document-picture-properties-choice-grid label > span {
7274
+ border: 1px solid var(--a3s-line);
7275
+ background: var(--a3s-panel);
7276
+ min-height: 40px;
7277
+ color: var(--a3s-muted);
7278
+ text-align: center;
7279
+ border-radius: 7px;
7280
+ justify-content: center;
7281
+ align-items: center;
7282
+ gap: 5px;
7283
+ padding: 4px 7px;
7284
+ font-size: 10px;
7285
+ font-weight: 580;
7286
+ line-height: 1.25;
7287
+ display: flex;
7288
+ }
7289
+
7290
+ .work-document-picture-properties-choice-grid label:hover > span {
7291
+ border-color: color-mix(in srgb, var(--a3s-blue) 35%, var(--a3s-line));
7292
+ background: var(--a3s-panel-soft);
7293
+ color: var(--a3s-ink);
7294
+ }
7295
+
7296
+ .work-document-picture-properties-choice-grid input:checked + span {
7297
+ border-color: color-mix(in srgb, var(--a3s-blue) 72%, var(--a3s-line));
7298
+ background: color-mix(in srgb, var(--a3s-blue) 9%, var(--a3s-panel));
7299
+ color: var(--a3s-blue);
7300
+ }
7301
+
7302
+ .work-document-picture-properties-choice-grid input:focus-visible + span {
7303
+ outline: 2px solid color-mix(in srgb, var(--a3s-blue) 58%, transparent);
7304
+ outline-offset: 2px;
7305
+ }
7306
+
7307
+ .work-document-picture-properties-section > p[role="alert"] {
7308
+ color: var(--a3s-red);
7309
+ margin: -5px 0 0 72px;
7310
+ font-size: 10px;
7311
+ line-height: 1.4;
7312
+ }
7313
+
7314
+ .work-document-picture-properties-alt-text {
7315
+ min-width: 0;
7316
+ color: var(--a3s-muted);
7317
+ gap: 7px;
7318
+ font-size: 11px;
7319
+ font-weight: 620;
7320
+ display: grid;
7321
+ }
7322
+
7323
+ .work-document-picture-properties-alt-text .work-office-text-area {
7324
+ resize: vertical;
7325
+ min-height: 86px;
7326
+ }
7327
+
7328
+ .work-office-table-picker-panel {
7329
+ --work-office-table-picker-accent: var(--work-office-control-accent, var(--a3s-blue));
7330
+ width: 277px;
7331
+ padding: 11px;
7332
+ }
7333
+
7334
+ .work-office-table-picker-grid {
7335
+ border: 0;
7336
+ grid-template-columns: repeat(10, 22px);
7337
+ gap: 3px;
7338
+ min-width: 0;
7339
+ margin: 0;
7340
+ padding: 0;
7341
+ display: grid;
7342
+ }
7343
+
7344
+ .work-office-table-picker-grid > button {
7345
+ box-sizing: border-box;
7346
+ border: 1px solid var(--a3s-line-strong);
7347
+ background: var(--a3s-bg);
7348
+ cursor: pointer;
7349
+ border-radius: 3px;
7350
+ width: 22px;
7351
+ height: 20px;
7352
+ padding: 0;
7353
+ }
7354
+
7355
+ .work-office-table-picker-grid > button[data-highlighted="true"] {
7356
+ border-color: color-mix(in srgb,
7357
+ var(--work-office-table-picker-accent) 48%,
7358
+ var(--a3s-line));
7359
+ background: color-mix(in srgb,
7360
+ var(--work-office-table-picker-accent) 14%,
7361
+ var(--a3s-panel));
7362
+ }
7363
+
7364
+ .work-office-table-picker-grid > button:hover, .work-office-table-picker-grid > button:focus-visible {
7365
+ outline: 2px solid
7366
+ color-mix(in srgb, var(--work-office-table-picker-accent) 65%, transparent);
7367
+ outline-offset: 1px;
7368
+ }
7369
+
7370
+ .work-office-table-picker-compact {
7371
+ gap: 10px;
7372
+ display: grid;
7373
+ }
7374
+
7375
+ .work-office-table-picker-dimension {
7376
+ border: 0;
7377
+ min-width: 0;
7378
+ margin: 0;
7379
+ padding: 0;
7380
+ }
7381
+
7382
+ .work-office-table-picker-dimension > legend {
7383
+ color: var(--a3s-muted);
7384
+ margin-bottom: 5px;
7385
+ padding: 0;
7386
+ font-size: 11px;
7387
+ font-weight: 650;
7388
+ line-height: 16px;
7389
+ }
7390
+
7391
+ .work-office-table-picker-stepper {
7392
+ border: 1px solid var(--a3s-line-strong);
7393
+ background: var(--a3s-panel);
7394
+ border-radius: 8px;
7395
+ grid-template-columns: 44px minmax(0, 1fr) 44px;
7396
+ height: 44px;
7397
+ display: grid;
7398
+ overflow: hidden;
7399
+ }
7400
+
7401
+ .work-office-table-picker-stepper > button, .work-office-table-picker-stepper > input {
7402
+ min-width: 0;
7403
+ height: 42px;
7404
+ color: var(--a3s-ink);
7405
+ background: none;
7406
+ border: 0;
7407
+ border-radius: 0;
7408
+ margin: 0;
7409
+ }
7410
+
7411
+ .work-office-table-picker-stepper > button {
7412
+ color: var(--a3s-muted);
7413
+ cursor: pointer;
7414
+ place-items: center;
7415
+ padding: 0;
7416
+ display: grid;
7417
+ }
7418
+
7419
+ .work-office-table-picker-stepper > button:first-child {
7420
+ border-right: 1px solid var(--a3s-line);
7421
+ }
7422
+
7423
+ .work-office-table-picker-stepper > button:last-child {
7424
+ border-left: 1px solid var(--a3s-line);
7425
+ }
7426
+
7427
+ .work-office-table-picker-stepper > button:hover:not(:disabled) {
7428
+ background: color-mix(in srgb,
7429
+ var(--work-office-table-picker-accent) 9%,
7430
+ var(--a3s-panel));
7431
+ color: var(--work-office-table-picker-accent);
7432
+ }
7433
+
7434
+ .work-office-table-picker-stepper > button:disabled {
7435
+ color: var(--a3s-faint);
7436
+ cursor: default;
7437
+ opacity: .55;
7438
+ }
7439
+
7440
+ .work-office-table-picker-stepper > input {
7441
+ appearance: textfield;
7442
+ width: 100%;
7443
+ font: inherit;
7444
+ text-align: center;
7445
+ padding: 0 6px;
7446
+ font-size: 15px;
7447
+ font-weight: 680;
7448
+ }
7449
+
7450
+ .work-office-table-picker-stepper > input::-webkit-inner-spin-button {
7451
+ appearance: none;
7452
+ margin: 0;
7453
+ }
7454
+
7455
+ .work-office-table-picker-stepper > input::-webkit-outer-spin-button {
7456
+ appearance: none;
7457
+ margin: 0;
7458
+ }
7459
+
7460
+ .work-office-table-picker-stepper:focus-within {
7461
+ border-color: color-mix(in srgb,
7462
+ var(--work-office-table-picker-accent) 64%,
7463
+ var(--a3s-line-strong));
7464
+ box-shadow: 0 0 0 2px
7465
+ color-mix(in srgb, var(--work-office-table-picker-accent) 16%, transparent);
7466
+ }
7467
+
7468
+ .work-office-table-picker-stepper > :focus-visible {
7469
+ outline: 2px solid
7470
+ color-mix(in srgb, var(--work-office-table-picker-accent) 68%, transparent);
7471
+ outline-offset: -3px;
7472
+ }
7473
+
7474
+ .work-office-table-picker-compact > .work-office-table-picker-submit {
7475
+ border: 1px solid var(--work-office-table-picker-accent);
7476
+ background: var(--work-office-table-picker-accent);
7477
+ color: #fff;
7478
+ cursor: pointer;
7479
+ height: 44px;
7480
+ font: inherit;
7481
+ border-radius: 8px;
7482
+ padding: 0 16px;
7483
+ font-size: 13px;
7484
+ font-weight: 680;
7485
+ }
7486
+
7487
+ .work-office-table-picker-compact > .work-office-table-picker-submit:hover {
7488
+ border-color: color-mix(in srgb,
7489
+ var(--work-office-table-picker-accent) 86%,
7490
+ #000);
7491
+ background: color-mix(in srgb,
7492
+ var(--work-office-table-picker-accent) 90%,
7493
+ #000);
7494
+ }
7495
+
7496
+ .work-office-table-picker-compact > .work-office-table-picker-submit:focus-visible {
7497
+ outline: 2px solid
7498
+ color-mix(in srgb, var(--work-office-table-picker-accent) 58%, transparent);
7499
+ outline-offset: 2px;
7500
+ }
7501
+
7502
+ .work-office-table-picker-size {
7503
+ min-height: 18px;
7504
+ color: var(--a3s-muted);
7505
+ text-align: center;
7506
+ margin-top: 8px;
7507
+ font-size: 11px;
7508
+ font-weight: 620;
7509
+ line-height: 18px;
7510
+ display: block;
7511
+ }
7512
+
7513
+ .work-document-pagination-panel {
7514
+ width: 238px;
7098
7515
  padding: 10px 12px 12px;
7099
7516
  }
7100
7517
 
@@ -7103,6 +7520,82 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7103
7520
  padding: 10px 12px 12px;
7104
7521
  }
7105
7522
 
7523
+ .work-document-table-margins-panel {
7524
+ width: 258px;
7525
+ padding: 10px 12px 12px;
7526
+ }
7527
+
7528
+ .work-document-table-margins-panel fieldset {
7529
+ border: 0;
7530
+ gap: 8px;
7531
+ margin: 0;
7532
+ padding: 0;
7533
+ display: grid;
7534
+ }
7535
+
7536
+ .work-document-table-margins-panel legend {
7537
+ color: var(--a3s-ink);
7538
+ font-size: 11px;
7539
+ font-weight: 680;
7540
+ }
7541
+
7542
+ .work-document-table-margins-panel fieldset > p {
7543
+ color: var(--a3s-muted);
7544
+ margin: 0;
7545
+ font-size: 9px;
7546
+ line-height: 1.4;
7547
+ }
7548
+
7549
+ .work-document-table-margins-grid {
7550
+ grid-template-columns: repeat(2, minmax(0, 1fr));
7551
+ gap: 7px 9px;
7552
+ display: grid;
7553
+ }
7554
+
7555
+ .work-document-table-margins-grid > .work-document-table-margin-field {
7556
+ color: var(--a3s-muted);
7557
+ grid-template-columns: 18px minmax(0, 1fr) 24px;
7558
+ align-items: center;
7559
+ gap: 4px;
7560
+ font-size: 9px;
7561
+ display: grid;
7562
+ }
7563
+
7564
+ .work-document-table-margins-grid .work-office-number-field {
7565
+ min-width: 0;
7566
+ }
7567
+
7568
+ .work-document-table-margins-grid small {
7569
+ color: var(--a3s-faint);
7570
+ font-size: 8px;
7571
+ }
7572
+
7573
+ .work-document-table-margins-reset {
7574
+ color: var(--a3s-blue);
7575
+ font: inherit;
7576
+ cursor: pointer;
7577
+ background: none;
7578
+ border: 0;
7579
+ border-radius: 5px;
7580
+ justify-self: end;
7581
+ padding: 4px 7px;
7582
+ font-size: 10px;
7583
+ }
7584
+
7585
+ .work-document-table-margins-reset:hover:not(:disabled) {
7586
+ background: color-mix(in srgb, var(--a3s-blue) 8%, transparent);
7587
+ }
7588
+
7589
+ .work-document-table-margins-reset:focus-visible {
7590
+ outline: 2px solid color-mix(in srgb, var(--a3s-blue) 65%, transparent);
7591
+ outline-offset: 1px;
7592
+ }
7593
+
7594
+ .work-document-table-margins-reset:disabled {
7595
+ cursor: default;
7596
+ opacity: .42;
7597
+ }
7598
+
7106
7599
  .work-document-pagination-panel fieldset, .work-document-paragraph-spacing-panel fieldset {
7107
7600
  border: 0;
7108
7601
  gap: 8px;
@@ -7157,6 +7650,219 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7157
7650
  opacity: .42;
7158
7651
  }
7159
7652
 
7653
+ @media (width <= 520px) {
7654
+ .work-document-picture-properties-dialog form {
7655
+ grid-template-columns: 1fr;
7656
+ gap: 20px;
7657
+ }
7658
+
7659
+ .work-document-picture-properties-section.position, .work-document-picture-properties-alt-text {
7660
+ grid-column: auto;
7661
+ }
7662
+
7663
+ .work-document-picture-properties-number-row {
7664
+ grid-template-columns: 64px minmax(0, 1fr) 32px;
7665
+ min-height: 44px;
7666
+ }
7667
+
7668
+ .work-document-picture-properties-number-row .work-office-number-field {
7669
+ grid-template-columns: minmax(0, 1fr) 88px;
7670
+ height: 44px;
7671
+ }
7672
+
7673
+ .work-document-picture-properties-number-row .work-office-number-field > input {
7674
+ font-size: 12px;
7675
+ }
7676
+
7677
+ .work-document-picture-properties-number-row .work-office-number-steppers {
7678
+ grid-template-rows: 44px;
7679
+ grid-template-columns: repeat(2, 44px);
7680
+ }
7681
+
7682
+ .work-document-picture-properties-number-row .work-office-number-steppers > button:first-child {
7683
+ border-right: 1px solid var(--a3s-line);
7684
+ border-bottom: 0;
7685
+ }
7686
+
7687
+ .work-document-picture-properties-choice-grid label > span {
7688
+ min-height: 44px;
7689
+ padding-inline: 4px;
7690
+ }
7691
+
7692
+ .work-document-picture-properties-section > .work-office-checkbox {
7693
+ min-height: 44px;
7694
+ padding-block: 8px;
7695
+ }
7696
+
7697
+ .work-document-picture-properties-dialog > footer .ds-button {
7698
+ min-height: 44px;
7699
+ padding-inline: 16px;
7700
+ }
7701
+
7702
+ .work-document-picture-properties-alt-text .work-office-text-area {
7703
+ min-height: 96px;
7704
+ }
7705
+
7706
+ .work-document-table-properties-tabs {
7707
+ margin-bottom: 14px;
7708
+ }
7709
+
7710
+ .work-document-table-properties-tabs > button {
7711
+ min-height: 44px;
7712
+ padding-inline: 4px;
7713
+ }
7714
+
7715
+ .work-document-table-properties-panel {
7716
+ gap: 18px;
7717
+ min-height: 0;
7718
+ }
7719
+
7720
+ .work-document-table-properties-choice-grid.alignment {
7721
+ grid-template-columns: 1fr;
7722
+ }
7723
+
7724
+ .work-document-table-properties-choice-grid label > span {
7725
+ min-height: 44px;
7726
+ }
7727
+
7728
+ .work-document-table-properties-number-row {
7729
+ grid-template-columns: 64px minmax(0, 1fr) 32px;
7730
+ min-height: 44px;
7731
+ }
7732
+
7733
+ .work-document-table-properties-number-row .work-office-number-field {
7734
+ grid-template-columns: minmax(0, 1fr) 88px;
7735
+ height: 44px;
7736
+ }
7737
+
7738
+ .work-document-table-properties-number-row .work-office-number-field > input {
7739
+ font-size: 12px;
7740
+ }
7741
+
7742
+ .work-document-table-properties-number-row .work-office-number-steppers {
7743
+ grid-template-rows: 44px;
7744
+ grid-template-columns: repeat(2, 44px);
7745
+ }
7746
+
7747
+ .work-document-table-properties-number-row .work-office-number-steppers > button:first-child {
7748
+ border-right: 1px solid var(--a3s-line);
7749
+ border-bottom: 0;
7750
+ }
7751
+
7752
+ .work-document-table-properties-dialog > footer .ds-button {
7753
+ min-height: 44px;
7754
+ padding-inline: 16px;
7755
+ }
7756
+
7757
+ .work-document-table-properties-section > p[role="alert"] {
7758
+ margin-left: 72px;
7759
+ }
7760
+
7761
+ .work-document-table-properties-select-row {
7762
+ grid-template-columns: 84px minmax(0, 1fr);
7763
+ min-height: 44px;
7764
+ }
7765
+
7766
+ .work-document-table-properties-select-row button[role="combobox"] {
7767
+ min-height: 44px;
7768
+ }
7769
+
7770
+ .work-document-table-properties-checkboxes .work-office-checkbox, .work-document-table-properties-section > .work-office-checkbox {
7771
+ min-height: 44px;
7772
+ padding-block: 8px;
7773
+ }
7774
+
7775
+ .work-document-table-properties-margin-grid {
7776
+ grid-template-columns: 1fr;
7777
+ }
7778
+
7779
+ .work-document-table-properties-margin {
7780
+ grid-template-columns: 44px minmax(0, 1fr) 32px;
7781
+ min-height: 44px;
7782
+ }
7783
+
7784
+ .work-document-table-properties-margin .work-office-number-field {
7785
+ grid-template-columns: minmax(0, 1fr) 88px;
7786
+ height: 44px;
7787
+ }
7788
+
7789
+ .work-document-table-properties-margin .work-office-number-steppers {
7790
+ grid-template-rows: 44px;
7791
+ grid-template-columns: repeat(2, 44px);
7792
+ }
7793
+
7794
+ .work-document-table-properties-margin .work-office-number-steppers > button:first-child {
7795
+ border-right: 1px solid var(--a3s-line);
7796
+ border-bottom: 0;
7797
+ }
7798
+
7799
+ .work-document-pagination-panel, .work-document-paragraph-spacing-panel, .work-document-table-margins-panel {
7800
+ width: min(320px, 100vw - 32px);
7801
+ padding: 12px;
7802
+ }
7803
+
7804
+ .work-document-pagination-panel fieldset, .work-document-paragraph-spacing-panel fieldset, .work-document-table-margins-panel fieldset {
7805
+ gap: 10px;
7806
+ }
7807
+
7808
+ .work-document-pagination-panel legend, .work-document-paragraph-spacing-panel legend, .work-document-table-margins-panel legend {
7809
+ font-size: 12px;
7810
+ }
7811
+
7812
+ .work-document-pagination-panel .work-office-checkbox {
7813
+ border-radius: 6px;
7814
+ min-height: 44px;
7815
+ padding: 8px 6px;
7816
+ font-size: 11px;
7817
+ }
7818
+
7819
+ .work-document-pagination-panel .work-office-checkbox:not(.disabled):hover {
7820
+ background: var(--a3s-panel-soft);
7821
+ }
7822
+
7823
+ .work-document-paragraph-spacing-field {
7824
+ grid-template-columns: 44px minmax(0, 1fr) 18px;
7825
+ min-height: 44px;
7826
+ font-size: 11px;
7827
+ }
7828
+
7829
+ .work-document-paragraph-spacing-panel .work-office-number-field {
7830
+ grid-template-columns: minmax(0, 1fr) 88px;
7831
+ height: 44px;
7832
+ }
7833
+
7834
+ .work-document-paragraph-spacing-panel .work-office-number-field > input {
7835
+ font-size: 12px;
7836
+ }
7837
+
7838
+ .work-document-paragraph-spacing-panel .work-office-number-steppers {
7839
+ grid-template-rows: 44px;
7840
+ grid-template-columns: repeat(2, 44px);
7841
+ }
7842
+
7843
+ .work-document-paragraph-spacing-panel .work-office-number-steppers > button:first-child {
7844
+ border-right: 1px solid var(--a3s-line);
7845
+ border-bottom: 0;
7846
+ }
7847
+
7848
+ .work-document-pagination-reset, .work-document-paragraph-spacing-reset, .work-document-table-margins-reset {
7849
+ min-height: 44px;
7850
+ padding: 8px 10px;
7851
+ font-size: 11px;
7852
+ }
7853
+
7854
+ .work-document-table-margins-grid {
7855
+ grid-template-columns: 1fr;
7856
+ gap: 8px;
7857
+ }
7858
+
7859
+ .work-document-table-margins-grid > .work-document-table-margin-field {
7860
+ grid-template-columns: 30px minmax(0, 1fr) 28px;
7861
+ min-height: 44px;
7862
+ font-size: 11px;
7863
+ }
7864
+ }
7865
+
7160
7866
  .work-document-ribbon .work-document-font-tools button:not([role="combobox"]), .work-document-ribbon .work-document-paragraph-tools button:not([role="combobox"]) {
7161
7867
  width: 26px;
7162
7868
  min-width: 26px;
@@ -7211,13 +7917,13 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7211
7917
  font-size: 9px;
7212
7918
  }
7213
7919
 
7214
- .work-document-changes-bulk-actions, .work-document-change-list article > div {
7920
+ .work-document-changes-bulk-actions, .work-document-change-item > div {
7215
7921
  align-items: center;
7216
7922
  gap: 5px;
7217
7923
  display: flex;
7218
7924
  }
7219
7925
 
7220
- .work-document-changes-bulk-actions button, .work-document-change-list article > div button {
7926
+ .work-document-changes-bulk-actions button, .work-document-change-item > div button {
7221
7927
  border: 1px solid var(--a3s-line);
7222
7928
  background: var(--a3s-bg);
7223
7929
  height: 27px;
@@ -7246,12 +7952,14 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7246
7952
 
7247
7953
  .work-document-change-list {
7248
7954
  gap: 5px;
7955
+ margin: 0;
7249
7956
  padding: 7px 10px 9px;
7957
+ list-style: none;
7250
7958
  display: grid;
7251
7959
  overflow: auto;
7252
7960
  }
7253
7961
 
7254
- .work-document-change-list article {
7962
+ .work-document-change-item {
7255
7963
  border: 1px solid var(--a3s-line);
7256
7964
  background: var(--a3s-bg);
7257
7965
  border-left: 3px solid #2d8a58;
@@ -7263,7 +7971,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7263
7971
  display: grid;
7264
7972
  }
7265
7973
 
7266
- .work-document-change-list article.deletion {
7974
+ .work-document-change-item.deletion {
7267
7975
  border-left-color: var(--a3s-red);
7268
7976
  }
7269
7977
 
@@ -7288,7 +7996,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7288
7996
  padding: 2px 5px;
7289
7997
  }
7290
7998
 
7291
- .work-document-change-list article.deletion .work-document-change-summary > span {
7999
+ .work-document-change-list .work-document-change-item.deletion .work-document-change-summary > span {
7292
8000
  color: var(--a3s-red);
7293
8001
  background: #fff0ee;
7294
8002
  }
@@ -7434,10 +8142,13 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7434
8142
 
7435
8143
  .work-document-comment-track {
7436
8144
  min-height: calc(100% - 46px);
8145
+ margin: 0;
8146
+ padding: 0;
8147
+ list-style: none;
7437
8148
  position: relative;
7438
8149
  }
7439
8150
 
7440
- .work-document-comment-track > article {
8151
+ .work-document-comment-track > .work-document-comment-card, .work-document-comment-track > .work-document-comment-draft-item > .work-document-comment-composer {
7441
8152
  border: 1px solid color-mix(in srgb, #d65c5c 35%, var(--a3s-line));
7442
8153
  background: var(--a3s-panel);
7443
8154
  border-left: 2px solid #d65c5c;
@@ -7453,17 +8164,21 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7453
8164
  box-shadow: 0 5px 16px #22263014;
7454
8165
  }
7455
8166
 
7456
- .work-document-comment-track > article.active {
8167
+ .work-document-comment-track > .work-document-comment-card.active {
7457
8168
  border-color: color-mix(in srgb, #d65c5c 70%, var(--a3s-line));
7458
8169
  box-shadow: 0 7px 20px #2226301c, 0 0 0 2px #d65c5c14;
7459
8170
  }
7460
8171
 
7461
- .work-document-comment-track > article.resolved {
8172
+ .work-document-comment-track > .work-document-comment-card.resolved {
7462
8173
  border-left-color: var(--a3s-line-strong);
7463
8174
  opacity: .64;
7464
8175
  }
7465
8176
 
7466
- .work-document-comment-track > .work-document-comment-composer {
8177
+ .work-document-comment-draft-item, .work-document-comment-empty-item {
8178
+ display: contents;
8179
+ }
8180
+
8181
+ .work-document-comment-track > .work-document-comment-draft-item > .work-document-comment-composer {
7467
8182
  z-index: 3;
7468
8183
  border-color: color-mix(in srgb, #d65c5c 72%, var(--a3s-line));
7469
8184
  gap: 9px;
@@ -7517,7 +8232,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7517
8232
  line-height: 1.45;
7518
8233
  }
7519
8234
 
7520
- .work-document-comment-track > .work-document-comment-composer > footer {
8235
+ .work-document-comment-track > .work-document-comment-draft-item > .work-document-comment-composer > footer {
7521
8236
  justify-content: flex-end;
7522
8237
  gap: 5px;
7523
8238
  display: flex;
@@ -7621,11 +8336,11 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7621
8336
  line-height: 1.45;
7622
8337
  }
7623
8338
 
7624
- .work-document-comment-reply, .work-document-comment-track > article > footer {
8339
+ .work-document-comment-reply, .work-document-comment-track > .work-document-comment-card > footer {
7625
8340
  display: none;
7626
8341
  }
7627
8342
 
7628
- .work-document-comment-track > article.active .work-document-comment-reply {
8343
+ .work-document-comment-track > .work-document-comment-card.active .work-document-comment-reply {
7629
8344
  grid-template-columns: minmax(0, 1fr) auto;
7630
8345
  align-items: end;
7631
8346
  gap: 6px;
@@ -7640,7 +8355,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7640
8355
  font-size: 9px;
7641
8356
  }
7642
8357
 
7643
- .work-document-comment-track > article.active > footer {
8358
+ .work-document-comment-track > .work-document-comment-card.active > footer {
7644
8359
  justify-content: flex-end;
7645
8360
  gap: 5px;
7646
8361
  display: flex;
@@ -7747,7 +8462,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7747
8462
  min-height: 0 !important;
7748
8463
  }
7749
8464
 
7750
- .work-document-comment-track > article, .work-document-comment-track > .work-document-comment-composer {
8465
+ .work-document-comment-track > .work-document-comment-card, .work-document-comment-track > .work-document-comment-draft-item > .work-document-comment-composer {
7751
8466
  position: relative;
7752
8467
  left: auto;
7753
8468
  right: auto;
@@ -7821,15 +8536,18 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7821
8536
  }
7822
8537
 
7823
8538
  .work-document-list-panel {
8539
+ overscroll-behavior: contain;
7824
8540
  border-color: var(--a3s-line-strong);
7825
8541
  background: color-mix(in srgb, var(--a3s-panel) 98%, transparent);
7826
8542
  width: min(300px, 100vw - 32px);
8543
+ max-height: calc(100dvh - 32px);
7827
8544
  color: var(--a3s-ink);
7828
8545
  backdrop-filter: blur(18px);
7829
8546
  border-radius: 10px;
7830
8547
  gap: 8px;
7831
8548
  padding: 10px;
7832
8549
  display: grid;
8550
+ overflow-y: auto;
7833
8551
  box-shadow: 0 16px 38px #0f172a2e;
7834
8552
  }
7835
8553
 
@@ -7998,8 +8716,41 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
7998
8716
  width: calc(100vw - 32px);
7999
8717
  }
8000
8718
 
8719
+ .work-document-list-clear, .work-document-numbering-actions > button, .work-document-numbering-start > button {
8720
+ min-height: 44px;
8721
+ padding: 8px 10px;
8722
+ font-size: 11px;
8723
+ }
8724
+
8725
+ .work-document-list-clear {
8726
+ justify-content: flex-start;
8727
+ justify-self: stretch;
8728
+ width: 100%;
8729
+ }
8730
+
8001
8731
  .work-document-numbering-start {
8002
8732
  grid-template-columns: auto minmax(0, 1fr);
8733
+ gap: 8px;
8734
+ font-size: 11px;
8735
+ }
8736
+
8737
+ .work-document-numbering-start .work-office-number-field {
8738
+ grid-template-columns: minmax(0, 1fr) 88px;
8739
+ height: 44px;
8740
+ }
8741
+
8742
+ .work-document-numbering-start .work-office-number-field > input {
8743
+ font-size: 12px;
8744
+ }
8745
+
8746
+ .work-document-numbering-start .work-office-number-steppers {
8747
+ grid-template-rows: 44px;
8748
+ grid-template-columns: repeat(2, 44px);
8749
+ }
8750
+
8751
+ .work-document-numbering-start .work-office-number-steppers > button:first-child {
8752
+ border-right: 1px solid var(--a3s-line);
8753
+ border-bottom: 0;
8003
8754
  }
8004
8755
 
8005
8756
  .work-document-numbering-start > button {
@@ -8598,7 +9349,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
8598
9349
 
8599
9350
  .work-document-page.paginated {
8600
9351
  box-shadow: none;
8601
- border-color: #0000;
9352
+ border: 0;
8602
9353
  background-color: #0000 !important;
8603
9354
  }
8604
9355
 
@@ -9049,6 +9800,38 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
9049
9800
  margin: 0 0 var(--work-document-render-paragraph-after);
9050
9801
  }
9051
9802
 
9803
+ :where(.work-document-page .tiptap, .work-document-preview-page, .work-pdf-export-page.document) :is(p, h1, h2, h3, h4, h5, h6)[data-office-auto-line-height] {
9804
+ line-height: var(--work-document-office-auto-line-height) !important;
9805
+ }
9806
+
9807
+ :where(.work-document-page .tiptap, .work-document-preview-page, .work-pdf-export-page.document) :is(p, h1, h2, h3, h4, h5, h6)[data-office-auto-line-height] > :where(span, a, strong, em, u, s, code) {
9808
+ top: var(--work-document-office-auto-line-shift, 0);
9809
+ position: relative;
9810
+ }
9811
+
9812
+ :where(.work-document-page .tiptap, .work-document-preview-page, .work-pdf-export-page.document) :is(p, h1, h2, h3, h4, h5, h6)[data-office-auto-line-height] > :where(span, a, strong, em, u, s, code)[data-office-word-line-height-factor] {
9813
+ line-height: calc(var(--work-document-office-auto-line-multiple, 1) *
9814
+ var(--work-document-word-line-height-factor));
9815
+ top: calc((1 - var(--work-document-office-auto-line-multiple, 1)) *
9816
+ var(--work-document-word-line-height-factor) *
9817
+ .5em);
9818
+ }
9819
+
9820
+ :where(.work-document-page .tiptap, .work-document-preview-page, .work-pdf-export-page.document) section:is([data-section-document-grid-type="lines"], [data-section-document-grid-type="linesAndChars"], [data-section-document-grid-type="snapToChars"]) :is(p, h1, h2, h3, h4, h5, h6)[data-office-auto-line-height] {
9821
+ line-height: round(up,
9822
+ calc(var(--work-document-office-auto-line-height, 1.15) * 1em),
9823
+ var(--work-document-word-grid-line-pitch)) !important;
9824
+ }
9825
+
9826
+ :where(.work-document-page .tiptap, .work-document-preview-page, .work-pdf-export-page.document) section:is([data-section-document-grid-type="lines"], [data-section-document-grid-type="linesAndChars"], [data-section-document-grid-type="snapToChars"]) :is(p, h1, h2, h3, h4, h5, h6)[data-office-auto-line-height] > :where(span, a, strong, em, u, s, code)[data-office-word-line-height-factor] {
9827
+ vertical-align: top;
9828
+ line-height: round(up,
9829
+ calc(var(--work-document-office-auto-line-multiple, 1) *
9830
+ var(--work-document-word-line-height-factor) *
9831
+ 1em),
9832
+ var(--work-document-word-grid-line-pitch));
9833
+ }
9834
+
9052
9835
  .work-document-page .tiptap .work-document-tab, .work-pdf-export-page.document .work-document-tab {
9053
9836
  vertical-align: -.12em;
9054
9837
  white-space: pre;
@@ -9208,22 +9991,22 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
9208
9991
  overflow-x: auto;
9209
9992
  }
9210
9993
 
9994
+ .work-document-page .tiptap .tableWrapper:has( > table[data-office-table-imported="true"]) {
9995
+ margin: 0;
9996
+ }
9997
+
9211
9998
  .work-document-page .tiptap table {
9212
- table-layout: fixed;
9999
+ table-layout: auto;
9213
10000
  border-collapse: collapse;
9214
- width: 100%;
10001
+ width: auto;
9215
10002
  }
9216
10003
 
9217
- .work-document-page .tiptap table[data-office-table-layout="contents"] {
10004
+ .work-document-page .tiptap table[data-office-table-layout="autofit"], .work-document-page .tiptap table[data-office-table-layout="contents"] {
9218
10005
  table-layout: auto;
9219
- width: max-content;
9220
- max-width: 100%;
9221
10006
  }
9222
10007
 
9223
10008
  .work-document-page .tiptap table[data-office-table-layout="fixed"] {
9224
10009
  table-layout: fixed;
9225
- width: auto;
9226
- max-width: 100%;
9227
10010
  }
9228
10011
 
9229
10012
  .work-document-page .tiptap table[data-office-table-layout="window"] {
@@ -9232,10 +10015,13 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
9232
10015
  }
9233
10016
 
9234
10017
  .work-document-page .tiptap th, .work-document-page .tiptap td {
10018
+ min-width: 25px;
10019
+ padding: var(--work-table-cell-margin-top, 0px)
10020
+ var(--work-table-cell-margin-right, 7.2px)
10021
+ var(--work-table-cell-margin-bottom, 0px)
10022
+ var(--work-table-cell-margin-left, 7.2px);
9235
10023
  vertical-align: top;
9236
10024
  border: 1px solid #cfd5df;
9237
- min-width: 80px;
9238
- padding: 7px 9px;
9239
10025
  position: relative;
9240
10026
  }
9241
10027
 
@@ -9645,16 +10431,18 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
9645
10431
  }
9646
10432
 
9647
10433
  .work-document-preview-page table, .work-document-print-body table {
9648
- table-layout: fixed;
10434
+ table-layout: auto;
9649
10435
  border-collapse: collapse;
9650
- width: 100%;
9651
- max-width: 100%;
10436
+ width: auto;
9652
10437
  margin: 18px 0 22px;
9653
10438
  }
9654
10439
 
9655
- .work-document-preview-page table[data-office-table-layout="contents"], .work-document-print-body table[data-office-table-layout="contents"] {
10440
+ .work-document-preview-page table[data-office-table-imported="true"], .work-document-print-body table[data-office-table-imported="true"] {
10441
+ margin: 0;
10442
+ }
10443
+
10444
+ .work-document-preview-page table[data-office-table-layout="autofit"], .work-document-print-body table[data-office-table-layout="autofit"], .work-document-preview-page table[data-office-table-layout="contents"], .work-document-print-body table[data-office-table-layout="contents"] {
9656
10445
  table-layout: auto;
9657
- width: max-content;
9658
10446
  }
9659
10447
 
9660
10448
  .work-document-preview-page table[data-office-table-layout="fixed"], .work-document-print-body table[data-office-table-layout="fixed"] {
@@ -9668,10 +10456,13 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
9668
10456
  }
9669
10457
 
9670
10458
  .work-document-preview-page :is(th, td), .work-document-print-body :is(th, td) {
10459
+ min-width: 25px;
10460
+ padding: var(--work-table-cell-margin-top, 0px)
10461
+ var(--work-table-cell-margin-right, 7.2px)
10462
+ var(--work-table-cell-margin-bottom, 0px)
10463
+ var(--work-table-cell-margin-left, 7.2px);
9671
10464
  vertical-align: top;
9672
10465
  border: 1px solid #cfd5df;
9673
- min-width: 80px;
9674
- padding: 7px 9px;
9675
10466
  }
9676
10467
 
9677
10468
  .work-document-preview-page th, .work-document-print-body th {
@@ -9796,7 +10587,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
9796
10587
  display: grid;
9797
10588
  }
9798
10589
 
9799
- :is(.work-document-preview-page, .work-pdf-export-page.document) img, :is(.work-document-preview-page, .work-pdf-export-page.document) table {
10590
+ :is(.work-document-preview-page, .work-pdf-export-page.document) img {
9800
10591
  max-width: 100%;
9801
10592
  }
9802
10593
 
@@ -10242,14 +11033,20 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
10242
11033
  align-content: center;
10243
11034
  }
10244
11035
 
10245
- .work-document-change-list article {
11036
+ .work-document-change-window-spacer {
11037
+ pointer-events: none;
11038
+ width: 100%;
11039
+ min-height: 0;
11040
+ }
11041
+
11042
+ .work-document-change-item {
10246
11043
  grid-template-columns: minmax(0, 1fr);
10247
11044
  align-items: stretch;
10248
11045
  gap: 8px;
10249
11046
  padding: 8px;
10250
11047
  }
10251
11048
 
10252
- .work-document-change-list article > div {
11049
+ .work-document-change-item > div {
10253
11050
  justify-content: flex-end;
10254
11051
  }
10255
11052
 
@@ -10707,6 +11504,15 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
10707
11504
  min-width: 0;
10708
11505
  }
10709
11506
 
11507
+ .work-document-outline > ol > li.work-document-navigation-window-spacer, .work-document-search-results > ol > li.work-document-navigation-window-spacer {
11508
+ contain: strict;
11509
+ pointer-events: none;
11510
+ min-width: 0;
11511
+ min-height: 0;
11512
+ padding: 0;
11513
+ display: block;
11514
+ }
11515
+
10710
11516
  .work-document-search-result {
10711
11517
  width: 100%;
10712
11518
  min-width: 0;
@@ -10796,6 +11602,12 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
10796
11602
  min-width: 0;
10797
11603
  }
10798
11604
 
11605
+ .work-document-page-navigation > ol > li.work-document-page-navigation-spacer {
11606
+ contain: strict;
11607
+ pointer-events: none;
11608
+ min-height: 0;
11609
+ }
11610
+
10799
11611
  .work-document-page-navigation > ol > li > button {
10800
11612
  width: 100%;
10801
11613
  min-width: 0;
@@ -10838,8 +11650,8 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
10838
11650
  border: 1px solid #d7dbe2;
10839
11651
  border-radius: 2px;
10840
11652
  width: min(138px, 100%);
10841
- padding: 13px 11px;
10842
11653
  display: block;
11654
+ position: relative;
10843
11655
  overflow: hidden;
10844
11656
  box-shadow: 0 3px 10px #1b22301f;
10845
11657
  }
@@ -10849,10 +11661,23 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
10849
11661
  width: min(170px, 100%);
10850
11662
  }
10851
11663
 
10852
- .work-document-page-thumbnail > span {
11664
+ .work-document-page-thumbnail > img {
11665
+ object-fit: contain;
11666
+ pointer-events: none;
11667
+ -webkit-user-select: none;
11668
+ user-select: none;
11669
+ width: 100%;
11670
+ height: 100%;
11671
+ display: block;
11672
+ }
11673
+
11674
+ .work-document-page-thumbnail-fallback {
10853
11675
  white-space: normal;
10854
11676
  -webkit-line-clamp: 16;
10855
11677
  -webkit-box-orient: vertical;
11678
+ width: 100%;
11679
+ height: 100%;
11680
+ padding: 13px 11px;
10856
11681
  font-family: ui-serif, Georgia, Times New Roman, Songti SC, serif;
10857
11682
  font-size: 5px;
10858
11683
  line-height: 1.55;
@@ -10860,13 +11685,19 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
10860
11685
  overflow: hidden;
10861
11686
  }
10862
11687
 
11688
+ .work-document-page-thumbnail[data-thumbnail-state="loading"] .work-document-page-thumbnail-fallback, .work-document-page-thumbnail[data-thumbnail-state="refreshing"] .work-document-page-thumbnail-fallback {
11689
+ opacity: .72;
11690
+ }
11691
+
10863
11692
  .work-document-page-thumbnail-label {
10864
11693
  font-variant-numeric: tabular-nums;
10865
11694
  justify-content: center;
10866
11695
  align-items: baseline;
10867
11696
  gap: 6px;
10868
11697
  min-width: 0;
11698
+ min-height: 11px;
10869
11699
  font-size: 9px;
11700
+ line-height: 11px;
10870
11701
  display: flex;
10871
11702
  }
10872
11703
 
@@ -11041,6 +11872,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11041
11872
 
11042
11873
  .work-markdown-editor {
11043
11874
  --work-office-accent: #586574;
11875
+ --work-markdown-reading-width: 760px;
11044
11876
  --work-markdown-zoom: 100;
11045
11877
  background: var(--a3s-bg);
11046
11878
  flex-direction: column;
@@ -11082,6 +11914,10 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11082
11914
  user-select: none;
11083
11915
  }
11084
11916
 
11917
+ .work-markdown-compact-switch {
11918
+ display: none;
11919
+ }
11920
+
11085
11921
  .work-markdown-pane {
11086
11922
  overscroll-behavior: contain;
11087
11923
  scrollbar-gutter: stable;
@@ -11136,22 +11972,22 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11136
11972
  .work-markdown-pane-label {
11137
11973
  z-index: 2;
11138
11974
  border-bottom: 1px solid var(--a3s-line);
11139
- background: color-mix(in srgb, var(--a3s-panel) 94%, transparent);
11140
- height: 28px;
11141
- color: var(--a3s-faint);
11142
- backdrop-filter: blur(10px);
11143
- flex: 0 0 28px;
11975
+ background: color-mix(in srgb, var(--a3s-panel) 97%, var(--a3s-bg));
11976
+ height: 32px;
11977
+ color: var(--a3s-muted);
11978
+ letter-spacing: .035em;
11979
+ flex: 0 0 32px;
11144
11980
  align-items: center;
11145
- padding: 0 12px;
11146
- font-size: 9px;
11147
- font-weight: 620;
11981
+ padding: 0 16px;
11982
+ font-size: 10px;
11983
+ font-weight: 650;
11148
11984
  display: flex;
11149
11985
  position: sticky;
11150
11986
  top: 0;
11151
11987
  }
11152
11988
 
11153
11989
  .work-markdown-pane.source {
11154
- background: var(--a3s-panel);
11990
+ background: color-mix(in srgb, var(--a3s-panel) 96%, var(--a3s-bg));
11155
11991
  }
11156
11992
 
11157
11993
  .work-markdown-pane.source textarea {
@@ -11161,7 +11997,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11161
11997
  min-height: 100%;
11162
11998
  color: var(--a3s-ink);
11163
11999
  font-family: var(--font-mono);
11164
- font-size: calc(13px * var(--work-markdown-zoom) / 100);
12000
+ font-size: calc(14px * var(--work-markdown-zoom) / 100);
11165
12001
  overscroll-behavior: contain;
11166
12002
  scrollbar-gutter: stable;
11167
12003
  tab-size: 2;
@@ -11169,33 +12005,44 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11169
12005
  border: 0;
11170
12006
  outline: 0;
11171
12007
  flex: 1;
11172
- padding: 34px clamp(24px, 5vw, 72px) 72px;
11173
- line-height: 1.75;
12008
+ padding: 38px clamp(28px, 5vw, 72px) 80px;
12009
+ line-height: 1.8;
12010
+ }
12011
+
12012
+ .work-markdown-pane.source textarea::placeholder {
12013
+ color: var(--a3s-faint);
12014
+ }
12015
+
12016
+ .work-markdown-pane.source textarea::selection {
12017
+ background: color-mix(in srgb, var(--work-office-accent) 18%, transparent);
11174
12018
  }
11175
12019
 
11176
12020
  .work-markdown-workspace.split .work-markdown-pane.source textarea {
11177
- min-height: calc(100% - 28px);
11178
- padding: 26px clamp(20px, 3vw, 44px) 60px;
12021
+ min-height: calc(100% - 32px);
12022
+ padding: 32px clamp(24px, 3.5vw, 46px) 72px;
11179
12023
  }
11180
12024
 
11181
12025
  .work-markdown-pane.visual {
11182
- background: var(--a3s-bg);
12026
+ background: color-mix(in srgb, var(--a3s-bg) 82%, var(--a3s-panel));
11183
12027
  }
11184
12028
 
11185
12029
  .work-markdown-canvas {
11186
12030
  border: 1px solid var(--a3s-line);
11187
12031
  background: var(--a3s-panel);
11188
- border-radius: 9px;
11189
- width: min(900px, 100% - 48px);
11190
- min-height: calc(100% - 48px);
11191
- margin: 24px auto;
11192
- box-shadow: 0 8px 28px #161c2812;
12032
+ border-radius: 10px;
12033
+ width: min(880px, 100% - 64px);
12034
+ min-height: calc(100% - 64px);
12035
+ margin: 32px auto;
12036
+ box-shadow: 0 1px 2px #161c280a, 0 12px 34px #161c280d;
11193
12037
  }
11194
12038
 
11195
12039
  .work-markdown-workspace.split .work-markdown-canvas {
11196
- width: calc(100% - 28px);
11197
- min-height: calc(100% - 56px);
11198
- margin: 14px;
12040
+ width: 100%;
12041
+ min-height: calc(100% - 32px);
12042
+ box-shadow: none;
12043
+ border: 0;
12044
+ border-radius: 0;
12045
+ margin: 0;
11199
12046
  }
11200
12047
 
11201
12048
  .work-markdown-canvas > div {
@@ -11204,16 +12051,19 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11204
12051
 
11205
12052
  .work-markdown-canvas .tiptap {
11206
12053
  min-height: 100%;
12054
+ max-width: var(--work-markdown-reading-width);
11207
12055
  color: var(--a3s-ink);
11208
- font-size: calc(15px * var(--work-markdown-zoom) / 100);
12056
+ font-family: var(--a3s-ui-font);
12057
+ font-size: calc(16px * var(--work-markdown-zoom) / 100);
11209
12058
  overflow-wrap: anywhere;
11210
12059
  outline: 0;
11211
- padding: 48px clamp(34px, 7vw, 82px) 90px;
11212
- line-height: 1.75;
12060
+ margin: 0 auto;
12061
+ padding: 56px clamp(42px, 7vw, 86px) 96px;
12062
+ line-height: 1.8;
11213
12063
  }
11214
12064
 
11215
12065
  .work-markdown-workspace.split .work-markdown-canvas .tiptap {
11216
- padding: 34px clamp(24px, 4vw, 48px) 68px;
12066
+ padding: 42px clamp(28px, 4vw, 52px) 80px;
11217
12067
  }
11218
12068
 
11219
12069
  .work-markdown-canvas .tiptap > :first-child {
@@ -11226,29 +12076,26 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11226
12076
 
11227
12077
  .work-markdown-canvas .tiptap h1, .work-markdown-canvas .tiptap h2, .work-markdown-canvas .tiptap h3, .work-markdown-canvas .tiptap h4, .work-markdown-canvas .tiptap h5, .work-markdown-canvas .tiptap h6 {
11228
12078
  color: var(--a3s-ink);
11229
- margin: 1.4em 0 .55em;
11230
- font-weight: 720;
11231
- line-height: 1.28;
12079
+ letter-spacing: -.02em;
12080
+ margin: 1.65em 0 .6em;
12081
+ font-weight: 700;
12082
+ line-height: 1.3;
11232
12083
  }
11233
12084
 
11234
12085
  .work-markdown-canvas .tiptap h1 {
11235
- border-bottom: 1px solid var(--a3s-line);
11236
- padding-bottom: .28em;
11237
- font-size: 2em;
12086
+ font-size: 1.9em;
11238
12087
  }
11239
12088
 
11240
12089
  .work-markdown-canvas .tiptap h2 {
11241
- border-bottom: 1px solid var(--a3s-line);
11242
- padding-bottom: .24em;
11243
- font-size: 1.55em;
12090
+ font-size: 1.45em;
11244
12091
  }
11245
12092
 
11246
12093
  .work-markdown-canvas .tiptap h3 {
11247
- font-size: 1.25em;
12094
+ font-size: 1.2em;
11248
12095
  }
11249
12096
 
11250
12097
  .work-markdown-canvas .tiptap p {
11251
- margin: .75em 0;
12098
+ margin: .85em 0;
11252
12099
  }
11253
12100
 
11254
12101
  .work-markdown-canvas .tiptap ul, .work-markdown-canvas .tiptap ol {
@@ -11296,10 +12143,30 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11296
12143
  }
11297
12144
 
11298
12145
  .work-markdown-canvas .tiptap li[data-type="taskItem"] > label input {
11299
- width: 14px;
11300
- height: 14px;
11301
- accent-color: var(--work-office-accent);
12146
+ border: 1px solid var(--a3s-line-strong);
12147
+ appearance: none;
12148
+ background-color: var(--a3s-panel);
12149
+ opacity: 1;
12150
+ background-position: center;
12151
+ background-repeat: no-repeat;
12152
+ background-size: 12px;
12153
+ border-radius: 4px;
12154
+ width: 16px;
12155
+ height: 16px;
11302
12156
  margin: 0;
12157
+ transition: border-color .12s, background-color .12s, box-shadow .12s;
12158
+ }
12159
+
12160
+ .work-markdown-canvas .tiptap li[data-type="taskItem"] > label input:checked {
12161
+ border-color: var(--work-office-accent);
12162
+ background-color: var(--work-office-accent);
12163
+ background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath d=%27m2.5 6 2.1 2.1L9.5 3.5%27 fill=%27none%27 stroke=%27%23fff%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.8%27/%3E%3C/svg%3E");
12164
+ }
12165
+
12166
+ .work-markdown-canvas .tiptap li[data-type="taskItem"] > label input:not(:disabled):hover {
12167
+ border-color: color-mix(in srgb,
12168
+ var(--work-office-accent) 72%,
12169
+ var(--a3s-line));
11303
12170
  }
11304
12171
 
11305
12172
  .work-markdown-canvas .tiptap li[data-type="taskItem"] > div {
@@ -11313,9 +12180,6 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11313
12180
 
11314
12181
  .work-markdown-canvas .tiptap li[data-type="taskItem"][data-checked="true"] > div {
11315
12182
  color: var(--a3s-muted);
11316
- text-decoration: line-through;
11317
- -webkit-text-decoration-color: color-mix(in srgb, var(--a3s-muted) 65%, transparent);
11318
- text-decoration-color: color-mix(in srgb, var(--a3s-muted) 65%, transparent);
11319
12183
  }
11320
12184
 
11321
12185
  .work-markdown-canvas .tiptap li[data-type="taskItem"] ul[data-type="taskList"] {
@@ -11324,28 +12188,39 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11324
12188
  }
11325
12189
 
11326
12190
  .work-markdown-canvas .tiptap blockquote {
11327
- border-left: 3px solid var(--a3s-line-strong);
12191
+ border-left: 3px solid
12192
+ color-mix(in srgb, var(--work-office-accent) 68%, var(--a3s-line));
12193
+ background: color-mix(in srgb, var(--a3s-panel-soft) 82%, transparent);
11328
12194
  color: var(--a3s-muted);
11329
- margin: 1em 0;
11330
- padding: .1em 0 .1em 1em;
12195
+ border-radius: 0 7px 7px 0;
12196
+ margin: 1.25em 0;
12197
+ padding: .7em 1em;
12198
+ }
12199
+
12200
+ .work-markdown-canvas .tiptap blockquote > :first-child {
12201
+ margin-top: 0;
12202
+ }
12203
+
12204
+ .work-markdown-canvas .tiptap blockquote > :last-child {
12205
+ margin-bottom: 0;
11331
12206
  }
11332
12207
 
11333
12208
  .work-markdown-canvas .tiptap code {
11334
12209
  background: var(--a3s-panel-soft);
11335
- color: color-mix(in srgb, var(--a3s-red) 82%, var(--a3s-ink));
12210
+ color: color-mix(in srgb, var(--work-office-accent) 76%, var(--a3s-ink));
11336
12211
  font-family: var(--font-mono);
11337
12212
  border-radius: 4px;
11338
- padding: .15em .34em;
12213
+ padding: .16em .38em;
11339
12214
  font-size: .9em;
11340
12215
  }
11341
12216
 
11342
12217
  .work-markdown-canvas .tiptap pre {
11343
12218
  border: 1px solid var(--a3s-line);
11344
- background: var(--a3s-panel-soft);
12219
+ background: color-mix(in srgb, var(--a3s-panel-soft) 90%, var(--a3s-bg));
11345
12220
  color: var(--a3s-ink);
11346
- border-radius: 8px;
11347
- margin: 1em 0;
11348
- padding: 16px 18px;
12221
+ border-radius: 9px;
12222
+ margin: 1.3em 0;
12223
+ padding: 18px 20px;
11349
12224
  line-height: 1.6;
11350
12225
  overflow: auto;
11351
12226
  }
@@ -11379,24 +12254,38 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11379
12254
  }
11380
12255
 
11381
12256
  .work-markdown-canvas .tiptap table {
11382
- border-collapse: collapse;
11383
- table-layout: fixed;
12257
+ border: 1px solid var(--a3s-line-strong);
12258
+ border-collapse: separate;
12259
+ border-spacing: 0;
12260
+ table-layout: auto;
12261
+ border-radius: 8px;
11384
12262
  width: 100%;
11385
- margin: 1.25em 0;
12263
+ margin: 1.5em 0;
12264
+ overflow: hidden;
11386
12265
  }
11387
12266
 
11388
12267
  .work-markdown-canvas .tiptap th, .work-markdown-canvas .tiptap td {
11389
- border: 1px solid var(--a3s-line-strong);
12268
+ border: 0;
12269
+ border-right: 1px solid var(--a3s-line);
12270
+ border-bottom: 1px solid var(--a3s-line);
11390
12271
  vertical-align: top;
11391
12272
  min-width: 80px;
11392
- padding: 8px 10px;
12273
+ padding: 9px 12px;
11393
12274
  position: relative;
11394
12275
  }
11395
12276
 
12277
+ .work-markdown-canvas .tiptap tr > :last-child {
12278
+ border-right: 0;
12279
+ }
12280
+
12281
+ .work-markdown-canvas .tiptap tr:last-child > * {
12282
+ border-bottom: 0;
12283
+ }
12284
+
11396
12285
  .work-markdown-canvas .tiptap th {
11397
- background: var(--a3s-panel-soft);
12286
+ background: color-mix(in srgb, var(--a3s-panel-soft) 84%, var(--a3s-panel));
11398
12287
  text-align: left;
11399
- font-weight: 680;
12288
+ font-weight: 660;
11400
12289
  }
11401
12290
 
11402
12291
  .work-markdown-canvas .tiptap th > p, .work-markdown-canvas .tiptap td > p {
@@ -11433,16 +12322,57 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11433
12322
 
11434
12323
  @media (width <= 640px) {
11435
12324
  .work-markdown-workspace.split {
11436
- grid-template-rows: repeat(2, minmax(220px, 1fr));
12325
+ grid-template-rows: 56px minmax(0, 1fr);
11437
12326
  grid-template-columns: minmax(0, 1fr);
11438
12327
  display: grid;
11439
12328
  }
11440
12329
 
11441
- .work-markdown-workspace.split .work-markdown-pane.visual {
11442
- border-top: 1px solid var(--a3s-line);
12330
+ .work-markdown-compact-switch {
12331
+ z-index: 3;
12332
+ border: 0;
12333
+ border-bottom: 1px solid var(--a3s-line);
12334
+ background: color-mix(in srgb, var(--a3s-panel) 97%, var(--a3s-bg));
12335
+ grid-area: 1 / 1;
12336
+ grid-template-columns: repeat(2, minmax(0, 1fr));
12337
+ gap: 4px;
12338
+ min-width: 0;
12339
+ margin: 0;
12340
+ padding: 6px 12px;
12341
+ display: grid;
12342
+ }
12343
+
12344
+ .work-markdown-compact-switch button {
12345
+ min-width: 0;
12346
+ min-height: 44px;
12347
+ color: var(--a3s-muted);
12348
+ font: inherit;
12349
+ cursor: pointer;
12350
+ background: none;
12351
+ border: 1px solid #0000;
12352
+ border-radius: 7px;
12353
+ padding: 0 14px;
12354
+ font-size: 12px;
12355
+ font-weight: 640;
12356
+ }
12357
+
12358
+ .work-markdown-compact-switch button[aria-pressed="true"] {
12359
+ border-color: var(--a3s-line);
12360
+ background: var(--a3s-panel);
12361
+ color: var(--a3s-ink);
12362
+ box-shadow: 0 1px 2px #161c280f;
12363
+ }
12364
+
12365
+ .work-markdown-compact-switch button:focus-visible {
12366
+ outline: 2px solid
12367
+ color-mix(in srgb, var(--work-office-accent) 48%, transparent);
12368
+ outline-offset: 1px;
12369
+ }
12370
+
12371
+ .work-markdown-workspace.split .work-markdown-pane {
12372
+ grid-area: 2 / 1;
11443
12373
  }
11444
12374
 
11445
- .work-markdown-splitter {
12375
+ .work-markdown-workspace.split[data-compact-pane="source"] .work-markdown-pane.visual, .work-markdown-workspace.split[data-compact-pane="preview"] .work-markdown-pane.source, .work-markdown-workspace.split .work-markdown-pane-label, .work-markdown-splitter {
11446
12376
  display: none;
11447
12377
  }
11448
12378
 
@@ -11456,8 +12386,21 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11456
12386
  }
11457
12387
 
11458
12388
  .work-markdown-canvas .tiptap {
11459
- padding-left: 28px;
11460
- padding-right: 28px;
12389
+ padding-left: 24px;
12390
+ padding-right: 24px;
12391
+ }
12392
+
12393
+ .work-markdown-workspace.split .work-markdown-pane.source textarea {
12394
+ min-height: 100%;
12395
+ padding: 28px 20px 64px;
12396
+ }
12397
+
12398
+ .work-markdown-workspace.split .work-markdown-canvas {
12399
+ min-height: 100%;
12400
+ }
12401
+
12402
+ .work-markdown-workspace.split .work-markdown-canvas .tiptap {
12403
+ padding: 30px 22px 68px;
11461
12404
  }
11462
12405
 
11463
12406
  .work-markdown-status .work-office-save-status {
@@ -11558,10 +12501,35 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
11558
12501
 
11559
12502
  @media (width <= 600px) {
11560
12503
  .work-spreadsheet-find-bar {
12504
+ gap: 4px;
11561
12505
  width: auto;
12506
+ min-height: 50px;
12507
+ padding: 4px;
11562
12508
  left: 8px;
11563
12509
  right: 8px;
11564
12510
  }
12511
+
12512
+ .work-spreadsheet-find-bar > svg {
12513
+ display: none;
12514
+ }
12515
+
12516
+ .work-spreadsheet-find-bar > .work-office-text-field {
12517
+ min-width: 96px;
12518
+ height: 40px;
12519
+ min-height: 40px;
12520
+ padding-inline: 9px;
12521
+ }
12522
+
12523
+ .work-spreadsheet-find-bar > output {
12524
+ min-width: 42px;
12525
+ }
12526
+
12527
+ .work-spreadsheet-find-actions .ds-icon-button {
12528
+ border-radius: 7px;
12529
+ width: 40px;
12530
+ height: 40px;
12531
+ min-height: 40px;
12532
+ }
11565
12533
  }
11566
12534
 
11567
12535
  .work-spreadsheet-ribbon-toolbar .work-office-select {
@@ -13873,6 +14841,7 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
13873
14841
  min-width: 0;
13874
14842
  min-height: 0;
13875
14843
  display: flex;
14844
+ position: relative;
13876
14845
  }
13877
14846
 
13878
14847
  .work-presentation-workspace {
@@ -15212,6 +16181,92 @@ html[data-ds-resizing="horizontal"], html[data-ds-resizing="horizontal"] * {
15212
16181
  }
15213
16182
 
15214
16183
  @media (width <= 640px) {
16184
+ .work-presentation-comments-panel {
16185
+ z-index: 32;
16186
+ background: var(--a3s-panel);
16187
+ border-bottom: 0;
16188
+ max-height: none;
16189
+ position: absolute;
16190
+ inset: 0;
16191
+ box-shadow: 0 18px 48px #171c2a38;
16192
+ }
16193
+
16194
+ .work-presentation-comments-panel > header {
16195
+ flex: 0 0 54px;
16196
+ min-height: 54px;
16197
+ padding: 7px 8px 7px 14px;
16198
+ }
16199
+
16200
+ .work-presentation-comments-panel > header strong {
16201
+ font-size: 13px;
16202
+ }
16203
+
16204
+ .work-presentation-comments-panel > header span {
16205
+ font-size: 11px;
16206
+ }
16207
+
16208
+ .work-presentation-comments-panel > header button.close {
16209
+ border-radius: 8px;
16210
+ width: 44px;
16211
+ height: 44px;
16212
+ }
16213
+
16214
+ .work-presentation-comment-list {
16215
+ flex: 1;
16216
+ grid-template-columns: minmax(0, 1fr);
16217
+ align-content: start;
16218
+ gap: 12px;
16219
+ min-height: 0;
16220
+ padding: 12px;
16221
+ }
16222
+
16223
+ .work-presentation-comment-list > article {
16224
+ border-left-width: 4px;
16225
+ border-radius: 10px;
16226
+ gap: 9px;
16227
+ padding: 12px;
16228
+ }
16229
+
16230
+ .work-presentation-comment-location {
16231
+ gap: 7px;
16232
+ min-height: 44px;
16233
+ font-size: 11px;
16234
+ }
16235
+
16236
+ .work-presentation-comment-list > article > header strong {
16237
+ font-size: 12px;
16238
+ }
16239
+
16240
+ .work-presentation-comment-list > article > header time, .work-presentation-comment-list > article > footer {
16241
+ font-size: 10px;
16242
+ }
16243
+
16244
+ .work-presentation-comment-list textarea {
16245
+ resize: none;
16246
+ border-radius: 8px;
16247
+ min-height: 104px;
16248
+ padding: 10px;
16249
+ font-size: 13px;
16250
+ line-height: 1.5;
16251
+ }
16252
+
16253
+ .work-presentation-comment-list > article > footer button {
16254
+ border-radius: 8px;
16255
+ justify-content: center;
16256
+ min-width: 72px;
16257
+ height: 44px;
16258
+ padding: 0 12px;
16259
+ font-size: 11px;
16260
+ }
16261
+
16262
+ .work-presentation-comments-empty.ds-collection-state {
16263
+ min-height: 96px;
16264
+ margin: 0;
16265
+ padding: 14px;
16266
+ font-size: 12px;
16267
+ line-height: 1.5;
16268
+ }
16269
+
15215
16270
  .work-presentation-slide-navigation-toggle {
15216
16271
  z-index: 18;
15217
16272
  border: 1px solid var(--a3s-line-strong);