/* Social accounts have not been established for this preview's brand. */
a[aria-label^="TryTress on "] { display: none !important; }
a[aria-label^="TryTress "][href$="#"]{display:none!important}
html.tt-account-loading header a[href$="/login"] { visibility: hidden; }
.trytress-report-frame { position: relative; container-type: inline-size; }
.trytress-report-brand { position: absolute; z-index: 2; display: grid; place-items: center; overflow: hidden; background: #fbf8ef; color: #101e35; font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1; white-space: nowrap; pointer-events: none; }

/* Approved TryTress palette. Keep photographed colors and report images untouched. */
:root {
  --trytress-rose: #c96b8a;
  --trytress-rose-ink: #9b4664;
  --trytress-cream: #faf7f4;
  --trytress-charcoal: #282329;
  --background: var(--trytress-cream);
  --foreground: var(--trytress-charcoal);
  --card: #ffffff;
  --muted: #f3ece8;
  --muted-foreground: #746970;
  --border: #e8ded9;
  --primary: var(--trytress-rose);
  --primary-foreground: var(--trytress-charcoal);
  --accent: #f2e2e7;
  --accent-foreground: var(--trytress-rose-ink);
  --highlight: var(--trytress-rose);
  --highlight-foreground: var(--trytress-charcoal);
  --ring: var(--trytress-rose);
  color: var(--foreground);
  background-color: var(--background);
}
body { background-color: var(--background); color: var(--foreground); }
/* The landing page sets its original canvas inline. */
[style*="background-color:#fdf7f9"] {
  background-color: var(--trytress-cream) !important;
  background-image: radial-gradient(70% 55% at 50% -8%, rgb(201 107 138 / 7%), transparent 70%) !important;
  color: var(--trytress-charcoal) !important;
}
[class~="bg-[#fdf7f9]"] { background-color: var(--trytress-cream); }
[class~="bg-[#fdf7f9]/85"] { background-color: rgb(250 247 244 / 90%); }
[class~="bg-[#221b20]"] { background-color: var(--trytress-charcoal); }
[class~="text-[#221b20]"], [class~="text-[#2f1620]"], [class~="text-[#3a342f]"] { color: var(--trytress-charcoal); }
[class~="text-[#2f1620]/45"] { color: rgb(40 35 41 / 60%); }
[class~="text-[#ec4899]"], [class~="text-[#ff82a5]"] { color: var(--trytress-rose); }
[class~="text-[#ec4899]/60"] { color: var(--trytress-rose-ink); }
[class~="bg-[#ec4899]"], [class~="bg-[#ff82a5]"] { background-color: var(--trytress-rose); }
[class~="bg-[#ec4899]/10"] { background-color: rgb(201 107 138 / 10%); }
[class~="bg-[#ec4899]/15"] { background-color: rgb(201 107 138 / 15%); }
[class~="bg-[#ffe7e8]"] { background-color: #f2e2e7; }
[class~="border-[#f1dbe6]"], [class~="border-[#ffe7e8]"] { border-color: var(--border); }
[class~="border-[#f1dbe6]/70"] { border-color: rgb(232 222 217 / 75%); }
[class~="border-[#ec4899]/35"] { border-color: rgb(201 107 138 / 35%); }
[class~="border-[#ec4899]/55"] { border-color: rgb(201 107 138 / 55%); }
[class~="ring-[#f1dbe6]"] { --tw-ring-color: var(--border); }
[class~="from-[#f7f1fc]"], [class~="from-[#fdf1f6]"] { --tw-gradient-from: #f5eeeb; }
[class~="to-[#ec4899]"] { --tw-gradient-to: var(--trytress-rose); }
[class~="hover:bg-[#fdf7f9]"]:hover { background-color: var(--trytress-cream); }
[class~="hover:bg-[#f7f1fc]"]:hover, [class~="hover:bg-[#fdf1f6]"]:hover { background-color: var(--muted); }
[class~="hover:bg-[#ec4899]/10"]:hover { background-color: rgb(201 107 138 / 10%); }
[class~="hover:border-[#ec4899]/50"]:hover, [class~="hover:border-[#ff82a5]/50"]:hover { border-color: rgb(201 107 138 / 50%); }
[class~="hover:text-[#ec4899]"]:hover, [class~="hover:text-[#ff82a5]"]:hover { color: var(--trytress-rose-ink); }
[class~="hover:text-[#221b20]"]:hover, [class~="hover:text-[#2f1620]"]:hover { color: var(--trytress-charcoal); }
/* Small links use a deeper rose; primary actions retain a charcoal surface. */
a.text-primary, .article-body p a, .article-body li a { color: var(--trytress-rose-ink); }
:is(a,button)[class~="bg-primary"], :is(a,button)[class~="bg-[#ec4899]"] { background-color: var(--trytress-charcoal); color: #ffffff; }
.article-body { color: #514951; }
/* Match the existing standalone policy pages. */
a.brand { color: var(--trytress-rose); }
a.brand span { color: var(--trytress-charcoal); }
body:has(> header .brand) a:not(.brand) { color: var(--trytress-rose-ink); }
body:has(> header .brand) :is(header,footer) { border-color: var(--border); }
body:has(> header .brand) .summary { background: #f3ece8; border-color: var(--border); }
body:has(> header .brand) :is(.eyebrow,.updated,footer) { color: var(--muted-foreground); }
body:has(> header .brand) a:focus-visible { outline-color: var(--trytress-rose-ink); }
#preview-tools a { color: var(--trytress-rose-ink); }
[class~="from-[#f9a8d4]"] { --tw-gradient-from: #ddb0bf; }
[class~="to-[#ff82a5]"] { --tw-gradient-to: var(--trytress-rose); }
[class*="shadow-"][class*="236"] { --tw-shadow-color: rgb(201 107 138 / 22%); }
[class~="from-[#5a2740]"] { --tw-gradient-from: #51404a; }
[class~="via-[#f7b8d2]"] { --tw-gradient-via: #e8c6d1; }
[class~="text-[#ff9ec7]"] { color: #e8c6d1; }

/* The hair endpoint already explains local-only behavior; keep its CTA clear. */
body:has([data-hair-preview-end]) #preview-tools{display:none}

/* Shared native language selector, also present before application hydration. */
.tt-language-menu{position:relative;flex:none;font-family:Arial,sans-serif;font-size:12px;line-height:1.4;color:var(--trytress-charcoal);text-align:left}
.tt-language-menu summary{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:7px 10px;border:1px solid var(--border);border-radius:20px;background:var(--trytress-cream);cursor:pointer;list-style:none;white-space:nowrap}
.tt-language-menu summary::-webkit-details-marker{display:none}
.tt-language-menu summary:focus-visible,.tt-language-menu a:focus-visible{outline:2px solid var(--trytress-rose-ink);outline-offset:3px}
.tt-language-menu nav{position:absolute;z-index:80;right:0;top:calc(100% + 8px);display:grid;min-width:185px;padding:7px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 32px #28232920}
.tt-language-menu:not([open]) nav{display:none}
.tt-language-menu nav a{display:block;padding:10px 12px;border-radius:8px;color:var(--trytress-charcoal)!important;text-decoration:none;white-space:nowrap}
.tt-language-menu nav a:hover,.tt-language-menu nav a[aria-current=true]{background:var(--accent);color:var(--trytress-rose-ink)!important}
header:has(>.tt-language-menu){position:relative}
header.relative:has(>.tt-language-menu)>.tt-language-menu{position:absolute;right:16px;top:50%;transform:translateY(-50%)}
footer>.tt-language-menu{display:inline-block;margin-top:20px}
footer>.tt-language-menu nav{top:auto;bottom:calc(100% + 8px);right:auto;left:0}
@media(max-width:600px){.tt-language-menu summary{min-height:34px;padding:6px 8px;gap:4px}.tt-language-current{font-size:10px}header.relative:has(>.tt-language-menu)>.tt-language-menu{right:8px}.tt-language-menu summary>span:first-child{display:none}}

/* Public guide entrances use the same rose/cream studio palette. */
.tt-style-resources{margin:32px 0 48px;padding:32px 0;border-top:1px solid #e9dce0;border-bottom:1px solid #e9dce0;color:#2f1620}.tt-style-resources>.tt-resource-eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#91415e;font-weight:600}.tt-style-resources>h2{font-family:Georgia,serif;font-size:clamp(27px,3vw,38px);line-height:1.2;margin:12px 0}.tt-style-resources>p{max-width:720px;font-size:15px;line-height:1.7;color:#675d64}.tt-resource-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.tt-resource-grid article{display:flex;flex-direction:column;background:#fffdfb;border:1px solid #e9dce0;border-radius:18px;padding:24px;min-width:0}.tt-resource-number{color:#91415e;font-size:12px;font-weight:600}.tt-resource-grid h3{font-size:19px;line-height:1.35;font-weight:600;margin:12px 0}.tt-resource-grid p{font-size:14px;line-height:1.7;color:#675d64;margin:0 0 22px}.tt-resource-grid a{margin-top:auto;color:#91415e;text-decoration:underline;text-underline-offset:4px;font-size:14px;line-height:1.5}.tt-resource-grid a:focus-visible{outline:3px solid #91415e;outline-offset:5px}
@media(max-width:760px){.tt-resource-grid{grid-template-columns:1fr}.tt-style-resources{padding:26px 0;margin:20px 0 32px}.tt-resource-grid article{padding:22px}}
