@import url("/assets/application-6dc0ec44.css");

html {
  font-size: 17px;
}

body {
  background: #eaf3ff;
  color: #0f1f3d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.62;
}

a {
  color: #0b63ce;
}

a:hover {
  color: #084aa0;
}

#wrapper {
  background: linear-gradient(180deg, #d9ecff 0, #eff7ff 16rem, #f7fbff 100%);
  min-height: 100vh;
}

#top-menu {
  background: #073b86;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #eaf3ff;
  font-size: 0.9rem;
  min-height: 2.25rem;
  padding: 0.35rem 1.35rem;
}

#top-menu a,
#top-menu a:hover {
  color: #ffffff;
}

#header {
  background: #0b63ce;
  border: 0;
  color: #ffffff;
  min-height: 5.4rem;
  padding: 1.15rem 1.5rem 0;
}

#header h1 {
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}

#quick-search {
  margin-top: 0.15rem;
}

#quick-search input {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  font-size: 0.92rem;
  height: 1.65rem;
  line-height: 1.2;
  min-height: 1.65rem;
  padding: 0.18rem 0.6rem;
}

#main-menu {
  left: 1.35rem;
}

#main-menu li a {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 6px 6px 0 0;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 600;
  margin-right: 0.2rem;
  padding: 0.48rem 0.78rem;
}

#main-menu li a:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
  text-decoration: none;
}

#main-menu li a.selected,
#main-menu li a.selected:hover {
  background: #ffffff;
  color: #0b4fb3;
}

#main {
  background: transparent;
  margin: 0;
  padding: 1.25rem;
}

#content {
  background: #ffffff;
  border: 1px solid #b7d7ff;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(7, 59, 134, 0.11);
  padding: 1.35rem 1.55rem;
}

#sidebar {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #cce3ff;
  border-radius: 10px;
  color: #173765;
  font-size: 0.95rem;
  padding: 1rem;
}

#sidebar h3 {
  color: #0b4fb3;
}

h2,
h3,
h4 {
  border-bottom-color: #cce3ff;
  color: #0b336f;
  line-height: 1.35;
}

h2 {
  font-size: 1.48rem;
}

h3 {
  font-size: 1.2rem;
}

p,
li,
td,
th,
label {
  font-size: 1rem;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  background: #ffffff;
  border: 1px solid #8bbcf4;
  border-radius: 6px;
  box-sizing: border-box;
  color: #0f1f3d;
  font-size: 1rem;
  height: auto;
  line-height: 1.45;
  min-height: 2.35rem;
  padding: 0.45rem 0.55rem;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
  border-color: #0b63ce;
  box-shadow: 0 0 0 3px rgba(11, 99, 206, 0.16);
  outline: none;
}

textarea {
  height: auto;
  min-height: 12.5rem;
}

#issue_subject,
input#issue_subject,
#issue_description {
  max-width: min(100%, 58rem);
  width: 100%;
}

form label,
.tabular label {
  color: #12366d;
  font-weight: 650;
}

.tabular p {
  min-height: 2.45rem;
  padding: 0.38rem 0;
}

input[type="submit"],
button {
  border-radius: 6px;
  font-size: 0.98rem;
  min-height: 2.2rem;
  padding: 0.42rem 0.82rem;
}

input[type="submit"] {
  background: #0b63ce;
  border: 1px solid #0b63ce;
  color: #ffffff;
  cursor: pointer;
  font-weight: 650;
}

input[type="submit"]:hover {
  background: #084fa8;
  border-color: #084fa8;
}

input[type="file"] {
  color: #12366d;
  font-size: 0.95rem;
}

input[type="file"]::file-selector-button {
  background: #f2f8ff;
  border: 1px solid #8bbcf4;
  border-radius: 6px;
  color: #0b4fb3;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  margin-right: 0.45rem;
  padding: 0.35rem 0.65rem;
}

input[type="file"]::file-selector-button:hover {
  background: #e3f0ff;
  border-color: #0b63ce;
}

.jstElements button {
  border-radius: 4px;
  font-size: 10px;
  height: 24px;
  line-height: 1;
  min-height: 24px;
  padding: 4px;
  width: 24px;
}

.jstElements button span {
  display: none;
}

a.icon-add,
a.icon-edit,
a.icon-save,
a.icon-copy {
  border-radius: 5px;
  padding: 0.18rem 0.3rem;
}

table.list {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.98rem;
  overflow: hidden;
}

table.list thead th {
  background: #e6f2ff;
  border-bottom: 1px solid #a8cefb;
  color: #174275;
  font-size: 0.9rem;
  padding: 0.6rem 0.68rem;
}

table.list tbody tr {
  background: #ffffff;
}

table.list tbody tr:nth-child(even) {
  background: #f5faff;
}

table.list tbody tr:hover {
  background: #e8f3ff;
}

table.list td {
  border-bottom: 1px solid #d4e8ff;
  color: #13294b;
  padding: 0.68rem;
  vertical-align: top;
}

table.list td.subject a {
  color: #073b86;
  font-weight: 700;
}

.issue {
  line-height: 1.62;
}

.issue .subject h3 {
  color: #072f6d;
  font-size: 1.36rem;
  line-height: 1.35;
}

.attributes {
  background: #f2f8ff;
  border: 1px solid #cce3ff;
  border-radius: 8px;
  font-size: 0.98rem;
  padding: 0.75rem;
}

.journal {
  border-top: 1px solid #cce3ff;
  padding: 0.95rem 0;
}

.journal .wiki {
  font-size: 1rem;
}

.wiki {
  line-height: 1.72;
  max-width: 72rem;
}

.wiki pre,
pre {
  background: #082f64;
  border: 0;
  border-radius: 7px;
  color: #f4f9ff;
  font-size: 0.92rem;
  line-height: 1.55;
  padding: 0.9rem;
}

.flash {
  border-radius: 7px;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
}

.nodata,
.warning,
.errorExplanation,
#errorExplanation {
  border-radius: 7px;
}

.badge,
.status,
.priority,
td.status,
td.priority {
  border-radius: 999px;
  line-height: 1.2;
}

td.status,
td.priority {
  color: #12366d;
  font-weight: 650;
}

tr.priority-highest td.priority,
tr.priority-high2 td.priority,
tr.priority-high3 td.priority {
  color: #b42318;
}

#footer {
  background: transparent;
  border: 0;
  color: #42658f;
  padding: 1rem;
}

body.project-adx-project.controller-projects.action-show .members.box {
  display: none;
}

body.project-adx-project.controller-projects.action-show .splitcontentright {
  display: none;
}

body.project-adx-project.controller-projects.action-show .splitcontentleft {
  float: none;
  width: 100%;
}

form#issue-form p:has(#issue_assigned_to_id) {
  display: none;
}

body.controller-my.action-account #sidebar {
  background: #f1f7ff;
  border-color: #0b63ce;
  box-shadow: 0 8px 22px rgba(11, 99, 206, 0.14);
}

body.controller-my.action-account #sidebar h4 {
  background: #dcecff;
  border: 1px solid #9ac7ff;
  border-radius: 7px;
  color: #073b86;
  margin: 1rem 0 0.55rem;
  padding: 0.5rem 0.65rem;
}

body.controller-my.action-account .api-key-actions {
  align-items: center;
  background: #ffffff;
  border: 2px solid #0b63ce;
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  padding: 0.65rem;
}

body.controller-my.action-account .api-key-actions::before {
  color: #073b86;
  content: "API访问键";
  font-weight: 750;
  margin-right: auto;
}

body.controller-my.action-account .api-key-actions a:first-child {
  background: #0b63ce;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  text-decoration: none;
}

body.controller-my.action-account .api-key-actions a:first-child:hover {
  background: #084fa8;
  color: #ffffff;
}

body.controller-my.action-account #api-access-key {
  background: #062f6f;
  border-radius: 7px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 0.65rem;
  white-space: pre-wrap;
  word-break: break-all;
}

@media (max-width: 900px) {
  html {
    font-size: 16px;
  }

  #header {
    padding: 1rem 0.9rem 0;
  }

  #main {
    padding: 0.75rem;
  }

  #content {
    border-radius: 8px;
    padding: 1rem;
  }

  #sidebar {
    margin-top: 0.75rem;
  }
}
