/* Research saves drafts; the Products action bar handles explicit listing. */
body[data-orbit-simple="1"] [data-simple-hidden="1"],
body[data-orbit-simple="1"] .app-header nav button[hidden],
body[data-orbit-simple="1"] [data-simple-consolidated="1"]{display:none!important}

body[data-orbit-simple="1"] .app-header nav>button{box-shadow:none!important;text-shadow:none!important;filter:none!important}
body[data-orbit-simple="1"] .app-header nav>button::before,
body[data-orbit-simple="1"] .app-header nav>button::after{display:none!important;content:none!important}

/* Keep one manual prepare/queue action bar instead of duplicate legacy controls. */
body[data-orbit-simple="1"] #prepareSelected,
body[data-orbit-simple="1"] #preflightSelected,
body[data-orbit-simple="1"] #queueSelected,
body[data-orbit-simple="1"] #queueByAmount,
body[data-orbit-simple="1"] #queueAmount,
body[data-orbit-simple="1"] #productsPage .pipeline-board .pipe-board-head small,
body[data-orbit-simple="1"] #dashboardPage .growth-money-strip,
body[data-orbit-simple="1"] #dashboardPage .growth-launchpad{display:none!important}

body[data-orbit-simple="1"] #dashboardPage .simple-dashboard-grid{grid-template-columns:minmax(0,1fr)!important}
body[data-orbit-simple="1"] #dashboardPage .simple-activity{min-width:0;width:100%}
body[data-orbit-simple="1"] #dashboardPage .simple-activity #auditList{max-height:320px;overflow:auto}
body[data-orbit-simple="1"] #dashboardPage [data-simple-hidden="1"]{display:none!important}
body[data-orbit-simple="1"] .app-title h1{letter-spacing:-.025em}
body[data-orbit-simple="1"] .app-title p{max-width:720px}

.simple-auto-wrap,.simple-tools-wrap{max-width:1180px;margin:0 auto;padding:2px 0 40px}
.simple-auto-hero{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:18px}
.simple-auto-hero h1{margin:7px 0 8px;font-size:clamp(28px,4vw,44px);letter-spacing:-.035em;line-height:1.03}
.simple-auto-hero p{max-width:780px;margin:0;color:#93a3b1;font-size:15px;line-height:1.6}
.simple-auto-badge{flex:0 0 auto;border:1px solid rgba(148,163,184,.18);border-radius:999px;padding:8px 11px;background:#0e151c;color:#81909d;font-size:11px;font-weight:900;letter-spacing:.08em}
.simple-auto-badge.ready{color:#72efe2;border-color:rgba(45,226,210,.35);background:rgba(45,226,210,.07)}

.simple-auto-launch{padding:22px!important;border:1px solid rgba(45,226,210,.18)!important;background:linear-gradient(145deg,rgba(45,226,210,.045),rgba(139,92,246,.025) 55%,rgba(255,255,255,.015))!important}
.simple-auto-launch form{display:grid;grid-template-columns:1.25fr repeat(3,minmax(150px,.75fr));gap:14px;align-items:end}
.simple-auto-launch label{display:flex;flex-direction:column;gap:6px;color:#dce5ea;font-size:12px;font-weight:800}
.simple-auto-launch label>span{color:#dce5ea}
.simple-auto-launch input[type="number"],.simple-auto-launch input[type="url"]{width:100%;min-width:0;min-height:44px;border:1px solid rgba(148,163,184,.2);border-radius:10px;background:#0a1016;color:#f4f8fa;padding:10px 12px;font:inherit;outline:none}
.simple-auto-launch input[type="number"]:focus{border-color:rgba(45,226,210,.6);box-shadow:0 0 0 3px rgba(45,226,210,.08)}
.simple-auto-launch small{color:#748594;font-size:11px;font-weight:600;line-height:1.45}
.simple-auto-check{grid-column:1/2;display:flex!important;flex-direction:row!important;align-items:center!important;gap:9px!important;min-height:42px}
.simple-auto-check input,.simple-auto-confirm input{accent-color:#2de2d2}
.simple-auto-confirm{grid-column:1/-1;display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:11px!important;padding:13px;border:1px solid rgba(148,163,184,.15);border-radius:11px;background:rgba(255,255,255,.018)}
.simple-auto-confirm span{display:flex;flex-direction:column;gap:3px}.simple-auto-confirm b{font-size:12px}.simple-auto-confirm small{font-size:11px}
.research-category-picker,.research-help{grid-column:1/-1;min-width:0}.research-category-picker{border:1px solid #30434b;border-radius:12px;padding:16px}.research-category-picker legend{padding:0 6px;font-weight:800}.research-category-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.research-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin-bottom:12px}.simple-auto-launch .research-category-grid label{flex-direction:row;align-items:center;padding:10px;border:1px solid #2c3d45;border-radius:8px;cursor:pointer;min-width:0}.research-category-grid input{accent-color:#2de2d2;flex:0 0 auto}.research-category-grid label:has(input:checked){background:#12312f;border-color:#34716a}.research-help{font-size:12px;line-height:1.6;color:#9babba;margin:0}.research-asset-editor{grid-column:1/-1;border:1px solid #34716a;border-radius:10px;padding:16px;min-width:0}.research-asset-editor label{display:flex;flex-direction:column;gap:6px;margin:12px 0}.research-asset-editor select{max-width:100%}.research-asset-editor small{display:block;line-height:1.5}
#simpleAutoRun{grid-column:1/-1;min-height:52px;font-size:15px!important;font-weight:900!important}
.simple-auto-explain{display:flex;align-items:center;justify-content:center;gap:11px;margin-top:16px;color:#748594;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.055em}
.simple-auto-explain span{display:flex;align-items:center;gap:6px}.simple-auto-explain b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:rgba(45,226,210,.1);color:#60eee0}.simple-auto-explain i{font-style:normal;color:#3e4b56}

.simple-auto-status-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:14px 0}
.simple-auto-status-grid article{padding:15px 16px;border:1px solid rgba(148,163,184,.12);border-radius:12px;background:#0c1218}
.simple-auto-status-grid small{display:block;color:#697987;font-size:9px;font-weight:900;letter-spacing:.08em}.simple-auto-status-grid b{display:block;margin:5px 0 2px;color:#eef7f8;font-size:25px;line-height:1}.simple-auto-status-grid span{color:#788895;font-size:11px}
.simple-auto-jobs-panel{padding:18px!important}.simple-auto-jobs{display:flex;flex-direction:column;gap:8px;margin-top:12px}.simple-auto-job{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 13px;border:1px solid rgba(148,163,184,.1);border-radius:10px;background:#0a1016}.simple-auto-job.active{border-color:rgba(45,226,210,.2);background:rgba(45,226,210,.025)}.simple-auto-job div{min-width:0}.simple-auto-job b{display:block;color:#dfe8ec;font-size:13px}.simple-auto-job small{display:block;margin-top:3px;color:#71818e;font-size:10px}.simple-auto-job-state{flex:0 0 auto;border-radius:999px;padding:6px 8px;background:rgba(148,163,184,.09);color:#91a1ae;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.simple-auto-job-state.running,.simple-auto-job-state.running_extension,.simple-auto-job-state.queued,.simple-auto-job-state.waiting_extension{background:rgba(45,226,210,.09);color:#65e8dc}.simple-auto-job-state.completed{background:rgba(140,233,154,.09);color:#9aecaa}.simple-auto-job-state.error,.simple-auto-job-state.failed{background:rgba(255,102,125,.09);color:#ff8396}

.simple-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.simple-tools-grid>button{position:relative;display:grid;grid-template-columns:1fr auto;grid-template-areas:"title arrow" "copy arrow";gap:4px 18px;align-items:center;min-height:92px;padding:17px 18px;border:1px solid rgba(148,163,184,.13);border-radius:13px;background:#0c1218;color:#dfe8ed;text-align:left;font:inherit;cursor:pointer;box-shadow:none}.simple-tools-grid>button:hover{border-color:rgba(45,226,210,.28);background:#0f171f}.simple-tools-grid>button>span{grid-area:title;font-size:14px;font-weight:900}.simple-tools-grid>button>small{grid-area:copy;color:#758592;font-size:11px}.simple-tools-grid>button>b{grid-area:arrow;color:#52616d;font-size:24px;font-weight:400}

@media(max-width:1000px){.simple-auto-launch form{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-auto-status-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.simple-auto-hero{flex-direction:column}.simple-auto-launch form{grid-template-columns:1fr}.simple-auto-check,.simple-auto-confirm,#simpleAutoRun{grid-column:1}.simple-auto-explain{flex-wrap:wrap;justify-content:flex-start}.simple-auto-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.simple-tools-grid{grid-template-columns:1fr}.simple-auto-job{align-items:flex-start;flex-direction:column}.simple-auto-wrap,.simple-tools-wrap{padding-bottom:90px}}

/* Product source and photo editing must remain available on phones. */
@media(max-width:720px){
  body[data-orbit-simple="1"] #productsPage .product-row{grid-template-columns:auto 45px minmax(0,1fr)!important}
  body[data-orbit-simple="1"] #productsPage .product-row .product-main{min-width:0;overflow-wrap:anywhere}
  body[data-orbit-simple="1"] #productsPage .product-row [data-edit]{display:inline-flex;grid-column:2}
  body[data-orbit-simple="1"] #productsPage .product-row [data-delete]{grid-column:3;justify-self:start}
}

/* Button display rules must respect the import control's hidden state. */
#catalogImportStop[hidden]{display:none!important}
#catalogImportForm{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
#catalogImportForm label{display:flex;flex-direction:column;gap:6px;min-width:0}
#catalogImportForm label:first-child{grid-column:1/-1}
#catalogImportForm input{width:100%;box-sizing:border-box}
#catalogImportForm small{line-height:1.5;color:var(--muted,#a5b4bd)}
@media(max-width:650px){#catalogImportForm{grid-template-columns:1fr}}
