/* Workspace and account experience — typography-first redesign. */

* {
  box-sizing:border-box
}
body {
  margin:0;
  -webkit-font-smoothing:antialiased;
  font: 1rem/1.6 var(--sans);
  background: var(--paper);
  color: var(--ink)
}
button,input,textarea,select {
  font:inherit
}
button,a {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer;
  color:inherit
}
button:disabled {
  cursor:wait;
  opacity:.6
}
button,a,input,textarea,select {
  outline-offset:4px
}
*:focus-visible {
  outline:3px solid #9ba7ff
}
a {
  color:inherit;
  text-decoration:none
}
button {
  border:0
}
h1,h2,h3,h4,p {
  margin:0
}
h1,h2,h3,h4 {
  font-family:var(--display);
  text-wrap:pretty
}
svg {
  width:20px;
  height:20px;
  flex-shrink:0
}
::selection {
  background:#dae0ff
}
[hidden] {
  display:none!important
}
.workspace-logo {
  display:flex;
  align-items:center;
  gap:7px;
  font-family:var(--display);
  font-size:1.8125rem;
  letter-spacing:-1.5px;
  font-weight:800
}
.workspace-logo>svg {
  width:32px;
  height:32px;
  color:var(--blue)
}
.logo-dot {
  color:var(--blue)
}
.overline {
  font-weight:600;
  font-size:.75rem;
  letter-spacing:.1em
}
.primary-button,.secondary-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  transition:background .2s,transform .2s;
  font-size:.9375rem;
  min-height:48px;
  padding:12px 18px;
  border-radius:10px;
  font-weight:600;
  line-height:1.5
}
.primary-button {
  background:var(--blue);
  color:white;
  border:1px solid var(--blue);
  box-shadow:0 3px 6px #344fe913
}
.primary-button:hover {
  background:#2e40bf;
  transform:translateY(-1px)
}
.secondary-button {
  background:#fff;
  border:1px solid #d5ddd2
}
.secondary-button:hover {
  background:#f0f3ed;
  border-color:#b6c4b7
}
.primary-button svg,.secondary-button svg {
  width:19px;
  height:19px
}
.text-button {
  background:none;
  color:var(--blue);
  font-weight:600;
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:7px 0;
  font-size:.875rem;
  min-height:40px;
  line-height:1.5
}
.text-button svg {
  width:15px;
  height:15px
}
.icon-button {
  background:transparent;
  display:grid;
  place-items:center;
  color:#627069;
  width:44px;
  height:44px;
  border-radius:10px
}
.icon-button:hover {
  background:#edf0e9;
  color:var(--ink)
}
.icon-button svg {
  width:18px;
  height:18px
}
.tiny-pill {
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--blue-soft);
  color:#3548bd;
  border-radius:4px;
  font-size:0.75rem;
  letter-spacing:.6px;
  font-weight:600;
  padding:6px 9px
}
.status-pill {
  display:inline-flex;
  font-size:0.8125rem;
  line-height:1.4;
  padding:5px 8px;
  border-radius:4px;
  background:#edf3ec;
  color:#456549;
  white-space:nowrap
}
.status-pill.blue {
  background:#edf0ff;
  color:#3b4ead
}
.status-pill.amber {
  background:#faf0dd;
  color:#805b27
}
.status-pill.gray {
  background:#f0f2ef;
  color:#5f6c64
}
.muted {
  color:var(--muted)
}
.form-error {
  color:#a33838;
  margin:10px 0;
  font-size:.875rem;
  line-height:1.7
}
.skip-link {
  position:fixed;
  top:-60px;
  left:15px;
  background:white;
  padding:14px;
  z-index:100
}
.skip-link:focus {
  top:15px
}
.visually-hidden {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important
}
.project-card-footer>span:last-child {
  display:flex;
  align-items:center;
  gap:7px;
  color:#3349c6;
  font-weight:600
}
.page-note .text-button {
  font-size:.875rem
}
/* Account entry */
.auth-layout {
  min-height:100dvh;
  display:grid;
  grid-template-columns:1.05fr 1fr
}
.auth-story {
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  background:#182d38;
  padding:44px 11%;
  color:#f9faf7
}
.auth-story-content {
  margin:auto 0;
  padding:70px 0 20px
}
.auth-story h1 {
  font-size:clamp(3rem,4.8vw,4.75rem);
  font-weight:600;
  letter-spacing:-.055em;
  line-height:1.13;
  margin-top:24px
}
.auth-story h1 span {
  color:#bac6ff
}
.auth-story-content>p:not(.overline) {
  margin-top:25px;
  font-size:1.125rem;
  color:#ced9de;
  line-height:1.8;
  max-width:430px
}
.auth-credit {
  position:relative;
  z-index:1;
  font-size:.75rem;
  color:#c2d0d6;
  letter-spacing:.08em;
  line-height:1.8
}
.auth-illustration {
  position:relative;
  height:260px;
  max-width:370px;
  margin-top:28px
}
.auth-ring {
  position:absolute;
  width:310px;
  height:200px;
  border:1px solid #a2addc;
  left:0;
  top:30px;
  transform:rotate(-27deg);
  border-radius:50%;
  border-color:#6c86ac
}
.ring-two {
  transform:rotate(30deg)
}
.ring-three {
  transform:rotate(90deg)
}
.auth-core {
  position:absolute;
  font-family:var(--display);
  letter-spacing:-1px;
  color:#c3ceff;
  font-size:2rem;
  top:98px;
  left:101px
}
.auth-panel {
  display:flex;
  flex-direction:column;
  padding:44px clamp(32px,6vw,100px);
  background:#fcfdfb
}
.back-home {
  color:#607065;
  font-size:.875rem;
  min-height:44px;
  display:inline-flex;
  align-items:center
}
.auth-form-wrap {
  margin:auto 0;
  width:100%;
  max-width:440px;
  align-self:center;
  padding:48px 0
}
.auth-form-wrap h2 {
  font-size:2.125rem;
  line-height:1.25;
  letter-spacing:-.04em;
  font-weight:650;
  margin-top:22px
}
.auth-intro {
  color:#67766c;
  font-size:1rem;
  line-height:1.75;
  margin-top:16px
}
.auth-tabs {
  display:flex;
  border-bottom:1px solid var(--line);
  margin:30px 0 24px;
  gap:28px
}
.auth-tabs button {
  padding:10px 0 13px;
  background:none;
  color:var(--muted);
  font-size:.9375rem;
  min-height:48px;
  font-weight:600
}
.auth-tabs [aria-selected=true] {
  color:var(--blue);
  border-bottom:2px solid var(--blue)
}
label {
  display:block;
  font-size:.9375rem;
  font-weight:600;
  margin:20px 0 8px;
  line-height:1.6
}
label span {
  font-weight:400;
  color:var(--muted);
  margin-left:6px;
  font-size:.8125rem
}
input:not([type=checkbox]),textarea,select {
  width:100%;
  border:1px solid #d6ded2;
  background:#fff;
  color:var(--ink);
  font-size:1rem;
  border-color:#c7d2d9;
  border-radius:10px;
  padding:13px 14px;
  line-height:1.5;
  min-width:0
}
input::placeholder,textarea::placeholder {
  opacity:1;
  color:#61717d
}
textarea {
  resize:vertical;
  min-height:120px
}
select {
  min-height:50px
}
.password-wrap {
  position:relative
}
.password-wrap input {
  padding-right:70px
}
.password-wrap button {
  position:absolute;
  padding:7px;
  background:none;
  color:#586d60;
  font-size:.8125rem;
  min-height:40px;
  top:6px;
  right:8px
}
.auth-submit {
  width:100%;
  justify-content:space-between;
  margin-top:6px
}
.auth-divider {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:0.8125rem;
  color:#69796f;
  margin:25px 0 18px
}
.auth-divider:before,.auth-divider:after {
  content:'';
  height:1px;
  background:var(--line);
  flex:1
}
#demo-login {
  width:100%;
  justify-content:space-between
}
.sample-hint {
  font-size:0.8125rem;
  line-height:1.8;
  text-align:center;
  color:#65756b;
  margin-top:11px
}
.auth-preview-note {
  font-size:0.8125rem;
  line-height:1.8;
  color:#65756b;
  border:1px solid #e1e7dd;
  margin-top:23px;
  padding:16px;
  border-radius:12px;
  background:#f0f3f4;
  border-color:var(--line)
}
.auth-footer {
  color:#66776b;
  text-align:center;
  font-size:.8125rem
}
/* Workspace shell */
.sidebar {
  position:fixed;
  inset:0 auto 0 0;
  border-right:1px solid var(--line);
  display:flex;
  flex-direction:column;
  z-index:30;
  overflow-y:auto;
  width:272px;
  padding:30px 20px 0;
  background:#fff
}
.sidebar>.workspace-logo {
  font-size:1.875rem;
  padding-left:8px
}
.workspace-switch {
  display:flex;
  align-items:center;
  gap:9px;
  text-align:left;
  border:1px solid #e3e8df;
  width:100%;
  padding:13px 11px;
  margin-top:28px;
  background:#f7f9fa;
  border-color:var(--line);
  border-radius:12px
}
.workspace-avatar {
  background:#e9edff;
  color:var(--blue);
  display:grid;
  place-items:center;
  padding:10px;
  border-radius:9px
}
.workspace-avatar svg {
  width:17px;
  height:17px
}
.workspace-switch>span:nth-child(2) {
  font-weight:600;
  font-size:.875rem
}
.workspace-switch small {
  display:block;
  font-weight:400;
  margin-top:4px;
  font-size:.75rem;
  color:var(--muted)
}
.chevron {
  margin-left:auto;
  color:#798478
}
.nav-section-label {
  font-weight:600;
  color:#6c796f;
  font-size:.75rem;
  letter-spacing:.1em;
  margin:26px 12px 14px
}
.nav-item {
  display:flex;
  align-items:center;
  margin-bottom:4px;
  position:relative;
  font-size:.875rem;
  font-weight:500;
  padding:13px 12px;
  gap:12px;
  min-height:48px;
  line-height:1.5;
  color:#4c606b;
  border-radius:10px
}
.nav-item svg {
  stroke-width:1.5;
  width:20px;
  height:20px
}
.nav-item:hover {
  background:#f2f5f8
}
.nav-item.active {
  font-weight:650;
  background:#edf0ff;
  color:#2d43cd
}
.nav-item.active:before {
  content:'';
  position:absolute;
  left:-18px;
  top:10px;
  bottom:10px;
  width:3px;
  background:var(--blue);
  border-radius:0 2px 2px 0;
  display:none
}
.nav-count {
  margin-left:auto;
  border-radius:4px;
  padding:2px 5px;
  background:#e8ece5;
  color:#546950;
  font-size:.75rem
}
.nav-item.active .nav-count {
  background:#dbe2ff;
  color:#354acb
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:22px
}
.sidebar-method {
  border:1px solid #e0e5db;
  background:#f3f5ef;
  padding:20px;
  border-radius:14px;
  margin-bottom:18px
}
.method-star {
  color:#6c8263
}
.method-star svg {
  width:22px;
  height:22px
}
.sidebar-method h3 {
  font-weight:600;
  font-size:.9375rem;
  line-height:1.5;
  margin-top:10px;
  letter-spacing:-.01em
}
.sidebar-method p {
  color:#65775f;
  margin-top:6px;
  font-size:.8125rem;
  line-height:1.7
}
.sidebar-method a {
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-weight:600;
  color:#405f40;
  font-size:.8125rem;
  min-height:40px;
  margin-top:10px
}
.sidebar-method a svg {
  width:15px;
  height:15px
}
.sidebar-profile {
  display:flex;
  align-items:center;
  gap:9px;
  border-top:1px solid var(--line);
  margin-top:16px;
  padding:20px 0
}
.profile-initials,.top-avatar {
  display:grid;
  place-items:center;
  font-weight:600;
  border-radius:50%;
  flex-shrink:0;
  width:38px;
  height:38px;
  font-size:.8125rem;
  background:#e7ecfa;
  color:#334b80
}
#sidebar-name {
  font-weight:600;
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.875rem
}
#sidebar-name small {
  display:block;
  color:#6c796f;
  font-weight:400;
  margin-top:4px;
  font-size:.75rem
}
.sidebar-profile .icon-button {
  margin-left:auto;
  flex-shrink:0;
  width:40px
}
.sidebar-profile .icon-button svg {
  width:15px;
  height:15px
}
.workspace-main {
  min-height:100dvh;
  display:flex;
  flex-direction:column;
  margin-left:272px
}
.workspace-topbar {
  border-bottom:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:88px;
  height:auto;
  padding:18px 36px;
  background:#ffffffb8;
  gap:18px
}
.breadcrumbs {
  display:flex;
  align-items:center;
  white-space:nowrap;
  font-size:.875rem;
  gap:12px
}
.breadcrumbs>span:first-of-type {
  color:#6c796e
}
.breadcrumbs strong {
  font-weight:600
}
.crumb-divider {
  color:#a0aa9f
}
.topbar-actions {
  display:flex;
  align-items:center;
  gap:12px
}
.workspace-search {
  border:1px solid #e4e9e0;
  display:flex;
  align-items:center;
  gap:8px;
  color:#69786b;
  font-size:.875rem;
  padding:11px 13px;
  min-width:270px;
  min-height:44px;
  border-radius:10px;
  background:#f8f9fb;
  border-color:var(--line)
}
.workspace-search svg {
  width:18px;
  height:18px
}
.workspace-search kbd {
  margin-left:auto;
  border:1px solid #d9e0d4;
  border-radius:3px;
  font:.75rem var(--sans);
  padding:3px 5px
}
.notification-button {
  position:relative
}
.notification-button i {
  height:4px;
  width:4px;
  background:#76896b;
  border:1px solid #fafbf7;
  position:absolute;
  right:9px;
  top:7px;
  border-radius:50%
}
.top-avatar {
  margin-left:7px;
  width:32px;
  height:32px
}
.workspace-footer {
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-top:auto;
  border-top:1px solid var(--line);
  font-size:.75rem;
  padding:22px 36px;
  color:var(--muted);
  flex-wrap:wrap
}
.workspace-footer>span:first-child {
  display:flex;
  align-items:center;
  gap:6px
}
.workspace-footer i {
  width:5px;
  height:5px;
  background:#6b8a61;
  border-radius:50%
}
#workspace-content {
  width:100%;
  margin:0 auto;
  outline:none;
  padding:40px 36px 48px;
  max-width:1600px
}
#sidebar-toggle {
  display:none
}
.page-heading {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  margin-bottom:30px;
  gap:24px
}
.page-heading .overline {
  font-size:.75rem;
  letter-spacing:.09em;
  color:var(--muted)
}
.page-heading h1 {
  font-size:clamp(1.875rem,2.6vw,2.5rem);
  font-weight:650;
  letter-spacing:-.045em;
  line-height:1.23;
  margin-top:12px
}
.page-heading .page-subtitle {
  font-size:1rem;
  line-height:1.75;
  color:var(--muted);
  margin-top:12px;
  max-width:660px
}
.page-heading-actions {
  display:flex;
  align-items:center;
  gap:15px;
  flex-shrink:0;
  padding-top:30px
}
.today-date {
  font-size:0.8125rem;
  color:#69786a;
  align-items:center;
  gap:8px;
  display:none
}
.today-date svg {
  height:15px;
  width:15px
}
.demo-banner {
  display:flex;
  border:1px solid #dbe2f4;
  color:#4d5f87;
  line-height:1.6;
  font-size:.8125rem;
  padding:14px 18px;
  border-radius:12px;
  align-items:flex-start;
  margin-bottom:28px;
  background:#f0f3fe;
  gap:12px
}
.demo-banner svg {
  width:18px;
  height:18px;
  margin-top:2px
}
.demo-banner button {
  margin-left:auto;
  background:none;
  color:#425dc1;
  font-size:.8125rem;
  white-space:normal;
  min-width:120px;
  text-align:right
}
.stats-grid {
  display:grid;
  gap:16px;
  margin-bottom:32px;
  grid-template-columns:repeat(4,minmax(0,1fr))
}
.stat-card {
  background:var(--surface);
  border:1px solid var(--line);
  text-align:left;
  transition:border-color .2s,transform .2s;
  padding:22px;
  border-radius:14px;
  box-shadow:var(--shadow-card)
}
.stat-card:hover {
  transform:translateY(-2px);
  border-color:#b5c0ef
}
.stat-top {
  display:flex;
  justify-content:space-between;
  font-size:.875rem;
  line-height:1.5;
  color:#4c606b;
  gap:10px;
  align-items:flex-start
}
.stat-top svg {
  width:20px;
  height:20px;
  color:#657b8c
}
.stat-number {
  display:flex;
  align-items:baseline;
  gap:10px;
  font-family:var(--display);
  font-size:2.5rem;
  font-weight:600;
  letter-spacing:-.045em;
  line-height:1.2;
  margin-top:20px;
  font-variant-numeric:tabular-nums
}
.stat-number small {
  font-family:var(--sans);
  letter-spacing:0;
  font-weight:400;
  color:#5c7458;
  font-size:.8125rem
}
.stat-caption {
  display:block;
  font-size:.75rem;
  line-height:1.6;
  margin-top:10px;
  color:var(--muted)
}
.overview-grid {
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(300px,1fr);
  gap:24px;
  align-items:start
}
.panel {
  background:var(--surface);
  border:1px solid var(--line);
  overflow:hidden;
  min-width:0;
  border-radius:16px;
  box-shadow:var(--shadow-card)
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  padding:26px 26px 20px;
  gap:14px;
  align-items:flex-start
}
.panel-heading h2 {
  font-size:1.25rem;
  line-height:1.4;
  letter-spacing:-.025em;
  font-weight:650
}
.panel-heading p {
  font-size:.875rem;
  line-height:1.6;
  margin-top:6px;
  color:var(--muted)
}
.panel-heading .text-button {
  padding:0;
  font-size:.8125rem;
  white-space:nowrap;
  min-height:28px
}
.project-list {
  padding:0 18px 18px
}
.project-card {
  border:1px solid #e5e9e1;
  text-align:left;
  width:100%;
  transition:background .2s,border-color .2s;
  border-radius:12px;
  padding:24px;
  background:#fbfcfd;
  border-color:#e0e6eb;
  margin-top:12px
}
.project-card:hover {
  background:#f5f7ff;
  border-color:#b7c5eb
}
.project-card-top {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px
}
.project-symbol {
  display:grid;
  place-items:center;
  color:#597442;
  width:34px;
  height:34px;
  border-radius:9px;
  background:#edf1e9
}
.project-symbol.blue {
  background:#ebefff;
  color:#5568bd
}
.project-symbol svg {
  width:17px;
  height:17px
}
.project-discipline {
  font-size:.8125rem;
  color:#53686f
}
.project-card-top .status-pill {
  margin-left:auto;
  font-size:.75rem;
  padding:5px 8px
}
.project-card h3 {
  font-size:1.125rem;
  letter-spacing:-.3px;
  line-height:1.5;
  font-weight:600;
  margin-top:13px
}
.project-card>p {
  font-size:0.8125rem;
  line-height:1.75;
  color:#667761;
  margin-top:7px
}
.project-progress {
  display:flex;
  align-items:center;
  margin-top:22px;
  flex-wrap:wrap;
  gap:12px
}
.progress-track {
  display:flex;
  gap:3px;
  flex:1;
  min-width:100px;
  height:5px
}
.progress-track i {
  display:block;
  flex:1;
  background:#e4e9de;
  border-radius:1px
}
.progress-track i.done {
  background:#618577
}
.project-progress>span {
  white-space:nowrap;
  font-size:.75rem;
  color:var(--muted)
}
.project-card-footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.75rem;
  line-height:1.7;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  margin-top:18px
}
.project-card-footer svg {
  width:15px;
  height:15px
}
.focus-panel {
  position:relative;
  padding:28px;
  background:#eaf0ff;
  border-color:#d8e2f6
}
.focus-panel .overline {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.75rem;
  color:#3e5488;
  letter-spacing:.07em
}
.focus-panel .overline svg {
  width:15px;
  height:15px
}
.focus-panel h2 {
  font-size:1.625rem;
  font-weight:600;
  line-height:1.32;
  letter-spacing:-.035em;
  max-width:none;
  margin-top:22px;
  color:#233765
}
.focus-panel>p {
  font-size:.9375rem;
  line-height:1.75;
  max-width:none;
  color:#4b5f83;
  margin-top:18px
}
.focus-panel .primary-button {
  font-size:.875rem;
  min-height:48px;
  padding:12px 16px;
  margin-top:24px;
  white-space:normal
}
.focus-bottom {
  border-top:1px solid #d8dff3;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:.75rem;
  color:#4a5d81;
  line-height:1.7;
  margin-top:24px;
  padding-top:18px
}
.focus-bottom svg {
  width:15px;
  height:15px
}
.task-panel {
  margin-top:20px
}
.task-list {
  padding:0 24px 18px
}
.task-item {
  display:flex;
  align-items:flex-start;
  border-bottom:1px solid #eef0e9;
  gap:12px;
  padding:15px 0
}
.task-item:last-child {
  border-bottom:0
}
.task-check {
  flex-shrink:0;
  border:1px solid #cdd7c6;
  background:white;
  display:grid;
  place-items:center;
  color:#466538;
  padding:0;
  width:26px;
  height:26px;
  border-radius:7px;
  font-size:.9375rem;
  margin-top:0
}
.task-check[aria-pressed=true] {
  background:#e8f0e2;
  border-color:#9eb78d
}
.task-item>span {
  font-size:.9375rem;
  line-height:1.65;
  color:#41574d
}
.task-item.completed>span {
  text-decoration:line-through;
  color:#6e7d67
}
.task-remove {
  margin-left:auto;
  background:none;
  color:#798970;
  font-size:1.25rem;
  min-width:28px;
  min-height:28px;
  line-height:1;
  padding:0
}
.inline-task-form {
  display:flex;
  padding:0 24px 24px;
  gap:10px
}
.inline-task-form input {
  min-width:0;
  font-size:1rem;
  padding:12px;
  min-height:48px
}
.inline-task-form button {
  background:#edf2e8;
  color:#5b744e;
  flex-shrink:0;
  width:44px;
  border-radius:10px
}
.inline-task-form svg {
  width:16px;
  height:16px
}
.reading-panel {
  margin-top:20px
}
.source-mini-list {
  padding:0 26px 14px
}
.source-mini {
  display:flex;
  align-items:flex-start;
  border-bottom:1px solid #edf0e8;
  text-align:left;
  width:100%;
  background:none;
  gap:14px;
  padding:20px 0
}
.source-mini:last-child {
  border-bottom:0
}
.source-document {
  border:1px solid #dce3d5;
  display:grid;
  place-items:center;
  flex-shrink:0;
  width:36px;
  height:42px;
  border-radius:7px;
  background:#f4f7fb;
  border-color:#dce3ec;
  color:#566c8c
}
.source-document svg {
  width:15px;
  height:15px
}
.source-mini h3 {
  font-size:.9375rem;
  font-weight:600;
  line-height:1.6;
  letter-spacing:0
}
.source-mini p {
  font-size:.8125rem;
  line-height:1.7;
  margin-top:8px;
  color:var(--muted)
}
.source-mini>svg {
  margin-left:auto;
  width:14px;
  height:14px;
  color:#8a9780;
  flex-shrink:0
}
.source-mini>div:nth-child(2) {
  min-width:0
}
.thought-card {
  margin-top:20px;
  border:1px solid #e0e6d6;
  padding:28px;
  background:#edf2ea;
  border-color:#dbe5d7;
  border-radius:16px
}
.thought-card .overline {
  font-size:.75rem;
  letter-spacing:.08em;
  color:#476443
}
.thought-card h3 {
  font-size:1.375rem;
  line-height:1.4;
  font-weight:600;
  letter-spacing:-.025em;
  margin:18px 0 12px
}
.thought-card>p {
  color:#607656;
  font-size:.9375rem;
  line-height:1.75
}
.thought-card .text-button {
  color:#486b3b;
  margin-top:14px
}
.section-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
  flex-wrap:wrap
}
.section-toolbar .filter-input {
  max-width:340px
}
.filter-tabs {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.filter-tabs button {
  background:none;
  border:1px solid transparent;
  color:#667661;
  font-size:.875rem;
  min-height:44px;
  padding:10px 16px;
  border-radius:9px
}
.filter-tabs button.active {
  color:#2d43cd;
  background:#edf0ff;
  border-color:#d0d9f6;
  font-weight:600
}
.project-grid,.framework-grid,.notes-grid,.tools-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px
}
.project-grid .project-card {
  margin:0;
  background:#fff;
  padding:28px;
  border-radius:16px
}
.project-grid .project-card h3 {
  font-size:1.25rem
}
.project-grid .project-card>p {
  font-size:0.875rem
}
.empty-state {
  text-align:center;
  border:1px dashed #ced9c5;
  background:#fcfdf9;
  grid-column:1/-1;
  padding:64px 28px;
  border-radius:16px
}
.empty-state>svg {
  width:36px;
  height:36px;
  color:#809175
}
.empty-state h2 {
  letter-spacing:-.6px;
  margin-top:15px;
  font-size:1.625rem;
  font-weight:600;
  line-height:1.35
}
.empty-state p {
  color:#61725d;
  margin:12px auto 20px;
  font-size:1rem;
  max-width:520px;
  line-height:1.75
}
.search-hero {
  border:1px solid #dee5d7;
  background:#eef2fa;
  border-color:#dce4ef;
  border-radius:18px;
  padding:36px;
  margin-bottom:32px
}
.search-hero h2 {
  line-height:1.4;
  font-size:1.875rem;
  font-weight:600;
  letter-spacing:-.035em
}
.search-hero>p {
  color:#5e7459;
  line-height:1.8;
  margin-top:10px;
  font-size:1rem
}
.scholar-search {
  display:flex;
  gap:12px;
  margin-top:26px;
  flex-wrap:wrap
}
.scholar-search input {
  flex:1;
  min-width:0;
  background:#fff;
  padding:14px;
  font-size:1rem;
  flex-basis:320px
}
.scholar-search select {
  font-size:1rem;
  width:180px
}
.search-disclaimer {
  display:flex;
  gap:7px;
  color:#607458;
  font-size:.8125rem;
  margin-top:16px;
  line-height:1.75
}
.search-disclaimer svg {
  flex-shrink:0;
  margin-top:2px;
  width:18px;
  height:18px
}
.search-suggestions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  color:#60725d;
  font-size:.8125rem;
  margin-top:22px;
  gap:10px
}
.search-suggestions button {
  border:1px solid #d4dfca;
  border-radius:20px;
  font-size:.8125rem;
  min-height:40px;
  padding:9px 14px;
  background:#fff;
  border-color:#ced9e6;
  color:#425976
}
.search-result,.library-card {
  background:white;
  border:1px solid var(--line);
  display:flex;
  align-items:flex-start;
  border-radius:14px;
  padding:28px;
  margin-bottom:16px;
  gap:20px
}
.source-details {
  flex:1;
  min-width:0
}
.source-meta {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  font-size:.8125rem;
  line-height:1.7;
  color:var(--muted)
}
.source-details h3 {
  font-size:1.1875rem;
  font-weight:650;
  line-height:1.5;
  letter-spacing:-.02em;
  margin:12px 0
}
.source-details p {
  font-size:.9375rem;
  line-height:1.75;
  color:var(--muted)
}
.source-details a {
  color:#3c54ca;
  display:inline-block;
  overflow-wrap:anywhere;
  font-size:.875rem;
  margin-top:14px;
  min-height:32px
}
.source-actions {
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  flex-shrink:0;
  max-width:180px;
  gap:14px
}
.source-actions .secondary-button {
  font-size:.875rem;
  min-height:44px;
  padding:11px 14px
}
.small-label {
  font-size:.75rem;
  line-height:1.7;
  color:var(--muted)
}
.source-note-preview {
  margin-top:10px;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:.9375rem;
  line-height:1.8;
  padding:14px 16px;
  background:#f3f6f8;
  border-radius:10px;
  color:#4b5e6b
}
.framework-card,.note-card,.tool-card {
  background:white;
  border:1px solid var(--line);
  text-align:left;
  min-width:0;
  padding:28px;
  border-radius:16px;
  box-shadow:var(--shadow-card)
}
.framework-card:hover,.note-card:hover {
  border-color:#b6c4a8
}
.framework-card .framework-icon {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  color:#68805a
}
.framework-card h3,.note-card h3,.tool-card h3 {
  font-size:1.25rem;
  line-height:1.45;
  font-weight:650;
  letter-spacing:-.025em
}
.framework-card p,.note-card p,.tool-card p {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font-size:1rem;
  line-height:1.75;
  color:var(--muted);
  margin-top:16px
}
.framework-card-footer {
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:#596d51;
  font-size:.8125rem;
  gap:12px;
  line-height:1.6;
  padding-top:20px;
  margin-top:24px
}
.note-card>.source-meta {
  margin-bottom:15px
}
.note-card time {
  display:block;
  font-size:.8125rem;
  color:var(--muted);
  margin-top:24px
}
.workbench-explainer {
  display:flex;
  align-items:center;
  border:1px solid #dce4f6;
  background:#eff2fc;
  padding:28px;
  border-radius:14px;
  gap:24px;
  margin-bottom:28px
}
.workbench-explainer>svg {
  width:45px;
  height:45px;
  color:#647bc0
}
.workbench-explainer h2 {
  font-weight:600;
  font-size:1.25rem;
  line-height:1.45;
  letter-spacing:-.02em
}
.workbench-explainer p {
  color:#5b6c93;
  font-size:.9375rem;
  line-height:1.8;
  margin-top:12px
}
.tool-card .tool-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:11px
}
.tool-card .tool-heading>span {
  color:#6375b9
}
.tool-card a {
  color:var(--blue);
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:.875rem;
  min-height:40px;
  margin-top:20px
}
.tool-card a svg {
  width:13px;
  height:13px
}
.tool-card .status-pill {
  margin-top:12px;
  font-size:.75rem
}
.info-banner {
  color:#5e7256;
  background:#edf2e7;
  border:1px solid #dce5d4;
  font-size:.875rem;
  line-height:1.8;
  border-radius:12px;
  padding:20px 24px;
  margin-bottom:28px
}
.method-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-bottom:28px
}
.method-card {
  background:#fff;
  border:1px solid var(--line);
  padding:28px;
  border-radius:16px
}
.method-card h2 {
  letter-spacing:-.4px;
  font-size:1.25rem;
  line-height:1.4;
  font-weight:650
}
.method-card p,.method-card li {
  font-size:1rem;
  line-height:1.8;
  margin-top:14px;
  color:var(--muted)
}
.method-card ul {
  padding-left:18px;
  margin-bottom:0
}
.method-card a {
  color:#3b50be;
  text-decoration:underline
}
.strategy-table-wrap {
  overflow:auto;
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px
}
.strategy-table {
  border-collapse:collapse;
  width:100%;
  font-size:.875rem;
  min-width:750px
}
.strategy-table th,.strategy-table td {
  border-bottom:1px solid #e7ecdf;
  text-align:left;
  line-height:1.6;
  padding:18px
}
.strategy-table th {
  font-size:.8125rem;
  background:#f2f5f8;
  color:#405466
}
.strategy-table td:last-child {
  font-weight:600;
  color:#4051bf
}
.strategy-heading {
  font-size:1.5rem;
  font-weight:650;
  line-height:1.4;
  letter-spacing:-.025em;
  margin:36px 0 18px
}
.settings-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.settings-card {
  background:white;
  border:1px solid var(--line);
  padding:30px;
  border-radius:16px
}
.settings-card h2 {
  letter-spacing:-.3px;
  margin-bottom:16px;
  font-size:1.25rem;
  font-weight:650
}
.settings-row {
  display:flex;
  justify-content:space-between;
  gap:15px;
  border-bottom:1px solid var(--line);
  font-size:.9375rem;
  line-height:1.7;
  padding:18px 0
}
.settings-row span {
  color:#62765a
}
.settings-row strong {
  font-weight:600;
  text-align:right;
  overflow-wrap:anywhere
}
.settings-card p {
  margin-bottom:15px;
  font-size:1rem;
  line-height:1.8;
  color:var(--muted)
}
.settings-card .secondary-button {
  margin-top:8px
}
.activity-list {
  list-style:none;
  margin:18px 0 0;
  padding:0
}
.activity-list li {
  padding:14px 0;
  border-bottom:1px solid var(--line);
  line-height:1.8;
  font-size:1rem
}
.activity-list small {
  display:block;
  color:#64775b;
  margin-top:4px;
  font-size:.8125rem
}
.workspace-loading {
  display:grid;
  place-items:center;
  padding:120px 20px;
  gap:20px;
  color:#60775a;
  font-size:1rem
}
.loading-orbit {
  width:32px;
  height:32px;
  border:1px solid #cdd6ff;
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin 1.2s linear infinite
}
@keyframes spin {
to {
  transform:rotate(360deg)
}
}
.toast {
  position:fixed;
  bottom:25px;
  transform:translateX(-50%);
  background:#223b2a;
  color:white;
  padding:13px 20px;
  box-shadow:0 7px 25px #23392c25;
  z-index:80;
  line-height:1.7;
  max-width:90vw;
  font-size:.9375rem;
  left:calc(50% + 136px);
  border-radius:12px
}
.toast.error {
  background:#8e3e3c
}
/* Dialogs and working forms */
dialog {
  max-height:91dvh;
  padding:0;
  border:1px solid #dbe3d3;
  color:var(--ink);
  box-shadow:0 30px 100px #15271930;
  max-width:760px;
  width:calc(100% - 32px);
  border-radius:20px;
  background:#fff;
  border-color:var(--line)
}
dialog::backdrop {
  background:#172d2465;
  backdrop-filter:blur(5px)
}
.workspace-dialog-shell {
  position:relative;
  padding:40px
}
.workspace-dialog-shell>.overline {
  color:#65755d;
  font-size:.75rem;
  letter-spacing:.08em;
  padding-right:32px
}
.workspace-dialog-shell>h2 {
  font-size:1.875rem;
  line-height:1.3;
  font-weight:650;
  letter-spacing:-.035em;
  margin:18px 0 26px;
  padding-right:0
}
.dialog-close {
  position:absolute;
  border:1px solid var(--line);
  border-radius:50%;
  background:transparent;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  right:14px;
  top:12px;
  font-size:1.5rem
}
.dialog-close:hover {
  background:#e9efdf
}
.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px
}
.form-help {
  font-size:.8125rem;
  line-height:1.8;
  color:#536773;
  margin-top:10px
}
.form-section-heading {
  font-size:1.125rem;
  font-weight:650;
  margin-top:30px
}
.checklist {
  padding:9px 0
}
.checklist label {
  display:flex;
  font-weight:400;
  font-size:.9375rem;
  line-height:1.65;
  gap:12px;
  margin:16px 0;
  align-items:flex-start
}
.checklist input {
  accent-color:var(--blue);
  flex-shrink:0;
  width:20px;
  height:20px;
  margin-top:3px
}
.form-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  flex-wrap:wrap;
  padding-top:24px;
  margin-top:30px;
  gap:16px
}
.form-actions-right {
  display:flex;
  gap:10px;
  margin-left:auto
}
.danger-button {
  background:none;
  color:#9c4242;
  padding:9px 0;
  font-size:.875rem;
  min-height:44px
}
.dialog-copy {
  font-size:1rem;
  line-height:1.8;
  color:var(--muted)
}
.dialog-copy h3 {
  color:var(--ink);
  margin:20px 0 8px;
  font-size:1.25rem
}
.dialog-copy p {
  margin-top:10px
}
.dialog-copy ul {
  padding-left:18px
}
.command-results {
  margin-top:15px;
  display:flex;
  flex-direction:column;
  gap:6px
}
.command-results button {
  text-align:left;
  background:#f0f4e8;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.9375rem;
  padding:16px;
  border-radius:10px;
  line-height:1.6
}
.command-results button:hover {
  background:#e4ebd9
}
.command-results small {
  margin-left:auto;
  color:#607552;
  font-size:.75rem
}
.status-explainer {
  border:1px solid #e3e9dc;
  background:#f2f5ed;
  color:#5e7454;
  margin-bottom:18px;
  font-size:.9375rem;
  line-height:1.8;
  padding:18px;
  border-radius:12px
}
.source-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--blue);
  overflow-wrap:anywhere;
  font-size:.9375rem;
  line-height:1.7;
  min-height:44px
}
.source-link svg {
  width:14px;
  height:14px
}
.page-note {
  color:#66775e;
  margin-top:18px;
  font-size:.875rem;
  line-height:1.8
}
.block-title {
  letter-spacing:-.3px;
  margin:22px 0 13px;
  font-size:1.25rem;
  font-weight:650
}
.task-item.completed>span,.auth-preview-note,.workspace-switch small,.sidebar-method p,.breadcrumbs>span:first-of-type,.workspace-search,.page-heading .page-subtitle,.today-date,.panel-heading p,.thought-card>p,.search-hero>p,.search-suggestions,.page-note {
  color:#566b53
}
.tiny-pill,.status-pill {
  font-size:.75rem;
  line-height:1.5;
  padding:5px 9px;
  border-radius:6px;
  white-space:normal
}
.auth-story .workspace-logo>svg,.auth-story .logo-dot {
  color:#b7c4ff
}
.auth-submit,#demo-login {
  min-height:52px
}
.sample-hint,.auth-preview-note {
  font-size:.8125rem;
  line-height:1.8
}
.page-heading>div:first-child {
  min-width:0;
  max-width:800px
}
.overview-left,.overview-right {
  min-width:0
}
.project-card h3,.project-grid .project-card h3 {
  font-size:1.125rem;
  font-weight:650;
  line-height:1.45;
  letter-spacing:-.025em;
  margin-top:18px
}
.project-card>p,.project-grid .project-card>p {
  font-size:.9375rem;
  line-height:1.75;
  color:var(--muted);
  margin-top:10px
}
.task-panel,.reading-panel,.thought-card {
  margin-top:24px
}
.tool-card .form-help {
  font-size:.8125rem
}
.sidebar-manifesto {
  margin: 0 8px 20px;
  padding: 20px 4px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.8;
  color: var(--muted);
}
.sidebar-manifesto strong { font-weight: 600; color: var(--ink); }
/* Reflow the workspace before compromising text size. */
@media (min-width: 1600px) {
#workspace-content {
  padding:48px
}
.workspace-topbar {
  padding-left:48px;
  padding-right:48px
}
.project-grid,.framework-grid,.notes-grid,.tools-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))
}
}
@media (max-width: 1250px) {
.sidebar {
  width:256px;
  padding-left:16px;
  padding-right:16px
}
.workspace-main {
  margin-left:256px
}
#workspace-content {
  padding:32px 28px
}
.workspace-topbar {
  padding:16px 28px
}
.workspace-search {
  min-width:44px;
  width:44px;
  justify-content:center;
  padding:10px
}
.workspace-search span,.workspace-search kbd {
  display:none
}
.stats-grid {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
.overview-grid {
  grid-template-columns:1fr
}
.overview-right {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px
}
.overview-right .task-panel,.overview-right .thought-card {
  margin-top:0
}
.overview-right .thought-card {
  grid-column:1/-1
}
.focus-panel h2 br {
  display:none
}
.page-heading {
  flex-wrap:wrap
}
.page-heading-actions {
  padding-top:0
}
.settings-grid {
  grid-template-columns:1fr
}
.search-result,.library-card {
  flex-wrap:wrap
}
.source-actions {
  flex-direction:row;
  align-items:center;
  max-width:none;
  width:100%;
  flex-wrap:wrap
}
.auth-story {
  padding:40px 9%
}
.auth-panel {
  padding:40px 9%
}
.auth-story h1 {
  font-size:3.25rem
}
.auth-illustration {
  transform:scale(.85);
  transform-origin:left center
}
}
@media (max-width: 1000px) {
.overview-right,.project-grid,.framework-grid,.notes-grid,.tools-grid,.method-grid {
  grid-template-columns:1fr
}
.overview-right .thought-card {
  grid-column:auto
}
.panel-heading {
  flex-wrap:wrap
}
.auth-story {
  padding:36px
}
.auth-panel {
  padding:36px
}
.auth-story h1 {
  font-size:2.75rem
}
.auth-form-wrap h2 {
  font-size:1.875rem
}
.workspace-topbar {
  gap:10px;
  padding:16px 24px
}
.topbar-actions {
  gap:6px
}
.breadcrumbs {
  white-space:normal
}
.scholar-search input {
  flex-basis:100%
}
.scholar-search select {
  flex:1
}
.workbench-explainer {
  align-items:flex-start;
  gap:18px
}
}
@media (max-width: 760px) {
.sidebar {
  transform:translateX(-100%);
  transition:transform .2s;
  width:min(300px,88vw);
  z-index:60;
  padding-top:24px
}
.sidebar.open {
  transform:translateX(0)
}
#sidebar-shade {
  position:fixed;
  inset:0;
  background:#172d3860;
  z-index:50;
  backdrop-filter:blur(2px)
}
.workspace-main {
  margin-left:0
}
#sidebar-toggle {
  display:grid;
  margin-left:-8px;
  flex-shrink:0
}
.workspace-topbar {
  min-height:76px;
  padding:12px 20px;
  gap:6px
}
.breadcrumbs {
  gap:10px;
  min-width:0
}
.breadcrumbs>span:first-of-type,.crumb-divider {
  display:none
}
.breadcrumbs strong {
  font-size:.875rem
}
.topbar-actions {
  gap:2px
}
.topbar-actions>[data-open=help] {
  display:none
}
.workspace-search {
  min-width:40px;
  width:40px;
  background:transparent;
  border:0
}
.top-avatar {
  width:34px;
  height:34px;
  margin-left:2px
}
#workspace-content {
  padding:28px 20px 36px
}
.page-heading {
  gap:20px;
  margin-bottom:24px
}
.page-heading h1 {
  font-size:1.875rem
}
.page-heading .page-subtitle {
  font-size:1rem
}
.page-heading-actions {
  padding-top:0
}
.demo-banner {
  flex-wrap:wrap;
  gap:8px;
  padding:14px 16px;
  align-items:flex-start
}
.demo-banner>span {
  flex:1;
  min-width:170px
}
.demo-banner button {
  margin-left:26px;
  text-align:left;
  min-height:32px
}
.stats-grid {
  gap:12px;
  margin-bottom:24px
}
.stat-card {
  padding:18px 16px
}
.stat-top {
  font-size:.8125rem;
  gap:8px
}
.stat-top svg {
  width:18px;
  height:18px
}
.stat-number {
  font-size:2.25rem;
  margin-top:16px
}
.stat-caption {
  font-size:.75rem
}
.overview-grid,.overview-right {
  gap:20px
}
.panel-heading {
  padding:22px 20px 16px
}
.panel-heading h2 {
  font-size:1.1875rem
}
.project-list {
  padding:0 12px 12px
}
.project-card,.project-grid .project-card {
  padding:20px
}
.project-card-top {
  gap:8px
}
.project-card-top .status-pill {
  margin-left:0
}
.project-card h3,.project-grid .project-card h3 {
  font-size:1.125rem
}
.project-card-footer {
  align-items:flex-start
}
.source-mini-list {
  padding:0 20px 12px
}
.focus-panel,.thought-card {
  padding:24px
}
.focus-panel h2 {
  font-size:1.5rem
}
.task-list {
  padding:0 20px 16px
}
.inline-task-form {
  padding:0 20px 20px
}
.source-mini>svg {
  display:none
}
.framework-card,.note-card,.tool-card,.method-card,.settings-card {
  padding:24px
}
.section-toolbar {
  align-items:stretch;
  gap:16px
}
.section-toolbar .filter-input {
  max-width:none
}
.filter-tabs {
  gap:6px
}
.filter-tabs button {
  padding:10px 12px
}
.search-hero {
  padding:24px
}
.search-hero h2 {
  font-size:1.5rem
}
.scholar-search {
  flex-direction:column
}
.scholar-search input {
  flex-basis:auto
}
.scholar-search select {
  width:100%
}
.search-result,.library-card {
  padding:22px;
  gap:16px
}
.library-card>.source-document {
  display:none
}
.source-details {
  flex-basis:100%
}
.source-details h3 {
  font-size:1.125rem
}
.workbench-explainer {
  padding:22px;
  flex-direction:column;
  gap:16px
}
.workbench-explainer>svg {
  width:32px;
  height:32px
}
.info-banner {
  padding:20px
}
.settings-row {
  flex-direction:column;
  gap:6px
}
.settings-row strong {
  text-align:left
}
.workspace-footer {
  padding:22px 20px;
  gap:8px;
  flex-direction:column
}
.toast {
  left:50%;
  bottom:18px;
  width:max-content;
  max-width:calc(100vw - 32px)
}
.workspace-dialog-shell {
  padding:32px 22px
}
.workspace-dialog-shell>h2 {
  font-size:1.625rem
}
.form-row {
  grid-template-columns:1fr;
  gap:0
}
.form-actions-right {
  flex-wrap:wrap;
  margin-left:0;
  gap:10px
}
.form-actions {
  align-items:flex-start
}
.command-results button {
  padding:14px 12px;
  gap:10px;
  align-items:flex-start
}
.auth-layout {
  grid-template-columns:1fr
}
.auth-story {
  padding:28px 24px 32px
}
.auth-story-content {
  margin:0;
  padding:32px 0 0
}
.auth-story h1 {
  font-size:2.625rem;
  line-height:1.15;
  margin-top:18px
}
.auth-story h1 br {
  display:none
}
.auth-story h1 span {
  display:block
}
.auth-story-content>p:not(.overline) {
  font-size:1rem;
  margin-top:20px
}
.auth-story-content>p br {
  display:none
}
.auth-illustration,.auth-credit {
  display:none
}
.auth-panel {
  padding:24px
}
.auth-form-wrap {
  padding:32px 0
}
.auth-form-wrap h2 {
  font-size:1.875rem
}
.auth-footer {
  text-align:left;
  max-width:440px;
  width:100%;
  align-self:center
}
}
@media (max-width: 380px) {
#workspace-content {
  padding-left:16px;
  padding-right:16px
}
.workspace-topbar {
  padding-left:16px;
  padding-right:16px
}
.stat-card {
  padding:16px 14px
}
.stat-top svg {
  display:none
}
.page-heading h1 {
  font-size:1.75rem
}
.project-progress {
  flex-direction:column;
  align-items:stretch
}
.progress-track {
  flex:auto
}
.source-mini {
  gap:10px
}
.source-document {
  width:28px;
  height:34px
}
.auth-story,.auth-panel {
  padding-left:20px;
  padding-right:20px
}
}
.research-intro { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:28px; background:var(--blue-soft); border-radius:18px; margin-bottom:28px; }
.research-intro h2 { margin:16px 0 10px; font-size:1.5rem; }
.research-intro p { max-width:720px; line-height:1.7; }
.research-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(240px,1fr); gap:24px; align-items:start; }
.research-composer { padding:28px; }
.research-composer h2,.research-history h2 { font-size:1.375rem; }
.research-composer .page-note { margin:14px 0 22px; }
.research-composer label:not(.research-consent) { display:block; font-size:1rem; font-weight:600; margin:20px 0 10px; }
.research-composer textarea,.research-composer select { width:100%; font:inherit; font-size:1rem; line-height:1.6; background:white; border:1px solid var(--line); border-radius:10px; padding:14px; color:var(--ink); }
.research-composer textarea { min-height:180px; resize:vertical; }
.research-cost { margin:24px 0; padding:22px; border:1px solid var(--line); border-radius:12px; background:var(--paper); line-height:1.7; }
.research-cost p { margin:10px 0; }
.research-cost a,.research-sources a { color:var(--blue); text-decoration:underline; text-underline-offset:3px; }
.research-consent { display:flex; align-items:flex-start; gap:12px; margin:16px 0; font-size:1rem; line-height:1.7; cursor:pointer; }
.research-consent input { flex:0 0 20px; width:20px; height:20px; margin-top:4px; }
.research-boundaries { display:grid; gap:20px; }
.research-boundaries .method-card p+p { margin-top:16px; }
.research-history { margin-top:36px; }
.research-job { padding:24px; margin-bottom:16px; border:1px solid var(--line); background:white; border-radius:14px; display:flex; justify-content:space-between; align-items:center; gap:20px; }
.research-job h3 { margin:14px 0 8px; font-size:1.125rem; overflow-wrap:anywhere; }
.research-job p { color:var(--muted); font-size:.875rem; }
.research-job .secondary-button { flex-shrink:0; }
.research-report h3 { margin:22px 0 14px; font-size:1.125rem; overflow-wrap:anywhere; }
.research-report-text { font:inherit; font-size:1rem; line-height:1.8; white-space:pre-wrap; overflow-wrap:anywhere; background:var(--paper); padding:20px; border-radius:12px; }
.research-sources { padding-left:24px; }
.research-sources li { margin:14px 0; overflow-wrap:anywhere; }
.research-sources small { display:block; color:var(--muted); margin-top:6px; font-size:.8125rem; }
.research-job-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:24px; }
@media (max-width:1100px) { .research-layout { grid-template-columns:1fr; } .research-boundaries { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:760px) { .research-intro,.research-job { flex-direction:column; align-items:stretch; padding:22px; } .research-boundaries { grid-template-columns:1fr; } .research-composer { padding:22px; } }
@media (prefers-reduced-motion: reduce) {
*,*::before,*::after {
  animation:none!important;
  transition:none!important
}
}
