/* ============================================================
   Table-Based Pressure Calculations UI (Admin-only)
   All classes prefixed with ct- to avoid collisions
   ============================================================ */

/* ===== TOP BAR ===== */
.ct-top-bar {
  display: flex;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 16px;
}

/* ===== EDGE STRIP CARD (Orange) ===== */
.ct-edge-strip-card {
  background: linear-gradient(135deg, #ff6600 0%, #ff4400 100%);
  border: 2px solid #ff6600;
  border-radius: 16px;
  padding: 14px 16px;
  min-width: 220px;
  text-align: center;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}
.ct-es-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.ct-es-subtitle {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 10px;
}
.ct-help-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-building-diagram {
  position: relative;
  width: 100%;
  height: 65px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  margin-bottom: 10px;
}
.ct-bz {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
}
.ct-bz-z5 {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.7);
  color: #dc2626;
}
.ct-bz-z4 {
  background: repeating-linear-gradient(45deg,
    rgba(255,255,255,0.4) 0px, rgba(255,255,255,0.4) 3px,
    rgba(255,255,255,0.2) 3px, rgba(255,255,255,0.2) 6px);
  border: 1px solid rgba(255,255,255,0.5);
  color: white;
}
.ct-es-value-box {
  background: white;
  color: #1f2937;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

/* ===== ZONE GUIDE CARD (White) ===== */
.ct-zone-guide-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  flex: 1;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.ct-info-title {
  font-size: 13px;
  font-weight: 700;
  color: #181E57;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ct-info-rule {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 11px;
  color: #374151;
}
.ct-info-rule:last-of-type {
  border-bottom: none;
}
.ct-info-tip {
  font-size: 11px;
  color: #6b7280;
  padding-top: 6px;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 4px;
}
.ct-zone-tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  min-width: 42px;
  text-align: center;
  display: inline-block;
  flex-shrink: 0;
}
.ct-zone-tag-z5 {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.ct-zone-tag-z4 {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ===== LIBRARY RIBBON (Gold/Amber) ===== */
.ct-library-ribbon {
  align-self: stretch;
  cursor: pointer;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0018FF 0%, #181E57 100%);
  border-radius: 16px;
  padding: 20px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 24, 255, 0.2);
  min-width: 140px;
}
.ct-ribbon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s;
  position: relative;
  width: 100px;
}
.ct-ribbon-btn:hover {
  transform: translateY(-4px);
}

/* Ribbon shape — exact match from mockup SVG path */
.ct-ribbon-shape {
  width: 90px;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg width='100' height='135' viewBox='0 0 100 135' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3ClinearGradient id='rg' x1='0' y1='0' x2='100' y2='135' gradientUnits='userSpaceOnUse'%3E%3Cstop offset='0%25' stop-color='%23FBBF24'/%3E%3Cstop offset='100%25' stop-color='%23D97706'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M10 0 H90 Q100 0 100 10 V118 L50 98 L0 118 V10 Q0 0 10 0Z' fill='url(%23rg)'/%3E%3Cpath d='M10 0 H90 Q100 0 100 10 V118 L50 98 L0 118 V10 Q0 0 10 0Z' fill='none' stroke='rgba(255,255,255,0.25)' stroke-width='1.5'/%3E%3C/svg%3E") center top / contain no-repeat;
  position: relative;
  filter: drop-shadow(0 4px 10px rgba(245, 158, 11, 0.35));
}
.ct-ribbon-btn:hover .ct-ribbon-shape {
  filter: drop-shadow(0 8px 20px rgba(245, 158, 11, 0.5));
}

.ct-ribbon-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  pointer-events: none;
}
.ct-ribbon-count {
  font-size: 36px;
  font-weight: 900;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.2);
  line-height: 1;
}
.ct-ribbon-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.ct-ribbon-sublabel {
  font-size: 12px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  margin-top: 16px;
}

/* ===== TABLE PANEL ===== */
.ct-table-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  overflow-x: auto;
  margin-bottom: 20px;
}
.ct-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ct-table-header-left {
  font-weight: 700;
  color: #181E57;
  font-size: 16px;
}
.ct-table-header-right {
  font-size: 12px;
  color: #F59E0B;
  font-weight: 600;
  background: rgba(245, 158, 11, 0.1);
  padding: 4px 12px;
  border-radius: 8px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

/* ===== ENTRY TABLE ===== */
.ct-entry-table {
  width: 100%;
  border-collapse: collapse;
}
.ct-entry-table th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  font-weight: 700;
  padding: 10px 8px 6px;
  text-align: center;
  border-bottom: 2px solid rgba(24, 30, 87, 0.1);
}
.ct-entry-table td {
  padding: 8px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  text-align: center;
}
.ct-entry-table tbody tr {
  transition: background 0.15s;
}
.ct-entry-table tbody tr:hover td {
  background: rgba(59, 130, 246, 0.03);
}
.ct-row-num {
  font-weight: 800;
  color: #181E57;
  font-size: 16px;
  width: 36px;
}

/* ===== MINI CARD SCROLLER ===== */
.ct-mini-scroller {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  user-select: none;
}
.ct-scroll-arrow {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #cbd5e1;
  font-size: 10px;
  height: 16px;
  transition: all 0.2s;
  border-radius: 4px;
}
.ct-scroll-arrow:hover {
  color: #0018FF;
  background: rgba(0, 24, 255, 0.06);
}
.ct-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.ct-mini-card-selected {
  width: 90px;
  height: 50px;
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: white;
  border: 3px solid white;
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}
.ct-mini-card-selected i {
  font-size: 15px;
  margin-bottom: 2px;
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}
.ct-card-label {
  font-size: 11px;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* ===== INPUTS ===== */
/* Dash dcc.Input renders as: <div class="ct-input ..."><input></div>
   Style the WRAPPER for sizing, style the INPUT for text/appearance */
.ct-input {
  /* wrapper — no visual styles, just sizing */
}
.ct-input input {
  background: white;
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 10px;
  padding: 8px 10px;
  color: #1f2937;
  font-size: 13px !important;
  font-family: inherit;
  transition: all 0.2s;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  box-sizing: border-box;
  width: 100%;
}
.ct-input input:focus {
  outline: none;
  border-color: #0018FF;
  box-shadow: 0 0 0 3px rgba(0, 24, 255, 0.1), inset 0 1px 2px rgba(0,0,0,0.04);
}

/* Width / Height */
.ct-input-dim {
  min-width: 100px;
}
.ct-input-dim input {
  text-align: center;
  font-weight: 600;
  font-size: 12px !important;
  padding: 6px 2px !important;
  -moz-appearance: textfield;
  letter-spacing: -0.3px;
}
.ct-input-dim input::-webkit-outer-spin-button,
.ct-input-dim input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Mark ID */
.ct-input-mark {
  max-width: 50px;
}
.ct-input-mark input {
  font-weight: 600;
  text-align: center;
}

/* Description */
.ct-input-desc {
  min-width: 120px;
  max-width: 180px;
}
.ct-input-desc input {
  text-align: left;
}

/* ===== SAVE/DELETE BUTTONS ===== */
.ct-save-btn {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #F59E0B;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ct-save-btn:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #F59E0B;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}
.ct-remove-btn {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 16px;
  cursor: pointer;
  opacity: 0.35;
  transition: opacity 0.2s;
  padding: 4px;
}
.ct-remove-btn:hover {
  opacity: 1;
}

/* ===== PRESSURE VALUES ===== */
.ct-pressure-val {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 70px;
  display: inline-block;
}
.ct-pressure-pos {
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.ct-pressure-neg {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.ct-pressure-pending {
  font-size: 12px;
  color: #d1d5db;
}

/* ===== ACTION BAR ===== */
.ct-action-bar {
  display: flex;
  gap: 12px;
  padding: 14px 20px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.ct-action-btn {
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
}
.ct-action-primary {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.ct-action-primary:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}
.ct-action-secondary {
  background: rgba(24, 30, 87, 0.06);
  border: 2px solid rgba(24, 30, 87, 0.15);
  color: #181E57;
}
.ct-action-secondary:hover {
  background: rgba(24, 30, 87, 0.1);
  border-color: rgba(24, 30, 87, 0.3);
}

/* ===== MODAL ===== */
.ct-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 10000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-library-modal {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25), 0 0 60px rgba(0,0,0,0.15);
  width: 680px;
  max-height: 80vh;
  overflow-y: auto;
}
.ct-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.ct-modal-title {
  font-size: 18px;
  font-weight: 800;
  color: #181E57;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ct-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: none;
  background: rgba(0,0,0,0.04);
  color: #6b7280;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-modal-close:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #EF4444;
}
.ct-modal-subtitle {
  font-size: 12px;
  color: #6b7280;
  padding: 0 24px 12px;
}
.ct-modal-body {
  padding: 0 24px 20px;
}
.ct-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(248, 250, 252, 0.5);
  border-radius: 0 0 20px 20px;
}
.ct-selected-count {
  font-size: 12px;
  color: #6b7280;
}
.ct-modal-cancel-btn {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: 2px solid rgba(0,0,0,0.1);
  color: #6b7280;
  transition: all 0.2s;
}
.ct-modal-cancel-btn:hover {
  border-color: rgba(0,0,0,0.2);
  color: #374151;
}
.ct-modal-add-btn {
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  transition: all 0.25s;
  display: flex;
  align-items: center;
}
.ct-modal-add-btn:hover {
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* ===== LIBRARY TABLE ===== */
.ct-lib-table {
  width: 100%;
  border-collapse: collapse;
}
.ct-lib-table th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #6b7280;
  font-weight: 700;
  padding: 8px 10px;
  text-align: left;
  border-bottom: 2px solid rgba(24, 30, 87, 0.08);
}
.ct-lib-table td {
  padding: 10px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.ct-lib-table tbody tr {
  transition: background 0.15s;
}
.ct-lib-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.04);
}
.ct-comp-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 13px;
}
.ct-comp-detail {
  font-size: 11px;
  color: #6b7280;
}
.ct-lib-type-badge {
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-align: center;
  display: inline-block;
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}
.ct-lib-checkbox label {
  margin: 0;
}
.ct-qty-input {
  width: 52px;
  text-align: center;
  background: white;
  border: 2px solid rgba(203, 213, 225, 0.6);
  border-radius: 8px;
  padding: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  font-family: inherit;
}
.ct-qty-input:focus {
  outline: none;
  border-color: #0018FF;
  box-shadow: 0 0 0 3px rgba(0, 24, 255, 0.1);
}
.ct-center {
  text-align: center;
}
.ct-lib-delete-btn {
  color: #EF4444;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s;
  font-size: 13px;
  padding: 4px;
}
.ct-lib-delete-btn:hover {
  opacity: 1;
}

/* ===== CUSTOM SGD ICON (Sliding Glass Door) ===== */
.ct-sgd-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3C!-- Frame --%3E%3Crect x='2' y='3' width='20' height='18' rx='1'/%3E%3C!-- Center divider --%3E%3Cline x1='12' y1='3' x2='12' y2='21'/%3E%3C!-- Left panel (fixed) - glass lines --%3E%3Cline x1='5' y1='6' x2='5' y2='18' stroke-dasharray='2 2'/%3E%3C!-- Right panel (sliding) - with handle --%3E%3Cline x1='19' y1='6' x2='19' y2='18' stroke-dasharray='2 2'/%3E%3C!-- Slide handle on right panel --%3E%3Cline x1='10' y1='10' x2='10' y2='14' stroke-width='2.5'/%3E%3C!-- Arrow showing slide direction --%3E%3Cpath d='M15 12 L18 12' stroke-width='1.5'/%3E%3Cpath d='M16.5 10.5 L18 12 L16.5 13.5' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ===== TABLE ROOT OVERRIDES ===== */
.ct-table-root {
  padding-top: 20px !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  padding-bottom: 0 !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 900px) {
  /* Stack top bar vertically */
  .ct-top-bar {
    flex-direction: column;
    gap: 12px;
  }
  .ct-edge-strip-card {
    min-width: unset;
  }
  /* Library ribbon: compact horizontal strip on mobile */
  .ct-library-ribbon {
    align-self: stretch;
  }
  .ct-ribbon-btn {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #FBBF24, #D97706);
    border-radius: 12px;
    padding: 10px 16px;
    height: auto !important;
    width: 100% !important;
  }
  .ct-ribbon-shape {
    display: none;
  }
  .ct-ribbon-svg { display: none; }
  .ct-ribbon-content {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .ct-ribbon-count {
    font-size: 20px;
  }
  .ct-ribbon-label {
    font-size: 9px;
  }
  .ct-ribbon-sublabel {
    margin-top: 0;
    font-size: 13px;
  }

  /* Table: hide the desktop table, show card layout */
  .ct-entry-table thead {
    display: none;
  }
  .ct-entry-table,
  .ct-entry-table tbody,
  .ct-entry-table tr,
  .ct-entry-table td {
    display: block;
    width: 100%;
  }
  .ct-entry-table tr {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    position: relative;
  }
  .ct-entry-table td {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    border-bottom: none;
    text-align: left;
  }
  .ct-entry-table td::before {
    font-size: 10px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    min-width: 80px;
    flex-shrink: 0;
  }
  /* Row number as card header */
  .ct-row-num {
    font-size: 13px;
    width: auto;
  }
  /* Mini scrollers inline */
  .ct-mini-scroller {
    flex-direction: row;
    gap: 6px;
  }
  .ct-mini-card-selected {
    width: auto;
    height: 38px;
    flex-direction: row;
    padding: 0 12px;
    gap: 6px;
  }
  .ct-scroll-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Inputs: override desktop sizing for mobile cards */
  .ct-input-dim {
    min-width: unset;
    width: auto;
    flex: 1;
  }
  .ct-input-dim input {
    width: 100% !important;
  }
  .ct-input-mark {
    max-width: unset;
    width: auto;
    flex: 1;
  }
  .ct-input-desc {
    width: 100%;
    min-width: unset;
    max-width: unset;
  }
  /* Pressure values inline */
  .ct-pressure-val {
    font-size: 12px;
  }
  /* Remove button top-right of card */
  .ct-table-panel {
    overflow-x: visible;
  }

  /* Zone guide: more compact */
  .ct-zone-guide-card {
    padding: 12px;
  }
  .ct-info-rule {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .ct-top-bar {
    gap: 8px;
  }
  .ct-edge-strip-card {
    padding: 10px 12px;
  }
  .ct-es-title { font-size: 13px; }
  .ct-building-diagram { height: 50px; }
  .ct-zone-guide-card {
    padding: 10px;
  }
  .ct-info-title { font-size: 11px; }
  .ct-info-rule { font-size: 9px; padding: 3px 0; }
  .ct-info-tip { font-size: 9px; }
  .ct-action-bar {
    flex-direction: column;
    gap: 8px;
  }
  .ct-action-btn {
    width: 100%;
    justify-content: center;
  }
}
