body.pm-stock-pilot-page .stock-pilot-intro{margin:8px 0 12px;padding:14px 18px;border:1px solid #dce5f1;border-radius:14px;background:linear-gradient(120deg,#f4f8ff,#fff)}
body.pm-stock-pilot-page .stock-pilot-intro h1{margin:2px 0 4px;font-size:clamp(24px,3vw,34px);color:#082e6b}
body.pm-stock-pilot-page .stock-pilot-intro p:last-child{margin:0;color:#53667e;font-size:13px}
body.pm-stock-pilot-page .stock-pilot-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 14px}
body.pm-stock-pilot-page .stock-pilot-nav button{min-height:42px;padding:8px 16px;border:1px solid #cbd7e6;border-radius:10px;background:#fff;color:#17375e;font-weight:800;cursor:pointer}
body.pm-stock-pilot-page .stock-pilot-nav button[aria-pressed=true]{background:#082e6b;border-color:#082e6b;color:#fff}
body.pm-stock-pilot-page .stock-pilot-view[hidden],body.pm-stock-pilot-page [hidden]{display:none!important}
body.pm-stock-pilot-page .stock-pilot-view{display:block}
body.pm-stock-pilot-page #stockPanel{margin:0 0 16px!important}
body.pm-stock-pilot-page .stock-pilot-operations{margin:0 0 18px;padding:16px}
body.pm-stock-pilot-page .stock-pilot-operations h2{margin:0 0 12px;color:#082e6b}
body.pm-stock-pilot-page .stock-pilot-actions{display:flex;gap:9px;flex-wrap:wrap;margin:10px 0}
body.pm-stock-pilot-page .stock-pilot-button{min-height:42px;padding:9px 14px;border:1px solid #cbd7e6;border-radius:9px;background:#fff;color:#17375e;font-weight:800;cursor:pointer}
body.pm-stock-pilot-page .stock-pilot-button:hover{border-color:#082e6b}
body.pm-stock-pilot-page .stock-pilot-filter-label{display:flex;align-items:center;gap:10px;margin-top:10px;font-size:12px;font-weight:800;color:#30445f}
body.pm-stock-pilot-page .stock-pilot-filter-label select{min-height:40px;max-width:240px}
body.pm-stock-pilot-page .stock-pilot-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.pm-stock-pilot-page .stock-pilot-card{min-width:0;padding:16px;border:1px solid #dce5f1;border-radius:14px;background:#fff;box-shadow:0 5px 18px rgba(10,40,80,.05)}
body.pm-stock-pilot-page .stock-pilot-card-heading{margin-bottom:12px}
body.pm-stock-pilot-page .stock-pilot-card-heading>div{font-size:18px;font-weight:900;color:#082e6b}
body.pm-stock-pilot-page .stock-pilot-card-heading p{margin:3px 0 0;color:#61728a;font-size:12px}
body.pm-stock-pilot-page .stock-pilot-card .pm-compact-list-head{margin-top:8px}
body.pm-stock-pilot-page .stock-pilot-card .pm-scroll-list{max-height:420px}
body.pm-stock-pilot-page .stock-pilot-dialog{width:min(900px,calc(100vw - 28px));max-height:calc(100dvh - 28px);overflow:auto;padding:0;border:1px solid #d5deeb;border-radius:16px;background:#fff;color:#14243b;box-shadow:0 18px 65px rgba(8,34,70,.28)}
body.pm-stock-pilot-page .stock-pilot-dialog::backdrop{background:rgba(9,24,44,.52)}
body.pm-stock-pilot-page .stock-pilot-dialog-header{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 18px;border-bottom:1px solid #e4eaf2;background:#fff}
body.pm-stock-pilot-page .stock-pilot-dialog-header h2{margin:0;color:#082e6b;font-size:19px}
body.pm-stock-pilot-page .stock-pilot-original-section{margin:0!important;padding:18px;border:0!important;box-shadow:none!important}
body.pm-stock-pilot-page .stock-pilot-original-section .section-heading{margin-top:0}
body.pm-stock-pilot-page dialog.stock-pilot-dialog form{max-width:100%}
body.pm-stock-pilot-page #stockPanel .pm-stock-filters{margin-bottom:8px}
body.pm-stock-pilot-page #stockPanel .pm-stock-grid>div{min-width:0}
body.pm-stock-pilot-page #stockPanel .budget-row[hidden],body.pm-stock-pilot-page #productRows .budget-row[hidden]{display:none!important}
body.pm-stock-pilot-page #movementRows{max-height:70vh;overflow:auto}
@media(max-width:800px){body.pm-stock-pilot-page .stock-pilot-catalog-grid{grid-template-columns:1fr}body.pm-stock-pilot-page .stock-pilot-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:8px;padding:0}body.pm-stock-pilot-page .stock-pilot-original-section{padding:12px}body.pm-stock-pilot-page .stock-pilot-actions .stock-pilot-button{flex:1 1 150px}}


body.pm-stock-pilot-page .page-shell { padding: 6px 18px 28px; }
body.pm-stock-pilot-page .hero { max-width: none; margin: 0 0 8px; padding: 0; }
body.pm-stock-pilot-page .hero .eyebrow { margin-bottom: 2px; font-size: 9px; }
body.pm-stock-pilot-page .hero h1 { margin: 0 0 3px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.12; }
body.pm-stock-pilot-page .hero p:not(.eyebrow) { max-width: 76ch; margin: 0; font-size: 12px; line-height: 1.35; }
body.pm-stock-pilot-page .stock-pilot-nav { margin-bottom: 8px; }
body.pm-stock-pilot-page .stock-pilot-nav button { min-height: 40px; }
body.pm-stock-pilot-page .stock-pilot-feedback:empty { display: none; }
body.pm-stock-pilot-page #stockPanel { margin: 0 0 12px !important; padding: 12px 14px; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(460px, 1.2fr); align-items: center; gap: 7px 12px; margin-bottom: 4px; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .budget-heading { grid-column: 1; grid-row: 1; margin: 0; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .stock-pilot-operation-buttons { grid-column: 2; grid-row: 1; justify-content: flex-end; margin: 0; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > label:not(.stock-pilot-filter-label) { grid-column: 1; grid-row: 2; margin: 0; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .pm-stock-filters { grid-column: 2; grid-row: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 5px; margin: 0; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .field-help:not(.stock-pilot-operation-help) { grid-column: 1 / -1; grid-row: 3; margin: 0; font-size: 11px; line-height: 1.3; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .stock-pilot-filter-label { grid-column: 1; grid-row: 4; margin: 0; }
body.pm-stock-pilot-page #stockPanel .stock-pilot-operation-buttons .stock-pilot-button { flex: 0 1 auto; min-height: 42px; padding: 7px 10px; font: inherit; font-size: 14px; font-weight: 650; white-space: nowrap; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > label input,
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar select { min-height: 40px; }
body.pm-stock-pilot-page #stockPanel .pm-stock-filters button { min-height: 40px; padding: 7px 9px; font-size: 12px; }
body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar .budget-heading h2 { margin: 0; font: inherit; font-size: 20px; font-weight: 700; line-height: 1.35; }
body.pm-stock-pilot-page #stockPanel #stockCount { font: inherit; font-size: 15px; font-weight: 600; color: #53667e; }
body.pm-stock-pilot-page #stockPanel .pm-stock-grid h3 { margin: 3px 0 6px; font-size: 14px; }
body.pm-stock-pilot-page #stockPanel .budget-row { padding: 8px 10px; }
body.pm-stock-pilot-page #stockPilotGuidance { margin-top: 12px; padding: 10px 12px; border: 1px solid #dce5f1; border-radius: 10px; background: #f7f9fc; color: #53667e; }
body.pm-stock-pilot-page #stockPilotGuidance h3 { margin: 0 0 3px; color: #17375e; font-size: 13px; line-height: 1.3; }
body.pm-stock-pilot-page #stockPilotGuidance p { margin: 0; font-size: 12px; line-height: 1.45; }
body.pm-stock-pilot-page .stock-pilot-dialog-header button { min-height: 40px; }
@media (max-width: 700px) {
  body.pm-stock-pilot-page .page-shell { padding: 5px 10px 22px; }
  body.pm-stock-pilot-page .hero { margin-bottom: 7px; }
  body.pm-stock-pilot-page .hero h1 { font-size: 21px; }
  body.pm-stock-pilot-page .hero p:not(.eyebrow) { font-size: 11px; }
  body.pm-stock-pilot-page .stock-pilot-nav { margin-bottom: 7px; }
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .budget-heading,
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .stock-pilot-operation-buttons,
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > label:not(.stock-pilot-filter-label),
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .pm-stock-filters,
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .field-help:not(.stock-pilot-operation-help),
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .stock-pilot-filter-label,
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .stock-pilot-operation-help { grid-column: 1; grid-row: auto; justify-self: stretch; text-align: left; }
  body.pm-stock-pilot-page #stockPanel .pm-stock-toolbar > .stock-pilot-operation-buttons { justify-content: flex-start; }
  body.pm-stock-pilot-page #stockPanel .stock-pilot-operation-buttons .stock-pilot-button { flex: 1 1 145px; white-space: normal; }
  body.pm-stock-pilot-page #stockPanel .pm-stock-filters { justify-content: flex-start; }
  body.pm-stock-pilot-page #stockPanel .pm-stock-grid { grid-template-columns: 1fr; }
}
