/* Library-first Studio shell, reusing the established instrument palette. */
.studio-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin:12px 0 28px}.studio-heading h1{font-size:32px;margin:10px 0}.studio-heading p,.studio-card p,.studio-recent p,.studio-note{color:#9cb7c7;line-height:1.7}.studio-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.studio-card{background:linear-gradient(145deg,#10232f,#0c1a24);border:1px solid #294351;border-radius:12px;padding:23px;min-width:0}.studio-card h2{font-size:20px;margin:0 0 14px}.studio-card h3{font-size:18px}.studio-card-top{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.studio-preview{display:block;width:100%;height:220px;padding:12px;background:#091925;border:1px solid #203a48;border-radius:8px;margin:12px 0 22px;overflow:hidden}.studio-preview:hover{border-color:#5cd5e5;background:#0e2634}.studio-preview svg{width:100%;height:100%}.studio-instrument-art{height:100%;width:100%;overflow:hidden}.studio-instrument-art svg{width:100%;height:100%;max-height:350px}.studio-flow{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;color:#65d4e5}.studio-flow span{border:1px solid #376375;background:#142e3d;border-radius:7px;padding:9px 22px;min-width:160px}.studio-card-foot{border-top:1px solid #294351;padding-top:18px;margin-top:22px;display:flex;gap:12px;flex-wrap:wrap;align-items:center}.studio-card-foot small{color:#8faebb}.studio-recent{display:grid;grid-template-columns:1fr 1fr;gap:36px;margin:28px 0;padding:25px;border:1px solid #294351;border-radius:12px}.studio-record{display:flex;justify-content:space-between;text-align:left;gap:20px;width:100%;margin:8px 0;padding:14px}.studio-record small{color:#a4bfca}.studio-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:24px 0}.studio-search{display:block;max-width:400px;color:#9eb9c8}.studio-search input{margin-top:6px;width:100%}.studio-empty{padding:30px;border:1px dashed #3b5967;border-radius:12px;grid-column:1/-1}.studio-overview{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:24px 0}.studio-overview .studio-instrument-art{height:350px}.studio-overview dl{display:grid;grid-template-columns:140px 1fr;gap:15px;margin:30px 0}.studio-overview dd{margin:0;color:#69d7e8}.studio-tabs{display:flex;gap:8px;margin:16px 0}.studio-tabs .active{background:#17404f;border-color:#63d4e5}.studio-breadcrumb{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px;color:#a1bac8}.studio-breadcrumb button{padding:6px 10px}.studio-note{margin:24px 0}.studio-placeholder{display:grid;place-items:center;height:100%;color:#91b3c4}#cloud-storage{margin-top:28px}#cloud-storage .panel-body{padding:14px 18px}#cloud-storage small{display:block;margin-top:8px}.console-header .nav{flex-wrap:wrap}#studio-new-name,#studio-new-plate{display:block;width:100%;margin:8px 0 18px}
@media(min-width:1600px){.studio-preview{height:270px}}
@media(max-width:1100px){.studio-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-home-grid{gap:12px}.studio-card{padding:16px}.studio-card-top{flex-wrap:wrap}.studio-preview{height:180px}}
@media(max-width:760px){.studio-home-grid,.studio-library-grid,.studio-overview,.studio-recent{grid-template-columns:1fr}.studio-heading{align-items:flex-start;flex-direction:column}.studio-heading h1{font-size:27px}.studio-preview{height:240px}.studio-card-top{flex-wrap:nowrap}.studio-record{flex-direction:column}.studio-overview dl{grid-template-columns:1fr}.studio-overview dd{margin-bottom:10px}}
.studio-home-button{font-size:16px!important;padding:10px 22px!important;background:#183e4d!important;border:1px solid #65d4e5!important}.console-header .nav{margin-left:auto}.cloud-save-status{display:flex;gap:18px;align-items:center;justify-content:space-between;font-size:12px;color:#9cb7c7;padding:10px 0}.cloud-save-status details{position:relative}.cloud-save-status summary{cursor:pointer}.cloud-save-status details[open] .row{padding:12px;background:#10232f;border:1px solid #294351}.main #cloud-storage{border:0;background:none;margin-top:24px}.loaded-protocol{display:flex;justify-content:space-between;gap:20px;align-items:center}.instrument-package{display:flex;gap:20px;justify-content:space-between;padding:18px 0;border-top:1px solid #294351}.instrument-package small{display:block;color:#9cb7c7;margin-top:8px}.setup-module{display:flex;flex-wrap:wrap;gap:16px;align-items:center;padding:14px 0;border-bottom:1px solid #294351}.setup-module strong{min-width:120px}.instrument-tools,.protocol-send{margin:14px 0}.instrument-tools button{font-size:12px}#shelf-target{display:block;width:100%;margin:12px 0}@media(max-width:760px){.loaded-protocol,.instrument-package{flex-direction:column;align-items:flex-start}}
#physical-workspace{position:fixed;top:235px;left:20px;width:calc(100% - 40px);height:calc(100vh - 250px);border:1px solid #355462;border-radius:8px;background:#08151e;z-index:3}
#physical-workspace[hidden]{display:none}
.history-run{margin:16px 0}.history-run>summary{cursor:pointer;display:grid;gap:8px}.history-step{margin:12px 0;border:1px solid #355462;border-radius:6px;padding:12px}.history-step summary{cursor:pointer;display:flex;justify-content:space-between;gap:16px}.history-step img{width:min(100%,960px);height:auto;border-radius:6px}.history-step figure{margin:12px 0}.history-step figcaption{color:#9fb5c3;font-size:12px}.board-connection-help{font-size:12px;max-width:1000px}

#physical-workspace{top:180px;height:calc(100vh - 195px)}
