*,
*::before,
*::after {
  box-sizing: border-box;
}

:focus {
  outline: none;
}

html,
body {
  font-size: 18px;
}

body {
  background: #f4f7f7;
  color: #202124;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
  line-height: 1.6;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  text-rendering: auto;
  counter-reset: number;
}

.summary {
  display: none;
  text-align: center;
  line-height: 1.5;
}

.summary--ready {
  display: block;
}

.summary:before {
  content: 'All good!';
  display: block;
  padding: 0.75em;
  color: #fff;
  background-color: #4caf50;
  font-size: 3.5rem;
  line-height: 1;
}

.summary--warning:before {
  content: 'Warning!';
  background-color: #ff9800;
}

.summary--error:before {
  content: 'Error!';
  background-color: #f44336;
}

.app {
  max-width: 780px;
  margin: 0 auto;
  padding: 30px 40px 90px;
}

.summary .app {
  padding: 0 20px 60px;
}

.entry {
  margin: 0.33rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

[hidden] {
  display: none !important;
}

p, table {
  margin: 2rem 0 0.5rem;
  color: #404244;
}

h1 {
  font-weight: 600;
  font-size: 3rem;
  line-height: 1;
}

h1 span {
  font-weight: 400;
  color: #4b4b4e;
}

h2 {
  font-weight: 600;
  font-size: 2.2rem;
  line-height: 1;
  margin: 2.5rem 0 2rem;
}

h3 {
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
  margin: 2rem 0 0.75rem;
}

.iframe-container {
  display: block;
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 250px;
  margin: 2rem auto;
  border-radius: 5px;
  overflow: hidden;
}

.iframe-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  background-color: hsl(180, 15%, 75%);
}

.iframe-container:hover .iframe-mask {
  background-color: hsl(180, 15%, 80%);
}

.iframe-container iframe {
  width: 200%;
  height: 200%;
  border: 0;
  transform: scale(0.5);
  transform-origin: 0 0;
}

pre {
  font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
  font-size: 0.8em;
  margin: 0;
}

pre.wrap {
  white-space: pre-wrap;
}

a {
  color: #4285f4;
  text-decoration: none;
  text-decoration-skip: ink;
}

a[download] {
  font-size: 0.85em;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.button {
  color: #fff;
  background: #1a73e8;
  display: inline-block;
  position: relative;
  height: auto;
  padding: 0.8em 2.4em;
  margin: 0 0.5rem;
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1.2;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 0;
  border-radius: 5px;
  text-decoration: none;
}

.button:active,
.button:focus,
.button:hover {
  color: #fff;
  background: #3181ea;
  outline: none;
  text-decoration: none;
}

.button[disabled],
.button[disabled]:active,
.button[disabled]:focus,
.button[disabled]:hover {
  opacity: 0.33;
  background: #1a73e8;
  cursor: not-allowed;
}

.button.secondary {
  color: #4285f4;
  background: transparent;
  padding: 0.6em;
  font-size: 1.15rem;
}

.button.secondary:active,
.button.secondary:focus,
.button.secondary:hover {
  color: #4285f4;
  background: transparent;
  text-decoration: underline;
}

.number {
  display: inline-block;
  width: 2em;
  height: 2em;
  line-height: 2em;
  text-align: center;
  font-weight: 600;
  font-size: 1.2em;
  margin-right: 0.5em;
  color: #202124;
  border-right: 3px solid currentColor;
}

.number::before {
  counter-increment: number;
  content: counter(number);
}

.step {
  margin: 0 auto;
  max-width: 420px;
  text-align: center;
}
.step-warning {
  margin : 1.25em 0;
  padding-left: 4em;
  max-width: 620px;
  color: #ff9800;
}

.document {
  display: block;
  color: #4b4b4e;
  background-color: #fff;
  font-size: 1.1rem;
  border: 2px solid currentColor;
  border-radius: 5px;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  overflow: hidden;
  white-space: break-spaces;
  text-overflow: ellipsis;
}

.document--chooser {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #1a73e8;
  border: 2px dashed currentColor;
  opacity: 0.8;
  text-align: justify;
}

.document--chooser:hover {
  opacity: 1;
}

input[type=file] {
  position: fixed;
  top: -999px;
}

.notice {
  margin: 1.75em 0;
  background: #f5f0de;
  font-size: 0.9rem;
  border-radius: 5px;
  padding: 1em 2em;
  line-height: 1.5;
}

table {
  border-collapse: collapse;
}

.row {
  font-size: 0.9rem;
  vertical-align: initial;
}

.row td {
  padding: 0.4rem 0.5rem;
}

.row__name {
  font-weight: 600;
  text-align: right;
  min-width: 200px;
}

.row__value {
  color: #4b4b4e;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

.row__value pre {
  max-height: 500px;
  max-width: 500px;
  overflow: auto;
}

.green {
  color: #4caf50;
}

.orange {
  color: #ff9800;
}

.red {
  color: #f44336;
}

.blue {
  color: #1f6feb;
}


.image {
  background-color: #fff;
  padding: 5px;
  border-radius: 5px;
  display: inline-block;
}

.footer {
  color: #7b7e88;
  padding: 1em 0 3em;
  font-size: 0.9rem;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 50vh 0 50vh #fff;
}

.text-accent {
  background: linear-gradient(135deg, #6b2cff 0%, #926afe 100%);
  background-image: linear-gradient(135deg, rgb(107, 44, 255) 0%, rgb(146, 106, 254) 100%);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}

:root {
  --picto-size: 24px;
  --picto-error:   #d92d20;
  --picto-warning: #dc8a00;
  --picto-success: #12915a;
  --picto-info:    #1f6feb;
}

.picto {
  display: inline-block;
  width: var(--picto-size);
  height: var(--picto-size);
  flex-shrink: 0;
  vertical-align: middle;
  background-color: var(--picto-color, currentColor);
  -webkit-mask: var(--picto-svg) center / contain no-repeat;
  mask: var(--picto-svg) center / contain no-repeat;
  margin: 1px 5px;
}

.picto--error {
  --picto-color: var(--picto-error);
  --picto-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M15 9l-6 6M9 9l6 6'/%3E%3C/svg%3E");
}
.picto--warning {
  --picto-color: var(--picto-warning);
  --picto-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3Cpath d='M12 9v4M12 17h.01'/%3E%3C/svg%3E");
}
.picto--success {
  --picto-color: var(--picto-success);
  --picto-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E");
}
.picto--info {
  --picto-color: var(--picto-info);
  --picto-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 16v-4M12 8h.01'/%3E%3C/svg%3E");
}
.picto--sm { --picto-size: 16px; }
.picto--lg { --picto-size: 32px; }
