:root {
  --navy-950: #07131f;
  --navy-900: #0e263a;
  --navy-800: #163b57;
  --ink: #193047;
  --muted: #6b7c8b;
  --line: #dbe4ea;
  --surface: #ffffff;
  --surface-soft: #f3f7f9;
  --accent: #2c9a84;
  --accent-dark: #147866;
  --danger: #be4f55;
  --shadow: 0 14px 34px rgba(14, 38, 58, 0.1);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #edf3f5;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #edf3f5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.login-screen {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: radial-gradient(circle at 15% 0%, #286887 0, transparent 36%), linear-gradient(145deg, var(--navy-950), var(--navy-800));
}
.login-card { width: min(100%, 470px); padding: 28px 22px 20px; background: var(--surface); border-radius: 26px; box-shadow: 0 28px 60px rgba(0, 0, 0, 0.26); }
.login-brand { display: flex; align-items: center; gap: 12px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.company-logo { width: 154px; height: 46px; object-fit: contain; object-position: left center; }
.brand-divider { width: 1px; height: 30px; background: var(--line); }
.brand-kicker, .topbar-kicker, .eyebrow { display: block; color: var(--accent-dark); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; }
.brand-kicker { color: var(--muted); line-height: 1.3; }
.login-copy { padding: 34px 0 24px; }
.login-copy h1, .page-heading h1 { margin: 7px 0 8px; color: var(--navy-900); font-size: clamp(1.7rem, 6vw, 2.25rem); line-height: 1.08; letter-spacing: -0.04em; }
.login-copy p, .page-heading p { margin: 0; color: var(--muted); line-height: 1.55; }
.stack-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field > span { color: var(--ink); font-size: 0.82rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); outline: none; transition: border-color .18s, box-shadow .18s; }
input, select { min-height: 48px; padding: 12px 13px; }
textarea { min-height: 132px; padding: 13px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(44, 154, 132, 0.13); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 12px 17px; font-weight: 800; transition: transform .16s, background .16s, border-color .16s; }
.button:active { transform: translateY(1px); }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-dark); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button.secondary:hover { border-color: #9eb7c1; background: var(--surface-soft); }
.full-width { width: 100%; }
.form-error { margin: 0; color: var(--danger); font-size: 0.86rem; font-weight: 700; }
.login-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.74rem; }
.cetem-logo { width: 92px; height: 34px; object-fit: contain; }

.app-shell { min-height: 100svh; }
.topbar { position: sticky; z-index: 5; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; padding: 10px max(16px, calc((100vw - 1180px) / 2)); background: rgba(14, 38, 58, 0.96); color: white; box-shadow: 0 4px 18px rgba(7, 19, 31, 0.18); backdrop-filter: blur(10px); }
.topbar-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.topbar-logo { width: 88px; height: 38px; border-radius: 7px; object-fit: contain; background: white; }
.topbar-kicker { color: #a8c4cd; font-size: 0.56rem; letter-spacing: 0.1em; }
.topbar-brand strong { display: block; margin-top: 3px; font-size: 0.95rem; }
.topbar-actions { display: flex; align-items: center; gap: 8px; }
.user-chip { display: none; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 700; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #83cdbd; color: var(--navy-900); font-size: 0.69rem; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: transparent; color: white; font-size: 1.35rem; }
.page-container { width: min(100% - 28px, 1180px); margin: 0 auto; padding: 28px 0 104px; }
.page-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.compact-heading { margin-bottom: 20px; }
.page-cetem-logo { display: none; width: 94px; height: 44px; object-fit: contain; background: white; border-radius: 8px; }
.back-link { padding: 0; border: 0; background: transparent; color: var(--accent-dark); font-size: 0.82rem; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 29px; }
.stat-card { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.78); box-shadow: 0 5px 16px rgba(14, 38, 58, .04); }
.stat-card strong { display: block; color: var(--navy-900); font-size: 1.5rem; letter-spacing: -0.04em; }
.stat-card span { color: var(--muted); font-size: 0.75rem; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 13px; }
.section-heading h2 { margin: 5px 0 0; color: var(--navy-900); font-size: 1.15rem; letter-spacing: -0.025em; }
.activities-grid { display: grid; gap: 13px; }
.activity-card { position: relative; display: grid; grid-template-columns: 48px 1fr auto; gap: 13px; align-items: center; min-height: 118px; width: 100%; padding: 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-align: left; box-shadow: 0 7px 22px rgba(14, 38, 58, .05); }
.activity-card::before { position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--activity-color, var(--accent)); content: ""; }
.activity-card:hover { border-color: #a5c5c3; box-shadow: var(--shadow); }
.activity-icon { display: grid; place-items: center; width: 47px; height: 47px; border-radius: 14px; background: var(--activity-soft, #e5f2ef); font-size: 1.35rem; }
.activity-card h3 { margin: 0 0 4px; color: var(--navy-900); font-size: 1rem; }
.activity-card p { margin: 0; color: var(--muted); font-size: 0.78rem; line-height: 1.4; }
.activity-arrow { color: var(--activity-color, var(--accent)); font-size: 1.45rem; }
.blue { --activity-color: #397bd4; --activity-soft: #eaf2ff; }
.violet { --activity-color: #7c55c9; --activity-soft: #f0ebff; }
.orange { --activity-color: #d17a2f; --activity-soft: #fff1e4; }
.green { --activity-color: #2c9a84; --activity-soft: #e3f5ef; }

.maintenance-form { display: grid; gap: 15px; }
.form-section { padding: 18px 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 5px 18px rgba(14, 38, 58, .035); }
.form-section h2 { margin: 0 0 15px; color: var(--navy-900); font-size: 1rem; }
.field-grid { display: grid; gap: 13px; }
.field-grid + .field-grid { margin-top: 13px; }
.checklist { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.check-row { display: grid; grid-template-columns: 1fr repeat(3, 39px); gap: 5px; align-items: center; padding: 12px 9px; border-bottom: 1px solid var(--line); font-size: 0.8rem; line-height: 1.35; }
.check-row:last-child { border-bottom: 0; }
.check-row:nth-child(odd) { background: #f7fafb; }
.check-label { color: var(--ink); }
.check-choice { display: grid; justify-items: center; gap: 3px; color: var(--muted); font-size: 0.65rem; }
.check-choice input { width: 18px; height: 18px; min-height: 18px; accent-color: var(--accent); }
.description-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tool-button { min-height: 41px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); color: var(--ink); font-size: 0.78rem; font-weight: 800; }
.tool-button.active { border-color: #e18888; background: #fff0f0; color: var(--danger); }
.description-review { display: grid; gap: 10px; margin-top: 11px; padding: 13px; border: 1px solid #b9dacf; border-radius: 12px; background: #f0faf7; }
.description-review p { margin: 0; color: var(--ink); font-size: 0.87rem; line-height: 1.5; }
.review-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.review-actions .button { min-height: 39px; padding: 8px 11px; font-size: 0.76rem; }
.description-status { margin-top: 9px; color: var(--muted); font-size: 0.76rem; }
.description-status.confirmed { color: var(--accent-dark); font-weight: 800; }
.description-status.reviewed { color: var(--accent-dark); font-weight: 700; }
.description-status.error { color: var(--danger); font-weight: 700; }
.voice-status { min-height: 1.4em; margin: 9px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.4; }
.voice-status.success { color: var(--accent-dark); font-weight: 700; }
.voice-status.error { color: var(--danger); font-weight: 700; }
.confirm-description { margin-top: 11px; }
.photo-field-label { display: block; color: var(--ink); font-size: .78rem; font-weight: 800; }
.photo-source-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.photo-picker { position: relative; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.photo-picker input.photos-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; opacity: 0; }
.photo-help { margin: 7px 0 0; color: var(--muted); font-size: 0.72rem; }
.photo-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
.photo-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #dbe4ea; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-remove { position: absolute; top: 5px; right: 5px; display: grid; place-items: center; width: 27px; height: 27px; border: 0; border-radius: 50%; background: rgba(7,19,31,.77); color: white; font-weight: 800; }
.form-actions { position: sticky; bottom: 72px; z-index: 3; display: grid; grid-template-columns: 1fr 1.7fr; gap: 9px; padding: 11px; border: 1px solid rgba(219, 228, 234, .9); border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 -7px 20px rgba(14, 38, 58, .07); backdrop-filter: blur(10px); }

.filters-card { display: grid; gap: 11px; margin-bottom: 15px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.records-list, .logs-list { display: grid; gap: 9px; }
.record-list-item { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: inherit; text-align: left; box-shadow: 0 4px 13px rgba(14, 38, 58, .04); cursor: pointer; }
.record-list-item:hover, .record-list-item:focus-visible { border-color: #9eb7c1; outline: 2px solid rgba(19, 139, 116, .16); outline-offset: 1px; }
.record-list-main { min-width: 0; display: grid; gap: 3px; }
.record-list-main strong { overflow: hidden; color: var(--navy-900); font-size: .84rem; text-overflow: ellipsis; white-space: nowrap; }
.record-list-main span, .record-list-main small { overflow: hidden; color: var(--muted); font-size: .7rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.record-list-side { display: grid; justify-items: end; gap: 5px; flex: 0 0 auto; }
.record-list-side .status-pill { max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.record-list-photos { display: flex; align-items: center; gap: 3px; }
.record-list-photos img { width: 42px; height: 30px; max-height: 30px; border-radius: 5px; object-fit: cover; }
.record-list-no-photo { color: var(--muted); font-size: .65rem; }
.record-list-open { color: var(--accent-dark); font-size: .67rem; font-weight: 800; }
.record-card { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 5px 16px rgba(14, 38, 58, .04); }
.record-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.record-header h3 { margin: 0; color: var(--navy-900); font-size: 0.95rem; }
.record-header p, .record-meta, .record-description { margin: 5px 0 0; color: var(--muted); font-size: 0.76rem; line-height: 1.45; }
.record-description { margin-top: 12px; color: var(--ink); font-size: 0.84rem; }
.status-pill { display: inline-flex; align-items: center; min-height: 25px; padding: 5px 8px; border-radius: 999px; background: #e8f7f2; color: var(--accent-dark); font-size: 0.66rem; font-weight: 800; white-space: nowrap; }
.status-pill.pending { background: #fff5df; color: #956a16; }
.status-pill.danger { background: #ffebec; color: var(--danger); }
.record-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 12px; }
.record-photos img { width: 100%; aspect-ratio: 1; border-radius: 9px; object-fit: cover; }
.logs-section { margin-top: 30px; }
.logs-section > .section-heading p { margin: 6px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.log-record-card { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 5px 16px rgba(14, 38, 58, .04); }
.log-detail-grid { display: grid; gap: 9px; margin-top: 13px; padding: 12px; border-radius: 12px; background: var(--surface-soft); }
.log-detail { display: grid; gap: 3px; }
.log-detail span, .log-description-block > span, .log-photo-block > span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.log-detail strong { color: var(--ink); font-size: .78rem; line-height: 1.35; }
.log-description-block, .log-photo-block { margin-top: 13px; }
.log-description-block p { margin: 5px 0 0; color: var(--ink); font-size: .84rem; line-height: 1.5; white-space: pre-wrap; }
.log-record-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 8px; }
.log-record-photos img { width: 100%; aspect-ratio: 1; border-radius: 9px; object-fit: cover; }
.log-no-photo { margin: 6px 0 0; color: var(--muted); font-size: .76rem; }
.log-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: .78rem; }
.log-row:first-child { border-radius: 12px 12px 0 0; }
.log-row:last-child { border-radius: 0 0 12px 12px; }
.log-row strong { display: block; color: var(--ink); }
.log-row span { color: var(--muted); }
.record-modal[hidden] { display: none; }
.record-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 14px; }
.record-modal-backdrop { position: absolute; inset: 0; background: rgba(7, 19, 31, .55); }
.record-modal-card { position: relative; z-index: 1; width: min(100%, 720px); max-height: calc(100dvh - 28px); overflow-y: auto; padding: 18px 15px; border-radius: 18px; background: var(--surface); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.record-modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; border-color: var(--line); background: var(--surface-soft); color: var(--ink); }
.record-modal-card .record-header { display: grid; gap: 10px; padding-right: 35px; }
.record-modal-card .record-header .status-pill { justify-self: start; max-width: 100%; white-space: normal; }
.record-modal-card .record-header h2 { margin: 5px 0 0; color: var(--navy-900); font-size: 1.15rem; }
.record-modal-card .record-header p { margin: 5px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.record-detail-grid { display: grid; gap: 9px; margin-top: 14px; padding: 12px; border-radius: 12px; background: var(--surface-soft); }
.record-detail-grid > div { display: grid; gap: 3px; }
.record-detail-grid span, .record-detail-description > span, .record-detail-photos-block > span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.record-detail-grid strong { color: var(--ink); font-size: .78rem; line-height: 1.35; }
.record-detail-actions { display: grid; gap: 7px; margin-top: 14px; }
.resend-email-button { width: 100%; }
.record-detail-email-help { margin: 0; color: var(--muted); font-size: .7rem; line-height: 1.4; }
.record-detail-description, .record-detail-photos-block { margin-top: 14px; }
.record-detail-description p { margin: 5px 0 0; color: var(--ink); font-size: .84rem; line-height: 1.5; white-space: pre-wrap; }
.record-detail-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 8px; }
.record-detail-photos img { width: 100%; max-height: 260px; border-radius: 10px; object-fit: cover; }
body.modal-open { overflow: hidden; }
.empty-state { padding: 26px 15px; border: 1px dashed #b8cbd1; border-radius: 15px; color: var(--muted); text-align: center; font-size: .84rem; }
.admin-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 15px; padding: 5px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.admin-tab { min-height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: .73rem; font-weight: 800; }
.admin-tab.active { background: var(--surface); color: var(--accent-dark); box-shadow: 0 3px 10px rgba(14,38,58,.08); }
.admin-panel { display: block; }
.admin-grid { display: grid; gap: 15px; }
.settings-card { display: grid; gap: 14px; padding: 17px 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 5px 18px rgba(14, 38, 58, .035); }
.single-settings-card { max-width: 760px; }
.settings-help { margin: -5px 0 2px; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.recipient-card { align-content: start; }
.recipient-add-row { display: grid; grid-template-columns: 1fr auto; gap: 9px; align-items: end; }
.recipient-add-row .form-field { min-width: 0; }
.recipient-add-row .button { min-height: 43px; }
.recipient-list { display: grid; gap: 8px; max-height: 340px; overflow-y: auto; padding-right: 2px; }
.recipient-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--ink); font-size: .78rem; }
.recipient-row span { min-width: 0; overflow-wrap: anywhere; }
.recipient-row .mini-button { flex: 0 0 auto; color: var(--danger); }
.switch-field { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: .82rem; font-weight: 700; }
.switch-field input { width: 20px; height: 20px; min-height: 20px; accent-color: var(--accent); }
.form-actions-inline { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.form-actions-inline .button { min-height: 43px; }
.settings-status { min-height: 20px; margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.settings-status.success { color: var(--accent-dark); font-weight: 800; }
.settings-status.error { color: var(--danger); font-weight: 800; }
.users-list { display: grid; gap: 8px; }
.user-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.user-row strong { display: block; color: var(--ink); font-size: .82rem; }
.user-row span { display: block; margin-top: 3px; color: var(--muted); font-size: .7rem; }
.user-row.inactive { opacity: .58; }
.user-actions { display: flex; gap: 5px; }
.mini-button { min-height: 34px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: .69rem; font-weight: 800; }
.mini-button:hover { border-color: #9eb7c1; }

.bottom-nav { position: fixed; z-index: 10; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(2, 1fr); min-height: 66px; padding: 5px max(14px, env(safe-area-inset-left)) calc(5px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right)); border-top: 1px solid var(--line); background: rgba(255,255,255,.96); box-shadow: 0 -4px 20px rgba(14, 38, 58, .09); backdrop-filter: blur(10px); }
.admin-mode .bottom-nav { grid-template-columns: repeat(3, 1fr); }
.nav-button { display: grid; place-items: center; gap: 1px; border: 0; background: transparent; color: var(--muted); font-size: 1.22rem; }
.nav-button small { font-size: .68rem; font-weight: 800; }
.nav-button.active { color: var(--accent-dark); }
.toast { position: fixed; z-index: 30; top: 17px; right: 17px; left: 17px; display: none; padding: 13px 15px; border-radius: 12px; background: var(--navy-900); color: white; box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; }
.toast.show { display: block; animation: slide-in .2s ease-out; }
.toast.error { background: var(--danger); }
@keyframes slide-in { from { transform: translateY(-8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (min-width: 680px) {
  .login-card { padding: 38px 38px 23px; }
  .user-chip { display: flex; }
  .page-cetem-logo { display: block; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .activities-grid { grid-template-columns: repeat(2, 1fr); }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .recipient-add-row { grid-template-columns: minmax(0, 1fr) auto; }
  .filters-card { grid-template-columns: 1.5fr 1fr 1fr auto; align-items: end; }
  .record-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-actions { bottom: 18px; margin-left: auto; max-width: 490px; }
  .bottom-nav { position: static; width: min(100% - 28px, 1180px); margin: 0 auto 22px; border: 1px solid var(--line); border-radius: 14px; box-shadow: none; }
  .admin-grid { grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr); align-items: start; }
  .log-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-card { padding: 22px; }
}

@media (max-width: 430px) {
  .recipient-add-row { grid-template-columns: 1fr; }
  .recipient-add-row .button { width: 100%; }
}

@media (min-width: 980px) {
  .page-container { padding-top: 42px; }
  .activities-grid { grid-template-columns: repeat(4, 1fr); }
  .activity-card { grid-template-columns: 42px 1fr; align-content: start; min-height: 190px; }
  .activity-arrow { position: absolute; right: 17px; bottom: 16px; }
  .activity-icon { width: 42px; height: 42px; }
  .form-section { padding: 22px; }
}
