@charset "UTF-8";
:root {
  color-scheme:dark;
  --bg:#0a1423;
  --sidebar:#0c1829;
  --surface:#111f32;
  --surface2:#16263b;
  --line:#26384e;
  --line-soft:#1d2d43;
  --text:#edf3f8;
  --muted:#9eafc3;
  --subtle:#768ba5;
  --teal:#77e1c5;
  --teal-dark:#173d3c;
  --amber:#f3c47a;
  --red:#ffaaa9;
  --radius:16px;
  --shadow:0 20px 80px #0005;
  --font:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:14px/1.6 var(--font);
  -webkit-font-smoothing:antialiased
}

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

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

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

button {
  cursor:pointer
}

button:disabled {
  cursor:not-allowed;
  opacity:.42
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {
  outline:2px solid var(--teal);
  outline-offset:4px
}

h1,h2,h3,h4,p {
  margin:0
}

h1,h2,h3 {
  line-height:1.25;
  letter-spacing:-.03em
}

h1 {
  font-size:clamp(27px,3vw,38px);
  font-weight:650
}

h2 {
  font-size:22px;
  font-weight:620
}

h3 {
  font-size:16px;
  font-weight:620
}

small {
  font-size:11px
}

[hidden] {
  display:none!important
}

.muted {
  color:var(--muted)
}

.subtle {
  color:var(--subtle)
}

.eyebrow {
  font-size:10px;
  letter-spacing:.14em;
  font-weight:650;
  color:var(--muted)
}

.microcopy,.field-help {
  font-size:12px;
  color:var(--muted);
  line-height:1.6
}

.field-help {
  margin-top:-6px;
  margin-bottom:16px
}

.skip-link {
  position:fixed;
  top:6px;
  left:6px;
  z-index:100;
  padding:10px 16px;
  background:var(--teal);
  color:var(--bg);
  transform:translateY(-180%)
}

.skip-link:focus {
  transform:none
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:43px;
  padding:10px 16px;
  border-radius:10px;
  border:1px solid transparent;
  font-weight:600;
  font-size:13px;
  line-height:1.4;
  transition:background .18s,border-color .18s,transform .18s;
  white-space:normal;
  text-align:center
}

.button:hover:not(:disabled) {
  transform:translateY(-1px)
}

.primary {
  background:var(--teal);
  color:#0c2827
}

.primary:hover:not(:disabled) {
  background:#98efd7
}

.secondary {
  background:var(--surface2);
  border-color:var(--line);
  color:var(--text)
}

.secondary:hover:not(:disabled) {
  background:#20334b;
  border-color:#486078
}

.ghost {
  background:transparent;
  color:var(--muted);
  border-color:var(--line)
}

.ghost:hover:not(:disabled) {
  color:var(--text);
  background:var(--surface)
}

.danger {
  background:#4e282c;
  border-color:#784147;
  color:#ffcfcd
}

.danger:hover:not(:disabled) {
  background:#653238
}

.small {
  min-height:34px;
  padding:7px 12px;
  font-size:12px
}

.full {
  width:100%
}

.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:38px;
  height:38px;
  border:1px solid var(--line);
  background:transparent;
  border-radius:10px;
  color:var(--muted);
  font-size:22px;
  line-height:1
}

.icon-button:hover {
  background:var(--surface2);
  color:var(--text)
}

.icon {
  width:18px;
  height:18px;
  flex-shrink:0;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round
}

.actions-row {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0
}

.brand>span {
  font-size:22px;
  font-weight:720;
  letter-spacing:.13em;
  line-height:1.2
}

.brand small {
  display:block;
  color:var(--subtle);
  font-size:8px;
  font-weight:600;
  letter-spacing:.13em;
  margin-top:7px
}

.tag,.badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  max-width:100%;
  padding:3px 9px;
  border:1px solid var(--line);
  border-radius:6px;
  font-size:10px;
  font-weight:650;
  letter-spacing:.03em;
  line-height:1.7;
  white-space:normal
}

.tag {
  color:var(--teal);
  border-color:#30514f;
  background:#15352f66
}

.badge {
  color:var(--muted);
  background:#152338
}

.badge.teal {
  color:var(--teal);
  border-color:#315a53;
  background:#1c3e354d
}

.badge.amber {
  color:var(--amber);
  border-color:#6a5234;
  background:#3d322645
}

.badge.red {
  color:var(--red);
  border-color:#664249;
  background:#42262e66
}

.badge.blue {
  color:#aec9ff;
  border-color:#3c4e72;
  background:#25355366
}

.status-dot,.topbar-dot {
  display:inline-block;
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--teal);
  box-shadow:0 0 12px #77e1c533;
  flex-shrink:0
}

.connection-banner {
  position:sticky;
  top:0;
  z-index:50;
  padding:9px 20px;
  text-align:center;
  background:#3c3224;
  border-bottom:1px solid #6a5234;
  color:#ffe0ad;
  font-size:12px
}

.connection-banner.error {
  background:#3b252c;
  color:#ffcecb;
  border-color:#704047
}

.auth-screen {
  min-height:100svh;
  display:grid;
  grid-template-columns:1.1fr 1fr
}

.auth-story {
  padding:42px 8%;
  background:radial-gradient(ellipse at 30% 65%,#133a3c70,transparent 62%),#0c1a2b;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  border-right:1px solid var(--line-soft)
}

.auth-intro {
  max-width:510px;
  margin:auto 0;
  padding-top:60px
}

.auth-intro .eyebrow {
  display:flex;
  align-items:center;
  gap:12px
}

.tiny-line {
  width:28px;
  height:1px;
  background:var(--teal)
}

.auth-intro h1 {
  font-size:clamp(33px,4vw,57px);
  line-height:1.16;
  letter-spacing:-.055em;
  margin-top:24px;
  font-weight:620
}

.auth-intro h1 span {
  color:var(--teal)
}

.auth-intro>p {
  color:var(--muted);
  max-width:405px;
  margin-top:24px;
  font-size:15px;
  line-height:1.8
}

.auth-foot {
  color:var(--muted);
  display:flex;
  gap:10px;
  align-items:center;
  font-size:11px
}

.orbit-art {
  height:255px;
  position:relative;
  max-width:410px;
  margin:10px 0 18px
}

.orbit-ring {
  position:absolute;
  top:50%;
  left:50%;
  border:1px solid #3c716e55;
  border-radius:50%;
  transform:translate(-50%,-50%) rotate(-28deg)
}

.ring-one {
  width:310px;
  height:140px
}

.ring-two {
  width:235px;
  height:235px;
  border-color:#35615d55
}

.orbit-axis {
  position:absolute;
  left:12%;
  right:6%;
  top:49%;
  height:1px;
  background:linear-gradient(90deg,transparent,#48777880,transparent);
  transform:rotate(25deg)
}

.orbit-center {
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border:1px solid #6ab5a4;
  background:#143c3b;
  border-radius:17px;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  font-size:26px;
  color:var(--teal);
  box-shadow:0 0 60px #64d1b715
}

.orbit-point {
  position:absolute;
  width:8px;
  height:8px;
  border:2px solid var(--teal);
  border-radius:50%;
  background:var(--bg)
}

.point-one {
  left:17%;
  top:62%
}

.point-two {
  left:76%;
  top:28%;
  background:var(--teal)
}

.orbit-label {
  position:absolute;
  font-size:8px;
  letter-spacing:.12em;
  color:#8aabae
}

.label-one {
  left:4%;
  top:78%
}

.label-two {
  left:77%;
  top:16%
}

.label-three {
  left:64%;
  top:85%
}

.auth-side {
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:40px
}

.auth-card {
  max-width:360px;
  width:100%
}

.auth-card h2 {
  font-size:27px;
  margin-top:22px
}

.auth-card>p {
  margin:13px 0 30px
}

.auth-divider {
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--subtle);
  font-size:11px;
  margin:24px 0
}

.auth-divider::before,.auth-divider::after {
  content:"";
  height:1px;
  flex:1;
  background:var(--line)
}

.auth-card .microcopy {
  margin-top:15px;
  text-align:center;
  font-size:11px
}

.auth-version {
  margin-top:55px;
  color:var(--subtle);
  font-size:10px;
  letter-spacing:.03em
}

.auth-version span {
  color:var(--muted)
}

.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:18px;
  min-width:0
}

.field>span,.field-label {
  font-size:12px;
  font-weight:580;
  color:#c5d1de
}

.field input,.field select,.field textarea,.filter-select {
  width:100%;
  min-height:44px;
  border:1px solid #34465c;
  border-radius:9px;
  background:#0c192a;
  padding:11px 13px;
  color:var(--text);
  font-size:14px;
  outline-offset:2px
}

.field textarea {
  resize:vertical;
  min-height:140px;
  line-height:1.65
}

.field input::placeholder,.field textarea::placeholder {
  color:#6e829c
}

.field select,.filter-select {
  appearance:auto
}

.field input:disabled,.field select:disabled,.field textarea:disabled {
  opacity:.55
}

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

.form-error {
  background:#45262d;
  border:1px solid #75434b;
  color:#ffd0cf;
  border-radius:9px;
  padding:10px 13px;
  margin:0 0 16px;
  font-size:12px;
  white-space:pre-wrap;
  overflow-wrap:anywhere
}

.form-note {
  color:var(--muted);
  font-size:12px;
  margin-bottom:20px;
  line-height:1.75
}

.checkbox-label {
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:12px;
  color:var(--muted);
  margin:14px 0 20px;
  cursor:pointer
}

.checkbox-label input {
  width:17px;
  height:17px;
  accent-color:var(--teal);
  flex-shrink:0;
  margin-top:2px
}

.app-shell {
  min-height:100svh;
  display:grid;
  grid-template-columns:222px minmax(0,1fr)
}

.sidebar {
  position:sticky;
  top:0;
  height:100svh;
  padding:30px 20px 20px;
  background:var(--sidebar);
  border-right:1px solid var(--line-soft);
  display:flex;
  flex-direction:column
}

.sidebar .brand {
  padding-left:6px
}

.nav-caption {
  font-size:9px;
  letter-spacing:.15em;
  color:var(--subtle);
  margin:46px 15px 16px
}

.main-nav {
  display:flex;
  flex-direction:column;
  gap:7px
}

.main-nav a {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:44px;
  padding:10px 14px;
  border:1px solid transparent;
  border-radius:9px;
  color:var(--muted);
  font-size:13px;
  font-weight:500
}

.main-nav a:hover {
  background:var(--surface2);
  color:var(--text)
}

.main-nav a[aria-current=page] {
  color:var(--teal);
  background:#1a3a374d;
  border-color:#29524b66
}

.nav-glyph {
  font-size:22px;
  line-height:1;
  width:23px;
  text-align:center;
  font-weight:400
}

.nav-count {
  margin-left:auto;
  background:#a8efd9;
  color:#113d34;
  border-radius:4px;
  padding:0 5px;
  font-size:9px;
  font-weight:750
}

.sidebar-bottom {
  margin-top:auto;
  padding:24px 4px 0
}

.assistant-card {
  display:flex;
  align-items:center;
  gap:9px;
  border:1px solid var(--line);
  padding:13px 9px;
  border-radius:10px;
  background:#132135
}

.assistant-card strong {
  font-size:12px;
  display:block;
  letter-spacing:.05em
}

.assistant-card div>span {
  color:var(--subtle);
  font-size:9px;
  display:block;
  margin-top:2px
}

.assistant-orb {
  width:25px;
  height:25px;
  border:1px solid #78dfc46b;
  border-radius:50%;
  background:radial-gradient(circle at 40% 35%,#82e4c7,#285a53 50%,#17373c 75%)
}

.small-tag {
  font-size:8px;
  color:var(--teal);
  border:1px solid #365852;
  border-radius:4px;
  padding:0 4px;
  margin-left:auto
}

.sidebar-bottom>p {
  color:var(--subtle);
  font-size:10px;
  line-height:1.7;
  margin:13px 6px 22px
}

.sidebar-version {
  font-size:9px;
  color:#62758d;
  letter-spacing:.13em;
  padding-left:6px
}

.workspace {
  min-width:0;
  display:flex;
  flex-direction:column
}

.topbar {
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 36px;
  border-bottom:1px solid var(--line-soft);
  gap:15px
}

.topbar-context {
  display:flex;
  align-items:center;
  gap:9px;
  font-size:11px;
  color:var(--muted)
}

.topbar-dot {
  width:5px;
  height:5px;
  background:#72879f;
  box-shadow:none
}

.topbar-actions {
  display:flex;
  align-items:center;
  gap:13px
}

.connection-label {
  font-size:10px;
  color:var(--subtle)
}

.connection-label.good {
  color:var(--teal)
}

.connection-label.warn {
  color:var(--amber)
}

.pause-button {
  min-height:34px;
  background:transparent;
  border-color:#4a4142;
  color:#d9b8a4;
  font-size:11px;
  padding:8px 12px
}

.pause-button.paused {
  color:var(--amber);
  border-color:#755d3b;
  background:#47382244
}

.owner-avatar {
  border:1px solid #3c5367;
  border-radius:50%;
  color:#c6dddc;
  background:#233c45;
  width:32px;
  height:32px;
  font-size:11px;
  font-weight:600;
  flex-shrink:0
}

.mobile-brand {
  display:none
}

#main-content {
  padding:34px 36px 45px;
  max-width:1510px;
  width:100%;
  margin:0 auto;
  outline:none
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px
}

.page-heading h1 {
  margin-top:7px
}

.page-heading p {
  margin-top:9px;
  color:var(--muted);
  font-size:13px;
  max-width:620px
}

.page-heading .actions-row {
  flex-shrink:0
}

.hero {
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(115deg,#153334,#152637 60%,#122037);
  border:1px solid #2b4e4c;
  border-radius:var(--radius);
  padding:25px 28px;
  margin-bottom:22px
}

.hero h2 {
  font-size:26px;
  max-width:550px;
  margin:8px 0 10px
}

.hero p {
  color:#afc7cc;
  font-size:12px;
  max-width:600px
}

.hero .eyebrow {
  color:#77d6bc
}

.hero-decoration {
  position:relative;
  flex-shrink:0;
  width:110px;
  height:110px;
  border:1px solid #6dd5b844;
  border-radius:50%;
  display:grid;
  place-items:center
}

.hero-decoration::before {
  content:"";
  position:absolute;
  inset:14px;
  border:1px solid #6dd5b855;
  border-radius:50%
}

.hero-decoration .icon {
  width:39px;
  height:39px;
  color:#8be7cd;
  stroke-width:1
}

.hero-decoration::after {
  content:"";
  position:absolute;
  right:4px;
  top:25px;
  background:var(--teal);
  width:7px;
  height:7px;
  border-radius:50%
}

.metrics {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-bottom:28px
}

.metric {
  padding:19px 20px 17px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  text-align:left;
  color:var(--text);
  min-width:0
}

.metric:hover {
  border-color:#486178
}

.metric-top {
  display:flex;
  justify-content:space-between;
  gap:8px;
  font-size:11px;
  color:var(--muted)
}

.metric-top .icon {
  width:16px;
  height:16px;
  color:var(--subtle)
}

.metric-value {
  font-size:31px;
  line-height:1.3;
  font-weight:570;
  letter-spacing:-.04em;
  margin:10px 0 6px
}

.metric-foot {
  font-size:10px;
  color:var(--subtle)
}

.metric.attention .metric-value {
  color:var(--amber)
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:0 0 16px
}

.section-heading h2 {
  font-size:17px;
  font-weight:600
}

.section-heading p {
  font-size:11px;
  color:var(--subtle);
  margin-top:4px
}

.text-button {
  border:0;
  background:none;
  color:var(--teal);
  font-size:11px;
  padding:6px 0;
  display:inline-flex;
  gap:8px;
  align-items:center
}

.text-button:hover {
  color:#a9f8df
}

.dashboard-grid {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:23px;
  align-items:start
}

.panel {
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
  min-width:0
}

.panel+.panel {
  margin-top:22px
}

.panel-header {
  display:flex;
  align-items:center;
  gap:12px;
  justify-content:space-between;
  margin-bottom:18px
}

.panel-header h2 {
  font-size:17px
}

.panel-header .icon {
  color:var(--teal)
}

.panel-header-title {
  display:flex;
  gap:9px;
  align-items:center;
  min-width:0
}

.split-section {
  margin-top:28px
}

.list-stack {
  display:flex;
  flex-direction:column;
  gap:10px
}

.signal-row {
  display:flex;
  align-items:flex-start;
  gap:12px;
  background:#17273b;
  border:1px solid var(--line);
  border-radius:10px;
  padding:13px 14px
}

.signal-row.amber {
  border-color:#65523866;
  background:#3d342333
}

.signal-row.red {
  border-color:#6b404b88;
  background:#3a253333
}

.signal-icon {
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:8px;
  background:#244338;
  color:var(--teal);
  flex-shrink:0
}

.amber .signal-icon {
  color:var(--amber);
  background:#62482b55
}

.red .signal-icon {
  color:var(--red);
  background:#64414d66
}

.signal-copy {
  flex:1;
  min-width:0
}

.signal-copy strong {
  display:block;
  font-size:12px;
  font-weight:570
}

.signal-copy p {
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
  overflow-wrap:anywhere
}

.signal-copy .text-button {
  margin-top:3px
}

.project-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:17px
}

.project-card {
  display:flex;
  flex-direction:column;
  gap:18px;
  border:1px solid var(--line);
  background:var(--surface);
  border-radius:13px;
  padding:20px;
  text-align:left;
  color:var(--text);
  min-height:177px;
  transition:border-color .15s,transform .15s
}

.project-card:hover {
  border-color:#47796c;
  transform:translateY(-2px)
}

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

.project-initial {
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  flex-shrink:0;
  background:#22433d;
  color:#90ddc8;
  border:1px solid #395b54;
  border-radius:9px;
  font-size:12px;
  font-weight:650
}

.project-card:nth-child(3n+2) .project-initial {
  background:#2a344e;
  color:#c8c9f0;
  border-color:#454764
}

.project-card:nth-child(3n+3) .project-initial {
  background:#3e352e;
  color:#e6c7a3;
  border-color:#615246
}

.project-card h3 {
  font-size:15px;
  overflow-wrap:anywhere
}

.project-card p {
  font-size:10px;
  color:var(--subtle);
  margin-top:4px
}

.project-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-top:auto;
  font-size:10px;
  color:var(--muted);
  gap:10px
}

.project-bottom .icon {
  width:14px;
  height:14px
}

.project-list-compact {
  display:flex;
  flex-direction:column;
  gap:3px
}

.compact-project {
  display:flex;
  align-items:center;
  gap:11px;
  padding:12px 0;
  border-bottom:1px solid var(--line-soft);
  color:var(--text);
  background:none;
  border-width:0 0 1px;
  text-align:left;
  width:100%
}

.compact-project:last-child {
  border-bottom:0
}

.compact-project:hover .compact-project-copy strong {
  color:var(--teal)
}

.compact-project-copy {
  flex:1;
  min-width:0
}

.compact-project-copy strong {
  font-size:12px;
  display:block;
  font-weight:570;
  overflow-wrap:anywhere
}

.compact-project-copy span {
  font-size:10px;
  color:var(--subtle)
}

.compact-project .icon {
  width:15px;
  height:15px;
  color:var(--subtle)
}

.empty-state {
  border:1px dashed #354c62;
  border-radius:12px;
  padding:27px 22px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  background:#12203366
}

.empty-state .empty-icon {
  width:43px;
  height:43px;
  background:#20364a;
  color:#9bb7c7;
  border-radius:12px;
  display:grid;
  place-items:center
}

.empty-state h3 {
  font-size:14px
}

.empty-state p {
  color:var(--muted);
  font-size:12px;
  max-width:430px
}

.empty-state.large {
  padding:55px 30px;
  min-height:280px
}

.briefing-head {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:12px
}

.briefing-head strong {
  font-size:12px
}

.briefing-text,.prewrap {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  line-height:1.8;
  font-size:13px;
  color:#c5d3e1
}

.briefing-preview {
  display:-webkit-box;
  -webkit-line-clamp:6;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.briefing-footer {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  margin-top:16px;
  color:var(--subtle);
  font-size:10px
}

.sources {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:15px
}

.source-chip {
  font-size:10px;
  color:#aec1d3;
  padding:4px 8px;
  background:#0d1b2b;
  border:1px solid var(--line);
  border-radius:5px;
  overflow-wrap:anywhere
}

.status-strip {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  margin:0 0 23px
}

.status-strip .badge {
  font-size:10px
}

.filter-bar {
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-bottom:23px
}

.filter-select {
  width:auto;
  min-width:180px;
  max-width:100%;
  min-height:38px;
  padding:8px 11px;
  font-size:12px
}

.filter-bar label {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--muted);
  font-size:11px
}

.filter-bar input {
  accent-color:var(--teal)
}

.kanban {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  align-items:start
}

.kanban-column {
  background:#101d2e99;
  border:1px solid var(--line-soft);
  border-radius:12px;
  min-height:190px;
  padding:13px;
  min-width:0
}

.column-heading {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:11px;
  color:#c8d4e1;
  margin-bottom:15px;
  font-weight:600
}

.column-heading .counter {
  margin-left:auto;
  color:var(--subtle);
  font-size:10px
}

.column-dot {
  width:6px;
  height:6px;
  border-radius:50%;
  background:#9bb0c5
}

.in_progress .column-dot {
  background:#7caeff
}

.blocked .column-dot {
  background:var(--amber)
}

.done .column-dot {
  background:var(--teal)
}

.task-card {
  padding:14px;
  background:#17263a;
  border:1px solid #2a3c52;
  border-radius:9px;
  margin-bottom:10px;
  min-width:0
}

.task-card:last-child {
  margin-bottom:0
}

.task-card h3 {
  font-size:12px;
  line-height:1.6;
  font-weight:550;
  letter-spacing:0;
  overflow-wrap:anywhere
}

.task-project {
  font-size:9px;
  color:#8cb7bc;
  margin-bottom:6px;
  overflow-wrap:anywhere
}

.task-meta {
  display:flex;
  align-items:center;
  gap:7px;
  color:var(--muted);
  font-size:10px;
  margin-top:12px;
  overflow-wrap:anywhere
}

.task-meta .icon {
  width:13px;
  height:13px
}

.task-due {
  font-size:9px;
  color:var(--subtle);
  margin:7px 0
}

.task-due.overdue {
  color:var(--amber)
}

.task-status {
  width:100%;
  margin-top:12px;
  background:#0e1b2d;
  color:#b6c8d9;
  border:1px solid #2a4057;
  border-radius:6px;
  font-size:10px;
  padding:6px;
  min-height:31px
}

.empty-column {
  font-size:11px;
  color:#6d819a;
  text-align:center;
  padding:24px 4px
}

.decision-list {
  display:flex;
  flex-direction:column;
  gap:13px
}

.decision-card {
  padding:19px 21px;
  border:1px solid var(--line);
  border-radius:12px;
  background:var(--surface);
  min-width:0
}

.decision-card.pending {
  border-left:3px solid var(--amber)
}

.decision-card.unknown {
  border-left:3px solid var(--red);
  background:#211f30
}

.decision-meta {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  color:var(--subtle);
  font-size:10px;
  margin-bottom:11px
}

.decision-meta .time {
  margin-left:auto
}

.decision-preview {
  font-size:13px;
  color:#cbd7e2;
  line-height:1.7;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.decision-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin-top:16px;
  flex-wrap:wrap
}

.decision-target {
  font-size:11px;
  color:var(--muted);
  overflow-wrap:anywhere
}

.segmented {
  display:flex;
  background:#0e1c2c;
  border:1px solid var(--line);
  border-radius:9px;
  padding:4px;
  gap:4px;
  width:max-content;
  max-width:100%;
  overflow-x:auto;
  margin-bottom:22px
}

.segmented button {
  border:0;
  border-radius:6px;
  padding:8px 13px;
  background:transparent;
  color:var(--muted);
  font-size:11px;
  white-space:nowrap
}

.segmented button[aria-pressed=true] {
  background:#253a4c;
  color:var(--text)
}

.review-target {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin:17px 0
}

.detail-box {
  background:#0c192a;
  border:1px solid var(--line);
  border-radius:9px;
  padding:11px 13px;
  min-width:0
}

.detail-box span {
  display:block;
  color:var(--subtle);
  font-size:10px
}

.detail-box strong {
  display:block;
  font-size:12px;
  font-weight:550;
  margin-top:3px;
  overflow-wrap:anywhere
}

.exact-message {
  border:1px solid #486560;
  background:#122c2e;
  border-radius:11px;
  padding:20px;
  font-size:14px;
  line-height:1.8;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  margin-bottom:14px
}

.hash-detail {
  font-size:10px;
  color:var(--subtle);
  margin:12px 0 18px;
  overflow-wrap:anywhere
}

.hash-detail summary {
  cursor:pointer
}

.hash-detail code {
  display:block;
  line-height:1.6;
  color:var(--muted);
  padding:8px 0;
  font-size:10px
}

.callout {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:14px 16px;
  border:1px solid #35544e;
  border-radius:10px;
  background:#18352f55;
  margin-bottom:20px;
  color:#b8d8cf;
  font-size:12px;
  line-height:1.7
}

.callout>.icon {
  margin-top:2px;
  color:var(--teal)
}

.callout.amber {
  border-color:#715c3c88;
  background:#46372555;
  color:#e1cba8
}

.callout.amber>.icon {
  color:var(--amber)
}

.callout.red {
  border-color:#75434b88;
  background:#45262d66;
  color:#e5bfc3
}

.callout.red>.icon {
  color:var(--red)
}

.report-card {
  padding:18px 0;
  border-bottom:1px solid var(--line)
}

.report-card:last-child {
  border-bottom:0;
  padding-bottom:0
}

.report-card:first-child {
  padding-top:0
}

.report-head {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
  font-size:10px;
  color:var(--subtle)
}

.report-head strong {
  color:#c9d9e4;
  font-size:12px;
  font-weight:550
}

.report-card .prewrap {
  font-size:12px
}

.report-toggle {
  display:block;
  margin-top:10px
}

.project-detail-grid {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);
  gap:22px;
  align-items:start
}

.project-detail-grid .panel+.panel {
  margin-top:0
}

.back-button {
  margin-bottom:13px;
  font-size:11px;
  color:var(--muted)
}

.project-detail-heading {
  display:flex;
  align-items:center;
  gap:11px;
  flex-wrap:wrap
}

.project-detail-heading h1 {
  margin:0
}

.setting-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  align-items:start
}

.setting-grid .panel+.panel {
  margin-top:0
}

.setting-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:13px 0;
  border-bottom:1px solid var(--line-soft);
  font-size:12px
}

.setting-row:last-child {
  border-bottom:0
}

.setting-row>span {
  color:var(--muted)
}

.setting-row strong {
  font-size:12px;
  text-align:right;
  font-weight:520;
  overflow-wrap:anywhere
}

.binding-row {
  padding:16px 0;
  border-bottom:1px solid var(--line-soft)
}

.binding-row:last-child {
  border-bottom:0
}

.binding-row-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px
}

.binding-row strong {
  font-size:12px;
  font-weight:550;
  overflow-wrap:anywhere
}

.binding-row p {
  color:var(--subtle);
  font-size:10px;
  margin-top:5px;
  overflow-wrap:anywhere
}

.binding-row .actions-row {
  margin-top:11px
}

.install-card {
  background:linear-gradient(130deg,#142b34,#172136);
  border-color:#35515e
}

.install-card p {
  font-size:12px;
  color:var(--muted);
  line-height:1.85;
  margin:12px 0 20px
}

.steps-list {
  padding-left:19px;
  color:var(--muted);
  font-size:12px;
  line-height:1.85
}

.steps-list li+li {
  margin-top:12px
}

.vault-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:22px;
  align-items:start
}

.vault-aside {
  font-size:12px;
  color:var(--muted)
}

.vault-aside h3 {
  color:var(--text);
  margin-bottom:11px
}

.vault-aside p+p {
  margin-top:14px
}

.vault-aside .icon {
  color:var(--teal);
  width:24px;
  height:24px;
  margin-bottom:14px
}

.vault-unlock {
  max-width:440px;
  padding:10px 0
}

.vault-unlock h2 {
  margin-bottom:12px
}

.vault-unlock p {
  color:var(--muted);
  font-size:12px;
  margin-bottom:22px
}

.vault-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:20px
}

.vault-toolbar .badge {
  margin-right:auto
}

.draft-card {
  border:1px solid var(--line);
  background:#142338;
  border-radius:11px;
  padding:18px;
  min-width:0
}

.draft-card+.draft-card {
  margin-top:12px
}

.draft-card h3 {
  font-size:14px;
  overflow-wrap:anywhere
}

.draft-card time {
  font-size:10px;
  color:var(--subtle)
}

.draft-card p {
  margin:10px 0 16px;
  font-size:12px;
  color:var(--muted);
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.draft-card .button {
  font-size:10px;
  min-height:33px;
  padding:7px 9px
}

.draft-footer {
  display:flex;
  gap:8px;
  flex-wrap:wrap
}

.file-input {
  font-size:12px;
  max-width:100%;
  color:var(--muted)
}

.file-input::file-selector-button {
  margin-right:12px;
  border:1px solid var(--line);
  border-radius:7px;
  background:var(--surface2);
  color:var(--text);
  padding:9px 13px;
  font:inherit;
  cursor:pointer
}

.workspace-footer {
  display:flex;
  justify-content:space-between;
  gap:18px;
  font-size:9px;
  color:#7388a1;
  padding:19px 36px;
  border-top:1px solid var(--line-soft);
  margin-top:auto
}

.modal {
  max-width:640px;
  width:calc(100% - 40px);
  max-height:calc(100svh - 60px);
  border:1px solid #3e5368;
  border-radius:18px;
  background:#132135;
  color:var(--text);
  box-shadow:var(--shadow);
  padding:26px;
  overflow-y:auto;
  overscroll-behavior:contain
}

.modal::backdrop {
  background:#020910c9;
  backdrop-filter:blur(6px)
}

.modal-heading {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:25px
}

.modal-heading h2 {
  font-size:23px;
  margin-top:8px
}

.modal-heading .eyebrow {
  font-size:8px
}

.modal-heading .icon-button {
  width:30px;
  height:30px;
  flex-shrink:0
}

.modal-actions {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  margin-top:23px;
  padding-top:19px;
  border-top:1px solid var(--line)
}

.modal-actions .spacer {
  flex:1
}

.modal .form-note+.field {
  margin-top:5px
}

.toast-region {
  position:fixed;
  bottom:24px;
  right:24px;
  width:min(380px,calc(100vw - 40px));
  z-index:100;
  display:flex;
  flex-direction:column;
  gap:10px
}

.toast {
  border:1px solid #3d665d;
  background:#163831;
  color:#d9f2e9;
  border-radius:11px;
  box-shadow:0 8px 30px #0005;
  padding:13px 14px;
  display:flex;
  gap:11px;
  align-items:flex-start;
  font-size:12px;
  animation:toast-in .2s ease-out
}

.toast.error {
  border-color:#865059;
  background:#482c34;
  color:#ffdcdd
}

.toast.info {
  background:#1a3047;
  border-color:#4a6177;
  color:#d9e8f8
}

.toast>span {
  flex:1;
  overflow-wrap:anywhere
}

.toast button {
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font-size:18px;
  line-height:1.3;
  flex-shrink:0
}

.loading-state {
  padding:70px 20px;
  text-align:center;
  color:var(--muted);
  font-size:13px
}

.loader {
  width:25px;
  height:25px;
  border:2px solid var(--line);
  border-top-color:var(--teal);
  border-radius:50%;
  margin:0 auto 18px;
  animation:spin .8s linear infinite
}

.noscript {
  position:fixed;
  inset:auto 15px 15px;
  background:#603b30;
  color:white;
  border:1px solid #c28d66;
  border-radius:8px;
  padding:20px;
  z-index:200
}

.divider {
  height:1px;
  background:var(--line);
  margin:22px 0
}

.mt {
  margin-top:22px
}

.count-text {
  font-size:11px;
  color:var(--subtle)
}

.radio-options {
  display:flex;
  flex-direction:column;
  gap:10px;
  margin-bottom:20px
}

.radio-option {
  display:flex;
  align-items:flex-start;
  gap:11px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:9px;
  background:#0d1a2b;
  font-size:12px;
  cursor:pointer
}

.radio-option input {
  accent-color:var(--teal);
  margin-top:4px
}

.radio-option strong {
  display:block;
  font-weight:550
}

.radio-option small {
  display:block;
  color:var(--muted);
  margin-top:3px;
  font-size:11px
}

.health-detail {
  font-size:11px;
  color:var(--subtle);
  margin-top:15px
}

.section-label {
  font-size:11px;
  color:var(--subtle);
  margin:24px 0 12px
}

.checklist {
  display:flex;
  flex-direction:column;
  gap:13px
}

.checklist-item {
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:var(--muted);
  font-size:11px
}

.checklist-item .icon {
  width:15px;
  height:15px;
  color:var(--teal);
  margin-top:2px
}

.danger-zone {
  border-top:1px solid #503d47;
  margin-top:25px;
  padding-top:20px
}

.danger-zone p {
  font-size:11px;
  color:var(--muted);
  margin-bottom:15px
}

.vault-locked-icon {
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border:1px solid #375b57;
  background:#183b36;
  border-radius:13px;
  color:var(--teal);
  margin-bottom:22px
}

.vault-locked-icon .icon {
  width:25px;
  height:25px
}

.details-expander {
  font-size:12px;
  color:var(--muted);
  margin:15px 0
}

.details-expander summary {
  cursor:pointer
}

.details-expander p {
  margin-top:12px;
  font-size:11px;
  line-height:1.8
}

.unread-dot {
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--amber);
  display:inline-block
}

.check-heading {
  font-size:11px;
  color:var(--teal);
  letter-spacing:.04em;
  margin-bottom:11px
}

.read-only-label {
  font-size:11px;
  color:var(--amber);
  margin:0 0 18px
}

.screen-note {
  color:var(--muted);
  font-size:11px;
  line-height:1.8;
  margin:13px 0
}

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

@keyframes spin {
  to {
    transform:rotate(360deg)
  }

}

@keyframes toast-in {
  from {
    opacity:0;
    transform:translateY(10px)
  }

  to {
    opacity:1;
    transform:translateY(0)
  }

}

@media(min-width:1600px) {
  .sidebar {
    padding-left:26px;
    padding-right:26px
  }

  .app-shell {
    grid-template-columns:244px minmax(0,1fr)
  }

  #main-content {
    padding-top:43px
  }

}

@media(max-width:1200px) {
  .app-shell {
    grid-template-columns:196px minmax(0,1fr)
  }

  .sidebar {
    padding-left:13px;
    padding-right:13px
  }

  .topbar {
    padding:0 24px
  }

  #main-content {
    padding:28px 24px 36px
  }

  .project-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .kanban {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .metrics {
    gap:10px
  }

  .metric {
    padding:16px
  }

  .dashboard-grid {
    gap:17px
  }

  .panel {
    padding:18px
  }

  .vault-layout {
    grid-template-columns:minmax(0,1fr) 240px
  }

  .topbar-context {
    font-size:10px
  }

  .connection-label {
    display:none
  }

  .workspace-footer {
    padding-left:24px;
    padding-right:24px
  }

}

@media(max-width:950px) {
  .auth-screen {
    grid-template-columns:1fr 1fr
  }

  .auth-story {
    padding:32px 30px
  }

  .auth-intro h1 {
    font-size:37px
  }

  .orbit-art {
    height:220px
  }

  .ring-one {
    width:240px;
    height:110px
  }

  .ring-two {
    width:190px;
    height:190px
  }

  .auth-side {
    padding:30px
  }

  .dashboard-grid {
    grid-template-columns:1fr
  }

  .hero h2 {
    font-size:23px
  }

  .hero-decoration {
    width:80px;
    height:80px
  }

  .hero-decoration .icon {
    width:28px;
    height:28px
  }

  .project-detail-grid,.setting-grid,.vault-layout {
    grid-template-columns:1fr
  }

  .vault-aside {
    display:grid;
    grid-template-columns:30px 1fr;
    column-gap:15px
  }

  .vault-aside>.icon {
    grid-row:span 3
  }

  .vault-aside p,.vault-aside h3 {
    grid-column:2
  }

  .vault-aside p+p {
    margin-top:9px
  }

  .page-heading {
    align-items:flex-start
  }

  .page-heading .actions-row {
    flex-shrink:1;
    justify-content:flex-end
  }

  .page-heading .button {
    font-size:11px;
    padding:9px 12px
  }

  .metrics {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }

  .metric-value {
    font-size:29px
  }

  .project-detail-heading {
    gap:9px
  }

  .workspace-footer span:first-child {
    max-width:250px
  }

}

@media(max-width:700px) {
  body {
    font-size:14px
  }

  .auth-screen {
    display:flex;
    flex-direction:column;
    min-height:100svh
  }

  .auth-story {
    padding:24px 26px 25px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }

  .auth-brand img {
    width:32px;
    height:32px
  }

  .auth-brand>span {
    font-size:19px
  }

  .auth-brand small {
    font-size:7px
  }

  .auth-intro {
    padding-top:32px;
    margin:0
  }

  .auth-intro .eyebrow {
    font-size:8px
  }

  .auth-intro h1 {
    font-size:34px;
    margin-top:18px
  }

  .auth-intro>p {
    font-size:12px;
    margin-top:17px;
    max-width:410px
  }

  .orbit-art,.auth-foot {
    display:none
  }

  .auth-side {
    padding:29px 26px 25px;
    align-items:stretch
  }

  .auth-card {
    max-width:100%;
    margin:auto
  }

  .auth-card>.tag {
    font-size:9px
  }

  .auth-card h2 {
    font-size:23px;
    margin-top:15px
  }

  .auth-card>p {
    font-size:12px;
    margin-bottom:23px
  }

  .auth-version {
    margin-top:30px;
    text-align:center;
    font-size:9px
  }

  .app-shell {
    display:block;
    padding-bottom:calc(70px + env(safe-area-inset-bottom))
  }

  .sidebar {
    position:fixed;
    bottom:0;
    top:auto;
    left:0;
    right:0;
    height:auto;
    padding:0;
    z-index:40;
    background:#0d192bec;
    backdrop-filter:blur(15px);
    border-right:0;
    border-top:1px solid #2d4056
  }

  .sidebar>.brand,.nav-caption,.sidebar-bottom {
    display:none
  }

  .main-nav {
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:0;
    padding:5px 4px calc(5px + env(safe-area-inset-bottom))
  }

  .main-nav a {
    flex-direction:column;
    justify-content:center;
    gap:4px;
    min-height:56px;
    padding:6px 1px;
    border:0;
    border-radius:8px;
    font-size:9px;
    position:relative;
    line-height:1.3
  }

  .main-nav a[aria-current=page] {
    background:#203f384d
  }

  .nav-glyph {
    font-size:20px;
    width:auto
  }

  .nav-count {
    position:absolute;
    top:1px;
    right:8px;
    font-size:8px;
    line-height:14px;
    padding:0 4px
  }

  .topbar {
    padding:0 18px;
    height:65px;
    gap:8px;
    background:#0d192a99
  }

  .topbar-context {
    display:none
  }

  .mobile-brand {
    display:flex;
    align-items:center;
    gap:7px;
    font-size:15px;
    letter-spacing:.13em
  }

  .topbar-actions {
    gap:9px
  }

  .owner-avatar {
    width:29px;
    height:29px;
    font-size:10px
  }

  .pause-button {
    font-size:10px;
    padding:7px 9px;
    min-height:31px
  }

  .topbar .icon-button {
    width:31px;
    height:31px;
    font-size:21px
  }

  #main-content {
    padding:25px 18px 30px
  }

  .page-heading {
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:23px
  }

  .page-heading h1 {
    font-size:27px;
    margin-top:5px
  }

  .page-heading .eyebrow {
    font-size:8px
  }

  .page-heading p {
    font-size:12px;
    margin-top:8px
  }

  .page-heading .actions-row {
    justify-content:flex-start
  }

  .page-heading .button {
    min-height:38px;
    padding:9px 13px
  }

  .hero {
    padding:21px;
    margin-bottom:18px
  }

  .hero h2 {
    font-size:22px
  }

  .hero p {
    font-size:11px
  }

  .hero .eyebrow {
    font-size:8px
  }

  .hero-decoration {
    display:none
  }

  .metrics {
    gap:10px;
    margin-bottom:23px
  }

  .metric {
    padding:15px
  }

  .metric-top {
    font-size:10px
  }

  .metric-foot {
    font-size:9px
  }

  .metric-value {
    font-size:29px;
    margin-top:6px
  }

  .section-heading h2 {
    font-size:16px
  }

  .panel {
    padding:18px;
    border-radius:12px
  }

  .dashboard-grid {
    gap:20px
  }

  .project-grid {
    gap:12px
  }

  .project-card {
    padding:15px;
    min-height:166px;
    gap:13px
  }

  .project-card h3 {
    font-size:13px
  }

  .project-card .badge {
    font-size:8px;
    padding:2px 5px
  }

  .project-initial {
    width:29px;
    height:29px;
    font-size:10px
  }

  .project-top {
    gap:5px
  }

  .project-bottom {
    font-size:9px;
    gap:6px
  }

  .project-bottom .icon {
    width:12px;
    height:12px
  }

  .kanban {
    gap:12px
  }

  .kanban-column {
    padding:10px
  }

  .task-card {
    padding:11px
  }

  .task-card h3 {
    font-size:12px
  }

  .column-heading {
    font-size:10px
  }

  .task-meta {
    font-size:9px;
    gap:5px
  }

  .task-status {
    font-size:10px
  }

  .filter-bar {
    gap:9px;
    margin-bottom:20px
  }

  .filter-select {
    font-size:11px;
    min-width:145px;
    min-height:36px
  }

  .filter-bar label {
    font-size:10px
  }

  .decision-card {
    padding:15px
  }

  .decision-preview {
    font-size:12px
  }

  .decision-footer {
    gap:11px;
    margin-top:13px
  }

  .decision-target {
    font-size:10px
  }

  .decision-meta {
    font-size:9px;
    gap:6px
  }

  .decision-meta .time {
    margin-left:0
  }

  .segmented {
    width:100%;
    margin-bottom:18px
  }

  .segmented button {
    font-size:10px;
    flex:1;
    padding:8px 10px
  }

  .workspace-footer {
    padding:16px 18px;
    display:flex;
    flex-direction:column;
    gap:5px;
    font-size:9px
  }

  .workspace-footer span:first-child {
    max-width:none
  }

  .modal {
    width:calc(100% - 24px);
    padding:21px 18px;
    max-height:calc(100svh - 30px);
    border-radius:14px
  }

  .modal-heading {
    gap:12px;
    margin-bottom:22px
  }

  .modal-heading h2 {
    font-size:21px
  }

  .modal-actions {
    gap:9px;
    justify-content:stretch
  }

  .modal-actions .button {
    flex:1;
    min-width:100px;
    font-size:12px
  }

  .modal-actions .spacer {
    display:none
  }

  .field-row {
    grid-template-columns:1fr;
    gap:0
  }

  .field input,.field select,.field textarea {
    font-size:16px
  }

  .review-target {
    gap:9px
  }

  .detail-box {
    padding:10px
  }

  .detail-box strong {
    font-size:11px
  }

  .exact-message {
    padding:16px;
    font-size:13px
  }

  .toast-region {
    right:12px;
    bottom:calc(83px + env(safe-area-inset-bottom));
    width:calc(100vw - 24px)
  }

  .connection-banner {
    font-size:11px;
    padding:9px 15px
  }

  .vault-toolbar .actions-row {
    width:100%;
    justify-content:flex-start
  }

  .vault-toolbar .button {
    font-size:10px;
    padding:7px 10px;
    min-height:33px
  }

  .vault-aside {
    display:block
  }

  .vault-aside>.icon {
    display:none
  }

  .vault-aside h3 {
    font-size:14px
  }

  .vault-aside p {
    font-size:11px
  }

  .callout {
    font-size:11px;
    padding:13px
  }

  .field-help {
    font-size:11px
  }

  .form-note {
    font-size:11px
  }

  .empty-state.large {
    padding:35px 20px;
    min-height:220px
  }

  .status-strip {
    gap:6px
  }

  .status-strip .badge {
    font-size:9px
  }

  .project-detail-grid {
    gap:17px
  }

  .project-detail-heading h1 {
    font-size:26px
  }

  .project-detail-heading .badge {
    font-size:9px
  }

  .setting-grid {
    gap:17px
  }

}

@media(max-width:370px) {
  .project-grid,.kanban {
    grid-template-columns:1fr
  }

  .topbar {
    padding:0 12px
  }

  .mobile-brand strong {
    font-size:13px
  }

  .topbar-actions {
    gap:6px
  }

  #main-content {
    padding-left:13px;
    padding-right:13px
  }

  .nav-count {
    right:4px
  }

  .hero {
    padding:18px
  }

  .metric {
    padding:12px
  }

}

@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior:auto!important;
    animation:none!important;
    transition:none!important
  }

}
