/* Tongpin workspace v3: shared visual system; existing business data is unchanged. */
:root {
  --green: #4f46e5;
  --green-soft: #eef0ff;
  --muted: #526079;
  --line: #e3e7ef;
  --shadow: 0 3px 16px #1c285008;
  --side: 248px;
  color: #243047;
  background: #f5f6fa;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}
body { background: #f5f6fa; }
svg { stroke-width: 1.7; }
::selection { color: #282461; background: #dce0ff; }
button:focus-visible, a:focus-visible, .task-card:focus-visible {
  outline: 3px solid #818cf8;
  outline-offset: 3px;
}
input::placeholder, textarea::placeholder { color: #647086; opacity: 1; }

/* A quiet, well-defined navigation rail. */
.sidebar {
  width: var(--side);
  padding: 27px 16px 18px;
  background: #12192b;
  color: #fff;
  border-right: 1px solid #12192b;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #39435a transparent;
}
.brand { gap: 11px; padding: 0 12px 25px; }
.brand-mark {
  width: 37px; height: 37px; border-radius: 12px;
  background: linear-gradient(145deg, #7771fa, #4f46e5);
  box-shadow: 0 4px 12px #080b1d45, inset 0 1px #ffffff40;
}
.brand-name { color: #fff; font-size: 24px; letter-spacing: 1px; font-weight: 700; }
.brand-label { color: #a7b3ca; font-size: 9px; letter-spacing: 1.65px; line-height: 1.8; }
.workspace-switch {
  margin: 0 3px 24px; padding: 11px 10px;
  border: 1px solid #354058; background: #1c253a; border-radius: 10px;
  gap: 10px; color: #f7f8fe; text-align: left;
}
.workspace-icon { width: 32px; height: 32px; color: #c7ceff; background: #303455; border-radius: 8px; flex-shrink: 0; }
.workspace-copy { color: #f7f8fe; font-size: 12px; font-weight: 600; min-width: 0; }
.workspace-copy small { color: #b5bfd1; font-size: 10px; margin-top: 5px; white-space: nowrap; }
.workspace-switch > svg { width: 13px; height: 13px; color: #b5bfd1; }
.nav-button {
  position: relative; padding: 11px 13px; margin-bottom: 4px;
  border-radius: 8px; color: #c1cadb; font-size: 13px; font-weight: 450; gap: 12px;
  transition: background .15s, color .15s;
}
.nav-button > span:not(.count) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-button svg { color: #a9b5cd; width: 18px; height: 18px; }
.nav-button:hover { color: #fff; background: #202a40; }
.nav-button.active { color: #fff; background: #2a2c50; font-weight: 600; }
.nav-button.active::before {
  content: ""; position: absolute; left: 0; top: 11px; bottom: 11px;
  width: 3px; border-radius: 3px; background: #a5a1ff;
}
.nav-button.active svg { color: #c9c6ff; }
.nav-button .count { margin-left: auto; background: #2c3850; color: #e5e9f3; font-size: 10px; border-radius: 5px; padding: 2px 5px; }
.nav-button.active .count { background: #494578; color: #fff; }
.sidebar-section { margin-top: 27px; }
.section-caption { color: #a9b5ca; font-size: 11px; letter-spacing: .6px; padding: 0 13px 10px; }
.project-nav { font-size: 12px; }
.project-dot { width: 8px; height: 8px; border-radius: 3px; }
.sidebar .small-icon { color: #a9b5ca; }
.sidebar .small-icon:hover { color: #fff; background: #2a3550; }
.local-note { display: none; }
.sidebar-footer { margin-top: auto; padding-top: 28px; }
.user-row { padding: 15px 8px 0; border-color: #303a50; gap: 10px; }
.user-row .user-copy { color: #f8fafc; font-size: 12px; font-weight: 550; }
.user-row small { font-size: 10px; font-weight: 400; color: #b2bed3; margin-top: 5px; }
.avatar { color: #34415a !important; font-weight: 650; }
.avatar.large { width: 34px; height: 34px; }

/* Frame and project summary. */
.topbar { height: 64px; padding: 0 34px; background: #fff; border-bottom-color: #e7eaf2; }
.breadcrumb { color: #5b667d; font-size: 12px; gap: 10px; }
.breadcrumb .current { color: #33415b; }
.breadcrumb svg { color: #8390a5; width: 12px; }
.topbar-right { gap: 20px; }
.top-search { background: #f5f6fa; border: 1px solid #e9ecf3; padding: 8px 10px; border-radius: 8px; gap: 8px; }
.top-search svg { color: #637089; width: 15px; height: 15px; }
.top-search input { width: 172px; color: #243047; font-size: 12px; }
.key-hint { color: #5b667c; background: #fff; border-color: #dbe1eb; font-size: 10px; padding: 0 5px; }
.top-date { color: #526079; font-size: 11px; }
.bell-button { color: #526079; border-radius: 8px; padding: 6px; }
.bell-button:hover { background: #eef0f8; }
.bell-button i { background: #e26471; right: 7px; top: 4px; }
.page-content { padding: 27px 34px 24px; max-width: 1740px; }
.eyebrow { color: #526079; font-size: 11px; margin-bottom: 12px; }
.heading-row { gap: 20px; }
.heading-copy h1 { color: #182239; font-size: 28px; font-weight: 700; letter-spacing: -.5px; line-height: 1.35; }
.heading-copy p { color: #526079; font-size: 12px; margin-top: 8px; line-height: 1.8; }
.project-heading-icon {
  width: 40px; height: 40px; border-radius: 11px;
  color: #4f46e5; background: #e9eaff; border: 1px solid #d9dcff;
  box-shadow: inset 0 1px #fff;
}
.project-heading-icon svg { width: 21px; height: 21px; }
.project-hero .heading-copy h1 { gap: 13px; }
.project-hero .heading-copy p { margin-left: 53px; }
.heading-actions { gap: 9px; }
.btn {
  color: #3f4b63; background: #fff; border: 1px solid #dce1ec;
  border-radius: 8px; padding: 9px 13px; font-size: 12px; font-weight: 550; min-height: 36px;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn:hover { color: #4338ca; background: #f5f5ff; border-color: #b9b5f7; }
.btn svg { width: 15px; height: 15px; }
.btn.primary { color: #fff; background: #4f46e5; border-color: #4f46e5; box-shadow: 0 3px 8px #4f46e51c, inset 0 1px #ffffff25; }
.btn.primary:hover { color: #fff; background: #4338ca; border-color: #4338ca; box-shadow: 0 4px 12px #4f46e52b; }
.btn.quiet { color: #526079; background: transparent; border-color: transparent; box-shadow: none; }
.btn.danger { color: #b42338; border-color: #f3cbd2; }
.small-icon { color: #647086; }
.small-icon:hover { color: #4f46e5; background: #ebedff; }
.project-meta { margin-top: 15px; gap: 11px; color: #526079; font-size: 11px; }
.avatar-stack .avatar { width: 28px; height: 28px; border-color: #f5f6fa; }
.meta-divider { background: #d9deea; }
.project-meta .date { gap: 6px; }
.project-meta .meta-end { margin-left: auto; }
.local-pill { color: #3d5862; background: #e9f1ef; border-radius: 20px; padding: 5px 9px; font-size: 10px; display: flex; align-items: center; gap: 5px; }
.local-pill i { width: 5px; height: 5px; background: #238966; border-radius: 50%; }

/* Compact metrics, rather than a second dashboard above the board. */
.stats { gap: 14px; margin: 18px 0 22px; }
.stat { background: #fff; border: 1px solid #e3e7f0; border-radius: 12px; box-shadow: 0 2px 6px #1b294504; padding: 16px 18px; min-height: 90px; }
.stat-label { color: #526079; font-size: 12px; font-weight: 500; }
.stat-value { color: #182239; font-size: 29px; font-weight: 650; letter-spacing: -.7px; line-height: 1; margin-top: 8px; font-variant-numeric: tabular-nums; }
.stat-value small { color: #526079; font-size: 11px; font-weight: 400; margin-left: 7px; }
.stat-icon { background: #edf0ff; color: #4f46e5; border-radius: 10px; }
.stat-foot { position: static; display: block; color: #526079; font-size: 11px; margin-top: 10px; }
.stat-foot.good { color: #16714d; }
.stat-foot.warm { color: #925a10; }
.metric { display: flex; align-items: center; gap: 12px; min-height: 88px; }
.metric .stat-icon { width: 39px; height: 39px; flex-shrink: 0; }
.metric .stat-icon svg { width: 19px; height: 19px; }
.metric-copy { min-width: 58px; }
.metric .stat-value { font-size: 27px; margin-top: 7px; }
.metric-chip { margin-left: auto; color: #526079; background: #f4f5f9; border-radius: 5px; padding: 4px 6px; font-size: 10px; white-space: nowrap; }
.metric.amber .stat-icon { color: #a56514; background: #fff4e3; }
.metric.green .stat-icon { color: #16714d; background: #e7f5ed; }
.metric.rose .stat-icon { color: #bf3f5a; background: #fff0f2; }
.metric.green .metric-chip { color: #16714d; background: #edf7f1; }
.metric.rose .metric-chip { color: #a4314a; background: #fff1f3; }
.stat-bar, .mini-progress { background: #e7eaf3; }
.stat-bar i, .mini-progress i { background: #7770e9; }

/* Views, filters and board form one work surface. */
.task-workspace { padding: 17px 18px 2px; border: 1px solid #e0e5ee; border-radius: 15px; background: #fff; box-shadow: 0 4px 20px #25395a04; }
.views-bar { border: none; margin-bottom: 15px; align-items: center; gap: 15px; }
.view-tabs { background: #f1f3f8; border: 1px solid #eceef5; border-radius: 9px; padding: 3px; gap: 3px; max-width: 100%; }
.view-tab { color: #526079; font-size: 12px; padding: 8px 13px; gap: 6px; border-radius: 6px; white-space: nowrap; font-weight: 500; }
.view-tab svg { width: 15px; height: 15px; }
.view-tab.active { background: #fff; color: #4338ca; font-weight: 650; box-shadow: 0 1px 4px #20295614; }
.view-tab.active::after { display: none; }
.view-tab:hover:not(.active) { color: #273449; background: #e9ecf4; }
.view-right { color: #526079; font-size: 10px; padding: 0; gap: 5px; }
.view-right svg { width: 14px; height: 14px; color: #26855f; }
.board-toolbar { padding-bottom: 15px; border-bottom: 1px solid #edf0f5; margin-bottom: 0; min-height: 48px; }
.filters { gap: 8px; flex-wrap: wrap; }
.filter-symbol { color: #68758c; margin-right: 3px; }
.filter-select { color: #3f4d66; background: #fff; border-color: #dde3ee; border-radius: 7px; font-size: 11px; padding: 7px 24px 7px 10px; min-height: 32px; }
.filter-select:hover { border-color: #acafd8; }
.clear-filter { color: #4f46e5; font-size: 11px; }
.board-hint { color: #5c6980; font-size: 10px; gap: 5px; }
.filter-result { color: #526079; font-size: 12px; }
.kanban { grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 15px; padding-top: 17px; padding-bottom: 18px; align-items: start; scrollbar-width: thin; scrollbar-color: #cbd2e4 transparent; }
.column, .column[data-status="progress"], .column[data-status="review"], .column[data-status="done"] {
  background: #f4f6fa; border: 1px solid #edf0f5; border-radius: 11px; padding: 12px 10px 11px; min-height: 350px;
}
.column-header { padding: 2px 4px 14px; gap: 7px; }
.column-title { color: #33415b; font-size: 12px; font-weight: 650; letter-spacing: 0; }
.column-count { color: #526079; background: #e8ecf4; border: 0; font-size: 10px; font-weight: 550; padding: 3px 6px; min-width: 21px; text-align: center; border-radius: 5px; }
.status-dot { width: 7px; height: 7px; background: #7c899f; }
.status-dot.progress { background: #4f74df; }
.status-dot.review { background: #9a6dde; }
.status-dot.done { background: #2a9b76; }
.column[data-status="progress"] .column-count { color: #3055b3; background: #e4ebff; }
.column[data-status="review"] .column-count { color: #7045aa; background: #efe7fa; }
.column[data-status="done"] .column-count { color: #16714d; background: #e1f2e9; }
.column-header .small-icon { padding: 3px; color: #64748b; }
.column-header .small-icon:hover { background: #e4e8f4; color: #4f46e5; }
.column.drag-over { background: #e9ecff; border: 1px dashed #7770e9; }
.task-card {
  padding: 14px; margin-bottom: 11px; border: 1px solid #e1e5ef;
  border-radius: 10px; background: #fff; box-shadow: 0 2px 3px #27365804, 0 4px 10px #27365803;
}
.task-card:hover { border-color: #b0b0e8; transform: translateY(-2px); box-shadow: 0 7px 18px #3f468411; }
.card-top { margin-bottom: 9px; }
.card-code { color: #65728a; font-size: 10px; font-weight: 550; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.priority { color: #526079; font-size: 10px; gap: 4px; font-weight: 500; }
.priority.high { color: #bc384d; }
.priority.medium { color: #996017; }
.priority.low { color: #526079; }
.priority svg { width: 11px; height: 11px; }
.task-card h3 { color: #202b41; font-size: 14px; font-weight: 650; line-height: 1.7; margin-bottom: 7px; }
.task-card p { color: #526079; font-size: 12px; line-height: 1.85; margin-bottom: 11px; }
.card-tags { display: flex; align-items: center; gap: 6px; margin: 11px 0; flex-wrap: wrap; }
.tag { padding: 3px 6px; border-radius: 4px; font-size: 10px; font-weight: 500; background: #eef1f7; color: #526079; }
.tag.design { background: #f0eafb; color: #7448ad; }
.tag.dev { background: #e8effd; color: #365eaf; }
.tag.content { background: #fff2dc; color: #915f13; }
.tag.ops { background: #fceaf0; color: #a63e63; }
.tag.research { background: #e6f4ee; color: #247553; }
.card-project { color: #526079; font-size: 10px; }
.card-checks { color: #526079; font-size: 10px; margin: 11px 0; gap: 5px; }
.mini-progress { height: 3px; margin-left: 8px; border-radius: 3px; }
.mini-progress i { background: #8d86e7; }
.card-bottom { padding-top: 11px; border-color: #edf0f6; gap: 8px; color: #526079; }
.card-date, .card-comments { font-size: 10px; color: #526079; }
.card-date svg, .card-comments svg { width: 12px; height: 12px; }
.card-date.overdue { color: #b33349; background: #fff0f2; padding: 3px 5px; border-radius: 4px; }
.card-date.today { color: #97600f; background: #fff4df; padding: 3px 5px; border-radius: 4px; }
.card-bottom .avatar { width: 24px; height: 24px; font-size: 9px; }
.task-card .cover { height: 85px; margin: 9px 0 12px; background: linear-gradient(120deg, #edeafa, #e4ecfc); border: 1px solid #e1e2f6; border-radius: 6px; }
.mini-browser { width: 76%; height: 64px; padding-top: 13px; border-color: #cfd3ec; box-shadow: 0 8px 14px #5e5aa812; }
.mini-browser::before { color: #9299c1; }
.mini-browser span { background: #cfcef0; }
.mini-browser i { background: #e0e4f6; }
.add-card { background: transparent; border: 1px dashed #d3dbea; color: #526079; font-size: 11px; padding: 10px; margin-top: 12px; border-radius: 7px; }
.add-card:hover { background: #fff; color: #4338ca; border-color: #a9a4eb; }
.column-empty { color: #526079; font-size: 11px; padding: 35px 8px; }
.page-foot { color: #5c6980; border: 0; font-size: 10px; padding-top: 17px; }
.page-foot button { color: #526079; font-size: 10px; }
.page-foot button:hover { color: #4f46e5; }

/* The same visual rhythm carries into every view. */
.list-wrap, .calendar, .schedule-wrap, .project-tile, .member-card, .focus-list, .activity-list, .source-card { border-color: #e0e5ee; border-radius: 12px; box-shadow: 0 3px 12px #29364e04; }
.task-workspace > .list-wrap, .task-workspace > .calendar, .task-workspace > .schedule-wrap { margin-top: 18px; margin-bottom: 18px; }
.task-table { font-size: 12px; }
.task-table th { color: #526079; background: #f6f7fb; font-size: 11px; font-weight: 550; padding: 14px 17px; }
.task-table td { color: #526079; border-color: #edf0f6; padding: 15px 17px; }
.task-table .table-title { color: #202b41; font-size: 12px; font-weight: 550; }
.task-table td small { color: #65728a !important; font-size: 10px !important; }
.task-table tr[data-task]:hover { background: #f7f7ff; }
.task-table tr:focus-visible { outline-color: #818cf8; }
.status-label { color: #45526a; font-size: 11px; gap: 7px; }
.owner-cell { color: #45526a; }
.save-error { color: #b33349; }
.overview-grid { gap: 18px; margin-top: 19px; }
.project-tile { padding: 23px; background: #fff; }
.project-tile:hover { border-color: #bab4ed; box-shadow: 0 8px 24px #5045a20c; }
.project-tile h3 { color: #202b41; font-size: 16px; font-weight: 650; }
.project-tile p { color: #526079; font-size: 12px; }
.tile-icon { background: #eeedff !important; color: #5c51d5 !important; border-radius: 11px; }
.tile-top > svg { color: #748198; }
.tile-progress, .tile-foot { color: #526079; font-size: 11px; }
.project-tile .stat-bar i { background: #7770e9 !important; }
.overview-subhead { color: #202b41; font-size: 15px; font-weight: 600; }
.overview-subhead span { color: #65728a !important; font-size: 11px !important; }
.focus-row { color: #33415b; font-size: 12px; border-color: #edf0f6; padding: 17px 19px; }
.focus-row:hover { background: #f7f7ff; }
.focus-row small { color: #65728a; font-size: 11px; }
.focus-row small.save-error { color: #b33349; }
.member-card { background: #fff; padding: 24px; }
.member-card h3 { color: #202b41; font-size: 14px; font-weight: 600; }
.member-card h3 small { color: #526079 !important; }
.member-card p { color: #526079; font-size: 11px; }
.member-stats { color: #526079; font-size: 11px; gap: 28px; margin-top: 26px; }
.member-stats b { color: #4238ba; font-weight: 600; font-size: 24px; }
.activity-copy { color: #526079; font-size: 12px; }
.activity-copy strong { color: #26324a; font-weight: 600; }
.activity-copy small { color: #65728a; font-size: 10px; }
.activity-item { padding: 20px 0; border-color: #edf0f6; }
.activity-dot { color: #4f46e5; background: #eeedff; }
.source-card h3 { color: #202b41; font-weight: 600; }
.source-card p, .source-intro { color: #526079; font-size: 12px; }
.source-card a { color: #4f46e5; font-size: 12px; }
.note-box { color: #80570e; background: #fff7e7; border-color: #f0e0bb; font-size: 12px; border-radius: 10px; }
.empty-state { color: #526079; }
.empty-state h3 { color: #33415b; font-size: 15px; }
.empty-state p { color: #526079; font-size: 12px; }
.calendar-top h2 { color: #26324a; font-weight: 600; }
.calendar-weekday { color: #526079; background: #f6f7fb; font-size: 11px; }
.calendar-day { border-color: #edf0f6; min-height: 120px; }
.calendar-day.other { background: #fafbfe; color: #6b7890; }
.calendar-day.today { background: #f1f1ff; }
.day-number { color: #526079; font-size: 11px; }
.today .day-number { color: #fff; background: #4f46e5; }
.calendar-task { background: #eeedff; color: #493ab4; border-left-color: #9386de; font-size: 10px; padding: 6px; display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.calendar-task-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.calendar-task > .avatar { width: 24px; height: 24px; min-width: 24px; flex: 0 0 24px; border-radius: 6px; font-size: 11px; line-height: 1; display: grid; place-items: center; }
.calendar .calendar-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.calendar-navigation { display: flex; align-items: center; gap: 6px; }
.calendar-context { padding: 18px 22px; border-bottom: 1px solid #e7eaf3; background: #fbfcff; }
.calendar-context-controls { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.calendar-context-controls label { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #526079; font-size: 11px; }
.calendar-scope-control { flex: 1 1 220px; max-width: 360px; }
.calendar-month-control { flex: 0 1 170px; }
.calendar-context select, .calendar-context input { width: 100%; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid #d7ddea; border-radius: 7px; background: #fff; color: #26324a; font-size: 12px; }
.calendar-context .calendar-all { min-height: 38px; border-color: #c8c4ee; color: #493ab4; background: #f2f0ff; white-space: nowrap; }
.calendar-scope-note { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 16px; margin-top: 15px; color: #526079; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.calendar-scope-note strong { color: #26324a; font-weight: 650; }
.calendar-explanation { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; color: #65728a; font-size: 11px; line-height: 1.8; }
.calendar-explanation .btn { padding: 4px 8px; min-height: 29px; font-size: 11px; }
.calendar-grid-scroll { overflow-x: auto; max-width: 100%; overscroll-behavior-x: contain; }
.calendar-scroll-hint { display: none; }
.calendar-empty-month { margin: 0; padding: 12px 22px; color: #526079; background: #f5f6fc; font-size: 12px; line-height: 1.8; }
.calendar-undated { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 14px 22px; margin: 0; color: #526079; border-top: 1px solid #e7eaf3; font-size: 11px; line-height: 1.8; }
@media (max-width: 640px) {
  .calendar .calendar-top { padding: 16px; }
  .calendar .calendar-grid { min-width: 840px; }
  .calendar-scroll-hint { display: block; padding: 8px 16px; color: #65728a; font-size: 11px; border-bottom: 1px solid #e7eaf3; }
  .calendar-context { padding: 16px; }
  .calendar-scope-control { flex-basis: 100%; max-width: none; }
  .calendar-month-control { flex: 1 1 145px; }
  .calendar-context .calendar-all { flex: 1 1 130px; padding: 8px; font-size: 11px; }
  .calendar-scope-note { align-items: flex-start; flex-direction: column; gap: 4px; }
  .calendar-empty-month, .calendar-undated { padding-left: 16px; padding-right: 16px; }
}
.schedule-head { padding: 21px; border-color: #e7eaf3; }
.schedule-head h2 { color: #26324a; font-size: 15px; font-weight: 600; }
.schedule-head p, .schedule-note { color: #526079; font-size: 11px; }
.schedule-controls { color: #45526a; font-size: 11px; }
.schedule-top { background: #f6f7fb; }
.schedule-top > span, .schedule-top > div { color: #526079; border-color: #e3e8f1; }
.schedule-top > span { font-size: 10px; }
.schedule-top small { font-size: 10px; }
.schedule-top > div.current { background: #eeedff; color: #4f46e5; }
.schedule-row, .schedule-person, .schedule-note { border-color: #e7eaf3; }
.schedule-person { color: #33415b; font-size: 11px; }
.schedule-person small { color: #65728a; font-size: 10px; }
.schedule-bar { color: #33415b; font-size: 11px; font-weight: 500; border-radius: 5px; }
.schedule-bar.finished { opacity: 1; color: #526079; }
.schedule-free { color: #65728a; font-size: 11px; }

/* Detail panels and forms. */
.modal-backdrop { background: #12192b73; backdrop-filter: blur(4px); padding: 26px; }
.modal { border: 1px solid #e2e5f0; border-radius: 16px; box-shadow: 0 28px 100px #0e143845; }
.modal-header { padding: 19px 26px; border-color: #e8ebf4; }
.modal-header h2 { color: #26324a; font-size: 14px; font-weight: 600; }
.modal-header small { color: #65728a; font-size: 11px; font-weight: 400; }
.form-main { padding: 26px; border-color: #e8ebf4; }
.form-side { padding: 25px 22px; background: #f7f8fc; max-height: none; overflow: visible; }
.form-side .field { margin-bottom: 16px; }
.field label, .field-label, .modal .field label, .modal .field-label { color: #526079; font-size: 11px; font-weight: 550; }
.field input, .field textarea, .field select, .comment-input { color: #26324a; font-size: 12px; border-color: #dce2ee; border-radius: 8px; outline-color: #818cf8; padding: 11px 12px; }
.field.title-field input { color: #182239; font-size: 23px; font-weight: 650; }
.form-side .field input, .form-side .field select { color: #33415b; font-size: 12px; }
.checklist-row { color: #45526a; font-size: 12px; padding: 2px 0; }
.field label.checklist-row { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; }
.checklist-row input:checked + .check-text { color: #65728a; }
.checklist-add input { color: #33415b; font-size: 11px; border-color: #dce2ee; border-radius: 7px; }
.checklist-add .btn { min-height: 32px; }
.checklist-row:focus-within { outline-color: #d6d4f6; }
.comment-text { color: #526079; font-size: 12px; }
.comment-text strong { color: #33415b; }
.comment-text small { color: #65728a; font-size: 10px; }
.comment-input { font-size: 12px; }
.modal-note { color: #65728a; font-size: 10px; line-height: 1.9; }
.modal-footer { padding: 17px 25px; border-color: #e8ebf4; border-radius: 0 0 16px 16px; }
.settings-description { color: #526079; font-size: 12px; }
.settings-actions .btn { border-radius: 9px; }
.toast { background: #232447; border-color: #49456d; color: #fff; font-size: 12px; border-radius: 10px; box-shadow: 0 8px 30px #161a3b25; }
.toast button { color: #d1ccff; }
.storage-warning { color: #80570e; background: #fff1ce; font-size: 12px; }

@media (min-width: 1600px) {
  .page-content { padding: 29px 38px 26px; }
  .topbar { padding: 0 38px; }
  .task-card { padding: 16px; }
  .task-card h3 { font-size: 15px; }
  .task-card p { font-size: 13px; }
  .column { padding: 13px 11px; }
}
@media (max-width: 1280px) {
  :root { --side: 224px; }
  .sidebar { padding-left: 13px; padding-right: 13px; }
  .page-content { padding: 25px 25px 22px; }
  .topbar { padding: 0 25px; }
  .top-date { display: none; }
  .top-search input { width: 145px; }
  .stats { gap: 11px; }
  .metric { padding: 14px; gap: 9px; }
  .metric .stat-icon { width: 33px; height: 33px; border-radius: 9px; }
  .metric-chip { font-size: 9px; padding: 3px 5px; }
  .metric-copy { min-width: 53px; }
  .kanban { gap: 12px; }
}
@media (max-width: 1050px) {
  .metric-chip { display: none; }
  .view-right { display: none; }
  .board-hint { font-size: 9px; }
}
@media (max-height: 760px) {
  .sidebar { padding-top: 20px; }
  .brand { padding-bottom: 18px; }
  .workspace-switch { margin-bottom: 17px; }
  .sidebar-section { margin-top: 20px; }
  .nav-button { padding-top: 10px; padding-bottom: 10px; }
}
@media (max-width: 760px) {
  :root { --side: 0px; }
  .sidebar { width: 244px; padding: 24px 15px 18px; }
  .topbar { padding: 0 16px; height: 58px; }
  .topbar-right { gap: 9px; flex-shrink: 0; }
  .breadcrumb { font-size: 10px; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; gap: 6px; }
  .breadcrumb > .current { min-width: 0; max-width: 88px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .breadcrumb svg:nth-of-type(2) { display: none; }
  .top-search { padding: 7px 9px; }
  .top-search input { width: 91px; font-size: 11px; }
  .top-search .key-hint { display: none; }
  .bell-button { padding: 3px; }
  .mobile-menu { color: #526079; }
  .page-content { padding: 23px 16px 20px; }
  .project-hero .heading-row { align-items: flex-start; gap: 10px; }
  .heading-copy h1 { font-size: 21px; letter-spacing: -.4px; }
  .project-heading-icon { width: 31px; height: 31px; border-radius: 9px; flex-shrink: 0; }
  .project-heading-icon svg { width: 17px; height: 17px; }
  .project-hero .heading-copy h1 { gap: 8px; }
  .project-hero .heading-copy p { margin-left: 0; font-size: 11px; margin-top: 9px; line-height: 1.8; }
  .heading-actions { padding-top: 1px; flex-shrink: 0; }
  .heading-actions .btn { padding: 8px 10px; font-size: 11px; min-height: 33px; }
  .project-meta { gap: 9px; margin-top: 14px; font-size: 10px; }
  .project-meta .meta-end { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
  .metric { min-height: 82px; padding: 13px; gap: 10px; }
  .metric .stat-icon { width: 33px; height: 33px; }
  .metric .stat-icon svg { width: 17px; height: 17px; }
  .metric .stat-value { font-size: 25px; }
  .metric .stat-label { font-size: 11px; }
  .stat-foot { font-size: 10px; }
  .task-workspace { border-radius: 12px; padding: 12px 11px 0; }
  .views-bar { margin-bottom: 12px; }
  .view-tabs { overflow-x: auto; scrollbar-width: none; gap: 1px; }
  .view-tab { font-size: 11px; padding: 8px 10px; gap: 5px; }
  .view-tab svg { width: 13px; height: 13px; }
  .board-toolbar { padding-bottom: 12px; gap: 8px; }
  .filters { gap: 6px; }
  .filter-symbol { display: none; }
  .filter-select { font-size: 10px; max-width: 112px; padding: 7px 16px 7px 8px; }
  .clear-filter { font-size: 10px; }
  .kanban { grid-template-columns: repeat(4, 259px); gap: 12px; padding-top: 13px; padding-bottom: 13px; }
  .column { min-height: 300px; }
  .task-card { padding: 14px; }
  .task-card h3 { font-size: 13px; }
  .task-card p { font-size: 12px; }
  .page-foot { font-size: 9px; gap: 10px; }
  .page-foot button { font-size: 9px; }
  .overview-grid { grid-template-columns: 1fr; }
  .member-card { padding: 17px; }
  .member-stats { gap: 16px; font-size: 10px; }
  .modal-backdrop { padding: 10px; }
  .modal { border-radius: 13px; }
  .modal-header { padding: 17px 20px; }
  .form-main { padding: 21px; }
  .field.title-field input { font-size: 20px; }
  .form-side { padding: 18px 20px; max-height: none; }
  .form-side .field { margin-bottom: 0; }
  .modal-footer { padding: 14px 17px; flex-wrap: wrap; }
  .modal-note { font-size: 10px; }
}
