/* Mobile agenda stays visible regardless of the underlying page scroll. */
.ys-gundem-close{display:none}
@media(max-width:760px){
 html.ys-gundem-lock,.ys-body.is-gundem-open{overflow:hidden!important}
 .ys-body.is-gundem-open .ys-sidebar{position:fixed!important;top:0!important;bottom:0!important;left:0!important;right:0!important;z-index:90;height:100dvh!important;max-height:100dvh!important;min-height:0!important;margin:0!important;padding:16px 16px calc(24px + env(safe-area-inset-bottom));background:#faf9f6;border:0;overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .ys-gundem-close{display:inline-block;min-height:44px;padding:8px 12px;background:transparent;border:1px solid #e2e2dd;color:#242628;font:inherit}
 .ys-sidebar-heading{gap:12px;align-items:center}
 .ys-sidebar-heading>a{margin-left:auto}
}
/* restrained desktop identity — typography and structure, no decorative surfaces */
@media(min-width:761px){
 body.ys-body{background:#fff!important;color:#202020!important;--ys-link:#303030;--ys-muted:#777;--ys-line:#ececec}
 .ys-topbar{border-top:0;border-bottom:1px solid #e9e9e9;background:#fff}
 .ys-top-inner{max-width:1200px;min-height:78px;padding:16px 24px;gap:42px}
 .ys-brand{font-size:25px;font-weight:700;min-width:245px;gap:11px;color:#1e1e1e!important}.ys-brand img{width:36px;height:42px}.ys-brand small{font-size:11px;font-weight:400;color:#777;margin-top:5px}
 .ys-search{width:440px;max-width:440px;background:#fff;border:1px solid #d8d8d8;border-radius:3px;box-shadow:none}.ys-search input{font-size:14px!important;height:40px}.ys-search button{color:#555}
 .ys-account{font-size:13px;gap:20px}.ys-account a{color:#555}.ys-account-menu summary{font-size:13px;padding:8px 0}.ys-account-menu>div{border-color:#dedede;border-radius:3px;background:#fff}
 .ys-top-nav{max-width:1200px;min-height:38px;padding:0 24px 10px;gap:26px;font-size:13px}.ys-top-nav a{color:#666;padding:0;border:0;background:transparent;border-radius:0}.ys-top-nav a:hover{color:#111;text-decoration:underline;text-decoration-color:#ddb735;text-underline-offset:6px}
 .ys-shell{max-width:1200px;padding:32px 24px 45px;grid-template-columns:minmax(0,760px) 260px;gap:64px}
 .ys-main{grid-column:1;grid-row:1;padding:0;border:0;background:#fff;border-radius:0}
 .ys-sidebar{grid-column:2;grid-row:1;position:sticky;top:146px;max-height:calc(100dvh - 170px);padding:0 0 0 25px;border-left:1px solid #ececec;scrollbar-width:thin;scrollbar-color:#ddd transparent}
 .ys-sidebar-heading{padding:0;margin-bottom:17px;gap:8px}.ys-sidebar-heading h2{font-size:16px;font-weight:600;color:#333}.ys-sidebar-heading>a{font-size:11px;color:#777}
 .ys-trending>a{padding:10px 0;border:0;border-radius:0;color:#555;font-size:14px;line-height:1.45}.ys-trending>a:hover{background:transparent;color:#111;text-decoration:underline;text-underline-offset:3px}.ys-trending>a[aria-current]{background:#f5f1e6;padding-left:10px;border-left:2px solid #ddb735;color:#242424}
 .ys-trending small{font-size:11px;color:#777;background:none;border:0;border-radius:0;min-width:0;height:auto}
 .ys-new-topic{margin:21px 0 14px;background:transparent;border:1px solid #ddd;color:#444!important;font-size:13px;font-weight:500;border-radius:3px;padding:9px}.ys-new-topic:hover{background:#fafafa}
 .ys-side-tools{margin:0;border-top:1px solid #ededed;padding-top:10px}.ys-side-tools a{font-size:12px;padding:7px 0;color:#777}
 .ys-heading-row{margin-bottom:18px}.ys-heading-row h1{font-size:23px;font-weight:500;color:#262626}.ys-heading-row>.ys-button{font-size:12px;min-height:33px;padding:7px 12px;border:0;border-radius:3px;background:#ddb735;color:#302b1e!important;font-weight:500}
 .ys-tabs{border-bottom:1px solid #ededed;margin:0 0 4px;gap:22px;font-size:13px}.ys-tabs a{padding:8px 0;border:0;border-bottom:2px solid transparent;background:transparent;border-radius:0;margin-bottom:-1px;font-size:13px;color:#777;font-weight:400}.ys-tabs a[aria-current]{border-bottom-color:#ddb735;background:transparent;color:#303030;font-weight:500}
 .ys-entry{border-bottom:1px solid #efefef;background:transparent;border-radius:0;padding:27px 0 28px;margin:0;box-shadow:none;scroll-margin-top:140px}
 .ys-entry h2{font-size:22px;font-weight:500;color:#222;margin:0 0 14px;letter-spacing:0;line-height:1.4}.ys-entry h2 a{color:#222}.ys-entry h2 a:hover{color:#222;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#ddb735}
 .ys-entry-text{font-size:16px!important;line-height:1.75!important;color:#343434}.ys-entry-text p{margin:0 0 14px}.ys-entry-text p:last-child{margin-bottom:0}
 .ys-entry-footer{margin-top:18px;align-items:center;gap:16px}.ys-actions{gap:6px}.ys-actions>button,.ys-entry-menu>summary{border:0;background:transparent;border-radius:0;color:#777;padding:5px;min-width:32px;min-height:32px;font-size:18px}.ys-actions>button:hover,.ys-entry-menu>summary:hover{background:#fafafa;color:#555}.ys-actions>button[aria-pressed=true]{background:transparent;color:#a47e12}.ys-actions>button:disabled{background:none;color:#ccc}
 .ys-entry-menu>summary{font-size:13px}.ys-entry-menu>div{border-color:#ddd;border-radius:3px;background:#fff;box-shadow:0 4px 16px #0001}.ys-actions [data-fav-count]{font-size:12px;color:inherit}
 .ys-signature{font-size:12px}.ys-signature>a:first-child{color:#666;font-weight:500}.ys-date{font-size:11px;color:#777!important}.ys-footer{border-color:#efefef;padding-top:22px;margin-top:30px;font-size:12px;gap:22px}.ys-footer a{color:#777}
 .ys-topic-head h1{font-size:28px;font-weight:500;line-height:1.4;color:#242424}.ys-topic-meta{font-size:12px;gap:19px;color:#777}.ys-topic-meta button,.ys-topic-meta a{color:#777;font-size:12px}.ys-focus-note{font-size:13px}
 .ys-page-title{font-size:26px!important;font-weight:500!important}.ys-document{line-height:1.75;font-size:16px;color:#444}.ys-document h2{font-size:20px;font-weight:500;color:#333}
 .ys-compose{border-top:2px solid #ddb735;border-radius:0;background:#fff}.ys-compose h2{font-size:20px;font-weight:500}.ys-compose input,.ys-compose textarea,.ys-compose select{border-color:#ddd!important;border-radius:3px!important}.ys-editor-tools button{border-color:#e7e7e7;background:#fafafa;border-radius:2px;color:#777}
 .ys-topic-list>a{border-color:#efefef;padding:16px 0;color:#333;font-size:17px}.ys-topic-list small{font-size:12px;color:#777}
 .ys-profile{border:0;background:transparent;border-bottom:1px solid #eee;border-radius:0;padding:0 0 20px}.ys-profile>span{color:#777;font-size:12px}
}
@media(min-width:761px) and (max-width:1050px){.ys-shell{grid-template-columns:minmax(0,1fr) 210px;gap:30px;padding:28px 22px}.ys-top-inner{gap:24px;padding:14px 22px}.ys-brand{min-width:215px;font-size:23px}.ys-search{max-width:360px;min-width:0}.ys-top-nav{padding:0 22px 10px;gap:23px}.ys-sidebar{padding-left:20px}}

.ys-top-inner .ys-brand img{width:40px;height:40px;object-fit:contain}
@media(max-width:760px){.ys-top-inner .ys-brand img{width:32px;height:32px}}

/* crow identity: warm white reading surface, charcoal type, mustard accents */
html body.ys-body{background:#faf9f6!important;color:#242628!important;--ys-accent:#ddb735;--ys-link:#343638;--ys-muted:#686b6d;--ys-line:#e2e2dd;--ya-accent:#ddb735;--ya-accent-strong:#665315}
.ys-topbar{background:#faf9f6;border-bottom-color:#e2e2dd}
.ys-main{background:#faf9f6}.ys-entry-text{color:#343638}.ys-brand{color:#242628!important}
.ys-top-inner .ys-brand img{width:44px;height:44px}.ys-brand small{color:#686b6d}
.ys-heading-row>.ys-button,.ys-compose .ys-button{background:#ddb735;color:#242628!important}
.ys-heading-row>.ys-button:hover,.ys-compose .ys-button:hover{background:#cba52c}
.ys-entry h2 a,.ys-heading-row h1,.ys-topic-head h1{color:#242628}
.ys-search{border-color:#c9cac5}.ys-search:focus-within{border-color:#7b6a32;box-shadow:0 0 0 2px #ddb73533}
@media(max-width:760px){.ys-top-inner .ys-brand img{width:36px;height:36px}.ys-brand small{max-width:245px;font-size:10px}}

/* Wider desktop agenda, preserving the entry reading column. */
@media(min-width:1200px){.ys-shell{max-width:1280px;grid-template-columns:minmax(0,760px) 340px;gap:64px}.ys-top-inner,.ys-top-nav{max-width:1280px}.ys-sidebar{padding-right:8px}}

/* Final reading and keyboard adjustments. */
.ys-entry-menu>div{left:auto;right:0}
.ys-body a:focus-visible,.ys-body button:focus-visible,.ys-body summary:focus-visible,.ys-body select:focus-visible{outline:2px solid #7b6a32;outline-offset:3px}
html body.ys-body .ya-account-layout .ya-account-head h1{font-size:22px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:0!important}
@media(max-width:360px){.ys-entry-footer{flex-wrap:wrap}.ys-signature{margin-left:auto;max-width:100%}.ys-brand span{min-width:0}.ys-brand small{max-width:150px}}

html body.ys-body .ya-ui-toast-stack{min-width:0!important;width:min(360px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;left:auto!important;right:12px!important;box-sizing:border-box}

