.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}
}


/* v1.8.33 responsive Woo My Account hosted-site cards. */
.ohhr-hosted-dashboard{width:100%;max-width:1180px;margin:0 auto;color:#0f172a}
.ohhr-hosted-dashboard *{box-sizing:border-box}
.ohhr-hosted-dashboard-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 22px;padding:0 2px}
.ohhr-hosted-dashboard-heading h2{margin:0 0 6px;font-size:clamp(24px,3vw,34px);line-height:1.15}
.ohhr-hosted-dashboard-heading p{margin:0;color:#64748b;max-width:760px}
.ohhr-hosted-count{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#eef2ff;color:#3730a3;font-weight:800;font-size:13px}
.ohhr-hosted-sites-list{display:grid;gap:24px}
.ohhr-hosted-site-card{min-width:0;background:#fff;border:1px solid #dbe3ec;border-radius:20px;box-shadow:0 14px 36px rgba(15,23,42,.08);overflow:hidden}
.ohhr-hosted-site-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:24px 26px;background:linear-gradient(135deg,#f8fafc,#eef6ff);border-bottom:1px solid #e2e8f0}
.ohhr-hosted-site-title{min-width:0}
.ohhr-package-kicker{display:block;margin-bottom:5px;color:#2563eb;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.ohhr-hosted-site-title h2{margin:0;font-size:clamp(21px,2.6vw,30px);line-height:1.2;overflow-wrap:anywhere}
.ohhr-hosted-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px}
.ohhr-hosted-meta>*{display:inline-flex;max-width:100%;padding:5px 9px;border-radius:999px;background:#fff;border:1px solid #dbe3ec;color:#334155;font-size:12px;text-decoration:none;overflow-wrap:anywhere;word-break:break-word}
.ohhr-site-status{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;font-size:12px;font-weight:900}
.ohhr-site-status-ready,.ohhr-site-status-completed,.ohhr-site-status-active{background:#ecfdf5;color:#047857;border-color:#a7f3d0}
.ohhr-site-status-failed,.ohhr-site-status-suspended{background:#fef2f2;color:#b91c1c;border-color:#fecaca}
.ohhr-hosted-site-actions{display:flex;flex-wrap:wrap;gap:10px;padding:18px 26px;border-bottom:1px solid #eef2f7}
.ohhr-hosted-site-actions .button,.ohhr-portal-field-actions .button,.ohhr-credential-refresh .button{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;padding:9px 14px!important;border-radius:10px!important;white-space:normal;text-align:center;line-height:1.2}
.ohhr-build-pending{padding:9px 12px;border-radius:10px;background:#fff7ed;color:#9a3412;font-weight:700}
.ohhr-hosted-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:24px 26px}
.ohhr-site-panel{min-width:0;padding:19px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.04)}
.ohhr-site-panel h3{margin:0;font-size:18px;line-height:1.25}
.ohhr-site-panel>p{margin:8px 0 16px;color:#64748b;font-size:14px;line-height:1.55}
.ohhr-site-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}
.ohhr-secure-badge,.ohhr-status-chip{flex:0 0 auto;padding:5px 8px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}
.ohhr-status-active{background:#ecfdf5;color:#047857}
.ohhr-status-pending,.ohhr-status-pending_guard_generation{background:#fff7ed;color:#9a3412}
.ohhr-portal-field{display:grid;grid-template-columns:minmax(135px,180px) minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-top:1px solid #eef2f7;min-width:0}
.ohhr-portal-field:first-of-type{border-top:0}
.ohhr-portal-field-label{font-size:13px;font-weight:800;color:#334155;padding-top:6px}
.ohhr-portal-field-content{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-width:0}
.ohhr-portal-field-content code{display:block;min-width:0;max-width:100%;padding:8px 10px;border-radius:9px;background:#f1f5f9;color:#0f172a;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:1.45;user-select:all}
.ohhr-portal-field-content em{display:block;color:#92400e;line-height:1.45}
.ohhr-portal-field-actions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:7px}
.ohhr-portal-note{margin-top:10px;padding:10px 12px;border-radius:10px;background:#f8fafc;color:#475569;font-size:13px}
.ohhr-usage-panel{background:linear-gradient(180deg,#fff,#f8fafc)}
.ohhr-usage-meter{margin-top:14px;padding:14px;border-radius:13px;background:#fff;border:1px solid #e2e8f0}
.ohhr-usage-meter-head,.ohhr-usage-values{display:flex;align-items:center;justify-content:space-between;gap:12px}
.ohhr-usage-meter-head span{font-size:12px;font-weight:800;color:#475569}
.ohhr-usage-values{margin:9px 0;color:#64748b;font-size:12px}
.ohhr-usage-values b{color:#0f172a}
.ohhr-usage-progress{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden}
.ohhr-usage-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--ohhr-primary,#0f172a),var(--ohhr-accent,#22c55e))}
.ohhr-usage-meter small{display:block;margin-top:8px;color:#64748b}
.ohhr-reseller-connection-panel{grid-column:1/-1;background:linear-gradient(135deg,#eff6ff,#f8fafc)}
.ohhr-credential-refresh{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 26px 24px;padding:14px 16px;border:1px solid #bfdbfe;border-radius:13px;background:#eff6ff;color:#1e3a8a}
.ohhr-credential-refresh span{font-size:13px;line-height:1.45}
.ohhr-hosted-site-footer{display:grid;grid-template-columns:2fr 1fr;gap:18px;padding:18px 26px;background:#f8fafc;border-top:1px solid #e2e8f0}
.ohhr-hosted-site-footer>div{display:grid;grid-template-columns:minmax(100px,140px) minmax(0,1fr);gap:10px;min-width:0}
.ohhr-hosted-site-footer strong{color:#334155}
.ohhr-hosted-site-footer span{min-width:0;color:#64748b;overflow-wrap:anywhere}
.ohhr-hosted-empty{padding:28px;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc;text-align:center}
.ohhr-account-hosted-site .ohhr-hosted-detail-grid{padding:0;grid-template-columns:1fr}
.ohhr-account-hosted-site .ohhr-credential-refresh{margin:16px 0 0}

@media(max-width:900px){
  .ohhr-hosted-detail-grid{grid-template-columns:1fr}
  .ohhr-reseller-connection-panel{grid-column:auto}
  .ohhr-hosted-site-footer{grid-template-columns:1fr}
}
@media(max-width:680px){
  .ohhr-hosted-dashboard-heading,.ohhr-hosted-site-header,.ohhr-credential-refresh{flex-direction:column;align-items:stretch}
  .ohhr-hosted-count,.ohhr-site-status{align-self:flex-start}
  .ohhr-hosted-site-header,.ohhr-hosted-site-actions,.ohhr-hosted-detail-grid,.ohhr-hosted-site-footer{padding-left:16px;padding-right:16px}
  .ohhr-site-panel{padding:15px}
  .ohhr-site-panel-heading{align-items:flex-start;flex-direction:column}
  .ohhr-portal-field{grid-template-columns:1fr;gap:5px}
  .ohhr-portal-field-label{padding-top:0}
  .ohhr-portal-field-content{flex-direction:column;align-items:stretch}
  .ohhr-portal-field-actions{width:100%}
  .ohhr-portal-field-actions .button{flex:1 1 120px}
  .ohhr-credential-refresh{margin-left:16px;margin-right:16px}
  .ohhr-hosted-site-footer>div{grid-template-columns:1fr}
}

.ohhr-resource-limit-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.ohhr-resource-limit-chips span{padding:6px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:11px}
.ohhr-usage-refresh-ok{background:#ecfdf5;color:#047857}
.ohhr-usage-refresh-note{background:#fff7ed;color:#9a3412}
