
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #eef4fb;
  color: #223142;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 14px;
}
a { text-decoration: none; color: inherit; }

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #1f4c85 0%, #173b69 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 18px 16px;
  gap: 18px;
  box-shadow: 3px 0 16px rgba(17, 42, 74, .12);
}
.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
}
.sidebar-logo-panel {
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  padding: 8px 10px;
  width: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-logo {
  width: 54px;
  height: auto;
  display: block;
}
.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sidebar-brand-text strong {
  font-size: 18px;
  line-height: 1.3;
}
.sidebar-brand-text span {
  font-size: 12px;
  opacity: .86;
}
.sidebar-role {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  padding: 14px;
  border-radius: 16px;
}
.sidebar-role p {
  margin: 3px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.78);
}
.role-badge {
  display: inline-flex;
  min-width: 54px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #5aa2ff;
  color: #fff;
  font-weight: 700;
}
.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: rgba(255,255,255,.88);
  font-weight: 700;
  transition: .15s ease;
}
.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: rgba(255,255,255,.14);
  color: #fff;
}
.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 16px;
}
.sidebar-footer a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 13px;
}

.main-area {
  flex: 1;
  min-width: 0;
}
.content-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  border-bottom: 1px solid #d8e4f0;
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.content-header h1 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #1e446f;
  letter-spacing: -.5px;
}
.content-header p {
  margin: 0;
  color: #66809a;
}
.content-header-info {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.mini-card {
  background: #f4f8fc;
  border: 1px solid #d9e5f0;
  border-radius: 14px;
  padding: 10px 14px;
  min-width: 120px;
}
.mini-card span {
  display: block;
  color: #6f859b;
  font-size: 12px;
  margin-bottom: 4px;
}
.mini-card strong {
  color: #234972;
}

.container {
  padding: 24px 28px 36px;
}
.messages {
  margin-bottom: 16px;
}
.login-messages {
  max-width: 1060px;
  margin: 24px auto 0;
}
.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid transparent;
}
.alert.success { background: #edf9ef; border-color: #cae9d0; color: #256c3d; }
.alert.danger { background: #fff1f1; border-color: #f0caca; color: #9b2d2d; }
.alert.warning { background: #fff8e8; border-color: #eed8a6; color: #8b6708; }
.alert.info { background: #eef5ff; border-color: #c7dbf7; color: #234d85; }

.public-wrap {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #eef5fc;
}
.public-wrap::before {
  content: "";
  position: fixed;
  inset: -18px;
  background:
    linear-gradient(rgba(236,243,251,.58), rgba(247,251,255,.66)),
    url("hero_visual.png") center center / cover no-repeat;
  filter: blur(10px);
  transform: scale(1.04);
  opacity: .72;
  pointer-events: none;
  z-index: 0;
}
.public-wrap::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.18)),
    url("hero_visual.png") center center / contain no-repeat;
  opacity: .82;
  pointer-events: none;
  z-index: 1;
}
.login-page {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}
.login-hero-card { display: none; }
.login-hero-image { display: none; }
.login-card {
  background: rgba(255,255,255,.98);
  backdrop-filter: none;
  border: 1px solid rgba(214,226,238,1);
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 18px 38px rgba(27, 58, 92, .14);
}
.login-card.simple { max-width: 430px; width: 100%; }
.login-logo-box { text-align: center; margin-bottom: 18px; }
.login-brand-logo { height: 50px; width: auto; }
.login-card h1 { margin: 0 0 8px; font-size: 26px; color: #224a74; text-align: center; }
.login-desc { text-align: center; color: #6d8296; margin-bottom: 18px; }
.login-card label {
  display: block;
  margin: 12px 0 6px;
  font-weight: 700;
  color: #3d5468;
}
.login-card input,
.form-grid input,
.form-grid select,
.filter input,
.filter select,
.small-input,
.upload-form input[type="file"] {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #ccdae8;
  border-radius: 10px;
  background: #fbfdff;
}
.full { width: 100%; }

.dashboard-hero .hero-card,
.panel,
.table-wrap,
.summary > div,
.stat-card {
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 18px;
  box-shadow: 0 6px 14px rgba(30, 65, 101, .05);
}
.hero-card {
  overflow: hidden;
  margin-bottom: 18px;
}
.hero-full-image {
  display: block;
  width: 100%;
  height: auto;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.stat-card {
  padding: 18px 20px;
}
.stat-card span {
  display: block;
  color: #6d8499;
  margin-bottom: 8px;
}
.stat-card strong {
  color: #214a74;
  font-size: 28px;
}
.home-panels.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  margin-bottom: 18px;
}
.panel {
  padding: 18px;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.panel-head h3 {
  margin: 0;
  font-size: 18px;
  color: #22486f;
}
.summary-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.summary-tiles > div {
  background: #f6f9fc;
  border: 1px solid #dde7f0;
  border-radius: 14px;
  padding: 14px;
}
.summary-tiles span {
  display: block;
  color: #708497;
  font-size: 12px;
  margin-bottom: 6px;
}
.summary-tiles b {
  font-size: 26px;
  color: #1e4b78;
}
.quick-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.quick-link {
  padding: 12px 14px;
  border-radius: 12px;
  background: #eef5fd;
  color: #24548a;
  font-weight: 700;
  border: 1px solid #d5e4f4;
}
.guide-list {
  margin: 0;
  padding-left: 18px;
  color: #4f6377;
  line-height: 1.8;
}

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.summary {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.summary > div {
  min-width: 150px;
  padding: 14px 16px;
}
.summary span {
  display: block;
  color: #738190;
  font-size: 12px;
  margin-bottom: 6px;
}
.summary b {
  font-size: 24px;
  color: #224a70;
}

.filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 16px;
  align-items: center;
}
.filter input {
  min-width: 240px;
  flex: 1;
}
.upload-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.btn.primary { background: #2f70b8; color: #fff; }
.btn.basic { background: #f4f7fa; border-color: #d1dce7; color: #315170; }
.btn.report { background: #4b86c7; color: #fff; }
.btn.soft { background: #edf5fd; border-color: #d3e4f5; color: #2f5f92; }
.btn.danger { background: #c94e4e; color: #fff; }
.btn.mini { padding: 7px 10px; font-size: 12px; }

.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th, td {
  padding: 10px 9px;
  border-bottom: 1px solid #e7edf3;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
thead th {
  background: #f4f8fb;
  color: #335371;
  font-weight: 800;
  position: sticky;
  top: 0;
}
td.left { text-align: left; white-space: normal; }
.nowrap { white-space: nowrap; }
.empty { padding: 28px 10px; color: #7c8b98; }

.status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f5eb;
  color: #2a7344;
  font-weight: 700;
}
.status.disused {
  background: #fff0f0;
  color: #a44343;
}
.status.accepted {
  background: #edf2ff;
  color: #3f5eb1;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(30, 65, 101, .05);
}
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 700;
  color: #3b556c;
}
.form-grid .span2 { grid-column: 1 / -1; }
.form-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}
.inline {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.report-title {
  text-align: center;
  color: #23496c;
  margin: 0 0 12px;
}
.report-meta {
  margin: 0 0 12px;
}
.report-wrap {
  margin-bottom: 16px;
}
.report-table th,
.report-table td {
  border: 1px solid #cad9e7;
}
.sign-area {
  display: flex;
  justify-content: flex-end;
  gap: 42px;
  margin-top: 18px;
}
.sign-area span {
  display: inline-block;
  width: 80px;
  border-bottom: 1px solid #808080;
  margin: 0 10px;
}

.label-body {
  background: #f0f4f8;
}
.print-actions {
  padding: 14px 18px 0;
}
.label-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
  gap: 18px;
  padding: 18px;
}
.qr-card {
  background: #fff;
  border: 1px solid #cfdce8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(23, 51, 78, .08);
}
.qr-card-head {
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #e1e8ef;
}
.qr-card-head img {
  height: 28px;
  width: auto;
  display: block;
}
.qr-card-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  padding: 14px;
}
.qr-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfdff;
  border: 1px solid #e2e9f1;
  border-radius: 12px;
  padding: 12px;
  min-height: 180px;
}
.qr-code-box img {
  width: 150px;
  height: 150px;
}
.qr-info-table {
  display: grid;
  gap: 8px;
}
.qr-info-table > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 6px;
}
.qr-info-table span {
  color: #6d7b88;
  font-weight: 700;
}
.qr-info-table strong {
  color: #253f59;
  word-break: break-word;
}

@media print {
  .sidebar,
  .content-header,
  .messages,
  .page-head,
  .filter,
  .print-actions,
  .no-print { display: none !important; }
  .app-shell { display: block; }
  .main-area { width: 100%; }
  .container { padding: 0; }
  body, .label-body { background: #fff; }
  .table-wrap, .panel, .stat-card, .summary > div, .hero-card { box-shadow: none; }
}

@media (max-width: 1200px) {
  .dashboard-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-panels.two-col { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .app-shell { flex-direction: column; }
  .sidebar { width: 100%; }
  .content-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px;
  }
  .container { padding: 18px 20px 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span2 { grid-column: 1; }
  .login-page {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
}
}

@media (max-width: 640px) {
  .dashboard-grid { grid-template-columns: 1fr; }
  .summary-tiles,
  .quick-links { grid-template-columns: 1fr; }
  .label-grid { grid-template-columns: 1fr; }
  .qr-card-body { grid-template-columns: 1fr; }
}


.public-wrap.no-bg {
  background: linear-gradient(135deg, #eef4fb 0%, #f8fbff 100%);
}
.public-wrap.no-bg::before,
.public-wrap.no-bg::after {
  display: none !important;
}

.home-mini-banner {
  margin-bottom: 16px;
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(30, 65, 101, .05);
}
.home-mini-banner img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  object-position: center;
}


.signature-box {
  background: #f8fbff;
  border: 1px solid #d6e3ef;
  border-radius: 14px;
  padding: 12px;
  display: inline-block;
  max-width: 100%;
}
.signature-canvas {
  display: block;
  background: #fff;
  border: 1px dashed #9db3c9;
  border-radius: 10px;
  width: 360px;
  max-width: 100%;
  height: 140px;
  touch-action: none;
}
.signature-actions {
  margin-top: 8px;
  text-align: right;
}
.approval-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}
.approval-step {
  background: #f4f8fc;
  border: 1px solid #dbe6f0;
  border-radius: 14px;
  padding: 14px;
}
.approval-step.done {
  background: #eaf5ff;
  border-color: #bcd7f2;
}
.approval-step b {
  display: block;
  color: #1f4c85;
  margin-bottom: 6px;
}
.approval-step span {
  color: #526a80;
}
.signature-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 12px;
}
.signature-preview-grid > div {
  background: #f8fbff;
  border: 1px solid #dbe6f0;
  border-radius: 14px;
  padding: 12px;
}
.signature-preview {
  width: 160px;
  max-width: 100%;
  height: 64px;
  object-fit: contain;
  border: 1px solid #dbe6f0;
  background: #fff;
  border-radius: 8px;
}
.signed-area {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}
.signed-box {
  width: 180px;
  min-height: 92px;
  border: 1px solid #222;
  text-align: center;
  padding: 8px;
  background: #fff;
}
.signed-box b {
  display: block;
  margin-bottom: 4px;
}
.signed-box span {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}
.signed-box img {
  max-width: 120px;
  max-height: 50px;
  object-fit: contain;
}
.print-page {
  background: #fff;
  padding: 18px;
}
@media (max-width: 900px) {
  .approval-steps,
  .signature-preview-grid {
    grid-template-columns: 1fr;
  }
}
@media print {
  .no-print,
  .print-actions {
    display: none !important;
  }
  .signed-area {
    page-break-inside: avoid;
  }
}


/* 재물조사표 출력용: 성명 (인) 위에 전자서명 겹침 */
.inline-sign-area {
  margin-top: 26px;
  margin-left: auto;
  width: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}
.inline-sign-row {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  align-items: center;
  column-gap: 12px;
  min-height: 42px;
}
.inline-sign-label {
  font-weight: 700;
  color: #111;
}
.inline-sign-name {
  text-align: right;
  padding-right: 8px;
  border-bottom: 1px solid transparent;
  min-height: 24px;
  line-height: 24px;
}
.stamp-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 42px;
}
.stamp-text {
  position: relative;
  z-index: 1;
  color: #111;
}
.stamp-signature {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 92px;
  height: 44px;
  object-fit: contain;
  transform: translate(-50%, -50%) rotate(-2deg);
  opacity: .88;
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media print {
  .inline-sign-area {
    page-break-inside: avoid;
  }
  .stamp-signature {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}


.submit-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff0f0;
  color: #a44343;
  font-weight: 700;
}
.submit-check.checked {
  background: #e8f5eb;
  color: #2a7344;
}
.submit-check input {
  width: 16px;
  height: 16px;
}


.panel-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.notice-list.compact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notice-item {
  display: block;
  padding: 10px 12px;
  border: 1px solid #dbe6f0;
  border-radius: 12px;
  background: #f8fbff;
  transition: .15s ease;
}
.notice-item:hover {
  background: #eef6ff;
}
.notice-item strong {
  display: block;
  margin-top: 5px;
  color: #213f60;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-item small {
  display: block;
  margin-top: 5px;
  color: #7b8fa2;
}
.notice-category {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e9f3ff;
  color: #245b96;
  font-size: 12px;
  font-weight: 700;
}
.notice-pin {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff1d8;
  color: #8a5a00;
  font-size: 12px;
  font-weight: 700;
  margin-left: 4px;
}
.notice-empty {
  padding: 20px;
}
.notice-board {
  display: grid;
  gap: 12px;
}
.notice-card {
  display: block;
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 14px rgba(30, 65, 101, .05);
}
.notice-card:hover {
  border-color: #9ec5ed;
  background: #fbfdff;
}
.notice-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.notice-date {
  margin-left: auto;
  color: #7c8fa2;
  font-size: 12px;
}
.notice-card h3 {
  margin: 0 0 8px;
  color: #1f4c85;
}
.notice-card p {
  margin: 0;
  color: #526a80;
  line-height: 1.6;
}
.notice-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid #e1e9f1;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.notice-detail-head h2 {
  margin: 10px 0 6px;
  color: #1f4c85;
}
.notice-content {
  line-height: 1.85;
  color: #24394d;
  white-space: normal;
  font-size: 15px;
}
.notice-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid #ccdae8;
  border-radius: 10px;
  background: #fbfdff;
  font-family: inherit;
  resize: vertical;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #435c73;
  padding: 11px 12px;
  background: #fbfdff;
  border: 1px solid #ccdae8;
  border-radius: 10px;
}
.checkbox-line input {
  width: auto;
}


.audit-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.audit-kpi {
  background: #fff;
  border: 1px solid #dbe6f0;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 6px 14px rgba(30, 65, 101, .05);
}
.audit-kpi span {
  display: block;
  color: #6d8499;
  margin-bottom: 8px;
}
.audit-kpi b {
  display: block;
  color: #1f4c85;
  font-size: 28px;
  margin-bottom: 4px;
}
.audit-kpi small {
  color: #7c8fa2;
}
.audit-kpi.warn b {
  color: #b26b00;
}
.audit-kpi.danger b {
  color: #b44242;
}
.audit-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.audit-checklist > div {
  background: #f8fbff;
  border: 1px solid #dbe6f0;
  border-radius: 14px;
  padding: 14px;
}
.audit-checklist b {
  display: block;
  color: #1f4c85;
  margin-bottom: 8px;
}
.audit-checklist p {
  margin: 0;
  color: #526a80;
  line-height: 1.6;
}
@media (max-width: 1200px) {
  .audit-kpi-grid,
  .audit-checklist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .audit-kpi-grid,
  .audit-checklist {
    grid-template-columns: 1fr;
  }
}


/* ===== v23 QR 출력: A4 1장 12개 라벨 ===== */
.qr-print-guide {
  max-width: 980px;
  margin: 12px auto 0;
  color: #526a80;
  font-size: 13px;
}
.label-body {
  background: #f0f4f8;
}
.label-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6mm;
  padding: 8mm;
  max-width: 210mm;
  margin: 0 auto;
}
.qr-card {
  background: #fff;
  border: 1px solid #cfdce8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  break-inside: avoid;
  page-break-inside: avoid;
  height: 64mm;
}
.qr-card-head {
  padding: 2.5mm 3mm;
  background: #fff;
  border-bottom: 1px solid #e1e8ef;
  height: 10mm;
  display: flex;
  align-items: center;
}
.qr-card-head img {
  height: 5.5mm;
  width: auto;
  display: block;
}
.qr-card-body {
  display: grid;
  grid-template-columns: 24mm 1fr;
  gap: 2.5mm;
  padding: 3mm;
}
.qr-code-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfdff;
  border: 1px solid #e2e9f1;
  border-radius: 5px;
  padding: 1.5mm;
  min-height: 24mm;
}
.qr-code-box img {
  width: 21mm;
  height: 21mm;
}
.qr-info-table {
  display: grid;
  gap: 1.2mm;
  font-size: 9px;
  line-height: 1.2;
  min-width: 0;
}
.qr-info-table > div {
  display: grid;
  grid-template-columns: 15mm 1fr;
  gap: 1.5mm;
  align-items: start;
  border-bottom: 1px solid #eef2f6;
  padding-bottom: 1mm;
}
.qr-info-table span {
  color: #6d7b88;
  font-weight: 700;
}
.qr-info-table strong {
  color: #253f59;
  word-break: break-all;
  white-space: normal;
  font-weight: 700;
}

/* ===== v23 재물조사표 출력 잘림 방지 ===== */
.report-wrap {
  overflow: visible !important;
}
.report-table {
  width: 100% !important;
  table-layout: fixed;
  font-size: 10px;
}
.report-table th,
.report-table td {
  white-space: normal !important;
  word-break: break-word;
  padding: 4px 3px;
}
.report-table th:nth-child(1),
.report-table td:nth-child(1) { width: 28px; }
.report-table th:nth-child(2),
.report-table td:nth-child(2) { width: 15%; }
.report-table th:nth-child(3),
.report-table td:nth-child(3) { width: 13%; }
.report-table th:nth-child(4),
.report-table td:nth-child(4) { width: 8%; }
.report-table th:nth-child(5),
.report-table td:nth-child(5) { width: 8%; }
.report-table th:nth-child(6),
.report-table td:nth-child(6) { width: 6%; }
.report-table th:nth-child(11),
.report-table td:nth-child(11) { width: 12%; }

@page {
  size: A4 landscape;
  margin: 8mm;
}

@media print {
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .no-print,
  .print-actions,
  .sidebar,
  .content-header,
  .messages,
  .page-head,
  .filter {
    display: none !important;
  }

  .label-body {
    background: #fff !important;
    margin: 0;
  }

  .label-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4mm !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .qr-card {
    height: 64mm !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .qr-card:nth-child(12n) {
    page-break-after: always;
  }

  .qr-card:last-child {
    page-break-after: auto;
  }

  .qr-card-head {
    height: 9mm !important;
    padding: 2mm 2.5mm !important;
  }

  .qr-card-head img {
    height: 5mm !important;
  }

  .qr-card-body {
    grid-template-columns: 23mm 1fr !important;
    gap: 2mm !important;
    padding: 2.5mm !important;
  }

  .qr-code-box {
    min-height: 23mm !important;
    padding: 1mm !important;
  }

  .qr-code-box img {
    width: 20mm !important;
    height: 20mm !important;
  }

  .qr-info-table {
    font-size: 8.5px !important;
    gap: .9mm !important;
  }

  .qr-info-table > div {
    grid-template-columns: 17mm 1fr !important;
    gap: 1mm !important;
    padding-bottom: .7mm !important;
  }

  .app-shell {
    display: block !important;
  }

  .main-area,
  .container {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .table-wrap {
    overflow: visible !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .report-title {
    font-size: 18px !important;
    margin: 0 0 6px !important;
  }

  .report-meta {
    margin: 0 0 6px !important;
    font-size: 12px !important;
  }

  .report-table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    font-size: 8.2px !important;
    transform: none !important;
  }

  .report-table th,
  .report-table td {
    padding: 2.5px 2px !important;
    white-space: normal !important;
    word-break: break-word !important;
    line-height: 1.2 !important;
  }

  .inline-sign-area {
    width: 420px !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    gap: 6px !important;
  }

  .inline-sign-row {
    grid-template-columns: 80px 1fr 60px !important;
    min-height: 30px !important;
  }

  .stamp-wrap {
    width: 58px !important;
    height: 30px !important;
  }

  .stamp-signature {
    width: 74px !important;
    height: 32px !important;
  }
}


/* ===== v24 QR 출력 정돈: 여백 축소, 가운데 맞춤, 긴 글자 정리 ===== */
.qr-print-guide {
  max-width: 980px;
  margin: 10px auto 0;
  color: #526a80;
  font-size: 13px;
}
.label-body {
  background: #f0f4f8;
}
.label-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.5mm;
  padding: 7mm;
  max-width: 210mm;
  margin: 0 auto;
}
.qr-card {
  background: #fff;
  border: 1px solid #c8d7e5;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: none;
  break-inside: avoid;
  page-break-inside: avoid;
  height: 62mm;
  display: flex;
  flex-direction: column;
}
.qr-card-head {
  padding: 2mm 2.5mm;
  background: #fff;
  border-bottom: 1px solid #e1e8ef;
  height: 8mm;
  min-height: 8mm;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.qr-card-head img {
  height: 4.6mm;
  width: auto;
  display: block;
}
.qr-card-body {
  flex: 1;
  display: grid;
  grid-template-columns: 25mm 1fr;
  gap: 2mm;
  padding: 2.4mm;
  align-items: center;
}
.qr-code-box {
  width: 25mm;
  height: 35mm;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fbfdff;
  border: 1px solid #e2e9f1;
  border-radius: 5px;
  padding: 1mm;
  min-height: 0;
}
.qr-code-box img {
  width: 22.5mm;
  height: 22.5mm;
  display: block;
}
.qr-info-table {
  height: 35mm;
  display: grid;
  grid-template-rows: 1.35fr 1.35fr repeat(4, 1fr);
  gap: .8mm;
  font-size: 8.2px;
  line-height: 1.18;
  min-width: 0;
  align-content: center;
}
.qr-info-table > div {
  display: grid;
  grid-template-columns: 12.5mm minmax(0, 1fr);
  gap: 1mm;
  align-items: center;
  border-bottom: 1px solid #edf2f7;
  padding-bottom: .45mm;
  min-width: 0;
}
.qr-info-table span {
  color: #5f7182;
  font-weight: 800;
  text-align: center;
  background: #f3f7fb;
  border-radius: 3px;
  padding: .7mm .4mm;
  white-space: nowrap;
}
.qr-info-table strong {
  color: #253f59;
  word-break: keep-all;
  overflow-wrap: anywhere;
  white-space: normal;
  font-weight: 700;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qr-info-table > div:nth-child(1) strong,
.qr-info-table > div:nth-child(2) strong {
  -webkit-line-clamp: 2;
  max-height: 2.4em;
}
.qr-info-table > div:nth-child(n+3) strong {
  -webkit-line-clamp: 1;
  max-height: 1.2em;
}

/* 인쇄 전용: A4 세로 12개 기준 */
@page {
  size: A4 portrait;
  margin: 7mm;
}
@media print {
  .no-print,
  .print-actions {
    display: none !important;
  }

  .label-body {
    background: #fff !important;
    margin: 0 !important;
  }

  .label-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 4mm !important;
    padding: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  .qr-card {
    height: 64mm !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }

  .qr-card:nth-child(12n) {
    page-break-after: always;
  }

  .qr-card:last-child {
    page-break-after: auto;
  }

  .qr-card-head {
    height: 8mm !important;
    min-height: 8mm !important;
    padding: 1.8mm 2.3mm !important;
  }

  .qr-card-head img {
    height: 4.5mm !important;
  }

  .qr-card-body {
    grid-template-columns: 25mm 1fr !important;
    gap: 1.8mm !important;
    padding: 2.2mm !important;
    align-items: center !important;
  }

  .qr-code-box {
    width: 25mm !important;
    height: 36mm !important;
    padding: 1mm !important;
  }

  .qr-code-box img {
    width: 22.5mm !important;
    height: 22.5mm !important;
  }

  .qr-info-table {
    height: 36mm !important;
    font-size: 8px !important;
    gap: .75mm !important;
  }

  .qr-info-table > div {
    grid-template-columns: 12mm minmax(0, 1fr) !important;
    gap: .8mm !important;
    padding-bottom: .35mm !important;
  }

  .qr-info-table span {
    padding: .6mm .3mm !important;
  }
}

/* 재물조사표는 출력 화면에서 가로 방향으로 유지 */
body.print-page {
  background: #fff;
}
@media print {
  body.print-page {
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* ===== v25 실무용 UI 보정: 차분한 블루/그레이, 간결한 업무 시스템 스타일 ===== */
:root {
  --biz-blue: #24527a;
  --biz-blue-dark: #1b3f5f;
  --biz-blue-soft: #e9f1f8;
  --biz-gray-00: #ffffff;
  --biz-gray-01: #f6f8fa;
  --biz-gray-02: #eef2f5;
  --biz-gray-03: #d7e0e8;
  --biz-gray-04: #b8c6d3;
  --biz-text: #1f2f3d;
  --biz-muted: #667788;
  --biz-danger: #9f3f3f;
  --biz-warn: #8a6200;
  --biz-success: #2f6f49;
}

body {
  background: #f3f6f9 !important;
  color: var(--biz-text) !important;
  font-size: 13px !important;
}

/* 좌측 메뉴: 색은 유지하되 업무용으로 단정하게 */
.sidebar {
  width: 248px !important;
  background: #214d73 !important;
  box-shadow: none !important;
  padding: 16px 14px !important;
  gap: 14px !important;
}
.sidebar-brand {
  gap: 10px !important;
}
.sidebar-logo-panel {
  width: 68px !important;
  border-radius: 8px !important;
  padding: 7px 9px !important;
  box-shadow: none !important;
}
.sidebar-logo {
  width: 50px !important;
}
.sidebar-brand-text strong {
  font-size: 17px !important;
}
.sidebar-brand-text span {
  font-size: 11px !important;
}
.sidebar-role {
  border-radius: 8px !important;
  padding: 11px !important;
  background: rgba(255,255,255,.09) !important;
}
.role-badge {
  background: #dceaf7 !important;
  color: #204c72 !important;
  height: 28px !important;
  min-width: 48px !important;
  font-size: 12px !important;
}
.sidebar-menu {
  gap: 4px !important;
}
.sidebar-menu a {
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}
.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: rgba(255,255,255,.16) !important;
}

/* 상단 헤더: 크기 축소 */
.content-header {
  padding: 18px 24px !important;
  background: #fff !important;
  border-bottom: 1px solid var(--biz-gray-03) !important;
}
.content-header h1 {
  font-size: 22px !important;
  color: var(--biz-blue-dark) !important;
  margin-bottom: 4px !important;
}
.content-header p {
  font-size: 13px !important;
  color: var(--biz-muted) !important;
}
.mini-card {
  border-radius: 6px !important;
  padding: 8px 12px !important;
  background: #f8fafc !important;
  border: 1px solid var(--biz-gray-03) !important;
  min-width: 105px !important;
}

/* 기본 여백 축소 */
.container {
  padding: 18px 22px 28px !important;
}
.page-head {
  margin-bottom: 10px !important;
}
.panel,
.table-wrap,
.summary > div,
.stat-card,
.login-card,
.notice-card,
.dashboard-hero .hero-card {
  border-radius: 8px !important;
  box-shadow: none !important;
  border: 1px solid var(--biz-gray-03) !important;
  background: #fff !important;
}
.panel {
  padding: 14px !important;
}
.panel-head {
  margin-bottom: 10px !important;
}
.panel-head h3 {
  font-size: 16px !important;
  color: var(--biz-blue-dark) !important;
}

/* 홈 화면: 배너는 낮고 공공기관 안내 배너 느낌으로 */
.home-mini-banner {
  border-radius: 8px !important;
  box-shadow: none !important;
  margin-bottom: 12px !important;
}
.home-mini-banner img {
  height: 92px !important;
  object-fit: cover !important;
  opacity: .92 !important;
}

/* 통계 카드 간결화 */
.dashboard-grid {
  gap: 10px !important;
  margin-bottom: 12px !important;
}
.stat-card {
  padding: 13px 15px !important;
}
.stat-card span,
.summary span,
.audit-kpi span {
  font-size: 12px !important;
  color: var(--biz-muted) !important;
}
.stat-card strong,
.summary b,
.audit-kpi b {
  font-size: 22px !important;
  color: var(--biz-blue-dark) !important;
}
.home-panels.two-col {
  gap: 12px !important;
}
.summary {
  gap: 10px !important;
  margin-bottom: 12px !important;
}
.summary > div {
  min-width: 130px !important;
  padding: 12px 14px !important;
}

/* 버튼: 색상 과함 줄이기 */
.btn {
  border-radius: 5px !important;
  padding: 8px 11px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.btn.primary {
  background: #24527a !important;
  border-color: #24527a !important;
  color: #fff !important;
}
.btn.report {
  background: #476b8a !important;
  border-color: #476b8a !important;
  color: #fff !important;
}
.btn.basic {
  background: #f4f6f8 !important;
  border-color: #cbd6df !important;
  color: #2c4458 !important;
}
.btn.soft {
  background: #eef4f9 !important;
  border-color: #cbdbe8 !important;
  color: #24527a !important;
}
.btn.danger {
  background: #a04a4a !important;
  border-color: #a04a4a !important;
  color: #fff !important;
}
.btn.mini {
  padding: 5px 8px !important;
  font-size: 11px !important;
}

/* 검색 영역 */
.filter {
  border-radius: 8px !important;
  padding: 10px !important;
  margin-bottom: 12px !important;
  gap: 8px !important;
}
.filter input,
.filter select,
.form-grid input,
.form-grid select,
.small-input,
.upload-form input[type="file"],
.notice-form textarea {
  border-radius: 5px !important;
  border: 1px solid #c8d3dd !important;
  padding: 9px 10px !important;
  background: #fff !important;
  font-size: 13px !important;
}

/* 표: 실제 업무용처럼 촘촘하고 읽기 좋게 */
.table-wrap {
  border-radius: 8px !important;
}
table {
  font-size: 12px !important;
}
th, td {
  padding: 7px 8px !important;
  border-bottom: 1px solid #e3e9ef !important;
}
thead th {
  background: #edf3f8 !important;
  color: #233f58 !important;
  font-weight: 700 !important;
  position: sticky;
  top: 0;
}
tbody tr:nth-child(even) {
  background: #fbfcfd;
}
tbody tr:hover {
  background: #f2f7fb;
}
td.left {
  line-height: 1.35 !important;
}

/* 상태 표시도 차분하게 */
.status {
  border-radius: 4px !important;
  padding: 3px 7px !important;
  background: #e8f2ec !important;
  color: #2f6f49 !important;
  font-size: 11px !important;
}
.status.disused {
  background: #f7e9e9 !important;
  color: #9f3f3f !important;
}
.status.accepted {
  background: #e9f1f8 !important;
  color: #24527a !important;
}

/* 알림 카드: 게시판 느낌 */
.notice-item,
.notice-card {
  border-radius: 7px !important;
  box-shadow: none !important;
}
.notice-category,
.notice-pin {
  border-radius: 4px !important;
  font-size: 11px !important;
}
.notice-category {
  background: #e8f0f7 !important;
  color: #24527a !important;
}
.notice-pin {
  background: #f7efd9 !important;
  color: #74530b !important;
}

/* 감사 리포트 */
.audit-kpi-grid {
  gap: 10px !important;
}
.audit-kpi {
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 13px 14px !important;
}
.audit-kpi.warn b {
  color: #8a6200 !important;
}
.audit-kpi.danger b {
  color: #9f3f3f !important;
}
.audit-checklist {
  gap: 10px !important;
}
.audit-checklist > div {
  border-radius: 7px !important;
  padding: 12px !important;
}

/* 폼 */
.form-grid {
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 14px !important;
  gap: 11px !important;
}
.form-grid label {
  font-size: 13px !important;
  gap: 5px !important;
}

/* 로그인은 과한 투명감 줄이기 */
.login-card {
  background: rgba(255,255,255,.97) !important;
  border-radius: 10px !important;
  backdrop-filter: none !important;
}
.login-card h1 {
  font-size: 23px !important;
}
.login-desc {
  font-size: 13px !important;
}

/* QR 출력 화면은 기존 출력 크기 유지하되 화면상 카드도 단정하게 */
.qr-card {
  border-radius: 5px !important;
}
.qr-info-table span {
  background: #f2f5f8 !important;
  color: #4d6172 !important;
}

/* 모바일 */
@media (max-width: 900px) {
  .sidebar {
    width: 100% !important;
  }
  .content-header {
    padding: 15px 18px !important;
  }
  .container {
    padding: 15px 16px 24px !important;
  }
}


/* ===== v26 서울도시철도ENG 홈페이지 참고형 공식 업무시스템 UI ===== */
:root {
  --official-blue: #003b79;
  --official-blue-2: #005bac;
  --official-navy: #1d3554;
  --official-cyan: #09a9c9;
  --official-gray: #f3f5f7;
  --official-border: #d8e1ea;
  --official-text: #202b36;
}

/* 전체 톤 */
body {
  background: #f4f6f8 !important;
  color: var(--official-text) !important;
}

/* 사이드바: 홈페이지의 진한 블루계열을 차분하게 적용 */
.sidebar {
  background: linear-gradient(180deg, #183a5e 0%, #102d4b 100%) !important;
  width: 252px !important;
  padding: 18px 14px !important;
  border-right: 1px solid #0f2944 !important;
}
.sidebar-brand {
  background: rgba(255,255,255,.96) !important;
  border-radius: 4px !important;
  padding: 10px 8px !important;
  margin-bottom: 8px !important;
  color: #1d3554 !important;
  border-left: 4px solid var(--official-blue-2) !important;
}
.sidebar-logo-panel {
  background: transparent !important;
  width: 82px !important;
  padding: 0 !important;
}
.sidebar-logo {
  width: 76px !important;
  height: auto !important;
}
.sidebar-brand-text strong {
  color: #1d3554 !important;
  font-size: 16px !important;
  letter-spacing: -.3px;
}
.sidebar-brand-text span {
  color: #667789 !important;
  font-size: 10.5px !important;
}
.sidebar-role {
  background: rgba(255,255,255,.08) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 4px !important;
}
.sidebar-menu a {
  border-radius: 3px !important;
  border-left: 3px solid transparent !important;
  padding: 11px 12px !important;
  color: rgba(255,255,255,.86) !important;
}
.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: rgba(255,255,255,.12) !important;
  border-left-color: var(--official-cyan) !important;
  color: #fff !important;
}

/* 홈페이지형 상단 로고바 */
.corporate-brandbar {
  height: 66px;
  background: #fff;
  border-bottom: 1px solid #d8e1ea;
  display: flex;
  align-items: center;
  padding: 0 26px;
  gap: 18px;
}
.corporate-logo-wrap {
  display: flex;
  align-items: center;
  padding-right: 18px;
  border-right: 1px solid #e2e8ee;
}
.corporate-logo {
  height: 38px;
  width: auto;
  display: block;
}
.corporate-system-title {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.corporate-system-title strong {
  font-size: 19px;
  color: var(--official-blue);
  letter-spacing: -.4px;
}
.corporate-system-title span {
  font-size: 11px;
  color: #758494;
}
.corporate-user-info {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #506273;
  font-size: 12px;
}
.corporate-user-info span {
  background: #e9f1f8;
  color: var(--official-blue);
  border: 1px solid #cdddec;
  border-radius: 3px;
  padding: 4px 7px;
}
.corporate-user-info b {
  font-weight: 700;
}

/* 페이지 헤더를 공문/업무시스템처럼 간결하게 */
.content-header {
  padding: 16px 26px !important;
  background: #fbfcfd !important;
  border-bottom: 1px solid #d8e1ea !important;
}
.content-header h1 {
  font-size: 21px !important;
  color: #183a5e !important;
  padding-left: 10px;
  border-left: 4px solid var(--official-blue-2);
}
.content-header p {
  color: #657687 !important;
}

/* 홈 배너: 홈페이지 메인 슬라이드 느낌으로 */
.home-mini-banner {
  border: 1px solid #cfd9e3 !important;
  border-radius: 3px !important;
  margin-bottom: 14px !important;
  background: #0f2944 !important;
  overflow: hidden !important;
  height: 118px !important;
}
.home-mini-banner img {
  height: 118px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  opacity: .94 !important;
}

/* 로그인: 공식 홈페이지 배너를 배경으로 하고 로고를 명확히 */
.public-wrap {
  background: #eef3f7 !important;
}
.public-wrap::before {
  background:
    linear-gradient(rgba(5, 33, 60, .26), rgba(5, 33, 60, .32)),
    url("hero_visual.png") center center / cover no-repeat !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.public-wrap::after {
  display: none !important;
}
.official-login {
  justify-content: flex-end !important;
  max-width: 1180px !important;
  padding: 42px 54px !important;
}
.official-login-panel,
.login-card {
  width: 420px !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid #d8e1ea !important;
  border-radius: 3px !important;
  box-shadow: 0 18px 34px rgba(0,0,0,.18) !important;
  padding: 32px 34px !important;
}
.official-login-logo {
  border-bottom: 1px solid #e1e7ed;
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.official-login-logo img {
  height: 42px;
  width: auto;
}
.login-card h1,
.official-login-panel h1 {
  text-align: left !important;
  color: var(--official-blue) !important;
  font-size: 25px !important;
  margin: 0 0 8px !important;
}
.login-desc {
  text-align: left !important;
  color: #5e7081 !important;
  margin-bottom: 22px !important;
}

/* 카드류: 공식 관리시스템처럼 평평하고 정렬감 있게 */
.panel,
.table-wrap,
.summary > div,
.stat-card,
.audit-kpi,
.notice-card {
  border-radius: 3px !important;
  border: 1px solid var(--official-border) !important;
  box-shadow: none !important;
}
.panel-head h3 {
  color: #183a5e !important;
}
.stat-card strong,
.summary b,
.audit-kpi b {
  color: var(--official-blue) !important;
}

/* 표 헤더: 홈페이지의 차분한 블루 그레이 */
thead th {
  background: #e9f0f6 !important;
  color: #1d3554 !important;
  border-top: 1px solid #cbd8e4 !important;
}
tbody tr:hover {
  background: #f4f8fb !important;
}

/* 버튼: 공식 홈페이지 색감 */
.btn.primary {
  background: var(--official-blue) !important;
  border-color: var(--official-blue) !important;
}
.btn.report {
  background: #2b668f !important;
  border-color: #2b668f !important;
}
.btn.soft {
  background: #eef5fb !important;
  border-color: #c8dcea !important;
  color: var(--official-blue) !important;
}

/* 알림을 공지사항 스타일로 */
.notice-item strong,
.notice-card h3 {
  color: #183a5e !important;
}
.notice-category {
  background: #e8f0f7 !important;
  color: var(--official-blue) !important;
  border: 1px solid #c9d8e6;
}
.notice-pin {
  background: #eef7fa !important;
  color: #007a95 !important;
  border: 1px solid #c5e7ef;
}

/* 화면 하단 여백 정돈 */
.container {
  max-width: 100%;
}

/* QR/출력은 기존 출력 최적화 유지 */
@media print {
  .corporate-brandbar {
    display: none !important;
  }
}

@media (max-width: 900px) {
  .corporate-brandbar {
    height: auto;
    padding: 12px 16px;
    flex-wrap: wrap;
  }
  .corporate-user-info {
    margin-left: 0;
  }
  .official-login {
    justify-content: center !important;
    padding: 28px 18px !important;
  }
  .official-login-panel,
  .login-card {
    width: 100% !important;
  }
}


/* ===== v27 로고/상단배너 정리 ===== */

/* 좌측 상단 흰 박스 느낌 제거 */
.sidebar-brand.no-side-logo {
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  padding: 6px 8px 12px !important;
  margin-bottom: 6px !important;
  color: #fff !important;
  border-bottom: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 0 !important;
}
.sidebar-brand.no-side-logo .sidebar-brand-text strong {
  color: #fff !important;
  font-size: 18px !important;
  letter-spacing: -.4px;
}
.sidebar-brand.no-side-logo .sidebar-brand-text span {
  color: rgba(255,255,255,.72) !important;
  font-size: 11px !important;
}

/* 좌측 로고 관련 박스가 남아도 보이지 않게 */
.sidebar-brand.no-side-logo .sidebar-logo-panel,
.sidebar-brand.no-side-logo .sidebar-logo {
  display: none !important;
}

/* 상단 로고바는 로고 위주로 간결하게 */
.corporate-brandbar {
  height: 58px !important;
  padding: 0 24px !important;
  gap: 12px !important;
}
.corporate-logo-wrap {
  border-right: 0 !important;
  padding-right: 0 !important;
}
.corporate-logo {
  height: 36px !important;
}

/* 우측 상단 비품관리시스템 텍스트 영역 제거 이후 균형 조정 */
.corporate-user-info {
  margin-left: auto !important;
}

/* 홈 상단 배너 제거로 생긴 여백 정리 */
.container > .dashboard-grid:first-child,
.dashboard-grid {
  margin-top: 0 !important;
}

/* 홈 첫 화면이 너무 비어 보이지 않도록 통계 카드 상단 정돈 */
.stat-card {
  min-height: 82px !important;
}

/* 기존 홈배너 관련 스타일은 기능상 남아도 화면 영향 없도록 축소 */
.home-mini-banner {
  display: none !important;
}

/* 콘텐츠 헤더가 반복적으로 시스템명을 강조하지 않도록 좀 더 차분하게 */
.content-header {
  padding: 15px 24px !important;
}
.content-header h1 {
  font-size: 20px !important;
}

/* 로그인 화면은 기존 홈페이지 느낌 유지 */
.official-login-logo img {
  height: 40px !important;
}


/* ===== v28 로그인 화면 전면 정리 ===== */
/* 비밀번호 변경 화면은 배경 없이 유지 */
.public-wrap:not(.no-bg) {
  background: #eef3f7 !important;
}
.public-wrap:not(.no-bg)::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,29,54,.28) 0%, rgba(7,29,54,.12) 42%, rgba(255,255,255,.08) 100%),
    url("login_bg_clean.png") center center / cover no-repeat !important;
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
  pointer-events: none;
  z-index: 0;
}
.public-wrap:not(.no-bg)::after {
  display: none !important;
}

/* 기존 official-login 스타일 영향 제거 */
.clean-login,
.official-login,
.login-page {
  position: relative !important;
  z-index: 2 !important;
  min-height: 100vh !important;
  max-width: none !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  padding: 48px 72px !important;
  margin: 0 !important;
}

.clean-login-card {
  width: 420px;
  background: #ffffff;
  border: 1px solid #d7e1ea;
  border-radius: 4px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
  padding: 34px 36px 32px;
}

.clean-login-logo {
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e1e7ed;
  background: #ffffff;
}
.clean-login-logo img {
  display: block;
  height: 42px;
  width: auto;
  background: #ffffff;
}

.clean-login-title h1 {
  margin: 0 0 6px;
  color: #003b79;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -.5px;
}
.clean-login-title p {
  margin: 0 0 24px;
  color: #5d6f80;
  font-size: 13px;
}

.clean-login-form {
  width: 100%;
}
.clean-login-form label {
  display: block;
  margin: 13px 0 6px;
  color: #2d4051;
  font-size: 13px;
  font-weight: 700;
}
.clean-login-form input {
  display: block;
  width: 100%;
  height: 42px;
  padding: 9px 11px;
  border: 1px solid #c4d0db;
  border-radius: 3px;
  background: #ffffff;
  color: #1f2f3d;
  font-size: 14px;
  box-sizing: border-box;
}
.clean-login-form input:focus {
  outline: none;
  border-color: #003b79;
  box-shadow: 0 0 0 2px rgba(0, 59, 121, .12);
}
.clean-login-form .btn.full {
  width: 100%;
  height: 43px;
  margin-top: 20px;
  border-radius: 3px !important;
  font-size: 14px !important;
}

/* 이전 로그인 카드/패널 스타일과 충돌 방지 */
.official-login-panel,
.login-card.simple {
  background: #ffffff !important;
}

/* 비밀번호 변경 화면은 중앙 카드만 깔끔하게 */
.public-wrap.no-bg .login-page {
  justify-content: center !important;
  padding: 32px !important;
}
.public-wrap.no-bg .login-card {
  background: #ffffff !important;
  width: 420px !important;
  border-radius: 4px !important;
}
.public-wrap.no-bg::before,
.public-wrap.no-bg::after {
  display: none !important;
}

@media (max-width: 900px) {
  .clean-login,
  .official-login,
  .login-page {
    justify-content: center !important;
    padding: 28px 18px !important;
  }
  .clean-login-card {
    width: 100%;
    max-width: 420px;
    padding: 30px 26px;
  }
  .clean-login-logo img {
    height: 38px;
  }
}


/* ===== v29 로그인/비밀번호변경 화면 중앙 정렬 + 새 배경 적용 ===== */

/* 로그인 배경: 사용자가 준 이미지 그대로 사용 */
.public-wrap:not(.no-bg)::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,27,48,.26) 0%, rgba(8,27,48,.18) 40%, rgba(8,27,48,.12) 100%),
    url("login_bg_clean.png") center center / cover no-repeat !important;
  opacity: 1 !important;
  pointer-events: none;
  z-index: 0;
}

/* 로그인 화면은 무조건 정중앙 */
.public-wrap:not(.no-bg) .login-page,
.public-wrap:not(.no-bg) .clean-login,
.public-wrap:not(.no-bg) .official-login {
  min-height: 100vh !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 32px !important;
  margin: 0 !important;
}

/* 로그인 카드: 로고 배경 흰색과 카드 흰색 통일 */
.clean-login-card,
.official-login-panel,
.login-card {
  width: 430px !important;
  max-width: 430px !important;
  background: #ffffff !important;
  border: 1px solid #d7e1ea !important;
  border-radius: 4px !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, .20) !important;
  padding: 34px 36px 32px !important;
  position: relative;
  z-index: 2;
}

.clean-login-logo,
.official-login-logo {
  background: #ffffff !important;
  padding-bottom: 18px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #e1e7ed !important;
}
.clean-login-logo img,
.official-login-logo img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  background: #ffffff !important;
}

/* 로그인 입력칸 정렬 재보정 */
.clean-login-form,
.official-login-panel form,
.login-card form {
  width: 100% !important;
}
.clean-login-form label,
.official-login-panel label,
.login-card label {
  display: block !important;
  margin: 13px 0 6px !important;
  color: #2d4051 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.clean-login-form input,
.official-login-panel input,
.login-card input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  padding: 9px 11px !important;
  border: 1px solid #c4d0db !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  color: #1f2f3d !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}
.clean-login-form .btn.full,
.official-login-panel .btn.full,
.login-card .btn.full {
  width: 100% !important;
  height: 43px !important;
  margin-top: 20px !important;
  border-radius: 3px !important;
}

/* 비밀번호 변경 화면도 정중앙 */
.public-wrap.no-bg,
.public-wrap.no-bg .app-shell,
.public-wrap.no-bg .main-area {
  min-height: 100vh !important;
}
.public-wrap.no-bg .app-shell {
  display: block !important;
}
.public-wrap.no-bg .main-area {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
}
.public-wrap.no-bg .content-header,
.public-wrap.no-bg .corporate-brandbar,
.public-wrap.no-bg .sidebar {
  display: none !important;
}
.public-wrap.no-bg .container {
  width: 100% !important;
  max-width: none !important;
  padding: 32px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
.public-wrap.no-bg .login-card {
  margin: 0 auto !important;
  width: 430px !important;
  max-width: 430px !important;
  background: #ffffff !important;
}

/* 모바일 보정 */
@media (max-width: 900px) {
  .public-wrap:not(.no-bg) .login-page,
  .public-wrap:not(.no-bg) .clean-login,
  .public-wrap:not(.no-bg) .official-login,
  .public-wrap.no-bg .container {
    padding: 20px !important;
  }

  .clean-login-card,
  .official-login-panel,
  .login-card,
  .public-wrap.no-bg .login-card {
    width: 100% !important;
    max-width: 420px !important;
    padding: 28px 24px !important;
  }

  .clean-login-logo img,
  .official-login-logo img {
    height: 38px !important;
  }
}


/* ===== v30 로그인 배경 단독 적용 + 진짜 중앙 정렬 ===== */
/* 로그인/비밀번호변경 공통 래퍼를 중앙 정렬 컨테이너로 사용 */
.public-wrap {
  position: relative !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #eef3f7 !important;
}

/* 기존 배경 위에 덧씌운 효과 제거하고, 새 이미지 하나만 사용 */
.public-wrap:not(.no-bg)::before {
  content: "" !important;
  position: fixed !important;
  inset: 0 !important;
  background: url("login_bg_clean.png") center center / cover no-repeat !important;
  filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}
.public-wrap::after,
.public-wrap:not(.no-bg)::after {
  display: none !important;
}

/* 로그인/비밀번호변경 메시지는 상단에 고정 */
.public-wrap .messages.login-messages {
  position: fixed !important;
  top: 22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: min(440px, calc(100% - 32px)) !important;
  margin: 0 !important;
  z-index: 5 !important;
}

/* 로그인 화면은 정확히 정중앙 */
.public-wrap .login-page,
.public-wrap .clean-login,
.public-wrap .official-login {
  position: relative !important;
  z-index: 2 !important;
  min-height: auto !important;
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 24px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

.clean-login-card,
.official-login-panel,
.login-card {
  width: 430px !important;
  max-width: min(430px, calc(100vw - 40px)) !important;
  background: #ffffff !important;
  border: 1px solid #d7e1ea !important;
  border-radius: 4px !important;
  box-shadow: 0 18px 36px rgba(0,0,0,.20) !important;
  padding: 34px 36px 32px !important;
  position: relative !important;
  z-index: 2 !important;
  margin: 0 auto !important;
}

.clean-login-logo,
.official-login-logo {
  background: #ffffff !important;
  padding-bottom: 18px !important;
  margin-bottom: 18px !important;
  border-bottom: 1px solid #e1e7ed !important;
}
.clean-login-logo img,
.official-login-logo img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  background: #ffffff !important;
}

.clean-login-form,
.official-login-panel form,
.login-card form {
  width: 100% !important;
}
.clean-login-form label,
.official-login-panel label,
.login-card label {
  display: block !important;
  margin: 13px 0 6px !important;
  color: #2d4051 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.clean-login-form input,
.official-login-panel input,
.login-card input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  padding: 9px 11px !important;
  border: 1px solid #c4d0db !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  color: #1f2f3d !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
}
.clean-login-form .btn.full,
.official-login-panel .btn.full,
.login-card .btn.full {
  width: 100% !important;
  height: 43px !important;
  margin-top: 20px !important;
  border-radius: 3px !important;
}

/* 비밀번호 변경 화면도 배경 없이 진짜 중앙 */
.public-wrap.no-bg {
  background: #eef3f7 !important;
}
.public-wrap.no-bg::before,
.public-wrap.no-bg::after {
  display: none !important;
}
.public-wrap.no-bg > .login-card {
  position: relative !important;
  z-index: 2 !important;
  width: 430px !important;
  max-width: min(430px, calc(100vw - 40px)) !important;
  margin: 0 auto !important;
}

@media (max-width: 900px) {
  .public-wrap .login-page,
  .public-wrap .clean-login,
  .public-wrap .official-login {
    padding: 20px !important;
  }
  .clean-login-card,
  .official-login-panel,
  .login-card,
  .public-wrap.no-bg > .login-card {
    width: 100% !important;
    max-width: 420px !important;
    padding: 28px 24px !important;
  }
  .clean-login-logo img,
  .official-login-logo img {
    height: 38px !important;
  }
}


/* ===== v31 부서담당자 상태변경 처리 ===== */
.status-change-summary h3 {
  margin-top: 0;
  color: #183a5e;
}
.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.status-summary-grid > div {
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 10px 12px;
}
.status-summary-grid span {
  display: block;
  font-size: 12px;
  color: #667788;
  margin-bottom: 5px;
}
.status-summary-grid b {
  color: #1f2f3d;
}
.status-change-form textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #c8d3dd;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box;
}
.status-signature {
  width: 100%;
}
.status-signature .signature-canvas {
  width: 420px;
  max-width: 100%;
  height: 150px;
}
.history-signature {
  max-width: 110px;
  max-height: 42px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d8e1ea;
  border-radius: 3px;
}
@media (max-width: 900px) {
  .status-summary-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== v32 상태변경 상세확인 ===== */
.status-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.status-detail-grid > div {
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 10px 12px;
}
.status-detail-grid span {
  display: block;
  color: #667788;
  font-size: 12px;
  margin-bottom: 5px;
}
.status-detail-grid b {
  color: #1f2f3d;
  word-break: break-word;
}
.reason-box {
  min-height: 90px;
  white-space: pre-wrap;
  line-height: 1.7;
  background: #fff;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 14px;
  color: #24394d;
}
.signature-detail-box {
  width: 420px;
  max-width: 100%;
  min-height: 170px;
  background: #fff;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 18px;
  position: relative;
}
.signature-detail-box img {
  display: block;
  width: 260px;
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin: 14px auto 0;
}
.signature-name {
  text-align: right;
  font-size: 16px;
  font-weight: 700;
  color: #1f2f3d;
}
.signature-name span {
  display: inline-block;
  margin-left: 8px;
}
@media (max-width: 900px) {
  .status-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media print {
  .signature-detail-box,
  .reason-box,
  .status-detail-grid > div {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}


/* ===== v33 사진첨부/상세조회/상태변경 전체출력 ===== */
.asset-row {
  cursor: pointer;
}
.asset-row:hover {
  background: #eef5fb !important;
}
.photo-section h3 {
  margin: 0 0 10px;
  color: #183a5e;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.photo-grid a {
  display: block;
  border: 1px solid #d8e1ea;
  background: #fff;
  border-radius: 4px;
  padding: 6px;
  color: #34495c;
}
.photo-grid img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 3px;
  background: #f2f5f8;
}
.photo-grid.large {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.photo-grid.large img {
  height: 150px;
}
.photo-grid span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: #667788;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.status-change-form input[type="file"],
.form-grid input[type="file"] {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #c8d3dd;
  border-radius: 4px;
  background: #fff;
}
.status-print-table {
  font-size: 9px !important;
}
.status-print-table th,
.status-print-table td {
  padding: 4px 3px !important;
  white-space: normal !important;
  word-break: break-word !important;
}
.print-signature {
  max-width: 70px;
  max-height: 28px;
  object-fit: contain;
}
@media print {
  .status-print-table {
    table-layout: fixed !important;
    width: 100% !important;
  }
}


/* ===== v35 비품현황 집계 보정 ===== */
.summary-note {
  margin: -4px 0 10px;
  font-size: 12px;
  color: #667788;
}


/* ===== v36 QR 출력대상 제한 ===== */
.badge-muted {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 4px;
  background: #eef2f5;
  color: #667788;
  font-size: 11px;
  font-weight: 700;
}
.qr-empty-message {
  max-width: 520px;
  margin: 60px auto;
  text-align: center;
  line-height: 1.8;
  color: #526a80;
}


/* ===== v37 상단로고 홈이동 / 로그아웃 고정 개선 ===== */
.corporate-logo-wrap {
  cursor: pointer;
}
.corporate-logo-wrap:hover {
  opacity: .86;
}

/* 사이드바 전체는 화면 높이에 고정하고 메뉴 영역만 스크롤 */
.sidebar {
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  overflow: hidden !important;
}

/* 메뉴만 스크롤되게 해서 로그아웃은 항상 하단에 보이도록 */
.sidebar-menu {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 4px !important;
  margin-right: -4px !important;
  min-height: 0 !important;
}

.sidebar-footer {
  flex: 0 0 auto !important;
  margin-top: 8px !important;
  background: rgba(16, 45, 75, .96) !important;
  border-top: 1px solid rgba(255,255,255,.18) !important;
  padding-top: 10px !important;
  padding-bottom: 2px !important;
}

.sidebar-footer a {
  display: block !important;
  text-align: center !important;
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 4px !important;
  padding: 10px 12px !important;
  font-weight: 700 !important;
}

.sidebar-footer a:hover {
  background: rgba(255,255,255,.18) !important;
}

/* 메뉴 스크롤바를 작고 차분하게 */
.sidebar-menu::-webkit-scrollbar {
  width: 6px;
}
.sidebar-menu::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.26);
  border-radius: 10px;
}
.sidebar-menu::-webkit-scrollbar-track {
  background: transparent;
}


/* ===== v38 사진압축/관리전환사진/공통출력/백업 ===== */
.transfer-thumb {
  width: 58px;
  height: 42px;
  object-fit: cover;
  border: 1px solid #d8e1ea;
  border-radius: 3px;
  background: #f2f5f8;
}
.thumb-count {
  margin-top: 3px;
  font-size: 10px;
  color: #667788;
}
.link-underline {
  color: #003b79;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.print-doc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 2px solid #1d3554;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.print-doc-header img {
  width: 118px;
  height: auto;
  object-fit: contain;
}
.print-doc-header h1 {
  margin: 0 0 4px;
  font-size: 20px;
  color: #1d3554;
}
.print-doc-header p {
  margin: 0;
  font-size: 12px;
  color: #4d6172;
}
.qr-doc-header {
  max-width: 210mm;
  margin-left: auto;
  margin-right: auto;
}
@media print {
  .print-doc-header {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .print-doc-header img {
    width: 105px;
  }
  .print-doc-header h1 {
    font-size: 17px;
  }
  .print-doc-header p {
    font-size: 10px;
  }
}


/* ===== v39 운영 편의기능 보강 ===== */
.photo-card {
  position: relative;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  background: #fff;
  padding: 6px;
}
.photo-card > a {
  border: 0 !important;
  padding: 0 !important;
}
.photo-card form {
  margin-top: 6px;
  text-align: right;
}
.timeline {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  align-items: start;
  border-left: 3px solid #cbd8e4;
  background: #f8fafc;
  border-radius: 4px;
  padding: 10px 12px;
}
.timeline-date {
  color: #667788;
  font-size: 12px;
  line-height: 1.4;
}
.timeline-body b {
  display: inline-block;
  color: #003b79;
  margin-right: 8px;
}
.timeline-body span {
  color: #24394d;
  line-height: 1.5;
}
.export-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.export-card h3 {
  margin-top: 0;
  color: #183a5e;
}
.export-card p {
  color: #667788;
  line-height: 1.6;
}
.role-home-panel {
  margin-bottom: 14px;
}
.role-action-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.role-action-grid a {
  display: block;
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 13px 14px;
}
.role-action-grid b {
  display: block;
  color: #003b79;
  margin-bottom: 6px;
}
.role-action-grid span {
  color: #667788;
  font-size: 12px;
}
@media (max-width: 900px) {
  .timeline-item,
  .export-grid,
  .role-action-grid {
    grid-template-columns: 1fr;
  }
}


/* ===== v40 종합 UI/운영성 개선 ===== */
.action-cell {
  position: relative;
  overflow: visible !important;
}
.action-more {
  display: inline-block;
  position: relative;
}
.action-more summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 4px;
  background: #eef5fb;
  border: 1px solid #c8dcea;
  color: #003b79;
  font-size: 11px;
  font-weight: 700;
}
.action-more summary::-webkit-details-marker {
  display: none;
}
.action-menu {
  position: absolute;
  right: 0;
  top: 28px;
  min-width: 128px;
  z-index: 20;
  background: #fff;
  border: 1px solid #cbd8e4;
  border-radius: 4px;
  box-shadow: 0 8px 18px rgba(0,0,0,.15);
  padding: 5px;
}
.action-menu a,
.action-menu span {
  display: block;
  padding: 7px 8px;
  color: #24394d;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 3px;
}
.action-menu a:hover {
  background: #eef5fb;
}
.action-menu .danger-link {
  color: #9f3f3f;
}
.photo-preview-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, .72);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.photo-preview-modal.show {
  display: flex;
}
.photo-preview-box {
  position: relative;
  max-width: 86vw;
  max-height: 86vh;
  background: #fff;
  border-radius: 4px;
  padding: 12px;
}
.photo-preview-box img {
  display: block;
  max-width: 82vw;
  max-height: 74vh;
  object-fit: contain;
}
.photo-preview-close {
  position: absolute;
  right: -12px;
  top: -12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #1d3554;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}
.photo-preview-caption {
  margin-top: 8px;
  color: #34495c;
  font-size: 13px;
  text-align: center;
}
.today-todo-panel,
.action-required-panel {
  margin-bottom: 14px;
}
.todo-list,
.action-required-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
}
.todo-list a,
.action-required-grid a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 13px 14px;
}
.todo-list a {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.todo-list a,
.action-required-grid b {
  color: #003b79;
  font-weight: 700;
}
.todo-list span,
.action-required-grid span {
  color: #667788;
  font-size: 12px;
}
.guide-list {
  line-height: 1.8;
  color: #435c73;
}
@media (max-width: 1000px) {
  .todo-list,
  .action-required-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 640px) {
  .todo-list,
  .action-required-grid {
    grid-template-columns: 1fr;
  }
}
@media print {
  .action-more,
  .photo-preview-modal {
    display: none !important;
  }
}


/* ===== v41 상용화 수준 보강 ===== */
.status.accepted {
  background: #e8f2ec;
  color: #2f6f49;
}
.error-page {
  max-width: 680px;
  margin: 80px auto;
  background: #fff;
  border: 1px solid #d8e1ea;
  border-radius: 6px;
  padding: 28px;
  text-align: center;
}
.error-page h1 {
  color: #1d3554;
}


/* ===== v42 판매형 디자인 정리 ===== */
:root {
  --product-primary: #003b79;
  --product-primary-2: #0b5fa5;
  --product-surface: #ffffff;
  --product-bg: #f3f6f9;
  --product-border: #d8e1ea;
  --product-text: #1f2f3d;
  --product-muted: #667788;
  --product-danger: #a04545;
  --product-success: #2f6f49;
  --product-warning: #8a6200;
}

body {
  background: var(--product-bg) !important;
  color: var(--product-text) !important;
}

.panel,
.table-wrap,
.stat-card,
.audit-kpi,
.notice-card,
.summary > div {
  border: 1px solid var(--product-border) !important;
  border-radius: 6px !important;
  box-shadow: 0 1px 2px rgba(16, 45, 75, .04) !important;
}

.content-header h1,
.panel-head h3,
.export-card h3 {
  letter-spacing: -0.03em;
}

.btn {
  border-radius: 4px !important;
  transition: background .14s ease, border-color .14s ease, opacity .14s ease;
}

.btn.primary {
  background: var(--product-primary) !important;
  border-color: var(--product-primary) !important;
}

.btn.primary:hover {
  background: var(--product-primary-2) !important;
}

.btn.basic {
  background: #f8fafc !important;
  border-color: #cbd8e4 !important;
  color: #24394d !important;
}

.btn.report {
  background: #1d5c88 !important;
  border-color: #1d5c88 !important;
}

.btn.danger,
button.danger {
  background: var(--product-danger) !important;
  border-color: var(--product-danger) !important;
}

input,
select,
textarea {
  border-radius: 4px !important;
}

input:focus,
select:focus,
textarea:focus {
  outline: none !important;
  border-color: var(--product-primary) !important;
  box-shadow: 0 0 0 2px rgba(0, 59, 121, .10) !important;
}

.status {
  min-width: 48px;
  text-align: center;
}

.status.accepted {
  background: #e8f2ec !important;
  color: var(--product-success) !important;
}

.status.disused {
  background: #f7e9e9 !important;
  color: var(--product-danger) !important;
}

.empty {
  color: var(--product-muted);
  background: #fbfcfd;
}

.table-wrap table {
  border-collapse: separate;
  border-spacing: 0;
}

thead th {
  height: 36px;
}

tbody td {
  height: 34px;
}

.form-grid {
  border-radius: 6px !important;
}

.form-actions {
  gap: 8px;
}

.messages {
  max-width: 960px;
}


/* ===== v43 부서 사용자 메뉴/타부서 미사용품 조회 개선 ===== */
.notice-inline {
  display: inline-block;
  margin-top: 4px;
  color: #003b79;
}


/* ===== v44 제품형 메뉴/업무함/검색/표 개선 ===== */
.grouped-menu .menu-section {
  margin: 8px 0 14px;
}
.grouped-menu .menu-section > span {
  display: block;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 8px 12px 5px;
}
.grouped-menu .menu-section a {
  margin-top: 3px;
}
.global-search-form {
  flex: 1 1 auto;
  max-width: 520px;
  display: flex;
  align-items: center;
  margin-left: 18px;
}
.global-search-form input {
  width: 100%;
  height: 34px;
  border: 1px solid #cbd8e4;
  border-right: 0;
  border-radius: 4px 0 0 4px !important;
  padding: 0 11px;
}
.global-search-form button {
  height: 34px;
  border: 1px solid #003b79;
  background: #003b79;
  color: #fff;
  border-radius: 0 4px 4px 0;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
}
.system-footer {
  margin: 28px 0 8px;
  padding-top: 12px;
  border-top: 1px solid #d8e1ea;
  color: #7a8a99;
  font-size: 12px;
  text-align: center;
}
.column-selector {
  margin: 10px 0;
  background: #fff;
  border: 1px solid #d8e1ea;
  border-radius: 6px;
  padding: 10px 12px;
}
.column-selector summary {
  cursor: pointer;
  font-weight: 800;
  color: #1d3554;
}
.column-form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 10px;
  align-items: center;
}
.column-form label {
  font-size: 12px;
  color: #34495c;
}
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.pagination .disabled {
  opacity: .45;
  pointer-events: none;
}
.empty-rich {
  padding: 28px !important;
  text-align: center !important;
}
.empty-rich b,
.empty-rich span {
  display: block;
  margin-bottom: 8px;
}
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bar-row {
  display: grid;
  grid-template-columns: 110px 1fr 60px;
  align-items: center;
  gap: 10px;
}
.bar-row span {
  color: #34495c;
  font-size: 13px;
}
.bar-row div {
  height: 12px;
  background: #e9f0f6;
  border-radius: 999px;
  overflow: hidden;
}
.bar-row i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #003b79, #0b5fa5);
  border-radius: 999px;
}
.bar-row b {
  text-align: right;
  color: #1d3554;
}
.attachment-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.attachment-item {
  display: grid;
  grid-template-columns: 1fr 220px auto;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #d8e1ea;
  border-radius: 4px;
  padding: 9px 10px;
}
.attachment-item a {
  color: #003b79;
  font-weight: 700;
}
.attachment-item span {
  color: #667788;
  font-size: 12px;
}
.asset-filter {
  align-items: center;
}
@media (max-width: 1100px) {
  .global-search-form {
    max-width: 320px;
  }
  .attachment-item {
    grid-template-columns: 1fr;
  }
}


/* ===== v45 조회화면/대시보드/QR 스캔 개선 ===== */
.executive-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 14px;
  margin-bottom: 14px;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #eaf2fb;
  color: #003b79;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.status-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.status-tile {
  border: 1px solid #d8e1ea;
  border-radius: 10px;
  padding: 15px 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}
.status-tile span {
  color: #667788;
  font-size: 13px;
  font-weight: 800;
}
.status-tile strong {
  display: block;
  margin-top: 8px;
  font-size: 30px;
  color: #1d3554;
}
.tile-bar {
  height: 7px;
  margin-top: 12px;
  background: #e9f0f6;
  border-radius: 999px;
  overflow: hidden;
}
.tile-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.tile-ok .tile-bar i { background: #2f6f49; }
.tile-warn .tile-bar i { background: #c28a1a; }
.tile-danger .tile-bar i { background: #a04545; }
.rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rank-item {
  display: grid;
  grid-template-columns: 34px 1fr 58px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid #e0e8ef;
  background: #fff;
  border-radius: 8px;
}
.rank-no {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef5fb;
  color: #003b79;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.rank-body b {
  color: #1d3554;
  font-size: 13px;
}
.rank-bar {
  height: 6px;
  margin-top: 6px;
  background: #edf2f6;
  border-radius: 999px;
  overflow: hidden;
}
.rank-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #003b79, #0b5fa5);
}
.rank-item strong {
  text-align: right;
  font-size: 18px;
  color: #1d3554;
}
.scan-page {
  min-height: 100vh;
  background: #f3f6f9 !important;
  padding: 20px;
  box-sizing: border-box;
}
.scan-card {
  max-width: 620px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #d8e1ea;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(16,45,75,.12);
}
.scan-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e3eaf1;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.scan-header img {
  width: 120px;
  object-fit: contain;
}
.scan-header h1 {
  margin: 0;
  font-size: 20px;
  color: #1d3554;
}
.scan-header p {
  margin: 4px 0 0;
  color: #667788;
  font-size: 13px;
}
.scan-photo img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 14px;
  border: 1px solid #e1e8ef;
}
.scan-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}
.scan-info div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  background: #f8fafc;
  border: 1px solid #e1e8ef;
  border-radius: 7px;
}
.scan-info span {
  color: #667788;
}
.scan-info b {
  color: #1d3554;
  text-align: right;
}
.scan-note {
  margin: 14px 0 0;
  color: #667788;
  font-size: 12px;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .executive-dashboard {
    grid-template-columns: 1fr;
  }
  .status-matrix {
    grid-template-columns: 1fr;
  }
}


/* ===== v46 대시보드 요약 위치 조정 / QR URL 개선 ===== */
.executive-summary-tiles {
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.executive-summary-tiles div {
  min-height: 88px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid #d8e1ea;
}
.executive-summary-tiles span {
  font-weight: 800;
}
.executive-summary-tiles b {
  font-size: 30px;
}
.home-panels.single-col {
  display: block;
}
@media (max-width: 900px) {
  .executive-summary-tiles {
    grid-template-columns: 1fr;
  }
}


/* ===== v49 QR 라벨 간소화 / 자산분류번호 하단 표시 ===== */
.qr-asset-class {
  margin: 0 3mm 3mm;
  border-top: 1px solid #e1e8ef;
  padding-top: 1.5mm;
  display: grid;
  grid-template-columns: 22mm 1fr;
  gap: 2mm;
  font-size: 9px;
  line-height: 1.25;
}
.qr-asset-class span {
  color: #6d7b88;
  font-weight: 800;
}
.qr-asset-class strong {
  color: #253f59;
  word-break: break-all;
}


/* ===== v51 업로드검증/통계리포트/보안정책/도움말 ===== */
.upload-field-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.upload-field-list span {
  background: #eef5fb;
  border: 1px solid #cbd8e4;
  color: #003b79;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}
.error-text { color: #a04545; font-weight: 700; }
.warning-text { color: #8a6200; }
.form-section-title {
  padding: 12px 0 4px;
  color: #1d3554;
  font-weight: 900;
  border-bottom: 1px solid #d8e1ea;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.help-card ol {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
  color: #435c73;
}
@media (max-width: 900px) {
  .help-grid { grid-template-columns: 1fr; }
}


/* ===== v52 화면 정리 / 재물조사 요청 화면 개선 ===== */
.request-guide {
  margin-bottom: 12px;
  background: #f8fafc;
}
.request-guide b {
  color: #003b79;
}
.request-guide p {
  margin: 6px 0 0;
  color: #667788;
}


/* ===== v53 보안정책 실제 적용 / 물음표 도움말 ===== */
.floating-help {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990;
}
.floating-help-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: #003b79;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 43, 91, .25);
  cursor: pointer;
}
.floating-help-panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 50px;
  width: 340px;
  max-height: 460px;
  overflow: auto;
  background: #fff;
  border: 1px solid #cbd8e4;
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(16,45,75,.22);
  padding: 14px;
}
.floating-help:hover .floating-help-panel,
.floating-help:focus-within .floating-help-panel {
  display: block;
}
.floating-help-panel > strong {
  display: block;
  color: #1d3554;
  margin-bottom: 10px;
}
.floating-help-item {
  border-top: 1px solid #e6edf4;
  padding: 9px 0;
}
.floating-help-item b {
  color: #003b79;
}
.floating-help-item p {
  margin: 5px 0 0;
  color: #526a80;
  font-size: 12px;
  line-height: 1.5;
}
.floating-help-panel a {
  display: block;
  margin-top: 8px;
  color: #003b79;
  font-weight: 800;
}


/* ===== v54 삭제기능 비활성화 / 재물조사 기간관리 ===== */
.survey-period-banner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  background: #f8fafc;
  border-left: 4px solid #003b79;
}
.survey-period-banner b {
  color: #003b79;
}
.survey-period-banner span {
  color: #34495c;
  font-weight: 700;
}
.survey-period-banner p {
  width: 100%;
  margin: 4px 0 0;
  color: #8a6200;
}
.survey-period-banner.period-inactive {
  border-left-color: #a04545;
  background: #fff8f8;
}
.period-action-disabled {
  background: #fff8f8;
  border-left: 4px solid #a04545;
}
.period-action-disabled b {
  color: #a04545;
}
.btn.disabled,
span.btn.disabled {
  opacity: .55;
  pointer-events: none;
}


/* ===== v57 홈 역할별 대시보드 / 출력물 / 컬럼 리사이즈 ===== */
.home-hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border: 1px solid #d8e1ea;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #ffffff, #f4f8fb);
  box-shadow: 0 2px 6px rgba(16,45,75,.05);
}
.home-hero span {
  display: block;
  color: #0b5fa5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.home-hero h2 {
  margin: 0;
  font-size: 24px;
  color: #1d3554;
  letter-spacing: -0.04em;
}
.home-hero p {
  margin: 8px 0 0;
  color: #667788;
}
.home-hero .hero-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.admin-hero {
  border-left: 5px solid #003b79;
}
.audit-hero {
  border-left: 5px solid #5a4e86;
}
.dept-hero {
  border-left: 5px solid #2f6f49;
}
.admin-task-list {
  display: grid;
  gap: 9px;
}
.admin-task-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #d8e1ea;
  border-radius: 8px;
  background: #f8fafc;
}
.admin-task-list a b {
  color: #003b79;
}
.admin-task-list a span {
  color: #667788;
  font-size: 12px;
  text-align: right;
}
.stat-card small {
  display: block;
  margin-top: 6px;
  color: #7a8a99;
  font-size: 11px;
  font-weight: 500;
}
.dept-quick-links {
  grid-template-columns: repeat(4, minmax(0,1fr));
}
.print-only-block {
  display: none;
}

/* 표 열 너비 조절 */
.table-wrap {
  overflow-x: auto;
}
.table-wrap table {
  table-layout: auto;
}
.col-resizer {
  position: absolute;
  top: 0;
  right: -3px;
  width: 7px;
  height: 100%;
  cursor: col-resize;
  user-select: none;
  z-index: 5;
}
.col-resizer::after {
  content: "";
  position: absolute;
  top: 18%;
  bottom: 18%;
  left: 3px;
  width: 1px;
  background: rgba(0,59,121,.18);
}
.col-resizer:hover::after,
body.is-resizing-table .col-resizer::after {
  background: rgba(0,59,121,.55);
}
body.is-resizing-table {
  cursor: col-resize !important;
  user-select: none;
}

/* 재물조사 출력물 고급화 */
.survey-print-cover {
  border: 1px solid #d4dde7;
  border-radius: 0;
  margin-bottom: 10mm;
  padding: 8mm 9mm;
  background: #fff;
}
.survey-print-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10mm;
  padding-bottom: 5mm;
  border-bottom: 2px solid #1d3554;
}
.survey-print-top img {
  width: 46mm;
  object-fit: contain;
}
.survey-print-top div {
  flex: 1;
  text-align: right;
}
.survey-print-top span,
.survey-report-title span {
  display: block;
  color: #667788;
  font-size: 10px;
  letter-spacing: .08em;
  font-weight: 800;
}
.survey-print-top h1 {
  margin: 2mm 0 0;
  color: #1d3554;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.survey-print-meta-grid {
  margin-top: 5mm;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #d8e1ea;
}
.survey-print-meta-grid div {
  min-height: 11mm;
  padding: 2.2mm 3mm;
  border-right: 1px solid #d8e1ea;
  border-bottom: 1px solid #d8e1ea;
}
.survey-print-meta-grid div:nth-child(3n) {
  border-right: 0;
}
.survey-print-meta-grid div:nth-last-child(-n+3) {
  border-bottom: 0;
}
.survey-print-meta-grid span {
  display: block;
  color: #667788;
  font-size: 9px;
  margin-bottom: 1mm;
}
.survey-print-meta-grid b {
  color: #1d3554;
  font-size: 11px;
}
.survey-print-table {
  font-size: 10px;
}
.survey-print-table th {
  background: #eef3f7 !important;
  color: #1d3554;
  border-color: #bfcbd8 !important;
}
.survey-print-table td {
  border-color: #d5dee8 !important;
}
.print-footer {
  margin-top: 8mm;
  border-top: 1px solid #d8e1ea;
  padding-top: 3mm;
  display: flex;
  justify-content: space-between;
  color: #7a8a99;
  font-size: 9px;
}
.survey-report-title {
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid #1d3554;
  padding-bottom: 10px;
}
.survey-report-title img {
  width: 150px;
  object-fit: contain;
}
.survey-report-title h2 {
  margin: 2px 0;
  color: #1d3554;
}
.survey-report-title p {
  margin: 0;
  color: #667788;
}
@media (max-width: 900px) {
  .home-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-hero .hero-actions {
    justify-content: flex-start;
  }
  .dept-quick-links {
    grid-template-columns: 1fr;
  }
}
@media print {
  .col-resizer,
  .floating-help,
  .system-footer {
    display: none !important;
  }
  .print-page {
    background: #fff !important;
  }
  .survey-print-cover {
    page-break-inside: avoid;
  }
  .print-only-block {
    display: flex !important;
  }
  .no-print-title {
    display: none !important;
  }
  .survey-print-table {
    width: 100% !important;
    page-break-inside: auto;
  }
  .survey-print-table tr {
    page-break-inside: avoid;
  }
}


/* ===== v59 계측장비 교정관리 ===== */
.calibration-summary div:nth-child(2) b,
.calibration-summary div:nth-child(3) b {
  color: #c28a1a;
}
.calibration-summary div:nth-child(4) b {
  color: #a04545;
}
.status.warning {
  background: #fff3d8;
  color: #8a6200;
  border: 1px solid #e5c36b;
}
.status.danger {
  background: #ffe8e8;
  color: #a04545;
  border: 1px solid #e0a0a0;
}
.calibration-bulk-form {
  margin-top: 12px;
}
.compact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.calibration-detail-panel {
  border-left: 4px solid #0b5fa5;
}
@media (max-width: 1100px) {
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .compact-grid {
    grid-template-columns: 1fr;
  }
}
