body { max-width: 860px; margin: 0 auto; padding: 0 16px 40px; }
.top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 6px; flex-wrap: wrap; }
h1 { font-size: 1.3rem; margin: 0; }
h2 { font-size: 1.1rem; margin: 0 0 .7rem; display: flex; align-items: center; gap: .6rem; }
a { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 14px 0; }
.num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%;
       background: var(--accent); color: var(--accent-fg); font-size: .95rem; }
label { display: block; margin: .4rem 0 .2rem; }
input[type=password], select { width: 100%; }
fieldset { border: 1px solid var(--line); border-radius: 10px; margin: 1rem 0; padding: .6rem .8rem; }
legend { padding: 0 .4rem; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: .5rem 0; }
.row label { margin: 0; }
.row select { width: auto; }
button.big { min-height: 56px; font-size: 1.1rem; padding: .6rem 1.2rem; }
button.danger { border-color: var(--bad); color: var(--bad); margin-top: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .9rem; min-height: 48px;
        border: 1px solid var(--line); border-radius: 999px; background: var(--bg); cursor: pointer; }
.chip input { width: 1.2rem; height: 1.2rem; }
.chip.static { cursor: default; }
.invite { display: flex; gap: 18px; flex-wrap: wrap; align-items: flex-start; }
#qr { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; }
.invite-side { flex: 1 1 260px; min-width: 0; }
#linkText { display: block; word-break: break-all; background: var(--bg); padding: .5rem; border-radius: 8px;
            border: 1px solid var(--line); user-select: all; }
.meter { height: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-top: .6rem; }
.meter > div { height: 100%; width: 0; background: var(--accent); }
table { width: 100%; border-collapse: collapse; margin-top: .6rem; }
td, th { padding: .35rem .4rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
#log { max-height: 240px; overflow: auto; margin-top: .6rem; }
#log div { padding: .3rem 0; border-bottom: 1px solid var(--line); }
details { margin-top: 1rem; }
summary { cursor: pointer; padding: .4rem 0; }
.single-out { flex: 1 1 100%; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.qr-small { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 4px; }
.talk { height: 22px; background: var(--bg); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; margin-top: .5rem; }
.talk > div { height: 100%; width: 0; background: #2e9e5b; transition: width .08s linear, background-color .2s; }
.talk.warn > div { background: #e08a00; }
.talk.stop > div { background: #c0392b; }
.talkmsg { font-size: 1.6rem; font-weight: 700; text-align: center; margin: .5rem 0; padding: .7rem .9rem; border-radius: 12px;
           min-height: 1.6em; background: #e3f4ea; color: #14633a; }
.talkmsg.warn { background: #ffe9c2; color: #7a4b00; }
.talkmsg.stop { background: #c0392b; color: #fff; }
.guestline { border-left: 6px solid #2e9e5b; padding: .5rem .8rem; margin: .5rem 0; }
.guestline .who { font-size: .85rem; color: var(--muted); }
.guestline .txt { font-size: 1.7rem; line-height: 1.3; }
.problem { background: #c0392b; color: #fff; font-weight: 700; padding: .6rem .8rem; border-radius: 10px; margin: .5rem 0; }
.chk { border-left: 5px solid #e08a00; padding: .35rem .7rem; margin: .5rem 0; }
.chk.ok { border-left-color: #2e9e5b; }
.chk .src { font-weight: 600; }
.chk .row { display: flex; gap: .6rem; flex-wrap: wrap; align-items: baseline; margin: .15rem 0; }
.chk .tr { flex: 1 1 18rem; }
.chk .st { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.chk .st.ok { color: #14633a; font-weight: 600; }

