File size: 3,326 Bytes
9e15897
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
.amd {
  min-width: 0;
  padding: var(--lp-content-inset);
  color: var(--lp-ink);
  background: var(--lp-surface);
  font-family: Inter, sans-serif;
  font-size: var(--lp-fs-sm);
}
.amd-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}
.amd-controls label { display: grid; gap: 4px; color: var(--lp-muted); font-size: var(--lp-fs-2xs); }
.amd-controls input,
.amd-controls select {
  box-sizing: border-box;
  height: 36px;
  max-width: 100%;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-r-md);
  padding: 0 8px;
  background: var(--lp-surface);
  color: var(--lp-ink);
  font: inherit;
  font-size: var(--lp-fs-xs);
  font-variant-numeric: tabular-nums;
}
.amd-comparison { margin-inline-start: auto; }
.amd-button {
  border: 0;
  background: transparent;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: var(--lp-r-md);
  color: var(--lp-blue-solid);
  font-size: var(--lp-fs-xs);
  cursor: pointer;
  transition: transform var(--lp-motion-feedback-duration) var(--lp-motion-feedback-easing);
}
.amd-apply { border: 1px solid var(--lp-line); }
.amd-button:disabled { opacity: 0.5; cursor: not-allowed; }
.amd-button:active:not(:disabled) { transform: scale(0.97); }
.amd-controls :focus-visible,
.amd-button:focus-visible,
.amd-source a:focus-visible { outline: 2px solid var(--lp-blue-deep); outline-offset: 3px; }
.amd-period-error { min-height: 1lh; align-self: center; color: var(--lp-red-deep); font-size: var(--lp-fs-2xs); }
.amd-notice { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.amd-notice a,
.amd-source a { color: var(--lp-blue-solid); text-underline-offset: 3px; }
.amd-loading { display: grid; place-items: center; min-height: 320px; }
.amd-figures { display: flex; flex-direction: column; gap: var(--lp-section-gap); min-width: 0; }
.amd-source-scrim {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  padding: 0;
}
.amd-source {
  width: min(440px, 100%);
  box-sizing: border-box;
  overflow: auto;
  padding: var(--lp-content-inset);
  color: var(--lp-ink);
  background: var(--lp-surface);
  box-shadow: var(--lp-panel-shadow);
  font-family: Inter, sans-serif;
  font-size: var(--lp-fs-sm);
}
.amd-source-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.amd-source h2 { margin: 0; font-size: var(--lp-fs-md); font-weight: 600; }
.amd-source h3 { margin: 24px 0 12px; font-size: var(--lp-fs-sm); font-weight: 500; }
.amd-source-period { color: var(--lp-muted); font-size: var(--lp-fs-2xs); font-variant-numeric: tabular-nums; }
.amd-source-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.amd-source-list li { padding: 12px 0; border-bottom: 1px solid var(--lp-line); }
@media (hover: hover) and (pointer: fine) {
  .amd-button:hover:not(:disabled) { background: var(--lp-surface-2); }
}
@media (max-width: 600px) {
  .amd { padding: 16px; }
  .amd-controls { gap: 8px; }
  .amd-comparison { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .amd-button { transition: none; }
  .amd-button:active:not(:disabled) { transform: none; }
}