.conference-page{margin:0;background:#fff;color:#202b3b;font-family:NanumSquare,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;-webkit-text-size-adjust:100%}
.conference-shell{max-width:800px;margin:0 auto;padding:20px 22px max(16px,env(safe-area-inset-bottom))}
.conference-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px;min-height:44px;font-size:14px;color:#687586}
.conference-top a{min-height:44px;display:flex;align-items:center;text-decoration:none;color:#687586}.conference-top span{font-size:12px;letter-spacing:.12em;color:#0085d5}
.conference{--c-blue:#007fca;--c-text:#202b3b;--c-muted:#667589;--c-line:#dce9f2;font:400 16px/1.55 NanumSquare,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--c-text);background:white;min-width:0;position:relative}
.conference *{box-sizing:border-box}.conference [hidden]{display:none!important}
.conference h2,.conference h3,.conference p{color:var(--c-text)}
.conference h2{font-size:26px;font-weight:700;line-height:1.3;margin:0}.conference h3{font-size:20px;margin:0 0 18px;line-height:1.45}
.conference button,.conference input,.conference textarea{font:inherit;letter-spacing:0}
.conference button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;width:auto;margin:0;padding:9px 15px;border:1px solid var(--c-line);border-radius:10px;background:white;color:var(--c-text);font-size:14px;font-weight:700;cursor:pointer}
.conference button:disabled{opacity:.55;cursor:default}.conference button:hover:not(:disabled){background:#f2f8fc}.conference button.primary{background:var(--c-blue);color:white;border-color:var(--c-blue)}.conference button.primary:hover:not(:disabled){background:#006aab}
.conference button.danger{color:#bc3444;border-color:#e9b9c0}.conference :focus-visible{outline:2px solid var(--c-blue);outline-offset:3px}
.conference .cf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.conference .cf-actions{display:flex;gap:8px;flex-wrap:wrap}.conference .cf-status{font-size:14px;color:var(--c-muted);min-height:22px;margin:10px 0;overflow-wrap:anywhere}
.conference .cf-rooms{display:grid;gap:12px}.conference button.cf-room{display:flex;justify-content:space-between;text-align:left;padding:19px 18px;width:100%;min-height:82px;border-color:#b9dff5;gap:14px;font-weight:400}
.conference .cf-room-name{font-size:17px;font-weight:700;overflow-wrap:anywhere;min-width:0}.conference .cf-room-lock{white-space:nowrap;color:var(--c-muted);font-size:13px;font-weight:400}
.conference .cf-empty{padding:45px 18px;text-align:center;color:var(--c-muted);border:1px dashed var(--c-line);border-radius:12px;line-height:1.8;font-size:15px}
.conference dialog{color:var(--c-text);background:#fff;border:1px solid var(--c-line);border-radius:16px;padding:26px;width:calc(100% - 32px);max-width:420px;max-height:90dvh;overflow:auto;box-shadow:0 20px 80px #152e4830}
.conference dialog::backdrop{background:#16334e66}.conference dialog label{display:block;margin:16px 0 7px;color:var(--c-text);font-size:14px}
.conference input{display:block;width:100%;min-height:48px;padding:11px 12px;margin:0;border:1px solid #bccdda;border-radius:9px;background:#fff;color:var(--c-text)}
.conference .cf-hint{font-size:13px;color:var(--c-muted);margin:8px 0 0}.conference .cf-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.conference .cf-dialog-error{color:#b3293b;font-size:14px;min-height:20px;margin:12px 0 0}
.conference .cf-chat{display:flex;flex-direction:column;height:calc(100dvh - 170px);min-height:360px;max-height:900px;border:1px solid var(--c-line);border-radius:14px;overflow:hidden;background:#fff}
.conference .cf-chat-head{display:flex;align-items:center;gap:12px;padding:12px 15px;border-bottom:1px solid var(--c-line);flex-shrink:0}
.conference .cf-chat-head h3{margin:0;font-size:17px;overflow-wrap:anywhere}.conference .cf-chat-title{min-width:0;flex:1}.conference .cf-identity{font-size:13px;color:var(--c-muted);margin:2px 0 0}.conference .cf-chat-head button{padding:8px 10px;font-size:13px;flex-shrink:0}
.conference .cf-scroll{flex:1;overflow:auto;min-height:0;padding:18px 17px;overscroll-behavior:contain;background:#f7fafc;scrollbar-gutter:stable}
.conference .cf-history-wrap{text-align:center;margin-bottom:14px}.conference .cf-history-wrap button{font-weight:400;background:transparent;color:var(--c-muted)}
.conference .cf-messages{display:flex;flex-direction:column;gap:18px}.conference .cf-message{display:flex;flex-direction:column;align-items:flex-start;max-width:86%;align-self:flex-start;min-width:0}
.conference .cf-message.mine{align-self:flex-end;align-items:flex-end}.conference .cf-message-meta{display:flex;gap:7px;align-items:center;margin-bottom:5px;font-size:13px;color:var(--c-muted);flex-wrap:wrap;overflow-wrap:anywhere}
.conference .cf-message-meta strong{font-weight:700;color:#47586e}.conference .cf-teacher{color:#0076bf;font-size:12px;border:1px solid #aad7f2;padding:0 5px;border-radius:4px}.conference time{font-size:12px}
.conference .cf-bubble{background:#fff;border:1px solid #e0e8ef;border-radius:3px 13px 13px 13px;padding:10px 13px;max-width:100%;min-width:25px;overflow:hidden}
.conference .mine .cf-bubble{background:#e8f5fe;border-color:#c0e4fc;border-radius:13px 3px 13px 13px}.conference .cf-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:16px;line-height:1.6}
.conference button.cf-image{display:block;padding:0;margin:7px 0 0;max-width:100%;min-width:120px;min-height:70px;border:0;border-radius:7px;overflow:hidden;background:#edf2f6;color:#526a80;font-weight:400}
.conference .cf-image img{display:block;max-width:100%;width:auto;max-height:320px;object-fit:contain}.conference .cf-compose{border-top:1px solid var(--c-line);padding:12px 14px;flex-shrink:0;background:#fff}
.conference .cf-compose-row{display:flex;align-items:flex-end;gap:9px}.conference textarea{flex:1;min-width:0;resize:none;max-height:180px;min-height:46px;padding:11px 12px;border:1px solid #c7d7e4;border-radius:10px;background:#fff;color:var(--c-text);line-height:1.45}
.conference .cf-attach{padding:8px 11px!important}.conference .cf-attach svg{width:20px;height:20px}.conference .cf-compose-hint{font-size:12px;color:var(--c-muted);margin:6px 0 0}.conference .cf-send-error{color:#b3293b;font-size:14px;margin:8px 0 0}
.conference .cf-pending{display:flex;align-items:center;gap:12px;padding-bottom:12px}.conference .cf-pending img{max-height:90px;max-width:140px;object-fit:contain;border:1px solid var(--c-line);border-radius:7px}.conference .cf-pending span{font-size:13px;color:var(--c-muted)}
.conference .cf-pending span{min-width:0;overflow-wrap:anywhere;flex:1}.conference .cf-pending button{flex-shrink:0}
.conference button.cf-download{display:flex;align-items:flex-start;flex-direction:column;gap:5px;text-align:left;width:100%;max-width:310px;min-width:150px;margin:6px 0 0;padding:12px 14px;background:#fff;border:1px solid #c7dbe9;color:var(--c-text)}
.conference .cf-download strong{font-weight:700;font-size:14px;overflow-wrap:anywhere;max-width:100%}.conference .cf-download span{font-size:13px;font-weight:400;color:var(--c-blue)}
.conference .cf-new{align-self:center;margin-top:-50px;margin-bottom:6px;z-index:1;box-shadow:0 3px 10px #20364a22;background:#fff;min-height:38px}
.conference dialog.cf-lightbox{max-width:min(1200px,96vw);padding:12px;width:max-content}.conference .cf-lightbox img{display:block;max-width:100%;max-height:78dvh;object-fit:contain}.conference .cf-lightbox button{display:flex;margin:0 0 12px auto}
#admin-conference{margin:28px 0;padding:20px;border-radius:14px}#admin-conference .cf-chat{height:650px;max-height:80dvh;min-height:380px}#admin-conference .cf-heading h2{font-size:23px}
@media(max-width:520px){.conference-shell{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.conference-top{margin:0 5px 14px}.conference .cf-heading{margin-bottom:14px}.conference h2{font-size:25px}.conference .cf-chat{height:calc(100dvh - 142px);border-radius:11px;min-height:340px}.conference .cf-chat-head{padding:10px}.conference .cf-scroll{padding:15px 11px}.conference .cf-message{max-width:92%}.conference .cf-compose{padding:10px}.conference .cf-compose-row{gap:7px}.conference .cf-compose-row button{padding:9px 12px}.conference .cf-compose-hint{display:none}#admin-conference{margin:22px -12px;padding:15px 10px}}
@media(prefers-reduced-motion:reduce){.conference *{scroll-behavior:auto!important}}
