:root{color-scheme:light;color:#0a0a0a;--muted:#525252;--surface:#fafafa;--line:#e5e5e5;--control-line:#d4d4d4;--date:#cfe3fd;--time:#fde8b4;--repeat:#e2dcfd;--duration:#cfefd8;background:#fff;font-family:Pretendard,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;line-height:1.5}::selection{background:#dce9f9}main{width:min(62rem,100% - 3rem);margin:0 auto;padding:clamp(2.5rem,6vw,4.5rem) 0 4rem}h1,h2,p,ul{margin:0}ul{padding:0;list-style:none}button,input{font:inherit}.intro{margin-bottom:2rem}.intro h1{letter-spacing:-.045em;font-size:clamp(2rem,5vw,3.5rem);font-weight:700;line-height:1.2}.intro p{max-width:34rem;color:var(--muted);word-break:keep-all;overflow-wrap:anywhere;margin-top:1rem;font-size:clamp(1rem,2vw,1.125rem)}.workbench{border:1px solid var(--line);background:#fff;border-radius:.875rem;overflow:hidden}form,.results{padding:clamp(1rem,4vw,1.875rem)}label{margin-bottom:.65rem;font-weight:700;display:block}.controls{grid-template-columns:minmax(0,1fr) auto;gap:.625rem;display:grid}.input-wrap{border:1px solid var(--control-line);background:#fff;border-radius:.625rem;min-width:0;position:relative}.input-wrap:focus-within{outline-offset:2px;outline:2px solid #171717}#demo-input,#demo-highlight{width:100%;font:inherit;letter-spacing:inherit;border:0;padding:.85rem .95rem;line-height:1.5}#demo-highlight{pointer-events:none;white-space:pre;position:absolute;inset:0;overflow:hidden}#demo-input{color:inherit;caret-color:#000;background:0 0;outline:none;display:block;position:relative}#demo-input.highlighted{color:#0000}#demo-input::selection{background:#a0c4f480}#demo-input::placeholder{color:var(--muted)}button{cursor:pointer}button:focus-visible{outline-offset:3px;outline:2px solid #171717}.submit{color:#fff;background:#171717;border:0;border-radius:.625rem;padding:.75rem 1.125rem;font-weight:700}.submit:hover{background:#404040}[data-kind=date]{--mark:var(--date)}[data-kind=time]{--mark:var(--time)}[data-kind=repeat]{--mark:var(--repeat)}[data-kind=duration]{--mark:var(--duration)}mark{background:var(--mark);color:inherit;border-radius:.2rem}.legend{color:var(--muted);flex-wrap:wrap;gap:.25rem .95rem;margin-top:.85rem;font-size:.8125rem;display:flex}.legend li{align-items:center;gap:.35rem;display:flex}.legend i{background:var(--mark);border-radius:.2rem;width:.65rem;height:.65rem}.results{background:var(--surface);border-top:1px solid var(--line)}.result-header{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem 1rem;display:flex}.result-header h2{font-size:1rem}#reference,#status{color:var(--muted);font-size:.875rem}#status:not([hidden]){margin-top:.55rem}#status:empty{display:none}.dates{margin-top:.7rem}.dates li{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.125rem 1rem;padding:.55rem 0;display:flex}.dates li:last-child{padding-bottom:0}.dates li span:last-child{color:var(--muted)}.result-date{font-weight:700}.examples{margin-top:2.75rem}.examples h2{letter-spacing:-.025em;font-size:1.375rem}.examples header p{color:var(--muted);word-break:keep-all;overflow-wrap:anywhere;margin-top:.4rem}.examples ul{grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:.7rem;margin-top:1rem;display:grid}.examples button{text-align:start;width:100%;height:100%;color:inherit;background:var(--surface);border:1px solid var(--line);border-radius:.75rem;flex-direction:column;align-items:flex-start;gap:.35rem;padding:.9rem 2.2rem .95rem 1rem;display:flex;position:relative}.examples button:hover{border-color:var(--control-line);background:#fff}.example-kind{color:var(--muted);font-size:.8125rem;font-weight:700}.example-text{word-break:keep-all;overflow-wrap:anywhere}.example-arrow{color:var(--muted);position:absolute;top:.82rem;right:.9rem}.about{border-top:1px solid var(--line);margin-top:3rem;padding-top:1.5rem}.about h2{font-size:1.125rem}.about p{color:var(--muted);word-break:keep-all;margin-top:.5rem}.about a{color:inherit;text-underline-offset:.2em;margin-top:.75rem;display:inline-block}@media (width<=34rem){main{width:min(100% - 1.5rem,62rem);padding-bottom:2.5rem}.controls{grid-template-columns:minmax(0,1fr)}.submit{justify-self:start}}@media (forced-colors:active){.input-wrap{border:1px solid canvastext}#demo-highlight{visibility:hidden}#demo-input.highlighted{color:canvastext}}
