@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--bg:#f6f5ef;--ink:#172c25;--muted:#5e6c63;--line:#dedfd5;--surface:#fffefb;--accent:#234b3b;--soft:#eaf0e8;--shadow:0 12px 32px #203a2810;font-family:"DM Sans",system-ui,sans-serif;background:var(--bg);color:var(--ink)}
*{box-sizing:border-box}
body{margin:0;min-height:100dvh;display:flex;flex-direction:column}
main{flex:1;min-height:65vh}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.6;cursor:wait}
:focus-visible{outline:3px solid #819b69;outline-offset:3px}
svg{width:20px;height:20px;flex:none}
.top{background:var(--surface);border-bottom:1px solid var(--line)}
.nav{max-width:1260px;margin:auto;padding:0 40px;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:0;font-family:Manrope,sans-serif;font-weight:800;font-size:25px;letter-spacing:-1.4px}
.brand>span:last-child{color:#557562}
.brand-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--accent);color:#ecf1e5;font-weight:600;font-size:27px;letter-spacing:0;margin-right:8px;line-height:1}
.nav-right,.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.nav-right{gap:25px;font-size:.9rem;font-weight:700}
.nav-demo{color:var(--muted)}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:43px;border-radius:10px;border:1px solid transparent;padding:9px 16px;font-weight:700;transition:background .16s,border-color .16s;text-align:center}
.button.small{min-height:36px;font-size:.875rem;padding:7px 13px}
.primary{background:var(--accent);color:white}
.primary:hover{background:#16372a}
.outline{background:var(--surface);border-color:var(--line);color:var(--accent)}
.outline:hover{background:var(--soft);border-color:#b1bfb0}
.profile{max-width:720px;margin:36px auto 56px;background:var(--surface);border:1px solid var(--line);border-radius:25px;overflow:hidden;box-shadow:var(--shadow)}
.cover{height:230px;position:relative;background:linear-gradient(125deg,#46634c,#142d23 70%)}
.cover-img,.avatar-img{width:100%;height:100%;object-fit:cover;display:block}
.cover-img{object-position:center 48%;filter:brightness(.82) saturate(.76)}
.share{position:absolute;right:16px;top:16px;width:42px;height:42px;display:grid;place-items:center;border-radius:50%;border:1px solid #fff8;background:#17332c9c;color:white;backdrop-filter:blur(9px)}
.identity{text-align:center;padding:0 22px 27px;position:relative}
.avatar{width:112px;height:112px;margin:-57px auto 12px;border:5px solid var(--surface);border-radius:50%;overflow:hidden;background:var(--soft);display:grid;place-items:center;font-size:2.4rem;font-weight:800;box-shadow:0 4px 12px #172c251c}
.avatar-img{object-position:center 42%}
.socials{display:flex;justify-content:center;gap:9px}
.socials:empty{display:none}
.socials a{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;border:1px solid var(--line);background:#f9f9f4}
.socials a:hover{background:var(--soft)}
h1,h2{font-family:Manrope,system-ui,sans-serif;margin:0;font-weight:800;color:var(--ink)}
h1{font-size:clamp(2rem,5vw,2.8rem);letter-spacing:-.055em;line-height:1.1;overflow-wrap:anywhere}
.identity h1{margin-top:12px}
.bio{margin:8px 0 11px;color:var(--muted)}
.contacts{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:.9rem}
.contacts a{display:inline-flex;align-items:center;gap:7px;max-width:100%;overflow-wrap:anywhere}
.contacts svg{width:15px;height:15px;color:#647c6c}
.link-section,.map-section,.address-section{padding:0 28px 24px}
.link-section h2,.map-section h2,.address-section h2{font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;color:#53665a;margin-bottom:10px}
.link-list{display:grid;gap:9px}
.profile-link{display:grid;grid-template-columns:38px 1fr 19px;align-items:center;gap:12px;padding:9px 13px;border:1px solid var(--line);border-radius:13px;background:#f9faf5;min-height:56px;transition:background .15s,border-color .15s}
.profile-link:hover{background:var(--soft);border-color:#aebcaf}
.link-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:var(--soft);color:var(--accent)}
.profile-link>svg,.map-card a svg:last-child{color:#637468;width:16px;height:16px;justify-self:end}
.map-card{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:#ecefe6}
.map-card iframe{display:block;width:100%;height:185px;border:0}
.map-card a{display:grid;grid-template-columns:20px 1fr 18px;gap:8px;align-items:center;padding:13px;background:var(--surface);font-weight:700;font-size:.9rem}
footer{display:grid;place-items:center;padding:0 16px 28px;color:#567562}
footer .brand{font-size:19px}
footer .brand-icon{width:25px;height:25px;font-size:20px;border-radius:7px}
.dashboard{width:min(960px,calc(100% - 32px));margin:44px auto 54px;display:grid;gap:15px}
.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:6px}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.13em;color:#557562;margin:0 0 6px}
.card,dialog{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:23px;box-shadow:var(--shadow)}
.card h2,dialog h2{font-size:1.25rem;margin-bottom:14px}
.editor h2:not(:first-child){margin-top:24px}
.auth{max-width:430px;margin:65px auto;padding:28px}
.auth h1{margin-bottom:20px}
.auth p{color:var(--muted)}
.auth p a{font-weight:700;text-decoration:underline}
form>label{margin-bottom:13px}
label{display:grid;gap:5px;font-size:.9rem;font-weight:700;min-width:0}
input,textarea,select{width:100%;padding:10px 12px;border:1px solid #cfd6cb;border-radius:8px;background:#fbfcf8;color:var(--ink);min-height:42px}
textarea{resize:vertical}
input:disabled{background:#eef0ea;color:#607065}
.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.check{display:flex;align-items:center;gap:8px;margin:16px 0}
.check input{width:auto;min-height:auto;accent-color:var(--accent)}
.edit-link{display:grid;grid-template-columns:40px 1fr 1.35fr 40px;gap:9px;align-items:end;margin-bottom:10px}
.remove{padding:0;font-size:1.35rem}
.feature,.address{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.feature{padding:11px 0;border-top:1px solid var(--line)}
.feature p,.muted{color:var(--muted);margin:4px 0;overflow-wrap:anywhere}
.address>div{min-width:0}
.address code{display:block;overflow-wrap:anywhere;color:var(--muted);font-size:.9rem;margin-top:5px}
.address+.address{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.profile-addresses .muted{margin-top:10px}
.admin-form{display:grid;grid-template-columns:1fr 145px 110px auto;gap:10px;align-items:end;padding:12px 0;border-top:1px solid var(--line)}
.admin-form label{margin:0}
.notice{grid-column:1/-1;margin:12px 0 0;padding:9px 12px;border-radius:8px;background:var(--soft);color:var(--ink)}
.notice.error{background:#f9e9e4;color:#822b20}
dialog{width:min(500px,calc(100% - 28px));color:var(--ink)}
dialog::backdrop{background:#12261db0}
.payment-text{white-space:pre-wrap;background:var(--soft);padding:12px;border-radius:8px;overflow-wrap:anywhere}
@media(max-width:760px){.nav{padding:0 16px;min-height:61px}.nav-right{gap:13px}.profile{margin:19px 12px 36px}.cover{height:clamp(135px,32vw,230px)}.link-section,.map-section,.address-section{padding-inline:17px}}
@media(max-width:510px){.nav-demo{display:none}.auth{margin:32px 12px}.dashboard{margin-top:27px}.card{padding:16px}.fields,.admin-form{grid-template-columns:1fr}.edit-link{grid-template-columns:36px minmax(0,1fr) 36px}.edit-link .grip{grid-row:1/3;align-self:center}.edit-link label{grid-column:2}.edit-link .remove{grid-column:3;grid-row:2}}

.image-field{min-width:0}
.image-field small{display:block;color:var(--muted);margin-top:6px}
.image-field .check{margin:8px 0 0}
.image-field input[type=file]{padding:7px}
.image-field input::file-selector-button{border:0;border-radius:6px;background:var(--soft);color:var(--accent);font:inherit;padding:5px 10px;margin-right:8px;cursor:pointer}

.sort-help{color:var(--muted);font-size:.875rem;margin:-4px 0 12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.grip{padding:0;touch-action:none;cursor:grab;user-select:none}
.dragging{background:var(--soft);border-radius:8px;outline:2px solid #9eaf9c}
.dragging .grip{cursor:grabbing}

.address-section p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.location-fields{display:grid;gap:12px;margin-top:16px}
.location-fields .check,.location-fields .sort-help{margin:0}
