/* Homepage reference layout. Existing workspaces retain their own components. */
body[data-view="home"] .container{width:min(1650px,90%)}
.utility-bar{height:38px}
.utility-left{font-size:10px;letter-spacing:1.2px}
.utility-right{font-size:12px}
.header-inner{min-height:98px;height:98px;gap:40px}
.brand-title{font-size:31px}
.brand-mark{width:45px;height:48px}
.brand-subtitle{font-size:10px;letter-spacing:1.6px}
.main-nav{height:98px;gap:32px}
.main-nav button{font-size:15px}
.header-actions{gap:13px}
.header-actions .create-design{display:inline-flex;min-height:40px;font-size:13px;padding:9px 14px}
.visit-counter{position:relative}
.visit-display{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 13px;border:1px solid #e2eaf4;border-radius:7px;background:#f7f9fc;font-size:13px;white-space:nowrap;color:#778fac}
.visit-display strong{font-size:16px;color:var(--ink);font-variant-numeric:tabular-nums}
.visit-display .icon{width:18px;height:18px}
.visit-counter.connected .visit-state{display:none}
body[data-view="home"] .hero-inner{min-height:388px;grid-template-columns:1.2fr 1fr;gap:30px}
body[data-view="home"] .hero-copy{padding:34px 0 38px}
body[data-view="home"] .hero .eyebrow{font-size:11px;letter-spacing:1.8px}
body[data-view="home"] .hero h1{font-size:48px;line-height:1.45;margin:17px 0 13px;font-weight:700}
body[data-view="home"] .hero-description{font-size:15px;line-height:2;max-width:760px}
body[data-view="home"] .hero-description br{display:block}
body[data-view="home"] .hero-actions{margin-top:23px;gap:15px}
body[data-view="home"] .hero-actions .btn{font-size:15px;min-height:49px;padding:12px 22px;gap:10px}
body[data-view="home"] .hero-visual{position:relative;inset:auto;width:auto;opacity:1;align-self:stretch;pointer-events:auto}
body[data-view="home"] .hero-visual .molecule-svg{width:100%;max-width:595px;min-width:0;max-height:370px;margin:0}
body[data-view="home"] .visual-caption{display:none}
.source-stats .stats-grid{padding:27px 0 23px}
.source-stats .stat-item{display:flex;gap:16px;padding-left:34px;min-height:65px;border-right:1px solid var(--line);border-bottom:0}
.source-stats .stat-item:first-child{padding-left:0}
.source-stats .stat-item:last-child{border:0}
.source-stats .stat-icon{display:flex;width:44px;height:44px;border-radius:10px}
.source-stats .stat-icon .icon{width:22px;height:22px}
.source-stats .stat-number{font-size:32px;letter-spacing:-1px}
.source-stats .stat-title{font-size:14px;margin-top:7px}
.stats-link-row{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);min-height:41px;gap:12px}
.stats-link-row .text-btn{font-size:12px}
.stats-link-row>span{font-size:11px;color:#8196b0}
.home-page{padding:16px 0 36px}
.home-workspace-links{display:flex;align-items:stretch;gap:36px;height:64px;border-bottom:1px solid #dce6f2;margin-bottom:26px}
.home-workspace-links button{display:flex;align-items:center;gap:10px;padding:0 3px;border:0;border-bottom:2px solid transparent;background:none;color:#8394aa;font-size:18px}
.home-workspace-links button.selected{color:var(--ink);border-bottom-color:var(--blue);font-weight:650}
.home-workspace-links button:hover{color:var(--blue)}
.home-workspace-links .icon{width:21px;height:21px}
.home-workspace-links button span{font-size:10px;color:var(--blue);background:#eaf2fb;border-radius:3px;padding:2px 6px;letter-spacing:.5px}
.reference-overview{background:white;border:1px solid #dfe8f2;border-radius:14px;box-shadow:0 8px 30px #19385406;overflow:hidden;scroll-margin-top:120px}
.reference-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px;border-bottom:1px solid var(--line)}
.reference-heading .eyebrow{font-size:10px;letter-spacing:1.5px}
.reference-heading h2{font-size:23px;line-height:1.4;margin:10px 0 0}
.reference-heading .btn{font-size:13px;min-height:40px}
.reference-columns{display:grid;grid-template-columns:1.15fr 1fr}
.reference-site-statistics,.reference-distribution{padding:27px}
.reference-site-statistics{border-right:1px solid var(--line)}
.reference-columns h3{font-size:13px;font-weight:650;color:#748fae;margin:0 0 19px;letter-spacing:.2px}
.reference-table{width:100%;border-collapse:collapse;table-layout:fixed;color:#5a7b9f;font-size:14px}
.reference-table thead{background:#f5f8fc;color:#7895b5}
.reference-table th,.reference-table td{border-bottom:1px solid #ebf0f7;padding:15px;text-align:right;font-weight:400;vertical-align:middle}
.reference-table th:first-child{width:53%;text-align:left}
.reference-table thead th{font-size:12px;line-height:1.7}
.reference-table thead small{font-size:9px;font-family:var(--mono);display:block}
.reference-table tbody th{font-weight:600;line-height:1.6}
.reference-table tbody th small{display:block;font-size:10px;font-weight:400;color:#819ab7;margin-top:3px}
.reference-table td{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:14px}
.reference-table tbody tr:last-child>*{border-bottom:0}
.reference-distribution-heading{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.reference-distribution-heading>span{font:9px var(--mono);color:#829abb}
.reference-bar-row{margin-bottom:22px}
.reference-bar-row>div:first-child{display:flex;justify-content:space-between;gap:10px;font-size:14px;color:#6482a5;margin-bottom:9px}
.reference-bar-row>div:first-child span:last-child{font-family:var(--mono)}
.reference-bar-track{height:6px;background:#edf2f8;border-radius:10px;overflow:hidden}
.reference-bar-track span{height:100%;display:block;border-radius:10px;background:#aac5e0}
.reference-bar-row:nth-child(2) .reference-bar-track span{background:#286bbb}
.reference-bar-row:nth-child(3) .reference-bar-track span{background:#449383}
.reference-bar-row:nth-child(4) .reference-bar-track span{background:#7ca7d6}
.reference-bar-row:nth-child(5) .reference-bar-track span{background:#94b7db}
.reference-distribution-footer{border-top:1px solid #eaf0f7;padding-top:17px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;color:#849cba}
.reference-distribution-footer .text-btn{font-size:13px}
.reference-note{font-size:11px;line-height:1.8;color:#8a9fba;margin:19px 0 0}
.reference-full,.home-full-statistics{margin-top:24px}
.reference-full{scroll-margin-top:120px}
@media(min-width:1101px) and (max-width:1450px){.header-inner{gap:25px}.main-nav{gap:23px}.brand-title{font-size:27px}.brand-subtitle{font-size:8px}.main-nav button{font-size:13px}.header-actions .create-design{font-size:12px}body[data-view="home"] .hero h1{font-size:42px}body[data-view="home"] .hero-description{font-size:13px}}
@media(max-width:1100px){.header-inner{display:grid;grid-template-columns:1fr auto;height:auto;min-height:0;padding-top:15px;gap:0}.main-nav{grid-column:1/-1;grid-row:2;height:53px;gap:32px;margin-top:12px}.main-nav button{font-size:14px}.brand-title{font-size:28px}.brand-subtitle{font-size:9px}.header-actions{grid-column:2;grid-row:1}body[data-view="home"] .hero h1{font-size:37px}body[data-view="home"] .hero-inner{min-height:350px;grid-template-columns:1.2fr .85fr;gap:12px}body[data-view="home"] .hero-description{font-size:13px}body[data-view="home"] .hero-actions .btn{font-size:13px;padding:11px 15px}.source-stats .stat-number{font-size:27px}.source-stats .stat-item{padding-left:20px;gap:12px}.source-stats .stat-title{font-size:12px}.reference-site-statistics,.reference-distribution{padding:21px}.reference-table th,.reference-table td{padding:14px 10px}}
@media(max-width:760px){body[data-view="home"] .container{width:calc(100% - 36px)}.utility-bar{height:30px}.utility-left{display:block;font-size:8px}.utility-right{width:auto;font-size:9px}.utility-right>span:first-child{display:none!important}.brand-title{font-size:25px}.brand-mark{width:36px;height:39px}.brand-subtitle{display:none}.header-actions .create-design{font-size:11px;min-height:36px;padding:8px 10px}.visit-display{font-size:11px;padding:8px;min-height:36px;gap:5px}.visit-display strong{font-size:14px}.visit-display .visit-eye{display:none}.main-nav{height:49px;gap:18px;justify-content:space-between}.main-nav button{font-size:12px}body[data-view="home"] .hero-inner{grid-template-columns:1fr;gap:0}body[data-view="home"] .hero-copy{padding:30px 0 10px}body[data-view="home"] .hero h1{font-size:36px;max-width:none}body[data-view="home"] .hero-description{font-size:14px;max-width:none}body[data-view="home"] .hero .eyebrow{font-size:9px;letter-spacing:1px}body[data-view="home"] .hero-actions .btn{font-size:14px;min-height:45px}body[data-view="home"] .hero-visual{height:240px}body[data-view="home"] .hero-visual .molecule-svg{max-height:260px;width:390px;max-width:100%}.source-stats .stats-grid{grid-template-columns:1fr 1fr;padding:10px 0;gap:0}.source-stats .stat-item{padding:18px 0 18px 18px;min-height:88px;border:0}.source-stats .stat-item:nth-child(odd){padding-left:0;border-right:1px solid var(--line)}.source-stats .stat-item:nth-child(-n+2){border-bottom:1px solid var(--line)}.source-stats .stat-number{font-size:27px}.source-stats .stat-icon{width:35px;height:38px}.source-stats .stat-title{font-size:12px}.home-workspace-links{height:59px;gap:24px;margin-bottom:20px}.home-workspace-links button{font-size:16px;gap:8px}.reference-heading{padding:22px;gap:12px}.reference-heading h2{font-size:21px}.reference-heading .eyebrow{font-size:8px}.reference-heading .btn{font-size:11px;min-height:35px;padding:8px}.reference-columns{grid-template-columns:1fr}.reference-site-statistics{border-right:0;border-bottom:1px solid var(--line)}.reference-table tbody th small{font-size:10px}.reference-table td{font-size:13px}.reference-table th:first-child{width:51%}.reference-site-statistics,.reference-distribution{padding:21px 16px}.reference-full .home-full-content{padding:16px}.reference-note{font-size:12px}.stats-link-row>span{font-size:10px}}
@media(max-width:420px){.header-actions{gap:7px}.header-actions .create-design{font-size:10px;padding:7px}.header-actions .create-design .icon{width:13px}.brand-title{font-size:22px}.brand-mark{width:29px}.main-nav{gap:10px}.main-nav button{font-size:11px}body[data-view="home"] .hero h1{font-size:31px}body[data-view="home"] .hero-actions{gap:9px}body[data-view="home"] .hero-actions .btn{font-size:12px;padding:10px 12px}.source-stats .stat-number{font-size:24px}.source-stats .stat-item{gap:9px}.source-stats .stat-icon{width:29px}.home-workspace-links{gap:22px}.home-workspace-links button{font-size:14px}.reference-heading{padding:20px 16px}.reference-heading h2{font-size:20px}.reference-table th,.reference-table td{padding:14px 7px}.reference-table{font-size:12px}.reference-table tbody th small{font-size:9px}}

.visit-counter.connected.sync-delayed .visit-state{display:inline;color:#8c744a}
