/* Pagine della guida (ruolo guida). Il resto lo fa il tema. */
.guida { --guida-bordo: #e2e2e2; --guida-fondo: #f6f7f8; }
.guida h2, .guida h3, .guida h4 { scroll-margin-top: 120px; }
.guida .headerlink { margin-left: .4em; opacity: 0; text-decoration: none; color: inherit; }
.guida h2:hover .headerlink, .guida h3:hover .headerlink, .guida h4:hover .headerlink, .guida .headerlink:focus { opacity: .5; }
.guida code { display: inline; background: var(--guida-fondo); border-radius: 3px; padding: .1em .3em; font-size: .9em; }
.guida pre { background: var(--guida-fondo); border: 1px solid var(--guida-bordo); border-radius: 4px; padding: 1em; overflow-x: auto; line-height: 1.5; margin: 0 0 1.5em; }
.guida pre code { display: block; background: none; padding: 0; font-size: .85em; white-space: pre; }
.guida .highlight { margin-bottom: 1.5em; }
.guida .highlight pre { margin: 0; }
.guida table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; display: block; overflow-x: auto; }
.guida th, .guida td { border: 1px solid var(--guida-bordo); padding: .5em .75em; text-align: left; vertical-align: top; }
.guida th { background: var(--guida-fondo); }
.guida img { max-width: 100%; height: auto; }
.guida .mermaid { text-align: center; margin: 0 0 1.5em; }
/* Avvisi (!!! note, ??? details) */
.guida .admonition, .guida details { border-left: 4px solid #448aff; background: #448aff12; border-radius: 3px; padding: .6em 1em; margin: 0 0 1.5em; }
.guida .admonition-title, .guida summary { font-weight: 700; margin: 0 0 .4em; }
.guida summary { cursor: pointer; }
.guida .admonition > :last-child, .guida details > :last-child { margin-bottom: 0; }
.guida .tip, .guida .hint, .guida .success { border-color: #00bfa5; background: #00bfa512; }
.guida .warning, .guida .caution, .guida .attention { border-color: #ff9100; background: #ff910012; }
.guida .danger, .guida .error, .guida .failure, .guida .bug { border-color: #ff1744; background: #ff174412; }
.guida .example, .guida .quote { border-color: #7c4dff; background: #7c4dff12; }
.guida .task-list-item { list-style: none; }
/* Navigazione in fondo alla pagina */
.guida-nav { display: flex; flex-wrap: wrap; gap: .75em 1.5em; justify-content: space-between; border-top: 1px solid var(--guida-bordo); margin-top: 2.5em; padding-top: 1em; }
.guida-nav .guida-succ { margin-left: auto; }
.guida-sorgente { font-size: .85em; opacity: .7; margin-top: 1em; }
/* Pygments (stile friendly) */
td.linenos .normal { color: #666666; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: #666666; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.guida .highlight .c { color: #60a0b0; font-style: italic } /* Comment */
.guida .highlight .err { border: 1px solid #FF0000 } /* Error */
.guida .highlight .k { color: #007020; font-weight: bold } /* Keyword */
.guida .highlight .o { color: #666666 } /* Operator */
.guida .highlight .ch { color: #60a0b0; font-style: italic } /* Comment.Hashbang */
.guida .highlight .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
.guida .highlight .cp { color: #007020 } /* Comment.Preproc */
.guida .highlight .cpf { color: #60a0b0; font-style: italic } /* Comment.PreprocFile */
.guida .highlight .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
.guida .highlight .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
.guida .highlight .gd { color: #A00000 } /* Generic.Deleted */
.guida .highlight .ge { font-style: italic } /* Generic.Emph */
.guida .highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.guida .highlight .gr { color: #FF0000 } /* Generic.Error */
.guida .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.guida .highlight .gi { color: #00A000 } /* Generic.Inserted */
.guida .highlight .go { color: #888888 } /* Generic.Output */
.guida .highlight .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
.guida .highlight .gs { font-weight: bold } /* Generic.Strong */
.guida .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.guida .highlight .gt { color: #0044DD } /* Generic.Traceback */
.guida .highlight .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
.guida .highlight .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
.guida .highlight .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
.guida .highlight .kp { color: #007020 } /* Keyword.Pseudo */
.guida .highlight .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
.guida .highlight .kt { color: #902000 } /* Keyword.Type */
.guida .highlight .m { color: #40a070 } /* Literal.Number */
.guida .highlight .s { color: #4070a0 } /* Literal.String */
.guida .highlight .na { color: #4070a0 } /* Name.Attribute */
.guida .highlight .nb { color: #007020 } /* Name.Builtin */
.guida .highlight .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
.guida .highlight .no { color: #60add5 } /* Name.Constant */
.guida .highlight .nd { color: #555555; font-weight: bold } /* Name.Decorator */
.guida .highlight .ni { color: #d55537; font-weight: bold } /* Name.Entity */
.guida .highlight .ne { color: #007020 } /* Name.Exception */
.guida .highlight .nf { color: #06287e } /* Name.Function */
.guida .highlight .nl { color: #002070; font-weight: bold } /* Name.Label */
.guida .highlight .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
.guida .highlight .nt { color: #062873; font-weight: bold } /* Name.Tag */
.guida .highlight .nv { color: #bb60d5 } /* Name.Variable */
.guida .highlight .ow { color: #007020; font-weight: bold } /* Operator.Word */
.guida .highlight .w { color: #bbbbbb } /* Text.Whitespace */
.guida .highlight .mb { color: #40a070 } /* Literal.Number.Bin */
.guida .highlight .mf { color: #40a070 } /* Literal.Number.Float */
.guida .highlight .mh { color: #40a070 } /* Literal.Number.Hex */
.guida .highlight .mi { color: #40a070 } /* Literal.Number.Integer */
.guida .highlight .mo { color: #40a070 } /* Literal.Number.Oct */
.guida .highlight .sa { color: #4070a0 } /* Literal.String.Affix */
.guida .highlight .sb { color: #4070a0 } /* Literal.String.Backtick */
.guida .highlight .sc { color: #4070a0 } /* Literal.String.Char */
.guida .highlight .dl { color: #4070a0 } /* Literal.String.Delimiter */
.guida .highlight .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
.guida .highlight .s2 { color: #4070a0 } /* Literal.String.Double */
.guida .highlight .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
.guida .highlight .sh { color: #4070a0 } /* Literal.String.Heredoc */
.guida .highlight .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
.guida .highlight .sx { color: #c65d09 } /* Literal.String.Other */
.guida .highlight .sr { color: #235388 } /* Literal.String.Regex */
.guida .highlight .s1 { color: #4070a0 } /* Literal.String.Single */
.guida .highlight .ss { color: #517918 } /* Literal.String.Symbol */
.guida .highlight .bp { color: #007020 } /* Name.Builtin.Pseudo */
.guida .highlight .fm { color: #06287e } /* Name.Function.Magic */
.guida .highlight .vc { color: #bb60d5 } /* Name.Variable.Class */
.guida .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
.guida .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
.guida .highlight .vm { color: #bb60d5 } /* Name.Variable.Magic */
.guida .highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */
