/* Approved left navigation layout; original labels and business handlers are retained. */
@media(min-width:981px){
 #app.wrap{max-width:none;grid-template-columns:216px minmax(0,1fr);grid-template-areas:"header header" "domains domains" "sidebar main";grid-template-rows:60px 56px minmax(calc(100vh - 116px),auto)}
 .shell-header{height:60px;padding:0 24px;gap:36px}.shell-brand strong{font-size:24px;color:#153866}.shell-brand span{font-size:15px;color:#254569}.shell-search{width:min(520px,43vw)}
 .shell-domains{height:56px;top:60px;padding:0 20px;gap:12px}.shell-domains button{max-width:180px;min-width:148px;justify-content:center;padding:0 12px}.shell-domain-label b{font-size:15px}.shell-domain-label small{display:none}.shell-domain-icon{font-size:18px}
 .shell-subnav{display:none}
 #app>aside{align-self:start;position:sticky;top:116px;height:calc(100vh - 116px);max-height:calc(100vh - 116px);margin:0;padding:12px 10px 24px;border:0;border-right:1px solid #e0e8f3;border-radius:0;background:#f8fbff;box-shadow:none;overscroll-behavior:contain;scrollbar-width:thin}
 #app>aside>.brand{display:none}#app>aside nav{display:flex;flex-direction:column}.shell-nav-group{padding:10px 0;border-bottom:1px solid #e4ecf7}.shell-nav-group:has(button.active){order:-1}.shell-nav-heading{font-size:14px;padding:9px 12px;color:#284b78}.shell-nav-group:has(button.active)>.shell-nav-heading{color:#1268e8}.shell-nav-heading small{font-size:10px}
 .shell-nav-items{grid-template-columns:minmax(0,1fr);gap:2px}#app>aside nav button{height:35px;font-size:13px;padding:0 14px 0 28px;font-weight:500;border-radius:6px}#app>aside nav button.active{background:#e4efff;color:#1164db;font-weight:700;box-shadow:inset 3px 0 #176bed}
 #app main{padding:20px 24px 32px}#app main>.top{padding:0 0 16px;background:transparent;border:0;box-shadow:none;border-radius:0;margin-bottom:0}#app main>.top h1{font-size:23px;margin-bottom:7px}.shell-shortcuts{gap:10px;margin-bottom:16px}.shell-shortcuts button{height:40px}
 #pages .card{box-shadow:none}.ft-editor-launch{padding:14px 18px}.ft-editor-launch>strong{font-size:14px}.ft-editor-open{min-height:36px}
}
@media(max-width:980px){#app>aside{left:0;right:auto;border-right:1px solid #dce7f5;box-shadow:18px 0 40px #183b6629}.shell-nav-items{grid-template-columns:1fr}#app>aside nav button{font-size:13px;height:38px;padding-left:22px}}
#pages #memberAdminCard .member-admin-list{display:block;padding:0;overflow:auto}
#pages #memberAdminCard table.ft-member-table{border-collapse:collapse;min-width:880px;width:100%;font-size:13px}
#pages #memberAdminCard .ft-member-table>tbody>tr.member-admin-row{display:table-row!important;background:white;border:0;border-radius:0;box-shadow:none;padding:0;color:#294365}
#pages #memberAdminCard .ft-member-table>tbody>tr.member-admin-row[hidden]{display:none!important}
#pages #memberAdminCard .ft-member-table th{font-size:12px;height:46px;padding:10px 16px;white-space:nowrap}
#pages #memberAdminCard .ft-member-table td{height:58px;padding:10px 16px;border-bottom:1px solid #e5edf7;vertical-align:middle}
#pages #memberAdminCard .ft-member-table td small{display:block;font-size:11px;color:#7c8fa8;margin-top:4px}
#pages #memberAdminCard .ft-member-table .ft-member-actions{display:flex;gap:8px;align-items:center}
#pages #memberAdminCard .ft-member-table .ft-member-actions>.ft-editor-launch{border:0;background:none;padding:0;margin:0;display:block}
#pages #memberAdminCard .ft-member-table .ft-member-actions>.ft-editor-launch>strong{display:none}
#pages #memberAdminCard .ft-member-table .ft-member-actions .btn{font-size:12px;min-width:58px;min-height:32px;padding:5px 10px;white-space:nowrap}
.ft-member-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:4px}
.ft-member-form .member-admin-field{display:grid;align-content:start;gap:7px;min-width:0}.ft-member-form .member-admin-field>strong{font-size:12px;color:#35577f}.ft-member-form .member-admin-actions-wrap{grid-column:1/-1;border-top:1px solid #e3ebf6;padding-top:16px}.ft-member-form .member-admin-actions{display:flex;gap:10px;flex-wrap:wrap}.ft-member-form .member-admin-field-wide{grid-column:span 2}
.ft-member-state{display:inline-flex;gap:6px;align-items:center;font-size:12px}.ft-member-state:before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.ft-member-table-header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px}.ft-member-table-header h3{border:0!important;padding:0!important}
.ft-page-actions{display:flex;gap:10px;flex-wrap:wrap;padding:14px 16px;background:#fff;border:1px solid #dfe8f5;border-radius:9px;min-width:0}
.ft-page-actions>.ft-editor-launch{display:block;border:0;padding:0;margin:0;background:none}.ft-page-actions>.ft-editor-launch>strong{display:none}.ft-page-actions .ft-editor-open{font-size:13px;padding:8px 14px;background:#f6f9ff;border-color:#cedef4;color:#1766cd}.ft-page-actions>.ft-editor-launch:first-child .ft-editor-open{background:#176bea;color:white;border-color:#176bea}
.ft-page-actions>.ft-editor-launch[data-ft-create="1"]{order:-1}.ft-page-actions>.ft-editor-launch:first-child:not([data-ft-create]) .ft-editor-open{background:#f6f9ff;color:#1766cd;border-color:#cedef4}.ft-page-actions>.ft-editor-launch[data-ft-create="1"] .ft-editor-open{background:#176bea;color:#fff;border-color:#176bea}
.shell-shortcuts{display:none}
@media(min-width:981px){.shell-member-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:12px 16px}.shell-member-search{width:330px;flex:0 1 360px;max-width:360px;height:38px}.shell-member-options{gap:9px}.shell-member-help{flex-basis:100%;font-size:10px}.shell-member-filters{gap:5px}.shell-member-filter{padding:0 9px;font-size:11px}}
dialog.ft-editor{width:min(800px,94vw);background:#fff}.ft-editor-body{background:#fff}.ft-editor-footer{gap:10px}
@media(max-width:700px){.ft-member-form{grid-template-columns:1fr}.ft-member-form .member-admin-field-wide{grid-column:span 1}}
