/* Faithful layout of the approved standalone concept, with production data. */
.ks-modern .brand-mark{min-width:43px!important;max-width:43px!important}
.ks-modern .profile-menu-trigger>span svg{color:var(--navy)!important}
.ks-modern .address-head h2>span{font:inherit!important;letter-spacing:inherit!important;text-transform:none!important}
.ks-modern .address-head .address-updated{letter-spacing:0!important;text-transform:none!important}
.ks-modern .address-head:after{left:auto!important;right:-26px!important;top:-45px!important;width:139px!important;height:139px!important;border:24px solid #ffffff06!important}
.ks-modern .modal-card{color:var(--navy)}
.ks-modern .modal-card h2{color:var(--navy)}
.ks-modern #requestForm .count-copy>small{display:none!important}
.ks-modern .profile-menu-identity{border:0!important}
.ks-modern .profile-menu-identity small,.ks-modern .profile-menu-action small{font-weight:400!important}
.ks-modern .reference-equipment .lkd-display-fact div b{color:var(--navy)!important}
.ks-modern .reference-equipment .lkd-display-fact div small,.ks-modern .reference-equipment .lkd-display-fact span{font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
.ks-modern .reference-equipment .lkd-display-fact i{font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
.ks-modern .reference-facts .floors-fact{background:#edf2ff!important;border-color:#e2e8f4!important}
.ks-modern .reference-facts .entrances-fact{background:#f5f2e8!important;border-color:#ece8dc!important}
.ks-modern .entrances-fact .building-fact-icon{color:#9a9474}
.ks-modern .admin-page:not([hidden]){position:static!important;inset:auto!important;width:100%!important;height:auto!important;overflow:visible;background:transparent!important;padding:9px 0!important}
.ks-modern.admin-page-open #appViewport>section:not(.admin-page){display:none!important}
.ks-modern .admin-page .admin-users-head{position:static;margin:0 0 14px;padding:0 0 13px;backdrop-filter:none;background:none}
.ks-modern #adminMenuDialog .admin-tool-button{min-height:0!important}.ks-modern #adminMenuDialog .admin-page-head>div>span{display:none}
.ks-modern #adminMenuDialog .admin-tools-grid{margin-top:0}
.ks-modern .reference-update{background:var(--yellow);border:0;gap:12px}.ks-modern .reference-update b{font-size:12px;color:var(--navy)}
body.ks-modern{--navigation-height:77px;font:15px/1.5 "Segoe UI",Arial,sans-serif;height:100dvh;overflow:hidden}
.ks-modern .launch-splash{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;padding:25px 22px;background:#f6f7f9;opacity:1;visibility:visible;transition:opacity .18s ease,visibility .18s ease}.ks-modern .launch-splash.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.ks-modern .launch-splash-copy{width:100%;max-width:570px}.ks-modern .launch-splash-title{margin:0;font-size:clamp(45px,13.8vw,76px);font-weight:760;line-height:.98;letter-spacing:-.072em}.ks-modern .launch-splash-line{display:block;white-space:nowrap}.ks-modern .launch-splash-dark{color:var(--navy)}.ks-modern .launch-splash-blue{color:#2c5bf2}.ks-modern .launch-splash-word{display:inline-block;opacity:0;transform:translateY(20px) scale(.987);filter:blur(5px);animation:ks-launch-word .32s cubic-bezier(.2,.75,.18,1) forwards;animation-delay:var(--word-delay)}.ks-modern .launch-splash-gap{display:inline-block;width:.17em}.ks-modern .launch-splash-sub{margin:25px 0 0;color:#687c92;font-size:clamp(15px,4.5vw,20px);line-height:1.62;letter-spacing:-.018em;opacity:0;transform:translateY(13px);animation:ks-launch-sub .55s ease forwards;animation-delay:1.26s}@keyframes ks-launch-word{0%{opacity:0;transform:translateY(20px) scale(.987);filter:blur(5px)}65%{opacity:1;filter:blur(0)}100%{opacity:1;transform:none;filter:blur(0)}}@keyframes ks-launch-sub{from{opacity:0;transform:translateY(13px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.ks-modern .launch-splash-word,.ks-modern .launch-splash-sub{opacity:1;transform:none;filter:none;animation:none}.ks-modern .launch-splash{transition:none}}
.ks-modern button,.ks-modern input,.ks-modern textarea,.ks-modern select{font-family:inherit}
.ks-modern svg{width:22px;height:22px;flex:none;vertical-align:middle}
.ks-modern button svg{pointer-events:none}
.ks-modern .shell{position:fixed;left:0;right:0;top:0;transform:none;display:flex;flex-direction:column;width:min(500px,100%);height:calc(100dvh - var(--navigation-height));min-height:0;padding:0;background:var(--bg);overflow:hidden}
/* Navigation (including the queue banner) is already deducted from shell height.
   Override legacy page padding, otherwise it leaves a 145px dead zone. */
body.ks-modern .shell,body.ks-modern.has-navigation-status .shell{padding-bottom:0}
.ks-modern .topbar{flex:none;height:73px!important;min-height:73px;padding:16px 22px 14px!important;gap:11px!important;align-items:center!important;background:var(--bg)}
.ks-modern .brand-mark{flex:0 0 43px!important;width:43px!important;height:43px!important;background:#152c40;border-radius:12px!important;overflow:hidden}
.ks-modern .brand-mark:after{content:none}
.ks-modern .brand-mark>svg{display:block;width:43px;height:43px;stroke:none}
.ks-modern .brand-copy{min-width:0}.ks-modern .brand-copy>strong{font-size:17px!important;font-weight:750;line-height:1.25}.ks-modern .brand-copy>span{font-size:10px!important;font-weight:500;margin-top:3px;line-height:1.25}
.ks-modern .topbar .profile-summary{margin-left:auto!important;flex:0 0 41px!important;width:41px!important;height:41px!important}
.ks-modern .profile-menu-trigger{position:relative;width:41px;height:41px;display:grid;place-items:center}
.ks-modern .profile-menu-trigger:after{content:"";width:7px;height:7px;background:#69b79a;border:2px solid var(--bg);border-radius:50%;position:absolute;right:1px;bottom:1px}
.ks-modern .profile-menu-trigger svg{width:22px;height:22px}
.ks-modern #appViewport{flex:1;min-height:0;padding:10px 22px 25px;overflow:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#d7dee7 transparent}
.ks-modern .hero{padding:0}.reference-greeting{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:9px 0 12px}
.ks-modern .eyebrow{font-size:10px;font-weight:750;letter-spacing:.13em;line-height:1.5}
#syncSummary{display:flex;align-items:center;gap:5px;font-size:10px;color:#5e7d70;white-space:nowrap}#syncSummary i{width:5px;height:5px;border-radius:50%;background:#6baa85}#syncSummary.offline{color:#916329}#syncSummary.offline i{background:#c38c35}
.ks-modern .hero h1{margin:0 0 22px;font-size:32px;line-height:1.08;letter-spacing:-.035em;font-weight:680}.ks-modern .hero h1 em{font-weight:400}
.ks-modern .search-card{padding:17px;margin:0;box-shadow:none}.ks-modern .search-card label{font-size:11px;font-weight:600;line-height:1.5;margin:0 0 7px;color:var(--muted)}
.ks-modern .input-wrap{min-height:49px;height:49px;gap:10px;padding:0 12px;background:#f8f9fb}.ks-modern .input-wrap input{font-size:14px;min-width:0;padding:0;height:47px}.ks-modern .input-wrap>svg{width:18px;height:18px}.ks-modern .input-wrap .clear{width:21px;min-width:21px;padding:0;background:none}
.reference-house-row{display:grid;grid-template-columns:minmax(0,1fr) 116px;gap:10px;align-items:end;margin-top:15px}.house-tip{font-size:11px;color:var(--muted);line-height:1.6;padding-bottom:9px}
.ks-modern #houseNumberInput{width:100%;height:49px;min-width:0;border:1px solid var(--line);border-radius:12px;padding:12px;background:#f8f9fb;font-size:14px;outline-color:#829ef6}
.ks-modern .search-card .primary{margin-top:17px;width:100%;display:flex;justify-content:space-between;align-items:center;padding:13px 17px;min-height:49px;font-size:14px;line-height:1.5;box-shadow:0 6px 13px #285bf315}.ks-modern .search-card .primary:disabled{opacity:1;background:var(--blue)}
.ks-modern #searchHouseHints{position:static;display:flex;gap:6px;box-shadow:none;margin-top:8px;border:0;background:none}.ks-modern #searchHouseHints button{border-radius:8px;background:#edf2ff;padding:6px 12px}
.ks-modern .modern-section-head{margin:25px 0 12px;gap:8px}.ks-modern .modern-section-head h2{font-size:16px;font-weight:730;letter-spacing:-.025em;line-height:1.17}.ks-modern .text-action{display:flex;align-items:center;gap:5px;padding:0;font-size:11px}.text-action svg{width:15px;height:15px}
.ks-modern .quick-access{margin:0}#quickAddressList{gap:8px}
.ks-modern .recent-address,.ks-modern .recent-address:nth-child(n){grid-template-columns:37px minmax(0,1fr) auto!important;padding:14px 13px!important;gap:11px;min-height:0;border-radius:17px}
.ks-modern .recent-address-icon{width:37px;height:40px}.ks-modern .recent-address-copy b{font-size:13px!important;font-weight:670;line-height:1.45!important}.ks-modern .recent-address-copy small{display:block;margin-top:3px;font-size:10px!important;line-height:1.5}.ks-modern .recent-address>i{font-size:17px;font-weight:720;padding:4px 8px;line-height:1.5}
.reference-update{width:100%;margin:16px 0 0;border:1px solid #e5e9ca;border-radius:17px;padding:15px;background:#f0f5d9;display:flex;gap:11px;text-align:left;color:#66763c}.reference-update>svg{width:19px;height:19px}.reference-update div{flex:1;min-width:0}.reference-update b{display:block;font-size:11px}.reference-update p{font-size:11px;line-height:1.6;margin:4px 0 0;color:#7b865d}
.ks-modern .bottom-navigation{display:block!important;width:min(500px,100%);padding:10px 12px calc(13px + env(safe-area-inset-bottom,0px));bottom:0;z-index:25}
.ks-modern .bottom-navigation-actions{gap:0}.ks-modern .bottom-navigation-actions>button{min-height:0;display:flex;flex-direction:column;gap:4px;padding:0;font-size:10px;font-weight:600;line-height:1.5;border-radius:0;background:none!important;color:#8593a3}.ks-modern .bottom-navigation-actions>button[aria-current=page]{color:var(--blue)}
.reference-nav-symbol{height:31px;width:49px;border-radius:10px;display:grid;place-items:center}.ks-modern [aria-current=page]>.reference-nav-symbol{background:#edf2ff}#navAdd>.reference-nav-symbol{background:var(--blue);color:white}
.ks-modern .card-toolbar{margin:0 0 14px;height:33px}.ks-modern .card-toolbar button{display:flex;align-items:center;gap:6px;font-size:12px;padding:0}.ks-modern .card-toolbar button svg{width:17px;height:17px}.ks-modern .card-toolbar #favoriteAddress{width:33px;height:33px;display:grid;place-items:center}.ks-modern #favoriteAddress svg{width:18px;height:18px}
.ks-modern .address-card .address-head{position:relative;overflow:hidden;display:block;padding:22px 20px!important;gap:0}.ks-modern .address-head:after{display:block;content:"";position:absolute;width:155px;height:155px;border:1px solid #ffffff12;border-radius:50%;right:-55px;top:-50px;background:none;pointer-events:none}
.ks-modern .address-head h2{margin:10px 0 0;max-width:280px;font-size:29px;line-height:1.13;font-weight:650;letter-spacing:-.035em}.ks-modern .address-head h2>span{display:block;color:#ddec96;margin-top:3px}.ks-modern .address-head-copy>span{letter-spacing:.13em;font-weight:750;line-height:1.5}
.ks-modern .address-head .address-updated{display:flex;align-items:center;gap:6px;margin-top:15px!important;line-height:1.5;font-size:10px!important;padding:0!important}.address-updated svg{width:14px;height:14px}
.reference-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:12px 0 18px}.ks-modern .reference-card-actions>button{width:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;gap:7px;margin:0!important;padding:10px 6px!important;border:1px solid var(--line);border-radius:12px;background:white;color:#526a85;box-shadow:none;font-size:11px;font-weight:600;line-height:1.5}.ks-modern .reference-card-actions>#askInChat{background:#edf2ff;border-color:#e0e8fa;color:var(--blue)}.reference-card-actions svg{width:17px;height:17px}
.ks-modern .address-card>.management-contacts-panel{padding:17px!important;margin:0!important}.ks-modern .management-contacts-panel .info-grid{padding:0;display:block}.ks-modern .management-card strong{font-size:19px!important;font-weight:650;margin-top:6px;line-height:1.3}.ks-modern #chairmanComment{font-size:11px;margin-top:6px;line-height:1.5}
.ks-modern .management-contacts-panel .contacts-block{margin-top:17px;padding:15px 0 0!important}.ks-modern .contacts-title{display:none}.ks-modern .contacts-compact{display:grid;gap:15px}
.ks-modern .contact-chip{display:flex!important;align-items:center;gap:9px!important;background:none!important;border-radius:0;padding:0!important;min-width:0}.reference-contact-avatar{display:grid;place-items:center;flex:0 0 39px;width:39px;min-height:42px;border-radius:12px;background:#f1f0e5;color:#827746;font-size:13px;font-weight:700}.ks-modern .contact-person{flex:1;min-width:0}.ks-modern .contact-person b{font-size:12px!important;font-weight:650}.ks-modern .contact-person small{font-size:10px!important;line-height:1.5;display:block;margin-top:3px}.ks-modern .contact-chip a.reference-call{flex:none;display:grid;place-items:center;width:32px;height:32px;min-width:0;max-width:32px;padding:7px!important;border-radius:9px}.reference-call svg{width:17px;height:17px}.ks-modern .reference-phone{color:#536c8d!important}
.ks-modern .building-info-block{margin:14px 0 0}.ks-modern .building-title{display:none}.ks-modern .building-facts{display:block}.reference-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:14px}
.ks-modern .reference-facts .building-main-fact{padding:14px!important;min-height:0!important;gap:12px!important;border-radius:16px!important;background:white!important;border-color:var(--line)!important}.ks-modern .building-fact-icon{width:21px!important;height:24px!important;flex:0 0 21px!important;color:#7891ad}.ks-modern .building-fact-icon svg{width:21px;height:21px}.ks-modern .building-fact-copy b{font-size:25px!important;line-height:1.05!important}.ks-modern .building-fact-copy em{font-size:10px!important;margin-top:5px!important;line-height:1.5!important}
.reference-equipment{padding:17px;border:1px solid var(--line);border-radius:18px;background:white}.reference-equipment-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:5px}.reference-equipment-title h2{font-size:14px;font-weight:650;letter-spacing:-.02em;margin:0}.reference-equipment-title svg{width:17px;height:17px;color:#8fa0b2}
.ks-modern .reference-equipment .equipment-facts{gap:0}.ks-modern .reference-equipment .equipment-fact{padding:13px 0!important;border:0;border-bottom:1px solid var(--line);border-radius:0;gap:4px 8px}.ks-modern .equipment-fact b{font-size:12px!important;font-weight:650;line-height:1.5}.ks-modern .equipment-fact small{font-size:10px!important;line-height:1.5}.ks-modern .equipment-fact em{font-size:9px!important;padding:5px 7px;max-width:86px}.ks-modern .equipment-fact i{font-size:10px!important;border:0;padding:0;margin:0}
.ks-modern .reference-equipment .lkd-display-fact,.ks-modern .reference-equipment .lkd-display-fact.positive,.ks-modern .reference-equipment .lkd-display-fact.muted{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;border:0!important;border-bottom:1px solid var(--line)!important;padding:13px 0!important;margin:0!important;border-radius:0!important;background:white!important;min-height:0!important;color:var(--navy);gap:4px 8px!important}
.lkd-display-fact>div>b{display:block;font-size:12px;font-weight:650;line-height:1.5}.lkd-display-fact>div>small{display:block;font-size:10px;color:var(--muted);line-height:1.5;margin-top:4px}.reference-speed{display:inline-block;font-size:9px;border:1px solid #e0e6f1;border-radius:5px;padding:2px 5px;margin-left:4px;color:#527096;background:#f1f5fc}.reference-pill{align-self:center;font-size:9px!important;border-radius:7px;background:#eaf7f0;color:#21725d;padding:5px 7px;white-space:nowrap}.reference-pill.red{background:#fbeef0;color:#a84555}.lkd-display-fact>i{grid-column:1/-1;font-size:10px;color:var(--muted);font-style:normal;overflow-wrap:anywhere;line-height:1.6}
.ks-modern .reference-equipment .cable-routing-fact{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center;padding:13px 0 0!important;border:0!important;border-radius:0;column-gap:11px;row-gap:4px}.ks-modern .equipment-kind-icon.cable-icon{grid-column:1!important;grid-row:1!important;align-self:center!important;background:#f2f5fa;color:#61738d}.ks-modern .cable-routing-copy{grid-column:2!important;grid-row:1!important;display:block;min-width:0}.ks-modern .cable-routing-copy>small{display:block;margin:0!important;color:var(--navy)!important;font-size:11px!important;font-weight:650!important;line-height:1.35;text-transform:none;letter-spacing:0}.ks-modern .cable-routing-copy>i{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.45;font-style:normal;overflow-wrap:anywhere}.ks-modern .cable-route-badges{grid-column:3!important;grid-row:1!important;align-self:center;max-width:120px}.ks-modern .cable-route-badges em{font-size:9px;padding:5px 7px;border-radius:7px}
.ks-modern .notes-head{margin:25px 0 12px}.ks-modern .notes-head h3{font-size:16px;font-weight:730;line-height:1.17}.ks-modern #openNote{display:flex;align-items:center;gap:5px;background:none;font-size:11px;padding:0;border:0;color:var(--blue)}#openNote svg{width:15px;height:15px}
.ks-modern .notes{padding:0!important}.ks-modern .notes .note{padding:16px!important;border-radius:17px;display:block}.reference-note-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.reference-note-top>small{font-size:10px;line-height:1.5;min-width:0}.ks-modern .notes .note-actions{margin:0;flex:none;gap:5px}.ks-modern .notes .note-actions button{width:25px;min-height:25px!important;padding:4px!important;background:none!important;border:0!important;color:#9b8c49}.note-actions svg{width:16px;height:16px}.ks-modern .notes .note .note-copy{font-size:12px!important;line-height:1.7!important}
.ks-modern #editAddress,.ks-modern #suggestAddressChanges{display:flex;align-items:center;justify-content:center;gap:7px;width:100%!important;margin:19px 0 0!important;padding:11px!important;background:#edf2ff!important;color:var(--blue);border:1px solid #e0e8fa!important;border-radius:12px;font-size:11px;font-weight:600;box-shadow:none}.ks-modern #editAddress svg,.ks-modern #suggestAddressChanges svg{width:17px;height:17px}
.ks-modern .recent-addresses{padding:9px 0}.ks-modern .recent-addresses-head h2{font-size:32px!important;font-weight:680;margin-top:12px;line-height:1.08}.reference-history-subtitle{font-size:12px;color:var(--muted);line-height:1.65;margin:10px 0 20px}.ks-modern .recent-addresses-head #clearRecentAddresses{align-self:flex-end;margin-bottom:0;padding:7px;font-size:10px}.history-filters{margin:0 0 20px}.history-filters button{font-size:11px;padding:8px 13px}
.ks-modern dialog{max-width:min(500px,100vw);width:100%;max-height:85dvh;margin:auto auto 0;border:0;border-radius:25px 25px 0 0;box-shadow:0 -10px 40px #142b4320}.ks-modern dialog .modal-card{padding:23px!important;max-height:85dvh;overflow-y:auto}.ks-modern .modal-card h2{font-size:23px;font-weight:650;line-height:1.17}.ks-modern .modal-close{width:32px;height:32px;min-width:32px;display:grid;place-items:center;top:23px;right:23px;padding:6px}.modal-close svg{width:20px;height:20px}
.reference-sheet-handle{height:4px;width:35px;border-radius:4px;background:#dfe4ea;margin:-11px auto 17px}.ks-modern #profileDialog .modal-close{top:32px}.ks-modern .profile-menu-card>h2{margin:0 40px 22px 0}.ks-modern .profile-menu-identity{padding:0;margin:0 0 22px;gap:13px}.ks-modern .profile-menu-identity>span{width:43px;height:43px;border-radius:14px;background:var(--navy);color:white;box-shadow:none}.ks-modern .profile-menu-identity strong{font-size:15px;font-weight:650}.ks-modern .profile-menu-identity small{font-size:12px;line-height:1.5}
.ks-modern .profile-menu-action,.ks-modern .profile-menu-action.admin,.ks-modern .profile-menu-action.logout.mobile-session{display:flex;align-items:center;gap:12px;margin:0!important;border:0!important;border-top:1px solid var(--line)!important;border-radius:0;background:white!important;padding:15px 0!important;color:var(--navy)}.ks-modern .profile-menu-action>span{width:22px;height:24px;border-radius:0;background:none!important;color:#647c96}.ks-modern .profile-menu-action>div{flex:1;min-width:0}.ks-modern .profile-menu-action b{font-size:13px;font-weight:600}.ks-modern .profile-menu-action small{font-size:11px}.ks-modern .profile-menu-action>i svg{width:18px;height:18px}
.ks-modern #requestDialog[open]{top:73px;bottom:var(--navigation-height)!important;width:min(500px,100%)!important;left:50%;right:auto;transform:translateX(-50%);max-width:500px!important}.ks-modern #requestDialog[open] .modal-card{padding:19px 22px 25px!important;max-height:100%;overflow-y:auto}.ks-modern #requestForm>.modal-close{display:none}.ks-modern #requestForm>.eyebrow{display:inline-block;margin:0 0 12px}.ks-modern #requestDialogTitle{font-size:32px;line-height:1.08;font-weight:680;letter-spacing:-.035em;margin:0 0 10px;padding:0}
#requestStepCaption{float:right;font-size:10px;color:#5e7d70;line-height:1.5}#requestStepHint{font-size:12px;margin:0 0 20px;line-height:1.65}.request-steps{gap:6px;margin:0 0 22px}.request-steps span{padding:0;border:0;height:4px;border-radius:4px;background:#e0e5ec}.request-steps span.active{background:var(--blue)}
.reference-form-label,.ks-modern #requestForm .wizard-panel>label,.ks-modern #requestForm .wizard-panel>.field-label{display:block;font-size:11px;color:#6d7b8b;margin:0 0 7px;font-weight:500}.ks-modern #requestForm input:not([type=checkbox]):not([type=hidden]),.ks-modern #requestForm textarea,.ks-modern #requestForm select{background:white;border-color:#dfe5ed;min-height:48px;padding:12px;font-size:13px;border-radius:12px;margin:0 0 17px;line-height:1.5}
.ks-modern #requestForm .building-count-grid{gap:10px;margin:0}.ks-modern #requestForm .building-count-field{padding:0!important;border:0!important;background:none!important;gap:7px;border-radius:0!important}.ks-modern #requestForm .count-icon{display:none!important}.ks-modern #requestForm .count-copy b{font-size:11px!important;font-weight:500;color:#6d7b8b}.ks-modern #requestForm .building-count-field input{font-size:13px!important;text-align:left!important;font-weight:400!important;height:48px!important;padding:12px!important;border:1px solid #dfe5ed!important;line-height:1.5!important;margin-bottom:17px!important}.ks-modern #requestForm .count-head{min-height:0!important}
.wizard-buttons{margin-top:20px}.wizard-buttons .primary{display:flex;align-items:center;justify-content:space-between;font-size:14px;padding:13px 17px}.wizard-buttons .soft{font-size:12px;background:white;border:1px solid var(--line)}
.ks-modern .chat-page{padding:9px 0 0}.ks-modern .chat-page h1{font-size:32px;font-weight:680;line-height:1.08}.ks-modern .chat-page .modern-section-head{margin:12px 0}.ks-modern #chatMute{display:flex;gap:6px;align-items:center;background:white;border:1px solid var(--line);font-size:11px;padding:10px;border-radius:12px}#chatMute svg{width:17px;height:17px}.chat-description{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.6;padding:12px;margin:0 0 20px}.chat-description>svg{width:17px;height:17px}.chat-messages{gap:16px}.chat-message-author{font-size:10px}.chat-bubble{font-size:12px;line-height:1.65;padding:12px 14px}.chat-time{font-size:9px}.chat-attached{font-size:11px;gap:8px}.chat-attached svg{width:15px;height:15px}.chat-attached span{flex:1;min-width:0}.ks-modern .chat-compose-panel{bottom:-25px;padding:12px 0 25px}.ks-modern.has-navigation-status .chat-compose-panel{bottom:-25px}.ks-modern .chat-composer textarea{font-size:12px;min-height:47px;margin:0;line-height:1.5}.chat-composer button{width:47px;min-height:47px}.chat-composer svg{width:20px;height:20px}
.ks-modern .admin-tools-grid{display:grid;grid-template-columns:1fr;gap:0}.ks-modern .admin-tool-button{display:block;width:100%;padding:15px 0!important;border-radius:0!important;border:0!important;border-top:1px solid var(--line)!important;background:none!important;text-align:left}.ks-modern .admin-tool-button b{font-size:13px;font-weight:600;display:flex;align-items:center;gap:12px}.ks-modern .admin-tool-button b svg{width:22px;height:22px;color:#647c96}.ks-modern .admin-tool-button small{font-size:11px;padding-left:34px}.ks-modern .admin-tool-button>em{font-size:10px}.ks-modern .admin-page-head h2{font-size:23px}.ks-modern .admin-page button svg{width:18px;height:18px}.ks-modern [data-close-admin-section],.ks-modern [data-admin-target]{display:flex;gap:5px;align-items:center}
.ks-modern #appViewport>section:not([hidden]){animation:reference-enter .22s ease-out}@keyframes reference-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:360px){.reference-greeting{gap:4px}.reference-greeting .eyebrow{font-size:9px}#syncSummary{font-size:9px}.reference-house-row{grid-template-columns:minmax(0,1fr) 100px}.house-tip{font-size:10px}.ks-modern .reference-card-actions>button{gap:5px;font-size:10px}.ks-modern .reference-equipment{padding:14px}.ks-modern .reference-equipment .equipment-fact{grid-template-columns:minmax(0,1fr) auto}.ks-modern .reference-equipment .lkd-display-fact>div{min-width:0}.ks-modern .profile-menu-identity strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){.ks-modern #appViewport>section:not([hidden]){animation:none}}
.ks-modern .card-toolbar{margin:2px 0 16px}
.ks-modern .address-head h2{margin-top:9px}.ks-modern .address-head h2>span{margin-top:2px}
.ks-modern .address-head .address-updated{font-weight:400!important;letter-spacing:0!important;text-transform:none!important}
.ks-modern #buildingMeta .reference-facts .floors-fact{background:#edf2ff!important;border-color:#e2e8f4!important}
.ks-modern #buildingMeta .reference-facts .entrances-fact{background:#f5f2e8!important;border-color:#ece8dc!important}
.ks-modern .building-fact-copy em{font-weight:400!important;margin-top:3px!important}
.ks-modern .contact-person{gap:0}.ks-modern .contact-chip a.reference-call{background:#edf7f3!important;color:#21725d}
.ks-modern .recent-address-copy small{font-weight:400!important}
.ks-modern .reference-equipment .equipment-facts{border-top:1px solid var(--line);margin-top:15px!important}.ks-modern .equipment-fact em{font-weight:500!important}
.ks-modern .reference-equipment .lkd-display-fact b{font-weight:650!important}.ks-modern .reference-speed{font-size:9px!important}
.ks-modern #requestDialog[open] .modal-card{padding-top:19px!important}.ks-modern #requestForm>.eyebrow{line-height:15px;vertical-align:top}
.ks-modern #requestForm #requestHouseHelp{display:none}.ks-modern #requestForm .building-count-grid{margin-top:0}.ks-modern #requestForm .building-count-field input{margin-bottom:0!important}
.ks-modern #requestForm .count-copy{display:block!important}.ks-modern #requestForm .count-head{line-height:16.5px!important}
.ks-modern .add-contact{display:flex;align-items:center;gap:4px}.ks-modern .add-contact svg,.ks-modern .credential-row button svg{width:14px;height:14px}
.ks-modern .credential-row button{display:flex;align-items:center;gap:4px}.ks-modern .primary svg{width:20px;height:20px}
.ks-modern .profile-menu-action.logout.mobile-session small{font-weight:400!important}
.ks-modern #openAdminDashboard{display:none!important}
.ks-modern #profileAdminMenuHost:empty{display:none}
.ks-modern #profileAdminMenuHost #adminToolsSection{display:block;padding:0!important;margin:0;border:0;background:transparent;box-shadow:none}
.ks-modern #profileAdminMenuHost #adminToolsSection[hidden]{display:none!important}
.ks-modern #profileAdminMenuHost .admin-page-head{display:none!important}
.ks-modern #profileAdminMenuHost .admin-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0 0 14px}
.ks-modern #profileAdminMenuHost .admin-tool-button{min-height:74px;padding:12px!important;border:1px solid var(--line)!important;border-radius:14px!important;background:#fff!important;text-align:left;box-shadow:none!important}
.ks-modern #profileAdminMenuHost .admin-tool-button b{display:flex;align-items:center;gap:7px;font-size:11px;line-height:1.3}
.ks-modern #profileAdminMenuHost .admin-tool-button b svg{width:16px;height:16px;flex:none}
.ks-modern #profileAdminMenuHost .admin-tool-button small{display:block;margin-top:5px;padding-left:23px;font-size:9px;line-height:1.35}
.ks-modern #profileAdminMenuHost .admin-tool-button em{top:8px;right:8px}
.ks-modern .profile-session-controls{margin:2px 0 0;border-top:1px solid var(--line)}
.ks-modern .profile-session-controls summary{position:relative;display:block;padding:14px 28px 14px 0;color:#657b92;cursor:pointer;list-style:none}
.ks-modern .profile-session-controls summary::-webkit-details-marker{display:none}
.ks-modern .profile-session-controls summary:after{content:"›";position:absolute;right:4px;top:50%;font-size:20px;line-height:1;transform:translateY(-50%) rotate(90deg);transition:transform .15s ease}
.ks-modern .profile-session-controls[open] summary:after{transform:translateY(-50%) rotate(-90deg)}
.ks-modern .profile-session-controls summary span,.ks-modern .profile-session-controls summary small{display:block}
.ks-modern .profile-session-controls summary span{font-size:11px;font-weight:650}
.ks-modern .profile-session-controls summary small{margin-top:3px;font-size:9px;color:#8a98a8}
.ks-modern .profile-session-controls .profile-menu-action.logout.mobile-session{margin:0 0 4px!important;padding:12px!important;border:1px solid #f0dfe2!important;border-radius:12px!important;background:#fffafa!important}
.ks-modern #profileDialog{overflow:hidden;overscroll-behavior:contain}
.ks-modern #profileDialog .profile-menu-card{display:flex;flex-direction:column;height:min(85dvh,calc(100dvh - env(safe-area-inset-top,0px)));max-height:min(85dvh,calc(100dvh - env(safe-area-inset-top,0px)));overflow:hidden!important;box-sizing:border-box;border-radius:25px 25px 0 0!important}
.ks-modern #profileDialog .reference-sheet-handle,.ks-modern #profileDialog .profile-menu-card>h2,.ks-modern #profileDialog .modal-close{flex:none}
.ks-modern #profileDialog .profile-menu-scroll{min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-gutter:stable;padding:0 2px max(8px,env(safe-area-inset-bottom,0px)) 0}
@media(max-width:360px){.ks-modern #profileAdminMenuHost .admin-tools-grid{grid-template-columns:1fr}.ks-modern #profileAdminMenuHost .admin-tool-button{min-height:62px}}
.ks-modern .bottom-navigation-actions>button{padding:3px;gap:5px}.ks-modern .bottom-navigation{padding-bottom:max(12px,env(safe-area-inset-bottom))}
.ks-modern .address-head-copy>span{display:block}.ks-modern #addressUpdated>span{font-size:10px;font-weight:400;letter-spacing:0;text-transform:none;color:#b6cbdc}.ks-modern #addressUpdated>svg{color:#c9e79a}
.ks-modern .reference-facts{margin:12px 0}.ks-modern .building-info-block{margin-top:12px}
.ks-modern .building-main-fact .building-fact-copy{gap:0!important}
.ks-modern .reference-contact-avatar{font-weight:400}

/* 15.1: clearer equipment rows, compact chat, inline search feedback and offline state. */
body.ks-modern.is-offline #connectionBanner{display:flex!important}
body.ks-modern #connectionBanner{position:static;z-index:26;flex:none;width:100%;min-height:38px;margin:0;padding:8px 16px;border:0;border-radius:0;background:#fff0d3;color:#916329;box-shadow:none;align-items:center;gap:8px;font-size:11px;line-height:1.4}
body.ks-modern #connectionBanner svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body.ks-modern #connectionBanner span{min-width:0;color:inherit;font-size:11px}
body.ks-modern #connectionBanner b{font-size:inherit;font-weight:650}

/* Search: premium house selection, limited to real database addresses. */
.ks-modern .selected-street-summary{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;margin-top:12px;padding:12px 13px;border:1px solid #e3e9f1;border-radius:16px;background:linear-gradient(180deg,#fff,#fafcff);box-shadow:0 7px 18px #142b4306}
.ks-modern .selected-street-icon{width:38px;height:38px;border-radius:12px;background:#edf2ff;color:var(--blue);display:grid;place-items:center}
.ks-modern .selected-street-icon svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}
.ks-modern .selected-street-copy{min-width:0}.ks-modern .selected-street-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:1.3}.ks-modern .selected-street-copy small{display:block;margin-top:3px;color:#8793a2;font-size:9px}
.ks-modern .selected-street-summary button{display:inline-flex;align-items:center;gap:5px;flex:none;padding:8px 10px;border:0;border-radius:10px;background:#edf2ff;color:var(--blue);font-size:10px;font-weight:800;white-space:nowrap}.ks-modern .selected-street-summary button svg{width:14px;height:14px;fill:none;stroke:currentColor}
.ks-modern #housePickerDialog{max-height:88dvh;background:linear-gradient(180deg,#fff,#f8fafd);box-shadow:0 -24px 70px #142b432e;overflow:hidden}
.ks-modern #housePickerDialog .house-picker-modal-card{max-height:88dvh;padding:14px 16px max(18px,env(safe-area-inset-bottom))!important;background:radial-gradient(circle at 82% -10%,#285bf317,transparent 34%),linear-gradient(180deg,#fffffffc,#f8fafdfc);overflow-y:auto}
.ks-modern .house-picker-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 2px 13px}.ks-modern .house-picker-modal-head>div>small{display:block;color:#7f8d9d;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.ks-modern .house-picker-modal-head h2{margin:3px 0 0;font-size:25px;font-weight:780;letter-spacing:-.045em}.ks-modern .house-picker-modal-head .modal-close{position:static;width:38px;height:38px;min-width:38px}
.ks-modern .house-picker-street-card{position:relative;overflow:hidden;padding:15px 16px;border:1px solid #e3e9f2;border-radius:20px;background:#ffffffe6;box-shadow:0 10px 28px #142b430e}.ks-modern .house-picker-street-card:after{content:"";position:absolute;width:110px;height:110px;border-radius:50%;right:-52px;top:-58px;background:radial-gradient(circle,#285bf31c,transparent 66%);pointer-events:none}.ks-modern .house-picker-street-kicker{display:flex;align-items:center;gap:7px;color:#728297;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.ks-modern .house-picker-street-card>strong{display:block;margin-top:6px;padding-right:55px;font-size:17px;font-weight:780;line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}.ks-modern .house-picker-street-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.ks-modern .house-picker-street-meta span{padding:6px 9px;border:1px solid #e9edf3;border-radius:999px;background:#f5f7fb;color:#66788d;font-size:9px;font-weight:700}.ks-modern .house-picker-street-meta span:first-child{border-color:#dfe7ff;background:#edf2ff;color:var(--blue)}
.ks-modern .house-picker-grid-head{display:flex;align-items:flex-end;justify-content:space-between;gap:10px;margin:16px 3px 10px}.ks-modern .house-picker-grid-head b{font-size:13px;font-weight:780}.ks-modern .house-picker-grid-head small{color:#8c98a7;font-size:9px;text-align:right}
.ks-modern .house-picker-premium-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.ks-modern .search-house-chip{position:relative;min-width:0;min-height:78px;padding:9px 5px;border:1px solid #e2e8f1;border-radius:19px;background:linear-gradient(180deg,#fff,#fafcff);color:var(--navy);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;box-shadow:0 8px 20px #142b430b;overflow:hidden;transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease,border-color .16s ease,background .16s ease}
.ks-modern .search-house-chip:active{transform:scale(.955)}.ks-modern .search-house-chip b{font-size:25px;font-weight:780;letter-spacing:-.055em;line-height:1}.ks-modern .search-house-chip small{color:#97a1ad;font-size:8px;font-weight:650;line-height:1.2}.ks-modern .search-house-chip.recent{border-color:#cfdcff;background:linear-gradient(180deg,#f7f9ff,#f2f6ff);box-shadow:0 8px 22px #285bf312}.ks-modern .search-house-chip.recent b{color:var(--blue)}.ks-modern .search-house-chip.recent small{color:#7188c2}.ks-modern .house-recent-dot{position:absolute;right:9px;top:9px;width:7px;height:7px;border-radius:50%;background:#5f83f7;box-shadow:0 0 0 4px #285bf317}.ks-modern .search-house-chip.chosen,.ks-modern .search-house-chip.selected{border-color:var(--blue);background:linear-gradient(145deg,#285bf3,#3b72ff);color:#fff;box-shadow:0 14px 28px #285bf33d;transform:scale(.96)}.ks-modern .search-house-chip.chosen b,.ks-modern .search-house-chip.chosen small,.ks-modern .search-house-chip.selected b,.ks-modern .search-house-chip.selected small{color:#fff}
.ks-modern .house-picker-footer{display:flex;align-items:center;justify-content:center;margin:13px 2px 2px;padding:10px;border-radius:14px;background:#f5f7fa;color:#7a8797;font-size:9px;line-height:1.45;text-align:center}
@media(max-width:380px){.ks-modern #housePickerDialog .house-picker-modal-card{padding-left:13px!important;padding-right:13px!important}.ks-modern .house-picker-premium-grid{gap:7px}.ks-modern .search-house-chip{min-height:70px;border-radius:17px}.ks-modern .search-house-chip b{font-size:22px}}

.ks-modern #streetSuggestions,.ks-modern #searchHouseHints{position:static;display:grid;gap:6px;max-height:190px;margin:7px 0 0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow-y:auto}
.ks-modern #streetSuggestions button,.ks-modern #searchHouseHints button{width:100%;padding:10px 12px;border:1px solid #dfe7fb;border-radius:10px;background:#eaf0ff;color:#2753ad;font-size:12px;font-weight:600;line-height:1.45;text-align:left}
.ks-modern #streetSuggestions button:active,.ks-modern #searchHouseHints button:active{background:#dce7ff;border-color:#aac0f4}
.ks-modern #streetSuggestions .empty{padding:9px 2px;color:var(--muted);font-size:11px}
.ks-modern #searchHouseHints{display:flex;flex-wrap:wrap;align-items:center;gap:6px;max-height:128px;overflow-y:auto}
.ks-modern #searchHouseHints button{width:auto;min-width:43px;padding:7px 11px;border-radius:8px;text-align:center;line-height:1.3}
.ks-modern #searchHouseHints .house-hints-more{flex-basis:100%;padding:3px 1px 0;color:var(--muted);font-size:10px;line-height:1.45;text-align:left}
.ks-modern .search-result-message{margin:10px 0 0!important;padding:10px 12px!important;border:1px solid #dfe7f4;border-radius:11px;background:#f3f6fb;color:#526a85;text-align:left;font-size:11px;line-height:1.5}
.ks-modern .search-result-message.error{border-color:#f0dca0;background:#fff8df;color:#85651b}

.ks-modern .reference-equipment .equipment-fact{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;column-gap:11px!important;row-gap:3px!important}
.ks-modern .equipment-kind-icon{grid-column:1;grid-row:1;display:grid;place-items:center;width:42px;height:42px;border-radius:11px;background:#edf2ff;color:#285bf3}
.ks-modern .equipment-kind-icon.lkd-icon{background:#eef4e8;color:#557b3e}
.ks-modern .equipment-kind-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .equipment-copy{grid-column:2;grid-row:1;display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.ks-modern .equipment-copy b,.ks-modern .equipment-copy small,.ks-modern .equipment-copy i{display:block;min-width:0;max-width:100%;padding:0!important;border:0!important}
.ks-modern .equipment-copy small{color:var(--muted)!important}
.ks-modern .equipment-copy i{margin-top:3px!important;color:#687d96!important;font-style:normal;overflow-wrap:anywhere}
.ks-modern .equipment-fact>em{grid-column:3;grid-row:1;align-self:center;justify-self:end}
.ks-modern .reference-equipment .lkd-display-fact,.ks-modern .reference-equipment .lkd-display-fact.positive,.ks-modern .reference-equipment .lkd-display-fact.muted{grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;column-gap:11px!important;row-gap:3px!important}
.ks-modern .reference-equipment .lkd-display-fact>.equipment-kind-icon{grid-column:1;grid-row:1}
.ks-modern .reference-equipment .lkd-display-fact>div{grid-column:2;grid-row:1;min-width:0}
.ks-modern .reference-equipment .lkd-display-fact>.reference-pill{grid-column:3;grid-row:1;justify-self:end}
.ks-modern .reference-equipment .lkd-display-fact>div>i{display:block;margin-top:3px;color:#687d96;font-size:10px;font-style:normal;line-height:1.5;overflow-wrap:anywhere}

.ks-modern .chat-messages{gap:9px;padding-top:6px}
.ks-modern .chat-message{max-width:88%}
.ks-modern .chat-bubble{padding:8px 10px;border-radius:14px 14px 14px 4px;font-size:11.5px;line-height:1.5;white-space:normal}
.ks-modern .chat-message.mine .chat-bubble{border-radius:14px 14px 4px 14px}
.ks-modern .chat-message-head{display:flex;align-items:center;gap:7px;margin-bottom:4px;min-width:0}
.ks-modern .chat-message-head b{display:inline-flex;max-width:70%;padding:2px 6px;border-radius:6px;background:#edf2ff;color:#285bf3;font-size:9px;font-weight:700;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ks-modern .chat-message.mine .chat-message-head b{background:#d9e5ff;color:#214bb0}
.ks-modern .chat-message-head time{margin-left:auto;color:#8898aa;font-size:8.5px;line-height:1.3;white-space:nowrap}
.ks-modern .chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere}
.ks-modern .chat-bubble{position:relative;transition:transform .18s ease,box-shadow .18s ease}
.ks-modern .chat-bubble.chat-swipe-drag{transform:translateX(var(--chat-swipe-x,0px));box-shadow:0 8px 18px #183e7820}
.ks-modern .chat-bubble.chat-swipe-drag::after{content:'↩';position:absolute;right:12px;top:50%;display:grid;place-items:center;width:23px;height:23px;transform:translateY(-50%);border-radius:50%;background:#e7efff;color:#2d61e6;font-size:14px;font-weight:800;opacity:.76}
.ks-modern .chat-bubble.chat-swipe-ready::after{background:#2e63ed;color:#fff;opacity:1;box-shadow:0 4px 11px #2e63ed55}
.ks-modern .chat-attached{margin:6px 0 0;padding:7px 8px;border-radius:9px;font-size:10px;line-height:1.4}
.ks-modern .chat-attached svg{width:14px;height:14px}
.ks-modern .chat-delivery{display:block;margin-top:4px;color:#788da4;font-size:8.5px;line-height:1.35;text-align:right;white-space:normal}
.ks-modern .chat-pending-actions{justify-content:flex-end}.ks-modern .chat-pending-actions button{font-size:9px;padding:5px 3px}
.ks-modern .chat-reply-preview{display:block;width:100%;margin:0 0 7px;padding:7px 8px;text-align:left;background:#f1f5fd;border:0;border-left:3px solid #4e7ff0;border-radius:7px;color:#516b8c;min-width:0}.ks-modern .chat-reply-preview b,.ks-modern .chat-reply-preview span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ks-modern .chat-reply-preview b{font-size:9px;color:#285bf3;margin-bottom:2px}.ks-modern .chat-reply-preview span{font-size:9px;line-height:1.4}.ks-modern .chat-reply-action{display:inline-flex;align-items:center;margin:7px 0 0 auto;padding:5px 8px;border:1px solid #dce6fa;border-radius:8px;background:#f5f8ff;color:#285bf3;font-size:10px;font-weight:700;line-height:1.3}.ks-modern .chat-message-focus .chat-bubble{animation:chat-focus 2.5s ease-out;border-color:#2f64ec;box-shadow:0 0 0 4px #2f64ec22}@keyframes chat-focus{0%,45%{background:#e6efff}100%{background:inherit}}
.ks-modern .chat-reply-compose{display:flex;align-items:center;gap:8px;margin:0 0 7px;padding:8px 9px;background:#edf3ff;border-left:3px solid var(--blue);border-radius:10px}.ks-modern .chat-reply-compose>div{min-width:0;flex:1}.ks-modern .chat-reply-compose b,.ks-modern .chat-reply-compose span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ks-modern .chat-reply-compose b{font-size:10px;color:#285bf3}.ks-modern .chat-reply-compose span{margin-top:2px;font-size:10px;color:#60758e}.ks-modern .chat-reply-compose button{width:29px;height:29px;display:grid;place-items:center;padding:5px;border:0;border-radius:8px;background:white;color:#68809a}.ks-modern .chat-reply-compose button svg{width:14px;height:14px}
.ks-modern .chat-mentions{position:absolute;left:0;right:0;bottom:calc(100% + 3px);max-height:196px;overflow:auto;padding:6px;background:white;border:1px solid #dce4f0;border-radius:12px;box-shadow:0 12px 28px #142b4322}.ks-modern .chat-mentions button{width:100%;display:flex;align-items:center;gap:8px;padding:9px;border:0;border-radius:8px;background:transparent;color:#18334f;text-align:left;font-size:11px}.ks-modern .chat-mentions button:active,.ks-modern .chat-mentions button:hover{background:#edf3ff}.ks-modern .chat-mentions span{width:20px;height:20px;display:grid;place-items:center;border-radius:6px;background:#e3ecff;color:#2d61e6;font-weight:700}.ks-modern .chat-mentions b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ks-modern .chat-page{padding-bottom:82px}
.ks-modern .chat-compose-panel,.ks-modern.has-navigation-status .chat-compose-panel{position:fixed;z-index:24;left:50%;bottom:calc(var(--navigation-height) + env(safe-area-inset-bottom,0px));width:min(456px,calc(100% - 44px));margin:0;transform:translateX(-50%);padding:10px 0;background:linear-gradient(180deg,#f6f7f900 0,#f6f7f9 22%,#f6f7f9 100%)}
.ks-modern .building-count-field>input::placeholder{color:#93a0af;font-size:12px;font-weight:500;opacity:1}

@media(max-width:360px){
  .ks-modern .reference-equipment .equipment-fact,.ks-modern .reference-equipment .lkd-display-fact,.ks-modern .reference-equipment .lkd-display-fact.positive,.ks-modern .reference-equipment .lkd-display-fact.muted{grid-template-columns:38px minmax(0,1fr) auto!important;column-gap:8px!important}
  .ks-modern .equipment-kind-icon{width:38px;height:38px}
  .ks-modern .equipment-kind-icon svg{width:18px;height:18px}
}

/* 23.1: the moderator edits a pending address through the same three-step flow. */
.ks-modern #editRequestDialog[open]{top:73px;bottom:0;left:50%;right:auto;width:min(500px,100%)!important;max-width:500px!important;max-height:none!important;height:auto;margin:0;transform:translateX(-50%);border:0;border-radius:0;background:var(--bg);box-shadow:none}
.ks-modern #editRequestDialog[open] .modal-card{height:100%;max-height:none;padding:19px 22px 25px!important;background:var(--bg);overflow-x:hidden;overflow-y:auto}
.ks-modern #editRequestForm>.eyebrow{display:inline-block;margin:0 0 12px;line-height:15px;vertical-align:top}
#editRequestStepCaption{float:right;color:#5e7d70;font-size:10px;line-height:1.5}
#editRequestStepHint{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.65}
.ks-modern #editRequestForm h2{margin:0 42px 10px 0;font-size:32px;line-height:1.08;font-weight:680;letter-spacing:-.035em}
.ks-modern #editRequestForm .wizard-panel>label:not(.building-count-field):not(.lkd-switch):not(.lkd-speed-switch),.ks-modern #editRequestForm .reference-form-label{display:block;margin:0 0 7px;color:#6d7b8b;font-size:11px;font-weight:500}
.ks-modern #editRequestForm input:not([type=checkbox]):not([type=hidden]),.ks-modern #editRequestForm textarea,.ks-modern #editRequestForm select{min-height:48px;margin:0 0 17px;padding:12px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;font-size:13px;line-height:1.5}
.ks-modern #editRequestForm .building-count-grid{gap:10px;margin:0}
.ks-modern #editRequestForm .building-count-field{padding:0!important;border:0!important;border-radius:0!important;background:none!important;gap:7px}
.ks-modern #editRequestForm .building-count-field .count-icon{display:none!important}
.ks-modern #editRequestForm .building-count-field .count-copy b{color:#6d7b8b;font-size:11px!important;font-weight:500}
.ks-modern #editRequestForm .building-count-field input{height:48px!important;margin-bottom:0!important;padding:12px!important;border:1px solid #dfe5ed!important;background:#fff!important;font-size:13px!important;font-weight:400!important;text-align:left!important}
.ks-modern #editRequestForm .wizard-review{margin-top:4px}
.ks-modern #editRequestWizardButtons{padding-bottom:12px}

/* Full moderator preview mirrors the final step of address creation. */
.ks-modern .address-request-item{gap:12px!important;padding:15px!important}
.ks-modern .address-request-item .request-preview{padding:14px;background:#f8fafc}
.ks-modern .address-request-item .request-preview-title{display:block;margin-bottom:10px;color:var(--navy);font-size:13px}
.ks-modern .address-request-item .request-preview dt:first-of-type{margin-top:0}
.ks-modern .address-request-item .request-preview dd{color:var(--navy);font-weight:600;line-height:1.45}
.ks-modern .address-request-item .request-actions{margin-top:1px;padding-top:2px}

/* One predictable checkbox in every visible checkbox location on Android/WebView. */
.ks-modern .lkd-switch>input[type="checkbox"],.ks-modern .lkd-speed-switch>input[type="checkbox"],.ks-modern .access-switch>input[type="checkbox"],.ks-modern .tkd-access-choice>input[type="checkbox"],.ks-modern .cable-routing-options label>input[type="checkbox"]{-webkit-appearance:none!important;appearance:none!important;display:grid!important;place-items:center!important;flex:0 0 22px!important;width:22px!important;min-width:22px!important;max-width:22px!important;height:22px!important;min-height:22px!important;max-height:22px!important;margin:0!important;padding:0!important;border:2px solid #b8c6d7!important;border-radius:6px!important;background:#fff!important;box-shadow:none!important;outline:0!important}
.ks-modern .lkd-switch>input[type="checkbox"]:checked,.ks-modern .lkd-speed-switch>input[type="checkbox"]:checked,.ks-modern .access-switch>input[type="checkbox"]:checked,.ks-modern .tkd-access-choice>input[type="checkbox"]:checked,.ks-modern .cable-routing-options label>input[type="checkbox"]:checked{border-color:var(--blue)!important;background:var(--blue)!important}
.ks-modern .lkd-switch>input[type="checkbox"]:after,.ks-modern .lkd-speed-switch>input[type="checkbox"]:after,.ks-modern .access-switch>input[type="checkbox"]:after,.ks-modern .tkd-access-choice>input[type="checkbox"]:after,.ks-modern .cable-routing-options label>input[type="checkbox"]:after{content:"";width:9px;height:5px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg);opacity:0}
.ks-modern .lkd-switch>input[type="checkbox"]:checked:after,.ks-modern .lkd-speed-switch>input[type="checkbox"]:checked:after,.ks-modern .access-switch>input[type="checkbox"]:checked:after,.ks-modern .tkd-access-choice>input[type="checkbox"]:checked:after,.ks-modern .cable-routing-options label>input[type="checkbox"]:checked:after{opacity:1}
.ks-modern .lkd-switch>input[type="checkbox"]:focus-visible,.ks-modern .lkd-speed-switch>input[type="checkbox"]:focus-visible,.ks-modern .access-switch>input[type="checkbox"]:focus-visible,.ks-modern .tkd-access-choice>input[type="checkbox"]:focus-visible,.ks-modern .cable-routing-options label>input[type="checkbox"]:focus-visible{box-shadow:0 0 0 3px #285bf326!important}
.ks-modern .lkd-switch,.ks-modern .lkd-speed-switch,.ks-modern .access-switch,.ks-modern .tkd-access-choice,.ks-modern .cable-routing-options label{align-items:center!important}

/* 23.2: direct address editing follows the same three-step pattern. */
.ks-modern #editDialog[open]{top:73px;bottom:0;left:50%;right:auto;width:min(500px,100%)!important;max-width:500px!important;max-height:none!important;height:auto;margin:0;transform:translateX(-50%);border:0;border-radius:0;background:var(--bg);box-shadow:none}
.ks-modern #editDialog[open] .modal-card{height:100%;max-height:none;padding:19px 22px 25px!important;background:var(--bg);overflow-x:hidden;overflow-y:auto}
.ks-modern #editForm>.eyebrow{display:inline-block;margin:0 0 12px;line-height:15px;vertical-align:top}
#editAddressStepCaption{float:right;color:#5e7d70;font-size:10px;line-height:1.5}
#editAddressStepHint{margin:0 0 20px;color:var(--muted);font-size:12px;line-height:1.65}
.ks-modern #editForm h2{margin:0 42px 10px 0;font-size:32px;line-height:1.08;font-weight:680;letter-spacing:-.035em}
.ks-modern #editAddressTitle{margin:0 0 17px!important;padding:13px 14px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;color:var(--navy)!important;font-size:13px!important;font-weight:650;line-height:1.5}
.ks-modern #editForm .wizard-panel>label:not(.building-count-field):not(.lkd-switch):not(.lkd-speed-switch),.ks-modern #editForm .reference-form-label{display:block;margin:0 0 7px;color:#6d7b8b;font-size:11px;font-weight:500}
.ks-modern #editForm input:not([type=checkbox]):not([type=hidden]),.ks-modern #editForm textarea,.ks-modern #editForm select{min-height:48px;margin:0 0 17px;padding:12px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;font-size:13px;line-height:1.5}
.ks-modern #editForm .building-count-grid{gap:10px;margin:0}
.ks-modern #editForm .building-count-field{padding:0!important;border:0!important;border-radius:0!important;background:none!important;gap:7px}
.ks-modern #editForm .building-count-field .count-icon{display:none!important}
.ks-modern #editForm .building-count-field .count-copy b{color:#6d7b8b;font-size:11px!important;font-weight:500}
.ks-modern #editForm .building-count-field input{height:48px!important;margin-bottom:0!important;padding:12px!important;border:1px solid #dfe5ed!important;background:#fff!important;font-size:13px!important;font-weight:400!important;text-align:left!important}
.ks-modern #editForm .wizard-review{margin-top:4px}
.ks-modern #editAddressWizardButtons{padding-bottom:12px}

/* 23.3: audit journal and resumable address-form drafts. */
.ks-modern .audit-description{margin:4px 0 16px;color:#71849a;font-size:11px;line-height:1.55}
.ks-modern .audit-log-list{display:grid;gap:10px;padding-bottom:22px}
.ks-modern .audit-event{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;padding:13px;border:1px solid #dfe7f0;border-radius:15px;background:#fff;box-shadow:0 7px 20px #19395d0a}
.ks-modern .audit-event-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eaf0ff;color:#285bf3}
.ks-modern .audit-event.request .audit-event-icon{background:#fff5cf;color:#9a7410}
.ks-modern .audit-event.note .audit-event-icon{background:#fff2d9;color:#a46613}
.ks-modern .audit-event[data-audit-action="address_viewed"] .audit-event-icon{background:#e9f7f2;color:#21866c}
.ks-modern .audit-event[data-audit-action="address_searched"] .audit-event-icon{background:#eaf0ff;color:#285bf3}
.ks-modern .audit-event[data-audit-action="address_viewed"] .audit-event-copy>small{color:#21866c}
.ks-modern .audit-event[data-audit-action="address_searched"] .audit-event-copy>small{color:#285bf3}
.ks-modern .audit-event.user .audit-event-icon{background:#e9f7f2;color:#21866c}
.ks-modern .audit-event.notification .audit-event-icon{background:#f0eaff;color:#6f4bc4}
.ks-modern .audit-event-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .audit-event-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start}
.ks-modern .audit-event-copy>small{margin:0 0 3px;color:#53769e;font-size:9px;font-weight:800;line-height:1.35;text-transform:uppercase;letter-spacing:.045em}
.ks-modern .audit-event-copy>b{max-width:100%;color:var(--navy);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ks-modern .audit-event-copy>time{margin-top:4px;color:#8494a6;font-size:9.5px;line-height:1.45}
.ks-modern .audit-fields{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.ks-modern .audit-fields span{padding:4px 7px;border-radius:7px;background:#f2f5f9;color:#60758d;font-size:8.5px;font-weight:650}
.ks-modern .audit-preview{width:100%;margin-top:8px;padding:9px 10px;border-left:3px solid #e0b83f;border-radius:8px;background:#fff9e8;color:#405873;font-size:10px;line-height:1.55;overflow-wrap:anywhere;white-space:pre-wrap}
.ks-modern .audit-open-address{display:inline-flex;align-items:center;gap:6px;margin-top:9px;padding:6px 9px;border:0;border-radius:8px;background:#edf3ff;color:#285bf3;font-size:9.5px;font-weight:750}
.ks-modern .audit-open-address svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ks-modern #chairmanComment{display:block;margin-top:7px!important;padding:0!important;border-radius:0!important;background:transparent!important}

.ks-modern .request-saved-draft{display:grid;grid-template-columns:38px minmax(0,1fr) auto 30px;gap:9px;align-items:center;margin:0 0 16px;padding:11px;border:1px solid #f0dc98;border-radius:14px;background:linear-gradient(135deg,#fff9e5,#f4f7ff)}
.ks-modern .request-saved-draft[hidden]{display:none!important}
.ks-modern .request-saved-draft>span{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#fff0b3;color:#8c6b0b}
.ks-modern .request-saved-draft>span svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .request-saved-draft>div{display:flex;min-width:0;flex-direction:column}
.ks-modern .request-saved-draft em{color:#927214;font-size:8.5px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.06em}
.ks-modern .request-saved-draft b{max-width:100%;margin-top:2px;color:var(--navy);font-size:10.5px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ks-modern .request-saved-draft small{margin-top:1px;color:#7e8d9e;font-size:8.5px}
.ks-modern .request-saved-draft .soft{min-height:34px;margin:0;padding:0 10px;border:0;border-radius:9px;background:#e7efff;color:#285bf3;font-size:9.5px;font-weight:750}
.ks-modern .request-draft-delete{display:grid;place-items:center;width:30px;height:30px;margin:0;padding:0;border:0;border-radius:9px;background:#fff0f1;color:#b64352}
.ks-modern .request-draft-delete svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

@media(max-width:390px){
  .ks-modern .request-saved-draft{grid-template-columns:34px minmax(0,1fr) 30px}
  .ks-modern .request-saved-draft>span{width:34px;height:34px}
  .ks-modern .request-saved-draft .soft{grid-column:2/4;width:100%}
  .ks-modern .request-draft-delete{grid-column:3;grid-row:1}
}

/* 23.5: keep the header clean and place profile with the main navigation. */
.ks-modern .bottom-navigation-actions{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.ks-modern #openProfileMenu{position:relative}
.ks-modern #openProfileMenu .reference-nav-symbol{position:relative}
.ks-modern #openProfileMenu .reference-nav-symbol:after{content:"";position:absolute;right:-2px;bottom:0;width:6px;height:6px;border:2px solid #fff;border-radius:50%;background:#69b79a}
.ks-modern #profileMenuBadge{position:absolute;top:0;left:calc(50% + 7px);display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:9px;background:#ffd633;color:#594500;font-size:8px;font-style:normal;font-weight:900;line-height:1}
.ks-modern #profileMenuBadge[hidden]{display:none!important}
body.profile-pending.ks-modern #openProfileMenu{visibility:hidden}
@media(max-width:360px){
  .ks-modern .bottom-navigation-actions>button{font-size:9px}
  .ks-modern .bottom-navigation svg{width:21px;height:21px}
}

/* 23.6: the core search action sits in the center of the bottom navigation. */
.ks-modern #navAdd{color:#8593a3}
.ks-modern #navAdd[aria-current=page]{color:var(--blue)}
.ks-modern #navAdd>.reference-nav-symbol{background:transparent;color:inherit;box-shadow:none}
.ks-modern #navAdd[aria-current=page]>.reference-nav-symbol{background:#edf2ff}
.ks-modern #navSearch>.reference-nav-symbol{width:52px;background:var(--blue);color:#fff;box-shadow:0 5px 13px #1f5eed2b}
.ks-modern #navSearch[aria-current=page]>.reference-nav-symbol{background:var(--blue);color:#fff}
.ks-modern #navSearch:active>.reference-nav-symbol{transform:translateY(1px);box-shadow:0 2px 7px #1f5eed26}

/* 23.7: Telegram-like unread entry point and a persistent jump-to-bottom action. */
.ks-modern .chat-unread-divider{display:flex;align-items:center;gap:9px;margin:3px 0;padding:2px 0;color:#5478c9;font-size:9px;font-weight:800;line-height:1.4;text-transform:uppercase;letter-spacing:.055em}
.ks-modern .chat-unread-divider:before,.ks-modern .chat-unread-divider:after{content:"";height:1px;flex:1;background:#c9d8fa}
.ks-modern .chat-unread-divider span{white-space:nowrap}
.ks-modern .chat-unread-divider b{display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#2d62ed;color:#fff;font-size:9px;line-height:1}
.ks-modern .chat-scroll-down{position:fixed;z-index:24;right:max(20px,calc((100vw - 500px)/2 + 20px));bottom:calc(var(--navigation-height) + 82px);display:grid;place-items:center;width:43px;height:43px;margin:0;padding:0;border:1px solid #d9e3f2;border-radius:50%;background:#fff;color:#285bf3;box-shadow:0 8px 22px #17385d24}
.ks-modern .chat-scroll-down[hidden]{display:none!important}
.ks-modern .chat-scroll-down>svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .chat-scroll-down>span{position:absolute;right:-4px;top:-6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border:2px solid #fff;border-radius:11px;background:#2d62ed;color:#fff;font-size:8px;font-weight:900;line-height:1}
.ks-modern .chat-scroll-down>span[hidden]{display:none!important}
.ks-modern .chat-scroll-down:active{transform:translateY(1px);box-shadow:0 4px 12px #17385d20}

/* Permanent engineer help and the monthly rota. */
.ks-modern .engineer-help-trigger{position:relative;margin-left:auto;min-width:0;height:43px;padding:5px 10px 5px 6px;border:1px solid #d7e2f2;border-radius:15px;display:flex;align-items:center;gap:7px;background:#fff;color:var(--navy);box-shadow:0 5px 14px #17385d0d;text-align:left}
.ks-modern .engineer-help-trigger[hidden]{display:none!important}
.ks-modern .engineer-help-trigger-icon{flex:0 0 31px;width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#e9f0ff;color:var(--blue)}
.ks-modern .engineer-help-trigger-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .engineer-help-trigger-copy{min-width:0;display:flex;flex-direction:column!important;line-height:1.05}
.ks-modern .engineer-help-trigger-copy small{color:#7d8da1;font-size:7px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}
.ks-modern .engineer-help-trigger-copy b{margin-top:3px;font-size:10px;white-space:nowrap}
.ks-modern .engineer-help-trigger>i{position:absolute;right:-2px;top:-2px;width:8px;height:8px;border:2px solid var(--bg);border-radius:50%;background:#8c9aaa}
.ks-modern .engineer-help-trigger.has-duty>i{background:#45b58c}
.ks-modern #engineerHelpDialog{width:min(500px,100%);max-height:85dvh;overflow:hidden;border-radius:24px 24px 0 0;background:var(--bg)}
.engineer-help-dialog::backdrop{background:#10243a80;backdrop-filter:blur(5px)}
.ks-modern #engineerHelpDialog .engineer-help-card{display:flex;flex-direction:column;max-height:85dvh;padding:0!important;overflow:hidden;border-radius:inherit;background:var(--bg);box-shadow:none}
.engineer-help-header{position:relative;flex:none;padding:14px 20px 17px;background:#fff;border-bottom:1px solid var(--line)}
.engineer-help-header .reference-sheet-handle{margin:0 auto 18px}
.ks-modern #engineerHelpDialog .modal-close{top:27px;right:16px;width:36px;height:36px;background:#f2f4f7}
.engineer-help-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px 20px calc(20px + env(safe-area-inset-bottom,0px));scrollbar-width:thin;scrollbar-color:#d7dee7 transparent}
.engineer-help-heading{display:flex;align-items:center;gap:10px;padding-right:32px}
.engineer-help-heading>div{min-width:0}
.engineer-help-heading-icon{flex:0 0 40px;width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#edf2ff;color:var(--blue)}
.engineer-help-heading-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.engineer-help-heading small{display:block;color:var(--muted);font-size:9px;font-weight:750;line-height:1.5;text-transform:uppercase;letter-spacing:.07em}
.ks-modern .engineer-help-heading h2{margin:3px 0 0!important;font-size:20px!important;line-height:1.2;font-weight:680;letter-spacing:-.025em}
.engineer-current-time{margin:0 0 12px;padding:14px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-items:center;background:#fff}
.engineer-current-time span{color:#718197;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.065em}
.engineer-current-time b{grid-row:1/3;grid-column:2;font-size:28px;letter-spacing:-.035em;color:var(--blue)}
.engineer-current-time small{margin-top:4px;color:var(--navy);font-size:11px}
.engineer-help-status{margin:0 0 12px!important;color:#60758d!important;font-size:12px!important;line-height:1.5}
.engineer-duty-list,.engineer-directory-list{display:grid;gap:8px}
.engineer-duty-card{padding:14px;border:1px solid var(--line);border-radius:16px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;background:#fff;transition:background-color .15s ease,border-color .15s ease}
.engineer-duty-copy{min-width:0}
.engineer-duty-card strong{display:block;min-width:0;color:var(--navy);font-size:14px;line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.engineer-shift-time{display:block;margin-top:7px;color:var(--navy);font-size:12px;line-height:1.3;font-weight:750;font-variant-numeric:tabular-nums}
.engineer-shift-note{display:block;margin-top:3px;color:#318064;font-size:10px;line-height:1.4;font-style:normal;font-weight:600}
.engineer-duty-card small{display:block;margin-top:5px;color:#6d8196;font-size:10px;font-variant-numeric:tabular-nums}
.engineer-duty-card.on_duty{border-color:#d7ebe3;background:#f7fcfa}
.engineer-duty-card.later{border-color:#dce6f7;background:#f8faff}.engineer-duty-card.later .engineer-shift-note{color:#60758d}
.engineer-duty-card.finished{border-color:#e2e6ec;background:#f6f7f9}.engineer-duty-card.finished .engineer-shift-note{color:#718197}
.engineer-duty-card.ending-soon{border-color:#edd58a;background:#fffaf0}.engineer-duty-card.ending-soon .engineer-shift-time,.engineer-duty-card.ending-soon .engineer-shift-note{color:#956300;font-weight:750}
.engineer-call{flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #d7ebe3;border-radius:12px;display:grid;place-items:center;background:#edf7f3;color:#21725d;text-decoration:none;box-shadow:none;transition:transform .12s ease,background-color .12s ease,border-color .12s ease}
.engineer-call:visited{color:#21725d}.engineer-call>span{display:inline;margin:0;color:inherit;font:inherit;line-height:1.25;white-space:nowrap}.engineer-call:focus-visible{outline:3px solid #a9d1c3;outline-offset:3px}.engineer-call:active{transform:translateY(1px);background:#deeee8;border-color:#c5e1d6}
.engineer-call.is-disabled,.engineer-call.is-disabled:active{border-color:#e0e5ec;background:#edf0f4;color:#9aa6b3;transform:none;cursor:default;opacity:1}
.engineer-call svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.engineer-meeting-notice{margin:12px 0;padding:12px 14px;border:1px solid #e0e7f0;border-radius:14px;background:#f4f7fc;color:#60758d;font-size:12px;line-height:1.5}
.engineer-meeting-notice.is-active{border-color:#edd58a;background:#fffaf0;color:#805a16}
.engineer-duty-card.meeting{border-color:#edd58a;background:#fffaf0}.engineer-duty-card.meeting .engineer-shift-note{color:#805a16}
.engineer-directory-head{margin:18px 0 9px;display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.engineer-directory-head b{font-size:14px}.engineer-directory-head small{color:#7d8da1;font-size:8px;text-align:right}
.engineer-directory-row{padding:11px 3px;border-top:1px solid #e0e7f0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.engineer-directory-row>div{min-width:0}.engineer-directory-row strong{display:block;font-size:12px;line-height:1.3;overflow-wrap:anywhere}.engineer-directory-row span{display:block;margin-top:3px;color:#6f8196;font-size:10px}.engineer-directory-row.on-duty span{color:#25805f;font-weight:750}
.engineer-directory-row .engineer-call{min-width:38px;width:38px;min-height:38px;padding:0;border-radius:12px;background:#edf3ff;color:var(--blue);box-shadow:none}
.schedule-admin-card{max-width:680px;margin:0 auto 14px;padding:17px;border:1px solid #d8e3f2;border-radius:20px;background:#fff}
.schedule-admin-intro{display:flex;align-items:center;gap:11px;margin-bottom:15px}.schedule-admin-intro>span{flex:0 0 43px;width:43px;height:43px;display:grid;place-items:center;border-radius:14px;background:#edf3ff;color:var(--blue)}.schedule-admin-intro svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}.schedule-admin-intro>div{min-width:0}.schedule-admin-intro b{display:block;font-size:14px}.schedule-admin-intro small{display:block;margin-top:4px;color:#718197;font-size:10px;line-height:1.4}
.schedule-admin-card>label{margin-top:11px}.schedule-admin-card>input{width:100%;min-height:48px;padding:10px 12px;border:1px solid #d7e2f2;border-radius:14px;background:#f8fafc;color:var(--navy)}.schedule-admin-card .primary{margin-top:13px}.schedule-admin-status{min-height:16px;margin:10px 0 0;color:#63788e;font-size:10px;line-height:1.4}.schedule-admin-status.error{color:#b4384d}.schedule-warnings{max-width:680px;margin:0 auto 12px;padding:12px 14px;border:1px solid #edcf65;border-radius:16px;background:#fff9df;color:#715a05;font-size:10px;line-height:1.5}.schedule-preview{max-width:680px;margin:0 auto 13px;border:1px solid #d8e3f2;border-radius:18px;background:#fff;overflow:auto;max-height:56dvh}.schedule-preview-table{border-collapse:separate;border-spacing:0;min-width:max-content;font-size:9px}.schedule-preview-table th,.schedule-preview-table td{min-width:46px;padding:6px;border-right:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;text-align:center;background:#fff}.schedule-preview-table th{position:sticky;top:0;z-index:2;background:#f0f4fb;color:#536b86}.schedule-preview-table th:first-child,.schedule-preview-table td:first-child{position:sticky;left:0;z-index:1;min-width:168px;text-align:left;background:#fff}.schedule-preview-table th:first-child{z-index:3;background:#f0f4fb}.schedule-preview-table select{width:100%;min-width:40px;height:31px;padding:2px;border:1px solid #d5e0ee;border-radius:8px;background:#f8fafc;font-size:9px}.schedule-preview-table .engineer-map{min-width:150px}.schedule-preview-table td.uncertain{background:#fff8d7}.schedule-publish{max-width:680px;margin:0 auto 30px}.schedule-publish[hidden]{display:none!important}
@media(max-width:380px){.ks-modern .engineer-help-trigger{padding-right:7px;gap:5px}.ks-modern .engineer-help-trigger-copy small{display:none}.ks-modern .engineer-help-trigger-copy b{margin:0;font-size:9px}.ks-modern .engineer-call{min-width:44px;padding:0}.engineer-help-header{padding-left:16px;padding-right:16px}.engineer-help-body{padding-left:16px;padding-right:16px}}
/* History is a page, not a rounded card: clipping its corner cut off Ш. */
.ks-modern #recentAddressesSection{border-radius:0;overflow:visible}
.ks-modern .recent-addresses-head>div>span{line-height:1.5;font-weight:750}

/* 24.16: Clean Pro notes, adapted to the light application style. */
.ks-modern .notes-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:26px 0 12px}
.ks-modern .notes-head-left{display:flex;align-items:center;gap:10px;min-width:0}
.ks-modern .notes-title-icon{width:34px;height:34px;border-radius:11px;background:#edf2ff;color:var(--blue);display:grid;place-items:center;flex:none}
.ks-modern .notes-title-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .notes-head h3{margin:0;font-size:16px;font-weight:760;line-height:1.2}
.ks-modern .notes-head small{display:block;margin-top:2px;color:var(--muted);font-size:9px;line-height:1.35}
.ks-modern #openNote.note-add{display:flex;align-items:center;justify-content:center;gap:6px;flex:none;width:auto;height:36px;min-height:36px;margin:0;padding:0 12px;border:0;border-radius:12px;background:var(--navy);color:#fff;box-shadow:0 7px 16px #142b4318;font-size:10px;font-weight:750}
.ks-modern #openNote.note-add svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.ks-modern .notes-wrap{display:grid;gap:10px;padding:0!important}
.ks-modern .notes .note-card{position:relative;display:block!important;margin:0;padding:14px 15px 13px!important;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--navy);box-shadow:0 7px 18px #142b4305;font-size:12px}
.ks-modern .notes .note-card.is-pinned{border-color:#e9dfa9;background:#fffdf2;box-shadow:0 8px 20px #8d76100d}
.ks-modern .note-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.ks-modern .note-author{min-width:0}
.ks-modern .note-author b{display:block;color:var(--navy);font-size:11px;line-height:1.25}
.ks-modern .note-author small{display:block;margin-top:3px!important;color:#98a3af;font-size:9px!important;line-height:1.35}
.ks-modern .notes .note-more{display:grid;place-items:center;flex:none;width:29px;height:29px;min-height:29px;margin:0;padding:5px;border:0;border-radius:9px;background:#f6f8fa;color:#7f8c9b}
.ks-modern .notes .note-card.is-pinned .note-more{background:#f6f0d8;color:#8b7724}
.ks-modern .notes .note-more svg{width:17px;height:17px}
.ks-modern .notes .note-card .note-copy{width:100%;margin-top:11px;padding:0!important;color:#40536a!important;font-size:12px!important;line-height:1.66!important;overflow-wrap:anywhere;white-space:pre-wrap}
.ks-modern .note-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #edf0f4}
.ks-modern .note-card.is-pinned .note-bottom{border-color:#eee3b8}
.ks-modern .note-context{display:inline-flex;align-items:center;gap:5px;color:#7f8c9b;font-size:9px;line-height:1.35}
.ks-modern .note-card.is-pinned .note-context{color:#8b7724}
.ks-modern .note-context svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .notes-empty{padding:24px 16px;text-align:center;border:1px dashed #d9e0e8;border-radius:17px;color:#8a96a3;font-size:11px;line-height:1.6;background:#fff}
.ks-modern .notes-empty svg{width:19px;height:19px;margin-bottom:7px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .note-sheet-intro{margin:14px 0 15px;padding:13px 14px;border:1px solid #e7ebf0;border-radius:15px;background:#f5f7fa}
.ks-modern .note-sheet-intro b{display:block;color:var(--navy);font-size:12px}
.ks-modern .note-sheet-intro p{margin-top:4px;color:#7e8b99;font-size:10px;line-height:1.55}
.ks-modern #noteForm .note-editor{width:100%;min-height:125px;margin:0;padding:14px;resize:none;border:1px solid #dfe5ec;border-radius:15px;background:#fff;color:var(--navy);outline:0;font-size:13px;line-height:1.6}
.ks-modern #noteForm .note-editor:focus{border-color:#809dff;box-shadow:0 0 0 3px #285bf30b}
.ks-modern .note-options{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.ks-modern .note-options>span:first-child{color:#7d8b9a;font-size:9px;line-height:1.4}
.ks-modern #noteCharacterCount{color:#8d98a6;font-size:10px}
.note-actions-dialog::backdrop{background:#10243a80;backdrop-filter:blur(5px)}
.ks-modern #noteActionsDialog{width:min(500px,100%);max-width:500px;margin:auto auto 0;border:0;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -14px 45px #132d4b24}
.ks-modern #noteActionsDialog .note-actions-sheet{position:relative;width:100%;max-width:none;padding:13px 22px calc(22px + env(safe-area-inset-bottom,0px));border-radius:inherit;background:#fff;box-shadow:none}
.ks-modern #noteActionsDialog .reference-sheet-handle{display:block;margin:0 auto 17px}
.ks-modern #noteActionsDialog .modal-close{top:28px;right:22px;width:36px;height:36px;background:#f4f6f9;color:var(--navy)}
.ks-modern #noteActionsDialog h2{margin:0 48px 0 0;font-size:20px;line-height:1.25}
.ks-modern .note-actions-preview{max-height:70px;margin:17px 0 0;padding:0 0 13px;border:0;border-bottom:1px solid #e1e7ef;border-radius:0;background:transparent;color:#8190a3;font-size:10px;line-height:1.55;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ks-modern .note-actions-menu{display:grid;gap:0}
.ks-modern .note-actions-menu>button{display:grid;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:53px;margin:0;padding:8px 2px;border:0;border-bottom:1px solid #e1e7ef;border-radius:0;background:transparent;color:var(--navy);text-align:left}
.ks-modern .note-actions-menu>button:last-child{border-bottom:0}
.ks-modern .note-actions-menu>button[hidden]{display:none!important}
.ks-modern .note-menu-icon{display:grid;place-items:center;width:28px;height:34px;border-radius:0;background:transparent;color:#7b91ad}
.ks-modern .note-menu-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.ks-modern .note-menu-copy{display:flex;min-width:0;flex-direction:column}
.ks-modern .note-menu-copy b{font-size:11px;line-height:1.35;font-weight:550}
.ks-modern .note-menu-copy small{display:none}
.ks-modern .note-actions-menu>button.danger{color:var(--navy)}
.ks-modern .note-actions-menu>button.danger .note-menu-icon{background:transparent;color:#7b91ad}
/* Disable Android WebView's rectangular tap overlay, including SVG/label children.
   Keep keyboard focus visible and the existing rounded control backgrounds. */
.ks-modern,.ks-modern *{-webkit-tap-highlight-color:transparent}
.ks-modern :is(button,a,summary,[role="button"]):focus:not(:focus-visible){outline:none}
.ks-modern :is(button,a,summary,[role="button"]):active:not(:disabled):not([aria-disabled="true"]):not(.is-disabled){opacity:.82}
/* Keep the fixed name column compact even when an OCR label is very long. */
.ks-modern .schedule-preview{width:100%;min-width:0;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
.ks-modern .schedule-preview-table{table-layout:fixed;min-width:0;max-width:none}
.ks-modern .schedule-preview-table th,.ks-modern .schedule-preview-table td{box-sizing:border-box;min-width:0;padding:5px;overflow-wrap:anywhere}
.ks-modern .schedule-preview-table th:first-child,.ks-modern .schedule-preview-table td:first-child{width:124px;min-width:0;max-width:124px;box-shadow:2px 0 0 #dfe6ee}
.ks-modern .schedule-preview-table select,.ks-modern .schedule-preview-table .engineer-map{box-sizing:border-box;display:block;width:100%;min-width:0;max-width:100%;height:42px;padding:3px;font-size:11px;text-overflow:ellipsis}
.ks-modern .schedule-preview-table small{display:block;margin:4px 0 0;padding:0;font-size:10px;line-height:1.3;white-space:normal}
.ks-modern .chat-tabs{display:flex;gap:5px;padding:5px;margin:12px 0 16px;border-radius:16px;background:#eaf0fa}
.ks-modern .chat-tabs button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;background:transparent;color:#64788d;border:0;border-radius:12px;font-size:13px;font-weight:650}
.ks-modern .chat-tabs button[aria-pressed="true"]{background:#fff;color:#2858ef;box-shadow:0 2px 8px #1836540a}
.ks-modern .chat-tabs span,.ks-modern .chat-dialog-row em{background:#2b56f0;color:#fff;border-radius:9px;min-width:22px;padding:3px 6px;font-size:11px;font-style:normal;text-align:center}
.ks-modern .chat-dialog-row{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;margin:10px 0;border:1px solid #e0e7f0;border-radius:19px;background:#fff;text-align:left;color:#152f45}
.ks-modern .chat-dialog-row>span:first-child{min-width:0;flex:1}.ks-modern .chat-dialog-row b{display:block;font-size:14px;overflow-wrap:anywhere}
.ks-modern .chat-dialog-row small{display:block;margin:5px 0 0;padding:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#7a8d9e}
.ks-modern .chat-dialog-row time{display:block;margin-top:6px;color:#8b99a7;font-size:10px}.ks-modern .chat-dialog-row i{font-style:normal;color:#8a9bad}
.ks-modern .chat-write-label{flex:none;border-radius:10px;background:#edf2ff;color:#2858ef;padding:9px;font-size:11px;font-weight:650}
.ks-modern #chatPersonalList h2{font-size:18px}.ks-modern #chatPeoplePicker{margin:12px 0 20px}.ks-modern #chatPeopleSearch{font-size:14px;min-height:44px}
.ks-modern #chatBackToList{margin-bottom:10px}.ks-modern #chatHeading{overflow-wrap:anywhere;font-size:28px}
.ks-modern .chat-compose-panel[hidden],.ks-modern #chatMute[hidden]{display:none!important}
.ks-modern #chatPeopleSearch{box-sizing:border-box;display:block;width:100%;min-height:46px;margin:7px 0 12px;padding:12px 14px;border:1px solid #dce4ee;border-radius:14px;background:#f7f9fc;color:#152f45;font:inherit;font-size:13px;outline:none}
.ks-modern #chatPeopleSearch:focus{border-color:#7996ff;box-shadow:0 0 0 3px #eaf0ff}
.ks-modern #chatPeoplePicker>label{font-size:12px;color:#718498;font-weight:600}
.ks-modern #chatBadge{border-radius:9px;background:#2b56f0;color:#fff;font-size:9px;min-width:17px;padding:2px 4px;line-height:1.3}
.ks-modern .chat-hub-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}.ks-modern .chat-hub-section-head h2{display:flex;align-items:center;gap:7px;margin:0;font-size:16px}
.ks-modern .chat-hub-section-head button{font-size:11px;padding:10px 12px;border-radius:12px}
.ks-modern .chat-hub-card{box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;padding:18px;margin:0 0 12px;border:1px solid #e0e7f0;border-radius:23px;background:#fff;color:#162c45;text-align:left;min-height:84px}
.ks-modern .chat-hub-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 48px;width:48px;height:48px;border-radius:50%;background:#edf2ff;color:#2e5cff;font-size:13px;font-weight:750}
.ks-modern .chat-hub-copy{flex:1;min-width:0}.ks-modern .chat-hub-copy b{display:block;font-size:14px;line-height:1.4;overflow-wrap:anywhere}.ks-modern .chat-hub-copy small{display:block;margin:4px 0 0;padding:0;font-size:11px;line-height:1.45;color:#8393a9;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.ks-modern .chat-hub-action{flex:none;padding:10px 12px;border-radius:14px;background:#edf2ff;color:#2e5cff;font-size:11px;font-weight:700}
.ks-modern .chat-shared-heading{margin:28px 2px 14px!important;font-size:19px!important}.ks-modern .chat-team-card{min-height:105px}.ks-modern .chat-team-card .chat-hub-avatar{border-radius:15px}.ks-modern .chat-team-card .chat-hub-action{color:#2d8e76;background:#edf7f3}
.ks-modern .chat-hub-unread,.ks-modern #chatPersonalCount{flex:none;min-width:19px;padding:3px 5px;border-radius:9px;background:#2e5cff;color:#fff;font-size:10px;text-align:center}.ks-modern .chat-hub-empty{font-size:13px;color:#8393a9}
@media(max-width:360px){.ks-modern .chat-hub-card{padding:13px;gap:8px}.ks-modern .chat-hub-avatar{flex-basis:38px;width:38px;height:38px}.ks-modern .chat-hub-action{padding:9px;font-size:10px}.ks-modern .chat-hub-copy b{font-size:13px}.ks-modern .chat-team-card{flex-wrap:wrap}.ks-modern .chat-team-card .chat-hub-copy{min-width:110px}}
.ks-modern .chat-hub-card .chat-hub-unread{position:static;flex-shrink:0;min-width:22px;box-sizing:border-box;padding:4px 6px;border-radius:12px;line-height:14px}
.ks-modern #chatTeamTab{flex-wrap:nowrap;min-height:84px}.ks-modern #chatTeamSummary{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ks-modern #chatTeamTab .chat-hub-copy{min-width:0}

/* Street search only: approved dropdown and house illustration. */
.ks-modern .hero h1 em{font-weight:600;color:var(--blue)}
.ks-modern .search-card{padding:0;border:0;background:transparent;box-shadow:none;overflow:visible}
.street-search-caption{display:flex;align-items:center;justify-content:space-between;gap:8px;height:18px;min-height:18px;line-height:18px;margin-bottom:9px}
.ks-modern .street-search-caption label{margin:0;color:#8c99ab;font-size:11px;line-height:18px}
.street-search-caption>small{color:#9aa7b9;font-size:10px;line-height:18px}
.street-search-field{position:relative;z-index:6}
.ks-modern .street-search-field .input-wrap{height:57px;min-height:57px;margin:0;border:1px solid #dce4ef;border-radius:15px;background:#fff;padding:0 15px;gap:10px}
.ks-modern .street-search-field input{height:55px;font-size:16px}
.ks-modern .street-search-field input::placeholder{font-size:13px;color:#98a6b8}
.ks-modern .street-search-field .input-wrap:focus-within{border-color:#dce4ef;box-shadow:none}
.ks-modern .street-search-field .input-wrap>svg:first-child{width:20px;height:20px;stroke:var(--blue)}
.ks-modern .street-search-field .clear{width:22px;min-width:22px;height:22px;border-radius:50%;background:#eef2f8;font-size:18px;line-height:20px;display:grid;place-items:center;color:#91a0b3}
.ks-modern .street-search-field .clear[hidden]{display:none}
.ks-modern .street-search-chevron{width:15px!important;height:15px;color:#a5b1c3;stroke:#a5b1c3;transition:transform .12s}
.ks-modern .street-search-field:has(input[aria-expanded=true]) .street-search-chevron{transform:rotate(180deg)}
.ks-modern #streetSuggestions{position:absolute;top:calc(100% + 9px);left:0;right:0;z-index:7;display:flex;flex-direction:column;gap:0;margin:0;padding:0;max-height:380px;overflow:hidden;border:1px solid #e0e7f1;border-radius:17px;background:#fff;box-shadow:0 14px 35px #213c6120,0 3px 8px #213c6108}
.ks-modern #streetSuggestions[hidden]{display:none}
.street-suggestions-heading{display:flex;align-items:center;justify-content:space-between;padding:13px 15px 10px;flex:none}
.street-suggestions-heading b{font-size:9px;font-weight:650;color:#8b99ad;letter-spacing:.09em;text-transform:uppercase}
.street-suggestions-heading span{font-size:9px;background:#f1f5fc;color:#6e87af;border-radius:5px;padding:3px 6px}
#streetSuggestionList{flex:1;min-height:0;padding:0 7px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd8eb transparent}
.ks-modern #streetSuggestionList button{display:flex;align-items:center;gap:10px;min-height:65px;padding:12px 8px;text-align:left;border:0;border-radius:10px;background:white;color:var(--navy)}
.ks-modern #streetSuggestionList button:hover,.ks-modern #streetSuggestionList button[aria-selected=true]{background:#f0f5ff}
.street-option-icon{width:30px;height:34px;background:#f3f6fa;border-radius:9px;display:grid;place-items:center;flex:none;color:#8fa2bc}
.ks-modern .street-option-icon svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.street-option-copy{flex:1;min-width:0}.street-option-copy b{display:block;font-size:12px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}
.street-option-copy mark{color:var(--blue);background:transparent;font-weight:750}.street-option-copy small{display:block;color:#94a1b2;font-size:9px;font-weight:400;margin-top:4px}
.street-option-arrow{font-size:19px;font-weight:400;color:#bdc7d4}.street-suggestions-foot{flex:none;text-align:center;border-top:1px solid #f0f3f8;padding:9px 5px;background:#fbfcfe;font-size:8px;color:#a0acbb}
.ks-modern #streetSuggestionList .empty{padding:20px 12px 24px;text-align:center;font-size:11px;line-height:1.7;color:#8a98ac}
#streetSuggestionList .empty b{display:block;font-size:12px;color:#435873;margin-bottom:5px}#streetSuggestionList .empty span{display:block}
.ks-modern.street-search-active #appViewport>section:not(.search-card),.ks-modern.street-search-active #selectedStreetSummary{display:none!important}
/* Unlike hidden, clip cannot be scrolled by WebView's automatic caret reveal. */
.ks-modern.street-search-active #appViewport{overflow:clip;overflow-anchor:none;padding-top:14px;padding-bottom:0}
.ks-modern.street-search-active .shell{overflow:clip}

.ks-modern.street-search-active .search-card{margin-bottom:0}
.ks-modern.street-search-keyboard .bottom-navigation{display:none!important}
.ks-modern.street-search-active .shell{top:var(--street-visible-top,0px);height:calc(var(--street-visible-height,100dvh) - var(--navigation-height))}
.ks-modern.street-search-keyboard .shell{height:var(--street-visible-height,100dvh)}
.street-search-empty{text-align:center;padding:28px 0 8px;color:#9aa6b7}
.street-house-art{height:140px;width:200px;margin:0 auto 14px;position:relative;display:grid;place-items:center}
.street-house-art:before{content:"";position:absolute;inset:5px 20px;background:radial-gradient(ellipse,#e5ecfa 0%,#edf2fb90 45%,transparent 70%);border-radius:50%}
.ks-modern .street-house-art>svg{width:178px;height:130px;position:relative;fill:none;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.street-search-empty>strong{display:block;color:#8291a6;font-size:12px;font-weight:600}.street-search-empty>p{font-size:11px;line-height:1.8;margin:8px auto 0}
.street-search-steps{display:flex;align-items:center;justify-content:center;gap:10px;margin:25px 0 12px;color:#a5b0bf;font-size:10px}
.street-search-steps span{display:flex;align-items:center;gap:5px}.street-search-steps i{font-style:normal;display:grid;place-items:center;width:18px;height:18px;border:1px solid #dde5ef;border-radius:50%;font-size:9px}.street-search-steps>b{color:#c1cad6;font-size:15px;font-weight:400}
@media(max-width:360px){.ks-modern .street-search-field .input-wrap{padding:0 12px;gap:8px}.ks-modern .street-search-field input::placeholder{font-size:11px}.street-option-copy b{font-size:11px}.ks-modern #streetSuggestionList button{gap:8px;padding-left:5px;padding-right:5px}.street-option-icon{width:26px}}
@media(prefers-reduced-motion:reduce){.ks-modern .street-search-chevron{transition:none}}

/* Keep Android's container focus ring off the house sheet; controls retain focus styles. */
.ks-modern #housePickerDialog,.ks-modern #housePickerDialog .house-picker-modal-card{border:0;outline:none;border-radius:25px 25px 0 0!important}
.house-picker-status{display:flex;align-items:center;gap:10px;padding:25px 12px;color:#8392a6;font-size:12px;line-height:1.6}
.house-picker-status.is-loading:before{content:"";flex:none;width:17px;height:17px;border:2px solid #e4ebf8;border-top-color:#6e90ef;border-radius:50%;animation:house-loading .65s linear infinite}
.ks-modern .house-picker-retry{margin:0 0 15px}
@keyframes house-loading{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.house-picker-status.is-loading:before{animation:none}}
/* A stable sheet height prevents the loading-to-results jump. */
.ks-modern #housePickerDialog{height:88dvh}
.ks-modern #housePickerDialog .house-picker-modal-card{height:100%;max-height:100%}

/* Close controls keep a neutral keyboard focus background, without a blue ring. */
.ks-modern .modal-close,.ks-modern .modal-close:focus,.ks-modern .modal-close:focus-visible{outline:none;box-shadow:none;border:0}
.ks-modern .modal-close:focus-visible{background:#e3e9f1}
.ks-modern #housePickerDialog[open]{animation:house-sheet-appear .12s ease-out}
@keyframes house-sheet-appear{from{opacity:.8;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.ks-modern #housePickerDialog[open]{animation:none}}

/* Feedback shares the existing heading line: no empty spacer above the houses. */
.ks-modern .house-picker-grid-head{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;height:28px}
.house-picker-grid-head>b{white-space:nowrap}
.house-picker-grid-head>small,.house-picker-feedback{grid-column:2;grid-row:1;min-width:0}
.house-picker-feedback{display:none;align-items:center;justify-content:flex-end;gap:6px;height:28px;overflow:hidden}
.house-picker-feedback:has(>:not([hidden])){display:flex}
.house-picker-grid-head:has(.house-picker-feedback>:not([hidden]))>small{visibility:hidden}
.house-picker-feedback .house-picker-status{display:block;flex:1;min-width:0;padding:0;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.house-picker-feedback .house-picker-status[hidden]{display:none}
.house-picker-feedback .house-picker-status.is-loading:before{display:inline-block;width:10px;height:10px;margin-right:4px;vertical-align:middle}
.ks-modern .house-picker-feedback .house-picker-retry{flex:none;margin:0;padding:6px;font-size:9px;min-height:26px;max-width:125px}
.ks-modern .house-picker-street-meta{display:flex;flex-wrap:nowrap;gap:8px;height:28px}
.ks-modern .house-picker-street-meta span{display:block;flex:0 1 auto;min-width:0;height:28px;padding:6px 9px;font-size:9px;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ks-modern .selected-street-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@keyframes house-sheet-appear{from{opacity:.8}to{opacity:1}}
.ks-modern.address-opening .hero,.ks-modern.address-opening .search-card{display:none!important}
.ks-modern.address-opening #addressCard>:not(.card-toolbar):not(.address-head){display:none!important}
.ks-modern.address-opening #addressUpdated,.ks-modern.address-opening #favoriteAddress{visibility:hidden}
.ks-modern.address-opening #addressCard:after{content:"Завантажуємо інформацію…";display:block;min-height:430px;padding:35px 22px;color:#8c9aae;font-size:12px;background:linear-gradient(#f1f4f9,#f1f4f9) 20px 85px/calc(100% - 40px) 95px no-repeat,linear-gradient(#f1f4f9,#f1f4f9) 20px 200px/calc(100% - 40px) 140px no-repeat}
/* These screens have their own opacity-only reveal; disable the legacy section slide. */
.ks-modern #appViewport>section:is(.hero,.search-card,#addressCard){animation:none}
.ks-modern .address-head .address-updated{height:18px;min-height:18px;overflow:hidden;white-space:nowrap}
.ks-modern .address-head .address-updated>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Login failures stay in the form and are readable with the mobile keyboard open. */
.ks-modern .login-card label{margin:14px 0 2px;font-size:12px}
.auth-password-field{position:relative;display:flex;align-items:center;gap:6px;min-width:0}
.ks-modern .auth-password-field input{padding-right:82px!important}
.ks-modern .auth-password-field>button{position:absolute;right:6px;padding:9px 8px;border:0;border-radius:8px;background:#edf2fb;color:#3f6293;font-size:10px;min-height:36px}
.auth-feedback{margin:14px 0;padding:13px;border:1px solid #efd4d8;border-radius:12px;background:#fff4f5;color:#963747;font-size:12px;line-height:1.55}
.auth-feedback strong,.auth-feedback span{display:block}.auth-feedback span{margin-top:4px;font-size:11px}
.auth-feedback.is-connection{background:#f0f5ff;border-color:#dce6f7;color:#496786}
.ks-modern .modal-card .auth-help,.ks-modern .modal-card .auth-input-hint{font-size:11px;line-height:1.6;margin:10px 0;color:#7f8ea2}
.ks-modern .modal-card .auth-input-hint{color:#946829}
.ks-modern #loginForm [aria-invalid=true]{border-color:#c66c78;box-shadow:0 0 0 2px #c66c7810}
.ks-modern #loginSubmit:disabled,.ks-modern #createUserForm button:disabled{opacity:.65;cursor:wait}

/* Search stays opaque when focused or reopened from the bottom navigation. */
.ks-modern #appViewport>.search-card:not([hidden]){animation:none}

/* Switch to the compact search once, before focusing the input/starting the IME. */
.street-search-heading{display:none;align-items:center;flex-shrink:0;gap:9px;margin:0 0 18px;height:30px;min-height:30px;line-height:20px}
.street-search-heading button{border:0;background:#edf2fb;width:30px;height:30px;border-radius:10px;padding:0;display:grid;place-items:center;color:var(--blue)}
.ks-modern .street-search-heading svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}
.street-search-heading b{font-size:14px;font-weight:650;white-space:nowrap}.street-search-heading small{margin-left:auto;font-size:9px;color:#98a6b8;white-space:nowrap}
.ks-modern.street-search-active .street-search-heading{display:flex}
.ks-modern.street-search-active .street-search-empty{display:none}
.ks-modern.street-search-active .topbar{height:57px!important;min-height:57px;padding-top:8px!important;padding-bottom:8px!important}
.ks-modern .street-search-heading,.ks-modern .street-search-caption{animation:none;transition:none}
@media(max-width:360px){.street-search-heading small{font-size:8px}}
.ks-modern.street-search-keyboard .street-suggestions-heading{padding:8px 12px 6px}
.ks-modern.street-search-keyboard .street-suggestions-foot{padding:5px;line-height:12px}
