:root{--red:#d62b2b;--red-dark:#b51d24;--navy:#143961;--ink:#263e56;--text:#4a4a49;--muted:#74818d;--line:#e5e9ee;--soft:#f6f8fb;--rose:#fdf4f3;--radius:16px}
*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--text);font:14px/1.5 "museo-sans","Helvetica Neue",Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #d62b2b80;outline-offset:3px}button{transition:background .18s,border-color .18s,color .18s,box-shadow .18s}a{color:inherit}[v-cloak]{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:8px;left:8px;transform:translateY(-160%);z-index:30;background:var(--navy);color:white;padding:12px 18px;border-radius:24px}.skip-link:focus{transform:translateY(0)}.portal-icon{width:20px;height:20px;flex:none;display:block}
.portal-header{height:64px;display:flex;align-items:center;gap:26px;padding:0 34px;border-bottom:1px solid var(--line);background:white;position:relative;z-index:2}.brand-logo{width:132px;height:auto}.header-divider{width:1px;height:28px;background:var(--line)}.header-label{color:#617181;font-size:12px}.header-right{margin-left:auto;display:flex;gap:24px;align-items:center}.quiet{border:0;background:none;color:#687585;font-size:12px;padding:7px 0;display:flex;align-items:center;gap:8px}.quiet:hover{color:var(--red)}.quiet .portal-icon{width:17px;height:17px}
.layout{display:grid;grid-template-columns:218px minmax(0,1fr);min-height:calc(100vh - 64px)}.sidebar{background:var(--soft);padding:22px 18px 26px;display:flex;flex-direction:column;border-right:1px solid #edf0f4}.client-name{display:flex;align-items:center;gap:10px;font-size:12px;font-weight:600;color:var(--ink);padding:0 3px 20px;line-height:1.45}.organisation-icon{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #dfe5ee;background:white;border-radius:10px;color:var(--navy)}.organisation-icon .portal-icon{width:18px;height:18px}.client-name small{display:block;color:#7d8a98;font-size:10px;font-weight:400;margin-top:3px}.nav-caption{font-size:12px;letter-spacing:normal;color:#74818d;font-weight:400;padding:0 14px;margin:6px 0 12px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{text-align:left;display:flex;align-items:center;gap:11px;border:1px solid transparent;background:transparent;padding:12px 13px;border-radius:9px;font-size:12px;color:#617181}.sidebar nav button:hover{background:#ecf0f5;color:var(--navy)}.sidebar nav button.active{background:#fff;color:var(--red);border-color:#e5e9ee;box-shadow:0 3px 10px #14396106}.sidebar nav .portal-icon{width:18px;height:18px}.nav-count{margin-left:auto;font-size:10px;background:#fdf0ee;border-radius:5px;padding:0 6px;line-height:20px}.side-note{margin-top:auto;padding:70px 13px 0;color:#8b97a5}.side-brand{font-size:14px;line-height:1.7;color:#61758c}.side-brand strong{font-weight:500;color:var(--navy)}.side-rule{display:block;width:30px;height:2px;background:var(--red);margin:17px 0}.side-note p{font-size:10px;line-height:1.8;margin:0;color:#8b97a5}
.workspace{min-width:0;padding:22px clamp(26px,4vw,64px) 40px;max-width:1550px;width:100%;margin:0 auto}.page-heading,.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.page-heading{margin:0 0 20px}.eyebrow{letter-spacing:normal;font-size:12px;font-weight:400;color:#8492a1;display:block}.page-heading .eyebrow{color:var(--red)}h1,h2,h3,p{overflow-wrap:anywhere}h1{font-weight:500;line-height:1.22;letter-spacing:-.025em;color:var(--navy)}.page-title{position:relative;display:table;font-family:"calliope-mvb",Georgia,serif;font-size:38px;font-weight:400;letter-spacing:-.025em;margin:3px 0 12px}.title-stroke{position:absolute;bottom:-7px;left:2px;width:96px;height:9px;fill:none;stroke:var(--red);stroke-width:3;stroke-linecap:round}.page-heading p{margin:0;color:#7b8590;font-size:12px}h2{font-size:19px;line-height:1.35;font-weight:600;color:var(--navy);margin:0 0 12px;letter-spacing:-.015em}h3{color:var(--navy);font-weight:600}p{font-size:12px;line-height:1.65;color:var(--muted)}.primary,.secondary,.access{display:inline-flex;justify-content:center;align-items:center;gap:10px;padding:11px 19px;border-radius:30px;border:1px solid var(--red);background:var(--red);color:white;font-size:12px;line-height:1.4;font-weight:500;white-space:nowrap;min-height:42px}.primary:hover:not(:disabled){background:var(--red-dark);border-color:var(--red-dark);box-shadow:0 5px 14px #d62b2b16}.primary .portal-icon{width:17px;height:17px}.secondary{color:var(--navy);background:white;border-color:#d5dfe9}.secondary:hover:not(:disabled){background:var(--soft);border-color:var(--navy)}
.metrics{display:grid;grid-template-columns:1fr 1fr 1.1fr;border:1px solid var(--line);border-radius:14px;overflow:hidden;margin:0 0 17px;background:white}.metrics>div{position:relative;display:grid;align-content:center;gap:6px;min-height:110px;padding:16px 22px;border-left:1px solid var(--line);min-width:0}.metrics>div:first-child{border:0}.metrics small{color:#6f7c8a;font-size:11px;padding-right:24px}.metrics strong{font-size:30px;color:var(--navy);font-weight:500;line-height:1.2;display:flex;flex-wrap:wrap;align-items:baseline;gap:7px}.metrics strong>span{font-size:11px;font-weight:400;color:#8290a1}.metric-detail{font-size:10px;color:#8d97a1}.metrics .budget-value{font-size:23px;min-height:36px;align-items:center}.metric-icon{position:absolute;right:18px;top:18px;color:#9baabd}.metric-icon .portal-icon{width:19px;height:19px}.metrics .metric-wallet{background:var(--navy);border-color:var(--navy)}.metric-wallet strong{color:white}.metric-wallet small{color:#d5e2ee}.metric-wallet strong>span,.metric-wallet .metric-detail{color:#a9c0d8}.metric-wallet .metric-icon{color:#b3c8df}
.balance-notice{display:flex;align-items:center;gap:11px;padding:5px 13px;border:1px solid #f0e6d4;background:#fffaf1;border-radius:8px;margin:0 0 14px;color:#9b783b}.balance-notice>.portal-icon{width:17px;height:17px}.balance-notice p{margin:0;line-height:1.4;font-size:11px;color:#927a56;flex:1}.balance-notice strong{font-weight:500;color:#8d6c35}.balance-notice p>span{margin-left:7px}.text-action{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:none;border:0;color:var(--navy);padding:5px 0;font-size:11px;white-space:nowrap}.text-action:hover{color:var(--red)}.text-action .portal-icon{width:15px;height:15px}
.spaces-section{margin-top:24px}.section-heading{margin-bottom:18px}.section-heading h2{margin:0}.spaces-heading{margin-bottom:12px;align-items:center}.spaces-heading h2{display:flex;align-items:center;gap:9px;font-size:18px}.section-count{font-size:10px;font-weight:500;line-height:22px;min-width:22px;text-align:center;border-radius:50%;background:#eef2f7;color:#71849c}.small-note{font-size:10px}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:14px}.search-label{position:relative;flex:1;max-width:430px}.search-label>.portal-icon{position:absolute;left:13px;top:11px;width:17px;height:17px;color:#8d98a6}.search-label input{padding-left:39px;background:var(--soft);border-color:var(--soft)}.type-filter{margin-left:auto;width:200px}.toolbar input,.toolbar select{font-size:12px;min-height:40px;border-radius:8px}.space-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:20px}.space-card{background:white;border:1px solid #dfe5ed;border-radius:var(--radius);overflow:hidden;box-shadow:0 5px 18px #14396104;display:flex;flex-direction:column}.space-card:hover{box-shadow:0 8px 24px #1439610b;border-color:#cbd6e3}.space-art{height:90px;position:relative;overflow:hidden;background:var(--navy);padding:17px 20px;color:white}.space-art.platform{background:#d62b2b}.space-kind{position:relative;z-index:1;display:inline-flex;align-items:center;gap:6px;font-size:10px;font-weight:500;padding:4px 9px;border-radius:20px;border:1px solid #ffffff40;background:#ffffff10;color:white}.space-kind .portal-icon{width:13px;height:13px}.space-network{position:absolute;right:0;bottom:0;width:100%;height:112px;stroke:#adc5df;stroke-width:1;opacity:.6;pointer-events:none}.space-network .network-accent{fill:#fb918c;stroke:none}.platform .space-network{stroke:#ffd6d2}.platform .network-accent{fill:#fff}.art-caption{position:relative;z-index:1;display:block;font-family:"calliope-mvb",Georgia,serif;font-size:21px;margin-top:9px;color:#e5eff8}.platform .art-caption{color:white}.space-content{padding:20px;display:flex;flex-direction:column;flex:1}.space-content h3{font-size:21px;line-height:1.35;margin:0 0 2px;letter-spacing:-.025em}.space-slug{font-size:11px;color:#94a0ad;margin:0 0 15px}.space-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;font-size:10px;color:#8190a0}.space-meta>span{display:flex;align-items:center;gap:5px}.space-meta>span:first-child{background:#eff3f8;color:#687e97;border-radius:5px;padding:3px 7px}.space-meta .portal-icon{width:13px;height:13px}.space-usage{display:grid;grid-template-columns:1fr 1fr;margin:16px 0;padding-top:14px;border-top:1px solid var(--line);gap:14px}.space-usage>div{display:grid;gap:5px}.space-usage small{font-size:10px;color:#93a0af}.space-usage strong{font-size:12px;color:#41566d;font-weight:500}.space-usage strong>span{font-size:11px;font-weight:400;color:#7f8d9c}.access{margin-top:auto;width:100%;justify-content:space-between;border-color:var(--navy);background:var(--navy);font-size:11px;padding:10px 16px;min-height:39px}.access:hover:not(:disabled){background:#224f7e;border-color:#224f7e}.access .portal-icon{width:17px;height:17px}
.new-space-card{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;min-width:0;border:1px dashed #e2c8c8;border-radius:var(--radius);background:#fdf8f7;text-align:left;padding:26px;color:var(--navy)}.new-space-card:hover{background:#fdf0ee;border-color:var(--red)}.new-space-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;color:var(--red);background:white;border:1px solid #f0dcd8}.new-space-icon .portal-icon{width:18px;height:18px}.new-space-card .eyebrow{font-size:12px;color:#97706c;letter-spacing:normal}.new-space-card>strong{font-size:23px;line-height:1.3;font-weight:500;letter-spacing:-.02em}.handwritten{font-family:"calliope-mvb",Georgia,serif;font-weight:400}.new-space-card .handwritten{font-size:28px;color:var(--red)}.new-space-description{font-size:11px;color:#9b8c8e;line-height:1.7}.new-space-action{display:inline-flex;align-items:center;gap:20px;color:var(--red);font-size:11px;font-weight:500;margin-top:2px}.new-space-action .portal-icon{width:17px;height:17px}
label{display:grid;gap:7px;font-size:11px;color:#5c7186}input,select{border:1px solid #dbe2ea;border-radius:8px;padding:10px 12px;background:white;min-width:0;width:100%;font-size:13px;color:#304961;min-height:41px}input::placeholder{color:#97a3af}input[type=checkbox],input[type=radio]{width:16px;height:16px;min-height:0;accent-color:var(--red);flex:none}.inline{display:flex;align-items:center;gap:8px}form{display:grid;gap:19px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.content-panel{padding:24px;border:1px solid var(--line);border-radius:var(--radius);margin-top:28px;min-width:0}.content-panel h2{font-size:18px}.settings-form>h2{margin:5px 0 -6px}.settings-form>.primary{justify-self:start}.settings-note{border-left:3px solid var(--navy);background:#f1f5fa;padding:16px 18px;border-radius:6px;color:var(--navy)}.settings-note strong{font-size:13px;font-weight:500}.settings-note p{margin:4px 0 0;color:#73869d;font-size:11px}fieldset{border:1px solid var(--line);border-radius:10px;padding:16px;display:grid;gap:13px;min-width:0}legend{padding:0 6px;font-size:12px;color:var(--navy)}fieldset small{font-size:10px;color:#8e9aa7;line-height:1.6}.muted{color:#8b96a3;margin:0 0 18px}.section-heading .muted{margin:0}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:white}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;background:var(--soft);color:#7b8b9e;font-size:10px;font-weight:500}th,td{padding:14px 16px;border-bottom:1px solid #edf0f4}tr:last-child td{border-bottom:0}td{color:#536b85}td small{display:block;color:#93a0af;font-size:10px;margin-top:5px}td input{max-width:150px;min-width:85px;font-size:12px}td.positive{color:#278363}.error,.warning,.success{padding:12px 15px;border-radius:8px;font-size:12px;line-height:1.6}.error{background:#fdf0ee;color:#b92b2b}.warning{background:#fff8e9;color:#927134}.success{background:#edf6f1;color:#40745a}.empty{text-align:center;padding:36px 20px;color:#a1aab4;border:1px dashed #dfe5ed;border-radius:12px;background:#fafbfd}.empty>.portal-icon{width:26px;height:26px;margin:0 auto 12px}.empty h3{font-size:17px;margin:0}.empty p{font-size:12px}.empty .secondary{font-size:11px}.spaced{margin-top:30px}.duration-row{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line);font-size:13px}.duration-row small{display:block;margin-top:6px;color:#8898aa;font-size:10px}
.login{max-width:1080px;margin:65px auto;padding:34px;display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center;min-height:60vh}.login-intro h1{font-size:44px;margin:20px 0;color:var(--navy)}.login-intro .handwritten{color:var(--red);font-size:48px}.login-intro>p{font-size:14px;max-width:400px;line-height:1.8}.login-intro>small{display:block;font-size:11px;color:#98a1ab;line-height:1.7;margin-top:36px}.login-benefits{display:grid;gap:14px;margin-top:30px}.login-benefits>span{display:flex;gap:11px;align-items:center;font-size:12px;color:#5c7590}.login-benefits .portal-icon{color:var(--red);width:18px;height:18px}.login-panel{border:1px solid var(--line);padding:32px;border-radius:var(--radius);box-shadow:0 12px 40px #14396106}.login-panel h2{font-size:25px;margin:12px 0 8px}.login-panel form{margin-top:25px}.login-panel .primary{justify-content:space-between}.login-panel .eyebrow{color:var(--red)}
.overlay{position:fixed;inset:0;background:#102b4880;backdrop-filter:blur(4px);display:grid;place-items:center;padding:24px;z-index:20}.dialog{background:white;border-radius:20px;padding:28px;width:min(680px,100%);max-height:90vh;overflow:auto;box-shadow:0 24px 90px #081c3733}.dialog .section-heading{border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:22px}.dialog h2{margin:0;font-size:23px}.close{border:1px solid var(--line);background:var(--soft);border-radius:50%;width:34px;height:34px;flex:none;display:grid;place-items:center;color:#768ba1}.close:hover{color:var(--red);background:var(--rose);border-color:#e6c9c6}.close .portal-icon{width:17px;height:17px}.kind-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}.kind-choices label{position:relative;border:1px solid #dce3eb;border-radius:12px;padding:18px 32px 18px 16px;font-size:13px;font-weight:500;cursor:pointer}.kind-choices input{position:absolute;right:10px;top:10px}.kind-choices small{font-size:10px;color:#8795a4;line-height:1.6;font-weight:400}.kind-choices .chosen{border-color:var(--red);background:#fff8f7;color:var(--red)}.estimate{background:#f1f5fa;border:1px solid #d7e2ee;padding:18px;border-radius:10px}.estimate strong{font-size:13px;color:var(--navy)}.estimate p{color:#788aa0}
@media(min-width:1450px){.workspace{padding-top:22px}.page-title{font-size:40px}.page-heading{margin-bottom:20px}.metrics>div{min-height:136px}.space-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.space-art{height:110px}.new-space-card{padding:26px}.space-content{padding:22px}}
@media(max-width:1100px){.layout{grid-template-columns:198px minmax(0,1fr)}.sidebar{padding-inline:14px}.sidebar nav button{padding-inline:10px;gap:9px}.workspace{padding:22px 30px 36px}.metrics>div{padding:17px}.metric-icon{right:14px;top:15px}.balance-notice p>span{display:block;margin:3px 0 0}.space-grid{gap:16px}.space-content{padding:18px}.new-space-card{padding:22px}.space-content h3{font-size:20px}.space-meta{gap:8px;font-size:9px}.login{gap:40px;margin:40px auto}}
@media(max-width:960px){.portal-header{padding-inline:25px;gap:20px}.layout{grid-template-columns:186px minmax(0,1fr)}.workspace{padding:22px 26px 36px}.sidebar{padding-inline:11px}.client-name{gap:8px;font-size:11px}.organisation-icon{width:30px;height:32px}.sidebar nav button{font-size:11px;gap:8px}.sidebar nav .portal-icon{width:17px}.metrics{grid-template-columns:1fr 1fr 1.08fr}.metrics>div{padding:15px;min-height:114px}.metric-icon{display:none}.metrics small{font-size:10px;padding:0}.metrics strong{font-size:28px}.metrics .budget-value{font-size:19px;min-height:34px}.metric-detail{font-size:9px}.space-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.space-art{padding:16px;height:100px}.space-network{opacity:.35}.space-kind{font-size:9px}.art-caption{font-size:19px}.new-space-card>strong{font-size:21px}.new-space-card .handwritten{font-size:25px}.new-space-description{font-size:10px}.page-title{font-size:38px}.page-heading .primary{font-size:11px;padding:11px 16px}.section-heading{gap:12px}.section-heading .secondary{font-size:10px}.login-intro h1{font-size:38px}.login-intro .handwritten{font-size:42px}.login{gap:28px}.login-panel{padding:25px}}
@media(max-width:760px){.portal-header{height:64px;padding-inline:20px;gap:14px}.brand-logo{width:123px}.header-label{display:none}.header-divider{display:none}.header-right{gap:16px}.layout{grid-template-columns:1fr}.sidebar{padding:12px 20px;border-bottom:1px solid var(--line);border-right:0}.client-name,.side-note,.nav-caption{display:none}.sidebar nav{display:flex;gap:8px}.sidebar nav button{flex:1;justify-content:center;white-space:nowrap;min-height:40px;font-size:12px;padding:8px}.sidebar .nav-count{margin-left:0}.workspace{padding:20px 25px 36px}.page-title{font-size:38px}.page-heading{margin-bottom:20px}.metrics>div{min-height:111px;padding:14px 16px}.balance-notice{margin-bottom:14px}.small-note{display:none}.space-meta{font-size:10px}.space-grid{gap:16px}.space-content{padding:20px}.content-panel{padding:20px}.login{max-width:520px;grid-template-columns:1fr;margin:15px auto;gap:25px;padding:25px}.login-intro>p,.login-benefits,.login-intro>small{display:none}.login-intro h1{font-size:32px;margin:12px 0 0}.login-intro .handwritten{font-size:36px}.login-panel{padding:25px}}
@media(max-width:520px){.portal-header{height:60px;padding:0 18px}.header-right{gap:12px}.logout span{display:none}.logout{padding:8px}.logout .portal-icon{width:18px;height:18px}.sidebar{padding:10px 12px}.sidebar nav{gap:4px}.sidebar nav button{font-size:10px;gap:6px}.sidebar nav .portal-icon{width:15px;height:15px}.nav-count{display:none}.workspace{padding:18px 18px 32px}.page-heading{flex-wrap:wrap;gap:16px}.page-title{font-size:36px;margin-top:3px;margin-bottom:12px}.page-heading p{font-size:11px}.page-heading .primary{min-height:38px;padding:9px 15px;font-size:11px}.metrics{grid-template-columns:1fr 1fr;margin-bottom:12px}.metrics>div{padding:14px 17px;min-height:105px}.metrics>div:last-child{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);min-height:67px;grid-template-columns:1fr auto;align-items:center;gap:2px 15px}.metrics>div:last-child small{grid-column:1;grid-row:1}.metrics>div:last-child strong{grid-column:2;grid-row:1/3;min-height:0;font-size:18px;justify-content:end}.metrics>div:last-child .metric-detail{grid-column:1;grid-row:2}.metrics strong{font-size:29px}.metrics strong>span{font-size:10px}.metric-detail{font-size:9px}.balance-notice{align-items:flex-start;gap:8px;flex-wrap:wrap;padding:11px 12px}.balance-notice p{font-size:10px;min-width:220px;flex:1}.balance-notice>.portal-icon{margin-top:2px;width:15px;height:15px}.balance-notice .text-action{margin-left:23px;font-size:10px;padding:0}.spaces-section{margin-top:24px}.spaces-heading{margin-bottom:13px}.spaces-heading h2{font-size:18px}.toolbar{gap:8px}.type-filter{width:135px;flex:none}.toolbar input,.toolbar select{font-size:10px;min-height:38px;padding-top:9px;padding-bottom:9px}.type-filter select{padding-left:8px;padding-right:4px}.search-label input{padding-left:32px}.search-label>.portal-icon{left:10px;top:12px;width:14px;height:14px}.space-grid{grid-template-columns:1fr;gap:17px}.space-art{height:96px;padding:16px 20px}.art-caption{font-size:21px}.space-network{opacity:.6}.space-content h3{font-size:21px}.space-meta{font-size:10px}.new-space-card{padding:22px;gap:12px}.new-space-card>strong{font-size:22px}.new-space-card .handwritten{font-size:29px}.new-space-card .new-space-description{font-size:11px}.content-panel{padding:17px;margin-top:24px}.content-panel .section-heading{align-items:flex-start;flex-direction:column;gap:12px}.content-panel h2{font-size:17px}.settings-grid{grid-template-columns:1fr;gap:16px}.settings-form>.primary{white-space:normal;text-align:left;font-size:11px;max-width:100%}.duration-row{flex-wrap:wrap}.duration-row .secondary{white-space:normal}.table-wrap{max-width:100%}th,td{padding:12px;font-size:10px}.dialog{padding:20px;border-radius:16px;max-height:93vh}.dialog h2{font-size:20px}.overlay{padding:12px}.kind-choices{gap:9px}.kind-choices label{padding:32px 12px 14px;font-size:12px}.kind-choices small{font-size:10px}.dialog form{gap:16px}.dialog .settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.dialog input,.dialog select{font-size:12px}.login{padding:23px 18px}.login-panel{padding:24px}.login-panel h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Client administration shares the portal's existing MIS Group typography and controls. */
.session-role{color:var(--navy);font-size:12px}.portal-loading{display:flex;gap:13px;align-items:center;justify-content:center;min-height:220px;color:var(--muted);font-size:13px}.loading-ring{width:25px;height:25px;border:2px solid var(--line);border-top-color:var(--red);border-radius:50%;animation:portal-spin .8s linear infinite}@keyframes portal-spin{to{transform:rotate(360deg)}}
.client-breadcrumb{display:flex;justify-content:space-between;gap:16px;margin-bottom:15px}.back-icon{transform:rotate(180deg)}.client-tabs{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);margin:0 0 22px;padding-bottom:7px}.client-tabs button{display:flex;align-items:center;gap:7px;border:0;border-radius:7px;background:transparent;padding:10px 13px;font-size:12px;color:#64788e;min-height:40px}.client-tabs button:hover{background:var(--soft)}.client-tabs button.active{background:#fdf0ee;color:var(--red)}.client-tabs .portal-icon{width:17px;height:17px}.client-tabs button>span{font-size:10px;background:white;padding:1px 5px;border-radius:5px}.client-picker{margin:0 3px 22px}.client-picker select{font-size:11px}
.admin-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 24px}.admin-overview>div{display:flex;align-items:center;gap:12px;padding:18px;border:1px solid var(--line);border-radius:12px;background:var(--soft);color:#7b8da1}.admin-overview strong{font-size:27px;font-weight:500;color:var(--navy)}.admin-overview span{font-size:12px}.admin-overview .portal-icon{color:var(--navy);width:21px;height:21px}.client-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));gap:20px}.client-card{border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:0 4px 14px #14396104}.client-card-heading{display:flex;gap:12px;align-items:center;min-width:0}.client-card-heading>div{min-width:0}.client-card h2{font-size:20px;margin:0 0 4px}.client-card p{margin:0;font-size:11px}.client-card-stats{display:flex;flex-wrap:wrap;gap:10px 18px;padding:20px 0;margin-top:14px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}.client-card-stats strong{font-weight:500;color:var(--navy)}.client-card .access{margin-top:0}.admin-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.admin-detail-grid .content-panel{margin-top:6px}.admin-detail-grid form .primary{justify-self:start}.audit-list{list-style:none;margin:0;padding:0}.audit-list li{display:grid;gap:4px;padding:12px 0;border-bottom:1px solid var(--line)}.audit-list li:last-child{border:0}.audit-list strong{font-size:12px;color:var(--ink);font-weight:500}.audit-list span{font-size:10px;color:var(--muted)}
.member-row{display:flex;align-items:center;gap:14px;padding:18px 0;border-top:1px solid var(--line)}.member-initial{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:50%;background:#eef3f8;color:var(--navy);font-size:14px}.member-identity{flex:1;min-width:0}.member-identity h3{margin:0;font-size:15px}.member-identity p{font-size:12px;margin:3px 0 5px;overflow-wrap:anywhere}.role-tag{font-size:10px;color:#6b7c8e;background:var(--soft);border-radius:4px;padding:3px 7px}.danger{color:var(--red)}.member-mode{display:flex;flex-wrap:wrap;gap:20px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px}.optional{font-size:10px;font-weight:400;color:var(--muted)}.rate-summary{margin-top:18px}.rate-summary p{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid var(--line)}.rate-summary strong{font-weight:500;color:var(--navy)}
@media(max-width:1100px){.admin-overview>div{gap:8px;padding:14px;flex-wrap:wrap}.admin-overview span{font-size:11px}.admin-detail-grid{grid-template-columns:1fr}.client-tabs button{padding:9px;font-size:11px;gap:6px}}
@media(max-width:760px){.sidebar .client-picker{margin:0 0 12px}.session-role{font-size:10px}.client-card{padding:19px}.client-tabs{gap:5px}.client-tabs button{flex:1;justify-content:center;white-space:nowrap}.client-tabs .portal-icon{display:none}.admin-overview{gap:8px}.admin-overview>div{display:grid;grid-template-columns:auto 1fr;gap:5px 8px;padding:13px}.admin-overview span{grid-column:1/-1}.admin-overview strong{font-size:23px}.admin-overview .portal-icon{width:17px;height:17px}}
@media(max-width:520px){.session-role{max-width:130px;text-align:right}.header-right{gap:6px}.client-card h2{font-size:18px}.admin-overview span{font-size:10px}.client-tabs button{font-size:10px;padding:8px;min-height:36px}.member-row{flex-wrap:wrap;gap:10px}.member-row .danger{margin-left:52px;font-size:11px}.member-identity h3{font-size:14px}.member-identity p{font-size:11px}.dialog-actions{flex-wrap:wrap}.rate-summary p{display:grid}.client-breadcrumb{margin-bottom:13px}}

.client-brand{width:42px;height:42px;overflow:hidden;font-size:14px;font-weight:600;flex:none;background:white}.client-brand img{width:100%;height:100%;object-fit:contain;padding:4px}.client-name>div{min-width:0;overflow-wrap:anywhere}.logo-editor{display:grid;grid-template-columns:64px minmax(0,1fr);gap:15px;align-items:center}.logo-preview{display:grid;place-items:center;border:1px solid var(--line);border-radius:12px;background:var(--soft);width:64px;height:64px;font-size:20px;color:var(--navy);overflow:hidden}.logo-preview img{width:100%;height:100%;object-fit:contain;padding:6px}.logo-editor input{font-size:11px;padding:7px;min-height:36px}.logo-editor small{display:block;font-size:10px;color:#7b8b9e;margin-top:6px}.logo-editor .text-action{margin-top:5px;font-size:11px}.space-status{align-self:flex-start;font-size:10px;background:#edf6f1;color:#39735a;border-radius:20px;padding:3px 9px;margin-bottom:10px}.space-status.finished{color:#667589;background:#eef1f5}.space-status.upcoming{color:#8c6b31;background:#fff7e7}.space-finished .space-art{background:#536779}.space-finished .access{background:white;color:var(--navy);border-color:var(--line)}.space-finished .access:hover:not(:disabled){background:var(--soft)}
.logo-editor input::file-selector-button{font:inherit;color:var(--navy);background:var(--soft);border:1px solid var(--line);border-radius:6px;padding:7px 10px;margin-right:10px;cursor:pointer}.logo-editor input::file-selector-button:hover{background:#e8eef5}
@media(max-width:760px){.sidebar .client-name{display:flex;margin:0 0 10px;font-size:12px}.sidebar .client-brand{width:32px;height:32px;font-size:12px}.sidebar .client-name small{font-size:10px}.logo-editor{gap:10px}}
/* Scoped illustrations inside the client style picker, never the portal shell. */
.style-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;border:0;padding:0;margin:20px 0 24px}
.style-choice{position:relative;display:flex;flex-direction:column;gap:9px;border:1px solid var(--line);border-radius:12px;padding:11px;cursor:pointer;transition:border-color .15s;background:white}
.style-choice.selected{border-color:var(--navy);box-shadow:0 0 0 1px var(--navy)}.style-choice:focus-within{outline:3px solid #a6c0e4;outline-offset:3px}
.style-choice>input{position:absolute;right:17px;top:17px;width:16px;height:16px;min-height:0;margin:0;z-index:2;accent-color:var(--navy)}
.style-choice>strong{font-size:12px}.style-choice>small{font-size:11px;line-height:1.5;color:var(--muted);font-weight:400}
.style-thumbnail,.style-preview{--theme-color:#cb0101;--theme-bg:#f3f3f3;--theme-soft:#fff1f1;--theme-ink:#4a4a49;--theme-radius:8px}
[data-style="decathlon"]{--theme-color:#3643ba;--theme-bg:#f3f5fa;--theme-soft:#ebedff;--theme-ink:#172044;--theme-radius:18px}
[data-style="lille"]{--theme-color:#e1001a;--theme-bg:#f5f5f3;--theme-soft:#fff0f2;--theme-ink:#343434;--theme-radius:2px}
[data-style="misgroup"]{--theme-color:#d62b2b;--theme-bg:#f8f8f6;--theme-soft:#faf4f2;--theme-ink:#4a4a49;--theme-radius:5px}
.style-thumbnail{display:block;position:relative;height:110px;background:var(--theme-bg);border-radius:7px;overflow:hidden;border:1px solid #e5e8ed}
.thumb-nav{position:absolute;top:0;left:0;width:23%;bottom:0;background:white;border-right:1px solid #e3e3e3}
.thumb-nav:after{content:'';position:absolute;top:24px;left:7px;width:calc(100% - 14px);height:5px;background:var(--theme-color);box-shadow:0 15px #d8dce3,0 30px #d8dce3}
.thumb-hero{position:absolute;top:15px;left:29%;right:8px;height:40px;background:var(--theme-color);border-radius:var(--theme-radius);overflow:hidden}
.thumb-hero:after{content:'';position:absolute;width:50px;height:50px;right:-10px;top:-18px;border:10px solid #ffffff40;border-radius:50%}
.thumb-card{position:absolute;top:62px;left:29%;width:28%;height:35px;background:white;border-radius:4px;border:1px solid #e3e6ee;border-top:4px solid var(--theme-color)}.thumb-card.second{left:62%}
[data-style="lille"] .thumb-hero{border-bottom:5px solid transparent;border-image:linear-gradient(90deg,#97c300 25%,#00adc1 25% 50%,#ff7437 50% 75%,#994dd1 75%) 1}
[data-style="onqual"] .thumb-hero{background:linear-gradient(120deg,#3f3027,#c79a58,#4c3320)}
.style-preview{border:1px solid var(--line);border-radius:14px;overflow:hidden;color:var(--theme-ink);background:var(--theme-bg);max-width:900px;margin:auto}
.style-preview>header{display:flex;align-items:center;gap:18px;padding:15px 20px;background:white;border-bottom:1px solid #e0e4eb;font-size:11px}
.preview-brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:14px;margin-right:auto}.preview-brand img{width:30px;height:30px;object-fit:contain}
.preview-avatar{display:grid;place-items:center;background:var(--theme-soft);color:var(--theme-color);width:32px;height:32px;border-radius:50%;font-size:10px;flex:none}
.preview-layout{display:grid;grid-template-columns:150px minmax(0,1fr);gap:18px;padding:20px}
.preview-layout>aside{display:flex;flex-direction:column;gap:10px;font-size:11px;padding-top:3px}.preview-layout>aside>*{padding:10px}.preview-layout>aside>b{color:var(--theme-color);background:white;border-radius:var(--theme-radius)}
.preview-hero{position:relative;isolation:isolate;overflow:hidden;background:var(--theme-color);border-radius:var(--theme-radius);color:white;padding:22px 25px}
.preview-hero:after{content:'';position:absolute;right:-35px;top:-30px;width:150px;height:150px;border:30px solid #ffffff25;border-radius:50%;z-index:-1}
.preview-hero small{font-size:10px}.preview-hero h3{font-size:30px;color:white;line-height:1.08;margin:10px 0 13px;font-weight:750;letter-spacing:-.8px}.preview-hero>span{font-size:11px}
.preview-composer{margin:14px 0;padding:12px 15px;background:white;border-radius:var(--theme-radius);font-size:11px;color:#6a7682;display:flex;justify-content:space-between}
.preview-layout article{padding:18px;background:white;border-radius:var(--theme-radius);font-size:11px}.preview-author{display:flex;gap:9px;align-items:center}.preview-author small{display:block;font-size:9px;color:#75818e;margin-top:3px}.preview-author strong{color:var(--theme-color)}
.preview-layout article h4{font-size:14px;margin:17px 0 12px}.preview-option{padding:10px;margin:7px 0;border:1px solid #e4e7ed;border-radius:var(--theme-radius)}.preview-cta{display:inline-block;background:var(--theme-color);color:white;padding:9px 18px;border-radius:var(--theme-radius);margin-top:7px}
[data-style="decathlon"] .preview-hero h3{font-family:Arial,sans-serif;font-weight:800;font-style:italic}[data-style="decathlon"] .preview-cta{border-radius:30px}
[data-style="lille"] .preview-hero{border-bottom:6px solid transparent;border-image:linear-gradient(90deg,#97c300 25%,#00adc1 25% 50%,#ff7437 50% 75%,#994dd1 75%) 1}
[data-style="lille"] .preview-layout>aside>b{border-left:3px solid #e1001a}[data-style="lille"] .preview-hero:after{border-radius:0;transform:rotate(25deg)}
[data-style="misgroup"] .preview-hero h3{font-family:'calliope-mvb','Segoe Print',cursive;font-weight:400;font-size:34px}[data-style="misgroup"] .preview-cta{background:#d62b2b;border-radius:30px}[data-style="misgroup"] .preview-hero:after{border:1px solid #ffffff80;transform:rotate(-25deg);border-radius:50%;width:230px}
[data-style="onqual"] .preview-hero{background:linear-gradient(115deg,#38271e,#906b45,#433120)}
.appearance-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px}.appearance-actions p{font-size:12px;margin:0}
@media(max-width:1100px){.style-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.preview-layout{grid-template-columns:120px minmax(0,1fr)}}
@media(max-width:600px){.preview-layout{grid-template-columns:minmax(0,1fr);padding:12px}.preview-layout>aside{display:none}.style-preview>header{padding:12px}.style-preview>header>span:nth-child(2){display:none}.appearance-actions{align-items:stretch;flex-direction:column}.style-choices{gap:9px}.style-choice{padding:8px}.style-thumbnail{height:95px}.style-choice>small{font-size:10px}.preview-hero h3{font-size:27px}}

/* These miniature illustrations are isolated from the portal's own identity. */
.style-preview[data-style="misgroup"] .preview-hero { background:white; color:#4a4a49; border-bottom:1px solid #e6e5e2; border-radius:0; }
.style-preview[data-style="misgroup"] .preview-hero h3 { color:#4a4a49; font-family:'museo-sans',Arial,sans-serif; font-size:27px; font-weight:500; }
.style-preview[data-style="misgroup"] .preview-hero h3 em { font-family:'calliope-mvb',Georgia,serif; font-style:normal; font-size:1.3em; text-decoration:underline; text-decoration-color:#d62b2b; text-decoration-thickness:2px; text-underline-offset:8px; }
.style-preview[data-style="misgroup"] .preview-hero:after { width:110px; height:200px; border:23px solid #d62b2b; border-bottom:0; border-radius:26px; right:-58px; top:40px; transform:rotate(23deg); }
.style-preview[data-style="misgroup"] .preview-poll { display:grid; grid-template-columns:1fr 1.15fr; gap:8px 12px; padding:18px; background:#faf8f6; margin-top:16px; border-top:2px solid #d62b2b; }
.style-preview[data-style="misgroup"] .preview-poll h4 { grid-row:span 2; margin:0; font-size:19px; font-weight:500; }
.style-preview[data-style="misgroup"] .preview-option { border-radius:22px; margin:0; background:white; }
.style-preview[data-style="misgroup"] .preview-cta { justify-self:start; grid-column:1/-1; }
.style-thumbnail[data-style="misgroup"] .thumb-hero { background:white; border-radius:0; }
.style-thumbnail[data-style="misgroup"] .thumb-hero:after { border:8px solid #d62b2b; border-bottom:0; width:27px; height:65px; border-radius:12px; transform:rotate(25deg); right:-7px; top:5px; }
.style-preview[data-style="decathlon"] .preview-hero { border-radius:0; margin-right:0; background:linear-gradient(90deg,#3643ba 0 70%,#e4e7ff 70%); }
.style-preview[data-style="decathlon"] .preview-hero h3 { font-style:normal; font-weight:900; max-width:65%; }
.style-preview[data-style="decathlon"] .preview-poll { background:#3643ba; color:white; border-radius:14px; padding:18px; margin-top:16px; }
.style-preview[data-style="decathlon"] .preview-poll h4 { font-size:21px; margin-top:0; }
.style-preview[data-style="decathlon"] .preview-option { background:white; color:#262626; border-radius:8px; }
.style-preview[data-style="decathlon"] .preview-cta { background:white; color:#3643ba; font-weight:700; }
.style-preview[data-style="decathlon"] .preview-layout>aside>b { background:#3643ba; color:white; border-radius:24px; }
.style-preview[data-style="lille"] .preview-hero { background:white; color:#262626; border-radius:0; border-bottom-width:17px; }
.style-preview[data-style="lille"] .preview-hero h3 { color:#262626; font-weight:900; }
.style-preview[data-style="lille"] .preview-hero:after { background:#00adc1; width:50px; height:50px; border:0; top:45px; right:16px; transform:none; }
.style-preview[data-style="lille"] .preview-layout article { border-top:20px solid #00adc1; border-radius:0; }
.style-preview[data-style="lille"] .preview-poll { padding:15px; background:#f5f5f5; }
.style-preview[data-style="lille"] .preview-option { background:white; border-radius:0; }
.style-preview[data-style="lille"] .preview-layout>aside>b { background:#e1001a; color:white; }
@media(max-width:600px){.style-preview[data-style="misgroup"] .preview-poll{display:block}.style-preview[data-style="misgroup"] .preview-option{margin:8px 0}}

.style-thumbnail[data-style="decathlon"] .thumb-hero { border-radius:0; background:linear-gradient(90deg,#3643ba 70%,#e4e7ff 70%); }
.style-thumbnail[data-style="lille"] .thumb-hero { background:white; border-radius:0; }
.style-thumbnail[data-style="lille"] .thumb-card { border-top-color:#00adc1; border-radius:0; }
.style-thumbnail[data-style="lille"] .thumb-card.second { border-top-color:#ff7437; }

/* Quantitative project preview, scoped to the project portal. */
.kind-choices{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}
.kind-choices small{display:block;margin-top:6px}
.dialog-esurvey{width:min(790px,100%)}
.esurvey-preview{min-width:0}
.esurvey-preview-notice{display:flex;gap:10px;padding:12px 14px;border:1px solid #dce5ef;background:#f6f8fb;border-radius:10px;margin-bottom:22px;color:var(--navy)}
.esurvey-preview-notice>.portal-icon{width:17px;height:17px;margin-top:3px}
.esurvey-preview-notice p{margin:0;font-size:11px;line-height:1.6}.esurvey-preview-notice strong{display:block;color:var(--navy);font-size:12px;margin-bottom:2px}
.esurvey-intro h3{font-size:24px;letter-spacing:-.025em;margin:10px 0 6px;line-height:1.25}.esurvey-intro p{margin:0;max-width:530px}
.esurvey-mark{display:inline-flex;align-items:center;gap:7px;color:#4336a6;font-size:16px;font-weight:600;white-space:nowrap}.esurvey-mark>.portal-icon{width:20px;height:20px}.esurvey-mark>span{font-size:11px;font-weight:400;color:var(--muted);border-left:1px solid var(--line);padding-left:11px;margin-left:6px}
.esurvey-form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:16px}.esurvey-form-footer p{margin:0;font-size:11px;max-width:290px}
.esurvey-preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}.esurvey-preview-toolbar>label{display:flex;align-items:center;gap:8px;font-size:11px;color:var(--muted)}.esurvey-preview-toolbar select{width:auto;font-size:12px;padding:8px 10px}
.esurvey-preview-result:focus{outline:0}
.esurvey-project-card{border:1px solid #dce3ed;border-radius:14px;overflow:hidden;background:white;max-width:580px;margin:auto;box-shadow:0 4px 18px #14396107}
.esurvey-project-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#faf9fe;padding:17px 20px;border-bottom:1px solid #eceaf4}
.esurvey-state{border-radius:20px;padding:4px 10px;font-size:10px;background:#e8f4ee;color:#226046;white-space:nowrap}
[data-state="draft"] .esurvey-state,[data-state="finished"] .esurvey-state{background:#edf0f5;color:#61758c}[data-state="unavailable"] .esurvey-state{background:#fff1dd;color:#896223}
.esurvey-project-content{padding:22px}.esurvey-example-label{font-size:10px;color:#7b739d}.esurvey-project-content h3{font-size:23px;line-height:1.25;letter-spacing:-.025em;margin:7px 0 5px}.esurvey-project-client{margin:0;font-size:11px}
.esurvey-field-dates{display:flex;align-items:center;gap:11px;margin-top:20px;padding-bottom:18px;border-bottom:1px solid var(--line);font-size:10px;color:var(--muted)}.esurvey-field-dates strong{display:block;font-size:12px;color:var(--navy);font-weight:500;margin-top:3px}.esurvey-field-dates>.portal-icon{width:18px;height:18px;color:#8da0b6}
.esurvey-results{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin:20px 0 14px}.esurvey-results>div+div{border-left:1px solid var(--line);padding-left:20px}.esurvey-results small{display:block;color:var(--muted);font-size:11px}.esurvey-results strong{display:block;font-size:32px;color:var(--navy);font-weight:500;line-height:1.3;margin-top:5px}.esurvey-results strong>span{font-size:14px;font-weight:400;color:var(--muted)}
.esurvey-progress>div{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:var(--muted)}.esurvey-progress strong{color:var(--navy);font-weight:500}.esurvey-progress progress{appearance:none;display:block;width:100%;height:6px;margin-top:8px;border:0;border-radius:10px;overflow:hidden;background:#eef0f6}.esurvey-progress progress::-webkit-progress-bar{background:#eef0f6}.esurvey-progress progress::-webkit-progress-value{background:#6355b7;border-radius:10px}.esurvey-progress progress::-moz-progress-bar{background:#6355b7;border-radius:10px}
.esurvey-sync{font-size:10px;margin:9px 0 22px}.esurvey-unavailable{padding:10px 12px;background:#fffaef;border-radius:7px;font-size:11px;color:#896223;margin-bottom:20px}
.esurvey-project-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.esurvey-project-actions .portal-icon{width:16px;height:16px}.esurvey-project-actions .access{width:100%;margin:0}.esurvey-project-actions button:disabled{opacity:.7}.esurvey-access-help{font-size:10px;margin:11px 0 0;line-height:1.55;text-align:center}
@media(max-width:600px){.kind-choices{grid-template-columns:1fr}.kind-choices label{padding:12px 36px 12px 14px}.kind-choices small{margin-top:2px}.dialog-esurvey .settings-grid{grid-template-columns:1fr 1fr}.esurvey-intro h3{font-size:21px}.esurvey-form-footer{align-items:stretch;flex-direction:column;gap:14px}.esurvey-preview-toolbar{align-items:flex-start;flex-direction:column;gap:10px}.esurvey-preview-toolbar>label{width:100%;justify-content:space-between}.esurvey-project-card>header{padding:15px;flex-wrap:wrap}.esurvey-mark>span{font-size:10px}.esurvey-project-content{padding:17px}.esurvey-project-content h3{font-size:21px}.esurvey-results{gap:12px}.esurvey-results strong{font-size:27px}.esurvey-results strong>span{font-size:12px}.esurvey-results>div+div{padding-left:12px}.esurvey-project-actions{grid-template-columns:1fr}.esurvey-project-actions button{min-height:42px}}

.portal-header .brand-logo{width:154px;height:auto;flex:none}
@media(max-width:520px){.portal-header .brand-logo{width:132px}}

.dialog-esurvey>.section-heading{position:sticky;top:-28px;z-index:3;background:white;padding-top:16px;margin-top:-16px}
@media(max-width:520px){.dialog-esurvey>.section-heading{top:-20px}}

/* One catalogue for communities, platforms and quantitative projects. */
.project-toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;padding:17px 18px;background:#f7f9fc;border:1px solid var(--line);border-radius:12px}
.project-toolbar .search-label{max-width:none;min-width:210px;flex:1}
.project-toolbar .search-label input{background:white;border-color:var(--line)}
.project-filters{display:flex;gap:12px;flex-wrap:wrap;flex:1.5}
.project-filters label{flex:1;min-width:140px;color:#5c7186}
.project-filters select{font-size:12px;padding:10px;min-height:41px}
.project-results{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:45px;font-size:11px;color:#738397}
.project-results .text-action{font-size:11px}
.space-art.esurvey{background:#514995}
.project-survey .space-art .art-caption{color:white}
.space-status.preparation,.space-status.pending,.space-status.closed{color:#627389;background:#eef1f5}
.space-status.unavailable{color:#8c6b31;background:#fff7e7}
.project-dates{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:10px;color:#8190a0;line-height:1.7;margin:10px 0 0}
.project-dates .portal-icon{width:13px;height:13px}
.survey-usage strong{font-size:25px;line-height:1.2}
.project-sync{font-size:10px;color:#8190a0;line-height:1.6;margin:0 0 17px}
.project-grid .notification-dot{font-size:11px;line-height:1.5}
.project-grid .space-content h3{overflow-wrap:anywhere}
.project-grid .space-art{flex:none}
.project-grid .space-content>.access{margin-top:auto}
@media(max-width:1100px){.project-toolbar{display:grid;grid-template-columns:1fr;gap:12px}.project-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.project-filters label{min-width:0}.project-toolbar .search-label{min-width:0}}
@media(max-width:520px){.project-toolbar{padding:13px;gap:12px}.project-filters{grid-template-columns:1fr 1fr;gap:12px 10px}.project-filters label:last-child{grid-column:1/-1}.project-filters select{font-size:11px;padding-inline:8px}.project-results{flex-wrap:wrap;padding:10px 0;gap:6px}.spaces-heading{flex-wrap:wrap}.spaces-heading .text-action{font-size:10px}}

.language-picker select{width:auto;padding:7px 24px 7px 10px;font-size:12px;border:1px solid var(--line,#dce4ed);border-radius:8px;background:white;color:inherit}.preferences-form{max-width:920px}.preferences-form .settings-note{margin:20px 0}.metric-wallet strong{font-size:clamp(20px,2.4vw,30px)}

[data-style="onqual-bis"]{--theme-color:#cb0101;--theme-bg:#f4f3f2;--theme-soft:#fbeeee;--theme-ink:#4a4a49;--theme-radius:16px}
.style-preview[data-style="onqual-bis"] .preview-hero,.style-thumbnail[data-style="onqual-bis"] .thumb-hero{border-radius:0;background:linear-gradient(90deg,#cb0101 0 70%,#eceae8 70%)}
.style-preview[data-style="onqual-bis"] .preview-hero h3{font-weight:800;max-width:65%}
.style-preview[data-style="onqual-bis"] .preview-poll{background:#cb0101;color:white;border-radius:14px;padding:18px;margin-top:16px}
.style-preview[data-style="onqual-bis"] .preview-poll h4{font-size:21px;margin-top:0}
.style-preview[data-style="onqual-bis"] .preview-option{background:white;color:#4a4a49;border-radius:8px}
.style-preview[data-style="onqual-bis"] .preview-cta{background:white;color:#cb0101;font-weight:700;border-radius:30px}
.style-preview[data-style="onqual-bis"] .preview-layout>aside>b{background:#cb0101;color:white;border-radius:24px}
.style-preview[data-style="onqual"] .preview-hero{display:none}
.style-thumbnail[data-style="onqual"] .thumb-hero{background:#f3f3f3}
