/* Registro uses the Granos tabs, date controls, report panels, tables and empty states. */
.acr-panel .acr-controls { display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:16px; padding:16px 20px; }
.acr-panel .acr-label { margin:0 0 8px; color:var(--ink-soft); font-size:12px; font-weight:600; }
.acr-panel .acr-form { grid-area:auto; padding:16px 20px; border-top:1px solid var(--line); background:var(--surface-2); }
.acr-panel .acr-summary { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 12px; color:var(--gd-muted); font-size:12px; }
.acr-panel .acr-summary strong { color:var(--ink); font-size:15px; font-weight:600; }
.acr-panel .acr-subheading {
  margin:0; padding:.75rem 20px; border-bottom:1px solid var(--line);
  background:var(--s-granos-tint); color:var(--ink); font-size:1rem; line-height:1.35; font-weight:700;
}
.acr-panel .acr-table + .acr-subheading { margin-block-start:.75rem; border-top:1px solid var(--line-strong); }
.acr-panel .acr-table { min-width:0; table-layout:fixed; }
.acr-panel .acr-table :is(td,th) { text-align:left; overflow-wrap:anywhere; }
.acr-panel .acr-table :is(td,th):first-child { padding-left:20px; }
.acr-panel .acr-table :is(td,th):last-child { padding-right:20px; text-align:right; }
.acr-panel .acr-table small { display:block; font-size:11px; color:var(--gd-muted); font-variant-numeric:tabular-nums; }
.acr-panel .acr-table strong { font-weight:600; font-variant-numeric:tabular-nums; }
.acr-panel .acr-link { display:inline-flex; align-items:center; gap:6px; min-height:32px; color:var(--brand-700); font-weight:600; }
.acr-panel .acr-link svg { width:14px; height:14px; }
.acr-panel .acr-link:focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.acr-panel .acr-muted, .acr-panel .acr-mobile-label { color:var(--gd-muted); }
.acr-panel .acr-mobile-label { display:none; }
.acr-panel .grain-diff-error { align-items:center; flex-wrap:wrap; }
.acr-panel .grain-diff-error .btn { margin-left:auto; }
.acr-panel .grain-diff-pagination { padding-inline:0; }
.acr-panel [aria-disabled="true"] { opacity:.65; cursor:wait; }
.acr-choice { margin-block-start:6px; color:var(--ink); }
.acr-choice > summary { color:var(--brand-700); font-weight:600; cursor:pointer; padding-block:5px; }
.acr-choice form { display:grid; gap:8px; padding-block:7px; }
.acr-choice dl { display:grid; grid-template-columns:max-content minmax(0,1fr); gap:3px 8px; margin:0; font-size:12px; }
.acr-choice dt { color:var(--ink-soft); }.acr-choice dd { margin:0; }
.acr-choice label { font-size:12px; font-weight:600; }.acr-choice .btn { width:fit-content; white-space:normal; }
.acr-select { display:block; position:relative; }.acr-select select { width:100%; min-width:0; padding-inline:10px 32px; appearance:none; }
.acr-select > svg,.acr-select > i { position:absolute; pointer-events:none; width:15px; height:15px; right:10px; top:50%; transform:translateY(-50%); }
.acr-choice :is(summary,select,button):focus-visible { outline:2px solid var(--brand); outline-offset:2px; }
.acr-choice-error:empty { display:none; }
@media(forced-colors:active){.acr-select select{appearance:auto;}.acr-select > :is(i,svg){display:none;}}
@media(max-width:640px) {
  .acr-panel .acr-subheading { padding-inline:16px; }
  .acr-panel .acr-controls, .acr-panel .acr-form { padding:14px; }
  .acr-panel .acr-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:12px; }
  .acr-panel .acr-controls > div { display:contents; }
  .acr-panel .acr-label { grid-area:1 / 1; margin:0; }
  .acr-panel .acr-controls > .btn { grid-area:1 / 2; }
  .acr-panel .grain-report-view-buttons { grid-area:2 / 1 / 3 / -1; display:flex; flex-wrap:wrap; gap:6px; }
  .acr-panel .grain-report-view-buttons .btn { flex:0 0 auto; width:auto; min-height:42px; padding-inline:10px; white-space:nowrap; }
  .acr-panel .grain-report-view-buttons:has([data-acr-mode="todo"]) { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .acr-panel .acr-table, .acr-panel .acr-table tbody { display:block; }
  .acr-panel .acr-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .acr-panel .acr-table tbody tr { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 12px; padding:12px 16px; border-bottom:1px solid var(--line); }
  .acr-panel .acr-table tbody tr:last-child { border-bottom:0; }
  .acr-panel .acr-table tbody td { display:block; border:0; padding:0; min-width:0; }
  .acr-panel .acr-table tbody td:first-child, .acr-panel .acr-table tbody td:last-child { padding-inline:0; }
  .acr-panel .acr-table td:first-child { grid-column:1; grid-row:1; }
  .acr-panel .acr-table td:nth-child(2), .acr-panel .acr-table td:nth-child(3) { grid-column:1 / -1; }
  .acr-panel .acr-mobile-label { display:inline; margin-right:6px; }
  .acr-panel .acr-table td:last-child { grid-column:2; grid-row:1; }
  .acr-panel .acr-link { min-height:40px; }
}
