.m-mode-name{display:block;color:#747b89;font-size:11px;font-weight:500;letter-spacing:0;line-height:1.2;margin-top:2px}
.top-right{gap:6px}.m-bell{position:relative;min-width:44px;min-height:44px}
.m-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:20px;background:var(--accent);color:white;font-size:10px;line-height:1;font-weight:700;flex:none}
.nav{position:relative}.nav>.m-badge{margin-left:auto}
.nav[data-do="nav:feed"]>.m-badge{background:#23805e}
body[data-admin=false] aside .hk-nav-icon{width:23px;height:23px;flex:none;stroke-width:1.65}
body[data-admin=false] aside .nav{color:#626b79;transition:color .15s ease}
body[data-admin=false] aside .nav.active{color:var(--accent);font-weight:600}
@media(max-width:620px){
 body[data-admin=false] aside{background:#fff;border-top:0;box-shadow:0 -3px 16px #24273508;padding:7px 6px max(7px,env(safe-area-inset-bottom));gap:0;align-items:stretch}
 body[data-admin=false] aside .nav{background:transparent;box-shadow:none;border-radius:8px;min-height:56px;padding:5px 1px;gap:5px;font-size:10px;font-weight:500;line-height:1.25}
 body[data-admin=false] aside .nav.active{background:transparent;box-shadow:none;font-weight:650}
 body[data-admin=false] aside .nav>span:not(.m-badge){white-space:nowrap;letter-spacing:-.1px;line-height:1.25}
 body[data-admin=false] aside .nav>.m-badge{top:0;left:calc(50% + 5px);border-color:#fff;font-size:9px;font-weight:650;min-width:18px;height:18px;padding:0 3px;max-width:32px}
}
.m-bell-count .m-badge{position:absolute;right:1px;top:1px;border:2px solid #fafafb;min-width:19px;height:19px}
.m-entry{max-width:440px;margin:50px auto;padding:0 20px}.m-entry h1{font-size:26px;margin-bottom:24px}
.m-entry-options{display:grid;gap:12px}.m-entry-option{display:flex;justify-content:flex-start;gap:14px;min-height:82px;border:0;border-radius:14px;padding:16px;background:white;box-shadow:var(--surface-shadow);font-size:17px;text-align:left}
.m-entry-option>svg{margin-left:auto;color:#8c94a2;width:18px}.m-entry-icon{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:12px;background:#fbedf2;color:#bd2559}.m-entry-icon svg{width:23px;height:23px}.m-entry-pro .m-entry-icon{background:#edf0ee;color:#222a29}.m-entry>p{font-size:12px;margin-top:16px}
.m-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:24px}
.m-services[data-searching=true]{grid-template-columns:minmax(0,1fr)}
.m-service{justify-content:space-between;text-align:left;min-height:54px;padding:12px;border:0;box-shadow:var(--surface-shadow);font-size:13px;line-height:1.4}
.m-service>span{min-width:0;overflow-wrap:anywhere}.m-service>svg{width:16px;height:16px;color:#939baa}
.m-section-heading{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin:18px 0 12px}.m-section-heading h2{margin:0;font-size:18px}.m-section-heading .btn{padding:8px;font-size:12px}
.m-draft{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.m-draft>span{min-width:0}
.m-mode-control{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0 0 16px;padding:0;background:transparent;max-width:600px}.m-mode-control small,.m-mode-control strong{display:block}.m-mode-control small{font-size:11px;margin-bottom:4px}.m-mode-control strong{font-size:14px}.m-mode-control .btn{border:0;box-shadow:var(--surface-shadow);background:white;font-size:12px;max-width:65%;text-align:left;min-height:44px}
.m-client-profile #profile-form h2,.m-client-profile #profile-form h3,.m-client-profile #profile-form .check,.m-client-profile #profile-form .field:has([name=city]),.m-client-profile #profile-form .field:has([name=about]),.m-client-profile #profile-form .field:has([name=experience_years]),.m-client-profile #profile-form hr{display:none}
.m-card-updates{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;font-size:11px;font-weight:600;color:var(--accent)}
.m-card-updates>span{display:inline-flex;padding:4px 6px;border-radius:6px;background:var(--soft)}
.o-card .m-new-tag{color:#237c59;background:#e7f6ef}
.m-profile-nudge{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid var(--line)}.m-profile-nudge p{font-size:12px;flex:1 1 180px;margin:0;color:#697181}.m-profile-nudge .btn{font-size:12px}
#m-new-orders:empty{display:none}.m-new-button{width:100%;margin:0 0 12px;border:0;background:#e7f6ef;color:#237c59}
.m-threads{display:grid;gap:8px}.m-thread{display:flex;align-items:flex-start;gap:12px;width:100%;min-width:0;padding:14px;background:white;border:0;border-radius:12px;box-shadow:var(--surface-shadow);color:inherit;text-align:left;font:inherit;cursor:pointer}
.m-order-update{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px;color:#697181}.m-order-update .btn{font-size:12px;min-height:44px}
.m-thread-body{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.m-thread-body strong{font-size:14px;line-height:1.4}.m-thread-title{font-size:12px;color:#626b7a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-thread-preview{font-size:13px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.m-thread-body small{font-size:10px}.m-thread>.m-badge{margin-top:2px}.m-thread .avatar{width:38px;height:38px;font-size:15px}
@media(max-width:620px){.top{gap:8px}.top-right{gap:4px}.top-right .m-bell{min-width:44px;min-height:44px}.nav>.m-badge{position:absolute;top:1px;left:calc(50% + 4px);margin:0;border:2px solid #fafafb;min-width:19px;height:19px}.nav>span:not(.m-badge){max-width:100%;line-height:1.25}.m-services{margin-bottom:20px}.m-mode-control{padding:0}.m-mode-control .btn{max-width:100%}.m-entry{margin-top:34px}}
@media(prefers-reduced-motion:reduce){.m-entry-option{transition:none}}

.j-update-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 12px;font-size:12px;color:#697181;border-bottom:1px solid var(--line)}.j-update-bar .btn{font-size:12px;min-height:44px}

.hk-nav-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}

/* Bottom navigation: the chosen tab is raspberry; each icon plays its own short spring when pressed (class hk-go, see nav-history-ui.js). */
body[data-admin=false] aside .nav.active,.cx-client aside .nav.active{color:#bd2559}
@media(prefers-reduced-motion:no-preference){
body[data-admin=false] aside .nav:active :is(.es-system-icon,.cx-nav-art,svg){transform:scale(.9);transition:transform .1s}
.hk-go[data-do="nav:home"] :is(.es-system-icon,.cx-nav-art,svg){animation:hk-land .55s cubic-bezier(.3,.7,.3,1);transform-origin:50% 100%}
.hk-go:is([data-do="nav:orders"],[data-do="nav:feed"],[data-do="nav:responses"]) :is(.es-system-icon,.cx-nav-art,svg){animation:hk-swing .7s ease-in-out;transform-origin:50% 0}
.hk-go[data-do="nav:inbox"] :is(.es-system-icon,.cx-nav-art,svg){animation:hk-talk .6s ease-in-out;transform-origin:15% 90%}
.hk-go[data-do="nav:wallet"] :is(.es-system-icon,.cx-nav-art,svg){animation:hk-rattle .55s cubic-bezier(.3,.7,.3,1);transform-origin:50% 100%}
.hk-go[data-do="nav:explore"] :is(.es-system-icon,.cx-nav-art,svg){animation:hk-zoom .5s cubic-bezier(.3,.7,.3,1);transform-origin:40% 40%}
.hk-go[data-do="nav:profile"] :is(.es-system-icon,.cx-nav-art,svg){animation:hk-spin .6s cubic-bezier(.3,.7,.3,1)}
}
@keyframes hk-land{35%{transform:translateY(-5px)}65%{transform:scale(1.1,.88)}85%{transform:scale(.97,1.03)}}
@keyframes hk-swing{20%{transform:rotate(14deg)}45%{transform:rotate(-10deg)}70%{transform:rotate(5deg)}90%{transform:rotate(-2deg)}}
@keyframes hk-talk{25%{transform:rotate(-12deg) scale(1.08)}55%{transform:rotate(8deg)}80%{transform:rotate(-2deg)}}
@keyframes hk-rattle{20%{transform:translateY(-3px) rotate(-6deg)}40%{transform:translateY(-3px) rotate(6deg)}60%{transform:translateY(-1px) rotate(-4deg)}80%{transform:scale(1.06,.94)}}
@keyframes hk-zoom{40%{transform:scale(1.3)}}
@keyframes hk-spin{to{transform:rotate(360deg)}}
