.content:has(.dc-sheet){padding:10px 14px;overflow-x:hidden}.dc-sheet{width:100%;max-width:none;min-width:0;margin:0;padding:0 0 24px;color:var(--text,#18352f);overflow:visible}
.dc-topbar{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;margin:0 0 5px}.dc-topbar .back{justify-self:start;margin:0;border:0;background:transparent;padding:0;color:var(--accent,#155a49);font-weight:700}.dc-version{border:1px solid var(--line,#d7e0dc);background:var(--panel,#fff);border-radius:8px;padding:6px 10px;font-size:10px;color:var(--muted,#66766f)}.dc-top-actions{display:flex;gap:7px}.dc-top-actions button{min-height:32px;border-radius:8px;font-weight:750;padding:0 12px}
.dc-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:12px;align-items:start;min-width:0}.dc-costing-body{min-width:0}.dc-sheet .sf-head{display:block;padding:0 4px 7px;border:0;background:transparent;box-shadow:none;position:relative}.dc-sheet .sf-head>div{min-width:0}.dc-sheet .sf-head h1{font-size:clamp(23px,1.75vw,31px);line-height:1;margin:2px 0 3px;font-weight:600;letter-spacing:-.03em}.dc-sheet .sf-head .eyebrow{color:var(--accent,#155a49);font-size:9px;letter-spacing:.14em}.dc-style-code{display:flex;gap:8px;align-items:center;font-size:11px;margin-bottom:5px}.dc-style-code b{font-size:12px}.dc-style-code span{color:var(--muted,#66766f)}.dc-sheet .sf-style-info{display:flex;flex-wrap:nowrap;gap:5px 14px;padding:6px 9px;border:1px solid var(--line,#dce4e0);border-radius:7px;background:color-mix(in srgb,var(--accent,#155a49) 3%,white);overflow:hidden}.dc-sheet .sf-style-info>div{display:flex;gap:4px;border:0;padding:0;min-width:0}.dc-sheet .sf-style-info span{font-size:8px}.dc-sheet .sf-style-info b{font-size:10px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:235px}.dc-sheet .sf-head .cost-status{position:absolute;right:4px;top:0}
.dc-gallery-rail{position:sticky;top:12px;display:grid;gap:10px;min-width:0}.dc-gallery{border:1px solid var(--line,#dce4e0);border-radius:13px;background:var(--panel,#fff);overflow:hidden;box-shadow:0 10px 24px rgba(31,57,49,.06)}.dc-gallery-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:13px;border-bottom:1px solid var(--line,#e3e9e6)}.dc-gallery-head span{display:block;font-size:8px;letter-spacing:.12em;color:var(--accent,#155a49);font-weight:800}.dc-gallery-head h2{margin:2px 0 0;font-size:16px}.dc-gallery-head small{display:block;color:var(--muted,#687771);font-size:9px;margin-top:2px}.dc-gallery-head label{flex:0 0 auto;border:1px solid var(--line,#d7dfdc);border-radius:7px;background:#fff;color:var(--accent,#155a49);padding:7px 8px;font-size:9px;font-weight:750;cursor:pointer}.dc-gallery-head input{display:none}.dc-gallery-list{display:grid;gap:10px;padding:10px}.dc-gallery-card{margin:0;border:1px solid var(--line,#d9e1dd);border-radius:11px;background:#fff;overflow:hidden}.dc-gallery-card.primary-image{border-color:color-mix(in srgb,var(--accent,#155a49) 65%,#d9e1dd)}.dc-gallery-open{position:relative;display:block;width:100%;height:215px;padding:0;border:0;background:#eef2f0;cursor:zoom-in;overflow:hidden}.dc-gallery-open img{width:100%;height:100%;object-fit:contain;background:#f6f7f6}.dc-gallery-open span{position:absolute;left:8px;right:8px;bottom:8px;padding:7px;border-radius:7px;background:rgba(18,63,52,.88);color:#fff;font-size:9px;font-weight:750;opacity:0;transform:translateY(4px);transition:.15s}.dc-gallery-open:hover span,.dc-gallery-open:focus-visible span{opacity:1;transform:none}.dc-gallery-card-foot{display:grid;gap:5px;padding:8px}.dc-gallery-card-foot>b{font-size:8px;letter-spacing:.1em;color:var(--accent,#155a49)}.dc-gallery-card-foot>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted,#687771);font-size:9px}.dc-gallery-card-foot>div{display:flex;gap:4px}.dc-gallery-card-foot button{border:1px solid var(--line,#d7dfdc);border-radius:6px;background:#fff;padding:5px 6px;font-size:8px;cursor:pointer}.dc-gallery-empty{padding:35px 10px;text-align:center;color:var(--muted,#687771);font-size:10px;line-height:1.5}
.dc-layout{display:grid;grid-template-columns:minmax(570px,1fr) minmax(320px,360px);gap:12px;align-items:start;min-width:0}.dc-main,.dc-aside{min-width:0}.dc-main{background:var(--panel,#fff);border:1px solid var(--line,#dce4e0);border-radius:12px;overflow:hidden;box-shadow:0 10px 24px rgba(31,57,49,.05)}.dc-sheet .sf-grid{border:0;border-radius:0;box-shadow:none;background:transparent;overflow:visible}.dc-section-title{display:flex;justify-content:space-between;align-items:center;padding:8px 12px 7px;border-bottom:1px solid var(--line,#e2e8e5)}.dc-section-title h2{margin:1px 0 0;font-size:15px}.dc-section-title p{display:none}.dc-section-title>span{font-size:9px;font-weight:700;color:var(--muted,#6a7772);letter-spacing:.07em}
.dc-sheet .sf-columns,.dc-sheet .sf-row{grid-template-columns:minmax(175px,1fr) 96px 88px 126px}.dc-sheet .sf-columns{padding:6px 10px;background:color-mix(in srgb,var(--accent,#155a49) 4%,white);font-size:8px;letter-spacing:.05em;color:var(--muted,#66766f)}.dc-sheet .sf-row{min-height:35px;padding:3px 10px;border-bottom:1px solid var(--line,#e8ecea);align-items:center;font-size:10px;transition:background .15s,border-color .15s}.dc-sheet .sf-row>div:first-child{font-size:9px;line-height:1.2}.dc-sheet .sf-row:hover{background:color-mix(in srgb,var(--accent,#155a49) 3%,white)}.dc-sheet .sf-row:focus-within{background:#fff;border-color:var(--accent,#155a49);box-shadow:inset 3px 0 var(--accent,#155a49)}.dc-sheet .sf-section{padding:5px 10px;background:color-mix(in srgb,var(--accent,#155a49) 7%,white);font-size:9px;letter-spacing:.1em;color:var(--accent,#155a49);font-weight:800}.dc-sheet .sf-direct{height:27px;border:1px solid var(--line,#d7dfdc);border-radius:7px;background:#fff;max-width:118px;margin-left:auto}.dc-sheet .sf-direct:focus-within{border-color:var(--accent,#155a49);box-shadow:0 0 0 2px color-mix(in srgb,var(--accent,#155a49) 13%,transparent)}.dc-sheet .sf-direct input{height:25px;font-size:11px;font-variant-numeric:tabular-nums}.dc-sheet .sf-accounting{display:inline-flex;width:auto;grid-template-columns:none;align-items:center;justify-content:flex-end;gap:3px;font-size:11px;white-space:nowrap}.dc-sheet .sf-accounting i,.dc-sheet .sf-accounting b{display:inline;text-align:right}.dc-sheet .sf-accounting b{font-weight:650}.dc-sheet .sf-calculated{display:flex;justify-content:flex-end;width:100%}.dc-sheet .calc-row{background:#fafcfb}.dc-sheet .subtotal-row{font-weight:750}.dc-sheet .total-row{min-height:39px;background:color-mix(in srgb,var(--accent,#155a49) 8%,white);color:#111;font-size:11px;font-weight:800;border-top:1px solid color-mix(in srgb,var(--accent,#155a49) 28%,white)}.dc-sheet .total-row .sf-accounting,.dc-sheet .total-row .sf-accounting b,.dc-sheet .total-row .sf-accounting i{color:#111}.dc-sheet .sf-add-row{padding:5px 10px}.dc-sheet .sf-add-row button{border:1px dashed var(--accent,#155a49);border-radius:7px;color:var(--accent,#155a49);background:transparent;font-size:9px}
.dc-aside{position:sticky;top:12px;display:grid;gap:10px}.dc-live{padding:18px;border-radius:14px;background:var(--accent,#123f34);color:#fff;box-shadow:0 14px 32px rgba(18,63,52,.15)}.dc-live>span{display:block;font-size:9px;letter-spacing:.15em;color:#c2e5d8;font-weight:800}.dc-live>small{display:block;font-size:13px;margin:7px 0 2px}.dc-live>strong{display:block;font-size:36px;line-height:1.05;margin-bottom:15px;font-weight:600;letter-spacing:-.04em}.dc-live>div{display:flex;justify-content:space-between;padding:9px 0;border-top:1px solid rgba(255,255,255,.14);font-size:12px}.dc-live em{font-style:normal;color:#d2e3dd}.dc-live b{font-weight:700}.dc-sheet .sf-retail{margin:0;border:1px solid var(--line,#dce4e0);border-radius:14px;background:var(--panel,#fff);overflow:hidden;box-shadow:0 12px 26px rgba(31,57,49,.05)}.dc-sheet .sf-retail-head{display:grid;grid-template-columns:105px repeat(4,minmax(58px,1fr));gap:5px;padding:13px 11px;border-bottom:1px solid var(--line,#e3e9e6);align-items:center}.dc-sheet .sf-retail-head b:first-child{font-size:13px}.dc-sheet .sf-retail-head b:not(:first-child){font-size:10px;color:var(--muted,#687771);text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dc-sheet .sf-retail-row{display:grid;grid-template-columns:105px repeat(4,minmax(58px,1fr));gap:5px;padding:9px 11px;border-bottom:1px solid var(--line,#edf0ef);align-items:center}.dc-sheet .sf-retail-row b{font-size:10px}.dc-sheet .sf-retail-row span{font-size:11px;text-align:right}.dc-sheet .sf-retail-row .sf-accounting{display:inline-grid;grid-template-columns:8px 1fr;justify-content:end}.dc-sheet .sf-retail-row .sf-accounting i{display:block}.dc-sheet .sf-retail-actions{display:grid;grid-template-columns:105px repeat(4,minmax(58px,1fr));padding:10px 11px;gap:5px}.dc-sheet .sf-retail-actions>span{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}.dc-sheet .sf-retail-actions button{font-size:8px;padding:5px}
.dc-disclosures{display:grid;gap:8px;margin:0}.dc-disclosure{background:var(--panel,#fff);border:1px solid var(--line,#dce4e0);border-radius:10px;overflow:hidden}.dc-disclosure>summary{list-style:none;display:flex;justify-content:space-between;align-items:center;padding:11px 12px;cursor:pointer}.dc-disclosure>summary::-webkit-details-marker{display:none}.dc-disclosure summary span{display:grid;gap:2px;min-width:0}.dc-disclosure summary b{font-size:10px}.dc-disclosure summary small{font-size:8px;color:var(--muted,#687771);line-height:1.35}.dc-disclosure summary i{font-style:normal;font-size:17px;transition:transform .2s}.dc-disclosure[open] summary i{transform:rotate(45deg)}.dc-disclosure>.approval-panel,.dc-disclosure>.sf-attachments{margin:0;border:0;border-top:1px solid var(--line,#e3e9e6);border-radius:0;box-shadow:none;min-width:680px}.dc-disclosure[open]{overflow:auto}
.dc-image-viewer{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:rgba(8,18,15,.82);backdrop-filter:blur(4px)}.dc-image-dialog{display:grid;grid-template-rows:auto minmax(0,1fr);width:min(94vw,1500px);height:min(92vh,1050px);border-radius:16px;background:#fff;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.42)}.dc-image-viewer-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:13px 16px;border-bottom:1px solid var(--line,#dce4e0)}.dc-image-viewer-bar b,.dc-image-viewer-bar small{display:block}.dc-image-viewer-bar b{font-size:13px}.dc-image-viewer-bar small{margin-top:2px;color:var(--muted,#687771);font-size:10px}.dc-image-viewer-bar>div:last-child{display:flex;gap:8px}.dc-image-viewer-bar a,.dc-image-viewer-bar button{border:1px solid var(--accent,#155a49);border-radius:8px;padding:8px 12px;font-size:11px;font-weight:750;text-decoration:none;cursor:pointer}.dc-image-viewer-bar a{background:var(--accent,#155a49);color:#fff}.dc-image-viewer-bar button{background:#fff;color:var(--accent,#155a49)}.dc-image-stage{display:grid;place-items:center;min-height:0;padding:14px;background:#eef1ef;overflow:auto}.dc-image-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;box-shadow:0 8px 30px rgba(0,0,0,.16)}
@media(max-width:1450px){.dc-workspace{grid-template-columns:190px minmax(0,1fr);gap:10px}.dc-layout{grid-template-columns:minmax(540px,1fr) 330px;gap:10px}.dc-gallery-open{height:185px}.dc-sheet .sf-columns,.dc-sheet .sf-row{grid-template-columns:minmax(165px,1fr) 90px 82px 118px}.dc-sheet .sf-retail-head,.dc-sheet .sf-retail-row,.dc-sheet .sf-retail-actions{grid-template-columns:90px repeat(4,minmax(49px,1fr))}}
@media(max-width:1120px){.dc-workspace{grid-template-columns:180px minmax(0,1fr)}.dc-layout{grid-template-columns:1fr}.dc-aside{position:static;grid-template-columns:300px minmax(0,1fr)}.dc-gallery-open{height:170px}}
@media(max-width:760px){.content:has(.dc-sheet){padding:12px}.dc-topbar{grid-template-columns:1fr}.dc-version{justify-self:start}.dc-top-actions{flex-wrap:wrap}.dc-workspace{grid-template-columns:1fr}.dc-gallery-rail{position:static}.dc-gallery-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dc-gallery-open{height:220px}.dc-aside{grid-template-columns:1fr}.dc-sheet .sf-columns{display:none}.dc-sheet .sf-row{grid-template-columns:1fr 92px 86px 110px;padding:5px 8px}.dc-sheet .sf-row>div:first-child{font-size:10px}.dc-section-title{padding:13px 10px}.dc-sheet .sf-style-info>div{width:100%}.dc-image-viewer{padding:8px}.dc-image-dialog{width:100%;height:96vh}.dc-image-viewer-bar{align-items:flex-start}.dc-image-viewer-bar>div:last-child{flex-direction:column}}

/* Phase 7N.6L.5: final costing overrides. These selectors intentionally outrank
   the legacy Phase 6 cost-sheet rules that load later in the page. */
.content:has(.sf-sheet.dc-sheet){width:100%!important;max-width:none!important;padding-left:10px!important;padding-right:10px!important;overflow-x:hidden!important}
.sf-sheet.dc-sheet{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
.sf-sheet.dc-sheet .dc-workspace{grid-template-columns:160px minmax(0,1fr)!important;gap:12px!important}
.sf-sheet.dc-sheet .dc-gallery-open{height:161px!important}
.sf-sheet.dc-sheet .dc-gallery-head{padding:9px!important}
.sf-sheet.dc-sheet .dc-gallery-list{padding:8px!important;gap:8px!important}
.sf-sheet.dc-sheet .dc-layout{grid-template-columns:minmax(620px,1fr) minmax(315px,350px)!important;gap:12px!important}
.sf-sheet.dc-sheet .sf-columns,.sf-sheet.dc-sheet .sf-row{grid-template-columns:minmax(205px,1fr) 105px 95px 145px!important}
.sf-sheet.dc-sheet .sf-columns>div:last-child,.sf-sheet.dc-sheet .sf-row>div:last-child{width:auto!important;min-width:0!important;max-width:none!important;background:transparent!important;overflow:visible!important}
.sf-sheet.dc-sheet .input-row>div:last-child,.sf-sheet.dc-sheet .calc-row>div:last-child,.sf-sheet.dc-sheet .subtotal-row>div:last-child{background:transparent!important}
.sf-sheet.dc-sheet .sf-row{min-height:39px!important;font-size:12px!important}
.sf-sheet.dc-sheet .sf-row>div:first-child{font-size:11px!important;line-height:1.25!important}
.sf-sheet.dc-sheet .sf-columns{font-size:10px!important}
.sf-sheet.dc-sheet .sf-accounting{display:inline-flex!important;width:auto!important;grid-template-columns:none!important;align-items:center!important;justify-content:flex-end!important;gap:3px!important;font-size:13px!important;white-space:nowrap!important}
.sf-sheet.dc-sheet .sf-accounting i,.sf-sheet.dc-sheet .sf-accounting b{display:inline!important;width:auto!important;text-align:right!important}
.sf-sheet.dc-sheet .sf-calculated{display:flex!important;width:100%!important;justify-content:flex-end!important}
.sf-sheet.dc-sheet .sf-direct{max-width:138px!important;background:transparent!important}
.sf-sheet.dc-sheet .sf-direct input{font-size:13px!important;background:transparent!important}
.sf-sheet.dc-sheet .dc-live,.sf-sheet.dc-sheet .sf-retail-head{background:var(--accent,var(--green,#164b3b))!important}
.sf-sheet.dc-sheet .dc-export-top{background:var(--accent,var(--green,#164b3b))!important;border-color:var(--accent,var(--green,#164b3b))!important;color:#fff!important}
.sf-sheet.dc-sheet .sf-section{color:var(--accent,var(--green,#164b3b))!important;background:color-mix(in srgb,var(--accent,var(--green,#164b3b)) 7%,white)!important}
.sf-sheet.dc-sheet .total-row{color:#111!important;background:color-mix(in srgb,var(--accent,var(--green,#164b3b)) 8%,white)!important}
@media(max-width:1200px){.sf-sheet.dc-sheet .dc-workspace{grid-template-columns:150px minmax(0,1fr)!important}.sf-sheet.dc-sheet .dc-gallery-open{height:151px!important}.sf-sheet.dc-sheet .dc-layout{grid-template-columns:minmax(570px,1fr) 315px!important}.sf-sheet.dc-sheet .sf-columns,.sf-sheet.dc-sheet .sf-row{grid-template-columns:minmax(185px,1fr) 96px 88px 135px!important}}
@media(max-width:1050px){.sf-sheet.dc-sheet .dc-layout{grid-template-columns:1fr!important}.sf-sheet.dc-sheet .dc-aside{position:static!important;grid-template-columns:300px minmax(0,1fr)!important}}

/* Phase 7N.6L.6: centered record tools, three MSRP columns and best margin. */
.content:has(.sf-sheet.dc-sheet){display:block!important}
.sf-sheet.dc-sheet{width:min(100%,1480px)!important;max-width:1480px!important;margin:0 auto!important}
.sf-sheet.dc-sheet .dc-center-tools{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;margin:0 0 8px!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure{border-radius:7px!important;box-shadow:none!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure>summary{min-height:31px!important;padding:5px 10px!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure summary span{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure summary b{flex:0 0 auto!important;font-size:10px!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure summary small{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:9px!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure summary i{font-size:15px!important}
.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure>.approval-panel,.sf-sheet.dc-sheet .dc-center-tools .dc-disclosure>.sf-attachments{min-width:0!important}
.sf-sheet.dc-sheet .sf-retail-head,.sf-sheet.dc-sheet .sf-retail-row,.sf-sheet.dc-sheet .sf-retail-actions{grid-template-columns:105px repeat(3,minmax(68px,1fr))!important}
.sf-sheet.dc-sheet .sf-retail-head>:nth-child(n+5),.sf-sheet.dc-sheet .sf-retail-row>:nth-child(n+5),.sf-sheet.dc-sheet .sf-retail-actions>:nth-child(n+5){display:none!important}
.sf-sheet.dc-sheet .dc-best-margin{display:block!important;margin:7px 0!important;padding:10px!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:8px!important;background:rgba(255,255,255,.08)!important}
.sf-sheet.dc-sheet .dc-best-margin>span{display:block!important;margin-bottom:7px!important;color:#cce8df!important;font-size:8px!important;font-weight:800!important;letter-spacing:.12em!important}
.sf-sheet.dc-sheet .dc-best-margin p{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:9px!important;margin:0!important}
.sf-sheet.dc-sheet .dc-best-margin p b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:11px!important}
.sf-sheet.dc-sheet .dc-best-margin p strong{font-size:14px!important}
.sf-sheet.dc-sheet .dc-best-margin p em{padding:4px 7px!important;border-radius:999px!important;background:#fff!important;color:var(--accent,var(--green,#164b3b))!important;font-size:11px!important;font-style:normal!important;font-weight:800!important}
.sf-sheet.dc-sheet .dc-best-margin.empty p{display:block!important;color:#d4e5df!important;font-size:10px!important}
@media(max-width:1500px){.sf-sheet.dc-sheet{width:100%!important}}

/* Phase 7N.6L.7: submitted-cost revoke and seamless edit repaint. */
.dc-render-shield{position:fixed!important;z-index:9997!important;overflow:hidden!important;pointer-events:none!important;background:var(--bg,#f5f7f5)!important;margin:0!important;box-shadow:0 0 0 100vmax var(--bg,#f5f7f5)!important;clip-path:inset(-100vmax)!important}
.sf-sheet.dc-sheet .dc-revoke-cost{border-color:var(--accent,var(--green,#164b3b))!important;color:var(--accent,var(--green,#164b3b))!important;background:#fff!important;font-weight:750!important}
.sf-sheet.dc-sheet .dc-revoke-cost:hover,.sf-sheet.dc-sheet .dc-revoke-cost:focus-visible{background:color-mix(in srgb,var(--accent,var(--green,#164b3b)) 8%,white)!important}

/* Phase 7N.6L.12N7U25F5: restore a clear return action on the costing workspace. */
.sf-sheet.dc-sheet .dc-topbar .dc-cost-control-back{min-height:32px!important;border:1px solid var(--line,#d7e0dc)!important;border-radius:8px!important;background:#fff!important;padding:0 12px!important;color:var(--accent,#155a49)!important;font-weight:750!important;box-shadow:none!important}
.sf-sheet.dc-sheet .dc-topbar .dc-cost-control-back:hover,.sf-sheet.dc-sheet .dc-topbar .dc-cost-control-back:focus-visible{background:color-mix(in srgb,var(--accent,#155a49) 7%,white)!important;border-color:var(--accent,#155a49)!important}
