File size: 3,721 Bytes
99cf221
09f45d8
99cf221
 
 
 
b2aa446
 
 
 
 
 
a5981db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b2aa446
 
 
 
 
a5981db
b2aa446
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/* The hosted grid shares the App frame column with the header, so it takes the rest, not 100%. */
.cg-app-frame-catalog[data-app-view="amazon-profit"] > .cg-app-frame-main > .cg-shell {
  flex: 1 1 0;
  min-height: 0;
  height: auto;
}

/* S82-T65: Command Center draws no App title row. The rail keeps Back, and other Apps keep their header. */
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-app-frame-header {
  display: none;
}

/* App header controls share the body scale without changing Table chrome. */
.cg-app-frame-catalog[data-app-view="amazon-profit"] :is(
  .ap-command-tabs, .ap-command-tabs > button, .cg-toolbar, .cg-toolbar .cg-tb-btn,
  .cg-toolbar .cg-search-input, .cc-toolbar-period .cg-period-picker, .cc-toolbar-period .cg-select
) {
  font-size: var(--lp-fs-sm);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar {
  background: var(--lp-surface);
  color: var(--lp-ink);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-tb-btn:not(.is-active) svg,
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-search-icon,
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-search-input::placeholder {
  color: var(--lp-muted);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-tb-btn:not(.is-active):hover {
  background: var(--lp-wash);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar .cg-tb-divider {
  background: var(--lp-line);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cg-toolbar :is(.cg-select, .cg-search-input) {
  background: var(--lp-surface);
}
.cg-app-frame-catalog[data-app-view="amazon-profit"] .cc-toolbar-period .cg-period-busy {
  color: var(--lp-muted);
}

/* S82-T68: the Period select sits in the toolbar's mode slot, just left of Fields. */
.cc-toolbar-period { display: inline-flex; align-items: center; flex: 0 0 auto; }
.cc-toolbar-period .cg-period-picker { padding: 0; color: var(--lp-ink); }
.ap-table-switcher .cg-period-notes { display: inline-flex; align-items: center; gap: 8px;
  margin-left: 12px; font-size: var(--lp-fs-xs); color: var(--lp-muted); }
.ap-table-switcher .cg-period-notes:empty { display: none; }

/* S82-T68: the Picture popup, centered over the App. Esc or an outside click closes it. */
.cc-picture-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--cg-z-record);
  display: grid;
  place-items: center;
  padding: 24px;
  background: color-mix(in srgb, var(--lp-ink) 34%, transparent);
}
.cc-picture-panel {
  display: grid;
  place-items: center;
  max-width: min(800px, calc(100vw - 96px));
  max-height: calc(100vh - 96px);
  padding: 12px;
  border-radius: var(--lp-r-lg);
  background: var(--lp-surface);
  box-shadow: var(--lp-panel-shadow);
  outline: none;
}
.cc-picture-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}
.cc-picture-state { margin: 24px; color: var(--lp-muted); font-size: var(--lp-fs-sm); }

/* The Data Entry header saves one shared capacity value above the grid. */
.cc-capacity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 0 0 auto; padding: 4px 12px;
  font-size: var(--lp-fs-xs); color: var(--lp-ink); }
.cc-capacity-field { display: inline-flex; align-items: center; gap: 8px; }
.cc-capacity-field > span { color: var(--lp-muted); }
.cc-capacity-value { width: 96px; text-align: right; font-variant-numeric: tabular-nums; }
.cc-capacity-unit { width: 72px; }
.cc-capacity-note { color: var(--lp-muted); min-height: 1lh; }
.cc-capacity :is(input, select, button) { height: 30px; box-sizing: border-box; }
.cc-capacity :is(input, select, button):disabled { opacity: 0.5; cursor: not-allowed; }