.au-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:30px}
.au-card {display:flex;flex-direction:column;align-items:flex-start;text-align:right;gap:12px;min-height:210px;padding:22px;background:var(--admin-panel);color:var(--admin-text);border:1px solid var(--admin-line);border-radius:12px;transition:border-color .15s,background .15s}
.au-card.selected {border-color:#477bb3;box-shadow:inset 0 0 0 1px #477bb3;background:var(--admin-soft)}
.au-card:hover {border-color:#477bb3}
.au-card-icon {display:grid;place-items:center;width:42px;height:42px;border-radius:10px;color:#477bb3;background:var(--admin-control)}
.au-card-icon svg,.au-file-label svg {width:25px;height:25px}
.au-card-title {font-size:1rem;font-weight:700;line-height:1.7;flex:1}
.au-card-status {font-size:.875rem;color:var(--admin-muted)}
.au-card-status.live {color:var(--admin-text);font-weight:700}
.au-package {font-size:.875rem;color:var(--admin-muted);overflow-wrap:anywhere;font-family:ui-monospace,monospace}
.au-section-heading {display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;flex-wrap:wrap}
.au-section-heading h2 {font-size:1.25rem;margin:0}
.au-columns {display:grid;grid-template-columns:1.1fr 1fr;gap:20px;align-items:start}
.au-upload,.au-current,.au-history {padding:26px}
.au-columns h3,.au-history h3 {font-size:1.125rem;margin:0 0 14px;color:var(--admin-text)}
.au-upload>p {font-size:1rem;line-height:1.9;color:var(--admin-muted);margin-bottom:20px}
.au-file-label {display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;background:var(--admin-soft);border:1px dashed #477bb3;border-radius:10px;padding:25px 16px;cursor:pointer;color:var(--admin-text)}
.au-file-label strong {font-size:1rem}
.au-file-label span {font-size:.875rem;color:var(--admin-muted)}
.au-file-label input {font:inherit;font-size:.875rem;width:100%;max-width:350px;background:var(--admin-control);padding:8px;border-radius:6px;direction:rtl}
.au-file-label input::file-selector-button {font:inherit;border:0;padding:8px 12px;border-radius:5px;cursor:pointer;background:#477bb3;color:white;margin-left:10px}
.au-note {font-size:.875rem!important;line-height:1.8;color:var(--admin-muted);margin:12px 0;overflow-wrap:anywhere}
.au-upload>.au-note {margin-top:20px;margin-bottom:0}
.au-metadata {display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:20px 0}
.au-metadata dt {font-size:.875rem;color:var(--admin-muted);margin:0 0 5px}
.au-metadata dd {font-size:1rem;font-weight:700;margin:0;text-align:right;overflow-wrap:anywhere}
.au-notes {font-size:1rem;line-height:1.9;white-space:pre-wrap;margin:18px 0;overflow-wrap:anywhere;color:var(--admin-text)}
.au-external,.au-connection {border-top:1px solid var(--admin-line);margin-top:24px;padding-top:18px}
.au-external summary,.au-connection summary {font-size:1rem;font-weight:700;cursor:pointer;color:var(--admin-text)}
.au-external p,.au-connection p {font-size:.875rem;line-height:1.8;color:var(--admin-muted);margin:14px 0}
.au-external form {margin:18px 0 0}
.au-inline {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.au-connection dl {margin:18px 0}
.au-connection dt {font-size:.875rem;color:var(--admin-muted);margin:12px 0 4px}
.au-connection dd {margin:0;font-size:.875rem;overflow-wrap:anywhere;text-align:right;font-family:ui-monospace,monospace}
.au-history {margin-top:22px}
.au-history .section-heading {margin:0 0 14px}
.au-history th,.au-history td {font-size:.875rem}
#au-progress {margin-top:18px}
#au-progress p {font-size:1rem;margin-bottom:12px}
#au-progress progress {width:100%;height:12px;accent-color:#477bb3;display:block;margin-bottom:16px}
#au-error {margin-top:18px;line-height:1.9;font-size:1rem}
.au-review {border-bottom:1px solid var(--admin-line);padding-bottom:10px;margin-bottom:18px}
.au-mandatory {margin-top:20px;font-size:1rem}
.au-upload .field-label,#modal .au-review~form .field-label {font-size:.875rem}
.au-upload .input {font-size:1rem}
.au-card:focus-visible,.au-external summary:focus-visible,.au-connection summary:focus-visible {outline:3px solid #79a7d7;outline-offset:4px}
.au-card:disabled {cursor:wait;opacity:.8}
.au-grid button,.au-columns button,.au-history button {min-height:42px}
@media(max-width:1150px){.au-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.au-card{min-height:190px}}
@media(max-width:850px){.au-columns{grid-template-columns:1fr}.au-upload,.au-current,.au-history{padding:20px}}
@media(max-width:480px){.au-grid{gap:10px}.au-card{padding:16px;gap:9px;min-height:205px}.au-card-title{font-size:.9375rem}.au-card-status,.au-card .au-package{font-size:.8125rem}.au-inline{grid-template-columns:1fr}.au-metadata{gap:16px}.au-section-heading{align-items:flex-start}.au-file-label input{max-width:100%}.au-upload,.au-current,.au-history{padding:16px}}
