:root {
  --gg-bg: #f5f6f8;
  --gg-surface: #ffffff;
  --gg-surface-soft: #f3f6fb;
  --gg-line: #e2e6ec;
  --gg-line-strong: #d7dfeb;
  --gg-text: #111827;
  --gg-text-soft: #5f6472;
  --gg-muted: #8b92a0;
  --gg-primary: #238d45;
  --gg-primary-dark: #176b4a;
  --gg-primary-soft: #eef8ee;
  --gg-danger: #b42318;
  --gg-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  --gg-focus: 0 0 0 4px rgba(35, 141, 69, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--gg-text);
  background: var(--gg-bg);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--gg-primary);
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gg-primary-dark) 0%, var(--gg-primary) 100%);
  box-shadow: 0 14px 28px rgba(35, 141, 69, 0.16);
  cursor: pointer;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

button:hover,
.link-button:hover {
  background: linear-gradient(135deg, #145c3f 0%, #207f3d 100%);
}

button:active,
.link-button:active {
  transform: translateY(1px);
}

button:disabled,
button[disabled] {
  color: #737b8c;
  border-color: #c9d1de;
  background: #e5e9f0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.55) 0,
    rgba(255, 255, 255, 0.55) 6px,
    transparent 6px,
    transparent 12px
  );
  box-shadow: inset 0 0 0 1px rgba(115, 123, 140, 0.12);
  cursor: not-allowed;
  opacity: 1;
  transform: none;
}

button:disabled:hover,
button[disabled]:hover,
button:disabled:active,
button[disabled]:active {
  color: #737b8c;
  border-color: #c9d1de;
  background: #e5e9f0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.55) 0,
    rgba(255, 255, 255, 0.55) 6px,
    transparent 6px,
    transparent 12px
  );
  box-shadow: inset 0 0 0 1px rgba(115, 123, 140, 0.12);
  transform: none;
}

button.secondary {
  border-color: var(--gg-line-strong);
  color: #243b53;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

button.secondary:hover {
  border-color: #bfcce3;
  color: var(--gg-primary);
  background: #f3fbf3;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  min-height: 68px;
  padding: 0 max(28px, calc((100vw - 1280px) / 2 + 28px));
  border-bottom: 1px solid var(--gg-line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.03);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transform: translateX(-25px);
  color: var(--gg-primary);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}

.topbar nav a {
  position: relative;
  padding: 9px 2px;
  color: #7c8391;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.topbar nav a:hover {
  color: var(--gg-primary);
}

.topbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: var(--gg-primary);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.topbar nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.session-chip {
  max-width: 220px;
  overflow: hidden;
  padding: 9px 14px;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  color: var(--gg-text-soft);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  font-size: 13px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logout-form {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.container {
  width: min(1280px, calc(100% - 40px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  padding: 28px;
  background: var(--gg-bg);
}

body:has(.report-detail) .container {
  width: min(1720px, calc(100% - 24px));
  padding-right: 12px;
  padding-left: 12px;
}

.page-head {
  margin-bottom: 20px;
}

.page-head h1 {
  margin: 0;
  color: var(--gg-text);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
}

.page-head p,
.muted {
  color: var(--gg-text-soft);
  line-height: 1.7;
}

.page-head p {
  max-width: 840px;
  margin: 10px 0 0;
}

.panel {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: var(--gg-surface);
  box-shadow: var(--gg-shadow);
}

.panel.narrow {
  max-width: 440px;
}

.section-title {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title h2 {
  margin: 0;
  padding-left: 10px;
  border-left: 4px solid var(--gg-primary);
  color: var(--gg-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.toolbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.toolbar input {
  width: auto;
  min-width: 260px;
  max-width: 520px;
  flex: 1 1 320px;
}

.toolbar select {
  width: auto;
  min-width: 180px;
  flex: 0 0 190px;
}

.toolbar .link-button,
.toolbar button {
  flex: 0 0 auto;
  white-space: nowrap;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.metric-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: var(--gg-surface);
  box-shadow: var(--gg-shadow);
}

.metric-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gg-primary-dark), var(--gg-primary));
}

.metric-card span {
  display: block;
  color: var(--gg-text-soft);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  color: #171a21;
  font-size: 32px;
  font-weight: 900;
}

.layout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.layout-grid.wide-left {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.form,
.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: grid;
  gap: 8px;
  color: var(--gg-text-soft);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  color: var(--gg-text);
  background: #ffffff;
  font-weight: 500;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input::placeholder,
textarea::placeholder {
  color: #b1b7c3;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gg-primary);
  box-shadow: var(--gg-focus);
}

textarea {
  line-height: 1.6;
  resize: vertical;
}

input[type="checkbox"] {
  accent-color: var(--gg-primary);
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  align-self: end;
  min-height: 42px;
  color: var(--gg-text-soft);
}

.check-row input {
  width: 18px;
  min-height: 18px;
}

.full-span {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.save-required-note {
  margin-right: auto;
  color: #dc2626;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
}

.is-hidden {
  display: none !important;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
}

th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid #edf1f7;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
  word-break: break-word;
}

th {
  color: #64748b;
  background: var(--gg-surface-soft);
  font-size: 12px;
  font-weight: 900;
}

tbody tr:hover {
  background: #f5f8ff;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}

.pending-table th,
.pending-table td {
  text-align: center;
}

.project-list-table th,
.project-list-table td {
  text-align: center;
}

.project-list-table .status-badge {
  margin: 4px;
}

.project-list-table .status-badge + .status-badge {
  margin-left: 4px;
}

td a {
  color: var(--gg-primary);
  font-weight: 800;
}

.result-table {
  min-width: 760px;
  border-top: 1px solid var(--gg-line);
  border-bottom: 1px solid var(--gg-line);
}

.result-table th,
.result-table td,
.review-table th,
.review-table td {
  border: 1px solid #e3e8f1;
  text-align: center;
}

.result-table th:first-child,
.review-table th:first-child {
  background: var(--gg-surface-soft);
  font-weight: 900;
}

.result-group-title {
  background: var(--gg-primary-soft);
  color: var(--gg-primary);
  font-size: 15px;
}

.review-table {
  min-width: 820px;
}

.review-table td {
  text-align: left;
  white-space: normal;
}

.review-table th {
  width: 120px;
  vertical-align: middle;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(35, 141, 69, 0.12);
  border-radius: 999px;
  color: var(--gg-primary);
  background: rgba(35, 141, 69, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.status-badge + .status-badge {
  margin-left: 6px;
}

.status-badge.done {
  border-color: #d6dbe3;
  color: #ffffff;
  background: #2a2f36;
}

.status-badge.warn {
  border-color: #f6dca8;
  color: #8a5200;
  background: #fff7e6;
}

.status-badge.info {
  border-color: rgba(35, 141, 69, 0.14);
  color: var(--gg-primary);
  background: var(--gg-primary-soft);
}

.status-badge.rejected {
  border-color: #fecaca;
  color: #b42318;
  background: #fff1f1;
}

.stack-list,
.comment-list,
.quick-actions {
  display: grid;
  gap: 10px;
}

.quick-actions button {
  justify-content: flex-start;
  width: 100%;
}

.stack-item,
.comment-item {
  padding: 14px 16px;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  background: #fbfcff;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.stack-item:hover,
.comment-item:hover {
  border-color: #cbd7ea;
  background: #f7faff;
}

.stack-item strong,
.comment-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gg-text);
  font-weight: 900;
}

.stack-meta {
  color: var(--gg-muted);
  font-size: 13px;
  line-height: 1.5;
}

.error {
  margin: 0 0 14px;
  color: var(--gg-danger);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  max-width: 360px;
  padding: 13px 16px;
  border-radius: 12px;
  color: #ffffff;
  background: #171a21;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.18);
  font-weight: 800;
}

.app-is-loading {
  overflow: hidden;
}

.app-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.36);
  cursor: wait;
}

.app-loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(320px, 100%);
  padding: 26px 28px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  color: var(--gg-text);
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  text-align: center;
}

.app-loading-box strong {
  margin-top: 14px;
  font-size: 17px;
}

.app-loading-box span:last-child {
  margin-top: 6px;
  color: var(--gg-muted);
  font-size: 13px;
}

.app-loading-spinner {
  width: 38px;
  height: 38px;
  border: 4px solid #dbe4f0;
  border-top-color: var(--gg-primary);
  border-radius: 50%;
  animation: app-loading-spin 0.8s linear infinite;
}

@keyframes app-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

body:has(.panel.narrow) .container {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 440px);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 68px);
}

body:has(.panel.narrow) .page-head {
  position: relative;
  min-height: 420px;
  margin: 0;
  padding: 56px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(23, 107, 74, 0.9) 0%, rgba(35, 141, 69, 0.86) 48%, rgba(46, 157, 66, 0.78) 100%),
    linear-gradient(45deg, #176b4a, #238d45);
  color: #ffffff;
}

body:has(.panel.narrow) .page-head::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -110px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(130, 189, 51, 0.2);
  filter: blur(38px);
}

body:has(.panel.narrow) .page-head h1 {
  color: #ffffff;
  font-size: 44px;
}

body:has(.panel.narrow) .page-head h1::before {
  display: block;
  width: fit-content;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 4px solid #82bd33;
  color: rgba(226, 249, 219, 0.96);
  font-size: 16px;
  font-weight: 900;
}

body:has(.panel.narrow) .page-head p {
  max-width: 500px;
  color: rgba(238, 248, 238, 0.94);
  font-size: 16px;
  line-height: 1.8;
}

body:has(.panel.narrow) .panel.narrow {
  width: 100%;
  margin: 0;
  padding: 30px;
}

body:has(.panel.narrow) .panel.narrow::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gg-primary-dark) 0%, var(--gg-primary) 100%);
  box-shadow: 0 10px 22px rgba(35, 141, 69, 0.18);
}

@media (max-width: 1024px) {
  body:has(.panel.narrow) .container {
    grid-template-columns: 1fr;
  }

  body:has(.panel.narrow) .page-head {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 18px;
  }

  .topbar nav {
    justify-content: flex-start;
    gap: 14px;
  }

  .session-chip {
    max-width: 100%;
  }

  .container {
    width: 100%;
    padding: 22px 18px 44px;
  }

  .metric-grid,
  .layout-grid,
  .layout-grid.wide-left,
  .form-grid,
  .form-grid.compact {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar {
    justify-content: flex-start;
  }

  .toolbar input {
    min-width: 0;
  }

  .toolbar select {
    min-width: 150px;
    flex-basis: 170px;
  }

  .report-table-head,
  .excel-import-inline,
  .excel-import-form {
    align-items: stretch;
    flex-direction: column;
  }

  .excel-import-form label,
  .excel-import-form input[type="file"] {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 20px;
  }

  .topbar nav a {
    font-size: 14px;
  }

  .page-head h1 {
    font-size: 24px;
  }

  .panel,
  .metric-card {
    padding: 18px;
  }

  body:has(.panel.narrow) .page-head {
    display: none;
  }
}

.login-page {
  min-height: 100vh;
  background: #f5f6f8;
}

.login-layout {
  display: flex;
  width: 100%;
  min-height: 100vh;
  background: #f5f6f8;
}

.login-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58%;
  min-height: 100vh;
  padding: 64px 72px;
  overflow: hidden;
  background: #176b4a;
}

.login-left-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("/static/asset/images/login-bg-energy-building.png") center center / cover no-repeat;
}

.login-left-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(23, 107, 74, 0.84) 0%, rgba(35, 141, 69, 0.84) 45%, rgba(46, 157, 66, 0.74) 100%);
}

.login-left::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  z-index: 1;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(130, 189, 51, 0.2);
  filter: blur(38px);
}

.login-left-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px;
  color: #ffffff;
}

.brand-top {
  margin-bottom: 44px;
}

.brand-label {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(226, 249, 219, 0.96);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-line {
  width: 74px;
  height: 4px;
  border-radius: 999px;
  background: #82bd33;
}

.brand-title {
  margin: 0 0 26px;
  color: #ffffff;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.14;
  word-break: keep-all;
}

.brand-desc {
  max-width: 520px;
  margin: 0;
  color: rgba(238, 248, 238, 0.94);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  word-break: keep-all;
}

.brand-bottom {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  margin-top: 76px;
}

.brand-feature {
  min-width: 140px;
}

.brand-feature + .brand-feature {
  position: relative;
  padding-left: 38px;
}

.brand-feature + .brand-feature::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, 0.22);
}

.brand-feature strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.brand-feature span {
  display: block;
  color: rgba(226, 249, 219, 0.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.login-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42%;
  min-height: 100vh;
  padding: 42px 36px 72px;
  background: #f5f6f8;
}

.login-form {
  width: 100%;
  max-width: 430px;
}

.login-card {
  width: 100%;
  padding: 38px 34px;
  border: 1px solid #e2e6ec;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.10);
}

.login-title {
  margin: 0 0 14px;
  color: #171a21;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.28;
  word-break: keep-all;
}

.login-subtitle {
  margin: 0 0 34px;
  color: #5f6472;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  word-break: keep-all;
}

.login-error {
  margin: -12px 0 22px;
  padding: 12px 14px;
  border: 1px solid #ffd7d7;
  border-radius: 10px;
  color: #b42318;
  background: #fff5f5;
  font-size: 13px;
  font-weight: 800;
}

.login-field-wrap {
  margin-bottom: 22px;
}

.login-label {
  display: block;
  margin-bottom: 10px;
  color: #7c8391;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.login-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 58px;
  border: 1px solid #e2e6ec;
  border-radius: 12px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.login-field:focus-within {
  border-color: var(--gg-primary);
  box-shadow: var(--gg-focus);
}

.login-ico {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 100%;
  border-right: 1px solid #eef1f5;
  color: #9aa1ae;
}

.login-ico svg,
.login-toggle svg,
.login-btn svg {
  fill: currentColor;
}

.login-ico svg {
  width: 20px;
  height: 20px;
}

.login-inp {
  width: 100%;
  height: 100%;
  padding: 5px 16px;
  border: 0;
  outline: none;
  color: #111827;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
}

.login-inp:focus {
  box-shadow: none;
}

.login-inp::placeholder {
  color: #b1b7c3;
}

.login-toggle {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 100%;
  padding: 0;
  border: 0;
  color: #8b92a0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.login-toggle:hover {
  color: var(--gg-primary);
  background: transparent;
}

.login-toggle svg {
  width: 20px;
  height: 20px;
}

.login-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 24px;
}

.login-check {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #5f6472;
  cursor: pointer;
  user-select: none;
}

.login-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gg-primary);
  cursor: pointer;
}

.login-check span {
  font-size: 14px;
  font-weight: 500;
}

.login-btn {
  gap: 8px;
  width: 100%;
  height: 60px;
  border-radius: 12px;
  font-size: 18px;
  letter-spacing: 0;
}

.login-btn svg {
  width: 20px;
  height: 20px;
}

.login-links {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
}

.login-links a {
  color: var(--gg-primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.login-links a:hover {
  text-decoration: underline;
}

.login-links .sep-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c2c8d3;
}

.login-helper {
  margin-top: 38px;
  color: #8a90a0;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.login-helper a {
  color: #2a2f36;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-footer {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  color: #9aa1ae;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.mobile-brand {
  display: none;
}

.project-status-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
  margin: 8px 0 10px;
  text-align: left;
}

.project-status-line .status-badge + .status-badge {
  margin-left: 0;
}

.project-head-rejection {
  display: grid;
  gap: 8px;
  margin: 8px 0 12px;
}

.project-head-rejection article {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff7f7;
}

.project-head-rejection strong {
  color: #b42318;
  font-size: 13px;
}

.project-head-rejection div {
  color: var(--gg-text);
  font-size: 14px;
  line-height: 1.6;
}

.report-detail {
  display: grid;
  grid-template-columns: 172px minmax(0, 1fr) 172px;
  gap: 14px;
  width: 100%;
  max-width: 1580px;
  margin: 0 auto 72px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.report-detail-main {
  min-width: 0;
}

.round-history-panel {
  align-self: start;
  position: sticky;
  top: 86px;
  padding: 12px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--gg-shadow);
}

.workflow-action-panel {
  align-self: start;
  position: sticky;
  top: 86px;
  padding: 12px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--gg-shadow);
}

.workflow-action-panel .section-title {
  margin-bottom: 10px;
}

.workflow-action-panel .section-title h2 {
  padding-left: 8px;
  border-left-width: 3px;
  font-size: 15px;
}

.workflow-actions {
  display: grid;
  gap: 8px;
}

.workflow-actions button {
  width: 100%;
  min-height: 42px;
  white-space: normal;
}

.workflow-rejection-panel {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--gg-line);
}

.workflow-rejection-panel textarea {
  min-height: 96px;
  resize: vertical;
}

.workflow-actions button:disabled,
.workflow-actions button[disabled] {
  position: relative;
  color: #6b7280;
  border-color: #cbd5e1;
  background-color: #eef2f7;
  cursor: not-allowed;
  text-decoration: line-through;
}

.workflow-actions button:disabled::after,
.workflow-actions button[disabled]::after {
  content: "사용 불가";
  margin-left: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #6b7280;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
}

.workflow-actions button:disabled::after,
.workflow-actions button[disabled]::after {
  content: none;
  display: none;
}

.round-history-panel .section-title {
  margin-bottom: 10px;
}

.round-history-panel .section-title h2 {
  padding-left: 8px;
  border-left-width: 3px;
  font-size: 15px;
}

.round-history-list {
  display: grid;
  gap: 8px;
}

.round-history-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: center;
  justify-content: stretch;
  width: 100%;
  min-height: auto;
  padding: 9px 10px;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  color: var(--gg-text);
  background: #fbfcff;
  box-shadow: none;
  text-align: left;
}

.round-history-item:hover,
.round-history-item.is-active {
  border-color: #bfcce3;
  background: #f5f8ff;
}

.round-history-item strong {
  font-size: 14px;
  font-weight: 900;
}

.round-history-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.round-history-badges .status-badge {
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
}

.round-history-badges .status-badge + .status-badge {
  margin-left: 0;
}

.round-history-item span:last-child {
  color: var(--gg-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

.report-form.is-readonly {
  opacity: 0.82;
}

.report-detail.is-readonly input:disabled,
.report-detail.is-readonly select:disabled,
.report-detail.is-readonly textarea:disabled,
.report-detail.is-readonly button:disabled {
  color: #8b92a0;
  background: #f3f6fb;
  border-color: #e2e6ec;
  box-shadow: none;
  cursor: not-allowed;
}

.report-detail.is-readonly textarea:disabled {
  resize: none;
}

.report-detail.is-readonly .report-table-section,
.report-detail.is-readonly .report-review-panel,
.report-table-section.is-readonly,
.report-review-panel.is-readonly {
  background: #fbfcff;
}

.report-detail.is-readonly .report-table-section::before {
  content: "제출 완료: 이 차수는 수정할 수 없습니다.";
  display: block;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #d7dfeb;
  border-radius: 8px;
  color: #5f6472;
  background: #f3f6fb;
  font-size: 13px;
  font-weight: 800;
}

.report-head {
  margin-bottom: 18px;
  padding: 26px 28px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  color: var(--gg-text);
  background: #ffffff;
  box-shadow: var(--gg-shadow);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
}

.report-section-label {
  margin: 0 0 12px;
  color: var(--gg-primary);
  font-size: 15px;
  font-weight: 900;
}

.report-head h1 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
}

.report-head p:not(.report-section-label) {
  margin: 0;
  padding-left: 0;
  color: var(--gg-text-soft);
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.report-head p:not(.report-section-label)::before {
  content: none;
}

.report-project-panel {
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: var(--gg-shadow);
}

.report-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-form .full-span {
  grid-column: 1 / -1;
}

.report-table-section,
.report-review-section {
  margin-top: 24px;
}

.report-table-section {
  padding: 22px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--gg-shadow);
}

.report-table-head {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.report-table-caption {
  margin: 18px 0 10px;
  color: var(--gg-text-soft);
  text-align: left;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.report-table-head .report-table-caption {
  margin: 8px 0 0;
}

.excel-import-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 10px;
  border: 1px solid #e4eaf3;
  border-radius: 8px;
  background: #f8fafc;
}

.excel-import-form {
  display: flex;
  gap: 8px;
  align-items: end;
  min-width: 0;
}

.excel-import-form label {
  display: grid;
  gap: 4px;
  min-width: 170px;
  color: var(--gg-text-soft);
  font-size: 12px;
  font-weight: 800;
}

.excel-import-form input[type="file"] {
  width: 170px;
  min-height: 34px;
  padding: 6px;
  font-size: 12px;
  background: #ffffff;
}

.excel-import-form button {
  min-height: 34px;
  white-space: nowrap;
}

.excel-file-list {
  margin-bottom: 12px;
}

.report-result-wrap {
  overflow-x: auto;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
}

.report-result-table {
  min-width: 980px;
  border: 0;
  color: var(--gg-text);
  table-layout: fixed;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 14px;
  background: #ffffff;
}

.report-result-table th,
.report-result-table td {
  padding: 9px 8px;
  border: 1px solid #edf1f7;
  text-align: center;
  vertical-align: middle;
}

.report-result-table .result-group-title {
  color: var(--gg-primary);
  background: var(--gg-primary-soft);
  font-size: 14px;
  font-weight: 900;
}

.report-result-table th {
  color: #64748b;
  background: var(--gg-surface-soft);
  font-weight: 900;
}

.report-result-table .result-pair-gap {
  width: 14px;
  min-width: 14px;
  padding: 0;
  border-top: 0;
  border-bottom: 0;
  background: #ffffff;
}

.result-edit-input {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  padding: 4px 6px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-size: 13px;
  font-weight: inherit;
}

.result-edit-input:hover {
  border-color: #d7dfeb;
  background: #ffffff;
}

.result-edit-input:focus {
  border-color: var(--gg-primary);
  background: #ffffff;
  box-shadow: var(--gg-focus);
}

.result-edit-input[readonly] {
  color: var(--gg-text-soft);
  background: #f8fafc;
  cursor: not-allowed;
}

.result-edit-input[readonly]:hover,
.result-edit-input[readonly]:focus {
  border-color: transparent;
  box-shadow: none;
}

.result-title-input {
  color: var(--gg-primary);
  font-size: 14px;
  font-weight: 900;
}

.result-label-input {
  color: var(--gg-text);
  font-weight: 900;
}

.report-review-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--gg-shadow);
}

.report-review-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  background: #fbfcff;
}

.admin-inquiry-section {
  margin-top: 24px;
}

.admin-inquiry-panel {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--gg-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--gg-shadow);
}

.admin-inquiry-form {
  grid-template-columns: 1fr;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  background: #fbfcff;
}

.admin-inquiry-list {
  display: grid;
  gap: 14px;
}

.admin-inquiry-item {
  padding: 16px;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
  background: #ffffff;
}

.admin-inquiry-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.admin-inquiry-head strong {
  display: block;
  margin-top: 7px;
  color: var(--gg-text);
  font-size: 16px;
  line-height: 1.35;
}

.admin-inquiry-meta {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.admin-inquiry-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.admin-inquiry-status.is-open {
  color: #92400e;
  background: #fff7ed;
}

.admin-inquiry-status.is-answered {
  color: var(--gg-primary);
  background: var(--gg-primary-soft);
}

.admin-inquiry-content {
  padding: 14px;
  border: 1px solid #edf1f7;
  border-radius: 8px;
  background: #fbfcff;
}

.admin-inquiry-content .review-rich-content {
  padding: 12px;
  border: 1px solid #e4eaf2;
  border-radius: 6px;
  background: #ffffff;
}

.admin-inquiry-replies {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.admin-inquiry-reply {
  padding: 12px 14px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid #2a2f36;
  border-radius: 8px;
  background: #ffffff;
}

.admin-inquiry-reply-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gg-line);
}

.rich-editor-field {
  align-content: start;
}

.rich-editor-source {
  display: none;
}

.rich-editor {
  overflow: hidden;
  border: 1px solid var(--gg-line);
  border-radius: 10px;
  background: #ffffff;
}

.rich-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--gg-line);
  background: var(--gg-surface-soft);
}

.rich-editor-toolbar button {
  min-width: 34px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  box-shadow: none;
  font-size: 13px;
}

.rich-editor-area {
  min-height: 156px;
  padding: 12px;
  color: var(--gg-text);
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rich-editor-area:focus {
  outline: none;
  box-shadow: var(--gg-focus);
}

.rich-editor-area.is-disabled {
  color: #8b92a0;
  background: #f3f6fb;
  cursor: not-allowed;
}

.rich-editor-area p,
.review-rich-content p {
  margin: 0 0 8px;
}

.rich-editor-area ul,
.rich-editor-area ol,
.review-rich-content ul,
.review-rich-content ol {
  margin: 0 0 8px 20px;
  padding: 0;
}

.rich-editor-area img,
.review-rich-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 8px 0;
  border: 1px solid var(--gg-line);
  border-radius: 8px;
}

.rich-image-frame {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 8px 0;
  line-height: 0;
}

.rich-image-frame img {
  margin: 0;
}

.rich-image-frame.is-selected {
  outline: 2px solid var(--gg-primary);
  outline-offset: 2px;
}

.rich-image-resize-handle {
  position: absolute;
  right: -7px;
  bottom: -7px;
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  background: var(--gg-primary);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  cursor: nwse-resize;
}

.rich-image-frame.is-selected .rich-image-resize-handle {
  display: block;
}

.review-image-placeholder {
  display: inline-flex;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  padding: 8px 10px;
  border: 1px dashed var(--gg-line-strong);
  border-radius: 8px;
  color: var(--gg-text-soft);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
}

.content-block-label {
  display: inline-flex;
  width: fit-content;
  min-height: 24px;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 8px;
  border: 1px solid #d7dfeb;
  border-radius: 6px;
  color: #334155;
  background: #f8fafc;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.reply-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}

.reply-head .content-block-label {
  margin-bottom: 0;
}

.reply-head .stack-meta,
.reply-head .admin-inquiry-meta {
  margin-top: 0;
}

.report-review-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}

.report-review-table {
  width: 100%;
  min-width: 980px;
  border: 1px solid var(--gg-line);
  color: var(--gg-text);
  table-layout: fixed;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  font-size: 14px;
}

.report-review-table th,
.report-review-table td {
  padding: 12px 10px;
  border: 1px solid #edf1f7;
  color: var(--gg-text);
  background: #ffffff;
  text-align: left;
  vertical-align: middle;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.report-review-table thead th {
  border-color: #d7e2ef;
  color: #1f3b57;
  background: #e8f1fb;
  text-align: center;
  font-weight: 900;
}

.report-review-table td:first-child {
  width: 56px;
  color: var(--gg-text);
  background: #ffffff;
  text-align: center;
  font-weight: 900;
}

.report-review-table th:first-child {
  width: 56px;
  text-align: center;
  font-weight: 900;
}

.report-review-table th:nth-child(2),
.report-review-table td:nth-child(2) {
  width: 16%;
}

.report-review-table th.review-author-cell.is-certifier,
.report-review-table td.review-author-cell.is-certifier {
  border-left: 4px solid var(--gg-primary);
  background: var(--gg-primary-soft);
}

.report-review-table th.review-author-cell.is-inspector,
.report-review-table td.review-author-cell.is-inspector {
  border-left: 4px solid #0e7490;
  background: #ecfeff;
}

.report-review-table th.review-author-cell.is-admin,
.report-review-table td.review-author-cell.is-admin {
  border-left: 4px solid #2a2f36;
  background: #eef2f7;
}

.report-review-table th.review-author-cell.is-unknown,
.report-review-table td.review-author-cell.is-unknown {
  border-left: 4px solid #9ca3af;
  background: #f9fafb;
}

.report-review-table td:nth-child(2) strong,
.report-review-table th:nth-child(2) strong {
  display: block;
  color: var(--gg-text);
  line-height: 1.35;
}

.review-classification-stack {
  display: grid;
  gap: 6px;
  align-items: start;
  text-align: left;
}

.review-part-name {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.review-author-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid #d7dfeb;
  border-radius: 999px;
  color: #475569;
  background: #f8fafc;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.review-author-badge.is-certifier {
  border-color: rgba(35, 141, 69, 0.2);
  color: var(--gg-primary);
  background: var(--gg-primary-soft);
}

.review-author-badge.is-inspector {
  border-color: rgba(14, 116, 144, 0.2);
  color: #0e7490;
  background: #ecfeff;
}

.review-author-badge.is-admin {
  border-color: rgba(42, 47, 54, 0.16);
  color: #2a2f36;
  background: #eef2f7;
}

.review-author-badge.is-unknown {
  border-color: #e5e7eb;
  color: #6b7280;
  background: #f9fafb;
}

.report-review-table th:nth-child(3),
.report-review-table td:nth-child(3) {
  width: 29%;
}

.report-review-table th:nth-child(4),
.report-review-table td:nth-child(4) {
  width: 25%;
}

.report-review-table th:nth-child(5),
.report-review-table td:nth-child(5) {
  width: 14%;
  text-align: center;
}

.report-review-table th:nth-child(6),
.report-review-table td:nth-child(6) {
  width: 9%;
  text-align: center;
}

.review-error-type-cell {
  text-align: center;
}

.review-error-type-name {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border: 1px solid #d7e2ef;
  border-radius: 6px;
  color: #0f2f4d;
  background: #ffffff;
  font-weight: 900;
  line-height: 1.35;
}

.review-comment-number-cell {
  color: #475569;
  font-size: 15px;
  font-weight: 900;
}

.review-action-cell {
  text-align: center;
  white-space: nowrap;
}

.review-action-cell button {
  min-height: 34px;
  margin: 2px;
  padding: 0 10px;
}

.report-review-table tr.is-comment-readonly th,
.report-review-table tr.is-comment-readonly td {
  color: #7b8494;
  background: #f4f6fa;
}

.report-review-table tr.review-comment-main-row th,
.report-review-table tr.review-comment-main-row td {
  border-top: 1px solid #d7e2ef;
  border-bottom: 0;
  background: #f8fafc;
}

.report-review-table tr.review-comment-main-row .review-author-cell {
  border-left: 1px solid #edf1f7;
  background: #f8fafc;
}

.report-review-table tr.review-comment-main-row.has-no-comment-thread th,
.report-review-table tr.review-comment-main-row.has-no-comment-thread td {
  border-bottom: 1px solid #d7e2ef;
}

.report-review-table tr.review-comment-main-row.has-comment-thread th,
.report-review-table tr.review-comment-main-row.has-comment-thread td {
  padding-bottom: 14px;
}

.report-review-table tr.is-comment-readonly .review-rich-content {
  opacity: 0.72;
}

.report-review-table tr.is-comment-readonly .review-author-badge {
  opacity: 0.72;
}

.report-review-table tr.is-comment-readonly .review-action-cell button:disabled {
  color: #8b92a0;
  border-color: #d6dce6;
  background: #e7ebf2;
  box-shadow: none;
}

.review-readonly-note {
  margin-top: 6px;
  text-align: center;
  font-weight: 800;
}

.review-comment-replies-row td {
  padding: 0 14px 16px;
  border-top: 0;
  border-bottom: 1px solid #d7e2ef;
  background: #f8fafc;
}

.review-comment-thread {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  background: transparent;
}

.review-comment-reply {
  padding: 12px 14px;
  border: 1px solid #dfe6ef;
  border-left: 4px solid var(--gg-primary);
  border-radius: 8px;
  background: #ffffff;
  text-align: left;
}

.review-comment-reply .review-rich-content,
.admin-inquiry-reply .review-rich-content {
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid #edf1f7;
  border-radius: 6px;
  background: #fbfcff;
  text-align: left;
}

.review-comment-reply-form {
  display: grid;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--gg-line);
}

.review-comment-section-spacer td {
  height: 16px;
  padding: 0;
  border: 0;
  background: #ffffff;
}

.report-review-table tr.review-comment-edit-row td {
  width: auto;
  padding: 16px;
  border-top: 1px solid #d7e2ef;
  border-bottom: 1px solid #d7e2ef;
  background: #f8fafc;
  text-align: left;
  font-weight: 400;
  vertical-align: top;
}

.review-edit-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #dbe5f1;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.review-edit-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
}

.review-edit-head strong {
  display: block;
  margin-top: 6px;
  color: var(--gg-text);
  font-size: 16px;
  line-height: 1.35;
}

.review-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.review-edit-actions button {
  min-height: 36px;
  padding: 0 14px;
}

.review-edit-select-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-edit-select-grid label,
.review-edit-field {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 900;
}

.review-edit-select-grid select {
  width: 100%;
  margin: 0;
}

.review-edit-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.report-review-table tr.is-editing .rich-editor-area {
  min-height: 170px;
}

.report-review-table tr.is-editing .rich-editor-toolbar {
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .report-detail {
    grid-template-columns: 1fr;
    padding: 32px 24px 48px;
  }

  .round-history-panel {
    grid-column: auto;
    position: static;
  }

  .workflow-action-panel {
    grid-column: auto;
    position: static;
  }

  .round-history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .report-form,
  .report-review-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-edit-select-grid,
  .review-edit-editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .report-detail {
    padding: 24px 16px 40px;
  }

  .round-history-list {
    grid-template-columns: 1fr;
  }

  .report-form,
  .report-review-form,
  .admin-inquiry-form {
    grid-template-columns: 1fr;
  }

  .report-head p:not(.report-section-label) {
    font-size: 15px;
  }

  .report-review-form .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .report-review-form .save-required-note {
    margin-right: 0;
  }

  .review-edit-head {
    align-items: stretch;
    flex-direction: column;
  }

  .review-edit-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1280px) {
  .login-left {
    padding: 52px 56px;
  }

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

  .login-title {
    font-size: 25px;
  }
}

@media (max-width: 1024px) {
  .login-layout {
    flex-direction: column;
  }

  .login-left,
  .login-right {
    width: 100%;
  }

  .login-left {
    min-height: auto;
    padding: 48px 28px;
  }

  .login-right {
    min-height: auto;
    padding: 38px 22px 72px;
  }

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

  .brand-bottom {
    margin-top: 48px;
  }

  .login-footer {
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .login-left {
    display: none;
  }

  .login-right {
    min-height: 100vh;
    justify-content: center;
    padding: 28px 18px 60px;
  }

  .login-card {
    padding: 30px 24px;
  }

  .mobile-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
  }

  .mobile-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gg-primary-dark) 0%, var(--gg-primary) 100%);
    box-shadow: 0 10px 22px rgba(35, 141, 69, 0.18);
    font-weight: 900;
  }

  .mobile-brand-text {
    color: var(--gg-primary);
    font-size: 22px;
    font-weight: 900;
  }

  .login-title {
    font-size: 24px;
  }
}
