:root{--ink:#14262e;--dark:#0e2026;--dark2:#173037;--mint:#66d9b2;--teal:#078b76;--muted:#6f8188;--line:#e7eef0;--bg:#f5f8f9;--white:#fff;--shadow:0 12px 40px rgba(17,38,44,.035)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}body{background:var(--bg)}a{text-decoration:none;color:inherit}button,input,textarea,select{font:inherit}button{cursor:pointer}.shell{min-height:100vh;display:flex}.sidebar{width:260px;background:var(--dark);color:#e7f3f0;position:sticky;top:0;min-height:100vh;max-height:100vh;display:flex;flex-direction:column;padding:30px 20px;flex-shrink:0}.logo{font-size:26px;font-weight:800;letter-spacing:-1.4px;color:inherit;display:flex;align-items:center;gap:9px}.logo-mark{font-weight:400;font-size:28px;background:rgba(102,217,178,.13);border:1px solid rgba(102,217,178,.25);color:var(--mint);width:40px;height:40px;text-align:center;line-height:39px;border-radius:11px}.logo-accent{color:var(--mint)}.side-label{font-size:10px;letter-spacing:2px;color:#6d898c;font-weight:700;margin:65px 12px 17px}.nav{display:grid;gap:7px}.nav-link{color:#b4c4c5;padding:13px 12px;border-radius:9px;display:flex;gap:12px;align-items:center;font-size:14px}.nav-link:hover{background:#1f3a40;color:#fff}.nav-link span{padding-left:3px}.sidebar-bottom{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid #294148;padding-top:19px}.avatar,.member-initial{display:grid;place-items:center;background:rgba(102,217,178,.17);color:var(--mint);font-weight:750;border-radius:12px;height:35px;width:35px}.sidebar-bottom div:nth-child(2){min-width:0;flex:1}.sidebar-bottom strong{font-size:12px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-bottom small{font-size:11px;display:block;color:#85a1a2;margin-top:3px}.sign-out{color:#bbd3d0;background:none;border:0;font-size:25px;padding:6px}.main-area{flex:1;min-width:0}.topbar{height:74px;border-bottom:1px solid var(--line);background:var(--white);display:flex;justify-content:space-between;align-items:center;padding:0 49px}.topbar-title{color:#7d9096;font-size:13px}.pill{font-size:10px;background:#e8faf3;border-radius:30px;color:#168268;font-weight:800;padding:9px 12px;letter-spacing:.6px}.pill.pale{background:#f1f5f6;color:#74848a}.content{max-width:1280px;margin:0 auto;padding:45px 49px 70px}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:30px}.eyebrow{font-weight:800;font-size:11px;color:var(--mint);letter-spacing:2px}.eyebrow.dark{color:var(--teal)}h1{font-size:36px;letter-spacing:-1.6px;margin:10px 0 8px}h2{font-size:18px;letter-spacing:-.4px;margin:0}h3{font-size:17px;margin:0}.muted{font-size:14px;color:var(--muted);margin:4px 0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;border-radius:10px;padding:13px 18px;font-size:13px;font-weight:700;border:1px solid transparent;transition:transform .16s,background .16s}.btn:hover{transform:translateY(-1px)}.btn.primary{background:#0d8c75;color:#fff}.btn.primary:hover{background:#096d5c}.btn.subtle{background:#f1f5f6;border-color:#e7edee;color:#435a62}.btn.wide{width:100%;justify-content:space-between;margin-top:23px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:36px}.metric{background:#fff;border:1px solid var(--line);padding:25px 24px;border-radius:13px;box-shadow:var(--shadow);min-height:121px}.metric span{display:block;font-size:12px;color:var(--muted)}.metric strong{display:block;font-size:32px;letter-spacing:-1px;margin-top:13px}.metric strong.metric-label{font-size:17px;letter-spacing:-.3px;margin-top:17px}.section-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 13px}.small-note{font-size:11px;color:#85979c}.project-list{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:var(--shadow)}.project-row{display:flex;align-items:center;padding:20px 24px;gap:16px;border-bottom:1px solid #edf1f2;transition:background .16s}.project-row:hover{background:#f9fcfc}.project-row:last-child{border-bottom:0}.project-icon{width:45px;height:45px;display:grid;place-items:center;background:#e9f6f2;color:#0e947c;border-radius:12px;font-size:22px}.project-info{flex:1;min-width:0}.project-info strong{font-size:15px;display:block}.project-info span{font-size:12px;color:var(--muted);display:block;margin-top:6px}.status{display:inline-block;border-radius:30px;padding:8px 12px;font-size:11px;font-weight:700;white-space:nowrap;background:#eaf5f3;color:#187b67}.status-planning{background:#f2f2ff;color:#6661a8}.status-completed{background:#edf2f4;color:#607782}.status-hold{background:#fff2e3;color:#a97825}.chevron{margin-left:15px;color:#8ba09f}.empty-state{background:#fff;border:1px dashed #cad9dc;border-radius:14px;padding:55px;text-align:center}.empty-icon{margin:auto auto 15px;width:60px;height:60px;border-radius:17px;background:#eaf5f1;display:grid;place-items:center;font-size:30px;color:#0d8c75}.empty-state p{font-size:13px;color:var(--muted);max-width:450px;margin:12px auto 24px;line-height:1.7}.notice{margin-top:28px;display:flex;gap:13px;align-items:flex-start;font-size:12px;background:#eff6f7;color:#586e74;border-left:3px solid #7bb6b0;padding:17px 19px;border-radius:7px}.notice strong{white-space:nowrap;color:#3c6262}.flash{padding:13px 16px;border-radius:8px;background:#e0f8ed;border:1px solid #b8eacf;color:#196a54;margin-bottom:20px;font-size:13px}.crumb{font-size:12px;color:#82969a;display:flex;align-items:center;gap:9px;margin-bottom:20px}.crumb a{color:#2b9a84}.editor-card,.panel{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.editor-card{max-width:740px;padding:28px 32px}.field{margin-bottom:22px}.field label{display:block;font-size:12px;color:#49616a;font-weight:700;margin-bottom:8px}.required{color:#d06748}.field input,.field select,.field textarea{display:block;width:100%;border:1px solid #d8e2e5;border-radius:9px;padding:12px 13px;color:#243e46;background:#fff;outline:none;font-size:14px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#25a189;box-shadow:0 0 0 3px rgba(24,164,133,.1)}.actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:22px;margin-top:6px}.field-error,.form-errors{font-size:12px;color:#a52f2f;margin:7px 0}.detail-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:20px}.detail-main,.detail-side{display:grid;align-content:start;gap:20px}.panel{padding:26px}.panel-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:22px}.detail-fields{display:grid;grid-template-columns:1fr 1fr;gap:25px}.detail-fields label{font-size:11px;display:block;color:#7c9396;margin-bottom:5px}.detail-fields strong{font-size:14px}.overview-description{line-height:1.7;font-size:13px;color:#627a80}.feature-placeholder{text-align:center;padding:28px 12px 36px;color:#81969a}.feature-placeholder div{font-size:40px;color:#0e987c}.feature-placeholder h3{color:#244851;margin:10px 0}.feature-placeholder p{font-size:13px;max-width:370px;margin:9px auto;line-height:1.65}.member{display:flex;align-items:center;gap:11px;margin:14px 0}.member-initial{flex-shrink:0;background:#e8f5f0;color:#0d8971}.member strong{display:block;font-size:12px}.member small{display:block;font-size:11px;color:#81959a;margin-top:2px}.text-link{font-size:12px;color:#087d68;display:inline-block;margin-top:16px;font-weight:750}.side-notice{margin-top:0;flex-direction:column}.login-layout{display:grid;grid-template-columns:1.03fr 1fr;min-height:100vh}.login-brand{padding:45px 62px;background:#10242b;color:#fff;display:flex;flex-direction:column;min-height:100vh}.login-brand-body{margin:auto 0;padding:60px 0}.login-brand-body h1{font-size:clamp(43px,5vw,72px);letter-spacing:-3px;line-height:1.11;margin:27px 0 25px}.login-brand-body h1 em{font-style:normal;color:var(--mint)}.login-brand-body p{color:#b4cacb;line-height:1.8;font-size:15px;max-width:460px}.brand-footer{font-size:10px;letter-spacing:1.4px;color:#819da0;font-weight:700}.login-panel{display:flex;align-items:center;justify-content:center;background:#f9fbfc;padding:35px}.login-card{width:min(100%,390px)}.login-card h2{font-size:32px;letter-spacing:-1.4px;margin:12px 0}.login-card>.muted{margin-bottom:33px}.login-card label{display:block;font-size:12px;font-weight:750;margin:22px 0 9px}.login-card input{width:100%;padding:14px 13px;border-radius:8px;border:1px solid #dce5e8;outline:none;background:#fff}.login-card input:focus{border-color:#0d8c75;box-shadow:0 0 0 3px #d2f4e9}.login-small{font-size:11px;color:#8fa0a4;margin-top:23px;text-align:center;line-height:1.5}
@media(max-width:900px){.sidebar{width:212px;padding:22px 14px}.content{padding:35px 25px}.topbar{padding:0 25px}.login-brand{padding:35px}.login-brand-body h1{letter-spacing:-2px}}
@media(max-width:720px){.shell{display:block}.sidebar{height:auto;max-height:none;min-height:0;width:100%;position:relative;padding:14px 20px;flex-direction:row;align-items:center;gap:10px}.sidebar .logo{font-size:21px}.sidebar .logo-mark{height:33px;width:33px;line-height:32px;font-size:22px}.side-label,.sidebar-bottom,.nav-link span,.topbar-title{display:none}.nav{margin-left:auto;display:flex}.nav-link{padding:9px}.topbar{height:45px;justify-content:flex-end}.content{padding:25px 18px}.page-heading{align-items:flex-start}.page-heading h1{font-size:29px}.metrics{grid-template-columns:1fr 1fr}.metric:last-child{grid-column:span 2}.project-row{padding:16px 12px}.status{font-size:10px}.project-info span{line-height:1.5}.detail-grid{grid-template-columns:1fr}.login-layout{grid-template-columns:1fr}.login-brand{min-height:0;padding:24px 25px}.login-brand-body{padding:30px 0}.login-brand-body h1{font-size:40px}.login-brand-body p{font-size:13px}.brand-footer{display:none}.login-panel{min-height:500px}.section-bar .small-note{display:none}.notice{flex-direction:column}}
@media(max-width:410px){.metrics{grid-template-columns:1fr}.metric:last-child{grid-column:auto}.page-heading{flex-direction:column}.project-row .status{display:none}}

.filter-row{display:flex;gap:12px;align-items:center;margin:20px 0 22px;flex-wrap:wrap}.filter-row label{font-size:12px;color:var(--muted)}.filter-row input{min-width:220px;flex:1;max-width:500px;padding:12px;border:1px solid #d8e2e5;border-radius:9px}.doc-table{width:100%;border-collapse:collapse;font-size:13px;background:#fff}.doc-table th{text-align:left;font-size:11px;letter-spacing:.3px;color:#648087;background:#f1f7f7}.doc-table th,.doc-table td{padding:17px;border-bottom:1px solid #e7eff1;vertical-align:top}.doc-table td small{display:block;color:var(--muted);font-size:11px;margin-top:7px}.doc-link{color:#087d68;font-weight:750}.doc-link:hover{text-decoration:underline}.table-scroll{overflow-x:auto;background:#fff;border:1px solid #e7eef0;border-radius:13px}.form-section{padding-top:20px;margin-bottom:24px}.editor-card h2{margin-bottom:12px}.footnote{margin-top:18px}

/* PlotBrix 0.3 — document drop zones and bulk upload review */
[hidden]{display:none!important}
.bulk-panel{background:#fff;border:1px solid #cbe7dd;border-radius:15px;box-shadow:var(--shadow);padding:26px;margin:23px 0 27px}
.bulk-panel-heading{margin-bottom:17px}.bulk-panel-heading h2{font-size:21px;margin:6px 0 9px}
.drop-zone{background:#f3fbf8;border:2px dashed #80b9ab;border-radius:14px;min-height:170px;padding:24px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;text-align:center;color:#33595a;cursor:pointer;transition:background .16s,border-color .16s;outline:none}
.drop-zone:hover,.drop-zone:focus-visible,.drop-zone.drag-active{background:#dcf7eb;border-color:#0a9274;box-shadow:0 0 0 3px rgba(16,147,113,.1)}
.drop-zone strong{font-size:17px;color:#19473f}.drop-zone span{font-size:13px}.drop-zone small{font-size:11px;color:#6a8385}
.drop-zone-icon{font-size:38px!important;line-height:1;color:#00856d}.drop-zone-link{color:#087d68;text-decoration:underline;font-weight:800}
.bulk-feedback{border-radius:9px;background:#ecfbf4;border:1px solid #b9e7d2;padding:13px 15px;margin-top:15px;font-size:13px;color:#21694f;line-height:1.5}
.bulk-feedback.is-error{background:#fff3f0;border-color:#efcebf;color:#a44230}
.bulk-review-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:25px 0 13px}
.bulk-file-rows{display:grid;gap:14px}
.bulk-file-card{border:1px solid #dbe7e8;border-radius:12px;padding:18px;background:#fbfdfd}
.bulk-file-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.bulk-file-name{display:flex;align-items:center;gap:11px;min-width:0}
.bulk-file-name strong{font-size:13px;display:block;overflow-wrap:anywhere}.bulk-file-name small{font-size:11px;display:block;color:#798d91;margin-top:4px}
.bulk-pdf-tag{flex-shrink:0;font-size:10px;font-weight:900;color:#a43d3d;background:#ffefef;border-radius:6px;padding:10px 8px}
.bulk-remove{background:transparent;color:#a04444;border:0;cursor:pointer;font-size:12px;font-weight:700;text-decoration:underline;padding:8px}
.bulk-remove:focus-visible{outline:2px solid #0b8e75;outline-offset:3px}
.bulk-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.bulk-field span{display:block;font-weight:700;font-size:11px;color:#49616a;margin-bottom:6px}
.bulk-field input,.bulk-field select{display:block;width:100%;min-width:0;font:inherit;font-size:13px;padding:10px;border:1px solid #d8e2e5;border-radius:8px;background:#fff}
.bulk-field input:focus,.bulk-field select:focus{border-color:#0d8c75;outline:2px solid #d2f4e9}
.bulk-row-error{margin:14px 0 0;background:#fff0ec;border-left:3px solid #ba4d3d;padding:9px 11px;font-size:12px;line-height:1.5;color:#9a392d}
.bulk-actions{display:flex;justify-content:flex-end;gap:10px;margin:16px 0 10px}.bulk-actions .btn:disabled{opacity:.55;cursor:wait}
.single-drop-zone{margin:8px 0 6px;min-height:155px;position:relative}
.single-drop-zone input[type=file]{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none;overflow:hidden;padding:0;border:0}
@media(max-width:900px){.bulk-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.bulk-panel{padding:15px}.bulk-fields{grid-template-columns:1fr}.bulk-review-heading{display:block}.bulk-file-card{padding:13px}}


/* PlotBrix 0.3.2 — upload transfer and server-confirmation feedback */
.upload-progress{margin:18px 0 15px;padding:17px 18px;border:1px solid #b9e3d3;
  background:#f2fbf7;border-radius:11px;color:#214e47}
.upload-progress-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-bottom:12px;font-size:13px}
.upload-progress-heading strong:last-child{font-variant-numeric:tabular-nums;font-size:15px}
.upload-progress progress{display:block;width:100%;height:14px;border:0;border-radius:20px;
  overflow:hidden;accent-color:#0e987c}
.upload-progress progress::-webkit-progress-bar{background:#deece7;border-radius:20px}
.upload-progress progress::-webkit-progress-value{background:#0e987c;border-radius:20px}
.upload-progress progress::-moz-progress-bar{background:#0e987c;border-radius:20px}
.upload-progress-detail{font-size:12px;line-height:1.55;color:#52726c;margin:11px 0 12px}
.upload-progress .upload-cancel{font-size:12px}
.upload-progress.is-error{background:#fff3f0;border-color:#edc5b9;color:#983c30}
.upload-progress.is-error .upload-progress-detail{color:#983c30}
.upload-progress.is-done{background:#eaf9f2;border-color:#a0dabe}
.upload-progress.is-processing progress{accent-color:#c28b38}
.upload-progress.is-processing progress::-webkit-progress-value{background:#c28b38}
.upload-progress.is-processing progress::-moz-progress-bar{background:#c28b38}
[aria-disabled="true"].drop-zone{cursor:wait;opacity:.68}
@media (max-width:560px){.upload-progress{padding:14px}}


/* v0.4: organisation / development / folder explorer */
.sidebar{overflow:hidden}
.tree-heading{margin:28px 12px 11px!important}
.workspace-tree{min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 2px 14px 0;margin-bottom:12px;scrollbar-color:#47666b transparent}
.workspace-org{margin-bottom:9px}
.workspace-org>summary,.workspace-dev>summary{display:block;cursor:pointer;list-style:none;border-radius:8px;line-height:1.4;overflow-wrap:anywhere}
.workspace-org>summary::-webkit-details-marker,.workspace-dev>summary::-webkit-details-marker,.tree-folder>summary::-webkit-details-marker{display:none}
.workspace-org>summary{font-size:12px;color:#c1d9d9;font-weight:800;padding:10px 8px}
.workspace-org>summary::before,.workspace-dev>summary::before{content:'▸';font-size:12px;display:inline-block;color:#85ada9;margin-right:7px}
.workspace-org[open]>summary::before,.workspace-dev[open]>summary::before{content:'▾'}
.tree-org-icon{color:var(--mint);padding-right:7px}
.workspace-dev{margin-left:10px}
.workspace-dev>summary{font-size:12px;font-weight:700;color:#adc9c9;padding:8px 5px}
.workspace-dev>summary:hover,.workspace-org>summary:hover,.tree-folder>summary:hover{background:#203a40}
.workspace-dev-links{margin:1px 0 10px 9px;padding-left:8px;border-left:1px solid #345158}
.tree-link,.tree-folder>summary{display:block;color:#a7bfbe;font-size:12px;padding:9px 8px;border-radius:7px;line-height:1.25;overflow-wrap:anywhere}
.tree-folder>summary a{color:inherit;display:inline}
.tree-folder>summary::before{content:'▸';font-size:11px;margin-right:4px}
.tree-folder[open]>summary::before{content:'▾'}
.tree-link:hover,.tree-folder>summary a:hover,.tree-folder>summary:hover{background:#23433f;color:#fff}
.tree-link.is-current,.tree-folder>summary.is-current{background:#176052;color:#fff;font-weight:800}
.tree-children{margin-left:9px;border-left:1px solid #345158;padding-left:7px}
.sidebar-bottom{flex-shrink:0}
.folder-toolbar{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin:22px 0;flex-wrap:wrap}
.folder-crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:#7b9097;min-height:39px}
.folder-crumbs a{color:#0a8c77;font-weight:700}
.folder-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(185px,1fr));gap:12px;margin:15px 0 24px}
.folder-card{display:flex;gap:12px;align-items:center;min-width:0;padding:16px;border-radius:12px;background:#fff;border:1px solid #e2edef;transition:background .15s, border-color .15s}
.folder-card:hover{background:#effaf6;border-color:#78c7b0}
.folder-card strong{font-size:13px;overflow-wrap:anywhere}
.folder-card-icon{color:#14947c;font-size:21px}
.folder-card-arrow{margin-left:auto;color:#8eb1aa}
.new-folder-control{position:relative}.new-folder-control>summary{list-style:none;cursor:pointer}
.new-folder-control>summary::-webkit-details-marker{display:none}
.new-folder-form{background:#fff;border:1px solid #d5e6e6;border-radius:12px;padding:16px;box-shadow:0 12px 28px rgba(14,42,45,.12);min-width:260px;position:absolute;right:0;top:48px;z-index:5;display:grid;gap:10px}
.new-folder-form label,.move-document-form label{font-size:12px;font-weight:750;color:#4d6870}
.new-folder-form input,.move-document-form select{padding:11px;border:1px solid #cededf;border-radius:8px;min-width:0;width:100%;font-size:13px}
.bulk-destination{font-size:12px;color:#49656a;background:#f4faf7;border-radius:8px;padding:10px 12px;margin:0 0 12px}
.move-document-panel{padding:17px 20px;border:1px solid #dfebea;background:white;border-radius:12px;margin:20px 0}
.move-document-panel .small-note{display:block;margin:12px 0 0}
.move-document-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.move-document-form select{width:auto;min-width:160px;max-width:390px;flex:1}
@media(max-width:720px){.sidebar{min-height:0;max-height:360px;flex-wrap:wrap;overflow:auto}.workspace-tree{width:100%;max-height:220px}.tree-heading{display:block!important;width:100%;margin:4px 0!important}.new-folder-form{position:static;min-width:220px}.folder-toolbar{display:block}.folder-cards{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}}


/* PlotBrix 0.5 — Viewpoint-style document explorer, original PlotBrix branding. */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pb-explorer{--pb-navy:#123a59;--pb-navy-dark:#082d4a;--pb-row:#f3f6f8;--pb-line:#dce5eb;background:#f1f4f7}
.pb-explorer .sidebar{width:340px;max-height:100vh;padding:14px 10px 12px;background:#e8f0f5;color:#18354c;border-right:1px solid #b9cbd6;transition:width .16s ease}
.pb-explorer .logo{font-size:25px;letter-spacing:-1.2px;color:#193a50;padding:3px 10px 10px}
.pb-explorer .logo-mark{background:#d5e7e5;color:#117e70;border:1px solid #b9dad5}
.pb-explorer .side-label{margin:10px 12px!important;font-size:10px;letter-spacing:1.2px;color:#5b7283}
.pb-explorer .nav{display:flex;gap:4px;padding:0 7px 8px;border-bottom:1px solid #c7d9e2}
.pb-explorer .nav-link{color:#254d65;border-radius:4px;padding:7px 9px;font-weight:600;font-size:12px}
.pb-explorer .nav-link:hover{background:#d3e3ed;color:#113c5c}
.pb-explorer .tree-heading{padding:10px 9px 7px!important;margin:0 0 3px!important;background:#123c60;color:#fff!important;font-size:11px!important}
.pb-explorer .workspace-tree{padding:2px 4px 12px;scrollbar-color:#a2bac9 transparent;flex:1;overflow-y:auto}
/* r6: keep navigation scrolling down to the very bottom of the viewport. */
.pb-explorer .sidebar{height:100dvh;max-height:100dvh;min-height:0;display:flex;flex-direction:column}
.pb-explorer .workspace-tree{min-height:0;flex:1 1 0;overflow-y:auto;overscroll-behavior:contain}
.pb-explorer .pb-grid-type,.pb-explorer .pb-grid [data-col="type"]{text-align:left}
.pb-v09911-copy-to-all{display:inline-block;align-self:flex-start;margin-top:2px;padding:2px 0;
  background:transparent;border:0;color:#087e70;font-size:11px;font-weight:700;text-decoration:underline}
.pb-v09911-copy-to-all:hover{color:#07564f}
.pb-download-share-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}
.pb-report-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:9px}
.pb-report-controls .btn{padding:7px 10px;font-size:11px}
.pb-plots-summary{display:flex;align-items:center;gap:7px}
.pb-plots-summary>a{flex:1;min-width:0}
.pb-plots-actions-button{border:0;background:transparent;color:#487166;opacity:0;padding:3px 7px;
  border-radius:6px;font-weight:700;font-size:17px}
.pb-plots-summary:hover .pb-plots-actions-button,.pb-plots-summary:focus-within .pb-plots-actions-button{opacity:1}
.pb-explorer .workspace-org{margin-bottom:0}
.pb-explorer .workspace-org>summary{background:#0b3354;color:#fff;font-size:13px;font-weight:750;border-radius:3px;padding:9px 10px;line-height:1.4}
.pb-explorer .workspace-dev{margin:0 0 2px 10px}
.pb-explorer .workspace-dev>summary{padding:10px 9px;border-radius:2px;font-size:12px;font-weight:700;color:#133c5c}
.pb-explorer .workspace-org>summary:hover{background:#16466b}
.pb-explorer .workspace-dev>summary:hover,.pb-explorer .tree-folder>summary:hover,.pb-explorer .tree-link:hover{background:#d7e7f2;color:#104269}
.pb-explorer .workspace-dev-links{margin:0 0 5px 13px;padding-left:9px;border-left:1px solid #bad0dc}
.pb-explorer .tree-link,.pb-explorer .tree-folder>summary{padding:7px 8px;font-size:12px;color:#294f68;border-radius:3px;line-height:1.25}
.pb-explorer .tree-children{border-left-color:#b5cfdd;margin-left:10px}
.pb-explorer .tree-link.is-current,.pb-explorer .tree-folder>summary.is-current{background:#bcd9eb;color:#064978;font-weight:800}
.pb-explorer .tree-org-icon{color:#99e5cf}
.pb-explorer .sidebar-bottom{border-top:1px solid #c0d5df;padding:9px 8px 0;color:#23485f}
.pb-explorer .sidebar-bottom small{color:#668195}
.pb-explorer .sign-out{color:#315d77}
.pb-explorer .avatar{background:#d0ebe0;color:#176655}
.pb-explorer .topbar{height:56px;padding:0 20px;border-bottom:1px solid #d6e3ec}
.pb-explorer .topbar-left,.pb-explorer .topbar-right{display:flex;align-items:center;gap:15px}
.pb-explorer .topbar-title{font-size:12px;color:#45667b}
.pb-explorer .topbar-user{font-size:12px;color:#507187}
.pb-explorer .pill{font-size:9px;padding:6px 9px}
.pb-explorer .tree-toggle{border:0;border-radius:4px;background:transparent;color:#274b63;font-size:23px;padding:4px 10px;line-height:1;cursor:pointer}
.pb-explorer .tree-toggle:hover{background:#e9f2f7}
.pb-explorer.pb-tree-hidden .sidebar{width:0;padding:0;border-width:0;visibility:hidden}
.pb-explorer .main-area{min-width:0;display:flex;flex-direction:column}
.pb-explorer .content{padding:0;max-width:none;width:100%;margin:0;flex:1}
.pb-explorer .content .flash{margin:10px 15px}
.pb-explorer .pb-location{background:#e8eef3;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 18px;color:#415b70;font-size:11px;line-height:1.5;border-bottom:1px solid #d2dee5}
.pb-explorer .pb-location strong{color:#203b51}
.pb-explorer .pb-location a{color:#124a78;font-weight:600}
.pb-explorer .pb-location a[aria-current=page]{color:#0e6e95}
.pb-explorer .pb-workspace{margin:0;min-height:calc(100vh - 100px);background:#fff}
.pb-explorer .pb-workspace-head{padding:17px 20px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.pb-explorer .pb-overline{color:#687e91;font-size:9px;font-weight:800;letter-spacing:1.1px}
.pb-explorer .pb-workspace-head h1{font-size:22px;letter-spacing:-.4px;margin:3px 0}
.pb-explorer .pb-workspace-head p{font-size:11px;color:#758c9d;margin:2px 0}
.pb-explorer .pb-not-approved{font-size:9px;background:#fff8e9;border:1px solid #eedcb7;color:#8c671f;padding:8px 9px;white-space:nowrap;border-radius:4px;font-weight:700}
.pb-explorer .pb-tab-row{border-bottom:1px solid #dce5ed;display:flex;justify-content:space-between;align-items:end;padding:0 15px;gap:12px}
.pb-explorer .pb-tabs{display:flex;gap:5px;align-items:stretch;flex-wrap:wrap}
.pb-explorer .pb-tabs a{font-size:11px;font-weight:800;color:#5e6d77;padding:11px 13px;border-bottom:3px solid transparent}
.pb-explorer .pb-tabs a:hover,.pb-explorer .pb-tabs a.active{color:#0b5a8d;border-bottom-color:#237fb1}
.pb-explorer .pb-view-caption{font-size:10px;color:#7b8e9d;padding:10px 0;white-space:nowrap}
.pb-explorer .pb-actionbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:9px 12px;background:#fbfcfd;border-bottom:1px solid #dbe5ed}
.pb-explorer .pb-action{background:transparent;border:1px solid transparent;border-radius:4px;padding:8px 10px;display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:#30526d;white-space:nowrap;min-height:32px;cursor:pointer;transition:background .15s}
.pb-explorer .pb-action:hover{background:#e9f1f6;border-color:#ccdce7}
.pb-explorer .pb-action-primary{background:#e9f5ef;color:#146d53;border-color:#b9ddcb}
.pb-explorer .pb-action-spacer{flex:1}
.pb-explorer .pb-action-split{height:20px;width:1px;background:#d4e2e9;margin:0 4px}
.pb-explorer .pb-action:disabled{color:#a1b0b8;opacity:.6;cursor:not-allowed;background:transparent}
.pb-explorer .pb-selected-count{font-size:10px;color:#7790a0;padding:0 4px}
.pb-explorer .pb-folder-menu{position:relative}
.pb-explorer .pb-folder-menu summary{list-style:none}
.pb-explorer .pb-folder-menu summary::-webkit-details-marker{display:none}
.pb-explorer .pb-folder-menu .new-folder-form{top:38px;right:auto;left:0;box-shadow:0 14px 35px rgba(15,48,70,.18)}
.pb-explorer .pb-test-note{background:#fffaf0;border-bottom:1px solid #f2e3bb;padding:7px 18px;color:#866329;font-size:10px;line-height:1.45}
.pb-explorer .bulk-panel{margin:12px 16px;border:1px solid #d8e7e9;border-radius:8px;padding:17px;background:#f8fbfc}
.pb-explorer .pb-register-search{display:flex;align-items:flex-end;gap:9px;padding:12px 16px;flex-wrap:wrap;background:#f6f9fb;border-bottom:1px solid #d9e5ed}
.pb-explorer .pb-register-search label{display:block;font-size:10px;font-weight:700;color:#4d6679;margin-bottom:4px}
.pb-explorer .pb-register-search input,.pb-explorer .pb-register-search select{width:100%;height:35px;background:#fff;border:1px solid #c8d8e3;border-radius:4px;padding:6px 9px;font-size:12px;color:#23455b}
.pb-explorer .pb-search-input{flex:2;min-width:175px}
.pb-explorer .pb-search-status,.pb-explorer .pb-search-order{flex:1;min-width:140px}
.pb-explorer .pb-search-submit{height:35px;border:0;background:#125f8d;color:#fff;border-radius:4px;font-weight:750;font-size:12px;padding:0 16px}
.pb-explorer .pb-clear-search{font-size:11px;color:#116891;padding:9px}
.pb-explorer .pb-listing-title{display:flex;align-items:center;gap:12px;padding:12px 15px 8px}
.pb-explorer .pb-listing-title strong{color:#174d75;font-size:13px}
.pb-explorer .pb-listing-title span{color:#718798;font-size:11px}
.pb-explorer .pb-table-scroll{max-width:100%;overflow-x:auto}
.pb-explorer .pb-grid{width:100%;border-collapse:collapse;font-size:11px;table-layout:auto;white-space:nowrap}
.pb-explorer .pb-grid thead{background:#096b9d;color:#fff}
.pb-explorer .pb-grid th{padding:11px 10px;border-right:1px solid #4a9ac1;text-align:left;font-size:10px;font-weight:700;letter-spacing:.15px;white-space:nowrap}
.pb-explorer .pb-grid th a{color:#fff}
.pb-explorer .pb-grid th a span{font-size:10px;color:#aedbe9}
.pb-explorer .pb-grid td{padding:8px 10px;border-bottom:1px solid #e7edf2;border-right:1px solid #eff3f5;line-height:1.3;max-width:300px;text-overflow:ellipsis;overflow:hidden}
.pb-explorer .pb-grid tbody tr:nth-child(odd){background:#f4f6f8}
.pb-explorer .pb-grid tbody tr:hover{background:#eaf4fa}
.pb-explorer .pb-grid-select{text-align:center;width:28px;min-width:28px;padding-left:7px!important;padding-right:5px!important}
.pb-explorer .pb-grid-select input{cursor:pointer;accent-color:#0873a5;width:14px;height:14px}
.pb-explorer .pb-grid-type{text-align:center;width:48px;min-width:46px}
.pb-explorer .pb-folder-icon{font-size:15px}
.pb-explorer .pb-pdf-icon{font-size:8px;font-weight:800;border:1px solid #d27f7f;color:#b84242;border-radius:3px;background:#fff0f0;padding:4px 3px}
.pb-explorer .pb-grid-name{font-size:11px;color:#0c5785;font-weight:700}
.pb-explorer .pb-grid-name:hover{text-decoration:underline}
.pb-explorer .pb-cell-description{min-width:130px;max-width:260px}
.pb-explorer .pb-revision{font-size:11px}
.pb-explorer .pb-status-label{font-size:10px;color:#315c78;display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:148px;vertical-align:bottom}
.pb-explorer .pb-state{display:inline-block;padding:4px 7px;border-radius:20px;background:#e4f5e9;color:#32744d;font-size:10px}
.pb-explorer .pb-state-withdrawn{background:#fae8e8;color:#a54343}
.pb-explorer .pb-grid-open{text-align:right;white-space:nowrap}
.pb-explorer .pb-grid-open a{display:inline-block;padding:4px;color:#166a98;font-weight:750}
.pb-explorer .pb-folder-row{background:#eaf4f9!important}
.pb-explorer .pb-folder-description{color:#7a8b98;font-size:11px}
.pb-explorer .pb-grid-empty{text-align:center;padding:30px!important;color:#698293}
.pb-explorer .pb-register-foot{font-size:11px;padding:15px;color:#81909a;border-top:1px solid #e4edf2}
.pb-explorer.pb-comfortable .pb-grid td{padding-top:15px;padding-bottom:15px;font-size:12px}
.pb-explorer.pb-comfortable .pb-grid th{padding-top:14px;padding-bottom:14px}
@media(max-width:1100px){.pb-explorer .sidebar{width:290px}.pb-explorer .pb-grid{min-width:1000px}}
@media(max-width:720px){.pb-explorer{display:block}.pb-explorer .sidebar{position:relative;width:100%;height:auto;max-height:300px}.pb-explorer .topbar{padding:0 12px}.pb-explorer .topbar-title{display:none}.pb-explorer .pb-workspace-head{padding:12px}.pb-explorer .pb-location{padding:9px}.pb-explorer .pb-tab-row{flex-wrap:wrap}.pb-explorer .pb-action{padding:7px 6px}.pb-explorer .pb-not-approved{font-size:8px}.pb-explorer.pb-tree-hidden .sidebar{display:none}}

/* PlotBrix v0.6 — file icons, folder management and reorderable table columns */
.pb-explorer .pb-grid th[draggable=true]{cursor:grab;user-select:none;position:relative}
.pb-explorer .pb-grid th[draggable=true]:hover{background:#146f9e}
.pb-explorer .pb-grid th.pb-column-moving{opacity:.55}
.pb-explorer .pb-grid th.pb-column-target{box-shadow:inset 4px 0 0 #b2ecd6;background:#0b5079}
.pb-explorer .pb-grid-mouse{min-width:62px;width:65px;text-align:center!important;padding:5px!important}
.pb-explorer .pb-grid-type img{width:29px;height:33px;object-fit:contain;display:inline-block;vertical-align:middle}
.pb-explorer .pb-doc-actions-button,.pb-explorer .pb-folder-menu-button{border:1px solid transparent;background:transparent;border-radius:4px;color:#225c80;cursor:pointer;font-size:17px;line-height:1;padding:5px 7px}
.pb-explorer .pb-doc-actions-button:hover,.pb-explorer .pb-folder-menu-button:hover{background:#d9edf6;border-color:#b2cbd8}
.pb-explorer .pb-folder-grid-action{font-size:17px}
.pb-explorer .pb-root-row,.pb-explorer .pb-tree-node-row{display:flex;align-items:center;gap:3px;min-width:0;position:relative}
.pb-explorer .pb-root-row .tree-link,.pb-explorer .pb-tree-node-row > a{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-explorer .pb-tree-node-row > a{color:#1e526e;font-size:12px;text-decoration:none}
.pb-explorer .pb-tree-node-row .pb-folder-menu-button,.pb-explorer .pb-root-row .pb-folder-menu-button{flex:none;font-size:15px;opacity:.65;margin-left:auto}
.pb-explorer .pb-tree-node-row:hover .pb-folder-menu-button,.pb-explorer .pb-root-row:hover .pb-folder-menu-button{opacity:1}
.pb-explorer .pb-tree-node-row.is-current{background:#bcd9eb;color:#064978;font-weight:800}
.pb-explorer .pb-tree-node-row.is-current > a{color:#064978}
.pb-explorer .pb-tree-node[draggable=true],.pb-explorer .pb-folder-grid-target[draggable=true]{cursor:grab}
.pb-explorer .pb-tree-node.pb-folder-dragging,.pb-explorer .pb-folder-grid-target.pb-folder-dragging{opacity:.35}
.pb-explorer .pb-tree-node.pb-folder-drop-hover > .tree-folder > summary,
.pb-explorer .pb-tree-node.pb-folder-drop-hover > .pb-tree-node-row,
.pb-explorer .pb-root-row.pb-folder-drop-hover,
.pb-explorer .pb-folder-grid-target.pb-folder-drop-hover{background:#d1f1e0!important;outline:2px dashed #17865b;outline-offset:-2px}
.pb-floating-doc-menu,.pb-floating-menu{position:fixed;z-index:1100;background:#fff;border:1px solid #b4cbd8;border-radius:6px;box-shadow:0 14px 30px rgba(14,42,58,.22);min-width:190px;max-width:260px;padding:5px;display:flex;flex-direction:column}
.pb-floating-doc-menu a,.pb-floating-menu button{width:100%;display:block;padding:10px 12px;line-height:1.15;color:#25455c;font-size:12px;text-align:left;border:0;background:transparent;border-radius:4px;cursor:pointer;text-decoration:none}
.pb-floating-doc-menu a:hover,.pb-floating-menu button:hover{background:#e7f1f7;color:#10476c}
.pb-floating-menu[hidden]{display:none!important}
.pb-folder-dialog{max-width:min(95vw,460px);width:430px;border:1px solid #a8c5d7;border-radius:9px;box-shadow:0 20px 70px rgba(13,39,55,.32);padding:25px;background:#fff;color:#284a5d}
.pb-folder-dialog::backdrop{background:rgba(8,28,42,.45)}
.pb-folder-dialog h2{font-size:21px;margin:0 0 8px}
.pb-folder-dialog .field{margin-top:16px}
.pb-folder-dialog input,.pb-folder-dialog select{width:100%;height:38px;border:1px solid #a6c1d0;border-radius:5px;padding:7px;background:#fff;color:#173b52}
.pb-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}
.pb-folder-error{padding:8px;color:#a03535;background:#ffeded;border-radius:4px;font-size:12px;margin-top:10px}
.pb-folder-dialog [hidden],.pb-folder-error[hidden]{display:none!important}
.pb-activity{margin:22px 0 10px}
.pb-activity h2{font-size:18px}

.pb-upload-type-icon{width:28px;height:32px;object-fit:contain;display:inline-block;vertical-align:middle;flex:none}

/* PlotBrix v0.7: consistent explorer chrome and security administration. */
.pb-explorer .workspace-org>summary::before,.pb-explorer .workspace-dev>summary::before,
.pb-explorer .tree-folder>summary::before{font-size:20px!important;line-height:1;display:inline-block;min-width:16px;color:#15668a;margin-right:7px;vertical-align:middle}
.pb-explorer .workspace-org>summary::before{color:#c1e2e8}
.pb-explorer .pb-tree-node-row{min-height:32px}
.pb-explorer .pb-future-tab{font-size:11px;font-weight:800;color:#81909f;padding:11px 13px;border-bottom:3px solid transparent;cursor:default}
.pb-explorer .pb-security-nav{display:block;padding:8px 14px;margin:0 0 6px 16px;color:#185c85;font-size:11px;font-weight:700;border-bottom:1px solid #cfdfeb}
.pb-explorer .pb-security-nav:hover{background:#d7e7f2}
.pb-explorer .pb-security-page{padding:0 0 40px}
.pb-explorer .pb-security-page h2{font-size:17px;margin:24px 20px 12px;color:#18435f}
.pb-explorer .pb-security-page>.pb-table-scroll{margin:0 20px;border:1px solid #d8e5ec;border-radius:4px}
.pb-explorer .pb-security-toolbar{padding:12px 20px;display:flex;gap:10px;border-bottom:1px solid #e3edf1}
.pb-explorer .pb-security-editor{margin:18px 20px;max-width:1000px;border:1px solid #d8e6ee;padding:22px;background:#fff;border-radius:6px}
.pb-explorer .pb-security-editor .field{margin-bottom:12px}
.pb-explorer .pb-security-editor input[type=text],.pb-explorer .pb-security-editor input[type=password],.pb-explorer .pb-security-editor input[type=email]{min-width:260px;max-width:100%;border:1px solid #c5d7e3;padding:9px;border-radius:4px}
.pb-explorer .pb-security-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.pb-explorer .pb-security-grid section{border:1px solid #e0eaf0;border-radius:4px;padding:12px}
.pb-explorer .pb-security-grid h2{margin:0 0 5px}
.pb-explorer .pb-security-grid p{font-size:12px;color:#667f8c}
.pb-explorer .pb-security-editor ul{list-style:none;padding:0;max-height:260px;overflow:auto}
.pb-explorer .pb-security-editor li{margin-bottom:9px;font-size:12px}
.pb-explorer .pb-security-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:10px 0 20px}
.pb-explorer .pb-security-options label{font-size:13px;border:1px solid #dfeaf0;padding:9px;border-radius:4px}
.pb-explorer .pb-security-options input{width:16px;height:16px;vertical-align:middle;accent-color:#0c7c83}
.pb-explorer .pb-perm-summary{white-space:normal!important;min-width:220px}
.pb-explorer .pb-security-foot{margin:20px;font-size:12px;color:#597080}
.pb-explorer .pb-delete-group{margin:20px}
.pb-explorer .pb-text-button{background:none;border:0;color:#086594;text-decoration:underline;font-size:12px}
.pb-explorer .pb-developments-page .pb-table-scroll{margin:12px 20px}
@media(max-width:720px){.pb-explorer .pb-security-grid,.pb-explorer .pb-security-options{grid-template-columns:1fr}}
.pb-floating-doc-menu button{border:0;background:#fff;color:#99493d;font:inherit;text-align:left;width:100%;padding:9px 13px;cursor:pointer}
.pb-floating-doc-menu button:hover{background:#fff2ef}
.pb-floating-menu [hidden]{display:none!important}

/* v0.8 secure invitation UI */
.pb-invites .pb-invite-form{max-width:700px;margin:18px 0 30px}
.pb-invites .pb-security-toolbar{flex-wrap:wrap}
.pb-invite-public{min-height:100vh;background:#f5f8f9;padding:40px 18px;display:flex;align-items:center;flex-direction:column}
.pb-invite-logo{font-weight:800;font-size:30px;margin-bottom:25px}.pb-invite-logo span{color:#0d8c75}
.pb-invite-landing{max-width:650px;background:#fff;border:1px solid #e2ebeb;border-radius:14px;padding:32px;width:100%;margin:20px auto}
.pb-invite-landing h1{font-size:28px;margin:12px 0}.pb-invite-landing p{line-height:1.6}
.pb-invite-landing .field{display:grid;gap:8px;margin:16px 0}
.pb-invite-landing .field input{padding:12px;border:1px solid #cbd6d9;border-radius:8px;max-width:100%}
.pb-invite-signup ul{font-size:12px;color:#70858b;line-height:1.5}
.pb-invite-landing .btn{margin-top:10px}

/* =================== PlotBrix v0.91: original light brand =================== */
/* Teal, pine, warm amber & parchment; independent from Viewpoint's blue UI. */
.pb-explorer {
  --pb-navy: #16554c; --pb-navy-dark:#113d38; --pb-line:#dce9e4;
  --pb-row:#f7faf8; --pb-ink:#193d38;
  background:#f5f8f5; color:var(--pb-ink);
}
.pb-explorer .sidebar {background:#f8faf7;border-right:1px solid #d5e4dd;color:#204c44}
.pb-explorer .logo {color:#194b42}
.pb-explorer .logo-mark{color:#fff;background:linear-gradient(145deg,#159583,#0f6d60);border-color:#0e8875}
.pb-explorer .logo-accent{color:#df941f}
.pb-explorer .side-label{color:#658278}
.pb-explorer .tree-heading{background:#176e61!important;color:white!important}
.pb-explorer .workspace-org>summary{background:#1c6257;color:#fff}
.pb-explorer .workspace-org>summary:hover{background:#114b44}
.pb-explorer .workspace-dev>summary{background:transparent;color:#19544a;border-radius:6px}
.pb-explorer .workspace-dev>summary:hover{background:#e8f5ef}
.pb-explorer .tree-link,.pb-explorer .tree-folder>summary{color:#235b50;border-radius:6px}
.pb-explorer .tree-link.is-current,.pb-explorer .tree-folder>summary.is-current{background:#d0eee3;color:#0d6154}
.pb-explorer .workspace-dev-links{border-left-color:#c3ded3}
.pb-explorer .tree-children{border-left-color:#d0e6de}
.pb-explorer .topbar{background:#fff;border-bottom-color:#dce9e4}
.pb-explorer .topbar-title,.pb-explorer .topbar-user{color:#3b665a}
.pb-explorer .pb-location{background:#f1f8f3;color:#456e60;border-bottom-color:#dce9e4}
.pb-explorer .pb-location a{color:#087b69}
.pb-explorer .pb-workspace{background:#fff}
.pb-explorer .pb-tabs a:hover,.pb-explorer .pb-tabs a.active{color:#087968;border-bottom-color:#e6a334}
.pb-explorer .pb-actionbar{background:#f8fbf9;border-bottom-color:#dfebe6}
.pb-explorer .pb-action{color:#295c52}
.pb-explorer .pb-action-primary{background:#e3f5ec;border-color:#b5e2cd;color:#126f5f}
.pb-explorer .pb-action:hover{background:#e9f5ee;border-color:#cfe5d9}
.pb-explorer .pb-grid thead th{background:#edf6f0!important;color:#285d50!important;border-color:#d3e6da!important}
.pb-explorer .pb-grid tbody tr:nth-child(odd) td{background:#fff!important}
.pb-explorer .pb-grid tbody tr:nth-child(even) td{background:#f3f9f5!important}
.pb-explorer .pb-grid tbody tr:hover td{background:#e5f5ec!important}
.pb-explorer .pb-grid tbody tr:focus-within td{background:#eef9ee!important}
.pb-explorer .pb-grid-name{color:#066f64;font-weight:700}
.pb-explorer .pb-grid-open a,.pb-text-link{color:#08796a}
.pb-explorer .pb-state{background:#e3f5e9;border-color:#b9e2c7;color:#24674d}
.pb-explorer .pb-document-row{height:auto!important}
.pb-explorer .pb-grid td{padding-top:6px!important;padding-bottom:6px!important}
.pb-explorer.pb-comfortable .pb-grid td{padding-top:6px!important;padding-bottom:6px!important}
.pb-compact-label{font-size:11px;color:#62877a;padding:6px 10px;white-space:nowrap}
/* Development heading is a destination; the plus is alongside, not in 'Folders'. */
.pb-explorer .workspace-dev>summary.pb-development-summary{display:flex;align-items:center;gap:6px;justify-content:space-between;cursor:pointer}
.pb-development-link{flex:1;min-width:0;font-weight:750;color:#19564c;text-decoration:none;overflow-wrap:anywhere}
.pb-development-link:hover{color:#07806b;text-decoration:underline}
.pb-development-link.is-current{color:#067665}
.pb-development-add{display:inline-flex;align-items:center;justify-content:center!important;min-width:26px;height:25px;background:#d9eee3;border:1px solid #b9dfcd;color:#087866!important;border-radius:5px;font-size:19px;line-height:1;text-decoration:none}
.pb-development-add:hover{background:#c8e8d8}
.pb-users-tree-link{font-weight:750!important;color:#145a50!important}
.pb-tree-accent{color:#df9221;font-weight:800}
/* Context menus with coloured symbols. */
.pb-menu-symbol{display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;flex:none;border-radius:6px;font-size:16px;font-weight:800;margin-right:6px}
.pb-menu-teal{background:#daf2e9;color:#0c8069}
.pb-menu-blue{background:#e5efff;color:#366cca}
.pb-menu-violet{background:#efe7ff;color:#7450b9}
.pb-menu-amber{background:#fff2dc;color:#bc7d13}
.pb-menu-red{background:#ffe5e7;color:#ba3543}
.pb-floating-doc-menu.pb-coloured-menu a,.pb-floating-doc-menu.pb-coloured-menu button,
.pb-floating-menu button[data-menu-action]{display:flex;align-items:center;gap:3px;min-width:205px;padding:7px 10px!important;text-align:left}
.pb-floating-menu button[hidden]{display:none!important}
/* Folder-contained search replaces the normal folder listing, not global search. */
.pb-search-panel{padding:16px 20px;border-bottom:1px solid #dceae2;background:#f8fbf8}
.pb-search-heading h2{margin:0 0 4px;font-size:17px;color:#144f45}
.pb-search-heading p{margin:0 0 12px;color:#627e73;font-size:12px}
.pb-search-fields{display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.pb-search-fields .field{flex:1;min-width:145px;margin:0}
.pb-search-fields .pb-search-wide{min-width:210px;flex:2}
.pb-search-fields label{font-size:11px;color:#45685b;display:block;margin-bottom:4px;font-weight:750}
.pb-search-fields input,.pb-search-fields select{width:100%;min-height:36px;border:1px solid #c9dfd3;border-radius:6px;padding:7px 9px;background:white;color:#214a41}
.pb-search-actions{display:flex;gap:6px;align-items:center;padding-bottom:1px}
.pb-search-result-count{font-size:11px;font-weight:750;color:#39705f;margin:13px 0 0}
/* One modal host; accessible native <dialog> keyboard/focus behaviour. */
.pb-global-modal{width:min(860px,calc(100vw - 28px));max-width:860px;max-height:min(88vh,960px);border:1px solid #b5d6c6;border-radius:14px;background:#fff;color:#183e35;box-shadow:0 25px 80px rgba(10,42,35,.27);padding:0;overflow:auto}
.pb-global-modal::backdrop{background:rgba(16,36,31,.56)}
.pb-modal-body{padding:24px;display:flex;flex-direction:column;gap:16px}
.pb-modal-header{padding-bottom:12px;border-bottom:1px solid #e0eae5}
.pb-modal-header h2{font-size:22px;line-height:1.3;margin:3px 0;color:#185449}
.pb-modal-header p{font-size:12px;color:#6e8077;margin:4px 0}
.pb-modal-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:10px}
.pb-modal-body .field{display:flex;flex-direction:column;gap:4px;margin:0}
.pb-modal-body .field label{font-size:12px;font-weight:750;color:#32695a}
.pb-modal-body input:not([type=checkbox]):not([type=radio]),.pb-modal-body select,.pb-modal-body textarea{width:100%;min-width:0;border:1px solid #bfd9cc;border-radius:7px;padding:9px;background:#fff;font-size:13px;color:#15463b}
.pb-modal-body .field-error,.pb-modal-error{font-size:12px;color:#b53c40;font-weight:650}
.pb-modal-body .pb-dialog-actions{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e1ebe5;padding-top:14px}
.pb-modal-loading{padding:28px;color:#55796d}
.pb-modal-table-scroll{max-height:58vh;overflow:auto}
.pb-simple-table{width:100%;border-collapse:collapse;font-size:12px}
.pb-simple-table th{text-align:left;background:#e9f6ee;color:#245c4a;padding:11px;border-bottom:1px solid #cde1d4;white-space:nowrap}
.pb-simple-table td{padding:10px 11px;border-bottom:1px solid #e5eee8;vertical-align:top}
.pb-simple-table tr:nth-child(even) td{background:#f6faf7}
.pb-simple-table small{display:block;color:#648477;margin-top:3px}
.pb-properties{display:grid;grid-template-columns:1fr 1fr;gap:0 22px;margin:0}
.pb-properties>div{padding:11px 0;border-bottom:1px solid #e7efea}
.pb-properties dt{font-size:11px;font-weight:750;color:#6a8476}
.pb-properties dd{margin:5px 0 0;font-size:14px;color:#1d5345;overflow-wrap:anywhere}
.pb-permission-mode,.pb-permission-grid{border:1px solid #dbeae1;border-radius:9px;padding:11px 14px;display:grid;gap:8px}
.pb-permission-mode legend,.pb-permission-grid legend{font-weight:750;color:#225a4b;padding:0 6px;font-size:13px}
.pb-permission-mode label,.pb-permission-grid label{display:flex;align-items:center;gap:9px;font-size:12px;cursor:pointer}
.pb-permission-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.pb-permission-grid legend{grid-column:1/-1}
.pb-permission-grid[disabled]{opacity:.45}
.pb-acl-form{display:grid;gap:14px}
.pb-users-layout{padding:15px 20px;display:grid;gap:14px}
.pb-users-panel{border:1px solid #dcece2;border-radius:10px;background:white;padding:17px}
.pb-users-panel h2{font-size:16px;margin:0 0 12px;color:#1b6051}
.pb-users-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.pb-text-link{background:none;border:0;font-weight:700;cursor:pointer;font-size:12px;text-decoration:underline;text-underline-offset:3px}
.pb-security-note{padding:14px;border-radius:8px;background:#f0f9f3;color:#2b6b57;font-size:13px}
@media(max-width:680px){.pb-properties{grid-template-columns:1fr}.pb-search-fields .field{flex:1 1 100%}.pb-modal-body{padding:15px}.pb-permission-grid{grid-template-columns:1fr}}

/* v0.92 navigation and self-service account controls */
.pb-explorer .sidebar-bottom {display:none}
.pb-explorer .workspace-dev>summary.pb-development-summary {position:relative;min-width:0}
.pb-explorer .pb-dev-actions-button {
  flex:none;display:inline-flex;align-items:center;justify-content:center;
  border:1px solid #bbdcd0;border-radius:7px;background:#e6f5eb;color:#176457;
  padding:0;width:28px;height:27px;line-height:1;font-size:24px;font-weight:750;cursor:pointer;
}
.pb-explorer .pb-dev-actions-button:hover,.pb-explorer .pb-dev-actions-button[aria-expanded=true]{background:#c9e9da;border-color:#8abfab}
.pb-explorer .pb-dev-actions-button:focus-visible,.pb-explorer .pb-account-trigger:focus-visible{outline:3px solid #e2a638;outline-offset:2px}
.pb-development-popover{position:fixed;z-index:10060;min-width:200px;max-width:270px;padding:7px;
  background:white;border:1px solid #bcd9c9;border-radius:11px;box-shadow:0 16px 45px rgba(9,46,36,.23)}
.pb-development-popover a{display:flex;align-items:center;gap:8px;border-radius:6px;padding:8px 10px;
  font-size:12px;font-weight:650;color:#205a4c;text-decoration:none;white-space:nowrap}
.pb-development-popover a:hover,.pb-development-popover a:focus-visible{background:#e7f5ec;outline:none}
.pb-explorer .topbar-right{position:relative;z-index:50}
/* Canonical dropdown styles now live in plotbrix_shared_account_menu.css. */
.pb-explorer .sidebar .nav:empty{display:none}
.pb-account-page{padding:25px 24px;max-width:1000px;margin:0 auto;color:#214e43}
.pb-account-page h1{font-size:27px;letter-spacing:-.5px;color:#164c41;margin:0 0 8px}
.pb-account-subtitle{color:#688379;font-size:13px;margin:0 0 22px}
.pb-account-card{background:#fff;border:1px solid #d5e9de;border-radius:13px;padding:23px;margin-bottom:15px}
.pb-account-card h2{font-size:18px;color:#175b4e;margin:0 0 14px}
.pb-account-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}
.pb-account-fields .field{margin-bottom:5px}
.pb-account-readonly{font-size:13px;background:#f5f9f6;border:1px solid #dcece2;border-radius:7px;padding:11px 12px;color:#31594b}
.pb-account-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:17px}
.pb-account-meta{font-size:12px;line-height:1.7;color:#59796a}
.pb-account-meta a{color:#087864;font-weight:750;text-decoration:underline}
.pb-account-links{display:flex;flex-wrap:wrap;gap:10px}
.pb-account-links a{border:1px solid #b9dfcb;background:#f2faf5;padding:10px 12px;border-radius:7px;
  color:#166b58;font-size:12px;font-weight:750}
.pb-account-page .field input{width:100%;max-width:500px}
.pb-account-page .form-errors ul,.pb-account-page .field-error ul{margin:6px 0;padding-left:18px}
.pb-account-unverified{background:#fff7e7;border:1px solid #f2d49a;border-radius:8px;padding:12px;
  font-size:12px;color:#89601d}
[hidden]{display:none!important}
@media(max-width:690px){.pb-account-page{padding:16px}.pb-account-fields{grid-template-columns:1fr}
 .pb-account-card{padding:16px}.pb-account-trigger{max-width:185px}}

/* PlotBrix v0.93: accessible yes/no permission controls, sortable table, link folders and transmittals */
.pb-acl-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 8px;border:1px solid #deede4;border-radius:7px;background:#fbfefc;min-height:43px}
.pb-acl-row>span{flex:1;font-size:12px;font-weight:650;color:#285e4b}
.pb-acl-toggle{display:inline-flex;gap:4px;flex:none}
.pb-acl-toggle label{display:flex;cursor:pointer;position:relative}
.pb-acl-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.pb-acl-toggle label span{font-size:11px;font-weight:800;text-align:center;min-width:45px;padding:7px 10px;border-radius:7px;border:1px solid #cddfd5;color:#618073;background:#f5f8f6}
.pb-acl-toggle input[value="yes"]:checked+span{border-color:#68b49b;background:#def5e8;color:#126c4e}
.pb-acl-toggle input[value="no"]:checked+span{border-color:#e0aca9;background:#ffeded;color:#a13b3f}
.pb-acl-toggle input:focus-visible+span{outline:3px solid #dfa83d;outline-offset:2px}
.pb-acl-toggle input:not(:checked)+span:hover{background:#eaf3ef}
.pb-permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pb-permission-grid .pb-acl-row{cursor:default}
.pb-explorer .pb-grid thead th,.pb-explorer .pb-grid thead th a,
.pb-explorer .pb-grid thead th .pb-sort-link{color:#285d50!important;background:#edf6f0!important;font-size:11px;font-weight:750;text-decoration:none}
.pb-explorer .pb-grid thead th a{display:inline-block;white-space:nowrap;border-radius:3px;padding:2px 3px}
.pb-explorer .pb-grid thead th a:hover,.pb-explorer .pb-grid thead th a:focus-visible{background:#cce8d8!important;color:#105845!important;outline-color:#dfa83d}
.pb-explorer .pb-grid th[draggable=true]:hover{background:#dbefe3!important}
.pb-explorer .pb-grid tbody tr:nth-child(odd) td{background:#fff!important}
.pb-explorer .pb-grid tbody tr:nth-child(even) td{background:#f3f9f5!important}
.pb-explorer .pb-grid tbody tr:hover td{background:#e2f4e9!important}
.pb-table-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:13px 16px;border-top:1px solid #d9e9de;background:#f8fcf9}
.pb-pagination{display:flex;align-items:center;gap:13px;flex-wrap:wrap;font-size:12px;color:#587567}
.pb-pagination a{color:#13755e;text-decoration:underline;font-weight:750}
.pb-page-size{display:flex;align-items:center;gap:9px;font-size:12px;color:#385c4c;font-weight:700}
.pb-page-size select{border:1px solid #a9d3be;border-radius:6px;background:#fff;padding:6px 8px;color:#225648}
.pb-search-nested,.pb-inline-check{display:flex;align-items:center;gap:9px;font-size:12px;color:#235e4c;font-weight:700;margin:10px 0}
.pb-linked-row .pb-grid-name{color:#16728d}
.pb-linked-row .pb-state{background:#eaf4fe;color:#27739e}
.pb-explorer .pb-org-summary{display:flex!important;align-items:center;min-width:0;gap:3px}
.pb-explorer .pb-org-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pb-explorer .pb-org-actions-button{display:flex;align-items:center;justify-content:center;flex:none;
  width:28px;height:25px;border:1px solid #bbdcd0;border-radius:7px;background:#e6f5eb;color:#176457;
  cursor:pointer;font-size:22px;line-height:1;margin-left:auto}
.pb-explorer .pb-org-actions-button:hover,.pb-explorer .pb-org-actions-button[aria-expanded=true]{background:#caead9}
.pb-explorer .pb-org-actions-button:focus-visible{outline:3px solid #dfa83d;outline-offset:2px}
.pb-organisation-popover{z-index:10070}
.pb-customise-subhead{font-size:14px;margin:19px 0 10px;color:#1a6651}
.pb-customise-columns{display:grid;gap:5px}
.pb-customise-column{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #d4e8db;
  border-radius:7px;padding:7px 10px;background:#fbfefb}
.pb-customise-column>label{font-size:12px;color:#245d4a;display:flex;align-items:center;gap:8px}
.pb-reorder-actions{display:flex;gap:4px}
.pb-reorder-actions button{background:#ecf7ee;border:1px solid #b5d7c4;border-radius:5px;color:#1e7256;cursor:pointer;padding:5px 12px;font-size:13px}
.pb-reorder-actions button:hover{background:#cdebd8}
.pb-transmittal-page{padding-bottom:35px}
.pb-transmittal-layout{display:grid;grid-template-columns:minmax(260px,1fr) minmax(350px,1.4fr);gap:18px;padding:20px}
.pb-transmittal-panel{background:white;border:1px solid #d6e8dc;border-radius:11px;padding:19px;min-width:0}
.pb-transmittal-panel h2{font-size:18px;color:#1b5e4b;margin:0 0 16px}
.pb-transmittal-panel h3{font-size:14px;color:#1b5e4b}
.pb-transmittal-panel .field{margin-bottom:13px}
.pb-transmittal-panel .field input,.pb-transmittal-panel .field select{max-width:100%;width:100%;border:1px solid #bad8c8;border-radius:7px;padding:9px 10px}
.pb-transmittal-rule{border:1px solid #d8eade;background:#f9fdfa;border-radius:9px;margin:0 0 10px;padding:13px;display:grid;gap:7px;font-size:12px}
.pb-transmittal-rule strong{font-size:14px;color:#156b56}
.pb-transmittal-rule small{color:#668174}
.pb-transmittal-weekdays,.pb-transmittal-recipients fieldset{border:1px solid #d5e9dc;border-radius:8px;padding:10px;display:flex;flex-wrap:wrap;gap:12px}
.pb-transmittal-weekdays label,.pb-transmittal-recipients label{display:flex;gap:6px;align-items:center;font-size:12px;color:#2f5a4b}
.pb-transmittal-recipients{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:10px 0}
.pb-transmittal-recipients fieldset{display:grid;align-content:start;gap:10px}
.pb-transmittal-weekdays legend,.pb-transmittal-recipients legend{color:#29634c;font-size:12px;font-weight:750;padding:0 6px}
.pb-folder-dialog{max-width:min(95vw,520px)}
@media(max-width:900px){.pb-transmittal-layout{grid-template-columns:1fr}.pb-permission-grid{grid-template-columns:1fr}}
@media(max-width:550px){.pb-transmittal-recipients{grid-template-columns:1fr}.pb-table-footer{align-items:flex-start}}
/* v0.94 — aligned folder chevrons and profile/company branding */
.pb-explorer .pb-tree-node-row.pb-tree-leaf::before {content:"";display:inline-block;flex:none;width:16px;min-width:16px;margin-right:7px}
.pb-explorer .tree-folder>summary::before {flex:none;min-width:16px;width:16px;text-align:center;margin-right:7px}
.pb-explorer .tree-folder>summary,.pb-explorer .pb-tree-node-row.pb-tree-leaf {display:flex;align-items:center;gap:3px}
.pb-explorer .workspace-dev-links{padding-left:5px;margin-left:10px}
.pb-explorer .tree-children{padding-left:9px;margin-left:7px}
.pb-org-logo,.pb-company-logo{width:24px;height:24px;object-fit:contain;border-radius:5px;vertical-align:middle;margin-right:5px;background:#fff}
.pb-user-list-photo{height:25px;width:25px;object-fit:cover;border-radius:50%;vertical-align:middle;margin-right:7px}
.pb-account-photo{width:31px;height:31px;border-radius:50%;object-fit:cover;display:block}
.pb-profile-large{width:100px;height:100px;object-fit:cover;border-radius:50%;margin:7px 0 12px}
.pb-explorer .side-label:empty{display:none}
.pb-explorer.pb-tree-hidden .sidebar{display:none!important}
.pb-explorer.pb-tree-hidden .main-area{min-width:0;width:100%}
.pb-explorer .pb-grid th[data-col]:not([data-col="select"]):not([data-col="mouse"]){position:relative;cursor:col-resize}
.pb-explorer .pb-grid th.pb-column-resizing{background:#d4ecdf!important;outline:2px solid #16a17c}
.pb-explorer .pb-grid th a{cursor:pointer}
.pb-explorer .pb-table-scroll{overflow:auto}
.pb-destination-picker{min-height:90px;max-height:330px;overflow:auto;border:1px solid #b8d9cb;border-radius:8px;padding:11px;background:#fbfefb;color:#235347}
.pb-destination-picker legend{font-weight:700;font-size:12px;padding:0 5px}
.pb-destination-picker details{padding:4px 0 4px 4px}
.pb-destination-picker summary{cursor:pointer;font-weight:750;padding:5px}
.pb-destination-label{display:flex;align-items:center;gap:8px;font-size:12px;cursor:pointer;padding:6px 7px;border-radius:5px}
.pb-destination-label:hover{background:#e5f4eb}
.pb-destination-label input{width:auto!important;height:auto!important;accent-color:#008569}
.pb-destination-disabled{opacity:.55;cursor:not-allowed}
.pb-destination-children{border-left:1px solid #c9e6d7;margin-left:13px;padding-left:10px}
.pb-public-share{width:min(850px,calc(100vw - 36px));margin:36px auto;padding:28px;background:white;border:1px solid #d4e5da;border-radius:10px;color:#1d433c}
.pb-public-share h1{color:#08735d}
.pb-public-share .pb-simple-table{width:100%}
.pb-secret{padding:15px;background:#f2faf5;border:1px solid #a9d3c2;border-radius:7px;overflow-wrap:anywhere;white-space:pre-wrap;user-select:all}
/* v0.95 Project Explorer and site-specific tools */
.pb-help-link{display:inline-flex;align-items:center;gap:6px;text-decoration:none;font-size:12px;font-weight:750;color:#19705a;border:1px solid #cde3d5;border-radius:22px;padding:9px 13px;background:#fff;margin-right:10px}
.pb-help-link:hover,.pb-help-link:focus-visible{background:#eaf6ee;color:#0c604e}
.pb-link-status{font-size:12px;vertical-align:middle;margin-left:4px;color:#177a84;white-space:nowrap}
.pb-grid-type{white-space:nowrap}
.pb-row-selected td{background:#dff2e8!important}
.pb-destination-picker .pb-plot-link-destinations{margin-top:10px}
.pb-plot-link-destinations{padding:8px;margin:5px 0;border:1px solid #d4e9da;border-radius:8px}
.pb-plot-link-destinations summary{cursor:pointer;color:#1c6654;font-size:13px;font-weight:750}
.pb-plot-link-destinations details{margin-left:12px;padding:4px}
.pb-plots-summary{display:flex;align-items:center;font-weight:800;margin-top:10px;padding:7px 8px;border-radius:7px;cursor:pointer;color:#175d4b;background:#e7f4ec}
.pb-plots-summary a{color:inherit;text-decoration:none}
.pb-plot-tree-children{margin-left:14px;max-height:400px;overflow-y:auto;padding-left:8px;border-left:1px solid #c5e1d2}
.pb-plot-tree-children>details{margin:5px 0;font-size:12px}
.pb-plot-tree-children summary{cursor:pointer;padding:4px;color:#336b55}
.pb-plot-tree-sections{display:grid;gap:5px;margin:6px 0 8px 21px;padding-left:8px;border-left:1px solid #d4e8db}
.pb-plot-tree-sections a{font-size:11px;color:#166e56;text-decoration:none;padding:2px 0}
.pb-plot-manage{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;padding:20px}
.pb-plot-manage form{border:1px solid #d5e8dd;border-radius:9px;padding:15px;background:#fbfdfa;display:grid;gap:10px}
.pb-plot-manage h3{font-size:15px;margin:0;color:#185d4c}
.pb-plot-manage label{font-size:12px;display:grid;gap:5px}
.pb-plot-manage input{padding:8px;border:1px solid #badbcc;border-radius:6px;min-width:0}
.pb-plots-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:9px;padding:16px}
.pb-plot-card{border:1px solid #d8e6dc;background:#fff;padding:10px;border-radius:7px;font-size:13px}
.pb-plot-card>summary{cursor:pointer;color:#185f51;font-weight:750}
.pb-plot-sections{display:grid;gap:6px;margin:9px}
.pb-plot-sections a{color:#17806a;text-decoration:none;font-size:12px}
.pb-plot-edit{display:flex;gap:6px;margin-top:9px}.pb-plot-edit input{min-width:60px;width:100%}
.pb-mfa-qr{width:225px;height:225px;max-width:100%;border-radius:9px;border:1px solid #e1e9e2;background:white;padding:8px;display:block;margin:13px auto}
.pb-help-page details{border:1px solid #d6e8dc;border-radius:8px;background:#fff;padding:14px;margin:12px 20px}
.pb-help-page details summary{cursor:pointer;font-weight:750;color:#176752}
.pb-help-page details p{font-size:13px;margin:12px 0 0;line-height:1.6}
.pb-acl-layout{display:grid;grid-template-columns:minmax(200px,.65fr) minmax(360px,1.35fr);gap:18px;margin:10px 0}
.pb-acl-principals{border:1px solid #d4e7dd;background:#f4faf6;border-radius:10px;padding:12px;min-width:0}
.pb-acl-principals label{font-size:13px;color:#185a4d;font-weight:800;display:block;margin-bottom:8px}
.pb-acl-principals input,.pb-acl-principals select{width:100%;border:1px solid #bed8ca;border-radius:7px;background:#fff;margin:0 0 9px;padding:7px;font-size:12px}
.pb-acl-principal-list{display:grid;gap:4px;max-height:355px;overflow:auto}
.pb-principal-shortcut{border:0;background:transparent;text-align:left;padding:8px;border-radius:5px;font-size:12px;color:#326353;cursor:pointer}
.pb-principal-shortcut:hover,.pb-principal-shortcut.is-selected{background:#cfead9;color:#074e41;font-weight:750}
.pb-acl-right{min-width:0}.pb-acl-right .pb-permission-grid{grid-template-columns:1fr}
.pb-acl-right .pb-acl-row{min-height:40px}
.pb-acl-right .pb-permission-grid legend{font-weight:800;color:#145c4b}
.pb-folder-drop-before{box-shadow:inset 0 3px #e6a12c!important}.pb-folder-drop-after{box-shadow:inset 0 -3px #e6a12c!important}
@media(max-width:850px){.pb-acl-layout{grid-template-columns:1fr}.pb-acl-principal-list{max-height:180px}.pb-help-link span{display:none}}

/* PlotBrix v0.96 — navigation and professional administration pages */
.pb-explorer .pb-tree-node{min-width:0;width:100%}
.pb-explorer .pb-tree-node>.tree-folder,.pb-explorer .pb-tree-node>.pb-tree-node-row{width:100%;min-width:0;box-sizing:border-box}
.pb-explorer .pb-tree-node>.tree-folder>summary{display:flex!important;align-items:center;width:100%;min-width:0;box-sizing:border-box;gap:3px}
.pb-explorer .pb-tree-node-row>.pb-folder-menu-button{margin-left:auto!important;margin-right:2px!important;
  width:28px!important;min-width:28px!important;flex:0 0 28px!important;text-align:center;padding:4px!important}
.pb-explorer .tree-folder>summary>a,.pb-explorer .pb-tree-node-row>a{flex:1 1 auto;min-width:0;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.pb-explorer .tree-folder>summary::before,.pb-explorer .pb-tree-node-row.pb-tree-leaf::before{width:17px!important;min-width:17px!important;flex:0 0 17px!important;margin:0 5px 0 0!important;text-align:center}
.pb-org-profile-layout{display:grid;grid-template-columns:minmax(245px,.8fr) minmax(360px,1.5fr);gap:22px;padding:20px;align-items:start}
.pb-org-profile-preview,.pb-org-profile-editor{background:#fff;border:1px solid #d8e8de;border-radius:12px;padding:24px;box-shadow:0 2px 14px rgba(9,67,45,.035)}
.pb-org-profile-preview h2,.pb-org-profile-editor h2{color:#165c4c;font-size:20px;margin:9px 0 14px}
.pb-org-profile-preview p{line-height:1.55;font-size:13px;color:#42685a}
.pb-org-profile-logo{height:115px;width:160px;border-radius:14px;border:1px solid #e1ebe4;display:flex;justify-content:center;align-items:center;background:#f5faf6;color:#078066;font-size:58px}
.pb-org-profile-logo img{max-width:145px;max-height:105px;object-fit:contain}
.pb-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 18px;margin:14px 0 23px}
.pb-profile-fields .field{display:grid;gap:5px;min-width:0}
.pb-profile-fields .field:nth-child(2){grid-column:span 2}
.pb-profile-fields input,.pb-profile-fields textarea{width:100%;box-sizing:border-box;min-height:40px;border:1px solid #b9d5c6;border-radius:7px;padding:9px 11px}
.pb-profile-fields textarea{min-height:83px}
.pb-profile-logo-input{grid-column:span 2}
.pb-new-dynamic-panel{margin:12px 0;padding:15px;border:1px solid #b9dacc;border-radius:9px;background:#f6fcf7;display:grid;gap:11px}
.pb-new-dynamic-panel[hidden]{display:none}
.pb-transmittal-page .pb-workspace-head{display:flex;justify-content:space-between;gap:14px;align-items:center}
.pb-transmittal-page>.pb-transmittal-panel{margin:19px;max-width:1120px}
.pb-transmittal-rule{display:flex;justify-content:space-between;align-items:center;gap:18px}
.pb-transmittal-dialog{width:min(810px,95vw);max-width:810px;max-height:90vh;overflow-y:auto;padding:24px;background:#fff;border:1px solid #abcdb8;border-radius:11px;box-shadow:0 20px 70px #1f4d4238}
.pb-transmittal-dialog::backdrop{background:#0b332b70}
.pb-transmittal-dialog>form{display:grid;gap:13px}
.pb-transmittal-dialog h2{margin:0;color:#0d604b;font-size:20px}
.pb-transmittal-dialog .field{display:grid;gap:6px}
.pb-transmittal-dialog .field input{width:100%;max-width:400px;box-sizing:border-box;padding:10px;border:1px solid #abcdb9;border-radius:7px}
.pb-transmittal-folder-node{margin:3px 0;font-size:13px}
.pb-transmittal-folder-node>label{display:flex;align-items:center;gap:8px;padding:5px;border-radius:5px}
.pb-transmittal-folder-node>label:hover{background:#eaf6ee}
.pb-transmittal-folder-children{padding-left:24px;border-left:1px solid #c8e3d5;margin-left:8px}
.pb-recipient-builder{display:grid;gap:10px}
.pb-recipient-list>summary{display:inline-flex;cursor:pointer;list-style:none}
.pb-recipient-choices{max-height:185px;overflow-y:auto;border:1px solid #d1e8d9;border-radius:8px;padding:9px;margin-top:5px;display:grid;gap:4px}
.pb-recipient-choices label{display:flex;gap:8px;align-items:center;cursor:pointer;padding:4px;font-size:12px}
.pb-recipient-chips{display:flex;flex-wrap:wrap;gap:6px;padding:10px;background:#f5faf6;border:1px solid #dbece0;border-radius:8px;min-height:30px}
.pb-recipient-chip{display:inline-flex;gap:7px;align-items:center;color:#125b4a;border-radius:22px;background:#d9f1e4;padding:5px 7px 5px 11px;font-size:12px}
.pb-recipient-chip button{border:0;background:#b2d8c2;border-radius:50%;cursor:pointer;color:#124e3d;font-weight:800}
@media(max-width:860px){.pb-org-profile-layout{grid-template-columns:1fr}}
@media(max-width:560px){.pb-profile-fields{grid-template-columns:1fr}.pb-profile-fields .field:nth-child(2),.pb-profile-logo-input{grid-column:span 1}}

/* v0.97: common tree geometry for leaf and expandable rows */
.pb-explorer .pb-tree-node-row {display:grid!important;grid-template-columns:18px minmax(0,1fr) 30px;align-items:center;width:100%;box-sizing:border-box;padding-left:0;padding-right:0;column-gap:5px}
.pb-explorer .pb-tree-node-row::before{grid-column:1;grid-row:1;margin:0!important;justify-self:center;width:18px!important;min-width:18px!important}
.pb-explorer .pb-tree-node-row>a{grid-column:2;grid-row:1;min-width:0;display:block}
.pb-explorer .pb-tree-node-row>.pb-folder-menu-button{grid-column:3;grid-row:1;margin:0!important;justify-self:end;box-sizing:border-box;width:28px!important}
.pb-plots-tree .pb-plots-summary{list-style:none;display:flex!important;gap:8px;align-items:center}
.pb-plots-tree .pb-plots-summary::-webkit-details-marker{display:none}
.pb-plots-tree .pb-plots-summary::marker{content:''}
.pb-plots-chevron{display:inline-block;font-size:13px;transform-origin:center;transition:transform .1s ease}
.pb-plots-tree[open]>.pb-plots-summary .pb-plots-chevron{transform:rotate(90deg)}
.pb-plot-section-active{font-weight:750;background:#dff2e7;border-radius:4px}
.pb-v097-new-node{margin-left:19px;padding:5px 0 5px 12px;font-size:12px}
.pb-v097-new-node>a{color:#13725f;text-decoration:none}
.pb-invites #pb-invite-company-add{margin-top:8px}


.pb-inline-form{display:inline-block;margin-left:9px}.pb-archived-developments{margin:20px;border:1px solid #d7e6de;border-radius:8px;padding:15px}.pb-archived-developments summary{cursor:pointer;font-weight:750;color:#1b624e}

/* v0.98: stable hierarchical transmittal folder selector and issue register */
.pb-watch-picker{min-width:0;overflow-x:auto;box-sizing:border-box;max-height:310px;background:#fff}
.pb-watch-node{display:block!important;margin:0!important;max-width:100%;min-width:0}
.pb-watch-row{display:flex;align-items:center;min-height:32px;border-radius:5px;gap:5px}
.pb-watch-row:hover{background:#edf7f1}
.pb-watch-label{display:flex;flex:1;align-items:center;min-width:0;gap:8px;padding:5px 3px;cursor:pointer;font-size:13px;line-height:1.4}
.pb-watch-label input{flex:0 0 auto;margin:0 3px 0 0}
.pb-watch-name{min-width:0;overflow-wrap:anywhere}
.pb-watch-toggle,.pb-watch-spacer{width:22px;flex:0 0 22px;min-width:22px;height:24px}
.pb-watch-toggle{padding:0;background:none;border:0;cursor:pointer;color:#295849;font-size:15px}
.pb-watch-children{box-sizing:border-box;padding-left:20px;border-left:1px solid #c8e3d5;margin-left:11px}
.pb-watch-children[hidden]{display:none!important}
.pb-transmittal-page .pb-transmittal-panel{margin:18px 19px}
.pb-transmittal-entry{border:1px solid #d8eade;background:#fafdfe;border-radius:10px;margin:12px 0;padding:14px 17px}
.pb-transmittal-entry-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
.pb-transmittal-entry-head h3{margin:0 0 9px;font-size:16px;color:#145d49}
.pb-transmittal-entry-head p{margin:5px 0}
.pb-transmittal-entry-actions{display:flex;flex-wrap:wrap;gap:7px;align-items:center}
.pb-transmittal-entry-actions .btn{white-space:nowrap;text-decoration:none}
.pb-transmittal-entry-actions form{margin:0}
.pb-transmittal-muted{color:#905937}
.pb-transmittal-history{border-top:1px solid #d5e9df;margin-top:13px;padding-top:11px}
.pb-transmittal-issues{display:flex;flex-wrap:wrap;gap:7px;margin-top:8px}
.pb-transmittal-issue-link{border:1px solid #bcd8c9;background:#fff;border-radius:7px;padding:8px 11px;color:#17624a;text-decoration:none;font-size:12px}
.pb-transmittal-issue-link:hover{text-decoration:underline;background:#f1faf5}
.pb-transmittal-table-scroll{overflow-x:auto;max-width:100%}
.pb-transmittal-table{border-collapse:collapse;width:100%;min-width:740px;font-size:12px}
.pb-transmittal-table th,.pb-transmittal-table td{padding:10px;border-bottom:1px solid #d5e5d9;text-align:left;vertical-align:top}
.pb-transmittal-table th{background:#f0f8f2;color:#195a49;font-weight:750}
.pb-transmittal-table a{color:#18674b;text-decoration:underline}
@media(max-width:760px){.pb-transmittal-entry-head{display:block}.pb-transmittal-entry-actions{margin-top:12px}}
@media print{.sidebar,.topbar,.pb-transmittal-entry-actions,button{display:none!important}.main-area,.pb-workspace{margin:0!important;padding:0!important;width:auto!important}.pb-transmittal-panel{break-inside:avoid}.pb-transmittal-table{min-width:0}}

/* v0.99: normalise all action menu items and protect the MFA gate visually. */
.pb-floating-doc-menu.pb-coloured-menu a,.pb-floating-doc-menu.pb-coloured-menu button{font:inherit!important;font-size:12px!important;font-weight:500!important;color:#25455c!important;background:transparent!important;line-height:1.25!important;padding:9px 11px!important;border:0!important;border-radius:4px!important;min-height:34px;display:flex!important;align-items:center;gap:6px;white-space:normal;text-align:left;cursor:pointer}
.pb-floating-doc-menu.pb-coloured-menu a:hover,.pb-floating-doc-menu.pb-coloured-menu button:hover{background:#e7f1f7!important;color:#10476c!important}
.pb-mfa-public{min-height:100vh;background:#f1f6f3;display:flex;flex-direction:column;align-items:center;gap:36px;padding:55px 18px}
.pb-mfa-brand{font-size:28px;font-weight:800;color:#0a6056;letter-spacing:-.8px}.pb-mfa-brand span:last-child{color:#e59b16}.pb-mfa-brand .logo-mark{display:inline-grid;place-items:center;border-radius:8px;background:#0a8878;color:#fff;height:42px;width:42px;font-size:25px}
.pb-mfa-public .pb-account-page{width:min(560px,100%);margin:0}.pb-mfa-public h1{font-size:24px}.pb-mfa-public .pb-account-card{padding:25px}
.pb-explorer{--pb-sidebar-width:340px}.pb-explorer .sidebar{width:var(--pb-sidebar-width);min-width:0}.pb-explorer.pb-tree-hidden .sidebar{width:0}
.pb-sidebar-resizer{width:7px;cursor:col-resize;position:absolute;top:0;bottom:0;right:0;z-index:20;touch-action:none;background:transparent;border-right:2px solid transparent}.pb-sidebar-resizer:hover,.pb-sidebar-resizer:focus-visible{border-right-color:#078b76;background:#a2cfc633}.pb-explorer .sidebar{position:relative}
@media(max-width:720px){.pb-explorer .sidebar{width:100%!important}.pb-sidebar-resizer{display:none}}

.pb-grid-name.pb-document-unread{font-weight:900!important;color:#053a61!important}
/* v0.99.2: unread state is conveyed by bold cells, not a stray dot appended to the reference. */
.pb-grid-name.pb-document-unread::after{content:none!important}
.pb-link-dialog .pb-destination-picker > details > summary,
#pb-link-dialog .pb-destination-picker > details > summary{font-size:12px!important;font-weight:650!important;line-height:1.4!important}

/* v0.99.1: action list floats below its toolbar control instead of expanding the table. */
.pb-actions-dropdown{position:relative;display:inline-block;overflow:visible!important}
.pb-actions-dropdown .pb-actions-menu{position:absolute!important;z-index:105;top:100%;left:0;min-width:230px;max-width:min(330px,85vw);width:max-content;background:#fff;border:1px solid #bfd8ce;border-radius:7px;padding:5px;box-shadow:0 10px 24px #183d3524;display:grid;gap:2px}
.pb-actions-dropdown:not([open]) .pb-actions-menu{display:none!important}
.pb-actions-dropdown .pb-actions-menu button{width:100%;box-sizing:border-box;text-align:left;white-space:normal;padding:8px 11px;border:0;border-radius:4px;background:#fff;color:#274e53;font:inherit;font-size:12px}
.pb-actions-dropdown .pb-actions-menu button:hover:not(:disabled){background:#e8f3ed}
.pb-actions-dropdown .pb-actions-menu button:disabled{opacity:.46}
.pb-document-unread-row td:not([data-col="select"]):not([data-col="mouse"]),.pb-document-unread-row td:not([data-col="select"]):not([data-col="mouse"]) *{font-weight:800!important}
.pb-grid td[data-col="type"],.pb-grid td.pb-grid-type{overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;min-width:56px!important}
.pb-grid td[data-col="type"] img{display:inline-block;vertical-align:middle;max-width:29px}
.pb-destination-node{display:flex;align-items:flex-start;flex-wrap:wrap;min-width:0;width:100%;box-sizing:border-box}
.pb-destination-node>label{flex:1;min-width:0;white-space:normal;word-break:normal;overflow-wrap:break-word}
.pb-destination-node>label>span{flex:1}
.pb-destination-node>.pb-destination-children{flex:0 0 calc(100% - 24px);width:calc(100% - 24px);margin-left:24px}
.pb-picker-expand,.pb-picker-spacer{width:21px;min-width:21px;height:26px;display:inline-grid;place-items:center;background:transparent;border:0;color:#177e69;cursor:pointer}
.pb-picker-spacer{cursor:default}
.pb-destination-label input[type="checkbox"],.pb-destination-label input[type="radio"]{width:15px!important;height:15px!important;flex:0 0 15px!important;margin:0!important;min-width:15px!important;appearance:auto!important}
/* Protect the transmittal modal from generic .field/input/grid styles. */
.pb-transmittal-dialog,.pb-transmittal-dialog *{box-sizing:border-box}
.pb-transmittal-dialog form{width:100%;min-width:0}
.pb-transmittal-dialog .pb-watch-picker{display:block!important;width:100%!important;min-width:0!important;max-height:320px!important;overflow:auto!important;padding:12px!important}
.pb-transmittal-dialog .pb-watch-picker .pb-transmittal-folder-node{width:100%;min-width:0}
.pb-transmittal-dialog .pb-watch-picker .pb-watch-row{display:flex;align-items:center;gap:8px;min-width:0;width:100%;white-space:normal;word-break:normal}
.pb-transmittal-dialog .pb-watch-picker label{min-width:0;width:auto!important;max-width:100%!important;display:flex!important;flex:1;align-items:center;gap:7px;white-space:normal;word-break:normal;overflow-wrap:normal}
.pb-transmittal-dialog .pb-watch-picker label span{display:inline!important;width:auto!important;white-space:normal;word-break:normal;flex:1}
.pb-transmittal-dialog .pb-watch-picker .pb-watch-label span[aria-hidden]{flex:0 0 auto!important}
.pb-transmittal-dialog .pb-watch-picker .pb-watch-name{flex:1 1 auto!important;min-width:0;overflow-wrap:normal!important;word-break:normal!important}
.pb-transmittal-dialog input[type="checkbox"],.pb-transmittal-dialog input[type="radio"]{width:16px!important;height:16px!important;min-width:16px!important;max-width:16px!important;flex:0 0 16px!important;padding:0!important;margin:0 4px 0 0!important;display:inline-block!important;appearance:auto!important;accent-color:#07886f}
.pb-transmittal-dialog .pb-inline-check{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;width:auto!important;min-width:0!important}
.pb-transmittal-dialog .pb-recipient-builder{width:100%;min-width:0}
.pb-transmittal-dialog .pb-recipient-choices{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;overflow-x:hidden}
.pb-transmittal-dialog .pb-recipient-choices label{width:100%!important;min-width:0!important;display:flex!important;flex-direction:row!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;padding:5px 6px!important;text-align:left!important}
.pb-transmittal-dialog .pb-recipient-list summary{width:max-content;max-width:100%;white-space:normal}
.pb-transmittal-dialog .pb-transmittal-weekdays{display:flex;flex-wrap:wrap;gap:12px}
.pb-transmittal-dialog .pb-transmittal-weekdays label{display:inline-flex!important;align-items:center!important;width:auto!important;gap:4px!important}

/* v0.99.1 uploader: editable six-field review grid on large and small screens. */
.pb-v0991-upload-row{border:1px solid #d5e3e3;background:#fbfdfd;border-radius:10px;padding:16px;margin:11px 0;min-width:0}
.pb-v0991-upload-head{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:13px;color:#164e4c}
.pb-v0991-upload-head strong{flex:1;min-width:150px;overflow-wrap:anywhere}
.pb-v0991-upload-head small{color:#6b7f88}.pb-v0991-upload-head button{margin-left:auto}
.pb-v0991-upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pb-v0991-upload-field{display:flex;flex-direction:column;gap:5px;min-width:0;color:#486773;font-size:12px;font-weight:700}
.pb-v0991-upload-field input,.pb-v0991-upload-field select{display:block!important;width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;border:1px solid #d3dfe2;border-radius:7px;background:#fff;padding:10px 12px;font:inherit;font-size:13px;color:#172b2b;font-weight:400}
.pb-v0991-upload-field .pb-v0991-invalid{border:2px solid #cf5148!important;background:#fff6f3!important}
.pb-v0991-row-error{color:#ac352e;background:#fff2f0;padding:9px 11px;border-left:3px solid #d24436;font-size:12px}
.pb-v0991-row-error[hidden]{display:none!important}
@media(max-width:800px){.pb-v0991-upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.pb-v0991-upload-grid{grid-template-columns:minmax(0,1fr)}}

/* Public tender-link manager hotfix: responsive controls and native dialogs. */
.pb-share-manager .pb-account-card{margin-top:18px}
.pb-share-table-scroll{overflow-x:auto;max-width:100%}
.pb-share-manager .pb-simple-table{width:100%;min-width:720px}
.pb-share-manager .pb-simple-table th,.pb-share-manager .pb-simple-table td{vertical-align:top}
.pb-share-copy-row{display:flex;align-items:center;gap:7px;min-width:220px}
.pb-share-copy-row input{flex:1;min-width:80px;width:100%;box-sizing:border-box;font-size:12px}
.pb-share-copy-row .btn{flex:0 0 auto}
.pb-share-actions{display:flex;flex-wrap:wrap;gap:5px;min-width:210px}
.pb-share-actions form{margin:0}
.pb-share-actions .btn{white-space:nowrap;padding:8px 10px}

/* v0.99.7: high-contrast accessible Yes/No permission toggles. */
.pb-acl-toggle{gap:0!important;border:2px solid #a8b9b5;border-radius:9px;overflow:visible;background:#e3e9e6}
.pb-acl-toggle label{margin:0!important;padding:0!important;min-width:68px!important;justify-content:stretch!important}
.pb-acl-toggle label span{display:flex!important;align-items:center!important;justify-content:center!important;
  min-width:68px!important;min-height:38px!important;box-sizing:border-box!important;
  border:2px solid transparent!important;border-radius:6px!important;
  font-size:13px!important;font-weight:800!important;color:#415651!important;
  background:#edf0ee!important;box-shadow:none!important}
.pb-acl-toggle input[value="yes"]:checked+span{color:#fff!important;background:#126e4b!important;
  border-color:#084d33!important;box-shadow:inset 0 0 0 1px #fff7,0 2px 5px #0002!important}
.pb-acl-toggle input[value="no"]:checked+span{color:#fff!important;background:#ad3038!important;
  border-color:#751a21!important;box-shadow:inset 0 0 0 1px #fff7,0 2px 5px #0002!important}
.pb-acl-toggle input[value="allow"]:checked+span{color:#fff!important;background:#126e4b!important;
  border-color:#084d33!important;box-shadow:inset 0 0 0 1px #fff7,0 2px 5px #0002!important}
.pb-acl-toggle input[value="deny"]:checked+span{color:#fff!important;background:#ad3038!important;
  border-color:#751a21!important;box-shadow:inset 0 0 0 1px #fff7,0 2px 5px #0002!important}
.pb-acl-toggle input[value="inherit"]:checked+span{color:#173c53!important;background:#deebf3!important;
  border-color:#749caf!important;box-shadow:inset 0 0 0 1px #fff8!important}
.pb-acl-toggle input[value="yes"]:checked+span::before{content:"✓";margin-right:6px;font-size:16px}
.pb-acl-toggle input[value="no"]:checked+span::before{content:"✕";margin-right:6px;font-size:15px}
.pb-acl-toggle input[value="allow"]:checked+span::before{content:"✓";margin-right:6px;font-size:16px}
.pb-acl-toggle input[value="deny"]:checked+span::before{content:"✕";margin-right:6px;font-size:15px}
.pb-acl-toggle input[value="inherit"]:checked+span::before{content:"−";margin-right:6px;font-size:16px}
.pb-acl-toggle input:focus-visible+span{outline:3px solid #e4a32d!important;outline-offset:3px}
.pb-acl-row:has(input[value="yes"]:checked){border-left:5px solid #126e4b!important;background:#f1faf4!important}
.pb-acl-row:has(input[value="no"]:checked){border-left:5px solid #ad3038!important;background:#fff8f7!important}
.pb-acl-row:has(input[value="allow"]:checked){border-left:5px solid #126e4b!important;background:#f1faf4!important}
.pb-acl-row:has(input[value="deny"]:checked){border-left:5px solid #ad3038!important;background:#fff8f7!important}
.pb-permission-grid[disabled] .pb-acl-toggle{filter:grayscale(.6);opacity:.65}
.pb-share-status{display:inline-block;padding:4px 8px;border-radius:6px;background:#edf1f2;color:#50656c;font-size:12px;font-weight:700}
.pb-share-status.active{background:#e5f5ed;color:#076f59}
.pb-share-status.revoked{background:#fcece9;color:#a24139}
.pb-share-new-link{margin:16px 0;padding:15px}
.pb-share-dialog{width:min(720px,calc(100vw - 30px));max-height:calc(100vh - 36px);overflow:auto;box-sizing:border-box;border:1px solid #cce0d8;border-radius:14px;background:#fff;padding:24px;color:#133438;box-shadow:0 14px 45px #0b283644}
.pb-share-dialog::backdrop{background:#0b2230aa}
.pb-share-dialog h2{margin:0 0 10px;color:#075f55}
.pb-share-dialog .field{margin:12px 0}
.pb-share-dialog .field input,.pb-share-dialog .field select,.pb-share-dialog .field textarea{width:100%;max-width:100%;box-sizing:border-box}
.pb-share-dialog .field small{display:block;margin-top:5px;color:#637987}
.pb-share-dialog-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:18px}
.pb-share-history{width:min(1000px,calc(100vw - 24px))}
.pb-share-history .pb-simple-table{min-width:650px}
.pb-share-history .pb-simple-table small{display:block;color:#64808b}

/* v0.99.9: accessible per-user actions and scoped management screens. */
.pb-security-page .pb-user-action-cell{width:55px;min-width:55px;max-width:none!important;overflow:visible!important;position:relative;text-align:right}
.pb-user-actions{display:inline-block;position:relative;text-align:left;white-space:normal;z-index:2}
.pb-user-actions[open]{z-index:3000}
.pb-security-page .pb-table-scroll:has(.pb-user-actions[open]){overflow:visible!important}
.pb-security-page .pb-user-action-cell:has(.pb-user-actions[open]){z-index:4000}
.pb-user-actions>summary{list-style:none;width:32px;height:32px;line-height:25px;text-align:center;
  font-size:24px;font-weight:800;color:#156956;border:1px solid #c8e3d6;border-radius:7px;
  background:#f2faf5;cursor:pointer;user-select:none}
.pb-user-actions>summary::-webkit-details-marker{display:none}
.pb-user-actions>summary:focus-visible{outline:3px solid #d99f3c;outline-offset:2px}
.pb-user-action-list{position:absolute;right:0;top:calc(100% + 5px);min-width:210px;max-width:270px;
  padding:6px;background:#fff;border:1px solid #bcd9cb;border-radius:10px;
  box-shadow:0 12px 30px #173f3240;z-index:3000}
.pb-user-action-list a{display:block;padding:9px 11px;border-radius:6px;font-size:12px;
  color:#195e4d;font-weight:600;text-decoration:none;white-space:normal}
.pb-user-action-list a{display:flex;align-items:center;gap:6px;min-width:225px}
.pb-user-action-list .pb-menu-symbol{margin-right:3px}
.pb-user-menu-heading{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#537a6e;padding:5px 10px 8px;border-bottom:1px solid #deece5;margin-bottom:4px}
.pb-modal-form .pb-user-groups-choice{max-height:48vh;overflow-y:auto;margin:10px 0}
.pb-user-action-list a:hover,.pb-user-action-list a:focus-visible{background:#e6f6eb;outline:none}
.pb-user-action-list a.pb-danger-action{color:#ac3b42;border-top:1px solid #f3e1e2;margin-top:5px}
.pb-user-action-list a.pb-danger-action:hover{background:#fff0f0}
.pb-user-blocked{display:inline-block;margin-left:5px;color:#a52e35;background:#fff1ef;
  padding:3px 6px;border-radius:5px;font-size:10px;font-weight:800}
.pb-user-management .pb-security-editor{max-width:980px}
.pb-user-management .pb-security-editor form{margin:14px 0}
.pb-user-management .pb-user-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;margin-bottom:16px}
.pb-user-management .pb-user-edit-grid .field input{width:100%;max-width:100%;box-sizing:border-box}
.pb-user-management .pb-user-groups-choice{margin:15px 0}
.pb-user-management .pb-user-groups-choice label{display:block;padding:8px;border-bottom:1px solid #e5ede8}
.pb-user-management .pb-user-groups-choice input{margin-right:8px}
.pb-user-danger-note{background:#fff3ec;border:1px solid #edc5b4;color:#764029;
  padding:15px;border-radius:8px;line-height:1.7;font-size:13px}
.pb-danger-button{background:#a83239!important;color:#fff!important;border-color:#8c2630!important}

/* v0.99.10 r2: document actions now share the security-group menu treatment. */
.pb-floating-doc-menu.pb-coloured-menu{min-width:240px;max-width:300px;max-height:calc(100vh - 16px);
  overflow-y:auto;border:1px solid #bcd9cb;border-radius:10px;padding:6px;
  box-shadow:0 16px 38px rgba(10,42,35,.18)}
.pb-floating-doc-menu.pb-coloured-menu .pb-user-menu-heading{margin-bottom:5px}
.pb-floating-doc-menu.pb-coloured-menu .pb-doc-delete{border-top:1px solid #f3e1e2!important;
  border-radius:0!important;margin-top:7px;padding-top:12px!important;color:#ac3b42!important}
.pb-floating-doc-menu.pb-coloured-menu .pb-doc-delete:hover{background:#fff0f0!important}

/* Unified, scrollable security-group editor/activity/member pop-ups. */
.pb-security-group-modal .pb-modal-header h2{margin:4px 0 6px;font-size:23px}
.pb-security-group-modal .pb-modal-header p{margin:0;font-size:13px}
.pb-security-group-modal .pb-modal-table-scroll{max-height:54vh;border:1px solid #deebe3;border-radius:7px}
.pb-security-group-modal .pb-simple-table th{position:sticky;top:0;z-index:1}
.pb-security-group-modal .pb-simple-table tbody tr:nth-child(even){background:#f6faf8}
.pb-security-group-modal .pb-simple-table small{display:block;color:#617f73;margin-top:4px}
.pb-security-group-modal .pb-modal-body .pb-dialog-actions{margin-top:2px}
.pb-security-group-modal .pb-security-editor{margin:0;max-width:none;padding:0;border:0;box-shadow:none}
.pb-security-group-modal .pb-permission-grid{max-height:45vh;overflow:auto;padding:5px 8px 5px 0}
.pb-security-group-modal .pb-modal-group-check{text-align:center;width:85px}
.pb-security-group-modal .pb-modal-group-check input{width:18px;height:18px;accent-color:#0a8c77}
.pb-development-invite-row{display:flex;justify-content:flex-end;margin:13px 0 12px}
.pb-user-back{margin-top:20px}
@media(max-width:760px){.pb-user-management .pb-user-edit-grid{grid-template-columns:1fr}}

/* v0.99.10 r3: consistent action menus and bounded ellipsis controls. */
.pb-explorer .pb-grid th[data-col="mouse"],.pb-explorer .pb-grid td[data-col="mouse"]{
  width:82px!important;min-width:82px!important;max-width:82px!important;box-sizing:border-box;text-align:center!important;
}
.pb-explorer .pb-doc-actions-button,.pb-explorer .pb-folder-menu-button,.pb-explorer .pb-unlink-folder-btn{
  display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
  width:29px;min-width:29px;height:29px;border:1px solid #b9ddce!important;
  border-radius:7px!important;background:#eff8f2!important;color:#106c5a!important;cursor:pointer;
  font-size:20px;line-height:1;padding:0!important;opacity:1!important;
}
.pb-explorer .pb-doc-actions-button:hover:not(:disabled),.pb-explorer .pb-folder-menu-button:hover,
.pb-explorer .pb-unlink-folder-btn:hover{background:#d8eee1!important;border-color:#70bda6!important}
.pb-explorer .pb-doc-actions-button:disabled{opacity:.35!important;cursor:not-allowed!important}
.pb-explorer .pb-tree-node-row>.pb-folder-menu-button{width:29px!important;height:29px!important}
.pb-development-popover.pb-navigation-actions{min-width:255px;max-width:305px;padding:7px;
  border:1px solid #bcd9cb;border-radius:11px;box-shadow:0 16px 38px #173f3240;
  max-height:calc(100vh - 16px);overflow-y:auto}
.pb-development-popover.pb-navigation-actions a,
.pb-development-popover.pb-navigation-actions button{display:flex;align-items:center;box-sizing:border-box;
  width:100%;min-height:36px;padding:7px 10px;font-size:12px;font-weight:600;color:#225847;
  gap:6px;background:transparent;border:0;border-radius:6px;text-align:left;cursor:pointer;text-decoration:none}
.pb-development-popover.pb-navigation-actions a:hover,
.pb-development-popover.pb-navigation-actions button:hover{background:#e8f3ed}
.pb-development-popover.pb-navigation-actions .pb-user-menu-heading{margin:0 3px 5px}
.pb-actions-dropdown .pb-actions-menu.pb-coloured-menu{min-width:270px;max-width:min(330px,85vw);width:290px;
  border:1px solid #bcd9cb;border-radius:11px;padding:7px;box-shadow:0 16px 38px #173f3240}
.pb-actions-dropdown .pb-actions-menu.pb-coloured-menu button{display:flex;align-items:center;gap:8px;
  min-height:40px;color:#225847;font-weight:600;background:transparent}
.pb-actions-dropdown .pb-actions-menu.pb-coloured-menu .pb-user-menu-heading{margin-bottom:5px}
.pb-actions-dropdown .pb-actions-menu.pb-coloured-menu .pb-bulk-delete{border-top:1px solid #f1dfe1;
  border-radius:0;margin-top:6px;padding-top:13px;color:#ac3b42}

.pb-secondary-modal .pb-simple-table small{display:block;color:#678275;margin-top:4px}
.pb-secondary-actions{position:relative;display:inline-block}
.pb-secondary-dots{display:grid;place-items:center;width:31px;height:31px;background:#eff8f2;
  border:1px solid #b9ddce;border-radius:7px;color:#106c5a;font-size:20px;cursor:pointer;list-style:none}
.pb-secondary-dots::-webkit-details-marker{display:none}
.pb-secondary-action-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:20;min-width:265px;
  padding:7px;background:#fff;border:1px solid #bcd9cb;border-radius:10px;box-shadow:0 14px 35px #173f3240}
.pb-secondary-action-menu a,.pb-secondary-action-menu button{display:flex;align-items:center;gap:8px;
  background:transparent;border:0;border-radius:5px;color:#205a4d;text-decoration:none;font-size:12px;
  padding:8px;min-height:36px;width:100%;text-align:left;cursor:pointer}
.pb-secondary-action-menu a:hover,.pb-secondary-action-menu button:hover{background:#edf7f1}
.pb-secondary-action-menu form{margin:0}
.pb-secondary-dropzone{border:2px dashed #89c8b0;border-radius:10px;background:#f5faf7;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  padding:22px;min-height:125px;text-align:center;cursor:pointer}
.pb-secondary-dropzone.is-dragover{background:#e0f6e9;border-color:#07866c}
.pb-secondary-dropzone:focus-visible{outline:3px solid #dfa13b;outline-offset:2px}
.pb-secondary-modal .pb-modal-table-scroll{overflow:visible;max-height:none}
.pb-acl-principals{display:flex;flex-direction:column;min-height:0}
.pb-acl-principal-list{flex:1;min-height:330px;max-height:none;height:auto;align-content:start}
.pb-transmittal-action-dropdown{position:relative}
.pb-transmittal-action-dropdown>summary::-webkit-details-marker{display:none}
.pb-transmittal-menu{position:absolute;right:0;top:calc(100% + 4px);z-index:120;min-width:285px;
  border:1px solid #bcd9cb;background:#fff;border-radius:10px;box-shadow:0 14px 35px #173f3240;padding:7px}
.pb-transmittal-menu a,.pb-transmittal-menu button{display:flex;align-items:center;gap:9px;
  width:100%;min-height:39px;text-align:left;padding:7px 10px;background:transparent;
  border:0;border-radius:5px;color:#225847;text-decoration:none;font-size:12px;font-weight:600;cursor:pointer}
.pb-transmittal-menu a:hover,.pb-transmittal-menu button:hover{background:#e7f5ec}
.pb-transmittal-menu form{margin:0}
.pb-issue-log-dialog{border:1px solid #bcd9cb;border-radius:13px;padding:0;width:min(900px,95vw);
  max-width:900px;max-height:86vh;overflow:auto;background:#fff}
.pb-issue-log-dialog::backdrop{background:#10281f85}
.pb-issue-log-dialog .pb-transmittal-issues{display:grid;gap:8px;padding:12px}
.pb-transmittal-dialog .pb-watch-node.pb-watch-inherited>.pb-watch-row{opacity:.65}
.pb-transmittal-dialog .pb-watch-node.pb-watch-inherited>.pb-watch-row label{cursor:not-allowed}
.pb-grid-type .pb-type-action-icon{display:inline-grid;place-items:center;border:0;background:transparent;
  color:#0b7567;padding:3px;border-radius:5px;font-size:14px;cursor:pointer;vertical-align:middle}
.pb-grid-type .pb-type-action-icon:hover,.pb-grid-type .pb-type-action-icon:focus-visible{background:#daf2e9}

/* v0.99.10 r4: consistent desktop menus, readable document icons and panels. */
.pb-explorer .pb-grid th[data-col="mouse"],.pb-explorer .pb-grid td[data-col="mouse"]{
  width:114px!important;min-width:114px!important;max-width:114px!important;
  padding-left:12px!important;padding-right:12px!important;
}
.pb-explorer .pb-grid th[data-col="type"],.pb-explorer .pb-grid td[data-col="type"]{
  min-width:118px!important;max-width:none!important;
  white-space:nowrap!important;padding-left:10px!important;padding-right:10px!important;
}
.pb-explorer .pb-grid td.pb-grid-type{vertical-align:middle!important;overflow:visible!important}
.pb-explorer .pb-grid-type img{vertical-align:middle;margin-right:3px}
.pb-explorer .pb-grid-type .pb-type-action-icon{display:inline-flex!important;align-items:center;
  justify-content:center;width:23px;min-width:23px;height:25px;margin:0 1px;
  vertical-align:middle;line-height:1!important;color:#0a8270;font-size:20px!important;
  border-radius:5px;white-space:nowrap}
.pb-explorer .pb-grid-type .pb-link-status{display:inline-flex;align-items:center;vertical-align:middle;margin:0 1px}
.pb-explorer .pb-grid-type .pb-email-monitor-icon svg{display:block;width:19px;height:19px;flex:none}
.pb-recycle-link{display:inline-flex!important;align-items:center;gap:5px}
.pb-recycle-link svg{flex:none;color:#176e61}
.pb-unified-folder-menu{position:fixed;z-index:10075;min-width:290px;max-width:min(320px,90vw);
  max-height:calc(100vh - 16px);overflow-y:auto;padding:7px!important;border:1px solid #bcd9cb!important;
  border-radius:11px!important;box-shadow:0 16px 38px #173f3240!important;background:#fff!important}
.pb-unified-folder-menu .pb-user-menu-heading{margin:1px 5px 7px}
.pb-unified-folder-menu a,.pb-unified-folder-menu button{display:flex!important;align-items:center;
  gap:7px;min-height:39px;max-width:none;border-radius:6px!important;padding:7px 9px!important;
  font-size:12px!important;line-height:1.2!important;font-weight:600!important;color:#225847!important;
  text-decoration:none!important;background:transparent!important;white-space:normal!important}
.pb-unified-folder-menu a:hover,.pb-unified-folder-menu button:hover{background:#e8f5ee!important}
.pb-unified-folder-menu .pb-folder-delete-action{margin-top:7px!important;padding-top:13px!important;
  border-top:1px solid #f0dfe0!important;border-radius:0!important;color:#aa3843!important}
.pb-unified-folder-menu .pb-folder-delete-action:hover{background:#fff0f1!important}
.pb-unified-folder-menu [hidden]{display:none!important}
.pb-pdf-button-icon{display:inline-grid;place-items:center;width:22px;height:24px;vertical-align:middle;
  color:#fff;background:#c53d49;border-radius:3px;font-size:9px;font-weight:900;margin-right:4px}
.pb-transmittal-entry-actions .btn{display:inline-flex;align-items:center;gap:5px}
.pb-transmittal-preview-modal .pb-modal-table-scroll{max-height:54vh}
.pb-transmittal-preview-modal .pb-modal-table-scroll small{display:block;color:#72877e}
.pb-user-management-modal{padding:24px!important;gap:16px!important;max-width:100%}
.pb-user-management-modal .pb-user-management-header{padding:0 0 14px;margin:0}
.pb-user-management-modal .pb-user-management-header h2{font-size:23px!important;
  font-weight:800;margin:3px 0 8px!important;padding:0!important;color:#185449!important}
.pb-user-management-modal .pb-user-management-header p{font-size:13px;margin:0}
.pb-user-management-modal>.small-note{font-size:12px;color:#647e72;margin:0}
.pb-user-management-modal .pb-user-modal-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0}
.pb-user-management-modal .pb-user-modal-toolbar form{margin:0!important;padding:0!important}
.pb-user-management-modal .pb-user-modal-toolbar .btn{display:inline-flex;align-items:center;gap:5px}
.pb-user-management-modal .pb-user-activity-scroll{max-height:52vh;border:1px solid #deebe3;border-radius:7px}
.pb-user-management-modal .pb-simple-table th{position:sticky;top:0;z-index:1}
.pb-user-management-modal .pb-simple-table tr:nth-child(even){background:#f6faf8}
.pb-user-management-modal .pb-user-groups-choice{padding:10px;border:1px solid #d8e9df;
  border-radius:8px;max-height:48vh;overflow-y:auto}
.pb-user-management-modal .pb-user-groups-choice label{display:block;padding:9px 8px;
  border-bottom:1px solid #e8f0ea;font-size:13px}
.pb-user-management-modal .pb-user-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px 20px;padding:4px 0}
.pb-user-management-modal .pb-user-edit-grid label{font-size:12px;font-weight:750}
.pb-user-management-modal .pb-user-edit-grid input{width:100%!important;min-width:0!important}
.pb-user-management-modal .pb-dialog-actions{margin-top:6px;padding-top:15px;border-top:1px solid #e1ebe5}
.pb-explorer .pb-developments-page .pb-table-scroll:has(.pb-development-row-actions[open]){overflow:visible!important}
.pb-explorer .pb-dev-actions-col{width:110px;min-width:110px;text-align:center}
.pb-development-row-actions .pb-user-action-list{min-width:245px;z-index:4000}
.pb-development-row-actions .pb-user-action-list button{display:flex;align-items:center;gap:7px;
  width:100%;padding:9px 11px;font-size:12px;text-align:left;border:0;border-radius:5px;
  background:transparent;color:#225847;font-weight:650;cursor:pointer}
.pb-development-row-actions .pb-user-action-list button:hover{background:#e6f6eb}
.pb-development-row-actions .pb-user-action-list form{margin:0}
.pb-development-row-actions .pb-user-action-list button.pb-danger-action{border-top:1px solid #f3e1e2;
  margin-top:7px;padding-top:14px;color:#ac3b42}
.pb-revision-upload-modal form{display:flex;flex-direction:column;gap:15px}
.pb-revision-upload-modal .pb-revision-field{display:flex;flex-direction:column;gap:5px}
.pb-revision-dropzone{min-height:135px;border:2px dashed #86c9ad;border-radius:10px;
  background:#f5faf7;display:flex;align-items:center;flex-direction:column;justify-content:center;
  gap:7px;padding:18px;cursor:pointer;text-align:center}
.pb-revision-dropzone input[type="file"]{display:none!important}
.pb-revision-dropzone.is-dragover{background:#dff6e8;border-color:#098a71}
.pb-revision-dropzone:focus-visible{outline:3px solid #de9e31;outline-offset:2px}
.pb-revision-progress{display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  padding:12px;background:#f1faf5;border:1px solid #c5e4d4;border-radius:8px}
.pb-revision-progress progress{flex:1;min-width:100px;accent-color:#078d73}
.pb-revision-progress button{margin-left:auto}
@media(max-width:720px){.pb-user-management-modal{padding:15px!important}
  .pb-user-management-modal .pb-user-edit-grid{grid-template-columns:1fr}
  .pb-explorer .pb-grid th[data-col="type"],.pb-explorer .pb-grid td[data-col="type"]{min-width:116px!important}}

/* v0.99.10 r5: fixed-size table columns and contained document indicators. */
.pb-explorer #pb-document-grid col[data-col="mouse"]{width:128px!important;min-width:128px!important}
.pb-explorer #pb-document-grid th[data-col="mouse"],
.pb-explorer #pb-document-grid td[data-col="mouse"]{width:128px!important;min-width:128px!important;max-width:128px!important;
  text-align:center!important;overflow:hidden!important;text-overflow:clip!important;white-space:nowrap!important}
.pb-explorer #pb-document-grid col[data-col="type"]{min-width:140px!important}
.pb-explorer #pb-document-grid th[data-col="type"],
.pb-explorer #pb-document-grid td[data-col="type"]{min-width:140px!important;overflow:hidden!important;
  text-overflow:clip!important;white-space:nowrap!important}
.pb-explorer #pb-document-grid .pb-document-type-icons{display:inline-flex;align-items:center;justify-content:flex-start;
  gap:3px;max-width:100%;vertical-align:middle;white-space:nowrap}
.pb-explorer #pb-document-grid .pb-document-type-icons img{display:block!important;flex:none;margin:0!important}
.pb-explorer #pb-document-grid .pb-document-type-icons .pb-type-action-icon{
  display:inline-flex!important;flex:0 0 25px;min-width:25px;width:25px;margin:0!important;padding:2px!important}
.pb-explorer #pb-document-grid td[data-col="name"]{overflow:hidden!important;text-overflow:ellipsis!important}
.pb-customise-link{display:inline-flex!important;align-items:center;gap:5px}
.pb-customise-link svg,.pb-recycle-link svg{width:17px;height:17px;flex:0 0 17px;vertical-align:middle}

/* Recycle-bin action menu uses the same heading, coloured icon tiles and item rhythm. */
.pb-recycle-heading{display:flex;align-items:center;gap:10px}
.pb-recycle-heading svg{flex:none;color:#176e61}
.pb-recycle-table-scroll{overflow:visible!important}
.pb-recycle-grid{width:100%;border-collapse:collapse}
.pb-recycle-grid th:last-child,.pb-recycle-grid td:last-child{width:125px;min-width:125px}
.pb-recycle-action-menu{display:inline-block;position:relative}
.pb-recycle-action-menu>summary{list-style:none;display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;box-sizing:border-box;border:1px solid #b9ddce;border-radius:8px;
  background:#eff8f2;color:#106c5a;font-size:22px;line-height:1;cursor:pointer}
.pb-recycle-action-menu>summary::-webkit-details-marker{display:none}
.pb-recycle-action-menu>summary::marker{content:""}
.pb-recycle-action-menu>summary:hover,.pb-recycle-action-menu[open]>summary{background:#d8eee1;border-color:#70bda6}
.pb-recycle-action-list{position:absolute;z-index:1200;top:calc(100% + 6px);right:0;
  min-width:260px;max-width:min(300px,85vw);background:#fff;border:1px solid #bcd9cb;
  padding:7px;border-radius:11px;box-shadow:0 16px 38px #173f3240;text-align:left}
.pb-recycle-action-list .pb-user-menu-heading{margin:1px 5px 6px}
.pb-recycle-action-list a,.pb-recycle-action-list button{display:flex;align-items:center;width:100%;min-height:39px;
  gap:7px;padding:7px 9px;border:0;border-radius:6px;background:transparent;color:#225847;
  font-size:12px;line-height:1.3;font-weight:600;text-align:left;text-decoration:none;cursor:pointer}
.pb-recycle-action-list a:hover,.pb-recycle-action-list button:hover{background:#e7f5ec}
.pb-recycle-action-list form{margin:0}
.pb-recycle-action-list .pb-menu-symbol{margin-right:3px}

/* v0.99.10 r6: compact tables, working recycle popovers and matched tree actions. */
.pb-explorer #pb-document-grid col[data-col="mouse"]{width:88px!important;min-width:88px!important}
.pb-explorer #pb-document-grid th[data-col="mouse"],
.pb-explorer #pb-document-grid td[data-col="mouse"]{width:88px!important;min-width:88px!important;
  max-width:88px!important;padding-left:8px!important;padding-right:8px!important}
.pb-explorer #pb-document-grid col[data-col="type"]{min-width:114px!important}
.pb-explorer #pb-document-grid th[data-col="type"],
.pb-explorer #pb-document-grid td[data-col="type"]{min-width:114px!important;
  padding-left:7px!important;padding-right:7px!important}
.pb-explorer #pb-document-grid .pb-document-type-icons img{width:25px!important;height:29px!important;
  max-width:25px!important}
.pb-explorer #pb-document-grid .pb-document-type-icons{gap:2px}
.pb-explorer #pb-document-grid .pb-document-type-icons .pb-type-action-icon{flex-basis:23px;
  min-width:23px;width:23px}
.pb-explorer .pb-recycle-grid td:last-child{overflow:visible!important;position:relative;z-index:2}
.pb-explorer .pb-recycle-grid tr:has(.pb-recycle-action-menu[open]) td:last-child{z-index:1000}
.pb-explorer .pb-recycle-grid .pb-recycle-action-list{z-index:1200}
.pb-explorer .workspace-tree .pb-tree-node-row>.pb-folder-menu-button{
  position:relative;z-index:1;flex-shrink:0}
.pb-download-list-trigger{gap:7px!important}
.pb-download-list-trigger svg{width:17px;height:17px;flex:none}
.pb-download-count{display:inline-flex;align-items:center;justify-content:center;
  min-width:21px;height:21px;padding:0 5px;border-radius:12px;background:#d9f1e5;color:#116a55;font-size:11px}
.pb-download-count[hidden]{display:none}
.pb-download-list-modal .pb-modal-header h2{margin:6px 0;font-size:23px}
.pb-download-list-modal .pb-modal-header p{font-size:13px}
.pb-download-list-scroll{max-height:46vh;overflow:auto;border:1px solid #d6e7de;border-radius:8px}
.pb-download-list-scroll .pb-simple-table th{position:sticky;top:0;z-index:1}
.pb-download-list-scroll .pb-simple-table td{font-size:12px}
.pb-download-list-scroll .pb-simple-table th:last-child{width:90px}
.pb-download-remove{border:1px solid #e8c9cb;background:#fff5f5;color:#a73742;
  padding:6px 10px;border-radius:6px;font-size:12px;cursor:pointer}
.pb-download-list-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:15px 0}
.pb-download-list-actions form{margin:0}
.pb-download-list-empty{padding:18px;border:1px dashed #bcdcc9;border-radius:8px;
  background:#f7fcf8;color:#3e6659;font-size:13px;margin:15px 0}
.pb-download-share-panel{border-top:1px solid #dcece2;margin:18px 0 0;padding:18px 0 2px}
.pb-download-share-panel h3{color:#135f4f;font-size:17px;margin:0 0 8px}
.pb-download-share-panel p{font-size:12px;line-height:1.5;color:#4d7266}
.pb-download-share-fields{display:grid;grid-template-columns:180px minmax(180px,1fr);gap:12px;margin:14px 0}
.pb-download-share-fields label{display:grid;gap:6px;color:#285d50;font-size:12px;font-weight:650}
.pb-download-share-fields input,.pb-download-share-fields select{border:1px solid #bfdacc;
  border-radius:7px;padding:9px 10px;width:100%;background:#fff;color:#235a48}
.pb-download-share-result{padding:13px;background:#edf9f1;border:1px solid #b8dfc5;
  border-radius:8px;margin:12px 0;color:#135f4f;overflow-wrap:anywhere}
.pb-download-share-result input{width:100%;padding:9px;border:1px solid #aacdbb;border-radius:5px}
.pb-download-share-result .pb-share-buttons{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.pb-download-list-feedback{padding:10px;background:#eef7f2;color:#1d6653;border-radius:7px}

/* r9: compact register controls, intrinsic file-icon widths and consistent menus. */
.pb-explorer .pb-actionbar .pb-toolbar-icon{width:35px;min-width:35px;height:34px;
  display:inline-flex;align-items:center;justify-content:center;padding:5px!important;font-size:19px}
.pb-explorer .pb-actionbar .pb-recycle-link{font-size:0!important}
.pb-explorer .pb-actionbar .pb-customise-link span{display:none!important}
.pb-explorer #pb-document-grid col[data-col="type"]{min-width:0!important}
.pb-explorer #pb-document-grid th[data-col="type"],
.pb-explorer #pb-document-grid td[data-col="type"]{min-width:0!important;max-width:none!important;
  padding-left:6px!important;padding-right:6px!important}
.pb-explorer #pb-document-grid th[data-col="type"]{text-align:center!important}
.pb-actions-dropdown .pb-actions-menu.pb-coloured-menu a{display:flex;align-items:center;gap:8px;
  min-height:40px;box-sizing:border-box;border-radius:5px;padding:8px 11px;font-size:12px;
  font-weight:600;color:#225847;background:transparent;text-decoration:none;white-space:normal}
.pb-actions-dropdown .pb-actions-menu.pb-coloured-menu a:hover{background:#e8f3ed}
.pb-actions-dropdown .pb-actions-menu button:disabled{opacity:.38!important;cursor:not-allowed}
.pb-acl-saved-message{background:#e4f5ed;border:1px solid #a3d8ba;color:#115a43;border-radius:8px;padding:12px 16px;margin:12px 0}
.pb-download-links-page{max-width:1160px;margin:20px auto;padding:26px}
.pb-download-link-card{border:1px solid #cedfd8;background:#fff;border-radius:12px;padding:14px 18px;margin:16px 0}
.pb-download-link-card>summary{cursor:pointer;color:#125246;line-height:1.55}
.pb-share-status{margin-left:15px;background:#e8f6ee;padding:3px 9px;border-radius:8px}
.pb-download-link-forms{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:20px 0}
.pb-download-link-forms form{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.pb-download-link-forms label{width:100%;display:grid;gap:5px;color:#194e43}
.pb-download-link-forms input,.pb-download-link-forms select,.pb-download-link-forms textarea{width:100%;max-width:100%;border:1px solid #bed6cc;border-radius:7px;padding:8px}
.pb-download-link-secondary{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap}
.pb-default-folder-tree{max-height:280px;overflow:auto;padding:12px;border:1px solid #cce2d8;border-radius:9px;background:#f6faf7}
.pb-default-folder-development{padding:9px 0;border-top:1px solid #dfebe5}
.pb-default-folder-development[hidden]{display:none}
.pb-default-folder-node{margin:6px 0 6px 17px;border-left:1px solid #d1e7db;padding-left:9px}
.pb-default-folder-node summary{cursor:pointer;font-size:.9rem;color:#24584b}
.pb-tree-choice{display:flex;gap:8px;align-items:center;cursor:pointer;padding:5px 0;font-size:.9rem}
.pb-tree-choice input[type="radio"]{width:auto!important}
@media(max-width:650px){.pb-download-share-fields{grid-template-columns:1fr}}

/* v0.99.11 document-issue approval workflow */
.pb-explorer #pb-document-grid col[data-col="approval"]{width:88px!important;min-width:88px!important}
.pb-explorer #pb-document-grid th[data-col="approval"],
.pb-explorer #pb-document-grid td[data-col="approval"]{width:88px!important;min-width:88px!important;
  max-width:88px!important;text-align:center;padding:6px!important}
.pb-workflow-dot{display:inline-block;width:17px;height:17px;min-width:17px;padding:0;
  border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #a7cabb;vertical-align:middle}
.pb-workflow-dot.is-pending{background:#d72d48;box-shadow:0 0 0 1px #b3293c}
.pb-workflow-dot.is-approved{background:#129c67;box-shadow:0 0 0 1px #0d8056}
.pb-workflow-dot:hover,.pb-workflow-dot:focus-visible{outline:2px solid #154e43;outline-offset:3px}
.pb-approval-settings{margin:24px 0;background:#fff;border:1px solid #d4e5db;border-radius:11px;
  padding:22px;max-width:1000px}
.pb-approval-settings>p{font-size:13px;line-height:1.5;color:#55746b}
.pb-approval-type-grid{display:grid;gap:8px;margin-top:15px}
.pb-approval-type-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.pb-approval-type-row>input{flex:1 1 170px;max-width:350px;padding:9px;border:1px solid #c2dbcf;border-radius:7px}
.pb-approval-type-row>.btn{padding:8px 13px}
.pb-user-edit-grid .field:has(#id_approval_types){grid-column:1/-1}
.pb-user-edit-grid #id_approval_types{display:flex;flex-wrap:wrap;gap:12px}
.pb-user-edit-grid #id_approval_types label{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.pb-user-edit-grid #id_approval_types input{width:17px;height:17px;accent-color:#0e8b73}
.pb-approval-modal .pb-modal-header p{margin:8px 0}
.pb-approval-timeline{list-style:none;padding:0 0 0 6px;margin:18px 0 22px}
.pb-approval-stage{display:grid;grid-template-columns:22px 1fr;gap:9px;position:relative;padding:6px 0 18px}
.pb-approval-stage:not(:last-child)::before{content:"";position:absolute;left:8px;top:23px;bottom:-3px;
  width:2px;background:#c7e4d4}
.pb-approval-stage-dot{width:17px;height:17px;border-radius:50%;border:2px solid #a8cbbb;background:#fff}
.pb-approval-stage.is-complete .pb-approval-stage-dot{background:#1d9e71;border-color:#1d9e71}
.pb-approval-stage.is-current .pb-approval-stage-dot{background:#e39e19;border-color:#b77b0e;
  box-shadow:0 0 0 3px #fff0cb}
.pb-approval-stage.is-rejected .pb-approval-stage-dot{background:#d52c43;border-color:#b21d35}
.pb-approval-stage strong{display:block;color:#195748;font-size:14px}
.pb-approval-stage small{display:block;color:#718b82;margin-top:3px;font-size:11px}
.pb-approval-stage p{margin:5px 0 0;color:#4d7164;font-size:12px}
.pb-approval-modal textarea{width:100%;border:1px solid #bcd9cb;border-radius:7px;padding:9px;margin-top:6px}
.pb-approval-modal label{font-size:12px;font-weight:700;color:#215b4c}
.pb-approval-reject,.pb-approval-rejection{color:#a71f38!important}

/* v0.99.11 r3: compact fixed controls; saved legacy widths must not widen them. */
.pb-explorer #pb-document-grid col[data-col="mouse"]{width:70px!important;min-width:70px!important}
.pb-explorer #pb-document-grid th[data-col="mouse"],
.pb-explorer #pb-document-grid td[data-col="mouse"]{box-sizing:border-box;width:70px!important;
  min-width:70px!important;max-width:70px!important;padding-left:3px!important;padding-right:3px!important}
.pb-explorer #pb-document-grid col[data-col="approval"]{width:78px!important;min-width:78px!important}
.pb-explorer #pb-document-grid th[data-col="approval"],
.pb-explorer #pb-document-grid td[data-col="approval"]{box-sizing:border-box;width:78px!important;
  min-width:78px!important;max-width:78px!important;padding-left:3px!important;padding-right:3px!important}

/* Hover-capable devices reveal only the actions for the hovered tree row.
   Focus-within preserves keyboard access; touch devices retain visible menus. */
@media (hover: hover) and (pointer: fine){
  .pb-explorer .workspace-tree .pb-org-summary>.pb-org-actions-button,
  .pb-explorer .workspace-tree .pb-development-summary>.pb-dev-actions-button,
  .pb-explorer .workspace-tree .pb-tree-node-row>.pb-folder-menu-button{
    opacity:0!important;visibility:hidden;pointer-events:none;transition:opacity .12s ease}

  .pb-explorer .workspace-tree .pb-org-summary:hover>.pb-org-actions-button,
  .pb-explorer .workspace-tree .pb-org-summary:focus-within>.pb-org-actions-button,
  .pb-explorer .workspace-tree .pb-org-summary>.pb-org-actions-button[aria-expanded="true"],
  .pb-explorer .workspace-tree .pb-development-summary:hover>.pb-dev-actions-button,
  .pb-explorer .workspace-tree .pb-development-summary:focus-within>.pb-dev-actions-button,
  .pb-explorer .workspace-tree .pb-development-summary>.pb-dev-actions-button[aria-expanded="true"],
  .pb-explorer .workspace-tree .pb-tree-node-row:hover>.pb-folder-menu-button,
  .pb-explorer .workspace-tree .pb-tree-node-row:focus-within>.pb-folder-menu-button{
    opacity:1!important;visibility:visible;pointer-events:auto}
}
/* v0.99.11 r4 — public upload entry and request-manager controls. */
.pb-upload-request-item{border:1px solid #dce8e2;border-radius:9px;padding:12px 15px;margin:12px 0;background:#f8fbfa}
.pb-upload-request-item h4{margin:0 0 5px;font-size:1rem}
.pb-upload-request-item ul{padding-left:21px;font-size:.86rem}
.pb-upload-request-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:9px}
.pb-upload-request-actions form{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin:0}
.pb-upload-request-result{padding:12px;margin:12px 0;background:#e7f5ee;border:1px solid #93ceb0;border-radius:8px}
.pb-upload-request-result input{width:100%;max-width:100%;margin-bottom:8px}
.pb-upload-request-manager select[multiple]{min-height:100px}
.pb-external-upload-page{max-width:780px;margin:40px auto;padding:30px 36px;background:#fff;border:1px solid #dbe7e0;border-radius:12px;color:#193a33;box-shadow:0 4px 28px #123b2b10}
.pb-external-upload-page h1{font-size:1.9rem}
.pb-external-upload-page .field{margin:15px 0}
.pb-external-upload-page input,.pb-external-upload-page select{width:100%;max-width:100%;padding:10px;border:1px solid #c8d9d1;border-radius:6px}
.pb-external-upload-page .field-error{color:#b3223d}
.pb-upload-external-success{padding:20px;background:#e7f5ee;border-radius:8px}
@media(max-width:800px){.pb-external-upload-page{margin:8px;padding:20px}}
