.mc6130{max-width:1180px;margin:0 auto;color:#153047}.mc6130-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;margin-bottom:1.75rem}.mc6130-header h1{font-size:clamp(1.7rem,3vw,2.15rem);margin:.35rem 0 .65rem;letter-spacing:-.035em}.mc6130-header p{max-width:74ch;line-height:1.6;margin:.25rem 0}.mc6130-eyebrow{text-transform:uppercase;font-size:.74rem;font-weight:700;letter-spacing:.08em;color:#567186}.mc6130 button{min-height:44px;border:1px solid #c7d6df;border-radius:9px;background:#fff;color:#173b51;padding:.6rem .9rem;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer}.mc6130 button:hover{background:#f0f7fa}.mc6130 button.mc6130-primary{background:#0c6179;border-color:#0c6179;color:white}.mc6130 button.mc6130-primary:hover{background:#084c60}.mc6130 button:disabled{opacity:.48;cursor:default}.mc6130 :is(button,input,select,textarea):focus-visible{outline:3px solid #22a5be;outline-offset:3px}.mc6130-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}.mc6130-card,.mc6130-panel{background:#fff;border:1px solid #d8e4eb;border-radius:15px;padding:1.35rem;box-shadow:0 4px 18px rgba(27,64,86,.035)}.mc6130-card{display:flex;flex-direction:column}.mc6130-card h2{font-size:1.1rem;margin:1.1rem 0 .45rem}.mc6130-card p{margin:.45rem 0;line-height:1.5}.mc6130-card-head{display:flex;justify-content:space-between;gap:.7rem;align-items:start}.mc6130-icon{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#eaf4f7;font-size:1.45rem;color:#19617a}.mc6130-badge{display:inline-block;max-width:100%;padding:.25rem .5rem;border-radius:6px;font-size:.72rem;line-height:1.4;font-weight:600;background:#eef3f6;color:#496476}.mc6130-badge.implemented,.mc6130-badge.configured{background:#e7f3ed;color:#2d6b4d}.mc6130-badge.partial,.mc6130-badge.needs_operator{background:#fff4d9;color:#7a5b15}.mc6130-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:auto;padding-top:1rem}.mc6130-actions button{flex:1}.mc6130-sub{color:#617888;font-size:.85rem}.mc6130-panel{margin:1.2rem 0}.mc6130-panel h2{font-size:1.3rem;margin:0 0 1rem}.mc6130-panel p{line-height:1.6}.mc6130-steps{list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:0;margin:1.5rem 0;gap:.5rem}.mc6130-steps li{display:flex;gap:.55rem;align-items:center;padding:.75rem .6rem;border-bottom:3px solid #e1e9ee;color:#607888;font-size:.82rem}.mc6130-steps li span{display:grid;place-items:center;flex-shrink:0;background:#edf2f5;border-radius:50%;width:26px;height:26px;font-size:.75rem;font-weight:700}.mc6130-steps li[aria-current=step]{border-color:#14788d;color:#134f62;font-weight:700}.mc6130-steps li[aria-current=step] span{background:#14788d;color:#fff}.mc6130-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem;margin:1.25rem 0}.mc6130-form label{display:flex;flex-direction:column;gap:.45rem;font-size:.9rem;font-weight:600}.mc6130-form input,.mc6130-form select,.mc6130-form textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;padding:.65rem;border:1px solid #bfcfd9;border-radius:7px;background:#fff;color:#163649;font:inherit}.mc6130-form input[type=color]{padding:.3rem;max-width:8rem}.mc6130-form textarea{min-height:100px;resize:vertical}.mc6130-form label:has(textarea),.mc6130-form .mc6130-check,.mc6130-form>.mc6130-actions{grid-column:1/-1}.mc6130-form .mc6130-check{flex-direction:row;align-items:start;font-weight:400;line-height:1.6}.mc6130-check input[type=checkbox]{width:20px;min-height:20px;flex-shrink:0;margin:.2rem .3rem 0 0}.mc6130-footer{display:flex;justify-content:space-between;gap:1rem;margin:1.1rem 0}.mc6130-note,.mc6130-blockers{background:#fff7e6;border-left:3px solid #d8ad43;padding:1rem 1.2rem;line-height:1.6}.mc6130-targets{display:grid;gap:.75rem;margin:1rem 0}.mc6130-targets article{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1rem;background:#f4f8fa;border-radius:9px}.mc6130-targets p{margin:.25rem 0;max-width:70ch}.mc6130-request{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid #e3ebf0;padding:1rem 0}.mc6130-request p{white-space:pre-wrap;overflow-wrap:anywhere}.mc6130-table{overflow:auto;margin:1.25rem 0}.mc6130 table{width:100%;border-collapse:collapse;text-align:left;font-size:.9rem}.mc6130 th,.mc6130 td{padding:.85rem;border-bottom:1px solid #e0e9ee;vertical-align:top;overflow-wrap:anywhere}.mc6130 thead{background:#f0f6f8}.mc6130 [role=alert]{color:#963b34;line-height:1.6;margin:1rem 0}.mc6130-loading{padding:2rem;color:#617888}@media(max-width:950px){.mc6130-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.mc6130-grid,.mc6130-form{grid-template-columns:1fr}.mc6130-header,.mc6130-request,.mc6130-targets article{flex-direction:column;align-items:stretch}.mc6130-steps{display:flex;overflow:auto;padding-bottom:.5rem}.mc6130-steps li{min-width:105px;flex-direction:column;align-items:flex-start;gap:.45rem}.mc6130-card,.mc6130-panel{padding:1.1rem}.mc6130-footer button{flex:1}.mc6130 th,.mc6130 td{padding:.7rem}.mc6130-form label:has(textarea),.mc6130-form .mc6130-check{grid-column:auto}}
/* 6.17: one settings hub, a bounded wizard, and one scrolling content area. */
.mc6170-hub{--mc6170-muted:var(--text-soft,#526882)}
.mc6170-profile{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--line,#d8e4eb);border-radius:12px;padding:1rem 1.15rem;background:var(--surface,#fff);margin:0 0 1rem}
.mc6170-profile p{margin:.3rem 0 0;line-height:1.5;color:var(--mc6170-muted)}
.mc6170-profile button{flex-shrink:0}
.mc6170-groups{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin:1.25rem 0 1rem}
.mc6170-groups button{display:flex;align-items:center;justify-content:space-between;gap:.6rem;text-align:left;line-height:1.4}
.mc6170-groups button span{display:grid;place-items:center;min-width:1.55rem;min-height:1.55rem;border-radius:6px;background:var(--surface-2,#eef4f8);font-size:.75rem}
.mc6170-groups button[aria-pressed=true],:root[data-theme] .mc6170-groups button[aria-pressed=true]{background:var(--accent,#9cf432);border-color:var(--accent,#78c52d);color:#14280d}
.mc6170-groups button[aria-pressed=true] span{background:#ffffffa8;color:#14280d}
.mc6170-hub [data-mc-group-panel][hidden]{display:none!important}
.mc6170-group-title{font-size:1.1rem;margin:1rem 0}
.mc6170-hub .mc6130-card{padding:1.15rem;min-width:0}
.mc6170-hub .mc6130-card h2{margin:.7rem 0 .35rem}
.mc6170-hub .mc6130-card .mc6130-description{min-height:3em}
.mc6130-sections{margin-top:.9rem;border-top:1px solid var(--line,#d8e4eb);padding-top:.8rem}
.mc6130-sections summary,.mc6170-requests>summary{cursor:pointer;font-weight:600;line-height:1.5;padding:.35rem 0}
.mc6130-sections>div{display:grid;gap:.45rem;margin-top:.6rem}
.mc6130-sections button{text-align:left;width:100%;font-size:.83rem}
.mc6170-wizard-overlay{position:fixed;inset:0;z-index:2400;display:grid;place-items:center;background:#0714238c;padding:16px;box-sizing:border-box}
body:has(.mc6170-wizard-overlay){overflow:hidden}
.mc6170-wizard{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;box-sizing:border-box;width:min(1320px,100%);height:100%;max-height:920px;max-width:none;margin:0;border:1px solid var(--line,#d8e4eb);border-radius:18px;background:var(--surface,#fff);color:var(--text,#153047);box-shadow:0 22px 75px #07142345;overflow:hidden}
.mc6170-wizard>.mc6130-header{padding:1.15rem 1.6rem .85rem;margin:0;border-bottom:1px solid var(--line,#d8e4eb);align-items:center}
.mc6170-wizard .mc6130-header h1{font-size:1.5rem;margin:.2rem 0 0}
.mc6170-wizard>.mc6130-steps{margin:0;padding:.7rem 1.6rem .2rem;gap:.5rem}
.mc6170-wizard .mc6130-steps li{padding:0;border:0;min-width:0;display:block}
.mc6170-wizard .mc6130-steps button{display:flex;gap:.6rem;align-items:center;width:100%;min-height:44px;padding:.5rem .6rem;border:0;border-radius:7px;text-align:left;background:var(--surface-2,#eef4f8);color:var(--text-soft,#526882);font-size:.82rem}
.mc6170-wizard .mc6130-steps button:disabled{opacity:1;cursor:default}
.mc6170-wizard .mc6130-steps li[aria-current=step] button,:root[data-theme] .mc6170-wizard .mc6130-steps li[aria-current=step] button{background:var(--accent,#9cf432);color:#14280d;font-weight:700}
.mc6170-wizard .mc6130-steps li[aria-current=step] span{background:#ffffffad;color:#14280d}
.mc6170-wizard .mc6130-steps li:not([aria-current=step]) button:disabled{color:var(--text-soft,#526882)}
.mc6170-wizard>[data-mc-message]:not(:empty){margin:.5rem 1.6rem;padding:.65rem .9rem;border-radius:8px;background:var(--recovery-error-bg,#fff0f2);color:var(--error,#962d3c);font-size:.9rem}
.mc6170-wizard-body{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:1rem 1.6rem}
.mc6170-wizard-body>.mc6130-panel{border:0;box-shadow:none;border-radius:0;margin:0;padding:0;background:transparent}
.mc6170-wizard .mc6130-footer{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.85rem 1.6rem;margin:0;border-top:1px solid var(--line,#d8e4eb);background:var(--surface,#fff)}
.mc6170-wizard .mc6130-footer>div{display:flex;justify-content:flex-end;gap:.65rem}
.mc6170-progress{font-size:.83rem;color:var(--text-soft,#526882)}
.mc6170-wizard .mc6130-targets article{padding:.8rem 1rem;background:var(--surface-2,#f1f5fb);color:var(--text,#153047)}
.mc6170-wizard .mc6130-form{margin:1rem 0;gap:1rem}
.mc6170-wizard .mc6130-form textarea{min-height:82px}
.mc6170-wizard .mc6130-note,.mc6170-wizard .mc6130-blockers{background:var(--recovery-info-bg,#edf5ff);color:var(--recovery-info-text,#234d78);border-color:var(--line,#d8e4eb)}
.mc6170-wizard .mc6130-sub,.mc6170-wizard .mc6130-eyebrow,.mc6170-hub .mc6130-sub,.mc6170-hub .mc6130-eyebrow{color:var(--text-soft,#526882)}
.mc6170-wizard button.mc6130-primary,.mc6170-hub button.mc6130-primary{background:var(--accent,#9cf432);border-color:var(--accent,#78c52d);color:#14280d}
.mc6170-wizard button.mc6130-primary:hover,.mc6170-hub button.mc6130-primary:hover{filter:brightness(.96)}
@media(max-width:900px){.mc6170-groups{grid-template-columns:repeat(2,minmax(0,1fr))}.mc6170-hub .mc6130-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mc6170-wizard-overlay{padding:8px}}
@media(max-width:650px){.mc6170-profile{align-items:stretch;flex-direction:column}.mc6170-hub .mc6130-grid{grid-template-columns:1fr}.mc6170-groups button{padding:.6rem;font-size:.8rem}.mc6170-wizard-overlay{padding:0}.mc6170-wizard{border-radius:0;max-height:none}.mc6170-wizard>.mc6130-header{padding:.8rem 1rem;flex-direction:row;align-items:center}.mc6170-wizard .mc6130-header h1{font-size:1.2rem}.mc6170-wizard .mc6130-eyebrow{font-size:.65rem;max-width:48vw;line-height:1.4}.mc6170-wizard>.mc6130-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:.6rem .6rem .1rem;gap:.2rem;overflow:visible}.mc6170-wizard .mc6130-steps li{min-width:0}.mc6170-wizard .mc6130-steps button{flex-direction:column;gap:.3rem;font-size:.65rem;padding:.4rem .15rem;line-height:1.25;text-align:center;word-break:normal;overflow-wrap:anywhere}.mc6170-wizard .mc6130-steps li span{width:23px;height:23px;font-size:.7rem}.mc6170-wizard-body{padding:1rem}.mc6170-wizard .mc6130-footer{padding:.7rem 1rem;gap:.45rem}.mc6170-wizard .mc6130-footer>div{gap:.4rem}.mc6170-wizard .mc6130-footer button{font-size:.8rem;padding:.6rem .65rem}.mc6170-progress{font-size:.72rem}.mc6170-wizard>[data-mc-message]:not(:empty){margin:.4rem 1rem}.mc6170-wizard .mc6130-targets article{align-items:stretch}}
/* Keep the compact wizard steps when shared portal controls load afterwards. */
:root[data-theme] body[data-portal="planner"] .mc6170-groups button{display:flex;border-radius:9px;padding:.6rem .9rem;background:var(--surface,#fff);color:var(--text,#153047);box-shadow:none;justify-content:space-between}
:root[data-theme] body[data-portal="planner"] .mc6170-groups button[aria-pressed=true]{background:var(--accent,#9cf432);border-color:var(--accent,#78c52d);color:#14280d}
:root[data-theme] body[data-portal="planner"] .mc6170-wizard .mc6130-steps button{display:flex;justify-content:flex-start;gap:.6rem;align-items:center;width:100%;min-height:44px;padding:.5rem .6rem;border:0;border-radius:7px;text-align:left;background:var(--surface-2,#eef4f8);color:var(--text-soft,#526882);font-size:.82rem;font-weight:600;box-shadow:none;opacity:1}
:root[data-theme] body[data-portal="planner"] .mc6170-wizard .mc6130-steps button:disabled{opacity:1;cursor:default}
:root[data-theme] body[data-portal="planner"] .mc6170-wizard .mc6130-steps li[aria-current=step] button{background:var(--accent,#9cf432);color:#14280d;font-weight:700}
@media(max-width:650px){
 :root[data-theme] body[data-portal="planner"] .mc6170-groups button{padding:.6rem;font-size:.8rem}
 :root[data-theme] body[data-portal="planner"] .mc6170-wizard .mc6130-steps button{flex-direction:column;justify-content:center;gap:.3rem;font-size:.65rem;padding:.4rem .15rem;line-height:1.25;text-align:center;word-break:normal;overflow-wrap:anywhere}
}

/* Module-specific, keyboard-accessible setup guidance. */
.mc6190-help{margin:.9rem 0;border:1px solid var(--line,#d8e4eb);border-radius:10px;background:var(--surface-2,#f3f7fb);color:var(--text,#153047)}
.mc6190-help summary{display:flex;align-items:center;gap:.55rem;min-height:44px;padding:.3rem .75rem;box-sizing:border-box;cursor:pointer;font-size:.88rem;font-weight:700;list-style:none}
.mc6190-help summary::-webkit-details-marker{display:none}.mc6190-help summary:focus-visible{outline:3px solid #22a5be;outline-offset:2px;border-radius:8px}
.mc6190-help summary:after{content:'+';margin-left:auto;font-size:1.2rem}.mc6190-help[open] summary:after{content:'−'}
.mc6190-info{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:50%;background:#176b80;color:white;font-size:.86rem;font-weight:700;font-family:serif}
.mc6190-help>div{border-top:1px solid var(--line,#d8e4eb);padding:.8rem 1rem;font-size:.88rem;line-height:1.5}.mc6190-help ol{padding-left:1.35rem;margin:.55rem 0}.mc6190-help li{padding:.15rem 0}.mc6190-help p{margin:.6rem 0 0;color:var(--text-soft,#526882);font-size:.82rem}
