/* Makindo R33 — shared visual language; Book and Topics content remain independent. */
body.mk-topics-r33 {background:var(--paper,#f5f8fa);}
.mk-topics-r33 .mk-section-switcher .mk-switch-inner {max-width:1900px;}
.mk-topics-r33 .sitehead {position:relative;top:auto!important;background:#fff;border-bottom:1px solid #d7e2e7;}
.mk-topics-r33 .sitehead .head-inner {max-width:1900px;margin:auto;display:flex;gap:12px;align-items:center;padding:12px clamp(16px,2vw,30px);}
.mk-topics-r33 .sitehead .head-inner .brand {font-weight:800;font-size:1.05rem;text-decoration:none;color:#193d4d;min-width:0;}
.mk-topics-r33 .sitehead .head-inner .brand small {display:block;font:500 .77rem/1.5 system-ui;color:#587078;letter-spacing:0;}
.mk-topics-r33 .mk-topics-header-meta{margin-left:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.mk-topics-r33 .mk-topics-header-meta a{background:#edf7f5;border:1px solid #bddbd5;border-radius:7px;color:#145c60;text-decoration:none;padding:7px 10px;font:700 12px system-ui;}
.mk-topics-r33 .mk-safety-strip{max-width:none;font-size:12px;line-height:1.5;padding:8px clamp(16px,2vw,30px);background:#eaf3f2;color:#204851;border-top:1px solid #d8e9e6;}
.mk-topics-r33 .mk-safety-strip a{color:#115865;}
.mk-topics-r33 .rf-topbar{max-width:1900px;margin:auto;padding:10px clamp(16px,2vw,30px);border:0;display:flex;background:transparent;}
.mk-topics-r33 .rf-topbar>span{font:500 13px system-ui;color:#41616c;}
.mk-topics-r33 .rf-topbar>span strong{font-weight:750;color:#17434f;}
.mk-topics-r33 .rf-layout{max-width:1900px;grid-template-columns:286px minmax(0,1fr);gap:20px;padding:0 clamp(12px,1.7vw,30px) 70px;align-items:start;}
.mk-topics-r33 .rf-layout>main.bd-wrap{max-width:1100px;width:100%;padding:12px 0 50px;margin:0;}
.mk-topics-r33 .rf-side{position:sticky;top:54px;height:calc(100vh - 70px);padding:12px 0 8px;min-height:260px;}
.mk-topics-r33 .rf-side h2{color:#163d4a;font-size:15px;}
.mk-topics-r33 .rf-topics{box-shadow:0 3px 12px #243e4b0d;border-radius:8px;background:#fff;}
.mk-topics-r33 .rf-topics a{line-height:1.4;padding:7px 10px;border-bottom:1px solid #eef3f5;font-size:13px;}
.mk-topics-r33 .rf-topics a:hover{background:#e9f5f3;}
.mk-topics-r33 .rf-head{border:1px solid #d6e3e5;padding:22px clamp(18px,2.5vw,34px) 14px;background:#fff;border-radius:9px;margin-bottom:12px;box-shadow:0 3px 14px #102b4010;}
.mk-topics-r33 .rf-head h1{font:700 clamp(1.6rem,2.4vw,2.25rem)/1.25 Georgia,'Times New Roman',serif;letter-spacing:-.018em;color:#183e4a;}
.mk-topics-r33 .rf-content{font-size:clamp(15px,1.08vw,17px);line-height:1.66;padding:clamp(18px,3.3vw,44px);border-color:#d9e4e8;box-shadow:0 3px 16px #102b4010;}
.mk-topics-r33 .rf-content :is(h2,h3,h4,h5,h6){color:#1b5260;scroll-margin-top:75px;}
.mk-topics-r33 .rf-content h2{border-bottom:1px solid #dce9ed;padding-bottom:.35em;}
.mk-topics-r33 .rf-content :is(table,.makindo-table){display:table;width:100%;border-collapse:collapse;max-width:none;overflow:visible;margin:0;}
.mk-topics-r33 .rf-content .makindo-table-scroll{max-width:100%;overflow-x:auto;}
.mk-topics-r33 .rf-content table:not(.makindo-table){display:block;max-width:100%;overflow-x:auto;margin:14px 0;}
.mk-topics-r33 .rf-content :is(.makindo-table,table) th{background:#edf3f8;color:#21384e;}
.mk-topics-r33 .rf-content :is(.makindo-table,table) td,.mk-topics-r33 .rf-content :is(.makindo-table,table) th{padding:9px 12px;overflow-wrap:anywhere;}
.mk-topics-r33 .rf-content :is(.notebox,aside,.box){border-radius:7px;}
.mk-topics-r33 .rf-content img{max-width:100%;height:auto;}
.mk-topics-r33 .rf-actions .bd-btn{font-size:13px;}
.mk-topics-r33 .mk-footer{padding:20px;text-align:center;}
body.night.mk-topics-r33 .sitehead{background:#192c35;border-color:#3c5660;}
body.night.mk-topics-r33 .sitehead .brand,body.night.mk-topics-r33 .rf-side h2{color:#e1f3f3;}
body.night.mk-topics-r33 .mk-safety-strip{background:#29434a;color:#d9eeee;border-color:#47626a;}
body.night.mk-topics-r33 .rf-head,body.night.mk-topics-r33 .rf-topics{background:var(--card);border-color:var(--line);}
body.night.mk-topics-r33 .rf-head h1,body.night.mk-topics-r33 .rf-content :is(h2,h3,h4,h5,h6){color:#c3e5e4;}
@media(max-width:1080px){
 .mk-topics-r33 .rf-layout{grid-template-columns:minmax(0,1fr);padding:0 12px 50px;}
 .mk-topics-r33 .rf-side{display:none;position:fixed;inset:0;z-index:80;height:auto;overflow:hidden;background:var(--paper,#fff);padding:20px 14px;}
 .mk-topics-r33 .rf-side.open{display:flex;}
 .mk-topics-r33 .rf-layout>main.bd-wrap{max-width:100%;}
 .mk-topics-r33 .rf-sidebtn{display:inline-block;}
}
@media(max-width:700px){.mk-topics-r33 .sitehead .head-inner{flex-wrap:wrap}.mk-topics-r33 .mk-topics-header-meta{margin-left:0}.mk-topics-r33 .rf-topbar{padding:10px 12px}.mk-topics-r33 .rf-head{padding:16px}.mk-topics-r33 .rf-content{padding:16px}.mk-topics-r33 .rf-topbar>span{min-width:0}}
@media print{.mk-topics-r33 .sitehead,.mk-topics-r33 .mk-section-switcher,.mk-topics-r33 .rf-topbar,.mk-topics-r33 .mk-footer{display:none!important}.mk-topics-r33 .rf-layout{display:block}.mk-topics-r33 .rf-head{box-shadow:none;border:0}.mk-topics-r33 .rf-content{box-shadow:none}}
