/* Harmonisation des pages de l'atelier avec les maquettes de référence.
   Source visuelle : index, résultats, fiche lieu, espace personnel. */
:root{--x-paper:#fff;--x-cream:#faf9f6;--x-pale:#f5f2eb;--x-ink:#252321;--x-text:#514b43;--x-muted:#716c64;--x-gold:#a88749;--x-line:#e7e0d5}
.tv-page-wrap{background:var(--x-cream);color:var(--x-ink);min-height:75vh}
.tv-page-shell{max-width:1170px}
.tv-page-shell a{color:#866832}
.tv-page-title{color:#27231c;font-family:'Cormorant Garamond',Georgia,serif;font-weight:500}
.tv-kicker{color:#997c42}
.tv-page-lead{color:#6d675f}
.tv-page-card{background:#fff;color:var(--x-ink);border:1px solid var(--x-line);box-shadow:0 5px 22px rgba(45,32,13,.035)}
.tv-page-card h2,.tv-page-card h3{font-family:'Cormorant Garamond',Georgia,serif;color:#29241e;font-weight:500}
.tv-page-card p,.tv-page-card li{color:#625c53}
.tv-page-card strong{color:#66502b}
.tv-page-card a{color:#856937}
.tv-tag{background:#f5eee2;color:#806735}
.tv-page-form label{color:#3f3930;font-weight:600}
.tv-page-form input,.tv-page-form select,.tv-page-form textarea{background:#fff;color:#29251e;border:1px solid #d9d1c2}
.tv-page-form input::placeholder,.tv-page-form textarea::placeholder{color:#888176}
.tv-page-form input:focus-visible,.tv-page-form select:focus-visible,.tv-page-form textarea:focus-visible{outline:2px solid #b9995d}
.tv-form-result{background:#f6f1e5;border:1px solid #d7c39b;color:#56482d}
.tv-faq-list details{background:#fff;border:1px solid #e4dccf}
.tv-faq-list summary{color:#302a22}
.tv-faq-list details p{color:#625a4f}
.tv-article{background:#fff;border:1px solid #e7dfd2;box-shadow:0 6px 25px #2d22100a}
.tv-article h2{color:#29241e;font-family:'Cormorant Garamond',Georgia,serif}
.tv-article p{color:#6d675f}
.tv-article-body{color:#38332d}
.tv-article-body h2{color:#745a2c}
.tv-book-steps span{background:#fff;color:#6e6251;border:1px solid #e1d7c9}
.tv-book-steps .is-active{background:#c5a45e;color:#201b13}
.tv-book-choice label{background:#fff;color:#39332b;border-color:#dcd1bf}
.tv-book-choice label:has(input:checked){background:#f8f1e4;border-color:#b9995e}
.tv-book-money>div{background:#fff;border-color:#e3d9c9}
.tv-book-money small{color:#746d62}
.tv-book-money strong{color:#87682f}
.tv-booking-caution{background:#f8f3e9;color:#65573b}
.tv-payment-mock{background:#fff;border-color:#e1d7c5}
.tv-payment-mock h3{color:#29241d}
.tv-payment-mock p{color:#625b51}
.tv-private-rate{color:#8a692e}
.tv-callout{background:#f7f0e4;color:#6b542e;border:1px solid #d9c69d}
.tv-booking-card{background:#fff;border:1px solid var(--x-line)}
.tv-booking-card h3{color:#29241d}
.tv-booking-card p{color:#6a6358}
.tv-booking-status{color:#866c3c}
.tv-booking-money small{color:#777067}
.tv-booking-money strong{color:#8f713b}
.tv-page-wrap .tv-demo-button{color:#1e1b15}
.tv-page-wrap .tv-muted-button{color:#927340!important;border-color:#c8b68f!important}
.tv-page-wrap .tv-date-pick{background:#fff;color:#2b271f;border-color:#e6ded1}
.tv-page-wrap .tv-date-pick strong{color:#2a251f}
.tv-page-wrap .tv-date-pick small{color:#786f64}
.tv-page-wrap .tv-date-pick p{color:#937341}
.tv-page-wrap .tv-booking-intro{background:#fff;color:#322b22;border-color:#e5dccd}
.tv-page-wrap .tv-booking-intro strong{color:#92723b}
.tv-page-wrap .tv-booking-intro span{color:#625b51}
.tv-page-wrap .tv-degressive-panel,.tv-page-wrap .tv-detail-payment-note{background:#fff;color:#29241d;border-color:#e5dccd}
.tv-page-wrap .tv-degressive-panel h3,.tv-page-wrap .tv-detail-payment-note strong{color:#29241d}
.tv-page-wrap .tv-degressive-panel p,.tv-page-wrap .tv-detail-payment-note p{color:#6b6358}
.tv-page-wrap .tv-degressive-panel strong{color:#806330}
.tv-footer-atelier{background:#faf9f6;border-top:1px solid #e8e1d5;color:#786e61}
.tv-footer-atelier a{color:#846736}
/* Support accessible throughout the marketplace */
.tv-help-float{position:fixed;z-index:840;right:22px;bottom:20px;display:inline-flex;align-items:center;gap:10px;padding:12px 17px;border:1px solid #baa16b;border-radius:100px;background:#fff;color:#584624!important;text-decoration:none;box-shadow:0 7px 30px #2c221526;font:600 13px Inter,Arial,sans-serif}
.tv-help-float:hover,.tv-help-float:focus-visible{background:#faf1dc;outline:2px solid #b79a61;outline-offset:2px}
.tv-help-float svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8}
.tv-help-cta{border:1px solid #e1d8c9;background:#fff;padding:22px 26px;border-radius:11px;margin:30px 0;display:flex;align-items:center;justify-content:space-between;gap:24px}
.tv-help-cta strong{display:block;color:#29241e;font:500 24px 'Cormorant Garamond',Georgia,serif}
.tv-help-cta p{margin:5px 0 0;font:14px/1.65 Inter,Arial,sans-serif;color:#746b60}
.tv-help-cta a{display:inline-flex;text-decoration:none!important;background:#c5a45e;color:#221b12!important;border-radius:7px;padding:12px 16px;font-size:13px;font-weight:700;white-space:nowrap}
.tv-support-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px;align-items:start}
.tv-support-side{background:#f5f0e7;border:1px solid #e4dac7;border-radius:12px;padding:25px}
.tv-support-side h2{font:500 26px 'Cormorant Garamond',Georgia,serif;color:#28231e;margin:0 0 10px}
.tv-support-side p{font-size:14px;line-height:1.7;color:#625a4e}
.tv-support-form{max-width:none}
.tv-support-form .tv-page-card{padding:28px}
.tv-support-note{font-size:12px;color:#777067;line-height:1.6}
.tv-contact-success{display:none;margin-top:16px;padding:18px;border-radius:8px;background:#f5f1e8;border:1px solid #d9c8aa;color:#604d30}
.tv-contact-success.is-visible{display:block}
/* Messaging, booked visit, booking dossier, profile controls */
.tv-mail-layout{display:grid;grid-template-columns:270px minmax(0,1fr);background:#fff;border:1px solid #e5ded4;border-radius:12px;overflow:hidden;min-height:450px}
.tv-mail-list{background:#fbfaf7;border-right:1px solid #e8e1d7;padding:18px 12px}
.tv-mail-list h3{margin:0 9px 15px;color:#342d24}
.tv-mail-item{display:block;width:100%;border:1px solid #decba4;border-radius:8px;background:#fff;text-align:left;padding:14px;cursor:pointer;color:#3a3328}
.tv-mail-item strong{display:block;font-size:13px}.tv-mail-item small{display:block;color:#777066;margin-top:6px;line-height:1.45}
.tv-mail-badge{display:inline-block;background:#c5a45e;color:#231c11;font-size:11px;border-radius:30px;padding:3px 8px;margin-top:8px;font-weight:700}
.tv-mail-thread{display:flex;flex-direction:column;min-width:0}
.tv-thread-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 22px;border-bottom:1px solid #ede6da}
.tv-thread-top h3{font:500 24px 'Cormorant Garamond',Georgia,serif;margin:0 0 4px;color:#2d281f}
.tv-thread-top p{margin:0;font-size:12px}
.tv-thread-list{padding:22px;display:flex;flex-direction:column;gap:15px;min-height:315px;max-height:470px;overflow:auto}
.tv-chat-row{display:flex;flex-direction:column;max-width:87%;gap:5px;align-self:flex-start}
.tv-chat-row.mine{align-self:flex-end}
.tv-chat-bubble{background:#f6f3ed;border:1px solid #ebe5db;border-radius:11px 11px 11px 3px;padding:13px 16px;font-size:13px;line-height:1.7;color:#39352e;white-space:pre-wrap;overflow-wrap:anywhere}
.tv-chat-row.mine .tv-chat-bubble{background:#efe4cf;border-color:#e2d3b5;border-radius:11px 11px 3px 11px}
.tv-chat-row.is-unread .tv-chat-bubble{border-color:#b79458;box-shadow:inset 3px 0 0 #c5a45e}
.tv-chat-meta{font-size:10px;color:#887e71}
.tv-thread-reply{border-top:1px solid #ece5db;padding:17px 22px;display:grid;gap:9px}
.tv-thread-reply label{font-size:12px;font-weight:700;color:#625a50}
.tv-thread-reply textarea{width:100%;min-height:80px;border:1px solid #d8cdbd;border-radius:8px;padding:12px;background:#fff;color:#2b271f;resize:vertical;font:13px/1.5 Inter,Arial,sans-serif}
.tv-thread-reply .tv-action{justify-self:start}
.tv-visit-card{display:grid;grid-template-columns:200px minmax(0,1fr);gap:24px;background:#fff;border:1px solid #e5ded4;border-radius:12px;overflow:hidden}
.tv-visit-card img{width:100%;height:100%;min-height:235px;object-fit:cover}
.tv-visit-main{padding:22px 22px 22px 0}.tv-visit-main h3{font:500 30px 'Cormorant Garamond',Georgia,serif;margin:8px 0;color:#2c261e}
.tv-visit-main p{margin:6px 0}.tv-visit-date{font-size:17px;font-weight:700;color:#866a39}
.tv-state-pill{display:inline-block;border-radius:99px;padding:6px 11px;background:#f2ead8;color:#7c5f2e;font-size:11px;font-weight:700}
.tv-booking-card{padding:25px;color:#332d26}
.tv-booking-card h3{margin:6px 0}
.tv-booking-card .tv-booking-money{margin:20px 0}
.tv-booking-details{margin-top:22px;padding:24px;background:#fbf9f5;border:1px solid #e8e0d3;border-radius:10px}
.tv-booking-details h4{font-size:15px;color:#493d2d;margin:0 0 13px}
.tv-booking-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px 20px;margin-bottom:24px}
.tv-booking-detail-grid div{font-size:13px;color:#4b443c}.tv-booking-detail-grid span{display:block;color:#897e70;font-size:11px;margin-bottom:4px}
.tv-booking-details a{color:#84652c}
.tv-booking-details p{color:#655d52!important}
.tv-booking-details[hidden]{display:none}
.tv-booking-card .tv-action{margin-top:8px}
.tv-profile-extras{display:grid;gap:18px;margin-top:20px}
.tv-profile-box{background:white;border:1px solid #e7dfd5;border-radius:11px;padding:24px}
.tv-profile-box h3{margin:0 0 10px!important}
.tv-profile-box p{margin:0 0 18px!important}
.tv-profile-opt{display:flex;align-items:flex-start;gap:12px;color:#4b443b;font-size:13px;line-height:1.6;cursor:pointer}
.tv-profile-opt input{accent-color:#9e7d43;width:18px;height:18px;margin-top:2px}
.tv-danger-button{cursor:pointer;padding:11px 16px;border:1px solid #ba857c;background:white;color:#9e3f32;border-radius:7px;font-weight:700;font-size:12px}
.tv-danger-zone{border-color:#ecd4ce}
.tv-delete-confirm{margin-top:15px;padding:15px;background:#fff6f4;border:1px solid #eed3cd;border-radius:9px}
.tv-delete-confirm p{font-size:12px;color:#785b54}
.tv-inline-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:13px}
.tv-profile-feedback{margin-top:12px;color:#6d5834;font-size:12px}
@media(max-width:850px){.tv-support-layout{grid-template-columns:1fr}.tv-mail-layout{grid-template-columns:1fr}.tv-mail-list{border-right:0;border-bottom:1px solid #e7ded4}.tv-mail-list h3{margin-bottom:8px}}
@media(max-width:640px){.tv-help-cta{display:block;padding:18px}.tv-help-cta a{margin-top:14px}.tv-help-float{right:12px;bottom:12px;padding:11px 14px;font-size:12px}.tv-visit-card{grid-template-columns:1fr}.tv-visit-card img{height:170px;min-height:0}.tv-visit-main{padding:5px 18px 22px}.tv-booking-detail-grid{grid-template-columns:1fr}.tv-booking-card{padding:18px}.tv-thread-top{padding:15px}.tv-thread-list{padding:15px}.tv-thread-reply{padding:15px}.tv-chat-row{max-width:95%}}
@media(prefers-reduced-motion:reduce){.tv-help-float{transition:none}}

.tv-state-pill{align-self:flex-start;flex:none;white-space:nowrap;display:inline-flex;align-items:center;font-size:11px;line-height:1.35;padding:7px 11px}
