/* Home-only presentation; storage, board and planner styles are unchanged. */
#dashboard-module{max-width:none}
#studio-home{--idle:#87909e;--ready:#3677c9;--running:#29815e;--attention:#af6a19;--error:#c44848;--purple:#7047e8;--ink:#2b293d;--quiet:#716c7e;--line:#e9e6ef;color:var(--ink)}
#studio-home [data-tone=idle]{--state:var(--idle)}
#studio-home [data-tone=ready]{--state:var(--ready)}
#studio-home [data-tone=running]{--state:var(--running)}
#studio-home [data-tone=attention]{--state:var(--attention)}
#studio-home [data-tone=error]{--state:var(--error)}
.studio-section-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:25px}
.studio-section-heading h2{font-size:19px;line-height:1.5;font-weight:600;letter-spacing:-.035em;margin:0}
.studio-kicker{font-size:10px;letter-spacing:.16em;color:#7453a2;margin:0 0 7px;font-weight:600}
.studio-legend{list-style:none;display:flex;flex-wrap:wrap;gap:10px 15px;padding:0;margin:0}
.studio-legend li{display:flex;align-items:center;gap:6px;font-size:11px;color:#655e72}
.studio-info-button{border:0;background:none;color:#806398;padding:4px 8px;font-size:19px;min-width:40px;min-height:40px}
.studio-runtime-info{border:1px solid #e5dced;border-radius:10px;background:white;padding:15px;margin:0 0 19px}
.studio-runtime-info>button{border:0;background:none;color:#7047b8;font-size:12px;margin-top:9px;padding:5px 0}
.studio-runtime-details{width:min(940px,calc(100% - 24px))}.studio-runtime-details h2{font-size:20px}.studio-runtime-details p{font-size:12px;line-height:1.8}
.studio-runtime-table{overflow:auto}.studio-runtime-table table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.8}.studio-runtime-table :is(td,th){border:1px solid #e8e1ef;padding:12px;text-align:left;overflow-wrap:anywhere;vertical-align:top}.studio-runtime-table th{background:#faf7fd}
.studio-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--state);flex:none}
.studio-flow{padding:27px;background:#fbfafd;border:1px solid var(--line);border-radius:15px}
.studio-flow-hint{display:none}
.studio-flow-row{display:flex;align-items:stretch;gap:10px;overflow-x:auto;padding:3px 1px 12px;scrollbar-width:thin;scrollbar-color:#d8cdee transparent}
.studio-node{position:relative;flex:1 0 120px;min-width:0;background:white;border:1px solid var(--line);border-radius:10px;padding:17px 13px;min-height:92px}
.studio-node[data-tone=running]{border-color:#cdbff0;background:#f8f5ff}
.studio-node h3{display:flex;align-items:center;gap:7px;margin:0 0 7px;font-size:13px;line-height:1.5;font-weight:650;overflow-wrap:anywhere}
.studio-node p{font-size:11px;line-height:1.6;color:var(--quiet);margin:0;overflow-wrap:anywhere}
.studio-active-owners{display:flex;flex:1.25 0 auto;gap:10px;min-width:140px}
.studio-active-owners>.studio-node{min-width:120px}
.studio-connector{display:flex;align-items:center;justify-content:center;flex:0 0 12px;color:#b5a3d1;font-size:17px}
.studio-no-active{align-self:center;text-align:center;flex:1;font-size:11px;line-height:1.8;color:#80748e;margin:0;min-width:130px}
.studio-waiting{display:flex;align-items:center;gap:22px;margin-top:21px;padding-top:21px;border-top:1px solid var(--line)}
.studio-waiting>h3{font-size:11px;font-weight:500;color:var(--quiet);margin:0;flex:none}
.studio-waiting-row{display:flex;flex-wrap:wrap;gap:10px;flex:1}
.studio-waiting-row .studio-node{flex:0 1 165px;min-height:78px;padding:13px}
.studio-work{margin-top:36px}
.studio-section-note{font-size:11px;color:var(--quiet);margin:7px 0 0}
.studio-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
#studio-home .studio-category{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;height:94px;min-height:94px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:11px;background:#fff;text-align:left;white-space:normal;font-size:14px;font-weight:500;color:var(--ink);margin:0;box-shadow:none}
#studio-home .studio-category>span{overflow-wrap:anywhere;line-height:1.6}
#studio-home .studio-category>strong{font-size:25px;font-weight:550;color:#6742bd;white-space:nowrap;font-variant-numeric:tabular-nums}
.studio-category small{font-size:11px;color:var(--quiet);margin-left:4px;font-weight:400}
#studio-home .studio-category:hover{border-color:#bca8e8;background:#fcfaff}
#studio-home .studio-category[aria-expanded=true]{border-color:#a48cdb;background:#f6f1ff;color:#6742bd}
.studio-category-detail{grid-column:1/-1;border:1px solid #e4d9f5;border-radius:12px;padding:21px 24px;background:#fcfaff;min-width:0}
.studio-category-detail>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.studio-category-detail h3{font-size:15px;margin:0 0 5px;overflow-wrap:anywhere}
.studio-category-detail p{font-size:11px;color:var(--quiet);line-height:1.7;margin:0}
.studio-category-detail [data-home-collapse]{font-size:11px;min-height:36px;border:0;background:none;color:#6742bd;padding:4px 0 4px 12px}
.studio-category-detail ol{list-style:none;margin:16px 0;padding:0}
.studio-category-detail li+li{border-top:1px solid #ece5f5}
.studio-category-detail li button{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:44px;padding:10px 0;border:0;background:none;font-size:13px;text-align:left;white-space:normal;color:#423a51;font-weight:400;line-height:1.7}
.studio-category-detail li button>span{overflow-wrap:anywhere;min-width:0}
.studio-category-detail li small{font-size:11px;color:#77638f;flex:none}
.studio-category-detail a{display:inline-flex;align-items:center;gap:16px;min-height:44px;font-size:12px;color:#6742bd}
.studio-empty{font-size:13px;color:var(--quiet);margin:25px 0}
.studio-dot.is-running{animation:studio-pulse 2.8s ease-in-out infinite}
@keyframes studio-pulse{50%{opacity:.45}}
#studio-module .studio-placeholder{display:grid;place-items:center;min-height:280px;border:1px solid #e9e6ef;border-radius:14px;background:#fbfafd;color:#716c7e;font-size:15px}
@media(max-width:1150px){.studio-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-section-heading{align-items:flex-start;flex-wrap:wrap}.studio-flow{padding:22px}}
@media(max-width:900px){.studio-flow-hint{display:flex;justify-content:space-between;font-size:10px;color:#77638f;margin:0 0 12px}.studio-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .studio-flow{padding:19px 16px}.studio-section-heading{gap:15px;margin-bottom:20px}.studio-section-heading h2{font-size:18px}.studio-legend{gap:8px 12px}.studio-legend li{font-size:10px}
  .studio-flow-row{gap:8px;padding-bottom:14px}.studio-node{flex-basis:110px;padding:15px 11px}.studio-active-owners{min-width:125px}.studio-active-owners>.studio-node{min-width:110px}
  .studio-waiting{display:block;margin-top:17px;padding-top:17px}.studio-waiting>h3{margin-bottom:12px}.studio-waiting-row{gap:8px}.studio-waiting-row .studio-node{flex:1 1 100px;padding:12px;min-height:77px}
  .studio-footnote{margin-top:16px;font-size:10px}.studio-work{margin-top:29px}.studio-category-grid{gap:10px}
  #studio-home .studio-category{height:88px;min-height:88px;padding:13px;font-size:13px;gap:7px}#studio-home .studio-category>strong{font-size:22px}
  .studio-category-detail{padding:18px 15px}.studio-category-detail li button{font-size:12px}.studio-category-detail>header{gap:8px}
}
@media(prefers-reduced-motion:reduce){.studio-dot.is-running{animation:none}}
