/* Reference design: charcoal navigation, orange actions, quiet white boards. */
:root {
  --bg: #f7f7f7;
  --surface: #fff;
  --sidebar: #222325;
  --ink: #202124;
  --secondary: #606164;
  --muted: #77787b;
  --line: #e9e9e9;
  --accent: #f98128;
  --tint: #fff0e4;
  --green: #477a66;
  --radius: 13px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  background: #323335;
  color: var(--ink);
}
body { padding: 16px; background: #323335; }
button { border-color: #e9e9e9; border-radius: 9px; color: var(--ink); font-weight: 500; }
button:hover { background: #f2f2f2; border-color: #dedede; }
button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
button.primary:hover { background: #eb7020; border-color: #eb7020; }
button.soft { background: #fff0e4; color: #a55319; border-color: #ffe2ca; }
button.ghost:hover { background: #ececec; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: #dd742b; }
a { color: #ad551c; }
input, textarea, select { border-color: #e5e5e5; border-radius: 8px; color: #292a2c; background: #fff; }
input::placeholder, textarea::placeholder { color: #929292; }
input[type=checkbox] { accent-color: #f98128; }
h1, h2, h3 { color: #242527; letter-spacing: -.4px; }
p, .subtext, .muted, .hint { color: #757578; }
.app-shell { grid-template-columns: 226px minmax(0, 1fr); min-height: calc(100vh - 32px); background: #f7f7f7; border-radius: 29px; overflow: hidden; }
.sidebar { left: 24px; top: 24px; bottom: 24px; width: 202px; height: auto; border: 0; border-radius: 24px; padding: 22px 12px 12px; color: #f5f5f5; background: #222325; }
.logo { gap: 10px; padding: 0 10px 22px; font-size: 17px; font-weight: 500; color: #f9f9f9; letter-spacing: -.6px; }
.logo-mark { width: 30px; height: 30px; background: transparent; border-radius: 0; color: #ff8b31; }
.logo-mark svg { width: 30px; height: 30px; stroke-width: 2.2; }
.workspace-label { display: flex; align-items: center; gap: 8px; background: transparent; border: 0; padding: 0 11px 21px; margin: 0; color: #b3b4b5; font-size: 10px; line-height: 1.5; }
.workspace-label .dot { background: #fa872f; width: 5px; height: 5px; }
.side-label { color: #999a9c; margin: 9px 11px 10px; font-size: 10px; letter-spacing: 0; text-transform: none; }
.nav-button { color: #eeeeef; border-radius: 9px; font-size: 12px; font-weight: 400; padding: 10px 11px; gap: 10px; margin: 0 0 3px; }
.nav-button svg { width: 16px; height: 16px; color: #f0f0f0; }
.nav-button:hover { background: #2e2f31; color: #fff; }
.nav-button.active { background: #343537; color: #fff; font-weight: 500; }
.nav-button .badge, .side-count { margin-left: auto; background: #ff8b31; color: #fff; height: 18px; min-width: 18px; padding: 1px 4px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.side-count:empty { display: none; }
.sidebar-brands { margin: 27px 0 0; }
.sidebar-brands > summary { display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; padding: 0 11px 10px; color: #999a9c; font-size: 10px; }
.sidebar-brands > summary::-webkit-details-marker { display: none; }
.section-toggle { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid #3b3c3e; border-radius: 50%; font-size: 18px; color: #ddd; }
.sidebar-brands[open] .section-toggle { transform: rotate(45deg); }
.brand-shortcut { font-size: 11px; padding-top: 9px; padding-bottom: 9px; }
.brand-shortcut.selected { color: #ffad6f; background: #303033; }
.brand-shortcut .side-count { background: #393a3d; color: #c6c6c7; min-width: 18px; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.member-heading { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 8px; color: #999a9c; font-size: 10px; }
.member-heading button { border: 1px solid #3b3c3e; border-radius: 50%; width: 26px; height: 26px; min-width: 26px; padding: 5px; color: #ddd; }
.member-heading button:hover { background: #333; }
.sidebar-member { display: flex; align-items: center; gap: 8px; padding: 8px 11px; font-size: 11px; }
.sidebar-member b { color: #e6e6e6; font-weight: 450; }
.sidebar-member small { display: block; color: #929294; margin-top: 3px; font-size: 9px; }
.sidebar-member-hint { padding: 0 11px; margin: 1px 0 18px; color: #8f9093; font-size: 10px; line-height: 1.6; }
.profile-button { border: 0; border-radius: 10px; padding: 12px 10px 7px; background: transparent; gap: 8px; color: #fff; }
.profile-button:hover { background: #303133; }
.profile-button b { color: #f2f2f2; font-size: 11px; font-weight: 500; }
.profile-button small { color: #97989a; font-size: 9px; }
.profile-button > svg { margin-left: auto; color: #a1a2a4; width: 14px; }
.avatar { background: #e7ddd5; color: #765844; font-weight: 550; }
.sidebar .avatar { background: #d5bdab; color: #3e3129; }
.main { border-radius: 0 29px 29px 0; background: #f7f7f7; }
.topbar { height: 77px; background: #f7f7f7; border: 0; padding: 15px 26px 5px 20px; gap: 15px; }
.header-left { display: flex; align-items: center; gap: 28px; min-width: 0; }
.header-title { font-size: 19px; font-weight: 550; letter-spacing: -.6px; white-space: nowrap; margin: 0; }
.view-switch { display: flex; align-items: center; gap: 7px; }
.view-switch button { padding: 9px 13px; border: 0; background: #fff; font-size: 11px; gap: 7px; border-radius: 10px; }
.view-switch button svg { width: 14px; height: 14px; }
.view-switch button.selected { background: #242527; color: #fff; }
.view-switch button:hover { background: #eaeaea; }
.view-switch button.selected:hover { background: #343537; }
.top-actions { gap: 7px; flex-shrink: 0; }
.top-actions .primary { padding: 10px 13px; border-radius: 10px; font-size: 11px; }
.top-actions .brand-switch { max-width: 130px; background: #fff; border-radius: 9px; padding: 9px 9px; font-size: 10px; border: 0; }
.top-actions .icon-button { background: #fff; border-radius: 9px; padding: 9px; }
.top-actions .icon-button svg { width: 15px; height: 15px; }
.content { max-width: none; padding: 22px 25px 40px 20px; }
.view-work { padding-top: 4px; }
.work-toolbar { background: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-radius: 12px; padding: 9px 9px 9px 15px; min-height: 49px; margin-bottom: 9px; }
.board-search { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 140px; }
.board-search svg { width: 16px; height: 16px; color: #37383a; }
.board-search input { border: 0; background: transparent; padding: 7px 0; font-size: 11px; min-width: 0; }
.board-controls { display: flex; gap: 4px; align-items: center; padding-left: 12px; border-left: 1px solid #ececec; }
.collection-select { border: 0; padding: 8px; max-width: 130px; background: transparent; font-size: 10px; color: #747476; }
.toolbar-button { padding: 7px 8px; border: 0; background: transparent; color: #838386; font-size: 10px; gap: 5px; }
.toolbar-button svg { width: 13px; height: 13px; }
.toolbar-button.selected { background: #fff0e4; color: #ab571f; }
.toolbar-popover { position: relative; }
.toolbar-popover > summary { display: flex; align-items: center; list-style: none; padding: 8px; font-size: 10px; gap: 5px; cursor: pointer; color: #838386; white-space: nowrap; border-radius: 7px; }
.toolbar-popover > summary::-webkit-details-marker { display: none; }
.toolbar-popover > summary:hover, .toolbar-popover[open] > summary { background: #f5f5f5; color: #27282a; }
.toolbar-popover summary svg { width: 13px; height: 13px; }
.popover-body { position: absolute; right: 0; top: calc(100% + 8px); z-index: 7; width: 210px; padding: 15px; border: 1px solid #e8e8e8; box-shadow: 0 8px 30px #00000010; background: #fff; border-radius: 11px; }
.popover-body .field { margin-bottom: 12px; font-size: 11px; }
.popover-body .field:last-child { margin-bottom: 0; }
.popover-body select { padding: 9px; font-size: 11px; }
.popover-body .hint { font-size: 10px; line-height: 1.6; margin: 6px 0 0; }
.filter-dot { width: 5px; height: 5px; background: #fb8b36; border-radius: 50%; }
.collection-caption { display: flex; justify-content: space-between; align-items: center; color: #909093; font-size: 9px; padding: 0 2px 13px; }
.board { display: flex; gap: 14px; align-items: flex-start; overflow-x: auto; padding: 0 0 20px; min-height: calc(100vh - 190px); scrollbar-width: thin; scrollbar-color: #cfcfcf transparent; }
.board-col { width: clamp(235px, 22vw, 292px); min-width: 235px; flex: 0 0 auto; }
.board-head { display: flex; align-items: center; justify-content: space-between; padding: 1px 1px 13px; }
.board-head h2 { margin: 0; color: #292a2c; font-size: 16px; font-weight: 450; letter-spacing: -.5px; }
.board-head h2 span { color: #8c8d8e; font-weight: 400; }
.column-add { padding: 3px; color: #929294; opacity: 0; transition: opacity .15s; }
.board-col:hover .column-add, .column-add:focus-visible { opacity: 1; }
.column-add svg { width: 14px; height: 14px; }
.board-card { display: block; position: relative; width: 100%; padding: 13px 13px 0; margin: 0 0 13px; border: 1px solid #fff; border-radius: 13px; background: #fff; text-align: left; white-space: normal; box-shadow: 0 2px 3px #00000002; overflow: hidden; transition: box-shadow .15s, transform .15s; }
.board-card:hover { background: #fff; border-color: #e1ddd9; box-shadow: 0 7px 18px #00000008; transform: translateY(-2px); }
.card-tags { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; min-height: 19px; margin-bottom: 11px; }
.card-tags .pill { background: #fdeaf2; color: #b35e83; padding: 4px 7px; border-radius: 14px; font-size: 9px; line-height: 1; }
.card-tags .pill .dot { display: none; }
.card-tags .pill:nth-child(2), .card-tags .series-tag { background: #ffead9; color: #b77540; }
.card-tags .task-priority { background: #fff0d2; color: #aa762f; }
.board-card h3 { margin: 0 0 7px; font-size: 13px; color: #262729; font-weight: 500; line-height: 1.5; letter-spacing: -.3px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-description { color: #6d6d70; font-size: 11px; line-height: 1.55; margin: 0 0 13px; white-space: pre-line; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.card-meta { display: flex; align-items: center; gap: 6px; padding: 0 0 14px; min-height: 35px; }
.date-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 6px; font-size: 9px; color: #5d5e60; border: 1px solid #dfdfdf; border-radius: 6px; line-height: 1; }
.date-chip svg { width: 11px; height: 11px; color: #3b3c3f; }
.new-request-label { color: #929294; font-size: 9px; }
.board-card footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 -13px; padding: 11px 13px; border-top: 1px solid #ededed; min-height: 43px; }
.card-assignee { display: inline-flex; align-items: center; gap: 5px; color: #929295; font-size: 9px; min-width: 0; }
.card-assignee .avatar { height: 22px; width: 22px; font-size: 9px; background: #ead6c5; color: #745441; }
.unassigned-avatar { display: inline-flex; color: #999; }
.unassigned-avatar svg { width: 16px; height: 16px; }
.card-footer-meta { color: #929295; font-size: 8px; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.card-footer-meta svg { width: 12px; height: 12px; }
.card-footer-meta .dot { width: 4px; height: 4px; background: #b7b7b8; }
.more-cards { width: 100%; justify-content: space-between; background: transparent; border: 1px dashed #ddd; padding: 11px 12px; color: #777; font-size: 10px; }
.more-cards span { font-size: 9px; color: #999; }
.empty-column { min-height: 135px; border: 1px dashed #dfdfdf; border-radius: 12px; display: grid; place-items: center; color: #a0a0a2; font-size: 11px; }
.page-heading { margin-bottom: 26px; }
.page-heading h1 { font-size: 24px; font-weight: 500; letter-spacing: -.8px; }
.page-heading .subtext { font-size: 11px; }
.quiet-card, .product-card, .disclosure { border-color: #e9e9e9; border-radius: 13px; box-shadow: none; background: #fff; }
.brand-section > summary { color: #414144; }
.brand-section > summary small, .history-group > summary .muted { color: #8d8d90; }
.history-group > summary { color: #555558; }
.task-table th { background: #fcfcfc; color: #8a8a8d; }
.task-table td { color: #77777a; border-color: #efefef; }
.task-table .name-col { color: #333437; }
.task-table .name-col small { color: #919194; }
.task-table tbody tr:hover { background: #fffaf5; }
.task-marker { border-color: #cbcbcd; }
.tabs { border-color: #e5e5e5; }
.tab { color: #8b8b8e; font-size: 11px; }
.tab.active { color: #bb641f; }
.tab.active:after { background: #f98128; }
.tab-count { background: #fff0e4; color: #a8632e; }
.segmented { background: #eaeaea; }
.segmented .selected { color: #333; }
.pill { background: #f1f1f1; color: #737376; }
.pill.green { background: #e7f2e9; color: #537e5f; }
.pill.amber { background: #fff0e2; color: #ac7140; }
.pill.purple { background: #f3eafb; color: #9a6cb1; }
.pill.rose { background: #fbe9ef; color: #b96b85; }
.pill.blue { background: #e5f3f5; color: #618c93; }
.focus-hero { background: #fff; border-color: #e9e9e9; border-radius: 14px; }
.focus-hero h2 { color: #303133; }
.focus-hero p, .focus-footer, .eyebrow { color: #858588; }
.art-page { background: #fffaf4; border-color: #f3d9bd; box-shadow: 7px 9px 0 #fbe9d7; }
.art-line { background: #f2d8bb; }
.art-check { border-color: #fff; background: #d9eadd; color: #5c8666; }
.section-header h2, .quick-action, .compact-card h3 { color: #444548; }
.quick-action svg, .product-card .product-icon { color: #ac754d; }
.quick-action:hover { background: #fffaf5; }
.product-card .product-icon { background: #fff1e4; }
.product-card h3 { color: #36373a; }
.product-card p, .product-card footer, .product-stat small { color: #818184; }
.product-stat strong { color: #4a4a4d; }
.settings-nav button { color: #77777a; }
.settings-nav button.active { background: #ffead8; color: #ad5f27; }
.settings-section h2, .settings-row b, .member-details b { color: #3e3e41; }
.settings-row p, .member-details small { color: #8a8a8d; }
.field { color: #727275; font-size: 11px; }
.field input, .field textarea, .field select { color: #36373a; }
.field small, .check-label { color: #858588; }
.permission-table th { background: #fafafa; color: #555558; }
.permission-table td { color: #757578; }
.dialog-backdrop { background: #1515155c; backdrop-filter: blur(3px); }
.side-panel, .modal { border-color: #e3e3e3; box-shadow: -10px 0 60px #0000001c; }
.panel-header, .panel-footer, .modal-header, .modal-footer { border-color: #ececec; }
.panel-crumb { color: #929295; }
.panel-body h2, .modal-header h2 { color: #292a2c; font-weight: 500; }
.panel-body .tabs { background: #fff; }
.panel-section-title { color: #606164; }
.property-row { color: #8c8c8f; }
.property-row .value, .property-row input, .property-row select { color: #646467; }
.property-row input, .property-row select { background: #fafafa; }
.brief-text { color: #666669; }
.quote-summary { background: #fff6ec; border-color: #f7e2cc; }
.quote-summary span { color: #a67a56; }
.quote-summary strong { color: #985b2a; }
.quote-summary small { color: #b8997b; }
.disclosure > summary { color: #606164; }
.disclosure > summary:after { color: #aaa; }
.disclosure-body h3 { color: #626265; }
.mini-alert { background: #f7f7f7; color: #818184; }
.mini-alert.warn { background: #fff5e9; color: #a2825d; }
.mini-alert.success { background: #edf5ef; color: #63836b; }
.comment { border-color: #ececec; }
.comment.internal { background: #fffaf4; }
.comment header, .comment p { color: #77777a; }
.comment header b { color: #464649; }
.timeline-item { border-left-color: #e8e8e8; color: #77777a; }
.timeline-item:before { background: #edc8a6; }
.timeline-item b { color: #555558; }
.timeline-item p { color: #99999c; }
.review-box { border-color: #e9e9e9; }
.review-box h3 { color: #48484b; }
.version-label { color: #929295; }
.code { background: #f8f8f8; border-color: #ececec; color: #8a8a8d; }
.error { color: #bd5765; }
.checklist-row { border-color: #ececec; color: #727275; }
.notification-row.unread { background: #fffaf4; }
.notification-row .dot { background: #f98128; }
.notification-row b { color: #626265; }
.notification-row p { color: #99999c; }
.search-result { color: #606164; border-color: #eee; }
.search-result small { color: #99999c; }
.auth-shell { background: #fafafa; border-radius: 26px; overflow: hidden; min-height: calc(100vh - 32px); }
.auth-brand { background: #242527; }
.auth-brand .logo { color: #f7f7f7; }
.auth-brand .logo-mark { background: #f98128; color: #fff; border-radius: 8px; }
.auth-brand h1 { color: #fff; }
.auth-brand p, .auth-brand footer { color: #a1a1a4; }
.auth-brand .pill { background: #353638; color: #c8c8ca; }
.auth-form h2 { color: #303133; }
.auth-form footer { color: #929295; }
.auth-form-container { min-height: calc(100vh - 32px); }
.workflow-guide { margin-top: 25px; }
.workflow-guide > div { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid #eee; }
.workflow-guide > div > span { height: 27px; width: 27px; display: grid; place-items: center; background: #fff0e4; color: #b9733d; border-radius: 50%; font-size: 11px; flex-shrink: 0; }
.workflow-guide h3 { color: #4d4e50; margin-top: 3px; }
.workflow-guide p { font-size: 11px; margin: 5px 0 0; }
#toast { background: #28292b; color: #fff; }
/* Respect the existing account appearance option. */
.dark { --bg:#242527; --surface:#2d2e30; --ink:#ececec; --line:#414244; --secondary:#c4c4c6; --muted:#ababaf; }
.dark .app-shell, .dark .main, .dark .topbar { background: #28292b; }
.dark .header-title, .dark h1, .dark h2, .dark h3, .dark .board-head h2 { color: #e7e7e9; }
.dark .work-toolbar, .dark .view-switch button, .dark .brand-switch, .dark .top-actions .icon-button, .dark .board-card, .dark .popover-body, .dark .quiet-card, .dark .product-card, .dark .disclosure, .dark .side-panel, .dark .modal { background:#323335; border-color:#3b3c3e; }
.dark .view-switch button.selected { background: #f0f0f0; color: #242527; }
.dark .board-card h3, .dark .field input, .dark .field textarea, .dark .field select, .dark .task-table .name-col, .dark .panel-body h2 { color: #e0e0e2; }
.dark .board-card footer, .dark .panel-header, .dark .panel-footer { border-color: #444548; }
.dark .card-description, .dark .subtext, .dark .hint, .dark .brief-text, .dark .field, .dark .disclosure > summary { color: #b3b3b6; }
.dark .focus-hero, .dark .panel-body .tabs, .dark .panel-footer, .dark .comment-composer { background: #323335; border-color: #414244; }
.dark .board-card:hover { background:#363739; border-color:#565351; }
.dark .top-actions .primary { background: #f98128; }
@media (min-width: 1600px) {
  .app-shell { grid-template-columns: 240px minmax(0,1fr); }
  .sidebar { width: 216px; }
  .board-col { width: 290px; }
  .topbar { padding-top: 17px; height: 83px; }
}
@media (max-width: 1100px) {
  .app-shell { grid-template-columns: 202px minmax(0,1fr); }
  .sidebar { width: 178px; padding-left: 9px; padding-right: 9px; }
  .logo { font-size: 15px; gap: 7px; padding-left: 8px; }
  .logo-mark, .logo-mark svg { width: 27px; height: 27px; }
  .topbar { padding-left: 15px; padding-right: 18px; }
  .header-left { gap: 16px; }
  .header-title { font-size: 17px; }
  .view-switch { gap: 4px; }
  .view-switch button { padding: 9px 10px; font-size: 10px; }
  .view-switch button[data-action=workflow-guide] { display:none; }
  .content { padding-left: 15px; padding-right: 18px; }
  .top-actions .brand-switch { max-width: 110px; }
  .board-controls { gap:0; padding-left:7px; }
  .toolbar-popover > summary, .toolbar-button { padding: 7px 6px; }
}
@media (max-width: 760px) {
  body { padding: 0; background: #f7f7f7; }
  .app-shell { display: block; min-height:100vh; border-radius: 0; }
  .sidebar { position: relative; inset: auto; width: 100%; height: auto; border-radius: 0; padding: 15px 13px 10px; }
  .logo { padding:0 4px 14px; font-size:16px; }
  .workspace-label, .side-label, .sidebar-brands, .sidebar-bottom { display:none; }
  .sidebar nav { display:flex; gap:4px; overflow:auto; }
  .nav-button { width:auto; font-size:10px; padding:9px 10px; gap:6px; margin:0; }
  .nav-button svg { width:14px; height:14px; }
  .main { border-radius:0; }
  .topbar { height:auto; min-height:67px; padding:14px 15px 10px; gap:10px; align-items:flex-start; }
  .header-left { gap:12px; flex-wrap:wrap; }
  .header-title { font-size:17px; padding-top:6px; }
  .view-switch button { padding:8px 9px; }
  .top-actions { gap:5px; }
  .top-actions .brand-switch { max-width:100px; font-size:9px; padding:9px 6px; }
  .top-actions .primary { font-size:0; gap:0; padding:9px; }
  .top-actions .primary svg { width:16px; height:16px; }
  .top-actions button[aria-label="Search workspace"] { display:none; }
  .content { padding:15px 15px 30px; }
  .view-work { padding-top:2px; }
  .work-toolbar { flex-wrap:wrap; gap:3px; padding:8px 10px; }
  .board-search { flex-basis:100%; }
  .board-controls { border-left:0; border-top:1px solid #f1f1f1; padding:3px 0 0; width:100%; justify-content:space-between; }
  .collection-select { max-width:125px; }
  .toolbar-popover > summary, .toolbar-button { font-size:9px; padding:7px 5px; }
  .popover-body { width:190px; }
  .board-col { width:245px; min-width:245px; }
  .board-head h2 { font-size:15px; }
  .board { min-height:60vh; }
  .column-add { opacity:1; }
  .auth-shell { border-radius:0; min-height:100vh; }
  .auth-form-container { min-height:100vh; }
}
/* Keep the application inside the rounded frame, with workspace scrolling. */
@media (min-width: 761px) {
  body { overflow: hidden; }
  .app-shell { height: calc(100dvh - 32px); min-height: 0; }
  .main { height: 100%; overflow: auto; scrollbar-width: thin; scrollbar-color: #d4d4d4 transparent; }
  .topbar { position: sticky; top: 0; z-index: 5; padding-bottom: 12px; }
  .view-work .work-toolbar { position: sticky; top: 77px; z-index: 4; }
  .side-panel { right: 16px; top: 16px; bottom: 16px; border-radius: 20px; overflow: hidden; }
}
@media (min-width: 1600px) { .view-work .work-toolbar { top: 83px; } }
.dark input, .dark select, .dark textarea { color:#dedee0; background:#323335; border-color:#48494c; }
@media (min-width:761px) { .auth-shell { height:calc(100dvh - 32px); overflow:auto; } }
/* A single Tasks area owns work, completion history, and activity. */
.task-sections { display:flex; gap:20px; align-items:center; border-bottom:1px solid var(--line); margin:0 0 15px; padding:0 3px; }
.task-sections button { border:0; background:transparent; border-radius:0; padding:11px 0; color:var(--muted); font-size:12px; position:relative; }
.task-sections button[aria-selected=true] { color:var(--ink); font-weight:550; }
.task-sections button[aria-selected=true]:after { content:''; height:2px; position:absolute; bottom:-1px; left:0; right:0; background:var(--accent); }
.task-sections .tab-count { margin-left:5px; }
.more-list-rows { display:flex; width:100%; border:0; border-top:1px solid var(--line); border-radius:0; padding:12px; font-size:11px; color:var(--secondary); background:var(--surface); }
.task-source-evidence { margin-top:20px; }
.view-work .task-sections + .page-heading { margin-top:25px; }
.view-work .task-sections + .page-heading h1 { font-size:20px; }
.collection-select { max-width:150px; }

/* Scope and agreed price are the primary list details. */
.scope-table { table-layout: fixed; }
.task-table.scope-table .name-col { width: 38%; }
.task-table.scope-table .stage-col { width: 15%; }
.task-table.scope-table .type-col { width: 34%; }
.task-table.scope-table .price-col { width: 13%; text-align: right; white-space: nowrap; }
.task-table.scope-table td.price-col { color: var(--ink); font-weight: 550; font-variant-numeric: tabular-nums; }
.task-type-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.task-type-tags > span { font-size: 10px; line-height: 1.6; background: #f4f4f3; color: #68686a; border-radius: 5px; padding: 2px 6px; }
.task-scope-detail { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 10px; line-height: 1.6; color: var(--muted); margin-top: 5px; overflow-wrap: anywhere; }
.dark .task-type-tags > span { background: #393939; color: #d0d0d0; }
@media(max-width:760px) {
  .task-table.scope-table .name-col { width: 34%; }
  .task-table.scope-table .stage-col { width: 18%; }
  .task-table.scope-table .type-col { width: 32%; }
  .task-table.scope-table .price-col { width: 16%; }
  .task-table.scope-table th,.task-table.scope-table td { padding: 10px 6px; font-size: 10px; }
}

.status-picker { display: inline-flex; align-items: center; position: relative; max-width: 100%; border-radius: 5px; background: #f5f0e5; color: #92733e; }
.status-picker.green { background: #eaf3ed; color: #527662; }
.status-picker.blue { background: #e9f3f5; color: #537d88; }
.status-picker.purple { background: #f0ecf8; color: #7e699b; }
.status-picker.rose { background: #f8ebed; color: #a56d79; }
.status-picker select { appearance: none; border: 0; background: transparent; border-radius: 5px; color: inherit; font-size: 10px; padding: 5px 20px 5px 7px; line-height: 1.5; width: 100%; cursor: pointer; }
.status-picker select:hover { box-shadow: 0 0 0 1px currentColor; }
.status-picker svg { position: absolute; right: 5px; width: 10px; height: 10px; transform: rotate(90deg); pointer-events: none; }
.status-picker select option { background: var(--surface); color: var(--ink); }
.status-picker select:disabled { opacity: .5; cursor: wait; }
.dark .status-picker { background: #3a3428; color: #c8b183; }
.dark .status-picker.green { background: #293b30; color: #a4c4ac; }
.dark .status-picker.blue { background: #293c40; color: #a5cbd3; }
