.lab-core-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.indicator-token {
  align-items: flex-start;
  gap: 14px;
}

.indicator-token > span {
  min-width: 0;
}

.indicator-token b,
.indicator-token em {
  display: block;
}

.indicator-token em {
  margin-top: 3px;
  color: #71817a;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.45;
}

.indicator-token small {
  flex: 0 0 auto;
  padding-top: 1px;
}

.mt5-batch-edit-field.batch-sequence-card {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.batch-sequence-card .weekly-batch-number input[readonly] {
  border-color: #b99037;
  background: #fff;
  color: #173f34;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .04em;
}

.batch-sequence-card > small {
  grid-column: auto;
  margin-top: -2px;
}

.batch-group-advanced {
  overflow: hidden;
  border-top: 1px solid #e6d39d;
}

.batch-group-advanced > summary {
  padding: 10px 0 2px;
  color: #6f5724;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.batch-group-advanced > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px;
  padding-top: 10px;
}

.batch-group-advanced > div > small {
  grid-column: 1 / -1;
  color: #806c3c;
  font-size: 10px;
  line-height: 1.45;
}

.lab-core-grid label:nth-child(n + 3) {
  margin-top: 4px;
}

.framework-editor-modal {
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  max-height: 92vh;
  overflow: auto;
}

.framework-meta {
  margin-bottom: 18px;
}

#indicatorGroupsEditor {
  display: grid;
  gap: 16px;
}

.framework-edit-group {
  overflow: hidden;
  border: 1px solid #d3ded9;
  border-left: 4px solid #c9972b;
  border-radius: 16px;
  background: #f8faf8;
}

.framework-edit-group > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid #dce4e0;
  background: #fff;
}

.framework-edit-group > header > div:first-child {
  display: grid;
  gap: 4px;
}

.framework-order-actions,
.framework-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.framework-order-actions button,
.framework-item-actions button {
  min-width: 36px;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid #cbd8d2;
  border-radius: 9px;
  background: #fff;
  color: #143e33;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.framework-order-actions button:disabled,
.framework-item-actions button:disabled {
  opacity: .3;
  cursor: default;
}

.framework-order-actions .danger,
.framework-item-actions .danger {
  border-color: #edd0cf;
  color: #af403d;
}

.framework-group-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 18px 8px;
}

.framework-group-fields .full {
  grid-column: 1 / -1;
}

.framework-group-fields label,
.framework-indicator-row label {
  display: grid;
  gap: 6px;
  color: #62736d;
  font-size: 12px;
  font-weight: 700;
}

.framework-group-fields input,
.framework-indicator-row input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cfdad5;
  border-radius: 10px;
  background: #fff;
  color: #10251f;
  font: inherit;
  font-size: 15px;
  padding: 9px 11px;
}

.framework-indicator-list {
  display: grid;
  gap: 8px;
  padding: 8px 18px;
}

.framework-indicator-row {
  display: grid;
  grid-template-columns: 30px minmax(220px, 1fr) minmax(120px, 180px) auto;
  align-items: end;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e0e7e3;
  border-radius: 12px;
  background: #fff;
}

.framework-drag-index {
  align-self: center;
  color: #9a741d;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.framework-add-indicator {
  margin: 4px 18px 16px;
}

.framework-add-group {
  width: 100%;
  margin-top: 16px;
  min-height: 46px;
}

@media (max-width: 720px) {
  .lab-core-grid,
  .framework-group-fields {
    grid-template-columns: 1fr;
  }

  .framework-group-fields .full {
    grid-column: auto;
  }

  .framework-edit-group > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .framework-order-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .framework-indicator-row {
    grid-template-columns: 28px 1fr;
    align-items: start;
  }

  .framework-indicator-row label,
  .framework-indicator-row .framework-item-actions {
    grid-column: 2;
  }

  .framework-item-actions button {
    min-height: 40px;
  }

  .batch-group-advanced > div {
    grid-template-columns: 1fr;
  }

  .batch-group-advanced > div > small {
    grid-column: auto;
  }
}

/* v43 batch worksheet */
.bulk-review-page{min-width:0;padding-bottom:96px}.bulk-review-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin-bottom:18px}.bulk-review-hero h2{font-size:clamp(25px,3vw,38px);line-height:1.08;margin:7px 0 9px}.bulk-review-hero p{max-width:760px;margin:0;color:#718079;font-size:14px;line-height:1.65}.bulk-review-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.bulk-review-stats span{display:flex;align-items:baseline;gap:6px;padding:10px 13px;border:1px solid #d8e2dd;border-radius:12px;background:#fff;color:#65736d;white-space:nowrap}.bulk-review-stats b{font:700 18px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#153f35}.bulk-review-stats .needs-work{background:#fff8e9;border-color:#e7c76f;color:#815e13}.bulk-review-stats .needs-work b{color:#9b6e0d}.bulk-review-stats .draft-count{background:#edf7f2;border-color:#b9d8cb}.bulk-review-toolbar{padding:14px;margin-bottom:10px}.bulk-review-filters,.bulk-apply-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.bulk-review-filters>input{flex:1 1 260px;min-width:180px;height:42px}.bulk-filter-tabs{display:flex;border:1px solid #d4dfda;border-radius:10px;overflow:hidden}.bulk-filter-tabs button{border:0;border-right:1px solid #d4dfda;border-radius:0;background:#fff;padding:10px 13px;color:#4d5d56}.bulk-filter-tabs button:last-child{border-right:0}.bulk-filter-tabs button.active{background:#123f35;color:#fff}.bulk-filter-tabs small{opacity:.72}.bulk-mode-switch{display:grid;gap:1px;text-align:left;border:1px solid #c99d32;background:#fffaf0;color:#724f08;border-radius:10px;padding:7px 13px}.bulk-mode-switch span{font-weight:800}.bulk-mode-switch small{font-size:11px}.bulk-apply-bar{border-top:1px solid #e3eae6;margin-top:12px;padding-top:12px}.bulk-apply-bar label{display:flex;align-items:center;gap:7px;font-weight:700}.bulk-apply-bar strong{margin-right:auto;color:#1f5b4c}.bulk-apply-bar select{width:auto;min-width:120px;height:38px}.bulk-apply-bar button{height:38px}.bulk-sheet-help{display:flex;justify-content:space-between;gap:20px;color:#708078;font-size:12px;padding:0 4px 9px}.bulk-sheet-card{min-width:0;padding:0;overflow:hidden;border-color:#cddbd4}.bulk-sheet-scroll{max-width:100%;overflow:auto;overscroll-behavior:contain;max-height:calc(100vh - 285px)}.bulk-sheet{width:max-content;min-width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.bulk-sheet.full{min-width:3100px}.bulk-sheet.quick{min-width:1120px}.bulk-sheet th{position:sticky;top:0;z-index:4;height:48px;padding:8px 10px;background:#ecf2ef;border-right:1px solid #dce5e0;border-bottom:1px solid #cad8d1;color:#52645c;text-align:left;font-size:11px;letter-spacing:.02em;white-space:nowrap}.bulk-sheet td{height:66px;padding:7px 8px;border-right:1px solid #e1e8e4;border-bottom:1px solid #e3e9e6;background:#fff;vertical-align:top}.bulk-sheet tr:nth-child(even) td{background:#fbfcfb}.bulk-sheet tr.has-draft td{background:#fffaf0}.bulk-sheet tr.has-draft td:first-child{box-shadow:inset 3px 0 #c89627}.bulk-sheet input,.bulk-sheet select,.bulk-sheet textarea{width:100%;min-width:118px;border:1px solid transparent;border-radius:7px;background:transparent;padding:8px;color:#12231e;font:inherit}.bulk-sheet textarea{min-width:190px;max-width:240px;min-height:48px;resize:vertical;line-height:1.45}.bulk-sheet input:hover,.bulk-sheet select:hover,.bulk-sheet textarea:hover{border-color:#c6d6ce;background:#fff}.bulk-sheet input:focus,.bulk-sheet select:focus,.bulk-sheet textarea:focus{outline:2px solid #d9b45b;outline-offset:0;border-color:#d9b45b;background:#fff}.bulk-sheet .bulk-check{width:48px;min-width:48px;text-align:center}.bulk-sheet .bulk-check input{width:17px;min-width:17px;height:17px;margin-top:7px}.bulk-sheet .bulk-identity{width:154px;min-width:154px}.bulk-identity b,.bulk-identity small{display:block}.bulk-identity small{margin:3px 0;color:#72817a}.bulk-identity button{border:0;background:transparent;color:#1b6b57;font-weight:800;padding:0;font-size:11px}.bulk-readonly{min-width:118px}.bulk-readonly span,.bulk-readonly strong{display:block;width:max-content}.bulk-readonly strong{margin-top:8px}.bulk-setup select{min-width:150px}.bulk-entry-logic textarea{min-width:220px}.bulk-indicator-head{max-width:148px}.bulk-indicator-head b,.bulk-indicator-head small{display:block;max-width:130px;overflow:hidden;text-overflow:ellipsis}.bulk-indicator-head small{margin-top:2px;color:#7b8983}.bulk-indicator-cell select{min-width:106px}.bulk-progress{min-width:92px}.bulk-progress b,.bulk-progress small{display:block}.bulk-progress span{display:block;width:78px;height:5px;border-radius:9px;background:linear-gradient(90deg,#1c6d58 var(--progress),#e2e9e5 var(--progress));margin:7px 0}.bulk-progress small{color:#74817b}.sticky-check{position:sticky!important;left:0;z-index:6!important}.sticky-identity{position:sticky!important;left:48px;z-index:5!important;box-shadow:7px 0 14px -13px #153f35}.bulk-sheet thead .sticky-check,.bulk-sheet thead .sticky-identity{z-index:8!important;background:#e7efeb}.bulk-empty{text-align:center!important;padding:42px!important;color:#75827c}.bulk-save-dock{position:fixed;z-index:30;left:calc(210px + 28px);right:28px;bottom:18px;display:flex;align-items:center;gap:12px;padding:12px 14px 12px 18px;border:1px solid #b9cec4;border-radius:15px;background:rgba(247,250,248,.95);box-shadow:0 18px 44px rgba(13,50,40,.2);backdrop-filter:blur(14px)}.bulk-save-dock>div{margin-right:auto}.bulk-save-dock b,.bulk-save-dock small{display:block}.bulk-save-dock small{margin-top:3px;color:#6f7f77}.bulk-save-dock button{min-height:42px}.nav button[data-view="bulk-review"] i{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.nav button[data-view="bulk-review"].active{box-shadow:inset 3px 0 #d5ad4b}

@media (max-width: 980px){.bulk-review-hero{align-items:flex-start;flex-direction:column}.bulk-review-stats{justify-content:flex-start}.bulk-sheet-scroll{max-height:none}.bulk-save-dock{left:16px;right:16px;bottom:78px}.bulk-review-page{padding-bottom:150px}}
@media (max-width: 720px){.bulk-review-page{margin:0 -2px}.bulk-review-hero h2{font-size:26px}.bulk-review-hero p{font-size:13px}.bulk-review-stats{width:100%}.bulk-review-stats span{flex:1;justify-content:center}.bulk-review-toolbar{padding:10px}.bulk-review-filters{align-items:stretch}.bulk-filter-tabs{width:100%;overflow:auto}.bulk-filter-tabs button{flex:1;white-space:nowrap}.bulk-mode-switch{width:100%}.bulk-apply-bar{align-items:stretch}.bulk-apply-bar label{width:100%}.bulk-apply-bar strong{width:100%;margin:0}.bulk-apply-bar select{flex:1;min-width:0}.bulk-apply-bar button{width:100%}.bulk-sheet-help{display:block;line-height:1.5}.bulk-sheet-help span{display:block}.bulk-sheet.full{min-width:3000px}.bulk-sheet.quick{min-width:1040px}.bulk-sheet .bulk-identity{width:138px;min-width:138px}.bulk-save-dock{display:grid;grid-template-columns:1fr 1fr;gap:8px}.bulk-save-dock>div{grid-column:1/-1}.bulk-save-dock button{width:100%;padding:10px 8px}.bulk-save-dock small{font-size:10px}}

/* v44 TradingView worksheet columns */
.bulk-sheet.full{min-width:4050px}.bulk-tv-head{min-width:226px}.bulk-tv-head b,.bulk-tv-head small{display:block}.bulk-tv-head small{margin-top:2px;color:#7b8983}.bulk-tv-cell input{min-width:220px;color:#1b6b57}.bulk-tv-cell input::placeholder{color:#9aa7a1}@media (max-width:720px){.bulk-sheet.full{min-width:3950px}}

/* v45 compact grouped worksheet: review, indicators and TradingView links stay near the frozen trade columns */
.bulk-section-tabs{display:flex;align-items:center;gap:4px;width:max-content;margin:12px 0 2px;padding:4px;border:1px solid #d5e0da;border-radius:12px;background:#edf3f0}.bulk-section-tabs button{min-height:34px;padding:7px 16px;border:0;border-radius:8px;background:transparent;color:#52635b;font-weight:750}.bulk-section-tabs button:hover{background:#fff}.bulk-section-tabs button.active{background:#153f35;color:#fff;box-shadow:0 4px 10px rgba(21,63,53,.16)}
.bulk-sheet.full.compact{width:100%;min-width:1120px;table-layout:fixed}.bulk-sheet.full.compact th:nth-child(3),.bulk-sheet.full.compact td:nth-child(3){width:118px}.bulk-sheet.full.compact .bulk-group-head{width:auto}.bulk-sheet.full.compact .bulk-group-cell{width:auto;padding:8px;vertical-align:top}.bulk-sheet.full.compact .bulk-progress{width:92px}.bulk-sheet.full.compact input,.bulk-sheet.full.compact select,.bulk-sheet.full.compact textarea{min-width:0;max-width:none}.bulk-sheet.full.compact textarea{min-height:39px;height:39px;padding:7px 8px;resize:vertical;line-height:1.3}.bulk-review-field-grid,.bulk-indicator-grid,.bulk-tv-grid{display:grid;gap:7px}.bulk-review-field-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bulk-indicator-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bulk-tv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-mini-field{display:grid;align-content:start;gap:4px;min-width:0;margin:0;padding:6px 7px;border:1px solid #e0e8e4;border-radius:8px;background:#f8faf9}.bulk-mini-field>span{display:block;min-width:0;color:#617169;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bulk-mini-field>span small{margin-left:4px;color:#8a9891;font:inherit}.bulk-mini-field.wide{grid-column:span 2}.bulk-mini-field input,.bulk-mini-field select,.bulk-mini-field textarea{width:100%;border-color:#d6e1db;background:#fff}.bulk-tv-grid input{color:#1b6b57}.bulk-tv-grid input::placeholder{color:#9aa7a1}
@media (max-width:980px){.bulk-sheet.full.compact{min-width:920px}.bulk-review-field-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bulk-indicator-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bulk-section-tabs{max-width:100%;overflow:auto}}
@media (max-width:720px){.bulk-section-tabs{display:grid;grid-template-columns:repeat(3,1fr);width:100%}.bulk-section-tabs button{padding:8px 6px;font-size:12px}.bulk-sheet.full.compact{min-width:760px}.bulk-sheet.full.compact .bulk-check{width:40px;min-width:40px}.bulk-sheet.full.compact .bulk-identity{width:112px;min-width:112px}.bulk-sheet.full.compact .sticky-identity{left:40px}.bulk-sheet.full.compact th:nth-child(3),.bulk-sheet.full.compact td:nth-child(3){width:88px}.bulk-sheet.full.compact .bulk-progress{width:66px}.bulk-review-field-grid,.bulk-indicator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-tv-grid{grid-template-columns:1fr}.bulk-mini-field.wide{grid-column:span 2}}
@media (max-width:720px){.bulk-sheet-scroll:has(.bulk-sheet.full.compact){overflow-x:hidden}.bulk-sheet.full.compact{display:block;width:100%;min-width:0!important;background:#f2f6f4}.bulk-sheet.full.compact thead{display:none}.bulk-sheet.full.compact tbody{display:grid;gap:9px;padding:8px}.bulk-sheet.full.compact tr{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:start;border:1px solid #d7e2dc;border-radius:12px;background:#fff;overflow:hidden}.bulk-sheet.full.compact td{display:block;width:auto!important;min-width:0!important;height:auto;padding:8px;border:0;background:#fff!important}.bulk-sheet.full.compact .sticky-check,.bulk-sheet.full.compact .sticky-identity{position:static!important;left:auto!important;box-shadow:none}.bulk-sheet.full.compact .bulk-check{grid-column:1;grid-row:1;padding:12px 5px 6px 11px}.bulk-sheet.full.compact .bulk-identity{grid-column:2;grid-row:1;padding:10px 6px}.bulk-sheet.full.compact .bulk-readonly{grid-column:3;grid-row:1;display:flex;align-items:center;gap:7px;min-width:0;padding:10px 10px 6px 4px;text-align:right}.bulk-sheet.full.compact .bulk-readonly strong{margin:0}.bulk-sheet.full.compact .bulk-group-cell{grid-column:1/-1;grid-row:2;padding:7px 9px 9px;border-top:1px solid #e3ebe7;background:#fbfcfb!important}.bulk-sheet.full.compact .bulk-progress{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:8px;padding:7px 10px;border-top:1px solid #e3ebe7}.bulk-sheet.full.compact .bulk-progress b,.bulk-sheet.full.compact .bulk-progress small{display:inline}.bulk-sheet.full.compact .bulk-progress span{flex:1;width:auto;margin:0}.bulk-tv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-mini-field{padding:5px 6px}.bulk-mini-field input,.bulk-mini-field select,.bulk-mini-field textarea{font-size:12px}.bulk-empty{grid-column:1/-1!important}}

/* v46: dense summary rows with one full-width inline editor */
.bulk-sheet.full.expandable{width:100%;min-width:1000px;table-layout:fixed}.bulk-sheet.full.expandable th:nth-child(3),.bulk-sheet.full.expandable td:nth-child(3){width:106px}.bulk-sheet.full.expandable th:nth-child(4),.bulk-sheet.full.expandable td:nth-child(4){width:132px}.bulk-sheet.full.expandable th:nth-child(5),.bulk-sheet.full.expandable td:nth-child(5){width:104px}.bulk-sheet.full.expandable th:nth-child(6),.bulk-sheet.full.expandable td:nth-child(6){width:82px}.bulk-sheet.full.expandable th:nth-child(7),.bulk-sheet.full.expandable td:nth-child(7){width:auto}.bulk-sheet.full.expandable th:nth-child(8),.bulk-sheet.full.expandable td:nth-child(8){width:82px}.bulk-sheet.full.expandable th:nth-child(9),.bulk-sheet.full.expandable td:nth-child(9){width:88px}.bulk-sheet.full.expandable .bulk-main-row td{height:70px;vertical-align:middle}.bulk-sheet.full.expandable .bulk-main-row textarea{min-width:0;max-width:none;min-height:46px;height:46px;resize:vertical}.bulk-expand-cell button{width:100%;min-height:38px;padding:7px 8px;border:1px solid #b9cec4;border-radius:8px;background:#edf6f2;color:#155442;font-weight:800}.bulk-main-row.is-expanded .bulk-expand-cell button{border-color:#d4ad4d;background:#fff8e8;color:#7b570b}.bulk-detail-row>td{height:auto!important;padding:0!important;background:#f3f7f5!important;border-bottom:1px solid #cbd9d2}.bulk-inline-detail{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:10px 12px 13px;border-left:3px solid #d3aa43}.bulk-detail-section{min-width:0;padding:9px;border:1px solid #d9e3de;border-radius:10px;background:#fff}.bulk-detail-section:first-child{grid-column:1/-1}.bulk-detail-section>header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:7px}.bulk-detail-section>header b{font-size:12px;color:#143f34}.bulk-detail-section>header small{color:#84918b;font-size:10px}.bulk-detail-row .bulk-review-field-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bulk-detail-row .bulk-indicator-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.bulk-detail-row .bulk-tv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-detail-row input,.bulk-detail-row select,.bulk-detail-row textarea{min-width:0;max-width:none}.bulk-detail-row textarea{min-height:39px;height:39px;padding:7px 8px;resize:vertical;line-height:1.3}
@media (max-width:720px){.bulk-sheet-scroll:has(.bulk-sheet.full.expandable){overflow-x:hidden}.bulk-sheet.full.expandable{display:block;width:100%;min-width:0!important;background:#f2f6f4}.bulk-sheet.full.expandable thead{display:none}.bulk-sheet.full.expandable tbody{display:grid;gap:8px;padding:8px}.bulk-sheet.full.expandable tr{border:1px solid #d7e2dc;border-radius:12px;background:#fff;overflow:hidden}.bulk-sheet.full.expandable .bulk-main-row{display:grid;grid-template-columns:34px minmax(0,1.4fr) minmax(0,1fr) auto;align-items:start}.bulk-sheet.full.expandable .bulk-main-row td{display:block;width:auto!important;min-width:0!important;height:auto;padding:7px;border:0;background:#fff!important}.bulk-sheet.full.expandable .sticky-check,.bulk-sheet.full.expandable .sticky-identity{position:static!important;left:auto!important;box-shadow:none}.bulk-sheet.full.expandable .bulk-check{grid-column:1;grid-row:1;padding:12px 5px 5px 11px}.bulk-sheet.full.expandable .bulk-identity{grid-column:2/4;grid-row:1;padding:10px 5px}.bulk-sheet.full.expandable .bulk-readonly{grid-column:4;grid-row:1;display:flex;align-items:center;gap:6px;padding:10px 9px 5px 3px;text-align:right}.bulk-sheet.full.expandable .bulk-readonly strong{margin:0}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(4){grid-column:1/3;grid-row:2}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(5){grid-column:3;grid-row:2}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(6){grid-column:4;grid-row:2}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(7){grid-column:1/-1;grid-row:3}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(8){grid-column:1/3;grid-row:4}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(9){grid-column:3/-1;grid-row:4;display:flex;align-items:center;gap:7px}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(9) span{flex:1;width:auto;margin:0}.bulk-sheet.full.expandable .bulk-main-row textarea{width:100%;min-height:38px;height:38px}.bulk-sheet.full.expandable .bulk-detail-row{display:block}.bulk-sheet.full.expandable .bulk-detail-row>td{display:block;width:100%!important}.bulk-inline-detail{grid-template-columns:1fr;padding:9px;border-left:0;border-top:3px solid #d3aa43}.bulk-detail-section:first-child{grid-column:auto}.bulk-detail-row .bulk-review-field-grid,.bulk-detail-row .bulk-indicator-grid,.bulk-detail-row .bulk-tv-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-detail-row .bulk-mini-field.wide{grid-column:span 2}}

/* v47: summary is read-only; editing lives in the full-width expansion and the page owns vertical scrolling */
.bulk-sheet-scroll:has(.bulk-sheet.full.expandable){max-height:none;overflow-x:hidden;overflow-y:visible}.bulk-sheet.full.expandable .bulk-main-row td{height:58px}.bulk-entry-preview{vertical-align:middle!important}.bulk-entry-preview span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#263a33;font-size:12px;line-height:1.35}.bulk-entry-preview span.empty{color:#98a49e}.bulk-sheet.full.expandable th:nth-child(8),.bulk-sheet.full.expandable td:nth-child(8){width:94px}.bulk-expand-cell button{white-space:nowrap}
@media (max-width:720px){.bulk-sheet.full.expandable .bulk-main-row td{height:auto}.bulk-entry-preview{padding:7px 10px!important;border-top:1px solid #e5ece8!important;border-bottom:1px solid #e5ece8!important;background:#f8faf9!important}.bulk-entry-preview span{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.bulk-sheet.full.expandable .bulk-main-row td:nth-child(8){width:auto!important}}

.bulk-excel-panel{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:16px 0;padding:20px 22px;border-color:#d8c184;background:linear-gradient(135deg,#fffdf7 0%,#f4f8f5 100%)}
.bulk-excel-panel h3{margin:4px 0 6px;font-size:20px}
.bulk-excel-panel p{margin:0;color:#66766f;max-width:720px;line-height:1.55}
.bulk-excel-actions{display:flex;gap:10px;flex:0 0 auto}
.bulk-excel-actions button{min-height:44px;white-space:nowrap}
@media(max-width:760px){.bulk-excel-panel{align-items:stretch;flex-direction:column;padding:16px}.bulk-excel-actions{display:grid;grid-template-columns:1fr}.bulk-excel-actions button{width:100%}}

