/* Planning Notices Redaction. The brand of planningnotices.com.au (read from the live site,
   11 Oct 2026): navy #1E4D8A and #0F2A44, action blue #1748C9, sky #4FA3FF, canvas
   #F4F6F8, Montserrat, 12px rounded buttons. Two meanings are kept from the work itself:
   amber is "a person must decide", and the council's stamp green #00804A is "advertised". */
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy-900: #0f2a44;
  --navy-800: #15365a;
  --navy-700: #1e4d8a;
  --blue: #1748c9;
  --blue-hover: #123ba6;
  --sky: #4fa3ff;
  --sky-soft: #e8f2ff;
  --canvas: #f4f6f8;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #1e293b;
  --muted: #67768e;
  --amber: #ffcd57;
  --amber-ink: #7a4d06;
  --amber-soft: #fff6dc;
  --stamp: #00804a;
  --stamp-soft: #e7f5ee;
  --red: #b42318;
  --red-soft: #fdf1f0;
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 8px 24px rgba(15, 42, 68, .06);
  --shadow-lift: 0 2px 4px rgba(15, 42, 68, .08), 0 16px 40px rgba(15, 42, 68, .12);
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--canvas); line-height: 1.55; font-size: .95rem;
  -webkit-font-smoothing: antialiased; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--blue); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0 0 .35rem; font-weight: 700; color: var(--navy-900); letter-spacing: -.015em; }
h2 { font-size: 1.15rem; margin: 2rem 0 .75rem; font-weight: 600; color: var(--navy-700); }
h3 { font-size: .95rem; margin: 0 0 .25rem; font-weight: 600; color: var(--navy-900); }
p { max-width: 70ch; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* top bar: the site's navy, with the logo on its own white tile */
.bar { background: var(--navy-900); color: #fff; position: sticky; top: 0; z-index: 20;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 6px 20px rgba(15, 42, 68, .18); }
.bar-in { max-width: 1240px; margin: 0 auto; padding: .6rem 1.25rem; display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-logo { width: 40px; height: 40px; border-radius: 10px; background: #fff; padding: 3px; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong { font-weight: 600; font-size: .95rem; letter-spacing: -.005em; }
.brand-name span { font-size: .75rem; color: #a9c4e6; font-weight: 500; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; }
.nav a { color: #cbd9ec; text-decoration: none; padding: .45rem .8rem; border-radius: 999px; font-weight: 500; font-size: .9rem;
  transition: background .2s var(--ease), color .2s var(--ease); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--navy-900); background: #fff; }
.who { margin-left: auto; display: flex; gap: .5rem; align-items: center; color: #cbd9ec; font-size: .85rem; }
.who .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-700); color: #fff; display: inline-grid; place-items: center;
  font-weight: 600; font-size: .8rem; border: 1px solid rgba(255, 255, 255, .25); }
.bar .btn-quiet { color: #cbd9ec; }
.bar .btn-quiet:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.acting { background: var(--amber); color: var(--navy-900); }
.acting .bar-in { padding: .45rem 1.25rem; font-size: .85rem; font-weight: 500; min-height: 0; gap: 1rem; }
.acting .btn-quiet { color: var(--navy-900); text-decoration: underline; }

main { max-width: 1240px; margin: 0 auto; padding: 2rem 1.25rem 5rem; }
main.wide { max-width: none; padding: 0; }
main.wide > .flash, main.wide > .errors { margin: 1rem 1.25rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; box-shadow: var(--shadow); }

/* buttons and forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font: inherit; font-weight: 600; font-size: .9rem;
  padding: .6rem 1.1rem; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--navy-900);
  cursor: pointer; text-decoration: none; transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .1s; }
.btn:hover { border-color: var(--navy-700); color: var(--navy-900); box-shadow: 0 2px 8px rgba(15, 42, 68, .08); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 4px 14px rgba(23, 72, 201, .28); }
.btn-primary:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; box-shadow: 0 6px 18px rgba(23, 72, 201, .34); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--muted); font-weight: 500; padding: .4rem .6rem; box-shadow: none; }
.btn-quiet:hover { background: var(--canvas); border-color: transparent; box-shadow: none; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn-lg { padding: .8rem 1.4rem; font-size: 1rem; }
label { display: block; font-weight: 600; margin: 0 0 .35rem; color: var(--navy-900); font-size: .9rem; }
.field { margin-bottom: 1.25rem; }
.hint { color: var(--muted); font-size: .825rem; font-weight: 400; margin-top: .3rem; }
input[type=text], input[type=email], input[type=number], select, textarea {
  font: inherit; color: var(--text); width: 100%; max-width: 32rem; padding: .65rem .8rem; border: 1px solid var(--line-strong);
  border-radius: var(--r-sm); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
input:hover, select:hover, textarea:hover { border-color: #94a3b8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 4px rgba(79, 163, 255, .22); }
textarea { min-height: 4.5rem; }
input[type=checkbox] { width: 1.05rem; height: 1.05rem; accent-color: var(--blue); }
.errors { border: 1px solid #f4c7c3; background: var(--red-soft); color: #7a1a12; padding: .85rem 1.1rem; margin-bottom: 1.25rem; border-radius: var(--r); }
.errors ul { margin: 0; padding-left: 1.1rem; }
.errors li { margin: .15rem 0; }
.flash { border: 1px solid #bfe3cf; background: var(--stamp-soft); color: #0b4d30; padding: .85rem 1.1rem; margin-bottom: 1.25rem; border-radius: var(--r); }

/* file drop: the native input, dressed as a drop zone */
.drop { position: relative; display: grid; place-items: center; text-align: center; gap: .3rem; padding: 2rem 1rem; border: 2px dashed var(--line-strong);
  border-radius: var(--r-lg); background: #fafcff; transition: border-color .2s var(--ease), background .2s var(--ease); }
.drop:hover, .drop:focus-within, .drop.is-over { border-color: var(--sky); background: var(--sky-soft); }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop strong { color: var(--navy-900); }
.drop-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sky-soft); display: grid; place-items: center; color: var(--blue); }
.drop-files { font-size: .85rem; color: var(--navy-700); font-weight: 500; }

/* tables as cards */
.table-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .8rem; color: var(--muted); font-weight: 600; background: #f8fafc; }
tbody tr { transition: background .15s var(--ease); }
tbody tr:hover td { background: #f8fbff; }
tbody tr:last-child td { border-bottom: 0; }
td .ref { white-space: nowrap; font-weight: 600; color: var(--navy-900); text-decoration: none; }
td .ref:hover { color: var(--blue); text-decoration: underline; }

/* status pills */
.status { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px;
  background: var(--canvas); color: var(--muted); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-review { background: var(--amber-soft); color: var(--amber-ink); }
.status-analysing, .status-rendering, .status-queued_analysis, .status-queued_render, .status-uploading { background: var(--sky-soft); color: var(--blue); }
.status-analysing::before, .status-rendering::before { animation: pulse 1.4s var(--ease) infinite; }
.status-blocked, .status-failed { background: var(--red-soft); color: var(--red); }
.status-done { background: var(--stamp-soft); color: var(--stamp); }
@keyframes pulse { 50% { opacity: .25; } }

/* the job's journey: the one place the design spends its boldness. Each application moves
   through the same five steps, so the steps are shown as one, on the list and on the job. */
.steps { display: flex; align-items: center; list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.steps li + li::before { content: ""; width: 2.2rem; height: 2px; background: var(--line-strong); margin: 0 .5rem; border-radius: 2px; }
.steps .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); background: #fff; display: inline-grid; place-items: center;
  font-size: .7rem; font-weight: 700; color: var(--muted); flex: none; }
.steps .done .dot { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.steps li.done + li::before, .steps li.now::before { background: var(--navy-700); }
.steps .now { color: var(--navy-900); font-weight: 600; }
.steps .now .dot { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 4px rgba(79, 163, 255, .25); }
.steps .now.wait .dot { border-color: #e0a800; color: var(--amber-ink); background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 205, 87, .35); }
.steps .now.stop .dot { border-color: var(--red); color: #fff; background: var(--red); box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.steps .final.done .dot { background: var(--stamp); border-color: var(--stamp); }
.steps.mini li { font-size: 0; gap: 0; }
.steps.mini li + li::before { width: 14px; margin: 0 3px; }
.steps.mini .dot { width: 12px; height: 12px; border-width: 2px; font-size: 0; }
.steps.mini .now .dot { box-shadow: 0 0 0 3px rgba(79, 163, 255, .25); }
.steps.mini .now.wait .dot { box-shadow: 0 0 0 3px rgba(255, 205, 87, .45); }
.steps.mini .now.stop .dot { box-shadow: 0 0 0 3px rgba(180, 35, 24, .2); }
.journey { padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; overflow-x: auto; }

/* page header band */
.hero { background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #fff; border-radius: var(--r-lg); padding: 1.75rem 2rem;
  margin-bottom: 1.5rem; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; box-shadow: var(--shadow-lift); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 163, 255, .35), rgba(79, 163, 255, 0) 70%); pointer-events: none; }
.hero h1 { color: #fff; margin: 0; }
.hero p { margin: .25rem 0 0; color: #cbd9ec; }
.hero .btn-primary { background: #fff; color: var(--navy-900); border-color: #fff; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); position: relative; z-index: 1; }
.hero .btn-primary:hover { background: var(--sky-soft); color: var(--navy-900); }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .9rem; }
.chip { display: inline-flex; gap: .4rem; align-items: center; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 500; backdrop-filter: blur(6px); }
.chip b { font-weight: 700; }
.chip.amber { background: var(--amber); color: var(--navy-900); border-color: var(--amber); }

.empty { text-align: center; padding: 3.5rem 1.5rem; }
.empty p { margin: .5rem auto 1.25rem; }

/* sign in */
.signin { min-height: calc(100vh - 64px); display: grid; grid-template-columns: 1.1fr 1fr; }
.signin-art { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 70%, #2a6bb8 100%); color: #fff; padding: 4rem 3.5rem;
  display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.signin-art h1 { color: #fff; font-size: 2.4rem; line-height: 1.1; max-width: 14ch; }
.signin-art p { color: #cbd9ec; max-width: 40ch; font-size: 1rem; }
.signin-art .notice { position: absolute; right: -40px; bottom: -40px; width: 300px; height: 210px; border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, .22); transform: rotate(-8deg); background: rgba(255, 255, 255, .04); }
.signin-art .notice::before { content: ""; position: absolute; inset: 22px 26px auto; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .25);
  box-shadow: 0 26px 0 rgba(255, 255, 255, .14), 0 46px 0 rgba(255, 255, 255, .14), 0 66px 0 rgba(255, 255, 255, .14), 0 86px 0 rgba(255, 255, 255, .1); }
.signin-form { display: grid; place-items: center; padding: 3rem 1.5rem; }
.signin-form .panel { width: 100%; max-width: 26rem; padding: 2rem; }

/* review screen: the pages sit on a navy light table */
.review { display: grid; grid-template-columns: 168px minmax(0, 1fr) 380px; height: calc(100vh - 64px); }
.strip { overflow-y: auto; background: var(--navy-900); padding: .75rem .6rem; scrollbar-color: var(--navy-700) transparent; }
.thumb { display: block; width: 100%; border: 2px solid transparent; background: transparent; margin-bottom: .7rem; padding: 0; cursor: pointer;
  text-align: left; font: inherit; font-size: .72rem; color: #a9c4e6; position: relative; border-radius: 10px; transition: border-color .2s var(--ease); }
.thumb img { width: 100%; display: block; border-radius: 8px; background: #fff; }
.thumb span { display: block; padding: .25rem .2rem 0; }
.thumb:hover { border-color: rgba(79, 163, 255, .5); }
.thumb[aria-current="true"] { border-color: var(--sky); color: #fff; }
.thumb .count { position: absolute; top: 6px; right: 6px; background: var(--navy-700); color: #fff; border-radius: 999px; font-size: .68rem;
  padding: .05rem .45rem; font-weight: 600; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.thumb .count.pending { background: var(--amber); color: var(--navy-900); }
.stage { overflow: auto; background: #1b3554; position: relative;
  background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 18px 18px; }
.stage-in { position: relative; margin: 1.5rem auto; background: #fff; border-radius: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.stage-in img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; border-radius: 4px; }
.stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* accepted: tinted, not opaque, so the officer can still read what is being removed */
.box { fill: rgba(23, 72, 201, .22); stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; cursor: pointer; }
.box.rejected { fill: transparent; stroke: #64748b; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.box.pending { fill: rgba(255, 205, 87, .35); stroke: #e0a800; stroke-width: 2; vector-effect: non-scaling-stroke; }
.box.selected { stroke: #ff3d7f; stroke-width: 3; }
.box.manual { fill: rgba(15, 42, 68, .45); stroke: var(--navy-900); }
/* new since the last version of the application (carry-forward): amber outline, any decision */
.box.new { stroke: #e0a800; stroke-width: 3; stroke-dasharray: 6 3; }
.drawing { fill: rgba(79, 163, 255, .2); stroke: var(--sky); stroke-dasharray: 3 2; }
.side { overflow-y: auto; background: var(--canvas); display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.side section { padding: 1.1rem 1.25rem; margin: .75rem .75rem 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.side section:first-child { background: transparent; border: 0; padding: .5rem .5rem 0; }
.side h3 { font-size: .9rem; }
.toolbar { display: flex; gap: .5rem; align-items: center; padding: .55rem .75rem; margin: .75rem auto 0; width: max-content; max-width: calc(100% - 1.5rem);
  background: rgba(15, 42, 68, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px; position: sticky; top: .75rem; z-index: 2; flex-wrap: wrap; color: #cbd9ec; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.toolbar .btn { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); border-radius: 999px; padding: .4rem .9rem; box-shadow: none; }
.toolbar .btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); }
.toolbar .btn[aria-pressed="true"] { background: var(--sky); border-color: var(--sky); color: var(--navy-900); }
.toolbar select { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); border-radius: 999px; padding: .3rem .6rem; }
.toolbar select option { color: var(--text); }
.toolbar .muted { color: #a9c4e6; }
.toolbar label { color: #cbd9ec; }
.party { padding: .65rem 0; border-top: 1px solid var(--line); }
.party:first-of-type { border-top: 0; padding-top: .25rem; }
.party-role { color: var(--muted); font-size: .75rem; font-weight: 500; }
.party-names { font-weight: 600; word-break: break-word; margin: .1rem 0 .4rem; color: var(--navy-900); }
.item { padding: .6rem .25rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: .3rem .5rem; border-radius: var(--r-sm); }
.item.is-selected { background: var(--sky-soft); }
.item .why { font-size: .78rem; color: var(--muted); grid-column: 1 / -1; }
.item .what { word-break: break-word; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-weight: 500; }
.item .seg { align-self: start; }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--canvas); padding: 2px; gap: 2px; }
.seg button { font: inherit; font-size: .78rem; font-weight: 600; border: 0; background: transparent; color: var(--muted); padding: .22rem .7rem; cursor: pointer; border-radius: 999px;
  transition: background .2s var(--ease), color .2s var(--ease); }
.seg button[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.approve { margin-top: auto; padding: 1rem 1.25rem; background: var(--surface); position: sticky; bottom: 0; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(15, 42, 68, .06); }
.approve .btn-primary { width: 100%; padding: .8rem 1rem; font-size: 1rem; }

/* rules */
.rule { border-top: 1px solid var(--line); padding: 1.1rem 0; display: grid; grid-template-columns: 6.5rem 1fr; gap: .25rem 1rem; }
.rule-id { font-weight: 700; color: var(--navy-700); font-variant-numeric: tabular-nums; }
.rule-off .rule-title, .rule-off .rule-id { color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: var(--canvas); color: var(--muted); margin-right: .25rem; }
.tag-inferred { background: var(--amber-soft); color: var(--amber-ink); }
.params { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: .75rem 1.25rem; margin-top: .75rem; }
.checks { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-weight: 400; }
.checks label { font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; margin: 0; }
.stampmark { display: inline-block; border: 2px solid var(--stamp); color: var(--stamp); font-weight: 700; padding: .2rem .55rem; line-height: 1.2; font-size: .85rem; }

/* progress of the running step */
progress { appearance: none; -webkit-appearance: none; display: block; width: 100%; height: .6rem; margin: 1.25rem 0 .6rem;
  border: 0; border-radius: 999px; background: var(--canvas); color: var(--blue); overflow: hidden; }
progress::-webkit-progress-bar { background: var(--canvas); border-radius: 999px; }
progress::-webkit-progress-value { background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 999px; transition: width .6s var(--ease); }
progress::-moz-progress-bar { background: linear-gradient(90deg, var(--blue), var(--sky)); border-radius: 999px; }
progress:indeterminate { background: linear-gradient(90deg, var(--canvas) 0%, #d6e6fb 50%, var(--canvas) 100%) 0 0 / 200% 100%;
  animation: progress-wait 1.6s linear infinite; }
progress:indeterminate::-webkit-progress-bar { background: transparent; }
@keyframes progress-wait { to { background-position: -200% 0; } }
.progress-text { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; margin: 0 0 1rem; }
.progress-text strong { color: var(--navy-900); }

.downloads { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .6rem; }
.downloads li { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fafcff; }
.downloads .file { flex: 1; min-width: 0; font-weight: 500; word-break: break-word; }
.file-ico { width: 36px; height: 44px; flex: none; border-radius: 6px; background: #fff; border: 1px solid var(--line-strong); position: relative; }
.file-ico::after { content: "PDF"; position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font-size: .6rem; font-weight: 700; color: var(--red); }

@media (max-width: 1000px) {
  .review { grid-template-columns: 1fr; height: auto; }
  .strip { display: flex; overflow-x: auto; }
  .thumb { width: 90px; flex: none; margin-right: .5rem; }
  .rule { grid-template-columns: 1fr; }
  .signin { grid-template-columns: 1fr; }
  .signin-art { padding: 2.5rem 1.5rem; }
  .signin-art .notice { display: none; }
  .bar-in { gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* utilities (the Content-Security-Policy forbids style="" attributes) */
.u-head { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.u-normal { font-weight: 400; }
.u-mb-s { margin-bottom: .4rem; }
.u-mt-s { margin-top: .6rem; }
.u-mt-l { margin-top: 1.5rem; }
.u-mt-0 { margin-top: 0; }
.u-m0 { margin: 0; }
.u-my-s { margin: .5rem 0; }
.u-push { margin-left: auto; }
.u-narrow { max-width: 34rem; margin: 3rem auto; }
.u-h-side { font-size: 1.2rem; }
.u-auto { width: auto; }
.u-inline-label { display: inline-flex; gap: .4rem; align-items: center; font-weight: 500; margin: 0; }
.u-legend { float: left; width: 6.5rem; }
.u-plain { border: 0; margin: 0; }
.u-hr { margin: 1.75rem 0; border: 0; border-top: 1px solid var(--line); }
.u-actions { margin-top: 1.5rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; }
.pageinfo { max-width: 40ch; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toolbar .u-push { margin-left: auto; }
.u-mb-0 { margin-bottom: 0; }
.u-form { max-width: 46rem; }
.u-full { width: 100%; }
.u-create { max-width: 46rem; }
.u-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 700px) { .who-name { display: none; } }

/* redaction record and activity log (12 Oct 2026) */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0 0 1rem; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0 1rem; align-items: flex-end; margin-bottom: 1.25rem; }
.filters .field { margin-bottom: 1rem; min-width: 10rem; }
.hash { font-size: .8rem; color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } .facts dt { margin-top: .5rem; } }
@media print {
  .bar, .acting, .nav, .who, .u-head .btn, .filters { display: none; }
  .panel, .table-card { box-shadow: none; border-color: #999; }
  body { background: #fff; }
}
