/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: var(--font-inter-tight), system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: var(--font-jetbrains-mono), ui-monospace, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.visible {
  visibility: visible;
}
.collapse {
  visibility: collapse;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.resize {
  resize: both;
}
.border {
  border-width: 1px;
}
.bg-paper {
  --tw-bg-opacity: 1;
  background-color: rgb(244 243 238 / var(--tw-bg-opacity, 1));
}
.font-sans {
  font-family: var(--font-inter-tight), system-ui, sans-serif;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}
.text-ink-900 {
  --tw-text-opacity: 1;
  color: rgb(11 15 20 / var(--tw-text-opacity, 1));
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.outline {
  outline-style: solid;
}
.blur {
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

:root {
  color-scheme: light;
  --ink-900: #0b0f14;
  --ink-800: #10161d;
  --ink-700: #1a2129;
  --ink-600: #2a333d;
  --ink-500: #4a5560;
  --ink-400: #6e7883;
  --ink-300: #9aa3ad;
  --ink-200: #c6ccd2;
  --ink-100: #e4e7ea;
  --paper: #f4f3ee;
  --paper-2: #e7e2d9;
  --paper-3: #faf9f5;
  --bone: #faf9f5;
  --white: #faf9f5;
  --accent: #7ca89f;
  --accent-2: #a7c1ba;
  --accent-ink: #48635d;
  --pos: oklch(0.7 0.08 155);
  --neg: oklch(0.64 0.11 25);
  --warn: oklch(0.78 0.09 80);
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --glass-bg: rgba(244, 243, 238, 0.74);
  --glass-bg-strong: rgba(232, 228, 219, 0.86);
  --glass-border: rgba(42, 51, 61, 0.12);
  --glass-shadow:
    0 1px 0 rgba(250, 249, 245, 0.72) inset,
    0 18px 50px -26px rgba(11, 15, 20, 0.28),
    0 5px 16px -10px rgba(42, 51, 61, 0.18);
  --hairline: rgba(42, 51, 61, 0.12);
  --hairline-2: rgba(42, 51, 61, 0.18);
  --surface-1: #f7f4ee;
  --surface-2: #f0ece4;
  --surface-3: #e8e2d8;
  --field-bg: rgba(250, 249, 245, 0.82);
  --field-bg-strong: rgba(244, 243, 238, 0.92);
  --sidebar-bg: linear-gradient(180deg, rgba(16, 22, 29, 0.98) 0%, rgba(11, 15, 20, 0.98) 100%);
  --sidebar-border: rgba(124, 168, 159, 0.14);
  --sidebar-text: rgba(250, 249, 245, 0.62);
  --sidebar-text-strong: #faf9f5;
  --sidebar-icon: rgba(250, 249, 245, 0.78);
  --nav-active-bg: rgba(124, 168, 159, 0.18);
  --nav-active-border: rgba(124, 168, 159, 0.28);
  --font-display: var(--font-inter-tight), "Avenir Next", system-ui, sans-serif;
  --font-sans: var(--font-inter-tight), "Avenir Next", system-ui, sans-serif;
  --font-mono: var(--font-jetbrains-mono), "IBM Plex Mono", ui-monospace, monospace;
  --font-serif: var(--font-instrument-serif), "Iowan Old Style", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  background:
    radial-gradient(circle at top right, rgba(124, 168, 159, 0.22), transparent 24%),
    radial-gradient(circle at bottom left, rgba(42, 51, 61, 0.14), transparent 28%),
    linear-gradient(180deg, #ebe7df 0%, var(--paper) 48%, var(--paper-3) 100%);
  color: var(--ink-900);
  font-family: var(--font-sans), sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
}

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

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

.mono {
  font-family: var(--font-mono), monospace;
  font-feature-settings: "zero";
}

.num {
  font-family: var(--font-mono), monospace;
  font-feature-settings: "tnum", "zero";
}

.nice-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.nice-scroll::-webkit-scrollbar-thumb {
  background: var(--ink-200);
  border-radius: 999px;
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
}

.glass-strong {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-lg);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(32px) saturate(1.4);
  -webkit-backdrop-filter: blur(32px) saturate(1.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--hairline-2);
  background: var(--bone);
  color: var(--ink-900);
  font-size: 13px;
  font-weight: 500;
  box-shadow:
    0 1px 0 rgba(250, 249, 245, 0.7) inset,
    0 8px 18px -18px rgba(11, 15, 20, 0.35);
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn:hover {
  background: var(--surface-1);
  transform: translateY(-0.5px);
}

.btn-primary {
  background: var(--accent);
  border-color: color-mix(in oklch, var(--accent) 40%, transparent);
  color: var(--ink-900);
}

.btn-primary:hover {
  background: color-mix(in oklab, var(--accent) 88%, var(--bone));
}

.btn-ghost {
  background: transparent;
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(42, 51, 61, 0.06);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  border: 1px solid var(--hairline-2);
  background: var(--surface-2);
  color: var(--ink-600);
  font-family: var(--font-mono), monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-accent {
  background: color-mix(in oklab, var(--accent) 18%, var(--bone));
  color: var(--accent-ink);
  border-color: color-mix(in oklch, var(--accent) 30%, transparent);
}

.tag-neg {
  background: color-mix(in oklab, var(--neg) 18%, var(--bone));
  color: oklch(0.45 0.11 25);
  border-color: color-mix(in oklch, var(--neg) 30%, transparent);
}

.divider-label {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-400);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.dot-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  vertical-align: middle;
}

.surface {
  border: 1px solid var(--hairline);
  background: var(--surface-1);
  border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(250, 249, 245, 0.6) inset;
}

.page-shell {
  min-height: 100vh;
  padding: 24px;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top center, rgba(124, 168, 159, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(42, 51, 61, 0.05) 0%, transparent 18%);
}

.app-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(42, 51, 61, 0.05) 0%, transparent 16%),
    var(--paper);
}

.app-content-slot {
  min-width: 0;
}

.app-sidebar {
  min-width: 0;
  border-radius: 0;
  border-right: 1px solid var(--sidebar-border);
  display: flex;
  flex-direction: column;
  padding: 20px 18px;
  min-height: 100vh;
  position: sticky;
  top: 0;
  align-self: start;
  background: var(--sidebar-bg);
  color: var(--sidebar-text-strong);
  box-shadow:
    1px 0 0 rgba(250, 249, 245, 0.04) inset,
    24px 0 50px -42px rgba(11, 15, 20, 0.7);
}

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

.app-nav {
  display: grid;
  gap: 2px;
}

.app-sidebar-footer {
  margin-top: auto;
  border-top: 1px solid rgba(250, 249, 245, 0.08);
  padding-top: 14px;
}

.app-main {
  min-width: 0;
  padding: 20px 28px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0.22) 0%, transparent 12%);
}

.app-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.app-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  margin-bottom: 24px;
}

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

.holdings-head,
.holdings-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(70px, 0.5fr) minmax(80px, 0.7fr) minmax(70px, 0.7fr) minmax(110px, 0.9fr) minmax(90px, 0.7fr);
  gap: 12px;
  align-items: center;
  min-width: 760px;
}

.holdings-head {
  padding: 10px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--font-mono), monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.holdings-row {
  padding: 12px 16px;
  border-bottom: 1px solid var(--hairline);
}

.holding-cell {
  min-width: 0;
}

.holding-note-cell {
  display: flex;
  align-items: center;
}

.app-rail {
  min-width: 0;
  border-radius: 0;
  border-left: 1px solid var(--hairline);
  padding: 20px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0.4) 0%, transparent 14%),
    var(--surface-2);
}

.note-shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.note-main {
  min-width: 0;
  padding: 24px 48px;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0.22) 0%, transparent 12%);
}

.note-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 860px;
}

.note-summary-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.note-sidebar {
  min-width: 0;
  border-radius: 0;
  border-left: 1px solid var(--hairline);
  padding: 24px 22px;
  background:
    linear-gradient(180deg, rgba(250, 249, 245, 0.45) 0%, transparent 14%),
    var(--surface-2);
}

.note-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
  border-top: 1px solid var(--hairline);
}

.upload-shell {
  display: grid;
  place-items: center;
}

.upload-stage {
  width: min(640px, 100%);
  position: relative;
}

.upload-idle {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.upload-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.035em;
  margin: 0;
  line-height: 1;
}

.upload-progress {
  width: min(440px, 100%);
  margin: 0 auto;
}

.upload-resolve {
  position: absolute;
  inset: auto 0 -180px 0;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
}

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

.marketing-feature-span-two {
  grid-column: span 2;
}

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

  .app-sidebar,
  .app-rail {
    border-right: none;
    border-left: none;
    border-bottom: 1px solid var(--hairline);
  }

  .app-nav {
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .app-sidebar {
    position: static;
    min-height: auto;
  }

  .app-main {
    padding: 20px;
  }

  .note-shell {
    grid-template-columns: 1fr;
  }

  .note-main {
    padding: 22px 24px;
  }

  .note-sidebar {
    border-left: none;
    border-top: 1px solid var(--hairline);
  }

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

@media (max-width: 900px) {
  .page-shell,
  .auth-shell,
  .upload-shell {
    padding: 16px;
  }

  .app-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .table-scroll {
    margin-inline: -2px;
  }

  .holdings-head {
    display: none;
  }

  .holdings-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    gap: 14px;
    padding: 16px;
  }

  .holding-cell {
    display: grid;
    gap: 6px;
    align-content: start;
  }

  .holding-cell::before {
    content: attr(data-label);
    font-family: var(--font-mono), monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-400);
  }

  .holding-primary {
    grid-column: 1 / -1;
  }

  .holding-primary::before {
    content: none;
  }

  .holding-note-cell {
    grid-column: 1 / -1;
  }

  .note-main {
    padding: 20px 16px;
  }

  .note-title {
    font-size: 34px;
    line-height: 1.08;
    max-width: none;
  }

  .note-summary-grid {
    grid-template-columns: 1fr;
  }

  .note-sidebar {
    padding: 20px 16px;
  }

  .upload-title {
    font-size: 36px;
  }

  .upload-resolve {
    position: static;
    inset: auto;
    max-width: none;
    margin-top: 20px;
  }

  .marketing-feature-grid {
    grid-template-columns: 1fr;
  }

  .marketing-feature-span-two {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .app-sidebar,
  .app-main,
  .app-rail {
    padding: 16px 14px;
  }

  .note-stats-grid {
    grid-template-columns: 1fr;
  }

  .upload-stage,
  .upload-idle,
  .upload-progress {
    width: 100%;
    max-width: none;
  }
}

