/* Isolated responsive safeguards for the AHU inspection dialogs. */
.ahu-qr-panel {
  margin-top: 22px;
  padding: clamp(16px, 2.3vw, 25px);
  background: linear-gradient(135deg, #f7fffd, #f9fcff);
  border: 1px solid #bfe6db;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(25, 69, 94, .05);
}
.ahu-qr-panel__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.ahu-qr-panel__head .ahu-eyebrow { margin: 0 0 5px; color: #168574; }
.ahu-qr-panel__head h2 { margin: 0; font-size: 19px; letter-spacing: -.04em; }
.ahu-qr-panel__head p:not(.ahu-eyebrow) { margin: 5px 0 0; color: #647b8d; font-size: 13px; line-height: 1.5; }
.ahu-qr-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 17px; }
.ahu-qr-summary-grid article { padding: 13px 14px; background: #fff; border: 1px solid #dce9ef; border-radius: 10px; }
.ahu-qr-summary-grid span, .ahu-qr-summary-grid small { display: block; color: #637b8d; font-size: 11px; font-weight: 750; }
.ahu-qr-summary-grid strong { display: block; margin: 3px 0; color: #1c4056; font-size: 25px; letter-spacing: -.04em; }
.ahu-qr-summary-card--ready { border-top: 3px solid #e6a23a !important; }.ahu-qr-summary-card--ready strong { color: #a9650c; }
.ahu-qr-summary-card--assigned { border-top: 3px solid #25a27a !important; }.ahu-qr-summary-card--assigned strong { color: #128060; }
.ahu-qr-preview { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 12px; margin-top: 13px; padding: 11px 13px; border-radius: 9px; background: #eaf7f3; color: #396174; font-size: 12px; }
.ahu-qr-preview strong { color: #166a60; }.ahu-qr-preview .ahu-row-button { margin-left: auto; }
.ahu-qr-generate-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; padding: 13px; border: 1px solid #d8e6ec; border-radius: 10px; background: #f7fafc; }
.ahu-qr-generate-form label { display: grid; gap: 5px; color: #39556a; font-size: 12px; font-weight: 800; }
.ahu-qr-generate-form input { width: 118px; min-height: 38px; padding: 7px 9px; color: #183448; border: 1px solid #cfdde6; border-radius: 8px; background: #fff; font: inherit; }
.ahu-qr-generate-form small { align-self: center; color: #728798; font-size: 11px; }
.ahu-qr-dialog-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 15px; margin-top: 15px; padding: 10px 12px; color: #597285; border-bottom: 1px solid #dfe9ee; font-size: 12px; }.ahu-qr-dialog-summary b { color: #183e55; }.ahu-qr-dialog-summary .ahu-row-button { margin-left: auto; }
.ahu-qr-tag-list { display: grid; gap: 8px; margin-top: 12px; max-height: min(48vh, 430px); overflow: auto; }
.ahu-qr-tag-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 12px; border: 1px solid #dce8ed; border-radius: 9px; background: #fff; }
.ahu-qr-tag-row strong, .ahu-qr-tag-row span { display: block; }.ahu-qr-tag-row strong { color: #233f53; font-size: 13px; }.ahu-qr-tag-row span { margin-top: 3px; color: #708696; font-size: 11px; }.ahu-qr-tag-row > div:last-child { display: flex; align-items: center; gap: 7px; }.ahu-qr-tag-row > div:last-child .ahu-badge { margin-top: 0; }
.ahu-qr-tag-row strong small { margin-left: 5px; color: #718696; font-size: 10px; font-weight: 650; }
.ahu-site-create-form { display: flex; align-items: end; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 12px; border: 1px solid #d9e7ed; border-radius: 10px; background: #f7fafc; }.ahu-site-create-form label { display: grid; flex: 1 1 240px; gap: 5px; color: #3a576c; font-size: 12px; font-weight: 800; }.ahu-site-create-form input { min-height: 38px; padding: 7px 10px; color: #183448; border: 1px solid #cfdde6; border-radius: 8px; background: #fff; font: inherit; }.ahu-site-create-form small { flex: 1 1 100%; color: #718696; font-size: 11px; }

/* QR 라벨로 열리는 제한된 현장 화면: 일반 대시보드 로그인과 분리한다. */
.ahu-public-shell { min-height: 100vh; background: #f2f7fa; color: #193548; }
.ahu-public-header { padding: 42px max(22px, calc((100vw - 640px) / 2)); background: linear-gradient(125deg, #07334c, #0e526b); color: #fff; }
.ahu-public-header .ahu-eyebrow { margin: 0 0 8px; color: #78e9de; }
.ahu-public-header h1 { margin: 0; font-size: clamp(26px, 7vw, 36px); letter-spacing: -.05em; }
.ahu-public-header > p:last-child { margin: 10px 0 0; color: #d3e8ef; font-size: 14px; line-height: 1.55; }
.ahu-public-main { width: min(640px, 100%); margin: 0 auto; padding: 24px 22px 44px; box-sizing: border-box; }
.ahu-public-card { padding: 24px; border: 1px solid #dbe8ee; border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(25, 65, 86, .09); }
.ahu-public-card__eyebrow { margin: 0 0 8px; color: #0c817b; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.ahu-public-card h2 { margin: 0; color: #143248; font-size: 25px; letter-spacing: -.04em; }
.ahu-public-card h2 + p { margin: 10px 0 20px; color: #587184; font-size: 14px; line-height: 1.65; }
.ahu-public-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.ahu-public-card dl > div { padding: 13px; border-radius: 10px; background: #f4f8fa; }
.ahu-public-card dt { color: #6a8190; font-size: 11px; font-weight: 800; }
.ahu-public-card dd { margin: 5px 0 0; color: #1b4056; font-size: 14px; font-weight: 800; word-break: break-word; }
.ahu-public-card .ahu-button { min-height: 46px; width: 100%; font-size: 15px; }
.ahu-public-select-label { display: grid; gap: 7px; margin: 18px 0 10px; color: #456174; font-size: 12px; font-weight: 800; }.ahu-public-select-label select { width: 100%; min-height: 46px; padding: 9px 11px; color: #183b51; border: 1px solid #cbdde6; border-radius: 9px; background: #fff; font: inherit; }.ahu-public-secondary { width: 100%; margin-top: 9px; padding: 11px; color: #35657c; border: 1px solid #c9dce6; border-radius: 9px; background: #fff; font: inherit; font-size: 13px; font-weight: 750; cursor: pointer; }
.ahu-public-actions { display: grid; gap: 9px; margin-top: 18px; }.ahu-public-actions .ahu-public-secondary { margin-top: 0; }.ahu-public-complete { margin: 0; padding: 12px; color: #637d8d; border: 1px dashed #cbdce4; border-radius: 9px; background: #f7fafb; font-size: 12px; line-height: 1.5; }
.ahu-public-inspection dl { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }.ahu-public-inspection dl > div { padding: 11px; background: #fff; border: 1px solid #e0eaee; }.ahu-public-inspection .ahu-public-inspection__wide { grid-column: 1 / -1; }.ahu-public-inspection-images { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }.ahu-public-inspection-images a { display: grid; gap: 6px; padding: 9px; color: #43697c; border: 1px solid #dbe8ed; border-radius: 9px; background: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }.ahu-public-inspection-images img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.ahu-record-active { display: inline-flex; align-items: center; margin-left: 5px; padding: 2px 6px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 800; }.ahu-record-active--on { color: #087452; background: #dcf6e8; }.ahu-record-active--off { color: #627c8d; background: #edf2f5; }.ahu-repair-history-row__actions { display: flex; flex: 0 0 auto; gap: 6px; }
.ahu-repair-status { display: inline-flex; align-items: center; min-height: 20px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; white-space: nowrap; }
.ahu-repair-status--requested { color: #986000; background: #fff2d9; }.ahu-repair-status--in_progress { color: #075f93; background: #e1f3ff; }.ahu-repair-status--completed { color: #087652; background: #dcf6e8; }.ahu-repair-status--follow_up { color: #9a4700; background: #ffe6cd; }
.ahu-repair-history, .ahu-public-history { margin-top: 18px; padding: 15px; border: 1px solid #d8e7ec; border-radius: 11px; background: #f8fbfc; }
.ahu-repair-history h3, .ahu-public-history h3 { margin: 0 0 10px; color: #173b50; font-size: 15px; }.ahu-repair-history > p, .ahu-public-history > p { margin: 0; color: #536f80; line-height: 1.55; }
.ahu-repair-history-row { display: flex; align-items: start; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid #e1ebef; }.ahu-repair-history-row:first-of-type { border-top: 0; padding-top: 0; }.ahu-repair-history-row > div { display: grid; gap: 5px; min-width: 0; }.ahu-repair-history-row time, .ahu-repair-history-row span, .ahu-repair-history-row small { color: #648091; font-size: 12px; }.ahu-repair-history-row strong { color: #193f55; font-size: 14px; }.ahu-repair-history-row button { flex: 0 0 auto; padding: 6px 8px; color: #176a91; border: 1px solid #bdd8e7; border-radius: 7px; background: #fff; font: inherit; font-size: 12px; cursor: pointer; }
.ahu-public-history ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }.ahu-public-history li { display: grid; gap: 4px; padding-top: 9px; border-top: 1px solid #e0eaee; }.ahu-public-history li:first-child { padding-top: 0; border-top: 0; }.ahu-public-history li span { display: flex; align-items: center; gap: 6px; color: #678293; font-size: 11px; }.ahu-public-history li strong { color: #1a4055; font-size: 13px; }.ahu-public-history small { display: block; margin-top: 10px; color: #718797; font-size: 11px; }
.ahu-repair-queue { display: grid; gap: 9px; }.ahu-repair-queue-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px; border: 1px solid #dbe8ed; border-radius: 10px; background: #fff; }.ahu-repair-queue-row > div { min-width: 0; }.ahu-repair-queue-row > div > div { display: flex; align-items: center; gap: 8px; }.ahu-repair-queue-row strong { color: #173d54; }.ahu-repair-queue-row span, .ahu-repair-queue-row p, .ahu-repair-queue-row small { display: block; margin: 4px 0 0; color: #607d8e; font-size: 12px; }.ahu-repair-queue-row p { color: #284e62; line-height: 1.45; }

@media (max-width: 680px) {
  .ahu-public-header { padding: 31px 20px; }
  .ahu-public-main { padding: 18px 14px 34px; }
  .ahu-public-card { padding: 20px; border-radius: 13px; }
  .ahu-public-card dl { grid-template-columns: 1fr; }
  .ahu-public-inspection dl, .ahu-public-inspection-images { grid-template-columns: 1fr; }
  .ahu-top-site-trigger { max-width: 100%; }
  .ahu-site-picker-trigger { width: 100%; margin-top: 11px; }
  .ahu-site-picker-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahu-top-site-selector { grid-template-columns: 1fr; width: 100%; }
  .ahu-top-site-selector__buttons { justify-content: flex-start; }
  .ahu-site-selector { margin-top: 11px; }
  .ahu-site-selector__buttons { justify-content: flex-start; max-width: none; }
  .ahu-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahu-detail-images { grid-template-columns: 1fr; }
  .ahu-detail-history { font-size: 12px; }
  .ahu-repair-history-row, .ahu-repair-queue-row { display: block; }.ahu-repair-history-row button, .ahu-repair-queue-row .ahu-row-button { width: 100%; margin-top: 10px; }.ahu-repair-history-row__actions { display: grid; }
  .ahu-trash-row { display: block; }
  .ahu-trash-row__actions { justify-content: space-between; margin-top: 10px; }
  .ahu-qr-panel { margin-top: 14px; padding: 14px; border-radius: 12px; }
  .ahu-qr-panel__head { display: block; }.ahu-qr-panel__head .ahu-button { width: 100%; margin-top: 12px; }
  .ahu-qr-summary-grid { gap: 7px; }.ahu-qr-summary-grid article { padding: 10px; }.ahu-qr-summary-grid strong { font-size: 21px; }
  .ahu-qr-preview { display: grid; }.ahu-qr-preview .ahu-row-button { width: 100%; margin-left: 0; }
  .ahu-qr-generate-form { align-items: stretch; }.ahu-qr-generate-form label, .ahu-qr-generate-form input, .ahu-qr-generate-form .ahu-button { width: 100%; }.ahu-qr-generate-form small { line-height: 1.45; }
  .ahu-qr-dialog-summary { display: grid; gap: 6px; }.ahu-qr-dialog-summary .ahu-row-button { width: 100%; margin-left: 0; }
  .ahu-qr-tag-row { display: block; }.ahu-qr-tag-row > div:last-child { justify-content: space-between; margin-top: 9px; }
  .ahu-site-create-form { align-items: stretch; }.ahu-site-create-form .ahu-button { width: 100%; }
}

@media print {
  body > * { display: none !important; }
  .ahu-print-document { display: block !important; }
}

/* 균일한 빠른 입력 그리드와 활성 상태·수리·누적 메모 조작 영역 */
.ahu-form-grid--inspection { align-items: start; row-gap: 14px; }
.ahu-form-grid--inspection > label:not(.ahu-field-full), .ahu-form-grid--inspection > fieldset:not(.ahu-field-full) { min-width: 0; min-height: 76px; box-sizing: border-box; }
.ahu-form-guide { grid-column: 1 / -1; margin: -3px 0 0; padding: 9px 11px; color: #557184; border: 1px dashed #c8dce5; border-radius: 8px; background: #f7fbfc; font-size: 11px; line-height: 1.55; }
.ahu-record-control { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 11px; margin: -5px 0 16px; padding: 10px 12px; color: #4b687a; border: 1px solid #c9e4dc; border-radius: 10px; background: #f2fcf8; font-size: 12px; }
.ahu-record-control strong { color: #087a62; }.ahu-record-control .ahu-button { margin-left: auto; min-height: 34px; padding: 7px 11px; }
.ahu-memo-inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; padding: 12px; border: 1px solid #d7e6ec; border-radius: 10px; background: #f8fbfc; }
.ahu-memo-inline > div { grid-column: 1 / -1; }.ahu-memo-inline strong { display: block; color: #24465a; font-size: 13px; }.ahu-memo-inline small { display: block; margin-top: 3px; color: #718899; font-size: 11px; line-height: 1.45; }

/* 현장별 점검 회차 선택 및 관리 */
.ahu-tree-panel__actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.ahu-tree-panel__actions .ahu-site-picker-trigger { width: auto; margin-top: 0; }
.ahu-round-selector { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border: 1px solid #cfe0e8; border-radius: 9px; background: #f8fbfc; }
.ahu-round-selector label { color: #527084; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ahu-round-selector select { min-width: 148px; height: 34px; padding: 0 25px 0 9px; color: #173c52; border: 1px solid #bfd4df; border-radius: 6px; background: #fff; font-size: 12px; }
.ahu-round-selector .ahu-row-button { min-height: 34px; white-space: nowrap; }
.ahu-round-list { display: grid; gap: 8px; max-width: 740px; margin: 0 auto 22px; padding: 0 22px; }
.ahu-round-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 12px; border: 1px solid #d7e5eb; border-radius: 9px; background: #f8fbfc; }
.ahu-round-row__meta { display: grid; gap: 3px; min-width: 0; }.ahu-round-row__meta strong { color: #173c52; font-size: 14px; }.ahu-round-row__meta span { color: #698496; font-size: 11px; }
.ahu-round-row__actions { display: flex; gap: 6px; flex-shrink: 0; }
.ahu-round-status { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 9px; font-size: 10px; font-style: normal; }.ahu-round-status--active { color: #087a62; background: #e1f7ef; }.ahu-round-status--draft { color: #906000; background: #fff0d6; }.ahu-round-status--closed { color: #657b8a; background: #e9f0f4; }
@media (max-width: 760px) { .ahu-tree-panel__actions { width: 100%; align-items: stretch; }.ahu-tree-panel__actions .ahu-site-picker-trigger { width: 100%; }.ahu-round-selector { width: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); }.ahu-round-selector .ahu-row-button { grid-column: 1 / -1; width: 100%; }.ahu-round-selector select { min-width: 0; width: 100%; }.ahu-round-list { padding: 0 14px; }.ahu-round-row { display: block; }.ahu-round-row__actions { margin-top: 10px; }.ahu-round-row__actions button { flex: 1; } }

/* 2026 운영 화면 재구성: 선택 전에는 시작 화면, 선택 후에는 트리와 장비 작업 영역을 분리한다. */
.ahu-inspection-shell {
  --ahu-ink: #112b42;
  --ahu-muted: #6b8295;
  --ahu-line: #d9e5ed;
  --ahu-surface: #ffffff;
  --ahu-mint: #52cdb7;
  background:
    radial-gradient(circle at 7% -10%, rgba(87, 205, 183, .13), transparent 30%),
    linear-gradient(180deg, #f5f9fb 0, #edf4f7 100%);
}
.ahu-topbar {
  position: relative;
  min-height: 106px;
  padding: 19px clamp(24px, 4vw, 72px) 18px;
  align-items: center;
  color: #f7fcff;
  background:
    radial-gradient(circle at 76% 15%, rgba(75, 207, 184, .2), transparent 28%),
    linear-gradient(110deg, #08243a 0, #093b56 58%, #0c5361 100%);
  box-shadow: inset 0 -1px rgba(255,255,255,.09), 0 8px 24px rgba(8, 36, 58, .16);
}
.ahu-topbar > div:first-child { min-width: 0; }
.ahu-topbar h1 { margin: 3px 0; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.12; letter-spacing: -.06em; }
.ahu-topbar p { max-width: 560px; color: #c8dce7; font-size: 12px; }
.ahu-topbar .ahu-eyebrow { margin: 9px 0 4px; font-size: 10px; letter-spacing: .16em; }
.ahu-back-button { color: #b8d2e1; font-size: 11px; }
.ahu-topbar__actions { max-width: 670px; padding-top: 0; gap: 7px; }
.ahu-topbar .ahu-button, .ahu-top-site-trigger { min-height: 34px; padding: 7px 10px; border-radius: 8px; font-size: 11px; }
.ahu-topbar .ahu-button--primary { color: #073b43; border-color: #76dfcf; background: linear-gradient(135deg, #71dfcf, #4fc5b8); box-shadow: 0 4px 12px rgba(40, 207, 181, .19); }
/* 현장 작업은 제목 아래 왼쪽에 모아, 넓은 화면에서도 시선 이동을 줄인다. */
@media (min-width: 681px) {
  .ahu-topbar { display: block; min-height: 0; }
  .ahu-topbar__actions { max-width: none; margin-top: 15px; justify-content: flex-start; align-items: center; }
  .ahu-topbar__actions .ahu-button--text { margin-left: 4px; }
}
.ahu-main {
  width: min(1560px, 100%);
  display: grid;
  grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
  gap: 18px;
  padding: 26px clamp(22px, 4vw, 68px) 72px;
}
.ahu-summary-grid, .ahu-qr-panel { grid-column: 1 / -1; }
.ahu-summary-grid { grid-template-columns: 1.1fr 1.2fr repeat(4, minmax(135px, 1fr)); gap: 12px; }
.ahu-summary-card {
  min-height: 104px;
  padding: 17px 18px;
  border: 1px solid var(--ahu-line);
  border-top: 0;
  border-radius: 13px;
  box-shadow: 0 8px 22px rgba(17, 56, 78, .055);
}
.ahu-summary-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 4px; background: #91aabd; }
.ahu-summary-card:first-child { color: #edfaff; border-color: #123f58; background: linear-gradient(135deg, #123c56, #185b6c); }
.ahu-summary-card:first-child span, .ahu-summary-card:first-child small { color: #bdd9e4; }
.ahu-summary-card:first-child strong { color: #fff; }
.ahu-summary-card:first-child::before { background: #74e2ce; }
.ahu-summary-card--progress { background: linear-gradient(135deg, #fff, #f2f9fd); }
.ahu-summary-card--progress::before { background: #319dcd; }
.ahu-summary-card--normal::before { background: #29ae7d; }.ahu-summary-card--warning::before { background: #f0a53a; }.ahu-summary-card--abnormal::before { background: #e75f63; }
.ahu-summary-card span, .ahu-summary-card small { color: var(--ahu-muted); font-size: 11px; letter-spacing: -.01em; }
.ahu-summary-card strong { margin: 4px 0 3px; color: var(--ahu-ink); font-size: 30px; }
.ahu-tree-panel, .ahu-list-panel {
  min-width: 0;
  margin-top: 0;
  padding: 19px;
  border: 1px solid var(--ahu-line);
  border-radius: 15px;
  box-shadow: 0 10px 26px rgba(17, 56, 78, .055);
}
.ahu-tree-panel { grid-column: 1; align-self: start; background: linear-gradient(180deg, #ffffff, #f9fcfd); }
.ahu-list-panel { grid-column: 2; align-self: start; background: var(--ahu-surface); }
.ahu-tree-panel__head, .ahu-panel-head { align-items: center; gap: 12px; margin-bottom: 15px; }
.ahu-tree-panel__head h2, .ahu-panel-head h2 { color: var(--ahu-ink); font-size: 18px; }
.ahu-tree-panel__head p:not(.ahu-eyebrow), .ahu-panel-head p:not(.ahu-eyebrow) { max-width: 390px; font-size: 12px; line-height: 1.45; }
.ahu-tree-panel__actions { width: auto; }
.ahu-tree-panel__actions .ahu-site-picker-trigger { min-height: 34px; color: #135675; border-color: #bbd4e1; box-shadow: none; }
.ahu-round-selector { border-color: #cce0e6; box-shadow: inset 0 1px #fff; }
.ahu-site-tree { grid-template-columns: 1fr; gap: 8px; max-height: calc(100vh - 430px); overflow: auto; padding-right: 3px; }
.ahu-tree-site { border-radius: 9px; }.ahu-tree-node { padding: 9px 10px; }
.ahu-tree-empty { padding: 38px 16px 31px; border: 1px dashed #bcd6df; background: linear-gradient(145deg, #fbffff, #f2faf9); }
.ahu-tree-empty span { width: 38px; height: 38px; font-size: 17px; border-radius: 12px; }.ahu-tree-empty strong { margin-top: 8px; color: #234b60; font-size: 15px; }.ahu-tree-empty p { max-width: 420px; margin: 8px auto 0; color: #6d8798; line-height: 1.6; }
.ahu-empty-site-action { min-height: 40px; margin-top: 18px; padding: 8px 14px; color: #074d59; border: 1px solid #91d8ca; border-radius: 9px; background: #dff8f2; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; }.ahu-empty-site-action:hover { background: #c8f0e6; }.ahu-empty-site-action b { margin-left: 7px; font-size: 15px; }
.ahu-panel-head { padding-bottom: 14px; border-bottom: 1px solid #e3edf2; }.ahu-filter-row { gap: 7px; }.ahu-filter-row input, .ahu-filter-row select { min-height: 34px; border-radius: 8px; font-size: 12px; }
.ahu-mobile-progress { margin: 13px 0; padding: 10px 12px; color: #446879; border: 1px solid #d9e9ed; border-radius: 8px; background: #f6fbfc; font-size: 12px; font-weight: 750; }
.ahu-equipment-table thead { background: #f0f6f8; }.ahu-equipment-table th { color: #527082; font-size: 11px; }.ahu-equipment-table td { padding-top: 13px; padding-bottom: 13px; }
.ahu-empty { padding: 44px 16px; }.ahu-empty strong { color: #1e455b; font-size: 15px; }
.ahu-qr-panel { margin-top: 0; border-radius: 15px; }
.ahu-site-unselected .ahu-list-panel { display: none; }
.ahu-site-unselected .ahu-tree-panel { grid-column: 1 / -1; max-width: 850px; width: 100%; justify-self: center; padding: 25px; }
.ahu-site-unselected .ahu-tree-panel__head { align-items: flex-end; }.ahu-site-unselected .ahu-tree-empty { padding: 48px 20px 40px; }
.ahu-site-unselected .ahu-summary-grid { margin-bottom: 2px; }

@media (max-width: 1080px) {
  .ahu-main { grid-template-columns: 1fr; }
  .ahu-tree-panel, .ahu-list-panel { grid-column: 1; }
  .ahu-site-tree { max-height: none; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahu-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .ahu-topbar { display: block; min-height: 0; padding: 16px 17px; }.ahu-topbar__actions { margin-top: 15px; justify-content: flex-start; }.ahu-topbar .ahu-button, .ahu-top-site-trigger { font-size: 11px; }
  .ahu-main { gap: 13px; padding: 16px 14px 40px; }.ahu-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }.ahu-summary-card { min-height: 88px; padding: 13px; }.ahu-summary-card strong { font-size: 25px; }.ahu-summary-card:first-child { grid-column: span 2; }
  .ahu-tree-panel, .ahu-list-panel, .ahu-site-unselected .ahu-tree-panel { padding: 15px; border-radius: 12px; }.ahu-tree-panel__head, .ahu-panel-head { align-items: flex-start; }.ahu-tree-panel__actions { width: 100%; }.ahu-site-tree { grid-template-columns: 1fr; }.ahu-site-unselected .ahu-tree-empty { padding: 32px 14px 27px; }
  .ahu-panel-head { display: block; }.ahu-filter-row { margin-top: 12px; }.ahu-filter-row input { min-width: 0; flex: 1 1 170px; }
}

/* 현장 선택: 검색 가능한 가나다순 버튼 목록 */
/* 최근 선택 현장: 현장이 많아져도 자주 쓰는 현장은 한 번에 접근 */
.ahu-site-recent { margin: 0 0 12px; padding: 11px 12px; border: 1px solid #d8e7ed; border-radius: 10px; background: #fbfdfe; }
.ahu-site-recent__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ahu-site-recent__head strong { color: #294f65; font-size: 12px; }
.ahu-site-recent__head small { color: #8295a2; font-size: 10px; }
.ahu-site-recent__buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.ahu-site-picker-button--recent { background: #f5fafc; }

.ahu-site-picker-actions { display: flex; gap: 8px; margin: 0 0 11px; }.ahu-site-picker-action { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px; color: #265a74; border: 1px solid #bed7e4; border-radius: 9px; background: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }.ahu-site-picker-action:hover { border-color: #67bdaa; background: #f0fbf8; }.ahu-site-picker-action.is-active { color: #075f59; border-color: #72cfbd; background: #dff7f1; }.ahu-site-picker-action--search { color: #fff; border-color: #148d83; background: linear-gradient(135deg, #198f86, #2ea99d); }.ahu-site-picker-action--search:hover { border-color: #148d83; background: linear-gradient(135deg, #117d75, #258f84); }.ahu-site-picker-action b { font-size: 16px; line-height: 1; }
.ahu-site-search-panel { margin: 0 0 10px; padding: 10px; border: 1px solid #cbe3e2; border-radius: 10px; background: #f5fcfb; }.ahu-site-search-panel > p { margin: 7px 1px 0; color: #5d7c89; font-size: 11px; line-height: 1.45; }
.ahu-site-search { display: grid; gap: 6px; margin: 0 0 10px; padding: 11px 12px; color: #3d5d70; border: 1px solid #d8e7ed; border-radius: 10px; background: #f7fbfc; font-size: 12px; font-weight: 800; }
.ahu-site-search span { color: #507084; font-size: 11px; }.ahu-site-search input { width: 100%; min-height: 40px; padding: 8px 11px; color: #183b51; border: 1px solid #bfd4df; border-radius: 8px; background: #fff; box-sizing: border-box; font: inherit; font-size: 13px; outline: none; }.ahu-site-search input:focus { border-color: #53b9a7; box-shadow: 0 0 0 3px rgba(83, 185, 167, .15); }
.ahu-site-picker-summary { margin: 14px 0 8px; color: #5a7688; font-size: 11px; font-weight: 750; }
.ahu-site-picker-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 8px; max-height: 300px; overflow: auto; padding: 2px 4px 6px 2px; }
.ahu-site-picker-buttons + .ahu-site-create-form { margin-top: 16px; }
.ahu-site-picker-button { width: 100%; min-width: 0; min-height: 38px; padding: 8px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #245570; border-color: #c8dce7; border-radius: 8px; background: #fff; transition: background .15s ease, border-color .15s ease, transform .15s ease; }.ahu-site-picker-button:hover { border-color: #6abdad; background: #effbf8; transform: translateY(-1px); }.ahu-site-picker-button.is-active { color: #075f59; border-color: #72cfbd; background: #dff7f1; }
.ahu-site-picker-empty, .ahu-site-picker-guide { width: 100%; margin: 0; padding: 14px 10px; color: #718797; text-align: center; border: 1px dashed #cbdde5; border-radius: 8px; background: #fbfdfe; font-size: 12px; line-height: 1.55; }.ahu-site-picker-guide { color: #5d7889; }
@media (max-width: 680px) { .ahu-site-picker-buttons { grid-template-columns: 1fr; max-height: 300px; }.ahu-site-recent__head { display: block; }.ahu-site-recent__head small { display: block; margin-top: 3px; }.ahu-site-recent__buttons { display: grid; grid-template-columns: 1fr; }.ahu-site-picker-empty, .ahu-site-picker-guide { grid-column: 1 / -1; } }

/* 선택 후에도 현장 트리는 전체 폭으로 유지해 회차·현장 선택 조작이 겹치지 않게 한다. */
@media (min-width: 761px) {
  .ahu-main { grid-template-columns: minmax(0, 1fr); }
  .ahu-tree-panel, .ahu-list-panel { grid-column: 1; }
  .ahu-tree-panel__head { align-items: flex-end; }
  .ahu-tree-panel__actions { width: auto; }
  .ahu-round-selector { max-width: 100%; }
  .ahu-site-tree { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-height: none; }
}

/* 넓은 화면에서는 작업 메뉴를 본문 왼쪽에 두고, 점검 현황과 장비 목록을 한 화면에서 이어 본다. */
.ahu-workspace { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.ahu-action-rail { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border: 1px solid #d4e3e9; border-radius: 13px; background: rgba(255,255,255,.72); box-shadow: 0 9px 22px rgba(17, 56, 78, .05); }
.ahu-action-rail .ahu-button, .ahu-action-rail .ahu-top-site-trigger { display: flex; width: 100%; min-height: 38px; padding: 8px 10px; box-sizing: border-box; justify-content: flex-start; color: #1c4c65; border: 1px solid #bfd6e1; border-radius: 8px; background: #fff; font-size: 12px; box-shadow: none; }
.ahu-action-rail .ahu-top-site-trigger { gap: 6px; }.ahu-action-rail .ahu-top-site-trigger span { color: #668092; }.ahu-action-rail .ahu-top-site-trigger strong { min-width: 0; max-width: none; flex: 1; text-align: left; }.ahu-action-rail .ahu-top-site-trigger i { color: #158f83; }
.ahu-action-rail .ahu-button--soft:hover, .ahu-action-rail .ahu-top-site-trigger:hover { color: #075f59; border-color: #74cdbd; background: #f0fbf8; }
.ahu-action-rail .ahu-button--primary { color: #073b43; border-color: #76dfcf; background: linear-gradient(135deg, #71dfcf, #4fc5b8); box-shadow: 0 4px 12px rgba(40, 207, 181, .16); }
.ahu-action-rail .ahu-button--text { color: #6a8291; border-color: transparent; background: transparent; }
.ahu-action-rail .ahu-button--text:hover { color: #264e63; background: #f2f7f9; }
.ahu-summary-card--action { cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.ahu-summary-card--action:hover, .ahu-summary-card--action:focus-visible, .ahu-summary-card--action.is-active { transform: translateY(-2px); outline: 0; box-shadow: 0 13px 27px rgba(17, 56, 78, .13); }
.ahu-summary-card--action:focus-visible { box-shadow: 0 0 0 3px rgba(71, 195, 177, .42), 0 13px 27px rgba(17, 56, 78, .13); }
.ahu-summary-card--normal.is-active { border-color: #54bd92; }.ahu-summary-card--warning.is-active { border-color: #ecb050; }.ahu-summary-card--abnormal.is-active { border-color: #ed8588; }
@media (min-width: 1081px) {
  .ahu-main { width: min(100%, 1880px); grid-template-columns: 166px minmax(0, 1450px); justify-content: start; gap: 50px; padding: 26px 20px 72px; }
  .ahu-action-rail { position: sticky; top: 18px; grid-column: 1; grid-row: 1; align-self: start; }
  .ahu-workspace { grid-column: 2; grid-row: 1; }
  .ahu-workspace > .ahu-summary-grid, .ahu-workspace > .ahu-qr-panel, .ahu-workspace > .ahu-tree-panel, .ahu-workspace > .ahu-list-panel { grid-column: 1; }
  .ahu-site-unselected .ahu-tree-panel { grid-column: 1; }
}
@media (max-width: 1080px) {
  .ahu-action-rail { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .ahu-action-rail .ahu-button, .ahu-action-rail .ahu-top-site-trigger { width: auto; min-width: 112px; }
  .ahu-action-rail .ahu-top-site-trigger { flex: 1 1 180px; }
}
@media (max-width: 560px) {
  .ahu-action-rail { padding: 10px; gap: 7px; }
  .ahu-action-rail .ahu-button, .ahu-action-rail .ahu-top-site-trigger { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .ahu-action-rail .ahu-top-site-trigger { flex-basis: 100%; }
}
.ahu-memo-inline textarea, .ahu-detail-memos textarea, .ahu-public-memo textarea { width: 100%; min-height: 68px; padding: 8px 10px; color: #183448; border: 1px solid #cfdde6; border-radius: 8px; box-sizing: border-box; background: #fff; font: inherit; font-size: 13px; line-height: 1.45; resize: vertical; }
.ahu-memo-inline .ahu-button { align-self: end; min-height: 40px; white-space: nowrap; }
.ahu-detail-memos { margin-top: 18px; padding: 14px; border: 1px solid #d9e6ec; border-radius: 10px; background: #fbfdfe; }.ahu-detail-memos__head h3 { margin: 0; color: #203f53; font-size: 15px; }.ahu-detail-memos__head p { margin: 4px 0 10px; color: #708697; font-size: 12px; line-height: 1.45; }.ahu-detail-memos .ahu-button { margin-top: 8px; }
.ahu-memo-list { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }.ahu-memo-list li { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-top: 1px solid #e4edf1; }.ahu-memo-list time { color: #6e8594; font-size: 11px; }.ahu-memo-list span { color: #2e4c60; font-size: 13px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; }.ahu-memo-empty { margin: 12px 0 0; color: #7a8d9b; font-size: 12px; }
.ahu-public-memo > p { margin: 5px 0 10px; color: #647d8d; font-size: 12px; line-height: 1.5; }.ahu-public-memo .ahu-public-secondary { width: 100%; margin-top: 8px; }.ahu-public-memo .ahu-memo-list { max-height: 285px; overflow: auto; }
.ahu-public-worker { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; margin: 0 0 16px; padding: 14px; border: 1px solid #bfe7dc; border-radius: 11px; background: #effaf7; }.ahu-public-worker strong { display: block; color: #075f59; font-size: 15px; }.ahu-public-worker p { margin: 4px 0 0; color: #587285; font-size: 12px; line-height: 1.5; }.ahu-public-worker form { display: grid; grid-template-columns: minmax(135px, 1fr) minmax(110px, .75fr) auto; gap: 8px; align-items: end; }.ahu-public-worker label { display: grid; gap: 5px; color: #496579; font-size: 11px; font-weight: 800; }.ahu-public-worker input { min-height: 38px; padding: 7px 9px; color: #183448; border: 1px solid #b9d5df; border-radius: 8px; background: #fff; box-sizing: border-box; font: inherit; font-size: 13px; }.ahu-public-worker .ahu-button { min-height: 38px; white-space: nowrap; }.ahu-public-worker .ahu-public-secondary { min-height: 36px; white-space: nowrap; }
@media (max-width: 680px) { .ahu-record-control { align-items: stretch; }.ahu-record-control .ahu-button { width: 100%; margin-left: 0; }.ahu-memo-inline { grid-template-columns: 1fr; }.ahu-memo-inline .ahu-button { width: 100%; }.ahu-memo-list li { grid-template-columns: 1fr; gap: 3px; } }
@media (max-width: 680px) { .ahu-public-worker, .ahu-public-worker form { grid-template-columns: 1fr; }.ahu-public-worker .ahu-button, .ahu-public-worker .ahu-public-secondary { width: 100%; } }

.ahu-public-next-qr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(142px, .45fr); gap: 12px; align-items: center; margin: 0 0 16px; padding: 15px; border: 1px solid #8bdacb; border-radius: 12px; background: linear-gradient(135deg, #effcf8, #f8fffd); }.ahu-public-next-qr.is-complete { border-color: #5ed3bd; background: linear-gradient(135deg, #dffaf3, #f8fffd); }.ahu-public-next-qr strong { display: block; color: #075f59; font-size: 16px; }.ahu-public-next-qr p:not(.ahu-public-card__eyebrow) { margin: 5px 0 0; color: #537384; font-size: 12px; line-height: 1.55; }.ahu-public-next-qr .ahu-button { min-height: 44px; margin: 0; }.ahu-public-scanner { min-width: 0; }.ahu-public-scanner video { display: block; width: 100%; max-height: 290px; margin-top: 10px; border-radius: 9px; background: #102f3f; object-fit: cover; }.ahu-public-scanner #ahuPublicQrScannerStatus { margin-top: 9px; color: #267367; font-weight: 750; }
@media (max-width: 560px) { .ahu-public-next-qr { grid-template-columns: 1fr; }.ahu-public-next-qr .ahu-button { width: 100%; } }

/* 현장 선택은 검색·버튼 목록 대신 표준 선택 목록으로 제공한다. */
.ahu-site-select { display: grid; gap: 6px; margin: 0 0 14px; padding: 12px; color: #3d5d70; border: 1px solid #d8e7ed; border-radius: 10px; background: #f7fbfc; font-size: 12px; font-weight: 800; }.ahu-site-select span { color: #507084; font-size: 11px; }.ahu-site-select select { width: 100%; min-height: 42px; padding: 8px 38px 8px 11px; color: #183b51; border: 1px solid #bfd4df; border-radius: 8px; background: #fff; box-sizing: border-box; font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; outline: none; }.ahu-site-select select:focus { border-color: #53b9a7; box-shadow: 0 0 0 3px rgba(83, 185, 167, .15); }

.ahu-qr-print-note { flex: 1 1 100%; margin: 6px 0 0; color: #9a5600; font-size: 11px; font-weight: 750; line-height: 1.45; }

/* 현장 관리자 화면: 로그인한 한 현장만 점검·조치·보고서로 연결한다. */
.ahu-site-manager .ahu-top-site-trigger { cursor: default; }
.ahu-site-manager .ahu-top-site-trigger:disabled { opacity: 1; }
.ahu-site-manager .ahu-top-site-trigger i { display: none; }
.ahu-site-manager .ahu-summary-card[data-ahu-summary-action="site"] { cursor: default; }
.ahu-site-manager .ahu-summary-card[data-ahu-summary-action="site"]:hover,
.ahu-site-manager .ahu-summary-card[data-ahu-summary-action="site"]:focus-visible { transform: none; box-shadow: 0 8px 22px rgba(17, 56, 78, .055); }
.ahu-site-manager #ahuStatSites { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: clamp(18px, 2vw, 26px); letter-spacing: -.035em; }
.ahu-site-manager #ahuExportBtn { color: #073b43; border-color: #76dfcf; background: linear-gradient(135deg, #71dfcf, #4fc5b8); box-shadow: 0 4px 12px rgba(40, 207, 181, .16); }
.ahu-site-manager #ahuExportBtn:hover { background: linear-gradient(135deg, #8be9da, #61d4c6); }
.ahu-site-manager .ahu-tree-panel__actions { justify-content: flex-end; }
.ahu-site-manager .ahu-tree-panel__head { align-items: flex-start; }
.ahu-site-manager .ahu-tree-panel__head p:not(.ahu-eyebrow) { max-width: 560px; }
.ahu-site-manager #ahuWorkerManageBtn { color: #19516a; border-color: #92c9d9; background: #edf9fc; }
.ahu-site-manager #ahuWorkerManageBtn:hover { color: #075f59; border-color: #74cdbd; background: #e4f8f3; }
.ahu-worker-form select { width: 100%; min-height: 40px; padding: 8px 34px 8px 10px; color: #183b51; border: 1px solid #bfd4df; border-radius: 8px; background: #fff; box-sizing: border-box; font: inherit; font-size: 13px; }
@media (max-width: 760px) {
  .ahu-site-manager #ahuStatSites { font-size: 22px; }
  .ahu-site-manager .ahu-summary-card:first-child { grid-column: span 2; }
}

/* 본사 어드민: 전체 현장 현황 → 현장 상세로 자연스럽게 전환하는 운영 화면 */
.ahu-admin-mode .ahu-summary-grid { grid-template-columns: 1.12fr 1fr repeat(4, minmax(135px, 1fr)); }
.ahu-summary-card--uninspected::before { background: #8799a8; }
.ahu-summary-card--uninspected.is-active { border-color: #8799a8; }
.ahu-admin-overview { padding: 20px; border: 1px solid #d6e6eb; border-radius: 15px; background: linear-gradient(135deg, #fbfffe 0%, #f4fafb 100%); box-shadow: 0 10px 26px rgba(17, 56, 78, .05); }
.ahu-admin-overview__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 15px; border-bottom: 1px solid #dbe8ed; }
.ahu-admin-overview__head .ahu-eyebrow { margin: 0 0 5px; color: #128477; }
.ahu-admin-overview__head h2 { margin: 0; color: #14384f; font-size: 19px; letter-spacing: -.04em; }
.ahu-admin-overview__head p:not(.ahu-eyebrow) { max-width: 650px; margin: 5px 0 0; color: #648091; font-size: 12px; line-height: 1.5; }
.ahu-admin-overview__guide { flex: 0 0 auto; padding: 6px 9px; color: #08756a; border: 1px solid #a7dfd4; border-radius: 999px; background: #e4f8f3; font-size: 11px; font-weight: 850; }
.ahu-admin-overview__grid { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(280px, .58fr); gap: 18px; padding-top: 16px; }
.ahu-admin-overview__sites, .ahu-admin-overview__priority { min-width: 0; }
.ahu-admin-overview__priority { padding-left: 18px; border-left: 1px solid #dbe8ed; }
.ahu-admin-overview__section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.ahu-admin-overview__section-head h3 { margin: 0; color: #264b60; font-size: 13px; }
.ahu-admin-overview__section-head span { color: #708696; font-size: 11px; font-weight: 750; }
.ahu-admin-site-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ahu-admin-site-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 68px; padding: 11px 12px; color: #1e475d; border: 1px solid #d7e5eb; border-radius: 10px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.ahu-admin-site-row:hover, .ahu-admin-site-row:focus-visible { border-color: #70c8b8; outline: 0; box-shadow: 0 7px 16px rgba(17, 92, 105, .1); transform: translateY(-1px); }
.ahu-admin-site-row__name { display: grid; min-width: 0; gap: 4px; }.ahu-admin-site-row__name strong { overflow: hidden; color: #183f56; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.ahu-admin-site-row__name small { color: #718695; font-size: 10px; white-space: nowrap; }
.ahu-admin-site-row__status { display: grid; grid-template-columns: auto auto auto; gap: 3px; align-items: center; justify-items: end; flex: 0 0 auto; }.ahu-admin-site-row__status i { padding: 2px 5px; border-radius: 999px; font-style: normal; font-size: 9px; font-weight: 850; white-space: nowrap; }.ahu-admin-site-row__status .is-normal { color: #087652; background: #e1f7ed; }.ahu-admin-site-row__status .is-warning { color: #966000; background: #fff1d7; }.ahu-admin-site-row__status .is-abnormal { color: #b53b43; background: #ffeaeb; }.ahu-admin-site-row__status b { grid-column: 1 / -1; color: #1a8d81; font-size: 13px; line-height: 1; }
.ahu-admin-priority-rows { display: grid; gap: 7px; }
.ahu-admin-priority-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 8px; align-items: center; width: 100%; padding: 9px 3px; color: #21485d; border: 0; border-bottom: 1px solid #e1ebef; background: transparent; font: inherit; text-align: left; cursor: pointer; }.ahu-admin-priority-row:last-child { border-bottom: 0; }.ahu-admin-priority-row:hover strong, .ahu-admin-priority-row:focus-visible strong { color: #078176; }.ahu-admin-priority-row:focus-visible { outline: 2px solid #7ed6c7; outline-offset: 2px; border-radius: 5px; }.ahu-admin-priority-row > span { grid-row: span 2; }.ahu-admin-priority-row strong { overflow: hidden; color: #294c60; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.ahu-admin-priority-row small { overflow: hidden; margin-top: 3px; color: #718796; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ahu-admin-overview__empty { margin: 0; padding: 20px 10px; color: #718796; border: 1px dashed #cbdde5; border-radius: 9px; background: #fff; text-align: center; font-size: 12px; line-height: 1.5; }
.ahu-admin-site-cell { min-width: 110px; color: #315d73; background: #fbfdfd; font-size: 12px; }.ahu-admin-site-cell strong { font-weight: 800; }
.ahu-admin-mode.ahu-all-sites .ahu-tree-panel { border-color: #cde5df; }.ahu-admin-mode.ahu-all-sites .ahu-site-tree { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); max-height: 480px; }.ahu-admin-mode.ahu-all-sites .ahu-tree-site { border: 1px solid #dce8ed; background: #fff; }

@media (min-width: 1081px) {
  .ahu-admin-mode .ahu-main { width: min(1740px, 100%); box-sizing: border-box; grid-template-columns: 184px minmax(0, 1fr); gap: 24px; margin: 0 auto; padding: 28px 22px 72px; }
  .ahu-admin-mode .ahu-workspace { gap: 16px; }
}
@media (max-width: 1240px) {
  .ahu-admin-mode .ahu-summary-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ahu-admin-overview__grid { grid-template-columns: 1fr; }.ahu-admin-overview__priority { padding: 16px 0 0; border-top: 1px solid #dbe8ed; border-left: 0; }
}
@media (max-width: 760px) {
  .ahu-admin-mode .ahu-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ahu-admin-overview { padding: 15px; border-radius: 12px; }.ahu-admin-overview__head { display: block; }.ahu-admin-overview__guide { display: inline-block; margin-top: 10px; }.ahu-admin-site-rows { grid-template-columns: 1fr; }.ahu-admin-site-row { min-height: 64px; }.ahu-admin-mode.ahu-all-sites .ahu-site-tree { max-height: none; grid-template-columns: 1fr; }.ahu-admin-site-cell { min-width: 0; }
}


.site-password-panel {
  margin: 18px 0 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
  padding: 16px;
  text-align: left;
}
.site-password-panel__head strong { display: block; color: #fff; font-size: 16px; font-weight: 950; }
.site-password-panel__head p { margin: 5px 0 14px; color: #b9c9db; font-size: 13px; font-weight: 700; line-height: 1.45; }
.site-password-panel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.site-password-panel label { display: grid; gap: 6px; color: #d7e3ee; font-size: 12px; font-weight: 900; }
.site-password-panel input { width: 100%; border: 1px solid rgba(255, 255, 255, .18); border-radius: 8px; padding: 10px 11px; color: #0f172a; background: #fff; }
.site-password-panel input[readonly] { background: #e9eef5; color: #475569; }
.site-password-panel__actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.site-password-panel__actions button { border: 0; border-radius: 8px; background: #7de3d2; color: #05223e; padding: 10px 13px; font-weight: 900; }
.site-password-panel__actions span { min-height: 18px; color: #b7f7c8; font-size: 13px; font-weight: 850; }
.site-password-panel__actions span[data-state="error"] { color: #fecdd3; }
@media (max-width: 900px) { .site-password-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .site-password-panel__grid { grid-template-columns: 1fr; } .site-password-panel__actions { align-items: stretch; flex-direction: column; } .site-password-panel__actions button { width: 100%; } }
