/* A reading layer, kept separate from the four working tabs. */
.guide-launch{position:fixed;z-index:4;right:32px;top:24px;display:flex;align-items:center;gap:9px;min-height:46px;padding:10px 17px;border:1px solid #ffffff45;border-radius:99px;background:var(--glass-fill);box-shadow:var(--glass-rim);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);color:#fff;font:500 12px var(--ui-font)}
body[data-panel=open]>.guide-launch{display:none}
.guide-question{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:1px solid currentColor;border-radius:50%;font:500 12px/1 var(--ui-font);flex-shrink:0}
.guide-inline{display:flex;gap:7px;align-items:center;justify-content:center;min-width:44px;min-height:44px;color:#55604c;border-radius:24px;font:500 11px var(--ui-font);padding:8px}
.guide-label{display:none}
.guide-welcome{display:flex;align-items:center;gap:12px;font:400 11px/1.6 var(--ui-font);color:#fffef0;min-height:44px;margin-top:8px;padding:4px 0;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#fff6}
#guide{position:fixed;inset:0;margin:auto;width:min(1040px,calc(100% - 48px));max-width:none;max-height:calc(100dvh - 48px);padding:24px 40px 32px;overflow:auto;overscroll-behavior:contain;border:1px solid #ffffffc7;border-radius:32px;background:linear-gradient(140deg,#fff9,#fff0 60%),#f0f1e9f5;color:#283327;box-shadow:inset 0 1px 0 #fff,0 24px 90px #10180d45;backdrop-filter:blur(28px) saturate(115%);-webkit-backdrop-filter:blur(28px) saturate(115%);scrollbar-width:thin}
#guide::backdrop{background:#121b164f;backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.guide-top{display:flex;align-items:center;justify-content:space-between;gap:20px}
.guide-kicker{font:600 10px/1.5 var(--ui-font);letter-spacing:.17em;color:#68715f}
.guide-top>.icon-button{margin-right:-12px}
.guide-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;margin:10px 0 34px}
#guide-title{font:400 clamp(36px,4vw,52px)/1.04 var(--serif);letter-spacing:-.045em;margin:0}
#guide-title:focus{outline:none}
#guide-intro{font:400 14px/1.8 var(--ui-font);color:#5c6655;margin:0 0 2px}
.guide-flow{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.guide-flow>li{position:relative;min-width:0;display:flex;flex-direction:column;align-items:flex-start}
.guide-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#526347;color:#fffef6;box-shadow:inset 0 1px 1px #fff5;font:500 11px/1 var(--ui-font);font-variant-numeric:tabular-nums}
.guide-flow>li:not(:last-child)::before{content:"";position:absolute;top:18px;left:48px;width:calc(100% - 36px);height:1px;background:#87937c70}
.guide-flow>li:not(:last-child)::after{content:"";position:absolute;right:-11px;top:15px;width:6px;height:6px;border-top:1px solid #87937c;border-right:1px solid #87937c;transform:rotate(45deg)}
.guide-flow h3{font:500 19px/1.3 var(--ui-font);letter-spacing:-.035em;margin:18px 0 9px}
.guide-flow p{font:400 13px/1.65 var(--ui-font);color:#5c6655;margin:0 0 18px;max-width:24ch}
.guide-result{font:500 10px/1.5 var(--ui-font);color:#65715a;margin-top:auto;padding-top:12px;border-top:1px solid #63705529;width:100%}
.guide-loop{display:flex;align-items:center;justify-content:center;gap:10px;font:400 11px/1.6 var(--ui-font);color:#68735e;border:1px solid #63705533;border-top:0;border-radius:0 0 18px 18px;margin:18px 18px 26px;padding:0 16px 12px}
.guide-loop>span{font-size:20px;line-height:1}
.guide-example{border-block:1px solid #63705529}
.guide-example summary{list-style:none;display:flex;align-items:center;gap:22px;min-height:64px;padding:12px 0;cursor:pointer;font:400 14px/1.5 var(--ui-font)}
.guide-example summary::-webkit-details-marker{display:none}
.guide-example summary>span:first-child{font-size:9px;letter-spacing:.12em;font-weight:600;color:#66725c;flex-shrink:0}
.guide-plus{margin-left:auto;font-size:22px!important;font-weight:300;flex-shrink:0}
.guide-example[open] .guide-plus{transform:rotate(45deg)}
.guide-example ol{list-style:none;margin:0;padding:0 0 24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.guide-example strong{font:600 10px/1.6 var(--ui-font);color:#65715a}
.guide-example li p{font:400 13px/1.7 var(--ui-font);margin:8px 0 0}
.guide-bottom{display:flex;justify-content:space-between;align-items:center;gap:32px;padding-top:26px}
.guide-bottom p{font:500 12px/1.6 var(--ui-font);margin:0 0 5px}
.guide-bottom>div>span{font:400 11px/1.65 var(--ui-font);color:#68715f}
.guide-bottom .action{width:auto;min-width:245px;min-height:52px;gap:22px;padding:14px 22px;font:500 13px/1.4 var(--ui-font);flex-shrink:0}
.guide-bottom .action>.icon{position:static}
@media(hover:hover) and (pointer:fine){.guide-inline:hover{background:#fff9}.guide-launch:hover{background:#36452ed9}.guide-example summary:hover{color:#5c704c}}
@media(min-width:821px){
  .guide-label{display:inline}
  /* The guide fits beside the original header; it must not push navigation onto a second row. */
  body[data-panel=closed] .topbar{width:auto;right:216px;flex-wrap:nowrap;gap:24px}
  body[data-panel=closed] .topbar nav{flex:0 1 auto;margin-left:auto}
  .guide-launch{min-height:58px}
}
@media(max-width:820px){.guide-launch{top:calc(12px + env(safe-area-inset-top));right:16px;min-height:44px;font-size:11px;padding-inline:13px}#guide{width:calc(100% - 24px);max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:16px 24px 24px;border-radius:26px}.guide-heading{display:block;margin:6px 0 26px}#guide-title{font-size:32px}#guide-intro{font-size:13px;margin-top:16px}.guide-flow{grid-template-columns:1fr;gap:24px}.guide-flow>li{padding-left:52px;min-height:94px}.guide-number{position:absolute;top:0;left:0}.guide-flow h3{margin:0 0 6px;font-size:17px}.guide-flow p{max-width:36ch;margin-bottom:8px;font-size:13px}.guide-result{border:0;padding:0;font-size:10px}.guide-flow>li:not(:last-child)::before{left:18px;top:46px;width:1px;height:calc(100% - 30px)}.guide-flow>li:not(:last-child)::after{left:15px;top:auto;bottom:-14px;right:auto;transform:rotate(135deg)}.guide-loop{margin:16px 0 20px;padding:0 4px 12px;font-size:10px;gap:7px}.guide-example summary{gap:8px;flex-wrap:wrap;padding:16px 0;position:relative;padding-right:24px;font-size:13px}.guide-example summary>span:first-child{width:100%}.guide-plus{position:absolute;right:0;top:24px}.guide-example ol{grid-template-columns:1fr;gap:18px}.guide-example li{border-left:2px solid #6e7d5940;padding-left:15px}.guide-bottom{flex-direction:column-reverse;align-items:stretch;gap:20px;padding-top:22px}.guide-bottom .action{width:100%;min-width:0}.guide-bottom>div{text-align:center}.guide-bottom>div>span{font-size:10px}}
@media(max-width:360px){#guide{padding-inline:20px}#guide-title{font-size:30px}.workspace-head{gap:4px;padding-inline:16px}.head-actions{gap:2px}}
@media(prefers-reduced-transparency:reduce),(prefers-contrast:more){#guide{background:#f2f3ec;backdrop-filter:none;-webkit-backdrop-filter:none}.guide-launch{background:#35452f;backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){#guide{background:#f2f3ec}.guide-launch{background:#35452f}}

@media(max-width:820px){.guide-top{position:sticky;top:-16px;z-index:1;background:#f2f3ec;padding-block:4px}.guide-flow{gap:18px}.guide-flow>li{min-height:90px}}
@media(max-width:820px){.guide-launch{top:calc(70px + env(safe-area-inset-top))}}
