@media (min-width: 1024px) {
/* Amanat Pro: pearl, glass and electric blue. Base forms/media stay in app.css. */
:root {
  --bg: #f5f7fc;
  --ink: #10182f;
  --muted: #59657b;
  --line: #dce5f4;
  --accent: #0668ff;
  --tint: #edf4ff;
  --glass: rgba(255, 255, 255, .72);
  --shadow: 0 14px 38px #214c9910, inset 0 1px 0 #fff;
  font-family: Inter, "Segoe UI", sans-serif;
}
html { scroll-padding-top: 98px; }
body {
  background: radial-gradient(ellipse 70% 650px at 87% 160px, #dceaffb3, transparent),
    radial-gradient(ellipse 60% 450px at 12% 400px, #e7f0ffa6, transparent), var(--bg);
  min-width: 0;
}
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.top { background: #f9fbffe8; color: var(--ink); border-bottom: 1px solid #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 3px 24px #214c9906; }
@supports (backdrop-filter: blur(16px)) { .top, .account-panel { backdrop-filter: blur(20px); } }
.top-inner { max-width: 1536px; padding: 18px 40px; gap: 24px; flex-wrap: nowrap; min-height: 82px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; letter-spacing: -1.4px; font-size: 30px; font-weight: 750; }
.brand:hover { text-decoration: none; }
.brand .brand-name { color: var(--ink); font-weight: inherit; }
.brand-mark { color: var(--accent); width: 39px; height: 34px; }
.city-label { color: var(--ink); border-left: 1px solid #ccd8ed; padding-left: 24px; font-size: 14px; gap: 4px; min-width: 0; }
.city-label .icon { color: var(--accent); width: 19px; }
.city-label select { background: transparent; color: var(--ink); border-radius: 10px; padding: 9px 4px; max-width: 155px; font-size: 14px; min-height: 44px; }
.header-directions { display: flex; gap: 12px; margin: auto; }
.header-directions button { border: 0; background: none; color: var(--ink); min-height: 44px; font-size: 14px; font-weight: 550; padding: 8px 10px; border-radius: 12px; }
.header-directions button:hover, .header-directions button[aria-current] { color: var(--accent); background: var(--tint); }
.top .account { flex-basis: auto; margin: 0 0 0 auto; gap: 10px; width: auto; color: var(--ink); }
.button { border-radius: 15px; font-weight: 550; transition: background .18s, box-shadow .18s, transform .18s; border-color: var(--line); }
.button.primary { background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent), #001cff 23%)); box-shadow: 0 7px 18px color-mix(in srgb, var(--accent) 17%, transparent), inset 0 1px 0 #ffffff45; }
.button.primary:hover { filter: brightness(.97); box-shadow: 0 9px 22px color-mix(in srgb, var(--accent) 24%, transparent); }
.button:active { transform: translateY(1px); }
.top .login-button { background: #ffffff80; border-color: var(--accent); color: var(--ink); min-width: 86px; }
.login-button .icon { display: none; }
.publish-button .icon { width: 17px; height: 17px; }
.account-menu { position: relative; }
.account-menu summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 50%; list-style: none; cursor: pointer; background: var(--glass); }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.account-menu #account-name { font-size: 12px; max-width: 95px; }
.account-panel { position: absolute; top: calc(100% + 12px); right: 0; background: #ffffffed; border: 1px solid #e1e9f5; border-radius: 24px; box-shadow: 0 24px 60px #16356826; width: 280px; max-height: calc(100dvh - 110px); overflow-y: auto; }
.nav-inner { display: grid; padding: 16px; gap: 3px; }
.nav-inner > strong { padding: 8px 12px 12px; font-size: 14px; }
.nav-button { border-radius: 12px; text-align: left; justify-content: flex-start; color: var(--muted); }
.nav-button:hover { background: var(--tint); color: var(--accent); }
.nav-inner .button { margin: 6px 0 0; }
.shell, .shell.without-sidebar { display: flex; flex-direction: column; max-width: 1536px; padding: 0 40px 56px; }
main { width: 100%; }
.future-hero { position: relative; isolation: isolate; padding: 40px 0 24px; min-height: 400px; }
.future-hero::before { content: ""; position: absolute; inset: 0 -40px; z-index: -2; pointer-events: none; background-image: linear-gradient(#aac3ef20 1px, transparent 1px), linear-gradient(90deg, #aac3ef20 1px, transparent 1px); background-size: 70px 70px; mask-image: radial-gradient(ellipse at 80% 35%, #000, transparent 65%); }
.future-hero .intro { width: 57%; position: relative; z-index: 2; margin-bottom: 22px; }
.eyebrow { color: #4d638e; font-size: 11px; font-weight: 650; letter-spacing: 1.5px; }
.future-hero h1 { font-size: clamp(40px, 4.15vw, 66px); line-height: 1.06; letter-spacing: -2.5px; font-weight: 750; margin: 16px 0 12px; overflow-wrap: break-word; }
.future-hero h1 > span { color: var(--accent); }
.future-hero h1 > .heading-start { color: var(--ink); }
.future-hero .intro p { color: #52607d; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.55; max-width: 600px; }
.future-hero-art { position: absolute; pointer-events: none; object-fit: contain; width: 54%; height: 100%; right: -25px; top: 0; z-index: -1; filter: drop-shadow(0 16px 26px #4980ca0b); }
.future-hero .search { position: relative; width: 55%; display: flex; flex-wrap: nowrap; align-items: center; gap: 12px; background: #ffffffe0; border: 1px solid #fff; box-shadow: 0 9px 28px #377bdb1c, inset 0 0 0 1px #c5dbf785; border-radius: 999px; padding: 6px 7px 6px 22px; margin: 0 0 18px; z-index: 2; }
.search > .icon { color: #536280; width: 25px; height: 25px; }
.future-hero .search input { min-width: 0; width: 100%; flex: 1 1 0; border: 0; border-radius: 0; padding: 10px 0; background: transparent; font-size: 16px; color: var(--ink); box-shadow: none; }
.search input::placeholder { color: #697792; opacity: 1; }
.search:focus-within { outline: 3px solid color-mix(in srgb, var(--accent) 35%, transparent); outline-offset: 3px; }
.search input:focus-visible { outline: none; }
.search .button { border-radius: 999px; min-width: 110px; min-height: 48px; font-size: 16px; }
.search .button .icon { display: none; }
.intent-tabs { position: relative; display: flex; gap: 12px; width: 57%; z-index: 2; }
.intent-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 20px; font-size: 14px; font-weight: 550; color: #36435f; border: 1px solid #fff; border-radius: 16px; background: linear-gradient(155deg, #ffffffeb, #edf4ffcf); box-shadow: 0 7px 18px #426db113, inset 0 0 0 1px #dbe6f785; transition: transform .18s, box-shadow .18s; }
.intent-tabs button:hover { box-shadow: 0 8px 24px #286ad623; transform: translateY(-2px); }
.intent-tabs button[aria-pressed="true"] { background: linear-gradient(145deg, var(--accent), #1450ef); color: #fff; box-shadow: 0 7px 20px #0668ff30; }
.service-categories { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 4px 0 30px; }
.category-tile { min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 4px 6px 16px; border: 1px solid #fff; border-radius: 25px; background: linear-gradient(140deg, #ffffffb3, #dce9ff70); box-shadow: var(--shadow); color: var(--ink); font-size: 16px; font-weight: 650; line-height: 1.3; transition: transform .2s, box-shadow .2s, border-color .2s; }
.category-tile:hover { transform: translateY(-5px); box-shadow: 0 15px 30px #2b62b51a; }
.category-tile[aria-pressed="true"] { border-color: var(--accent); background: linear-gradient(130deg, #fff, #d9e9ff); box-shadow: 0 0 0 2px #0668ff15; }
.category-art { display: block; width: min(100%, 150px); aspect-ratio: 1; background-image: url('/assets/amanat/future-categories.webp'); background-size: 300% 200%; background-repeat: no-repeat; }
.defer-category-art .category-art { background-image: none; }
.category-electrical { background-position: 0% 0%; }
.category-plumbing { background-position: 50% 0%; }
.category-repair { background-position: 100% 0%; }
.category-construction { background-position: 0% 100%; }
.category-design { background-position: 50% 100%; }
.category-all { background-position: 100% 100%; }
.tabs { margin-bottom: 18px; gap: 6px; }
.tabs button { border: 1px solid transparent; padding: 9px 15px; min-height: 40px; background: #ffffff80; color: var(--muted); font-size: 13px; }
.tabs button[aria-pressed="true"] { border-color: #cddffa; color: var(--accent); background: #fff; box-shadow: 0 4px 12px #376db710; }
.guest-preview { padding: 12px 16px; border: 1px solid #dce7f8; background: #ffffff82; margin-bottom: 24px; border-radius: 17px; align-items: center; }
.guest-preview strong { font-size: 12px; color: #465776; }
.guest-preview p { font-size: 11px; margin-top: 3px; max-width: none; }
.guest-preview .button { padding: 8px 14px; min-height: 40px; font-size: 12px; box-shadow: none; flex-shrink: 0; }
.catalog-layout { display: block; }
.catalog-heading { margin-bottom: 20px; }
.catalog-heading h2 { font-size: clamp(26px, 2.7vw, 38px); font-weight: 700; letter-spacing: -1px; }
#results.list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
#results:not(.works-feed) { grid-auto-rows: minmax(250px, auto); }
#results:not(.works-feed) .work-listing { grid-row: span 2; }
#results .empty { grid-column: 1/-1; }
.listing { border: 1px solid #fff; background: linear-gradient(135deg, #ffffffed, #f8fbffdd); border-radius: 24px; box-shadow: var(--shadow); padding: 22px; display: flex; flex-direction: column; }
.listing-head { margin-bottom: 15px; }
.listing-head > div { min-width: 0; }
.listing h3 { font-size: 19px; line-height: 1.35; font-weight: 650; }
.listing .avatar { width: 54px; height: 54px; border: 1px solid #e5edf9; background: #ecf3ff; color: #587297; border-radius: 17px; }
.listing .money { font-size: 21px; margin-top: 12px; }
.listing .listing-foot { margin-top: auto; padding-top: 18px; }
.listing .meta { color: #59657c; }
.listing .badge { font-size: 10px; color: #48628d; background: #eaf1ff; }
.listing .badge.online { color: #21734c; background: #e7f6ef; }
.listing .work-previews { margin-bottom: 4px; }
.listing .button { font-size: 12px; padding: 10px 13px; }
.work-listing .work-album { min-width: 0; }
#results.works-feed { grid-template-columns: minmax(0, 760px); justify-content: center; }
.actions-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.rail-dark, .rail-card { background: linear-gradient(130deg, #ffffffe0, #e9f2ff99); color: var(--ink); border: 1px solid #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 24px; }
.rail-dark p, .rail-card p { color: var(--muted); }
.rail-card .button { display: inline-flex; margin: 12px 6px 0 0; }
.actions-rail > .small { grid-column: 1/-1; margin: 0; text-align: center; }
.architecture { width: 100%; order: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 46px; }
.architecture .aside-label { grid-column: 1/-1; font-size: 12px; }
.project-tile { border-radius: 24px; overflow: hidden; background: #ffffffb3; border: 1px solid #fff; box-shadow: var(--shadow); }
.project-photo { height: 200px; width: 100%; object-fit: cover; border-radius: 0; }
.project-copy { padding: 18px 20px; }
.project-copy strong { font-size: 18px; color: var(--ink); }
.project-copy > span { color: var(--muted); font-size: 13px; }
.project-copy .project-link { color: var(--accent); }
.aside-note { grid-column: 1/-1; text-align: center; max-width: none; margin: 0; }
.screen:not(#hub) { padding-top: 38px; min-height: 50vh; }
.screen:not(#hub) > h1, .screen:not(#hub) .intro h1 { font-size: clamp(30px, 3vw, 46px); }
.form, .notice, .support-card, .empty { border-radius: 20px; }
.form input, .form select, .form textarea { border-color: var(--line); background: #ffffffd9; color: var(--ink); }
.support-card { background: var(--glass); border: 1px solid #fff; box-shadow: var(--shadow); }
.store-card, .section-card { box-shadow: var(--shadow); background: linear-gradient(135deg, #ffffffde, #eef5ffb3); }
.stores-wrap { max-width: 1456px; margin-inline: auto; padding-inline: 40px; display: block; }
footer { max-width: 1536px; padding: 24px 40px; border-top: 1px solid #e1e8f5; }
dialog { border: 1px solid #fff; box-shadow: 0 28px 100px #18356233; border-radius: 28px; background: #fcfdff; color: var(--ink); }
dialog::backdrop { background: #19294555; backdrop-filter: blur(6px); }
@media (min-width: 1700px) { .future-hero { min-height: 470px; } }
@media (max-width: 1250px) {
  .top-inner { gap: 16px; padding-inline: 28px; }
  .brand { font-size: 26px; gap: 7px; }
  .brand-mark { width: 31px; }
  .city-label { padding-left: 16px; }
  .city-label select { max-width: 120px; }
  .header-directions { gap: 2px; }
  .header-directions button { padding-inline: 7px; font-size: 13px; }
  .top .account { gap: 7px; }
  .top .button { padding-inline: 13px; font-size: 13px; }
  .publish-button > span { display: none; }
  .publish-button .icon { display: block; }
  .top .publish-button { min-width: 44px; padding-inline: 12px; }
  .shell, .shell.without-sidebar { padding-inline: 28px; }
  .future-hero::before { inset-inline: -28px; }
  .future-hero { min-height: 390px; padding-top: 40px; }
  .future-hero-art { width: 54%; top: 18px; right: -10px; }
  .future-hero h1 { font-size: 49px; letter-spacing: -1.9px; }
  .future-hero .intro, .future-hero .search, .intent-tabs { width: 58%; }
  .intent-tabs { gap: 8px; }
  .intent-tabs button { font-size: 12px; padding-inline: 13px; }
  .intent-tabs .icon { width: 18px; height: 18px; }
  .category-tile { font-size: 14px; }
  .category-art { width: min(100%, 125px); }
  #results.list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #results.works-feed { grid-template-columns: minmax(0, 760px); }
}



@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.publish-button { display: inline-flex; }
.account-menu { display: block; }
/* The original mobile DOM stays in place. Only desktop lays these elements out. */
.icon-library, .brand-mark, .future-hero-art, .search > .desktop-only { display: block; }
.city-label { font-size: 0; }
.city-label > .icon { display: block; }
.brand .brand-name > span { color: var(--ink); font-weight: inherit; }
.top .account-label { display: none; }
.top #account-name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top #login { background: #ffffff80; border-color: var(--accent); color: var(--ink); min-width: 86px; box-shadow: none; transition: none; }
.future-hero-art > img { display: block; width: 100%; height: 100%; object-fit: contain; }
#content { order: 1; display: flex; flex-direction: column; }
#hub:not([hidden]) { display: contents; }
.future-hero { order: 1; }
.service-categories { order: 2; }
#hub > .tabs { order: 3; }
#guest-preview { order: 4; }
#hub > .catalog-layout { order: 5; }
.account-panel .nav-inner > .account-panel-title { display: block; }

}
