/* ===== reconstruction-pass2-complete.css ===== */
/* Petmary Experience Reconstruction Pass 2 — complete local experience layer */
:root{--p2-ink:#10271e;--p2-green:#173a2f;--p2-lime:#c9ef88;--p2-paper:#f7f5ed;--p2-line:#d8ddd4;--p2-soft:#eef3ea;--p2-warm:#f2e6d4;--p2-danger:#7b3e34;--p2-blue:#315c67}
body.admin-route{background:var(--p2-paper)}
.experience-workspaces .workspace-link b{font-size:12px;letter-spacing:-.01em}.experience-workspaces .workspace-link small{font-size:9px}
.workspace-link[data-p2-intelligence] b{letter-spacing:-.03em}
.experience-canvas{min-height:calc(100vh - 40px)}
.p2-journey-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 18px}.p2-journey-bar a,.p2-journey-bar span{border:1px solid var(--p2-line);border-radius:15px;background:#fff;padding:13px 14px;min-height:74px;display:grid;align-content:center;gap:3px}.p2-journey-bar b{font-size:12px;color:var(--p2-ink)}.p2-journey-bar small{font-size:9px;color:#718078}.p2-journey-bar .active{background:var(--p2-green);border-color:var(--p2-green);color:#fff}.p2-journey-bar .active b{color:#fff}.p2-journey-bar .active small{color:#bdd0c7}
.p2-workspace-intro{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:12px;margin:0 0 18px}.p2-workspace-intro>div{border-radius:22px;padding:22px 24px;border:1px solid var(--p2-line);background:#fff}.p2-workspace-intro .primary{background:linear-gradient(135deg,var(--p2-green),#214a3c);color:#fff;border-color:transparent}.p2-workspace-intro .primary small{color:#a9bdb4}.p2-workspace-intro .primary strong{font-size:clamp(27px,3vw,42px);letter-spacing:-.05em;line-height:1}.p2-workspace-intro small{display:block;text-transform:uppercase;font-size:9px;font-weight:900;letter-spacing:.11em;color:#728077}.p2-workspace-intro b{display:block;margin:5px 0 3px;font-size:15px}.p2-workspace-intro span{font-size:10px;color:#68756e}
.p2-stock-room{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:10px;margin-bottom:18px}.p2-stock-zone{min-height:154px;border:1px solid var(--p2-line);border-radius:22px;padding:20px;background:#fff;display:grid;align-content:space-between}.p2-stock-zone.attention{background:linear-gradient(145deg,#173a2f,#234f40);color:#fff;border-color:transparent}.p2-stock-zone.attention small{color:#b8ccc2}.p2-stock-zone strong{font-size:38px;letter-spacing:-.05em}.p2-stock-zone small{font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#6f7c75}.p2-stock-zone p{font-size:10px;margin:3px 0;color:inherit;opacity:.78}.p2-stock-zone a{font-size:10px;font-weight:900;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:flex;align-items:end}
.p2-supply-pipeline{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 0 18px}.p2-supply-pipeline a{position:relative;min-height:122px;border-radius:18px;background:#fff;border:1px solid var(--p2-line);padding:18px;display:grid;align-content:space-between}.p2-supply-pipeline a:not(:last-child):after{content:'→';position:absolute;right:-8px;top:50%;z-index:2;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--p2-green);color:#fff;font-size:9px}.p2-supply-pipeline i{font-style:normal;font-size:9px;font-weight:900;color:#819088}.p2-supply-pipeline strong{font-size:28px;letter-spacing:-.04em}.p2-supply-pipeline b{font-size:11px}.p2-supply-pipeline small{font-size:9px;color:#78847e}
.p2-money-flow{display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;margin-bottom:18px}.p2-money-flow a{min-height:142px;border-radius:22px;padding:20px;border:1px solid var(--p2-line);background:#fff;display:grid;align-content:space-between}.p2-money-flow a:first-child{background:linear-gradient(145deg,#dff1e5,#f7f8f1)}.p2-money-flow a:nth-child(2){background:linear-gradient(145deg,#f3e6d3,#fbf8f1)}.p2-money-flow a:last-child{background:var(--p2-green);color:#fff;border-color:transparent}.p2-money-flow a:last-child small{color:#b7cbc2}.p2-money-flow small{font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#728077}.p2-money-flow strong{font-size:27px;letter-spacing:-.04em}.p2-money-flow span{font-size:10px;opacity:.76}
.p2-field-board{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.p2-field-stage{border-radius:18px;background:#fff;border:1px solid var(--p2-line);padding:16px;min-height:112px}.p2-field-stage small{display:block;font-size:9px;text-transform:uppercase;font-weight:900;letter-spacing:.1em;color:#738078}.p2-field-stage strong{display:block;font-size:30px;margin:8px 0;letter-spacing:-.04em}.p2-field-stage span{font-size:9px;color:#77847e}
.p2-marketing-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.p2-marketing-flow a{min-height:120px;border-radius:20px;border:1px solid var(--p2-line);background:#fff;padding:17px;display:grid;align-content:space-between}.p2-marketing-flow a:nth-child(2){background:#fff6e9}.p2-marketing-flow a:nth-child(3){background:#eef5e9}.p2-marketing-flow a:nth-child(4){background:#eaf2f3}.p2-marketing-flow small{font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:900}.p2-marketing-flow b{font-size:16px}.p2-marketing-flow span{font-size:9px;color:#6f7d76}
.p2-truth-warning{display:flex;gap:10px;align-items:flex-start;border:1px solid #dfc69b;background:#fff6e8;border-radius:15px;padding:12px 14px;margin:0 0 16px}.p2-truth-warning b{font-size:11px}.p2-truth-warning span{font-size:10px;color:#6f6252}
.p2-mobile-disclosure{border:0;background:transparent;margin:0 0 14px}.p2-mobile-disclosure>summary{display:none}.p2-mobile-disclosure>.admin-cards,.p2-mobile-disclosure>.finance-kpis{margin-bottom:0!important}
.p2-empty-upgraded{padding:30px 20px!important;border:1px dashed #bfc8c0!important;background:#fbfbf7!important}.p2-empty-upgraded:before{content:'Nothing requires action here';display:block;font-weight:900;color:var(--p2-ink);font-size:15px;margin-bottom:5px}.p2-not-found{max-width:680px;margin:70px auto!important;text-align:left!important;padding:34px!important}.p2-not-found:before{content:'This record is not available';display:block;font-size:26px;font-weight:900;letter-spacing:-.04em;color:var(--p2-ink);margin-bottom:8px}
/* workspace secondary navigation becomes an action strip, not a second app menu */
.admin-workspace-nav{border-radius:16px!important}.admin-workspace-nav>span{font-weight:900!important;color:#69776f!important}.admin-workspace-nav nav a{min-height:44px;display:inline-flex;align-items:center}
.workspace-payments .table-wrap,.workspace-accounts .table-wrap,.workspace-receivables .table-wrap,.workspace-bills .table-wrap{max-width:100%;overflow:auto}.workspace-payments table{width:max-content;min-width:100%}
/* reduce repeated generic-card feel */
.workspace-inventory .admin-panel,.workspace-procurement .admin-panel,.workspace-accounts .admin-panel,.workspace-marketing .admin-panel{box-shadow:none!important}
.workspace-inventory .admin-cards,.workspace-procurement .finance-kpis,.workspace-accounts .finance-kpis{background:transparent}
.command-workspace-map.p2-deemphasized{margin-top:10px;opacity:.88}.command-workspace-map.p2-deemphasized .workspace-map-grid{grid-template-columns:repeat(4,1fr)}.command-workspace-map.p2-deemphasized .workspace-map-grid a{min-height:92px}
@media(max-width:1050px){.p2-stock-room,.p2-money-flow{grid-template-columns:1fr 1fr}.p2-stock-room>.p2-stock-zone:first-child,.p2-money-flow>a:last-child{grid-column:1/-1}.p2-supply-pipeline,.p2-field-board,.p2-marketing-flow{grid-template-columns:1fr 1fr}.p2-supply-pipeline a:nth-child(2):after{display:none}.p2-workspace-intro{grid-template-columns:1fr}.command-workspace-map.p2-deemphasized .workspace-map-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){
 body.admin-route .admin-main{padding:0!important;background:#f2f4ef!important}.experience-mobile-top{position:sticky!important;top:0;z-index:950;margin:0!important;border-radius:0!important;height:58px!important}.experience-canvas{padding:12px 12px 84px!important}.admin-workspace-nav{top:58px!important;margin:0 0 10px!important;border-radius:0 0 14px 14px!important}.admin-page-head{margin-bottom:14px!important}.admin-page-head h1{font-size:30px!important;line-height:1.02!important}.admin-page-head .admin-subtitle{font-size:11px!important;line-height:1.45!important}.admin-head-actions{gap:7px!important}.admin-head-actions .btn,.admin-head-actions button,.admin-head-actions a{min-height:46px!important;padding:10px 13px!important}.p2-journey-bar{display:flex;overflow-x:auto;margin:0 -2px 12px;padding:0 2px 4px}.p2-journey-bar a,.p2-journey-bar span{min-width:152px;min-height:68px;flex:0 0 auto}.p2-stock-room,.p2-money-flow,.p2-supply-pipeline,.p2-field-board,.p2-marketing-flow{grid-template-columns:1fr!important}.p2-stock-room>.p2-stock-zone:first-child,.p2-money-flow>a:last-child{grid-column:auto}.p2-stock-zone,.p2-money-flow a{min-height:118px}.p2-supply-pipeline a{min-height:96px}.p2-supply-pipeline a:after{display:none!important}.p2-field-stage{min-height:90px}.p2-marketing-flow a{min-height:92px}.p2-workspace-intro{display:block}.p2-workspace-intro>div{border-radius:17px;margin-bottom:8px;padding:18px}.p2-mobile-disclosure{border:1px solid var(--p2-line);border-radius:15px;background:#fff;padding:0;overflow:hidden}.p2-mobile-disclosure>summary{display:flex;min-height:48px;align-items:center;justify-content:space-between;padding:0 14px;font-size:11px;font-weight:900;cursor:pointer}.p2-mobile-disclosure>summary:after{content:'+';font-size:18px}.p2-mobile-disclosure[open]>summary:after{content:'−'}.p2-mobile-disclosure>.admin-cards,.p2-mobile-disclosure>.finance-kpis{padding:0 10px 10px}.command-workspace-map.p2-deemphasized{display:none!important}.command-primary-actions{grid-template-columns:1fr!important}.command-primary-actions a{min-height:58px!important}.command-pulse{grid-template-columns:1fr 1fr!important;padding:15px!important}.command-attention{padding:16px 12px!important}.command-queue a{min-height:72px!important}.table-wrap{border-radius:12px}.workspace-payments .table-wrap,.workspace-inventory .table-wrap,.workspace-procurement .table-wrap{margin:0 -8px;padding:0 8px}.admin-panel{padding:15px!important;margin-bottom:12px!important}.admin-panel-head{gap:10px!important}.admin-panel-head a,.admin-panel-head button,.text-btn,.table-action{min-height:44px!important;display:inline-flex!important;align-items:center!important}.admin-panel button:not(.icon-btn),.admin-panel a.btn{min-height:44px!important}.finance-filter-bar button,.finance-filter-bar select,.finance-filter-bar input{min-height:46px!important}.admin-inline-search button,.admin-inline-search input{min-height:46px!important}.marketing-attention-list button{min-height:64px!important}.intelligence-questions button{min-height:64px!important}.intelligence-controls>summary{min-height:50px!important}.intelligence-evidence-steps span{min-height:74px!important}.p2-not-found{margin:24px 0!important}.local-audit-ribbon{font-size:9px!important;padding:7px 10px!important}.experience-canvas .admin-empty{min-height:108px;display:grid;place-content:center}
}
@media(max-width:430px){.finance-kpis,.admin-cards,.marketing-command-kpis,.report-kpis{grid-template-columns:1fr 1fr!important}.command-pulse{grid-template-columns:1fr 1fr!important}.p2-stock-zone strong{font-size:32px}.p2-money-flow strong{font-size:24px}}
.service-catalogue-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:9px}.service-catalogue-cards article{border:1px solid var(--p2-line);border-radius:16px;padding:15px;background:#fbfcf8;display:flex;justify-content:space-between;gap:14px}.service-catalogue-cards article>div{display:grid;gap:3px;align-content:start}.service-catalogue-cards small{font-size:9px;color:#75827b;text-transform:uppercase;letter-spacing:.07em}.service-catalogue-cards b{font-size:12px}.service-catalogue-cards strong{font-size:14px;color:var(--p2-green)}.service-catalogue-cards span{font-size:9px;color:#7a867f}.field-execution-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:18px;align-items:start}.field-lane{border:1px solid var(--p2-line);background:#eff2ec;border-radius:20px;padding:10px;min-height:260px}.field-lane>header{padding:8px 8px 12px;display:grid;grid-template-columns:1fr auto;gap:2px}.field-lane>header small{grid-column:1/-1;font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#718078}.field-lane>header b{font-size:13px}.field-lane>header span{font-size:10px;background:#fff;border-radius:999px;padding:3px 8px}.field-job-card{display:grid;gap:4px;border:1px solid #dce2da;background:#fff;border-radius:14px;padding:13px;margin-bottom:7px;min-height:108px}.field-job-card small{font-size:8px;color:#748079;font-weight:900}.field-job-card b{font-size:11px;line-height:1.3}.field-job-card span,.field-job-card em{font-size:9px;color:#718078;font-style:normal}.field-lane-empty{padding:22px 10px;text-align:center;color:#849089;font-size:10px}@media(max-width:1050px){.field-execution-board{grid-template-columns:1fr 1fr}}@media(max-width:720px){.field-execution-board{display:flex;overflow-x:auto;gap:8px;margin:0 -12px 14px;padding:0 12px 5px}.field-lane{min-width:78vw;min-height:220px}.field-job-card{min-height:100px}.service-catalogue-cards{grid-template-columns:1fr}.service-catalogue-cards article{min-height:86px}}

/* ===== reconstruction-pass3-hardening.css ===== */
/* Petmary Experience Reconstruction Pass 3 — local hardening only.
   Architecture frozen; this file corrects responsive, touch, overflow and trust-state defects. */
:root{--p3-touch:44px;--p3-soft:#f6f7f1;--p3-line:#d8ddd4;--p3-ink:#10271e;--p3-green:#173a2f;--p3-lime:#c9ef88;--p3-warn:#fff7e8;--p3-danger:#fff0ed}
*,*::before,*::after{box-sizing:border-box}
.experience-canvas,.admin-panel,.table-wrap,.intelligence-workspace,.intelligence-investigation,.intelligence-answer,.intelligence-answer-main,.intelligence-confidence,.intelligence-evidence,.intelligence-record-evidence,.p2-supply-pipeline,.p2-money-flow,.p2-stock-room,.p2-field-board,.p2-marketing-flow{min-width:0;max-width:100%}

/* Intelligence / Reports: preserve the question→answer→evidence model, reduce truth-state visual competition. */
.intelligence-answer{grid-template-columns:minmax(0,1fr) minmax(220px,300px)}
.intelligence-confidence{padding:18px 18px;background:#eef4ed;color:var(--p3-ink);border-left:4px solid #73a370}
.intelligence-confidence small,.intelligence-confidence p{color:#64736b}.intelligence-confidence b{font-size:15px}.intelligence-confidence em{color:#3f6f54}
.intelligence-confidence.incomplete{background:var(--p3-warn);color:#5b451f;border-left-color:#dfa34d}.intelligence-confidence.incomplete small,.intelligence-confidence.incomplete p{color:#735f3c}.intelligence-confidence.incomplete em{color:#8d651f}
.intelligence-confidence.conflict{background:#552d28;color:#fff;border-left:0}.intelligence-confidence.conflict small{color:#d9b4ad}.intelligence-confidence.conflict p{color:#f2d8d3}.intelligence-confidence.conflict em{color:#ffc0b6}
.intelligence-confidence.unavailable{background:#f1eee9;color:#493f38;border-left-color:#b7a694}.intelligence-confidence.unavailable small,.intelligence-confidence.unavailable p{color:#72655d}.intelligence-confidence.unavailable em{color:#66584f}
.intelligence-confidence-dot{background:#70a574;box-shadow:0 0 0 5px rgba(112,165,116,.12)}
.intelligence-confidence.incomplete .intelligence-confidence-dot{background:#d99c42;box-shadow:0 0 0 5px rgba(217,156,66,.12)}
.intelligence-confidence.unavailable .intelligence-confidence-dot{background:#aa9986;box-shadow:0 0 0 5px rgba(170,153,134,.12)}
.intelligence-record-evidence,.intelligence-driver-summary,.intelligence-controls-body,.report-centre-selector,.report-filter-panel{width:100%;min-width:0;max-width:100%}

/* Payments: constrain the component itself. Wide tables may scroll inside their viewport, never the document. */
.workspace-payments .experience-canvas,.workspace-payments .admin-panel,.workspace-payments .table-wrap{width:100%;min-width:0;max-width:100%}
.workspace-payments .table-wrap{overflow-x:auto!important;overflow-y:hidden;contain:inline-size;overscroll-behavior-inline:contain}
.workspace-payments .table-wrap table{width:max-content!important;min-width:100%!important;max-width:none!important}
.workspace-payments .finance-kpis,.workspace-payments .admin-workspace-nav,.workspace-payments .admin-page-head{max-width:100%;min-width:0}

/* Actionable controls meet a deliberate touch floor in operational areas. */
body.admin-route button:not([disabled]),body.admin-route a[data-nav],body.admin-route .text-btn,body.admin-route select{min-height:var(--p3-touch)}
.experience-sidebar .brand,.experience-sidebar .experience-utilities a,.experience-sidebar .admin-logout{min-height:var(--p3-touch)!important}

@media(max-width:720px){
 html,body,#app{width:100%;max-width:100%}
 .experience-main,.experience-canvas,.admin-main{width:100%!important;max-width:100%!important;min-width:0!important}
 .experience-canvas{padding:10px 12px 82px!important}
 .experience-mobile-top{height:58px!important}.experience-mobile-top .icon-btn{width:44px!important;height:44px!important;min-height:44px!important}
 .experience-sidebar .brand{min-height:44px!important}.experience-sidebar .workspace-link,.experience-sidebar .experience-utilities a{min-height:46px!important}.experience-sidebar .admin-logout{width:44px!important;height:44px!important;min-height:44px!important}

 /* Intelligence mobile is intentionally vertical. No desktop columns, min-widths or wide evidence layout survive. */
 .workspace-reports .experience-canvas,.workspace-reports .intelligence-workspace,.workspace-reports .intelligence-investigation,.workspace-reports .intelligence-question-rail,.workspace-reports .intelligence-controls,.workspace-reports .intelligence-answer,.workspace-reports .intelligence-answer-main,.workspace-reports .intelligence-confidence,.workspace-reports .intelligence-evidence,.workspace-reports .intelligence-driver-summary,.workspace-reports .intelligence-record-evidence{width:100%!important;max-width:100%!important;min-width:0!important}
 .intelligence-workspace{display:block!important}.intelligence-question-rail{position:static!important;margin:0 0 10px!important;padding:10px!important;border-radius:15px!important}
 .intelligence-rail-head,.intelligence-questions{display:none!important}.p3-intelligence-question-select{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:48px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:#203d32;color:#fff;padding:0 12px;font:800 12px/1.2 Montserrat,sans-serif}
 .intelligence-controls{margin:0 0 10px!important}.intelligence-controls>summary{width:100%;min-width:0;gap:8px}.intelligence-controls>summary>*{min-width:0}.intelligence-controls-body{padding-inline:10px!important}.intelligence-controls .report-centre-selector,.intelligence-controls .report-filter-panel,.intelligence-controls .report-range-form{display:grid!important;grid-template-columns:1fr!important;width:100%!important;min-width:0!important}.intelligence-controls input,.intelligence-controls select,.intelligence-controls button{width:100%!important;min-width:0!important;max-width:100%!important}
 .intelligence-answer{display:flex!important;flex-direction:column!important;border-radius:18px!important;overflow:hidden!important}.intelligence-answer-main{padding:20px 16px 18px!important}.intelligence-answer-main>h1{font-size:27px!important;max-width:none!important;margin:6px 0 18px!important}.intelligence-answer-value{display:grid!important;grid-template-columns:1fr!important}.intelligence-answer-value strong{font-size:clamp(42px,14vw,58px)!important;max-width:100%;overflow-wrap:anywhere}.intelligence-answer-context{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin-top:18px!important;padding-top:14px!important}.intelligence-answer-context .btn{width:100%!important}
 .intelligence-confidence{display:grid!important;grid-template-columns:auto 1fr!important;gap:10px!important;padding:14px!important;border-left:0!important;border-top:3px solid #73a370!important}.intelligence-confidence.incomplete{border-top-color:#dfa34d!important}.intelligence-confidence.conflict{border-top-color:#ee897b!important}.intelligence-confidence.unavailable{border-top-color:#aa9986!important}.intelligence-confidence b{margin:3px 0!important}.intelligence-confidence p{font-size:10px!important;line-height:1.45!important}.intelligence-confidence em{margin-top:7px!important}
 .intelligence-evidence{padding:15px 12px!important;border-radius:17px!important}.intelligence-evidence>header{display:block!important}.intelligence-evidence>header h2{font-size:22px!important}.intelligence-evidence-steps{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}.intelligence-evidence-steps span{min-height:56px!important;display:grid!important;grid-template-columns:28px 1fr!important;column-gap:8px!important;align-items:center!important;padding:9px 10px!important}.intelligence-evidence-steps i{grid-row:1/3;margin:0!important}.intelligence-evidence-steps b,.intelligence-evidence-steps small{grid-column:2}.intelligence-driver-summary .report-kpis{grid-template-columns:1fr!important}.intelligence-driver-summary .report-kpis article{min-height:88px!important}.intelligence-record-evidence{overflow:hidden!important}.intelligence-record-evidence .table-wrap{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;contain:inline-size}.intelligence-record-evidence table{width:max-content!important;min-width:620px!important;max-width:none!important}

 /* Supply: mobile is a vertical state flow. */
 .workspace-procurement .p2-supply-pipeline{display:grid!important;grid-template-columns:1fr!important;width:100%!important;max-width:100%!important;gap:7px!important;overflow:visible!important}.workspace-procurement .p2-supply-pipeline a{width:100%!important;min-width:0!important;max-width:100%!important;min-height:72px!important;padding:12px 14px!important;display:grid!important;grid-template-columns:32px 1fr!important;align-items:center!important;gap:10px!important}.workspace-procurement .p2-supply-pipeline a i{grid-row:1/3;align-self:center}.workspace-procurement .p2-supply-pipeline a>div{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;min-width:0}.workspace-procurement .p2-supply-pipeline a b{font-size:12px}.workspace-procurement .p2-supply-pipeline a strong{font-size:22px}.workspace-procurement .p2-supply-pipeline a small{grid-column:1/-1}.workspace-procurement .p2-supply-pipeline a:after{display:none!important}.workspace-procurement .p2-supply-pipeline a.p3-current-stage{background:var(--p3-green)!important;color:#fff!important;border-color:var(--p3-green)!important}.workspace-procurement .p2-supply-pipeline a.p3-current-stage small,.workspace-procurement .p2-supply-pipeline a.p3-current-stage i{color:#c9d9d2!important}

 /* Mobile workspaces are exception-first; secondary information stays available on demand. */
 .p3-mobile-secondary{border:1px solid var(--p3-line);border-radius:15px;background:#fff;margin:0 0 11px;overflow:hidden}.p3-mobile-secondary>summary{list-style:none;min-height:48px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:11px;font-weight:900;cursor:pointer}.p3-mobile-secondary>summary::-webkit-details-marker{display:none}.p3-mobile-secondary>summary:after{content:'+';font-size:18px}.p3-mobile-secondary[open]>summary:after{content:'−'}.p3-mobile-secondary>.p3-secondary-content{padding:0 10px 10px}.p3-mobile-secondary>.p3-secondary-content>.admin-panel{margin-bottom:8px!important}
 .workspace-inventory .p2-stock-room,.workspace-accounts .p2-money-flow,.workspace-jobs .p2-field-board,.workspace-marketing .p2-marketing-flow{margin-bottom:10px!important}.p2-stock-zone,.p2-money-flow a,.p2-field-stage,.p2-marketing-flow a{min-height:78px!important;padding:13px!important}.p2-stock-zone strong,.p2-field-stage strong{font-size:26px!important}.p2-money-flow strong{font-size:21px!important}.p2-marketing-flow b{font-size:14px!important}

 /* Payments: internal scroll only. */
 .workspace-payments .experience-canvas,.workspace-payments .admin-page-head,.workspace-payments .admin-workspace-nav,.workspace-payments .finance-kpis,.workspace-payments .admin-panel,.workspace-payments .table-wrap{width:100%!important;max-width:100%!important;min-width:0!important}.workspace-payments .table-wrap{margin-inline:0!important;padding-inline:0!important;contain:inline-size!important}.workspace-payments .table-wrap table{min-width:720px!important;width:720px!important}.workspace-payments .admin-workspace-nav{overflow-x:auto!important}.workspace-payments .admin-workspace-nav nav{width:max-content;max-width:none}

 /* Public commerce: actual 44px touch targets rather than decorative compact links. */
 body:not(.admin-route):not(.pos-route) .mobile-menu-btn,body:not(.admin-route):not(.pos-route) .icon-btn{min-width:44px!important;width:44px!important;min-height:44px!important;height:44px!important}
 body:not(.admin-route):not(.pos-route) .category-chips a{min-height:44px!important;display:inline-flex!important;align-items:center!important;padding-block:10px!important}
 body:not(.admin-route):not(.pos-route) .compare-control{min-height:44px!important;min-width:64px!important;padding:8px 9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
 body:not(.admin-route):not(.pos-route) .product-card-detail,body:not(.admin-route):not(.pos-route) .section-head>.text-link{min-height:44px!important;display:flex!important;align-items:center!important}
 body:not(.admin-route):not(.pos-route) .site-footer .footer-grid a,body:not(.admin-route):not(.pos-route) .site-footer .footer-bottom a{min-height:44px!important;display:flex!important;align-items:center!important;margin:0!important}
 body:not(.admin-route):not(.pos-route) .site-footer .footer-grid>div{display:grid;align-content:start;gap:2px}.site-footer .footer-bottom span:last-child{align-items:center}

 /* POS touch ergonomics. */
 body.pos-route .pos-nav a{min-height:48px!important}body.pos-route .pos-signout,body.pos-route .pos-top-action{min-height:44px!important}body.pos-route .pos-category-strip button,body.pos-route [data-pos-category],body.pos-route .pos-filter-chip,body.pos-route .pos-clear,body.pos-route [data-pos-clear]{min-height:44px!important}body.pos-route .pos-brand-zone>a{min-height:44px!important;display:flex!important;align-items:center!important}
}

/* ===== reconstruction-pass4-final.css ===== */
/* Petmary Experience Reconstruction Pass 4 — final local experience hardening.
   Architecture frozen. Fixes mobile flow, Payments, POS/public ergonomics and user language surfaces. */
:root{--p4-touch:44px;--p4-deep:#102b22;--p4-lime:#c9ef88;--p4-paper:#f5f3eb;--p4-line:rgba(16,32,26,.13);--p4-muted:#66746d}
*,*::before,*::after{box-sizing:border-box}

/* Desktop Payments: no document-level overflow. */
.workspace-payments,.workspace-payments .experience-main,.workspace-payments .experience-canvas,.workspace-payments .admin-panel,.workspace-payments .admin-workspace-nav{min-width:0;max-width:100%}
.workspace-payments .admin-workspace-nav nav{max-width:100%}
.workspace-payments .table-wrap{width:100%;max-width:100%;overflow:auto;contain:inline-size}
.workspace-payments .table-wrap table{min-width:980px!important;width:100%!important;max-width:none!important}

/* User-facing action links should be real targets. */
body.admin-route .admin-brand-lockup,body.admin-route .text-btn,body.admin-route .table-action,body.admin-route .admin-panel a,body.admin-route .admin-head-actions a{min-height:44px}
body.admin-route .admin-brand-lockup{display:inline-flex;align-items:center}

@media(max-width:720px){
  /* Critical shell fix: the off-canvas sidebar must not consume the first viewport. */
  body.admin-route .admin-app{display:block!important;min-height:100dvh!important}
  body.admin-route .experience-sidebar{display:flex!important;position:fixed!important;left:0!important;top:0!important;bottom:0!important;height:100dvh!important;margin:0!important;transform:translateX(-110%)!important;z-index:1000!important}
  body.admin-route .experience-sidebar.mobile-open{transform:translateX(0)!important}
  body.admin-route .experience-main{margin:0!important;min-height:100dvh!important;padding:0!important}
  body.admin-route .experience-mobile-top{display:flex!important;position:sticky!important;top:0!important;margin:0!important;z-index:950!important}
  body.admin-route .experience-canvas{padding-top:12px!important}
  body.admin-route .experience-brand .admin-brand-lockup{min-height:44px!important}
  body.admin-route .experience-mobile-top .admin-brand-lockup{min-height:44px!important;padding:0 6px!important}

  /* Today is for decisions, not a second sitemap. */
  .command-workspace-map{display:none!important}

  /* Money navigation becomes one deliberate selector instead of a clipped tab strip. */
  .admin-workspace-nav.p4-select-nav{overflow:visible!important;padding:8px 12px!important}
  .admin-workspace-nav.p4-select-nav>span,.admin-workspace-nav.p4-select-nav>nav{display:none!important}
  .p4-money-nav-select{display:block;width:100%;height:48px;margin:0!important;border:1px solid var(--p4-line);border-radius:12px;background:#fff;color:#10271e;padding:0 12px;font-weight:800}

  /* Mobile Money: exception first; detailed accounting remains available through links/select. */
  .workspace-accounts .p4-money-mobile{display:grid;gap:10px;margin:0 0 12px}
  .p4-money-needs,.p4-money-today{border:1px solid var(--p4-line);border-radius:18px;background:#fff;padding:15px}
  .p4-money-needs>span,.p4-money-today>span{font-size:9px;letter-spacing:.14em;font-weight:900;color:#3d7159}
  .p4-money-needs h2{font-size:21px;letter-spacing:-.03em;margin:5px 0 10px}
  .p4-money-needs>div{display:grid;gap:7px}
  .p4-money-needs a{display:grid;grid-template-columns:1fr auto;gap:2px 12px;align-items:center;min-height:66px;padding:10px 11px;border:1px solid #e2e7df;border-radius:13px;background:#fafbf7}
  .p4-money-needs a b{font-size:12px}.p4-money-needs a small{grid-column:1;color:var(--p4-muted);font-size:9px}.p4-money-needs a em{grid-column:2;grid-row:1/3;font-style:normal;font-size:10px;font-weight:900}
  .p4-money-today>div{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.p4-money-today a{min-height:76px;padding:11px;border:1px solid #e2e7df;border-radius:13px;display:grid;align-content:center;gap:4px}.p4-money-today small{color:var(--p4-muted);font-size:9px}.p4-money-today strong{font-size:12px}
  .p4-money-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.p4-money-actions a{min-height:48px;border-radius:12px;background:var(--p4-deep);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center;padding:7px;font-size:10px;font-weight:900}
  .workspace-accounts .experience-canvas.p4-money-mobile-active .finance-action-grid{display:none!important}
  .workspace-accounts .experience-canvas.p4-money-mobile-active .p2-money-flow{display:none!important}
  .workspace-accounts .experience-canvas.p4-money-mobile-active .finance-kpis{display:none!important}
  .workspace-accounts .experience-canvas.p4-money-mobile-active .admin-page-head{margin-bottom:10px!important}

  /* Payments become scannable cards on phone. */
  .workspace-payments .p4-payment-table-desktop{display:none!important}
  .p4-payment-cards{display:grid;gap:9px;margin-top:5px}
  .p4-payment-card{border:1px solid var(--p4-line);border-radius:16px;background:#fff;padding:14px;min-width:0}
  .p4-payment-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.p4-payment-card-head>div{display:grid;gap:2px}.p4-payment-card-head small{font-size:9px;color:var(--p4-muted);text-transform:uppercase;letter-spacing:.1em}.p4-payment-card-head strong{font-size:22px;letter-spacing:-.035em}.p4-payment-card-head>span{padding:6px 8px;border-radius:999px;background:#eef5ea;font-size:9px;font-weight:900;white-space:nowrap}
  .p4-payment-card h3{font-size:14px;margin:10px 0 8px}.p4-payment-card dl{display:grid;gap:5px;margin:0}.p4-payment-card dl>div{display:grid;grid-template-columns:76px 1fr;gap:8px;font-size:10px}.p4-payment-card dt{color:var(--p4-muted)}.p4-payment-card dd{margin:0;font-weight:750;overflow-wrap:anywhere}.p4-payment-open{display:flex;min-height:46px;margin-top:12px;border-radius:12px;background:var(--p4-deep);color:#fff;align-items:center;justify-content:center;font-size:11px;font-weight:900}
  .workspace-payments .admin-panel{overflow:hidden!important}.workspace-payments .admin-inline-search{display:grid!important;grid-template-columns:1fr!important;width:100%;gap:7px}.workspace-payments .admin-inline-search input,.workspace-payments .admin-inline-search select,.workspace-payments .admin-inline-search button{width:100%!important;min-width:0!important;min-height:46px!important;margin:0!important}.workspace-payments .admin-panel-head{display:grid!important;gap:8px!important;align-items:start!important}.workspace-payments .admin-panel-head>span{justify-self:start}

  /* Public store touch ergonomics. */
  body:not(.admin-route):not(.pos-route) .header-inner>.brand{min-height:44px!important;display:inline-flex!important;align-items:center!important}
  body:not(.admin-route):not(.pos-route) .cart-link,body:not(.admin-route):not(.pos-route) [data-cart-open]{min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  body:not(.admin-route):not(.pos-route) .product-title-link,body:not(.admin-route):not(.pos-route) .product-info h3>a,body:not(.admin-route):not(.pos-route) .product-card h3>a{min-height:44px!important;display:flex!important;align-items:center!important}
  body:not(.admin-route):not(.pos-route) .system-foot a,body:not(.admin-route):not(.pos-route) .hero-actions a,body:not(.admin-route):not(.pos-route) .final-cta a,body:not(.admin-route):not(.pos-route) .secondary-category-links a,body:not(.admin-route):not(.pos-route) .application-actions .text-link,body:not(.admin-route):not(.pos-route) .home-help-row .text-link,body:not(.admin-route):not(.pos-route) .breadcrumb a,body:not(.admin-route):not(.pos-route) .breadcrumbs a{min-height:44px!important;display:inline-flex!important;align-items:center!important}
  body:not(.admin-route):not(.pos-route) .results-bar select{min-height:44px!important}
  body:not(.admin-route):not(.pos-route) .site-footer a{min-width:44px!important;min-height:44px!important;display:flex!important;align-items:center!important}

  /* POS: compact mobile command bar, then search/scan and current sale. */
  body.pos-route .pos-topbar{display:grid!important;grid-template-columns:1fr auto!important;gap:6px 8px!important;padding:7px 9px!important;min-height:0!important;height:auto!important;align-items:center!important}
  body.pos-route .pos-brand-zone{grid-column:1;min-width:0}body.pos-route .pos-brand-zone>a{min-height:44px!important;display:flex!important;align-items:center!important}body.pos-route .pos-terminal-label{display:none!important}
  body.pos-route .pos-user{grid-column:2;display:flex!important;justify-content:flex-end!important;gap:4px!important}body.pos-route .pos-user .pos-workstation-status,body.pos-route .pos-user .admin-avatar,body.pos-route .pos-user-name,body.pos-route .pos-top-action{display:none!important}body.pos-route .pos-signout{min-width:76px!important;min-height:44px!important;height:44px!important;padding:0 10px!important;font-size:10px!important}
  body.pos-route .pos-nav{grid-column:1/-1!important;order:3!important;width:100%!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:4px!important;overflow:visible!important}body.pos-route .pos-nav a{min-width:0!important;min-height:46px!important;height:auto!important;padding:6px 4px!important;display:grid!important;place-content:center!important;text-align:center!important;border-radius:9px!important}body.pos-route .pos-nav a span{font-size:10px!important}body.pos-route .pos-nav a small{font-size:8px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.pos-route .pos-category-strip button,body.pos-route [data-pos-category],body.pos-route .pos-filter-chip{min-height:44px!important;height:44px!important;padding-block:0!important}
  body.pos-route .pos-clear,body.pos-route .pos-clear-sale,body.pos-route [data-pos-clear]{min-width:44px!important;min-height:44px!important;height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  body.pos-route .pos-search{min-height:50px!important}body.pos-route .pos-search input{min-height:48px!important}

  /* The local-audit ribbon must not obscure payment/POS controls. */
  .local-audit-ribbon{pointer-events:none!important;opacity:.92}
}
@media(min-width:721px){
 .workspace-payments .admin-workspace-nav{overflow:hidden!important}
 .workspace-payments .admin-workspace-nav nav{width:auto!important;max-width:100%!important;display:flex!important;flex-wrap:wrap!important}
}

/* ===== reconstruction-pass5-release.css ===== */
/* Petmary Experience Reconstruction Pass 5 — release hardening only. */
:root{--p5-deep:#102b22;--p5-paper:#f5f3eb;--p5-line:rgba(16,32,26,.13);--p5-muted:#66746d}
.p5-advanced-accounting{margin:16px 0 0;border:1px solid var(--p5-line);border-radius:18px;background:#fff;overflow:hidden}
.p5-advanced-accounting>summary{min-height:64px;padding:14px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;cursor:pointer;list-style:none}.p5-advanced-accounting>summary::-webkit-details-marker{display:none}.p5-advanced-accounting>summary span{display:grid;gap:3px}.p5-advanced-accounting>summary b{font-size:14px}.p5-advanced-accounting>summary small{font-size:10px;color:var(--p5-muted)}.p5-advanced-accounting>summary em{font-size:9px;font-style:normal;font-weight:900;color:#47715e}.p5-advanced-accounting-body{padding:0 14px 14px}.p5-advanced-actions{display:flex;justify-content:flex-end;padding:0 0 10px}.p5-advanced-accounting .admin-panel{margin-bottom:10px!important;box-shadow:none!important;background:#fafbf8!important}
.p5-unavailable-action{opacity:.72!important;cursor:not-allowed!important;background:#dfe4df!important;color:#536159!important;border-color:#dfe4df!important}
.workspace-procurement .p2-supply-pipeline strong{font-variant-numeric:tabular-nums;line-height:1}

@media(max-width:720px){
  /* Finish the remaining target-size defects measured by Pass 4. */
  body:not(.admin-route):not(.pos-route) .breadcrumb a,body:not(.admin-route):not(.pos-route) .breadcrumbs a{min-width:44px!important;min-height:44px!important;justify-content:center!important}
  body:not(.admin-route):not(.pos-route) .footer-social a,body:not(.admin-route):not(.pos-route) .social-links a,body:not(.admin-route):not(.pos-route) a[aria-label]:empty{min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
  .workspace-orders .table-wrap a{min-width:44px!important;min-height:44px!important;display:inline-flex!important;align-items:center!important}
  .workspace-reports button{min-height:44px!important}
  .workspace-jobs .admin-workspace-nav a{min-width:44px!important;min-height:44px!important}
  .workspace-marketing a{min-height:44px!important}
  body.pos-route .pos-category-strip button,body.pos-route [data-pos-category]{min-width:44px!important;min-height:44px!important}

  /* Advanced accounting stays available without occupying the daily Money journey. */
  .p5-advanced-accounting{margin-top:10px}.p5-advanced-accounting>summary{min-height:54px;padding:11px 13px}.p5-advanced-accounting>summary em{display:none}.p5-advanced-accounting-body{padding:0 8px 8px}

  /* Light public-home compression only: preserve the design, remove repetitive vertical air. */
  body.p5-public-home .section{padding-top:44px!important;padding-bottom:44px!important}
  body.p5-public-home .section+.section{padding-top:38px!important}
  body.p5-public-home .hero-actions{gap:8px!important}
  body.p5-public-home .product-grid,body.p5-public-home .category-grid{gap:12px!important}
}
@media(max-width:720px){
 body:not(.admin-route):not(.pos-route) .system-foot a{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
}

/* ===== reconstruction-pass6-release-candidate.css ===== */
/* Petmary Pass 6 — release candidate cleanup only. No architecture changes. */
html.p6-po-detail .p2-supply-pipeline{display:none!important}
@media(max-width:720px){
  /* Pass 5 audit: Reports/Profit/Cash contained .btn.small controls that won the specificity battle at 40px. */
  body.admin-route .workspace-reports button.btn.small,
  body.admin-route .workspace-reports .btn.small{min-height:44px!important}
  /* Pass 5 audit: one Money action remained 40px. */
  body.admin-route .workspace-accounts button.btn.small,
  body.admin-route .workspace-accounts .btn.small{min-height:44px!important}
  /* Pass 5 audit: Field 'All' filter was 36×44. */
  body.admin-route .workspace-jobs .admin-filter-chips a,
  body.admin-route .workspace-jobs .admin-workspace-nav a{min-width:44px!important;min-height:44px!important;justify-content:center!important}
  /* Pass 5 audit: Marketing 'Publishing settings' remained 40px high. */
  body.admin-route .workspace-marketing a.btn.small,
  body.admin-route .workspace-marketing .admin-panel-head a,
  body.admin-route .workspace-marketing a.text-btn{min-height:44px!important}
}

/* ===== reconstruction-pass6-1-final-cleanup.css ===== */
/* Petmary Pass 6.1 — final release-candidate cleanup. Architecture remains frozen. */

/* Admin primary controls must retain readable contrast on the reconstructed deep-green surface. */
body.admin-route .btn.primary{
  color:#fff!important;
}

/* Unavailable actions must look deliberately unavailable, not broken or low-contrast. */
body.admin-route .workspace-accounts button:disabled,
body.admin-route .workspace-accounts [aria-disabled="true"],
body.admin-route .workspace-reports .intelligence-unavailable-action{
  background:#eef1ed!important;
  color:#657069!important;
  border:1px solid #d6ddd7!important;
  box-shadow:none!important;
  opacity:1!important;
  cursor:not-allowed!important;
  transform:none!important;
}
body.admin-route .workspace-accounts .text-btn:disabled{
  background:transparent!important;
  border-color:transparent!important;
  color:#7a847e!important;
  padding-inline:0!important;
}
body.admin-route .workspace-reports .intelligence-unavailable-action:hover{
  background:#eef1ed!important;
  color:#657069!important;
  transform:none!important;
}


/* ===== RC6.3 whole-product usability consistency ===== */
:root{--p63-deep:#12372c;--p63-line:rgba(18,55,44,.14);--p63-muted:#66766e;--p63-paper:#f6f5ef}

/* Shared brand lockup: PETMARY + OPERATIONS must read as one deliberate identity. */
body.admin-route .experience-brand{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:5px!important;padding:2px 7px 16px!important;
}
body.admin-route .experience-brand .admin-brand-lockup{width:100%!important;min-width:0!important;max-width:100%!important;gap:9px!important;overflow:visible!important}
body.admin-route .experience-brand .admin-brand-words{display:flex!important;align-items:baseline!important;gap:6px!important;min-width:0!important;white-space:nowrap!important}
body.admin-route .experience-brand .admin-brand-words strong{font-size:.84rem!important;letter-spacing:.07em!important;line-height:1!important}
body.admin-route .experience-brand .admin-brand-words small{font-size:.50rem!important;letter-spacing:.13em!important;line-height:1!important;white-space:nowrap!important}
body.admin-route .experience-brand .experience-status{margin-left:45px!important;max-width:calc(100% - 45px)!important;font-size:7px!important;line-height:1!important;padding:3px 7px!important}

/* The workspace menu owns the scroll. Utilities remain anchored and the app restores this position after renders. */
body.admin-route .experience-sidebar .experience-workspaces{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable}
body.admin-route .experience-sidebar .experience-utilities{flex:0 0 auto!important;min-height:auto!important;overflow:visible!important}
body.admin-route .experience-sidebar .workspace-link.active{scroll-margin-block:18px}

/* Shared metric typography: numbers should scan cleanly instead of colliding with labels. */
body.admin-route .admin-cards>*,
body.admin-route .finance-kpis>*,
body.admin-route .report-kpis>*,
body.admin-route .record-kpis>*,
body.admin-route .marketing-command-kpis>*,
body.admin-route .p2-stock-zone,
body.admin-route .p2-field-stage,
body.admin-route .p2-money-flow>a,
body.admin-route .p2-supply-pipeline>a{min-width:0!important}
body.admin-route .admin-cards strong,
body.admin-route .finance-kpis strong,
body.admin-route .report-kpis strong,
body.admin-route .record-kpis strong,
body.admin-route .marketing-command-kpis strong,
body.admin-route .p2-stock-zone strong,
body.admin-route .p2-field-stage strong,
body.admin-route .p2-money-flow strong,
body.admin-route .p2-supply-pipeline strong{
  font-variant-numeric:tabular-nums lining-nums;font-feature-settings:'tnum' 1,'lnum' 1;
  line-height:1!important;letter-spacing:-.035em;overflow-wrap:anywhere
}
body.admin-route .admin-cards small,
body.admin-route .finance-kpis small,
body.admin-route .report-kpis small,
body.admin-route .record-kpis small,
body.admin-route .marketing-command-kpis small,
body.admin-route .p2-stock-zone small,
body.admin-route .p2-field-stage small,
body.admin-route .p2-money-flow small,
body.admin-route .p2-supply-pipeline small{line-height:1.35!important}

/* Supply workflow: title, count and explanation each get their own visual lane on desktop too. */
body.admin-route .workspace-procurement .p2-supply-pipeline>a{padding:16px 17px!important;align-content:stretch!important}
body.admin-route .workspace-procurement .p2-supply-pipeline>a>div{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-areas:'label value' 'help help'!important;gap:7px 12px!important;
  align-items:end!important;min-width:0!important
}
body.admin-route .workspace-procurement .p2-supply-pipeline>a>div>b{grid-area:label!important;font-size:11px!important;line-height:1.18!important;align-self:end}
body.admin-route .workspace-procurement .p2-supply-pipeline>a>div>strong{grid-area:value!important;font-size:32px!important;line-height:.88!important;align-self:end!important;justify-self:end!important}
body.admin-route .workspace-procurement .p2-supply-pipeline>a>div>small{grid-area:help!important;display:block!important;min-width:0!important;font-size:9px!important;line-height:1.32!important;overflow-wrap:anywhere}

/* Reports: quick decisions first, advanced analysis second. No permanent dark question column. */
body.admin-route .workspace-reports .intelligence-workspace{display:block!important}
body.admin-route .workspace-reports .intelligence-question-rail.intelligence-simple-rail{
  position:static!important;width:100%!important;max-width:100%!important;margin:0 0 12px!important;
  padding:16px!important;border:1px solid var(--p63-line)!important;border-radius:18px!important;
  background:#fff!important;color:var(--p63-deep)!important;box-shadow:none!important
}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-rail-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:18px!important;margin:0 0 12px!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-rail-head span{font:900 11px/1.1 Montserrat,sans-serif!important;letter-spacing:.12em!important;text-transform:uppercase!important;color:#557067!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-rail-head small{font-size:10px!important;line-height:1.35!important;color:var(--p63-muted)!important;text-align:right!important;max-width:430px}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions{display:grid!important;gap:8px!important}
body.admin-route .workspace-reports .intelligence-quick-questions{grid-template-columns:repeat(4,minmax(0,1fr))!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button{
  min-width:0!important;min-height:76px!important;padding:12px 13px!important;border:1px solid var(--p63-line)!important;
  border-radius:13px!important;background:#f8f9f5!important;color:var(--p63-deep)!important;text-align:left!important;
  display:grid!important;align-content:start!important;gap:4px!important;box-shadow:none!important
}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button:hover{background:#f0f5ed!important;border-color:rgba(18,55,44,.25)!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button.active{background:var(--p63-deep)!important;color:#fff!important;border-color:var(--p63-deep)!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button b{font-size:12px!important;line-height:1.2!important;color:inherit!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button span{font-size:9px!important;line-height:1.35!important;color:#697970!important}
body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button.active span{color:#c7d8d0!important}
body.admin-route .workspace-reports .intelligence-more{margin-top:10px;border-top:1px solid var(--p63-line);padding-top:10px}
body.admin-route .workspace-reports .intelligence-more>summary{list-style:none;cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px}
body.admin-route .workspace-reports .intelligence-more>summary::-webkit-details-marker{display:none}
body.admin-route .workspace-reports .intelligence-more>summary b{font-size:11px}
body.admin-route .workspace-reports .intelligence-more>summary span{font-size:9px;color:var(--p63-muted);text-align:right}
body.admin-route .workspace-reports .intelligence-more>summary:after{content:'+';font-size:18px;font-weight:800;color:#587267}
body.admin-route .workspace-reports .intelligence-more[open]>summary:after{content:'−'}
body.admin-route .workspace-reports .intelligence-more-questions{grid-template-columns:repeat(4,minmax(0,1fr))!important;margin-top:8px}
body.admin-route .workspace-reports .p3-intelligence-question-select{display:none!important}
body.admin-route .workspace-reports .p63-period-only{grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important}
body.admin-route .workspace-reports .intelligence-answer.empty .intelligence-confidence{background:#f3f6f1!important;border-color:#cbd8ce!important}
body.admin-route .workspace-reports .intelligence-answer.empty .intelligence-confidence-dot{background:#7d9686!important}

@media(max-width:1050px){
  body.admin-route .workspace-reports .intelligence-quick-questions,
  body.admin-route .workspace-reports .intelligence-more-questions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  body.admin-route .experience-brand{padding-bottom:12px!important}
  body.admin-route .experience-brand .experience-status{margin-left:43px!important}
  body.admin-route .workspace-procurement .p2-supply-pipeline>a{grid-template-columns:32px minmax(0,1fr)!important;padding:12px 14px!important}
  body.admin-route .workspace-procurement .p2-supply-pipeline>a>div{grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:'label value' 'help help'!important}
  body.admin-route .workspace-procurement .p2-supply-pipeline>a>div>strong{font-size:24px!important}
  body.admin-route .workspace-reports .intelligence-question-rail.intelligence-simple-rail{padding:12px!important;border-radius:15px!important}
  body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-rail-head{display:block!important;margin-bottom:10px!important}
  body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-rail-head small{display:block!important;text-align:left!important;margin-top:4px!important}
  body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions{display:grid!important}
  body.admin-route .workspace-reports .intelligence-quick-questions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.admin-route .workspace-reports .intelligence-more-questions{grid-template-columns:1fr!important}
  body.admin-route .workspace-reports .intelligence-simple-rail .intelligence-questions button{min-height:70px!important;padding:10px 11px!important}
  body.admin-route .workspace-reports .p63-period-only{grid-template-columns:1fr!important}
  body.admin-route .workspace-reports .report-presets{display:flex!important;overflow-x:auto!important;gap:6px!important;padding-bottom:3px!important}
  body.admin-route .workspace-reports .report-presets button{flex:0 0 auto!important;width:auto!important;min-width:72px!important}
}


/* ===== RC6.3B shared Supply pipeline correction =====
   One visual grammar across Purchasing, Purchase Orders, Receiving and Suppliers. */
body.admin-route .p2-supply-pipeline{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;overflow:visible!important}
body.admin-route .p2-supply-pipeline>a{
  position:relative!important;min-width:0!important;max-width:100%!important;min-height:118px!important;
  padding:16px 17px!important;display:grid!important;grid-template-columns:28px minmax(0,1fr)!important;
  gap:10px!important;align-items:stretch!important;align-content:center!important;overflow:visible!important
}
body.admin-route .p2-supply-pipeline>a>i{grid-column:1!important;align-self:start!important;padding-top:2px!important;font-size:9px!important;line-height:1!important}
body.admin-route .p2-supply-pipeline>a>div{
  grid-column:2!important;min-width:0!important;display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;grid-template-areas:'value label' 'value help'!important;
  column-gap:12px!important;row-gap:4px!important;align-items:center!important
}
body.admin-route .p2-supply-pipeline>a>div>strong{
  grid-area:value!important;display:block!important;align-self:center!important;justify-self:start!important;
  font-size:32px!important;line-height:.9!important;letter-spacing:-.045em!important;white-space:nowrap!important
}
body.admin-route .p2-supply-pipeline>a>div>b{
  grid-area:label!important;display:block!important;align-self:end!important;min-width:0!important;
  font-size:12px!important;line-height:1.16!important;white-space:normal!important;overflow-wrap:normal!important
}
body.admin-route .p2-supply-pipeline>a>div>small{
  grid-area:help!important;display:block!important;align-self:start!important;min-width:0!important;
  font-size:9px!important;line-height:1.3!important;white-space:normal!important;overflow-wrap:anywhere!important
}
body.admin-route .p2-supply-pipeline>a.p3-current-stage{background:var(--p3-green,#123d32)!important;color:#fff!important;border-color:var(--p3-green,#123d32)!important}
body.admin-route .p2-supply-pipeline>a.p3-current-stage small,
body.admin-route .p2-supply-pipeline>a.p3-current-stage i{color:#c9d9d2!important}
@media(max-width:1050px){body.admin-route .p2-supply-pipeline{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:720px){
  body.admin-route .p2-supply-pipeline{grid-template-columns:1fr!important;gap:7px!important}
  body.admin-route .p2-supply-pipeline>a{min-height:82px!important;padding:12px 14px!important;grid-template-columns:24px minmax(0,1fr)!important;gap:9px!important}
  body.admin-route .p2-supply-pipeline>a>div{grid-template-columns:42px minmax(0,1fr)!important;column-gap:10px!important}
  body.admin-route .p2-supply-pipeline>a>div>strong{font-size:25px!important}
  body.admin-route .p2-supply-pipeline>a>div>b{font-size:11px!important}
  body.admin-route .p2-supply-pipeline>a:after{display:none!important}
}

/* RC6.3C final usability verification */
