/* Editor Studio v6.5.1. Scoped admin styles; client rendering retains its theme. */
.portal-styled-text{font:inherit;letter-spacing:inherit;color:inherit;line-height:inherit}
.portal-styled-text>span{line-height:inherit}
.account-status-text>p:first-child{margin-top:0}
.account-status-text>p:last-child{margin-bottom:0}
.admin-main:has(.studio-layout){max-width:none;padding:22px 24px 36px}
.studio-layout{display:grid;grid-template-columns:minmax(390px,1fr) minmax(390px,1.05fr);gap:22px;align-items:start}
.studio-editor-pane{min-width:0}
.studio-layout .studio-editor-pane .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-layout .studio-editor-pane .field.full{grid-column:1/-1}
.studio-layout .studio-editor-pane .institutional-rail-admin-item .form-grid{grid-template-columns:minmax(0,1fr)}
.studio-layout .studio-editor-pane .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
.studio-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:6px 0 20px}
.studio-title h1{font-size:26px;letter-spacing:-.7px;line-height:1.2;margin:5px 0 8px;color:#173b63}
.studio-title small,.studio-edit-heading small{color:#6a7e95;font-size:12px;letter-spacing:.08em;font-weight:700}
.studio-title p,.studio-edit-heading p{font-size:14px;line-height:1.55;color:#61758b;margin:0}
.studio-title>.btn{max-width:160px;white-space:normal}
.studio-categories{display:flex;gap:5px;flex-wrap:wrap;margin:0 0 15px;padding:5px;background:#edf2f8;border:1px solid #d7e1ec;border-radius:12px}
.studio-categories button{border:0;background:transparent;color:#445d78;padding:10px 12px;font:600 14px/1.3 Arial,sans-serif;border-radius:8px;cursor:pointer;flex:1 1 auto}
.studio-categories button.active{background:#173b63;color:#fff;box-shadow:0 2px 4px #173b631a}
.studio-section-search{margin-bottom:10px}
.studio-section-search input{box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid #d6e1ed;border-radius:9px;font-size:14px;background:#fff;color:#173b63}
.studio-section-links{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:18px}
.studio-section-links button{display:flex;align-items:center;gap:7px;padding:9px 11px;border:1px solid #d8e2ec;border-radius:7px;background:#fff;color:#51677f;font-size:13px;line-height:1.3;cursor:pointer;text-align:left}
.studio-section-links button[hidden],.studio-section-links i[hidden]{display:none}
.studio-section-links button.active{color:#174ea6;border-color:#174ea6;background:#f1f6ff}
.studio-section-links i{width:7px;height:7px;background:#be7828;border-radius:50%;flex:none}
.studio-edit-section{background:#fff;border:1px solid #d6e1ed;border-radius:14px;padding:22px;box-shadow:0 4px 18px #19375205}
.studio-edit-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e3eaf1}
.studio-edit-heading h2{font-size:21px;line-height:1.3;letter-spacing:-.4px;margin:7px 0 8px;color:#173b63}
.studio-section-state{font-size:12px;color:#526b86;background:#f0f5fa;border:1px solid #dce5ed;border-radius:5px;padding:5px 8px;white-space:nowrap}
.studio-edit-section .field>label{font-size:14px;line-height:1.5;margin-bottom:8px;color:#294866;font-weight:650}
.studio-edit-section input,.studio-edit-section textarea,.studio-edit-section select{font-size:14px}
.studio-section-save{position:sticky;bottom:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px -22px -22px;padding:16px 22px;border-top:1px solid #dce5ee;border-radius:0 0 14px 14px;background:#f9fbfe;box-shadow:0 -4px 12px #173b6305}
.studio-section-save>span{font-size:12px;line-height:1.5;color:#61768d;max-width:190px}
.studio-section-save .row-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.studio-section-save .btn{font-size:13px;min-height:39px;white-space:normal}
.studio-format-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:8px!important;background:#f5f8fc!important;border-bottom:1px solid #d9e3ee}
.studio-format-toolbar button,.studio-format-toolbar select{font-size:13px!important;min-height:33px!important;height:auto!important;border:1px solid #d2deeb!important;border-radius:5px;background:#fff!important;color:#21476e!important;padding:5px 8px!important;width:auto!important}
.studio-format-toolbar button{min-width:30px;cursor:pointer}
.studio-format-toolbar select{max-width:150px}
.studio-format-toolbar button:hover{background:#e6effa!important;border-color:#abc1da!important}
.studio-format-toolbar .studio-color-tool{position:relative;display:grid;place-items:center;width:31px;height:32px;overflow:hidden;border:1px solid #d2deeb;border-radius:5px;background:#fff;color:#173b63;font-size:15px;font-weight:800;margin:0}
.studio-color-tool input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer;padding:0}
.studio-inline-shell{border:1px solid #d2deeb;border-radius:9px;overflow:hidden}
.studio-inline-canvas{min-height:68px;max-height:340px;overflow:auto;padding:15px;font:16px/1.6 Arial,sans-serif;color:#173b63;white-space:pre-wrap;overflow-wrap:anywhere;outline:none;background:#fff}
.studio-inline-canvas:focus{box-shadow:inset 0 0 0 2px #b9cceb}
.studio-text-hint{display:block;padding:8px 12px;font-size:12px;line-height:1.4;color:#74869a;border-top:1px solid #edf1f5;background:#fff}
.studio-preview-pane{position:sticky;top:18px;border:1px solid #cddbeb;border-radius:14px;background:#fff;box-shadow:0 8px 24px #1836570a;overflow:hidden;min-width:0}
.studio-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;background:#173b63;color:#fff}
.studio-preview-heading>div{display:grid;gap:4px}
.studio-preview-heading strong{font-size:16px;font-weight:650}
.studio-preview-heading span{font-size:12px;color:#d0dfef}
.studio-preview-heading .btn{background:#fff;color:#173b63;border-color:#fff;min-height:34px;font-size:12px}
.studio-preview-controls{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px;padding:14px 16px 12px;border-bottom:1px solid #e1e8f0;background:#fbfcfe}
.studio-preview-controls label{display:grid;gap:6px;font-size:12px;line-height:1.4;font-weight:650;color:#526b85;min-width:0}
.studio-preview-controls select{width:100%;box-sizing:border-box;min-width:0;border:1px solid #d2dfec;background:#fff;border-radius:6px;padding:9px 7px;font-size:13px;color:#244665}
.studio-preview-controls .studio-preview-client{grid-column:1/-1}
.studio-preview-caption{padding:9px 16px;background:#fff;font-size:12px;color:#61758b;line-height:1.4;min-height:17px}
.studio-preview-viewport{height:calc(100vh - 350px);min-height:390px;max-height:1000px;position:relative;overflow:hidden;background:#e8eef5;border-top:1px solid #d8e3ee;border-bottom:1px solid #d8e3ee}
.studio-preview-viewport iframe{display:block;border:0;transform-origin:top left;background:#fff;max-width:none!important}
.studio-preview-note{padding:12px 16px;font-size:12px;line-height:1.5;color:#657c94;background:#fbfcfe}
.studio-preview-expanded{position:fixed;inset:16px;z-index:10001;max-width:1600px;margin:auto;display:flex;flex-direction:column;box-shadow:0 0 0 100vmax #102740b0}
.studio-preview-expanded .studio-preview-controls{grid-template-columns:2fr 1fr 2fr}
.studio-preview-expanded .studio-preview-client{grid-column:auto}
.studio-preview-expanded .studio-preview-viewport{flex:1;max-height:none;height:auto;min-height:0}
.studio-no-preview{grid-template-columns:minmax(0,1fr)}
.studio-preview-hidden{display:none}
.studio-no-preview .studio-editor-pane{max-width:1000px}
.studio-empty-preview{padding:60px 30px;font:16px/1.6 Arial,sans-serif;color:#536b83;text-align:center}
.studio-editor-pane .admin-section-save-row{font-size:13px}
.studio-editor-pane button:focus-visible,.studio-editor-pane select:focus-visible,.studio-preview-pane button:focus-visible,.studio-preview-pane select:focus-visible{outline:3px solid #75a3ed;outline-offset:2px}
@media(max-width:1280px){.admin-main:has(.studio-layout){padding:18px 16px}.studio-layout{grid-template-columns:minmax(345px,1fr) minmax(325px,.95fr);gap:14px}.studio-edit-section{padding:17px}.studio-section-save{margin:20px -17px -17px;padding:14px 17px;display:block}.studio-section-save>span{display:block;max-width:none;margin-bottom:10px}.studio-title{flex-wrap:wrap}.studio-title>.btn{max-width:none}.studio-layout .studio-editor-pane .form-grid{grid-template-columns:1fr}.studio-preview-controls{padding:12px;gap:8px}}
@media(max-width:1050px){.studio-layout{grid-template-columns:minmax(0,1fr)}.studio-preview-pane{position:relative;top:auto}.studio-preview-viewport{height:560px}.studio-preview-expanded{position:fixed;top:10px;inset:10px}.studio-preview-expanded .studio-preview-viewport{height:auto}.studio-editor-pane{min-width:0}}
@media(max-width:600px){.studio-title h1{font-size:23px}.studio-edit-heading{display:block}.studio-section-state{display:inline-block;margin-top:10px}.studio-preview-expanded{inset:5px}.studio-preview-expanded .studio-preview-controls{grid-template-columns:1fr 1fr}.studio-preview-expanded .studio-preview-client{grid-column:1/-1}.studio-preview-viewport{min-height:330px}.studio-categories button{font-size:13px}.studio-format-toolbar select{max-width:125px}.studio-edit-section .form-grid{grid-template-columns:1fr}}
