/* [next]/internal/font/google/inter_b303bcd1.module.css [app-client] (css) */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/2c55a0e60120577a-s.0-dom-5bn10r2.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/9c72aa0f40e4eef8-s.1y4-pdgsjb-pw.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/ad66f9afd8947f86-s.3lvt2whj97whp.woff2") format("woff2");
  unicode-range: U+1F??;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/5476f68d60460930-s.2uwcyprjm3xu3.woff2") format("woff2");
  unicode-range: U+370-377, U+37A-37F, U+384-38A, U+38C, U+38E-3A1, U+3A3-3FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/2bbe8d2671613f1f-s.0k62hbripvv8p.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/1bffadaabf893a1e-s.3-6t-g6q0vh0a.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../media/83afe278b6a6bb3c-s.p.2bn3s6zvc0dyp.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter Fallback;
  src: local(Arial);
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0.0%;
  size-adjust: 107.12%;
}

.inter_b303bcd1-module__4hez4W__className {
  font-family: Inter, Inter Fallback;
  font-style: normal;
}

.inter_b303bcd1-module__4hez4W__variable {
  --font-inter: "Inter", "Inter Fallback";
}

/* [project]/app/globals.css [app-client] (css) */
:root {
  --black: #000;
  --ink: #1a1a1a;
  --gray-dark: #3d3d3d;
  --gray-mid: #a0a0a0;
  --gray-light: #e8e8e8;
  --gray-bg: #f4f4f4;
  --white: #fff;
  --ice: #a8c5da;
  --ice-plus: #7aaec8;
  --ice-bg: #eef5f9;
}

:root[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --black: #e8f0f5;
  --ink: #e8f0f5;
  --gray-dark: #b7c3cc;
  --gray-mid: #91a0ad;
  --gray-light: #33414d;
  --gray-bg: #19232c;
  --white: #10171e;
  --ice: #a8c5da;
  --ice-plus: #8ec5e3;
  --ice-bg: #1b303e;
}

* {
  box-sizing: border-box;
}

.thinking-view {
  max-width: none;
}

.thinking-layout {
  grid-template-columns: 180px minmax(0, 1fr) 260px;
  gap: 16px;
  min-height: 650px;
  display: grid;
}

.thinking-boards, .thinking-inspector {
  border: 1px solid var(--gray-light);
  background: #fff;
  border-radius: 6px;
  min-width: 0;
  padding: 16px;
}

.thinking-boards > button {
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
  background: none;
  border: 0;
  border-radius: 4px;
  width: 100%;
  padding: 11px;
  display: block;
}

.thinking-boards > button.active {
  background: var(--ice-bg);
  color: #24506b;
}

.thinking-boards p, .thinking-inspector p {
  color: var(--gray-mid);
  font-size: 12px;
  line-height: 1.5;
}

.thinking-main {
  min-width: 0;
}

.thinking-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  margin-bottom: 12px;
  display: flex;
}

.thinking-toolbar > div, .thinking-actions, .thinking-connect {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.thinking-toolbar button, .thinking-toolbar select, .thinking-connect button, .thinking-connect select, .thinking-actions button, .thinking-folder button {
  border: 1px solid var(--gray-light);
  cursor: pointer;
  background: #fff;
  border-radius: 4px;
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}

.thinking-toolbar .primary-button, .thinking-actions .primary-button {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.thinking-connect {
  background: var(--ice-bg);
  margin-bottom: 12px;
  padding: 8px;
  font-size: 12px;
}

.thinking-viewport {
  border: 1px solid var(--gray-light);
  cursor: grab;
  touch-action: none;
  background-color: #f8fafb;
  background-image: radial-gradient(#cdd9e1 1px, #0000 1px);
  background-size: 22px 22px;
  border-radius: 6px;
  height: min(68vh, 700px);
  min-height: 470px;
  position: relative;
  overflow: hidden;
}

.thinking-viewport:active {
  cursor: grabbing;
}

.thinking-viewport.is-selecting, .thinking-viewport.is-selecting:active {
  cursor: crosshair;
}

.thinking-selection {
  z-index: 5;
  pointer-events: none;
  background: #78b5d536;
  border: 1px solid #3588b8;
  position: absolute;
}

.thinking-world {
  transform-origin: 0 0;
  position: absolute;
  top: 0;
  left: 0;
}

.thinking-lines {
  pointer-events: none;
  width: 1px;
  height: 1px;
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}

.thinking-node {
  cursor: default;
  background: #fff;
  border: 1px solid #b8cad5;
  border-radius: 8px;
  position: absolute;
  overflow: hidden;
  box-shadow: 0 5px 18px #17212a16;
}

.thinking-node.selected {
  border-color: #3588b8;
  box-shadow: 0 0 0 2px #a8c5da, 0 5px 18px #17212a16;
}

.thinking-node.question, .thinking-node.assumption, .thinking-node.problem {
  border-top: 3px solid #d8a55c;
}

.thinking-node.decision, .thinking-node.action {
  border-top: 3px solid #5fa890;
}

.thinking-node.reference {
  border-top: 3px solid #7894a7;
}

.thinking-node-head {
  cursor: move;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
  background: #f4f8fa;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  display: flex;
}

.thinking-node-head span {
  color: #527083;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 10px;
}

.thinking-node-head strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.thinking-node-body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: calc(100% - 67px);
  padding: 10px 14px;
  font-size: 12px;
  line-height: 1.45;
  overflow: auto;
}

.thinking-node-body p {
  margin: 0;
}

.thinking-source {
  gap: 3px;
  margin-bottom: 8px;
  display: grid;
}

.thinking-source small {
  color: var(--gray-mid);
}

.thinking-source em {
  color: #ab6e32;
}

.thinking-resize {
  cursor: nwse-resize;
  touch-action: none;
  background: linear-gradient(135deg, #0000 50%, #a8c5da 51%);
  width: 18px;
  height: 18px;
  position: absolute;
  bottom: 0;
  right: 0;
}

.thinking-zoom {
  border: 1px solid var(--gray-light);
  background: #fff;
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 4px;
  font-size: 11px;
  display: flex;
  position: absolute;
  bottom: 12px;
  right: 12px;
}

.thinking-zoom button {
  cursor: pointer;
  background: #fff;
  border: 0;
  place-items: center;
  display: grid;
}

.thinking-footer {
  color: var(--gray-mid);
  padding-top: 8px;
  font-size: 11px;
}

.thinking-inspector label {
  color: var(--gray-dark);
  margin: 12px 0;
  font-size: 11px;
  display: block;
}

.thinking-inspector input, .thinking-inspector textarea, .thinking-inspector select {
  border: 1px solid var(--gray-light);
  background: #fff;
  border-radius: 4px;
  width: 100%;
  margin-top: 5px;
  padding: 8px;
  display: block;
}

.thinking-inspector textarea {
  resize: vertical;
  min-height: 115px;
}

.thinking-folder {
  overflow-wrap: anywhere;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  display: flex;
}

.thinking-folder button {
  text-align: left;
}

.thinking-connection {
  border-bottom: 1px solid var(--gray-light);
  overflow-wrap: anywhere;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 0;
  font-size: 11px;
  display: flex;
}

.thinking-connection small {
  color: var(--gray-mid);
  margin-top: 3px;
  display: block;
}

.thinking-connection button {
  cursor: pointer;
  background: none;
  border: 0;
}

.thinking-connection-manager {
  border-top: 1px solid var(--gray-light);
  margin-top: 22px;
  padding-top: 16px;
}

.thinking-connection-manager h3 {
  margin: 0;
  font-size: 13px;
}

.thinking-connection-manager > .primary-button {
  min-height: 36px;
  padding: 6px 12px;
}

.thinking-toolbar [aria-pressed="true"] {
  background: var(--ice-bg);
  border-color: var(--ice-plus);
}

@media (max-width: 1150px) {
  .thinking-layout {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .thinking-inspector {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .thinking-layout {
    display: block;
  }

  .thinking-boards {
    align-items: center;
    margin-bottom: 10px;
    display: flex;
    overflow-x: auto;
  }

  .thinking-boards > button {
    width: auto;
    min-width: 110px;
  }

  .thinking-inspector {
    margin-top: 12px;
  }

  .thinking-viewport {
    height: 55vh;
    min-height: 420px;
  }
}

html, body {
  background: var(--white);
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-inter), Inter, sans-serif;
  margin: 0;
  font-weight: 400;
}

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

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

button {
  color: inherit;
}

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

:where(button, a, input, select, textarea):focus-visible {
  outline: 2px solid var(--ice-plus);
  outline-offset: 2px;
}

code, .mono {
  font-family: var(--font-inter), Inter, sans-serif;
  font-variant-numeric: tabular-nums;
}

.auth-loading {
  min-height: 100svh;
  color: var(--gray-mid);
  letter-spacing: .06em;
  text-transform: uppercase;
  place-content: center;
  justify-items: center;
  gap: 16px;
  font-size: 12px;
  display: grid;
}

.auth-loading .pure-mark {
  width: 48px;
  animation: .7s cubic-bezier(.2, .8, .2, 1) both mark-in;
}

.auth-page {
  grid-template-columns: minmax(420px, 1.06fr) minmax(420px, .94fr);
  min-height: 100svh;
  display: grid;
}

.auth-brand {
  background: var(--black);
  min-height: 100svh;
  color: var(--white);
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.auth-brand:after {
  content: "";
  aspect-ratio: 1;
  width: min(42vw, 620px);
  box-shadow: inset 0 0 0 7vw var(--black), inset 0 0 0 calc(7vw + 1px) #242424, inset 0 0 0 14vw var(--black), inset 0 0 0 calc(14vw + 1px) #242424;
  border: 1px solid #242424;
  border-radius: 8%;
  position: absolute;
  bottom: -17vw;
  right: -13vw;
  transform: rotate(45deg);
}

.auth-lockup {
  z-index: 1;
  align-items: center;
  gap: 14px;
  display: flex;
  position: relative;
}

.auth-lockup .pure-mark {
  width: 44px;
  height: 44px;
}

.auth-lockup strong, .auth-lockup span {
  display: block;
}

.auth-lockup strong {
  letter-spacing: -.02em;
  font-size: 16px;
  font-weight: 500;
}

.auth-lockup span {
  color: var(--ice);
  letter-spacing: .08em;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 300;
}

.auth-statement {
  z-index: 1;
  max-width: 600px;
  animation: .65s cubic-bezier(.2, .8, .2, 1) 80ms both auth-enter;
  position: relative;
}

.auth-statement > span {
  color: var(--gray-mid);
  letter-spacing: .12em;
  font-size: 11px;
}

.auth-statement h1 {
  letter-spacing: -.035em;
  margin: 20px 0 24px;
  font-size: clamp(48px, 5.4vw, 78px);
  font-weight: 500;
  line-height: 1.04;
}

.auth-statement h1 em {
  color: var(--ice);
  font-style: normal;
}

.auth-statement p {
  max-width: 440px;
  color: var(--gray-mid);
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

.auth-meta {
  z-index: 1;
  color: #666;
  letter-spacing: .08em;
  font-size: 10px;
  position: relative;
}

.auth-form-side {
  background: var(--white);
  place-items: center;
  padding: 48px;
  display: grid;
}

.auth-form {
  width: min(400px, 100%);
  animation: .55s cubic-bezier(.2, .8, .2, 1) .16s both auth-enter;
}

.auth-form-icon {
  background: var(--ice-bg);
  color: #31566b;
  border-radius: 8px;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 40px;
  display: grid;
}

.auth-form h2 {
  letter-spacing: -.02em;
  margin: 10px 0 8px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.auth-form > p {
  color: var(--gray-dark);
  margin: 0 0 32px;
  font-size: 14px;
  line-height: 1.8;
}

.auth-form label, .account-form label {
  margin: 16px 0;
  display: block;
}

.auth-form label > span, .account-form label > span {
  color: var(--gray-dark);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-size: 11px;
  display: block;
}

.auth-form input, .account-form input {
  border: .5px solid var(--gray-light);
  background: var(--white);
  border-radius: 4px;
  outline: 0;
  width: 100%;
  height: 44px;
  padding: 0 12px;
}

.auth-form input:focus, .account-form input:focus {
  border-color: var(--black);
}

.auth-form input:disabled {
  background: var(--gray-bg);
}

.auth-submit {
  width: 100%;
  margin-top: 8px;
  height: 44px !important;
}

.auth-link {
  text-decoration: none;
}

.auth-form > small {
  color: var(--gray-mid);
  text-align: center;
  margin-top: 16px;
  font-size: 11px;
  display: block;
}

.setup-notice {
  background: var(--ice-bg);
  border: .5px solid var(--ice);
  color: #31566b;
  border-radius: 8px;
  gap: 12px;
  margin: -8px 0 24px;
  padding: 16px;
  display: flex;
}

.setup-notice svg {
  flex: none;
  margin-top: 2px;
}

.setup-notice strong, .setup-notice span {
  display: block;
}

.setup-notice strong {
  font-size: 13px;
  font-weight: 500;
}

.setup-notice span {
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.6;
}

.setup-notice code {
  color: var(--black);
}

.form-error {
  border-left: 2px solid var(--black);
  background: var(--gray-bg);
  color: var(--gray-dark);
  margin: 12px 0;
  padding: 10px 12px;
  font-size: 12px;
}

.register-page {
  grid-template-columns: minmax(360px, .78fr) minmax(520px, 1.22fr);
  min-height: 100svh;
  display: grid;
}

.register-brand {
  background: var(--black);
  min-height: 100svh;
  color: var(--white);
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.register-brand:after {
  content: "";
  aspect-ratio: 1;
  width: min(38vw, 520px);
  box-shadow: inset 0 0 0 6vw var(--black), inset 0 0 0 calc(6vw + 1px) #242424, inset 0 0 0 12vw var(--black), inset 0 0 0 calc(12vw + 1px) #242424;
  border: 1px solid #242424;
  border-radius: 8%;
  position: absolute;
  bottom: -12vw;
  right: -16vw;
  transform: rotate(45deg);
}

.register-statement {
  z-index: 1;
  max-width: 480px;
  animation: .65s cubic-bezier(.2, .8, .2, 1) 80ms both auth-enter;
  position: relative;
}

.register-statement > span {
  color: var(--gray-mid);
  letter-spacing: .12em;
  font-size: 10px;
}

.register-statement h1 {
  letter-spacing: -.035em;
  margin: 18px 0 22px;
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 500;
  line-height: 1.04;
}

.register-statement h1 em {
  color: var(--ice);
  font-style: normal;
}

.register-statement p {
  max-width: 400px;
  color: var(--gray-mid);
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}

.register-form-side {
  background: var(--white);
  place-items: center;
  padding: 48px;
  display: grid;
}

.register-form {
  width: min(520px, 100%);
  padding: 32px 0;
}

.register-form .auth-form-icon {
  margin: 36px 0 32px;
}

.register-passwords {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.register-passwords label {
  margin: 0;
}

.register-form label small {
  color: var(--gray-mid);
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.5;
  display: block;
}

.back-link {
  color: var(--gray-dark);
  align-items: center;
  gap: 7px;
  font-size: 11px;
  text-decoration: none;
  display: inline-flex;
}

.back-link:hover {
  color: var(--black);
}

@keyframes auth-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: scale(.86);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

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

.sidebar {
  height: 100vh;
  color: var(--white);
  background: var(--black);
  flex-direction: column;
  padding: 32px 20px 20px;
  display: flex;
  position: sticky;
  top: 0;
}

.brand {
  align-items: center;
  gap: 12px;
  padding: 0 8px 48px;
  display: flex;
}

.brand .pure-mark {
  width: 34px;
  height: 34px;
}

.brand strong, .brand span {
  display: block;
}

.brand strong {
  letter-spacing: -.02em;
  font-size: 14px;
  font-weight: 500;
}

.brand span {
  color: var(--ice);
  letter-spacing: .12em;
  margin-top: 2px;
  font-size: 8px;
  font-weight: 300;
}

.sidebar nav {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.nav-item {
  color: #777;
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  border-radius: 4px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
  transition: background .18s, color .18s;
  display: flex;
}

.nav-item svg {
  width: 16px;
  height: 16px;
}

.nav-item:hover {
  color: var(--white);
  background: #101010;
}

.nav-item.active {
  background: var(--white);
  color: var(--black);
}

.nav-item.active svg {
  color: var(--ice-plus);
}

.sidebar-spacer {
  flex: 1;
}

.profile {
  border-top: .5px solid #292929;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 20px 8px 0;
  display: grid;
}

.avatar, .mini-avatar {
  background: var(--ice);
  color: var(--black);
  border-radius: 4px;
  place-items: center;
  font-size: 10px;
  font-weight: 500;
  display: grid;
}

.avatar {
  width: 32px;
  height: 32px;
}

.mini-avatar {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  display: inline-grid;
}

.profile strong, .profile span {
  display: block;
}

.profile strong {
  font-size: 12px;
  font-weight: 500;
}

.profile div span {
  color: #6f6f6f;
  margin-top: 3px;
  font-size: 10px;
}

main {
  min-width: 0;
}

.topbar {
  border-bottom: .5px solid var(--gray-light);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 10;
  background: #ffffffe6;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  height: 64px;
  padding: 0 48px;
  display: flex;
  position: sticky;
  top: 0;
}

.mobile-brand {
  display: none;
}

.signed-in-user {
  text-align: right;
}

.signed-in-user span, .signed-in-user small {
  display: block;
}

.signed-in-user span {
  font-size: 12px;
  font-weight: 500;
}

.signed-in-user small {
  color: var(--gray-mid);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 2px;
  font-size: 9px;
}

.icon-button, .row-action, .file-actions button, .file-actions a {
  cursor: pointer;
  color: var(--gray-mid);
  background: none;
  border: 0;
  flex: none;
  place-items: center;
  text-decoration: none;
  transition: color .16s, border-color .16s, background .16s, transform .16s;
  display: grid;
}

.icon-button {
  border: .5px solid var(--gray-light);
  border-radius: 4px;
  width: 40px;
  height: 40px;
}

.icon-button:hover {
  border-color: var(--black);
  color: var(--black);
  background: var(--gray-bg);
}

.icon-button:active, .file-actions button:active, .file-actions a:active {
  transform: translateY(1px);
}

.content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 48px 96px;
}

.view {
  width: 100%;
}

.view.narrow {
  max-width: 760px;
}

.enter {
  animation: .4s cubic-bezier(.2, .75, .25, 1) both enter;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.page-heading {
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  padding-top: 2px;
  display: flex;
}

.page-heading:before {
  content: "";
  background: var(--black);
  align-self: flex-start;
  width: 32px;
  height: 2px;
  margin-top: -18px;
  position: absolute;
}

.page-heading h1 {
  letter-spacing: -.02em;
  margin: 8px 0;
  font-size: clamp(32px, 3.3vw, 42px);
  font-weight: 500;
  line-height: 1.15;
}

.page-heading p, .section-heading p, .settings-title p {
  color: var(--gray-dark);
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.eyebrow {
  color: var(--gray-mid);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 400;
}

.text-button {
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  transition: color .16s, background .16s;
  display: inline-flex;
}

.text-button:hover {
  color: var(--ice-plus);
}

.workspace-hub {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.hub-link {
  text-align: left;
  border: .5px solid var(--gray-light);
  background: var(--white);
  min-height: 240px;
  color: var(--ink);
  cursor: pointer;
  border-radius: 6px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
  transition: border-color .16s, transform .16s, background .16s;
  display: flex;
  position: relative;
}

.hub-link:hover {
  border-color: var(--black);
  background: var(--gray-bg);
  transform: translateY(-2px);
}

.hub-link strong {
  margin-top: auto;
  font-size: 24px;
  font-weight: 500;
}

.hub-link p {
  max-width: 300px;
  color: var(--gray-dark);
  margin: 10px 32px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

.hub-link > svg {
  position: absolute;
  bottom: 29px;
  right: 24px;
}

.primary-button, .secondary-button {
  cursor: pointer;
  letter-spacing: .005em;
  white-space: nowrap;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background .16s, color .16s, border-color .16s, transform .16s;
  display: inline-flex;
}

.primary-button svg, .secondary-button svg {
  stroke-width: 1.8px;
  flex: none;
  width: 16px;
  height: 16px;
}

.primary-button {
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
}

.primary-button:hover {
  background: var(--gray-dark);
  border-color: var(--gray-dark);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
}

.secondary-button:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-1px);
}

.primary-button:active, .secondary-button:active {
  transform: translateY(0);
}

.primary-button:disabled, .secondary-button:disabled {
  transform: none;
}

.section-heading {
  justify-content: space-between;
  margin: 48px 0 16px;
  display: flex;
}

.section-heading h2, .settings-form h2, .account-section h2 {
  letter-spacing: -.01em;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 500;
}

.table-wrap, .file-list {
  border-top: 1px solid var(--black);
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}

th {
  text-align: left;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 12px 10px;
  font-size: 9px;
  font-weight: 400;
}

td {
  border-top: .5px solid var(--gray-light);
  white-space: nowrap;
  padding: 14px 10px;
}

td:first-child {
  align-items: center;
  display: flex;
}

.mono {
  font-size: 11px;
}

.muted {
  color: var(--gray-mid);
  text-overflow: ellipsis;
  max-width: 260px;
  overflow: hidden;
}

tbody tr {
  transition: background .15s;
}

tbody tr:hover {
  background: var(--gray-bg);
}

.empty-state {
  min-height: 184px;
  color: var(--gray-mid);
  text-align: center;
  border-bottom: .5px solid var(--gray-light);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 32px;
  display: flex;
}

.empty-state strong {
  color: var(--gray-dark);
  font-size: 13px;
  font-weight: 500;
}

.empty-state span {
  max-width: 380px;
  font-size: 11px;
}

.toolbar, .file-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.search {
  border: .5px solid var(--gray-light);
  background: var(--white);
  width: min(380px, 100%);
  height: 36px;
  color: var(--gray-mid);
  border-radius: 4px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  display: flex;
}

.search:focus-within {
  border-color: var(--black);
}

.search input {
  background: none;
  border: 0;
  outline: 0;
  width: 100%;
  font-size: 12px;
}

.search.compact {
  width: 220px;
}

.toolbar select {
  border: .5px solid var(--gray-light);
  background: var(--white);
  border-radius: 4px;
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

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

.breadcrumbs {
  flex-wrap: wrap;
  align-items: center;
  gap: 3px;
  display: flex;
}

.breadcrumbs span {
  color: var(--gray-mid);
  align-items: center;
  display: flex;
}

.breadcrumbs button {
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  min-height: 32px;
  padding: 0 7px;
  font-size: 12px;
  font-weight: 500;
}

.breadcrumbs button:hover {
  background: var(--gray-bg);
}

.file-row {
  border-bottom: .5px solid var(--gray-light);
  min-width: 620px;
  min-height: 58px;
  color: var(--gray-mid);
  grid-template-columns: minmax(260px, 1fr) 150px 90px 75px;
  align-items: center;
  padding: 0 9px;
  font-size: 11px;
  transition: background .15s;
  display: grid;
}

.file-row:not(.file-header):hover {
  background: var(--gray-bg);
}

.file-row.file-header {
  min-height: 38px;
  color: var(--gray-mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 9px;
}

.file-name {
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  background: none;
  border: 0;
  align-items: center;
  gap: 11px;
  padding: 12px 0;
  font-weight: 500;
  text-decoration: none;
  display: flex;
}

.file-name svg {
  color: var(--ice-plus);
}

.file-name span {
  text-overflow: ellipsis;
  overflow: hidden;
}

.file-actions {
  opacity: 0;
  justify-content: flex-end;
  gap: 5px;
  transition: opacity .15s;
  display: flex;
}

.file-row:hover .file-actions {
  opacity: 1;
}

.file-actions button, .file-actions a {
  border-radius: 4px;
  width: 32px;
  height: 32px;
}

.file-actions button:hover, .file-actions a:hover {
  background: var(--white);
  color: var(--black);
}

.pure-dialog {
  background: var(--white);
  width: min(440px, 100vw - 32px);
  max-height: calc(100svh - 32px);
  color: var(--ink);
  border: 1px solid #e3e9ed;
  border-radius: 12px;
  margin: auto;
  padding: 0;
  animation: .18s cubic-bezier(.2, .8, .2, 1) both pure-dialog-in;
  overflow: auto;
  box-shadow: 0 24px 75px #0003;
}

.pure-dialog::backdrop {
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  background: #00000094;
  animation: .18s pure-dialog-backdrop;
}

.pure-dialog form {
  padding: 32px;
  position: relative;
}

.pure-dialog-close {
  width: 36px;
  height: 36px;
  color: var(--gray-mid);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  place-items: center;
  display: grid;
  position: absolute;
  top: 20px;
  right: 20px;
}

.pure-dialog-close:hover {
  background: var(--gray-bg);
  color: var(--black);
}

.pure-dialog-icon {
  background: var(--ice-bg);
  color: #31566b;
  border-radius: 7px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.pure-dialog-icon.is-destructive {
  color: #745b43;
  background: #f5f2ee;
}

.pure-dialog-eyebrow {
  color: #7894a7;
  letter-spacing: .12em;
  margin-top: 24px;
  font-size: 10px;
  font-weight: 500;
  display: block;
}

.pure-dialog h2 {
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  margin: 8px 0 10px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.24;
}

.pure-dialog p {
  color: var(--gray-dark);
  overflow-wrap: anywhere;
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
}

.pure-dialog-field {
  color: var(--gray-dark);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 25px;
  font-size: 11px;
  font-weight: 500;
  display: block;
}

.pure-dialog-field input {
  border: 1px solid var(--gray-light);
  width: 100%;
  height: 44px;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  background: #fff;
  border-radius: 4px;
  margin-top: 8px;
  padding: 0 12px;
  font-size: 13px;
  display: block;
}

.pure-dialog-field input:focus {
  border-color: var(--ice-plus);
  outline: 2px solid var(--ice-bg);
  outline-offset: 1px;
}

.pure-dialog-actions {
  border-top: 1px solid var(--gray-light);
  justify-content: flex-end;
  gap: 9px;
  margin-top: 30px;
  padding-top: 20px;
  display: flex;
}

.pure-dialog-actions button {
  min-width: 100px;
}

@keyframes pure-dialog-in {
  from {
    opacity: 0;
    transform: translateY(8px)scale(.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pure-dialog-backdrop {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .pure-dialog form {
    padding: 24px;
  }

  .pure-dialog-actions {
    flex-direction: column-reverse;
  }

  .pure-dialog-actions button {
    width: 100%;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pure-dialog, .pure-dialog::backdrop {
    animation: none;
  }
}

.settings-form {
  border-top: 1px solid var(--black);
  padding-top: 24px;
}

.settings-title {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  display: flex;
}

.settings-form label {
  grid-template-columns: 160px 1fr;
  align-items: center;
  gap: 18px;
  margin: 16px 0;
  display: grid;
}

.settings-form label span {
  color: var(--gray-dark);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 11px;
}

.settings-form input {
  margin: 0;
}

.settings-form > .secondary-button {
  margin-left: 178px;
}

.account-section {
  border-top: 1px solid var(--black);
  margin-top: 64px;
  padding-top: 24px;
}

.owner-badge {
  background: var(--ice);
  color: #1a3a4a;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  font-size: 10px;
  font-weight: 500;
  display: inline-flex;
}

.account-list {
  margin-bottom: 32px;
}

.account-list > div {
  border-bottom: .5px solid var(--gray-light);
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  display: grid;
}

.account-list p {
  margin: 0;
}

.account-list strong, .account-list small {
  display: block;
}

.account-list strong {
  font-size: 12px;
  font-weight: 500;
}

.account-list small {
  color: var(--gray-mid);
  margin-top: 3px;
  font-size: 10px;
}

.role-label {
  color: var(--gray-mid);
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 9px;
}

.account-form {
  background: var(--gray-bg);
  border-radius: 8px;
  padding: 24px;
}

.account-form-heading {
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  display: flex;
}

.account-form-heading strong {
  font-size: 13px;
  font-weight: 500;
}

.account-form label {
  margin: 12px 0;
}

.account-form label small {
  color: var(--gray-mid);
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.5;
  display: block;
}

.toast {
  z-index: 80;
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  font-size: 12px;
  animation: .25s both toast;
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
}

.toast span {
  color: var(--ice);
}

@keyframes toast {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

.loading {
  color: var(--gray-mid);
  padding: 80px 0;
  font-size: 12px;
}

.mobile-nav {
  display: none;
}

@media (max-width: 840px) {
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-brand {
    min-height: 36svh;
    padding: 28px 24px;
  }

  .auth-lockup .pure-mark {
    width: 36px;
  }

  .auth-statement h1 {
    margin: 12px 0 10px;
    font-size: 39px;
  }

  .auth-statement p, .auth-meta {
    display: none;
  }

  .auth-brand:after {
    width: 340px;
    bottom: -220px;
    right: -150px;
  }

  .auth-form-side {
    min-height: 64svh;
    padding: 40px 24px 56px;
  }

  .auth-form-icon {
    display: none;
  }

  .auth-form h2 {
    font-size: 28px;
  }

  .register-page {
    grid-template-columns: 1fr;
  }

  .register-brand {
    min-height: 27svh;
    padding: 28px 24px;
  }

  .register-brand .pure-mark {
    width: 36px;
    height: 36px;
  }

  .register-statement h1 {
    margin: 10px 0 0;
    font-size: 36px;
  }

  .register-statement p, .register-brand .auth-meta {
    display: none;
  }

  .register-brand:after {
    width: 300px;
    bottom: -230px;
    right: -160px;
  }

  .register-form-side {
    align-items: start;
    min-height: 73svh;
    padding: 28px 24px 56px;
  }

  .register-form {
    padding: 0;
  }

  .register-form .auth-form-icon {
    display: none;
  }

  .register-form .back-link {
    width: fit-content;
    margin-bottom: 28px;
    display: flex;
  }
}

@media (max-width: 760px) {
  .register-passwords {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .register-passwords label {
    margin: 12px 0;
  }

  .app-shell {
    display: block;
  }

  .sidebar {
    display: none;
  }

  .topbar {
    justify-content: flex-end;
    height: 60px;
    padding: 0 16px;
  }

  .mobile-brand {
    align-items: center;
    gap: 8px;
    margin-right: auto;
    font-size: 13px;
    font-weight: 500;
    display: flex;
  }

  .mobile-brand .pure-mark {
    width: 26px;
    height: 26px;
  }

  .signed-in-user {
    display: none;
  }

  .content {
    padding: 48px 16px 96px;
  }

  .page-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .page-heading h1 {
    font-size: 34px;
  }

  .workspace-hub {
    grid-template-columns: 1fr;
  }

  .hub-link {
    min-height: 190px;
  }

  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 760px;
  }

  .mobile-nav {
    bottom: 0;
    z-index: 20;
    padding: 7px 8px max(7px,env(safe-area-inset-bottom));
    background: #000000f5;
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    position: fixed;
    inset-inline: 0;
  }

  .mobile-nav .nav-item {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 5px 4px;
    font-size: 9px;
  }

  .mobile-nav .nav-item.active {
    color: var(--white);
    background: none;
  }

  .mobile-nav .nav-item.active svg {
    color: var(--ice);
  }

  .heading-actions {
    width: 100%;
  }

  .heading-actions button {
    flex: 1;
  }

  .file-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .search.compact {
    width: 100%;
  }

  .settings-form label {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .settings-form > .secondary-button {
    width: 100%;
    margin-left: 0;
  }

  .file-actions {
    opacity: 1;
  }

  .toast {
    justify-content: center;
    bottom: 78px;
    left: 16px;
    right: 16px;
  }

  .settings-title {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

.file-drop-zone {
  border: 1px dashed var(--gray-mid);
  background: var(--gray-bg);
  border-radius: 4px;
  margin: 0 0 24px;
  transition: background .16s, border-color .16s;
}

.file-drop-zone button {
  cursor: pointer;
  width: 100%;
  min-height: 132px;
  color: var(--gray-dark);
  background: none;
  border: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  display: flex;
}

.file-drop-zone button strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.file-drop-zone button span {
  font-size: 11px;
  line-height: 1.7;
}

.file-drop-zone button:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

.file-drop-zone:hover, .file-drop-zone.is-dragging {
  border-color: var(--ice-plus);
  background: var(--ice-bg);
}

.file-drop-zone.is-dragging {
  border-style: solid;
}

.file-drop-zone.is-uploading button {
  cursor: wait;
  opacity: .6;
}

.attachment-editor {
  margin: 24px 0;
}

.attachment-editor > small, .receipt-help {
  color: var(--gray-dark);
  font-size: 11px;
  line-height: 1.7;
}

.attachment-editor input[type="file"] {
  height: auto;
  padding: 12px;
}

.attachment-editor input[type="file"]::file-selector-button {
  border: 1px solid var(--black);
  background: var(--white);
  min-height: 34px;
  color: var(--black);
  font: inherit;
  cursor: pointer;
  border-radius: 4px;
  margin-right: 10px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 500;
  transition: background .16s, color .16s;
}

.attachment-editor input[type="file"]::file-selector-button:hover {
  background: var(--black);
  color: var(--white);
}

.attachment-list {
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.attachment-list li {
  border-bottom: .5px solid var(--gray-light);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 12px;
  display: flex;
}

.attachment-list a, .attachment-list span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.attachment-list small, .attachment-list button {
  flex-shrink: 0;
}

.receipt-fields {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.receipt-pair {
  grid-template-columns: 1fr 100px;
  gap: 12px;
  display: grid;
}

.notes-editor select, .receipt-filters select, .receipt-filters label input {
  border: .5px solid var(--gray-light);
  background: var(--white);
  border-radius: 4px;
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 10px 12px;
}

.receipts-workspace .notes-editor textarea {
  min-height: 120px;
}

.receipt-filters > input {
  flex: 100%;
  width: 100%;
}

.receipt-filters > label {
  flex: 120px;
  min-width: 0;
  font-size: 11px;
}

.receipt-filters label input {
  margin-top: 6px;
  display: block;
}

.receipt-filters .receipt-checkbox {
  flex-basis: 100%;
  align-items: center;
  gap: 8px;
  display: flex;
}

.receipt-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
}

.receipt-totals {
  background: var(--ice-bg);
  border-radius: 4px;
  padding: 16px;
}

.receipt-totals > small {
  font-size: 11px;
}

.receipt-totals > div {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.receipt-totals strong {
  font-size: 16px;
  font-weight: 500;
}

.receipt-totals div small {
  font-size: 11px;
}

.receipt-amount {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 500;
  display: block;
}

.missing-proof {
  color: #76511a;
  background: #fff3da;
  border-radius: 4px;
  margin-top: 12px;
  padding: 6px 10px;
  font-size: 11px;
  display: inline-block;
}

.notes-workspace {
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  gap: 48px;
  display: grid;
}

.notes-workspace .section-heading {
  align-items: center;
  margin: 0 0 24px;
}

.notes-workspace h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

.notes-editor {
  border-top: 1px solid var(--black);
  padding-top: 24px;
  scroll-margin-top: 88px;
}

.notes-editor label {
  margin: 0 0 20px;
  display: block;
}

.notes-editor label > span {
  letter-spacing: .06em;
  color: var(--gray-dark);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 11px;
  display: block;
}

.notes-editor input, .notes-editor textarea, .notes-filters > input {
  border: .5px solid var(--gray-light);
  background: var(--white);
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border-radius: 4px;
  outline: 0;
  padding: 10px 12px;
}

.notes-editor input {
  height: 44px;
}

.notes-editor textarea {
  resize: vertical;
  tab-size: 4;
  min-height: 360px;
  font-size: 14px;
  line-height: 1.8;
}

.notes-editor input:focus, .notes-editor textarea:focus, .notes-filters > input:focus {
  border-color: var(--black);
}

.notes-editor-footer {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.notes-editor-footer small {
  color: var(--gray-dark);
  font-size: 10px;
}

.notes-editor-footer > div {
  gap: 16px;
  display: flex;
}

.notes-history {
  border-top: 1px solid var(--black);
  min-width: 0;
  padding-top: 24px;
}

.notes-filters {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

.notes-filters .search {
  flex: 180px;
  width: auto;
}

.notes-filters > input {
  flex: 0 148px;
  width: 148px;
  height: 36px;
  padding: 0 8px;
  font-size: 12px;
}

.notes-filters.receipt-filters > input {
  flex: 100%;
  width: 100%;
}

.saved-note {
  border-bottom: .5px solid var(--gray-light);
  padding: 24px 0;
}

.saved-note-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.saved-note-heading time {
  color: var(--gray-dark);
  font-variant-numeric: tabular-nums;
  font-size: 11px;
}

.note-author {
  color: var(--gray-dark);
  overflow-wrap: anywhere;
  margin-top: 5px;
  font-size: 11px;
  display: block;
}

.saved-note-heading h3 {
  overflow-wrap: anywhere;
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 500;
}

.saved-note-heading > div:last-child {
  flex-shrink: 0;
  gap: 6px;
  display: flex;
}

.saved-note-heading > div:first-child {
  min-width: 0;
}

.note-toggle {
  gap: 6px;
  min-height: 44px;
  margin-top: 8px;
}

.saved-note p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  tab-size: 4;
  color: var(--gray-dark);
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.9;
}

@media (max-width: 960px) {
  .notes-workspace {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 760px) {
  .mobile-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .primary-button, .secondary-button {
    min-height: 44px;
  }

  .icon-button {
    width: 40px;
    height: 40px;
  }

  .notes-editor select, .receipt-filters select, .notes-editor input, .notes-editor textarea, .notes-filters input {
    font-size: 16px;
  }

  .notes-editor textarea {
    min-height: 280px;
  }

  .notes-editor-footer .primary-button {
    height: 44px;
  }
}

.auth-form-side, .register-form-side {
  position: relative;
}

.auth-theme-toggle {
  position: absolute;
  top: 28px;
  right: 28px;
}

input, select, textarea {
  color: var(--ink);
}

input::placeholder, textarea::placeholder {
  color: var(--gray-mid);
  opacity: 1;
}

:root[data-theme="dark"] .auth-brand, :root[data-theme="dark"] .register-brand, :root[data-theme="dark"] .sidebar {
  color: #f3f7fa;
  background: #090e13;
}

:root[data-theme="dark"] .auth-brand:after, :root[data-theme="dark"] .register-brand:after {
  box-shadow: none;
  border-color: #25313b;
}

:root[data-theme="dark"] .auth-statement > span, :root[data-theme="dark"] .auth-statement p, :root[data-theme="dark"] .register-statement > span, :root[data-theme="dark"] .register-statement p {
  color: #9aabba;
}

:root[data-theme="dark"] .auth-meta, :root[data-theme="dark"] .profile div span {
  color: #8898a6;
}

:root[data-theme="dark"] .nav-item {
  color: #a3b1bd;
}

:root[data-theme="dark"] .nav-item:hover {
  color: #f3f7fa;
  background: #192630;
}

:root[data-theme="dark"] .nav-item.active {
  color: #f3f7fa;
  background: #263743;
}

:root[data-theme="dark"] .avatar, :root[data-theme="dark"] .mini-avatar {
  color: #14232e;
}

:root[data-theme="dark"] .topbar {
  background: #10171eeb;
}

:root[data-theme="dark"] .auth-form-icon, :root[data-theme="dark"] .setup-notice, :root[data-theme="dark"] .pure-dialog-icon {
  color: #b8def2;
}

:root[data-theme="dark"] .primary-button, :root[data-theme="dark"] .thinking-toolbar .primary-button, :root[data-theme="dark"] .thinking-actions .primary-button {
  color: #10171e;
}

:root[data-theme="dark"] .primary-button:hover {
  background: #c4d4df;
  border-color: #c4d4df;
}

:root[data-theme="dark"] .owner-badge {
  color: #14232e;
}

:root[data-theme="dark"] .pure-dialog {
  border-color: var(--gray-light);
  box-shadow: 0 24px 75px #0009;
}

:root[data-theme="dark"] .pure-dialog-field input {
  background: var(--white);
}

:root[data-theme="dark"] .pure-dialog-icon.is-destructive {
  color: #f1b5a8;
  background: #3c2c2a;
}

:root[data-theme="dark"] .missing-proof {
  color: #f0cd86;
  background: #3b2e1c;
}

:root[data-theme="dark"] .thinking-boards, :root[data-theme="dark"] .thinking-inspector, :root[data-theme="dark"] .thinking-node, :root[data-theme="dark"] .thinking-zoom, :root[data-theme="dark"] .thinking-zoom button, :root[data-theme="dark"] .thinking-toolbar button, :root[data-theme="dark"] .thinking-toolbar select, :root[data-theme="dark"] .thinking-connect button, :root[data-theme="dark"] .thinking-connect select, :root[data-theme="dark"] .thinking-actions button, :root[data-theme="dark"] .thinking-folder button, :root[data-theme="dark"] .thinking-inspector input, :root[data-theme="dark"] .thinking-inspector textarea, :root[data-theme="dark"] .thinking-inspector select {
  color: var(--ink);
  background: #17222b;
}

:root[data-theme="dark"] .thinking-toolbar .primary-button, :root[data-theme="dark"] .thinking-actions .primary-button {
  background: var(--black);
  border-color: var(--black);
  color: #10171e;
}

:root[data-theme="dark"] .thinking-toolbar .primary-button:hover, :root[data-theme="dark"] .thinking-actions .primary-button:hover {
  background: #c4d4df;
  border-color: #c4d4df;
}

:root[data-theme="dark"] .thinking-viewport {
  background-color: #111b23;
  background-image: radial-gradient(#344653 1px, #0000 1px);
}

:root[data-theme="dark"] .thinking-node {
  border-color: #435a69;
  box-shadow: 0 5px 18px #0006;
}

:root[data-theme="dark"] .thinking-node.selected {
  border-color: var(--ice-plus);
  box-shadow: 0 0 0 2px #628aa4, 0 5px 18px #0006;
}

:root[data-theme="dark"] .thinking-node-head {
  background: #20303a;
}

:root[data-theme="dark"] .thinking-node-head span, :root[data-theme="dark"] .thinking-focus-title span {
  color: #a4c5d8;
}

:root[data-theme="dark"] .thinking-source em {
  color: #e0ae79;
}

:root[data-theme="dark"] .thinking-boards > button.active {
  color: #c8e8f7;
}

:root[data-theme="dark"] .thinking-view.is-focused .thinking-viewport {
  border-color: var(--gray-light);
}

:root[data-theme="dark"] .mobile-nav {
  border-top: 1px solid var(--gray-light);
  background: #090e13;
}

:root[data-theme="dark"] .mobile-nav .nav-item.active {
  color: #f3f7fa;
  background: none;
}

@media (max-width: 840px) {
  .auth-theme-toggle {
    top: 20px;
    right: 20px;
  }
}

.thinking-view.is-focused {
  z-index: 60;
  background: var(--white);
  flex-direction: column;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  padding: 14px;
  animation: none;
  display: flex;
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.thinking-view.is-focused .page-heading, .thinking-view.is-focused .thinking-boards, .thinking-view.is-focused .thinking-footer {
  display: none;
}

.thinking-view.is-focused .thinking-layout {
  flex: 1;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  height: 100%;
  min-height: 0;
  display: grid;
}

.thinking-view.is-focused .thinking-layout:has(.thinking-inspector) {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
}

.thinking-view.is-focused .thinking-main {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.thinking-view.is-focused .thinking-viewport {
  border-color: #d9e2e8;
  flex: 1;
  height: auto;
  min-height: 0;
}

.thinking-view.is-focused .thinking-inspector {
  grid-column: auto;
  min-height: 0;
  margin: 0;
  overflow-y: auto;
}

.thinking-focus-bar {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 2px 12px;
  display: flex;
}

.thinking-focus-title {
  gap: 3px;
  min-width: 0;
  display: grid;
}

.thinking-focus-title span {
  color: #7894a7;
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 500;
}

.thinking-focus-title strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}

.thinking-focus-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  display: flex;
}

.thinking-focus-actions button {
  gap: 6px;
}

.thinking-focus-actions [aria-pressed="true"] {
  background: var(--ice-bg);
  border-color: var(--ice-plus);
}

@media (max-width: 760px) {
  .thinking-view.is-focused {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  }

  :is(.thinking-view.is-focused .thinking-layout, .thinking-view.is-focused .thinking-layout:has(.thinking-inspector)) {
    display: block;
    position: relative;
  }

  .thinking-view.is-focused .thinking-main {
    height: 100%;
  }

  .thinking-view.is-focused .thinking-inspector {
    z-index: 2;
    height: min(46vh, 380px);
    position: absolute;
    inset: auto 0 0;
    box-shadow: 0 -12px 30px #17212a16;
  }

  .thinking-view.is-focused .thinking-layout:has(.thinking-inspector) .thinking-zoom {
    top: 12px;
    bottom: auto;
  }

  .thinking-focus-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 9px;
  }

  .thinking-focus-actions {
    justify-content: flex-start;
    gap: 6px;
    width: 100%;
  }

  .thinking-focus-actions button {
    min-height: 44px;
    padding: 0 10px;
  }
}

.balance-view {
  max-width: 1360px;
}

.balance-summary {
  grid-template-columns: minmax(250px, 1.6fr) repeat(2, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 10px;
  display: grid;
}

.balance-main, .balance-stat {
  border: 1px solid var(--gray-light);
  background: var(--white);
  border-radius: 6px;
  min-width: 0;
  padding: 24px;
}

.balance-main {
  background: var(--ice-bg);
  border-color: var(--ice);
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.balance-main > strong {
  letter-spacing: -.025em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 500;
  display: block;
}

.balance-main > span:last-child {
  color: var(--gray-dark);
  font-size: 11px;
}

.balance-main .is-negative {
  color: #b34338;
}

.balance-stat {
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 13px;
  display: flex;
}

.balance-stat svg {
  color: var(--ice-plus);
}

.balance-stat span {
  color: var(--gray-dark);
  font-size: 11px;
}

.balance-stat strong {
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 500;
}

.balance-filters input {
  border: 1px solid var(--gray-light);
  background: var(--white);
  min-width: 0;
  height: 44px;
  color: var(--ink);
  font: inherit;
  border-radius: 4px;
  padding: 0 10px;
}

.balance-source-note {
  color: var(--gray-dark);
  margin: 0 0 28px;
  font-size: 11px;
  line-height: 1.7;
}

.balance-form-pair {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.balance-workspace .notes-editor textarea {
  min-height: 105px;
}

.balance-filters {
  grid-template-columns: minmax(150px, 1fr) minmax(110px, .5fr);
  gap: 8px;
  margin-bottom: 16px;
  display: grid;
}

.balance-filters > label {
  color: var(--gray-dark);
  gap: 5px;
  font-size: 11px;
  display: grid;
}

.balance-filters > input {
  width: 100%;
}

.balance-count {
  color: var(--gray-dark);
  margin: 0;
  font-size: 11px;
}

.balance-transaction {
  border-bottom: 1px solid var(--gray-light);
  gap: 12px;
  padding: 20px 0;
  display: flex;
}

.balance-transaction-icon {
  background: var(--ice-bg);
  width: 34px;
  height: 34px;
  color: var(--gray-dark);
  border-radius: 50%;
  flex: 0 0 34px;
  place-items: center;
  display: grid;
}

.balance-transaction-content {
  flex: 1;
  min-width: 0;
}

.balance-transaction-top {
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.balance-transaction-top time {
  color: var(--gray-dark);
  font-size: 11px;
}

.balance-transaction-top h3 {
  overflow-wrap: anywhere;
  margin: 5px 0;
  font-size: 15px;
  font-weight: 500;
}

.balance-transaction-top strong {
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
}

.balance-transaction-top strong.is-incoming {
  color: #277a63;
}

:root[data-theme="dark"] .balance-transaction-top strong.is-incoming {
  color: #78d5b2;
}

:root[data-theme="dark"] .balance-main .is-negative {
  color: #ed9b92;
}

.balance-transaction-content > span {
  color: var(--gray-dark);
  font-size: 11px;
}

.balance-transaction-content > p {
  color: var(--gray-dark);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.balance-transaction-actions {
  flex-shrink: 0;
  align-self: flex-start;
  display: flex;
}

@media (max-width: 850px) {
  .balance-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .balance-main {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .balance-summary {
    gap: 8px;
  }

  .balance-main, .balance-stat {
    padding: 16px;
  }

  .balance-stat strong {
    font-size: 14px;
  }

  .balance-form-pair {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .balance-filters {
    grid-template-columns: 1fr 1fr;
  }

  .balance-filters > input {
    grid-column: 1 / -1;
  }

  .balance-transaction {
    gap: 8px;
  }

  .balance-transaction-top {
    flex-direction: column;
    gap: 5px;
  }

  .balance-transaction-actions {
    flex-direction: column;
  }
}

.permission-filters {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  display: grid;
}

.permission-filters label {
  gap: 6px;
  font-size: 12px;
  font-weight: 650;
  display: grid;
}

.permission-filters input, .permission-filters select, .permission-row select {
  border: 1px solid var(--gray-light);
  background: var(--white);
  width: 100%;
  min-width: 0;
  color: var(--ink);
  border-radius: 8px;
  padding: 9px 11px;
}

.permission-list {
  gap: 8px;
  max-height: 440px;
  display: grid;
  overflow: auto;
}

.permission-row {
  border: 1px solid var(--gray-light);
  border-radius: 10px;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  display: grid;
}

.permission-row strong, .permission-row small {
  overflow-wrap: anywhere;
  display: block;
}

.permission-row small {
  opacity: .7;
  margin-top: 3px;
}

.thinking-view.is-readonly .thinking-toolbar > div:first-child button, .thinking-view.is-readonly .thinking-toolbar > div:last-child > :not(button[title^="Focus"]), .thinking-view.is-readonly .thinking-focus-actions > :not(button[title^="Fit"]):not(button[title^="Exit"]):not(button[aria-pressed]), .thinking-view.is-readonly .thinking-resize, .thinking-view.is-readonly .thinking-focus-actions button[title^="Select"] {
  display: none;
}

.file-row:focus-within .file-actions {
  opacity: 1;
}

.file-actions .file-replace {
  width: 32px;
  height: 32px;
  color: var(--gray-mid);
  cursor: pointer;
  border-radius: 4px;
  place-items: center;
  display: grid;
  position: relative;
}

.file-actions .file-replace:hover, .file-actions .file-replace:focus-within {
  background: var(--white);
  color: var(--black);
}

.file-actions .file-replace input {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.file-actions .file-replace:focus-within {
  outline: 2px solid var(--ice-plus);
  outline-offset: 2px;
}

.share-trigger {
  border: 1px solid var(--gray-light);
  background: var(--white);
  min-height: 32px;
  color: var(--gray-dark);
  font: inherit;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  font-size: 11px;
  display: inline-flex;
}

.share-trigger:hover, .share-trigger:focus-visible {
  border-color: var(--ice-plus);
  color: var(--ink);
  background: var(--ice-bg);
}

.share-trigger:focus-visible {
  outline: 2px solid var(--ice-plus);
  outline-offset: 2px;
}

.share-trigger.is-compact {
  width: 32px;
  height: 32px;
  padding: 0;
}

.thinking-board-row {
  border-radius: 4px;
  align-items: center;
  gap: 3px;
  min-width: 0;
  display: flex;
}

.thinking-board-row > button:first-child {
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
  background: none;
  border: 0;
  border-radius: 4px;
  flex: auto;
  min-width: 0;
  padding: 11px;
}

.thinking-board-row > button:first-child.active {
  background: var(--ice-bg);
  color: #24506b;
}

.thinking-board-row > .share-trigger {
  flex: 0 0 32px;
}

.thinking-board-row:hover {
  background: var(--gray-bg);
}

.share-dialog {
  width: min(510px, 100vw - 32px);
}

.share-dialog-content {
  padding: 32px;
  position: relative;
}

.share-member-list {
  gap: 8px;
  max-height: min(42vh, 380px);
  margin-top: 24px;
  display: grid;
  overflow: auto;
}

.share-member {
  border: 1px solid var(--gray-light);
  border-radius: 7px;
  grid-template-columns: minmax(0, 1fr) 155px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  display: grid;
}

.share-member strong, .share-member small {
  overflow-wrap: anywhere;
  display: block;
}

.share-member strong {
  font-size: 13px;
  font-weight: 600;
}

.share-member small {
  color: var(--gray-dark);
  margin-top: 3px;
  font-size: 10px;
}

.share-member select {
  border: 1px solid var(--gray-light);
  background: var(--white);
  width: 100%;
  min-width: 0;
  min-height: 38px;
  color: var(--ink);
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 11px;
}

.share-member select:focus-visible {
  outline: 2px solid var(--ice-plus);
  outline-offset: 2px;
}

.share-empty {
  margin-top: 24px !important;
}

.share-dialog .loading {
  margin-top: 24px;
}

.share-dialog .form-error {
  margin-top: 18px;
}

.file-actions > .share-trigger {
  color: var(--gray-mid);
  background: none;
  border: 0;
}

@media (max-width: 700px) {
  .thinking-boards .thinking-board-row {
    flex: none;
    min-width: 150px;
    max-width: 240px;
  }

  .thinking-boards .thinking-board-row > button:first-child {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .share-dialog-content {
    padding: 24px;
  }

  .share-member {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .share-member-list {
    max-height: 50vh;
  }
}

.file-row {
  grid-template-columns: minmax(260px, 1fr) 150px 90px 150px;
  min-width: 690px;
}

:root[data-theme="dark"] .thinking-board-row > button:first-child.active {
  color: #c8e8f7;
}

@media (max-width: 700px) {
  .thinking-boards {
    display: block;
    overflow: visible;
  }

  .thinking-boards .section-heading {
    margin-bottom: 8px;
  }

  .thinking-board-list {
    gap: 8px;
    padding-bottom: 4px;
    display: flex;
    overflow-x: auto;
  }

  .file-row {
    grid-template-columns: minmax(0, 1fr) 150px;
    min-width: 0;
  }

  .file-row > span:nth-child(2), .file-row > span:nth-child(3) {
    display: none;
  }

  .file-row .file-name {
    min-width: 0;
  }

  .file-row .file-name span {
    white-space: nowrap;
  }

  .permission-filters, .permission-row {
    grid-template-columns: 1fr;
  }
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.presence-view {
  max-width: 920px;
}

.presence-panel {
  border: 1px solid var(--gray-light);
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
}

.presence-control {
  background: var(--ice-bg);
  border-bottom: 1px solid var(--gray-light);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px;
  display: flex;
}

.presence-control strong, .presence-list-heading strong {
  font-size: 14px;
  font-weight: 600;
}

.presence-control p {
  max-width: 570px;
  color: var(--gray-dark);
  margin: 7px 0 0;
  font-size: 12px;
  line-height: 1.6;
}

.presence-control select {
  border: 1px solid var(--gray-light);
  background: var(--white);
  min-width: 145px;
  min-height: 42px;
  color: var(--ink);
  font: inherit;
  border-radius: 4px;
  padding: 0 12px;
}

.presence-control select:focus-visible {
  outline: 2px solid var(--ice-plus);
  outline-offset: 2px;
}

.presence-list-heading {
  justify-content: space-between;
  padding: 20px 24px 10px;
  display: flex;
}

.presence-list-heading span {
  color: var(--gray-dark);
  font-size: 11px;
}

.presence-person {
  border-top: 1px solid var(--gray-light);
  align-items: center;
  gap: 13px;
  min-height: 74px;
  margin: 0 24px;
  display: flex;
}

.presence-avatar {
  background: var(--ice-bg);
  width: 36px;
  height: 36px;
  color: var(--ink);
  border-radius: 50%;
  flex: 0 0 36px;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  display: grid;
}

.presence-person-name {
  flex: 1;
  min-width: 0;
}

.presence-person-name strong, .presence-person-name span {
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  overflow: hidden;
}

.presence-person-name strong {
  font-size: 13px;
  font-weight: 600;
}

.presence-person-name span {
  color: var(--gray-dark);
  margin-top: 3px;
  font-size: 11px;
}

.presence-badge {
  min-width: 82px;
  color: var(--gray-dark);
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.presence-badge i {
  background: #a8afb4;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  display: block;
}

.presence-badge.is-online i {
  background: #39a581;
}

.presence-badge.is-away i {
  background: #d49a44;
}

.presence-footnote {
  color: var(--gray-dark);
  margin: 14px 0;
  font-size: 11px;
  line-height: 1.7;
}

@media (max-width: 560px) {
  .presence-control {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
  }

  .presence-control select {
    width: 100%;
  }

  .presence-list-heading {
    padding: 18px 18px 8px;
  }

  .presence-person {
    margin: 0 18px;
  }
}

.pdf-reader {
  border: 1px solid var(--gray-light);
  background: var(--white);
  width: calc(100vw - 40px);
  max-width: 1600px;
  height: calc(100dvh - 40px);
  max-height: none;
  color: var(--ink);
  font-family: var(--font-inter), sans-serif;
  border-radius: 8px;
  margin: auto;
  padding: 0;
  animation: .18s ease-out pure-dialog-in;
  box-shadow: 0 24px 80px #0005;
}

.pdf-reader::backdrop {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #071017b8;
}

.pdf-shell {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.pdf-header {
  border-bottom: 1px solid var(--gray-light);
  flex-shrink: 0;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  display: flex;
}

.pdf-mark {
  border: 1px solid var(--ink);
  border-radius: 4px;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 6px;
}

.pdf-mark > span {
  border: 5px solid var(--ink);
  background: var(--ice);
  height: 100%;
  display: block;
}

.pdf-title {
  flex: 1;
  min-width: 0;
}

.pdf-title > span {
  color: var(--gray-dark);
  letter-spacing: .13em;
  font-size: 9px;
  font-weight: 500;
}

.pdf-title h2 {
  letter-spacing: -.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 500;
  overflow: hidden;
}

.pdf-reader .pdf-icon {
  width: 40px;
  height: 40px;
  min-height: 40px;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 0;
  text-decoration: none;
  transition: background .15s;
  display: inline-flex;
}

.pdf-reader .pdf-icon:hover {
  background: var(--ice-bg);
}

.pdf-reader button:disabled, .pdf-reader select:disabled {
  opacity: .35;
  cursor: default;
}

.pdf-reader :is(button, a, input, select):focus-visible {
  outline: 2px solid var(--ice-plus);
  outline-offset: 2px;
}

.pdf-toolbar {
  border-bottom: 1px solid var(--gray-light);
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 14px;
  padding: 8px 24px;
  display: flex;
}

.pdf-controls {
  align-items: center;
  gap: 4px;
  display: flex;
}

.pdf-controls + .pdf-controls {
  border-left: 1px solid var(--gray-light);
  padding-left: 14px;
}

.pdf-controls form {
  color: var(--gray-dark);
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  display: flex;
}

.pdf-reader input, .pdf-reader select {
  background: var(--white);
  border: 1px solid var(--gray-light);
  color: var(--ink);
  border-radius: 4px;
  height: 36px;
  font-family: inherit;
  font-size: 12px;
}

.pdf-controls input {
  text-align: center;
  appearance: textfield;
  width: 52px;
  padding: 0 4px;
}

.pdf-controls input::-webkit-inner-spin-button {
  appearance: none;
}

.pdf-controls select {
  width: 112px;
  padding: 0 8px;
}

.pdf-search {
  color: var(--gray-dark);
  align-items: center;
  gap: 8px;
  margin-left: auto;
  display: flex;
}

.pdf-search input {
  outline-offset: 0;
  background: none;
  border: 0;
  width: 150px;
}

.pdf-body {
  flex: 1;
  min-height: 0;
  display: flex;
  position: relative;
}

.pdf-sidebar {
  background: var(--white);
  border-right: 1px solid var(--gray-light);
  flex-shrink: 0;
  width: 220px;
  padding: 12px;
  overflow: auto;
}

.pdf-sidebar-heading {
  border-bottom: 1px solid var(--gray-light);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

.pdf-sidebar p {
  color: var(--gray-dark);
  padding: 0 8px;
  font-size: 11px;
  line-height: 1.7;
}

.pdf-page-list {
  gap: 4px;
  display: grid;
}

.pdf-page-list button, .pdf-result {
  text-align: left;
  width: 100%;
  min-height: 44px;
  color: var(--gray-dark);
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  font-size: 12px;
  display: flex;
}

.pdf-page-list button.active, .pdf-result.active {
  background: var(--ice-bg);
  color: var(--ink);
  box-shadow: inset 2px 0 var(--ice-plus);
}

.pdf-page-list button:hover, .pdf-result:hover {
  background: var(--gray-bg);
}

.pdf-result {
  gap: 8px;
  margin-bottom: 4px;
  display: grid;
}

.pdf-result strong {
  font-weight: 500;
}

.pdf-result span {
  overflow-wrap: anywhere;
  font-size: 11px;
  line-height: 1.6;
}

.pdf-viewport {
  overscroll-behavior: contain;
  background: var(--gray-bg);
  flex: 1;
  min-width: 0;
  padding: 24px;
  position: relative;
  overflow: auto;
}

.pdf-paper {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  background: #fff;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 3px 20px #0002;
}

.pdf-paper[hidden] {
  display: none;
}

.pdf-paper canvas {
  display: block;
}

.pdf-status {
  text-align: center;
  max-width: 420px;
  min-height: 100%;
  color: var(--gray-dark);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: auto;
  display: flex;
}

.pdf-status strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.pdf-status p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}

.pdf-status input {
  width: 240px;
  min-height: 44px;
  padding: 0 12px;
}

.pdf-status a {
  color: var(--ink);
  font-size: 12px;
}

.pdf-spinner {
  border: 2px solid var(--gray-light);
  border-top-color: var(--ice-plus);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  animation: .8s linear infinite pdf-spin;
}

.pdf-footer {
  border-top: 1px solid var(--gray-light);
  color: var(--gray-dark);
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  font-size: 10px;
  display: flex;
}

.pdf-paper .textLayer {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light only;
  text-align: initial;
  letter-spacing: normal;
  word-spacing: normal;
  -moz-text-size-adjust: none;
  text-size-adjust: none;
  forced-color-adjust: none;
  transform-origin: 0 0;
  caret-color: canvastext;
  --min-font-size: 1;
  --text-scale-factor: calc(var(--total-scale-factor) * var(--min-font-size));
  --min-font-size-inv: calc(1 / var(--min-font-size));
  line-height: 1;
  position: absolute;
  inset: 0;
  overflow: clip;
}

.pdf-paper .textLayer :is(span, br) {
  color: #0000;
  white-space: pre;
  cursor: text;
  transform-origin: 0 0;
  -webkit-user-select: text;
  user-select: text;
  position: absolute;
}

.pdf-paper .textLayer > :not(.markedContent), .pdf-paper .textLayer .markedContent span:not(.markedContent) {
  z-index: 1;
  --font-height: 0;
  font-size: calc(var(--text-scale-factor) * var(--font-height));
  --scale-x: 1;
  --rotate: 0deg;
  transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));
}

.pdf-paper .textLayer .markedContent {
  display: contents;
}

.pdf-paper .textLayer ::selection {
  background: #7aaec866;
}

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

@media (max-width: 760px) {
  .pdf-reader {
    border: 0;
    border-radius: 0;
    width: 100vw;
    height: 100dvh;
  }

  .pdf-header {
    gap: 10px;
    padding: 12px 16px;
  }

  .pdf-title h2 {
    font-size: 14px;
  }

  .pdf-mark {
    width: 28px;
    height: 28px;
    padding: 4px;
  }

  .pdf-toolbar {
    gap: 4px;
    padding: 8px 12px;
  }

  .pdf-reader .pdf-icon {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .pdf-controls + .pdf-controls {
    padding-left: 4px;
  }

  .pdf-controls {
    gap: 0;
  }

  .pdf-controls input {
    width: 42px;
  }

  .pdf-controls select {
    width: 100px;
  }

  .pdf-search {
    border-top: 1px solid var(--gray-light);
    width: 100%;
    margin-left: 0;
  }

  .pdf-search input {
    flex: 1;
    width: 0;
    height: 36px;
  }

  .pdf-sidebar {
    z-index: 3;
    width: min(260px, 80vw);
    position: absolute;
    inset: 0 auto 0 0;
    box-shadow: 12px 0 24px #0002;
  }

  .pdf-viewport {
    padding: 16px 24px;
  }

  .pdf-footer {
    padding: 10px 16px;
  }

  .pdf-footer > span:last-child {
    display: none;
  }
}

@media (max-width: 400px) {
  .pdf-toolbar {
    gap: 0;
    padding: 8px;
  }

  .pdf-controls + .pdf-controls {
    border: 0;
    padding-left: 0;
  }

  .pdf-controls select {
    width: 92px;
  }

  .pdf-controls form {
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdf-reader, .pdf-spinner {
    animation: none;
  }

  .pdf-reader .pdf-icon {
    transition: none;
  }
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__1__oerk._.css.map*/