:root {
  --navy:#204873;
  --navy-deep:#173653;
  --teal:#187d89;
  --ink:#1e3042;
  --muted:#677787;
  --line:#e0e7ec;
  --paper:#f5f7f9;
  --white:#fff;
  --radius:16px;
  --shadow:0 6px 24px #14355006;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-size:15px;
  line-height:1.55
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
a {
  color:var(--navy);
  text-decoration:none
}
a:hover {
  text-decoration:underline
}
button,input,textarea,select {
  font:inherit
}
button,a,input,select,textarea {
  touch-action:manipulation
}
button {
  cursor:pointer
}
button:disabled {
  opacity:.5;
  cursor:not-allowed
}
img {
  max-width:100%
}
h1,h2,h3,p,figure {
  margin:0
}
h1 {
  font-size:32px;
  line-height:1.2;
  letter-spacing:-1px;
  font-weight:700
}
h2 {
  font-size:20px;
  letter-spacing:-.4px;
  line-height:1.3
}
h3 {
  font-size:17px;
  line-height:1.45
}
p+p {
  margin-top:12px
}
h2+p {
  margin-top:8px
}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {
  outline:3px solid #45aabb;
  outline-offset:3px
}
.skip {
  position:absolute;
  top:-60px;
  left:16px;
  background:white;
  z-index:10;
  padding:10px
}
.skip:focus {
  top:10px
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.topbar {
  background:white;
  border-bottom:1px solid var(--line)
}
.topbar-inner {
  max-width:1320px;
  margin:auto;
  min-height:94px;
  padding:18px 36px;
  display:flex;
  align-items:center;
  gap:38px
}
.brand {
  display:flex;
  gap:14px;
  align-items:center;
  font-size:21px;
  line-height:1.2;
  letter-spacing:-.4px;
  font-weight:750;
  flex-shrink:0
}
.brand:hover {
  text-decoration:none
}
.brand-mark {
  display:flex;
  align-items:center;
  justify-content:center;
  width:54px;
  height:54px;
  border-radius:14px;
  background:var(--navy);
  color:white;
  font-size:21px;
  letter-spacing:-1px
}
.brand-mark>span {
  font-size:17px;
  color:#8ed7dd;
  align-self:flex-start;
  margin-top:7px;
  margin-left:1px
}
.brand-sub {
  display:block;
  font-size:9px;
  letter-spacing:1.2px;
  font-weight:650;
  color:var(--muted);
  margin-top:5px
}
.topbar nav {
  display:flex;
  align-items:center;
  gap:26px;
  flex:1
}
.topbar nav a {
  font-size:13px;
  font-weight:600;
  color:var(--muted);
  padding:8px 0;
  white-space:nowrap
}
.topbar nav a[aria-current] {
  color:var(--teal);
  border-bottom:2px solid var(--teal)
}
.user-menu {
  display:flex;
  align-items:center;
  gap:18px
}
.user-menu>a {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:13px;
  font-weight:600
}
.avatar {
  height:32px;
  width:32px;
  border-radius:50%;
  background:#e6f0f2;
  color:var(--teal);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  flex-shrink:0
}
.user-menu .text-button {
  font-size:12px
}
.shell {
  max-width:1320px;
  padding:48px 36px 72px;
  margin:auto;
  min-height:calc(100vh - 174px)
}
.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-bottom:32px
}
.page-heading .muted {
  margin-top:13px
}
.page-heading>.button {
  flex-shrink:0
}
.muted {
  color:var(--muted)
}
.small {
  font-size:12px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  background:var(--teal);
  color:white;
  border:1px solid transparent;
  border-radius:9px;
  font-size:13px;
  font-weight:650;
  padding:12px 18px;
  line-height:1.35;
  min-height:43px;
  white-space:nowrap;
  transition:background .15s
}
.button:hover {
  background:#106571;
  text-decoration:none
}
.button.secondary {
  background:white;
  color:var(--navy);
  border-color:#ccd9e1
}
.button.secondary:hover {
  background:#eff5f8
}
.button.ghost {
  background:transparent;
  color:var(--muted)
}
.button.full {
  width:100%
}
.text-button {
  border:0;
  background:none;
  padding:3px 0;
  font-size:12px;
  color:var(--muted);
  text-decoration:underline;
  text-underline-offset:3px
}
.text-button:hover {
  color:var(--navy)
}
.danger {
  color:#a54848
}
.subtle-link {
  font-size:12px;
  font-weight:600;
  color:var(--teal)
}
.card {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow)
}
.stats {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  margin-bottom:32px
}
.stat {
  padding:20px 24px;
  border:1px solid #dce4eb;
  border-radius:13px;
  background:white;
  box-shadow:0 2px 4px #16344d06, 0 8px 20px #16344d0a;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  transition:border-color .15s, box-shadow .15s
}
.stat:hover,.stat.selected {
  border-color:#82afb7;
  box-shadow:0 3px 8px #16344d0a, 0 10px 24px #16344d10;
  text-decoration:none
}
.stat-label {
  font-size:13px;
  color:#52667a;
  font-weight:600;
  display:flex;
  align-items:center;
  gap:9px
}
.stat strong {
  font-size:36px;
  line-height:1.3;
  margin-top:12px;
  font-weight:700;
  color:var(--navy)
}
.status-dot {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#9bacb9;
  display:inline-block
}
.status-dot.status-working {
  background:#3e78bd
}
.status-dot.status-review {
  background:#db9c38
}
.status-dot.status-done {
  background:#2b9b83
}
.collection {
  min-width:0
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px
}
.collection>.section-heading {
  padding:0 0 16px
}
.count {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#edf2f5;
  color:#687d8f;
  min-width:25px;
  height:25px;
  border-radius:7px;
  font-size:12px;
  margin-left:7px;
  vertical-align:middle
}
.filters {
  display:flex;
  gap:10px;
  align-items:center;
  padding:14px 16px;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:12px;
  background:white;
  flex-wrap:wrap
}
.filters label {
  margin:0
}
.filters .search-field {
  flex:1;
  min-width:230px
}
.filters select,.filters input {
  height:41px;
  font-size:12px;
  margin-top:0
}
.filters select {
  padding-right:26px
}
.filters .button {
  min-height:41px;
  padding:10px 14px
}
.list-row {
  display:block;
  padding:20px 24px;
  border:1px solid #dce4eb;
  border-radius:12px;
  background:white;
  box-shadow:0 2px 6px #16344d05;
  transition:border-color .15s, box-shadow .15s
}
.item-main {
  min-width:0
}
.item-topline {
  display:flex;
  gap:9px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:7px
}
.item-number {
  font-size:10px;
  color:#8695a4;
  font-weight:650;
  letter-spacing:.6px
}
.list-row h3 a {
  color:var(--ink)
}
.item-excerpt {
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
  overflow-wrap:anywhere
}
.item-meta {
  display:flex;
  gap:8px 16px;
  flex-wrap:wrap;
  color:#718191;
  font-size:11px;
  margin-top:14px
}
.badge {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:6px;
  padding:4px 8px;
  background:#eef2f5;
  color:#5c7182;
  font-size:10px;
  line-height:1.4;
  font-weight:650;
  white-space:nowrap
}
.type-bug {
  background:#fff0ed;
  color:#af6047
}
.type-change {
  background:#edf2fb;
  color:#4b6a9e
}
.type-idea {
  background:#f2eef9;
  color:#7a619c
}
.type-task {
  background:#edf4ef;
  color:#5a7b65
}
.priority-high {
  background:#fff0ed;
  color:#a64a37
}
.priority-medium {
  background:#fff5df;
  color:#966a20
}
.priority-low {
  background:#edf2f6;
  color:#60788b
}
.priority-none {
  background:#f3f5f7;
  color:#82909c
}
.status-open {
  background:#eef2f5;
  color:#637788
}
.status-working {
  background:#ebf2fe;
  color:#3f70ab
}
.status-review {
  background:#fff4dd;
  color:#9b742e
}
.status-done {
  background:#e8f5ef;
  color:#337c64
}
.empty-state {
  text-align:center;
  padding:46px 24px
}
.empty-state h3 {
  font-size:18px;
  font-weight:600;
  margin-bottom:20px
}
label {
  display:block;
  font-size:12px;
  font-weight:650;
  margin-bottom:18px
}
input,textarea,select {
  width:100%;
  padding:11px 12px;
  border:1px solid #cfdbe3;
  border-radius:8px;
  background:white;
  color:var(--ink);
  margin-top:7px;
  min-width:0
}
input::placeholder,textarea::placeholder {
  color:#8c99a5;
  font-size:12px
}
textarea {
  resize:vertical;
  line-height:1.65
}
input[type=file] {
  font-size:12px
}
input[readonly],textarea[readonly] {
  background:#f8fafb
}
input[type=checkbox] {
  width:auto
}
select {
  cursor:pointer
}
summary {
  cursor:pointer;
  font-size:12px;
  color:var(--teal)
}
.optional {
  font-weight:400;
  color:var(--muted);
  margin-left:7px
}
.editor {
  max-width:850px;
  padding:32px
}
.editor>h2 {
  margin-bottom:24px
}
.form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}
.form-actions {
  display:flex;
  gap:12px;
  align-items:center;
  margin-top:24px;
  flex-wrap:wrap
}
.field-note {
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:8px;
  font-size:12px;
  margin-bottom:18px
}
.field-note>span:first-child {
  font-weight:650
}
.field-note small {
  color:var(--muted)
}
.back-link {
  display:inline-block;
  font-size:12px;
  color:var(--muted);
  margin-bottom:24px
}
.detail-heading h1 {
  font-size:clamp(26px,3vw,36px);
  max-width:900px;
  overflow-wrap:anywhere
}
.detail-grid {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start
}
.detail-main,.detail-sidebar {
  display:grid;
  gap:24px;
  min-width:0
}
.content-card {
  padding:26px
}
.content-card h2 {
  margin-bottom:20px;
  font-size:18px
}
.prose {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:14px;
  line-height:1.8
}
.page-reference {
  display:block;
  border:1px solid var(--line);
  padding:13px 15px;
  margin-top:26px;
  border-radius:6px;
  overflow-wrap:anywhere;
  font-size:12px
}
.page-reference>span {
  display:block;
  font-size:10px;
  color:var(--muted);
  margin-bottom:4px
}
.page-reference strong {
  font-weight:550
}
.screenshots {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}
.screenshots figure {
  border:1px solid var(--line);
  border-radius:8px;
  overflow:hidden
}
.screenshots figure>a {
  display:block;
  height:150px;
  background:var(--paper)
}
.screenshots img {
  width:100%;
  height:100%;
  object-fit:contain
}
.screenshots figcaption {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  padding:9px;
  font-size:10px
}
.screenshots figcaption>span {
  overflow-wrap:anywhere;
  min-width:0
}
.screenshots .text-button {
  font-size:10px
}
.upload-box {
  padding:20px;
  margin-top:22px;
  border:1px dashed #b7ced6;
  border-radius:9px;
  background:#fafdfd;
  transition:background .15s
}
.upload-box:focus-within,.upload-box.paste-active {
  background:#eaf6f7;
  border-color:var(--teal)
}
.upload-box label {
  margin:0
}
.upload-box label span {
  display:block;
  font-size:11px;
  font-weight:400;
  color:var(--muted);
  margin-top:3px
}
.upload-box input {
  margin:12px 0;
  background:white
}
.upload-box .button {
  margin-top:14px
}
.comment {
  padding:23px 0;
  border-bottom:1px solid var(--line)
}
.comment:first-child {
  padding-top:0
}
.comment-heading {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:13px;
  font-size:12px
}
.comment-heading time {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:2px
}
.comment .prose {
  font-size:13px
}
.comment-edit {
  margin-top:12px
}
.comment-edit form {
  padding-top:12px
}
.comment-form {
  margin-top:24px
}
.status-current {
  margin-bottom:22px
}
.status-current .badge {
  font-size:12px;
  padding:6px 10px
}
.metadata {
  margin:0 0 24px
}
.metadata>div {
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:11px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center
}
.metadata dt {
  color:var(--muted)
}
.metadata dd {
  margin:0;
  font-size:10px
}
.status-actions {
  display:grid;
  gap:12px;
  margin-bottom:16px
}
.status-actions details>form {
  padding-top:14px
}
.archive-form {
  margin-top:20px;
  padding-top:15px;
  border-top:1px solid var(--line)
}
.timeline {
  list-style:none;
  padding:0 0 0 12px;
  margin:0
}
.timeline>li {
  border-left:1px solid #dce6eb;
  padding:0 0 24px 18px;
  position:relative;
  font-size:11px;
  overflow-wrap:anywhere
}
.timeline>li:before {
  content:"";
  position:absolute;
  width:7px;
  height:7px;
  border:3px solid white;
  background:#82aab2;
  border-radius:50%;
  top:1px;
  left:-7px;
  box-sizing:content-box
}
.timeline>li:last-child {
  padding-bottom:0
}
.timeline strong,.timeline>li>span,.timeline time {
  display:block
}
.timeline>li>span {
  color:var(--muted);
  margin-top:2px
}
.timeline time {
  color:#8e9ca7;
  font-size:9px;
  margin-top:6px
}
.timeline .event-status {
  color:var(--teal);
  font-size:10px
}
.timeline details {
  margin-top:8px
}
.timeline summary {
  font-size:10px
}
.change {
  font-size:10px;
  padding-top:9px
}
.change del,.change ins {
  display:block;
  white-space:pre-wrap;
  text-decoration:none;
  padding:6px;
  margin-top:5px;
  max-height:200px;
  overflow:auto
}
.change del {
  background:#fff2f0;
  color:#9e5c52
}
.change ins {
  background:#edf8f0;
  color:#437451
}
.notice {
  padding:16px 20px;
  border-radius:10px;
  margin-bottom:26px;
  font-size:13px;
  border:1px solid #b7d9c6;
  background:#f1faf5
}
.notice.invite-result {
  background:#eef8fa;
  border-color:#b6d8e0
}
.invite-result p {
  margin:8px 0 16px;
  font-size:12px
}
.invite-result label {
  margin-bottom:12px
}
.invite-result input {
  font-family:monospace;
  font-size:12px
}
.team-grid {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,1fr);
  gap:24px;
  align-items:start
}
.member-row {
  padding:20px 0;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:12px
}
.member-row:last-child {
  border-bottom:0
}
.member-info {
  flex:1;
  min-width:0
}
.member-info strong {
  font-size:13px;
  display:block
}
.member-info>span {
  display:block;
  margin-top:4px;
  overflow-wrap:anywhere
}
.member-actions {
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-end
}
.auth-shell {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:center;
  justify-items:center;
  min-height:calc(100vh - 174px);
  padding-top:48px;
  padding-bottom:64px
}
.auth-card {
  padding:34px;
  width:100%;
  max-width:420px
}
.auth-card h1 {
  font-size:24px
}
.auth-card form {
  margin-top:28px
}
.auth-card>p.small {
  margin-top:24px;
  line-height:1.8
}
.auth-card .button {
  margin-top:10px
}
.invite-card {
  grid-column:1/-1;
  width:100%;
  max-width:500px;
  margin:auto
}
.invite-card h1 {
  font-size:30px
}
.invite-card>p {
  margin-top:15px
}
.invite-card .subtle-link {
  display:inline-block;
  margin-top:24px
}
.error-card {
  grid-column:1/-1;
  max-width:850px;
  width:100%;
  margin:auto
}
.error-card h1 {
  font-size:30px;
  margin-bottom:20px
}
.error-card>h2 {
  margin-top:26px
}
.error-card>label {
  margin-top:18px
}
.footer {
  max-width:1320px;
  margin:auto;
  padding:22px 36px 28px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#86939e;
  font-size:10px;
  border-top:1px solid var(--line)
}

.button.primary {
  background:var(--navy);
  min-height:48px;
  padding:14px 24px;
  font-size:14px;
  box-shadow:0 4px 10px #20487324;
}
.button.primary:hover {
  background:var(--navy-deep);
  box-shadow:0 5px 14px #20487335;
}
.button.primary>span { font-size:20px; line-height:1; }
.item-list { display:grid; gap:14px; }
.list-row:hover { border-color:#bdcdd9; box-shadow:0 4px 14px #16344d0c; }
.badge[class*="status-"]::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background:currentColor; margin-right:7px; }
.item-status .status-open { background:#e9eef3; color:#50667a; }
.item-status .status-working { background:#e7f0fe; color:#315f9b; }
.item-status .status-review { background:#fff0d3; color:#856019; }
.item-status .status-done { background:#e2f2e9; color:#28674d; }
.status-dot.status-open { background:#8797a5; }
.item-meta .relative-time { white-space:nowrap; }
@media(min-width:1600px) {
  .shell {
    padding-top:60px
  }
}
@media(max-width:1100px) {
  .topbar-inner {
    gap:25px;
    padding:18px 24px
  }
  .topbar nav {
    gap:18px
  }
  .user-name {
    display:none
  }
  .shell {
    padding-left:24px;
    padding-right:24px
  }
  .auth-shell {
    gap:50px;
    grid-template-columns:minmax(0,1fr)
  }
  .detail-grid {
    grid-template-columns:minmax(0,1fr) 270px
  }
  .detail-sidebar .content-card {
    padding:22px
  }
  .stat {
    padding:18px
  }
}
@media(max-width:800px) {
  .topbar-inner {
    flex-wrap:wrap;
    min-height:80px;
    gap:15px
  }
  .brand-mark {
    width:43px;
    height:43px;
    border-radius:11px
  }
  .brand {
    font-size:19px
  }
  .brand-sub {
    font-size:8px
  }
  .topbar nav {
    order:3;
    flex-basis:100%;
    border-top:1px solid var(--line);
    padding-top:10px;
    gap:24px
  }
  .user-menu {
    margin-left:auto
  }
  .shell {
    padding-top:32px
  }
  .page-heading {
    align-items:flex-start
  }
  .page-heading>.button {
    font-size:12px
  }
  .stats {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
  }
  .stat {
    padding:16px 20px
  }
  .stat strong {
    font-size:29px
  }
  .detail-grid {
    grid-template-columns:minmax(0,1fr)
  }
  .detail-sidebar {
    grid-row:1;
    grid-template-columns:1fr
  }
  .detail-sidebar .card:last-child {
    display:none
  }
  .detail-sidebar .metadata {
    margin-bottom:15px
  }
  .detail-sidebar .metadata>div {
    display:inline-flex;
    margin-right:24px;
    gap:12px;
    border:0;
    padding:5px 0
  }
  .detail-sidebar .status-current {
    margin-bottom:9px
  }
  .detail-sidebar .status-actions {
    grid-template-columns:1fr 1fr
  }
  .detail-sidebar .status-actions details {
    grid-column:1/-1
  }
  .detail-sidebar .content-card {
    padding:22px
  }
  .team-grid {
    grid-template-columns:1fr
  }
  .auth-shell {
    grid-template-columns:1fr;
    gap:35px;
    max-width:540px;
    padding-top:40px
  }
  .auth-card {
    padding:28px
  }
  .footer {
    padding-left:24px;
    padding-right:24px
  }
  .editor {
    padding:26px
  }
}
@media(max-width:560px) {
  .topbar-inner {
    padding:15px 18px
  }
  .topbar nav {
    gap:22px
  }
  .topbar nav a {
    font-size:11px
  }
  .user-menu {
    gap:11px
  }
  .user-menu .text-button {
    font-size:10px
  }
  .shell {
    padding:27px 16px 46px
  }
  .page-heading {
    flex-direction:column;
    gap:20px;
    margin-bottom:25px
  }
  .page-heading .muted {
    font-size:13px
  }
  h1 {
    font-size:31px;
    letter-spacing:-1px
  }
  .stats {
    margin-bottom:24px;
    gap:10px
  }
  .stat {
    padding:15px
  }
  .stat strong {
    font-size:28px
  }
  .stat-label {
    font-size:11px
  }
  .collection>.section-heading {
    padding:0 0 16px;
    align-items:flex-start
  }
  .section-heading h2 {
    font-size:18px
  }
  .section-heading .subtle-link {
    font-size:10px;
    white-space:nowrap
  }
  .filters {
    padding:14px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .filters .search-field {
    grid-column:1/-1;
    min-width:0
  }
  .filters label {
    min-width:0
  }
  .filters input,.filters select {
    font-size:11px
  }
  .filters .text-button {
    justify-self:start
  }
  .list-row {
    padding:20px 18px
  }
  .item-main {
    grid-column:1/-1
  }
  .list-row h3 {
    font-size:16px
  }
  .empty-state {
    padding:38px 20px 45px
  }
  .empty-state h3 {
    font-size:19px
  }
  .form-grid {
    grid-template-columns:1fr;
    gap:0
  }
  .editor,.content-card {
    padding:22px 18px
  }
  .screenshots {
    grid-template-columns:1fr
  }
  .upload-box {
    padding:15px
  }
  .detail-heading {
    gap:15px
  }
  .detail-heading .button {
    align-self:flex-start
  }
  .detail-heading h1 {
    font-size:28px
  }
  .detail-grid,.detail-main,.detail-sidebar {
    gap:18px
  }
  .detail-sidebar .status-actions {
    grid-template-columns:1fr
  }
  .detail-sidebar .metadata>div {
    display:flex;
    margin-right:0
  }
  .detail-sidebar .status-actions details {
    grid-column:auto
  }
  .detail-sidebar .card:last-child {
    display:block
  }
  .detail-sidebar {
    display:contents
  }
  .detail-sidebar>.card:first-child {
    grid-row:1
  }
  .detail-sidebar>.card:last-child {
    grid-row:3
  }
  .detail-main {
    grid-row:2
  }
  .footer {
    flex-direction:column;
    gap:5px;
    font-size:9px;
    padding:18px 16px
  }
  .auth-shell {
    gap:28px;
    padding:32px 20px 45px
  }
  .auth-card {
    padding:25px
  }
  .member-row {
    flex-wrap:wrap
  }
  .member-actions {
    margin-left:44px;
    align-items:flex-start;
    flex-direction:row;
    gap:20px
  }
  .badge {
    font-size:10px
  }
  .invite-result input {
    font-size:10px
  }
}
@media(min-width:561px) and (max-width:800px) {
  .detail-sidebar {
    display:contents
  }
  .detail-sidebar>.card:first-child {
    grid-row:1
  }
  .detail-sidebar .card:last-child {
    display:block;
    grid-row:3
  }
  .detail-main {
    grid-row:2
  }
}



@media(max-width:560px) {
  .collection-heading { flex-direction:row; align-items:center; gap:12px; }
  .collection-heading h1 { font-size:28px; }
  .collection-heading>.button.primary { padding:13px 16px; font-size:13px; }
  .item-meta { gap:7px 14px; }
  .item-meta .relative-time { flex-basis:100%; }
}

.item-card-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:10px;
}
.item-card-heading .item-topline { margin-bottom:0; }
.item-status { flex-shrink:0; }
.item-status .badge {
  font-size:12px;
  font-weight:650;
  padding:7px 11px;
  border-radius:7px;
}
.item-priority {
  padding:2px 0 2px 14px;
  margin-top:16px;
  width:max-content;
  max-width:100%;
  justify-self:end;
  border-left:1px solid #e5ebf0;
  color:#657687;
  text-align:right;
}
.item-type {
  color:#365773;
  font-size:14px;
  font-weight:650;
}
.item-content {
  display:grid;
  grid-template-columns:minmax(0,1fr) 125px;
  gap:24px;
  align-items:start;
}
.priority-label {
  display:block;
  color:#718191;
  font-size:11px;
  margin-bottom:4px;
}
.priority-value {
  display:block;
  font-size:18px;
  line-height:1.4;
  font-weight:700;
  white-space:nowrap;
}
.item-priority[data-priority="high"] { color:#a04b3d; }
.item-priority[data-priority="medium"] { color:#916a24; }
.item-priority[data-priority="low"] { color:#58748c; }
.item-priority[data-priority="none"] .priority-value { color:#81909d; font-weight:500; }
@media(max-width:560px) {
  .item-card-heading { gap:10px; align-items:flex-start; }
  .item-status .badge { font-size:11px; padding:6px 9px; }
  .item-type { font-size:12px; }
  .item-content { grid-template-columns:1fr; gap:14px; }
  .item-priority { display:flex; align-items:baseline; justify-content:flex-end; gap:10px; border-left:0; padding:0; margin-top:0; }
  .priority-label { margin-bottom:0; }
  .priority-value { font-size:14px; }
}
