/* NYANGA — correctifs d'affichage (audit visuel du 27/10/2026).
   Chargée en dernier : chaque règle corrige un défaut constaté sur captures 360/768/1024/1440 px. */

:root { --workspace-sidebar: #2b1d14; }

/* 1. Titres de page : une seule famille (display), quelle que soit la classe utilisée. */
main h1, main .h1 { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; }

/* 2. En-tête connecté sur mobile : logo et actions sur une seule ligne (avant : 2 rangées, ~130 px perdus). */
@media (max-width: 599px) {
  .top { flex-wrap: nowrap; align-items: center; column-gap: 8px; }
  .top .lockup { flex: 0 1 auto; min-width: 0; }
  .top .brand-logo, .top .brand-logo img { width: 124px; height: auto; }
  .top .nav { flex: 0 0 auto; flex-wrap: nowrap; align-items: center; gap: 6px; margin-left: auto; }
  .top .nav .icon-button, .top .notification-bell { width: 44px; height: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .top .language-picker summary { min-height: 44px; min-width: 44px; padding-inline: 10px; }
}

/* 3. Fiche pro : bouton Partager à côté du nom, onglets compacts sans grand vide entre deux lignes. */
.profile-id > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: start; }
.profile-id > div > * { grid-column: 1 / -1; }
.profile-id > div > h1 { grid-column: 1; }
.profile-id > div > .profile-share { grid-column: 2; grid-row: 1; align-self: center; }
.profile-nav { row-gap: 0; column-gap: 18px; }

/* 4. Barre du bas (espace pro/admin) : libellés lisibles, jamais coupés au milieu d'un mot. */
.workspace-bottom-nav a { font-size: .6875rem; line-height: 1.15; text-align: center; word-break: keep-all; overflow-wrap: normal; hyphens: none; }

/* 5. Formulaires en grille : champs alignés en haut même si une aide ne figure que d'un côté. */
.calendar-grid { align-items: start; }

/* 6. Bouton de choix de fichier aux couleurs de la marque. */
input[type=file]::file-selector-button { font: 600 .9375rem/1 var(--body); padding: 10px 14px; margin-right: 10px; border: 1px solid var(--indigo); border-radius: 999px; background: var(--lait); color: var(--ebene); cursor: pointer; }
input[type=file]::file-selector-button:hover { background: var(--indigo); color: #fff; }

/* 7. Contrastes AA manquants (axe-core). */
.home-pro-invite > .brand-eyebrow { color: #6f4a26; }

/* 8. Indicateur de synchronisation de la messagerie : discret, pas un encadré. */
[data-live-status] { font-size: .8125rem; color: var(--cacao); }

/* 9. Notifications : actions groupées sous le titre. */
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* 10. Tableau de bord admin : note sous chaque indicateur (balisage dl valide). */
.dash-kpi dd.dash-kpi-note { font-size: .73rem; font-weight: 400; line-height: 1.5; margin: 0; overflow-wrap: normal; }
.arch .arch-initials { color: #d9ad6c; }
@media (max-width: 599px) { .dash-kpi dd.dash-kpi-note { grid-column: 1; grid-row: 2; } }

/* 11. Espace connecté sur grand écran : l'en-tête s'aligne sur la colonne latérale au lieu de rester centré. */
@media (min-width: 1100px) {
  body.connected-workspace > .top { max-width: none; margin-inline: 0; padding-inline: 18px 32px; }
}

/* 12. Recherche : « Filtres avancés » après les champs principaux (avant : coincé entre deux rangées). */
.page-search .search-with-refinements > .search-advanced { grid-row: auto; }

/* 13. Espace connecté sur tablette (600–1099 px) : en-tête sur une ligne ; les liens de découverte restent dans le menu. */
@media (min-width: 600px) and (max-width: 1099px) {
  body.connected-workspace > .top .nav-pill { display: none; }
  body.connected-workspace > .top .nav { flex-wrap: nowrap; }
}

/* 14. Messagerie plein écran : un seul défilement, en-tête compact, saisie collée en bas. */
body.page-thread .foot, body.page-thread .workspace-bottom-nav, body.page-thread .beauty-bottom-nav, body.page-thread .connected-mobile-menu, body.page-thread .install { display: none !important; }
body.page-thread { padding-bottom: 0 !important; }
body.page-thread main { padding-bottom: 0; }
.chat-layout { display: block; padding-inline: var(--gut, 16px); }
.chat-side { display: none; }
.chat-shell { position: relative; display: flex; flex-direction: column; max-width: none; margin: 0; padding: 0; height: calc(100dvh - var(--chat-top, 150px)); min-height: 360px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 10px; border-bottom: 1px solid var(--line, #e4d8c8); }
.chat-back { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; color: inherit; flex: none; }
.chat-back .ui-icon { width: 22px; height: 22px; }
.chat-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; background: #ead8c2; color: #5a3519; font-weight: 700; font-size: .875rem; letter-spacing: .02em; }
.chat-avatar { position: relative; }
.chat-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.chat-title { min-width: 0; flex: 1; }
.chat-title h1 { margin: 0; font: 700 1.0625rem/1.25 var(--font-sans, inherit); letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-title h1 a { color: inherit; text-decoration: none; }
.chat-status { margin: 0; font-size: .75rem; color: #6d5644; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-menu { position: relative; flex: none; }
.chat-menu > summary { list-style: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.chat-menu > summary::-webkit-details-marker { display: none; }
.chat-menu > summary::after { content: none !important; }
.chat-menu[open] > summary, .chat-menu > summary:hover { background: #f0e4d6; }
.chat-menu-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; width: min(360px, calc(100vw - 32px)); max-height: 70dvh; overflow: auto; background: #fffdf9; border: 1px solid #e4d8c8; border-radius: 16px; box-shadow: 0 12px 32px rgba(43,26,18,.18); padding: 8px; display: grid; gap: 4px; }
.chat-menu-item { display: flex; align-items: center; width: 100%; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.chat-menu-item:hover, .chat-menu-item:focus-visible { background: #f3e8da; }
.chat-menu-section, .chat-report-form { padding: 10px 12px; border-top: 1px solid #efe4d6; font-size: .875rem; }
.chat-menu-section h2, .chat-report-form h2 { font: 700 .875rem/1.3 var(--font-sans, inherit); margin: 0 0 6px; }
.chat-menu-section p { margin: 0; color: #59412e; }
.chat-report-form label { display: grid; gap: 4px; margin-top: 8px; }
.chat-report-form input, .chat-report-form textarea { width: 100%; }
@media (max-width: 599px) { .chat-menu-panel { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(8px + env(safe-area-inset-bottom)); width: auto; max-height: 75dvh; } }
.chat-booking { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: #f6ecdf; font-size: .8125rem; }
.chat-booking > .ui-icon { width: 18px; height: 18px; flex: none; color: #70421f; }
.chat-booking > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-booking a, .chat-booking .linklike { flex: none; font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.chat-booking-status { font-style: normal; font-weight: 700; }
.chat-booking-status.is-accepted { color: #2f6b3a; }
.chat-safety-hint { margin: 16px auto 0; max-width: 42ch; text-align: center; font-size: .8125rem; color: #6d5644; }
.chat-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 2px 8px; -webkit-overflow-scrolling: touch; }
.chat-older { display: block; margin: 8px auto 0; }
.chat-messages { list-style: none; margin: 0; padding: 0 40px 0 0; display: flex; flex-direction: column; gap: 0; max-height: none; overflow: visible; border: 0; border-radius: 0; }
.chat-messages li.chat-day { align-self: center; margin: 16px 0 6px; padding: 3px 12px; border-radius: 999px; background: #efe4d4; color: #5a4636; font-size: .75rem; font-weight: 600; max-width: none; }
.chat-messages li.chat-msg { position: relative; margin-top: 8px; padding: 8px 12px 6px; border-radius: 18px 18px 18px 6px; max-width: min(80%, 62ch); background: #efe3d3; color: #2b1a12; }
.chat-messages li.chat-msg.is-mine { border-radius: 18px 18px 6px 18px; background: #70421f; color: #fff; margin-right: -40px; }
.chat-messages li.chat-msg.is-grouped { border-bottom-left-radius: 18px; }
.chat-messages li.chat-msg.is-mine.is-grouped { border-bottom-right-radius: 18px; border-bottom-left-radius: 18px; }
.chat-messages li.chat-msg.is-grouped + li.chat-msg { margin-top: 2px; }
.chat-messages li.chat-msg.is-grouped:not(.has-state) .chat-meta { display: none; }
.chat-messages li.chat-msg p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.4; }
.chat-messages li.is-pending { opacity: .7; }
.chat-messages li.is-failed { outline: 2px solid var(--danger, #b3261e); outline-offset: 2px; opacity: 1; }
.chat-meta { display: flex; justify-content: flex-end; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 2px; font-size: .6875rem; opacity: .8; }
.chat-meta .chat-state { font-weight: 700; }
.chat-meta .chat-state:empty { display: none; }
.chat-retry { font-size: .75rem; min-height: 28px; padding: 0; color: inherit; }
.chat-more { position: absolute; top: 50%; right: -38px; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #6d5644; font-size: 1.1rem; line-height: 1; cursor: pointer; opacity: .55; }
.chat-more:hover, .chat-more:focus-visible { opacity: 1; background: #f0e4d6; }
@media (pointer: fine) { .chat-more { opacity: 0; } .chat-msg:hover .chat-more, .chat-more:focus-visible { opacity: 1; } }
.chat-jump { position: absolute; left: 50%; bottom: 78px; transform: translateX(-50%); margin: 0; z-index: 3; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.chat-error { margin: 0; font-size: .8125rem; color: var(--danger, #b3261e); }
.chat-error:empty { display: none; }
.chat-compose { display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 8px; align-items: end; margin: 0; padding: 8px 0 calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line, #e4d8c8); background: var(--karite, #faf6ef); }
.chat-compose textarea { width: 100%; min-height: 48px; max-height: 140px; padding: 12px 16px; border: 1px solid #c8b8a4; border-radius: 24px; resize: none; font-size: 1rem; line-height: 1.35; background: #fff; }
.chat-send { width: 48px; height: 48px; border: 0; border-radius: 50%; background: #70421f; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.chat-send .ui-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chat-send:hover { background: #512f18; }
.chat-send:disabled { opacity: .5; cursor: default; }
@media (min-width: 1100px) {
  .chat-layout { display: grid; grid-template-columns: 320px minmax(0,1fr); gap: 0; padding-inline: 16px 24px; }
  .chat-side { display: flex; flex-direction: column; height: calc(100dvh - var(--chat-top, 150px)); border-right: 1px solid var(--line, #e4d8c8); padding-right: 12px; overflow: hidden; }
  .chat-side-head { padding: 10px 8px; font-weight: 700; font-size: 1.1rem; }
  .chat-side-head a { color: inherit; text-decoration: none; }
  .chat-side .chat-thread-list { overflow-y: auto; flex: 1; margin: 0; }
  .chat-shell { padding-left: 24px; }
  .chat-back { display: none; }
}
/* Boîte de réception : photo ou initiales, nom, aperçu, heure, non-lus. */
.chat-inbox-page { max-width: 760px; }
.chat-inbox-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chat-inbox-head h1 { margin: 0; }
.chat-thread-list { list-style: none; padding: 0; margin: 12px 0 0; }
.chat-thread-list a { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line, #e4d8c8); border-radius: 12px; color: inherit; text-decoration: none; }
.chat-thread-list a:hover, .chat-thread-list a[aria-current] { background: #f3e8da; }
.chat-thread-list .chat-avatar { width: 48px; height: 48px; font-size: 1rem; }
.chat-thread-main { display: grid; min-width: 0; gap: 2px; }
.chat-thread-main strong { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-preview { font-size: .875rem; color: #6d5644; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-meta { display: grid; justify-items: end; gap: 6px; font-size: .75rem; color: #6d5644; }
.chat-thread-list li.is-unread strong, .chat-thread-list li.is-unread .chat-preview { font-weight: 700; color: #2b1a12; }
.chat-unread { font-style: normal; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #70421f; color: #fff; font-size: .75rem; font-weight: 700; }
.chat-unread[hidden] { display: none; }
.chat-empty { margin-top: 24px; padding: 32px 20px; text-align: center; border: 1px dashed #d9c9b5; border-radius: 18px; }
.chat-empty-icon .ui-icon { width: 40px; height: 40px; color: #a7723f; }
.chat-empty p { margin: 6px auto; max-width: 40ch; }

/* 15. Notifications : filtres, actions groupées, effacement. */
.notice-tabs { margin-block: 8px 16px; }
.notice-tab-count { display: inline-flex; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--indigo); color: #fff; font-size: .75rem; align-items: center; justify-content: center; }
.notice-bulk { margin-bottom: 12px; }
.notice-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.notice-dismiss { display: inline-flex; gap: 6px; align-items: center; }
.notice-dismiss .ui-icon { width: 14px; height: 14px; }
.notice-restore { margin-top: 12px; }
.notice-email { margin-top: 20px; }
.notice-email .check { display: flex; gap: 10px; align-items: center; margin-block: 8px 12px; }
.search-corrected { margin: 0 0 8px; }

/* 16. Écran d'accueil sans portrait : fond chaud léger à la place de l'illustration retirée. */
.welcome-splash{background:radial-gradient(120% 70% at 50% 100%,#f1d9bd 0%,#f7ebdc 45%,transparent 75%)}

/* 17. Espaces connectés : une seule navigation sur mobile et tablette (barre du bas), pied de page sur une ligne. */
@media (max-width: 1099px) {
  .workspace-bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; background: var(--karite, #faf6ef); border-top: 1px solid var(--line, #e4d8c8); padding: 8px 6px calc(8px + env(safe-area-inset-bottom)); gap: 4px; }
  .workspace-bottom-nav > a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 48px; min-width: 0; padding: 2px; }
  .workspace-bottom-nav .ui-icon { width: 22px; height: 22px; display: block; }
  body.connected-workspace { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}
@media (min-width: 600px) and (max-width: 1099px) {
  .workspace-bottom-nav { left: 50%; right: auto; width: min(560px, 100%); transform: translateX(-50%); border: 1px solid var(--line, #e4d8c8); border-bottom: 0; border-radius: 16px 16px 0 0; }
}
.foot.foot-compact { padding: 20px var(--gut, 16px); margin-top: 32px; border-top: 1px solid var(--line, #e4d8c8); background: none; }
.foot.foot-compact .foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 0; padding: 0; list-style: none; font-size: .8125rem; }
.foot.foot-compact .foot-links a { color: #6d5644; display: inline-flex; min-height: 32px; align-items: center; }

/* 18. Mon compte : rendez-vous d'abord, 2 actions visibles par carte, le reste dans ⋯ ; liens de compte en liste. */
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.account-head .h1 { margin: 0; }
.client-bookings { display: grid; gap: 12px; }
.booking-card { display: grid; gap: 6px; padding: 16px; }
.booking-card p { margin: 0; }
.booking-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.booking-card-head .h3 { margin: 0; font-size: 1.05rem; }
.booking-pill { flex: none; font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #f3e3c9; color: #6a4113; }
.booking-pill.is-accepted { background: #dcefdc; color: #245a2c; }
.booking-pill.is-declined, .booking-pill.is-cancelled { background: #f1e1de; color: #7a2b20; }
.booking-card-line { font-size: .9375rem; }
.booking-card-note { font-size: .875rem; color: #6a4113; }
.booking-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.booking-card-actions form { margin: 0; }
.card-more { position: relative; margin-left: auto; }
.card-more > summary { list-style: none; width: 44px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer; font-size: 1.3rem; border: 1px solid #d9c9b5; }
.card-more > summary::-webkit-details-marker { display: none; }
.card-more > summary::after { content: none !important; }
.card-more-panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(300px, calc(100vw - 48px)); padding: 12px; background: #fffdf9; border: 1px solid #e4d8c8; border-radius: 14px; box-shadow: 0 12px 28px rgba(43,26,18,.16); display: grid; gap: 10px; font-size: .875rem; }
.card-more-panel a { min-height: 36px; display: inline-flex; align-items: center; }
.card-more-panel select { width: 100%; }
.account-menu { display: grid; margin: 20px 0; border: 1px solid #e4d8c8; border-radius: 16px; overflow: hidden; background: #fffdf9; }
.account-menu a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 16px; color: inherit; text-decoration: none; border-top: 1px solid #efe4d6; }
.account-menu a:first-child { border-top: 0; }
.account-menu a::after { content: '›'; margin-left: auto; color: #a7723f; font-size: 1.2rem; }
.account-menu a:hover { background: #f6ecdf; }
.account-menu .ui-icon { width: 20px; height: 20px; color: #70421f; flex: none; }
.account-logout { margin-top: 16px; }
.notice-head-actions { margin: 0 0 8px; }
.notice-settings .panel, .notice-settings .push-settings { margin-top: 16px; }

/* Signalement : extrait du message choisi au lieu d'un numéro. */
.chat-report-quote{margin:.25rem 0 .75rem;padding:.5rem .75rem;border-left:3px solid #b07a4b;background:#f6ece0;border-radius:6px;font-size:.9375rem;color:#3b2a1e;white-space:pre-wrap;overflow-wrap:anywhere}

/* 18. Pages locales (SEO) : fil d'Ariane, liens internes, questions fréquentes. */
.seo-local .seo-breadcrumb { font-size: .875rem; color: #6d5644; margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.seo-local .seo-breadcrumb a { color: inherit; }
.seo-local .seo-intro { max-width: 70ch; }
.seo-local .seo-actions { margin: 12px 0 20px; }
.seo-local .seo-faq { margin-top: 32px; max-width: 760px; }
.seo-local .seo-faq details { border-top: 1px solid var(--line, #e4d8c8); padding: 12px 0; }
.seo-local .seo-faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.seo-local .seo-links { margin-top: 28px; }
.seo-local .seo-links ul, .seo-chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seo-local .seo-links li a, .seo-chips a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line, #e4d8c8); border-radius: 999px; background: #fffdf9; color: #3b2a1e; text-decoration: none; font-size: .9375rem; }
.seo-local .seo-links li a:hover, .seo-chips a:hover { border-color: #b07a4b; }
.home-popular { margin-top: 28px; }

/* 19. Faire venir les pros : étapes guidées, partage de la page, import Instagram. */
.pro-onboarding { margin: 0 0 20px; padding: 18px; border: 1px solid var(--line, #e4d8c8); border-radius: 16px; background: #fffdf9; }
.pro-onboarding-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pro-onboarding-head h2 { margin: 0; font-size: 1.05rem; }
.pro-onboarding-count { font-size: .875rem; color: #6d5644; white-space: nowrap; }
.pro-onboarding-bar { height: 8px; margin: 12px 0 16px; border-radius: 999px; background: #efe4d4; overflow: hidden; }
.pro-onboarding-bar span { display: block; height: 100%; border-radius: inherit; background: #8a5a2b; }
.pro-onboarding-next { display: flex; justify-content: space-between; align-items: center; text-align: left; gap: 12px; padding: 12px 18px; }
.pro-onboarding-next small { display: block; font-size: .75rem; font-weight: 500; opacity: .85; }
.pro-onboarding .hint { margin: 8px 0 0; }
.pro-onboarding-list { margin-top: 12px; }
.pro-onboarding-list summary { cursor: pointer; min-height: 40px; display: flex; align-items: center; font-weight: 600; font-size: .9375rem; }
.pro-onboarding-list ol { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.pro-onboarding-list li { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.pro-onboarding-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c9b59d; display: inline-flex; align-items: center; justify-content: center; font-size: .75rem; color: #fff; }
.pro-onboarding-list li.is-done .pro-onboarding-mark { background: #2f7a4b; border-color: #2f7a4b; }
.pro-onboarding-list li.is-done a { color: #6d5644; text-decoration: line-through; }
.pro-share .panel { margin-bottom: 16px; }
.share-url { display: flex; gap: 8px; margin: 10px 0; }
.share-url input { flex: 1; min-width: 0; font-size: .9375rem; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share-message { display: grid; gap: 6px; margin: 12px 0; }
.share-message label { font-weight: 600; font-size: .9375rem; }
.share-message textarea { width: 100%; font: inherit; font-size: .9375rem; }
.share-message .btn { justify-self: start; }
.share-status { min-height: 1.4em; margin: 8px 0 0; color: #2f7a4b; font-weight: 600; }
.share-qr-box { max-width: 240px; margin: 12px 0; padding: 8px; border: 1px solid var(--line, #e4d8c8); border-radius: 12px; background: #fff; }
.share-qr-box canvas { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.btn.is-copied { border-color: #2f7a4b; }
.works-import { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 12px 0; }
.instagram-steps { padding-left: 1.2em; display: grid; gap: 6px; margin: 12px 0 18px; }
.instagram-grid { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.instagram-pick { position: relative; display: block; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4 / 5; background: #efe4d4; }
.instagram-pick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instagram-pick input { position: absolute; inset: 8px auto auto 8px; width: 22px; height: 22px; opacity: 0; }
.instagram-check { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: rgba(31, 22, 16, .35); color: transparent; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.instagram-pick input:checked ~ .instagram-check { background: #8a5a2b; color: #fff; }
.instagram-pick input:checked ~ img { outline: 3px solid #8a5a2b; outline-offset: -3px; }
.instagram-pick input:focus-visible ~ .instagram-check { outline: 3px solid #1f1610; outline-offset: 2px; }
.instagram-pick input:disabled ~ img { opacity: .45; }
.instagram-alt input { width: 100%; margin-top: 6px; font-size: .875rem; }
.instagram-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 12px 0; }
