/* Auto pricing; approved O-MONITOR layout. Unslop craft: Damir Sokolovsky, CC BY 4.0. */
:where(#ap-root,.ap-dialog,.ap-menu) button,:where(#ap-root,.ap-dialog,.ap-menu) input,:where(#ap-root,.ap-dialog,.ap-menu) select{font:inherit}
:where(#ap-root,.ap-dialog,.ap-menu) button{cursor:pointer;color:inherit;background:transparent;border:1px solid var(--line);border-radius:24px;min-height:40px;padding:8px 16px;font-weight:500;transition:background-color .15s,color .15s,border-color .15s}
:where(#ap-root,.ap-dialog,.ap-menu) button:hover{background:rgba(255,255,255,.07)}
:where(#ap-root,.ap-dialog,.ap-menu) button:disabled{opacity:.45;cursor:default}
:where(#ap-root,.ap-dialog,.ap-menu) button.ap-primary{background:linear-gradient(92.7deg,#6ee7b7 1%,#34d399 96%);background-color:#6ee7b7;border-color:transparent;color:var(--accent-ink);font-weight:600}
:where(#ap-root,.ap-dialog,.ap-menu) button.ap-primary:hover{background:#8bf0c9}
:where(#ap-root,.ap-dialog,.ap-menu) button.ap-quiet{border-color:transparent;color:var(--muted)}
:where(#ap-root,.ap-dialog,.ap-menu) button.ap-icon{padding:8px;width:40px;flex:none;display:inline-grid;place-items:center}
:where(#ap-root,.ap-dialog,.ap-menu) svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
:where(#ap-root,.ap-dialog,.ap-menu) button:focus-visible,:where(#ap-root,.ap-dialog,.ap-menu) input:focus-visible,:where(#ap-root,.ap-dialog,.ap-menu) select:focus-visible,:where(#ap-root,.ap-dialog,.ap-menu) a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
:where(#ap-root,.ap-dialog,.ap-menu) input{height:44px;border:1px solid var(--line-strong);background:rgba(255,255,255,.04);color:var(--text);padding:10px 14px;border-radius:12px;min-width:0;width:100%}
:where(#ap-root,.ap-dialog,.ap-menu) input::placeholder{color:var(--muted)}
:where(#ap-root,.ap-dialog,.ap-menu) input[readonly]{background:transparent;color:var(--muted);border-color:var(--line)}
:where(#ap-root,.ap-dialog,.ap-menu) [hidden]{display:none!important}
:where(#ap-root,.ap-dialog,.ap-menu) header{padding:24px;max-width:1600px;margin:auto;display:flex;align-items:center;gap:32px}
.ap-brand{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:17px;font-weight:700;letter-spacing:.12em}
.ap-brand-mark{width:26px;height:26px;border:3px solid var(--text);border-radius:50%}
:where(#ap-root,.ap-dialog,.ap-menu) nav{display:flex;align-items:center;gap:4px;padding:4px;background:var(--card);border:1px solid rgba(255,255,255,.06);border-radius:28px;overflow:auto;scrollbar-width:none;margin-left:auto}
:where(#ap-root,.ap-dialog,.ap-menu) nav button{border:0;min-height:36px;padding:8px 16px;color:var(--muted);white-space:nowrap;font-size:13px}
:where(#ap-root,.ap-dialog,.ap-menu) nav button.ap-active{background:var(--accent);color:var(--accent-ink);font-weight:600}
.ap-mobile-context{display:none}
:where(#ap-root,.ap-dialog,.ap-menu) main{max-width:1600px;padding:12px 24px 40px;margin:auto}
.ap-panel{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:32px 24px 24px}
.ap-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.ap-eyebrow{color:var(--muted);font-size:12px;display:flex;gap:8px;align-items:center;margin-bottom:12px}
.ap-eyebrow .ap-dot{width:6px;height:6px;background:var(--st-warn-fg);border-radius:50%}
:where(#ap-root,.ap-dialog,.ap-menu) h1{font-size:48px;line-height:1.12;letter-spacing:-.04em;font-weight:600;margin:0 0 12px}
:where(#ap-root,.ap-dialog,.ap-menu) h2{font-size:22px;line-height:1.3;font-weight:500;letter-spacing:-.02em;margin:0}
:where(#ap-root,.ap-dialog,.ap-menu) h3{font-size:15px;font-weight:500;margin:0 0 12px}
.ap-sub{color:var(--muted);margin:0;max-width:540px}
.ap-heading-actions{padding-top:28px;display:flex;gap:12px;align-items:center}
.ap-heading-actions .ap-primary{min-height:44px;padding:10px 20px}
.ap-metrics{display:flex;align-items:center;gap:32px;padding:28px 0 24px;border-bottom:1px solid var(--line);margin-bottom:24px}
.ap-metric{display:flex;align-items:baseline;gap:10px;color:var(--muted)}
.ap-metric b{font-size:28px;line-height:1;font-weight:500;color:var(--text)}
.ap-metric.ap-attention b{color:var(--st-warn-fg)}
.ap-metric.ap-last{margin-left:auto;color:var(--muted);font-size:12px}
.ap-toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.ap-search{position:relative;flex:1;max-width:320px}
.ap-search svg{position:absolute;left:14px;top:13px;color:var(--muted)}
.ap-search input{padding-left:40px;border-radius:24px;background:var(--card)}
.ap-shop-filter{min-width:152px;text-align:left;display:flex;align-items:center;justify-content:space-between;gap:16px}
.ap-filters{display:flex;gap:4px;margin-left:auto;background:var(--card);padding:4px;border-radius:24px}
.ap-filters button{border:0;min-height:32px;padding:6px 14px;color:var(--muted);font-size:13px}
.ap-filters button.ap-on{background:rgba(255,255,255,.08);color:var(--text)}
.ap-table-wrap{width:100%}
.ap-price-table{border-collapse:separate;border-spacing:0 6px;width:100%;table-layout:fixed}
.ap-price-table th{padding:0 12px 8px;text-align:right;font-size:12px;color:var(--muted);font-weight:400;white-space:nowrap}
.ap-price-table th:first-child{text-align:left;padding-left:16px;width:26%}
.ap-price-table th:nth-child(2){width:8%}
.ap-price-table th:nth-child(3){width:9%}
.ap-price-table th:nth-child(4){width:8%}
.ap-price-table th:nth-child(5){width:10%}
.ap-price-table th:nth-child(6){width:11%}
.ap-price-table th:nth-child(7){width:9%}
.ap-price-table th:nth-child(8){width:14%;text-align:left}
.ap-price-table th:last-child{width:5%}
.ap-price-table td{padding:20px 12px;background:var(--card);text-align:right;vertical-align:middle;height:112px}
.ap-price-table td:first-child{text-align:left;border-radius:12px 0 0 12px;padding-left:16px}
.ap-price-table td:last-child{border-radius:0 12px 12px 0;padding:12px 8px}
.ap-price-table tr:hover td{background:rgba(255,255,255,.055)}
.ap-product-name{font-size:14px;font-weight:500;line-height:1.4;margin-bottom:6px}
.ap-product-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:11px}
.ap-store{font-size:10px;letter-spacing:.02em;background:rgba(255,255,255,.055);padding:2px 6px;border-radius:4px}
.ap-copy{font-size:12px;line-height:1.3;font-weight:400;border:0;border-radius:4px;padding:2px;min-height:24px;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;text-align:left}
.ap-copy:hover{color:var(--accent);background:rgba(110,231,183,.06)}
.ap-sku-line{display:flex;align-items:center;gap:4px;color:var(--muted);font-size:11px;margin-top:2px}
.ap-money{white-space:nowrap}
.ap-current{font-size:17px;font-weight:500}
.ap-minor{color:var(--muted);font-size:11px;display:block;line-height:1.45;margin-top:4px}
.ap-rule{font-size:13px}
.ap-result{color:var(--good);white-space:nowrap}
.ap-progress{height:3px;background:rgba(255,255,255,.10);border-radius:2px;margin-top:10px;overflow:hidden}
.ap-progress span{display:block;height:100%;background:var(--accent);opacity:.7}
.ap-status-cell{text-align:left!important}
.ap-status{font-size:12px;display:inline-flex;gap:6px;align-items:center;white-space:nowrap}
.ap-status i{width:5px;height:5px;border-radius:50%;background:currentColor;display:block}
.ap-status.ap-running{color:var(--accent)}
.ap-status.ap-conflict{color:var(--st-warn-fg)}
.ap-status.ap-checking{color:#b8cec8}
.ap-status.ap-paused,.ap-status.ap-completed{color:var(--muted)}
.ap-status-note{font-size:11px;color:var(--muted);margin-top:6px;line-height:1.4}
.ap-row-actions{display:flex;flex-direction:column;align-items:center;gap:4px}
.ap-row-actions button{min-height:32px;width:32px;padding:6px;border:0;color:var(--muted)}
.ap-row-actions svg{width:16px;height:16px}
.ap-conflict-link{border:0;border-bottom:1px dotted rgba(244,199,154,.5);border-radius:0;padding:0;min-height:0;color:var(--st-warn-fg);font-size:11px;font-weight:400}
.ap-table-bottom{display:flex;justify-content:space-between;gap:20px;padding:16px 4px 4px;color:var(--muted);font-size:12px}
.ap-note{margin-top:24px;display:flex;gap:12px;color:var(--muted);font-size:12px;padding:0 4px;max-width:820px}
.ap-note svg{flex:none}
.ap-demo-label{font-size:11px;color:var(--muted);text-align:right;margin-top:16px}
.ap-empty{padding:48px;text-align:center;color:var(--muted)}
dialog.ap-dialog{margin:auto;border:1px solid var(--line-strong);padding:0;border-radius:24px;background:var(--surface);color:var(--text);width:min(680px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:visible;box-shadow:0 24px 64px rgba(0,0,0,.55)}
dialog.ap-dialog::backdrop{background:rgba(0,0,0,.72)}
.ap-dialog-shell{display:flex;flex-direction:column;max-height:calc(100dvh - 48px);overflow:hidden;border-radius:24px}
.ap-dialog-head{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;padding:24px 24px 16px;border-bottom:1px solid var(--line);flex:none}
.ap-dialog-head .ap-sub{font-size:12px;margin-top:6px}
.ap-dialog-head .ap-icon{margin:-4px -8px 0 0;border:0;color:var(--muted)}
.ap-dialog-body{padding:24px;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}
.ap-dialog-foot{padding:16px 24px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:12px;flex:none;background:var(--surface)}
.ap-dialog-foot .ap-left{margin-right:auto}
.ap-field{display:flex;flex-direction:column;gap:8px}
.ap-field>label,.ap-field>span.ap-label{font-size:12px;color:var(--muted)}
.ap-field small{font-size:11px;color:var(--muted)}
.ap-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}
.ap-field.ap-full{grid-column:1/-1}
.ap-input-combo{position:relative}
.ap-input-combo input{padding-right:36px}
.ap-input-combo svg{position:absolute;right:12px;top:13px;color:var(--muted);pointer-events:none}
.ap-current-price{display:flex;justify-content:space-between;align-items:center;background:var(--card);border-radius:12px;padding:16px;margin:20px 0 24px}
.ap-current-price span{font-size:12px;color:var(--muted)}
.ap-current-price b{font-size:24px;font-weight:500}
.ap-suffix-input{display:flex;position:relative}
.ap-suffix-input input{padding-right:48px}
.ap-suffix-input>span{position:absolute;right:14px;top:12px;color:var(--muted)}
.ap-step-field{display:flex;gap:8px}
.ap-step-field input{flex:1;width:0}
.ap-segments{display:flex;border:1px solid var(--line-strong);border-radius:12px;padding:3px;gap:3px}
.ap-segments button{min-height:36px;min-width:40px;padding:4px 10px;border:0;border-radius:8px;color:var(--muted)}
.ap-segments button.ap-on{background:rgba(110,231,183,.15);color:var(--accent)}
.ap-form-section{border-top:1px solid var(--line);margin-top:24px;padding-top:24px}
.ap-policy-option{display:flex;gap:12px;padding:12px 0;cursor:pointer;align-items:flex-start}
.ap-policy-option input{appearance:none;width:16px;height:16px;border-radius:50%;padding:0;margin:3px 0 0;flex:none;background:transparent}
.ap-policy-option input:checked{border:5px solid var(--accent)}
.ap-policy-option b{font-size:13px;font-weight:500}
.ap-policy-option small{display:block;font-size:12px;color:var(--muted);margin-top:4px;line-height:1.5}
.ap-availability{font-size:11px;color:var(--muted);border-left:2px solid var(--line-strong);padding-left:12px;margin:12px 0 0}
.ap-validation{font-size:12px;color:var(--bad);margin-top:12px}
.ap-review-summary{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}
.ap-review-summary b{display:block;font-size:24px;font-weight:500;margin-top:4px}
.ap-review-summary small{color:var(--muted);font-size:11px}
.ap-review-summary .ap-to{color:var(--muted);font-size:22px}
.ap-timeline{list-style:none;margin:0;padding:0}
.ap-timeline li{display:flex;gap:16px;align-items:flex-start;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.07)}
.ap-timeline .ap-time{width:100px;flex:none;color:var(--muted);font-size:12px}
.ap-timeline .ap-time small{display:block;font-size:11px;margin-top:4px}
.ap-timeline strong{font-size:14px;font-weight:500}
.ap-timeline p{font-size:12px;color:var(--muted);margin:4px 0 0}
.ap-timeline .ap-event{flex:1}
.ap-timeline .ap-event-state{font-size:11px;color:var(--good);white-space:nowrap}
.ap-preview-note{font-size:12px;color:var(--muted);padding:16px 0 0;line-height:1.6}
.ap-callout{background:rgba(244,199,154,.07);border:1px solid rgba(244,199,154,.18);padding:16px;border-radius:12px;margin:16px 0;color:var(--st-warn-fg);font-size:12px;line-height:1.6}
.ap-callout strong{font-weight:500}
.ap-callout p{margin:6px 0 0;color:var(--muted)}
.ap-dialog-details{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:20px}
.ap-dialog-details div{font-size:12px;color:var(--muted)}
.ap-dialog-details b{display:block;font-size:17px;color:var(--text);font-weight:500;margin-top:4px}
.ap-history-actions{display:flex;gap:12px;margin-top:24px}
.ap-menu{position:fixed;z-index:100;border:1px solid var(--line-strong);background:#242426;border-radius:12px;box-shadow:0 16px 40px #0008;padding:4px;overflow-y:auto;overscroll-behavior:contain}
.ap-menu button{display:block;width:100%;text-align:left;border-radius:8px;border:0;padding:10px 12px;font-size:13px;min-height:40px;font-weight:400}
.ap-menu button small{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.ap-menu button[aria-selected=true]{background:rgba(110,231,183,.12);color:var(--accent)}
.ap-menu .ap-no-match{padding:12px;font-size:12px;color:var(--muted)}
#ap-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#242426;border:1px solid var(--line);border-left:3px solid var(--good);border-radius:12px;z-index:150;max-width:calc(100vw - 32px);font-size:13px;box-shadow:0 8px 20px #0005}
body.ap-scroll-locked{position:fixed;overflow:hidden;width:100%}
.ap-mobile-price-label{display:none}
.ap-foot-note{font-size:11px;color:var(--muted);margin-right:auto;align-self:center}
.ap-fine{font-size:12px;color:var(--muted)}
@media(min-width:1600px){
.ap-price-table td{padding-top:24px;padding-bottom:24px}
}
@media(max-width:1200px){
:where(#ap-root,.ap-dialog,.ap-menu) header{gap:20px}
:where(#ap-root,.ap-dialog,.ap-menu) nav button{padding:8px 12px}
.ap-hide-mid{display:none}
.ap-price-table th:first-child{width:25%}
.ap-price-table th:nth-child(8){width:15%}
.ap-price-table td,.ap-price-table th{padding-left:8px;padding-right:8px}
.ap-toolbar{flex-wrap:wrap}
.ap-filters{margin-left:auto}
.ap-heading-actions .ap-quiet{display:none}
.ap-metric.ap-last{display:none}
.ap-product-meta{gap:4px}
.ap-copy{font-size:11px}
}
@media(max-width:800px){
:where(#ap-root,.ap-dialog,.ap-menu) header{padding:20px 16px;gap:16px;flex-wrap:wrap}
.ap-brand{font-size:15px}
.ap-brand-mark{width:24px;height:24px}
:where(#ap-root,.ap-dialog,.ap-menu) nav{order:3;width:100%;margin:0;justify-content:flex-start}
:where(#ap-root,.ap-dialog,.ap-menu) nav .ap-hide-mobile{display:none}
:where(#ap-root,.ap-dialog,.ap-menu) nav button{font-size:12px;padding:8px 14px}
.ap-mobile-context{display:block;margin-left:auto;color:var(--muted);font-size:11px}
:where(#ap-root,.ap-dialog,.ap-menu) main{padding:0 12px 24px}
.ap-panel{padding:24px 16px 20px;border-radius:20px}
.ap-heading{display:block}
:where(#ap-root,.ap-dialog,.ap-menu) h1{font-size:36px;margin-bottom:12px}
.ap-eyebrow{font-size:11px;margin-bottom:16px}
.ap-sub{font-size:13px}
.ap-heading-actions{padding-top:20px}
.ap-heading-actions .ap-primary{width:100%}
.ap-metrics{gap:24px;padding:24px 0 20px;margin-bottom:20px}
.ap-metric{display:block;font-size:11px}
.ap-metric b{display:block;font-size:24px;margin-bottom:8px}
.ap-toolbar{gap:12px;margin-bottom:16px}
.ap-search{max-width:none;flex-basis:100%;order:2}
.ap-shop-filter{flex:1}
.ap-filters{order:3;width:100%;justify-content:space-between}
.ap-filters button{padding:8px 12px}
.ap-price-table,.ap-price-table tbody{display:block}
.ap-price-table thead{display:none}
.ap-price-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--card);border-radius:12px;padding:16px;margin-bottom:12px;position:relative;gap:16px 12px}
.ap-price-table td{display:block;background:transparent!important;padding:0!important;height:auto;text-align:left;border-radius:0!important;min-width:0}
.ap-price-table td:first-child{grid-column:1/4;padding-right:28px!important}
.ap-product-name{font-size:14px}
.ap-product-meta{font-size:11px}
.ap-copy{font-size:12px}
.ap-sku-line{margin-top:4px}
.ap-price-table td:nth-child(2){grid-column:1;grid-row:3}
.ap-price-table td:nth-child(3){grid-column:2;grid-row:3}
.ap-price-table td:nth-child(4){grid-column:3;grid-row:3}
.ap-price-table td:nth-child(5){grid-column:1;grid-row:4}
.ap-price-table td:nth-child(6){grid-column:2;grid-row:4}
.ap-price-table td:nth-child(7){grid-column:3;grid-row:4}
.ap-price-table td:nth-child(8){grid-column:1/4;grid-row:2;padding-bottom:12px!important;border-bottom:1px solid var(--line)}
.ap-price-table td:last-child{position:absolute;right:8px;top:10px}
.ap-row-actions{gap:8px}
.ap-row-actions button:nth-child(2){display:none}
.ap-status-note{display:inline;margin-left:8px}
.ap-status{font-size:11px}
.ap-mobile-price-label{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}
.ap-money{font-size:13px}
.ap-current{font-size:16px}
.ap-rule{font-size:12px}
.ap-minor{font-size:10px}
.ap-result{font-size:13px}
.ap-progress{margin-top:8px}
.ap-table-bottom{display:block;padding:8px 0 0;font-size:11px}
.ap-table-bottom span:last-child{display:block;margin-top:8px}
.ap-note{font-size:11px;margin-top:20px;gap:8px}
.ap-demo-label{text-align:left}
.ap-dialog-head{padding:20px 20px 16px}
.ap-dialog-body{padding:20px}
.ap-dialog-foot{padding:16px 20px;gap:8px;flex-wrap:wrap}
.ap-dialog-foot button{padding-left:16px;padding-right:16px}
.ap-dialog-shell,dialog.ap-dialog{max-height:calc(100dvh - 24px)}
dialog.ap-dialog{width:calc(100vw - 24px);border-radius:20px}
.ap-dialog-shell{border-radius:20px}
:where(#ap-root,.ap-dialog,.ap-menu) h2{font-size:21px}
.ap-form-grid{gap:16px 12px}
.ap-field.ap-full-mobile{grid-column:1/-1}
.ap-current-price b{font-size:22px}
.ap-timeline{font-size:12px}
.ap-timeline li{gap:12px}
.ap-timeline .ap-time{width:72px;font-size:11px}
.ap-timeline .ap-event-state{font-size:10px}
.ap-review-summary b{font-size:21px}
.ap-history-actions{flex-wrap:wrap}
.ap-foot-note{width:100%;margin-bottom:4px}
.ap-filters{gap:0}
.ap-dialog-details{gap:16px 12px}
}
@media(prefers-reduced-motion:reduce){
}
.ap-product-identity{display:flex;align-items:center;gap:12px;min-width:0}
.ap-product-photo{width:52px;height:72px;object-fit:contain;background:#f5f5f5;border-radius:8px;flex:none;display:block}
.ap-product-text{min-width:0;flex:1}
.ap-product-text .ap-copy{font-size:11px}
.ap-product-meta{gap:4px}
.ap-product-meta .ap-store{font-size:9px}
.ap-current-product{display:flex;align-items:center;gap:12px;min-width:0}
.ap-current-product>span{display:block}
.ap-selected-photo{width:44px;height:60px;object-fit:contain;background:#f5f5f5;border-radius:6px;display:block;flex:none}
.ap-option-identity{display:flex;align-items:center;gap:12px}
.ap-option-photo{width:40px;height:52px;object-fit:contain;background:#f5f5f5;border-radius:6px;flex:none}
.ap-option-text{min-width:0;overflow-wrap:anywhere}
.ap-menu button .ap-option-text small{font-size:11px}
.ap-summary-product{display:flex;align-items:center;gap:12px;margin-top:12px;line-height:1.5}
.ap-summary-photo{width:40px;height:52px;object-fit:contain;background:#f5f5f5;border-radius:6px;flex:none}
.ap-summary-product small{display:block;font-size:11px;color:var(--muted);margin-top:4px}
@media(max-width:800px){
.ap-product-identity{gap:10px;align-items:flex-start}
.ap-product-photo{width:48px;height:68px}
.ap-product-text .ap-copy{font-size:11px}
.ap-product-meta .ap-store{font-size:9px}
.ap-product-meta{display:block}
.ap-product-meta .ap-copy{display:block;max-width:100%}
.ap-product-name{font-size:13px;line-height:1.4}
.ap-current-price{gap:12px}
.ap-current-price b{font-size:20px}
.ap-current-product{gap:10px}
.ap-current-price span{font-size:11px}
.ap-selected-photo{width:36px;height:48px}
.ap-summary-product{font-size:11px}
.ap-summary-product small{overflow-wrap:anywhere}
}

/* Native dialogs retain the approved modal layout and the existing app palette. */
.ap-dialog{font:inherit;line-height:1.5}.ap-dialog::backdrop{background:rgba(0,0,0,.72)}
.ap-dialog svg,.ap-menu svg,#ap-root svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}
.ap-error{padding:12px 16px;border:1px solid rgba(255,122,107,.25);border-radius:12px;color:var(--st-err-fg);background:var(--st-err-bg);margin:16px 0;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ap-loading{color:var(--muted);padding:32px;text-align:center}.ap-text-warn{color:var(--st-warn-fg)}.ap-text-bad{color:var(--st-err-fg)}
.ap-controls{display:flex;align-items:center;gap:8px}.ap-dialog .ap-copy{font:inherit;font-size:12px}.ap-dialog .ap-dialog-head h2{margin:0;color:var(--text);font-size:22px;letter-spacing:-.02em;text-transform:none}
#ap-root h1{font-size:48px;font-weight:600;line-height:1.12;letter-spacing:-.04em;margin:0 0 12px}
#ap-root .ap-panel{margin:0}.ap-dialog input:read-only{color:var(--muted);cursor:default}.ap-dialog input:disabled{opacity:.6}
.ap-dialog .ap-policy-option input{appearance:none;width:16px;height:16px;min-width:16px;padding:0;margin:3px 0 0;border:1px solid var(--line-strong);border-radius:50%;background:transparent}
.ap-dialog .ap-policy-option input:checked{border:5px solid var(--accent)}
.ap-current-price .ap-current-product{min-width:0}.ap-photo-na{display:grid;place-items:center;color:var(--muted);background:var(--card);border:1px solid var(--line);font-size:10px}
.ap-photo-wrap{flex:none;width:52px;height:72px}.ap-photo-wrap .ap-product-photo{max-width:100%;max-height:100%}.ap-menu .ap-photo-wrap{width:40px;height:52px}.ap-current-product .ap-photo-wrap{width:44px;height:60px}.ap-summary-product .ap-photo-wrap{width:40px;height:52px}
.ap-pause-note{font-size:11px;color:var(--st-warn-fg);margin-top:6px}.ap-history-actions button{min-height:40px}.ap-dialog-foot .ap-write-error{flex-basis:100%;margin:0}.ap-dialog .ap-validation{white-space:pre-wrap}.ap-dialog .ap-field label{display:block;margin:0}
.ap-preview-changes{margin:16px 0;padding:16px;border:1px solid var(--line);border-radius:12px}.ap-preview-changes h3{margin:0 0 8px}.ap-preview-changes ul{margin:0;padding-left:20px}.ap-preview-changes li{font-size:12px;margin:8px 0;color:var(--text-2)}
@media(max-width:800px){#ap-root h1{font-size:36px}.ap-dialog .ap-dialog-head h2{font-size:21px}.ap-photo-wrap{width:48px;height:68px}.ap-current-product .ap-photo-wrap{width:36px;height:48px}.ap-dialog .ap-dialog-foot{gap:8px}.ap-history-actions{flex-wrap:wrap}}

.ap-dialog input:focus-visible{border-radius:12px}#ap-root .ap-copy:focus-visible,.ap-dialog .ap-copy:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}

.ap-dialog button.ap-danger{background:var(--bad);color:#25100d;border-color:transparent}.ap-dialog button.ap-danger:hover{background:#ff9c90}.ap-dialog button.ap-delete-link{color:var(--st-err-fg)}

/* The added tab must fit beside the full owner navigation without widening the page. */
@media(min-width:1101px){.headinner .tabs{flex:0 1 auto;min-width:0;max-width:calc(100% - 268px);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}.headinner .tabs a{flex:none;white-space:nowrap}.headinner .tabs::-webkit-scrollbar{display:none}}
