
:root{font-family:system-ui,sans-serif;color:#24212a;background:#f5f6f8;font-size:16px;--red:#b31335;--line:#e5e5eb}*{box-sizing:border-box}body{margin:0;padding:24px 12px}.app{max-width:1000px;margin:auto;background:white;border:1px solid var(--line);border-radius:24px;overflow:hidden}header{background:var(--red);color:white;padding:24px 28px}header strong{font-size:28px}header p{font-size:14px;margin:8px 0 0}nav{display:flex;flex-wrap:wrap;border-bottom:1px solid var(--line)}button,input,select,textarea{font:inherit}button{min-height:44px;padding:10px 15px;border:1px solid #d8d8e0;border-radius:12px;background:white;color:#24212a;cursor:pointer}button:disabled{opacity:.55;cursor:default}nav button{flex:1;min-width:85px;border:0;border-radius:0;font-size:14px;padding:14px 8px}nav button[aria-pressed=true]{background:#fde9ed;color:#9d102e;box-shadow:inset 0 -3px var(--red);font-weight:700}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid var(--red);outline-offset:3px}main{padding:28px;min-height:380px}h2{font-size:24px;margin:0 0 16px}h3{font-size:20px;margin:12px 0 6px}p{line-height:1.6}.small{font-size:14px;color:#595460}.notice{margin:0 0 20px;padding:10px 14px;background:#faf1f3;border-radius:10px}.filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 24px;padding:18px;background:#f8f8fa;border:1px solid var(--line);border-radius:16px}label{font-size:14px;display:block}input,select,textarea{width:100%;font-size:16px;padding:10px;border:1px solid #d8d8e0;border-radius:10px;background:white;color:#24212a;margin-top:6px;min-height:44px}.ages{display:flex;gap:8px}.primary{background:var(--red);color:white;border-color:var(--red)}.primary:hover{background:#920f2b}.row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.row button{flex:1}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card{padding:18px;border:1px solid var(--line);border-radius:18px;background:white}.portrait{height:140px;border-radius:14px;background:#f8dce3;display:grid;place-items:center;font-size:42px;color:#9d102e;font-weight:600}.card:nth-child(even) .portrait{background:#eee9ed}.tag{display:inline-block;background:#f5edf0;border-radius:18px;font-size:14px;padding:5px 9px;margin:3px 3px 0 0}.single{max-width:460px;margin:auto}.bubble{padding:14px;border:1px solid var(--line);border-radius:14px;margin:12px 0}.request{background:#fde9ed;border-radius:14px;padding:18px;margin-top:16px}.map{height:400px;border-radius:16px;border:1px solid var(--line);background:#f5f6f8;margin-bottom:20px}.map .leaflet-container{font:inherit}.map .leaflet-popup-content{font-family:system-ui,sans-serif;font-size:14px}.map .leaflet-popup-content button{margin-top:10px}.profile-form{max-width:460px}.profile-form label{margin:14px 0}input[type=checkbox]{width:auto;min-height:auto}footer{padding:14px 28px;border-top:1px solid var(--line);font-size:12px;color:#595460}#status{min-height:24px;margin:0 0 12px}.empty{padding:28px;background:#f8f8fa;border-radius:16px}.count{font-size:14px;vertical-align:middle;border-radius:14px;background:#fde9ed;color:#9d102e;padding:3px 8px} @media(max-width:700px){body{padding:0}.app{border:0;border-radius:0}header{padding:20px}main{padding:20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters label:last-child{grid-column:1/-1}nav button{min-width:25%;flex:1 0 25%}.map{height:340px}}@media(max-width:420px){.grid{grid-template-columns:1fr}.filters{padding:12px;gap:10px}.card{padding:16px}}

.header-actions{display:flex;gap:14px;align-items:center}header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}header a{color:white;font-size:14px}.notice a{color:#9d102e}.error{padding:14px;background:#ffe8e8;color:#8f1325;border-radius:12px}.success{padding:14px;background:#e7f4eb;color:#1e5931;border-radius:12px}.portrait{width:100%;object-fit:cover}.location{margin:6px 0}.profile-form{max-width:560px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.check{display:flex;gap:10px;align-items:flex-start}.profile-photo{width:150px;height:150px;object-fit:cover;border-radius:14px}.messages{max-height:450px;overflow:auto}.bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.bubble.sent{background:#fde9ed;margin-left:24px}.modal{position:fixed;inset:0;background:#0008;display:grid;place-items:center;padding:20px;z-index:2000}.modal .card{max-width:500px;width:100%}.small-actions button{font-size:14px;padding:6px 10px}.tag{overflow-wrap:anywhere}details{margin:18px 0;font-size:14px}summary{cursor:pointer;font-weight:600}.map button{font-size:14px}button[aria-pressed=true]{color:#9d102e;background:#fde9ed}.empty h3{margin-top:0}nav{overflow-wrap:anywhere}
