:root{
  --bg:#f5f5f6;--panel:#fff;--text:#231f20;--muted:#706d72;--line:#dfdddf;
  --stellar-orange:#f05b29;--stellar-gold:#f8ae41;--charcoal:#231f20;--navy:#11131a;
  --blue:#3549a5;--blue2:#273b90;--green:#138a63;--red:#c83f4d;
  --shadow:0 10px 28px rgba(35,31,32,.07)
}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--text);font:14px/1.45 Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.topbar{height:76px;background:#fff;color:var(--charcoal);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:20;border-top:4px solid var(--stellar-orange);border-bottom:1px solid #e7e4e5;box-shadow:0 4px 18px rgba(35,31,32,.05)}
.brand{display:flex;align-items:center;gap:14px;min-width:0}.stellar-logo{display:block;width:132px;height:auto;flex:0 0 auto}.brand-divider{width:1px;height:34px;background:#dedadb;flex:0 0 auto}.product-name{display:flex;flex-direction:column;line-height:1.12;min-width:0}.product-name strong{font-size:16px;font-weight:800;letter-spacing:-.01em}.product-name small{font-size:10px;color:#817c80;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}.top-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto}.secure-badge{display:flex;align-items:center;gap:8px;border:1px solid #e5e1e2;background:#faf9f9;padding:7px 11px;border-radius:999px;color:#5e5a5d;font-size:11px;font-weight:650}.secure-dot{width:7px;height:7px;border-radius:50%;background:var(--green);box-shadow:0 0 0 3px rgba(19,138,99,.1)}
.layout{max-width:1440px;margin:0 auto;padding:34px;display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}
.content{min-width:0}.hero{display:flex;align-items:flex-end;justify-content:space-between;margin:2px 0 24px;padding:22px 24px;border-radius:14px;background:linear-gradient(110deg,#252124 0%,#17171b 72%,#30231d 100%);color:#fff;box-shadow:var(--shadow)}.hero h1{margin:5px 0 7px;font-size:30px;letter-spacing:-.03em;color:#fff}.hero p{margin:0;color:#c9c5c7}.hero .eyebrow{color:var(--stellar-gold)!important}
.eyebrow{font-size:11px!important;letter-spacing:.12em!important;font-weight:800!important;color:var(--stellar-orange)!important;margin:0!important}
.health{font-size:12px;color:var(--green);display:flex;align-items:center;gap:7px}.dot{width:8px;height:8px;background:var(--green);border-radius:50%;box-shadow:0 0 0 4px rgba(19,154,102,.1)}
.card,.summary-card{background:var(--panel);border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.card{padding:22px;margin-bottom:18px}.section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}.section-title h2{margin:0;font-size:17px}.section-title p{margin:2px 0 0;color:var(--muted);font-size:12px}
.step{width:26px;height:26px;border-radius:8px;background:#fff0ea;color:var(--stellar-orange);display:grid;place-items:center;font-weight:850;flex:0 0 auto;border:1px solid #ffd9ca}
.grid{display:grid;gap:14px}.two{grid-template-columns:1fr 1fr}.query-grid{grid-template-columns:2fr 1fr;margin-bottom:14px}.source-header{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:10px}.source-header .hint{margin:3px 0 0}.source-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.source-option{border:1px solid #ddd9da;border-radius:10px;padding:12px;background:#fff;display:flex;gap:9px;align-items:flex-start;cursor:pointer;min-height:74px;transition:.15s}.source-option:hover{border-color:#c9c4c5;transform:translateY(-1px)}.source-option.selected{border-color:var(--stellar-orange);background:#fff8f5;box-shadow:0 0 0 2px rgba(240,91,41,.08)}.source-option input{width:auto;margin-top:3px}.source-option span{display:flex;flex-direction:column;gap:2px}.source-option small{font-weight:500;color:var(--muted);line-height:1.35}.selected-source-count{border:1px solid #e0e7f0;border-radius:9px;background:#f7f9fc;padding:9px 12px;display:flex;flex-direction:column;justify-content:center}.selected-source-count span{font-size:11px;color:var(--muted)}.selected-source-count strong{font-size:13px;margin-top:2px}.button.small{padding:7px 10px;font-size:11px}
label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;color:#494448}input,textarea,select{width:100%;border:1px solid #d2cdcf;border-radius:8px;background:#fff;color:#2a2628;padding:10px 11px;font:13px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;outline:none;transition:.15s}input:focus,textarea:focus,select:focus{border-color:var(--stellar-orange);box-shadow:0 0 0 3px rgba(240,91,41,.1)}
textarea{min-height:210px;resize:vertical;line-height:1.55;background:#17171b;color:#f3f0f1;border-color:#343136;padding:14px;margin-top:2px}.effective-area{min-height:260px;background:#201d1f;border-left:3px solid var(--stellar-orange);color:#f7f2f3}
.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between;margin-top:14px}.wrap{flex-wrap:wrap}.check{flex-direction:row;align-items:center;gap:8px;font-weight:600}.check input{width:auto}.check.large{justify-content:flex-start;align-self:end;height:39px}
.button{border:0;border-radius:8px;padding:10px 15px;font-weight:750;cursor:pointer;transition:.15s}.button:hover{transform:translateY(-1px)}.button.primary{background:linear-gradient(135deg,var(--stellar-orange),#df4618);color:#fff;box-shadow:0 6px 14px rgba(240,91,41,.18)}.button.secondary{background:#f4f2f2;color:#3c383a;border:1px solid #d9d4d6}.button.secondary:hover{background:#ece9ea}.button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.status{border-radius:8px;padding:9px 11px;margin-top:12px;background:#f1f5fb;color:#53647a;font-size:12px}.status.success{background:#ecf9f3;color:#08764c}.status.warning{background:#fff8e7;color:#8a5a00}.status.error{background:#fff0f2;color:#b32638}.status.compact{padding:0;background:transparent;margin:0}.hidden{display:none}
.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:15px}.metrics div{background:#f7f9fc;border:1px solid #e4eaf2;border-radius:9px;padding:12px}.metrics span{display:block;color:var(--muted);font-size:11px}.metrics strong{display:block;font-size:18px;margin-top:4px}
.table-wrap{overflow:auto;max-height:330px;border:1px solid var(--line);border-radius:9px}table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:9px 10px;border-bottom:1px solid #e9eef5;text-align:left;white-space:nowrap;max-width:360px;overflow:hidden;text-overflow:ellipsis}th{position:sticky;top:0;background:#f7f9fc;color:#4b5e76;font-size:11px;z-index:1}.muted{color:var(--muted)}
.format-grid,.destination-grid{display:grid;gap:12px;margin-bottom:16px}.format-grid{grid-template-columns:repeat(3,1fr)}.destination-grid{grid-template-columns:repeat(3,1fr)}
.choice,.destination{border:1px solid #ddd9da;border-radius:10px;padding:14px;display:flex;gap:10px;cursor:pointer;position:relative;background:#fff}.choice.selected,.destination.selected{border-color:var(--stellar-orange);box-shadow:0 0 0 2px rgba(240,91,41,.08);background:#fff8f5}.choice input,.destination input{width:auto;margin-top:3px}.choice span{display:flex;flex-direction:column;gap:2px}.choice small,.destination small{display:block;color:var(--muted);font-weight:500}
.destination{flex-direction:column;min-height:116px;justify-content:center}.destination .dest-icon{font-size:24px;color:var(--stellar-orange)}.destination.disabled{cursor:not-allowed;opacity:.55}.destination em{position:absolute;right:10px;top:10px;font-style:normal;font-size:10px;border-radius:999px;background:#edf1f6;padding:3px 7px;color:#68768a}.destination-panel{border-top:1px solid #e6ecf4;margin-top:6px;padding:18px 0 4px}.secret-area{min-height:150px;font-size:12px;margin-top:0}.destination-panel .status{margin-top:12px}
details{border-top:1px solid #e5e1e2;padding-top:13px}summary{cursor:pointer;font-weight:750;color:#454043}.advanced{margin-top:14px}.hint{font-size:11px;color:var(--muted);margin:8px 0 0}
.request-target{display:flex;align-items:center;gap:10px;border:1px solid #373338;border-radius:8px;background:#17171b;padding:9px 11px;margin-bottom:2px}.request-target span{flex:0 0 auto;border-radius:5px;background:var(--stellar-orange);color:#fff;padding:3px 7px;font-size:10px;font-weight:850;letter-spacing:.04em}.request-target code{color:#f5f1f2;font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow:auto;white-space:nowrap}
.summary-card{position:sticky;top:96px;padding:20px;border-top:3px solid var(--stellar-orange)}.summary-row{display:flex;justify-content:space-between;gap:18px;padding:13px 0;border-bottom:1px solid #eeeaea}.summary-row span{color:var(--muted);font-size:12px}.summary-row strong{text-align:right;font-size:12px;max-width:165px;overflow:hidden;text-overflow:ellipsis}.divider{height:8px}.button.run{width:100%;padding:14px;background:linear-gradient(135deg,var(--stellar-orange),#d94316);color:#fff;font-size:14px;box-shadow:0 8px 20px rgba(240,91,41,.22)}.button.run:hover{box-shadow:0 10px 24px rgba(240,91,41,.28)}.summary-note{font-size:11px;color:var(--muted);text-align:center;margin:10px 0 0}.download-frame{display:none}
@media(max-width:1000px){.source-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.layout{grid-template-columns:1fr;padding:22px}.summary-card{position:static;order:-1}.secure-badge{display:none}.hero{align-items:flex-start;gap:16px;flex-direction:column}.destination-grid{grid-template-columns:1fr}.summary-card{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.summary-card>.eyebrow,.summary-card>.divider,.summary-card>.button,.summary-card>.summary-note,.summary-card>.status{grid-column:1/-1}}
@media(max-width:650px){.topbar{padding:0 12px;height:68px}.brand{gap:9px}.stellar-logo{width:108px}.brand-divider,.product-name{display:none}.top-actions{gap:6px}.ui-mode{padding:7px 8px}.layout{padding:16px}.source-header{align-items:flex-start;flex-direction:column}.source-grid,.two,.query-grid,.format-grid,.metrics{grid-template-columns:1fr}.hero h1{font-size:24px}.card{padding:17px}.summary-card{grid-template-columns:1fr}}

.split-settings{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px;padding-top:14px;border-top:1px solid #eeeaea}
.split-size{transition:.15s}.disabled-control{opacity:.5}.disabled-control input{background:#f2f0f1;cursor:not-allowed}
.hint code{font:11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#f0eded;border-radius:4px;padding:2px 4px;color:#4a4447}
@media(max-width:650px){.split-settings{grid-template-columns:1fr}}

.source-index{display:inline-block;width:max-content;max-width:100%;font:10px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#8b4a31;background:#fff1eb;border-radius:4px;padding:2px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.query-editor-header{display:flex;justify-content:space-between;align-items:flex-end;margin-top:14px;margin-bottom:7px}
.managed-badge{display:inline-flex;align-items:center;margin-left:6px;padding:2px 6px;border-radius:999px;background:#fff0ea;color:var(--stellar-orange);font-size:9px;font-weight:850;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.managed-badge.system{margin-left:0;background:#eeebec;color:#696367}
.actual-request{margin-top:16px;padding:14px;border:1px solid #ddd8da;border-radius:10px;background:#faf9f9}
.actual-request-title{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.actual-request-title strong{display:block;font-size:12px}.actual-request-title small{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.actual-request .effective-area{margin-top:10px}

.resolved-indices{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 14px;padding:11px 12px;border:1px solid #e1dcde;border-left:3px solid var(--stellar-orange);border-radius:8px;background:#faf9f9}
.resolved-indices>div{display:flex;flex-direction:column;gap:2px}.resolved-indices span{font-size:11px;font-weight:800;color:#4e484c}.resolved-indices small{font-size:10px;color:var(--muted)}.resolved-indices code{max-width:62%;overflow:auto;white-space:nowrap;font:11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#6b3827;background:#fff1eb;border-radius:5px;padding:5px 7px}
.size-input{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:8px}.split-example{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px;padding:10px 12px;border-radius:8px;background:#f7f4f5;border:1px dashed #d8d2d4}.split-example span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#81797d}.split-example code{font:11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#5a3b31;overflow:auto;white-space:nowrap}
.disabled-control select{background:#f2f0f1;cursor:not-allowed}
@media(max-width:650px){.resolved-indices{align-items:flex-start;flex-direction:column}.resolved-indices code{max-width:100%;width:100%}.size-input{grid-template-columns:1fr 74px}.split-example{align-items:flex-start;flex-direction:column}.split-example code{display:block;max-width:100%;width:100%}}

.final-action-card{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:24px;border:1px solid #e6d6cf;border-top:3px solid var(--stellar-orange);background:linear-gradient(110deg,#fff 0%,#fffaf7 100%)}
.final-title{margin-bottom:10px}.final-checks{display:flex;flex-wrap:wrap;gap:8px}.final-checks span{display:inline-flex;align-items:center;border:1px solid #e5dedf;background:#fff;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:750;color:#5c5559}
.final-note{text-align:left;margin:12px 0 0}.final-run{min-height:54px;font-size:15px}.final-action-card .status{margin-top:12px}
@media(max-width:760px){.final-action-card{grid-template-columns:1fr}.final-run{width:100%}}

.resolved-indices{display:block}
.resolved-indices>.resolved-index-header{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:14px}
.resolved-indices>.resolved-index-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:7px;margin-top:10px}
.resolved-index-item{border:1px solid #ebe5e7;background:#fff;border-radius:7px;padding:8px 9px;display:flex;justify-content:space-between;gap:10px;font-size:11px}
.resolved-index-item strong{font-size:11px}.resolved-index-item span{color:var(--muted);text-align:right}
.resolved-indices>code{display:block;max-width:100%;margin-top:10px;overflow:auto;white-space:nowrap;font:11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#6b3827;background:#fff1eb;border-radius:5px;padding:7px 8px}
.resolved-indices>code.hidden{display:none}
.index-plan-warnings{margin-top:8px;padding:8px 9px;border-radius:7px;background:#fff8e7;color:#8a5a00;font-size:10px;line-height:1.45}
@media(max-width:650px){.resolved-indices>.resolved-index-header{flex-direction:column}.resolved-index-header .button{width:100%}}

.query-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:8px 0 10px}
.query-mode{border:1px solid #ddd9da;border-radius:9px;padding:11px 12px;display:flex;gap:9px;align-items:flex-start;cursor:pointer;background:#fff}
.query-mode.selected{border-color:var(--stellar-orange);background:#fff8f5;box-shadow:0 0 0 2px rgba(240,91,41,.08)}
.query-mode input{width:auto;margin-top:3px}.query-mode span{display:flex;flex-direction:column;gap:2px}
.query-mode small{font-weight:500;color:var(--muted);line-height:1.35}
.stellar-query-area{min-height:150px}
@media(max-width:650px){.query-mode-grid{grid-template-columns:1fr}}

.field-selector{margin-top:16px;padding:14px;border:1px solid #e1dcde;border-radius:10px;background:#faf9f9}
.field-selector-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.field-selector-head h3{margin:0;font-size:14px}.field-selector-head .hint{margin-top:3px}.field-selector-head>strong{font-size:11px;color:var(--stellar-orange);white-space:nowrap}
.field-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-top:12px}.field-toolbar input{font-family:inherit}
.field-list{margin-top:10px;max-height:300px;overflow:auto;border:1px solid #e5e0e2;border-radius:8px;background:#fff}
.field-row{display:grid;grid-template-columns:28px minmax(0,1fr) 46px 32px 32px;align-items:center;gap:7px;padding:7px 9px;border-bottom:1px solid #f0ecee}.field-row:last-child{border-bottom:0}.field-row input{width:auto}.field-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.field-order{font-size:10px;color:var(--muted);text-align:center}.field-move{border:1px solid #ddd7d9;background:#fff;border-radius:6px;height:26px;cursor:pointer}.field-move:disabled{opacity:.3;cursor:not-allowed}
.field-empty{padding:14px;color:var(--muted);font-size:11px}
@media(max-width:650px){.field-toolbar{grid-template-columns:1fr 1fr 1fr}.field-toolbar input{grid-column:1/-1}.field-row{grid-template-columns:28px minmax(0,1fr) 38px 30px 30px}}

.record-limit-panel{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:-2px 0 16px;padding:11px 12px;border:1px solid #e6e1e3;border-radius:9px;background:#faf9f9}
.record-limit-title{font-size:11px;font-weight:850;color:#4d474b;text-transform:uppercase;letter-spacing:.04em}.record-limit-choice{gap:7px}.record-limit-input{width:120px;padding:7px 9px}.record-limit-input:disabled{background:#f0edef;color:#8a8588}
@media(max-width:650px){.record-limit-panel{align-items:flex-start;flex-direction:column;gap:9px}.record-limit-choice{width:100%}.record-limit-input{flex:1}}

.query-inspector{padding:16px}.inspector-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:-2px 0 12px}.copy-status{font-size:10px;color:var(--green);font-weight:750}
.inspector-section{border-top:1px solid #e7e2e4;padding-top:11px;margin-top:11px}.inspector-section h4{margin:0 0 8px;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#746d71}
.inspector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.inspector-grid>div{min-width:0;border:1px solid #e8e3e5;border-radius:7px;background:#fff;padding:8px 9px}.inspector-grid span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:3px}.inspector-grid strong,.inspector-grid code{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inspector-grid code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.inspector-grid.stats,.inspector-grid.plan{grid-template-columns:repeat(4,minmax(0,1fr))}.inspector-grid.plan>div{grid-column:span 1}.inspector-grid.plan>div:first-child{grid-column:span 2}
.query-inspector .effective-area{min-height:210px;margin-top:0}
@media(max-width:900px){.inspector-grid.stats,.inspector-grid.plan{grid-template-columns:repeat(2,minmax(0,1fr))}.inspector-grid.plan>div:first-child{grid-column:span 2}}
@media(max-width:650px){.inspector-grid,.inspector-grid.stats,.inspector-grid.plan{grid-template-columns:1fr}.inspector-grid.plan>div:first-child{grid-column:auto}.inspector-actions .button{flex:1}}

.mode-basic .advanced-only{display:none!important}
.mode-advanced .basic-only{display:none!important}
.ui-mode-toggle{display:inline-flex;align-items:center;padding:3px;border:1px solid #3b3537;border-radius:9px;background:#171415}
.ui-mode{border:0;background:transparent;color:#bdb7b9;font:700 11px/1 inherit;padding:7px 11px;border-radius:6px;cursor:pointer}
.ui-mode.active{background:#fff;color:#2b2527;box-shadow:0 1px 3px rgba(0,0,0,.18)}
.subtle-note{font-size:10px;color:var(--muted)}
.mode-basic .content{max-width:920px}
.mode-basic .source-grid{margin-bottom:12px}
.mode-basic .query-mode-grid{margin-top:8px}
.mode-basic .card{padding-top:20px;padding-bottom:20px}
.mode-basic .hero{margin-bottom:16px}
.mode-basic .summary-card{top:76px}
@media(max-width:760px){.top-actions{gap:7px}.secure-badge{display:none}.ui-mode{padding:7px 9px}}


.export-progress{margin-top:14px;padding:13px;border:1px solid #e2dcde;border-radius:10px;background:#fff}
.export-progress-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.export-progress-head>div{display:flex;flex-direction:column;gap:2px}.export-progress-label{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.export-progress-head strong{text-transform:capitalize;font-size:13px}
.export-progress-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.export-progress-grid>div{border:1px solid #eee8ea;border-radius:7px;background:#faf9f9;padding:7px 8px;min-width:0}
.export-progress-grid span,.export-progress-range span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-bottom:2px}
.export-progress-grid strong{display:block;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.export-progress-range{margin-top:8px;border-top:1px solid #eee9eb;padding-top:8px}
.export-progress-range code{display:block;font:10px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:#554e52;overflow:auto;white-space:nowrap}
@media(max-width:760px){.export-progress-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.productivity-tools{display:grid;gap:10px;margin-bottom:16px;padding:13px;border:1px solid #e3dde0;border-radius:10px;background:#faf9f9}
.productivity-group{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,2fr);gap:12px;align-items:center}.productivity-group+ .productivity-group{border-top:1px solid #ebe6e8;padding-top:10px}.productivity-group strong{display:block;font-size:11px}.productivity-group small{display:block;margin-top:2px;color:var(--muted);font-size:10px}
.productivity-controls{display:grid;grid-template-columns:minmax(120px,1fr) minmax(150px,1.2fr) auto auto auto;gap:7px}.history-controls{grid-template-columns:minmax(180px,1fr) auto auto auto}.productivity-controls input,.productivity-controls select{min-width:0;padding:7px 8px;font-family:inherit}
.time-presets{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:12px 0 10px}.time-presets>span{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-right:2px}.time-preset{border:1px solid #ddd7d9;background:#fff;color:#5d565a;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;cursor:pointer}.time-preset.active{border-color:var(--stellar-orange);background:#fff1eb;color:#b83f15}.custom-relative{display:grid;grid-template-columns:72px 92px auto;gap:6px;align-items:center;margin-left:4px}.custom-relative input,.custom-relative select{padding:6px 7px;font-family:inherit}
.csv-options{display:grid;grid-template-columns:minmax(140px,1fr) repeat(3,minmax(150px,1fr));gap:10px;align-items:center;margin:10px 0 14px;padding:11px 12px;border:1px solid #e5dfe1;border-radius:9px;background:#faf9f9}.csv-options label{margin:0}.csv-options select{font-family:inherit}
@media(max-width:900px){.productivity-group{grid-template-columns:1fr}.productivity-controls{grid-template-columns:1fr 1fr auto auto auto}.history-controls{grid-template-columns:1fr auto auto auto}.csv-options{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.format-grid{grid-template-columns:1fr}.productivity-controls,.history-controls{grid-template-columns:1fr 1fr}.productivity-controls input,.productivity-controls select,.history-controls select{grid-column:1/-1}.custom-relative{grid-template-columns:64px 84px auto;margin-left:0}.csv-options{grid-template-columns:1fr}}

.export-history-card{margin-top:2px}
.history-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.history-header .section-title{margin-bottom:12px}
.history-table-wrap{max-height:360px}
.history-status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 7px;background:#eeebec;color:#615a5e;font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.04em}
.history-completed{background:#e9f7f0;color:#08764c}
.history-failed{background:#fff0f2;color:#b32638}
.history-cancelled,.history-expired,.history-interrupted{background:#fff7e5;color:#8a5a00}
.history-running{background:#eef3ff;color:#3549a5}
.history-pending{background:#f4f2f2;color:#5f595c}
@media(max-width:650px){.history-header{align-items:stretch;flex-direction:column}.history-header .button{width:100%}.history-table-wrap{max-height:320px}}

.schedule-card{margin-top:2px}
.schedule-settings{margin:4px 0 12px}
.input-unit{display:flex;align-items:center;justify-content:center;border:1px solid #d2cdcf;border-radius:8px;background:#f7f5f6;color:var(--muted);font-size:10px;font-weight:800}
.schedule-table-wrap{max-height:320px;margin-top:14px}
.schedule-actions{display:flex;gap:6px;align-items:center}
.history-waiting{background:#eef3ff;color:#3549a5}
.history-paused{background:#f4f2f2;color:#5f595c}
.history-blocked{background:#fff7e5;color:#8a5a00}
@media(max-width:650px){.schedule-settings{grid-template-columns:1fr}.schedule-actions{flex-wrap:wrap}.schedule-actions .button{flex:1}}
