/* Certificate Studio Theme */
:root {
  --primary-color: #0f766e;
  --primary-hover: #115e59;
  --primary-light: #ccfbf1;
  --secondary-color: #b45309;
  --secondary-light: #ffedd5;
  --accent-color: #0ea5e9;
  --error-color: #dc2626;
  --warning-color: #f59e0b;
  --surface-color: #fffdfa;
  --surface-variant: #f8faf8;
  --surface-elevated: #ffffff;
  --outline-color: #d9e2df;
  --outline-variant: #bccfca;
  --text-primary: #142420;
  --text-secondary: #42544f;
  --text-disabled: #8da39c;
  --text-on-primary: #ffffff;
  --shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --border-radius: 8px;
  --border-radius-large: 16px;
  --border-radius-xl: 24px;
  --transition: all 0.2s cubic-bezier(0.34, 1.2, 0.64, 1);
  --font-family: 'IBM Plex Sans', 'Noto Sans SC', 'PingFang SC', system-ui, -apple-system, sans-serif;
  --font-display: 'IBM Plex Sans Condensed', 'Noto Sans SC', sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  background:
    radial-gradient(1400px 800px at -10% -20%, #a7f3d0 0%, rgba(167,243,208,0) 60%),
    radial-gradient(1200px 700px at 110% -30%, #bae6fd 0%, rgba(186,230,253,0) 55%),
    linear-gradient(160deg, #f3fbf8 0%, #f8fbff 50%, #fcfaf6 100%);
  min-height: 100vh;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.app-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 18px;
  border-bottom:1px solid rgba(15, 118, 110, 0.15);
  background: rgba(255, 253, 250, 0.82);
  backdrop-filter: blur(12px);
  position:sticky;
  top:0;
  z-index:10;
  box-shadow: 0 10px 30px rgba(20, 36, 32, 0.08);
}
.brand{
  display: grid;
  gap: 2px;
  white-space: nowrap;
}
.brand-kicker{
  font-family: var(--font-display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}
.brand-title{
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.actions{
  display:flex;
  gap:8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.88rem;
  border: 1px solid var(--outline-color);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-1);
}
.btn:hover {
  background: #ffffff;
  border-color: #9ec2bb;
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}
.btn.primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  border-color: var(--primary-color);
  color: var(--text-on-primary);
}
.btn.primary:hover {
  background: var(--primary-hover);
}
.btn.outlined {
  background: transparent;
  border-color: var(--outline-color);
  color: var(--text-primary);
}
.btn.outlined:hover {
  background: var(--surface-variant);
}
.btn.icon {
  padding: 0.5rem;
  min-width: auto;
}
.btn.icon-only{
  padding: 0.52rem;
  min-width: auto;
}
.btn.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 160px;
}

.btn-group{
  display:flex;
  gap:6px;
  padding: 5px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}
.header-divider{
  width: 1px;
  height: 26px;
  margin: 0 2px;
  background: linear-gradient(to bottom, transparent, #b6c7c3, transparent);
}

.app-main{display:flex;min-height:calc(100vh - 64px)}
.sidebar{width:400px;border-right:1px solid var(--outline-color);background:rgba(255, 255, 255, 0.7);padding:12px;overflow:auto;backdrop-filter: blur(6px)}
.panel{border:1px solid var(--outline-color);border-radius:12px;padding:12px;margin-bottom:12px;background:rgba(255,255,255,0.92);box-shadow: 0 6px 20px rgba(20, 36, 32, 0.05)}
.panel h3{margin:0 0 8px;font-size:14px;color:var(--text-secondary)}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.field.row{flex-direction:row;gap:8px}
.field.group{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.field label{font-size:12px;color:var(--text-secondary)}
.field input,.field select{padding:8px 10px;border:1px solid var(--outline-color);border-radius:6px;background:var(--surface-color);color:var(--text-primary)}
.fields-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.fields-list li{display:flex;align-items:center;justify-content:space-between;padding:8px;border:1px solid var(--outline-color);border-radius:6px;background:var(--surface-color);cursor:pointer}
.fields-list li.active{outline:2px solid var(--primary-color)}
.canvas-wrap{flex:1;display:flex;flex-direction:column;overflow:auto}
.canvas-toolbar{display:flex;align-items:center;gap:12px;padding:8px 12px;border-bottom:1px solid var(--outline-color)}
.canvas-container{position:relative;flex:1;overflow:auto}
#stage{display:block;background:var(--surface-variant);margin:0 auto;border:1px solid var(--outline-color)}
.hint{padding:8px 12px;color:var(--text-secondary);font-size:12px;border-top:1px solid var(--outline-color)}
.props-under-canvas{
  margin:12px;
  border:1px solid var(--outline-color);
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:8px 12px;
}
.props-under-canvas h3{
  grid-column: 1 / -1;
  margin:0 0 4px;
}
.props-under-canvas .field{
  margin-bottom:0;
}
.props-under-canvas .field.group{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.props-under-canvas .field.row{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(120px,1fr));
  gap:8px;
}
.props-under-canvas .field.row .btn{flex:1}
.handle{position:absolute;border:1px dashed var(--primary-color);pointer-events:none}
.guide{position:absolute;left:0;right:0;height:1px;background:rgba(37,99,235,.3);pointer-events:none}
.textarea{min-height:110px;resize:vertical}

/* Compact sidebar layout */
.sidebar .btn{padding:6px 8px;font-size:12px;line-height:1}
.sidebar .field{gap:4px;margin-bottom:8px}
.sidebar .field.row{gap:6px}
.sidebar .field.group{gap:6px}
.sidebar .panel{padding:10px}
.sidebar .fields-list li{padding:6px;font-size:12px}

/* 紧凑型按钮 */
.btn.compact {
  padding: 6px 10px;
  font-size: 12px;
  gap: 4px;
}

.btn.compact .material-symbols-outlined {
  font-size: 16px;
}

/* 复选框标签样式 */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-primary);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* 危险按钮样式优化 */
.btn.danger {
  color: var(--error-color);
  border-color: var(--error-color);
  background: transparent;
}

.btn.danger:hover {
  background: rgba(220, 38, 38, 0.1);
}

/* 面板标题样式 */
.panel h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--outline-color);
}
.sidebar .field input,.sidebar .field select,.sidebar .textarea{padding:6px 8px;font-size:13px}
.sidebar .field.row .btn{flex:1}

/* Two-column layout for fields list with inline separator */
.fields-list{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}
.fields-list li{display:flex;align-items:center}
.fields-list li:nth-child(even)::before{content:"｜";color:var(--text-secondary);margin-right:6px}

/* Template gallery */
.template-gallery{border-top:1px solid var(--outline-color);padding:8px 12px;background:var(--surface-color)}
.gallery-actions{display:flex;gap:8px;align-items:center;margin-bottom:8px}
.thumbnails{display:flex;gap:8px;overflow:auto}
.thumbnail{width:80px;height:56px;border:1px solid var(--outline-color);border-radius:4px;overflow:hidden;cursor:pointer;background:var(--surface-variant)}
.thumbnail.active{outline:2px solid var(--primary-color)}
.thumbnail img{width:100%;height:100%;object-fit:cover}
.thumbnail .name{font-size:10px;color:var(--text-secondary);margin-top:4px}

@media (max-width: 1200px) {
  .actions .btn span:not(.material-symbols-outlined) {
    display: none;
  }
  .btn-group .btn {
    padding: 0.56rem;
  }
}

@media (max-width: 900px) {
  .app-header {
    align-items: flex-start;
  }
  .brand-title {
    font-size: 16px;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--outline-color);
  }
  .app-main {
    flex-direction: column;
  }
}

/* Professional Healthcare Theme Styles for Search Page */

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.header.professional {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
  color: var(--text-on-primary);
  padding: 1.5rem 0;
  box-shadow: var(--shadow-2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-section .logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-placeholder {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-large);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-placeholder .material-symbols-outlined {
  font-size: 32px;
  color: var(--text-on-primary);
}

.brand-info .organization {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-on-primary);
}

.brand-info .system-title {
  font-size: 0.95rem;
  opacity: 0.9;
  color: var(--text-on-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Banner Background */
.banner-background {
  height: 200px;
  background: linear-gradient(rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05)),
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 300"><defs><pattern id="caring" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="2" fill="%23dbeafe" opacity="0.3"/></pattern></defs><rect width="1000" height="300" fill="url(%23caring)"/></svg>');
  background-size: cover;
  background-position: center;
  position: relative;
  margin-top: -1px;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
  margin-top: -100px;
  padding-bottom: 2rem;
}

/* Search Section */
.search-section {
  margin-bottom: 2rem;
}

.search-card.professional-card {
  background: var(--surface-elevated);
  border-radius: var(--border-radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-3);
  border: 1px solid var(--outline-color);
  max-width: 800px;
  margin: 0 auto;
}

.search-header {
  text-align: center;
  margin-bottom: 2rem;
}

.search-header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.search-header h2 .material-symbols-outlined {
  font-size: 2rem;
  color: var(--primary-color);
}

.search-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: var(--text-secondary);
  font-size: 1.25rem;
  z-index: 2;
}

.search-input-field {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid var(--outline-color);
  border-radius: var(--border-radius-large);
  font-size: 1rem;
  background: var(--surface-color);
  transition: var(--transition);
  font-family: var(--font-family);
}

.search-input-field:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.search-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Results Section */
.results-section {
  margin-top: 3rem;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.results-header h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.results-header h3 .material-symbols-outlined {
  color: var(--primary-color);
  font-size: 1.75rem;
}

.result-count {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.results-container {
  display: grid;
  gap: 1.5rem;
}

/* Result Card Styles */
.result-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.5rem;
  align-items: start;
  background: var(--surface-elevated);
  border-radius: var(--border-radius-large);
  padding: 1.5rem;
  box-shadow: var(--shadow-2);
  border: 1px solid var(--outline-color);
  transition: var(--transition);
}

.result-card:hover {
  box-shadow: var(--shadow-3);
  transform: translateY(-2px);
}

.result-thumb {
  width: 120px;
  height: 85px;
  border-radius: var(--border-radius);
  overflow: hidden;
  background: var(--surface-variant);
  border: 1px solid var(--outline-color);
}

.result-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.result-meta .title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.result-meta .meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.result-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 160px;
}

/* Footer Styles */
.footer.professional {
  background: var(--text-primary);
  color: var(--surface-color);
  margin-top: 4rem;
  padding: 3rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--surface-color);
}

.footer-section p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0;
}

.footer-section .material-symbols-outlined {
  font-size: 1rem;
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Modal Enhancements */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  z-index: 1000;
}

.modal.active {
  display: block;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-elevated);
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-elevated);
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--outline-color);
  background: var(--surface-variant);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.modal-body {
  padding: 1.5rem;
  text-align: center;
}

.preview-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .brand-section .logo-area {
    flex-direction: column;
    text-align: center;
  }
  
  .search-card.professional-card {
    margin: 0 1rem;
    padding: 1.5rem;
  }
  
  .search-actions {
    flex-direction: column;
  }
  
  .result-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .result-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* ========================================
   字段属性面板样式
   ======================================== */

.prop-panel {
  margin: 12px;
  padding: 0 !important;
  border: 1px solid var(--outline-color);
  border-radius: 12px;
  background: var(--surface-color);
  overflow: hidden;
}

.prop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface-variant);
  border-bottom: 1px solid var(--outline-color);
}

.prop-header h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.prop-header h3 .material-symbols-outlined {
  font-size: 20px;
  color: var(--primary-color);
}

.prop-actions {
  display: flex;
  gap: 6px;
}

.prop-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.prop-section {
  flex: 1;
  min-width: 280px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--outline-color);
  border-right: 1px solid var(--outline-color);
}

.prop-section:last-child {
  border-bottom: none;
}

.prop-section.content-section {
  flex: 2;
  min-width: 400px;
}

.prop-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.prop-section-title .material-symbols-outlined {
  font-size: 16px;
}

.prop-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.prop-row:last-child {
  margin-bottom: 0;
}

.prop-row.three-col {
  grid-template-columns: 1fr 1fr 1fr;
}

.prop-row.four-col {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

/* 字体设置区域高亮 */
.prop-section .prop-section-title .material-symbols-outlined {
  color: var(--primary-color);
}

.prop-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prop-field label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-secondary);
}

.prop-field input,
.prop-field select {
  padding: 8px 10px;
  border: 1px solid var(--outline-color);
  border-radius: 6px;
  font-size: 13px;
  background: var(--surface-color);
  color: var(--text-primary);
  transition: var(--transition);
}

.prop-field input:focus,
.prop-field select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.prop-field input::placeholder {
  color: var(--text-disabled);
}

/* 颜色输入框 */
.color-input-wrap {
  display: flex;
  gap: 6px;
}

.color-input-wrap input[type="text"] {
  flex: 1;
}

.color-input-wrap input[type="color"] {
  width: 36px;
  height: 36px;
  padding: 2px;
  border: 1px solid var(--outline-color);
  border-radius: 6px;
  cursor: pointer;
}

/* 内联复选框 */
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--primary-color);
  cursor: pointer;
}

.checkbox-inline input {
  width: 14px;
  height: 14px;
}

/* 内容区域文本框 */
.prop-section.content-section .textarea {
  min-height: 60px;
  resize: vertical;
  font-size: 13px;
}

/* 高级设置折叠 */
.advanced-section {
  border-right: none;
}

.advanced-section summary {
  cursor: pointer;
  user-select: none;
  list-style: none;
}

.advanced-section summary::-webkit-details-marker {
  display: none;
}

.advanced-section .prop-section-title.clickable {
  padding: 8px 0;
  margin-bottom: 0;
  transition: var(--transition);
}

.advanced-section .prop-section-title.clickable:hover {
  color: var(--primary-color);
}

.advanced-section .expand-icon {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.advanced-section[open] .expand-icon {
  transform: rotate(180deg);
}

.advanced-section[open] .prop-section-title.clickable {
  margin-bottom: 10px;
}

/* 响应式 */
@media (max-width: 1200px) {
  .prop-section {
    min-width: 100%;
    border-right: none;
  }
  
  .prop-section.content-section {
    min-width: 100%;
  }
  
  .prop-row.four-col {
    grid-template-columns: 1fr 1fr;
  }
  
  .prop-row.three-col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .prop-row,
  .prop-row.three-col,
  .prop-row.four-col {
    grid-template-columns: 1fr;
  }
}

/* 深色模式适配 */
[data-theme="dark"] .prop-header {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .prop-field input,
[data-theme="dark"] .prop-field select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .prop-field input:focus,
[data-theme="dark"] .prop-field select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* 字体大小输入框特殊样式 */
#prop-size {
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  background: var(--primary-light);
  border-color: var(--primary-color);
}

#prop-size:focus {
  background: var(--surface-color);
}

[data-theme="dark"] #prop-size {
  background: rgba(37, 99, 235, 0.2);
  border-color: var(--primary-color);
}

[data-theme="dark"] #prop-size:focus {
  background: rgba(255, 255, 255, 0.05);
}
