#site-member-workspace .ec{--member-auto-field-bg:var(--role-bg,#eff2f7);font-size:13px}
#site-member-workspace .ec .ec-fields{border:0;padding:0;margin:0;min-width:0}
#site-member-workspace .ec .ec-block{border:1px solid #cbdce8;background:var(--role-bg,#eff2f7);border-radius:10px;margin:0 0 16px;padding:16px 18px;min-width:0}
#site-member-workspace .ec .ec-block>h4{margin:0 0 12px;font-size:14px}
#site-member-workspace .ec .ec-check{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-weight:400;font-size:13px}
#site-member-workspace .ec input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:#167ea9}
#site-member-workspace .ec .ec-line{border:1px solid #cbdce8;border-radius:8px;padding:10px;margin:8px 0;background:#fff}
#site-member-workspace .ec .ec-line>summary{display:flex;align-items:center;gap:12px;cursor:pointer;font-size:13px}
#site-member-workspace .ec .ec-line>summary::before{content:'▸'}
#site-member-workspace .ec .ec-line[open]>summary::before{content:'▾'}
#site-member-workspace .ec .ec-use{display:inline-flex;flex-direction:row;align-items:center;gap:6px;font-weight:400;margin-left:auto}
#site-member-workspace .ec .ec-line>.wf-grid{margin-top:12px}
#site-member-workspace .ec button{white-space:nowrap;background:#e6f4fc;border-color:#b9d0dd;color:#176687}
#site-member-workspace .ec button:enabled:is(:hover,:focus-visible){background:#87ceeb;color:#000;border-color:#72bbdf}
#site-member-workspace .ec button:enabled:active{background:#167ea9;color:#fff}
#site-member-workspace .ec .wf-status{color:#167ea9}
#site-member-workspace .ec .wf-status.error,#site-member-workspace .ec .ec-validation{color:#a22b2b}
#site-member-workspace .ec .ec-validation{border:1px solid #e6b5b5;padding:12px;border-radius:8px;margin-bottom:16px}
#site-member-workspace .ec .ec-validation ul{max-height:220px;overflow:auto;font-size:12px;line-height:1.7}
#site-member-workspace .ec .ec-db th,#site-member-workspace .ec .ec-db td{padding:4px 10px;font-size:12px;line-height:1.65}
#site-member-workspace .ec .ec-db td button{display:block;font:inherit;font-weight:700;line-height:1.4;min-height:0;padding:0;border:0;background:transparent}
#site-member-workspace .ec .ec-legacy,#site-member-workspace .ec .ec-sources{padding:12px;border:1px solid #cbdce8;border-radius:8px;margin-bottom:16px}
#site-member-workspace .ec .ec-legacy pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}
#site-member-workspace .ec .wf-grid>.site-detail-field:has(textarea){grid-column:1/-1}
@media(max-width:680px){#site-member-workspace .ec .ec-block{padding:12px}#site-member-workspace .ec .ec-line{padding:8px}#site-member-workspace .ec .site-detail-field{grid-template-columns:110px minmax(0,1fr);column-gap:6px}#site-member-workspace .ec .site-detail-label{font-size:12px}#site-member-workspace .ec .ec-check{font-size:12px}}



#site-member-workspace .ec .ec-block>h4{display:flex;align-items:center;justify-content:space-between;gap:12px}
#site-member-workspace .ec .ec-time{font-size:11px;font-weight:400;white-space:nowrap;color:#527083}
#site-member-workspace .ec textarea{min-height:64px;resize:vertical;overflow-y:hidden}
#site-member-workspace .ec .wf-toolbar{display:flex;flex-wrap:wrap;gap:8px}
#site-member-workspace .ec .site-detail-field{min-width:0}
#site-member-workspace .ec input,#site-member-workspace .ec select,#site-member-workspace .ec textarea{max-width:100%;min-width:0;box-sizing:border-box}

#site-member-workspace .ec .ec-filters{display:flex;flex-wrap:wrap;gap:12px;margin:8px 0}
#site-member-workspace .ec .ec-filters label{display:flex;align-items:center;gap:8px}
#site-member-workspace .ec .ei-notifications ul{max-height:200px;overflow:auto;padding:0;list-style:none}
#site-member-workspace .ec .ei-notifications li{padding:5px;border-bottom:1px solid #cbdce8}
#site-member-workspace .ec .ei-notifications time{font-size:11px;margin-left:8px}

/* Configuration detail layout requested 2026-11-17. */
#site-member-workspace .ec .ei-top-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start;margin-bottom:16px}
#site-member-workspace .ec .ei-top-grid>.wf-panel{min-width:0;margin:0}
#site-member-workspace .ec .site-detail-field{display:grid;grid-template-columns:170px minmax(0,1fr);gap:8px;align-items:center}
#site-member-workspace .ec .site-detail-label{white-space:normal;overflow-wrap:normal;word-break:keep-all}
#site-member-workspace .ec .ec-full{grid-column:1/-1}
#site-member-workspace .ec select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%232e5b77' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;padding-right:36px}
#site-member-workspace .ec [data-ec-section=wan] .ec-line :is(input,select,textarea){font-size:12px;padding:4px 8px;min-height:28px}
#site-member-workspace .ec [data-ec-section=wan] .ec-line :is(.site-detail-label,.ec-check,.ec-use,summary){font-size:12px}
#site-member-workspace .ec [data-ec-section=wan] .ec-line input[type=checkbox]{min-height:0;width:14px;height:14px;padding:0}
@media(max-width:900px){#site-member-workspace .ec .wf-grid{grid-template-columns:minmax(0,1fr)}#site-member-workspace .ec .site-detail-field{grid-template-columns:160px minmax(0,1fr)}}
@media(max-width:680px){#site-member-workspace .ec .ei-top-grid{grid-template-columns:minmax(0,1fr)}#site-member-workspace .ec .site-detail-field{grid-template-columns:140px minmax(0,1fr);gap:6px}}

/* Match empty detail chooser title inset to the other configuration panels. */
#site-member-workspace .ec [data-ec-detail]>.wf-panel{padding:16px 18px}
#site-member-workspace .ec [data-ec-detail]>.wf-panel>h4{margin:0 0 12px;font-size:14px}
@media(max-width:680px){#site-member-workspace .ec [data-ec-detail]>.wf-panel{padding:12px}}

/* One-step smaller controls in the four requested groups. */
#site-member-workspace .ec :is([data-ec-section=vrrp],[data-ec-section=lan],.ec-block:has([data-cfg^="tests."])) :is(input:not([type=checkbox]),select){font-size:12px;line-height:1.4;padding:3px 8px;min-height:28px;height:28px}
#site-member-workspace .ec [data-ec-section=wan] .ec-line :is(input:not([type=checkbox]),select){font-size:11px;line-height:1.4;padding:3px 7px;min-height:26px;height:26px}
#site-member-workspace .ec :is([data-ec-section=wan],[data-ec-section=vrrp],[data-ec-section=lan],.ec-block:has([data-cfg^="tests."])) select{padding-right:34px}

/* Compact all configuration text controls by one step. */
#site-member-workspace .ec :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select){height:26px;min-height:26px;padding-top:2px;padding-bottom:2px;line-height:1.35}
#site-member-workspace .ec :is([data-ec-section=vrrp],[data-ec-section=lan],.ec-block:has([data-cfg^="tests."])) :is(input:not([type=checkbox]),select){height:26px;min-height:26px;padding-top:2px;padding-bottom:2px}
#site-member-workspace .ec [data-ec-section=wan] .ec-line :is(input:not([type=checkbox]),select){height:24px;min-height:24px;padding-top:2px;padding-bottom:2px}
#site-member-workspace .ec textarea{min-height:52px;padding-top:3px;padding-bottom:3px;line-height:1.4}

/* Enlarge disclosure and select arrows by 30%, without scaling labels. */
#site-member-workspace .ec summary{list-style:none}
#site-member-workspace .ec summary::marker{content:''}
#site-member-workspace .ec summary::-webkit-details-marker{display:none}
#site-member-workspace .ec details>summary::before{content:'▸';display:inline-block;transform:scale(1.3);transform-origin:center;flex-shrink:0;margin-right:8px}
#site-member-workspace .ec details[open]>summary::before{content:'▾'}
#site-member-workspace .ec .ec-line>summary::before{margin-right:0}
#site-member-workspace .ec select{background-size:15.6px 10.4px}

/* Keep pre-activation trial rows as compact as the other detail groups. */
#site-member-workspace .ec .ec-block:has([data-cfg^="tests."])>.wf-grid{row-gap:8px;align-items:center}
#site-member-workspace .ec .ec-block:has([data-cfg^="tests."]) .site-detail-field{margin:0;min-height:26px}
#site-member-workspace .ec .ec-block:has([data-cfg^="tests."]) .site-detail-label{margin:0;padding:0;font-size:12px;line-height:1.4}

/* Further 20% increase from the existing 130% disclosure size. */
#site-member-workspace .ec details>summary::before{transform:scale(1.56)}

/* Manual values remain white; imported/read-only values follow this menu's theme. */
#site-member-workspace .wf.ec .site-detail-field>:is(input,select,textarea){background-color:#fff}
#site-member-workspace .wf.ec .site-detail-field>:is(input[readonly],textarea[readonly],[data-auto-field]){background-color:var(--role-bg,#eff2f7)}

#site-member-workspace .ec .ec-validation>summary{cursor:pointer;font-size:14px;font-weight:700}
#site-member-workspace .ec .ec-validation:not([open])>summary{margin-bottom:0}
