/*
 * Pictelvo presentation layer, loaded after the preserved public stylesheet.
 * Canvas pixel dimensions, mapper coordinates and editor touch handlers stay
 * in the preserved rendering code. Responsive rules below size its display.
 */
body.pictelvo-marketplace-page,
body.pictelvo-site-page-shell,
body.pictelvo-home-page,
body.pictelvo-marketplace-page.pictelvo-has-live-accent,
body.pictelvo-marketplace-page.pictelvo-editor-open {
  background: #f8f9f7 !important;
  background-image: none !important;
  color: #102b3a;
}
body.pictelvo-branded-shell { margin: 0 !important; }
body.pictelvo-branded-shell .pictelvo-site-page-wrap { max-width: none; margin: 0; }
.pictelvo-skip-link { position: fixed; z-index: 1000001; top: -100px; left: 16px; padding: 12px 18px; border: 2px solid #006b78; border-radius: 8px; background: #fff; color: #102b3a; font-size: 15px; font-weight: 700; text-decoration: none; }
.pictelvo-skip-link:focus { top: 16px; outline: 3px solid #68d8e4; outline-offset: 2px; }
.pictelvo-app,
.pictelvo-language-gateway,
.pictelvo-site-page-wrap,
.pictelvo-home-page {
  --brand: #102b3a;
  --ink: #102b3a;
  --muted: #526573;
  --line: #dce5e8;
  --market-navy: #102b3a;
  --market-blue: #006b78;
  --market-violet: #006b78;
  --pictelvo-coral: #ff8270;
  --pictelvo-cyan: #68d8e4;
  --pictelvo-link: #006b78;
  --pa-ink: #102b3a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
}
.pictelvo-app a,
.pictelvo-site-page-content a,
.pictelvo-home-page a { text-underline-offset: .2em; }
.pictelvo-app button,
.pictelvo-app input,
.pictelvo-app select,
.pictelvo-language-gateway button { font-family: inherit; }
.pictelvo-app :focus-visible,
.pictelvo-language-gateway :focus-visible,
.pictelvo-site-page-wrap :focus-visible,
.pictelvo-home-page :focus-visible {
  outline: 3px solid #007f91 !important;
  outline-offset: 4px;
}
.pictelvo-brand-mark { display: block; width: 48px; height: 48px; flex: 0 0 auto; object-fit: contain; }
.pictelvo-brand-wordmark { display: block; width: 208px; max-width: 100%; height: auto; }
.pictelvo-brand-lockup { display: inline-flex; align-items: center; gap: 12px; min-width: 0; color: #102b3a; }
.pictelvo-brand-lockup__copy { display: grid; gap: 4px; line-height: 1.15; }
.pictelvo-brand-lockup__copy strong { color: #102b3a; font-size: 24px; font-weight: 800; letter-spacing: -.06em; }
.pictelvo-brand-lockup__copy small { color: #526573; font-size: 11px; font-weight: 600; letter-spacing: .01em; }

/* A calm header and an ivory canvas, instead of the old marketplace shell. */
.pictelvo-app { max-width: 1480px; }
.pictelvo-market-header {
  border-bottom: 1px solid #dce5e8;
  background: #fff !important;
  box-shadow: none;
}
body.pictelvo-marketplace-page.pictelvo-has-live-accent .pictelvo-market-header { background: #fff !important; }
.pictelvo-market-brand { color: #102b3a !important; }
.pictelvo-market-brand__mark,
.pictelvo-language-gateway__mark {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  font-size: 0;
}
.pictelvo-market-brand__mark .pictelvo-brand-mark { width: 44px; height: 44px; }
.pictelvo-market-brand__copy strong { color: #102b3a; letter-spacing: -.06em; }
.pictelvo-market-brand__copy small { color: #526573; letter-spacing: .01em; font-weight: 600; }
.pictelvo-market-benefits > span {
  border: 0;
  border-radius: 5px;
  background: #f2f8f9;
  color: #284c5b;
  font-size: 11px;
  font-weight: 650;
}
.pictelvo-market-benefits > span::before { background: #d7f4f7; color: #00626e; }
.pictelvo-favorites-link { border-color: #dce5e8; background: #fff; color: #102b3a; }
.pictelvo-favorites-link b { background: #102b3a; color: #fff; }
.pictelvo-favorites-link span { color: #a63c36; }
.pictelvo-home { background: transparent !important; }
.pictelvo-homebar {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid #dce5e8;
  border-radius: 16px;
  background: #102b3a;
  box-shadow: none;
}
.pictelvo-homebar::after {
  right: -68px;
  bottom: -90px;
  width: 270px;
  height: 270px;
  border-color: #68d8e4;
  border-radius: 48px;
  transform: rotate(-18deg);
  box-shadow: 0 0 0 24px rgba(104, 216, 228, .045);
}
.pictelvo-homebar .pictelvo-eyebrow { color: #68d8e4; letter-spacing: .13em; font-size: 11px; }
.pictelvo-homebar h2 { color: #fff; letter-spacing: -.045em; line-height: 1.15; }
.pictelvo-homebar__copy > p { color: #d4e3e9; line-height: 1.65; }
.pictelvo-trust-row span { border-color: #3d5969; border-radius: 5px; background: transparent; color: #e6f4f7; font-weight: 600; }
.pictelvo-search-panel { border: 0; border-radius: 12px; background: #fff; box-shadow: 0 8px 24px rgba(2, 19, 31, .12); }
.pictelvo-search-panel > strong { color: #102b3a; font-weight: 750; }
.pictelvo-search-panel > small { color: #526573; }
.pictelvo-search { border-color: #dce5e8; border-radius: 8px; background: #f3f7f8; }
.pictelvo-search input { color: #102b3a; font-size: 16px; }
.pictelvo-search button,
.pictelvo-load-more { border-radius: 7px; background: #102b3a; color: #fff; box-shadow: none; }
.pictelvo-search button:hover,
.pictelvo-load-more:hover { background: #1e4659; box-shadow: none; transform: none; }
.pictelvo-language-nav,
body.pictelvo-marketplace-page .pictelvo-language-nav { border-color: #dce5e8; background: #fff !important; box-shadow: none; }
.pictelvo-language-nav a,
.pictelvo-editor-language-nav a { border-color: #dce5e8; color: #284c5b !important; background: #fff; }
.pictelvo-language-nav a.is-active,
.pictelvo-editor-language-nav a.is-active { border-color: #102b3a; background: #102b3a; color: #fff !important; }
.pictelvo-home-section-head span,
.pictelvo-discovery__head span { color: #006b78; font-weight: 750; letter-spacing: .12em; }
.pictelvo-home-section-head h3,
.pictelvo-discovery__head h3 { color: #102b3a; letter-spacing: -.025em; }
.pictelvo-categories button,
.pictelvo-categories a { border-color: #dce5e8; border-radius: 7px; background: #fff; color: #284c5b !important; box-shadow: none; }
.pictelvo-categories button:hover,
.pictelvo-categories a:hover { border-color: #87bac4; background: #eef8f9; }
.pictelvo-categories button.is-active,
.pictelvo-categories a.is-active { border-color: #102b3a; background: #102b3a; color: #fff !important; box-shadow: none; }
.pictelvo-category-all-trigger { border-color: #87bac4 !important; background: #eef8f9 !important; color: #006b78 !important; }
.pictelvo-category-strip__arrow { border-color: #dce5e8; background: #fff; color: #102b3a; box-shadow: none; }
.pictelvo-category-strip__arrow:hover { border-color: #87bac4; background: #eef8f9; }

/* All cards retain original proportions and original horizontal navigation. */
.pictelvo-template,
.pictelvo-recommend-card,
.pictelvo-home-managed-row > .pictelvo-home-view-all-card,
.pictelvo-editor-view-all-card { border-color: #dce5e8; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(16, 43, 58, .045); }
.pictelvo-template:hover,
.pictelvo-template:focus,
.pictelvo-recommend-card:hover,
.pictelvo-recommend-card:focus { border-color: #87bac4; box-shadow: 0 8px 24px rgba(16, 43, 58, .09); }
.pictelvo-template__preview,
.pictelvo-recommend-card__image { background: #edf2f3; }
.pictelvo-template__badge { border-radius: 4px; background: #102b3a; color: #fff; box-shadow: none; }
.pictelvo-template__category { color: #006b78; font-weight: 750; }
.pictelvo-template__body strong,
.pictelvo-recommend-card__body strong { color: #102b3a; font-weight: 750; }
.pictelvo-template__cta { border-color: #e6edf0; }
.pictelvo-template__cta b { color: #006b78 !important; }
.pictelvo-recommend-card__body > b { border-radius: 6px; background: #102b3a; color: #fff; }
.pictelvo-template-card-actions button,
.pictelvo-template-card-actions a { border-radius: 6px; }
.pictelvo-favorite-button { border-color: #dce5e8 !important; background: #fff !important; color: #a63c36 !important; }
.pictelvo-favorite-button.is-saved { border-color: #ffd1c8 !important; background: #fff0ec !important; color: #a63c36 !important; }
.pictelvo-share-button { border-color: #dce5e8 !important; background: #eef8f9 !important; color: #006b78 !important; }
.pictelvo-home-managed-section,
.pictelvo-home-managed-section:not(.pictelvo-home-managed-section--festival),
.pictelvo-home-managed-section.has-carousel-accent { background: transparent !important; }
.pictelvo-home-managed-section .pictelvo-home-managed-head span,
.pictelvo-home-managed-section:not(.pictelvo-home-managed-section--festival) .pictelvo-home-managed-head span { color: #006b78 !important; text-shadow: none !important; }
.pictelvo-home-managed-section .pictelvo-home-managed-head h3,
.pictelvo-home-managed-section:not(.pictelvo-home-managed-section--festival) .pictelvo-home-managed-head h3 { color: #102b3a !important; text-shadow: none !important; }
.pictelvo-home-managed-section .pictelvo-home-managed-head > a,
.pictelvo-home-managed-section:not(.pictelvo-home-managed-section--festival) .pictelvo-home-managed-head > a { color: #006b78 !important; text-shadow: none !important; }
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival,
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival.has-carousel-accent {
  border-color: #b9e4e8 !important;
  border-radius: 14px;
  background: #eef9fa !important;
  box-shadow: none !important;
}
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-section--religious-festival,
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-section--religious-festival.has-carousel-accent { border-color: #f4c8bd !important; background: #fff3ee !important; box-shadow: none !important; }
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival::before { background: #68d8e4; }
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-section--religious-festival::before { background: #ff8270; }
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head::before { border-color: #b9e4e8; border-radius: 10px; background: #d7f4f7; color: #006b78; box-shadow: none; }
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-head::before { border-color: #f4c8bd; background: #ffe0d6; color: #a63c36; box-shadow: none; }
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head span,
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-head span { color: #006b78 !important; }
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head h3,
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-head h3 { color: #102b3a !important; }
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head > a { border-color: #b9e4e8; background: #fff; color: #006b78 !important; box-shadow: none; }

/* Editor controls change presentation only. Preview layout stays preserved. */
.pictelvo-editor-top strong { color: #102b3a; font-weight: 750; }
.pictelvo-editor-layout { border-color: #dce5e8; border-radius: 16px; background: #fff; box-shadow: none; }
.pictelvo-editor__stage,
.pictelvo-app.is-photo-adjusting .pictelvo-editor__stage { background: #edf2f3 !important; }
.pictelvo-editor__panel { border-color: #dce5e8; border-radius: 12px; background: #fff; box-shadow: none; }
.pictelvo-back { border-color: #dce5e8; border-radius: 7px; background: #fff; color: #102b3a !important; }
.pictelvo-change-design,
.pictelvo-editor-design-nav,
.pictelvo-edit-mode-toggle { background: #102b3a; color: #fff !important; box-shadow: 0 3px 12px rgba(16, 43, 58, .12); }
.pictelvo-upload { border: 1px dashed #87bac4; border-radius: 9px; background: #eef8f9; color: #006b78; }
.pictelvo-control output { color: #006b78; font-weight: 700; }
.pictelvo-control input { accent-color: #006b78; }
.pictelvo-tool-row button { border-color: #dce5e8; border-radius: 7px; background: #fff; color: #102b3a; }
.pictelvo-tool-row .pictelvo-rotate-button { background: #102b3a; color: #fff; }
.pictelvo-actions [data-primary-download],
.pictelvo-actions [data-primary-download][data-action-kind] {
  border: 1px solid #10562d !important;
  border-radius: 8px;
  background: #16713c !important;
  color: #fff !important;
  box-shadow: none !important;
  font-weight: 750;
}
.pictelvo-actions [data-primary-download]:hover { background: #10562d !important; transform: none; }
.pictelvo-actions [data-primary-download]:disabled { background: #557962 !important; cursor: wait; }
.pictelvo-share-buttons a,
.pictelvo-share-buttons button,
.pictelvo-share-buttons button:last-child { border: 1px solid #dce5e8; border-radius: 7px; background: #eef8f9; color: #006b78; }
.pictelvo-favorites-drawer { background: #f8f9f7; }
.pictelvo-favorites-drawer__head span,
.pictelvo-all-categories__head span { color: #006b78; }
.pictelvo-favorites-drawer__head button { background: #102b3a; box-shadow: none; }
.pictelvo-favorite-saved { border-color: #dce5e8; }
.pictelvo-favorite-saved b { color: #006b78; }
.pictelvo-all-categories__dialog { background: #f8f9f7; }
.pictelvo-all-categories__list a { border-color: #dce5e8; color: #102b3a; }
.pictelvo-all-categories__list a:hover { border-color: #87bac4; background: #eef8f9; }
.pictelvo-empty,
.pictelvo-recommend-empty { border-color: #bdcfd5; border-radius: 12px; background: #fff; color: #526573; }
.pictelvo-template-grid.is-loading::after { border-color: #b9e4e8; background: #fff; color: #006b78; }

/* Language/preference selection uses a quiet page, not the old purple gate. */
.pictelvo-language-gateway { border: 1px solid #dce5e8; border-radius: 16px; background: #fff; color: #102b3a; box-shadow: none; }
.pictelvo-language-gateway__glow { background: transparent; filter: none; }
.pictelvo-language-gateway__brand { margin-bottom: 48px; color: #102b3a; }
.pictelvo-language-gateway__brand strong { color: #102b3a; letter-spacing: -.05em; }
.pictelvo-language-gateway__brand small { color: #526573; letter-spacing: .01em; text-transform: none; }
.pictelvo-language-gateway__panel { width: min(760px, 100%); text-align: left; }
.pictelvo-language-gateway__eyebrow { color: #006b78; font-size: 11px; letter-spacing: .13em; }
.pictelvo-language-gateway h1,
.pictelvo-language-gateway__religion h2 { color: #102b3a; line-height: 1.2; }
.pictelvo-language-gateway__step > p { margin-left: 0; color: #526573; line-height: 1.7; }
.pictelvo-language-gateway__choice { border: 1px solid #dce5e8; border-radius: 12px; background: #f8faf9; color: #102b3a; box-shadow: none; }
.pictelvo-language-gateway__choice:hover,
.pictelvo-language-gateway__choice:focus-visible { border-color: #87bac4; background: #eef8f9; color: #102b3a; transform: none; box-shadow: none; }
.pictelvo-language-gateway__letter { border-radius: 9px; background: #d7f4f7; color: #006b78; }
.pictelvo-language-gateway__choice-copy strong { color: #102b3a; }
.pictelvo-language-gateway__choice-copy small { color: #526573; }
.pictelvo-language-gateway__arrow { color: #006b78; }
.pictelvo-language-gateway__note { color: #526573; }
.pictelvo-language-gateway__back { border-color: #dce5e8; border-radius: 7px; background: #eef8f9; color: #006b78; box-shadow: none; }
.pictelvo-language-gateway__progress { border-radius: 6px; background: #eef8f9; color: #006b78; }

/* Replace the orbit/P loading identity with a frame and three small beats. */
.pictelvo-app-loader { background: #102b3a; }
.pictelvo-app-loader__brand { padding: 24px; min-width: 240px; }
.pictelvo-app-loader__orbit { display: none; }
.pictelvo-app-loader__mark,
img.pictelvo-brand-mark.pictelvo-app-loader__mark { width: 76px; height: 76px; background: transparent; color: transparent; border-radius: 0; box-shadow: none; animation: none; }
.pictelvo-app-loader__brand strong { margin-top: 18px; color: #fff; font-size: 30px; font-weight: 750; letter-spacing: -.05em; }
.pictelvo-app-loader__brand small { margin-top: 8px; max-width: 270px; color: #d4e3e9; font-size: 12px; font-weight: 500; letter-spacing: .01em; text-transform: none; line-height: 1.5; }
.pictelvo-brand-loader__dots { display: flex; gap: 8px; margin-top: 24px; }
.pictelvo-brand-loader__dots i { display: block; width: 7px; height: 7px; border-radius: 2px; background: #68d8e4; animation: pictelvo-brand-beat 1.25s ease-in-out infinite; }
.pictelvo-brand-loader__dots i:nth-child(2) { animation-delay: .14s; background: #ff8270; }
.pictelvo-brand-loader__dots i:nth-child(3) { animation-delay: .28s; }
@keyframes pictelvo-brand-beat { 0%, 100% { opacity: .4; transform: translateY(0); } 45% { opacity: 1; transform: translateY(-5px); } }
.pictelvo-media-loader { background: #edf2f3; }
.pictelvo-media-loader b { border-color: #b9e4e8; border-top-color: #006b78; }
.pictelvo-image-download-activity { background: rgba(16, 43, 58, .66); }
.pictelvo-preview-download-activity,
.pictelvo-preview-download-activity.is-complete { background: rgba(16, 43, 58, .66); }
.pictelvo-preview-download-activity__spinner { border-top-color: #68d8e4; box-shadow: none; }
.pictelvo-preview-download-activity__check { background: #006b78; box-shadow: 0 0 0 7px rgba(104, 216, 228, .18); }
.pictelvo-download-inline-status .pictelvo-cta-spinner { color: #006b78; border-color: #b9e4e8; border-top-color: #006b78; }
.pictelvo-image-download-activity__spinner,
.pictelvo-cta-spinner { border-top-color: #68d8e4; }
.pictelvo-video-preparation__icon { border-color: #b9e4e8; border-top-color: #006b78; }
.pictelvo-video-preparation__track { background: #dceff1; }
.pictelvo-video-preparation__track i { background: #006b78; }

/* Public information pages share the same identity and readable measure. */
.pictelvo-site-page-wrap { max-width: 1220px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pictelvo-site-page-header { border-bottom: 1px solid #dce5e8; background: #fff; }
.pictelvo-site-page-header .pictelvo-account__brand { color: #102b3a; }
.pictelvo-site-page-header .pictelvo-account__brand > span { background: transparent; box-shadow: none; }
.pictelvo-site-page-header .pictelvo-account__templates { border-radius: 7px; background: #102b3a; color: #fff; box-shadow: none; }
.pictelvo-site-page-main::before { background: none; }
.pictelvo-site-page-card { border-color: #dce5e8; border-radius: 12px; box-shadow: none; }
.pictelvo-site-page-kicker { color: #006b78; letter-spacing: .13em; font-size: 11px; }
.pictelvo-site-page-card h1 { color: #102b3a; line-height: 1.2; letter-spacing: -.035em; }
.pictelvo-site-page-content { color: #385160; line-height: 1.8; overflow-wrap: anywhere; }
.pictelvo-site-page-content h2,
.pictelvo-site-page-content h3 { color: #102b3a; }
.pictelvo-site-page-content a { color: #006b78; }
.pictelvo-site-page-content ul,
.pictelvo-site-page-content ol { margin: 0 0 22px 1.3em; padding: 0; }
.pictelvo-site-page-content li { margin: 8px 0; }
.pictelvo-site-page-content table { display: block; max-width: 100%; overflow-x: auto; border-color: #dce5e8; }
.pictelvo-site-page-content th { background: #eef8f9; color: #102b3a; }
.pictelvo-site-page-content blockquote { margin: 22px 0; padding: 18px 22px; border-left: 3px solid #68d8e4; background: #eef8f9; }
.pictelvo-market-footer,
.pictelvo-site-page-footer,
.pictelvo-home-shell-footer { background: #102b3a; color: #fff; box-shadow: none; }
.pictelvo-market-footer .pictelvo-brand-lockup__copy strong,
.pictelvo-site-page-footer .pictelvo-brand-lockup__copy strong { color: #fff; }
.pictelvo-market-footer .pictelvo-brand-lockup__copy small,
.pictelvo-site-page-footer .pictelvo-brand-lockup__copy small { color: #ccdde5; }
.pictelvo-market-footer__brand,
.pictelvo-site-page-footer__brand { white-space: normal; }
.pictelvo-market-footer span,
.pictelvo-market-footer small,
.pictelvo-site-page-footer__brand span,
.pictelvo-site-page-footer small { color: #ccdde5; }
.pictelvo-market-footer__links a,
.pictelvo-site-page-footer__links a { display: inline-flex; align-items: center; min-height: 32px; color: #e1f5f7; }
.pictelvo-market-footer__links a:hover,
.pictelvo-site-page-footer__links a:hover { color: #68d8e4; }

/* New root Home: an editorial landing surface, rather than a theme blog. */
.pictelvo-home-page { margin: 0; }
.pictelvo-home-page * { box-sizing: border-box; }
.pictelvo-home-shell-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px max(20px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid #dce5e8; background: #fff; }
.pictelvo-home-shell-header > a { color: #102b3a; text-decoration: none; }
.pictelvo-home-shell-header nav { display: flex; align-items: center; gap: 22px; }
.pictelvo-home-shell-header nav a { color: #385160; font-size: 13px; font-weight: 650; text-decoration: none; }
.pictelvo-home-shell-header nav a:hover { color: #006b78; text-decoration: underline; }
.pictelvo-home-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(30px, 5vw, 80px); max-width: 1240px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 24px 58px; }
.pictelvo-home-hero__copy { min-width: 0; }
.pictelvo-home-hero__eyebrow,
.pictelvo-home-section-kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: #006b78; font-size: 11px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.pictelvo-home-hero__eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: #c33c2d; }
.pictelvo-home-hero__title { margin: 0 0 24px; max-width: 760px; color: #102b3a; font-size: clamp(38px, 5.2vw, 72px); font-weight: 750; line-height: 1.12; letter-spacing: -.045em; }
.pictelvo-home-hero__title em { color: #006b78; font-style: normal; }
.pictelvo-home-hero__lead { margin: 0; max-width: 600px; color: #526573; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.75; }
.pictelvo-home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.pictelvo-home-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 13px 20px; border: 1px solid #102b3a; border-radius: 8px; background: #102b3a; color: #fff !important; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.pictelvo-home-button:hover { background: #1e4659; color: #fff; }
.pictelvo-home-button--secondary { border-color: #bdcfd5; background: #fff; color: #102b3a !important; }
.pictelvo-home-button--secondary:hover { background: #eef8f9; color: #102b3a; }
.pictelvo-home-pill { display: inline-block; margin: 20px 8px 0 0; color: #526573; font-size: 12px; font-weight: 600; line-height: 1.5; }
.pictelvo-home-pill::before { content: "✓"; margin-right: 6px; color: #006b78; }
.pictelvo-home-pills { display: flex; flex-wrap: wrap; gap: 0 8px; }
.pictelvo-home-hero__art { position: relative; min-height: 390px; padding: 42px 24px; display: grid; place-items: center; border: 1px solid #dce5e8; border-radius: 24px; background: #eef8f9; overflow: hidden; isolation: isolate; }
.pictelvo-home-hero__art::before { content: ""; position: absolute; z-index: -1; width: 250px; height: 250px; border: 1px solid #a8dde3; border-radius: 24px; transform: rotate(21deg); }
.pictelvo-home-hero__art::after { content: ""; position: absolute; z-index: -1; right: -36px; bottom: -36px; width: 170px; height: 170px; border-radius: 50%; background: #ffe1d9; }
.pictelvo-home-art-card { position: relative; display: grid; place-items: center; gap: 18px; width: min(230px, 68%); min-height: 272px; padding: 24px; border: 8px solid #fff; border-radius: 14px; background: #102b3a; color: #fff; text-align: center; box-shadow: 0 18px 30px rgba(16, 43, 58, .12); transform: rotate(-7deg); }
.pictelvo-home-art-card .pictelvo-brand-mark { width: 96px; height: 96px; }
.pictelvo-home-art-card strong { max-width: 150px; font-size: 26px; line-height: 1.25; font-weight: 750; }
.pictelvo-home-art-card small { color: #c5e9ef; font-size: 11px; }
.pictelvo-home-art-chip { position: absolute; z-index: 1; right: 18px; bottom: 30px; padding: 11px 14px; border: 1px solid #f4c8bd; border-radius: 8px; background: #fff3ee; color: #9d342a; font-size: 12px; font-weight: 650; box-shadow: 0 4px 12px rgba(16, 43, 58, .04); }
.pictelvo-home-art-card--back { position: absolute; z-index: -1; top: 48px; left: calc(50% - 84px); align-content: start; padding-top: 26px; background: #102b3a; transform: rotate(15deg); }
.pictelvo-home-art-card--back > span { max-width: 160px; color: #d4eef2; font-size: 21px; font-weight: 700; line-height: 1.3; }
.pictelvo-home-art-card--back > i { color: #ff8270; font-size: 80px; font-style: normal; line-height: 1; }
.pictelvo-home-art-card--front { z-index: 1; align-content: center; min-height: 282px; gap: 15px; background: #fff3ee; color: #102b3a; transform: rotate(-8deg) translateX(-26px); }
.pictelvo-home-art-card--front strong { max-width: none; color: #102b3a; font-size: 23px; }
.pictelvo-home-art-photo { display: grid; place-items: center; width: 125px; height: 125px; border: 1px dashed #bdcfd5; border-radius: 50%; background: #fff; color: #8a4c43; font-size: 21px; font-weight: 650; line-height: 1.2; }
.pictelvo-home-art-sticker { position: absolute; z-index: 2; right: 14px; bottom: 36px; padding: 12px 16px; border: 2px solid #fff; border-radius: 7px; background: #68d8e4; color: #102b3a; font-size: 11px; font-weight: 750; letter-spacing: .07em; transform: rotate(7deg); }
.pictelvo-home-section-heading { margin-bottom: 26px; max-width: 760px; }
.pictelvo-home-section-heading .pictelvo-home-hero__eyebrow { margin-bottom: 12px; }
.pictelvo-home-section-heading h2 { margin: 0 0 12px; color: #102b3a; font-size: clamp(28px, 3.2vw, 42px); font-weight: 750; line-height: 1.2; letter-spacing: -.035em; }
.pictelvo-home-section-heading p { margin: 0; color: #526573; font-size: 16px; line-height: 1.7; }
.pictelvo-home-languages { max-width: 1240px; margin: 0 auto; padding: 0 24px 52px; scroll-margin-top: 24px; }
.pictelvo-home-language-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pictelvo-home-language { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 22px; border: 1px solid #dce5e8; border-radius: 12px; background: #fff; color: #102b3a !important; text-decoration: none; transition: border-color .18s ease; }
.pictelvo-home-language:hover { border-color: #87bac4; background: #f3fafb; }
.pictelvo-home-language strong { display: block; font-size: 20px; font-weight: 700; line-height: 1.5; }
.pictelvo-home-language small { display: block; margin-top: 5px; color: #526573; font-size: 12px; line-height: 1.5; }
.pictelvo-home-language > span:last-child { color: #006b78; font-size: 24px; }
.pictelvo-home-language > div { min-width: 0; flex: 1; }
.pictelvo-home-language__letter { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 48px; border-radius: 9px; background: #d7f4f7; color: #006b78; font-size: 18px; font-weight: 700; }
.pictelvo-home-language h3 { margin: 0 0 5px; color: #102b3a; font-size: 21px; font-weight: 700; line-height: 1.5; }
.pictelvo-home-language p { margin: 0; color: #526573; font-size: 13px; line-height: 1.65; }
.pictelvo-home-flow { max-width: 1192px; margin: 0 auto 52px; padding: 34px 0; border-top: 1px solid #dce5e8; border-bottom: 1px solid #dce5e8; background: transparent; scroll-margin-top: 24px; }
.pictelvo-home-flow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.pictelvo-home-step { min-width: 0; }
.pictelvo-home-step > span { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-bottom: 12px; border-radius: 8px; background: #d7f4f7; color: #006b78; font-size: 12px; font-weight: 750; }
.pictelvo-home-step h2,
.pictelvo-home-step h3 { margin: 0 0 10px; color: #102b3a; font-size: 20px; font-weight: 700; line-height: 1.4; }
.pictelvo-home-step p { margin: 0; color: #526573; font-size: 14px; line-height: 1.75; }
.pictelvo-home-note { display: flex; align-items: flex-start; gap: 18px; max-width: 1192px; margin: 0 auto 48px; padding: 20px 24px; border: 1px solid #dce5e8; border-left: 3px solid #68d8e4; border-radius: 8px; background: #fff; color: #385160; font-size: 14px; line-height: 1.7; }
.pictelvo-home-note > span { color: #006b78; font-size: 30px; line-height: 1.2; }
.pictelvo-home-note h2 { margin: 0 0 6px; color: #102b3a; font-size: 19px; font-weight: 700; line-height: 1.4; }
.pictelvo-home-note p { margin: 0; }
.pictelvo-home-note strong { color: #102b3a; }
.pictelvo-home-shell-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: 32px max(24px, calc((100vw - 1192px) / 2)); }
.pictelvo-home-shell-footer .pictelvo-brand-lockup__copy strong { color: #fff; }
.pictelvo-home-shell-footer .pictelvo-brand-lockup__copy small { color: #ccdde5; }
.pictelvo-home-shell-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; max-width: 640px; }
.pictelvo-home-shell-footer nav a { display: inline-flex; align-items: center; min-height: 36px; color: #e1f5f7; font-size: 13px; text-decoration: none; }
.pictelvo-home-shell-footer nav a:hover { color: #68d8e4; text-decoration: underline; }
.pictelvo-home-shell-footer > small { grid-column: 1 / -1; color: #ccdde5; font-size: 12px; line-height: 1.5; }

@media (max-width: 820px) {
  .pictelvo-homebar { padding: 26px; border-radius: 14px; }
  .pictelvo-homebar h2 { font-size: clamp(34px, 7vw, 48px); }
  .pictelvo-homebar__copy > p { font-size: 16px; }
  .pictelvo-brand-lockup__copy strong { font-size: 22px; }
  .pictelvo-home-shell-header { padding: 16px 20px; }
  .pictelvo-home-shell-header nav { gap: 14px; }
  .pictelvo-home-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 20px 30px; }
  .pictelvo-home-hero__title { max-width: 640px; font-size: clamp(38px, 7vw, 56px); }
  .pictelvo-home-hero__art { min-height: 320px; padding: 32px 20px; max-width: 540px; width: 100%; margin: 0 auto; }
  .pictelvo-home-art-card { min-height: 228px; width: 210px; }
  .pictelvo-home-art-card .pictelvo-brand-mark { width: 72px; height: 72px; }
  .pictelvo-home-art-card strong { font-size: 23px; }
  .pictelvo-home-languages { padding: 0 20px 32px; }
  .pictelvo-home-language-grid { grid-template-columns: 1fr; gap: 10px; }
  .pictelvo-home-language { padding: 18px 20px; }
  .pictelvo-home-flow { margin: 0 20px 32px; padding: 24px 0; }
  .pictelvo-home-flow-grid { grid-template-columns: 1fr; gap: 24px; }
  .pictelvo-home-art-card--front { min-height: 250px; }
  .pictelvo-home-art-photo { width: 106px; height: 106px; font-size: 18px; }
  .pictelvo-home-art-card--back { top: 36px; left: calc(50% - 74px); }
  .pictelvo-language-gateway__brand { margin-bottom: 34px; }
  .pictelvo-language-gateway__religion h2 { margin-left: 0; }
  .pictelvo-home-note { margin: 0 20px 32px; padding: 18px; }
  .pictelvo-home-shell-footer { grid-template-columns: 1fr; padding: 28px 20px; gap: 18px; }
  .pictelvo-home-shell-footer nav { justify-content: flex-start; }
  .pictelvo-home-shell-footer > small { grid-column: auto; }
}
@media (max-width: 520px) {
  .pictelvo-homebar { padding: 22px 18px; }
  .pictelvo-homebar h2 { font-size: 34px; }
  .pictelvo-search-panel { border-radius: 9px; padding: 16px; }
  .pictelvo-trust-row span { font-size: 10px; }
  .pictelvo-brand-lockup { gap: 10px; }
  .pictelvo-brand-lockup > .pictelvo-brand-mark { width: 40px; height: 40px; }
  .pictelvo-brand-lockup__copy strong { font-size: 21px; }
  .pictelvo-brand-lockup__copy small { font-size: 10px; }
  .pictelvo-home-shell-header { flex-wrap: wrap; gap: 16px; }
  .pictelvo-home-shell-header nav { flex-wrap: wrap; }
  .pictelvo-home-hero__title { font-size: clamp(34px, 9vw, 43px); }
  .pictelvo-home-hero__actions { gap: 10px; }
  .pictelvo-home-button { min-height: 48px; padding: 12px 17px; }
  .pictelvo-site-page-card h1 { font-size: 32px; line-height: 1.25; }
  .pictelvo-home-art-chip { right: 12px; bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .pictelvo-app *,
  .pictelvo-language-gateway *,
  .pictelvo-home-page * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pictelvo-brand-loader__dots i { opacity: 1; transform: none; }
  .pictelvo-template:hover,
  .pictelvo-recommend-card:hover,
  .pictelvo-template.is-carousel-active,
  .pictelvo-recommend-card.is-carousel-active { transform: none !important; }
}
@media (forced-colors: active) {
  .pictelvo-home-button,
  .pictelvo-home-language,
  .pictelvo-actions [data-primary-download] { border: 1px solid ButtonText !important; }
  .pictelvo-brand-loader__dots i { background: CanvasText; }
}

/* F7: compact working collections. Canvas dimensions, preview ratios,
 * mapper geometry and carousel widths stay in the preserved stylesheet.
 * Only real portrait cards receive the action layout class from public.js. */
.pictelvo-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.pictelvo-market-header { min-height: 62px; padding-top: 10px; padding-bottom: 10px; }
.pictelvo-market-header__top { width: 100%; }
.pictelvo-market-brand { gap: 9px; }
.pictelvo-market-brand__mark,
.pictelvo-market-brand__mark .pictelvo-brand-mark { width: 34px; height: 34px; }
.pictelvo-market-brand__copy strong { font-size: 21px; font-weight: 800; }
.pictelvo-market-brand__copy small { margin-top: 4px; font-size: 10px; }
.pictelvo-market-header .pictelvo-favorites-link--header { display: inline-flex; min-height: 40px; margin-left: auto; padding: 7px 11px; border-radius: 8px; }
.pictelvo-home { padding-top: 12px; }
.pictelvo-collection-intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 16px; padding: 1px 0 10px; margin: 0; }
.pictelvo-collection-intro h1 { margin: 0; color: #102b3a; font-size: 23px; font-weight: 750; line-height: 1.5; letter-spacing: -.025em; }
.pictelvo-collection-intro:lang(ta) h1,
.pictelvo-collection-intro:lang(hi) h1 { font-size: 21px; line-height: 1.6; letter-spacing: 0; }
.pictelvo-collection-intro__note { margin: 0; color: #526573; font-size: 12px; line-height: 1.6; }
.pictelvo-home .pictelvo-homebar { display: grid; grid-template-columns: minmax(0, .8fr) minmax(280px, 1.2fr); align-items: center; gap: 9px 22px; min-height: 0; padding: 12px 16px; border: 1px solid #dce5e8; border-left: 3px solid #006b78; border-radius: 6px; background: #fff; box-shadow: none; overflow: visible; }
.pictelvo-home .pictelvo-homebar::after { content: none; }
.pictelvo-home .pictelvo-homebar__copy { max-width: none; }
.pictelvo-home .pictelvo-homebar h2 { margin: 0; color: #102b3a; font-size: 18px; line-height: 1.5; letter-spacing: -.015em; }
.pictelvo-home .pictelvo-homebar__copy > p { margin: 3px 0 0; color: #526573; font-size: 12px; line-height: 1.6; }
.pictelvo-home .pictelvo-homebar__copy > p:empty { display: none; }
.pictelvo-home .pictelvo-search-panel { width: 100%; align-self: center; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pictelvo-home .pictelvo-search { width: 100%; margin-top: 0; padding: 0; border: 1px solid #a9cbd2; border-radius: 6px; background: #f7fafb; overflow: hidden; }
.pictelvo-home .pictelvo-search input { min-width: 0; min-height: 42px; padding: 9px 11px; font-size: 16px; line-height: 1.4; }
.pictelvo-home .pictelvo-search button { min-height: 42px; padding: 8px 15px; border: 0; border-radius: 0; background: #102b3a; color: #fff; font-size: 12px; line-height: 1.4; }
.pictelvo-home .pictelvo-language-nav { gap: 6px; margin: 10px 0 8px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.pictelvo-home .pictelvo-language-nav a { min-width: 0; min-height: 40px; padding: 8px 17px; border: 1px solid #b4cbd2; border-radius: 5px; color: #284c5b !important; background: #fff; font-size: 12px; font-weight: 700; line-height: 1.6; opacity: 1; cursor: pointer; }
.pictelvo-home .pictelvo-language-nav a:hover { border-color: #006b78; background: #e8f5f7; }
.pictelvo-home .pictelvo-language-nav a.is-active { border-color: #006b78; background: #006b78; color: #fff !important; box-shadow: none; }
.pictelvo-home .pictelvo-category-strip { padding-bottom: 7px; border-bottom: 1px solid #dce5e8; }
.pictelvo-home .pictelvo-categories { gap: 6px; }
.pictelvo-home .pictelvo-categories a,
.pictelvo-home .pictelvo-categories button { min-height: 38px; padding: 8px 12px; border-radius: 5px; font-size: 12px; line-height: 1.6; }
.pictelvo-category-strip__arrow { border-radius: 5px; box-shadow: none; }
.pictelvo-home .pictelvo-home-section-head { margin: 16px 0 7px; align-items: center; }
.pictelvo-home .pictelvo-home-section-head span { font-size: 9px; letter-spacing: .08em; }
.pictelvo-home .pictelvo-home-section-head h3 { margin-top: 2px; font-size: 20px; line-height: 1.5; }
.pictelvo-home .pictelvo-home-managed-sections { gap: 20px; margin-top: 16px; }
.pictelvo-home .pictelvo-home-managed-section { padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.pictelvo-home .pictelvo-home-managed-section--festival { padding: 12px; border: 1px solid #b9e4e8 !important; border-radius: 6px; }
.pictelvo-home .pictelvo-home-managed-head { margin-bottom: 8px; padding-left: 11px; border-left: 3px solid #006b78; }
.pictelvo-home .pictelvo-home-managed-head > div > span { color: #526573 !important; font-size: 9px; font-weight: 650; letter-spacing: .08em; }
.pictelvo-home .pictelvo-home-managed-head h3 { margin-top: 2px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; letter-spacing: -.025em; }
.pictelvo-home .pictelvo-home-managed-head > a { padding: 8px 0 8px 10px; border: 0; border-radius: 0; background: transparent; font-size: 12px; }

/* A paper design shelf is shared by collection, related and trending cards.
 * Preview fitting and layer placement are deliberately left untouched. */
.pictelvo-app .pictelvo-template,
.pictelvo-app .pictelvo-recommend-card { border: 1px solid #d3e0e4; border-radius: 6px; background: #fff; box-shadow: none; }
.pictelvo-app .pictelvo-template:hover,
.pictelvo-app .pictelvo-template:focus,
.pictelvo-app .pictelvo-recommend-card:hover,
.pictelvo-app .pictelvo-recommend-card:focus,
.pictelvo-app .pictelvo-template.is-carousel-active,
.pictelvo-app .pictelvo-recommend-card.is-carousel-active { border-color: #006b78; box-shadow: 0 0 0 1px #006b78; transform: none; }
.pictelvo-app .pictelvo-template__preview,
.pictelvo-app .pictelvo-recommend-card__image { background: #ecf2f3; }
.pictelvo-app .pictelvo-template__body,
.pictelvo-app .pictelvo-recommend-card__body { border-top: 2px solid #68d8e4; background: #fbfcfa; }
.pictelvo-app .pictelvo-template__body strong,
.pictelvo-app .pictelvo-recommend-card__body strong { color: #102b3a; font-weight: 700; letter-spacing: -.015em; }
.pictelvo-app .pictelvo-template__category { color: #526573; font-weight: 600; text-transform: none; letter-spacing: 0; }
.pictelvo-app .pictelvo-template__badge { border-radius: 3px; background: #102b3a; color: #fff; }
.pictelvo-app .pictelvo-template__cta { border-color: #dce5e8; }
.pictelvo-app .pictelvo-template__cta b { color: #006b78 !important; }
.pictelvo-app .pictelvo-recommend-card__body > b { border: 0; border-radius: 3px; background: #e8f5f7; color: #005d68; }
.pictelvo-app .is-portrait-template .pictelvo-template-card-actions,
.pictelvo-app .pictelvo-recommend-row[data-related-templates] .is-portrait-template .pictelvo-template-card-actions,
.pictelvo-app .pictelvo-recommend-row[data-trending-templates] .is-portrait-template .pictelvo-template-card-actions { grid-template-columns: minmax(0, 1fr); }
.pictelvo-app .pictelvo-template-grid > .is-portrait-template,
.pictelvo-app .pictelvo-home-managed-row > .is-portrait-template,
.pictelvo-app .pictelvo-recommend-row > .is-portrait-template { height: 477px; }
.pictelvo-app .pictelvo-template-card-actions .pictelvo-favorite-button { border-color: #b4cbd2 !important; border-radius: 4px; background: #fff !important; color: #284c5b !important; box-shadow: none !important; }
.pictelvo-app .pictelvo-template-card-actions .pictelvo-favorite-button.is-active { border-color: #a63c36 !important; background: #fff3ee !important; color: #a63c36 !important; }
.pictelvo-app .pictelvo-template-card-actions .pictelvo-share-button { border-color: #006b78 !important; border-radius: 4px; background: #e8f5f7 !important; color: #005d68 !important; box-shadow: none !important; }
.pictelvo-app .pictelvo-template-card-actions button:hover { outline: 1px solid #006b78; outline-offset: -1px; }

/* A separate control desk gives the editor its own Pictelvo presentation.
 * Stage sizing, touch gestures, canvas stack and every existing control stay. */
.pictelvo-editor-top { padding-bottom: 10px; border-bottom: 1px solid #dce5e8; }
.pictelvo-editor-layout { border: 1px solid #cbdde2; border-radius: 8px; background: #ecf2f3; box-shadow: none; }
.pictelvo-editor__stage,
.pictelvo-app.is-photo-adjusting .pictelvo-editor__stage { border-radius: 4px; background-color: #e6edf0 !important; background-image: linear-gradient(45deg, #dde7eb 25%, transparent 25%), linear-gradient(-45deg, #dde7eb 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #dde7eb 75%), linear-gradient(-45deg, transparent 75%, #dde7eb 75%) !important; background-size: 18px 18px; background-position: 0 0, 0 9px, 9px -9px, -9px 0; }
.pictelvo-editor__panel { border: 1px solid #cfdee3; border-top: 3px solid #006b78; border-radius: 6px; background: #fff; box-shadow: none; }
.pictelvo-editor-tools-title { margin: 0 0 12px; color: #102b3a; font-size: 20px; line-height: 1.5; font-weight: 750; letter-spacing: -.025em; }
.pictelvo-upload { border: 1px solid #8bb9c2; border-radius: 5px; background: #e8f5f7; color: #005d68; }
.pictelvo-control { padding: 11px 0; border-bottom: 1px solid #e6edf0; }
.pictelvo-control > div strong { color: #385160; font-size: 12px; font-weight: 650; }
.pictelvo-control output { border-radius: 3px; background: #e8f5f7; color: #005d68; }
.pictelvo-tool-row button { border-color: #bfd3db; border-radius: 4px; background: #f7fafb; color: #284c5b; box-shadow: none; }
.pictelvo-tool-row .pictelvo-rotate-button { border-color: #006b78; background: #e8f5f7; color: #005d68; }
.pictelvo-change-design,
.pictelvo-editor-design-nav,
.pictelvo-edit-mode-toggle { border-radius: 5px; background: #102b3a; color: #fff !important; box-shadow: none; }
.pictelvo-discovery { gap: 22px; border-top: 1px solid #cbdde2; }
.pictelvo-discovery__head { margin-bottom: 10px; padding-left: 12px; border-left: 3px solid #006b78; }
.pictelvo-discovery__head span { color: #526573; font-size: 9px; font-weight: 650; letter-spacing: .08em; }
.pictelvo-discovery__head h3 { margin-top: 3px; color: #102b3a; font-size: 22px; line-height: 1.45; font-weight: 750; }

/* Direct template URLs are a document editor, with visible page navigation.
 * The same canvas/controls remain available in the collection interaction. */
body.pictelvo-marketplace-page.pictelvo-document-editor { overflow-y: auto !important; }
.pictelvo-template-page .pictelvo-editor { position: relative !important; inset: auto !important; width: 100%; max-width: none; margin: 16px 0 0; background: transparent; box-shadow: none; }
body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-template-page .pictelvo-editor-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.pictelvo-template-page .pictelvo-editor-top strong { flex: 1; min-width: 0; color: #102b3a; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.pictelvo-template-page .pictelvo-back { flex: 0 0 auto; min-height: 40px; padding: 8px 12px; border-radius: 5px; font-size: 12px; }

/* Footer links wrap at their own width rather than occupying stretched grid
 * tracks. Keep adequate targets while removing the old large row/column gaps. */
.pictelvo-site-page-footer.pictelvo-home-shell-footer,
.pictelvo-market-footer { display: grid; grid-template-columns: minmax(190px, .6fr) minmax(0, 1.4fr); align-items: start; gap: 14px 28px; padding: 24px max(22px, calc((100vw - 1192px) / 2)); text-align: left; }
.pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__brand,
.pictelvo-market-footer .pictelvo-market-footer__brand { display: flex; justify-content: flex-start; align-items: flex-start; min-width: 0; white-space: normal; }
.pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links,
.pictelvo-market-footer .pictelvo-market-footer__links { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: flex-start; gap: 2px 18px; width: 100%; max-width: none; min-width: 0; margin: 0; text-align: left; }
.pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links a,
.pictelvo-market-footer .pictelvo-market-footer__links a { display: inline-flex; align-items: center; justify-content: flex-start; min-height: 32px; padding: 4px 0; color: #e1f5f7; font-size: 13px; line-height: 1.6; text-align: left; white-space: normal; overflow-wrap: anywhere; text-decoration: none; }
.pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links a:hover,
.pictelvo-market-footer .pictelvo-market-footer__links a:hover { color: #68d8e4; text-decoration: underline; }
.pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links a:focus-visible,
.pictelvo-market-footer .pictelvo-market-footer__links a:focus-visible { outline: 2px solid #68d8e4; outline-offset: 3px; }
.pictelvo-site-page-footer.pictelvo-home-shell-footer > small,
.pictelvo-market-footer > small { grid-column: 1 / -1; padding-top: 12px; border-top: 1px solid #385563; margin: 0; color: #ccdde5; font-size: 12px; line-height: 1.6; text-align: left; white-space: normal; }

@media (max-width: 820px) {
  .pictelvo-home { padding-top: 10px; }
  .pictelvo-collection-intro { gap: 2px 12px; padding-bottom: 9px; }
  .pictelvo-collection-intro h1 { font-size: 21px; }
  .pictelvo-collection-intro:lang(ta) h1,
  .pictelvo-collection-intro:lang(hi) h1 { font-size: 19px; }
  .pictelvo-collection-intro__note { font-size: 11px; }
  .pictelvo-home .pictelvo-homebar { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 10px 12px; }
  .pictelvo-home .pictelvo-homebar h2 { font-size: 16px; }
  .pictelvo-home .pictelvo-language-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 0; }
  .pictelvo-home .pictelvo-language-nav a { min-height: 38px; padding: 7px 5px; font-size: 12px; }
  .pictelvo-home .pictelvo-home-managed-head h3 { font-size: 19px; }
  .pictelvo-discovery__head h3 { font-size: 20px; }
  .pictelvo-app .pictelvo-template-grid > .is-portrait-template,
  .pictelvo-app .pictelvo-home-managed-row > .is-portrait-template,
  .pictelvo-app .pictelvo-recommend-row > .is-portrait-template { height: 407px; }
  .pictelvo-site-page-footer.pictelvo-home-shell-footer,
  .pictelvo-market-footer { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 22px; }
  .pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links a,
  .pictelvo-market-footer .pictelvo-market-footer__links a { min-height: 40px; }
}
@media (max-width: 520px) {
  .pictelvo-market-header { min-height: 58px; padding: 9px 12px; }
  .pictelvo-market-brand__copy strong { font-size: 20px; }
  .pictelvo-collection-intro { display: block; }
  .pictelvo-collection-intro__note { margin-top: 1px; }
  .pictelvo-home .pictelvo-homebar { padding: 9px 10px; }
  .pictelvo-home .pictelvo-language-nav { margin-top: 8px; margin-bottom: 6px; }
  .pictelvo-home .pictelvo-category-strip { padding-bottom: 5px; }
  .pictelvo-home .pictelvo-categories a,
  .pictelvo-home .pictelvo-categories button { padding: 7px 10px; font-size: 11px; }
  .pictelvo-home .pictelvo-home-managed-sections { gap: 17px; margin-top: 13px; }
  .pictelvo-home .pictelvo-home-section-head { margin-top: 13px; }
  .pictelvo-home .pictelvo-home-section-head h3 { font-size: 18px; }
  .pictelvo-editor-tools-title { font-size: 19px; }
  .pictelvo-site-page-footer.pictelvo-home-shell-footer,
  .pictelvo-market-footer { padding: 20px 16px; }
  .pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links,
  .pictelvo-market-footer .pictelvo-market-footer__links { gap: 1px 16px; }
  .pictelvo-site-page-footer.pictelvo-home-shell-footer .pictelvo-site-page-footer__links a,
  .pictelvo-market-footer .pictelvo-market-footer__links a { min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .pictelvo-app .pictelvo-template,
  .pictelvo-app .pictelvo-recommend-card { transition: none; }
}
@media (forced-colors: active) {
  .pictelvo-home .pictelvo-search,
  .pictelvo-home .pictelvo-language-nav a,
  .pictelvo-home .pictelvo-homebar,
  .pictelvo-app .pictelvo-template,
  .pictelvo-app .pictelvo-recommend-card,
  .pictelvo-editor__panel { border-color: CanvasText; }
  .pictelvo-editor__stage { background-image: none; }
}

/* F8: shared-photo Status / DP formats, distinct from language navigation. */
.pictelvo-image-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0 0 12px; }
.pictelvo-image-formats[hidden],
.pictelvo-image-save-options[hidden] { display: none !important; }
.pictelvo-image-formats__buttons { display: flex; gap: 7px; }
.pictelvo-image-formats__buttons button[hidden] { display: none !important; }
.pictelvo-image-formats__buttons button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 12px; border: 1px solid #b9cdd4; border-radius: 8px; background: #fff; color: #284c5b; font: inherit; font-size: 13px; line-height: 1.35; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.pictelvo-image-formats__buttons button svg { flex: 0 0 23px; width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.pictelvo-image-formats__buttons button span { display: block; text-align: left; }
.pictelvo-image-formats__buttons button small { display: block; font-size: 10px; font-weight: 550; line-height: 1.4; }
.pictelvo-image-formats__buttons button[aria-pressed="true"] { border-color: #006b78; background: #006b78; color: #fff; }
.pictelvo-image-formats__buttons button:focus-visible,
.pictelvo-image-save-options :is(a, button):focus-visible { outline: 3px solid #c33c2d; outline-offset: 3px; }
.pictelvo-image-formats p { flex: 1 1 180px; margin: 0; color: #526573; font-size: 12px; line-height: 1.55; }
.pictelvo-image-formats [data-image-variant-help][hidden],
.pictelvo-image-formats [data-image-variant-help]:empty { display: none !important; }
.pictelvo-image-save-options:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; margin-top: 7px; }
.pictelvo-image-save-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 7px; min-width: 0; }
.pictelvo-image-save-actions > :is(a, button) { flex: 1 1 110px; min-width: 0; }
.pictelvo-image-save-options :is(a, button) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 7px 10px; border: 1px solid #8bb9c2; border-radius: 7px; background: #e8f5f7; color: #00515c; font: inherit; font-size: 12px; line-height: 1.4; text-align: center; text-decoration: none; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.pictelvo-image-save-options .pictelvo-image-save-share { border-color: #d78c7e; background: #fff0e9; color: #993225; }
.pictelvo-image-save-options .pictelvo-image-save-icon,
.pictelvo-image-save-options :is(a, button) > svg { flex: 0 0 18px; width: 18px; height: 18px; color: inherit; }
.pictelvo-image-save-options p { grid-column: 1 / -1; margin: 2px 0 0; color: #526573; font-size: 11px; line-height: 1.55; }
.pictelvo-image-save-options p:empty { display: none; }
.pictelvo-upload { width: 100%; min-height: 44px; padding: 10px 12px; border-color: #d78c7e; background: #fff0e9; color: #993225; font-size: 14px; line-height: 1.35; }
.pictelvo-upload [data-upload-label] { font-size: inherit; line-height: inherit; white-space: nowrap; }
.pictelvo-upload input { display: block; position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pictelvo-editor__panel .pictelvo-upload:focus-within { outline: 3px solid #006b78; outline-offset: 3px; }

/* Only the video buttons intercept taps. The transparent toolbar contributes
 * no layout height and does not cover the canvas with an event-catching layer. */
.pictelvo-video-playback { position: absolute; z-index: 8; left: 50%; bottom: 4px; display: flex; align-items: center; justify-content: center; gap: 4px; width: min(220px, calc(100% - 8px)); margin: 0; padding: 0; background: transparent; transform: translateX(-50%); pointer-events: none; }
.pictelvo-video-playback[hidden],
.pictelvo-video-playback [data-video-playback-icon][hidden],
.pictelvo-video-playback [data-video-sound-icon][hidden] { display: none !important; }
.pictelvo-video-playback button { position: relative; isolation: isolate; display: inline-flex; flex: 1 1 0; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; min-height: 44px; padding: 4px; border: 0; border-radius: 5px; background: transparent; color: #fff; font: inherit; font-size: 10px; line-height: 1.2; font-weight: 700; cursor: pointer; pointer-events: auto; touch-action: manipulation; text-shadow: 0 1px 2px #000; }
.pictelvo-video-playback button::before { content: ""; position: absolute; z-index: -1; inset: 2px 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 5px; background: rgba(16, 43, 58, .78); }
.pictelvo-video-playback button svg { flex: 0 0 16px; width: 16px; height: 16px; fill: currentColor; }
.pictelvo-video-playback button:focus-visible { outline: 3px solid #c33c2d; outline-offset: 3px; }
.pictelvo-video-playback button:disabled { opacity: .65; cursor: wait; }
.pictelvo-video-playback-status { margin: 0 0 7px; color: #993225; font-size: 11px; line-height: 1.5; }
.pictelvo-video-playback-status:empty { display: none; }

/* Compact the visible editor rather than clipping its canvas or controls.
 * Small/landscape viewports and enlarged text retain natural page scrolling. */
@media (max-width: 820px) {
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-top,
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-template-page .pictelvo-editor-top { display: none !important; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor { --pictelvo-mobile-preview-limit: clamp(150px, calc(100vh - 470px), 360px); margin-top: 6px; scroll-margin-top: 6px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-language-nav { gap: 5px; margin-bottom: 6px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-language-nav a { min-height: 34px; padding: 6px 11px; font-size: 11px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats { gap: 4px 8px; margin-bottom: 6px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats__buttons { flex: 1 1 100%; gap: 6px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats__buttons button { flex: 1; min-width: 0; padding: 5px 9px; font-size: 12px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats p { flex-basis: 100%; font-size: 11px; line-height: 1.45; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-layout { gap: 7px; padding: 7px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__stage { position: relative; top: auto; max-height: var(--pictelvo-mobile-preview-limit); padding: 5px !important; border-radius: 5px; box-shadow: none; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__preview-stack { max-height: calc(var(--pictelvo-mobile-preview-limit) - 12px); }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__stage canvas { width: auto; height: auto; max-width: 100%; max-height: calc(var(--pictelvo-mobile-preview-limit) - 12px); margin: 0 auto; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__panel { margin-top: 0; padding: 8px !important; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-tools-title { margin: 0 0 5px; font-size: 15px; line-height: 1.4; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-upload { min-height: 44px !important; margin-bottom: 6px; padding: 7px 10px !important; font-size: 12px !important; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-selected-template-actions .pictelvo-template-card-actions { margin-bottom: 5px; gap: 6px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-selected-template-actions button { min-height: 40px !important; padding: 6px !important; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 5px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row button { min-height: 44px !important; padding: 6px 4px !important; font-size: 11px !important; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions { margin-top: 7px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions [data-primary-download] { min-height: 44px !important; padding: 8px !important; font-size: 13px !important; }
  body.pictelvo-marketplace-page.pictelvo-editor-open :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle) { isolation: isolate; min-width: 0; min-height: 44px; padding: 5px 7px; border: 0; border-radius: 5px; background: transparent !important; color: #fff !important; font-size: 10px; line-height: 1.25; font-weight: 700; box-shadow: none; animation: none; }
  body.pictelvo-marketplace-page.pictelvo-editor-open :is(.pictelvo-change-design, .pictelvo-editor-design-nav) { top: 0; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-edit-mode-toggle { bottom: 0; }
  body.pictelvo-marketplace-page.pictelvo-editor-open :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle)::after { content: ""; position: absolute; z-index: -1; inset: 6px 0; border: 1px solid rgba(255, 255, 255, .25); border-radius: 5px; background: rgba(16, 43, 58, .78); }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-edit-mode-toggle::before { margin-right: 3px; font-size: 10px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-design-nav span { font-size: 16px; }
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor[data-media-type="video"] .pictelvo-edit-mode-toggle,
  body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__stage:has([data-video-playback-controls]:not([hidden])) .pictelvo-edit-mode-toggle { bottom: 48px; }
}
@supports (height: 100svh) {
  @media (max-width: 820px) { body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor { --pictelvo-mobile-preview-limit: clamp(150px, calc(100svh - 470px), 360px); } }
}
@supports (height: 100dvh) {
  @media (max-width: 820px) { body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor { --pictelvo-mobile-preview-limit: clamp(150px, calc(100dvh - 470px), 360px); } }
}
@media (forced-colors: active) {
  .pictelvo-image-formats__buttons button,
  .pictelvo-image-save-options :is(a, button),
  .pictelvo-video-playback button,
  .pictelvo-upload { border-color: ButtonText; }
  .pictelvo-image-formats__buttons button[aria-pressed="true"] { border-color: Highlight; background: Highlight; color: HighlightText; }
  .pictelvo-video-playback button { color: ButtonText; text-shadow: none; }
  .pictelvo-video-playback button::before { border-color: ButtonText; background: ButtonFace; }
}

/* F11: the same colored controls on desktop and mobile, without moving tap targets.
 * The mobile backing remains compact; its full 44px button stays available. */
.pictelvo-change-design,
.pictelvo-editor-design-nav { --pictelvo-editor-button-color: linear-gradient(135deg, #102b3a, #006b78); --pictelvo-editor-button-glow: rgba(0, 107, 120, .32); }
.pictelvo-edit-mode-toggle { --pictelvo-editor-button-color: linear-gradient(135deg, #c33c2d, #993225); --pictelvo-editor-button-glow: rgba(195, 60, 45, .3); }
.pictelvo-app.is-photo-edit-mode .pictelvo-edit-mode-toggle { --pictelvo-editor-button-color: linear-gradient(135deg, #168447, #006b78); --pictelvo-editor-button-glow: rgba(22, 132, 71, .32); }
.pictelvo-change-design,
.pictelvo-editor-design-nav,
.pictelvo-edit-mode-toggle,
.pictelvo-app.is-photo-edit-mode .pictelvo-edit-mode-toggle { background: var(--pictelvo-editor-button-color); color: #fff !important; animation: pictelvo-editor-button-glow 2.4s ease-in-out infinite; }
@keyframes pictelvo-editor-button-glow { 0%, 100% { box-shadow: 0 2px 6px var(--pictelvo-editor-button-glow); } 50% { box-shadow: 0 2px 13px var(--pictelvo-editor-button-glow); } }
@media (max-width: 820px) {
  body.pictelvo-marketplace-page.pictelvo-editor-open :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle) { animation: none; }
  body.pictelvo-marketplace-page.pictelvo-editor-open :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle)::after { background: var(--pictelvo-editor-button-color); border-color: rgba(255, 255, 255, .7); pointer-events: none; animation: pictelvo-editor-button-glow 2.4s ease-in-out infinite; }
}
.pictelvo-app.is-photo-adjusting :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle),
body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-app.is-photo-adjusting :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle)::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .pictelvo-change-design,
  .pictelvo-editor-design-nav,
  .pictelvo-edit-mode-toggle,
  .pictelvo-app.is-photo-edit-mode .pictelvo-edit-mode-toggle,
  body.pictelvo-marketplace-page.pictelvo-editor-open :is(.pictelvo-change-design, .pictelvo-editor-design-nav, .pictelvo-edit-mode-toggle)::after { animation: none !important; }
}

/* F13: compact controls, stable format switching and clear completed-file actions. */
.pictelvo-adjustment-controls{display:contents}
.pictelvo-template-grid[hidden],.pictelvo-home-section-head[hidden]{display:none!important}
.pictelvo-editor__preview-stack.is-variant-switching{transition:width .2s ease,height .2s ease}
.pictelvo-editor__preview-stack.is-variant-switching>[data-canvas]{opacity:0;transition:opacity .2s ease}
.pictelvo-editor__preview-stack.is-variant-ready>[data-canvas]{opacity:1}
.pictelvo-editor__preview-stack>canvas.pictelvo-variant-snapshot{position:absolute!important;inset:0;z-index:20;width:100%!important;height:100%!important;max-height:none!important;margin:0;object-fit:contain;pointer-events:none;transition:opacity .2s ease}
.pictelvo-editor__preview-stack.is-variant-ready>.pictelvo-variant-snapshot{opacity:0}
.pictelvo-editor.is-variant-changing.is-template-loading .pictelvo-editor__stage::after{display:none}
.pictelvo-image-save-options:not([hidden]){margin:10px 0 8px;padding:9px;border:1px solid #9accc4;border-radius:12px;background:#eef9f6;animation:pictelvo-save-reveal .5s ease 2}
.pictelvo-image-save-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.pictelvo-image-save-actions .pictelvo-image-save-action{min-height:44px!important;padding:9px 7px!important;font-size:13px!important;border-radius:9px}
.pictelvo-image-save-actions .pictelvo-image-save-share{background:#08796c!important;color:#fff!important;border-color:#08796c!important}
.pictelvo-image-save-actions .pictelvo-image-save-open{background:#fff!important;color:#075b61!important;border-color:#9accc4!important}
.pictelvo-image-save-help{margin:6px 0 0;font-size:11px;line-height:1.4}
@keyframes pictelvo-save-reveal{from{box-shadow:0 0 0 0 rgba(8,121,108,.2)}to{box-shadow:0 0 0 7px rgba(8,121,108,0)}}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival{padding:16px!important;border:1px solid #ead3b0!important;border-top:3px solid #b57224!important;border-radius:16px!important;background:linear-gradient(135deg,#fff9ed,#fff)!important;box-shadow:none!important;color:#332816}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival::before,.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head::before{display:none!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head{padding:0 0 12px!important;display:flex!important;gap:10px;align-items:center;background:none!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head span{display:inline-block;padding:4px 8px;border-radius:6px;background:#f2dfbd!important;color:#795010!important;font-size:10px!important;letter-spacing:.04em}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head h3{margin:6px 0 0!important;color:#30291e!important;font-size:20px!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head>a{min-height:40px!important;padding:8px 10px!important;border:1px solid #dbc39b!important;border-radius:8px!important;background:#fff!important;color:#795010!important;font-size:12px!important;white-space:nowrap}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-row{gap:12px!important;grid-auto-columns:minmax(145px,180px)!important;overflow-x:auto!important;scroll-snap-type:x proximity}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-row>.pictelvo-recommend-card,.pictelvo-home-managed-sections--festival .pictelvo-home-managed-row>.pictelvo-home-view-all-card{width:180px!important;min-width:145px!important;max-width:180px!important;flex:0 0 180px!important;scroll-snap-align:start;border-radius:12px!important}
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-section--religious-festival{border-color:#bdd8cf!important;border-top-color:#267964!important;background:linear-gradient(135deg,#edf8f2,#fff)!important}
@media(max-width:720px){
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-adjustment-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-adjustment-controls>.pictelvo-control{min-width:0}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__panel{padding:10px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-tools-title{font-size:15px!important;margin:0 0 6px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-upload{min-height:44px!important;padding:7px 10px!important;font-size:13px!important;margin-bottom:5px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-control{margin:7px 0!important;padding:7px 9px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-control strong,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-control output{font-size:12px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:7px 0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row>button{min-height:44px!important;padding:6px 4px!important;font-size:11px!important;line-height:1.3;white-space:normal}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:7px 0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation label{min-width:0;font-size:11px!important;gap:4px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation select{min-height:40px!important;padding:6px!important;font-size:12px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions{margin:8px 0 0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions>[data-primary-download]{min-height:46px!important;padding:9px!important;font-size:14px!important}
 .pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival{padding:12px!important}
 .pictelvo-home-managed-sections--festival .pictelvo-home-managed-head h3{font-size:17px!important}
 .pictelvo-home-managed-sections--festival .pictelvo-home-managed-row>.pictelvo-recommend-card,.pictelvo-home-managed-sections--festival .pictelvo-home-managed-row>.pictelvo-home-view-all-card{width:155px!important;min-width:155px!important;max-width:155px!important;flex-basis:155px!important}
}
@media(prefers-reduced-motion:reduce){.pictelvo-image-save-options:not([hidden]){animation:none}.pictelvo-editor__preview-stack.is-variant-switching,.pictelvo-editor__preview-stack.is-variant-switching>[data-canvas],.pictelvo-editor__preview-stack>.pictelvo-variant-snapshot{transition:none}}

@media(max-width:720px){body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor{--pictelvo-mobile-preview-limit:clamp(190px,calc(100vh - 390px),420px)}}
@supports(height:100dvh){@media(max-width:720px){body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor{--pictelvo-mobile-preview-limit:clamp(190px,calc(100dvh - 390px),420px)}}}

.pictelvo-editor__preview-stack.is-variant-switching{cursor:progress}.pictelvo-editor__preview-stack.is-variant-switching>[data-canvas]{pointer-events:none}

.pictelvo-editor-workspace{display:contents}

/* F14: calm festival header and compact mobile editing workspace. */
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-section--festival{padding:14px!important;border:1px solid #e7d8c0!important;border-top:2px solid #b8843c!important;border-radius:12px!important;background:#fffdf8!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head{margin:0 0 12px!important;padding:2px 0 0!important;border-left:0!important;min-height:0!important;align-items:center!important;justify-content:space-between!important;gap:12px!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head>div{min-width:0;padding:0!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head span{padding:0!important;border:0!important;background:none!important;color:#8a6534!important;font-size:10px!important;line-height:1.5!important;letter-spacing:0!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head h3{margin:3px 0 0!important;font-size:18px!important;line-height:1.35!important}
.pictelvo-home-managed-sections--festival .pictelvo-home-managed-head>a{display:inline-flex!important;align-items:center!important;justify-content:center!important;align-self:center!important;min-height:36px!important;height:36px!important;padding:0 10px!important;line-height:1!important;border:1px solid #e5d4b8!important;border-radius:8px!important;background:#fff!important;font-size:11px!important;text-decoration:none!important}
.pictelvo-home-managed-sections--religious-festival .pictelvo-home-managed-section--religious-festival{border-color:#c7ded5!important;border-top-color:#3a8971!important;background:#f8fcf9!important}
@media(max-width:820px){
 body.pictelvo-marketplace-page.pictelvo-editor-open{overflow-y:auto!important;overflow-x:hidden!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor:not([hidden]){position:relative!important;z-index:auto;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;scroll-margin-top:0!important;box-sizing:border-box;background:transparent;display:block!important;overflow:visible!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-workspace{width:100%;height:auto;max-height:none;min-height:100vh;min-height:100svh;padding:5px max(5px,env(safe-area-inset-right)) max(5px,env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));box-sizing:border-box;background:#f6f9fa;display:block;overflow:visible;border-radius:8px}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-language-nav{flex:0 0 auto;margin:0 0 4px!important;justify-content:center;gap:4px}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-language-nav a{min-height:30px!important;padding:4px 8px!important;font-size:10px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats{flex:0 0 auto;margin:0 0 4px!important;padding:0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats__buttons button{min-height:32px!important;padding:3px 8px!important;font-size:11px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-formats__buttons small{font-size:9px!important;line-height:1.1}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-layout{flex:1 1 0;min-height:0!important;width:100%;display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:var(--pictelvo-mobile-stage-height,max(120px,calc(100svh - 260px))) auto!important;align-items:stretch!important;gap:5px!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;box-shadow:none!important;background:transparent!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__stage{position:relative!important;top:auto!important;width:100%;height:100%;min-height:0!important;max-height:none!important;padding:3px!important;overflow:hidden!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__preview-stack{min-height:0!important;max-height:100%!important;max-width:100%!important;display:flex;align-items:center;justify-content:center}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__stage canvas{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain;box-shadow:none!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__panel{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px!important;align-content:start;min-height:0!important;margin:0!important;padding:7px!important;border-top-width:2px!important;border-radius:8px!important;box-sizing:border-box}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-tools-title,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-adjustment-controls{display:none!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-upload{grid-column:span 2;min-height:40px!important;margin:0!important;padding:5px 6px!important;font-size:11px!important;gap:4px!important;box-sizing:border-box}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-upload__icon{width:17px!important;height:17px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-selected-template-actions,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-selected-template-actions .pictelvo-template-card-actions{display:contents!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-selected-template-actions button{min-height:40px!important;margin:0!important;padding:4px!important;font-size:9px!important;border-radius:7px!important;min-width:0;line-height:1.2}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row{grid-column:1/-1;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important;margin:0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row>button{grid-column:auto!important;min-width:0;min-height:40px!important;margin:0!important;padding:4px 2px!important;font-size:10px!important;line-height:1.2;white-space:normal;overflow-wrap:anywhere;display:flex;align-items:center;justify-content:center}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;margin:0!important;padding:3px 0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation label{display:flex;flex-direction:column;gap:3px!important;min-width:0;font-size:10px!important;line-height:1.3}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation select{appearance:none;-webkit-appearance:none;min-width:0;width:100%;min-height:36px!important;padding:5px 28px 5px 8px!important;border:1px solid #b8ced2!important;border-radius:7px!important;background:#f7fbfc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23284c5b' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") right 9px center/12px 12px no-repeat!important;color:#173e49;font-size:11px!important;line-height:1.3}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-animation select:focus-visible{outline:2px solid #08796c;outline-offset:2px}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-save-options,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-reward,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-secondary-offers,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-playback-status{grid-column:1/-1;margin:0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions>[data-primary-download]{width:100%;min-height:42px!important;margin:0!important;padding:6px!important;font-size:12px!important;line-height:1.3}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-save-options:not([hidden]){padding:5px!important;border-radius:8px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-save-actions{gap:5px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-save-actions .pictelvo-image-save-action{min-height:36px!important;padding:5px!important;font-size:11px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-image-save-help{font-size:10px!important;line-height:1.3;margin:3px 0 0!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-reward{padding:5px!important;font-size:11px!important;line-height:1.3}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-reward p{margin:3px 0!important}
}
@media(min-width:520px) and (max-width:820px) and (orientation:landscape){
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor-layout{grid-template-columns:minmax(0,1fr) minmax(270px,1.3fr)!important;grid-template-rows:var(--pictelvo-mobile-stage-height,max(160px,calc(100svh - 50px)))!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__panel{gap:3px!important;padding:5px!important;align-self:center}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-upload,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-selected-template-actions button,body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row>button{min-height:32px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-actions>[data-primary-download]{min-height:34px!important}
}

@media(max-width:820px){body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor [hidden]{display:none!important}body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-video-playback-status:empty{display:none!important}}

/* F14 UX3: the compact desk occupies the first viewport; discovery follows in document flow. */
.pictelvo-app .pictelvo-home>.pictelvo-home-section-head--templates{padding:8px 10px;border:1px solid #d8e5e8;border-radius:8px;background:#f0f6f6;box-sizing:border-box}
.pictelvo-app .pictelvo-home>.pictelvo-home-section-head--templates h3{margin:0!important;color:#173f4b!important;text-shadow:none!important;line-height:1.5}
.pictelvo-app .pictelvo-home>.pictelvo-home-section-head--templates [data-result-count]{padding:3px 8px;border:1px solid #cbdfe3;border-radius:999px;background:#e9f2f3;color:#385963!important;text-shadow:none!important;font-size:11px;line-height:1.5;white-space:nowrap}
.pictelvo-editor__panel .pictelvo-tool-row>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #135e6b!important;border-radius:9px!important;background:linear-gradient(150deg,#173f4b,#0b6572)!important;color:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 2px 4px rgba(13,57,68,.12)!important;font-weight:700;touch-action:manipulation;transition:transform .12s ease,box-shadow .12s ease}
.pictelvo-editor__panel .pictelvo-tool-row>[data-reset]{border-color:#b4cbd1!important;background:linear-gradient(150deg,#fff,#eaf2f4)!important;color:#173f4b!important}
.pictelvo-editor__panel .pictelvo-tool-row>button:focus-visible{outline:2px solid #007f8c;outline-offset:2px}
.pictelvo-editor__panel .pictelvo-tool-row>button:active{transform:translateY(1px);box-shadow:inset 0 2px 4px rgba(0,0,0,.18)!important}
.pictelvo-editor__panel .pictelvo-tool-row>button:disabled{opacity:.55;cursor:wait}
.pictelvo-tool-icon{display:block;width:15px;height:15px;flex:0 0 auto;pointer-events:none}
.pictelvo-editor__panel .pictelvo-tool-row>button>span{font:inherit;line-height:1.2}
@media(max-width:820px){
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row>button{gap:2px!important;min-height:40px!important;padding:4px 2px!important;font-size:10px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-icon{width:13px;height:13px}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-discovery:not([hidden]){display:grid!important;margin:22px 0 0!important;padding-top:18px!important;position:relative;overflow:visible}
}
@media(prefers-reduced-motion:reduce){.pictelvo-editor__panel .pictelvo-tool-row>button{transition:none;transform:none!important}}
@media(forced-colors:active){.pictelvo-editor__panel .pictelvo-tool-row>button{background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important}}

/* F14 UX4: one document scroll; browser chrome cannot stretch the preview. */
.pictelvo-video-playback button{flex-direction:row;gap:5px;min-height:36px;padding:5px 7px;white-space:nowrap}
.pictelvo-video-playback button svg{flex:0 0 15px;width:15px;height:15px}
.pictelvo-editor__panel .pictelvo-tool-row>button{flex-direction:row;gap:0}
.pictelvo-editor__panel .pictelvo-tool-row>button>.pictelvo-tool-icon{width:21px;height:21px}
@media(max-width:820px){
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row>button{min-height:36px!important;padding:6px!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-tool-row>button>.pictelvo-tool-icon{width:19px;height:19px}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__panel{overflow:visible!important;max-height:none!important}
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor[data-media-type="video"] .pictelvo-edit-mode-toggle,
 body.pictelvo-marketplace-page.pictelvo-editor-open .pictelvo-editor__stage:has([data-video-playback-controls]:not([hidden])) .pictelvo-edit-mode-toggle{bottom:44px}
}
.pictelvo-gesture-hint{position:absolute;inset:0;z-index:7;pointer-events:none;overflow:hidden;isolation:isolate;animation:pictelvo-gesture-reveal 2.2s ease both}
.pictelvo-gesture-hint .pictelvo-gesture-preview{position:absolute!important;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;pointer-events:none;box-shadow:none!important;background:transparent}
.pictelvo-gesture-hand{position:absolute;width:39px;height:46px;transform:translate(-46%,-16%);filter:drop-shadow(0 2px 4px rgba(8,41,52,.32));animation:pictelvo-gesture-drag 1.8s ease-in-out both;pointer-events:none}
.pictelvo-gesture-hand svg{display:block;width:100%;height:100%;overflow:visible}
.pictelvo-gesture-hand path{fill:rgba(255,255,255,.96);stroke:#125b68;stroke-width:1.7;stroke-linejoin:round}
.pictelvo-gesture-touch{fill:rgba(49,201,207,.2);stroke:#fff;stroke-width:2;animation:pictelvo-gesture-touch 1.8s ease-out both;transform-box:fill-box;transform-origin:center}
.pictelvo-gesture-copy{position:absolute;left:50%;width:max-content;max-width:calc(100% - 14px);box-sizing:border-box;margin:0;padding:6px 9px;border:1px solid rgba(255,255,255,.5);border-radius:9px;background:rgba(12,58,70,.92);color:#fff;font-size:10px;font-weight:650;line-height:1.5;text-align:center;transform:translateX(-50%);box-shadow:0 2px 8px rgba(8,34,43,.15);pointer-events:none}
@keyframes pictelvo-gesture-drag{0%,15%{transform:translate(-46%,-16%) translateX(-9px) rotate(-7deg)}60%{transform:translate(-46%,-16%) translateX(11px) rotate(3deg)}100%{transform:translate(-46%,-16%) translateX(0) rotate(0)}}
@keyframes pictelvo-gesture-touch{0%{opacity:0;transform:scale(.65)}22%{opacity:1;transform:scale(1)}75%{opacity:.5;transform:scale(1.35)}100%{opacity:0;transform:scale(1.5)}}
@keyframes pictelvo-gesture-reveal{0%{opacity:0}12%,80%{opacity:1}100%{opacity:0}}
.pictelvo-gesture-hint.is-static,.pictelvo-gesture-hint.is-static .pictelvo-gesture-hand,.pictelvo-gesture-hint.is-static .pictelvo-gesture-touch{animation:none}
@media(prefers-reduced-motion:reduce){.pictelvo-gesture-hint,.pictelvo-gesture-hand,.pictelvo-gesture-touch{animation:none}}

/* Public template content is the same for visitors and crawlers. */
.pictelvo-template-heading{margin:0;font-size:18px;line-height:1.5;font-weight:800;min-width:0;overflow-wrap:anywhere}
.pictelvo-template-poster{position:absolute;inset:0;z-index:1;width:100%;height:100%;object-fit:contain;pointer-events:none}
/* The description belongs to the current editor, not a duplicate card below Trending. */
.pictelvo-template-information{display:block;margin:0 0 8px;padding:0;background:transparent;border:0;color:#45626a}
.pictelvo-template-information p{font-size:12px;line-height:1.5;margin:0}
.pictelvo-template-information[hidden],.pictelvo-template-poster[hidden]{display:none!important}
@media(max-width:820px){.pictelvo-template-heading{font-size:14px}.pictelvo-template-information{display:none}}

.pictelvo-app [data-video-preview][controls]~[data-canvas]{pointer-events:none}
