:root{--bg:#070b18;--panel:#0d1530;--panel2:#101b3e;--line:rgba(146,172,255,.22);--text:#f7f9ff;--muted:#9eabd0;--violet:#7b3cff;--cyan:#10c8ee;--gold:#d9a441}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 55% -10%,#173783 0,#0a1430 36%,#050814 72%);color:var(--text)}button,input,textarea,select{font:inherit}.hidden{display:none!important}
a{color:inherit;text-decoration:none}.shell{min-height:100vh;display:grid;grid-template-columns:245px 1fr}.sidebar{border-right:1px solid var(--line);background:linear-gradient(180deg,rgba(24,34,85,.96),rgba(7,12,31,.98));padding:20px 16px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;align-items:center;padding:5px 6px 12px}.brand img{width:38px;height:38px;object-fit:contain}.brand strong{display:block;font-family:Georgia,serif;font-size:22px;letter-spacing:.03em}.brand small{display:block;color:#e8c763;font-size:9px;font-weight:800;letter-spacing:.1em}.nav{display:grid;gap:6px}.nav a,.nav button{display:flex;align-items:center;gap:10px;width:100%;border:1px solid transparent;background:transparent;color:#eef2ff;padding:11px 12px;border-radius:11px;text-align:left;font-weight:700;cursor:pointer}.nav a:hover,.nav button:hover,.nav .active{background:linear-gradient(90deg,rgba(108,59,255,.35),rgba(31,124,255,.17));border-color:rgba(121,104,255,.48)}.sidebar-bottom{margin-top:auto;display:grid;gap:12px}.pro{padding:14px;border:1px solid rgba(136,103,255,.44);border-radius:14px;background:linear-gradient(145deg,rgba(83,48,190,.35),rgba(13,21,48,.35))}.pro strong{display:block}.pro p{color:var(--muted);font-size:12px;line-height:1.45}.pro button{border:0;border-radius:9px;background:linear-gradient(90deg,#6532ff,#d620ff);color:#fff;padding:9px 12px;font-weight:800}.main{min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;background:rgba(9,16,39,.68);backdrop-filter:blur(12px);position:sticky;top:0;z-index:40}.top-title strong{display:block;font-size:21px}.top-title span{color:var(--muted);font-size:12px}.top-actions{display:flex;gap:8px;align-items:center}.btn{border:1px solid rgba(162,181,255,.27);background:#111a36;color:#fff;border-radius:9px;padding:9px 12px;font-weight:750;cursor:pointer}.btn:hover{border-color:#7c67ff}.btn.primary{background:linear-gradient(90deg,#6833ff,#cc28f5);border-color:#8f66ff}.btn.soft{background:rgba(255,255,255,.05)}.workspace{padding:22px}.home-hero{display:grid;grid-template-columns:1.5fr .8fr;gap:18px;margin-bottom:22px}.hero-panel{border:1px solid var(--line);border-radius:18px;background:linear-gradient(135deg,rgba(55,77,180,.35),rgba(91,26,150,.24));padding:28px}.hero-panel .eyebrow,.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.18em;font-weight:900;color:#bca9ff}.hero-panel h1{font-family:Georgia,serif;font-size:42px;margin:8px 0 12px}.hero-panel p{max-width:720px;color:#c7cfe7;line-height:1.6}.quick-panel{border:1px solid var(--line);border-radius:18px;background:rgba(8,14,33,.75);padding:22px}.quick-panel h3{margin-top:0}.quick-grid{display:grid;gap:10px}.quick-grid button{padding:12px;border-radius:10px;border:1px solid var(--line);color:#fff;background:#101a3c;text-align:left;font-weight:800;cursor:pointer}.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:22px 0 12px}.section-title h2{margin:0;font-family:Georgia,serif;font-size:30px}.section-title p{margin:4px 0 0;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#0d1634;box-shadow:0 12px 35px rgba(0,0,0,.2)}.template-thumb{aspect-ratio:16/10;background:#0a1025;overflow:hidden;position:relative}.template-thumb img{width:100%;height:100%;object-fit:cover;display:block}.live-badge{position:absolute;top:10px;left:10px;background:#0dcf87;color:#03170f;padding:5px 8px;border-radius:999px;font-size:9px;font-weight:900;letter-spacing:.08em}.template-body{padding:14px}.template-body h3{margin:2px 0 5px}.template-body p{margin:0 0 12px;color:var(--muted);font-size:13px;line-height:1.45}.template-actions{display:flex;gap:8px}.template-actions .btn{flex:1;padding:9px}.projects{display:grid;gap:10px}.project-row{display:grid;grid-template-columns:48px 1fr auto auto;align-items:center;gap:12px;border:1px solid var(--line);background:rgba(14,24,57,.74);border-radius:13px;padding:12px}.project-icon{width:48px;height:48px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#1ed2f1,#1b6aff);font-size:12px;font-weight:900}.project-row small{color:var(--muted)}
/* editor */
.editor-layout{height:calc(100vh - 78px);display:grid;grid-template-columns:230px minmax(0,1fr) 280px}.editor-left,.editor-right{background:rgba(7,12,28,.94);overflow:auto}.editor-left{border-right:1px solid var(--line);padding:14px}.editor-right{border-left:1px solid var(--line);padding:14px}.editor-canvas{overflow:auto;padding:22px;background:radial-gradient(circle at 50% 0,#17224c,#090d1b 70%)}.panel-title{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#d9bb68;font-weight:900;margin:4px 0 10px}.page-item,.field-item{width:100%;text-align:left;border:1px solid transparent;background:transparent;color:#fff;border-radius:9px;padding:9px;cursor:pointer}.page-item.active,.field-item.active,.page-item:hover,.field-item:hover{background:#152249;border-color:var(--line)}.field-group{margin:0 0 12px}.field-group label{display:block;color:#aab5d7;font-size:11px;font-weight:800;margin-bottom:5px}.field-group input,.field-group textarea,.field-group select{width:100%;border:1px solid rgba(148,167,225,.3);background:#0d1737;color:#fff;border-radius:8px;padding:9px}.field-group textarea{min-height:88px;resize:vertical}.upload-note{color:var(--muted);font-size:11px;line-height:1.4}.site-frame{width:min(1120px,100%);margin:0 auto;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 25px 70px rgba(0,0,0,.5);color:#111}.editable{outline:0}.editable:hover{box-shadow:inset 0 0 0 2px rgba(104,56,255,.45)}.editable[data-selected="true"]{box-shadow:inset 0 0 0 3px #7b3cff}.image-edit{cursor:pointer;position:relative}.image-edit:hover:after{content:"Click to replace image";position:absolute;inset:auto 12px 12px 12px;background:rgba(4,8,20,.82);color:#fff;border-radius:8px;padding:8px 10px;font-size:11px;font-weight:800;text-align:center}
/* shared site */
.site{--accent:#b98437;--ink:#171717;--paper:#f7f3ea;--font:Inter;font-family:var(--font),Inter,sans-serif;background:var(--paper);color:var(--ink)}.site nav{height:78px;display:flex;align-items:center;justify-content:space-between;padding:0 4.2%;background:rgba(255,255,255,.97);border-bottom:1px solid #ded8cc;position:relative;z-index:2}.site .site-brand{font-family:Georgia,serif;font-weight:800;font-size:22px}.site .menu{display:flex;gap:18px;align-items:center;font-size:12px;font-weight:700}.site .nav-cta{padding:11px 15px;background:var(--accent);color:#fff;border-radius:5px}.site .hero{min-height:590px;display:grid;grid-template-columns:1.1fr .9fr;position:relative;overflow:hidden}.site .hero-copy{padding:72px 5%;align-self:center;position:relative;z-index:2}.site .hero-kicker{letter-spacing:.14em;text-transform:uppercase;font-size:11px;font-weight:900;color:var(--accent)}.site .hero h1{font-family:Georgia,serif;font-size:64px;line-height:.96;margin:17px 0 18px;max-width:640px}.site .hero p{font-size:17px;line-height:1.55;max-width:540px}.site .hero-buttons{display:flex;gap:10px;margin-top:25px}.site .hero-buttons span{padding:12px 18px;border-radius:5px;font-weight:800}.site .hero-buttons .main{background:var(--accent);color:#fff}.site .hero-buttons .ghost{border:1px solid currentColor}.site .hero-photo{min-height:590px;background-size:cover;background-position:center}.site .info-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#151515;color:#fff}.site .info-strip div{padding:22px;text-align:center;border-right:1px solid rgba(255,255,255,.14)}.site .info-strip strong{display:block;font-family:Georgia,serif;font-size:22px}.site .info-strip span{font-size:11px;color:#c8c8c8}.site .section{padding:70px 5%}.site .section-kicker{text-transform:uppercase;letter-spacing:.16em;font-size:10px;font-weight:900;color:var(--accent)}.site .section h2{font-family:Georgia,serif;font-size:44px;margin:8px 0 10px}.site .lead{max-width:730px;color:#666;line-height:1.6}.site .grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:28px}.site .service-card{background:#fff;border:1px solid #e4ddd0}.site .service-image{aspect-ratio:1.4;background-size:cover;background-position:center}.site .service-copy{padding:15px}.site .service-copy strong{display:block;font-family:Georgia,serif;font-size:18px}.site .service-copy p{font-size:12px;color:#666;line-height:1.45}.site .story{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:#1a1917;color:#fff}.site .story-image{min-height:410px;background-size:cover;background-position:center}.site .story-copy{padding:62px 7%;align-self:center}.site .story-copy h2{font-family:Georgia,serif;font-size:48px;margin:8px 0 16px}.site .story-copy p{line-height:1.7;color:#d8d8d8}.site footer{background:#0e0e0e;color:#fff;padding:40px 5%;display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:28px}.site footer strong{font-family:Georgia,serif;font-size:18px}.site footer p,.site footer li{font-size:12px;color:#c7c7c7;line-height:1.7;list-style:none;margin:0;padding:0}.site footer ul{padding:0;margin:8px 0 0}
/* safari */.site.safari{--paper:#f7f1e6;--ink:#211d17;--accent:#c8923f}.site.safari .hero{background:#171510;color:#fff}.site.safari .hero-copy{order:2}.site.safari .hero-photo{order:1;background-position:20% 22%}.site.safari .hero h1{font-size:68px}.site.safari .info-strip{background:#2a261f}.site.safari .section{background:#f8f4ec}.site.safari .story{background:#2d2923}
/* hospital */.site.hospital{--paper:#f7f9fc;--ink:#112138;--accent:#075ab4}.site.hospital .hero{background:linear-gradient(135deg,#f8fafc,#eef4fb)}.site.hospital .hero h1{font-size:66px}.site.hospital .hero-photo{background-position:82% 10%}.site.hospital .info-strip{background:#0e2d5c}.site.hospital .story{background:#082b58}
/* church */.site.church{--paper:#f6f4ee;--ink:#121416;--accent:#2cd1b5}.site.church nav{background:#0b0d10;color:#fff;border-color:#222}.site.church .hero{background:#090a0d;color:#fff}.site.church .hero-photo{background-position:50% 12%}.site.church .hero h1{font-family:Impact,Inter,sans-serif;text-transform:uppercase;letter-spacing:-.02em;font-size:68px}.site.church .info-strip{background:#f3ecda;color:#1b1b1b}.site.church .info-strip span{color:#555}.site.church .story{background:#111317}
.preview-shell{min-height:100vh;background:#080b14;padding:18px}.previewbar{height:58px;display:flex;align-items:center;justify-content:space-between;color:#fff;max-width:1280px;margin:0 auto 14px}.previewbar .actions{display:flex;gap:8px}.preview-shell .site-frame{max-width:1280px}@media(max-width:1100px){.shell{grid-template-columns:200px 1fr}.editor-layout{grid-template-columns:200px 1fr}.editor-right{position:fixed;right:0;top:78px;bottom:0;width:300px;z-index:50;box-shadow:-20px 0 50px rgba(0,0,0,.4)}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:760px){.shell{display:block}.sidebar{height:auto;position:relative}.home-hero,.cards{grid-template-columns:1fr}.editor-layout{display:block;height:auto}.editor-left,.editor-right{position:relative;width:auto;top:auto}.site .menu{display:none}.site .hero,.site .story{grid-template-columns:1fr}.site .hero-photo{min-height:330px}.site .grid4{grid-template-columns:1fr 1fr}.site footer{grid-template-columns:1fr 1fr}}

/* === 31.1 REAL WEBSITE TEMPLATE: HOSPITAL ===
   Important: the page below is DOM/CSS. The old hospital.png is used only as a gallery thumbnail,
   never as the website background or editing surface. */
.hospital-real{background:#fff;color:#11244b;font-family:Inter,ui-sans-serif,system-ui,sans-serif}
.hospital-real .hospital-topline{display:flex;justify-content:space-between;gap:20px;padding:9px 4.5%;background:#0755ad;color:#fff;font-size:11px}
.hospital-real .hospital-nav{height:74px;padding:0 4.5%;background:#fff;border-bottom:1px solid #e6ebf4;display:flex;align-items:center;gap:28px}
.hospital-real .hospital-logo{display:flex;align-items:center;gap:9px;color:#0b4fa4;min-width:205px}.hospital-real .hospital-logo-mark{font-size:31px;font-weight:900;color:#1268cd}.hospital-real .hospital-logo strong{display:block;font:800 20px/1 Inter,sans-serif}.hospital-real .hospital-logo small{display:block;letter-spacing:.22em;font-size:8px;margin-top:4px}.hospital-real .menu{flex:1;display:flex;justify-content:center;gap:24px;font-size:11px;color:#2a344a}.hospital-real .nav-cta{background:var(--accent);color:#fff;border-radius:4px;padding:11px 18px;font-weight:800;font-size:12px;white-space:nowrap}
.hospital-real .hospital-hero{display:grid;grid-template-columns:1.03fr .97fr;min-height:492px;background:linear-gradient(90deg,#fff 0,#f7faff 48%,#eef4fb 100%);overflow:hidden}.hospital-real .hospital-hero-copy{padding:62px 5% 28px 4.5%;display:flex;flex-direction:column;justify-content:center}.hospital-real .hero-kicker{color:#0755ad;font-size:11px;font-weight:900;letter-spacing:.12em}.hospital-real .hospital-hero h1{font-family:Georgia,serif;font-size:54px;line-height:.96;letter-spacing:-.03em;margin:15px 0 18px;max-width:570px}.hospital-real .hospital-hero-copy>p{max-width:470px;color:#63708a;font-size:15px;line-height:1.55}.hospital-real .hero-buttons{display:flex;gap:12px;margin-top:20px}.hospital-real .hero-buttons span{padding:12px 18px;border-radius:4px;font-weight:800;font-size:12px}.hospital-real .hero-buttons .main{background:var(--accent);color:white}.hospital-real .hero-buttons .ghost{border:1px solid #8aa9d2;color:#1453a1;background:white}.hospital-real .hospital-hero-photo{min-height:492px;overflow:hidden;background:#eef4fb}.hospital-real .hospital-hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.hospital-real .hospital-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:31px;max-width:640px}.hospital-real .hospital-trust div{display:grid;grid-template-columns:26px 1fr;column-gap:8px;align-items:start}.hospital-real .hospital-trust b{grid-row:1/3;width:26px;height:26px;border:1.5px solid #1760bc;border-radius:50%;display:grid;place-items:center;color:#1760bc;font-size:12px}.hospital-real .hospital-trust strong{font-size:10px;color:#19355e}.hospital-real .hospital-trust small{font-size:8px;line-height:1.35;color:#6e7a91}
.hospital-real .hospital-appointment{margin:-23px 4.5% 0;position:relative;z-index:2;padding:25px 26px;display:grid;grid-template-columns:1.4fr repeat(3,.95fr) .75fr;gap:14px;align-items:center;background:linear-gradient(90deg,#3b78cf,#376ac5);border-radius:6px;color:#fff;box-shadow:0 14px 30px rgba(22,71,145,.18)}.hospital-real .hospital-appointment h3{margin:0 0 6px;font:700 18px Inter,sans-serif}.hospital-real .hospital-appointment p{margin:0;font-size:10px;line-height:1.4}.hospital-real .hospital-appointment select,.hospital-real .hospital-appointment input{height:39px;border:0;border-radius:4px;background:#fff;color:#6c7483;padding:0 13px}.hospital-real .hospital-appointment button{height:39px;border:0;border-radius:4px;background:#073f8f;color:#fff;font-weight:800}
.hospital-real .hospital-section{padding:54px 4.5% 30px;text-align:center;background:#fff}.hospital-real .hospital-section h2,.hospital-real .hospital-why-specialists h2{font:700 25px Georgia,serif;margin:0;color:#0c397b}.hospital-real .hospital-title-line{width:35px;height:2px;background:#2d78d6;margin:10px auto 24px}.hospital-real .hospital-dept-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:15px}.hospital-real .hospital-dept-card{border:1px solid #e2e7f0;padding:18px 12px 16px;min-height:186px;background:#fff;box-shadow:0 6px 16px rgba(16,45,92,.04)}.hospital-real .hospital-dept-icon{width:46px;height:46px;margin:0 auto 12px;border:1.5px solid #1a66c4;border-radius:50%;display:grid;place-items:center;color:#1a66c4;font-size:22px}.hospital-real .hospital-dept-card h3{font:700 14px Inter,sans-serif;margin:0 0 8px;color:#102f65}.hospital-real .hospital-dept-card p{font-size:9px;line-height:1.45;color:#68758a;min-height:52px}.hospital-real .hospital-dept-card a{font-size:9px;color:#0755ad;font-weight:800}
.hospital-real .hospital-why-specialists{display:grid;grid-template-columns:1fr 1.08fr;gap:18px;padding:0 4.5% 28px}.hospital-real .hospital-why-card,.hospital-real .hospital-specialists{border-radius:7px;background:#f5f8fd;border:1px solid #e4e9f2;overflow:hidden}.hospital-real .hospital-why-card{display:grid;grid-template-columns:1fr 1.15fr;min-height:285px}.hospital-real .hospital-why-copy{padding:27px}.hospital-real .hospital-why-copy h2,.hospital-real .hospital-specialists h2{text-align:left;margin-bottom:14px}.hospital-real .hospital-why-copy ul{list-style:none;padding:0;margin:0 0 17px}.hospital-real .hospital-why-copy li{font-size:10px;line-height:1.8;color:#536178}.hospital-real .hospital-why-copy li::first-letter{color:#0c61bd}.hospital-real .hospital-why-copy button{background:#0755ad;color:#fff;border:0;padding:10px 13px;border-radius:4px;font-size:9px;font-weight:800}.hospital-real .hospital-building-photo{min-height:285px;overflow:hidden}.hospital-real .hospital-building-photo img{width:100%;height:100%;object-fit:cover;display:block}.hospital-real .hospital-specialists{padding:27px 20px}.hospital-real .hospital-doctor-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.hospital-real .hospital-doctor-card{background:#fff;border:1px solid #e4e9f2;text-align:center;padding-bottom:10px}.hospital-real .hospital-doctor-photo{aspect-ratio:.84;overflow:hidden;background:#eef4fb}.hospital-real .hospital-doctor-photo img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block}.hospital-real .hospital-doctor-card h4{font-size:9px;margin:9px 4px 3px;color:#163b72}.hospital-real .hospital-doctor-card p{font-size:8px;color:#7a8494;margin:0 3px 8px}.hospital-real .hospital-doctor-card button{border:1px solid #7ba8dc;background:#fff;color:#0755ad;border-radius:3px;padding:6px 10px;font-size:8px;font-weight:700}
.hospital-real .hospital-emergency{margin:0 4.5% 28px;display:grid;grid-template-columns:72px 1fr auto;align-items:center;gap:20px;padding:20px 38px;background:linear-gradient(90deg,#0755ad,#064ca0);color:#fff;border-radius:6px}.hospital-real .phone-icon{width:58px;height:58px;border:1px solid rgba(255,255,255,.85);border-radius:50%;display:grid;place-items:center;font-size:27px}.hospital-real .hospital-emergency h3{font:700 18px Inter,sans-serif;margin:0 0 5px}.hospital-real .hospital-emergency p{font-size:10px;margin:0;color:#dfeaff}.hospital-real .hospital-emergency button{background:#fff;color:#0755ad;border:0;border-radius:4px;padding:11px 22px;font-size:10px;font-weight:800}
.hospital-real .hospital-footer{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:34px;padding:28px 4.5% 38px;background:#fff;color:#1a3157;border-top:1px solid #e8edf5}.hospital-real .hospital-footer .hospital-logo{min-width:0;margin-bottom:12px}.hospital-real .hospital-footer>div>strong{font:800 12px Inter,sans-serif}.hospital-real .hospital-footer p,.hospital-real .hospital-footer li{font-size:9px;line-height:1.65;color:#65748a}.hospital-real .hospital-footer ul{list-style:none;padding:0;margin:9px 0 0}.hospital-real .hospital-footer p{max-width:230px}.hospital-real .image-edit{position:relative;cursor:pointer}.hospital-real .image-edit:hover:after{content:"Byt bild";position:absolute;left:10px;right:10px;bottom:10px;background:rgba(4,31,73,.82);color:#fff;border-radius:5px;padding:8px;text-align:center;font-size:10px;font-weight:800}.hospital-real .editable:hover{outline:2px dashed rgba(89,92,255,.45);outline-offset:2px}.hospital-real .editable:focus{outline:2px solid #7b3cff;outline-offset:2px}
@media(max-width:1050px){.hospital-real .menu{gap:10px}.hospital-real .hospital-appointment{grid-template-columns:1fr 1fr}.hospital-real .hospital-dept-grid{grid-template-columns:repeat(3,1fr)}.hospital-real .hospital-why-specialists{grid-template-columns:1fr}.hospital-real .hospital-trust{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.hospital-real .hospital-topline{display:none}.hospital-real .hospital-nav{height:auto;padding:14px 5%;flex-wrap:wrap}.hospital-real .hospital-nav .menu{display:none}.hospital-real .hospital-hero{grid-template-columns:1fr}.hospital-real .hospital-hero-copy{padding:44px 6%}.hospital-real .hospital-hero h1{font-size:42px}.hospital-real .hospital-hero-photo{min-height:330px}.hospital-real .hospital-appointment{grid-template-columns:1fr;margin:0;border-radius:0}.hospital-real .hospital-dept-grid{grid-template-columns:1fr 1fr}.hospital-real .hospital-why-card{grid-template-columns:1fr}.hospital-real .hospital-doctor-grid{grid-template-columns:1fr 1fr}.hospital-real .hospital-emergency{grid-template-columns:1fr;text-align:center}.hospital-real .phone-icon{margin:auto}.hospital-real .hospital-footer{grid-template-columns:1fr 1fr}}

/* 33.7 cleaner production template cards */
.template-thumb{height:270px!important;overflow:hidden!important;background:#09132d!important}.template-thumb img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:top center!important;display:block!important}.template-card{overflow:hidden}.section-title p{display:none!important}
