/* Company portal palette from the supplied reference; light-mode accents retain contrast. */
:root {
    --green: #00dc82;
    --green-dark: #00c574;
    --company-green-end: #00dc82;
    --company-accent: #087f46;
    --company-primary-background: var(--green);
    --company-primary-text: #04120b;
}
body:not(.light) { --company-accent: var(--green); }

*{box-sizing:border-box}body{margin:0;background:#f3f6fc;color:#142039;font:16px/1.6 system-ui,sans-serif}a{color:var(--company-accent);text-underline-offset:3px}.portal-header{padding:20px 5%;background:white;border-bottom:1px solid #dce4ee;display:flex;gap:24px;align-items:center;justify-content:space-between}.portal-header nav,.actions,.pagination{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.portal-header form{margin:0}.portal-main{max-width:1160px;margin:40px auto;padding:0 24px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}h1{font-size:2rem;margin:8px 0 24px}.eyebrow{color:var(--company-accent);font-weight:700;margin:0}.panel{background:white;border:1px solid #dce4ee;border-radius:16px;padding:28px;margin-bottom:24px;box-shadow:0 8px 24px #192e5210}.button{display:inline-block;border:1px solid transparent;border-radius:8px;background:var(--company-primary-background);color:var(--company-primary-text);padding:10px 18px;font:inherit;font-weight:600;text-decoration:none;cursor:pointer}.button.secondary{background:white;border-color:#c3cedc;color:#263952}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid var(--company-accent);outline-offset:3px}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:start}th,td{padding:14px;text-align:start;border-bottom:1px solid #e2e8f0;vertical-align:top}th{background:#f6f8fc}.company-form{max-width:760px}fieldset{border:0;margin:0 0 28px;padding:0}legend{font-weight:700;font-size:1.2rem;margin-bottom:16px}label{display:block;font-weight:600;margin-top:14px}input:not([type=checkbox]){display:block;width:100%;padding:12px;margin-top:6px;border:1px solid #aabace;border-radius:8px;background:white;color:#142039;font:inherit}.check{display:flex;gap:10px;align-items:center}.check input{width:20px;height:20px}small,fieldset p{color:#52627a}.notice{background:rgba(0,220,130,.10);color:var(--company-accent);padding:16px;border-radius:10px}.errors{background:#fff0f0;color:#9e2424;padding:12px;border-radius:10px}.pagination{justify-content:center}dt{font-weight:700}dd{margin-inline-start:0;margin-bottom:16px}@media(max-width:640px){.portal-header,.page-heading{align-items:flex-start;flex-direction:column}.portal-main{margin:24px auto;padding:0 16px}.panel{padding:18px}h1{font-size:1.6rem}.portal-header nav{gap:12px}}

/* Shared header controls */
body.light { color-scheme: light; }
.secondary-button, .icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid #c3cedc;
    border-radius: 10px;
    background: #fff;
    color: #263952;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.icon-button { min-width: 46px; }
.notification-bell { position: relative; }
.notification-badge {
    position: absolute;
    inset-block-start: -7px;
    inset-inline-end: -7px;
    min-width: 21px;
    padding: 1px 5px;
    border-radius: 20px;
    background: #b91c1c;
    color: var(--site-text);
    font-size: 12px;
    line-height: 19px;
    text-align: center;
}
.notifications-heading, .notification-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.notifications-heading { margin-bottom: 24px; }
.notification-item { padding: 20px 0; border-bottom: 1px solid #dce4ee; }
.notification-item h2 { margin: 8px 0; }
.notification-item p { overflow-wrap: anywhere; }
.notification-unread { border-inline-start: 4px solid var(--company-accent); padding-inline-start: 16px; }
.notification-category, .notification-content small { color: #52627a; }
.notifications-empty { padding: 36px 12px; text-align: center; }
.notifications-pagination { display: flex; justify-content: space-between; margin-top: 24px; gap: 16px; }
/* Same body.light contract and stored preference as the existing website. */
body:not(.light) { color-scheme: dark; background: var(--site-bg); color: var(--site-text); }
body:not(.light) .portal-header,
body:not(.light) .panel { background: var(--site-surface); border-color: var(--site-border); }
body:not(.light) a { color: var(--green); }
body:not(.light) .eyebrow { color: var(--green); }
body:not(.light) .button { background: var(--company-primary-background); color: var(--company-primary-text); }
body:not(.light) .button.secondary,
body:not(.light) .secondary-button,
body:not(.light) .icon-button { background: var(--site-surface); color: var(--site-text); border-color: var(--site-border); }
body:not(.light) input:not([type=checkbox]) { background: var(--site-input); color: var(--site-text); border-color: var(--site-border); }
body:not(.light) th { background: var(--site-surface); }
body:not(.light) th,
body:not(.light) td,
body:not(.light) .notification-item { border-color: var(--site-border); }
body:not(.light) small,
body:not(.light) fieldset p,
body:not(.light) .notification-category { color: var(--site-muted); }
body:not(.light) .notice { background: rgba(0,220,130,.10); color: var(--green); }
body:not(.light) .errors { background: #421f2c; color: #ffc0cb; }
body:not(.light) .notification-unread { border-inline-start-color: var(--green); }
@media (max-width: 640px) {
    .notifications-heading, .notification-item { flex-direction: column; }
    .portal-header nav { width: 100%; }
}

.company-form select, .company-form textarea { display:block; width:100%; padding:12px; margin:6px 0 16px; border:1px solid #aabace; border-radius:8px; background:#fff; color:#142039; font:inherit; }
.company-form textarea { min-height:100px; resize:vertical; }
body:not(.light) .company-form select, body:not(.light) .company-form textarea { background:var(--site-input); color:var(--site-text); border-color:var(--site-border); }
.company-form select:focus-visible, .company-form textarea:focus-visible { outline:3px solid var(--company-accent); outline-offset:3px; }

.task-prose { white-space: pre-wrap; overflow-wrap: anywhere; }
.task-actions { margin-top: 20px; }

/* Match the primary website action colors without changing portal layout. */
.button:not(.secondary) { transition: filter .2s; }
.button:not(.secondary):hover { filter: brightness(1.08); }
.check input { accent-color: var(--green-dark); }
body:not(.light) .check input { accent-color: var(--green); }
.button.secondary:hover,
.secondary-button:hover,
.icon-button:hover { border-color: var(--company-accent); }

/* Area suggestions use portal colors instead of the browser's native popup. */
.area-entry { position: relative; }
.area-suggestions[hidden] { display: none; }
.area-suggestions {
    position: absolute; inset-inline: 0; top: calc(100% + 6px); z-index: 20;
    max-height: 220px; overflow-y: auto; padding: 6px;
    background: #eaf7f0; color: #142039; border: 1px solid #87bba0;
    border-radius: 8px; box-shadow: 0 10px 28px #00000040;
}
.area-suggestions button {
    display: block; width: 100%; padding: 10px 12px; border: 0;
    border-radius: 6px; background: transparent; color: inherit;
    text-align: start; font: inherit; cursor: pointer;
}
.area-suggestions button:hover,
.area-suggestions button:focus-visible { background: rgba(0,220,130,.12); outline-offset: -3px; }
body:not(.light) .area-suggestions { background: #243b50; color: var(--site-text); border-color: #6b91ab; }
.area-entry input::placeholder { color: #52627a; opacity: 1; }
body:not(.light) .area-entry input::placeholder { color: var(--site-muted); }

/* Company workspace: real task cards and per-currency ledger balances. */
.company-hero { display:flex; justify-content:space-between; align-items:center; gap:24px; flex-wrap:wrap; padding:32px; margin-bottom:24px; border:1px solid #bbdcca; border-radius:24px; background:linear-gradient(120deg,#edf9f2,#f5f8fc); }
.company-hero h1 { margin:8px 0; overflow-wrap:anywhere; }
.company-hero p { max-width:640px; }
.portal-muted, .task-card-description, .task-card-meta { color:#52627a; }
.portal-tags { display:flex; align-items:center; gap:10px; flex-wrap:wrap; font-size:.8rem; }
.portal-stat-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.portal-stat { margin-bottom:0; padding:22px; }
.portal-stat p { margin:0 0 8px; color:#52627a; font-size:.9rem; }
.portal-stat strong { font-size:2rem; line-height:1.2; }
.stat-published strong, .balance-available { color:var(--company-accent); }
.stat-expired strong { color:#9a5800; }
.section-heading { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:30px 0 16px; flex-wrap:wrap; }
.section-heading h2 { margin:0; font-size:1.25rem; }
.portal-balance-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:16px; }
.balance-card { margin:0; }
.currency-tag { display:inline-block; background:#edf2f7; border-radius:8px; padding:4px 12px; font-weight:700; }
.balance-card dl { margin:18px 0 0; }
.balance-card dl > div { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.balance-card dt { color:#52627a; font-size:.9rem; font-weight:400; }
.balance-card dd { margin:6px 0; font-size:1.25rem; font-weight:700; overflow-wrap:anywhere; }
.balance-explanation { font-size:.85rem; }
.portal-task-card { display:flex; align-items:center; gap:24px; justify-content:space-between; margin-bottom:16px; padding:24px; }
.task-card-main { min-width:0; flex:1; }
.task-card-main h3 { margin:12px 0 6px; font-size:1.1rem; overflow-wrap:anywhere; }
.task-card-main h3 a { color:inherit; text-decoration:none; }
.task-card-main h3 a:hover { text-decoration:underline; }
.task-address { margin:4px 0; font-size:.9rem; overflow-wrap:anywhere; }
.task-card-description { margin:6px 0 14px; font-size:.9rem; overflow-wrap:anywhere; }
.task-card-meta { display:flex; flex-wrap:wrap; gap:8px 18px; font-size:.8rem; }
.task-card-side { display:flex; flex-direction:column; align-items:flex-end; gap:8px; min-width:190px; font-size:.8rem; }
.task-reward { font-size:1.4rem; color:var(--company-accent); }
.task-reward small { font-size:.8rem; color:inherit; }
.task-badge, .location-tag { padding:4px 10px; border-radius:8px; font-weight:600; }
.location-tag { background:#e8effb; color:#245a9b; }
.badge-draft { background:#edf0f5; color:#52627a; }
.badge-published { background:#dff6e8; color:#087f46; }
.badge-expired { background:#fff0d3; color:#895000; }
.badge-cancelled { background:#ffe5e9; color:#a0263d; }
.portal-empty { text-align:center; padding:36px 20px; }
.task-filters { display:flex; align-items:flex-end; flex-wrap:wrap; gap:16px; padding:20px; }
.task-filters > div:first-child { flex:1; min-width:200px; }
.task-filters label { margin:0; font-size:.85rem; }
.task-filters select { display:block; margin-top:6px; padding:12px; border:1px solid #aabace; border-radius:8px; background:white; color:#142039; font:inherit; }
.task-filters select:focus-visible { outline:3px solid var(--company-accent); outline-offset:3px; }
body:not(.light) .company-hero { background:linear-gradient(120deg,#0e2238,#0b1527,#102c2a); border-color:#29475b; }
body:not(.light) .portal-muted, body:not(.light) .portal-stat p,
body:not(.light) .task-card-description, body:not(.light) .task-card-meta,
body:not(.light) .balance-card dt { color:var(--site-muted); }
body:not(.light) .currency-tag { background:#20314b; }
body:not(.light) .stat-expired strong { color:#f7c36a; }
body:not(.light) .location-tag { background:#0f203d; color:#60a5fa; }
body:not(.light) .badge-draft { background:#25334a; color:var(--site-text); }
body:not(.light) .badge-published { background:#143b31; color:#8cf0b9; }
body:not(.light) .badge-expired { background:#43331b; color:#ffcf7c; }
body:not(.light) .badge-cancelled { background:#421f2c; color:#ffc0cb; }
body:not(.light) .task-filters select { background:var(--site-input); color:var(--site-text); border-color:var(--site-border); }
@media(max-width:800px) { .portal-stat-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .portal-task-card { align-items:stretch; flex-direction:column; } .task-card-side { align-items:flex-start; min-width:0; } }
@media(max-width:480px) { .company-hero { padding:22px; } .portal-stat { padding:16px; } .portal-balance-grid { grid-template-columns:minmax(0,1fr); } .task-filters > div { width:100%; } .task-filters select { width:100%; } }

/* Reference dashboard proportions: 1280px shell, 28/24/20/16px panel padding. */
.portal-main { max-width:1280px; width:100%; margin:0 auto; padding:32px; }
.portal-brand { display:flex; align-items:center; gap:10px; flex-shrink:0; color:var(--company-accent); }
.portal-brand strong { color:#142039; font-size:1.25rem; letter-spacing:-.4px; }
.portal-brand strong span { color:var(--company-accent); }
.portal-header { min-height:72px; padding:14px max(24px,calc((100% - 1216px)/2)); gap:24px; }
.portal-header nav { gap:12px; font-size:.875rem; }
.portal-header nav > a:not(.icon-button) { text-decoration:none; padding:8px 12px; border-radius:10px; }
.portal-header nav > a:not(.icon-button):hover { background:rgba(0,220,130,.1); }
.company-workspace { display:flex; flex-direction:column; gap:24px; }
.company-workspace .company-hero { margin:0; min-height:180px; padding:28px; border-radius:24px; gap:24px; flex-wrap:nowrap; }
.company-workspace .company-hero > div:first-child { flex:1; min-width:0; max-width:672px; }
.company-workspace .company-hero h1 { font-size:1.875rem; font-weight:800; line-height:1.3; margin:12px 0 10px; }
.company-workspace .company-hero p { margin:8px 0; font-size:.875rem; line-height:1.7; }
.company-workspace .eyebrow { display:inline-block; padding:2px 10px; border:1px solid rgba(0,220,130,.3); border-radius:999px; background:rgba(0,220,130,.15); font-size:.75rem; }
.hero-actions { display:flex; align-items:center; gap:16px; flex-shrink:0; }
.hero-actions .actions { flex-direction:column; gap:10px; align-items:stretch; text-align:center; }
.hero-actions .button { min-height:54px; display:inline-flex; align-items:center; justify-content:center; padding:16px 24px; font-size:.875rem; font-weight:800; border-radius:16px; }
.hero-actions .button:not(.secondary) { box-shadow:0 12px 28px rgba(0,220,130,.25); }
.hero-funding-link { font-size:.75rem; text-underline-offset:4px; }
.hero-wallet { background:#ffffffc9; padding:16px 24px; border:1px solid #cfe2d9; border-radius:16px; text-align:center; min-width:224px; }
.hero-wallet > span { display:block; color:#52627a; font-size:.75rem; }
.hero-wallet > strong { display:block; color:var(--company-accent); font-size:1.5rem; margin:4px 0; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; font-weight:900; overflow-wrap:anywhere; }
.hero-wallet strong small { color:inherit; font-size:.875rem; }
.company-workspace .portal-stat-grid { gap:16px; }
.company-workspace .portal-stat { min-height:116px; border-radius:16px; padding:20px; box-shadow:none; }
.company-workspace .portal-stat p { font-size:.75rem; margin:0 0 4px; }
.company-workspace .portal-stat strong { font-size:1.5rem; display:block; font-variant-numeric:tabular-nums; }
.company-workspace .portal-stat small { display:block; font-size:.6875rem; margin-top:8px; }
.workspace-balances { margin:0; border:1px solid #dce4ee; border-radius:12px; background:#fff; }
.workspace-balances summary { padding:12px 18px; cursor:pointer; font-size:.85rem; font-weight:600; }
.workspace-balances summary:focus-visible { outline:3px solid var(--company-accent); outline-offset:3px; }
.balance-details { padding:0 18px 18px; }
.balance-details > p { margin:0 0 12px; font-size:.85rem; }
.workspace-tasks { padding:24px; background:#fff; border:1px solid #dce4ee; border-radius:24px; }
.workspace-tasks > .section-heading { margin:0 0 16px; }
.workspace-tasks > .section-heading h2 { font-size:1rem; }
.workspace-tasks > .section-heading a { font-size:.75rem; }
.workspace-tasks .portal-task-card { background:#f6f9fc; box-shadow:none; padding:16px; min-height:104px; border-radius:16px; gap:16px; margin-bottom:12px; }
.workspace-tasks .portal-task-card:last-child { margin-bottom:0; }
.task-location-line { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.task-location-line .task-address { margin:0; color:#52627a; font-size:.75rem; }
.workspace-tasks .task-card-main h3 { font-size:.875rem; margin:6px 0 4px; }
.workspace-tasks .task-card-description { font-size:.75rem; margin:4px 0 6px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:1;line-clamp: 1; overflow:hidden; }
.workspace-tasks .task-card-meta { font-size:.6875rem; gap:6px 12px; }
.task-badge, .location-tag { border:1px solid transparent; font-size:.75rem; }
.location-tag { border-radius:999px; }
.workspace-tasks .task-card-side { flex-direction:row; align-items:center; gap:16px; min-width:0; max-width:45%; }
.task-card-reward { display:flex; flex-direction:column; align-items:center; gap:4px; }
.workspace-tasks .task-reward { font-size:1rem; font-family:ui-monospace,SFMono-Regular,Consolas,monospace; white-space:nowrap; }
.task-card-state { display:flex; flex-direction:column; align-items:center; gap:8px; }
.workspace-tasks .task-card-side .button { padding:5px 12px; font-size:.6875rem; border-radius:10px; }
body:not(.light) .portal-header { background:var(--site-surface); border-color:var(--site-border); }
body:not(.light) .portal-brand strong { color:var(--site-text); }
body:not(.light) .company-workspace .company-hero { background:linear-gradient(to left,#0e2238,#091527,#081120); border-color:var(--site-border); }
body:not(.light) .hero-wallet { background:rgba(5,11,22,.9); border-color:var(--site-border); }
body:not(.light) .hero-wallet > span { color:var(--site-muted); }
body:not(.light) .workspace-balances,
body:not(.light) .workspace-tasks,
body:not(.light) .company-workspace .portal-stat { background:var(--site-surface); border-color:var(--site-border); }
body:not(.light) .workspace-tasks .portal-task-card { background:var(--site-input); border-color:var(--site-border); }
body:not(.light) .workspace-tasks .portal-task-card:hover { border-color:#1e3a63; }
body:not(.light) .company-workspace .portal-stat:hover { border-color:#1e365c; }
body:not(.light) .task-location-line .task-address { color:var(--site-muted); }
body:not(.light) .location-tag { background:rgba(59,130,246,.15); color:#60a5fa; border-color:rgba(59,130,246,.3); }
body:not(.light) .badge-published { background:rgba(0,220,130,.15); color:var(--site-accent); border-color:rgba(0,220,130,.3); }
body:not(.light) .badge-draft { background:var(--site-input); color:#cbd5e1; border-color:var(--site-border); }
body:not(.light) .company-workspace .stat-published strong { color:var(--site-text); }
body:not(.light) .company-workspace .stat-published small { color:var(--site-accent); }
body:not(.light) .company-workspace .stat-draft strong { color:#60a5fa; }
body:not(.light) .company-workspace .stat-draft small { color:#93c5fd; }
body:not(.light) .company-workspace .stat-expired strong,
body:not(.light) .company-workspace .stat-expired small { color:#fbbf24; }
body:not(.light) .company-workspace .stat-total strong { color:var(--site-accent); }
.button:not(.secondary):hover { background:var(--site-green-hover); filter:none; }
/* Matching field surfaces and proportions on company draft/funding forms. */
.company-form input:not([type=checkbox]),
.company-form select,
.company-form textarea,
.task-filters input,
.task-filters select { min-height:44px; padding:10px 12px; border-radius:12px; font-size:.875rem; line-height:1.5; }
.company-form textarea { min-height:112px; }
body:not(.light) .company-form input:not([type=checkbox]),
body:not(.light) .company-form select,
body:not(.light) .company-form textarea,
body:not(.light) .task-filters input,
body:not(.light) .task-filters select { background:var(--site-input); border-color:var(--site-border); }
@media(max-width:1100px) {
    .company-workspace .company-hero { flex-wrap:wrap; }
    .hero-actions { flex-wrap:wrap; flex-shrink:1; }
    .portal-header { flex-wrap:wrap; }
}
@media(max-width:800px) {
    .workspace-tasks .task-card-side { align-items:center; justify-content:space-between; max-width:none; }
}
@media(max-width:640px) {
    .portal-main { padding:20px 16px; }
    .portal-header { padding:14px 16px; }
    .portal-header nav { gap:8px; }
    .company-workspace .company-hero { padding:20px; }
    .company-workspace .company-hero h1 { font-size:1.5rem; }
    .hero-actions { width:100%; }
    .hero-wallet { flex:1; min-width:0; }
    .hero-actions .actions { flex:1; min-width:160px; }
    .workspace-tasks { padding:16px; }
    .company-workspace .portal-stat { padding:16px; }
}
@media(max-width:420px) {
    .company-workspace .portal-stat-grid { grid-template-columns:minmax(0,1fr); }
    .hero-actions { align-items:stretch; flex-direction:column; }
    .workspace-tasks .task-card-side { flex-wrap:wrap; }
}

/* Company activation: separate form controls from their actions. */
.company-setup .verification-form { margin-block-start: 20px; }
.company-setup .setup-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 16px; }

/* Company profiles */
.profile-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; }
.profile-company-card { text-decoration:none; color:inherit; }
.profile-logo { width:112px; height:112px; object-fit:contain; object-position:center; border-radius:12px; background:transparent; padding:0; }
.profile-cover { width:100%; height:clamp(160px,28vw,320px); object-fit:contain; object-position:center; border-radius:12px; margin-bottom:20px; }
.profile-heading { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.profile-heading h1 { margin-bottom:8px; }
.profile-about { white-space:pre-wrap; overflow-wrap:anywhere; }
.company-form textarea { width:100%; padding:12px; border:1px solid #aabace; border-radius:8px; font:inherit; color:inherit; background:transparent; }
.profile-grid .panel, .portal-main dd { overflow-wrap:anywhere; }

/* Task creation and draft editing: compact fields with a single mobile column. */
.task-form-workspace { padding-block: 18px; }
.task-form-workspace .task-form-grid,
.task-form-workspace .task-location-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}
.task-form-workspace .task-field { min-width: 0; }
.task-form-workspace .task-field-wide { grid-column: 1 / -1; }
.task-form-workspace .task-field label { margin: 0 0 4px; font-size: .875rem; }
.task-form-workspace .task-field input,
.task-form-workspace .task-field select,
.task-form-workspace .task-field textarea {
    width: 100%; min-width: 0; margin: 0; padding: 8px 10px;
    min-height: 42px; border-radius: 8px; font-size: .9375rem;
}
.task-form-workspace .task-field textarea { min-height: 88px; }
.task-form-workspace .task-field p,
.task-form-workspace .task-form-help { margin: 4px 0 0; font-size: .8125rem; color: var(--site-muted); }
.task-form-workspace .task-form-intro { margin: 0 0 12px; }
.task-form-workspace .task-actions { margin-top: 14px; }
@media (max-width: 700px) {
    .task-form-workspace .task-form-grid,
    .task-form-workspace .task-location-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
@media (pointer: coarse) {
    .task-form-workspace .task-field input,
    .task-form-workspace .task-field select,
    .task-form-workspace .button { min-height: 44px; }
}

/* Independent task sections keep details separate from payment and timing. */
.task-form-workspace .task-form-columns {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px; align-items: start;
}
.task-form-workspace .task-form-section {
    min-width: 0; margin: 0; padding: 14px;
    border: 1px solid var(--site-border); border-radius: 10px;
}
.task-form-workspace .task-form-section legend {
    padding-inline: 6px; margin: 0; font-size: .9375rem;
}
.task-form-workspace .task-column-fields { display: grid; gap: 12px; min-width: 0; }
.task-form-workspace .task-column-fields textarea { min-height: 110px; }
@media (max-width: 1000px) {
    .task-form-workspace .task-location-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
    .task-form-workspace .task-form-columns { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    .task-form-workspace .task-form-section { padding: 12px; }
}
