* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  background: #d7d7d7;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
}

.fc-shell {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.fc-banner {
  background: #000091;
  padding: 11px 16px;
}

.fc-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.fc-help {
  display: block;
  text-align: center;
  margin: 16px 0 10px;
  color: #0063cb;
  font-size: 15px;
  text-decoration: none;
}

.fc-help:hover { text-decoration: underline; }

.fc-or {
  position: relative;
  text-align: center;
  margin: 8px 18px 18px;
  color: #555;
  font-size: 15px;
}

.fc-or::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  border-top: 1px solid #c8c8c8;
}

.fc-or span {
  position: relative;
  background: #fff;
  padding: 0 10px;
}

.fc-card {
  padding: 4px 16px 22px;
  background: #fff;
}

.required-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: #4a4a4a;
  font-size: 12px;
  margin-bottom: 12px;
  white-space: nowrap;
}

.info-trigger {
  cursor: pointer;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
}

[data-dead] {
  cursor: pointer;
}

.req-tri {
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 9px solid #e25b7a;
}

.field {
  position: relative;
  display: block;
  margin: 0 0 14px;
  background: #f2f2f2;
  border: 1px solid #cfcfcf;
  min-height: 58px;
  padding: 18px 12px 6px;
}

.field.focus {
  background: #fff;
  border: 1px solid #0a7f7a;
}

.field .float {
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 12px;
  color: #0a7f7a;
}

.field .float.muted { color: #777; }

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  padding: 8px 0 2px;
}

.corner {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: #e25b7a transparent transparent transparent;
}

.error {
  min-height: 16px;
  margin: 0 0 10px;
  color: #b42323;
  font-size: 13px;
}

.actions {
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 10px;
  align-items: stretch;
}

.action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 10px;
}

.btn.create {
  background: #417dc4;
  align-self: stretch;
}

.btn.cancel { background: #1d4b8f; }
.btn.valid { background: #2b8a3e; }

.plus {
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #fff;
  font-size: 12px;
}

.fc-info {
  background: #163a6b;
  color: #fff;
  padding: 18px 16px 28px;
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.fc-info > p { margin: 0 0 12px; }

.plain-panel,
.plain-panel * {
  background: #fff !important;
  color: #000 !important;
  font-family: Times, "Times New Roman", serif !important;
}

.plain-panel {
  padding: 10px;
}

.plain-panel h1,
.plain-panel h2,
.plain-panel h3 {
  font-weight: bold;
}

.fc-footer {
  background: #3a3a3a;
  color: #fff;
  padding: 14px 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
}

.fc-footer .links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fc-footer a {
  color: #fff;
  text-decoration: none;
}

.fc-footer a:hover { text-decoration: underline; }

.version { white-space: nowrap; }
