﻿:root{--brand:#635bdb;--ink:#22233d;--muted:#7e829a;--line:#e7e8f1;--bg:#f7f8fc;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}body{margin:0}.top{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(20px,calc((100vw - 1200px)/2));gap:12px;position:sticky;top:0;z-index:5}.logo{width:39px;height:39px;background:var(--brand);color:#fff;border-radius:12px;display:grid;place-items:center;font-weight:900}.brand b{display:block;font-size:13px}.brand small{display:block;color:#999caf;font-size:8px;letter-spacing:1.2px;margin-top:4px}.top-right{margin-left:auto;display:flex;gap:12px;align-items:center}.network{font-size:10px;color:#8589a0}.network.ok{color:#218b67}.network.bad{color:#b77938}main{max-width:1200px;margin:0 auto;padding:32px 22px}.auth-wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;min-height:65vh}.hero{padding:24px 0}.eyebrow{font-size:9px;letter-spacing:1.6px;color:var(--brand);font-weight:850}.hero h1{font-size:clamp(34px,5vw,58px);letter-spacing:-2px;line-height:1.08;margin:18px 0}.hero h1 span{color:var(--brand)}.hero p{max-width:490px;line-height:1.8;color:var(--muted);font-size:14px}.features{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.features span{background:#efefff;color:#625bc2;border-radius:25px;padding:9px 12px;font-size:10px;font-weight:700}.auth-card,.card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 35px #24254406}.auth-card{padding:26px;max-width:470px;width:100%;justify-self:end}.tabs{display:flex;border-bottom:1px solid var(--line);gap:22px;margin-bottom:23px}.tab{border:0;background:none;padding:0 0 12px;color:#999caf;font-size:11px;font-weight:750}.tab.active{color:var(--brand);border-bottom:2px solid var(--brand)}h2{font-size:17px;letter-spacing:-.4px;margin:0 0 7px}form p,.section-head p{font-size:10px;line-height:1.6;color:#9296a9;margin:0 0 18px}label{display:block;font-size:10px;color:#595d77;font-weight:750;margin-bottom:14px}input,select{display:block;width:100%;margin-top:7px;padding:11px 12px;border:1px solid #e1e3ed;border-radius:8px;background:#fff;color:#343650;font:inherit;font-size:11px;min-width:0}input:focus,select:focus{outline:3px solid #d8d5ff;border-color:var(--brand)}.primary,.secondary,.ghost{border-radius:8px;padding:11px 14px;font-size:10px;font-weight:800;border:1px solid transparent;cursor:pointer;white-space:nowrap}.primary{background:var(--brand);color:#fff}.primary:hover{background:#4f47c5}.secondary{background:#fff;color:#5d617a;border-color:#dfe1ec}.ghost{background:#f4f3ff;color:var(--brand)}.full{width:100%;margin-top:3px}.hint{display:block;color:#9296a9;font-size:9px;margin-top:12px}.message{margin-top:14px;padding:11px;border-radius:8px;background:#fff4e5;color:#936a31;font-size:10px;line-height:1.5}.message.good{background:#ecf9f3;color:#267f5e}.hidden{display:none!important}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:23px}.welcome h1{font-size:28px;letter-spacing:-1px;margin:8px 0}.welcome p{font-size:11px;color:var(--muted);margin:0}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:17px}.metrics article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px}.metrics span{display:block;font-size:10px;color:#8e92a7}.metrics b{display:block;font-size:27px;margin-top:10px}.layout{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.card{padding:20px;min-width:0}.orders-card{grid-column:1/-1}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.section-head h2{font-size:14px}.section-head p{margin:5px 0 0}.list{display:flex;flex-direction:column;gap:9px}.list.empty{padding:23px 10px;text-align:center;font-size:10px;color:#9b9eb0}.list-item{border:1px solid #f0f0f6;border-radius:10px;padding:12px;display:flex;align-items:center;gap:10px}.avatar{width:33px;height:33px;border-radius:10px;background:#f0efff;color:var(--brand);display:grid;place-items:center;font-size:10px;font-weight:850;flex:0 0 auto}.list-item b{font-size:10px;display:block}.list-item small{font-size:9px;color:#9699ad;display:block;margin-top:4px}.list-item .right{margin-left:auto;display:flex;align-items:center;gap:6px}.delete{border:1px solid #f0dada;background:#fff7f7;color:#b74c4c;border-radius:7px;padding:6px 8px;font-size:9px}.inline-form{display:grid;grid-template-columns:1fr 130px auto auto;gap:8px;align-items:end;margin-bottom:14px;padding:13px;background:#f9f9ff;border-radius:10px}.inline-form label,.form-grid label{margin-bottom:0}.inline-form input,.inline-form select,.form-grid input,.form-grid select{margin-bottom:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px;padding:13px;background:#f9f9ff;border-radius:10px}.form-grid button{align-self:end}.status{border-radius:20px;padding:5px 7px;font-size:8px;font-weight:800;background:#f0efff;color:#635bdb}.status.DISPATCHED,.status.READY{background:#e9f8f0;color:#24865f}.status.PRINTING{background:#fff2e3;color:#a66d2e}.footnote{font-size:9px;line-height:1.7;color:#9a9daf;margin-top:20px}.global-message{position:fixed;bottom:18px;right:18px;background:#252642;color:#fff;border-radius:10px;padding:13px 16px;font-size:11px;max-width:min(400px,calc(100% - 36px));box-shadow:0 8px 30px #25264230;z-index:10}.global-message.error{background:#9d4048}.global-message.good{background:#187956}@media(max-width:760px){main{padding:22px 14px}.auth-wrap{grid-template-columns:1fr;gap:15px;min-height:0}.hero{padding:10px 2px}.hero h1{font-size:39px}.auth-card{justify-self:stretch;max-width:none}.layout{grid-template-columns:1fr}.orders-card{grid-column:auto}.metrics{gap:8px}.metrics article{padding:13px}.metrics b{font-size:22px}.metrics span{font-size:9px}.inline-form{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr 1fr}.welcome h1{font-size:23px}.top{padding:0 14px}.network{display:none}}@media(max-width:420px){.form-grid{grid-template-columns:1fr}.metrics article{padding:11px}.metrics b{font-size:19px}.welcome{align-items:flex-start;flex-direction:column}.features span{font-size:9px}}


/* Pro UX layer */
:root{--brand:#6258e8;--brand-deep:#4b43c6;--ink:#20213b;--muted:#777d97;--line:#e7e8f2;--bg:#f6f7fc}
body{background:radial-gradient(ellipse at 10% 0%,#f0efff 0,transparent 32%),var(--bg)}
.top{height:76px;box-shadow:0 4px 24px #25254a08;backdrop-filter:blur(16px)}
.logo{box-shadow:0 7px 16px #635bdb30;border-radius:13px}
.brand b{font-size:14px;letter-spacing:-.2px}
.network{padding:7px 10px;border:1px solid var(--line);border-radius:30px;background:#fafaff}
.network.ok:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#27ad7a;margin-right:6px;vertical-align:1px}
.network.bad:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#d58a36;margin-right:6px;vertical-align:1px}
main{max-width:1240px;padding-top:34px}
.welcome{margin-bottom:23px}
.welcome h1{font-size:31px;letter-spacing:-1.25px}
.welcome-actions{display:flex;gap:9px;align-items:center}
.searchbar{height:48px;display:flex;align-items:center;gap:11px;background:#fff;border:1px solid #e6e7f1;border-radius:12px;padding:0 15px;margin-bottom:17px;box-shadow:0 4px 18px #25254a04}
.search-icon{font-size:24px;color:#7771d9;line-height:1}
.searchbar input{border:0!important;outline:none!important;box-shadow:none!important;margin:0;padding:0;flex:1;background:transparent;font-size:12px}
.search-shortcut{font-size:9px;color:#9699ad;white-space:nowrap}
.quick-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:17px}
.quick-actions>button{display:flex;align-items:center;text-align:left;gap:12px;background:#fff;border:1px solid var(--line);border-radius:13px;padding:15px;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s;color:var(--ink);min-width:0}
.quick-actions>button:hover{transform:translateY(-2px);border-color:#cbc8ff;box-shadow:0 10px 24px #4135b80c}
.quick-icon{width:37px;height:37px;border-radius:11px;background:#f0efff;color:var(--brand);display:grid;place-items:center;font-size:20px;flex:0 0 auto}
.quick-actions b{display:block;font-size:10px}
.quick-actions small{display:block;color:#9699ad;font-size:9px;margin-top:5px;line-height:1.4}
.quick-arrow{margin-left:auto;color:#aaa6dc;font-size:15px}
.onboarding{display:flex;align-items:center;gap:14px;background:linear-gradient(100deg,#eeedff,#fff 75%);border:1px solid #dedbff;border-radius:13px;padding:15px 17px;margin-bottom:17px}
.onboarding-icon{width:39px;height:39px;display:grid;place-items:center;background:#fff;color:var(--brand);border-radius:12px;font-size:19px;box-shadow:0 4px 15px #635bdb13}
.onboarding b{font-size:11px}.onboarding p{font-size:10px;color:#777d97;line-height:1.6;margin:5px 0 0}
.onboarding .primary{margin-left:auto}
.metrics article{position:relative;overflow:hidden;transition:transform .18s,box-shadow .18s}
.metrics article:after{content:"";position:absolute;right:-23px;top:-28px;width:80px;height:80px;border-radius:50%;background:#f0efff}
.metrics article:nth-child(2):after{background:#e9f8f1}.metrics article:nth-child(3):after{background:#fff2e2}
.metrics article b,.metrics article span{position:relative;z-index:1}
.metrics article b{font-size:29px;letter-spacing:-1px}
.card{box-shadow:0 5px 24px #25254a05;transition:box-shadow .18s}
.card:hover{box-shadow:0 10px 32px #25254a08}
.section-head{margin-bottom:20px}
.section-head h2{font-size:15px}
.list-item{transition:background .15s,border-color .15s}
.list-item:hover{background:#fcfcff;border-color:#e6e4ff}
.avatar{border-radius:11px;background:linear-gradient(135deg,#eeedff,#f8f7ff)}
.primary{box-shadow:0 4px 12px #635bdb18;transition:transform .15s,background .15s}
.primary:hover{transform:translateY(-1px)}
.primary:disabled{opacity:.6;cursor:wait;transform:none}
input,select{transition:border-color .15s,box-shadow .15s}
.no-results{padding:18px 10px;text-align:center;color:#9296a9;font-size:10px;background:#fafaff;border-radius:9px;margin-top:8px}
.footnote{background:#fff;border:1px solid var(--line);border-radius:12px;padding:14px 16px;margin-top:18px}
@media(max-width:760px){
  main{padding-top:22px}
  .top{height:66px}
  .welcome-actions{width:100%}.welcome-actions button{flex:1}
  .quick-actions{grid-template-columns:1fr;gap:8px}
  .quick-actions>button{padding:12px}
  .quick-icon{width:34px;height:34px}
  .onboarding{align-items:flex-start;flex-wrap:wrap}
  .onboarding>div:nth-child(2){flex:1;min-width:180px}
  .onboarding .primary{width:100%;margin:0}
  .searchbar{height:45px;padding:0 11px}
  .search-shortcut{display:none}
  .metrics article:after{width:55px;height:55px;right:-20px;top:-18px}
  .metrics article b{font-size:23px}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}


/* Professional implementable SaaS layout */
:root{--brand:#5b55d9;--brand-deep:#4942bf;--ink:#20213a;--muted:#747a93;--line:#e7e8f1;--bg:#f6f7fb}
body{background:#f6f7fb}
.top{height:70px;padding:0 28px;background:#fff;box-shadow:0 1px 0 #e9eaf2;position:sticky}
.logo{border-radius:11px;background:linear-gradient(145deg,#6e66ee,#4f49c9);box-shadow:0 5px 12px #5b55d92b}
.brand b{font-size:13px;letter-spacing:-.15px}
main{max-width:1500px;padding:0}
#app{min-height:calc(100vh - 70px)}
.app-shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:calc(100vh - 70px)}
.sidebar{background:#fff;border-right:1px solid #e8e9f1;padding:21px 14px 14px;display:flex;flex-direction:column;min-width:0}
.workspace-switcher{display:flex;align-items:center;gap:10px;padding:10px 8px 21px;border-bottom:1px solid #f0f0f6}
.workspace-avatar{width:35px;height:35px;display:grid;place-items:center;background:#eeedff;color:var(--brand);border-radius:11px;font-weight:900}
.workspace-meta{flex:1;min-width:0}
.workspace-meta b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px}
.workspace-meta small{display:block;color:#989caf;font-size:8px;margin-top:4px}
.switcher-chevron{color:#a0a2b3;font-size:14px}
.nav-label{font-size:8px;letter-spacing:1.3px;color:#a0a3b4;font-weight:850;margin:23px 10px 10px}
.side-nav{display:flex;flex-direction:column;gap:4px}
.nav-item{position:relative;width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;border-radius:9px;padding:11px 10px;text-align:left;color:#70758e;font-size:10px;font-weight:700;cursor:pointer;transition:background .15s,color .15s}
.nav-item:hover{background:#f8f8ff;color:#4f4ac0}
.nav-item.active{background:#f0efff;color:#4e48c7}
.nav-icon{font-size:16px;width:20px;text-align:center;color:#8a8da4}
.nav-item.active .nav-icon{color:var(--brand)}
.nav-count{margin-left:auto;background:#f0f1f7;border-radius:6px;padding:3px 6px;color:#82869e;font-size:8px;font-weight:800}
.nav-item.active .nav-count{background:#dedcff;color:#5149c8}
.nav-current{position:absolute;left:-14px;top:9px;bottom:9px;width:3px;border-radius:0 3px 3px 0;background:var(--brand);opacity:0}
.nav-item.active .nav-current{opacity:1}
.sidebar-bottom{margin-top:auto}
.sidebar-help{display:flex;align-items:center;gap:10px;padding:13px 9px;border:1px solid #efeff7;background:#fbfbff;border-radius:11px;margin-bottom:13px}
.help-icon{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#efefff;color:var(--brand);font-weight:900}
.sidebar-help b{display:block;font-size:9px}.sidebar-help small{display:block;color:#9a9db0;font-size:8px;margin-top:3px}
.user-mini{display:flex;align-items:center;gap:9px;border-top:1px solid #efeff6;padding:14px 5px 0}
.user-avatar{width:31px;height:31px;border-radius:50%;background:#e6f5ef;color:#278566;display:grid;place-items:center;font-size:10px;font-weight:850}
.user-meta{flex:1;min-width:0}.user-meta b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-meta small{display:block;color:#9a9db0;font-size:8px;margin-top:3px;text-transform:capitalize}
#sidebarSignOut{border:0;background:transparent;color:#9a9db0;cursor:pointer;font-size:15px}
.app-content{min-width:0;padding:31px clamp(18px,3vw,42px) 25px;max-width:1420px;width:100%;margin:0 auto}
.welcome{align-items:flex-end;margin-bottom:21px}
.breadcrumb{display:flex;align-items:center;gap:8px;color:#999caf;font-size:9px;margin-bottom:11px}
.breadcrumb b{color:#555b76;font-weight:800}
.welcome h1{font-size:28px;margin:0 0 7px;letter-spacing:-1.1px}
.welcome p{font-size:10px;line-height:1.5}
.welcome-actions button{min-height:37px}
.searchbar{height:43px;border-radius:10px;margin-bottom:18px;box-shadow:0 3px 10px #25254a03}
.searchbar input{font-size:10px}
.search-shortcut{border:1px solid #ececf4;border-radius:5px;padding:4px 6px}
.quick-actions{gap:11px;margin-bottom:16px}
.quick-actions>button{border-radius:11px;padding:13px 14px}
.quick-icon{width:34px;height:34px;font-size:17px}
.quick-actions b{font-size:9px}
.quick-actions small{font-size:8px}
.metrics{gap:12px;margin-bottom:25px}
.metrics article{border-radius:12px;padding:17px 18px;border-color:#e9eaf2}
.metrics article span{font-size:9px;font-weight:700}
.metrics article b{font-size:26px;margin-top:12px}
.metric-foot{display:block;color:#9a9db0;font-size:8px;margin-top:5px;position:relative;z-index:1}
.overview-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 13px}
.overview-heading h2{font-size:13px;margin:0}
.overview-heading p{font-size:9px;color:#9699ad;margin:5px 0 0}
.live-pill{display:flex;align-items:center;gap:6px;background:#fff;border:1px solid #e8e9f2;border-radius:30px;padding:7px 10px;color:#82869c;font-size:8px;white-space:nowrap}
.live-pill i{width:6px;height:6px;background:#2bb783;border-radius:50%}
.layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.card{border-radius:12px;padding:18px;box-shadow:0 3px 14px #28284b04}
.section-head{align-items:center;gap:10px;margin-bottom:15px}
.section-head h2{font-size:12px;margin:0}
.section-head p{font-size:9px;line-height:1.5;margin-top:5px}
.section-head .primary{padding:9px 11px;font-size:9px}
.orders-card{grid-column:1/-1}
.list-item{padding:10px;border-radius:9px}
.list-item b{font-size:9px}
.list-item small{font-size:8px}
.avatar{width:30px;height:30px}
.inline-form,.form-grid{border:1px solid #ededf8;background:#fbfbff;border-radius:9px}
.footnote{font-size:9px;line-height:1.65;border-radius:10px;background:#fff;border:1px solid #e9eaf2;padding:12px 14px}
.view-hidden{display:none!important}
#overviewPanel.hidden{display:none!important}
.global-message{font-size:10px}
@media(min-width:1250px){.layout{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-card{grid-column:1/-1}}
@media(max-width:900px){
 .app-shell{grid-template-columns:194px minmax(0,1fr)}
 .sidebar{padding:16px 10px 12px}
 .nav-item{font-size:9px}
 .app-content{padding:24px 18px}
 .workspace-meta b{font-size:9px}
 .quick-actions{grid-template-columns:1fr}
 .quick-actions>button{padding:11px}
}
@media(max-width:650px){
 .top{height:64px;padding:0 13px}
 #app{min-height:calc(100vh - 64px)}
 .app-shell{display:flex;flex-direction:column;min-height:calc(100vh - 64px)}
 .sidebar{order:2;border-right:0;border-top:1px solid #e5e6ef;padding:7px 9px;background:#fff;position:sticky;bottom:0;z-index:4}
 .workspace-switcher,.nav-label,.sidebar-bottom{display:none}
 .side-nav{flex-direction:row;justify-content:space-between;gap:3px}
 .nav-item{flex:1;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:7px 3px;font-size:8px;text-align:center;border-radius:8px}
 .nav-icon{font-size:16px;height:18px}
 .nav-count{display:none}
 .nav-current{left:20%;right:20%;top:-7px;bottom:auto;height:2px;width:auto;border-radius:0 0 3px 3px}
 .app-content{order:1;padding:20px 13px 22px}
 .welcome{align-items:flex-start;flex-direction:row;gap:10px}
 .welcome h1{font-size:23px}
 .welcome p{max-width:260px}
 .welcome-actions{width:auto;flex-direction:column;align-items:stretch}
 .welcome-actions button{font-size:8px;padding:9px 10px;min-height:32px}
 .searchbar{height:41px}
 .quick-actions{grid-template-columns:1fr;gap:7px}
 .quick-actions>button{padding:10px}
 .metrics{gap:7px;margin-bottom:19px}
 .metrics article{padding:12px 10px}
 .metrics article b{font-size:21px;margin-top:9px}
 .metrics article span{font-size:8px}
 .metric-foot{font-size:7px}
 .overview-heading{align-items:flex-start}
 .live-pill{font-size:7px;padding:6px 7px}
 .layout{grid-template-columns:minmax(0,1fr)}
 .orders-card{grid-column:auto}
 .section-head{align-items:flex-start}
 .section-head p{max-width:230px}
 .onboarding{padding:12px}
}
@media(max-width:390px){
 .welcome{flex-direction:column}
 .welcome-actions{flex-direction:row;width:100%}
 .welcome-actions button{flex:1}
 .metrics article{padding:10px 8px}
 .metrics article b{font-size:19px}
 .live-pill{display:none}
}


/* Full-suite module design system */
.module-screen{animation:module-in .18s ease-out}
@keyframes module-in{from{opacity:.55;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
.module-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px;margin:3px 0 18px}
.module-heading h2{font-size:21px;letter-spacing:-.7px;margin:8px 0 6px}
.module-heading p{font-size:10px;color:#8d91a7;line-height:1.6;margin:0}
.module-heading .eyebrow{font-size:8px}
.panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:17px}
.panel-title h3{font-size:12px;margin:0;letter-spacing:-.15px}
.status-tag{display:inline-flex;align-items:center;justify-content:center;background:#f0efff;color:#6259c7;border-radius:6px;padding:5px 8px;font-size:8px;font-weight:800;white-space:nowrap}
.designer-grid,.print-grid,.settings-grid{display:grid;grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);gap:14px}
.designer-controls,.preview-panel,.import-card,.print-grid>.card,.settings-grid>.card{padding:19px}
.designer-controls label,.print-grid label,.settings-grid label{font-size:9px}
.design-note{font-size:9px;line-height:1.7;color:#8d91a6;background:#fafaff;border:1px solid #ededf7;border-radius:8px;padding:11px;margin-top:14px}
.preview-stage{min-height:310px;display:grid;place-items:center;border-radius:11px;background-color:#f7f7fc;background-image:radial-gradient(#dedfee .8px,transparent .8px);background-size:14px 14px;padding:25px}
.id-card-preview{--card-accent:#5148c8;width:min(100%,430px);aspect-ratio:1.586;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 16px 35px #29234b1a;display:flex;flex-direction:column;border:1px solid #e9e9f2;color:#252641}
.preview-top{display:flex;align-items:center;gap:11px;padding:15px 17px 12px;background:var(--card-accent);color:#fff;min-height:68px}
.preview-logo{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#ffffff26;border:1px solid #ffffff70;font-weight:900;font-size:10px}
.preview-top b{display:block;font-size:clamp(9px,1.2vw,12px);letter-spacing:.3px}
.preview-top small{display:block;font-size:7px;letter-spacing:1.3px;margin-top:5px;opacity:.85}
.preview-body{display:flex;align-items:center;gap:16px;padding:18px;flex:1}
.preview-photo{width:74px;height:91px;flex:0 0 74px;border:1px solid #e4e5ef;background:linear-gradient(145deg,#f1f0ff,#f4f6fa);border-radius:7px;display:grid;place-items:center;color:#9b9cb3;font-size:8px;font-weight:800}
.preview-person{min-width:0}.preview-person b{display:block;font-size:clamp(11px,1.5vw,16px);letter-spacing:-.4px;overflow-wrap:anywhere}
.preview-person span{display:block;color:#737791;font-size:9px;margin-top:6px}
.preview-person small{display:block;color:#8d91a7;font-size:8px;margin-top:14px}
.preview-person strong{color:#333650}
.preview-footer{height:27px;border-top:1px solid #eeeff5;padding:0 15px;display:flex;align-items:center;justify-content:space-between;color:#9295a9;font-size:6px;letter-spacing:.7px}
.preview-code{font-size:13px;letter-spacing:-3px;color:var(--card-accent)}
.id-card-preview.portrait{width:min(100%,270px);aspect-ratio:.628}
.id-card-preview.portrait .preview-top{padding:10px;min-height:58px}
.id-card-preview.portrait .preview-body{flex-direction:column;justify-content:center;gap:10px;padding:10px;text-align:center}
.id-card-preview.portrait .preview-photo{width:62px;height:70px;flex-basis:70px}
.id-card-preview.portrait .preview-person small{margin-top:8px}
.id-card-preview.portrait .preview-footer{height:22px}
.preview-specs{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}
.preview-specs span,.field-chips span{font-size:8px;color:#7c8098;background:#f5f5fb;border:1px solid #ececf5;border-radius:6px;padding:6px 8px}
.template-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.template-card{min-width:0;padding:10px;text-align:left;border:1px solid #e7e8f1;border-radius:12px;background:#fff;cursor:pointer;transition:transform .16s,border-color .16s,box-shadow .16s}
.template-card:hover{transform:translateY(-2px);border-color:#c9c6fa;box-shadow:0 8px 20px #29234b0b}
.template-art{height:170px;border-radius:8px;padding:14px;position:relative;overflow:hidden;color:white;display:flex;flex-direction:column;align-items:flex-start}
.template-art b{font-size:10px;letter-spacing:.4px;margin-top:13px}
.template-art small{font-size:6px;letter-spacing:1px;margin-top:4px;opacity:.8}
.mini-mark{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#ffffff28;border:1px solid #ffffff55;font-weight:900;font-size:10px}
.mini-photo{position:absolute;width:39px;height:48px;right:13px;bottom:25px;background:#ffffff38;border:1px solid #ffffff80;border-radius:5px}
.mini-lines{position:absolute;left:14px;bottom:32px;width:45%;height:21px;border-top:2px solid #ffffffa0;border-bottom:2px solid #ffffff65}
.school-art{background:linear-gradient(145deg,#4d49b8,#8c84f5)}
.corporate-art{background:linear-gradient(145deg,#124f61,#258b9a)}
.event-art{background:linear-gradient(145deg,#9a3d2f,#e28a52)}
.minimal-art{background:linear-gradient(145deg,#34384d,#737d91)}
.template-card>span{display:block;margin:12px 2px 7px}
.template-card>span b{display:block;font-size:10px;color:#30334e}
.template-card>span small{display:block;font-size:8px;color:#9296aa;margin-top:4px}
.template-card>i{display:block;font-style:normal;color:#5c54c8;font-size:8px;font-weight:800;margin:0 2px 4px}
.import-card{max-width:100%}
.upload-drop{border:1px dashed #d4d3ed;border-radius:12px;padding:32px 18px;text-align:center;background:#fbfbff}
.upload-icon{margin:0 auto 12px;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#efeeff;color:#6259ce;font-size:22px}
.upload-drop h3{font-size:13px;margin:0 0 7px}
.upload-drop p{font-size:9px;color:#9094a8;line-height:1.7;max-width:430px;margin:0 auto 15px}
.file-pick{display:inline-flex;position:relative;overflow:hidden;background:#5b55d9;color:#fff;padding:10px 14px;border-radius:8px;font-size:9px;font-weight:800;cursor:pointer}
.file-pick input{position:absolute;inset:0;opacity:0;cursor:pointer;margin:0}
.upload-drop>small{display:block;font-size:8px;color:#9699ad;margin-top:10px}
.import-fields{padding:19px 0 0;font-size:9px}
.field-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.table-scroll{overflow:auto;border:1px solid #ededf5;border-radius:8px}
.preview-table{border-collapse:collapse;width:100%;font-size:9px;white-space:nowrap}
.preview-table th,.preview-table td{text-align:left;padding:10px;border-bottom:1px solid #efeff6}
.preview-table th{background:#f8f8fc;color:#666b84}
.print-grid{grid-template-columns:minmax(220px,.7fr) minmax(0,1.3fr)}
.print-grid .secondary,.print-grid .primary{margin:0 6px 8px 0}
.paper-stage{min-height:440px;background:#f6f7fb;border-radius:10px;padding:22px;display:grid;place-items:center;overflow:auto}
.paper-preview{--print-gap:2px;--print-columns:2;width:100%;max-width:340px;min-height:390px;background:#fff;box-shadow:0 5px 18px #24254413;border:1px solid #e5e6ee;padding:17px;display:grid;grid-template-columns:repeat(var(--print-columns),minmax(0,1fr));align-content:center;gap:var(--print-gap)}
.paper-preview.letter-paper{max-width:355px;min-height:360px}
.print-mini-card{min-height:58px;border:1px dashed #b8b8d0;border-radius:3px;display:flex;align-items:center;justify-content:center;text-align:center;color:#8588a1;font-size:7px;background:linear-gradient(140deg,#fafaff,#fff)}
.print-mini-card.portrait{min-height:78px}
.report-metrics{margin:0 0 14px}
.report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.report-summary>div{padding:13px;border:1px solid #eeeef6;border-radius:8px;background:#fdfdff}
.report-summary span{display:block;font-size:8px;color:#9498ad}
.report-summary b{display:block;font-size:11px;margin-top:7px;overflow-wrap:anywhere}
.settings-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #efeff6}
.settings-row b{display:block;font-size:9px}.settings-row small{display:block;font-size:8px;color:#9699ad;margin-top:5px}
@media(max-width:900px){.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.designer-grid,.print-grid,.settings-grid{grid-template-columns:minmax(0,1fr)}.preview-stage{min-height:260px}}
@media(max-width:650px){
 .side-nav{flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;gap:4px;overflow-x:auto;scrollbar-width:thin}
 .nav-item{flex:0 0 75px;min-width:75px}
 .nav-label{display:none}
 .template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .template-art{height:135px;padding:10px}
 .module-heading{align-items:flex-start;flex-direction:column}
 .module-heading h2{font-size:19px}
 .preview-stage{padding:13px;min-height:220px}
 .preview-body{gap:10px;padding:12px}
 .preview-photo{width:57px;height:72px;flex-basis:57px}
 .paper-stage{padding:12px;min-height:340px}
 .paper-preview{min-height:310px}
 .report-summary{grid-template-columns:1fr}
}
@media print{
 body *{visibility:hidden!important}
 #modulePrint,#modulePrint *{visibility:visible!important}
 #modulePrint{position:absolute;left:0;top:0;width:100%}
 .top,.sidebar,.module-heading,.print-grid>.card:first-child{display:none!important}
 .print-grid{display:block}
 .paper-stage{background:#fff;padding:0}
 .paper-preview{box-shadow:none;max-width:none;min-height:0}
}

/* Bulk import + data export upgrade */
.header-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bulk-commit-row{display:flex;align-items:flex-end;gap:12px;margin-top:14px;padding:14px;background:#f8f8ff;border:1px solid #e8e7f6;border-radius:10px}
.bulk-commit-row label{flex:1;min-width:220px;font-size:11px;font-weight:700;color:var(--ink)}
.bulk-commit-row select{display:block;width:100%;margin-top:7px;padding:10px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink)}
.bulk-commit-row button:disabled{opacity:.45;cursor:not-allowed}
#exportRecordsBtn{font-size:10px;padding:9px 10px}
@media(max-width:600px){.bulk-commit-row{align-items:stretch;flex-direction:column}.bulk-commit-row label{min-width:0}.header-actions{width:100%}.header-actions button{flex:1}}
@media print{
 body *{visibility:hidden!important}
 #paperPreview,#paperPreview *{visibility:visible!important}
 #paperPreview{position:absolute!important;left:0!important;top:0!important;width:100%!important;box-shadow:none!important;border:0!important}
}

.saved-template-panel{margin-top:16px}.saved-templates-list{display:grid;gap:8px}.saved-template-row{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid var(--line,#e7e8f1);border-radius:10px;background:#fff}.saved-template-row .template-swatch{width:30px;height:38px;border-radius:5px;background:var(--template-color,#5148c8);flex-shrink:0}.saved-template-row .template-info{min-width:0;flex:1}.saved-template-row b{display:block;font-size:10px}.saved-template-row small{display:block;color:#9295a8;font-size:8px;margin-top:3px}.saved-template-row button{font-size:9px;padding:7px 9px}.saved-template-empty{color:#8a8da2;font-size:10px;padding:12px 0}
.verify-row{display:flex;align-items:flex-end;gap:10px;margin-top:12px}.verify-row label{flex:1;min-width:0}.verify-row button{flex-shrink:0}@media(max-width:520px){.verify-row{align-items:stretch;flex-direction:column}.verify-row button{width:100%}}

.scanner-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.qr-scanner-panel{margin-top:10px;padding:10px;border:1px solid var(--line,#d9deea);border-radius:14px;background:var(--surface,#fff)}.qr-scanner-panel video{display:block;width:100%;max-height:320px;object-fit:cover;border-radius:10px;background:#101828}.qr-scanner-panel .design-note{margin-bottom:0}

/* Smart student photography */
.photo-session-card{display:flex;flex-direction:column;gap:18px}.photo-progress-wrap{display:flex;flex-direction:column;gap:8px}.progress-track{height:9px;border-radius:99px;background:var(--line,#e5e7eb);overflow:hidden}.progress-fill{height:100%;width:0;background:var(--brand,#635bdb);transition:width .2s ease}.photo-capture-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:22px;align-items:start}.photo-current{min-height:300px;border-radius:16px;background:#101827;overflow:hidden;display:flex;align-items:center;justify-content:center;position:relative}.photo-camera,.photo-captured-preview{width:100%;height:100%;max-height:460px;min-height:300px;object-fit:contain;background:#101827}.photo-camera-placeholder{color:#dbe4f0;display:flex;flex-direction:column;align-items:center;gap:10px;padding:30px;text-align:center}.photo-camera-placeholder span{font-size:48px}.photo-camera-placeholder small{color:#aab7ca}.photo-student-details{display:flex;flex-direction:column;gap:10px}.photo-student-details h3{margin:0;font-size:24px}.photo-student-id{font-weight:700;overflow-wrap:anywhere}.photo-action-row{display:flex;gap:8px;flex-wrap:wrap}.photo-action-row button{flex:1;min-width:105px}.photo-action-row button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:760px){.photo-capture-grid{grid-template-columns:1fr}.photo-current{min-height:250px}.photo-camera,.photo-captured-preview{min-height:250px;max-height:360px}.photo-student-details h3{font-size:21px}}

.photo-quality-report{padding:10px 12px;border-radius:10px;background:var(--surface-muted,#f3f4f6);font-size:13px;line-height:1.45;margin:0}.photo-quality-report.good{border:1px solid #76b894}.photo-quality-report.warn{border:1px solid #d9a441;background:#fff8e8;color:#694b0b}.photo-quality-report.error{border:1px solid #d16a6a;background:#fff0f0;color:#8b1c1c}.offline-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.4}.offline-consent input{margin-top:3px}


/* Photo review queue */
.photo-review-panel{margin-top:18px;padding:16px;border:1px solid var(--line,#e5e7ef);border-radius:14px;background:var(--surface,#fff)}
.photo-review-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(150px,1fr);gap:12px;margin:12px 0}
.photo-review-list{display:grid;gap:7px;max-height:440px;overflow:auto}
.photo-review-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px;border:1px solid var(--line,#e5e7ef);border-radius:10px}
.photo-review-row.current{border-color:var(--brand,#5148c8);background:color-mix(in srgb,var(--brand,#5148c8) 6%,white)}
.photo-review-student{min-width:0;display:grid;gap:4px}.photo-review-student b,.photo-review-student span{overflow-wrap:anywhere}.photo-review-student span{font-size:12px;color:var(--muted,#777b91)}
.photo-review-status{font-size:11px;font-weight:700;border-radius:99px;padding:5px 8px;white-space:nowrap}.photo-review-status.saved{background:#e4f7ec;color:#176b42}.photo-review-status.missing{background:#fff1d7;color:#85520a}.photo-review-status.absent{background:#f0eff5;color:#625c76}.photo-review-open{padding:7px 11px;white-space:nowrap}
@media(max-width:640px){.photo-review-controls{grid-template-columns:1fr}.photo-review-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}.photo-review-status{grid-column:1;grid-row:2;justify-self:start}.photo-review-open{grid-column:2;grid-row:1 / span 2}}
/* CPS_IDPRO_ADVANCED_DESIGNER_V1 */
.designer-advanced{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);display:grid;gap:10px;min-width:0}
.designer-advanced-heading{display:flex;flex-direction:column;gap:4px}.designer-advanced-heading span,.designer-note{font-size:12px;color:var(--muted);line-height:1.5}
.designer-advanced label{display:grid;gap:6px;font-size:13px;font-weight:600;color:var(--ink)}
.designer-advanced select,.designer-advanced input[type=file],.designer-advanced textarea{width:100%;max-width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;color:var(--ink);font:inherit}
.designer-advanced textarea{resize:vertical}
.designer-side-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:5px}
.designer-side-switch button{border-radius:9px;padding:10px;border:1px solid var(--line);cursor:pointer}
.preview-photo{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center}
.preview-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.preview-photo img[hidden],.preview-qr[hidden],.preview-back-qr[hidden]{display:none!important}
.preview-qr{width:26px;height:26px;object-fit:contain;background:#fff;border-radius:3px}
#idCardPreview{position:relative;overflow:hidden}
#idCardPreview.show-back>.preview-top,#idCardPreview.show-back>.preview-body,#idCardPreview.show-back>.preview-footer{display:none!important}
.preview-back-face{display:none;position:absolute;inset:0;box-sizing:border-box;padding:12px 14px;background:linear-gradient(145deg,#fff 0%,#f2f4fb 100%);color:#20233c;flex-direction:column;gap:8px;overflow:hidden}
#idCardPreview.show-back>#previewBackFace{display:flex}
.preview-back-brand{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:7px;border-bottom:2px solid var(--card-accent,#5148c8)}
.preview-back-brand b{font-size:10px;overflow-wrap:anywhere}.preview-back-brand span{font-size:7px;letter-spacing:.08em;color:#666}
.preview-back-face p{font-size:8px;line-height:1.35;margin:2px 0;white-space:pre-wrap;overflow-wrap:anywhere}
.preview-back-meta{display:flex;flex-direction:column;gap:4px;margin-top:auto;font-size:7px;overflow-wrap:anywhere}
.preview-back-qr{position:absolute;right:12px;bottom:12px;width:30px;height:30px;background:#fff;object-fit:contain}
@media(max-width:760px){.designer-side-switch{grid-template-columns:1fr 1fr}.designer-advanced{padding-top:12px}}

/* CPS coordinated workflow integration */
.designer-workflow-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.designer-workflow-links button{flex:1;min-width:170px}
@media(max-width:600px){.designer-workflow-links{flex-direction:column}.designer-workflow-links button{width:100%;min-width:0}}

/* CPS_BRAND_STUDIO_THEMES_V1: tenant theme is set from authenticated /workspace/appearance. */
:root[data-cps-theme="rainbow-fusion"] {
  --brand: #7c3aed;
  --bg: #faf7ff;
  --line: #e8ddfb;
}
:root[data-cps-theme="rainbow-fusion"] .top {
  border-bottom-color: #ded0fb;
  box-shadow: 0 3px 18px rgba(124,58,237,.06);
}
:root[data-cps-theme="rainbow-fusion"] .logo,
:root[data-cps-theme="rainbow-fusion"] .primary {
  background: linear-gradient(120deg,#7c3aed 0%,#2563eb 48%,#db2777 100%);
}
:root[data-cps-theme="dark-neon"] {
  --ink: #eef2ff;
  --muted: #a5b4d4;
  --line: #29334d;
  --bg: #0b1020;
}
:root[data-cps-theme="dark-neon"] .top,
:root[data-cps-theme="dark-neon"] .card,
:root[data-cps-theme="dark-neon"] .auth-card {
  background: #121a2e;
  color: var(--ink);
  border-color: var(--line);
}
:root[data-cps-theme="dark-neon"] input,
:root[data-cps-theme="dark-neon"] select,
:root[data-cps-theme="dark-neon"] textarea {
  background: #0b1020;
  color: var(--ink);
  border-color: #33415f;
}
:root[data-cps-theme="dark-neon"] .features span {
  background: #202443;
  color: #c4b5fd;
}
@media print {
  :root[data-cps-theme="dark-neon"] { color-scheme: light; }
}

/* CPS_ORIGINAL_STYLE_TOOLBAR_V1 */
.designer-type-toolbar-card {
  grid-column: 1 / -1;
  margin: 0 0 14px;
  padding: 15px 18px;
}
.designer-type-toolbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.designer-type-toolbar-head b {
  display: block;
  font-size: 13px;
  color: var(--ink);
}
.designer-type-toolbar-head small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}
#designerTextStyleStatus {
  color: var(--muted);
  font-size: 11px;
}
.designer-type-toolbar-grid {
  display: grid;
  grid-template-columns:
    minmax(165px, 1.4fr)
    minmax(110px, 1fr)
    minmax(110px, 1fr)
    minmax(75px, .65fr)
    minmax(90px, .8fr)
    minmax(100px, .9fr)
    minmax(90px, .8fr)
    minmax(90px, .8fr)
    minmax(110px, 1fr)
    auto;
  gap: 9px;
  align-items: end;
}
.designer-type-toolbar-grid label {
  display: grid;
  gap: 5px;
  min-width: 0;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}
.designer-type-toolbar-grid input:not([type="checkbox"]),
.designer-type-toolbar-grid select {
  width: 100%;
  min-width: 0;
  height: 36px;
  margin: 0;
  box-sizing: border-box;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.designer-type-toolbar-grid input[type="color"] {
  padding: 3px;
}
.designer-type-toolbar-grid .designer-shrink-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  white-space: nowrap;
}
.designer-type-toolbar-grid .designer-shrink-field input {
  width: auto;
  margin: 0;
}
#applyDesignerTextStyleBtn {
  min-height: 36px;
  padding: 8px 16px;
  white-space: nowrap;
}
@media(max-width:1350px) {
  .designer-type-toolbar-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media(max-width:760px) {
  .designer-type-toolbar-card {
    padding: 13px;
  }
  .designer-type-toolbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #applyDesignerTextStyleBtn {
    width: 100%;
  }
}

/* CPS_TENANT_FONT_TOOLBAR_RESPONSIVE_V1 */
/* Improve toolbar usability without changing ID card dimensions. */
.designer-type-toolbar-card {
  min-width: 0;
  max-width: 100%;
}

.designer-type-toolbar-card .designer-type-toolbar-grid > * {
  min-width: 0;
}

.designer-type-toolbar-card .designer-type-toolbar-grid select,
.designer-type-toolbar-card .designer-type-toolbar-grid input:not([type="checkbox"]):not([type="color"]) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.designer-type-toolbar-card .designer-type-toolbar-grid input[type="color"] {
  max-width: 100%;
  min-width: 0;
}

.designer-type-toolbar-card #applyDesignerTextStyleBtn {
  min-height: 36px;
  white-space: nowrap;
}

.designer-type-toolbar-card #designerTextStyleStatus {
  overflow-wrap: anywhere;
}

/* Laptop and medium-width screens */
@media (max-width: 1200px) {
  .designer-type-toolbar-card .designer-type-toolbar-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 10px;
  }
}

/* Tablets and compact windows */
@media (max-width: 800px) {
  .designer-type-toolbar-card .designer-type-toolbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px;
  }

  .designer-type-toolbar-card #applyDesignerTextStyleBtn {
    width: 100%;
  }
}

/* Mobile screens */
@media (max-width: 480px) {
  .designer-type-toolbar-card .designer-type-toolbar-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .designer-type-toolbar-card #applyDesignerTextStyleBtn {
    width: 100%;
  }
}

/* CPS_TENANT_FONT_TOOLBAR_DESKTOP_GRID_V1 */
/* Desktop: keep controls readable in two compact rows. */
.designer-type-toolbar-card .designer-type-toolbar-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: end;
  gap: 10px;
}

.designer-type-toolbar-card .designer-type-toolbar-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 800px) {
  .designer-type-toolbar-card .designer-type-toolbar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 480px) {
  .designer-type-toolbar-card .designer-type-toolbar-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* CPS_SMART_AUTO_ID_CARD_V1 */
#smartTemplateSelect {
  width: 100%;
  box-sizing: border-box;
  margin-top: 6px;
}
#generateSmartTemplatePdfBtn {
  width: 100%;
  margin-top: 10px;
}
#smartTemplatePdfFeedback {
  min-height: 30px;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  #generateSmartTemplatePdfBtn {
    min-height: 44px;
  }
}

/* CPS_ORIGINAL_DESIGNER_WORKSPACE_V1 */
#moduleDesigner .cps-designer-actionbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;margin:0 0 14px;padding:12px;border:1px solid var(--line);border-radius:12px;background:var(--surface,#fff)}
#moduleDesigner .cps-action-group{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
#moduleDesigner .cps-designer-actionbar button{min-height:36px;padding:8px 12px;font-size:12px}
#moduleDesigner .cps-zoom-label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700}
#moduleDesigner .cps-zoom-label select{height:36px;border:1px solid var(--line);border-radius:7px;padding:5px}
#moduleDesigner #saveDesignBtn{display:none}
#moduleDesigner .designer-grid{display:grid;grid-template-columns:minmax(175px,205px) minmax(0,1fr) minmax(275px,330px);grid-template-areas:"insert canvas properties";align-items:start;gap:12px}
#moduleDesigner .cps-insert-panel{grid-area:insert;min-width:0;padding:13px}
#moduleDesigner .preview-panel{grid-area:canvas;min-width:0}
#moduleDesigner .designer-controls{grid-area:properties;min-width:0;max-height:calc(100vh - 205px);overflow:auto;overscroll-behavior:contain}
#moduleDesigner .cps-panel-help{font-size:11px;line-height:1.55;color:var(--muted,#777b91);margin:0 0 12px}
#moduleDesigner .cps-insert-section{display:grid;gap:7px;margin:12px 0 17px}
#moduleDesigner .cps-insert-section>b{font-size:11px;color:var(--ink)}
#moduleDesigner .cps-insert-tool{width:100%;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:9px;background:var(--surface,#fff);color:var(--ink);text-align:left;font-size:11px;font-weight:650;cursor:pointer}
#moduleDesigner .cps-insert-tool:hover{border-color:var(--brand);background:color-mix(in srgb,var(--brand) 6%,white)}
#moduleDesigner .designer-controls #designerTypeToolbar{width:100%;margin:0 0 14px;padding:12px;border:1px solid var(--line);border-radius:10px;box-shadow:none}
#moduleDesigner .designer-controls #designerTypeToolbar .designer-type-toolbar-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
#moduleDesigner .cps-preview-clickable{cursor:pointer}
#moduleDesigner .cps-preview-clickable:hover{outline:1px dashed var(--brand);outline-offset:2px}
#moduleDesigner .cps-canvas-selected{outline:2px solid var(--brand)!important;outline-offset:2px;border-radius:3px}
#moduleDesigner .preview-stage{min-height:420px}
@media(max-width:1120px){#moduleDesigner .designer-grid{grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);grid-template-areas:"insert insert" "canvas properties"}#moduleDesigner .cps-insert-panel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#moduleDesigner .cps-insert-panel>.panel-title,#moduleDesigner .cps-insert-panel>.cps-panel-help:last-child{grid-column:1/-1}#moduleDesigner .cps-insert-section{margin:0}}
@media(max-width:760px){#moduleDesigner .designer-grid{grid-template-columns:1fr;grid-template-areas:"insert" "canvas" "properties"}#moduleDesigner .cps-insert-panel{display:block}#moduleDesigner .cps-insert-panel .cps-insert-section{grid-template-columns:repeat(2,minmax(0,1fr))}#moduleDesigner .designer-controls{max-height:none;overflow:visible}#moduleDesigner .preview-stage{min-height:300px;padding:12px}#moduleDesigner .cps-action-group{width:100%}#moduleDesigner .cps-action-group button{flex:1}}
@media(max-width:420px){#moduleDesigner .cps-insert-panel .cps-insert-section{grid-template-columns:1fr}#moduleDesigner .cps-action-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
/* CPS_ORIGINAL_DESIGNER_WORKSPACE_V1 END */
/* CPS_ADVANCED_OBJECT_GEOMETRY_V1 */
#moduleDesigner .cps-object-geometry {
  margin:13px 0 16px;
  padding:13px;
  border:1px solid var(--line);
  border-radius:10px;
  background:var(--surface,#fff);
}
#moduleDesigner .cps-geometry-head {
  display:flex;
  justify-content:space-between;
  gap:8px;
  margin-bottom:10px;
  font-size:12px;
}
#moduleDesigner #cpsObjectGeometryTarget {
  color:var(--brand);
  font-size:10px;
  font-weight:700;
}
#moduleDesigner .cps-geometry-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}
#moduleDesigner .cps-geometry-grid label {
  display:grid;
  gap:5px;
  min-width:0;
  font-size:10px;
  font-weight:700;
}
#moduleDesigner .cps-geometry-grid input {
  width:100%;
  min-width:0;
  height:35px;
  box-sizing:border-box;
  padding:7px;
  border:1px solid var(--line);
  border-radius:7px;
  background:#fff;
  font-size:12px;
}
#moduleDesigner .cps-geometry-rotation { grid-column:1/-1; }
#moduleDesigner .cps-geometry-actions {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:10px;
}
#moduleDesigner .cps-geometry-actions button {
  flex:1 1 120px;
  min-height:36px;
  font-size:11px;
}
#moduleDesigner .cps-object-geometry small {
  display:block;
  margin-top:9px;
  color:var(--muted,#777b91);
  font-size:10px;
}
@media(max-width:420px) {
  #moduleDesigner .cps-geometry-actions {
    display:grid;
    grid-template-columns:1fr;
  }
}
/* CPS_ADVANCED_OBJECT_GEOMETRY_V1 END */
/* CPS_ORIGINAL_DESKTOP_DESIGNER_WORKSPACE_V1 */
#moduleOriginalDesktopDesigner {
  width: 100%;
  min-width: 0;
}
#moduleOriginalDesktopDesigner .cps-original-designer-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 245px);
  min-height: 760px;
  border: 1px solid var(--line, #dce2ec);
  border-radius: 12px;
  background: #eef1f6;
}
@media (max-width: 900px) {
  #moduleOriginalDesktopDesigner .cps-original-designer-frame {
    height: calc(100vh - 220px);
    min-height: 820px;
  }
}
/* CPS_PRINT_QUEUE_V1_2 */
.cps-print-queue{margin-top:14px;min-width:0}
.cps-print-queue .panel-title{align-items:flex-start;gap:12px}
.cps-print-queue .panel-title h3{font-size:14px}
.cps-print-queue .panel-title .design-note{margin:5px 0 0;padding:0;border:0;background:transparent}
.cps-queue-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.cps-queue-filters label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:10px;font-weight:700;color:var(--muted,#777d97)}
.cps-queue-filters select{width:100%;min-width:0}
.cps-queue-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.cps-queue-actions button{margin:0}
.cps-queue-table-wrap{width:100%;overflow:auto;border:1px solid var(--line,#e7e8f1);border-radius:10px}
.cps-queue-table{width:100%;min-width:900px;border-collapse:collapse;font-size:10px;background:#fff}
.cps-queue-table th,.cps-queue-table td{padding:10px 11px;border-bottom:1px solid var(--line,#e7e8f1);text-align:left;white-space:nowrap}
.cps-queue-table th{background:#f8f8fc;color:#656b84;font-size:9px;font-weight:800}
.cps-queue-table tbody tr:hover{background:#fafaff}
.cps-queue-table input[type=checkbox]{width:15px;height:15px;margin:0;vertical-align:middle}
.cps-queue-status{display:inline-flex;padding:5px 8px;border-radius:20px;background:#f2f3f7;color:#555b70;font-size:9px;font-weight:800}
.cps-queue-status.pending{background:#fff4d9;color:#895e08}
.cps-queue-status.printed{background:#e5f7ed;color:#17633b}
.cps-queue-status.reprint_requested{background:#f0eaff;color:#5c3aa5}
@media(max-width:760px){
 .cps-queue-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cps-queue-actions{display:grid;grid-template-columns:1fr 1fr}
 .cps-queue-actions button{width:100%;min-height:40px}
 .cps-print-queue .panel-title{flex-direction:column}
}
@media(max-width:420px){
 .cps-queue-filters{grid-template-columns:1fr}
 .cps-queue-actions{grid-template-columns:1fr}
}

/* CPS_RECENT_INSTITUTION_REFERENCE_MATCH_V4 */
#institutionCard.cps-inst-host-v4,
.card.cps-inst-host-v4 {
  width:100%;max-width:none;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
.cps-inst-old-header-v4 { display:none!important; }
.cps-inst-hero-v4 {
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;
  min-height:188px;margin:0 0 26px;padding:25px 34px;overflow:hidden;border-radius:18px;
  color:#fff;background:linear-gradient(108deg,#075bdc 0%,#0877ef 45%,#3425c9 100%);
  box-shadow:0 12px 28px rgba(20,85,190,.22);
}
.cps-inst-hero-v4:before,.cps-inst-hero-v4:after {content:"";position:absolute;border-radius:50%;pointer-events:none}
.cps-inst-hero-v4:before {width:270px;height:270px;right:24%;top:-158px;border:1px solid rgba(255,255,255,.2);box-shadow:0 0 0 24px rgba(255,255,255,.035),0 0 0 50px rgba(255,255,255,.025)}
.cps-inst-hero-v4:after {width:210px;height:210px;right:5%;bottom:-175px;background:rgba(37,210,255,.2);filter:blur(2px)}
.cps-inst-hero-copy {position:relative;z-index:2;max-width:590px}
.cps-inst-hero-kicker {display:inline-block;margin-bottom:9px;font-size:9px;font-weight:900;letter-spacing:2px;color:#bfe8ff}
.cps-inst-hero-v4 h2 {margin:0 0 8px;color:#fff;font-size:clamp(25px,3vw,38px);font-weight:900;letter-spacing:-1.2px;line-height:1.08}
.cps-inst-hero-v4 h2 em {font-style:normal;color:#ffdf37}
.cps-inst-hero-v4 p {max-width:545px;margin:0;color:rgba(255,255,255,.92);font-size:14px;line-height:1.55}
.cps-inst-hero-art {position:relative;z-index:1;flex:0 0 330px;height:145px}
.cps-inst-hero-ring {position:absolute;width:165px;height:165px;right:90px;top:-10px;border:2px solid rgba(255,255,255,.38);border-radius:50%;box-shadow:0 0 0 13px rgba(255,255,255,.08)}
.cps-inst-hero-lanyard {position:absolute;right:99px;top:0;width:75px;height:116px;border:9px solid #1a2378;border-top-width:13px;border-bottom:0;border-radius:48px 48px 8px 8px;transform:rotate(24deg);filter:drop-shadow(0 5px 6px rgba(0,0,0,.2))}
.cps-inst-hero-badge {position:absolute;right:148px;top:51px;width:100px;height:75px;padding:10px 9px;border:4px solid #fff;border-radius:9px;background:linear-gradient(140deg,#f8fdff,#d9eaff);color:#183d87;box-shadow:0 8px 18px rgba(0,0,0,.25);transform:rotate(9deg)}
.cps-inst-hero-badge b {display:block;font-size:12px;font-weight:950;letter-spacing:1px}.cps-inst-hero-badge span,.cps-inst-hero-badge i {display:block;width:45px;height:4px;margin-top:5px;border-radius:4px;background:#9eb9dd}.cps-inst-hero-badge i {width:65px}.cps-inst-hero-badge small {display:block;margin-top:6px;font-size:6px;font-weight:900;letter-spacing:.7px}
.cps-inst-hero-building {position:absolute;right:0;bottom:2px;width:112px;height:84px;border:3px solid #f4f9ff;border-bottom:6px solid #e7f4ff;border-radius:8px 8px 2px 2px;background:linear-gradient(#f7fbff 0 20%,#e4f0ff 20%);box-shadow:0 7px 15px rgba(0,0,0,.16)}
.cps-inst-hero-building:before {content:"";position:absolute;left:-9px;right:-9px;top:-16px;height:18px;background:#e85d3e;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)}
.cps-inst-hero-building b {position:absolute;left:42px;bottom:0;width:23px;height:40px;background:#4772a7;border:3px solid #fff;border-bottom:0}
.cps-inst-hero-building span {position:absolute;top:23px;width:14px;height:16px;background:#94c9e8;border:2px solid #fff}
.cps-inst-hero-building span:nth-child(1){left:10px}.cps-inst-hero-building span:nth-child(2){left:47px}.cps-inst-hero-building span:nth-child(3){right:10px}
.cps-inst-toolbar-v4 {display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:0 0 2px}
.cps-inst-toolbar-title {display:flex;align-items:center;gap:13px;min-width:230px}
.cps-inst-toolbar-icon {display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#e1efff,#dce8ff);color:#0863dd;font-size:27px;font-weight:900}
.cps-inst-toolbar-title h2 {margin:0;color:#142c58;font-size:23px;font-weight:900;letter-spacing:-.65px}
.cps-inst-toolbar-title p {margin:4px 0 0;color:#75829a;font-size:11px;line-height:1.45}
.cps-inst-toolbar-actions {display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.cps-inst-search-v4 {display:flex;align-items:center;gap:8px;width:220px;margin:0;padding:0 12px;border:1px solid #dce4f1;border-radius:10px;background:#fff;color:#586a8a}
.cps-inst-search-v4 span {font-size:22px;line-height:1}
.cps-inst-search-v4 input {width:100%;min-width:0;margin:0;padding:11px 0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;font-size:11px}
.cps-inst-view-toggle-v4 {display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #dce4f1;border-radius:10px;background:#fff}
.cps-inst-view-toggle-v4 button {width:36px;height:34px;border:0;border-radius:7px;background:transparent;color:#61708b;font-size:19px;cursor:pointer}
.cps-inst-view-toggle-v4 button.is-active {color:#fff;background:#0870e8;box-shadow:0 3px 8px rgba(8,112,232,.22)}
.cps-inst-add-v4 {display:inline-flex;align-items:center;gap:7px;min-height:40px;padding:0 17px;border:0;border-radius:10px;background:linear-gradient(110deg,#1268e8,#7000d7);color:#fff;font-size:11px;font-weight:850;cursor:pointer;box-shadow:0 6px 14px rgba(76,54,197,.2)}
.cps-inst-add-v4 span {font-size:20px;line-height:1}
#institutions.cps-inst-grid-v4 {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;width:100%}
#institutions.cps-inst-grid-v4 .cps-inst-card-v4 {position:relative;min-width:0;overflow:visible;border:1px solid #dce6f4;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(34,75,135,.12);transition:transform .18s,box-shadow .18s,border-color .18s}
#institutions.cps-inst-grid-v4 .cps-inst-card-v4:hover {transform:translateY(-3px);border-color:#9bbcf4;box-shadow:0 14px 30px rgba(34,75,135,.18)}
.cps-inst-cover-v4 {position:relative;height:112px;padding:14px;overflow:hidden;border-radius:16px 16px 0 0;background:linear-gradient(112deg,#0671e8 0%,#0786ed 53%,#4932ca 100%)}
.cps-inst-card-v4:nth-child(3n+2) .cps-inst-cover-v4 {background:linear-gradient(112deg,#6736c9,#8c4de3 56%,#ca49b5)}
.cps-inst-card-v4:nth-child(3n) .cps-inst-cover-v4 {background:linear-gradient(112deg,#06a5b9,#11a98a 55%,#268954)}
.cps-inst-cover-type-v4 {position:relative;z-index:2;display:inline-flex;align-items:center;min-height:29px;padding:0 13px;border:1px solid rgba(255,255,255,.55);border-radius:30px;background:rgba(255,255,255,.15);color:#fff;font-size:10px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}
.cps-inst-status-v4 {position:absolute;z-index:2;right:12px;top:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:22px;background:#fff;color:#166b43;font-size:9px;font-weight:900;box-shadow:0 3px 9px rgba(0,0,0,.13)}
.cps-inst-status-v4 i {width:7px;height:7px;border-radius:50%;background:#11a566}.cps-inst-status-v4.is-inactive {color:#ad4242}.cps-inst-status-v4.is-inactive i {background:#d54c4c}
.cps-inst-cover-orbit-v4 {position:absolute;right:-30px;top:-76px;width:190px;height:190px;border:1px solid rgba(255,255,255,.23);border-radius:50%;box-shadow:0 0 0 21px rgba(255,255,255,.045),0 0 0 43px rgba(255,255,255,.035)}
.cps-inst-cover-school-v4 {position:absolute;right:22px;bottom:0;width:118px;height:58px;border:2px solid rgba(255,255,255,.8);border-bottom:0;border-radius:7px 7px 0 0;background:linear-gradient(#fff 0 22%,#dcecff 22%);opacity:.95;box-shadow:0 2px 9px rgba(0,0,0,.16)}
.cps-inst-cover-school-v4:before {content:"";position:absolute;left:-8px;right:-8px;top:-13px;height:15px;background:#f5b5a1;clip-path:polygon(6% 0,94% 0,100% 100%,0 100%)}
.cps-inst-cover-school-v4 b {position:absolute;left:47px;bottom:0;width:22px;height:28px;background:#5086b8;border:2px solid #fff;border-bottom:0}
.cps-inst-cover-school-v4 i {position:absolute;top:19px;width:13px;height:13px;background:#a7d7f0;border:2px solid #fff}
.cps-inst-cover-school-v4 i:nth-of-type(1){left:10px}.cps-inst-cover-school-v4 i:nth-of-type(2){left:32px}.cps-inst-cover-school-v4 i:nth-of-type(3){right:32px}.cps-inst-cover-school-v4 i:nth-of-type(4){right:10px}
.cps-inst-card-body-v4 {padding:0 14px 14px}
.cps-inst-identity-v4 {display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:82px;margin-top:-39px;position:relative;z-index:3}
.cps-inst-logo-v4 {display:grid;place-items:center;flex:0 0 82px;width:82px;height:82px;padding:5px;border:4px solid #fff;border-radius:50%;background:#fff;box-shadow:0 4px 13px rgba(20,50,100,.18)}
.cps-inst-logo-img-v4,.cps-inst-logo-fallback-v4 {display:grid;place-items:center;width:100%;height:100%;border-radius:50%;object-fit:contain;overflow:hidden}
.cps-inst-logo-fallback-v4 {background:linear-gradient(145deg,#e1edff,#f7faff);color:#174c9d;font-size:21px;font-weight:950}
.cps-inst-card-v4:nth-child(3n+2) .cps-inst-logo-fallback-v4 {background:#f1e8ff;color:#713ac5}.cps-inst-card-v4:nth-child(3n) .cps-inst-logo-fallback-v4 {background:#e1f7ee;color:#087d68}
.cps-inst-name-v4 {min-width:0;flex:1;padding-top:46px}
.cps-inst-name-v4 h3 {margin:0;color:#10264e;font-size:16px;line-height:1.2;font-weight:900;overflow-wrap:anywhere}
.cps-inst-name-v4 p {margin:5px 0 0;color:#63728d;font-size:10px;line-height:1.4}
.cps-inst-name-v4 p span {color:#bfcbdd;padding:0 3px}
.cps-inst-contact-v4 {display:block;margin-top:4px;color:#7b879a;font-size:9px;overflow-wrap:anywhere}
.cps-inst-stats-v4 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0 13px}
.cps-inst-stat-v4 {min-width:0;min-height:55px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 9px;border:1px solid #e5edf7;border-radius:10px;background:linear-gradient(145deg,#f5f9ff,#eaf2ff)}
.cps-inst-card-v4:nth-child(3n+2) .cps-inst-stat-v4 {background:linear-gradient(145deg,#fbf8ff,#f0eaff);border-color:#eee4ff}
.cps-inst-card-v4:nth-child(3n) .cps-inst-stat-v4 {background:linear-gradient(145deg,#f4fcf8,#e8f6f0);border-color:#dff0e7}
.cps-inst-stat-v4 strong {color:#15499f;font-size:15px;font-weight:950;line-height:1.15;overflow-wrap:anywhere}
.cps-inst-card-v4:nth-child(3n+2) .cps-inst-stat-v4 strong {color:#6130b6}.cps-inst-card-v4:nth-child(3n) .cps-inst-stat-v4 strong {color:#14734f}
.cps-inst-stat-v4 span {color:#69778f;font-size:8px;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.25px}
.cps-inst-actions-v4 {display:grid;grid-template-columns:1.05fr 1fr 1fr 38px;gap:7px;padding-top:11px;border-top:1px solid #edf1f7}
.cps-inst-actions-v4 button {display:inline-flex;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:37px;padding:0 8px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#283a58;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap}
.cps-inst-actions-v4 button:disabled {opacity:.55;cursor:not-allowed}
.cps-inst-actions-v4 .cps-inst-open-v4 {border-color:#1269e8;background:linear-gradient(110deg,#1768e8,#094cca);color:#fff;box-shadow:0 4px 9px rgba(15,89,205,.18)}
.cps-inst-actions-v4 .cps-inst-more-v4 {font-size:14px;letter-spacing:1px}
.cps-inst-more-wrap-v4 {position:relative;min-width:0}
.cps-inst-more-menu-v4 {display:none;position:absolute;right:0;bottom:43px;z-index:6;min-width:150px;padding:6px;border:1px solid #e4e8f0;border-radius:9px;background:#fff;box-shadow:0 9px 24px rgba(25,45,80,.16)}
.cps-inst-more-menu-v4.is-open {display:block}.cps-inst-more-menu-v4 .delete {width:100%;justify-content:flex-start}
#institutions.cps-inst-list-view-v4 {grid-template-columns:minmax(0,1fr)!important;gap:10px!important}
#institutions.cps-inst-list-view-v4 .cps-inst-card-v4 {display:grid;grid-template-columns:180px minmax(0,1fr);overflow:hidden}
#institutions.cps-inst-list-view-v4 .cps-inst-cover-v4 {height:100%;min-height:180px;border-radius:16px 0 0 16px}
#institutions.cps-inst-list-view-v4 .cps-inst-identity-v4 {margin-top:0;min-height:72px}
#institutions.cps-inst-list-view-v4 .cps-inst-logo-v4 {width:66px;height:66px;flex-basis:66px}
#institutions.cps-inst-list-view-v4 .cps-inst-name-v4 {padding-top:8px}
.cps-inst-empty-v4 {grid-column:1/-1;padding:28px;border:1px dashed #cbd8eb;border-radius:14px;background:#fff;color:#71809a;text-align:center;font-size:12px}
.cps-inst-profile-modal-v4 {display:none;position:fixed;inset:0;z-index:10000;align-items:center;justify-content:center;padding:20px;background:rgba(9,24,52,.58)}
.cps-inst-profile-modal-v4.is-open {display:flex}
.cps-inst-profile-dialog-v4 {position:relative;width:min(520px,100%);max-height:85vh;overflow:auto;padding:24px;border:1px solid #e4ebf5;border-radius:18px;background:#fff;box-shadow:0 22px 60px rgba(5,20,48,.3)}
.cps-inst-profile-close-v4 {position:absolute;right:14px;top:12px;width:32px;height:32px;border:0;border-radius:50%;background:#eef3fb;color:#344a6d;font-size:22px;cursor:pointer}
.cps-inst-profile-head-v4 {display:flex;align-items:center;gap:13px;padding:0 36px 17px 0;border-bottom:1px solid #e9eef6}
.cps-inst-profile-head-v4 img,.cps-inst-profile-head-v4 span {display:grid;place-items:center;width:60px;height:60px;border-radius:50%;object-fit:contain;background:#eef4ff;color:#1750a4;font-size:19px;font-weight:900}
.cps-inst-profile-head-v4 small {color:#5375a4;font-size:8px;font-weight:900;letter-spacing:1.3px}
.cps-inst-profile-head-v4 h2 {margin:4px 0;color:#122a53;font-size:18px}.cps-inst-profile-head-v4 p {margin:0;color:#77849b;font-size:10px}
.cps-inst-profile-rows-v4 {display:grid;grid-template-columns:1fr 1fr;gap:10px;padding-top:16px}
.cps-inst-profile-rows-v4 div {padding:11px;border:1px solid #e9eef6;border-radius:9px;background:#f8faff;min-width:0}
.cps-inst-profile-rows-v4 small {display:block;color:#7b8aa3;font-size:9px;font-weight:800;text-transform:uppercase}
.cps-inst-profile-rows-v4 strong {display:block;margin-top:5px;color:#1c3156;font-size:11px;overflow-wrap:anywhere}
@media(max-width:1050px){#institutions.cps-inst-grid-v4{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cps-inst-hero-art{flex-basis:250px}.cps-inst-hero-building{transform:scale(.82);transform-origin:bottom right}}
@media(max-width:720px){.cps-inst-hero-v4{min-height:165px;padding:22px 19px}.cps-inst-hero-art{display:none}.cps-inst-toolbar-v4{align-items:flex-start;flex-direction:column}.cps-inst-toolbar-actions{width:100%;justify-content:flex-start}.cps-inst-search-v4{flex:1 1 180px;width:auto}.cps-inst-toolbar-title h2{font-size:20px}#institutions.cps-inst-grid-v4{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:480px){.cps-inst-hero-v4 h2{font-size:25px}.cps-inst-hero-v4 p{font-size:11px}.cps-inst-add-v4{padding:0 11px}.cps-inst-actions-v4{grid-template-columns:1.05fr 1fr 1fr 34px;gap:5px}.cps-inst-actions-v4 button{font-size:9px;padding:0 5px}.cps-inst-stat-v4{padding:7px 6px}.cps-inst-stat-v4 strong{font-size:13px}.cps-inst-profile-rows-v4{grid-template-columns:1fr}}
/* CPS_INSTITUTIONS_PAGE_FULLWIDTH_V5 */
/* Full-width module canvas: keep the institution card from inheriting the dashboard's two-column grid. */
html.cps-inst-page-v5 .layout.cps-inst-layout-wide-v5 {
  display:block!important;width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
}
html.cps-inst-page-v5 .layout.cps-inst-layout-wide-v5 > :not(#institutionCard):not(:has(#institutionCard)) { display:none!important; }
html.cps-inst-page-v5 #institutionCard,
html.cps-inst-page-v5 #institutionCard.cps-inst-host-v4,
html.cps-inst-page-v5 .card.cps-inst-host-v4 {
  display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important;
}
html.cps-inst-page-v5 .cps-inst-old-header-v4 { display:none!important; }

/* Clean ASCII-first hero and toolbar. All visible labels are plain ASCII to avoid browser charset mojibake. */
.cps-inst-hero-v5 {
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:190px;
  margin:0 0 25px;padding:26px 34px;overflow:hidden;border-radius:19px;color:#fff;
  background:linear-gradient(108deg,#075bdc 0%,#0877ef 48%,#3525c9 100%);box-shadow:0 12px 28px rgba(20,85,190,.2);
}
.cps-inst-hero-v5:before,.cps-inst-hero-v5:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.cps-inst-hero-v5:before{width:280px;height:280px;right:25%;top:-165px;border:1px solid rgba(255,255,255,.2);box-shadow:0 0 0 25px rgba(255,255,255,.035),0 0 0 52px rgba(255,255,255,.025)}
.cps-inst-hero-v5:after{width:210px;height:210px;right:4%;bottom:-175px;background:rgba(37,210,255,.18)}
.cps-inst-hero-copy-v5{position:relative;z-index:2;max-width:610px}
.cps-inst-hero-kicker-v5{display:inline-block;margin-bottom:10px;color:#c7ebff;font-size:9px;font-weight:900;letter-spacing:2px}
.cps-inst-hero-v5 h2{margin:0 0 9px;color:#fff;font-size:clamp(27px,3.2vw,40px);font-weight:950;letter-spacing:-1.3px;line-height:1.08}
.cps-inst-hero-v5 h2 em{color:#ffdf39;font-style:normal}
.cps-inst-hero-v5 p{max-width:560px;margin:0;color:rgba(255,255,255,.94);font-size:14px;line-height:1.55}
.cps-inst-hero-art-v5{position:relative;z-index:1;flex:0 0 330px;height:145px}
.cps-inst-hero-ring-v5{position:absolute;width:165px;height:165px;right:90px;top:-10px;border:2px solid rgba(255,255,255,.38);border-radius:50%;box-shadow:0 0 0 13px rgba(255,255,255,.08)}
.cps-inst-hero-lanyard-v5{position:absolute;right:99px;top:0;width:75px;height:116px;border:9px solid #1a2378;border-top-width:13px;border-bottom:0;border-radius:48px 48px 8px 8px;transform:rotate(24deg);filter:drop-shadow(0 5px 6px rgba(0,0,0,.2))}
.cps-inst-hero-badge-v5{position:absolute;right:148px;top:51px;width:100px;height:75px;padding:10px 9px;border:4px solid #fff;border-radius:9px;background:linear-gradient(140deg,#f8fdff,#d9eaff);color:#183d87;box-shadow:0 8px 18px rgba(0,0,0,.25);transform:rotate(9deg)}
.cps-inst-hero-badge-v5 b{display:block;font-size:12px;font-weight:950;letter-spacing:1px}.cps-inst-hero-badge-v5 span,.cps-inst-hero-badge-v5 i{display:block;width:45px;height:4px;margin-top:5px;border-radius:4px;background:#9eb9dd}.cps-inst-hero-badge-v5 i{width:65px}.cps-inst-hero-badge-v5 small{display:block;margin-top:6px;font-size:6px;font-weight:900;letter-spacing:.7px}
.cps-inst-hero-building-v5{position:absolute;right:0;bottom:2px;width:112px;height:84px;border:3px solid #f4f9ff;border-bottom:6px solid #e7f4ff;border-radius:8px 8px 2px 2px;background:linear-gradient(#f7fbff 0 20%,#e4f0ff 20%);box-shadow:0 7px 15px rgba(0,0,0,.16)}
.cps-inst-hero-building-v5:before{content:"";position:absolute;left:-9px;right:-9px;top:-16px;height:18px;background:#e85d3e;clip-path:polygon(8% 0,92% 0,100% 100%,0 100%)}
.cps-inst-hero-building-v5 b{position:absolute;left:42px;bottom:0;width:23px;height:40px;background:#4772a7;border:3px solid #fff;border-bottom:0}
.cps-inst-hero-building-v5 span{position:absolute;top:23px;width:14px;height:16px;background:#94c9e8;border:2px solid #fff}.cps-inst-hero-building-v5 span:nth-child(1){left:10px}.cps-inst-hero-building-v5 span:nth-child(2){left:47px}.cps-inst-hero-building-v5 span:nth-child(3){right:10px}
.cps-inst-toolbar-v5{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;margin:0 0 18px;padding:0 0 2px}
.cps-inst-toolbar-title-v5{display:flex;align-items:center;gap:13px;min-width:240px}
.cps-inst-toolbar-icon-v5{position:relative;display:block;flex:0 0 48px;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,#e1efff,#dce8ff)}
.cps-inst-toolbar-icon-v5:before{content:"";position:absolute;left:14px;top:11px;width:18px;height:24px;border:3px solid #0863dd;border-bottom-width:4px;border-radius:3px}
.cps-inst-toolbar-icon-v5:after{content:"";position:absolute;left:18px;top:17px;width:4px;height:4px;background:#0863dd;box-shadow:8px 0 #0863dd,0 8px #0863dd,8px 8px #0863dd}
.cps-inst-toolbar-title-v5 h2{margin:0;color:#142c58;font-size:23px;font-weight:900;letter-spacing:-.65px}
.cps-inst-toolbar-title-v5 p{margin:4px 0 0;color:#75829a;font-size:11px;line-height:1.45}
.cps-inst-toolbar-actions-v5{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}
.cps-inst-search-v5{display:flex;align-items:center;gap:10px;width:230px;margin:0;padding:0 12px;border:1px solid #dce4f1;border-radius:10px;background:#fff}
.cps-inst-search-v5>span{position:relative;display:block;flex:0 0 15px;width:15px;height:15px;border:2px solid #61708b;border-radius:50%}
.cps-inst-search-v5>span:after{content:"";position:absolute;width:6px;height:2px;right:-5px;bottom:-3px;background:#61708b;transform:rotate(45deg);border-radius:2px}
.cps-inst-search-v5 input{width:100%;min-width:0;margin:0;padding:11px 0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent;font-size:11px}
.cps-inst-view-toggle-v5{display:flex;align-items:center;gap:3px;padding:3px;border:1px solid #dce4f1;border-radius:10px;background:#fff}
.cps-inst-view-toggle-v5 button{min-width:46px;height:34px;padding:0 9px;border:0;border-radius:7px;background:transparent;color:#61708b;font-size:10px;font-weight:800;cursor:pointer}
.cps-inst-view-toggle-v5 button.is-active{color:#fff;background:#0870e8;box-shadow:0 3px 8px rgba(8,112,232,.22)}
.cps-inst-add-v5{min-height:40px;padding:0 17px;border:0;border-radius:10px;background:linear-gradient(110deg,#1268e8,#7000d7);color:#fff;font-size:11px;font-weight:850;cursor:pointer;box-shadow:0 6px 14px rgba(76,54,197,.2)}

/* Full-width, responsive institution cards. */
#institutions.cps-inst-grid-v5{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))!important;align-items:stretch!important;gap:18px!important;width:100%!important;max-width:none!important;margin:0!important}
#institutions.cps-inst-grid-v5 .cps-inst-card-v5{position:relative;min-width:0;overflow:visible;border:1px solid #dce6f4;border-radius:17px;background:#fff;box-shadow:0 8px 22px rgba(34,75,135,.12);transition:transform .18s,box-shadow .18s,border-color .18s}
#institutions.cps-inst-grid-v5 .cps-inst-card-v5:hover{transform:translateY(-3px);border-color:#9bbcf4;box-shadow:0 14px 30px rgba(34,75,135,.18)}
.cps-inst-cover-v5{position:relative;height:112px;padding:14px;overflow:hidden;border-radius:16px 16px 0 0;background:linear-gradient(112deg,#0671e8 0%,#0786ed 53%,#4932ca 100%)}
.cps-inst-card-v5:nth-child(3n+2) .cps-inst-cover-v5{background:linear-gradient(112deg,#6736c9,#8c4de3 56%,#ca49b5)}.cps-inst-card-v5:nth-child(3n) .cps-inst-cover-v5{background:linear-gradient(112deg,#06a5b9,#11a98a 55%,#268954)}
.cps-inst-cover-type-v5{position:relative;z-index:2;display:inline-flex;align-items:center;min-height:29px;padding:0 13px;border:1px solid rgba(255,255,255,.55);border-radius:30px;background:rgba(255,255,255,.15);color:#fff;font-size:10px;font-weight:900;letter-spacing:.6px;text-transform:uppercase}
.cps-inst-status-v5{position:absolute;z-index:2;right:12px;top:12px;display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:22px;background:#fff;color:#166b43;font-size:9px;font-weight:900;box-shadow:0 3px 9px rgba(0,0,0,.13)}.cps-inst-status-v5 i{width:7px;height:7px;border-radius:50%;background:#11a566}.cps-inst-status-v5.is-inactive{color:#ad4242}.cps-inst-status-v5.is-inactive i{background:#d54c4c}
.cps-inst-cover-orbit-v5{position:absolute;right:-30px;top:-76px;width:190px;height:190px;border:1px solid rgba(255,255,255,.23);border-radius:50%;box-shadow:0 0 0 21px rgba(255,255,255,.045),0 0 0 43px rgba(255,255,255,.035)}
.cps-inst-cover-school-v5{position:absolute;right:22px;bottom:0;width:118px;height:58px;border:2px solid rgba(255,255,255,.8);border-bottom:0;border-radius:7px 7px 0 0;background:linear-gradient(#fff 0 22%,#dcecff 22%);opacity:.95;box-shadow:0 2px 9px rgba(0,0,0,.16)}.cps-inst-cover-school-v5:before{content:"";position:absolute;left:-8px;right:-8px;top:-13px;height:15px;background:#f5b5a1;clip-path:polygon(6% 0,94% 0,100% 100%,0 100%)}.cps-inst-cover-school-v5 b{position:absolute;left:47px;bottom:0;width:22px;height:28px;background:#5086b8;border:2px solid #fff;border-bottom:0}.cps-inst-cover-school-v5 i{position:absolute;top:19px;width:13px;height:13px;background:#a7d7f0;border:2px solid #fff}.cps-inst-cover-school-v5 i:nth-of-type(1){left:10px}.cps-inst-cover-school-v5 i:nth-of-type(2){left:32px}.cps-inst-cover-school-v5 i:nth-of-type(3){right:32px}.cps-inst-cover-school-v5 i:nth-of-type(4){right:10px}
.cps-inst-card-body-v5{padding:0 14px 14px}.cps-inst-identity-v5{display:flex;align-items:flex-start;gap:12px;min-width:0;min-height:82px;margin-top:-39px;position:relative;z-index:3}
.cps-inst-logo-v5{display:grid;place-items:center;flex:0 0 82px;width:82px;height:82px;padding:5px;border:4px solid #fff;border-radius:50%;background:#fff;box-shadow:0 4px 13px rgba(20,50,100,.18)}.cps-inst-logo-img-v5,.cps-inst-logo-fallback-v5{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;object-fit:contain;overflow:hidden}.cps-inst-logo-fallback-v5{background:linear-gradient(145deg,#e1edff,#f7faff);color:#174c9d;font-size:21px;font-weight:950}
.cps-inst-name-v5{min-width:0;flex:1;padding-top:46px}.cps-inst-name-v5 h3{margin:0;color:#10264e;font-size:16px;line-height:1.2;font-weight:900;overflow-wrap:anywhere}.cps-inst-name-v5 p{margin:5px 0 0;color:#63728d;font-size:10px;line-height:1.4}.cps-inst-contact-v5{display:block;margin-top:4px;color:#7b879a;font-size:9px;overflow-wrap:anywhere}
.cps-inst-stats-v5{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:14px 0 13px}.cps-inst-stat-v5{min-width:0;min-height:55px;display:flex;flex-direction:column;justify-content:center;gap:3px;padding:8px 9px;border:1px solid #e5edf7;border-radius:10px;background:linear-gradient(145deg,#f5f9ff,#eaf2ff)}.cps-inst-stat-v5 strong{color:#15499f;font-size:15px;font-weight:950;line-height:1.15;overflow-wrap:anywhere}.cps-inst-stat-v5 span{color:#69778f;font-size:8px;font-weight:800;line-height:1.2;text-transform:uppercase;letter-spacing:.25px}
.cps-inst-actions-v5{display:grid;grid-template-columns:1.05fr 1fr 1fr 58px;gap:7px;padding-top:11px;border-top:1px solid #edf1f7}.cps-inst-actions-v5 button{display:inline-flex;justify-content:center;align-items:center;min-width:0;min-height:37px;padding:0 8px;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#283a58;font-size:10px;font-weight:850;cursor:pointer;white-space:nowrap}.cps-inst-actions-v5 button:disabled{opacity:.6;cursor:not-allowed}.cps-inst-actions-v5 .cps-inst-open-v5{border-color:#1269e8;background:linear-gradient(110deg,#1768e8,#094cca);color:#fff;box-shadow:0 4px 9px rgba(15,89,205,.18)}.cps-inst-more-wrap-v5{position:relative;min-width:0}.cps-inst-actions-v5 .cps-inst-more-v5{width:100%;font-size:9px}.cps-inst-more-menu-v4{display:none;position:absolute;right:0;bottom:43px;z-index:6;min-width:150px;padding:6px;border:1px solid #e4e8f0;border-radius:9px;background:#fff;box-shadow:0 9px 24px rgba(25,45,80,.16)}.cps-inst-more-menu-v4.is-open{display:block}.cps-inst-more-menu-v4 .delete{width:100%;justify-content:flex-start}
#institutions.cps-inst-list-view-v5{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}#institutions.cps-inst-list-view-v5 .cps-inst-card-v5{display:grid;grid-template-columns:180px minmax(0,1fr);overflow:hidden}#institutions.cps-inst-list-view-v5 .cps-inst-cover-v5{height:100%;min-height:180px;border-radius:16px 0 0 16px}#institutions.cps-inst-list-view-v5 .cps-inst-identity-v5{margin-top:0;min-height:72px}#institutions.cps-inst-list-view-v5 .cps-inst-logo-v5{width:66px;height:66px;flex-basis:66px}#institutions.cps-inst-list-view-v5 .cps-inst-name-v5{padding-top:8px}
.cps-inst-empty-v5{grid-column:1/-1;padding:28px;border:1px dashed #cbd8eb;border-radius:14px;background:#fff;color:#71809a;text-align:center;font-size:12px}
@media(max-width:1050px){.cps-inst-hero-art-v5{flex-basis:250px}.cps-inst-hero-building-v5{transform:scale(.82);transform-origin:bottom right}}
@media(max-width:760px){.cps-inst-hero-v5{min-height:165px;padding:22px 19px}.cps-inst-hero-art-v5{display:none}.cps-inst-toolbar-v5{align-items:flex-start;flex-direction:column}.cps-inst-toolbar-actions-v5{width:100%;justify-content:flex-start}.cps-inst-search-v5{flex:1 1 180px;width:auto}.cps-inst-toolbar-title-v5 h2{font-size:20px}#institutions.cps-inst-grid-v5{grid-template-columns:minmax(0,1fr)!important}}
@media(max-width:480px){.cps-inst-hero-v5 h2{font-size:25px}.cps-inst-hero-v5 p{font-size:11px}.cps-inst-add-v5{padding:0 11px}.cps-inst-actions-v5{grid-template-columns:1.05fr 1fr 1fr 48px;gap:5px}.cps-inst-actions-v5 button{font-size:9px;padding:0 5px}.cps-inst-stat-v5{padding:7px 6px}.cps-inst-stat-v5 strong{font-size:13px}}
/* CPS_OVERVIEW_INSTITUTIONS_WIDGET_FIX_V6 */
/* V5 introduced a dedicated Institutions hero/toolbar. Do not render that full-page chrome inside Overview's small widget. */
html:not(.cps-inst-page-v5) #cpsInstitutionHeroV4,
html:not(.cps-inst-page-v5) #cpsInstitutionToolbarV4 {
  display: none !important;
}
html:not(.cps-inst-page-v5) .cps-inst-old-header-v4 {
  display: flex !important;
  visibility: visible !important;
  height: auto !important;
  max-height: none !important;
  margin-bottom: 12px !important;
  overflow: visible !important;
}
/* Overview cards must size to their parent column; only the dedicated Institutions page is full-width. */
html:not(.cps-inst-page-v5) #institutions.cps-inst-grid-v5 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 12px !important;
}
html:not(.cps-inst-page-v5) #institutions.cps-inst-grid-v5 .cps-inst-card-v5 {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}
html:not(.cps-inst-page-v5) .cps-inst-actions-v5 {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}
html:not(.cps-inst-page-v5) .cps-inst-more-wrap-v5 {
  display: none !important;
}
@media (max-width: 520px) {
  html:not(.cps-inst-page-v5) .cps-inst-stats-v5 {
    gap: 5px !important;
  }
  html:not(.cps-inst-page-v5) .cps-inst-stat-v5 {
    min-width: 0 !important;
    padding: 8px 5px !important;
  }
  html:not(.cps-inst-page-v5) .cps-inst-stat-v5 span {
    font-size: 9px !important;
  }
}
/* CPS_ADVANCED_INSTITUTION_PROFILE_PAGE_V6 */
.cps-inst-profile-modal-v4.is-open{
  position:fixed!important;inset:0!important;z-index:99999!important;display:flex!important;align-items:flex-start!important;justify-content:center!important;
  padding:22px!important;overflow:auto!important;background:rgba(8,20,48,.68)!important;backdrop-filter:blur(7px)!important;
}
.cps-inst-profile-page-v6{
  position:relative!important;display:block!important;width:min(1120px,100%)!important;max-width:1120px!important;max-height:none!important;min-height:calc(100vh - 44px)!important;
  margin:auto!important;padding:0!important;overflow:hidden!important;border:1px solid #dce6f5!important;border-radius:20px!important;background:#f6f9ff!important;
  box-shadow:0 28px 90px rgba(0,0,0,.32)!important;color:#15294d!important;
}
.cps-inst-profile-top-v6{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 25px;background:linear-gradient(105deg,#052b70,#075ed5 58%,#3522a8);color:#fff}
.cps-inst-profile-brand-v6{display:flex;flex-direction:column;gap:5px}.cps-inst-profile-brand-v6 span{font-size:9px;font-weight:900;letter-spacing:2.2px;color:#bfe7ff}.cps-inst-profile-brand-v6 strong{font-size:14px;letter-spacing:.5px}
.cps-inst-profile-top-actions-v6{display:flex;align-items:center;gap:10px}.cps-inst-profile-print-v6{min-height:36px;padding:0 15px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:rgba(255,255,255,.12);color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.cps-inst-profile-page-v6 .cps-inst-profile-close-v4{position:static!important;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;padding:0;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:23px;line-height:1;cursor:pointer}
.cps-inst-profile-hero-v6{display:flex;align-items:center;gap:22px;padding:27px 30px 24px;background:linear-gradient(115deg,#eaf3ff,#fff 58%,#f0eaff);border-bottom:1px solid #e1e9f5}
.cps-inst-profile-logo-v6{display:grid;place-items:center;flex:0 0 112px;width:112px;height:112px;padding:6px;border:1px solid #d7e4f7;border-radius:23px;background:#fff;box-shadow:0 8px 24px rgba(23,74,150,.13)}
.cps-inst-profile-logo-v6 img,.cps-inst-profile-logo-v6>span{display:grid;place-items:center;width:100%;height:100%;border-radius:16px;object-fit:contain}.cps-inst-profile-logo-v6>span{background:linear-gradient(145deg,#dceaff,#f8fbff);color:#0c58bf;font-size:30px;font-weight:950}
.cps-inst-profile-title-v6{min-width:0;flex:1}.cps-inst-profile-title-v6>small{color:#3869aa;font-size:9px;font-weight:950;letter-spacing:1.7px}.cps-inst-profile-title-v6 h1{margin:7px 0 5px;color:#102a55;font-size:clamp(25px,3vw,36px);font-weight:950;letter-spacing:-.8px;line-height:1.1;overflow-wrap:anywhere}.cps-inst-profile-title-v6 p{margin:0;color:#667895;font-size:13px;font-weight:650}
.cps-inst-profile-status-v6{display:inline-flex;align-items:center;gap:7px;margin-top:12px;padding:6px 11px;border:1px solid #bcebd4;border-radius:25px;background:#e8fff2;color:#176b43;font-size:10px;font-weight:850}.cps-inst-profile-status-v6 i{width:7px;height:7px;border-radius:50%;background:#12a566}
.cps-inst-profile-metrics-v6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;padding:18px 25px 8px}
.cps-inst-profile-metrics-v6>div{display:flex;flex-direction:column;gap:7px;min-width:0;padding:15px 17px;border:1px solid #dfe9f7;border-radius:13px;background:#fff;box-shadow:0 3px 10px rgba(33,68,122,.04)}
.cps-inst-profile-metrics-v6 span{color:#73829a;font-size:9px;font-weight:900;letter-spacing:.55px}.cps-inst-profile-metrics-v6 strong{color:#145ac3;font-size:25px;font-weight:950;line-height:1}
.cps-inst-profile-section-title-v6{display:flex;align-items:center;gap:12px;padding:20px 27px 13px}.cps-inst-profile-section-title-v6>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:11px;background:#e0edff;color:#075ecb;font-size:11px;font-weight:950}
.cps-inst-profile-section-title-v6 h2{margin:0;color:#172f58;font-size:17px;font-weight:950}.cps-inst-profile-section-title-v6 p{margin:4px 0 0;color:#8190a7;font-size:10px}
.cps-inst-profile-grid-v6{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:0 25px 24px}
.cps-inst-profile-field-v6{display:flex;flex-direction:column;gap:7px;min-width:0;min-height:72px;padding:13px 14px;border:1px solid #e0e8f4;border-radius:11px;background:#fff}
.cps-inst-profile-field-v6 small{color:#7b8ba3;font-size:9px;font-weight:850;letter-spacing:.35px;text-transform:uppercase}
.cps-inst-profile-field-v6 strong{color:#263b5e;font-size:12px;font-weight:750;line-height:1.45;overflow-wrap:anywhere;white-space:pre-wrap}
.cps-inst-profile-field-wide-v6{grid-column:span 3}
.cps-inst-profile-footer-v6{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 25px;border-top:1px solid #e0e8f4;background:#fff;color:#8390a5;font-size:10px}
.cps-inst-profile-footer-v6 button{min-height:37px;padding:0 18px;border:0;border-radius:9px;background:#0d61d6;color:#fff;font-size:11px;font-weight:850;cursor:pointer}
@media(max-width:760px){.cps-inst-profile-modal-v4.is-open{padding:8px!important}.cps-inst-profile-page-v6{min-height:calc(100vh - 16px)!important;border-radius:14px!important}.cps-inst-profile-top-v6{padding:13px 15px}.cps-inst-profile-hero-v6{gap:14px;padding:20px 16px}.cps-inst-profile-logo-v6{flex-basis:78px;width:78px;height:78px;border-radius:17px}.cps-inst-profile-title-v6 h1{font-size:23px}.cps-inst-profile-metrics-v6{gap:7px;padding:12px 12px 5px}.cps-inst-profile-metrics-v6>div{padding:10px}.cps-inst-profile-metrics-v6 span{font-size:8px}.cps-inst-profile-metrics-v6 strong{font-size:20px}.cps-inst-profile-section-title-v6{padding:17px 15px 12px}.cps-inst-profile-grid-v6{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 12px 18px}.cps-inst-profile-field-wide-v6{grid-column:span 2}.cps-inst-profile-field-v6{padding:11px;min-height:66px}.cps-inst-profile-footer-v6{padding:12px 14px}}
@media(max-width:420px){.cps-inst-profile-brand-v6 strong{font-size:11px}.cps-inst-profile-print-v6{padding:0 9px;font-size:10px}.cps-inst-profile-hero-v6{align-items:flex-start;flex-direction:column}.cps-inst-profile-logo-v6{flex-basis:68px;width:68px;height:68px}.cps-inst-profile-metrics-v6{grid-template-columns:1fr}.cps-inst-profile-grid-v6{grid-template-columns:1fr}.cps-inst-profile-field-wide-v6{grid-column:span 1}.cps-inst-profile-footer-v6{align-items:flex-start;flex-direction:column}}
@media print{
  body:has(.cps-inst-profile-modal-v4.is-open) *{visibility:hidden!important}
  .cps-inst-profile-modal-v4.is-open,.cps-inst-profile-modal-v4.is-open *{visibility:visible!important}
  .cps-inst-profile-modal-v4.is-open{position:static!important;display:block!important;padding:0!important;background:#fff!important;overflow:visible!important}
  .cps-inst-profile-page-v6{width:100%!important;max-width:none!important;min-height:0!important;border:0!important;box-shadow:none!important}
  .cps-inst-profile-top-actions-v6,.cps-inst-profile-footer-v6 button{display:none!important}
}
/* CPS_INSTITUTION_PROFILE_EDIT_FIX_V7 */
.cps-inst-profile-page-v6 .cps-inst-profile-close-v4{font-family:Arial,Helvetica,sans-serif!important;font-size:17px!important;font-weight:800!important;line-height:1!important;text-decoration:none!important;transform:none!important;letter-spacing:0!important}
.cps-inst-profile-edit-v7{min-height:36px;padding:0 13px;border:1px solid rgba(255,255,255,.45);border-radius:9px;background:#fff;color:#124b9c;font-size:11px;font-weight:850;cursor:pointer}
.cps-inst-profile-input-v7{display:block;width:100%;min-width:0;box-sizing:border-box;padding:9px 10px;border:1px solid #8bb9f3;border-radius:8px;background:#f8fbff;color:#17345f;font:600 12px/1.4 Arial,Helvetica,sans-serif;outline:none}
.cps-inst-profile-input-v7:focus{border-color:#075ed0;box-shadow:0 0 0 3px rgba(13,97,214,.13)}
.cps-inst-profile-edit-actions-v7{display:flex;gap:8px;flex-wrap:wrap}.cps-inst-profile-edit-actions-v7 button{min-height:37px;padding:0 15px;border:1px solid #d3dfef;border-radius:9px;background:#fff;color:#25446f;font-size:11px;font-weight:850;cursor:pointer}.cps-inst-profile-edit-actions-v7 button[data-cps-inst-save-edit]{border-color:#0d61d6;background:#0d61d6;color:#fff}.cps-inst-profile-edit-actions-v7 button:disabled{opacity:.6;cursor:wait}.cps-inst-profile-save-status-v7{flex:1;min-width:180px}
@media(max-width:520px){.cps-inst-profile-top-actions-v6{gap:6px}.cps-inst-profile-edit-v7{padding:0 8px;font-size:10px}.cps-inst-profile-page-v6 .cps-inst-profile-close-v4{flex-basis:32px;width:32px;height:32px}}

/* CPS_INSTITUTION_PHOTO_UPLOAD_V10 */
.cps-inst-logo-v5 {
  position: relative;
  overflow: hidden;
}
.cps-inst-photo-overlay-v10 {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  background: #fff;
}
.cps-inst-photo-overlay-v10[hidden],
.cps-inst-cover-photo-v10[hidden],
.cps-inst-profile-preview-v10[hidden] {
  display: none !important;
}
.cps-inst-cover-v5 {
  position: relative;
  isolation: isolate;
}
.cps-inst-cover-photo-v10 {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cps-inst-cover-has-photo-v10 .cps-inst-cover-orbit-v5,
.cps-inst-cover-has-photo-v10 .cps-inst-cover-school-v5 {
  display: none !important;
}
.cps-inst-cover-has-photo-v10 .cps-inst-cover-type-v5,
.cps-inst-cover-has-photo-v10 .cps-inst-status-v5 {
  position: relative;
  z-index: 2;
}
.cps-inst-profile-media-v10 {
  margin: 18px 0;
  padding: 16px;
  border: 1px solid #dfe6f3;
  border-radius: 14px;
  background: #f8faff;
}
.cps-inst-profile-media-head-v10 strong {
  display: block;
  color: #16376d;
  font-size: 14px;
  margin-bottom: 5px;
}
.cps-inst-profile-media-head-v10 small {
  display: block;
  color: #6d7890;
  font-size: 11px;
  line-height: 1.5;
}
.cps-inst-profile-media-grid-v10 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}
.cps-inst-profile-media-card-v10 {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e5eaf4;
  border-radius: 12px;
  background: #fff;
}
.cps-inst-profile-media-card-v10 > label {
  display: block;
  color: #243b62;
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 9px;
}
.cps-inst-profile-preview-v10 {
  display: block;
  width: 100%;
  height: 112px;
  margin-bottom: 10px;
  border: 1px dashed #b8c7df;
  border-radius: 10px;
  background: #f4f7fc;
  object-fit: contain;
}
.cps-inst-profile-preview-v10.is-banner {
  object-fit: cover;
}
.cps-inst-profile-media-card-v10 input[type="file"] {
  display: block;
  width: 100%;
  max-width: 100%;
  font-size: 11px;
}
.cps-inst-profile-media-card-v10 small {
  display: block;
  min-height: 30px;
  margin-top: 8px;
  color: #68758e;
  font-size: 10px;
  line-height: 1.45;
}
@media (max-width: 620px) {
  .cps-inst-profile-media-grid-v10 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* CPS_PROFILE_SCROLL_AND_TEXT_FIX_V1 */

/* Keep the complete tall profile accessible inside the browser viewport. */
#cpsInstProfileModalV4.cps-inst-profile-modal-v4.is-open {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: center !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  padding: 14px !important;
  box-sizing: border-box !important;
  scroll-behavior: smooth;
  overscroll-behavior: contain;
}

#cpsInstProfileModalV4 .cps-inst-profile-page-v6 {
  width: min(1120px, calc(100vw - 28px)) !important;
  max-width: 1120px !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  margin: 0 auto 16px !important;
  overflow: visible !important;
}

/* Restore readable profile details. */
#cpsInstProfileModalV4 .cps-inst-profile-field-v6 {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff !important;
}

#cpsInstProfileModalV4 .cps-inst-profile-field-v6 small {
  color: #687b96 !important;
  visibility: visible !important;
}

#cpsInstProfileModalV4 .cps-inst-profile-field-v6 strong {
  color: #203858 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#cpsInstProfileModalV4 .cps-inst-profile-input-v7 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #17345f !important;
  background: #f8fbff !important;
}

/* Keep hero and details sections visible. */
#cpsInstProfileModalV4 .cps-inst-profile-hero-v6,
#cpsInstProfileModalV4 .cps-inst-profile-metrics-v6,
#cpsInstProfileModalV4 .cps-inst-profile-section-title-v6,
#cpsInstProfileModalV4 .cps-inst-profile-grid-v6,
#cpsInstProfileModalV4 .cps-inst-profile-footer-v6 {
  visibility: visible !important;
  opacity: 1 !important;
}

@media(max-width:600px) {
  #cpsInstProfileModalV4.cps-inst-profile-modal-v4.is-open {
    padding: 6px !important;
  }

  #cpsInstProfileModalV4 .cps-inst-profile-page-v6 {
    width: calc(100vw - 12px) !important;
  }
}

/* CPS_INSTITUTION_STUDENT_STAFF_CUSTOM_FIELDS_V1 */
.cps-inst-profile-people-actions-v1{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;padding:16px;border:1px solid #e1e8f5;border-radius:14px;background:linear-gradient(115deg,#f7f9ff,#fff)}
.cps-inst-profile-people-actions-v1>div{flex:1;min-width:180px}.cps-inst-profile-people-actions-v1 strong{display:block;color:#1d3154;font-size:13px}.cps-inst-profile-people-actions-v1 small{display:block;margin-top:4px;color:#71809a;font-size:11px}.cps-inst-profile-people-actions-v1 button{border:0;border-radius:9px;padding:10px 18px;background:#244ecb;color:#fff;font-weight:800;cursor:pointer}.cps-inst-profile-people-actions-v1 button+button{background:#172c69}
.cps-people-modal-v1{display:none;position:fixed;inset:0;z-index:10030;background:rgba(10,19,42,.68);padding:16px;overflow:auto;align-items:flex-start;justify-content:center}.cps-people-modal-v1.is-open{display:flex}.cps-people-dialog-v1{width:min(1050px,100%);margin:auto;background:#f6f8fc;border:1px solid #dce4f2;border-radius:18px;box-shadow:0 24px 80px #06143255;overflow:hidden;color:#1c2f4d}.cps-people-header-v1{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:22px 25px;background:linear-gradient(115deg,#123a9c,#1c65d8 65%,#654ee5);color:#fff}.cps-people-header-v1 small{font-size:10px;letter-spacing:1.3px;font-weight:900;opacity:.8}.cps-people-header-v1 h2{font-size:24px;margin:7px 0 4px}.cps-people-header-v1 p{font-size:12px;margin:0;opacity:.85}.cps-people-header-v1>button{border:1px solid #ffffff55;background:#ffffff18;color:#fff;border-radius:9px;width:38px;height:38px;font-size:24px;cursor:pointer}.cps-people-tabs-v1{display:flex;gap:8px;padding:13px 20px;background:#fff;border-bottom:1px solid #e6eaf2}.cps-people-tabs-v1 button{border:1px solid #e2e8f2;background:#f7f9fd;color:#53637f;border-radius:9px;padding:10px 18px;font-size:12px;font-weight:800;cursor:pointer}.cps-people-tabs-v1 button.active{background:#eaf0ff;color:#244ecb;border-color:#bed0ff}.cps-people-tabs-v1 span{margin-left:7px;opacity:.75}.cps-people-toolbar-v1{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px 12px}.cps-people-toolbar-v1 h3{font-size:16px;margin:0 0 4px}.cps-people-toolbar-v1 p{font-size:11px;color:#77849a;margin:0}.cps-people-toolbar-v1>div:last-child{display:flex;gap:8px;flex-wrap:wrap}.cps-people-modal-v1 button.primary,.cps-people-modal-v1 button.secondary{border:0;border-radius:8px;padding:10px 14px;font-size:11px;font-weight:800;cursor:pointer}.cps-people-modal-v1 button.primary{background:#2457d6;color:#fff}.cps-people-modal-v1 button.secondary{background:#e9eef8;color:#30466d}.cps-people-modal-v1 button:disabled{opacity:.6;cursor:wait}.cps-people-content-v1{padding:8px 22px 22px;min-height:190px}.cps-people-list-v1{display:grid;gap:8px}.cps-people-record-row-v1{display:flex;align-items:center;gap:12px;padding:12px 14px;background:#fff;border:1px solid #e6eaf2;border-radius:11px}.cps-people-record-avatar-v1{width:38px;height:38px;flex:0 0 38px;border-radius:12px;display:grid;place-items:center;background:#e9efff;color:#2852c4;font-weight:900;font-size:11px}.cps-people-record-main-v1{flex:1;min-width:0}.cps-people-record-main-v1 b{display:block;font-size:12px;color:#263959}.cps-people-record-main-v1 small{display:block;margin-top:4px;color:#8190a8;font-size:10px;overflow-wrap:anywhere}.cps-people-record-actions-v1{display:flex;gap:6px}.cps-people-record-actions-v1 button{border:1px solid #dce5f5;background:#f7f9ff;color:#294d9e;border-radius:7px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.cps-people-record-actions-v1 button.is-danger{color:#a33245;background:#fff7f8;border-color:#f4dce1}.cps-people-empty-v1,.cps-people-loading-v1{padding:34px 18px;text-align:center;background:#fff;border:1px dashed #ccd6e7;border-radius:12px;color:#75839a;font-size:12px}.cps-people-form-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.cps-people-form-grid-v1>label{display:flex;flex-direction:column;gap:6px;color:#445774;font-size:11px;font-weight:800}.cps-people-form-grid-v1 input,.cps-people-form-grid-v1 select,.cps-people-form-grid-v1 textarea{width:100%;box-sizing:border-box;min-height:39px;border:1px solid #dce3ee;border-radius:8px;background:#fff;color:#1d3151;padding:9px 10px;font:inherit;font-size:12px}.cps-people-form-grid-v1 textarea{min-height:70px;resize:vertical}.cps-people-check-v1{display:flex!important;flex-direction:row!important;align-items:center;gap:8px!important;padding:10px 0}.cps-people-check-v1 input{width:16px!important;min-height:16px!important}.cps-people-form-actions-v1{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px;padding-top:10px}.cps-people-fields-v1>p{font-size:11px;line-height:1.55;color:#74839b}.cps-people-field-row-v1{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:18px;align-items:center;background:#fff;border:1px solid #e6eaf2;border-radius:9px;padding:10px 13px;margin:7px 0}.cps-people-field-row-v1 b{display:block;font-size:11px;color:#314564}.cps-people-field-row-v1 small{display:block;color:#8995a9;font-size:9px;margin-top:3px}.cps-people-field-row-v1 label{font-size:10px;color:#5b6c85;white-space:nowrap}.cps-people-field-row-v1 input{vertical-align:middle}.cps-people-add-field-v1{margin-top:18px;padding:15px;background:#fff;border:1px solid #e2e8f2;border-radius:12px}.cps-people-add-field-v1 h3{font-size:13px;margin:0 0 12px}.cps-people-options-label-v1{grid-column:1/-1}.cps-people-add-field-v1>button{margin-top:10px}.cps-people-archived-note-v1{color:#8b6a23!important}.cps-people-footer-v1{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 22px;border-top:1px solid #e5eaf2;background:#fff;color:#8793a8;font-size:10px}.cps-people-footer-v1 button{border:0;background:transparent;color:#3658a6;font-weight:800;cursor:pointer}
@media(max-width:650px){.cps-inst-profile-people-actions-v1{align-items:stretch}.cps-inst-profile-people-actions-v1>div{flex-basis:100%}.cps-inst-profile-people-actions-v1 button{flex:1}.cps-people-modal-v1{padding:6px}.cps-people-dialog-v1{border-radius:12px}.cps-people-header-v1{padding:16px}.cps-people-header-v1 h2{font-size:18px}.cps-people-toolbar-v1{align-items:flex-start;flex-direction:column;padding:14px}.cps-people-content-v1{padding:7px 12px 15px}.cps-people-form-grid-v1{grid-template-columns:1fr}.cps-people-form-grid-v1>label,.cps-people-options-label-v1{grid-column:1}.cps-people-field-row-v1{grid-template-columns:minmax(0,1fr) auto;gap:8px}.cps-people-field-row-v1 label:last-child{grid-column:2}.cps-people-record-row-v1{align-items:flex-start}.cps-people-record-actions-v1{flex-direction:column}.cps-people-footer-v1{padding:11px 13px}}



/* CPS_STUDENT_STAFF_OPEN_CHOOSER_PHOTO_V2 */
.cps-people-choice-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:8px 2px 16px}
.cps-people-choice-card-v1{display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-height:245px;padding:24px;text-align:left;border:1px solid #dce5f4;border-radius:18px;background:linear-gradient(145deg,#fff,#f1f5ff);color:#1d3151;cursor:pointer;box-shadow:0 8px 24px #102b5b0b;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.cps-people-choice-card-v1:hover{transform:translateY(-2px);border-color:#9bb7ff;box-shadow:0 14px 32px #102b5b18}
.cps-people-choice-icon-v1{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:linear-gradient(135deg,#2358d5,#7051df);color:#fff;font-size:28px;font-weight:900}
.cps-people-choice-card-v1 strong{font-size:20px;color:#17315d}
.cps-people-choice-card-v1 small{font-size:12px;line-height:1.55;color:#71819a}
.cps-people-choice-count-v1{font-size:11px;font-weight:800;color:#4564a6;background:#e8efff;padding:7px 10px;border-radius:999px}
.cps-people-choice-action-v1{margin-top:auto;font-size:12px;font-weight:900;color:#2457d6}
.cps-people-chooser-toolbar-v1{padding-bottom:8px}
.cps-people-record-avatar-v1{overflow:hidden;position:relative}
.cps-people-record-avatar-v1 img{display:none;width:100%;height:100%;object-fit:cover;border-radius:inherit}
.cps-people-record-avatar-v1 img.is-loaded{display:block}
.cps-people-record-avatar-v1 span.is-hidden{display:none}
.cps-people-photo-upload-v1{grid-column:1/-1;padding:12px 14px;border:1px dashed #bdcbe2;border-radius:10px;background:#f8faff}
.cps-people-photo-upload-v1 input{margin-top:5px}
.cps-people-photo-upload-v1 small{color:#7a89a1;font-size:10px;font-weight:500}
@media(max-width:650px){.cps-people-choice-grid-v1{grid-template-columns:1fr;gap:10px}.cps-people-choice-card-v1{min-height:190px;padding:18px}.cps-people-choice-card-v1 strong{font-size:17px}.cps-people-photo-upload-v1{grid-column:1}}

/* CPS_CUSTOM_FIELDS_MANAGER_V3 */
.cps-people-field-actions-v3{display:flex;align-items:center;justify-content:flex-end;gap:6px;min-width:135px}
.cps-people-field-actions-v3 button{border:1px solid #dce5f5;background:#f7f9ff;color:#294d9e;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:800;cursor:pointer}
.cps-people-field-actions-v3 button.is-danger{color:#a33245;background:#fff7f8;border-color:#f4dce1}
.cps-people-standard-label-v3{font-size:9px;color:#8a96aa;font-weight:800}
.cps-people-field-row-v1{grid-template-columns:minmax(170px,1fr) auto auto minmax(135px,auto)}
.cps-people-fields-v1 .cps-people-form-actions-v1{margin-top:14px}
.cps-people-sheet-toolbar-v3{display:grid;grid-template-columns:minmax(220px,2fr) repeat(4,minmax(125px,1fr)) auto;gap:10px;align-items:end;padding:12px;margin:0 0 10px;border:1px solid #dfe6f2;border-radius:12px;background:#fff}
.cps-people-filter-v3,.cps-people-sheet-search-v3{display:flex;flex-direction:column;gap:5px;min-width:0;color:#53647f;font-size:10px;font-weight:800}
.cps-people-filter-v3 select,.cps-people-sheet-search-v3 input{min-width:0;width:100%;height:37px;border:1px solid #dce4f0;border-radius:8px;padding:7px 9px;background:#fbfcff;color:#263b5c;font:inherit;font-size:11px}
.cps-people-sheet-buttons-v3{display:flex;align-items:end}
.cps-people-sheet-meta-v3{display:flex;justify-content:space-between;gap:12px;padding:4px 2px 9px;color:#75839a;font-size:10px}
.cps-people-sheet-wrap-v3{width:100%;max-height:58vh;overflow:auto;border:1px solid #dbe3ef;border-radius:11px;background:#fff}
.cps-people-sheet-v3{width:100%;min-width:1120px;border-collapse:separate;border-spacing:0;font-size:11px;color:#304361}
.cps-people-sheet-v3 th{position:sticky;top:0;z-index:2;padding:0;background:#edf2fb;border-bottom:1px solid #d9e2f0;text-align:left;white-space:nowrap}
.cps-people-sheet-v3 th button{display:block;width:100%;padding:12px 10px;border:0;background:transparent;color:#354968;font:inherit;font-size:10px;font-weight:900;text-align:left;white-space:nowrap;cursor:pointer}
.cps-people-sheet-v3 td{padding:9px 10px;border-bottom:1px solid #edf0f5;white-space:nowrap;max-width:220px;overflow:hidden;text-overflow:ellipsis}
.cps-people-sheet-v3 tbody tr:nth-child(even){background:#fafcff}
.cps-people-sheet-v3 tbody tr:hover{background:#f0f5ff}
.cps-people-sheet-v3 tbody tr[hidden]{display:none}
.cps-people-sheet-photo-v3{width:54px;min-width:54px;text-align:center}
.cps-people-sheet-photo-v3 .cps-people-record-avatar-v1{width:34px;height:34px;min-width:34px;margin:auto;overflow:hidden;border-radius:50%}
.cps-people-sheet-photo-v3 img{width:100%;height:100%;object-fit:cover;display:none}
.cps-people-sheet-photo-v3 img.is-loaded{display:block}
.cps-people-sheet-photo-v3 img.is-loaded+span{display:none}
.cps-people-sheet-actions-v3 button{border:1px solid #dce5f5;border-radius:7px;padding:6px 9px;background:#f7f9ff;color:#294d9e;font-size:10px;font-weight:800;cursor:pointer}
.cps-people-sheet-wrap-v3 .cps-people-empty-v1{margin:8px}
@media(max-width:1050px){.cps-people-sheet-toolbar-v3{grid-template-columns:repeat(3,minmax(130px,1fr))}.cps-people-sheet-search-v3{grid-column:span 2}}
@media(max-width:650px){.cps-people-sheet-toolbar-v3{grid-template-columns:repeat(2,minmax(0,1fr));padding:9px}.cps-people-sheet-search-v3{grid-column:1/-1}.cps-people-sheet-buttons-v3{grid-column:1/-1}.cps-people-sheet-meta-v3{font-size:9px}}

/* CPS_STUDENT_EXCEL_PHOTO_BULK_IMPORT_V4 */
.cps-people-sheet-buttons-v3{display:flex;align-items:end;gap:7px;flex-wrap:wrap}
.cps-people-bulk-v4{display:grid;gap:14px;padding:4px 0}
.cps-people-bulk-intro-v4{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #dce6f5;border-radius:12px;background:linear-gradient(135deg,#f7faff,#f4f3ff)}
.cps-people-bulk-intro-v4 h3{margin:0 0 5px;color:#1d3765;font-size:15px}
.cps-people-bulk-intro-v4 p{margin:0;color:#63728b;font-size:11px;max-width:760px;line-height:1.5}
.cps-people-bulk-pickers-v4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cps-people-bulk-pickers-v4 label,.cps-people-bulk-map-v4 label{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #e1e7f1;border-radius:10px;background:#fff;color:#344966;font-size:11px;font-weight:800;min-width:0}
.cps-people-bulk-pickers-v4 input,.cps-people-bulk-map-v4 select{width:100%;min-width:0;min-height:38px;border:1px solid #d7e0ed;border-radius:8px;padding:8px;background:#fbfcff;color:#21395d;font:inherit;font-weight:600}
.cps-people-bulk-pickers-v4 small,.cps-people-bulk-map-v4 small{color:#73829b;font-size:10px;font-weight:500;line-height:1.4}
.cps-people-bulk-map-v4{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:13px;border:1px solid #dce5f0;border-radius:12px;background:#fafcff}
.cps-people-bulk-map-v4 h4{grid-column:1/-1;margin:0;color:#263f68;font-size:13px}
.cps-people-bulk-map-v4 .cps-people-bulk-photo-map-v4{grid-column:1/-1;border-color:#cbd8f2;background:#f4f7ff}
.cps-people-bulk-summary-v4{display:flex;gap:8px;flex-wrap:wrap}
.cps-people-bulk-summary-v4 span{display:flex;gap:5px;align-items:center;padding:8px 11px;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#6b7a92;font-size:10px}
.cps-people-bulk-summary-v4 b{color:#1e4ca6;font-size:14px}
.cps-people-bulk-preview-wrap-v4{max-height:300px;overflow:auto;border:1px solid #dde5f0;border-radius:10px;background:#fff}
.cps-people-bulk-preview-wrap-v4 table{width:100%;min-width:850px;border-collapse:collapse;font-size:10px;color:#354864}
.cps-people-bulk-preview-wrap-v4 th{position:sticky;top:0;background:#edf2fb;text-align:left;padding:9px;z-index:1}
.cps-people-bulk-preview-wrap-v4 td{padding:8px 9px;border-top:1px solid #edf1f6;max-width:190px;overflow-wrap:anywhere}
.cps-people-bulk-error-v4{padding:10px;border-radius:8px;background:#fff4f3;color:#a33e37;font-size:11px}
.cps-people-bulk-progress-v4{min-height:18px;color:#2852a2;font-size:11px;font-weight:800}
@media(max-width:850px){.cps-people-bulk-map-v4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cps-people-bulk-pickers-v4,.cps-people-bulk-map-v4{grid-template-columns:1fr}.cps-people-bulk-map-v4 .cps-people-bulk-photo-map-v4{grid-column:auto}.cps-people-bulk-intro-v4{align-items:flex-start;flex-direction:column}}

/* CPS_STUDENT_EXCEL_PHOTO_BULK_IMPORT_V4 */
.cps-people-sheet-buttons-v3{display:flex;align-items:end;gap:7px;flex-wrap:wrap}
.cps-people-bulk-v4{display:grid;gap:14px;padding:4px 0}
.cps-people-bulk-intro-v4{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px;border:1px solid #dce6f5;border-radius:12px;background:linear-gradient(135deg,#f7faff,#f4f3ff)}
.cps-people-bulk-intro-v4 h3{margin:0 0 5px;color:#1d3765;font-size:15px}
.cps-people-bulk-intro-v4 p{margin:0;color:#63728b;font-size:11px;max-width:760px;line-height:1.5}
.cps-people-bulk-pickers-v4{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cps-people-bulk-pickers-v4 label,.cps-people-bulk-map-v4 label{display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid #e1e7f1;border-radius:10px;background:#fff;color:#344966;font-size:11px;font-weight:800;min-width:0}
.cps-people-bulk-pickers-v4 input,.cps-people-bulk-map-v4 select{width:100%;min-width:0;min-height:38px;border:1px solid #d7e0ed;border-radius:8px;padding:8px;background:#fbfcff;color:#21395d;font:inherit;font-weight:600}
.cps-people-bulk-pickers-v4 small,.cps-people-bulk-map-v4 small{color:#73829b;font-size:10px;font-weight:500;line-height:1.4}
.cps-people-bulk-map-v4{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:13px;border:1px solid #dce5f0;border-radius:12px;background:#fafcff}
.cps-people-bulk-map-v4 h4{grid-column:1/-1;margin:0;color:#263f68;font-size:13px}
.cps-people-bulk-map-v4 .cps-people-bulk-photo-map-v4{grid-column:1/-1;border-color:#cbd8f2;background:#f4f7ff}
.cps-people-bulk-summary-v4{display:flex;gap:8px;flex-wrap:wrap}
.cps-people-bulk-summary-v4 span{display:flex;gap:5px;align-items:center;padding:8px 11px;border:1px solid #dce5f1;border-radius:9px;background:#fff;color:#6b7a92;font-size:10px}
.cps-people-bulk-summary-v4 b{color:#1e4ca6;font-size:14px}
.cps-people-bulk-preview-wrap-v4{max-height:300px;overflow:auto;border:1px solid #dde5f0;border-radius:10px;background:#fff}
.cps-people-bulk-preview-wrap-v4 table{width:100%;min-width:850px;border-collapse:collapse;font-size:10px;color:#354864}
.cps-people-bulk-preview-wrap-v4 th{position:sticky;top:0;background:#edf2fb;text-align:left;padding:9px;z-index:1}
.cps-people-bulk-preview-wrap-v4 td{padding:8px 9px;border-top:1px solid #edf1f6;max-width:190px;overflow-wrap:anywhere}
.cps-people-bulk-error-v4{padding:10px;border-radius:8px;background:#fff4f3;color:#a33e37;font-size:11px}
.cps-people-bulk-progress-v4{min-height:18px;color:#2852a2;font-size:11px;font-weight:800}
@media(max-width:850px){.cps-people-bulk-map-v4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.cps-people-bulk-pickers-v4,.cps-people-bulk-map-v4{grid-template-columns:1fr}.cps-people-bulk-map-v4 .cps-people-bulk-photo-map-v4{grid-column:auto}.cps-people-bulk-intro-v4{align-items:flex-start;flex-direction:column}}

/* CPS_STUDENT_REGISTER_SELECT_DELETE_V5 */
.cps-people-select-cell-v5{width:38px;min-width:38px;text-align:center!important;padding:8px!important}
.cps-people-select-cell-v5 input{width:16px;height:16px;accent-color:#2457d6;cursor:pointer}
.cps-people-selection-bar-v5{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:9px 11px;margin:8px 0;border:1px solid #d8e2f2;border-radius:10px;background:#f7f9ff;color:#304260;font-size:11px}
.cps-people-selection-bar-v5 button.is-danger{border:1px solid #f0c6c6;border-radius:8px;background:#fff1f1;color:#a52b2b;padding:8px 12px;font-weight:800;cursor:pointer}
.cps-people-selection-bar-v5 button:disabled{opacity:.45;cursor:not-allowed}
.cps-people-selection-bar-v5 small{color:#75839a;font-size:10px}


/* CPS_STUDENT_ARCHIVE_RESTORE_V6 */
.cps-people-restore-archived-v6{border-color:#b9d8c8!important;background:#f0faf4!important;color:#176b47!important;font-weight:800!important}
.cps-people-restore-archived-v6:hover{background:#e1f4e9!important}

/* CPS_STUDENT_ARCHIVE_PERMANENT_DELETE_V7 */
.cps-people-delete-archived-v7{border:1px solid #efb7b7!important;background:#fff1f1!important;color:#a51f2b!important;font-weight:800!important}
.cps-people-delete-archived-v7:hover{background:#ffe1e1!important}

/* CPS_INSTITUTE_CENTER_FULL_PAGE_V1 */
#cpsInstituteCenterFullPageV1{position:fixed;inset:0;z-index:100000;background:#f3f6fc;color:#15213b;overflow:auto;font:14px/1.5 Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif}
#cpsInstituteCenterFullPageV1 *{box-sizing:border-box}
#cpsInstituteCenterFullPageV1 .cps-ic-shell-v1{min-height:100%;background:radial-gradient(ellipse at 8% 0%,#e9ddff 0,transparent 34%),radial-gradient(ellipse at 95% 12%,#d8f7ff 0,transparent 30%),linear-gradient(180deg,#f7f7ff 0,#f8fbff 300px,#f3f6ff 100%)}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:25px clamp(18px,4vw,56px);color:#fff;background:linear-gradient(115deg,#4c00c2 0%,#1749e8 42%,#087fe8 68%,#b721ff 100%);box-shadow:0 8px 26px #17255430}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1{display:flex;align-items:center;gap:16px;min-width:0}
#cpsInstituteCenterFullPageV1 .cps-ic-mark-v1{display:grid;place-items:center;width:54px;height:54px;border-radius:16px;background:#fff;color:#4338ca;font-size:17px;font-weight:950;box-shadow:0 7px 18px #0b174c50}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 small,#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 small,#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 small{font-size:10px;font-weight:850;letter-spacing:.15em;opacity:.82}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 h1{font-size:clamp(22px,3vw,32px);line-height:1.2;margin:4px 0}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 p{margin:0;color:#dbeafe;font-size:13px}
#cpsInstituteCenterFullPageV1 .cps-ic-close-v1{width:42px;height:42px;border:1px solid #ffffff60;border-radius:13px;background:#ffffff18;color:#fff;font-size:26px;cursor:pointer}
#cpsInstituteCenterFullPageV1 .cps-ic-tabs-v1{display:flex;gap:8px;padding:12px clamp(18px,4vw,56px);background:#fff;border-bottom:1px solid #e1e8f5;overflow:auto;position:sticky;top:0;z-index:2}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1{flex:0 0 auto;border:0;border-radius:10px;padding:11px 16px;background:transparent;color:#53627d;font-weight:750;cursor:pointer}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1.active{background:linear-gradient(120deg,#6847ff,#3424d8);color:#fff;box-shadow:0 5px 15px #5b45ed40}
#cpsInstituteCenterFullPageV1 .cps-ic-main-v1{max-width:1500px;margin:0 auto;padding:clamp(16px,3vw,38px)}
#cpsInstituteCenterFullPageV1 button,#cpsInstituteCenterFullPageV1 .cps-ic-button-v1{font:inherit;font-weight:750;border:1px solid #d4dcec;background:#fff;color:#243453;border-radius:10px;padding:10px 14px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;cursor:pointer}
#cpsInstituteCenterFullPageV1 button.primary{background:#244bd0;border-color:#244bd0;color:#fff;box-shadow:0 5px 12px #244bd025}
#cpsInstituteCenterFullPageV1 button.danger{color:#b42336;border-color:#fecdd3;background:#fff7f8}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:clamp(20px,3vw,34px);border-radius:22px;color:#fff;background:linear-gradient(115deg,#2424a8 0%,#145ce7 38%,#6b21d9 72%,#d52bff 100%);box-shadow:0 14px 34px #243d9525}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 h2{font-size:clamp(22px,3vw,31px);line-height:1.2;margin:8px 0}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 p{max-width:700px;color:#dbeafe;margin:0}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1{display:flex;flex-wrap:wrap;gap:9px}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 button:first-child{background:#fff;color:#233ea6;border-color:#fff}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 button:last-child{background:#ffffff15;color:#fff;border-color:#ffffff70}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article{background:#fff;border:1px solid #e0e7ff;border-radius:18px;padding:18px 20px;box-shadow:0 8px 24px #3545a514;position:relative;overflow:hidden}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 span{display:block;color:#64748b;font-size:12px;font-weight:700}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 strong{display:block;font-size:30px;letter-spacing:-.04em;color:#1d3d9d;margin-top:5px}
#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1,#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1{background:#fff;border:1px solid #dbe5ff;border-radius:20px;padding:22px;box-shadow:0 9px 28px #344bbd12;min-width:0;transition:transform .18s ease,box-shadow .18s ease}
#cpsInstituteCenterFullPageV1 .cps-ic-card-icon-v1{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#e0e7ff,#f3e8ff);color:#5b21b6;box-shadow:inset 0 0 0 1px #d8ccff;font-weight:900;font-size:20px}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 h3,#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1 h3{margin:13px 0 5px;font-size:18px}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 p,#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1 p{margin:0 0 17px;color:#65738c}
#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1,#cpsInstituteCenterFullPageV1 .cps-ic-form-actions-v1{display:flex;gap:8px;flex-wrap:wrap}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 20px}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 h2{font-size:clamp(22px,3vw,29px);margin:4px 0;color:#1d2c4b}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 p{margin:0;color:#65738c;max-width:850px}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 small{color:#3554bd}
#cpsInstituteCenterFullPageV1 .cps-ic-form-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#cpsInstituteCenterFullPageV1 .cps-ic-pill-v1{display:inline-flex;border-radius:99px;background:#f1f5f9;color:#475569;padding:5px 9px;font-size:10px;font-weight:900;letter-spacing:.06em}
#cpsInstituteCenterFullPageV1 .cps-ic-pill-v1.on{background:#dcfce7;color:#166534}
#cpsInstituteCenterFullPageV1 .cps-ic-link-label-v1{display:block;font-size:11px;color:#64748b;font-weight:800;margin:14px 0}
#cpsInstituteCenterFullPageV1 .cps-ic-link-label-v1 input{display:block;width:100%;margin-top:6px;border:1px solid #dbe3f0;border-radius:9px;padding:10px;font:12px ui-monospace,monospace;color:#334155;background:#f8fafc}
#cpsInstituteCenterFullPageV1 .cps-ic-qr-v1{display:block;width:145px;height:145px;object-fit:contain;border:1px solid #e2e8f0;border-radius:12px;margin:16px auto 0;background:#fff}
#cpsInstituteCenterFullPageV1 .cps-ic-note-v1{font-size:12px;color:#64748b;background:#edf3ff;border-radius:12px;padding:12px 14px;margin-top:18px}
#cpsInstituteCenterFullPageV1 .cps-ic-submission-list-v1,#cpsInstituteCenterFullPageV1 .cps-ic-job-list-v1{display:grid;gap:12px}
#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1,#cpsInstituteCenterFullPageV1 .cps-ic-job-v1{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;background:#fff;border:1px solid #e1e8f4;border-radius:15px;padding:18px}
#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1 h3{margin:9px 0 3px}
#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1 p,#cpsInstituteCenterFullPageV1 .cps-ic-job-v1 p{margin:3px 0;color:#64748b}
#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1 small,#cpsInstituteCenterFullPageV1 .cps-ic-job-v1 small{color:#64748b}
#cpsInstituteCenterFullPageV1 .cps-ic-review-actions-v1{display:flex;gap:8px;flex-wrap:wrap}
#cpsInstituteCenterFullPageV1 details{margin-top:12px}#cpsInstituteCenterFullPageV1 details dl{display:grid;grid-template-columns:minmax(100px,180px) 1fr;gap:6px 14px}#cpsInstituteCenterFullPageV1 details dt{font-weight:800;color:#64748b}#cpsInstituteCenterFullPageV1 details dd{margin:0;overflow-wrap:anywhere}
#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:#fff;border:1px solid #e1e8f4;border-radius:18px;padding:22px;margin-bottom:24px}
#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 label{display:flex;flex-direction:column;gap:6px;color:#475569;font-size:12px;font-weight:800}
#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 input,#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 select,#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:11px;font:inherit;color:#17233d;background:#fff}
#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 button{align-self:end;min-height:42px}
#cpsInstituteCenterFullPageV1 .cps-ic-job-list-v1 h3{margin:0 0 4px}
#cpsInstituteCenterFullPageV1 .cps-ic-loading-v1,#cpsInstituteCenterFullPageV1 .cps-ic-empty-v1,#cpsInstituteCenterFullPageV1 .cps-ic-error-v1{background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:30px;color:#64748b;text-align:center}
#cpsInstituteCenterFullPageV1 .cps-ic-error-v1 strong{color:#9f1239}
@media(max-width:800px){#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1{align-items:flex-start;flex-direction:column}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{grid-template-columns:repeat(2,minmax(0,1fr))}#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){#cpsInstituteCenterFullPageV1 .cps-ic-header-v1{padding:18px 14px}#cpsInstituteCenterFullPageV1 .cps-ic-mark-v1{width:42px;height:42px;border-radius:12px}#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 p{font-size:11px}#cpsInstituteCenterFullPageV1 .cps-ic-tabs-v1{padding:9px 12px}#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1{padding:9px 11px;font-size:12px}#cpsInstituteCenterFullPageV1 .cps-ic-main-v1{padding:14px}#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1,#cpsInstituteCenterFullPageV1 .cps-ic-form-grid-v1,#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1{grid-template-columns:1fr}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{gap:9px}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article{padding:14px}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 strong{font-size:25px}#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1,#cpsInstituteCenterFullPageV1 .cps-ic-job-v1{flex-direction:column}#cpsInstituteCenterFullPageV1 .cps-ic-review-actions-v1{width:100%}#cpsInstituteCenterFullPageV1 .cps-ic-review-actions-v1 button{flex:1}}
/* END CPS_INSTITUTE_CENTER_FULL_PAGE_V1 */

/* CPS COLOURFUL DESIGN V2 enhancements */
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:hover,#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1:hover{transform:translateY(-2px);box-shadow:0 14px 32px #344bbd20}
#cpsInstituteCenterFullPageV1 button.primary{background:linear-gradient(120deg,#3047f5,#7419e8);border-color:transparent;box-shadow:0 6px 16px #523be83b}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1){background:linear-gradient(135deg,#fff,#fff0f7);border-color:#f9c9e3}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2){background:linear-gradient(135deg,#fff,#e8fff5);border-color:#b9f0d8}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3){background:linear-gradient(135deg,#fff,#eaf5ff);border-color:#c4e3ff}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4){background:linear-gradient(135deg,#fff,#fff4e5);border-color:#ffdfb2}


/* CPS INSTITUTE CENTER QUICKFIX: high-specificity visual polish */
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1){background:linear-gradient(135deg,#fff1f7,#ffd5e9)!important;border:1px solid #f9a8d4!important;box-shadow:0 10px 24px #db277722!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2){background:linear-gradient(135deg,#ecfff5,#baf5d9)!important;border:1px solid #86efac!important;box-shadow:0 10px 24px #16a34a18!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3){background:linear-gradient(135deg,#eef7ff,#c7e5ff)!important;border:1px solid #93c5fd!important;box-shadow:0 10px 24px #2563eb1c!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4){background:linear-gradient(135deg,#fff8e9,#ffdfae)!important;border:1px solid #fdba74!important;box-shadow:0 10px 24px #ea580c1c!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article{border-radius:22px!important;min-height:104px!important;padding:20px 22px!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1) strong{color:#be185d!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2) strong{color:#15803d!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3) strong{color:#1d4ed8!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4) strong{color:#c2410c!important}
#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1{gap:18px!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(1),#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1>.cps-ic-card-v1:nth-child(1){background:linear-gradient(130deg,#fff 40%,#e8f5ff)!important;border-color:#bfdbfe!important;box-shadow:0 10px 28px #2563eb16!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(2){background:linear-gradient(130deg,#fff 40%,#f5eaff)!important;border-color:#d8b4fe!important;box-shadow:0 10px 28px #9333ea16!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3){background:linear-gradient(130deg,#fff 40%,#e4fffb)!important;border-color:#99f6e4!important;box-shadow:0 10px 28px #0d948816!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(4){background:linear-gradient(130deg,#fff 40%,#e8f2ff)!important;border-color:#bfdbfe!important;box-shadow:0 10px 28px #2563eb16!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1,#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1{border-radius:22px!important;transition:transform .18s ease,box-shadow .18s ease!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-icon-v1{width:56px!important;height:56px!important;border-radius:18px!important;background:linear-gradient(135deg,#dbeafe,#e9d5ff)!important;color:#4f46e5!important;font-size:22px!important}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1{background:linear-gradient(115deg,#2028b8 0%,#1766ee 42%,#7c20e8 75%,#d946ef 100%)!important;box-shadow:0 16px 34px #4338ca30!important}
#cpsInstituteCenterFullPageV1 button.primary{background:linear-gradient(120deg,#253ff2,#7517e8)!important;border-color:transparent!important;box-shadow:0 7px 16px #5b21b64a!important}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1.active{background:linear-gradient(120deg,#6852ff,#3424d8)!important}
@media(max-width:800px){#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1{grid-template-columns:1fr!important}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* END CPS INSTITUTE CENTER QUICKFIX */


/* CPS_INSTITUTE_CENTER_PREMIUM_LAYOUT_V3 */
#cpsInstituteCenterFullPageV1{--cps-ink:#172554;--cps-muted:#52617a;--cps-blue:#2448e8;--cps-violet:#7c2de2;--cps-cyan:#06b6d4;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--cps-ink)}
#cpsInstituteCenterFullPageV1 *{box-sizing:border-box}
#cpsInstituteCenterFullPageV1 .cps-ic-shell-v1{background:linear-gradient(145deg,#f8faff 0%,#f7f5ff 48%,#f2fbff 100%);min-height:100vh;padding:0 0 30px}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px clamp(18px,3vw,44px);min-height:112px;color:white;background:linear-gradient(110deg,#3510c7 0%,#174ce7 38%,#08bfd1 70%,#d92bdc 100%);border-radius:0 0 24px 24px;box-shadow:0 12px 32px #3826a52b}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1:after{content:"";position:absolute;width:360px;height:180px;right:7%;bottom:-115px;border:26px solid #ffffff24;border-radius:50%;transform:rotate(-12deg);pointer-events:none}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1{display:flex;align-items:center;gap:17px;position:relative;z-index:1}
#cpsInstituteCenterFullPageV1 .cps-ic-mark-v1{display:grid;place-items:center;width:62px;height:62px;flex:0 0 62px;border-radius:19px;background:#fff;color:#2c36c9;font-size:21px;font-weight:950;letter-spacing:-1px;box-shadow:0 7px 20px #130b5238;border:3px solid #ffffffaa}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 small{display:block;font-size:10px;letter-spacing:1.8px;font-weight:800;color:#e3e8ff}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 h1{margin:4px 0 3px;font-size:clamp(24px,3vw,35px);line-height:1.1;font-weight:900;letter-spacing:-.8px;color:#fff}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 p{margin:0;color:#f0f4ff;font-size:13px}
#cpsInstituteCenterFullPageV1 .cps-ic-close-v1{position:relative;z-index:2;border:1px solid #ffffff75!important;color:#fff!important;background:#ffffff20!important;width:42px;height:42px;border-radius:14px!important;font-size:23px!important}
#cpsInstituteCenterFullPageV1 .cps-ic-tabs-v1{display:flex;align-items:center;gap:9px;padding:14px clamp(14px,2.6vw,38px);background:#ffffffdc;border-bottom:1px solid #e5e7ff;box-shadow:0 5px 15px #273b7110;overflow-x:auto}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1{flex:0 0 auto;border:1px solid transparent!important;border-radius:13px!important;padding:11px 17px!important;background:transparent!important;color:#334155!important;font-weight:750!important;white-space:nowrap}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1.active{color:#fff!important;background:linear-gradient(120deg,#4338ca,#7c3aed)!important;box-shadow:0 5px 13px #5b21b64d}
#cpsInstituteCenterFullPageV1 .cps-ic-main-v1{width:min(1500px,100%);margin:0 auto;padding:24px clamp(14px,2.2vw,32px) 36px}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:25px 28px;margin:0 0 20px;border-radius:22px;color:white;background:linear-gradient(112deg,#1c35c9 0%,#274be8 36%,#8129dc 73%,#d629d4 100%);box-shadow:0 13px 28px #4734b32b}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1:after{content:"✦";position:absolute;right:28%;top:-36px;font-size:145px;line-height:1;color:#ffffff0d;pointer-events:none}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1>div:first-child{position:relative;z-index:1;min-width:0}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 small,#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 small{font-weight:850;letter-spacing:1.5px;font-size:10px}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 h2{font-size:clamp(22px,2.5vw,32px);font-weight:900;line-height:1.15;letter-spacing:-.6px;margin:7px 0 8px;color:#fff}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 p{margin:0;color:#e8edff;font-size:14px;line-height:1.5}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
#cpsInstituteCenterFullPageV1 .cps-ic-main-v1 button,#cpsInstituteCenterFullPageV1 .cps-ic-main-v1 .cps-ic-button-v1{font:inherit;font-weight:750;border-radius:12px;padding:10px 15px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
#cpsInstituteCenterFullPageV1 .cps-ic-main-v1 button:hover,#cpsInstituteCenterFullPageV1 .cps-ic-main-v1 .cps-ic-button-v1:hover{transform:translateY(-2px);filter:saturate(1.12);box-shadow:0 7px 16px #293a6b25}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 button{border:1px solid #ffffffb8!important;color:#fff!important;background:#ffffff17!important}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 button.primary{background:linear-gradient(110deg,#2de0df,#6ce6ed)!important;color:#12215c!important;border:0!important}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0 0 20px}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article{position:relative;overflow:hidden;min-height:104px;display:flex;flex-direction:column;justify-content:center;gap:9px;padding:18px 20px;border:1px solid transparent;border-radius:20px;box-shadow:0 7px 18px #1e31520d}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:after{content:"";position:absolute;right:-20px;bottom:-44px;width:120px;height:95px;border:17px solid #ffffff55;border-radius:50%;transform:rotate(-25deg)}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1){background:linear-gradient(130deg,#fff0f5,#ffd5e5);border-color:#f8c1d5;color:#a8175d}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2){background:linear-gradient(130deg,#e7fff3,#c7f7df);border-color:#b8ebd0;color:#087c49}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3){background:linear-gradient(130deg,#edf7ff,#d1e8ff);border-color:#c2dcff;color:#1d4ed8}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4){background:linear-gradient(130deg,#fff8e8,#ffe2b9);border-color:#f9d7a0;color:#b45309}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article span{position:relative;z-index:1;font-size:13px;font-weight:750;color:#34415f}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article strong{position:relative;z-index:1;font-size:31px;line-height:1;font-weight:950;letter-spacing:-.8px}
#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1{position:relative;overflow:hidden;display:grid;grid-template-columns:90px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:17px;align-items:start;padding:21px;border-radius:21px;border:1px solid #dce5fa;background:linear-gradient(145deg,#fff 0%,#f8fbff 72%,#edf6ff 100%);box-shadow:0 8px 20px #263f6b10;min-width:0}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(2){background:linear-gradient(145deg,#fff 0%,#fcf7ff 72%,#f3eaff 100%);border-color:#e2d1ff}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3){background:linear-gradient(145deg,#fff 0%,#f2fffc 72%,#d9faf3 100%);border-color:#bfeee3}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(4){background:linear-gradient(145deg,#fff 0%,#f7f7ff 72%,#e4e8ff 100%);border-color:#d4d9ff}
#cpsInstituteCenterFullPageV1 .cps-ic-card-icon-v1{grid-column:1;grid-row:1 / span 3;display:grid;place-items:center;min-height:90px;width:90px;border-radius:23px;background:linear-gradient(145deg,#e4f3ff,#c7d8ff);color:#4338ca;font-size:31px;font-weight:900;box-shadow:inset 0 0 0 1px #ffffffb0}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(2) .cps-ic-card-icon-v1{background:linear-gradient(145deg,#f4e8ff,#d9c4ff);color:#7c3aed}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3) .cps-ic-card-icon-v1{background:linear-gradient(145deg,#d7fff5,#a8f0df);color:#0f947e}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(4) .cps-ic-card-icon-v1{background:linear-gradient(145deg,#e0eaff,#c4d4ff);color:#4338ca}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 h3{grid-column:2;margin:2px 0 7px;font-size:20px;line-height:1.25;font-weight:850;letter-spacing:-.25px;color:#15234b}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 p{grid-column:2;margin:0 0 14px;color:#4b5b78;font-size:13px;line-height:1.5}
#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1{grid-column:2;display:flex;flex-wrap:wrap;gap:9px;align-self:end}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1>button{grid-column:2;justify-self:start;align-self:end}
#cpsInstituteCenterFullPageV1 .cps-ic-main-v1 button.primary{background:linear-gradient(110deg,#303be0,#742be4)!important;border:0!important;color:#fff!important;box-shadow:0 5px 12px #5635d333}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3) button.primary{background:linear-gradient(110deg,#089b87,#087c6d)!important}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 button:not(.primary),#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 button:not(.primary){background:#fff!important;color:#293b73!important;border:1px solid #c6d3f3!important}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 20px;padding:22px 24px;border-radius:20px;background:linear-gradient(110deg,#eef3ff,#f8edff);border:1px solid #e1dcff}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 h2{margin:6px 0;font-size:27px;color:#1e2b67}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 p{margin:0;color:#53617b;line-height:1.5}
#cpsInstituteCenterFullPageV1 .cps-ic-form-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1,#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1,#cpsInstituteCenterFullPageV1 .cps-ic-job-v1{padding:22px;border:1px solid #dbe5fa;border-radius:20px;background:#fff;box-shadow:0 8px 20px #243b690d}
#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1:nth-child(2){background:linear-gradient(145deg,#fff,#f8f0ff);border-color:#e4d4ff}
#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1 h3{font-size:21px;color:#172554}
#cpsInstituteCenterFullPageV1 input,#cpsInstituteCenterFullPageV1 select,#cpsInstituteCenterFullPageV1 textarea{max-width:100%;border:1px solid #cbd5ee;border-radius:10px;padding:10px;background:#fff;color:#172554}
#cpsInstituteCenterFullPageV1 .cps-ic-pill-v1{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;background:#fff1f2;color:#be123c;font-size:11px;font-weight:850}
#cpsInstituteCenterFullPageV1 .cps-ic-pill-v1.on{background:#dcfce7;color:#166534}
#cpsInstituteCenterFullPageV1 .cps-ic-note-v1{padding:14px 17px;border-radius:14px;background:#eef6ff;border:1px solid #d4e6ff;color:#334b72}
#cpsInstituteCenterFullPageV1 .cps-ic-error-v1{padding:22px;border-radius:16px;background:#fff1f2;border:1px solid #fecdd3;color:#9f1239}
@media(max-width:900px){#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{grid-template-columns:repeat(2,minmax(0,1fr))}#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1{align-items:flex-start;flex-direction:column}#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1{justify-content:flex-start}}
@media(max-width:620px){#cpsInstituteCenterFullPageV1 .cps-ic-header-v1{padding:18px 14px;min-height:90px}#cpsInstituteCenterFullPageV1 .cps-ic-mark-v1{width:48px;height:48px;flex-basis:48px;border-radius:14px;font-size:17px}#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1{gap:11px}#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 h1{font-size:23px}#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 p{font-size:11px}#cpsInstituteCenterFullPageV1 .cps-ic-tabs-v1{padding:10px;gap:5px}#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1{padding:9px 12px!important;font-size:12px}#cpsInstituteCenterFullPageV1 .cps-ic-main-v1{padding:14px 11px 24px}#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1{padding:20px 17px;border-radius:18px}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1{gap:9px}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article{padding:14px;min-height:90px;border-radius:15px}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article span{font-size:11px}#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article strong{font-size:26px}#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1,#cpsInstituteCenterFullPageV1 .cps-ic-form-grid-v1{grid-template-columns:1fr;gap:12px}#cpsInstituteCenterFullPageV1 .cps-ic-card-v1{grid-template-columns:62px minmax(0,1fr);column-gap:12px;padding:15px;border-radius:17px}#cpsInstituteCenterFullPageV1 .cps-ic-card-icon-v1{width:62px;min-height:66px;border-radius:16px;font-size:25px}#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 h3{font-size:17px}#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 p{font-size:12px}#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 button,#cpsInstituteCenterFullPageV1 .cps-ic-card-v1>button{font-size:12px;padding:9px 10px}#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1{align-items:flex-start;flex-direction:column;padding:17px}#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 h2{font-size:22px}}
/* END CPS_INSTITUTE_CENTER_PREMIUM_LAYOUT_V3 */


/* CPS_INSTITUTE_CENTER_PREMIUM_DESIGN_V4
   Scoped exclusively to the Institute Center overlay. Existing event/data attributes remain untouched. */
#cpsInstituteCenterFullPageV1 {
  position: fixed !important;
  inset: 0 !important;
  z-index: 100000 !important;
  overflow: auto !important;
  background: #f4f7ff !important;
  color: #111b3b !important;
  font-family: Inter, "Segoe UI", system-ui, Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
}
#cpsInstituteCenterFullPageV1 *,
#cpsInstituteCenterFullPageV1 *::before,
#cpsInstituteCenterFullPageV1 *::after { box-sizing: border-box; }
#cpsInstituteCenterFullPageV1 .cps-ic-shell-v1 {
  min-height: 100%;
  background:
    radial-gradient(ellipse at 8% 30%, rgba(87, 115, 255, .12), transparent 32%),
    radial-gradient(ellipse at 95% 72%, rgba(236, 72, 153, .09), transparent 28%),
    linear-gradient(180deg, #f8faff 0%, #f2f6ff 100%) !important;
}

/* Premium CPS masthead */
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 {
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  min-height: 142px;
  padding: 24px clamp(18px, 4vw, 58px) !important;
  color: #fff !important;
  background: linear-gradient(108deg, #5115d6 0%, #244eea 36%, #08b8d0 70%, #db36c8 100%) !important;
  box-shadow: 0 12px 34px rgba(44, 53, 171, .22) !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1::before,
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1::before {
  width: 360px; height: 360px; right: 8%; top: -245px;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 0 0 22px rgba(255,255,255,.055), 0 0 0 48px rgba(255,255,255,.04), 0 0 0 78px rgba(255,255,255,.025);
}
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1::after {
  width: 250px; height: 250px; right: -65px; bottom: -190px;
  background: rgba(255,255,255,.13); filter: blur(1px);
}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 { position: relative; z-index: 1; display:flex; align-items:center; gap:18px; min-width:0; }
#cpsInstituteCenterFullPageV1 .cps-ic-mark-v1 {
  display:grid !important; place-items:center !important; flex:0 0 66px;
  width:66px !important; height:66px !important; border-radius:19px !important;
  border:3px solid rgba(255,255,255,.8) !important;
  background:linear-gradient(145deg,#fff,#edf4ff) !important; color:#1746bd !important;
  font-size:18px !important; font-weight:1000 !important; letter-spacing:-1px;
  box-shadow:0 9px 25px rgba(9,20,88,.25) !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-brand-v1 > div { min-width:0; }
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 small { color:#e9faff !important; font-size:10px !important; font-weight:900 !important; letter-spacing:2px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 h1 { margin:5px 0 4px !important; color:#fff !important; font-size:clamp(26px,3.2vw,40px) !important; line-height:1.06 !important; font-weight:950 !important; letter-spacing:-1.3px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-header-v1 p { margin:0 !important; color:rgba(255,255,255,.92) !important; font-size:13px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-close-v1 { position:relative; z-index:2; flex:0 0 42px; width:42px !important; height:42px !important; padding:0 !important; border:1px solid rgba(255,255,255,.48) !important; border-radius:14px !important; background:rgba(255,255,255,.17) !important; color:#fff !important; font-size:25px !important; }

/* Clean, high-contrast tab strip */
#cpsInstituteCenterFullPageV1 .cps-ic-tabs-v1 {
  position: sticky !important; top: 0; z-index: 5;
  display:flex !important; align-items:center; gap:10px !important;
  padding:12px clamp(14px,3vw,42px) !important;
  background:rgba(255,255,255,.96) !important; border-bottom:1px solid #dfe7ff !important;
  box-shadow:0 5px 18px rgba(31,55,120,.07); backdrop-filter:blur(12px);
}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1 {
  flex:0 0 auto; min-height:44px; padding:10px 18px !important;
  border:1px solid transparent !important; border-radius:13px !important;
  background:transparent !important; color:#27385f !important; font-size:13px !important; font-weight:850 !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-tab-v1.active {
  border-color:#6046e9 !important; color:#fff !important;
  background:linear-gradient(110deg,#5145e9,#7c2be8) !important;
  box-shadow:0 6px 16px rgba(92,65,224,.28) !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-main-v1 { width:100%; max-width:1600px !important; margin:0 auto !important; padding:clamp(18px,2.7vw,38px) clamp(14px,2.7vw,42px) 42px !important; }

/* Gradient workspace banner */
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex !important; align-items:center !important; justify-content:space-between !important;
  gap:22px !important; min-height:148px; padding:clamp(23px,3vw,38px) !important;
  border:1px solid rgba(255,255,255,.3) !important; border-radius:24px !important;
  color:#fff !important; background:linear-gradient(112deg,#1c38b9 0%,#145ce8 43%,#7124e8 76%,#d92bd0 100%) !important;
  box-shadow:0 16px 36px rgba(43,65,189,.23) !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1::before { content:""; position:absolute; z-index:-1; width:300px; height:300px; right:17%; top:-230px; border:1px solid rgba(255,255,255,.22); border-radius:50%; box-shadow:0 0 0 26px rgba(255,255,255,.045),0 0 0 55px rgba(255,255,255,.03); }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 > div:first-child { position:relative; z-index:1; min-width:0; }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 small { color:#c7f7ff !important; font-size:10px !important; letter-spacing:1.8px !important; font-weight:900 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 h2 { margin:8px 0 !important; color:#fff !important; font-size:clamp(24px,3vw,37px) !important; line-height:1.1 !important; font-weight:950 !important; letter-spacing:-1.2px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 p { max-width:760px; margin:0 !important; color:#e7efff !important; font-size:14px !important; line-height:1.55 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 { position:relative; z-index:2; display:flex !important; flex-wrap:wrap; gap:10px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 button { min-height:48px; padding:0 18px !important; border-radius:13px !important; font-size:12px !important; font-weight:900 !important; box-shadow:0 7px 17px rgba(12,20,70,.17); }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 button:first-child { border-color:#25e2e2 !important; background:linear-gradient(110deg,#26e6e3,#13c7d8) !important; color:#06366d !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 button:last-child { border-color:rgba(255,255,255,.8) !important; background:rgba(255,255,255,.13) !important; color:#fff !important; }

/* Four distinct pastel KPI panels with icon tiles */
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 { display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)) !important; gap:15px !important; margin:20px 0 23px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article {
  display:grid !important; grid-template-columns:66px minmax(0,1fr) !important; grid-template-rows:auto auto !important;
  align-items:center !important; column-gap:13px !important; row-gap:1px !important;
  min-height:108px; padding:16px 18px !important; border-radius:19px !important;
  border:1px solid transparent !important; box-shadow:0 8px 22px rgba(43,62,112,.07) !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article::before {
  grid-column:1; grid-row:1 / 3; display:grid; place-items:center; width:62px; height:62px;
  border-radius:18px; font-family:"Segoe UI Symbol","Segoe UI Emoji",sans-serif; font-size:29px; font-weight:900;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.65);
}
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1) { background:linear-gradient(135deg,#fff0f5,#ffe4ef) !important; border-color:#ffd5e5 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1)::before { content:"\1F4C4"; color:#d31d78; background:#ffd5e8; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(1) strong { color:#b51668 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2) { background:linear-gradient(135deg,#eafff5,#d9fbee) !important; border-color:#c3f3df !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2)::before { content:"✓"; color:#128344; background:#c6f5dc; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(2) strong { color:#08763b !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3) { background:linear-gradient(135deg,#edf7ff,#dceeff) !important; border-color:#cce5ff !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3)::before { content:"\1F4DA"; color:#1758d5; background:#cce5ff; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(3) strong { color:#1246b9 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4) { background:linear-gradient(135deg,#fff6e9,#ffebd0) !important; border-color:#ffe2b5 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4)::before { content:"\1F465"; color:#e66a16; background:#ffe0b7; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article:nth-child(4) strong { color:#d95712 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 span { grid-column:2; grid-row:1; display:block; color:#263655 !important; font-size:12px !important; font-weight:850 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 strong { grid-column:2; grid-row:2; display:block; margin:3px 0 0 !important; font-size:34px !important; line-height:1 !important; font-weight:950 !important; letter-spacing:-1px !important; }

/* Large illustration-style action cards: keep all original controls and data attributes intact */
#cpsInstituteCenterFullPageV1 .cps-ic-grid-v1 { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:17px !important; align-items:stretch; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 {
  position:relative; isolation:isolate; overflow:hidden;
  display:grid !important; grid-template-columns:146px minmax(0,1fr) !important;
  grid-template-rows:auto auto 1fr auto !important; align-items:center !important;
  column-gap:23px !important; row-gap:5px !important;
  min-height:184px; padding:20px 23px !important; border-radius:21px !important;
  border:1px solid #dce6ff !important; box-shadow:0 9px 24px rgba(42,60,112,.09) !important;
  transition:transform .18s ease,box-shadow .18s ease;
}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(42,60,112,.13) !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(1) { background:linear-gradient(135deg,#f1f8ff 0%,#fff 60%,#e5f3ff 100%) !important; border-color:#c9dfff !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(2) { background:linear-gradient(135deg,#f8f1ff 0%,#fff 60%,#f0e5ff 100%) !important; border-color:#dfccff !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3) { background:linear-gradient(135deg,#efffff 0%,#fff 60%,#dcfbf8 100%) !important; border-color:#bceee9 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(4) { background:linear-gradient(135deg,#f1f7ff 0%,#fff 60%,#e3f0ff 100%) !important; border-color:#cbdfff !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1::after { content:""; position:absolute; z-index:-1; right:-58px; bottom:-92px; width:210px; height:150px; border-radius:50%; background:rgba(68,151,255,.10); filter:blur(1px); pointer-events:none; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(2)::after { background:rgba(162,94,255,.11); }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3)::after { background:rgba(20,196,178,.12); }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 .cps-ic-card-icon-v1 {
  grid-column:1 !important; grid-row:1 / 5 !important;
  display:grid !important; place-items:center !important; position:relative; z-index:1;
  width:136px !important; height:132px !important; margin:0 !important; padding:0 17px 0 0 !important;
  border:0 !important; border-right:2px solid rgba(107,143,211,.35) !important; border-radius:0 !important;
  background:transparent !important; color:transparent !important; font-size:0 !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-card-icon-v1::before {
  display:grid; place-items:center; width:116px; height:116px; border-radius:27px;
  font-family:"Segoe UI Emoji","Apple Color Emoji",sans-serif; font-size:55px; line-height:1;
  filter:drop-shadow(0 8px 7px rgba(45,74,151,.14));
}
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(1) .cps-ic-card-icon-v1::before { content:""; background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAgMTQwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImJnIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2U5ZjVmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2JmZTFmZiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJzY3JlZW4iIHgxPSIwIiB5MT0iMCIgeDI9IjEiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjODNhOGZmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMzE1OGU3Ii8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iODAiIGN5PSI2OCIgcj0iNjYiIGZpbGw9InVybCgjYmcpIi8+PHBhdGggZD0iTTM3IDEwNVY0MHEwLTcgOC03aDcwcTggMCA4IDd2NjUiIGZpbGw9InVybCgjc2NyZWVuKSIvPjxyZWN0IHg9IjQ0IiB5PSI0MSIgd2lkdGg9IjcyIiBoZWlnaHQ9IjU3IiByeD0iNiIgZmlsbD0iI2Y1ZmJmZiIvPjxjaXJjbGUgY3g9IjgwIiBjeT0iNTkiIHI9IjEwIiBmaWxsPSIjMzU3N2U4Ii8+PHBhdGggZD0iTTYwIDg2cTItMTggMjAtMTh0MjAgMTgiIGZpbGw9IiMzNTc3ZTgiLz48cGF0aCBkPSJNMjYgMTA3aDEwOGwtOCAxMEgzNXoiIGZpbGw9IiMyNDRiZDUiLz48cGF0aCBkPSJNNjQgMTA4aDMybC0zIDVINjd6IiBmaWxsPSIjOThkN2ZmIi8+PGNpcmNsZSBjeD0iMTIyIiBjeT0iMzQiIHI9IjE5IiBmaWxsPSIjZmY5ZjI4Ii8+PHBhdGggZD0iTTEyMiAyNHYyME0xMTIgMzRoMjAiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48L3N2Zz4=") center / contain no-repeat; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(2) .cps-ic-card-icon-v1::before { content:""; background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAgMTQwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImJnIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2Y1ZWRmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2UxZDBmZiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJwYXBlciIgeDE9IjAiIHkxPSIwIiB4Mj0iMCIgeTI9IjEiPjxzdG9wIHN0b3AtY29sb3I9IiM5YjcyZmYiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3AtY29sb3I9IiM1ZTM5ZDgiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48Y2lyY2xlIGN4PSI4MCIgY3k9IjY5IiByPSI2NiIgZmlsbD0idXJsKCNiZykiLz48cmVjdCB4PSIzNyIgeT0iMjkiIHdpZHRoPSI4NiIgaGVpZ2h0PSIxMDAiIHJ4PSIxMyIgZmlsbD0idXJsKCNwYXBlcikiLz48cmVjdCB4PSI0NCIgeT0iNDAiIHdpZHRoPSI3MiIgaGVpZ2h0PSI4MSIgcng9IjgiIGZpbGw9IiNmZmYiLz48cmVjdCB4PSI2NSIgeT0iMjEiIHdpZHRoPSIzMCIgaGVpZ2h0PSIxNiIgcng9IjciIGZpbGw9IiM3NTQ3ZWQiLz48Y2lyY2xlIGN4PSI4MCIgY3k9IjY3IiByPSIxMiIgZmlsbD0iIzgwNThlYiIvPjxwYXRoIGQ9Ik01NyA5NnEzLTIwIDIzLTIwdDIzIDIwIiBmaWxsPSIjODA1OGViIi8+PHBhdGggZD0iTTYwIDEwOGg0MCIgc3Ryb2tlPSIjYzViM2ZmIiBzdHJva2Utd2lkdGg9IjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjxjaXJjbGUgY3g9IjExOSIgY3k9IjMzIiByPSIxMyIgZmlsbD0iI2ZmZDQ2YyIvPjxwYXRoIGQ9Ik0xMTkgMjd2MTJNMTEzIDMzaDEyIiBzdHJva2U9IiM4YzU1ZDgiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIi8+PC9zdmc+") center / contain no-repeat; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3) .cps-ic-card-icon-v1::before { content:""; background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAgMTQwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImJnIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2RmZmZmYiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2I0ZjFlZCIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJjYW0iIHgxPSIwIiB5MT0iMCIgeDI9IjEiIHkyPSIxIj48c3RvcCBzdG9wLWNvbG9yPSIjNTI2NmQ4Ii8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMTgyYjgwIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PGNpcmNsZSBjeD0iODAiIGN5PSI2OSIgcj0iNjYiIGZpbGw9InVybCgjYmcpIi8+PGcgdHJhbnNmb3JtPSJyb3RhdGUoOSAxMDIgNDkpIj48cmVjdCB4PSI3NCIgeT0iMTgiIHdpZHRoPSI2MiIgaGVpZ2h0PSI3MiIgcng9IjgiIGZpbGw9IiNmZmYiLz48cmVjdCB4PSI4MCIgeT0iMjQiIHdpZHRoPSI1MCIgaGVpZ2h0PSI2MCIgcng9IjQiIGZpbGw9IiNhOGRkZmYiLz48Y2lyY2xlIGN4PSIxMTYiIGN5PSIzOCIgcj0iNyIgZmlsbD0iI2ZmZDM2YSIvPjxwYXRoIGQ9Ik04MiA3NWwxNC0xOCAxMCAxMCA5LTEyIDE1IDIweiIgZmlsbD0iIzRlOWZlOSIvPjwvZz48ZyB0cmFuc2Zvcm09InJvdGF0ZSgtOCA0OCA0NSkiPjxyZWN0IHg9IjE3IiB5PSIxNSIgd2lkdGg9IjYxIiBoZWlnaHQ9IjcwIiByeD0iOCIgZmlsbD0iI2ZmZiIvPjxyZWN0IHg9IjIzIiB5PSIyMSIgd2lkdGg9IjQ5IiBoZWlnaHQ9IjU4IiByeD0iNCIgZmlsbD0iI2M3ZWFmZiIvPjxwYXRoIGQ9Ik0yNSA2OWwxMy0xNyA5IDkgOC0xMyAxNSAyMXoiIGZpbGw9IiMzOTk5ZDciLz48L2c+PHBhdGggZD0iTTI2IDY4aDEwN3E5IDAgOSAxMHYzNHEwIDktOSA5SDI2cS05IDAtOS05Vjc4cTAtMTAgOS0xMHoiIGZpbGw9InVybCgjY2FtKSIvPjxwYXRoIGQ9Ik00NSA2N2w5LTEzaDI4bDEwIDEzIiBmaWxsPSIjNDA1NGI3Ii8+PGNpcmNsZSBjeD0iODMiIGN5PSI5MSIgcj0iMjQiIGZpbGw9IiMxODI0NWUiLz48Y2lyY2xlIGN4PSI4MyIgY3k9IjkxIiByPSIxNyIgZmlsbD0iIzUzYzlmMCIvPjxjaXJjbGUgY3g9IjgzIiBjeT0iOTEiIHI9IjEwIiBmaWxsPSIjMjM0NGE5Ii8+PGNpcmNsZSBjeD0iMTIyIiBjeT0iODAiIHI9IjUiIGZpbGw9IiNmZmNkNjIiLz48L3N2Zz4=") center / contain no-repeat; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(4) .cps-ic-card-icon-v1::before { content:""; background:transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNjAgMTQwIj48ZGVmcz48bGluZWFyR3JhZGllbnQgaWQ9ImJnIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iI2U0ZjJmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iI2M1ZTFmZiIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJhIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iIzU2YzZmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzI2NzRlNyIvPjwvbGluZWFyR3JhZGllbnQ+PGxpbmVhckdyYWRpZW50IGlkPSJiIiB4MT0iMCIgeTE9IjAiIHgyPSIxIiB5Mj0iMSI+PHN0b3Agc3RvcC1jb2xvcj0iIzhjNzJmZiIvPjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzUwMzVkNCIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxjaXJjbGUgY3g9IjgwIiBjeT0iNjkiIHI9IjY2IiBmaWxsPSJ1cmwoI2JnKSIvPjxjaXJjbGUgY3g9IjU4IiBjeT0iNDgiIHI9IjE5IiBmaWxsPSJ1cmwoI2EpIi8+PGNpcmNsZSBjeD0iMTA4IiBjeT0iNDciIHI9IjE5IiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggZD0iTTIwIDExMnEzLTM5IDM4LTM5dDM4IDM5IiBmaWxsPSJ1cmwoI2EpIi8+PHBhdGggZD0iTTY4IDExMnEzLTM5IDQwLTM5dDM0IDM5IiBmaWxsPSJ1cmwoI2IpIi8+PHBhdGggZD0iTTgwIDExN2g1MSIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utb3BhY2l0eT0iLjY1IiBzdHJva2Utd2lkdGg9IjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==") center / contain no-repeat; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 h3 { grid-column:2 !important; grid-row:1 !important; align-self:end; position:relative; z-index:1; margin:0 0 2px !important; color:#111b3b !important; font-size:clamp(17px,1.5vw,22px) !important; font-weight:950 !important; letter-spacing:-.5px !important; line-height:1.2 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 p { grid-column:2 !important; grid-row:2 !important; align-self:start; position:relative; z-index:1; margin:0 0 8px !important; color:#50617f !important; font-size:13px !important; line-height:1.5 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 { grid-column:2 !important; grid-row:4 !important; position:relative; z-index:1; display:flex !important; flex-wrap:wrap; gap:9px !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 button,
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 > button { min-height:43px; padding:0 16px !important; border-radius:12px !important; font-size:12px !important; font-weight:900 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 button.primary,
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1 > button.primary { border-color:#3348db !important; background:linear-gradient(110deg,#3048e9,#5d20d7) !important; color:#fff !important; box-shadow:0 7px 15px rgba(68,65,206,.22) !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-v1:nth-child(3) > button.primary { border-color:#079d91 !important; background:linear-gradient(110deg,#0caa99,#087e91) !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 button:not(.primary) { background:rgba(255,255,255,.88) !important; border-color:#b8c9e9 !important; color:#263b69 !important; }

/* Secondary tabs: forms, submissions and photography */
#cpsInstituteCenterFullPageV1 .cps-ic-form-card-v1,
#cpsInstituteCenterFullPageV1 .cps-ic-submission-v1,
#cpsInstituteCenterFullPageV1 .cps-ic-job-v1,
#cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 {
  border:1px solid #dce6fa !important; border-radius:19px !important;
  background:linear-gradient(145deg,#fff,#f7faff) !important;
  box-shadow:0 8px 24px rgba(42,60,112,.07) !important;
}
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 h2 { color:#132653 !important; font-weight:950 !important; }
#cpsInstituteCenterFullPageV1 .cps-ic-section-head-v1 p { color:#5d6c87 !important; }
#cpsInstituteCenterFullPageV1 button,
#cpsInstituteCenterFullPageV1 .cps-ic-button-v1 { transition:transform .15s ease,filter .15s ease,box-shadow .15s ease; }
#cpsInstituteCenterFullPageV1 button:hover,
#cpsInstituteCenterFullPageV1 .cps-ic-button-v1:hover { filter:brightness(1.03); transform:translateY(-1px); }
#cpsInstituteCenterFullPageV1 button:focus-visible,
#cpsInstituteCenterFullPageV1 a:focus-visible { outline:3px solid #28c9dc !important; outline-offset:2px; }

@media (max-width: 900px) {
  #cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 { align-items:flex-start !important; flex-direction:column !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-grid-v1 { grid-template-columns:1fr !important; }
}
@media (max-width: 560px) {
  #cpsInstituteCenterFullPageV1 .cps-ic-header-v1 { min-height:112px; padding:16px 13px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-mark-v1 { flex-basis:48px; width:48px !important; height:48px !important; border-radius:14px !important; font-size:14px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-header-v1 h1 { font-size:23px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-header-v1 p { font-size:10px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-tabs-v1 { gap:5px !important; padding:8px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-tab-v1 { min-height:38px; padding:8px 10px !important; font-size:11px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-main-v1 { padding:12px 10px 28px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 { min-height:0; padding:20px !important; border-radius:18px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 h2 { font-size:23px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-welcome-v1 p { font-size:12px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 { width:100%; }
  #cpsInstituteCenterFullPageV1 .cps-ic-welcome-actions-v1 button { flex:1 1 145px; min-height:42px; padding:0 10px !important; font-size:11px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 { gap:8px !important; margin:13px 0 16px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article { grid-template-columns:42px minmax(0,1fr) !important; column-gap:8px !important; min-height:82px; padding:10px !important; border-radius:14px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 article::before { width:39px; height:39px; border-radius:12px; font-size:19px; }
  #cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 span { font-size:9px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-stats-v1 strong { font-size:24px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-card-v1 { grid-template-columns:78px minmax(0,1fr) !important; column-gap:11px !important; min-height:145px; padding:14px !important; border-radius:17px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-card-v1 .cps-ic-card-icon-v1 { width:76px !important; height:100px !important; padding-right:8px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-card-icon-v1::before { width:66px; height:66px; border-radius:17px; font-size:34px; }
  #cpsInstituteCenterFullPageV1 .cps-ic-card-v1 h3 { font-size:15px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-card-v1 p { font-size:11px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-card-actions-v1 button,
  #cpsInstituteCenterFullPageV1 .cps-ic-card-v1 > button { min-height:37px; padding:0 10px !important; font-size:10px !important; }
  #cpsInstituteCenterFullPageV1 .cps-ic-form-grid-v1,
  #cpsInstituteCenterFullPageV1 .cps-ic-assignment-form-v1 { grid-template-columns:1fr !important; }
}
/* END CPS_INSTITUTE_CENTER_PREMIUM_DESIGN_V4 */

/* CPS_INSTITUTE_STATS_ICON_ENCODING_FIX_V1 : CSS unicode escapes avoid mojibake in metric icons. */

/* CPS_TEXT_DISPLAY_FIX_V1 */
/* Readability adjustments limited to the Institute Center workspace. */
.cps-ic-welcome-v1 h2{font-size:clamp(22px,2.2vw,30px)!important;line-height:1.25!important;letter-spacing:-.25px!important}
.cps-ic-welcome-v1 p{font-size:14px!important;line-height:1.6!important}
.cps-ic-welcome-v1 small{font-size:11px!important;line-height:1.4!important;letter-spacing:.5px!important}
.cps-ic-welcome-actions-v1 button{font-size:12px!important;line-height:1.35!important;padding:11px 16px!important}
.cps-ic-stats-v1 article span{font-size:12px!important;line-height:1.45!important}
.cps-ic-stats-v1 article strong{font-size:28px!important;line-height:1.1!important}
.cps-ic-grid-v1 .cps-ic-card-v1 h3{font-size:17px!important;line-height:1.35!important}
.cps-ic-grid-v1 .cps-ic-card-v1 p{font-size:13px!important;line-height:1.6!important}
.cps-ic-grid-v1 .cps-ic-card-v1 button{font-size:12px!important;line-height:1.35!important;padding:10px 14px!important}
.cps-ic-form-card-v1{font-size:13px!important;line-height:1.5!important}
.cps-ic-form-card-v1 button,.cps-ic-form-card-v1 label,.cps-ic-form-card-v1 small{font-size:12px!important}
.cps-ic-pill-v1{font-size:10px!important;line-height:1.3!important}
@media(max-width:700px){.cps-ic-welcome-v1{gap:14px!important}.cps-ic-welcome-v1 h2{font-size:22px!important}.cps-ic-stats-v1 article span{font-size:11px!important}.cps-ic-grid-v1 .cps-ic-card-v1 h3{font-size:16px!important}}
/* CPS_PUBLIC_FORM_PHOTO_PIPELINE_V1 */
.cps-ic-submission-photo-v1{display:flex;align-items:center;gap:12px;margin:12px 0;padding:10px;border:1px solid #dce4f4;border-radius:12px;background:#f7faff;max-width:320px}
.cps-ic-submission-photo-v1 img{display:block;width:78px;height:100px;object-fit:cover;border-radius:8px;border:1px solid #d7dfef;background:#fff}
.cps-ic-submission-photo-v1 span{font-size:12px;font-weight:700;color:#34476c}

/* CPS_ID_CARD_CORRECTION_SHEET_V1 */
#cpsCorrectionSheetLaunchV1{margin-right:8px}
.cps-cs-modal-v1{display:none;position:fixed;inset:0;z-index:99990;background:rgba(10,19,45,.60);padding:16px;overflow:auto}
.cps-cs-modal-v1.is-open{display:block}
.cps-cs-workspace-v1{width:min(1500px,100%);min-height:calc(100vh - 32px);margin:0 auto;background:#f4f7fc;border:1px solid #dbe5f3;border-radius:18px;overflow:hidden;box-shadow:0 24px 80px rgba(0,0,0,.28)}
.cps-cs-topbar-v1{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 26px;background:linear-gradient(112deg,#102e72,#1762c9 58%,#693acb);color:#fff}
.cps-cs-eyebrow-v1{font-size:9px;font-weight:900;letter-spacing:1.8px;color:#d9e8ff}
.cps-cs-topbar-v1 h1{margin:5px 0;font-size:clamp(21px,3vw,30px);color:#fff}
.cps-cs-topbar-v1 p{margin:0;color:#dce9ff;font-size:12px}
.cps-cs-close-v1{width:40px;height:40px;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:rgba(255,255,255,.12);color:#fff;font-size:28px;cursor:pointer}
.cps-cs-screen-v1{padding:20px;display:grid;gap:16px}
.cps-cs-filter-card-v1,.cps-cs-panel-v1{background:#fff;border:1px solid #dfe7f2;border-radius:14px;padding:16px;box-shadow:0 5px 18px rgba(24,55,100,.06)}
.cps-cs-filter-grid-v1{display:grid;grid-template-columns:1.4fr .8fr .8fr 1.2fr;gap:12px}
.cps-cs-filter-grid-v1 label,.cps-cs-setting-row-v1 label,.cps-cs-custom-v1 label{display:block;font-size:11px;font-weight:800;color:#34466b}
.cps-cs-filter-grid-v1 input,.cps-cs-filter-grid-v1 select,.cps-cs-setting-row-v1 select,.cps-cs-custom-v1 input{font-size:12px;min-height:40px}
.cps-cs-toolbar-v1{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.cps-cs-toolbar-v1>div{display:flex;gap:7px;flex-wrap:wrap}
.cps-cs-count-v1{font-size:11px;font-weight:800;color:#4d5c7c}
.cps-cs-builder-grid-v1{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);gap:16px;align-items:start}
.cps-cs-panel-head-v1{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.cps-cs-panel-head-v1 h2{font-size:16px;color:#193668;margin:0 0 4px}
.cps-cs-panel-head-v1 p{font-size:11px;color:#71809a;margin:0}
.cps-cs-pill-v1{background:#eaf1ff;color:#244e9a;border-radius:30px;padding:6px 10px;font-size:10px;font-weight:900;white-space:nowrap}
.cps-cs-student-list-v1{max-height:430px;overflow:auto;display:grid;gap:6px}
.cps-cs-student-row-v1{display:flex;align-items:center;gap:10px;border:1px solid #e8edf5;border-radius:10px;padding:9px;margin:0;cursor:pointer}
.cps-cs-student-row-v1:hover{background:#f7faff;border-color:#b7ccef}
.cps-cs-student-row-v1>input{width:16px;height:16px;margin:0;flex:0 0 auto}
.cps-cs-student-avatar-v1{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9f0ff;color:#2050a0;font-size:10px;font-weight:900;flex:0 0 auto}
.cps-cs-student-info-v1{min-width:0;display:grid;gap:3px;flex:1}
.cps-cs-student-info-v1 b{font-size:11px;color:#263b61}
.cps-cs-student-info-v1 small{font-size:10px;color:#78869c;overflow-wrap:anywhere}
.cps-cs-photo-state-v1{font-size:9px;color:#70809a;white-space:nowrap}
.cps-cs-setting-row-v1{max-width:220px}
.cps-cs-field-head-v1{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 8px;color:#29436f;font-size:11px}
.cps-cs-field-head-v1 small{font-size:9px;color:#7c879a}
.cps-cs-columns-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:220px;overflow:auto;padding:9px;border:1px solid #e7edf5;border-radius:10px;background:#fbfcff}
.cps-cs-column-option-v1,.cps-cs-checklist-v1 label{display:flex;align-items:center;gap:7px;margin:0;font-size:10px;color:#3e4e69;font-weight:650}
.cps-cs-column-option-v1 input,.cps-cs-checklist-v1 input{width:14px;height:14px;margin:0;flex:0 0 auto}
.cps-cs-custom-v1{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;margin-top:12px}
.cps-cs-checklist-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.cps-cs-generate-row-v1{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;border-radius:12px;background:#eaf1ff;border:1px solid #d2e0fa}
.cps-cs-generate-row-v1 p{margin:0;font-size:11px;color:#304b76}
.cps-cs-generate-row-v1 p.is-error{color:#a52f36;font-weight:800}
.cps-cs-print-v1{display:none}
.cps-cs-print-v1.is-visible{display:block}
.cps-cs-print-actions-v1{padding:0 20px 20px;display:flex;justify-content:flex-end;gap:8px}
.cps-cs-print-actions-v1[hidden]{display:none!important}
.cps-cs-page-v1{width:194mm;height:277mm;margin:0 auto 14px;background:#fff;color:#152b4f;padding:3mm;display:flex;flex-direction:column;border:1px solid #d9e2ef;overflow:hidden;page-break-after:always;break-after:page}
.cps-cs-school-head-v1{display:grid;grid-template-columns:22mm 1fr 43mm;gap:3mm;align-items:center;border-bottom:2px solid #1760b9;padding-bottom:3mm;margin-bottom:3mm}
.cps-cs-school-logo-v1{width:20mm;height:20mm;border-radius:8px;display:grid;place-items:center;background:#eef5ff;overflow:hidden;color:#194a92;font-weight:900;font-size:18px}
.cps-cs-school-logo-v1 img{width:100%;height:100%;object-fit:contain}
.cps-cs-school-title-v1 h1{font-size:18px;line-height:1.05;margin:0 0 1mm;color:#0a2b62;text-transform:uppercase}
.cps-cs-school-title-v1 p{font-size:8px;margin:0 0 1mm;color:#4d6386}
.cps-cs-school-title-v1 strong{display:block;background:#174d99;color:#fff;border-radius:4px;padding:1.2mm 2mm;font-size:11px;letter-spacing:.3px}
.cps-cs-school-title-v1 small{display:block;margin-top:1mm;font-size:7px;font-weight:700}
.cps-cs-sheet-meta-v1{font-size:7px;line-height:1.8;border:1px solid #a9c3e6;border-radius:5px;padding:2mm}
.cps-cs-student-grid-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:2mm;flex:1;min-height:0}
.cps-cs-student-card-v1{border:1px solid #7ea3d3;border-radius:7px;padding:2mm;display:flex;flex-direction:column;min-width:0;min-height:0;overflow:hidden;break-inside:avoid}
.cps-cs-card-head-v1{display:flex;align-items:center;justify-content:space-between;gap:2mm;background:#164a93;color:#fff;border-radius:4px;padding:1.5mm 2mm;margin-bottom:2mm;font-size:8px}
.cps-cs-card-head-v1 span{background:#edf4ff;color:#183a70;border-radius:20px;padding:1mm 2mm;font-size:7px;font-weight:800}
.cps-cs-card-main-v1{display:grid;grid-template-columns:25mm minmax(0,1fr);gap:2mm}
.cps-cs-photo-v1{height:32mm;border:1px solid #a8c5e6;border-radius:5px;overflow:hidden;background:#edf5fd;display:grid;place-items:center}
.cps-cs-photo-v1 img{width:100%;height:100%;object-fit:cover}
.cps-cs-data-v1,.cps-cs-more-grid-v1{display:grid;align-content:start;gap:0;min-width:0}
.cps-cs-data-row-v1{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);gap:1mm;border-bottom:1px solid #c5d4e6;padding:.7mm 1mm;font-size:6.8px;line-height:1.15;min-width:0}
.cps-cs-data-row-v1 b{font-weight:800;color:#1a345d}
.cps-cs-data-row-v1 span{font-weight:600;color:#26334b;overflow-wrap:anywhere}
.cps-cs-more-title-v1{margin-top:1.5mm;padding:1mm 2mm;background:#40329c;color:#fff;border-radius:3px;font-size:7px;font-weight:900}
.cps-cs-more-grid-v1{grid-template-columns:1fr 1fr;column-gap:2mm}
.cps-cs-correction-title-v1{margin-top:1.5mm;padding:1mm 2mm;background:#174a91;color:#fff;border-radius:3px;font-size:7px;font-weight:900}
.cps-cs-corrections-v1{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1mm 2mm;padding:1.5mm 1mm}
.cps-cs-corrections-v1 label{display:flex;align-items:center;gap:1mm;margin:0;font-size:6px;font-weight:700;color:#263b5a;white-space:nowrap}
.cps-cs-corrections-v1 input{width:8px;height:8px;margin:0}
.cps-cs-correct-title-v1{font-size:7px;font-weight:900;color:#33247f;border-top:1px solid #bdcbe0;padding-top:1mm}
.cps-cs-correct-title-v1 small{font-size:5.8px;font-weight:500}
.cps-cs-writing-lines-v1{display:grid;gap:2mm;padding:1mm 0}
.cps-cs-writing-lines-v1 i{height:3mm;border-bottom:1px dotted #6f7c91}
.cps-cs-office-v1{margin-top:auto;border-top:1px solid #c8d3e2;padding-top:1mm;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1mm;font-size:5.6px;color:#2e3e5a}
.cps-cs-office-v1 b{width:100%;font-size:6px;color:#33247f}
.cps-cs-page-footer-v1{display:flex;justify-content:space-between;border-top:1px solid #d4deeb;margin-top:2mm;padding-top:1mm;font-size:6px;color:#65758f}
@media(max-width:900px){.cps-cs-filter-grid-v1{grid-template-columns:repeat(2,minmax(0,1fr))}.cps-cs-builder-grid-v1{grid-template-columns:1fr}}
@media(max-width:600px){.cps-cs-modal-v1{padding:0}.cps-cs-workspace-v1{min-height:100vh;border-radius:0}.cps-cs-topbar-v1{padding:16px}.cps-cs-screen-v1{padding:10px}.cps-cs-filter-grid-v1{grid-template-columns:1fr}.cps-cs-toolbar-v1{align-items:flex-start;flex-direction:column}.cps-cs-generate-row-v1{align-items:stretch;flex-direction:column}.cps-cs-custom-v1{grid-template-columns:1fr}.cps-cs-print-actions-v1{padding:0 10px 12px}}
@media print{
  @page{size:A4 portrait;margin:8mm}
  body{background:#fff!important}
  body *{visibility:hidden!important}
  #cpsCorrectionSheetModal,#cpsCorrectionSheetModal *{visibility:visible!important}
  #cpsCorrectionSheetModal{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:auto!important;overflow:visible!important;padding:0!important;background:#fff!important}
  #cpsCorrectionSheetModal .cps-cs-workspace-v1{width:100%!important;min-height:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:#fff!important}
  #cpsCorrectionSheetModal .cps-cs-topbar-v1,
  #cpsCorrectionSheetModal .cps-cs-screen-v1,
  #cpsCorrectionSheetModal .cps-cs-print-actions-v1{display:none!important}
  #cpsCorrectionSheetModal .cps-cs-print-v1{display:block!important}
  .cps-cs-page-v1{width:194mm!important;height:277mm!important;margin:0 auto!important;border:0!important;padding:0!important;page-break-after:always!important;break-after:page!important}
  .cps-cs-page-v1:last-child{page-break-after:auto!important;break-after:auto!important}
}

/* CPS_CORRECTION_SHEET_FIX_V23 */
@media print {
  .cps-cs-page-v1 { box-sizing: border-box !important; }
  .cps-cs-student-grid-v1 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-rows: repeat(3, minmax(0, 1fr)) !important;
    gap: 2mm !important;
  }
  .cps-cs-student-card-v1 { padding: 1.2mm !important; min-height: 0 !important; }
  .cps-cs-card-head-v1 { padding: 1mm 1.5mm !important; margin-bottom: 1mm !important; font-size: 7px !important; }
  .cps-cs-card-main-v1 { grid-template-columns: 21mm minmax(0, 1fr) !important; gap: 1.3mm !important; }
  .cps-cs-photo-v1 { height: 24mm !important; }
  .cps-cs-data-row-v1 { font-size: 6.1px !important; line-height: 1.08 !important; padding: .4mm .7mm !important; gap: .7mm !important; }
  .cps-cs-more-title-v1, .cps-cs-correction-title-v1 { margin-top: 1mm !important; padding: .7mm 1.5mm !important; font-size: 6.5px !important; }
  .cps-cs-corrections-v1 { gap: .6mm 1mm !important; padding: .8mm .5mm !important; }
  .cps-cs-corrections-v1 label { font-size: 5.5px !important; }
  .cps-cs-corrections-v1 input { width: 7px !important; height: 7px !important; }
  .cps-cs-correct-title-v1 { font-size: 6.3px !important; padding-top: .7mm !important; }
  .cps-cs-writing-lines-v1 { gap: 1mm !important; padding: .6mm 0 !important; }
  .cps-cs-writing-lines-v1 i { height: 1.8mm !important; }
  .cps-cs-office-v1 { padding-top: .7mm !important; gap: .6mm !important; font-size: 5.2px !important; }
}

/* CPS_IDRECORDS_INSTITUTE_CLASS_SECTION_GROUPING_V1 */
#records.cps-idrecords-root-v1{display:block;padding:0;background:transparent}
.cps-idrecords-toolbar-v1{display:grid;grid-template-columns:repeat(3,minmax(140px,1fr)) minmax(210px,1.4fr);gap:12px;align-items:end;padding:15px;margin:0 0 14px;border:1px solid #dce5f2;border-radius:14px;background:#f8faff}
.cps-idrecords-toolbar-v1 label{display:grid;gap:6px;color:#33415e;font-size:11px;font-weight:800}
.cps-idrecords-toolbar-v1 select,.cps-idrecords-toolbar-v1 input{width:100%;min-width:0;min-height:39px;padding:9px 11px;border:1px solid #d6dfed;border-radius:9px;background:#fff;color:#1f2c46;font:inherit;font-weight:600}
.cps-idrecords-summary-v1{display:flex;align-items:center;gap:12px;margin:0 0 14px;padding:0 3px;color:#64748b;font-size:11px}
.cps-idrecords-summary-v1 strong{color:#173c88;font-size:13px}
.cps-idrecords-summary-v1 button{margin-left:auto;padding:7px 11px}
.cps-idrecords-institution-list-v1{display:grid;gap:16px}
.cps-idrecords-institution-box-v1{overflow:hidden;border:1px solid #d9e3f2;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(24,55,110,.06)}
.cps-idrecords-institution-head-v1{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;background:linear-gradient(110deg,#113c9e,#176bd1 72%,#5340c5);color:#fff}
.cps-idrecords-institution-head-v1 small{display:block;margin-bottom:4px;color:#cfe0ff;font-size:9px;font-weight:900;letter-spacing:1.4px}
.cps-idrecords-institution-head-v1 h3{margin:0;color:#fff;font-size:17px;font-weight:900}
.cps-idrecords-institution-head-v1>span{flex:none;padding:6px 10px;border:1px solid rgba(255,255,255,.3);border-radius:30px;background:rgba(255,255,255,.14);font-size:10px;font-weight:800}
.cps-idrecords-class-list-v1{display:grid;gap:10px;padding:13px}
.cps-idrecords-class-box-v1{overflow:hidden;border:1px solid #e0e7f1;border-radius:12px;background:#fbfcff}
.cps-idrecords-class-box-v1>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;cursor:pointer;color:#183b82;font-size:13px;font-weight:900;list-style:none}
.cps-idrecords-class-box-v1>summary::-webkit-details-marker{display:none}
.cps-idrecords-class-box-v1>summary:after{content:"+";margin-left:8px;color:#4266a9;font-size:18px}
.cps-idrecords-class-box-v1[open]>summary:after{content:"-"}
.cps-idrecords-class-box-v1>summary b{margin-left:auto;color:#64748b;font-size:10px;font-weight:800}
.cps-idrecords-class-content-v1{display:grid;gap:10px;padding:0 10px 10px}
.cps-idrecords-section-box-v1{overflow:hidden;border:1px solid #e5ebf4;border-radius:10px;background:#fff}
.cps-idrecords-section-head-v1{display:flex;align-items:center;justify-content:space-between;padding:8px 11px;background:#eff5ff;color:#263e69;font-size:11px}
.cps-idrecords-section-head-v1 span{color:#71809b;font-size:10px;font-weight:700}
.cps-idrecords-student-list-v1{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;padding:4px 10px}
.cps-idrecords-student-v1{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 2px;border-bottom:1px solid #edf1f6}
.cps-idrecords-avatar-v1{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:#e8f0ff;color:#174ca7;font-size:10px;font-weight:900}
.cps-idrecords-student-meta-v1{display:grid;flex:1;min-width:0;gap:3px}
.cps-idrecords-student-meta-v1 strong{overflow:hidden;color:#1b2944;font-size:11px;font-weight:850;text-overflow:ellipsis;white-space:nowrap}
.cps-idrecords-student-meta-v1 small{overflow:hidden;color:#73809a;font-size:9px;text-overflow:ellipsis;white-space:nowrap}
.cps-idrecords-student-v1 button{flex:none;padding:5px 8px;font-size:9px}
.cps-idrecords-empty-v1{padding:25px 15px;border:1px dashed #cbd7e8;border-radius:12px;background:#fafcff;color:#66758e;text-align:center;font-size:12px}
@media(max-width:900px){.cps-idrecords-toolbar-v1{grid-template-columns:repeat(2,minmax(0,1fr))}.cps-idrecords-student-list-v1{grid-template-columns:1fr}}
@media(max-width:560px){.cps-idrecords-toolbar-v1{grid-template-columns:1fr}.cps-idrecords-summary-v1{flex-wrap:wrap}.cps-idrecords-summary-v1 button{margin-left:0}.cps-idrecords-class-list-v1{padding:8px}.cps-idrecords-institution-head-v1{padding:12px}.cps-idrecords-institution-head-v1 h3{font-size:14px}}

/* CPS_STUDENT_PROFILE_A4_V1 */
.cps-profile-actions-v1{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.cps-profile-actions-v1 button{cursor:pointer;border-radius:8px;padding:6px 9px;font-weight:800}.cps-profile-view-v1,.cps-profile-edit-v1{background:#eef4ff;border:1px solid #8eb5ff;color:#174aa0}
.cps-profile-overlay-v1{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:18px;background:rgba(8,20,52,.58);overflow:auto}.cps-profile-overlay-v1[hidden]{display:none}.cps-profile-dialog-v1{width:min(940px,100%);max-height:96vh;overflow:auto;background:#f7f9ff;border:1px solid #d8e2f3;border-radius:18px;box-shadow:0 25px 80px rgba(0,0,0,.28);color:#14264d}.cps-profile-modal-head-v1{display:flex;justify-content:space-between;align-items:center;padding:15px 20px;background:linear-gradient(110deg,#eaf1ff,#fff);border-bottom:1px solid #dce5f4}.cps-profile-modal-head-v1 small{font-size:10px;font-weight:900;letter-spacing:1.5px;color:#4265a5}.cps-profile-modal-head-v1 h2{margin:4px 0 0;font-size:22px}.cps-profile-modal-head-v1>button{border:0;background:transparent;font-size:30px;cursor:pointer}.cps-profile-paper-v1{margin:18px auto;width:calc(100% - 36px);max-width:794px;min-height:1000px;padding:28px;background:#fff;border:1px solid #cbd5e1;box-shadow:0 4px 18px #1e3a8a12}.cps-profile-school-v1{display:flex;align-items:center;gap:16px;padding-bottom:14px;border-bottom:2px solid #1d4ed8;text-align:center}.cps-profile-school-v1 img{width:78px;height:78px;object-fit:contain}.cps-profile-school-v1>div{flex:1}.cps-profile-school-v1 h1{font-size:24px;line-height:1.15;margin:0;color:#102a69}.cps-profile-school-v1 p{margin:5px 0;font-size:12px}.cps-profile-school-v1 h2{display:inline-block;margin:8px 0 0;padding:7px 22px;border-radius:24px;background:#155bd6;color:white;font-size:14px}.cps-profile-body-v1{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:16px;margin-top:20px}.cps-profile-fields-v1{border:1px solid #9aa9bf;align-self:start}.cps-profile-row-v1{display:grid;grid-template-columns:38% 62%;min-height:30px;border-bottom:1px solid #c2ccda;font-size:12px}.cps-profile-row-v1:last-child{border-bottom:0}.cps-profile-row-v1 label{padding:6px;background:#edf3fc;font-weight:800;border-right:1px solid #c2ccda}.cps-profile-row-v1 span{padding:6px;overflow-wrap:anywhere}.cps-profile-row-v1 input{min-width:0;width:100%;padding:5px;border:1px solid #cbd5e1;font:inherit}.cps-profile-photo-v1{display:flex;flex-direction:column;align-items:center;gap:7px}.cps-profile-photo-v1 img{width:140px;height:170px;object-fit:cover;border:4px solid #eef3fb;border-radius:10px}.cps-profile-photo-v1 small{font-size:10px;font-weight:700}.cps-profile-no-photo-v1{width:140px;height:170px;display:grid;place-items:center;border:1px dashed #94a3b8;color:#64748b}.cps-profile-footer-v1{display:grid;grid-template-columns:1fr 110px 1fr;gap:20px;align-items:end;margin-top:50px;text-align:center;font-size:11px;font-weight:700}.cps-profile-footer-v1>div:first-child span,.cps-profile-footer-v1>div:last-child span{display:block;height:30px;border-bottom:1px solid #334155;margin-bottom:6px}.cps-profile-seal-v1{width:100px;height:100px;border:2px solid #3157cf;border-radius:50%;display:grid;place-items:center;padding:10px;color:#2349b9;font-size:10px;font-weight:900;overflow-wrap:anywhere}.cps-profile-address-v1{text-align:center;border-top:1px solid #1d4ed8;padding-top:10px;margin-top:20px;font-size:10px}.cps-profile-modal-actions-v1{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:14px 20px}.cps-profile-modal-actions-v1 button{padding:10px 16px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#18356c;font-weight:800;cursor:pointer}.cps-profile-modal-actions-v1 button.primary{background:#1459d9;color:#fff;border-color:#1459d9}.cps-profile-edit-note-v1{padding:0 20px 15px;color:#8a4b0d;font-size:11px}
@media(max-width:650px){.cps-profile-paper-v1{width:calc(100% - 16px);padding:12px;min-height:auto}.cps-profile-school-v1 h1{font-size:16px}.cps-profile-body-v1{grid-template-columns:minmax(0,1fr) 100px;gap:8px}.cps-profile-photo-v1 img,.cps-profile-no-photo-v1{width:96px;height:120px}.cps-profile-row-v1{font-size:10px;grid-template-columns:42% 58%}.cps-profile-footer-v1{gap:6px;margin-top:25px;grid-template-columns:1fr 72px 1fr}.cps-profile-seal-v1{width:68px;height:68px;font-size:8px}.cps-profile-school-v1 img{width:50px;height:50px}.cps-profile-dialog-v1{max-height:98vh}}
@media print{@page{size:A4 portrait;margin:10mm}body *{visibility:hidden!important}#cpsStudentProfileModalV1,#cpsStudentProfileModalV1 *{visibility:visible!important}.cps-profile-overlay-v1{position:static!important;display:block!important;inset:auto!important;padding:0!important;background:white!important;overflow:visible!important}.cps-profile-dialog-v1{width:100%!important;max-height:none!important;overflow:visible!important;border:0!important;box-shadow:none!important;background:white!important}.cps-profile-modal-head-v1,.cps-profile-modal-actions-v1,.cps-profile-edit-note-v1{display:none!important}.cps-profile-paper-v1{width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;break-inside:avoid}.cps-profile-row-v1{break-inside:avoid}.cps-profile-school-v1 h1{font-size:20px!important}}

/* CPS_STUDENT_PROFILE_DATA_MAPPING_FIX_V2 */
.cps-profile-dialog-v2 { width:min(980px,96vw); max-height:94vh; overflow:auto; }
.cps-profile-paper-v2 { box-sizing:border-box; width:100%; max-width:190mm; min-height:250mm; margin:0 auto; padding:10mm; background:#fff; color:#111827; border:1px solid #d7deea; box-shadow:0 2px 12px rgba(15,35,70,.08); }
.cps-profile-school-v2 { display:flex; align-items:center; justify-content:center; gap:16px; text-align:center; border-bottom:2px solid #174ea6; padding-bottom:10px; margin-bottom:12px; }
.cps-profile-school-v2 h1 { margin:0 0 4px; font-size:22px; color:#102c62; }
.cps-profile-school-v2 p { margin:2px 0; font-size:11px; }
.cps-profile-school-v2 h2 { display:inline-block; margin:8px 0 0; padding:5px 22px; border-radius:18px; background:#174ea6; color:#fff; font-size:13px; }
.cps-profile-school-logo-v2 { width:72px; height:72px; object-fit:contain; }
.cps-profile-body-v2 { display:grid; grid-template-columns:minmax(0,1fr) 132px; gap:12px; align-items:start; }
.cps-profile-fields-v2 { display:grid; grid-template-columns:1fr; gap:0; }
.cps-profile-row-v2 { display:grid; grid-template-columns:minmax(120px,34%) minmax(0,1fr); border:1px solid #cbd5e1; border-bottom:0; min-height:27px; break-inside:avoid; }
.cps-profile-row-v2:last-child { border-bottom:1px solid #cbd5e1; }
.cps-profile-row-v2 label { padding:5px 7px; background:#eef3fb; font-size:10px; font-weight:700; }
.cps-profile-row-v2 span,.cps-profile-row-v2 input { min-width:0; padding:5px 7px; font-size:11px; overflow-wrap:anywhere; }
.cps-profile-row-v2 input { width:100%; border:0; outline:1px solid #c8d5e9; box-sizing:border-box; }
.cps-profile-photo-v2 { display:flex; flex-direction:column; align-items:center; gap:5px; }
.cps-profile-photo-v2 img { width:118px; height:148px; border:1px solid #9fb2ce; border-radius:6px; object-fit:cover; }
.cps-profile-no-photo-v2 { width:118px; height:148px; display:grid; place-items:center; border:1px dashed #9fb2ce; color:#64748b; font-size:11px; }
.cps-profile-photo-v2 small { font-size:9px; text-align:center; }
.cps-profile-footer-v2 { display:grid; grid-template-columns:1fr 90px 1fr; align-items:end; gap:14px; margin:26px 8px 10px; text-align:center; }
.cps-profile-footer-v2 div:not(.cps-profile-seal-v2) { padding-top:24px; border-top:1px solid #475569; font-size:10px; }
.cps-profile-seal-v2 { width:82px; height:82px; display:grid; place-items:center; border:2px solid #234f9c; border-radius:50%; color:#234f9c; font-size:9px; font-weight:700; text-align:center; overflow-wrap:anywhere; }
.cps-profile-address-v2 { border-top:1px solid #174ea6; padding-top:8px; text-align:center; font-size:9px; overflow-wrap:anywhere; }
.cps-profile-empty-v2 { padding:12px; color:#64748b; }
@media (max-width:700px) { .cps-profile-body-v2 { grid-template-columns:minmax(0,1fr) 100px; gap:8px; } .cps-profile-photo-v2 img,.cps-profile-no-photo-v2 { width:92px; height:118px; } .cps-profile-row-v2 { grid-template-columns:minmax(90px,38%) minmax(0,1fr); } }
@media print {
  @page { size:A4 portrait; margin:9mm; }
  body.cps-profile-printing-v2 > * { visibility:hidden !important; }
  body.cps-profile-printing-v2 #cpsStudentProfileModalV1,
  body.cps-profile-printing-v2 #cpsStudentProfileModalV1 * { visibility:visible !important; }
  body.cps-profile-printing-v2 #cpsStudentProfileModalV1 { position:absolute !important; inset:0 !important; width:100% !important; height:auto !important; overflow:visible !important; background:#fff !important; }
  body.cps-profile-printing-v2 .cps-profile-dialog-v2 { position:static !important; width:100% !important; max-width:none !important; max-height:none !important; overflow:visible !important; padding:0 !important; margin:0 !important; border:0 !important; box-shadow:none !important; }
  body.cps-profile-printing-v2 .cps-profile-modal-head-v1,
  body.cps-profile-printing-v2 .cps-profile-modal-actions-v2,
  body.cps-profile-printing-v2 .cps-profile-edit-note-v2 { display:none !important; }
  body.cps-profile-printing-v2 .cps-profile-paper-v2 { width:100% !important; max-width:none !important; min-height:0 !important; margin:0 !important; padding:0 !important; border:0 !important; box-shadow:none !important; }
  body.cps-profile-printing-v2 .cps-profile-row-v2 { break-inside:avoid; }
  body.cps-profile-printing-v2 .cps-profile-footer-v2 { break-inside:avoid; }
}
/* CPS_STUDENT_PROFILE_UI_FIX_V3_1: a hidden attribute must win over display:grid. */
.cps-profile-overlay-v2 .cps-profile-no-photo-v2[hidden],
.cps-profile-overlay-v2 [data-cps-profile-photo-placeholder-v2][hidden],
.cps-profile-overlay-v2 .cps-profile-photo-v2 img[hidden] {
  display: none !important;
}
/* Keep the photo stack to a single visible image or placeholder. */
.cps-profile-overlay-v2 .cps-profile-photo-v2 img:not([hidden]) {
  display: block;
}
/* CPS_STUDENT_PROFILE_ALL_FIELDS_V4 */
.cps-profile-row-v2 { break-inside: avoid; }
.cps-profile-row-v2 label, .cps-profile-row-v2 span { overflow-wrap:anywhere; word-break:normal; }
.cps-profile-paper-v2 { overflow-wrap:anywhere; }
@media print {
  .cps-profile-paper-v2 { page-break-inside:auto; }
  .cps-profile-row-v2 { page-break-inside:avoid; }
}

/* CPS_STUDENT_PROFILE_FULL_PEOPLE_DATA_V5 */
.cps-profile-dialog-v5 { width:min(1120px,96vw); }
.cps-profile-paper-v5 { max-width:190mm; min-height:250mm; }
.cps-profile-body-v5 { grid-template-columns:minmax(0,1fr) 132px; align-items:start; }
.cps-profile-fields-v5 { min-width:0; }
.cps-profile-row-v5 { display:grid; grid-template-columns:minmax(125px,32%) minmax(0,1fr); border:1px solid #cbd5e1; border-bottom:0; min-height:26px; break-inside:avoid; }
.cps-profile-row-v5:last-child { border-bottom:1px solid #cbd5e1; }
.cps-profile-row-v5 label { padding:5px 7px; background:#eef3fb; font-size:10px; font-weight:700; overflow-wrap:anywhere; }
.cps-profile-row-v5 span,.cps-profile-row-v5 input { min-width:0; box-sizing:border-box; width:100%; padding:5px 7px; font-size:10.5px; overflow-wrap:anywhere; }
.cps-profile-data-warning-v5 { margin:6px 0 10px; padding:7px 9px; border:1px solid #f3c878; background:#fff8e7; color:#7c4a03; font-size:10px; }
@media (max-width:700px) {
  .cps-profile-body-v5 { grid-template-columns:minmax(0,1fr) 100px; }
  .cps-profile-row-v5 { grid-template-columns:minmax(95px,38%) minmax(0,1fr); }
}
@media print {
  body.cps-profile-printing-v2 .cps-profile-paper-v5 { min-height:0 !important; }
  body.cps-profile-printing-v2 .cps-profile-row-v5 { break-inside:avoid; page-break-inside:avoid; }
  body.cps-profile-printing-v2 .cps-profile-data-warning-v5 { display:none !important; }
}

/* CPS_STUDENT_PROFILE_HEADER_PHOTO_SYNC_V6 */
.cps-profile-school-v6{align-items:center;gap:14px}
.cps-profile-school-v6 .cps-profile-school-copy-v6{flex:1;min-width:0;text-align:center}
.cps-profile-school-v6 .cps-profile-school-copy-v6 h1{margin:0 0 4px}
.cps-profile-school-contact-v6{display:flex;flex-wrap:wrap;justify-content:center;gap:3px 6px;margin:3px 0 8px;font-size:10px;line-height:1.4;overflow-wrap:anywhere}
.cps-profile-contact-separator-v6{opacity:.65}
.cps-profile-photo-v6{min-width:118px}
.cps-profile-photo-picker-v6{display:block;margin:8px auto 4px;font-size:10px;font-weight:600;cursor:pointer}
.cps-profile-photo-picker-v6 input{display:block;max-width:145px;width:100%;margin-top:4px;font-size:10px}
.cps-profile-photo-v6 [data-cps-profile-photo-upload-v6]{margin:3px auto;padding:5px 8px;font-size:10px;cursor:pointer}
.cps-profile-photo-v6 [data-cps-profile-photo-status-v6]{display:block;max-width:150px;overflow-wrap:anywhere;font-size:9px}
@media print{
  .cps-profile-school-v6{display:flex!important;align-items:center!important}
  .cps-profile-school-contact-v6{font-size:9pt!important}
  .cps-profile-photo-picker-v6,.cps-profile-photo-v6 [data-cps-profile-photo-upload-v6],.cps-profile-photo-v6 [data-cps-profile-photo-status-v6]{display:none!important}
  .cps-profile-address-v2{display:none!important}
  .cps-profile-row-v5,.cps-profile-row-v5 label{break-inside:avoid;page-break-inside:avoid}
}


/* CPS_INSTITUTION_STATUS_BADGE_OVER_BANNER_FIX_V1
   Keep the server-derived status pill visible when a cover/banner image is loaded.
   In particular, banner-image cards must not lose the Registered/Active/Inactive badge.
*/
.cps-inst-cover-v5 {
  position: relative !important;
  isolation: isolate;
}
.cps-inst-cover-photo-v10 {
  z-index: 0 !important;
}
.cps-inst-cover-orbit-v5,
.cps-inst-cover-school-v5 {
  z-index: 1 !important;
}
.cps-inst-cover-type-v5 {
  position: absolute !important;
  z-index: 10 !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.cps-inst-cover-v5 .cps-inst-status-v5,
.cps-inst-cover-has-photo-v10 .cps-inst-status-v5 {
  display: inline-flex !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 20 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto;
}
/* CPS_STUDENT_TABLE_VIEW_EDIT_DELETE_V1 */
.cps-people-sheet-actions-v3.cps-student-row-actions-v1{display:flex;gap:6px;align-items:center;white-space:nowrap}
.cps-student-row-actions-v1 button{min-height:32px;padding:6px 10px;border-radius:8px;font-weight:700;cursor:pointer}
.cps-student-row-actions-v1 .cps-student-view-v1{background:#eaf2ff;border:1px solid #9bbcff;color:#1249b8}
.cps-student-row-actions-v1 [data-cps-people-delete-one]{background:#fff0f0;border:1px solid #f1b1b1;color:#b42323}
.cps-student-detail-v1{display:grid;grid-template-columns:minmax(150px,220px) minmax(0,1fr);gap:18px;padding:18px}
.cps-student-detail-photo-wrap-v1{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;border:1px solid #d7e1f1;border-radius:12px;background:#f8faff}
.cps-student-detail-photo-v1{width:150px;height:180px;object-fit:cover;border-radius:10px;border:1px solid #c7d5e9;background:#eef3fa}
.cps-student-detail-initials-v1{display:none}
.cps-student-detail-photo-v1:not(.is-loaded){display:none}
.cps-student-detail-photo-v1:not(.is-loaded)+.cps-student-detail-initials-v1{display:grid;width:150px;height:180px;place-items:center;border-radius:10px;background:#dbeafe;color:#1d4ed8;font-size:30px;font-weight:800}
.cps-student-detail-photo-wrap-v1 small{font-size:12px;font-weight:600;color:#334155}
.cps-student-detail-fields-v1{min-width:0;display:grid;grid-template-columns:1fr;align-content:start}
.cps-student-detail-row-v1{display:grid;grid-template-columns:minmax(120px,34%) minmax(0,1fr);gap:10px;padding:10px;border-bottom:1px solid #dbe3ef;overflow-wrap:anywhere}
.cps-student-detail-row-v1:nth-child(odd){background:#f5f8fd}
.cps-student-detail-row-v1 b{color:#334155}
.cps-student-detail-v1>.cps-people-form-actions-v1{grid-column:1/-1;display:flex;justify-content:flex-end;gap:8px}
@media(max-width:700px){.cps-student-detail-v1{grid-template-columns:1fr}.cps-student-detail-photo-wrap-v1{max-width:220px;margin:auto;width:100%}.cps-student-detail-v1>.cps-people-form-actions-v1{grid-column:1}.cps-people-sheet-actions-v3.cps-student-row-actions-v1{flex-wrap:wrap}}


/* CPS_SMART_PHOTOGRAPHY_LAYOUT_COLOR_V1 */

/* Photography page title banner */
#modulePhotography > .module-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    margin:0 0 18px;
    padding:22px 24px;
    border:0;
    border-radius:20px;
    color:#fff;
    background:linear-gradient(115deg,#153b78 0%,#2563eb 48%,#7044c8 100%);
    box-shadow:0 12px 28px rgba(37,72,160,.20);
}
#modulePhotography > .module-heading .eyebrow {
    color:#c9eaff;
    font-weight:850;
    letter-spacing:1.5px;
}
#modulePhotography > .module-heading h2 {
    margin:5px 0 7px;
    color:#fff;
    font-size:clamp(23px,3vw,31px);
    font-weight:850;
}
#modulePhotography > .module-heading p {
    margin:0;
    max-width:720px;
    color:#e5edff;
    line-height:1.55;
}
#modulePhotography > .module-heading > .status-tag {
    padding:9px 14px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:99px;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-weight:800;
}

/* Main session container */
#modulePhotography .photo-session-card {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:18px;
    padding:20px;
    border:1px solid #d9e4fa;
    border-radius:20px;
    background:linear-gradient(180deg,#fff 0%,#f7f9ff 100%);
    box-shadow:0 10px 28px rgba(31,58,112,.08);
    min-width:0;
}
#modulePhotography .photo-session-card > .settings-grid,
#modulePhotography .photo-session-card > .photo-progress-wrap,
#modulePhotography .photo-session-card > .photo-capture-grid,
#modulePhotography .photo-session-card > .photo-review-panel,
#modulePhotography .photo-session-card > .design-note {
    grid-column:1 / -1;
    width:100%;
    min-width:0;
    box-sizing:border-box;
}

/* Institution / class / section selectors */
#modulePhotography .photo-session-card > .settings-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    padding:17px;
    border:1px solid #dbe7ff;
    border-radius:16px;
    background:linear-gradient(110deg,#eff6ff,#f5f3ff,#ecfeff);
}
#modulePhotography .settings-grid label {
    display:grid;
    gap:8px;
    color:#263b68;
    font-size:12px;
    font-weight:850;
    min-width:0;
}
#modulePhotography .settings-grid select {
    width:100%;
    min-width:0;
    min-height:43px;
    padding:9px 12px;
    border:1px solid #c7d7f5 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#1e3159 !important;
    font-size:13px;
    font-weight:650;
    box-sizing:border-box;
}

/* Progress and class workflow */
#modulePhotography .photo-progress-wrap {
    padding:16px 18px;
    border:1px solid #d7e4fb;
    border-radius:15px;
    background:#fff;
}
#modulePhotography .photo-progress-wrap .panel-title {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
#modulePhotography .photo-progress-wrap h3 {
    color:#20396d;
    font-size:17px;
    font-weight:850;
    margin:0;
}
#modulePhotography #photoProgress {
    background:#e8eaff;
    color:#5141ae;
    font-weight:850;
    padding:7px 12px;
    border-radius:99px;
}
#modulePhotography .progress-track {
    height:12px;
    margin-top:11px;
    border-radius:99px;
    background:#e5eaf5;
}
#modulePhotography .progress-fill {
    border-radius:99px;
    background:linear-gradient(90deg,#06b6d4,#2563eb,#7c3aed);
}

/* Camera + student information two-column layout */
#modulePhotography .photo-capture-grid {
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    gap:18px;
    align-items:stretch;
}
#modulePhotography .photo-current {
    width:100%;
    min-width:0;
    min-height:350px;
    aspect-ratio:4 / 3;
    align-self:start;
    border:1px solid #263b64;
    border-radius:17px;
    background:linear-gradient(145deg,#101b35,#172c50 55%,#263d69);
    box-shadow:0 10px 25px rgba(15,35,75,.17);
}
#modulePhotography .photo-camera,
#modulePhotography .photo-captured-preview {
    width:100%;
    height:100%;
    min-height:0;
    max-height:460px;
    object-fit:contain;
    background:#101827;
}
#modulePhotography .photo-camera-placeholder {
    color:#f1f5ff;
}
#modulePhotography .photo-camera-placeholder span {
    font-size:54px;
}
#modulePhotography .photo-camera-placeholder small {
    color:#c1d2ed;
    max-width:260px;
    line-height:1.5;
}

/* Current student information card */
#modulePhotography .photo-student-details {
    display:flex;
    flex-direction:column;
    gap:11px;
    min-width:0;
    padding:19px;
    border:1px solid #d7dcfb;
    border-radius:17px;
    background:linear-gradient(150deg,#f0f7ff 0%,#f5f3ff 55%,#ecfeff 100%);
    box-shadow:0 7px 20px rgba(63,75,150,.07);
}
#modulePhotography .photo-student-details > .eyebrow {
    color:#5b55bb;
    font-weight:900;
    letter-spacing:1.3px;
}
#modulePhotography .photo-student-details h3 {
    margin:0;
    color:#172f63;
    font-size:25px;
    font-weight:900;
    overflow-wrap:anywhere;
}
#modulePhotography #photoStudentMeta {
    margin:0;
    color:#536581;
    line-height:1.5;
}
#modulePhotography .photo-student-id {
    padding:11px 13px;
    border:1px solid #d9e6ff;
    border-radius:10px;
    background:#fff;
    color:#29477f;
    font-size:13px;
}
#modulePhotography #photoStudentStatus {
    padding:10px 12px;
    margin:0;
    border:1px solid #c8e8f5;
    border-radius:10px;
    background:#ecfbff;
    color:#155b78;
    line-height:1.5;
}

/* Photo quality and consent panels */
#modulePhotography .photo-quality-report {
    padding:12px 13px;
    border:1px solid #d8dff0;
    border-radius:11px;
    background:#fff;
    color:#354866;
    line-height:1.55;
}
#modulePhotography .offline-consent {
    padding:10px 12px;
    border:1px solid #dce4f4;
    border-radius:10px;
    background:rgba(255,255,255,.88);
    color:#344766;
    font-size:12px;
    line-height:1.5;
}
#modulePhotography .offline-consent input {
    accent-color:#5146c8;
    flex:0 0 auto;
}

/* Camera controls */
#modulePhotography .scanner-actions {
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin:2px 0;
}
#modulePhotography .scanner-actions button {
    min-height:40px;
    padding:9px 15px;
    border:0;
    border-radius:10px;
    background:linear-gradient(110deg,#0891b2,#2563eb);
    color:#fff;
    font-weight:800;
}

/* Aligned action buttons */
#modulePhotography .photo-action-row {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:9px;
    margin:0;
}
#modulePhotography .photo-action-row button {
    width:100%;
    min-width:0;
    min-height:40px;
    padding:9px 10px;
    border:1px solid transparent;
    border-radius:10px;
    font-size:12px;
    font-weight:850;
    line-height:1.25;
    white-space:normal;
    box-sizing:border-box;
    transition:transform .15s ease,box-shadow .15s ease;
}
#modulePhotography .photo-action-row button:hover:not(:disabled) {
    transform:translateY(-2px);
    box-shadow:0 6px 14px rgba(35,55,110,.15);
}
#modulePhotography #photoRetakeBtn {
    background:#fff4df;
    border-color:#f4d39a;
    color:#8a5100;
}
#modulePhotography #photoCaptureBtn {
    background:linear-gradient(110deg,#2563eb,#4f46e5);
    color:#fff;
}
#modulePhotography #photoSaveNextBtn {
    background:linear-gradient(110deg,#059669,#10b981);
    color:#fff;
}
#modulePhotography #photoPreviousBtn {
    background:#e9f1ff;
    border-color:#cbdcff;
    color:#24509a;
}
#modulePhotography #photoSkipBtn {
    background:#eef2f7;
    border-color:#d8e0eb;
    color:#475569;
}
#modulePhotography #photoAbsentBtn {
    background:#fff0ed;
    border-color:#ffd1c8;
    color:#b64232;
}
#modulePhotography #photoExportSessionBtn {
    background:#e6fffb;
    border-color:#b7eee5;
    color:#087b70;
}
#modulePhotography #photoClearSessionBtn,
#modulePhotography #photoClearQueueBtn {
    background:#fff0f2;
    border-color:#f9cbd3;
    color:#a72f49;
}
#modulePhotography #photoSyncQueueBtn {
    background:linear-gradient(110deg,#0e7490,#0891b2);
    color:#fff;
}
#modulePhotography .photo-action-row button:disabled {
    opacity:.48;
    cursor:not-allowed;
    box-shadow:none;
}

/* Offline queue and session summary */
#modulePhotography #photoOfflineWarning {
    padding:12px 14px;
    margin:0;
    border:1px solid #f1d49a;
    border-radius:11px;
    background:#fff9eb;
    color:#805519;
    font-size:12px;
    line-height:1.6;
}
#modulePhotography #photoSessionSummary {
    padding:12px 14px;
    margin:0;
    border:1px solid #d1e5fb;
    border-radius:11px;
    background:#eff7ff;
    color:#24517f;
    font-weight:650;
    line-height:1.55;
}

/* Photo review queue */
#modulePhotography .photo-review-panel {
    margin:0;
    padding:19px;
    border:1px solid #d8e3f6;
    border-radius:17px;
    background:linear-gradient(150deg,#fff,#f4f7ff);
    box-shadow:0 7px 20px rgba(37,65,125,.06);
}
#modulePhotography .photo-review-panel .panel-title {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
#modulePhotography .photo-review-panel h3 {
    margin:0;
    color:#203b75;
    font-size:19px;
    font-weight:900;
}
#modulePhotography #photoReviewCount {
    padding:7px 12px;
    border-radius:99px;
    background:#e9e8ff;
    color:#5141ae;
    font-weight:850;
}
#modulePhotography .photo-review-controls {
    display:grid;
    grid-template-columns:minmax(0,2fr) minmax(180px,1fr);
    gap:13px;
    margin:15px 0;
}
#modulePhotography .photo-review-controls label {
    display:grid;
    gap:7px;
    color:#354b72;
    font-size:12px;
    font-weight:800;
}
#modulePhotography .photo-review-controls input,
#modulePhotography .photo-review-controls select {
    width:100%;
    min-width:0;
    min-height:41px;
    padding:9px 12px;
    border:1px solid #cbd9f1 !important;
    border-radius:10px !important;
    background:#fff !important;
    color:#203453 !important;
    box-sizing:border-box;
}
#modulePhotography .photo-review-list {
    max-height:460px;
    padding:3px;
}
#modulePhotography .photo-review-row {
    border-color:#dce5f4;
    border-radius:11px;
    background:#fff;
}
#modulePhotography .photo-review-row.current {
    border-color:#7486e8;
    background:#f1f2ff;
}

/* Help text below the review queue */
#modulePhotography .photo-session-card > .design-note {
    padding:12px 14px;
    border:1px solid #e0e6f0;
    border-radius:11px;
    background:#f6f8fc;
    color:#58677e;
    font-size:11px;
    line-height:1.65;
}

/* Tablet and mobile layouts */
@media(max-width:900px) {
    #modulePhotography .photo-capture-grid {
        grid-template-columns:minmax(0,1fr);
    }
    #modulePhotography .photo-current {
        max-width:100%;
        min-height:300px;
    }
}
@media(max-width:760px) {
    #modulePhotography > .module-heading {
        padding:18px;
        border-radius:15px;
    }
    #modulePhotography .photo-session-card {
        padding:12px;
        gap:13px;
        border-radius:15px;
    }
    #modulePhotography .photo-session-card > .settings-grid {
        grid-template-columns:minmax(0,1fr);
        gap:11px;
        padding:13px;
    }
    #modulePhotography .photo-current {
        min-height:250px;
        aspect-ratio:4 / 3;
    }
    #modulePhotography .photo-camera,
    #modulePhotography .photo-captured-preview {
        min-height:0;
        max-height:360px;
    }
    #modulePhotography .photo-student-details {
        padding:14px;
    }
    #modulePhotography .photo-action-row {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #modulePhotography .photo-review-controls {
        grid-template-columns:minmax(0,1fr);
    }
}
@media(max-width:420px) {
    #modulePhotography .photo-action-row button {
        font-size:11px;
        padding:9px 7px;
    }
    #modulePhotography .photo-review-panel {
        padding:12px;
    }
}
/* END CPS_SMART_PHOTOGRAPHY_LAYOUT_COLOR_V1 */


/* CPS_SMART_PHOTOGRAPHY_ADVANCED_V2 */

/* Balanced studio workspace */
#modulePhotography .photo-session-card {
    gap:20px;
    padding:22px;
    background:linear-gradient(145deg,#ffffff,#f5f8ff);
    border:1px solid #d7e3fa;
    box-shadow:0 14px 34px rgba(30,64,130,.09);
}
#modulePhotography .photo-capture-grid {
    grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
    gap:20px;
    align-items:stretch;
}
#modulePhotography .photo-current {
    min-height:320px;
    aspect-ratio:4 / 3;
    border:1px solid #304b7d;
    box-shadow:0 12px 26px rgba(16,35,75,.18);
}
#modulePhotography .photo-student-details {
    min-width:0;
    padding:20px;
    border:1px solid #d4ddf8;
    border-radius:18px;
    background:linear-gradient(150deg,#eef6ff 0%,#f4f0ff 55%,#edfcff 100%);
    box-shadow:0 9px 22px rgba(63,75,150,.08);
}

/* Stronger student identity hierarchy */
#modulePhotography .photo-student-details h3 {
    font-size:clamp(22px,2vw,28px);
    line-height:1.2;
    color:#18356c;
}
#modulePhotography .photo-student-id {
    font-size:14px;
    font-weight:800;
    padding:13px 15px;
    background:linear-gradient(100deg,#fff,#f2f7ff);
    border-color:#cbdcff;
}

/* Consistent action rows */
#modulePhotography .photo-action-row {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    align-items:stretch;
}
#modulePhotography .photo-action-row button {
    min-height:44px;
    font-size:12px;
    letter-spacing:.1px;
    border-radius:11px;
    box-shadow:0 2px 5px rgba(30,50,90,.05);
}

/* Session/export row: two balanced actions */
#modulePhotography .photo-action-row:has(#photoExportSessionBtn) {
    grid-template-columns:repeat(2,minmax(0,1fr));
}

/* Offline consent must never be squeezed into a narrow column */
#modulePhotography .photo-action-row:has(#photoOfflineConsent) {
    grid-template-columns:repeat(2,minmax(0,1fr));
    padding:12px;
    border:1px solid #d9e5f8;
    border-radius:13px;
    background:linear-gradient(110deg,#f0f7ff,#f6f2ff);
}
#modulePhotography .photo-action-row:has(#photoOfflineConsent) > label {
    grid-column:1 / -1;
    width:100%;
    min-width:0;
    box-sizing:border-box;
    display:flex;
    align-items:flex-start;
    gap:10px;
    padding:10px 12px;
    border:1px solid #dce5f5;
    border-radius:10px;
    background:#fff;
}
#modulePhotography .photo-action-row:has(#photoOfflineConsent) > button {
    width:100%;
    min-width:0;
}

/* Clearer review workspace */
#modulePhotography .photo-review-panel {
    padding:22px;
    border-radius:18px;
    box-shadow:0 10px 26px rgba(30,64,130,.07);
}
#modulePhotography .photo-review-controls {
    grid-template-columns:minmax(0,2fr) minmax(190px,1fr);
    gap:15px;
}
#modulePhotography .photo-review-row {
    padding:13px 15px;
    border-radius:12px;
    transition:background .15s ease,border-color .15s ease;
}
#modulePhotography .photo-review-row:hover {
    border-color:#9aabed;
    background:#f4f6ff;
}

/* Better vertical rhythm and focus visibility */
#modulePhotography button:focus-visible,
#modulePhotography input:focus-visible,
#modulePhotography select:focus-visible {
    outline:3px solid rgba(59,130,246,.35);
    outline-offset:2px;
}
#modulePhotography .photo-progress-wrap {
    padding:18px 20px;
    border-radius:16px;
}
#modulePhotography .photo-progress-wrap .progress-track {
    height:13px;
}
#modulePhotography #photoOfflineWarning {
    border-left:4px solid #e5a12a;
}

/* Responsive tablet */
@media(max-width:1000px) {
    #modulePhotography .photo-capture-grid {
        grid-template-columns:minmax(0,1fr);
    }
    #modulePhotography .photo-current {
        min-height:300px;
        max-height:420px;
    }
}

/* Responsive mobile */
@media(max-width:640px) {
    #modulePhotography .photo-session-card {
        padding:12px;
        gap:14px;
    }
    #modulePhotography .photo-student-details {
        padding:14px;
    }
    #modulePhotography .photo-action-row {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }
    #modulePhotography .photo-action-row:has(#photoExportSessionBtn),
    #modulePhotography .photo-action-row:has(#photoOfflineConsent) {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #modulePhotography .photo-review-panel {
        padding:13px;
    }
    #modulePhotography .photo-review-controls {
        grid-template-columns:minmax(0,1fr);
    }
}
@media(max-width:380px) {
    #modulePhotography .photo-action-row {
        grid-template-columns:minmax(0,1fr);
    }
    #modulePhotography .photo-action-row:has(#photoOfflineConsent) {
        grid-template-columns:minmax(0,1fr);
    }
    #modulePhotography .photo-action-row:has(#photoOfflineConsent) > label {
        grid-column:1;
    }
}

/* END CPS_SMART_PHOTOGRAPHY_ADVANCED_V2 */


/* CPS_PHOTO_CONSENT_ALIGNMENT_FIX_V3 */

/* Correct the two consent labels inside student details */
#modulePhotography .photo-student-details > label.offline-consent:not(.hidden) {
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    align-items:start !important;
    justify-content:stretch !important;
    gap:10px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    height:auto !important;
    margin:0 !important;
    padding:13px 15px !important;
    box-sizing:border-box !important;
    border:1px solid #d6e2f5 !important;
    border-radius:12px !important;
    background:linear-gradient(110deg,#f0f7ff,#f5f2ff) !important;
    color:#263e67 !important;
    font-size:13px !important;
    font-weight:650 !important;
    line-height:1.5 !important;
    white-space:normal !important;
    overflow:visible !important;
}
#modulePhotography .photo-student-details > label.offline-consent:not(.hidden) input[type="checkbox"] {
    display:block !important;
    width:18px !important;
    height:18px !important;
    min-width:18px !important;
    margin:2px 0 0 !important;
    padding:0 !important;
    justify-self:start !important;
    align-self:start !important;
    accent-color:#5146c8;
}
#modulePhotography .photo-student-details > label.offline-consent:not(.hidden) input[type="checkbox"] + * {
    min-width:0;
}

/* Keep camera and student panel within their grid columns */
#modulePhotography .photo-capture-grid,
#modulePhotography .photo-student-details,
#modulePhotography .photo-current {
    min-width:0 !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}
#modulePhotography .photo-student-details > * {
    max-width:100%;
    box-sizing:border-box;
}
#modulePhotography .photo-student-details p,
#modulePhotography .photo-student-details label {
    overflow-wrap:anywhere;
}

/* Offline queue consent: readable full-width row */
#modulePhotography .photo-action-row > label.offline-consent {
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    align-items:start !important;
    width:100% !important;
    min-width:0 !important;
    height:auto !important;
    box-sizing:border-box !important;
    white-space:normal !important;
    line-height:1.5 !important;
}
#modulePhotography .photo-action-row > label.offline-consent input[type="checkbox"] {
    width:18px !important;
    height:18px !important;
    margin:2px 0 0 !important;
    justify-self:start !important;
}

/* END CPS_PHOTO_CONSENT_ALIGNMENT_FIX_V3 */

/* CPS_SMART_CAMERA_STUDIO_V3 */

#modulePhotography .cps-photo-camera-studio {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:minmax(190px,1.35fr) minmax(155px,1fr) minmax(125px,.7fr) minmax(240px,1.5fr);
    align-items:end;
    gap:11px;
    padding:15px;
    border:1px solid #cfddf4;
    border-radius:15px;
    background:linear-gradient(115deg,#edf6ff,#f2efff,#ecfbff);
    box-shadow:0 6px 17px rgba(47,74,140,.07);
    min-width:0;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-camera-studio label {
    display:grid;
    gap:7px;
    min-width:0;
    color:#2b426e;
    font-size:11px;
    font-weight:850;
}

#modulePhotography .cps-photo-camera-studio select {
    width:100%;
    min-width:0;
    min-height:39px;
    padding:8px 10px;
    border:1px solid #c6d6f1;
    border-radius:9px;
    background:#fff;
    color:#243d68;
    font-size:12px;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-camera-actions {
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
    min-width:0;
}

#modulePhotography .cps-photo-camera-actions button {
    min-height:38px;
    flex:1 1 auto;
    padding:8px 10px;
    border:1px solid #c9d6f1;
    border-radius:9px;
    background:#fff;
    color:#304b7c;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
}

#modulePhotography .cps-photo-camera-actions .cps-photo-apply {
    border-color:transparent;
    background:linear-gradient(110deg,#2563eb,#6545c6);
    color:#fff;
}

#modulePhotography #cpsPhotoCameraInfoV3 {
    grid-column:1 / -1;
    margin:0;
    color:#50648b;
    font-size:11px;
    line-height:1.5;
}

#modulePhotography .photo-current {
    position:relative;
    overflow:hidden;
}

#modulePhotography .cps-photo-portrait-guide {
    display:none;
    position:absolute;
    z-index:4;
    inset:0;
    align-items:center;
    justify-content:center;
    pointer-events:none;
}

#modulePhotography .cps-photo-portrait-guide.is-on {
    display:flex;
}

#modulePhotography .photo-captured-preview:not(.hidden) ~ .cps-photo-portrait-guide {
    display:none !important;
}

#modulePhotography .cps-photo-guide-frame {
    position:relative;
    width:min(62%,340px);
    aspect-ratio:4 / 5;
    border:2px dashed rgba(255,255,255,.95);
    border-radius:22% 22% 13% 13%;
    box-shadow:0 0 0 999px rgba(7,17,38,.24);
}

#modulePhotography .cps-photo-guide-frame:before,
#modulePhotography .cps-photo-guide-frame:after {
    content:"";
    position:absolute;
    left:0;
    right:0;
    border-top:1px solid rgba(255,255,255,.55);
}

#modulePhotography .cps-photo-guide-frame:before { top:33.33%; }
#modulePhotography .cps-photo-guide-frame:after { top:66.66%; }

#modulePhotography .cps-photo-guide-head {
    position:absolute;
    left:50%;
    top:17%;
    width:27%;
    height:24%;
    transform:translateX(-50%);
    border:1px solid rgba(255,255,255,.85);
    border-radius:50%;
}

#modulePhotography .cps-photo-guide-shoulders {
    position:absolute;
    left:22%;
    right:22%;
    bottom:14%;
    height:28%;
    border:1px solid rgba(255,255,255,.85);
    border-radius:50% 50% 12% 12%;
}

#modulePhotography .cps-photo-guide-frame span {
    position:absolute;
    left:0;
    right:0;
    bottom:-27px;
    color:#fff;
    text-align:center;
    font-size:9px;
    font-weight:900;
    letter-spacing:1px;
    text-shadow:0 1px 4px #000;
}

#modulePhotography .cps-photo-countdown {
    display:none;
    position:absolute;
    z-index:8;
    inset:0;
    align-items:center;
    justify-content:center;
    background:rgba(8,20,46,.40);
    color:#fff;
    font-size:clamp(58px,10vw,100px);
    font-weight:950;
    text-shadow:0 5px 25px rgba(0,0,0,.45);
    pointer-events:none;
}

#modulePhotography .cps-photo-countdown:not(.hidden) {
    display:flex;
}

@media(max-width:1050px) {
    #modulePhotography .cps-photo-camera-studio {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #modulePhotography .cps-photo-camera-actions {
        grid-column:1 / -1;
    }
}

@media(max-width:640px) {
    #modulePhotography .cps-photo-camera-studio {
        grid-template-columns:minmax(0,1fr);
        padding:12px;
    }
    #modulePhotography .cps-photo-camera-actions {
        grid-column:1;
    }
    #modulePhotography .cps-photo-camera-actions button {
        min-width:0;
    }
    #modulePhotography .cps-photo-guide-frame {
        width:min(66%,280px);
    }
}

/* END CPS_SMART_CAMERA_STUDIO_V3 */


/* CPS_SMART_PHOTOGRAPHY_AUTOMATION_V4 */

#modulePhotography .cps-photo-automation-panel-v4 {
    display:grid;
    gap:16px;
    margin:16px 0;
    padding:18px;
    border:1px solid #d4def3;
    border-radius:17px;
    background:linear-gradient(135deg,#f7faff,#f5f2ff,#f0fbff);
    box-shadow:0 7px 20px rgba(34,65,125,.07);
    min-width:0;
}

#modulePhotography .cps-photo-v4-heading {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}

#modulePhotography .cps-photo-v4-heading h3 {
    margin:4px 0;
    color:#1f3768;
    font-size:18px;
}

#modulePhotography .cps-photo-v4-heading p,
#modulePhotography .cps-photo-v4-hint {
    margin:4px 0 0;
    color:#62708d;
    font-size:11px;
    line-height:1.6;
}

#modulePhotography .cps-photo-v4-version {
    padding:7px 11px;
    border-radius:20px;
    background:#e7eaff;
    color:#5043a8;
    font-size:10px;
    font-weight:900;
    letter-spacing:.6px;
}

#modulePhotography .cps-photo-v4-section {
    display:grid;
    gap:9px;
    padding:14px;
    border:1px solid #e0e7f5;
    border-radius:13px;
    background:rgba(255,255,255,.86);
    min-width:0;
}

#modulePhotography .cps-photo-v4-section h4 {
    margin:0;
    color:#243d70;
    font-size:13px;
}

#modulePhotography .cps-photo-v4-section p[role="status"] {
    margin:0;
    color:#50648a;
    font-size:11px;
    line-height:1.6;
    overflow-wrap:anywhere;
}

#modulePhotography .cps-photo-v4-actions {
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
    min-width:0;
}

#modulePhotography .cps-photo-v4-actions button,
#modulePhotography .cps-photo-v4-picker {
    min-height:39px;
    padding:9px 13px;
    border:1px solid #cdd9f0;
    border-radius:9px;
    background:#fff;
    color:#304a7b;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
}

#modulePhotography #cpsPhotoAutoCaptureV4 {
    border-color:transparent;
    background:linear-gradient(110deg,#2563eb,#7046c8);
    color:#fff;
}

#modulePhotography .cps-photo-v4-actions input[type="text"] {
    flex:1 1 220px;
    min-width:150px;
    min-height:39px;
    padding:9px 11px;
    border:1px solid #d2def1;
    border-radius:9px;
    background:#fff;
    color:#23385e;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-v4-picker {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    max-width:100%;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-v4-picker input {
    display:none;
}

#modulePhotography #cpsPhotoBulkUploadV4:disabled {
    opacity:.5;
    cursor:not-allowed;
}

#modulePhotography .cps-photo-v4-kpis {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:9px;
}

#modulePhotography .cps-photo-v4-kpis > div {
    display:grid;
    gap:5px;
    align-content:center;
    min-height:65px;
    padding:10px;
    border:1px solid #e0e7f5;
    border-radius:11px;
    background:#f9fbff;
    text-align:center;
    min-width:0;
}

#modulePhotography .cps-photo-v4-kpis strong {
    color:#283f77;
    font-size:21px;
    font-weight:950;
    overflow-wrap:anywhere;
}

#modulePhotography .cps-photo-v4-kpis span {
    color:#667492;
    font-size:10px;
    font-weight:800;
}

#modulePhotography .cps-photo-v4-progress {
    height:9px;
    overflow:hidden;
    border-radius:20px;
    background:#e8edf7;
}

#modulePhotography .cps-photo-v4-progress span {
    display:block;
    width:0;
    height:100%;
    border-radius:20px;
    background:linear-gradient(90deg,#2777e8,#7950d5,#19a9c9);
    transition:width .2s ease;
}

@media(max-width:760px) {
    #modulePhotography .cps-photo-v4-kpis {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:480px) {
    #modulePhotography .cps-photo-automation-panel-v4 {
        padding:12px;
    }

    #modulePhotography .cps-photo-v4-section {
        padding:11px;
    }

    #modulePhotography .cps-photo-v4-kpis {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    #modulePhotography .cps-photo-v4-actions {
        align-items:stretch;
    }

    #modulePhotography .cps-photo-v4-actions button,
    #modulePhotography .cps-photo-v4-picker {
        width:100%;
        box-sizing:border-box;
    }
}

/* END CPS_SMART_PHOTOGRAPHY_AUTOMATION_V4 */


/* CPS_SMART_PHOTO_STUDIO_V5_V8 */

#modulePhotography .cps-photo-studio-v5 {
    display:grid;
    gap:15px;
    margin-top:16px;
    padding:18px;
    border:1px solid #d6def0;
    border-radius:17px;
    background:linear-gradient(135deg,#f7faff,#f5f2ff,#effaff);
    box-shadow:0 7px 20px rgba(34,65,125,.06);
    min-width:0;
}

#modulePhotography .cps-photo-studio-heading-v5 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
}

#modulePhotography .cps-photo-studio-heading-v5 h3 {
    margin:4px 0;
    color:#203969;
    font-size:18px;
}

#modulePhotography .cps-photo-studio-heading-v5 p {
    margin:4px 0;
    color:#62708d;
    font-size:12px;
}

#modulePhotography .cps-photo-studio-tag-v5 {
    padding:7px 12px;
    border-radius:20px;
    background:#e8eaff;
    color:#5145a4;
    font-size:10px;
    font-weight:900;
}

#modulePhotography .cps-photo-studio-section-v5 {
    display:grid;
    gap:11px;
    padding:14px;
    border:1px solid #e0e6f2;
    border-radius:13px;
    background:#fff;
    min-width:0;
}

#modulePhotography .cps-photo-studio-section-v5 h4 {
    margin:0;
    color:#253e70;
    font-size:14px;
}

#modulePhotography .cps-photo-edit-grid-v5 {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}

#modulePhotography .cps-photo-edit-grid-v5 label,
#modulePhotography .cps-photo-studio-section-v5 > label:not(.cps-photo-consent-v5) {
    display:grid;
    gap:7px;
    min-width:0;
    color:#425779;
    font-size:11px;
    font-weight:800;
}

#modulePhotography .cps-photo-edit-grid-v5 input[type="range"] {
    width:100%;
    accent-color:#5b57ca;
}

#modulePhotography .cps-photo-edit-grid-v5 output {
    color:#6253b5;
    font-size:11px;
    font-weight:900;
}

#modulePhotography .cps-photo-studio-section-v5 select {
    width:100%;
    min-height:39px;
    padding:8px 10px;
    border:1px solid #d4ddef;
    border-radius:9px;
    background:#fff;
    color:#29436d;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-studio-actions-v5 {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

#modulePhotography .cps-photo-studio-actions-v5 button,
#modulePhotography #cpsPhotoPassportPrintV5,
#modulePhotography #cpsPhotoDesignerExportV5 {
    min-height:38px;
    padding:9px 13px;
    border:1px solid #cbd6ed;
    border-radius:9px;
    background:#fff;
    color:#344c78;
    font-size:11px;
    font-weight:850;
    cursor:pointer;
}

#modulePhotography #cpsPhotoApplyEditV5,
#modulePhotography #cpsPhotoPassportPrintV5,
#modulePhotography #cpsPhotoDesignerExportV5 {
    border-color:transparent;
    background:linear-gradient(110deg,#2563eb,#6747c8);
    color:#fff;
}

#modulePhotography .cps-photo-studio-section-v5 button:disabled {
    opacity:.48;
    cursor:not-allowed;
}

#modulePhotography .cps-photo-consent-v5 {
    display:flex;
    align-items:flex-start;
    gap:9px;
    color:#465b7d;
    font-size:11px;
    line-height:1.5;
}

#modulePhotography .cps-photo-v5-warning {
    margin:0;
    color:#8a5a18;
    font-size:10px;
    line-height:1.5;
}

#modulePhotography #cpsPhotoEditStatusV5,
#modulePhotography #cpsPhotoPassportStatusV5,
#modulePhotography #cpsPhotoHistoryStatusV5,
#modulePhotography #cpsPhotoDesignerStatusV5 {
    margin:0;
    color:#61718d;
    font-size:11px;
    line-height:1.55;
    overflow-wrap:anywhere;
}

@media(max-width:700px) {
    #modulePhotography .cps-photo-edit-grid-v5 {
        grid-template-columns:minmax(0,1fr);
    }
    #modulePhotography .cps-photo-studio-v5 {
        padding:12px;
    }
    #modulePhotography .cps-photo-studio-section-v5 {
        padding:11px;
    }
    #modulePhotography .cps-photo-studio-actions-v5 button,
    #modulePhotography #cpsPhotoPassportPrintV5,
    #modulePhotography #cpsPhotoDesignerExportV5 {
        width:100%;
    }
}

/* END CPS_SMART_PHOTO_STUDIO_V5_V8 */


/* CPS_SMART_PHOTOGRAPHY_COLORFUL_LAYOUT_V1 */

/* Main automation dashboard */
#modulePhotography .cps-photo-automation-panel-v4 {
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:16px;
    padding:20px;
    border:1px solid #cbd9f3;
    border-radius:20px;
    background:
      radial-gradient(ellipse at 5% 0%,rgba(88,148,255,.13),transparent 35%),
      radial-gradient(ellipse at 100% 100%,rgba(166,105,255,.12),transparent 38%),
      linear-gradient(135deg,#f7faff,#f7f5ff 55%,#f1fbff);
    box-shadow:0 12px 32px rgba(43,69,125,.09);
}

#modulePhotography .cps-photo-v4-heading {
    grid-column:1/-1;
    padding:5px 3px 12px;
    border-bottom:1px solid #dce5f5;
}

#modulePhotography .cps-photo-v4-heading h3 {
    color:#283d83;
    font-size:21px;
    letter-spacing:-.35px;
}

#modulePhotography .cps-photo-v4-heading .eyebrow {
    color:#7352c7;
    font-weight:950;
    letter-spacing:1.3px;
}

#modulePhotography .cps-photo-v4-version {
    padding:8px 14px;
    border-radius:30px;
    background:linear-gradient(110deg,#2563eb,#7650d5,#a34fc2);
    color:#fff;
    font-size:10px;
    font-weight:950;
    box-shadow:0 5px 13px rgba(91,79,190,.2);
}

/* V4 feature cards */
#modulePhotography .cps-photo-v4-section {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    height:100%;
    padding:17px;
    border:1px solid #dce5f4;
    border-radius:16px;
    background:rgba(255,255,255,.94);
    box-shadow:0 5px 17px rgba(39,63,112,.055);
    transition:transform .18s ease,box-shadow .18s ease;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-v4-section:hover {
    transform:translateY(-2px);
    box-shadow:0 10px 23px rgba(39,63,112,.10);
}

#modulePhotography .cps-photo-v4-section h4 {
    margin:0;
    color:#293f79;
    font-size:14px;
    font-weight:950;
}

#modulePhotography .cps-photo-v4-section:nth-of-type(2) {
    border-top:4px solid #3981ed;
    background:linear-gradient(145deg,#f0f6ff,#fff 65%);
}

#modulePhotography .cps-photo-v4-section:nth-of-type(3) {
    border-top:4px solid #13a99a;
    background:linear-gradient(145deg,#edfffb,#fff 65%);
}

#modulePhotography .cps-photo-v4-section:nth-of-type(4) {
    border-top:4px solid #9160d9;
    background:linear-gradient(145deg,#f7f1ff,#fff 65%);
}

#modulePhotography .cps-photo-v4-section:nth-of-type(5) {
    border-top:4px solid #e2a33d;
    background:linear-gradient(145deg,#fff9ed,#fff 65%);
}

/* Feature buttons and controls */
#modulePhotography .cps-photo-v4-actions {
    display:flex;
    align-items:center;
    gap:9px;
    flex-wrap:wrap;
}

#modulePhotography .cps-photo-v4-actions button,
#modulePhotography .cps-photo-v4-actions input,
#modulePhotography .cps-photo-v4-picker {
    min-height:40px;
    border-radius:10px;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-v4-actions button {
    padding:9px 14px;
    border:0;
    background:linear-gradient(110deg,#3478e8,#6653cf);
    color:#fff;
    font-size:11px;
    font-weight:900;
    cursor:pointer;
    box-shadow:0 4px 10px rgba(67,91,183,.15);
    transition:filter .16s ease,transform .16s ease;
}

#modulePhotography .cps-photo-v4-section:nth-of-type(3) .cps-photo-v4-actions button {
    background:linear-gradient(110deg,#0e9f91,#20b8b0);
}

#modulePhotography .cps-photo-v4-section:nth-of-type(4) .cps-photo-v4-actions button {
    background:linear-gradient(110deg,#8051ce,#a054c9);
}

#modulePhotography .cps-photo-v4-actions button:hover {
    filter:brightness(1.07);
    transform:translateY(-1px);
}

#modulePhotography .cps-photo-v4-actions button:disabled {
    opacity:.45;
    cursor:not-allowed;
    transform:none;
}

#modulePhotography .cps-photo-v4-actions input[type="text"] {
    flex:1 1 180px;
    min-width:0;
    padding:9px 12px;
    border:1px solid #d2ddef;
    background:#fff;
    color:#263d66;
}

#modulePhotography .cps-photo-v4-section p {
    line-height:1.6;
}

#modulePhotography .cps-photo-v4-section [role="status"] {
    overflow-wrap:anywhere;
}

/* Session KPIs */
#modulePhotography .cps-photo-v4-kpis {
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:8px;
}

#modulePhotography .cps-photo-v4-kpis > div {
    display:grid;
    justify-items:center;
    gap:5px;
    padding:12px 5px;
    border:1px solid #e0e7f3;
    border-radius:12px;
    background:linear-gradient(145deg,#fff,#f5f7ff);
}

#modulePhotography .cps-photo-v4-kpis strong {
    color:#3454aa;
    font-size:21px;
    font-weight:950;
}

#modulePhotography .cps-photo-v4-kpis span {
    color:#65738e;
    font-size:10px;
    font-weight:850;
}

/* V5-V8 nested studio layout */
#modulePhotography .cps-photo-automation-panel-v4 > .cps-photo-studio-v5 {
    grid-column:1/-1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px;
    margin-top:5px;
    padding:19px;
    border:1px solid #d3dafa;
    border-radius:18px;
    background:
      radial-gradient(ellipse at 100% 0%,rgba(160,111,255,.13),transparent 35%),
      linear-gradient(135deg,#f5f8ff,#f9f4ff,#f1fbff);
    box-shadow:0 8px 23px rgba(56,62,128,.07);
}

#modulePhotography .cps-photo-studio-heading-v5 {
    grid-column:1/-1;
    padding:4px 3px 13px;
    border-bottom:1px solid #dce3f4;
}

#modulePhotography .cps-photo-studio-heading-v5 h3 {
    color:#293d84;
    font-size:21px;
}

#modulePhotography .cps-photo-studio-tag-v5 {
    background:linear-gradient(110deg,#604be0,#a34bc1);
    color:#fff;
    box-shadow:0 4px 12px rgba(106,72,186,.2);
}

#modulePhotography .cps-photo-studio-section-v5 {
    align-content:start;
    gap:13px;
    padding:17px;
    border:1px solid #dfe5f2;
    border-top:4px solid #4483e9;
    border-radius:15px;
    background:linear-gradient(145deg,#fff,#f4f8ff);
    box-shadow:0 5px 15px rgba(42,65,119,.05);
    min-width:0;
}

#modulePhotography .cps-photo-studio-section-v5:nth-of-type(3) {
    border-top-color:#19a995;
    background:linear-gradient(145deg,#f0fffb,#fff);
}

#modulePhotography .cps-photo-studio-section-v5:nth-of-type(4) {
    border-top-color:#9660d6;
    background:linear-gradient(145deg,#f8f2ff,#fff);
}

#modulePhotography .cps-photo-studio-section-v5:nth-of-type(5) {
    border-top-color:#e2a23b;
    background:linear-gradient(145deg,#fff9ed,#fff);
}

#modulePhotography .cps-photo-studio-section-v5 h4 {
    color:#2d4480;
    font-size:14px;
    font-weight:950;
}

#modulePhotography .cps-photo-studio-section-v5 select,
#modulePhotography .cps-photo-studio-section-v5 input:not([type="checkbox"]):not([type="range"]) {
    width:100%;
    min-height:40px;
    padding:9px 11px;
    border:1px solid #d3ddef;
    border-radius:10px;
    background:#fff;
    color:#29436d;
    box-sizing:border-box;
}

#modulePhotography .cps-photo-studio-section-v5 input[type="range"] {
    accent-color:#7654cf;
}

#modulePhotography .cps-photo-studio-section-v5 button {
    min-height:40px;
    border-radius:10px;
    transition:filter .16s ease,transform .16s ease;
}

#modulePhotography .cps-photo-studio-section-v5 button:hover:not(:disabled) {
    filter:brightness(1.06);
    transform:translateY(-1px);
}

#modulePhotography .cps-photo-studio-section-v5 button:disabled {
    opacity:.45;
    cursor:not-allowed;
}

/* Editing and quality status */
#modulePhotography #cpsPhotoEditStatusV5,
#modulePhotography #cpsPhotoPassportStatusV5,
#modulePhotography #cpsPhotoHistoryStatusV5,
#modulePhotography #cpsPhotoDesignerStatusV5 {
    padding:9px 11px;
    border-radius:9px;
    background:rgba(238,243,255,.8);
    color:#4d6188;
}

/* Keep original camera controls aligned */
#modulePhotography .cps-photo-camera-studio {
    border:1px solid #c9d8f5;
    border-radius:16px;
    box-shadow:0 8px 20px rgba(45,69,125,.08);
}

/* Responsive tablet */
@media(max-width:900px) {
    #modulePhotography .cps-photo-v4-kpis {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

/* Responsive mobile */
@media(max-width:700px) {
    #modulePhotography .cps-photo-automation-panel-v4,
    #modulePhotography .cps-photo-automation-panel-v4 > .cps-photo-studio-v5 {
        grid-template-columns:minmax(0,1fr);
        padding:13px;
        gap:12px;
    }

    #modulePhotography .cps-photo-v4-heading,
    #modulePhotography .cps-photo-studio-heading-v5,
    #modulePhotography .cps-photo-automation-panel-v4 > .cps-photo-studio-v5 {
        grid-column:1;
    }

    #modulePhotography .cps-photo-v4-section,
    #modulePhotography .cps-photo-studio-section-v5 {
        padding:13px;
    }

    #modulePhotography .cps-photo-v4-actions {
        align-items:stretch;
    }

    #modulePhotography .cps-photo-v4-actions button {
        flex:1 1 135px;
    }

    #modulePhotography .cps-photo-v4-kpis {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    #modulePhotography .cps-photo-studio-actions-v5 {
        display:grid;
        grid-template-columns:1fr;
    }

    #modulePhotography .cps-photo-studio-actions-v5 button {
        width:100%;
    }
}

/* Keyboard focus */
#modulePhotography .cps-photo-automation-panel-v4 button:focus-visible,
#modulePhotography .cps-photo-studio-v5 button:focus-visible,
#modulePhotography .cps-photo-studio-v5 select:focus-visible {
    outline:3px solid rgba(87,111,230,.35);
    outline-offset:2px;
}

/* END CPS_SMART_PHOTOGRAPHY_COLORFUL_LAYOUT_V1 */


/* CPS_SMART_PHOTO_PREMIUM_LAYOUT_V2 */

/* Sticky section navigation */
#modulePhotography .cps-photo-layout-nav-v2 {
    position:sticky;
    top:76px;
    z-index:30;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:13px 0 19px;
    padding:11px;
    border:1px solid #d5dcf6;
    border-radius:16px;
    background:rgba(249,250,255,.96);
    box-shadow:0 8px 22px rgba(39,57,111,.09);
    backdrop-filter:blur(12px);
}

#modulePhotography .cps-photo-layout-nav-v2 button {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:0;
    min-height:46px;
    padding:9px 12px;
    border:1px solid #dce3f3;
    border-radius:11px;
    background:#fff;
    color:#34466e;
    font-size:12px;
    font-weight:900;
    cursor:pointer;
    transition:transform .16s ease,box-shadow .16s ease;
}

#modulePhotography .cps-photo-layout-nav-v2 button:nth-child(1) {
    border-color:#c6d9ff;
    background:linear-gradient(120deg,#edf5ff,#fff);
}
#modulePhotography .cps-photo-layout-nav-v2 button:nth-child(2) {
    border-color:#c7eee7;
    background:linear-gradient(120deg,#eafffa,#fff);
}
#modulePhotography .cps-photo-layout-nav-v2 button:nth-child(3) {
    border-color:#e4d4fb;
    background:linear-gradient(120deg,#f5edff,#fff);
}
#modulePhotography .cps-photo-layout-nav-v2 button:nth-child(4) {
    border-color:#f4dfbc;
    background:linear-gradient(120deg,#fff6e8,#fff);
}
#modulePhotography .cps-photo-layout-nav-v2 button:hover {
    transform:translateY(-2px);
    box-shadow:0 6px 15px rgba(54,72,130,.10);
}
#modulePhotography .cps-photo-layout-nav-v2 button.is-active {
    border-color:transparent;
    background:linear-gradient(110deg,#286ee6,#6650d3);
    color:#fff;
    box-shadow:0 6px 16px rgba(76,83,194,.24);
}
#modulePhotography .cps-photo-nav-number {
    display:inline-grid;
    place-items:center;
    width:25px;
    height:25px;
    flex:0 0 25px;
    border-radius:8px;
    background:rgba(94,112,190,.10);
    font-size:10px;
    font-weight:950;
}
#modulePhotography .cps-photo-layout-nav-v2 button.is-active .cps-photo-nav-number {
    background:rgba(255,255,255,.20);
}

/* Scroll destinations */
#modulePhotography .photo-capture-grid,
#modulePhotography #cpsPhotoAutomationPanelV4,
#modulePhotography #cpsPhotoStudioPanelV5,
#modulePhotography .photo-review-panel {
    scroll-margin-top:145px;
}

/* Main session shell */
#modulePhotography .photo-session-card {
    display:flex;
    flex-direction:column;
    gap:18px;
    padding:clamp(14px,2vw,22px);
    border:1px solid #e0e6f2;
    border-radius:20px;
    background:linear-gradient(150deg,#fff,#fafbff);
    box-shadow:0 9px 26px rgba(37,58,108,.055);
}

/* Institution and class selection */
#modulePhotography .photo-session-card > .settings-grid {
    padding:16px;
    border:1px solid #dce5f4;
    border-radius:14px;
    background:linear-gradient(115deg,#f0f6ff,#f7f3ff,#f0fbff);
}
#modulePhotography .photo-session-card > .settings-grid label {
    color:#344875;
    font-size:12px;
    font-weight:900;
}
#modulePhotography .photo-session-card > .settings-grid select {
    min-height:42px;
    border:1px solid #d0dcef;
    border-radius:10px;
    background:#fff;
}

/* Session progress */
#modulePhotography .photo-progress-wrap {
    padding:15px 17px;
    border:1px solid #dce5f4;
    border-radius:14px;
    background:linear-gradient(110deg,#edf5ff,#f5f0ff);
}
#modulePhotography #photoStudentHeading {
    color:#263e78;
    font-size:16px;
    font-weight:950;
}
#modulePhotography .progress-track {
    height:10px;
    border-radius:20px;
    background:#dfe5f4;
}
#modulePhotography .progress-fill {
    border-radius:20px;
    background:linear-gradient(90deg,#2586ef,#6655d7,#a34dcb);
}

/* Camera and student details */
#modulePhotography .photo-capture-grid {
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    align-items:stretch;
    gap:17px;
    padding:15px;
    border:1px solid #dce4f3;
    border-radius:18px;
    background:linear-gradient(135deg,#f3f7ff,#faf7ff);
}
#modulePhotography .photo-capture-grid .cps-photo-camera-studio {
    grid-column:1/-1;
    margin:0;
}
#modulePhotography .photo-current {
    min-width:0;
    min-height:390px;
    max-height:490px;
    border:1px solid #263e74;
    border-radius:16px;
    background:radial-gradient(ellipse at 50% 30%,#1c3667,#0a1429 78%);
    box-shadow:0 8px 22px rgba(12,29,66,.16);
}
#modulePhotography .photo-camera,
#modulePhotography .photo-captured-preview {
    width:100%;
    min-height:390px;
    max-height:490px;
    object-fit:contain;
    background:transparent;
}
#modulePhotography .photo-camera-placeholder {
    min-height:390px;
    justify-content:center;
}
#modulePhotography .photo-student-details {
    min-width:0;
    align-self:stretch;
    padding:19px;
    border:1px solid #dfe5f2;
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 19px rgba(45,67,118,.06);
}
#modulePhotography .photo-student-details > .eyebrow {
    color:#6755c9;
    font-weight:950;
    letter-spacing:1.2px;
}
#modulePhotography .photo-student-details h3 {
    color:#263d76;
    font-size:23px;
    overflow-wrap:anywhere;
}
#modulePhotography .photo-student-id {
    padding:11px 12px;
    border:1px solid #dce6fa;
    border-radius:10px;
    background:#f1f6ff;
    color:#34528d;
    font-size:12px;
}

/* Capture controls */
#modulePhotography .photo-action-row {
    display:flex;
    align-items:stretch;
    gap:8px;
}
#modulePhotography .photo-action-row button {
    min-height:41px;
    border-radius:10px;
    font-size:11px;
    font-weight:900;
}
#modulePhotography #photoCaptureBtn {
    border:0;
    background:linear-gradient(110deg,#246fe6,#6650d0);
    color:#fff;
    box-shadow:0 5px 12px rgba(75,84,188,.18);
}
#modulePhotography #photoSaveNextBtn {
    border:0;
    background:linear-gradient(110deg,#0d9f8c,#20b7a4);
    color:#fff;
    box-shadow:0 5px 12px rgba(18,157,139,.15);
}
#modulePhotography #photoRetakeBtn {
    border:1px solid #e4c5a2;
    background:#fff5e9;
    color:#9b5b22;
}
#modulePhotography #photoAbsentBtn {
    border:1px solid #edc9d2;
    background:#fff0f3;
    color:#a33c5a;
}
#modulePhotography #photoExportSessionBtn {
    border:1px solid #c6e8d8;
    background:#eafff3;
    color:#18764f;
}
#modulePhotography #photoClearSessionBtn {
    border:1px solid #f0d5bc;
    background:#fff7ed;
    color:#9b5d26;
}
#modulePhotography .photo-action-row button:disabled {
    opacity:.42;
    box-shadow:none;
}

/* Offline information */
#modulePhotography #photoOfflineWarning {
    padding:12px 14px;
    border:1px solid #f0d49d;
    border-left:4px solid #e1a63a;
    border-radius:11px;
    background:#fff9ec;
    color:#79551d;
    line-height:1.6;
}
#modulePhotography #photoSessionSummary {
    padding:12px 14px;
    border:1px solid #d4e2fb;
    border-radius:11px;
    background:#f1f6ff;
    color:#405b8d;
}

/* Review queue */
#modulePhotography .photo-review-panel {
    padding:18px;
    border:1px solid #dce5f4;
    border-top:4px solid #4f75df;
    border-radius:16px;
    background:linear-gradient(145deg,#f7faff,#fff);
    box-shadow:0 7px 18px rgba(42,66,123,.055);
}
#modulePhotography .photo-review-panel h3 {
    color:#2b427d;
    font-size:17px;
    font-weight:950;
}
#modulePhotography .photo-review-controls {
    gap:12px;
}
#modulePhotography .photo-review-controls label {
    color:#405578;
    font-size:11px;
    font-weight:850;
}

/* Consistent feature cards */
#modulePhotography .cps-photo-v4-section,
#modulePhotography .cps-photo-studio-section-v5 {
    min-width:0;
    height:100%;
    box-sizing:border-box;
}
#modulePhotography .cps-photo-v4-section [role="status"],
#modulePhotography .cps-photo-studio-section-v5 [role="status"] {
    overflow-wrap:anywhere;
    line-height:1.55;
}

/* Tablet */
@media(max-width:900px) {
    #modulePhotography .photo-capture-grid {
        grid-template-columns:minmax(0,1fr);
    }
    #modulePhotography .photo-current,
    #modulePhotography .photo-camera,
    #modulePhotography .photo-captured-preview,
    #modulePhotography .photo-camera-placeholder {
        min-height:340px;
        max-height:430px;
    }
    #modulePhotography .cps-photo-layout-nav-v2 {
        top:72px;
    }
}

/* Mobile */
@media(max-width:640px) {
    #modulePhotography .cps-photo-layout-nav-v2 {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:7px;
        top:65px;
        padding:8px;
        border-radius:13px;
    }
    #modulePhotography .cps-photo-layout-nav-v2 button {
        justify-content:flex-start;
        min-height:42px;
        padding:8px;
        font-size:10px;
    }
    #modulePhotography .photo-session-card {
        gap:13px;
        padding:11px;
    }
    #modulePhotography .photo-capture-grid {
        padding:10px;
        gap:11px;
    }
    #modulePhotography .photo-current,
    #modulePhotography .photo-camera,
    #modulePhotography .photo-captured-preview,
    #modulePhotography .photo-camera-placeholder {
        min-height:270px;
        max-height:350px;
    }
    #modulePhotography .photo-student-details {
        padding:13px;
    }
    #modulePhotography .photo-action-row {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    #modulePhotography .photo-action-row button {
        width:100%;
        min-width:0;
    }
    #modulePhotography .photo-student-details h3 {
        font-size:20px;
    }
    #modulePhotography .photo-review-panel {
        padding:12px;
    }
}

/* END CPS_SMART_PHOTO_PREMIUM_LAYOUT_V2 */


/* CPS_WORKSPACE_SETTINGS_BRAND_STUDIO_V2 */

#moduleSettings {
    padding-bottom:24px;
}

#moduleSettings .module-heading {
    margin-bottom:18px;
}

#moduleSettings > .settings-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:18px;
}

#moduleSettings > .settings-grid > .card {
    min-width:0;
    padding:22px;
    border:1px solid #dce4f2;
    border-radius:17px;
    background:linear-gradient(145deg,#fff,#f8faff);
    box-shadow:0 8px 22px rgba(39,60,112,.065);
}

#moduleSettings > .settings-grid > .card .panel-title h3 {
    color:#293f79;
    font-size:16px;
    font-weight:950;
}

#moduleSettings > .settings-grid > .card label {
    display:grid;
    gap:7px;
    margin:13px 0;
    color:#405477;
    font-size:12px;
    font-weight:850;
}

#moduleSettings > .settings-grid > .card input:not([type="color"]),
#moduleSettings > .settings-grid > .card select,
#moduleSettings #cpsSupportTicketForm textarea {
    width:100%;
    min-height:42px;
    padding:10px 12px;
    border:1px solid #d6dfef;
    border-radius:10px;
    background:#fff;
    color:#263b63;
    box-sizing:border-box;
}

#moduleSettings > .settings-grid > .card input[type="color"] {
    width:100%;
    height:45px;
    padding:4px;
    border:1px solid #d6dfef;
    border-radius:10px;
    background:#fff;
    cursor:pointer;
}

#moduleSettings #applySettingsBtn {
    min-height:43px;
    padding:10px 16px;
    border:0;
    border-radius:10px;
    background:linear-gradient(110deg,#286ee6,#684bd0);
    color:#fff;
    font-weight:900;
    box-shadow:0 5px 13px rgba(76,82,181,.18);
}

/* Brand Studio hero */
#moduleSettings .cps-settings-brand-studio-v2 {
    --cps-settings-accent-v2:#5148c8;
    display:grid;
    gap:18px;
    margin:0 0 19px;
    padding:22px;
    border:1px solid #d7def3;
    border-radius:20px;
    background:
      radial-gradient(ellipse at 0% 0%,rgba(56,132,255,.15),transparent 38%),
      radial-gradient(ellipse at 100% 100%,rgba(155,79,220,.14),transparent 42%),
      linear-gradient(120deg,#f1f7ff,#f8f3ff 55%,#f0fbff);
    box-shadow:0 10px 28px rgba(44,62,125,.08);
}

#moduleSettings .cps-settings-brand-heading-v2 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    padding-bottom:13px;
    border-bottom:1px solid #dce4f3;
}

#moduleSettings .cps-settings-eyebrow-v2 {
    color:#6952c3;
    font-size:10px;
    font-weight:950;
    letter-spacing:1.4px;
}

#moduleSettings .cps-settings-brand-heading-v2 h3 {
    margin:6px 0;
    color:#233d7b;
    font-size:23px;
    font-weight:950;
}

#moduleSettings .cps-settings-brand-heading-v2 p {
    margin:0;
    color:#647491;
    font-size:12px;
    line-height:1.6;
}

#moduleSettings .cps-settings-local-tag-v2 {
    padding:8px 13px;
    border-radius:22px;
    background:linear-gradient(110deg,#286ee6,#7550d0);
    color:#fff;
    font-size:10px;
    font-weight:950;
    box-shadow:0 5px 13px rgba(73,79,172,.18);
}

#moduleSettings .cps-settings-brand-content-v2 {
    display:grid;
    grid-template-columns:minmax(230px,.85fr) minmax(0,1.4fr);
    gap:17px;
    align-items:stretch;
}

#moduleSettings .cps-settings-preview-v2 {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:11px;
    min-height:205px;
    padding:20px;
    border:1px solid rgba(255,255,255,.32);
    border-radius:16px;
    background:linear-gradient(135deg,var(--cps-settings-accent-v2),#342b78 95%);
    color:#fff;
    box-shadow:0 9px 20px rgba(50,58,130,.17);
}

#moduleSettings .cps-settings-preview-label-v2 {
    color:rgba(255,255,255,.78);
    font-size:9px;
    font-weight:950;
    letter-spacing:1.5px;
}

#moduleSettings .cps-settings-preview-logo-v2 {
    display:grid;
    place-items:center;
    width:48px;
    height:48px;
    border:1px solid rgba(255,255,255,.45);
    border-radius:14px;
    background:rgba(255,255,255,.17);
    color:#fff;
    font-size:16px;
    font-weight:950;
}

#moduleSettings .cps-settings-preview-v2 strong {
    max-width:100%;
    overflow-wrap:anywhere;
    font-size:19px;
    font-weight:950;
}

#moduleSettings .cps-settings-preview-v2 > span:not(.cps-settings-preview-label-v2) {
    color:rgba(255,255,255,.84);
    font-size:12px;
}

#moduleSettings .cps-settings-preview-swatch-v2 {
    display:flex;
    align-items:center;
    gap:9px;
    margin-top:3px;
}

#moduleSettings #cpsSettingsPreviewColorV2 {
    width:19px;
    height:19px;
    border:2px solid rgba(255,255,255,.75);
    border-radius:50%;
    background:#5148c8;
}

#moduleSettings #cpsSettingsPreviewHexV2 {
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:1px;
}

#moduleSettings .cps-settings-preview-foot-v2 {
    color:rgba(255,255,255,.68);
    font-size:9px;
    line-height:1.5;
}

#moduleSettings .cps-settings-presets-v2 {
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:13px;
    min-width:0;
    padding:17px;
    border:1px solid #e0e6f3;
    border-radius:16px;
    background:rgba(255,255,255,.87);
}

#moduleSettings .cps-settings-subheading-v2 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:8px;
}

#moduleSettings .cps-settings-subheading-v2 h4 {
    margin:0;
    color:#2b427d;
    font-size:14px;
    font-weight:950;
}

#moduleSettings .cps-settings-subheading-v2 span {
    color:#77839d;
    font-size:10px;
}

#moduleSettings .cps-settings-preset-grid-v2 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
}

#moduleSettings .cps-settings-preset-grid-v2 button {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    min-height:57px;
    padding:9px;
    border:1px solid #e0e6f1;
    border-radius:11px;
    background:#fff;
    text-align:left;
    cursor:pointer;
    transition:border-color .15s ease,transform .15s ease,box-shadow .15s ease;
}

#moduleSettings .cps-settings-preset-grid-v2 button:hover,
#moduleSettings .cps-settings-preset-grid-v2 button.is-selected {
    border-color:var(--cps-settings-accent-v2);
    box-shadow:0 4px 12px rgba(55,75,140,.10);
    transform:translateY(-1px);
}

#moduleSettings .cps-settings-dot-v2 {
    display:block;
    width:24px;
    height:24px;
    flex:0 0 24px;
    border:2px solid #fff;
    border-radius:50%;
    box-shadow:0 0 0 1px #d8deec;
}

#moduleSettings .cps-settings-preset-grid-v2 button b,
#moduleSettings .cps-settings-preset-grid-v2 button small {
    display:block;
}

#moduleSettings .cps-settings-preset-grid-v2 button b {
    color:#34466d;
    font-size:11px;
}

#moduleSettings .cps-settings-preset-grid-v2 button small {
    margin-top:3px;
    color:#8792a9;
    font-size:9px;
}

#moduleSettings .cps-settings-brand-note-v2 {
    padding:10px 12px;
    border-radius:10px;
    background:#f1f5ff;
    color:#60718f;
    font-size:10px;
    line-height:1.6;
}

#moduleSettings .cps-settings-brand-footer-v2 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:12px;
    padding-top:12px;
    border-top:1px solid #dce4f3;
}

#moduleSettings #cpsSettingsBrandStatusV2 {
    color:#5b6d8b;
    font-size:10px;
    line-height:1.5;
}

#moduleSettings #cpsSettingsBrandResetV2 {
    min-height:37px;
    padding:8px 13px;
    border:1px solid #efcbd0;
    border-radius:9px;
    background:#fff2f3;
    color:#a34255;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}

/* Security and support */
#moduleSettings .settings-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:13px 0;
    border-bottom:1px solid #e8edf5;
}

#moduleSettings .settings-row:last-of-type {
    border-bottom:0;
}

#moduleSettings #cpsSupportRequestCard {
    margin-top:18px;
    padding:21px;
    border:1px solid #dce4f3;
    border-top:4px solid #8155d2;
    border-radius:17px;
    background:linear-gradient(145deg,#fff,#f9f6ff);
    box-shadow:0 8px 22px rgba(58,50,121,.06);
}

#moduleSettings #cpsSupportRequestCard .panel-title h3 {
    color:#34457f;
    font-size:17px;
    font-weight:950;
}

#moduleSettings #cpsSupportTicketForm {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 16px;
}

#moduleSettings #cpsSupportTicketForm label {
    display:grid;
    gap:7px;
    color:#405477;
    font-size:11px;
    font-weight:850;
}

#moduleSettings #cpsSupportTicketForm label:nth-child(3) {
    grid-column:1/-1;
}

#moduleSettings #cpsSupportTicketForm textarea {
    min-height:110px;
    resize:vertical;
}

#moduleSettings #cpsSupportSubmit {
    justify-self:start;
    min-height:42px;
    padding:10px 17px;
    border:0;
    border-radius:10px;
    background:linear-gradient(110deg,#6d4acb,#9a4dc0);
    color:#fff;
    font-weight:900;
}

#moduleSettings #cpsSupportMessage {
    align-self:center;
    margin:0;
    color:#526687;
    font-size:11px;
}

/* Responsive workspace settings */
@media(max-width:850px) {
    #moduleSettings .cps-settings-brand-content-v2 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-settings-preview-v2 {
        min-height:180px;
    }
}

@media(max-width:650px) {
    #moduleSettings > .settings-grid {
        grid-template-columns:minmax(0,1fr);
        gap:12px;
    }

    #moduleSettings .cps-settings-brand-studio-v2 {
        padding:13px;
    }

    #moduleSettings .cps-settings-brand-heading-v2 h3 {
        font-size:19px;
    }

    #moduleSettings .cps-settings-preset-grid-v2 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-settings-brand-footer-v2 {
        align-items:stretch;
        flex-direction:column;
    }

    #moduleSettings #cpsSettingsBrandResetV2 {
        width:100%;
    }

    #moduleSettings #cpsSupportTicketForm {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings #cpsSupportTicketForm label:nth-child(3) {
        grid-column:auto;
    }

    #moduleSettings #cpsSupportSubmit {
        width:100%;
    }
}

/* END CPS_WORKSPACE_SETTINGS_BRAND_STUDIO_V2 */


/* CPS_ENTERPRISE_WORKSPACE_CONTROL_CENTER_V3_V9 */

#moduleSettings .cps-enterprise-workspace-v3 {
    display:grid;
    gap:18px;
    margin:20px 0;
    padding:22px;
    border:1px solid #d7def2;
    border-radius:21px;
    background:
      radial-gradient(ellipse at 0% 0%,rgba(47,127,238,.12),transparent 35%),
      radial-gradient(ellipse at 100% 100%,rgba(153,80,221,.12),transparent 38%),
      linear-gradient(135deg,#f5f8ff,#fbf7ff 55%,#f2fbff);
    box-shadow:0 12px 30px rgba(45,63,119,.07);
}

#moduleSettings .cps-ew-header-v3 {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:14px;
    padding-bottom:15px;
    border-bottom:1px solid #dce4f3;
}

#moduleSettings .cps-ew-eyebrow-v3 {
    color:#7152c5;
    font-size:10px;
    font-weight:950;
    letter-spacing:1.4px;
}

#moduleSettings .cps-ew-header-v3 h3 {
    margin:6px 0;
    color:#253d7a;
    font-size:23px;
    font-weight:950;
}

#moduleSettings .cps-ew-header-v3 p {
    margin:0;
    color:#687794;
    font-size:12px;
    line-height:1.6;
}

#moduleSettings .cps-ew-version-v3 {
    padding:8px 13px;
    border-radius:22px;
    background:linear-gradient(110deg,#256de4,#744dcc,#a34bc0);
    color:#fff;
    font-size:10px;
    font-weight:950;
    white-space:nowrap;
}

#moduleSettings .cps-ew-overview-v3 {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
}

#moduleSettings .cps-ew-overview-v3 article {
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
    padding:12px;
    border:1px solid #e0e6f2;
    border-radius:13px;
    background:rgba(255,255,255,.91);
}

#moduleSettings .cps-ew-overview-v3 article > div {
    display:grid;
    flex:1;
    min-width:0;
    gap:3px;
}

#moduleSettings .cps-ew-overview-v3 b {
    color:#344875;
    font-size:11px;
}

#moduleSettings .cps-ew-overview-v3 small {
    color:#8792a9;
    font-size:9px;
}

#moduleSettings .cps-ew-icon-v3 {
    display:grid;
    place-items:center;
    width:37px;
    height:37px;
    flex:0 0 37px;
    border-radius:11px;
    font-size:10px;
    font-weight:950;
}

#moduleSettings .cps-ew-icon-v3.blue { background:#e6efff; color:#2764ca; }
#moduleSettings .cps-ew-icon-v3.purple { background:#f1eaff; color:#7747bd; }
#moduleSettings .cps-ew-icon-v3.teal { background:#e2faf5; color:#078d7d; }
#moduleSettings .cps-ew-icon-v3.orange { background:#fff0df; color:#b76b1d; }

#moduleSettings .cps-ew-pill {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    max-width:100%;
    padding:5px 8px;
    border-radius:20px;
    font-size:9px;
    font-weight:900;
    white-space:nowrap;
}

#moduleSettings .cps-ew-pill.ready { background:#e4f8ed; color:#18804d; }
#moduleSettings .cps-ew-pill.live { background:#e4efff; color:#2b63bc; }
#moduleSettings .cps-ew-pill.pending { background:#fff4df; color:#96621a; }
#moduleSettings .cps-ew-pill.unavailable { background:#f0f1f5; color:#737c8e; }

#moduleSettings .cps-ew-grid-v3 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:14px;
}

#moduleSettings .cps-ew-card-v3 {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:12px;
    min-width:0;
    padding:17px;
    border:1px solid #dfe5f1;
    border-radius:16px;
    background:rgba(255,255,255,.96);
    box-shadow:0 5px 16px rgba(43,64,116,.045);
}

#moduleSettings .cps-ew-card-heading-v3 {
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}

#moduleSettings .cps-ew-card-heading-v3 > div {
    min-width:0;
}

#moduleSettings .cps-ew-card-heading-v3 h4 {
    margin:0;
    color:#2e437a;
    font-size:14px;
    font-weight:950;
}

#moduleSettings .cps-ew-card-heading-v3 p {
    margin:4px 0 0;
    color:#8590a7;
    font-size:10px;
    line-height:1.5;
}

#moduleSettings .cps-ew-card-v3:nth-child(1) { border-top:4px solid #3278e5; }
#moduleSettings .cps-ew-card-v3:nth-child(2) { border-top:4px solid #8451cf; }
#moduleSettings .cps-ew-card-v3:nth-child(3) { border-top:4px solid #159f91; }
#moduleSettings .cps-ew-card-v3:nth-child(4) { border-top:4px solid #e69a36; }
#moduleSettings .cps-ew-card-v3:nth-child(5) { border-top:4px solid #3278e5; }
#moduleSettings .cps-ew-card-v3:nth-child(6) { border-top:4px solid #8451cf; }
#moduleSettings .cps-ew-card-v3:nth-child(7) { border-top:4px solid #159f91; }

#moduleSettings .cps-ew-logo-row-v3 {
    display:flex;
    align-items:center;
    gap:14px;
    flex-wrap:wrap;
}

#moduleSettings .cps-ew-logo-preview-v3 {
    display:grid;
    place-items:center;
    width:80px;
    height:80px;
    overflow:hidden;
    border:1px dashed #b8c7e5;
    border-radius:15px;
    background:linear-gradient(135deg,#eaf2ff,#f5edff);
    color:#5148c8;
    font-size:22px;
    font-weight:950;
}

#moduleSettings .cps-ew-logo-image-v3 {
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    padding:5px;
    box-sizing:border-box;
}

#moduleSettings .cps-ew-logo-controls-v3 {
    display:grid;
    gap:8px;
    flex:1;
    min-width:140px;
}

#moduleSettings .cps-ew-upload-v3 {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    min-height:38px;
    padding:8px 12px;
    border-radius:9px;
    background:linear-gradient(110deg,#2b72df,#6651ca);
    color:#fff;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}

#moduleSettings .cps-ew-upload-v3 input {
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    pointer-events:none;
}

#moduleSettings .cps-ew-primary-v3,
#moduleSettings .cps-ew-secondary-v3,
#moduleSettings .cps-ew-small-action-v3 {
    min-height:37px;
    padding:8px 12px;
    border-radius:9px;
    font-size:10px;
    font-weight:900;
    cursor:pointer;
}

#moduleSettings .cps-ew-primary-v3 {
    border:0;
    background:linear-gradient(110deg,#286fe4,#6850cd);
    color:#fff;
    box-shadow:0 4px 10px rgba(72,83,180,.12);
}

#moduleSettings .cps-ew-secondary-v3 {
    border:1px solid #d6deef;
    background:#f7f9ff;
    color:#42577e;
}

#moduleSettings .cps-ew-small-action-v3 {
    min-height:31px;
    padding:6px 9px;
    border:1px solid #d4def1;
    background:#f2f6ff;
    color:#3b5688;
}

#moduleSettings .cps-ew-primary-v3:disabled,
#moduleSettings .cps-ew-secondary-v3:disabled,
#moduleSettings .cps-ew-small-action-v3:disabled {
    opacity:.5;
    cursor:not-allowed;
}

#moduleSettings .cps-ew-role-list-v3 {
    display:grid;
    gap:7px;
}

#moduleSettings .cps-ew-role-list-v3 > div {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:9px 11px;
    border:1px solid #e7eaf3;
    border-radius:9px;
    background:#fafbff;
}

#moduleSettings .cps-ew-role-list-v3 b {
    color:#5c48aa;
    font-size:10px;
}

#moduleSettings .cps-ew-role-list-v3 span {
    color:#687894;
    font-size:10px;
    text-align:right;
}

#moduleSettings .cps-ew-status-v3 {
    min-width:0;
    padding:9px 11px;
    border-radius:9px;
    background:#f1f5ff;
    color:#596b8b;
    font-size:10px;
    line-height:1.55;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-status-v3.success { background:#eaf8f0; color:#237247; }
#moduleSettings .cps-ew-status-v3.warning { background:#fff6e6; color:#8c621b; }
#moduleSettings .cps-ew-status-v3.error { background:#fff0f0; color:#a03d48; }

#moduleSettings .cps-ew-data-list-v3 {
    display:grid;
    gap:7px;
    min-width:0;
    max-height:320px;
    overflow:auto;
}

#moduleSettings .cps-ew-data-row-v3 {
    display:grid;
    gap:4px;
    min-width:0;
    padding:10px;
    border:1px solid #e4e9f3;
    border-radius:10px;
    background:#fafbff;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-data-row-v3 b {
    color:#354b7b;
    font-size:11px;
}

#moduleSettings .cps-ew-data-row-v3 span {
    color:#647592;
    font-size:10px;
}

#moduleSettings .cps-ew-data-row-v3 small {
    color:#8994a9;
    font-size:9px;
}

#moduleSettings .cps-ew-empty-v3 {
    padding:12px;
    border-radius:9px;
    background:#f5f7fc;
    color:#8190a8;
    font-size:10px;
}

#moduleSettings .cps-ew-license-state-v3 {
    padding:11px;
    border-radius:10px;
    font-size:11px;
    font-weight:950;
}

#moduleSettings .cps-ew-license-state-v3.good { background:#e8f8ef; color:#14784a; }
#moduleSettings .cps-ew-license-state-v3.bad { background:#fff0ed; color:#ac4938; }

#moduleSettings .cps-ew-service-row-v3 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-width:0;
    padding:9px 0;
    border-bottom:1px solid #edf0f6;
}

#moduleSettings .cps-ew-service-row-v3:last-of-type {
    border-bottom:0;
}

#moduleSettings .cps-ew-service-row-v3 b {
    color:#4b5c7b;
    font-size:10px;
}

#moduleSettings .cps-ew-note-v3 {
    margin:0;
    color:#78869f;
    font-size:10px;
    line-height:1.6;
}

#moduleSettings .cps-ew-pre-v3 {
    max-height:240px;
    min-height:45px;
    overflow:auto;
    padding:11px;
    border:1px solid #e2e8f2;
    border-radius:10px;
    background:#f7f9fd;
    color:#4e6182;
    font-size:9px;
    line-height:1.55;
    white-space:pre-wrap;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-platform-v3 {
    display:grid;
    gap:14px;
    padding:18px;
    border:1px solid #e1d9f3;
    border-top:4px solid #7e50c9;
    border-radius:16px;
    background:linear-gradient(145deg,#fbf8ff,#fff);
}

#moduleSettings .cps-ew-platform-v3 h5 {
    margin:0 0 10px;
    color:#35487c;
    font-size:12px;
}

#moduleSettings .cps-ew-admin-actions-v3 {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

#moduleSettings .cps-ew-platform-grid-v3 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
}

#moduleSettings .cps-ew-platform-grid-v3 > div {
    min-width:0;
    padding:13px;
    border:1px solid #e4e4f1;
    border-radius:12px;
    background:#fff;
}

#moduleSettings .cps-ew-admin-user-v3 {
    display:grid;
    gap:9px;
    padding:12px;
    border:1px solid #e4e9f3;
    border-radius:11px;
    background:#fafbff;
}

#moduleSettings .cps-ew-admin-user-details-v3 {
    display:grid;
    gap:4px;
    min-width:0;
}

#moduleSettings .cps-ew-admin-user-details-v3 b {
    color:#354b7b;
    font-size:11px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-admin-user-details-v3 small {
    color:#77849b;
    font-size:9px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-admin-user-controls-v3 {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

#moduleSettings .cps-ew-admin-user-controls-v3 select {
    min-height:32px;
    max-width:150px;
    padding:5px 8px;
    border:1px solid #d8e0ef;
    border-radius:8px;
    background:#fff;
    color:#435579;
    font-size:10px;
}

#moduleSettings .cps-ew-active-label-v3 {
    display:flex;
    align-items:center;
    gap:5px;
    color:#596987;
    font-size:10px;
}

#moduleSettings .cps-ew-footer-v3 {
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:9px;
    padding-top:12px;
    border-top:1px solid #dce4f3;
    color:#8792a9;
    font-size:9px;
    line-height:1.5;
}

@media(max-width:1000px) {
    #moduleSettings .cps-ew-overview-v3 {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:720px) {
    #moduleSettings .cps-enterprise-workspace-v3 {
        padding:13px;
        gap:13px;
    }

    #moduleSettings .cps-ew-grid-v3,
    #moduleSettings .cps-ew-platform-grid-v3 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-overview-v3 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-overview-v3 article {
        min-height:59px;
    }

    #moduleSettings .cps-ew-header-v3 h3 {
        font-size:19px;
    }

    #moduleSettings .cps-ew-card-v3,
    #moduleSettings .cps-ew-platform-v3 {
        padding:13px;
    }

    #moduleSettings .cps-ew-admin-actions-v3 {
        display:grid;
        grid-template-columns:1fr;
    }

    #moduleSettings .cps-ew-admin-actions-v3 button {
        width:100%;
    }

    #moduleSettings .cps-ew-footer-v3 {
        flex-direction:column;
    }
}

/* END CPS_ENTERPRISE_WORKSPACE_CONTROL_CENTER_V3_V9 */


/* CPS_WORKSPACE_SETTINGS_LAYOUT_POLISH_V1 */

/* Workspace page rhythm */
#moduleSettings {
    width:100%;
    min-width:0;
    padding-bottom:30px;
}

#moduleSettings > .module-heading {
    margin-bottom:20px;
}

#moduleSettings > .settings-grid {
    gap:18px;
    align-items:stretch;
    margin-bottom:20px;
}

#moduleSettings > .settings-grid > .card {
    min-width:0;
    border:1px solid #e0e6f1;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(35,55,105,.055);
}

#moduleSettings > .settings-grid > .card .panel-title {
    margin-bottom:14px;
}

/* Brand Studio */
#moduleSettings .cps-settings-brand-studio-v2 {
    width:100%;
    margin:0 0 22px;
    box-sizing:border-box;
    border-radius:22px;
}

/* Enterprise Control Center */
#moduleSettings > #cpsEnterpriseWorkspaceCenterV3 {
    width:100%;
    margin:6px 0 22px;
    box-sizing:border-box;
}

#moduleSettings .cps-enterprise-workspace-v3 {
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:24px;
    gap:20px;
    border:1px solid #d8e2f3;
    border-radius:22px;
    box-shadow:0 12px 30px rgba(37,58,112,.075);
}

#moduleSettings .cps-ew-header-v3 {
    align-items:center;
    padding-bottom:18px;
}

#moduleSettings .cps-ew-header-v3 h3 {
    font-size:24px;
    line-height:1.25;
}

#moduleSettings .cps-ew-overview-v3 {
    gap:12px;
}

#moduleSettings .cps-ew-overview-v3 article {
    min-height:66px;
    box-sizing:border-box;
    box-shadow:0 3px 10px rgba(35,55,105,.035);
}

#moduleSettings .cps-ew-grid-v3 {
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:stretch;
    gap:16px;
}

#moduleSettings .cps-ew-card-v3 {
    min-width:0;
    height:100%;
    box-sizing:border-box;
    padding:19px;
    border-radius:17px;
    box-shadow:0 6px 18px rgba(35,55,105,.055);
}

#moduleSettings .cps-ew-card-heading-v3 {
    min-height:43px;
}

#moduleSettings .cps-ew-card-heading-v3 h4 {
    font-size:14px;
    line-height:1.4;
}

#moduleSettings .cps-ew-card-heading-v3 p {
    font-size:10px;
    line-height:1.5;
}

/* Domain readiness uses the full final row */
#moduleSettings .cps-ew-card-v3:nth-child(7) {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-content:start;
}

#moduleSettings .cps-ew-card-v3:nth-child(7) .cps-ew-card-heading-v3,
#moduleSettings .cps-ew-card-v3:nth-child(7) .cps-ew-note-v3 {
    grid-column:1 / -1;
}

/* Platform Admin section */
#moduleSettings .cps-ew-platform-v3 {
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:20px;
    border-radius:17px;
}

#moduleSettings .cps-ew-admin-actions-v3 {
    align-items:center;
}

#moduleSettings .cps-ew-admin-actions-v3 button {
    min-width:150px;
}

#moduleSettings .cps-ew-platform-grid-v3 {
    align-items:stretch;
    gap:15px;
}

#moduleSettings .cps-ew-platform-grid-v3 > div {
    min-width:0;
    min-height:110px;
    box-sizing:border-box;
    border-radius:13px;
}

#moduleSettings .cps-ew-pre-v3 {
    box-sizing:border-box;
    width:100%;
}

/* Keep support at the end, visually separate */
#moduleSettings > #cpsSupportRequestCard {
    width:100%;
    box-sizing:border-box;
    margin-top:20px;
    padding:22px;
    border:1px solid #e0e6f1;
    border-top:4px solid #7252c8;
    border-radius:18px;
    box-shadow:0 8px 24px rgba(35,55,105,.055);
}

#moduleSettings #cpsSupportTicketForm {
    display:grid;
    gap:14px;
}

#moduleSettings #cpsSupportTicketForm label {
    min-width:0;
}

#moduleSettings #cpsSupportTicketForm textarea {
    min-height:120px;
    resize:vertical;
}

/* Tablet */
@media(max-width:1000px) {
    #moduleSettings .cps-ew-overview-v3 {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    #moduleSettings .cps-enterprise-workspace-v3 {
        padding:18px;
    }
}

/* Mobile */
@media(max-width:720px) {
    #moduleSettings > .settings-grid,
    #moduleSettings .cps-ew-grid-v3,
    #moduleSettings .cps-ew-platform-grid-v3 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-card-v3:nth-child(7) {
        grid-column:auto;
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-card-v3:nth-child(7) .cps-ew-card-heading-v3,
    #moduleSettings .cps-ew-card-v3:nth-child(7) .cps-ew-note-v3 {
        grid-column:auto;
    }

    #moduleSettings .cps-ew-overview-v3 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-enterprise-workspace-v3 {
        padding:13px;
        gap:14px;
        border-radius:16px;
    }

    #moduleSettings .cps-ew-card-v3,
    #moduleSettings .cps-ew-platform-v3 {
        padding:14px;
    }

    #moduleSettings .cps-ew-admin-actions-v3 {
        display:grid;
        grid-template-columns:1fr;
    }

    #moduleSettings .cps-ew-admin-actions-v3 button {
        width:100%;
        min-width:0;
    }

    #moduleSettings > #cpsSupportRequestCard {
        padding:15px;
    }
}

/* END CPS_WORKSPACE_SETTINGS_LAYOUT_POLISH_V1 */


/* CPS_ENTERPRISE_WORKSPACE_COMMAND_CENTER_V2 */

/* Premium command center header and section hierarchy */
#moduleSettings .cps-enterprise-workspace-v3 {
    position:relative;
    isolation:isolate;
    overflow:visible;
    background:
      radial-gradient(ellipse at 0% 0%,rgba(40,116,229,.13),transparent 38%),
      radial-gradient(ellipse at 100% 0%,rgba(134,77,207,.13),transparent 40%),
      linear-gradient(145deg,#f7faff 0%,#fbf9ff 52%,#f4fbff 100%);
}

#moduleSettings .cps-ew-header-v3 h3 {
    letter-spacing:-.45px;
}

#moduleSettings .cps-ew-version-v3 {
    box-shadow:0 5px 15px rgba(83,73,190,.2);
}

/* Quick navigation */
#moduleSettings .cps-ew-quick-nav-v2 {
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
    gap:8px;
    width:100%;
    min-width:0;
    padding:11px;
    overflow-x:auto;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
    border:1px solid #dce5f5;
    border-radius:14px;
    background:rgba(255,255,255,.88);
    box-shadow:0 5px 16px rgba(43,64,116,.055);
}

#moduleSettings .cps-ew-nav-label-v2 {
    flex:0 0 auto;
    padding:0 7px;
    color:#8290aa;
    font-size:9px;
    font-weight:950;
    letter-spacing:1px;
}

#moduleSettings .cps-ew-nav-button-v2 {
    flex:0 0 auto;
    min-height:34px;
    padding:8px 12px;
    border:1px solid #e0e6f2;
    border-radius:9px;
    background:#f7f9ff;
    color:#526487;
    font-size:10px;
    font-weight:850;
    white-space:nowrap;
    cursor:pointer;
    transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

#moduleSettings .cps-ew-nav-button-v2:hover {
    border-color:#a9b9e4;
    background:#edf3ff;
    color:#345ab0;
    transform:translateY(-1px);
}

#moduleSettings .cps-ew-nav-button-v2.active,
#moduleSettings .cps-ew-nav-button-v2[aria-current="location"] {
    border-color:transparent;
    background:linear-gradient(110deg,#286fe4,#7550cb);
    color:#fff;
    box-shadow:0 4px 11px rgba(73,85,184,.2);
}

/* Section scroll targets */
#moduleSettings .cps-ew-card-v3,
#moduleSettings .cps-ew-platform-v3,
#moduleSettings > #cpsSupportRequestCard {
    scroll-margin-top:100px;
}

/* Elevated enterprise cards */
#moduleSettings .cps-ew-card-v3 {
    position:relative;
    overflow:hidden;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

#moduleSettings .cps-ew-card-v3::after {
    content:"";
    position:absolute;
    top:0;
    right:0;
    width:90px;
    height:90px;
    pointer-events:none;
    opacity:.35;
    background:radial-gradient(circle at top right,rgba(103,119,220,.12),transparent 70%);
}

#moduleSettings .cps-ew-card-v3:hover {
    transform:translateY(-3px);
    border-color:#c7d4ed;
    box-shadow:0 13px 28px rgba(38,60,120,.095);
}

#moduleSettings .cps-ew-card-v3:focus {
    outline:2px solid #6d63d8;
    outline-offset:3px;
}

/* More legible service and status rows */
#moduleSettings .cps-ew-service-row-v3 {
    min-height:38px;
}

#moduleSettings .cps-ew-pill {
    letter-spacing:.1px;
}

#moduleSettings .cps-ew-status-v3 {
    border:1px solid rgba(119,139,180,.12);
}

/* Platform admin command area */
#moduleSettings .cps-ew-platform-v3 {
    background:
      radial-gradient(ellipse at 100% 0%,rgba(126,80,201,.09),transparent 42%),
      linear-gradient(145deg,#fbf9ff,#fff);
    box-shadow:0 9px 25px rgba(61,47,117,.065);
}

#moduleSettings .cps-ew-platform-grid-v3 > div {
    transition:box-shadow .18s ease,border-color .18s ease;
}

#moduleSettings .cps-ew-platform-grid-v3 > div:hover {
    border-color:#d3d9ef;
    box-shadow:0 5px 15px rgba(52,65,120,.06);
}

/* Consistent controls and visible keyboard focus */
#moduleSettings .cps-ew-primary-v3:focus-visible,
#moduleSettings .cps-ew-secondary-v3:focus-visible,
#moduleSettings .cps-ew-small-action-v3:focus-visible,
#moduleSettings .cps-ew-nav-button-v2:focus-visible {
    outline:3px solid rgba(91,105,218,.35);
    outline-offset:2px;
}

@media(max-width:720px) {
    #moduleSettings .cps-ew-quick-nav-v2 {
        margin-left:-2px;
        width:calc(100% + 4px);
        padding:9px;
        border-radius:11px;
    }

    #moduleSettings .cps-ew-nav-label-v2 {
        display:none;
    }

    #moduleSettings .cps-ew-nav-button-v2 {
        min-height:36px;
        padding:8px 11px;
    }

    #moduleSettings .cps-ew-card-v3,
    #moduleSettings .cps-ew-platform-v3 {
        scroll-margin-top:75px;
    }
}

@media(prefers-reduced-motion:reduce) {
    #moduleSettings .cps-ew-card-v3,
    #moduleSettings .cps-ew-nav-button-v2,
    #moduleSettings .cps-ew-platform-grid-v3 > div {
        transition:none;
    }

    #moduleSettings .cps-ew-card-v3:hover,
    #moduleSettings .cps-ew-nav-button-v2:hover {
        transform:none;
    }
}

/* END CPS_ENTERPRISE_WORKSPACE_COMMAND_CENTER_V2 */


/* CPS_ENTERPRISE_WORKSPACE_SECURITY_HEALTH_V3 */

#moduleSettings .cps-ew-health-v3 {
    display:grid;
    gap:17px;
    width:100%;
    min-width:0;
    margin:0 0 19px;
    padding:21px;
    box-sizing:border-box;
    border:1px solid #dce4f3;
    border-top:4px solid #3478df;
    border-radius:19px;
    background:
      radial-gradient(ellipse at 0% 0%,rgba(49,119,223,.10),transparent 38%),
      radial-gradient(ellipse at 100% 100%,rgba(121,78,202,.09),transparent 40%),
      linear-gradient(145deg,#f8fbff,#fbf9ff);
    box-shadow:0 10px 26px rgba(39,60,115,.065);
    scroll-margin-top:100px;
}

#moduleSettings .cps-ew-health-head-v3 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:14px;
    padding-bottom:15px;
    border-bottom:1px solid #e0e6f2;
}

#moduleSettings .cps-ew-health-eyebrow-v3 {
    color:#6555b5;
    font-size:9px;
    font-weight:950;
    letter-spacing:1.2px;
}

#moduleSettings .cps-ew-health-head-v3 h3 {
    margin:6px 0;
    color:#263d78;
    font-size:21px;
    font-weight:950;
    letter-spacing:-.35px;
}

#moduleSettings .cps-ew-health-head-v3 p {
    margin:0;
    color:#77849d;
    font-size:11px;
    line-height:1.55;
}

#moduleSettings .cps-ew-health-metrics-v3 {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:11px;
}

#moduleSettings .cps-ew-health-metric-v3 {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-width:0;
    padding:13px;
    border:1px solid #e1e7f2;
    border-radius:13px;
    background:rgba(255,255,255,.93);
}

#moduleSettings .cps-ew-health-icon-v3 {
    display:grid;
    place-items:center;
    width:37px;
    height:37px;
    border-radius:11px;
    font-size:10px;
    font-weight:950;
}

#moduleSettings .cps-ew-health-icon-v3.blue {
    background:#e8f0ff;color:#2768cd;
}
#moduleSettings .cps-ew-health-icon-v3.orange {
    background:#fff2e2;color:#a96b24;
}
#moduleSettings .cps-ew-health-icon-v3.teal {
    background:#e3f8f3;color:#168b79;
}
#moduleSettings .cps-ew-health-icon-v3.purple {
    background:#f0eaff;color:#7550bc;
}

#moduleSettings .cps-ew-health-metric-v3 > div {
    display:grid;
    gap:4px;
    min-width:0;
}

#moduleSettings .cps-ew-health-metric-v3 small {
    color:#8290a7;
    font-size:9px;
    font-weight:750;
}

#moduleSettings .cps-ew-health-metric-v3 b {
    color:#344a78;
    font-size:11px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-health-metric-v3 .cps-ew-pill {
    grid-column:2;
}

#moduleSettings .cps-ew-health-details-v3 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
}

#moduleSettings .cps-ew-health-details-v3 > section {
    min-width:0;
    padding:15px;
    border:1px solid #e2e8f2;
    border-radius:13px;
    background:rgba(255,255,255,.9);
}

#moduleSettings .cps-ew-health-details-v3 h4 {
    margin:0 0 10px;
    color:#344879;
    font-size:12px;
    font-weight:950;
}

#moduleSettings .cps-ew-health-check-row-v3 {
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:12px;
    padding:9px 0;
    border-bottom:1px solid #eef1f6;
    font-size:10px;
}

#moduleSettings .cps-ew-health-check-row-v3:last-child {
    border-bottom:0;
}

#moduleSettings .cps-ew-health-check-row-v3 span {
    color:#667590;
}

#moduleSettings .cps-ew-health-check-row-v3 b {
    color:#52658a;
    text-align:right;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-health-check-row-v3 b.good {
    color:#168052;
}

#moduleSettings .cps-ew-health-check-row-v3 b.pending-text {
    color:#98702b;
}

#moduleSettings .cps-ew-health-footer-v3 {
    display:grid;
    gap:5px;
    padding-top:11px;
    border-top:1px solid #e0e6f2;
    color:#7c8aa3;
    font-size:9px;
    line-height:1.5;
}

@media(max-width:1050px) {
    #moduleSettings .cps-ew-health-metrics-v3 {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:720px) {
    #moduleSettings .cps-ew-health-v3 {
        padding:14px;
        gap:13px;
        border-radius:15px;
        scroll-margin-top:75px;
    }

    #moduleSettings .cps-ew-health-head-v3 {
        align-items:stretch;
    }

    #moduleSettings .cps-ew-health-head-v3 button {
        width:100%;
    }

    #moduleSettings .cps-ew-health-head-v3 h3 {
        font-size:18px;
    }

    #moduleSettings .cps-ew-health-metrics-v3,
    #moduleSettings .cps-ew-health-details-v3 {
        grid-template-columns:minmax(0,1fr);
    }
}

/* END CPS_ENTERPRISE_WORKSPACE_SECURITY_HEALTH_V3 */


/* CPS_ENTERPRISE_WORKSPACE_ACCESS_GOVERNANCE_V4 */

#moduleSettings .cps-ew-access-v4 {
    display:grid;
    gap:17px;
    width:100%;
    min-width:0;
    margin:0 0 20px;
    padding:21px;
    box-sizing:border-box;
    border:1px solid #dce4f3;
    border-top:4px solid #7452c9;
    border-radius:19px;
    background:
      radial-gradient(ellipse at 0% 0%,rgba(117,82,201,.10),transparent 38%),
      radial-gradient(ellipse at 100% 100%,rgba(44,123,219,.08),transparent 38%),
      linear-gradient(145deg,#fbf9ff,#f8fbff);
    box-shadow:0 10px 26px rgba(39,60,115,.06);
    scroll-margin-top:100px;
}

#moduleSettings .cps-ew-access-head-v4 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:13px;
    padding-bottom:14px;
    border-bottom:1px solid #e1e7f1;
}

#moduleSettings .cps-ew-access-eyebrow-v4 {
    color:#7354bf;
    font-size:9px;
    font-weight:950;
    letter-spacing:1.15px;
}

#moduleSettings .cps-ew-access-head-v4 h3 {
    margin:6px 0;
    color:#2b3e75;
    font-size:21px;
    font-weight:950;
}

#moduleSettings .cps-ew-access-head-v4 p {
    margin:0;
    color:#7c89a1;
    font-size:11px;
    line-height:1.5;
}

#moduleSettings .cps-ew-access-head-actions-v4 {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

#moduleSettings .cps-ew-current-role-v4 {
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
    padding:14px;
    border:1px solid #dfe5f2;
    border-radius:13px;
    background:rgba(255,255,255,.92);
}

#moduleSettings .cps-ew-current-role-icon-v4 {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    flex:0 0 42px;
    border-radius:12px;
    background:linear-gradient(135deg,#e8efff,#efe9ff);
    color:#6550b8;
    font-size:12px;
    font-weight:950;
}

#moduleSettings .cps-ew-current-role-v4 > div:nth-child(2) {
    display:grid;
    gap:4px;
    flex:1;
    min-width:0;
}

#moduleSettings .cps-ew-current-role-v4 small {
    color:#8995aa;
    font-size:9px;
    font-weight:900;
    letter-spacing:.8px;
}

#moduleSettings .cps-ew-current-role-v4 b {
    color:#304677;
    font-size:14px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-current-role-v4 span:not(.cps-ew-pill) {
    color:#7c89a1;
    font-size:10px;
    line-height:1.4;
}

#moduleSettings .cps-ew-access-matrix-wrap-v4 {
    min-width:0;
    padding:15px;
    border:1px solid #e0e6f1;
    border-radius:14px;
    background:#fff;
}

#moduleSettings .cps-ew-access-matrix-title-v4 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:13px;
}

#moduleSettings .cps-ew-access-matrix-title-v4 h4 {
    margin:0;
    color:#344879;
    font-size:13px;
    font-weight:950;
}

#moduleSettings .cps-ew-access-matrix-title-v4 p {
    margin:4px 0 0;
    color:#8792a7;
    font-size:10px;
}

#moduleSettings .cps-ew-access-matrix-title-v4 > span {
    padding:5px 9px;
    border-radius:20px;
    background:#f0edff;
    color:#7355b9;
    font-size:9px;
    font-weight:950;
}

#moduleSettings .cps-ew-access-table-scroll-v4 {
    width:100%;
    overflow-x:auto;
    overscroll-behavior-x:contain;
}

#moduleSettings .cps-ew-access-table-v4 {
    width:100%;
    min-width:670px;
    border-collapse:separate;
    border-spacing:0;
    font-size:10px;
}

#moduleSettings .cps-ew-access-table-v4 th,
#moduleSettings .cps-ew-access-table-v4 td {
    padding:11px 10px;
    border-bottom:1px solid #edf0f6;
    text-align:left;
    white-space:nowrap;
}

#moduleSettings .cps-ew-access-table-v4 thead th {
    background:#f5f7fd;
    color:#73819c;
    font-size:9px;
    font-weight:950;
}

#moduleSettings .cps-ew-access-table-v4 tbody th {
    color:#354a7b;
    font-size:10px;
    font-weight:950;
}

#moduleSettings .cps-ew-access-table-v4 td.yes {
    color:#188052;
    font-weight:850;
}

#moduleSettings .cps-ew-access-table-v4 td.no {
    color:#a36a54;
    font-weight:750;
}

#moduleSettings .cps-ew-access-table-v4 td.separate {
    color:#6d63a1;
    font-weight:750;
}

#moduleSettings .cps-ew-access-footnote-v4 {
    margin:11px 0 0;
    color:#7c89a1;
    font-size:9px;
    line-height:1.6;
}

#moduleSettings .cps-ew-access-cards-v4 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:11px;
}

#moduleSettings .cps-ew-access-cards-v4 article {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:center;
    gap:10px;
    min-width:0;
    padding:13px;
    border:1px solid #e1e7f1;
    border-radius:13px;
    background:rgba(255,255,255,.93);
}

#moduleSettings .cps-ew-access-card-icon-v4 {
    display:grid;
    place-items:center;
    width:35px;
    height:35px;
    border-radius:10px;
    font-size:10px;
    font-weight:950;
}

#moduleSettings .cps-ew-access-card-icon-v4.blue { background:#e8f0ff;color:#2869ca; }
#moduleSettings .cps-ew-access-card-icon-v4.purple { background:#f0eaff;color:#7451bb; }
#moduleSettings .cps-ew-access-card-icon-v4.teal { background:#e4f8f3;color:#168b79; }
#moduleSettings .cps-ew-access-card-icon-v4.orange { background:#fff1df;color:#a66b28; }

#moduleSettings .cps-ew-access-cards-v4 article > div {
    display:grid;
    gap:4px;
    min-width:0;
}

#moduleSettings .cps-ew-access-cards-v4 article b {
    color:#354b7b;
    font-size:11px;
}

#moduleSettings .cps-ew-access-cards-v4 article p {
    margin:0;
    color:#7d8aa2;
    font-size:9px;
    line-height:1.5;
}

#moduleSettings .cps-ew-access-cards-v4 article .cps-ew-pill {
    grid-column:2;
}

#moduleSettings .cps-ew-access-footer-v4 {
    display:grid;
    gap:5px;
    padding-top:11px;
    border-top:1px solid #e1e7f1;
    color:#7f8ba2;
    font-size:9px;
    line-height:1.5;
}

#moduleSettings .cps-ew-access-v4 button:focus-visible {
    outline:3px solid rgba(91,105,218,.35);
    outline-offset:2px;
}

/* Non-platform accounts must not see global platform controls */
#moduleSettings .cps-ew-platform-v3[hidden],
#moduleSettings .cps-ew-nav-button-v2[hidden] {
    display:none !important;
}

@media(max-width:850px) {
    #moduleSettings .cps-ew-access-cards-v4 {
        grid-template-columns:minmax(0,1fr);
    }
}

@media(max-width:720px) {
    #moduleSettings .cps-ew-access-v4 {
        padding:14px;
        gap:13px;
        border-radius:15px;
        scroll-margin-top:75px;
    }

    #moduleSettings .cps-ew-access-head-v4 {
        align-items:stretch;
    }

    #moduleSettings .cps-ew-access-head-actions-v4 {
        display:grid;
        grid-template-columns:1fr;
    }

    #moduleSettings .cps-ew-access-head-actions-v4 button {
        width:100%;
    }

    #moduleSettings .cps-ew-current-role-v4 {
        align-items:flex-start;
        flex-wrap:wrap;
    }

    #moduleSettings .cps-ew-current-role-v4 > .cps-ew-pill {
        margin-left:54px;
    }

    #moduleSettings .cps-ew-access-matrix-wrap-v4 {
        padding:11px;
    }

    #moduleSettings .cps-ew-access-matrix-title-v4 {
        align-items:flex-start;
    }
}

/* END CPS_ENTERPRISE_WORKSPACE_ACCESS_GOVERNANCE_V4 */


/* CPS_ENTERPRISE_WORKSPACE_AUDIT_EXPLORER_V5 */

#moduleSettings .cps-ew-audit-explorer-v5 {
    display:grid;
    gap:12px;
    width:100%;
    min-width:0;
    margin:13px 0 16px;
    padding:14px;
    box-sizing:border-box;
    border:1px solid #dfe6f2;
    border-radius:13px;
    background:linear-gradient(145deg,#f8fbff,#fbf9ff);
}

#moduleSettings .cps-ew-audit-explorer-head-v5 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

#moduleSettings .cps-ew-audit-eyebrow-v5 {
    color:#6954bc;
    font-size:8px;
    font-weight:950;
    letter-spacing:1px;
}

#moduleSettings .cps-ew-audit-explorer-head-v5 h5 {
    margin:4px 0;
    color:#344879;
    font-size:13px;
    font-weight:950;
}

#moduleSettings .cps-ew-audit-explorer-head-v5 p {
    margin:0;
    color:#8290a7;
    font-size:9px;
}

#moduleSettings .cps-ew-audit-readonly-v5 {
    padding:6px 9px;
    border-radius:20px;
    background:#e9f1ff;
    color:#3864b1;
    font-size:8px;
    font-weight:950;
}

#moduleSettings .cps-ew-audit-toolbar-v5 {
    display:grid;
    grid-template-columns:minmax(180px,2fr) repeat(3,minmax(110px,1fr));
    gap:9px;
    align-items:end;
}

#moduleSettings .cps-ew-audit-toolbar-v5 label {
    display:grid;
    gap:5px;
    min-width:0;
    color:#697994;
    font-size:9px;
    font-weight:850;
}

#moduleSettings .cps-ew-audit-toolbar-v5 input,
#moduleSettings .cps-ew-audit-toolbar-v5 select {
    width:100%;
    min-width:0;
    min-height:36px;
    padding:7px 9px;
    border:1px solid #dce4f1;
    border-radius:8px;
    background:#fff;
    color:#354b75;
    font:inherit;
    font-size:10px;
    box-sizing:border-box;
}

#moduleSettings .cps-ew-audit-actions-v5 {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
}

#moduleSettings .cps-ew-audit-actions-v5 button {
    min-height:34px;
    padding:7px 11px;
    font-size:9px;
}

#moduleSettings .cps-ew-audit-actions-v5 button:disabled {
    opacity:.45;
    cursor:not-allowed;
}

#moduleSettings .cps-ew-audit-summary-v5 {
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    gap:8px;
    padding:9px 11px;
    border:1px solid #e5eaf3;
    border-radius:8px;
    background:#fff;
    color:#6c7c97;
    font-size:9px;
    line-height:1.5;
}

#moduleSettings .cps-ew-audit-summary-v5 span:first-child {
    color:#3e5482;
    font-weight:950;
}

#moduleSettings .cps-ew-audit-results-v5 {
    display:grid;
    gap:7px;
    max-height:360px;
    overflow:auto;
    padding-right:3px;
}

#moduleSettings .cps-ew-audit-row-v5 {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-width:0;
    padding:10px 11px;
    border:1px solid #e4eaf4;
    border-radius:9px;
    background:#fff;
}

#moduleSettings .cps-ew-audit-row-main-v5 {
    display:grid;
    gap:4px;
    min-width:0;
}

#moduleSettings .cps-ew-audit-row-action-v5 {
    color:#354a7b;
    font-size:10px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-audit-row-entity-v5 {
    color:#6e7e99;
    font-size:9px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-audit-row-actor-v5 {
    color:#919bb0;
    font-size:8px;
    overflow-wrap:anywhere;
}

#moduleSettings .cps-ew-audit-row-date-v5 {
    flex:0 0 auto;
    color:#7d8aa2;
    font-size:9px;
    text-align:right;
}

#moduleSettings .cps-ew-audit-empty-v5 {
    padding:18px 12px;
    border:1px dashed #d5dfed;
    border-radius:9px;
    background:rgba(255,255,255,.75);
    color:#8290a7;
    font-size:10px;
    text-align:center;
}

#moduleSettings .cps-ew-audit-explorer-v5 button:focus-visible,
#moduleSettings .cps-ew-audit-toolbar-v5 input:focus-visible,
#moduleSettings .cps-ew-audit-toolbar-v5 select:focus-visible {
    outline:3px solid rgba(85,105,210,.3);
    outline-offset:2px;
}

@media(max-width:900px) {
    #moduleSettings .cps-ew-audit-toolbar-v5 {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    #moduleSettings .cps-ew-audit-explorer-v5 {
        padding:10px;
    }

    #moduleSettings .cps-ew-audit-toolbar-v5 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-audit-actions-v5 {
        display:grid;
        grid-template-columns:1fr;
    }

    #moduleSettings .cps-ew-audit-actions-v5 button {
        width:100%;
    }

    #moduleSettings .cps-ew-audit-row-v5 {
        align-items:flex-start;
        flex-direction:column;
        gap:6px;
    }

    #moduleSettings .cps-ew-audit-row-date-v5 {
        text-align:left;
    }
}

/* END CPS_ENTERPRISE_WORKSPACE_AUDIT_EXPLORER_V5 */


/* CPS_WORKSPACE_BRANDING_STYLE_V1 */
#moduleSettings .cps-ew-brand-persist-v1 {
    border-top: 4px solid #3478df;
    background:
      radial-gradient(ellipse at 0% 0%,rgba(52,120,223,.08),transparent 42%),
      linear-gradient(145deg,#fbfdff,#f9f8ff);
}

#moduleSettings .cps-ew-brand-form-v1 {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:13px;
    margin:14px 0;
}

#moduleSettings .cps-ew-brand-form-v1 label {
    display:grid;
    gap:6px;
    min-width:0;
    color:#65748e;
    font-size:10px;
    font-weight:800;
}

#moduleSettings .cps-ew-brand-form-v1 input,
#moduleSettings .cps-ew-brand-form-v1 select {
    width:100%;
    min-width:0;
    min-height:40px;
    box-sizing:border-box;
    border:1px solid #dce4f0;
    border-radius:9px;
    padding:8px 10px;
    background:#fff;
    color:#30436a;
    font:inherit;
}

#moduleSettings .cps-ew-brand-form-v1 input[type="color"] {
    padding:4px;
}

#moduleSettings .cps-ew-brand-actions-v1 {
    display:flex;
    flex-wrap:wrap;
    gap:9px;
}

#moduleSettings .cps-ew-brand-persist-v1 input:disabled,
#moduleSettings .cps-ew-brand-persist-v1 select:disabled {
    opacity:.65;
    cursor:not-allowed;
}

@media(max-width:720px) {
    #moduleSettings .cps-ew-brand-form-v1 {
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-brand-actions-v1 {
        display:grid;
        grid-template-columns:minmax(0,1fr);
    }

    #moduleSettings .cps-ew-brand-actions-v1 button {
        width:100%;
    }
}
/* END CPS_WORKSPACE_BRANDING_STYLE_V1 */


/* CPS_REPORTS_DASHBOARD_STYLE_V2 */
/* Compact the shared CPS welcome banner only while Reports is active. */
html.cps-reports-dashboard-v2 .app-content > .welcome.cps-welcome {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    width: 100% !important;
    height: 128px !important;
    min-height: 128px !important;
    max-height: 128px !important;
    margin: 0 0 18px !important;
    padding: 17px 26px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 18px !important;
}

html.cps-reports-dashboard-v2 .cps-welcome-banner-art {
    position: absolute !important;
    top: 50% !important;
    right: 24px !important;
    width: clamp(145px, 18vw, 220px) !important;
    height: 104px !important;
    max-width: 29% !important;
    max-height: 104px !important;
    object-fit: contain !important;
    transform: translateY(-50%) !important;
}

html.cps-reports-dashboard-v2 .welcome-copy {
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    max-width: calc(100% - 245px) !important;
    min-width: 0 !important;
}

html.cps-reports-dashboard-v2 #welcomeTitle {
    margin: 6px 0 !important;
    font-size: clamp(25px, 2.5vw, 35px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.7px !important;
}

html.cps-reports-dashboard-v2 #welcomeSub {
    max-width: 620px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
}

html.cps-reports-dashboard-v2 .welcome-actions {
    position: relative !important;
    z-index: 3 !important;
    flex: 0 0 auto !important;
}

/* Main Reports canvas */
html.cps-reports-dashboard-v2 #moduleReports {
    display: block;
    width: 100%;
    max-width: 1600px;
    min-width: 0;
    margin: 0 auto;
    padding: 0 0 28px;
    box-sizing: border-box;
}

html.cps-reports-dashboard-v2 #moduleReports > .module-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 2px 13px !important;
    border-bottom: 1px solid #e4eaf4 !important;
    box-sizing: border-box !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .module-heading > div {
    min-width: 0 !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .module-heading h2 {
    margin: 3px 0 5px !important;
    color: #19335f !important;
    font-size: clamp(19px, 2vw, 24px) !important;
    font-weight: 900 !important;
    letter-spacing: -.45px !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .module-heading p {
    margin: 0 !important;
    color: #7c8ba4 !important;
    font-size: 10px !important;
    line-height: 1.5 !important;
}

html.cps-reports-dashboard-v2 #exportSummaryBtn {
    min-height: 39px !important;
    padding: 0 15px !important;
    border: 1px solid #cbdaf4 !important;
    border-radius: 10px !important;
    background: linear-gradient(110deg,#fff,#f3f7ff) !important;
    color: #2856a2 !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    box-shadow: 0 4px 12px rgba(42,76,135,.07) !important;
}

/* Three aligned KPI cards */
html.cps-reports-dashboard-v2 #moduleReports > .report-metrics {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    align-items: stretch !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 5px !important;
    min-width: 0 !important;
    min-height: 112px !important;
    padding: 18px 21px !important;
    overflow: hidden !important;
    border: 1px solid #dfe8f5 !important;
    border-radius: 15px !important;
    box-shadow: 0 7px 20px rgba(29,55,102,.055) !important;
    box-sizing: border-box !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article:nth-child(1) {
    border-top: 3px solid #2871df !important;
    background: linear-gradient(135deg,#f2f7ff,#fff) !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article:nth-child(2) {
    border-top: 3px solid #159b83 !important;
    background: linear-gradient(135deg,#effbf8,#fff) !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article:nth-child(3) {
    border-top: 3px solid #e69a37 !important;
    background: linear-gradient(135deg,#fff8ed,#fff) !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article > span {
    display: block !important;
    margin: 0 !important;
    color: #71819d !important;
    font-size: 10px !important;
    font-weight: 850 !important;
    letter-spacing: .25px !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article > b {
    display: block !important;
    margin: 2px 0 0 !important;
    color: #1d3769 !important;
    font-size: clamp(27px, 3vw, 36px) !important;
    font-weight: 950 !important;
    line-height: 1.05 !important;
    font-variant-numeric: tabular-nums !important;
}

html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article > small {
    display: block !important;
    margin: 2px 0 0 !important;
    color: #8a97ac !important;
    font-size: 9px !important;
}

/* Workspace data summary */
html.cps-reports-dashboard-v2 #moduleReports > section.card {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 21px 22px !important;
    border: 1px solid #e2e9f3 !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg,#fff,#fbfcff) !important;
    box-shadow: 0 8px 24px rgba(30,56,100,.055) !important;
    box-sizing: border-box !important;
}

html.cps-reports-dashboard-v2 #moduleReports > section.card .panel-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    margin-bottom: 14px !important;
}

html.cps-reports-dashboard-v2 #moduleReports > section.card .panel-title h3 {
    margin: 0 !important;
    color: #243d6b !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

html.cps-reports-dashboard-v2 #moduleReports .report-summary {
    display: grid !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    align-items: stretch !important;
    gap: 11px !important;
    width: 100% !important;
    margin: 0 !important;
}

html.cps-reports-dashboard-v2 #moduleReports .report-summary > div {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;
    min-width: 0 !important;
    min-height: 74px !important;
    padding: 13px 15px !important;
    border: 1px solid #e7edf6 !important;
    border-radius: 11px !important;
    background: linear-gradient(145deg,#f7faff,#fff) !important;
    box-sizing: border-box !important;
}

html.cps-reports-dashboard-v2 #moduleReports .report-summary > div > span {
    display: block !important;
    color: #8794aa !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

html.cps-reports-dashboard-v2 #moduleReports .report-summary > div > b {
    display: block !important;
    margin: 0 !important;
    color: #2c426b !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.4 !important;
    overflow-wrap: anywhere !important;
}

html.cps-reports-dashboard-v2 #moduleReports > section.card > .design-note {
    margin: 15px 0 0 !important;
    padding: 10px 12px !important;
    border-left: 3px solid #d5a24c !important;
    border-radius: 7px !important;
    background: #fffaf1 !important;
    color: #847451 !important;
    font-size: 9px !important;
    line-height: 1.6 !important;
}

/* Tablet placement */
@media(max-width: 980px) {
    html.cps-reports-dashboard-v2 #moduleReports .report-summary {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}

/* Mobile placement */
@media(max-width: 640px) {
    html.cps-reports-dashboard-v2 .app-content > .welcome.cps-welcome {
        height: auto !important;
        min-height: 104px !important;
        max-height: none !important;
        align-items: flex-start !important;
        flex-direction: column !important;
        gap: 10px !important;
        padding: 17px !important;
    }

    html.cps-reports-dashboard-v2 .cps-welcome-banner-art {
        display: none !important;
    }

    html.cps-reports-dashboard-v2 .welcome-copy {
        max-width: 100% !important;
    }

    html.cps-reports-dashboard-v2 #welcomeTitle {
        font-size: 25px !important;
    }

    html.cps-reports-dashboard-v2 .welcome-actions {
        width: 100% !important;
    }

    html.cps-reports-dashboard-v2 #moduleReports > .module-heading {
        align-items: flex-start !important;
        flex-direction: column !important;
    }

    html.cps-reports-dashboard-v2 #exportSummaryBtn {
        width: 100% !important;
    }

    html.cps-reports-dashboard-v2 #moduleReports > .report-metrics {
        grid-template-columns: minmax(0,1fr) !important;
        gap: 10px !important;
    }

    html.cps-reports-dashboard-v2 #moduleReports > .report-metrics > article {
        min-height: 94px !important;
        padding: 15px 17px !important;
    }

    html.cps-reports-dashboard-v2 #moduleReports .report-summary {
        grid-template-columns: minmax(0,1fr) !important;
    }

    html.cps-reports-dashboard-v2 #moduleReports > section.card {
        padding: 15px !important;
    }
}

/* END CPS_REPORTS_DASHBOARD_STYLE_V2 */


/* CPS_REPORTS_SUITE_STYLE_V3 */

html.cps-reports-dashboard-v2 #moduleReports .cps-reports-suite-v3 {
  display:grid;
  gap:16px;
  width:100%;
  min-width:0;
  margin:18px 0 25px;
  color:#20385f;
}

html.cps-reports-dashboard-v2 #moduleReports .cps-r3-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  padding:17px 19px;
  border:1px solid #dce6f5;
  border-radius:15px;
  background:linear-gradient(115deg,#f2f7ff,#fff 65%,#f7f3ff);
}

.cps-r3-eyebrow {
  display:block;
  color:#526bd0;
  font-size:8px;
  font-weight:950;
  letter-spacing:1.5px;
}

.cps-r3-heading h3 {
  margin:5px 0;
  color:#1a3567;
  font-size:18px;
  font-weight:950;
}

.cps-r3-heading p {
  margin:0;
  color:#7a8aa5;
  font-size:10px;
  line-height:1.5;
}

.cps-r3-heading-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
}

.cps-r3-heading-actions button {
  min-height:36px;
  font-size:9px;
}

.cps-r3-filter-panel {
  padding:15px 17px;
  border:1px solid #e2e9f3;
  border-radius:13px;
  background:#fff;
}

.cps-r3-filter-title {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-bottom:11px;
  color:#344d78;
  font-size:11px;
}

.cps-r3-filter-title button {
  padding:6px 9px;
  font-size:9px;
}

.cps-r3-filters {
  display:grid;
  grid-template-columns:2fr 1.5fr 1.15fr 1fr 1fr;
  gap:9px;
  align-items:end;
}

.cps-r3-filters label {
  display:grid;
  gap:4px;
  min-width:0;
  margin:0;
  color:#71809a;
  font-size:9px;
  font-weight:850;
}

.cps-r3-filters input,
.cps-r3-filters select {
  width:100%;
  min-width:0;
  min-height:36px;
  margin:0;
  padding:7px 9px;
  border:1px solid #dfe6f1;
  border-radius:8px;
  color:#344a70;
  font-size:10px;
}

#cpsR3FilterNote {
  display:block;
  margin-top:10px;
  color:#8a97aa;
  font-size:9px;
  line-height:1.5;
}

.cps-r3-kpis {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:11px;
}

.cps-r3-kpi {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  min-width:0;
  min-height:106px;
  padding:15px 17px;
  border:1px solid #e0e8f3;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 16px rgba(30,55,100,.045);
}

.cps-r3-kpi span {
  color:#72829c;
  font-size:9px;
  font-weight:850;
}

.cps-r3-kpi b {
  color:#213e70;
  font-size:27px;
  font-weight:950;
  line-height:1.05;
  font-variant-numeric:tabular-nums;
}

.cps-r3-kpi small {
  color:#929db0;
  font-size:8px;
}

.cps-r3-kpi.kpi-blue { border-top:3px solid #3276df; }
.cps-r3-kpi.kpi-green { border-top:3px solid #159b83; }
.cps-r3-kpi.kpi-orange { border-top:3px solid #e39b3e; }
.cps-r3-kpi.kpi-purple { border-top:3px solid #8060d6; }

.cps-r3-chart-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:13px;
}

.cps-r3-panel {
  min-width:0;
  padding:17px;
  border:1px solid #e1e8f2;
  border-radius:14px;
  background:#fff;
  box-shadow:0 5px 17px rgba(28,52,92,.04);
}

.cps-r3-panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}

.cps-r3-panel-heading span {
  color:#687bd0;
  font-size:8px;
  font-weight:950;
  letter-spacing:1px;
}

.cps-r3-panel-heading h4 {
  margin:5px 0 0;
  color:#263e68;
  font-size:13px;
  font-weight:900;
}

.cps-r3-panel-heading small {
  color:#8d99ad;
  font-size:8px;
}

.cps-r3-bars {
  display:grid;
  gap:12px;
}

.cps-r3-bar-row {
  display:grid;
  gap:5px;
  min-width:0;
}

.cps-r3-bar-label {
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#60728f;
  font-size:9px;
}

.cps-r3-bar-label span {
  min-width:0;
  overflow-wrap:anywhere;
}

.cps-r3-bar-label b {
  color:#2d4773;
  font-size:9px;
}

.cps-r3-track {
  height:8px;
  overflow:hidden;
  border-radius:20px;
  background:#eef2f8;
}

.cps-r3-track i {
  display:block;
  height:100%;
  min-width:3px;
  border-radius:inherit;
  background:linear-gradient(90deg,#347be2,#7160da);
}

.cps-r3-table-wrap {
  width:100%;
  overflow-x:auto;
}

.cps-r3-table {
  width:100%;
  border-collapse:collapse;
  font-size:10px;
}

.cps-r3-table th {
  padding:10px;
  border-bottom:1px solid #e7edf5;
  background:#f7f9fd;
  color:#7c8ba2;
  font-size:8px;
  font-weight:900;
  text-align:left;
  white-space:nowrap;
}

.cps-r3-table td {
  padding:11px 10px;
  border-bottom:1px solid #edf1f6;
  color:#405677;
  overflow-wrap:anywhere;
}

.cps-r3-table td:not(:first-child) {
  font-weight:850;
  font-variant-numeric:tabular-nums;
}

.cps-r3-recent-orders {
  display:grid;
  gap:8px;
}

.cps-r3-order-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  padding:11px 12px;
  border:1px solid #e8edf5;
  border-radius:9px;
  background:#fbfcff;
}

.cps-r3-order-row b,
.cps-r3-order-row small {
  display:block;
  overflow-wrap:anywhere;
}

.cps-r3-order-row b {
  color:#354e76;
  font-size:10px;
}

.cps-r3-order-row small {
  margin-top:4px;
  color:#8996aa;
  font-size:8px;
}

.cps-r3-order-row>span {
  padding:5px 8px;
  border-radius:20px;
  background:#eef3ff;
  color:#4662a8;
  font-size:8px;
  font-weight:900;
}

.cps-r3-audit-rows {
  display:grid;
  gap:7px;
  margin-top:11px;
}

.cps-r3-audit-rows article {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  padding:10px;
  border:1px solid #e9edf5;
  border-radius:8px;
  background:#fbfcff;
}

.cps-r3-audit-rows b {
  color:#38517b;
  font-size:9px;
}

.cps-r3-audit-rows span,
.cps-r3-audit-rows small {
  color:#8592a7;
  font-size:8px;
}

#cpsR3AuditStatus {
  color:#8592a7;
  font-size:9px;
  line-height:1.5;
}

.cps-r3-finance-bridge {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:15px;
  padding:17px 19px;
  border:1px solid #dce5f3;
  border-radius:13px;
  background:linear-gradient(110deg,#f1f7ff,#f7f4ff);
}

.cps-r3-finance-bridge span {
  color:#5e70c1;
  font-size:8px;
  font-weight:950;
  letter-spacing:1px;
}

.cps-r3-finance-bridge h4 {
  margin:5px 0;
  color:#29426e;
  font-size:13px;
}

.cps-r3-finance-bridge p {
  max-width:700px;
  margin:0;
  color:#7d8ba2;
  font-size:9px;
  line-height:1.5;
}

.cps-r3-finance-bridge button {
  min-height:37px;
  font-size:9px;
}

.cps-r3-empty {
  padding:17px 12px;
  border:1px dashed #d8e1ed;
  border-radius:9px;
  color:#8a97aa;
  font-size:9px;
  text-align:center;
}

.cps-r3-footer {
  padding:10px 3px;
  color:#929db0;
  font-size:8px;
  line-height:1.5;
}

@media(max-width:1100px) {
  .cps-r3-filters {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .cps-r3-kpis {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px) {
  .cps-r3-chart-grid {
    grid-template-columns:minmax(0,1fr);
  }

  .cps-r3-heading {
    align-items:flex-start;
  }

  .cps-r3-heading-actions {
    width:100%;
  }

  .cps-r3-heading-actions button {
    flex:1 1 130px;
  }
}

@media(max-width:520px) {
  .cps-r3-filters {
    grid-template-columns:minmax(0,1fr);
  }

  .cps-r3-kpis {
    grid-template-columns:minmax(0,1fr);
  }

  .cps-r3-kpi {
    min-height:88px;
  }

  .cps-r3-panel {
    padding:13px;
  }

  .cps-r3-filter-panel {
    padding:12px;
  }

  .cps-r3-finance-bridge {
    align-items:flex-start;
    flex-direction:column;
  }

  .cps-r3-finance-bridge button {
    width:100%;
  }
}

/* Reports-only print/PDF output */
@media print {
  html.cps-reports-dashboard-v2 body * {
    visibility:hidden !important;
  }

  html.cps-reports-dashboard-v2 #moduleReports,
  html.cps-reports-dashboard-v2 #moduleReports * {
    visibility:visible !important;
  }

  html.cps-reports-dashboard-v2 #moduleReports {
    display:block !important;
    position:absolute !important;
    left:0 !important;
    top:0 !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
    background:#fff !important;
  }

  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-heading-actions,
  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-filter-panel,
  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-audit-panel button {
    display:none !important;
  }

  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-panel,
  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-kpi {
    break-inside:avoid;
    box-shadow:none !important;
  }

  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-chart-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  html.cps-reports-dashboard-v2 #moduleReports .cps-r3-kpis {
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}

/* END CPS_REPORTS_SUITE_STYLE_V3 */


/* CPS_PRODUCTION_CONTROL_STYLE_V3 */

html.cps-production-control-v3 .app-content > .welcome.cps-welcome {
  height:124px !important;
  min-height:124px !important;
  max-height:124px !important;
  margin-bottom:16px !important;
  padding:16px 24px !important;
  overflow:hidden !important;
  border-radius:17px !important;
}

html.cps-production-control-v3 .cps-welcome-banner-art {
  width:clamp(140px,18vw,210px) !important;
  height:100px !important;
  max-height:100px !important;
  object-fit:contain !important;
}

html.cps-production-control-v3 .welcome-copy {
  max-width:calc(100% - 225px) !important;
}

html.cps-production-control-v3 #welcomeTitle {
  font-size:clamp(24px,2.5vw,34px) !important;
  margin:5px 0 !important;
}

html.cps-production-control-v3 #orderCard {
  width:100% !important;
  min-width:0 !important;
  padding:clamp(13px,2vw,22px) !important;
  border:1px solid #dfe8f4 !important;
  border-radius:17px !important;
  background:linear-gradient(145deg,#fff,#fbfcff) !important;
  box-shadow:0 8px 26px rgba(25,52,101,.06) !important;
}

html.cps-production-control-v3 #orderCard > .section-head {
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:14px !important;
  padding:0 0 14px !important;
  margin:0 0 14px !important;
  border-bottom:1px solid #e7edf5 !important;
}

html.cps-production-control-v3 #orderCard > .section-head h2 {
  color:#203d70 !important;
  font-size:19px !important;
  font-weight:950 !important;
}

html.cps-production-control-v3 #orderCard > .section-head p {
  color:#7f8da4 !important;
  font-size:10px !important;
}

html.cps-production-control-v3 #newOrderBtn {
  min-height:39px !important;
  padding:0 17px !important;
  border:0 !important;
  border-radius:10px !important;
  background:linear-gradient(105deg,#175ed6,#6848d8) !important;
  box-shadow:0 5px 13px rgba(60,83,195,.2) !important;
  color:#fff !important;
  font-size:10px !important;
  font-weight:900 !important;
}

html.cps-production-control-v3 .cps-production-control-v3 {
  display:grid;
  gap:15px;
  min-width:0;
  width:100%;
  margin:0 0 17px;
  color:#243d69;
}

.cps-p3-hero {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:115px;
  padding:19px 23px;
  overflow:hidden;
  border-radius:15px;
  color:#fff;
  background:linear-gradient(110deg,#0757c9,#087ee8 54%,#5134c8);
  box-shadow:0 9px 22px rgba(35,88,179,.17);
}

.cps-p3-hero:after {
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:22%;
  top:-125px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  box-shadow:0 0 0 17px rgba(255,255,255,.045),
             0 0 0 36px rgba(255,255,255,.03);
}

.cps-p3-hero>div:first-child {
  position:relative;
  z-index:2;
  min-width:0;
}

.cps-p3-kicker {
  color:#c9e8ff;
  font-size:8px;
  font-weight:950;
  letter-spacing:1.5px;
}

.cps-p3-hero h2 {
  margin:7px 0 5px;
  color:#fff;
  font-size:clamp(21px,2.3vw,29px);
  font-weight:950;
  letter-spacing:-.6px;
}

.cps-p3-hero p {
  margin:0;
  color:rgba(255,255,255,.9);
  font-size:10px;
  line-height:1.5;
}

.cps-p3-hero-mark {
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  flex:0 0 145px;
  min-height:70px;
  border:1px solid rgba(255,255,255,.32);
  border-radius:13px;
  background:rgba(255,255,255,.12);
}

.cps-p3-hero-mark b {
  color:#fff;
  font-size:29px;
  font-weight:1000;
  letter-spacing:2px;
}

.cps-p3-hero-mark span {
  color:#d8eaff;
  font-size:7px;
  font-weight:850;
  letter-spacing:1px;
}

.cps-p3-kpi-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:9px;
}

.cps-p3-kpi {
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  min-width:0;
  min-height:92px;
  padding:12px 13px;
  overflow:hidden;
  border:1px solid #e1e8f2;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 14px rgba(31,55,98,.045);
}

.cps-p3-kpi span {
  color:#74829a;
  font-size:8px;
  font-weight:900;
  line-height:1.35;
}

.cps-p3-kpi b {
  color:#203b6a;
  font-size:25px;
  font-weight:950;
  line-height:1;
  font-variant-numeric:tabular-nums;
}

.cps-p3-kpi small {
  color:#929eb0;
  font-size:7px;
  line-height:1.4;
}

.cps-p3-kpi.blue {border-top:3px solid #3478e1;background:linear-gradient(145deg,#f0f6ff,#fff)}
.cps-p3-kpi.purple {border-top:3px solid #8060d8;background:linear-gradient(145deg,#f7f2ff,#fff)}
.cps-p3-kpi.orange {border-top:3px solid #e99a3d;background:linear-gradient(145deg,#fff7ed,#fff)}
.cps-p3-kpi.teal {border-top:3px solid #159c9a;background:linear-gradient(145deg,#edfbfa,#fff)}
.cps-p3-kpi.green {border-top:3px solid #20a56d;background:linear-gradient(145deg,#effbf5,#fff)}
.cps-p3-kpi.red {border-top:3px solid #d75a63;background:linear-gradient(145deg,#fff2f3,#fff)}

.cps-p3-panel {
  min-width:0;
  padding:15px 16px;
  border:1px solid #e0e8f2;
  border-radius:13px;
  background:#fff;
  box-shadow:0 5px 17px rgba(28,52,95,.04);
}

.cps-p3-panel-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:13px;
}

.cps-p3-panel-head>div>span {
  color:#6577ce;
  font-size:7px;
  font-weight:950;
  letter-spacing:1.1px;
}

.cps-p3-panel-head h3 {
  margin:4px 0 0;
  color:#243d68;
  font-size:13px;
  font-weight:950;
}

.cps-p3-panel-head>small {
  color:#8996aa;
  font-size:8px;
}

.cps-p3-pipeline {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:8px;
}

.cps-p3-pipeline button {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:5px;
  min-width:0;
  min-height:81px;
  padding:11px;
  border:1px solid transparent;
  border-radius:11px;
  text-align:left;
  cursor:pointer;
  transition:transform .16s ease,box-shadow .16s ease;
}

.cps-p3-pipeline button:hover {
  transform:translateY(-2px);
  box-shadow:0 5px 13px rgba(30,52,94,.09);
}

.cps-p3-pipeline button small {
  font-size:7px;
  font-weight:950;
  letter-spacing:.5px;
}

.cps-p3-pipeline button b {
  font-size:23px;
  font-weight:950;
  line-height:1;
}

.cps-p3-pipeline button span {
  font-size:7px;
  font-weight:750;
  line-height:1.3;
}

.cps-p3-pipeline .stage-new {background:#eef5ff;border-color:#dce9ff;color:#2768c1}
.cps-p3-pipeline .stage-design {background:#f5f0ff;border-color:#e5dcff;color:#7351bf}
.cps-p3-pipeline .stage-print {background:#fff5e9;border-color:#f8e2c7;color:#b7772a}
.cps-p3-pipeline .stage-ready {background:#eafafa;border-color:#d2f0ee;color:#168c89}
.cps-p3-pipeline .stage-dispatched {background:#ecf9f1;border-color:#d4efdf;color:#218453}

.cps-p3-filter-grid {
  display:grid;
  grid-template-columns:1.7fr 1.3fr 1.1fr 1.1fr;
  gap:10px;
  align-items:end;
}

.cps-p3-filter-grid label {
  display:grid;
  gap:5px;
  min-width:0;
  margin:0;
  color:#72819a;
  font-size:8px;
  font-weight:900;
}

.cps-p3-filter-grid input,
.cps-p3-filter-grid select {
  width:100%;
  min-width:0;
  min-height:36px;
  margin:0;
  padding:7px 9px;
  border:1px solid #dfe6f1;
  border-radius:8px;
  color:#354d75;
  font-size:9px;
}

.cps-p3-filter-foot {
  margin-top:10px;
  color:#8996aa;
  font-size:8px;
}

.cps-p3-action-group {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}

.cps-p3-action-group button {
  min-height:32px;
  padding:0 10px;
  font-size:8px;
}

.cps-production-order-list-v3 {
  display:grid !important;
  gap:8px !important;
  width:100% !important;
  min-width:0 !important;
}

.cps-p3-order-row {
  display:grid;
  grid-template-columns:minmax(220px,2fr) minmax(75px,.6fr) minmax(100px,.8fr) minmax(135px,1fr);
  align-items:center;
  gap:11px;
  min-width:0;
  padding:12px;
  border:1px solid #e5ebf4;
  border-left:4px solid #4b7fe0;
  border-radius:10px;
  background:linear-gradient(110deg,#f8fbff,#fff);
}

.cps-p3-order-row.is-overdue {
  border-left-color:#d75a63;
  background:linear-gradient(110deg,#fff6f6,#fff);
}

.cps-p3-order-identity {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.cps-p3-order-icon {
  display:grid;
  place-items:center;
  flex:0 0 37px;
  width:37px;
  height:37px;
  border-radius:10px;
  background:linear-gradient(140deg,#dceaff,#eee8ff);
  color:#315db0;
  font-size:10px;
  font-weight:950;
}

.cps-p3-order-identity>div {
  display:grid;
  gap:3px;
  min-width:0;
}

.cps-p3-order-identity b {
  color:#4469aa;
  font-size:8px;
  font-weight:950;
}

.cps-p3-order-identity strong {
  color:#293e63;
  font-size:10px;
  overflow-wrap:anywhere;
}

.cps-p3-order-identity small {
  color:#8996a9;
  font-size:8px;
  overflow-wrap:anywhere;
}

.cps-p3-order-quantity,
.cps-p3-order-due {
  display:grid;
  gap:4px;
  min-width:0;
}

.cps-p3-order-quantity span,
.cps-p3-order-due span,
.cps-p3-status-control>span {
  color:#929db0;
  font-size:7px;
  font-weight:950;
  letter-spacing:.6px;
}

.cps-p3-order-quantity b,
.cps-p3-order-due b {
  color:#314c78;
  font-size:11px;
  font-weight:950;
  overflow-wrap:anywhere;
}

.cps-p3-order-quantity small,
.cps-p3-order-due small {
  color:#8996aa;
  font-size:7px;
}

.cps-p3-order-due .cps-p3-overdue-label {
  color:#c34b55;
  font-weight:950;
}

.cps-p3-status-control {
  display:grid;
  gap:5px;
  min-width:0;
  margin:0;
}

.cps-p3-status-select {
  width:100% !important;
  min-width:0 !important;
  min-height:34px !important;
  margin:0 !important;
  padding:6px 7px !important;
  border:1px solid #dce5f2 !important;
  border-radius:8px !important;
  background:#f5f8ff !important;
  color:#405a85 !important;
  font-size:8px !important;
  font-weight:900 !important;
}

.cps-p3-status-select.status-new {background:#edf4ff !important;color:#2864b7 !important}
.cps-p3-status-select.status-design {background:#f4efff !important;color:#7350bd !important}
.cps-p3-status-select.status-printing {background:#fff4e8 !important;color:#a66a20 !important}
.cps-p3-status-select.status-ready {background:#e9f9f7 !important;color:#16847d !important}
.cps-p3-status-select.status-dispatched {background:#eaf8ef !important;color:#20804f !important}

.cps-p3-workload-table-wrap {
  width:100%;
  overflow-x:auto;
}

.cps-p3-workload-table {
  width:100%;
  border-collapse:collapse;
  font-size:9px;
}

.cps-p3-workload-table th {
  padding:9px;
  background:#f5f8fd;
  color:#7c8ba2;
  font-size:7px;
  font-weight:950;
  text-align:left;
}

.cps-p3-workload-table td {
  padding:10px 9px;
  border-bottom:1px solid #edf1f6;
  color:#415879;
  overflow-wrap:anywhere;
}

.cps-p3-workload-table td:not(:first-child) {
  color:#294a7d;
  font-weight:900;
  font-variant-numeric:tabular-nums;
}

.cps-p3-no-results {
  padding:20px 12px;
  border:1px dashed #d6e0ed;
  border-radius:10px;
  background:#fbfcff;
  color:#8795aa;
  font-size:9px;
  text-align:center;
}

html.cps-production-control-v3 #orderCard > #orderForm {
  margin:0 0 15px !important;
  padding:14px !important;
  border:1px solid #dfe7f4 !important;
  border-radius:11px !important;
  background:#f7faff !important;
}

@media(max-width:1180px) {
  .cps-p3-kpi-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .cps-p3-order-row {
    grid-template-columns:minmax(180px,1.6fr) minmax(65px,.6fr) minmax(95px,.8fr) minmax(125px,1fr);
  }
}

@media(max-width:850px) {
  .cps-p3-pipeline {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .cps-p3-filter-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .cps-p3-order-row {
    grid-template-columns:minmax(0,1fr) minmax(100px,.6fr);
  }
}

@media(max-width:600px) {
  html.cps-production-control-v3 .app-content > .welcome.cps-welcome {
    height:auto !important;
    min-height:100px !important;
    max-height:none !important;
    padding:15px !important;
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  html.cps-production-control-v3 .cps-welcome-banner-art {
    display:none !important;
  }

  html.cps-production-control-v3 .welcome-copy {
    max-width:100% !important;
  }

  .cps-p3-hero {
    align-items:flex-start;
    flex-direction:column;
    padding:17px;
  }

  .cps-p3-hero-mark {
    display:none;
  }

  .cps-p3-kpi-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .cps-p3-pipeline {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .cps-p3-filter-grid {
    grid-template-columns:minmax(0,1fr);
  }

  .cps-p3-order-row {
    grid-template-columns:minmax(0,1fr);
    gap:10px;
  }

  .cps-p3-order-quantity,
  .cps-p3-order-due {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:7px;
  }

  .cps-p3-order-quantity span,
  .cps-p3-order-due span {
    flex-basis:100%;
  }

  .cps-p3-status-control {
    max-width:none;
  }

  .cps-p3-panel {
    padding:12px;
  }

  .cps-p3-action-group {
    width:100%;
  }

  .cps-p3-action-group button {
    flex:1 1 100px;
  }
}

@media(max-width:360px) {
  .cps-p3-kpi-grid {
    grid-template-columns:minmax(0,1fr);
  }

  .cps-p3-pipeline {
    grid-template-columns:minmax(0,1fr);
  }
}

/* Print only the Production Orders module when PDF is requested. */
@media print {
  html.cps-production-control-v3 body * {
    visibility:hidden !important;
  }

  html.cps-production-control-v3 #orderCard,
  html.cps-production-control-v3 #orderCard * {
    visibility:visible !important;
  }

  html.cps-production-control-v3 #orderCard {
    display:block !important;
    position:absolute !important;
    inset:0 auto auto 0 !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    box-shadow:none !important;
    background:#fff !important;
  }

  html.cps-production-control-v3 #orderCard #orderForm,
  html.cps-production-control-v3 #orderCard #newOrderBtn,
  html.cps-production-control-v3 #orderCard .cps-p3-filter-grid,
  html.cps-production-control-v3 #orderCard .cps-p3-action-group,
  html.cps-production-control-v3 #orderCard .cps-p3-panel-head button {
    display:none !important;
  }

  html.cps-production-control-v3 #orderCard .cps-p3-order-row,
  html.cps-production-control-v3 #orderCard .cps-p3-panel,
  html.cps-production-control-v3 #orderCard .cps-p3-kpi {
    break-inside:avoid;
    box-shadow:none !important;
  }

  html.cps-production-control-v3 #orderCard .cps-p3-order-row {
    grid-template-columns:2fr .6fr .8fr 1fr !important;
  }
}

/* END CPS_PRODUCTION_CONTROL_STYLE_V3 */


/* CPS_PRODUCTION_PRIVACY_FOOTER_STYLE_V1 */
html.cps-production-control-v3 .cps-production-privacy-footer-v1 {
    display:flex !important;
    align-items:center !important;
    gap:9px !important;
    width:100% !important;
    max-width:100% !important;
    min-height:0 !important;
    margin:12px 0 4px !important;
    padding:8px 12px !important;
    border:1px solid #dfe8f3 !important;
    border-left:3px solid #7194c4 !important;
    border-radius:8px !important;
    background:linear-gradient(100deg,#f5f9ff,#fbfcff) !important;
    box-shadow:none !important;
    color:#71819a !important;
    font-size:8px !important;
    font-weight:550 !important;
    line-height:1.5 !important;
    text-align:left !important;
    overflow-wrap:anywhere !important;
    box-sizing:border-box !important;
}

html.cps-production-control-v3 .cps-production-privacy-footer-v1::before {
    content:"i";
    display:grid;
    place-items:center;
    flex:0 0 17px;
    width:17px;
    height:17px;
    border-radius:50%;
    background:#e5eefb;
    color:#456c9e;
    font-size:10px;
    font-weight:950;
}

@media(max-width:600px) {
    html.cps-production-control-v3 .cps-production-privacy-footer-v1 {
        margin-top:9px !important;
        padding:7px 9px !important;
        font-size:7.5px !important;
        gap:7px !important;
    }
}

/* END CPS_PRODUCTION_PRIVACY_FOOTER_STYLE_V1 */


/* CPS_PRODUCTION_CONTROL_STYLE_V4 */

html.cps-production-control-v4-active #cpsProductionControlV3 {
  display:none !important;
}

html.cps-production-control-v4-active #orders,
html.cps-production-control-v4-active #orderNoResults {
  display:none !important;
}

html.cps-production-control-v4-active .app-content > .welcome.cps-welcome {
  min-height:112px !important;
  height:112px !important;
  max-height:112px !important;
  margin-bottom:13px !important;
  padding:15px 22px !important;
  overflow:hidden !important;
}

html.cps-production-control-v4-active .cps-welcome-banner-art {
  max-height:90px !important;
  width:clamp(120px,16vw,190px) !important;
  height:90px !important;
  object-fit:contain !important;
}

html.cps-production-control-v4-active .welcome-copy {
  max-width:calc(100% - 200px) !important;
}

.cps-production-control-v4 {
  display:grid;
  gap:14px;
  width:100%;
  min-width:0;
  margin:0 0 17px;
}

.cps-p4-hero {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:17px;
  min-height:115px;
  padding:19px 23px;
  border-radius:16px;
  color:#fff;
  background:linear-gradient(110deg,#0755c8,#087ee5 55%,#6138ca);
  box-shadow:0 9px 22px rgba(35,80,175,.16);
}

.cps-p4-hero>div:first-child {min-width:0}
.cps-p4-hero span {color:#cdeaff;font-size:8px;font-weight:950;letter-spacing:1.2px}
.cps-p4-hero h2 {margin:7px 0 5px;color:#fff;font-size:clamp(21px,2.5vw,30px);font-weight:950}
.cps-p4-hero p {margin:0;color:#e2efff;font-size:10px;line-height:1.5}
.cps-p4-brand-mark {display:flex;flex:0 0 130px;flex-direction:column;align-items:center;justify-content:center;min-height:72px;border:1px solid #ffffff55;border-radius:12px;background:#ffffff18}
.cps-p4-brand-mark b {font-size:28px;font-weight:1000;letter-spacing:2px}
.cps-p4-brand-mark small {color:#dcecff;font-size:7px;font-weight:900;letter-spacing:1px}

.cps-p4-kpis {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px}
.cps-p4-kpis article {display:flex;flex-direction:column;justify-content:center;gap:5px;min-width:0;min-height:90px;padding:12px;border:1px solid #e1e8f2;border-radius:12px;background:#fff;box-shadow:0 4px 13px #21395f0b}
.cps-p4-kpis article span {color:#72829a;font-size:8px;font-weight:900}
.cps-p4-kpis article b {color:#233d6a;font-size:23px;font-weight:950;line-height:1.05;font-variant-numeric:tabular-nums}
.cps-p4-kpis article small {color:#929daf;font-size:7px}
.cps-p4-kpis .p4-blue {border-top:3px solid #3478df;background:linear-gradient(145deg,#f0f6ff,#fff)}
.cps-p4-kpis .p4-purple {border-top:3px solid #805fd4;background:linear-gradient(145deg,#f5f0ff,#fff)}
.cps-p4-kpis .p4-orange {border-top:3px solid #e59a38;background:linear-gradient(145deg,#fff6e9,#fff)}
.cps-p4-kpis .p4-teal {border-top:3px solid #169c9a;background:linear-gradient(145deg,#edfbfa,#fff)}
.cps-p4-kpis .p4-green {border-top:3px solid #25a46d;background:linear-gradient(145deg,#effbf5,#fff)}
.cps-p4-kpis .p4-red {border-top:3px solid #d65c66;background:linear-gradient(145deg,#fff1f2,#fff)}

.cps-p4-panel {min-width:0;padding:15px 16px;border:1px solid #e0e8f2;border-radius:13px;background:#fff;box-shadow:0 5px 16px #1e365d09}
.cps-p4-panel-head {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:13px}
.cps-p4-panel-head>div>span {color:#6878cc;font-size:7px;font-weight:950;letter-spacing:1px}
.cps-p4-panel-head h3 {margin:4px 0 0;color:#263f6b;font-size:13px;font-weight:950}
.cps-p4-panel-head>small {color:#8b97aa;font-size:8px}
.cps-p4-panel-head button {font-size:8px}

.cps-p4-board {display:grid;grid-template-columns:repeat(5,minmax(205px,1fr));gap:9px;width:100%;overflow-x:auto;padding-bottom:5px;scrollbar-width:thin}
.cps-p4-lane {min-width:205px;padding:8px;border:1px solid #e2e9f2;border-radius:11px;background:#f8faff;transition:background .15s,border-color .15s}
.cps-p4-lane.is-drop-target {border-color:#477ce0;background:#edf4ff}
.cps-p4-lane>header {display:grid;gap:4px;padding:6px 5px 10px}
.cps-p4-lane>header b {font-size:9px;font-weight:950;letter-spacing:.4px}
.cps-p4-lane>header span {color:#8391a6;font-size:7px}
.lane-new>header b {color:#286ac2}
.lane-design>header b {color:#7551bf}
.lane-printing>header b {color:#b47626}
.lane-ready>header b {color:#168c89}
.lane-dispatched>header b {color:#218352}
.cps-p4-lane-content {display:grid;align-content:start;gap:7px;min-height:95px}
.cps-p4-lane-empty {padding:17px 8px;border:1px dashed #d9e2ef;border-radius:8px;color:#95a0b1;font-size:8px;text-align:center}

.cps-p4-order-card {display:grid;gap:6px;min-width:0;padding:10px;border:1px solid #e1e8f2;border-radius:9px;background:#fff;box-shadow:0 3px 9px #20385d0a;cursor:grab}
.cps-p4-order-card.is-overdue {border-left:3px solid #d95d67}
.cps-p4-order-card.is-dragging {opacity:.45}
.cps-p4-order-card-top {display:flex;justify-content:space-between;align-items:center;gap:5px}
.cps-p4-select-order {display:flex;align-items:center;gap:4px;margin:0;color:#8290a5;font-size:7px}
.cps-p4-select-order input {width:auto;margin:0}
.cps-p4-priority {padding:4px 6px;border-radius:15px;font-size:7px;font-weight:950}
.cps-p4-priority.urgent {background:#fff0f0;color:#bd444c}
.cps-p4-priority.high {background:#fff5e8;color:#a46b24}
.cps-p4-priority.normal {background:#edf5ff;color:#416aa8}
.cps-p4-order-card>b {color:#4468a8;font-size:8px}
.cps-p4-order-card>strong {color:#304667;font-size:9px;overflow-wrap:anywhere}
.cps-p4-order-card>small {color:#8592a7;font-size:7px;overflow-wrap:anywhere}
.cps-p4-order-info {display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;color:#74849d;font-size:7px}
.cps-p4-order-info b {color:#2d4a78;font-size:9px}
.cps-p4-due-label {color:#7188a8;font-size:7px;font-weight:900}
.cps-p4-due-label.overdue {color:#c34954}
.cps-p4-card-status {display:grid;gap:4px;margin:2px 0 0;color:#8d99ad;font-size:7px;font-weight:900}
.cps-p4-card-status select {min-width:0;width:100%;min-height:30px;margin:0;padding:5px;border:1px solid #dfe7f2;border-radius:7px;background:#f5f8ff;color:#3c5884;font-size:8px;font-weight:850}

.cps-p4-filters {display:grid;grid-template-columns:1.5fr 1.3fr 1fr 1fr 1fr;gap:9px}
.cps-p4-filters label {display:grid;gap:4px;min-width:0;margin:0;color:#7a8aa1;font-size:8px;font-weight:900}
.cps-p4-filters input,.cps-p4-filters select {width:100%;min-width:0;min-height:35px;margin:0;padding:7px 8px;border:1px solid #e0e7f2;border-radius:8px;color:#344d75;font-size:9px}
.cps-p4-bulk-bar {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:10px;border:1px solid #e4eaf4;border-radius:9px;background:#f7f9fd}
.cps-p4-bulk-bar>span {margin-right:auto;color:#637792;font-size:8px;font-weight:900}
.cps-p4-bulk-bar select {width:auto;min-width:140px;min-height:32px;margin:0;padding:5px 7px;font-size:8px}
.cps-p4-bulk-bar button {min-height:32px;padding:0 11px;font-size:8px}
.cps-p4-filter-summary {display:block;margin-top:9px;color:#8a97aa;font-size:8px}

.cps-p4-two-col {display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}
.cps-p4-table-wrap {width:100%;overflow-x:auto}
.cps-p4-table {width:100%;border-collapse:collapse;font-size:8px}
.cps-p4-table th {padding:9px;background:#f4f7fc;color:#8090a6;font-size:7px;text-align:left}
.cps-p4-table td {padding:9px;border-bottom:1px solid #edf1f6;color:#405979;overflow-wrap:anywhere}
.cps-p4-table td:not(:first-child) {font-weight:900;font-variant-numeric:tabular-nums}
.cps-p4-due-list {display:grid;gap:7px}
.cps-p4-due-row {display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;border:1px solid #e8edf5;border-radius:8px;background:#fbfcff}
.cps-p4-due-row>div {min-width:0;display:grid;gap:4px}
.cps-p4-due-row b {color:#385276;font-size:8px}
.cps-p4-due-row small {color:#8996aa;font-size:7px}
.cps-p4-due-row>span {color:#657fac;font-size:7px;font-weight:900;white-space:nowrap}
.cps-p4-due-row.overdue>span {color:#c34954}
.cps-p4-empty {padding:16px 9px;border:1px dashed #d9e2ef;border-radius:8px;color:#8b98aa;font-size:8px;text-align:center}
.cps-p4-buttons {display:flex;flex-wrap:wrap;gap:6px}
.cps-p4-buttons button {min-height:33px;padding:0 10px;font-size:8px}
.cps-p4-note {margin:0;color:#8794a8;font-size:8px;line-height:1.5}
.cps-p4-module-notice {display:grid;gap:5px;padding:12px 14px;border:1px dashed #d6e0ed;border-radius:10px;background:#f8faff}
.cps-p4-module-notice b {color:#526c9a;font-size:9px}
.cps-p4-module-notice span {color:#657eaa;font-size:8px}
.cps-p4-module-notice small {color:#8b98ab;font-size:7px;line-height:1.5}

@media(max-width:1150px) {
  .cps-p4-kpis {grid-template-columns:repeat(3,minmax(0,1fr))}
  .cps-p4-filters {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:780px) {
  .cps-p4-two-col {grid-template-columns:1fr}
  .cps-p4-board {grid-template-columns:repeat(5,205px)}
}
@media(max-width:600px) {
  html.cps-production-control-v4-active .app-content > .welcome.cps-welcome {height:auto !important;min-height:95px !important;max-height:none !important;flex-direction:column !important;align-items:flex-start !important;padding:14px !important}
  html.cps-production-control-v4-active .cps-welcome-banner-art {display:none !important}
  html.cps-production-control-v4-active .welcome-copy {max-width:100% !important}
  .cps-p4-hero {align-items:flex-start;flex-direction:column;padding:15px}
  .cps-p4-brand-mark {display:none}
  .cps-p4-kpis {grid-template-columns:repeat(2,minmax(0,1fr))}
  .cps-p4-filters {grid-template-columns:1fr}
  .cps-p4-bulk-bar {align-items:stretch;flex-direction:column}
  .cps-p4-bulk-bar>span {margin:0}
  .cps-p4-bulk-bar select,.cps-p4-bulk-bar button {width:100%}
  .cps-p4-panel {padding:12px}
  .cps-p4-buttons {width:100%}
  .cps-p4-buttons button {flex:1 1 110px}
}
@media(max-width:350px) {
  .cps-p4-kpis {grid-template-columns:1fr}
}

/* V4 print view: print current Production Orders screen only. */
@media print {
  html.cps-production-control-v4-active body * {visibility:hidden !important}
  html.cps-production-control-v4-active #orderCard,
  html.cps-production-control-v4-active #orderCard * {visibility:visible !important}
  html.cps-production-control-v4-active #orderCard {
    display:block !important;
    position:absolute !important;
    left:0 !important;top:0 !important;
    width:100% !important;
    margin:0 !important;padding:0 !important;
    border:0 !important;box-shadow:none !important;
  }
  html.cps-production-control-v4-active #orderForm,
  html.cps-production-control-v4-active #newOrderBtn,
  html.cps-production-control-v4-active .cps-p4-filters,
  html.cps-production-control-v4-active .cps-p4-bulk-bar,
  html.cps-production-control-v4-active .cps-p4-buttons,
  html.cps-production-control-v4-active .cps-p4-module-notice {
    display:none !important;
  }
  html.cps-production-control-v4-active .cps-p4-panel,
  html.cps-production-control-v4-active .cps-p4-order-card,
  html.cps-production-control-v4-active .cps-p4-kpis article {
    break-inside:avoid;
    box-shadow:none !important;
  }
  html.cps-production-control-v4-active .cps-p4-board {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    overflow:visible !important;
  }
}

/* END CPS_PRODUCTION_CONTROL_STYLE_V4 */

/* CPS CLASSIC DESIGNER CLEAN WORKSPACE V3 */
#moduleDesigner #cpsSharedDesignPanelV1{
  margin:7px 0 8px!important;padding:10px 13px!important;border:1px solid #dbe4f4!important;
  border-radius:12px!important;background:linear-gradient(110deg,#f8fbff,#f5f2ff)!important;
  box-shadow:0 3px 10px rgba(30,64,175,.05)!important
}
#moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-head{margin-bottom:6px!important}
#moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-head small,
#moduleDesigner #cpsSharedDesignPanelV1 .status-tag{display:none!important}
#moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-grid{grid-template-columns:minmax(230px,360px)!important;gap:0!important}
#moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-grid label:not(:first-child){display:none!important}
#moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-actions{margin-top:6px!important}
#moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-actions button:not(#cpsSharedDesignSaveV1){display:none!important}
#moduleDesigner #cpsSharedDesignPanelV1 #cpsSharedDesignSaveV1{
  min-height:35px!important;padding:7px 15px!important;border:0!important;border-radius:9px!important;
  background:linear-gradient(110deg,#06b6d4,#2563eb,#7c3aed)!important;color:#fff!important;font-weight:800!important
}
#moduleDesigner #cpsSharedDesignStatusV1{min-height:13px!important;margin-top:5px!important;font-size:10px!important}
#moduleDesigner #cpsDesignVersionCenterV2{margin:4px 0 8px!important;padding:7px 10px!important;border-radius:10px!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-kicker-v2,
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-head-v2 p{display:none!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-head-v2{align-items:center!important;margin:0!important}
#moduleDesigner #cpsDesignVersionCenterV2 h4{font-size:11px!important;margin:0!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-count-v2{font-size:9px!important;padding:3px 7px!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-row-v2{gap:6px!important;margin-top:6px!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-note-v2{font-size:9px!important;margin-top:5px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1{
  display:block!important;clear:both!important;width:100%!important;box-sizing:border-box!important;
  margin:8px 0 10px!important;padding:11px 13px!important;border:1px solid #d6e4f7!important;
  border-radius:12px!important;background:linear-gradient(110deg,#f8fbff,#f7f4ff)!important;
  box-shadow:0 3px 12px rgba(30,64,175,.05)!important
}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-head-v1{align-items:center!important;margin-bottom:5px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 h3{font-size:14px!important;margin:0!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-head-v1 p{font-size:10px!important;margin:3px 0 0!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-meta-v1{display:flex!important;justify-content:space-between!important;gap:10px!important;margin:5px 0 8px!important;font-size:10px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-controls-v1{
  display:grid!important;grid-template-columns:minmax(150px,1fr) minmax(150px,1fr) minmax(100px,auto) minmax(160px,auto)!important;
  gap:8px!important;align-items:end!important
}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-controls-v1 label{min-width:0!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-controls-v1 select{width:100%!important;min-width:0!important;height:36px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-controls-v1 button{min-width:90px!important;min-height:36px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 #cpsSmartIdPrintBtnV1{
  border:0!important;background:linear-gradient(110deg,#ea580c,#f97316)!important;color:#fff!important;
  box-shadow:0 4px 12px rgba(234,88,12,.16)!important
}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-status-v1{margin-top:6px!important;padding:6px 9px!important;font-size:10px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-preview-head-v1{margin:8px 0 5px!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-preview-grid-v1{max-height:230px!important;overflow:auto!important}
#moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-legacy-v1{display:none!important}
#moduleDesigner .cps-designer-actionbar{margin:0 0 8px!important;padding:8px 10px!important;gap:7px!important}
#moduleDesigner .cps-designer-actionbar button{min-height:33px!important;padding:6px 9px!important}
#moduleDesigner .designer-type-toolbar-card{margin:0 0 8px!important;padding:10px 12px!important}
#moduleDesigner .designer-type-toolbar-head{margin-bottom:6px!important}
#moduleDesigner .designer-type-toolbar-grid{gap:7px!important}
#moduleDesigner .designer-type-toolbar-grid label{gap:4px!important;font-size:9px!important}
#moduleDesigner .designer-type-toolbar-grid input:not([type=checkbox]),
#moduleDesigner .designer-type-toolbar-grid select{height:34px!important;padding:6px 7px!important;font-size:10px!important}
#moduleDesigner .designer-grid{
  grid-template-columns:minmax(165px,190px) minmax(0,1fr) minmax(255px,300px)!important;
  grid-template-areas:"insert canvas properties"!important;gap:10px!important;align-items:start!important
}
#moduleDesigner .cps-insert-panel{padding:10px!important}
#moduleDesigner .cps-insert-section{gap:5px!important;margin:8px 0 10px!important}
#moduleDesigner .cps-insert-tool{min-height:32px!important;padding:6px 8px!important;font-size:10px!important}
#moduleDesigner .designer-controls{
  min-width:0!important;max-height:calc(100vh - 150px)!important;overflow:auto!important;
  overscroll-behavior:contain;position:sticky!important;top:82px!important;padding:12px!important
}
#moduleDesigner .designer-controls>label{margin:7px 0!important}
#moduleDesigner .designer-controls .design-note,
#moduleDesigner .designer-controls .designer-workflow-links{display:none!important}
#moduleDesigner .preview-panel{min-width:0!important;padding:12px!important}
#moduleDesigner .preview-stage{min-height:350px!important;padding:14px!important}
@media(max-width:1120px){
 #moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-controls-v1{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 #moduleDesigner .designer-grid{grid-template-columns:minmax(0,1fr) minmax(250px,.85fr)!important;grid-template-areas:"insert insert" "canvas properties"!important}
 #moduleDesigner .designer-controls{position:static!important;max-height:none!important}
}
@media(max-width:760px){
 #moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-controls-v1{grid-template-columns:1fr!important}
 #moduleDesigner #cpsSmartIdAutomationPanelV1 .cps-smart-id-meta-v1{flex-direction:column!important}
 #moduleDesigner #cpsSharedDesignPanelV1 .cps-shared-grid{grid-template-columns:1fr!important}
 #moduleDesigner .designer-grid{grid-template-columns:1fr!important;grid-template-areas:"insert" "canvas" "properties"!important}
 #moduleDesigner .designer-controls{position:static!important;max-height:none!important;overflow:visible!important}
 #moduleDesigner .preview-stage{min-height:280px!important;padding:10px!important}
}
 /* END CPS CLASSIC DESIGNER CLEAN WORKSPACE V3 */

/* CPS_DESIGN_LATEST_AUTOSAVE_V4 */
#moduleDesigner #cpsDesignVersionCenterV2{
  margin:7px 0 9px!important;padding:10px 13px!important;border:1px solid #dbe5f5!important;
  border-radius:12px!important;background:linear-gradient(110deg,#f8fbff,#f4f2ff)!important;
  box-shadow:0 3px 10px rgba(30,64,175,.05)!important
}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-head-v2{align-items:center!important;gap:9px!important;margin:0!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-head-v2 p{margin-top:2px!important;font-size:10px!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-kicker-v2{font-size:8px!important;letter-spacing:.12em!important}
#moduleDesigner #cpsDesignVersionCenterV2 h4{font-size:12px!important;margin:0!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-count-v2{
  padding:5px 9px!important;border:1px solid #bbf7d0!important;border-radius:99px!important;
  background:#ecfdf5!important;color:#166534!important;font-size:9px!important;font-weight:900!important
}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-row-v2,
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-note-v2,
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-status-v2{display:none!important}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-v4{
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;
  gap:3px 10px!important;margin-top:8px!important;padding:9px 11px!important;
  border:1px solid #dce8fa!important;border-radius:9px!important;background:#fff!important
}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-v4 strong{
  grid-column:2!important;grid-row:1!important;overflow:hidden!important;text-overflow:ellipsis!important;
  white-space:nowrap!important;font-size:11px!important;color:#1e293b!important
}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-v4 span{
  grid-column:2!important;grid-row:2!important;font-size:9px!important;color:#64748b!important
}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-badge-v4{
  grid-column:1!important;grid-row:1 / span 2!important;padding:5px 7px!important;border-radius:7px!important;
  background:#dcfce7!important;color:#166534!important;font-size:8px!important;font-weight:900!important;
  white-space:nowrap!important
}
#moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-badge-v4.is-waiting{
  background:#f1f5f9!important;color:#64748b!important
}
@media(max-width:650px){
 #moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-head-v2{flex-direction:row!important}
 #moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-v4{grid-template-columns:1fr!important}
 #moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-v4 strong,
 #moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-v4 span,
 #moduleDesigner #cpsDesignVersionCenterV2 .cps-dvc-latest-badge-v4{grid-column:1!important;grid-row:auto!important}
}
/* END CPS_DESIGN_LATEST_AUTOSAVE_V4 */
