@charset "UTF-8";
:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--canvas);
  color-scheme:dark;
  font-synthesis:none;
  font-size:14px;
  --canvas:#080b10;
  --panel:#0c0f14;
  --surface:#15191f;
  --raised:#20262e;
  --ink:#f1f4f7;
  --muted:#a4adb9;
  --line:#29313c;
  --line-strong:#4a5869;
  --neon:#8ddcff;
  --neon-edge:#416478;
  --neon-soft:#12232e;
}

* {
  box-sizing:border-box;
}

body {
  margin:0;
  display:flex;
  min-height:100vh;
}

button,input,textarea,select {
  font:inherit;
  color:inherit;
}

button,a,input,textarea,select {
  -webkit-tap-highlight-color:transparent;
}

button {
  cursor:pointer;
}

button:disabled {
  cursor:default;
  opacity:.55;
}

button {
  border:0;
  background:none;
}

a {
  color:inherit;
  text-decoration:none;
}

button:focus-visible,a:focus-visible,summary:focus-visible {
  outline:3px solid var(--neon);
  outline-offset:3px;
}

input:focus,select:focus,textarea:focus {
  outline:2px solid var(--neon);
  outline-offset:1px;
}

input,textarea {
  min-width:0;
}

textarea {
  resize:vertical;
  width:100%;
  line-height:1.6;
}

input,textarea,select {
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--surface);
  padding:10px 12px;
}

input::placeholder,textarea::placeholder {
  color:var(--muted);
}

select {
  max-width:100%;
}

[hidden] {
  display:none!important;
}

.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;
}

.sidebar {
  width:210px;
  flex:none;
  background:var(--panel);
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  padding:30px 18px 0;
  min-height:100vh;
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  font-weight:720;
  letter-spacing:-1px;
  margin:0 7px 37px;
}

.brand-mark {
  display:flex;
  align-items:baseline;
  justify-content:center;
  width:39px;
  height:40px;
  background:var(--ink);
  color:var(--canvas);
  border-radius:12px;
  font-size:29px;
  line-height:38px;
  letter-spacing:-4px;
  padding-right:4px;
  box-shadow:0 0 20px #8ddcff12;
}

.brand-mark span {
  color:#326b87;
}

.brand-sub {
  display:block;
  font-size:11px;
  font-weight:500;
  letter-spacing:4px;
  line-height:1.1;
  margin-top:3px;
}

.workspace {
  border:1px solid var(--line);
  padding:12px 9px;
  border-radius:10px;
  display:flex;
  gap:9px;
  align-items:center;
  font-size:12px;
  font-weight:600;
}

.workspace-icon {
  display:grid;
  place-items:center;
  background:var(--raised);
  width:29px;
  height:30px;
  border-radius:7px;
  color:var(--muted);
}

.workspace small {
  display:block;
  font-size:9px;
  font-weight:400;
  margin-top:4px;
  color:var(--muted);
}

.nav-caption {
  font-size:9px;
  letter-spacing:1.4px;
  color:var(--muted);
  margin:30px 10px 13px;
}

.nav-current {
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 12px;
  background:var(--neon-soft);
  color:var(--neon);
  border-radius:8px;
  font-weight:600;
  font-size:13px;
  box-shadow:inset 2px 0 var(--neon);
}

.board-icon {
  font-size:21px;
}

.live-dot {
  margin-left:auto;
  width:6px;
  height:6px;
  background:var(--neon);
  border-radius:100%;
  box-shadow:0 0 9px #8ddcff80;
}

.sidebar-bottom {
  margin-top:auto;
  padding-top:60px;
}

.eve-link {
  display:flex;
  align-items:center;
  text-align:left;
  gap:8px;
  padding:10px 0;
  width:100%;
  font-size:12px;
}

.eve-link img {
  border-radius:11px;
  object-fit:contain;
}

.eve-link span:last-child {
  margin-left:auto;
  color:var(--muted);
}

.eve-link small {
  display:block;
  font-size:9px;
  color:var(--muted);
  margin-top:4px;
}

.quiet-button {
  display:block;
  font-size:11px;
  color:var(--muted);
  padding:20px 0;
}

.profile {
  display:flex;
  align-items:center;
  gap:9px;
  border-top:1px solid var(--line);
  padding:20px 0;
  font-size:11px;
}

.profile small {
  display:block;
  color:var(--muted);
  font-size:9px;
  margin-top:5px;
}

.profile-version {
  margin-left:auto;
  color:var(--muted);
  font-size:9px;
}

.avatar {
  height:26px;
  width:26px;
  border:2px solid var(--line);
  border-radius:100%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:10px;
  font-weight:600;
  flex-shrink:0;
}

.yuri {
  background:#303741;
  color:var(--ink);
}

.masha {
  background:var(--neon-soft);
  color:var(--neon);
}

.team {
  background:#262d36;
  color:var(--ink);
}

.main {
  flex:1;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:0 30px;
}

.topbar {
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border-bottom:1px solid var(--line);
  font-size:11px;
  color:var(--muted);
}

.topbar span:not(.prototype-badge) {
  margin:0 10px;
  color:var(--muted);
}

.topbar strong {
  color:var(--ink);
  font-weight:500;
}

.prototype-badge {
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid var(--neon-edge);
  border-radius:6px;
  color:var(--neon);
  font-size:10px;
  padding:6px 9px;
  white-space:nowrap;
  background:var(--neon-soft);
}

.prototype-badge i,.demo-dot {
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:100%;
  background:var(--neon);
}

.board-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:32px 0 24px;
}

.eyebrow {
  font-size:9px;
  font-weight:650;
  letter-spacing:1.8px;
  color:var(--neon);
  margin-bottom:9px;
}

h1 {
  font-size:37px;
  line-height:1.1;
  letter-spacing:-1.7px;
  margin:0;
  font-weight:670;
}

.title-dot {
  color:var(--neon);
}

p {
  line-height:1.6;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid var(--line);
  background:var(--surface);
  min-height:36px;
  padding:9px 13px;
  border-radius:7px;
  font-size:11px;
  font-weight:500;
  transition:background .15s,box-shadow .15s;
}

.button:hover {
  background:var(--raised);
}

.primary {
  background:var(--ink);
  color:var(--canvas);
  border-color:var(--ink);
  box-shadow:0 0 18px #8ddcff18;
}

.primary:hover {
  background:var(--neon);
  border-color:var(--neon);
  box-shadow:0 0 22px #8ddcff38;
}

.primary span {
  font-size:17px;
  font-weight:400;
}

.board-tabs {
  display:flex;
  align-items:center;
  gap:12px;
  border-bottom:1px solid var(--line);
  height:47px;
}

.active-tab {
  display:flex;
  align-items:center;
  gap:7px;
  height:100%;
  border-bottom:2px solid var(--neon-edge);
  font-weight:600;
  font-size:12px;
}

.active-tab>span {
  font-size:17px;
}

.task-count {
  font-size:10px;
  padding:3px 7px;
  border-radius:5px;
  background:var(--raised);
  color:var(--muted);
}

.team-legend {
  margin-left:auto;
  display:flex;
  align-items:center;
  font-size:10px;
  color:var(--muted);
}

.team-legend .avatar+.avatar {
  margin-left:-7px;
}

.team-legend>span:last-child {
  margin-left:8px;
}

.toolbar {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  padding:22px 0 16px;
}

.search {
  display:flex;
  align-items:center;
  gap:8px;
  min-width:150px;
  width:240px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:7px;
  padding:0 10px;
}

.search>span {
  font-size:25px;
  line-height:1;
  color:var(--muted);
}

.search input {
  width:100%;
  border:0;
  padding:10px 0;
  font-size:11px;
  background:transparent;
}

.search input:focus {
  outline:none;
}

.search:focus-within {
  outline:2px solid var(--neon);
}

.search kbd {
  font-size:10px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:3px;
  padding:1px 4px;
}

.filter select {
  font-size:11px;
  min-height:36px;
  padding:8px 25px 8px 11px;
  border-radius:7px;
}

.filter-button[aria-pressed="true"] {
  background:var(--neon-soft);
  color:var(--neon);
  border-color:var(--neon-edge);
}

.export-button {
  margin-left:auto;
}

.board-meta {
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:10px;
  color:var(--muted);
  min-height:31px;
  margin-bottom:9px;
}

.storage-status {
  margin-left:auto;
  font-size:9px;
  color:var(--muted);
}

.text-button {
  font-size:10px;
  color:var(--neon);
  text-decoration:underline;
  padding:0;
}

.storage-warning {
  border:1px solid var(--line-strong);
  background:var(--raised);
  padding:12px;
  border-radius:8px;
  margin-bottom:10px;
  line-height:1.5;
  color:var(--ink);
}

.board {
  display:grid;
  grid-template-columns:repeat(6,minmax(184px,1fr));
  align-items:stretch;
  gap:12px;
  overflow-x:auto;
  min-height:430px;
  flex:1;
  padding-bottom:18px;
  scrollbar-width:thin;
  scrollbar-color:var(--line-strong) transparent;
}

.column {
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:10px;
  min-width:0;
  padding:0 9px 9px;
  display:flex;
  flex-direction:column;
  transition:background .15s;
}

.column.drag-over {
  background:var(--neon-soft);
  outline:2px dashed var(--neon);
  outline-offset:-2px;
}

.column-header {
  display:flex;
  align-items:center;
  gap:6px;
  padding:16px 3px 13px;
  font-size:11px;
  font-weight:600;
  white-space:nowrap;
}

.column-dot {
  width:7px;
  height:7px;
  border-radius:100%;
  flex:none;
  background:#708090;
}

.column[data-column="ready"] .column-dot {
  background:#b1bbc6;
}

.column[data-column="doing"] .column-dot {
  background:var(--neon);
  box-shadow:0 0 9px #8ddcff80;
}

.column[data-column="review"] .column-dot {
  background:#b1bbc6;
}

.column[data-column="deploy"] .column-dot {
  background:#b1bbc6;
}

.column[data-column="done"] .column-dot {
  background:var(--ink);
}

.column-count {
  color:var(--muted);
  font-size:10px;
  font-weight:400;
}

.column-header .icon-button {
  margin-left:auto;
  width:22px;
  height:22px;
  min-width:22px;
  font-size:19px;
  color:var(--muted);
}

.wip {
  font-size:8px;
  color:var(--neon);
  font-weight:500;
}

.wip.over {
  color:var(--ink);
}

.wip-warning {
  font-size:10px;
  color:var(--ink);
  background:var(--raised);
  border-radius:5px;
  padding:7px;
  margin-bottom:10px;
  border-left:2px solid var(--neon);
}

.card-list {
  display:flex;
  flex-direction:column;
  gap:10px;
  min-height:65px;
}

.task-card {
  width:100%;
  display:block;
  text-align:left;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:8px;
  padding:13px 12px;
  box-shadow:0 2px 3px #00000040;
  cursor:grab;
  transition:box-shadow .15s,border-color .15s;
  position:relative;
  overflow-wrap:anywhere;
}

.task-card:hover {
  border-color:var(--neon-edge);
  box-shadow:0 0 18px #8ddcff0c;
}

.task-card:active {
  cursor:grabbing;
}

.task-card.dragging {
  opacity:.4;
}

.task-card.drop-before:before {
  content:"";
  position:absolute;
  top:-7px;
  left:0;
  right:0;
  height:3px;
  background:var(--neon);
  border-radius:3px;
}

.card-id {
  font-size:9px;
  color:var(--muted);
  letter-spacing:.3px;
}

.card-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:5px;
}

.priority {
  font-size:8px;
  white-space:nowrap;
  color:var(--muted);
  display:flex;
  align-items:center;
  gap:3px;
}

.priority.high {
  color:var(--ink);
}

.priority.medium {
  color:var(--muted);
}

.priority.low {
  color:var(--muted);
}

.task-card h3 {
  font-weight:570;
  font-size:12px;
  line-height:1.6;
  margin:10px 0 11px;
  color:var(--ink);
}

.labels {
  display:flex;
  flex-wrap:wrap;
  gap:5px;
}

.label {
  display:inline-block;
  font-size:8px;
  background:var(--raised);
  color:#c1c9d1;
  padding:4px 6px;
  border-radius:4px;
  line-height:1.2;
  max-width:100%;
  overflow-wrap:anywhere;
}

.label:nth-child(2n) {
  background:var(--raised);
  color:#c1c9d1;
}

.blocked-badge {
  font-size:8px;
  display:inline-block;
  margin:9px 0 0;
  color:var(--ink);
  background:var(--raised);
  border:1px solid var(--line-strong);
  border-radius:4px;
  padding:4px 6px;
}

.card-bottom {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:13px;
  color:var(--muted);
  font-size:9px;
}

.card-bottom .avatar {
  margin-left:auto;
  width:23px;
  height:23px;
  font-size:8px;
  border:0;
}

.card-version {
  border:1px solid var(--line);
  padding:3px 4px;
  border-radius:4px;
  color:var(--muted);
  font-size:8px;
}

.mini-progress {
  height:2px;
  background:var(--raised);
  margin-top:11px;
  border-radius:2px;
  overflow:hidden;
}

.mini-progress progress {
  display:block;
  width:100%;
  height:2px;
  appearance:none;
  border:0;
  background:var(--raised);
}

.mini-progress progress::-webkit-progress-bar {
  background:var(--raised);
}

.mini-progress progress::-webkit-progress-value {
  background:var(--neon);
}

.mini-progress progress::-moz-progress-bar {
  background:var(--neon);
}

.add-card {
  padding:12px 7px;
  text-align:left;
  color:var(--muted);
  font-size:11px;
  margin-top:7px;
  width:100%;
  border-radius:6px;
}

.add-card:hover {
  background:var(--raised);
  color:var(--muted);
}

.empty-column {
  border:1px dashed var(--line);
  border-radius:7px;
  text-align:center;
  font-size:10px;
  line-height:1.6;
  color:var(--muted);
  padding:25px 8px;
}

.board-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:9px;
  color:var(--muted);
  padding:18px 0 22px;
  line-height:1.6;
}

.demo-dot {
  margin-right:5px;
}

dialog {
  padding:0;
  border:0;
  color:var(--ink);
  box-shadow:0 20px 100px #00000090;
  background:var(--panel);
}

dialog::backdrop {
  background:#020408c7;
  backdrop-filter:blur(5px);
}

.icon-button {
  display:grid;
  place-items:center;
  font-size:24px;
  font-weight:300;
  width:32px;
  height:32px;
  border-radius:7px;
  color:var(--muted);
}

.icon-button:hover {
  background:var(--raised);
}

.task-dialog {
  margin:0 0 0 auto;
  width:min(710px,100vw);
  max-width:100vw;
  max-height:100dvh;
  height:100dvh;
  background:var(--panel);
  overflow:hidden;
  border-left:1px solid var(--line);
}

.task-dialog[open] {
  display:flex;
  flex-direction:column;
}

.drawer-top {
  display:flex;
  align-items:center;
  gap:10px;
  padding:18px 26px;
  border-bottom:1px solid var(--line);
  font-size:11px;
  color:var(--muted);
  flex:none;
}

.demo-label {
  font-size:8px;
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--neon);
  padding:3px 5px;
}

.drawer-top .icon-button {
  margin-left:auto;
}

.task-dialog form {
  flex:1;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  min-height:0;
}

.drawer-content {
  padding:25px 28px;
  overflow-y:auto;
  flex:1;
  min-height:0;
}

.field {
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  font-size:12px;
}

.field>span {
  font-size:10px;
  color:var(--muted);
}

.field input,.field select,.field textarea {
  width:100%;
  font-size:12px;
  background:var(--surface);
}

.title-field {
  margin-bottom:24px;
}

.title-field input {
  font-size:23px;
  font-weight:600;
  letter-spacing:-.6px;
  padding:0 0 12px;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:var(--panel);
}

.detail-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.blocked-field {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  font-size:11px;
  margin:19px 0 25px;
}

.blocked-field span {
  font-size:9px;
  color:var(--muted);
}

.blocked-field input {
  accent-color:var(--neon);
}

.description>span {
  font-size:12px;
  color:var(--ink);
  font-weight:550;
}

.detail-section {
  border-top:1px solid var(--line);
  padding-top:22px;
  margin-top:24px;
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:14px;
}

h2 {
  font-size:12px;
  margin:0;
  font-weight:600;
}

.section-heading>span {
  font-size:9px;
  color:var(--muted);
  text-align:right;
}

.check-row {
  display:flex;
  gap:9px;
  align-items:center;
  background:var(--raised);
  padding:10px 8px;
  border-radius:6px;
  margin-bottom:6px;
  font-size:11px;
}

.check-row label {
  display:flex;
  gap:9px;
  align-items:flex-start;
  flex:1;
  min-width:0;
  line-height:1.5;
  overflow-wrap:anywhere;
}

.check-row input {
  margin-top:2px;
  accent-color:var(--neon);
}

.check-row.complete label>span {
  text-decoration:line-through;
  color:var(--muted);
}

.check-row .icon-button {
  font-size:18px;
  width:22px;
  height:22px;
  flex:none;
}

.inline-add {
  display:flex;
  align-items:center;
  gap:7px;
  margin-top:9px;
}

.inline-add input {
  flex:1;
  font-size:11px;
  min-width:0;
}

.copy-button {
  margin-top:16px;
  color:var(--neon);
  background:var(--neon-soft);
  border-color:var(--neon-edge);
}

.field-hint {
  font-size:10px;
  color:var(--muted);
  margin:10px 0 0;
}

.comment {
  display:flex;
  gap:8px;
  padding-bottom:14px;
  min-width:0;
}

.comment>div {
  min-width:0;
}

.comment small {
  font-size:9px;
  color:var(--muted);
  margin-left:8px;
}

.comment strong {
  font-size:10px;
  font-weight:600;
}

.comment p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:11px;
  line-height:1.6;
  margin:5px 0 0;
}

.detail-section>textarea {
  font-size:11px;
  margin:3px 0 8px;
  background:var(--surface);
}

.empty-text {
  font-size:11px;
  color:var(--muted);
  margin:0 0 15px;
}

.history-section {
  margin:24px 0 0;
  border-top:1px solid var(--line);
  padding-top:20px;
  font-size:11px;
}

.history-section summary {
  cursor:pointer;
  color:var(--muted);
}

.history-section summary span {
  margin-left:5px;
  color:var(--muted);
}

.history-section ol {
  padding:0;
  list-style:none;
}

.history-section li {
  font-size:10px;
  line-height:1.6;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  overflow-wrap:anywhere;
}

.history-section time {
  display:block;
  color:var(--muted);
  font-size:9px;
}

.drawer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-top:1px solid var(--line);
  padding:17px 28px;
  background:var(--panel);
  flex:none;
}

.drawer-bottom>span {
  font-size:9px;
  color:var(--muted);
}

.toast {
  position:fixed;
  bottom:25px;
  left:50%;
  transform:translateX(-50%);
  background:var(--raised);
  color:var(--ink);
  padding:13px 20px;
  border-radius:10px;
  box-shadow:0 10px 40px #00000040;
  font-size:12px;
  z-index:10;
  max-width:calc(100vw - 32px);
  width:max-content;
  line-height:1.5;
  border:1px solid var(--neon-edge);
}

.welcome-dialog {
  border:1px solid var(--line-strong);
  border-radius:18px;
  max-width:calc(100vw - 32px);
  width:1000px;
  overflow:auto;
  max-height:calc(100dvh - 32px);
}

.welcome-dialog[open] {
  display:grid;
  grid-template-columns:minmax(0, .9fr) minmax(0, 1.1fr);
}

.welcome-art {
  position:relative;
  min-width:0;
  min-height:0;
  overflow:hidden;
  background:var(--canvas);
}

.welcome-art img,.welcome-art video {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.welcome-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:52px 38px;
  min-width:0;
  min-height:500px;
  background:var(--panel);
}

.welcome-copy h2 {
  font-size:36px;
  line-height:1.15;
  letter-spacing:-1.2px;
  font-weight:650;
  margin:16px 0 12px;
}

.welcome-copy p {
  font-size:13px;
  color:var(--muted);
  margin:0;
}

.welcome-notice {
  font-size:11px;
  line-height:1.8;
  color:var(--muted);
  border-left:2px solid var(--neon);
  padding-left:14px;
  margin:32px 0;
}

.welcome-notice strong {
  font-weight:600;
  color:var(--ink);
}

.welcome-copy .button {
  width:100%;
  min-height:42px;
}

.welcome-copy small {
  display:block;
  text-align:center;
  font-size:10px;
  margin-top:18px;
  color:var(--muted);
}

.welcome-close {
  position:absolute;
  right:14px;
  top:14px;
  z-index:2;
  background:#080b10c9;
  border:1px solid #ffffff40;
  color:var(--ink);
}

@media(min-width:1800px) {
  .main {
    padding-left:44px;
    padding-right:44px;
  }
  .column {
    padding:0 13px 13px;
  }
  .task-card {
    padding:17px;
  }
  .task-card h3 {
    font-size:13px;
  }
}

@media(max-width:1100px) {
  .sidebar {
    width:178px;
    padding-left:12px;
    padding-right:12px;
  }
  .main {
    padding:0 22px;
  }
  .brand {
    font-size:22px;
  }
  .team-legend>span:last-child {
    display:none;
  }
  .search {
    width:210px;
  }
  .storage-status {
    font-size:9px;
  }
  .board {
    grid-template-columns:repeat(6,210px);
  }
}

@media(max-width:700px) {
  body {
    display:block;
  }
  .sidebar {
    width:100%;
    min-height:0;
    height:62px;
    padding:0 16px;
    border-right:0;
    border-bottom:1px solid var(--line);
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .brand {
    margin:0;
    font-size:20px;
    gap:8px;
  }
  .brand-mark {
    width:30px;
    height:32px;
    font-size:23px;
    line-height:30px;
    border-radius:9px;
  }
  .brand-sub {
    font-size:8px;
    letter-spacing:3px;
  }
  .workspace,.nav-caption,.nav-current,.profile,.quiet-button {
    display:none;
  }
  .sidebar-bottom {
    margin:0;
    padding:0;
  }
  .eve-link {
    width:auto;
  }
  .eve-link img {
    height:31px;
    width:31px;
  }
  .eve-link small,.eve-link>span:last-child {
    display:none;
  }
  .eve-link>span {
    font-size:10px;
  }
  .main {
    padding:0 16px;
    min-height:calc(100dvh - 62px);
  }
  .topbar {
    min-height:51px;
    font-size:9px;
  }
  .topbar>div {
    display:none;
  }
  .prototype-badge {
    font-size:9px;
  }
  .board-heading {
    padding:25px 0 20px;
    align-items:flex-start;
  }
  h1 {
    font-size:31px;
  }
  .eyebrow {
    font-size:7px;
    letter-spacing:1.2px;
  }
  .board-heading .button {
    font-size:10px;
    white-space:nowrap;
    padding:8px;
    min-height:34px;
    margin-top:14px;
  }
  .board-heading .button span {
    font-size:13px;
  }
  .toolbar {
    gap:7px;
    padding:16px 0 9px;
  }
  .search {
    width:100%;
    flex-basis:100%;
  }
  .filter {
    flex:1;
    min-width:0;
  }
  .filter select {
    width:100%;
    font-size:10px;
    padding:8px;
  }
  .filter-button,.export-button {
    font-size:10px;
  }
  .export-button {
    margin-left:0;
  }
  .board-meta {
    line-height:1.7;
    gap:5px;
  }
  .storage-status {
    margin-left:0;
    width:100%;
  }
  .board {
    grid-template-columns:repeat(6,260px);
    min-height:390px;
    gap:10px;
    scroll-snap-type:x proximity;
  }
  .column {
    scroll-snap-align:start;
  }
  .board-footer {
    font-size:9px;
    padding:10px 0 20px;
    gap:5px;
  }
  .drawer-top {
    padding:12px 16px;
  }
  .drawer-content {
    padding:20px 16px;
  }
  .drawer-bottom {
    padding:14px 16px;
  }
  .drawer-bottom>span {
    max-width:120px;
    line-height:1.5;
  }
  .title-field input {
    font-size:20px;
  }
  .detail-grid {
    gap:13px 10px;
  }
  .field input,.field select {
    font-size:11px;
    padding:10px 8px;
  }
  .section-heading>span {
    max-width:150px;
    line-height:1.4;
  }

}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
  dialog::backdrop {
    backdrop-filter:none;
  }
}

@media(max-width:700px) {
  .sidebar-bottom {
    display:flex;
    align-items:center;
    gap:12px;
  }
  .quiet-button {
    display:block;
    font-size:0;
    padding:4px;
  }
  .quiet-button::before {
    content:"↺";
    font-size:18px;
  }
}

@media(max-width:700px) {
  .filter {
    flex:1 1 calc(50% - 4px);
  }
  .export-button {
    margin-left:auto;
  }
}

/* Keep the video on the right in the narrow Codex panel as well. */
@media(min-width:580px) and (max-width:800px) {
  .welcome-copy { padding:38px 25px; min-height:460px; }
  .welcome-copy h2 { font-size:30px; }
  .welcome-notice { font-size:10px; margin:26px 0; }
}

@media(max-width:579px) {
  .welcome-dialog[open] { grid-template-columns:minmax(0, 1fr); }
  .welcome-art { grid-row:1; aspect-ratio:1; }
  .welcome-copy { padding:26px; min-height:0; }
  .welcome-copy h2 { font-size:28px; margin:12px 0; }
  .welcome-notice { margin:22px 0; }
}

/* Task focus view preserves all form values while hiding advanced controls. */
.simple-task .task-advanced { display:none !important; }
#task-details-toggle { margin-left:auto; font-size:13px; }
.work-event { display:flex; flex-wrap:wrap; gap:6px 16px; padding:10px 0; border-bottom:1px solid var(--border,#293039); color:var(--muted,#a3adb8); font-size:13px; }
.work-event time { margin-left:auto; font-size:12px; }
.simple-task .drawer-bottom { justify-content:flex-end; }

#project-backlog-open{margin-top:16px} .backlog-ticket{display:flex;flex-direction:column;gap:8px;text-align:left;width:100%;padding:16px;margin-top:12px;border:1px solid var(--line);background:var(--panel,#151a20);color:inherit;border-radius:12px;cursor:pointer}.backlog-ticket small{color:var(--muted)} #backlog-task-form textarea{width:100%;box-sizing:border-box} #backlog-task-source{overflow-wrap:anywhere;font-size:12px} #project-backlog-error,#backlog-task-error{color:#ff8b8b}

#access-dialog {width:min(640px,calc(100vw - 32px));max-height:90dvh;overflow:auto;}
#access-fields {min-width:0;}
.access-member {display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line,#28313a);overflow-wrap:anywhere;}
.access-member input {width:auto;flex:none;margin-top:5px;}
.access-member span {min-width:0;}
.access-member small {display:block;color:var(--muted,#a1acb6);margin-top:4px;}
#access-error {color:#ff8585;overflow-wrap:anywhere;}
#properties-access {margin-bottom:18px;}

/* Shared task/agreement exchange, independent from the surrounding edit form. */
.content-exchange{min-width:0;margin:18px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.content-exchange h2{font-size:18px;}
.exchange-toolbar,.exchange-message-meta,.exchange-reply,.exchange-send{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;}
.exchange-toolbar h2{margin-right:auto;}
.content-exchange .button{height:auto;min-height:36px;white-space:normal;max-width:100%;font-size:12px;}
.content-exchange .field{display:grid;gap:6px;margin:12px 0;min-width:0;}
.content-exchange input,.content-exchange textarea{box-sizing:border-box;max-width:100%;width:100%;min-width:0;border:1px solid var(--line,#3f4c5b);border-radius:8px;padding:10px;background:var(--surface,#151c25);color:var(--ink,#eff6ff);font:inherit;}
.content-exchange input[type=file]{font-size:12px;padding:8px;}
.content-exchange textarea{resize:vertical;min-height:80px;}
.content-exchange [hidden]{display:none!important;}
.exchange-messages{list-style:none;padding:0;margin:14px 0;max-height:420px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;}
.exchange-message{padding:14px 2px;border-bottom:1px solid var(--line,#303a45);}
.exchange-message-meta{align-items:baseline;font-size:12px;}
.exchange-message-meta time,.exchange-message-meta>span,.exchange-resources small{font-size:11px;color:var(--muted,#a3adb8);}
.exchange-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;margin:8px 0;}
.exchange-resources{padding-left:18px;margin:10px 0;}
.exchange-resources a{color:#a6e3ff;text-decoration:underline;overflow-wrap:anywhere;}
.exchange-reply-context,.exchange-reply{border-left:3px solid #67879b;padding:8px 10px;background:#16212b;color:#c2d5e4;font-size:12px;}
.exchange-reply span{flex:1 1 200px;min-width:0;}
.exchange-status,.exchange-context{font-size:12px;color:var(--muted,#a3adb8);}
.exchange-error,.exchange-version-warning{color:#ffb79e;font-size:13px;}
.exchange-materials{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;align-items:start;}
.content-exchange details{margin:10px 0;font-size:12px;}
.content-exchange summary,.exchange-legacy summary{cursor:pointer;color:#b2d8eb;}
.exchange-legacy{font-size:12px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line,#303a45);}
.exchange-legacy>summary{margin-bottom:14px;}
.exchange-send{margin-top:14px;}
.exchange-send .field-hint{flex:1 1 190px;}
.content-exchange button:focus-visible,.content-exchange summary:focus-visible{outline:2px solid #b2eaff;outline-offset:3px;}
#backlog-task-dialog{max-height:calc(100dvh - 24px);overflow:auto;}
#backlog-task-comments p{white-space:pre-wrap;overflow-wrap:anywhere;}
#backlog-task-comments time{font-size:11px;color:var(--muted);}
@media(max-width:540px){.exchange-materials{grid-template-columns:minmax(0,1fr);gap:0;}.exchange-toolbar h2{flex-basis:100%;}.exchange-toolbar .button{flex:1 1 100px;}.exchange-send>.button{width:100%;}.exchange-message-meta{gap:4px 8px;}.exchange-messages{max-height:340px;}.content-exchange{font-size:13px;}.content-exchange input,.content-exchange textarea{font-size:16px;}}
