/* Founder Phase 1: owner-reviewed mobile-first customer polish. */
.access-entry-dialog{width:min(470px,calc(100vw - 20px));padding:20px}.access-entry-dialog h2{margin:8px 0 14px}.access-entry-phone{display:grid;gap:7px}.access-entry-phone>label{font-weight:800}.access-entry-phone>div{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;border:1px solid #dfc7ba;border-radius:15px;padding:7px 7px 7px 13px;background:#fff}.access-entry-phone input{min-width:0;width:100%;border:0;outline:0;background:transparent;font:inherit}.access-entry-phone .button{min-height:42px;padding:8px 14px}.access-entry-dialog .access-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.access-entry-dialog .access-methods .button{min-height:48px;padding:10px}.auth-compact-card>img,#access-phone-v341 .form-card>img,#access-google-v340 .form-card>img{margin-inline:auto!important}.auth-action-button{justify-content:center;text-align:center}.auth-action-button>svg{color:#e05b35}.auth-email-option{border-top:0;padding-top:0}.auth-email-option summary{min-height:52px;border:1px solid #ead7ca;border-radius:12px;background:#fff}.auth-email-option summary svg{fill:#ea4335!important}.home-app-discovery h1{text-align:center}.home-app-card{height:100%}.home-app-card img{aspect-ratio:4/3!important;object-fit:contain!important;background:#f7e8df}.home-app-rail{align-items:stretch}.home-app-location-row strong{font-family:inherit;font-size:17px}.home-app-welcome{font-size:18px;font-weight:800;color:#4d2f24}.home-app-search .location-status{position:static;grid-column:1/-1;padding:0 0 8px}.discovery-v1-directory-heading{padding:22px 16px 8px!important;text-align:center}.discovery-v1-directory-heading .discovery-v1-eyebrow{margin:0!important}.artist-directory-workspace-section{padding-top:0!important}.directory-mobile-filter-toolbar{position:sticky!important;top:72px!important;z-index:15;display:flex!important;gap:9px;overflow-x:auto;padding:10px 2px;background:rgba(255,249,240,.96);backdrop-filter:blur(12px);scrollbar-width:none}.directory-mobile-filter-toolbar::-webkit-scrollbar{display:none}.directory-mobile-filter-toolbar>*{flex:0 0 auto}.artist-results-summary[hidden]{display:none!important}.artist-directory-workspace{grid-template-columns:1fr!important}.discovery-v1-provider-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))!important}.discovery-v1-provider-card__media img{object-fit:contain!important;background:#f7e8df}.discovery-v1-provider-card__guidance{display:none}.artist-filter-panel{z-index:90}.home-faq-section{width:min(1280px,calc(100% - 24px))!important;max-width:none!important}.home-faq-group>.faq-list{display:grid;gap:10px}.home-faq-group>.faq-list details{margin:0!important;border:0!important}.home-faq-group>.faq-list details:nth-child(4n+1){background:#fff2e8!important}.home-faq-group>.faq-list details:nth-child(4n+2){background:#eef6ff!important}.home-faq-group>.faq-list details:nth-child(4n+3){background:#edf8f0!important}.home-faq-group>.faq-list details:nth-child(4n){background:#fff7d9!important}.site-footer{background:#651925!important}.footer-bottom{display:flex;align-items:center;justify-content:center;gap:.35em;text-align:center}.mobile-app-nav{background:#fff6f1!important}.mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:34px!important;height:34px!important}.mobile-app-nav-item{font-size:12px!important}.shortlist-drawer.is-empty .form-note,.shortlist-drawer.is-empty [data-shortlist-compare],.shortlist-drawer.is-empty [data-shortlist-clear]{display:none!important}
.pwa-brand-splash{display:none}
@media(display-mode:standalone){.pwa-brand-splash{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:28px;background:#fff7ee;color:#651925;transition:opacity .2s ease}.pwa-brand-splash.is-hidden{opacity:0;pointer-events:none}.pwa-brand-splash__card{text-align:center}.pwa-brand-splash img{width:min(270px,70vw);height:auto}.pwa-brand-splash strong{display:block;margin-top:22px;font-size:clamp(24px,7vw,38px)}.pwa-brand-splash span{display:block;margin-top:8px;color:#7a5447;font-weight:700}}
@media(max-width:820px){.access-entry-dialog .access-methods{grid-template-columns:1fr 1fr}.home-app-card{min-height:250px}.home-app-card img{height:160px}.home-faq-section{width:calc(100% - 12px)!important;padding-inline:0!important}.home-faq-group{border-radius:16px}.home-faq-group>.faq-list{padding:0 8px 10px}.home-faq-group>.faq-list details{min-height:0!important}.footer-bottom{flex-direction:column;gap:4px}.mobile-app-nav{padding-inline:8px!important}.mobile-app-nav-item{min-width:0}.directory-mobile-filter-toolbar{top:70px}.discovery-v1-provider-grid{grid-template-columns:1fr!important}.artist-filter-panel{top:auto!important}.shortlist-drawer.is-empty .shortlist-head h2{font-size:0}.shortlist-drawer.is-empty .shortlist-head h2::after{content:'Log in to view saved options';font-size:23px}.shortlist-drawer.is-empty .shortlist-items{min-height:0!important}}
@media(max-width:380px){.access-entry-dialog{padding:15px}.access-entry-phone>div{grid-template-columns:auto 1fr}.access-entry-phone .button{grid-column:1/-1;width:100%}.access-entry-dialog .access-methods{grid-template-columns:1fr}.mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:31px!important;height:31px!important}}

/* Owner correction: one consistent 1:1 media system across customer-facing cards. */
.home-app-rail{grid-auto-columns:clamp(190px,22vw,260px)!important;align-items:stretch}
.home-app-card{height:100%;border-radius:18px!important}
.home-app-card img{display:block;width:100%;height:auto!important;aspect-ratio:1/1!important;object-fit:cover!important;background:#f7e8df;border-radius:17px 17px 10px 10px}
.discovery-v1-provider-grid{grid-template-columns:repeat(auto-fill,minmax(240px,280px))!important}
.discovery-v1-provider-card{border-radius:18px!important;overflow:hidden}
.discovery-v1-provider-card__media{aspect-ratio:1/1!important;height:auto!important;border-radius:17px 17px 10px 10px;overflow:hidden}
.discovery-v1-provider-card__media img:not(.discovery-v1-provider-card__placeholder-icon){width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important;background:#f7e8df}
body.route-products .product-directory-section :is(.product-card,.ecommerce-product-card),body.route-gallery .gallery-directory-section :is(.design-gallery-card,.gallery-item-card){border-radius:18px!important;overflow:hidden}
body.route-products .product-directory-section :is(.product-image,.product-image.has-photo),body.route-gallery .gallery-directory-section :is(.gallery-item,.gallery-media-frame){aspect-ratio:1/1!important;height:auto!important;border-radius:17px 17px 10px 10px;overflow:hidden}
body.route-products .product-directory-section .product-image img,body.route-gallery .gallery-directory-section .gallery-media-frame>img:not(.gallery-media-backdrop),body.route-gallery .gallery-directory-section .gallery-item>img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important}
.profile-detail-hero :is(.avatar,.image-avatar),.dashboard-profile-photo,.shared-profile-photo-card img{aspect-ratio:1/1!important;border-radius:18px!important;overflow:hidden}
.profile-detail-hero :is(.avatar,.image-avatar) img,.dashboard-profile-photo img,.shared-profile-photo-card img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important}
@media(max-width:820px){.home-app-rail{grid-auto-columns:minmax(158px,46vw)!important}.home-app-card{min-height:0}.home-app-card img{height:auto!important}}

/* Owner correction: shared customer surfaces must stay compact, full-width and structurally stable. */
.access-entry-phone>div{border:0;padding:0;background:transparent;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.access-entry-phone>div>span{position:absolute;z-index:1;margin-left:14px;font-weight:800}
.access-entry-phone input{min-height:50px;padding:10px 12px 10px 52px!important;border:1px solid #dfc7ba!important;border-radius:14px;background:#fff!important}
.access-entry-phone .button{min-height:50px;padding-inline:20px}
.access-provider-button{display:flex!important;align-items:center;justify-content:center;gap:10px}
.access-provider-button svg{width:23px;height:23px;flex:0 0 23px}

body.page-public :is(.home-faq-section,.artist-faq-section,.marketplace-faq-section,.discovery-v1-directory-faq){width:100vw!important;max-width:none!important;margin-inline:calc(50% - 50vw)!important;padding-inline:clamp(14px,4vw,72px)!important}
.home-faq-section>.section-head{margin-bottom:20px!important}
.home-faq-section>.section-head h2{font-size:clamp(30px,4vw,54px)!important}
.home-faq-groups{width:100%;max-width:1500px;margin-inline:auto}
.home-faq-group{width:100%;max-width:none!important}
.site-footer{background:#7b1827!important;background-image:linear-gradient(145deg,#681321,#8d2031)!important}
.site-footer.footer-poster-shell .footer-bg-poster{background-color:#7b1827!important;background-image:linear-gradient(145deg,rgba(104,19,33,.98),rgba(141,32,49,.96))!important}

.mobile-app-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:38px!important;height:38px!important}

.discovery-v1-provider-grid{width:100%;grid-template-columns:repeat(auto-fill,minmax(250px,290px))!important;align-items:start;justify-content:start}
.discovery-v1-provider-card{display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important;max-width:290px!important}
.discovery-v1-provider-card__media{width:100%!important;min-height:0!important}
.discovery-v1-provider-card__media img:not(.discovery-v1-provider-card__placeholder-icon){min-height:0!important;max-height:none!important}
.discovery-v1-provider-card__body{width:100%;min-width:0;padding:16px!important;overflow-wrap:anywhere}
.discovery-v1-provider-card__body :is(h3,strong,p,small){max-width:100%;overflow-wrap:anywhere}
.discovery-v1-provider-card__body .ui-button{width:100%;min-width:0}
body.page-public:is(.route-artists,.route-tutors) .discovery-v1-directory-heading{min-height:0!important;height:auto!important;margin-block:0!important;padding:clamp(18px,3vw,34px) 16px 12px!important}
body.page-public:is(.route-artists,.route-tutors) .artist-directory-workspace-section{margin-top:0!important;padding-top:0!important}
body.page-public:is(.route-artists,.route-tutors) .artist-directory-workspace{gap:14px!important;align-content:start!important}
.access-entry-phone>div{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:0!important;border:0!important;padding:0!important;background:transparent!important}.access-entry-phone>div>span{display:flex;align-items:center;min-height:50px;padding-left:14px;border:1px solid #dfc7ba;border-right:0;border-radius:14px 0 0 14px;background:#fff;font-weight:800}.access-entry-phone input{min-width:0;width:100%;min-height:50px!important;border:1px solid #dfc7ba!important;border-left:0!important;border-radius:0 14px 14px 0!important;outline:0;background:#fff!important;font:inherit}.access-entry-phone .button{grid-column:1/-1;min-height:46px;margin-top:9px;padding:8px 14px}

.pwa-brand-splash{display:none}
@media(display-mode:standalone){
  .pwa-brand-splash{background-color:#fff8ee;background-image:radial-gradient(circle at 15% 16%,rgba(176,0,13,.09) 0 2px,transparent 3px),radial-gradient(circle at 84% 78%,rgba(0,125,92,.1) 0 2px,transparent 3px),repeating-radial-gradient(circle at 50% 50%,transparent 0 42px,rgba(123,24,39,.055) 43px 44px);background-size:32px 32px,36px 36px,110px 110px}
  .pwa-brand-splash__card{width:min(360px,86vw);padding:34px 24px;border:1px solid rgba(123,24,39,.14);border-radius:28px;background:rgba(255,255,255,.82);box-shadow:0 24px 60px rgba(88,38,29,.12);backdrop-filter:blur(8px)}
  .pwa-brand-splash__ornament{display:block!important;margin:0 auto 15px!important;color:#b0000d!important;font-size:24px!important}
  .pwa-brand-splash img{width:min(270px,72vw)}
  .pwa-brand-splash strong{margin-top:20px;font-size:clamp(22px,6vw,31px)}
  .pwa-brand-splash span:last-child{font-size:14px;letter-spacing:.02em}
}

/* v362 shared 1:1 catalog card, CTA and FAQ contract. */
body:is(.route-home,.route-artists,.route-tutors,.route-products,.route-gallery){--customer-card-radius:17px;--customer-card-copy-height:78px}
body.route-home .home-app-rail{grid-auto-columns:clamp(190px,22vw,260px)!important;align-items:stretch!important}
body.route-home .home-app-card{height:100%!important;border-radius:var(--customer-card-radius)!important}
body.route-home .home-app-card img,
body.page-public:is(.route-artists,.route-tutors) .discovery-v1-provider-card__media,
body.page-public.route-products .marketplace-result-card .product-image,
body.page-public.route-gallery .marketplace-result-card .gallery-media-frame{
  display:block!important;width:100%!important;aspect-ratio:1/1!important;overflow:hidden!important;border-radius:var(--customer-card-radius) var(--customer-card-radius) 10px 10px!important;background:#f7e8df!important;
}
body.route-home .home-app-card img,
body.page-public:is(.route-artists,.route-tutors) .discovery-v1-provider-card__media img,
body.page-public.route-products .marketplace-result-card .product-image img,
body.page-public.route-gallery .marketplace-result-card .gallery-media-frame img:not(.gallery-media-backdrop){width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important}
body.route-home .home-app-card strong{font-size:16px!important;line-height:1.2!important}
body.route-home .home-app-card span{font-size:13px!important;line-height:1.25!important}
body.page-public:is(.route-products,.route-gallery) .marketplace-card-publisher{margin:0 10px!important;color:#72594e!important;font-size:12px!important;line-height:1.25!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section){width:100%!important;max-width:none!important;margin-inline:0!important}
body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section) .home-faq-groups,
body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section) .home-faq-group,
body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section) .faq-list,
body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section) .faq-list details{width:100%!important;max-width:none!important}
@media(max-width:820px){
  body.route-home .home-app-rail{grid-template-columns:none!important;grid-auto-columns:160px!important}
  body.route-home .home-app-design-rail{grid-template-columns:none!important;grid-auto-columns:160px!important}
  body.route-home .home-app-card strong{font-size:15px!important}
  body.route-home .home-app-card span{font-size:12px!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.discovery-v1-provider-grid,.marketplace-card-grid,.gallery-grid){grid-template-columns:repeat(2,minmax(0,160px))!important;gap:10px!important;justify-content:start!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.discovery-v1-provider-card,.marketplace-result-card){width:100%!important;min-width:0!important;max-width:none!important;border-radius:var(--customer-card-radius)!important}
  body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-copy h2{white-space:nowrap!important;font-size:clamp(16px,4.35vw,21px)!important}
  body.page-public:is(.route-products,.route-gallery) .founder-b-directory-prompt .discovery-v1-actions .ui-button{font-size:11px!important}
  body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section){padding-inline:6px!important}
  body.page-public:is(.route-products,.route-gallery) :is(.marketplace-faq-section,.home-faq-section) .faq-list{padding-inline:8px!important}
}

/* v361 accepted customer-directory contract propagated across Home, Tutor, Product and Design. */
html body:is(.page-home,.page-public) .site-footer,
html body:is(.page-home,.page-public) .site-footer.footer-poster-shell,
html body:is(.page-home,.page-public) .site-footer.footer-video-shell,
html body:is(.page-home,.page-public) .site-footer.footer-poster-shell .footer-bg-poster,
html body:is(.page-home,.page-public) .site-footer .footer-video-overlay{
  background-color:#7b1827!important;
  background-image:linear-gradient(145deg,#681321 0%,#8d2031 100%)!important;
}
html body:is(.page-home,.page-public) .site-footer :is(p,a,button,summary,h3,.footer-bottom){color:#fffaf5!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-directory-workspace,.artist-results-panel,.marketplace-directory-workspace,.marketplace-results-panel,.discovery-v1-provider-grid,.marketplace-card-grid,.gallery-grid){
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-results-panel,.marketplace-results-panel,.discovery-v1-provider-grid,.marketplace-card-grid,.gallery-grid){padding-inline:0!important}
body.page-public:is(.route-products,.route-gallery) .marketplace-results-summary{display:none!important}
body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-prompt{display:grid!important}
@media(max-width:820px){
  html body:is(.page-home,.page-public) .mobile-app-nav{
    min-height:76px!important;padding:5px 4px 8px!important;gap:2px!important;align-items:stretch!important;background:#fff6f1!important;
  }
  html body:is(.page-home,.page-public) .mobile-app-nav-item{
    display:flex!important;min-width:0!important;min-height:62px!important;padding:4px 1px!important;gap:1px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border-radius:17px!important;font-size:11px!important;font-weight:800!important;line-height:1.05!important;text-align:center!important;
  }
  html body:is(.page-home,.page-public) .mobile-app-nav-item.is-active{background:#fde9e6!important}
  html body:is(.page-home,.page-public) .mobile-app-nav-item .mobile-app-icon,
  html body:is(.page-home,.page-public) .mobile-app-nav-item .mobile-app-icon .ui-icon-svg{width:32px!important;height:32px!important;margin:0!important}
  html body:is(.page-home,.page-public) .mobile-app-nav .mobile-app-nav-item .mobile-app-icon svg{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar{width:100%!important;padding:6px 8px!important;gap:8px!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar :is(.mobile-filter-toggle,.directory-filter-chip){min-height:44px!important;width:max-content!important;max-width:none!important;padding:9px 14px!important;border-radius:15px!important;white-space:nowrap!important}
  body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-prompt{padding:18px!important;gap:12px!important}
  body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-copy h2{font-size:clamp(17px,4.7vw,22px)!important;line-height:1.15!important;white-space:nowrap!important}
  body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-copy>p:last-child{display:-webkit-box!important;margin-bottom:0!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;font-size:13px!important;line-height:1.4!important}
  body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-prompt .discovery-v1-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.page-public:is(.route-tutors,.route-products,.route-gallery) .founder-b-directory-prompt .discovery-v1-actions .ui-button{min-width:0!important;padding:9px 5px!important;font-size:12px!important;white-space:nowrap!important}
}

@media(max-width:820px){
  .access-entry-phone>div{grid-template-columns:1fr}
  .access-entry-phone .button{width:100%}
  body.page-public :is(.home-faq-section,.artist-faq-section,.marketplace-faq-section,.discovery-v1-directory-faq){padding-inline:6px!important}
  .home-faq-groups,.home-faq-group{border-radius:14px!important}
  .home-faq-group>.faq-list{padding-inline:5px!important}
  .mobile-app-nav{padding-inline:3px!important;gap:1px!important}
  .mobile-app-nav-item{padding-inline:2px!important;font-size:10px!important}
  .mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:35px!important;height:35px!important}
  .discovery-v1-provider-grid{grid-template-columns:1fr!important;justify-items:stretch}
  .discovery-v1-provider-card{max-width:none!important}
  body:is(.route-artists,.route-tutors) .discovery-v1-provider-card{grid-template-columns:1fr!important}
  body:is(.route-artists,.route-tutors) .discovery-v1-provider-card__media,body:is(.route-artists,.route-tutors) .discovery-v1-provider-card__media img:not(.discovery-v1-provider-card__placeholder-icon){min-height:0!important;max-height:none!important}
  body.page-public:is(.route-artists,.route-tutors) .discovery-v1-directory-heading{padding:18px 8px 8px!important}
  body.page-public:is(.route-artists,.route-tutors) .directory-mobile-filter-toolbar{width:100%;padding:8px 0!important}
  body.page-public:is(.route-artists,.route-tutors) .directory-mobile-filter-toolbar>button{flex:1 1 auto;min-width:0}
  body.page-public:is(.route-artists,.route-tutors) .directory-mobile-nearby-form{flex:0 0 auto}
}

/* Owner acceptance v355: action-only discovery directories */
body:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-results-summary,.marketplace-results-summary){display:none!important}
/* Discovery follow-up, CTA and FAQ sections are intentionally retained. */
body:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-filter-panel,.marketplace-filter-panel){display:none!important}
body:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-filter-panel,.marketplace-filter-panel).is-mobile-open{display:block!important;position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;margin:0 0 12px!important}
body:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-filter-card,.marketplace-filter-card){border-radius:18px!important;box-shadow:0 12px 32px rgba(76,43,31,.1)!important}
body:is(.route-artists,.route-tutors) .discovery-v1-provider-grid,body:is(.route-products,.route-gallery) .marketplace-card-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(220px,260px))!important;gap:16px!important;align-items:stretch!important;justify-content:start!important}
body:is(.route-artists,.route-tutors) .discovery-v1-provider-card,body:is(.route-products,.route-gallery) .marketplace-result-card{display:grid!important;grid-template-rows:auto 1fr!important;width:100%!important;min-width:0!important;height:100%!important;overflow:hidden!important;border-radius:18px!important;background:#fff!important}
body:is(.route-products,.route-gallery) .marketplace-card-grid>.marketplace-result-card{grid-column:auto!important}
html body.page-public.route-gallery #designs .gallery-grid.marketplace-card-grid>.marketplace-result-card,
html body.page-public.route-products #products .cards.marketplace-card-grid>.marketplace-result-card{
  grid-column:auto!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  gap:0!important;
  padding:0!important;
}
body:is(.route-artists,.route-tutors) .discovery-v1-provider-card__media,body:is(.route-products) .product-image,body:is(.route-gallery) .gallery-item{display:block!important;width:100%!important;aspect-ratio:1/1!important;overflow:hidden!important}
body:is(.route-artists,.route-tutors) .discovery-v1-provider-card__media img,body.route-products .product-image img,body.route-gallery .gallery-media-frame img{width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important}
body:is(.route-artists,.route-tutors) .discovery-v1-provider-card__body{min-height:118px!important;grid-template-rows:auto auto 1fr!important}
body:is(.route-artists,.route-tutors) .discovery-v1-provider-card__body>p{grid-column:1/-1;display:-webkit-box!important;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}
body:is(.route-products,.route-gallery) .discovery-curated-grid h3,body.route-gallery .curated-design-card .gallery-item>span{margin:10px 12px 2px!important;font-size:16px!important}
body:is(.route-products,.route-gallery) .discovery-curated-grid .card-actions{margin-top:auto!important;padding:8px 12px 12px!important}
body.phase1-foundation:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar .mobile-filter-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important}
body.phase1-foundation:is(.route-artists,.route-tutors) .artist-filter-panel[hidden],body.phase1-foundation:is(.route-products,.route-gallery) .marketplace-filter-panel[hidden]{display:none!important}
body.phase1-foundation:is(.route-artists,.route-tutors) .artist-filter-panel.is-mobile-open,body.phase1-foundation:is(.route-products,.route-gallery) .marketplace-filter-panel.is-mobile-open{display:block!important}
body.phase1-foundation:is(.route-artists,.route-tutors) .discovery-v1-provider-grid,body.phase1-foundation:is(.route-products,.route-gallery) .marketplace-card-grid,body.phase1-foundation.route-gallery .gallery-grid.marketplace-card-grid{grid-template-columns:repeat(auto-fill,minmax(220px,260px))!important;grid-auto-columns:auto!important;align-items:stretch!important;justify-content:start!important}
body.phase1-foundation.route-products .marketplace-result-card .product-image,body.phase1-foundation.route-gallery .marketplace-result-card .gallery-item,body.phase1-foundation.route-gallery .marketplace-result-card .gallery-media-frame{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1/1!important;overflow:hidden!important}
body.phase1-foundation.route-products .marketplace-result-card .product-image img,body.phase1-foundation.route-gallery .marketplace-result-card .gallery-media-frame>img{display:block!important;width:100%!important;height:100%!important;aspect-ratio:1/1!important;object-fit:cover!important}

@media(min-width:821px){
  body.phase1-foundation:is(.route-artists,.route-tutors) .discovery-v1-provider-grid,
  body.phase1-foundation.route-products .marketplace-card-grid,
  body.phase1-foundation.route-gallery .gallery-grid.marketplace-card-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,260px))!important;
    gap:16px!important;
    justify-content:start!important;
  }
  html body.page-public.route-gallery #designs .gallery-grid.marketplace-card-grid,
  html body.page-public.route-products #products .cards.marketplace-card-grid{
    grid-template-columns:repeat(4,minmax(0,260px))!important;
  }
  html body.page-public:is(.route-artists,.route-tutors) #profiles .discovery-v1-provider-grid{
    grid-template-columns:repeat(4,minmax(0,260px))!important;
  }
}

body.phase1-foundation.route-gallery .marketplace-result-card .gallery-item{
  display:flex!important;
  width:100%!important;
  aspect-ratio:auto!important;
  flex-direction:column!important;
  overflow:visible!important;
}
body.phase1-foundation.route-gallery .marketplace-result-card .gallery-media-frame{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  margin:0!important;
  overflow:hidden!important;
}
html body.page-public.route-gallery #designs .marketplace-result-card .gallery-media-frame{
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
}

@media(max-width:820px){
  body:is(.route-artists,.route-tutors) .discovery-v1-provider-grid,body:is(.route-products,.route-gallery) .marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  html body.page-public.route-gallery #designs .gallery-grid.marketplace-card-grid,
  html body.page-public.route-products #products .cards.marketplace-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html body.page-public:is(.route-artists,.route-tutors) #profiles .discovery-v1-provider-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-filter-panel,.marketplace-filter-panel).is-mobile-open{position:fixed!important;inset:76px 8px 86px!important;width:auto!important;overflow:auto!important;z-index:95!important}
}

@media(max-width:380px){
  .mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:31px!important;height:31px!important}
  .mobile-app-nav-item{font-size:9px!important}
}

/* Owner acceptance v353: one final mobile/PWA/discovery authority block. */
.site-footer,.site-footer :is(p,a,button,summary,h3,.footer-bottom){color:#fffaf5!important;font-weight:700}
.site-footer.footer-poster-shell .footer-bg-poster{background:#7b1827!important;background-image:linear-gradient(145deg,#681321 0%,#8d2031 100%)!important}

body.page-public :is(.home-faq-section,.artist-faq-section,.marketplace-faq-section,.discovery-v1-directory-faq){overflow:clip;background:#f2e9f4!important;box-shadow:0 0 0 100vmax #f2e9f4;clip-path:inset(0 -100vmax);border-radius:0!important}
body.page-public section.home-faq-section{box-sizing:border-box!important;width:100vw!important;max-width:none!important;margin-inline:calc(50% - 50vw)!important}
body.route-home.page-home .home-faq-section{box-sizing:border-box!important;width:100vw!important;max-width:none!important;margin-inline:calc(50% - 50vw)!important;padding-inline:clamp(14px,4vw,72px)!important;overflow:visible!important;background:#f2e9f4!important;border-radius:0!important;box-shadow:none!important;clip-path:none!important}
.home-faq-groups{padding:0 clamp(4px,2vw,18px) 24px}
.home-faq-group{border-radius:26px!important;overflow:hidden}
.home-faq-group>.faq-list details{border-radius:18px!important}

body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading{min-height:0!important;height:auto!important;margin:0!important;padding:16px 12px 6px!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading :is(h1,.discovery-v1-lead){display:none!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-results-section{margin-top:0!important;padding-top:0!important}

.directory-mobile-filter-toolbar{display:flex!important;align-items:center;gap:9px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;padding:8px 4px!important;white-space:nowrap;scrollbar-width:none}
.directory-mobile-filter-toolbar>*{flex:0 0 auto;scroll-snap-align:start}
.directory-filter-chip{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid #e3d1c6;border-radius:13px;background:#fff;color:#4d2f24;font-weight:800;cursor:pointer}
.directory-filter-chip input{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}
.directory-filter-chip.is-active,.directory-filter-chip:has(input:checked){border-color:#b0000d;background:#fff0f0;color:#a3000b}
.directory-mobile-filter-toolbar .mobile-filter-toggle{min-height:44px!important;padding:0 17px!important;border-radius:13px!important}
.directory-mobile-filter-toolbar>button.mobile-filter-toggle{flex:0 0 auto!important;width:max-content!important;max-width:max-content!important;min-width:max-content!important;white-space:nowrap!important}
.directory-mobile-nearby-form{display:none!important}

.discovery-v1-provider-card__media{display:block}
.discovery-v1-provider-card__body{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;background:#fff!important}
.discovery-v1-provider-card__body h3{grid-column:1;margin:0!important;font-size:18px!important;line-height:1.2}
.discovery-v1-provider-card__body>strong{grid-column:1;font-size:13px}
.discovery-v1-provider-card__body>p,.discovery-v1-provider-card__body>small{grid-column:1;margin:0!important;font-size:12px}
.discovery-v1-provider-card__body>.ui-button{grid-column:2;grid-row:1/span 2;width:auto!important;min-height:40px;padding:9px 12px!important;font-size:12px;white-space:nowrap}

@media(display-mode:standalone){
  .pwa-brand-splash{background-color:#f3d6dc!important;background-image:radial-gradient(circle at 15% 16%,rgba(176,0,13,.12) 0 2px,transparent 3px),radial-gradient(circle at 84% 78%,rgba(123,24,39,.12) 0 2px,transparent 3px),repeating-radial-gradient(circle at 50% 50%,transparent 0 42px,rgba(123,24,39,.07) 43px 44px)!important}
}

@media(max-width:820px){
  .access-entry-phone>div{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:0!important}
  .access-entry-phone>div>span{position:static!important;margin:0!important;min-height:50px;padding-left:14px;border:1px solid #dfc7ba;border-right:0;border-radius:14px 0 0 14px;background:#fff}
  .access-entry-phone input{min-height:50px!important;padding:10px 12px!important;border:1px solid #dfc7ba!important;border-left:0!important;border-radius:0 14px 14px 0!important}
  .access-entry-phone .button{grid-column:1/-1!important;width:100%;margin-top:9px}

  body.page-public :is(.home-faq-section,.artist-faq-section,.marketplace-faq-section,.discovery-v1-directory-faq){width:100vw!important;margin-inline:calc(50% - 50vw)!important;padding-inline:0!important}
  body.route-home.page-home .home-faq-section{padding-inline:6px!important}
  .home-faq-section>.section-head{padding-inline:12px}
  .home-faq-groups{padding-inline:4px}
  .home-faq-group{border-radius:26px!important}
  .home-faq-group>.faq-list{padding-inline:6px!important}
  .home-faq-group>.faq-list details{border-radius:19px!important}

  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading{padding:14px 8px 4px!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar{position:static!important;top:auto!important;width:100vw!important;margin-inline:calc(50% - 50vw)!important;padding:8px 12px!important;background:rgba(255,249,240,.98)!important}
  body.page-public:is(.route-artists,.route-tutors) .artist-directory-workspace-section,body.page-public:is(.route-products,.route-gallery) .marketplace-directory-section{padding-inline:8px!important}

  .discovery-v1-provider-grid,.marketplace-card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;justify-items:stretch}
  .discovery-v1-provider-card,.marketplace-result-card{max-width:none!important;min-width:0!important;border-radius:17px!important}
  .discovery-v1-provider-card__body{padding:11px!important;grid-template-columns:minmax(0,1fr) auto;gap:3px 5px}
  .discovery-v1-provider-card__body h3{font-size:15px!important}
  .discovery-v1-provider-card__body>strong{font-size:11px}
  .discovery-v1-provider-card__body>p,.discovery-v1-provider-card__body>small{display:none}
  .discovery-v1-provider-card__body>.ui-button{min-height:34px;padding:7px 8px!important;font-size:0}
  .discovery-v1-provider-card__body>.ui-button::after{content:'View';font-size:11px}

  body.route-products .marketplace-result-card,body.route-gallery .marketplace-result-card{display:flex!important;flex-direction:column;padding:0!important}
  body.route-products .marketplace-result-card>:not(.product-image):not(.card-actions),body.route-gallery .marketplace-result-card>:not(.gallery-item):not(.card-actions){margin-inline:10px}
  body:is(.route-products,.route-gallery) .marketplace-result-card .card-actions{margin-top:auto;padding:8px!important}
  body:is(.route-products,.route-gallery) .marketplace-result-card .card-actions .button:not(:first-child){display:none!important}
  body:is(.route-products,.route-gallery) .marketplace-result-card .card-actions .button:first-child{width:100%;min-height:34px;padding:7px!important;font-size:11px}
}

/* v355 final product-card geometry: one square visual followed by essential actions. */
html body.page-public.route-products #products .marketplace-card-grid>.marketplace-result-card{
  display:flex!important;
  flex-direction:column!important;
  height:auto!important;
  aspect-ratio:auto!important;
}
html body.page-public.route-products #products .marketplace-result-card .product-image{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-width:0!important;
  min-height:0!important;
  max-width:none!important;
  max-height:none!important;
  aspect-ratio:1/1!important;
  flex:0 0 auto!important;
  overflow:hidden!important;
}
html body.page-public.route-products #products .marketplace-result-card .product-image>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:1/1!important;
  object-fit:cover!important;
}

/* Owner amendment v356: compact, consistent customer discovery surfaces. */
.access-entry-phone{display:grid!important;gap:10px!important}
.access-entry-phone-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:0!important;padding:0!important;border:1px solid #dfc7ba!important;border-radius:15px!important;background:#fff!important;overflow:hidden!important}
.access-entry-phone-row .access-country-code{grid-column:1!important;position:static!important;inset:auto!important;display:flex!important;align-items:center!important;align-self:stretch!important;padding:0 12px!important;margin:0!important;border:0!important;border-right:1px solid #ead7ca!important;border-radius:0!important;background:#fff!important;font-weight:800!important;white-space:nowrap!important}
.access-entry-phone-row input{grid-column:2!important;position:static!important;inset:auto!important;min-width:0!important;max-width:none!important;width:100%!important;min-height:52px!important;padding:10px 12px!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important;box-shadow:none!important}
.access-entry-continue{width:100%!important;min-height:48px!important;margin:0!important}

body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading{padding-bottom:0!important}
body.page-public:is(.route-artists,.route-tutors) .artist-directory-workspace-section,body.page-public:is(.route-products,.route-gallery) .marketplace-directory-section{padding-top:0!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar{margin-bottom:10px!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-filter-panel,.marketplace-filter-panel){display:none!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.artist-directory-workspace,.marketplace-directory-workspace,.marketplace-results-panel){display:block!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.discovery-v1-provider-grid,.marketplace-card-grid){border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important}
.directory-mobile-filter-toolbar .mobile-filter-toggle{pointer-events:none!important}
.artist-results-summary,.marketplace-results-summary{display:none!important}

body.route-gallery .gallery-media-frame{position:relative!important;display:block!important;width:100%!important;aspect-ratio:1/1!important;overflow:hidden!important;background:#f7e8df!important}
html body.page-public.route-gallery .gallery-media-frame>img:not(.gallery-media-backdrop){position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important}
body.route-gallery .gallery-media-backdrop{display:none!important}
.design-lightbox{width:min(94vw,900px);max-height:92vh;padding:48px 16px 16px;border:0;border-radius:20px;background:#fffaf5;box-shadow:0 24px 80px rgba(34,8,8,.35)}
.design-lightbox::backdrop{background:rgba(25,7,7,.82)}
.design-lightbox img{display:block;max-width:100%;max-height:76vh;margin:auto;object-fit:contain;border-radius:14px}
.design-lightbox strong{display:block;margin-top:12px;text-align:center;font-size:18px}
.design-lightbox-close{position:absolute;top:8px;right:10px;width:38px;height:38px;border:0;border-radius:50%;background:#b0000d;color:#fff;font-size:26px;cursor:pointer}

.site-footer,.site-footer.footer-poster-shell,.site-footer.footer-video-shell{background:#7b1827!important;background-image:linear-gradient(145deg,#681321,#8d2031)!important}
.site-footer.footer-poster-shell .footer-bg-poster,.site-footer .footer-video-overlay{background:#7b1827!important;background-image:linear-gradient(145deg,#681321,#8d2031)!important}
.mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:42px!important;height:42px!important}
.mobile-app-nav .mobile-app-icon svg{width:28px!important;height:28px!important}
.mobile-app-nav-item{font-size:12px!important}

.shortlist-drawer{background:#fff4ef!important}
.shortlist-drawer.is-empty .shortlist-head h2{font-size:0!important}
.shortlist-drawer.is-empty .shortlist-head h2::after{content:'Saved options';font-size:24px}
.shortlist-drawer.is-empty .shortlist-empty{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;text-align:center}
.shortlist-drawer.is-empty .shortlist-empty p{grid-column:1/-1;margin:0 0 8px;font-weight:700}
.shortlist-drawer.is-empty .shortlist-empty a{min-height:44px;display:flex;align-items:center;justify-content:center}

.consent-banner{background:#8d2031!important;color:#fffaf5!important}
.consent-banner .consent-banner-copy :is(p,h2,a){color:#fffaf5!important}
.consent-banner-actions [data-consent-customize]{display:none!important}
.pwa-install-card{border:2px solid #b0000d!important;background:#ffe9dc!important;box-shadow:0 12px 34px rgba(93,20,31,.24)!important}
.pwa-install-card strong{font-size:20px!important}.pwa-install-card span{white-space:nowrap}.pwa-install-card .button{font-size:15px!important;font-weight:900!important}

@media(max-width:820px){
  .access-entry-phone-row{grid-template-columns:auto minmax(0,1fr)!important}
  .access-entry-phone-row .access-country-code{min-height:52px!important;padding:0 10px!important}
  .access-entry-phone-row input{min-height:52px!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .discovery-v1-directory-heading{padding:10px 8px 0!important}
  body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar{padding-block:5px!important;margin-bottom:6px!important}
  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) .directory-mobile-filter-toolbar>button.mobile-filter-toggle{flex:0 0 auto!important;width:max-content!important;max-width:max-content!important;min-width:max-content!important}
  .mobile-app-nav{grid-template-columns:repeat(6,minmax(0,1fr))!important}
  .mobile-app-icon,.mobile-app-icon .ui-icon-svg{width:38px!important;height:38px!important}
  html body .mobile-app-nav .mobile-app-nav-item .mobile-app-icon svg{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important}
  .mobile-app-nav-item{font-size:10px!important}
  .pwa-install-card{left:10px!important;right:10px!important}.pwa-install-card span{white-space:normal}
}

/* v359: one FAQ presentation contract across Home and every discovery directory. */
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section){
  --faq-answer-color:#075f55;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0 auto 20px!important;
  padding:0 8px!important;
  text-align:center!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head h2{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  font-size:clamp(30px,4vw,54px)!important;
  line-height:1.08!important;
  text-align:center!important;
  white-space:nowrap!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-groups{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:12px!important;
  width:100%!important;
  max-width:1500px!important;
  margin-inline:auto!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid #e4c9bb!important;
  border-radius:26px!important;
  background:#fff!important;
  overflow:hidden!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>summary{
  display:list-item!important;
  width:max-content!important;
  max-width:calc(100% - 32px)!important;
  margin:0 auto!important;
  padding:18px 8px!important;
  color:#2c160f!important;
  font-family:inherit!important;
  font-size:clamp(16px,1.4vw,20px)!important;
  font-weight:900!important;
  line-height:1.2!important;
  text-align:center!important;
  cursor:pointer!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list{
  display:grid!important;
  gap:10px!important;
  width:100%!important;
  padding:0 16px 16px!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details{
  display:block!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:18px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details>summary{
  display:list-item!important;
  width:max-content!important;
  max-width:calc(100% - 28px)!important;
  margin:0 auto!important;
  padding:16px 8px!important;
  color:#2c160f!important;
  font-family:inherit!important;
  font-size:clamp(14px,1.15vw,17px)!important;
  font-weight:900!important;
  line-height:1.35!important;
  text-align:center!important;
  cursor:pointer!important;
}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details>p{
  width:100%!important;
  margin:0!important;
  padding:0 18px 16px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--faq-answer-color)!important;
  font-size:clamp(14px,1vw,16px)!important;
  line-height:1.55!important;
  text-align:center!important;
}

@media(max-width:820px){
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head{
    margin-bottom:14px!important;
    padding-inline:4px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head h2{
    font-size:clamp(20px,5.8vw,28px)!important;
    letter-spacing:-.025em!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-groups{
    gap:9px!important;
    padding-inline:4px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group{
    border-radius:20px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>summary{
    padding:15px 6px!important;
    font-size:16px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list{
    gap:8px!important;
    padding:0 7px 9px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details{
    border-radius:15px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details>summary{
    width:auto!important;
    max-width:none!important;
    padding:14px 9px!important;
    font-size:14px!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details>p{
    padding:0 12px 14px!important;
    font-size:13px!important;
  }
}

/* Home uses its own route class; keep it on the same final FAQ contract. */
html body.route-home .home-faq-section>.section-head h2{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  text-align:center!important;
  white-space:nowrap!important;
}
html body.route-home .home-faq-section .home-faq-group>summary,
html body.route-home .home-faq-section .home-faq-group>.faq-list>details>summary{
  font-weight:900!important;
}
html body.route-home .home-faq-section .home-faq-group>.faq-list>details>p{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#075f55!important;
}
@media(max-width:820px){
  html body.route-home .home-faq-section>.section-head h2{
    font-size:clamp(20px,5.8vw,28px)!important;
    line-height:1.08!important;
    letter-spacing:-.025em!important;
  }
}

/* v360 owner amendment: one polished footer/nav, artist directory and FAQ contract. */
html body.page-public .site-footer,
html body.page-public .site-footer.footer-poster-shell,
html body.page-public .site-footer.footer-video-shell,
html body.page-public .site-footer.footer-poster-shell .footer-bg-poster,
html body.page-public .site-footer .footer-video-overlay{
  background-color:#7b1827!important;
  background-image:linear-gradient(145deg,#681321 0%,#8d2031 100%)!important;
}
html body.page-public .site-footer :is(p,a,button,summary,h3,.footer-bottom){color:#fffaf5!important}

html body.page-public .faq-directory-page{width:100%!important;max-width:none!important;margin:0!important}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head :is(h1,h2){
  width:100%!important;max-width:none!important;margin:0!important;text-align:center!important;white-space:nowrap!important;
}

body.page-public.route-artists #profiles,
body.page-public.route-artists #profiles .artist-directory-workspace,
body.page-public.route-artists #profiles .artist-results-panel,
body.page-public.route-artists #profiles .discovery-v1-provider-grid{
  border:0!important;background:transparent!important;box-shadow:none!important;
}
body.page-public.route-artists #profiles .discovery-v1-provider-grid{padding:0!important}
body.page-public.route-artists .discovery-v1-provider-card__body h3,
body.page-public.route-artists .discovery-v1-provider-card__body>strong,
body.page-public.route-artists .discovery-v1-provider-card__body>p{
  min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
}
body.page-public.route-artists .discovery-v1-provider-card__body>.ui-button{font-size:12px!important;white-space:nowrap!important}

.auth-provider-action{display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}
.auth-provider-action svg{display:block;flex:0 0 auto;width:22px;height:22px}
.auth-email-icon{fill:none;stroke:#d11924;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media(max-width:820px){
  html body.page-public .mobile-app-nav{
    min-height:76px!important;padding:5px 4px 8px!important;gap:2px!important;align-items:stretch!important;background:#fff6f1!important;
  }
  html body.page-public .mobile-app-nav-item{
    display:flex!important;min-width:0!important;min-height:62px!important;padding:4px 1px!important;gap:1px!important;
    flex-direction:column!important;align-items:center!important;justify-content:center!important;
    border-radius:17px!important;font-size:11px!important;font-weight:800!important;line-height:1.05!important;text-align:center!important;
  }
  html body.page-public .mobile-app-nav-item.is-active{background:#fde9e6!important}
  html body.page-public .mobile-app-nav-item .mobile-app-icon,
  html body.page-public .mobile-app-nav-item .mobile-app-icon .ui-icon-svg{width:32px!important;height:32px!important;margin:0!important}
  html body.page-public .mobile-app-nav .mobile-app-nav-item .mobile-app-icon svg{width:27px!important;height:27px!important;min-width:27px!important;min-height:27px!important}

  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section,.faq-directory-page){
    width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:6px!important;overflow:hidden!important;
  }
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head :is(h1,h2){
    font-size:clamp(19px,5.4vw,26px)!important;line-height:1.08!important;letter-spacing:-.025em!important;
  }

  body.page-public.route-artists .directory-mobile-filter-toolbar{width:100%!important;padding:6px 8px!important;gap:8px!important}
  body.page-public.route-artists .directory-mobile-filter-toolbar :is(.mobile-filter-toggle,.directory-filter-chip){
    min-height:44px!important;width:max-content!important;max-width:none!important;padding:9px 14px!important;border-radius:15px!important;white-space:nowrap!important;
  }
  body.page-public.route-artists #profiles{padding-inline:8px!important}
  body.page-public.route-artists #profiles .discovery-v1-provider-grid{gap:10px!important}
  body.page-public.route-artists .discovery-v1-provider-card__body{padding:10px!important;gap:3px 5px!important}
  body.page-public.route-artists .discovery-v1-provider-card__body h3{font-size:clamp(12px,3.7vw,15px)!important}
  body.page-public.route-artists .discovery-v1-provider-card__body>strong{font-size:11px!important}
  body.page-public.route-artists .discovery-v1-provider-card__body>p{display:block!important;grid-column:1/-1!important;font-size:10px!important}
  body.page-public.route-artists .discovery-v1-provider-card__body>.ui-button{min-height:34px!important;padding:7px 8px!important;font-size:10px!important}
  body.page-public.route-artists .discovery-v1-provider-card__body>.ui-button::after{content:none!important}

  body.page-public.route-artists .founder-b-directory-prompt{padding:18px!important;gap:12px!important}
  body.page-public.route-artists .founder-b-directory-copy h2{font-size:clamp(17px,4.7vw,22px)!important;line-height:1.15!important;white-space:nowrap!important}
  body.page-public.route-artists .founder-b-directory-copy>p:last-child{
    display:-webkit-box!important;margin-bottom:0!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;
    font-size:13px!important;line-height:1.4!important;
  }
  body.page-public.route-artists .founder-b-directory-prompt .discovery-v1-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.page-public.route-artists .founder-b-directory-prompt .discovery-v1-actions .ui-button{min-width:0!important;padding:9px 5px!important;font-size:12px!important;white-space:nowrap!important}

  #access-google-v340 .register-consent-check{font-size:clamp(11px,3.1vw,13px)!important;white-space:nowrap!important}
  #access-google-v340 .auth-provider-action{gap:9px!important}
}

/* v362 final cascade lock: identical compact cards at every mobile catalog surface. */
@media(max-width:820px){
  html body.route-home .home-app-rail,
  html body.route-home .home-app-design-rail{grid-template-columns:none!important;grid-auto-columns:160px!important}
  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.discovery-v1-provider-grid,.marketplace-card-grid,.gallery-grid){grid-template-columns:repeat(2,minmax(0,160px))!important;gap:10px!important;justify-content:start!important}
  html body.page-public:is(.route-artists,.route-tutors,.route-products,.route-gallery) :is(.discovery-v1-provider-card,.marketplace-result-card){width:100%!important;max-width:160px!important;min-width:0!important}
}

/* v363 owner acceptance lock: compact single-column menu and one mobile FAQ rhythm. */
@media(max-width:980px){
  html body.phase3-app-shell .site-nav{left:16px!important;right:16px!important;grid-template-columns:minmax(0,1fr)!important;gap:3px!important;max-height:calc(100dvh - var(--shell-mobile-header-height) - 28px)!important;padding:10px!important;border-radius:18px!important}
  html body.phase3-app-shell .site-nav .nav-icon-link{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;min-height:44px!important;padding:7px 14px!important;gap:12px!important;justify-items:start!important;align-items:center!important;border-radius:12px!important;font-size:16px!important;line-height:1.15!important;text-align:center!important}
  html body.phase3-app-shell .site-nav .nav-icon-link .nav-link-icon{display:grid!important;width:30px!important;height:30px!important;place-items:center!important}
  html body.phase3-app-shell .site-nav .nav-icon-link .nav-link-icon svg{width:25px!important;height:25px!important}
  html body.phase3-app-shell .site-nav .nav-icon-link>span:last-child{width:100%!important;padding-right:42px!important;text-align:center!important;white-space:nowrap!important}
  html body.phase3-app-shell .site-nav .nav-auth-link{grid-column:auto!important;grid-template-columns:32px minmax(0,1fr)!important;margin-top:4px!important}
}

html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section){box-sizing:border-box!important;width:100vw!important;max-width:none!important;margin-inline:calc(50% - 50vw)!important;padding-inline:clamp(14px,4vw,72px)!important}
html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details>summary{font-weight:500!important}

@media(max-width:820px){
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section){width:100vw!important;margin-inline:calc(50% - 50vw)!important;padding-inline:6px!important}
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head{padding-inline:8px!important}
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section)>.section-head :is(h1,h2){font-size:clamp(18px,5.3vw,25px)!important;line-height:1.1!important;white-space:nowrap!important}
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-groups{padding-inline:0!important}
  html body.page-public :is(.home-faq-section,.discovery-v1-directory-faq,.marketplace-faq-section) .home-faq-group>.faq-list>details>summary{overflow:hidden!important;padding:14px 7px!important;font-size:clamp(11px,3.25vw,14px)!important;font-weight:500!important;line-height:1.25!important;text-overflow:ellipsis!important;white-space:nowrap!important}
}
