.table-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.secondary-btn.compact,.primary-btn.compact { min-height: 34px; padding: 7px 10px; font-size: 11px; }
.large-table td small,.large-table td strong { display: block; }
.large-table td small { margin-top: 3px; color: var(--muted); }
.feed-inventory-card { margin-bottom: 16px; }
.supply-grid { margin-top: 16px; }
.access-type-label { margin: 10px 0; color: var(--green-700); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.login-entry-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; padding: 18px 22px 6px; }
.login-entry { min-height: 112px; padding: 15px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); cursor: pointer; text-align: left; }
.login-entry span { display: grid; width: 32px; height: 32px; margin-bottom: 10px; place-items: center; border-radius: 9px; background: var(--green-50); color: var(--green-700); }
.login-entry svg { width: 17px; height: 17px; }
.login-entry strong,.login-entry small { display: block; }
.login-entry small { margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }
.login-entry.active { border-color: var(--green-600); box-shadow: 0 0 0 2px rgba(35,113,70,.1); background: var(--green-50); }
.login-entry.owner.active { border-color: #b98420; background: #fff8e8; }
.access-login-form { padding-top: 8px; }
.login-empty { margin: 15px 22px; padding: 24px; border: 1px dashed var(--line); border-radius: 13px; text-align: center; color: var(--muted); }
.login-empty strong { display: block; color: var(--ink); }
.reconciliation-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding: 18px 22px; }
.reconciliation-summary span { padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); }
.reconciliation-summary small,.reconciliation-summary strong { display: block; }
.reconciliation-summary small { color: var(--muted); font-size: 10px; }
.reconciliation-summary strong { margin-top: 5px; font-size: 22px; }
.row-confirm-list { display: grid; gap: 9px; padding: 0 22px 18px; }
.row-confirm-list label { display: flex; align-items: flex-start; gap: 9px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 12px; line-height: 1.45; }
.batch-capacity { padding: 12px 14px; border-radius: 10px; background: var(--green-50); color: var(--green-800); font-weight: 700; }
.row-side-card { margin-bottom: 16px; }
body[data-role="pen-manager"] [data-page="finance"] { display: none; }
body[data-role="board"] [data-action="add-feed-stock"],body[data-role="board"] [data-action="use-feed-stock"],body[data-role="board"] [data-action="stock-item"],body[data-role="board"] [data-action="record-eggs"],body[data-role="board"] [data-action="broiler-log"] { display: none !important; }
@media (max-width: 720px) {
  .login-entry-grid { grid-template-columns: 1fr; }
  .login-entry { min-height: 82px; }
  .reconciliation-summary { grid-template-columns: 1fr; }
  .table-actions { min-width: 138px; }
  .feed-table { min-width: 840px; }
}

.custom-fields-panel { margin-top: 16px; }
.custom-field-list { display: grid; gap: 10px; }
.custom-field-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft, #faf9f4); }
.custom-field-card.inactive { opacity: .62; }
.custom-field-card > div:first-child { display: grid; gap: 3px; }
.custom-field-card span { color: var(--muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.custom-field-card strong { color: var(--ink); }
.custom-field-card small { color: var(--muted); }
.custom-field-group { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 4px; padding: 16px; border: 1px dashed #b8cabb; border-radius: 16px; background: #f5faf5; }
.custom-field-heading { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.custom-field-heading strong { color: var(--green-900, #17382d); }
.custom-field-heading small { color: var(--muted); }
.worker-custom-summary { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 9px 0; color: var(--muted); font-size: .78rem; }
.worker-custom-summary strong { color: var(--ink); }
.install-instructions { display: grid; justify-items: center; gap: 14px; padding: 28px 24px 32px; text-align: center; }
.install-instructions h3,.install-instructions p { margin: 0; }
.install-instructions p { max-width: 480px; color: var(--muted); line-height: 1.6; }
.install-instructions ol { max-width: 390px; margin: 0; padding-left: 24px; color: var(--ink); text-align: left; line-height: 1.9; }
.install-app-icon { display: grid; width: 82px; height: 82px; place-items: center; overflow: hidden; border-radius: 20px; box-shadow: 0 12px 32px rgba(23,56,45,.18); }
.install-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.cloud-first-owner { display: block; margin: 0 auto 18px; border: 0; background: transparent; color: var(--green-700); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .custom-field-card { align-items: flex-start; flex-direction: column; }
  .custom-field-group { grid-template-columns: 1fr; }
  .custom-field-heading { align-items: flex-start; flex-direction: column; }
}
