.profile-panel{display:grid;gap:18px;min-width:0;max-width:620px;margin:auto;padding:4px 2px 18px;color:#dce7d7}
.profile-intro{display:flex;align-items:center;gap:16px}.profile-intro h3{font-family:Georgia,serif;font-size:1.8rem;margin:5px 0;color:#f0dfb2}.profile-emblem{display:grid;place-items:center;flex:none;width:68px;height:68px;border:1px solid #d5be7655;border-radius:22px;background:radial-gradient(ellipse at 35% 20%,#c1dcbe55,#325f4b 55%,#173f32);color:#f1d79d;font-size:40px;box-shadow:inset 0 0 20px #dceeb911,0 5px 18px #021b1555}
.profile-panel form{display:grid;gap:16px}.profile-panel label{display:grid;gap:8px;font-size:.9rem;color:#c2d4bd}.profile-panel input{box-sizing:border-box;width:100%;min-width:0;min-height:48px;padding:12px 14px;border:1px solid #95b39255;border-radius:12px;background:#0c2d24;color:#f0edd9;font:inherit;font-size:16px}.profile-panel input:focus{outline:2px solid #d3c38a;outline-offset:2px}
.profile-panel button{min-height:46px;min-width:44px;white-space:normal;overflow-wrap:anywhere}.profile-button,.profile-room button{padding:10px 14px;border:1px solid #adc59e44;border-radius:12px;background:#466d4e33;color:#dbe8d4;font:inherit;cursor:pointer}.profile-button:hover,.profile-room button:hover{background:#6b915b44}.profile-tabs,.profile-actions{display:flex;flex-wrap:wrap;gap:10px}.profile-tabs>*{flex:1}.profile-actions>*{flex:1 1 150px}.profile-panel .primary-action{width:100%;margin:0;line-height:1.4}.profile-note{font-size:.88rem;line-height:1.6;color:#a9bfa8;margin:0;overflow-wrap:anywhere}.profile-email{font-size:.9rem;color:#d5ddc2;margin:-12px 0 0;overflow-wrap:anywhere}.profile-error{margin:0;line-height:1.5;color:#f2b7a2;font-size:.9rem;overflow-wrap:anywhere}.profile-error:empty{display:none}
.profile-section{border:1px solid #98b38b33;border-radius:14px;background:#1a402e66;padding:14px}.profile-section summary{min-height:28px;cursor:pointer;color:#dfd9b9;font-size:.95rem}.profile-section[open] summary{margin-bottom:14px}.profile-room-list{display:grid;gap:8px}.profile-room{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #bfd8a714;min-width:0}.profile-room:last-child{border-bottom:0}.profile-room b{font-weight:500}.profile-room small,.profile-device-list small{display:block;color:#a3b5a1;font-size:.78rem;line-height:1.5;margin-top:4px;overflow-wrap:anywhere}.profile-device-list p{padding-top:10px}.profile-device-list b{font-size:.88rem;font-weight:500}
.network-status{position:absolute;top:72px;left:50%;transform:translateX(-50%);z-index:12;max-width:calc(100% - 30px);padding:6px 12px;border:1px solid #a5c79c66;border-radius:30px;background:#123b2ff0;color:#d7e4c4;font-size:11px;pointer-events:none;text-align:center;box-sizing:border-box}.network-status[data-status="offline"],.network-status[data-status="reconnecting"]{border-color:#dab879;color:#f4d39b}.network-status[hidden]{display:none}
@media(max-width:420px){.profile-panel{gap:14px}.profile-intro{gap:12px}.profile-intro h3{font-size:1.5rem}.profile-emblem{width:54px;height:54px;border-radius:17px;font-size:32px}.profile-section{padding:12px}.profile-actions>*{flex-basis:130px}.network-status{top:64px}}
