.theory-page{min-width:0}.theory-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff;margin-bottom:12px}.theory-overview>div{display:flex;flex-direction:column;gap:8px;padding:12px;border-right:1px solid var(--line)}.theory-overview>div:last-child{border:0}.theory-overview strong{font-size:30px;line-height:1.1;letter-spacing:-.05em}.theory-overview span{font-size:12px;color:var(--muted)}.theory-search{display:flex;gap:8px;align-items:end;flex-wrap:wrap;padding:12px!important}.theory-search label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:13px;font-weight:600}.theory-search label:first-child{flex:2 1 240px}.theory-search label:nth-child(2){flex:1 1 220px}.theory-search input,.theory-search select{width:100%;min-width:0}.theory-search-status{color:var(--muted);font-size:13px;margin:20px 0}.theory-chapters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.theory-chapter{min-width:0;display:flex;flex-direction:column}.theory-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.theory-card-number{font-size:38px;line-height:1;color:#a6bdae;letter-spacing:-.06em}.theory-chapter h2{font-size:25px;overflow-wrap:anywhere;hyphens:auto}.theory-chapter>p{color:var(--muted);line-height:1.75}.theory-chapter ul{list-style:none;padding:0;margin:12px 0;flex:1}.theory-chapter li+li{border-top:1px solid var(--line)}.theory-chapter li a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 0;line-height:1.5;font-size:13px}.theory-chapter li a span{color:var(--muted)}.theory-card-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;border-top:1px solid var(--line);padding-top:20px;font-size:12px}.theory-card-foot>span{color:var(--muted)}.theory-breadcrumb,.theory-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin-bottom:12px}.theory-breadcrumb .button{margin-left:auto}.theory-meta{margin-top:-8px;margin-bottom:12px}.theory-reading-layout{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:8px;align-items:start}.theory-toc{position:sticky;top:96px;padding:12px!important}.theory-toc h2{font-size:17px;margin-bottom:18px}.theory-toc nav{display:flex;flex-direction:column;margin-bottom:12px}.theory-toc nav a{display:flex;gap:8px;padding:10px 0;line-height:1.5;font-size:12px;border-bottom:1px solid var(--line)}.theory-toc nav a span{color:var(--muted);flex-shrink:0}.theory-toc nav a[aria-current]{color:var(--green);font-weight:700}.theory-toc .button{font-size:12px;white-space:normal}.theory-sections{min-width:0}.theory-section{scroll-margin-top:12px;margin-bottom:12px;overflow-wrap:anywhere}.theory-section:target,.theory-section:focus{outline:2px solid var(--uui-amber);outline-offset:3px}.theory-section-number{display:block;font-size:11px;font-weight:600;letter-spacing:.15em;color:var(--muted);margin-bottom:18px}.theory-section h2{font-size:25px;line-height:1.35;hyphens:auto}.theory-section>p,.theory-inline-section>p{font-size:15px;line-height:1.85;margin-top:18px}.theory-keypoints,.theory-pitfalls{padding:18px 20px;border-radius:7px;margin-top:12px}.theory-keypoints{background:var(--green-soft);border-left:3px solid var(--green)}.theory-pitfalls{background:#fff2ec;border-left:3px solid var(--uui-amber)}.theory-keypoints h3,.theory-pitfalls h3,.theory-keypoints h4,.theory-pitfalls h4{font-size:14px;letter-spacing:0}.theory-keypoints ul,.theory-pitfalls ul{padding-left:20px;margin:10px 0 0}.theory-keypoints li,.theory-pitfalls li{font-size:13px;line-height:1.75;margin:7px 0}.theory-sources{margin-top:12px}.theory-sources a{display:flex;flex-direction:column;gap:5px;font-size:12px;overflow-wrap:anywhere}.theory-sources a small{color:var(--muted)}.theory-related{border-top:1px solid var(--line);padding-top:18px;margin-top:12px;font-size:13px}.theory-related summary{cursor:pointer;font-weight:600}.theory-related ul{padding-left:18px}.theory-related li{margin:12px 0;line-height:1.65}.theory-edition{font-size:11px;line-height:1.7;color:var(--muted);margin:12px 0}.theory-next{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:12px 0}.theory-next .button{white-space:normal}.theory-linked{border:1px solid #a6bdae;border-radius:7px;background:var(--uui-bg);margin:12px 0;overflow:hidden}.theory-linked>summary{padding:18px 20px;cursor:pointer;font-weight:650;line-height:1.5;color:var(--uui-green)}.theory-linked>summary span{margin-left:5px}.theory-linked>summary small{display:block;color:var(--muted);font-weight:400;margin:5px 0 0 20px;font-size:12px}.theory-inline-body{padding:2px 12px 12px;background:white;border-top:1px solid var(--uui-line)}.theory-inline-section{padding:12px 0}.theory-inline-section+.theory-inline-section{border-top:1px solid var(--line)}.theory-inline-section>h3{font-size:20px;line-height:1.4}.theory-inline-body .button{white-space:normal}.feedback .theory-inline-body,.feedback .theory-inline-body p{color:var(--ink)}.theory-inline-body .theory-edition{margin-bottom:0}.theory-home-link{background:var(--uui-soft)!important;border-color:var(--uui-line)!important}.mobile-nav{overflow-x:auto}.mobile-nav a{flex:1 0 62px;min-width:0}
@media(min-width:701px){#nav{gap:3px}#nav a{padding-top:11px;padding-bottom:11px}.sidebar-bottom p{display:none}}
@media(max-width:1100px){.theory-reading-layout{grid-template-columns:minmax(0,1fr)}.theory-toc{position:static}.theory-toc nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 8px}.theory-toc .button{width:auto}.theory-overview>div{padding:20px}}
@media(max-width:650px){.theory-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.theory-overview>div{padding:20px}.theory-overview>div:nth-child(2){border-right:0}.theory-overview>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.theory-overview strong{font-size:26px}.theory-chapters{grid-template-columns:1fr}.theory-chapter h2{font-size:23px}.theory-toc nav{grid-template-columns:1fr}.theory-breadcrumb .button{margin-left:0;width:100%}.theory-section h2{font-size:23px}.theory-inline-body{padding:0 16px 18px}.theory-linked>summary{padding:16px}.theory-keypoints,.theory-pitfalls{padding:16px}.theory-card-foot{align-items:start;flex-wrap:wrap}.theory-search .button{width:100%}.theory-search label{flex-basis:100%!important}.theory-next .button{width:100%;text-align:left}.theory-section{scroll-margin-top:12px}}
@media print{.sidebar,.topbar,.mobile-nav,footer,.theory-toc,.theory-breadcrumb,.theory-next,.theory-related,.theory-search,.theory-home-link{display:none!important}.shell{margin:0!important}.theory-reading-layout{display:block}.theory-section{border:0;box-shadow:none;break-inside:avoid;padding:12px 0!important}.theory-section p{font-size:11pt}.theory-chapters{display:block}.theory-chapter{break-inside:avoid}.theory-linked[open]{border:0}body{background:white}}

.theory-additional-chapter{display:block;margin-top:16px;font-size:13px}
.theory-example{margin:12px 0 8px;padding:12px;border:1px solid #a6bdae;border-radius:7px;background:var(--uui-bg);overflow-wrap:anywhere}.theory-example .theory-example-label{font-size:11px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:var(--uui-muted);margin:0 0 12px}.theory-example h3,.theory-example h4{font-size:18px;line-height:1.45;letter-spacing:-.02em}.theory-example-scenario{margin-top:20px}.theory-example-scenario>b,.theory-example-step-label,.theory-example-conclusion>b{font-size:12px;font-weight:700;color:var(--uui-muted)}.theory-example-scenario p,.theory-example-conclusion p{font-size:14px;line-height:1.8;margin-top:6px}.theory-example-step-label{display:block;margin-top:20px}.theory-example ol{padding-left:23px;margin:10px 0 0}.theory-example li{font-size:14px;line-height:1.8;padding-left:4px;margin:12px 0}.theory-example li::marker{font-weight:750;color:var(--uui-muted)}.theory-example-conclusion{padding:16px 18px;border-radius:7px;background:var(--uui-soft);margin-top:20px}.theory-search .theory-example-filter{display:flex;flex-direction:row;align-items:center;gap:8px;flex:1 0 100%;order:3;font-size:12px;font-weight:500}.theory-example-filter input{width:18px;min-height:18px;height:18px;flex-shrink:0}.theory-inline-section .theory-example{margin-top:12px}.feedback .theory-example-label{color:var(--uui-muted)}
@media(max-width:650px){.theory-example{padding:16px}.theory-example h3,.theory-example h4{font-size:17px}.theory-example-conclusion{padding:14px}.theory-example ol{padding-left:20px}.theory-search .theory-example-filter{order:0}}
@media print{.theory-example{break-inside:avoid;background:white;border-color:var(--uui-muted)}.theory-example-label{color:var(--uui-ink)!important}}
@media(min-width:1101px){.theory-toc{max-height:calc(100vh - 118px);overflow:auto;scrollbar-width:thin}}
