/* RM6 Gateway 정책 -- this track's one stylesheet of the redesign (GOAL-redesign-wave 4절 CSS). Its parts are
   redesign-rf1.css's (prefix lx-); index.html links it after them. Only this track writes here. */

/* The page: the old card around the panel is gone, the sections stand on the page (redesign 9.1). */
#cp-policy-panel{min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.rm6-page{min-width:0;color:var(--ds-text);font:400 14px/1.5 var(--ds-font)}
.rm6-main{display:flex;flex-direction:column;gap:16px;min-width:0;container:rm6-main / inline-size}
/* Beside the 버전 기록 panel the page lays out by its own width (the container rules at the end). */
.rm6-main>:empty{display:none}
.rm6-main>p{margin:0}
.rm6-main :where(h4,h5,p,ul,ol,dl,dd,pre){margin:0}
.rm6-main :where(small){color:var(--ds-text-3);font-size:13px;font-weight:400}

/* First row: who it applies to, what is in force, 새로 고침. */
.rm6-top{gap:8px 14px}
.rm6-top>label.rm6-scope{margin:0;color:var(--ds-text-3);font-size:13px;font-weight:400}
.rm6-top>#cp-scope{flex:0 1 auto;min-width:160px;max-width:420px;text-overflow:ellipsis}
.rm6-top>#cp-scope-find{flex:0 1 260px;min-width:160px}
.rm6-top>#cp-scope-find:empty{display:none}
.rm6-top>label.lx-fc{font-size:13px;color:var(--ds-text-2)}
.rm6-top>label.lx-fc[hidden]{display:none}
.rm6-inforce{gap:6px 12px;min-width:0;color:var(--ds-text-3);font-size:13px}
.rm6-inforce:empty{display:none}
.rm6-inforce b{color:var(--ds-text);font-weight:600}
/* A read that failed is the shared note in its danger colour (.lx-note-bad), not the older sheet's bordered box with its mark. */
#cp-policy-status:is([data-cp-status="failed"],[data-cp-status="offline"]){display:block;margin:0;padding:10px 14px;border:0;border-radius:10px;background:var(--ds-danger-soft);box-shadow:none;color:var(--ds-danger-text);font-size:13px;line-height:1.5}
#cp-policy-status:is([data-cp-status="failed"],[data-cp-status="offline"])::before{content:none}
#cp-policy-status>.lx-btn{margin-left:8px;border-color:var(--ds-line-strong,var(--ds-line))}

/* Sections: a list on the left, one section's lines on the right. */
.rm6-set{display:flex;align-items:flex-start;gap:16px 28px;min-width:0}
.rm6-secnav{position:sticky;top:12px;flex:0 0 212px;display:flex;flex-direction:column;gap:2px;min-width:0;padding-right:16px;border-right:1px solid var(--ds-line)}
button.rm6-sec-tab,button.rm6-sec-tab:is(:hover,:active,:focus){display:flex;align-items:center;gap:8px;width:100%;min-height:32px;margin:0;padding:5px 10px;border:0;border-radius:8px;background:transparent;box-shadow:none;filter:none;transform:none;color:var(--ds-text-2);font:500 14px/1.4 var(--ds-font);text-align:left;cursor:pointer}
button.rm6-sec-tab:hover{background:color-mix(in srgb,var(--ds-accent) 8%,transparent);color:var(--ds-text)}
button.rm6-sec-tab:is(.lx-on,[aria-selected="true"]),button.rm6-sec-tab:is(.lx-on,[aria-selected="true"]):is(:hover,:active,:focus){background:color-mix(in srgb,var(--ds-accent) 12%,transparent);color:var(--ds-text);font-weight:650}
button.rm6-sec-tab:focus-visible{outline:2px solid var(--ds-focus);outline-offset:1px}
.rm6-sec-tab>.lx-n{margin-left:auto;min-width:20px;padding:0 6px;border-radius:999px;background:var(--ds-accent-soft);color:var(--ds-accent-text);font-size:12px;font-weight:650;line-height:20px;text-align:center}
.rm6-secs{flex:1 1 0;min-width:0}
.rm6-sec{display:flex;flex-direction:column;min-width:0}
.rm6-sec[hidden]{display:none}
.rm6-sec>.lx-h2,.rm6-sec>h4{margin:0 0 4px}
.rm6-sec h5{margin:24px 0 8px;color:var(--ds-text-2);font-size:13px;font-weight:650;line-height:1.4}
.rm6-sec .lx-setrow:first-child{padding-top:16px}
.rm6-sec .lx-setrow .lx-sub{max-width:62ch}
.rm6-sec .lx-note{margin-top:12px}
.rm6-sec>.rm6-state,.rm6-sec>.lx-sub.rm6-state{text-align:left}
.rm6-sec [data-cp-layers-note]{margin-top:16px}
.rm6-sec .lx-note:has(>details){display:block}
.rm6-sec .lx-note>details.rm6-fold{margin-top:6px;border-top:0}
.rm6-sec .lx-note>details.rm6-fold>summary{min-height:24px;padding:0}
.rm6-sec .lx-note>details.rm6-fold[open]{padding-bottom:0}

/* A line's control: the box, and under it what the Gateway does with the value. */
.rm6-ctl{display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:0;max-width:440px;text-align:right}
.rm6-ctl>.lx-in,.rm6-ctl>[data-cp-daily-budget]>.lx-in{width:240px;max-width:100%}
.rm6-ctl>.lx-in:is([inputmode="numeric"],[inputmode="decimal"]),.rm6-ctl>[data-cp-daily-budget]>.lx-in{width:132px;text-align:right;font-variant-numeric:tabular-nums}
.rm6-ctl>select.lx-sel{min-width:124px}
.rm6-ctl>textarea.lx-in{width:360px;height:auto;min-height:72px;padding:8px 10px;line-height:1.5;resize:vertical}
.rm6-ctl>.lx-row{justify-content:flex-end}
.rm6-ctl>.lx-fc{justify-content:flex-end}
.rm6-state{color:var(--ds-text-3);font-size:13px;text-align:right}
.rm6-state:empty{display:none}
.rm6-state-warn{color:var(--ds-caution-text);font-weight:500}
.help-trigger.rm6-info{width:18px;height:18px;min-width:18px;margin-left:4px;font-family:var(--ds-font);font-style:normal}
.rm6-page :is(.lx-in,input,select,textarea):disabled{background:var(--ds-surface-2);color:var(--ds-text-2);cursor:not-allowed;opacity:1}
button.rm6-figure,button.rm6-figure:is(:hover,:active,:focus){display:inline;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;filter:none;transform:none;color:var(--ds-accent-text);font:inherit;cursor:pointer}
button.rm6-figure:hover{text-decoration:underline}

/* Allowed models: chips with a remove mark, the find box under them. */
.rm6-models{display:flex;flex-wrap:wrap;gap:6px;min-width:0;padding:4px 0}
.rm6-model{display:inline-flex;align-items:center;gap:2px;max-width:100%;min-height:30px;padding:0 4px 0 12px;border:1px solid var(--ds-line);border-radius:999px;background:var(--ds-surface);color:var(--ds-text)}
.rm6-model>.lx-mono{min-width:0;overflow-wrap:anywhere}
.rm6-model:not(:has(.rm6-x)){padding-right:12px}
button.rm6-x,button.rm6-x:is(:hover,:active,:focus){display:inline-grid;place-items:center;flex:none;width:22px;height:22px;margin:0;padding:0;border:0;border-radius:999px;background:transparent;box-shadow:none;filter:none;transform:none;color:var(--ds-text-3);font:400 16px/1 var(--ds-font);cursor:pointer}
button.rm6-x:hover{background:var(--ds-surface-3);color:var(--ds-text)}
button.rm6-x:focus-visible{outline:2px solid var(--ds-focus);outline-offset:1px}
.rm6-find{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.rm6-find>label{margin:0;color:var(--ds-text-3);font-size:13px;font-weight:400}
.rm6-find>input{flex:0 1 280px;width:auto;height:34px;margin:0;padding:0 10px;border:1px solid var(--ds-line-strong);border-radius:8px;background:var(--ds-surface);color:var(--ds-text);font:400 14px var(--ds-font)}
.rm6-chips,.rm6-picks{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.rm6-picks{justify-content:flex-end}
.rm6-picks:empty{display:none}

/* Folds: the long or rarely read parts of a section. */
details.rm6-fold{min-width:0;margin:0;padding:0;border:0;border-top:1px solid var(--ds-line);border-radius:0;background:transparent}
details.rm6-fold>summary{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-height:40px;padding:8px 0;color:var(--ds-text-2);font-size:13px;font-weight:500;cursor:pointer}
details.rm6-fold>summary:hover{color:var(--ds-text)}
details.rm6-fold>summary:focus-visible{outline:2px solid var(--ds-focus);outline-offset:2px}
details.rm6-fold[open]{padding-bottom:12px}
details.rm6-fold>summary>h5{display:inline;margin:0;color:var(--ds-text);font-size:14px}
details.rm6-fold>summary>small{color:var(--ds-text-3)}
details.rm6-fold>summary>b{color:var(--ds-text);font-weight:600}
details.rm6-fold pre{max-height:320px;margin:0;padding:10px 12px;overflow:auto;border-radius:8px;background:var(--ds-surface-2);color:var(--ds-text-2);font:400 var(--ds-fs-xs)/1.5 var(--ds-font-mono);white-space:pre-wrap;overflow-wrap:anywhere}
details.rm6-fold>ul{margin:0;padding:0 0 0 18px;color:var(--ds-text-2);font-size:13px}
.rm6-fold-sec{margin-top:20px}
.rm6-app>summary{justify-content:flex-start}
.rm6-app>summary .lx-sub{display:inline}

/* A row of boxes with their names over them (tool actions, an app's settings, the relay switch). */
.rm6-fields,#cp-f-actions>.rm6-fields[data-cp-mcp-row]{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 12px;min-width:0;margin:0;padding:12px 0;border-top:1px solid var(--ds-line)}
#cp-f-actions>.rm6-fields[data-cp-mcp-row]:first-child{border-top:0}
.rm6-fields>label:not(.lx-fc),#cp-f-actions>.rm6-fields[data-cp-mcp-row]>label:not(.lx-fc){display:flex;flex:1 1 150px;flex-direction:column;gap:4px;min-width:0;max-width:320px;margin:0;color:var(--ds-text-3);font-size:13px;font-weight:400}
.rm6-fields>label.lx-fc{flex:none;min-height:36px;font-size:13px}
.rm6-fields>:is(small,b),#cp-f-actions>.rm6-fields[data-cp-mcp-row]>:is(small,b){position:static;flex:1 1 100%;width:auto;height:auto;margin:0;overflow:visible;clip:auto;min-width:0;white-space:normal;overflow-wrap:anywhere}
.rm6-fields>b{color:var(--ds-text);font-size:13px;font-weight:650}
.rm6-fields>label>:is(textarea).lx-in{height:auto;min-height:72px;padding:8px 10px;line-height:1.5}
.rm6-ctl>.rm6-fields{justify-content:flex-end;padding:0;border-top:0;text-align:left}

/* Lines that only say (scope budgets, Router readiness, replicas). */
.rm6-lines{margin:0;padding:0;list-style:none;border-top:1px solid var(--ds-line)}
.rm6-lines>li{padding:9px 0;border-bottom:1px solid var(--ds-line);color:var(--ds-text);overflow-wrap:anywhere}
.rm6-line{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:4px 16px;min-width:0;padding:10px 0;border-bottom:1px solid var(--ds-line)}
.rm6-line>div{min-width:0}
.rm6-line b{font-weight:600}

/* The changes bar's list of what was changed. */
.rm6-changes{flex:1 1 100%;margin:0;padding:0 0 0 18px;color:var(--ds-text-2);font-size:13px;font-weight:400}

/* 버전 기록 panel: version rows, the stages of the picked version, the company rollout. */
#cp-versions-seg{margin-bottom:4px}
#cp-versions-body,#cp-rollout-host{display:flex;flex-direction:column;gap:16px;min-width:0}
#cp-versions-body[hidden],#cp-rollout-host[hidden]{display:none}
#cp-versions-body>:empty,#cp-rollout-host:empty{display:none}
#cp-policy-versions{display:flex;flex-direction:column;min-width:0}
.rm6-ver{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 12px;min-width:0;padding:12px 0;border-bottom:1px solid var(--ds-line)}
.rm6-ver[aria-current="true"]{margin:0 -10px;padding:12px 10px;border-radius:8px;border-bottom-color:transparent;background:var(--ds-surface-2)}
.rm6-ver>div:first-child{display:flex;flex:1 1 220px;flex-direction:column;gap:2px;min-width:0}
.rm6-ver>div:first-child>b{color:var(--ds-text);font-weight:600}
.rm6-ver>div:first-child>small{display:block;color:var(--ds-text-3);font-size:13px;overflow-wrap:anywhere}
.rm6-ver>div:first-child>details.rm6-fold{margin-top:6px}
.rm6-ver-acts{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px}
.rm6-ver-acts:empty{display:none}
.rm6-stages{min-width:0}
.rm6-stages>article{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.rm6-stages [data-cp-stage]{margin:0;padding:8px 0;border-bottom:1px solid var(--ds-line);color:var(--ds-text-2);font-size:13px;overflow-wrap:anywhere}
.rm6-stages [data-cp-stage]>b{color:var(--ds-text);font-weight:600}
.rm6-stages [data-cp-stage="refused"]>b{color:var(--ds-danger-text)}
#cp-policy-plan>article{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
.rm6-rollout{display:flex;flex-direction:column;gap:12px;min-width:0}
.rm6-rollout #rollout-status{margin:0;min-width:0}
#rollout-body{display:flex;flex-direction:column;gap:12px;min-width:0}
#rollout-body:empty{display:none}
#rollout-bundle-panel[hidden],section:has(>#rollout-bundle-panel[hidden]){display:none}

/* Narrow: by the page's own width (the window, or the panel beside it). The section list lies across the top and
   the line of the version in force takes its own row under 적용 대상. */
@container rm6-main (max-width:860px){
  .rm6-top>.rm6-inforce{order:3;flex:1 1 100%}
  .rm6-top>#cp-scope{flex:1 1 180px;min-width:160px}
  .rm6-set{flex-direction:column;align-items:stretch}
  .rm6-secnav{position:static;flex:none;flex-flow:row wrap;padding:0 0 8px;border-right:0;border-bottom:1px solid var(--ds-line)}
  button.rm6-sec-tab,button.rm6-sec-tab:is(:hover,:active,:focus){width:auto}
  .rm6-sec-tab>.lx-n{margin-left:0}
  .rm6-secs{flex:none}
}
@container rm6-main (max-width:520px){
  .rm6-sec .lx-setrow{grid-template-columns:minmax(0,1fr)}
  .rm6-ctl{align-items:flex-start;max-width:none;text-align:left}
  .rm6-ctl>.lx-in,.rm6-ctl>textarea.lx-in{width:100%}
  .rm6-state{text-align:left}
  .rm6-picks,.rm6-ctl>.lx-row,.rm6-ctl>.lx-fc,.rm6-ctl>.rm6-fields{justify-content:flex-start}
}

/* U44: provider settings and the shared header/settings parts; layout only. */
.cp-heading{display:flex;flex-direction:column;align-items:stretch;gap:var(--sp-4);min-width:0}
#cp-lede{min-width:0}
.cp-status-group{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);min-width:0}
.cp-status-group:has(#cp-inforce [data-cp-current]){padding:var(--sp-4);border:1px solid var(--ds-line);border-radius:var(--ds-radius);background:var(--ds-surface)}
#cp-inforce{flex:1;flex-wrap:wrap;gap:var(--sp-2);min-width:0}
#cp-inforce [data-cp-current]{color:var(--ds-text);font-size:var(--ds-fs-md)}
.rm6-top{flex-wrap:nowrap;gap:var(--sp-2)}
.rm6-top>#cp-scope{flex:0 1 var(--subnav-w);min-width:0;max-width:var(--subnav-w)}
.rm6-top>#cp-scope-find{flex:1 1 0;min-width:0;max-width:var(--subnav-w)}
.rm6-top>#cp-scope-all-box{flex:none;white-space:nowrap}
#cp-f-model-list{margin-top:var(--sp-4);max-width:var(--settings-max)}
.cp-provider{min-width:0}
.cp-provider .lx-card-h{display:flex;align-items:center;gap:var(--sp-2);padding-block:var(--sp-3)}
.rm6-sec .cp-provider h5{margin:0}
.cp-provider .lx-t{width:100%;table-layout:fixed}
.cp-provider .lx-t th:first-child{width:50%}
.cp-provider .lx-t td:first-child{overflow-wrap:anywhere}
.cp-provider .lx-t th:nth-child(2){width:16%}
.cp-provider .lx-sw{vertical-align:middle}
#cp-secnav{flex-wrap:wrap}
.cp-help{display:flex;justify-content:flex-start}
.cp-help .lx-fold{margin:0}
.cp-key-section{margin-top:var(--sp-6)}
.cp-key-section .lx-setrow-c{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap}
.cp-hours{display:inline-flex;align-items:center;gap:var(--sp-2)}
.cp-hours>.lx-in{width:calc(var(--ctl-h) * 3);min-width:0}
#cp-f-model-list .lx-empty{display:flex;align-items:center;gap:var(--sp-3);flex-wrap:wrap;justify-content:flex-start}
@container rm6-main (max-width:640px){.cp-status-group{flex-wrap:wrap}.rm6-top>.rm6-scope{display:none}}

/* U44: one setting width and shared row layout throughout the policy tabs. */
.rm6-sec{max-width:var(--settings-max)}
.cp-setting-name{display:inline-flex;align-items:center;gap:var(--sp-1)}
.cp-setting-name>label{display:inline;margin:0;color:var(--ds-text);font-weight:var(--fw-semibold)}
.rm6-sec .lx-setrow{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--sp-4)}
.rm6-sec .lx-setrow-c{display:flex;align-items:center;justify-content:flex-end;gap:var(--sp-2);flex-wrap:wrap;min-width:0}
/* What the Gateway says of a value stands before its box, so every box ends on the same right edge. */
.rm6-sec .lx-setrow-c>.rm6-state{order:-1}
.rm6-sec .lx-setrow-c>.lx-sub{order:-1}
.rm6-sec .lx-setrow-c>.lx-in{width:var(--subnav-w);max-width:100%}
.rm6-sec .lx-setrow-c>.lx-in[inputmode]{width:calc(var(--ctl-h) * 3)}
.rm6-sec .lx-setrow-c>.lx-sel{max-width:var(--subnav-w)}
.rm6-sec .rm6-state{display:inline-flex;align-items:center;gap:var(--sp-1);max-width:var(--subnav-w);margin:0}
.cp-input-group{display:inline-flex;align-items:center;gap:var(--sp-2);min-width:0}
.cp-input-group>.lx-in{width:calc(var(--ctl-h) * 3);min-width:0;text-align:right}
.cp-input-group>span{color:var(--ds-text-3);white-space:nowrap}
.cp-setting-fields{display:block;min-width:0}
#cp-f-actions>.rm6-fields[data-cp-mcp-row]{display:block}
#cp-f-actions>.rm6-fields[data-cp-mcp-row]>:is(b,small){display:block}
#cp-f-actions>.rm6-fields[data-cp-mcp-row]>.lx-setrow{width:100%}
.rm6-sec .lx-empty{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap}
.rm6-sec .lx-empty .lx-btn{margin-top:0}
.rm6-picks>.lx-empty{flex:1 1 100%}
.rm6-sec [data-cp-layers-note]{margin-top:var(--sp-4)}
.rm6-sec .lx-full{min-width:0}
.cp-provider .lx-t:not(:has(th:nth-child(3))) th:first-child{width:80%}
.cp-provider .lx-t:not(:has(th:nth-child(3))) th:nth-child(2){width:20%}
@container rm6-main (max-width:520px){
  .rm6-sec .lx-setrow{grid-template-columns:minmax(0,1fr)}
  .rm6-sec .lx-setrow-c{justify-content:flex-start;max-width:100%}
}

/* U44: a section's title with its mode counts on the right; the layers' lists under their line; the relay's choice. */
.cp-sec-head{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-3);flex-wrap:wrap;margin:0 0 var(--sp-1)}
.cp-sec-head>.lx-h2{margin:0}
.cp-sec-head [data-cp-layers-note]{margin:0}
.rm6-sec .lx-setrow .lx-full>.rm6-lines{margin-top:var(--sp-2)}
.cp-relay-toggle{display:inline-flex;align-items:center;gap:var(--sp-2);flex-wrap:nowrap}
.rm6-sec [data-cp-unsupported]>h5{margin-top:var(--sp-6)}
#cp-scope-all-box .lx-tag{margin-left:var(--sp-1)}
/* U44: an app fold's summary facts (tool calls, subscription relay, run limit) stand apart, not strung by dots. */
/* U44 R3 (QA F2): one card an app -- the name (its ID muted beside), then a cell each for 도구 호출, 구독 연결, 실행 한도, 허용 모델 and MCP */
.rm6-app>summary{flex-wrap:wrap;align-items:flex-start;row-gap:var(--sp-2)}
.cp-app-head{display:flex;flex:1 1 100%;align-items:baseline;gap:var(--sp-2);min-width:0}
.cp-app-cols{display:grid;flex:1 1 100%;grid-template-columns:repeat(auto-fill,minmax(calc(var(--ctl-h) * 4),1fr));gap:var(--sp-2) var(--sp-5)}
.cp-app-cell{display:flex;flex-direction:column;align-items:flex-start;gap:var(--sp-1);min-width:0}
.cp-app-cell>small{color:var(--muted);font-size:var(--fs-xs);font-weight:var(--fw-regular)}
.cp-app-cell>.lx-sub{display:block}
.rm6-app>summary>small{flex:1 1 100%}
/* U44 R4 (QA F1): 앱별 설정 is the limits tab's bordered table (the shared div.lx-t[role=table]) -- the head row names the six
   columns, an app's fold summary is a row of six cells (name over its muted ID, then one value a cell); opened, its fields
   stand under the row, inside the table. A cell's own label is for a narrow table, where the head row steps aside. */
.cp-app-t{margin-top:var(--sp-2)}
.cp-app-t>.cp-app-tr,.cp-app-t>.rm6-app>summary{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr)) minmax(0,1.7fr) minmax(0,1.2fr);align-items:start;column-gap:var(--sp-4);row-gap:var(--sp-1);padding-inline:var(--sp-4)}
.cp-app-t>.rm6-app{border-top:0}
.cp-app-t>.rm6-app>summary{min-height:var(--row-min-h);padding-block:var(--row-pad);border-bottom:1px solid var(--divider-soft);color:var(--ink);font-size:var(--fs-sm);font-weight:var(--fw-regular)}
.cp-app-t>.rm6-app>summary:hover{background:var(--bg-hover)}
.cp-app-t>.rm6-app:last-child:not([open])>summary{border-bottom:0}
.cp-app-t>.rm6-app[open]:not(:last-child){border-bottom:1px solid var(--divider-soft)}
.cp-app-t>.rm6-app>:not(summary){margin-inline:var(--sp-4)}
.cp-app-t>.rm6-app>.cp-setting-fields{margin-top:var(--sp-2)}
.cp-app-t .cp-app-cols{display:contents}
.cp-app-t .cp-app-head{display:flex;flex:none;flex-direction:column;align-items:flex-start;gap:var(--sp-1);min-width:0}
.cp-app-t .cp-app-head>.lx-id{max-width:100%}
.cp-app-t .cp-app-cell{flex-direction:row;flex-wrap:wrap;align-items:center;overflow-wrap:anywhere}
.cp-app-t .cp-app-cell>small{display:none}
/* a long model name stays in its cell (its whole name on the cell's hover), never over the next column */
.cp-app-t .cp-app-cell>.lx-tags{min-width:0;max-width:100%}
.cp-app-t .cp-app-cell .lx-tag{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cp-app-t>.rm6-app>summary>small{grid-column:1 / -1}
@container rm6-main (max-width:640px){
  .cp-app-t>.cp-app-tr{display:none}
  .cp-app-t>.rm6-app>summary{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:var(--sp-2)}
  .cp-app-t .cp-app-head{grid-column:1 / -1}
  .cp-app-t .cp-app-cell{flex-direction:column;align-items:flex-start}
  .cp-app-t .cp-app-cell>small{display:block}
}
/* U44 R4: 앱별 설정's CSV is its head line's right-hand button; 새 앱 기본값 is a card of setting rows as the 앱 card is. */
#cp-f-apps-fold>summary>.cp-csv-head{margin-inline-start:auto}
.rm6-sec .cp-app-defaults>.lx-card{margin-top:var(--sp-2)}
/* U44 R4: a setting row's name is one weight wherever it stands -- a label for a box or the name of a read-only row. */
.cp-setting-name>b{color:var(--ds-text);font-weight:var(--fw-semibold)}
/* U44 R3 (QA F1): the layers' ceilings are a small table under their line */
.cp-layer-t{width:100%;margin-top:var(--sp-2)}
/* U44: a layer's owner and its ceilings, and a run limit's parts, stand apart, not strung by dots. */
.cp-part:not(:last-child){margin-inline-end:var(--sp-2)}
/* U44: the headline, its actions, the toolbar, the body and the draft bar are one column, capped as the sections are. */
#cp-main>*{max-width:var(--settings-max)}
/* U44 round 2: a following section of a tab has the first one's head, a section's space above it. */
.rm6-sec .cp-sec-next{margin-top:var(--sp-6)}
.rm6-sec .cp-app-defaults>h5{display:flex;align-items:center;gap:var(--sp-1)}
.rm6-sec [data-cp-app-waiting-reasons]{margin:var(--sp-1) 0 0}
