:root{font-family:'Open Sans',Arial,sans-serif;color:#5b5a5a;background:#f5f3f2;font-size:15px;--navy:#162951;--orange:#f05327}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,summary:focus-visible{outline:3px solid #4c8ac9;outline-offset:3px}.sidebar{position:fixed;width:22rem;inset:0 auto 0 0;background:var(--navy);color:white;display:flex;flex-direction:column}.brand{height:78px;padding:22px 17px;border-bottom:1px solid #bac3d2;display:flex;align-items:center}.brand img{width:100%;height:auto}.sidebar nav{padding:66px 0 0 30px;display:grid;gap:12px}.sidebar nav button{border:0;background:none;text-align:left;color:#a3adbf;font-size:22px;font-weight:600;padding:5px 0}.sidebar nav .switch-app{background:var(--orange);color:#fff;padding:16px;border-radius:17px 0 0 17px;box-shadow:inset 2px 2px 4px #0005;margin-bottom:4px}.powered{margin:auto 18px 30px auto;display:grid;text-align:center;gap:12px;font-size:14px}.powered img{width:150px;height:35px;object-fit:contain}.powered span{font-size:13px}main{margin-left:22rem;min-height:100vh}.page-header{min-height:88px;background:white;display:flex;align-items:center;justify-content:space-between;padding:18px 30px;gap:20px}h1{color:var(--navy);font-size:24px;font-weight:500;margin:0 0 8px;display:flex;align-items:center;gap:10px}h1 svg{width:24px;height:24px}.breadcrumbs{font-size:14px;display:flex;gap:12px;align-items:center}.breadcrumbs button{border:0;background:none;color:#888;padding:0}.back{background:#fff;border:1px solid #f8baa8;color:var(--orange);padding:7px 12px;border-radius:8px;font-size:13px}.demo-controls{margin:25px 30px 0;border:1px solid #d5dce6;border-left:4px solid var(--navy);background:#fff;border-radius:9px;padding:16px 18px}.demo-intro{display:flex;gap:12px;align-items:center;font-size:13px;flex-wrap:wrap}.demo-label{font-size:10px;letter-spacing:1px;font-weight:700;color:var(--navy);background:#edf1f8;padding:5px 7px;border-radius:4px}.text-button{background:none;border:0;color:#366393;padding:0;font-size:12px;text-decoration:underline;margin-left:auto}.demo-options{display:flex;gap:14px;align-items:end;margin-top:13px}.demo-options label{font-size:11px;color:#697384;display:grid;gap:5px;flex:1;min-width:0}.demo-options label:first-child{flex:1.7}.demo-options select{font-size:12px;height:37px;padding:0 9px;background:#fff;border:1px solid #d7dce3;border-radius:5px;width:100%;color:#3a485e}.demo-options select:disabled{opacity:.5}.demo-options .btn{white-space:nowrap;font-size:12px;height:37px}.demo-foot{display:flex;align-items:center;gap:6px;font-size:11px;color:#6d7784;margin-top:12px}.dot{width:6px;height:6px;border-radius:50%;background:#70977f}.demo-foot #outcomeHint{margin-left:auto;color:#7a6d5f}.work-area{padding:24px 30px 12px}.form-container{border:1px solid #e4e1df;border-radius:13px;padding:0 20px 32px}.tabs{height:47px;display:flex;border-bottom:1px solid #ece9e6;margin-bottom:14px}.tabs span{padding:14px 14px 12px;color:var(--navy);border-bottom:2px solid var(--navy);font-weight:700;font-size:14px}details.form-section{background:white;border:1px solid #e4e1df;border-radius:12px;margin:0 0 20px;padding:0 20px 19px}details.form-section summary{display:flex;align-items:center;gap:9px;color:var(--orange);padding:16px 0 20px;font-size:14px;cursor:pointer;list-style:none}details.form-section summary::-webkit-details-marker{display:none}details.form-section summary svg{width:15px;height:15px;fill:currentColor}details.form-section summary:after{content:'⌃';margin-left:auto;font-size:20px;line-height:10px}details.form-section:not([open]){padding-bottom:0}details.form-section:not([open]) summary{padding-bottom:16px}details.form-section:not([open]) summary:after{content:'⌄'}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:22px 30px}.fields.template{grid-template-columns:1fr 1fr}.fields.identifier-first{grid-template-columns:repeat(3,1fr);margin-bottom:20px}.fields.identifier-second{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.field{min-width:0;display:flex;flex-direction:column;gap:8px}.field label{font-size:12px;color:#757575}.field input,.field select{width:100%;height:39px;border:1px solid #d9d5d2;border-radius:7px;color:#5b5a5a;padding:8px 12px;background:#fff;font-size:13px;min-width:0}.field input::placeholder{color:#a6a4a2;font-style:italic}.field input[readonly],.field input:disabled{background:#f7f5f4;color:#8c9399}.field select:has(option:checked[value=""]){color:#999;font-style:italic}.field input:focus,.field select:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px #f053271c}.full-field{grid-column:1/-1}.check-label{display:flex;align-items:center;gap:7px;margin:22px 0 8px;font-size:13px}.check-label input{accent-color:var(--orange)}.form-actions{display:flex;justify-content:space-between;gap:15px;margin-top:30px}.form-actions>div{display:flex;gap:15px}.btn{border:1px solid #ffffff45;border-radius:8px;color:white;padding:9px 16px;font-size:14px;font-weight:600;transition:filter .15s}.btn:hover{filter:brightness(1.13)}.navy{background:var(--navy)}.dark{background:#3d3a38}.review-note{text-align:center;color:#8c8885;font-size:11px;margin:16px 0 0}#toast{position:fixed;bottom:25px;left:calc(50% + 8rem);transform:translateX(-50%) translateY(15px);background:#162951;color:white;padding:12px 20px;border-radius:8px;font-size:13px;opacity:0;pointer-events:none;transition:.2s;z-index:10000;max-width:90vw}#toast.visible{opacity:1;transform:translateX(-50%)}.swal2-popup{font-family:'Open Sans',Arial,sans-serif}.swal2-html-container .error-meta{color:#8d5353;font-size:12px;letter-spacing:.15px;margin:0 0 13px}.swal2-html-container .error-summary{line-height:1.6;font-size:16px;margin:0}.error-details{text-align:left;border:1px solid #dedede;border-radius:7px;margin:22px 0 0;font-size:13px}.error-details>summary{cursor:pointer;padding:13px 14px;color:#162951;font-weight:600;list-style:none;display:flex;align-items:center;justify-content:space-between}.error-details>summary:after{content:'＋';font-size:17px;font-weight:400}.error-details[open]>summary:after{content:'−'}.diagnostic-body{padding:0 14px 14px;border-top:1px solid #eee}.diagnostic-label{font-size:10px;letter-spacing:.7px;color:#7a8290;font-weight:700;text-transform:uppercase;margin:15px 0 7px}.diagnostic-body pre{margin:0;background:#f6f7f9;border:1px solid #e5e7eb;border-radius:5px;padding:10px;font:11.5px/1.6 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto;color:#38465c}.diagnostic-meta{display:grid;grid-template-columns:100px 1fr;gap:7px;font-size:11px;line-height:1.5;margin-top:14px}.diagnostic-meta b{font-weight:600;color:#626b7a}.diagnostic-meta span{overflow-wrap:anywhere;min-width:0}.privacy-note{font-size:10px;line-height:1.5;color:#7b8490;margin:10px 0}.copy-details{font-size:12px;background:#fff;border:1px solid #b9c3d3;color:#162951;padding:8px 13px;border-radius:5px;min-width:120px}.copy-status{font-size:11px;color:#42734d;margin-left:8px;display:inline-block}.review-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;text-align:left;font-size:13px}.review-grid div{min-width:0;overflow-wrap:anywhere}.review-grid small{display:block;color:#777;font-size:11px;margin-bottom:3px}.review-heading{font-weight:600;text-align:left;font-size:14px;border-bottom:1px solid #eee;padding-bottom:7px;margin:21px 0 13px}.review-blurb{text-align:left;font-size:13px;line-height:1.6}.notes-body{text-align:left;font-size:13px;line-height:1.7}.notes-body a{color:#366393}.notes-body code{font-size:11px;overflow-wrap:anywhere}.notes-body li{margin-bottom:10px}.swal2-container .swal2-confirm,.swal2-container .swal2-cancel{font-size:14px}.copy-fallback{width:100%;height:100px;margin-top:10px;font:11px Consolas,monospace}.fields .field .invalid{border-color:#ff3939}.field-error{color:#d43131;font-size:11px}.source-headers details.form-section summary{background:linear-gradient(90deg,#162951,#2d3e62);color:#fff6f6;border-bottom:3px solid #f05327;margin:0 -20px 20px;padding:14px 20px;border-radius:12px 12px 0 0;font-weight:700;text-transform:uppercase}.source-headers details.form-section summary svg{color:#f05327}.source-headers details.form-section:not([open]) summary{margin-bottom:0;border-radius:12px}.source-headers .field label{font-weight:700;text-transform:uppercase;color:#162951;letter-spacing:.02em}
@media(min-width:1650px){.fields:not(.template):not(.identifier-first):not(.identifier-second){grid-template-columns:repeat(5,1fr)}.fields.identifier-second{grid-template-columns:repeat(6,1fr)}}
@media(max-width:1200px){.sidebar{width:260px}.sidebar nav button{font-size:19px}.brand{height:78px}main{margin-left:260px}.demo-options{flex-wrap:wrap}.demo-options label:first-child{flex-basis:40%}.demo-options label{flex-basis:20%}.demo-foot #outcomeHint{display:none}.fields.identifier-first{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}}
@media(max-width:800px){.sidebar{width:205px}.sidebar nav{padding-left:16px}.sidebar nav button{font-size:16px}main{margin-left:205px}.page-header{padding:20px}h1{font-size:20px}.breadcrumbs{font-size:11px;gap:7px}.back{display:none}.demo-controls{margin:20px 16px 0}.demo-options label:first-child{flex-basis:100%}.demo-options label{flex-basis:40%}.work-area{padding:20px 16px}.form-container{padding:0 12px 24px}.fields{gap:18px}.fields.template{grid-template-columns:1fr}details.form-section{padding-left:15px;padding-right:15px}.form-actions{flex-wrap:wrap}.demo-options .btn{flex:1}#toast{left:50%}}
@media(max-width:560px){.sidebar{position:relative;width:100%;height:66px;display:block}.brand{height:66px;border:0;max-width:260px;padding:17px}.sidebar nav,.powered{display:none}main{margin-left:0}.page-header{min-height:95px}.demo-intro{gap:8px;font-size:12px}.text-button{margin:0}.fields.identifier-second,.fields.identifier-first{grid-template-columns:1fr 1fr}.fields:not(.identifier-first):not(.identifier-second){grid-template-columns:1fr}.field label{font-size:11px}.form-actions .btn{font-size:12px}.review-grid{grid-template-columns:1fr}.swal2-html-container{margin:1em 1.1em .3em}.diagnostic-meta{grid-template-columns:75px 1fr}.demo-options label{flex-basis:100%}.demo-controls{padding:13px}.swal2-popup{padding-bottom:16px!important}.source-headers details.form-section summary{margin-left:-15px;margin-right:-15px}.demo-options{gap:10px}}
/* Keep the summary and dismissal control visible when diagnostics expand. */
.diagnostic-body{max-height:38vh;overflow:auto}
.sidebar .switch-app svg{vertical-align:-3px;margin-right:4px}
