html body .workspace:has(pw-command-desk) :is(.workspace-topbar,.device-bottom-nav,.nested-rail,.workspace-navigation-header){display:none!important}
html body .workspace:has(pw-command-desk) .nested-workspace{display:block!important;grid-template-columns:1fr!important}
html body .workspace:has(pw-command-desk) :is(.nested-workspace-content,.page,.retro-list-surface){min-width:0;margin-inline:0}

.pw-seller{direction:rtl;box-sizing:border-box;width:min(100%,64rem);margin:auto;padding:clamp(10px,2vw,24px)}
.pw-seller *{box-sizing:border-box;min-width:0}
.pw-seller header{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.pw-seller header h1{font-size:1.2rem;margin-inline-end:auto}
.pw-seller form,.pw-seller fieldset,.pw-seller label,.pw-seller section{display:grid;gap:.55rem}
.pw-seller form,.pw-seller section{margin-block:1rem}
.pw-seller fieldset{margin:0;padding:.7rem;border:1px solid #65717a}
.pw-seller button,.pw-seller input,.pw-seller select{font:inherit;max-width:100%;padding:.55rem}
.pw-seller input,.pw-seller select{width:100%}
.seller-options{max-height:13rem;overflow:auto;display:grid}
.seller-options button{text-align:start;white-space:normal;overflow-wrap:anywhere}
.seller-prices,.seller-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem}
.seller-prices span{border-inline-start:3px solid #7dc8db;padding-inline:.5rem}
.seller-prices span:nth-child(2){border-color:#bfa8e0}.seller-prices span:nth-child(3){border-color:#ebc476}.seller-prices span:nth-child(4){border-color:#82cca4}

html body .workspace .page[data-view=dashboard]:has(pw-command-desk):has(.retro-invoice-record){display:block!important;max-width:68rem;margin-inline:auto!important;width:100%}
html body .workspace .page[data-view=dashboard]:has(pw-command-desk[wide]):has(.retro-invoice-record){max-width:none}
html body .workspace .page[data-view=dashboard]:has(pw-command-desk):has(.retro-invoice-record)>.retro-list-surface{display:block!important}
.page[data-view=dashboard]:has(.retro-invoice-record) :is(.page-heading,.page-footer){display:none}
.page:has(.retro-invoice-record) pw-command-desk,.pw-seller:has(form) pw-command-desk{min-height:0;padding-block:.5rem}
.page[data-view=dashboard]:has(pw-command-desk)>.retro-record-slot{min-width:0;width:100%;max-height:none}

html body .workspace:has(>pw-command-desk),html body .workspace:has(>pw-command-desk) :is(.nested-workspace,.nested-workspace-content,.page,.retro-record-slot),html body .pw-seller{box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0;margin-inline:0!important}
.workspace>pw-command-desk,.pw-seller>pw-command-desk{box-sizing:border-box;width:100%;min-height:0;padding:8px clamp(8px,1vw,18px)}
html body .workspace:has(>pw-command-desk) .page:has(.retro-entry-record,.retro-invoice-record){display:block!important}
html body .workspace:has(>pw-command-desk) .page:has(.retro-entry-record,.retro-invoice-record)>.retro-list-surface{display:none!important}
html body .workspace:has(>pw-command-desk) .retro-record-slot:has(.retro-entry-record,.retro-invoice-record){position:static!important;max-height:none!important;overflow:visible!important}
.pw-inline-portal{display:block;width:100%;height:80dvh;border:0}
@media(max-width:680px){.workspace:has(>pw-command-desk) .form-grid{grid-template-columns:minmax(0,1fr)}.workspace:has(>pw-command-desk) .table-container{overflow-x:auto}}
html body .workspace:has(>pw-command-desk) .retro-entry-record,html body .workspace:has(>pw-command-desk) .retro-invoice-record{border:0;box-shadow:none;max-width:none;width:100%;margin:0}
.invoice-item-facts{display:flex;flex-wrap:wrap;gap:.35rem 1rem;grid-column:1/-1;font-size:.88rem;min-width:0}.invoice-item-facts bdi{overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
