/* V6 additive rules: preserve the V5 layout, palette and type scale. */
#loginError:empty {display:none!important}
.task-done-btn,.task-done-btn.complete {display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:0!important;line-height:1!important}
.task-done-btn svg {display:block;flex-shrink:0;margin:0!important;vertical-align:middle}
.v6-stat {cursor:pointer;transition:transform .16s,border-color .16s}
.v6-stat:hover,.v6-stat:focus-visible {border-color:#8bb9f2;transform:translateY(-2px);outline:none}
.v6-org-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:18px}
.v6-org-grid .unit-card {display:flex;flex-direction:column;min-width:0;overflow:hidden}
.v6-org-grid .unit-head {border:0;background:transparent;width:100%;text-align:right;color:var(--ink);padding:17px;display:flex;align-items:center;gap:12px}
.v6-org-grid .unit-head b {font-size:15px;line-height:1.65;font-weight:900}
.v6-org-grid .unit-head small {font-size:10px;display:block;font-weight:500;color:var(--muted)}
.v6-org-grid .unit-head:hover,.v6-org-grid .unit-head:focus-visible{background:var(--soft);outline:none}
.v6-org-grid .unit-branches {border-top:1px solid var(--line);max-height:380px;overflow:auto;padding:8px 12px;flex:1}
.v6-org-branch {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;border-radius:9px;cursor:pointer;font-size:12px;color:#57728e}
.v6-org-branch span {line-height:1.75;min-width:0}
.v6-org-branch small {white-space:nowrap;font-size:10px;color:#8ea6be}
.v6-org-branch:hover,.v6-org-branch:focus-visible {background:var(--soft);color:var(--blue);outline:none}
.v6-org-branch.level-0 {font-weight:800;color:var(--blue2);background:rgba(45,114,181,.035);margin:4px 0}
.v6-org-branch.level-1 {padding-right:23px;font-weight:600}
.v6-org-branch.level-2 {padding-right:38px;font-weight:500}
.v6-project-link {margin:10px 14px 15px;white-space:normal;text-align:center;min-height:35px}
.v6-org-details .panel-head h3 {font-size:17px;margin:5px 0}
.v6-summary{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0}
.v6-summary span{display:inline-flex;padding:7px 13px;border-radius:9px;background:var(--soft);color:var(--blue);font-size:12px;font-weight:700}
.v6-meeting-tools {display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start;margin-bottom:16px}
.v6-directory-toolbar {display:flex;align-items:center;gap:12px;padding-bottom:15px;border-bottom:1px solid var(--line)}
.v6-directory-toolbar input{flex:1;min-width:0;max-width:700px;padding:11px 13px}
.v6-member-row[hidden]{display:none}
.v6-member-row{gap:15px}
.v6-account-summary,.v6-profile-avatar{display:flex;align-items:center;gap:14px;margin:12px 0 22px}
.v6-account-summary h3 {margin:0}.v6-account-summary p{margin:5px 0}
.v6-details-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0;font-size:12px}
.v6-details-grid b {font-size:12px}
.v6-stack {display:flex;flex-direction:column;gap:13px}
.v6-stack .form-item input {width:100%}
.v6-report-controls{display:flex;align-items:end;flex-wrap:wrap;gap:13px}
.v6-report-controls label{display:grid;gap:7px;font-size:11px;font-weight:650}
.v6-report-controls input,.v6-report-controls select{min-width:150px;padding:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:10px}
.v6-report-row{display:grid;grid-template-columns:minmax(170px,1.3fr) 110px minmax(120px,1fr) 75px;align-items:center;gap:12px;padding:11px 4px;border-bottom:1px solid var(--line)}
.v6-report-row b{font-size:12px}.v6-report-row span,.v6-report-row small{font-size:11px;color:var(--muted)}
.v6-progress{height:9px;border-radius:8px;background:var(--soft);overflow:hidden}
.v6-progress i{height:100%;display:block;background:var(--blue);border-radius:8px}
.v6-report-text{font:13px/2.15 'IRANSansFaNum',Tahoma,sans-serif;direction:rtl;white-space:pre-wrap;word-break:break-word;background:var(--bg);border:1px solid var(--line);padding:20px;border-radius:12px;color:var(--ink);max-height:480px;overflow:auto}
.v6-chat-compose{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:12px;border-top:1px solid var(--line)}
.v6-chat-compose textarea{flex:1;min-width:210px;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--ink);padding:9px;min-height:55px;resize:vertical}
.v6-mention-menu{display:flex;gap:5px;flex-wrap:wrap;border:1px solid var(--line);padding:9px;background:var(--soft);max-height:160px;overflow:auto}
.v6-mention-menu[hidden]{display:none}.v6-file-link{display:inline-flex;align-items:center;gap:7px;padding:8px;border:1px solid var(--line);border-radius:8px;margin:8px 0;color:var(--blue);background:var(--soft)}
.project-tabs button,.project-tabs .tab,.project-nav button,.project-subnav button {font-size:13px!important;font-weight:800!important}
@media(max-width:1150px){.v6-org-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){.v6-org-grid,.v6-details-grid{grid-template-columns:1fr}.v6-report-row{grid-template-columns:1.3fr 70px}.v6-report-row .v6-progress{grid-column:1/3}.v6-chat-compose textarea{width:100%}.v6-org-grid .unit-branches{max-height:220px}}
.workspace-tabs .workspace-tab{font-size:14px!important;font-weight:800!important;padding:12px 15px!important}
