#dragon-guide{position:fixed;right:22px;bottom:86px;z-index:850;color:#182f3d;line-height:1.45}
#guide-launch{display:flex;align-items:center;gap:8px;border:1px solid #c1d8d8;border-radius:24px;background:#fff;color:#075852;box-shadow:0 5px 20px #172d4230;padding:8px 14px;font:inherit;font-weight:700;cursor:pointer}
#guide-launch span{font-size:23px}
#guide-panel{position:absolute;right:0;bottom:56px;display:flex;flex-direction:column;width:378px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 158px);overflow:hidden;background:#fff;border:1px solid #cddcde;border-radius:18px;box-shadow:0 16px 48px #172d4238}
#guide-panel [hidden],#guide-panel[hidden]{display:none}
#guide-panel .guide-header{position:static;display:flex;gap:10px;align-items:center;padding:12px 14px;background:#e7f4f1;color:#134b49}
.guide-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#fff;font-size:22px;flex:none}
.guide-header small{display:block;color:#476760;font-size:.78rem}
#guide-close{margin-left:auto!important;font-size:1.35rem!important;line-height:1}
#guide-panel .guide-content{overflow:auto;overscroll-behavior:contain;padding:14px;min-height:0}
#guide-panel button,#guide-go{border:1px solid #bed2d1;border-radius:8px;background:#fff;color:#164d49;padding:7px 10px;margin:0;min-height:36px;width:auto;font:inherit;font-size:.87rem;cursor:pointer}
#guide-panel button:disabled{opacity:.45;cursor:default}
#guide-panel :focus-visible,#guide-launch:focus-visible{outline:2px solid #087f75;outline-offset:3px}
#guide-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}
#guide-search-form label{grid-column:1/-1;font-weight:700}
#guide-search,#guide-topic{width:100%;min-width:0;border:1px solid #bed2d1;border-radius:8px;padding:7px 9px;margin:0;background:#fff;color:inherit;font:inherit}
#guide-suggestions,#guide-search-results,.guide-actions{display:flex;gap:6px;flex-wrap:wrap}
#guide-suggestions{margin-top:8px}
#guide-suggestions button,#guide-search-results button{min-height:30px;padding:4px 8px;background:#eef6f5}
#guide-search-status,#guide-feedback{font-size:.82rem;color:#455e65;margin:8px 0 0}
#guide-search-results:not(:empty){margin-top:5px}
.guide-topics{margin:9px 0}
.guide-topics summary{color:#275b58;font-size:.86rem;cursor:pointer}
.guide-topics label{display:block;margin-top:5px;font-size:.84rem}
.guide-step{padding:11px 12px;border:1px solid #d5e6e4;border-radius:12px;background:#f5faf9}
#guide-progress{margin:0;color:#3a625e;font-size:.8rem;font-weight:650}
#guide-meter{display:block;width:100%;height:5px;margin:6px 0 9px;accent-color:#087f75}
#guide-title{margin:0;font-size:1.05rem;line-height:1.4}
#guide-description{margin:4px 0 10px;font-size:.9rem;line-height:1.55}
#guide-go,#guide-next,#guide-search-form button{background:#09685f!important;border-color:#09685f!important;color:#fff!important;text-decoration:none}
#guide-panel .guide-footer{display:flex;gap:7px;justify-content:space-between;padding:9px 14px;margin:0;background:#fff;border-top:1px solid #dce8e7}
#guide-reset{border-color:transparent!important}
.dragon-guide-target{outline:3px solid #fa9c30!important;outline-offset:5px!important;scroll-margin-top:160px}
@media(max-width:600px){#dragon-guide{right:12px;bottom:76px}#guide-panel{bottom:51px;max-height:calc(100dvh - 140px)}}
@media print{#dragon-guide,#maintenance-notice{display:none!important}}
html.maintenance-blocked,html.maintenance-blocked body{overflow:hidden!important}
#maintenance-notice{position:fixed;inset:0;z-index:2147483646;background:#f2f5faf5;display:grid;place-items:center;padding:24px;color:#263652}#maintenance-notice>section{max-width:540px;background:#fff;padding:32px;border-radius:22px;border:1px solid #cdd9ec;box-shadow:0 12px 40px #162d4820}#maintenance-notice button{padding:12px 18px;border:0;border-radius:12px;background:#2854e8;color:white;font:inherit}#maintenance-notice p{line-height:1.8}#maintenance-notice[hidden]{display:none}

#guide-launch #guide-launch-label{font-size:inherit}
#guide-panel .guide-header{flex-wrap:wrap}
#guide-panel #guide-side{margin-left:auto}
#guide-panel #guide-close{margin-left:0!important}
#dragon-guide[data-side="left"]{left:22px;right:auto}
#dragon-guide[data-side="left"] #guide-panel{left:0;right:auto}
@media(min-width:1100px){
  body:has(#dragon-guide[data-side="right"][data-floating="false"] #guide-panel:not([hidden])) main{width:auto;max-width:1200px;margin-right:410px;margin-left:auto}
  body:has(#dragon-guide[data-side="left"][data-floating="false"] #guide-panel:not([hidden])) main{width:auto;max-width:1200px;margin-left:410px;margin-right:auto}
}
@media(max-width:600px){
  #dragon-guide[data-side="left"]{left:12px}
  #guide-panel{max-height:48dvh}
}
#guide-mini{position:absolute;right:0;bottom:49px;width:min(300px,calc(100vw - 24px));margin:0;padding:8px 11px;background:#f5faf9;border:1px solid #bed2d1;border-radius:12px;box-shadow:0 4px 15px #172d4220;font-size:.83rem;line-height:1.45}
#dragon-guide[data-side="left"] #guide-mini{left:0;right:auto}
#dragon-guide[data-floating="true"] #guide-panel{position:fixed;left:var(--guide-x,12px);top:var(--guide-y,12px);right:auto;bottom:auto}
#guide-drag{touch-action:none;cursor:grab!important}
#guide-drag:active{cursor:grabbing!important}
@media(max-width:600px){#guide-float,#guide-drag{display:none}#dragon-guide[data-floating="true"] #guide-panel{position:absolute;left:auto;right:0;top:auto;bottom:51px}#dragon-guide[data-side="left"][data-floating="true"] #guide-panel{left:0;right:auto}}
#guide-panel .guide-header{flex-wrap:nowrap;gap:7px}
#guide-panel .guide-position{position:relative;margin-left:auto;flex:none}
#guide-panel .guide-position summary{cursor:pointer;list-style:none;padding:7px 8px;border:1px solid #bed2d1;border-radius:8px;background:#fff;font-size:.85rem}
#guide-panel .guide-position div{position:absolute;right:0;top:calc(100% + 5px);z-index:2;display:grid;gap:4px;min-width:75px;background:white;border:1px solid #bed2d1;border-radius:8px;padding:4px;box-shadow:0 5px 15px #172d4220}
#guide-panel .guide-position:not([open]) div{display:none}
#guide-panel #guide-side{margin-left:0}
#guide-panel .guide-footer{gap:4px}
#guide-panel .guide-footer button{padding-inline:7px}
.guide-dialog-tip{margin:0 0 12px;padding:9px 12px;border:1px solid #bed2d1;border-radius:8px;background:#eef6f5;color:#164d49}
.guide-dialog-tip p{margin:0 0 4px;font-size:.875rem}
.guide-dialog-tip button[hidden]{display:none}