[data-tj-profile-components], [data-tj-profile-form]{--tj-profile-accent:#ff1478;--tj-profile-ink:#111;--tj-profile-surface:#fff8e9}
.tj-profile-modal{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:22px;font-family:inherit}
.tj-profile-modal[hidden]{display:none!important}
.tj-profile-modal *,.tj-profile-modal *::before,.tj-profile-modal *::after{box-sizing:border-box}
.tj-profile-modal :is(.tj-cipe-grid,.tj-coipe-grid,.tj-profile-grid){align-items:start;min-width:0}
.tj-profile-modal :is(.tj-cipe-field,.tj-coipe-field){min-width:0;align-content:start}
.tj-profile-modal :is(.tj-cipe-field,.tj-coipe-field)>:is(input:not([type=checkbox]):not([type=hidden]):not([type=file]),select,textarea){max-width:100%;min-width:0;margin:0;line-height:1.4}
.tj-profile-modal :is(.tj-cipe-field,.tj-coipe-field)>:is(input:not([type=checkbox]):not([type=hidden]):not([type=file]),select){min-height:54px}
.tj-profile-contact-shell{position:relative;min-width:0;width:100%}
.tj-profile-modal .tj-profile-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.84);backdrop-filter:blur(3px)}
.tj-profile-modal .tj-profile-card{box-sizing:border-box;position:relative;z-index:2;width:min(820px,calc(100vw - 28px));max-height:calc(100dvh - 44px);overflow:auto;padding:26px;border:3px solid #111;background:#f2e7cb;color:#111;box-shadow:12px 12px 0 #ff1478}
.tj-profile-modal .tj-profile-card.is-wide{width:min(1180px,calc(100vw - 28px))}
.tj-profile-modal .tj-profile-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;padding-bottom:16px;border-bottom:3px solid #111}
.tj-profile-kicker{display:inline-block;margin-bottom:7px;padding:7px 9px;background:#ff1478;color:#fff;font-size:10px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.tj-profile-modal .tj-profile-head h2{margin:0;font-size:clamp(28px,4vw,48px);font-weight:900;line-height:1;text-transform:uppercase;overflow-wrap:anywhere}
.tj-profile-modal .tj-profile-close{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:0;background:#111;color:#fff;box-shadow:none;font-size:24px;font-weight:900;cursor:pointer}
.tj-profile-close:focus-visible{outline:3px solid #ff1478;outline-offset:4px}
[data-tj-profile-box]{position:relative}
[data-tj-profile-components] .tj-profile-edit{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;margin:0;padding:7px 11px;border:0;border-bottom:3px solid var(--tj-profile-accent);border-radius:0;background:var(--tj-profile-ink);color:#fff;box-shadow:none;font-family:inherit;font-size:12px;font-weight:800;line-height:1.2;text-transform:uppercase;cursor:pointer;z-index:8}
[data-tj-profile-components] .tj-profile-edit:focus-visible{outline:3px solid var(--tj-profile-accent);outline-offset:4px}
[data-tj-profile-components] .tj-profile-edit.is-cover{position:absolute;top:16px;right:16px}
[data-tj-profile-components] .tj-profile-edit.is-avatar{position:absolute;bottom:8px;right:8px}
[data-tj-profile-components] .tj-profile-edit.is-identity{margin-left:12px;vertical-align:middle}
[data-tj-profile-components] .tj-profile-edit.is-card{position:absolute;top:-15px;right:14px}
[data-tj-profile-components] .tj-profile-edit.is-professional{margin-left:auto}
[data-tj-profile-components] .tj-profile-edit.is-manage{position:static;margin-right:8px}
.tj-profile-field,.tj-profile-grid,.tj-profile-form-actions{box-sizing:border-box;min-width:0}
.tj-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.tj-profile-grid>.is-full,.tj-profile-grid>.tj-profile-help{grid-column:1/-1}
.tj-profile-field{display:flex;flex-direction:column;gap:9px}
.tj-profile-field>label{font-weight:800;font-size:15px;line-height:1.4}
.tj-profile-field :is(input:not([type=checkbox]):not([type=file]),textarea,select),.tj-ob-v1-field .tj-profile-control:not([type=checkbox]){box-sizing:border-box;width:100%;min-width:0;max-width:100%;padding:13px;border:2px solid #111;border-radius:0;background:#fff8e9;color:#111;font:inherit}
.tj-ob-v1-field{min-width:0;align-content:start}
.tj-ob-v1-field .tj-profile-control:not(textarea){min-height:54px}
.tj-ob-v1-field .tj-profile-control:focus-visible{outline:3px solid #ff1478;outline-offset:3px}
.tj-profile-field textarea{min-height:160px;resize:vertical}
.tj-profile-field :is(input,textarea,select):focus-visible{outline:3px solid #ff1478;outline-offset:3px}
.tj-profile-field .tj-profile-check{display:flex;align-items:flex-start;gap:10px}
.tj-profile-check input{flex:none;width:20px;height:20px;margin:0;accent-color:#ff1478}
.tj-profile-help{margin:4px 0 12px;color:#625e56;font-family:inherit;font-size:14px;font-weight:400;line-height:1.5;overflow-wrap:anywhere}
.tj-profile-form-actions{display:flex;justify-content:flex-end;gap:14px;margin-top:28px;padding-top:26px;border-top:3px solid #111}
.tj-profile-form-actions button{margin:0;padding:16px 24px;border:3px solid #111;border-radius:0;color:#111;background:transparent;font-family:inherit;font-size:14px;font-weight:800;line-height:1.3;text-transform:uppercase;cursor:pointer}
.tj-profile-form-actions .tj-profile-save{background:#ff1478;color:#fff;box-shadow:5px 5px 0 #111}
.tj-profile-form-actions .tj-profile-status{align-self:center;flex:1;font-size:14px;overflow-wrap:anywhere}
.tj-profile-phone .iti{width:100%}
.tj-profile-location-summary{display:flex;gap:10px;align-items:center;margin-top:10px;padding:10px;border:2px solid #111;overflow-wrap:anywhere}
.tj-profile-location-summary span{flex:none;padding:4px 6px;background:#111;color:#fff;font-size:10px;font-weight:800;text-transform:uppercase}
.tj-profile-location-summary strong{min-width:0}
.tj-profile-location label{display:block;font-weight:800;font-size:15px;margin-bottom:9px}
.tj-profile-field :is(.tj-cipe-social-row,.tj-coipe-social-row){min-width:0}
.tj-profile-form-actions button:focus-visible{outline:3px solid #ff1478;outline-offset:4px}
@media(max-width:600px){.tj-profile-grid{grid-template-columns:minmax(0,1fr)}.tj-profile-form-actions{flex-wrap:wrap}.tj-profile-form-actions button{flex:1;padding:13px 16px}[data-tj-profile-components] .tj-profile-edit.is-cover{top:10px;right:10px}}
@media(max-width:600px){.tj-profile-modal .tj-profile-card{padding:20px;max-height:calc(100dvh - 32px)}.tj-profile-modal{padding:16px}.tj-profile-head{gap:12px}.tj-profile-status{flex-basis:100%!important}}

/* Existing Universal Media Gallery button styling mapped to the shared Manage control. */

		.tj-upf-slot--featured .tj-profile-edit.is-manage{
			min-height:40px;
			padding:8px 13px;
			border:2px solid var(--tj-umg-cream);
			background:transparent;
			color:var(--tj-umg-cream)!important;
			box-shadow:none;
			text-decoration:none!important;
		}


		.tj-upf-slot--featured .tj-profile-edit.is-manage:hover,
		.tj-upf-slot--featured .tj-profile-edit.is-manage:focus-visible{
			background:var(--tj-umg-pink);
			border-color:var(--tj-umg-pink);
			color:#fff!important;
		}

/* Keep enhanced selects out of layout even when legacy field rules are more specific. */
.tj-profile-modal .tj-profile-card select.select2-hidden-accessible{position:absolute!important;width:1px!important;min-width:0!important;max-width:1px!important;height:1px!important;min-height:0!important;max-height:1px!important;padding:0!important;border:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
/* A Google component must not impose its intrinsic minimum on a narrow grid track. */
.tj-profile-location :is(.tj-cipe-google-location,.tj-coipe-google-location){min-width:0;grid-template-columns:minmax(0,1fr)}
.tj-profile-location :is(.tj-cipe-google-location-host,.tj-coipe-google-host),.tj-profile-location gmp-place-autocomplete{width:100%;max-width:100%;min-width:0}

/* Sponsored onboarding uses its own explanation instead of editable-choice help. */
.tj-ob-v1-field:has(> select#tj-ob-disciplines[disabled]) > .tj-ob-v1-help,
.tj-ob-v1-field:has(> select#tj-ob-disciplines[disabled]) > [data-tj-ob-tip="disciplines"],
.tj-ob-v1-field:has(> select#tj-ob-disciplines[disabled]) > .tj-ob-v1-label-row [data-tj-ob-tip-button="disciplines"] { display: none !important; }

/* Keep the onboarding form in normal flow above its progress footer. */
.tj-ob-v1 .tj-ob-v1-main > * { flex-shrink: 0; }
.tj-ob-v1 .tj-ob-v1-stage { flex: 1 0 auto; min-height: auto; }
