.ohhr-front-wrap{
    --ohhr-primary:#0f172a;
    --ohhr-accent:#22c55e;
    --ohhr-hero:#07101d;
    max-width:1180px;
    margin:0 auto;
    padding:20px;
}
.ohhr-front-card{
    background:#fff;
    border:1px solid rgba(15,23,42,.12);
    border-radius:18px;
    padding:24px;
    margin:18px 0;
    box-shadow:0 10px 28px rgba(15,23,42,.08);
}
.ohhr-hero{
    background:linear-gradient(135deg,var(--ohhr-hero),var(--ohhr-primary));
    color:#fff;
}
.ohhr-hero h1,
.ohhr-hero h2,
.ohhr-hero h3,
.ohhr-hero p,
.ohhr-hero strong,
.ohhr-hero span{
    color:inherit;
}
.ohhr-brand-lockup{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0 0 22px;
}
.ohhr-brand-logo{
    display:block;
    width:auto;
    max-width:210px;
    max-height:72px;
    object-fit:contain;
    border-radius:12px;
}
.ohhr-brand-copy{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
}
.ohhr-brand-copy strong{
    font-size:20px;
    line-height:1.2;
}
.ohhr-brand-copy span{
    font-size:13px;
    opacity:.78;
}
.ohhr-badges{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.ohhr-badges span,
.ohhr-tag{
    display:inline-block;
    border-radius:999px;
    padding:7px 11px;
    background:rgba(255,255,255,.13);
    font-size:13px;
}
.ohhr-alert{
    padding:14px 16px;
    background:#fff6d9;
    border:1px solid #f4d06f;
    border-radius:14px;
    margin:16px 0;
}
.ohhr-form-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:14px;
}
.ohhr-front-wrap label{
    display:block;
    font-weight:700;
    margin:11px 0;
}
.ohhr-front-wrap input,
.ohhr-front-wrap select,
.ohhr-front-wrap textarea{
    width:100%;
    max-width:100%;
    padding:11px;
    border:1px solid #d0d7de;
    border-radius:10px;
}
.ohhr-check input{
    width:auto;
    margin-right:8px;
}
.ohhr-table{
    width:100%;
    border-collapse:collapse;
}
.ohhr-table th,
.ohhr-table td{
    padding:12px;
    border-bottom:1px solid #e5e7eb;
    text-align:left;
}
.ohhr-plans-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}
.ohhr-plan-card{
    background:#fff;
    border:1px solid rgba(15,23,42,.14);
    border-radius:20px;
    padding:24px;
    box-shadow:0 12px 30px rgba(15,23,42,.08);
    position:relative;
    overflow:hidden;
}
.ohhr-plan-card:before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:5px;
    background:linear-gradient(90deg,var(--ohhr-primary),var(--ohhr-accent));
}
.ohhr-plugin-img{
    display:block;
    width:100%;
    max-height:330px;
    object-fit:cover;
    border-radius:14px;
    margin:0 0 18px;
}
.ohhr-tag{
    background:#e8f2ff;
    color:#0f3d75;
    font-weight:700;
}
.ohhr-price{
    font-size:34px;
    font-weight:900;
    margin:14px 0;
}
.ohhr-price small{
    font-size:14px;
    color:#64748b;
}
.ohhr-plan-card ul{
    margin:18px 0;
    padding-left:19px;
}
.ohhr-button{
    display:inline-block;
    background:var(--ohhr-primary);
    color:#fff!important;
    text-decoration:none;
    border-radius:12px;
    padding:12px 16px;
    font-weight:800;
}
.ohhr-button:hover,
.ohhr-button:focus{
    filter:brightness(1.12);
    color:#fff!important;
}
.ohhr-mini-note{
    font-size:13px;
    color:#92400e;
    background:#fffbeb;
    border:1px solid #fcd34d;
    padding:9px 10px;
    border-radius:10px;
    margin:12px 0;
}
.ohhr-powered{
    text-align:center;
    color:#64748b;
    font-size:13px;
}
@media (max-width:640px){
    .ohhr-front-wrap{padding:12px}
    .ohhr-front-card,.ohhr-plan-card{padding:18px}
    .ohhr-brand-lockup{align-items:flex-start;flex-direction:column}
    .ohhr-brand-logo{max-width:180px;max-height:64px}
}

/* Dashboard, catalog selection, and customer portal components. */
.ohhr-stat{box-shadow:0 10px 24px rgba(15,23,42,.12)}
.ohhr-card .button,.ohhr-front-card .button{display:inline-block;text-decoration:none}
.ohhr-front-wrap .widefat{background:#fff;border-radius:12px;overflow:hidden}
.ohhr-client-login{display:inline-block;margin-top:6px}
.ohhr-plugin-card .ohhr-plugin-img{width:100%;height:150px;object-fit:cover;border-radius:16px;margin-bottom:12px;background:#111827}
.ohhr-plugin-card p{color:inherit;opacity:.9}
.ohhr-pill{display:inline-block;margin:6px 0 0;padding:3px 8px;border-radius:999px;background:#eef2ff;color:#3730a3;font-style:normal;font-size:12px;font-weight:700}
.ohhr-aff-select{display:flex!important;align-items:center;gap:8px;margin:0 0 8px!important;font-weight:700}
.ohhr-aff-select input{width:auto!important;margin:0!important}
.ohhr-aff-select strong{display:inline!important;margin:0!important}
.ohhr-package-limit-status{margin:12px 0;padding:11px 13px;border:1px solid #cbd5e1;border-radius:9px;background:#f8fafc}
.ohhr-package-limit-status.ohhr-limit-reached{border-color:#f59e0b;background:#fffbeb}
.ohhr-aff-card.ohhr-limit-disabled{opacity:.58;filter:grayscale(.25)}
.ohhr-aff-card.ohhr-limit-disabled .ohhr-aff-select{cursor:not-allowed}

/* Reseller-hosting customer credentials in WooCommerce My Account. */
.ohhr-reseller-customer-access{margin:14px 0 0;border:1px solid #dbe3ec;border-radius:12px;background:#fff;text-align:left;max-width:760px}
.ohhr-reseller-customer-access>summary{cursor:pointer;padding:12px 14px;font-weight:800;background:#f8fafc;border-radius:12px;color:#0f172a}
.ohhr-reseller-customer-access[open]>summary{border-bottom:1px solid #e5e7eb;border-radius:12px 12px 0 0}
.ohhr-reseller-customer-access-inner{padding:14px}
.ohhr-reseller-customer-access-inner>p{margin:0 0 12px}
.ohhr-credential-grid{display:grid;gap:9px}
.ohhr-credential-grid>div{display:grid;grid-template-columns:minmax(150px,195px) minmax(0,1fr) auto;gap:9px;align-items:center;padding:10px;border:1px solid #edf0f3;border-radius:9px;background:#fff}
.ohhr-credential-grid>div>span:first-child{font-weight:700;color:#334155}
.ohhr-credential-grid code{white-space:normal;overflow-wrap:anywhere;word-break:break-word;padding:4px 6px;background:#f1f5f9;border-radius:6px}
.ohhr-credential-grid em{color:#92400e;line-height:1.45}
.ohhr-private-value{user-select:all}
.ohhr-credential-refresh{margin:12px 0 0!important}
.ohhr-copy-value{white-space:nowrap}
@media(max-width:680px){
    .ohhr-credential-grid>div{grid-template-columns:1fr}
    .ohhr-copy-value,.ohhr-credential-grid .button{width:100%;text-align:center}
}
