/* tutti.immo — Recommandations : page de l'apporteur, pensée d'abord pour le téléphone. */
.trc { --trc-bg: #f4f5f7; --trc-card: #fff; --trc-text: #1f2937; --trc-muted: #6b7280; --trc-accent: #0f766e; --trc-ok: #047857; --trc-bad: #b91c1c;
	max-width: 640px; margin: 0 auto; padding: 16px; color: var(--trc-text); font-size: 16px; line-height: 1.45; }
.trc * { box-sizing: border-box; }
.trc-card { background: var(--trc-card); border-radius: 14px; padding: 18px; margin-bottom: 12px; box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.trc h1 { font-size: 1.35rem; margin: 4px 0 6px; }
.trc h2 { font-size: 1.1rem; margin: 0 0 10px; }
.trc-muted { color: var(--trc-muted); font-size: .92rem; }
.trc-commission { font-weight: 600; color: var(--trc-accent); }
.trc-success { background: #ecfdf5; color: var(--trc-ok); }
.trc-error { background: #fef2f2; color: var(--trc-bad); }
.trc-form label { display: block; margin-bottom: 10px; font-weight: 500; }
.trc-form input:not([type=checkbox]):not([type=radio]), .trc-form textarea { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 10px 12px;
	border: 1px solid #d1d5db; border-radius: 10px; font-size: 1rem; font-weight: 400; }
.trc-form input:focus, .trc-form textarea:focus { outline: 2px solid var(--trc-accent); outline-offset: 1px; }
.trc-grid { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .trc-grid { grid-template-columns: 1fr 1fr; } }
.trc-projects { border: 0; padding: 0; margin: 0 0 10px; }
.trc-projects legend { font-weight: 500; margin-bottom: 6px; }
.trc-chip { display: inline-block !important; margin: 0 6px 6px 0 !important; }
.trc-chip input { position: absolute; opacity: 0; }
.trc-chip span { display: inline-block; min-height: 44px; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 999px; cursor: pointer; }
.trc-chip input:checked + span { background: var(--trc-accent); border-color: var(--trc-accent); color: #fff; }
.trc-chip input:focus-visible + span { outline: 2px solid var(--trc-accent); outline-offset: 2px; }
.trc-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.trc-consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; }
.trc-field-error { display: block; color: var(--trc-bad); font-size: .9rem; font-weight: 400; margin-top: 2px; }
.trc-button { appearance: none; border: 0; border-radius: 12px; width: 100%; min-height: 52px; margin-top: 12px; background: var(--trc-accent); color: #fff;
	font-size: 1.05rem; font-weight: 600; cursor: pointer; }
.trc-wallet { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.trc-wallet div { flex: 1 1 120px; background: var(--trc-bg); border-radius: 10px; padding: 10px 12px; }
.trc-wallet strong { display: block; font-size: 1.2rem; }
.trc-list { list-style: none; margin: 0; padding: 0; }
.trc-list li { padding: 10px 0; border-top: 1px solid #e5e7eb; }
.trc-step { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #e5e7eb; font-size: .85rem; margin-right: 6px; }
.trc-step-concluded, .trc-step-paid { background: #d1fae5; color: var(--trc-ok); }
.trc-step-dropped { background: #f3f4f6; color: var(--trc-muted); }
.trc-step-pending_sector { background: #fef3c7; color: #92400e; }

/* 1.1.0 : inscription, connexion, espace ; couleurs reprises du thème « Cagnotte » quand il est actif. */
.trc { --trc-accent: var(--wp--preset--color--primary, #5b2bd9); --trc-gold: var(--wp--preset--color--accent, #f5a524); }
.trc-head { position: relative; background: linear-gradient(135deg, var(--trc-accent), #8b5cf6); color: #fff; }
.trc-head .trc-muted, .trc-head .trc-commission { color: rgb(255 255 255 / .9); }
.trc-head .trc-commission { display: inline-block; background: rgb(255 255 255 / .16); padding: 4px 12px; border-radius: 999px; }
.trc-logout { position: absolute; top: 14px; right: 16px; color: #fff !important; font-size: .88rem; opacity: .9; }
.trc-wallet div:first-child strong { color: var(--trc-accent); }
.trc-form select { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 10px;
	font-size: 1rem; font-weight: 400; background: #fff; }
.trc-form select:focus { outline: 2px solid var(--trc-accent); outline-offset: 1px; }
.trc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.trc-center { text-align: center; }
.trc a { color: var(--trc-accent); }
