.pp-header{background:#fff;border-radius:18px;padding:16px;box-shadow:0 3px 16px #17203307;margin:10px 0}.pp-identity{display:flex;gap:14px;align-items:center}.pp-identity>div:last-child{min-width:0}.pp-identity h1{font-size:21px;line-height:1.3;margin:0 0 7px;overflow-wrap:anywhere}.pp-identity p{font-size:12px;color:var(--muted);margin:0 0 8px}.pp-avatar{width:68px;height:68px;flex:none;border-radius:20px;background:#f4f4f8;display:grid;place-items:center;font-size:23px;font-weight:600;overflow:hidden}.pp-avatar img{width:100%;height:100%;object-fit:cover}.pp-rating{font-size:12px;color:#8e5b16}.pp-badges{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.pp-badges summary{display:flex;gap:6px;font-size:11px;cursor:pointer;color:#286951}.pp-badges svg{width:14px;height:14px}.pp-badges p{font-size:12px;line-height:1.5}.pp-actions{margin-top:12px}.pp-report{font-size:11px;color:var(--muted);margin-top:10px}.pp-report>summary{cursor:pointer}.pp-report .btn{font-size:12px}.pp-tabs{display:flex;gap:5px;overflow:auto;margin:15px 0;scrollbar-width:none}.pp-tabs>.btn{font-size:12px;white-space:nowrap;min-height:38px;padding:9px 11px}.pp-section{background:#fff;border:1px solid #eeeef3;border-radius:16px;padding:15px;margin:12px 0;box-shadow:0 2px 12px #17203305}.pp-section>h2{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;font-size:17px}.pp-section h2 small{font-size:11px;font-weight:400;color:var(--muted)}.pp-body,.pp-album p,.pp-review p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.pp-service{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;border-top:1px solid #ededf2;padding:13px 0}.pp-service>div{min-width:0;flex:1;flex-basis:45%}.pp-service strong{font-size:13px}.pp-service>strong{max-width:50%;text-align:right;overflow-wrap:anywhere}.pp-service small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.pp-service p{width:100%;font-size:12px;color:var(--muted);margin:0;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.pp-album{border-top:1px solid #ededf2;padding:12px 0}.pp-album h3,.pp-qualification h3{font-size:15px;margin:0 0 6px}.pp-album>small{font-size:11px;color:var(--muted)}.pp-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:10px 0}.pp-photos button{border:0;padding:0;background:#f5f5f8;position:relative;border-radius:10px;overflow:hidden;aspect-ratio:1;cursor:pointer}.pp-photos img{width:100%;height:100%;object-fit:cover;display:block}.pp-photos button>span{position:absolute;right:5px;bottom:5px;background:#fff;border-radius:12px;padding:4px 6px;font-size:11px}.pp-review{border-top:1px solid #ededf2;padding:13px 0}.pp-review-head{display:flex;justify-content:space-between;gap:10px}.pp-review-head strong{font-size:13px;color:#8e5b16}.pp-review small{font-size:11px;color:var(--muted)}.pp-review .btn{font-size:11px;min-height:30px;padding:5px 0}.pp-score{font-size:14px;font-weight:600}.pp-qualification{padding:10px 0;border-top:1px solid #ededf2;font-size:13px;line-height:1.5}.pp-qualification small{font-size:11px;color:var(--muted)}.pp-qualification small svg{width:14px;height:14px}.pp-footer{padding:8px 0 20px}.pp-target{font-size:16px;font-weight:600}.pp-section select{max-width:100%}#pp-gallery{width:min(94vw,1000px);max-width:1000px;height:min(90dvh,900px);max-height:90dvh;border:0;border-radius:16px;background:#17191f;color:#fff;padding:12px;overflow:hidden}#pp-gallery::backdrop{background:#101117dd}#pp-gallery[open]{display:flex;flex-direction:column;gap:10px}#pp-gallery>img{flex:1;min-height:0;width:100%;object-fit:contain}.pp-gallery-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:13px}.pp-gallery-top .btn,.pp-gallery-nav .btn{color:#fff}.pp-gallery-nav{display:flex;justify-content:space-between}.pp-gallery-top span{overflow-wrap:anywhere}
.pp-order-preview{font-size:13px;background:#f6f6f9;border-radius:10px;padding:12px;margin:10px 0;line-height:1.5}.pp-order-preview strong{font-size:14px}.pp-order-preview p{margin:7px 0}.pp-order-preview small{color:var(--muted)}
.pp-gallery-error{font-size:12px;line-height:1.4;margin:0;color:#ffe0e7}
.pp-identity{align-items:flex-start}.pp-avatar{width:84px;height:84px}.pp-identity h1{margin-bottom:2px}.pp-identity p{font-size:14px;margin:0 0 6px}.pp-trust{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:6px}.pp-star{font-size:14px;color:#a86f10}
.pp-passport{display:inline-flex;align-items:center;gap:5px;padding:0;border:0;background:none;font-size:13px;font-weight:600;color:#2563c9;cursor:pointer}.pp-passport.on{color:#23804f}.pp-passport svg{width:16px;height:16px}.pp-own-note{font-size:12px;line-height:1.4;color:var(--muted);margin:10px 0 0}.pp-badges:empty{display:none}
/* Compact header, owner's choice B (6 Nov): bright "Лучший", passport chip, tick after the name, offer button */
.pp-header.pp2{padding:12px;border-radius:18px;margin:8px 0}
.pp2-head{display:flex;gap:12px;align-items:flex-start}
.pp2 .pp-avatar{width:64px;height:64px;border-radius:16px;font-size:20px}
.pp2-who{min-width:0;flex:1}
.pp2-name{font-size:17px;font-weight:800;line-height:1.25;margin:0;overflow-wrap:break-word}
.pp2-name .hk-check{width:17px;height:17px;vertical-align:-3px;margin-left:5px}
.pp2-meta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:3px;font-size:13px;color:var(--muted,#727887)}
.pp2-star,.pp2-rev{border:0;background:none;padding:0;font:inherit;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:3px;min-height:0}
.pp2-star span{color:#e0a100}.pp2-star b{color:#242834;font-size:14px}
.pp2-rev{text-decoration:underline;text-decoration-color:#c9ccd6;text-underline-offset:2px}
.pp2-city{display:flex;align-items:center;gap:4px;margin-top:2px;font-size:13px;color:var(--muted,#727887)}.pp2-city svg{width:14px;height:14px;flex:none}
.pp2-chips{display:flex;gap:5px;flex-wrap:wrap;align-items:center;margin-top:8px}
.pp2-best{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 9px 0 8px;border-radius:999px;background:#bd2559;color:#fff;font:700 12px/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.pp2-best svg{width:13px;height:13px;flex:none}
.pp2-pass{display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border:0;border-radius:999px;background:#eef0f4;color:#5b6274;font:700 12.5px/1 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap;min-height:0}
.pp2-pass svg{width:15px;height:15px;flex:none}.pp2-pass.on{background:#e6f5ec;color:#17663a}
.pp2-actions{margin-top:10px}.pp2-actions:empty{display:none}
.pp2 .btn.pp2-offer{width:100%;height:40px;min-height:40px;border-radius:12px;background:#242834;border-color:#242834;color:#fff;font-size:14px;font-weight:700;white-space:nowrap}
.pp2-report{margin-top:6px;font-size:12.5px}.pp2-report summary{color:var(--muted,#727887);cursor:pointer}
/* Keep extras compact: favourite and compare become small icon buttons next to the offer, list links stay on the search screen */
.pp-header.pp2{display:flex;flex-wrap:wrap;column-gap:6px;align-items:flex-start}.pp2>*{flex:1 1 100%;min-width:0}
.pp2>.pp2-actions{flex:1 1 0;order:5}.pp2>.sl-buttons{flex:0 0 auto;order:6;display:flex;gap:6px;margin-top:10px}.pp2>.pp2-report{order:8}.pp2>.ct-private-note{order:9}.pp2>.sl-links{display:none}
.pp2 .sl-buttons .btn{font-size:0;width:40px;height:40px;min-height:40px;padding:0;border-radius:12px;border:1px solid #d5d8e1;background:#fff;justify-content:center;gap:0}.pp2 .sl-buttons .btn svg{width:18px;height:18px}.pp2 .sl-buttons .btn.sl-on{border-color:#bd2559;color:#bd2559}
.pp2 .ct-private-note{margin-top:8px;padding:8px 10px;border-radius:12px;font-size:13px}
.pp2 .pp2-report{margin-top:6px}.pp2 .pp2-report summary{font-size:12.5px;padding:4px 0;min-height:0}
.pp2 .ct-private-note{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:6px 10px;min-height:0}.pp2 .ct-private-note>*{margin:0}.pp2 .ct-private-note .btn{min-height:30px;padding:4px 8px;font-size:13px}
/* Profile per mock-up 6 Nov: heart in the corner, write and offer, small compare and report links */
.pp-header.pp2{position:relative}
.pp2-heart{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:#f4f5f8;color:#242834;display:flex;align-items:center;justify-content:center;cursor:pointer;z-index:1;min-height:0;padding:0}.pp2-heart svg{width:19px;height:19px}.pp2-heart.on{color:#bd2559}
.pp2 .pp2-head{padding-right:40px}
.pp2-pass,.pp2-pass.on{background:none;padding:0;height:auto}.pp2-pass.on{color:#17663a}.pp2-pass{color:#727887}
.pp2-chips{gap:10px}
.pp2-actions{display:grid;grid-template-columns:1fr 1.35fr;gap:6px}
.pp2 .btn.pp2-write{width:100%;height:40px;min-height:40px;border-radius:12px;background:#fff;border:1.5px solid #d5d8e1;color:#242834;font-size:14px;font-weight:700;white-space:nowrap;padding:0 10px}
.pp2 .btn.pp2-offer{padding:0 10px}
.pp2>.pp2-small{order:7;display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;flex-wrap:wrap}
.pp2 .btn.pp2-compare{min-height:0;height:auto;padding:4px 0;border:0;background:none;color:#242834;font-size:13px;font-weight:600;gap:5px;width:auto}.pp2 .btn.pp2-compare svg{width:15px;height:15px}.pp2 .btn.pp2-compare.on{color:#bd2559}
.pp2 .pp2-small .pp2-report{margin:0;flex:0 1 auto}.pp2 .pp2-small .pp2-report summary{font-size:12.5px;color:#727887;padding:4px 0;list-style:none;cursor:pointer}.pp2 .pp2-small .pp2-report summary::-webkit-details-marker{display:none}.pp2 .pp2-small .pp2-report[open]{flex:1 1 100%}
.pp2 .pp2-report .btn{min-height:36px;font-size:13.5px}
.pp2>.sl-buttons{display:none}
/* Direct messages */
.dm{display:flex;flex-direction:column;gap:10px;min-height:60vh}
.dm-head{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:10px 12px}.dm-head>div:nth-child(2){flex:1;min-width:0;display:grid}.dm-head strong{font-size:15px;overflow-wrap:break-word}.dm-head small{font-size:12.5px;color:#727887}
.dm-face{width:40px;height:40px;border-radius:12px;overflow:hidden;background:#eceef4;display:flex;align-items:center;justify-content:center;font-weight:700;color:#5b6274;flex:none}.dm-face img{width:100%;height:100%;object-fit:cover}
.dm-head .dm-profile{min-height:36px;width:36px;padding:0;justify-content:center}
.dm-list{display:flex;flex-direction:column;gap:6px;max-height:58vh;overflow-y:auto;padding:4px 2px}
.dm-msg{max-width:84%;padding:8px 11px;border-radius:14px;background:#fff;align-self:flex-start;box-shadow:0 1px 4px #17203310}.dm-msg.mine{align-self:flex-end;background:#242834;color:#fff}
.dm-msg p{margin:0;font-size:14.5px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.dm-msg small{display:block;margin-top:3px;font-size:11px;opacity:.65}
.dm-empty{color:#727887;font-size:14px;text-align:center;margin:24px 0}
.dm-compose{display:flex;gap:6px;align-items:flex-end;background:#fff;border-radius:16px;padding:8px}.dm-compose textarea{flex:1;min-width:0;border:0;resize:none;font:inherit;font-size:15px;padding:6px;outline:none;background:none}.dm-compose .btn{min-height:40px;border-radius:12px;padding:0 14px;width:auto}
.dm-hint{margin:0;font-size:13px;color:#727887;line-height:1.4}.dm-hint.ok{color:#17663a}
.dm-answer{background:#fff;border-radius:16px;padding:12px;display:grid;gap:8px}.dm-answer p{margin:0;font-size:14px;color:#3b4150}
.dm-rooms{background:#fff;border-radius:16px;padding:10px 12px;margin:8px 0 12px}.dm-rooms h2{font-size:15px;margin:2px 0 6px}
.dm-room{display:flex;align-items:center;gap:10px;width:100%;border:0;background:none;padding:8px 0;text-align:left;font:inherit;color:inherit;cursor:pointer;border-top:1px solid #eef0f4}.dm-room:first-of-type{border-top:0}.dm-room-text{flex:1;min-width:0;display:grid;gap:2px}.dm-room-text b{font-size:14.5px}.dm-room-text small{font-size:13px;color:#727887;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dm-room em{font-style:normal;background:#bd2559;color:#fff;border-radius:999px;font-size:12px;font-weight:700;padding:2px 8px}

.pp2-chips .pp2-compare{margin-left:auto;padding:4px 0;min-height:32px}
