:root{--profile-ink:#142c3a;--profile-paper:#faf7f0;--profile-gold:#bd9254}.template-review{padding:18px 4%;display:flex;align-items:center;gap:20px;justify-content:space-between;background:#e9eef0;color:#183747;font-size:12px}.template-review strong,.template-review span{display:block}.template-review span{max-width:410px;margin-top:5px;color:#536b78}.template-review nav{display:flex;flex-wrap:wrap;gap:6px}.template-review a{padding:10px;text-decoration:none;border:1px solid #bdcbd1;border-radius:5px;white-space:nowrap}.template-review a[aria-current]{background:#173444;color:white}.merchant-profile{background:var(--profile-paper);color:var(--profile-ink)}.merchant-profile h1,.merchant-profile h2,.merchant-profile h3,.merchant-profile p,.merchant-profile figure{margin:0}.profile-hero{position:relative;min-height:670px;display:grid;grid-template-columns:1fr 1fr}.profile-hero-photo{min-width:0;overflow:hidden}.profile-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}.profile-hero-copy{padding:70px 8%;display:flex;flex-direction:column;justify-content:center;position:relative;z-index:1}.profile-logo:empty{display:none}.profile-logo img{width:72px;height:72px;object-fit:contain;margin-bottom:24px}.profile-kicker{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#8b734f;line-height:1.8}.profile-hero h1{font-family:"Songti TC",serif;font-weight:600;font-size:56px;line-height:1.3;letter-spacing:2px;margin:22px 0}.profile-intro{max-width:450px;font-size:17px;line-height:1.9}.profile-hero-actions{display:flex;flex-wrap:wrap;gap:15px;margin-top:35px;align-items:center}.profile-hero-actions a{font-size:13px;color:inherit;text-decoration:none;padding:14px 22px;border:1px solid #a39b86}.profile-hero-actions a:first-child{background:var(--profile-ink);color:var(--profile-paper);border-color:var(--profile-ink)}.profile-hero-actions span{margin-left:20px}.profile-edition{position:absolute;bottom:22px;left:4%;font-size:9px;letter-spacing:2px;z-index:2}.profile-service-strip{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;padding:24px;border-bottom:1px solid #dcd7cc;font-size:13px;letter-spacing:1px}.profile-body{max-width:1200px;margin:auto;padding:0 60px}.profile-story{display:grid;grid-template-columns:1fr 1fr;gap:80px;padding:100px 0}.profile-story h2{font-family:"Songti TC",serif;font-size:34px;line-height:1.6;max-width:400px;margin-top:20px}.profile-story>p{font-size:16px;line-height:2.1;padding-top:30px}.profile-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #d5cebd;border-bottom:1px solid #d5cebd;padding:40px 0;gap:35px}.profile-detail h2{font-size:17px;margin-bottom:20px}.profile-detail ul{list-style:none;padding:0;margin:0}.profile-detail li{font-size:14px;line-height:1.8;padding:10px 0;border-bottom:1px solid #e6e0d5}.profile-practical{padding:65px 0}.profile-practical>div{display:grid;grid-template-columns:repeat(3,1fr);gap:45px;margin-top:26px}.profile-practical h2{font-size:17px;margin-bottom:15px}.profile-practical p{font-size:14px;line-height:2}.profile-gallery{padding:20px 0 70px}.profile-gallery>div{display:flex;gap:24px;margin-top:22px}.profile-gallery figure{flex:1;min-width:0}.profile-gallery img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}.profile-gallery figcaption{font-size:11px;color:#64726f;padding:14px 0}.profile-faq{padding:50px 0 85px}.profile-faq h2{font-family:"Songti TC",serif;font-size:30px;margin:20px 0 30px}.profile-faq details{border-top:1px solid #d5cebd;padding:23px 0}.profile-faq summary{display:flex;justify-content:space-between;gap:20px;cursor:pointer;font-size:16px;list-style:none}.profile-faq details p{line-height:2;color:#54646b;font-size:15px;max-width:850px;margin-top:22px}.profile-contact{padding:65px 55px;display:grid;grid-template-columns:1fr 1fr;gap:60px;background:#eeeadf;margin-bottom:40px}.profile-contact h2{font-family:"Songti TC",serif;font-size:35px;line-height:1.6;margin-top:25px}.profile-contact-info{display:grid;grid-template-columns:1fr 1fr;gap:25px}.profile-contact-info h3{font-size:12px;color:#7b735f;margin-bottom:10px}.profile-contact-info p,.profile-contact-info a{font-size:14px;line-height:1.8;overflow-wrap:anywhere;color:inherit}.profile-links{display:flex;flex-wrap:wrap;gap:10px;grid-column:1/-1}.profile-links a,.profile-links span{border:1px solid #c7c0ae;padding:8px 13px;font-size:12px}.profile-demo-note{font-size:11px;line-height:1.8;margin-top:20px!important;color:#7b735f;max-width:240px}.profile-verified{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap;font-size:11px;color:#697574;padding:0 0 40px}.profile-verified a{color:inherit}.template-A .profile-hero{display:block;color:#fff8e8;min-height:740px}.template-A .profile-hero-photo{position:absolute;inset:0}.template-A .profile-hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#06141ce8 0%,#06141c91 38%,#06141c00 75%),linear-gradient(0deg,#06141c61,transparent 45%)}.template-A .profile-hero-copy{width:52%;padding:80px 7%;min-height:740px}.template-A .profile-kicker{color:#dcc89e}.template-A .profile-hero h1{font-size:62px}.template-A .profile-hero-actions a{border-color:#fff7e5aa}.template-A .profile-hero-actions a:first-child{background:#e7cf9d;color:#19313d}.template-A .profile-logo img{background:#faf7f0e8;padding:10px}.template-B{--profile-paper:#f5f8f9;--profile-gold:#788d98}.template-B .profile-hero{background:#163541;color:white}.template-B .profile-hero-photo{order:2}.template-B .profile-hero h1,.template-B .profile-story h2,.template-B .profile-faq h2,.template-B .profile-contact h2{font-family:"PingFang TC",sans-serif;font-weight:650;letter-spacing:0}.template-B .profile-kicker{color:#829eaa}.template-B .profile-hero .profile-kicker{color:#b4d1d7}.template-B .profile-hero-actions a{border-color:#638997}.template-B .profile-hero-actions a:first-child{background:#d9e7dd;color:#163541}.template-B .profile-service-strip{background:#e3eeed}.template-B .profile-contact{background:#dfeaec}.template-B .profile-hero-photo img{object-position:60% 32%}.template-B .profile-detail-grid{border:0;gap:20px;padding-top:0}.template-B .profile-detail{padding:28px;background:#e9eff1;border-top:3px solid #6e8f99}.template-C{--profile-paper:#fbf7f1;--profile-ink:#3e4b3f}.template-C .profile-hero{padding:45px 6%;gap:45px;min-height:700px}.template-C .profile-hero-photo{border-radius:180px 180px 8px 8px;max-height:590px}.template-C .profile-hero-photo img{object-position:50% 34%}.template-C .profile-hero-copy{padding:45px 5%}.template-C .profile-hero h1{font-size:48px}.template-C .profile-hero-actions a{border-radius:40px}.template-C .profile-contact{background:#e8ede2;border-radius:12px}.template-C .profile-detail-grid{border-color:#ced5c7}.template-C .profile-detail h2{color:#6d805e}.template-overview{max-width:1240px;margin:60px auto;padding:0 40px;color:#153342}.template-overview h1{font-family:"Songti TC",serif;font-size:44px;line-height:1.5}.template-overview>p{line-height:1.9;max-width:700px}.template-overview>div{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin:45px 0}.template-overview-card{text-decoration:none;background:#f3efe5;color:inherit;padding-bottom:20px}.template-overview-card img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}.template-overview-card span{font-size:11px;letter-spacing:1px}.template-overview-card h2{font-size:22px}.template-overview-card span,.template-overview-card h2,.template-overview-card p{margin:18px 24px;display:block}.template-overview section{background:#eef2ef;padding:28px;font-size:13px;line-height:1.9}.template-overview section h2{font-size:18px}.template-overview section a{color:inherit}
@media(max-width:900px){.template-review{align-items:flex-start;flex-wrap:wrap}.template-review nav{order:3;width:100%}.profile-body{padding:0 35px}.profile-hero h1,.template-A .profile-hero h1{font-size:43px}.profile-story{gap:40px;padding:65px 0}.profile-detail-grid{gap:20px}.profile-practical>div{gap:25px}.profile-contact{padding:40px 30px;gap:30px}.template-C .profile-hero{padding:35px 4%;gap:20px}.template-C .profile-hero h1{font-size:36px}.template-overview>div{gap:15px}}
@media(max-width:600px){.template-review{font-size:10px;padding:15px 20px;gap:12px}.template-review>div{max-width:75%}.template-review>a{padding:5px}.template-review nav a{padding:9px;font-size:10px}.profile-hero,.template-A .profile-hero,.template-C .profile-hero{display:flex;flex-direction:column;min-height:0}.profile-hero-photo{height:330px}.profile-hero-copy{padding:35px 25px 50px!important;width:100%!important;min-height:0!important;box-sizing:border-box}.profile-hero h1,.template-A .profile-hero h1,.template-C .profile-hero h1{font-size:36px;letter-spacing:1px;margin:16px 0}.profile-intro{font-size:15px}.profile-logo img{width:55px;height:55px;margin-bottom:18px}.profile-hero-actions{gap:10px;margin-top:25px}.profile-hero-actions a{padding:12px 17px;font-size:12px}.profile-edition{display:none}.template-A .profile-hero{min-height:630px;justify-content:flex-end}.template-A .profile-hero-photo{height:100%}.template-A .profile-hero-photo:after{background:linear-gradient(0deg,#071720f5,#0717208c 65%,#07172033)}.template-A .profile-hero-copy{padding-top:150px!important}.template-B .profile-hero-photo{order:0;height:360px}.template-B .profile-hero-photo img{object-position:60% 28%}.template-C .profile-hero{padding:22px;gap:0}.template-C .profile-hero-photo{height:360px;border-radius:150px 150px 8px 8px}.profile-service-strip{gap:15px;padding:22px;font-size:12px}.profile-body{padding:0 25px}.profile-story{grid-template-columns:1fr;gap:12px;padding:50px 0}.profile-story h2{font-size:29px;margin-top:13px}.profile-story>p{font-size:15px;padding-top:10px}.profile-detail-grid,.profile-practical>div{grid-template-columns:1fr;gap:28px}.profile-detail-grid{padding:30px 0}.profile-practical{padding:45px 0}.profile-gallery>div{flex-direction:column;gap:15px}.profile-gallery{padding-bottom:30px}.profile-faq{padding:35px 0 45px}.profile-faq h2{font-size:26px}.profile-faq summary{font-size:14px;line-height:1.7}.profile-contact{grid-template-columns:1fr;padding:30px 23px;gap:30px}.profile-contact h2{font-size:29px}.profile-contact-info{gap:25px 15px}.profile-contact-info p{font-size:12px}.profile-verified{font-size:10px;gap:13px}.template-overview{padding:0 22px;margin:35px auto}.template-overview h1{font-size:31px}.template-overview>div{grid-template-columns:1fr}.template-overview section{padding:22px}.profile-hero:not(.has-cover) .profile-hero-photo{display:none}.profile-hero:not(.has-cover){color:var(--profile-ink);min-height:0}}

.merchant-profile .profile-hero:not(.has-cover){min-height:0;display:block;color:var(--profile-ink);background:var(--profile-paper)}.merchant-profile .profile-hero:not(.has-cover) .profile-hero-copy{width:100%;min-height:0;padding:65px 7%}.profile-hero-photo:empty{display:none}.template-A .profile-hero:not(.has-cover) .profile-kicker{color:#8b734f}

/* Keep image geometry independent of the source's intrinsic dimensions. */
.profile-hero-photo{position:relative}.profile-hero-photo img{position:absolute;inset:0;width:100%;height:100%}.profile-gallery img,.template-overview-card img{height:auto;aspect-ratio:3/2;object-fit:cover;object-position:50% 35%}
@media(min-width:601px){.profile-hero{height:670px;min-height:0}.template-A .profile-hero{height:740px;min-height:0;background:#10272b}.template-A .profile-hero-photo{left:auto;right:0;width:62%}.template-A .profile-hero-photo img{object-position:50% 25%}.template-A .profile-hero-photo:after{background:linear-gradient(90deg,#10272bf5,#10272b55 42%,transparent 80%)}.template-C .profile-hero{height:700px;min-height:0}.template-B .profile-hero-photo img{object-position:50% 50%}.merchant-profile .profile-hero:not(.has-cover){height:auto}}
@media(max-width:600px){.template-A .profile-hero-photo{inset:0;position:absolute}.template-A .profile-hero-photo img{object-position:57% 30%}.template-B .profile-hero-photo img{object-position:50% 55%}}
/* Phase 2: optional photographic compositions, independently authored for each style. */
.profile-image-frame{position:relative;overflow:hidden;min-width:0;width:100%;height:100%}.profile-image-frame img{width:100%;height:100%;object-fit:cover;display:block;transform-origin:center}.profile-image-frame:not(:first-child){margin-top:18px}.profile-visual-section{margin:50px 0 75px;display:grid;grid-template-columns:1.15fr 1fr;gap:65px;align-items:center}.visual-images{min-width:0}.visual-images>.profile-image-frame{height:450px}.visual-copy h2{font:32px/1.6 'Songti TC',serif}.visual-copy p{line-height:2;margin-top:24px}.template-A .visual-story{grid-template-columns:1fr 1.3fr}.template-A .visual-story .visual-copy{order:-1}.template-A .visual-feature{grid-template-columns:1.4fr 1fr}.template-A .visual-atmosphere{display:block;margin:80px -60px}.template-A .visual-atmosphere .profile-image-frame{height:350px}.template-A .profile-gallery figure:nth-child(2){padding-top:90px}.template-B .profile-story{padding-bottom:30px}.template-B .profile-visual-section{gap:32px;background:#e7eff1;padding:30px}.template-B .visual-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.template-B .visual-images>.profile-image-frame{height:300px;margin:0}.template-B .visual-images>.profile-image-frame:only-child{grid-column:1/-1}.template-B .visual-copy h2{font-family:sans-serif;font-size:27px}.template-B .visual-service{display:block;background:transparent;padding:0}.template-B .visual-service .visual-copy{margin-top:24px}.template-B .visual-service .profile-image-frame{height:260px}.template-B .profile-gallery>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.template-C .profile-visual-section{grid-template-columns:1fr 1.1fr;gap:55px}.template-C .visual-images>.profile-image-frame{height:420px;border-radius:120px 120px 12px 12px}.template-C .visual-feature .visual-copy{order:-1}.template-C .visual-atmosphere{display:block;max-width:850px;margin:70px auto}.template-C .visual-atmosphere .profile-image-frame{border-radius:16px;height:320px}.template-C .profile-gallery figure:nth-child(even){padding-top:45px}.template-C .profile-gallery img{border-radius:35px 5px 35px 5px}.profile-contact-brand{max-width:100px;height:80px;margin-bottom:20px}.profile-contact-brand:empty{display:none}.profile-contact-brand img{object-fit:contain!important}.profile-slot-empty{padding:30px;border:1px dashed #899999;text-align:center;cursor:pointer;min-height:80px;color:#345}.profile-visual-section:has(.profile-slot-empty){margin:20px 0}.profile-hero-photo>.profile-image-frame{height:100%}.profile-logo>.profile-image-frame{width:72px;height:72px}.profile-logo img{position:static;object-fit:contain}.profile-gallery .profile-image-frame{height:350px}.profile-contact-brand .profile-image-frame{height:80px}.profile-hero-photo [data-slot]{cursor:inherit}[contenteditable]{white-space:pre-wrap;display:inline-block;outline-offset:8px}[contenteditable]:focus{outline:2px solid #bd9254}body:has([contenteditable]) [data-slot]{cursor:grab;outline:1px dashed #bd925480;outline-offset:-3px}body:has([contenteditable]) .profile-image-frame{touch-action:pan-y}.merchant-profile p{white-space:pre-line;overflow-wrap:anywhere}.profile-contact-info a{display:inline-block;min-height:44px}
@media(max-width:600px){.profile-visual-section,.template-A .visual-story,.template-A .visual-feature,.template-C .profile-visual-section{grid-template-columns:1fr;gap:22px;margin:35px 0}.template-A .visual-story .visual-copy,.template-C .visual-feature .visual-copy{order:0}.visual-images>.profile-image-frame,.template-C .visual-images>.profile-image-frame{height:300px}.template-A .visual-atmosphere{margin:35px -25px}.template-A .visual-atmosphere .profile-image-frame{height:240px}.template-B .profile-visual-section{padding:20px}.template-B .visual-images{grid-template-columns:1fr}.template-B .visual-images>.profile-image-frame{height:260px}.template-B .profile-gallery>div{grid-template-columns:1fr}.template-C .visual-images>.profile-image-frame{border-radius:90px 90px 12px 12px}.template-C .visual-atmosphere .profile-image-frame{height:240px}.template-A .profile-gallery figure:nth-child(2),.template-C .profile-gallery figure:nth-child(even){padding-top:0}.visual-copy h2{font-size:25px}.profile-contact-info{grid-template-columns:1fr}.profile-gallery .profile-image-frame{height:260px}}
.profile-hero-photo:after{pointer-events:none}
.profile-visual-section:not(:has(.visual-copy)){display:block}.template-B .profile-visual-section:not(:has(.visual-copy)) .profile-image-frame{height:320px}.visual-images:has(>.profile-image-frame:nth-child(2)){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.visual-images:has(>.profile-image-frame:nth-child(2))>.profile-image-frame{height:350px;margin:0}.template-A .visual-images:has(>.profile-image-frame:nth-child(2))>.profile-image-frame:nth-child(even){margin-top:50px}.template-C .visual-images:has(>.profile-image-frame:nth-child(2))>.profile-image-frame:nth-child(even){margin-top:35px}.profile-service-cards{margin:65px 0}.profile-service-cards>h2{font-size:28px;margin-bottom:25px}.profile-service-cards>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.profile-service-card{min-width:0}.profile-service-card .profile-image-frame{height:280px}.profile-service-card h3{padding:22px 0;font-size:19px}.template-A .profile-service-cards>div{display:block}.template-A .profile-service-card{display:grid;grid-template-columns:1.4fr 1fr;gap:35px;align-items:center;margin:30px 0}.template-A .profile-service-card:nth-child(even) .profile-image-frame{order:2}.template-A .profile-service-card .profile-image-frame{height:380px}.template-B .profile-service-card{background:#e7eff1}.template-B .profile-service-card h3{padding:22px}.template-C .profile-service-card .profile-image-frame{border-radius:80px 10px 10px 10px}.template-C .profile-service-card:nth-child(even){padding-top:55px}.template-C .profile-service-card:nth-child(even) .profile-image-frame{border-radius:10px 80px 10px 10px}
@media(max-width:600px){.visual-images:has(>.profile-image-frame:nth-child(2)){grid-template-columns:1fr}.template-A .visual-images:has(>.profile-image-frame:nth-child(2))>.profile-image-frame:nth-child(even),.template-C .visual-images:has(>.profile-image-frame:nth-child(2))>.profile-image-frame:nth-child(even){margin-top:0}.profile-service-cards>div{grid-template-columns:1fr}.template-A .profile-service-card{display:block}.template-A .profile-service-card .profile-image-frame{height:280px}.template-C .profile-service-card:nth-child(even){padding-top:0}}
.profile-story:has(.profile-story-media){grid-template-columns:1fr 1.2fr;gap:24px 65px}.profile-story-media{grid-column:2;grid-row:1/3;min-width:0}.profile-story-media>.profile-image-frame{height:480px}.profile-story:has(.profile-story-media)>p{grid-column:1;grid-row:2;padding-top:0}.profile-story:has(.profile-story-media)>div:first-child{grid-column:1;grid-row:1}.template-B .profile-story:has(.profile-story-media){grid-template-columns:1.15fr 1fr;gap:28px 40px}.template-B .profile-story:has(.profile-story-media)>div:first-child{grid-column:1/-1;grid-row:1}.template-B .profile-story:has(.profile-story-media)>.profile-story-media{grid-column:1;grid-row:2}.template-B .profile-story:has(.profile-story-media)>p{grid-column:2;grid-row:2;align-self:center}.template-B .profile-story-media>.profile-image-frame{height:360px}.template-C .profile-story-media>.profile-image-frame{height:450px;border-radius:130px 130px 12px 12px}.profile-detail-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.profile-detail-grid:empty{display:none}.profile-practical>div{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.template-B .profile-gallery>div{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
@media(max-width:600px){.profile-story:has(.profile-story-media),.template-B .profile-story:has(.profile-story-media){display:flex;flex-direction:column;gap:25px}.profile-story-media{width:100%}.profile-story-media>.profile-image-frame,.template-B .profile-story-media>.profile-image-frame,.template-C .profile-story-media>.profile-image-frame{height:330px}.template-A .profile-story-media{order:2}.template-A .profile-story:has(.profile-story-media)>p{order:1}.template-C .profile-story-media{order:1}.template-C .profile-story:has(.profile-story-media)>p{order:2}.profile-detail-grid{grid-template-columns:1fr}}
body:has([contenteditable]) .profile-image-frame{touch-action:none}

/* Final integration: images support information, not empty space. */
.profile-service-card:not(:has(img)){padding:25px 0;border-top:1px solid #b4afa544;display:block!important;min-height:0}.profile-service-card p{line-height:1.9;font-size:15px;padding-bottom:20px}.template-A .profile-service-card:not(:has(img)){margin:0}.template-B .profile-service-card:not(:has(img)){padding:24px}.template-C .profile-service-card:not(:has(img)){padding-top:25px}.profile-service-cards:has(.profile-service-card:only-child)>div{grid-template-columns:1fr}.profile-story:not(:has(.profile-story-media)){grid-template-columns:1fr 1.25fr;gap:35px;padding:65px 0}.profile-story-media>.profile-image-frame{height:auto;aspect-ratio:4/3}.profile-gallery{padding-top:20px}.profile-gallery .profile-image-frame{height:auto;aspect-ratio:4/3}.profile-visual-section{margin-top:40px;margin-bottom:55px}.profile-name-edit{font-size:12px;color:inherit}.profile-faq [contenteditable]{min-width:80px}.profile-faq details[open] p{white-space:pre-wrap}.profile-service-card h3{padding-bottom:12px}.profile-hero h1{overflow-wrap:anywhere}.profile-logo:empty{display:none}
@media(max-width:600px){.profile-story:not(:has(.profile-story-media)){display:block;padding:35px 0}.profile-story:not(:has(.profile-story-media))>p{margin-top:20px}.profile-service-cards{margin:35px 0}.profile-service-card .profile-image-frame{height:auto!important;aspect-ratio:4/3}.profile-visual-section{margin:30px 0}.profile-story-media>.profile-image-frame{height:auto!important;aspect-ratio:4/3}.profile-gallery .profile-image-frame{height:auto!important}.profile-hero:not(.has-cover) .profile-hero-copy{padding:40px 25px!important}.template-A .profile-hero:not(.has-cover){min-height:0!important}}
@media(min-width:601px){.template-B .profile-service-cards>div{align-items:start}.template-B .profile-service-card:has(img){grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.template-B .profile-service-card:has(img)>div{padding:24px}.template-B .profile-service-card:has(img) h3{padding:0 0 12px}.template-B .profile-service-card:has(img) p{padding:0}.template-B .profile-service-card:not(:has(img)){min-height:0}.template-A .profile-gallery figure:only-child{max-width:900px;margin:auto}}
[contenteditable]:empty{min-height:1.5em;min-width:100px}
.template-B .profile-hero-photo img{object-fit:contain;background:#112a35}.template-B .profile-hero-photo{background:#112a35}
/* M07.5 polish: one service record stays one readable media/copy composition. */
.profile-showcase-note{padding:12px 4%;background:#f1ede3;color:#52635c;font-size:11px;letter-spacing:1px;text-align:center}
.profile-service-card{position:relative}.profile-service-number{display:block;color:var(--profile-gold);font-size:12px;letter-spacing:2px;margin-bottom:14px}.profile-service-card>div:last-child{min-width:0}.profile-service-card h3{line-height:1.55}.profile-service-card p{white-space:pre-wrap}
.template-A .profile-service-cards>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px}.template-A .profile-service-card{display:block;margin:0;padding:30px 0;border-top:1px solid #b9ab8a}.template-A .profile-service-card:has(img){grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;gap:32px;padding:30px 0 45px}.template-A .profile-service-card:has(img)>.profile-service-number{grid-column:1/-1;margin:0}.template-A .profile-service-card .profile-image-frame{order:0!important;height:auto;aspect-ratio:3/2}.template-A .profile-service-card h3{font-family:"Songti TC",serif;font-size:24px;padding:0 0 15px}.template-A .profile-service-card p{color:#5b6052;padding:0}.template-A .profile-gallery img{filter:saturate(.75) sepia(.12)}
.template-B .profile-service-cards>div{display:block}.template-B .profile-service-card,.template-B .profile-service-card:not(:has(img)){background:transparent;padding:30px 0;border-top:1px solid #bed0d7;display:grid!important;grid-template-columns:54px 1fr;gap:24px}.template-B .profile-service-card:has(img){grid-template-columns:54px minmax(0,1fr) minmax(0,1.1fr)}.template-B .profile-service-card:has(img)>div{padding:0}.template-B .profile-service-card .profile-image-frame{height:auto;aspect-ratio:3/2}.template-B .profile-service-card h3{padding:0 0 14px;font-size:25px}.template-B .profile-service-card p{padding:0;max-width:650px;color:#415d6b}.template-B .profile-service-number{border:1px solid #9bb6c0;border-radius:50%;width:42px;height:42px;display:grid;place-items:center;margin:0}
.template-C .profile-service-cards>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.template-C .profile-service-card,.template-C .profile-service-card:not(:has(img)),.template-C .profile-service-card:nth-child(even){padding:28px;background:#eeeadd;border:0;border-radius:24px;display:block!important}.template-C .profile-service-card:has(img){grid-column:1/-1;display:grid!important;grid-template-columns:1.1fr 1fr;gap:25px;align-items:center}.template-C .profile-service-card:has(img)>.profile-service-number{grid-column:1/-1;margin:0}.template-C .profile-service-card .profile-image-frame{border-radius:18px!important;height:auto;aspect-ratio:3/2}.template-C .profile-service-card h3{padding:0 0 14px;font-size:23px}.template-C .profile-service-card p{padding:0;color:#576351}
@media(max-width:600px){.template-A .profile-service-cards>div,.template-C .profile-service-cards>div{grid-template-columns:1fr}.template-A .profile-service-card:has(img),.template-C .profile-service-card:has(img){display:block!important}.template-A .profile-service-card .profile-image-frame,.template-C .profile-service-card .profile-image-frame{margin:18px 0}.template-B .profile-service-card:has(img){grid-template-columns:42px 1fr}.template-B .profile-service-card:has(img)>div:last-child{grid-column:2}.template-B .profile-service-card .profile-image-frame{aspect-ratio:3/2}.template-C .profile-service-card{padding:24px!important}}
@media(min-width:601px) and (max-width:1000px){.template-A .visual-atmosphere{margin-inline:0}}

/* Editor slots are controls, never fixed-size text squeezed into a logo frame. */
.profile-slot-empty{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;max-width:100%;min-height:100px;height:auto;padding:20px 16px;font:inherit;font-size:14px;line-height:1.7;letter-spacing:0;white-space:normal;word-break:normal;overflow-wrap:break-word;background:#f1f3edd9;border-radius:6px;touch-action:manipulation}
.profile-contact-brand:has(.profile-slot-empty){width:100%;max-width:260px;height:auto;margin-bottom:24px}
.profile-logo:has(.profile-slot-empty){width:210px;max-width:100%;margin-bottom:20px}
.profile-logo .profile-slot-empty{min-height:72px}
.is-editing [data-slot].is-selected{outline:3px solid #bd9254;outline-offset:-3px;box-shadow:inset 0 0 0 5px #fff7}
.is-editing .profile-image-frame{touch-action:none;cursor:grab}
.is-editing .profile-image-frame:active{cursor:grabbing}
.is-editing .profile-hero-photo>.profile-slot-empty{height:100%;min-height:180px}
.is-editing .profile-service-card .profile-slot-empty{margin-bottom:20px}
.is-editing .profile-slot-empty:focus-visible{outline:3px solid #bd9254;outline-offset:-3px}
.profile-contact>div{min-width:0}
@media(max-width:600px){.profile-slot-empty{min-height:100px;padding:20px 14px}.profile-contact-brand:has(.profile-slot-empty){max-width:100%}.is-editing.template-A .profile-hero-photo>.profile-slot-empty{align-items:flex-start;padding-top:35px}}

/* Let the photo receive pointer gestures through empty parts of the A overlay. */
.is-editing.template-A .profile-hero-copy{pointer-events:none}
.is-editing.template-A .profile-hero-copy [contenteditable],.is-editing.template-A .profile-hero-copy a,.is-editing.template-A .profile-logo{pointer-events:auto}

.showcase-navigation{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:14px 4%;background:#faf7f0;border-bottom:1px solid #dcd7cc}.showcase-navigation a{padding:10px 12px;border:1px solid #c7c0ae;border-radius:5px;color:#142c3a;text-decoration:none;font-size:13px;line-height:1.5}.showcase-navigation a[aria-current]{background:#142c3a;color:#fff}.showcase-navigation a:focus-visible{outline:3px solid #bd9254;outline-offset:2px}@media(max-width:600px){.showcase-navigation{gap:6px}.showcase-navigation a{font-size:12px;padding:9px}.showcase-navigation a:first-child{flex-basis:100%;border:0}}

.template-license{margin-top:48px;padding:24px 0;border-top:1px solid #d5cebd;line-height:1.8}.template-license summary{cursor:pointer;font-weight:600}.template-license ul{padding-left:22px}.template-license a{overflow-wrap:anywhere}

.template-overview>div{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1100px){.template-overview>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.template-overview>div{grid-template-columns:1fr}}
