/* Team workspace: white surfaces, compact work lists and green selection. */
.team-page { --team-green: #00894a; --team-soft: #edf8f1; --team-line: #e5e8eb; --team-muted: #687179; color: var(--ink, #20252a); min-width: 0; font-size: 13px; }
.team-page *, .team-dialog * { min-width: 0; }
.team-page h1 { font-size: 26px; letter-spacing: -.75px; }
.team-page h2 { font-size: 15px; letter-spacing: -.3px; }
.team-page h3 { font-size: 13px; letter-spacing: -.15px; }
.team-page-head { margin-bottom: 22px; }
.team-page-head p { color: #687179; font-size: 13px; }
.team-page button:disabled { cursor: not-allowed; }
.team-page .btn, .team-dialog .btn { font-size: 12px; }
.team-page a:hover { color: var(--team-green); }
.team-page a.btn.primary:hover { color: #fff; }
.team-page button:focus-visible, .team-page a:focus-visible, .team-page input:focus-visible, .team-page textarea:focus-visible, .team-page select:focus-visible, .team-dialog :focus-visible { outline: 3px solid #66b88e; outline-offset: 3px; }
.team-context-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; padding: 13px 16px; background: #f7f9f8; border: 1px solid #e0e7e3; margin-bottom: 22px; font-size: 12px; border-radius: 4px; }
.team-context-strip > span { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.team-context-strip p { color: #626c66; font-size: 12px; line-height: 1.7; }
.team-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border-radius: 3px; background: #f1f3f5; color: #606a74; white-space: nowrap; font-size: 11px; font-weight: 500; line-height: 1.5; }
.team-badge.soft-green, .team-badge.online { background: var(--team-soft, #edf8f1); color: #077a42; }
.team-badge.online::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #00a258; }
.team-caption { font-size: 12px; color: #69737b; line-height: 1.7; }
.team-summary { display: grid; grid-template-columns: 1fr 1fr 1.25fr 1.5fr; border-top: 1px solid var(--team-line); border-bottom: 1px solid var(--team-line); padding: 21px 0; margin-bottom: 26px; }
.team-summary > div { padding: 0 24px; border-right: 1px solid var(--team-line); }
.team-summary > div:first-child { padding-left: 4px; }
.team-summary > div:last-child { border-right: 0; }
.team-summary span { display: block; color: #647069; font-size: 12px; margin-bottom: 9px; }
.team-summary strong { font-size: 27px; font-weight: 650; line-height: 1.2; }
.team-summary small { font-size: 12px; color: #687179; font-weight: 400; margin-left: 6px; }
.team-summary .team-summary-note { align-content: center; font-size: 12px; color: #717a73; line-height: 1.8; }
.team-organization { display: grid; grid-template-columns: 215px minmax(0, 1fr); border: 1px solid var(--team-line); background: #fff; border-radius: 5px; overflow: hidden; }
.team-org-panel { border-right: 1px solid var(--team-line); background: #fafbfb; }
.team-subhead { padding: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.team-subhead > span, .team-subhead h2 > span { font-size: 12px; font-weight: 400; color: #748078; }
.team-subhead p { font-size: 12px; color: #717a73; margin-top: 6px; line-height: 1.6; }
.team-org-nav { padding: 0 10px; display: grid; gap: 3px; }
.team-org-item { display: flex; align-items: center; justify-content: space-between; gap: 7px; background: transparent; border: 0; width: 100%; text-align: left; padding: 13px 10px; color: #525c55; font-size: 13px; border-radius: 3px; }
.team-org-item > span { display: flex; align-items: center; gap: 9px; overflow-wrap: anywhere; }
.team-org-item .icon { width: 16px; height: 16px; }
.team-org-item b { color: #88918a; font-weight: 400; font-size: 12px; }
.team-org-item:hover { background: #f0f3f1; }
.team-org-item.selected { background: #e7f5ed; color: #007b43; font-weight: 600; }
.team-org-item.selected b { color: #007b43; }
.team-org-branch { display: block; flex: 0 0 8px; width: 8px; height: 9px; border-left: 1px solid #c2cbc5; border-bottom: 1px solid #c2cbc5; margin: -5px 1px 0 5px; }
.team-side-note { color: #7b847e; padding: 17px 18px; font-size: 11px; line-height: 1.8; }
.team-members-toolbar { min-height: 84px; border-bottom: 1px solid var(--team-line); }
.team-search { display: flex; align-items: center; gap: 8px; border: 1px solid #d9dfe0; border-radius: 4px; background: #fff; padding: 9px 10px; width: 205px; flex-shrink: 0; }
.team-search .icon { color: #7a847f; width: 16px; height: 16px; }
.team-search input { border: 0; width: 100%; background: transparent; font-size: 12px; color: #353e38; padding: 0; }
.team-search:focus-within { border-color: #00a058; }
.team-table-scroll { max-width: 100%; overflow-x: auto; }
.team-member-table { border-collapse: collapse; width: 100%; font-size: 12px; min-width: 620px; }
.team-member-table th { background: #f7f8f9; font-weight: 500; color: #737c76; font-size: 11px; text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--team-line); white-space: nowrap; }
.team-member-table td { padding: 16px; border-bottom: 1px solid #edf0ef; color: #505b54; vertical-align: middle; }
.team-member-table tr:last-child td { border-bottom: 0; }
.team-member-table tbody tr:hover { background: #fbfcfb; }
.team-person { display: flex; align-items: center; gap: 10px; }
.team-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eef2f0; color: #62736a; font-size: 14px; font-weight: 600; flex-shrink: 0; border: 1px solid #e2e8e4; }
.team-avatar-large { width: 49px; height: 49px; font-size: 19px; background: #edf7f1; color: #098349; border-color: #d8ecdf; }
.team-person strong { font-size: 13px; color: #303a34; display: block; font-weight: 600; overflow-wrap: anywhere; }
.team-person div > span { display: block; margin-top: 4px; font-size: 11px; color: #7a847d; overflow-wrap: anywhere; }
.team-me { margin-left: 6px; color: #008147; font-size: 10px; font-weight: 500; }
.team-text-button { background: white; border: 1px solid #d9dfdb; border-radius: 3px; padding: 5px 10px; font-size: 11px; color: #5c685f; }
.team-text-button:hover { border-color: #008c4c; color: #008147; }
.team-list-foot { padding: 13px 17px; background: #fbfcfb; color: #78817b; font-size: 11px; line-height: 1.7; border-top: 1px solid var(--team-line); }
.team-owner { margin-top: 24px; border: 1px solid var(--team-line); border-radius: 5px; background: #fff; padding: 23px; }
.team-owner-identity { display: flex; align-items: center; gap: 13px; }
.team-owner-identity h2 { margin: 4px 0 5px; font-size: 16px; }
.team-owner-identity p { font-size: 12px; color: #717b74; }
.team-owner-duties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 24px 0 18px; padding: 19px 0 0; border-top: 1px solid #edf0ee; }
.team-owner-duties dt { font-size: 12px; font-weight: 600; color: #3d4941; }
.team-owner-duties dd { margin: 7px 0 0; color: #6e7871; font-size: 12px; line-height: 1.8; }
.team-owner-note { font-size: 11px; color: #89918c; }
.team-loading, .team-empty { padding: 52px 24px; text-align: center; color: #778079; font-size: 13px; line-height: 1.8; }
.team-empty h2, .team-empty h3 { color: #59665d; margin-bottom: 7px; }
.team-empty .btn { margin-top: 20px; }
.team-dialog { width: min(480px, calc(100vw - 28px)); border-radius: 6px; }
.team-dialog .dialog-head { padding: 21px 23px; }
.team-dialog .dialog-head h2 { font-size: 19px; }
.team-dialog .dialog-head p { font-size: 12px; line-height: 1.7; }
.team-dialog-fields { display: grid; gap: 17px; }
.team-dialog .form-field, .team-dialog .form-field input, .team-dialog .form-field select, .team-dialog .form-field textarea { font-size: 13px; color: #4a574e; }
.team-dialog .dialog-foot { flex-wrap: wrap; }
.team-dialog .team-caption { font-size: 11px; }
.team-form-error { color: #b03c32; font-size: 12px; line-height: 1.7; margin-top: 8px; white-space: pre-line; overflow-wrap: anywhere; }
.team-form-error:empty { display: none; }

.chat-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 220px; min-height: 610px; border: 1px solid var(--team-line); border-radius: 5px; overflow: hidden; background: white; }
.chat-channels { background: #fafbfb; border-right: 1px solid var(--team-line); display: flex; flex-direction: column; }
.chat-channel-list { display: grid; align-content: start; gap: 4px; padding: 0 8px 18px; }
.chat-channel { width: 100%; display: flex; gap: 10px; align-items: center; text-align: left; padding: 12px 10px; border: 0; border-radius: 4px; background: transparent; font-size: 12px; color: #59675e; }
.chat-channel > span:nth-child(2) { overflow-wrap: anywhere; line-height: 1.5; }
.chat-channel:hover { background: #f0f3f1; }
.chat-channel.selected { color: #087b44; background: #e6f4ec; font-weight: 600; }
.chat-hash { font-size: 18px; color: #9ca89f; font-weight: 400; }
.chat-channel.selected .chat-hash { color: #2b9b63; }
.chat-channel i { width: 5px; height: 5px; background: #00a455; border-radius: 50%; margin-left: auto; flex-shrink: 0; }
.chat-current-user { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 17px 14px; border-top: 1px solid var(--team-line); }
.chat-current-user strong { font-size: 12px; display: block; overflow-wrap: anywhere; }
.chat-current-user div > span { display: block; font-size: 10px; color: #7a867e; margin-top: 5px; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-conversation-head { padding: 18px 21px; border-bottom: 1px solid var(--team-line); display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.chat-conversation-head h2 { overflow-wrap: anywhere; }
.chat-conversation-head h2 > span { color: #7d8b81; font-weight: 400; }
.chat-conversation-head p { font-size: 11px; color: #8a938d; margin-top: 6px; }
.chat-conversation-head .team-badge { font-size: 10px; }
.chat-messages { flex: 1; min-height: 245px; max-height: 440px; overflow-y: auto; overscroll-behavior: contain; padding: 20px; display: flex; flex-direction: column; gap: 22px; }
.chat-message { display: flex; align-items: flex-start; gap: 10px; content-visibility: auto; contain-intrinsic-size: auto 95px; }
.chat-message-content { flex: 1; min-width: 0; }
.chat-message-meta { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; margin: 1px 0 7px; }
.chat-message-meta strong { color: #37473c; font-size: 12px; }
.chat-message-meta > span { color: #849087; font-size: 10px; }
.chat-message-meta time { font-size: 10px; color: #98a19b; }
.chat-message-text { color: #546159; font-size: 13px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message.own .team-avatar { background: #eaf6ee; color: #198650; border-color: #d9ede1; }
.chat-record-reference { display: flex; align-items: center; gap: 10px; max-width: 100%; width: min(340px, 100%); padding: 11px; margin-top: 10px; background: #fafcfb; border: 1px solid #dfe8e2; border-radius: 4px; text-align: left; color: #448261; }
.chat-record-reference:hover { border-color: #5fa680; }
.chat-record-reference > span { flex: 1; }
.chat-record-reference strong { display: block; font-size: 12px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.chat-record-reference small { display: block; font-size: 10px; margin-top: 4px; color: #8a968e; overflow-wrap: anywhere; }
.chat-missing-reference { font-size: 11px; color: #8d7661; margin-top: 9px; }
.chat-empty { color: #879389; text-align: center; padding: 40px 10px; margin: auto; font-size: 12px; }
.chat-empty h3 { color: #5f6f64; margin-bottom: 9px; }
.chat-composer { padding: 16px 20px; border-top: 1px solid var(--team-line); background: #fff; }
.chat-composer > label { display: block; font-size: 11px; color: #738178; margin-bottom: 9px; }
.chat-composer textarea { display: block; width: 100%; min-height: 94px; padding: 12px; border: 1px solid #d9e1dc; border-radius: 4px; resize: vertical; font-size: 13px; line-height: 1.7; color: #46584d; }
.chat-composer-tools { display: flex; align-items: center; gap: 12px; margin: 11px 0 7px; justify-content: space-between; }
.chat-attachment { display: flex; align-items: center; gap: 8px; flex: 1; }
.chat-attachment label { white-space: nowrap; font-size: 11px; color: #718076; }
.chat-attachment select { border: 1px solid #d9e1dc; border-radius: 3px; background: #fff; padding: 7px; font-size: 11px; width: min(230px, 100%); color: #65776b; }
.chat-composer .team-caption { font-size: 10px; }
.chat-side { border-left: 1px solid var(--team-line); background: #fcfdfc; }
.chat-participants { list-style: none; margin: 0; padding: 0 17px; }
.chat-participants li { display: flex; align-items: center; gap: 9px; padding: 10px 0; }
.chat-participants .team-avatar { width: 29px; height: 29px; font-size: 12px; border-radius: 9px; }
.chat-participants strong { display: block; font-size: 11px; font-weight: 500; overflow-wrap: anywhere; }
.chat-participants li div > span { display: block; font-size: 10px; margin-top: 4px; color: #8a968e; }
.chat-presence-dot { width: 5px; height: 5px; border-radius: 50%; background: #c5cec8; flex: 0 0 5px; margin-left: auto; }
.chat-presence-dot.online { background: #1ba764; }
.chat-reference-note { border-top: 1px solid var(--team-line); padding: 20px 17px; }
.chat-reference-note h3 { margin-bottom: 10px; font-size: 12px; }
.chat-reference-note p { font-size: 11px; color: #8a968e; line-height: 1.9; }
.chat-reference-note a { display: flex; gap: 7px; align-items: center; color: #218751; font-size: 11px; margin-top: 16px; }
.chat-reference-note .icon { width: 14px; }

.library-flow { display: flex; align-items: center; gap: 20px; padding: 22px 0; margin-bottom: 23px; border-top: 1px solid var(--team-line); border-bottom: 1px solid var(--team-line); }
.library-flow-intro h2 { font-size: 13px; }
.library-flow-intro p { font-size: 11px; color: #919a94; margin-top: 5px; }
.library-flow-steps { display: flex; align-items: center; justify-content: center; gap: 14px; flex: 1; font-size: 12px; color: #637168; }
.library-flow-steps > span { padding: 12px 14px; border: 1px solid #e3e8e4; border-radius: 4px; background: #fafcfa; text-align: center; }
.library-flow-steps .library-flow-center { border-color: #c6e4d2; color: #1b834e; background: #f2faf5; font-weight: 600; }
.library-flow-steps i { color: #a3b4a9; font-style: normal; }
.library-panel { background: #fff; border: 1px solid var(--team-line); border-radius: 5px; overflow: hidden; }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 18px; border-bottom: 1px solid var(--team-line); }
.library-tabs { display: flex; gap: 21px; align-items: stretch; }
.library-tabs button { border: 0; background: transparent; border-bottom: 2px solid transparent; padding: 20px 0 17px; color: #77837b; font-size: 13px; white-space: nowrap; }
.library-tabs button:hover { color: #008b48; }
.library-tabs button.selected { color: #008747; border-bottom-color: #03a85b; font-weight: 600; }
.library-tabs button span { font-size: 11px; margin-left: 4px; color: #98a39c; }
.library-tabs button.selected span { color: #35a36b; }
.library-toolbar .team-search { width: 245px; }
.library-workspace { display: grid; grid-template-columns: minmax(0, 1fr) 285px; min-height: 470px; }
.library-items { min-width: 0; }
.library-file-list { list-style: none; margin: 0; padding: 0; }
.library-file-list li { content-visibility: auto; contain-intrinsic-size: auto 83px; }
.library-file { display: flex; align-items: center; gap: 13px; padding: 20px 18px; width: 100%; border: 0; border-bottom: 1px solid #edf0ee; background: white; text-align: left; color: #52665a; }
.library-file:hover { background: #f8fbf9; }
.library-file.selected { background: #f0f8f3; box-shadow: inset 3px 0 #03a85b; }
.library-file-icon { width: 34px; height: 39px; border: 1px solid #d9e7df; border-radius: 4px; display: grid; place-items: center; flex-shrink: 0; color: #269a5a; background: #f7fcf9; }
.library-file-icon.report { border-color: #dfe3e6; color: #798b96; background: #f9fafb; }
.library-file-main { flex: 1; }
.library-file-main strong { display: block; font-weight: 500; font-size: 13px; overflow-wrap: anywhere; line-height: 1.6; }
.library-file-main > span { display: block; font-size: 11px; color: #8b9a90; margin-top: 5px; overflow-wrap: anywhere; line-height: 1.7; }
.library-file time { font-size: 11px; color: #91a096; flex-shrink: 0; }
.library-file-state { width: 58px; display: flex; justify-content: flex-end; }
.library-detail { border-left: 1px solid var(--team-line); padding: 23px 21px; background: #fcfdfc; }
.library-detail-label { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 11px; color: #809188; }
.library-detail-label .icon { width: 15px; color: #6f967e; }
.library-detail-label .team-badge { font-size: 10px; margin-left: auto; }
.library-detail h2 { font-size: 17px; line-height: 1.6; margin-top: 18px; overflow-wrap: anywhere; }
.library-detail-id { color: #8b9b91; font-size: 11px; margin-top: 7px; overflow-wrap: anywhere; }
.library-metadata { display: grid; gap: 14px; margin: 24px 0; }
.library-metadata > div { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 10px; font-size: 11px; line-height: 1.7; }
.library-metadata dt { color: #8a9a90; }
.library-metadata dd { color: #4f6758; margin: 0; overflow-wrap: anywhere; }
.library-detail h3 { font-size: 12px; margin-bottom: 10px; }
.library-observation { font-size: 12px; color: #788c7f; line-height: 1.9; margin-bottom: 22px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 190px; overflow-y: auto; }
.library-storage-note { border-top: 1px solid #e5ece7; padding-top: 15px; margin-top: 19px; font-size: 10px; color: #92a096; line-height: 1.9; }
.library-downloads { display: grid; gap: 8px; }
.library-downloads .btn { justify-content: center; }
.library-no-selection { display: grid; min-height: 300px; place-items: center; text-align: center; color: #99a39c; font-size: 12px; }
.library-bottom-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 19px; color: #8a968e; font-size: 11px; }
.library-bottom-note .icon { width: 16px; height: 16px; margin-top: 2px; }
.library-bottom-note p { flex: 1; }
.library-bottom-note a { color: #3b9361; white-space: nowrap; }

.roadmap-section { border: 1px solid var(--team-line); border-radius: 5px; background: #fff; margin-top: 22px; overflow: hidden; }
.roadmap-section-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 21px 24px; border-bottom: 1px solid var(--team-line); background: #fafcfb; }
.roadmap-section-head p { font-size: 12px; color: #7f8c83; margin-top: 7px; }
.roadmap-list { list-style: none; padding: 0 24px; margin: 0; }
.roadmap-list li { display: flex; align-items: flex-start; gap: 14px; padding: 19px 0; border-bottom: 1px solid #edf0ee; }
.roadmap-list li:last-child { border-bottom: 0; }
.roadmap-item-mark { width: 25px; height: 25px; border-radius: 50%; background: #f1f4f2; color: #99a69c; display: grid; place-items: center; flex: 0 0 25px; }
.roadmap-item-mark.ready { color: #22935a; background: #edf8f1; }
.roadmap-item-mark .icon { width: 14px; height: 14px; }
.roadmap-list li > div { flex: 1; }
.roadmap-list h3 { color: #435a4c; margin: 2px 0 6px; }
.roadmap-list p { font-size: 12px; color: #819087; line-height: 1.9; max-width: 750px; }
.roadmap-list li > .team-badge { font-size: 10px; margin-top: 2px; }
.roadmap-owner-note { border-top: 2px solid #cde4d5; padding: 21px 0; margin-top: 26px; }
.roadmap-owner-note h2 { font-size: 14px; }
.roadmap-owner-note p { color: #6b8172; font-size: 12px; margin-top: 12px; line-height: 1.8; }
.roadmap-owner-note > span { display: block; color: #98a39c; font-size: 11px; margin-top: 8px; }

@media (max-width: 1260px) {
  .team-summary { grid-template-columns: 1fr 1fr 1.4fr; }
  .team-summary .team-summary-note { display: none; }
  .team-summary > div:nth-child(3) { border: 0; }
  .team-organization { grid-template-columns: 185px minmax(0, 1fr); }
  .chat-layout { grid-template-columns: 170px minmax(0, 1fr); }
  .chat-side { display: none; }
  .library-flow { flex-wrap: wrap; gap: 16px; }
  .library-flow-steps { order: 2; flex-basis: 100%; justify-content: flex-start; }
  .library-flow > .team-badge { margin-left: auto; }
  .library-workspace { grid-template-columns: minmax(0, 1fr) 255px; }
  .library-file time { display: none; }
}
@media (max-width: 1000px) {
  .team-members-toolbar { align-items: flex-start; flex-direction: column; }
  .team-members-toolbar .team-search { width: 100%; }
  .team-owner-duties { grid-template-columns: 1fr; gap: 15px; }
  .team-owner-duties > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 10px; }
  .team-owner-duties dd { margin: 0; }
  .library-toolbar { flex-wrap: wrap; gap: 0; padding-bottom: 15px; }
  .library-toolbar .team-search { width: 100%; }
  .library-workspace { grid-template-columns: minmax(0, 1fr) 235px; }
  .library-detail { padding: 20px 17px; }
  .library-file { gap: 10px; padding: 17px 14px; }
  .library-file-state { display: none; }
  .chat-conversation-head { flex-wrap: wrap; }
  .chat-composer-tools { align-items: flex-end; }
  .chat-attachment { flex-direction: column; align-items: flex-start; gap: 6px; }
  .chat-attachment select { width: 100%; }
}
@media (max-width: 700px) {
  .team-page-head { gap: 15px; }
  .team-page h1 { font-size: 24px; }
  .team-page-head p { font-size: 12px; }
  .team-context-strip { align-items: flex-start; padding: 12px; margin-bottom: 18px; }
  .team-context-strip p { font-size: 11px; }
  .team-summary { padding: 17px 0; margin-bottom: 20px; }
  .team-summary > div { padding: 0 12px; }
  .team-summary span { font-size: 11px; line-height: 1.5; }
  .team-summary strong { font-size: 24px; }
  .team-summary small { font-size: 10px; }
  .team-summary > div:nth-child(3) small { display: block; margin: 5px 0 0; }
  .team-organization { grid-template-columns: 1fr; }
  .team-org-panel { border-right: 0; border-bottom: 1px solid var(--team-line); }
  .team-org-panel .team-subhead { padding-bottom: 10px; }
  .team-org-nav { display: flex; gap: 7px; padding: 0 15px 15px; overflow-x: auto; }
  .team-org-item { flex: 0 0 auto; width: auto; gap: 10px; padding: 10px; border: 1px solid #e1e7e3; background: #fff; font-size: 12px; }
  .team-org-item > span { white-space: nowrap; }
  .team-org-branch { display: none; }
  .team-org-panel .team-side-note { display: none; }
  .team-subhead { padding: 16px; }
  .team-members-toolbar { gap: 13px; }
  .team-table-scroll { max-width: 100%; }
  .team-member-table { min-width: 560px; }
  .team-member-table th, .team-member-table td { padding: 13px 12px; }
  .team-owner { padding: 18px; margin-top: 20px; }
  .team-owner-identity { align-items: flex-start; }
  .team-owner-identity h2 { font-size: 15px; line-height: 1.5; }
  .team-owner-duties > div { grid-template-columns: 85px minmax(0, 1fr); gap: 8px; }
  .team-owner-duties dd { font-size: 11px; }
  .team-owner-note { font-size: 10px; line-height: 1.8; }
  .team-dialog .dialog-foot { align-items: stretch; }
  .team-dialog .dialog-foot > .team-caption { display: none; }
  .chat-layout { grid-template-columns: 1fr; min-height: 0; }
  .chat-channels { border-right: 0; border-bottom: 1px solid var(--team-line); }
  .chat-channels .team-subhead { padding-bottom: 10px; }
  .chat-channel-list { display: flex; overflow-x: auto; padding: 0 12px 12px; gap: 6px; }
  .chat-channel { width: auto; flex-shrink: 0; padding: 7px 10px; border: 1px solid #e1e7e3; white-space: nowrap; font-size: 12px; }
  .chat-channel i { display: none; }
  .chat-current-user { display: none; }
  .chat-conversation-head { padding: 15px; gap: 10px; }
  .chat-messages { padding: 18px 14px; max-height: 430px; }
  .chat-message { gap: 8px; }
  .chat-message .team-avatar { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
  .chat-message-meta { gap: 5px; }
  .chat-message-meta time { flex-basis: 100%; }
  .chat-message-text { font-size: 12px; }
  .chat-composer { padding: 15px; }
  .chat-composer textarea { min-height: 105px; }
  .chat-composer-tools { gap: 9px; }
  .chat-composer-tools > .btn { flex-shrink: 0; padding: 9px 11px; }
  .library-flow { padding: 17px 0; margin-bottom: 18px; gap: 13px; }
  .library-flow-intro { flex: 1; }
  .library-flow-intro h2 { font-size: 12px; line-height: 1.7; }
  .library-flow > .team-badge { font-size: 10px; }
  .library-flow-steps { gap: 6px; font-size: 11px; }
  .library-flow-steps > span { flex: 1; padding: 10px 7px; line-height: 1.7; }
  .library-tabs { gap: 19px; }
  .library-tabs button { font-size: 12px; }
  .library-workspace { grid-template-columns: 1fr; }
  .library-detail { border-left: 0; border-top: 1px solid var(--team-line); }
  .library-file { padding: 16px; }
  .library-file-main strong { font-size: 12px; }
  .library-file-main > span { font-size: 10px; }
  .library-file-state { display: flex; width: auto; }
  .library-detail h2 { font-size: 16px; }
  .library-metadata { grid-template-columns: 1fr 1fr; gap: 15px; }
  .library-metadata > div { grid-template-columns: 1fr; gap: 4px; }
  .library-no-selection { min-height: 100px; }
  .library-bottom-note { flex-wrap: wrap; }
  .library-bottom-note p { flex-basis: calc(100% - 26px); }
  .library-bottom-note a { margin-left: 26px; }
  .roadmap-section { margin-top: 18px; }
  .roadmap-section-head { padding: 18px 16px; align-items: flex-start; }
  .roadmap-section-head h2 { line-height: 1.6; font-size: 14px; }
  .roadmap-section-head p { font-size: 11px; }
  .roadmap-section-head > .team-badge { font-size: 10px; }
  .roadmap-list { padding: 0 16px; }
  .roadmap-list li { gap: 9px; position: relative; flex-wrap: wrap; }
  .roadmap-list li > div { flex-basis: calc(100% - 34px); }
  .roadmap-list li > .team-badge { margin: 0 0 0 34px; }
  .roadmap-list h3 { font-size: 12px; }
  .roadmap-list p { font-size: 11px; }
  .roadmap-owner-note p { font-size: 11px; }
}
