:root{--studio-ink:#231b2b;--studio-muted:#695d70;--studio-border:#e5dce9;--studio-soft:#f8f5fa;--studio-purple:#742774}
.studio{background:var(--studio-soft);color:var(--studio-ink)}
.studio-top{height:62px;padding:0 22px;background:#482052;gap:20px}
.studio-brand::before{height:42px;width:112px}
.studio-title{font-size:16px;font-weight:700;color:#fff;max-width:34%;padding-left:18px;border-left:1px solid #ffffff45}
.studio-environment{font-size:13px;color:#ead8ed}
.studio-ribbon{min-height:64px;padding:8px 20px;gap:5px;box-shadow:none;border-bottom:1px solid var(--studio-border)}
.studio-ribbon button{font-size:14px;font-weight:650;padding:10px 12px;border-radius:9px}
.studio-ribbon .publish-button{padding:11px 18px;border-radius:10px}
.formula-bar{display:none}
.studio-guide{display:flex;align-items:center;justify-content:center;gap:clamp(12px,2vw,34px);padding:10px 20px;background:#f2eaf4;border-bottom:1px solid #e5d7e9;color:#5a3a61;font-size:13px;font-weight:650;flex-wrap:wrap}
.studio-guide span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.studio-guide b{display:grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#742774;color:#fff;font-size:12px}
.studio-workspace{grid-template-columns:minmax(230px,268px) minmax(0,1fr) minmax(290px,320px);height:calc(100dvh - 161px);min-height:540px;gap:0}
.studio-tree,.studio-properties{background:#fff}
.studio-tree{border-right:1px solid var(--studio-border)}.studio-properties{border-left:1px solid var(--studio-border)}
.tree-heading,.properties-title{height:auto;min-height:64px;padding:17px 20px 8px;font-size:19px;letter-spacing:-.02em}
.tree-heading>span,.properties-title>span{display:none}
.tree-heading strong::before{content:'1';display:inline-grid;place-items:center;width:27px;height:27px;margin-right:10px;border-radius:8px;background:#f0e4f2;color:#742774;font-size:14px}
.properties-title strong::before{content:'3';display:inline-grid;place-items:center;width:27px;height:27px;margin-right:10px;border-radius:8px;background:#f0e4f2;color:#742774;font-size:14px}
.tree-tabs,.properties-tabs{padding:0 20px;gap:18px}.tree-tabs button,.properties-tabs button{font-size:14px;padding:10px 0 12px}
.studio-tree>input{width:calc(100% - 40px);margin:15px 20px 8px;padding:11px 12px;border-color:var(--studio-border);border-radius:9px;font-size:14px}
.tree-add{margin:4px 12px 10px;width:calc(100% - 24px);border-radius:9px;background:#f5ebf6;color:#742774;font-size:14px;font-weight:750;padding:11px 13px}
.tree-list{border-top:0;padding:0 10px 18px}.tree-list button{font-size:14px;padding:11px 12px}
.builder-palette{max-height:none;border-top:0;padding:10px 16px 22px}.palette-head{display:grid;gap:4px;margin:4px 0 20px}.palette-head strong{font-size:16px}.palette-head small{color:var(--studio-muted);font-size:12px;line-height:1.35}
.palette-section{margin-bottom:12px}
.palette-section[hidden],.palette-grid button[hidden]{display:none}.palette-section summary{display:flex;align-items:center;gap:8px;cursor:pointer;padding:10px 4px;color:#54405a;font-size:12px;font-weight:750;list-style:none}.palette-section summary::-webkit-details-marker{display:none}.palette-section summary::before{content:'▸';color:#742774;font-size:14px}.palette-section[open] summary::before{content:'▾'}.palette-section summary:hover,.palette-section summary:focus-visible{color:#742774;outline:2px solid transparent}.palette-section summary:focus-visible{outline-color:#a673ad;border-radius:6px}.palette-count{margin-left:auto;border-radius:999px;background:#f1e9f3;color:#742774;font-size:10px;padding:2px 6px}.palette-section .palette-grid{padding-top:4px}
.app-access-shade .dialog-box{width:min(600px,100%);max-height:85vh;overflow:auto}.app-access-users{display:grid;gap:8px;max-height:48vh;overflow:auto;margin:18px 0}.app-access-users label{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e7dce9;border-radius:9px;padding:10px}.app-access-users label span{display:grid;gap:3px;min-width:0}.app-access-users label small{overflow-wrap:anywhere;color:#766a78}.app-access-users select{min-width:135px;padding:8px;border:1px solid #cdbbd1;border-radius:7px}
.palette-grid{grid-template-columns:1fr;gap:7px}.palette-grid button{display:flex;align-items:center;gap:10px;min-height:46px;padding:8px 11px;border:1px solid #e7dce9;border-radius:10px;background:#fff;color:#382942;font-size:13px;font-weight:650;line-height:1.2}
.palette-grid button:hover,.palette-grid button:focus-visible{background:#f7edf8;border-color:#a673ad;outline:none}.palette-icon{font-size:20px;color:#742774}
.studio-stage{background-color:#f7f3f8;background-image:radial-gradient(#e3d8e7 1px,transparent 1px);background-size:24px 24px;padding:20px 22px 40px}
.studio-stage-label{max-width:1100px;margin:0 auto 16px;font-size:14px;font-weight:750;color:#48334d}
.studio-stage-label::before{content:'2';display:inline-grid;place-items:center;width:27px;height:27px;margin-right:9px;border-radius:8px;background:#e9dced;color:#742774;font-size:14px}
.studio-screen{border-radius:17px;border:1px solid #d9cddd;box-shadow:0 18px 45px #38213e1c;overflow:hidden}
.screen-top{border-radius:10px 10px 0 0}.builder-item{border-radius:10px}.builder-item.selected{outline:3px solid #a444ad;box-shadow:0 4px 15px #74277433}
.properties-body{padding:20px}.properties-body h3{font-size:21px;line-height:1.2;margin:8px 0}.properties-body h4{font-size:15px;margin:0 0 15px}.property-intro p{font-size:13px;line-height:1.5;color:var(--studio-muted)}
.property-card{border:1px solid var(--studio-border);border-radius:13px;background:#fff;padding:17px;margin-bottom:14px;box-shadow:0 3px 12px #37103b08}
.properties-body .form-row{margin-bottom:16px}.properties-body .form-row:last-child{margin-bottom:0}.properties-body .form-row label{font-size:13px;font-weight:700;color:#44364a}
.properties-body input:not([type=checkbox]),.properties-body select,.properties-body textarea{min-height:42px;border-radius:9px;font-size:14px;border-color:#d9cedd}
.reference-target{display:grid;gap:7px;margin:14px 0 8px;font-size:13px;font-weight:700;color:#44364a}.reference-target select{width:100%;border:1px solid #d9cedd;padding:8px;background:#fff}
.property-tip{font-size:12px;line-height:1.5;color:var(--studio-muted)}
.install-app,.pending-status{border:1px solid #ffffff80;border-radius:9px;background:#ffffff1c;color:#fff;padding:9px 12px;font-size:12px;font-weight:750;white-space:nowrap;cursor:pointer}.install-app:hover,.pending-status:hover{background:#ffffff38}
.install-shade{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:#201226a8;padding:18px}.install-dialog{width:min(500px,100%);background:#fff;border-radius:20px;padding:30px;box-shadow:0 25px 80px #160b1c50}.install-dialog h2{margin:6px 0 14px;font-size:25px}.install-dialog p{font-size:15px;line-height:1.55;color:#5e5264}.install-dialog button{margin-top:9px}.install-kicker{font-size:11px;letter-spacing:.1em;font-weight:800;color:#742774}
.suite-top .install-app,.suite-top .pending-status{background:#fff;color:#742774;border-color:#e4d4e7}.suite-top .install-app:hover,.suite-top .pending-status:hover{background:#f9ecfa}
.suite-main .banner{border-radius:18px}.record-card{border-radius:18px}.record-help{font-size:14px;max-width:700px}
#record-form-wrap{max-width:100%;overflow:hidden}
@media(max-width:1100px){.studio-workspace{grid-template-columns:230px minmax(0,1fr);height:auto;min-height:calc(100dvh - 161px)}.studio-properties{grid-column:1/-1;max-height:none;border-top:1px solid var(--studio-border)}.studio-stage{min-height:600px}.studio-guide{justify-content:flex-start}}
@media(max-width:760px){.studio-top{height:auto;min-height:58px;padding:9px 12px}.studio-ribbon{padding:8px 10px}.studio-guide{font-size:11px;gap:8px 15px;padding:10px}.studio-guide b{width:19px;height:19px;font-size:11px}.studio-workspace{grid-template-columns:minmax(0,1fr)}.studio-tree{max-height:340px}.studio-properties{grid-column:auto}.studio-stage{min-height:520px;padding:14px}.studio-title{max-width:40%;font-size:13px;padding-left:10px}.install-app,.pending-status{padding:7px 9px;font-size:11px}.app-table{min-width:0;width:100%}.app-table th:nth-child(2),.app-table th:nth-child(3),.app-table th:nth-child(4),.app-table td:nth-child(2),.app-table td:nth-child(3),.app-table td:nth-child(4){display:none}.app-table th,.app-table td{padding:13px 10px}.app-table td:last-child{white-space:nowrap}.app-table td button{padding:5px}}
