
#delegation-workspace{--ink:var(--midnight);--body:#33455d;--teal:#08766d;--line:#d6dfea;--paper:var(--white);width:min(1080px,calc(100% - clamp(28px,7vw,80px)));margin:auto;padding:clamp(20px,4vw,45px) 0 24px}
#delegation-workspace .narrow{max-width:720px;margin:auto}
#delegation-workspace :is(h1,h2,h3,p){margin:0}
#delegation-workspace h1{font-size:clamp(1.85rem,4.3vw,3.25rem)}
#delegation-workspace h2{font-size:1.25rem}
#delegation-workspace :focus-visible{outline:3px solid #08766d;outline-offset:3px}
#delegation-workspace textarea:focus{outline:2px solid var(--blue);outline-offset:-3px}
#delegation-workspace .intro>p:last-child{margin-top:10px}
#delegation-workspace .kit{margin-bottom:8px}
#delegation-workspace .space{margin-top:14px}
#delegation-workspace .hint,#delegation-workspace .panel>p{margin-top:7px}
#delegation-workspace .intro{margin-bottom:24px}#delegation-workspace .intro>p:last-child{margin-top:10px;font-size:clamp(1rem,2.2vw,1.13rem);max-width:64ch}#delegation-workspace .kit{font-weight:750;font-size:.83rem;color:#244b77;margin-bottom:8px;letter-spacing:.015em}#delegation-workspace .entry{display:grid;grid-template-columns:1.24fr 1fr;gap:16px;align-items:start}#delegation-workspace .panel{background:var(--paper);border:1px solid var(--line);border-radius:17px;padding:clamp(15px,2.6vw,26px);min-width:0;box-shadow:0 3px 6px #0b1f3b07}#delegation-workspace .entry .panel{height:100%}#delegation-workspace .entry .panel:first-child{border-top:3px solid var(--blue)}#delegation-workspace .entry .panel:last-child{border-top:3px solid #16a99a}#delegation-workspace .help,#delegation-workspace .hint{font-size:.92rem}#delegation-workspace .hint{color:var(--muted)}#delegation-workspace .panel>p,#delegation-workspace .hint{margin-top:7px}#delegation-workspace .space{margin-top:14px}#delegation-workspace .form-label{display:block;font-weight:750;margin-bottom:4px}#delegation-workspace textarea,#delegation-workspace input[type="search"],#delegation-workspace select{width:100%;background:white;border:1px solid #72839b;border-radius:9px;color:var(--ink);padding:10px 12px}#delegation-workspace textarea{min-height:94px;resize:vertical;display:block}#delegation-workspace textarea:focus-visible,#delegation-workspace input[type="search"]:focus-visible,#delegation-workspace select:focus-visible{outline-offset:1px}#delegation-workspace textarea[aria-invalid="true"]{border:2px solid #a22427}#delegation-workspace input,#delegation-workspace select{min-height:44px}#delegation-workspace .actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:14px}#delegation-workspace .btn{display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px;padding:8px 15px;border:1px solid #9eafc4;border-radius:9px;background:#fff;color:var(--ink);font-weight:730;text-align:center;line-height:1.35}#delegation-workspace .btn:hover{background:#eef4ff;border-color:#627da9}#delegation-workspace .primary{background:var(--blue);border-color:var(--blue);color:white}#delegation-workspace .primary:hover{background:#1747b7;border-color:#1747b7}#delegation-workspace .link{min-height:44px;border:0;background:none;padding:6px 2px;color:#173f9b;font-weight:700;text-decoration:underline;text-underline-offset:.19em;text-align:left}#delegation-workspace .link:hover{color:#092b7a}#delegation-workspace .icon{font-size:1.1em}#delegation-workspace .examples{display:grid;gap:8px;margin-top:14px}#delegation-workspace .example{width:100%;background:#f7f9fc;border:1px solid var(--line);border-radius:10px;padding:11px 12px;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;text-align:left;color:var(--ink)}#delegation-workspace .example:hover{background:#eaf2ff;border-color:#7d9bbd}#delegation-workspace .example small{display:block;color:var(--muted);font-size:.86rem;margin-top:1px}#delegation-workspace .back{margin:-4px 0 9px}#delegation-workspace .stack{display:grid;gap:13px}#delegation-workspace .field{margin:0;padding:0;border:0;min-width:0}#delegation-workspace .field legend{padding:0}#delegation-workspace .option{display:flex;align-items:center;gap:9px;min-height:44px;padding:5px 9px;margin-top:6px;border:1px solid var(--line);border-radius:9px;color:var(--body);cursor:pointer}#delegation-workspace .option:has(input:checked){background:#edf3ff;border-color:#83a2eb;color:var(--ink)}#delegation-workspace .option input{margin:0;accent-color:var(--blue);width:17px;height:17px;flex:none}#delegation-workspace .notice{border:1px solid #d99c97;background:#fff3f2;color:#862328;border-radius:10px;padding:12px 14px}#delegation-workspace .notice p,#delegation-workspace .error{color:#862328}#delegation-workspace .notice h2{margin-bottom:5px}#delegation-workspace .info{padding:12px 14px;background:#e9f7f5;border-left:3px solid #08766d;border-radius:0 9px 9px 0;color:#173c3a;font-size:.93rem}#delegation-workspace .text-wrap{overflow-wrap:anywhere}#delegation-workspace .steps{counter-reset:step;display:grid;gap:12px;margin:0;padding:0;list-style:none}#delegation-workspace .steps li{counter-increment:step}#delegation-workspace .step-head{display:flex;gap:9px;align-items:flex-start}#delegation-workspace .step-head:before{content:counter(step);width:24px;height:24px;flex:0 0 24px;border-radius:50%;background:#eaf0fd;color:#214997;font:700 .78rem/24px Inter,system-ui,sans-serif;text-align:center}#delegation-workspace .step-head h2{padding-top:1px}#delegation-workspace .copytext{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fb;border:1px solid var(--line);border-radius:9px;padding:11px 12px;margin-top:8px;color:var(--body);font:inherit;font-size:.92rem}#delegation-workspace .copy-status{margin:0;font-size:.92rem;color:var(--teal);font-weight:650}#delegation-workspace .copy-status:empty{display:none}#delegation-workspace details{margin-top:10px}#delegation-workspace summary{width:fit-content;min-height:44px;align-content:center;color:#173f9b;font-weight:690;cursor:pointer}#delegation-workspace .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#delegation-workspace textarea:focus-visible{outline-offset:-3px}
#delegation-workspace .copy-status{margin:0;min-height:0}
#delegation-workspace .preview-note{margin-top:16px;font-size:.83rem;color:var(--muted)}
@media(max-width:670px){#delegation-workspace .entry{grid-template-columns:1fr;gap:12px}#delegation-workspace .entry .panel{height:auto}}

#delegation-workspace .copy-status:empty{display:block}
#delegation-workspace .copy-status:not(:empty){min-width:0}

/* Align the preview with the site's toolkit shell and shared working surfaces. */
#delegation-workspace:has(.delegation-intro){width:100%;padding-top:0}
#delegation-workspace .delegation-intro{background:var(--midnight);color:var(--white);border-radius:0 0 30px 30px;padding:clamp(18px,3vw,42px) max(5vw,calc((100% - 1080px)/2));margin-bottom:18px}
#delegation-workspace .delegation-intro .intro{margin:0}
#delegation-workspace .delegation-intro .kit{color:var(--lime)}
#delegation-workspace .entry{width:min(1080px,calc(100% - 32px));margin:auto}
#delegation-workspace .panel,#delegation-workspace .entry .panel:first-child,#delegation-workspace .entry .panel:last-child{border:1px solid #d9e0eb;border-radius:22px;box-shadow:none}
#delegation-workspace .btn{border-radius:999px}
#delegation-workspace .delegation-example-jump{display:none}
#delegation-workspace .delegation-disclosure{overflow-wrap:anywhere}
@media(max-width:670px){#delegation-workspace .delegation-example-jump{display:inline-flex;align-items:center;margin-top:4px}}

#delegation-workspace #examples{max-block-size:24rem;overflow-y:auto;padding:4px;scrollbar-gutter:stable}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  /* Keep iOS Safari at the current zoom level when a field receives focus. */
  #delegation-workspace textarea,
  #delegation-workspace input[type="search"],
  #delegation-workspace select {
    font-size: max(16px, 1rem);
  }

  #delegation-workspace .stack,
  #delegation-workspace .steps {
    grid-template-columns: minmax(0, 1fr);
  }

  #delegation-workspace .actions > button {
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
