/* CutMatch Hair — shared stylesheet for every page.
   Extracted from the original inline <style> block so the search page, the
   stylist profile pages and the business pages all inherit one design system
   instead of drifting apart. Colours, radii and shadows are unchanged. */
:root{
 --bg:#fbf7f5;--card:#fff;--ink:#211c1a;--muted:#746865;--line:#eadfdb;
 --brand:#7b5044;--brand2:#c89a8b;--soft:#f3e8e4;--ok:#2f7657;--warn:#8a6a1c;
 --shadow:0 14px 40px rgba(55,35,29,.10)
}
*{box-sizing:border-box} body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
button,input,select,textarea{font:inherit}
img{max-width:100%}
.wrap{max-width:1120px;margin:auto;padding:0 18px}
header{position:sticky;top:0;z-index:20;background:rgba(251,247,245,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(234,223,219,.8)}
.nav{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:900;font-size:23px;color:var(--ink);text-decoration:none}
.brand .brandName{white-space:nowrap}
.brand .brandName i{font-style:normal;font-weight:800;color:var(--brand)}
.logo{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center;flex:0 0 auto}
.navBtns{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.btn{border:0;border-radius:12px;padding:11px 14px;font-weight:800;cursor:pointer;text-decoration:none;display:inline-block;text-align:center;line-height:1.2}
.btn.primary{background:var(--brand);color:#fff}.btn.soft{background:var(--soft);color:#5b433d}.btn.ghost{background:transparent;color:#5b433d}
.btn.small{padding:8px 11px;font-size:13px;border-radius:10px}
.btn:disabled{opacity:.6;cursor:default}
main{padding:26px 0 60px}
.hero{background:linear-gradient(135deg,#fff,#f2e5e0);border:1px solid var(--line);border-radius:26px;padding:28px;box-shadow:var(--shadow)}
.hero h1{font-size:clamp(34px,6vw,58px);line-height:.98;letter-spacing:-1.6px;margin:0 0 14px;max-width:800px}
.hero p{font-size:17px;color:var(--muted);line-height:1.55;max-width:760px}
.searchgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:22px}
.field{display:flex;flex-direction:column;gap:7px}.field.wide{grid-column:span 2}.field.full{grid-column:1/-1}
label{font-size:12px;font-weight:850;color:#564944}
input,select,textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:13px;padding:13px 14px;color:var(--ink);outline:none}
textarea{min-height:86px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color:#cfaaa0;box-shadow:0 0 0 3px rgba(207,170,160,.22)}
.upload{margin-top:14px;padding:14px;border:1.5px dashed #cdb9b2;border-radius:16px;background:rgba(255,255,255,.55)}
.uploadRow{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.preview{width:84px;height:84px;object-fit:cover;border-radius:14px;border:1px solid var(--line);display:none}
.actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.tabs{display:flex;gap:8px;overflow:auto;padding:26px 0 12px;-webkit-overflow-scrolling:touch}
.tab{white-space:nowrap;border:1px solid var(--line);background:#fff;color:#5b433d;border-radius:999px;padding:10px 13px;font-weight:800;cursor:pointer}
.tab.active{background:var(--brand);color:white;border-color:var(--brand)}
.sectionHead{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:12px 2px 14px;flex-wrap:wrap}
.sectionHead h2{margin:0;font-size:26px}.sub{color:var(--muted);font-size:13px}
.results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:0 8px 24px rgba(55,35,29,.05);position:relative}
.top{display:flex;justify-content:space-between;gap:14px}
.person{display:flex;gap:12px;min-width:0}
.avatar{width:58px;height:58px;border-radius:16px;background:linear-gradient(135deg,#ead6cf,#f7efec);display:grid;place-items:center;font-weight:900;font-size:19px;color:var(--brand);flex:0 0 auto}
.name{font-size:18px;font-weight:900;line-height:1.2}
.name a{color:inherit;text-decoration:none}.name a:hover{text-decoration:underline}
.salon{font-size:13px;color:var(--muted);margin-top:2px;line-height:1.35}
.score{width:72px;height:72px;border-radius:50%;background:#f6eeeb;border:1px solid #ead7d0;display:grid;place-items:center;text-align:center;flex:0 0 auto}
.score b{font-size:21px}.score small{display:block;font-size:9px;font-weight:800;color:var(--muted)}
.pills{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}.pill{font-size:11px;font-weight:800;background:#f3ece9;color:#5e4942;border-radius:999px;padding:7px 9px}
.pill.on{background:var(--brand);color:#fff}
.reason{font-size:14px;color:#514744;line-height:1.45}
.whyMatch{font-size:13px;font-weight:800;color:#5c4038;background:#f6efec;border:1px solid #ecdfda;border-radius:12px;padding:10px 12px;margin:12px 0 0;line-height:1.4}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin-top:14px}
.metric{background:#faf7f5;border-radius:12px;padding:9px;text-align:center;overflow:hidden}
.metric b{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.metric span{font-size:9px;color:var(--muted)}
.metric.empty b{color:var(--muted);font-weight:700}
.profileBody h2{margin:0 0 4px}.profileBody p{line-height:1.5;font-size:14px}.profileBody .pills{margin:10px 0}.profileBody .actions a.btn{display:inline-block;text-decoration:none;text-align:center}
.cardBtns{display:flex;gap:8px;margin-top:14px;flex-wrap:wrap}.cardBtns .btn{flex:1 1 120px}
.claimBtn{width:100%;margin-top:8px;background:transparent;border:1px solid var(--line);color:#6b5651;border-radius:12px;padding:9px 12px;font-size:12px;font-weight:800;cursor:pointer}
.claimBtn:hover{background:var(--soft)}
.claimGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.claimGrid .full{grid-column:1/-1}
.checkRow{display:flex;align-items:flex-start;gap:10px;margin-top:14px;font-size:13px;color:#514744;line-height:1.4}
.checkRow input{width:18px;height:18px;flex:0 0 auto;margin-top:1px}
.formMsg{margin-top:12px;font-size:13px;line-height:1.45}.formMsg.err{color:#a33d2e}.formMsg.ok{color:var(--ok);font-weight:800}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
select.unset{color:var(--muted)}
.verified{display:inline-block;font-size:10px;font-weight:850;background:#e8f4ee;color:var(--ok);padding:6px 8px;border-radius:999px;margin-top:10px}
.sponsored{display:inline-block;font-size:10px;font-weight:850;background:#fff4d7;color:var(--warn);padding:6px 8px;border-radius:999px;margin-top:10px}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.badges .verified,.badges .sponsored{margin-top:0}
.panel{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;margin-top:16px}
.panel h3{margin-top:0}
.hidden{display:none!important}
.savedEmpty{padding:30px;text-align:center;border:1px dashed var(--line);border-radius:16px;color:var(--muted);background:white;grid-column:1/-1}
.savedEmpty a{color:var(--brand);font-weight:700}
.modal{position:fixed;inset:0;background:rgba(25,20,18,.45);display:grid;place-items:center;padding:18px;z-index:50}
.modalCard{width:min(620px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:22px;box-shadow:0 24px 80px rgba(0,0,0,.22);-webkit-overflow-scrolling:touch}
#cmFormHelp{margin:14px 0 0;line-height:1.5}
#cmFormHelp a{color:var(--brand);font-weight:700}
.close{float:right;background:#f3ece9;border:0;border-radius:10px;padding:8px 10px;font-weight:900;cursor:pointer}
.notice{background:#fff7e4;border:1px solid #ecdcb2;border-radius:14px;padding:13px;font-size:12px;color:#6d5a2d;line-height:1.45;margin-top:18px}
.notice summary{cursor:pointer;font-weight:850;list-style:none}
.notice summary::-webkit-details-marker{display:none}
.notice summary::after{content:" ▾";font-weight:900}
.notice[open] summary::after{content:" ▴"}
.notice .noticeBody{margin:9px 0 0;padding-left:18px}
.notice .noticeBody li{margin:4px 0}

/* --- Save (favourite) control ------------------------------------------- */
.heart{background:#fff;border:1px solid var(--line);border-radius:999px;width:38px;height:38px;display:grid;place-items:center;cursor:pointer;font-size:16px;line-height:1;color:#b9a49e;padding:0;flex:0 0 auto}
.heart:hover{background:var(--soft)}
.heart.on{color:#b4453a;border-color:#e7c5c0;background:#fdf1ef}
.cardTools{position:absolute;top:14px;right:14px;display:flex;gap:8px;z-index:2}
.card.hasTools .top{padding-right:46px}

/* --- Sort + filter bar ---------------------------------------------------- */
.controls{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;margin:0 0 16px;box-shadow:0 6px 18px rgba(55,35,29,.04)}
.controlsGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.controls label{display:block;margin-bottom:6px}
.controls select{padding:11px 12px;border-radius:12px}
.controlsFoot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px;flex-wrap:wrap}
.chipRow{display:flex;gap:7px;flex-wrap:wrap}
.chip{font-size:12px;font-weight:800;background:var(--soft);color:#5b433d;border:0;border-radius:999px;padding:7px 11px;cursor:pointer}
.chip:hover{background:#e9d9d3}
.chip b{font-weight:900}

/* --- Profile page --------------------------------------------------------- */
.profileHero{background:linear-gradient(135deg,#fff,#f2e5e0);border:1px solid var(--line);border-radius:26px;padding:26px;box-shadow:var(--shadow)}
.profileHero h1{margin:0;font-size:clamp(28px,5vw,42px);letter-spacing:-1px;line-height:1.05}
.profileHero .sub{font-size:15px;margin-top:8px}
.profileTop{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}
.profileTop .avatar{width:74px;height:74px;font-size:24px;border-radius:20px}
.profileCols{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;margin-top:18px;align-items:start}
.factRow{display:grid;grid-template-columns:150px 1fr;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px;line-height:1.5}
.factRow:last-child{border-bottom:0}
.factRow dt{font-weight:850;color:#564944;font-size:12px;text-transform:uppercase;letter-spacing:.4px;padding-top:2px}
.factRow dd{margin:0}
.factRow dd.missing{color:var(--muted)}
dl{margin:0}
.crumbs{font-size:13px;color:var(--muted);margin:0 0 14px}
.crumbs a{color:var(--brand);text-decoration:none;font-weight:700}
.crumbs a:hover{text-decoration:underline}
.ratingBlock{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.stars{color:#c99a2e;letter-spacing:2px;font-size:15px}
.starPick{display:flex;gap:6px;margin-top:6px}
.starPick button{background:#fff;border:1px solid var(--line);border-radius:12px;width:46px;height:44px;font-size:19px;cursor:pointer;color:#d8cbc6}
.starPick button.on{color:#c99a2e;border-color:#e6d3ac;background:#fffaf0}

/* --- Content / business pages --------------------------------------------- */
.doc{max-width:760px}
.doc h1{font-size:clamp(30px,5vw,44px);letter-spacing:-1.2px;margin:0 0 6px}
.doc h2{font-size:22px;margin:28px 0 8px}
.doc h3{font-size:17px;margin:20px 0 6px}
.doc p,.doc li{line-height:1.65;font-size:15px;color:#3f3733}
.doc ul,.doc ol{padding-left:20px}
.doc .lede{font-size:18px;color:var(--muted);line-height:1.6}
.doc a{color:var(--brand)}
.formCard{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 8px 24px rgba(55,35,29,.05);max-width:760px}

/* --- Footer --------------------------------------------------------------- */
footer{border-top:1px solid var(--line);margin-top:40px;padding:26px 0 40px;font-size:13px;color:var(--muted)}
.footGrid{display:flex;justify-content:space-between;gap:26px;flex-wrap:wrap}
.footLinks{display:flex;gap:18px;flex-wrap:wrap}
.footLinks a{color:#5b433d;text-decoration:none;font-weight:700}
.footLinks a:hover{text-decoration:underline}
.footMail{margin-top:6px}
.footMail a{color:#5b433d;text-decoration:none;font-weight:700}
.footMail a:hover{text-decoration:underline}
.footNote{margin-top:16px;line-height:1.6;max-width:760px}

@media(max-width:850px){
 .searchgrid{grid-template-columns:repeat(2,1fr)}
 .results{grid-template-columns:1fr}
 .field.wide{grid-column:span 2}
 .controlsGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profileCols{grid-template-columns:1fr}
}
@media(max-width:560px){
 .searchgrid{grid-template-columns:1fr}
 .claimGrid{grid-template-columns:1fr}
 .field.wide,.field.full{grid-column:auto}
 .hero{padding:20px}
 .hero h1{font-size:39px}
 .navBtns .btn.ghost{display:none}
 .metrics{grid-template-columns:repeat(2,1fr)}
 .controlsGrid{grid-template-columns:1fr}
 .brand{font-size:20px}
 .factRow{grid-template-columns:1fr;gap:2px}
 .modalCard{padding:18px;border-radius:18px}
 /* Full-width tap targets: a thumb should never have to hit a half-width button. */
 .cardBtns .btn{flex:1 1 100%}
 .btn{padding:13px 15px}
 .modal{padding:10px;align-items:end}
 .modalCard{max-height:94vh}
}

/* Profile panels now open with an h2 so a stylist page reads h1 -> h2 for a
   crawler. These two rules keep them looking exactly like the h3 they replaced. */
.panel h2{margin:0 0 1em;font-size:1.17em}

/* Server-rendered list of related stylists. The browser swaps it for the ranked
   cards once the full stylist list has loaded; until then (and for a crawler,
   which never clicks anything) it is a plain, readable list of real links. */
.seoLinkList{grid-column:1/-1;list-style:none;margin:0;padding:0;display:grid;gap:8px}
.seoLinkList li{font-size:14px;color:var(--muted);line-height:1.5}
.seoLinkList a{font-weight:600}
