.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.project-nav-heading { display: flex; align-items: center; justify-content: space-between; min-height: 30px; padding-left: 10px; }
.project-nav-heading .nav-caption { margin: 0; padding: 0; }
.project-nav-heading .icon-button { width: 26px; height: 26px; }
.project-nav-heading .lucide { width: 13px; height: 13px; }
.project-item { min-width: 0; text-align: left; }
.project-item > span:last-child { min-width: 0; white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
.project-dot { flex-shrink: 0; }
.project-management-modal { width: min(520px,calc(100% - 24px)); }
.project-management-list { max-height: 280px; overflow: auto; margin-top: 14px; }
.project-management-row { display: flex; align-items: center; gap: 10px; min-height: 48px; border-bottom: 1px solid var(--line); }
.project-management-row > .lucide { width: 17px; color: var(--secondary); flex-shrink: 0; }
.project-management-row strong { flex: 1; min-width: 0; font-size: 12px; font-weight: 550; overflow-wrap: anywhere; }
.project-management-row .icon-button { flex: 0 0 30px; }
#project-form { padding-top: 18px; }
#project-form h3 { margin: 0 0 12px; font-size: 12px; }
.project-form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.team-nav { margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); }
.demo-identity { display: flex; align-items: center; gap: 6px; color: var(--secondary); font-size: 10px; white-space: nowrap; }
.demo-identity > .lucide { width: 14px; color: var(--blue); }
.demo-identity select { max-width: 165px; min-height: 32px; border: 1px solid var(--line); border-radius: 4px; color: #46564d; background: white; font-size: 10px; padding: 0 5px; }
.topbar { gap: 12px; }
.search-box { width: min(20vw, 230px); }
.team-demo-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 19px; padding: 11px 12px; border-left: 3px solid #7e9db3; background: var(--blue-pale); color: #506877; font-size: 10px; line-height: 1.6; }
.team-demo-note .lucide { width: 15px; margin-top: 1px; }
.team-stats { display: flex; flex-wrap: wrap; gap: 35px; padding: 22px 0; }
.team-stats span { color: var(--secondary); font-size: 11px; }
.team-stats strong { margin-right: 5px; font-size: 21px; color: var(--ink); }
.team-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); }
.team-toolbar > span { color: var(--muted); font-size: 10px; }
.team-tabs { display: flex; gap: 20px; }
.team-tabs .text-button { min-height: 36px; border-bottom: 2px solid transparent; }
.team-tabs .is-active { color: var(--green); border-color: var(--green); }
.team-table-wrap { overflow-x: auto; background: #fff; }
.team-table { width: 100%; min-width: 740px; border-collapse: collapse; text-align: left; }
.team-table th { padding: 12px 10px; background: #fafbf9; font-size: 10px; color: var(--secondary); font-weight: 500; }
.team-table td { padding: 15px 10px; border-bottom: 1px solid var(--line); font-size: 11px; vertical-align: middle; }
.team-table td:first-child { min-width: 140px; }
.team-table td:nth-child(3) { min-width: 140px; }
.team-person { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.team-person strong { font-size: 11px; font-weight: 600; }
.team-person > small { font-size: 9px; color: var(--muted); }
.team-avatar { width: 30px; height: 30px; flex: 0 0 30px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--soft); color: #57685c; font-size: 11px; }
.avatar-admin { background: #e8eef5; color: #4a6b96; }
.avatar-requester { background: #fbede6; color: #a05c43; }
.avatar-designer { background: #e5f0e9; color: #36775b; }
.avatar-viewer { background: #eff0f1; color: #717979; }
.role-badge { display: inline-block; padding: 4px 7px; border-radius: 3px; background: var(--soft); font-size: 10px; white-space: nowrap; }
.role-admin { color: #4a6b96; background: #e8eef5; }
.team-projects { display: grid; gap: 5px; font-size: 10px; line-height: 1.5; }
.team-permission-summary { max-width: 205px; min-width: 140px; font-size: 10px; line-height: 1.8; color: var(--secondary); }
.mapping-state { color: #929a94; font-size: 10px; white-space: nowrap; }
.mapping-state.has-mapping { color: #527c9b; }
.member-status { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--muted); white-space: nowrap; }
.member-status i { width: 5px; height: 5px; border-radius: 50%; background: #a2aaa5; }
.member-status.is-enabled { color: var(--green); }
.member-status.is-enabled i { background: var(--green); }
.role-guide { padding-top: 23px; }
.role-guide h3, .notification-settings h3, .notification-log-heading h3 { margin: 0; font-size: 12px; }
.role-guide > div { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; margin: 13px 0 10px; }
.role-guide p { display: grid; gap: 7px; margin: 0; }
.role-guide strong { font-size: 11px; font-weight: 550; }
.role-guide span, .role-guide small { color: var(--secondary); font-size: 10px; line-height: 1.6; }
.member-modal { width: min(670px,calc(100% - 24px)); }
.team-check { display: flex; align-items: center; gap: 7px; color: #53635a; font-size: 11px; cursor: pointer; line-height: 1.5; }
.team-check input, .permission-check input { accent-color: var(--green); margin: 0; flex: 0 0 auto; width: 14px; height: 14px; }
.team-check span { min-width: 0; overflow-wrap: anywhere; }
.team-check small { margin-left: 6px; color: var(--muted); font-size: 9px; }
.member-active { padding-top: 16px; align-self: start; }
.permission-section { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 15px; }
.permission-section h3 { margin: 0; font-size: 12px; }
.permission-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.permission-section-heading select { min-height: 30px; }
.member-project-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 15px; }
.member-permissions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px 13px; margin-top: 17px; }
.permission-check { display: flex; gap: 8px; cursor: pointer; }
.permission-check input { margin-top: 2px; }
.permission-check span { display: grid; gap: 5px; min-width: 0; }
.permission-check strong { font-size: 11px; font-weight: 550; }
.permission-check small { font-size: 9px; color: var(--secondary); line-height: 1.5; }
#member-admin-note { margin: 10px 0 0; color: var(--blue); font-size: 10px; }
.form-error { margin: 12px 0 0; color: #b04c37; font-size: 11px; line-height: 1.5; }
.form-error:empty { display: none; }
button:disabled { cursor: not-allowed; opacity: .45; }
.integration-badge { display: inline-flex; align-items: center; gap: 6px; color: #a06c41; font-size: 11px; white-space: nowrap; }
.integration-badge .lucide { width: 15px; }
.feishu-connection { display: flex; justify-content: space-between; gap: 15px; align-items: center; padding: 19px 0; margin-top: 20px; border-block: 1px solid var(--line); }
.feishu-connection h3 { margin: 0 0 7px; font-size: 13px; }
.feishu-connection p { margin: 0; color: var(--secondary); font-size: 11px; line-height: 1.6; }
.notification-settings { padding: 23px 0; border-bottom: 1px solid var(--line); }
.notification-settings > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 40px; margin-top: 17px; }
.notification-rule { display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.notification-rule > span { display: grid; gap: 6px; }
.notification-rule strong { font-size: 11px; font-weight: 550; }
.notification-rule small { font-size: 10px; color: var(--secondary); }
.notification-rule input { appearance: none; width: 30px; height: 18px; flex: 0 0 30px; border-radius: 12px; background: #c6cec8; position: relative; cursor: pointer; margin: 0; }
.notification-rule input::after { content: ""; position: absolute; width: 12px; height: 12px; left: 3px; top: 3px; border-radius: 50%; background: #fff; }
.notification-rule input:checked { background: var(--green); }
.notification-rule input:checked::after { left: 15px; }
.notification-log-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 24px 0 10px; }
.notification-log-heading > span { font-size: 10px; color: var(--muted); }
.notification-log-heading h3 span { color: var(--muted); font-size: 10px; font-weight: 400; }
.notification-row { display: grid; grid-template-columns: 30px minmax(0,1fr) auto; gap: 12px; padding: 17px 10px; border-bottom: 1px solid var(--line); background: #fff; }
.notification-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 5px; background: var(--blue-pale); color: var(--blue); }
.notification-icon .lucide { width: 15px; }
.notification-row p { margin: 0 0 6px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px; line-height: 1.5; }
.notification-row strong { font-size: 11px; font-weight: 550; overflow-wrap: anywhere; }
.notification-row p > span { color: var(--blue); font-size: 9px; }
.notification-row small { color: var(--muted); font-size: 9px; line-height: 1.5; }
.notification-row .notification-body { margin: 8px 0 0; color: var(--secondary); font-size: 10px; overflow-wrap: anywhere; white-space: pre-wrap; }
.notification-row-end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.notification-status { color: #a3714e; font-size: 9px; }
.team-log-empty { display: flex; flex-direction: column; align-items: center; padding: 45px 15px; text-align: center; color: var(--muted); }
.team-log-empty > .lucide { width: 24px; height: 24px; margin-bottom: 15px; color: #90a39c; }
.team-log-empty h3 { margin: 0; color: var(--secondary); font-size: 13px; }
.team-log-empty p { margin: 10px 0 0; font-size: 11px; line-height: 1.6; }
.team-no-results { text-align: center; margin: 30px; color: var(--muted); }
.notification-modal { width: min(540px,calc(100% - 24px)); }
.notification-section-title { margin: 18px 0 12px; font-size: 11px; }
.notification-recipients { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-bottom: 18px; }
.feishu-card { border: 1px solid #dce5e9; border-radius: 6px; overflow: hidden; margin-top: 18px; background: #fff; }
.feishu-card-top { display: flex; align-items: center; gap: 8px; background: #e9f1f7; color: #41657d; padding: 12px 15px; }
.feishu-card-top strong { font-size: 12px; }
.feishu-card-content { padding: 16px; }
.feishu-card-content h3 { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.feishu-card-content > p { margin: 8px 0 14px; color: var(--muted); font-size: 10px; }
.feishu-card-message { margin-bottom: 18px; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.notification-preview-status { font-size: 10px; line-height: 1.6; color: #9b744b; margin-top: 12px; }
.feishu-help-modal { width: min(560px,calc(100% - 24px)); }
.feishu-requirements { margin: 20px 0; padding-left: 22px; display: grid; gap: 18px; }
.feishu-requirements strong { font-size: 12px; }
.feishu-requirements p { font-size: 11px; line-height: 1.7; margin: 6px 0 0; color: var(--secondary); }
.task-collaboration { border-top: 1px solid var(--line); margin-top: 17px; padding: 16px 0; }
.task-collaboration-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.task-collaboration-heading h3 { margin: 0; font-size: 12px; }
.task-collaboration-heading > span { font-size: 9px; color: var(--muted); }
.assignment-controls { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.assignment-controls > .form-field { flex: 1; max-width: 260px; min-width: 140px; }
.assignment-controls:empty { margin-bottom: 15px; }
.task-comment { padding: 12px 0; border-top: 1px solid #f0f2ef; }
.task-comment > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.task-comment strong { font-size: 10px; font-weight: 600; }
.task-comment time { color: var(--muted); font-size: 9px; }
.task-comment p { margin: 8px 0; color: #53635a; font-size: 11px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.task-comment small { font-size: 9px; color: var(--blue); }
.no-comments { color: var(--muted); font-size: 10px; margin: 15px 0; }
#task-comment-form { margin-top: 12px; }
.comment-composer-tools { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.comment-composer-tools > .button { margin-left: auto; }
.comment-composer-tools .team-check { font-size: 10px; }
.comment-notice { display: block; margin-top: 9px; color: #9b8a70; font-size: 9px; line-height: 1.5; }
.mention-picker { position: relative; }
.mention-menu { position: absolute; z-index: 3; bottom: 42px; left: 0; width: 255px; max-width: 70vw; max-height: 225px; overflow: auto; padding: 5px; border: 1px solid var(--line); border-radius: 5px; background: #fff; box-shadow: 0 5px 25px #28392d20; }
.mention-menu button { display: flex; align-items: center; gap: 8px; width: 100%; border: none; background: #fff; padding: 7px; text-align: left; border-radius: 3px; }
.mention-menu button:hover { background: var(--soft); }
.mention-menu button > span:nth-child(2) { display: grid; gap: 4px; }
.mention-menu strong { font-size: 11px; font-weight: 500; }
.mention-menu small { color: var(--muted); font-size: 9px; }
.mention-menu button > .lucide { margin-left: auto; width: 14px; color: var(--muted); }
.mention-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.mention-chips:not(:empty) { margin-top: 8px; }
.mention-chips button { display: flex; align-items: center; gap: 5px; padding: 4px 6px; border: none; border-radius: 3px; background: var(--blue-pale); color: var(--blue); font-size: 10px; }
.mention-chips .lucide { width: 12px; height: 12px; }
@media (max-width: 1150px) {
  .demo-identity > span { display: none; }
  .search-box { min-width: 120px; }
  .breadcrumbs > span, .breadcrumbs > .lucide { display: none; }
}
@media (max-width: 720px) {
  .team-nav { display: flex; gap: 5px; margin: 4px 0 0; padding: 0 0 5px; border: 0; }
  .team-nav .nav-item { width: auto; min-height: 32px; margin: 0; font-size: 10px; }
  .team-nav .nav-caption { display: none; }
  .topbar { height: auto; min-height: 92px; padding: 8px 13px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .topbar-tools { width: 100%; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr) auto; gap: 7px; }
  .demo-identity { min-width: 0; }
  .demo-identity > .lucide { display: none; }
  .demo-identity select { max-width: 100%; width: 100%; height: 34px; font-size: 9px; }
  .search-box { width: 100%; min-width: 0; height: 34px; }
  .search-box .lucide, .search-box kbd { display: none; }
  .search-box input { font-size: 10px; }
  #primary-action { padding: 0 8px; min-height: 34px; font-size: 10px; }
  #primary-action .lucide { width: 13px; }
  .topbar-tools:has(#primary-action[hidden]) { grid-template-columns: minmax(0,1fr) minmax(0,1.4fr); }
  #team-view .page-heading { align-items: center; gap: 12px; }
  #team-view .page-heading > div { flex: 1; min-width: 0; }
  #team-view #add-member { flex: 0 0 auto; width: auto; padding: 0 8px; }
  #team-view #add-member .lucide { width: 13px; }
  .team-demo-note { margin-top: 15px; font-size: 10px; }
  .team-stats { gap: 15px; padding: 18px 0; }
  .team-stats strong { font-size: 18px; }
  .team-stats span { font-size: 10px; }
  .team-toolbar { align-items: flex-start; flex-direction: column; gap: 0; }
  .team-toolbar > span { margin-bottom: 10px; font-size: 9px; }
  .role-guide > div { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
  .member-modal .modal-shell { padding: 14px; }
  .member-permissions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 10px; }
  .member-project-options { grid-template-columns: 1fr; }
  .notification-settings > div { grid-template-columns: 1fr; gap: 19px; }
  .notification-log-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .notification-row { grid-template-columns: 26px minmax(0,1fr); gap: 8px; padding: 15px 7px; }
  .notification-row-end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .notification-icon { width: 26px; height: 26px; }
  .feishu-connection { align-items: flex-start; flex-direction: column; gap: 10px; }
  .comment-composer-tools { flex-wrap: wrap; gap: 9px; }
  .comment-composer-tools .button { font-size: 10px; padding: 0 8px; }
  .comment-composer-tools .team-check { font-size: 9px; }
}
