/* V8 – only presentation. Does not alter PHP, APIs, contact records or theme settings. */
.content-wrap{max-width:1720px;width:100%;margin-inline:auto;padding-inline:clamp(18px,2.5vw,36px)}
.main-grid{grid-template-columns:minmax(0,1fr) minmax(270px,300px);gap:22px;align-items:start}
.main-grid>*{min-width:0}
.stats-grid{gap:14px}
.panel{border-radius:15px}
.directory-panel{min-width:0}
.right-rail{gap:16px;min-width:0}
.right-rail .category-panel,.right-rail .tools-panel{min-width:0}
.right-rail .rail-categories{max-height:430px;overflow-y:auto;overscroll-behavior:contain;padding-right:5px;scrollbar-width:thin}
.right-rail .cat-name{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.right-rail .cat-count{flex:none}
.right-rail .tool-list>button{min-width:0}
.right-rail .tool-list>button>span:nth-child(2){min-width:0}
.right-rail .tool-list strong,.right-rail .tool-list small{overflow-wrap:anywhere}
#meb-director-paste{scroll-margin-top:26px;overflow:hidden}
#meb-director-paste>.panel-heading{padding:22px 24px 12px}
#meb-director-paste>.director-import-body{padding:12px 24px 24px!important}
#directorPaste{min-height:140px!important;resize:vertical;line-height:1.6;background:var(--surface);color:var(--text);border-color:var(--border)!important}
#directorFullSnapshot{width:17px;height:17px;accent-color:var(--accent)}
#directorPreview{max-width:100%;min-width:0;overflow:auto;scrollbar-width:thin}
#directorPreview table{width:100%;border-collapse:collapse}
#directorPreview td,#directorPreview th{padding:10px 12px;overflow-wrap:anywhere}
#meb-reports{margin-top:22px;padding:24px}
#meb-reports .meb-insights-head{padding-bottom:14px;border-bottom:1px solid var(--border)}
#meb-reports .meb-insights-head h3{font-size:19px}
#meb-reports h4{font-size:14px;margin:21px 0 8px}
#meb-reports .table-scroll{border-radius:12px;overflow:auto}
#meb-reports .directory-table{min-width:720px;table-layout:auto}
#meb-reports .directory-table th,#meb-reports .directory-table td{font-size:12px;line-height:1.5;vertical-align:middle}
#meb-reports .directory-table td:first-child{font-weight:650;min-width:235px}
#meb-reports .directory-table td:last-child{min-width:195px;white-space:normal}
#meb-reports .directory-table td:last-child button,#meb-reports .directory-table td:last-child a{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:normal;min-height:30px;margin:2px;vertical-align:middle}
#mebWarningSummary{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:11px 13px;margin:14px 0;color:var(--text)}
.changes-disclosure{margin-top:24px;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--surface)}
.changes-disclosure>summary{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;cursor:pointer;list-style:none;padding:16px 18px;font-weight:750;color:var(--text);background:var(--surface-2)}
.changes-disclosure>summary::-webkit-details-marker{display:none}
.changes-disclosure>summary:after{content:'⌄';font-size:21px;line-height:1;color:var(--muted)}
.changes-disclosure[open]>summary:after{content:'⌃'}
.changes-disclosure>summary small{font-size:11px;color:var(--muted);font-weight:500;margin-left:auto}
.changes-disclosure .table-scroll{border:0!important;border-top:1px solid var(--border)!important;border-radius:0!important}
@media(max-width:1150px){.main-grid{grid-template-columns:minmax(0,1fr)}.right-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.right-rail .rail-categories{max-height:320px}}
@media(max-width:740px){.content-wrap{padding-inline:14px}.right-rail{grid-template-columns:minmax(0,1fr)}#meb-director-paste>.panel-heading{padding:17px 16px 8px}#meb-director-paste>.director-import-body{padding:12px 16px 18px!important}#meb-reports{padding:15px}#meb-reports .meb-insights-head h3{font-size:16px}.changes-disclosure>summary{padding:14px}.changes-disclosure>summary small{width:100%;margin:0}}
@media print{.changes-disclosure{display:none!important}}

/* V9 - Visual enhancement only; retains existing forms, element IDs, endpoints, role behavior and records */
:root{--bg:#f3f6fd;--accent:#2864ef;--accent-hover:#1651dc;--radius:19px;--shadow:0 10px 35px rgba(22,49,98,.065)}
body{background:var(--bg)}
.sidebar{background:linear-gradient(167deg,#0d1c37 1%,#18355d 58%,#101f3b 100%);box-shadow:6px 0 25px #173c7410}
.sidebar .nav-item{border:1px solid transparent;border-radius:12px}
.sidebar .nav-item.active{background:linear-gradient(105deg,#2d6df4,#224d9b);border-color:#659aff37;box-shadow:0 7px 20px #071d4d40}
.sidebar-tip{background:linear-gradient(135deg,#214d89,#1a2b4a);border-color:#4f85cb4d}
.content-wrap{max-width:1780px}
.page-heading{margin-bottom:20px}
.hero{min-height:204px;background:radial-gradient(circle at 82% 15%,#7643f0bb 0,transparent 35%),radial-gradient(circle at 62% 90%,#0b9bb166 0,transparent 40%),linear-gradient(112deg,#102c60,#1164d2 69%,#6329cf);border:1px solid #477ff855;border-radius:20px;box-shadow:0 13px 34px #183ca52b}
.hero-copy{padding:30px 36px}.hero h2{font-size:clamp(26px,2.4vw,37px);letter-spacing:-1.4px}.hero h2 span{color:#bbecff}.hero p{font-size:12px;max-width:510px;color:#e0ebff}.hero-chip{background:#ffffff1b;border-radius:40px}
.hero-art{opacity:.85}.art-one{background:#12b8a33b}.art-two{background:#ffffff21}.art-dot.green{background:#31ddb0}
.stat-card{position:relative;overflow:hidden;border:1px solid #e6edfa;border-radius:17px;min-height:143px;transition:transform .2s,box-shadow .2s;box-shadow:0 8px 22px #1837600a}
.stat-card:hover{transform:translateY(-3px);box-shadow:0 14px 25px #18376017}
.stat-card:after{content:'';position:absolute;right:-32px;bottom:-60px;width:122px;height:122px;border-radius:50%;background:var(--stat-wash);pointer-events:none}
.stat-card:nth-child(1){--stat-wash:#2d70ff0e;border-top:3px solid #3984ff}.stat-card:nth-child(2){--stat-wash:#843bff0f;border-top:3px solid #8553f7}.stat-card:nth-child(3){--stat-wash:#ffa32b17;border-top:3px solid #f0a43a}.stat-card:nth-child(4){--stat-wash:#08af8712;border-top:3px solid #11bb8b}
.stat-symbol{width:43px;height:43px;border-radius:13px}.stat-symbol.blue{background:#e5efff;color:#2876fc}.stat-symbol.purple{background:#eee6ff;color:#8850eb}.stat-symbol.amber{background:#fff0d9;color:#e98f16}.stat-symbol.green{background:#dffaf0;color:#02ac7b}.stat-value{font-size:clamp(25px,2.4vw,34px)}
.panel{border-color:#e5ebf6;border-radius:17px;box-shadow:0 7px 30px #1636600a}.directory-panel{overflow:hidden}
.panel-heading h2,.rail-head h2{font-size:18px}.section-kicker{color:#487af3}.small-count{border-radius:20px}
.directory-table th{background:#f2f5fb;color:#667898}.directory-table tbody tr{transition:background .15s}.directory-table tbody tr:nth-child(even){background:#fbfcff}.directory-table tbody tr:hover{background:#edf4ff}.person-avatar{border-radius:12px}.button-primary{background:linear-gradient(115deg,#347dff,#255bec);box-shadow:0 5px 14px #2e6aff25}.button{border-radius:10px}
.right-rail .category-panel{border-top:3px solid #4a8afb}.right-rail .tools-panel{border-top:3px solid #11bbac}.right-rail .rail-categories{max-height:350px}
.director-command{margin:0 0 22px;border:1px solid #ffced6;border-radius:19px;overflow:hidden;background:linear-gradient(112deg,#fff7f7,#fff 61%,#fbf5ff);box-shadow:0 10px 25px #ca4c6520}
.director-command-head{padding:19px 22px 16px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.director-command-title{display:flex;gap:14px;align-items:center}.director-alert-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,#ff675e,#ed315c);color:#fff;font-size:25px;font-weight:900;box-shadow:0 9px 19px #e7435c35}
.director-command-title h2{font-size:18px;margin:3px 0 4px;color:#762b49}.director-command-title p{margin:0;font-size:11px;color:#9e6879;line-height:1.5}
.director-command .section-kicker{color:#e24865}.director-command-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-block:1px solid #f8dfe6;background:#f6dce4}
.dir-metric{display:flex;flex-direction:column;padding:18px 22px;background:#fffdfd;min-width:0}.dir-metric>span{font-size:11px;color:#8b5267;font-weight:800}.dir-metric strong{font-size:30px;line-height:1.35;font-weight:900;color:#bd2751;font-variant-numeric:tabular-nums}.dir-metric small{font-size:10px;color:#a07c86}
.dir-metric:nth-child(2) strong{color:#e68a24}.dir-metric:nth-child(3) strong{color:#8456e5}.dir-metric:nth-child(4) strong{color:#2177d8}
.director-command-foot{display:flex;align-items:center;gap:9px;padding:12px 22px;color:#8d6075;font-size:11px;background:#fff8fa}.director-live-dot{width:8px;height:8px;background:#20b58d;border-radius:50%;box-shadow:0 0 0 4px #20b58d18}.director-command-foot button{margin-left:auto;padding:7px 9px;border:1px solid #f1ccda;background:#fff;border-radius:8px;color:#b03861;cursor:pointer;font-weight:700}
.director-watch-panel{border:1px solid #f3c9d2!important;box-shadow:0 7px 30px #ca4c6514!important;background:linear-gradient(180deg,#fff8fa 0,#fff 155px)!important}
.director-watch-panel .meb-insights-head{border-bottom-color:#f4dce1!important}.director-watch-panel .meb-insights-head h3{color:#9e3154;font-size:19px!important}
#mebWarningSummary{background:#fff!important;border-color:#f2d7dd!important;color:#834c5f!important}
#mebWarningRows tr:nth-child(even){background:#fff9fa}.director-watch-panel #mebWarningRows td:first-child{font-weight:800;color:var(--text)}.director-watch-panel #mebWarningRows td:last-child{min-width:205px}
#meb-director-paste{border-top:3px solid #6d56e7;background:linear-gradient(180deg,#f9f7ff 0,#fff 145px)}
#meb-reports .directory-table th:nth-child(n),#meb-reports .directory-table td:nth-child(n){text-align:left;padding:11px 13px}
body.theme-dark .director-command{background:linear-gradient(115deg,#382737,#242b45);border-color:#77394d}body.theme-dark .director-command-title h2{color:#ffbbcf}body.theme-dark .director-command-title p,body.theme-dark .director-command-foot{color:#dfb0c1}body.theme-dark .director-command-stats{background:#603848;border-color:#653d50}body.theme-dark .dir-metric{background:#28263b}body.theme-dark .dir-metric>span{color:#f4c6d6}body.theme-dark .director-command-foot{background:#302537}body.theme-dark .director-watch-panel{background:var(--surface)!important}body.theme-dark .directory-table tbody tr:nth-child(even){background:var(--surface)}
@media(max-width:1100px){.director-command-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.director-command-head{flex-direction:column;align-items:stretch;padding:17px}.director-command-title h2{font-size:15px}.director-command-title p{font-size:10px}.director-command-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dir-metric{padding:13px}.dir-metric strong{font-size:25px}.director-command-foot{flex-wrap:wrap;padding:11px 14px}.director-command-foot button{margin-left:0}.hero-copy{padding:22px}}
@media print{.director-command{display:none!important}}

/* V10: faithful visual architecture from initial mockup. Existing APIs/IDs untouched. */
body{background:#f2f5fc}.content-wrap{max-width:1800px}.page-heading{margin-bottom:12px}.page-heading h1{font-size:24px}.page-heading p{font-size:11px}.hero{position:relative;display:flex;min-height:222px;background:radial-gradient(ellipse at 84% 9%,#7039f5 0%,transparent 35%),linear-gradient(114deg,#102e60 0%,#1265d0 61%,#5829cf 100%);border-radius:18px;overflow:hidden}.hero-copy{position:relative;z-index:2;width:61%;padding:28px 35px}.hero h2{font-size:clamp(26px,2.6vw,40px);max-width:670px;color:#fff;line-height:1.15}.hero p{font-size:13px;line-height:1.6;max-width:515px;margin-top:12px}.hero-link{border-radius:9px;background:#fff!important;color:#1e56af!important;font-weight:800!important}.hero-school-scene{position:absolute;right:3%;bottom:0;top:0;width:47%;height:100%;pointer-events:none;opacity:1!important}.school-svg{display:block;position:absolute;bottom:-8px;right:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 9px 13px #001b4640)}.hero-script{position:absolute;right:1%;top:17px;color:#fff;font-size:15px;font-weight:750;font-style:italic;line-height:1.6;text-shadow:0 2px 8px #1b267ba0;transform:rotate(-8deg);max-width:160px;text-align:right}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:16px 0 20px}.stat-card{min-height:124px;padding:19px!important;background:#fff}.stat-card:nth-child(1){border-top:0;border-left:4px solid #2674fa}.stat-card:nth-child(2){border-top:0;border-left:4px solid #13b982}.stat-card:nth-child(3){border-top:0;border-left:4px solid #8e50ed}.stat-card:nth-child(4){border-top:0;border-left:4px solid #ff7b40}.stat-card:nth-child(2) .stat-symbol{background:#dff8ef;color:#12a875}.stat-card:nth-child(3) .stat-symbol{background:#f1e9ff;color:#8549dd}.stat-card:nth-child(4) .stat-symbol{background:#fff0e6;color:#f87941}.stat-card .stat-value{font-size:32px;margin-top:7px;color:#112957}.stat-title{font-size:12px;font-weight:800}.stat-foot{font-size:10px}.stat-trend{color:#8d9ab2;font-size:9px}
.main-grid{grid-template-columns:minmax(0,1fr) minmax(265px,310px);align-items:start;gap:17px}.directory-panel{box-shadow:0 8px 25px #162c5d0b;min-width:0}.right-rail{gap:15px}.right-rail .panel{box-shadow:0 8px 25px #162c5d0b}.directory-table{min-width:790px}.directory-table th{font-size:10px;letter-spacing:.3px}.directory-table td{font-size:11px}.directory-panel .panel-heading{padding-bottom:15px}.panel-heading h2{color:#1c325d}.sidebar{background:linear-gradient(180deg,#0f2447 0%,#1c3a61 100%)}.sidebar .nav-item.active{background:linear-gradient(110deg,#326bda,#19478e)}
.director-command{margin:20px 0 18px;border:1px solid #f4bcc9;border-radius:17px;background:linear-gradient(105deg,#fff5f7,#fffafb)}.director-command-head{padding:20px 22px}.director-command-title h2{color:#922646;font-size:19px}.director-command-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.dir-metric{background:#fff8fa}.dir-metric strong{color:#dc3159}.director-command .button-primary{background:linear-gradient(110deg,#fa5566,#e12d56)}.director-watch-panel{border:1px solid #f3cbd2!important;background:#fffafa!important}.director-watch-panel .directory-table{min-width:680px}.director-watch-panel .directory-table th{background:#fff0f3;color:#9e5268}.director-watch-panel #mebWarningRows tr:hover{background:#fff0f4}
#meb-director-paste{background:#fff;border-top:3px solid #7860f1}.tools-panel{border-top:3px solid #10b9aa}.category-panel{border-top:3px solid #2878f4}
@media(min-width:1500px){.hero{min-height:244px}.hero-school-scene{right:4%;width:42%}}@media(max-width:1150px){.main-grid{grid-template-columns:1fr}.right-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-school-scene{width:48%}}@media(max-width:820px){.hero-copy{width:78%;padding:24px}.hero-school-scene{right:-13%;opacity:.42!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.director-command-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.right-rail{grid-template-columns:1fr}}@media(max-width:500px){.hero{min-height:220px}.hero-copy{width:95%}.hero h2{font-size:27px}.hero-script{display:none}.stats-grid{gap:9px}.stat-card{padding:13px!important;min-height:120px}.stat-card .stat-value{font-size:26px}.director-command-head{padding:15px;flex-direction:column;align-items:stretch}.director-command-title h2{font-size:17px}}
body.theme-dark .stat-card{background:var(--surface)}body.theme-dark .stat-card .stat-value,body.theme-dark .panel-heading h2{color:#ecf2ff}body.theme-dark .director-command{background:#352638}body.theme-dark .dir-metric{background:#28283d}body.theme-dark .director-watch-panel{background:var(--surface)!important}

/* V11: use reference layout rather than decorative reskin. Retain original functioning IDs and API binds. */
:root{--v11-navy:#10284d;--v11-blue:#216cff;--v11-purple:#7842f5;--v11-red:#f33e59}
body{background:#f2f5fc}.app-main{background:#f3f6fc}.sidebar{background:linear-gradient(175deg,#102448 0%,#18365d 85%,#11274b 100%)!important;box-shadow:7px 0 34px #0c20441b}.sidebar .brand{padding-block:20px}.sidebar .nav-item{border-radius:10px;margin:2px 10px;transition:background .2s}.sidebar .nav-item:hover{background:#ffffff13}.sidebar .nav-item.active{background:linear-gradient(110deg,#2878ff,#214b9d)!important}.content-wrap{max-width:1720px;padding-top:14px}.page-heading{display:none!important}
.topbar{min-height:60px;background:#fff;box-shadow:0 2px 14px #2945750a}.hero{margin-top:8px;min-height:224px!important;border:1px solid #ffffff30;box-shadow:0 10px 26px #16459018}.hero-copy{width:62%}.hero h2{font-size:clamp(27px,3vw,41px);font-weight:850;letter-spacing:-1.3px}.hero p{font-size:14px}.hero-school-scene{width:46%!important;right:2%!important}.school-svg{width:100%!important;height:100%!important;filter:drop-shadow(0 12px 14px #06266144)}.hero-script{right:0;top:23px}
.stats-grid{margin:14px 0!important;gap:13px}.stat-card{position:relative;min-height:118px!important;box-shadow:0 7px 21px #193d7510;border:1px solid #e7ebf4!important;border-radius:14px!important;overflow:hidden}.stat-card:after{content:'';position:absolute;right:18px;bottom:19px;width:70px;height:35px;background:repeating-linear-gradient(90deg,transparent 0 6px,#4387ff58 6px 9px,transparent 9px 13px);mask-image:linear-gradient(to top,#000 0%,transparent 99%);opacity:.7}.stat-card:nth-child(2):after{filter:hue-rotate(90deg)}.stat-card:nth-child(3):after{filter:hue-rotate(45deg)}.stat-card:nth-child(4):after{filter:hue-rotate(155deg)}.stat-card:nth-child(1){border-left:4px solid #287aff!important}.stat-card:nth-child(2){border-left:4px solid #18bf91!important}.stat-card:nth-child(3){border-left:4px solid #8753ed!important}.stat-card:nth-child(4){border-left:4px solid #ff8556!important}
.main-grid{grid-template-columns:minmax(0,1fr) minmax(270px,320px)!important;gap:15px}.directory-panel,.right-rail .panel{border:1px solid #e9edf6;border-radius:15px;box-shadow:0 6px 23px #1835600a}.right-rail{gap:15px}.panel-heading h2,.rail-head h2{letter-spacing:-.4px}.directory-panel .table-scroll{max-width:100%;overflow-x:auto}.directory-table thead{background:#f6f8fd}.directory-table tr:hover td{background:#f7faff}.button-primary{background:#256ffc}.category-panel{border-top:3px solid #2a78ff!important}.tools-panel{border-top:3px solid #12bda2!important}
.director-command{margin:17px 0 0!important;border-radius:15px 15px 0 0!important;border:1px solid #ffb9c5!important;border-bottom:0!important;background:linear-gradient(110deg,#fff0f2,#fff9fa)!important;box-shadow:0 6px 23px #a3203510}.director-command-title h2{color:#8e163a!important}.director-command-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.dir-metric{border-color:#f6dce1!important;background:#fff!important}.dir-metric strong{color:#d92f54!important}
.director-warning-table{margin:0 0 20px!important;border:1px solid #ffb9c5!important;border-top:0!important;border-radius:0 0 15px 15px!important;background:#fff8f9!important;box-shadow:0 10px 25px #a3203510;padding-top:4px!important}.director-warning-table .meb-insights{background:transparent!important}.director-warning-table .meb-insights-head h3{color:#8e163a;font-size:19px}.director-warning-table .directory-table thead th{background:#ffe8ed!important;color:#9b3048}.director-warning-table .table-scroll{max-height:380px;overflow:auto;border:1px solid #f4d6dd;border-radius:10px;background:white}.director-warning-table .changes-disclosure{margin-top:14px}.director-warning-table .changes-disclosure .table-scroll{max-height:260px}.director-warning-table #mebWarningRows td{vertical-align:middle}
#meb-director-paste{border:1px solid #e2e7f6;border-top:4px solid #7653ec;border-radius:15px;margin-top:12px!important;box-shadow:0 6px 23px #1835600a}.bottom-note{padding-bottom:23px}
@media(max-width:1200px){.main-grid{grid-template-columns:1fr!important}.right-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-school-scene{width:50%!important}.director-command-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.right-rail{grid-template-columns:1fr}.hero-copy{width:90%}.hero-school-scene{opacity:.38!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.director-command-head{flex-direction:column;align-items:stretch}}
@media(max-width:470px){.hero h2{font-size:27px}.stats-grid{gap:8px}.stat-card{min-height:108px!important;padding:12px!important}.stat-card:after{display:none}.director-command-stats{gap:8px}.dir-metric{min-width:0}}

/* V12: screenshot-aligned desktop SaaS composition; base functional components untouched */
:root{--premium-blue:#2369ff;--premium-navy:#122950;--premium-ink:#192c55}
body{font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;background:#f4f7fd!important;color:#1d3054}
.app-main{background:#f4f7fd!important}.content-wrap{max-width:1700px!important;margin:0 auto;padding:18px 24px 25px!important}
.sidebar{width:240px!important;background:linear-gradient(165deg,#102449 0%,#18365f 65%,#163052 100%)!important}
.brand{gap:11px!important;padding:19px 15px!important}.brand-words strong{font-size:18px!important;letter-spacing:-.6px}.brand-words small{font-size:7px!important;letter-spacing:.3px!important}.brand-mark{background:linear-gradient(140deg,#3a8dff,#1253e3)!important;border-radius:12px!important;width:40px;height:40px}
.sidebar-nav .nav-item{margin:3px 10px!important;padding:11px 12px!important;font-size:12px!important}.sidebar .nav-counter{background:#fa445f!important;color:white!important}
.app-shell{grid-template-columns:240px minmax(0,1fr)!important}.topbar{padding:0 24px!important;min-height:68px!important;border-bottom:1px solid #e8edf7!important}.topbar-left{gap:14px!important}.global-search{display:flex;align-items:center;gap:10px;background:#f4f6fa;border:1px solid #e8edf5;border-radius:10px;padding:10px 13px;color:#8b98b0;font-size:12px;min-width:min(390px,40vw);cursor:pointer}.global-search .icon{width:17px;color:#7184a9}.global-search span{flex:1}.global-search kbd{font-size:10px;background:#e9edf5;border-radius:5px;padding:3px 5px}.crumb-muted,.crumb-icon,.topbar-left>strong{display:none!important}
.hero{min-height:205px!important;margin:0 0 14px!important;border-radius:17px!important;background:radial-gradient(circle at 68% -15%,#3a9aff77,transparent 40%),linear-gradient(108deg,#102b58 2%,#0d5cc9 58%,#6326dd 100%)!important;overflow:hidden!important}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(140deg,transparent 50%,#ffffff0d 60%,transparent 70%);pointer-events:none}.hero-copy{padding:31px 36px!important;width:61%!important}.hero-chip{font-size:10px!important;letter-spacing:1px}.hero h2{font-size:clamp(30px,3vw,41px)!important;max-width:680px!important;line-height:1.12!important;letter-spacing:-1.1px!important;margin-top:10px!important}.hero p{font-size:14px!important;margin-top:8px!important;max-width:540px!important}.hero-link{margin-top:15px!important;padding:10px 15px!important;box-shadow:0 4px 12px #001b4830!important}.hero-school-scene{width:45%!important;right:1.4%!important}.school-svg{max-height:210px;top:auto!important;bottom:-12px!important}.hero-script{z-index:2;right:0!important;top:27px!important;max-width:135px!important;font-size:15px!important}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:0 0 15px!important}.stat-card{border:1px solid #e8edf7!important;border-left:0!important;min-height:136px!important;border-radius:14px!important;padding:18px 20px!important;box-shadow:0 6px 20px #132e600a!important}.stat-card:after{display:none!important}.stat-card .stat-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:10px}.stat-symbol{width:42px!important;height:42px!important;border-radius:11px!important}.stat-symbol.blue{background:linear-gradient(135deg,#438eff,#155bf0)!important;color:#fff!important}.stat-symbol.green{background:linear-gradient(135deg,#30c993,#05a970)!important;color:#fff!important}.stat-symbol.purple{background:linear-gradient(135deg,#9d64ff,#6933e6)!important;color:#fff!important}.stat-symbol.orange{background:linear-gradient(135deg,#ff9260,#fa5335)!important;color:#fff!important}.stat-card .stat-title{font-size:12px!important;font-weight:760!important;color:#293f6d!important}.stat-card .stat-value{font-size:32px!important;color:#112f70!important;line-height:1.25!important;margin:4px 0 0!important}.stat-foot{font-size:10px!important;color:#91a0b9!important}.stat-micrograph{font-size:25px;font-weight:900;letter-spacing:1px;color:#9fc1ff;align-self:center}.stat-card:nth-child(2) .stat-micrograph{color:#89e6c3}.stat-card:nth-child(3) .stat-micrograph{color:#d0adff}.stat-card:nth-child(4) .stat-micrograph{color:#ffc2a9}.warning-stat{background:linear-gradient(105deg,#fff,#fff3f1)!important;cursor:pointer}.warning-stat .stat-value{color:#b82f58!important}
.main-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 305px!important;gap:15px!important;align-items:start}.right-rail{display:flex!important;flex-direction:column!important;gap:14px!important}.directory-panel,.right-rail .panel{border-radius:14px!important;border:1px solid #e8edf8!important;box-shadow:0 5px 22px #1433590b!important;overflow:hidden!important}.directory-panel .panel-heading{padding:17px 20px 12px!important}.directory-panel .panel-heading h2,.rail-head h2{font-size:18px!important;font-weight:800!important}.directory-panel .panel-heading p{font-size:11px!important}.directory-panel .table-tools{padding:8px 14px!important}.directory-table thead{background:#f5f7fc!important}.directory-table thead th{color:#667899!important;padding:12px 9px!important;font-weight:800!important;white-space:nowrap}.directory-table td{padding:11px 9px!important;border-color:#f0f3fa!important}.directory-table tbody tr:hover td{background:#f3f7ff!important}.directory-panel .table-scroll{overflow-x:auto!important}.directory-table{min-width:840px}.filter-chip{border-radius:8px!important}.right-rail .panel{padding:16px!important}.right-rail .rail-head{padding:0 0 12px!important}.rail-categories{max-height:265px!important;overflow-y:auto!important}.rail-category{border-bottom:1px solid #edf1f8!important;padding:9px 0!important}.right-rail .tools-panel{border-top:0!important}.right-rail .category-panel{border-top:0!important}
.premium-distribution .premium-donut-wrap{display:flex;align-items:center;gap:13px;padding:8px 0}.premium-donut{flex:0 0 130px;width:130px;height:130px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#dce5f5 0 100%);position:relative}.premium-donut:after{content:'';position:absolute;inset:22px;border-radius:50%;background:#fff}.premium-donut>div{z-index:1;position:relative;text-align:center;display:flex;flex-direction:column}.premium-donut strong{font-size:23px;color:#1c3569}.premium-donut small{color:#94a2bb;font-size:9px}.premium-legend{min-width:0;flex:1;display:flex;flex-direction:column;gap:7px}.premium-legend-row{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:6px;font-size:10px;color:#596d91}.premium-legend-row b{color:#1a356a}.premium-legend-dot{width:7px;height:7px;border-radius:50%}
.premium-activity-rows{display:flex;flex-direction:column;gap:0;max-height:250px;overflow:auto}.premium-activity-item{padding:10px 0;border-bottom:1px solid #edf1f7;display:flex;align-items:flex-start;gap:10px;font-size:11px}.premium-activity-item>span:first-child{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#eaf0ff;color:#336bea;flex-shrink:0}.premium-activity-item b{display:block;color:#233b69;overflow-wrap:anywhere}.premium-activity-item small{display:block;color:#97a4bd;margin-top:3px}.premium-activity .mini-link{font-size:11px;color:#216aff}
.director-command{margin:15px 0 0!important;border-radius:14px 14px 0 0!important;background:linear-gradient(100deg,#fff0f3,#fff9fa)!important;border-color:#ffbec9!important}.director-command-head{padding:16px 20px!important}.director-command-title h2{font-size:19px!important}.director-command-stats{gap:0!important;padding:0 10px!important}.dir-metric{background:#fff8fa!important;border:0!important;border-right:1px solid #f5dce3!important;border-radius:0!important}.director-command .button-primary{background:#f04459!important}.director-watch-panel{margin:0 0 15px!important;border-radius:0 0 14px 14px!important;background:#fffafb!important;border-color:#ffbec9!important}.director-watch-panel .meb-insights{padding:14px 18px!important}.director-watch-panel .table-scroll{max-height:315px!important}.director-watch-panel .directory-table{min-width:700px!important}.director-watch-panel .directory-table thead th{background:#ffeaf0!important;color:#9f3d54!important}.director-watch-panel #mebWarningRows td{padding:13px 12px!important}.director-watch-panel #mebWarningRows tr:nth-child(odd) td{background:#fff7f8}.director-watch-panel #mebWarningRows tr:nth-child(even) td{background:#fff}.director-watch-panel .meb-insights-head h3{font-size:18px!important}.changes-disclosure{max-width:100%;overflow:hidden}.director-command-foot{padding:12px 20px!important}
#meb-director-paste{border-top:3px solid #7d55ee!important}.bottom-note{padding:20px 0!important}
@media(max-width:1350px){.main-grid{grid-template-columns:minmax(0,1fr) 285px!important}.premium-donut{flex-basis:110px;width:110px;height:110px}.premium-donut:after{inset:19px}.premium-donut-wrap{gap:8px!important}}
@media(max-width:1120px){.main-grid{grid-template-columns:1fr!important}.right-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.global-search{min-width:250px}}
@media(max-width:760px){.app-shell{grid-template-columns:1fr!important}.sidebar{width:240px!important}.content-wrap{padding:12px!important}.right-rail{grid-template-columns:1fr!important}.hero-copy{width:100%!important;padding:23px!important}.hero h2{font-size:29px!important}.hero-school-scene{opacity:.23!important;right:-25%!important;width:90%!important}.global-search{display:none}.director-command-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.director-command-head{flex-direction:column!important;align-items:stretch!important}}
@media(max-width:480px){.stats-grid{gap:9px!important}.stat-card{padding:12px!important;min-height:112px!important}.stat-card .stat-value{font-size:26px!important}.stat-micrograph{font-size:16px!important}.stat-symbol{width:35px!important;height:35px!important}.stat-card .stat-title{font-size:11px!important}.hero{min-height:215px!important}.hero p{font-size:12px!important}.director-command-stats{padding:0 5px!important}}
body.theme-dark .premium-donut:after{background:var(--surface,#152641)}body.theme-dark .premium-activity-item b,body.theme-dark .premium-donut strong{color:#e4edff}

/* V13: real two-column dashboard with warnings immediately after the directory */
.main-grid{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(285px,325px)!important;align-items:start!important;gap:16px!important}
.primary-column{min-width:0;display:flex;flex-direction:column;gap:14px}
.primary-column>.directory-panel{width:100%;margin:0!important;min-width:0}
.primary-column>.director-command{margin:0!important;width:100%;box-sizing:border-box}
.primary-column>.director-warning-table{margin:-14px 0 0!important;width:100%;box-sizing:border-box}
.right-rail{min-width:0;display:flex;flex-direction:column;gap:14px;align-self:start}
.right-rail>.panel{width:100%;min-width:0;box-sizing:border-box}
.right-rail .tools-panel{max-height:380px;overflow-y:auto;overscroll-behavior:contain}
.right-rail .rail-categories{max-height:255px;overflow-y:auto}
.directory-panel .table-scroll{overflow:auto;max-width:100%}
.primary-column .director-command-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.primary-column .dir-metric{min-width:0;padding:13px 9px!important}
.primary-column .dir-metric span{font-size:10px!important;overflow-wrap:anywhere}
.primary-column .director-command-head{padding:16px 18px!important}
.primary-column .director-warning-table{padding:14px 16px!important}
.primary-column .director-warning-table .table-scroll{max-height:345px}
@media(max-width:1200px){.main-grid{grid-template-columns:minmax(0,1fr)!important}.right-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.right-rail .tools-panel{max-height:390px}}
@media(max-width:750px){.right-rail{grid-template-columns:1fr}.primary-column .director-command-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:470px){.content-wrap{padding:12px!important}.primary-column .director-command-head{padding:14px!important}}

/* V14: target-style institutional directory, matching the actual PHP data model */
@media(min-width:1250px){.app-main .content-wrap{max-width:1700px!important}.main-grid{grid-template-columns:minmax(0,1fr) 320px!important}.primary-column{gap:13px}.directory-panel{min-width:0}}
.sidebar{background:linear-gradient(165deg,#142c54,#19345b 65%,#16335f)!important}
.sidebar .nav-item.active{background:linear-gradient(110deg,#246eff,#2155a9)!important}
.hero{border-radius:16px!important;box-shadow:0 12px 28px rgba(32,76,148,.13)!important}
.stats-grid{gap:13px!important}.stat-card{box-shadow:0 9px 24px rgba(36,77,132,.08)!important;border:1px solid #e8edf7!important;border-radius:15px!important}.stat-card .stat-title{font-size:13px!important;font-weight:750!important}.stat-card .stat-value{font-size:34px!important}
.directory-panel{overflow:hidden}.directory-panel .table-scroll{overflow:auto!important}.directory-panel .directory-table{min-width:700px!important;width:100%;table-layout:fixed!important}
.directory-panel .directory-table th,.directory-panel .directory-table td{vertical-align:middle!important;padding:12px 10px!important;font-size:12px!important}
.directory-panel .directory-table th:nth-child(1){width:34px}.directory-panel .directory-table th:nth-child(2){width:29%}.directory-panel .directory-table th:nth-child(3){width:18%}.directory-panel .directory-table th:nth-child(4){width:17%}.directory-panel .directory-table th:nth-child(5){width:17%}.directory-panel .directory-table th:nth-child(6){width:13%}.directory-panel .directory-table th:nth-child(7){width:80px}
.company-cell{display:flex;align-items:center;gap:10px;min-width:0}.school-avatar{width:33px;height:33px;min-width:33px;display:grid;place-items:center;border-radius:10px;background:#e7f1ff;color:#2b72ef}.school-avatar .icon{width:17px;height:17px}.company-cell-text{min-width:0;display:grid;gap:4px}.company-cell-text strong{font-size:11px;line-height:1.4;color:#15274b;white-space:normal;overflow-wrap:anywhere}.company-cell-text small{font-size:10px;color:#98a4bc;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.director-cell{display:flex;flex-direction:column;gap:5px;min-width:0}.director-cell strong{font-size:11px;color:#23365c;font-weight:700;overflow-wrap:anywhere}.director-cell small,.director-cell a{font-size:10px;color:#758aaa}.status-pill{font-size:10px;padding:6px 8px;border-radius:7px;font-weight:800;display:inline-flex;align-items:center;line-height:1.4}.status-ok{background:#ddf7ec;color:#098a5b}.status-missing{background:#ffe5e9;color:#c52e4a}.directory-panel .action-group{gap:3px}
.premium-bars .rail-category{display:grid!important;grid-template-columns:21px minmax(0,1fr) 32px minmax(36px,.7fr)!important;gap:6px!important;align-items:center!important;padding:10px 0!important}.premium-bars .cat-name{min-width:0!important;text-align:left!important;font-size:10px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.premium-bars .cat-count{font-weight:750;font-size:11px!important}.category-meter{height:7px;border-radius:99px;background:#edf1fa;overflow:hidden}.category-meter i{display:block;height:100%;min-width:3px;border-radius:99px;background:linear-gradient(90deg,#317af8,#8255f6)}.premium-bars .rail-category:nth-child(3n+2) .category-meter i{background:linear-gradient(90deg,#1fc5a0,#32aee7)}.premium-bars .rail-category:nth-child(3n+3) .category-meter i{background:linear-gradient(90deg,#f9913d,#f35087)}.premium-bars .cat-actions{grid-column:1/-1;display:none!important}.premium-bars .rail-category:focus-within .cat-actions,.premium-bars .rail-category:hover .cat-actions{display:flex!important}
.director-command{border-radius:15px 15px 0 0!important;margin:0!important}.director-command-head{padding:16px!important}.director-command-title h2{font-size:18px!important}.director-command-title p{font-size:11px!important}.director-command .button-primary{font-size:11px!important}
.director-metrics-disclosure{background:#fff8fa;border-top:1px solid #f8d7e0}.director-metrics-disclosure summary{cursor:pointer;list-style:none;font-size:11px;font-weight:700;color:#ad5369;padding:11px 17px}.director-metrics-disclosure summary:after{content:' ▾'}.director-metrics-disclosure[open] summary:after{content:' ▴'}.director-metrics-disclosure:not([open]) .director-command-stats{display:none!important}
.director-command-foot{background:#fff8fa!important;padding:9px 16px!important}.director-warning-table{padding:5px 12px 12px!important;margin:0!important}.director-warning-table .meb-insights{padding:10px 5px!important}.director-warning-table .meb-insights-head h3{font-size:15px!important}.director-warning-table .table-scroll{max-height:300px!important}.director-warning-table .directory-table{min-width:580px!important}.director-warning-table .directory-table td{font-size:11px!important;padding:9px!important}
.right-rail .panel{padding:17px!important}.right-rail .rail-categories{max-height:360px!important}.right-rail .tools-panel{max-height:260px!important}.premium-activity-rows{max-height:310px!important}
@media(max-width:1199px){.main-grid{grid-template-columns:minmax(0,1fr)!important}.right-rail{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:680px){.right-rail{grid-template-columns:minmax(0,1fr)!important}.directory-panel .directory-table{min-width:700px!important}.director-command-head{flex-direction:column;align-items:stretch}}

/* Üst arama, label yerine erişilebilir buton olarak çalışır. */
button.global-search{font-family:inherit;text-align:left;appearance:none;-webkit-appearance:none;line-height:normal}
button.global-search:hover{border-color:var(--accent,#5278df);background:var(--surface,#fff)}
button.global-search:focus-visible{outline:3px solid var(--accent,#5278df);outline-offset:2px}
