/* Action views and direct editing share the canvas's project records. */
.sidebar {overflow-y:auto;}
.label-actions {display:flex;justify-content:space-between;align-items:center;}
.label-actions button {font-size:16px;padding:0 4px;}
.board-start{color:#969187;font-size:11px;}
.board-start-empty{grid-column:1/-1;padding:24px;border:1px dashed #e4e1db;border-radius:6px;color:#8b857b;}
.board-start-empty p{margin:0 0 14px;font-size:13px;}
.board-start-empty button{padding:7px 12px;border-radius:4px;background:#f5f4f1;color:#59564f;margin-right:10px;font-size:12px;}
.board-start-empty button:hover{background:#eceae4;}
.board-create-tabs{display:flex;gap:4px;padding:4px;margin:0 0 22px;background:#f5f4f1;border-radius:6px;}
.board-create-tabs button{flex:1;padding:9px 12px;border-radius:4px;color:#817c72;font-size:13px;}
.board-create-tabs button[aria-pressed="true"]{background:#fff;color:#37352f;box-shadow:0 1px 3px #37352f12;}
.board-import-hint{font-size:12px;color:#8b857b;line-height:1.7;margin:0 0 16px;}
.member-options.frame-import-options{max-height:360px;overflow:auto;}
.member-option.frame-import-option{gap:12px;padding:13px 10px;align-items:center;}
.frame-import-option>input[type="checkbox"]{width:14px;height:14px;min-width:14px;flex:0 0 14px;padding:0;margin:0;}
.frame-import-copy{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1;}
.frame-import-copy strong{font-size:13px;font-weight:550;}
.frame-import-copy small{font-size:11px;line-height:1.6;color:#969187;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.frame-import-option>.frame-import-count{flex:none;font-size:11px;color:#969187;white-space:nowrap;}
.nav-symbol {width:15px;text-align:center;}
.nav-color {display:inline-block;width:7px;height:7px;border-radius:2px;flex:none;}
.sidebar-item>span:nth-child(2) {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.workbench-screen .viewport,.workbench-screen .tools,.workbench-screen .zoom-controls,.workbench-screen .canvas-intro,.workbench-screen .mobile-list,.workbench-screen .selection-actions {display:none!important;}
.workbench-view {position:absolute;inset:0;overflow:auto;padding:28px 40px 60px;background:#fff;}
.overview-heading,.section-row,.board-page-head {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;}
.overview-heading h2,.board-page-head h2 {font-size:20px;font-weight:600;line-height:1.5;margin:0;letter-spacing:-.35px;}
.overview-heading p {font-size:12px;color:#858078;margin:5px 0 0;}
.overview-heading>button,.board-actions>button,.section-row>button {padding:6px 10px;border-radius:4px;font-size:12px;white-space:nowrap;}
.overview-heading>button:hover,.board-actions>button:hover {background:#f1f0ed;}
.section-row {margin:28px 0 14px;}
.section-row h2,.section-row h3 {font-size:14px;font-weight:550;margin:0;}
.section-row span {font-size:11px;color:#8c877e;}
.quick-board-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
.quick-board {border:1px solid #e9e7e2;border-top:3px solid var(--board-color);border-radius:5px;padding:16px 18px;min-width:0;}
.quick-board>header {display:flex;justify-content:space-between;gap:5px;align-items:center;}
.quick-board-heading {display:flex;align-items:center;gap:8px;flex:1;min-width:0;}
.board-title {font:inherit;text-align:left;min-width:0;padding:2px 4px;margin-left:-4px;border-radius:4px;cursor:text;line-height:1.55;}
.board-title:hover,.board-title:focus-visible {background:#eeece6;outline:1px solid #d9d5cc;outline-offset:1px;}
.quick-board-heading .board-title {flex:0 1 auto;}
.quick-board-heading .nav-color,.quick-board-heading small {flex:none;}
.quick-board strong {font-size:14px;font-weight:550;}
.quick-board small {font-size:11px;color:#89837a;}
.quick-board>p {font-size:12px;line-height:1.75;color:#8c867e;margin:9px 0 14px;}
.quick-projects {display:flex;flex-direction:column;gap:6px;}
.quick-projects>button {display:flex;gap:9px;text-align:left;align-items:flex-start;font-size:12px;line-height:1.65;padding:5px 0;border-radius:3px;}
.quick-projects>button:hover {background:#f7f6f3;}
.quick-projects .priority {flex:none;font-size:10px;min-width:25px;justify-content:center;}
.quick-projects>button>span:last-child {min-width:0;}
.more-link,.board-empty-add {font-size:12px;color:#8b857b;text-align:left;padding:8px 0 0;}
.overview-projects,.board-project-grid {display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));align-items:start;gap:14px;}
.workbench-view .project-card {position:relative;left:auto!important;top:auto!important;width:100%;min-height:0;cursor:pointer;touch-action:pan-y;}
.workbench-view .project-card:hover {background:#fdfcf9;border-color:#c8c2b8;}
.workbench-view .detail-arrow {opacity:.4;}
.section-kicker {font-size:11px;color:#928b81;}
.board-page-head h2 {display:flex;gap:8px;align-items:center;margin-top:4px;}
.board-actions {display:flex;gap:6px;}
.board-note {margin:0 0 22px;max-width:780px;}
.board-project {border:1px solid #e6e3dc;border-radius:5px;overflow:hidden;}
.board-project .project-card {border:0;border-radius:0;}
.board-project.emphasized {border-left:3px solid var(--board-color);}
.board-project-context {padding:0 14px 10px;}
.board-project-actions {display:flex;justify-content:space-between;gap:8px;font-size:11px;opacity:0;transition:opacity .15s;}
.board-project:hover .board-project-actions,.board-project:focus-within .board-project-actions {opacity:1;}
.board-project-actions button {padding:4px 0;color:#8c8477;}
.board-project-actions [aria-pressed=true] {color:var(--board-color);}
.board-project-context textarea {font-size:12px;min-height:36px;}
.view-empty {padding:40px 20px;text-align:center;border:1px dashed #dfdcd4;border-radius:6px;grid-column:1/-1;}
.view-empty strong {font-size:15px;font-weight:500;}
.view-empty p {font-size:12px;color:#898278;max-width:420px;margin:8px auto 16px;}
.view-empty button {font-size:12px;padding:6px 12px;background:#f2f0eb;border-radius:4px;}
.result-timeline {container-type:inline-size;list-style:none;margin:5px 0 0;padding:0;max-width:920px;}
.result-event {--rail:97px;--dot:26px;position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);column-gap:36px;padding-bottom:22px;}
.result-event::before,.result-event::after {content:"";position:absolute;left:var(--rail);pointer-events:none;}
.result-event:not(:last-child)::before {top:var(--dot);bottom:calc(0px - var(--dot));width:1px;background:#d9d8d1;}
.result-event::after {top:var(--dot);width:9px;height:9px;box-sizing:border-box;border:2px solid #8e958b;background:#fff;border-radius:50%;transform:translate(-4px,-50%);}
.result-stamp {padding-top:7px;text-align:right;font-variant-numeric:tabular-nums;}
.result-stamp time {display:inline-flex;flex-direction:column;font-size:10px;line-height:1.6;}
.result-stamp strong {font-size:14px;font-weight:550;}
.result-undated {display:inline-block;margin-top:8px;color:#87827a;font-size:12px;}
.result-record {min-width:0;padding:16px 20px 13px;border:1px solid #e6e4dd;border-radius:7px;background:#fff;overflow-wrap:anywhere;}
.result-record header,.result-record footer {display:flex;align-items:baseline;gap:10px;flex-wrap:wrap;}
.result-record h3 {margin:0;font-size:15px;font-weight:600;line-height:1.6;}
.result-record h3 button {text-align:left;font:inherit;padding:0;}
.result-record h3 button:hover,.result-record footer button:hover {text-decoration:underline;text-underline-offset:3px;}
.result-record .card-parent-marker {margin:4px 0;}
.result-label {display:block;font-size:11px;color:#817d75;font-weight:550;}
.result-fact,.result-conclusion {display:grid;grid-template-columns:65px minmax(0,1fr);align-items:baseline;gap:10px;margin-top:10px;}
.result-conclusion:has(.is-editing) {align-items:start;}
.result-fact .rich-content {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:13px;line-height:1.65;color:#615e57;}
.result-conclusion .rich-editor-input {font-size:14px;line-height:1.65;}
.result-conclusion .rich-collapsible:not(.is-editing)>.rich-editor-input {min-height:23px;padding:0;}
.result-conclusion .rich-collapsible:not(.is-editing)>.rich-editor-input[data-empty=true]::before {content:attr(data-placeholder);color:#88784d;}
.result-record footer {margin-top:13px;padding-top:8px;border-top:1px solid #eeede8;justify-content:space-between;}
.result-record footer button {font-size:11px;color:#827d75;padding:3px 0;}
@container (max-width:510px) {
  .result-event {--rail:5px;--dot:12px;display:block;padding:0 0 19px 23px;}
  .result-stamp {padding:0 0 7px;text-align:left;}
  .result-stamp time {display:inline-flex;flex-direction:row;align-items:baseline;gap:5px;}
  .result-stamp strong {font-size:12px;}
  .result-undated {margin:0;}
  .result-record {padding:12px 13px 10px;}
  .result-fact,.result-conclusion {display:block;}
  .result-label {margin-bottom:3px;}
}
.member-search {display:flex;gap:12px;align-items:center;font-size:12px;margin-bottom:14px;}
.member-search input {padding:8px;border:1px solid #dedad2;border-radius:4px;flex:1;min-width:0;}
.member-options {max-height:420px;overflow:auto;}
.member-option {display:flex;align-items:flex-start;gap:10px;padding:10px 4px;border-bottom:1px solid #efede8;font-size:12px;cursor:pointer;}
.member-option input {margin-top:4px;accent-color:#857d70;}
.member-option span {flex:1;}
.member-option small {color:#8c857a;}
.color-control {position:relative;display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 20px;width:20px;height:24px;cursor:pointer;overflow:hidden;border-radius:4px;}
.color-control input[type=color] {position:absolute;inset:0;opacity:0;width:100%;max-width:none;height:100%;margin:0;cursor:pointer;}
.color-control>span {width:10px;height:10px;border-radius:3px;border:1px solid #00000014;pointer-events:none;}
.color-control:hover {background:#e7e4dd;}
.filter-token {display:flex;align-items:center;flex:none;border-radius:4px;}
.filter-token .color-control {width:0;flex-basis:0;opacity:0;}
.filter-token:hover .color-control,.filter-token:focus-within .color-control {width:20px;flex-basis:20px;opacity:1;}
.filter-token .filter-tag {padding-right:4px;}
.frame {border-color:color-mix(in srgb,var(--frame-color,#b8afa0) 60%,#fff)!important;background:color-mix(in srgb,var(--frame-color,#b8afa0) 8%,#fff)!important;}
.frame-head .color-control {opacity:0;}
.frame-head:hover .color-control,.frame-head:focus-within .color-control {opacity:1;}
.priority[data-priority=P0] {background:#f8e8e5;color:#a94e44;}
.priority[data-priority=P1] {background:#f5eddc;color:#987431;}
.priority[data-priority=P2] {background:#eaf0f6;color:#557995;}
.priority-editor {border:1px solid transparent;cursor:pointer;padding-right:15px!important;font:inherit;font-size:11px;appearance:auto;max-width:95px;}
.priority-editor:hover,.priority-editor:focus {border-color:#bfb8ab;}
.unset-priority {display:none;}
.project-card:hover .unset-priority,.project-card:focus-within .unset-priority {display:block;color:#9a9287;background:#f4f2ed;}
.detail-panel {width:min(560px,100%);}
.detail-body {padding:0 28px 36px;}
.detail-top>span {font-size:11px;color:#969086;}
.kind-select select {font-size:11px;color:#8c857b;background:none;border:0;max-width:120px;}
.inline-field {display:block;margin:14px 0;}
.inline-field>span {display:block;font-size:11px;color:#989084;margin:0 0 5px 7px;}
.inline-text,.inline-input {display:block;width:100%;font:inherit;font-size:13px;line-height:1.8;color:#4b4740;background:transparent;border:1px solid transparent;border-radius:4px;padding:7px 8px;resize:vertical;min-width:0;transition:background .15s,border-color .15s;}
.inline-text::placeholder,.inline-input::placeholder {color:#aaa298;}
.inline-text:hover,.inline-input:hover {border-color:#e5e1d9;background:#faf9f6;}
.inline-text:focus,.inline-input:focus {outline:none;border-color:#b3c1c9;background:#fff;box-shadow:0 0 0 2px #b3c1c91a;}
.inline-text[aria-invalid=true] {border-color:#c66b5a;}
.inline-title {margin:7px -8px 10px;}
.inline-title textarea {font-size:24px;font-weight:600;line-height:1.45;letter-spacing:-.5px;resize:none;}
.detail-edit-properties {display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-bottom:12px;}
.detail-edit-properties>label {display:flex;align-items:center;gap:7px;font-size:11px;}
.detail-edit-properties>label>span {color:#928a80;}
.detail-edit-properties select {font-size:12px;border:1px solid transparent;background:#f8f7f3;color:#645c50;padding:4px 6px;border-radius:3px;}
.detail-edit-properties select:hover {border-color:#d1cabc;}
.detail-tags {margin-bottom:12px;}
.detail-tags .color-control {height:17px;flex-basis:15px;width:15px;opacity:0;}
.detail-tags .card-tag:hover .color-control,.detail-tags .card-tag:focus-within .color-control {opacity:1;}
.detail-tags .color-control span {width:7px;height:7px;}
.board-membership {margin:8px 0 20px;padding:8px 0;border-bottom:1px solid #efede8;}
.board-membership summary {font-size:11px;color:#82796d;cursor:pointer;}
.board-membership summary>span {margin-left:8px;color:#a19789;}
.board-membership>div {padding:10px 5px;display:flex;flex-wrap:wrap;gap:12px;}
.board-membership label {display:flex;align-items:center;gap:6px;font-size:12px;}
.inline-plan {position:relative;background:#faf9f6;border:1px solid #eeebe4;border-radius:5px;padding:8px 12px 12px;margin:10px 0;}
.inline-plan .inline-field {margin:6px 0;}
.inline-plan .inline-field:first-child {margin-right:22px;}
.inline-plan textarea {resize:vertical;}
.row-delete {position:absolute;right:9px;top:13px;font-size:18px;opacity:0;color:#9e9486;}
.inline-plan:hover .row-delete,.inline-plan:focus-within .row-delete {opacity:1;}
.plan-options {display:flex;flex-wrap:wrap;gap:15px;margin:10px 0;color:#8f8578;font-size:11px;}
.plan-options label {display:flex;align-items:center;gap:5px;}
.inline-add-plan {color:#8d8477;font-size:12px;padding:9px 7px;border-radius:4px;}
.inline-add-plan:hover {background:#f3f0e9;}
.result-editor {border-top:1px solid #e7e3da;margin-top:20px;padding-top:17px;}
.result-editor>summary {font-size:13px;font-weight:500;cursor:pointer;}
.direction-result {border-left:2px solid #d4dfd7;padding:9px 12px;margin:9px 0;}
.direction-result>button {font-size:13px;display:block;text-align:left;padding:3px 0;}
.direction-result p {margin:5px 0;}
.direction-result small {display:block;color:#8e8578;font-size:11px;}
.outcome-chip {font-size:10px;color:#6c8676;background:#edf3ee;padding:2px 5px;border-radius:3px;}
.outcome-chip.stopped {color:#9a826a;background:#f5efe7;}
.relation-row .inline-field {margin-bottom:0;}
.relation-row .inline-text {font-size:12px;}
.detail-section:has(.material-row) {margin-top:18px;}
@media(max-width:1000px){.workbench-view{padding:24px 24px 50px;}.quick-board-grid{gap:12px;}.quick-board{padding:14px;}}
@media(max-width:760px){
  .workbench-view{padding:20px 16px 40px;}.quick-board-grid{grid-template-columns:1fr;}
  .overview-heading h2,.board-page-head h2{font-size:18px;}.overview-heading{align-items:flex-start;gap:10px;}
  .overview-heading p{font-size:11px;}.overview-heading>button{font-size:11px;padding:5px;}
  .overview-projects,.board-project-grid{grid-template-columns:1fr;}
  .board-project-actions,.frame-head .color-control,.detail-tags .color-control,.row-delete{opacity:1;}
  .detail-body{padding:0 18px 32px;}.inline-title textarea{font-size:22px;}
  .detail-edit-properties{gap:12px;}.priority-editor{font-size:11px;}
  .unset-priority{display:block;}.board-page-head{gap:8px;}.board-actions>button{padding:5px;font-size:11px;}
  #reviewIssues {font-size:10px;padding:4px;}.app-header{gap:7px;}
  .breadcrumb {display:none;}.tag-list{gap:3px;}
}

.review-row {border:1px solid #e9e4dc;padding:12px;border-radius:4px;margin:10px 0;font-size:12px;}
.review-row>button {display:block;text-align:left;padding:5px 0;color:#647989;}
.review-row p {color:#8a8073;line-height:1.7;margin:5px 0;}
@media(max-width:760px){
  .database-toolbar{display:grid;grid-template-columns:1fr auto;gap:7px 12px;height:auto;flex-basis:auto;padding:0 0 8px;}
  .view-tabs{grid-column:1;grid-row:1;min-height:34px;gap:18px;}
  .view-tabs button{white-space:nowrap;flex:none;}
  .database-toolbar .new-project{grid-column:2;grid-row:1;}
  .database-toolbar .search-wrap{grid-column:1/-1;grid-row:2;width:100%;max-width:none;}
}
@media(max-width:760px){
  .detail-panel{position:fixed;inset:0;width:100%;height:100dvh;z-index:110;}
}

.detail-top .detail-save-status{margin-left:auto;width:auto;height:auto;padding:4px 6px;font-size:10px;color:#a19a90;white-space:nowrap;}
.detail-top .detail-save-status.unsaved{color:#a94e44;background:#fff1e9;}

@media(min-width:761px){
  .filterbar{height:auto;flex-basis:auto;align-items:flex-start;min-height:48px;padding-top:9px;padding-bottom:9px;}
  .tag-list{flex-wrap:wrap;overflow:visible;gap:3px 5px;max-height:112px;overflow-y:auto;}
  .filter-title{flex:none;font-size:11px;line-height:1.5;}
  .filter-controls{padding-top:1px;}
}

/* Project details stay alongside the selected record on desktop. */
.project-card.is-active-project,
.project-card.is-active-project:hover,
[data-project-highlight].is-active-project {
  outline:2px solid #748b9b;outline-offset:-2px;
  background:#f0f5f8;opacity:1!important;
  box-shadow:0 2px 12px #536e8212;
}
.board-project:has(.is-active-project){border-color:#748b9b;}
.quick-projects>[data-project-highlight].is-active-project {padding-left:6px;padding-right:6px;}
.project-card.is-active-project .detail-arrow {opacity:1;color:#55788f;}
.related-card .shared-result {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.detail-edit-properties .free-status {flex:1;min-width:180px;}
.free-status>span {white-space:nowrap;}
.free-status .inline-input {font-size:12px;padding:4px 6px;min-width:100px;}
.project-lifecycle {font-size:11px;padding:5px 7px;border:1px solid #e8e5df;border-radius:4px;color:#837b6f;white-space:nowrap;}
.project-lifecycle:hover,.project-lifecycle:focus-visible {background:#f4f2ee;color:#4e5e67;}
.problem-statement {padding-top:5px;}
.problem-statement>.inline-field {margin:10px 0 18px;}
.problem-statement>.inline-field>span {font-size:13px;font-weight:550;color:#534f47;}
.problem-statement textarea {min-height:120px;line-height:1.95;}
textarea[data-autogrow] {resize:none;overflow-y:hidden;}
.result-editor>h3 {font-size:13px;font-weight:550;margin:0 7px 12px;}
.outcome-chip.ended {color:#777d91;background:#f0f0f6;}
.custom-section {position:relative;margin:22px 0 0;padding-top:14px;border-top:1px solid #efede8;}
.custom-section-head {display:flex;gap:10px;align-items:center;}
.custom-section-head .inline-input {font-size:13px;font-weight:550;flex:1;}
.custom-section-head .row-delete {position:static;flex:none;padding:3px 6px;}
.custom-section:hover .row-delete,.custom-section:focus-within .row-delete {opacity:1;}
.custom-section .inline-field {margin:2px 0 10px;}
.custom-section .inline-field>span,.comment-entry .inline-field>span {display:none;}
.add-section {font-size:12px;color:#9b9285;padding:7px 9px;border-radius:4px;margin:0 0 16px;}
.add-section:hover,.add-section:focus-visible {color:#69635b;background:#f5f3ee;}
.comment-pool {border-top:1px solid #eae7e1;padding-top:18px;margin:8px 0 24px;}
.comment-pool .section-row {margin:0 7px 12px;}
.comment-pool h3 {font-size:13px;color:#575149;}
:is(#commentForm,.comment-composer) {background:#faf9f6;border:1px solid #eeeae3;border-radius:6px;padding:5px;}
:is(#commentForm,.comment-composer):focus-within {border-color:#b6c4cd;background:#fff;}
.comment-draft {font-size:12px;background:transparent;min-height:74px;}
.comment-draft:hover,.comment-draft:focus {border-color:transparent;box-shadow:none;}
.comment-compose-actions {display:flex;gap:10px;justify-content:space-between;align-items:center;padding:3px 6px 6px;}
.comment-compose-actions input {font:inherit;font-size:11px;padding:4px 0;background:transparent;border:0;min-width:0;max-width:65%;outline:none;}
.comment-compose-actions input::placeholder {color:#aaa298;}
.comment-compose-actions input:focus {box-shadow:0 1px 0 #b6c4cd;}
.comment-compose-actions button {font-size:11px;padding:5px 10px;border-radius:4px;background:#6d7e89;border-color:#6d7e89;}
.comment-entry {padding:14px 0 7px;border-bottom:1px solid #efede8;}
.comment-entry header {display:flex;align-items:center;gap:10px;padding:0 8px;font-size:11px;}
.comment-entry header>span {font-weight:500;color:#6f675d;}
.comment-entry time {font-size:10px;color:#aaa096;}
.comment-entry header>button {margin-left:auto;color:#a19486;font-size:16px;opacity:0;}
.comment-entry:hover header>button,.comment-entry:focus-within header>button {opacity:1;}
.comment-entry .inline-field {margin:3px 0 0;}
.comment-entry .inline-text {font-size:12px;line-height:1.85;min-height:60px;}
.detail-menu-content {top:100%;}
@media(min-width:1101px){
  .project-detail-open .workbench-view,.project-detail-open.list-view .mobile-list {right:560px;padding-left:22px;padding-right:22px;}
  .project-detail-open .quick-board-grid,.project-detail-open .overview-projects,.project-detail-open .board-project-grid,.project-detail-open .outcome-grid {grid-template-columns:minmax(0,1fr);}
  .project-detail-open.list-view .mobile-list {grid-template-columns:minmax(0,1fr);}
  .project-detail-open .board-page-head,.project-detail-open .overview-heading {align-items:flex-start;flex-wrap:wrap;gap:10px;}
  .project-detail-open .gather-panel {left:calc((100% - 560px)/2);max-width:calc(100% - 588px);}
}
@media(min-width:761px) and (max-width:1100px){
  .project-detail-open .detail-panel{width:52%;}
  .project-detail-open .workbench-view,.project-detail-open.list-view .mobile-list{right:52%;padding-left:16px;padding-right:16px;}
  .project-detail-open .quick-board-grid,.project-detail-open .overview-projects,.project-detail-open .board-project-grid,.project-detail-open .outcome-grid,.project-detail-open.list-view .mobile-list{grid-template-columns:minmax(0,1fr);}
  .project-detail-open .board-page-head,.project-detail-open .overview-heading{align-items:flex-start;flex-wrap:wrap;gap:8px;}
  .project-detail-open .gather-panel{left:24%;max-width:calc(48% - 24px);}
}
@media(max-width:760px){
  .comment-entry header>button,.custom-section .row-delete{opacity:1;}
  .detail-edit-properties .free-status{min-width:165px;}
  .project-lifecycle{margin-left:auto;}
}
@media(prefers-reduced-motion:reduce){.detail-panel,.gather-panel .project-card{animation:none;}}

/* Menus can reveal on hover without native closed-details clipping. */
.detail-menu>.menu-trigger{font:inherit;color:inherit;}
.detail-menu>.detail-menu-content{display:none;}
.detail-menu[open]>.detail-menu-content,.detail-menu:focus-within>.detail-menu-content{display:block;}
@media(hover:hover){.detail-menu:hover>.detail-menu-content{display:block;}}

.detail-top .detail-comment-shortcut {font-size:10px;width:auto;height:auto;padding:4px 7px;margin-left:auto;color:#7d8c96;border-radius:4px;white-space:nowrap;}
.detail-top .detail-comment-shortcut:hover {background:#f0f4f6;color:#526f82;}
.detail-top .detail-save-status {margin-left:6px;}
body.list-view .mobile-list {grid-auto-rows:max-content;}
.problem-statement textarea {min-height:88px;}

.problem-statement textarea {min-height:72px;}
.problem-statement>.inline-field {margin-bottom:12px;}
.project-title-editor {position:relative;}
.project-title-editor .inline-title {margin-right:0;}
.project-title-editor>button {position:absolute;right:3px;top:-9px;font-size:11px;color:#8d857a;padding:4px 6px;border-radius:4px;opacity:0;transition:opacity .15s,background .15s;}
.project-title-editor:hover>button,.project-title-editor:focus-within>button {opacity:1;}
.project-title-editor>button:hover {background:#f0eee8;color:#59534a;}
.project-content-section {margin:18px 0 0;padding-top:14px;border-top:1px solid #eeebe5;}
.project-content-section:first-of-type {margin-top:0;padding-top:5px;border-top:0;}
.project-section-head {display:flex;align-items:center;gap:5px;min-height:32px;margin:0 -7px 5px;}
.project-section-head>.section-title-input {flex:1;width:0;min-width:80px;padding:4px 6px;font-size:13px;font-weight:550;line-height:1.6;color:#575149;}
.project-section-head>.text-action {flex:none;font-size:11px;padding:5px 6px;}
.section-tools {display:flex;flex:none;gap:1px;opacity:0;transition:opacity .15s;}
.project-content-section:hover>.project-section-head>.section-tools,.project-content-section:focus-within>.project-section-head>.section-tools {opacity:1;}
.section-tools>button {min-width:25px;height:27px;border-radius:4px;color:#91887c;font-size:14px;}
.section-tools>button:hover {background:#edeae3;color:#4e4840;}
.section-tools>button:focus-visible,.project-title-editor>button:focus-visible {outline:2px solid #a1b5c2;outline-offset:1px;}
.section-tools>button:disabled {opacity:.22;cursor:default;background:transparent;}
.project-content-section.problem-statement>.inline-field {margin-top:0;}
.project-content-section.problem-statement>.inline-field>span {display:none;}
.project-content-section.custom-section {padding-top:14px;}
.project-content-section.comment-pool {margin-top:18px;}
.detail-section-additions {display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0;}
.detail-section-additions .add-section {margin:0;}
.detail-section-additions .menu-trigger {font-size:12px;color:#8d8477;padding:8px 5px;}
.hidden-section-menu {display:flex;flex-direction:column;padding-top:5px;border-top:1px solid #eeebe6;}
.hidden-section-menu>span {padding:5px 9px 3px;color:#a0978c;font-size:10px;}
.hidden-section-menu>button {text-align:left;white-space:normal;}
.toast-undo {margin-left:16px;color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;}
@media(max-width:760px),(hover:none){
  .section-tools,.project-title-editor>button {opacity:1;}
  .section-tools>button {min-width:29px;height:32px;}
  .project-section-head {gap:1px;flex-wrap:wrap;}
  .project-section-head>.text-action {margin-left:auto;}
}
.add-section {margin-bottom:4px;}
.comment-pool {padding-top:12px;margin-top:0;}
.comment-draft {min-height:56px;}

/* Board management stays beside each board title. */
.quick-board-actions{display:flex;align-items:center;gap:3px;flex:none;opacity:.65;transition:opacity .12s}
.quick-board:hover .quick-board-actions,.quick-board:focus-within .quick-board-actions{opacity:1}
.quick-board-actions button{font-size:11px;color:#827b70;padding:5px 6px;border-radius:4px;white-space:nowrap}
.quick-board-actions button:hover{background:#eeece6;color:#37352f}
.quick-board-actions [data-delete-board]:hover,.board-actions [data-delete-board]:hover{color:#a34c43;background:#fbf1ed}
.quick-board [data-board-title] strong{overflow-wrap:anywhere}
.board-name-input{min-width:0;flex:1;width:100%;font:inherit;font-size:14px;font-weight:550;line-height:1.55;padding:3px 5px;border:1px solid #9db3c2;border-radius:4px;background:#fff;color:#37352f;outline:none}
.board-page-head .board-name-input{font-size:20px;width:min(440px,100%)}
@media(max-width:1000px){.quick-board>header{flex-wrap:wrap}.quick-board-heading{flex:1;min-width:110px}.quick-board-actions{margin-left:auto}.board-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:760px),(hover:none){.quick-board-actions{opacity:1}.quick-board-actions button{min-height:36px}.board-name-input{font-size:16px}.board-page-head{flex-wrap:wrap}.board-page-head h2{max-width:100%}.board-page-head>div{min-width:0}}

.board-page-head [data-board-title]{overflow-wrap:anywhere}
