
.kwhme-dashboard{max-width:1120px;margin:0 auto;padding:24px;border:1px solid #d9d9de;background:#fff;border-radius:10px;color:#1d2327;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.kwhme-dashboard h2,.kwhme-dashboard h3,.kwhme-dashboard strong,.kwhme-dashboard label,.kwhme-dashboard p,.kwhme-dashboard td,.kwhme-dashboard th,.kwhme-dashboard a{color:#1d2327}
.kwhme-dashboard h2{margin-top:0}
.kwhme-dashboard-tabs a{border-radius:8px;background:#fff;color:#7a1616 !important;border:1px solid #d0d5dd}
.kwhme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:18px 0 26px}
.kwhme-card{border:1px solid #d9d9de;border-radius:10px;padding:16px;background:#f6f7f7}
.kwhme-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.kwhme-form-grid p{margin:0;min-width:0}
.kwhme-row-group,.kwhme-standard-investor-fields,.kwhme-apartment-investor-fields,.kwhme-standard-investor-occupancy,.kwhme-apartment-investor-occupancy,.kwhme-standard-rehab-condition,.kwhme-apartment-rehab-condition{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:start}
.kwhme-row-group.kwhme-full-span,.kwhme-standard-investor-occupancy,.kwhme-apartment-investor-occupancy{grid-template-columns:1fr}
.kwhme-standard-rehab-condition,.kwhme-apartment-rehab-condition{grid-template-columns:repeat(2,minmax(0,1fr))}
.kwhme-link-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.kwhme-full-span{grid-column:1/-1}
.kwhme-dashboard input[type=text],.kwhme-dashboard input[type=email],.kwhme-dashboard input[type=number],.kwhme-dashboard input[type=url],.kwhme-dashboard select,.kwhme-dashboard textarea{width:100%;padding:10px;border:1px solid #c3c4c7;border-radius:6px;box-sizing:border-box;background:#fff;color:#111}
.kwhme-dashboard textarea{min-height:120px}
.kwhme-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.kwhme-actions button,.kwhme-actions input[type=submit]{padding:10px 14px;border-radius:8px;border:1px solid #7a1616;background:#7a1616;color:#fff;cursor:pointer;font-weight:700}
.kwhme-actions .secondary{background:#fff;color:#7a1616;border-color:#7a1616}
.kwhme-section{margin-top:18px}
.kwhme-note{padding:12px 14px;background:#f6f7f7;border-left:4px solid #7a1616;border-radius:4px;margin:12px 0;color:#1d2327}
.kwhme-auth-wrap{max-width:640px;margin:0 auto;padding:24px;border:1px solid #d9d9de;border-radius:10px;background:#fff;color:#1d2327;box-shadow:0 8px 22px rgba(0,0,0,.06)}
.kwhme-auth-wrap form p{margin-bottom:14px}
.kwhme-auth-wrap input,.kwhme-auth-wrap select{width:100%;padding:10px;border:1px solid #c3c4c7;border-radius:6px;box-sizing:border-box;background:#fff;color:#111}
.kwhme-multi-group{border:1px solid #d9d9de;border-radius:8px;padding:12px;background:#f6f7f7;min-height:100%;box-sizing:border-box;display:flex;flex-wrap:wrap;gap:10px 18px;align-content:flex-start}
.kwhme-multi-group strong,.kwhme-multi-group .kwhme-help-wrap{flex:0 0 100%}
.kwhme-multi-group br{display:none}
.kwhme-inline-check{display:inline-flex;align-items:center;gap:6px;margin:0;white-space:normal}
.kwhme-help-wrap{position:relative;display:inline-flex;align-items:center;gap:6px;min-height:0;line-height:1.2;vertical-align:middle;flex-wrap:nowrap}
.kwhme-label-text{display:inline;line-height:1.2;min-height:0}
.kwhme-help-toggle{width:20px;height:20px;border-radius:50%;border:1px solid #7a1616;background:#fff;color:#7a1616;font-size:12px;font-weight:700;line-height:1;cursor:pointer;padding:0;display:inline-flex;align-items:center;justify-content:center;vertical-align:top;margin-top:1px}
.kwhme-help-popup{position:absolute;top:100%;left:0;z-index:20;min-width:220px;max-width:320px;background:#fff;color:#111;border:1px solid #d7b1b1;border-radius:8px;padding:10px;box-shadow:0 10px 24px rgba(0,0,0,.2);margin-top:6px}
.kwhme-form-grid p>label,.kwhme-row-group>p>label,.kwhme-standard-investor-fields>p>label,.kwhme-apartment-investor-fields>p>label,.kwhme-link-row p>label,.kwhme-section>label{display:flex;flex-direction:column;gap:6px;height:auto;align-items:stretch}
.kwhme-form-grid p,.kwhme-row-group>div,.kwhme-standard-investor-fields>div,.kwhme-apartment-investor-fields>div,.kwhme-standard-investor-occupancy>div,.kwhme-apartment-investor-occupancy>div,.kwhme-standard-rehab-condition>div,.kwhme-apartment-rehab-condition>div{min-width:0}
.kwhme-section>label{display:flex;align-items:stretch;gap:6px}
@media (max-width: 1024px){.kwhme-form-grid,.kwhme-row-group,.kwhme-standard-investor-fields,.kwhme-apartment-investor-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.kwhme-standard-rehab-condition,.kwhme-apartment-rehab-condition{grid-template-columns:1fr 1fr}}
@media (max-width: 640px){.kwhme-form-grid,.kwhme-row-group,.kwhme-link-row,.kwhme-standard-investor-fields,.kwhme-apartment-investor-fields,.kwhme-standard-investor-occupancy,.kwhme-apartment-investor-occupancy,.kwhme-standard-rehab-condition,.kwhme-apartment-rehab-condition{grid-template-columns:1fr}.kwhme-help-popup{left:0;right:auto;max-width:260px}}

.kwhme-section input[type=checkbox]{margin:0;vertical-align:middle}
.kwhme-dashboard label br{display:none}
.kwhme-form-grid p,.kwhme-row-group p,.kwhme-section{margin:0}
.kwhme-section textarea{width:100%;max-width:none;display:block}
.kwhme-checkbox-row label{display:inline-flex;flex-direction:row;align-items:center;gap:8px}
.kwhme-checkbox-row input[type=checkbox]{flex:0 0 auto}
.kwhme-actions{margin-top:12px}


.kwhme-auth-wrap .login-remember label{display:inline-flex;flex-direction:row;align-items:center;gap:8px}
.kwhme-auth-wrap .login-remember input[type=checkbox]{width:auto;flex:0 0 auto;margin:0}
.kwhme-group-identifier{grid-column:1/-1;font-weight:700;color:#7a1616;margin:2px 0 -4px 0;line-height:1.2}

.kwhme-auth-wrap .login-remember{display:block}
.kwhme-auth-wrap .login-remember label{display:inline-flex !important;flex-direction:row !important;align-items:center !important;gap:8px !important;}
.kwhme-auth-wrap .login-remember input[type=checkbox]{display:inline-block !important;width:auto !important;max-width:none !important;vertical-align:middle !important;margin:0 !important;}
.kwhme-group-identifier{display:block;width:100%;grid-column:1/-1;font-weight:700;color:#7a1616;margin:0 0 4px 0;line-height:1.2;}

.kwhme-auth-wrap .login-remember{display:block !important;margin:10px 0 14px !important;}
.kwhme-auth-wrap .login-remember label{display:flex !important;flex-direction:row !important;align-items:center !important;gap:8px !important;}
.kwhme-auth-wrap .login-remember input[type=checkbox]{order:0 !important;position:static !important;display:inline-block !important;width:auto !important;height:auto !important;max-width:none !important;max-height:none !important;vertical-align:middle !important;margin:0 !important;flex:0 0 auto !important;}
