*{box-sizing:border-box}body{margin:0;background:#eef2f7;color:#182033;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}.public-site-shell{min-height:100vh;background:#eef2f7}.public-site-topbar{display:flex;justify-content:space-between;gap:16px;padding:14px 20px;border-bottom:1px solid #d7deea;background:#fff;color:#526071;font-size:.9rem}.public-site-topbar strong{color:#182033}.public-site-empty{display:grid;grid-template-rows:auto 1fr}.public-empty-panel{display:grid;align-content:center;justify-items:start;gap:8px;max-width:720px;margin:0 auto;padding:40px 24px}.hostname-mode-group{display:grid;gap:8px;margin-bottom:12px}.hostname-mode-option{display:flex;align-items:center;gap:8px;color:#344054;font-size:.9rem;font-weight:700}.app-shell{min-height:100vh}.platform-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.platform-sidebar{position:sticky;top:0;display:grid;align-content:start;gap:10px;height:100vh;border-right:1px solid #d7deea;background:#fff;padding:20px 14px}.platform-sidebar>div:nth-child(2){display:grid;gap:4px;padding:0 8px 16px}.platform-sidebar span{color:#667085;font-size:.82rem}.brand-mark{display:grid;width:36px;height:36px;place-items:center;border-radius:8px;background:#172033;color:#fff;font-weight:900}.platform-sidebar nav{display:grid;gap:4px;margin-top:8px}.platform-sidebar nav button{display:flex;align-items:center;gap:10px;border:0;border-radius:8px;background:transparent;padding:10px;color:#526071;font-weight:800;text-align:left}.platform-sidebar nav button:hover,.platform-sidebar nav button.active{background:#eef2f7;color:#172033}.platform-main{min-width:0;padding:24px}.auth-shell,.client-portal{min-height:100vh;padding:28px}.auth-shell{display:grid;place-items:center;background:linear-gradient(135deg,#172033eb,#1e293bd1),url(https://images.unsplash.com/photo-1497366754035-f200968a6e72?w=1600&h=1100&fit=crop);background-size:cover;background-position:center}.auth-card{display:grid;gap:14px;width:min(460px,100%);border:1px solid rgba(255,255,255,.18);border-radius:8px;background:#fffffff5;padding:28px;box-shadow:0 24px 80px #0f172a4d}.auth-card h1,.client-hero h2{margin-bottom:6px;font-size:2rem}.auth-card p,.client-hero p,.feature-card p{color:#526071;line-height:1.55}.auth-actions,.auth-form{display:grid;gap:10px}.auth-form{border-top:1px solid #e5eaf1;padding-top:14px}.auth-form label{display:grid;gap:7px;color:#344054;font-size:.86rem;font-weight:800}.auth-form input{min-height:42px;border:1px solid #cfd7e3;border-radius:8px;padding:0 11px}.client-portal{display:grid;align-content:start;gap:18px;max-width:1180px;margin:0 auto}.client-topbar,.client-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #d7deea;border-radius:8px;background:#fff;padding:20px}.client-topbar h1{margin:0;font-size:1.4rem}.client-hero{align-items:end}.feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.feature-card{border:1px solid #d7deea;border-radius:8px;background:#fff;padding:18px}.feature-card strong{display:block;margin:8px 0;font-size:1.9rem}.session-bar{display:flex;justify-content:flex-end;gap:8px;margin:0 auto 16px;max-width:1200px;color:#667085;font-size:.84rem}.session-bar strong{color:#182033}.sidebar-logout{margin-top:14px}.home-grid,.admin-screen{display:grid;gap:20px;max-width:1200px;margin:0 auto;padding:24px}.hero-panel,.section-block{border:1px solid #d7deea;border-radius:8px;background:#fff;padding:24px}.hero-panel{display:flex;align-items:end;justify-content:space-between;gap:20px}.eyebrow{margin:0 0 8px;color:#667085;font-size:.78rem;font-weight:800;letter-spacing:0;text-transform:uppercase}h1,h2,h3,p{margin-top:0}.hero-panel h1{max-width:760px;margin-bottom:12px;font-size:clamp(2rem,6vw,4.25rem);line-height:.98}.hero-copy{max-width:620px;color:#526071;font-size:1.08rem}.section-heading{display:flex;justify-content:space-between;margin-bottom:16px}.section-stack{display:grid;gap:18px;max-width:1180px}.page-header{display:flex;justify-content:space-between;border-bottom:1px solid #d7deea;padding-bottom:18px}.page-header h1{margin-bottom:6px;font-size:1.7rem}.page-header p:last-child{color:#667085}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.stat-card{display:grid;gap:8px;border:1px solid #d7deea;border-radius:8px;background:#fff;padding:18px}.stat-card span{color:#667085;font-size:.82rem;font-weight:800}.stat-card strong{font-size:2rem}.form-card,.table-card{border:1px solid #d7deea;border-radius:8px;background:#fff;padding:18px}.form-card{display:flex;align-items:end;gap:12px}.form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto}.form-grid-full{grid-column:1 / -1}.form-error{color:#b42318;font-size:.86rem;font-weight:700}.form-card label{display:grid;gap:7px;color:#344054;font-size:.86rem;font-weight:800}.form-card input,.form-card select{min-height:40px;border:1px solid #cfd7e3;border-radius:8px;padding:0 11px;color:#182033}.table-card{display:grid;gap:8px}.table-row{display:grid;grid-template-columns:minmax(220px,1fr) minmax(90px,auto) minmax(90px,auto) minmax(120px,auto) auto;gap:12px;align-items:center;border:1px solid #e5eaf1;border-radius:8px;padding:12px}.table-row div{display:grid;gap:4px}.table-row span{color:#667085;font-size:.85rem}.row-actions{display:flex!important;flex-wrap:wrap;justify-content:flex-end;gap:8px!important}.danger-button{color:#b42318}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{overflow:hidden;border:1px solid #dfe5ee;border-radius:8px;background:#fff}.template-card img{display:block;width:100%;height:170px;object-fit:cover}.template-body{padding:16px}.template-body span{color:#667085;font-size:.78rem;font-weight:700}.template-body p{min-height:44px;color:#526071}.template-meta{min-height:auto!important;color:#667085!important;font-size:.8rem;font-weight:700}.template-body button,.primary-button,.ghost-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border:0;border-radius:8px;padding:0 14px;background:#172033;color:#fff;font-weight:800}.compact{min-height:34px;padding:0 10px;font-size:.82rem}.ghost-button{border:1px solid #cfd7e3;background:#fff;color:#172033}.status-pill{border-radius:999px;background:#eef2f7;padding:6px 10px;color:#344054;font-size:.78rem;font-weight:900}.empty-state,.site-row{border:1px dashed #cfd7e3;border-radius:8px;padding:16px;color:#526071}.site-list{display:grid;gap:10px}.site-row{display:flex;justify-content:space-between;width:100%;background:#fff;text-align:left}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:auto 1fr;min-height:100vh}.topbar{grid-column:1 / -1;display:flex;align-items:center;gap:14px;border-bottom:1px solid #d7deea;background:#fff;padding:14px 18px}.topbar h1{margin:0;font-size:1.15rem}.topbar .primary-button{margin-left:auto}.icon-button{display:inline-grid;width:40px;height:40px;place-items:center;border:1px solid #cfd7e3;border-radius:8px;background:#fff}.preview-wrap{overflow:auto;padding:24px}.preview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1040px;margin:0 auto 10px}.preview-current-title{margin:0;color:#526071;font-size:.82rem;font-weight:800}.viewport-switcher{display:inline-flex;flex:0 0 auto;gap:4px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;padding:4px}.viewport-switcher button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:0;border-radius:6px;background:transparent;padding:0 10px;color:#526071;font-size:.8rem;font-weight:800}.viewport-switcher button.active{background:#172033;color:#fff}.landing-frame{display:block;max-width:100%;height:760px;margin:0 auto;border:0;border-radius:8px;background:#fff;box-shadow:0 22px 80px #0f172a2e}.landing-frame-fluid{width:100%;height:calc(100vh - 58px);margin:0;border-radius:0;box-shadow:none}.landing-preview{max-width:1040px;min-height:760px;margin:0 auto;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 22px 80px #0f172a2e}.landing-preview nav{display:flex;align-items:center;justify-content:space-between;padding:22px 32px}.landing-preview nav a,.landing-hero a,.landing-cta a{border-radius:8px;background:var(--accent);color:#fff;padding:12px 16px;text-decoration:none;font-weight:800}.landing-hero{display:grid;grid-template-columns:1fr 430px;gap:32px;align-items:center;padding:32px}.landing-hero span{color:var(--accent);font-weight:900}.landing-hero h1{margin:12px 0;font-size:clamp(2.2rem,5vw,4.5rem);line-height:.98}.landing-hero p,.landing-about p{color:#536171;font-size:1.05rem;line-height:1.65}.landing-hero img{width:100%;aspect-ratio:4 / 5;border-radius:8px;object-fit:cover}.landing-about,.landing-cta{padding:40px 32px}.landing-about{background:#f7f9fc}.landing-about h2,.landing-cta h2{max-width:680px;font-size:2.1rem}.landing-cta{display:flex;align-items:center;justify-content:space-between;gap:16px}.editor-sheet{overflow:auto;border-left:1px solid #d7deea;background:#fff;padding:20px}.sheet-header{margin-bottom:18px}.field-section{border-top:1px solid #e5eaf1;padding:18px 0}.field-section h3{font-size:.95rem}.field-control{display:grid;gap:7px;margin-bottom:14px;color:#344054;font-size:.9rem;font-weight:800}.field-control input,.field-control textarea{width:100%;border:1px solid #cfd7e3;border-radius:8px;padding:10px 12px;color:#182033;font-weight:500}.field-control textarea{min-height:88px;resize:vertical}.image-tools{display:flex;flex-wrap:wrap;gap:8px}.image-tools button,.small-button{display:inline-flex;align-items:center;gap:6px;border:1px solid #cfd7e3;border-radius:8px;background:#fff;padding:8px 10px;color:#344054;font-size:.82rem;font-weight:800}.small-button input{display:none}.admin-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}@media (max-width: 900px){.hero-panel,.landing-cta,.site-row{align-items:stretch;flex-direction:column}.template-grid,.feature-grid,.admin-grid,.stats-grid,.form-grid,.landing-hero,.platform-shell{grid-template-columns:1fr}.platform-sidebar{position:static;height:auto}.table-row,.form-card{display:grid;grid-template-columns:1fr}.editor-grid{grid-template-columns:1fr}.editor-sheet{border-left:0;border-top:1px solid #d7deea}.preview-toolbar{align-items:stretch;flex-direction:column}.viewport-switcher{width:100%;overflow-x:auto}.viewport-switcher button{flex:1 0 auto}}
