/* claude-website-20261118: Website, Store and Marketing presentation (onbleu web).
   Presentation only. Every rule is scoped to an owned Website view through the shell's own
   body[data-view] attribute, so no other page changes. No request, handler or permission is
   touched. Listings, the listing editor and Syndication are left to Codex (#780). */

body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]){--ows-gap:16px;--ows-sub:14px;--ows-sub-lh:20px}

/* 1. One page header: same top edge, one muted line under the title, actions on the right (under the title
      below 600px, the shell's phone breakpoint). */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header,.ccms-head,.bhw-head,.wss-head,.sto-head,.ba-header,.lx-head,.wa-header,.shp-head){
  display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px var(--ows-gap);
  margin:0 0 20px;padding:0;
}
/* The title block grows sideways only; min-width keeps the actions from crowding it. A flex-basis in px
   would become a height wherever the header is a column. */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header,.ccms-head,.bhw-head,.wss-head,.sto-head,.ba-header,.lx-head,.wa-header,.shp-head)>div:first-child{flex:1 1 auto;min-width:min(320px,100%)}
/* Title typography (Geist 600, 28/34, 24/30 below 600px) is the shell's app-wide rule (claude-shell-20261118);
   this leaf sets only the title's margin so it starts on the shared top edge (title wrapping is the shell's too). */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell#shell #content :is(.wmp-header h1,.ccms-head h1,.bhw-head h1,.wss-head h1,.sto-h1,.ba-header h1,.lx-head h1,.wa-header h1,.viewhost>h1.view,.blh-title,.shp-h1){margin:0!important}
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header .sub,.ccms-sub,.bhw-head h1+.ccms-hint,.wss-head .wss-muted,.sto-head .ful-intro,.ba-header .ba-muted,.lx-summary,.wa-subtitle,.viewhost>h1.view+.sub){
  font-size:var(--ows-sub);line-height:var(--ows-sub-lh);margin:4px 0 0;max-width:70ch;
}
/* Page-header eyebrows only ("Store", "Website", "WEBSITE", and "Website" over Shop, which the rail files
   under Store): the rail and top bar name the place. Eyebrows inside the page (a partner's
   "Fulfillment partner") stay. */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.sto-head .sto-eyebrow,.wss-head .wss-eyebrow,.wa-header .wa-eyebrow,.shp-head .shp-eyebrow,.bhw-head>div>.ccms-hint:first-child){display:none}
/* Header actions only: the same classes are used for body actions (AI studio's draft buttons, Media's pager). */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header>.wmp-actions,.ccms-head>.ccms-head-acts,.bhw-head>.bhw-actions,.sto-head>.sto-actions,.wa-header>.wa-controls,.shp-head>.shp-head-actions){
  display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin:0;
}
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content .sto-head>.sto-actions:empty{display:none}
/* The shell's main wrappers each added their own top margin: the title now starts on one line. */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(main.wmp-page,.wa-app,.lx,.sto,.ccms,.wss-reels){margin-top:0;padding-top:0}
/* Store settings was centred in a 1000px column; every other page aligns to the content edge. */
body[data-view=wssettings] #shell #content main.wmp-page.sst-page{margin-left:0;margin-right:0;max-width:1000px}
/* The Shop list header centred its title against the 44px More button; it now starts on the shared top edge. */
body[data-view=wsshop] #shell#shell #content .blh-top{align-items:flex-start!important}

/* 2. One primary action per screen. Overview's "AI studio" and the calendar's "Pages & content" only
      navigate, so they read as secondary buttons, with a hover and press state. */
body:is([data-view=wscalendar],[data-view=wsmanage]) #shell #content .wmp-header>.wmp-actions .btn:not(.sec){background:var(--card);color:var(--ink);border:1px solid var(--hairline);box-shadow:none}
body:is([data-view=wscalendar],[data-view=wsmanage]) #shell #content .wmp-header>.wmp-actions .btn:not(.sec):hover{background:color-mix(in srgb,var(--ink) 6%,var(--card))}
body:is([data-view=wscalendar],[data-view=wsmanage]) #shell #content .wmp-header>.wmp-actions .btn:not(.sec):active{background:color-mix(in srgb,var(--ink) 10%,var(--card))}

/* 3. Campaigns: the audience status read above the page title as bare text. It now sits right under
      the header (same element, role="status", same words). The wrapper div dissolves so the order
      applies to the header and the panels themselves. The status is neutral (the module gives it no
      warning or error variant), so it gets a hairline, not a warning edge. */
body[data-view=wssend] #shell #content section.ba{display:flex;flex-direction:column;padding-top:0}
body[data-view=wssend] #shell #content section.ba>div{display:contents}
body[data-view=wssend] #shell #content section.ba>div>*{order:3}
body[data-view=wssend] #shell #content section.ba>div>.ba-header{order:1}
body[data-view=wssend] #shell #content section.ba>.ba-status{order:2;margin:0 0 16px;padding:12px 16px;border:1px solid var(--hairline);border-radius:10px;background:var(--card);font-size:14px;line-height:20px}
body[data-view=wssend] #shell #content .ba-header>button{align-self:flex-start}

/* 4. Analytics: "Period" broke into "Peri / od" on phones; the control box loses its extra frame. */
body[data-view=wsanalytics] #shell #content .wa-controls label{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:13px}
body[data-view=wsanalytics] #shell #content .wa-header>.wa-controls{border:0;background:none;padding:0;box-shadow:none}

/* 5. Photo review: the help line was drawn as a floating card beside the filter; it is guidance, not content. */
body[data-view=wsphotos] #shell #content .wspbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-top:16px}
body[data-view=wsphotos] #shell #content .wsphint{background:none;border:0;box-shadow:none;padding:0;font-size:13px;line-height:18px}

/* 6. Audience: the requirements disclosure gets a real control (chevron, 44px row, focus ring). */
body[data-view=wsnews] #shell #content .ws-mail-notice details>summary{list-style:none;display:flex;align-items:center;gap:6px;min-height:44px;cursor:pointer;font-weight:600;color:var(--bleu-deep)}
body[data-view=wsnews] #shell #content .ws-mail-notice details>summary::-webkit-details-marker{display:none}
body[data-view=wsnews] #shell #content .ws-mail-notice details>summary::before{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);transition:transform .15s ease}
body[data-view=wsnews] #shell #content .ws-mail-notice details[open]>summary::before{transform:rotate(45deg)}

/* 7. Table toolbars: "Reset columns" wrapped onto two lines on phones and tablets. */
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content .cv-views>button{white-space:nowrap}
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content .cv-views{flex-wrap:wrap;row-gap:8px}

/* 7b. Content (CMS): runtime.js moves the "Shop" link out of role="tablist" into a row beside it; the row
       carries the tab bar's rule so the link still reads as the end of the bar. */
body[data-view=wscontent] #shell #content .ows-tabrow{display:flex;align-items:stretch;border-bottom:1px solid var(--ccms-line,var(--hairline));margin:0 0 12px}
body[data-view=wscontent] #shell #content .ows-tabrow>.ccms-tabs{flex:1 1 auto;min-width:0;border-bottom:0;margin:0}
body[data-view=wscontent] #shell #content .ows-tabrow>a.ccms-tab{flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:4px}
/* Tab buttons retain the native responsive minimum; do not override their height. */

/* 7c. Inquiry trends tables. Each table fills its card, inside the card's padding: the table add-on pins an
       inline min-width (401px for "By type") that ran past a 318px phone card and cut the last column off.
       The runtime (runtime.js, 5) flags a table whose columns still cannot fit the card; only that table scrolls
       sideways, inside the card's padding, so nothing is cut at the card edge and the card itself never scrolls.
       Headers wrap between words, cells centre on the row (a number sat 8px above its row's label), and the
       card's title comes before the add-on's Cards/Table switch. */
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table{width:100%!important;min-width:0!important;max-width:100%!important}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-scroll]{display:block!important;overflow-x:auto;overscroll-behavior-x:contain}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table th{white-space:normal;vertical-align:bottom;min-width:0!important}
body[data-view=wstraffic] #shell #content .lx-card>table.lx-table td{vertical-align:middle}
body[data-view=wstraffic] #shell #content .lx-card>table.lx-table :is(th,td):last-child{padding-right:0}
/*     Car and listing names read left-aligned (they were centred buttons). */
body[data-view=wstraffic] #shell #content .lx-card>table.lx-table td :is(button,a){text-align:left}
/*     A table whose columns cannot fit its card even so (the add-on reserves a 56px sort gutter in each header,
       inline and !important; a phone, or a half-width card on a tablet) is shown as stacked rows instead of being
       cut at the card edge: the name on its own line, then each value beside its column's name (runtime.js, 5,
       copies the names onto the cells and keeps the table roles). Sorting and filtering stay in the add-on's Column options (runtime.js, 5, moves it into the card, above the table)
       above the card. The add-on's Table (spreadsheet) view keeps its grid and scrolls inside the card. */
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]{display:block!important;overflow:visible}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>thead{display:none}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>tbody{display:block}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>tbody>tr{display:block;height:auto!important;padding:12px 0;border-bottom:1px solid var(--lx-line)}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>tbody>tr>td{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:2px 0!important;border:0!important;height:auto!important;white-space:normal;text-align:right}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>tbody>tr>td::before{content:attr(data-ows-label);color:var(--lx-mut);text-align:left;font-size:13px}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>tbody>tr>td:first-child{display:block;padding:0 0 6px!important;text-align:left;font-weight:500}
body[data-view=wstraffic] #shell#shell #content .lx-card>table.lx-table[data-ows-stack]>tbody>tr>td:first-child::before{content:none}

body[data-view=wstraffic] #shell #content .lx-card:has(>.cv-views){display:flex;flex-direction:column}
body[data-view=wstraffic] #shell #content .lx-card:has(>.cv-views)>.lx-h2{order:-1;margin-bottom:12px}
body[data-view=wstraffic] #shell #content .lx-card>.cv-views{margin:0 0 12px}
body[data-view=wstraffic] #shell #content .lx-cols>.lx-card{min-width:0}

/* 7d. Photo review: car names are buttons that open the car; 23px tall on tablets and phones. */
@media (pointer:coarse),(max-width:1194px){
  body[data-view=wsphotos] #shell #content .wsphead .wspname{min-height:44px;display:inline-flex;align-items:center}
}

/* 7e. Contrast. Orders' accounting falls back to #888 because --muted is undefined there (3.0-3.5:1); the
       Store pages get the design system's --stone. Link-style buttons in Campaigns and the Store failure state
       use Miami (#0075E1, 3.8:1 on Paper); they take the link token --bleu-deep (AA in light and dark). The
       accounting's 11px notes reach the 12px floor. */
body:is([data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings]) #shell #content{--muted:var(--stone)}
body:is([data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings]) #shell #content :is(.fa-totals small,.fa-invoice-heading small){font-size:12px}
body:is([data-view=wssend],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings]) #shell #content :is(.ba-link,.sto-link){color:var(--bleu-deep)}

/* 7f. 12px floor (GRADING: nothing under 12px). Each selector names a label the probe found at 9-11.7px in an owned
       view; only those are raised, so nothing larger shrinks. */
body[data-view=wsmanage] #shell #content :is(.wmp-stat small,.wmp-tool small),
body:is([data-view=wscontent],[data-view=wsshop]) #shell #content :is(.bt-views-label,.bt-view .bt-n),
body[data-view=wscalendar] #shell #content .wmp-calendar small,
body[data-view=wsmedia] #shell #content .bhw-file small,
body[data-view=wsshop] #shell #content :is(.shp-search kbd,.shp-badge),
body[data-view=wspartners] #shell #content :is(.fo-dashboard-head span,small),
body[data-view=wspartnersettings] #shell #content :is(.sto-eyebrow,.sto-pill,.ps-section-note,.ps-partner-head span,.ps-partners span,.ps-tabs span),
body[data-view=wssettings] #shell #content :is(.sst-badge,.sst-panel-head span),
body[data-view=wstraffic] #shell #content :is(.lx-yl,.lx-xl),
body[data-view=wsanalytics] #shell #content :is(.wa-chart-eyebrow,.wa-chart-legend,.wa-rank-index,.wa-rank-label,.wa-chart-caption,.wa-vehicle-link,.wa-trend figcaption,.wa-trend-head small,.wa-trend-table summary,.wa-trend-table td,.wa-data-table summary,.wa-data-table td,.wa-metadata,.wa-ranking span,.wa-vehicle-link span,.wa-page-evidence summary,.wa-page-evidence p,.wa-footer,.wa-footer a,.wa-rank-row strong,.wa-empty p,.wa-note,.wa-status){font-size:12px!important}

/* 7g. Publishing calendar on phones: a day is a two-column grid (date, entry); a second entry fell into the 24px
       date column and drew 8px wide. Entries always take the last column (-2/-1 also works for a one-column cell). */
body[data-view=wscalendar] #shell #content .wmp-day>button{grid-column:-2/-1}

/* 7h. Shop on phones: the chip strip clipped "Needs attention" behind its fade; the chips wrap instead, as
       Inventory's do. */
@media (max-width:599px){
  body[data-view=wsshop] #shell #content .blh-chiprow{flex-wrap:wrap;overflow:visible;-webkit-mask-image:none;mask-image:none}
}

/* 7i. Photo review: every photo had a blue "Put it back"; per-row actions are secondary, so the screen keeps one primary. */
body[data-view=wsphotos] #shell #content .wspacts .btn:not(.sec){background:var(--card);color:var(--ink);border:1px solid var(--hairline);box-shadow:none}
body[data-view=wsphotos] #shell #content .wspacts .btn:not(.sec):hover{background:color-mix(in srgb,var(--ink) 6%,var(--card))}

/* 7j. Campaigns blocked note (runtime.js, shown only when the module left the page empty). */
body[data-view=wssend] #shell #content .ows-blocked>h1{margin:0 0 4px}
body[data-view=wssend] #shell #content .ows-blocked>p{margin:0;font-size:14px;line-height:20px;max-width:70ch}

/* 7m. Inquiry trends chart on phones: every other week's date is hidden below 480px, so neighbouring dates never
       overlap ("Sep 7Sep 21"); the first stays. Each week stays reachable by its hit area. */
@media (max-width:480px){body[data-view=wstraffic] #shell #content .lx-xl:nth-of-type(even){visibility:hidden}}
/* 7k. Inquiry trends chart: the first and last weekly hit areas are half a slot (13px on phones). The plot does not clip,
       so each reaches 12px further outward (padding, so the module's inline left/width stay as they are). */
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:first-child{box-sizing:content-box;padding:0 0 0 12px;margin-left:-12px}
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:last-child{box-sizing:content-box;padding:0 12px 0 0}
/*     The extra 12px is touch area only: the hover tint and the focus ring stay on the week's own slot, so on
       phones they never draw over the y-axis labels beside the first week (review: ring over "15" and "0"). */
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:is(:first-child,:last-child):is(:hover,:focus-visible){background:none;outline:0}
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:is(:first-child,:last-child)::after{content:"";position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:none}
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:first-child::after{left:12px}
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:last-child::after{right:12px}
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:is(:first-child,:last-child):hover::after{background:color-mix(in srgb,var(--lx-ink) 5%,transparent)}
body[data-view=wstraffic] #shell #content .lx-hits>.lx-hit:is(:first-child,:last-child):focus-visible::after{outline:2px solid var(--lx-accent);outline-offset:-2px}

/* 7l. Reels on phones: the live collection layer wraps a reel's proposal chip only once it marks #content, up to a
       second after the page opens (longer on a busy phone). Until then the chip kept its one-line width and pushed
       the page 8-48px sideways at 320-360px. The chip now stays inside its card from the first frame. */
body[data-view=wsreels] #shell #content .wss-reel .wss-chip{white-space:normal;max-width:100%;min-width:0;overflow-wrap:anywhere}

/* 8. Media: a failed read showed the raw technical message; runtime.js adds a plain sentence and keeps the
      detail in a closed disclosure. Upload hides while the library cannot be read. */
body[data-view=wsmedia] #shell #content .bhw-library:has(>.ccms-fail[data-ows-media-fail]) .bhw-actions>label.ccms-btn{display:none}
body[data-view=wsmedia] #shell #content .ccms-fail[data-ows-media-fail]>p.ows-fail-raw{display:none}
body[data-view=wsmedia] #shell #content .ccms-fail .ows-fail-text{margin:0 0 8px;font-size:14px;line-height:20px}
body[data-view=wsmedia] #shell #content .ccms-fail .ows-fail-detail{margin:8px 0 0;font-size:13px}
body[data-view=wsmedia] #shell #content .ccms-fail .ows-fail-detail>summary{min-height:44px;display:inline-flex;align-items:center;cursor:pointer;color:var(--bleu-deep)}

/* 9. Targets and focus. 44px on touch, tablets and phones; one visible ring everywhere (repeated #shell so
      native rings such as the Reels primary button's white ring are replaced). */
@media (pointer:coarse),(max-width:1194px){
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header>.wmp-actions,.ccms-head-acts,.bhw-actions,.sto-actions,.wss-head,.ba-header,.wa-controls,.cv-views,.ivschips,.shp-head-actions) :is(button,a,label.ccms-btn,select){min-height:44px}
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.ivschip,.lx-twin>summary,.lx-link){min-height:44px}
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.lx-twin>summary,.lx-link){display:inline-flex;align-items:center}
}
body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell#shell #content :is(button,a,select,input,summary,label.ccms-btn,[role=tab]):focus-visible{outline:2px solid var(--bleu-deep)!important;outline-offset:2px!important;box-shadow:none!important}

/* 10. Phones (below 600px, the shell's breakpoint): actions move under the title as one left-aligned row. */
@media (max-width:599px){
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header,.ccms-head,.bhw-head,.wss-head,.sto-head,.ba-header,.lx-head,.wa-header,.shp-head){flex-direction:column;align-items:stretch;margin-bottom:16px}
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header,.ccms-head,.bhw-head,.wss-head,.sto-head,.ba-header,.lx-head,.wa-header,.shp-head)>div:first-child{flex:0 0 auto;min-width:0}
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header>.wmp-actions,.ccms-head>.ccms-head-acts,.bhw-head>.bhw-actions,.sto-head>.sto-actions,.wa-header>.wa-controls,.shp-head>.shp-head-actions){justify-content:flex-start}
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wss-head>.wss-btn,.ba-header>button){align-self:flex-start}
}

/* 11. High contrast: muted lines at full strength, header buttons keep a visible border. */
@media (prefers-contrast:more){
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header .sub,.ccms-sub,.bhw-head h1+.ccms-hint,.wss-head .wss-muted,.sto-head .ful-intro,.ba-header .ba-muted,.lx-summary,.wa-subtitle,.viewhost>h1.view+.sub,.wsphint){opacity:1}
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell #content :is(.wmp-header,.ccms-head,.bhw-head,.wss-head,.sto-head,.ba-header,.lx-head,.wa-header,.shp-head) :is(button,a){border-color:currentColor}
}
@media (prefers-reduced-motion:reduce){
  body[data-view=wsnews] #shell #content .ws-mail-notice details>summary::before{transition:none}
}
@media (forced-colors:active){
  body:is([data-view=wsmanage],[data-view=wscontent],[data-view=wscalendar],[data-view=wsmedia],[data-view=wsphotos],[data-view=wsreels],[data-view=wsshop],[data-view=wscollections],[data-view=wsmerch],[data-view=wsorders],[data-view=wspartners],[data-view=wspartnersettings],[data-view=wssettings],[data-view=wswriting],[data-view=wspromotions],[data-view=wssend],[data-view=wsnews],[data-view=wstraffic],[data-view=wsanalytics]) #shell#shell #content :is(button,a,select,input,summary,[role=tab]):focus-visible{outline-color:Highlight!important}
}
