.master-services-empty{padding:16px;border:1px dashed var(--border);border-radius:12px;background:var(--surface);color:var(--muted);font-size:14px}.master-services-list{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-direction:column;gap:10px}.master-service-card{display:grid;grid-template-columns:96px 1fr auto;gap:12px;padding:12px;background:var(--surface);border:1px solid var(--border);border-radius:12px;align-items:start}.master-service-card:not(:has(.master-service-card__thumb)){grid-template-columns:1fr auto}.master-service-card__thumb{position:relative;width:96px;height:96px;border-radius:10px;overflow:hidden;background:var(--surface-2);flex-shrink:0}.master-service-card__thumb img{width:100%;height:100%;object-fit:cover;display:block}.master-service-card__thumb-badge{position:absolute;bottom:4px;right:4px;background:#000000b3;color:#fff;font-size:11px;font-weight:600;padding:2px 6px;border-radius:4px}.master-service-card__info{display:flex;flex-direction:column;gap:3px;min-width:0}.master-service-card__cat{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--primary);font-weight:600}.master-service-card__title{font-size:15px;color:var(--text);font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.master-service-card__price{font-size:14px;color:var(--text);font-weight:500}.master-service-card__desc{font-size:13px;color:var(--muted);margin:4px 0 0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.master-service-card__actions{display:flex;flex-direction:column;gap:6px}.btn-mini{padding:6px 12px;font-size:12px;font-weight:500;border-radius:6px;background:var(--bg);border:1px solid var(--border);color:var(--text);cursor:pointer;white-space:nowrap;transition:border-color .15s,color .15s}.btn-mini:hover{border-color:var(--primary);color:var(--primary)}.btn-mini--danger:hover{border-color:#dc2626;color:#dc2626}.master-service-form{background:var(--accent-soft, rgba(225, 90, 58, .06));border:1px solid var(--primary);border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:6px}.master-service-form h4{margin:0 0 6px;font-size:16px;font-weight:700}.master-service-form label{font-size:13px;font-weight:600;margin-top:8px}.master-service-form .input{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;box-sizing:border-box;background:var(--bg);color:var(--text)}.master-service-form__price-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}.master-service-form__price-row label{margin-top:0}.master-service-form__photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}.master-service-form__photo{position:relative;width:84px;height:84px;border-radius:8px;overflow:hidden;background:var(--surface-2)}.master-service-form__photo img{width:100%;height:100%;object-fit:cover}.master-service-form__photo-remove{position:absolute;top:2px;right:2px;width:24px;height:24px;min-width:24px;min-height:24px;max-width:24px;max-height:24px;flex:0 0 24px;aspect-ratio:1 / 1;box-sizing:border-box;padding:0;border-radius:50%;background:#0009;color:#fff;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;-webkit-appearance:none;appearance:none}.master-service-form__photo-remove svg{display:block;width:12px;height:12px;flex-shrink:0}.master-service-form__photo-add{width:84px;height:84px;border:2px dashed var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:26px;color:var(--muted);cursor:pointer;background:var(--bg);transition:border-color .15s,color .15s}.master-service-form__photo-add:hover:not(.is-uploading){border-color:var(--primary);color:var(--primary)}.master-service-form__photo-add.is-uploading{cursor:wait;opacity:.6}.master-service-form__actions{display:flex;gap:10px;margin-top:14px}.master-services-add{width:100%;padding:12px;font-weight:600}.master-profile-edit{width:100%;max-width:min(980px,100%);margin:0 auto;padding:var(--page-padding, 20px);padding-bottom:80px;box-sizing:border-box}.master-profile-edit-head{text-align:center;margin-bottom:28px}.master-profile-edit .back-btn{display:inline-block;background:none;border:none;color:var(--primary);cursor:pointer;font-size:14px;margin-bottom:16px;padding:6px 0;font-weight:500;transition:color .2s}.master-profile-edit .back-btn:hover{color:var(--primary-600);text-decoration:underline}.master-profile-edit-title{font-size:1.5rem;font-weight:700;color:var(--text);margin:0 0 8px;line-height:1.3}.master-profile-edit-subtitle{font-size:.9rem;color:var(--muted);max-width:420px;margin:0 auto}.master-profile-edit .loading{text-align:center;padding:3rem;color:var(--muted)}.no-master{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:28px;color:var(--muted);text-align:center;max-width:480px;margin:0 auto}.no-master p{margin-bottom:12px}.no-master p:last-child{margin-bottom:0}.master-edit-form{display:flex;flex-direction:column;gap:24px}.profile-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);padding:var(--space-5);box-shadow:var(--shadow-sm);position:relative;overflow:hidden}.profile-section:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--grad-accent);opacity:.85}.profile-section-title{font-size:var(--fs-lg);font-weight:700;color:var(--text);margin:0 0 var(--space-3) 0;padding-bottom:var(--space-2);border-bottom:1px dashed var(--border)}.profile-section .form-hint{font-size:13px;color:var(--muted);margin:0 0 14px}.profile-section .form-group{margin-bottom:0}.unp-row .unp-input-wrap{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.unp-row .unp-input-wrap .input{max-width:180px}.unp-check-btn{white-space:nowrap}.unp-info{font-size:13px;color:var(--muted);margin:4px 0 0}.attestation-type-row{display:flex;gap:8px;flex-wrap:wrap}.radio-label{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;font-size:14px;font-weight:500;color:var(--text);cursor:pointer;border:1px solid var(--border);border-radius:999px;background:var(--bg);transition:background var(--dur-base) var(--ease-out),border-color var(--dur-base) var(--ease-out),color var(--dur-base) var(--ease-out);user-select:none}.radio-label input[type=radio]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.radio-label:has(input[type=radio]:checked){background:var(--accent-soft, rgba(225, 90, 58, .12));border-color:var(--primary);color:var(--primary)}.radio-label:hover{border-color:var(--primary)}.profile-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-group-half{min-width:0}.form-group-half .input{width:100%}.master-edit-form .form-group{display:flex;flex-direction:column;gap:8px}.master-edit-form label{font-size:14px;font-weight:600;color:var(--text)}.master-edit-form .input{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius);font-size:15px;box-sizing:border-box;background:var(--bg);color:var(--text)}.master-edit-form .input:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px var(--ring)}.master-edit-about{min-height:100px;resize:vertical}.master-photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:12px;margin-bottom:16px}.master-photo-wrap{position:relative;aspect-ratio:1;border-radius:var(--radius);overflow:hidden;background:var(--surface-2)}.master-photo-thumb{width:100%;height:100%;object-fit:cover}.master-photo-remove{position:absolute;top:6px;right:6px;width:28px;height:28px;min-width:28px;min-height:28px;max-width:28px;max-height:28px;flex:0 0 28px;aspect-ratio:1 / 1;box-sizing:border-box;padding:0;border:none;border-radius:50%;background:#0009;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;-webkit-appearance:none;appearance:none;transition:background .2s}.master-photo-remove svg{display:block;width:14px;height:14px;flex-shrink:0}.master-photo-remove:hover{background:#000000d9}.master-edit-floating-save{position:fixed;right:16px;bottom:calc(76px + env(safe-area-inset-bottom,0px));z-index:90;display:inline-flex;align-items:center;gap:10px;padding:8px 8px 8px 14px;background:var(--surface);border:1px solid var(--border);border-radius:999px;box-shadow:0 8px 24px #0000002e;animation:master-edit-floating-save-in .22s cubic-bezier(.2,1.1,.4,1);max-width:calc(100vw - 32px)}@keyframes master-edit-floating-save-in{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}.master-edit-floating-save__text{font-size:13px;color:var(--text);font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.master-edit-floating-save__btn{flex-shrink:0;padding:8px 16px;font-size:13px;font-weight:600;border-radius:999px}@media(max-width:380px){.master-edit-floating-save__text{display:none}.master-edit-floating-save{padding:6px}}@media(min-width:900px){.master-edit-floating-save{bottom:24px}}.master-photos-add{margin-top:0;display:flex;flex-direction:column;align-items:stretch;gap:10px}.master-photos-upload-btn{width:100%;padding:12px 16px;font-size:14px;font-weight:600;text-align:center;cursor:pointer}.master-photos-url-toggle{align-self:center;display:inline-flex;align-items:center;gap:6px;background:none;border:none;color:var(--primary);font-size:13px;font-weight:500;cursor:pointer;padding:4px 8px}.master-photos-url-toggle:hover{text-decoration:underline}.master-photos-url-toggle:disabled{color:var(--muted);cursor:not-allowed}.master-photos-url-toggle--close{flex-shrink:0;color:var(--muted);align-self:stretch}.master-photos-url-row{display:flex;gap:8px;align-items:center}.master-photos-url-input{flex:1;min-width:0}.master-photos-buttons{display:flex;gap:8px;flex-shrink:0}.master-photos-btn{padding:10px 14px;font-size:13px;font-weight:500;white-space:nowrap;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface-2);color:var(--text);cursor:pointer;transition:background .2s,border-color .2s,color .2s}.master-photos-btn:hover:not(:disabled){background:var(--border);border-color:var(--primary);color:var(--primary)}.master-photos-btn:disabled{opacity:.5;cursor:not-allowed}.master-upload-label{cursor:pointer;margin:0}.profile-section .expandable-select{width:100%;gap:10px}.profile-section .expandable-select-search{min-height:44px;font-size:15px}.profile-section .expandable-section-header{min-height:52px;padding:12px 16px}.profile-section .expandable-section-title{font-size:15px;line-height:1.45}.profile-section .expandable-section-body{padding:0 12px 12px;gap:8px}.profile-section .expandable-select-option{min-height:46px;padding:11px 14px;font-size:15px;line-height:1.45;white-space:normal;word-break:break-word}.master-custom-service-row{display:flex;gap:8px;align-items:center}.master-custom-service-row .input{flex:1}.master-edit-form .form-group.youtube-fields{display:grid;gap:12px}.master-videos-list{display:grid;gap:12px;margin-bottom:12px}.master-video-preview{position:relative;width:100%;aspect-ratio:16 / 9;border-radius:var(--radius);overflow:hidden;background:#000}.master-video-preview iframe,.master-video-preview video{width:100%;height:100%;border:0;display:block}.master-video-remove{position:absolute;top:8px;right:8px;width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;flex:0 0 32px;aspect-ratio:1 / 1;box-sizing:border-box;padding:0;border:0;border-radius:50%;background:#000000a6;color:#fff;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;-webkit-appearance:none;appearance:none;z-index:2}.master-video-remove:hover{background:#000000d9}.master-video-upload-row{margin-top:12px;display:flex;justify-content:flex-start}@media(min-width:560px){.master-edit-form .form-group.youtube-fields,.master-videos-list{grid-template-columns:repeat(3,1fr)}}.master-edit-form .error{color:var(--danger, var(--danger));font-size:14px;text-align:center;margin:0}.form-submit-wrap{padding-top:16px;display:flex;justify-content:center}.btn-save{min-width:220px;padding:14px 32px;font-size:16px;font-weight:600;border-radius:var(--radius)}@media(max-width:480px){.profile-row{grid-template-columns:1fr}.master-profile-edit{padding-left:16px;padding-right:16px}.profile-section{padding:18px}.master-profile-edit-title{font-size:1.35rem}.services-accordion-head{min-height:52px;font-size:15px;padding:12px 14px}.services-accordion-body .checkbox-label{min-height:44px;font-size:14px}}@media(max-width:420px){.master-photos-row{flex-direction:column;align-items:stretch}.master-photos-buttons{justify-content:stretch}.master-photos-btn{flex:1}}.master-edit-avatar-row{display:flex;align-items:center;gap:16px;margin-bottom:16px;padding-bottom:16px;border-bottom:1px solid var(--border)}.master-edit-avatar-actions{display:flex;flex-direction:column;gap:6px;min-width:0}
