@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/pretendardvariable-dynamic-subset.css");

:root {
  --navy: #243056;
  --yellow: #ffb607;
  --page: #f5f7fa;
  --line: #eeeeee;
  --text: #2e2e2e;
  --muted: #999999;
  --primary: #2e378d;
  --secondary: #8592a3;
  --success: #3665ff;
  --danger: #f44336;
  --sidebar-width: 244px;
  --sidebar-panel-width: 224px;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  min-width: 320px;
  min-height: 100%;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font:
    16px/1.5 "Pretendard Variable",
    Pretendard,
    sans-serif;
  letter-spacing: -0.05em;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

#wrap {
  position: relative;
  min-height: 100vh;
}

#util {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: calc(100% - var(--sidebar-width));
  height: 70px;
  margin-left: var(--sidebar-width);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: all 0.3s ease-out;
}
.util-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.util-left {
  height: 100%;
  display: flex;
  align-items: center;
}
.menu-button {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-size: 23px;
}
.page-title {
  padding-left: 20px;
}
.page-title h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.profile {
  position: relative;
  display: flex;
  align-items: center;
  margin-right: 40px;
}
.profile-info {
  margin-right: 10px;
  text-align: right;
}
.profile-info strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.profile-info p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
}
.profile-toggle {
  position: relative;
}
.profile-toggle summary {
  padding: 8px;
  color: #666;
  font-size: 11px;
  list-style: none;
  cursor: pointer;
}
.profile-toggle summary::-webkit-details-marker {
  display: none;
}
.profile-menu {
  position: absolute;
  top: 36px;
  right: 0;
  min-width: 140px;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 3px 4px 6px rgba(0, 0, 0, 0.08);
  list-style: none;
}
.profile-menu a {
  display: block;
  padding: 5px;
  color: #666;
  font-size: 14px;
}
.profile-menu a:hover {
  color: var(--yellow);
}

#header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--navy);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transition: left 0.3s ease-out;
}
.logo {
  display: block;
  padding: 22px 20px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  text-align: center;
}
.brand-logo {
  width: 100%;
  height: 25px;
  display: block;
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf4AAAA9CAYAAABMZAuLAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACQCSURBVHhe7V0J1DRFdVVMNEHikhyJS9Bg3BXxoFEJKokGxIS4IBgXBMWgMYgLxAUQREWIcQn6uwAq4hFbUcAGwYALbrFFJQaDKwYtpAQVLUET3CXnznn1W3P7VVd3TfV8M9D3nHu+/5/puu/Vq5p6vVRX3eAGGTDW/cJYd63nzf/4HoMYljXWncf6OTDW7UO6Lbtd5LLGujuyjUUAPbbBPuSQNY11x7LtRWCsuw3bYB+6yGWNdYewjRwY607N9Umj6GxZ1c0rq7r5TVU3164Zt0zFQmmLFrmMUv7riu114AVV3dw0VUclVtsEfe7sPnFaRQb1uTioz8NK18frbf6hZqBvf+zLQO8JgY13lrSxTIbxmY/cSECnKR2ooBLHsL0+MNZtP0YDlgzsGP7FqHXyXIzhd+DfjmyvD3BiM4ZfoOgi6W8riYKTx1pQ4rRwjIK2+llVNwewnTUhfD/Bx4TrmGIQg4XjuSpcRn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GHChOsg/h+NC+Howk9xgQAAAABJRU5ErkJggg==")
    center/contain no-repeat;
}
.side-nav {
  height: calc(100vh - 68px);
  margin: 0;
  padding: 0 0 50px;
  overflow-y: auto;
  list-style: none;
}
.depth-menu {
  position: relative;
  width: 100%;
}
.depth-menu summary {
  position: relative;
  display: block;
  padding: 13px 36px 13px 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.depth-menu summary::-webkit-details-marker {
  display: none;
}
.depth-menu summary i {
  position: absolute;
  top: 17px;
  left: 30px;
}
.depth-menu summary span {
  display: block;
  padding-left: 25px;
}
.depth-menu summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-bottom: 5px solid rgba(255, 255, 255, 0.5);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  transform: rotate(180deg);
  transition: transform 0.3s;
}
.depth-menu[open] summary::after {
  transform: rotate(0);
}
.depth-menu.active summary {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
}
.depth-menu.active summary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--yellow);
}
.depth-menu.active summary i {
  color: var(--yellow);
}
.navi-list {
  margin: 0;
  padding: 10px 20px 10px 30px;
  list-style: none;
}
.navi-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 15px;
}
.navi-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #eee;
}
.navi-list li:last-child {
  margin-bottom: 0;
}
.navi-list a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  word-break: keep-all;
}
.navi-list li.active a,
.navi-list li:hover a {
  color: var(--yellow);
  font-weight: 600;
}
.navi-list li.active::before,
.navi-list li:hover::before {
  background: var(--yellow);
}
.single-menu {
  position: relative;
  display: block;
  padding: 13px 36px 13px 30px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.single-menu i {
  position: absolute;
  top: 17px;
  left: 30px;
}
.single-menu span {
  display: block;
  padding-left: 25px;
}
.single-menu:hover,
.single-menu.active {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent);
  color: var(--yellow);
}
.single-menu.active::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--yellow);
}

#container {
  min-height: calc(100vh - 46px);
  margin-left: var(--sidebar-width);
  padding: 110px 30px 60px;
  background: var(--page);
  transition: margin-left 0.3s ease-out;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}
.location {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: #999;
  font-size: 13px;
  list-style: none;
}
.location li + li::before {
  content: "›";
  margin-right: 9px;
  color: #c2c5cd;
}
.location .active {
  color: #333;
}
.content-frame {
  min-height: 610px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.content-placeholder {
  min-height: 610px;
  display: grid;
  place-items: center;
  color: #b0b4bf;
  font-size: 14px;
}

.divider {
  margin-bottom: 20px;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.divider-body {
  padding: 24px;
}
.search-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #eee;
}
.search-table th,
.search-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  text-align: left;
}
.search-table th {
  width: 130px;
  background: #f8f9fb;
  color: #555;
  font-weight: 600;
}
.search-table td {
  background: #fff;
}
.search-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.form-control,
.form-select {
  height: 40px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font:
    14px "Pretendard Variable",
    Pretendard,
    sans-serif;
}
.form-control {
  width: min(500px, 100%);
  padding: 0 14px;
}
.form-select {
  min-width: 120px;
  padding: 0 34px 0 14px;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--success);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(54, 101, 255, 0.15);
}
.btn {
  min-width: 80px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #fff;
  font-size: 14px;
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  opacity: 0.8;
}
.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.btn-secondary {
  border-color: var(--secondary);
  background: var(--secondary);
  color: #fff;
}
.btn-line {
  border-color: #ddd;
  color: #555;
}
.btn-sm {
  min-width: 54px;
  height: 30px;
  padding: 0 10px;
  font-size: 13px;
}
.btn-wrap {
  margin-top: 16px;
  text-align: center;
}
.list-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.list-left,
.list-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.total {
  color: #666;
  font-size: 14px;
}
.total b {
  margin: 0 3px;
  color: var(--success);
  font-weight: 700;
}
.list-table-wrap {
  overflow-x: auto;
}
.list-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}
.list-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.list-table th {
  height: 46px;
  padding: 0 10px;
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid #ddd;
  background: #f8f9fb;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.list-table td {
  height: 54px;
  padding: 7px 10px;
  border-bottom: 1px solid #eee;
  color: #666;
  font-size: 14px;
  text-align: center;
}
.list-table tbody tr:hover {
  background: #fafbfc;
}
.list-table .title-cell {
  overflow: hidden;
  color: #333;
  font-weight: 500;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-label {
  display: inline-block;
  min-width: 42px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(46, 55, 141, 0.1);
  color: var(--primary);
  font-size: 12px;
}
.notice-label.urgent {
  background: rgba(244, 67, 54, 0.1);
  color: var(--danger);
}
.state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #26be96;
}
.state.scheduled::before {
  background: #ffb607;
}
.state.hidden::before {
  background: #aaa;
}
.pin {
  display: inline-block;
  margin-right: 11px;
  padding: 2px 6px;
  border: 1px solid rgba(244, 67, 54, 0.28);
  border-radius: 3px;
  background: rgba(244, 67, 54, 0.07);
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  vertical-align: 1px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 22px;
}
.page-link {
  min-width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #eee;
  border-radius: 3px;
  background: #fff;
  color: #777;
  font-size: 13px;
}
.page-link.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.form-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
}
.form-table th,
.form-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.form-table th {
  width: 150px;
  background: #f8f9fb;
  color: #555;
  font-weight: 600;
  line-height: 40px;
}
.form-table .required::after {
  content: "*";
  margin-left: 4px;
  color: var(--danger);
}
.form-table .form-control {
  width: 100%;
}
.form-table textarea.form-control {
  height: 300px;
  padding: 14px;
  resize: vertical;
}
.field-help {
  margin: 7px 0 0;
  color: #999;
  font-size: 12px;
}
.choice-line {
  min-height: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}
.choice-line label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555;
}
.choice-line input {
  accent-color: var(--primary);
}
.period-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.editor {
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
}
.editor textarea.form-control {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.note-editor.note-frame {
  border: 1px solid #e2e5eb;
  border-radius: 4px;
  box-shadow: none;
}
.note-editor.note-frame:focus-within {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(54, 101, 255, 0.12);
}
.note-editor .note-toolbar {
  padding: 8px 8px 3px;
  border-bottom: 1px solid #e8eaf0;
  border-radius: 4px 4px 0 0;
  background: #f8f9fb;
}
.note-editor .note-btn-group {
  margin-right: 5px;
  margin-bottom: 5px;
}
.note-editor .note-btn {
  min-width: 30px;
  height: 31px;
  padding: 4px 8px;
  border-color: #dfe2e8;
  border-radius: 3px;
  background: #fff;
  color: #4c5060;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 13px;
}
.note-editor .note-btn:hover,
.note-editor .note-btn.active {
  border-color: #bfc5d3;
  background: #eef0f5;
  color: var(--primary);
  opacity: 1;
}
.note-editor .note-editable {
  padding: 16px;
  color: #333;
  background: #fff;
  font:
    14px/1.7 "Pretendard Variable",
    Pretendard,
    sans-serif;
  letter-spacing: -0.025em;
}
.note-editor .note-placeholder {
  padding: 16px;
  color: #aaa;
  font-size: 14px;
}
.note-editor .note-statusbar {
  border-top: 1px solid #eee;
  border-radius: 0 0 4px 4px;
  background: #fafbfc;
}
.note-editor .note-dropdown-menu {
  min-width: 180px;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
}
.note-modal {
  z-index: 1100;
}
.note-modal-backdrop {
  z-index: 1090;
}
.file-field {
  width: 100%;
  max-width: 600px;
  padding: 8px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fff;
}
.form-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.form-bottom p {
  margin: 0;
  color: #999;
  font-size: 12px;
}
.form-actions {
  display: flex;
  gap: 6px;
}

/* Gallery */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.gallery-toolbar .list-left,
.gallery-toolbar .list-right {
  flex-wrap: wrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e8eaf0;
  border-radius: 6px;
  background: #fff;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.gallery-card:hover {
  transform: translateY(-2px);
  border-color: #d7dbe6;
  box-shadow: 0 9px 24px rgba(36, 48, 86, 0.1);
}
.gallery-check {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
}
.gallery-thumb {
  position: relative;
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  background: linear-gradient(135deg, #5b67a8, #253158);
}
.gallery-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(15, 21, 43, 0.36));
}
.gallery-thumb i {
  font-size: 42px;
  opacity: 0.9;
}
.gallery-thumb.tone-2 {
  background: linear-gradient(135deg, #77919e, #304c61);
}
.gallery-thumb.tone-3 {
  background: linear-gradient(135deg, #b68a71, #604c52);
}
.gallery-thumb.tone-4 {
  background: linear-gradient(135deg, #7e9b83, #344f48);
}
.gallery-thumb.tone-5 {
  background: linear-gradient(135deg, #8b7da8, #3f385f);
}
.gallery-thumb.tone-6 {
  background: linear-gradient(135deg, #a7976f, #5b5138);
}
.gallery-count {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 3px;
  background: rgba(13, 19, 40, 0.72);
  color: #fff;
  font-size: 11px;
}
.gallery-count i {
  font-size: 12px;
}
.gallery-info {
  padding: 14px 15px 15px;
}
.gallery-info h3 {
  overflow: hidden;
  margin: 0 0 9px;
  color: #30323a;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gallery-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #999;
  font-size: 12px;
}
.gallery-meta .state {
  color: #666;
}
.gallery-card-actions {
  display: flex;
  gap: 6px;
  padding: 0 15px 15px;
}
.gallery-card-actions .btn {
  flex: 1;
}
.view-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.view-switch button {
  width: 36px;
  height: 34px;
  border: 0;
  border-left: 1px solid #eee;
  background: #fff;
  color: #999;
  font-size: 18px;
}
.view-switch button:first-child {
  border-left: 0;
}
.view-switch button.active {
  color: var(--primary);
  background: #f1f3fa;
}
.gallery-empty-note {
  margin: 18px 0 0;
  color: #999;
  font-size: 12px;
  text-align: right;
}

.upload-zone {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed #bfc5d3;
  border-radius: 6px;
  background: #fafbfc;
  text-align: center;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.upload-zone:hover,
.upload-zone.is-dragging {
  border-color: var(--primary);
  background: #f6f7ff;
}
.upload-zone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.upload-guide i {
  display: block;
  margin-bottom: 9px;
  color: var(--primary);
  font-size: 36px;
}
.upload-guide strong {
  display: block;
  margin-bottom: 5px;
  color: #3d4150;
  font-size: 15px;
}
.upload-guide p {
  margin: 0;
  color: #999;
  font-size: 12px;
}
.upload-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 10px;
}
.upload-preview-head strong {
  font-size: 14px;
}
.upload-preview-head span {
  color: #999;
  font-size: 12px;
}
.upload-preview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.upload-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #e1e4eb;
  border-radius: 5px;
  background: #fff;
}
.upload-item.is-cover {
  border: 2px solid var(--primary);
}
.upload-item img {
  width: 100%;
  aspect-ratio: 4/3;
  display: block;
  object-fit: cover;
  background: #f0f1f4;
}
.upload-item-info {
  padding: 9px;
}
.upload-item-name {
  display: block;
  overflow: hidden;
  color: #555;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upload-item-actions {
  display: flex;
  gap: 5px;
  margin-top: 7px;
}
.upload-item-actions button {
  flex: 1;
  height: 27px;
  padding: 0 5px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background: #fff;
  color: #666;
  font-size: 11px;
}
.upload-item-actions button:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.cover-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
}
.upload-order-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #999;
  font-size: 12px;
}
.gallery-form-table th {
  width: 160px;
}
.gallery-form-table textarea.form-control {
  height: 150px;
}

/* Schedule */
.schedule-app {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.schedule-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #e8eaf0;
}
.schedule-nav,
.schedule-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.schedule-nav h3 {
  min-width: 150px;
  margin: 0 8px;
  color: #2d3140;
  font-size: 20px;
  text-align: center;
}
.icon-btn {
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #dde1e8;
  border-radius: 4px;
  background: #fff;
  color: #555;
  font-size: 19px;
}
.icon-btn:hover {
  border-color: #bec4d0;
  color: var(--primary);
}
.schedule-view-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid #dfe2e8;
  border-radius: 4px;
}
.schedule-view-switch button {
  min-width: 47px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid #e4e6ec;
  background: #fff;
  color: #747986;
  font-size: 13px;
}
.schedule-view-switch button:first-child {
  border-left: 0;
}
.schedule-view-switch button.active {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.schedule-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 700px;
}
.schedule-sidebar {
  padding: 22px 18px;
  border-right: 1px solid #e8eaf0;
  background: #fafbfc;
}
.schedule-side-section + .schedule-side-section {
  margin-top: 28px;
}
.schedule-side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  color: #3e4250;
  font-size: 13px;
  font-weight: 700;
}
.schedule-side-title button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  font-size: 17px;
}
.calendar-filter-list {
  display: grid;
  gap: 10px;
}
.calendar-filter {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555;
  font-size: 13px;
  cursor: pointer;
}
.calendar-filter input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary);
}
.calendar-color {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #4263eb;
}
.calendar-color.shared {
  background: #7b61c9;
}
.calendar-color.operation {
  background: #2c9b77;
}
.calendar-color.holiday {
  background: #e35d69;
}
.member-list {
  display: grid;
  gap: 10px;
}
.member-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #555;
  font-size: 13px;
}
.member-avatar {
  width: 28px;
  height: 28px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e7e9f7;
  color: var(--primary);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}
.member-avatar.purple {
  background: #eee8fa;
  color: #7555b5;
}
.member-avatar.green {
  background: #e4f4ef;
  color: #287a62;
}
.member-avatar.orange {
  background: #fff1dc;
  color: #a66e0f;
}
.member-row small {
  display: block;
  color: #aaa;
  font-size: 11px;
}
.upcoming-card {
  padding: 12px;
  border: 1px solid #e4e7ed;
  border-radius: 5px;
  background: #fff;
}
.upcoming-card strong {
  display: block;
  margin-bottom: 4px;
  color: #404451;
  font-size: 12px;
}
.upcoming-card p {
  margin: 0;
  color: #999;
  font-size: 11px;
}
.schedule-main {
  min-width: 0;
  padding: 0 18px 20px;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-bottom: 1px solid #e1e4ea;
}
.calendar-weekdays div {
  padding: 13px 8px;
  color: #777;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.calendar-weekdays div:first-child {
  color: #df5964;
}
.calendar-weekdays div:last-child {
  color: #4263aa;
}
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid #edf0f3;
}
.calendar-day {
  min-width: 0;
  min-height: 126px;
  padding: 8px 6px;
  border-right: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
  background: #fff;
  cursor: pointer;
}
.calendar-day:hover {
  background: #fafbfe;
}
.calendar-day.is-outside {
  background: #fafafa;
}
.calendar-day.is-outside .day-number {
  color: #bbb;
}
.calendar-day.is-today {
  background: #fbfbff;
  box-shadow: inset 0 0 0 1px rgba(46, 55, 141, 0.4);
}
.day-number {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 50%;
  color: #555;
  font-size: 12px;
}
.calendar-day:nth-child(7n + 1) .day-number {
  color: #db5662;
}
.calendar-day:nth-child(7n) .day-number {
  color: #4263aa;
}
.calendar-day.is-today .day-number {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.day-events {
  display: grid;
  gap: 3px;
}
.calendar-event {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  border: 0;
  border-left: 3px solid #4263eb;
  border-radius: 3px;
  background: #eef2ff;
  color: #34427b;
  font-size: 11px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}
.calendar-event:hover {
  filter: brightness(0.97);
}
.calendar-event .event-time {
  flex: none;
  font-size: 10px;
  opacity: 0.72;
}
.calendar-event .event-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-event[data-calendar="shared"] {
  border-left-color: #7b61c9;
  background: #f2edfb;
  color: #604b97;
}
.calendar-event[data-calendar="operation"] {
  border-left-color: #2c9b77;
  background: #eaf7f3;
  color: #246f5a;
}
.calendar-event[data-calendar="holiday"] {
  border-left-color: #e35d69;
  background: #fff0f2;
  color: #ba4651;
}
.event-private {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.7;
}
.calendar-view[hidden] {
  display: none;
}
.week-calendar {
  min-width: 840px;
  overflow: hidden;
  border-left: 1px solid #edf0f3;
}
.week-scroll {
  overflow-x: auto;
}
.week-header,
.week-body {
  display: grid;
  grid-template-columns: 62px repeat(7, minmax(110px, 1fr));
}
.week-header {
  border-bottom: 1px solid #e1e4ea;
}
.week-header div {
  padding: 12px 5px;
  border-right: 1px solid #edf0f3;
  color: #666;
  font-size: 12px;
  text-align: center;
}
.week-header strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}
.week-header .week-today strong {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  margin: 3px auto 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.time-column {
  height: 540px;
  border-right: 1px solid #edf0f3;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 53px,
    #edf0f3 54px
  );
}
.time-column span {
  height: 54px;
  display: block;
  padding: 4px 7px 0 0;
  color: #aaa;
  font-size: 10px;
  text-align: right;
}
.week-day-column {
  position: relative;
  height: 540px;
  border-right: 1px solid #edf0f3;
  background: repeating-linear-gradient(
    to bottom,
    #fff 0,
    #fff 53px,
    #edf0f3 54px
  );
}
.week-event {
  position: absolute;
  right: 5px;
  left: 5px;
  overflow: hidden;
  padding: 6px 7px;
  border-left: 3px solid #7b61c9;
  border-radius: 3px;
  background: #f2edfb;
  color: #604b97;
  font-size: 11px;
  line-height: 1.35;
  cursor: pointer;
}
.week-event[data-calendar="personal"] {
  border-left-color: #4263eb;
  background: #eef2ff;
  color: #34427b;
}
.week-event[data-calendar="operation"] {
  border-left-color: #2c9b77;
  background: #eaf7f3;
  color: #246f5a;
}
.agenda-list {
  padding: 18px 0;
}
.agenda-date {
  margin: 0;
  padding: 10px 4px;
  border-bottom: 1px solid #e8eaf0;
  color: #303440;
  font-size: 14px;
}
.agenda-date span {
  margin-left: 7px;
  color: #999;
  font-size: 12px;
  font-weight: 400;
}
.agenda-item {
  display: grid;
  grid-template-columns: 76px 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px 8px;
  border-bottom: 1px solid #f0f1f4;
  cursor: pointer;
}
.agenda-item:hover {
  background: #fafbfc;
}
.agenda-time {
  color: #777;
  font-size: 12px;
}
.agenda-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4263eb;
}
.agenda-item[data-calendar="shared"] .agenda-dot {
  background: #7b61c9;
}
.agenda-item[data-calendar="operation"] .agenda-dot {
  background: #2c9b77;
}
.agenda-content strong {
  display: block;
  color: #3b3f4b;
  font-size: 13px;
}
.agenda-content span {
  color: #999;
  font-size: 11px;
}
.agenda-members {
  display: flex;
}
.agenda-members .member-avatar {
  width: 24px;
  height: 24px;
  margin-left: -6px;
  border: 2px solid #fff;
}
.schedule-drawer-backdrop {
  position: fixed;
  inset: 70px 0 0 var(--sidebar-width);
  z-index: 810;
  background: rgba(23, 29, 52, 0.16);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s;
}
.schedule-drawer {
  position: fixed;
  top: 70px;
  right: -430px;
  bottom: 0;
  z-index: 820;
  width: 420px;
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: -12px 0 32px rgba(31, 38, 66, 0.16);
  transition: right 0.24s ease;
}
.schedule-drawer form {
  min-height: 0;
  display: flex;
  flex: 1;
  flex-direction: column;
}
body.schedule-drawer-open .schedule-drawer-backdrop {
  opacity: 1;
  visibility: visible;
}
body.schedule-drawer-open .schedule-drawer {
  right: 0;
}
.drawer-head {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e8eaf0;
}
.drawer-head h3 {
  margin: 0;
  color: #303440;
  font-size: 18px;
}
.drawer-close {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #f3f4f7;
  color: #666;
  font-size: 21px;
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.schedule-field {
  margin-bottom: 18px;
}
.schedule-field > label,
.schedule-field > span {
  display: block;
  margin-bottom: 7px;
  color: #555;
  font-size: 12px;
  font-weight: 700;
}
.schedule-field .form-control,
.schedule-field .form-select {
  width: 100%;
  max-width: none;
}
.schedule-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}
.schedule-field textarea.form-control {
  height: 90px;
  padding: 12px;
  resize: vertical;
}
.schedule-calendar-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.schedule-calendar-option {
  position: relative;
}
.schedule-calendar-option input {
  position: absolute;
  opacity: 0;
}
.schedule-calendar-option span {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #dfe2e8;
  border-radius: 4px;
  color: #666;
  font-size: 12px;
}
.schedule-calendar-option input:checked + span {
  border-color: var(--primary);
  background: #f2f3fa;
  color: var(--primary);
  font-weight: 700;
}
.attendee-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.attendee-option {
  position: relative;
}
.attendee-option input {
  position: absolute;
  opacity: 0;
}
.attendee-option span {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px 6px 6px;
  border: 1px solid #e0e3e9;
  border-radius: 18px;
  color: #666;
  font-size: 12px;
}
.attendee-option input:checked + span {
  border-color: #aeb5d7;
  background: #f3f4fb;
  color: var(--primary);
}
.attendee-option .member-avatar {
  width: 23px;
  height: 23px;
}
.schedule-comments {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #eceef2;
}
.schedule-comments h4 {
  margin: 0 0 14px;
  color: #404451;
  font-size: 13px;
}
.comment-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 9px;
  margin-bottom: 14px;
}
.comment-item strong {
  color: #555;
  font-size: 12px;
}
.comment-item time {
  margin-left: 5px;
  color: #aaa;
  font-size: 10px;
  font-weight: 400;
}
.comment-item p {
  margin: 3px 0 0;
  color: #777;
  font-size: 12px;
}
.comment-write {
  display: flex;
  gap: 6px;
}
.comment-write .form-control {
  flex: 1;
  min-width: 0;
}
.drawer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 14px 20px;
  border-top: 1px solid #e8eaf0;
  background: #fafbfc;
}
.drawer-actions .delete-schedule {
  margin-right: auto;
  color: var(--danger);
}
body.menu-collapsed .schedule-drawer-backdrop {
  left: 0;
}

/* Work schedule */
.work-branch-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 28px rgba(154, 161, 171, 0.13);
}
.work-branch-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.work-branch-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 20px;
}
.work-branch-main strong {
  display: block;
  color: #363a46;
  font-size: 14px;
}
.work-branch-main p {
  margin: 3px 0 0;
  color: #999;
  font-size: 11px;
}
.work-branch-actions {
  display: flex;
  align-items: center;
  flex: none;
  gap: 7px;
}
.work-branch-actions .form-select {
  min-width: 155px;
}
.work-branch-mode {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border-radius: 12px;
  background: #f2f3f6;
  color: #737986;
  font-size: 10px;
  font-weight: 700;
}
.work-branch-mode.editable {
  background: #eaf7f3;
  color: #267c66;
}
.work-branch-empty {
  display: none;
  padding: 34px 18px;
  color: #999;
  font-size: 12px;
  text-align: center;
}
.work-branch-empty i {
  display: block;
  margin-bottom: 6px;
  color: #b0b5c0;
  font-size: 28px;
}
.branch-tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 3px;
  background: #f0f2f8;
  color: #5f6880;
  font-size: 10px;
  font-weight: 700;
}
.work-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.work-summary-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 28px rgba(154, 161, 171, 0.13);
}
.work-summary-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 21px;
}
.work-summary-icon.green {
  background: #e9f6f2;
  color: #27816a;
}
.work-summary-icon.orange {
  background: #fff4df;
  color: #b77a11;
}
.work-summary-icon.purple {
  background: #f1ecfb;
  color: #7655b5;
}
.work-summary-card strong {
  display: block;
  color: #303440;
  font-size: 20px;
  line-height: 1.1;
}
.work-summary-card span {
  display: block;
  margin-top: 4px;
  color: #999;
  font-size: 12px;
}
.roster-app {
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.roster-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid #e8eaf0;
}
.roster-nav,
.roster-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.roster-nav h3 {
  min-width: 230px;
  margin: 0 8px;
  color: #303440;
  font-size: 18px;
  text-align: center;
}
.roster-view-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid #dfe2e8;
  border-radius: 4px;
}
.roster-view-switch button {
  min-width: 54px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  border-left: 1px solid #e4e6ec;
  background: #fff;
  color: #747986;
  font-size: 13px;
}
.roster-view-switch button:first-child {
  border-left: 0;
}
.roster-view-switch button.active {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}
.roster-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-bottom: 1px solid #edf0f3;
  background: #fafbfc;
  color: #868b98;
  font-size: 12px;
}
.roster-scroll {
  overflow-x: auto;
}
.roster-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}
.roster-table th,
.roster-table td {
  border-right: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
}
.roster-table thead th {
  height: 62px;
  padding: 8px;
  background: #fafbfc;
  color: #666;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.roster-table thead th:first-child {
  width: 170px;
}
.roster-table thead strong {
  display: block;
  margin-top: 3px;
  color: #313542;
  font-size: 17px;
}
.roster-table thead .today-head {
  background: #f5f5fc;
  color: var(--primary);
}
.roster-table thead .today-head strong {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin: 3px auto 0;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.roster-table .weekend-sun {
  color: #d94f5c;
}
.roster-table .weekend-sat {
  color: #4263aa;
}
.roster-employee {
  width: 170px;
  padding: 13px 15px;
  background: #fafbfc;
  text-align: left;
}
.employee-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.employee-info .member-avatar {
  width: 34px;
  height: 34px;
}
.employee-info strong {
  display: block;
  color: #363a46;
  font-size: 13px;
}
.employee-info small {
  display: block;
  margin-top: 2px;
  color: #999;
  font-size: 11px;
  font-weight: 400;
}
.roster-cell {
  height: 90px;
  padding: 7px;
  background: #fff;
  vertical-align: top;
  cursor: pointer;
}
.roster-cell:hover {
  background: #fafbff;
}
.shift-card {
  width: 100%;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 9px;
  border: 1px solid #d9def5;
  border-left: 3px solid #5363b6;
  border-radius: 5px;
  background: #f3f4fb;
  color: #3c467f;
  text-align: left;
  cursor: pointer;
}
.shift-card strong {
  display: block;
  font-size: 12px;
  line-height: 1.4;
}
.shift-card span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  opacity: 0.72;
}
.shift-card.staff-2 {
  border-color: #e2d8f3;
  border-left-color: #7b61c9;
  background: #f6f2fb;
  color: #654d98;
}
.shift-card.staff-3 {
  border-color: #cfe9df;
  border-left-color: #2c9b77;
  background: #eef8f5;
  color: #246f5a;
}
.shift-card.staff-4 {
  border-color: #f0dfbd;
  border-left-color: #c28b2e;
  background: #fff8e9;
  color: #8a621d;
}
.off-shift {
  min-height: 62px;
  display: grid;
  place-items: center;
  color: #bbb;
  font-size: 12px;
}
.month-roster {
  padding: 18px;
}
.month-roster-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid #e8eaf0;
  border-left: 1px solid #e8eaf0;
}
.month-roster-day {
  min-height: 112px;
  padding: 8px;
  border-right: 1px solid #e8eaf0;
  border-bottom: 1px solid #e8eaf0;
}
.month-roster-day.is-outside {
  background: #fafafa;
  color: #bbb;
}
.month-roster-day.is-today {
  background: #fbfbff;
  box-shadow: inset 0 0 0 1px rgba(46, 55, 141, 0.35);
}
.month-roster-day > span {
  display: block;
  margin-bottom: 8px;
  color: #666;
  font-size: 12px;
}
.month-roster-people {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.month-roster-people .member-avatar {
  width: 24px;
  height: 24px;
  font-size: 9px;
}
.month-roster-count {
  margin-top: 6px;
  color: #999;
  font-size: 10px;
}
.shift-next-day {
  display: inline-block;
  margin-left: 3px;
  color: #7655b5;
  font-size: 10px;
  font-weight: 700;
}

/* Attendance */
.attendance-layout {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.punch-panel,
.attendance-status-panel {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.punch-panel {
  overflow: hidden;
}
.punch-head {
  padding: 18px 20px;
  border-bottom: 1px solid #eceef2;
}
.punch-head h3,
.attendance-status-head h3 {
  margin: 0;
  color: #333744;
  font-size: 16px;
}
.punch-head p,
.attendance-status-head p {
  margin: 4px 0 0;
  color: #999;
  font-size: 12px;
}
.punch-body {
  padding: 24px 20px;
}
.punch-clock {
  margin-bottom: 22px;
  text-align: center;
}
.punch-clock time {
  display: block;
  color: var(--navy);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.punch-clock span {
  color: #888;
  font-size: 13px;
}
.punch-form {
  display: grid;
  gap: 10px;
}
.punch-form .form-control,
.punch-form .form-select {
  width: 100%;
  max-width: none;
}
.pin-wrap {
  position: relative;
}
.pin-wrap i {
  position: absolute;
  top: 11px;
  left: 12px;
  color: #999;
}
.pin-wrap .form-control {
  padding-left: 37px;
  letter-spacing: 0.35em;
}
.punch-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 0;
  color: #777;
  font-size: 12px;
}
.punch-state::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #aaa;
}
.punch-state.working::before {
  background: #27ae83;
  box-shadow: 0 0 0 4px rgba(39, 174, 131, 0.12);
}
.punch-button {
  height: 54px;
  border: 0;
  border-radius: 5px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.punch-button.checkout {
  background: #e26a58;
}
.punch-message {
  min-height: 18px;
  margin: 3px 0 0;
  color: #27816a;
  font-size: 12px;
  text-align: center;
}
.attendance-status-panel {
  padding: 18px 20px 20px;
}
.attendance-status-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.live-count {
  padding: 5px 9px;
  border-radius: 14px;
  background: #e9f6f2;
  color: #27816a;
  font-size: 11px;
  font-weight: 700;
}
.staff-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.staff-status-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px;
  border: 1px solid #e7e9ee;
  border-radius: 5px;
  background: #fff;
}
.staff-status-card.is-selected {
  border-color: #adb5d8;
  box-shadow: 0 0 0 3px rgba(46, 55, 141, 0.08);
}
.staff-status-card .member-avatar {
  width: 36px;
  height: 36px;
}
.staff-status-main {
  min-width: 0;
  flex: 1;
}
.staff-status-main strong {
  display: block;
  color: #383c48;
  font-size: 13px;
}
.staff-status-main p {
  margin: 3px 0 0;
  color: #999;
  font-size: 11px;
}
.attendance-state {
  flex: none;
  padding: 4px 7px;
  border-radius: 12px;
  background: #f0f1f4;
  color: #888;
  font-size: 10px;
}
.attendance-state.working {
  background: #e7f6f1;
  color: #248064;
}
.attendance-state.upcoming {
  background: #fff4df;
  color: #a66e0f;
}
.attendance-state.done {
  background: #eef1fb;
  color: #4b5ea6;
}
.attendance-records {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.attendance-records .list-table {
  min-width: 1080px;
}
.record-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.record-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.work-hours {
  color: #333;
  font-weight: 700;
}
.late-text {
  color: #e05c4f;
  font-size: 11px;
}
.normal-text {
  color: #27816a;
  font-size: 11px;
}

/* Facility inspection */
.inspection-progress-card {
  padding: 20px;
  border-radius: 6px;
  background: linear-gradient(120deg, #29355d, #202a4c);
  color: #fff;
  box-shadow: 0 10px 28px rgba(36, 48, 86, 0.16);
}
.inspection-progress-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.inspection-progress-head strong {
  font-size: 16px;
}
.inspection-progress-head span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}
.inspection-progress-bar {
  height: 7px;
  margin: 15px 0 9px;
  overflow: hidden;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.18);
}
.inspection-progress-bar span {
  width: 70%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--yellow);
}
.inspection-progress-foot {
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
}
.inspection-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid #f0d9ae;
  border-radius: 6px;
  background: #fff8e9;
}
.inspection-alert-main {
  display: flex;
  align-items: center;
  gap: 11px;
}
.inspection-alert-main > i {
  color: #b67a12;
  font-size: 24px;
}
.inspection-alert strong {
  display: block;
  color: #765315;
  font-size: 13px;
}
.inspection-alert p {
  margin: 2px 0 0;
  color: #a37a35;
  font-size: 11px;
}
.inspection-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 13px;
  background: #e8f6f1;
  color: #268064;
  font-size: 11px;
  font-weight: 600;
}
.inspection-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.inspection-state.warning {
  background: #fff3df;
  color: #a76f0f;
}
.inspection-state.danger {
  background: #ffeded;
  color: #d95247;
}
.inspection-state.pending {
  background: #f0f1f4;
  color: #858995;
}
.inspection-photo-count {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 12px;
}
.inspection-photo-count i {
  color: #8b90a0;
  font-size: 15px;
}
.issue-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.issue-panel {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.issue-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid #eceef2;
}
.issue-panel-head h3 {
  margin: 0;
  color: #373b47;
  font-size: 15px;
}
.issue-panel-head a {
  color: var(--primary);
  font-size: 12px;
}
.issue-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.issue-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 20px;
  border-bottom: 1px solid #f0f1f4;
}
.issue-list li:last-child {
  border-bottom: 0;
}
.issue-icon {
  width: 32px;
  height: 32px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #fff0ed;
  color: #d95c4d;
  font-size: 16px;
}
.issue-icon.warning {
  background: #fff5e5;
  color: #b77a11;
}
.issue-content {
  min-width: 0;
  flex: 1;
}
.issue-content strong {
  display: block;
  overflow: hidden;
  color: #444854;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.issue-content span {
  color: #999;
  font-size: 10px;
}
.issue-action {
  flex: none;
  color: #777;
  font-size: 11px;
}
.inspection-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: start;
  gap: 18px;
}
.inspection-side-panel {
  position: sticky;
  top: 90px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.15);
}
.inspection-side-head {
  padding: 17px 18px;
  border-bottom: 1px solid #eceef2;
}
.inspection-side-head h3 {
  margin: 0;
  color: #373b47;
  font-size: 15px;
}
.inspection-side-body {
  padding: 18px;
}
.inspection-result-box {
  padding: 18px;
  border-radius: 6px;
  background: #eaf7f3;
  color: #277a62;
  text-align: center;
}
.inspection-result-box.warning {
  background: #fff5e5;
  color: #a66e0f;
}
.inspection-result-box.danger {
  background: #ffeded;
  color: #cc4e45;
}
.inspection-result-box i {
  display: block;
  margin-bottom: 7px;
  font-size: 30px;
}
.inspection-result-box strong {
  display: block;
  font-size: 15px;
}
.inspection-result-box span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}
.inspection-counts {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}
.inspection-count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #777;
  font-size: 12px;
}
.inspection-count-row b {
  color: #333;
}
.checklist {
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 5px;
}
.checklist-head,
.checklist-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 290px;
  align-items: center;
}
.checklist-head {
  min-height: 44px;
  background: #f8f9fb;
  color: #555;
  font-size: 12px;
  font-weight: 700;
}
.checklist-head span {
  padding: 0 15px;
}
.checklist-row {
  min-height: 62px;
  border-top: 1px solid #eceef2;
}
.checklist-item {
  padding: 10px 15px;
}
.checklist-item strong {
  display: block;
  color: #444854;
  font-size: 13px;
}
.checklist-item small {
  display: block;
  margin-top: 2px;
  color: #999;
  font-size: 10px;
}
.condition-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 8px 12px;
}
.condition-option {
  position: relative;
}
.condition-option input {
  position: absolute;
  opacity: 0;
}
.condition-option span {
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe2e8;
  border-radius: 4px;
  background: #fff;
  color: #777;
  font-size: 11px;
  cursor: pointer;
}
.condition-option.normal input:checked + span {
  border-color: #48a889;
  background: #eaf7f3;
  color: #25765e;
  font-weight: 700;
}
.condition-option.warning input:checked + span {
  border-color: #d9a64c;
  background: #fff5e4;
  color: #9a6812;
  font-weight: 700;
}
.condition-option.danger input:checked + span {
  border-color: #df766c;
  background: #ffeded;
  color: #c34c42;
  font-weight: 700;
}
.inspection-photo-zone {
  min-height: 135px;
}
.inspection-preview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.inspection-save-note {
  margin: 12px 0 0;
  color: #999;
  font-size: 11px;
  line-height: 1.6;
}

/* Headquarters dashboard */
.dashboard-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 15px 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 30px rgba(154, 161, 171, 0.13);
}
.dashboard-control-main {
  display: flex;
  align-items: center;
  gap: 11px;
}
.dashboard-control-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 20px;
}
.dashboard-control strong {
  display: block;
  color: #343844;
  font-size: 14px;
}
.dashboard-control p {
  margin: 2px 0 0;
  color: #999;
  font-size: 11px;
}
.dashboard-control-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.dashboard-updated {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #9296a2;
  font-size: 11px;
}
.dashboard-updated::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2cab83;
  box-shadow: 0 0 0 4px rgba(44, 171, 131, 0.11);
}
.hq-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.hq-summary-card {
  position: relative;
  overflow: hidden;
  padding: 19px 20px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 30px rgba(154, 161, 171, 0.14);
}
.hq-summary-card::after {
  content: "";
  position: absolute;
  top: -28px;
  right: -20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(46, 55, 141, 0.04);
}
.hq-summary-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.hq-summary-top span {
  color: #777c89;
  font-size: 12px;
}
.hq-summary-top i {
  color: #a0a5b2;
  font-size: 19px;
}
.hq-summary-value {
  margin-top: 9px;
  color: #2f3340;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}
.hq-summary-value small {
  margin-left: 4px;
  color: #999;
  font-size: 12px;
  font-weight: 500;
}
.hq-summary-foot {
  margin-top: 9px;
  color: #9a9eaa;
  font-size: 10px;
}
.hq-summary-foot strong {
  margin-right: 3px;
  color: #27816a;
  font-weight: 700;
}
.hq-summary-foot.warning strong {
  color: #d26352;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.85fr);
  gap: 18px;
  margin-bottom: 18px;
}
.dashboard-panel {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 35px rgba(154, 161, 171, 0.14);
}
.dashboard-panel-head {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid #eceef2;
}
.dashboard-panel-head h3 {
  margin: 0;
  color: #353945;
  font-size: 15px;
}
.dashboard-panel-head p {
  margin: 2px 0 0;
  color: #999;
  font-size: 10px;
}
.dashboard-panel-head a {
  color: var(--primary);
  font-size: 11px;
}
.branch-card-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}
.branch-card-list.is-filtered {
  grid-template-columns: minmax(260px, 360px);
}
.branch-card {
  padding: 15px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s,
    box-shadow 0.18s,
    transform 0.18s;
}
.branch-card:hover {
  transform: translateY(-2px);
  border-color: #bfc5d6;
  box-shadow: 0 7px 18px rgba(36, 48, 86, 0.08);
}
.branch-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 15px;
}
.branch-card-head strong {
  color: #343844;
  font-size: 13px;
}
.branch-open {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #27816a;
  font-size: 10px;
}
.branch-open::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.branch-open.issue {
  color: #d16a3c;
}
.branch-room-value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 7px;
}
.branch-room-value strong {
  color: #2f3340;
  font-size: 24px;
}
.branch-room-value span {
  color: #999;
  font-size: 11px;
}
.branch-capacity {
  height: 6px;
  overflow: hidden;
  border-radius: 6px;
  background: #edf0f4;
}
.branch-capacity span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--primary);
}
.branch-card-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}
.branch-card-metrics div {
  padding: 8px;
  border-radius: 4px;
  background: #f8f9fb;
}
.branch-card-metrics span {
  display: block;
  color: #999;
  font-size: 9px;
}
.branch-card-metrics strong {
  display: block;
  margin-top: 2px;
  color: #505460;
  font-size: 12px;
}
.dashboard-alert-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dashboard-alert {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 13px 17px;
  border-bottom: 1px solid #eff1f4;
}
.dashboard-alert:last-child {
  border-bottom: 0;
}
.dashboard-alert-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff0ed;
  color: #d65a4b;
  font-size: 17px;
}
.dashboard-alert-icon.warning {
  background: #fff5e4;
  color: #b77a11;
}
.dashboard-alert-icon.info {
  background: #edf1fb;
  color: #4d61aa;
}
.dashboard-alert-content {
  min-width: 0;
}
.dashboard-alert-content strong {
  display: block;
  overflow: hidden;
  color: #444854;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dashboard-alert-content span {
  color: #999;
  font-size: 10px;
}
.dashboard-alert time {
  color: #aaa;
  font-size: 9px;
}
.occupancy-chart {
  padding: 17px 18px 19px;
}
.chart-scale {
  display: grid;
  grid-template-columns: 70px repeat(7, 1fr);
  margin-bottom: 8px;
  color: #aaa;
  font-size: 9px;
  text-align: center;
}
.chart-scale span:first-child {
  text-align: left;
}
.occupancy-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}
.occupancy-row-label strong {
  display: block;
  color: #555966;
  font-size: 11px;
}
.occupancy-row-label span {
  color: #aaa;
  font-size: 9px;
}
.occupancy-bars {
  height: 26px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 5px;
}
.occupancy-bars span {
  display: block;
  min-height: 4px;
  border-radius: 3px 3px 1px 1px;
  background: #5968b6;
}
.occupancy-row[data-branch="suseong"] .occupancy-bars span {
  background: #7b61c9;
}
.occupancy-row[data-branch="dalseo"] .occupancy-bars span {
  background: #2c9b77;
}
.dashboard-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 18px;
}
.quick-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 16px;
}
.quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px;
  border: 1px solid #e6e8ed;
  border-radius: 5px;
  color: #555966;
  font-size: 11px;
}
.quick-link i {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #f0f2f9;
  color: var(--primary);
  font-size: 16px;
}
.quick-link:hover {
  border-color: #bfc5d6;
  color: var(--primary);
}
.branch-chip {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 11px;
  background: #f0f1f5;
  color: #6d7180;
  font-size: 10px;
}

#footer {
  margin-left: var(--sidebar-width);
  padding: 16px 30px 24px;
  color: #a3a7b0;
  background: var(--page);
  transition: margin-left 0.3s ease-out;
}
#footer p {
  margin: 0;
  font-size: 12px;
}

body.menu-collapsed #header {
  left: calc(var(--sidebar-width) * -1);
}
body.menu-collapsed #util {
  width: 100%;
  margin-left: 0;
}
body.menu-collapsed #util .menu-button {
  color: #fff;
  background: var(--navy);
}
body.menu-collapsed #container,
body.menu-collapsed #footer {
  margin-left: 0;
}

/* Work manuals */
.manual-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.manual-card {
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.manual-card:hover {
  transform: translateY(-2px);
  border-color: #cbd0dc;
  box-shadow: 0 9px 22px rgba(36, 48, 86, 0.08);
}
.manual-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 18px 13px;
}
.manual-category-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 21px;
}
.manual-category-icon.cleaning {
  background: #eaf7f3;
  color: #267c66;
}
.manual-category-icon.safety {
  background: #fdeeed;
  color: #c45d50;
}
.manual-category-icon.customer {
  background: #fff3df;
  color: #ae7418;
}
.manual-category-icon.device {
  background: #f1ecfb;
  color: #7655b5;
}
.manual-category {
  display: inline-block;
  margin-bottom: 7px;
  color: #777d89;
  font-size: 10px;
  font-weight: 700;
}
.manual-card-body {
  padding: 0 18px 16px;
}
.manual-card h3 {
  margin: 0;
  color: #343844;
  font-size: 15px;
}
.manual-card p {
  min-height: 36px;
  margin: 6px 0 12px;
  color: #8b909c;
  font-size: 11px;
  line-height: 1.6;
}
.manual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.manual-tag {
  padding: 3px 6px;
  border-radius: 3px;
  background: #f1f2f5;
  color: #6f7581;
  font-size: 9px;
}
.manual-tag.required {
  background: #fdeeed;
  color: #bd594c;
  font-weight: 700;
}
.manual-card-progress {
  margin-top: 14px;
}
.manual-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 5px;
  color: #999;
  font-size: 9px;
}
.manual-progress-head strong {
  color: #676d79;
}
.manual-progress-bar {
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: #eceef2;
}
.manual-progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #5260a7;
}
.manual-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px solid #edf0f3;
  background: #fafbfc;
  color: #999;
  font-size: 9px;
}
.manual-card-foot a {
  color: #5f6880;
  font-size: 11px;
  font-weight: 700;
}
.manual-publish-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #27816a;
  font-size: 10px;
  font-weight: 700;
}
.manual-publish-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ca783;
}
.manual-publish-state.draft {
  color: #8a8f99;
}
.manual-publish-state.draft::before {
  background: #a4a8b1;
}
.manual-empty {
  display: none;
  grid-column: 1/-1;
  padding: 60px 20px;
  border: 1px dashed #d9dde6;
  border-radius: 6px;
  color: #999;
  text-align: center;
}
.manual-empty i {
  display: block;
  margin-bottom: 7px;
  font-size: 31px;
}
.manual-step-list {
  display: grid;
  gap: 10px;
}
.manual-step-editor {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 34px;
  gap: 10px;
  padding: 14px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
}
.manual-step-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef0fa;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.manual-step-fields {
  display: grid;
  gap: 7px;
}
.manual-step-fields .form-control {
  width: 100%;
  max-width: none;
}
.manual-step-fields textarea.form-control {
  height: 74px;
  padding: 11px;
  resize: vertical;
}
.manual-step-remove {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: #f5f6f8;
  color: #999;
  font-size: 18px;
}
.manual-detail-hero {
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 30px rgba(154, 161, 171, 0.14);
}
.manual-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}
.manual-detail-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.manual-detail-title h3 {
  margin: 0;
  color: #303440;
  font-size: 22px;
}
.manual-detail-title p {
  margin: 6px 0 0;
  color: #8b909c;
  font-size: 12px;
}
.manual-detail-actions {
  display: flex;
  flex: none;
  gap: 6px;
}
.manual-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid #edf0f3;
}
.manual-meta-list span {
  color: #999;
  font-size: 10px;
}
.manual-meta-list strong {
  display: block;
  margin-top: 2px;
  color: #525762;
  font-size: 12px;
}
.manual-detail-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.manual-toc {
  position: sticky;
  top: 90px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 28px rgba(154, 161, 171, 0.13);
}
.manual-toc h3 {
  margin: 0;
  padding: 15px 17px;
  border-bottom: 1px solid #edf0f3;
  color: #414550;
  font-size: 13px;
}
.manual-toc ol {
  margin: 0;
  padding: 9px 0;
  list-style: none;
  counter-reset: manual-toc;
}
.manual-toc li {
  counter-increment: manual-toc;
}
.manual-toc a {
  display: flex;
  gap: 7px;
  padding: 8px 17px;
  color: #777d89;
  font-size: 11px;
}
.manual-toc a::before {
  content: counter(manual-toc);
  color: #a0a5b0;
}
.manual-toc a:hover {
  color: var(--primary);
}
.manual-read-progress {
  padding: 14px 17px;
  border-top: 1px solid #edf0f3;
  background: #fafbfc;
}
.manual-read-progress strong {
  display: block;
  margin-bottom: 6px;
  color: #555a66;
  font-size: 11px;
}
.manual-content {
  padding: 25px 28px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 28px rgba(154, 161, 171, 0.13);
}
.manual-intro {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--primary);
  background: #f5f6fb;
  color: #636976;
  font-size: 12px;
  line-height: 1.7;
}
.manual-view-step {
  scroll-margin-top: 90px;
  padding: 22px 0;
  border-top: 1px solid #edf0f3;
}
.manual-view-step:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.manual-view-step-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.manual-check {
  position: relative;
  flex: none;
}
.manual-check input {
  position: absolute;
  opacity: 0;
}
.manual-check span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #cfd3dd;
  border-radius: 50%;
  color: #aaa;
  font-size: 16px;
}
.manual-check input:checked + span {
  border-color: #2f806b;
  background: #2f806b;
  color: #fff;
}
.manual-view-step h4 {
  margin: 2px 0 7px;
  color: #3b3f4a;
  font-size: 15px;
}
.manual-view-step p {
  margin: 0;
  color: #6f7581;
  font-size: 12px;
  line-height: 1.8;
}
.manual-step-media {
  min-height: 120px;
  display: grid;
  place-items: center;
  margin: 13px 0 0 40px;
  border: 1px dashed #d7dbe4;
  border-radius: 5px;
  background: #fafbfc;
  color: #9aa0ac;
  font-size: 11px;
  text-align: center;
}
.manual-step-media i {
  display: block;
  margin-bottom: 5px;
  font-size: 26px;
}
.manual-callout {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 13px 0 0 40px;
  padding: 11px 13px;
  border-radius: 4px;
  background: #fff6e8;
  color: #8d682a;
  font-size: 11px;
}
.manual-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  padding: 17px;
  border-radius: 6px;
  background: #f4f5f9;
}
.manual-complete strong {
  display: block;
  color: #4a4f5b;
  font-size: 13px;
}
.manual-complete p {
  margin: 3px 0 0;
  color: #9297a2;
  font-size: 10px;
}

/* Administrator management */
.admin-role {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}
.admin-role.branch {
  background: #eaf7f3;
  color: #267c66;
}
.admin-security {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #777d89;
  font-size: 11px;
}
.admin-security i {
  color: #2f806b;
  font-size: 14px;
}
.admin-security.warning i {
  color: #c5821b;
}
.admin-account-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
}
.admin-account-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ca783;
}
.admin-account-state.locked {
  color: #c45d50;
}
.admin-account-state.locked::before {
  background: #dd6858;
}
.permission-summary {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6f7480;
  font-size: 11px;
}
.permission-summary span {
  padding: 3px 6px;
  border-radius: 3px;
  background: #f1f2f5;
}
.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.permission-card {
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
}
.permission-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 15px;
  border-bottom: 1px solid #edf0f3;
  background: #fafbfc;
}
.permission-card-head i {
  color: #6c748b;
  font-size: 17px;
}
.permission-card-head strong {
  color: #414550;
  font-size: 13px;
}
.permission-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 12px 15px;
}
.permission-options label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666c78;
  font-size: 11px;
}
.permission-options input {
  accent-color: var(--primary);
}
.admin-scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.admin-scope-option {
  position: relative;
}
.admin-scope-option input {
  position: absolute;
  opacity: 0;
}
.admin-scope-option span {
  min-width: 95px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  border: 1px solid #dfe2e8;
  border-radius: 4px;
  color: #666;
  font-size: 12px;
}
.admin-scope-option input:checked + span {
  border-color: var(--primary);
  background: #f1f3fb;
  color: var(--primary);
  font-weight: 700;
}
.admin-role-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}
.admin-role-guide div {
  padding: 12px;
  border-radius: 5px;
  background: #f7f8fa;
}
.admin-role-guide strong {
  display: block;
  color: #4a4f5b;
  font-size: 11px;
}
.admin-role-guide span {
  display: block;
  margin-top: 3px;
  color: #999;
  font-size: 10px;
}
.security-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.security-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid #e4e7ed;
  border-radius: 5px;
}
.security-option strong {
  display: block;
  color: #4a4f5b;
  font-size: 12px;
}
.security-option p {
  margin: 3px 0 0;
  color: #999;
  font-size: 10px;
}

/* Employee management */
.employee-alert {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding: 13px 16px;
  border: 1px solid #f0d6b2;
  border-radius: 6px;
  background: #fff8ed;
  color: #8b6628;
  font-size: 12px;
}
.employee-alert i {
  font-size: 20px;
}
.employee-alert strong {
  color: #72521f;
}
.employee-table {
  min-width: 1120px;
}
.employee-profile-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}
.employee-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #eef0fa;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}
.employee-profile-cell strong {
  display: block;
  color: #3b3f4a;
  font-size: 13px;
}
.employee-profile-cell span {
  display: block;
  margin-top: 2px;
  color: #aaa;
  font-size: 10px;
  letter-spacing: 0;
}
.employment-state,
.document-state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.employment-state {
  background: #eaf7f3;
  color: #267c66;
}
.employment-state.leave {
  background: #f1f2f4;
  color: #777;
}
.document-state {
  background: #eef3fb;
  color: #4267a7;
}
.document-state.warning {
  background: #fff2de;
  color: #a46c12;
}
.document-state.missing {
  background: #fdeeed;
  color: #bd594c;
}
.employee-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 30px rgba(154, 161, 171, 0.14);
}
.employee-detail-main {
  display: flex;
  align-items: center;
  gap: 16px;
}
.employee-detail-avatar {
  width: 62px;
  height: 62px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #eef0fa;
  color: var(--primary);
  font-size: 20px;
  font-weight: 800;
}
.employee-detail-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.employee-detail-title h3 {
  margin: 0;
  color: #303440;
  font-size: 21px;
}
.employee-detail-main p {
  margin: 5px 0 0;
  color: #8b909c;
  font-size: 12px;
}
.employee-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 11px;
}
.employee-detail-meta span {
  color: #999;
  font-size: 10px;
}
.employee-detail-meta strong {
  display: block;
  margin-top: 2px;
  color: #4a4e5a;
  font-size: 12px;
}
.employee-detail-actions {
  display: flex;
  flex: none;
  gap: 7px;
}
.employee-document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.employee-document-card {
  padding: 17px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
}
.employee-document-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.employee-document-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 19px;
}
.employee-document-card h4 {
  margin: 13px 0 3px;
  color: #3b3f4a;
  font-size: 13px;
}
.employee-document-card p {
  margin: 0;
  color: #999;
  font-size: 10px;
}
.employee-document-info {
  margin: 12px 0;
  padding: 9px 10px;
  border-radius: 4px;
  background: #f7f8fa;
  color: #707582;
  font-size: 11px;
}
.employee-document-info strong {
  display: block;
  margin-bottom: 2px;
  color: #4e5360;
}
.employee-document-actions {
  display: flex;
  gap: 5px;
}
.employee-document-actions .btn {
  flex: 1;
}
.employee-file-drop {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px dashed #ccd1dc;
  border-radius: 5px;
  background: #fafbfc;
  color: #8c919d;
  text-align: center;
}
.employee-file-drop i {
  display: block;
  margin-bottom: 5px;
  color: #858ca0;
  font-size: 24px;
}
.employee-file-drop strong {
  display: block;
  color: #5b606d;
  font-size: 12px;
}
.employee-file-drop span {
  font-size: 10px;
}
.employee-file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  opacity: 0;
}
.employee-file-name {
  margin-top: 6px;
  color: var(--primary);
  font-size: 11px;
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 5px;
  background: #f5f6f9;
  color: #7b808c;
  font-size: 11px;
}
.privacy-note i {
  margin-top: 2px;
  color: #68718b;
  font-size: 15px;
}

/* Branch management */
.branch-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.branch-toolbar-left,
.branch-toolbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.branch-toolbar .form-control {
  width: 270px;
}
.branch-management-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.branch-management-card {
  overflow: hidden;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 28px rgba(154, 161, 171, 0.11);
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.branch-management-card:hover {
  transform: translateY(-2px);
  border-color: #cbd0dc;
  box-shadow: 0 10px 24px rgba(36, 48, 86, 0.09);
}
.branch-management-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 16px;
}
.branch-management-title {
  display: flex;
  align-items: center;
  gap: 11px;
}
.branch-management-icon {
  width: 42px;
  height: 42px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 8px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 21px;
}
.branch-management-title h3 {
  margin: 0;
  color: #303440;
  font-size: 17px;
}
.branch-management-title p {
  margin: 3px 0 0;
  color: #999;
  font-size: 11px;
  letter-spacing: 0;
}
.branch-operating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 12px;
  background: #eaf7f3;
  color: #267c66;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.branch-operating::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ca783;
}
.branch-management-info {
  margin: 0 20px;
  padding: 13px 0;
  border-top: 1px solid #edf0f3;
  border-bottom: 1px solid #edf0f3;
  list-style: none;
}
.branch-management-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  color: #777c89;
  font-size: 12px;
}
.branch-management-info li:first-child {
  margin-top: 0;
}
.branch-management-info i {
  width: 16px;
  color: #a1a6b2;
  font-size: 15px;
  text-align: center;
}
.branch-management-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 20px;
  border-radius: 5px;
  background: #f7f8fa;
}
.branch-management-stats div {
  position: relative;
  padding: 11px 7px;
  text-align: center;
}
.branch-management-stats div + div::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 0;
  width: 1px;
  background: #e1e4ea;
}
.branch-management-stats strong {
  display: block;
  color: #3f4350;
  font-size: 15px;
}
.branch-management-stats span {
  display: block;
  margin-top: 2px;
  color: #999;
  font-size: 10px;
}
.branch-management-actions {
  display: flex;
  gap: 6px;
  padding: 0 20px 20px;
}
.branch-management-actions .btn {
  flex: 1;
  line-height: 38px;
}
.branch-management-empty {
  display: none;
  grid-column: 1/-1;
  padding: 65px 20px;
  border: 1px dashed #d9dde6;
  border-radius: 6px;
  color: #999;
  text-align: center;
}
.branch-management-empty i {
  display: block;
  margin-bottom: 8px;
  color: #b5bac5;
  font-size: 34px;
}
.branch-form-section + .branch-form-section {
  margin-top: 26px;
}
.branch-form-section h3 {
  margin: 0 0 11px;
  color: #343844;
  font-size: 15px;
}
.branch-form-section h3 span {
  margin-left: 7px;
  color: #aaa;
  font-size: 11px;
  font-weight: 400;
}
.branch-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #ddd;
}
.branch-form-field {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  min-height: 70px;
  border-bottom: 1px solid #eee;
}
.branch-form-field:nth-child(odd) {
  border-right: 1px solid #eee;
}
.branch-form-field.full {
  grid-column: 1/-1;
  border-right: 0;
}
.branch-form-label {
  padding: 15px 16px;
  background: #f8f9fb;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  line-height: 40px;
}
.branch-form-label.required::after {
  content: "*";
  margin-left: 4px;
  color: var(--danger);
}
.branch-form-input {
  padding: 15px 16px;
}
.branch-form-input .form-control,
.branch-form-input .form-select {
  width: 100%;
  max-width: none;
}
.branch-form-input textarea.form-control {
  height: 92px;
  padding: 12px;
  resize: vertical;
}
.branch-address-line {
  display: grid;
  grid-template-columns: 150px 90px minmax(0, 1fr);
  gap: 6px;
}
.branch-time-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.branch-time-line .form-control {
  width: 150px;
}
.branch-time-line label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 8px;
  color: #666;
  font-size: 12px;
}
.branch-time-line input {
  accent-color: var(--primary);
}
.branch-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 22px 24px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 30px rgba(154, 161, 171, 0.14);
}
.branch-detail-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}
.branch-detail-mark {
  width: 54px;
  height: 54px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 10px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 27px;
}
.branch-detail-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
}
.branch-detail-title h3 {
  margin: 0;
  color: #2f3340;
  font-size: 21px;
}
.branch-detail-main p {
  margin: 5px 0 0;
  color: #8b909c;
  font-size: 12px;
}
.branch-detail-actions {
  display: flex;
  flex: none;
  gap: 7px;
}
.branch-overview {
  display: flex;
  gap: 22px;
  margin-top: 12px;
}
.branch-overview div {
  min-width: 76px;
}
.branch-overview span {
  display: block;
  color: #999;
  font-size: 10px;
}
.branch-overview strong {
  display: block;
  margin-top: 2px;
  color: #4b4f5c;
  font-size: 13px;
}
.branch-tabs {
  display: flex;
  padding: 0 20px;
  border-bottom: 1px solid #e4e7ed;
  background: #fff;
}
.branch-tab {
  position: relative;
  height: 55px;
  padding: 0 22px;
  border: 0;
  background: transparent;
  color: #858a96;
  font-size: 14px;
}
.branch-tab.active {
  color: var(--primary);
  font-weight: 700;
}
.branch-tab.active::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  background: var(--primary);
}
.branch-tab-panel {
  display: none;
  padding: 22px 24px 26px;
}
.branch-tab-panel.active {
  display: block;
}
.branch-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.branch-panel-head h3 {
  margin: 0;
  color: #343844;
  font-size: 16px;
}
.branch-panel-head p {
  margin: 3px 0 0;
  color: #999;
  font-size: 11px;
}
.room-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.room-card {
  padding: 15px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fff;
  transition:
    border-color 0.18s,
    box-shadow 0.18s;
}
.room-card:hover {
  border-color: #cbd0dc;
  box-shadow: 0 6px 17px rgba(36, 48, 86, 0.07);
}
.room-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.room-card-head h4 {
  margin: 0;
  color: #393d49;
  font-size: 14px;
}
.room-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #2a856c;
  font-size: 10px;
  font-weight: 700;
}
.room-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2ca783;
}
.room-status.in-use {
  color: #3763b1;
}
.room-status.in-use::before {
  background: #4778ca;
}
.room-status.cleaning {
  color: #af7515;
}
.room-status.cleaning::before {
  background: #e4a029;
}
.room-status.inspection {
  color: #c45d50;
}
.room-status.inspection::before {
  background: #dd6858;
}
.room-meta {
  display: flex;
  gap: 14px;
  margin: 14px 0 11px;
  color: #838894;
  font-size: 11px;
}
.room-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.room-equipment {
  min-height: 47px;
  padding-top: 10px;
  border-top: 1px solid #edf0f3;
}
.room-equipment span {
  display: inline-block;
  margin: 0 3px 4px 0;
  padding: 3px 6px;
  border-radius: 3px;
  background: #f2f3f6;
  color: #707582;
  font-size: 9px;
}
.room-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 10px;
  color: #a0a4ae;
  font-size: 9px;
}
.room-card-foot button {
  padding: 0;
  border: 0;
  background: transparent;
  color: #697187;
  font-size: 11px;
}
.assignment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.assignment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
}
.assignment-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #eef0fa;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
}
.assignment-card strong {
  display: block;
  color: #414550;
  font-size: 13px;
}
.assignment-card p {
  margin: 3px 0 0;
  color: #999;
  font-size: 11px;
}
.assignment-card button {
  margin-left: auto;
}
.branch-setting-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.branch-setting-card {
  padding: 18px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
}
.branch-setting-card h4 {
  margin: 0 0 5px;
  color: #414550;
  font-size: 13px;
}
.branch-setting-card p {
  margin: 0 0 14px;
  color: #999;
  font-size: 11px;
}
.switch-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 40px;
}
.switch {
  position: relative;
  width: 42px;
  height: 23px;
  flex: none;
}
.switch input {
  position: absolute;
  opacity: 0;
}
.switch span {
  position: absolute;
  inset: 0;
  border-radius: 13px;
  background: #c9cdd5;
  transition: 0.2s;
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}
.switch input:checked + span {
  background: var(--primary);
}
.switch input:checked + span::after {
  transform: translateX(19px);
}

/* System management */
.system-health-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 19px 22px;
  border: 1px solid #dce7e3;
  border-radius: 6px;
  background: linear-gradient(115deg, #f7fbfa, #fff);
  box-shadow: 0 0 28px rgba(154, 161, 171, 0.1);
}
.system-health-main {
  display: flex;
  align-items: center;
  gap: 13px;
}
.system-health-icon {
  width: 46px;
  height: 46px;
  display: grid;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: #e5f4ef;
  color: #27816a;
  font-size: 24px;
}
.system-health-main h3 {
  margin: 0;
  color: #303540;
  font-size: 16px;
}
.system-health-main p {
  margin: 4px 0 0;
  color: #858a96;
  font-size: 12px;
}
.system-health-meta {
  display: flex;
  align-items: center;
  gap: 22px;
}
.system-health-meta span {
  color: #999;
  font-size: 10px;
  text-align: right;
}
.system-health-meta strong {
  display: block;
  margin-top: 2px;
  color: #4a4f5b;
  font-size: 12px;
}
.system-section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  margin-bottom: 20px;
}
.system-panel {
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 30px rgba(154, 161, 171, 0.14);
}
.system-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #edf0f3;
}
.system-panel-head h3 {
  margin: 0;
  color: #343844;
  font-size: 15px;
}
.system-panel-head p {
  margin: 3px 0 0;
  color: #999;
  font-size: 10px;
}
.system-panel-body {
  padding: 17px 20px 20px;
}
.security-alert-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.security-alert-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f3;
}
.security-alert-item:first-child {
  padding-top: 0;
}
.security-alert-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.security-alert-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff0ed;
  color: #ce5a49;
  font-size: 18px;
}
.security-alert-icon.warning {
  background: #fff7e7;
  color: #b37a14;
}
.security-alert-icon.info {
  background: #eef3ff;
  color: #4269b1;
}
.security-alert-copy strong {
  display: block;
  color: #444955;
  font-size: 12px;
}
.security-alert-copy p {
  margin: 3px 0 0;
  color: #999;
  font-size: 10px;
}
.security-alert-time {
  color: #a3a7b0;
  font-size: 10px;
  white-space: nowrap;
}
.security-setting-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.security-setting-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0f3;
}
.security-setting-item:first-child {
  padding-top: 0;
}
.security-setting-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.security-setting-copy strong {
  display: block;
  color: #454a56;
  font-size: 12px;
}
.security-setting-copy p {
  margin: 3px 0 0;
  color: #999;
  font-size: 10px;
}
.security-setting-control {
  display: flex;
  align-items: center;
  gap: 7px;
}
.security-setting-control .form-select {
  min-width: 110px;
  height: 34px;
  padding-left: 10px;
  font-size: 11px;
}
.system-integrity {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 16px 18px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
  background: #fafbfc;
}
.system-integrity-main {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}
.system-integrity-main > i {
  margin-top: 1px;
  color: #27816a;
  font-size: 21px;
}
.system-integrity-main strong {
  display: block;
  color: #3d424e;
  font-size: 13px;
}
.system-integrity-main p {
  margin: 4px 0 0;
  color: #8e939e;
  font-size: 10px;
}
.system-hash {
  display: block;
  overflow: hidden;
  max-width: 520px;
  margin-top: 7px;
  padding: 7px 9px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  color: #697080;
  font:
    10px/1.4 Consolas,
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.system-integrity-actions {
  display: flex;
  gap: 6px;
}
.log-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.log-filter-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.log-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.log-filter label {
  color: #858a95;
  font-size: 10px;
}
.log-filter .form-control,
.log-filter .form-select {
  height: 38px;
  min-width: 130px;
  font-size: 12px;
}
.log-filter .form-control {
  width: 235px;
}
.log-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 7px;
}
.log-table {
  min-width: 1180px;
}
.log-table td {
  height: 58px;
  font-size: 12px;
}
.log-table .event-cell {
  text-align: left;
}
.log-table .event-cell strong {
  display: block;
  color: #3f4450;
  font-size: 12px;
}
.log-table .event-cell span {
  display: block;
  margin-top: 2px;
  color: #a0a4ae;
  font-size: 10px;
}
.log-table .ip-cell {
  color: #5f6571;
  font:
    11px Consolas,
    monospace;
}
.log-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 11px;
  background: #eaf7f3;
  color: #267c66;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.log-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.log-status.failed,
.log-status.high {
  background: #fff0ed;
  color: #c75a4b;
}
.log-status.warning,
.log-status.medium {
  background: #fff7e7;
  color: #ae7514;
}
.log-status.info {
  background: #eef3ff;
  color: #4269b1;
}
.log-status.neutral {
  background: #f0f1f4;
  color: #777d88;
}
.log-event-id {
  display: block;
  color: #7c8290;
  font:
    10px Consolas,
    monospace;
}
.log-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #27816a;
  font-size: 10px;
  font-weight: 700;
}
.log-verified i {
  font-size: 14px;
}
.log-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 180px;
}
.log-change code {
  max-width: 82px;
  overflow: hidden;
  padding: 3px 6px;
  border-radius: 3px;
  background: #f1f2f5;
  color: #626875;
  font:
    10px Consolas,
    monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.log-change i {
  color: #afb3bc;
}
.system-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 11px 13px;
  border-radius: 5px;
  background: #f5f6f9;
  color: #7b808c;
  font-size: 11px;
}
.system-note i {
  margin-top: 1px;
  color: #68718b;
  font-size: 15px;
}
.security-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.security-policy-card {
  padding: 17px;
  border: 1px solid #e4e7ed;
  border-radius: 6px;
}
.security-policy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}
.security-policy-head i {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #eef0fa;
  color: var(--primary);
  font-size: 18px;
}
.security-policy-head span {
  padding: 3px 7px;
  border-radius: 10px;
  background: #eaf7f3;
  color: #267c66;
  font-size: 9px;
  font-weight: 700;
}
.security-policy-card h4 {
  margin: 0 0 4px;
  color: #3d424e;
  font-size: 13px;
}
.security-policy-card > p {
  min-height: 34px;
  margin: 0 0 13px;
  color: #999;
  font-size: 10px;
}
.security-policy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  border-top: 1px solid #edf0f3;
  color: #666c78;
  font-size: 11px;
}
.security-policy-row strong {
  color: #444955;
  font-size: 11px;
}
.system-dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 70px rgba(24, 29, 48, 0.3);
}
.system-dialog::backdrop {
  background: rgba(21, 26, 44, 0.46);
}
.system-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid #edf0f3;
}
.system-dialog-head h3 {
  margin: 0;
  color: #343844;
  font-size: 16px;
}
.system-dialog-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 4px;
  background: #f4f5f7;
  color: #737986;
  font-size: 19px;
}
.system-dialog-body {
  padding: 18px 20px 21px;
}
.system-dialog-grid {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid #e7e9ee;
}
.system-dialog-grid dt,
.system-dialog-grid dd {
  margin: 0;
  padding: 10px 12px;
  border-bottom: 1px solid #e7e9ee;
  font-size: 11px;
}
.system-dialog-grid dt {
  background: #f8f9fb;
  color: #767c88;
  font-weight: 600;
}
.system-dialog-grid dd {
  color: #454a56;
  word-break: break-all;
}
.system-dialog-grid code {
  font:
    10px Consolas,
    monospace;
}
.system-empty {
  display: none;
  padding: 55px 20px;
  color: #999;
  text-align: center;
}
.system-empty i {
  display: block;
  margin-bottom: 7px;
  font-size: 30px;
}

@media (max-width: 1000px) {
  #header {
    left: calc(var(--sidebar-width) * -1);
  }
  #util {
    width: 100%;
    margin-left: 0;
  }
  #container,
  #footer {
    margin-left: 0;
  }
  body.menu-collapsed #header {
    left: 0;
  }
  body.menu-collapsed {
    overflow: hidden;
  }
  body.menu-collapsed #util,
  body.menu-collapsed #container,
  body.menu-collapsed #footer {
    margin-left: 0;
  }
  body.menu-collapsed::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 850;
    background: rgba(51, 47, 43, 0.32);
  }
  body.menu-collapsed .menu-button {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    z-index: 910;
    border: 1px solid var(--line);
    background: #fff;
  }
  .log-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .log-filter-group,
  .log-toolbar-actions {
    width: 100%;
  }
  .log-toolbar-actions {
    flex-wrap: wrap;
  }
  .log-toolbar-actions .btn {
    flex-shrink: 0;
  }
  .system-health-banner {
    align-items: flex-start;
    flex-direction: column;
  }
  .system-health-meta {
    width: 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .system-health-meta span {
    text-align: left;
  }
  .system-health-meta .btn {
    min-width: 96px;
    flex: none;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .upload-preview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .schedule-drawer-backdrop {
    left: 0;
  }
}
@media (max-width: 1180px) {
  .schedule-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .calendar-day {
    min-height: 112px;
  }
  .work-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .attendance-layout {
    grid-template-columns: 340px minmax(0, 1fr);
  }
  .inspection-form-layout {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .branch-card-list {
    grid-template-columns: 1fr;
  }
  .hq-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .branch-management-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .room-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .assignment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .employee-document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-role-guide {
    grid-template-columns: 1fr;
  }
  .manual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .manual-detail-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .system-section-grid {
    grid-template-columns: 1fr;
  }
  .security-policy-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  #util {
    height: 64px;
  }
  .util-left {
    flex: 1;
    min-width: 0;
  }
  .menu-button {
    width: 58px;
    height: 64px;
    flex: none;
  }
  .page-title {
    min-width: 0;
    padding-left: 13px;
  }
  .page-title h1 {
    overflow: hidden;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .profile {
    flex: none;
    margin-right: 8px;
  }
  .profile-info {
    display: none;
  }
  .profile-toggle summary {
    padding: 12px 9px;
  }
  body.menu-collapsed .menu-button {
    left: var(--sidebar-width);
    width: 52px;
  }
  #container {
    padding: 92px 18px 40px;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .content-frame,
  .content-placeholder {
    min-height: 420px;
  }
  .divider-body {
    padding: 16px;
  }
  .search-table,
  .search-table tbody,
  .search-table tr,
  .search-table th,
  .search-table td {
    display: block;
    width: 100%;
  }
  .search-table th {
    padding-bottom: 6px;
    border-bottom: 0;
  }
  .search-table td {
    padding-top: 6px;
  }
  .search-line .form-control {
    flex: 1 1 100%;
  }
  .form-table,
  .form-table tbody,
  .form-table tr,
  .form-table th,
  .form-table td {
    display: block;
    width: 100%;
  }
  .form-table th {
    padding: 12px 14px 5px;
    border-bottom: 0;
    line-height: 1.5;
  }
  .form-table td {
    padding: 6px 14px 15px;
  }
  .gallery-form-table th {
    width: 100%;
  }
  .list-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .list-right {
    width: 100%;
  }
  .list-right .btn {
    flex: 1;
  }
  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .gallery-toolbar .list-right {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery-info {
    padding: 11px;
  }
  .gallery-card-actions {
    padding: 0 11px 11px;
  }
  .upload-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  .form-actions {
    width: 100%;
  }
  .form-actions .btn {
    flex: 1;
  }
  .schedule-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .schedule-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .schedule-actions .btn-primary {
    margin-left: auto;
  }
  .schedule-layout {
    display: block;
  }
  .schedule-sidebar {
    border-right: 0;
    border-bottom: 1px solid #e8eaf0;
  }
  .member-list,
  .upcoming-card {
    display: none;
  }
  .calendar-filter-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-main {
    padding: 0 8px 14px;
    overflow-x: auto;
  }
  .calendar-weekdays,
  .month-grid {
    min-width: 700px;
  }
  .calendar-day {
    min-height: 96px;
  }
  .schedule-drawer {
    top: 70px;
    width: 100%;
    right: -100%;
  }
  .schedule-field-row {
    grid-template-columns: 1fr;
  }
  .work-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .work-branch-context {
    align-items: flex-start;
    flex-direction: column;
  }
  .work-branch-actions {
    width: 100%;
  }
  .work-branch-actions .form-select {
    flex: 1;
    min-width: 0;
  }
  .work-summary-card {
    padding: 13px;
  }
  .roster-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .roster-nav {
    width: 100%;
    flex-wrap: wrap;
  }
  .roster-nav h3 {
    order: -1;
    flex: 1 0 100%;
    min-width: 0;
    margin: 0 0 5px;
    font-size: 16px;
    text-align: left;
  }
  .roster-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .roster-actions .btn-primary {
    margin-left: auto;
  }
  .attendance-layout {
    grid-template-columns: 1fr;
  }
  .staff-status-grid {
    grid-template-columns: 1fr;
  }
  .record-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .issue-summary {
    grid-template-columns: 1fr;
  }
  .inspection-form-layout {
    grid-template-columns: 1fr;
  }
  .inspection-side-panel {
    position: static;
  }
  .checklist-head,
  .checklist-row {
    grid-template-columns: 1fr;
  }
  .checklist-head span:last-child {
    display: none;
  }
  .condition-options {
    padding-top: 0;
  }
  .inspection-preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inspection-alert {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-control {
    align-items: flex-start;
    flex-direction: column;
  }
  .dashboard-control-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .dashboard-control-actions .form-select {
    flex: 1;
  }
  .hq-summary-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .hq-summary-card {
    padding: 15px;
  }
  .dashboard-grid,
  .dashboard-bottom-grid {
    grid-template-columns: 1fr;
  }
  .chart-scale {
    grid-template-columns: 58px repeat(7, 1fr);
  }
  .occupancy-row {
    grid-template-columns: 58px 1fr;
  }
  .branch-toolbar,
  .branch-detail-hero,
  .branch-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .branch-toolbar-left,
  .branch-toolbar-right,
  .branch-detail-actions {
    width: 100%;
  }
  .branch-toolbar .form-control {
    width: 100%;
  }
  .branch-toolbar-right .btn,
  .branch-detail-actions .btn {
    flex: 1;
  }
  .branch-management-grid,
  .room-grid,
  .assignment-grid,
  .branch-setting-grid {
    grid-template-columns: 1fr;
  }
  .branch-form-grid {
    grid-template-columns: 1fr;
  }
  .branch-form-field,
  .branch-form-field:nth-child(odd) {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-column: auto;
    border-right: 0;
  }
  .branch-form-field.full {
    grid-column: auto;
  }
  .branch-address-line {
    grid-template-columns: 1fr 80px;
  }
  .branch-address-line .form-control:last-child {
    grid-column: 1/-1;
  }
  .branch-detail-main {
    align-items: flex-start;
  }
  .branch-overview {
    flex-wrap: wrap;
    gap: 10px 18px;
  }
  .branch-tabs {
    padding: 0 6px;
    overflow-x: auto;
  }
  .branch-tab {
    min-width: 88px;
    padding: 0 10px;
  }
  .branch-tab-panel {
    padding: 18px 14px 22px;
  }
  .employee-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .employee-detail-main {
    align-items: flex-start;
  }
  .employee-detail-actions {
    width: 100%;
  }
  .employee-detail-actions .btn {
    flex: 1;
  }
  .employee-document-grid {
    grid-template-columns: 1fr;
  }
  .permission-grid,
  .security-options {
    grid-template-columns: 1fr;
  }
  .permission-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .manual-grid {
    grid-template-columns: 1fr;
  }
  .manual-detail-head {
    flex-direction: column;
  }
  .manual-detail-actions {
    width: 100%;
  }
  .manual-detail-actions .btn {
    flex: 1;
  }
  .manual-detail-layout {
    grid-template-columns: 1fr;
  }
  .manual-toc {
    position: static;
  }
  .manual-content {
    padding: 20px 16px;
  }
  .manual-step-media,
  .manual-callout {
    margin-left: 40px;
  }
  .manual-step-editor {
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    padding: 11px;
  }
  .manual-complete {
    align-items: flex-start;
    flex-direction: column;
  }
  .system-health-banner,
  .log-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .system-health-meta {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }
  .system-health-meta span {
    text-align: left;
  }
  .log-filter-group,
  .log-toolbar-actions {
    width: 100%;
  }
  .log-filter {
    flex: 1 1 140px;
  }
  .log-filter .form-control,
  .log-filter .form-select {
    width: 100%;
    min-width: 0;
  }
  .log-toolbar-actions .btn {
    flex: 1;
  }
  .security-policy-grid {
    grid-template-columns: 1fr;
  }
  .system-integrity {
    grid-template-columns: 1fr;
  }
  .system-integrity-actions .btn {
    flex: 1;
  }
  .system-dialog-grid {
    grid-template-columns: 92px minmax(0, 1fr);
  }
}

/* ================================================================
   HAHAHOHO WARM STONE THEME
   manuals-stone-sample.html에서 확정한 색상 체계를 전체 관리 화면에 적용
   ================================================================ */
:root {
  --navy: #ded7cd;
  --yellow: #cf2038;
  --page: #f3efe9;
  --line: #e4ddd3;
  --text: #332f2b;
  --muted: #837b72;
  --primary: #b52a3d;
  --secondary: #8a8177;
  --success: #b52a3d;
}

body {
  background: #f3efe9;
  color: #332f2b;
}

#header {
  overflow: hidden;
  background: #ded7cd;
  box-shadow: 4px 0 20px rgba(79, 68, 57, 0.1);
}
#header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: rgba(79, 68, 57, 0.1);
  pointer-events: none;
}
#header .logo {
  min-height: 126px;
  display: grid;
  place-items: center;
  padding: 7px 12px;
  border-bottom: 1px solid rgba(79, 68, 57, 0.1);
  background: #ded7cd;
  box-shadow: none;
}
#header .brand-logo {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  background: none;
  color: #3f494f;
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1.2px;
  filter: none;
}
#header .brand-logo strong {
  color: #b8505b;
  font-size: 30px;
  font-weight: 800;
}
#header nav,
#header .side-nav,
#header .depth-menu,
#header .navi-list {
  background: #ded7cd;
}
#header .side-nav {
  height: calc(100vh - 126px);
  scrollbar-color: rgba(79, 68, 57, 0.24) #ded7cd;
}
#header .depth-menu summary,
#header .single-menu {
  color: #354047;
  text-shadow: 0 1px rgba(255, 255, 255, 0.42);
}
#header .depth-menu summary::after {
  border-bottom-color: rgba(53, 64, 71, 0.4);
}
#header .depth-menu summary i,
#header .single-menu i {
  color: #6f716f;
}
#header .depth-menu.active summary,
#header .single-menu:hover,
#header .single-menu.active {
  color: #242b2f;
  background: #ded7cd;
}
#header .depth-menu.active summary::before,
#header .single-menu.active::before {
  width: 4px;
  background: #cf2038;
}
#header .depth-menu.active summary i,
#header .single-menu:hover i,
#header .single-menu.active i {
  color: #cf2038;
}
#header .navi-list a {
  color: rgba(53, 64, 71, 0.74);
}
#header .navi-list li::before {
  background: rgba(79, 68, 57, 0.28);
}
#header .navi-list li.active a,
#header .navi-list li:hover a {
  color: #ba1830;
}
#header .navi-list li.active::before,
#header .navi-list li:hover::before {
  background: #cf2038;
  box-shadow: 0 0 0 3px rgba(207, 32, 56, 0.1);
}

#util {
  border-bottom-color: #e4ddd3;
  background: rgba(249, 247, 243, 0.97);
  box-shadow: 0 4px 18px rgba(91, 77, 62, 0.045);
}
#util .menu-button {
  border-right-color: #e4ddd3;
  background: #f9f7f3;
  color: #a32637;
}
#util .page-title h1,
#util .profile-info strong {
  color: #332f2b;
}
#util .profile-info p,
#util .profile-toggle summary {
  color: #837b72;
}
#util .profile-menu {
  border-color: #e4ddd3;
  background: #fbfaf7;
  box-shadow: 0 10px 26px rgba(79, 68, 57, 0.1);
}
body.menu-collapsed #util .menu-button {
  background: #ded7cd;
  color: #a32637;
}

#container {
  background:
    radial-gradient(
      circle at 84% 4%,
      rgba(255, 255, 255, 0.54),
      transparent 25%
    ),
    linear-gradient(145deg, #f5f2ed 0%, #f2eee8 58%, #eee8e0 100%);
}
.section-title h2 {
  color: #302c28;
}
.location {
  color: #91887e;
}
.location li + li::before {
  color: #c6bdb2;
}
.location .active {
  color: #514a43;
}

#footer {
  border-top: 1px solid #e4ddd3;
  background: #f9f7f3;
  color: #837b72;
}

/* 주요 콘텐츠 표면 */
.content-frame,
.divider,
.gallery-card,
.upload-item,
.schedule-app,
.upcoming-card,
.schedule-drawer,
.work-branch-context,
.work-summary-card,
.roster-app,
.punch-panel,
.attendance-status-panel,
.staff-status-card,
.attendance-records,
.issue-panel,
.inspection-side-panel,
.dashboard-control,
.hq-summary-card,
.dashboard-panel,
.branch-card,
.manual-card,
.manual-step-editor,
.manual-detail-hero,
.manual-toc,
.manual-content,
.permission-card,
.employee-detail-hero,
.employee-document-card,
.branch-management-card,
.branch-detail-hero,
.branch-tabs,
.room-card,
.system-panel,
.system-dialog {
  border-color: #d8cfc4;
  background: #fbfaf7;
}
.content-frame,
.divider,
.schedule-app,
.work-branch-context,
.work-summary-card,
.roster-app,
.punch-panel,
.attendance-status-panel,
.attendance-records,
.issue-panel,
.inspection-side-panel,
.dashboard-control,
.hq-summary-card,
.dashboard-panel,
.manual-detail-hero,
.manual-toc,
.manual-content,
.employee-detail-hero,
.branch-management-card,
.branch-detail-hero,
.system-panel {
  box-shadow: 0 10px 30px rgba(91, 77, 62, 0.065);
}

/* 표, 보조 영역, 업로드 영역 */
.search-table th,
.list-table th,
.form-table th,
.note-editor .note-toolbar,
.upload-zone,
.schedule-sidebar,
.roster-note,
.roster-table thead th,
.roster-employee,
.manual-card-foot,
.manual-read-progress,
.permission-card-head,
.employee-file-drop,
.privacy-note,
.branch-form-label,
.system-integrity,
.system-note,
.system-dialog-grid dt,
.branch-card-metrics div,
.checklist-head {
  border-color: #e4ddd3;
  background: #f6f2ec;
}
.search-table td,
.list-table td,
.form-table td,
.calendar-day,
.roster-cell,
.note-editor .note-editable,
.system-hash {
  border-color: #e8e0d7;
  background: #fffefa;
}
.list-table tbody tr:hover,
.calendar-day:hover,
.roster-cell:hover,
.agenda-item:hover {
  background: #f8f4ee;
}

/* 폼과 버튼 */
.form-control,
.form-select,
.file-field,
.note-editor .note-btn,
.icon-btn,
.view-switch button,
.schedule-view-switch button,
.roster-view-switch button,
.upload-item-actions button,
.condition-option span,
.page-link,
.btn-line {
  border-color: #ddd4c9;
  background: #fffefa;
  color: #514a43;
}
.form-control:focus,
.form-select:focus {
  border-color: #b52a3d;
  box-shadow: 0 0 0 3px rgba(181, 42, 61, 0.1);
}
.btn-primary {
  border-color: #b52a3d;
  background: #b52a3d;
}
.page-link.active {
  border-color: #b52a3d;
  background: #b52a3d;
  color: #fff;
}

/* 브랜드 포인트와 텍스트 톤 */
.hq-summary-card::after {
  background: rgba(207, 32, 56, 0.035);
}
.hq-summary-top span,
.hq-summary-foot {
  color: #8c847b;
}
.hq-summary-top i {
  color: #a89d91;
}
.hq-summary-value,
.manual-card h3 {
  color: #332f2b;
}
.manual-card:hover,
.gallery-card:hover,
.branch-management-card:hover {
  border-color: rgba(207, 32, 56, 0.28);
  box-shadow: 0 10px 25px rgba(95, 71, 67, 0.1);
}

/* ================================================================
   GLOBAL READABILITY SCALE
   작은 보조 문구와 낮은 명암을 전체 화면에서 일관되게 보정
   ================================================================ */
#container p {
  color: #6f675f;
  font-size: 13px;
  line-height: 1.6;
}
#container small {
  color: #746c64;
  font-size: 12px;
}
#container time {
  color: #7d756d;
  font-size: 11px;
}
#container label {
  font-size: 13px;
}
#container .field-help,
#container .form-bottom p,
#container .upload-guide p,
#container .gallery-meta,
#container .gallery-empty-note,
#container .upload-preview-head span,
#container .upload-order-note,
#container .roster-note,
#container .inspection-save-note,
#container .privacy-note,
#container .system-note {
  color: #6f675f;
  font-size: 13px;
}

/* 제목과 카드 항목명 */
#container [class*="-head"] h3,
#container [class*="-head"] h4,
#container [class*="-title"] h3,
#container [class*="-title"] h4 {
  color: #332f2b;
  font-size: 16px;
  line-height: 1.4;
}
#container [class*="-head"] strong,
#container [class*="-title"] strong {
  color: #3b3631;
  font-size: 14px;
}
#container [class*="-head"] p,
#container [class*="-title"] p {
  color: #6f675f;
  font-size: 13px;
}

/* 메타 정보와 보조 설명 */
#container [class*="-meta"],
#container [class*="-foot"],
#container [class*="-updated"],
#container [class*="-note"] {
  color: #756d65;
  font-size: 12px;
  line-height: 1.5;
}
#container [class*="-meta"] span,
#container [class*="-foot"] span,
#container [class*="-updated"] span,
#container [class*="-note"] span {
  color: #756d65;
  font-size: 12px;
}
#container [class*="-meta"] strong,
#container [class*="-foot"] strong {
  font-size: 13px;
}

/* 표와 폼 */
#container .search-table th,
#container .search-table td,
#container .list-table th,
#container .list-table td,
#container .form-table th,
#container .form-table td,
#container .roster-table th,
#container .roster-table td,
#container .log-table th,
#container .log-table td {
  font-size: 13px;
  line-height: 1.5;
}
#container .form-control,
#container .form-select,
#container .btn {
  font-size: 14px;
}

/* 상태값, 배지, 짧은 안내 */
#container .notice-label,
#container .pin,
#container .cover-badge,
#container .branch-tag,
#container .branch-chip,
#container .work-branch-mode,
#container .live-count,
#container .attendance-state,
#container .inspection-state,
#container .manual-category,
#container .manual-tag,
#container .manual-publish-state,
#container .admin-role,
#container .admin-security,
#container .admin-account-state,
#container .employment-state,
#container .document-state,
#container .branch-operating,
#container .room-status,
#container .log-status,
#container .log-verified,
#container .security-policy-head span {
  font-size: 12px;
  line-height: 1.35;
}

/* 대시보드 */
#container .dashboard-control strong {
  font-size: 15px;
}
#container .dashboard-control p {
  color: #665f58;
  font-size: 13px;
}
#container .dashboard-updated {
  color: #746d66;
  font-size: 12px;
}
#container .hq-summary-top span {
  color: #625b54;
  font-size: 14px;
  font-weight: 600;
}
#container .hq-summary-value small {
  color: #706860;
  font-size: 13px;
}
#container .hq-summary-foot {
  color: #756d65;
  font-size: 12px;
}
#container .dashboard-panel-head p {
  color: #6f675f;
  font-size: 12px;
}
#container .dashboard-panel-head a {
  font-size: 12px;
  font-weight: 600;
}
#container .branch-card-head strong {
  font-size: 14px;
}
#container .branch-open {
  font-size: 12px;
}
#container .branch-room-value span {
  color: #6f675f;
  font-size: 12px;
}
#container .branch-card-metrics span {
  color: #756d65;
  font-size: 11px;
}
#container .branch-card-metrics strong {
  font-size: 13px;
}
#container .dashboard-alert-content strong {
  color: #403a35;
  font-size: 13px;
}
#container .dashboard-alert-content span {
  color: #6f675f;
  font-size: 12px;
}
#container .dashboard-alert time {
  color: #7d756d;
  font-size: 11px;
}
#container .chart-scale {
  color: #7d756d;
  font-size: 11px;
}
#container .occupancy-row-label strong {
  color: #4e4842;
  font-size: 13px;
}
#container .occupancy-row-label span {
  color: #756d65;
  font-size: 11px;
}
#container .quick-link {
  color: #514a43;
  font-size: 13px;
}

/* 일정·근무·출퇴근 */
#container .member-row small,
#container .employee-info small {
  color: #756d65;
  font-size: 12px;
}
#container .upcoming-card strong {
  font-size: 13px;
}
#container .calendar-weekdays div,
#container .week-header div,
#container .day-number,
#container .agenda-time,
#container .schedule-field > label,
#container .schedule-field > span,
#container .schedule-calendar-option span,
#container .attendee-option span,
#container .comment-item strong,
#container .comment-item p,
#container .work-summary-card span,
#container .month-roster-day > span,
#container .punch-state,
#container .punch-message {
  font-size: 13px;
}
#container .calendar-event,
#container .week-event {
  font-size: 12px;
}
#container .calendar-event .event-time,
#container .time-column span,
#container .comment-item time,
#container .shift-card span,
#container .month-roster-count,
#container .shift-next-day {
  font-size: 11px;
}
#container .agenda-content span,
#container .work-branch-main p,
#container .employee-info small,
#container .staff-status-main p {
  color: #6f675f;
  font-size: 12px;
}

/* 시설·매뉴얼·직원·지점·시스템 */
#container .inspection-alert p,
#container .issue-content span,
#container .checklist-item small,
#container .manual-card p,
#container .manual-detail-title p,
#container .manual-intro,
#container .manual-view-step p,
#container .manual-step-media,
#container .manual-callout,
#container .admin-role-guide span,
#container .security-option p,
#container .employee-detail-main p,
#container .employee-document-card p,
#container .employee-file-drop span,
#container .branch-management-title p,
#container .branch-panel-head p,
#container .assignment-card p,
#container .branch-setting-card p,
#container .system-health-main p,
#container .system-panel-head p,
#container .security-alert-copy p,
#container .security-setting-copy p,
#container .system-integrity-main p,
#container .security-policy-card > p {
  color: #6f675f;
  font-size: 13px;
}
#container .issue-content strong,
#container .manual-card-foot a,
#container .manual-meta-list strong,
#container .employee-detail-meta strong,
#container .employee-file-drop strong,
#container .branch-overview strong,
#container .security-alert-copy strong,
#container .security-setting-copy strong,
#container .system-health-meta strong,
#container .system-integrity-main strong,
#container .security-policy-row strong {
  color: #403a35;
  font-size: 13px;
}
#container .manual-meta-list span,
#container .employee-detail-meta span,
#container .branch-management-stats span,
#container .branch-overview span,
#container .system-health-meta span,
#container .security-alert-time,
#container .log-filter label,
#container .log-table .event-cell span,
#container .log-event-id,
#container .log-change code,
#container .system-dialog-grid code {
  color: #756d65;
  font-size: 12px;
}
#container .system-hash,
#container .log-table .ip-cell {
  color: #625b54;
  font-size: 12px;
}

#footer p {
  color: #756d65;
  font-size: 13px;
}

/* Spring Security login */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  background: linear-gradient(145deg, #ded7cd 0%, #eee8e0 44%, #f7f4ef 100%);
}
.login-shell {
  width: min(900px, 100%);
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(117, 98, 79, 0.16);
  border-radius: 18px;
  background: #fbfaf7;
  box-shadow: 0 28px 80px rgba(79, 68, 57, 0.16);
}
.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: #ded7cd;
  text-align: center;
}
.family-wordmark {
  color: #3f494f;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 650;
  letter-spacing: -2.5px;
}
.family-wordmark strong {
  color: #b8505b;
  font-weight: 850;
}
.login-brand p {
  margin: 22px 0 0;
  color: #625b54;
  font-size: 14px;
  font-weight: 600;
}
.login-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}
.login-heading > span {
  color: #b52a3d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.login-heading h1 {
  margin: 8px 0 7px;
  color: #302c28;
  font-size: 28px;
}
.login-heading p {
  margin: 0 0 28px;
  color: #756d65;
  font-size: 14px;
}
.login-form {
  display: grid;
  gap: 9px;
}
.login-form label {
  margin-top: 6px;
  color: #514a43;
  font-size: 13px;
  font-weight: 700;
}
.login-form input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid #d8cfc4;
  border-radius: 7px;
  background: #fffefa;
  color: #332f2b;
  font:
    14px "Pretendard Variable",
    Pretendard,
    sans-serif;
}
.login-form input:focus {
  border-color: #b52a3d;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(181, 42, 61, 0.1);
}
.login-form button {
  height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 7px;
  background: #b52a3d;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}
.login-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.login-alert.error {
  background: #fff0ed;
  color: #a63d32;
}
.login-alert.success {
  background: #eaf7f3;
  color: #267c66;
}
.login-help {
  margin: 18px 0 0;
  color: #91887e;
  font-size: 12px;
  text-align: center;
}
.field-error {
  display: block;
  margin-top: 5px;
  color: #b52a3d;
  font-size: 12px;
}
.global-message {
  margin-bottom: 14px;
  padding: 10px 13px;
  border-radius: 5px;
  background: #eaf7f3;
  color: #267c66;
  font-size: 13px;
}
.global-message p {
  margin: 0;
}
.global-message.error {
  background: #fdeeed;
  color: #a43f4f;
}
.page-link.disabled {
  pointer-events: none;
  opacity: 0.42;
}
.employee-list-empty {
  padding: 55px 20px !important;
  color: #817970;
  text-align: center;
}
.employee-list-empty i {
  display: block;
  margin-bottom: 7px;
  color: #aaa198;
  font-size: 30px;
}
.employee-list-empty strong,
.employee-list-empty span {
  display: block;
}
.employee-list-empty span {
  margin-top: 5px;
  font-size: 12px;
  font-weight: 400;
}
.employee-data-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 15px 16px;
  border: 1px solid #e4ded6;
  border-radius: 6px;
  background: #f7f4f0;
  color: #625b54;
}
.employee-data-note i {
  flex: none;
  font-size: 23px;
}
.employee-data-note strong,
.employee-data-note span {
  display: block;
}
.employee-data-note span {
  margin-top: 3px;
  color: #756d65;
  font-size: 12px;
}
.employee-document-coming {
  background: #faf8f5;
}
.profile-logout {
  width: 100%;
  padding: 5px;
  border: 0;
  background: transparent;
  color: #666;
  font:
    14px "Pretendard Variable",
    Pretendard,
    sans-serif;
  text-align: left;
  cursor: pointer;
}
.profile-logout:hover {
  color: #b52a3d;
}
@media (max-width: 760px) {
  .login-page {
    width: 100%;
    min-height: 100svh;
    padding: 16px;
    overflow-x: hidden;
    place-items: start center;
  }
  .login-shell {
    width: 100%;
    max-width: 460px;
    min-height: 0;
    grid-template-columns: 1fr;
    margin: 0 auto;
    border-radius: 16px;
  }
  .login-brand {
    width: 100%;
    min-height: 156px;
    padding: 28px 24px;
  }
  .family-wordmark {
    font-size: 38px;
  }
  .login-brand p {
    margin-top: 6px;
    max-width: 300px;
    line-height: 1.55;
  }
  .login-card {
    width: 100%;
    min-width: 0;
    padding: 34px 24px 30px;
  }
  .login-heading,
  .login-alert,
  .login-form,
  .login-help {
    width: 100%;
    min-width: 0;
  }
  .login-form input,
  .login-form button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .login-page {
    padding: 10px;
  }
  .login-shell {
    border-radius: 14px;
  }
  .login-brand {
    min-height: 138px;
    padding: 24px 20px;
  }
  .family-wordmark {
    font-size: 34px;
    letter-spacing: -2px;
  }
  .login-brand p {
    font-size: 13px;
  }
  .login-card {
    padding: 30px 20px 26px;
  }
  .login-heading h1 {
    font-size: 26px;
  }
  .login-heading p {
    margin-bottom: 22px;
  }
}

.form-global-error {
  margin: 0 0 18px;
  padding: 13px 16px;
  border: 1px solid #e7b8bf;
  border-radius: 8px;
  background: #fff5f6;
  color: #9d2335;
  font-size: 14px;
}
.notice-cover-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin-top: 10px;
  color: #716a62;
  font-size: 13px;
}
.notice-cover-preview img {
  width: 96px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}
.notice-file-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}
.notice-file-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #faf8f4;
  color: #4d4944;
  font-size: 13px;
}
.file-remove-button {
  flex: none;
  border: 0;
  background: transparent;
  color: #a32637;
  cursor: pointer;
}

/* ================================================================
   OURHOME COMPACT FLOATING SIDEBAR
   넓은 관리자형 메뉴를 가족용 앱 셸에 맞게 가볍고 명확하게 정리
   ================================================================ */
@media (min-width: 1001px) {
  #header {
    top: 10px;
    left: 10px;
    width: var(--sidebar-panel-width);
    height: calc(100dvh - 20px);
    border: 1px solid rgba(91, 77, 62, 0.1);
    border-radius: 22px;
    background:
      radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.5), transparent 34%),
      linear-gradient(180deg, #e7e0d6 0%, #ddd4c8 100%);
    box-shadow: 0 14px 42px rgba(71, 57, 46, 0.12);
  }

  #header::after {
    display: none;
  }

  #header .logo {
    min-height: 88px;
    padding: 12px 17px;
    border-bottom-color: rgba(91, 77, 62, 0.09);
    background: transparent;
    place-items: center start;
  }

  #header .brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    letter-spacing: -0.9px;
  }

  #header .brand-logo > span {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    white-space: nowrap;
  }

  #header .brand-logo strong {
    font-size: 24px;
  }

  #header .brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    flex: none;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 250, 247, 0.7);
    box-shadow:
      inset 0 0 0 1px rgba(181, 42, 61, 0.09),
      0 5px 14px rgba(91, 77, 62, 0.08);
    color: #b52a3d;
    font-size: 21px;
  }

  #header .side-nav {
    height: calc(100dvh - 109px);
    padding: 12px 10px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 77, 62, 0.2) transparent;
  }

  #header .single-menu {
    display: grid;
    min-height: 50px;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 3px 0;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #57524c;
    font-size: 14px;
    font-weight: 620;
    text-shadow: none;
    transition:
      color 160ms ease,
      background 160ms ease,
      border-color 160ms ease,
      box-shadow 160ms ease,
      transform 130ms ease;
  }

  #header .single-menu::before {
    display: none;
  }

  #header .single-menu i {
    position: static;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.34);
    color: #77716a;
    font-size: 20px;
    transition:
      color 160ms ease,
      background 160ms ease,
      transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  #header .single-menu span {
    overflow: hidden;
    padding: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #header .single-menu:hover {
    border-color: rgba(91, 77, 62, 0.08);
    background: rgba(255, 253, 249, 0.5);
    color: #312e2a;
    transform: translateX(2px);
  }

  #header .single-menu:hover i {
    background: rgba(255, 255, 255, 0.7);
    color: #a93b4a;
  }

  #header .single-menu.active,
  #header .single-menu[aria-current="page"] {
    border-color: rgba(181, 42, 61, 0.1);
    background: rgba(255, 251, 248, 0.78);
    box-shadow:
      0 8px 22px rgba(91, 77, 62, 0.08),
      inset 3px 0 0 #c54858;
    color: #3a3230;
    font-weight: 760;
  }

  #header .single-menu.active i,
  #header .single-menu[aria-current="page"] i {
    background: #f6dfe1;
    color: #b52a3d;
    transform: scale(1.03);
  }

  /* 데스크톱 접기: 완전히 숨기지 않고 아이콘 레일을 남깁니다. */
  body.menu-collapsed {
    --sidebar-width: 84px;
  }

  body.menu-collapsed #header {
    left: 10px;
    width: 64px;
  }

  body.menu-collapsed #header .logo {
    min-height: 72px;
    padding: 12px;
    place-items: center;
  }

  body.menu-collapsed #header .brand-logo > span {
    display: none;
  }

  body.menu-collapsed #header .brand-mark {
    width: 38px;
    height: 38px;
  }

  body.menu-collapsed #header .side-nav {
    height: calc(100dvh - 93px);
    padding: 10px 7px 20px;
    overflow-x: hidden;
  }

  body.menu-collapsed #header .single-menu {
    min-height: 48px;
    grid-template-columns: 36px;
    justify-content: center;
    margin: 4px 0;
    padding: 5px 6px;
  }

  body.menu-collapsed #header .single-menu span {
    display: none;
  }

  body.menu-collapsed #header .single-menu:hover {
    transform: none;
  }

  body.menu-collapsed #util {
    width: calc(100% - 84px) !important;
    margin-left: 84px !important;
  }

  body.menu-collapsed #container,
  body.menu-collapsed #footer {
    margin-left: 84px !important;
  }

  body.menu-collapsed #util .menu-button {
    background: #f9f7f3;
    color: #a32637;
  }
}

@media (min-width: 821px) and (max-width: 1000px) {
  #header {
    top: 0;
    left: 0;
    width: min(84vw, 320px);
    height: 100dvh;
    border-radius: 0 22px 22px 0;
    transform: translateX(-105%);
    transition: transform 220ms ease-out;
  }

  body.menu-collapsed #header {
    left: 0;
    transform: translateX(0);
  }

  #header .logo {
    min-height: 96px;
    padding-right: 54px;
    padding-left: 22px;
    place-items: center start;
  }

  #header .side-nav {
    height: calc(100dvh - 96px);
  }

  .sidebar-close {
    position: absolute;
    z-index: 2;
    top: 18px;
    right: 15px;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(79, 68, 57, 0.13);
    border-radius: 13px;
    background: rgba(249, 247, 243, 0.76);
    color: #4e4943;
    font-size: 25px;
    cursor: pointer;
  }
}
