/* Minimal stacked developer console, using the active dark/light palette. */
#tool-lab-view{--lab-edge:var(--utu-stroke-soft,#36556b);--lab-soft:var(--utu-panel-soft,#1c3549)}
#tool-lab-view .lab-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
#tool-lab-view .lab-heading h1{font-size:30px;color:var(--utu-text,#edfaff);margin:4px 0}
#tool-lab-view .lab-heading p{font-size:13px;color:var(--utu-subtext,#a7bccd);margin:5px 0 0}
#tool-lab-view .lab-chip{display:inline-block;font-size:10px;font-weight:800;letter-spacing:.13em;padding:5px 10px;border-radius:99px;color:#8ce6f9;background:#143a51;border:1px solid #2a6280}
#tool-lab-view .lab-panel,#tool-lab-view .lab-result-panel{border:1px solid var(--lab-edge);border-radius:15px;background:var(--utu-panel,#152d40);padding:17px 19px;margin:0 0 16px}
#tool-lab-view .lab-selectors{display:grid;grid-template-columns:1fr 1fr;gap:16px}
#tool-lab-view .lab-selectors label{display:flex;flex-direction:column;gap:7px;color:var(--utu-text,#f0f7fc);font-size:12px;font-weight:700}
#tool-lab-view select,#tool-lab-view textarea{background:var(--lab-soft)!important;color:var(--utu-text,#f0f7fc)!important;border:1px solid var(--lab-edge)!important;border-radius:9px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}
#tool-lab-view select{min-height:43px!important;padding:8px 12px!important;margin:0!important}
#tool-lab-view .lab-panel-title,#tool-lab-view .lab-result-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
#tool-lab-view h2,#tool-lab-view h3{margin:0;color:var(--utu-text,#f0f8ff)}
#tool-lab-view h2{font-size:15px}#tool-lab-view h3{font-size:13px}
#tool-lab-view #lab-param-help{font-size:11px;color:var(--utu-subtext,#9fb8c6);line-height:1.65;margin:12px 0;overflow-wrap:anywhere}
#tool-lab-view textarea{margin:12px 0 14px!important;min-height:275px;resize:vertical;font:12px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace!important;padding:14px!important;tab-size:2}
#tool-lab-view .lab-mutation-confirmation{margin:0 0 14px;padding:13px 14px;border:1px solid var(--lab-edge);border-left:3px solid #f2b05f;border-radius:10px;background:var(--lab-soft)}
#tool-lab-view .lab-mutation-confirmation label{display:flex;align-items:flex-start;gap:11px;color:var(--utu-text,#f0f8ff);cursor:pointer;font-size:12px}
#tool-lab-view .lab-mutation-confirmation input{width:17px;height:17px;margin:1px 0 0;flex-shrink:0;accent-color:#19b7ca}
#tool-lab-view .lab-mutation-confirmation span{display:flex;flex-direction:column;gap:5px}
#tool-lab-view .lab-mutation-confirmation small{color:var(--utu-subtext,#9fb8c6);font-size:11px;line-height:1.5}
#tool-lab-view .lab-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
#tool-lab-view .lab-actions button,#tool-lab-view .lab-heading button{min-height:39px;padding:8px 15px}
#tool-lab-view .lab-result-header{margin-bottom:10px}
#tool-lab-view .lab-result-panel pre{margin:0;padding:15px;overflow:auto;max-height:510px;border-radius:10px;background:var(--lab-soft);border:1px solid var(--lab-edge);color:var(--utu-text,#ebf7ff);font:12px/1.55 ui-monospace,Consolas,monospace;white-space:pre}
#tool-lab-view .lab-result-header button{padding:6px 13px;min-height:31px;font-size:11px}
#tool-lab-view .lab-result-summary{margin:12px 0 16px;padding:12px 14px;border:1px solid var(--lab-edge);background:var(--lab-soft);border-radius:10px;font-size:12px;font-weight:700}
#tool-lab-view .lab-result-summary.ok{border-left:4px solid #27b981}
#tool-lab-view .lab-result-summary.error{border-left:4px solid #dc6269}
#tool-lab-view .lab-message{border-radius:10px;margin:10px 0;padding:12px 14px;background:var(--lab-soft);color:var(--utu-text,#f6fdff);font-size:12px}
#tool-lab-view .lab-message.error{border-left:4px solid #dc6269}
:root[data-theme="light"] #tool-lab-view .lab-chip{background:#e2f6fc;color:#1d6f85;border-color:#b7dfea}
:root[data-theme="light"] #tool-lab-view .lab-panel,:root[data-theme="light"] #tool-lab-view .lab-result-panel{background:#fff}
:root[data-theme="light"] #tool-lab-view{--lab-soft:#eff6fa;--lab-edge:#bdcfdc}
@media(max-width:720px){#tool-lab-view .lab-selectors{grid-template-columns:1fr}#tool-lab-view .lab-heading{flex-wrap:wrap}#tool-lab-view .lab-panel,#tool-lab-view .lab-result-panel{padding:13px}}

#tool-lab-view .lab-change-sources{margin-top:18px;border-top:1px solid var(--lab-edge);padding-top:16px}
#tool-lab-view .lab-change-sources h2{margin:0;font-size:14px}
#tool-lab-view .lab-change-sources p{font-size:12px;color:var(--utu-subtext,#a7bccd);margin:6px 0 13px}
#tool-lab-view .lab-source-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:10px}
#tool-lab-view .lab-source-option{display:flex;align-items:center;gap:10px;margin:0!important;min-height:44px;padding:10px 13px;border:1px solid var(--lab-edge);border-radius:10px;background:var(--lab-soft);color:var(--utu-text,#f1f9ff);font-size:12px;font-weight:650;cursor:pointer;box-sizing:border-box}
#tool-lab-view .lab-source-option input{width:16px;height:16px;flex:0 0 16px;accent-color:#18bdd4;margin:0}
#tool-lab-view .lab-source-option span{overflow-wrap:anywhere}
