.button.export-trigger { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; min-width: 36px; min-height: 36px; padding: 0; border-radius: 10px; color: #315c42; background: #edf5e7; border-color: #c7dcbc; transition: background-color .16s ease, border-color .16s ease; }
.button.export-trigger:hover, .button.export-trigger:focus-visible { background: #dceecf; border-color: #6b9959; }
.export-trigger svg { flex: none; width: 18px; height: 18px; }
.export-tooltip { position: fixed; z-index: 10000; width: max-content; max-width: min(320px, calc(100vw - 16px)); padding: 9px 12px; border: 1px solid #456b51; border-radius: 10px; background: #173c2a; color: #fff; box-shadow: 0 4px 14px #10291e26; font-size: .78rem; font-weight: 500; line-height: 1.45; text-align: center; overflow-wrap: anywhere; }
.export-limit-stop { display: block; }
.panel-head > .export-trigger { margin-left: auto; }
.exports-dialog { width: min(820px, calc(100vw - 28px)); }
.export-form { display: grid; gap: 14px; min-width: 0; }
.export-controls { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.export-form .ops-field { min-width: 0; }
.export-hint { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.55; }
.export-filters { padding: 13px 15px; border: 1px solid var(--line); border-radius: 14px; background: #f4f8ef; min-width: 0; }
.export-filters h3 { margin: 0 0 8px; font-size: .87rem; }
.export-filters p { margin: 0; font-size: .8rem; }
.export-filter-list { display: grid; gap: 8px; margin: 0; font-size: .8rem; }
.export-filter-list > div { display: grid; grid-template-columns: minmax(100px,1fr) minmax(0,2fr); gap: 12px; }
.export-filter-list dt { color: var(--muted); }
.export-filter-list dd { margin: 0; overflow-wrap: anywhere; }
.export-column-picker { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; padding:16px; border:1px solid var(--line,#d9e3d2); border-radius:14px; background:#fafcf8; min-width:0; }
.export-column-picker h3 { margin:0; font-size:.95rem; line-height:1.4; }
.export-column-tools { display:flex; gap:8px; flex-wrap:wrap; }
.export-column-tools .button { min-height:38px; font-size:.76rem; white-space:normal; }
.export-column-status { display:grid; justify-items:start; gap:10px; font-size:.82rem; color:var(--muted,#60705c); line-height:1.55; }
.export-column-status.is-error { color:#9b3d33; }
.export-column-status:empty { display:none; }
.export-column-fields { margin:0; padding:0; border:0; min-width:0; }
.export-column-fields[disabled] { opacity:.65; }
.export-column-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; max-height:310px; overflow-y:auto; padding:2px; min-width:0; scrollbar-gutter:stable; }
.export-column-list:empty { display:none; }
.export-column-option { display:flex; align-items:center; gap:10px; margin:0; padding:10px 12px; min-height:44px; min-width:0; border:1px solid #dce5d5; border-radius:9px; background:#fff; color:#294331; font-size:.81rem; font-weight:500; line-height:1.45; cursor:pointer; }
.export-column-option:has(input:checked) { background:#eef6e7; border-color:#b7cfa6; }
.export-column-option:hover { background:#e5f0da; border-color:#8eaf77; }
.export-column-option input[type=checkbox] { flex:none; width:18px; height:18px; min-height:18px; margin:0; padding:0; accent-color:#50783c; }
.export-column-option span { min-width:0; overflow-wrap:anywhere; }
.export-column-option:has(input:focus-visible) { outline:2px solid #618b4f; outline-offset:1px; }
.export-column-count { margin:0; font-size:.79rem; color:#4d6345; line-height:1.5; }
.export-status:empty { display: none; }
.export-status { display: grid; justify-items: center; gap: 12px; padding: 16px; border: 1px solid #cbdcbf; border-radius: 14px; background: #f1f8e9; text-align: center; font-size: .86rem; }
.export-status p { margin: 0; overflow-wrap: anywhere; }
.export-status a { text-decoration: none; }
.export-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
@media (max-width: 540px) {
  .export-controls { grid-template-columns: minmax(0,1fr); }
  .export-actions > button { flex: 1 1 130px; }
  .panel-head:has(> .export-trigger) { flex-wrap: wrap; }
  .panel-head > .export-trigger { margin-left: 0; }
  .export-column-picker { padding:12px; }
  .export-column-list { grid-template-columns:minmax(0,1fr); max-height:280px; }
  .export-column-tools .button { flex:1 1 120px; }
}
