.company-body { background: #f5f7f2; color: #18251f; }
.company-header { max-width: 1380px; flex-wrap: wrap; gap: 20px; }
.company-header .top-nav { flex-wrap: wrap; gap: 22px; }
.company-header .top-nav [aria-current="page"] { color: #185e45; font-weight: 800; }
.company-page { max-width: 1320px; margin: auto; padding: 55px 32px 85px; }
.company-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.company-heading h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.07; letter-spacing: -.05em; margin: 22px 0; }
.company-heading em { font-style: normal; color: #195d45; }
.company-heading p, .company-panel > p, .field-help, .section-heading p { color: #627067; font-size: 16px; line-height: 1.6; max-width: 730px; }
.company-panel { min-width: 0; background: white; border: 1px solid #dce3d9; border-radius: 24px; padding: 30px; margin-bottom: 22px; }
.company-panel h2, .company-page .section-heading h2 { font-size: clamp(25px, 3vw, 36px); line-height: 1.15; letter-spacing: -.03em; margin: 10px 0 14px; }
.company-panel h3 { font-size: 21px; margin: 0 0 12px; }
.step-label { color: #47715a; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.workspace-message:empty { display: none; }
.workspace-message { position: sticky; top: 8px; z-index: 4; background: #e7f3df; border: 1px solid #b3ceb0; border-radius: 14px; padding: 16px 20px; margin-bottom: 20px; overflow-wrap: anywhere; }
.workspace-message.error { color: #922f1c; background: #fff0e9; border-color: #efc4b7; }
.workspace-topline { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.workspace-topline label { flex: 1; min-width: min(260px,100%); }
.company-page label { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 650; }
.company-page input, .company-page select, .company-page textarea { width: 100%; min-width: 0; font: inherit; font-weight: 400; border: 1px solid #cbd6c9; border-radius: 11px; background: #fff; color: #1b2b20; padding: 12px 14px; }
.company-page select { text-overflow: ellipsis; }
.company-page input:focus-visible, .company-page select:focus-visible, .company-page textarea:focus-visible, .company-page button:focus-visible, .company-page a:focus-visible { outline: 3px solid #3c946d; outline-offset: 3px; }
.company-page textarea { resize: vertical; }
.company-page input:disabled, .company-page select:disabled, .company-page textarea:disabled { background: #f4f6f2; color: #4d5f51; opacity: 1; }
.company-page button:disabled { opacity: .55; cursor: wait; }
.company-page fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.inline-form { display: flex; align-items: end; gap: 14px; max-width: 650px; }
.inline-form label { flex: 1; }
.text-button { border: 0; background: none; color: #185e45; text-align: left; font: inherit; font-weight: 700; padding: 12px 0; text-decoration: underline; text-underline-offset: 4px; }
.application-bar { padding: 18px 22px; border-radius: 18px; background: #eaf0e4; margin-bottom: 18px; }
.application-bar > div { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.application-bar strong, .application-bar p { overflow-wrap: anywhere; }
.application-bar p:empty { display: none; }
.status-pill { display: inline-flex; align-items: center; padding: 6px 10px; border-radius: 20px; background: #d8e8c6; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.status-pill.submitted { background: #fff0c4; }
.status-pill.needs_info, .status-pill.rejected, .status-pill.suspended { background: #fbe1d4; }
.workspace-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 25px 0; }
.workspace-tabs button { background: transparent; border: 1px solid #cbd6c9; border-radius: 30px; color: #52665b; font: inherit; padding: 12px 20px; }
.workspace-tabs [aria-current="page"] { background: #195d45; color: white; border-color: #195d45; }
.profile-layout { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(260px, 1fr); gap: 22px; align-items: start; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 24px 0; }
.form-grid .wide { grid-column: 1/-1; }
.company-page .choices-field { margin: 27px 0; }
.choices-field legend { font-size: 17px; font-weight: 750; margin-bottom: 14px; }
.choices-field legend span { display: block; font-size: 13px; font-weight: 400; color: #6e7b71; margin-top: 5px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; margin-top: 12px; max-height: 315px; overflow: auto; padding: 5px; }
.company-page .check-label { flex-direction: row; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; line-height: 1.4; padding: 10px; border-radius: 10px; background: #f5f7f1; }
.company-page .check-label input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #195d45; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.company-page .button { white-space: normal; text-align: center; min-height: 46px; }
.registry-card { background: #edf4e6; }
.registry-card dl { font-size: 14px; }
.registry-card dt { color: #607057; margin-top: 12px; }
.registry-card dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.registry-card p { font-size: 14px; line-height: 1.6; }
.company-sidebar .button { margin-top: 14px; }
.company-sidebar small { display: block; padding-top: 14px; color: #627067; }
.draft-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.draft-card { margin: 0; overflow-wrap: anywhere; }
.draft-card .commission { font-size: 28px; font-weight: 800; color: #185e45; margin: 22px 0 4px; }
.empty-workspace { background: #eef3e8; border-radius: 14px; padding: 24px; color: #52644f; grid-column: 1/-1; line-height: 1.6; }
.company-footer { padding: 25px 32px; text-align: center; color: #6b786d; border-top: 1px solid #dbe3d5; font-size: 14px; }
.order-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 22px 0; border-bottom: 1px solid #dce3d9; overflow-wrap: anywhere; }
.review-list .company-panel { margin-top: 20px; }
.review-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.review-details p { margin: 0; overflow-wrap: anywhere; }
.review-details strong { display: block; font-size: 13px; color: #667360; }
.review-details .wide { grid-column: 1/-1; }
.review-form { border-top: 1px solid #dbe3d5; padding-top: 20px; margin-top: 20px; }
.review-form > label { margin-top: 14px; }
.company-page .button-warning { background: #fff0e6; color: #883b21; border: 1px solid #e7c6b0; }
[hidden] { display: none !important; }
@media (max-width: 900px) { .profile-layout { grid-template-columns: 1fr; } .company-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .company-header .top-nav { gap: 14px; } }
@media (max-width: 600px) { .company-page { padding: 30px 16px 50px; } .company-header { padding: 20px 16px; gap: 16px; } .company-header .brand { font-size: 22px; } .company-header .top-nav { order: 3; width: 100%; justify-content: flex-start; font-size: 14px; } .company-header .button { margin-left: auto; padding: 10px 16px; } .company-heading { display: block; } .company-heading h1 { font-size: 39px; } .company-panel { padding: 22px 18px; border-radius: 18px; } .inline-form, .workspace-topline { flex-direction: column; align-items: stretch; } .form-grid, .company-sidebar, .draft-grid, .review-details, .order-row { grid-template-columns: 1fr; } .checkbox-grid { grid-template-columns: 1fr; } .workspace-tabs { display: grid; grid-template-columns: 1fr; } .workspace-tabs button { text-align: left; } .form-actions .button { width: 100%; } .section-heading { display: block; } .section-heading .button { margin-top: 18px; } }
