:root{background:#f5f7fa;color:#293950;font-size:14px}
.sidebar.admin-sidebar{width:240px;flex-basis:240px}
.main-area{min-width:0;background:#f5f7fa}
.topbar{height:64px;border-bottom:1px solid #e5eaf0;padding-inline:36px;background:#fff}
.breadcrumb{font-size:11px;color:#637790;letter-spacing:.04em}
.breadcrumb strong{font-size:12px;color:#52637d;letter-spacing:0;font-weight:500}
.topbar-tag{background:#f4f7fb;color:#718198;border:0;padding:6px 10px;border-radius:6px;font-size:11px}
.content{max-width:1280px;padding:34px clamp(24px,4vw,60px) 48px}
.page-heading{align-items:center;margin-bottom:18px}
.page-heading h1{font-size:26px;font-weight:650;color:#203550;margin:8px 0}
.eyebrow{color:#9aa7b8;font-size:9px;letter-spacing:.15em}
.page-heading p{font-size:12px;color:#65758b}
.feedback{min-height:0;margin:0 0 16px}.feedback:has(span:not(:empty)){margin-bottom:18px}
.card{border:1px solid #e4e9f0;border-radius:13px;box-shadow:0 3px 9px #20355003;padding:25px;margin-bottom:18px}
.card h2{font-size:16px;font-weight:650;color:#304562;margin-top:0}
.card p{color:#64748b;font-size:12px;line-height:1.7}
.card-overline{font-size:9px;color:#95a4b8;margin-bottom:8px}
.grid{gap:18px;margin-block:20px}
label{font-size:12px;color:#63738a}
input,select,textarea{border-color:#dce3ec;border-radius:8px;padding:10px 12px;background:#fbfcfe;color:#34465f;font-size:13px}
button{border-radius:8px;border-color:#dce3ec;font-size:12px;transition:background .15s,color .15s}
button.primary{background:#2d4772;border-color:#2d4772;box-shadow:0 2px 4px #2d477214}
table th{font-size:11px;font-weight:550;color:#8190a6;background:#f7f9fc;padding:13px 14px}
table td{font-size:12px;padding:15px 14px;border-color:#edf0f5;color:#51637c}
table tr:last-child td{border-bottom:0}
.table-wrap{border:1px solid #e6ebf2;border-radius:10px;overflow:auto;margin-top:20px}
.hero{background:#edf2f9;border:1px solid #dee7f3;color:#2d4772;border-radius:14px;box-shadow:none}
@media(max-width:760px){.sidebar.admin-sidebar{width:auto;min-height:0;height:auto}.topbar{padding-inline:18px;height:54px}.content{padding:24px 16px}.card{padding:18px}.grid{gap:12px}.page-heading h1{font-size:23px}}
.user-module-layout{display:grid;grid-template-columns:136px minmax(0,1fr);gap:22px;align-items:start}
.user-module-nav{display:grid;gap:5px;padding:8px;border:1px solid #dce4ef;border-radius:10px;background:#edf2f8;position:sticky;top:20px}
.user-module-nav button{border:0;border-radius:7px;text-align:left;background:transparent;color:#5a6d88;padding:10px 12px;font-size:12px}
.user-module-nav button.active{background:#fff;color:#284f86;box-shadow:0 1px 4px #263d6512;font-weight:600}
.user-module-content{min-width:0}
@media(max-width:1000px){.user-module-layout{grid-template-columns:1fr;gap:14px}.user-module-nav{display:flex;position:static}}
.customer-role-toolbar{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}
.customer-role-toolbar input{flex:1;min-width:220px;max-width:440px}
.panel[data-panel=authentication] details{color:#65758b;font-size:12px;margin-top:14px}
.panel[data-panel=authentication] textarea{display:block;width:100%;margin-top:8px;font:12px/1.7 ui-monospace,Consolas,monospace}
/* Interface, attribute and role submodules share the same list/detail layout. */
.adapter-layout{display:grid;grid-template-columns:238px minmax(0,1fr);background:#fff;border:1px solid #d8e0ea;border-radius:12px;overflow:hidden;min-height:480px}
.adapter-list{padding:12px;background:#eef2f7;border-right:1px solid #d4ddea;display:flex;flex-direction:column;gap:6px;align-items:stretch}
.adapter-item{display:flex;flex-direction:column;text-align:left;gap:5px;background:transparent;border:1px solid transparent;padding:13px 12px;color:#263b56;overflow-wrap:anywhere}
.adapter-item small{color:#586e87;font-size:11px;line-height:1.5}.adapter-item.active{background:#fff;border-color:#bbcbdf;box-shadow:0 2px 5px #223b5510;color:#193f72}.adapter-item.active small{color:#355a84}.adapter-item:hover{background:#e0e8f2}
.adapter-detail{padding:26px 30px;min-width:0}.adapter-detail h2{margin:0 0 14px;font-size:19px;color:#203a5b}.adapter-detail h3{font-size:15px;color:#203a5b}.adapter-detail p{color:#51657d;font-size:12px;line-height:1.8}.adapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0}
.adapter-field{display:flex;flex-direction:column;gap:8px;margin:16px 0;min-width:0;color:#324b67}.adapter-field input,.adapter-field select,.adapter-field textarea{width:100%;min-width:0}.adapter-grid .adapter-field{margin:0}.adapter-provider{display:flex;gap:28px;align-items:center}.adapter-provider label{min-width:240px;display:grid;gap:7px}.adapter-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.adapter-section{border-top:1px solid #dce4ee;margin-top:24px;padding-top:14px}
.request-fields{display:grid;gap:8px;margin:12px 0}.request-field-row{display:grid;grid-template-columns:1fr 1.3fr auto;gap:8px}.request-field-row input{min-width:0;width:100%}.adapter-detail textarea{width:100%;font:12px/1.7 Consolas,monospace;resize:vertical;color:#203a5b;background:#f7f9fc}
.response-tree{margin-top:16px;padding:12px;border:1px solid #d8e2ee;border-radius:8px;background:#f7f9fc;max-height:380px;overflow:auto}.response-tree:empty{display:none}.response-children{padding-left:22px;border-left:1px solid #d2dfef;margin-left:8px}.response-line{display:flex;align-items:center;gap:14px;padding:4px 0;min-width:0}.response-line button{padding:4px 8px;border:0;background:transparent;color:#244d7e;white-space:nowrap}.response-line button:hover{background:#dce9fa}.response-line code{color:#32624d;font-size:11px;overflow-wrap:anywhere}.response-tree summary>.response-line{display:inline-flex}.response-tree summary{cursor:pointer;color:#4e6a8e}
.field-picker{display:flex;gap:8px}.field-picker input{flex:1;min-width:0;background:#eff4fa;color:#23476f}.field-picker button{flex:none}.field-dialog{width:min(760px,calc(100vw - 36px));border:1px solid #becde0;border-radius:14px;padding:22px;color:#263b56;box-shadow:0 20px 80px #152c4a40}.field-dialog::backdrop{background:#15243c66}.field-dialog .response-tree{max-height:60vh}.json-preview,.attribute-value{display:block;padding:15px;background:#edf3fa;border:1px solid #d9e3ef;border-radius:8px;color:#254c79;white-space:pre-wrap;overflow-wrap:anywhere}.mapping-standard{padding:18px;background:#edf3fa;border:1px solid #d0dfef;border-radius:9px;display:grid;gap:10px}.mapping-standard code{color:#32624d}.mapping-standard small{color:#566c87}.module-tabs{display:flex;gap:8px;margin:0 0 16px}.module-tabs button.active{background:#294e7d;color:#fff;border-color:#294e7d}
@media(max-width:1000px){.adapter-layout{grid-template-columns:190px minmax(0,1fr)}.adapter-detail{padding:22px}.adapter-grid{grid-template-columns:1fr}.adapter-provider{display:block}}
@media(max-width:680px){.adapter-layout{grid-template-columns:1fr}.adapter-list{border-right:0;border-bottom:1px solid #d4ddea;max-height:230px;overflow:auto}.adapter-detail{padding:18px}.request-field-row{grid-template-columns:1fr 1fr auto}.field-picker{flex-wrap:wrap}.field-picker input{flex-basis:100%}}
.inline-list{margin-top:0;background:#fff}.inline-list th,.inline-list td{padding:10px 12px;vertical-align:middle}.inline-list td{height:48px}.inline-list input,.inline-list select{padding:7px 9px;min-width:120px;width:100%}.inline-list code{font-size:11px;overflow-wrap:anywhere}.inline-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}.inline-actions button{padding:6px 10px}.inline-list .field-picker{min-width:280px}.inline-list .field-picker input{width:0;flex:1}.inline-list .field-picker button{padding:6px 9px}
#identityMapping table{table-layout:fixed;width:100%;min-width:900px}#identityMapping th:nth-child(1){width:15%}#identityMapping th:nth-child(2){width:9%}#identityMapping th:nth-child(3){width:20%}#identityMapping th:nth-child(4){width:33%}#identityMapping th:nth-child(5){width:23%}#identityMapping th{white-space:nowrap}#identityMapping td{height:52px}#identityMapping td:first-child code{white-space:nowrap}#identityMapping .field-picker{min-width:0;flex-wrap:nowrap}#identityMapping .field-picker input{min-width:0;flex-basis:auto}#identityMapping .mapping-example{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;color:#36516e}#identityMapping .field-picker button{border-color:#c8d5e5;color:#294e7d;background:#f5f8fc}#identityMapping .field-picker button:hover{background:#e5edf8}
/* Shared lists must not inherit the legacy 64px action-column width. */
.inline-list td:last-child{width:auto}.inline-list table{margin-top:0}
#platformModules[data-module="attributes"] table{table-layout:fixed;min-width:960px}#platformModules[data-module="attributes"] th:nth-child(1){width:14%}#platformModules[data-module="attributes"] th:nth-child(2){width:9%}#platformModules[data-module="attributes"] th:nth-child(3){width:23%}#platformModules[data-module="attributes"] th:nth-child(4){width:17%}#platformModules[data-module="attributes"] th:nth-child(5){width:14%}#platformModules[data-module="attributes"] th:nth-child(6){width:23%}#platformModules[data-module="attributes"] th{white-space:nowrap}#platformModules[data-module="attributes"] td{height:52px}#platformModules[data-module="attributes"] td:first-child code{white-space:nowrap}.attribute-example{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px!important;color:#36516e}
.adapter-actions>button{padding:9px 13px;border:1px solid #c8d5e5;background:#fff;color:#294e7d;border-radius:8px;line-height:1.4}.adapter-actions>button:hover{background:#e5edf8}.adapter-actions>button.primary{background:#2d4772;border-color:#2d4772;color:#fff}

/* Keep dialog controls visible; the field tree owns both scroll directions. */
.field-dialog{width:min(960px,calc(100vw - 32px));height:min(760px,calc(100dvh - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:hidden;box-sizing:border-box}
.field-dialog[open]{display:flex;flex-direction:column;gap:12px}.field-dialog>.section-title,.field-dialog>p,.field-dialog>button{flex:none;margin:0}.field-dialog>.section-title{align-items:center;padding-bottom:12px}.field-dialog>button{align-self:flex-start;padding:7px 12px;border:1px solid #c8d5e5;background:#fff;color:#294e7d;border-radius:7px}
.field-dialog .response-tree{flex:1 1 0;min-height:0;min-width:0;max-height:none;margin:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:auto;touch-action:pan-x pan-y}
.field-dialog .response-tree details{width:max-content;min-width:100%}.field-dialog .response-line{width:max-content;min-width:100%;align-items:flex-start}.field-dialog .response-line button{flex:none;max-width:min(520px,65vw);white-space:normal;text-align:left;overflow-wrap:anywhere;line-height:1.7}.field-dialog .response-line code{flex:none;max-width:min(480px,65vw);white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}.field-dialog .response-tree summary>.response-line{min-width:0}
@media(max-width:680px){.field-dialog{padding:14px;gap:8px}.field-dialog .response-children{padding-left:14px;margin-left:5px}}
