/* PMECope — Context workspace inspired light design.
   Original application-specific styling; no external assets or dependencies.
   Compact neutral work surfaces, readable type and blue primary actions. */
@font-face {
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/rethink-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Rethink Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/rethink-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --green: #25683c;
  --muted: #73777f;
  --border: #e7e8ec;
  --shadow: 0 2px 3px #18181b02, 0 8px 24px #18181b03;
  --ui-ink: #24262b;
  --ui-soft: #f6f7f8;
  --ui-green-soft: #edf6ef;
  --ui-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
  color: var(--ui-ink);
  font-family: "Rethink Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { background: #fff; }
::selection { color: #164329; background: #dceee0; }
button, input, textarea, select { font-size: 14px; }
button, a, input, textarea, select { outline-offset: 3px; }
button, a { touch-action: manipulation; }
button { -webkit-appearance: none; }
button:disabled { opacity: .48; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, .attach-button:focus-within {
  outline: 3px solid #25683c55;
  outline-offset: 3px;
}
input, textarea, select {
  background: #fff;
  border-color: #dfe1e5;
  border-radius: 10px;
  padding: 11px 13px;
  box-shadow: 0 1px 2px #18181b03;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
input::placeholder, textarea::placeholder { color: #9a9da4; opacity: 1; }
input:focus, textarea:focus, select:focus {
  border-color: #80a68b;
  outline: 3px solid #25683c16;
  outline-offset: 0;
  box-shadow: 0 1px 2px #18181b03;
}
input[type="checkbox"], input[type="radio"] { accent-color: var(--green); }
small, .muted { color: var(--muted); }
.muted { font-size: 14px; }
.button {
  min-height: 42px;
  padding: 11px 17px;
  border: 1px solid #215d35;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  box-shadow: inset 0 1px 0 #ffffff14, 0 1px 2px #152b1c0d;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -.01em;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease,
    transform 280ms var(--ui-ease);
}
.button:hover { background: #205b34; border-color: #1c502e; }
.button:active { transform: scale(.975); }
.button.secondary {
  color: #41454d;
  background: #fff;
  border-color: #dfe1e5;
  box-shadow: 0 1px 2px #18181b04;
}
.button.secondary:hover { background: #f6f7f8; border-color: #cfd2d8; }
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border-color: #e4e5e9;
  color: #646974;
  background: #fff;
  transition: background 180ms ease, color 180ms ease, transform 280ms var(--ui-ease);
}
.icon-button:hover { color: #282c33; background: #f4f5f6; }
.text-button { color: var(--green); padding: 8px; font-size: 13px; font-weight: 500; border-radius: 8px; }
.danger { color: #b84236; }
.text-button.danger:hover { background: #fff2ef; }
.tag, .status {
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #f8f9fa;
  color: #666c76;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .01em;
  line-height: 1.5;
}
.status { color: #476952; background: #f1f7f2; border-color: #e2ece4; }
.status.urgent { color: #9c6727; background: #fff8eb; border-color: #f4e7cb; }
.status.done { color: #35704a; background: #edf7ef; border-color: #d9ebdf; }
.eyebrow { color: #8b8f97; font-size: 10px; font-weight: 500; letter-spacing: .12em; }
.avatar {
  border: 1px solid #e0ebe3;
  border-radius: 12px;
  color: #3d7450;
  background: #edf5ef;
  width: 42px;
  height: 42px;
  font-size: 14px;
  font-weight: 500;
}
.avatar.small { border-radius: 9px; width: 30px; height: 30px; font-size: 11px; }
.card { background: #fff; border-color: var(--border); border-radius: 10px; box-shadow: var(--shadow); }
.field > span, .field-label { color: #555b65; font-size: 13px; font-weight: 500; }
.form-grid { gap: 20px; }
.two-columns { gap: 16px; }
.empty {
  border-color: #dfe2e6;
  border-radius: 10px;
  background: #fff;
  color: #a5acb5;
  padding: 56px 24px;
}
.empty h3 { color: #424852; font-size: 17px; font-weight: 500; }
.empty p { color: #81868e; font-size: 14px; }
.loading, .boot { color: #838992; font-size: 14px; }
.error { color: #a74438; border-color: #f0d5d0; background: #fff5f3; font-size: 13px; border-radius: 10px; }
.success { color: #346c46; background: #f0f8f2; border: 1px solid #deece2; font-size: 13px; }

/* The workspace frame */
.brand { color: #252a2e; font-size: 22px; letter-spacing: -.045em; gap: 11px; font-weight: 700; }
.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid #1f5e35;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  box-shadow: inset 0 1px 0 #ffffff20, 0 2px 4px #183d2410;
}
.brand small { color: #92969d; font-size: 8px; font-weight: 500; letter-spacing: .17em; margin-top: 3px; }
.sidebar { width: 252px; padding: 30px 18px 20px; background: #fff; border-right-color: #e9eaed; }
.sidebar > .brand { padding-left: 12px; }
.workspace-label { color: #a2a5ac; margin: 40px 15px 13px; font-size: 10px; letter-spacing: .12em; }
.sidebar nav { gap: 5px; }
.sidebar nav button {
  position: relative;
  color: #737984;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 45px;
  font-size: 13px;
  font-weight: 500;
  gap: 12px;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease,
    transform 380ms cubic-bezier(.34, 1.56, .64, 1);
}
.sidebar nav button svg { opacity: .85; width: 18px; height: 18px; }
.sidebar nav button:hover { color: #383e47; background: #f7f8f9; }
.sidebar nav button.active { color: #2c6b40; background: #f0f7f2; border-color: #e3eee6; font-weight: 500; }
.sidebar nav button.active svg { opacity: 1; }
.nav-dot { background: #4e8b61; width: 5px; height: 5px; box-shadow: 0 0 0 3px #4e8b6110; }
.sidebar-note {
  background: #fafbfb;
  border-color: #e8e9ec;
  border-radius: 13px;
  margin: auto 4px 22px;
  padding: 19px 17px;
}
.seedling { font-size: 25px; margin-bottom: 12px; }
.sidebar-note b { color: #4d555e; font-size: 13px; font-weight: 500; }
.sidebar-note p { color: #9398a0; font-size: 11px; margin: 8px 0 18px; line-height: 1.7; }
.sidebar-note > span:last-child { color: #a5a9af; font-size: 8px; letter-spacing: .12em; }
.sidebar-user { border: 1px solid transparent; border-radius: 10px; padding: 8px 7px; gap: 10px; color: #767c85; }
.sidebar-user:hover { background: #f8f9fa; border-color: #edeef0; }
.sidebar-user b { color: #424852; font-size: 12px; font-weight: 500; }
.sidebar-user small { color: #999ea6; font-size: 10px; margin-top: 3px; }
.workspace { margin-left: 252px; background: #fff; }
.topbar { height: 78px; padding: 0 38px; background: #ffffffee; border-bottom-color: #e9eaed; }
.breadcrumb { color: #a0a5ac; font-size: 12px; gap: 13px; }
.breadcrumb b { color: #626872; font-weight: 500; }
.top-actions { gap: 11px; }
.search { width: 230px; color: #9ca1aa; background: #f8f9fa; border-color: #e9eaed; border-radius: 10px; gap: 9px; padding: 0 12px; }
.search:focus-within { background: #fff; border-color: #9bb8a3; box-shadow: 0 0 0 3px #25683c0b; }
.search input { padding: 10px 0; font-size: 12px; box-shadow: none; }
.search input:focus { outline: 0; box-shadow: none; }
.notification-button > span { border: 2px solid #fff; border-radius: 7px; padding: 1px 4px; font-size: 9px; top: -5px; right: -5px; }
.workspace main { max-width: 1450px; padding: 38px 40px 44px; animation: context-enter 350ms var(--ui-ease); }
.section-heading { margin-bottom: 28px; gap: 20px; }
.section-heading h2 { color: #24272d; font-size: 31px; font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.heading-dot { color: #77a287; }
.section-heading p { color: #8a8f98; font-size: 13px; margin-top: 10px; line-height: 1.6; }
.section-heading .eyebrow { color: #9a9fa7; font-size: 10px; margin-bottom: 9px; letter-spacing: .12em; }
.section-heading .button { min-height: 40px; padding: 10px 15px; font-size: 12px; }
.workspace-footer { color: #a8adb5; background: #fff; border-top-color: #ecedf0; padding: 19px 40px; font-size: 10px; }

/* Metrics, segmented navigation and work cards */
.summary-strip {
  background: #fff;
  border-color: #e6e8eb;
  border-radius: 10px;
  box-shadow: 0 2px 8px #18181b02;
  margin-bottom: 26px;
  padding: 23px 29px;
  gap: 42px;
}
.summary-strip div { gap: 13px; }
.summary-strip b { color: #31373e; font-size: 29px; font-weight: 500; letter-spacing: -.055em; }
.summary-strip span { color: #949aa3; font-size: 12px; }
.summary-strip > svg { color: #9cb7a4; }
.category-tabs { gap: 6px; border-bottom-color: #e6e8ec; padding-bottom: 13px; margin-bottom: 25px; overflow-x: auto; scrollbar-width: thin; }
.category-tabs button {
  color: #858b95;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, transform 300ms var(--ui-ease);
}
.category-tabs button.active { color: #2d693f; background: #eef6f0; border-color: #dfece3; font-weight: 500; }
.category-tabs button:hover { background: #f0f2f4; color: #555d68; }
.category-tabs button.active:hover { background: #e7f1ea; color: #2d693f; }
.category-tabs span { background: #edf0f3; color: #8b929d; border-radius: 5px; padding: 2px 6px; font-size: 10px; }
.category-tabs .active span { background: #dfeee3; color: #5b8667; }
.task-grid { gap: 20px; }
.task-card {
  border-color: #e5e7eb;
  border-radius: 10px;
  padding: 23px;
  box-shadow: 0 2px 4px #18181b02;
  transition: border-color 180ms ease, box-shadow 240ms ease, transform 420ms var(--ui-ease);
}
.task-top { gap: 8px; margin-bottom: 19px; flex-wrap: wrap; }
.task-card .tag { color: #858c96; background: #fafbfc; border-color: #eaecf0; padding: 3px 7px; font-size: 10px; font-weight: 500; }
.task-card .status { font-size: 10px; padding: 3px 7px; }
.task-card h3 { color: #363b43; font-size: 15px; font-weight: 500; letter-spacing: -.022em; min-height: 44px; margin-bottom: 11px; line-height: 1.5; }
.task-card > p { color: #959ba5; font-size: 12px; min-height: 58px; margin-bottom: 25px; line-height: 1.65; }
.progress-label { color: #a0a6af; margin-bottom: 9px; font-size: 10px; }
.progress-label b { color: #6a8b74; font-weight: 500; }
progress, progress::-webkit-progress-bar { background: #f0f2f4; }
progress { height: 5px; accent-color: #82a68d; }
progress::-webkit-progress-value { background: #82a68d; border-radius: 10px; }
progress::-moz-progress-bar { background: #82a68d; }
.accounting progress { accent-color: #c1a572; }
.accounting progress::-webkit-progress-value { background: #c1a572; }
.accounting progress::-moz-progress-bar { background: #c1a572; }
.task-footer { color: #a1a7b0; font-size: 10px; margin: 18px 0; }
.task-footer svg { color: #a8adb5; }
.task-assignee { border-top-color: #eff0f3; color: #9099a5; font-size: 11px; padding-top: 14px; gap: 9px; }
.task-assignee .avatar { border-radius: 8px; width: 27px; height: 27px; font-size: 9px; }
.task-assignee > svg { color: #b3b9c2; }

/* Community feed */
.feed-layout { gap: 26px; grid-template-columns: minmax(0, 1fr) 250px; }
.private-label { color: #98a0aa; font-size: 11px; }
.composer { border-radius: 10px; padding: 22px; margin-bottom: 24px; }
.composer-head { gap: 14px; }
.composer textarea { background: #f9fafb; border: 1px solid #eef0f3; border-radius: 10px; min-height: 92px; padding: 13px; font-size: 14px; line-height: 1.6; box-shadow: none; }
.composer-actions { border-top-color: #eff0f3; margin-top: 18px; padding-top: 16px; gap: 10px; }
.composer-actions select { color: #7c8490; background: #fafbfc; border-color: #e9ebef; border-radius: 9px; padding: 8px 10px; font-size: 12px; }
.uploads { gap: 9px; }
.uploads > small { color: #a0a6af; font-size: 10px; }
.attach-button { color: #7e8b83; background: #f5f8f6; border: 1px solid #e7ede9; border-radius: 8px; font-size: 12px; padding: 7px 10px; transition: background 180ms ease; }
.attach-button:hover { background: #ecf3ee; }
.file-chip { color: #78818b; border-color: #e5e8ec; background: #fff; border-radius: 8px; padding: 7px 9px; font-size: 12px; }
.file-chip > button { color: #959da8; }
.post { padding: 25px; margin-bottom: 20px; border-radius: 10px; }
.post-head { gap: 12px; margin-bottom: 18px; }
.post-head b { color: #434a54; font-size: 13px; font-weight: 500; }
.post-head small { color: #a0a6af; font-size: 10px; margin-top: 4px; }
.post-head .tag { color: #939ba6; font-size: 9px; }
.post-body { color: #626b76; font-size: 14px; line-height: 1.75; }
.post-image { border-radius: 11px; border: 1px solid #f0f1f4; }
.document { color: #7d8793; border-color: #e8ebef; border-radius: 10px; background: #fcfcfd; padding: 13px; font-size: 13px; }
.document:hover { background: #f6f8fa; }
.post-actions { border-top-color: #eff1f4; gap: 8px; padding-top: 14px; }
.post-actions button { color: #9ba4b0; background: #f8f9fb; border-radius: 8px; padding: 8px 11px; font-size: 11px; transition: background 180ms ease, color 180ms ease; }
.post-actions button:hover { color: #687985; background: #f0f3f5; }
.post-actions .liked { color: #4a805a; background: #eef6f0; }
.project-note { background: #fff; border-color: #e6e9ec; border-radius: 10px; padding: 26px 24px; box-shadow: var(--shadow); }
.project-note > svg { color: #85a88f; margin-bottom: 27px; }
.project-note .eyebrow { color: #a0aaa3; font-size: 9px; letter-spacing: .12em; }
.project-note h3 { color: #3e5145; font-size: 28px; letter-spacing: -.04em; font-weight: 500; }
.project-note p { color: #9ca59f; font-size: 12px; line-height: 1.75; }
.note-divider { background: #edf0ed; margin: 25px 0; }
.project-note > span:not(.eyebrow) { color: #718779; font-size: 12px; font-weight: 500; }
.project-note > small { color: #a5afa8; font-size: 11px; }
.small-note { color: #a8afb8; font-size: 11px; padding: 23px 9px; gap: 10px; }

/* Dialogs, details and feedback */
.modal-backdrop { background: #20252b45; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 30px; animation: context-fade 180ms ease both; }
.modal { border: 1px solid #ffffffbb; border-radius: 10px; padding: 29px; box-shadow: 0 24px 90px #1118272b, 0 3px 12px #1118270d; animation: context-dialog 300ms var(--ui-ease) both; scrollbar-width: thin; scrollbar-color: #dce1e5 transparent; }
.modal-header { margin-bottom: 25px; }
.modal-header h2 { color: #3d454f; font-size: 21px; font-weight: 500; letter-spacing: -.035em; }
.modal-header .icon-button { color: #969faa; width: 34px; height: 34px; border-color: #e8ebef; border-radius: 9px; }
.detail-description { color: #87929d; font-size: 14px; line-height: 1.75; }
.detail-grid { gap: 14px; }
.detail-grid > div { border-color: #e8ebef; background: #fafbfc; border-radius: 10px; padding: 14px; }
.detail-grid small { color: #a1aab4; font-size: 11px; }
.detail-grid b { color: #737f8c; font-size: 13px; font-weight: 500; }
.action-row { gap: 11px; flex-wrap: wrap; }
.comments { border-top-color: #e9edf0; }
.comments > h3 { color: #6e7a87; font-size: 14px; font-weight: 500; }
.comments > h3 span { color: #a6afb8; font-size: 11px; }
.comment > div { background: #f7f9fa; border: 1px solid #edf0f2; border-radius: 3px 11px 11px; padding: 12px 14px; }
.comment b { color: #7d8a97; font-size: 11px; font-weight: 500; }
.comment p { color: #8d99a5; font-size: 13px; line-height: 1.7; }
.comment time { color: #b0b8c1; font-size: 10px; }
.inline-form input { font-size: 13px; }
.toast { color: #f4f8f5; background: #2d5139; border: 1px solid #ffffff22; border-radius: 11px; padding: 14px 20px; font-size: 13px; box-shadow: 0 8px 30px #1b342626; }

/* Messaging */
.messaging { grid-template-columns: 290px 1fr; height: min(660px, calc(100dvh - 250px)); min-height: 440px; border-radius: 10px; }
.conversation-list { padding: 11px; border-right-color: #e8ecf0; background: #fff; }
.conversation-list > button { border: 1px solid transparent; border-radius: 10px; padding: 15px 11px; gap: 11px; transition: background 180ms ease, border-color 180ms ease; }
.conversation-list > button.active { background: #f0f6f2; border-color: #e5eee8; }
.conversation-list > button:hover { background: #f7f9fa; }
.conversation-list b { color: #717c89; font-size: 13px; font-weight: 500; }
.conversation-list p { color: #abb4bf; font-size: 11px; margin-top: 5px; }
.unread { border-radius: 6px; font-size: 10px; background: #3b7850; padding: 3px 6px; }
.conversation-detail { background: #fafbfc; }
.conversation-detail > .empty { background: transparent; }
.chat-header { border-bottom-color: #e9edf1; padding: 19px 22px; }
.chat-header b { color: #727f8c; font-size: 13px; font-weight: 500; }
.chat-header small { color: #aeb7c2; font-size: 10px; margin-top: 4px; }
.chat-messages { gap: 19px; padding: 25px; }
.message { max-width: 82%; border-color: #e8edf1; border-radius: 3px 13px 13px; padding: 13px 16px; box-shadow: 0 1px 2px #1f293702; }
.message.outgoing { background: #edf6f0; border-color: #dfede4; border-radius: 13px 3px 13px 13px; }
.message > b { color: #91a899; font-size: 10px; font-weight: 500; }
.message p { color: #7e909e; font-size: 13px; line-height: 1.7; }
.message time { color: #afbfc5; font-size: 9px; }
.chat-compose { padding: 15px 19px; border-top-color: #e8edf1; gap: 10px; }
.chat-compose input { background: #fafbfc; }
.member-selector { gap: 10px; }
.member-selector > label { color: #8996a3; background: #fafbfc; border-color: #e8edf1; border-radius: 10px; padding: 13px; font-size: 13px; }
.member-selector > label:hover { background: #f3f7f5; border-color: #dce9e0; }
.member-selector small { color: #aeb9c4; font-size: 10px; }

/* Profiles, settings, reports, inventory and team administration */
.profile-layout { gap: 25px; }
.profile-card { padding: 32px 22px; }
.profile-card > .avatar { width: 70px; height: 70px; border-radius: 10px; font-size: 23px; margin-bottom: 19px; }
.profile-card h3 { color: #6b7b89; font-size: 21px; font-weight: 500; letter-spacing: -.03em; }
.profile-card p { color: #a7b2bd; font-size: 13px; margin-top: 7px; }
.profile-stats { border-top-color: #e9edf1; padding-top: 23px; }
.profile-stats b { color: #779a83; font-size: 25px; font-weight: 500; letter-spacing: -.04em; }
.profile-stats small { color: #abb8c2; font-size: 9px; letter-spacing: .07em; }
.profile-menu { padding: 8px 21px; }
.profile-menu > button { border-bottom-color: #edf0f3; color: #9bafa3; padding: 22px 7px; gap: 15px; transition: background 180ms ease; }
.profile-menu > button:hover { background: #fafbfc; }
.profile-menu b { color: #7a8c99; font-size: 13px; font-weight: 500; }
.profile-menu small { color: #aebbc5; font-size: 11px; margin-top: 6px; }
.settings-grid { gap: 24px; }
.form-card { padding: 27px; }
.form-card h3 { color: #718592; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.prose { padding: 34px; }
.prose > svg { color: #98b2a2; }
.prose h3 { color: #718994; font-size: 24px; font-weight: 500; }
.prose p, .prose li { color: #99adb8; font-size: 14px; line-height: 1.8; }
.subsection-heading > p { color: #a4b5c0; font-size: 13px; line-height: 1.7; }
.report-card { padding: 25px; border-radius: 10px; }
.report-heading { gap: 14px; }
.report-heading h3 { color: #7c95a1; font-size: 16px; font-weight: 500; }
.report-heading small { color: #b1c0c9; font-size: 11px; }
.report-heading > svg { color: #9bb4a7; }
.report-amount { color: #7b9f89; font-size: 31px; font-weight: 500; letter-spacing: -.04em; }
.stock-grid { gap: 20px; }
.stock-card { padding: 25px; border-radius: 10px; transition: transform 380ms var(--ui-ease), border-color 180ms ease, box-shadow 220ms ease; }
.stock-card > svg { color: #a5bdb0; }
.stock-card h3 { color: #839eaa; font-size: 16px; font-weight: 500; }
.stock-card > span { color: #b7c8cf; font-size: 11px; }
.stock-card > b { color: #88aa95; font-size: 32px; font-weight: 500; margin: 24px 0; }
.stock-card > b > small { color: #a5bcb0; font-size: 13px; }
.stock-card > div { color: #b0c6ba; border-top-color: #eaf0ed; font-size: 11px; padding-top: 16px; }
.stock-balance { background: #f3f8f5; border: 1px solid #e7efea; border-radius: 12px; padding: 21px; }
.stock-balance b { color: #8db09a; font-size: 35px; font-weight: 500; }
.stock-balance span { color: #b5cdbf; font-size: 12px; }
.movement { border-bottom-color: #e9f0ec; padding: 17px 0; }
.movement > b { color: #9bbfa8; font-size: 18px; font-weight: 500; }
.movement > b.negative { color: #c5ae8f; }
.movement p { color: #a9c1c5; font-size: 13px; }
.movement small { color: #bfd0d3; font-size: 10px; }
.invitation-form { gap: 15px; margin-top: 23px; }
.invite-result { color: #a7c5b5; background: #f5f9f7; border: 1px solid #e7f0eb; border-radius: 12px; padding: 18px; font-size: 13px; }
.invite-result > input { color: #acc9be; background: #fff; font-size: 12px; }
.team-row { padding: 19px; gap: 14px; margin: 12px 0; }
.team-row b { color: #abc9c8; font-size: 13px; font-weight: 500; }
.team-row small { color: #bdd4d4; font-size: 11px; }
.team-row select { color: #b7d4d0; background: #fcfdfd; font-size: 12px; padding: 9px 11px; }
.invitation-row, .notification-row { color: #b3d2d2; font-size: 13px; padding: 20px 5px; gap: 15px; border-bottom-color: #eaf2ef; }
.invitation-row small, .notification-row small { color: #c1dcd9; font-size: 11px; }
.notification-row { border-radius: 9px; transition: background 180ms ease; }
.notification-row:hover { background: #fafdfb; }
.notification-row > svg { color: #bedaca; }

/* White, editorial sign-in */
.login-page { background: #fff; grid-template-columns: 1.05fr 1fr; }
.login-intro {
  background: #fafafa;
  border-right: 1px solid #edf0ed;
  padding: 64px 11%;
}
.login-intro .brand { margin-bottom: 88px; }
.login-intro .eyebrow { color: #91a596; font-size: 10px; letter-spacing: .12em; }
.login-intro h1 { color: #2e3932; font-size: clamp(36px, 3.4vw, 55px); font-weight: 500; letter-spacing: -.05em; line-height: 1.12; }
.login-intro > p { color: #94a499; max-width: 390px; font-size: 16px; margin: 25px 0 38px; line-height: 1.75; }
.login-features { color: #8fa795; font-size: 14px; gap: 18px; }
.login-features svg { color: #86a991; }
.login-footer { color: #a0b5a7; font-size: 12px; }
.login-footer span { color: #b5c6bb; font-size: 11px; }
.login-panel { width: min(390px, 80%); padding: 60px 0; }
.login-panel h2 { color: #697e71; font-size: 30px; font-weight: 500; letter-spacing: -.045em; margin: 18px 0 10px; }
.login-panel > p { color: #a8beb0; font-size: 14px; line-height: 1.75; margin-bottom: 30px; }
.login-panel form { gap: 20px; }
.login-panel .button { min-height: 47px; margin-top: 6px; font-size: 14px; border-radius: 10px; }
.login-help { border-top-color: #ecf1ed; color: #afc8b8; gap: 12px; margin-top: 29px; padding-top: 24px; }
.login-help p { color: #afc8b8; font-size: 12px; }
.login-help span { color: #c1d7c8; font-size: 11px; }

/* Interaction is quiet, tactile and respectful of motion preferences. */
@keyframes context-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes context-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes context-dialog { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .sidebar nav button:hover { transform: translateX(2px); }
  .sidebar nav button.active { transform: translateX(0); }
  .button:hover { transform: translateY(-1px); }
  .button:active { transform: translateY(0) scale(.975); }
  .task-card:hover, .stock-card:hover { border-color: #bccdc2; box-shadow: 0 8px 24px #233b2b08; transform: translateY(-3px); }
}

@media (min-width: 1600px) {
  .workspace main { padding-top: 48px; }
  .task-grid { gap: 24px; }
  .task-card { padding: 27px; }
  .task-card h3 { font-size: 16px; }
  .task-card > p { font-size: 13px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 220px; padding-left: 13px; padding-right: 13px; }
  .workspace { margin-left: 220px; }
  .workspace main { padding: 31px 26px 36px; }
  .topbar { padding: 0 26px; }
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .feed-layout { grid-template-columns: minmax(0, 1fr) 215px; gap: 22px; }
  .summary-strip { gap: 28px; padding: 22px 25px; }
  .messaging, .profile-layout { grid-template-columns: 240px 1fr; }
  .section-heading h2 { font-size: 29px; }
  .sidebar-user b { max-width: 115px; }
}
@media (max-width: 950px) {
  .sidebar { width: 190px; padding: 27px 11px 18px; }
  .workspace { margin-left: 190px; }
  .sidebar .brand { font-size: 18px; gap: 8px; padding-left: 8px; }
  .sidebar .brand-mark { width: 35px; height: 35px; border-radius: 10px; }
  .sidebar .brand small { font-size: 7px; letter-spacing: .12em; }
  .workspace-label { margin: 32px 12px 13px; }
  .sidebar nav button { min-height: 43px; padding: 11px 10px; font-size: 12px; gap: 9px; }
  .sidebar-note { padding: 17px 13px; }
  .workspace main { padding: 28px 23px 34px; }
  .feed-layout { display: block; }
  .feed-main { max-width: none; }
  .feed-aside, .breadcrumb { display: none; }
  .topbar { justify-content: flex-end; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-card { text-align: left; display: grid; grid-template-columns: 88px 1fr; padding: 25px; }
  .profile-card > .avatar { grid-row: 1 / 4; margin: 0; }
  .profile-card h3 { font-size: 20px; }
  .profile-card p { margin: 5px 0 10px; }
  .profile-card .tag { justify-self: start; }
  .profile-stats { grid-column: 1 / 3; }
  .settings-grid { grid-template-columns: 1fr; }
  .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .messaging { grid-template-columns: 215px 1fr; }
  .search { width: 215px; }
  .task-card { padding: 20px; }
  .login-intro { padding: 50px 9%; }
  .login-intro .brand { margin-bottom: 65px; }
  .login-intro h1 { font-size: 37px; }
  .login-panel { width: 80%; }
  .login-panel h2 { font-size: 28px; }
  .team-row { flex-wrap: wrap; }
  .team-row > div { min-width: 150px; }
  .team-row select { margin-left: 43px; }
  .invitation-form { flex-wrap: wrap; }
  .invitation-form > .button { margin-top: 4px; }
}
@media (max-width: 700px) {
  .sidebar { display: none; }
  .workspace { margin-left: 0; padding-bottom: 99px; }
  .topbar { height: 72px; padding: 0 18px; background: #ffffffed; border-bottom-color: #e9edf0; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
  .mobile-brand { color: #41744e; gap: 8px; }
  .mobile-brand b { color: #576d60; font-size: 15px; font-weight: 500; letter-spacing: -.03em; }
  .mobile-brand small { color: #b3c8b9; font-size: 7px; letter-spacing: .12em; margin-top: 2px; }
  .top-actions { gap: 7px; }
  .icon-button { width: 36px; height: 36px; border-radius: 9px; }
  .search { width: 130px; border-radius: 9px; padding: 0 9px; gap: 6px; }
  .search input { padding: 9px 0; font-size: 11px; }
  .search > svg { width: 14px; }
  .workspace main { padding: 27px 19px 32px; }
  .section-heading { align-items: center; gap: 14px; margin-bottom: 24px; }
  .section-heading h2 { font-size: 27px; }
  .section-heading .eyebrow { font-size: 9px; margin-bottom: 8px; }
  .section-heading p { font-size: 12px; margin-top: 8px; }
  .section-heading .button { padding: 10px 12px; min-height: 39px; gap: 5px; border-radius: 9px; font-size: 11px; }
  .section-heading .button svg { width: 15px; }
  .summary-strip { gap: 25px; padding: 20px 21px; border-radius: 13px; margin-bottom: 23px; }
  .summary-strip div { display: block; }
  .summary-strip b { font-size: 28px; }
  .summary-strip span { display: block; font-size: 11px; margin-top: 2px; }
  .summary-strip > svg { width: 29px; }
  .category-tabs { justify-content: flex-start; flex-wrap: wrap; overflow-x: visible; gap: 5px; padding-bottom: 13px; margin-bottom: 22px; }
  .category-tabs button { border-radius: 8px; min-height: 40px; padding: 9px 8px; gap: 5px; font-size: 11px; }
  .category-tabs span { font-size: 9px; padding: 2px 4px; }
  .task-grid { gap: 15px; }
  .task-card { padding: 20px; border-radius: 10px; }
  .task-card h3 { font-size: 15px; min-height: 44px; margin-bottom: 11px; }
  .task-top { margin-bottom: 17px; gap: 7px; }
  .task-card .tag, .task-card .status { font-size: 10px; padding: 3px 7px; }
  .task-card > p { font-size: 12px; min-height: 58px; margin-bottom: 22px; }
  .task-footer { font-size: 10px; margin: 17px 0; gap: 7px; }
  .task-assignee { font-size: 11px; gap: 8px; padding-top: 13px; }
  .task-assignee .avatar { width: 27px; height: 27px; border-radius: 8px; font-size: 9px; }
  .task-assignee > svg { width: 14px; }
  .progress-label { font-size: 10px; }
  .workspace-footer { padding: 18px 19px; font-size: 9px; }
  .mobile-nav {
    background: #fffffff2;
    border: 1px solid #e7ebe8;
    border-radius: 10px;
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom, 0px));
    bottom: 15px;
    left: 17px;
    right: 17px;
    max-width: 430px;
    box-shadow: 0 5px 18px #223a2b0d, 0 16px 44px #223a2b09;
  }
  .mobile-nav button { color: #adbeb3; border-radius: 12px; min-width: 60px; min-height: 51px; gap: 5px; font-size: 10px; transition: background 180ms ease, color 180ms ease; }
  .mobile-nav .active { color: #648e70; background: #f0f6f2; }
  .composer { padding: 19px; border-radius: 10px; }
  .composer-head { gap: 11px; }
  .composer-head > .avatar { width: 35px; height: 35px; border-radius: 10px; font-size: 11px; }
  .composer textarea { font-size: 13px; padding: 11px; }
  .uploads > small { font-size: 10px; }
  .attach-button { font-size: 11px; }
  .composer-actions .button { min-height: 38px; padding: 9px 14px; font-size: 12px; }
  .composer-actions select { font-size: 11px; max-width: 58%; }
  .post { padding: 20px; border-radius: 10px; }
  .post-head b { font-size: 13px; }
  .post-head small { font-size: 10px; }
  .post-head .avatar { width: 37px; height: 37px; border-radius: 11px; font-size: 12px; }
  .post-head .tag { padding: 3px 6px; font-size: 9px; }
  .post-body { font-size: 14px; }
  .post-actions button { padding: 8px 9px; gap: 6px; font-size: 11px; }
  .private-label { display: none; }
  .modal-backdrop { align-items: flex-end; padding: 0; }
  .modal { width: 100%; max-width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; padding: 25px 21px calc(25px + env(safe-area-inset-bottom, 0px)); }
  .modal-header h2 { font-size: 20px; }
  .two-columns { gap: 13px; }
  .detail-grid { gap: 12px; }
  .detail-grid > div { padding: 12px; }
  .messaging { display: block; border-radius: 10px; height: calc(100dvh - 265px); min-height: 400px; }
  .conversation-list { height: 100%; border: 0; padding: 10px; }
  .conversation-list > button { padding: 16px 11px; }
  .conversation-list b { font-size: 14px; }
  .conversation-list p { font-size: 12px; }
  .conversation-detail, .messaging.has-selected .conversation-list { display: none; }
  .messaging.has-selected .conversation-detail { display: flex; height: 100%; }
  .chat-back { display: inline-flex; }
  .chat-header { padding: 15px; }
  .chat-header b { font-size: 13px; }
  .chat-messages { padding: 21px 16px; }
  .message { max-width: 88%; padding: 12px 14px; }
  .message p { font-size: 13px; }
  .chat-compose { padding: 13px; }
  .profile-card { padding: 24px; border-radius: 10px; }
  .profile-menu { padding: 8px 18px; border-radius: 10px; }
  .profile-menu > button { padding: 22px 4px; }
  .profile-menu b { font-size: 13px; }
  .profile-menu small { font-size: 11px; }
  .form-card { padding: 23px; }
  .stock-grid { gap: 15px; }
  .stock-card { padding: 21px; border-radius: 10px; }
  .stock-card h3 { font-size: 15px; }
  .stock-card > b { font-size: 31px; }
  .stock-card > div { font-size: 10px; }
  .subsection-heading { align-items: center; gap: 15px; }
  .subsection-heading > p { font-size: 12px; }
  .subsection-heading .button { font-size: 11px; min-height: 39px; padding: 10px 12px; }
  .prose { padding: 26px; }
  .prose h3 { font-size: 23px; }
  .report-card { padding: 23px; }
  .report-heading h3 { font-size: 15px; }
  .report-heading .status { font-size: 10px; }
  .team-row { gap: 11px; padding: 19px; }
  .team-row > div { min-width: 140px; }
  .team-row select { flex: 1; margin-left: 0; font-size: 12px; }
  .team-row .text-button { font-size: 12px; }
  .notification-row { font-size: 13px; }
  .login-page { display: flex; flex-direction: column; background: #fff; }
  .login-intro { border-right: 0; border-bottom: 1px solid #edf2ee; padding: 33px 27px 35px; background: #fafafa; }
  .login-intro .brand { margin-bottom: 31px; font-size: 22px; }
  .login-intro .brand-mark { width: 39px; height: 39px; border-radius: 11px; }
  .login-intro .eyebrow { font-size: 9px; }
  .login-intro h1 { font-size: 34px; max-width: 450px; }
  .login-intro > p { font-size: 13px; margin: 17px 0 0; max-width: 360px; }
  .login-features, .login-footer { display: none; }
  .login-panel { width: 100%; align-self: stretch; border-radius: 0; padding: 33px 27px 45px; margin-top: 0; background: #fff; }
  .login-panel h2 { font-size: 28px; }
  .login-panel > p { font-size: 13px; }
  .login-panel .field > span { font-size: 13px; }
  .login-panel input { min-height: 47px; font-size: 16px; }
  .login-help { margin-top: 28px; }
  .toast { bottom: 103px; font-size: 12px; padding: 14px 18px; }
}
@media (max-width: 600px) {
  .task-grid { grid-template-columns: minmax(0, 1fr); }
  .task-card { padding: 23px; }
  .task-card h3 { min-height: auto; font-size: 16px; }
  .task-card > p { min-height: auto; font-size: 13px; margin-bottom: 24px; }
  .task-top { flex-wrap: nowrap; }
  .task-card .tag, .task-card .status { font-size: 10px; }
  .task-footer, .progress-label { font-size: 11px; }
  .task-assignee { font-size: 12px; }
  .summary-strip { gap: 24px; padding: 20px; }
  .summary-strip > svg { width: 24px; }
  .two-columns { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 22px; }
  input, textarea, select { font-size: 16px; }
  .search input { font-size: 12px; }
  .composer textarea, .inline-form input, .composer-actions select { font-size: 16px; }
}
@media (max-width: 380px) {
  .topbar { padding: 0 14px; }
  .search { width: 108px; }
  .workspace main { padding: 25px 15px 30px; }
  .section-heading h2 { font-size: 25px; }
  .section-heading .button { padding: 9px; font-size: 10px; }
  .summary-strip { gap: 23px; padding: 18px; }
  .summary-strip b { font-size: 26px; }
  .summary-strip span { font-size: 10px; }
  .summary-strip > svg { display: none; }
  .category-tabs { gap: 3px; }
  .category-tabs button { padding: 9px 8px; font-size: 11px; }
  .stock-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-nav { left: 13px; right: 13px; }
  .mobile-nav button { min-width: 55px; font-size: 9px; }
  .task-card { padding: 21px; }
  .post { padding: 18px; }
  .post-actions button { font-size: 10px; padding: 8px; }
}
/* Shared text tones keep small controls and every secondary view readable. */
.section-heading h2, .task-card h3, .post-head b, .modal-header h2,
.conversation-list b, .chat-header b, .profile-card h3, .profile-menu b,
.form-card h3, .prose h3, .report-heading h3, .stock-card h3, .team-row b,
.login-panel h2, .mobile-brand b { color: #32363e; }
.post-body, .detail-description, .detail-grid b, .comments > h3, .comment p,
.message p, .prose p, .prose li, .movement p, .invite-result,
.invitation-row, .notification-row, .team-row select, .member-selector > label,
.login-intro > p, .login-features, .login-help p, .login-panel > p,
.project-note p { color: #67707b; }
.section-heading p, .task-card > p, .summary-strip span, .task-footer,
.task-assignee, .progress-label, .post-head small, .post-actions button,
.composer-actions select, .uploads > small, .document, .file-chip,
.private-label, .small-note, .detail-grid small, .comment time, .message time,
.conversation-list p, .chat-header small, .member-selector small,
.profile-card p, .profile-stats small, .profile-menu small,
.subsection-heading > p, .report-heading small, .stock-card > span,
.stock-card > div, .stock-balance span, .movement small, .team-row small,
.invitation-row small, .notification-row small, .login-footer,
.login-footer span, .login-help, .login-help span, .project-note > small,
.mobile-brand small, .sidebar-note p, .sidebar-user small,
.breadcrumb, .workspace-footer { color: #6f7681; }
.sidebar nav button, .category-tabs button, .task-card .tag,
.post-head .tag { color: #6f7681; }
.sidebar nav button.active, .category-tabs button.active { color: #2d693f; }
.stock-card > b, .stock-balance b, .report-amount, .profile-stats b,
.movement > b { color: #477355; }
.stock-card > b > small { color: #7c8e82; }
.movement > b.negative { color: #a07743; }
.profile-menu > button, .report-heading > svg, .stock-card > svg,
.notification-row > svg { color: #8ca597; }
.invite-result > input { color: #65746b; }
.project-note > span:not(.eyebrow) { color: #6b7f71; }
.login-intro h1 { color: #303831; }
.login-intro .eyebrow, .project-note .eyebrow { color: #7e8b82; }
.login-features svg { color: #74917c; }
.mobile-nav button { color: #7b8980; }
.mobile-nav .active { color: #3c704a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-delay: 0ms !important; transition: none !important; }
  .task-card:hover, .stock-card:hover, .sidebar nav button:hover, .button:hover, .button:active { transform: none; }
}

/* Context workspace treatment: compact controls and neutral panel hierarchy. */
:root {
  --primary: #2563eb;
  --green: #25683c;
  --muted: #707070;
  --border: #e6e6e6;
  --shadow: 0 1px 2px #00000005, 0 2px 5px #00000002;
  --ui-ink: #4d4d4d;
  --ui-soft: #f5f5f5;
  background: #fafafa;
  color: #4d4d4d;
  font-size: 15px;
  line-height: 1.5;
}
body { background: #fafafa; }
::selection { color: #1e40af; background: #dbeafe; }
button, input, textarea, select { font-family: inherit; font-size: 14px; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, .attach-button:focus-within { outline: 3px solid #2563eb40; outline-offset: 3px; }
input, textarea, select { min-height: 38px; border-color: #e1e1e1; border-radius: 8px; background: #fff; padding: 9px 11px; box-shadow: 0 1px 2px #00000002; }
input::placeholder, textarea::placeholder { color: #929292; }
input:focus, textarea:focus, select:focus { border-color: #8aaff8; outline-color: #2563eb16; box-shadow: 0 0 0 2px #2563eb08; }
input[type="checkbox"], input[type="radio"] { min-height: auto; accent-color: var(--primary); }
.button { min-height: 36px; padding: 8px 13px; border-color: #215bd7; border-radius: 8px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 500; box-shadow: inset 0 1px 0 #ffffff14, 0 1px 2px #00000005; transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease; }
.button:hover { background: #1d55d2; border-color: #1d55d2; transform: none; }
.button:active { background: #1e4db7; transform: none; }
.button.secondary { background: #fff; color: #4d4d4d; border-color: #dedede; box-shadow: 0 1px 2px #00000004; }
.button.secondary:hover { background: #f7f7f7; border-color: #d4d4d4; }
.icon-button { width: 36px; height: 36px; border-radius: 8px; border-color: #e6e6e6; color: #707070; background: #fff; transition: background 140ms ease, color 140ms ease; }
.icon-button:hover { color: #4d4d4d; background: #f5f5f5; }
.text-button { color: #2563eb; padding: 7px; font-size: 13px; font-weight: 500; border-radius: 6px; }
.text-button:hover { background: #f3f6fd; }
.text-button.danger { color: #b84236; }
.tag, .status, .task-card .tag, .task-card .status, .post-head .tag { padding: 3px 7px; border-radius: 5px; border-color: #e8e8e8; color: #707070; background: #f7f7f7; font-size: 10px; font-weight: 450; letter-spacing: 0; }
.status { color: #40744d; background: #f0f7f1; border-color: #e0ece2; }
.status.urgent { color: #91682e; background: #fdf7ed; border-color: #f1e7d5; }
.status.done { color: #40744d; background: #f0f7f1; border-color: #e0ece2; }
.eyebrow { color: #8a8a8a; letter-spacing: .1em; font-size: 10px; font-weight: 500; }
.avatar { width: 36px; height: 36px; border-radius: 9px; border-color: #e9e9e9; background: #f4f4f4; color: #737373; font-size: 12px; font-weight: 500; }
.avatar.small { width: 28px; height: 28px; border-radius: 7px; font-size: 10px; }
.card { border-color: #e6e6e6; border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.field > span, .field-label { color: #5c5c5c; font-size: 13px; font-weight: 450; }
.form-grid { gap: 17px; }
.two-columns { gap: 14px; }
.empty { color: #a3a3a3; border-color: #e4e4e4; border-radius: 10px; background: #fff; padding: 44px 22px; }
.empty h3 { color: #4d4d4d; font-size: 16px; font-weight: 500; }
.empty p { color: #707070; font-size: 13px; }
.brand { color: #414141; font-size: 20px; font-weight: 550; letter-spacing: -.035em; gap: 9px; }
.brand-mark { width: 32px; height: 32px; border-radius: 8px; background: var(--green); border-color: #235c35; box-shadow: none; }
.brand-mark svg { width: 19px; height: 19px; }
.brand small { color: #8c8c8c; font-size: 7px; letter-spacing: .12em; font-weight: 450; }
.sidebar { width: 212px; padding: 24px 16px 16px; background: #fafafa; border-right-color: #e9e9e9; }
.sidebar > .brand { padding-left: 8px; }
.workspace-label { margin: 33px 10px 11px; color: #909090; font-size: 10px; font-weight: 450; letter-spacing: .1em; }
.sidebar nav { gap: 2px; }
.sidebar nav button { min-height: 32px; padding: 6px 10px; border-radius: 8px; border-color: transparent; color: #707070; background: transparent; font-size: 13px; font-weight: 450; gap: 10px; transition: background 140ms ease, color 140ms ease; }
.sidebar nav button svg { width: 16px; height: 16px; opacity: .9; }
.sidebar nav button:hover { color: #4d4d4d; background: #f0f0f0; transform: none; }
.sidebar nav button.active { color: #444; background: #ededed; border-color: transparent; font-weight: 500; transform: none; }
.nav-dot { width: 4px; height: 4px; background: #8b8b8b; box-shadow: none; }
.sidebar-note { display: none; }
.sidebar-user { margin-top: auto; padding: 10px 7px 0; gap: 9px; border-radius: 8px; }
.sidebar-user:hover { background: #f3f3f3; border-color: transparent; }
.sidebar-user .avatar { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.sidebar-user b { color: #555; font-size: 12px; font-weight: 450; max-width: 110px; }
.sidebar-user small { color: #858585; font-size: 10px; margin-top: 2px; }
.workspace { margin-left: 212px; background: #fafafa; }
.topbar { height: 80px; padding: 0 32px; background: #fafafa; border-bottom-color: #e9e9e9; }
.breadcrumb { color: #929292; font-size: 12px; gap: 12px; }
.breadcrumb b { color: #626262; font-weight: 450; }
.top-actions { gap: 8px; }
.search { width: 220px; border-color: #e6e6e6; border-radius: 8px; color: #969696; background: #fff; gap: 8px; padding: 0 11px; }
.search:focus-within { border-color: #a6bff1; background: #fff; box-shadow: 0 0 0 2px #2563eb08; }
.search input { min-height: 36px; padding: 8px 0; font-size: 12px; }
.notification-button > span { border-color: #fafafa; background: #2563eb; font-size: 9px; border-radius: 6px; }
.workspace main { max-width: 1450px; padding: 32px 34px 40px; animation: none; }
.section-heading { margin-bottom: 25px; gap: 20px; }
.section-heading h2 { color: #353535; font-size: 28px; font-weight: 450; letter-spacing: -.035em; line-height: 1.2; }
.heading-dot { color: #8c8c8c; }
.section-heading .eyebrow { margin-bottom: 8px; color: #888; font-size: 10px; letter-spacing: .1em; }
.section-heading p { color: #707070; font-size: 13px; margin-top: 8px; }
.section-heading .button { min-height: 36px; font-size: 12px; padding: 8px 12px; }
.workspace-footer { color: #909090; background: #fafafa; border-top-color: #ededed; padding: 16px 34px; font-size: 10px; }
.summary-strip { background: #fff; border-color: #e6e6e6; border-radius: 12px; padding: 20px 25px; gap: 40px; margin-bottom: 24px; box-shadow: var(--shadow); }
.summary-strip div { gap: 12px; }
.summary-strip b { color: #4d4d4d; font-size: 27px; font-weight: 450; letter-spacing: -.04em; }
.summary-strip span { color: #707070; font-size: 12px; }
.summary-strip > svg { color: #a3a3a3; }
.category-tabs { gap: 5px; margin-bottom: 22px; padding-bottom: 12px; border-bottom-color: #e6e6e6; flex-wrap: wrap; overflow: visible; }
.category-tabs button { color: #707070; padding: 7px 11px; border-radius: 7px; border-color: transparent; font-size: 13px; font-weight: 450; transition: background 140ms ease, color 140ms ease; }
.category-tabs button:hover { color: #4d4d4d; background: #f0f0f0; }
.category-tabs button.active, .category-tabs button.active:hover { color: #4d4d4d; background: #ededed; border-color: transparent; font-weight: 500; }
.category-tabs span { padding: 1px 5px; border-radius: 4px; background: #eee; color: #828282; font-size: 10px; }
.category-tabs .active span { color: #707070; background: #e0e0e0; }
.task-grid { gap: 16px; }
.task-card { padding: 20px; border-color: #e6e6e6; border-radius: 10px; box-shadow: var(--shadow); transition: border-color 140ms ease, box-shadow 140ms ease; }
.task-card:hover { border-color: #d6d6d6; transform: none; box-shadow: 0 2px 7px #00000006; }
.task-top { margin-bottom: 16px; gap: 7px; }
.task-card h3 { color: #4d4d4d; font-size: 15px; font-weight: 500; min-height: 44px; line-height: 1.5; letter-spacing: -.012em; }
.task-card > p { color: #707070; font-size: 12px; line-height: 1.65; min-height: 58px; margin-bottom: 22px; }
.progress-label { color: #888; font-size: 10px; }
.progress-label b { color: #707070; font-weight: 450; }
progress, progress::-webkit-progress-bar { background: #f0f0f0; }
progress { height: 4px; accent-color: #9ab4a0; }
progress::-webkit-progress-value { background: #9ab4a0; }
progress::-moz-progress-bar { background: #9ab4a0; }
.task-footer { color: #888; font-size: 10px; margin: 16px 0; }
.task-footer svg { color: #a0a0a0; }
.task-assignee { color: #808080; border-top-color: #f0f0f0; font-size: 11px; padding-top: 12px; }
.task-assignee .avatar { width: 25px; height: 25px; border-radius: 6px; font-size: 9px; }
.task-assignee > svg { color: #a8a8a8; }
.feed-layout { gap: 24px; grid-template-columns: minmax(0, 1fr) 240px; }
.composer { border-radius: 12px; padding: 20px; }
.composer textarea { background: #fafafa; border-color: #f0f0f0; border-radius: 8px; min-height: 86px; padding: 11px; font-size: 14px; }
.composer-actions { border-top-color: #f0f0f0; margin-top: 16px; padding-top: 14px; }
.composer-actions select { color: #707070; background: #fff; border-color: #e6e6e6; border-radius: 7px; font-size: 12px; padding: 7px 9px; }
.attach-button { color: #707070; background: #f7f7f7; border-color: #e8e8e8; border-radius: 6px; font-size: 12px; padding: 6px 9px; }
.attach-button:hover { background: #f0f0f0; }
.file-chip { border-color: #e6e6e6; border-radius: 6px; color: #707070; }
.uploads > small { color: #888; }
.post { padding: 22px; margin-bottom: 17px; border-radius: 10px; }
.post-head b { color: #555; font-size: 13px; font-weight: 500; }
.post-head small { color: #858585; }
.post-body { color: #4d4d4d; font-size: 14px; line-height: 1.75; }
.post-image { border-color: #f0f0f0; border-radius: 8px; }
.document { color: #707070; background: #fcfcfc; border-color: #e6e6e6; border-radius: 8px; font-size: 13px; }
.document:hover { background: #f7f7f7; }
.post-actions { border-top-color: #f0f0f0; padding-top: 12px; }
.post-actions button { color: #808080; background: #f7f7f7; border-radius: 6px; padding: 7px 10px; font-size: 11px; }
.post-actions button:hover { color: #555; background: #f0f0f0; }
.post-actions .liked { color: #2563eb; background: #eff4ff; }
.project-note { background: #fff; border-color: #e6e6e6; border-radius: 10px; padding: 23px 21px; box-shadow: var(--shadow); }
.project-note > svg { color: #929292; margin-bottom: 22px; }
.project-note h3 { color: #555; font-size: 26px; font-weight: 450; }
.project-note .eyebrow { color: #929292; font-weight: 450; }
.project-note p { color: #707070; }
.project-note > span:not(.eyebrow) { color: #707070; font-weight: 450; }
.project-note > small, .small-note { color: #888; }
.note-divider { background: #ededed; }
.modal-backdrop { background: #2020203d; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: context-fade 120ms ease; }
.modal { padding: 26px; border-radius: 12px; box-shadow: 0 20px 70px #00000022, 0 2px 8px #00000008; animation: context-fade 150ms ease; }
.modal-header { margin-bottom: 22px; }
.modal-header h2 { color: #4d4d4d; font-size: 21px; font-weight: 450; letter-spacing: -.025em; }
.modal-header .icon-button { width: 32px; height: 32px; border-radius: 7px; }
.detail-description { color: #707070; font-size: 14px; }
.detail-grid > div { background: #fafafa; border-color: #e6e6e6; border-radius: 8px; padding: 12px; }
.detail-grid small { color: #858585; }
.detail-grid b { color: #5c5c5c; font-weight: 450; }
.comments { border-top-color: #e6e6e6; }
.comments > h3 { color: #5c5c5c; font-size: 14px; font-weight: 500; }
.comments > h3 span { color: #8a8a8a; }
.comment > div { background: #f7f7f7; border-color: #f0f0f0; border-radius: 3px 8px 8px; }
.comment b { color: #707070; font-weight: 500; }
.comment p { color: #5c5c5c; }
.comment time { color: #909090; }
.toast { color: #fff; background: #3e3e3e; border-color: #ffffff15; border-radius: 9px; box-shadow: 0 6px 22px #00000018; }
.messaging { grid-template-columns: 270px 1fr; border-radius: 12px; }
.conversation-list { border-right-color: #e6e6e6; }
.conversation-list > button { border-radius: 8px; padding: 13px 10px; }
.conversation-list > button.active { background: #f0f0f0; border-color: transparent; }
.conversation-list > button:hover { background: #f5f5f5; }
.conversation-list b { color: #555; font-weight: 450; }
.conversation-list p { color: #858585; }
.unread { background: #2563eb; border-radius: 5px; }
.conversation-detail { background: #fafafa; }
.chat-header { border-bottom-color: #e6e6e6; padding: 17px 20px; }
.chat-header b { color: #555; font-weight: 450; }
.chat-header small { color: #858585; }
.chat-messages { padding: 22px; gap: 17px; }
.message { background: #fff; border-color: #e6e6e6; border-radius: 3px 9px 9px; }
.message.outgoing { background: #f0f4fc; border-color: #e3eaf9; border-radius: 9px 3px 9px 9px; }
.message > b { color: #7c8cad; font-weight: 450; }
.message p { color: #5c5c5c; }
.message time { color: #8c8c8c; }
.chat-compose { border-top-color: #e6e6e6; padding: 13px 16px; }
.chat-compose input { background: #fff; }
.member-selector > label { color: #707070; background: #fafafa; border-color: #e6e6e6; border-radius: 8px; }
.member-selector > label:hover { background: #f5f5f5; border-color: #dcdcdc; }
.member-selector small { color: #858585; }
.profile-card { padding: 28px 20px; }
.profile-card > .avatar { width: 62px; height: 62px; border-radius: 12px; font-size: 22px; margin-bottom: 17px; }
.profile-card h3 { color: #555; font-size: 21px; font-weight: 450; }
.profile-card p { color: #858585; }
.profile-stats { border-top-color: #e6e6e6; padding-top: 22px; }
.profile-stats b { color: #555; font-weight: 450; }
.profile-stats small { color: #858585; }
.profile-menu { padding: 7px 19px; }
.profile-menu > button { color: #8a8a8a; border-bottom-color: #f0f0f0; padding: 20px 6px; }
.profile-menu > button:hover { background: #fafafa; }
.profile-menu b { color: #5c5c5c; font-weight: 450; }
.profile-menu small { color: #858585; }
.form-card { padding: 24px; }
.form-card h3 { color: #555; font-size: 18px; font-weight: 450; }
.prose h3 { color: #555; font-weight: 450; }
.prose > svg { color: #8a8a8a; }
.prose p, .prose li { color: #707070; }
.subsection-heading > p { color: #707070; }
.report-card { border-radius: 10px; padding: 23px; }
.report-heading h3 { color: #555; font-size: 15px; font-weight: 500; }
.report-heading small { color: #858585; }
.report-heading > svg { color: #8c8c8c; }
.report-amount { color: #555; font-size: 29px; font-weight: 450; }
.stock-grid { gap: 16px; }
.stock-card { border-radius: 10px; padding: 23px; transition: border-color 140ms ease, box-shadow 140ms ease; }
.stock-card:hover { border-color: #d6d6d6; box-shadow: 0 2px 7px #00000006; transform: none; }
.stock-card > svg { color: #8c8c8c; }
.stock-card h3 { color: #555; font-size: 15px; font-weight: 500; }
.stock-card > span { color: #858585; }
.stock-card > b { color: #555; font-size: 30px; font-weight: 450; }
.stock-card > b > small { color: #858585; }
.stock-card > div { color: #858585; border-top-color: #f0f0f0; }
.stock-balance { background: #fafafa; border-color: #e6e6e6; border-radius: 9px; padding: 19px; }
.stock-balance b { color: #555; font-weight: 450; }
.stock-balance span { color: #858585; }
.movement { border-bottom-color: #e6e6e6; }
.movement > b { color: #5b8a67; font-weight: 450; }
.movement > b.negative { color: #a07743; }
.movement p { color: #5c5c5c; }
.movement small { color: #858585; }
.invite-result { background: #f7f9fd; color: #707070; border-color: #e5eaf5; border-radius: 8px; }
.invite-result > input { color: #707070; }
.team-row { padding: 17px; gap: 12px; }
.team-row b { color: #555; font-weight: 450; }
.team-row small { color: #858585; }
.team-row select { color: #707070; background: #fff; }
.invitation-row, .notification-row { color: #5c5c5c; border-bottom-color: #e6e6e6; padding: 17px 4px; }
.invitation-row small, .notification-row small { color: #858585; }
.notification-row { border-radius: 6px; }
.notification-row:hover { background: #f7f7f7; }
.notification-row > svg { color: #8c8c8c; }
.login-page { background: #fff; }
.login-intro { background: #fafafa; border-right-color: #e6e6e6; }
.login-intro h1 { color: #3e3e3e; font-weight: 450; }
.login-intro .eyebrow { color: #858585; }
.login-intro > p, .login-features { color: #707070; }
.login-features svg { color: #888; }
.login-footer, .login-footer span { color: #858585; }
.login-panel h2 { color: #4d4d4d; font-size: 28px; font-weight: 450; }
.login-panel > p { color: #707070; }
.login-panel .button { border-radius: 8px; }
.login-help { border-top-color: #e6e6e6; color: #888; }
.login-help p, .login-help span { color: #858585; }

@media (min-width: 1600px) {
  .workspace main { padding-top: 38px; }
  .task-grid { gap: 20px; }
  .task-card { padding: 24px; }
  .task-card h3 { font-size: 16px; }
  .task-card > p { font-size: 13px; }
}
@media (max-width: 1200px) {
  .sidebar { width: 212px; padding-left: 16px; padding-right: 16px; }
  .workspace { margin-left: 212px; }
  .workspace main { padding: 28px 26px 36px; }
  .topbar { padding: 0 26px; }
  .task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .section-heading h2 { font-size: 28px; }
  .feed-layout { grid-template-columns: minmax(0, 1fr) 210px; gap: 20px; }
  .summary-strip { gap: 27px; padding: 20px 23px; }
  .messaging, .profile-layout { grid-template-columns: 235px 1fr; }
}
@media (max-width: 950px) {
  .sidebar { width: 200px; padding: 24px 13px 16px; }
  .workspace { margin-left: 200px; }
  .sidebar .brand { padding-left: 7px; font-size: 19px; gap: 8px; }
  .sidebar .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
  .sidebar .brand small { font-size: 7px; }
  .workspace-label { margin: 32px 10px 11px; }
  .sidebar nav button { min-height: 32px; padding: 6px 10px; font-size: 13px; gap: 9px; }
  .workspace main { padding: 27px 23px 34px; }
  .feed-layout { display: block; }
  .profile-layout { grid-template-columns: 1fr; }
  .profile-card { padding: 23px; grid-template-columns: 80px 1fr; }
  .profile-card > .avatar { margin: 0; }
  .profile-card h3 { font-size: 20px; }
  .messaging { grid-template-columns: 205px 1fr; }
  .search { width: 210px; }
  .stock-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .sidebar { display: none; }
  .workspace { margin-left: 0; padding-bottom: 92px; }
  .topbar { height: 68px; padding: 0 17px; background: #fafafaf5; border-bottom-color: #e6e6e6; }
  .mobile-brand { color: #497052; }
  .mobile-brand b { color: #555; font-size: 15px; font-weight: 500; }
  .mobile-brand small { color: #858585; }
  .top-actions { gap: 6px; }
  .icon-button { width: 34px; height: 34px; border-radius: 7px; }
  .search { width: 126px; border-radius: 7px; padding: 0 9px; }
  .search input { min-height: 34px; padding: 7px 0; }
  .workspace main { padding: 25px 18px 31px; }
  .section-heading { margin-bottom: 22px; gap: 12px; }
  .section-heading h2 { font-size: 26px; font-weight: 450; }
  .section-heading .eyebrow { font-size: 9px; }
  .section-heading p { font-size: 12px; }
  .section-heading .button { min-height: 36px; padding: 8px 11px; border-radius: 7px; font-size: 11px; }
  .summary-strip { border-radius: 10px; gap: 25px; padding: 18px 20px; margin-bottom: 21px; }
  .summary-strip b { font-size: 26px; }
  .summary-strip span { font-size: 11px; }
  .category-tabs { justify-content: flex-start; gap: 4px; flex-wrap: wrap; overflow: visible; }
  .category-tabs button { padding: 7px 10px; font-size: 12px; border-radius: 6px; }
  .task-grid { gap: 14px; }
  .task-card { padding: 20px; border-radius: 10px; }
  .task-card h3 { font-size: 15px; }
  .task-card .tag, .task-card .status { font-size: 10px; }
  .task-card > p { font-size: 12px; }
  .task-footer { font-size: 10px; }
  .task-assignee { font-size: 11px; }
  .task-assignee .avatar { width: 25px; height: 25px; border-radius: 6px; }
  .workspace-footer { background: #fafafa; padding: 16px 18px; }
  .mobile-nav { background: #fffffff5; border-color: #e6e6e6; border-radius: 12px; padding: 6px 7px calc(6px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 4px 20px #0000000a; bottom: 14px; }
  .mobile-nav button { min-height: 47px; min-width: 59px; border-radius: 8px; color: #858585; font-size: 10px; }
  .mobile-nav .active { background: #f0f0f0; color: #555; }
  .composer { padding: 18px; border-radius: 10px; }
  .composer-head > .avatar { width: 33px; height: 33px; border-radius: 8px; }
  .composer textarea { padding: 10px; border-radius: 7px; }
  .composer-actions .button { min-height: 36px; padding: 8px 12px; font-size: 12px; }
  .composer-actions select { border-radius: 6px; }
  .post { padding: 20px; border-radius: 10px; }
  .post-head .avatar { width: 35px; height: 35px; border-radius: 8px; }
  .post-head .tag { border-radius: 4px; }
  .post-actions button { border-radius: 5px; font-size: 11px; }
  .modal { padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)); border-radius: 14px 14px 0 0; }
  .modal-header h2 { font-size: 20px; }
  .messaging { border-radius: 10px; height: calc(100dvh - 250px); min-height: 390px; display: block; }
  .conversation-list > button { padding: 14px 10px; border-radius: 8px; }
  .conversation-list b { font-size: 14px; }
  .chat-header { padding: 14px; }
  .chat-messages { padding: 20px 15px; }
  .chat-compose { padding: 12px; }
  .profile-card { padding: 22px; border-radius: 10px; }
  .profile-menu { padding: 7px 17px; border-radius: 10px; }
  .profile-menu > button { padding: 20px 4px; }
  .form-card { padding: 22px; }
  .stock-card { padding: 20px; border-radius: 10px; }
  .stock-card > b { font-size: 29px; }
  .report-card { padding: 21px; }
  .report-heading h3 { font-size: 14px; }
  .subsection-heading .button { min-height: 36px; padding: 8px 11px; font-size: 11px; }
  .team-row { padding: 17px; }
  .login-intro { background: #fafafa; padding: 31px 25px 33px; border-bottom-color: #e6e6e6; }
  .login-intro .brand { font-size: 21px; }
  .login-intro .brand-mark { width: 34px; height: 34px; border-radius: 8px; }
  .login-intro h1 { font-size: 32px; }
  .login-panel { padding: 31px 25px 43px; }
  .login-panel h2 { font-size: 27px; }
  .toast { bottom: 97px; }
}
@media (max-width: 600px) {
  .task-grid { grid-template-columns: minmax(0, 1fr); }
  .task-card { padding: 21px; }
  .task-card h3 { min-height: auto; font-size: 16px; }
  .task-card > p { min-height: auto; font-size: 13px; }
  .task-top { flex-wrap: wrap; }
  .two-columns { grid-template-columns: minmax(0, 1fr); }
  input, textarea, select, .search input, .composer textarea, .inline-form input,
  .composer-actions select, .team-row select, .invite-result > input { font-size: 16px; }
  .search { width: 128px; }
  .search input { min-height: 34px; }
  .composer-actions { flex-wrap: wrap; }
  .composer-actions select { max-width: 100%; }
  .summary-strip { gap: 24px; }
}
@media (max-width: 380px) {
  .topbar { padding: 0 13px; }
  .mobile-brand b { font-size: 14px; }
  .search { width: 104px; }
  .workspace main { padding: 24px 15px 29px; }
  .section-heading h2 { font-size: 24px; }
  .section-heading .button { font-size: 10px; padding: 8px; }
  .summary-strip { padding: 17px; gap: 22px; }
  .summary-strip b { font-size: 25px; }
  .category-tabs button { font-size: 11px; padding: 7px 8px; }
  .stock-grid { grid-template-columns: minmax(0, 1fr); }
  .mobile-nav button { min-width: 54px; }
  .post { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
