/* Customer workspace only. Builder, checkout and public preview layouts retain their styles. */
body:has(.dashboard-hero){background:#f5f7fb;color:#091327;font-weight:500;letter-spacing:0}
body:has(.dashboard-hero) :where(h1,h2,h3,h4,b,strong,.btn,.pill,.brand,.field span,summary){font-weight:700}
body:has(.dashboard-hero) :where(p,.site-meta,.stat span,.chip,.site-url,.sample-body small,.sample-body p,.customer-tool-card p,.dashboard-section-head p){font-weight:500}
body:has(.dashboard-hero) :where(button,input,select,textarea){font-family:inherit}
body:has(.dashboard-hero) .wrap{width:min(1180px,calc(100% - 40px));min-width:0}
body:has(.dashboard-hero) .top{background:rgba(255,255,255,.97);border-color:#dce3ee}
body:has(.dashboard-hero) .top-inner{min-height:76px;flex-direction:row;align-items:center}
body:has(.dashboard-hero) .brand{font-size:20px;white-space:nowrap}
body:has(.dashboard-hero) .brand span{color:#101d38;background:none;background-clip:border-box;-webkit-text-fill-color:#101d38}
body:has(.dashboard-hero) .brand img{width:42px;height:42px;border-radius:12px}
body:has(.dashboard-hero) .nav{width:auto;gap:8px}
body:has(.dashboard-hero) .btn{min-height:44px;padding:10px 15px;border-radius:11px;box-shadow:none;line-height:1.4;text-align:center;font-size:14px}
body:has(.dashboard-hero) .btn-dark{background:#101d38;color:#fff}
body:has(.dashboard-hero) .btn-orange{background:#b94714;color:#fff}
body:has(.dashboard-hero) .btn-blue{background:#2947c7;color:#fff}
body:has(.dashboard-hero) .btn-light{background:#fff;color:#182747;border-color:#d7dfec}
body:has(.dashboard-hero) .btn-red{background:#fff;color:#a12835;border-color:#ebcbd0}
body:has(.dashboard-hero) .ui-lang-select{min-height:44px;max-width:112px;border:1px solid #d7dfec;border-radius:11px!important;background:#fff;color:#182747;font-weight:600}
.dashboard-hero{padding:32px 0 0}
.dashboard-hero-pro{grid-template-columns:1.15fr .85fr;gap:42px;align-items:center;padding:40px;background:#071126;border:1px solid #192c50;border-radius:24px;box-shadow:0 14px 38px rgba(7,17,38,.08)}
.dashboard-hero-pro::before{width:370px;height:370px;inset:auto -220px -290px auto;background:#2947c7;opacity:.22}
.dashboard-hero-pro::after{display:none}
.dashboard-hero-copy{min-width:0}
.dashboard-hero-copy .badge{padding:0;margin:0 0 16px;border:0;background:none;color:#ffab80;font-size:13px;letter-spacing:.025em;line-height:1.4}
.dashboard-hero-copy h1{max-width:620px;margin:0 0 16px;font-size:clamp(32px,3.4vw,46px);line-height:1.15;letter-spacing:-.025em;text-wrap:balance}
.dashboard-hero-copy p{max-width:570px;font-size:17px;line-height:1.75;color:#c4cee2;font-weight:500}
.dashboard-hero-actions{gap:9px;margin-top:25px}
body:has(.dashboard-hero) .dashboard-hero-actions .btn-light{background:#13203b;color:#e6ecf7;border-color:#34425e}
body:has(.dashboard-hero) #dashboardRefreshBtn{border-color:transparent;background:none;color:#c4cee2;padding-inline:9px}
.workspace-overview{position:relative;min-width:0;border:1px solid #35435d;border-radius:18px;background:#12203a;padding:23px;color:#fff}
.workspace-overview h2{font-size:20px;line-height:1.3;margin:0 0 5px}
.workspace-overview>p{margin:0 0 18px;font-size:14px;color:#b7c4dd}
.workspace-overview .dashboard-status-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0}
.workspace-overview .stat{grid-column:span 2;min-width:0;padding:13px 8px;background:none;border:0;border-radius:0;box-shadow:none;border-top:1px solid #35435d}
.workspace-overview .stat:nth-child(n+4){grid-column:span 3}
.workspace-overview .stat strong{font-size:28px;line-height:1.2;margin-bottom:6px;font-variant-numeric:tabular-nums;color:#fff}
.workspace-overview .stat span{display:block;font-size:12px;line-height:1.45;color:#c4cee2}
.workspace-sites-panel{margin:32px auto!important;padding:0!important;background:none;border:0;border-radius:0;box-shadow:none!important}
.workspace-sites-panel .section-title{align-items:flex-start;gap:20px;margin-bottom:21px}
.workspace-sites-panel .section-title h2{font-size:28px;line-height:1.3;letter-spacing:-.015em}
.workspace-sites-panel .section-title p{max-width:720px;font-weight:500;font-size:15px;line-height:1.65;color:#58657b}
.workspace-sites-panel .status-legend{margin-top:13px;gap:6px}
body:has(.dashboard-hero) .pill{font-size:12px;padding:4px 9px;line-height:1.55;border-radius:7px}
.dashboard-sites-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.dashboard-sites-list .site-card{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:24px;border:1px solid #dbe2ed;border-radius:18px;box-shadow:0 7px 20px rgba(7,17,38,.035);min-width:0}
.dashboard-sites-list .site-card-main{display:block;min-width:0}
.dashboard-sites-list .site-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:11px}
.dashboard-sites-list .site-card h3{font-size:25px;line-height:1.3;overflow-wrap:anywhere}
.dashboard-sites-list .site-url{display:block;width:auto;max-width:100%;margin-top:7px;padding:0;border:0;border-radius:0;background:none;color:#58657b;font-size:12px;font-family:'Plus Jakarta Sans',sans-serif;white-space:normal;overflow-wrap:anywhere;text-align:inherit}
.dashboard-sites-list .site-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;font-size:13px;line-height:1.6;color:#58657b}
.dashboard-sites-list .site-meta>span{display:block;padding:0;background:none;border:0;border-radius:0;min-width:0;overflow-wrap:anywhere}
.dashboard-sites-list .site-meta b{color:#28364e;font-weight:600}
.dashboard-sites-list .site-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:17px;border-top:1px solid #e4e9f1;justify-content:flex-start}
.dashboard-sites-list .site-action-group{display:flex;flex-wrap:wrap;gap:8px;width:100%;min-width:0}
.dashboard-sites-list .site-action-group:empty{display:none}
.dashboard-sites-list .site-primary-actions .btn{flex:1 1 0;min-width:0}
.dashboard-sites-list .site-lifecycle-actions{padding-top:12px;margin-top:4px;border-top:1px solid #e4e9f1}
.dashboard-sites-list .site-lifecycle-actions .btn-red{margin-inline-start:auto}
body:has(.dashboard-hero) .dashboard-sites-list .site-actions .btn{min-height:42px;padding:10px 12px;font-size:13px;width:auto}
.dashboard-sites-list .domain-card{margin:0;padding:16px;background:#f6f8fc;border:1px solid #e0e6f0;border-radius:12px;min-width:0;box-shadow:none}
.dashboard-sites-list .domain-head{gap:10px;align-items:flex-start}
.dashboard-sites-list .domain-head h4{font-size:16px;line-height:1.4;margin:0}
.dashboard-sites-list .domain-head p{font-size:13px;color:#58657b;margin:4px 0 0;overflow-wrap:anywhere}
.dashboard-sites-list .domain-note{font-weight:500;font-size:12px;line-height:1.65;color:#58657b;margin-top:9px}
.dashboard-sites-list .domain-note.domain-error{color:#a12835}
.dashboard-sites-list .domain-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:13px}
body:has(.dashboard-hero) .domain-card .btn{min-height:40px;font-size:12px;padding:8px 11px}
.dashboard-sites-list .domain-form{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:13px}
.dashboard-sites-list .domain-form input{min-width:0;font-size:13px;min-height:42px;border-radius:9px;font-weight:500}
.dashboard-sites-list .domain-record{min-width:0;padding:12px;border-radius:9px;font-size:12px}
.dashboard-sites-list .domain-record code{min-width:0;overflow-wrap:anywhere;white-space:normal;font-size:11px}
.dashboard-notes{margin-top:20px;padding:17px 19px;background:#fff;border:1px solid #dbe2ed;border-radius:13px;box-shadow:none}
.dashboard-notes summary{font-size:15px;color:#35435d}
body:has(.dashboard-hero) .dashboard-notes :where(.dashboard-info-card,.policy-item){font-weight:500;border-radius:12px;font-size:13px}
.dashboard-account-wrap{grid-template-columns:1fr 1fr;gap:20px;margin:36px auto;align-items:stretch}
.dashboard-account-wrap .account-box{display:block;min-width:0;align-self:stretch;padding:24px;border:1px solid #dbe2ed;border-radius:18px;background:#fff;box-shadow:none}
.dashboard-account-wrap .account-box h3{margin:0 0 10px;font-size:23px;line-height:1.3}
.dashboard-account-wrap #customerGreeting{font-size:15px;font-weight:500;margin-bottom:13px;color:#58657b}
.dashboard-account-wrap .account-box>.chip{background:#f5f7fb;border:1px solid #e0e6f0;border-radius:8px;color:#46546a;font-size:13px;padding:6px 9px;max-width:100%;overflow-wrap:anywhere}
.dashboard-account-wrap .account-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:19px}
.dashboard-account-wrap .account-actions .btn{flex:0 1 auto;font-size:13px}
.dashboard-account-wrap #deleteAccountBtn{background:none;border-color:transparent;margin-inline-start:auto;color:#a12835}
.customer-dashboard-tools{display:grid;grid-template-columns:1fr;gap:15px;margin:0}
.customer-tool-card{display:grid;grid-template-columns:40px minmax(0,1fr);gap:15px;min-width:0;align-items:start;padding:21px;border:1px solid #dbe2ed;border-radius:18px;background:#fff;box-shadow:none;text-align:inherit}
.customer-tool-icon{margin:0;display:grid;place-items:center;width:40px;height:40px;background:#edf1fc;color:#2947c7;border:0;border-radius:11px}
.customer-tool-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.customer-tool-card h3{font-size:18px;line-height:1.4}
.customer-tool-card p{font-size:14px;line-height:1.7;color:#58657b;font-weight:500}
.customer-tool-card .support-email-pill{padding:0;border:0;border-radius:0;background:none;color:#2947c7;font-size:13px;font-weight:600;overflow-wrap:anywhere}
body:has(.dashboard-hero) .customer-tool-card .btn{width:auto}
body:has(.dashboard-hero) .account-edit-form{min-width:0}
body:has(.dashboard-hero) .field input{border-radius:11px;font-weight:500}
body:has(.dashboard-hero) #samplesSection{margin:44px auto}
.dashboard-section-head h2{font-size:28px;line-height:1.3;letter-spacing:-.015em}
.dashboard-section-head p{font-size:15px;line-height:1.65;color:#58657b;font-weight:500}
.samples-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.sample-card{min-width:0;border:1px solid #dbe2ed;border-radius:16px;box-shadow:0 7px 20px rgba(7,17,38,.035)}
.sample-cover{height:135px}
.sample-logo{width:46px;height:46px;bottom:10px;inset-inline-end:10px;border-width:2px;border-radius:11px;box-shadow:0 3px 12px rgba(7,17,38,.1)}
.sample-body{padding:17px;gap:8px}
.sample-body small{font-size:12px}
.sample-body h3{font-size:19px;line-height:1.35}
.sample-body p{font-size:13px;line-height:1.6;font-weight:500}
.sample-design-meta{font-size:12px;border-radius:8px}
body:has(.dashboard-hero) .sample-body .btn{font-size:12px;min-height:40px}
body:has(.dashboard-hero) .legal-footer{margin-top:0;background:#050b1c;padding:38px 16px}
body:has(.dashboard-hero) .legal-copy{max-width:780px;font-weight:500;line-height:1.7}
body:has(.dashboard-hero) .powered{font-weight:700;font-size:17px}
html[lang=ar] .dashboard-hero-copy h1{letter-spacing:0;line-height:1.3}
@media(max-width:1100px){.dashboard-hero-pro{gap:26px;padding:30px;grid-template-columns:1.1fr .9fr}.dashboard-hero-copy h1{font-size:36px}.dashboard-hero-actions .btn{width:auto}.samples-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.dashboard-hero-pro{grid-template-columns:1fr}.dashboard-account-wrap{grid-template-columns:1fr}.dashboard-sites-list{grid-template-columns:1fr!important}.workspace-overview .dashboard-status-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.workspace-overview .stat,.workspace-overview .stat:nth-child(n+4){grid-column:auto}.dashboard-hero-copy h1{max-width:560px}.workspace-sites-panel .section-title{flex-direction:row}.dashboard-notes-grid{grid-template-columns:1fr}}
@media(max-width:700px){body:has(.dashboard-hero) .wrap{width:calc(100% - 28px)}body:has(.dashboard-hero) .top-inner{flex-wrap:wrap;gap:10px;padding:12px 0}body:has(.dashboard-hero) .brand{font-size:18px}body:has(.dashboard-hero) .brand img{width:36px;height:36px}body:has(.dashboard-hero) .nav{width:100%;display:flex;flex-wrap:wrap;gap:6px}body:has(.dashboard-hero) .nav .btn{flex:1 1 auto;font-size:12px;padding:8px 9px;min-height:40px}body:has(.dashboard-hero) .ui-lang-select{max-width:104px;min-height:40px}.dashboard-hero{padding-top:20px}.dashboard-hero-pro{padding:24px 21px;border-radius:18px;gap:25px}.dashboard-hero-copy h1{font-size:34px;line-height:1.18}.dashboard-hero-copy p{font-size:16px}.dashboard-hero-actions{margin-top:20px}.dashboard-hero-actions #createNewHeroBtn{width:100%}.workspace-overview{padding:17px;border-radius:13px}.workspace-overview .dashboard-status-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.workspace-overview .stat{grid-column:span 2}.workspace-overview .stat:nth-child(n+4){grid-column:span 3}.workspace-overview .stat strong{font-size:25px}.workspace-sites-panel{margin:25px auto!important}.workspace-sites-panel .section-title{flex-direction:column;gap:14px}.workspace-sites-panel .section-title h2,.dashboard-section-head h2{font-size:26px}.dashboard-sites-list .site-card{padding:20px;gap:18px}.dashboard-sites-list .site-meta{gap:10px 13px;font-size:12px}.dashboard-sites-list .site-card h3{font-size:24px}.dashboard-sites-list .site-actions .btn{flex:1 1 auto}.dashboard-sites-list .domain-form{grid-template-columns:minmax(0,1fr)}.dashboard-account-wrap{margin:28px auto;gap:16px}.dashboard-account-wrap .account-box{padding:20px}.customer-tool-card{padding:20px;grid-template-columns:36px minmax(0,1fr);gap:12px}.customer-tool-icon{width:36px;height:36px}.samples-grid{grid-template-columns:1fr}.sample-cover{height:170px}.sample-body h3{font-size:21px}.sample-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sample-body .btn{margin-top:0}body:has(.dashboard-hero) #samplesSection{margin:32px auto}.dashboard-account-wrap #deleteAccountBtn{margin-inline-start:0}}
