/* Stronger marketplace hierarchy, within the existing orange / white identity. */
.stone-presence .site-header{box-shadow:0 3px 12px #22263009}
.stone-presence .main-nav{gap:12px}
.stone-presence .main-nav a{padding:13px 12px 15px;border-radius:6px 6px 0 0}
.stone-presence .main-nav a[aria-current="page"],.stone-presence .main-nav a:hover{background:#fff1e7;color:#a4420f}
.stone-market-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 0 4px 20px;border:0;border-left:3px solid #ff7d2e;background:transparent;margin-bottom:22px}
.stone-market-heading .page-title{font-size:32px;line-height:1.3}
.stone-market-heading .muted{margin-top:7px}
.stone-market-heading .btn-primary{flex:none;min-height:48px;padding:11px 24px;box-shadow:0 4px 12px #b7430a24}
.stone-presence .steps-bar{border:0;border-bottom:1px solid #dfe3e9;padding:6px 4px 18px;color:#5c6370;gap:14px}
.stone-presence .steps-bar b{color:#a4420f;background:#ffe5d2;width:27px;height:27px;font-size:12px;flex:none}
.stone-presence .steps-bar span:first-child{color:#a4420f;font-weight:600}
.stone-presence .market-filter{border-color:#d9dfe7;box-shadow:none}
.stone-presence .price-history{border-color:#d9dfe7;box-shadow:none}
.stone-presence .history-heading{padding-bottom:9px;border-bottom:1px solid #edf0f3}
.stone-presence .history-groups{border:0;gap:8px;margin-bottom:6px}
.stone-presence .history-groups button{border:1px solid transparent;border-radius:6px;padding:7px 12px;min-height:38px}
.stone-presence .history-groups button[aria-pressed="true"]{border-color:#e6b08e;background:#fff1e7;color:#a4420f}
.stone-presence #history-current{display:inline-block;padding:7px 12px;background:#fff8f3;color:#a4420f;border-radius:5px;font-weight:600}
.stone-presence #market-board{border-color:#d9dfe7;box-shadow:none}
.stone-presence .market-sortbar{gap:5px;padding:12px 15px 7px;background:#fafbfc}
.stone-presence .market-sort{border-radius:5px;padding:7px 15px;min-height:38px}
.stone-presence .market-sort+.market-sort::before{display:none}
.stone-presence .market-sort[aria-pressed="true"]{background:#fff1e7;color:#a4420f;box-shadow:inset 0 0 0 1px #ecc9b1}
.stone-presence .market-sort-description{background:#fafbfc;padding-top:0}
.stone-presence .listing-row:hover,.stone-presence .listing-row:focus-within{background:#fff8f3}
.stone-presence .listing-action .btn{border-color:#edb896;background:#fff1e7;color:#973909;font-weight:700}
.stone-presence .listing-action .btn:hover{background:#ff7d2e;border-color:#ff7d2e;color:#331d0d}
.stone-presence .listing-action .btn:disabled{background:#eceef1;border-color:#e3e5e9;color:#6b7280}
.stone-presence .listing-quantity,.stone-presence .listing-total-price{font-variant-numeric:tabular-nums;font-weight:800}
.stone-presence .quantity-match-trigger{box-shadow:0 4px 12px #b7430a24}
.stone-presence .intent-service{padding:20px;background:#fff8f3;border:1px solid #e8c6ac;border-radius:8px}
.stone-presence .intent-service-code{padding:8px;background:#fff;border:1px solid #e2e5ea;border-radius:6px;width:194px}
.stone-presence .intent-service-image{max-width:100%;height:auto;aspect-ratio:1}
.stone-presence .service-avatar{width:56px;height:56px;flex-basis:56px}
.stone-presence .check-label:has(input:checked){color:#216a45;font-weight:600}
html[data-motion="full"] .stone-presence .listing-row{transition:background-color 160ms ease-out}
html[data-motion="full"] .stone-presence .history-groups button{transition:background-color 180ms ease-out,border-color 180ms ease-out}
@media(max-width:700px){
 .stone-presence main.page-container{padding-top:22px}
 .stone-presence .main-nav{gap:5px}.stone-presence .main-nav a{padding-inline:9px}
 .stone-market-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;padding:0 0 0 12px;gap:9px 10px;align-items:center;margin-bottom:20px}
 .stone-market-heading>div{display:contents}
 .stone-market-heading .page-title{grid-column:1;grid-row:1;font-size:26px}.stone-market-heading .muted{grid-column:1/-1;grid-row:2;margin:0;font-size:13px;line-height:1.75}
 .stone-market-heading .btn-primary{grid-column:2;grid-row:1;min-height:44px;padding:9px 13px}
 .stone-presence .steps-bar{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:12px}
 .stone-presence .steps-bar i{display:none}.stone-presence .steps-bar span{gap:8px}
 .stone-presence .market-sortbar{gap:1px;padding:9px 5px 5px}.stone-presence .market-sort{padding:6px 9px;font-size:12px}
 .stone-presence .intent-service{padding:16px 12px}.stone-presence .intent-service-code{width:194px}
}
/* Quiet framing leaves price, quantity and the next action as the visual anchors. */
.stone-presence .main-nav{scrollbar-width:thin;scrollbar-color:#c8cdd5 transparent}
.stone-presence .main-nav a:focus-visible{outline-offset:-3px}
.stone-presence #demo-message{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;font-size:12px}
.stone-presence #demo-message>div{flex:none;margin-top:0;gap:8px}
.stone-presence #demo-message .btn{min-height:36px;padding:6px 12px;font-size:12px}
.stone-presence .history-heading .section-title{font-size:19px;line-height:1.5}
.stone-presence .history-day{border:1px solid transparent}
.stone-presence .history-day[aria-pressed="true"]{border-color:#e6b08e}
.stone-presence .history-day strong{font-size:15px;font-weight:700;line-height:1.7}
.stone-presence #history-current{margin-top:12px;line-height:1.7}
.stone-presence .listing-quantity{letter-spacing:-.025em;font-size:23px}
.stone-presence .listing-total-price{letter-spacing:-.025em}
.stone-presence .listing-row:focus-within{box-shadow:inset 3px 0 #b7430a}
@media(max-width:700px){
 .stone-presence #demo-message{flex-wrap:wrap;padding:12px 14px;gap:8px}
 .stone-presence #demo-message .btn{min-height:44px}
 .stone-presence .history-heading .section-title{font-size:17px}
 .stone-presence .history-groups button,.stone-presence .history-navigation button,.stone-presence .market-sort{min-height:44px}
 .stone-presence .listing-action .btn{min-height:44px}
 .stone-presence .history-day{font-size:12px;padding-inline:1px}.stone-presence .history-day small{font-size:11px}.stone-presence .history-day strong{font-size:14px}
 .stone-presence .history-day span{white-space:nowrap;font-size:11px}
 .stone-presence .listing-quantity{font-size:22px}.stone-presence .listing-quantity.quantity-long{font-size:17px}
}
@media(max-width:380px){
 .stone-presence .history-day strong{font-size:12px;white-space:nowrap}
 .stone-presence .quantity-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}
}
