/* gvone — 공통 레이아웃 스타일 (Grok 재작성) */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-width: 1760px;
  min-height: 100%;
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  color: #172033;
  background: #e9eff6;
}

body {
  padding: 24px 0 152px;
  transition: padding-bottom .22s ease;
}
a { color: inherit; text-decoration: none; }

/* 셸 */
.shell {
  width: 1600px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #cbd7e5;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .14);
  overflow: hidden;
}

/* 상단 (H00) — 접기 시 L00|C00|R00 위로 확장 */
.top {
  position: relative;
  height: 164px;
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid #cfd9e5;
  background: #fff;
  transition: height .22s ease;
  overflow: hidden;
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #fff;
  background: linear-gradient(145deg, #102a43, #17324d 62%, #1d4ed8);
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
}
.header-right {
  display: grid;
  grid-template-rows: 34px 130px;
  min-width: 0;
  background: #f8fbff;
}
.utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border-bottom: 1px solid #e2eaf3;
  background: #f2f6fb;
}
.utility a { color: #475467; font-size: 12px; font-weight: 800; white-space: nowrap; }
.utility a:hover { color: #1d4ed8; }

.menu {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 11px 14px;
  background: #fff;
}
.menu-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}
.menu-item {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  padding: 0 7px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  color: #243244;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
  box-shadow: 0 4px 12px rgba(16, 24, 40, .055);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
  word-break: keep-all;
  overflow: hidden;
}
.menu-item.active {
  color: #fff;
  border-color: #1d4ed8;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
}
.menu-item.compact {
  gap: 4px;
  padding: 0 4px;
  font-size: 11px;
  white-space: nowrap;
}
.menu-item.compact .ico { width: 18px; height: 18px; font-size: 9px; }

.ico {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  color: #2563eb;
  background: #eef4ff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
.active .ico { color: #fff; background: rgba(255, 255, 255, .20); }

/* 본문 3단 — L00 | C00 | R00 (접기 시 C00 확장) */
.body {
  --left-w: 180px;
  --right-w: 180px;
  --rail-w: 28px;
  display: grid;
  grid-template-columns: var(--left-w) minmax(0, 1fr) var(--right-w);
  min-height: 860px;
  background: #eef3f8;
  transition: grid-template-columns .22s ease, min-height .22s ease;
}
.body.left-collapsed { --left-w: var(--rail-w); }
.body.right-collapsed { --right-w: var(--rail-w); }

/* 수직 확장: 상단/하단 접힘 → 본문 높이 증가 */
body.header-collapsed .body {
  min-height: calc(860px + 136px);
}
body.footer-collapsed .body {
  min-height: calc(860px + 120px);
}
body.header-collapsed.footer-collapsed .body {
  min-height: calc(100vh - 90px);
}

.left, .right {
  position: relative;
  min-width: 0;
  width: auto;
  background: #f7fafc;
  border-color: #d8e3ee;
  overflow: hidden;
  transition: opacity .18s ease;
}
.left { border-right: 1px solid #d8e3ee; }
.right { border-left: 1px solid #d8e3ee; }

.panel-title {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 6px 0 10px;
  color: #172033;
  background: #e9f1f9;
  border-bottom: 1px solid #d8e3ee;
  font-size: 13px;
  font-weight: 900;
}
.panel-title-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.panel-toggle {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid #c5d4e4;
  border-radius: 6px;
  color: #1d4ed8;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(16, 24, 40, .08);
}
.panel-toggle:hover {
  color: #fff;
  border-color: #1d4ed8;
  background: #1d4ed8;
}
.panel-toggle:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 1px;
}

/* 접힌 패널: 얇은 레일 + 펼치기 버튼만 */
.body.left-collapsed .left .panel-title-text,
.body.left-collapsed .left .side-list,
.body.right-collapsed .right .panel-title-text,
.body.right-collapsed .right .side-list {
  display: none;
}
.body.left-collapsed .left .panel-title,
.body.right-collapsed .right .panel-title {
  height: 100%;
  min-height: 860px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 0;
  border-bottom: 0;
}
.body.left-collapsed .left .panel-toggle,
.body.right-collapsed .right .panel-toggle {
  width: 22px;
  height: 48px;
  writing-mode: horizontal-tb;
}
/* 접힌 뒤 레일 클릭 영역 넓히기 */
.body.left-collapsed .left,
.body.right-collapsed .right {
  cursor: pointer;
  background: #eef4fb;
}
.body.left-collapsed .left:hover,
.body.right-collapsed .right:hover {
  background: #e3edf8;
}

.side-list { margin: 0; padding: 6px; list-style: none; }
.side-list li {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 8px 7px;
  border: 1px solid #dce6f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(16, 24, 40, .045);
  color: #344054;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  word-break: keep-all;
  width: 100%;
}
.left .side-list li a {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
}
.left .side-list li.active {
  color: #fff;
  border-color: #1d4ed8;
  background: #1d4ed8;
}
.left .side-list li.active .ico { color: #1d4ed8; background: #fff; }
.left .side-list .ico { flex: 0 0 16px; width: 16px; height: 16px; border-radius: 5px; color: #0f766e; background: #e8f6f3; font-size: 10px; }
.side-list .divider {
  min-height: 0;
  height: 1px;
  padding: 0;
  margin: 4px 4px;
  border: 0;
  border-top: 1px dashed #aeb8c5;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* 중앙 (C00) — 좌/우 접기 시 grid 1fr 로 자동 확장 */
.center {
  min-width: 0;
  padding: 18px;
  background: #fff;
}
.content-head {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 10px 24px rgba(16, 24, 40, .07);
}
.content-head h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #172033;
  font-size: 21px;
  font-weight: 900;
}
.content-head span { color: #667085; font-size: 12px; font-weight: 700; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.card {
  min-height: 104px;
  padding: 15px;
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .075);
}
.card.linked-card {
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card.linked-card:hover {
  transform: translateY(-2px);
  border-color: #9bb8e7;
  box-shadow: 0 14px 28px rgba(16, 24, 40, .11);
}
.card strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #526173;
  font-size: 12px;
  font-weight: 900;
}
.card b { color: #172033; font-size: 28px; line-height: 1; }

.work-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.section {
  min-height: 280px;
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .075);
  overflow: hidden;
}
.section-title {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #e3ebf3;
  color: #253145;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 900;
}
.section-body { padding: 14px; color: #667386; font-size: 12px; line-height: 1.7; }

table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 9px; border-bottom: 1px solid #edf1f6; text-align: left; }
th { color: #475569; background: #f8fafc; }
tbody tr.linked-row { cursor: pointer; }
tbody tr.linked-row:hover td { background: #f6f9ff; color: #1d4ed8; }

/* 우측 현황 */
.right .side-list { padding: 8px 10px; }
.right .side-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 6px;
  min-height: 38px;
  padding: 7px 0;
  margin: 0;
  border: 0;
  border-bottom: 1px solid #e5ebf2;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.right .side-list .status-link {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 6px;
  width: 100%;
}
.right .side-list strong { color: #334155; font-size: 11px; font-weight: 900; line-height: 1.2; }
.right .side-list b { color: #1d4ed8; font-size: 12px; font-weight: 900; line-height: 1; white-space: nowrap; }
.right .side-list small {
  grid-column: 1 / -1;
  color: #7a8798;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
}
.right .side-list .important {
  min-height: 42px;
  padding: 8px 9px;
  margin-bottom: 6px;
  border: 1px solid #fecdd3;
  border-left: 3px solid #dc2626;
  border-radius: 6px;
  background: #fff7f7;
  box-shadow: 0 6px 14px rgba(220, 38, 38, .08);
}
.right .side-list .important strong,
.right .side-list .important b { color: #b91c1c; }
.right .side-list li.active {
  padding: 8px 9px;
  border: 1px solid #1d4ed8;
  border-left: 3px solid #1d4ed8;
  border-radius: 6px;
  background: #eff6ff;
  box-shadow: 0 6px 14px rgba(29, 78, 216, .08);
}
.right .side-list li.active strong,
.right .side-list li.active b { color: #1d4ed8; }

/* 플로팅 네비 */
.float {
  position: fixed;
  top: 190px;
  left: calc(50% + 825px);
  width: 118px;
  border: 1px solid #cbd7e5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(16, 24, 40, .16);
  overflow: hidden;
  z-index: 20;
}
.float.left-float { left: auto; right: calc(50% + 825px); }
.float-title {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #17324d;
  font-size: 12px;
  font-weight: 900;
}
.float-item {
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-top: 1px solid #e0e7ef;
  color: #2a3648;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.float-item.active { color: #fff; border-top-color: #1d4ed8; background: #1d4ed8; }
.float-item.active .ico { color: #1d4ed8; background: #fff; }
.float-item .ico, .bottom-item .ico {
  width: 15px;
  height: 15px;
  border-radius: 5px;
  font-size: 9px;
}
.float-action {
  height: 94px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.chat { background: #0f766e; }
.msg { background: #1d4ed8; }
.float-action.active {
  outline: 3px solid rgba(29, 78, 216, .22);
  outline-offset: -3px;
  filter: brightness(1.06);
}
.round {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  font-weight: 900;
}
.chat .round { color: #0f766e; }
.msg .round { color: #1d4ed8; }

/* 수직 접기 토글 (상단 ∧ / 하단 ∨) */
.panel-toggle-v {
  position: absolute;
  z-index: 40;
  width: 44px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1px solid #c5d4e4;
  border-radius: 999px;
  color: #1d4ed8;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 24, 40, .14);
}
.panel-toggle-v:hover {
  color: #fff;
  border-color: #1d4ed8;
  background: #1d4ed8;
}
.panel-toggle-v:focus-visible {
  outline: 2px solid #7c3aed;
  outline-offset: 1px;
}
.panel-toggle-v[data-edge="top"] {
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
}
.panel-toggle-v[data-edge="bottom"] {
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
}

/* 상단 접힘: 28px 레일 */
body.header-collapsed .top {
  height: 28px;
  grid-template-columns: 1fr;
  cursor: pointer;
  background: #eef4fb;
}
body.header-collapsed .top:hover { background: #e3edf8; }
body.header-collapsed .top > .logo,
body.header-collapsed .top > .header-right,
body.header-collapsed .top > .dev-label {
  display: none !important;
}
body.header-collapsed .panel-toggle-v[data-edge="top"] {
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 하단 접힘: 28px 레일 + 페이지 여백 축소 → 본문 아래로 확장 */
body.footer-collapsed {
  padding-bottom: 40px;
}
body.footer-collapsed .bottom {
  height: 28px;
  grid-template-rows: 28px;
  gap: 0;
  cursor: pointer;
  background: #eef4fb;
}
body.footer-collapsed .bottom:hover { background: #e3edf8; }
body.footer-collapsed .bottom > .bottom-row,
body.footer-collapsed .bottom > .dev-label {
  display: none !important;
}
body.footer-collapsed .panel-toggle-v[data-edge="bottom"] {
  top: 50%;
  transform: translate(-50%, -50%);
}

/* 하단 고정 메뉴 (B00) */
.bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 1600px;
  height: 132px;
  display: grid;
  grid-template-rows: 66px 66px;
  gap: 1px;
  border-top: 1px solid #aeb9c7;
  background: #cbd6e2;
  box-shadow: 0 -16px 36px rgba(16, 24, 40, .12);
  z-index: 30;
  transition: height .22s ease;
}
.bottom-row {
  display: grid;
  grid-template-columns: repeat(17, minmax(0, 1fr));
  gap: 1px;
}
.bottom-item {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 5px;
  color: #273345;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
  word-break: keep-all;
}
.bottom-title { color: #fff; background: #17324d; font-weight: 900; }
.bottom-item.active { color: #fff; background: #1d4ed8; }
.bottom-item.active .ico { color: #1d4ed8; background: #fff; }

/* 개발 모드 컨트롤 */
.dev-control-stack {
  position: fixed;
  right: 18px;
  top: 18px;
  display: grid;
  gap: 6px;
  width: 118px;
  z-index: 100;
}
.dev-toggle,
.save-order-button,
.admin-shortcut {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 7px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(16, 24, 40, .16);
  text-align: center;
  white-space: nowrap;
}
.dev-toggle { background: #7c3aed; }
.save-order-button { background: #2563eb; }
.admin-shortcut { background: #17324d; }

.dev-label {
  display: none;
  position: absolute;
  top: 3px;
  left: 3px;
  min-width: 34px;
  height: 18px;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 4px;
  background: #7c3aed;
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 10px;
  font-weight: 900;
  line-height: 18px;
  pointer-events: none;
  z-index: 50;
}
.dev-mode .dev-target {
  position: relative;
  outline: 2px dashed rgba(124, 58, 237, .55);
  outline-offset: -2px;
}
.dev-mode .dev-label { display: inline-flex; }
.dev-label::before { content: none !important; display: none !important; }

/* ==========================================================================
   C00 utility patterns (U01~U08) — wireframe composition 2026-07-14
   ========================================================================== */
.c00-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  background: #f7fafc;
}
.c00-toolbar .spacer { flex: 1; min-width: 8px; }
.c00-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #c5d4e4;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}
.c00-chip strong { color: #1d4ed8; font-size: 12px; }
.c00-chip.active { color: #fff; border-color: #1d4ed8; background: #1d4ed8; }
.c00-chip.active strong { color: #fff; }

.c00-input,
.c00-select {
  height: 32px;
  padding: 0 10px;
  border: 1px solid #c5d4e4;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  font-size: 12px;
  font-weight: 700;
}
.c00-input { min-width: 160px; }
.c00-input.wide { min-width: 220px; width: 100%; }
.c00-textarea {
  width: 100%;
  min-height: 110px;
  padding: 10px 12px;
  border: 1px solid #c5d4e4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
  resize: vertical;
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { color: #fff; background: #1d4ed8; border-color: #1d4ed8; }
.btn-primary:hover { background: #1e40af; }
.btn-ghost { color: #1d4ed8; background: #fff; border-color: #c5d4e4; }
.btn-ghost:hover { border-color: #1d4ed8; background: #eef4ff; }
.btn-danger { color: #b91c1c; background: #fff; border-color: #fecaca; }
.btn-lg { height: 40px; padding: 0 22px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.c00-split {
  display: grid;
  grid-template-columns: minmax(280px, 38%) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
  min-height: 520px;
}
.c00-list,
.c00-detail,
.c00-panel {
  border: 1px solid #d8e3ee;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 24, 40, .06);
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.c00-list-head,
.c00-detail-head,
.c00-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border-bottom: 1px solid #e3ebf3;
  background: #f7fafc;
  font-size: 12px;
  font-weight: 900;
  color: #253145;
}
.c00-list-body { overflow: auto; flex: 1; }
.c00-detail-body { overflow: auto; flex: 1; padding: 14px 16px; }
.c00-detail-foot,
.c00-panel-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e3ebf3;
  background: #fafcfe;
}

.c00-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2f7;
  cursor: pointer;
}
.c00-row:hover { background: #f6f9ff; }
.c00-row.active { background: #eef4ff; box-shadow: inset 3px 0 0 #1d4ed8; }
.c00-row .pin { color: #d97706; font-weight: 900; font-size: 11px; }
.c00-row .title { color: #172033; font-size: 12px; font-weight: 900; line-height: 1.35; }
.c00-row .meta { color: #667386; font-size: 11px; font-weight: 700; margin-top: 3px; }
.c00-row .badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

.badge {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}
.badge-blue { color: #1d4ed8; background: #e0eaff; }
.badge-amber { color: #b45309; background: #fef3c7; }
.badge-green { color: #047857; background: #d1fae5; }
.badge-gray { color: #475569; background: #e2e8f0; }
.badge-red { color: #b91c1c; background: #fee2e2; }

.c00-doc-title {
  margin: 0 0 8px;
  color: #172033;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}
.c00-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 14px;
  color: #667386;
  font-size: 11px;
  font-weight: 700;
}
.c00-doc-body {
  color: #334155;
  font-size: 13px;
  line-height: 1.75;
  white-space: pre-line;
}
.c00-alert {
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
.c00-alert.danger {
  border-color: #fca5a5;
  background: #fef2f2;
  color: #991b1b;
}
.c00-mask {
  margin-top: 12px;
  padding: 28px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: repeating-linear-gradient(-45deg, #f8fafc, #f8fafc 8px, #f1f5f9 8px, #f1f5f9 16px);
  color: #64748b;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

/* Auth compact */
.c00-auth-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-bottom: 24px;
}
.c00-auth-card {
  width: min(440px, 100%);
  border: 1px solid #d8e3ee;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .10);
  overflow: hidden;
}
.c00-auth-card .c00-panel-head { min-height: 48px; font-size: 13px; }
.c00-auth-body { padding: 18px 18px 8px; }
.c00-auth-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 8px 18px 18px;
}
.c00-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
}
.c00-auth-links a:hover { text-decoration: underline; }

.c00-field { margin-bottom: 12px; }
.c00-field label {
  display: block;
  margin-bottom: 5px;
  color: #475569;
  font-size: 11px;
  font-weight: 900;
}
.c00-field .hint { margin-top: 4px; color: #94a3b8; font-size: 11px; font-weight: 700; }
.c00-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: #334155;
  font-size: 12px;
  font-weight: 700;
}
.c00-check input { width: 15px; height: 15px; }

/* Settings */
.c00-settings {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
  min-height: 480px;
}
.c00-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
.c00-form-grid .full { grid-column: 1 / -1; }
.c00-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.c00-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f7;
  font-size: 12px;
  font-weight: 800;
  color: #172033;
}
.c00-order-list { list-style: none; margin: 0; padding: 0; }
.c00-order-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  margin-bottom: 6px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}
.c00-order-list .handle { color: #94a3b8; cursor: grab; }
.c00-mini-shell {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f7;
  min-height: 220px;
  display: grid;
  grid-template-rows: 36px 1fr;
}
.c00-mini-shell .mh { background: #17324d; color: #fff; font-size: 10px; font-weight: 900; display:flex; align-items:center; padding: 0 10px; }
.c00-mini-shell .mb { display: grid; grid-template-columns: 48px 1fr 48px; min-height: 180px; }
.c00-mini-shell .ml, .c00-mini-shell .mr { background: #dbe4ef; font-size: 9px; font-weight: 900; color: #475569; display:flex; align-items:center; justify-content:center; writing-mode: vertical-rl; }
.c00-mini-shell .mc { background: #fff; padding: 10px; font-size: 10px; font-weight: 800; color: #64748b; }

.c00-readonly {
  padding: 8px 10px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}
