.dsa-basecamp{--bc-ink:#1e3657;--bc-line:#d8e5f1;--bc-blue:#235082;max-width:1200px;margin:0 auto;background:#fff;border:1px solid var(--bc-line);border-radius:22px;padding:clamp(18px,3vw,38px);min-height:550px;color:var(--bc-ink)}
.dsa-basecamp *{box-sizing:border-box}.dsa-basecamp button{cursor:pointer;font:inherit}.bc-eyebrow{letter-spacing:2px;text-transform:uppercase;font-size:12px;color:#6b89a9;font-weight:800}.bc-hero h1,.bc-detail h1{font-size:clamp(30px,4vw,52px);margin:10px 0;color:#1b3152}.bc-hero p{color:#607a96}.bc-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:20px 0 24px}.bc-toolbar input[type=text],.bc-toolbar input:not([type]){min-width:220px}.dsa-basecamp button:not(.bc-todo-name),.dsa-basecamp input:not([type=checkbox]),.dsa-basecamp textarea,.dsa-basecamp select{border:1px solid #c7d8eb;border-radius:9px;padding:10px 14px;background:#fff;color:#193350}.dsa-basecamp .bc-primary{background:#235082!important;color:#fff!important;border-color:#235082!important;font-weight:750}.bc-toolbar .sel{background:#e5f1ff!important}.bc-toolbar label{display:flex;align-items:center;gap:8px}.bc-todo{display:flex;align-items:center;gap:9px;padding:12px 5px;border-bottom:1px solid #e4edf5;flex-wrap:wrap}.bc-todo input,.bc-sub input{width:19px;height:19px;accent-color:#23875d}.bc-todo-name{border:0;background:none;text-align:left;font-size:16px;font-weight:650;color:#213a56;flex:1;min-width:190px}.bc-todo.complete .bc-todo-name{text-decoration:line-through;color:#8aa0af}.bc-person,.bc-date,.bc-state{border-radius:15px;background:#edf4f9;color:#55708a;font-size:12px;padding:5px 9px;white-space:nowrap}.bc-state.overdue,.bc-state.blocked{background:#fff0e9;color:#a74c24}.bc-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}.bc-task-card{display:flex;flex-direction:column;text-align:left;min-height:145px;gap:12px}.bc-completed{margin-top:22px;color:#778ea2;font-weight:700}.bc-back{margin:0 0 16px}.bc-detail-meta{display:flex;gap:15px;flex-wrap:wrap;align-items:center;border-bottom:1px solid var(--bc-line);padding:15px 0}.bc-detail-meta label{display:flex;gap:7px;align-items:center}.bc-properties{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:26px 0}.bc-properties>div{display:flex;gap:10px;flex-wrap:wrap}.bc-properties b{min-width:95px}.bc-properties span{color:#526d89}.bc-wide{grid-column:1/-1}.bc-edit,.bc-subtasks,.bc-comments{border-top:1px solid var(--bc-line);padding:20px 0}.bc-edit summary{cursor:pointer;font-weight:800}.bc-edit form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.bc-edit form label{display:flex;flex-direction:column;gap:5px;font-weight:650}.bc-edit textarea,.bc-comments textarea{width:100%;min-height:100px}.bc-edit small{display:block;margin-top:10px;color:#7c8b98}.bc-sub{display:flex;gap:10px;align-items:center;padding:9px 0}.bc-sub .done{text-decoration:line-through;color:#7f92a4}.bc-subtasks form{display:flex;gap:8px;flex-wrap:wrap}.bc-subtasks input{flex:1}.bc-comment{border-radius:12px;padding:13px;background:#f5f8fd;margin:10px 0}.bc-comment small{display:block;color:#8092a3}.bc-comments form{display:grid;gap:10px}.bc-empty{padding:30px;color:#8294a6;text-align:center}.bc-error{padding:12px;background:#fff0eb;color:#9b3e26}@media(max-width:720px){.bc-properties,.bc-edit form{grid-template-columns:1fr}.bc-todo{align-items:flex-start}.bc-todo-name{flex-basis:75%}.bc-toolbar>*{flex:0 1 auto}}

/* Basecamp-inspired full task creation flow */
.bc-new-task{max-width:950px;margin:0 auto;padding:10px 3px 36px}.bc-create-top{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.bc-new-label{font-size:12px;font-weight:800;letter-spacing:1.6px;color:#58799b}.bc-new-task h1{font-size:clamp(30px,4vw,48px);margin:12px 0 6px;color:#1d3555}.bc-new-help{color:#627e99;margin-bottom:25px}.bc-create-form{display:grid;gap:23px;background:#fff;border:1px solid #d8e5f1;border-radius:18px;padding:clamp(17px,3vw,35px)}.bc-create-form label{display:flex;flex-direction:column;gap:8px;min-width:0}.bc-create-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 22px}.bc-create-form .bc-field-label{font-weight:750;color:#263d5c}.bc-create-form .bc-field-label b{color:#b33d36}.bc-create-form input,.bc-create-form textarea,.bc-create-form select{width:100%;font-size:15px;min-height:43px}.bc-create-form textarea{resize:vertical;line-height:1.5}.bc-create-form small{font-size:12px;color:#637f9a;line-height:1.4}.bc-create-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #e4edf5;padding-top:21px}.bc-create-actions button{min-width:130px}.bc-save-hint{font-size:12px;color:#738ca4}.bc-create-error{color:#9c3a2c;background:#fff0eb;padding:12px;border:1px solid #efcfc5;border-radius:8px}.bc-create-error[hidden]{display:none}@media(max-width:650px){.bc-create-grid{grid-template-columns:1fr}.bc-new-label{display:none}}

.bc-staff-notify{border:1px solid #d4e3f0;border-radius:12px;padding:10px 12px;min-width:0}.bc-staff-notify legend{font-size:12px;font-weight:700;color:#4a6988;padding:0 5px}.bc-staff-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:5px;max-height:180px;overflow:auto}.bc-staff-option{display:flex!important;flex-direction:row!important;gap:8px!important;align-items:center;padding:6px 8px;border-radius:8px;background:#f2f7fc;font-size:13px}.bc-staff-option input{width:17px!important;min-height:17px!important;flex-shrink:0}.bc-staff-option span{overflow-wrap:anywhere}.bc-create-grid fieldset{grid-column:1/-1}

/* Compact, Basecamp-inspired new task form; existing task storage unchanged. */
.dsa-basecamp .bc-compact-new{max-width:880px;margin:0 auto;padding:12px 12px 35px}
.dsa-basecamp .bc-compact-new h1{font-size:clamp(32px,4vw,52px);margin:10px 0 21px}
.dsa-basecamp .bc-quick-form{display:block;max-width:860px;padding:26px 30px;background:#fff;border:1px solid #d9e5f1;border-radius:18px}
.dsa-basecamp .bc-quick-form .bc-quick-title input{font-size:22px;font-weight:650;min-height:58px;border-radius:10px;margin:0 0 15px}
.dsa-basecamp .bc-quick-row,.dsa-basecamp .bc-quick-section>summary{display:grid;grid-template-columns:155px minmax(0,1fr);align-items:center;gap:12px;padding:13px 2px;border-bottom:1px solid #e5edf4}
.dsa-basecamp .bc-quick-row .bc-quick-label,.dsa-basecamp .bc-quick-section .bc-quick-label{font-size:15px;font-weight:750;color:#263e5e}
.dsa-basecamp .bc-quick-row .bc-quick-field input,.dsa-basecamp .bc-quick-row .bc-quick-field select{max-width:410px;min-height:40px}
.dsa-basecamp .bc-quick-row small{display:block;color:#7087a0;font-size:11px;margin-top:2px}
.dsa-basecamp .bc-quick-section>summary{cursor:pointer;list-style:none;position:relative}
.dsa-basecamp .bc-quick-section>summary::-webkit-details-marker{display:none}
.dsa-basecamp .bc-quick-section>summary:after{content:'+';position:absolute;right:8px;top:12px;font-weight:700;color:#557ba1;font-size:19px}
.dsa-basecamp .bc-quick-section[open]>summary:after{content:'−'}
.dsa-basecamp .bc-quick-placeholder{color:#7890a5;font-size:15px;padding-right:25px}
.dsa-basecamp .bc-quick-expanded{padding:13px 4px 17px 167px;border-bottom:1px solid #e5edf4}
.dsa-basecamp .bc-quick-expanded textarea{width:100%;min-height:90px;resize:vertical}
.dsa-basecamp .bc-quick-expanded .bc-staff-notify{width:100%;max-width:620px}
.dsa-basecamp .bc-quick-advanced{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dsa-basecamp .bc-quick-advanced label{font-weight:600;font-size:13px}
.dsa-basecamp .bc-quick-advanced small{grid-column:1/-1}
.dsa-basecamp .bc-quick-form .bc-create-actions{border:0;margin-top:23px;padding-top:0}
.dsa-basecamp .bc-visually-hidden{position:absolute;clip:rect(0 0 0 0);width:1px;height:1px;overflow:hidden}
@media(max-width:650px){.dsa-basecamp .bc-quick-form{padding:18px}.dsa-basecamp .bc-quick-row,.dsa-basecamp .bc-quick-section>summary{grid-template-columns:110px minmax(0,1fr);gap:7px}.dsa-basecamp .bc-quick-expanded{padding-left:6px}.dsa-basecamp .bc-quick-advanced{grid-template-columns:1fr}.dsa-basecamp .bc-quick-advanced small{grid-column:1}}


/* Diamond Star polished task detail — scoped to avoid changing other modules */
.dsa-basecamp .bc-detail{max-width:1040px;margin:0 auto;padding:0 0 38px;--bc-ink:#1d3455}
.dsa-basecamp .bc-detail .bc-back{border:1px solid #d5e3f1;background:#f7faff;color:#31547d;font-weight:750;border-radius:999px;padding:10px 18px;margin-bottom:24px}
.dsa-basecamp .bc-detail .bc-eyebrow{display:inline-flex;letter-spacing:1.4px;color:#3872a8;background:#edf5ff;border-radius:999px;padding:8px 13px;font-size:11px;margin:0 0 8px}
.dsa-basecamp .bc-detail h1{font-size:clamp(30px,3.5vw,46px);line-height:1.14;letter-spacing:-1.2px;margin:6px 0 22px;overflow-wrap:anywhere}
.dsa-basecamp .bc-detail-meta{border:1px solid #d9e8f4;border-radius:16px;background:linear-gradient(110deg,#f5f9ff,#fff);padding:16px 18px;margin-bottom:18px;gap:12px}
.dsa-basecamp .bc-detail-meta label{background:#fff;border:1px solid #caddeb;border-radius:10px;padding:10px 13px;font-weight:750;color:#234973}
.dsa-basecamp .bc-detail-meta input[type=checkbox]{width:19px;height:19px;accent-color:#188263}
.dsa-basecamp .bc-detail-meta span{font-size:13px;color:#5e7892;background:white;padding:10px 12px;border-radius:10px}
.dsa-basecamp .bc-detail-meta span b{color:#223e60}
.dsa-basecamp .bc-properties{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;background:#fff;padding:0;margin-bottom:18px}
.dsa-basecamp .bc-properties>div{display:flex;flex-direction:column;gap:6px;background:#f7faff;border:1px solid #e0eaf5;border-radius:14px;padding:17px 20px;min-width:0}
.dsa-basecamp .bc-properties>div.bc-wide{background:#f3f7fc}
.dsa-basecamp .bc-properties b{min-width:0;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:#577596}
.dsa-basecamp .bc-properties span{font-size:15px;line-height:1.55;color:#233d5c;overflow-wrap:anywhere;white-space:pre-wrap}
.dsa-basecamp .bc-edit{padding:0;border:1px solid #dbe8f4;border-radius:14px;overflow:hidden;margin-bottom:18px}
.dsa-basecamp .bc-edit summary{padding:17px 20px;background:#f4f8fd;color:#24527f;font-weight:750;list-style:none}
.dsa-basecamp .bc-edit summary:before{content:'✎';margin-right:11px;color:#db852f}
.dsa-basecamp .bc-edit[open] form{padding:18px 20px;margin:0}
.dsa-basecamp .bc-edit[open] small{padding:0 20px 18px}
.dsa-basecamp .bc-subtasks,.dsa-basecamp .bc-comments{border:1px solid #dce8f3;background:#fff;border-radius:17px;padding:22px 24px;margin:16px 0}
.dsa-basecamp .bc-subtasks h3,.dsa-basecamp .bc-comments h3{margin:0 0 16px;font-size:19px;color:#203d60}
.dsa-basecamp .bc-subtasks>p,.dsa-basecamp .bc-comments>p{color:#8193a5;background:#f7fafd;border:1px dashed #dae5ef;border-radius:10px;padding:14px 16px}
.dsa-basecamp .bc-sub{border-bottom:1px solid #edf2f7;padding:11px 6px}
.dsa-basecamp .bc-subtasks form{margin-top:16px;display:flex;gap:9px}
.dsa-basecamp .bc-subtasks form button{font-weight:750;background:#eef5fc;color:#285480}
.dsa-basecamp .bc-comments textarea{min-height:100px;resize:vertical}
.dsa-basecamp .bc-comments form .bc-primary{justify-self:start;min-width:155px}
.dsa-basecamp .bc-comment{border:1px solid #e0eaf3;border-radius:13px;padding:16px;background:#f7faff}
.dsa-basecamp .bc-comment b{color:#264e76}
.dsa-basecamp .bc-comment p{margin:10px 0 0;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:720px){.dsa-basecamp .bc-detail{padding:0 0 22px}.dsa-basecamp .bc-properties{grid-template-columns:1fr}.dsa-basecamp .bc-properties>div{padding:14px}.dsa-basecamp .bc-detail-meta{padding:12px}.dsa-basecamp .bc-subtasks,.dsa-basecamp .bc-comments{padding:16px}.dsa-basecamp .bc-subtasks form{flex-direction:column}}

/* Subtask planning fields */
.dsa-basecamp .bc-sub-expanded{align-items:flex-start;gap:12px}
.dsa-basecamp .bc-sub-content{flex:1;min-width:0}
.dsa-basecamp .bc-sub-due{display:block;color:#59708b;margin-top:5px;font-weight:600}
.dsa-basecamp .bc-sub-notes{margin:6px 0;white-space:pre-wrap;color:#4a6079;font-size:.9rem}
.dsa-basecamp .bc-sub-editor{margin:8px 0}
.dsa-basecamp .bc-sub-editor summary{cursor:pointer;color:#245686;font-weight:650;font-size:.85rem}
.dsa-basecamp .bc-sub-editor form{display:grid;grid-template-columns:minmax(160px,240px) 1fr auto;gap:10px;align-items:end;margin-top:10px}
.dsa-basecamp .bc-sub-editor label{display:flex;flex-direction:column;gap:5px;font-size:.85rem}
.dsa-basecamp .bc-sub-editor textarea{min-height:42px}
.dsa-basecamp .bc-sub-create{display:grid;grid-template-columns:2fr 1fr;gap:10px;align-items:center}
.dsa-basecamp .bc-sub-create textarea{grid-column:1/3;min-height:65px}
.dsa-basecamp .bc-sub-create button{grid-column:1/3;justify-self:start}
@media(max-width:720px){.dsa-basecamp .bc-sub-editor form,.dsa-basecamp .bc-sub-create{display:flex;flex-direction:column;align-items:stretch}.dsa-basecamp .bc-sub-create textarea,.dsa-basecamp .bc-sub-create button{grid-column:auto}}


/* 2026-10-30: Subtask layout correction: fixed checkbox, aligned content and form */
.dsa-basecamp .bc-subtasks .bc-sub.bc-sub-expanded {
  display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;
  align-items:start!important;column-gap:14px!important;
  padding:15px 8px!important;margin:0!important;
}
.dsa-basecamp .bc-subtasks .bc-sub.bc-sub-expanded > input[type="checkbox"] {
  width:20px!important;height:20px!important;min-width:20px!important;
  max-width:20px!important;flex:none!important;margin:3px 0 0!important;
  padding:0!important;align-self:start!important;
}
.dsa-basecamp .bc-subtasks .bc-sub-content {
  display:block!important;min-width:0!important;width:100%!important;
  flex:none!important;text-align:left!important;
}
.dsa-basecamp .bc-subtasks .bc-sub-content > span:first-child {
  display:block!important;color:#1e3655;font-size:15px;font-weight:700;
  line-height:1.45;overflow-wrap:anywhere;
}
.dsa-basecamp .bc-subtasks .bc-sub-content .bc-sub-due,
.dsa-basecamp .bc-subtasks .bc-sub-content .bc-sub-notes {text-align:left!important}
.dsa-basecamp .bc-subtasks .bc-sub-editor{margin:5px 0 0!important;max-width:100%}
.dsa-basecamp .bc-subtasks .bc-sub-editor summary{display:inline-block;padding:3px 0;font-size:12px}
.dsa-basecamp .bc-subtasks .bc-sub-editor form{display:grid!important;grid-template-columns:minmax(145px,210px) minmax(180px,1fr) auto!important;align-items:end!important;gap:10px!important}
.dsa-basecamp .bc-subtasks .bc-sub-editor input,
.dsa-basecamp .bc-subtasks .bc-sub-editor textarea{width:100%!important;min-width:0!important;max-width:100%!important}
.dsa-basecamp .bc-subtasks .bc-sub-create{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(150px,1fr) minmax(180px,1.25fr) auto!important;align-items:start!important;gap:10px!important;margin-top:17px!important;padding-top:18px;border-top:1px solid #e4edf5}
.dsa-basecamp .bc-subtasks .bc-sub-create > input,
.dsa-basecamp .bc-subtasks .bc-sub-create > textarea{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;grid-column:auto!important}
.dsa-basecamp .bc-subtasks .bc-sub-create > textarea{height:45px!important;min-height:45px!important;resize:vertical}
.dsa-basecamp .bc-subtasks .bc-sub-create > button{grid-column:auto!important;min-height:44px!important;white-space:nowrap}
@media(max-width:900px){
.dsa-basecamp .bc-subtasks .bc-sub-create{grid-template-columns:minmax(0,1fr) minmax(160px,.65fr)!important}
.dsa-basecamp .bc-subtasks .bc-sub-create > button{justify-self:start!important}
.dsa-basecamp .bc-subtasks .bc-sub-editor form{grid-template-columns:1fr 1fr!important}
}
@media(max-width:560px){
.dsa-basecamp .bc-subtasks .bc-sub-create{grid-template-columns:minmax(0,1fr)!important}
.dsa-basecamp .bc-subtasks .bc-sub-create > *{grid-column:1!important}
.dsa-basecamp .bc-subtasks .bc-sub-editor form{grid-template-columns:1fr!important}
.dsa-basecamp .bc-subtasks .bc-sub.bc-sub-expanded{grid-template-columns:20px minmax(0,1fr)!important;column-gap:10px!important}
}

/* Subtask panel: compact, differentiated from the parent task and comments */
.dsa-basecamp .bc-detail .bc-subtasks{background:#edf4fc!important;border:1px solid #cbdff1!important;border-left:4px solid #337bac!important;border-radius:14px!important;padding:14px 17px!important;margin:12px 0!important;box-shadow:none!important}
.dsa-basecamp .bc-detail .bc-subtasks h3{font-size:17px!important;margin:0 0 10px!important;color:#214d77!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub.bc-sub-expanded{background:#fff!important;border:1px solid #dbe7f2!important;border-radius:9px!important;padding:9px 11px!important;margin:6px 0!important;grid-template-columns:19px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub.bc-sub-expanded>input[type=checkbox]{width:17px!important;height:17px!important;min-width:17px!important;margin:2px 0 0!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-content>span:first-child{font-size:14px!important;line-height:1.3!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-due{font-size:11px!important;margin:2px 0 0!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-notes{font-size:12px!important;line-height:1.4!important;margin:3px 0!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-editor{margin:1px 0 0!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-editor summary{font-size:11px!important;padding:2px 0!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create{background:#dfeefa!important;border:1px solid #cddff0!important;border-radius:10px!important;padding:10px!important;margin:10px 0 0!important;gap:8px!important;grid-template-columns:minmax(0,2fr) minmax(125px,1fr) minmax(0,1.5fr) auto!important;align-items:center!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create>input,.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create>textarea{font-size:13px!important;min-height:36px!important;height:36px!important;box-sizing:border-box!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create>button{min-height:36px!important;font-size:12px!important;padding:7px 12px!important}
.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-editor form{margin-top:7px!important;padding:8px!important;background:#f6faff!important;border-radius:8px!important}
@media(max-width:950px){.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create{grid-template-columns:1fr 1fr!important}.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create>textarea,.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create>button{grid-column:auto!important}}
@media(max-width:600px){.dsa-basecamp .bc-detail .bc-subtasks{padding:12px!important}.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create{grid-template-columns:1fr!important}.dsa-basecamp .bc-detail .bc-subtasks .bc-sub-create>*{grid-column:1!important}}

.bc-attachments{background:#f4f8fd;border:1px solid #d8e6f4;border-radius:13px;padding:13px;margin:14px 0}.bc-attachments-title{font-weight:750;display:flex;gap:8px;align-items:center;margin-bottom:8px}.bc-attachments-title span{color:#69829a;font-size:12px}.bc-file-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid #dfebf5;font-size:13px;overflow-wrap:anywhere}.bc-file-row button{flex-shrink:0}.bct-file-form{display:flex!important;gap:8px!important;align-items:center;flex-wrap:wrap;margin-top:8px}.bct-file-form input{min-width:150px;max-width:100%}.bct-file-form small{color:#6f849a}.bc-linked-notes a,.bc-sub-notes a{color:#1667a0;text-decoration:underline;overflow-wrap:anywhere}.bc-sub-content .bc-attachments{padding:9px;margin:7px 0}.bc-sub-content .bct-file-form{display:flex!important}

/* Compact subtask document attachments and human-readable inserted hyperlinks */
.dsa-basecamp .bc-sub-content .bc-attachments-compact{display:block!important;margin:5px 0 0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
.dsa-basecamp .bc-attachments-compact summary{display:inline-flex!important;align-items:center;gap:6px;cursor:pointer;color:#326a99;font-size:12px!important;font-weight:650!important;padding:3px 0!important;list-style:revert}
.dsa-basecamp .bc-attachments-compact .bc-file-count{border-radius:12px;background:#e4f0fc;padding:1px 6px;font-size:11px}
.dsa-basecamp .bc-attachments-compact .bc-attachment-action{font-size:11px;font-weight:400;color:#68829a}
.dsa-basecamp .bc-attachments-inner{background:#fff;border:1px solid #d7e5f3;border-radius:9px;padding:9px;margin:5px 0 0}
.dsa-basecamp .bc-attachments-compact .bct-file-form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;align-items:center!important;margin-top:7px!important}
.dsa-basecamp .bc-attachments-compact .bct-file-form input{width:100%!important;min-width:0!important;font-size:12px!important}
.dsa-basecamp .bc-attachments-compact .bct-file-form button{min-height:32px!important;padding:5px 11px!important}
.dsa-basecamp .bc-attachments-compact .bct-file-form small{grid-column:1/-1;font-size:10px}
.dsa-basecamp .bc-link-insert{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) auto;gap:7px;align-items:end;margin:6px 0 3px!important;padding:7px!important;border-radius:8px;background:#eef5fd;border:1px solid #dae7f5}
.dsa-basecamp .bc-link-insert label{display:block!important;font-size:11px!important;color:#375777!important;min-width:0!important}
.dsa-basecamp .bc-link-insert input{display:block!important;width:100%!important;min-width:0!important;height:32px!important;margin-top:3px!important;padding:5px 8px!important;font-size:12px!important}
.dsa-basecamp .bc-link-insert button{white-space:nowrap;font-size:11px!important;padding:7px 10px!important;min-height:32px!important}
.dsa-basecamp .bc-link-hint{display:block;color:#627c96;font-size:10px}
.dsa-basecamp .bc-sub-note-wrap{min-width:0}
.dsa-basecamp .bc-sub-note-wrap>textarea{width:100%!important;box-sizing:border-box!important}
.dsa-basecamp .bc-sub-create .bc-sub-note-wrap{min-width:0}
@media(max-width:1000px){.dsa-basecamp .bc-link-insert{grid-template-columns:1fr 1fr}.dsa-basecamp .bc-link-insert button{grid-column:1/-1;justify-self:start}}
@media(max-width:580px){.dsa-basecamp .bc-link-insert{grid-template-columns:1fr}.dsa-basecamp .bc-link-insert button{grid-column:1}.dsa-basecamp .bc-attachments-compact .bct-file-form{grid-template-columns:1fr!important}}

/* Compact subtask link editing */
.bc-sub-title-link{color:#1b5788;text-decoration:underline;text-underline-offset:3px;font-weight:750}
.bc-sub-editor form{display:grid;grid-template-columns:minmax(140px,.7fr) minmax(210px,1fr);gap:10px;align-items:start}
.bc-sub-editor form>label:has(textarea){grid-column:1/-1}
.bc-sub-create{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(135px,.65fr) minmax(180px,1fr) auto;gap:10px;align-items:start}
.bc-sub-create .bc-sub-note-wrap{grid-column:1/-2}
.bc-link-insert{display:grid;grid-template-columns:minmax(130px,1fr) minmax(160px,1.3fr) auto;gap:7px;align-items:end;padding:8px!important}
.bc-link-insert label{min-width:0;font-size:12px}.bc-link-insert input{width:100%;min-width:0}.bc-link-insert button{white-space:nowrap}
.bc-link-hint{font-size:11px;color:#617890}
@media(max-width:850px){.bc-sub-create,.bc-link-insert,.bc-sub-editor form{grid-template-columns:1fr}.bc-sub-create .bc-sub-note-wrap,.bc-sub-editor form>label:has(textarea){grid-column:auto}}

/* Recoverable delete actions */
.dsa-basecamp .bc-delete-task-row{display:flex;justify-content:flex-end;margin:10px 0}
.dsa-basecamp .bc-delete-button{background:#fff5f3!important;color:#ae342c!important;border:1px solid #eac1bc!important;border-radius:8px!important;font-weight:650!important;padding:6px 12px!important;font-size:12px!important}
.dsa-basecamp .bc-delete-button:hover{background:#ffe8e3!important}
.dsa-basecamp .bc-delete-subtask{margin:3px 0 0!important;width:auto!important}

/* Collapsed by default: compact subtask creation drawer */
.dsa-basecamp .bc-sub-add-toggle {margin-top:12px; border:1px solid #c5d9ed; border-radius:12px; background:#e3effb; overflow:hidden;}
.dsa-basecamp .bc-sub-add-toggle > summary {display:flex;align-items:center;cursor:pointer;padding:11px 15px;color:#22547d;font-weight:750;font-size:14px;list-style:none;}
.dsa-basecamp .bc-sub-add-toggle > summary::-webkit-details-marker {display:none;}
.dsa-basecamp .bc-sub-add-toggle[open] > summary {border-bottom:1px solid #c5d9ed;background:#d6e9fa;}
.dsa-basecamp .bc-sub-add-toggle .bc-sub-create {border:0!important;margin:0!important;border-radius:0!important;background:transparent!important;padding:12px!important;}
.dsa-basecamp .bc-sub-add-toggle .bc-sub-create-actions {display:flex;gap:9px;align-items:center;grid-column:1/-1;}
.dsa-basecamp .bc-sub-add-toggle .bc-sub-cancel {background:white;color:#365675;border:1px solid #b6cde5;}

/* Icon-only delete actions: subtle, compact, accessible */
.dsa-basecamp .bc-delete-icon{width:35px!important;height:35px!important;min-width:35px!important;padding:0!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;font-size:17px!important;line-height:1!important;border-radius:10px!important;vertical-align:middle!important}
.dsa-basecamp .bc-delete-subtask.bc-delete-icon{margin:0!important;align-self:center!important;flex:0 0 35px!important}
.dsa-basecamp .bc-delete-icon:focus-visible{outline:2px solid #2563eb!important;outline-offset:2px!important}

/* Move editing inline with the completion action; open editor spans the full row. */
.dsa-basecamp .bc-detail-meta .bc-edit.bc-edit-inline{border:0;margin:0;padding:0;overflow:visible;flex:0 0 auto;order:0;background:transparent}
.dsa-basecamp .bc-detail-meta .bc-edit.bc-edit-inline summary{padding:10px 14px;border:1px solid #caddeb;background:#fff;border-radius:10px;color:#234973;font-weight:750;line-height:1.3;white-space:nowrap}
.dsa-basecamp .bc-detail-meta .bc-edit.bc-edit-inline summary:before{content:'✎';margin-right:7px}
.dsa-basecamp .bc-detail-meta .bc-edit.bc-edit-inline[open]{flex-basis:100%;order:99;border:1px solid #dbe8f4;border-radius:12px;overflow:hidden;background:#fff}
.dsa-basecamp .bc-detail-meta .bc-edit.bc-edit-inline[open] summary{border:0;border-radius:0;border-bottom:1px solid #dbe8f4;background:#f4f8fd}
@media(max-width:720px){.dsa-basecamp .bc-detail-meta .bc-edit.bc-edit-inline summary{white-space:normal}}
/* Tiny icon-only delete controls for to-dos and subtasks. */
.dsa-basecamp .bc-delete-button.bc-delete-icon,
.dsa-basecamp .bc-delete-subtask.bc-delete-icon {
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  flex:0 0 22px!important;
  padding:0!important;
  font-size:11px!important;
  line-height:1!important;
  border-radius:5px!important;
  margin:0!important;
}
.dsa-basecamp .bc-delete-task-row { margin:5px 0!important; }

/* Shared discussions */
.bc-comment-share{margin:10px 0 14px;border:1px solid #d8e5f4;border-radius:10px;padding:10px 14px;background:#f3f8ff}
.bc-comment-share summary{cursor:pointer;color:#245280;font-weight:650}
.bc-comment-share p{font-size:13px;color:#58708d;margin:8px 0}
.bc-comment-share-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:5px 12px;max-height:150px;overflow:auto}
.bc-comment-share-list label{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:6px;font-size:13px}
.bc-comment-share-list label input{width:16px;height:16px}
.bc-comment-share-list small{color:#71849a}
.bc-shared-label{display:block;color:#667b91;margin-top:6px}
