aboutsummaryrefslogtreecommitdiffstats
path: root/public/styles.css
blob: 0d257b0f413fcc81409975c6e5a00cb7db9d6535 (plain) (blame)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/* Open EU Commons capability registry. */
:root {
  color-scheme: light;
  --ink: #171717;
  --muted: #656565;
  --line: #d7d7d7;
  --line-strong: #999;
  --surface: #fff;
  --subtle: #f5f5f5;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--surface); color: var(--ink); font-size: 16px; line-height: 1.5; }
button, select, textarea { font: inherit; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.service-header { min-height: 68px; padding: 0 max(24px, calc((100vw - 1200px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); background: white; }
.identity { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.identity > span:last-child { display: grid; line-height: 1.2; }
.identity strong { font-size: 1rem; }
.identity small, .prototype-label { color: var(--muted); font-size: .75rem; }
.identity-mark { position: relative; width: 28px; height: 28px; display: block; border: 1px solid var(--ink); border-radius: 50%; }
.identity-mark i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--ink); }
.identity-mark i:nth-child(1) { left: 12px; top: 3px; }.identity-mark i:nth-child(2) { right: 5px; top: 7px; }.identity-mark i:nth-child(3) { right: 5px; bottom: 7px; }.identity-mark i:nth-child(4) { left: 12px; bottom: 3px; }.identity-mark i:nth-child(5) { left: 5px; bottom: 7px; }.identity-mark i:nth-child(6) { left: 5px; top: 7px; }
.prototype-label { padding: 4px 7px; border: 1px solid var(--line); }

main { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.breadcrumb { padding: 22px 0 12px; display: flex; gap: 8px; color: var(--muted); font-size: .82rem; }
.page-heading { padding: 34px 0 38px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 50px; align-items: end; border-bottom: 1px solid var(--ink); }
.section-label { margin: 0 0 8px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 720px; margin: 0; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
.intro { max-width: 760px; margin: 16px 0 0; color: #4c4c4c; font-size: 1.03rem; }
.registry-summary { min-width: 480px; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-strong); }
.registry-summary div { padding: 12px 14px; border-right: 1px solid var(--line); }
.registry-summary div:last-child { border: 0; }
.registry-summary dt { color: var(--muted); font-size: .7rem; }
.registry-summary dd { margin: 2px 0 0; font-weight: 700; }

.application-layout { margin: 30px 0; display: grid; grid-template-columns: minmax(280px, .8fr) minmax(460px, 1.5fr) minmax(290px, .9fr); }
.search-panel, .results-panel, .champions-panel { min-width: 0; padding: 25px; }
.search-panel { border: 1px solid var(--line-strong); border-right: 0; background: var(--subtle); }
.results-panel { border: 1px solid var(--line-strong); }
.champions-panel { margin-left: 24px; border: 1px solid var(--line-strong); background: var(--subtle); }
.panel-heading { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.panel-heading h2 { margin: 0; font-size: 1.08rem; }
.panel-heading p { margin: 2px 0 0; color: var(--muted); font-size: .78rem; }
.step { min-width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--ink); font-size: .7rem; font-weight: 700; }
form { display: grid; gap: 7px; }
label { margin-top: 8px; font-size: .78rem; font-weight: 700; }
select, textarea { width: 100%; padding: 10px; border: 1px solid var(--line-strong); border-radius: 0; background: white; color: var(--ink); outline: none; }
select:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
textarea { min-height: 102px; resize: vertical; line-height: 1.45; }
.primary-button, .secondary-button, .row-action, .champion-action { min-height: 40px; padding: 8px 13px; border-radius: 0; cursor: pointer; font-weight: 700; }
.primary-button { margin-top: 12px; border: 1px solid var(--ink); background: var(--ink); color: white; }
.primary-button:hover { background: #333; }
.secondary-button, .row-action, .champion-action { border: 1px solid var(--ink); background: white; color: var(--ink); }
.field-note { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.results-heading { padding-bottom: 17px; border-bottom: 1px solid var(--line); }

.match-summary { margin-bottom: 14px; padding: 10px 12px; border-left: 3px solid var(--ink); background: var(--subtle); font-size: .82rem; }
.registry-table { width: 100%; border-collapse: collapse; }
.registry-table th, table th { padding: 8px; border-bottom: 1px solid var(--ink); text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; }
.registry-table td { padding: 15px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .8rem; }
.tool-name { display: block; font-size: .92rem; }
.tool-description { display: block; max-width: 280px; margin-top: 3px; color: var(--muted); font-size: .74rem; }
.tool-meta { display: block; margin-top: 5px; color: var(--muted); font-size: .66rem; }
.source-link { display: inline-block; margin-top: 5px; color: var(--ink); font-size: .66rem; font-weight: 700; }
.status-text { font-weight: 700; }
.row-action, .champion-action { min-height: 32px; padding: 5px 8px; font-size: .72rem; }
.row-action.selected, .champion-action.requested { background: var(--ink); color: white; }

.no-match { border: 1px solid var(--line-strong); }
.no-match-header { padding: 17px 19px; border-left: 4px solid var(--ink); background: var(--subtle); }
.no-match-header h3 { margin: 0; font-size: 1.02rem; }
.no-match-header p { margin: 4px 0 0; color: var(--muted); font-size: .82rem; }
.requirement-review { padding: 19px; }
.requirement-review h4 { margin: 0 0 11px; font-size: .75rem; text-transform: uppercase; }
.requirement-review dl { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 22px; }
.requirement-review dt { color: var(--muted); font-size: .7rem; }
.requirement-review dd { margin: 2px 0 0; font-size: .82rem; font-weight: 650; }
.build-route { padding: 16px 19px; border-top: 1px solid var(--line); background: var(--subtle); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.build-route p { margin: 0; color: var(--muted); font-size: .8rem; }

.champion-section { margin: 0; }
.champion-panel-heading { margin: -25px -25px 20px; padding: 22px 25px; border: 0; background: var(--ink); color: white; }
.champion-panel-heading h2 { margin: 0; font-size: 1.08rem; }
.champion-panel-heading p { color: #d7d7d7; }
.champion-panel-heading .step { border-color: white; color: white; }
.champion-use-case { padding: 16px; border: 1px solid var(--ink); background: var(--ink); color: white; }
.champion-use-case > span { display: block; margin-bottom: 5px; color: #cfcfcf; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.champion-use-case > strong { display: block; font-size: .9rem; }
.champion-use-case p { margin: 8px 0 0; color: #e2e2e2; font-size: .76rem; line-height: 1.55; }
.champion-more-use-cases { border: 1px solid var(--line-strong); border-top: 0; background: var(--surface); }
.champion-more-use-cases summary { padding: 11px 36px 11px 14px; position: relative; display: flex; justify-content: space-between; gap: 10px; cursor: pointer; list-style: none; font-size: .78rem; font-weight: 700; }
.champion-more-use-cases summary::-webkit-details-marker { display: none; }
.champion-more-use-cases summary::after { content: "+"; position: absolute; right: 14px; font-size: 1rem; font-weight: 400; }
.champion-more-use-cases[open] summary::after { content: "−"; }
.champion-more-use-cases summary small { margin-right: 8px; color: var(--muted); font-size: .68rem; font-weight: 400; white-space: nowrap; }
.champion-use-case-list { border-top: 1px solid var(--line); }
.champion-use-case-list article { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.champion-use-case-list article:last-child { border-bottom: 0; }
.champion-use-case-list strong { display: block; font-size: .78rem; }
.champion-use-case-list p { margin: 4px 0 0; color: var(--muted); font-size: .72rem; }
.champion-intro { margin: 0; padding: 14px 0; color: var(--muted); font-size: .76rem; }
.champion-list { border: 1px solid var(--line-strong); }
.champion-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 15px; border-bottom: 1px solid var(--line); background: var(--surface); }
.champion-row:last-child { border-bottom: 0; }
.champion-company strong { display: block; font-size: .84rem; }
.champion-company span, .champion-detail span { display: block; margin-top: 2px; color: var(--muted); font-size: .7rem; }
.champion-detail strong { display: block; font-size: .77rem; }
.champion-outcome { font-size: .78rem; font-weight: 700; }
.champion-action { width: 100%; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; text-decoration: none; }

.build-brief { margin: 30px 0; border: 1px solid var(--line-strong); }
.brief-header { padding: 22px 25px; display: flex; justify-content: space-between; align-items: start; gap: 20px; border-bottom: 1px solid var(--ink); }
.brief-header h2 { margin: 0; font-size: 1.4rem; font-weight: 500; }
.brief-header h2 span { color: var(--muted); font-family: monospace; font-size: .78rem; font-weight: 400; }
.draft-status { padding: 4px 7px; border: 1px solid var(--line-strong); color: var(--muted); font-size: .7rem; }
.brief-grid { display: grid; grid-template-columns: 1.15fr .85fr; }
.brief-grid > section { padding: 23px 25px; border-bottom: 1px solid var(--line); }
.brief-grid > section + section { border-left: 1px solid var(--line); }
.build-brief h3 { margin: 0 0 13px; font-size: .88rem; }
.definition-list { margin: 19px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.definition-list dt, .funding-list dt { color: var(--muted); font-size: .72rem; }
.definition-list dd { margin: 2px 0 0; font-size: .82rem; font-weight: 650; }
.funding-list { margin: 0; }
.funding-list div { padding: 6px 0; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.funding-list dd { margin: 0; font-size: .82rem; font-variant-numeric: tabular-nums; }
.funding-list .total { margin-top: 4px; padding-top: 10px; border-bottom: 0; font-weight: 700; }
.scenario-note { margin: 12px 0 0; color: var(--muted); font-size: .7rem; }
.deliverables, .milestones, .brief-champions { padding: 23px 25px; border-bottom: 1px solid var(--line); }
.deliverable-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.deliverable-grid div { min-height: 132px; padding: 15px; border-right: 1px solid var(--line); }
.deliverable-grid div:last-child { border: 0; }
.deliverable-grid strong { display: block; margin-bottom: 6px; font-size: .82rem; }
.deliverable-grid span { color: var(--muted); font-size: .74rem; }
.brief-champions { display: grid; grid-template-columns: .65fr 1.35fr; gap: 26px; background: var(--subtle); }
.brief-champions p { margin: 0; color: var(--muted); font-size: .74rem; }
.brief-champion-list { border-left: 1px solid var(--ink); }
.brief-champion { padding: 8px 0 8px 15px; border-bottom: 1px solid var(--line); }
.brief-champion:last-child { border-bottom: 0; }
.brief-champion strong { display: block; font-size: .8rem; }
.brief-champion span { color: var(--muted); font-size: .72rem; }
table { width: 100%; border-collapse: collapse; }
td { padding: 10px; border-bottom: 1px solid var(--line); font-size: .78rem; }
td:last-child { font-weight: 700; white-space: nowrap; }
.brief-actions { min-height: 72px; padding: 14px 25px; display: flex; align-items: center; gap: 9px; background: var(--subtle); }
.brief-actions .primary-button { margin: 0; }
#action-message { margin-left: 8px; font-size: .76rem; font-weight: 650; }

footer { padding: 4px 0 34px; display: flex; justify-content: space-between; gap: 30px; color: var(--muted); font-size: .72rem; }
footer p { margin: 0; }

@media (max-width: 1180px) {
  .application-layout { grid-template-columns: minmax(280px, .8fr) minmax(0, 1.5fr); }
  .champions-panel { grid-column: 1 / -1; margin-top: 24px; margin-left: 0; }
  .champion-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .champion-row { border-bottom: 0; }
  .champion-row + .champion-row { border-left: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .page-heading { grid-template-columns: 1fr; gap: 24px; }.registry-summary { min-width: 0; }
  .application-layout { grid-template-columns: 1fr; }.search-panel { border-right: 1px solid var(--line-strong); border-bottom: 0; }
  .champions-panel { grid-column: auto; }
  .brief-grid { grid-template-columns: 1fr; }.brief-grid > section + section { border-left: 0; }
  .deliverable-grid { grid-template-columns: repeat(2, 1fr); }.deliverable-grid div:nth-child(2) { border-right: 0; }.deliverable-grid div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .brief-champions { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .service-header { padding: 12px 18px; }.prototype-label { display: none; }
  main { width: min(100% - 28px, 1200px); }.registry-summary { grid-template-columns: 1fr; }.registry-summary div { border-right: 0; border-bottom: 1px solid var(--line); }
  .search-panel, .results-panel { padding: 19px 15px; }.requirement-review dl, .definition-list { grid-template-columns: 1fr; }
  .build-route { align-items: stretch; flex-direction: column; }.deliverable-grid { grid-template-columns: 1fr; }.deliverable-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .champion-list { grid-template-columns: 1fr; }.champion-row + .champion-row { border-top: 1px solid var(--line); border-left: 0; }
  .brief-grid > section, .deliverables, .milestones, .brief-champions { padding: 19px 16px; }.milestones { overflow-x: auto; }.brief-actions { align-items: stretch; flex-direction: column; }
  footer { flex-direction: column; }
}