/* FinPro administration revision — November 2026. White brand header, compact workflows. */
:root{--fp3-ink:#102943;--fp3-blue:#2459a7;--fp3-border:#dce5f2;--fp3-bg:#f5f7fb}
.fp-site-header,header.fp-site-header{background:#fff!important;color:var(--fp3-ink)!important;border-color:#e4eaf3!important;box-shadow:0 1px 8px rgba(19,45,78,.055)!important}
.fp-site-header .text-white{color:#18365a!important}
.fp-site-header .text-slate-400{color:#69829e!important}
.fp-site-header .text-blue-400{color:#2658a1!important}
.fp-site-header .text-amber-400{color:#b77b16!important}
.fp-site-header #main-site-logo{mix-blend-mode:normal!important;filter:none!important;object-fit:cover;width:45px;height:45px!important;max-height:45px!important;border-radius:10px}
.fp-site-header .bg-white\/95{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.fp-site-header .bg-slate-900,.fp-site-header .bg-slate-800{background:#edf3fd!important;border:1px solid #d8e5f5!important}
.fp-site-header #mobile-login-quick,.fp-site-header #auth-logged-out button,.fp-site-header #nav-admin-btn{color:#fff!important}
.fp-site-header #nav-admin-btn{background:#edbd69!important;color:#1b2c4e!important}
.fp-site-header #mobile-login-quick{background:#285bab!important}
.fp-site-header #nav-my-tests-btn{color:#a96b0b!important}
.fp-site-header .text-slate-300{color:#465c78!important}
#view-admin>div{background:#fff!important;border:1px solid var(--fp3-border)!important;box-shadow:0 12px 45px rgba(38,62,99,.045)!important;max-width:1160px!important;padding:clamp(15px,3vw,30px)!important;gap:16px!important}
#view-admin .fp-admin-hero{border:0;padding:4px 0 15px;border-bottom:1px solid #e5eaf2}
.fp-overline{font-size:10px;font-weight:800;color:#53749b;letter-spacing:.12em}
.fp-admin-dot{display:inline-block;width:5px;height:5px;background:#9ab0cb;border-radius:50%;vertical-align:middle;margin:0 6px}
.fp-admin-hero h2{line-height:1.16;font-size:clamp(21px,3vw,29px)}
.fp-secondary-button{border:1px solid #cfdded;color:#24456c;background:white;font-weight:750;font-size:12px;border-radius:9px;padding:9px 13px;white-space:nowrap}
.fp-secondary-button:hover{background:#f2f7fe}
.fp-connection-status{border-radius:9px;font-size:12px;color:#39577a;background:#f2f7fd;border:1px solid #e1eaf6;padding:10px 12px;line-height:1.55}
.fp-connection-status.fp-error{background:#fff4f1;border-color:#f6cabb;color:#a5402f}
.fp-connection-status.fp-ok{background:#f1fbf6;border-color:#d0eddf;color:#187749}
#view-admin .stage2-explorer-panel{display:none!important}
#view-admin #stage2-advanced-editor{margin-top:8px!important;border:0!important;background:transparent!important;padding:0!important}
#view-admin #stage2-advanced-editor>summary{display:inline-block!important;border-radius:8px;background:#f6f9fe;color:#506888;border:1px solid #dbe5f1;padding:10px 12px!important;font-size:12px}
#view-admin #stage2-advanced-editor>div{margin-top:14px}
.fp-simple-curriculum{background:#fff;border:1px solid var(--fp3-border);border-radius:15px;padding:clamp(14px,2vw,22px);box-shadow:0 5px 14px rgba(33,72,126,.025)}
.fp-simple-curriculum h4{font-size:17px!important;font-weight:800;color:#142f52}
.fp-simple-curriculum>p{color:#6c819a;font-size:12px;margin-top:5px;margin-bottom:13px}
.fp-curriculum-row{display:grid;grid-template-columns:minmax(90px,150px) minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #edf1f7}
.fp-curriculum-row:last-child{border-bottom:0}
.fp-curriculum-row label{font-size:12px;font-weight:750;color:#263c5b}
.fp-curriculum-row select{display:block;width:100%;min-width:0;background:#fff;border:1px solid #d3dfea;border-radius:9px;padding:12px;color:#243b58;font-size:13px}
.fp-curriculum-row select:disabled{background:#f4f6fa;color:#90a0b4}
.fp-curriculum-row button{background:#eaf2ff;border:1px solid #cde0f8;color:#2254a0;font-size:12px;padding:10px 13px;font-weight:800;border-radius:9px;white-space:nowrap;min-height:42px}
.fp-curriculum-row button:disabled{opacity:.4}
.fp-curriculum-caption{font-size:11px;color:#64748b;padding-top:13px;line-height:1.55}
#view-admin .stage2-top-actions{top:calc(4rem + 3.75rem)!important;box-shadow:0 3px 11px rgba(40,67,99,.06)!important;z-index:23!important;padding:10px 12px!important}
#stage1-admin-tabs{background:#fff!important;border-top:0!important;padding-bottom:10px;box-shadow:0 6px 12px -12px #2b477b;gap:7px!important}
#stage1-admin-tabs .stage1-tab{border:1px solid transparent!important;color:#536785!important;background:transparent!important;border-radius:9px!important;box-shadow:none!important;padding:12px 15px!important;font-weight:750!important;font-size:12px!important}
#stage1-admin-tabs .stage1-tab-active{background:#ebf2fd!important;color:#234d91!important;border-color:#d0dff5!important}
#stage1-admin-tabs .stage1-tab:hover{background:#f1f5fb!important}
#view-admin [data-stage1-panel="curriculum"]{padding:18px!important;border:1px solid #e3eaf4!important;border-radius:13px!important;background:#fafdff!important}
#view-admin [data-stage1-panel="curriculum"] > .stage2-top-actions:first-of-type{border-radius:11px!important}
#view-admin #stage1-bulk-panel{background:#fff!important;border:1px solid var(--fp3-border)!important;border-radius:14px!important}
#view-admin .stage1-drop-zone{background:#f6faff!important;border-color:#99bce7!important;border-radius:14px!important}
#view-admin .stage1-filter-bar{background:#f8fafc;border-color:#e1e8f2}
#view-admin input:focus-visible,#view-admin select:focus-visible,#view-admin button:focus-visible{outline:2px solid #9dbbea;outline-offset:2px}
.fp-bulk-fallback summary{color:#516a8c;font-size:12px;font-weight:750;cursor:pointer;list-style:revert}
.fp-bulk-fallback{border:1px solid #dfe8f3;border-radius:10px;padding:11px 14px;background:#fafcff}
.fp-note{font-size:11px;color:#5b7291;line-height:1.5}
.fp-kpi-zero{color:#4b647d!important}
#view-admin #stage1-test-search{min-height:41px}
@media(max-width:680px){
 #view-admin{padding:10px!important}
 #view-admin>div{padding:15px!important;border-radius:16px!important;gap:13px!important}
 .fp-admin-hero-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .fp-admin-hero-actions button{min-width:0;white-space:normal;text-align:center}
 .fp-admin-hero-actions button:first-child{grid-column:span 2}
 .fp-curriculum-row{grid-template-columns:1fr auto;gap:7px 8px;padding:10px 0}
 .fp-curriculum-row label{grid-column:span 2}
 .fp-curriculum-row select{padding:11px 10px}
 .fp-curriculum-row button{padding:9px 10px}
 #view-admin .stage2-top-actions{position:sticky;top:calc(4rem + 3.2rem)!important;flex-direction:column;align-items:stretch;gap:9px!important}
 #view-admin .stage2-top-actions button{width:100%}
 #view-admin .stage2-top-actions .flex{justify-content:space-between}
 #stage1-admin-tabs{top:4rem!important}
 .fp-site-header #main-site-logo{width:38px;height:38px!important;max-height:38px!important}
}
