.office-chat{--ink:#202129;--muted:#787b8b;--line:#e9eaf0;--accent:#d7192b;color:var(--ink);font:14px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;max-width:1240px;margin:28px auto;min-height:680px;box-shadow:0 18px 60px #2021290c}
.office-chat *{box-sizing:border-box}.office-chat h2{color:var(--ink);font-size:28px;font-weight:650;letter-spacing:-.8px;line-height:1.25;margin:10px 0}.office-chat p{margin:8px 0 20px}.office-chat button,.office-chat input,.office-chat select{font:inherit;border:1px solid var(--line);border-radius:10px;padding:11px 15px;transition:background .16s,border-color .16s,box-shadow .16s}.office-chat button{cursor:pointer;background:#fff;color:#505361;font-weight:550;line-height:1.4;white-space:nowrap}.office-chat button:hover{background:#f6f7fb;border-color:#d8dae4}.office-chat button:disabled{opacity:.55;cursor:wait}.office-chat input{background:#fff;color:var(--ink);min-width:0}.office-chat input::placeholder{color:#9a9caa}.office-chat input:focus{outline:none;border-color:#d7192b;box-shadow:0 0 0 3px #d7192b12}.office-chat :focus-visible{outline:3px solid #d7192b55;outline-offset:3px}.office-chat button.primary{background:var(--accent);border-color:var(--accent);color:#fff;box-shadow:0 4px 10px #d7192b17}.office-chat button.primary:hover{background:#bd1424}.oc-muted{color:var(--muted)}.office-chat .oc-eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:#9193a1;margin:0 0 12px}.oc-handle{display:block;color:var(--muted);font-size:12px;font-weight:400;margin-top:3px}
.oc-top{padding:22px 28px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);background:#fff}.oc-brand{margin-right:auto;display:flex;flex-direction:column;align-items:flex-start;gap:7px}.oc-brand span{font-size:8px;letter-spacing:2.8px;font-weight:600;color:#9a9ba5;padding-left:3px}.office-chat .oc-logo{width:185px;max-width:100%;height:auto;object-fit:contain;border-radius:0;display:block}.oc-top>img{width:38px;height:38px;object-fit:cover;border-radius:50%}.oc-identity{font-size:13px;font-weight:600;text-align:right;margin:0 5px}.oc-identity small{display:block;font-size:11px;font-weight:400;color:var(--muted)}.oc-top button{padding:9px 12px;font-size:12px}.oc-top button:first-of-type{order:5}.oc-top button:last-of-type{border-color:transparent}
.oc-shell{display:grid;grid-template-columns:292px 1fr;height:650px}.oc-side{padding:25px 17px;overflow:auto;background:#fafbfe;border-right:1px solid var(--line)}.oc-side>.oc-muted{font-size:10px;font-weight:700;letter-spacing:1.8px;padding:0 10px;color:#9497a6}.oc-new{display:flex;gap:8px;margin:18px 0 22px}.oc-new button{padding:10px 11px;font-size:12px;flex:1}.oc-new button:first-child{color:var(--accent);background:#fff6f7;border-color:#f8dce0}.oc-side button.room{width:100%;display:block;text-align:left;margin:5px 0;padding:16px 14px;border-color:transparent;background:transparent;font-size:13px;overflow:hidden;text-overflow:ellipsis}.oc-side button.room:before{content:'•';display:inline-grid;place-items:center;width:30px;height:30px;margin-right:9px;border-radius:10px;background:#e9ebf3;color:#858a9e}.oc-side button.room:hover{background:#f0f1f7}.oc-side button.active{background:#fff;border-color:#f1dce0;color:#b51727;box-shadow:0 3px 10px #25283404}.oc-side button.active:before{background:#fce7ea;color:var(--accent)}
.oc-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:#fff;overflow:hidden}.oc-room-head{padding:19px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:8px;min-height:78px}.oc-room-head strong{margin-right:auto;font-size:15px;font-weight:650;overflow-wrap:anywhere}.oc-room-head button{font-size:11px;padding:8px 11px}.oc-feed{flex:1;min-height:0;overflow:auto;padding:28px;display:flex;flex-direction:column;gap:18px;background:linear-gradient(160deg,#fcfcfe,#f8f9fc)}.oc-msg{max-width:80%;align-self:flex-start;padding:13px 17px;background:#fff;border:1px solid #eaeaf1;border-radius:2px 15px 15px 15px;overflow-wrap:anywhere;box-shadow:0 2px 4px #25283402}.oc-msg.mine{align-self:flex-end;background:#fff0f2;border-color:#f6dfe3;border-radius:15px 2px 15px 15px}.oc-msg small{display:block;font-size:10px;color:#8c8792}.oc-msg p{margin:6px 0 2px;white-space:pre-wrap;font-size:13px;color:#373641;line-height:1.7}.oc-msg a{color:#b51727;font-size:12px}.oc-msg img{display:block;max-width:250px;max-height:220px;border-radius:8px}.oc-compose{display:flex;gap:9px;padding:18px 22px;border-top:1px solid var(--line);background:#fff}.oc-compose input[type=text]{flex:1;background:#f8f9fc;border-color:#eff0f5}.oc-compose button{font-size:13px}.oc-attach{background:#fafbfe!important}.oc-empty{margin:auto;text-align:center;padding:40px;max-width:410px;color:var(--muted)}.oc-empty:before{content:'↗';display:grid;place-items:center;width:66px;height:66px;margin:0 auto 24px;background:#fff0f2;border:1px solid #f9dfe3;color:var(--accent);border-radius:22px;font-size:32px}.oc-empty h2{font-size:24px}.oc-empty p{font-size:13px;line-height:1.8}
.oc-login{max-width:420px;margin:58px auto;padding:36px 34px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 12px 50px #25283406}.oc-login .oc-logo{width:245px;margin:0 0 30px}.oc-login .oc-eyebrow{color:#ae6270;font-size:9px;letter-spacing:1.5px;margin-bottom:10px}.oc-login h2{font-size:27px;margin:8px 0 12px}.oc-login p.oc-muted{font-size:13px;line-height:1.8;margin-bottom:26px}.oc-login label{font-size:12px;font-weight:600;display:block;margin-top:16px;color:#575662}.oc-login input,.oc-login button{display:block;width:100%;margin:8px 0;padding:12px 14px}.oc-login button{margin-top:24px}.oc-login small{display:block;text-align:center;font-size:10px;line-height:1.7;margin-top:20px}.office-chat:has(.oc-login){background:radial-gradient(ellipse at 10% 0%,#ffeff2,transparent 55%),radial-gradient(ellipse at 100% 100%,#eef0f9,transparent 60%),#fafbfe;min-height:700px;border-top:3px solid var(--accent)}
.oc-admin{padding:34px;background:#fbfbfe}.oc-admin>h2{margin-top:0}.oc-admin>p.oc-muted{font-size:13px;margin-bottom:25px}.oc-actions{display:flex;gap:10px;flex-wrap:wrap;margin:22px 0;padding:20px;background:#fff;border:1px solid var(--line);border-radius:13px}.oc-actions input{flex:1;min-width:180px;font-size:13px}.oc-actions button{font-size:12px}.oc-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px;background:#fff}.office-chat table{border-collapse:collapse;width:100%;font-size:12px;margin:0}.office-chat th{background:#fafbfe;color:#9092a1;font-size:9px;font-weight:650;letter-spacing:1px;text-transform:uppercase;white-space:nowrap}.office-chat td,.office-chat th{text-align:left;padding:16px 18px;border:0;border-bottom:1px solid #eff0f5;vertical-align:middle}.office-chat tbody tr:last-child td{border-bottom:0}.office-chat td strong{font-size:13px;color:#42424e}.office-chat td button{padding:6px 9px;margin:3px;font-size:10px;border-radius:7px}.office-chat td button:nth-child(3){color:#bd2636}.oc-admin>section{margin-top:28px;padding:24px;background:white;border:1px solid var(--line);border-radius:13px}.oc-admin>section h2{font-size:20px;margin:0 0 8px}.oc-admin>section p{font-size:12px}.oc-admin>section button{margin:4px 6px 0 0;font-size:12px}.oc-notice{padding:13px 22px;color:#795415;font-size:12px;background:#fff7e8;border-bottom:1px solid #f7ead1;overflow-wrap:anywhere}.oc-overlay{position:fixed;inset:0;background:#1d1d3280;backdrop-filter:blur(5px);z-index:99999;display:grid;place-items:center;padding:20px}.oc-dialog{background:#fff;box-shadow:0 24px 90px #14102430;border:1px solid #ffffff50;border-radius:18px;padding:28px;max-width:500px;width:100%;max-height:85vh;overflow:auto}.oc-dialog h2{font-size:24px;margin:0 0 18px}.oc-dialog input[type=text]{width:100%;margin:8px 0 14px}.oc-dialog label{font-size:13px}.oc-choice{display:flex;align-items:center;gap:12px;padding:12px 6px;border-bottom:1px solid var(--line)}.oc-choice input{width:auto;accent-color:var(--accent)}.oc-dialog footer{display:flex;gap:10px;justify-content:flex-end;margin-top:22px}.oc-dialog .oc-notice{border-radius:8px;margin-bottom:16px}
@media(max-width:700px){.office-chat{margin:0;border-radius:0;border:0;height:100dvh;min-height:0;display:flex;flex-direction:column}.oc-shell{grid-template-columns:1fr;height:auto;min-height:0;flex:1}.oc-side{display:none}.oc-shell.list .oc-side{display:block}.oc-shell.list .oc-main{display:none}.oc-top{padding:16px;gap:8px;flex-wrap:wrap;flex-shrink:0}.oc-top .oc-logo{width:146px}.oc-brand span{font-size:7px;letter-spacing:2px}.oc-identity{margin-left:auto;font-size:12px}.oc-top button{font-size:10px;padding:7px 10px}.oc-top button:first-of-type{order:0}.oc-top>img{width:28px;height:28px}.oc-room-head{padding:12px 14px;gap:6px;min-height:65px}.oc-room-head strong{font-size:13px}.oc-room-head button{padding:7px;font-size:10px}.oc-feed{padding:18px 14px;gap:15px}.oc-msg{max-width:90%;padding:11px 13px}.oc-compose{padding:12px;gap:6px}.oc-compose input{padding:11px;font-size:13px}.oc-compose button{padding:10px;font-size:11px}.oc-admin{padding:20px 14px;overflow:auto}.oc-admin h2{font-size:24px}.oc-actions{padding:14px;gap:8px}.oc-actions input{width:100%}.office-chat td,.office-chat th{padding:12px}.oc-login{width:calc(100% - 32px);max-width:400px;padding:30px 26px;margin:36px auto}.oc-login .oc-logo{width:220px}.office-chat:has(.oc-login){height:auto;min-height:100dvh}.oc-notice{flex-shrink:0}.oc-dialog{padding:22px}}

.oc-notification-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;background:#fff5f6;border-bottom:1px solid #f4dce0;flex-shrink:0}.oc-notification-bar strong{font-size:13px;color:#862333}.oc-notification-bar p{font-size:12px;color:#8b6570;margin:4px 0 0;max-width:580px}.oc-notification-actions{display:flex;gap:8px;flex-wrap:wrap;flex-shrink:0}.oc-notification-actions button{font-size:11px;padding:9px 12px}@media(max-width:700px){.oc-notification-bar{align-items:flex-start;flex-direction:column;gap:12px;padding:16px}.oc-notification-actions{flex-shrink:1}.oc-top .oc-brand{margin-right:auto}.oc-top .oc-identity{margin-left:0}}
