:root{font-family:system-ui,-apple-system,Segoe UI,sans-serif;color:var(--color-text);background:var(--color-bg);font-size:16px}*{box-sizing:border-box}body{margin:0}.makeup-shell{max-width:960px;margin:0 auto;padding:32px 24px}.brand{color:var(--color-primary);font-weight:700;letter-spacing:.06em}h1{font-size:clamp(24px,4vw,36px);line-height:1.2}h2{font-size:22px}h3{font-size:18px}header,section,form{margin-bottom:24px}section,form{background:white;border:1px solid var(--color-border);border-radius:16px;padding:20px}nav{display:flex;flex-wrap:wrap;gap:16px}a{color:var(--color-primary);overflow-wrap:anywhere}p,pre{line-height:1.6}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}label{display:block;font-weight:600}input,select,textarea{display:block;width:100%;margin:8px 0 12px;border:1px solid var(--color-border);border-radius:8px;padding:11px;font:inherit;background:white}textarea{min-height:90px}input[type=checkbox]{display:inline;width:auto;margin-right:8px}button{font:inherit;background:var(--color-primary);color:white;padding:11px 17px;border:0;border-radius:8px;cursor:pointer;margin:5px 8px 5px 0}button.secondary{background:var(--color-primary-soft);color:var(--color-primary)}button:disabled{opacity:.5;cursor:wait}.notice{background:var(--color-primary-soft);border-radius:10px;padding:15px;line-height:1.6}#message{color:var(--color-danger);white-space:pre-wrap}#message.success{color:var(--color-ok)}.photo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.photo-grid img{max-width:100%;height:180px;object-fit:cover;border-radius:12px}.photo-grid article{min-width:0}.area-picker{position:relative}.area-picker-clear{position:absolute;right:0;top:2px}.area-picker-results{position:relative;list-style:none;padding:0;max-height:300px;overflow:auto;border:1px solid var(--color-border);background:white}.area-picker-results li{padding:12px;cursor:pointer;border-bottom:1px solid var(--color-border)}.area-picker-results li:focus,.area-picker-results li:hover{background:var(--color-primary-soft)}.area-picker-results span{display:block}.area-picker-results .badge{font-size:12px;color:var(--color-muted)}.muted,small{color:var(--color-muted)}footer{font-size:13px;color:var(--color-muted);padding:30px 0}dl{display:grid;grid-template-columns:1fr 2fr;gap:8px}dd{margin:0;overflow-wrap:anywhere}.actions{display:flex;flex-wrap:wrap;gap:8px}#credential{background:#f8edc8;overflow-wrap:anywhere;padding:16px}table{width:100%;border-collapse:collapse}td,th{padding:8px;text-align:left;overflow-wrap:anywhere}@media(max-width:600px){.makeup-shell{padding:22px 14px}.grid{grid-template-columns:1fr}section,form{padding:16px}.full{grid-column:1}dl{grid-template-columns:1fr}dd{margin-bottom:12px}button{width:100%;margin-right:0}nav{font-size:14px;gap:12px}}
[hidden]{display:none!important}.area-picker-clear{width:auto!important;padding:5px 9px;background:var(--color-primary-soft);color:var(--color-primary);top:7px;right:5px;margin:0}

#captcha-field{min-width:0;margin:0 0 20px;padding:16px;border:1px solid var(--color-border);border-radius:12px}
#captcha-field legend{padding:0 6px;font-weight:600}
.captcha-controls{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:8px 0 16px}
#captcha-image{display:block;width:240px;max-width:100%;height:auto;flex:0 1 auto}
#captcha-refresh{width:auto;max-width:100%;margin:0;flex:0 0 auto}

.makeup-brand{display:flex;align-items:center;gap:10px;margin-bottom:24px;color:var(--color-text)}.makeup-brand-name{font-size:23px;font-weight:800;letter-spacing:-.8px}.makeup-shell button:hover{background:var(--color-primary-hover);color:#fff}.makeup-shell button.secondary:hover,.makeup-shell .area-picker-clear:hover{background:var(--color-primary-soft);color:var(--color-primary)}.makeup-shell input:focus,.makeup-shell select:focus,.makeup-shell textarea:focus{outline:2px solid var(--color-primary);outline-offset:2px}

.service-selection{min-width:0;margin:0;padding:16px;border:1px solid var(--color-border);border-radius:12px}.service-selection legend{padding:0 6px;font-weight:600}.service-selection>p{margin-top:0}#service-choice[aria-busy=true]{opacity:.6;pointer-events:none}

.selected-services{display:grid;gap:10px}.selected-service{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-primary-soft)}.selected-service>div{min-width:0;overflow-wrap:anywhere}.selected-service strong,.selected-service small{display:block}.selected-service small{margin-top:4px}.selected-service button{flex:0 0 auto;width:auto;margin:0}

.review-performed-services{margin:0 0 18px;padding:10px 12px;background:var(--color-primary-soft);border-radius:8px;color:var(--color-primary);font-weight:600;line-height:1.6;overflow-wrap:anywhere}

.review-star-picker{display:flex;gap:6px;align-items:center;width:max-content;max-width:100%;margin:14px 0 6px}.review-star{position:relative;display:block;width:44px;height:48px;flex:0 0 44px}.review-star-base,.review-star-fill{display:block;height:48px;font-size:0;pointer-events:none}.review-star-base::before,.review-star-fill::before{content:'';display:block;width:44px;height:48px;clip-path:polygon(50% 5%,62% 35%,96% 38%,70% 60%,78% 94%,50% 76%,22% 94%,30% 60%,4% 38%,38% 35%)}.review-star-base::before{background:#cbd5d1}.review-star-fill{position:absolute;left:0;top:0;width:0;overflow:hidden}.review-star-fill::before{background:#e7a410}.review-star-hit{position:absolute;top:0;width:50%;height:100%;margin:0;cursor:pointer}.review-star-hit.is-left{left:0}.review-star-hit.is-right{right:0}.makeup-shell .review-star-hit input[type=radio]{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;outline:none;box-shadow:none}.review-star-hit:focus-within{outline:none;box-shadow:none}.review-star:has(input:focus-visible){filter:drop-shadow(0 0 3px #a66d00)}.review-star-score{display:block;font-weight:700;margin:4px 0 6px;color:var(--color-primary)}

.review-thanks{max-width:720px;margin:24px auto;padding:42px 36px;text-align:center;background:linear-gradient(150deg,#fff 65%,#edf7f3);border:1px solid #dceae4;border-radius:24px;box-shadow:0 12px 36px rgba(24,86,68,.06)}.review-thanks-icon{display:grid;place-items:center;width:68px;height:68px;margin:0 auto 20px;border-radius:50%;background:#e0f2e9;color:#196e5b;font-size:34px;font-weight:700}.review-thanks-eyebrow{margin:0 0 10px;color:#196e5b;font-size:12px;font-weight:700;letter-spacing:2px}.review-thanks h2{max-width:520px;margin:0 auto 16px;font-size:clamp(25px,4vw,32px);line-height:1.3}.review-thanks-description{max-width:530px;margin:0 auto 20px;color:var(--color-muted)}.review-thanks-booking{display:inline-block;padding:7px 14px;background:#f0f5f2;border-radius:24px;font-size:13px;color:#496258}.review-thanks-list{margin:28px 0;text-align:left;border-top:1px solid #e0e9e4}.review-thanks-person{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-bottom:1px solid #e0e9e4}.review-thanks-person strong,.review-thanks-person div>span{display:block}.review-thanks-person div>span{margin-top:4px;color:var(--color-muted);font-size:14px}.review-thanks-received{flex-shrink:0;color:#196e5b;font-size:13px;font-weight:600}.review-thanks-actions{display:flex;align-items:center;justify-content:center;gap:22px;flex-wrap:wrap;margin-top:28px}.review-thanks-actions a{font-size:14px}.review-thanks-primary{display:inline-block;padding:12px 22px;background:#196e5b;color:#fff;border-radius:10px;text-decoration:none;font-weight:600}.review-thanks-primary:hover{background:#125443;color:#fff}@media(max-width:600px){.review-thanks{padding:28px 20px;border-radius:18px}.review-thanks-person{align-items:flex-start;gap:8px;flex-direction:column}.review-thanks-actions{gap:16px}.review-thanks-primary{width:100%}}

#estimate .intake-estimate-details{display:grid;grid-template-columns:minmax(140px,190px) minmax(0,1fr);gap:10px 20px;margin:0;line-height:1.6}#estimate .intake-estimate-details dt{color:#496258}#estimate .intake-estimate-details dd{margin:0;font-weight:600}#estimate .intake-estimate-note{margin:16px 0 0;line-height:1.7}#estimate .intake-estimate-details+.intake-estimate-note{padding-top:14px;border-top:1px solid rgba(25,110,91,.15)}@media(max-width:480px){#estimate .intake-estimate-details{grid-template-columns:1fr;gap:3px}#estimate .intake-estimate-details dd{margin-bottom:10px}}

.makeup-date-control{position:relative;margin:8px 0 12px}.makeup-date-control #makeup-date-display{margin:0;padding-right:52px}.makeup-date-control .makeup-date-native{position:absolute;bottom:0;left:0;width:1px;height:1px;padding:0;margin:0;opacity:0;pointer-events:none}.makeup-date-control #makeup-date-open{position:absolute;right:5px;top:50%;transform:translateY(-50%);width:38px;height:36px;padding:0;margin:0;background:transparent;color:var(--color-primary);font-size:25px}
/* UX-AUDIT mobile — form dat lich cong khai */
.makeup-date-field{display:flex;flex-direction:column;min-width:0}
.makeup-date-field>label{margin:0}
.makeup-date-control #makeup-date-open{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;font-size:0}
.makeup-date-control #makeup-date-open:hover,.makeup-date-control #makeup-date-open:focus-visible{background:#eef6f3}
input[name="start_time"]{font-variant-numeric:tabular-nums}
.makeup-legacy{border:1px dashed var(--color-border);border-radius:10px;padding:0 14px}
.makeup-legacy summary{cursor:pointer;padding:12px 0;font-weight:600;color:var(--color-primary)}
.makeup-legacy[open]{padding-bottom:12px}
.makeup-legacy-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.makeup-upload[hidden]{display:none}
.makeup-upload-title{margin:0 0 8px;font-weight:600}
.makeup-upload-title span{font-weight:400;color:#566a65;font-size:14px}
.makeup-upload-actions{display:flex;flex-wrap:wrap;gap:10px}
.makeup-upload-button{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 18px;margin:0;border:1.5px dashed var(--color-primary);border-radius:10px;background:#fff;color:var(--color-primary);font-weight:600;cursor:pointer;overflow:hidden}
.makeup-upload-button:hover{background:#eef6f3}
.makeup-upload-button:focus-within{outline:3px solid rgb(23 107 91/30%);outline-offset:2px}
.makeup-upload-button .makeup-file{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.makeup-upload-button .makeup-file:disabled{cursor:not-allowed}
#reference-preview:empty{display:none}
#captcha-field{background:#fafcfb}
#captcha-image{border:1px solid var(--color-border);border-radius:8px;background:#fff}
.captcha-answer input{max-width:220px;font-size:20px;letter-spacing:.2em;text-transform:uppercase;text-align:center}
#captcha-field p{margin:6px 0 0;font-size:14px;color:#566a65}
.makeup-submit{width:100%;min-height:52px;font-size:17px}
.makeup-submit-help{font-size:14px;color:#566a65;text-align:center}
@media (max-width:640px){
  .makeup-legacy-grid{grid-template-columns:1fr}
  .makeup-upload-button{flex:1 1 100%}
  .captcha-controls{flex-direction:column;align-items:stretch}
  #captcha-image{width:100%}
  #captcha-refresh{width:100%;min-height:44px}
  .captcha-answer input{max-width:none}
}
@media (hover:hover) and (pointer:fine){.makeup-upload-camera{display:none}}
#reference-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:10px}
#reference-preview article{display:flex;flex-direction:column;gap:4px;margin:0;padding:6px;border:1px solid var(--color-border);border-radius:10px;background:#fff;min-width:0}
#reference-preview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px;height:auto}
#reference-preview p{margin:0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#reference-preview button{width:100%;min-height:36px;margin:0;padding:0 8px;font-size:13px;background:#fff;color:#a12b2b;border:1px solid #e3c4c4}
#captcha-refresh{background:#fff;color:var(--color-primary);border:1px solid var(--color-primary)}

/* Advisor — đánh giá CTV nhóm theo dịch vụ, không còn ô tick */
.review-service-group{margin:0 0 18px}.review-service-title{margin:0 0 10px;padding:10px 12px;background:var(--color-primary-soft);border-radius:8px;color:var(--color-primary);font-size:15px;font-weight:700;line-height:1.5;overflow-wrap:anywhere}
form .review-person{padding:14px 18px 16px;margin:0 0 12px;border-radius:12px}form .review-person:last-child{margin-bottom:0}.review-person-name{margin:0;font-size:17px}
