/* Stage 0 working styles. The finished look comes from Austranna's design system in a later stage. */
:root {
  --bg: #ffffff; --ink: #0f1612; --body: #3a3f3b; --muted: #8b8b7d; --line: #e3e3dc; --tile: #f4f4f1; --deep: #2d300c;
  --font: -apple-system, BlinkMacSystemFont, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--body); font: 16px/1.5 var(--font); }
a { color: var(--deep); }
.top { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; padding: 14px max(16px, 3vw); border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.search { flex: 1 1 260px; }
.search input { width: 100%; }
.top nav { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.who { color: var(--muted); }
main { padding: 24px max(16px, 3vw) 64px; max-width: 1400px; margin: 0 auto; }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.01em; }
.pagetitle { font-size: 26px; margin: 0 0 16px; }
.narrow { max-width: 440px; margin: 10vh auto; }
input, select, button { font: inherit; }
input, select { padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); min-width: 0; }
button, .button { display: inline-block; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--deep); color: #fff; cursor: pointer; text-decoration: none; }
button.link { background: none; color: var(--deep); padding: 0; text-decoration: underline; }
.stack { display: grid; gap: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.inline { display: inline-flex; gap: 6px; }
.check { display: flex; gap: 8px; align-items: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tabs a { padding: 7px 12px; border-radius: 999px; background: var(--tile); color: var(--ink); text-decoration: none; font-size: 14px; }
.tabs a[aria-current] { background: var(--deep); color: #fff; }
.tabs span { opacity: 0.6; margin-left: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.card { text-decoration: none; color: inherit; }
.thumb { aspect-ratio: 4 / 3; background: var(--tile); border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.meta { display: grid; padding: 8px 2px; font-size: 14px; }
.meta b { color: var(--ink); font-weight: 600; }
.meta span { color: var(--muted); }
.chip { justify-self: start; margin-top: 4px; font-style: normal; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; background: var(--tile); padding: 2px 8px; border-radius: 999px; }
.empty { color: var(--muted); }
.asset { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 32px; }
.view img, .view video { width: 100%; border-radius: 12px; background: var(--tile); }
.nopreview { padding: 80px 20px; text-align: center; background: var(--tile); border-radius: 12px; color: var(--muted); }
.side h1 { margin-top: 0; font-size: 24px; }
.restrict { background: var(--tile); padding: 10px 12px; border-radius: 10px; color: var(--ink); font-size: 14px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 14px; }
dt { color: var(--muted); }
dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.note { color: var(--muted); font-size: 14px; }
.panel { margin-top: 40px; padding-top: 8px; border-top: 1px solid var(--line); overflow-x: auto; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; align-items: end; }
.grid-form label { display: grid; gap: 4px; font-size: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; margin-top: 12px; }
th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
th, td { padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mono { font-family: var(--mono); font-size: 12px; }
.small { font-size: 11px; }
.plain { list-style: none; padding: 0; }
@media (max-width: 760px) { .asset { grid-template-columns: 1fr; } .who { display: none; } }

.envbar { background: #2D300C; color: #fff; text-align: center; font-size: 13px; letter-spacing: .02em; padding: 6px 16px; }
