header{grid-template-columns:auto 42px minmax(0,1fr) 38px;max-width:980px;gap:10px;padding:8px 10px}.brand{font-size:16px}.header-search,.icon-button{display:grid;place-items:center;width:38px;height:38px;min-width:38px;padding:0;border:0;border-radius:11px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.header-search{background:#dfeeff;color:#063d72;font-size:24px;font-weight:900;box-shadow:inset 0 0 0 1px #ffffff55}.icon-button{background:rgba(255,255,255,.1);color:#fff;font-size:17px}.header-search:active,.icon-button:active{transform:scale(.96)}#hud{justify-self:end;grid-template-columns:repeat(4,minmax(54px,auto));gap:5px}#hud>div{min-width:54px;padding:5px 7px}#hud strong{font-size:13px}#search-panel{position:fixed;z-index:40;top:calc(max(12px,env(safe-area-inset-top)) + 60px);left:50%;width:min(760px,calc(100% - 24px));max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - 78px);transform:translateX(-50%);padding:10px;border:1px solid #ffffff24;border-radius:18px;background:rgba(6,13,22,.97);box-shadow:0 16px 48px #000a;backdrop-filter:blur(20px);overflow:hidden}#search-panel[hidden]{display:none}.search-panel-head{display:grid;grid-template-columns:1fr 40px;gap:8px}.search-panel-head input{min-width:0;width:100%;padding:12px 14px;border:0;border-radius:12px;background:#fff;color:#111;font:16px/1.2 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.search-panel-head button,.search-actions button{border:0;border-radius:12px;font:700 15px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.search-panel-head button{background:#263544;color:#fff;font-size:23px}.search-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.search-actions button{padding:10px;background:#dfeeff;color:#063d72}#search-panel #suggestions{position:static;z-index:auto;top:auto;left:auto;width:auto;max-height:min(54dvh,520px);margin:9px -2px -2px;transform:none;overflow:auto;border-radius:13px;box-shadow:none;-webkit-overflow-scrolling:touch}.contact-import{margin-top:18px;padding-top:14px;border-top:1px solid #ffffff20}.contact-import h3{margin:0 0 6px}.contact-import p{margin:0 0 10px;color:#b9c5d0;font-size:14px}.import-button{display:block;width:100%;padding:12px;border-radius:12px;background:#0a84ff;color:#fff;text-align:center;font-weight:750;cursor:pointer}.import-button input{display:none}#contact-import-status{display:block;margin-top:9px;color:#b9c5d0;font-size:13px;line-height:1.35}@media(max-width:760px){header{grid-template-columns:auto 38px minmax(0,1fr) 34px;width:calc(100% - 14px);gap:6px;padding:6px 7px}.brand{font-size:14px}.header-search{width:36px;height:36px;min-width:36px;border-radius:10px;font-size:22px}.icon-button{width:34px;height:34px;min-width:34px;border-radius:10px;font-size:15px}#hud{gap:3px;grid-template-columns:repeat(4,minmax(36px,1fr))}#hud>div{min-width:36px;padding:4px 2px;text-align:center}#hud span{font-size:0}#hud strong{margin:0;font-size:9px}#search-panel{top:calc(max(10px,env(safe-area-inset-top)) + 49px);width:calc(100% - 14px);max-height:calc(100dvh - max(10px,env(safe-area-inset-top)) - 62px);padding:8px;border-radius:15px}.search-panel-head{grid-template-columns:1fr 38px;gap:6px}.search-panel-head input{padding:11px 12px;font-size:16px}.search-actions{gap:6px;margin-top:6px}.search-actions button{padding:9px;font-size:14px}#search-panel #suggestions{max-height:calc(100dvh - 174px);margin-top:7px}.suggestion{min-height:62px;padding:11px 12px}.suggestion strong{font-size:17px}.suggestion small{font-size:14px}}@media(max-width:900px){header{display:grid!important;grid-template-columns:38px minmax(0,1fr) 34px!important;grid-template-areas:"search hud settings"!important;align-items:center!important;width:calc(100% - 16px)!important;max-width:none!important;min-height:48px!important;padding:6px 7px!important;gap:6px!important;overflow:hidden!important}.brand{display:none!important}#search-open{grid-area:search!important;position:static!important;margin:0!important}#hud{grid-area:hud!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;width:100%!important;min-width:0!important;gap:4px!important;justify-self:stretch!important}#hud>div{min-width:0!important;width:auto!important;padding:5px 3px!important;overflow:hidden!important}#hud span{font-size:8px!important;white-space:nowrap!important}#hud strong{font-size:11px!important;overflow:hidden!important;text-overflow:ellipsis!important}#settings{grid-area:settings!important;position:static!important;width:32px!important;height:32px!important;min-width:32px!important;padding:0!important;margin:0!important;font-size:14px!important;border-radius:9px!important}#search-panel{top:calc(max(10px,env(safe-area-inset-top)) + 55px)!important;z-index:60!important}#search-panel #suggestions{max-height:calc(100dvh - 185px)!important}}@media(max-width:900px) and (orientation:landscape){header{top:max(6px,env(safe-area-inset-top))!important;width:calc(100% - 12px)!important;min-height:44px!important;padding:5px 6px!important}#hud>div{padding:3px 2px!important}#hud span{font-size:7px!important}#hud strong{font-size:10px!important}#search-panel{top:calc(max(6px,env(safe-area-inset-top)) + 49px)!important;max-height:calc(100dvh - 60px)!important}}
/* Clean V0.37: real SVG icon and keyboard-compact result list */
.header-search,.icon-button{background:transparent!important;box-shadow:none!important;border-radius:0!important}.header-search:before,.header-search:after{display:none!important;content:none!important}.header-search-icon{display:block;width:24px;height:24px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.icon-button{font-size:22px!important;color:#fff!important}#search-panel{display:flex;flex-direction:column;max-height:calc(var(--visual-viewport-height,100dvh) - var(--search-panel-top,78px) - 8px)!important}#search-panel #suggestions{flex:1 1 auto;min-height:0;max-height:none!important;overscroll-behavior:contain!important}.keyboard-open .search-actions{display:none!important}.keyboard-open #search-panel{height:calc(var(--visual-viewport-height,100dvh) - var(--search-panel-top,78px) - 8px)!important;padding:7px!important}.keyboard-open #search-panel #suggestions{margin-top:6px!important;border-radius:10px!important}.keyboard-open .suggestion-group{padding:6px 12px 5px;font-size:11px}.keyboard-open .suggestion{min-height:54px;padding:9px 12px}.keyboard-open .suggestion strong{font-size:17px}.keyboard-open .suggestion small{margin-top:3px;font-size:13px}.keyboard-open .suggestion .kind{font-size:11px}@media(max-width:900px){#search-open{width:32px!important;height:32px!important;min-width:32px!important}.header-search-icon{width:22px;height:22px}#settings{font-size:22px!important;background:transparent!important;border-radius:0!important}.keyboard-open #search-panel{height:calc(var(--visual-viewport-height,100dvh) - var(--search-panel-top,64px) - 6px)!important}}
/* Clean V0.38: preserve second address line in keyboard results */
.keyboard-open .suggestion{min-height:70px!important;padding:9px 12px 10px!important}.keyboard-open .suggestion strong{display:block!important;line-height:1.15!important;padding-right:72px!important}.keyboard-open .suggestion small{display:block!important;margin-top:4px!important;font-size:13px!important;line-height:1.25!important;color:#4b5563!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;padding-right:10px!important}
/* Clean V0.39: extend marked result box farther downward */
.keyboard-open #search-panel{height:calc(var(--visual-viewport-height,100dvh) - var(--search-panel-top,78px) + 24px)!important;max-height:none!important}.keyboard-open #search-panel #suggestions{min-height:132px!important}.keyboard-open .suggestion{min-height:104px!important;padding:10px 12px 17px!important}.keyboard-open .suggestion small{min-height:38px!important;margin-top:7px!important}@media(max-width:900px){.keyboard-open #search-panel{height:calc(var(--visual-viewport-height,100dvh) - var(--search-panel-top,64px) + 24px)!important}}
/* Clean V0.40: standalone PWA contact recovery */
.pwa-contact-import{padding:14px 14px 16px;background:#f4f8fc;color:#17212b;border-top:1px solid #d7e0e8}.pwa-contact-import strong,.pwa-contact-import small{display:block}.pwa-contact-import strong{font-size:17px;line-height:1.2}.pwa-contact-import small{margin-top:5px;color:#52606d;font-size:13px;line-height:1.35}.pwa-contact-import button{display:block;width:100%;margin-top:11px;padding:11px 13px;border:0;border-radius:11px;background:#0a84ff;color:#fff;font:700 15px/1.1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.pwa-contact-import button:active{transform:scale(.99)}