:root{color-scheme:light;--rb-white:#ffffff;--rb-surface:#ffffff;--rb-bg:#eef1f4;--rb-border:#d6e0ea;--rb-primary:#2f3a46;--rb-primary-hover:#1f2833;--rb-accent:#ffb224;--rb-accent-soft:rgba(255,178,36,0.16);--rb-row-hover:rgba(255,178,36,0.08);--rb-primary-soft:rgba(47,58,70,0.1);--rb-text:#1a222c;--rb-text-muted:#5b6b7a;--rb-success:#1f9d55;--rb-warning:#d98e04;--rb-danger:#c0392b}*{box-sizing:border-box}body,html{margin:0;padding:0;font-family:Inter,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background:var(--rb-bg);color:var(--rb-text)}html{overflow-y:scroll;scrollbar-gutter:stable}a{color:inherit;text-decoration:none}.dashboard-shell{min-height:100vh;display:flex;flex-direction:column;background:var(--rb-bg)}.top-nav{min-height:84px;background:var(--rb-white);border-bottom:1px solid var(--rb-border);justify-content:space-between;padding:10px 24px;box-shadow:0 2px 14px -12px var(--rb-primary)}.top-nav,.top-nav-left{display:flex;align-items:center}.top-nav-left{gap:18px}.brand-group{display:flex;align-items:center;gap:6px}.nav-separator{display:inline-block;width:1px;height:28px;background:var(--rb-border);flex-shrink:0}.nav-app-name{font-size:20px;font-weight:700;color:var(--rb-primary);letter-spacing:.01em;line-height:1;white-space:nowrap}.brand-lockup{display:inline-flex;align-items:center;gap:10px}.brand-logo{width:150px;height:auto;display:block;border-radius:0}.brand-name{color:var(--rb-primary);font-size:15px;font-weight:700;letter-spacing:.01em}.menu-links{display:flex;gap:18px;font-size:15px;color:var(--rb-text-muted);line-height:1;position:relative;top:2px}.menu-links a.active{font-weight:700}.menu-links a.active,.menu-links a.pending{color:var(--rb-primary);border-bottom:2px solid var(--rb-accent);padding-bottom:6px}.menu-links a.pending{opacity:.8}.menu-links a:hover{color:var(--rb-primary-hover)}.top-nav-right{display:flex;gap:12px;color:var(--rb-text-muted);font-size:14px}.nav-greeting{align-self:center;font-size:13px;color:var(--rb-text-muted);white-space:nowrap}.btn-small{font-size:13px;padding:8px 12px}.btn-small:hover{background:#f1f5f9;color:#0f4c81}.dashboard-content{padding:22px 24px}.dashboard-heading{margin:0;font-size:36px;letter-spacing:.01em;color:var(--rb-primary)}.dashboard-heading-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.panel{background:var(--rb-white);border:1px solid var(--rb-border);border-radius:10px;transition:border-color .16s ease,box-shadow .16s ease}.panel:hover{border-color:var(--rb-primary);box-shadow:0 8px 20px -18px var(--rb-primary)}.dashboard-section-draft .panel{border-top:3px solid var(--rb-warning)}.dashboard-section-active .panel{border-top:3px solid var(--rb-success)}.dashboard-section-draft .panel-title{color:var(--rb-warning)}.dashboard-section-active .panel-title{color:var(--rb-success)}.panel-header{padding:14px 16px;border-bottom:1px solid var(--rb-border);display:flex;align-items:center;justify-content:space-between}.panel-header-plain{padding-left:0;padding-right:0;border-bottom:none}.panel-title{margin:0;font-size:16px;font-weight:600}.panel-header-meta{font-weight:600}.panel-header-meta,.panel-subtitle{color:var(--rb-text-muted);font-size:14px}.panel-body,.panel-body-filter{padding:16px}.panel-body-compact-top{padding-top:0}.panel-spaced{margin-top:6px}.empty-state{min-height:260px;border:1px dashed var(--rb-border);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:var(--rb-text-muted);gap:8px}.empty-state-title{margin:0;font-size:28px;color:var(--rb-text)}.table{width:100%;border-collapse:collapse;table-layout:fixed}.table-col-main{width:68%}.table-col-meta{width:32%}.table td,.table th{text-align:left;padding:10px 0;border-bottom:1px solid var(--rb-border);font-size:15px;line-height:1.35}.table th{color:var(--rb-text-muted)}.table tbody td:first-child,.table th{font-weight:600}.table tbody tr:hover{background:var(--rb-row-hover)}.table-col-meta-cell{text-align:right!important}.table-col-meta-cell-value{white-space:nowrap}.template-link{color:var(--rb-primary)}.template-link:hover{color:var(--rb-primary-hover)}.action-row{display:flex;gap:10px}.admin-actions-row{justify-content:center}.admin-actions-cell{text-align:center!important}.action-row-spaced{margin-top:14px}.btn{border:1px solid var(--rb-border);background:var(--rb-white);color:var(--rb-text);border-radius:7px;font-size:14px;line-height:1;height:51px;padding:0 21px;display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:6px;transition:background-color .12s ease,border-color .12s ease,color .12s ease,transform 80ms ease,opacity .12s ease}.btn:hover{color:var(--rb-primary);background:var(--rb-primary-soft)}.btn-primary,.btn:hover{border-color:var(--rb-primary)}.btn-primary{background:var(--rb-primary);color:var(--rb-white)}.btn-primary:focus-visible,.btn-primary:hover{background:rgba(47,58,70,.16);color:#2f3a46;border-color:rgba(47,58,70,.36);box-shadow:inset 0 0 0 1px rgba(47,58,70,.2);transition:background-color .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease,transform 80ms ease}.btn:not(:disabled):active{transform:translateY(1px)}.btn-primary:not(:disabled):active{background:var(--rb-primary-hover);border-color:var(--rb-primary-hover);filter:brightness(.92)}.btn:disabled{cursor:not-allowed;opacity:.6;background:var(--rb-bg-soft);border-color:var(--rb-border);color:var(--rb-text-muted);box-shadow:none;transform:none}.btn-primary:disabled{background:var(--rb-text-muted);border-color:var(--rb-text-muted);color:var(--rb-white)}.btn-danger{color:var(--rb-danger);border-color:rgba(192,57,43,.2)}.btn-danger:hover{background:rgba(192,57,43,.08);border-color:var(--rb-danger);color:var(--rb-danger)}.btn-secondary{color:var(--rb-text-muted)}.btn-secondary:focus-visible,.btn-secondary:hover{background:rgba(255,178,36,.18);color:#b45309;border-color:rgba(255,178,36,.45);box-shadow:inset 0 0 0 1px rgba(255,178,36,.25);transition:background-color .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease,transform 80ms ease}.footer-link{display:inline-block;margin-top:12px;color:var(--rb-primary);font-size:14px}.footer-link:hover{color:var(--rb-primary-hover)}.page-shell{padding:22px 24px}.dashboard-shell:has(.page-shell-editor){min-height:100vh}.dashboard-shell:has(.auth-shell) .top-nav{display:none}.dashboard-shell:has(.page-shell-editor) .top-nav{display:none}.auth-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:40px 24px;background:linear-gradient(160deg,#f0f4f8 0,var(--rb-white) 60%)}.auth-logo-fixed{position:fixed;top:14px;left:24px;display:inline-flex;align-items:center;z-index:2000;width:150px;min-height:40px;opacity:1;visibility:visible}.auth-logo-fixed .brand-logo{width:150px;height:auto;display:block;opacity:1;visibility:visible}.auth-card{width:min(100%,500px);border:1px solid var(--rb-border);box-shadow:0 12px 40px -20px rgba(47,58,70,.18)}.auth-card-header{padding:36px 32px 28px;text-align:center;border-bottom:1px solid var(--rb-border);background:linear-gradient(180deg,#f8fafc 0,var(--rb-white) 100%);border-radius:10px 10px 0 0}.auth-card-logo{width:140px;height:auto;display:block;margin:0 auto 20px}.auth-card-title{margin:0 0 8px;font-size:22px;font-weight:700;color:var(--rb-primary);letter-spacing:-.01em}.auth-card-register{width:min(100%,560px)}.owner-auth-shell{background:linear-gradient(160deg,#f0f4f8 0,var(--rb-white) 60%)}.owner-auth-card{border-color:var(--rb-border);box-shadow:0 12px 40px -20px rgba(47,58,70,.18)}.owner-auth-card-header{display:flex;flex-direction:column;align-items:center;background:linear-gradient(180deg,#f3f5f7,#eef2f5);border-bottom-color:var(--rb-border);border-radius:10px 10px 0 0}.owner-auth-card-header>a{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;margin:0 auto 20px;background:var(--rb-white);border:none;border-radius:10px;box-shadow:0 8px 18px -14px rgba(47,58,70,.2)}.owner-auth-card-header .auth-card-logo{margin:0;filter:none}.owner-auth-badge{display:inline-flex;align-items:center;gap:6px;align-self:center;background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.22);color:#315b93;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:4px 10px;border-radius:20px;margin:0 0 16px}.client-auth-badge{background:rgba(47,58,70,.08);border-color:rgba(47,58,70,.2);color:var(--rb-primary)}.owner-auth-title{color:var(--rb-primary)!important}.owner-auth-card-header .auth-description{color:var(--rb-text-muted)}.auth-card-body{display:flex;flex-direction:column;gap:16px;padding:28px 32px 32px}.auth-description{margin:0;color:var(--rb-text-muted);font-size:14px}.auth-error{margin:0;font-size:13px;color:#b42318}.auth-success{margin:0;font-size:13px;color:#067647}.password-input-wrap{position:relative;display:flex;align-items:center}.password-input-wrap .field-input{width:100%;padding-right:40px}.password-toggle{position:absolute;right:10px;background:none;border:none;padding:0;cursor:pointer;color:var(--rb-text-muted);display:flex;align-items:center;line-height:1}.password-toggle:hover{color:var(--rb-text)}.remember-option{display:inline-flex;align-items:center;gap:8px;color:var(--rb-text-muted);font-size:13px}.remember-option input{margin:0}.owner-org-body{display:flex;flex-direction:column;gap:14px}.owner-org-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px}.owner-org-actions{grid-column:1/-1;display:flex;justify-content:flex-start}.owner-org-table{width:100%;border-collapse:collapse}.owner-org-table td,.owner-org-table th{text-align:left;padding:10px 12px;border-top:1px solid var(--rb-border)}.owner-org-status{display:inline-flex;align-items:center;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:600;text-transform:capitalize;border:1px solid var(--rb-border)}.owner-org-status-active{background:var(--bg-light);color:var(--rb-primary)}.owner-org-status-paused{background:var(--bg-light);color:var(--rb-accent)}.owner-org-status-archived{background:var(--bg-light);color:var(--rb-text-muted)}.owner-org-row-actions{display:flex;gap:8px;flex-wrap:wrap}.auth-action-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.auth-action-row .btn{min-width:148px}.auth-form{display:flex;flex-direction:column;gap:16px}.auth-form-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.auth-forgot-link{font-size:13px;color:var(--rb-text-muted);text-decoration:underline;text-underline-offset:2px}.auth-forgot-link:hover{color:var(--rb-primary)}.auth-submit-btn{width:100%;height:42px;font-size:15px;font-weight:600;justify-content:center}.auth-divider{display:flex;align-items:center;gap:12px;color:var(--rb-text-muted);font-size:13px;margin:4px 0}.auth-divider:after,.auth-divider:before{content:"";flex:1 1;height:1px;background:var(--rb-border)}.auth-register-btn{width:100%;height:40px;font-size:14px;justify-content:center;color:var(--rb-primary);border-color:var(--rb-border)}.auth-section-title{margin:0 0 4px;font-size:11px;font-weight:700;color:var(--rb-text-muted);text-transform:uppercase;letter-spacing:.07em}.page-shell-editor{min-height:100vh;padding:18px 24px 112px;overflow-y:auto}.page-heading-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.page-heading-row-editor{position:-webkit-sticky;position:sticky;top:0;z-index:5;padding:16px 0 12px;margin-bottom:16px;background:linear-gradient(180deg,rgba(238,241,244,.98),rgba(238,241,244,.94) 82%,rgba(238,241,244,0));-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.page-subtitle{margin:4px 0 0}.page-back-link,.page-subtitle{color:var(--rb-text-muted);font-size:14px}.page-back-link{margin:0 0 10px}.page-panel{margin-bottom:14px}.page-actions{display:flex;align-items:center;gap:10px}.page-actions-vertical{flex-direction:column;align-items:flex-end;gap:8px}.page-heading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:10px}.filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));grid-gap:14px;gap:14px;align-items:center}.field-stack{display:flex;flex-direction:column;gap:6px}.field-hint{font-size:12px;color:var(--rb-text-muted);margin-top:-2px}.section4-modal .field-label{font-size:14px}.field-label{font-size:13px;font-weight:600;color:var(--rb-text-muted)}.field-input{width:100%;border:1px solid var(--rb-border);border-radius:8px;padding:10px 12px;background:var(--rb-white);color:var(--rb-text);font:inherit}select.field-input{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1.5 1.75 6 6.25l4.5-4.5' stroke='%2364748b' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:12px 8px;cursor:pointer}select.field-input:disabled{cursor:not-allowed}select.field-input::-ms-expand{display:none}.field-input:focus{outline:none;border-color:var(--rb-primary);box-shadow:0 0 0 3px rgba(47,58,70,.08)}.field-input:disabled,.field-input[readonly]{background:#f7f9fb;color:var(--rb-text-muted)}.field-textarea{min-height:128px;resize:vertical}.field-textarea-small{min-height:96px}.field-span-2{grid-column:span 2}.field-span-full{grid-column:1/-1}.filter-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:flex-end}.filter-grid .field-input,.panel-body-filter .field-input{min-height:42px;line-height:1.35}.filter-actions .btn{min-height:42px;padding-top:9px;padding-bottom:9px}.table-wide{table-layout:auto}.rams-tab-row{align-items:center}.rams-table{table-layout:fixed;width:100%}.rams-table td,.rams-table th{vertical-align:middle;padding:9px 8px;font-size:14px;min-width:0;overflow-wrap:anywhere}.rams-table td:first-child,.rams-table th:first-child{width:13%;text-align:left}.rams-table td:nth-child(2),.rams-table th:nth-child(2){width:20%;text-align:left}.rams-table td:nth-child(3),.rams-table th:nth-child(3){width:13%;text-align:left}.rams-table td:nth-child(4),.rams-table th:nth-child(4){width:11%;text-align:left}.rams-table td:nth-child(5),.rams-table th:nth-child(5){width:9%;text-align:center;white-space:nowrap}.rams-table td:nth-child(6),.rams-table th:nth-child(6){width:7%;text-align:center;white-space:nowrap}.rams-table td:nth-child(7),.rams-table td:nth-child(8),.rams-table th:nth-child(7),.rams-table th:nth-child(8){width:8%;text-align:center;white-space:nowrap}.rams-table td:nth-child(9),.rams-table th:nth-child(9){width:11%;text-align:right;white-space:nowrap}.rams-catalog-table td:first-child,.rams-catalog-table th:first-child{width:22%;text-align:left}.rams-catalog-table td:nth-child(2),.rams-catalog-table th:nth-child(2){width:32%;text-align:left}.rams-catalog-table td:nth-child(3),.rams-catalog-table th:nth-child(3){width:14%;text-align:center;white-space:nowrap}.rams-catalog-table td:nth-child(4),.rams-catalog-table th:nth-child(4){width:9%;text-align:center;white-space:nowrap}.rams-catalog-table td:nth-child(5),.rams-catalog-table th:nth-child(5){width:13%;text-align:center;white-space:nowrap}.rams-catalog-table td:nth-child(6),.rams-catalog-table th:nth-child(6){width:5%;text-align:center;white-space:nowrap;padding-right:16px}.rams-table-document-cell{display:grid;grid-gap:4px;gap:4px}.rams-table-client{color:var(--rb-text)}.rams-table-inline-actions{margin-top:4px}.rams-table-inline-actions .section3-actions-row{justify-content:flex-start}.rams-table-document-title{font-weight:600;color:var(--rb-text)}.rams-table-secondary{font-size:12px;color:var(--rb-text-muted)}.rams-table-created{width:auto;text-align:center!important;white-space:nowrap}.rams-table-actions{text-align:right!important;padding-right:8px!important}th.rams-table-actions{text-align:center!important}.rams-table-actions .section3-actions-row{justify-content:flex-end}.rams-catalog-table .rams-table-actions{text-align:center!important;padding-right:16px!important}.rams-catalog-table .rams-table-actions .section3-actions-row{justify-content:center}.rams-table-empty{text-align:center!important;padding:24px 16px!important;color:var(--rb-text-muted)}.rams-pagination,.table-pagination{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.rams-pagination-meta,.table-pagination-meta{font-size:13px;color:var(--rb-text-muted)}.rams-pagination-actions,.table-pagination-actions{display:flex;align-items:center;gap:8px}.rams-pagination-page,.table-pagination-page{font-size:13px;color:var(--rb-text-muted);min-width:88px;text-align:center}.table-pagination-page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 6px;border:1px solid var(--rb-border);border-radius:6px;background:var(--rb-surface);color:var(--rb-text);font-size:13px;font-weight:500;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.table-pagination-page-btn:hover:not(:disabled){background:var(--rb-hover);border-color:var(--rb-primary);color:var(--rb-primary)}.table-pagination-page-btn--active,.table-pagination-page-btn--active:disabled{background:var(--rb-primary);border-color:var(--rb-primary);color:#fff;cursor:default}.table-pagination-ellipsis{display:inline-flex;align-items:center;justify-content:center;min-width:24px;font-size:13px;color:var(--rb-text-muted);-webkit-user-select:none;-moz-user-select:none;user-select:none}@media (max-width:1320px){.rams-table td,.rams-table th{padding:8px 7px;font-size:13px}}@media (max-width:1180px){.rams-table td:nth-child(4),.rams-table th:nth-child(4){display:none}.rams-table td:first-child,.rams-table th:first-child{width:14%}.rams-table td:nth-child(2),.rams-table th:nth-child(2){width:24%}.rams-table td:nth-child(3),.rams-table th:nth-child(3){width:16%}.rams-table td:nth-child(5),.rams-table th:nth-child(5){width:12%}.rams-table td:nth-child(6),.rams-table th:nth-child(6){width:9%}.rams-table td:nth-child(7),.rams-table th:nth-child(7){width:10%}.rams-table td:nth-child(8),.rams-table th:nth-child(8){width:9%}.rams-table td:nth-child(9),.rams-table th:nth-child(9){width:6%}.rams-catalog-table td:nth-child(4),.rams-catalog-table th:nth-child(4){display:table-cell;width:9%}.rams-catalog-table td:first-child,.rams-catalog-table th:first-child{width:22%}.rams-catalog-table td:nth-child(2),.rams-catalog-table th:nth-child(2){width:32%}.rams-catalog-table td:nth-child(3),.rams-catalog-table th:nth-child(3){width:14%}.rams-catalog-table td:nth-child(5),.rams-catalog-table th:nth-child(5){width:13%}.rams-catalog-table td:nth-child(6),.rams-catalog-table th:nth-child(6){width:5%}}@media (max-width:920px){.rams-table-wrap{overflow-x:auto;overflow-y:hidden}.rams-table-created{padding-right:0!important}.rams-table-inline-actions{margin-top:10px}.rams-table-actions .section3-actions-row{justify-content:flex-start}.rams-pagination,.table-pagination{flex-direction:column;align-items:flex-start}}.status-badge{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1}.status-draft{background:rgba(217,142,4,.12);color:var(--rb-warning)}.status-in_review{background:rgba(47,58,70,.1);color:var(--rb-primary)}.status-published{background:rgba(31,157,85,.12);color:var(--rb-success)}.status-archived{background:rgba(100,116,139,.12);color:#64748b}.status-overdue{background:rgba(220,38,38,.12);color:var(--rb-error)}.status-due-soon{background:rgba(217,142,4,.12);color:var(--rb-warning)}.status-due-later{background:rgba(31,157,85,.12);color:var(--rb-success)}.version-selector-label{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:500;color:var(--rb-text-secondary)}.version-selector-prefix{white-space:nowrap}.version-selector{-moz-appearance:none;appearance:none;-webkit-appearance:none;background:var(--rb-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center;border:1px solid var(--rb-border);border-radius:7px;padding:5px 30px 5px 10px;font-size:13px;font-weight:600;color:var(--rb-text);cursor:pointer;transition:border-color .15s}.version-selector:focus,.version-selector:hover{border-color:var(--rb-primary)}.version-selector:focus{outline:none;box-shadow:0 0 0 3px rgba(47,58,70,.1)}.version-selector-static{font-size:13px;font-weight:600;color:var(--rb-text-secondary);padding:5px 10px;background:var(--rb-surface);border:1px solid var(--rb-border);border-radius:7px}.report-error-shell{padding:40px;text-align:center}.report-error-message{margin:0;color:var(--rb-danger)}.report-error-back-btn{margin-top:16px}.report-toolbar-modern{position:-webkit-sticky;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;border-bottom:1px solid var(--rb-border);background:color-mix(in srgb,var(--rb-surface) 92%,white 8%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);gap:12px;flex-wrap:wrap}.report-toolbar-back-btn{display:inline-flex;align-items:center;gap:6px}.report-toolbar-meta{display:flex;align-items:center;gap:8px;flex:1 1;min-width:0}.report-toolbar-title{margin:0;font-size:16px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.report-toolbar-version-wrap{display:inline-flex;align-items:center;gap:6px}.report-toolbar-version-label{font-size:12px;color:var(--rb-text-muted);white-space:nowrap}.report-toolbar-export-btn{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.report-page.rams-template-report{max-width:960px;margin:0 auto;padding:24px;background:#fff;color:var(--rb-text);font-family:Calibri,Arial,sans-serif;line-height:1.42}.rams-template-report .panel,.rams-template-report .rams-template-panel{border:1px solid var(--rb-border);border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06);background:#fff}.rams-template-report .panel-header{border-bottom:1px solid var(--rb-border);background:linear-gradient(180deg,#f8fafc,#f1f5f9);border-top-left-radius:12px;border-top-right-radius:12px;min-height:0;padding:10px 14px}.rams-template-report .panel-title{font-size:13px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-primary)}.rams-template-report .panel-body{padding:14px}.rams-template-report .rams-template-header-row h2{font-size:20px;color:#111}.rams-template-report .rams-template-meta-table tr{border-bottom:1px solid #e2e8f0}.rams-template-report .rams-template-meta-table td{vertical-align:top}.rams-template-report table{width:100%;border-collapse:collapse}.rams-template-report td,.rams-template-report th{border:1px solid #d6dee8;padding:7px 9px;text-align:left;font-size:13px;color:var(--rb-text)}.rams-template-report th{background:#f8fafc;font-weight:700}.rams-template-report .field-label{color:#222;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase}.rams-template-report .field-input{border-radius:10px;border:1px solid #d6dee8;background:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.4);color:var(--rb-text)}.rams-template-report .status-badge{border-radius:999px;border:1px solid #d6dee8;background:#f8fafc;color:var(--rb-primary);font-size:11px;text-transform:uppercase}.rams-template-report .report-ppe-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-gap:10px;gap:10px}.rams-template-report .report-ppe-card{border:1px solid #d6dee8;border-radius:10px;background:#f8fafc;padding:10px;display:flex;flex-direction:column;gap:8px;min-height:120px}.rams-template-report .report-ppe-image-wrap{position:relative;height:84px;border-radius:8px;background:#fff;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;overflow:hidden}.rams-template-report .report-ppe-image{max-width:100%;max-height:78px;object-fit:contain}.rams-template-report .report-ppe-standard{position:absolute;top:6px;right:6px;padding:2px 6px;border-radius:999px;background:rgba(15,23,42,.72);color:#fff;font-size:10px;font-weight:700}.rams-template-report .report-ppe-copy{display:grid;grid-gap:3px;gap:3px}.rams-template-report .report-ppe-title{margin:0;font-size:13px;font-weight:700;color:var(--rb-primary)}.rams-template-report .report-ppe-meta{margin:0;font-size:12px;color:var(--rb-text-muted)}@media print{.report-toolbar-modern{display:none}.report-page.rams-template-report{max-width:none;margin:0;padding:0;background:#fff}.rams-template-report table tr{break-inside:avoid;page-break-inside:avoid}.rams-template-report table thead{page-break-after:avoid;break-after:avoid}}.status-admin{background:var(--rb-accent-soft);color:var(--rb-warning)}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-bottom:18px}.summary-card{background:var(--rb-white);border:1px solid var(--rb-border);border-radius:10px;padding:18px}.summary-card-success{border-top:3px solid var(--rb-success)}.summary-label{display:block;color:var(--rb-text-muted);font-size:14px;margin-bottom:10px}.summary-value{font-size:30px;color:var(--rb-primary)}.card-list{display:grid;grid-gap:16px;gap:16px}.management-card{border:1px solid var(--rb-border);border-radius:10px;padding:16px;background:#fbfcfd}.management-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.management-card-title{margin:0 0 6px;font-size:18px;color:var(--rb-primary)}.management-card-copy{margin:0;font-size:14px;color:var(--rb-text-muted)}.management-card-footer{display:flex;justify-content:space-between;gap:12px;margin-top:12px;color:var(--rb-text-muted);font-size:13px}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.item-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:var(--rb-primary-soft);color:var(--rb-primary);font-size:12px;font-weight:600}.notice-banner{margin-bottom:14px;padding:10px 14px;border:1px solid var(--rb-border);border-radius:10px;background:var(--rb-white);color:var(--rb-text-muted);font-size:14px}.notice-banner-lock{border-color:rgba(31,157,85,.18);background:rgba(31,157,85,.06);color:var(--rb-success)}.validation-alert-banner{margin:0 0 14px;padding:12px 14px;border:1px solid rgba(180,35,24,.3);border-radius:10px;background:rgba(180,35,24,.08)}.validation-alert-title{margin:0;font-size:13px;font-weight:700;color:var(--rb-danger)}.validation-alert-copy{margin:4px 0 0;font-size:12px;color:#8f1e15}.validation-required-marker{font-size:12px;font-weight:700;color:var(--rb-danger)}.field-stack-error .field-label{color:var(--rb-danger)}.field-input-error{border-color:rgba(180,35,24,.45);box-shadow:0 0 0 1px rgba(180,35,24,.12)}.panel-error{border-color:rgba(180,35,24,.32)}.detail-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.detail-layout-single{grid-template-columns:1fr}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.section2-large-textarea{min-height:140px}.section2-description-textarea{min-height:2lh;resize:none;overflow-y:hidden}.section2-expected-locations-editor{min-height:3lh;padding-bottom:12px;overflow-y:hidden}.field-textarea-compact{min-height:72px}.section1-split-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:18px;gap:18px}.section1-revision-input{max-width:88px;text-align:center}.section1-column{display:grid;grid-gap:12px;gap:12px;align-content:start}.section1-top-row{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;align-items:end}.section1-job-name-field{min-width:0}.section1-revision-field{justify-self:end;width:88px}.section1-revision-field .field-label{text-align:center}.section1-inline-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.section1-next-review-span{grid-column:1/-1}.section1-next-review-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.section1-next-review-select{width:140px;flex-shrink:0}.section1-next-review-date{flex:1 1;min-width:180px;max-width:280px}.section1-subsection{border:1px solid var(--rb-border);border-radius:8px;padding:12px;background:#fbfcfd;display:grid;grid-gap:8px;gap:8px}.section1-subsection-title{margin:0;font-size:14px;color:var(--rb-primary)}.section1-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:10px;gap:10px}.section1-address-finder-row{display:grid;grid-template-columns:1fr auto;grid-gap:10px;gap:10px;align-items:center}.section1-address-finder-note{font-size:12px;color:var(--rb-text-muted)}.section1-expand-address-btn{margin-top:8px;width:-moz-fit-content;width:fit-content}.section1-address-options{margin:4px 0 0;padding:0;list-style:none;display:grid;grid-gap:6px;gap:6px;max-height:260px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.section1-contact-email{grid-column:1/-1}.section1-validation-error{font-size:12px;color:var(--rb-danger)}.risk-section1-layout{display:grid;grid-gap:16px;gap:16px}.risk-section1-card{margin-bottom:0;padding:0;border-radius:0}.risk-section1-card-head{display:grid;grid-gap:4px;gap:4px;margin-bottom:10px}.risk-section1-card-title{margin:0;font-size:14px;font-weight:700;color:var(--rb-primary)}.risk-section1-card-copy{margin:0;font-size:12px;color:var(--rb-text-muted)}.risk-builder-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;align-items:end}.risk-section1-core-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));grid-gap:12px;gap:12px;align-items:end}.risk-task-rich-editor{min-height:3lh;padding:10px 12px 12px;line-height:1.45;overflow-y:hidden}.risk-task-rich-editor ol,.risk-task-rich-editor p,.risk-task-rich-editor ul{margin:0}.risk-task-rich-editor ol,.risk-task-rich-editor ul{padding-left:20px}.risk-task-colour-input{width:30px;height:30px;padding:0;border:1px solid var(--rb-border);border-radius:8px;background:var(--rb-white);cursor:pointer}@media (max-width:1320px){.risk-section1-core-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:960px){.risk-section1-core-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:640px){.risk-section1-core-grid{grid-template-columns:minmax(0,1fr)}}.risk-builder-span-full{grid-column:1/-1}.section2-workers-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:start;width:100%;grid-gap:12px;gap:12px}.section2-workers-grid .number-selector{grid-template-columns:minmax(36px,40px) minmax(64px,88px) minmax(36px,40px);justify-content:start}.section2-workers-grid .number-selector-input{max-width:none}.section2-two-column-layout{display:grid;grid-template-columns:2fr 1.4fr 2.6fr;grid-gap:16px;gap:16px;align-items:start}.section2-column{display:grid;grid-gap:12px;gap:12px;min-width:0}.section2-schedule-panel,.section2-workers-panel-inline{padding-right:12px;border-right:1px solid var(--rb-border)}.section2-workers-panel-inline .section2-workers-panel{padding-right:0;margin-right:0;border-right:none;justify-self:stretch;width:100%}.section2-hours-panel{padding-left:12px}.section2-weekend-toggle-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;width:100%;text-align:left}.section2-weekend-toggle-group{display:inline-flex;align-items:center;gap:10px;margin-left:auto}.section2-switch{display:inline-flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;margin-left:0}.section2-switch input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.section2-switch-slider{position:relative;width:34px;height:20px;border-radius:999px;background:var(--rb-border);transition:background-color .12s ease}.section2-switch-slider:after{content:"";position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.15);transition:transform .12s ease}.section2-switch input:checked+.section2-switch-slider{background:var(--rb-primary)}.section2-switch input:checked+.section2-switch-slider:after{transform:translateX(14px)}.section2-switch input:disabled+.section2-switch-slider{opacity:.6}.section2-switch-text{font-size:12px;color:var(--rb-text-muted)}.section2-working-hours-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:10px;gap:10px}.section2-weekday-field{padding-right:12px;border-right:1px solid var(--rb-border)}.section2-weekend-field{padding-left:6px}.section2-hours-input{min-height:34px;padding:6px 8px;font-size:inherit;line-height:inherit}.section2-date-input{text-align:center}.section2-date-picker-input{width:100%;font-weight:400}.section2-date-picker-input:focus{border-color:var(--rb-primary);box-shadow:0 0 0 2px var(--rb-primary-soft);outline:none}.section2-date-picker-popper{z-index:25}.section2-date-picker-calendar{border:1px solid var(--rb-border);border-radius:14px;box-shadow:0 14px 30px -22px var(--rb-primary);background:var(--rb-white);overflow:hidden;font-family:inherit;width:17.25rem;padding-bottom:0}.section2-date-picker-calendar .react-datepicker__triangle{display:none}.section2-date-picker-calendar .react-datepicker__header{background:var(--rb-white);border-bottom:1px solid var(--rb-border);padding:8px 0 6px}.section2-date-picker-calendar .react-datepicker__current-month{color:var(--rb-primary);font-weight:400;letter-spacing:.01em;margin-bottom:4px}.section2-date-picker-calendar .react-datepicker__day-name{color:var(--rb-text-muted);font-weight:400}.section2-date-picker-calendar .react-datepicker__day,.section2-date-picker-calendar .react-datepicker__day-name{width:1.95rem;line-height:1.95rem;margin:.1rem}.section2-date-picker-calendar .react-datepicker__day{border-radius:8px;color:var(--rb-text);transition:background-color .12s ease,color .12s ease,transform 80ms ease}.section2-date-picker-calendar .react-datepicker__day:hover{background:var(--rb-primary-soft);transform:translateY(-1px)}.section2-date-picker-calendar .react-datepicker__day--keyboard-selected,.section2-date-picker-calendar .react-datepicker__day--selected{background-color:var(--rb-primary);color:var(--rb-white)}.section2-date-picker-calendar .react-datepicker__day--outside-month{color:var(--rb-text-muted);opacity:.65}.section2-date-picker-calendar .react-datepicker__navigation{top:8px;width:28px;height:28px;border:1px solid var(--rb-border);border-radius:999px;background:var(--rb-white);display:flex;align-items:center;justify-content:center;padding:0;overflow:hidden}.section2-date-picker-calendar .react-datepicker__navigation--previous{left:10px}.section2-date-picker-calendar .react-datepicker__navigation--next{right:10px}.section2-date-picker-calendar .react-datepicker__navigation:hover{border-color:var(--rb-primary);background:var(--rb-primary-soft)}.section2-date-picker-calendar .react-datepicker__navigation-icon{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;top:0;left:0;right:0}.section2-date-picker-calendar .react-datepicker__navigation-icon:before{border-color:var(--rb-primary);border-width:2px 2px 0 0;height:6px;width:6px;top:calc(50% - 3px);left:calc(50% - 3px);right:auto}.section2-date-picker-calendar .react-datepicker__navigation-icon--previous:before{right:auto;left:calc(50% - 3px)}.section2-date-picker-calendar .react-datepicker__month-dropdown-container,.section2-date-picker-calendar .react-datepicker__year-dropdown-container{margin:0 2px}.section2-date-picker-calendar .react-datepicker__month-select,.section2-date-picker-calendar .react-datepicker__year-select{border:1px solid var(--rb-border);border-radius:8px;padding:3px 8px;color:var(--rb-text);background:var(--rb-white);font:inherit;font-size:12px;font-weight:400}.section2-date-picker-calendar .react-datepicker__month-select:focus,.section2-date-picker-calendar .react-datepicker__year-select:focus{border-color:var(--rb-primary);box-shadow:0 0 0 2px var(--rb-primary-soft);outline:none}.section2-date-picker-calendar .react-datepicker__today-button{border-top:1px solid var(--rb-border);background:var(--rb-bg);color:var(--rb-primary);font-weight:400;padding:8px 0;transition:background-color .12s ease}.section2-date-picker-calendar .react-datepicker__today-button:hover{background:var(--rb-primary-soft)}.section2-date-picker-calendar .react-datepicker__month-dropdown,.section2-date-picker-calendar .react-datepicker__year-dropdown{background:var(--rb-white);border:1px solid var(--rb-border);border-radius:8px}.section2-hours-range{display:flex;flex-wrap:nowrap;gap:6px;align-items:center;min-width:0}.section2-hours-range .react-datepicker-wrapper{display:block;flex:1 1;width:auto;max-width:none;min-width:0}.section2-hours-range .react-datepicker__input-container{display:block;width:100%;max-width:100%;min-width:0}.section2-time-picker-input{width:100%;min-width:0;padding:8px;text-align:center}.section2-working-hours-row .field-label{text-align:left}.section2-hours-separator{flex:0 0 18px;font-size:12px;color:var(--rb-text-muted);white-space:nowrap;text-align:center}.section2-validation-error{font-size:12px;color:var(--rb-danger)}.section2-time-picker-popper{z-index:25}.section2-time-picker-calendar{border:1px solid var(--rb-border);border-radius:12px;box-shadow:0 14px 30px -22px rgba(31,40,51,.7);font-family:inherit}.section2-time-picker-calendar .react-datepicker__header{background:var(--rb-bg);border-bottom:1px solid var(--rb-border)}.section2-time-picker-calendar .react-datepicker__time,.section2-time-picker-calendar .react-datepicker__time-box,.section2-time-picker-calendar .react-datepicker__time-container{width:100%}.section2-time-picker-calendar .react-datepicker__time-list-item{font-size:13px}.section2-time-picker-calendar .react-datepicker__time-list-item--selected{background-color:var(--rb-primary);color:var(--rb-white)}.section2-dates-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px;min-width:0}.section2-dates-row>*{min-width:0}.section2-dates-row-compact{gap:8px}.section2-dates-row-compact .field-input{padding:8px}.section2-dates-row-compact .number-selector{grid-template-columns:minmax(36px,40px) minmax(64px,88px) minmax(36px,40px);justify-content:start}.section2-dates-row-compact .number-selector-input{max-width:none}@media (max-width:1400px){.section2-two-column-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.section2-hours-panel{grid-column:1/-1;padding-left:0;border-top:1px solid var(--rb-border);padding-top:10px}.section2-dates-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:1180px){.section2-dates-row{grid-template-columns:1fr}}.section2-post-hours-layout{display:grid;grid-template-columns:max-content minmax(0,1fr);grid-gap:0;gap:0;align-items:start;width:100%}.section2-workers-panel{margin-top:0;justify-self:start;min-width:0;align-content:start;padding-right:12px;margin-right:12px;border-right:1px solid var(--rb-border)}.section2-dates-panel{padding-left:12px;min-width:0;align-content:start;gap:8px}.number-selector{display:grid;grid-template-columns:minmax(36px,40px) minmax(64px,88px) minmax(36px,40px);grid-gap:8px;gap:8px;align-items:center}.number-selector-input{width:100%;min-width:0;text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.section2-stepper-btn{min-width:36px;width:40px;height:40px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:10px}.section2-stepper-icon{display:inline-flex;width:14px;height:14px}.section2-stepper-icon svg{width:100%;height:100%}.number-selector-input::-webkit-inner-spin-button,.number-selector-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.section1-address-option-btn{width:100%;text-align:left;border:1px solid var(--rb-border);background:#fbfcfd;color:var(--rb-text);border-radius:8px;padding:8px 10px;font:inherit}.section1-address-option-btn:hover{border-color:var(--rb-primary);background:var(--rb-primary-soft)}.section2-image-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));grid-gap:10px;gap:10px}.section2-image-preview{height:88px}.editor-save-status,.section2-expected-locations-note{font-size:12px;color:var(--rb-text-muted)}.editor-save-status{min-height:16px;flex:1 1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.editor-save-status-saved{color:#0f7a43}.editor-save-status-error{color:#b42318}.editor-save-status-saving{color:var(--rb-text-muted)}.editor-action-bar{position:fixed;left:0;right:0;bottom:0;z-index:20;padding:6px 20px 8px;background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;box-sizing:border-box;display:flex;justify-content:center}.editor-action-bar-inner{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px 14px;border:1px solid rgba(47,58,70,.18);border-radius:16px;background:var(--rb-white);box-shadow:0 1px 2px rgba(15,23,42,.06),0 6px 16px -6px rgba(15,23,42,.18);width:min(1120px,calc(100vw - 48px))}.editor-action-bar .page-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin-left:auto}.editor-action-bar .btn{height:42px;padding:0 14px}@keyframes btn-spin{to{transform:rotate(1turn)}}.btn-spinner{width:16px;height:16px;animation:btn-spin .75s linear infinite;flex-shrink:0;vertical-align:middle;margin-right:6px}.editor-saving-overlay{inset:0;z-index:100}.editor-saving-overlay,.route-loading-overlay{position:fixed;background:rgba(238,241,244,.7);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}.route-loading-overlay{top:84px;left:0;right:0;bottom:0;z-index:95}.editor-saving-card{display:flex;flex-direction:column;align-items:center;gap:18px;background:#fff;border:1px solid var(--rb-border);border-radius:16px;padding:40px 60px;box-shadow:0 24px 48px -12px rgba(31,40,51,.22)}.editor-saving-spinner{width:44px;height:44px;color:var(--rb-primary);animation:btn-spin .8s linear infinite}.editor-saving-label{font-size:15px;font-weight:500;color:var(--rb-text);margin:0}.section2-save-actions{display:flex;align-items:center;gap:10px}.section2-save-status{font-size:12px}.section2-save-status-saved{color:#0f7a43}.section2-save-status-error{color:#b42318}.section2-save-status-saving{color:var(--rb-text-muted)}.section2-rich-editor{min-height:150px;white-space:pre-wrap;overflow-y:auto;direction:ltr;unicode-bidi:plaintext;text-align:left;padding-right:14px;padding-bottom:70px}.section2-rich-editor.section2-expected-locations-editor{min-height:3lh;padding-right:12px;padding-bottom:10px;overflow-y:hidden}.section2-rich-editor *{direction:ltr;text-align:left}.section2-rich-editor-frame{position:relative}.section2-rich-editor-toolbar{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid rgba(15,23,42,.08);border-radius:14px;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(247,250,252,.98));box-shadow:0 20px 34px -28px rgba(15,23,42,.42)}.section2-rich-editor-toolbar,.section2-rich-editor-toolbar-inside{justify-content:flex-start;margin-top:8px;flex-wrap:nowrap;width:-moz-fit-content;width:fit-content;max-width:100%;overflow-x:auto;overflow-y:hidden}.section2-rich-editor-toolbar-inside{position:static;padding:6px 8px;border-radius:12px;z-index:auto}.section2-rich-editor-tool-group{display:flex;align-items:center;gap:6px;padding-right:10px;border-right:1px solid rgba(148,163,184,.28)}.section2-rich-editor-tool-group:last-child{padding-right:0;border-right:0}.section2-rich-editor-tool{display:inline-flex;align-items:center;gap:7px;border:1px solid transparent;border-radius:10px;background:rgba(255,255,255,.8);color:var(--rb-text);padding:6px 10px;font:inherit;font-size:12px;font-weight:600;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,color .16s ease,transform .16s ease,box-shadow .16s ease}.section2-rich-editor-tool.is-active{background:#e9f4fb;border-color:rgba(15,76,129,.22);color:#0f4c81;box-shadow:inset 0 0 0 1px rgba(15,76,129,.08)}.section2-rich-editor-tool:hover:not(:disabled){background:#f4f9fc;border-color:rgba(15,76,129,.16);color:#0f3f57;box-shadow:0 10px 18px -16px rgba(15,76,129,.5)}.section2-rich-editor-tool:active:not(:disabled){transform:translateY(1px)}.section2-rich-editor-tool:disabled{opacity:.5;cursor:not-allowed}.section2-rich-editor-tool-icon{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;border-radius:7px;background:#edf4f8;color:#0f3f57;font-size:13px;font-weight:700}.section2-rich-editor-tool.is-active .section2-rich-editor-tool-icon{background:#d9ecf8;color:#0f4c81}.section2-rich-editor-tool-icon svg{width:13px;height:13px;display:block}.section2-rich-editor-tool-icon-bold{font-weight:800}.section2-rich-editor-tool-icon-italic{font-style:italic;font-weight:700}.section2-rich-editor-tool-label{white-space:nowrap}.section2-rich-editor-colour-group{display:inline-flex;align-items:center;gap:6px;padding:2px 0;position:relative}.section2-rich-editor-colour-group-inline{position:absolute;right:10px;bottom:10px;z-index:5;padding:0}.section2-rich-editor-colour-presets{display:inline-flex;align-items:center;gap:5px}.section2-rich-editor-colour-preset{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.section2-rich-editor-colour-preset:hover:not(:disabled){transform:translateY(-1px)}.section2-rich-editor-colour-preset.is-active{border-color:rgba(15,76,129,.28);box-shadow:0 0 0 2px rgba(15,76,129,.16)}.section2-rich-editor-colour-preset:disabled{opacity:.5;cursor:not-allowed}.section2-rich-editor-colour-preset-swatch{width:18px;height:18px;border-radius:6px;border:2px solid rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(15,23,42,.12);display:inline-block}.section2-rich-editor-colour-control{display:inline-flex;align-items:center;gap:6px;position:relative;padding:6px 10px;border-radius:10px;border:1px solid transparent;background:rgba(255,255,255,.8);color:var(--rb-text);font-size:12px;font-weight:600;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.section2-rich-editor-colour-control-inline{padding:5px 8px;border-radius:9px;gap:4px}.section2-rich-editor-colour-control-inline .section2-rich-editor-tool-label{display:none}.section2-rich-editor-colour-control.is-active{background:#e9f4fb;border-color:rgba(15,76,129,.22);color:#0f4c81;box-shadow:inset 0 0 0 1px rgba(15,76,129,.08)}.section2-rich-editor-colour-control:hover{background:#f4f9fc;border-color:rgba(15,76,129,.16);box-shadow:0 10px 18px -16px rgba(15,76,129,.5)}.section2-rich-editor-colour-control:active{transform:translateY(1px)}.section2-rich-editor-colour-control:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}.section2-rich-editor-colour-indicator{width:16px;height:16px;border-radius:5px;border:2px solid rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(15,23,42,.12);display:inline-block}.section2-rich-editor-colour-popover{position:absolute;top:calc(100% + 10px);left:0;z-index:15;width:216px;padding:14px;border:1px solid rgba(15,23,42,.1);border-radius:16px;background:rgba(255,255,255,.98);box-shadow:0 24px 48px -28px rgba(15,23,42,.38);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.section2-rich-editor-colour-popover.is-above{top:auto;bottom:calc(100% + 10px)}.section2-rich-editor-colour-popover-inline{top:auto;bottom:calc(100% + 8px);left:auto;right:0}.section2-rich-editor-colour-popover-header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.section2-rich-editor-colour-popover-preview{width:34px;height:34px;border-radius:12px;border:2px solid rgba(255,255,255,.94);box-shadow:0 0 0 1px rgba(15,23,42,.12);flex-shrink:0}.section2-rich-editor-colour-popover-heading-group{display:flex;flex-direction:column;gap:2px;min-width:0}.section2-rich-editor-colour-popover-title{font-size:13px;font-weight:700;color:var(--rb-text)}.section2-rich-editor-colour-popover-subtitle{font-size:11px;color:var(--rb-text-muted)}.section2-rich-editor-colour-popover-fields{display:flex;flex-direction:column;gap:10px}.section2-rich-editor-colour-popover-topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.section2-rich-editor-colour-popover-selected{width:30px;height:30px;border-radius:7px;border:1px solid rgba(15,23,42,.2);box-shadow:inset 0 0 0 1px rgba(255,255,255,.92);color:#111827;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.section2-rich-editor-colour-popover-selected svg{width:14px;height:14px}.section2-rich-editor-colour-common-panel{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}.section2-rich-editor-colour-common-grid{display:grid;grid-template-columns:repeat(6,24px);grid-gap:6px;gap:6px}.section2-rich-editor-colour-common-swatch{width:24px;height:24px;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.section2-rich-editor-colour-common-swatch:hover:not(:disabled){transform:translateY(-1px)}.section2-rich-editor-colour-common-swatch.is-active{border-color:rgba(15,76,129,.35);box-shadow:0 0 0 2px rgba(15,76,129,.16)}.section2-rich-editor-colour-common-swatch:disabled{opacity:.5;cursor:not-allowed}.section2-rich-editor-colour-common-swatch-fill{width:18px;height:18px;border-radius:6px;border:1px solid rgba(15,23,42,.2);display:block;margin:0 auto}.section2-rich-editor-colour-rgb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px;margin-top:4px}.section2-rich-editor-colour-field{display:flex;flex-direction:column;gap:7px}.section2-rich-editor-colour-field-hex{width:100%;margin-bottom:4px}.section2-rich-editor-colour-field-label{font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--rb-text-muted);margin-bottom:1px}.section2-rich-editor-colour-field-input{min-height:36px;padding:8px 10px;font-size:12px;border-radius:10px}.section2-rich-editor-colour-popover-actions{display:flex;justify-content:center;margin-top:2px}.section2-rich-editor-colour-reset-btn{min-height:30px;padding:6px 14px;border:1px solid rgba(15,76,129,.2);border-radius:10px;background:linear-gradient(180deg,#ffffff,#f5f9fc);color:#0f4c81;font:inherit;font-size:12px;font-weight:600;line-height:1;cursor:pointer;transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease,opacity .16s ease}.section2-rich-editor-colour-reset-btn:hover:not(:disabled){background:#edf6fc;border-color:rgba(15,76,129,.3);box-shadow:0 10px 16px -14px rgba(15,76,129,.5)}.section2-rich-editor-colour-reset-btn:active:not(:disabled){transform:translateY(1px)}.section2-rich-editor-colour-reset-btn:disabled{opacity:.55;cursor:not-allowed}@media (max-width:640px){.section2-rich-editor-toolbar{align-items:flex-start;width:100%}.section2-rich-editor-toolbar-inside{left:auto;right:8px;width:-moz-fit-content;width:fit-content;max-width:calc(100% - 16px);flex-wrap:wrap}.section2-rich-editor-tool-group{width:100%;padding-right:0;padding-bottom:10px;border-right:0;border-bottom:1px solid rgba(148,163,184,.24);flex-wrap:wrap}.section2-rich-editor-colour-group{width:100%;justify-content:flex-start;flex-wrap:wrap}.section2-rich-editor-colour-group-inline{width:auto;right:8px;bottom:8px;justify-content:normal;flex-wrap:nowrap}.section2-rich-editor-colour-popover{width:min(100%,216px)}}.section2-rich-editor:empty:before{content:attr(data-placeholder);color:var(--rb-text-muted)}.section2-rich-editor.is-readonly{background:var(--rb-bg)}.section2-location-upload{margin-top:4px}.section2-image-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,132px));grid-gap:10px;gap:10px;margin-top:12px}.section2-image-card{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--rb-border);border-radius:10px;background:#f8fafc}.section2-image-preview{display:block;width:100%;max-width:100%;aspect-ratio:1/1;height:auto;border-radius:8px;border:1px solid var(--rb-border);object-fit:cover}.section2-image-actions{display:flex;align-items:center;justify-content:center}.section2-image-actions .btn{width:auto}.section2-upload-button{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;border-radius:8px;border:1px solid var(--rb-border);background:var(--rb-surface);color:var(--rb-text);font-size:13px;font-weight:500;line-height:1;cursor:pointer;transition:border-color .12s ease,background-color .12s ease,color .12s ease}.section2-upload-button:hover{border-color:var(--rb-primary);background:var(--rb-primary-soft);color:var(--rb-primary)}.section2-upload-button:has(.section2-upload-input:disabled){cursor:not-allowed;opacity:.65}.section2-upload-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}.section2-upload-icon{width:14px;height:14px;fill:currentColor}.editor-confirm-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(26,34,44,.42);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.editor-confirm-dialog{width:min(100%,520px);padding:24px;border:1px solid rgba(47,58,70,.14);border-radius:20px;background:linear-gradient(180deg,#ffffff,#f7fafc);box-shadow:0 24px 80px -40px rgba(26,34,44,.55)}.editor-confirm-eyebrow{margin:0 0 8px;color:var(--rb-warning);font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.editor-confirm-title{margin:0;font-size:28px;line-height:1.1;color:var(--rb-primary)}.editor-confirm-copy{margin:12px 0 0;color:var(--rb-text-muted);font-size:15px;line-height:1.6}.editor-confirm-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.rams-mgmt-editor-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(26,34,44,.42);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.rams-mgmt-editor{width:min(1180px,calc(100vw - 24px));height:min(860px,calc(100vh - 24px));border:1px solid var(--rb-border);border-radius:14px;background:var(--rb-surface);box-shadow:0 24px 80px -40px rgba(26,34,44,.55);display:flex;flex-direction:column;overflow:hidden}.rams-mgmt-editor .panel-body{flex:1 1;overflow:auto}.rams-mgmt-editor--compact{width:min(640px,calc(100vw - 32px));height:auto;max-height:calc(100vh - 48px);padding:18px;display:flex;flex-direction:column;overflow:hidden}.rams-mgmt-editor--compact .panel-body{overflow:visible;padding-bottom:8px}.checklist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:12px;gap:12px}.checklist-item{padding:12px;border:1px solid var(--rb-border);border-radius:8px;background:#fbfcfd;font-size:14px}.checklist-item,.section3-toolbar{display:flex;align-items:center;gap:10px}.section3-toolbar{flex-wrap:wrap;margin-bottom:14px}.section3-toolbar-btn{height:34px;padding:0 12px 0 8px;border-radius:6px;border:1px solid #dfe6ed;background:#ffffff;color:#2f3a46;font-size:13px;font-weight:400;letter-spacing:.01em;box-shadow:0 1px 2px rgba(15,23,42,.04);display:inline-flex;align-items:center;gap:6px;transition:all .14s ease}.section3-toolbar-btn-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0}.section3-toolbar-btn svg{width:22px;height:22px;display:block;color:#2f3a46}.section3-toolbar-btn:hover{background:#f8fafc;border-color:#cbd5e1;box-shadow:0 1px 3px rgba(15,23,42,.05);color:#2f3a46}.section3-toolbar-btn:not(:disabled):active{transform:translateY(.5px);box-shadow:0 1px 2px rgba(15,23,42,.03)}.section3-toolbar-btn-primary{background:#6b7280;color:#ffffff;border-color:#5a6370;font-weight:400;box-shadow:0 1px 2px rgba(15,23,42,.04)}.section3-toolbar-btn-primary .section3-toolbar-btn-icon,.section3-toolbar-btn-primary svg{color:#ffffff}.section3-toolbar-btn-primary:hover{background:#5a6370;border-color:#4b5563;box-shadow:0 1px 3px rgba(15,23,42,.05);color:#ffffff}.section3-table-wrap{overflow-x:auto;border:1px solid var(--rb-border);border-radius:12px;background:var(--rb-white)}.section3-table{table-layout:fixed;width:100%}.section3-table thead th{background:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-text-muted);border-bottom:1px solid var(--rb-border);padding:12px 14px}.section3-table td,.section3-table th{vertical-align:top;padding:8px 14px;overflow:hidden;text-overflow:ellipsis}.section3-table td:first-child,.section3-table td:nth-child(2),.section3-table td:nth-child(3){vertical-align:middle}.section3-table td:first-child,.section3-table th:first-child{width:35%;text-align:left}.section3-table td:nth-child(2),.section3-table td:nth-child(3),.section3-table th:nth-child(2),.section3-table th:nth-child(3){width:25%;text-align:center}.section3-table td:nth-child(4),.section3-table th:nth-child(4){width:15%;text-align:right;padding-right:16px;white-space:nowrap}.activity-editor-table{table-layout:auto}.section3-table.activity-editor-table td,.section3-table.activity-editor-table th{width:auto}.activity-editor-actions-cell,.activity-editor-actions-col,.activity-editor-table td:last-child,.activity-editor-table th:last-child{text-align:center;white-space:nowrap;width:1%}.activity-editor-actions-cell .section3-actions-row,.activity-editor-table td:last-child .section3-actions-row{margin-left:0;margin-right:0;justify-content:center}.section3-table tbody tr{transition:background-color .12s ease}.section3-table tbody tr:nth-child(2n){background:#fbfcfd}.section3-table tbody tr:hover{background:var(--rb-row-hover)}.section3-table tbody tr:last-child td{border-bottom:0}.section3-activity-cell{display:grid;grid-gap:1px;gap:1px;align-content:center}.section3-activity-title{margin:0;font-size:15px;font-weight:600;color:var(--rb-text);line-height:1.3}.section3-activity-meta{margin:0;font-size:12px;color:var(--rb-text-muted);line-height:1.3}.section3-source-badge,.section3-steps-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;margin:0 auto;padding:4px 12px;border-radius:999px;font-size:14px;font-weight:600;white-space:nowrap}.section3-source-badge-library{background:rgba(15,76,129,.12);color:#0f4c81}.section3-source-badge-custom{background:rgba(107,114,128,.14);color:#374151}.section3-steps-badge{background:rgba(255,178,36,.18);color:#8a5a00}.section3-actions-row{display:inline-flex;justify-content:center;flex-wrap:nowrap;gap:0;padding:2px;border:1px solid rgba(203,213,225,.95);border-radius:10px;background:linear-gradient(180deg,#f8fafc,#f1f5f9);box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 8px 14px -18px rgba(15,23,42,.24)}.section3-action-btn{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;min-width:26px;min-height:26px;padding:0;border:0;border-radius:8px;background:transparent;color:#4b5563;box-shadow:none;cursor:pointer;transition:background-color .14s ease,color .14s ease,box-shadow .14s ease}.section3-actions-row .section3-action-btn+.section3-action-btn{border-left:1px solid rgba(203,213,225,.95);border-top-left-radius:0;border-bottom-left-radius:0}.section3-actions-row .section3-action-btn:first-child:not(:only-child){border-top-right-radius:0;border-bottom-right-radius:0}.section3-action-btn svg{width:22px;height:22px;display:block;flex-shrink:0;stroke-linecap:round;stroke-linejoin:round}.section3-action-btn:hover{background:rgba(255,255,255,.72);color:#0f4c81}.section3-action-btn:not(.section3-action-btn-danger):focus-visible,.section3-action-btn:not(.section3-action-btn-danger):hover{background:rgba(255,178,36,.2);color:#b45309;box-shadow:inset 0 0 0 1px rgba(255,178,36,.45)}.section3-action-btn.section3-action-btn-danger:hover{background:rgba(239,68,68,.16);color:var(--rb-danger)}.section3-action-btn.section3-action-btn-danger:focus-visible,.section3-action-btn.section3-action-btn-danger:hover{background:rgba(239,68,68,.16);color:var(--rb-danger);box-shadow:inset 0 0 0 1px rgba(239,68,68,.35)}.section3-modal-confirmation{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.5);z-index:1000;padding:20px}.section3-modal-confirmation-content{background:#ffffff;border-radius:12px;padding:24px;max-width:400px;width:100%;box-shadow:0 10px 40px rgba(15,23,42,.15);animation:slideUp .2s ease-out}@keyframes slideUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.section3-modal-confirmation-title{margin:0 0 12px;font-size:16px;font-weight:600;color:#1f2937}.section3-modal-confirmation-message{margin:0 0 20px;font-size:14px;color:#6b7280;line-height:1.5}.section3-modal-confirmation-actions{display:flex;gap:12px;justify-content:flex-end}.section3-modal-confirmation-actions .btn{flex:1 1}.section4-modal-confirmation{position:fixed;top:0;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.5);z-index:1000;padding:20px}.section4-modal-confirmation-content{background:#ffffff;border-radius:12px;padding:24px;max-width:400px;width:100%;box-shadow:0 10px 40px rgba(15,23,42,.15);animation:slideUp .2s ease-out}.section4-modal-confirmation-title{margin:0 0 12px;font-size:16px;font-weight:600;color:#1f2937}.section4-modal-confirmation-message{margin:0 0 20px;font-size:14px;color:#6b7280;line-height:1.5}.section4-modal-confirmation-actions{display:flex;gap:12px;justify-content:flex-end}.section4-modal-confirmation-actions .btn{flex:1 1}.section3-empty-state{border:1px dashed var(--rb-border);border-radius:10px;padding:18px;background:#fbfcfd}.section3-empty-title{margin:0 0 6px;font-size:16px;font-weight:600;color:var(--rb-text)}.section3-empty-copy{margin:0;color:var(--rb-text-muted);line-height:1.5}.section3-modal-overlay{position:fixed;inset:0;background:rgba(26,34,44,.42);display:flex;align-items:center;justify-content:center;padding:24px;z-index:80}.section3-library-modal,.section3-modal{width:min(1000px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:var(--rb-white);border:1px solid var(--rb-border);border-radius:14px;box-shadow:0 22px 44px -28px rgba(31,40,51,.7);padding:18px}.section3-modal{display:flex;flex-direction:column;overflow:hidden}.section3-modal-body{flex:1 1;overflow-y:auto;min-height:0;padding-right:10px;padding-bottom:8px}.section3-library-modal{width:min(900px,calc(100vw - 32px))}.section3-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.section3-modal-eyebrow{margin:0 0 4px;font-size:12px;color:var(--rb-text-muted);text-transform:uppercase;letter-spacing:.04em}.section3-modal-title{margin:0;font-size:20px;color:var(--rb-primary)}.create-rams-modal{width:min(1080px,calc(100vw - 32px));border-radius:16px;box-shadow:0 24px 48px -28px rgba(31,40,51,.65);padding:20px 20px 16px}.create-rams-modal .section3-modal-header{padding:4px 2px 10px;border-bottom:1px solid var(--rb-border);margin-bottom:12px}.create-rams-modal-body{padding-right:6px;gap:12px 14px}.create-rams-activities-block{margin-top:4px;padding:10px;border:1px solid var(--rb-border);border-radius:12px;background:var(--rb-bg)}.create-rams-chip-row{gap:8px}.create-rams-chip{border:1px solid var(--rb-border);border-radius:999px;padding:6px 10px;cursor:pointer;transition:border-color .12s ease,background-color .12s ease}.create-rams-chip.selected{border-color:var(--rb-primary);background:var(--rb-primary-soft)}.section3-steps-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 10px}.section3-step-list{display:grid;grid-gap:10px;gap:10px}.section3-step-card{display:grid;grid-gap:8px;gap:8px;padding:12px;border:1px solid var(--rb-border);border-radius:10px;background:#fbfcfd}.section3-step-row{display:flex;align-items:center;justify-content:flex-start;gap:8px}.section3-step-actions-row{margin-left:0;align-self:start;margin-top:2px}.section3-step-editor-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-gap:10px;gap:10px;align-items:start}.section3-step-editor-frame{width:100%;min-width:0}.section3-step-editor{min-height:34px;padding:8px 12px;line-height:1.45;border-radius:12px}.section3-step-editor ol,.section3-step-editor p,.section3-step-editor ul{margin:0}.section3-step-editor ol,.section3-step-editor ul{padding-left:20px}.section1-description-editor .section3-step-editor{min-height:128px}.section3-step-editor-toolbar{position:static;margin-top:8px;width:-moz-fit-content;width:fit-content;max-width:100%;padding:6px 8px;border-radius:12px;flex-wrap:nowrap}.section5-rich-editor-frame{width:100%;min-width:0}.section5-rich-editor{min-height:3lh;padding:10px 12px 12px;line-height:1.45;border-radius:12px;overflow-y:hidden}.section5-rich-editor ol,.section5-rich-editor p,.section5-rich-editor ul{margin:0}.section5-rich-editor ol,.section5-rich-editor ul{padding-left:20px}.section6-two-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section6-panel-body{display:grid;grid-gap:14px;gap:14px}.section6-toolbar{display:flex;justify-content:flex-end}.section6-table td:first-child,.section6-table th:first-child{width:28%;text-align:left}.section6-table td:nth-child(2),.section6-table th:nth-child(2){width:36%;text-align:left}.section6-table td:nth-child(3),.section6-table th:nth-child(3){width:20%;text-align:center}.section6-table td:nth-child(4),.section6-table th:nth-child(4){width:16%;text-align:right;white-space:nowrap}.section6-docs-list{display:inline-flex;flex-wrap:wrap;gap:6px}.section6-doc-chip{display:inline-flex;align-items:center;min-height:24px;padding:4px 10px;border-radius:999px;background:rgba(15,76,129,.12);color:#0f4c81;font-size:12px;font-weight:600;white-space:nowrap}.section6-docs-empty{font-size:13px;color:var(--rb-text-muted)}.section6-tools-field{margin-top:2px}.section6-modal-grid{display:grid;grid-gap:14px;gap:14px}.section6-multi-select{min-height:108px}.section3-step-index{font-size:13px;font-weight:600;color:var(--rb-primary)}.section3-modal-footer{padding:10px 0 4px;background:transparent;flex-shrink:0;display:flex;justify-content:center;width:100%}.section3-modal-footer-inner{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 18px;border:none;border-radius:16px;background:var(--rb-bg);box-shadow:0 1px 3px rgba(15,23,42,.08),0 8px 24px -4px rgba(15,23,42,.14);width:min(960px,100%)}.section3-library-list{display:grid;grid-gap:8px;gap:8px}.section3-library-card{gap:12px;padding:10px 12px;border:1px solid var(--rb-border);border-radius:12px;background:var(--rb-white)}.section3-library-card,.section3-library-card-main{display:flex;align-items:center;justify-content:space-between}.section3-library-card-main{width:100%;gap:10px}.section3-library-card-copy-wrap{min-width:0}.section3-library-title{margin:0;font-size:15px;font-weight:600;color:var(--rb-text)}.section3-library-title-compact{margin-bottom:2px}.section3-library-metrics{display:flex;gap:8px;align-items:center;margin-top:4px}.section3-library-add-btn{width:28px;height:28px;min-width:28px;min-height:28px;border:1px solid var(--rb-border);border-radius:7px;background:var(--rb-bg);color:var(--rb-primary);box-shadow:none}.section3-library-add-btn:hover:not(:disabled){background:var(--rb-primary-soft)}.section3-library-add-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0}.section3-library-add-icon svg{width:22px;height:22px}.section3-toolbar-btn-icon-only{min-width:36px;width:36px;padding:0;justify-content:center}@media (max-width:900px){.section3-step-editor-row{grid-template-columns:1fr}.section3-step-actions-row{justify-self:start}}.section3-library-copy{margin:0;font-size:13px;color:var(--rb-text-muted);line-height:1.4}.section3-modal-close-btn{min-height:34px;padding:6px 14px}.hazard-library-modal{width:min(1200px,calc(100vw - 56px));border-radius:12px;padding:16px}.hazard-library-modal .section3-modal-header{margin-bottom:6px}.hazard-library-modal .section3-modal-body{overflow-x:auto;padding-right:0}.hazard-library-modal .section4-table-wrap{overflow-x:auto}.hazard-library-list{gap:10px}.hazard-library-card{width:100%;padding:12px 14px}.hazard-library-card-main{display:grid;grid-template-columns:minmax(0,1fr) auto 28px;align-items:center;grid-column-gap:20px;column-gap:20px;width:100%}.hazard-library-card-copy-wrap{min-width:0}.hazard-library-metrics{justify-self:center;justify-content:center;min-width:220px;margin-top:0}.hazard-library-metrics .section4-risk-badge{min-width:76px}@media (max-width:900px){.hazard-library-modal{width:min(100%,calc(100vw - 20px))}.hazard-library-card-main{grid-template-columns:minmax(0,1fr) auto;row-gap:10px;align-items:start}.hazard-library-card-copy-wrap{grid-column:1/-1}.hazard-library-metrics{justify-self:start;min-width:0}}.section4-who-harmed{margin-bottom:20px;display:flex;flex-direction:column;gap:10px}.section4-who-harmed-chips{display:flex;flex-wrap:wrap;gap:8px}.section4-who-chip{display:inline-flex;align-items:center;padding:8px 18px;border:1.5px solid var(--rb-border);border-radius:8px;font-size:14px;font-weight:500;font-family:inherit;cursor:pointer;background:var(--rb-white);color:var(--rb-text-muted);transition:border-color .13s,background .13s,color .13s;-webkit-user-select:none;-moz-user-select:none;user-select:none;line-height:1}.section4-who-chip.selected,.section4-who-chip:hover:not(:disabled):not(.selected){border-color:var(--rb-accent);color:var(--rb-text)}.section4-who-chip.selected{background:var(--rb-accent);font-weight:600}.section4-who-chip:disabled{cursor:default;opacity:.85}.section4-who-others-input{max-width:360px}.ppe-tile-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));grid-gap:8px;gap:8px}.ppe-tile{display:flex;flex-direction:column;align-items:center;position:relative;gap:6px;border:1px solid var(--rb-border);border-radius:10px;background:var(--rb-white);color:var(--rb-text);padding:8px;min-height:142px;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.06);transition:border-color .13s,background-color .13s,transform .13s,box-shadow .13s}.ppe-tile:hover:not(:disabled):not(.selected){border-color:var(--rb-accent);background:var(--rb-primary-soft);transform:translateY(-1px);box-shadow:0 6px 16px -14px rgba(15,23,42,.35)}.ppe-tile.selected{border-color:var(--rb-primary);background:var(--rb-primary-soft);box-shadow:0 8px 18px -16px rgba(15,23,42,.4)}.ppe-tile:disabled{cursor:default;opacity:.8}.ppe-tile-image-wrap{position:relative;width:100%;aspect-ratio:1/1;border:1px solid var(--rb-border);border-radius:8px;background:var(--rb-bg);display:flex;align-items:center;justify-content:center;overflow:hidden}.ppe-tile-image{width:100%;height:100%;object-fit:contain}.ppe-tile-standard-overlay{position:absolute;left:4px;right:4px;bottom:4px;background:rgba(15,23,42,.82);color:var(--rb-white);border-radius:4px;padding:2px 4px;font-size:10px}.ppe-tile-label,.ppe-tile-standard-overlay{font-weight:600;text-align:center;line-height:1.2}.ppe-tile-label{font-size:12px}.ppe-tile-spec{font-size:10px;color:var(--rb-text-muted);text-align:center;line-height:1.2}.ppe-tile-check{position:absolute;top:8px;right:8px;width:20px;.ppe-report-grid{gap:14px}.ppe-report-tile{cursor:default;min-height:100%}.ppe-report-notes{color:var(--rb-text)}.ppe-report-notes ol:first-child,.ppe-report-notes p:first-child,.ppe-report-notes ul:first-child{margin-top:0}.ppe-report-notes ol:last-child,.ppe-report-notes p:last-child,.ppe-report-notes ul:last-child{margin-bottom:0}height:20px;border-radius:50%;background:#16a34a;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 4px rgba(15,23,42,.22)}.ppe-tile-fallback{justify-content:center}.ppe-notes-input{min-height:4lh}.ppe-notes-block{margin-top:14px}@media (max-width:700px){.ppe-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ppe-tile{min-height:136px}}.section4-toolbar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px;align-items:center}.section4-table-wrap{overflow-x:auto;border-radius:12px;border:1px solid rgba(203,213,225,.85);box-shadow:0 8px 20px -22px rgba(15,23,42,.38)}.section4-table{table-layout:fixed;width:100%}.section4-table thead th{background:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-text-muted);border-bottom:1px solid var(--rb-border);padding:12px 14px}.section4-table td,.section4-table th{vertical-align:top;padding:8px 14px;overflow:hidden;text-overflow:ellipsis}.section4-table td:first-child,.section4-table td:nth-child(2),.section4-table td:nth-child(3),.section4-table td:nth-child(4),.section4-table td:nth-child(5){vertical-align:middle}.section4-table td:first-child,.section4-table th:first-child{width:30%;text-align:left}.section4-table td:nth-child(2),.section4-table th:nth-child(2){width:14%;text-align:center}.section4-table td:nth-child(3),.section4-table th:nth-child(3){width:12%;text-align:center}.section4-table td:nth-child(4),.section4-table th:nth-child(4){width:18%;text-align:center}.section4-table td:nth-child(5),.section4-table th:nth-child(5){width:12%;text-align:center}.section4-table td:nth-child(6),.section4-table th:nth-child(6){width:14%;text-align:right;padding-right:16px;white-space:nowrap}.section4-table.hazard-library-table td:first-child,.section4-table.hazard-library-table th:first-child{width:44%;text-align:left}.section4-table.hazard-library-table td:nth-child(2),.section4-table.hazard-library-table th:nth-child(2){width:10%;text-align:center}.section4-table.hazard-library-table td:nth-child(3),.section4-table.hazard-library-table td:nth-child(4),.section4-table.hazard-library-table th:nth-child(3),.section4-table.hazard-library-table th:nth-child(4){width:12%;text-align:center}.section4-table.hazard-library-table td:nth-child(5),.section4-table.hazard-library-table th:nth-child(5){width:8%;white-space:nowrap;text-align:center;padding-left:8px;padding-right:16px}.section4-table.hazard-library-table{table-layout:fixed}.section4-table.hazard-library-table td:first-child .section4-hazard-cell{min-width:0}.section4-table.hazard-library-table td:first-child .section3-library-copy,.section4-table.hazard-library-table td:first-child .section4-hazard-title{overflow-wrap:anywhere}.section4-table.hazard-library-table .section3-actions-row{padding:1px;border-radius:8px}.section4-table.hazard-library-table .section3-action-btn{width:24px;height:24px;min-width:24px;min-height:24px;border-radius:7px}.section4-table.hazard-library-table .section3-action-btn svg{width:18px;height:18px}.admin-hazards-table td:first-child,.admin-hazards-table th:first-child{width:40%;text-align:left}.admin-hazards-table td:nth-child(2),.admin-hazards-table th:nth-child(2){width:12%;text-align:center}.admin-hazards-table td:nth-child(3),.admin-hazards-table th:nth-child(3){width:20%;text-align:center}.admin-hazards-table td:nth-child(4),.admin-hazards-table th:nth-child(4){width:12%;text-align:center}.admin-hazards-table td:nth-child(5),.admin-hazards-table th:nth-child(5){width:16%;text-align:right;white-space:nowrap;padding-right:16px}.section4-table tbody tr{transition:background-color .12s ease}.section4-table tbody tr:nth-child(2n){background:#fbfcfd}.section4-table tbody tr:hover{background:var(--rb-row-hover)}.section4-table tbody tr:last-child td{border-bottom:0}.assessments-table td:first-child,.assessments-table th:first-child{width:30%;text-align:left}.assessments-table td:nth-child(2),.assessments-table th:nth-child(2){width:20%;text-align:left}.assessments-table td:nth-child(3),.assessments-table th:nth-child(3){width:12%;text-align:center}.assessments-table td:nth-child(4),.assessments-table th:nth-child(4){width:14%;text-align:center}.assessments-table td:nth-child(5),.assessments-table th:nth-child(5){width:7%;text-align:center}.assessments-table td:nth-child(6),.assessments-table th:nth-child(6){width:7%;text-align:center;vertical-align:middle;white-space:nowrap}.assessments-table td:nth-child(7),.assessments-table th:nth-child(7){width:10%;text-align:right;white-space:nowrap;padding-right:16px}.assessments-table .section4-hazard-title{font-weight:400}.admin-assessment-settings-table td:last-child .section3-actions-row,.admin-departments-table td:last-child .section3-actions-row,.admin-dropdown-items-table td:last-child .section3-actions-row,.admin-dropdown-items-table-ppe td:last-child .section3-actions-row,.admin-dropdowns-table td:last-child .section3-actions-row,.admin-users-table td:last-child .section3-actions-row,.section4-table td:last-child .section3-actions-row{margin-left:auto}.admin-assessment-settings-table td:last-child,.admin-departments-table td:last-child,.admin-dropdown-items-table td:last-child,.admin-dropdown-items-table-ppe td:last-child,.admin-dropdowns-table td:last-child,.admin-users-table td:last-child{text-align:center}.admin-assessment-settings-table td:last-child .section3-actions-row,.admin-departments-table td:last-child .section3-actions-row,.admin-dropdown-items-table td:last-child .section3-actions-row,.admin-dropdown-items-table-ppe td:last-child .section3-actions-row,.admin-dropdowns-table td:last-child .section3-actions-row,.admin-users-table td:last-child .section3-actions-row,.rams-catalog-table td:last-child .section3-actions-row{margin-left:0;margin-right:0;justify-content:center}.rams-table:not(.rams-catalog-table) td:last-child .section3-actions-row{margin-left:0;justify-content:center}.section4-hazard-cell{display:grid;grid-gap:1px;gap:1px;align-content:center}.section4-hazard-title{margin:0;font-size:15px;font-weight:600;color:var(--rb-text);line-height:1.35}.section4-measures-badge,.section4-source-badge{display:inline-flex;align-items:center;justify-content:center;min-height:24px;margin:0 auto;padding:0 10px;border-radius:999px;font-size:14px;font-weight:600;line-height:1;letter-spacing:.01em;white-space:nowrap}.admin-tab-bar{display:inline-flex;align-items:center;background:rgba(0,0,0,.055);border-radius:10px;padding:3px;gap:2px;margin-bottom:24px}.admin-tab-btn{padding:6px 20px;font-size:.875rem;font-weight:500;color:var(--rb-text-muted);background:transparent;border:none;border-radius:7px;cursor:pointer;transition:color .15s,background .15s,box-shadow .15s;white-space:nowrap;line-height:1.5}.admin-tab-btn:hover:not(.active){color:var(--rb-text);background:rgba(0,0,0,.05)}.admin-tab-btn.active{color:var(--rb-primary);background:var(--rb-white);font-weight:600;box-shadow:0 1px 4px rgba(0,0,0,.14);-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-color:var(--rb-accent);text-decoration-color:var(--rb-accent);text-decoration-thickness:1.5px;text-underline-offset:4px}.admin-sub-tab-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:16px}.admin-sub-tab-bar{display:flex;gap:6px;flex-wrap:wrap}.admin-sub-tab-btn{padding:6px 14px;font-size:.8125rem;font-weight:500;color:var(--rb-text-muted);background:var(--bg-light);border:1px solid var(--rb-border);border-radius:6px;cursor:pointer;transition:all .15s}.admin-sub-tab-btn:hover:not(.active){border-color:var(--rb-accent);color:var(--rb-text)}.admin-sub-tab-btn.active{background:var(--rb-accent);color:#fff;border-color:var(--rb-accent);font-weight:600}.tab-content-region{position:relative}.tab-content-loading-overlay{position:absolute;inset:0;z-index:20;background:rgba(238,241,244,.62);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center}.admin-filter-surface{margin-bottom:16px;padding:12px;border:1px solid rgba(203,213,225,.92);border-radius:12px;background:linear-gradient(180deg,#ffffff,#f8fafc)}.admin-filter-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.admin-filter-title{margin:0;font-size:12px;letter-spacing:.04em;text-transform:uppercase;font-weight:700;color:var(--rb-text-muted)}.admin-filter-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;grid-gap:10px;gap:10px;align-items:end}.admin-filter-grid-risk{grid-template-columns:minmax(220px,2.1fr) minmax(120px,1fr) minmax(120px,1fr) minmax(130px,1fr) minmax(130px,1fr) auto}.admin-filter-field{min-width:0}.admin-filter-field .field-label{margin-bottom:6px;font-size:12px;color:var(--rb-text-muted)}.admin-filter-search,.admin-filter-select{width:100%;min-width:0;min-height:42px;line-height:1.35}.admin-filter-search{max-width:none}.admin-filter-input-users,.admin-filter-select{padding-top:9px;padding-bottom:9px}.admin-filter-input-users{min-height:42px}.admin-filter-clear{white-space:nowrap;min-width:118px;min-height:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .18s ease}.admin-filter-clear svg{width:22px;height:22px;flex-shrink:0}.admin-filter-actions-cell{display:flex;align-items:flex-end;justify-content:flex-end}.admin-filter-clear-compact{min-width:90px;min-height:42px;height:42px;padding:9px 12px;gap:4px}.admin-filter-clear.is-visible{visibility:visible;opacity:1;pointer-events:auto}@media (max-width:1400px){.admin-filter-grid-risk{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-filter-field-search{grid-column:1/-1}.admin-filter-actions-cell{justify-content:flex-start}}@media (max-width:1100px){.admin-filter-grid,.admin-filter-grid-risk{grid-template-columns:1fr 1fr}.admin-filter-field-search{grid-column:1/-1}.admin-filter-actions-cell{grid-column:1/-1;justify-content:flex-start}.risk-builder-grid{grid-template-columns:1fr}.risk-builder-span-full{grid-column:auto}}@media (max-width:680px){.admin-filter-head{flex-direction:column;align-items:flex-start}.admin-filter-grid{grid-template-columns:1fr}}.admin-users-table{table-layout:fixed;width:100%}.admin-users-table thead th{background:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-text-muted);border-bottom:1px solid var(--rb-border);padding:12px 14px}.admin-users-table td,.admin-users-table th{vertical-align:middle;padding:10px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-users-table td:first-child,.admin-users-table th:first-child{width:20%;text-align:left;font-weight:500}.admin-users-table td:nth-child(2),.admin-users-table th:nth-child(2){width:26%;text-align:left}.admin-users-table-email{color:var(--rb-text-muted);font-size:.9em}.admin-users-table td:nth-child(3),.admin-users-table th:nth-child(3){width:12%;text-align:center}.admin-users-table td:nth-child(4),.admin-users-table th:nth-child(4){width:20%;text-align:left}.admin-users-table td:nth-child(5),.admin-users-table th:nth-child(5){width:10%;text-align:center}.admin-users-table td:nth-child(6),.admin-users-table th:nth-child(6){width:12%;text-align:right;padding-right:16px;white-space:nowrap}.admin-users-table tbody tr{transition:background-color .12s ease}.admin-users-table tbody tr:nth-child(2n){background:#fbfcfd}.admin-users-table tbody tr:hover{background:var(--rb-row-hover)}.admin-users-table tbody tr:last-child td{border-bottom:none}.admin-users-header-actions{display:inline-flex;align-items:center;gap:10px}.admin-dept-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;grid-gap:14px;gap:14px;align-items:start}.admin-dept-side{border:1px solid rgba(203,213,225,.92);border-radius:12px;background:linear-gradient(180deg,#ffffff,#f8fafc);padding:12px}.admin-dept-input{width:100%}.admin-departments-table{table-layout:fixed;width:100%}.admin-departments-table thead th{background:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-text-muted);border-bottom:1px solid var(--rb-border);padding:12px 14px}.admin-departments-table td,.admin-departments-table th{vertical-align:middle;padding:10px 14px}.admin-departments-table td:first-child,.admin-departments-table th:first-child{width:64%;text-align:left}.admin-departments-table td:nth-child(2),.admin-departments-table th:nth-child(2){width:14%;text-align:center}.admin-departments-table td:nth-child(3),.admin-departments-table th:nth-child(3){width:22%;text-align:right;white-space:nowrap}.admin-departments-table tbody tr:hover{background:var(--rb-row-hover)}.section4-table td:nth-child(5) .risk-badge{font-size:14px;font-weight:600}.section4-source-badge-library{background:rgba(47,58,70,.12);color:#2f3a46}.section4-source-badge-custom{background:rgba(107,114,128,.14);color:#374151}.section4-measures-badge{background:rgba(255,178,36,.18);color:#8a5a00}.report-risk-table td,.report-risk-table th{white-space:normal;text-overflow:clip}.report-risk-table td:first-child,.report-risk-table td:nth-child(2),.report-risk-table td:nth-child(3),.report-risk-table td:nth-child(4),.report-risk-table th:first-child,.report-risk-table th:nth-child(2),.report-risk-table th:nth-child(3),.report-risk-table th:nth-child(4){text-align:left;vertical-align:top}.report-risk-hazard-cell{overflow-wrap:anywhere}.report-risk-measures-cell ul{margin:0;padding-left:18px}.report-risk-column-cell{min-width:132px}.report-risk-breakdown{display:grid;grid-gap:4px;gap:4px}.report-risk-breakdown-row{display:grid;grid-template-columns:1fr auto;align-items:center;grid-gap:8px;gap:8px}.report-risk-breakdown-label{font-size:11px;font-weight:600;color:var(--rb-text-muted);white-space:nowrap}.report-risk-breakdown-value{min-width:30px;height:28px;padding:0 8px;border:1px solid var(--rb-border);border-radius:4px;display:inline-flex;align-items:center;justify-content:center;font-size:24px;font-weight:700;line-height:1;background:#fff;color:var(--rb-text)}.report-risk-breakdown-score{color:#111827}.report-risk-tone-low{background:rgba(31,157,85,.18);border-color:rgba(31,157,85,.35)}.report-risk-tone-medium{background:rgba(255,178,36,.2);border-color:rgba(255,178,36,.38)}.report-risk-tone-high{background:rgba(233,125,36,.2);border-color:rgba(233,125,36,.38)}.report-risk-tone-critical{background:rgba(255,79,0,.85);border-color:rgba(255,79,0,.95)}.section4-empty-state{border:1px dashed var(--rb-border);border-radius:10px;padding:18px;background:#fbfcfd}.section4-empty-title{margin:0 0 6px;font-size:16px;font-weight:600;color:var(--rb-text)}.section4-empty-copy{margin:0;color:var(--rb-text-muted);line-height:1.5}.section4-modal-overlay{position:fixed;inset:0;background:rgba(26,34,44,.42);display:flex;align-items:center;justify-content:center;padding:24px;z-index:80}.section4-library-modal,.section4-modal{width:min(1000px,calc(100vw - 32px));max-height:calc(100vh - 48px);overflow:auto;background:var(--rb-white);border:1px solid var(--rb-border);border-radius:14px;box-shadow:0 22px 44px -28px rgba(31,40,51,.7);padding:18px}.section4-library-modal{width:min(900px,calc(100vw - 32px))}.section4-modal{display:flex;flex-direction:column;overflow:hidden}.section4-modal-body{flex:1 1;overflow-y:auto;min-height:0;padding-right:10px;padding-bottom:8px}.section4-risk-container .section4-risk-section-label{grid-column:1/-1;margin-top:0;margin-bottom:0;font-size:13px}.section4-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.section4-modal-eyebrow{margin:0 0 4px;font-size:12px;color:var(--rb-text-muted);text-transform:uppercase;letter-spacing:.04em}.section4-modal-title{margin:0;font-size:20px;color:var(--rb-primary)}.section4-description-textarea{min-height:82px}.section4-risk-container{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-column-gap:16px;column-gap:16px;grid-row-gap:8px;row-gap:8px;margin:16px 0 18px;padding:14px;border:1px solid var(--rb-border);border-radius:10px;background:#fbfcfd}.section4-risk-container.section4-risk-final{margin-top:16px;padding:14px}.section4-risk-column{display:grid;grid-gap:10px;gap:10px}.section4-risk-title{margin:0;font-size:14px;font-weight:600;color:var(--rb-text)}.section4-risk-field{display:grid;grid-gap:4px;gap:4px}.section4-risk-label{font-size:12px;color:var(--rb-text-muted)}.section4-risk-badge{display:flex;align-items:center;justify-content:center;min-height:40px;border-radius:8px;font-weight:700;font-size:16px;border:2px solid transparent}.risk-low{background:rgba(31,157,85,.12);color:var(--rb-success);border-color:var(--rb-success)}.risk-medium{background:rgba(255,178,36,.12);color:var(--rb-warning);border-color:var(--rb-warning)}.risk-high{background:rgba(233,125,36,.12);color:#e97d24;border-color:#e97d24}.risk-critical{background:rgba(192,57,43,.12);color:var(--rb-danger);border-color:var(--rb-danger)}.risk-badge{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:28px;border-radius:6px;font-size:12px;font-weight:700}.section4-measures-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 0 10px}.section4-measure-list{display:grid;grid-gap:10px;gap:10px}.section4-measure-card-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;grid-gap:10px;gap:10px;align-items:flex-start;padding:0;width:100%}.section4-measure-editor-frame{min-width:0;width:100%}.section4-measure-editor{min-height:34px;padding:8px 12px;line-height:1.45;border-radius:12px}.section4-measure-editor ol,.section4-measure-editor p,.section4-measure-editor ul{margin:0}.section4-measure-editor ol,.section4-measure-editor ul{padding-left:20px}.section4-measure-editor-toolbar{position:static;margin-top:8px;width:-moz-fit-content;width:fit-content;max-width:100%;padding:6px 8px;border-radius:12px;flex-wrap:wrap}.section4-measure-textarea{min-height:30px;height:30px;resize:none;overflow:hidden;flex:1 1;padding:4px 10px;line-height:1.3}.section4-measure-controls{display:flex;gap:4px;width:34px;padding-top:2px}.section4-measure-delete-btn{width:30px;height:30px;min-width:30px;min-height:30px;padding:0;line-height:0;align-self:flex-start}.section4-measure-delete-btn svg{width:22px;height:22px;display:block}.hazard-editor-modal .section4-modal-title{font-size:32px;font-weight:600;color:var(--rb-text)}.hazard-editor-modal .section4-measures-toolbar{margin:14px 0 8px}.hazard-editor-modal .hazard-editor-add-measure-btn{min-height:34px;height:34px;padding:0 12px;border-radius:8px;font-size:13px;line-height:1;gap:6px}.hazard-editor-modal .hazard-editor-add-measure-btn .section3-toolbar-btn-icon{width:16px;height:16px}.hazard-editor-modal .section4-measure-card-row{grid-template-columns:minmax(0,1fr) 36px;align-items:center;gap:8px}.hazard-editor-modal .section4-measure-controls{width:36px;padding-top:0;align-items:center;justify-content:center}.hazard-editor-modal .section4-measure-delete-btn{width:32px;height:32px;min-width:32px;min-height:32px;border:1px solid var(--rb-border);border-radius:8px;background:#f1f5f9;color:#7a8699}.hazard-editor-modal .section4-measure-delete-btn:hover{background:#e2e8f0;color:#5f6c7f}.hazard-editor-modal .section4-measure-delete-btn svg{width:18px;height:18px}.hazard-editor-modal .hazard-editor-measure-textarea,.hazard-editor-modal .section4-measure-textarea{min-height:44px;height:44px;padding-top:10px;padding-bottom:10px;border-radius:8px}.btn-icon{padding:6px 8px;font-size:12px;font-weight:600;min-width:auto;width:auto;flex-shrink:0}.btn-accent{color:var(--rb-accent);border-color:rgba(255,178,36,.2)}.btn-accent:hover{background:var(--rb-accent-soft);border-color:var(--rb-accent);color:var(--rb-accent)}.btn-ghost-delete{color:#9ca3af;border-color:transparent;background:transparent;font-size:32px;font-weight:200;padding:0 8px;min-width:36px;width:36px;height:40px;min-height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;line-height:1;align-self:flex-start}.btn-ghost-delete:hover{background:#f3f4f6;border-color:transparent;color:#6b7280}.section4-risk-final{margin-top:16px;padding:14px}.section4-modal-footer{padding:10px 0 4px;background:transparent;flex-shrink:0;display:flex;justify-content:center;width:100%}.section4-modal-footer-inner{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:10px 18px;border:none;border-radius:16px;background:var(--rb-bg);box-shadow:0 1px 3px rgba(15,23,42,.08),0 8px 24px -4px rgba(15,23,42,.14);width:min(960px,100%)}.section4-library-list{display:grid;grid-gap:10px;gap:10px}.section4-library-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--rb-border);border-radius:12px;background:var(--rb-white)}.section4-library-title{margin:0;font-size:15px;font-weight:600;color:var(--rb-text)}.section4-library-copy{display:none}.section4-library-add-btn{width:28px;height:28px;min-width:28px;min-height:28px;border:1px solid var(--rb-border);border-radius:7px;background:var(--rb-bg);color:var(--rb-primary);box-shadow:none;flex-shrink:0}.section4-library-add-btn:hover:not(:disabled){background:var(--rb-primary-soft)}.section4-library-add-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;flex-shrink:0}.section4-library-add-icon svg{width:22px;height:22px}@media (max-width:1024px){.checklist-grid,.detail-grid,.detail-layout,.filter-grid,.hazard-editor-modal .section4-measure-card-row,.section4-measure-card-row,.section4-risk-container,.summary-grid{grid-template-columns:1fr}.hazard-editor-modal .section4-measure-controls,.section4-measure-controls{width:100%;justify-content:flex-start}.section2-two-column-layout,.section2-workers-grid{grid-template-columns:1fr}.section2-hours-panel{padding-left:0}.section2-schedule-panel,.section2-workers-panel-inline{padding-right:0;border-right:none;padding-bottom:10px;border-bottom:1px solid var(--rb-border)}.section2-workers-panel-inline{padding-left:0;padding-top:10px}.section2-hours-panel{padding-top:10px}.section2-weekend-toggle-row{flex-direction:column;align-items:flex-start}.section2-working-hours-row{grid-template-columns:1fr}.section2-save-actions{width:100%;flex-direction:column;align-items:flex-start}.section2-dates-row,.section2-post-hours-layout{grid-template-columns:1fr}.section2-dates-panel{padding-left:0;border-left:none;border-top:1px solid var(--rb-border);padding-top:10px}.section2-workers-panel{padding-right:0;border-right:none}.section1-contact-grid,.section1-inline-grid,.section1-split-layout{grid-template-columns:1fr}.section1-contact-email{grid-column:auto}.section1-top-row{grid-template-columns:1fr}.section1-revision-field{justify-self:start}.field-span-2,.field-span-full{grid-column:auto}.dashboard-grid{grid-template-columns:1fr}.filter-actions,.management-card-footer,.management-card-header,.page-heading-row{flex-direction:column;align-items:flex-start}.page-actions-vertical,.page-heading-actions{align-items:flex-start}.editor-action-bar{padding-left:16px;padding-right:16px}.editor-action-bar-inner{flex-direction:column;align-items:stretch}.editor-confirm-actions{flex-direction:column-reverse;align-items:stretch}}@media (max-width:768px){.top-nav{flex-direction:column;align-items:flex-start;gap:16px}.menu-links,.top-nav-left{flex-wrap:wrap}}.section2-rich-editor-colour-reset-btn-top{min-height:28px;padding:5px 12px}.admin-dropdown-items-table,.admin-dropdowns-table{table-layout:fixed;width:100%}.admin-dropdown-items-table thead th,.admin-dropdowns-table thead th{background:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-text-muted);border-bottom:1px solid var(--rb-border);padding:12px 14px}.admin-dropdown-items-table td,.admin-dropdown-items-table th,.admin-dropdowns-table td,.admin-dropdowns-table th{vertical-align:middle;padding:10px 14px}.admin-dropdown-items-table td,.admin-dropdowns-table td{font-size:14px}.admin-dropdown-items-table tbody tr,.admin-dropdowns-table tbody tr{transition:background-color .12s ease}.admin-dropdown-items-table tbody tr:nth-child(2n),.admin-dropdowns-table tbody tr:nth-child(2n){background:#fbfcfd}.admin-dropdown-items-table tbody tr:hover,.admin-dropdowns-table tbody tr:hover{background:var(--rb-row-hover)}.admin-dropdown-items-table tbody tr:last-child td,.admin-dropdowns-table tbody tr:last-child td{border-bottom:none}.admin-dropdowns-table td:first-child,.admin-dropdowns-table th:first-child{width:24%;text-align:left}.admin-dropdowns-table td:nth-child(2),.admin-dropdowns-table th:nth-child(2){width:10%;text-align:center}.admin-dropdowns-table td:nth-child(3),.admin-dropdowns-table th:nth-child(3){width:52%;text-align:left}.admin-dropdowns-table td:nth-child(4),.admin-dropdowns-table th:nth-child(4){width:14%;text-align:right}.admin-dropdown-items-table td:first-child,.admin-dropdown-items-table th:first-child{width:56%;text-align:left}.admin-dropdown-items-table td:nth-child(2),.admin-dropdown-items-table th:nth-child(2){width:18%;text-align:center}.admin-dropdown-items-table td:nth-child(3),.admin-dropdown-items-table th:nth-child(3){width:26%;text-align:right;white-space:nowrap}.admin-dropdown-items-table-ppe td:first-child,.admin-dropdown-items-table-ppe td:nth-child(2),.admin-dropdown-items-table-ppe th:first-child,.admin-dropdown-items-table-ppe th:nth-child(2){width:28%;text-align:left}.admin-dropdown-items-table-ppe .admin-dropdown-ppe-meta p{margin:0}.admin-dropdown-items-table-ppe .admin-dropdown-ppe-meta p+p{margin-top:4px}.admin-dropdown-items-table-ppe td:nth-child(3),.admin-dropdown-items-table-ppe th:nth-child(3){width:13%;text-align:center}.admin-dropdown-items-table-ppe td:nth-child(4),.admin-dropdown-items-table-ppe th:nth-child(4){width:17%;text-align:center;white-space:nowrap}.admin-dropdown-items-table-ppe td:nth-child(5),.admin-dropdown-items-table-ppe th:nth-child(5){width:14%;text-align:center;padding-right:0;white-space:nowrap}.admin-assessment-settings-table{table-layout:fixed;width:100%}.admin-assessment-settings-table thead th{background:#f8fafc;font-size:12px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--rb-text-muted);border-bottom:1px solid var(--rb-border);padding:12px 14px}.admin-assessment-settings-table td,.admin-assessment-settings-table th{vertical-align:middle;padding:10px 14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-assessment-settings-table td:first-child,.admin-assessment-settings-table th:first-child{width:28%;text-align:left;font-weight:500}.admin-assessment-settings-table td:nth-child(2),.admin-assessment-settings-table th:nth-child(2){width:18%;text-align:center}.admin-assessment-settings-table td:nth-child(3),.admin-assessment-settings-table th:nth-child(3){width:20%;text-align:center}.admin-assessment-settings-table td:nth-child(4),.admin-assessment-settings-table th:nth-child(4){width:34%;text-align:center;padding-right:14px}.admin-ppe-textarea{min-height:80px;resize:vertical}.admin-assessment-settings-table tbody tr{transition:background-color .12s ease}.admin-assessment-settings-table tbody tr:nth-child(2n){background:#fbfcfd}.admin-assessment-settings-table tbody tr:hover{background:var(--rb-row-hover)}.admin-assessment-settings-table tbody tr:last-child td{border-bottom:none}.admin-dropdown-ppe-meta{display:grid;grid-gap:2px;gap:2px;color:var(--rb-text-muted);font-size:12px;line-height:1.25}.admin-dropdown-ppe-meta p{margin:0}.admin-dropdown-name{display:grid;grid-gap:4px;gap:4px}.admin-dropdown-preview{display:flex;flex-wrap:wrap;gap:8px}.admin-dropdown-preview-chip,.admin-dropdown-preview-more{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:600}.admin-dropdown-preview-chip{background:rgba(15,76,129,.08);color:var(--rb-primary)}.admin-dropdown-preview-more{background:rgba(255,178,36,.18);color:#8a5a00}.admin-dropdown-empty{color:var(--rb-text-muted)}.admin-dropdown-editor-modal{width:min(980px,calc(100vw - 32px))}.admin-assessment-settings-modal{width:min(1120px,calc(100vw - 32px))}.admin-dropdown-editor-toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.admin-dropdown-editor-copy{margin:0;max-width:560px;color:var(--rb-text-muted);line-height:1.55}.admin-dropdown-item-editor{margin-bottom:18px;padding:16px;border:1px solid rgba(203,213,225,.92);border-radius:14px;background:linear-gradient(180deg,#ffffff,#f8fafc)}.admin-dropdown-item-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-gap:14px;gap:14px}.admin-settings-section-card{padding:12px;border:1px solid rgba(203,213,225,.9);border-radius:12px;background:#fff}.admin-section5-summary-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.admin-dropdown-item-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}.admin-assessment-add-ppe-row{display:flex;justify-content:flex-end;margin:14px 0}.admin-ppe-editor-overlay{z-index:121}.admin-ppe-editor-modal{width:min(720px,calc(100vw - 32px))}.admin-section5-fields-modal{width:min(1180px,calc(100vw - 32px))}.admin-section5-fields-table-wrap{max-height:calc(100vh - 240px);overflow:auto}.admin-ppe-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:14px;gap:14px}.admin-ppe-editor-span-full{grid-column:1/-1}.admin-ppe-image-preview-wrap{min-height:120px;border:1px solid var(--rb-border);border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center;padding:10px}.admin-ppe-image-preview{max-width:100%;max-height:190px;object-fit:contain}.admin-ppe-upload-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.admin-dropdown-reorder-actions{justify-content:center;gap:6px;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none}.admin-dropdown-reorder-actions .section3-action-btn+.section3-action-btn{border-left:none;border-radius:6px}.admin-dropdown-reorder-actions .section3-action-btn:first-child{border-radius:6px}.admin-dropdown-reorder-btn{width:26px;height:26px;min-width:26px;min-height:26px;border:1px solid #cbd5e1;border-radius:6px;background:#f8fafc;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.admin-dropdown-reorder-btn svg{width:18px;height:18px}.admin-dropdown-reorder-btn-up{color:#d97706}.admin-dropdown-reorder-btn-down{color:#6b7280}.admin-dropdown-reorder-btn:focus-visible,.admin-dropdown-reorder-btn:hover{background:#ffffff;border-color:#94a3b8;box-shadow:inset 0 0 0 1px rgba(148,163,184,.25)}.admin-dropdown-reorder-actions .section3-action-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:inset 0 0 0 1px rgba(148,163,184,.2)}.admin-dropdown-reorder-actions .section3-action-btn:disabled:hover{background:rgba(255,255,255,.72);color:inherit}@media (max-width:900px){.admin-dropdown-editor-toolbar{flex-direction:column;align-items:stretch}.admin-dropdown-item-grid,.admin-ppe-editor-grid{grid-template-columns:1fr}}@media (max-width:768px){.admin-dropdown-items-table,.admin-dropdowns-table{min-width:720px}}@media (max-width:1280px){.admin-assessment-settings-table,.admin-departments-table,.admin-dropdown-items-table,.admin-dropdown-items-table-ppe,.admin-dropdowns-table,.admin-users-table,.assessment-table,.assessments-table,.owner-org-table,.rams-table,.section3-table:not(.report-risk-table),.section4-table:not(.report-risk-table){table-layout:auto;width:100%}.admin-assessment-settings-table td,.admin-assessment-settings-table th,.admin-departments-table td,.admin-departments-table th,.admin-dropdown-items-table td,.admin-dropdown-items-table th,.admin-dropdown-items-table-ppe td,.admin-dropdown-items-table-ppe th,.admin-dropdowns-table td,.admin-dropdowns-table th,.admin-users-table td,.admin-users-table th,.assessment-table td,.assessment-table th,.assessments-table td,.assessments-table th,.owner-org-table td,.owner-org-table th,.rams-table td,.rams-table th,.section3-table:not(.report-risk-table) td,.section3-table:not(.report-risk-table) th,.section4-table:not(.report-risk-table) td,.section4-table:not(.report-risk-table) th{white-space:normal;overflow-wrap:break-word;word-break:normal}.admin-assessment-settings-table td:first-child,.admin-assessment-settings-table th:first-child,.admin-departments-table td:first-child,.admin-departments-table th:first-child,.admin-dropdown-items-table td:first-child,.admin-dropdown-items-table th:first-child,.admin-dropdown-items-table-ppe td:first-child,.admin-dropdown-items-table-ppe th:first-child,.admin-dropdowns-table td:first-child,.admin-dropdowns-table th:first-child,.admin-users-table td:first-child,.admin-users-table th:first-child,.assessment-table td:first-child,.assessment-table th:first-child,.assessments-table td:first-child,.assessments-table th:first-child,.owner-org-table td:first-child,.owner-org-table th:first-child,.rams-table td:first-child,.rams-table th:first-child,.section3-table:not(.report-risk-table) td:first-child,.section3-table:not(.report-risk-table) th:first-child,.section4-table:not(.report-risk-table) td:first-child,.section4-table:not(.report-risk-table) th:first-child{white-space:normal}.admin-assessment-settings-table td:last-child,.admin-assessment-settings-table th:last-child,.admin-departments-table td:last-child,.admin-departments-table th:last-child,.admin-dropdown-items-table td:last-child,.admin-dropdown-items-table th:last-child,.admin-dropdown-items-table-ppe td:last-child,.admin-dropdown-items-table-ppe th:last-child,.admin-dropdowns-table td:last-child,.admin-dropdowns-table th:last-child,.admin-users-table td:last-child,.admin-users-table th:last-child,.assessment-table td:last-child,.assessment-table th:last-child,.assessments-table td:last-child,.assessments-table th:last-child,.owner-org-table td:last-child,.owner-org-table th:last-child,.rams-table td:last-child,.rams-table th:last-child,.section3-table:not(.report-risk-table) td:last-child,.section3-table:not(.report-risk-table) th:last-child,.section4-table:not(.report-risk-table) td:last-child,.section4-table:not(.report-risk-table) th:last-child{white-space:nowrap}}@media (max-width:980px){width:calc(100vw - 24px);max-height:calc(100vh - 24px);.admin-assessment-settings-table td:nth-last-child(2):not(:first-child),.admin-assessment-settings-table th:nth-last-child(2):not(:first-child),.admin-departments-table td:nth-last-child(2):not(:first-child),.admin-departments-table th:nth-last-child(2):not(:first-child),.admin-dropdown-items-table td:nth-last-child(2):not(:first-child),.admin-dropdown-items-table th:nth-last-child(2):not(:first-child),.admin-dropdown-items-table-ppe td:nth-last-child(2):not(:first-child),.admin-dropdown-items-table-ppe th:nth-last-child(2):not(:first-child),.admin-dropdowns-table td:nth-last-child(2):not(:first-child),.admin-dropdowns-table th:nth-last-child(2):not(:first-child),.admin-users-table td:nth-last-child(2):not(:first-child),.admin-users-table th:nth-last-child(2):not(:first-child),.assessment-table td:nth-last-child(2):not(:first-child),.assessment-table th:nth-last-child(2):not(:first-child),.assessments-table td:nth-last-child(2):not(:first-child),.assessments-table th:nth-last-child(2):not(:first-child),.owner-org-table td:nth-last-child(2):not(:first-child),.owner-org-table th:nth-last-child(2):not(:first-child),.rams-table td:nth-last-child(2):not(:first-child),.rams-table th:nth-last-child(2):not(:first-child),.section3-table:not(.report-risk-table) td:nth-last-child(2):not(:first-child),.section4-table:not(.report-risk-table) td:nth-last-child(2):not(:first-child),.section4-table:not(.report-risk-table) th:nth-last-child(2):not(:first-child){display:none}}@media (max-width:760px){.admin-assessment-settings-table td:nth-child(2):not(:last-child),.admin-assessment-settings-table th:nth-child(2):not(:last-child),.admin-departments-table td:nth-child(2):not(:last-child),.admin-departments-table th:nth-child(2):not(:last-child),.admin-dropdown-items-table td:nth-child(2):not(:last-child),.admin-dropdown-items-table th:nth-child(2):not(:last-child),.admin-dropdown-items-table-ppe td:nth-child(2):not(:last-child),.admin-dropdown-items-table-ppe th:nth-child(2):not(:last-child),.admin-dropdowns-table td:nth-child(2):not(:last-child),.admin-dropdowns-table th:nth-child(2):not(:last-child),.admin-users-table td:nth-child(2):not(:last-child),.admin-users-table th:nth-child(2):not(:last-child),.assessment-table td:nth-child(2):not(:last-child),.assessment-table th:nth-child(2):not(:last-child),.assessments-table td:nth-child(2):not(:last-child),.assessments-table th:nth-child(2):not(:last-child),.owner-org-table td:nth-child(2):not(:last-child),.owner-org-table th:nth-child(2):not(:last-child),.rams-table td:nth-child(2):not(:last-child),.rams-table th:nth-child(2):not(:last-child),.section3-table:not(.report-risk-table) td:nth-child(2):not(:last-child),.section3-table:not(.report-risk-table) th:nth-child(2):not(:last-child),.section4-table:not(.report-risk-table) td:nth-child(2):not(:last-child),.section4-table:not(.report-risk-table) th:nth-child(2):not(:last-child){display:none}}@media (max-width:1600px){.section2-dates-row{grid-template-columns:repeat(2,minmax(0,1fr))}}.settings-shell{max-width:880px;margin:0 auto}.settings-tab-bar{margin-bottom:18px}.settings-tab-content{display:grid;grid-gap:14px;gap:14px}.settings-panel{margin-bottom:0}.settings-panel-body{display:grid;grid-gap:16px;gap:16px}.settings-detail-grid{gap:16px}.settings-field-span-2{grid-column:1/-1}.settings-meta-row{display:flex;gap:24px}.settings-meta-row-wrap{flex-wrap:wrap}.settings-value-text{margin:4px 0 0;font-size:14px;color:var(--rb-text)}.settings-preserve-lines{white-space:pre-wrap}.settings-text-capitalize{text-transform:capitalize}.settings-actions-row{min-height:38px}.settings-actions-wrap{flex-wrap:wrap}.settings-message{font-size:13px}.settings-message-ok{color:var(--rb-success,#16a34a)}.settings-message-error{color:var(--rb-danger)}.settings-muted-text{margin:0;color:var(--rb-text-muted);font-size:14px}.settings-logo-preview{width:200px;height:100px;border:2px dashed var(--rb-border);border-radius:8px;display:flex;align-items:center;justify-content:center;background:var(--rb-bg);overflow:hidden}.settings-logo-preview-clickable{cursor:pointer}.settings-logo-preview-image{max-width:100%;max-height:100%;object-fit:contain;padding:8px}.settings-logo-empty-state{text-align:center;color:var(--rb-text-muted)}.settings-logo-empty-text{margin:6px 0 0;font-size:12px}.settings-logo-input{display:none}.assessment-badge-manual-handling{background:rgba(14,116,144,.12);color:#0f766e}@media (max-width:900px){.settings-detail-grid{grid-template-columns:1fr}}@media (max-width:1280px){.section2-dates-row{grid-template-columns:1fr}}.assessment-page-shell{max-width:1200px;margin:0 auto;padding:24px}.assessment-page-heading{margin-bottom:32px}.assessment-back-link{display:inline-block;margin-bottom:12px;color:var(--rb-primary);text-decoration:none;font-size:14px;font-weight:500}.assessment-back-link:hover{text-decoration:underline}.assessment-badge{display:inline-block;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}.assessment-badge-coshh{background:rgba(168,85,247,.12);color:#7c3aed}.assessment-badge-noise-vibration{background:rgba(59,130,246,.12);color:#1d4ed8}.assessment-page-heading h1{margin:0 0 8px;font-size:28px;font-weight:700;line-height:1.3}.assessment-page-heading p{margin:0;color:var(--rb-text-muted);font-size:15px}.assessment-tab-panel{display:flex;gap:8px;margin-bottom:24px;border-bottom:1px solid var(--rb-border);align-items:stretch}.assessment-tab{padding:12px 16px;background:transparent;color:var(--rb-text-muted);font-size:14px;font-weight:500;cursor:pointer;border:none;border-bottom:3px solid transparent;transition:all .15s ease;margin-bottom:-1px}.assessment-tab:hover{color:var(--rb-text);background:var(--rb-bg-hover)}.assessment-tab[aria-selected=true]{color:var(--rb-primary);border-bottom-color:var(--rb-primary)}.assessment-panel{background:var(--rb-bg);border:1px solid var(--rb-border);border-radius:8px;padding:24px;margin-bottom:24px}.assessment-panel h2{margin:0 0 8px;font-size:18px;font-weight:700}.assessment-panel>p{margin:0 0 16px;color:var(--rb-text-muted);font-size:14px}.assessment-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:16px;gap:16px;margin-bottom:16px}.assessment-field-stack{display:flex;flex-direction:column;gap:6px}.assessment-field-stack span{font-size:13px;font-weight:600;color:var(--rb-text)}.assessment-field-stack input,.assessment-field-stack select,.assessment-field-stack textarea{padding:10px 12px;border:1px solid var(--rb-border);border-radius:6px;font-size:14px;font-family:inherit;background:var(--rb-input-bg);color:var(--rb-text);transition:border-color .15s ease}.assessment-field-stack input:hover,.assessment-field-stack select:hover,.assessment-field-stack textarea:hover{border-color:var(--rb-border-hover)}.assessment-field-stack input:focus,.assessment-field-stack select:focus,.assessment-field-stack textarea:focus{outline:none;border-color:var(--rb-primary);box-shadow:0 0 0 2px rgba(59,130,246,.1)}.assessment-form-actions{display:flex;gap:12px;margin-top:16px;grid-column:1/-1}.assessment-button{padding:10px 16px;border:none;border-radius:6px;font-size:14px;font-weight:600;cursor:pointer;transition:all .15s ease;display:inline-flex;align-items:center;gap:8px}.assessment-button:disabled{opacity:.6;cursor:not-allowed}.assessment-button-primary{background:var(--rb-primary);color:white}.assessment-button-primary:hover:not(:disabled){background:var(--rb-primary-hover);box-shadow:0 2px 8px rgba(59,130,246,.3)}.assessment-button-ghost{background:transparent;color:var(--rb-primary);border:1px solid var(--rb-border)}.assessment-button-ghost:hover:not(:disabled){background:var(--rb-bg-hover);border-color:var(--rb-primary)}.assessment-button-secondary{background:var(--rb-bg-hover);color:var(--rb-text);border:1px solid var(--rb-border)}.assessment-button-secondary:hover:not(:disabled){background:var(--rb-bg-active);border-color:var(--rb-border-hover)}.assessment-table-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:16px}.assessment-table-toolbar h2{margin:0;font-size:16px;font-weight:700}.assessment-toolbar-filters{display:flex;gap:12px;flex:1 1;max-width:400px}.assessment-toolbar-filters input,.assessment-toolbar-filters select{padding:8px 12px;border:1px solid var(--rb-border);border-radius:6px;font-size:13px;font-family:inherit;background:var(--rb-input-bg);color:var(--rb-text);flex:1 1;min-width:0}.assessment-toolbar-filters input::placeholder{color:var(--rb-text-muted)}.assessment-table-wrap{overflow-x:auto;border:1px solid var(--rb-border);border-radius:6px}.assessment-status{display:inline-flex;padding:4px 10px;border-radius:12px;font-size:12px;font-weight:600;text-transform:capitalize}.assessment-status-draft{background:rgba(107,114,128,.1);color:#374151}.assessment-status-in-review{background:rgba(59,130,246,.1);color:#2563eb}.assessment-status-approved{background:rgba(34,197,94,.1);color:#16a34a}.assessment-status-archived{background:rgba(156,163,175,.1);color:#6b7280}.assessment-error-text{color:var(--rb-danger);font-size:13px;margin:12px 0 0}.assessment-success-text{color:var(--rb-success,#16a34a);font-size:13px;margin:12px 0 0}.assessment-subtle-text{color:var(--rb-text-muted);font-size:13px}@media (max-width:980px){.assessment-form-grid{grid-template-columns:1fr}.assessment-table-toolbar{flex-direction:column;align-items:flex-start}.assessment-toolbar-filters{flex-direction:column;width:100%;max-width:none}.assessment-toolbar-filters input,.assessment-toolbar-filters select{width:100%}.assessment-page-shell{padding:16px}}