/* Approved Palma profile palette; shared by the public view and composer. */
.palma-profile-page{--font-body:'Golos Text',sans-serif}
body .palma-profile-page{--agent-mint:#eaf5ef;--agent-blue:#eef4fb;--agent-sand:#faf3e7;--agent-purple:#f3eef8;--agent-rose:#fbf0f2;padding:0 12px 24px;background:#fff}
body .mobile-site:has(.palma-profile-page){overflow:clip}
body .agent-preview-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:52px;margin:0 2px 8px}
body .agent-preview-nav a{display:inline-flex;align-items:center;gap:6px;min-height:44px;font:400 14px/1.4 var(--font-body);color:#235b47;text-decoration:none}
body .agent-preview-nav svg{width:18px;height:18px}
body .agent-preview-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}
.agent-back svg{transform:rotate(180deg)}
body .agent-visual{font:400 16px/1.55 var(--font-body);color:#213b30;overflow-wrap:break-word}
body .agent-visual .profile-identity{border:0;border-radius:18px;background:var(--agent-mint)}
body .agent-visual .profile-identity-body{display:grid;grid-template-columns:76px minmax(0,1fr);padding:16px;gap:14px 12px;align-items:center}
body .agent-visual .profile-identity .profile-avatar{width:76px;height:76px;border:0;border-radius:16px;margin:0;object-fit:cover}
body .agent-visual .profile-name-block{padding:0;min-width:0}
body .agent-visual .profile-name-block h1{font:500 22px/1.2 var(--font-body);letter-spacing:-.4px;margin:0 0 6px}
body .agent-visual .profile-role{font:400 14px/1.4 var(--font-body);color:#355744;margin:0 0 4px}
body .agent-visual .profile-experience{font:400 12px/1.4 var(--font-body);color:#52675a;margin:0}
body .agent-visual .profile-contact-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:8px;margin:0}
body .profile-public.agent-visual .profile-contact-actions :is(summary,button){display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 8px;font:500 12.6px/1.35 var(--font-body);border-radius:11px;text-decoration:none;box-shadow:none}
body .agent-visual .profile-contact-actions svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;flex:none}
body .agent-visual .profile-phone-reveal{border:1px solid #c6dcd0;border-radius:11px;background:#fff;padding:0;min-width:0}
body .agent-visual .profile-phone-reveal summary{color:#245540;list-style:none}
body .agent-visual .profile-phone-reveal:not([open]) summary{height:100%}
body .agent-visual .profile-contact-actions:has(.profile-phone-reveal[open]) button{align-self:start}
body .agent-visual .profile-contact-actions button{border:1px solid #176649;background:#176649;color:white;width:100%;grid-column:auto}
body .agent-visual .profile-phone{font-size:13px;padding:10px;overflow-wrap:anywhere}
body .agent-visual .profile-phone small{font-size:12px}
body .agent-visual .profile-specialties{padding:0 16px 16px!important}
body .agent-visual .profile-specialties h2{font:400 12px/1.4 var(--font-body);color:#52675a;margin:0 0 8px}
body .agent-visual .profile-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0}
body .agent-visual .profile-chips span{display:flex;align-items:center;gap:5px;max-width:100%;padding:5px 9px;border:0;border-radius:8px;background:#ffffffba;color:#345544;font:400 13px/1.4 var(--font-body)}
body .agent-visual .profile-chips svg{width:16px;height:16px;stroke-width:1.6;flex:none}
body .agent-visual .profile-public-body{display:grid;gap:12px;padding:0;border:0;border-radius:0;margin:12px 0 0;background:transparent}
body .agent-visual .profile-public-section{padding:16px;border:0;margin:0;border-radius:18px;min-width:0}
body .agent-visual [data-tone=mint]{background:var(--agent-mint);--agent-icon:#267053}
body .agent-visual [data-tone=blue]{background:var(--agent-blue);--agent-icon:#356a95}
body .agent-visual [data-tone=sand]{background:var(--agent-sand);--agent-icon:#8f682c}
body .agent-visual [data-tone=purple]{background:var(--agent-purple);--agent-icon:#7a5998}
body .agent-visual [data-tone=rose]{background:var(--agent-rose);--agent-icon:#ad5365}
body .agent-visual h2{display:flex;align-items:center;gap:8px;font:500 17px/1.35 var(--font-body);letter-spacing:0;margin:0 0 14px;color:#213b30}
body .agent-visual .agent-section-icon{display:grid;place-items:center;width:28px;height:28px;flex:none;background:#ffffffa6;border-radius:9px;color:var(--agent-icon)}
body .agent-section-icon svg{width:19px;height:19px;stroke-width:1.65}
body .agent-video-sample{display:block;position:relative;aspect-ratio:16/9;width:100%;padding:0;border:0;overflow:hidden;border-radius:12px;background:#214b3e;color:white}
body .agent-video-sample img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%}
body .agent-video-sample::after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#10251acc);pointer-events:none}
body .agent-video-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#fff;color:#205640;z-index:1}
body .agent-video-play svg{width:24px;height:24px;margin-left:2px;fill:currentColor;stroke-width:1.5}
body .agent-video-caption{position:absolute;left:14px;bottom:12px;font:500 14px/1.4 var(--font-body);z-index:1}
body .agent-visual .profile-service-public{padding:12px 0;border-bottom:1px solid #356a951c}
body .agent-visual .profile-service-public:first-child{padding-top:0}
body .agent-visual .profile-service-public:last-child{padding-bottom:0;border-bottom:0}
body .agent-visual .profile-service-public>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,44%);gap:12px;align-items:start}
body .agent-visual .profile-service-public h3{font:500 14px/1.45 var(--font-body);margin:0;color:#213b30}
body .agent-visual .profile-service-public strong{display:block;font:500 14px/1.45 var(--font-body);text-align:right;color:#235c46;max-width:none;margin:0}
body .agent-visual .profile-service-public strong small{display:block;font:400 12px/1.35 var(--font-body);color:#526578;margin-top:3px}
body .agent-visual .profile-service-public p{font:400 13px/1.45 var(--font-body);color:#526578;margin:6px 0 0;max-width:34ch}
body .agent-visual .agent-area-group+ .agent-area-group{margin-top:14px}
body .agent-visual .agent-area-group h3{font:500 13px/1.4 var(--font-body);color:#776039;margin:0 0 7px}
body .agent-visual .post-body{font:400 14px/1.55 var(--font-body);color:#355343}
body .agent-visual section[id]{scroll-margin-top:72px}
body .agent-visual .post-body p{font:inherit;margin:0 0 12px}
body .agent-visual .post-body p:last-child{margin:0}
body .agent-visual .post-body ul{margin:12px 0 0;padding-left:19px}
body .agent-visual .post-body li{font:inherit;margin:7px 0;padding:0}
body .agent-visual .profile-links{display:block}
body .agent-visual .profile-external{font:400 14px/1.4 var(--font-body);padding:12px 0;min-height:44px;border-radius:0;background:transparent;border-bottom:1px solid #356a951c;color:#285b78;align-items:center;text-decoration:none}
body .agent-visual .profile-external:last-child{padding-bottom:0;border:0}
body .agent-gallery-rail{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body .agent-gallery-item{border:0;background:none;text-align:left;color:#554066;font:400 12px/1.4 var(--font-body);min-width:0;padding:0}
body .agent-gallery-item>img{display:block;width:100%;height:140px;object-fit:cover;object-position:center 22%;border-radius:11px;margin-bottom:7px}
body .agent-certificate{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;height:140px;padding:8px;border-radius:11px;background:#fffaf0;margin-bottom:7px;border:1px solid #e4d7b6;color:#63532d;text-align:center}
body .agent-certificate svg{width:24px;height:24px;stroke-width:1.3}
body .agent-certificate b{font:500 13px/1.4 var(--font-body)}
body .agent-certificate span{font:400 10px/1.4 var(--font-body);max-width:16ch}
body .agent-certificate small{font:500 9px/1.4 var(--font-body);letter-spacing:.15em;margin-top:5px;color:#796333}
body .agent-visual .profile-faq{border-bottom:1px solid #ad53651c;padding:0}
body .agent-visual .profile-faq:last-child{border:0}
body .agent-visual .profile-faq summary{align-items:center;padding:12px 0;font:400 14px/1.5 var(--font-body);min-height:48px;gap:12px}
body .agent-visual .profile-faq summary::after{font-size:20px;color:#925c6a;flex:none}
body .agent-visual .profile-faq .post-body{padding-bottom:12px;font-size:14px;color:#6e505c}
body .agent-section-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
body .agent-section-head h2{margin:0}
body .agent-section-head>a{display:inline-flex;align-items:center;gap:2px;min-height:44px;font:400 12px/1.4 var(--font-body);color:#426350;text-decoration:none}
body .agent-section-head>a svg{width:15px;height:15px;flex:none}
body .agent-content-rail{display:grid;grid-auto-flow:column;grid-auto-columns:74%;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:11px}
body .agent-content-card{display:block;min-width:0;overflow:hidden;border-radius:11px;background:#fff;color:#213b30;text-decoration:none;scroll-snap-align:start}
body .agent-content-card img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
body .agent-content-card>div{padding:10px}
body .agent-content-card strong{font:500 17px/1.4 var(--font-body)}
body .agent-content-card p{font:400 13px/1.4 var(--font-body);margin:4px 0}
body .agent-content-card small{font:400 12px/1.4 var(--font-body);color:#60726a}
body .agent-journal-list{display:grid;gap:12px}
body .agent-journal-card{display:grid;grid-template-columns:68px minmax(0,1fr);gap:10px;align-items:center;color:#213b30;text-decoration:none}
body .agent-journal-card img{display:block;width:68px;height:68px;object-fit:cover;border-radius:10px}
body .agent-journal-card h3{font:500 14px/1.4 var(--font-body);margin:0 0 6px}
body .agent-journal-card span{font:400 12px/1.4 var(--font-body);color:#526578}
body .agent-sample-note{font:400 12px/1.5 var(--font-body);color:#52675a;margin:20px 4px}
body .palma-profile-page~footer{display:none}
@media(max-width:360px){body .agent-visual .profile-identity-body{grid-template-columns:64px minmax(0,1fr);gap:12px 10px}body .agent-visual .profile-identity .profile-avatar{width:64px;height:72px}body .agent-visual .profile-name-block h1{font-size:20px}body .agent-visual .profile-public-section{padding:14px}}
.palma-profile-page :is(button,a,input,select,textarea):focus-visible{outline:2px solid #237355;outline-offset:3px}
.palma-profile-page .profile-about-copy{max-height:none}
.palma-profile-page section:has(.profile-about-toggle[aria-expanded=false]) .profile-about-copy{max-height:280px;overflow:hidden;mask-image:linear-gradient(black 80%,transparent)}
.palma-profile-page .profile-about-toggle,.palma-profile-page .profile-all-link{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:8px;padding:8px 0;border:0;background:transparent;color:#235b47;font:500 14px/1.4 var(--font-body);text-decoration:none}
.palma-profile-page .profile-all-link svg{width:18px;height:18px}
.palma-profile-page .profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.palma-profile-page .profile-section-heading h2{margin:0;min-width:0}
.palma-profile-page .profile-section-heading .profile-all-link{flex:none;white-space:nowrap;margin:0;padding:5px 0;font-size:12.6px}
@media(max-width:767px){.palma-profile-page .profile-section-heading{gap:8px}.palma-profile-page .profile-section-heading .profile-all-link{font-size:11px}}
.palma-profile-page .profile-post-links{display:grid;gap:12px}.palma-profile-page .profile-post-link{display:grid;grid-template-columns:68px 1fr;gap:10px;align-items:center;color:#213b30;text-decoration:none;font:500 14px/1.4 var(--font-body);padding:0;background:transparent;border:0}.palma-profile-page .profile-post-link img{width:68px;height:68px;object-fit:cover;border-radius:10px}
.palma-profile-page .profile-gallery{display:grid;grid-template-columns:1fr 1fr;gap:10px}.palma-profile-page .profile-gallery figure{margin:0}.palma-profile-page .profile-gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px}.palma-profile-page .profile-gallery figcaption{font:400 12px/1.4 var(--font-body);margin-top:6px;color:#634b77}
.palma-profile-page .profile-video{width:100%;aspect-ratio:16/9;object-fit:contain;border-radius:12px;background:#1e382c}
.mobile-site:has(.palma-profile-page) .bottom-nav{min-height:72px;padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.mobile-site:has(.palma-profile-page) .bottom-nav :is(a,button){min-height:48px}.mobile-site:has(.palma-profile-page) .bottom-nav :is(a,button)>svg{width:24px;height:24px}.mobile-site:has(.palma-profile-page) .bottom-nav .create>span{width:36px;height:36px;margin-top:0;border:0;box-shadow:none}.mobile-site:has(.palma-profile-page) .bottom-nav .create>span svg{width:25px;height:25px}.mobile-site:has(.palma-profile-page) .bottom-nav b,.mobile-site:has(.palma-profile-page) .bottom-nav a>span{font:400 11px/1.3 var(--font-body)}
.mobile-site:has(.palma-profile-page) .topbar{height:64px;min-height:64px}
.palma-profile-page .agent-area-group:has(.profile-areas:empty){display:none}
