/* R80: project identity, readable menus, source files and repeatable grouping. */
.topbar .brand{gap:8px;min-width:150px;max-width:196px}
.r80-brand-label{display:flex;flex-direction:column;gap:2px;min-width:0}
.r80-brand-label>div{display:flex;align-items:center;gap:7px}
.topbar .brand-title{font-size:13px;line-height:16px}
#p109ModeSwitch{background:#eef4f8;border:0;border-radius:4px;color:#70889c;font-size:10px;line-height:16px;padding:0 5px;cursor:pointer}
#p109CurrentProject{display:block;max-width:154px;padding:0;border:0;background:transparent;text-align:left;font-size:13px;line-height:18px;font-weight:650;color:#2b6899;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}
#p109CurrentProject:hover{text-decoration:underline}
.top-global-actions .import-popover{min-width:326px;max-height:calc(100dvh - 80px);overflow:auto;padding:9px}
.import-popover .import-menu-row{font-size:15px;gap:12px;padding:10px 9px}
.import-popover .import-menu-row button{font-size:14px;min-height:34px;padding:5px 10px}
.system-menu{min-width:270px}
.system-menu button{font-size:14px;line-height:1.5;min-height:40px;white-space:normal}
.system-menu-caption{font-size:13px;padding:8px 12px}
.r80-required{font-size:10px;font-weight:500;color:#8a9aab;margin-left:4px}
.r80-mapping-hint{font-size:14px;color:#8c734e;margin:12px 0;line-height:1.6}
.r80-import-queue{display:flex;align-items:center;justify-content:space-between;background:#eff6fb;padding:12px 26px;color:#527591;font-size:14px}
.r80-import-queue button{border:0;background:transparent;color:#3576aa;cursor:pointer;font-size:14px}
.r80-record-views{display:flex;gap:6px;margin:12px 0 20px;border-bottom:1px solid #e3eaf0;padding-bottom:12px}
.r80-record-views button{border:0;border-radius:7px;background:transparent;color:#7a8f9f;padding:9px 18px;font-size:14px;cursor:pointer}
.r80-record-views button.active{background:#eaf3fa;color:#286d9f;font-weight:650}
.r80-source-intro{display:flex;justify-content:space-between;gap:16px;color:#8395a5;font-size:13px;margin-bottom:12px}
.r80-source-intro span:first-child{color:#425e76;font-size:15px;font-weight:600}
.r80-source-list{display:flex;flex-direction:column;gap:10px}
.r80-source-row{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid #e0e9f0;border-radius:11px;padding:19px 20px}
.r80-file-symbol{color:#719bbd;font-size:24px;flex-shrink:0}
.r80-source-name{flex:1;min-width:0}
.r80-source-name>button,.r80-file-link{border:0;background:transparent;text-align:left;color:#3373a5;cursor:pointer;font-size:15px;padding:0;overflow-wrap:anywhere}
.r80-source-name>button{font-weight:650}
.r80-source-name>button:hover,.r80-file-link:hover{text-decoration:underline}
.r80-cell-sources{font-size:11px;white-space:normal;margin-left:7px;border:0;border-radius:4px;background:#eff5f9;color:#5f819b;padding:2px 5px;cursor:pointer}
.r80-source-name p{font-size:13px;color:#8b9ba9;margin:7px 0 0}
.r80-source-actions{display:flex;gap:8px;flex-shrink:0}
.r80-source-actions button,.r80-preview-toolbar button,.r80-files-panel footer button{font-size:14px;border:1px solid #d6e4ee;background:#fff;border-radius:7px;padding:8px 12px;color:#3f779f;cursor:pointer}
.r80-tree-file{display:flex;width:100%;border:0;background:none;text-align:left;cursor:pointer;color:inherit;font:inherit;padding:5px 0}
.r80-tree-file:hover{background:#eaf3fa}
.r80-tree-open{margin-left:auto;border:0;border-radius:4px;background:#edf4f9;color:#4a7c9d;font-size:11px;padding:2px 5px;cursor:pointer}
.r80-tree-root{display:flex;width:100%;align-items:center;border:0;background:none;text-align:left;cursor:pointer;padding:5px 0}
.r70-project-facts>button{display:flex;align-items:center;justify-content:space-between;flex:1;gap:16px;border:0;border-right:1px solid #e5edf3;background:transparent;padding:13px 18px;cursor:pointer;color:inherit;font:inherit}
.r70-project-facts>button:hover{background:#edf5fb}
.r70-project-facts>button em{font-style:normal;color:#7d92a4;font-size:13px}
.r70-project-facts>button strong{font-size:19px;color:#325a77}
.r73-assign-tools{gap:8px;flex-wrap:wrap}
.r73-assign-tools #r68BulkGroup{flex:1;min-width:100px;max-width:210px}
#r80ClearPeople{background:transparent;border-color:transparent;color:#7c91a2;font-size:12px;cursor:pointer}
.r73-person-row .r73-group-tag{color:#7890a3;background:#f1f6f9;padding:4px 8px;border-radius:5px;font-size:12px;justify-self:start;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.r15-punch-stack i.unknown{height:4px;background:#8595a4;border-radius:50%}
.evidence-direction.unknown{background:#edf1f4;color:#758595}
.r80-mode-panel{width:min(760px,96vw);background:#fff;border:1px solid #e1e9f0;border-radius:20px;box-shadow:0 24px 90px #233c512d;overflow:hidden}
.r80-mode-panel>header{display:flex;justify-content:space-between;align-items:center;padding:30px 32px 16px}
.r80-mode-panel h2{margin:0;font-size:25px;color:#29465e;font-weight:650}
.r80-mode-panel p{margin:9px 0;color:#8495a3;font-size:15px;line-height:1.6}
.r80-mode-panel header>button{font-size:26px;border:0;background:none;color:#8c9fad;cursor:pointer}
.r80-mode-choices{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:12px 32px 36px}
.r80-mode-choices>button{display:flex;align-items:flex-start;flex-direction:column;text-align:left;gap:17px;padding:26px 24px;min-height:220px;border:1px solid #dce8f1;border-radius:14px;background:#f8fbfd;cursor:pointer;color:#71899c;font-size:14px;line-height:1.7}
.r80-mode-choices>button:hover{background:#eff7fc;border-color:#9dc5e0}
.r80-mode-choices>button strong{font-size:21px;color:#305c7d}
.r80-mode-symbol{font-size:30px;color:#6e9abc;line-height:1}
.r80-work-actions{padding:10px 32px 25px;display:grid;gap:12px}
.r80-work-actions button{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e1eaf1;background:#f9fbfd;border-radius:11px;padding:22px;text-align:left;cursor:pointer;color:#8a9ba8;font-size:14px}
.r80-work-actions strong{font-size:17px;color:#346b94}
.r80-mode-panel>footer{display:flex;justify-content:space-between;padding:18px 32px;border-top:1px solid #e7edf3}
.r80-mode-panel>footer button{background:none;border:0;color:#6687a1;font-size:14px;padding:7px;cursor:pointer}
.r80-files-overlay{z-index:10060}
.r80-files-panel{width:min(1100px,96vw);height:min(800px,92dvh);display:flex;flex-direction:column;background:white;border:1px solid #dbe5ed;border-radius:16px;box-shadow:0 24px 80px #203a5033;overflow:hidden;font-size:14px;color:#405a6e}
.r80-files-panel>header{display:flex;justify-content:space-between;gap:20px;padding:22px 26px;border-bottom:1px solid #e5edf3}
.r80-files-panel>header>div{min-width:0}
.r80-files-panel h2{font-size:20px;color:#2d4f69;overflow-wrap:anywhere;margin:0 0 10px}
#r80FilesClose{align-self:flex-start;border:0;background:none;font-size:26px;color:#849bad;cursor:pointer}
.r80-file-crumbs{display:flex;gap:7px;align-items:center;flex-wrap:wrap;color:#a5b3be;font-size:13px}
.r80-file-crumbs button{border:0;background:none;color:#5585a6;cursor:pointer;font-size:13px;padding:2px;overflow-wrap:anywhere;text-align:left}
.r80-file-body{flex:1;min-height:0;overflow:auto;padding:20px 26px}
.r80-files-panel>footer{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:14px 26px;border-top:1px solid #e5edf3;color:#8799a7;font-size:13px}
.r80-directory-list{display:flex;flex-direction:column}
.r80-directory-list>button{display:flex;align-items:center;gap:15px;text-align:left;border:0;border-bottom:1px solid #edf2f6;background:white;font-size:14px;color:#7990a1;padding:14px 10px;cursor:pointer}
.r80-directory-list>button:hover{background:#f2f8fc}
.r80-directory-list strong{flex:1;font-weight:500;color:#3c5e78;overflow-wrap:anywhere}
.r80-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;padding-bottom:16px;color:#7c92a3;font-size:13px;flex-wrap:wrap}
.r80-preview-toolbar>div{display:flex;align-items:center;gap:10px}
.r80-preview-toolbar button:disabled{opacity:.4;cursor:default}
.r80-original-grid{overflow:auto;border:1px solid #e2eaf1;border-radius:8px}
.r80-original-grid table{border-collapse:collapse;font-size:14px;min-width:100%;white-space:nowrap}
.r80-original-grid :is(td,th){padding:11px 15px;border-bottom:1px solid #eaf0f5;text-align:left;font-weight:400}
.r80-original-grid th{background:#f3f7fa;color:#8298a8}
.r80-original-grid tbody tr:first-child td{background:#f7fafd;color:#53748e;font-weight:600}
.r80-text-preview{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;font-size:14px;color:#466176;margin:0}
@media(max-width:1366px){.topbar .brand{min-width:142px;max-width:156px}.topbar #p109CurrentProject{max-width:122px}}
@media(max-width:760px){.r80-mode-choices{gap:12px;padding:10px 20px 24px}.r80-mode-choices>button{padding:18px 15px}.r80-mode-panel>header{padding:22px 20px 12px}.r80-work-actions{padding:10px 20px 20px}.r80-work-actions button{align-items:flex-start;flex-direction:column}.r80-source-row{flex-wrap:wrap}.r80-source-actions{margin-left:auto}.r80-file-body{padding:15px}.r80-source-intro{flex-wrap:wrap}}
