:root{--brand-blue:#1d9cce;--brand-green:#76e580;--ink:#14313c;--line:#d9e6ea}
body{color:var(--ink);background:#f3f7f8}header{background:#fff;color:var(--ink);padding:14px 24px;align-items:center;gap:20px;border-bottom:1px solid var(--line);min-height:88px}header p{color:#5d737c;line-height:1.4}h1{font-size:20px;line-height:1.2}header .brand{display:flex;align-items:center;gap:10px;text-decoration:none;flex-shrink:0}header .brand img{object-fit:contain}header .page-title{flex:1}.header-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.header-actions>a{color:#11779f;text-decoration:none;font-weight:600;white-space:nowrap}.badge{background:#dcf7df;color:#17512b;border:1px solid #b6e9bd;white-space:nowrap;font-size:13px;font-weight:700}.demo-notice{margin:0;padding:10px 24px;background:#edf8fc;color:#17536b;font-size:13px;line-height:1.45;border-bottom:1px solid var(--line)}main{height:calc(100dvh - 129px);grid-template-columns:300px minmax(0,1fr)}aside{background:#fff;padding:20px}aside h2{font-size:15px}aside p{font-size:13px}button,a.download{border-color:#bcd2da;color:#17536b;min-height:40px}button:hover{background:#edf8fc;border-color:var(--brand-blue)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--brand-blue);outline-offset:2px}.warning{border-color:var(--brand-blue)}#demo-tools{gap:6px;right:16px;left:16px;top:58px}#demo-state{max-width:none;line-height:1.4;flex-basis:100%;width:max-content}#demo-tools select{max-width:290px;flex-basis:auto;min-height:40px}#status{font-size:12px;max-width:calc(100% - 32px)}#caption{font-size:12px;line-height:1.4;padding:9px 12px}select{max-width:none;min-height:40px}aside input[type=range]{min-height:30px}.skip-link{position:absolute;left:10px;top:-60px;z-index:10;background:#fff;color:#14313c;padding:12px}.skip-link:focus{top:10px}.wordmark{max-width:160px}noscript p{padding:20px}
@media(max-width:1000px){header .page-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}main{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:700px){header{padding:12px 14px;gap:10px;min-height:76px}.header-actions{gap:6px;flex:1;justify-content:flex-end}.header-actions>a{font-size:12px}.badge{font-size:11px;padding:6px 8px;white-space:normal;text-align:center}.brand .wordmark{width:110px;height:30px}.brand img:first-child{width:32px;height:32px}header .brand{gap:4px}.demo-notice{padding:9px 14px;font-size:12px}main{height:auto;display:flex;flex-direction:column;min-height:0}#stage{height:520px;max-height:76dvh;min-height:420px;order:-1}aside{max-height:none;padding:18px}#demo-tools{top:52px;gap:5px}#demo-tools button{min-height:42px;padding:7px 9px;font-size:12px}#demo-tools select{flex-basis:100%;max-width:100%;font-size:12px}#demo-state{font-size:11px;line-height:1.45}#caption{font-size:11px;bottom:10px;left:10px;right:10px}#status{left:16px;top:12px}.header-actions>a{display:none}}

#demo-tools{top:auto;bottom:60px;left:50%;right:auto;gap:0}#demo-tools .quick-grid button{padding:8px 3px;min-height:91px}#demo-tools .quick-more select{max-width:100%}@media(max-width:700px){#demo-tools{top:auto;bottom:57px;left:50%;right:auto}#demo-tools .quick-grid button{min-height:83px;padding:8px 3px;font-size:12px}#stage{height:76dvh;min-height:530px;max-height:none}}

.embedded-demo header,.embedded-demo>.demo-notice,.embedded-demo>.skip-link{display:none}.embedded-demo main{height:650px;min-height:0}.embedded-demo #stage{min-height:420px}@media(max-width:700px){.embedded-demo main{height:auto}.embedded-demo aside{display:none}.embedded-demo #stage{height:740px;max-height:none}}

.crop-panel{padding:16px;margin-bottom:22px;background:#edf8f1;border:1px solid #c9e4d3;border-radius:10px}.crop-panel select{width:100%;font:inherit;border:1px solid #97b9a5;border-radius:6px;background:white;padding:9px;color:#14313c}.crop-panel #crop-system{font-weight:700;color:#245f4c}.crop-panel .muted{font-size:12px}.embedded-demo aside:has(.crop-panel){display:block}

#demo-tools-toggle{display:block;margin:0 0 8px auto;font-size:12px;min-height:36px;border-radius:8px;padding:6px 10px}#demo-tools-content[hidden]{display:none!important}#demo-tools.is-minimized{width:auto;max-width:calc(100% - 24px);padding:5px;border-radius:12px;left:auto;right:16px;transform:none}#demo-tools.is-minimized #demo-tools-toggle{margin:0;min-height:40px}.observing #demo-tools:not(.is-minimized){width:160px}.observing #demo-tools-toggle{font-size:11px}.crop-panel #crop-closeup{margin-top:9px;width:100%}
