.form-drawer textarea{display:block;width:100%;margin-top:7px;padding:12px 13px;border:1px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink);font:14px/1.45 var(--font-body);resize:vertical}.project-page-divider{width:294px;border-bottom:1px solid var(--line);padding-bottom:2px}.project-page-divider .section-kicker{margin:0!important}.project-create-trigger,.invite-person-trigger{display:inline-flex!important;align-items:center;justify-content:center;min-height:38px;padding:0 14px!important;border:1px solid var(--forest)!important;border-radius:9px!important;background:var(--forest)!important;color:var(--white)!important;font-size:12px!important;line-height:1!important;text-decoration:none!important}.project-create-trigger:hover,.invite-person-trigger:hover{background:var(--white)!important;border-color:var(--forest)!important;color:var(--forest)!important;text-decoration:none!important}.project-detail-panel .project-cover h2{color:var(--white)!important}

/* The invite form's Person section is a nested grid.  It must span the drawer
   form's two outer columns before Name and Email are divided into their row. */
.form-drawer form.form-grid>.form-section{grid-column:1 / -1;width:100%;margin:0}.form-drawer .form-section label{display:grid;gap:7px;margin:0 0 18px;color:var(--muted);font-size:10px;line-height:1.3;letter-spacing:.12em;text-transform:uppercase}.form-drawer .form-section input,.form-drawer .form-section select{box-sizing:border-box;width:100%;min-height:46px;margin:0!important;padding:11px 13px!important;border:1px solid var(--line)!important;border-radius:8px!important;background:var(--white)!important;color:var(--ink)!important;font:14px/1.45 var(--font-body)!important;letter-spacing:0!important;text-transform:none!important}.form-drawer .form-section select{height:46px!important;padding:0 13px!important;line-height:1.2!important}.form-drawer .form-section input:focus,.form-drawer .form-section select:focus{outline:2px solid var(--focus-ring);outline-offset:1px}.form-drawer .form-section label:last-child{margin-bottom:0}.form-drawer .form-section+fieldset.wide{margin-top:18px}.form-drawer fieldset.wide{padding:16px 17px;border-radius:9px}.form-drawer fieldset.wide legend{padding:0 6px}.form-drawer .check{display:flex;align-items:center;gap:8px;margin:10px 0 0;font-size:14px;line-height:1.35;text-transform:none;letter-spacing:0}.form-drawer .check input{width:15px!important;min-height:15px!important;height:15px;margin:0!important;padding:0!important;accent-color:var(--forest)}

@media(max-width:760px){.project-page-divider{width:100%}.form-drawer .form-section{gap:0}.form-drawer .form-section label:last-child{max-width:none}}
@media(min-width:481px) and (max-width:760px){.form-drawer .form-section{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 15px}.form-drawer .form-section label:last-child{grid-column:1 / -1;max-width:50%}}

/* Follow-up rules use the same orderly field and action rhythm as the other
   administrative forms, while retaining their existing settings semantics. */
.settings-card form:has(.rule-grid){display:grid!important;gap:0!important;margin-top:20px!important;padding:22px 24px 20px!important;border:1px solid var(--line)!important;border-radius:12px!important;background:var(--white)!important}.settings-card .rule-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 34px!important;margin:0!important;padding:0!important;border:0!important}.settings-card .rule-grid label{grid-template-columns:minmax(0,1fr) 105px 58px!important;gap:9px!important;min-height:42px;margin:0!important;font-size:12px!important;line-height:1.3}.settings-card .rule-grid input{box-sizing:border-box;height:42px!important;margin:0!important;padding:9px 11px!important;border-radius:8px!important;background:var(--white)!important;font-size:14px!important}.settings-card .rule-grid em{font-size:10px!important;line-height:1.25;white-space:nowrap}.settings-card form:has(.rule-grid)>button{justify-self:end;min-height:40px;margin:20px 0 0!important;padding:0 16px!important;border-radius:8px!important}@media(max-width:760px){.settings-card form:has(.rule-grid){padding:18px!important}.settings-card .rule-grid{grid-template-columns:1fr!important;gap:13px!important}.settings-card .rule-grid label{grid-template-columns:minmax(0,1fr) 105px 58px!important}.settings-card form:has(.rule-grid)>button{justify-self:stretch;width:100%;margin-top:18px!important}}
