@charset "UTF-8";
:root {
  --studio-font: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --studio-paper: light-dark(#f5f4ef, #191e21);
  --studio-surface: light-dark(#fffefa, #222a2e);
  --studio-ink: light-dark(#293235, #e2e8e4);
  --studio-muted: light-dark(#768071, #a4afa2);
  --studio-line: light-dark(#e0e4d8, #364138);
  --studio-lime: #dced8c;
  --studio-header-height: 66px;
  --caption-panel-height: 68px;
  --message-text-size: 14px;
  --clr-body-background: var(--studio-paper);
  --clr-bright: var(--studio-surface);
  --clr-dark: var(--studio-ink);
  --clr-text-primary: var(--studio-ink);
  --clr-text-secondary: var(--studio-muted);
  --clr-text-tertiary: light-dark(#939b8d, #8b9787);
  --clr-text-placeholder: light-dark(#90988b, #8b9787);
  --clr-primary-accent: light-dark(#405b64, #b8cfb2);
  --clr-primary-accent-hover: light-dark(#233b44, #dced8c);
  --clr-primary-action: #293235;
  --clr-primary-action-hover: #45534f;
  --clr-primary-accent-focus-shadow: #9bad7040;
  --clr-primary-light-blue: var(--studio-ink);
  --clr-secondary-accent: light-dark(#647c42, #c3db94);
  --clr-border-light: var(--studio-line);
  --clr-border-muted: var(--studio-line);
  --clr-background-off-white: var(--studio-surface);
  --clr-background-light-gray: var(--studio-paper);
  --clr-background-extra-light-gray: light-dark(#f0f2e9, #2c3730);
  --clr-background-blue-gray-50: light-dark(#f1f3eb, #202925);
  --clr-background-blue-gray-75: light-dark(#edf0e2, #2b3929);
  --clr-background-blue-gray-100: light-dark(#e6edcf, #38462d);
  --clr-background-blue-gray-300: var(--studio-surface);
  --clr-primary-wash: light-dark(#eaf0db, #34432e);
  --clr-indigo-50: light-dark(#edf0e5, #2a392b);
  --clr-cyan-50: var(--studio-paper);
  --clr-header-stripe-bg: var(--studio-paper);
  --clr-button-primary-text: #fffefa;
  --clr-input-text: var(--studio-ink);
  --clr-input-placeholder-text: var(--clr-text-placeholder);
  --clr-bubble-left-bg: var(--studio-surface);
  --clr-bubble-right-bg: light-dark(#e7eecf, #34452f);
  --clr-bubble-left-bg-flash: light-dark(#e2e8d5, #42543c);
  --clr-bubble-right-bg-flash: light-dark(#d4e2aa, #526945);
  --clr-bubble-text: var(--studio-ink);
  --clr-bubble-timestamp-text: light-dark(#838c7b, #aeb9a2);
  --clr-bubble-author-text: light-dark(#6d795f, #bdc9af);
  --clr-bubble-meta-date-bg: light-dark(#e9edde, #2b362b);
  --clr-reply-quote-border: light-dark(#849d58, #bdcf8a);
  --clr-menu-item-hover-bg: light-dark(#edf1e3, #33412e);
  --clr-shadow-bubble-drop: transparent;
  --wallpaper-url: none;
}
* { font-family: var(--studio-font); }
html, body { font-size: 14px; background: var(--studio-paper); box-shadow: none; }
body { color: var(--studio-ink); }
a:hover, a:focus { text-decoration: none; }
a:focus-visible, button:focus-visible, [data-studio-keyboard]:focus-visible {
  outline: 2px solid light-dark(#738947, #dced8c); outline-offset: 3px;
}
#studio-chat-header { height: var(--studio-header-height); display: flex; align-items: center; justify-content: space-between; gap: 22px; max-width: 1400px; margin: auto; padding: 0 32px; }
.studio-chat-brand { display: flex; align-items: center; gap: 11px; color: var(--studio-ink); flex: none; }
.studio-chat-brand:hover { color: var(--studio-ink); }
.studio-chat-mark { display: grid; place-items: center; width: 34px; height: 34px; background: #293235; color: #f9fbef; font: 700 29px/1 Arial, sans-serif; border-radius: 3px; letter-spacing: -2px; padding-right: 2px; }
.studio-chat-mark span { color: var(--studio-lime); font-family: Arial, sans-serif; }
.studio-chat-brand strong { font-size: 14px; font-weight: 650; letter-spacing: .6px; }
.studio-chat-brand small { display: block; margin-top: 4px; font: 8px "Courier New", monospace; letter-spacing: 1.5px; color: var(--studio-muted); }
.studio-header-note { font-size: 10px; color: var(--studio-muted); margin-left: auto; }
.studio-return { display: flex; align-items: center; gap: 17px; padding: 9px 12px; border: 1px solid var(--studio-line); border-radius: 4px; color: var(--studio-ink); font-size: 11px; }
.studio-return span { font-size: 16px; }
#mountPoint { height: calc(var(--studio-vh, 100dvh) - var(--studio-header-height)); padding: 14px 30px 26px; }
#app-container { max-width: 1340px; border: 1px solid var(--studio-line); border-radius: 9px; box-shadow: 0 8px 32px #26382a06; background: var(--studio-surface); }
#sidepanel { width: 330px; min-width: 270px; flex-shrink: 0; border-right: 1px solid var(--studio-line); min-height: 0; background: var(--studio-surface); }
#topic-view, #info-view { min-width: 0; min-height: 0; }
#info-view { border-left: 1px solid var(--studio-line); min-width: 260px; }
.caption-panel { padding: 12px 17px; box-shadow: none; border-bottom: 1px solid var(--studio-line); }
#side-caption-panel { color: var(--studio-ink); background: var(--studio-surface); }
#side-caption-panel a { color: var(--studio-muted); padding-left: 0; }
#side-caption-panel a:hover { color: var(--studio-ink); }
#sidepanel-title { font-size: 16px; font-weight: 650; margin-left: 10px; }
#side-caption-panel:not(:has(#self-avatar)) #sidepanel-title { margin-left: 0; }
#side-caption-panel > div:last-child:not(#sidepanel-title) { display: flex; align-items: center; gap: 7px; }
#side-caption-panel > div:last-child:not(#sidepanel-title) a { min-width: 33px; min-height: 33px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; }
#side-caption-panel > div:last-child:not(#sidepanel-title) a:hover { background: var(--clr-primary-wash); }
#self-avatar { width: 37px; min-width: 37px; height: 37px; font-size: 21px; }
#topic-caption-panel { background: var(--studio-surface); }
#topic-caption-panel .panel-title { color: var(--studio-ink); font-size: 15px; font-weight: 650; }
#topic-caption-panel .avatar-box { width: 37px; min-width: 37px; height: 37px; margin-right: 10px; }
#topic-users .avatar-box { width: 27px; min-width: 27px; height: 27px; min-height: 27px; }
input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], textarea {
  border: 1px solid var(--studio-line); border-radius: 6px; box-shadow: none; background: var(--studio-surface); padding: 10px 12px; height: 43px; font-size: 13px; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus { border-color: #96a77a; box-shadow: 0 0 0 3px #9bad701c; }
input::placeholder, textarea::placeholder { font-weight: 400; font-size: 12px; }
input.with-icon-right { padding-right: 38px; }
.group-focus { position: relative; }
.group-focus > span { position: relative; right: 4px; }
.group-focus > span > .material-icons { font-size: 20px; vertical-align: middle; }
button { border-radius: 5px; box-shadow: none; font-size: 12px; min-height: 35px; height: auto; line-height: 1.5; padding: 9px 16px; text-transform: none; }
button.round { min-width: 42px; width: 42px; height: 42px; padding: 0; }
.dialog-buttons { gap: 9px; padding: 14px 0; }
.dialog-buttons button { margin: 0; }
.panel-form-row, .panel-form-column { line-height: 1.8; }
.panel-form-column { padding: 14px; gap: 6px; }
.panel-form-row { padding: 8px 14px; }
.panel-form-column > .panel-form-row { padding: 0; }
#settings-form { padding: 10px 18px; overflow-y: auto; }
.info-box { margin: 10px 13px 0; border-radius: 6px; padding: 9px 10px; align-items: center; flex: none; font-size: 11px; line-height: 1.7; }
.info-box.error { color: light-dark(#9f5748, #ffc0ac); background: light-dark(#fbefea, #47352e); border-color: light-dark(#f0d8cf, #715042); }
.info-box .icon .material-icons { font-size: 17px; }
.info-box.error .icon .material-icons { color: light-dark(#b77861, #efb49a); }
.info-box .cancel { margin-left: 8px; }
.info-box .cancel .material-icons { font-size: 17px; }
.scrollable-panel { margin-top: 8px; min-height: 0; }
.contact-box { padding: 0 10px 10px; }
.contact-box > li, .contact-box > li:last-child { border-radius: 7px; background: none; margin-bottom: 4px; padding: 12px 10px; min-height: 76px; border: 1px solid transparent; }
.contact-box > li:hover { background: var(--clr-background-blue-gray-50); }
.contact-box > li.selected { background: var(--clr-background-blue-gray-100); border-color: light-dark(#d8e2bf, #506344); }
.contact-box > li.tpinned { border-right: 2px solid #99af6d; }
.contact-box .contact-title { font-size: 13px; font-weight: 600; line-height: 1.7; }
.contact-box .contact-comment { font-size: 11px; line-height: 1.7; padding-top: 2px; color: var(--studio-muted); }
.contact-box .avatar-box { margin-right: 11px; }
.contact-box.small { padding: 0 7px; }
.contact-box.small > li { min-height: 51px; padding: 7px 8px; }
.contact-box .contact-title.deleted { opacity: .65; }
.unread-badge { background: var(--clr-secondary-accent); }
#messages-panel { padding: 22px 25px 8px; }
#messages-container { background-color: var(--clr-background-blue-gray-50); }
body[data-studio-wallpaper="pattern"] #messages-container::before { opacity: .14; }
.chat-box { padding-bottom: 20px; margin: 0; }
.chat-box.group { margin-left: 0; }
.chat-box li.single { margin-bottom: 15px; }
.chat-box .bubble { border: 1px solid light-dark(#e0e6d9, #44513c); border-radius: 11px; filter: none; padding: 10px 7px; max-width: min(560px, 85%); box-shadow: 0 1px 2px #24302904; }
.chat-box .bubble.tip::before { display: none; }
.chat-box .left .bubble.tip { border-bottom-left-radius: 3px; }
.chat-box .right .bubble.tip { border-bottom-right-radius: 3px; }
.chat-box .left .bubble { margin-right: 12px; }
.chat-box .right .bubble { margin-left: 20px; }
.bubble div.message-content { line-height: 1.75; padding: 0 8px; }
.chat-box .author { font-size: 11px; font-weight: 600; margin-bottom: 4px; }
.chat-box .timestamp { font-size: 9px; top: 5px; }
.chat-box .meta .bubble { border: 0; box-shadow: none; padding: 5px 13px; font-size: 10px; min-width: auto; border-radius: 20px; }
.chat-box .avatar-box { width: 34px; min-width: 34px; height: 34px; min-height: 34px; font-size: 18px; margin-bottom: 1px; margin-right: 10px; }
.reply-quote { border-radius: 5px; line-height: 1.6; }
#send-message-wrapper { background: var(--studio-surface); box-shadow: none; border-top: 1px solid var(--studio-line); }
#send-message-panel { background: transparent; padding: 13px 16px; gap: 8px; min-height: 79px; }
#send-message-panel > a { flex: none; display: grid; place-items: center; min-width: 33px; height: 38px; border-radius: 6px; }
#send-message-panel > a:hover { background: var(--clr-primary-wash); }
#send-message-panel > a:last-of-type { background: #293235; color: #e9f0d5; min-width: 41px; height: 41px; border-radius: 7px; }
#send-message-panel > a:last-of-type:hover { background: #44553b; }
#send-message-input { height: 44px; min-height: 44px; max-height: 132px; line-height: 1.6; border-radius: 7px; padding: 10px 13px; background: var(--studio-paper); }
#reply-quote-preview { margin: 10px 16px 0; }
.menu, .context-menu, .alert-box, .forward-dialog { border-radius: 9px; }
.identity-card { background: var(--studio-surface); color: var(--studio-ink); border: 1px solid var(--studio-line); }
.identity-avatar { min-width: 0; min-height: 0; margin: 0; line-height: 1; box-shadow: none; }
.identity-close { min-width: 0; min-height: 0; width: 32px; height: 32px; margin: 0; padding: 4px; line-height: 1; font-size: 25px; }
.lettertile > div[class*="lt-bg-"] { color: #3d493a; }
button.round.small { min-width: 28px; min-height: 28px; }
.media-upload-card { background: var(--studio-surface); color: var(--studio-ink); border-color: var(--studio-line); }
.media-upload-track > span { background: #72844f; }
.media-upload-title > span, .transfer-percent { color: var(--clr-secondary-accent); }

/* The existing app still owns authentication, navigation, and every message. */
body[data-studio-auth="true"] #sidepanel { width: 43%; max-width: 520px; padding: 24px 43px 30px; overflow-y: auto; }
body[data-studio-auth="true"] #side-caption-panel { border-bottom: 0; padding: 0; min-height: 36px; height: 36px; overflow: visible; }
body[data-studio-auth="true"] #sidepanel-title { color: var(--studio-muted); font-size: 12px; font-weight: 400; letter-spacing: 1px; }
body[data-studio-auth="true"] .info-box { margin: 0 0 20px; }
.studio-auth-intro { margin: 37px 0 27px; flex: none; }
.studio-auth-intro .studio-eyebrow { font: 9px "Courier New", monospace; letter-spacing: 1px; color: var(--studio-muted); }
.studio-auth-intro h1 { color: var(--studio-ink); font-size: 28px; letter-spacing: -1px; font-weight: 750; margin: 14px 0 10px; }
.studio-auth-intro p { color: var(--studio-muted); font-size: 11px; line-height: 1.9; }
#login-form { padding: 0; }
.studio-field-label { display: block; margin: 0 0 7px; font-size: 11px; font-weight: 600; color: var(--studio-ink); }
#login-form input { margin: 0 0 20px; height: 46px; }
#login-form .group-focus { display: flex; align-items: start; }
#login-form .group-focus input { margin-right: 0; width: 100%; padding-right: 43px; }
#login-form .group-focus > span { position: absolute; right: 12px; top: 12px; }
#login-form .panel-form-row { padding: 0; gap: 0; font-size: 11px; }
#login-form .panel-form-row > a { margin-left: auto; font-size: 10px; }
#login-form .dialog-buttons { padding: 27px 0 0; }
#login-form .dialog-buttons button { width: 100%; min-height: 46px; font-size: 13px; letter-spacing: 3px; }
.studio-auth-links { text-align: center; font-size: 10px; color: var(--studio-muted); padding: 24px 0 0; flex: none; }
.studio-auth-links a { font-size: 11px; font-weight: 600; margin-left: 9px; color: var(--studio-ink); }
body[data-studio-auth="true"] #sidepanel > .panel-form-column { padding: 0; }
body[data-studio-auth="true"] #sidepanel > .panel-form-column > .panel-form-row { padding: 5px 0; gap: 12px; }
body[data-studio-auth="true"] .avatar-upload { width: 74px; height: 86px; font-size: 34px; flex: none; }
body[data-studio-auth="true"] .avatar-upload .avatar-box { width: 70px; height: 70px; }
body[data-studio-auth="true"] .avatar-upload .blank,
body[data-studio-auth="true"] .avatar-upload img.preview { width: 70px; height: 70px; line-height: 70px; font-size: 9px; }
body[data-studio-auth="true"] .avatar-upload .inputfile + label.round { width: 29px; height: 29px; min-width: 29px; line-height: 29px; }
body[data-studio-auth="true"] .avatar-upload .inputfile + label.round .material-icons { font-size: 19px; }
body[data-studio-auth="true"] .avatar-upload .avatar-box > .material-icons { font-size: 44px; line-height: 68px; }
body[data-studio-auth="true"] .avatar-upload .avatar-uploader { font-size: 9px; }
body[data-studio-auth="true"] .umn { flex: 1; min-width: 0; }
body[data-studio-auth="true"] .group-focus input { padding-right: 34px; }
body[data-studio-auth="true"] .panel-form-column > .dialog-buttons button { width: 100%; min-height: 43px; }
body[data-studio-auth="true"] .panel-form-column input { margin-bottom: 8px; }
body[data-studio-auth="true"] #settings-form { padding: 0; }

#dummy-view { position: relative; overflow: hidden; background: var(--studio-paper); }
#dummy-view > div:not(.studio-welcome) { display: none; }
.studio-welcome { width: min(440px, 82%); display: flex; flex-direction: column; align-items: flex-start; position: relative; padding: 30px 0; }
.studio-welcome .studio-eyebrow { font: 9px "Courier New", monospace; letter-spacing: 1px; color: var(--studio-muted); }
.studio-welcome-art { position: relative; width: 100%; height: 240px; margin-top: 28px; border: 1px solid var(--studio-line); background-image: linear-gradient(var(--studio-line) 1px, transparent 1px), linear-gradient(90deg, var(--studio-line) 1px, transparent 1px); background-size: 35px 35px; overflow: visible; }
.studio-welcome-number { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-12deg); color: var(--studio-ink); font: italic 800 245px/.85 Arial, sans-serif; text-shadow: 5px 5px 0 light-dark(#dced8c, #63754a); }
.studio-welcome-orbit { position: absolute; top: 63px; left: 50%; width: 270px; height: 117px; transform: translateX(-50%) rotate(-30deg); border: 1px solid light-dark(#99a781, #748762); border-radius: 50%; }
.studio-welcome-sticker { position: absolute; right: -12px; bottom: 23px; transform: rotate(8deg); padding: 10px 13px; background: var(--studio-lime); border: 1px solid #293235; box-shadow: 3px 3px 0 #293235; font: 9px "Courier New", monospace; color: #293235; letter-spacing: .6px; }
.studio-welcome-art:after { content: "＋"; position: absolute; left: -11px; top: 12px; color: #e86743; font: 37px/1 Arial,sans-serif; }
.studio-welcome h2 { font-size: 29px; color: var(--studio-ink); margin: 27px 0 13px; font-weight: 750; letter-spacing: -.7px; line-height: 1.6; }
.studio-welcome > p { font-size: 12px; color: var(--studio-muted); line-height: 2; }
.studio-welcome-footer { width: 100%; border-top: 1px solid var(--studio-line); margin-top: 25px; padding-top: 14px; display: flex; justify-content: space-between; gap: 12px; color: var(--studio-muted); font-size: 9px; }
.studio-welcome-footer span:last-child { font: 8px "Courier New", monospace; align-self: center; }

@media (min-width: 1440px) { #app-container { max-width: 1340px; } }
@media (max-width: 1100px) and (min-width: 641px) {
  #mountPoint { padding: 10px 20px 20px; }
  #studio-chat-header { padding: 0 22px; }
  #sidepanel { width: 295px; min-width: 255px; }
  body[data-studio-auth="true"] #sidepanel { width: 46%; padding: 23px 29px; min-width: 300px; }
  .studio-welcome { width: 77%; }
  .studio-welcome-art { height: 205px; }
  .studio-welcome-number { font-size: 215px; }
  .studio-welcome h2 { font-size: 24px; }
  .studio-welcome-orbit { width: 230px; top: 43px; }
  .studio-welcome-footer span:last-child { display: none; }
}
@media (max-width: 640px) {
  :root { --studio-header-height: 58px; --caption-panel-height: 62px; }
  #studio-chat-header { padding: 0 15px; gap: 15px; border-bottom: 1px solid var(--studio-line); }
  .studio-chat-brand { gap: 8px; }
  .studio-chat-mark { height: 30px; width: 30px; font-size: 25px; }
  .studio-chat-brand strong { font-size: 12px; }
  .studio-chat-brand small { font-size: 6px; letter-spacing: 1.1px; margin-top: 3px; }
  .studio-header-note { display: none; }
  .studio-return { font-size: 10px; padding: 7px 9px; gap: 11px; }
  #mountPoint { padding: 0; }
  #app-container { border: 0; border-radius: 0; box-shadow: none; }
  #sidepanel { width: 100%; min-width: 0; border: 0; }
  #info-view { width: 100%; border: 0; }
  body[data-studio-auth="true"] #sidepanel { width: 100%; max-width: none; padding: 24px 28px 32px; }
  body[data-studio-auth="true"] #side-caption-panel { height: 36px; }
  .studio-auth-intro { margin: 28px 0 26px; }
  .studio-auth-intro h1 { font-size: 29px; }
  #login-form input { font-size: 16px; height: 48px; }
  #login-form input::placeholder { font-size: 13px; }
  #login-form .panel-form-row { font-size: 12px; }
  #login-form .panel-form-row > a { font-size: 11px; }
  #login-form .dialog-buttons { padding-top: 28px; }
  #login-form .dialog-buttons button { min-height: 48px; }
  .studio-auth-links { font-size: 11px; padding-top: 25px; }
  .studio-auth-links a { font-size: 12px; }
  body[data-studio-auth="true"] #sidepanel:after { content: "认真交流，不按套路。"; display: block; text-align: center; border-top: 1px solid var(--studio-line); font-size: 10px; color: var(--studio-muted); margin-top: 32px; padding: 19px 0 0; }
  .caption-panel { padding: 10px 15px; }
  #sidepanel-title { font-size: 15px; }
  .contact-box { padding: 0 9px 10px; }
  .contact-box > li { padding: 12px 10px; min-height: 75px; }
  .contact-box .contact-title { font-size: 14px; }
  .contact-box .contact-comment { font-size: 12px; }
  #messages-panel { padding: 16px 13px 8px; }
  .chat-box .bubble { max-width: 85%; padding: 9px 4px; }
  .chat-box .avatar-box { width: 30px; min-width: 30px; height: 30px; min-height: 30px; font-size: 16px; margin-right: 7px; }
  .bubble div.message-content { padding: 0 7px; }
  #send-message-panel { min-height: 72px; padding: 10px 8px max(10px, env(safe-area-inset-bottom)); gap: 4px; }
  #send-message-panel > a { min-width: 30px; }
  #send-message-panel > a:last-of-type { min-width: 36px; height: 39px; }
  #send-message-input { font-size: 16px; padding: 10px; min-width: 0; }
  #send-message-input::placeholder { font-size: 12px; }
  #topic-caption-panel .avatar-box { width: 33px; min-width: 33px; height: 33px; margin-right: 8px; }
  #topic-users { margin-right: 3px; }
  .info-box { margin: 8px 12px 0; }
  .media-uploads { right: 10px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .studio-welcome { width: 78%; }
}
@media (max-width: 360px) {
  body[data-studio-auth="true"] #sidepanel { padding: 19px 22px 26px; }
  .studio-auth-intro { margin-top: 23px; }
  .studio-auth-intro h1 { font-size: 27px; }
  #send-message-panel { gap: 2px; padding-inline: 6px; }
  #send-message-panel > a { min-width: 27px; }
  #send-message-panel .material-icons { min-width: 24px; font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media (max-height: 700px) and (min-width: 641px) {
  .studio-welcome-art { height: 155px; margin-top: 18px; }
  .studio-welcome-number { font-size: 166px; }
  .studio-welcome-orbit { width: 215px; height: 85px; top: 32px; }
  .studio-welcome h2 { margin-top: 19px; font-size: 24px; }
  .studio-welcome-footer { margin-top: 18px; }
  .studio-auth-intro { margin-top: 23px; }
}
@media (max-height: 520px) and (min-width: 641px) {
  .studio-welcome-art { display: none; }
  .studio-welcome h2 { font-size: 22px; }
  .studio-welcome { padding-block: 10px; }
}
.studio-members { padding: 20px; overflow: auto; flex: 1; min-height: 0; }
.studio-members-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; font-size: 17px; font-weight: 650; }
.studio-members-heading b { padding: 2px 8px; margin-left: 5px; border-radius: 20px; background: var(--studio-lime, #d5f36a); color: #252921; font-size: 12px; }
.studio-members button { width: auto; min-width: 0; padding: 7px 12px; border: 1px solid #92998d44; border-radius: 9px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.studio-members button:disabled { opacity: .5; cursor: default; }
.studio-members button:focus-visible, .studio-members input:focus-visible { outline: 2px solid #7d9736; outline-offset: 2px; }
.studio-members-search { display: flex; gap: 8px; margin-bottom: 12px; }
.studio-members-search input { flex: 1; min-width: 0; width: 0; padding: 9px 11px; border-radius: 9px; border: 1px solid #92998d66; background: transparent; color: inherit; font: inherit; }
.studio-members-status:not(:empty) { padding: 18px 0; font-size: 13px; line-height: 1.7; }
.studio-members-status button { margin: 8px; }
.studio-member-list { list-style: none; margin: 0; padding: 0; }
.studio-member-list > li { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid #92998d22; }
.studio-member-list .avatar-box { width: 40px; height: 40px; flex: 0 0 40px; }
.studio-member-list .avatar-box .identity-avatar { width: 40px !important; height: 40px !important; padding: 0; border: 0; }
.studio-member-list .avatar, .studio-member-list .lettertile { width: 40px; height: 40px; border-radius: 12px; }
.studio-member-list .lettertile > div { line-height: 40px; font-size: 20px; }
.studio-member-name { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.studio-member-name strong, .studio-member-name > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.studio-member-name strong { font-size: 14px; font-weight: 600; }
.studio-member-name > span { font-size: 12px; opacity: .65; }
.studio-member-role { padding: 3px 6px; border: 1px solid #92998d55; border-radius: 5px; font-size: 10px; white-space: nowrap; }
.studio-members-pages { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: 16px; font-size: 12px; }
.studio-members-inline { padding: 10px 20px 20px; overflow: visible; }
.studio-members button:not(.studio-member-remove) { color: var(--studio-ink) !important; }
.studio-members-inline .studio-members-heading { flex-wrap: wrap; }
.studio-group-note { margin: 20px 20px 0; font-size: 13px; line-height: 1.7; opacity: .75; }

.studio-member-tools{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.studio-members .studio-member-hint{font-size:12px;line-height:1.6;opacity:.78;margin:0 0 14px}.studio-members .studio-member-remove{color:#a43a2c;border-color:#c58b7e88;white-space:nowrap}.studio-member-confirm{padding:14px;margin:12px 0;border:1px solid #9ba78177;border-radius:10px;background:#92998d0c;font-size:13px;line-height:1.6}.studio-member-confirm p{margin:8px 0}.studio-member-confirm button+button{margin-left:8px}.studio-members-inline .studio-member-list>li{flex-wrap:wrap}.studio-member-tools button{font-size:12px!important}@media(max-width:480px){.studio-members-heading{align-items:flex-start}.studio-members .studio-member-list>li>.studio-member-remove{padding:6px 8px;font-size:12px}.studio-members .studio-member-name{min-width:60px}}
.studio-member-labels{display:flex;flex-wrap:wrap;gap:4px;margin-top:3px;white-space:normal}
.studio-member-labels>span{font-size:11px;line-height:1.5;padding:2px 7px;border-radius:12px;background:var(--clr-primary-wash);color:var(--studio-ink);border:1px solid var(--studio-line);overflow-wrap:anywhere;max-width:100%}
.studio-label-editor{padding:13px;margin:12px 0;border:1px solid var(--studio-line);border-radius:10px;background:var(--studio-paper);font-size:12px}
.studio-label-editor strong,.studio-label-editor label{display:block;margin-bottom:8px}
.studio-label-editor textarea{box-sizing:border-box;width:100%;resize:vertical;padding:9px;border:1px solid var(--studio-line);border-radius:7px;background:var(--studio-surface);color:var(--studio-ink);font:inherit}
.studio-label-editor p{font-size:11px;line-height:1.6;color:var(--studio-muted);margin:8px 0}
.studio-label-editor>div{display:flex;gap:8px;flex-wrap:wrap}
.studio-members .studio-label-edit{font-size:12px;padding:6px 8px}
.studio-members-inline .studio-member-name{min-width:65px}
.studio-message-author{display:flex;align-items:center;flex-wrap:wrap;gap:4px;max-width:100%;line-height:1.6}
.studio-message-label{display:inline-block;padding:0 6px;font-size:10px;line-height:1.8;border:1px solid var(--studio-line);border-radius:10px;background:var(--clr-primary-wash);color:var(--studio-ink);overflow-wrap:anywhere;max-width:100%}
.right .studio-message-author{justify-content:flex-end}
.studio-bulk-tools{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:10px 0;padding:10px 0;border-block:1px solid var(--studio-line);font-size:12px}
.studio-bulk-tools>span{flex-basis:100%;font-weight:600}
.studio-members .studio-bulk-tools button{font-size:12px;padding:6px 8px}
.studio-member-list .studio-bulk-checkbox{width:16px!important;height:16px!important;min-width:16px;flex:0 0 16px;accent-color:#657c43;margin:0;cursor:pointer}
.studio-bulk-confirm-names{max-height:140px;overflow:auto;padding-left:20px;margin:10px 0}
.studio-members-inline .studio-member-list>li{gap:7px}

/* Keep the information panel avatar compact, including image and letter avatars. */
#info-view-content > .panel-form-column > center > .avatar-upload.read-only {
  width: 72px; height: 72px; font-size: 34px; margin: 0 auto 12px;
}
#info-view-content > .panel-form-column > center > .avatar-upload.read-only .avatar-box,
#info-view-content > .panel-form-column > center > .avatar-upload.read-only .lettertile,
#info-view-content > .panel-form-column > center > .avatar-upload.read-only img.avatar {
  width: 72px; min-width: 72px; height: 72px; min-height: 72px;
}
#info-view-content > .panel-form-column > center > .avatar-upload.read-only .lettertile > div {
  font-size: 34px; line-height: 72px;
}
#info-view-content > .panel-form-column > center > .avatar-upload.read-only .avatar-box > .material-icons {
  font-size: 38px; line-height: 72px;
}

/* Administrator-only automatic enrollment settings. */
.studio-auto-join{margin:12px 0;padding:14px;border:1px solid #ddd;border-radius:10px;background:var(--panel-background,#fafaf8)}
.studio-auto-join p{font-size:13px;line-height:1.6;margin:8px 0}
.studio-auto-join-options{display:flex;flex-wrap:wrap;gap:10px 18px;margin:12px 0}
.studio-auto-join-options label{display:flex;align-items:center;gap:6px;cursor:pointer}
.studio-auto-join-options input{width:16px;height:16px;margin:0}
