/* V4.0 — shared workspace semantics. Replaces V3.8/V3.9 home overrides. */
#homeView .fee4-legacy{display:none!important}
#homeView .fee4-home{margin:0 0 22px}
#homeView .fee4-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin:0 0 18px}
#homeView .fee4-heading h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.035em;line-height:1.12;margin:0;color:#073e31}
#homeView .fee4-heading-copy>p:empty{display:none}
#homeView .fee4-quick{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
#homeView .fee4-quick button,#homeView .fee4-site-action{font:inherit;font-size:14px;font-weight:700;min-height:46px;padding:12px 17px;border-radius:12px;cursor:pointer}
#homeView .fee4-main{border:1px solid #073e31;background:#073e31;color:#fff}
#homeView .fee4-invite,#homeView .fee4-site-action{border:1px solid #cadcd1;background:#fff;color:#073e31}
#homeView .fee4-no-site{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:15px 18px;background:#eef4e9;border:1px solid #d6e5ce;border-radius:14px}
#homeView .fee4-no-site.hidden{display:none!important}
#homeView .fee4-no-site strong{color:#073e31;font-size:15px}
#homeView .fee4-no-site p{margin:3px 0 0;font-size:13px;color:#506b60}
#homeView .fee4-metrics{gap:12px;margin-bottom:20px}
#homeView .fee4-metrics .metric{min-width:0;min-height:106px;padding:18px 20px;border-radius:16px}
#homeView .fee4-metrics .metric strong{font-size:clamp(26px,3vw,34px)}
#homeView .fee4-metrics .metric span{font-size:13px}
#homeView .fee4-metrics .metric.fee4-hidden{display:none!important}
#homeView .fee4-recent{margin-top:0}
#homeView .fee4-recent .split{align-items:center;flex-wrap:wrap;gap:10px}
#homeView .fee4-setup{margin:0 0 18px;background:#fff;border:1px solid #dce8df;border-radius:16px;padding:14px 17px}
#homeView .fee4-setup.hidden{display:none!important}
#homeView .fee4-setup>summary{cursor:pointer;font-weight:750;color:#073e31;padding:5px 0}
#homeView .fee4-setup .fee-onboarding{margin:14px 0 0;box-shadow:none;border:0;padding:0}
#homeView .fee4-setup .fee-onboarding.hidden{display:none!important}
#homeView .fee4-setup .fee-v381-role-grid{display:none!important}
#homeView .fee4-setup .fee-onboarding>p{font-size:13px;color:#5a7065}
#homeView .fee4-invite-panel,.fee4-proposals{background:#fff;border:1px solid #dce8df;border-radius:17px;padding:20px;margin:0 0 19px;box-shadow:0 7px 24px rgba(4,47,37,.035)}
#homeView .fee4-invite-panel.hidden,.fee4-proposals.hidden{display:none!important}
#homeView .fee4-invite-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}
#homeView .fee4-invite-heading h2,.fee4-proposals h3{margin:0;font-size:19px;color:#073e31}
#homeView .fee4-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#homeView .fee4-fields label{min-width:0;display:flex;flex-direction:column;gap:7px;font-weight:650;color:#073e31;font-size:13px}
#homeView .fee4-fields :is(input,select){box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #cbdcd2;background:#fff;color:#073e31;border-radius:11px;font-size:15px}
#homeView .fee4-help{font-size:13px;color:#597166;margin:10px 0}
#homeView .fee4-form-end{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#homeView #fee4Feedback{font-size:13px;color:#245345}
.fee4-proposal{display:flex;gap:10px;align-items:center;flex-wrap:wrap;padding:13px 0;border-top:1px solid #e2ebe5}
.fee4-proposals h3{margin-bottom:12px}
.fee4-person{display:flex;flex:1;min-width:180px;flex-direction:column;gap:4px}
.fee4-person small{color:#597166}
#homeView button:focus-visible,#homeView summary:focus-visible{outline:3px solid #97be1b;outline-offset:3px}
@media(max-width:700px){#homeView .fee4-heading{display:block}#homeView .fee4-quick{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:15px}#homeView .fee4-quick button{width:100%;padding:11px 9px;font-size:13px}#homeView .fee4-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#homeView .fee4-metrics .metric{min-height:92px;padding:14px 13px}#homeView .fee4-fields{grid-template-columns:1fr}#homeView .fee4-invite-panel{padding:15px}#homeView .fee4-no-site{display:block}#homeView .fee4-site-action{margin-top:10px}}
@media(max-width:360px){#homeView .fee4-quick,#homeView .fee4-metrics{grid-template-columns:1fr}}

/* V4.0.3: clear, non-duplicative colleague proposal feedback */
#homeView #fee4Feedback[data-state='success']{color:#185b3e;font-weight:650}
#homeView #fee4Feedback[data-state='error']{color:#9a3030;font-weight:650}
#homeView #fee4Submit:disabled{opacity:.65;cursor:default}
