* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #F5F0EB; height: 100vh; overflow: hidden; }
.main-container { display: flex; flex-direction: column; height: 100vh; position: relative; background: white; }
.app-title { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: 2px; line-height: 1; color: #3F3430; position: absolute; left: 24px; display: flex; align-items: center; gap: 5px; user-select: none; }
.app-logo { width: 34px; height: 34px; flex-shrink: 0; display: block; }

/* Logo 悬停动效：上浮 + 微旋 + 光泽扫过 */
.logo-wrap { position: relative; display: inline-flex; border-radius: 9px; overflow: hidden; cursor: pointer; perspective: 500px; transition: transform .45s cubic-bezier(.34,1.56,.64,1), filter .45s ease; }
.logo-wrap::after { content: ''; position: absolute; top: -60%; left: -80%; width: 45%; height: 220%; background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,.65) 50%, transparent 100%); transform: skewX(-18deg); pointer-events: none; }
.logo-wrap:hover { transform: translateY(-4px); filter: drop-shadow(0 6px 12px rgba(211,71,25,.35)); }
.logo-wrap:hover::after { animation: shineSweep .7s ease-out; }
.logo-wrap:hover img { animation: logoSway .7s ease; }
@keyframes shineSweep { 0% { left: -80%; } 100% { left: 130%; } }
@keyframes logoSway { 0% { transform: rotateY(0); } 35% { transform: rotateY(-18deg); } 70% { transform: rotateY(6deg); } 100% { transform: rotateY(0); } }

/* Logo 悬停动效 */
.logo-wrap:hover { transform: translateY(-4px); filter: drop-shadow(0 6px 12px rgba(211,71,25,.35)); }

.toolbar { height: 56px; border-bottom: 1px solid #F0F0F0; display: flex; align-items: center; justify-content: center; padding: 0 24px; background: white; flex-shrink: 0; z-index: 101; position: relative; }

.capsule-wrapper { display: flex; align-items: center; height: 42px; background: rgba(255,255,255,0.9); backdrop-filter: blur(10px); border: 1px solid #E8E8E8; border-radius: 21px; padding: 0 6px; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.03); position: relative; width: 25vw; min-width: 300px; max-width: 600px; }
.capsule-wrapper:hover, .capsule-wrapper.active { border-color: #D34719; box-shadow: 0 4px 12px rgba(211,71,25,0.1); }
.capsule-display { flex: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; cursor: pointer; font-size: 14px; font-weight: 500; color: #333; min-width: 160px; user-select: none; }
.capsule-arrow { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #999; transition: transform 0.2s; }
.capsule-wrapper.active .capsule-arrow { transform: rotate(180deg); border-top-color: #D34719; }
.sync-status-text { font-size: 12px; color: #D34719; margin-left: 8px; opacity: 0; transition: opacity 0.2s; font-weight: 500; }
.sync-status-text.visible { opacity: 1; }
.capsule-sync-btn { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; border-radius: 16px; transition: all 0.2s; }
.capsule-sync-btn:hover { background: #FFF5F2; }
.lightning-icon { width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); background-size: contain; background-repeat: no-repeat; background-position: center; transition: all 0.2s; }
.lightning-icon.spinning { animation: spin 1s linear infinite; }
.capsule-sync-btn:hover .lightning-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D34719' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E"); }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.custom-dropdown-panel { position: absolute; margin-top: 8px; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,0.08); z-index: 1000; min-width: 300px; max-width: 600px; padding: 12px; display: none; border: 1px solid #f0f0f0; overflow: hidden; }
.search-wrapper { position: relative; margin-bottom: 8px; width: 100%; }
.panel-search-input { width: 100%; padding: 10px 14px 10px 38px; border: none; border-radius: 8px; font-size: 13px; box-sizing: border-box; outline: none; transition: all 0.2s ease; background-color: #F7F9FC; color: #333; }
.panel-search-input::placeholder { color: #AAB2C5; }
.panel-search-input:focus { background-color: #FFFFFF; box-shadow: 0 0 0 2px rgba(211,71,25,0.1); }
.panel-list-container { max-height: 360px; overflow-y: auto; padding-right: 2px; }
.panel-list-container::-webkit-scrollbar { width: 4px; }
.panel-list-container::-webkit-scrollbar-thumb { background-color: #E0E0E0; border-radius: 4px; }
.dropdown-option { padding: 9px 12px; cursor: pointer; border-radius: 6px; font-size: 13px; color: #555; transition: background 0.15s; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dropdown-option:hover { background-color: #FFF5F2; color: #D34719; }
.dropdown-option.selected { background-color: #D34719; color: white; }

.grid-wrapper { flex: 1; display: flex; flex-direction: column; position: relative; }
.empty-state, .loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }

.empty-text { font-size: 15px; color: #C0C0C0; letter-spacing: 2px; font-weight: 300; }


.table-info-display { display: flex; align-items: center; gap: 8px; white-space: nowrap; position: absolute; right: 24px; }
.table-info-display .record-count { font-size: 14px; font-weight: 600; color: #D34719; }
.table-info-display .record-count.loading { color: #999; font-weight: 400; font-size: 13px; }
.table-info-display .record-divider { color: #E0E0E0; font-size: 12px; }
.table-info-display .update-time { font-size: 12px; color: #999; }
.ag-theme-alpine .ag-root-wrapper { border: none !important; }

.tool-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #666; border-radius: 6px; }
.tool-icon:hover { background: #FFF5F2; color: #D34719; }
.chart-icon { width: 16px; height: 16px; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); background-size: contain; }
.pivot-icon { width: 16px; height: 16px; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='3' y1='9' x2='21' y2='9'/%3E%3Cline x1='9' y1='21' x2='9' y2='9'/%3E%3C/svg%3E"); background-size: contain; }
.export-icon { width: 16px; height: 16px; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E"); background-size: contain; }
.fullscreen-icon { width: 16px; height: 16px; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3'/%3E%3C/svg%3E"); background-size: contain; }
.reset-filter-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5'/%3E%3C/svg%3E"); background-size: contain; }
.share-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cline x1='8.59' y1='13.51' x2='15.42' y2='17.49'/%3E%3Cline x1='15.41' y1='6.51' x2='8.59' y2='10.49'/%3E%3C/svg%3E"); background-size: contain; }
.config-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); background-size: contain; }
.robot-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cline x1='8' y1='16' x2='8' y2='16'/%3E%3Cline x1='16' y1='16' x2='16' y2='16'/%3E%3C/svg%3E"); background-size: contain; }
.share-link-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); background-size: contain; }
.settings-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z'/%3E%3C/svg%3E"); background-size: contain; }
.datasource-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'/%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'/%3E%3C/svg%3E"); background-size: contain; }
.logout-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); background-size: contain; }
.anomaly-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-4l-3 9L9 3l-3 9H2'/%3E%3C/svg%3E"); background-size: contain; }
.role-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E"); background-size: contain; }
.table-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cline x1='9' y1='10' x2='9' y2='20'/%3E%3C/svg%3E"); background-size: contain; }
.sql-icon { width: 16px; height: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 17 10 11 4 5'/%3E%3Cline x1='12' y1='19' x2='20' y2='19'/%3E%3C/svg%3E"); background-size: contain; }
.print-icon { width: 16px; height: 16px; display: block; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); background-size: contain; }

/* ===== 通用图标系统（Lucide 线性风格，颜色随 currentColor） ===== */
.icon { display: inline-block; width: 16px; height: 16px; background-color: currentColor; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; flex-shrink: 0; vertical-align: middle; }
.icon-plus { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='5' x2='12' y2='19'/%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3C/svg%3E"); }
.icon-search { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E"); }
.icon-edit { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z'/%3E%3Cpath d='m15 5 4 4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z'/%3E%3Cpath d='m15 5 4 4'/%3E%3C/svg%3E"); }
.icon-trash { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6'/%3E%3Cpath d='M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'/%3E%3Cline x1='10' y1='11' x2='10' y2='17'/%3E%3Cline x1='14' y1='11' x2='14' y2='17'/%3E%3C/svg%3E"); }
.icon-link { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E"); }
.icon-copy { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='13' height='13' rx='2' ry='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E"); }
.icon-eye { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-database { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14a9 3 0 0 0 18 0V5'/%3E%3Cpath d='M3 12a9 3 0 0 0 18 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M3 5v14a9 3 0 0 0 18 0V5'/%3E%3Cpath d='M3 12a9 3 0 0 0 18 0'/%3E%3C/svg%3E"); }
.icon-file-text { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3Cpolyline points='10 9 9 9 8 9'/%3E%3C/svg%3E"); }
.icon-check { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }
.icon-video { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E"); }
.icon-play { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 3 19 12 5 21 5 3'/%3E%3C/svg%3E"); }
.icon-x { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E"); }
.icon-alert { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='8' x2='12' y2='12'/%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'/%3E%3C/svg%3E"); }
.icon-info { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E"); }
.icon-bar-chart { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E"); }
.icon-list { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E"); }
.icon-robot { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cline x1='8' y1='16' x2='8' y2='16'/%3E%3Cline x1='16' y1='16' x2='16' y2='16'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='10' rx='2'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3Cpath d='M12 7v4'/%3E%3Cline x1='8' y1='16' x2='8' y2='16'/%3E%3Cline x1='16' y1='16' x2='16' y2='16'/%3E%3C/svg%3E"); }
.icon-arrow-right { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'/%3E%3Cpolyline points='12 5 19 12 12 19'/%3E%3C/svg%3E"); }
.icon-external-link { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' y1='14' x2='21' y2='3'/%3E%3C/svg%3E"); }
.icon-globe { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E"); }
.icon-folder { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z'/%3E%3C/svg%3E"); }
.icon-zap { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E"); }
.icon-bell { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3C/svg%3E"); }
.icon-bell-off { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.7 3A6 6 0 0 1 18 8a21.3 21.3 0 0 0 .6 5'/%3E%3Cpath d='M17 17H3s3-2 3-9a4.67 4.67 0 0 1 .3-1.7'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.7 3A6 6 0 0 1 18 8a21.3 21.3 0 0 0 .6 5'/%3E%3Cpath d='M17 17H3s3-2 3-9a4.67 4.67 0 0 1 .3-1.7'/%3E%3Cpath d='M10.3 21a1.94 1.94 0 0 0 3.4 0'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E"); }
.icon-shield { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.icon-clock { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E"); }
.icon-skip-forward { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 4 15 12 5 20 5 4'/%3E%3Cline x1='19' y1='5' x2='19' y2='19'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='5 4 15 12 5 20 5 4'/%3E%3Cline x1='19' y1='5' x2='19' y2='19'/%3E%3C/svg%3E"); }
.icon-zap-off { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.52 4.03 13 2l-2.5 6.5'/%3E%3Cpath d='M16.47 12.5 21 10l-5.5 5.5 1.03 5.47'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.52 4.03 13 2l-2.5 6.5'/%3E%3Cpath d='M16.47 12.5 21 10l-5.5 5.5 1.03 5.47'/%3E%3Cline x1='2' y1='2' x2='22' y2='22'/%3E%3C/svg%3E"); }
.icon-printer { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 6 2 18 2 18 9'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Crect x='6' y='14' width='12' height='8'/%3E%3C/svg%3E"); }
.icon-book-open { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E"); }
.icon-layers { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E"); }
.icon-layout-grid { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E"); }
.icon-hash { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='9' x2='20' y2='9'/%3E%3Cline x1='4' y1='15' x2='20' y2='15'/%3E%3Cline x1='10' y1='3' x2='8' y2='21'/%3E%3Cline x1='16' y1='3' x2='14' y2='21'/%3E%3C/svg%3E"); }
.icon-pin { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17v5'/%3E%3Cpath d='M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 17v5'/%3E%3Cpath d='M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z'/%3E%3C/svg%3E"); }
.icon-filter { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3'/%3E%3C/svg%3E"); }
.icon-settings { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-download { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E"); }
.icon-refresh-cw { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E"); }

.icon-mic { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'/%3E%3Cline x1='12' y1='19' x2='12' y2='23'/%3E%3Cline x1='8' y1='23' x2='16' y2='23'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z'/%3E%3Cpath d='M19 10v2a7 7 0 0 1-14 0v-2'/%3E%3Cline x1='12' y1='19' x2='12' y2='23'/%3E%3Cline x1='8' y1='23' x2='16' y2='23'/%3E%3C/svg%3E"); }

.icon-audio-lines { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10v3'/%3E%3Cpath d='M6 6v11'/%3E%3Cpath d='M10 3v18'/%3E%3Cpath d='M14 8v7'/%3E%3Cpath d='M18 5v13'/%3E%3Cpath d='M22 10v3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10v3'/%3E%3Cpath d='M6 6v11'/%3E%3Cpath d='M10 3v18'/%3E%3Cpath d='M14 8v7'/%3E%3Cpath d='M18 5v13'/%3E%3Cpath d='M22 10v3'/%3E%3C/svg%3E"); }

.icon-clapper { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z'/%3E%3Cpath d='m6.2 5.3 3.1 3.9'/%3E%3Cpath d='m12.4 3.4 3.1 4'/%3E%3Cpath d='M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.2 6 3 11l-.9-2.4c-.3-1.1.3-2.2 1.3-2.5l13.5-4c1.1-.3 2.2.3 2.5 1.3Z'/%3E%3Cpath d='m6.2 5.3 3.1 3.9'/%3E%3Cpath d='m12.4 3.4 3.1 4'/%3E%3Cpath d='M3 11h18v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E"); }

/* 音色合成工作台：客户账号全屏打开时的顶部工具条（管理后台 iframe 内不渲染） */
.wv-bar { display: flex; align-items: center; gap: 6px; padding: 10px 16px; background: #fff; border-bottom: 1px solid #EFE8E2; position: sticky; top: 0; z-index: 999; }
.wv-brand { display: flex; align-items: center; gap: 6px; text-decoration: none; }
.wv-brand .wv-logo { width: 34px; height: 34px; }
.wv-wordmark { font-size: 17px; font-weight: 800; line-height: 1; color: #0f1e3d; letter-spacing: 0.3px; user-select: none; }
.wv-sep { width: 1px; height: 18px; background: #E8E0DB; margin: 0 6px; flex-shrink: 0; }
.wv-title { font-size: 15px; font-weight: 700; color: #1a1a1a; white-space: nowrap; }
.wv-spacer { flex: 1; }
.wv-user { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: #1a1a1a; }
.wv-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #FF8A5C, #D34719); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.wv-logout { padding: 6px 12px; border: 1px solid #E8E0DB; border-radius: 14px; font-size: 12px; color: #666; text-decoration: none; transition: all .15s; }
.wv-logout:hover { border-color: #D34719; color: #D34719; }
/* 小红书工作台：工具条内的子页签 */
.wv-tabs { display: flex; align-items: center; gap: 2px; }
.wv-tab { padding: 6px 14px; border-radius: 14px; font-size: 13px; color: #666; text-decoration: none; transition: all .15s; white-space: nowrap; }
.wv-tab:hover { background: #FFF5F2; color: #D34719; }
.wv-tab.active { background: #FFF5F2; color: #D34719; font-weight: 600; }
.settings-dropdown { position: absolute; bottom: 100%; right: 0; margin-bottom: 8px; background: white; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); min-width: 180px; z-index: 1000; border: 1px solid #F0F0F0; overflow: hidden; }
.settings-dropdown-item { padding: 10px 16px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #333; transition: background 0.15s; }
.settings-dropdown-item:hover { background: #FFF5F2; color: #D34719; }
.settings-dropdown-item i { width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }

/* 按钮内图标对齐 */
.btn { display: inline-flex; align-items: center; gap: 4px; }
.btn .icon, .add-btn .icon, .back-btn .icon, .btn-add-cond .icon, .add-filter-btn .icon { vertical-align: middle; }
.modal-close { display: inline-flex; align-items: center; justify-content: center; }
.config-section-title { display: flex; align-items: center; gap: 6px; }
.config-section-title .icon { display: inline-flex; align-items: center; }
.type-icon { display: flex; align-items: center; justify-content: center; }
.empty-icon, .error-icon, .link-panel-empty > div:first-child { display: flex; align-items: center; justify-content: center; }
/* 菜单末项（退出登录）：常态中性灰，悬停时浅红底+红字提示危险操作；图标同步由灰转红 */
.settings-dropdown-item:last-child { border-top: 1px solid #F0F0F0; color: #666; }
.settings-dropdown-item:last-child:hover { background: #FFF1F0; color: #FF4D4F; }
.settings-dropdown-item:last-child:hover .logout-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF4D4F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E"); }

.footer-bar { height: 32px; background: white; border-top: 1px solid #F0F0F0; display: flex; align-items: center; justify-content: flex-end; padding: 0 24px; flex-shrink: 0; position: relative; }
.footer-buttons { display: flex; gap: 6px; }
.footer-buttons .share-toolbar-btn { width: 28px; height: 28px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; cursor: pointer; transition: all 0.2s; outline: none; display: flex; align-items: center; justify-content: center; }
.footer-buttons .share-toolbar-btn:hover { background: #f5f5f5; border-color: #d9d9d9; }
.footer-buttons .share-toolbar-btn:active { transform: scale(0.95); }

@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(100px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.loading-bar { position: absolute; top: 0; left: 0; height: 2px; background: #D34719; z-index: 200; width: 0; transition: none; }
.loading-bar.active { animation: loadingProgress 1.5s ease-in-out forwards; }
.loading-bar.done { width: 100% !important; opacity: 0; transition: width 0.2s ease, opacity 0.4s ease 0.2s; }
@keyframes loadingProgress { 0% { width: 0; } 30% { width: 60%; } 60% { width: 80%; } 100% { width: 95%; } }

.loading-pulse { animation: loadingPulse 1.5s ease-in-out infinite; }
@keyframes loadingPulse { 0%, 100% { opacity: 0.4; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }

.share-loading-state { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; width: 100%; }
.share-loading-state .loading-pulse { font-size: 48px; margin-bottom: 20px; }
.share-loading-state h3 { color: #D34719; font-weight: 600; font-size: 16px; }
.share-loading-state p { color: #999; font-size: 13px; margin-top: 8px; }

.page-search-container { position: fixed; top: 110px; right: 24px; background: white; border: 1px solid #E0E0E0; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); padding: 12px; z-index: 10000; min-width: 320px; animation: searchSlideIn 0.2s ease-out; }
@keyframes searchSlideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.page-search-input { width: 100%; padding: 8px 12px; border: 1px solid #D0D0D0; border-radius: 6px; font-size: 14px; outline: none; transition: border-color 0.2s; }
.page-search-input:focus { border-color: #D34719; }
.search-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 8px; }
.search-nav-btn { background: #F5F5F5; border: 1px solid #E0E0E0; border-radius: 4px; padding: 4px 12px; cursor: pointer; font-size: 14px; color: #333; transition: all 0.2s; }
.search-nav-btn:hover { background: #FFF5F2; border-color: #D34719; color: #D34719; }
.search-counter { font-size: 13px; color: #666; min-width: 50px; text-align: center; }
.search-close-btn { background: transparent; border: none; cursor: pointer; font-size: 16px; color: #999; padding: 4px 8px; border-radius: 4px; transition: all 0.2s; }
.search-close-btn:hover { background: #F5F5F5; color: #333; }

.share-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 10001; animation: fadeIn 0.2s ease-out; }
.share-modal { background: white; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); min-width: 480px; max-width: 600px; animation: modalSlideIn 0.3s ease-out; }
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(-50px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.share-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #f0f0f0; }
.share-modal-header h3 { margin: 0; font-size: 18px; color: #333; font-weight: 600; }
.share-modal-close { background: transparent; border: none; font-size: 28px; color: #999; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s; }
.share-modal-close:hover { background: #f5f5f5; color: #333; }
.share-modal-body { padding: 24px; }
.share-modal-tip { margin: 0 0 16px 0; font-size: 14px; color: #666; }
.share-url-box { display: flex; gap: 12px; margin-bottom: 16px; }
.share-url-input { flex: 1; padding: 10px 14px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; color: #333; background: #fafafa; outline: none; transition: all 0.2s; }
.share-url-input:focus { border-color: #D34719; background: white; }
.share-copy-btn { padding: 10px 20px; background: #D34719; color: white; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; transition: all 0.2s; white-space: nowrap; }
.share-copy-btn:hover { background: #b83a14; }
.share-modal-note { margin: 0; font-size: 12px; color: #999; }
.share-custom-name { margin: 0 0 12px 0; padding: 8px 12px; background: #fff7e6; border-left: 3px solid #D34719; border-radius: 4px; font-size: 13px; color: #D34719; }
.custom-name-input-wrapper { position: relative; margin-bottom: 12px; }
.custom-name-input { width: 100%; padding: 10px 14px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; outline: none; transition: all 0.2s; box-sizing: border-box; }
.custom-name-input:focus { border-color: #D34719; box-shadow: 0 0 0 2px rgba(211,71,25,0.1); }
.char-count { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #999; pointer-events: none; }
.modal-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.btn-cancel { padding: 8px 16px; border: 1px solid #E0E0E0; border-radius: 6px; background: white; color: #666; cursor: pointer; font-size: 13px; transition: all 0.2s; }
.btn-cancel:hover { border-color: #999; color: #333; }
.btn-confirm { padding: 8px 16px; border: none; border-radius: 6px; background: #D34719; color: white; cursor: pointer; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.btn-confirm:hover { background: #B83A15; }
.btn-confirm-link { background: #1890ff; color: white; padding: 8px 20px; border-radius: 6px; font-size: 14px; cursor: pointer; transition: all 0.2s; border: none; }
.btn-confirm-link:hover { background: #096dd9; }
.btn-confirm-robot { background: #D34719; color: white; padding: 8px 20px; border-radius: 6px; font-size: 14px; cursor: pointer; transition: all 0.2s; border: none; display: inline-flex; align-items: center; gap: 6px; }
.btn-confirm-robot:hover { background: #b83a14; }

.share-modal-enhanced { min-width: 560px; max-width: 720px; max-height: 85vh; display: flex; flex-direction: column; }
.share-modal-enhanced .share-modal-body { overflow-y: auto; padding: 20px 24px; }

.form-section { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 10px; }

.robot-toggle-section { padding: 12px 16px; background: #FFF7ED; border-radius: 8px; margin-bottom: 16px; border: 1px solid #FFE4CC; }
.toggle-switch { display: flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; }
.toggle-switch input[type="checkbox"] { display: none; }
.toggle-slider { width: 44px; height: 24px; background: #d9d9d9; border-radius: 12px; position: relative; transition: all 0.3s; flex-shrink: 0; }
.toggle-slider::before { content: ''; position: absolute; width: 20px; height: 20px; background: white; border-radius: 50%; top: 2px; left: 2px; transition: all 0.3s; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-slider { background: #D34719; }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-text { font-size: 14px; color: #333; font-weight: 500; }

.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fafafa; border-radius: 6px; cursor: pointer; }
.radio-item input[type="radio"] { margin: 0; }
.time-input { padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; margin-left: 8px; }
.number-input-small { width: 60px; padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; }
.select-small { padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; background: white; }
.select-medium { padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; background: white; min-width: 120px; }
.select-full { width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; background: white; margin-bottom: 12px; }

.rule-panel { padding: 12px; background: #fafafa; border-radius: 6px; margin-top: 8px; }
.inline-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.text-input-small { padding: 4px 8px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; width: 100px; }
.text-input-full { flex: 1; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; }
.textarea-full { width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 13px; resize: vertical; font-family: inherit; }

.condition-row { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.condition-row:last-child { border-bottom: none; }
.btn-add-condition { padding: 6px 12px; background: #f0f9ff; border: 1px solid #bae7ff; border-radius: 6px; color: #1890ff; font-size: 13px; cursor: pointer; transition: all 0.2s; margin-top: 8px; }
.btn-add-condition:hover { background: #e6f7ff; }
.btn-remove-condition { background: transparent; border: none; color: #ff4d4f; font-size: 20px; cursor: pointer; padding: 0 4px; line-height: 1; }
.btn-remove-condition:hover { color: #cf1322; }

.radio-item-inline { display: inline-flex; align-items: center; gap: 4px; margin-right: 16px; }
.radio-item-inline input[type="radio"] { margin: 0; }

.template-presets { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; color: #666; }
.btn-template { padding: 4px 10px; background: #f5f5f5; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 12px; cursor: pointer; transition: all 0.2s; }
.btn-template:hover { background: #FFF5F2; border-color: #D34719; color: #D34719; }
.var-hints { font-size: 11px; color: #999; margin-top: 6px; }

.checkbox-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { margin: 0; }

.robot-result-card { display: flex; align-items: center; gap: 12px; padding: 12px; background: #f6ffed; border: 1px solid #b7eb8f; border-radius: 8px; margin: 16px 0; }
.robot-result-icon { font-size: 28px; }
.robot-result-info { flex: 1; }
.robot-result-title { font-size: 14px; font-weight: 600; color: #52c41a; margin-bottom: 2px; }
.robot-result-desc { font-size: 12px; color: #666; }

.share-view-container { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; display: flex; flex-direction: column; height: 100vh; background: #fafafa; overflow: hidden; }
.share-header { padding: 12px 24px; background: white; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; height: 48px; }

@media (max-width: 768px) {
    .footer-buttons .share-toolbar-btn { width: 26px; height: 26px; }
    .footer-slogan { font-size: 11px; }
}
.print-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 10001; animation: fadeIn 0.2s ease-out; }
.print-modal { background: white; border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); width: 70vw; min-width: 600px; max-width: 1200px; max-height: 90vh; display: flex; flex-direction: column; animation: modalSlideIn 0.3s ease-out; }
.print-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #f0f0f0; flex-shrink: 0; }
.print-modal-header h3 { margin: 0; font-size: 18px; color: #333; font-weight: 600; }
.print-modal-close { background: transparent; border: none; font-size: 28px; color: #999; cursor: pointer; padding: 0; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; transition: all 0.2s; flex-shrink: 0; }
.print-modal-close:hover { background: #f5f5f5; color: #333; }
.print-modal-body { padding: 0; flex: 1; display: flex; min-height: 0; }
.print-modal-main { flex: 1; min-width: 0; overflow-y: auto; padding: 20px 24px; }
.print-modal-sidebar { flex: 0 0 300px; padding: 20px 24px; border-left: 1px solid #f0f0f0; overflow-y: auto; background: #fafafa; }
@media (max-width: 900px) {
    .print-modal-body { flex-direction: column; }
    .print-modal-sidebar { flex: 0 0 auto; border-left: none; border-top: 1px solid #f0f0f0; }
}
.print-modal-footer { display: flex; justify-content: flex-end; gap: 12px; padding: 16px 24px; border-top: 1px solid #f0f0f0; flex-shrink: 0; }

.print-config-row { display: flex; gap: 16px; margin-bottom: 16px; }
.print-config-col { flex: 1; }
.print-common-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-bottom: 18px; }
.print-common-grid .print-config-col { min-width: 0; }
@media (max-width: 900px) { .print-common-grid { grid-template-columns: 1fr; } }
.print-config-label { display: block; font-size: 13px; font-weight: 600; color: #333; margin-bottom: 8px; }
.print-config-select { width: 100%; padding: 8px 12px; border: 1px solid #d9d9d9; border-radius: 6px; font-size: 14px; background: white; outline: none; transition: all 0.2s; box-sizing: border-box; cursor: pointer; }
.print-config-select:focus { border-color: #D34719; box-shadow: 0 0 0 2px rgba(211,71,25,0.1); }
.print-config-select:hover { border-color: #BFBFBF; }

.print-config-section { margin-bottom: 18px; }
.print-config-section .print-config-label { margin-bottom: 10px; }

.print-config-checkboxes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.print-checkbox-item { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; font-size: 13px; color: #555; transition: color 0.15s; }
.print-checkbox-item:hover { color: #D34719; }
.print-checkbox-item input[type="checkbox"] { margin: 0; width: 16px; height: 16px; cursor: pointer; accent-color: #D34719; flex-shrink: 0; }

.print-margin-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; grid-template-rows: auto auto auto; grid-template-areas: ". top ." "left . right" ". bottom ."; gap: 8px; max-width: 280px; padding: 12px; background: #fafafa; border-radius: 8px; }
.print-margin-grid > div { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #666; }
.print-margin-grid input { width: 70px; padding: 6px 10px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; outline: none; transition: border-color 0.2s; }
.print-margin-grid input:focus { border-color: #D34719; }
.print-margin-grid #margin-top + span { margin-right: auto; margin-left: 0; }

.print-preview-info { padding: 12px 16px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 8px; font-size: 13px; color: #555; line-height: 1.8; border-left: 3px solid #D34719; }

.config-section-title { font-size: 14px; font-weight: 600; color: #D34719; padding: 10px 14px; background: linear-gradient(90deg, #FFF4EE 0%, transparent 100%); border-radius: 6px; margin-bottom: 12px; border-left: 3px solid #D34719; }
.print-field-picker { max-height: 140px; overflow-y: auto; padding: 10px; background: #fafafa; border: 1px solid #eee; border-radius: 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.print-field-picker::-webkit-scrollbar { width: 6px; }
.print-field-picker::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
.field-pick-item { display: flex; align-items: center; gap: 6px; padding: 5px 6px; border-radius: 4px; cursor: pointer; font-size: 12px; color: #555; transition: all 0.15s; }
.field-pick-item:hover { background: #FFF4EE; color: #D34719; }
.field-pick-item input { margin: 0; accent-color: #D34719; flex-shrink: 0; }
.field-pick-item.numeric-field::after { content: ' 123'; color: #27AE60; font-size: 10px; font-weight: 600; opacity: 0.7; }
.text-input-small { padding: 6px 10px; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 13px; outline: none; transition: border-color 0.2s; }
.text-input-small:focus { border-color: #D34719; box-shadow: 0 0 0 2px rgba(211,71,25,0.1); }

.print-group-title { font-size: 15px; font-weight: 700; color: #D34719; padding: 10px 14px; background: #FFF4EE; border-radius: 6px; margin: 14px 0 10px 0; display: flex; justify-content: space-between; align-items: center; }
.print-group-title .group-count { font-size: 12px; font-weight: 500; color: #888; background: white; padding: 3px 10px; border-radius: 12px; }
.print-subtotal-row td { background: #FFF9F5 !important; font-weight: 600 !important; color: #D34719 !important; border-top: 2px solid #D34719 !important; }
.print-grandtotal-row td { background: #FFF1E6 !important; font-weight: 700 !important; color: #B83811 !important; border-top: 3px double #D34719 !important; border-bottom: 3px double #D34719 !important; font-size: 13px !important; }
.print-summary-metric-label { font-size: 10px; color: #888; font-weight: 500; display: block; margin-bottom: 2px; }
.print-page-break { page-break-before: always; break-before: page; }
@media print {
    .print-group-title { page-break-inside: avoid; break-inside: avoid; }
    .print-subtotal-row, .print-grandtotal-row { page-break-inside: avoid; break-inside: avoid; }
    .print-page-break { page-break-before: always; break-before: page; }
    .onepage-mode .print-table thead th { padding: 3px 5px !important; font-size: 10px !important; }
    .onepage-mode .print-table tbody td { padding: 2px 5px !important; }
    .onepage-mode .print-header { padding: 4px 0 6px 0 !important; margin-bottom: 6px !important; }
    .onepage-mode .print-footer { margin-top: 6px !important; padding-top: 4px !important; }
    .onepage-compact-font { font-size: 10px !important; }
    .onepage-compact-font .print-title { font-size: 14px !important; }
    .onepage-compact-font .print-table { font-size: 9px !important; }
    .onepage-compact-padding .print-table tbody td { padding-top: 1px !important; padding-bottom: 1px !important; line-height: 1.2 !important; }
    .onepage-wrap-body { display: block; height: 100vh; overflow: hidden; }
}

.print-mode-badge { display: inline-block; padding: 2px 8px; background: #D34719; color: white; border-radius: 10px; font-size: 11px; font-weight: 600; margin-left: 6px; }
.print-mode-badge.detail { background: #2196F3; }
.print-mode-badge.summary { background: #9C27B0; }
.print-mode-badge.group { background: #FF9800; }
.print-mode-badge.onepage { background: #009688; }
.print-mode-badge.card { background: #673AB7; }
.print-preview-info .preview-label { font-weight: 600; color: #333; margin-right: 6px; }
.print-preview-info .preview-sep { color: #ccc; margin: 0 8px; }
.card-field-picker { max-height: 220px !important; grid-template-columns: 1fr !important; }
.card-field-picker .field-pick-item { padding: 6px 8px !important; border: 1px solid transparent !important; transition: all 0.15s !important; display: flex; align-items: center; gap: 4px; }
.card-field-picker .field-pick-item:hover { border-color: #FFD4C0 !important; background: #FFF9F6 !important; }
.card-field-picker .field-pick-item.dragging { opacity: 0.5; background: #FFE8DA !important; }
.card-field-picker .field-pick-item.drag-over { border-color: #D34719 !important; background: #FFF4EE !important; }
.card-field-picker .field-drag-handle { cursor: grab; color: #bbb; margin-right: 2px; font-weight: bold; user-select: none; font-size: 11px; flex-shrink: 0; }
.card-field-picker .field-pick-item input { order: 2; margin-left: 4px !important; flex-shrink: 0; }
.card-field-picker .field-pick-item .field-name { order: 1; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-field-picker .field-sort-btns { order: 3; display: inline-flex; gap: 2px; margin-left: 4px; flex-shrink: 0; }
.card-field-picker .field-sort-btns button { all: unset; cursor: pointer; width: 22px; height: 22px; text-align: center; border: 1px solid #e0e0e0; border-radius: 4px; background: white; color: #888; font-size: 11px; line-height: 20px; transition: all 0.15s; }
.card-field-picker .field-sort-btns button:hover { background: #D34719; color: white; border-color: #D34719; }
.card-field-picker .field-sort-btns button:disabled { cursor: not-allowed; opacity: 0.3; }
.card-field-picker .field-sort-btns button:disabled:hover { background: white; color: #888; border-color: #e0e0e0; }

.card-field-btn:hover { background: #FFF4EE !important; color: #D34719 !important; border-color: #FFBE9E !important; }
.card-field-btn:active { background: #FFE8DA !important; }

/* ========== 卡片/表单打印核心样式 ========== */
.card-print-wrap { width: 100%; }
.card-group-header { background: linear-gradient(90deg, #D34719 0%, #E2683F 100%); color: white; padding: 3mm 5mm; border-radius: 4px; margin-bottom: 5mm; display: flex; align-items: center; justify-content: space-between; font-size: 13px; page-break-after: avoid; break-after: avoid; }
.card-group-header .gh-title { font-weight: 700; font-size: 16px; }
.card-group-header .gh-sub { opacity: 0.9; font-size: 12px; margin-left: 8px; }
.card-group-header .gh-count { background: rgba(255,255,255,0.25); padding: 3px 10px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.card-group-header .gh-field { display: inline; }
.card-group-header .gh-field strong { font-weight: 700; }
.card-group-header .gh-sep { opacity: 0.7; margin: 0 2px; }
.card-group-picker { max-height: 90px !important; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important; gap: 4px !important; }
.card-group-picker .field-pick-item { padding: 4px 8px !important; border: 1px solid transparent !important; }
.card-group-picker .field-pick-item:hover { border-color: #FFD4C0 !important; background: #FFF9F6 !important; }
.card-group-picker .field-pick-item input { margin-right: 4px !important; }
.card-group-break { page-break-before: always; break-before: page; }

.card-page-grid { width: 100%; box-sizing: border-box; }
.card-page-grid.cards-1 { display: block; }
.card-page-grid.cards-2 { display: grid; grid-template-rows: 1fr 1fr; gap: 10mm; min-height: 260mm; }
.card-page-grid.cards-4 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8mm; min-height: 260mm; }
.card-page-grid.cards-6 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 1fr); gap: 6mm; min-height: 260mm; }
.card-page-grid.cards-8 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 1fr); gap: 5mm; min-height: 260mm; }
.card-page-grid.cards-9 { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 5mm; min-height: 260mm; }
.card-page-grid.cards-10 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); gap: 4mm; min-height: 260mm; }
.card-page-grid.cards-12 { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(4, 1fr); gap: 4mm; min-height: 260mm; }
.card-page-grid.cards-16 { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); gap: 3mm; min-height: 260mm; }

.data-card { box-sizing: border-box; display: flex; flex-direction: column; height: 100%; }
.data-card.has-border { border: 1.5px solid #333; border-radius: 4px; padding: 6mm; background: white; }
.data-card.no-border { padding: 3mm 4mm; }

.card-head { padding-bottom: 4mm; border-bottom: 2px solid #333; margin-bottom: 4mm; }
.card-head.lg-title .card-title { font-size: 20px; font-weight: 700; color: #111; line-height: 1.3; margin: 0; }
.card-head.lg-title .card-subtitle { font-size: 13px; color: #555; margin-top: 4px; }
.card-head.has-border { border: none; padding-bottom: 3mm; margin-bottom: 3mm; }
.card-title { font-size: 18px; font-weight: 700; color: #111; margin: 0; line-height: 1.3; word-break: break-all; }
.card-subtitle { font-size: 12px; color: #666; margin-top: 3px; }
.card-index { float: right; font-size: 11px; color: #888; background: #f4f4f4; padding: 3px 8px; border-radius: 10px; font-weight: 500; }

.card-body { flex: 1; width: 100%; }

/* 布局1: 左右两栏（标签+值 并排） */
.card-layout-twocol { width: 100%; }
.card-layout-twocol .field-row { display: grid; grid-template-columns: 28mm 1fr; gap: 4mm; padding: 2mm 0; align-items: baseline; }
.card-layout-twocol.row-line .field-row { border-bottom: 1px solid #e0e0e0; }
.card-layout-twocol.row-line .field-row:last-child { border-bottom: none; }
.card-layout-twocol.field-zebra .field-row:nth-child(even) { background: #fafafa; margin: 0 -2mm; padding: 2mm; border-radius: 3px; }
.field-label { font-size: 12px; color: #666; font-weight: 500; }
.field-label.bold { font-weight: 700; color: #222; }
.field-value { font-size: 13px; color: #111; word-break: break-all; line-height: 1.5; }
.field-value.num { font-family: 'Menlo', monospace; }
.field-value.empty { color: #bbb; font-style: italic; }

/* 布局2: 单列表单（上下堆叠） */
.card-layout-single { width: 100%; }
.card-layout-single .field-block { padding: 2.5mm 0; display: flex; flex-direction: column; gap: 1mm; }
.card-layout-single.row-line .field-block { border-bottom: 1px solid #e0e0e0; }
.card-layout-single.row-line .field-block:last-child { border-bottom: none; }
.card-layout-single.field-zebra .field-block:nth-child(even) { background: #fafafa; margin: 0 -2mm; padding: 2.5mm 2mm; border-radius: 3px; }
.card-layout-single .field-label { font-size: 11px; letter-spacing: 0.5px; text-transform: none; }
.card-layout-single .field-value { font-size: 14px; }

/* 布局3: 通用N列网格（1~6列，通过 style.gridTemplateColumns 动态设置） */
.card-layout-grid { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 5mm; row-gap: 2mm; }
.card-layout-grid .cell-block { padding: 1.5mm 0; display: flex; flex-direction: column; gap: 0.4mm; }
.card-layout-grid.row-line .cell-block { border-bottom: 1px solid #eee; }
.card-layout-grid .field-label { font-size: 10px; color: #888; display: block; margin-bottom: 0.3mm; }
.card-layout-grid .field-value { font-size: 12px; display: block; }

/* 布局4: 三段式 标题-内容-签名 */
.card-layout-threepart { display: flex; flex-direction: column; height: 100%; width: 100%; }
.card-layout-threepart .tp-content { flex: 1; width: 100%; }
.card-layout-threepart .tp-content .field-row { display: grid; grid-template-columns: 30mm 1fr; gap: 4mm; padding: 2mm 0; align-items: baseline; }
.card-layout-threepart.row-line .tp-content .field-row { border-bottom: 1px solid #e0e0e0; }
.card-layout-threepart .tp-sign { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8mm; margin-top: auto; padding-top: 8mm; border-top: 1px dashed #999; }
.sign-cell { text-align: center; }
.sign-cell .sign-label { font-size: 11px; color: #666; margin-bottom: 6mm; }
.sign-cell .sign-line { border-bottom: 1px solid #333; margin-top: 12mm; }
.sign-cell .sign-name { font-size: 12px; margin-top: 2mm; color: #333; }

@media print {
    .card-page-break { page-break-before: always; break-before: page; }
    .card-print-wrap, .data-card { page-break-inside: avoid; break-inside: avoid; }
    .data-card.has-border { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .card-layout-twocol.field-zebra .field-row:nth-child(even),
    .card-layout-single.field-zebra .field-block:nth-child(even) { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

@media print {
    .footer-bar, .share-header, .page-search-container, .loading-bar, .share-loading-state { display: none !important; }
    .share-view-container { height: auto !important; min-height: auto !important; overflow: visible !important; background: white !important; }
    #share-grid-container { width: 100% !important; overflow: visible !important; }
    .ag-body-viewport, .ag-center-cols-viewport { overflow: visible !important; }
    body { background: white !important; height: auto !important; overflow: visible !important; }
    
    .print-sheet { background: white; }
    .print-header { padding: 16px 0; border-bottom: 2px solid #333; margin-bottom: 16px; }
    .print-title { font-size: 20px; font-weight: 700; color: #111; margin: 0 0 8px 0; }
    .print-meta-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; color: #666; }
    .print-table-container { width: 100%; overflow-x: auto; }
    .print-table { width: 100%; border-collapse: collapse; font-size: 12px; color: #222; }
    .print-table thead th { background: #f5f5f5; border: 1px solid #333; padding: 8px 10px; text-align: left; font-weight: 600; white-space: nowrap; position: sticky; top: 0; }
    .print-table tbody td { border: 1px solid #666; padding: 6px 10px; vertical-align: top; white-space: normal; word-break: break-all; }
    .print-table.no-row-lines tbody td { border-top: none; border-bottom: none; }
    .print-table.no-column-lines tbody td { border-left: none; border-right: none; }
    .print-table.no-column-lines thead th { border-left: none; border-right: none; }
    .print-table.stripes tbody tr:nth-child(even) td { background: #fafafa; }
    .print-footer { margin-top: 16px; padding-top: 12px; border-top: 1px solid #ddd; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #888; }
    
    #print-config-modal, .print-modal-overlay { display: none !important; }
}

.ag-body-horizontal-scroll.ag-scrollbar-invisible.ag-apple-scrollbar {
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
}
.ag-body-horizontal-scroll {
    height: 10px !important;
}
.ag-body-horizontal-scroll .ag-scrollbar-thumb {
    background: #c1c1c1 !important;
    border-radius: 5px !important;
    height: 8px !important;
}
.ag-body-horizontal-scroll .ag-scrollbar-thumb:hover {
    background: #999 !important;
}

/* ==================== 查询参数面板 ==================== */

.query-params-bar {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 10px 24px;
    background: #FAFAFA;
    border-bottom: 1px solid #F0F0F0;
    flex-shrink: 0;
    z-index: 100;
    position: relative;
}

.query-params-bar .qparam-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #D34719;
    white-space: nowrap;
}

.query-params-bar .qparam-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.query-params-bar .qparam-label {
    font-size: 12px;
    color: #666;
    white-space: nowrap;
    user-select: none;
}

.query-params-bar .qparam-required {
    color: #D34719;
    margin-left: 2px;
}

.query-params-bar .qparam-input {
    height: 30px;
    padding: 0 8px;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-size: 12px;
    color: #333;
    background: white;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    min-width: 120px;
}

.query-params-bar .qparam-input:focus {
    border-color: #D34719;
    box-shadow: 0 0 0 3px rgba(211, 71, 25, 0.08);
}

.query-params-bar select.qparam-input {
    cursor: pointer;
    padding-right: 24px;
}

/* ========== 返回三角按钮（各管理页头部） ========== */
.back-tri-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: background 0.25s;
}

/* 用 border 绘制左向三角（◀） */
.back-tri-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 10px solid #999;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

/* 悬停时三角淡出，替换为 Logo */
.back-tri-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 24px;
    height: 24px;
    background: url('/assets/logo.svg') center / contain no-repeat;
    opacity: 0;
    transform: scale(0.4) rotate(-30deg);
    transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.back-tri-btn:hover {
    background: #FFF5F2;
}

.back-tri-btn:hover::before {
    opacity: 0;
    transform: scale(0.4);
}

.back-tri-btn:hover::after {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.back-tri-btn:active {
    background: #FFE8E0;
}

.back-tri-btn:active::after {
    transform: scale(0.85) rotate(0deg);
}

/* ============================================================
   管理后台公共骨架样式（ai_rules / role_manager / 数字人等）
   覆盖主站全屏 body 约束，仅后续追加，不影响前面规则
   ============================================================ */

body { height: auto; overflow: visible; font-size: 13px; }

/* 固定吸顶头部 */
.fixed-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #F5F0EB; padding: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header { background: white; padding: 10px 16px; border-radius: 8px; margin-bottom: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); display: flex; justify-content: space-between; align-items: center; }
.title-section { display: flex; align-items: center; gap: 10px; }
.title { font-size: 16px; font-weight: 700; color: #D34719; }
.btn-group-header { display: flex; gap: 8px; align-items: center; }
.add-btn { padding: 6px 14px; background: #D34719; color: white; border: none; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.add-btn:hover { background: #B83A14; box-shadow: 0 2px 8px rgba(211, 71, 25, 0.3); }

/* 主内容容器（fixed-header 需避让） */
.admin-main-container { margin-top: 80px; padding: 12px; }

/* 面板 */
.panel { background: white; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); overflow: hidden; }

/* Toast（右上角滑入） */
.toast-container { position: fixed; top: 12px; right: 12px; z-index: 10001; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 10px 16px; border-radius: 6px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); color: white; font-weight: 500; font-size: 13px; animation: slideInRight 0.2s; min-width: 240px; }
@keyframes slideInRight { from { transform: translateX(300px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.toast-success { background: #52C41A; }
.toast-error { background: #FF4D4F; }
.toast-info { background: #1890FF; }

/* Modal */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 10000; animation: fadeIn 0.2s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content { background: white; border-radius: 12px; width: 95%; max-width: 560px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: slideUp 0.2s; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header { padding: 14px 20px; border-bottom: 1px solid #F0F0F0; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-size: 15px; font-weight: 700; color: #333; }
.modal-close { width: 28px; height: 28px; border: none; background: transparent; cursor: pointer; border-radius: 6px; font-size: 20px; color: #999; }
.modal-close:hover { background: #F5F5F5; }
.modal-body { padding: 20px; }
.modal-body textarea { width: 100%; min-height: 120px; border: 1px solid #E0E0E0; border-radius: 6px; padding: 12px; font-size: 13px; line-height: 1.6; resize: vertical; outline: none; font-family: inherit; }
.modal-body textarea:focus { border-color: #D34719; box-shadow: 0 0 0 2px rgba(211,71,25,0.1); }
.modal-footer { padding: 12px 20px; border-top: 1px solid #F0F0F0; display: flex; justify-content: flex-end; gap: 8px; }
.btn-modal { padding: 8px 16px; border: none; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; }
.btn-modal-cancel { background: white; border: 1px solid #E0E0E0; color: #666; }
.btn-modal-cancel:hover { border-color: #999; color: #333; }
.btn-modal-save { background: #D34719; color: white; }
.btn-modal-save:hover { background: #B83A14; }

/* 提示横幅 */
.info-banner { background: #FFF7E6; border: 1px solid #FFE58F; border-radius: 8px; padding: 12px 16px; margin-bottom: 12px; font-size: 12px; color: #8C6E2A; line-height: 1.6; }

/* 空状态 */
.empty-tip { text-align: center; padding: 60px 20px; color: #CCC; }
.empty-tip p { margin-top: 8px; font-size: 13px; }

/* 列表行 */
.list-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid #F5F5F5; }
.list-row:last-child { border-bottom: none; }
.list-row:hover { background: #FAFAFA; }

/* 彩色描边按钮（hover 变实心） */
.btn-edit { padding: 4px 10px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.2s; background: white; border-color: #FAAD14; color: #FAAD14; }
.btn-edit:hover { background: #FAAD14; color: white; }
.btn-toggle { padding: 4px 10px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.2s; background: white; border-color: #52C41A; color: #52C41A; }
.btn-toggle:hover { background: #52C41A; color: white; }
.btn-toggle.off { border-color: #999; color: #999; }
.btn-toggle.off:hover { background: #999; color: white; }
.btn-delete { padding: 4px 10px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; font-size: 12px; font-weight: 500; transition: all 0.2s; background: white; border-color: #FF4D4F; color: #FF4D4F; }
.btn-delete:hover { background: #FF4D4F; color: white; }
