/* Directory counterpart of the accounting tools sidebar and card layout. */
.study-nav{--sn-canvas:#f6f7fc;--sn-ink:#263445;--sn-muted:#657b98;--sn-line:#e0e7f2;--sn-blue:#3274ff;color:var(--sn-ink);font:14px/1.6 "PingFang SC","Microsoft YaHei",sans-serif;padding:4px 0 24px}
.study-nav *{box-sizing:border-box}
.study-nav [hidden]{display:none!important}
.study-nav button,.study-nav input{font:inherit}
.study-nav button{cursor:pointer;touch-action:manipulation}
.study-nav button:focus-visible,.study-nav a:focus-visible{outline:2px solid #3974ff;outline-offset:3px}
.study-nav .sn-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start}
.study-nav .sn-sidebar{position:sticky;top:88px;max-height:calc(100vh - 108px);max-height:calc(100dvh - 108px);overflow:auto;overscroll-behavior:contain;padding:12px 8px;border:0;border-radius:12px;background:#fff;box-shadow:none;scrollbar-width:thin;scrollbar-color:#c9d3e1 transparent}
.study-nav .sn-menu-heading{margin:10px 9px 3px;color:#98a6b9;font-size:10px;font-weight:500;line-height:1.6}
.study-nav .sn-nav-icon{display:grid;place-items:center;flex:none;width:17px;height:18px;color:#7d97b9}
.study-nav .sn-nav-icon svg{width:17px;height:17px}
.study-nav .sn-category.is-active .sn-nav-icon{color:#fff}
.study-nav .sn-sidebar::-webkit-scrollbar{width:5px}
.study-nav .sn-sidebar::-webkit-scrollbar-thumb{background:#c9d3e1;border-radius:6px}
.study-nav .sn-sidebar-top{position:sticky;top:-12px;z-index:3;padding:0 0 12px;background:#fff;border-bottom:0;margin-bottom:4px}
.study-nav .sn-shortcuts{display:flex;justify-content:space-between;align-items:center;gap:4px;min-height:38px;padding:0;margin-bottom:10px}
.study-nav .sn-all{display:flex;align-items:center;gap:8px;flex:1;min-width:0;min-height:40px;padding:9px 10px;border:0;border-radius:7px;background:#f5f8fd;color:#465d7b;text-align:left;font-size:14px;font-weight:500;line-height:1.5}
.study-nav .sn-all.is-active{background:#3274ff;color:#fff;box-shadow:0 3px 8px #3274ff20}
.study-nav .sn-all svg{width:16px;height:16px}
.study-nav .sn-sidebar-close{display:none;border:0;background:none;font-size:23px;line-height:1;min-width:30px;min-height:30px;color:#65788f}
.study-nav .sn-search{display:flex;align-items:center;gap:7px;min-height:38px;margin:0 2px;padding:0 10px;border:1px solid #b9c9df;border-radius:7px;background:#fff;font-weight:400;transition:border-color .15s,box-shadow .15s}
.study-nav .sn-search:hover{border-color:#8ea8cc}
.study-nav .sn-search:focus-within{border-color:#3274ff;box-shadow:0 0 0 3px #3274ff14}
.study-nav .sn-search>svg{width:15px;height:15px;flex:none;color:#8197b4}
.study-nav .sn-search input{width:100%;min-width:0;background:transparent;border:0!important;outline:0;padding:8px 0;font-size:13px;color:#304862;line-height:1.5;box-shadow:none}
.study-nav .sn-search input::-webkit-search-cancel-button{display:none}
.study-nav .sn-clear{border:0;background:none;padding:0;color:#647b96;font-size:19px;line-height:1;min-width:20px;min-height:28px;flex:none}
.study-nav .sn-menu{display:flex;flex-direction:column;gap:4px}
.study-nav .sn-category{position:relative;display:flex;align-items:center;gap:8px;width:100%;min-height:42px;padding:10px 9px;border:0;border-radius:7px;background:none;color:#465d7b;text-align:left;font-size:14px;font-weight:500;line-height:1.5;transition:background .15s,color .15s}
.study-nav .sn-category-label,.study-nav .sn-all-label{flex:1;min-width:0;white-space:nowrap}
.study-nav .sn-side-count{min-width:22px;padding:1px 5px;border-radius:5px;background:#f0f4fa;color:#7c8fa9;text-align:center;font-size:10px;font-weight:400;line-height:16px;font-variant-numeric:tabular-nums}
.study-nav .sn-category:hover{background:#f1f5fc;color:#2869e8}
.study-nav .sn-category.is-active{background:#3274ff;color:#fff;font-weight:600;box-shadow:0 3px 8px #3274ff20}
.study-nav .sn-category.is-active .sn-side-count,.study-nav .sn-all.is-active .sn-side-count{background:#ffffff28;color:#fff}
.study-nav .sn-main{min-width:0}
.study-nav .sn-toolbar{display:none}
.study-nav .sn-sidebar-toggle,.study-nav .sn-reset{border:0;background:#fff;border-radius:7px;padding:6px 11px;color:#597393;font-size:13px;line-height:1.6}
.study-nav .sn-sidebar-toggle{display:none}
.study-nav .sn-region-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 18px;padding:12px 16px;margin:0 0 24px;border:0;border-radius:9px;background:#fff}
.study-nav .sn-region-bar label{display:flex;align-items:center;gap:12px;margin:0;font-weight:400}
.study-nav .sn-region-label{display:flex;align-items:center;gap:6px;color:#476080;font-size:13px;font-weight:500;white-space:nowrap}
.study-nav .sn-region-label svg{width:16px;height:16px;color:#6b8ab4}
.study-nav .sn-region-bar select{max-width:180px;min-width:145px;height:34px;padding:5px 10px;border:0;border-radius:6px;outline:0;background:#f4f7fc;color:#29486f;font-size:13px;cursor:pointer}
.study-nav .sn-region-bar select:focus-visible{outline:2px solid #7ea8ff;outline-offset:2px}
.study-nav .sn-region-bar p{margin:0;color:#8b9bb0;font-size:12px;line-height:1.7;flex:1}
.study-nav #snRegionReset{border:0;background:transparent;padding:4px;color:#3274ff;font-size:12px;white-space:nowrap}
.study-nav .sn-section{margin:0 0 27px}
.study-nav .sn-section>h2{margin:0 0 12px;padding:0;font-size:15px;line-height:1.6;font-weight:500;color:#263445}
.study-nav .sn-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.study-nav .sn-card{position:relative;display:flex;min-width:0;background:#fff;border:0;border-radius:10px;transition:background .16s,box-shadow .16s}
.study-nav .sn-card:hover{background:#fff;box-shadow:0 6px 18px rgba(35,78,142,.06)}
.study-nav a.sn-card-link{width:100%;display:grid;grid-template-columns:36px minmax(0,1fr);align-content:start;align-items:center;gap:12px 10px;min-height:144px;padding:30px 16px 18px;color:inherit;text-decoration:none}
.study-nav .sn-icon{position:relative;display:flex;align-items:center;justify-content:center;flex:none;width:36px;height:36px;border-radius:8px}
.study-nav .sn-icon svg{width:18px;height:18px}
.study-nav .sn-icon-fallback{font-size:22px;font-weight:700;line-height:1}
.study-nav .sn-site-icon{position:absolute;inset:0;width:100%;height:100%;padding:1px;border-radius:6px;object-fit:contain;background:#fff}
.study-nav .sn-has-icon{background:transparent}
.study-nav .sn-has-icon .sn-icon-fallback{visibility:hidden}
.study-nav .sn-color-blue{color:#4087fc;background:#edf4ff}
.study-nav .sn-color-indigo{color:#8f73df;background:#f2eeff}
.study-nav .sn-color-cyan{color:#3399b7;background:#eaf7fb}
.study-nav .sn-color-green{color:#42a581;background:#eaf8f0}
.study-nav .sn-color-teal{color:#26968d;background:#e8f6f3}
.study-nav .sn-color-orange{color:#cb963b;background:#fff6e5}
.study-nav .sn-color-purple{color:#a076d4;background:#f4edfc}
.study-nav .sn-card-name{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;padding:0;font-size:15px;font-weight:500;line-height:1.6;color:#263445;overflow-wrap:anywhere}
.study-nav a.sn-card-link:hover .sn-card-name{color:var(--sn-blue)}
.study-nav .sn-card-desc{grid-column:1/-1;min-height:48px;font-size:13px;line-height:1.85;color:#657b98;overflow-wrap:anywhere}
.study-nav .sn-favorite{position:absolute;top:2px;right:2px;display:grid;place-items:center;width:28px;height:28px;border:0;background:transparent;color:#8ba2c1;font-size:16px;line-height:1;padding:0}
.study-nav .sn-favorite[aria-pressed=true]{color:#b5903d}
.study-nav .sn-favorite:hover{color:#b5903d}
.study-nav .sn-custom-items{display:contents}
.study-nav .sn-custom-card .sn-card-link{padding-bottom:44px}
.study-nav .sn-custom-actions{position:absolute;bottom:10px;right:12px;display:flex;gap:10px}
.study-nav .sn-custom-actions button{border:0;background:transparent;padding:3px 2px;font-size:12px;line-height:1.5;color:#758ba6}
.study-nav .sn-custom-actions button:hover{color:var(--sn-blue)}
.study-nav .sn-custom-actions .js-myurl-del:hover{color:#bf5650}
.study-nav .sn-add-card{order:1;display:flex;min-width:0;min-height:138px;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:0;border-radius:10px;background:#fff;color:#7186a1;font-size:14px}
.study-nav .sn-add-card:hover{background:#fff;color:var(--sn-blue)}
.study-nav .sn-add-symbol{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#eaf1ff;color:#5688e0;font-size:24px;font-weight:300;line-height:1}
.study-nav .sn-empty{text-align:center;padding:48px 20px;border:0;border-radius:10px;background:#fff}
.study-nav .sn-empty strong{font-size:17px;font-weight:500;color:#465c75}
.study-nav .sn-empty p{margin:10px 0 20px;font-size:13px;line-height:1.8;color:#8190a3}
.study-nav .sn-backdrop{position:fixed;inset:0;background:#142a4259;z-index:10999}
.study-nav .sn-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Keep the existing site header/banner/tabs and give this workspace the tool page canvas. */
.sn-page.kz-content.ttl-page{background:#f6f7fc}
.sn-page .container.min-height-wrap{width:1300px;max-width:calc(100% - 32px);padding:0}
.sn-page .ttl-tabs{max-width:1300px;margin-left:auto;margin-right:auto}
.sn-page .ttl-nav-panel{padding-top:24px}
@media(min-width:1151px) and (max-width:1250px){.study-nav .sn-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:801px) and (max-width:1150px){.study-nav .sn-layout{grid-template-columns:220px minmax(0,1fr);gap:24px}.study-nav .sn-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.study-nav a.sn-card-link{padding:30px 16px 18px}}
@media(min-width:801px) and (max-width:960px){.study-nav .sn-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
    body.sn-drawer-open{overflow:hidden}
    .study-nav .sn-layout{display:block}
    .study-nav .sn-sidebar{display:none;position:fixed;top:16px;bottom:16px;left:16px;width:calc(100% - 32px);max-width:360px;max-height:none;padding:8px 9px 12px;border:0;border-radius:12px;background:#fff;z-index:11000;box-shadow:0 12px 40px #142a4224;overflow:auto}
    .study-nav .sn-sidebar.is-visible{display:block}
    .study-nav .sn-sidebar-top{background:#fff;padding-top:2px}
    .study-nav .sn-sidebar-close{display:block}
    .study-nav .sn-sidebar-toggle{display:block;white-space:nowrap}
    .study-nav .sn-search{min-height:42px}
    .study-nav .sn-search input{font-size:16px}
    .study-nav .sn-category{font-size:14px;min-height:44px}
    .study-nav .sn-region-bar{gap:9px 12px;padding:12px}
    .study-nav .sn-region-bar label{flex:1;min-width:0;gap:8px}
    .study-nav .sn-region-bar select{min-width:120px;flex:1}
    .study-nav .sn-region-bar p{order:2;flex-basis:100%}
    .study-nav .sn-toolbar{display:flex;justify-content:flex-end;min-height:34px;margin-bottom:12px}
    .study-nav .sn-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
    .study-nav a.sn-card-link{padding:30px 17px 18px}
    .study-nav .sn-section>h2{font-size:15px}
    #mNavPanel{background:#f6f7fc;padding-top:20px}
    body.sn-mobile-page .hero{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
    body.sn-mobile-page .site{background:#f6f7fc}
    .sn-page .container.min-height-wrap{padding:0 16px}
}
@media(max-width:520px){
    .study-nav .sn-grid{grid-template-columns:minmax(0,1fr)}
    .study-nav a.sn-card-link{padding:30px 18px 18px;min-height:124px}
    .study-nav .sn-card-name{font-size:16px}
    .study-nav .sn-card-desc{font-size:14px;min-height:0}
    .study-nav .sn-sidebar-toggle{padding:6px 9px;font-size:12px}
}
@media print{.study-nav .sn-sidebar,.study-nav .sn-toolbar,.study-nav .sn-favorite,.study-nav .sn-backdrop{display:none!important}.study-nav .sn-layout{display:block}}
