html{overscroll-behavior-y:contain}
/* City list */
.hk-city .hk-sheet-body{display:flex;flex-direction:column;gap:10px;max-height:78dvh}
.hk-city h2{margin:0;font-size:19px}
.hk-city-q{width:100%;min-height:46px;padding:0 14px;border:1px solid #dfe1e8;border-radius:13px;background:#f6f6f8;font:inherit;box-sizing:border-box}
.hk-city-rows{overflow:auto;display:grid;align-content:start;min-height:220px;overscroll-behavior:contain}
.hk-city-rows button{display:block;width:100%;min-height:46px;padding:0 4px;border:0;border-bottom:1px solid #eff0f3;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.hk-city-rows p{margin:12px 4px;color:var(--muted)}
input[name=city][readonly]{cursor:pointer}
/* Pull to refresh */
.hk-pull{position:fixed;top:64px;left:50%;z-index:60;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#fff;color:#bd2559;box-shadow:0 3px 14px #1b203033;opacity:0;pointer-events:none;transform:translate(-50%,-44px);transition:opacity .15s}
.hk-pull-busy svg{animation:hk-spin .8s linear infinite}
@keyframes hk-spin{to{transform:rotate(360deg)}}
/* Notifications */
.nm-row:not(.nm-new){background:#f7f7f9;border-color:#eef0f3;box-shadow:none}
.nm-row:not(.nm-new) .nm-body strong{font-weight:500;color:#6c7280}
.nm-row:not(.nm-new) .nm-symbol{opacity:.5}
.nm-row:not(.nm-new) .nm-order-title,.nm-row:not(.nm-new) .nm-context{color:#8b909a}
.hk-read-all{min-width:44px;min-height:44px;padding:0;color:#bd2559}
/* Settings switch */
.hk-vibrate{align-items:flex-start;margin:0 0 12px}.hk-vibrate small{display:block;color:var(--muted);font-size:12px;margin-top:2px}
/* Full name as one compact block */
.pi-names{gap:0!important;padding:0!important;background:#fff;border:1px solid #e3e4ea;border-radius:14px;overflow:hidden;margin-bottom:10px}
.pi-names>.field{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;margin:0!important;padding:0 12px;border-bottom:1px solid #eceef2}
.pi-names>.field>span{font-size:13px;color:var(--muted);margin:0}
.pi-names>.field input{min-height:44px;border:0!important;background:none!important;box-shadow:none!important;padding:0!important;border-radius:0;outline-offset:-2px}
.pi-names>.check{margin:0;padding:10px 12px 4px;font-size:13px}
.pi-names>.hint{margin:0;padding:0 12px 10px;font-size:12px}
.pt-panel .field,#profile-form .field{margin-bottom:10px}
.pt-panel .panel,.pt-panel section{margin-bottom:10px}
/* Calendar counters */
.cal-marks .cal-more{display:inline-grid;place-items:center;min-width:17px;height:15px;padding:0 3px;border-radius:8px;background:#bd2559;color:#fff;font:700 10px/1 system-ui;box-sizing:border-box}
.cal-marks .cal-more.pending{background:#f3e3ea;color:#a73456}
/* Write it for me */
@keyframes hk-ai-glow{0%,100%{box-shadow:0 0 0 0 #bd255940}60%{box-shadow:0 0 0 7px #bd255900}}
@keyframes hk-ai-spark{0%,70%,100%{transform:none}80%{transform:scale(1.22) rotate(-10deg)}90%{transform:scale(1.05) rotate(6deg)}}
.of-ai{animation:hk-ai-glow 2.4s ease-out 3}
.of-ai svg{animation:hk-ai-spark 2.4s ease-in-out 3}
/* Order photos as squares */
.o-draft-photos,.of-photos .o-draft-photos{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;width:100%}
.o-draft-photo,.of-photos .o-draft-photo{width:auto!important;height:auto!important;aspect-ratio:1;margin:0;border-radius:14px;overflow:visible}
body.gm-map-open .gm-canvas:has(.g-yandex-logo) .gm-map-status:not(:empty){top:12px;bottom:auto;height:auto;right:auto}
.o-draft-preview{display:block;width:100%;height:100%;padding:0;border:0;border-radius:14px;overflow:hidden;background:#f1f1f4}
.o-draft-preview img{display:block;width:100%;height:100%;object-fit:cover}
.o-upload-queue,.of-photos .o-upload-queue{display:contents!important}
.o-upload-tile,.of-photos .o-upload-tile{position:relative;display:grid;place-items:center;gap:4px;aspect-ratio:1;width:auto!important;height:auto!important;margin:0!important;padding:6px;border:1.5px dashed #d6d8df;border-radius:14px;background:#fafafb;color:#5c6270;font-size:12px;line-height:1.2;text-align:center;box-sizing:border-box;cursor:pointer}
.o-upload-tile[hidden]{display:none}
.o-upload-tile input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer}
.o-tile{position:relative;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#eceef2}
.o-tile>img{display:block;width:100%;height:100%;object-fit:cover}
.o-tile>img[hidden]{display:none}
.o-tile-veil{position:absolute;inset:0;display:grid;place-items:center;background:#ffffff59}
.o-tile-ring{--p:0;display:block;width:56%;aspect-ratio:1;border-radius:50%;background:conic-gradient(#bd2559 calc(var(--p)*1%),#ffffffd9 0);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5px));mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 5px));filter:drop-shadow(0 1px 3px #20263340)}
.o-tile.is-working .o-tile-ring{animation:hk-spin 1.1s linear infinite}
.o-tile-percent{position:absolute;left:6px;bottom:6px;min-width:30px;padding:2px 6px;border-radius:6px;background:#1e2330d9;color:#fff;font:600 11px/1.3 system-ui;text-align:center;font-variant-numeric:tabular-nums;box-sizing:border-box}
.o-tile-x{position:absolute;top:4px;right:4px;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:#1e2330b3;color:#fff;cursor:pointer}
.o-tile-x svg{width:14px;height:14px}
.o-tile-error{position:absolute;inset:0;display:grid;place-content:center;gap:4px;padding:4px;background:#1e2330b8;color:#fff;font-size:11px;text-align:center}
.o-tile-error .btn{min-height:28px;padding:0 8px;font-size:12px;color:#fff;border-color:#fff}
/* Order files */
.hk-files{margin-top:12px}.hk-file-list{display:grid;gap:6px;margin-bottom:6px}
.hk-file{display:flex;align-items:center;gap:10px;padding:9px 10px;border:1px solid #e6e7ec;border-radius:12px;background:#fff;color:inherit;text-decoration:none;min-width:0}
.hk-file>svg{flex:none;color:#bd2559}.hk-file>span{flex:1;min-width:0;display:grid;gap:2px}.hk-file strong{font-size:13px;font-weight:600;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hk-file small{font-size:12px;color:var(--muted)}.hk-file.is-error small{color:#b42318}
.hk-file-x{flex:none;width:28px;height:28px;padding:0;border:0;border-radius:50%;background:#f0f1f4;color:#4d5360;font-size:17px;line-height:1;cursor:pointer}
.hk-file-bar{display:block;height:3px;border-radius:2px;background:#eceef2;overflow:hidden}.hk-file-bar b{display:block;height:100%;width:0;background:#bd2559;transition:width .15s}
.hk-file-add{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border:1.5px dashed #d6d8df;border-radius:12px;background:#fafafb;color:#3d424e;font-size:14px;font-weight:600;cursor:pointer}.hk-file-add>svg{color:#bd2559}.hk-file-add input{position:absolute;inset:0;opacity:0;cursor:pointer}
.hk-order-files{display:grid;gap:6px;margin-top:12px}.hk-order-files h3{margin:0}
.hk-report{display:block;margin:14px auto 4px;color:#8b909a;font-size:13px}
.hk-word-note{margin:6px 0 0;color:#b42318;font-size:13px}
/* Specialist finder */
.fd-screen #sd-search{margin:0 0 8px}
.fd-bar{display:flex;gap:8px;align-items:center}
.fd-search{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:8px;min-height:46px;padding:0 10px 0 13px;border:1px solid #e0e2e8;border-radius:14px;background:#fff;color:#6c7280}
.fd-search:focus-within{border-color:#bd2559}
.fd-search input{flex:1;min-width:0;height:44px;border:0;outline:0;background:none;font:inherit;color:#20242e;padding:0;box-shadow:none}
.fd-search input::-webkit-search-cancel-button{display:none}
.fd-x{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:#eceef2;color:#4d5360;cursor:pointer}
.fd-x[hidden]{display:none}
.fd-filter{position:relative;flex:none;display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid #e0e2e8;border-radius:14px;background:#fff;color:#20242e;cursor:pointer}
.fd-filter small{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:18px;height:18px;border-radius:9px;background:#bd2559;color:#fff;font:700 11px/1 system-ui}
.fd-sheet .hk-sheet-body{max-height:82dvh;overflow:auto}
.fd-sheet .sd-filter-grid{display:grid;gap:8px;margin-bottom:12px}
.fd-sheet .field{margin:0}
.fd-sheet h2{margin:0 0 10px}
.fd-links{display:flex;gap:8px;margin:0 0 8px;overflow:auto}
.fd-links .btn{flex:1;min-height:38px;font-size:13px;white-space:nowrap}
.fd-screen .sd-result-count{margin:4px 0 6px;font-size:13px}
.fd-screen .ds-active{margin:0 0 6px}
.fd-empty{padding:24px 8px;text-align:center;color:var(--muted)}
@media(prefers-reduced-motion:reduce){.of-ai,.of-ai svg,.hk-pull-busy svg,.o-tile-ring{animation:none!important}}

/* Lists open with a plain chevron */
select,input[name=city][readonly],.hk-pick{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px}
select{appearance:none;-webkit-appearance:none;padding-right:36px}
input[name=city][readonly]{padding-right:36px}
.hk-pick{display:block;width:100%;min-height:46px;padding:0 36px 0 14px;border:1px solid #dfe1e8;border-radius:12px;background-color:#fff;color:inherit;font:inherit;text-align:left;cursor:pointer;box-sizing:border-box}
select.hk-pick-native{position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;border:0!important;opacity:0;pointer-events:none}
.hk-city-rows button[aria-selected=true]{color:#bd2559;font-weight:600}
/* Photos: the add tile stays */
.of-photos .o-draft-preview,.of-photos .o-draft-preview img{width:100%;height:100%}
.of-photos label.o-upload-button.o-upload-tile{width:auto;height:auto}
.o-upload-tile.is-full{opacity:.55;cursor:default}
.o-upload-tile.is-full input{display:none}
/* The floating "who is viewing" card never covers the last buttons */
body:has(#of-peek) #main{padding-bottom:calc(150px + env(safe-area-inset-bottom))}
/* Published: the lines appear one after another */
.op-sent .op-stage{animation:hk-line-in .4s .5s both}
.op-sent .op-waiting{display:block;animation:hk-line-in .4s 1.3s both}
@keyframes hk-line-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
/* Identity steps */
.ix-steps{display:grid;gap:0;padding:6px 14px;background:#fff;border-radius:16px;margin-bottom:12px}
.ix-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:11px 0;border-bottom:1px solid #eff0f3}
.ix-step:last-child{border-bottom:0}
.ix-step>i{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eceef2;color:#6c7280;font:700 13px/1 system-ui}
.ix-step.is-now>i{background:#bd2559;color:#fff}
.ix-step.is-done>i{background:#dff3e6;color:#1d7a43}
.ix-step strong{display:block;font-size:15px}
.ix-step small{display:block;margin-top:2px;color:var(--muted);font-size:13px;line-height:1.35}
.ix-step .btn{margin-top:7px;min-height:36px;font-size:13px}
.ix-why{margin:0 0 10px;font-size:14px;line-height:1.4}
.ix-redesigned .ix-names,.ix-redesigned .ix-names+.hint,.ix-redesigned .ix-names+.hint+[data-do="nav:profile"]{display:none}
/* Staff */
.pc-how{margin:0 0 12px;padding:10px 14px 10px 30px;background:#fff;border-radius:14px;font-size:14px;line-height:1.5}
.pc-filters{margin:0 0 12px;font-size:13px}.pc-filters summary{cursor:pointer;color:var(--muted)}
.pc-links{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.pc-links .btn{min-height:36px;font-size:13px}
@media(prefers-reduced-motion:reduce){.op-sent .op-stage,.op-sent .op-waiting{animation:none}}
#language{padding-right:26px;background-position:right 8px center!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c7280' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important}
