/* Responsive owner workspace. Public and collector pages keep their own styles. */
body.concept { --green:#168064; --green-dark:#126850; --green-deep:#11543f; --green-soft:#eaf5f0; --green-light:#dceee5; --text:#273633; --muted:#68756f; --line:#e5eae7; --bg:#f5f7f8; --card-border:#e0e6e3; --radius:8px; --radius-sm:6px; --side-w:252px; --shadow:none; }
body.concept { background:#f5f7f8; background-image:none; }
body:not(.concept) :is(#conceptSidebar,.cn-scrim,.cn-top-left) { display:none!important; }
.concept .topbar-row>.brand { display:none; }
.cn-brand>span { overflow-wrap:anywhere; min-width:0; }
.ch-number { white-space:normal; overflow-wrap:anywhere; }
.ch-task-name strong,.ch-finance-row>span { overflow-wrap:anywhere; }
.concept * { letter-spacing:0; }
.concept #app { max-width:none; }
.concept .topbar { background:#fff; color:var(--text); border-radius:0; box-shadow:none; border-bottom:1px solid var(--line); height:72px; }
.concept .brand[hidden] { display:none; }
.concept .topbar-row { min-height:100%; }
.concept .icon-btn,.cn-icon { width:38px; height:38px; border-radius:7px; border:1px solid var(--line); color:#63716a; background:#fff; display:inline-flex; align-items:center; justify-content:center; }
.concept .icon-btn:hover,.cn-icon:hover { color:var(--green); background:#edf5f1; }
.concept .btn { border-radius:6px; box-shadow:none; font-size:14px; font-weight:600; }
.concept .btn-primary { background:var(--green); border:1px solid var(--green); }
.concept .btn-outline { background:#fff; border-color:#dbe2de; color:#4a5c53; }
.concept .card { border-radius:8px; box-shadow:none; }
.concept .tabs { border-radius:7px; box-shadow:none; background:#edf1ef; }
.concept .tabs button { border-radius:5px; }
.concept #fabDock { display:none !important; }
.concept #syncStatus { max-width:180px; }
.concept .view { max-width:1440px; padding:28px 32px 48px; }
.cn-top-left { display:flex; align-items:center; gap:20px; min-width:0; }
.cn-crumb { display:flex; align-items:center; gap:12px; font-size:13px; min-width:0; }
.cn-crumb>span { color:#7d8882; }
.cn-crumb .ic { width:13px; color:#9eaaa3; }
.cn-demo { border:1px solid #dce7e2; border-radius:4px; padding:4px 8px; font-size:11px; color:#62766a; background:#f7faf8; }
#conceptSidebar { position:fixed; inset:0 auto 0 0; width:252px; background:#fff; border-right:1px solid var(--line); display:flex; flex-direction:column; z-index:50; }
.cn-brand { display:flex; align-items:center; gap:10px; padding:22px 21px; min-height:91px; text-align:left; }
.cn-brand img { width:37px; height:37px; object-fit:contain; }
.cn-brand>span { font-size:16px; font-weight:800; color:#24463a; line-height:1.25; }
.cn-brand small { display:block; font-size:10px; font-weight:600; color:#809088; margin-top:4px; }
.cn-scroll { flex:1; min-height:0; overflow:auto; padding:8px 14px 20px; }
.cn-link,.cn-heading { display:flex; align-items:center; width:100%; text-align:left; gap:11px; min-height:41px; padding:9px 12px; font-size:13px; border-radius:6px; color:#607168; }
.cn-link .ic,.cn-heading .ic { width:18px; height:18px; flex-shrink:0; stroke-width:1.7; }
.cn-link:hover { background:#f3f6f4; color:#254a39; }
.cn-link.active { background:#e8f4ed; color:#15744e; font-weight:700; }
.cn-link>span:first-of-type,.cn-heading>span { flex:1; }
.cn-count { background:#fff0d9; color:#9b650f; font-size:11px; padding:1px 6px; border-radius:4px; }
.cn-group { margin-top:14px; }
.cn-heading { font-weight:700; color:#354e41; font-size:12px; }
.cn-heading>.ic:first-child { color:#759286; width:16px; height:16px; }
.cn-heading>.cn-arrow { width:12px; height:12px; }
.cn-heading[aria-expanded=true]>.cn-arrow { transform:rotate(90deg); }
.cn-links { margin:3px 0 0 19px; border-left:1px solid #e6ece8; padding-left:8px; }
.cn-links[hidden] { display:none; }
.cn-footer { padding:12px 18px 18px; border-top:1px solid var(--line); }
.cn-footer>button { display:flex; align-items:center; gap:9px; width:100%; font-size:12px; color:#718078; padding:6px 0 17px; }
.cn-footer>button .ic { width:16px; }
.cn-footer>button .ic:last-child { margin-left:auto; width:12px; }
.cn-account { display:flex; align-items:center; gap:10px; }
.cn-avatar { display:grid; place-items:center; width:34px; height:34px; flex-shrink:0; background:#e5efeb; color:#2d7356; border-radius:7px; font-weight:800; }
.cn-account strong { display:block; font-size:12px; font-weight:700; }
.cn-account small { display:block; font-size:10px; color:#87918b; margin-top:3px; }
.cn-account>.ic { margin-left:auto; width:16px; color:#7a8e80; }
.cn-scrim { display:none; }
.ch-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:26px; }
.ch-eyebrow { font-size:11px; color:#7c8e85; margin-bottom:6px; }
.ch-heading h1 { font-size:27px; line-height:1.4; font-weight:800; color:#223c2f; }
.ch-subtitle { margin-top:6px; font-size:13px; color:#7b8981; display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.ch-dot { width:3px; height:3px; border-radius:50%; background:#98aaa1; }
.ch-heading-actions { display:flex; gap:8px; flex-shrink:0; }
.ch-metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); background:#fff; border-block:1px solid var(--line); padding:21px 0; }
.ch-metric { padding:0 22px; text-align:left; min-width:0; border-right:1px solid var(--line); }
.ch-metric:last-child { border:0; }
.ch-metric:hover .ch-number { color:var(--green); }
.ch-metric-label { display:flex; align-items:center; justify-content:space-between; gap:5px; font-size:12px; color:#6b7a70; }
.ch-metric-icon { width:28px; height:28px; display:grid; place-items:center; border-radius:6px; }
.ch-metric-icon .ic { width:16px; height:16px; }
.green { color:#27805f; background:#edf6f1; }
.blue { color:#4b7bad; background:#edf3fa; }
.amber { color:#b78635; background:#fff6e8; }
.ch-number { font-size:27px; font-weight:700; color:#293c32; margin:9px 0 5px; white-space:nowrap; }
.ch-number small { font-size:12px; margin-left:6px; font-weight:500; color:#849187; }
.ch-metric-sub { color:#7e8d83; font-size:11px; }
.ch-attention { display:flex; align-items:center; gap:12px; padding:13px 18px; border:1px solid #eadfc7; background:#fefaf1; margin:20px 0 26px; font-size:12px; border-radius:5px; color:#8b6b33; }
.ch-attention>.ic { width:18px; height:18px; }
.ch-attention>div { display:flex; flex:1; align-items:center; flex-wrap:wrap; gap:10px; }
.ch-attention span { color:#968362; }
.ch-attention button { display:flex; align-items:center; gap:4px; font-size:12px; white-space:nowrap; font-weight:600; }
.ch-attention button .ic { width:14px; }
.ch-workspace { display:grid; grid-template-columns:1.35fr 1fr; gap:28px; border-bottom:1px solid #e2e9e4; padding-bottom:24px; }
.ch-work,.ch-finance { min-width:0; }
.ch-section-head { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:17px; }
.ch-section-head h2 { font-size:16px; font-weight:700; }
.ch-section-head button { display:flex; align-items:center; gap:5px; font-size:12px; color:#2a7656; }
.ch-section-head .ic { width:13px; }
.ch-section-head>span { font-size:11px; color:#879489; }
.ch-section-head p { font-size:12px; margin-top:5px; color:#7b8d81; }
.ch-tabs { display:flex; gap:18px; border-bottom:1px solid var(--line); }
.ch-tabs button { padding:3px 0 11px; color:#7a8980; font-size:12px; display:flex; align-items:center; gap:6px; border-bottom:2px solid transparent; }
.ch-tabs button span { font-size:10px; background:#e9eeeb; border-radius:4px; padding:1px 5px; }
.ch-tabs button.active { color:#217856; border-color:#298663; font-weight:700; }
.ch-task { display:flex; align-items:center; gap:11px; width:100%; padding:15px 0; border-bottom:1px solid #e7ede9; text-align:left; }
.ch-task:hover { background:#fff; }
.ch-task-icon { width:33px; height:33px; border-radius:6px; display:grid; place-items:center; flex-shrink:0; }
.ch-task-icon .ic { width:17px; }
.ch-task-name { min-width:0; flex:1; }
.ch-task-name strong { display:block; font-size:12px; font-weight:600; }
.ch-task-name small { display:block; font-size:10px; margin-top:5px; color:#8c998f; }
.ch-task-date { font-size:10px; color:#89998f; }
.ch-task>.ic { width:12px; height:12px; color:#829288; flex-shrink:0; }
.ch-status { font-size:10px; color:#a67b27; background:#fbf0d9; border-radius:4px; padding:3px 6px; white-space:nowrap; }
.ch-status.late { background:#fbecea; color:#ba5d51; }
.ch-status.done { background:#e3f2e8; color:#43825c; }
.ch-add-task { font-size:12px; color:#688171; display:flex; align-items:center; justify-content:center; gap:6px; width:100%; padding:14px 0 0; }
.ch-add-task .ic { width:15px; }
.ch-empty { color:#85968a; padding:32px; text-align:center; }
.ch-legend { display:flex; justify-content:flex-end; gap:16px; font-size:10px; color:#7b8d81; margin:-3px 0 14px; }
.ch-legend>span { display:flex; align-items:center; gap:5px; }
.ch-legend i { display:block; width:7px; height:7px; border-radius:2px; }
.ch-legend i.green { background:#60a685; }.ch-legend i.amber { background:#dab274; }
.ch-finance-row { width:100%; text-align:left; display:grid; grid-template-columns:96px minmax(0,1fr); gap:10px; padding:9px 0; }
.ch-finance-row>span { font-size:12px; font-weight:600; }.ch-finance-row small { display:block; font-size:10px; font-weight:400; color:#89988d; margin-top:3px; }
.ch-bar-pair>div { display:flex; gap:10px; align-items:center; margin:3px 0; }
.ch-bar-pair b,.ch-bar-pair small { font-size:10px; font-weight:500; width:43px; text-align:right; flex-shrink:0; margin:0; }
.ch-bar-pair progress { flex:1; min-width:0; width:100%; height:7px; border:0; border-radius:2px; background:#e9efeb; appearance:none; }
.ch-bar-pair progress::-webkit-progress-bar { background:#e9efeb; border-radius:2px; }
.ch-bar-pair progress::-webkit-progress-value { background:#61a78a; border-radius:2px; }
.ch-bar-pair progress.cost::-webkit-progress-value { background:#dab274; }
.ch-bar-pair progress::-moz-progress-bar { background:#61a78a; }.ch-bar-pair progress.cost::-moz-progress-bar { background:#dab274; }
.ch-net { margin-top:13px; padding-top:14px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ch-net>span { font-size:11px; color:#7c8d81; }.ch-net strong { color:#287551; font-size:18px; }.ch-net small { font-size:11px; font-weight:400; }
.ch-fields { padding-top:25px; }.ch-field-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.ch-field { display:flex; text-align:left; min-width:0; background:#fff; border:1px solid var(--line); border-radius:7px; overflow:hidden; }
.ch-field>img { width:78px; object-fit:cover; align-self:stretch; }
.ch-field>div { flex:1; min-width:0; padding:14px 12px; }
.ch-field-top { display:flex; align-items:center; justify-content:space-between; gap:5px; }.ch-field-top strong { font-size:12px; }.ch-field-top .ic { width:12px; }
.ch-field p { font-size:10px; color:#7f9085; margin:5px 0 10px; }
.ch-field-state { font-size:10px; color:#53856a; display:flex; align-items:center; gap:4px; }.ch-field-state .ic { width:12px; height:12px; }
.concept .planner-calendar-panel { background:#fff; border:1px solid var(--line); border-radius:7px; padding:18px; }
.concept .planner-calendar-panel>.card { box-shadow:none; border:0; padding:0; }
.concept .planner-calendar-panel .cal-day { border-radius:3px; box-shadow:none; }.concept .planner-calendar-panel .cal-day:hover { transform:none; }
.concept .modal { border-radius:8px; }
.concept .usage-row,.concept .field input,.concept .field select,.concept .field textarea { border-radius:6px; }
@media(min-width:900px) {
  .concept #app { display:block; padding-left:252px; }
  .concept .topbar { width:100%; padding:0 28px; }
  .concept #bottomNav { display:none; }
  .concept-nav-hidden #conceptSidebar { display:none; }.concept-nav-hidden #app { padding-left:0; }
}
@media(min-width:900px) and (max-width:1160px) {
  body.concept{--side-w:222px} #conceptSidebar{width:222px}.concept #app{padding-left:222px}.cn-brand{padding-inline:16px}.cn-brand>span{font-size:14px}
  .concept .view{padding:24px}.ch-heading-actions .btn{font-size:12px;padding:9px}.ch-task-date{display:none}.ch-field{flex-direction:column}.ch-field>img{width:100%;height:65px}.ch-number{font-size:23px}.ch-metric{padding-inline:13px}
}
@media(max-width:899px) {
  #conceptSidebar { transform:translateX(-100%); width:260px; z-index:101; }
  .concept-drawer #conceptSidebar { transform:none; }
  .concept-drawer .cn-scrim { display:block; position:fixed; inset:0; background:#142b2266; z-index:100; }
  .concept .topbar { padding:0 16px; height:64px; }.cn-top-left{gap:10px}.cn-crumb>span,.cn-crumb>.ic{display:none}.cn-crumb strong{font-size:13px}
  .concept .topbar-actions { gap:6px; }.concept #tourBtn,.concept #profileBtn{display:none}.cn-demo{font-size:10px}
  .concept .view { padding:22px 18px 92px; }.concept #app{max-width:100%;display:block}
  .concept .bottomnav { height:65px; max-width:none; background:#fff; border-top:1px solid var(--line); box-shadow:none; border-radius:0; }
  .concept .nav-item { font-size:10px; }.concept .nav-item.active{color:var(--green)}
  .ch-heading{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:20px}.ch-heading h1{font-size:24px}.ch-heading-actions{width:100%}.ch-heading-actions .btn{flex:1;justify-content:center;font-size:13px}
  .ch-metrics{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.ch-metric{padding:16px}.ch-metric:nth-child(2){border-right:0}.ch-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.ch-number{font-size:26px}
  .ch-attention{padding:12px;gap:8px}.ch-attention>div{display:block}.ch-attention>div span{display:block;font-size:11px;margin-top:4px}.ch-attention>button{font-size:11px}
  .ch-workspace{grid-template-columns:1fr;gap:26px}.ch-task-date{display:none}.ch-finance-row{grid-template-columns:100px minmax(0,1fr)}
  .ch-field-grid{grid-template-columns:1fr}.ch-field>img{width:90px;min-height:104px}.ch-field>div{padding:16px}.ch-field-top strong{font-size:14px}.ch-field p,.ch-field-state{font-size:12px}
  .ch-task-name strong{font-size:13px}.ch-task-name small{font-size:11px}.ch-status{font-size:10px}.ch-subtitle{font-size:12px}
}
.cn-link { font-size:14px; }
.cn-heading { font-size:13px; }
.ch-task-name strong { font-size:14px; }
.ch-task-name small,.ch-task-date,.ch-status,.ch-legend { font-size:11px; }
.ch-metric-label { font-size:13px; }
.ch-metric-sub { font-size:12px; }
.ch-finance-row>span { font-size:13px; }
.ch-bar-pair b,.ch-bar-pair small { font-size:11px; }
.ch-field-top strong { font-size:14px; }
.ch-field p,.ch-field-state { font-size:12px; }
@media(prefers-reduced-motion:reduce){.concept *{animation:none!important;transition:none!important}}

/* Navigation hierarchy and readable secondary text. */
.cw-scope { font-size:13px; line-height:1.65; color:#486452; border-left:3px solid #90b6a0; padding:7px 12px; margin:0 0 22px; background:#edf3ef; overflow-wrap:anywhere; }
.cw-detail>.card { background:transparent; border:0; border-bottom:1px solid var(--line); box-shadow:none; border-radius:0; padding:20px 0; }
.cw-detail-header h1 { font-size:25px; line-height:1.5; }
.cw-detail .meta-box { background:transparent; border:0; border-radius:0; padding:10px 0; }
.cw-detail .meta-grid { gap:20px; }
.cw-detail .detail-tabs { border-radius:0; background:transparent; border-bottom:1px solid #cfdbd3; padding:0; }
.cw-detail .detail-tab { min-height:46px; border-radius:0; font-size:14px; }
.cw-detail .detail-tab.active { box-shadow:inset 0 -2px #168064; background:#edf4ef; }
.concept .cw-finance { background:#fff!important; color:#263f30!important; padding:22px!important; border-block:1px solid #cfdbd3!important; }
.cw-finance [style*="font-size:.7rem"],.cw-finance [style*="font-size:.75rem"] { font-size:14px!important; opacity:1!important; line-height:1.7; }
.concept .trial-work-header { background:transparent; border-radius:0; border:0; border-bottom:1px solid var(--line); padding:12px 0 20px; }
.concept .trial-work-header h1 { font-size:25px; line-height:1.5; }
.concept .trial-work-tabs { border-radius:0; background:#fff; box-shadow:none; }
.concept .trial-work-tabs button { font-size:14px; min-height:46px; }
.cw-task-summary { margin-top:24px; border-top:2px solid #6d9c81; padding-top:18px; }
.concept .task-form>.nested-fields { background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding:18px 0; }
.concept .task-form>.task-photo-panel { background:transparent; border:0; border-radius:0; padding:16px 0; }
.concept .task-form>.option-box { background:transparent; border-radius:0; border:0; padding-left:0; }
.cw-task-summary h4 { font-size:16px; margin-bottom:12px; }
.cw-task-summary dl { display:grid; gap:8px; margin:0 0 14px; }
.cw-task-summary dl>div,.cw-summary-total { display:flex; justify-content:space-between; align-items:baseline; gap:16px; }
.cw-task-summary dt { font-size:13px; color:#526b5b; flex-shrink:0; }
.cw-task-summary dd { margin:0; font-size:14px; text-align:right; overflow-wrap:anywhere; }
.cw-task-summary ul { list-style:none; padding:0; margin:0; }
.cw-task-summary li { display:flex; justify-content:space-between; gap:16px; padding:12px 0; border-top:1px solid var(--line); font-size:14px; }
.cw-task-summary li div { min-width:0; }.cw-task-summary li strong { display:block; overflow-wrap:anywhere; }.cw-task-summary li span { display:block; font-size:13px; color:#546e5d; margin-top:5px; }
.cw-task-summary li>b { flex-shrink:0; }.cw-summary-total { padding-top:12px; font-size:14px; }.cw-summary-total strong { font-size:18px; }
.cw-team-page .team-screen { max-width:none; }.cw-team-page h1 { font-size:25px; }.cw-team-page .team-heading { margin-bottom:22px; }
.cw-team-page .team-list { display:grid; grid-template-columns:1fr; }.cw-team-page .team-counts { border-radius:0; background:white; border-block:1px solid var(--line); }
.cw-team-search { display:flex; flex-direction:column; gap:7px; font-size:13px; margin:16px 0; max-width:540px; }
.cw-team-search input { background:white; border:1px solid #bdcec3; border-radius:6px; min-height:44px; padding:10px 12px; font-size:15px; }
.cw-team-page .team-review-row[hidden],.cw-team-page .team-member[hidden] { display:none; }
.cw-team-page .team-review-row { min-height:82px; border-radius:0; border:0; border-bottom:1px solid var(--line); background:transparent; }
@media(max-width:600px){.cw-detail-header h1,.concept .trial-work-header h1 {font-size:22px}.cw-task-summary li {gap:10px}.cw-detail .meta-grid {grid-template-columns:repeat(2,minmax(0,1fr))}.cw-scope {font-size:12px}.concept .trial-work-tabs button {font-size:13px}.cw-team-page .team-heading {flex-wrap:wrap}}
.concept { --muted:#596b61; }
.cn-scroll { padding-top:4px; }
.cn-link { min-height:44px; font-size:14px; color:#435b4d; }
.cn-group { margin-top:12px; }
.cn-heading { min-height:44px; font-size:14px; }
.cn-section-label { margin:21px 12px 7px; font-size:12px; color:#65766c; font-weight:600; }
.cn-footer-links { display:flex; gap:20px; margin-bottom:16px; }
.cn-footer-links button { display:flex; align-items:center; gap:8px; min-height:36px; font-size:13px; color:#425e4e; }
.cn-footer-links .ic { width:17px; height:17px; }
.cn-account small,.cn-brand small { color:#5d7165; font-size:11px; }
.cn-account strong { font-size:13px; }
.cn-crumb { font-size:14px; }
.ch-heading h1 { font-size:28px; }
.ch-eyebrow { display:none; }
.ch-subtitle,.ch-metric-label,.ch-metric-sub { color:#52695b; font-size:14px; }
.ch-section-head h2 { font-size:18px; }
.ch-section-head p,.ch-section-head>span,.ch-section-head button { font-size:13px; color:#506b5a; }
.ch-tabs button { min-height:44px; font-size:14px; color:#52685b; }
.ch-tabs button span { font-size:12px; }
.ch-task-name strong { font-size:15px; }
.ch-task-name small,.ch-task-date { font-size:13px; color:#586e60; }
.ch-status { font-size:12px; color:#806019; }
.ch-status.late { color:#9a4237; }
.ch-attention { font-size:14px; }
.ch-attention span { color:#79643d; font-size:13px; }
.ch-attention button,.ch-add-task { font-size:14px; min-height:36px; }
.ch-legend,.ch-finance-row small,.ch-bar-pair b,.ch-bar-pair small,.ch-net>span { font-size:12px; color:#536a5b; }
.ch-finance-row { grid-template-columns:125px minmax(0,1fr); padding-block:11px; }
.ch-bar-pair b,.ch-bar-pair small { width:55px; }
.ch-finance-row>span { font-size:14px; }
.ch-field p,.ch-field-state { font-size:13px; color:#536d5c; }
.ch-number small { color:#53695c; }
.concept .muted { color:#596b61; font-size:13px; }
.concept .field input,.concept .field select { min-height:44px; }
.concept .cn-page-title,.cn-page-heading h1 { font-size:25px; line-height:1.4; font-weight:750; margin:0 0 18px; }
.concept .section-title .cn-page-title { margin:0; }
.cn-page-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:24px; }
.cn-page-heading h1 { margin-bottom:5px; }
.cn-page-heading p { color:#596e62; font-size:14px; }
.concept .cn-trials-view>.cn-plot-tabs { display:none; }
.concept .cn-plot-tabs>button:nth-child(3) { display:none; }
.concept .planner-search-fields { grid-template-columns:2fr repeat(4,minmax(0,1fr)); }
.concept .planner-view-tabs { max-width:340px; }
.concept .farm-heading h1,.concept .trial-workspace-heading h1 { font-size:25px; }
.cn-sales-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); background:#fff; border-block:1px solid var(--line); padding:22px; margin-bottom:26px; gap:24px; }
.cn-sales-summary dt { color:#53675c; font-size:14px; }
.cn-sales-summary dd { font-size:28px; font-weight:700; margin:8px 0 0; }
.cn-sales-summary small { font-size:14px; font-weight:400; }
.cn-sales-toolbar { display:flex; gap:16px; justify-content:space-between; align-items:center; margin-bottom:20px; }
.cn-search { display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #bdcec3; border-radius:6px; padding:0 12px; flex:1; max-width:480px; min-width:0; }
.cn-search>.ic { width:18px; height:18px; color:#567261; }
.cn-search input { border:0; background:transparent; min-height:44px; width:100%; min-width:0; font-size:14px; color:#273c30; }
.cn-search:focus-within { outline:2px solid #248266; outline-offset:2px; }
.cn-search input:focus { outline:0; }
.cn-document-actions { display:flex; gap:8px; }
.cn-sales-filter { display:flex; align-items:center; gap:20px; justify-content:space-between; border-bottom:1px solid var(--line); }
.cn-sales-filter .ch-tabs { border:0; }
#cnSalesCount { font-size:13px; color:#52695b; }
.cn-sale-row { display:flex; width:100%; gap:16px; align-items:center; text-align:left; padding:20px 10px; border-bottom:1px solid var(--line); }
.cn-sale-row:hover { background:#fff; }
.cn-sale-row[hidden] { display:none; }
.cn-sale-icon { width:38px; height:38px; display:grid; place-items:center; background:#eaf3ef; color:#287153; border-radius:6px; flex-shrink:0; }
.cn-sale-icon>.ic { width:20px; height:20px; }
.cn-sale-name { flex:1; min-width:0; }
.cn-sale-name strong { font-size:15px; display:block; overflow-wrap:anywhere; }
.cn-sale-name small { font-size:13px; color:#576b60; display:block; margin-top:5px; }
.cn-sale-status { font-size:12px; color:#267453; white-space:nowrap; }
.cn-sale-status.void { color:#8a5353; }
.cn-sale-row>b { min-width:88px; text-align:right; font-size:16px; }
.cn-sale-row>b small { display:block; font-size:12px; font-weight:400; color:#5f7267; }
.cn-sale-row>.ic { width:14px; height:14px; flex-shrink:0; }
.concept :is(button,a,input,select,textarea):focus-visible { outline:2px solid #157655; outline-offset:3px; }
@media(min-width:900px) and (max-height:800px) {
  .cn-brand { min-height:76px; padding-block:16px; }
  .cn-link,.cn-heading { min-height:40px; padding-block:7px; }
  .cn-section-label { margin-top:14px; }
  .cn-footer { padding-block:8px 12px; }.cn-footer-links { margin-bottom:8px; }
}
@media(min-width:900px) and (max-width:1199px) {
  .ch-workspace { grid-template-columns:1fr; }
  .ch-work { padding-bottom:20px; border-bottom:1px solid var(--line); }
  .concept .planner-search-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .concept .planner-search-fields>:first-child { grid-column:1/-1; }
}
@media(max-width:899px) {
  .concept .nav-item { font-size:12px; }
  .ch-metric { padding:15px 12px; }.ch-metric-label,.ch-metric-sub { font-size:13px; }
  .ch-heading h1 { font-size:26px; }.ch-status { white-space:normal; max-width:76px; text-align:center; }
  .ch-task { gap:9px; }.ch-task>.ic { display:none; }.ch-task-name strong { font-size:14px; }
  .ch-task-name small { font-size:12px; }.ch-tabs { gap:16px; }
  .ch-attention { flex-wrap:wrap; }.ch-attention>div { min-width:190px; }.ch-attention button { margin-left:auto; }
  .ch-attention>div span { font-size:12px; }.ch-finance-row { grid-template-columns:110px minmax(0,1fr); }
  .concept .planner-search-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .concept .planner-search-fields>:first-child { grid-column:1/-1; }
  .cn-page-heading { align-items:flex-start; flex-wrap:wrap; }.cn-page-heading h1 { font-size:24px; }
  .cn-sales-summary { padding:18px 12px; gap:16px; }.cn-sales-summary dd { font-size:24px; }.cn-sales-summary dt { font-size:13px; }
  .cn-sales-toolbar { flex-wrap:wrap; }.cn-search { flex-basis:100%; max-width:none; }.cn-document-actions { width:100%; }.cn-document-actions .btn { flex:1; }
  .cn-sales-filter { gap:8px; }.cn-sales-filter .ch-tabs { gap:13px; }.cn-sales-filter .ch-tabs button { font-size:13px; }
  .cn-sale-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:8px 12px; padding:18px 0; }
  .cn-sale-icon,.cn-sale-row>.ic { display:none; }.cn-sale-name { grid-column:1; }.cn-sale-row>b { grid-row:1; grid-column:2; min-width:64px; }
  .cn-sale-status { grid-column:1/-1; }.cn-sale-name strong { font-size:14px; }.cn-sale-name small { font-size:12px; }
}
.task-materials-compact { display: grid; gap: 5px; border-top: 1px solid var(--line); padding-top: 7px; margin-top: 7px; }
.task-material-brief { display: grid; grid-template-columns: minmax(90px, 1fr) auto minmax(0, 1fr); gap: 4px 12px; align-items: baseline; font-size: 13px; line-height: 1.5; }
.task-material-brief strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.task-material-brief > span { overflow-wrap: anywhere; }
.task-material-brief-rate { color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.task-material-more { color: var(--green); font-size: 13px; font-weight: 600; }
.cm-filter-toggle { display:none; }
.cm-filter-fields { display:contents; }
.concept .cn-footer>.cn-account { width:100%; min-height:52px; padding:8px 0; text-align:left; color:var(--text); border-radius:6px; }
.cn-account>span:nth-child(2) { min-width:0; flex:1; }
.cn-account strong,.cn-account small { overflow-wrap:anywhere; }
.cn-avatar .ic { width:20px; height:20px; }
.concept .profile-panel { z-index:110; width:340px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 82px); overflow:auto; border:1px solid var(--line); border-radius:8px; }
.concept .pp-actions .btn,.concept .pp-theme button { min-height:44px; }
@media(max-width:899px) {
  .concept #profileBtn { display:inline-flex; }
  .concept .profile-panel { position:fixed; top:70px; right:12px; }
}
html[data-theme="dark"] body.concept {
  color-scheme:dark; --bg:#141918; --card:#202725; --text:#edf2ef; --muted:#b4c1b9;
  --line:#39453f; --card-border:#39453f; --green:#65d1a8; --green-dark:#86dfba;
  --green-deep:#b1efd3; --green-soft:#243c32; --green-light:#294b3d;
  background:var(--bg); color:var(--text);
}
html[data-theme="dark"] .concept :is(.topbar,#conceptSidebar,.bottomnav,.ch-metrics,.ch-field,.cn-sales-summary,.cn-search,.trial-work-tabs,.planner-calendar-panel,.cw-team-page .team-counts,.modal,.modal .modal-actions,.profile-panel) { background:var(--card); color:var(--text); border-color:var(--line); }
html[data-theme="dark"] .concept :is(.icon-btn,.cn-icon,.btn-outline,.cw-team-search input) { background:var(--card); color:var(--text); border-color:var(--line); }
html[data-theme="dark"] .concept .btn-primary { background:#187354; border-color:#27936f; color:#fff; }
html[data-theme="dark"] .concept :is(.cn-brand>span,.cn-heading,.ch-heading h1,.ch-number,.cn-account strong,.ch-section-head h2,.cn-page-title) { color:var(--text); }
html[data-theme="dark"] .concept :is(.cn-link,.cn-footer-links button,.cn-brand small,.cn-account small,.cn-section-label,.cn-crumb>span,.ch-subtitle,.ch-metric-label,.ch-metric-sub,.ch-task-name small,.ch-task-date,.ch-legend,.ch-finance-row small,.ch-bar-pair b,.ch-bar-pair small,.ch-net>span,.ch-number small,.ch-field p,.ch-field-state,.ch-section-head p,.ch-section-head>span,.cn-page-heading p,.cn-sales-summary dt,.cn-sale-name small,.cn-sale-row>b small,#cnSalesCount,.cw-task-summary dt,.cw-task-summary li span,.muted) { color:var(--muted); }
html[data-theme="dark"] .concept :is(.cn-link.active,.cn-link:hover,.cn-avatar,.cn-sale-icon,.tabs,.ch-tabs button span,.cw-scope,.cw-detail .detail-tab.active) { background:var(--green-soft); color:var(--green-deep); }
html[data-theme="dark"] .concept :is(.ch-tabs button,.ch-add-task,.ch-section-head button,.ch-net strong,.cn-sale-status) { color:var(--green); }
html[data-theme="dark"] .concept :is(.ch-task:hover,.cn-sale-row:hover,.icon-btn:hover,.cn-icon:hover) { background:#2b3731; }
html[data-theme="dark"] .concept :is(.cn-links,.ch-task,.ch-workspace,.ch-field,.cw-team-page .team-review-row,.cn-search) { border-color:var(--line); }
html[data-theme="dark"] .concept :is(.green,.ch-status.done) { color:#9ce4bd; background:#254534; }
html[data-theme="dark"] .concept .blue { color:#a4ccef; background:#283d4b; }
html[data-theme="dark"] .concept :is(.amber,.ch-status,.cn-count,.ch-attention) { color:#efd198; background:#3c3425; border-color:#685538; }
html[data-theme="dark"] .concept .ch-attention span { color:#d2c4a8; }
html[data-theme="dark"] .concept :is(.ch-status.late,.cn-sale-status.void) { color:#f3b2ae; background:#482e2e; }
html[data-theme="dark"] .concept .cw-finance { background:var(--card)!important; color:var(--text)!important; border-color:var(--line)!important; }
html[data-theme="dark"] .concept :is(.cn-search input,.field input,.field select,.field textarea,.modal input,.modal select,.modal textarea) { background:#18211d; color:var(--text); border-color:#526458; }
html[data-theme="dark"] .concept input::placeholder,html[data-theme="dark"] .concept textarea::placeholder { color:#9aaba0; }
html[data-theme="dark"] .concept .cn-demo { background:#24332a; color:#c8d9ce; border-color:var(--line); }
html[data-theme="dark"] .concept .ch-bar-pair progress,html[data-theme="dark"] .concept .ch-bar-pair progress::-webkit-progress-bar { background:#354039; }
html[data-theme="dark"] .concept .planner-filter.active { background:#187354; color:#fff; border-color:#27936f; }
html[data-theme="dark"] .concept .pp-theme button.active { background:#187354; color:#fff; }
html[data-theme="dark"] .concept .planner-view-tabs button.active { background:#187354; color:#fff; box-shadow:none; }
html[data-theme="dark"] .concept :is(.tabs button.active,.quick-filter.active) { background:#187354; color:#fff; box-shadow:none; }
/* Mobile workspace: keep frequent actions visible and secondary filters folded. */
.concept .planner-search-fields { grid-template-columns:minmax(0,1fr) auto; align-items:end; }
.concept .cm-filter-toggle { display:inline-flex; min-height:44px; }
.concept .cm-filter-fields { display:grid; grid-column:1/-1; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.concept .cm-filter-fields.cm-collapsed { display:none; }
.concept .cw-scope summary { cursor:pointer; font-weight:600; }
.concept .cw-scope p { margin:8px 0 0; }
.planner-period { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:16px; font-size:13px; color:var(--muted); }
.planner-period select { min-height:44px; padding:8px 12px; border:1px solid var(--line); border-radius:6px; color:var(--text); background:var(--card); }
.cost-selected-stock { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 12px; padding:12px; border:1px solid var(--line); border-radius:6px; }
.cost-selected-stock strong,.cost-selected-stock>span { grid-column:1; overflow-wrap:anywhere; }
.cost-selected-stock>span { color:var(--muted); font-size:13px; }
.cost-selected-stock button { grid-column:2; grid-row:1/3; }
.stock-pick-item .sp-name small { display:block; font-weight:400; color:var(--muted); }
.cost-selected-stock>div { min-width:0; overflow-wrap:anywhere; }
.cost-selected-stock small { display:block; color:var(--muted); }
.cost-selected-stock button { flex-shrink:0; min-height:44px; }
.cost-category { margin-block:8px; font-size:13px; }
.cost-category summary,.task-extras summary,.plot-weather-details summary,.trial-optional-photos summary { cursor:pointer; padding:12px 0; font-weight:600; }
.cost-price-warning { color:#9b3f1c; background:#fff3e9; padding:10px 12px; border-left:3px solid #d88637; font-size:13px; line-height:1.6; }
.cost-price-warning[hidden],.chart-wrap[hidden] { display:none!important; }
.plot-current-cycles,.plot-recent-work { padding-block:16px; border-bottom:1px solid var(--line); }
.plot-current-cycles h2,.plot-recent-work h2 { margin:0 0 12px; font-size:17px; }
.plot-current-cycles { display:flex; flex-wrap:wrap; gap:8px; }
.plot-current-cycles h2 { flex-basis:100%; }
.concept .cw-detail .detail-tabs { grid-template-columns:repeat(4,minmax(0,1fr)); }
@media(max-width:600px) { .concept .cw-detail .detail-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.plot-current-cycles button { white-space:normal; text-align:left; }
.plot-weather-details,.trial-optional-photos { margin-block:16px; border-block:1px solid var(--line); }
.ch-field-placeholder { width:64px; min-height:64px; flex-shrink:0; display:grid; place-items:center; color:var(--green); background:var(--green-soft); }
.stock-card-compact .stock-meta-secondary,.stock-card-compact .stock-value { display:none; }
.stock-balance { display:flex; flex-wrap:wrap; gap:10px 24px; margin:14px 0; }
.stock-balance>div { min-width:0; }
.stock-balance dt { color:var(--muted); font-size:12px; }
.stock-balance dd { margin:4px 0 0; font-weight:700; font-size:16px; }
.stock-balance dd small { font-size:13px; font-weight:400; }
.stock-duplicate-note { font-size:12px; color:#925119; margin-top:6px; }
html[data-theme="dark"] .stock-duplicate-note { color:#f2cfaa; }
html[data-theme="dark"] .cost-price-warning { background:#392c20; color:#f2cfaa; }
@media (max-width: 899px) {
  .concept-drawer { overflow:hidden; }
  .concept #conceptSidebar { width:min(300px,calc(100% - 48px)); height:100dvh; padding-bottom:env(safe-area-inset-bottom); }
  .concept .cn-icon,.concept .topbar-actions button { min-width:44px; min-height:44px; }
  .concept .bottomnav { height:calc(64px + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); }
  .concept .bottomnav .nav-item { min-height:56px; min-width:0; gap:3px; }
  .concept .view { padding-bottom:calc(88px + env(safe-area-inset-bottom)); }
  .concept .ch-number { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px; font-size:24px; overflow-wrap:anywhere; }
  .concept .ch-field>img { flex:0 0 80px; width:80px; object-fit:cover; }
  .concept .ch-field>div { min-width:0; }
}
@media (max-width: 600px) {
  .concept .view { padding:16px 14px calc(88px + env(safe-area-inset-bottom)); }
  .concept .topbar { padding-inline:12px; }
  .concept .cn-crumb { min-width:0; }.concept .cn-crumb strong { font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.concept .cn-demo { display:none; }
  .concept .ch-heading { gap:12px; margin-bottom:16px; }
  .concept .ch-heading h1,.concept .cn-page-title { font-size:23px; }
  .concept .ch-metric { padding:12px 10px; }
  .concept .cw-scope { margin-bottom:14px; padding:6px 10px; }
  .concept .planner-search-fields { grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:end; }
  .concept .planner-search-fields>:first-child { grid-column:auto; margin:0; }
  .concept .cm-filter-toggle { display:inline-flex; min-height:46px; padding:10px; margin-bottom:0; }
  .concept .cm-filter-fields { grid-column:1/-1; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; padding:10px 0; border-block:1px solid var(--line); }
  .concept .cm-filter-fields.cm-collapsed { display:none; }
  .concept .cm-filter-fields .field { margin:0; }
  .concept .planner-view-tabs { max-width:none; margin-block:12px; }
  .concept #view .planner-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; margin:12px 0; }
  .concept #view .planner-filter { min-height:44px; padding:8px 5px; display:flex; flex-direction:row; justify-content:center; gap:5px; border-radius:6px; font-size:12px; }
  .concept .planner-filter>.ic { display:none; }.concept .planner-filter b { font-size:13px; }
  .concept .planner-list-head { margin-bottom:10px; }
  .concept .task-row { padding:12px; margin-bottom:12px; gap:10px; }
  .concept .task-row .task-title { font-size:14px; line-height:1.6; }
  .concept .task-row-actions .btn { min-height:44px; min-width:44px; }
  .concept .modal-backdrop { align-items:stretch; padding:0; }
  .concept .modal { width:100%; max-width:100%; max-height:100dvh; height:100dvh; border-radius:0; padding:16px 14px calc(14px + env(safe-area-inset-bottom)); }
  .concept .modal h3 { font-size:20px; line-height:1.5; padding-right:42px; }
  .concept .modal-x { min-width:44px; min-height:44px; }
  .concept .modal :is(input:not([type="checkbox"]):not([type="radio"]),select,textarea),.concept .planner-search-fields :is(input,select) { font-size:16px; min-height:46px; }
  .concept .modal .modal-actions { background:#fff; box-shadow:none; gap:8px; }
  .concept .modal .modal-actions .btn { min-height:48px; font-size:14px; border-radius:6px; }
  .concept .task-form .form-row { grid-template-columns:minmax(0,1fr); }
  .concept .cw-task-summary dd { min-width:0; }.concept .cw-task-summary li { flex-wrap:wrap; }
  .concept .trial-work-tabs { overflow-x:auto; flex-wrap:nowrap; }
  .concept .trial-work-tabs button { flex:0 0 auto; padding-inline:13px; }
}
@media (max-width: 600px) {
  .task-material-brief { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; }
  .task-material-brief-rate { grid-column: 1 / -1; }
  .concept .ch-task { display:grid; grid-template-columns:34px minmax(0,1fr) auto; gap:4px 9px; }
  .concept .ch-task .ch-task-date { display:block; grid-column:2; grid-row:2; font-size:12px; }
  .concept .ch-task .ch-status { grid-column:3; grid-row:1/3; }
}

/* Trial entry keeps the date, measure and physical location distinct. */
.task-wizard [hidden],.task-wizard-actions [hidden],.task-wizard-actions[hidden],.task-wizard[hidden] { display:none!important; }
.task-step-nav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:0 0 22px; border-bottom:1px solid var(--line); }
.task-step-nav button { display:flex; align-items:center; gap:8px; min-width:0; min-height:52px; padding:8px 4px; border:0; border-bottom:3px solid transparent; background:none; color:var(--muted); font:inherit; font-size:.85rem; cursor:pointer; }
.task-step-nav button[aria-current="step"] { border-bottom-color:var(--green); color:var(--green); font-weight:700; }
.task-step-nav b { flex-shrink:0; display:grid; place-items:center; width:26px; height:26px; border:1px solid var(--line); border-radius:50%; }
.task-step-nav button[aria-current="step"] b { background:var(--green); color:white; border-color:var(--green); }
.task-type-options { border:0; padding:0; margin:0 0 20px; min-width:0; }
.task-type-options legend { font-weight:700; margin-bottom:10px; }
.task-type-options > div { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.task-type-options button { display:flex; align-items:center; gap:8px; min-width:0; min-height:48px; padding:10px; border:1px solid var(--line); border-radius:6px; background:var(--card); color:var(--text); font:inherit; cursor:pointer; }
.task-type-options button[aria-pressed="true"] { background:var(--green-light); border-color:var(--green); color:var(--green); }
.task-type-options svg { width:20px; height:20px; flex-shrink:0; }
.task-draft-status { font-size:.78rem; color:var(--muted); min-height:20px; margin:16px 0 0; }
.task-wizard-review .cw-task-summary { margin-top:0; border-top:0; padding-top:0; }
.task-wizard-review dl { margin:12px 0; }
.task-wizard-review dl > div { display:flex; justify-content:space-between; gap:12px; margin:8px 0; }
.task-wizard-review dd { margin:0; text-align:right; overflow-wrap:anywhere; }
.task-review-edit { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.modal .modal-actions.task-wizard-actions { display:grid; grid-template-columns:44px minmax(0,1fr) minmax(0,1fr); gap:8px; }
.modal .modal-actions.task-wizard-actions:has(#taskStepBack[hidden]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.modal .task-wizard-actions #taskStepBack { min-width:44px; padding-inline:8px; }
#taskStepBack svg { transform:rotate(180deg); }
.task-stock-preview { margin-top:16px; border-top:1px solid var(--line); padding-top:14px; }
.task-stock-preview h4 { margin:0 0 12px; font-size:.95rem; }
.task-stock-preview > div { padding:8px 0; }
.task-stock-preview p { margin:5px 0 0; font-size:.86rem; color:var(--muted); line-height:1.7; }
.concept .task-form > section > .nested-fields { background:transparent; border:0; border-top:1px solid var(--line); border-radius:0; padding:18px 0; }
.concept .task-form > section > .option-box { background:transparent; border-radius:0; border:0; padding-left:0; }
.task-draft-resume { padding:16px 0; }
.task-draft-resume p { overflow-wrap:anywhere; }
@media(max-width:600px){
  .task-step-nav { gap:4px; }
  .task-step-nav button { flex-direction:column; justify-content:center; font-size:.76rem; gap:5px; }
  .task-type-options > div { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .task-wizard-actions .btn { font-size:.82rem; padding-inline:10px; }
}
.cw-secondary { border:0; border-bottom:1px solid var(--line); padding:10px 0; min-width:0; }
.cw-secondary > summary { cursor:pointer; color:var(--muted); font-size:.85rem; padding:6px 0; }
.cw-secondary[open] > summary { color:var(--green); margin-bottom:8px; }
.cw-secondary .field { margin-bottom:8px; }
.ch-workspace > .ch-fields { margin:0; padding:0; border:0; }
.ch-workspace .ch-field-grid { grid-template-columns:minmax(0,1fr); }
.ch-workspace .ch-field { min-width:0; width:100%; }
.water-command-details { max-width:320px; }
.ch-workspace + .ch-finance { padding:20px 0; border-bottom:1px solid var(--line); }
.cw-compact-counts { display:flex!important; flex-wrap:wrap; gap:8px 20px!important; padding:8px 0!important; }
.cw-compact-counts > div { display:flex; gap:6px; align-items:baseline; padding:0!important; background:none!important; border:0!important; }
.cw-compact-counts b { font-size:1rem!important; }
.trial-data-issues { border-left:3px solid var(--amber,#aa6c10); padding-left:12px; }
.trial-data-issues ul { list-style:none; padding:0; margin:0; }
.trial-data-issues li { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); }
.trial-data-issues li div { min-width:0; }
.trial-data-issues li b,.trial-data-issues li span { display:block; overflow-wrap:anywhere; font-size:.85rem; }
.trial-data-issues li .btn { flex-shrink:0; }
.task-plot-choice { padding:12px 0; border-bottom:1px solid var(--line); }
.task-plot-check { display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; }
.task-plot-check input { width:20px; height:20px; flex-shrink:0; }
.task-plot-check span { min-width:0; overflow-wrap:anywhere; }
.task-plot-check small,.task-plot-allocation small { display:block; color:var(--muted); }
.task-plot-inputs { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:12px; padding:8px 0 0 30px; }
.task-plot-inputs .field { min-width:0; margin:0; }
.task-plot-inputs select,.task-plot-inputs input { width:100%; min-width:0; }
#taskMultiPlotTotal { display:block; padding:12px 0; font-weight:600; }
.task-plot-allocation > div { padding:12px 0; border-bottom:1px solid var(--line); overflow-wrap:anywhere; }
.task-plot-allocation h4 { font-size:1rem; }
.task-plot-allocation ul { margin:8px 0; padding-left:20px; }
.task-plot-allocation li { margin:6px 0; }
@media(max-width:480px){.task-plot-inputs { grid-template-columns:minmax(0,1fr); }}
.stock-package-fields { min-width:0; border:1px solid var(--line); border-radius:6px; padding:12px; margin:12px 0; }
.stock-package-fields legend { font-size:.85rem; }
input.cost-calculated-total { background:var(--green-light); border-color:transparent; font-size:1.15rem; font-weight:700; color:var(--green); cursor:default; }
.trial-filter-bar.cw-trial-filters { grid-template-columns:minmax(160px,220px) minmax(0,1fr) minmax(0,1fr); }
.cw-trial-filters > .cw-secondary[open] { grid-column:1/-1; }
@media(max-width:700px){
  .trial-filter-bar.cw-trial-filters { grid-template-columns:minmax(0,1fr); gap:4px; }
}
@media(max-width:600px){
  .trial-data-issues li { align-items:flex-start; flex-wrap:wrap; }
  .trial-workspace .trial-work-header { padding-bottom:8px; }
  .trial-entry-selection { padding-bottom:12px; }
}
.trial-entry-selection { display:grid; grid-template-columns:190px minmax(0,1fr); gap:20px; padding:12px 0 20px; border-bottom:1px solid var(--line); align-items:start; }
.trial-entry-selection .field { margin:0; min-width:0; }
.trial-metric-picker { display:flex; flex-wrap:wrap; gap:8px; border:0; padding:0; margin:0; min-width:0; }
.trial-metric-picker legend { padding:0; margin-bottom:8px; color:var(--muted); font-size:.82rem; }
.trial-metric-choice { flex:1 1 140px; text-align:left; border:1px solid var(--line); border-radius:6px; background:var(--card); color:var(--text); font:inherit; padding:10px 12px; cursor:pointer; min-width:0; }
.trial-metric-choice b,.trial-metric-choice span { display:block; overflow-wrap:anywhere; }
.trial-metric-choice span { margin-top:4px; color:var(--muted); font-size:.78rem; }
.trial-metric-choice[aria-pressed="true"] { border-color:var(--green); box-shadow:inset 3px 0 var(--green); background:var(--green-light); }
.trial-record-sheet .trial-section-head h2 small { font-size:.88rem; color:var(--muted); font-weight:400; }
.trial-record-sheet .trial-record-group { margin:16px 0; }
.trial-record-sheet .trial-record-group h3 { margin:0; font-size:.9rem; }
.trial-record-line { display:grid; grid-template-columns:minmax(0,1fr) minmax(90px,140px) 44px; gap:12px; align-items:center; padding:12px 0 12px 12px; border-bottom:1px solid var(--line); border-left:3px solid var(--tr-color); }
.trial-record-identity { min-width:0; }
.trial-record-identity b { font-size:.9rem; overflow-wrap:anywhere; }
.trial-record-identity > small { display:block; color:var(--muted); font-size:.78rem; margin-top:4px; }
.trial-record-value { text-align:right; overflow-wrap:anywhere; }
.trial-record-value > small { display:block; color:var(--muted); }
.trial-record-value strong small { font-size:.8rem; font-weight:400; }
.trial-record-line .btn { width:44px; height:44px; }
.trial-history-day { border-bottom:1px solid var(--line); }
.trial-history-day > summary { padding:18px 4px; cursor:pointer; font-size:.9rem; }
.trial-history-day > summary span { display:inline-block; margin-left:16px; font-size:.8rem; color:var(--muted); }
.trial-history-day[open] > summary { color:var(--green); }
.trial-workspace .trial-day-entries .trial-time-row { grid-template-columns:minmax(0,1fr) 44px 44px; }
.trial-workspace .trial-day-entries .trial-time-row > .grow { grid-column:1; grid-row:1; }
.trial-workspace .trial-day-entries .trial-time-row > button { grid-row:1; }
.trial-batch-context { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; padding:12px 0; border-bottom:1px solid var(--line); }
.trial-batch-context output { color:var(--green); font-size:.85rem; }
.trial-batch-form .trial-batch-group { margin:16px 0; }
.trial-batch-form .trial-batch-row { border-left:3px solid var(--tr-color); padding:10px 0 10px 10px; grid-template-columns:minmax(0,1fr) 96px minmax(35px,60px); }
.trial-batch-row > span { overflow-wrap:anywhere; }
.trial-batch-fold [data-sample-progress] { font-size:.8rem; color:var(--green); }
.trial-setup-heading { margin:18px 0 12px; font-size:1rem; padding-bottom:8px; border-bottom:1px solid var(--line); }
.trial-metric-presets { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.trial-setup-form .trial-metric-row .trm-kind { grid-column:1/-1; grid-row:2; padding:0; border-bottom:0; }
.trial-setup-form .trial-metric-remove { grid-column:3; grid-row:1; }
.trial-statistics-disclosure > .trial-work-section { padding-top:0; border:0; }
.concept .trial-work-tabs button { display:flex; flex-direction:row; align-items:center; justify-content:center; gap:6px; }
.concept .trial-work-tabs button .ic { width:16px; height:16px; margin:0; flex-shrink:0; }
@media(max-width:600px) {
  .trial-entry-selection { grid-template-columns:minmax(0,1fr); gap:12px; }
  .trial-metric-choice { flex-basis:120px; }
  .trial-record-line { grid-template-columns:minmax(0,1fr) 80px 44px; gap:8px; padding-left:8px; }
  .trial-history-day > summary span { display:block; margin:5px 0 0 18px; }
  .trial-batch-form .trial-batch-row { grid-template-columns:minmax(0,1fr) 76px minmax(28px,45px); gap:6px; }
  .concept .trial-work-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); overflow:visible; }
  .concept .trial-work-tabs button { padding:10px 6px; }
}
