/*
 * ATELIER — A refined workspace theme for Redmine 7
 * Version 1.1.0 | 2 November 2026 | SPDX-License-Identifier: MIT
 * Copyright (c) 2026 F1 Technology LTD
 * Permission is granted, free of charge, to use, copy, modify, distribute,
 * sublicense and sell this stylesheet, provided this notice is retained.
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND.
 * This license covers this stylesheet only, not Redmine or its assets.
 *
 * INSTALL: themes/atelier/stylesheets/application.css (Redmine application root).
 * Restart Passenger, then choose Atelier in Administration > Settings > Display.
 * Retains Redmine's base CSS, native SVG icons, JS behavior and responsive menu.
 * No remote fonts, images, JavaScript, plugins or build tools required.
 * Change the --at-* tokens below to customize the palette and density.
 * Designed for Redmine 7; validate third-party plugins on a staging instance.
 */
@import url("/assets/application-744365ca.css");

:root {
  color-scheme: light;
  --at-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --at-canvas: #f3f6fa;
  --at-surface: #ffffff;
  --at-surface-soft: #f8fafc;
  --at-ink: #17263b;
  --at-muted: #586a80;
  --at-line: #dce4ed;
  --at-navy: #12263f;
  --at-navy-deep: #0c1b2e;
  --at-brand: #087f80;
  --at-brand-hover: #056568;
  --at-brand-soft: #e6f5f3;
  --at-link: #086d85;
  --at-danger: #b42338;
  --at-success: #186443;
  --at-radius: 12px;
  --at-radius-sm: 7px;
  --at-shadow: 0 3px 14px rgb(19 38 62 / 5%);
  --at-focus: #247abf;
  /* Redmine 7 also consumes these for the responsive header. */
  --color-header-background: #12263f;
  --color-top-menu-background: #0c1b2e;
}

/* Foundation: do not alter Redmine's structural display/position rules. */
html { background: var(--at-canvas); }
body {
  color: var(--at-ink);
  background: var(--at-canvas);
  font-family: var(--at-font);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
input, select, textarea, button { font-family: inherit; }
a, a:link, a:visited { color: var(--at-link); }
a:hover, a:active { color: var(--at-brand-hover); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--at-focus);
  outline-offset: 3px;
}
::selection { background: #c8e9e9; color: #12263f; }
h1, h2, h3, h4 { font-family: inherit; color: var(--at-ink); }
#content > h2, #content > .contextual + h2 {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.6px;
  line-height: 1.3;
  padding-block-end: 18px;
  margin-block-end: 24px;
  border-bottom: 1px solid var(--at-line);
}
h3 { font-size: 17px; font-weight: 650; }
h4 { font-size: 14px; font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--at-line); }
.description, .wiki { line-height: 1.7; }
.wiki img { max-width: 100%; height: auto; }
.wiki pre, .wiki code, .journal pre { font-size: 12px; }
pre, code, kbd, samp { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
pre {
  background: var(--at-surface-soft);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-sm);
  padding: 16px;
  overflow-x: auto;
}
.wiki blockquote { border-inline-start: 3px solid #a9d4d3; color: var(--at-muted); }

/* Navigation: retain native menus, nesting, icons and mobile controls. */
#top-menu {
  background: var(--at-navy-deep);
  color: #d7e4f1;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  font-size: 12px;
}
#top-menu a, #top-menu a:visited { color: #d7e4f1; }
#top-menu a:hover { color: #fff; }
#header {
  background: var(--at-navy);
  color: #fff;
  border-bottom: 1px solid #253f5d;
}
#header h1 { color: #fff; font-weight: 650; letter-spacing: -.5px; }
#header a, #header a:visited { color: #eef7ff; }
#header .breadcrumbs { color: #b8cce0; }
#header #quick-search { color: #d7e4f1; }
#header #quick-search input {
  background-color: #1b3551;
  color: #fff;
  border: 1px solid #526a84;
  border-radius: var(--at-radius-sm);
}
#header #quick-search input::placeholder { color: #c3d0df; }
#main-menu { background: transparent; }
#main-menu ul li a {
  border-radius: 7px 7px 0 0;
  font-weight: 600;
  padding: 9px 13px;
}
#main-menu ul li a:hover { background: #25415f; color: #fff; }
#main-menu ul li a.selected, #main-menu ul li a.selected:hover {
  background: var(--at-canvas);
  color: var(--at-ink);
}
#main-menu .menu-children, #main-menu ul ul {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-sm);
  box-shadow: 0 12px 28px rgb(12 27 46 / 16%);
}
#main-menu .menu-children a, #main-menu ul ul a { color: var(--at-ink); }
#main-menu .menu-children a:hover, #main-menu ul ul a:hover {
  background: var(--at-brand-soft);
  color: var(--at-brand-hover);
}
.drdn-content {
  background-color: var(--at-surface);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius-sm);
  box-shadow: 0 12px 28px rgb(12 27 46 / 14%);
}
.drdn-content a, #header .drdn-content a { color: var(--at-link); }
.drdn-content a:hover, #header .drdn-content a:hover {
  background-color: var(--at-brand-soft);
  color: var(--at-brand-hover);
}

/* Workspace and sidebar */
#main { background: var(--at-canvas); }
#content {
  background: var(--at-surface);
  border-color: var(--at-line);
  padding: 26px;
  min-width: 0;
}
#sidebar { color: var(--at-muted); padding: 22px 18px; }
#sidebar h3 {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #52647b;
  margin-block: 24px 12px;
}
#sidebar h3:first-child { margin-block-start: 0; }
#sidebar ul { line-height: 1.85; }
#sidebar a { text-decoration: none; }
#sidebar a.selected {
  background: var(--at-brand-soft);
  color: var(--at-brand-hover);
  border-radius: 5px;
  font-weight: 650;
}
#sidebar p { font-size: 12px; }
#footer {
  background: var(--at-canvas);
  color: var(--at-muted);
  border-top: 1px solid var(--at-line);
  padding: 20px;
  font-size: 11px;
}
.box, .news.box, #my-page .mypage-box {
  background-color: var(--at-surface-soft);
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 18px;
  box-shadow: none;
}
fieldset { border-color: var(--at-line); border-radius: var(--at-radius-sm); }
legend { color: var(--at-muted); font-weight: 650; padding-inline: 7px; }
.contextual { font-size: 12px; line-height: 2; }
.contextual a { font-weight: 600; }
.nodata, .warning {
  background: #fffae9;
  color: #79551b;
  border: 1px solid #ead79e;
  border-radius: var(--at-radius-sm);
  padding: 14px 18px;
}
p.other-formats { color: var(--at-muted); font-size: 11px; }

/* Forms: native checkboxes, radio buttons and file controls remain native. */
input[type="text"], input[type="password"], input[type="email"],
input[type="url"], input[type="number"], input[type="search"],
input[type="tel"], input[type="date"], input[type="datetime-local"],
select, textarea {
  color: var(--at-ink);
  background-color: var(--at-surface);
  border: 1px solid #aebdce;
  border-radius: var(--at-radius-sm);
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 100%;
  box-sizing: border-box;
}
input:focus, select:focus, textarea:focus { border-color: var(--at-brand); }
textarea { line-height: 1.65; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--at-brand); }
input:disabled, select:disabled, textarea:disabled {
  background-color: #eef2f6;
  color: #66758a;
  cursor: not-allowed;
}
input[readonly], textarea[readonly] { background-color: var(--at-surface-soft); }
.tabular label { font-weight: 600; color: #36475d; }
.tabular p { padding-block: 5px; }
.required { color: var(--at-danger); }
.info, .help, em.info { color: var(--at-muted); font-size: 12px; }
input[type="submit"], input[type="button"], input[type="reset"],
button:not(.ui-dialog-titlebar-close):not(.flyout-menu__toggle-button) {
  border: 1px solid #aebdce;
  border-radius: var(--at-radius-sm);
  background-color: var(--at-surface);
  color: var(--at-ink);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
input[type="submit"] {
  background: var(--at-brand);
  border-color: var(--at-brand);
  color: #fff;
  box-shadow: 0 2px 3px rgb(8 127 128 / 12%);
}
input[type="submit"]:hover { background: var(--at-brand-hover); border-color: var(--at-brand-hover); }
input[type="button"]:hover, input[type="reset"]:hover { background-color: #edf2f7; }
input[type="submit"]:disabled, button:disabled { opacity: .55; cursor: not-allowed; }
.field_with_errors input, .field_with_errors select,
.field_with_errors textarea { border-color: var(--at-danger); background-color: #fff8f9; }
#errorExplanation, .flash {
  border-radius: var(--at-radius-sm);
  padding: 14px 18px 14px 38px;
}
#errorExplanation, .flash.error { border: 1px solid #edb8c0; background-color: #fff0f2; color: #8f2032; }
.flash.notice { border: 1px solid #b6dbc9; background-color: #edf9f2; color: #185638; }
.flash.warning { border: 1px solid #ead79e; background-color: #fffae9; color: #79551b; }

/* Lists: retain semantic tables, column widths and horizontal scrolling. */
table.list {
  border: 1px solid var(--at-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--at-radius-sm);
  background: var(--at-surface);
  overflow: hidden;
  font-size: 13px;
}
table.list th {
  background: #eef3f8;
  color: #43566e;
  font-weight: 650;
  border-bottom: 1px solid var(--at-line);
  padding: 11px 9px;
}
table.list th a { color: inherit; }
table.list td { padding: 10px 9px; border-bottom: 1px solid #e9eef4; }
table.list tr:last-child td { border-bottom: 0; }
table.list tbody tr.odd { background-color: #fff; }
table.list tbody tr.even { background-color: #f9fbfd; }
table.list tbody tr:hover { background-color: #edf6f8; }
table.list tbody tr.context-menu-selection {
  background-color: #d9eeef;
  color: var(--at-ink);
}
table.list tbody tr.context-menu-selection a { color: #075b6b; }
table.list td.subject a { font-weight: 600; }
table.list tr.group td { background: #e9f0f6; font-weight: 700; color: #354b66; }
table.list tr.issue.closed td.subject a { color: #6b7788; }
table.list tr.issue.overdue td.due_date { color: var(--at-danger); font-weight: 700; }
table.list tr.issue.priority-highest td.priority { color: var(--at-danger); font-weight: 700; }
.autoscroll { scrollbar-color: #b5c5d6 transparent; scrollbar-width: thin; }
.pagination { margin-block: 18px; color: var(--at-muted); }
.pagination ul.pages li { border-color: var(--at-line); border-radius: 5px; }
.pagination ul.pages li.current { background: var(--at-brand); color: #fff; border-color: var(--at-brand); }

/* Tabs, query filters and administration */
.tabs { border-bottom-color: var(--at-line); }
.tabs ul li a {
  background: var(--at-surface-soft);
  border-color: var(--at-line);
  border-radius: 7px 7px 0 0;
  color: var(--at-muted);
  padding: 8px 14px;
  font-weight: 600;
}
.tabs ul li a:hover { background: var(--at-brand-soft); color: var(--at-brand-hover); }
.tabs ul li a.selected { background: #fff; border-bottom-color: #fff; color: var(--at-brand-hover); }
#query_form fieldset { background: var(--at-surface-soft); }
#query_form .buttons { margin-block: 12px; }
#admin-menu a { border-radius: 5px; }
#admin-menu a.selected { background-color: var(--at-brand-soft); color: var(--at-brand-hover); }

/* Issue details, journals, attachments and project overview */
div.issue {
  background: #f7fafc;
  border: 1px solid #d8e4ee;
  border-inline-start: 4px solid var(--at-brand);
  border-radius: var(--at-radius);
  padding: 22px;
  box-shadow: var(--at-shadow);
}
div.issue .subject h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.3px; }
div.issue .author { color: var(--at-muted); font-size: 12px; }
div.issue .attributes { margin-block: 18px; }
div.issue .attributes .label { color: #52647b; font-weight: 600; }
div.issue .description { border-top: 1px solid var(--at-line); padding-block-start: 15px; }
div.journal {
  border-bottom: 1px solid var(--at-line);
  margin-block: 16px;
  padding-block: 8px 18px;
}
div.journal h4 { color: var(--at-muted); font-size: 12px; }
div.journal .details { color: var(--at-muted); line-height: 1.8; }
div.journal .wiki { color: var(--at-ink); }
img.gravatar { border-radius: 50%; }
.attachments { font-size: 12px; }
.attachments p { padding-block: 5px; }
#projects-index ul.projects div.root {
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  padding: 18px;
  margin-block-end: 14px;
  background: var(--at-surface);
  box-shadow: var(--at-shadow);
}
#activity h3 { border-bottom: 1px solid var(--at-line); padding-block: 12px; }
#activity dt { padding-block: 5px; }
#activity dd { color: var(--at-muted); }
table.progress { border: 1px solid #b6ccc8; border-radius: 4px; overflow: hidden; }
table.progress td.closed { background: #087f80; }
table.progress td.done { background: #85c9be; }
table.progress td.todo { background: #e5eef1; }

/* Calendar, Gantt: preserve geometry and Redmine's positioning calculations. */
table.cal { border-color: var(--at-line); }
table.cal th { background: #eef3f8; color: #43566e; padding-block: 10px; }
table.cal td { border-color: var(--at-line); }
table.cal td.today { background: #e9f6f3; }
table.cal td.odd { background: #f6f8fb; }
.gantt_hdr { background-color: #eef3f8; border-color: var(--at-line); color: #43566e; }

/* Editors, context menus and dialogs */
.jstEditor textarea { border-radius: 0 0 7px 7px; }
.jstElements { background-color: #eef3f8; border-radius: 7px 7px 0 0; }
.ui-widget { font-family: var(--at-font); }
.ui-dialog {
  border: 1px solid var(--at-line);
  border-radius: var(--at-radius);
  box-shadow: 0 24px 70px rgb(12 27 46 / 25%);
}
.ui-dialog .ui-dialog-titlebar { background: #eef3f8; border: 0; color: var(--at-ink); }
.ui-widget-overlay { background: #12263f; opacity: .38; }
#context-menu ul { border-color: var(--at-line); border-radius: 7px; box-shadow: 0 10px 24px rgb(12 27 46 / 16%); }
#context-menu li:hover { background-color: var(--at-brand-soft); border-color: transparent; }

/* Authentication: only native login elements; no fabricated labels or markup. */
#login-form {
  background: var(--at-surface);
  border: 1px solid var(--at-line);
  border-top: 4px solid var(--at-brand);
  border-radius: var(--at-radius);
  box-shadow: 0 18px 50px rgb(18 38 63 / 10%);
  padding: 28px;
  max-width: min(440px, calc(100vw - 48px));
  box-sizing: border-box;
  margin: 48px auto;
}
#login-form label { font-weight: 600; color: #36475d; }
#login-form input[type="text"], #login-form input[type="password"] { padding: 11px 12px; }
#login-form input[type="submit"] { padding: 11px 18px; }

/* Keep the core mobile breakpoint and flyout mechanics in charge. */
@media screen and (min-width: 900px) {
  #content { margin: 18px; border: 1px solid var(--at-line); border-radius: var(--at-radius); box-shadow: var(--at-shadow); }
  #sidebar { padding-block-start: 28px; }
}
@media screen and (max-width: 899px) {
  #content { padding: 18px 14px; }
  #content > h2 { font-size: 22px; }
  div.issue { padding: 16px; }
  table.list { font-size: 12px; }
  table.list td, table.list th { padding: 9px 7px; }
}
@media screen and (max-width: 599px) {
  .box { padding: 12px; }
  #login-form { padding: 22px 16px; margin-block: 24px; }
  input[type="text"], input[type="password"], input[type="email"],
  input[type="search"], input[type="number"], select, textarea { font-size: 16px; }
  div.issue .subject h3 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  input[type="submit"], .box, div.issue { border: 1px solid CanvasText; }
  a:focus-visible, input:focus-visible, button:focus-visible { outline-color: Highlight; }
}
@media print {
  body, #main, #content, div.issue, .box { background: #fff !important; color: #000 !important; box-shadow: none !important; }
  #content { margin: 0; padding: 0; border: 0; border-radius: 0; }
  #top-menu, #header, #sidebar, #footer, .contextual, .other-formats { display: none !important; }
  #content { width: auto !important; }
  a, a:visited { color: #000 !important; }
  table.list { font-size: 10pt; border-radius: 0; }
  table.list th, table.list td { padding: 5px; }
  .autoscroll { overflow: visible; }
}

/* Atelier 1.1 — contrast, navigation, data tables and project directory.
   Screen scope keeps the existing print layout intact. */
@media screen {
  #top-menu { background: #10243b; color: #e4edf7; }
  #header { background: #18334f; color: #fff; }
  #top-menu > ul > li > a,
  #top-menu #account a, #top-menu #loggedas a,
  #header h1 a, #header .breadcrumbs a { color: #edf5ff; }
  #top-menu > ul > li > a:hover,
  #top-menu #account a:hover { color: #fff; background-color: #2b4968; border-radius: 5px; }
  #main-menu > ul > li > a,
  #header #main-menu > ul > li > a {
    background-color: transparent; color: #e5effa;
    border: 1px solid transparent; border-bottom: 0;
  }
  #main-menu > ul > li > a:hover,
  #header #main-menu > ul > li > a:hover { background-color: #2b4968; color: #fff; }
  #main-menu > ul > li > a.selected,
  #header #main-menu > ul > li > a.selected {
    background: #f3f6fa; color: #17384d;
    border-color: #dce4ed; box-shadow: inset 0 3px #087f80;
  }
  /* Pair foreground and background at every popup boundary. */
  #header .drdn-content, #top-menu .drdn-content,
  #header #main-menu .menu-children, #top-menu ul ul,
  #project-jump .drdn-content {
    background: #fff; color: #243b53; border: 1px solid #d5e0eb;
    border-radius: 10px; box-shadow: 0 16px 40px rgb(16 36 59 / 18%);
  }
  #header .drdn-content a, #header .drdn-content a:visited,
  #top-menu .drdn-content a, #top-menu ul ul a,
  #header #main-menu .menu-children a,
  #header #main-menu ul ul a,
  #project-jump .drdn-content a { color: #243b53; background-color: transparent; }
  #header .drdn-content a:hover, #top-menu .drdn-content a:hover,
  #top-menu ul ul a:hover, #header #main-menu .menu-children a:hover,
  #header #main-menu ul ul a:hover,
  #project-jump .drdn-content a:hover { color: #065e65; background-color: #e6f5f3; }
  #header .drdn-content a.selected, #top-menu .drdn-content a.selected,
  #project-jump .drdn-content a.selected { color: #065e65; background-color: #e6f5f3; font-weight: 700; }
  #header .drdn-content label, #header .drdn-content strong,
  #header .drdn-content .title { color: #243b53; }
  #header .drdn-content input { color: #243b53; background-color: #fff; border-color: #aebdce; }
  #header select, #header select option { background-color: #fff; color: #243b53; }
  #header .icon svg, #top-menu .icon svg, #main-menu .icon svg,
  .drdn-content .icon svg { color: inherit; }
  #header a:focus-visible, #top-menu a:focus-visible { outline-color: #70dcd0; }
  #header .drdn-content a:focus-visible { outline-color: #247abf; }
  .flyout-menu { background-color: #18334f; color: #e5effa; }
  .flyout-menu a, .flyout-menu a:visited { color: #e5effa; }
  .flyout-menu a:hover, .flyout-menu a.selected { background-color: #2b4968; color: #fff; }
  .flyout-menu h3 { color: #bed2e6; background-color: #10243b; }
  .flyout-menu input, .flyout-menu select { background: #fff; color: #243b53; }
  #content .tabs ul li a { background: #edf2f7; color: #40546c; border-color: #d5e0eb; }
  #content .tabs ul li a:hover { background: #e6f5f3; color: #065e65; }
  #content .tabs ul li a.selected { background: #fff; color: #065e65; box-shadow: inset 0 3px #087f80; border-bottom-color: #fff; }

  /* A restrained header, generous row rhythm and explicit state colors. */
  #content table.list {
    background: #fff; color: #243b53; border: 1px solid #d5e0eb;
    border-radius: 10px; box-shadow: 0 3px 12px rgb(18 38 63 / 4%);
    overflow: visible;
  }
  #content table.list th {
    background-color: #eaf0f7; color: #344b65;
    font-size: 12px; font-weight: 700; letter-spacing: .015em;
    padding: 13px 12px; border-bottom: 1px solid #cdd9e6;
  }
  #content table.list th a, #content table.list th a:visited { color: #344b65; }
  #content table.list th a:hover { color: #065e65; }
  #content table.list tr:first-child th:first-child { border-start-start-radius: 9px; }
  #content table.list tr:first-child th:last-child { border-start-end-radius: 9px; }
  #content table.list tbody tr { color: #243b53; background-color: #fff; }
  #content table.list tbody tr.even { background-color: #f7f9fc; }
  #content table.list tbody td {
    background-color: transparent; padding: 13px 12px;
    border-bottom: 1px solid #e4ebf3; line-height: 1.5;
  }
  #content table.list tbody td a { color: #086d85; }
  #content table.list tbody td a:hover { color: #064b5d; text-decoration: underline; }
  #content table.list tbody tr:hover { background-color: #edf6f8; }
  #content table.list td.id { font-variant-numeric: tabular-nums; font-size: 12px; }
  #content table.list td.subject { line-height: 1.6; }
  #content table.list td.subject a { font-weight: 650; }
  #content table.list td.buttons { white-space: nowrap; }
  #content table.list td.checkbox { padding-inline: 9px; }
  #content table.list tr.group td { background: #e7eef5; color: #344b65; border-block: 1px solid #d5e0eb; }
  #content table.list tr.total td { background: #edf2f7; color: #243b53; font-weight: 700; }
  /* Core context-menu CSS uses !important for selected rows. Match it narrowly. */
  #content table.list tbody tr.context-menu-selection,
  #content table.list tbody tr.context-menu-selection td {
    background-color: #d8efed !important; color: #153e42 !important;
  }
  #content table.list tbody tr.context-menu-selection a { color: #075b64 !important; }
  #content table.list tr.context-menu-selection td:first-child { box-shadow: inset 3px 0 #087f80; }
  #content table.list tr.issue.closed td.subject a { color: #586a80; }
  #content table.list tr.issue.overdue td.due_date,
  #content table.list tr.issue.priority-highest td.priority { color: #a11d35; font-weight: 700; }
  #content table.list tr.issue.overdue td.due_date { text-decoration: underline dotted; text-underline-offset: 3px; }
  #content .pagination ul.pages li a { color: #344b65; background-color: #fff; }
  #content .pagination ul.pages li.current,
  #content .pagination ul.pages li.current a { background-color: #087f80; color: #fff; }
  #content .pagination ul.pages li a:hover { background-color: #e6f5f3; color: #065e65; }

  /* Root projects form cards; nested project lists retain their hierarchy. */
  #projects-index { column-count: 1; -webkit-column-count: 1; }
  #projects-index > ul.projects, #projects-index ul.projects.root {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 20px; list-style: none; padding: 0; margin: 20px 0;
    column-count: 1;
  }
  #projects-index > ul.projects > li, #projects-index ul.projects.root > li {
    min-width: 0; box-sizing: border-box; list-style: none;
    background: #fff; color: #243b53;
    border: 1px solid #d5e0eb; border-top: 3px solid #087f80;
    border-radius: 12px; padding: 22px; margin: 0;
    box-shadow: 0 4px 16px rgb(18 38 63 / 5%);
    break-inside: avoid;
  }
  #projects-index > ul.projects > li:hover,
  #projects-index ul.projects.root > li:hover {
    border-color: #80b7b6; border-top-color: #087f80;
    box-shadow: 0 8px 24px rgb(18 38 63 / 9%);
  }
  #projects-index ul.projects div.root {
    border: 0; background: transparent; padding: 0; margin: 0; box-shadow: none;
  }
  #projects-index a.project { color: #173e56; font-size: 15px; font-weight: 650; overflow-wrap: anywhere; }
  #projects-index div.root > a.project { font-size: 19px; line-height: 1.4; letter-spacing: -.3px; }
  #projects-index a.project:hover { color: #065e65; text-decoration: underline; text-underline-offset: 3px; }
  #projects-index .wiki.description { color: #586a80; font-size: 13px; line-height: 1.75; margin-block: 12px; }
  #projects-index .wiki.description p { margin-block: 8px; }
  #projects-index .wiki.description a { color: #086d85; }
  #projects-index ul.projects ul.projects {
    display: block; border-inline-start: 2px solid #dce8ed;
    padding-inline-start: 17px; margin: 16px 0 0; list-style: none;
  }
  #projects-index ul.projects ul.projects li { padding-block: 8px; list-style: none; }
  #projects-index ul.projects ul.projects div.child { padding: 0; background: transparent; }
  #projects-index .icon svg { color: #087f80; }
  #projects-index .archived, #projects-index .closed { color: #586a80; }
}
@media screen and (max-width: 599px) {
  #content table.list th, #content table.list td { padding: 10px 8px; }
  #projects-index > ul.projects, #projects-index ul.projects.root { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  #projects-index > ul.projects > li, #projects-index ul.projects.root > li { padding: 18px; }
}
