@font-face{font-family:Inter;src:url('fonts/InterVariable.woff2') format('woff2');font-weight:100 900;font-display:swap}
body,button,input,select,textarea{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
/* Dimensions and surfaces copied from the approved redesign/style.css.
   App state, semantic controls and permissions remain in the existing renderer. */
body:not(.large-text){font-size:15px;line-height:1.45}
body:not(.chat-view):not(.map-view) #app>.main{max-width:1240px;width:100%;padding:28px 24px 60px;min-height:0}
body:not(.chat-view) #app>.header{display:flex;align-items:center;flex-wrap:nowrap;gap:14px;min-height:72px;height:72px;padding:0 max(24px,calc((100% - 1240px)/2 + 24px));background:var(--surface);border-bottom:1px solid var(--line);box-shadow:none;position:sticky;top:0;z-index:15}
#app>.header .demo-pill{display:none}
#app>.header .logo{font-size:24px;letter-spacing:-.5px;font-weight:800;gap:10px;flex-shrink:0;order:0}
#app>.header .location{order:1;min-height:36px;padding:8px 12px;gap:6px;font-size:15px;margin:0}
#app>.header .location svg{width:20px;height:20px}
#app>.header .location>svg:last-child{width:14px}
#app>.header .role-wrap{display:contents}
#app>.header .roles{order:2;margin-left:auto;width:auto;min-width:0;border-radius:999px;padding:4px;gap:0;flex-shrink:0}
#app>.header .roles button{padding:9px 18px;min-height:40px;line-height:22px;gap:8px;font-size:15px;flex:none}
#app>.header .roles svg{width:20px;height:20px}
#app>.header .nav{order:3;gap:4px;padding:0;flex-shrink:0}
#app>.header .nav button{padding:9px 12px;min-height:40px;font-size:15px;gap:8px}
#app>.header .nav svg{width:20px;height:20px}
#app>.header .nav .nav-create{background:transparent;color:var(--muted)}
#app>.header .nav .nav-create.active{background:var(--accent-soft);color:var(--accent)}
#app>.header .nav .nav-notice,#app>.header .nav .nav-profile,#app>.header .nav .nav-short{display:none}
#app>.header .header-right{order:4;margin:0;gap:10px}
#app>.header .header-right :is(.avatar,.iconbtn){width:42px;height:42px;min-height:42px;font-size:16px}
#app>.header :is(.profile-header-title,.create-header-back){display:none!important}
#app>.main .heading{margin:0 0 18px}
#app>.main .heading h1,.create-heading h1{font-size:32px;line-height:1.2;letter-spacing:-.8px}
#app>.main .heading .lead{font-size:15px;line-height:1.45;margin-top:8px}
#app>.main .panel{padding:22px}
#app>.main .panel h2{font-size:18px;letter-spacing:-.3px}
#app>.main .panel h3{font-size:16px}
body:not(.chat-view) .demo-foot{max-width:1240px;margin:0 auto;padding:0 24px 26px;border:0}
.redesign-orders-columns{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.redesign-orders-aside{display:grid;gap:16px}
.redesign-orders-aside .steps{display:grid;margin:14px 0 0;gap:14px}
.redesign-orders-aside .step h3{font-size:14px}
.redesign-orders-aside .step p{font-size:13px}
.redesign-orders-aside .step-num,.redesign-sec-title .step-num{width:28px;height:28px;min-width:28px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--accent-soft);color:var(--accent);font-size:13px;font-weight:700}
.redesign-response{display:flex;width:100%;gap:12px;align-items:center;text-align:left;padding:12px 0;border-bottom:1px solid var(--line)}
.redesign-response .avatar{width:42px;height:42px;flex:none}
.redesign-response>span:nth-child(2){min-width:0;flex:1}
.redesign-response strong{font-size:14px}
.redesign-response small{display:block;font-size:12px;color:var(--muted)}
.redesign-response b{font-size:14px;white-space:nowrap}
.order-counters{gap:12px;margin-bottom:18px}
.order-counter{padding:16px;border-radius:18px}
.order-counter strong{font-size:26px}
.order-counter span{font-size:13px}
.redesign-orders-columns,.orders-heading{
  --order-secondary:#47566c;--order-heading:#101d31;
  --reply-fill:#fff0df;--reply-border:#f3d6b4;--reply-ink:#953b09;--status-ink:#953c06;
  --order-shadow:0 1px 2px #182a4410,0 7px 20px #24395a12
}
:root[data-color-mode="dark"] :is(.redesign-orders-columns,.orders-heading){
  --order-secondary:var(--muted);--order-heading:var(--ink);
  --reply-fill:#3e2b1f;--reply-border:#775139;--reply-ink:#ffc28f;--status-ink:var(--reply-ink);--order-shadow:var(--shadow)
}
.orders-heading .lead,.order-counters .order-counter span,
.compact-order-row .order-step,.compact-order-tags .tag{color:var(--order-secondary)}
.compact-order-row .compact-order-title{color:var(--order-heading);font-weight:750}
.compact-order-row .order-symbol[data-category]{color:var(--order-icon);background:var(--order-tile)}
:root[data-color-mode="dark"] .compact-order-row .order-symbol[data-category]{
  color:color-mix(in srgb,var(--order-icon) 35%,white);
  background:color-mix(in srgb,var(--order-icon) 22%,var(--surface))
}
.compact-order-row .status.warm{background:var(--reply-fill);color:var(--status-ink)}
.order-counter.has-replies{background:var(--reply-fill);box-shadow:inset 0 0 0 1px var(--reply-border)}
.order-counters .has-replies :is(strong,span){color:var(--reply-ink)}
#main .orders-create-cta{background:#ff821e;color:#251707;box-shadow:0 5px 14px #ca610c27}
.redesign-response:nth-of-type(3n+1) .avatar{--reply-avatar-bg:#fff0dc;--reply-avatar-ink:#963e07}
.redesign-response:nth-of-type(3n+2) .avatar{--reply-avatar-bg:#def4ec;--reply-avatar-ink:#116847}
.redesign-response:nth-of-type(3n) .avatar{--reply-avatar-bg:#ebe3fc;--reply-avatar-ink:#6730a7}
.redesign-response .avatar{background:var(--reply-avatar-bg);color:var(--reply-avatar-ink)}
:root[data-color-mode="dark"] .redesign-response .avatar{
  background:color-mix(in srgb,var(--reply-avatar-ink) 36%,var(--surface));
  color:var(--reply-avatar-bg)
}
.order-row.compact-order-row{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;padding:14px;border:1px solid transparent;border-radius:20px;gap:14px;box-shadow:var(--order-shadow)}
.order-list{gap:12px}
.order-row.compact-order-row .order-symbol,.order-row.compact-order-row .order-thumbnail{width:58px;height:58px;border-radius:16px}
.order-row.compact-order-row .compact-order-copy{grid-column:auto;grid-row:auto;gap:8px}
.compact-order-title{font-size:16px;line-height:1.35;font-weight:700}
.order-row.compact-order-row .compact-order-bottom{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;align-items:flex-end;padding:0;border:0;gap:4px;max-width:180px}
.order-row.compact-order-row .amount{font-size:18px;line-height:1.3;text-align:right;overflow-wrap:anywhere}
.order-row.compact-order-row .order-step{font-size:12px}
.redesign-step-bar{display:flex;gap:4px;max-width:240px;margin-top:2px}
.redesign-step-bar i{height:4px;background:var(--line);flex:1;border-radius:2px}
.redesign-step-bar i.on{background:var(--accent)}
.profile-view .redesign-profile-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}
.redesign-profile-primary,.redesign-profile-settings{display:grid;gap:16px;min-width:0}
.profile-view #main .profile-summary{position:relative;padding:68px 22px 22px;overflow:hidden}
.profile-view #main .profile-summary::before{content:"";position:absolute;inset:0 0 auto;height:110px;background:radial-gradient(300px 160px at 90% 0,rgba(255,122,26,.4),transparent 70%),linear-gradient(135deg,#1E40AF,#3B82F6)}
.profile-view #main .profile-summary[data-profile-role=worker]::before{background:radial-gradient(300px 160px at 90% 0,rgba(37,99,235,.45),transparent 70%),linear-gradient(135deg,#0E9AA7,#12A150)}
.profile-view #main .profile-identity{align-items:center;gap:16px;flex-wrap:nowrap;position:relative}
.profile-view #main .profile-identity .avatar.big{width:78px;height:78px;border:5px solid var(--surface);font-size:34px;flex:none}
.profile-view #main .profile-identity>div{margin-top:48px;flex:1;min-width:0}
.profile-view #main .profile-identity h2{font-size:24px;letter-spacing:-.4px}
.profile-view #main .profile-edit{margin-top:48px;min-height:42px;padding:10px 14px;gap:8px}
.profile-view #main .profile-summary>.divider{margin:18px 0 0;border:0}
.profile-view #main .profile-stats{gap:12px;margin-top:0}
.profile-view #main .profile-stats>*{padding:16px;border-radius:18px;background:var(--bg)}
.profile-view #main .profile-stats strong{font-size:26px;line-height:1.2}
.profile-view #main .profile-stats>*>span{font-size:13px;margin-top:4px}
.profile-view #main .profile-summary>.tiny{display:none}
.profile-role-panel .roles{display:flex!important;width:max-content;max-width:100%;margin-top:12px;padding:3px}
.profile-role-panel .roles button{font-size:14px;min-height:40px;padding:8px 16px}
.profile-role-panel .roles svg{display:none}
.profile-role-panel .create-field-hint{margin-top:10px}
.profile-view #main .profile-settings-panel{padding:10px 22px}
.profile-settings-panel .settings-row{padding:11px 0;gap:14px;min-height:62px}
.profile-settings-panel .settings-row>svg:first-child{width:38px;height:38px;padding:9px;box-sizing:border-box;border-radius:12px;background:var(--accent-soft);color:var(--accent)}
.profile-settings-panel .settings-row[data-settings-action=notifications]>svg:first-child{background:var(--cta-soft);color:var(--cta)}
.profile-settings-panel .settings-row[data-settings-action=privacy]>svg:first-child,.profile-settings-panel .settings-row[data-settings-action=security]>svg:first-child{background:var(--ok-soft);color:var(--ok)}
.profile-settings-panel .settings-row strong{font-size:15px;font-weight:600}
.profile-settings-panel .settings-row p{font-size:13px;margin-top:2px}
.profile-settings-panel .settings-row>svg:last-child{width:20px;height:20px;color:#98a2b3}
.profile-section .profile-empty{margin:16px 0;color:var(--muted);font-size:14px}
.profile-view #main .profile-role-panel h2{font-size:18px}
.profile-view .profile-signout{width:100%;justify-content:center;color:var(--danger);padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:14px}
.customer-home .create-layout{grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.create-heading{margin:0 0 8px}
.create-heading .create-back{display:none}
.create-page-lead{margin:0 0 18px;color:var(--muted);font-size:15px;line-height:1.45}
.guided-create{gap:16px}
#main .create-section{padding:22px;margin:0}
.redesign-sec-title{display:flex;align-items:center;gap:10px;font-size:18px!important;margin:0 0 18px}
#main .create-task-section .order-voice-field{margin-top:0;border:1px solid var(--line);background:var(--surface);min-height:130px;border-radius:14px}
#main .create-task-section textarea{min-height:130px;padding:14px 16px 48px;font-size:15px;background:transparent}
#main .create-section-hint{font-size:13px;margin:6px 0 18px;color:var(--muted)}
#main .create-category{margin-top:0;margin-bottom:18px}
#main .create-photo-add{padding:16px;border:1.5px dashed #c7d7f6;background:#f7faff;border-radius:16px;gap:10px;font-size:15px;font-weight:600}
#main .create-photo-add>svg{width:40px;height:40px;padding:9px;background:#fff;border-radius:50%;grid-row:1/3}
#main .create-photo-add .create-photo-hint{font-size:13px;font-weight:400}
#main .create-price-field{margin:0 0 12px}
#main .create-price-field .price-input{border:1px solid var(--line);background:var(--surface);min-height:52px;border-radius:14px;padding:0 16px}
#main .create-price-field .price-input input{font-size:17px}
#main .create-price-field .price-entry-hint{font-size:15px}
.redesign-price-options{display:flex;flex-wrap:wrap;gap:8px}
.redesign-price-options .chip{min-height:38px;padding:9px 13px;font-size:14px;border-radius:12px}
.redesign-price-options .chip.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
#main .create-location-field{margin:0 0 18px}
#main .create-date-row{margin:0;border:1px solid var(--line);border-radius:14px;padding:10px 14px;font-size:15px}
.redesign-create-submit{position:sticky;bottom:16px;display:flex;align-items:center;gap:16px;border-radius:20px;padding:12px 12px 12px 22px;background:var(--ink);color:var(--surface);box-shadow:0 14px 30px #0f1b2d4d;z-index:3}
.redesign-submit-summary{flex:1;min-width:0}
.redesign-submit-summary strong{display:block;font-size:15px}
.redesign-submit-summary small{display:block;font-size:12px;opacity:.7}
.redesign-create-submit .create-submit{width:auto;min-height:48px;margin:0;padding:12px 20px;flex:none;font-size:15px}
.redesign-create-submit>.create-submit-hint,.redesign-create-submit>.form-foot{display:none}
.redesign-create-submit>.error{color:#fff;background:#b42318}
.customer-home .aside{padding-top:69px}
.customer-home .aside .steps{background:var(--surface);padding:22px;border-radius:22px;box-shadow:var(--shadow)}
.worker-home #app>.main{padding-top:24px}
/* Keep the compact panel dimensions independent of the chosen palette. */
:root{--search-start:#1e40af;--search-mid:#2563eb;--search-end:#3b82f6}
:root:is([data-theme=green],[data-theme=plum],[data-theme=sand]){
  --search-start:var(--button-hover);--search-mid:var(--button-bg);
  --search-end:color-mix(in srgb,var(--button-bg) 88%,white)
}
:root[data-color-mode=dark]:is([data-theme=blue],:not([data-theme])){
  --search-start:#1b3573;--search-mid:#234c98;--search-end:#275da9
}
.worker-search-panel{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:12px 16px;margin:0 0 20px;border-radius:28px;
  border:1px solid transparent;color:white;
  background:radial-gradient(600px 300px at 92% 0%,rgba(255,122,26,.15),transparent 70%),
    linear-gradient(135deg,var(--search-start),var(--search-mid) 55%,var(--search-end))
}
.worker-search-panel #worker-hero-title{
  margin:0;min-width:0;color:inherit;font-size:24px;font-weight:800;
  line-height:1.35;letter-spacing:-1px;overflow-wrap:anywhere
}
.worker-search-panel .search{
  flex:0 1 55%;min-width:0;max-width:640px;height:60px;margin:0;
  padding:0 7px 0 16px;border:1px solid var(--surface);border-radius:18px;
  background:var(--surface);color:var(--ink);box-shadow:0 4px 12px #10245b25
}
.worker-search-panel .search input{min-width:0;color:var(--ink)}
.worker-search-panel .search>svg{color:var(--muted)}
.worker-search-panel input:placeholder-shown{text-overflow:ellipsis}
#main .worker-search-panel .search-submit{background:#ff7a1a;color:#182234;box-shadow:none}
#main .worker-search-panel .search-submit:hover{background:#ff8c3d;filter:none}
.worker-search-panel .search:focus-within{outline:2px solid white;outline-offset:2px}
@media(min-width:821px){
  .worker-search-panel{padding-inline-end:48px}
}
@media(max-width:820px){
  .worker-search-panel{margin-bottom:16px;border-radius:22px}
  .worker-search-panel .search{height:54px;border-radius:15px}
}
@media(max-width:650px){
  .worker-search-panel{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .worker-search-panel #worker-hero-title{font-size:17px;letter-spacing:-.5px}
  .worker-search-panel .search{width:100%}
}
body.large-text .worker-search-panel #worker-hero-title{font-size:28px}
@media(max-width:650px){body.large-text .worker-search-panel #worker-hero-title{font-size:20px}}
.worker-home .filterbar{margin:0 0 22px;padding-bottom:4px;gap:10px}
.worker-home .task-body{padding:18px}
.worker-home .task-body h3{font-size:17px}
.worker-home .task-body p{font-size:14px;line-height:1.45}
.worker-home .task-foot .primary{background:var(--accent-soft);color:var(--accent);font-size:15px}
.worker-home .task:first-child .task-foot .primary{background:var(--accent);color:var(--on-accent)}
@media(min-width:821px) and (max-width:1200px){
  #app>.header .location{display:none}
  #app>.header .roles button{padding-inline:12px}
  #app>.header .nav button{padding-inline:9px}
  #app>.header{gap:10px}
}
@media(max-width:820px){
  body:not(.chat-view):not(.map-view) #app>.header{height:118px;min-height:118px;padding:0 16px 58px;gap:8px}
  #app>.header .logo,.compact-title-view #app>.header .logo{display:flex;font-size:20px;gap:8px}
  #app>.header .location{display:none!important}
  #app>.header .header-right{margin-left:auto}
  #app>.header .header-right [data-action=notifications]{display:none}
  #app>.header .header-right .avatar{width:42px;height:42px}
  #app>.header .roles{position:absolute;top:68px;left:16px;right:16px;width:auto;margin:0;height:42px;padding:4px}
  #app>.header .roles button{flex:1;justify-content:center;padding:6px 12px;font-size:15px;min-height:34px;line-height:22px}
  body:not(.chat-view):not(.map-view) #app>.main{padding:18px 16px 110px}
  #app>.header .nav,body:not(.chat-view) #app>.header .nav{position:fixed;top:auto;left:12px;right:12px;bottom:calc(12px + var(--app-safe-bottom));display:flex;justify-content:space-between;gap:0;padding:8px;border:0;border-radius:24px;background:var(--surface);box-shadow:0 10px 30px #10182829;z-index:20}
  #app>.header .nav button{flex:1;min-height:52px;display:flex;flex-direction:column;padding:4px 2px;gap:3px;font-size:11px}
  #app>.header .nav button.active{background:transparent;color:var(--accent)}
  #app>.header .nav .nav-notice,#app>.header .nav .nav-profile{display:flex}
  #app>.header .nav .nav-short{display:inline}
  #app>.header .nav .nav-wide{display:none}
  #app>.header .nav .nav-create{order:initial;flex:none;width:52px;height:52px;min-height:52px;margin:0;background:var(--cta);color:white;box-shadow:0 8px 18px #ff7a1a66;border-radius:18px}
  #app>.header .nav .nav-create svg{width:26px;height:26px}
  #app>.header .nav button:not(.nav-create)>svg{width:20px;height:20px}
  #app>.main .heading h1,.create-heading h1{font-size:26px;line-height:1.2;letter-spacing:-.5px}
  .redesign-orders-columns,.profile-view .redesign-profile-grid,.customer-home .create-layout{grid-template-columns:minmax(0,1fr);gap:24px}
  .redesign-orders-aside .steps{display:grid}
  .order-row.compact-order-row{grid-template-columns:52px minmax(0,1fr);padding:14px;gap:12px 14px}
  .order-row.compact-order-row .order-symbol,.order-row.compact-order-row .order-thumbnail{width:52px;height:52px}
  .order-row.compact-order-row .compact-order-bottom{grid-column:1/-1;flex-direction:row;align-items:baseline;max-width:none;padding-top:10px;border-top:1px dashed var(--line);gap:10px}
  .order-row.compact-order-row .amount{font-size:18px;text-align:left}
  .redesign-step-bar{display:none}
  .profile-view #main .profile-summary{padding:68px 22px 22px}
  .profile-view #main .profile-identity{gap:16px}
  .profile-view #main .profile-identity h2{font-size:21px}
  .profile-view #main .profile-edit{padding:10px}
  .profile-edit span{display:none}
  .profile-view #main .profile-stats>*{padding:12px 6px}
  .profile-view #main .profile-stats strong{font-size:22px}
  .profile-view #main .profile-stats svg{display:none}
  .profile-view #main .profile-stats>*>span{font-size:12px}
  .profile-role-panel .roles{position:static;width:auto;height:auto}
  #main .create-section{padding:22px}
  .customer-home .create-layout>.aside{padding:0}
  .redesign-create-submit{bottom:calc(92px + var(--app-safe-bottom));padding:10px 10px 10px 16px;gap:10px;flex-wrap:wrap}
  .redesign-submit-summary strong{font-size:14px}
  .redesign-create-submit .create-submit{font-size:14px;padding:11px 14px;min-height:44px}
  .worker-home .filterbar{margin:0 -16px 22px;padding:0 16px 4px}
  .worker-home .feed{grid-template-columns:1fr;gap:12px}
  .order-counter{padding:12px}
  .order-counter strong{font-size:22px}
  body:not(.chat-view) .demo-foot{padding:0 16px 110px;margin:0}
}
@media(prefers-reduced-motion:reduce){.redesign-create-submit{scroll-behavior:auto}}

/* The approved document scrolls as one page; the shell must not reserve a second gutter. */
html{scrollbar-gutter:auto}
#app>.header .location{flex-shrink:0}
#app>.header .location .city{display:inline}
#app>.header .roles{max-width:none}
/* Role labels in the navigation must not move the role switch by fractional pixels. */
@media(min-width:821px){
  #app>.header .roles{margin-left:0}
  body:not(.chat-view) #app>.header .nav{margin-left:auto;min-width:0;flex-shrink:1;justify-content:flex-end}
  /* Пункты меню в шапке — той же высоты, что переключатель «Заказать / Заработать» (48 точек), и стоят с ним на одной линии. Раньше подпись в две строки («Мои заказы») растягивала все пункты до 54, и подсвеченный «Создать» был выше переключателя. Двум строкам хватает места за счёт меньших полей сверху и снизу. */
  #app>.header .nav{align-items:center}
  #app>.header .nav button{min-height:48px;padding-block:6px}
}
.profile-view .redesign-profile-primary>.panel,.profile-view .redesign-profile-settings>.panel{margin:0}
.profile-role-panel .roles{background:none;gap:8px;padding:0;display:flex;max-width:none;width:auto}
.profile-role-panel .roles button{background:var(--surface);border:1px solid var(--line);color:var(--ink);border-radius:999px;flex:none;width:auto;white-space:nowrap;padding:10px 16px}
.profile-role-panel .roles button.active{background:var(--accent-soft);color:var(--accent);border-color:var(--accent);box-shadow:none}
.profile-role-panel .role-label{white-space:nowrap}
.profile-view #main .profile-identity .avatar.big{width:88px;height:88px}
.profile-view #main .profile-stats>*>span{font-weight:400}
.profile-view #main .profile-stats svg{display:none}
.profile-view #main .profile-stats>.profile-stat-link:first-of-type{color:var(--ink)}
.profile-view #main .profile-section>.profile-empty{display:grid;justify-items:center;text-align:center;padding:14px 0 10px;margin:0}
.profile-view #main .profile-section>.profile-empty::before{content:"";display:block;width:46px;height:46px;background:var(--accent-soft);border-radius:14px;margin:0 0 12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2'%3E%3Crect x='6' y='3' width='12' height='18' rx='2'/%3E%3Cpath d='M9 7h6M9 11h6M9 15h3'/%3E%3C/svg%3E");background-size:20px;background-position:center;background-repeat:no-repeat}
.profile-view #main .profile-section:last-child>.profile-empty::before{background-color:var(--cta-soft);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A1A' stroke-width='2'%3E%3Cpath d='m12 3 3 6 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1Z'/%3E%3C/svg%3E")}
.profile-view #main .profile-section:has(.profile-empty)>.rating{display:none}
.profile-view #main .profile-section .mb{margin-bottom:18px}
.profile-settings-panel .settings-row[data-action=appearance]>svg:first-child{background:var(--violet-soft);color:var(--violet)}
.profile-settings-panel .settings-row[data-settings-action=more]>svg:first-child{background:#e0f7fa;color:#00a0ad}
.redesign-feed-columns{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.redesign-feed-columns>section{min-width:0}
.redesign-feed-map{position:sticky;top:96px}
.redesign-feed-map .section-title{margin:6px 0 14px}
.feed-map-card{overflow:hidden;border-radius:24px;background:var(--surface);box-shadow:var(--shadow)}
#order-map-preview{height:440px;width:100%;min-height:440px}
.redesign-map-foot{margin:0;padding:12px 16px;text-align:center;color:var(--muted);font-size:14px;line-height:1.4}
.worker-home .feed{gap:18px}
.worker-home .task-head{gap:12px}
.worker-home .task-head h3{max-width:none}
.worker-home .task-foot{gap:10px}
.worker-home .task-foot .price{font-size:21px}
.worker-home .task-foot .primary{padding:10px 12px;min-height:40px;gap:8px;font-size:14px}
.worker-home .task-price-negotiable{font-size:14px}
.order-detail-view .order-detail-v2{display:block;max-width:none;margin:0}
.order-detail-v2>.back{margin:0 0 26px;min-height:24px}
.redesign-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:24px}
.redesign-detail-primary{min-width:0;display:grid;gap:16px}
.redesign-detail-primary>.panel{margin:0}
.redesign-detail-sidebar{position:sticky;top:96px}
#main .redesign-budget-card{padding:22px;margin:0}
.redesign-budget-card .order-detail-v2-budget-summary{display:block;width:100%}
.redesign-budget-card .order-detail-v2-budget-line{display:block}
.redesign-budget-card .order-detail-v2-budget-caption{display:block;font-size:13px;line-height:1.45;color:var(--muted)}
.redesign-budget-card .order-detail-v2-budget{display:block;white-space:normal;text-align:left;border-radius:0;background:none;color:var(--accent);font-size:30px;font-weight:800;line-height:1.2;letter-spacing:-.8px;margin:2px 0 14px;padding:0;min-height:0}
.redesign-budget-card .order-detail-v2-budget-hint{font-size:13px;margin:0 0 16px}
.redesign-budget-card .order-edit-button{width:100%;margin:12px 0}
.redesign-budget-card .order-quick-action{display:flex;flex-direction:column;align-items:stretch;gap:12px}
.redesign-budget-card .order-quick-action button{justify-content:center}
.redesign-budget-card .order-quick-action .textbtn{justify-content:flex-start;border-top:1px solid var(--line);padding-top:14px}
.redesign-budget-card .order-detail-v2-actions{margin-top:16px}
.redesign-budget-card .w100{text-align:center;justify-content:center}
.order-detail-v2 .detail-title{font-size:28px;line-height:1.15;letter-spacing:-.6px;margin:12px 0}
.order-detail-v2 .order-detail-v2-heading{gap:0}
.order-detail-v2 .order-stepper{margin:6px 0 4px}
.order-detail-v2 .order-stepper li{font-size:12.5px;gap:12px}
.order-detail-v2 .order-stepper li::before{height:4px}
.order-detail-v2 .order-detail-v2-photo{width:104px;height:88px;border-radius:16px}
.order-detail-v2 .order-detail-v2-attachments h3{display:none}
.order-detail-v2 .order-detail-v2-description p{font-size:15px;line-height:1.45}
.order-detail-v2 .order-detail-v2-facts{margin:0;display:block}
.order-detail-v2 .order-detail-v2-facts>div{position:relative;padding:12px 0 12px 52px;display:block;min-height:66px}
.order-detail-v2 .order-detail-v2-facts dt{font-size:13px;line-height:1.45}
.order-detail-v2 .order-detail-v2-facts dd{font-size:15px;font-weight:600}
.order-detail-v2 .order-detail-v2-facts>div::before{position:absolute;top:14px;left:0;content:"";width:38px;height:38px;border-radius:12px;background:var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 11-8 11S4 16 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/20px no-repeat}
.order-detail-v2 .order-detail-v2-facts>div[data-fact=when]::before{background-color:var(--cta-soft);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A1A' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E")}
.order-detail-v2 .order-detail-v2-facts>div[data-fact=pay]::before{background-color:var(--ok-soft);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312A150' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='15' rx='2'/%3E%3Cpath d='M15 10h6v6h-6zM3 9V4l14-2v3'/%3E%3C/svg%3E")}
.redesign-chat-shell{display:grid;grid-template-columns:360px minmax(0,1fr);gap:0;background:var(--surface);border-radius:22px;overflow:hidden;box-shadow:var(--shadow);min-width:0}
.redesign-chat-list{border-right:1px solid var(--line);min-width:0;height:660px;overflow:auto}
.redesign-chat-list .message-inbox{max-width:none}
.redesign-chat-list .message-heading{display:none}
.redesign-chat-list .message-card{box-shadow:none;border:0;border-radius:0;padding:16px}
.redesign-chat-list .message-search{min-height:48px}
.redesign-chat-list .message-row{padding:12px 0;gap:8px}
.redesign-chat-list .message-avatar{width:42px;height:42px}
.redesign-chat-list .message-open{gap:12px;min-height:58px}
.redesign-chat-list .message-copy{gap:2px}
.redesign-chat-list .message-order{display:none}
.redesign-chat-list .message-preview{font-size:12px;white-space:nowrap}
.redesign-chat-list .message-name{font-size:15px}
.redesign-chat-list .message-meta{gap:4px}
.redesign-chat-list .message-filters{gap:6px;padding:10px 0 14px}
.redesign-chat-list .message-filters button{font-size:12px;padding:6px 10px}
.redesign-chat-list .message-important{width:22px;height:22px}
.chat-view .redesign-chat-shell .chat-panel{height:660px;min-height:0;max-width:none;border:0;border-radius:0;box-shadow:none;margin:0;padding:0}
.chat-view .chat-peer-name>button{border:0;background:transparent;padding:0;font-size:15px;min-height:24px}
.chat-view .chat-dialog-header{grid-template-columns:42px minmax(0,1fr);padding:16px 20px;min-height:74px}
.chat-view .chat-dialog-header .chat-back{display:none}
.chat-view .chat-order-link{font-size:13px;margin:0 20px 10px}
.chat-view .chat-window{background:var(--bg);background-image:none!important;padding:20px;border:0}
.chat-view .chat-compose-area{padding:14px 18px}
/* On a phone the input row of a chat stands five points higher above the bottom edge of the screen.
   Over an open keyboard it keeps the former gap: there the edge of the screen is not near. */
@media (max-width:650px),(max-width:1024px) and (pointer:coarse) and (orientation:landscape){
  .chat-view .chat-compose-area{padding-bottom:19px}
  .chat-view #app[data-chat-keyboard="open"] .chat-compose-area{padding-bottom:14px}
}
.chat-view .chat-composer .chat-input{border-radius:14px}
.chat-view .chat-main-action{border-radius:14px;background:var(--cta);color:white}
@media(min-width:821px){
  body.chat-view #app>.header{height:72px;display:flex;align-items:center;gap:14px;padding:0 max(24px,calc((100% - 1240px)/2 + 24px))}
  body.chat-view #app>.main{padding:28px 24px;max-width:1240px;width:100%}
  .chat-view .redesign-chat-shell:before{display:none}
}
@media(max-width:820px){
  #app>.header .header-right .avatar{display:grid}
  .profile-view #main>.heading,.orders-title-view #main>.heading h1,.customer-home #main .create-heading{display:block}
  #app>.main .heading{margin:0 0 18px}
  .profile-view #main .profile-section .profile-empty{font-size:14px}
  .redesign-feed-columns,.redesign-detail-columns{grid-template-columns:minmax(0,1fr)}
  .redesign-feed-map{display:none}
  .redesign-detail-sidebar{position:static}
  .order-detail-v2 .detail-title{font-size:23px}
  .order-detail-v2 .order-stepper li{font-size:10.5px}
  .redesign-budget-card .order-detail-v2-budget{font-size:26px}
  .redesign-chat-shell{display:contents}
  .redesign-chat-list{display:none}
  .chat-view .redesign-chat-shell .chat-panel{height:100%;border-radius:0}
  .chat-view .chat-dialog-header{grid-template-columns:36px 40px minmax(0,1fr) auto;padding:10px 16px;min-height:64px}
  /* The heading of a chat is the top of the screen here: it keeps below the status bar of a phone. The rule above had replaced the padding that chat-layout.css gives it for that. */
  .chat-view .chat-dialog-header{padding-top:calc(10px + var(--app-safe-top,0px))}
  .chat-view .chat-dialog-header .chat-back{display:grid;border:0;background:transparent;width:36px;height:40px}
  .chat-view .chat-dialog-header .chat-bell{display:flex}
  .chat-view .chat-peer-name>button{font-size:17px}
}

#app>.header .roles{flex:0 0 auto}
#app>.header .nav{display:flex;width:auto;max-width:none;flex:0 0 auto}
.worker-home .filterbar .chip[data-value]:not([data-value=all]):not([data-value=saved]){padding:8px 16px 8px 8px;gap:8px}
.worker-home .filterbar .chip[data-value]:not([data-value=all]):not([data-value=saved])>svg{width:30px;height:30px;padding:7px;box-sizing:border-box;border-radius:50%;background:var(--accent-soft)}
.worker-home .filterbar .chip[data-value=garden]>svg{color:#12a150;background:#e6f6ec!important}
.worker-home .filterbar .chip[data-value=clean]>svg{color:#009eae;background:#e0f7fa!important}
.worker-home .filterbar .chip[data-value=repair]>svg{color:var(--cta);background:var(--cta-soft)!important}
.worker-home .filterbar .chip[data-value=move]>svg{color:var(--violet);background:var(--violet-soft)!important}
.worker-home .filterbar [data-value=saved],.worker-home .filterbar [data-action=filters]{background:transparent;border-color:transparent;color:var(--muted)}
.worker-home .filterbar [data-value=saved]{margin-left:auto}
.profile-settings-panel .settings-row[data-action=theme-open]>svg:first-child{background:var(--violet-soft);color:var(--violet)}
@media(max-width:820px){
  #app>.header .roles{height:46px}
  #app>.header .roles button{min-height:38px}
  #app>.header .nav{width:auto}
  .profile-view #main .profile-summary{padding-top:72px}
  .profile-view #main .profile-stats>*{padding-block:16px}
  .profile-role-panel .roles button{font-size:15px;padding:10px 16px}
}

body:not(.chat-view):not(.map-view) #app>.main{padding-top:32px}
body.worker-home:not(.chat-view) #app>.main{padding-top:24px}
#main .create-section{border-radius:22px;box-shadow:var(--shadow);border:0}
#main .redesign-sec-title{margin-bottom:16px}
#main .redesign-sec-title .step-num,.redesign-how .step-num{width:30px;height:30px;background:var(--ink);color:var(--surface);font-size:14px;border:0}
/* The three steps of the order form are picked out with an edge in the colour of the main button. */
#main .guided-create .redesign-sec-title .step-num{box-shadow:0 0 0 3px var(--cta)}
#main .create-task-section .order-voice-field{position:relative;display:block;padding:0;min-height:112px;border-color:var(--line)}
#main .create-task-section textarea#description{min-height:110px;padding:14px 16px 54px;font-size:15px;line-height:1.45}
#main .create-task-section .order-voice-open{position:absolute;right:12px;bottom:12px;width:40px;height:40px;margin:0}
#main .create-task-section .create-section-hint{margin:6px 0 18px}
#main .create-category{margin:0 0 18px}
.redesign-category-options,.redesign-date-options,.redesign-skill-options{display:flex;flex-wrap:wrap;gap:8px}
.redesign-category-options .chip,.redesign-date-options .chip,.redesign-skill-options .chip,.redesign-price-options .chip{min-height:40px;padding:10px 16px;border-radius:999px;font-size:14px;font-weight:500}
.redesign-category-options .chip.active,.redesign-date-options .chip.active,.redesign-skill-options .chip.active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}
#main .create-photo-add{grid-template-columns:40px minmax(0,1fr) auto;color:var(--accent)}
#main .create-photo-hint{color:var(--muted)}
#main .create-price-field .price-currency{font-size:15px}
#main .create-date-row{display:block;border:0;background:none;padding:0}
#main .create-date-row>label{display:block;margin:0 0 8px;font-size:15px}
.customer-home .aside{padding-top:93px;display:grid;gap:16px}
.redesign-promo{border-radius:22px;padding:26px;background:radial-gradient(300px 180px at 100% 0,rgba(255,122,26,.4),transparent 75%),linear-gradient(135deg,#1e40af,#3b82f6);color:#fff}
.redesign-promo h2{font-size:24px;line-height:1.2;letter-spacing:-.5px}
.redesign-promo p{font-size:15px;opacity:.85;margin:8px 0 18px}
.redesign-promo>.secondary{display:inline-flex;min-height:46px;padding:12px 20px;border:0;color:var(--accent);background:#fff}
.redesign-promo-dots{display:flex;gap:6px;margin-top:18px}
.redesign-promo-dots button{display:block;position:relative;width:8px;height:8px;border-radius:5px;background:#ffffff66}
.redesign-promo-dots button::before{content:"";position:absolute;inset:-12px -3px}
.redesign-promo-dots button.active{width:20px;background:#fff}
.customer-home .aside .panel{margin:0}
.customer-home .aside .redesign-how .steps{display:grid;padding:0;margin-top:18px;gap:16px;border-radius:0;box-shadow:none}
.redesign-how .step{padding:0;gap:14px}
.redesign-how .step h3{font-size:14px!important;margin:0 0 3px}
.redesign-how .step p{font-size:13px}
.redesign-budget-card{display:flex;flex-direction:column}
.redesign-budget-card .redesign-invite{order:1;margin-top:0}
.redesign-budget-card .order-detail-v2-budget-summary{order:0}
.redesign-budget-card .order-edit-button{order:2}
.redesign-budget-card>.order-quick-action{order:4}
.redesign-budget-card>.textbtn.danger{order:3}
.redesign-budget-card>.order-detail-v2-actions{order:2}
.order-detail-v2 .order-detail-v2-description{display:block}
.order-detail-v2 .order-detail-v2-attachments{margin-top:14px}
.redesign-skill-options{margin-top:12px}
.profile-about-editor{display:block;width:100%;min-height:84px;text-align:left;border:1px solid var(--line);border-radius:14px;padding:14px;margin-top:16px;color:var(--muted);font-size:15px}
@media(max-width:820px){
  body:not(.chat-view):not(.map-view) #app>.main{padding-top:22px}
  body.worker-home:not(.chat-view) #app>.main{padding-top:16px}
  .customer-home .aside{padding-top:0}
}

.redesign-feed-sort{display:flex;margin-left:auto;background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:3px}
.redesign-feed-sort button{padding:6px 14px;border-radius:999px;color:var(--muted);font-size:14px;font-weight:500;min-height:32px}
.redesign-feed-sort button.active{background:var(--accent-soft);color:var(--accent);font-weight:600}
.worker-home .feed-title{justify-content:flex-start;gap:12px;margin-bottom:14px}
.worker-home .task-foot .task-negotiable-price{font-size:14px;font-weight:600;letter-spacing:0;white-space:nowrap}
.redesign-orders-aside .step-num{background:var(--ink);color:var(--surface);border:0;width:30px;height:30px}
.redesign-orders-aside .steps{gap:16px}
.redesign-orders-aside .step{padding:0;gap:14px}
.redesign-orders-aside .step h3{margin:0 0 3px}
.redesign-orders-aside .step p{margin:0;line-height:1.45}
@media(min-width:821px){
  .worker-home .feed-title .feed-view,.worker-home .feed-scope{display:none}
}
@media(max-width:820px){
  body:not(.chat-view):not(.map-view) #app>.main{padding-inline:16px!important}
  .redesign-feed-sort{display:none}
  .worker-home .feed-title .feed-view{margin-left:auto}
  .redesign-orders-columns .order-counter{padding:12px;min-height:78px}
  .redesign-orders-columns .order-counter span{font-size:12px;overflow-wrap:normal}
  .redesign-orders-columns .order-counter strong{font-size:26px}
  .profile-view #main .profile-identity .avatar.big{width:78px;height:78px}
  .profile-view #main .profile-identity>div{margin-top:48px}
}

:root[data-color-mode=dark] #main .create-photo-add{background:var(--accent-soft);border-color:var(--line)}
.redesign-promo>.secondary{color:#2563eb}

/* Preserve the existing accessibility preference after matching normal-size references. */
body.large-text .worker-home .task-body h3,body.large-text.worker-home .task-body h3{font-size:21px}
body.large-text.worker-home .task-body p{font-size:18px}
body.large-text.worker-home .task-foot .price{font-size:26px}
body.large-text.worker-home .task-foot .task-negotiable-price{font-size:18px;white-space:normal}
body.large-text.worker-home .task-foot .primary{font-size:18px}
body.large-text #main .create-task-section textarea#description{font-size:20px;line-height:1.5}
body.large-text #main .create-section-hint,body.large-text #main .create-field-hint{font-size:16px}
body.large-text #main .redesign-sec-title{font-size:22px!important}
body.large-text #main .create-price-field .price-input input{font-size:22px}
body.large-text #main .create-price-field .price-entry-hint{font-size:18px}
body.large-text .redesign-category-options .chip,body.large-text .redesign-date-options .chip,body.large-text .redesign-price-options .chip,body.large-text .redesign-skill-options .chip{font-size:17px;min-height:46px;white-space:normal}
body.large-text.profile-view #main .profile-identity h2{font-size:27px}
body.large-text.profile-view #main .profile-identity .small{font-size:16px}
body.large-text.profile-view #main .profile-settings-panel strong{font-size:19px}
body.large-text.profile-view #main .profile-settings-panel p{font-size:16px}
body.large-text.profile-view #main .profile-section .profile-empty{font-size:17px}
body.large-text.profile-view #main .profile-role-panel .roles button{font-size:17px;white-space:normal}
body.large-text .compact-order-title{font-size:20px}
body.large-text .compact-order-tags .tag,body.large-text .compact-order-tags .status{font-size:15px}
body.large-text .order-row.compact-order-row .amount{font-size:22px;white-space:normal}
body.large-text .order-detail-v2 .detail-title{font-size:32px}
body.large-text .order-detail-v2 .order-detail-v2-description p,body.large-text .order-detail-v2 .order-detail-v2-facts dd{font-size:19px}
body.large-text .order-detail-v2 .order-detail-v2-facts dt{font-size:16px}
@media(max-width:820px){
  #main .create-task-section textarea#description{font-size:16px}
  body.large-text #app>.main .heading h1,body.large-text .create-heading h1{font-size:30px}
  body.large-text .order-detail-v2 .detail-title{font-size:28px}
  body.large-text .order-detail-v2 .order-stepper li{font-size:12px}
  body.large-text.profile-view #main .profile-identity{gap:10px;flex-wrap:wrap}
  body.large-text.profile-view #main .profile-identity>div{min-width:120px}
  body.large-text.profile-view #main .profile-edit{margin-top:8px;margin-left:auto}
  body.large-text .redesign-create-submit{position:static}
}

.redesign-earned{display:block;font-size:30px;font-weight:800;letter-spacing:-.8px;margin:2px 0 14px}
.profile-earnings .redesign-step-bar{max-width:none;display:flex;margin-bottom:12px}

.redesign-promo #home-hero-body>.textbtn{display:inline-flex;min-height:46px;padding:12px 20px;border:0;border-radius:14px;color:#2563eb;background:#fff;font-size:15px;font-weight:600}
.redesign-promo .hero-ad-label{color:#fff;opacity:.8}

.profile-view #main .profile-stats>div:first-child strong{display:flex;flex-direction:row-reverse;align-items:center;justify-content:center;gap:5px}
.profile-view #main .profile-stats>div:first-child .rating{font-size:26px;color:#ff9800}
@media(max-width:820px){.redesign-orders-columns .order-counter strong{font-size:22px}.redesign-orders-columns .order-counter{min-height:78px}.redesign-orders-columns .order-counter span{line-height:1.45}}

.redesign-assigned-banner{display:flex;gap:14px;align-items:center;padding:18px 22px;border-radius:20px;background:linear-gradient(135deg,#0e9aa7,#12a150);color:#fff}
.redesign-assigned-banner>svg{width:38px;height:38px;padding:9px;box-sizing:border-box;flex:none;border-radius:12px;background:#ffffff33}
.redesign-assigned-banner strong{font-size:17px}
.redesign-assigned-banner p{font-size:13px;opacity:.9;margin-top:3px}
.redesign-detail-sidebar .compact-detail-next:has(>[data-action=start])>h3,.redesign-detail-sidebar .compact-detail-next:has(>[data-action=start])>p{display:none}
@media(max-width:820px){
  .order-detail-v2[data-detail-role=worker] .redesign-detail-columns{display:flex;flex-direction:column;gap:16px}
  .order-detail-v2[data-detail-role=worker] .redesign-detail-primary{display:contents}
  .order-detail-v2[data-detail-role=worker] .redesign-detail-columns>*,.order-detail-v2[data-detail-role=worker] .redesign-detail-primary>*{width:100%;box-sizing:border-box}
  .order-detail-v2[data-detail-role=worker] .order-detail-v2-card{order:0}
  .order-detail-v2[data-detail-role=worker] .redesign-assigned-banner{order:1}
  .order-detail-v2[data-detail-role=worker] .redesign-detail-sidebar{order:2}
  .order-detail-v2[data-detail-role=worker] .order-detail-v2-description{order:3}
  .order-detail-v2[data-detail-role=worker] :is(.order-detail-where,.order-detail-when){order:4}
  .order-detail-v2[data-detail-role=worker] .compact-detail-customer{order:5}
  .order-detail-v2[data-detail-role=worker] .compact-detail-followup{order:6}
}

#app>.header .role-wrap>.roles{display:flex}
#main .create-negotiable.active{border:1px solid var(--accent);background:var(--accent-soft);box-shadow:none}
#main .create-location-field .order-location-row{position:relative;display:block;padding:8px 64px 8px 14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}
#main .create-location-field .order-location-row::before{content:"";position:absolute;left:14px;bottom:24px;width:18px;height:18px;background:var(--muted);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 0 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}
#main .create-location-field .order-location-copy{padding-left:30px;min-width:0}
#main .create-location-field .order-location-copy input{padding:10px 0;min-height:50px;border:0;background:none;font-size:15px;font-weight:600}
#main .create-location-field .order-location-locate{position:absolute;right:14px;bottom:13px;width:40px;height:40px;border:0;border-radius:50%;background:var(--accent-soft);color:var(--accent)}
#main .create-location-field .order-location-locate>svg{display:none}
#main .create-location-field .order-location-locate::before{content:"";display:block;width:20px;height:20px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 0 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center/contain no-repeat}
@media(max-width:820px){
  #app>.header .role-wrap>.roles{display:flex}
  .customer-home .create-layout>.aside{display:grid;gap:16px;margin-top:24px}
  #main .create-location-field .order-location-copy input{font-size:16px}
}

/* Worker navigation has no Events item; keep its existing bell reachable. */
@media(max-width:820px){#app>.header[data-role=worker] .header-right [data-action=notifications]{display:grid;width:40px;height:40px;min-height:40px}}

.redesign-profile-primary,.redesign-profile-settings{grid-template-columns:minmax(0,1fr)}
.redesign-profile-primary>.panel,.redesign-profile-settings>.panel{min-width:0;max-width:100%;box-sizing:border-box}
.profile-role-panel .roles{flex-wrap:wrap}
.profile-view #main .profile-identity h2{overflow-wrap:anywhere}

body.chat-view #main .redesign-chat-shell .chat-panel{padding:0}
body.chat-view .chat-history{justify-content:flex-start;gap:10px}
body.chat-view .bubble{padding:10px 14px;max-width:68%;font-size:15px;line-height:1.45;border-radius:18px 18px 18px 6px}
body.chat-view .bubble.self{background:var(--accent);color:var(--on-accent);border-radius:18px 18px 6px 18px}
body.chat-view .bubble .chat-message-time{display:block;text-align:right;margin-top:4px;font-size:11px}
body.chat-view .bubble.self .chat-message-time{color:inherit;opacity:.75}
/* My own message is the accent colour, and a quote inside it was drawn for a light message: grey on that colour, it could not be read. Here the quote takes the colour of the message's text. */
body.chat-view .bubble.self .chat-quote{border-inline-start-color:currentColor;background:color-mix(in srgb,currentColor 16%,transparent);color:inherit}
body.chat-view .bubble.self .chat-quote-text{color:inherit;opacity:.85}
body.chat-view .bubble.with-media{max-width:min(84%,320px)}
body.chat-view .chat-assignment-slot{margin:0;padding:10px 20px;border-bottom:1px solid color-mix(in srgb,var(--cta) 30%,var(--surface));background:var(--cta-soft)}
body.chat-view .chat-assign-button{background:var(--cta);color:#fff;min-height:40px;padding:9px 16px}
body.chat-view .chat-assignment-prompt{color:var(--ink)}
@media(max-width:820px){
  .redesign-chat-heading{display:none}
  #app>.header .nav button.nav-create.active{background:var(--cta);color:#fff}
  body.chat-view .bubble{max-width:84%;font-size:16px}
  body.chat-view .chat-assignment-slot{padding:8px 12px}
}
body.large-text.chat-view .bubble{font-size:20px}

/* Lifecycle boards w05/w07: one main action, distinct secondary controls. */
.order-row.compact-order-row .amount.amount--negotiable{color:var(--accent);font-size:14px;font-weight:600;letter-spacing:0}
body.large-text .order-row.compact-order-row .amount.amount--negotiable{font-size:18px}
.redesign-detail-sidebar{display:grid;gap:16px}
/* Карточка места на широком экране стоит в правой колонке, под бюджетом; карта в ней — квадрат. */
#main .redesign-detail-map{min-width:0;margin:0}
.redesign-detail-map .order-detail-v2-map-canvas{height:auto;aspect-ratio:1/1}
.redesign-detail-map .order-detail-v2-map-label{left:12px;bottom:26px}
.redesign-detail-map .order-detail-v2-expand{right:12px;top:12px}
#main .redesign-detail-settings{margin:0;padding:12px 22px}
.redesign-detail-settings .order-quick-action{padding:0;margin:0;display:block}
#main .redesign-detail-setting{display:flex;gap:14px;align-items:center;justify-content:flex-start;width:100%;min-height:60px;margin:0;padding:10px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);font-size:15px;font-weight:500;text-align:left}
#main .redesign-detail-setting>svg:first-child{box-sizing:border-box;width:40px;height:40px;padding:10px;flex:none;border-radius:12px;background:var(--accent-soft);color:var(--accent)}
#main .redesign-detail-setting>span{flex:1;min-width:0}
#main .redesign-detail-setting strong{display:block;font:inherit;font-weight:500}
#main .redesign-detail-setting small{display:block;font-size:12px;color:var(--muted);font-weight:400;margin-top:3px}
#main .redesign-detail-setting>svg:last-child{width:20px;height:20px;flex:none;color:#98a2b3}
.redesign-detail-settings>.danger{min-height:44px;justify-content:flex-start;padding-block:10px;font-size:14px;margin:0;font-weight:500}
.order-detail-v2[data-detail-role=worker] .compact-detail-next>.primary{background:var(--cta);color:#fff}
.order-detail-v2[data-detail-role=worker] .compact-detail-next>[data-action=chat]{background:var(--accent-soft);color:var(--accent);border-color:transparent}
.redesign-detail-sidebar .compact-detail-next:has(>[data-action=order-start-confirm])>h3,.redesign-detail-sidebar .compact-detail-next:has(>[data-action=order-start-confirm])>p{display:none}
.order-detail-v2[data-detail-rework=true] .redesign-budget-card{border-left:3px solid var(--cta)}
.redesign-rework-quote{margin:12px 0;padding:8px 10px;border-left:3px solid var(--accent);border-radius:8px;background:var(--accent-soft);font-size:13px;line-height:1.4}
.redesign-rework-quote strong,.redesign-rework-quote span{display:block}
.redesign-budget-card .order-detail-v2-budget:not(.order-detail-v2-budget-negotiable){color:var(--ink)}
.profile-worker-settings [data-action=appearance-language]>svg:first-child{color:var(--violet);background:var(--violet-soft)}
@media(max-width:820px){
  body.order-detail-view #app>.main{padding-top:14px}
  .order-detail-v2>.back{min-height:20px;margin-bottom:10px}
  #main .order-detail-v2-card,#main .order-detail-v2-actions,#main .redesign-budget-card,#main .order-detail-v2-description,#main .order-detail-where,#main .order-detail-when{padding:16px}
  #main .redesign-detail-settings{padding:4px 16px}
  .order-detail-v2 .detail-title{font-size:22px;line-height:1.15;letter-spacing:-.5px}
  .order-detail-v2 .order-detail-v2-meta{display:flex;flex-wrap:wrap;gap:8px}
  .order-detail-v2 .order-detail-v2-meta .tag,.order-detail-v2 .order-detail-v2-meta .status{font-size:12px;padding:5px 10px}
  .order-detail-v2 .order-stepper li{font-size:10px;gap:9px}
  .order-detail-v2 .order-stepper li::before{height:4px;top:9px}
  .order-detail-v2 .order-stepper i{width:22px;height:22px;border-width:3px}
  .order-detail-v2 .order-stepper i>svg{display:none}
  .order-detail-v2 .order-stepper li.done{color:var(--ink)}
  .order-detail-v2 .order-detail-v2-actions h3{font-size:16px}
  .order-detail-v2 .order-detail-v2-actions>.small{font-size:13px;line-height:1.45;margin:8px 0 12px}
  .order-detail-v2 .redesign-detail-columns{display:flex;flex-direction:column;gap:12px}
  .order-detail-v2 .redesign-detail-primary{display:contents}
  .order-detail-v2 .redesign-detail-columns>*,.order-detail-v2 .redesign-detail-primary>*{width:100%;box-sizing:border-box}
  .order-detail-v2 .order-detail-v2-card{order:0}
  .order-detail-v2 .redesign-assigned-banner,.order-detail-v2 .redesign-detail-primary>.compact-detail-next{order:1}
  .order-detail-v2 .redesign-detail-sidebar{order:2}
  .order-detail-v2 .order-detail-v2-description{order:3}
  .order-detail-v2 :is(.order-detail-where,.order-detail-when){order:4}
  .order-detail-v2 .compact-detail-customer{order:5}
  .order-detail-v2 .compact-detail-followup{order:6}
  .order-detail-v2[data-detail-role=customer]:not([data-detail-status=open]) .order-detail-v2-budget-summary{display:none}
  .order-detail-v2[data-detail-role=customer]:not([data-detail-status=open]) .redesign-budget-card:empty{display:none}
  .order-detail-v2[data-detail-role=worker][data-detail-status=working] .order-detail-v2-budget-summary,.order-detail-v2[data-detail-role=worker][data-detail-status=review] .order-detail-v2-budget-summary{display:none}
  .order-detail-v2 .redesign-detail-sidebar:has(.redesign-budget-card:empty){gap:0}
  body.order-detail-view:has(.order-detail-v2[data-detail-role=customer]) #app>.header .nav,
  body.order-detail-view:has(.order-detail-v2[data-detail-role=worker][data-detail-status=assigned]) #app>.header .nav,
  body.order-detail-view:has(.order-detail-v2[data-detail-role=worker][data-detail-status=working]) #app>.header .nav,
  body.order-detail-view:has(.order-detail-v2[data-detail-role=worker][data-detail-status=review]) #app>.header .nav,
  body.order-detail-view:has(.order-detail-v2[data-can-offer=true]) #app>.header .nav{display:none}
  .redesign-budget-card .order-detail-v2-budget{font-size:23px}
  .redesign-assigned-banner{padding:14px;gap:14px}
}
body.large-text #main .redesign-detail-setting small{font-size:16px}

@media(max-width:820px){
  .order-detail-v2[data-detail-role=customer]:not([data-detail-status=open]) .redesign-budget-card{display:none}
  .order-detail-v2[data-detail-role=worker][data-detail-status=open][data-can-offer=false] .order-detail-v2-budget-summary,
  .order-detail-v2[data-detail-role=worker][data-detail-status=cancelled] .order-detail-v2-budget-summary,
  .order-detail-v2[data-detail-role=worker][data-detail-status=done] .order-detail-v2-budget-summary{display:none}
  .order-detail-v2[data-can-offer=true] .redesign-detail-sidebar{order:6}
}

#main .redesign-budget-card>.compact-detail-next{padding:0;margin:0;max-width:none;box-shadow:none;border:0}
#main .redesign-budget-card>.compact-detail-next>[data-action=order-start-confirm]{margin-top:0}
.redesign-orders-columns.is-empty{grid-template-columns:minmax(0,1fr)}
.redesign-orders-columns.is-empty .order-counters,.redesign-orders-columns.is-empty .redesign-orders-aside,.redesign-orders-columns.is-empty .worker-journey{display:none}
.redesign-orders-columns.is-empty .empty,.redesign-empty-inbox .empty,body.worker-no-jobs .empty{background:transparent;border:0;box-shadow:none}
.redesign-empty-inbox .message-card{padding:0;border:0;background:transparent;box-shadow:none}
.redesign-empty-inbox .message-search{background:var(--surface)}
.redesign-orders-columns.is-empty .empty h2,.redesign-empty-inbox .empty h2,body.worker-no-jobs .empty h2{font-size:18px;line-height:1.3;letter-spacing:-.3px}
.redesign-orders-columns.is-empty .empty p,.redesign-empty-inbox .empty p,body.worker-no-jobs .empty p{font-size:14px;line-height:1.5;margin:8px auto 18px}
.redesign-orders-columns.is-empty .empty-icon,.redesign-empty-inbox .empty-icon,body.worker-no-jobs .empty-icon{width:64px;height:64px;border-radius:22px;background:var(--accent-soft);color:var(--accent);margin-bottom:18px}
.redesign-orders-columns.is-empty .empty-icon svg,.redesign-empty-inbox .empty-icon svg,body.worker-no-jobs .empty-icon svg{width:28px;height:28px}
body.worker-orders .redesign-orders-columns.is-empty .empty-icon{background:var(--ok-soft);color:var(--ok)}
body.customer-orders .redesign-orders-columns.is-empty .empty>.primary,body.messages-view:not(.worker-orders) .redesign-empty-inbox .empty>.primary{background:var(--cta);color:#fff;box-shadow:0 8px 20px #ff7a1a33}
.redesign-orders-columns.is-empty .empty>.primary,.redesign-empty-inbox .empty>.primary,body.worker-no-jobs .empty>.primary{display:inline-flex;min-height:48px;padding:12px 20px;font-size:14px}
.redesign-orders-columns.is-empty .order-tabs{background:transparent;border:0;padding:0;gap:8px}
.redesign-orders-columns.is-empty .order-tabs .chip{border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:12px;min-height:32px;padding:6px 10px}
.redesign-orders-columns.is-empty .order-tabs .chip.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
body.worker-no-jobs .worker-search-panel,body.worker-no-jobs .worker-journey,body.worker-no-jobs .redesign-feed-map,body.worker-no-jobs .feed-title,body.worker-no-jobs .feed-scope,body.worker-no-jobs .redesign-feed-columns>section>.tiny{display:none}
body.worker-no-jobs .redesign-feed-columns{grid-template-columns:minmax(0,1fr)}
body.worker-no-jobs .feed{grid-template-columns:minmax(0,1fr)}
body.worker-no-jobs .filterbar .chip{min-height:32px;padding:6px 10px!important;font-size:12px}
body.worker-no-jobs .filterbar .chip>svg{display:none}
body.worker-no-jobs .filterbar{margin-bottom:4px}
body.worker-no-jobs .empty{padding:42px 8px}
/* Examples of tasks where a place has none yet. They are marked as examples and cannot be answered. */
.order-examples{display:grid;gap:12px;justify-items:center;text-align:center;padding:0 0 28px}
.order-examples h2{margin:0;font-size:18px;line-height:1.3;letter-spacing:-.3px}
.order-examples>p{margin:0;max-width:46ch}
.order-examples-list{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;text-align:left}
@media(max-width:560px){.order-examples-list{grid-template-columns:minmax(0,1fr)}}
.task.task-example{border:1px dashed var(--line);box-shadow:none}
.task.task-example:hover{box-shadow:none;outline:0}
.task-example .example-mark{flex:none}
.task-example .task-foot{justify-content:flex-start}
.order-examples-notice{display:inline-flex;align-items:center;gap:8px;min-height:48px;margin-top:6px;padding:12px 20px;font-size:14px}
.order-examples-notice svg{width:18px;height:18px}
body.worker-no-jobs .empty:has(+.order-examples){padding-bottom:26px}
@media(max-width:820px){
  .redesign-orders-columns.is-empty .empty{padding:30px 8px}
  .redesign-empty-inbox .empty{padding:40px 8px}
  .redesign-empty-inbox .message-filters{margin-bottom:0}
}

@media(max-width:820px){
  body.order-detail-view:has(.order-detail-v2[data-detail-unavailable=true]) #app>.header .nav{display:flex}
  .order-detail-v2[data-detail-unavailable=true] .order-detail-v2-budget-summary{display:none}
}

body.messages-view:has(.header[data-role=worker]) .redesign-empty-inbox .empty>.primary{background:var(--accent);box-shadow:none}

/* The service links remain available after the guest app renders. */
.demo-foot .footer-service-links{flex-basis:100%;display:flex;flex-wrap:wrap;gap:8px 16px;font-size:13px;line-height:1.5}
/* Нижняя строка на экране шире телефона. Строка там не переносилась, а блок ссылок на услуги занимал её целиком: остальные надписи сжимались в столбики по два-три слова, справа оставалось пусто. Теперь каждая надпись стоит в одну строку и крупнее; у гостя ссылки расставлены на равных расстояниях во всю ширину, пояснение — отдельной строкой под ними. Уже 1100 строка ссылок не помещается и переносится: там они идут подряд от левого края. */
@media(min-width:651px){
  body:not(.chat-view) .demo-foot{flex-wrap:wrap;align-items:center;gap:6px 26px;font-size:14px;line-height:1.4}
  .demo-foot :is(button,a){font-size:15px;min-height:36px;white-space:nowrap}
  .demo-foot .footer-mark svg{width:15px;height:15px}
  .demo-foot .footer-service-links{display:contents}
  .demo-foot:has(.footer-service-links){justify-content:flex-start}
  .demo-foot:has(.footer-service-links) .footer-mark{order:1;flex-basis:100%}
}
@media(min-width:1100px){
  .demo-foot:has(.footer-service-links){justify-content:space-between}
}
/* На телефоне шириной 360 подпись «Сообщения» упиралась в кнопку «+»: на узких экранах подписи меню чуть уже. */
@media(max-width:374px){#app>.header .nav button:not(.nav-create){font-size:10.5px;letter-spacing:-.2px}}
/* Свой заказ у заказчика — страница из двух частей. Первая: отклики, а после выбора — исполнитель; вторая: сам
   заказ. На телефоне их переключают вкладки под названием, на широком экране видны обе. */
.order-two-parts .order-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;margin:0 0 14px}
.order-two-parts .order-topbar .back{min-height:44px;margin:0}
.order-two-parts .order-topbar .order-tool{width:44px;height:44px;min-width:44px;min-height:44px;border:0;background:none;box-shadow:none;color:var(--ink)}
.order-two-parts .order-topbar .order-tool svg{width:23px;height:23px}
#main .order-two-parts .order-head{display:block;padding:20px 22px}
#main .order-two-parts .order-head:has(.order-parts){padding-bottom:0}
.order-head-kind{display:flex;align-items:center;gap:6px;margin:0 0 4px;color:var(--muted);font-size:13.5px;line-height:1.3}
.order-head-kind svg{flex:none;width:15px;height:15px;color:var(--cat,var(--muted))}
.order-two-parts .order-head .detail-title{margin:0 0 10px}
/* Ход заказа одной строкой: пять делений и слова «Шаг 2 из 5 · Исполнитель выбран». */
.order-progress{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin:0;color:var(--muted);font-size:13.5px;line-height:1.3}
.order-progress strong{color:var(--ink);font-weight:650}
.order-progress strong.ok{color:var(--ok-ink)}
.order-progress strong.warm{color:var(--cta-soft-ink)}
.order-progress strong.gray{color:var(--muted)}
.order-progress-bar{display:flex;gap:3px}
.order-progress-bar i{width:14px;height:5px;border-radius:3px;background:var(--line)}
.order-progress-bar i.on{background:var(--accent)}
.order-progress-bar.finished i{background:var(--ok)}
/* Уведомление о ходе заказа отмечает деление текущего шага: оно становится оранжевым и трижды пульсирует. */
.order-progress.order-step-pulse{outline:0}
.order-progress.order-step-pulse .now{background:#ff7a1a;animation:order-step-pulse 1.2s ease-out 3}
.order-parts{display:flex;margin:16px -22px 0;border-top:1px solid var(--line)}
.order-parts button{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:0 8px;border-radius:0;color:var(--muted);font-size:15px;font-weight:600}
.order-parts button:focus-visible{outline-offset:-3px}
.order-parts button.active{color:var(--ink);font-weight:700}
.order-parts button.active::after{content:"";position:absolute;left:22px;right:22px;bottom:0;height:3px;border-radius:3px 3px 0 0;background:var(--accent)}
.order-parts-count{display:grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-size:12.5px;font-weight:700;line-height:1}
.order-first-part{display:grid;gap:16px;min-width:0}
#main .order-first-part>.panel{margin:0}
.order-first-part>.secondary{margin:0}
/* Человек: в отклике и в карточке выбранного исполнителя. */
.order-person{display:flex;align-items:flex-start;gap:12px;min-width:0;text-align:left}
/* Три цвета кружков — постоянные: в тёмной теме цвета темы светлеют, и белая буква на них пропала бы. */
.order-person .avatar{flex:none;width:44px;height:44px;background:#ff7a1a;color:#fff;font-size:17px}
.order-person[data-offer-index="1"] .avatar{background:#12a150}
.order-person[data-offer-index="2"] .avatar{background:#2563eb}
.order-person .avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.order-person-copy{display:grid;justify-items:start;gap:1px;min-width:0}
.order-person-copy strong{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.order-person-copy .rating{color:var(--muted);font-size:13.5px;line-height:1.35}
.order-person-copy .tag{margin:3px 0}
.order-person-profile{display:inline-flex;align-items:center;gap:2px;color:var(--accent);font-size:13.5px;font-weight:600;line-height:1.35}
.order-person-profile svg{width:14px;height:14px}
/* Отклик: человек и его цена, его слова, две кнопки. */
#main .order-two-parts .order-offer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px 10px;padding:18px 22px}
.order-offer-price{display:grid;justify-items:end;gap:1px;margin:0}
.order-offer-price span{color:var(--muted);font-size:12.5px;line-height:1.3}
.order-offer-price strong{font-size:19px;line-height:1.2;white-space:nowrap}
#main .order-offer .order-offer-words{grid-column:1/-1;margin:0;padding:10px 12px;border-radius:4px 14px 14px 14px;background:var(--soft);color:var(--ink);font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.order-offer-actions{grid-column:1/-1;display:flex;gap:10px}
#main .order-offer-actions>button{flex:1;width:auto;min-width:0;min-height:46px;margin:0;padding:10px 12px;font-size:15px}
#main .order-offer-actions>.primary{flex:1.35}
/* Тихая ссылка под карточками: пригласить ещё исполнителя, подсказка по шагу. */
.order-more-link{display:flex;align-items:center;justify-self:start;gap:8px;min-height:44px;padding:0 6px;color:var(--accent);font-size:15px;font-weight:600;text-align:left}
.order-more-link svg{flex:none;width:20px;height:20px}
/* Выбранный исполнитель: кто он, о чём договорились и что дальше. */
#main .order-two-parts .order-chosen{display:grid;gap:12px}
#main .order-chosen>*{margin:0}
.order-chosen-facts{display:grid;margin:0;border-top:1px solid var(--line)}
.order-chosen-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid var(--line)}
.order-chosen-facts dt{color:var(--muted);font-size:14.5px}
.order-chosen-facts dd{margin:0;font-size:16px;font-weight:700;text-align:right}
#main .order-invited h3{margin:0}
.order-detail-v2 .order-detail-v2-facts>div[data-fact=price]::before{background-color:var(--accent-soft);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 20V5h5.5a4 4 0 0 1 0 8H5M5 17h8'/%3E%3C/svg%3E")}
@media(max-width:820px){
  .order-two-parts .order-topbar{margin-bottom:8px}
  .order-first-part{gap:12px}
  .order-detail-v2 .redesign-detail-primary>.order-first-part{order:1}
  body.large-text .order-two-parts .order-detail-v2-actions>.small{font-size:16px}
  body.large-text .order-two-parts .order-detail-v2-actions h3{font-size:19px}
}
body.large-text .order-head-kind,body.large-text .order-progress,body.large-text .order-person-copy .rating,body.large-text .order-person-profile,body.large-text .order-offer-price span{font-size:16px}
body.large-text .order-parts button,body.large-text .order-more-link,body.large-text .order-chosen-facts dt{font-size:17px}
body.large-text .order-person-copy strong,body.large-text .order-chosen-facts dd{font-size:19px}
body.large-text #main .order-offer .order-offer-words,body.large-text #main .order-offer-actions>button{font-size:17px}
body.large-text .order-offer-price strong{font-size:21px}
