.pf-feed,.pf-order,.pf-chat{min-width:0}
.pf-filters{margin:0 0 14px;border-bottom:1px solid var(--line);padding:0 0 10px}
.pf-filters>summary{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px}
.pf-filters>summary>small{background:#e9ebef;color:#353c48;border-radius:10px;padding:2px 7px}
.pf-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;margin-top:14px}
.pf-filter-grid .field{min-width:0;font-size:12px;margin-bottom:14px}
.pf-filter-grid input,.pf-filter-grid select{min-width:0}
.pf-sort{grid-column:1/-1}
.pf-filters .check{font-size:12px;min-height:36px;margin:4px 0}
.pf-filters .check input{flex:none}
.pf-filters .actions{flex-wrap:wrap;gap:8px}
.pf-filters .actions .btn{font-size:12px;white-space:normal}
.pf-result-count{color:var(--muted);font-size:12px;margin:0 0 14px}
.pf-feed .o-thumbnails{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.pf-feed .o-thumbnails:has(.o-thumbnail:only-child){grid-template-columns:1fr}
.pf-feed .o-thumbnails:has(.o-thumbnail:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.pf-feed .o-thumbnail{width:100%;height:112px;border-radius:9px}
.pf-feed .o-thumbnail:only-child{height:160px}
.pf-feed .o-number{display:none}
.pf-feed .o-card{box-shadow:0 3px 15px #17203307}
.pf-order{max-width:680px;margin-inline:auto}
.pf-order .heading h1{font-size:24px;line-height:1.3}
.pf-order-detail{box-shadow:0 3px 18px #17203307}
.pf-order-detail>p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.pf-customer{font-size:12px;color:var(--muted);margin:12px 0}
.pf-order .g-read{margin-top:16px}
.pf-order .g-map{height:210px;min-height:210px}
.pf-order .o-detail-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pf-order .o-detail-photos .o-photo-button{width:100%;height:120px}
.pf-order .o-detail-photos:has(.o-photo-button:only-child){grid-template-columns:1fr}
.pf-order .o-detail-photos .o-photo-button:only-child{height:180px}
.pf-order .o-detail-photos:has(.o-photo-button:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
.pf-order-map>summary{display:flex;align-items:center;gap:8px;font-size:13px;min-height:44px}
.pf-order-map>h3{font-size:12px;font-weight:500;line-height:1.5;color:var(--muted)}
.pf-order .pf-reply{margin-top:14px;box-shadow:0 3px 18px #17203307}
.pf-reply h2{font-size:18px;margin:0 0 12px}
.pf-reply .hint{font-size:12px;line-height:1.6;color:var(--muted)}
.pf-reply textarea{min-height:120px}
.pf-reply .f-fee{padding:12px 0;border-radius:0;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:transparent}
.pf-response-sent{padding:18px;background:white;border-radius:16px;box-shadow:0 3px 18px #17203307;margin:14px 0}
.pf-sent-title{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#277257}
.pf-response-sent p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.pf-response-sent .btn{white-space:normal}
.pf-chat{max-width:680px;margin-inline:auto}
.pf-chat-surface{padding:16px;box-shadow:0 3px 18px #17203307}
.pf-chat-title{font-size:15px;line-height:1.4;overflow-wrap:anywhere;margin:0 0 8px}
.pf-chat .thread{height:min(47dvh,440px);min-height:210px;padding:14px 0;border:0;background:transparent}
.pf-chat .bubble{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.pf-chat .composer{align-items:end;margin-top:12px}
.pf-chat .composer textarea{min-height:48px;max-height:140px;font-size:16px}
@media(max-width:420px){.pf-filter-grid{gap:0 8px}.pf-order .heading h1{font-size:22px}.pf-order .o-detail-photos .o-photo-button{height:95px}.pf-filters .actions{display:grid;grid-template-columns:1fr}.pf-response-sent{padding:16px}.pf-feed .o-thumbnail{height:94px}}
body.gm-map-open .pf-filters{flex:none;margin:0 0 5px;padding:0}
body.gm-map-open .pf-result-count{flex:none;margin:0 0 5px;font-size:11px}
@media(max-width:620px){body.gm-map-open:has(.pf-filters[open]) #main{display:block;overflow:auto}body.gm-map-open:has(.pf-filters[open]) .gm-workspace{min-height:520px}body.gm-map-open:has(.pf-filters[open]) .gm-map{height:250px}}
.pf-reply-templates{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}.pf-reply-templates .btn{min-height:36px;padding:7px 11px;font-size:13px;white-space:normal}.pf-reply-default{line-height:1.5;overflow-wrap:anywhere}.pf-reply-default[hidden]{display:none}.pf-reply-default q{quotes:'«' '»'}
.pf-reply-templates .btn{border:1px solid var(--line,#e2e5e9);border-radius:999px;background:#fff}
