.cc[data-astro-cid-snxz6anp]{display:grid;gap:.25rem;min-width:0;margin:0}.cc__picker[data-astro-cid-snxz6anp]{min-width:0;margin:0;padding:0;border:0}.cc__picker[data-astro-cid-snxz6anp] legend[data-astro-cid-snxz6anp]{margin-block-end:0;padding:0;color:var(--role-muted);font-size:.875rem;font-weight:800}.cc__picks[data-astro-cid-snxz6anp]{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.25rem .375rem}.cc__pick[data-astro-cid-snxz6anp]{display:flex;align-items:center;gap:.375rem;padding:.125rem .5rem;border:2px solid var(--role-border);border-radius:.5rem;background:var(--role-surface);color:var(--role-text);cursor:pointer;font-size:.8125rem;line-height:1.35}.cc__pick[data-astro-cid-snxz6anp] input[data-astro-cid-snxz6anp]{margin:0}.cc__pick[data-astro-cid-snxz6anp][data-good]{border-style:dashed}.cc__pick[data-astro-cid-snxz6anp]:has(input:checked){border-color:var(--role-accent);border-style:solid;box-shadow:0 0 0 2px var(--role-accent)}.cc__pick[data-astro-cid-snxz6anp]:has(input:focus-visible){outline:3px solid var(--role-accent);outline-offset:2px}.cc__body[data-astro-cid-snxz6anp]{display:grid;gap:.5rem;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:start}.cc__change[data-astro-cid-snxz6anp]{min-width:0}.cc__stack[data-astro-cid-snxz6anp]{display:grid}.cc__stack[data-astro-cid-snxz6anp]>[data-astro-cid-snxz6anp]{grid-area:1 / 1;visibility:hidden}.cc__stack[data-astro-cid-snxz6anp]>[data-astro-cid-snxz6anp][data-active]{visibility:visible}.cc__marks[data-astro-cid-snxz6anp]{display:flex;gap:0 .75rem;white-space:nowrap}.cc__mark[data-astro-cid-snxz6anp]{padding:0 .375rem;border-radius:.25rem;color:var(--role-text)}.cc__mark--del[data-astro-cid-snxz6anp]{background:#ff786e40}.cc__mark--add[data-astro-cid-snxz6anp]{background:#79b8ff40}.cc__legend[data-astro-cid-snxz6anp]{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 .75rem;margin:0 0 .125rem;color:var(--role-muted);font-size:.8125rem}.cc[data-astro-cid-snxz6anp] pre{margin:0;padding:.375rem .5rem;border-radius:.375rem;font-size:.75rem;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}.cc[data-astro-cid-snxz6anp] pre code{display:grid}.cc__change[data-astro-cid-snxz6anp] .line{position:relative;display:block;padding-left:1.25em;min-height:1lh}.cc__change[data-astro-cid-snxz6anp] .line:before{position:absolute;left:0;content:""}.cc__change[data-astro-cid-snxz6anp] .cc-line--del:before{content:"−"}.cc__change[data-astro-cid-snxz6anp] .cc-line--add:before{content:"+"}.cc__change[data-astro-cid-snxz6anp] .cc-line--del{background:#ff786e33}.cc__change[data-astro-cid-snxz6anp] .cc-line--add{background:#79b8ff33}.cc__why[data-astro-cid-snxz6anp]{margin:.25rem 0 0;color:var(--role-text);font-size:.875rem;line-height:1.45;transition:opacity .2s}.cc__note[data-astro-cid-snxz6anp]{margin:.25rem 0 0;font-size:.875rem;line-height:1.45}.cc[data-astro-cid-snxz6anp][data-running] .cc__why[data-astro-cid-snxz6anp]{opacity:0}.cc__checks[data-astro-cid-snxz6anp]{display:grid;gap:.1875rem;margin:0;padding:0;list-style:none}.cc__check[data-astro-cid-snxz6anp]{min-width:0;padding:.0625rem .5rem;border:1px solid var(--role-border);border-radius:.5rem;background:var(--role-surface)}.cc__check[data-astro-cid-snxz6anp][data-pending]{border-color:var(--role-accent)}.cc__check-head[data-astro-cid-snxz6anp]{display:flex;align-items:baseline;gap:.5rem}.cc__check-head[data-astro-cid-snxz6anp] strong[data-astro-cid-snxz6anp]{font-size:.875rem}.cc__detail[data-astro-cid-snxz6anp]{flex:1;min-width:0;color:var(--role-muted);font-size:.75rem;line-height:1.3}.cc__verdicts[data-astro-cid-snxz6anp]{margin-left:auto}.cc__verdicts[data-astro-cid-snxz6anp]>[data-astro-cid-snxz6anp]{justify-self:end}.cc__check[data-astro-cid-snxz6anp]>.cc__stack[data-astro-cid-snxz6anp]{grid-template-columns:minmax(0,1fr)}.cc__check[data-astro-cid-snxz6anp] pre{margin-block:.0625rem;padding-block:.125rem;line-height:1.3}.cc__outcome[data-astro-cid-snxz6anp]{min-width:0;transition:opacity .2s}.cc__check[data-astro-cid-snxz6anp][data-pending] .cc__outcome[data-astro-cid-snxz6anp]{opacity:0}.cc__badge[data-astro-cid-snxz6anp]{font-size:.8125rem;font-weight:800;white-space:nowrap}.cc__badge[data-astro-cid-snxz6anp][data-tone=positive]{color:var(--role-positive)}.cc__badge[data-astro-cid-snxz6anp][data-tone=negative]{color:var(--role-negative)}.cc__badge[data-astro-cid-snxz6anp][data-tone=neutral]{color:var(--role-muted)}.cc__output[data-astro-cid-snxz6anp]{display:block;padding:0;background:none;color:var(--role-text);font-size:.75rem;white-space:normal;overflow-wrap:anywhere}.cc__live[data-astro-cid-snxz6anp]{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;clip-path:inset(50%)}@keyframes cc-fill{0%{background:transparent}}@media (prefers-reduced-motion: no-preference){.cc__panel[data-astro-cid-snxz6anp][data-active] .cc-line--del,.cc__panel[data-astro-cid-snxz6anp][data-active] .cc-line--add{animation:cc-fill .35s}}@media (prefers-reduced-motion: reduce){.cc__why[data-astro-cid-snxz6anp],.cc__outcome[data-astro-cid-snxz6anp]{transition:none}}@media (max-width: 52rem){.cc__body[data-astro-cid-snxz6anp]{grid-template-columns:minmax(0,1fr)}.cc__picks[data-astro-cid-snxz6anp]{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 35rem){.cc__picks[data-astro-cid-snxz6anp]{grid-template-columns:minmax(0,1fr)}}@media (min-height: 845px) and (min-width: 75rem){.cc[data-astro-cid-snxz6anp] pre{font-size:.875rem}}/**
* Copyright (c) 2014 The xterm.js authors. All rights reserved.
* Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
* https://github.com/chjj/term.js
* @license MIT
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
* Originally forked from (with the author's permission):
*   Fabrice Bellard's javascript vt100 for jslinux:
*   http://bellard.org/jslinux/
*   Copyright (c) 2011 Fabrice Bellard
*   The original design remains. The terminal itself
*   has been extended to include xterm CSI codes, among
*   other features.
*/.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{font-family:monospace;user-select:text;white-space:pre}.xterm .xterm-accessibility-tree>div{transform-origin:left;width:fit-content}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}.xterm .xterm-scrollable-element>.scrollbar{cursor:default}.xterm .xterm-scrollable-element>.scrollbar>.scra{cursor:pointer;font-size:11px!important}.xterm .xterm-scrollable-element>.visible{opacity:1;background:#0000;transition:opacity .1s linear;z-index:11}.xterm .xterm-scrollable-element>.invisible{opacity:0;pointer-events:none}.xterm .xterm-scrollable-element>.invisible.fade{transition:opacity .8s linear}.xterm .xterm-scrollable-element>.shadow{position:absolute;display:none}.xterm .xterm-scrollable-element>.shadow.top{display:block;top:0;left:3px;height:3px;width:100%;box-shadow:var(--vscode-scrollbar-shadow, #000) 0 6px 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.left{display:block;top:3px;left:0;height:100%;width:3px;box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.xterm .xterm-scrollable-element>.shadow.top-left-corner{display:block;top:0;left:0;height:3px;width:3px}.xterm .xterm-scrollable-element>.shadow.top.left{box-shadow:var(--vscode-scrollbar-shadow, #000) 6px 0 6px -6px inset}.guard-exercise{min-width:0;color:var(--playground-text)}.guard-exercise__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:.75rem}.guard-exercise__column{min-width:0;border:1px solid var(--role-rule);border-radius:.5rem;background:var(--role-surface)}.guard-exercise__column--cases{display:flex;flex-direction:column;min-height:0;overflow-y:auto}.guard-exercise__cases-inner{display:flex;flex:1 1 auto;flex-direction:column}.guard-exercise .guard-exercise__criteria{flex:none;margin:.5rem .75rem 0;padding:.375rem .625rem;border-left:.25rem solid var(--role-positive);background:color-mix(in srgb,var(--role-positive) 12%,var(--playground-surface));font-size:.8125rem;font-weight:700;line-height:1.45}.guard-exercise__cases{flex:1 1 0;min-height:6.5rem;padding:.5rem .75rem .6875rem;overflow:auto}.guard-exercise__answer{flex:none;border-top:1px solid var(--role-rule)}.guard-exercise__column--result{display:flex;flex-direction:column;min-height:0}.guard-exercise__scroll{flex:1 1 auto;min-height:0;padding:.5rem .75rem .75rem;overflow:auto}.guard-exercise__column--center{display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-rows:auto auto minmax(24rem,1fr) 36px auto;overflow:hidden}.guard-exercise.code-playground :is(.guard-exercise__workspace,.code-explorer__workspace,.code-explorer__editor,.code-explorer__monaco){display:contents}.guard-exercise .guard-exercise__cases-inner h3,.guard-exercise .guard-exercise__scroll :is(h2,h3){margin:0 0 .375rem;color:var(--playground-text);font-size:.8125rem;font-weight:900;line-height:1.35}.guard-exercise .guard-exercise__scroll h2{font-size:1rem;font-weight:700}.guard-exercise .guard-exercise__cases-inner h3{margin-top:0}.guard-exercise .guard-exercise__cases-inner h4{margin:.5rem 0 .25rem;color:var(--playground-text);font-size:.75rem;font-weight:900;line-height:1.35}.guard-exercise__steps{margin:0;padding:0 0 0 1.25rem;font-size:.8125rem;line-height:1.5}.guard-exercise__guide-details{margin:.375rem 0;font-size:.8125rem}.guard-exercise__guide-details summary{cursor:pointer;font-weight:800}.guard-exercise__guide-details .guard-exercise__steps{margin-top:.375rem}.guard-exercise__reference{margin:.5rem 0;font-size:.8125rem}.guard-exercise__reference summary{cursor:pointer;font-weight:800}.guard-exercise__reference p,.guard-exercise__reference figure{margin:.375rem 0 0}.guard-exercise__reference figcaption{font-weight:700}.guard-exercise__reference pre,.guard-exercise__reference pre code{overflow-wrap:anywhere;white-space:pre-wrap}.guard-exercise__reference pre{margin:.25rem 0 0;padding:.5rem;font-size:.75rem;line-height:1.4}.guard-exercise__case-list{display:grid;gap:.25rem;margin:0;padding:0;list-style:none}.guard-exercise__case-list button,.guard-exercise__table th>button{display:flex;width:100%;min-width:0;align-items:flex-start;justify-content:space-between;gap:.5rem;padding:.4rem .5rem;border:.125rem solid var(--playground-border);border-radius:.375rem;background:var(--playground-surface);color:var(--playground-text);font:inherit;font-size:.8125rem;line-height:1.4;text-align:left;cursor:pointer}.guard-exercise__case-list button{padding:.25rem .4rem;font-size:.75rem;line-height:1.35}.guard-exercise__case-list button:has(.guard-exercise__behavior){flex-wrap:wrap}.guard-exercise__case-list button:has(.guard-exercise__behavior) .guard-exercise__case-title{flex:1 1 0;min-width:0}.guard-exercise__behavior{display:grid;flex:1 1 100%;grid-template-columns:repeat(2,minmax(0,1fr));gap:.2rem;min-width:0;font-size:.8125rem;font-weight:400;line-height:1.3}.guard-exercise__behavior-input{grid-column:1 / -1;overflow-wrap:anywhere}.guard-exercise__behavior-side{min-width:0;padding-left:.3rem;border-left:.1875rem solid var(--playground-border);overflow-wrap:anywhere}.guard-exercise__behavior-side[data-side=expected]{border-left-color:var(--role-positive)}.guard-exercise__behavior-side[data-side=actual]{border-left-color:var(--role-negative)}.guard-exercise__behavior-label{margin-right:.3rem;font-weight:700}.guard-exercise__behavior-side .guard-exercise__behavior-label,.guard-exercise__behavior-side .guard-exercise__behavior-text,.guard-exercise__behavior-side .guard-exercise__behavior-value{display:block;margin-right:0}.guard-exercise__behavior-side[data-side=expected] .guard-exercise__behavior-label{color:var(--role-positive)}.guard-exercise__behavior-side[data-side=actual] .guard-exercise__behavior-label{color:var(--role-negative)}.guard-exercise__behavior-value{font-size:inherit}.guard-exercise__behavior-input .guard-exercise__behavior-value{margin-left:.3rem}.guard-exercise__case-list button[aria-current=true]{border-color:var(--playground-primary);background:var(--playground-highlight);font-weight:900}.guard-exercise__mark{flex:none;padding:.05rem .4rem;border:1.5px solid currentColor;border-radius:999px;background:transparent;color:var(--role-muted);font-size:.6875rem;font-weight:800;white-space:nowrap}.guard-exercise__case-list button[data-verdict=slipped] .guard-exercise__mark{color:var(--role-negative)}.guard-exercise__case-list button[data-verdict=slipped] .guard-exercise__mark:before{content:"△ "}.guard-exercise__case-list button[data-group=optional][data-verdict=slipped] .guard-exercise__mark{color:var(--role-muted)}.guard-exercise__case-list button[data-verdict=detected] .guard-exercise__mark{color:var(--role-positive)}.guard-exercise__case-list button[data-verdict=detected] .guard-exercise__mark:before{content:"✓ "}.guard-exercise__terminal-bar{grid-row:4;grid-column:3;display:flex;align-items:center;padding:0 .5rem;border-top:1px solid var(--role-rule);background:var(--playground-surface)}.guard-exercise__terminal-bar button,.guard-exercise.code-playground .code-explorer__actions button{min-height:0;height:24px;padding:0 .5rem;border:1px solid var(--role-accent);border-radius:.25rem;background:var(--role-accent);color:var(--role-on-accent);font:inherit;font-size:.6875rem;font-weight:700;white-space:nowrap;cursor:pointer}.guard-exercise.code-playground .code-explorer__actions button{flex:none}.guard-exercise__run button{min-width:8rem;min-height:2.25rem;padding:.3rem .8rem;border:.125rem solid var(--role-accent);border-radius:.375rem;background:var(--role-accent);color:var(--role-on-accent);font:inherit;font-weight:800;cursor:pointer}.guard-exercise button:focus-visible,.guard-exercise textarea:focus-visible{outline:.25rem solid var(--playground-focus);outline-offset:.125rem}.guard-exercise button:disabled{opacity:.55;cursor:not-allowed}.guard-exercise__terminal{grid-row:5;grid-column:1 / -1;min-width:0;max-height:16rem;overflow:auto}.guard-exercise__terminal[hidden]{display:none}.guard-exercise__terminal .code-explorer__terminal{margin-top:0;border-width:0;border-top:1px solid var(--role-rule);border-radius:0}.guard-exercise__terminal .code-explorer__terminal-screen{height:11rem}.guard-exercise__run{display:flex;flex:none;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.75rem;border-bottom:1px solid var(--role-rule)}.guard-exercise__run-note{flex:1 1 100%;margin:0;font-size:.875rem;line-height:1.5}.guard-exercise__progress{display:grid;flex:1 1 10rem;min-width:0;gap:.25rem;font-size:.75rem;font-weight:850}.guard-exercise__progress progress{width:100%}.guard-exercise__error{margin:.75rem 0;padding:.5rem .625rem;border-left:.5rem solid var(--playground-danger);background:var(--playground-lemon);font-size:.8125rem;font-weight:850;overflow-wrap:anywhere}.guard-exercise__headline,.guard-exercise__table-note,.guard-exercise__limits-note,.guard-exercise__durations{margin:.375rem 0;font-size:.8125rem;line-height:1.4}.guard-exercise__table-note,.guard-exercise__limits-note,.guard-exercise__durations{font-size:.75rem}.guard-exercise__headline{font-weight:950}.guard-exercise__headline[data-passed=true]{padding:.5rem .625rem;border:1px solid var(--role-positive);border-radius:.5rem;background:color-mix(in srgb,var(--role-positive) 12%,var(--playground-surface))}.guard-exercise__headline[data-passed=true]:before{content:"✓ "}.guard-exercise__badge{display:inline-block;margin-right:.5rem;padding:.05rem .5rem;border:.125rem solid var(--playground-border);border-radius:999px;background:var(--playground-background);font-size:.6875rem;font-weight:950}.guard-exercise__next,.guard-exercise__problems,.guard-exercise__notes{margin-bottom:.625rem;font-size:.8125rem;line-height:1.5}.guard-exercise__next h3,.guard-exercise__problems h3,.guard-exercise__notes h3{margin-top:0}.guard-exercise .guard-exercise__next h3{display:inline;margin:0 .5rem 0 0}.guard-exercise__next p{display:inline;margin:0}.guard-exercise__next p+p{display:block;margin-top:.25rem}.guard-exercise__next ol,.guard-exercise__problems ul,.guard-exercise__notes ul{margin:0;padding-left:1.25rem}.guard-exercise.code-playground .guard-exercise__table{width:100%;margin:0 0 .625rem;border:0;border-collapse:separate;border-spacing:0;font-size:.8125rem;line-height:1.4;table-layout:fixed}.guard-exercise.code-playground .guard-exercise__table :is(th,td){padding:.3rem .125rem;border:0;border-bottom:1px solid var(--role-rule);text-align:left;vertical-align:top;overflow-wrap:break-word}.guard-exercise.code-playground .guard-exercise__table thead th{position:sticky;top:-.5rem;z-index:1;background:var(--role-surface);color:var(--role-muted);font-size:.75rem;font-weight:800}.guard-exercise.code-playground .guard-exercise__table thead th:not(:first-child,:last-child){width:3.5rem;white-space:nowrap}.guard-exercise__table td[data-state]{white-space:nowrap}.guard-exercise.code-playground .guard-exercise__table thead th:last-child{width:6.125rem}.guard-exercise.code-playground .guard-exercise__table tbody th{background:transparent;font-weight:800}.guard-exercise.code-playground .guard-exercise__table th>button{padding:.1rem .125rem;border-width:.0625rem;border-color:transparent;font-size:.8125rem;font-weight:800}.guard-exercise__table th>button[data-action=toggle-row]{justify-content:flex-start;gap:.25rem}.guard-exercise__table th>button[data-action=toggle-row]>span{min-width:0}.guard-exercise__table th>button[data-action=toggle-row]:before{content:"▶";flex:none}.guard-exercise__table th>button[data-action=toggle-row][aria-expanded=true]:before{content:"▼"}.guard-exercise.code-playground .guard-exercise__table th>button[aria-expanded=true]{border-color:var(--playground-primary);background:var(--playground-highlight)}.guard-exercise__limits{margin:.375rem 0}.guard-exercise__limits .guard-exercise__limits-note{margin:0 0 .25rem}.guard-exercise__terms{margin:0;font-size:.8125rem;line-height:1.4}.guard-exercise__terms summary{cursor:pointer;font-weight:800;white-space:nowrap}.guard-exercise__terms p{margin:.25rem 0 0}.guard-exercise__state{display:inline-block;padding:.05rem .5rem;border:1.5px solid currentColor;border-radius:999px;background:transparent;color:var(--role-muted);font-size:.75rem;font-weight:800;white-space:nowrap}.guard-exercise__table td[data-state=hit]{color:var(--role-positive)}.guard-exercise__table td[data-state=error],.guard-exercise__table tr[data-verdict=falsePositive] td[data-state=hit]{color:var(--role-negative)}.guard-exercise__table td[data-state=na],.guard-exercise__table td[data-state=none]{color:var(--role-muted)}.guard-exercise__table tr[data-verdict=detected] .guard-exercise__state,.guard-exercise__table tr[data-verdict=noFalsePositive] .guard-exercise__state{color:var(--role-positive)}.guard-exercise__table tr[data-verdict=detected] .guard-exercise__state:before,.guard-exercise__table tr[data-verdict=noFalsePositive] .guard-exercise__state:before{content:"✓ "}.guard-exercise__table tr[data-verdict=slipped] .guard-exercise__state{color:var(--role-negative)}.guard-exercise__table tr[data-verdict=slipped] .guard-exercise__state:before{content:"△ "}.guard-exercise__table tr[data-group=optional][data-verdict=slipped] .guard-exercise__state{color:var(--role-muted)}.guard-exercise__table tr[data-verdict=falsePositive]{background:color-mix(in srgb,var(--role-negative) 8%,transparent);font-weight:900}.guard-exercise__table tr[data-verdict=falsePositive] .guard-exercise__state{color:var(--role-negative)}.guard-exercise__table tr[data-verdict=falsePositive] .guard-exercise__state:before{content:"✕ "}.guard-exercise.code-playground .guard-exercise__table .guard-exercise__group th{background:var(--playground-background);font-weight:950}.guard-exercise__written,.guard-exercise__peer-note{display:block;margin-top:.125rem;font-size:.8125rem;font-weight:700}.guard-exercise__detail td{background:var(--playground-lemon)}.guard-exercise__detail p{margin:0 0 .375rem;font-weight:850}.guard-exercise__detail label{display:grid;gap:.25rem;font-weight:950}.guard-exercise__detail textarea{width:100%;box-sizing:border-box;padding:.35rem .45rem;border:.125rem solid var(--playground-border);border-radius:.25rem;background:var(--playground-surface);color:var(--playground-text);font:inherit;font-size:.8125rem;font-weight:500;resize:vertical}.guard-exercise.code-playground .code-explorer__tabs{display:flex;flex-wrap:nowrap;grid-row:1;grid-column:1 / -1;max-height:none;padding:0;overflow-x:auto;border-width:0 0 1px;border-radius:0;background:var(--playground-background)}.guard-exercise.code-playground .code-explorer__tabs button>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.guard-exercise.code-playground .code-explorer__tabs button{display:flex;flex:0 1 auto;width:auto;min-width:3.5rem;max-width:100%;height:30px;padding:0 .4rem;border:0;border-right:1px solid var(--role-rule);border-bottom:2px solid transparent;border-radius:0;font-size:.75rem;line-height:1}.guard-exercise.code-playground .code-explorer__tabs button[aria-pressed=true]{flex:none;border-bottom-color:var(--playground-primary);background:var(--playground-surface);font-weight:700}.guard-exercise.code-playground .code-explorer__tabs .code-explorer__dirty{flex:none;width:.5rem;height:.5rem;padding:0;border-radius:50%;background:var(--playground-primary);font-size:0}.guard-exercise.code-playground .code-explorer__tabs-area .code-explorer__tabs button:has(.code-explorer__tab-tail){justify-content:flex-start;gap:0;min-width:calc(var(--tab-tail) + 1.5em + 1.55rem)}.guard-exercise.code-playground .code-explorer__tabs-area .code-explorer__tabs button:has(.code-explorer__tab-tail) .code-explorer__dirty{margin-left:.25rem}.guard-exercise.code-playground .code-explorer__tabs-area .code-explorer__tabs button:not([aria-pressed=true]){flex-shrink:5}.guard-exercise.code-playground .code-explorer__tabs-area .code-explorer__tabs button[aria-pressed=true]{flex:0 1 auto;min-width:4.5rem}.guard-exercise.code-playground .code-explorer__tabs-area .code-explorer__tabs button[aria-pressed=true]:has(.code-explorer__tab-tail){min-width:calc(var(--tab-tail) + 1.5em + 1.55rem)}.guard-exercise.code-playground .code-explorer__tab-tail{flex:none;white-space:nowrap}.guard-exercise.code-playground .code-explorer__tabs-area{position:relative;grid-row:1;grid-column:1 / -1;min-width:0}.guard-exercise.code-playground .code-explorer__path-toggle{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;width:100%;padding:.2rem .7rem;border:0;border-bottom:1px solid var(--role-rule);background:var(--playground-surface);color:var(--playground-text);text-align:left;cursor:pointer}.guard-exercise.code-playground .code-explorer__path-toggle:hover:not(:disabled){background:var(--playground-highlight)}.guard-exercise.code-playground .code-explorer__path-toggle:focus-visible,.guard-exercise.code-playground .code-explorer__file-list button:focus-visible{outline:2px solid var(--playground-primary);outline-offset:-2px}.guard-exercise.code-playground .code-explorer__path{min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.8125rem;line-height:1.3;overflow-wrap:anywhere}.guard-exercise.code-playground .code-explorer__path-action{flex:none;color:var(--role-muted);font-size:.8125rem;line-height:1.3;white-space:nowrap}.guard-exercise.code-playground .code-explorer__file-list{position:absolute;z-index:30;top:100%;right:0;left:0;max-height:min(24rem,calc(100dvh - 15rem));overflow-y:auto;padding:.35rem 0;border-bottom:1px solid var(--role-rule);background:var(--playground-surface);color:var(--playground-text);box-shadow:0 .5rem 1rem #0003}.guard-exercise.code-playground .code-explorer__file-list h3.code-explorer__file-list-folder{margin:.35rem 0 .1rem;padding:0 .7rem;color:var(--role-muted);font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.8125rem;font-weight:400;line-height:1.3}.guard-exercise.code-playground .code-explorer__file-list ul{margin:0;padding:0;list-style:none}.guard-exercise.code-playground .code-explorer__file-list button{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;width:100%;padding:.15rem .7rem .15rem 1.4rem;border:0;background:transparent;color:inherit;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:.8125rem;line-height:1.3;text-align:left;overflow-wrap:anywhere;cursor:pointer}.guard-exercise.code-playground .code-explorer__file-list button:hover{background:var(--playground-highlight)}.guard-exercise.code-playground .code-explorer__file-list button[aria-current=true]{background:var(--playground-highlight);font-weight:700}.guard-exercise.code-playground .code-explorer__file-list h3.code-explorer__file-list-folder{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .6rem}.guard-exercise.code-playground .code-explorer__file-list-role{color:var(--playground-text);font-family:ui-rounded,Hiragino Maru Gothic ProN,Hiragino Sans,Yu Gothic,Meiryo,system-ui,sans-serif;font-weight:700}.guard-exercise.code-playground .code-explorer__file-list-note{flex:none;margin-right:auto;margin-left:.6rem;color:var(--role-muted);font-family:ui-rounded,Hiragino Maru Gothic ProN,Hiragino Sans,Yu Gothic,Meiryo,system-ui,sans-serif;font-size:.75rem}.guard-exercise.code-playground .code-explorer__path-folder{color:var(--role-muted)}.guard-exercise.code-playground .code-explorer__notice{grid-row:2;grid-column:1 / -1;padding:.4rem .6rem;font-size:.75rem}.guard-exercise.code-playground .code-explorer__notice button{min-height:0;padding:.2rem .6rem;font-size:.75rem}.guard-exercise.code-playground .code-explorer__monaco>pre,.guard-exercise.code-playground .code-explorer__empty,.guard-exercise.code-playground .code-explorer__monaco>div[aria-label^="コードエディタ:"]{position:static;grid-row:3;grid-column:1 / -1;min-width:0;min-height:0;overflow:hidden}.guard-exercise.code-playground .code-explorer__monaco>pre{z-index:1;padding:.5rem;overflow:auto;font-size:.75rem}.guard-exercise.code-playground .code-explorer__empty{padding:.75rem}.guard-exercise.code-playground .code-explorer__diagnostics{position:relative;display:flex;grid-row:4;grid-column:1;align-items:center;min-width:0;max-height:none;padding:0 .6rem;overflow:visible;border-width:1px 0 0;border-top-style:solid;border-color:var(--role-rule);font-size:.75rem;line-height:1.2}.guard-exercise.code-playground .code-explorer__diagnostics>h3{display:-webkit-box;min-width:0;margin:0;overflow:hidden;font-size:.6875rem;font-weight:700;line-height:1.2;-webkit-box-orient:vertical;-webkit-line-clamp:2}.guard-exercise.code-playground .code-explorer__diagnostics>p{display:none}.guard-exercise.code-playground .code-explorer__diagnostics>ul{position:absolute;bottom:100%;left:0;z-index:3;width:min(32rem,100%);max-height:8rem;margin:0;padding:.25rem;border:1px solid var(--role-rule);background:var(--playground-surface);opacity:0;pointer-events:none}.guard-exercise.code-playground .code-explorer__diagnostics:is(:hover,:focus-within)>ul{opacity:1;pointer-events:auto}.guard-exercise.code-playground .code-explorer__diagnostics button{min-height:0;padding:.25rem .5rem;border-width:1px;font-size:.75rem}.guard-exercise.code-playground .code-explorer__actions{display:flex;grid-row:4;grid-column:2;flex-wrap:nowrap;align-items:center;justify-content:flex-end;gap:.5rem;min-width:0;padding:0 .5rem;border-width:1px 0 0;border-top-style:solid;border-color:var(--role-rule)}.guard-exercise.code-playground .code-explorer__actions>p{flex:0 1 auto;max-width:10rem;overflow:hidden;font-size:.75rem;text-overflow:ellipsis;white-space:nowrap}.guard-answer summary{display:flex;align-items:center;height:36px;padding:0 .75rem;font-size:.8125rem;font-weight:700;cursor:pointer}.guard-answer[open]>summary{border-bottom:1px solid var(--role-rule)}.guard-answer__panel{display:none}.guard-answer[open]>.guard-answer__panel{position:fixed;top:var(--frame-bar-height);right:max(0px,calc((100vw - var(--frame-column)) / 2));bottom:var(--frame-foot-height);left:calc(max(0px,(100vw - var(--frame-column)) / 2) + var(--frame-side));z-index:30;display:block;padding:0 var(--frame-pad) 1rem;overflow:auto;border:1px solid var(--role-rule);border-radius:.5rem;background:var(--role-surface);color:var(--role-text)}.guard-answer__bar{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;padding:.5rem 0;background:var(--role-surface)}.guard-answer__bar strong{font-size:1rem}.guard-answer__bar button{height:30px;padding:0 .9rem;border:1px solid var(--role-accent);border-radius:.25rem;background:var(--role-accent);color:var(--role-on-accent);font:inherit;font-size:.8125rem;font-weight:700;cursor:pointer}.guard-answer figure{margin:.75rem 0 0}.guard-answer figcaption{font-size:.8125rem;font-weight:900}.guard-answer__file{display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}.guard-answer__file .copy-button{margin-left:auto}.guard-answer__file>span{min-width:0;overflow-wrap:anywhere}.guard-answer__note{margin:.125rem 0 .25rem;font-size:.8125rem;line-height:1.4}@media (min-width: 1100px){.guard-exercise__grid{grid-template-columns:clamp(380px,26%,460px) minmax(0,1fr) 460px;height:calc(100dvh - var(--frame-bar-height) - var(--frame-foot-height) - var(--frame-role-height) - var(--frame-body-pad) * 2);min-height:30rem}.guard-exercise__column--center{grid-template-rows:auto auto minmax(0,1fr) 36px auto}}@media (min-width: 1100px) and (max-width: 1399px){.guard-exercise__grid{grid-template-columns:360px minmax(0,1fr) 420px}}@media (max-height: 844px){.guard-exercise__steps{line-height:1.4}}@media (min-width: 1100px){.guard-exercise__cases-inner{flex:none}.guard-exercise__cases{flex:none;min-height:0;max-height:none;overflow:visible}}@media (max-width: 1099px){.guard-exercise__column--result{order:1}.guard-exercise__column--center{order:2}}
