* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #eef0ed;
  color: #222;
  font-family: "MS PGothic", "ＭＳ Ｐゴシック", Meiryo, Arial, sans-serif;
  font-size: 12px;
}

body {
  min-width: 1080px;
}

a {
  color: #0757a6;
  text-decoration: underline;
}

a:hover {
  color: #c00000;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: default;
  opacity: .55;
}

.login-page {
  width: 960px;
  margin: 14px auto 40px;
  border: 1px solid #76818c;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.legacy-browser-bar {
  display: flex;
  justify-content: space-between;
  padding: 5px 8px;
  border-bottom: 1px solid #808080;
  background: linear-gradient(#f9f9f9, #dcdcdc);
  color: #333;
}

.legacy-browser-links {
  color: #666;
}

.login-header,
.brand-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.login-header {
  min-height: 86px;
  padding: 12px 18px;
  border-bottom: 4px solid #1d466d;
  background: linear-gradient(90deg, #f9fbfc 0%, #edf3f7 72%, #d8e4eb 100%);
}

.login-mark,
.brand-mark {
  display: grid;
  place-items: center;
  color: #fff;
  background: #243f59;
  border: 2px solid #fff;
  outline: 1px solid #243f59;
  font-weight: bold;
  letter-spacing: -1px;
}

.login-mark {
  width: 54px;
  height: 54px;
  font-size: 19px;
}

.login-header h1 {
  margin: 0;
  color: #1f3549;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

.login-subtitle,
.brand-sub {
  color: #687887;
  font-family: Arial, sans-serif;
  letter-spacing: .5px;
}

.login-notice {
  margin: 10px 16px;
  padding: 8px 10px;
  border: 1px solid #e1c874;
  background: #fffbe3;
  line-height: 1.7;
}

.login-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 12px;
  padding: 4px 16px 16px;
}

.login-footer {
  padding: 8px 16px;
  border-top: 1px solid #aaa;
  background: #f1f1f1;
  color: #666;
  text-align: right;
  font-size: 11px;
}

.legacy-panel {
  border: 1px solid #9ca6ae;
  background: #fff;
  margin-bottom: 10px;
}

.panel-title {
  padding: 5px 7px;
  border-bottom: 1px solid #98a4ae;
  background: linear-gradient(#f5f7f8, #d9dfe3);
  color: #24384b;
  font-weight: bold;
}

.panel-title-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.blue-title {
  background: linear-gradient(#eaf4fb, #c6ddeb);
  color: #143e63;
}

.yellow-title {
  background: linear-gradient(#fffde9, #f3e7aa);
  color: #594f18;
}

.red-title {
  background: linear-gradient(#fff1f1, #edc7c7);
  color: #771515;
}

.legacy-form {
  padding: 10px;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
}

.form-table th,
.form-table td {
  padding: 8px;
  border: 1px solid #b7b7b7;
}

.form-table th {
  width: 155px;
  background: #edf0f2;
  text-align: right;
  white-space: nowrap;
}

.form-table input[type="password"] {
  width: 100%;
  height: 24px;
  padding: 2px 4px;
  border: 1px solid #777;
  background: #fffff5;
}

.button-row,
.table-toolbar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0 2px;
}

.legacy-button,
.tiny-button {
  border: 1px solid #6f7881;
  border-radius: 0;
  background: linear-gradient(#fff, #d9d9d9);
  color: #111;
  box-shadow: inset 1px 1px 0 #fff;
}

.legacy-button {
  min-height: 25px;
  padding: 3px 10px;
}

.tiny-button {
  margin: 1px;
  padding: 1px 5px;
  min-height: 20px;
  font-size: 11px;
  white-space: nowrap;
}

.legacy-button:hover,
.tiny-button:hover {
  background: linear-gradient(#fff, #cbd6df);
}

.legacy-button.primary {
  border-color: #245383;
  background: linear-gradient(#4f84b5, #2f6391);
  color: #fff;
  font-weight: bold;
}

.legacy-button.danger {
  border-color: #8c3131;
  background: linear-gradient(#fff8f8, #e6c2c2);
  color: #7b1010;
}

.form-error {
  min-height: 18px;
  padding-top: 7px;
  color: #ad0000;
  font-weight: bold;
}

.small-note {
  padding: 7px;
  color: #555;
  font-size: 11px;
  line-height: 1.6;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  background: #f4f5f3;
}

.system-header {
  border-bottom: 1px solid #52697b;
  background: #fff;
}

.utility-line {
  display: flex;
  justify-content: space-between;
  padding: 3px 9px;
  border-bottom: 1px solid #c7c7c7;
  background: #ededed;
  color: #555;
  font-size: 11px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0757a6;
  text-decoration: underline;
}

.brand-line {
  height: 67px;
  padding: 8px 12px;
  background: linear-gradient(90deg, #fefefe 0%, #f3f7f9 60%, #dbe7ed 100%);
}

.brand-mark {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.brand-copy {
  flex: 1;
}

.brand-title {
  color: #23394d;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: .5px;
}

.operator-box {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 210px;
  padding: 5px 8px;
  border: 1px solid #aeb6bd;
  background: #fff;
  font-size: 11px;
}

.operator-box img {
  width: 32px;
  height: 32px;
  border: 1px solid #777;
}

.top-nav {
  display: flex;
  padding-left: 8px;
  border-top: 1px solid #8194a3;
  border-bottom: 1px solid #354c5e;
  background: linear-gradient(#657b8d, #41596d);
}

.top-nav a {
  min-width: 120px;
  padding: 7px 12px 6px;
  border-right: 1px solid #8698a6;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}

.top-nav a:hover,
.top-nav a.active {
  background: linear-gradient(#fbfbfb, #d9e1e6);
  color: #1f3f59;
}

.system-strip {
  display: flex;
  gap: 22px;
  min-height: 24px;
  padding: 5px 10px;
  border-top: 1px solid #fff;
  background: #e9ecee;
  color: #4c4c4c;
  font-size: 11px;
}

#globalProgress.active {
  color: #8b3d00;
  font-weight: bold;
}

.notification-area {
  position: fixed;
  z-index: 20;
  top: 9px;
  left: 50%;
  width: 520px;
  transform: translateX(-50%);
}

.notice {
  padding: 8px 10px;
  border: 1px solid #6d7882;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
  background: #fff;
  font-weight: bold;
}

.notice-success {
  border-color: #4f793f;
  background: #effbea;
}

.notice-warning {
  border-color: #ae8b2e;
  background: #fff9d9;
}

.notice-error {
  border-color: #9e3232;
  background: #fff0f0;
}

.workspace {
  display: grid;
  grid-template-columns: 168px minmax(690px, 1fr) 190px;
  gap: 8px;
  padding: 8px;
  align-items: start;
}

.side-menu {
  border: 1px solid #8f9aa3;
  background: #fff;
}

.side-title {
  padding: 6px 7px;
  border-bottom: 1px solid #667d90;
  background: #425f78;
  color: #fff;
  font-weight: bold;
}

.side-menu > a {
  display: block;
  padding: 5px 7px 5px 14px;
  border-bottom: 1px dotted #b6b6b6;
  background: #fafafa;
  color: #0757a6;
}

.side-menu > a:hover {
  background: #fff8d9;
}

.side-separator {
  padding: 4px 6px;
  border-top: 1px solid #c0c0c0;
  border-bottom: 1px solid #c0c0c0;
  background: #e7eaec;
  color: #444;
  font-weight: bold;
}

.side-help {
  margin: 6px;
  padding: 6px;
  border: 1px solid #d8ca85;
  background: #fffdec;
  line-height: 1.5;
}

.main-content {
  min-width: 0;
}

.right-rail {
  min-width: 0;
}

.mini-panel dl {
  display: grid;
  grid-template-columns: 63px 1fr;
  margin: 0;
  padding: 5px;
  font-size: 11px;
}

.mini-panel dt,
.mini-panel dd {
  margin: 0;
  padding: 3px;
  border-bottom: 1px dotted #ccc;
}

.mini-panel dt {
  color: #666;
}

.system-footer {
  padding: 8px 10px 16px;
  border-top: 1px solid #aaa;
  background: #e8e8e8;
  color: #666;
  text-align: center;
  font-size: 10px;
}

.breadcrumb {
  margin-bottom: 5px;
  padding: 4px 6px;
  border: 1px solid #c0c4c7;
  background: #fff;
  color: #666;
  font-size: 11px;
}

.page-title {
  margin: 0 0 4px;
  padding: 5px 7px;
  border-left: 5px solid #315d80;
  border-bottom: 1px solid #8f9eaa;
  background: #eef2f5;
  color: #23394c;
  font-size: 16px;
}

.page-description {
  margin-bottom: 8px;
  padding: 5px 8px;
  border: 1px solid #d5d5c1;
  background: #fffef0;
  line-height: 1.5;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(100px, 1fr));
  gap: 5px;
  margin-bottom: 8px;
}

.metric-box {
  border: 1px solid #9ea9b1;
  background: #fff;
}

.metric-label {
  padding: 3px 5px;
  border-bottom: 1px solid #b9c1c6;
  background: #e8edf0;
  color: #465765;
  font-weight: bold;
  font-size: 11px;
}

.metric-value {
  padding: 7px 5px;
  color: #173d5c;
  text-align: right;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: bold;
}

.metric-value small {
  margin-left: 3px;
  color: #555;
  font-family: inherit;
  font-size: 10px;
  font-weight: normal;
}

.dashboard-columns {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 8px;
}

.menu-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 6px;
}

.menu-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 6px;
  align-items: stretch;
  border: 1px solid #9ba8b2;
  background: #f9fbfc;
  color: #143f64;
  text-decoration: none;
}

.menu-card:hover {
  background: #fffde8;
}

.menu-card > span:last-child {
  padding: 5px 4px;
}

.menu-card b,
.menu-card small {
  display: block;
}

.menu-card small {
  margin-top: 2px;
  color: #555;
  line-height: 1.4;
}

.menu-code {
  display: grid;
  place-items: center;
  border-right: 1px solid #9ba8b2;
  background: #e5ebef;
  color: #475d6f;
  font-weight: bold;
}

.notice-board {
  margin-top: 2px;
}

.notice-table {
  width: 100%;
  border-collapse: collapse;
}

.notice-table th,
.notice-table td {
  padding: 5px 7px;
  border-bottom: 1px dotted #bbb;
}

.notice-table th {
  width: 90px;
  background: #fafafa;
  color: #555;
  text-align: left;
}

.new-label {
  margin-right: 4px;
  padding: 1px 3px;
  background: #c00000;
  color: #fff;
  font-size: 9px;
  font-weight: bold;
}

.search-panel .panel-title {
  background: linear-gradient(#f6f6ed, #dfdfcf);
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 7px 14px;
  padding: 7px;
}

.filter-grid label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.filter-grid input,
.filter-grid select {
  height: 23px;
  border: 1px solid #777;
  background: #fff;
}

.filter-grid input {
  min-width: 220px;
  padding: 2px 4px;
}

.action-filter-grid input {
  min-width: 280px;
}

.table-toolbar {
  padding: 5px 6px;
  border-bottom: 1px solid #c8c8c8;
  background: #f7f7f7;
}

.table-scroll,
.matrix-scroll {
  width: 100%;
  overflow: auto;
}

.matrix-scroll {
  max-height: 620px;
}

.dense-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 11px;
}

.dense-table th,
.dense-table td {
  padding: 3px 5px;
  border: 1px solid #b8bfc4;
  vertical-align: top;
  line-height: 1.35;
}

.dense-table thead th {
  background: linear-gradient(#f5f6f7, #d9dfe3);
  color: #314553;
  text-align: left;
  white-space: nowrap;
}

.dense-table tbody tr:nth-child(even) td,
.dense-table tbody tr:nth-child(even) th {
  background-color: #fafbfb;
}

.dense-table tbody tr:hover td,
.dense-table tbody tr:hover th {
  background-color: #fffce8;
}

.compact-table th,
.compact-table td {
  padding: 4px;
}

.repo-table {
  min-width: 1050px;
}

.action-table {
  min-width: 1130px;
}

.num {
  text-align: right;
  white-space: nowrap;
}

.center {
  text-align: center;
}

.cell-subtext {
  max-width: 330px;
  margin-top: 2px;
  overflow: hidden;
  color: #777;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.empty-cell {
  padding: 16px !important;
  color: #777;
  text-align: center;
}

.muted-row td {
  color: #888;
  background: #f1f1f1 !important;
}

.error-row td {
  background: #fff0f0 !important;
  color: #821c1c;
}

.warning-row td {
  background: #fffbe4 !important;
}

.status-badge {
  display: inline-block;
  min-width: 46px;
  padding: 1px 4px;
  border: 1px solid #888;
  text-align: center;
  font-weight: bold;
  white-space: nowrap;
}

.status-success {
  border-color: #4c7a3e;
  background: #e8f6e4;
  color: #24531b;
}

.status-failure {
  border-color: #a33c3c;
  background: #fde7e7;
  color: #8c1212;
}

.status-running {
  border-color: #306d9d;
  background: #e4f1fb;
  color: #174f7a;
}

.status-waiting {
  border-color: #9b7b28;
  background: #fff6ce;
  color: #66510f;
}

.status-cancelled,
.status-neutral {
  border-color: #777;
  background: #ececec;
  color: #555;
}

.status-warning {
  border-color: #b0712a;
  background: #fff0d6;
  color: #7c4200;
}

.action-cell {
  min-width: 146px;
  white-space: nowrap;
}

.mono {
  font-family: Consolas, "Courier New", monospace;
}

.small-text {
  font-size: 10px;
}

.matrix-table {
  width: max-content;
  min-width: 100%;
}

.matrix-table th,
.matrix-table td {
  min-width: 38px;
  text-align: center;
}

.matrix-table .sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  min-width: 180px;
  max-width: 240px;
  background: #f2f4f5 !important;
  text-align: left;
}

.matrix-table thead .sticky-col {
  z-index: 4;
}

.vertical-head {
  height: 116px;
  vertical-align: bottom !important;
}

.vertical-head span {
  display: inline-block;
  width: 24px;
  transform: rotate(-60deg) translate(4px, 0);
  transform-origin: left bottom;
  white-space: nowrap;
}

.matrix-yes {
  background: #e8f6e4 !important;
  color: #266219;
  font-weight: bold;
}

.matrix-no {
  color: #aaa;
}

.permission-unknown {
  background: #fff2d3 !important;
  color: #8b5d00;
  font-weight: bold;
}

@media (max-width: 1180px) {
  .right-rail {
    display: none;
  }

  .workspace {
    grid-template-columns: 168px minmax(760px, 1fr);
  }
}

.matrix-overview {
  min-width: 1180px;
}

body {
  min-width: 1320px;
  font-size: 11px;
  background: #e6e9e7;
}

.dense-shell .system-header {
  box-shadow: 0 1px 0 #fff inset;
}

.dense-brand-line {
  height: 54px;
  padding: 5px 9px;
}

.dense-brand-line .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 13px;
}

.dense-brand-line .brand-title {
  font-size: 17px;
}

.header-kpi {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: baseline;
  gap: 3px;
  min-width: 82px;
  margin-left: 4px;
  padding: 4px 7px;
  border: 1px solid #a7b1b8;
  background: linear-gradient(#fff, #e9ecee);
  color: #4a5965;
}

.header-kpi b {
  color: #163f62;
  font-family: Arial, sans-serif;
  font-size: 18px;
}

.header-kpi small {
  font-size: 9px;
}

.operator-box {
  min-width: 178px;
  padding: 3px 5px;
}

.operator-initials {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #6d7f8c;
  background: #e3e8eb;
  color: #263e50;
  font-weight: bold;
}

.top-nav-dense a {
  min-width: 76px;
  flex: 1;
  padding: 5px 5px 4px;
  font-size: 10px;
}

.system-strip {
  gap: 15px;
  min-height: 20px;
  padding: 3px 8px;
  font-size: 10px;
}

.dense-workspace {
  grid-template-columns: 150px minmax(920px, 1fr) 166px;
  gap: 5px;
  padding: 5px;
}

.side-menu > a {
  padding: 4px 5px 4px 9px;
  font-size: 10px;
}

.side-title,
.side-separator {
  padding: 4px 5px;
  font-size: 10px;
}

.side-help {
  margin: 4px;
  padding: 4px;
  font-size: 10px;
}

.compact-help {
  background: #f4f6f7;
  border-color: #b8c0c5;
}

.mini-panel dl {
  grid-template-columns: 56px 1fr;
  padding: 3px;
  font-size: 10px;
}

.mini-panel dt,
.mini-panel dd {
  padding: 2px 3px;
}

.panel-title {
  padding: 3px 5px;
  font-size: 10px;
}

.legacy-panel {
  margin-bottom: 5px;
}

.breadcrumb {
  margin-bottom: 3px;
  padding: 2px 4px;
  font-size: 10px;
}

.page-title {
  margin-bottom: 3px;
  padding: 3px 5px;
  border-left-width: 4px;
  font-size: 14px;
}

.page-description,
.small-note {
  padding: 4px 5px;
  font-size: 10px;
  line-height: 1.35;
}

.compact-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 4px;
  border: 1px solid #b8c0c5;
  background: #fff;
}

.compact-status-line span {
  padding: 3px 7px;
  border-right: 1px solid #c9cfd3;
  white-space: nowrap;
}

.metric-grid-8 {
  grid-template-columns: repeat(8, minmax(74px, 1fr));
  gap: 3px;
  margin-bottom: 4px;
}

.metric-label {
  padding: 2px 4px;
  font-size: 9px;
}

.metric-value {
  padding: 4px;
  font-size: 18px;
}

.dashboard-triple {
  display: grid;
  grid-template-columns: 1.2fr .9fr .75fr;
  gap: 5px;
}

.dashboard-columns-even {
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.compact-menu-cards {
  gap: 2px;
  padding: 3px;
}

.compact-menu-cards .menu-card {
  grid-template-columns: 30px 1fr;
}

.compact-menu-cards .menu-card > span:last-child {
  padding: 3px;
}

.compact-menu-cards .menu-card small {
  line-height: 1.2;
  font-size: 9px;
}

.filter-grid,
.dense-filter-grid {
  gap: 4px 9px;
  padding: 4px 5px;
}

.filter-grid input,
.filter-grid select,
.inline-entry-form input,
.inline-entry-form select {
  height: 20px;
  font-size: 10px;
}

.filter-grid input {
  min-width: 170px;
}

.action-filter-grid input {
  min-width: 230px;
}

.table-toolbar {
  gap: 3px;
  padding: 3px 4px;
  font-size: 10px;
}

.toolbar-separator {
  width: 1px;
  height: 16px;
  margin: 0 4px;
  background: #aaa;
}

.legacy-button {
  min-height: 21px;
  padding: 2px 7px;
  font-size: 10px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tiny-button {
  min-height: 17px;
  padding: 0 4px;
  font-size: 9px;
}

.tiny-button.danger {
  border-color: #9a5b5b;
  background: linear-gradient(#fff, #ecd7d7);
  color: #751616;
}

.dense-table {
  font-size: 10px;
}

.dense-table th,
.dense-table td {
  padding: 2px 3px;
  line-height: 1.2;
}

.extra-dense-table th,
.extra-dense-table td {
  padding: 1px 3px;
  height: 20px;
}

.tall-table-scroll {
  max-height: 650px;
}

.repo-table {
  min-width: 1320px;
}

.action-table {
  min-width: 1120px;
}

.matrix-overview {
  min-width: 1540px;
}

.matrix-super-dense th,
.matrix-super-dense td {
  white-space: nowrap;
}

.matrix-super-dense .cell-subtext {
  max-width: 145px;
}

.cell-subtext {
  max-width: 260px;
  margin-top: 1px;
  font-size: 9px;
}

.status-badge {
  min-width: 38px;
  padding: 0 3px;
  font-size: 9px;
}

.mini-state {
  display: inline-block;
  min-width: 14px;
  padding: 0 2px;
  border: 1px solid #aaa;
  text-align: center;
  font-size: 9px;
}

.state-ng {
  border-color: #a35b5b;
  background: #f7dfdf;
  color: #7d1111;
}

.state-na {
  background: #eee;
  color: #888;
}

.link-button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0757a6;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.link-button:hover {
  color: #b00000;
}

.inline-entry-form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 4px 10px;
  padding: 4px 5px;
  background: #fafafa;
}

.inline-entry-form label {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.inline-entry-form input,
.inline-entry-form select {
  min-width: 170px;
  border: 1px solid #777;
  background: #fff;
}

.variable-entry-form #variableValue {
  min-width: 280px;
}

.variable-value {
  max-width: 340px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.configuration-columns {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 5px;
}

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.matrix-scroll {
  max-height: 650px;
}

.matrix-table .sticky-col {
  min-width: 150px;
  max-width: 200px;
}

.vertical-head {
  height: 92px;
}

.vertical-head span {
  transform: rotate(-62deg) translate(3px, 0);
}

.legend-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  font-size: 9px;
}

.legend-list span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.legend-list i {
  width: 9px;
  height: 9px;
  border: 1px solid #777;
}

.legend-ok {
  background: #e8f6e4;
}

.legend-warn {
  background: #fff6ce;
}

.legend-ng {
  background: #fde7e7;
}

.legend-na {
  background: #ececec;
}

.record-dialog-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .32);
}

.record-dialog {
  width: min(860px, 92vw);
  max-height: 88vh;
  overflow: hidden;
  border: 2px solid #425b70;
  background: #f6f6f6;
  box-shadow: 4px 5px 0 rgba(0, 0, 0, .2);
}

.record-dialog-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  border-bottom: 1px solid #253b4c;
  background: linear-gradient(#668097, #3d596f);
  color: #fff;
  font-weight: bold;
}

.record-dialog-subtitle {
  padding: 3px 6px;
  border-bottom: 1px solid #abb4ba;
  background: #e5eaed;
  color: #475864;
  font-size: 10px;
}

.record-dialog-body {
  max-height: calc(88vh - 78px);
  overflow: auto;
  padding: 5px;
}

.record-dialog-footer {
  padding: 4px 6px;
  border-top: 1px solid #aaa;
  background: #e5e5e5;
  text-align: right;
}

.dialog-close {
  border: 1px solid #777;
  background: #eee;
  color: #111;
  cursor: pointer;
}

.record-dialog-titlebar .dialog-close {
  width: 20px;
  height: 18px;
  padding: 0;
  border-color: #d0d7dd;
  background: #f2f2f2;
  line-height: 15px;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.detail-table th,
.detail-table td {
  padding: 3px 5px;
  border: 1px solid #aeb6bb;
  vertical-align: top;
}

.detail-table th {
  width: 165px;
  background: #e9edef;
  color: #344b5b;
  text-align: right;
  white-space: nowrap;
}

.detail-section {
  margin-top: 5px;
  border: 1px solid #aeb6bb;
  background: #fff;
}

.detail-section-title {
  padding: 3px 5px;
  border-bottom: 1px solid #aeb6bb;
  background: #e4e9ec;
  font-weight: bold;
}

.guide-page {
  width: 1120px;
  margin: 10px auto 30px;
  padding: 7px;
  border: 1px solid #8d989f;
  background: #f8f8f8;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.guide-wide {
  grid-column: 1 / -1;
}

.login-page-dense {
  width: 1080px;
}

.login-page-dense .login-header {
  min-height: 68px;
  padding: 8px 14px;
}

.login-page-dense .login-mark {
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.login-page-dense .login-header h1 {
  font-size: 21px;
}

.login-header-code {
  margin-left: auto;
  padding: 5px 9px;
  border: 1px solid #9fa9b0;
  background: #fff;
  color: #56636d;
  text-align: right;
  font-size: 10px;
}

.login-header-code b {
  color: #254e70;
  font-size: 14px;
}

.login-grid-dense {
  grid-template-columns: 1.1fr 1fr .62fr;
  gap: 6px;
  padding: 6px 10px 10px;
}

.compact-form-table th,
.compact-form-table td {
  padding: 5px;
}

.login-status-panel .dense-table th {
  width: 90px;
}

.login-footer {
  display: flex;
  justify-content: space-between;
  padding: 5px 10px;
}

@media (max-width: 1500px) {
  .right-rail {
    display: block;
  }

  .dense-workspace {
    grid-template-columns: 145px minmax(900px, 1fr) 158px;
  }
}
.workflow-dispatch-form{display:grid;grid-template-columns:minmax(180px,1.25fr) minmax(180px,1.25fr) minmax(110px,.8fr) minmax(220px,1.6fr) auto;gap:4px;align-items:end;padding:4px}.workflow-dispatch-form label{font-size:10px;font-weight:700}.workflow-dispatch-form input,.workflow-dispatch-form select{width:100%;box-sizing:border-box;height:22px;font-size:10px;padding:1px 3px}.dispatch-inputs{min-width:220px}
.release-entry-form{display:grid;grid-template-columns:minmax(170px,1.25fr) 110px 110px minmax(140px,1fr) minmax(180px,1.5fr) auto auto auto auto;gap:4px;align-items:end;padding:4px}.release-entry-form label{font-size:10px;font-weight:700}.release-entry-form input,.release-entry-form select{width:100%;box-sizing:border-box;height:22px;font-size:10px;padding:1px 3px}.release-entry-form .check-label{display:flex;gap:2px;align-items:center;white-space:nowrap;height:22px}.release-entry-form .check-label input{width:auto;height:auto}.release-body{min-width:180px}
.repository-settings-grid{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(240px,1.6fr) minmax(170px,1fr) 130px 90px repeat(6,auto);gap:4px;align-items:end;padding:4px}.repository-settings-grid label{font-size:10px;font-weight:700}.repository-settings-grid input,.repository-settings-grid select{width:100%;box-sizing:border-box;height:22px;font-size:10px;padding:1px 3px}.repository-settings-grid .check-label{display:flex;align-items:center;gap:2px;white-space:nowrap;height:22px}.repository-settings-grid .check-label input{width:auto;height:auto}.settings-description{grid-column:span 2}.settings-topics{grid-column:span 4}.danger-check{background:#fff1f1;border:1px solid #d8a0a0;padding:0 3px}

html,
body {
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body {
  min-width: 0;
}

#app {
  width: 100vw;
  height: 100vh;
  min-height: 0;
  overflow: auto;
}

.app-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 19px;
  width: 100%;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.system-header {
  min-width: 0;
  min-height: 0;
}

.utility-line,
.brand-line,
.top-nav,
.system-strip {
  min-width: 0;
}

.utility-line > span,
.brand-copy,
.operator-box {
  min-width: 0;
}

.utility-line > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-nav-dense a {
  min-width: 0;
}

.workspace,
.dense-workspace {
  grid-template-columns: 150px minmax(0, 1fr) 166px;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  align-items: stretch;
  padding: 4px;
}

.side-menu,
.right-rail,
.main-content {
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.side-menu,
.right-rail {
  overflow: auto;
  overscroll-behavior: contain;
}

.main-content {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.system-footer {
  height: 19px;
  min-height: 19px;
  padding: 3px 8px;
  overflow: hidden;
  border-top: 1px solid #8d959a;
  background: linear-gradient(#eeeeee, #d8d8d8);
  color: #555;
  text-align: center;
  white-space: nowrap;
  line-height: 12px;
}

.system-strip {
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}

.strip-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: #0757a6;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

.strip-link:hover {
  color: #a00000;
}

.side-menu > a.active {
  background: #fff2b8;
  color: #7a1d00;
  font-weight: bold;
  text-decoration: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  overflow: hidden;
  white-space: nowrap;
}

.breadcrumb a {
  flex: 0 0 auto;
}

.breadcrumb-current {
  min-width: 0;
  overflow: hidden;
  color: #333;
  font-weight: bold;
  text-overflow: ellipsis;
}

.breadcrumb-separator {
  color: #888;
}

.breadcrumb-home-code {
  padding: 0 3px;
  border: 1px solid #9da7ad;
  background: #e8ebed;
  color: #59636a;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.breadcrumb-back {
  min-width: 43px;
  height: 16px;
  padding: 0 5px;
  border: 1px solid #7a858c;
  border-radius: 0;
  background: linear-gradient(#ffffff, #d9dde0);
  box-shadow: inset 1px 1px 0 #fff;
  color: #163f62;
  font-size: 9px;
  line-height: 13px;
}

.breadcrumb-back:hover {
  background: linear-gradient(#fffef0, #d5dde2);
}

:where(
  .table-scroll,
  .matrix-scroll,
  .record-dialog-body,
  .dialog-table-scroll,
  .side-menu,
  .right-rail,
  .main-content,
  .menu-cards,
  .standalone-scroll,
  .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
  #app
) {
  scrollbar-width: auto;
  scrollbar-color: #87939a #d9dcde;
  scrollbar-gutter: stable;
}

@supports selector(::-webkit-scrollbar) {
  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  ) {
    scrollbar-color: auto;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  )::-webkit-scrollbar {
    width: 15px;
    height: 15px;
    background: #d9dcde;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  )::-webkit-scrollbar-track {
    border: 1px solid #91999e;
    background-color: #dedfe0;
    background-image:
      linear-gradient(45deg, #c6c9cb 25%, transparent 25%),
      linear-gradient(-45deg, #c6c9cb 25%, transparent 25%),
      linear-gradient(45deg, transparent 75%, #c6c9cb 75%),
      linear-gradient(-45deg, transparent 75%, #c6c9cb 75%);
    background-position: 0 0, 0 2px, 2px -2px, -2px 0;
    background-size: 4px 4px;
    box-shadow: inset 1px 1px 0 #f7f7f7;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  )::-webkit-scrollbar-thumb {
    min-width: 28px;
    min-height: 28px;
    border: 1px solid #606a70;
    background: linear-gradient(135deg, #eef0f1 0%, #bdc4c8 48%, #909aa0 100%);
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #6e787e;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  )::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffffff 0%, #cdd2d5 48%, #7e8990 100%);
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  )::-webkit-scrollbar-thumb:active {
    background: #a7b0b5;
    box-shadow: inset 1px 1px 0 #68737a, inset -1px -1px 0 #f2f3f4;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .main-content,
    .standalone-scroll,
    #app
  )::-webkit-scrollbar-corner {
    border: 1px solid #91999e;
    background: #cbd0d3;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    .main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel,
    #app
  )::-webkit-scrollbar-button {
    width: 15px;
    height: 15px;
    border: 1px solid #70787d;
    background-color: #d8dcde;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #8c9498;
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    #app
  )::-webkit-scrollbar-button:vertical:decrement {
    background-image: linear-gradient(135deg, transparent 47%, #333f46 48% 57%, transparent 58%), linear-gradient(225deg, transparent 47%, #333f46 48% 57%, transparent 58%);
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .side-menu,
    .right-rail,
    .main-content,
    .menu-cards,
    .standalone-scroll,
    #app
  )::-webkit-scrollbar-button:vertical:increment {
    background-image: linear-gradient(45deg, transparent 47%, #333f46 48% 57%, transparent 58%), linear-gradient(315deg, transparent 47%, #333f46 48% 57%, transparent 58%);
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .main-content,
    .standalone-scroll,
    #app
  )::-webkit-scrollbar-button:horizontal:decrement {
    background-image: linear-gradient(45deg, transparent 47%, #333f46 48% 57%, transparent 58%), linear-gradient(135deg, transparent 47%, #333f46 48% 57%, transparent 58%);
  }

  :where(
    .table-scroll,
    .matrix-scroll,
    .record-dialog-body,
    .dialog-table-scroll,
    .main-content,
    .standalone-scroll,
    #app
  )::-webkit-scrollbar-button:horizontal:increment {
    background-image: linear-gradient(225deg, transparent 47%, #333f46 48% 57%, transparent 58%), linear-gradient(315deg, transparent 47%, #333f46 48% 57%, transparent 58%);
  }
}

.table-scroll,
.matrix-scroll {
  overscroll-behavior: contain;
}

.table-scroll .dense-table thead th,
.matrix-scroll .dense-table thead th {
  position: sticky;
  top: 0;
  z-index: 3;
  box-shadow: inset 0 -1px 0 #8d989f;
}

.resizable-table thead th {
  position: relative;
  overflow: visible;
}

.table-scroll .resizable-table thead th,
.matrix-scroll .resizable-table thead th {
  position: sticky;
}

.column-resize-handle {
  position: absolute;
  z-index: 9;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  touch-action: none;
  outline: none;
}

.column-resize-handle::after {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 3px;
  width: 1px;
  background: #9aa5ac;
  content: "";
}

.column-resize-handle:hover::after,
.column-resize-handle:focus::after {
  width: 2px;
  background: #315d80;
}

body.column-resizing,
body.column-resizing * {
  cursor: col-resize !important;
  user-select: none !important;
}

.resizable-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}

.main-content[data-current-route="dashboard"] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.main-content[data-current-route="dashboard"] > .breadcrumb,
.main-content[data-current-route="dashboard"] > .page-title,
.main-content[data-current-route="dashboard"] > .compact-status-line,
.main-content[data-current-route="dashboard"] > .metric-grid {
  flex: 0 0 auto;
}

.main-content[data-current-route="dashboard"] .dashboard-triple {
  flex: 1 1 auto;
  min-height: 210px;
  overflow: hidden;
}

.main-content[data-current-route="dashboard"] .dashboard-triple > .legacy-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 4px;
  overflow: hidden;
}

.main-content[data-current-route="dashboard"] .dashboard-triple .table-scroll,
.main-content[data-current-route="dashboard"] .dashboard-triple .menu-cards {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.main-content[data-current-route="dashboard"] .dashboard-columns-even {
  flex: 0 0 118px;
  min-height: 0;
  overflow: hidden;
}

.main-content[data-current-route="dashboard"] .dashboard-columns-even > .legacy-panel {
  height: 100%;
  margin-bottom: 0;
  overflow: auto;
}

.tall-table-scroll {
  max-height: calc(100vh - 280px);
}

.matrix-scroll {
  max-height: calc(100vh - 280px);
}

@media (max-width: 1180px) {
  .right-rail {
    display: block;
  }

  .workspace,
  .dense-workspace {
    grid-template-columns: 140px minmax(0, 1fr) 150px;
  }

  .top-nav-dense a {
    padding-left: 2px;
    padding-right: 2px;
    font-size: 9px;
  }
}

.standalone-scroll {
  overflow: auto;
}

.standalone-scroll .guide-page {
  min-height: calc(100vh - 20px);
}

#app {
  overflow: hidden;
}

.side-group-link {
  border-top: 1px solid #748895 !important;
  border-bottom: 1px solid #8799a5 !important;
  background: linear-gradient(#e5ebef, #cbd5dc) !important;
  color: #203f57 !important;
  font-weight: bold;
}

.side-group-link::before {
  content: "■";
  margin-right: 3px;
  color: #556f83;
  font-size: 7px;
}

.side-child {
  position: relative;
  padding-left: 18px !important;
  background: #fbfbf7 !important;
}

.side-child::before {
  position: absolute;
  left: 8px;
  color: #8b9297;
  content: "└";
}

.breadcrumb-node {
  flex: 0 0 auto;
  color: #5d6770;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  margin-bottom: 4px;
}

.hub-command {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 28px;
  min-height: 54px;
  border: 1px solid #8999a4;
  background: #fff;
  color: #183f60;
  text-decoration: none;
  box-shadow: inset 1px 1px 0 #fff;
}

.hub-command:hover {
  border-color: #6a7b88;
  background: #fffbe3;
  color: #7c2800;
}

.hub-command-code {
  display: grid;
  place-items: center;
  border-right: 1px solid #8b9aa4;
  background: linear-gradient(#eef2f4, #d0d9de);
  color: #354f62;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.hub-command-body {
  display: grid;
  grid-template-rows: auto auto auto;
  min-width: 0;
  padding: 4px 6px;
}

.hub-command-body b,
.hub-command-body small,
.hub-command-body em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hub-command-body b {
  font-size: 11px;
}

.hub-command-body small {
  color: #4d5961;
  font-size: 9px;
}

.hub-command-body em {
  color: #6b7378;
  font-size: 9px;
  font-style: normal;
}

.hub-command-arrow {
  display: grid;
  place-items: center;
  border-left: 1px solid #b0b9bf;
  background: #e8ecee;
  color: #38566b;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: bold;
}

.automation-columns,
.integration-columns,
.organization-columns,
.activity-columns,
.analytics-columns,
.split-tables {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  min-height: 0;
}

.automation-columns > .legacy-panel,
.integration-columns > .legacy-panel,
.organization-columns > .legacy-panel,
.activity-columns > .legacy-panel,
.analytics-columns > .legacy-panel,
.split-tables > .legacy-panel {
  min-width: 0;
  min-height: 0;
}

.dialog-table-scroll {
  width: 100%;
  max-height: 300px;
  overflow: auto;
}

.json-dump {
  min-width: max-content;
  margin: 0;
  padding: 4px;
  border: 1px solid #aab1b5;
  background: #fbfbf7;
  font: 10px/1.35 "MS Gothic", Consolas, monospace;
  white-space: pre;
}

.index-meter {
  width: 92px;
  height: 9px;
  border: 1px solid #7f8b91;
  background: repeating-linear-gradient(90deg, #f2f2ee 0, #f2f2ee 8px, #e0e2df 8px, #e0e2df 9px);
}

.index-meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(#789ab2, #4c748f);
}

.main-content > .legacy-panel,
.main-content > .dashboard-columns,
.main-content > .hub-grid {
  min-width: 0;
}

.main-content .legacy-panel:last-child {
  margin-bottom: 0;
}

.dense-table.extra-dense-table th,
.dense-table.extra-dense-table td {
  padding-top: 2px;
  padding-bottom: 2px;
  line-height: 1.15;
}

.tall-table-scroll {
  max-height: calc(100vh - 310px);
}

.record-dialog {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(1040px, calc(100vw - 54px));
  height: min(760px, calc(100vh - 42px));
  max-height: none;
  min-height: 0;
}

.record-dialog-subtitle:empty {
  display: none;
}

.record-dialog-body {
  min-height: 0;
  max-height: none;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.record-dialog-overlay {
  overflow: hidden;
}



@media (max-height: 760px) {
  .brand-line {
    height: 55px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .brand-title {
    font-size: 16px;
  }

  .metric-value {
    padding: 2px 4px;
    font-size: 16px;
  }

  .metric-label {
    padding: 1px 4px;
  }

  .page-title {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 13px;
  }

  .hub-command {
    min-height: 46px;
  }
}

@media (max-width: 1240px) {
  .workspace,
  .dense-workspace {
    grid-template-columns: 138px minmax(0, 1fr) 150px;
  }

  .top-nav-dense a {
    font-size: 8px;
  }
}

:root {
  color-scheme: light;
  --ui-font: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", Meiryo, "Hiragino Kaku Gothic ProN", sans-serif;
  --ui-mono: "Cascadia Mono", Consolas, "SFMono-Regular", "Liberation Mono", monospace;
  --ui-text: #20272d;
  --ui-muted: #5d6871;
  --ui-navy: #284b68;
  --ui-navy-dark: #1f3d55;
  --ui-line: #aab4bc;
  --ui-line-soft: #cbd2d7;
  --ui-surface: #ffffff;
  --ui-surface-soft: #f4f7f8;
  --ui-surface-alt: #e9eef1;
  --ui-focus: #2f6f9f;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--ui-font);
}

html,
body {
  color: var(--ui-text);
  letter-spacing: 0;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.mono,
.metric-value,
.header-kpi b,
.breadcrumb-home-code,
.hub-command-code {
  font-family: var(--ui-mono);
}

.num,
.metric-value,
.header-kpi b {
  font-variant-numeric: tabular-nums;
}

.system-header,
.legacy-panel,
.side-menu,
.metric-box,
.compact-status-line,
.record-dialog,
.guide-page,
.login-page {
  border-color: var(--ui-line);
}

.brand-line,
.login-header {
  background: linear-gradient(90deg, #ffffff 0%, #f6f9fb 62%, #e4edf2 100%);
}

.brand-title,
.login-header h1 {
  color: #203d56;
  letter-spacing: .02em;
}

.brand-sub,
.login-subtitle {
  color: #637481;
  font-family: var(--ui-font);
  letter-spacing: .02em;
}

.brand-mark,
.login-mark {
  border-radius: 0;
  background: #294a65;
  box-shadow: 0 1px 2px rgba(29, 52, 70, .18);
}

.utility-line {
  background: #f1f3f4;
  color: #56616a;
}

.top-nav {
  border-top-color: #718696;
  border-bottom-color: #2f4658;
  background: linear-gradient(#5c7487, #415d72);
}

.top-nav a {
  border-right-color: rgba(255, 255, 255, .22);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .16);
}

.top-nav a:hover,
.top-nav a.active {
  background: linear-gradient(#ffffff, #e5ebef);
  color: #1f435e;
  text-shadow: none;
}

.system-strip,
.system-footer {
  background: #e9edef;
  color: #4e5a63;
}

.side-menu,
.legacy-panel,
.metric-box,
.compact-status-line {
  border-radius: 0;
  box-shadow: 0 1px 1px rgba(39, 55, 66, .04);
}

.side-title {
  border-bottom-color: #506e84;
  background: #3d607a;
}

.side-separator,
.panel-title,
.detail-section-title {
  background: linear-gradient(#f4f6f7, #e3e8eb);
  color: #30495c;
}

.side-menu > a {
  background: #fbfcfc;
  color: #145b91;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.side-menu > a:hover {
  background: #fff9df;
}

.side-menu > a.active {
  background: #fff1b8;
  color: #723000;
}

.breadcrumb {
  border-color: #c5ccd1;
  border-radius: 0;
  background: #f9fafb;
  color: #5b6770;
}

.breadcrumb a,
.link-button,
.text-button,
.strip-link {
  color: #155f95;
  text-underline-offset: 2px;
}

.page-title {
  border-left-color: #2e638b;
  border-bottom-color: #a7b4bd;
  background: linear-gradient(90deg, #f3f7fa, #edf2f5 72%, #f6f8f9);
  color: #203e55;
  font-weight: 600;
  letter-spacing: .015em;
}

.page-description,
.side-help,
.login-notice {
  border-color: #d5ca91;
  background: #fffdf2;
}

.metric-label {
  border-bottom-color: #c7d0d6;
  background: #edf2f5;
  color: #405767;
  font-weight: 600;
}

.metric-value {
  color: #214f70;
  font-weight: 650;
  letter-spacing: -.02em;
}

.legacy-button,
.tiny-button,
.breadcrumb-back,
.dialog-close {
  border-color: #7f8b94;
  border-radius: 0;
  background: linear-gradient(#ffffff, #e6e9eb);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 1px rgba(45, 58, 67, .06);
}

.legacy-button:hover,
.tiny-button:hover,
.breadcrumb-back:hover,
.dialog-close:hover {
  border-color: #627987;
  background: linear-gradient(#ffffff, #dce6ec);
}

.legacy-button:focus-visible,
.tiny-button:focus-visible,
.breadcrumb-back:focus-visible,
.dialog-close:focus-visible,
a:focus-visible,
.link-button:focus-visible,
.text-button:focus-visible,
.strip-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(47, 111, 159, .55);
  outline-offset: 1px;
}

.legacy-button.primary {
  border-color: #2b5b7d;
  background: linear-gradient(#4d7fa4, #326283);
}

.legacy-button.danger,
.tiny-button.danger {
  border-color: #a66c6c;
  background: linear-gradient(#fffafa, #efdcdc);
}

.filter-grid input,
.filter-grid select,
.inline-entry-form input,
.inline-entry-form select,
.workflow-dispatch-form input,
.workflow-dispatch-form select,
.release-entry-form input,
.release-entry-form select,
.repository-settings-grid input,
.repository-settings-grid select,
.form-table input[type="password"] {
  border-color: #8c989f;
  border-radius: 0;
  background: #fff;
  color: #20272d;
}

.filter-grid input:hover,
.filter-grid select:hover,
.inline-entry-form input:hover,
.inline-entry-form select:hover,
.workflow-dispatch-form input:hover,
.workflow-dispatch-form select:hover,
.release-entry-form input:hover,
.release-entry-form select:hover,
.repository-settings-grid input:hover,
.repository-settings-grid select:hover,
.form-table input[type="password"]:hover {
  border-color: #657c8b;
}

.table-toolbar {
  border-bottom-color: #c5ccd1;
  background: #f6f8f9;
}

.dense-table {
  color: #222a30;
}

.dense-table th,
.dense-table td,
.detail-table th,
.detail-table td {
  border-color: #bac3c9;
}

.dense-table thead th {
  background: linear-gradient(#f7f9fa, #e3e9ed);
  color: #334d5f;
  font-weight: 600;
}

.dense-table tbody tr:nth-child(even) td,
.dense-table tbody tr:nth-child(even) th {
  background-color: #f9fbfc;
}

.dense-table tbody tr:hover td,
.dense-table tbody tr:hover th {
  background-color: #fff9df;
}

.status-badge,
.mini-state,
.new-label {
  border-radius: 0;
}

.status-success,
.matrix-yes,
.legend-ok {
  background-color: #e9f5e7 !important;
}

.status-failure,
.legend-ng {
  background-color: #fbe9e9 !important;
}

.status-running {
  background-color: #e8f2fa;
}

.status-waiting,
.legend-warn {
  background-color: #fff5d5;
}

.operator-box,
.operator-initials,
.header-kpi,
.menu-card,
.hub-command {
  border-radius: 0;
}

.operator-box,
.header-kpi {
  border-color: #b4bdc4;
  background: #fbfcfc;
}

.operator-initials {
  border-color: #718490;
  background: #e8edf0;
}

.menu-card,
.hub-command {
  border-color: #a6b2ba;
  background: #fbfcfd;
}

.menu-card:hover,
.hub-command:hover {
  border-color: #778b99;
  background: #fffbe7;
}

.record-dialog-overlay {
  background: rgba(24, 35, 43, .28);
}

.record-dialog {
  border-width: 2px;
  border-color: #526b7d;
  border-radius: 0;
  background: #f6f8f9;
  box-shadow: 3px 3px 0 rgba(44, 58, 68, .22);
}

.record-dialog-titlebar {
  background: linear-gradient(#5c788e, #405f75);
}

.record-dialog-subtitle,
.detail-table th {
  background: #e9eef1;
}

.column-resize-handle::after {
  background: #a5b0b7;
}

.column-resize-handle:hover::after,
.column-resize-handle:focus::after {
  background: #2f6f9f;
}

.green-title {
  background: linear-gradient(180deg, #e8f2e8 0%, #d3e6d3 100%);
  color: #173f23;
  border-bottom-color: #8da98f;
}

.cache-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border-top: 1px solid #b8c1c9;
  background: #f2f4f5;
}

.cache-actions .tiny-button {
  min-width: 0;
  width: 100%;
  white-space: nowrap;
}

.cache-actions .danger {
  grid-column: 1 / -1;
}
