/* Socles: fixed header and rail, independent body; custom shell reuses aw/mt components. */
#softwareDeploymentPage{position:fixed;top:var(--sw-top);left:var(--sw-left);width:var(--sw-width);height:var(--sw-height);display:grid;grid-template-columns:minmax(0,1fr) 260px;background:var(--surface,#fff);border:1px solid var(--line,#dce3eb);overflow:hidden;z-index:8}
#softwareDeploymentPage .sw-main{display:flex;flex-direction:column;min-width:0;min-height:0}#softwareDeploymentPage .sw-head{display:flex;align-items:center;justify-content:space-between;gap:15px;height:70px;min-height:70px;box-sizing:border-box;padding:12px 20px;border-bottom:0;background:var(--surface,#fff)}#softwareDeploymentPage h2{font-size:20px;margin:0}#softwareDeploymentPage .sw-scroll{overflow:auto;flex:1;min-height:0;background:#f6f9fc;padding:0 18px 20px}#softwareDeploymentPage .mt-rail{padding:0 14px 14px;overflow:auto;border-left:1px solid var(--line,#dce3eb);background:var(--surface,#fff)}#softwareDeploymentPage svg{width:22px;height:22px;flex-shrink:0}#softwareDeploymentPage .sw-hint{font-size:13px;padding:18px;line-height:1.5}#softwareDeploymentPage .sw-two{display:grid;grid-template-columns:1fr 1fr;gap:18px}#softwareDeploymentPage .sw-field{display:flex;flex-direction:column;gap:8px;max-width:420px;margin-bottom:16px}#softwareDeploymentPage input:not([type=checkbox]),#softwareDeploymentPage select{padding:10px;border:1px solid var(--line,#cbd7e6);border-radius:7px;min-width:0;max-width:100%;font:inherit}#softwareDeploymentPage .sw-check{display:flex;align-items:center;gap:10px;margin:12px 0}#softwareDeploymentPage input[type=checkbox]{width:18px!important;height:18px!important;flex:0 0 18px;margin:0}#softwareDeploymentPage .sw-selected{max-height:200px;overflow:auto;line-height:1.8;padding-left:22px}#softwareDeploymentPage .sw-choices{max-height:260px;overflow:auto}#softwareDeploymentPage .sw-choices [hidden]{display:none}#softwareDeploymentPage .sw-picker{margin:15px 0}#softwareDeploymentPage .sw-filters{display:flex;gap:10px;align-items:center;margin-bottom:15px;flex-wrap:wrap}#softwareDeploymentPage .sw-filters input{flex:1;min-width:140px}#softwareDeploymentPage .sw-table{overflow:auto}#softwareDeploymentPage table{width:100%;border-collapse:collapse;background:var(--surface,#fff)}#softwareDeploymentPage th,#softwareDeploymentPage td{padding:12px;text-align:left;border-bottom:1px solid var(--line,#dce3eb);vertical-align:top}#softwareDeploymentPage th{background:#e5ebf3}#softwareDeploymentPage tr.selected{background:#e7f2ff}#softwareDeploymentPage pre{white-space:pre-wrap;max-width:500px;max-height:180px;overflow:auto}#softwareDeploymentPage .sw-pagination{display:flex;justify-content:flex-end;gap:15px;padding:15px;align-items:center}#softwareDeploymentPage #swError:empty{display:none}#softwareDeploymentPage #swError,#softwareDeploymentPage .sw-warning{color:#9f3324;background:#fff1e9;padding:12px;border-radius:7px}.sw-preview{max-width:800px;width:80vw;border:1px solid #cbd7e6;border-radius:10px;padding:24px}.sw-preview>div{max-height:60vh;overflow:auto}.sw-preview::backdrop{background:#0006}
@media(max-width:1000px){#softwareDeploymentPage{grid-template-columns:minmax(0,1fr) 260px}#softwareDeploymentPage .sw-head{flex-wrap:wrap}#softwareDeploymentPage .form-counter{padding:4px 10px;min-width:85px}}
@media(max-width:760px){#softwareDeploymentPage{position:relative;top:auto;left:auto;width:100%;height:auto;display:flex;flex-direction:column}#softwareDeploymentPage .sw-scroll{overflow:visible}#softwareDeploymentPage .sw-two{grid-template-columns:1fr}#softwareDeploymentPage .mt-rail{border-left:0;border-top:1px solid #dce3eb}#softwareDeploymentPage .sw-head{padding:16px}#softwareDeploymentPage .sw-scroll{padding:12px}}

/* Structural adapter only. Visual cards/tabs: model-one.css shared with Matériel.
   Rail/actions: right-tools.css, company-colors.css, edit-action-buttons.css. */
body:has(#softwareDeploymentPage) .page-heading{display:none!important}
#softwareDeploymentPage *{box-sizing:border-box}
#softwareDeploymentPage .mt-rail>h2{display:flex;align-items:center;justify-content:space-between;min-height:56px}
#softwareDeploymentPage .sw-close{border:0;background:transparent;color:#c82626;display:flex;align-items:center;justify-content:center;width:30px;height:32px;cursor:pointer;padding:0}
#softwareDeploymentPage .sw-hint{padding:14px 0;color:var(--muted)}
#softwareDeploymentPage .sw-head .form-counter strong{font-size:22px}
#softwareDeploymentPage .sw-head .form-counter{padding:0 12px;min-width:80px}
#softwareDeploymentPage .sw-filters{padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--surface,#fff)}
#softwareDeploymentPage .sw-field{font-size:11px;color:#324b63;gap:4px}
#softwareDeploymentPage .sw-field :is(input,select){font-size:13px;color:var(--ink);height:36px;padding:8px 10px;border-radius:6px}
#softwareDeploymentPage .sw-field input[type=number]{max-width:130px}
#softwareDeploymentPage .sw-check{font-size:13px}
#softwareDeploymentPage .sw-two{align-items:start}
#softwareDeploymentPage .rt-command>svg{stroke-linecap:round;stroke-linejoin:round}
#softwareDeploymentPage .rt-primary-action{background:var(--blue)!important;color:var(--button-ink,#fff)!important;justify-content:center;padding:10px!important;margin:4px 0 10px}
@media(max-width:759px){#softwareDeploymentPage .sw-head{height:auto;min-height:70px}#softwareDeploymentPage .right-tools-aside>h2{font-size:16px;padding:12px 0;border-bottom:1px solid var(--line)}#softwareDeploymentPage .rt-group{padding:12px 0;border-bottom:1px solid var(--line)}#softwareDeploymentPage .rt-command{display:flex!important;align-items:center;gap:10px;min-height:44px;font-size:13px}#softwareDeploymentPage .rt-edit-actions{display:grid;gap:10px}#softwareDeploymentPage .rt-edit-cancel{justify-content:center;border:1px solid var(--line)}}

#softwareDeploymentPage .sw-logo{width:28px!important;height:28px!important;object-fit:contain;flex:0 0 28px;vertical-align:middle}#softwareDeploymentPage .sw-logo-large{width:64px!important;height:64px!important}#softwareDeploymentPage .sw-software-name{display:inline-flex;align-items:center;gap:9px;min-width:0}#softwareDeploymentPage .sw-package-summary{display:flex;flex-wrap:wrap;gap:8px 14px}#softwareDeploymentPage .sw-logo-generic{display:inline-flex;align-items:center;justify-content:center;background:var(--pale);border-radius:6px}#softwareDeploymentPage .sw-version-row{display:flex;gap:10px;align-items:center}#softwareDeploymentPage .sw-version-row .sw-field{flex:1}#softwareDeploymentPage .sw-head h2{display:flex;align-items:center;gap:10px}

html body #softwareDeploymentPage .sw-close{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;min-width:30px!important;max-width:30px!important;min-height:32px!important}html body #softwareDeploymentPage .refresh-with-label{background:transparent!important;justify-content:flex-start!important;width:100%!important;max-width:none!important;height:auto!important;min-height:40px!important;padding:10px 4px!important;font-size:13px!important}html body #softwareDeploymentPage .refresh-with-label>span{display:inline!important}

/* Header is a separate white region; only content below it scrolls. */
html body #softwareDeploymentPage .sw-head{flex:0 0 auto;position:relative;z-index:7;background:#fff;border-bottom:1px solid #edf1f5}
html body #softwareDeploymentPage .sw-scroll{padding-top:10px}
html body.dark-mode #softwareDeploymentPage .sw-head{background:#14283d;border-color:#2b4055}
html body.dark-mode #softwareDeploymentPage .sw-scroll{background:#102235}

/* V695: measured against the actual Matériel shell, not an isolated tab fixture.
   4px outer inset; 70px head; 20px head inset; 18px body inset; no top gap. */
@media(min-width:760px){
 html body #softwareDeploymentPage{scrollbar-gutter:stable}
 html body #softwareDeploymentPage .sw-head{align-items:flex-start;border-bottom:0;padding:8px 20px 12px}
 html body #softwareDeploymentPage .sw-head h2{font-size:20px;line-height:23px;margin:0;padding:0}
 html body #softwareDeploymentPage .sw-head .form-counters{align-self:center}
 html body #softwareDeploymentPage .sw-scroll{padding:0 18px 20px}
 html body #softwareDeploymentPage .mt-rail>h2{font-size:16px;line-height:normal;min-height:56px;margin:0 -14px;padding:12px 14px;border-bottom:1px solid var(--line);justify-content:space-between}
}
