@layer reset, base, layout, components, responsive;
/* Readability overrides are intentionally outside layers so small-screen captions stay legible. */
.nav-link { font-size: 13px; color: #646979; }
.page-heading p, .panel-heading p, .dialog-intro, .guide-step p, .empty-state p, .empty-inline p, .settings-grid > div:first-child p { font-size: 12px; color: #747282; }
.metric-top, .metric-card > small, .field-hint, .auth-note, .record-name small, .records-table th, .task-title small, .column-empty p, .board-intro, .pagination, .timeline-item small, .report-caption { font-size: 11px; color: #777180; }
.records-table td, .record-name strong, .task-title strong, .form-grid > label, .auth-form > label, .auth-form input, .auth-form select { font-size: 12px; }
.auth-form > p.muted, .auth-copy > p, .auth-points span, .auth-bottom, .help-card p, .dialog-intro, .timeline-item strong, .search-prompt { color: #786c86; }
.welcome-banner p, .column-empty p, .empty-state p, .empty-inline p, .conversion-box > div { color: #81728e; }
.pill.positive { color: #28795f; }.pill.danger { color: #b04a61; }.pill.amber { color: #8c6725; }.pill.neutral { color: #77569e; }
.form-grid input, .form-grid select, .form-grid textarea { font-size: 13px; }
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; min-height: 100%; }
  button, input, select, textarea { font: inherit; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button { cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  button { color: inherit; }
  h1, h2, h3, h4, p { margin: 0; }
  button:disabled { cursor: wait; opacity: .55; }
  [hidden] { display: none !important; }
}
@layer base {
  :root { --purple: #6b57df; --purple-deep: #5742c8; --purple-soft: #efebfc; --ink: #252934; --muted: #858994; --line: #e9eaf0; --surface: #f8f9fc; --green: #32987e; --danger: #c55c6b; --sidebar: 242px; --shadow: 0 2px 4px #23253c03, 0 8px 22px #23253c03; }
  body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; font-size: 13px; line-height: 1.5; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
  button { background: none; border: 0; }
  .icon { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
  .muted { color: var(--muted); }
  .text-danger { color: var(--danger) !important; }
  :focus-visible { outline: 3px solid #ad9cf1; outline-offset: 3px; }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  input, select, textarea { border: 1px solid #dddfe8; border-radius: 8px; color: var(--ink); background: white; padding: 10px 12px; outline: none; width: 100%; min-height: 41px; transition: border-color .15s, box-shadow .15s; }
  input::placeholder, textarea::placeholder { color: #aaaeb9; }
  input:focus, select:focus, textarea:focus { border-color: #a191e8; box-shadow: 0 0 0 3px #6b57df12; }
  input:disabled, select:disabled { background: #f6f6fa; color: #888b97; }
  input[type=checkbox] { width: 15px; height: 15px; min-height: auto; accent-color: var(--purple); }
  textarea { resize: vertical; line-height: 1.6; }
  label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 600; color: #565b69; }
  kbd { font: 10px 'Segoe UI', sans-serif; border: 1px solid #e5e6ed; border-radius: 4px; background: #fff; padding: 1px 5px; color: #9295a1; white-space: nowrap; }
  .eyebrow { font-size: 9px; letter-spacing: 1.8px; font-weight: 700; color: #8c849f; }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 15px; min-height: 39px; border-radius: 8px; font-size: 12px; font-weight: 600; border: 1px solid transparent; transition: background .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
  .btn .icon { width: 16px; height: 16px; }
  .btn:hover:not(:disabled) { transform: translateY(-1px); }
  .btn.primary { background: var(--purple); color: white; border-color: var(--purple); box-shadow: 0 3px 6px #6b57df16; }
  .btn.primary:hover { background: var(--purple-deep); }
  .btn.secondary { background: white; border-color: #e1e3ea; color: #555b69; box-shadow: 0 1px 3px #1b213405; }
  .btn.secondary:hover { background: #f7f6fc; border-color: #cfc9e9; }
  .btn.small { font-size: 11px; min-height: 32px; padding: 6px 11px; }
  .icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 7px; color: #8b8f9c; flex-shrink: 0; transition: background .15s; }
  .icon-btn:hover { background: #efedf8; color: var(--purple); }
  .icon-btn.soft { background: #f6f4fd; color: var(--purple); }
  .icon-btn .icon { width: 17px; height: 17px; }
  .text-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; color: var(--purple); font-size: 11px; font-weight: 600; padding: 0; }
  .text-link .icon { width: 14px; height: 14px; }
  .text-link:hover { color: var(--purple-deep); }
  .spinner { width: 20px; height: 20px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 100%; display: inline-block; animation: spin .8s linear infinite; color: var(--purple); }
  .btn .spinner { color: inherit; width: 15px; height: 15px; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .boot-loader { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; padding: 30px; color: var(--muted); text-align: center; }
  .boot-loader img { width: 56px; margin-bottom: 20px; }
  .loading { min-height: 260px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 12px; }
  #toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 12px); z-index: 1000; opacity: 0; visibility: hidden; display: flex; align-items: center; gap: 10px; padding: 13px 20px; background: #29372f; color: white; border-radius: 10px; box-shadow: 0 5px 30px #162e3429; transition: .2s; max-width: min(92vw, 600px); pointer-events: none; font-size: 12px; }
  #toast.visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  #toast.error { background: #693944; }
  #toast .icon { color: #a8e2ba; width: 17px; height: 17px; }
  #toast.error .icon { color: #f7bbbd; }
  .form-error { padding: 12px; font-size: 12px; background: #fff0f1; color: #a63f51; border: 1px solid #f5d7dc; border-radius: 8px; margin-bottom: 18px; }
  .field-hint { color: #9296a2; font-size: 11px; line-height: 1.7; }
  .required { color: #9e8bdc; display: contents; }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
  .field-wide { grid-column: 1 / -1; }
}
@layer layout {
  .app-shell { display: flex; min-height: 100vh; }
  .sidebar { width: var(--sidebar); position: fixed; height: 100dvh; background: white; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 25px 18px 0; z-index: 40; overflow-y: auto; }
  .wordmark { display: flex; align-items: center; gap: 10px; width: fit-content; }
  .wordmark img { width: 35px; height: 35px; }
  .wordmark strong { font-size: 23px; letter-spacing: -.9px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
  .wordmark strong span { font-size: 9px; letter-spacing: .9px; color: var(--purple); background: var(--purple-soft); padding: 3px 6px; border-radius: 4px; font-weight: 700; }
  .sidebar > .wordmark { margin-left: 8px; margin-bottom: 26px; }
  .workspace-switch { padding: 11px 9px; background: #fbfbfd; border: 1px solid #ececf2; border-radius: 9px; display: flex; gap: 9px; align-items: center; margin-bottom: 25px; }
  .workspace-icon { background: #f0edf8; color: #82719e; width: 30px; height: 30px; border: 1px solid #e8e2f4; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; flex-shrink: 0; }
  .workspace-switch > div:last-child { min-width: 0; }
  .workspace-switch strong { display: block; font-size: 11px; font-weight: 600; max-width: 145px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
  .workspace-switch span { font-size: 9px; color: #a0a2ad; }
  .nav-caption { font-size: 9px; font-weight: 600; letter-spacing: 1.4px; color: #a3a5b0; margin: 0 12px 12px; }
  .nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 7px; margin-bottom: 5px; color: #7d818d; font-size: 12px; font-weight: 500; min-height: 40px; }
  .nav-link .icon { width: 17px; height: 17px; }
  .nav-link:hover { background: #f8f7fc; color: #695c9e; }
  .nav-link.active { background: #efebfc; color: var(--purple); font-weight: 650; }
  .nav-link small { margin-left: auto; font-size: 9px; font-weight: 600; padding: 0 5px; line-height: 17px; background: #f0f1f5; color: #9698a3; border-radius: 4px; }
  .nav-link small:empty { display: none; }
  .nav-link.active small { background: #e3dcfa; color: #8874ca; }
  .nav-divider { height: 1px; background: #eeeff4; margin: 16px 8px; }
  .sidebar-bottom { margin-top: auto; padding-top: 35px; }
  .help-card { background: #f9f8fe; border: 1px solid #eeebf8; border-radius: 10px; padding: 15px 13px 13px; margin-bottom: 20px; }
  .help-symbol { display: flex; justify-content: center; align-items: center; width: 25px; height: 25px; border-radius: 7px; background: #efebfc; color: #9b85d6; margin-bottom: 10px; }
  .help-symbol .icon { width: 15px; }
  .help-card strong { font-size: 11px; font-weight: 600; color: #68607d; }
  .help-card p { font-size: 10px; line-height: 1.7; color: #a29bab; margin: 5px 0 12px; }
  .help-card button { display: flex; width: 100%; justify-content: space-between; align-items: center; font-size: 10px; color: #8a72c5; font-weight: 600; padding: 0; }
  .help-card button .icon { width: 14px; }
  .account { border-top: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 17px 0; }
  .account > div { flex: 1; min-width: 0; }
  .account strong { font-size: 11px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .account > div span { display: block; color: #a2a5af; font-size: 9px; }
  .main-shell { margin-left: var(--sidebar); width: calc(100% - var(--sidebar)); display: flex; flex-direction: column; min-height: 100vh; }
  .topbar { display: flex; justify-content: space-between; align-items: center; padding: 0 37px; height: 71px; min-height: 71px; border-bottom: 1px solid var(--line); background: #fff; }
  .breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #a1a4af; }
  .breadcrumb .icon { width: 12px; color: #bcbec8; }
  .breadcrumb strong { color: #686d7a; font-weight: 500; }
  .topbar-actions { display: flex; align-items: center; gap: 15px; }
  .global-search { color: #999eaa; display: flex; align-items: center; gap: 8px; font-size: 11px; width: 225px; padding: 7px 9px; border-radius: 6px; }
  .global-search:hover { background: #f7f7fb; }
  .global-search .icon { width: 15px; height: 15px; }
  .global-search kbd { margin-left: auto; }
  .topbar-divider { height: 20px; width: 1px; background: #eeeef3; }
  .mobile-menu { display: none; }
  #main { flex: 1; }
  .page { max-width: 1600px; margin: 0 auto; padding: 34px 37px 30px; }
  .page-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
  .page-heading h1 { font-size: 26px; font-weight: 650; letter-spacing: -.85px; line-height: 1.3; margin: 7px 0 7px; }
  .page-heading p { font-size: 11px; color: #9195a1; line-height: 1.7; }
  .heading-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
  .greeting-dot { font-size: 25px; color: #bc9cf0; display: inline-block; margin-left: 3px; }
  .app-footer { display: flex; align-items: center; justify-content: space-between; padding: 7px 37px 19px; font-size: 9px; color: #a7a9b5; gap: 20px; }
  .app-footer > span:first-child { display: flex; align-items: center; gap: 6px; }
  .app-footer b { font-weight: 400; margin: 0 4px; }
  .live-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #66b89c; flex-shrink: 0; }
}
@layer components {
  .avatar { height: 33px; width: 33px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 650; flex-shrink: 0; }
  .avatar.small { width: 29px; height: 29px; border-radius: 9px; font-size: 9px; }
  .avatar.large { width: 46px; height: 46px; border-radius: 13px; font-size: 14px; }
  .tone-0 { background: #eeeafa; color: #8f7cc4; }.tone-1 { background: #e6f2ed; color: #5c9c85; }.tone-2 { background: #e8eff9; color: #6f93c1; }.tone-3 { background: #faf0df; color: #bd9652; }.tone-4 { background: #f9e9ed; color: #c17d8d; }.tone-5 { background: #e5f3f2; color: #5f9c9f; }
  .badge-soft { display: inline-flex; align-items: center; gap: 6px; color: #8d76be; background: #e9e2f9; border: 1px solid #e0d6f3; border-radius: 5px; padding: 4px 8px; font-size: 9px; font-weight: 600; width: fit-content; }
  .badge-soft .icon { width: 12px; height: 12px; }
  .welcome-banner { background: linear-gradient(105deg, #f0ebfb 0%, #f6f1fe 65%, #f1eefb); border: 1px solid #e6dff7; border-radius: 12px; padding: 27px 31px; display: flex; justify-content: space-between; position: relative; overflow: hidden; min-height: 251px; margin-bottom: 24px; }
  .welcome-banner > div:first-child { z-index: 2; }
  .welcome-banner h2 { font-size: 27px; font-weight: 600; letter-spacing: -.8px; line-height: 1.22; margin: 11px 0 11px; color: #494159; }
  .welcome-banner p { font-size: 10px; color: #a197b1; line-height: 1.8; }
  .banner-btn { margin-top: 18px; background: white; color: #8370b0; border-color: #e8e0f4; min-height: 33px; padding: 7px 12px; font-size: 10px; box-shadow: 0 3px 7px #7d65b309; }
  .banner-btn .icon { width: 13px; height: 13px; margin-left: 7px; }
  .banner-art { width: 340px; position: relative; flex-shrink: 0; margin: -10px 0 -25px; }
  .art-orbit { position: absolute; border: 1px solid #dcd1f25e; border-radius: 100%; }
  .orbit-one { width: 277px; height: 277px; top: -26px; right: -6px; }
  .orbit-two { width: 211px; height: 211px; top: 7px; right: 27px; }
  .art-card { background: #ffffffdc; border: 1px solid #e9e1f5; border-radius: 12px; box-shadow: 0 13px 28px #70529e0b; position: absolute; }
  .art-card-back { width: 160px; height: 135px; padding: 18px; right: 76px; top: 18px; transform: rotate(-8deg); }
  .art-card-back > .icon { width: 27px; height: 27px; color: #baa6de; background: #f1ebfa; padding: 5px; box-sizing: content-box; border-radius: 10px; margin-bottom: 9px; }
  .art-card-back > span { display: block; font-size: 9px; color: #a195b1; margin-bottom: 9px; }
  .art-card-back i { height: 4px; border-radius: 3px; background: #ede9f4; display: block; width: 86%; margin-bottom: 7px; }
  .art-card-back i:last-child { width: 57%; }
  .art-card-front { width: 233px; height: 73px; display: flex; align-items: center; gap: 11px; right: 11px; top: 128px; transform: rotate(5deg); padding: 14px; }
  .art-card-front b { display: block; font-weight: 600; font-size: 10px; color: #857793; }
  .art-card-front small { font-size: 8px; color: #b2a5bf; }
  .art-card-front > .icon { width: 19px; color: #ac95d2; margin-left: auto; }
  .art-check { width: 35px; height: 35px; background: #eaf5ee; display: flex; align-items: center; justify-content: center; color: #7eb79c; border-radius: 50%; }
  .art-check .icon { width: 17px; }
  .art-spark { position: absolute; color: #bea9e1; }.spark-one { top: 14px; right: 26px; font-size: 27px; }.spark-two { left: 25px; top: 145px; font-size: 24px; }
  .metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
  .metric-card { border: 1px solid var(--line); background: white; border-radius: 10px; padding: 17px 19px 16px; box-shadow: var(--shadow); min-width: 0; }
  .metric-top { display: flex; justify-content: space-between; align-items: center; color: #9396a3; font-size: 10px; gap: 5px; }
  .metric-icon { width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
  .metric-icon .icon { width: 15px; height: 15px; }
  .purple { background: #f1edfb; color: #aa98d4; }.blue { background: #edf2fc; color: #8da5d1; }.green { background: #eaf5ef; color: #7ab79b; }.orange { background: #fcf3e8; color: #d1b37d; }
  .metric-card > strong { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.6px; line-height: 1.35; margin: 6px 0 9px; }
  .metric-card > small { display: block; font-size: 9px; color: #a2a6b0; line-height: 1.6; }
  .overview-columns { display: grid; grid-template-columns: 1.14fr 1fr; gap: 21px; margin-bottom: 24px; }
  .panel { background: white; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); overflow: hidden; }
  .panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 22px 23px 15px; }
  .panel-heading h2 { font-weight: 600; letter-spacing: -.2px; font-size: 14px; }
  .panel-heading p { color: #a0a4b1; font-size: 10px; margin-top: 4px; }
  .panel-heading > .icon { color: #b6b2c8; }
  .pipeline-summary { display: flex; align-items: baseline; gap: 9px; padding: 5px 24px 0; }
  .pipeline-summary strong { font-size: 24px; font-weight: 600; letter-spacing: -.6px; }
  .pipeline-summary > span { font-size: 9px; color: #aaaeba; }
  .stage-distribution { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 19px 26px 22px; text-align: center; }
  .stage-distribution > div { min-width: 0; }
  .stage-bar-track { height: 64px; background-image: repeating-linear-gradient(to top, #f2f3f7 0, #f2f3f7 1px, transparent 1px, transparent 21px); position: relative; margin-bottom: 9px; border-bottom: 1px solid #edebf4; }
  .stage-bar-track > span { width: 60%; position: absolute; bottom: 0; left: 20%; border-radius: 4px 4px 1px 1px; opacity: .65; }
  .stage-distribution strong { font-size: 12px; font-weight: 600; display: block; color: #747987; }
  .stage-distribution small { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 8px; color: #a2a6b1; margin-top: 4px; white-space: nowrap; }
  .stage-distribution i, .report-bar-row i { width: 5px; height: 5px; display: inline-block; border-radius: 50%; }
  .panel-note { border-top: 1px solid #f0f0f5; padding: 12px 23px; color: #a0a3b0; display: flex; align-items: center; gap: 7px; font-size: 9px; background: #fdfdff; }
  .panel-note > .icon { width: 13px; height: 13px; color: #b7aacb; }
  .panel-note strong { margin-left: auto; font-weight: 600; color: #7c7398; }
  .tooltip-note .icon { width: 12px; height: 12px; color: #bbb9c7; }
  .empty-inline { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px 18px 28px; text-align: center; min-height: 225px; }
  .empty-icon { height: 49px; width: 49px; display: flex; align-items: center; justify-content: center; border-radius: 15px; color: #b5a5df; background: #f5f1fd; margin-bottom: 12px; }
  .empty-icon.green { color: #9cbfae; background: #f1f7f4; }
  .empty-icon .icon { width: 22px; height: 22px; }
  .empty-inline h3 { font-size: 12px; font-weight: 600; color: #7d828d; }
  .empty-inline p { font-size: 10px; line-height: 1.8; color: #a6aab6; margin-top: 6px; }
  .empty-inline .text-link { margin-top: 15px; font-size: 10px; }
  .subtle-label { font-size: 9px; color: #a8aab5; }
  .activity-empty { padding: 23px 25px 28px; display: flex; align-items: center; gap: 15px; color: #c0bacf; }
  .activity-empty > .icon { width: 32px; height: 32px; padding: 7px; box-sizing: content-box; background: #faf9fd; border-radius: 12px; }
  .activity-empty p { font-size: 11px; color: #9da1ae; }.activity-empty p span { display: block; color: #b9bbc5; font-size: 9px; margin-top: 5px; }
  .recent-item { padding: 14px 24px; display: flex; gap: 12px; align-items: center; border-top: 1px solid #f3f3f7; }
  .activity-dot { width: 29px; height: 29px; color: #aa98d4; background: #f3f0fb; display: flex; align-items: center; justify-content: center; border-radius: 9px; flex-shrink: 0; }
  .activity-dot .icon { width: 14px; height: 14px; }
  .activity-dot.green { color: #7bb59c; background: #edf7f1; }
  .recent-item > div { flex: 1; min-width: 0; }.recent-item strong { font-size: 11px; font-weight: 500; display: block; }.recent-item small { color: #a3a7b3; font-size: 9px; margin-top: 3px; display: block; }
  .pill { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; padding: 4px 7px; border-radius: 5px; background: #f2effa; color: #9a88c2; white-space: nowrap; font-weight: 500; }
  .pill > span { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
  .pill.positive { background: #eaf5ef; color: #6aab8f; }.pill.danger { background: #fcf0f1; color: #c07e8a; }.pill.amber { background: #fcf4e7; color: #bd9c5b; }.pill.neutral { background: #f0edfa; color: #a18cc9; }
  .workflow-strip { display: flex; align-items: center; gap: 12px; border: 1px solid #ece7f7; background: #f6f3fd; border-radius: 8px; padding: 10px 15px; margin-bottom: 20px; color: #a49ab7; font-size: 10px; }
  .workflow-strip > span { display: flex; align-items: center; gap: 7px; color: #9c8db7; margin-right: auto; }.workflow-strip > span .icon { width: 13px; height: 13px; }
  .workflow-strip > .icon { width: 11px; height: 11px; color: #c8c0d9; }.workflow-strip b { font-size: 9px; font-weight: 500; }
  .workflow-strip .icon-btn { width: 21px; height: 21px; margin-left: auto; }.workflow-strip .icon-btn .icon { width: 13px; }
  .records-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #eeeff4; }
  .search-field { display: flex; align-items: center; gap: 9px; min-width: 150px; width: 300px; color: #a6a9b6; }
  .search-field > .icon { width: 16px; height: 16px; }.search-field input { padding: 4px 0; border: 0; background: transparent; box-shadow: none; min-height: 30px; font-size: 11px; }
  .record-controls { display: flex; align-items: center; gap: 13px; }
  .filter-select { display: inline-flex; align-items: center; flex-direction: row; gap: 6px; padding: 0 9px; border: 1px solid #e9e9f0; border-radius: 6px; background: white; color: #8e93a0; font-size: 10px; font-weight: 400; }
  .filter-select .icon { width: 13px; height: 13px; }.filter-select select { width: auto; padding: 7px 3px; min-height: 30px; font-size: 10px; border: 0; box-shadow: none; color: #8a8e9b; max-width: 180px; }
  .view-toggle { display: inline-flex; border: 1px solid #e8e8ef; background: #f8f8fc; padding: 3px; border-radius: 6px; gap: 1px; }
  .view-toggle button { display: flex; align-items: center; justify-content: center; width: 29px; height: 25px; border-radius: 4px; color: #b2b4c0; }.view-toggle button .icon { width: 14px; height: 14px; }.view-toggle button.active { background: white; color: #8a76c4; box-shadow: 0 1px 4px #2a234010; }
  .table-scroll { overflow-x: auto; }
  .records-table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
  .records-table th { font-size: 9px; font-weight: 500; color: #a2a6b3; background: #fdfdff; border-bottom: 1px solid #edeef4; padding: 11px 22px; }
  .records-table td { padding: 17px 22px; border-bottom: 1px solid #f0f1f5; font-size: 11px; color: #818694; }
  .records-table tr:last-child td { border-bottom: 0; }.records-table tbody tr { cursor: pointer; transition: background .15s; }.records-table tbody tr:hover { background: #fcfbff; }
  .record-name { display: flex; align-items: center; gap: 11px; }.record-name strong { font-size: 11px; color: #565d6b; font-weight: 600; display: block; }.record-name small { font-size: 9px; color: #adb0ba; display: block; margin-top: 3px; }
  .records-table .amount { font-variant-numeric: tabular-nums; color: #6e7482; font-weight: 500; }.source-label { color: #a2a6b1; font-size: 10px; }.records-table td.row-arrow { padding: 12px 16px 12px 0; width: 25px; color: #c6c6d0; }.row-arrow .icon { width: 14px; }
  .pagination { border-top: 1px solid #edeef4; padding: 13px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #a5a9b4; font-size: 10px; }.pagination b { color: #8a90a0; font-weight: 500; }.pagination > div { display: flex; align-items: center; gap: 12px; }.pagination .btn { font-size: 9px; min-height: 28px; }
  .empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 20px 87px; text-align: center; }
  .empty-illustration { display: flex; gap: 7px; align-items: center; justify-content: center; margin: 0 0 26px; }.empty-illustration > span { width: 70px; height: 70px; background: #f2eefa; border: 1px solid #e9e0f7; border-radius: 21px; display: flex; align-items: center; justify-content: center; color: #b7a5dc; transform: rotate(-4deg); }.empty-illustration .icon { width: 31px; height: 31px; }.empty-illustration i { display: block; width: 20px; height: 35px; border: 1px solid #f0ebf7; background: #faf8fd; border-radius: 6px; transform: rotate(-12deg); }.empty-illustration i:last-child { transform: rotate(12deg); }
  .empty-state .eyebrow { font-size: 8px; color: #b6a8c7; }.empty-state h2 { font-size: 23px; letter-spacing: -.6px; font-weight: 550; color: #6c6578; margin: 9px 0; }.empty-state p { color: #a8a6b3; font-size: 11px; line-height: 1.85; margin-bottom: 22px; }.empty-state > .text-link { font-size: 10px; margin-top: 15px; color: #aa9bc4; }
  .task-row { padding: 16px 22px; display: flex; align-items: center; gap: 12px; border-top: 1px solid #f1f2f6; }.task-check { width: 17px; height: 17px; border: 1px solid #dedde8; border-radius: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: white; padding: 0; }.task-check.checked { background: #7db69e; border-color: #7db69e; }.task-check .icon { width: 11px; height: 11px; }.task-title { text-align: left; flex: 1; padding: 0; min-width: 0; }.task-title strong { display: block; font-size: 11px; font-weight: 500; color: #727986; }.task-title small { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #b0b3bd; margin-top: 5px; }.task-title small .icon { width: 11px; height: 11px; }.task-done .task-title strong { text-decoration: line-through; color: #b1b6bd; }.panel-bottom-link { display: flex; align-items: center; justify-content: center; gap: 8px; color: #a28bc6; font-size: 10px; padding: 13px; background: #fdfcff; border-top: 1px solid #f2f0f7; }.panel-bottom-link .icon { width: 13px; height: 13px; }
  .board-intro { padding: 14px 20px; border-bottom: 1px solid #f0eff5; display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: #aaa4b8; }.board-intro b { color: #898195; font-weight: 500; }.switch-label { display: flex; flex-direction: row; gap: 7px; align-items: center; white-space: nowrap; font-size: 9px; color: #a59cb4; font-weight: 400; }
  .kanban { display: flex; gap: 15px; padding: 20px; background: #fdfcfe; overflow-x: auto; min-height: 445px; }
  .kanban-column { flex: 1 0 225px; max-width: 440px; min-width: 0; display: flex; flex-direction: column; }
  .kanban-heading { display: flex; align-items: center; gap: 7px; }.stage-dot { display: block; width: 6px; height: 6px; border-radius: 50%; }.kanban-heading h3 { font-size: 11px; font-weight: 600; color: #777282; }.stage-count { background: #f0edf5; padding: 0 5px; border-radius: 4px; font-size: 9px; color: #b5a8c3; }.kanban-heading .icon-btn { margin-left: auto; width: 24px; height: 24px; }.kanban-heading .icon-btn .icon { width: 13px; height: 13px; }.kanban-value { font-size: 9px; color: #b6b0c1; padding: 4px 0 13px 13px; }
  .kanban-dropzone { background: #f5f3f9; border-radius: 8px; padding: 9px; flex: 1; border: 1px solid transparent; transition: .15s; }.kanban-dropzone.drag-over { background: #eee8fc; border: 1px dashed #ad96e1; }.deal-card { border: 1px solid #eae5f2; background: white; box-shadow: 0 3px 8px #8061a207; border-radius: 8px; margin-bottom: 9px; cursor: grab; }.deal-card.dragging { opacity: .45; }.deal-card-main { display: block; width: 100%; text-align: left; padding: 13px; }.deal-card-company { display: flex; align-items: center; gap: 7px; font-size: 9px; color: #aba3b8; }.deal-card-company .avatar { width: 22px; height: 22px; font-size: 8px; border-radius: 6px; }.deal-card h4 { font-weight: 600; font-size: 11px; line-height: 1.6; margin: 13px 0 8px; color: #6b627b; overflow-wrap: anywhere; }.deal-card strong { font-size: 14px; font-weight: 600; color: #857297; }.deal-card-bottom { border-top: 1px solid #f4f0f7; padding-top: 11px; margin-top: 13px; display: flex; align-items: center; justify-content: space-between; color: #bcb5c7; font-size: 8px; }.deal-card-bottom > span:first-child { display: flex; align-items: center; gap: 5px; }.deal-card-bottom .icon { width: 11px; height: 11px; }.probability { background: #f6f2fa; padding: 2px 5px; border-radius: 3px; color: #b3a6c3; }
  .column-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 260px; text-align: center; gap: 13px; }.column-empty > span { width: 39px; height: 39px; background: #eee9f5; display: flex; align-items: center; justify-content: center; border-radius: 12px; color: #c4b5d7; }.column-empty > span .icon { width: 18px; height: 18px; }.column-empty p { color: #b9aec7; font-size: 9px; }.column-empty .text-link { color: #ae9bc6; font-size: 9px; }
  .report-caption { font-size: 10px; color: #a4a3b0; margin: -11px 0 22px; }.report-bars { padding: 11px 24px 24px; }.report-bar-row { margin-top: 15px; }.report-bar-row > div:first-child { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }.report-bar-row > div:first-child span { display: flex; align-items: center; gap: 7px; font-size: 10px; color: #8c8499; }.report-bar-row strong { font-size: 11px; color: #90819f; font-weight: 500; }.horizontal-track { height: 7px; background: #f5f3f8; border-radius: 5px; overflow: hidden; }.horizontal-track span { display: block; height: 100%; border-radius: 5px; opacity: .6; }.report-bar-row small { font-size: 8px; color: #b7b0c0; display: block; margin-top: 5px; }.insight-note { background: #faf8fd; border-top: 1px solid #f2edf8; padding: 15px 24px; display: flex; align-items: center; gap: 8px; color: #b3a2c4; font-size: 9px; margin-top: auto; }.insight-note .icon { width: 15px; height: 15px; }.report-columns > .panel { display: flex; flex-direction: column; }
  .settings-grid { display: grid; grid-template-columns: 230px 1fr; gap: 45px; padding: 30px 0; border-bottom: 1px solid #e9e8f0; }.settings-grid > div:first-child h2 { font-size: 14px; font-weight: 600; }.settings-grid > div:first-child p { color: #a2a1ad; font-size: 11px; line-height: 1.9; margin-top: 7px; }.settings-form { max-width: 650px; padding: 25px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }.settings-form > label, .settings-form .form-grid { width: 100%; }.settings-form .form-error { width: 100%; margin-bottom: 0; }.settings-form h3 { font-size: 14px; font-weight: 600; }.settings-form > p.muted { font-size: 11px; line-height: 1.8; max-width: 380px; }.backup-icon { color: #a991d1; background: #f3eefb; display: flex; align-items: center; justify-content: center; padding: 10px; border-radius: 12px; }
  dialog { border: 1px solid #ece7f5; padding: 0; background: white; color: var(--ink); border-radius: 15px; box-shadow: 0 25px 100px #28213b30; max-height: 90dvh; width: 600px; max-width: calc(100vw - 30px); }
  dialog::backdrop { background: #25203350; backdrop-filter: blur(3px); }
  .dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 23px 25px 20px; border-bottom: 1px solid #f0edf5; }.dialog-heading h2 { font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.4px; margin-top: 5px; overflow-wrap: anywhere; }.dialog-heading .eyebrow { font-size: 8px; }
  .dialog-body { padding: 22px 25px 26px; }.dialog-intro { font-size: 11px; color: #a2a0ad; line-height: 1.8; margin-bottom: 20px; }.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 25px; background: #fdfcfe; border-top: 1px solid #f0edf5; position: sticky; bottom: 0; z-index: 1; }.dialog-footer > div { display: flex; align-items: center; gap: 9px; }.dialog-footer .btn { min-height: 36px; font-size: 11px; }.delete-button:hover { color: #bd6072; background: #fceff2; }
  dialog.drawer { position: fixed; margin: 0 0 0 auto; inset: 0; height: 100dvh; max-height: 100dvh; width: 620px; border-radius: 15px 0 0 15px; }.drawer .dialog-heading { position: sticky; top: 0; background: white; z-index: 3; }.record-identity { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; }.record-identity > div { flex: 1; min-width: 0; }.record-identity strong { display: block; font-size: 12px; color: #8c849a; font-weight: 500; overflow-wrap: anywhere; }.record-identity > div span { color: #b5aebe; font-size: 9px; display: block; margin-top: 3px; }.conversion-box { border: 1px solid #e8e0f5; background: #f9f6fe; border-radius: 8px; padding: 13px 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 22px; }.conversion-box > div { display: flex; align-items: center; gap: 9px; color: #9b8ab6; font-size: 10px; line-height: 1.8; }.conversion-box .icon { width: 15px; height: 15px; }.conversion-box .btn { font-size: 9px; margin-left: 23px; }.conversion-box .text-link { margin-left: 23px; font-size: 10px; }
  .record-activity { border-top: 1px solid #ede7f4; margin-top: 26px; padding-top: 23px; }.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 17px; }.section-title h3 { font-size: 13px; font-weight: 600; }.section-title span { color: #bab0c6; font-size: 9px; }.note-compose { border: 1px solid #e8e3f1; border-radius: 9px; padding: 9px; display: flex; flex-direction: column; align-items: flex-end; }.note-compose textarea { border: 0; padding: 5px; font-size: 11px; min-height: 65px; box-shadow: none; }.note-compose button { margin-top: 8px; }.timeline { margin: 23px 0 0; }.timeline-item { display: flex; align-items: flex-start; gap: 12px; padding: 0 0 22px; position: relative; }.timeline-item:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 24px; bottom: 0; width: 1px; background: #eee8f5; }.timeline-dot { display: flex; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 8px; color: #baa7d6; background: #f6f2fb; flex-shrink: 0; }.timeline-dot .icon { width: 12px; height: 12px; }.timeline-item > div { flex: 1; min-width: 0; }.timeline-item strong { font-weight: 500; font-size: 10px; color: #9b8caa; display: block; line-height: 1.8; }.timeline-item small { color: #c0b7c9; font-size: 8px; display: block; margin-top: 5px; }.note-text { font-size: 11px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; background: #faf8fd; border: 1px solid #f1ecf7; border-radius: 6px; padding: 10px; margin-top: 9px; color: #8e839d; }
  .guide-step { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; }.guide-step > span { width: 35px; height: 35px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: #f3eefb; color: #ac95d1; flex-shrink: 0; }.guide-step .icon { width: 17px; height: 17px; }.guide-step h3 { font-size: 12px; font-weight: 600; color: #8d7d9d; margin-bottom: 4px; }.guide-step p { font-size: 11px; line-height: 1.8; color: #aaa0b5; }.guide-tip { display: flex; align-items: center; gap: 8px; margin-top: 20px; color: #ad9bbf; background: #faf7fe; padding: 13px; border-radius: 8px; font-size: 10px; }.guide-tip .icon { width: 14px; height: 14px; }
  .search-dialog-header { padding: 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #eee9f5; color: #b7a5d2; }.search-dialog-header input { border: 0; box-shadow: none; padding: 5px 0; }.kbd-button { font-size: 9px; padding: 3px 7px; border: 1px solid #e7e1ef; border-radius: 4px; color: #b5a7c3; }.global-results { max-height: 420px; overflow-y: auto; padding: 9px; }.search-result { display: flex; align-items: center; gap: 12px; padding: 12px; width: 100%; text-align: left; border-radius: 7px; }.search-result:hover { background: #f9f5fe; }.search-result-icon { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #b59bd5; background: #f6f0fc; border-radius: 9px; }.search-result-icon .icon { width: 16px; height: 16px; }.search-result > span:nth-child(2) { flex: 1; min-width: 0; }.search-result strong { display: block; font-size: 11px; font-weight: 500; color: #95839f; }.search-result small { display: block; color: #bcb0c8; font-size: 9px; margin-top: 3px; }.result-type { color: #c0b1cc; font-size: 9px; }.search-result > .icon { width: 13px; height: 13px; color: #c5b7d2; }.search-prompt { text-align: center; padding: 38px 15px; color: #b8abc6; font-size: 12px; line-height: 2; }.search-prompt span { color: #cec2d7; font-size: 10px; }.search-footer { font-size: 9px; color: #bcacc8; padding: 12px 20px; background: #fdfbff; border-top: 1px solid #f4eef9; }
  .upload-zone { display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px 15px; border: 1.5px dashed #dcd1ed; border-radius: 10px; background: #fbf8ff; cursor: pointer; gap: 10px; margin-bottom: 18px; position: relative; }.upload-zone > .icon { width: 26px; height: 26px; color: #baa4d9; }.upload-zone strong { font-size: 12px; font-weight: 500; color: #9b83b3; }.upload-zone > span { color: #c1b0cf; font-size: 10px; }.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }.upload-zone:focus-within, .upload-zone.drag-over { border-color: #9978c6; background: #f3eafb; }.file-ready { color: #7eac93; background: #eef7f1; padding: 12px; border-radius: 8px; font-size: 10px; display: flex; gap: 8px; margin-bottom: 19px; }.file-ready b { font-weight: 500; }.file-ready .icon { width: 14px; height: 14px; }#import-content h3 { font-weight: 500; font-size: 13px; margin-bottom: 14px; }.import-mapping { display: flex; flex-direction: column; gap: 12px; }.import-mapping label { display: grid; grid-template-columns: 1fr 1fr; align-items: center; font-size: 10px; color: #aa98b9; }.import-mapping select { font-size: 10px; min-height: 33px; padding: 7px; }.import-submit { margin: 22px 0 15px; }
  .page-error { text-align: center; padding: 100px 20px; color: #a694b5; }.page-error h2 { font-size: 20px; font-weight: 500; margin: 20px 0 12px; }.page-error p { margin-bottom: 25px; }
  .auth-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100dvh; background: white; }
  .auth-story { background: linear-gradient(140deg, #f2eefc, #ede7fa 50%, #f4f1fc); display: flex; flex-direction: column; padding: 40px 54px 25px; min-height: 100dvh; border-right: 1px solid #e7e0f4; position: relative; overflow: hidden; }
  .auth-story::before { content: ''; position: absolute; width: 700px; height: 700px; border: 1px solid #ddd1f050; border-radius: 50%; top: -320px; left: -370px; pointer-events: none; }.auth-story > .wordmark { z-index: 1; }
  .auth-copy { margin: auto 0; padding: 65px 0; position: relative; z-index: 1; }.auth-copy .eyebrow { font-size: 8px; color: #aa99c6; letter-spacing: 1.4px; }.auth-copy h1 { font-size: clamp(35px, 3.2vw, 53px); font-weight: 600; line-height: 1.15; letter-spacing: -1.7px; margin-top: 22px; color: #534563; }.auth-copy > p { font-size: 12px; line-height: 1.95; color: #a091b5; max-width: 340px; margin-top: 21px; }.story-preview { margin-top: 40px; background: #ffffff7a; border: 1px solid #e3d9f1; border-radius: 14px; padding: 22px 25px 20px; max-width: 375px; box-shadow: 0 6px 20px #7b5d9d05; }.preview-label { color: #b7a6cc; font-size: 7px; letter-spacing: 1.1px; font-weight: 600; display: flex; align-items: center; gap: 7px; }.preview-label .live-dot { width: 4px; height: 4px; }.preview-flow { display: flex; align-items: center; margin-top: 23px; }.preview-flow > span { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #efe8fa; color: #baa0dc; border: 1px solid #e3d8f1; border-radius: 12px; flex-shrink: 0; }.preview-flow > span:nth-of-type(2) { background: #eef4f3; color: #9dbeb2; border-color: #dfece5; }.preview-flow > span:nth-of-type(3) { background: #fcf4e9; color: #d7ba8d; border-color: #f1e5d2; }.preview-flow > span:last-child { background: #eef4ed; color: #9bbe99; border-color: #dfead9; }.preview-flow .icon { width: 18px; height: 18px; }.preview-flow > i { flex: 1; border-top: 1px dashed #d9cde9; margin: 0 8px; }.preview-captions { display: flex; justify-content: space-between; font-size: 7px; color: #b8a8c8; margin-top: 10px; }.preview-captions span { width: 40px; text-align: center; }.auth-points { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }.auth-points span { display: flex; align-items: center; gap: 8px; font-size: 10px; color: #ae9ec4; }.auth-points .icon { width: 13px; height: 13px; color: #b6a2d0; }.auth-bottom { display: flex; flex-wrap: wrap; gap: 15px; justify-content: space-between; color: #c1b2d1; font-size: 8px; }
  .auth-panel { display: flex; align-items: center; justify-content: center; padding: 50px 45px; }.auth-form { width: 100%; max-width: 350px; }.auth-form .badge-soft { font-size: 9px; padding: 5px 8px; background: #f5f2fc; border: 1px solid #ece5f7; color: #ab95ca; }.auth-form h2 { font-size: 33px; font-weight: 600; letter-spacing: -1px; margin: 14px 0 8px; }.auth-form > p.muted { font-size: 11px; line-height: 1.9; margin-bottom: 25px; color: #a0a1ad; }.auth-form > label { margin-top: 17px; font-size: 11px; color: #8b8798; font-weight: 500; }.auth-form input, .auth-form select { min-height: 43px; font-size: 11px; border-color: #e5e1ed; }.auth-submit { width: 100%; justify-content: space-between; margin-top: 25px; min-height: 44px; font-size: 11px; padding-left: 16px; }.auth-note { display: flex; align-items: flex-start; gap: 7px; font-size: 9px; line-height: 1.8; color: #b4aabb; margin-top: 18px; }.auth-note .icon { width: 13px; height: 13px; color: #a6c5b6; margin-top: 2px; }.password-field { display: flex; position: relative; }.password-field input { padding-right: 52px; }.password-field button { position: absolute; right: 10px; top: 10px; font-size: 9px; color: #b0a1c2; padding: 3px; }
}
@layer responsive {
  @media (min-width: 1600px) { .page { padding: 42px 48px; }.topbar { padding: 0 48px; }.welcome-banner { min-height: 275px; padding: 31px 36px; }.banner-art { margin-right: 40px; }.metrics-grid { gap: 24px; }.metric-card { padding: 23px; }.overview-columns { gap: 24px; } }
  @media (max-width: 1200px) { :root { --sidebar: 215px; }.page { padding: 28px 24px; }.topbar { padding: 0 24px; }.app-footer { padding-left: 24px; padding-right: 24px; }.workspace-switch strong { max-width: 120px; }.welcome-banner { padding: 25px; }.banner-art { width: 265px; margin-right: -20px; }.art-card-back { right: 52px; }.art-card-front { right: -3px; }.metrics-grid { gap: 12px; }.metric-card { padding: 14px; }.metric-card > strong { font-size: 23px; }.overview-columns { gap: 15px; grid-template-columns: 1fr 1fr; }.panel-heading { padding: 19px 18px 14px; }.panel-heading h2 { font-size: 13px; }.panel-heading p { font-size: 9px; }.workflow-strip { gap: 8px; }.workflow-strip > span { font-size: 8px; }.workflow-strip b { font-size: 8px; }.records-table td, .records-table th { padding-left: 16px; padding-right: 16px; }.settings-grid { grid-template-columns: 180px 1fr; gap: 25px; }.global-search { width: 195px; } }
  @media (max-width: 980px) { .page-heading h1 { font-size: 23px; }.page-heading p { font-size: 10px; }.banner-art { opacity: .7; margin-right: -60px; width: 225px; }.welcome-banner h2 { font-size: 24px; }.metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }.overview-columns { grid-template-columns: 1fr; }.metric-card { padding: 17px 20px; }.metric-card > strong { font-size: 27px; }.stage-bar-track { height: 85px; }.empty-inline { min-height: 220px; }.global-search { width: 150px; }.global-search kbd { display: none; }.workflow-strip > b, .workflow-strip > .icon { display: none; }.workflow-strip > span { font-size: 10px; }.page-heading .heading-actions .btn { padding: 8px 11px; font-size: 10px; }.app-footer > span:last-child { display: none; }.settings-grid { grid-template-columns: 1fr; gap: 17px; }.auth-story { padding-left: 35px; padding-right: 35px; }.auth-copy h1 { font-size: 36px; }.auth-copy .eyebrow { font-size: 7px; }.story-preview { padding: 20px; }.preview-flow > span { width: 32px; height: 32px; border-radius: 9px; }.preview-flow > i { margin: 0 4px; }.preview-captions span { width: 32px; font-size: 6px; } }
  @media (max-width: 760px) { :root { --sidebar: 0px; }.sidebar { width: 242px; transform: translateX(-100%); transition: transform .2s; box-shadow: 10px 0 40px #20103518; padding-top: 22px; }.sidebar.mobile-open { transform: translateX(0); }.mobile-menu { display: inline-flex; }.breadcrumb .mobile-menu .icon { width: 17px; height: 17px; color: #9d91b2; }.topbar { height: 61px; min-height: 61px; padding: 0 18px; }.topbar-actions { gap: 10px; }.global-search { width: auto; padding: 5px; }.global-search > span { display: none; }.help-top { display: none; }.topbar-divider { height: 17px; }.page { padding: 25px 18px; }.page-heading { margin-bottom: 23px; gap: 12px; }.page-heading h1 { font-size: 23px; letter-spacing: -.6px; }.page-heading .eyebrow { font-size: 8px; }.page-heading p { font-size: 10px; max-width: 320px; }.page-heading .heading-actions { flex-shrink: 1; }.overview-page .page-heading > .heading-actions .btn { font-size: 0; padding: 11px; }.overview-page .page-heading > .heading-actions .btn .icon { width: 16px; height: 16px; }.welcome-banner { padding: 23px; margin-bottom: 19px; min-height: 245px; }.welcome-banner h2 { font-size: 26px; }.welcome-banner p { font-size: 10px; }.banner-art { position: absolute; right: -12px; top: 37px; width: 200px; opacity: .34; }.welcome-banner > div:first-child { position: relative; }.badge-soft { font-size: 8px; }.metrics-grid { gap: 11px; margin-bottom: 20px; }.metric-card { padding: 16px; }.metric-top { font-size: 10px; }.metric-card > strong { font-size: 26px; }.metric-card > small { font-size: 8px; }.overview-columns { gap: 20px; margin-bottom: 20px; }.panel-heading { padding: 19px 19px 14px; }.panel-heading h2 { font-size: 14px; }.panel-heading p { font-size: 10px; }.stage-distribution small { font-size: 9px; }.recent-item { padding-left: 18px; padding-right: 18px; }.activity-empty { padding-left: 20px; gap: 10px; }.activity-empty p { font-size: 10px; }.activity-panel .subtle-label { display: none; }.app-footer { font-size: 8px; padding: 10px 18px 20px; }.resource-page > .page-heading { flex-direction: column; align-items: flex-start; gap: 17px; }.resource-page > .page-heading .btn { font-size: 11px; padding: 9px 13px; }.record-controls { gap: 8px; }.records-toolbar { padding: 11px 13px; gap: 5px; }.search-field { min-width: 100px; width: 170px; }.search-field input { font-size: 10px; }.filter-select { padding: 0 4px; }.filter-select select { font-size: 9px; max-width: 110px; }.filter-select > .icon { display: none; }.record-controls > .icon-btn { width: 24px; }.view-toggle button { width: 25px; }.board-intro { flex-direction: column; padding: 12px 15px; font-size: 8px; }.switch-label { font-size: 9px; }.kanban { padding: 15px; gap: 12px; }.kanban-column { flex: 1 0 240px; }.pagination { font-size: 9px; padding: 12px; flex-wrap: wrap; }.pagination > div { margin-left: auto; }.empty-state { padding: 65px 15px; }.empty-state h2 { font-size: 21px; }.empty-state p { font-size: 10px; }.task-row { padding: 15px; gap: 9px; }.task-row > .pill:last-child { font-size: 8px; }.task-title strong { font-size: 11px; }.task-title small { font-size: 8px; }.settings-form { padding: 21px; }.settings-grid { padding: 25px 0; }.settings-grid > div:first-child p { font-size: 10px; }.auth-layout { grid-template-columns: 1fr; }.auth-story { min-height: auto; padding: 23px 25px; }.auth-story > .wordmark img { width: 30px; height: 30px; }.auth-story .wordmark strong { font-size: 21px; }.auth-copy { padding: 25px 0 10px; }.auth-copy h1 { font-size: 31px; margin-top: 12px; letter-spacing: -1px; }.auth-copy h1 br { display: none; }.auth-copy > p { font-size: 11px; margin-top: 12px; max-width: 420px; }.auth-copy .eyebrow { font-size: 7px; letter-spacing: 1px; }.story-preview, .auth-points, .auth-bottom { display: none; }.auth-panel { padding: 34px 25px 50px; }.auth-form { max-width: 430px; }.auth-form h2 { font-size: 29px; }.auth-form > p.muted { font-size: 11px; }.auth-form > label { font-size: 11px; }.auth-form input, .auth-form select { font-size: 12px; }.auth-note { font-size: 10px; }dialog { max-width: calc(100vw - 22px); max-height: 94dvh; }.dialog-heading { padding: 20px; }.dialog-heading h2 { font-size: 19px; }.dialog-body { padding: 20px; }.dialog-footer { padding: 15px 20px; gap: 8px; }.dialog-footer .text-link { font-size: 9px; }dialog.drawer { width: 100%; max-width: 100%; border-radius: 0; }.form-grid { gap: 15px; }.form-grid > label { font-size: 10px; }.form-grid input, .form-grid select { font-size: 12px; }.guide-tip { font-size: 9px; }.guide-step h3 { font-size: 12px; }.guide-step p { font-size: 11px; }.report-caption { font-size: 9px; }.report-columns { gap: 20px; }.insight-note { font-size: 9px; } }
  @media (max-width: 380px) { .form-grid { grid-template-columns: 1fr; }.welcome-banner { padding: 21px 18px; }.welcome-banner h2 { font-size: 23px; }.desktop-only { display: none; }.metric-card { padding: 13px; }.metric-top { font-size: 9px; }.metric-card > strong { font-size: 23px; }.record-controls { gap: 5px; }.record-controls > .icon-btn { display: none; }.global-search { display: flex; }.breadcrumb { gap: 7px; }.pagination > div { gap: 6px; }.board-intro { font-size: 8px; }.task-row > .pill:last-child { display: none; } }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }
}
