.system-return{display:flex;align-items:center;min-height:44px;padding:8px 12px;color:var(--text-secondary);text-decoration:none;font-size:.875rem}.r2-portal{max-width:1440px;margin:auto;padding:32px;color:var(--text-primary)}.portal-header{display:flex;align-items:center;gap:20px;padding-bottom:32px;border-bottom:1px solid var(--separator)}.portal-header>a{display:block;background:#0b0f0e;padding:12px;border-radius:16px}.portal-header img{width:64px;height:64px;object-fit:contain}.portal-header button{margin-left:auto}.r2-portal main{padding:64px 0 32px}.r2-portal h1{font-size:clamp(2rem,4vw,3.8rem);letter-spacing:-.05em;max-width:800px;line-height:1.1}.portal-intro{margin:24px 0 40px;color:var(--text-secondary);font-size:1.1rem}.system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.system-card{display:flex;flex-direction:column;align-items:start;gap:20px;padding:32px;border:1px solid var(--separator);border-radius:24px;background:var(--surface)}.system-card h2{font-size:1.6rem;letter-spacing:-.03em}.system-card p{color:var(--text-secondary);line-height:1.6}.system-card>svg{color:var(--green)}.system-status{font-size:.8rem;color:var(--text-secondary)}.system-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;text-decoration:none;padding:12px 20px;border-radius:14px;font-weight:600}.system-card .system-link,.system-card .system-unavailable{margin-top:auto}.system-unavailable{min-height:48px;padding-top:12px;font-size:.9rem}.portal-connection{margin:32px 0;padding:24px;border-radius:20px;background:var(--surface-muted)}.portal-connection p{margin-top:12px;color:var(--text-secondary)}.r2-portal footer{padding:24px 0;color:var(--text-secondary);font-size:.85rem}.r2-access-denied{max-width:640px;padding:40px;margin:auto;display:grid;gap:24px}.finance-system .topbar{justify-content:flex-start;gap:20px}@media(max-width:850px){.system-grid{grid-template-columns:1fr}.r2-portal{padding:20px}.r2-portal main{padding-top:40px}.system-card{padding:24px}.portal-header{gap:12px}.portal-header>span{font-size:.8rem}.finance-system .topbar{flex-wrap:wrap;gap:0;padding:8px 16px;height:auto;min-height:64px}.finance-system .tab-bar span{font-size:10px}.finance-system .tab-bar button{min-width:0}}.portal-tools{margin-top:48px}.portal-tools h2{font-size:1.8rem;margin:8px 0 12px}.portal-tools-intro{color:var(--text-secondary);max-width:800px;line-height:1.6;margin-bottom:24px}.portal-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.portal-tool-card{display:flex;flex-direction:column;gap:14px;padding:24px;border:1px solid var(--separator);border-radius:20px;background:var(--surface);min-width:0}.portal-tool-card h3{font-size:1.15rem;line-height:1.35;overflow-wrap:anywhere}.portal-tool-card p{color:var(--text-secondary);line-height:1.55}.portal-tool-status{font-size:.85rem;color:var(--text-secondary);margin-top:auto}.portal-tool-card .system-link{width:100%;box-sizing:border-box}.portal-tool-card .eyebrow{font-size:.72rem;overflow-wrap:anywhere}@media(max-width:1000px){.portal-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.portal-tool-grid{grid-template-columns:1fr}.portal-tools{margin-top:32px}.r2-portal main{padding-top:32px}}.module-tool-content .automation-shell{display:block;max-width:none;padding:0}.module-tool-content .automation-shell>aside{display:none}.module-tool-content .automation-shell>main{padding:0;max-width:none;margin:0}.module-tool-content{min-width:0}.r2-nav-group{width:100%}.r2-nav-group-title{display:flex!important;justify-content:space-between;font-weight:650}.r2-nav-subgroup{padding-left:12px;border-left:1px solid var(--border,#68746e);margin-left:12px}.r2-nav-subgroup[hidden]{display:none!important}.r2-nav-subgroup button{min-height:44px;width:100%;text-align:left}.hr-modal-nav .r2-nav-group button{width:100%;min-height:44px}
