/* Juli V2 visual layer; no data or workflow changes. Remove stylesheet to revert. */
:root.juli-theme{--blue:#d52a25;--blue-light:#fff0ef;--ink:#222832;--muted:#75808e;--navy:#24272d;--line:#e9ecf0;--background:#f7f8fa;--red:#b42318;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-size:13px;-webkit-font-smoothing:antialiased}
.juli-theme body{background:var(--background);color:var(--ink)}
.juli-theme .management-layout{--ink:#222832;--muted:#75808e;--line:#e9ecf0;font-size:13px;background:#f7f8fa}
.juli-theme .sidebar{background:#fafbfc;color:#424b57;border-right:1px solid #e8ebef;width:224px;padding:24px 14px 18px}
.juli-theme .main-shell{margin-left:224px;width:calc(100% - 224px)}
.juli-theme .brand{padding:0 12px 22px;display:block;border-bottom:1px solid var(--line);margin-bottom:20px}
.juli-brand img{display:block;width:144px;height:auto;object-fit:contain}.juli-brand span{display:block;font-size:16px;font-weight:600;letter-spacing:1px;color:#424b57;margin-top:14px}
.juli-theme .workspace,.juli-theme .nav-label{display:none}
.juli-theme .nav{gap:5px}.juli-theme .nav-button{color:#505966;font-size:13px;font-weight:500;min-height:42px;padding:10px 13px;border-radius:8px}
.juli-theme .nav-button:hover,.juli-theme .nav-child:hover{background:#f0f2f5;color:#202630}
.juli-theme .nav-button.active,.juli-theme .nav-child.active{background:#ffefed;color:#bc2420;font-weight:600}
.juli-theme .nav-button.group-active{background:transparent;color:#272d36}
.juli-theme .nav-children{border-color:#e5e8ee;margin-left:21px;padding-left:10px;gap:3px}
.juli-theme .nav-child{color:#65707f;font-size:12px;padding:9px 11px;border-radius:7px;min-height:36px}
.juli-theme .sidebar-bottom{color:#8d95a0;font-size:10px;border-top:1px solid var(--line);padding:18px 12px 0}.juli-theme .sidebar-bottom small{color:#a1a7b0}
.juli-theme .topbar{height:60px;background:#ffffffeb;border-color:var(--line);padding:0 28px}.juli-theme .breadcrumb{font-size:12px}.juli-theme .breadcrumb b{color:#343c48}
.juli-theme .avatar{color:#bd2923;background:#fff0ee}.juli-theme .content{max-width:1680px;padding:28px 32px 40px}
.juli-theme .management-layout :is(.page-head,.page-heading) h1{font-size:23px;line-height:1.4;font-weight:600;letter-spacing:-.4px}
.juli-theme .management-layout :is(.page-head,.page-heading) p{font-size:12px;margin-top:7px;color:#7b8593;line-height:1.7}
.juli-theme .button{border-radius:7px;font-size:12px;min-height:35px;box-shadow:none;transition:background .15s,border-color .15s}
.juli-theme .button.primary{background:#d52a25;border-color:#d52a25;color:#fff;box-shadow:0 2px 4px #b52b2012}
.juli-theme .button.primary:hover{background:#bd2521;border-color:#bd2521}.juli-theme .button.secondary{color:#4d5765;border-color:#dfe3e9;background:#fff}
.juli-theme .button.ghost{color:#b52621}.juli-theme .button.ghost:hover{background:#fff1ef}.juli-theme .button:hover{border-color:#d5dbe3;background:#f9fafb}.juli-theme .button.danger{color:#b42318;border-color:#efc8c3}
.juli-theme :is(input,select,textarea){color:#343d49}.juli-theme :is(.input,.select,.search-input){border-color:#e1e5eb;background:white;border-radius:7px;font-size:12px}
.juli-theme :is(input,textarea,select,button,a):focus-visible{outline:2px solid #e8a4a0;outline-offset:3px}
.juli-theme .card{border-color:#e9ecf0;border-radius:12px;box-shadow:0 2px 8px #1d293905;margin-bottom:18px}
.juli-theme .card-head{padding:14px 18px;min-height:48px}.juli-theme .card-head h2{font-size:14px;font-weight:600}.juli-theme .card-body{padding:18px}
.juli-theme .management-layout .category-layout{grid-template-columns:260px minmax(0,1fr);gap:18px}
.juli-theme .category-panel{background:#fff;border-color:#e9ecf0;border-radius:12px;padding:12px;max-height:calc(100vh - 210px);overflow:auto}
.juli-theme .category-item{font-size:12px;min-height:36px;color:#667180;border-radius:7px}.juli-theme .category-item.selected{background:#fff0ee;color:#b52621}.juli-theme .category-count{background:#f1f3f6;color:#8c95a1;font-size:10px}.juli-theme .category-item.selected .category-count{background:#fbe3e0;color:#bd3029}
.juli-theme .management-layout [role=tablist].card{background:transparent;border-bottom:1px solid #e4e8ee;border-radius:0;box-shadow:none;padding:0;gap:24px;width:100%;margin-bottom:20px}
.juli-theme .management-layout [role=tablist] .button{border-radius:0;padding:10px 4px 12px;border-bottom:2px solid transparent;font-weight:500;box-shadow:none;color:#707a89}
.juli-theme .management-layout [role=tablist] [aria-selected=true]{background:transparent;border-bottom-color:#d52a25;color:#c12a24}
.juli-theme .tab-list{border-color:#e9ecf0}.juli-theme .tab.active{color:#bf2923;background:#fff1ef}
.juli-theme .badge{background:#f1f3f6;color:#6c7583;border-radius:5px;font-size:10px;padding:3px 6px;font-weight:500}.juli-theme .badge.success{background:#edf8f2;color:#21835b}.juli-theme .badge.warning{background:#fff6e6;color:#a36a1d}.juli-theme .badge.danger{background:#fff0ef;color:#b42318}
.juli-theme .management-layout .data-table th{background:#fafbfc;color:#8a929d;font-size:11px;font-weight:500;border-color:#eef0f3}.juli-theme .management-layout .data-table td{font-size:12px;padding:13px 16px;border-color:#eef0f3;color:#4a5564}.juli-theme .data-table tr:hover td{background:#fcfcfd}
.juli-theme .management-layout .k-list{padding:4px 22px}.juli-theme .management-layout .k-point{padding:22px 0;border-color:#edf0f3}
.juli-theme .management-layout .k-card-title h3{font-size:14px;font-weight:600;line-height:1.6;color:#29313d}.juli-theme .k-card-title .k-code{font-size:10px;order:2;flex-basis:100%;color:#9aa2ad}.juli-theme .k-card-title .badge{margin-left:auto}
.juli-theme .management-layout .k-summary{font-size:12px;line-height:1.8;margin:6px 0 10px;color:#697485;-webkit-line-clamp:1}
.k-document-icon{display:none}.juli-theme .k-document-icon{display:grid;place-items:center;flex:none;width:36px;height:40px;background:#fff1ef;border-radius:9px;color:#c52d26;font-size:24px;margin-top:2px}
.juli-theme .k-card-meta{font-size:11px;gap:6px 12px;color:#9199a5}.juli-theme .k-card-bottom{margin-top:10px;margin-left:76px}.juli-theme .k-card-bottom small{font-size:10px;color:#a0a7b0}
.juli-theme .k-toolbar{font-size:12px;color:#7b8593}.juli-theme .k-next-step{font-size:12px;color:#929aa6}
.juli-theme .knowledge-bank-detail>summary{font-size:13px;color:#3c4654}.juli-theme .knowledge-bank-detail .inline-note{font-size:11px;color:#8c95a1}.juli-theme .knowledge-bank-question p{font-size:13px;color:#3c4654;font-weight:400}.juli-theme .knowledge-bank-question{padding:12px 0;margin-bottom:8px}
.juli-theme .modal{border-radius:14px;box-shadow:0 24px 80px #1b24332b}.juli-theme .modal-header{padding:20px 24px;border-color:#edf0f3}.juli-theme .modal-header h2{font-size:18px;font-weight:600;color:#28313c}.juli-theme .modal-body{font-size:13px;line-height:1.75;padding:24px}.juli-theme .modal-footer{border-color:#edf0f3;background:#fcfcfd;padding:14px 24px}
.juli-theme .k-focus h2{font-size:20px;font-weight:600}.juli-theme .k-core{background:#fafbfc;border-left-color:#d52a25}.juli-theme .k-core>p{font-size:14px;color:#424c59}.juli-theme .k-review-guide{background:#faf5f4;color:#6d504a;font-size:13px}.juli-theme .k-review-evidence{background:#fafbfc;border-color:#e9ecf0}.juli-theme .k-review-editor .textarea{font-size:13px}.juli-theme .k-review-editor [data-k-field=conditions]{min-height:130px}
.juli-theme .question-title{font-size:17px;color:#303a47;line-height:1.7}.juli-theme .option{font-size:13px;color:#5f6b7b;border-color:#e6eaf0}.juli-theme .question-explanation,.juli-theme .source-card{background:#f8fafb;color:#667180;border-color:#e8ecf1;font-size:12px}
.juli-theme .bank-title,.juli-theme .document-link{color:#3b4654}.juli-theme .notice.info{background:#f4f6f9;color:#637082;border-color:#e2e7ee}.juli-theme .footer-note{color:#a4aab3;font-size:10px}
@media(max-width:1100px){.juli-theme .content{padding:24px}.juli-theme .management-layout .category-layout{grid-template-columns:230px minmax(0,1fr);gap:14px}}
@media(max-width:900px){.juli-theme .main-shell{margin-left:0;width:100%}.juli-theme .sidebar{width:224px}.juli-theme .content{padding:20px}.juli-theme .category-panel{max-height:300px}}
@media(max-width:700px){.juli-theme .management-layout .category-layout{grid-template-columns:1fr}.juli-theme .management-layout :is(.page-head,.page-heading) h1{font-size:21px}.juli-theme .k-card-bottom{margin-left:0}.juli-theme .k-document-icon{display:none}.juli-theme .category-panel{max-height:220px}}
.juli-theme .modal-head{padding:18px 24px;border-color:#edf0f3}.juli-theme .modal-head h2{font-size:18px;font-weight:600;color:#29313d}
.juli-theme .k-card-meta{color:#788392}.juli-theme .k-card-title .k-code{color:#85909f}.juli-theme .k-card-bottom small{color:#8993a1}
.juli-theme .login-page{background:#f7f8fa}.juli-theme .login-aside{background:#f3f4f6;color:#303744;border-right:1px solid #e5e8ec}.juli-theme .login-aside h1{color:#282e37;font-size:36px;line-height:1.5;font-weight:600}.juli-theme .login-aside p{color:#75808e}.juli-theme .login-aside .eyebrow{color:#b6332b}.juli-theme .login-brand .juli-brand img{width:210px}.juli-theme .login-features{color:#777f8b}.juli-theme .login-form h2{font-size:24px}.juli-theme .login-panel{background:white}
.juli-theme .management-layout [role=tablist].card .button{background:transparent}
.juli-theme .tidy-category>.category-item{padding:7px 5px;gap:5px;min-width:0}.juli-theme .tidy-category .category-label{white-space:normal;overflow:visible;display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.juli-theme .tidy-category .category-toggle{width:13px}.juli-theme .tidy-category .category-grip{width:10px;font-size:10px;flex:none;color:#b3bac4}.juli-theme .tidy-category .category-edit{width:18px;color:#9ba3ae}.juli-theme .tidy-category{padding-left:calc(var(--depth,0)*7px)}
.juli-theme .hero{background:#292f38;border-radius:12px;min-height:220px}.juli-theme .hero h2{font-size:23px;font-weight:600;line-height:1.6}.juli-theme .hero p{color:#b2bac5}.juli-theme .hero .eyebrow{color:#d3a39c}.juli-theme .hero .button{color:#333b46}.juli-theme .hero-art{opacity:.14}.juli-theme .stat-card{border-color:#e9ecf0;border-radius:12px;padding:18px 20px}.juli-theme .stat-label .icon{background:#fff0ed;color:#bf332b}.juli-theme .stat-value{font-size:30px;color:#303943}.juli-theme .tp-guide>div{background:#faf7f6;border-color:#ede7e5}.juli-theme .tp-requirements{background:#f7f8fa}.juli-theme .file-icon{background:#f9f1ef;color:#a65c4d;border-color:#f0dfda}
@media(max-width:700px){.juli-theme .management-layout [role=tablist].card{gap:4px;flex-wrap:nowrap}.juli-theme .management-layout [role=tablist] .button{font-size:11px;padding:9px 5px;white-space:nowrap}}

/* Compact review suggestions */
.juli-theme .k-notices{padding:14px 16px;min-width:0;max-height:460px;overflow:auto}
.juli-theme .k-notices>summary{font-size:13px;font-weight:600;cursor:pointer}
.juli-theme .k-notices>p{font-size:12px;margin:10px 0;color:#84909e;line-height:1.6}
.juli-theme .k-notice-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:start;gap:12px;padding:12px 0;border-top:1px solid #edf0f3;min-width:0}
.juli-theme .k-notice-row h3{font-size:12px;line-height:1.7;margin:0;color:#566274;font-weight:600}
.juli-theme .k-notice-row .button{min-height:30px;padding:5px 12px;margin:0}
.juli-theme .k-notice-reason{min-width:0}
.juli-theme .k-notice-reason>summary{display:flex;gap:10px;cursor:pointer;list-style:none;font-size:12px;font-weight:400;line-height:1.7;color:#536172}
.juli-theme .k-notice-reason>summary::-webkit-details-marker{display:none}
.juli-theme .k-notice-reason>summary span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-width:0;flex:1}
.juli-theme .k-notice-reason small{font-size:11px;color:#a43e38;white-space:nowrap}
.juli-theme .k-notice-reason[open] small{font-size:0}.juli-theme .k-notice-reason[open] small:after{content:'收起说明';font-size:11px}
.juli-theme .k-notice-reason[open]>summary span{-webkit-line-clamp:1;color:#8a929d}
.juli-theme .k-notice-reason>p{font-size:12px;line-height:1.8;overflow-wrap:anywhere;white-space:normal;margin:8px 0 0;color:#4f5d6e;background:#f8f9fb;padding:10px 12px;border-radius:6px}
.juli-theme .k-notice-row>p,.juli-theme .k-notice-row>.source-card{grid-column:2/-1;font-size:12px;margin:0;overflow-wrap:anywhere}
@media(max-width:700px){.juli-theme .k-notice-row{grid-template-columns:50px minmax(0,1fr) auto;gap:8px}.juli-theme .k-notice-reason>summary{display:block}}

/* Full-width issue headings and explicit operator guidance. */
.juli-theme .k-notice-issue{display:block;padding:14px 0;border-top:1px solid #edf0f3;min-width:0}
.juli-theme .k-notice-issue h3{font-size:13px;line-height:1.6;margin:0 0 8px;color:#3c4756;font-weight:600;overflow-wrap:anywhere}
.juli-theme .k-notice-issue>p{font-size:12px;line-height:1.8;margin:6px 0;color:#657183;overflow-wrap:anywhere}
.juli-theme .k-notice-issue .source-card{margin:10px 0;padding:12px 14px;font-size:12px}
.juli-theme .k-suggestion-detail{font-size:12px;line-height:1.8;padding:10px 12px;margin-top:8px;background:#f8f9fb;border-radius:6px;color:#536172;overflow-wrap:anywhere}
.juli-theme .k-suggestion-detail p{font-size:12px;line-height:1.8;margin:0 0 8px}.juli-theme .k-suggestion-detail p:last-child{margin-bottom:0}
.juli-theme progress{accent-color:#d52a25;background:#f4e7e6;color:#d52a25;border:0;border-radius:4px;height:5px;overflow:hidden}
.juli-theme progress::-webkit-progress-bar{background:#f4e7e6;border-radius:4px}
.juli-theme progress::-webkit-progress-value{background:#d52a25;border-radius:4px}
.juli-theme progress::-moz-progress-bar{background:#d52a25;border-radius:4px}

.juli-theme .generation-progress{background:#f4e7e6}.juli-theme .generation-progress>span{background:#d52a25}
.juli-theme .progress{background:#f4e7e6}.juli-theme .progress>i,.juli-theme .bar-fill{background:#d52a25}

.juli-theme .k-domain-panel .category-item{display:flex;align-items:center;gap:8px;min-width:0}.juli-theme .k-domain-name{flex:1;min-width:0;line-height:1.6}.juli-theme .k-domain-count{flex:none;white-space:nowrap;font-size:11px;line-height:1.5;padding:2px 6px;border-radius:5px;background:#f1f3f6;color:#788392}.juli-theme .category-item.selected .k-domain-count{background:#fbe3e0;color:#b52621}

/* Unformed suggestions show the actual material before the explanation. */
.juli-theme .k-unformed-item{padding:14px 0;border-top:1px solid #edf0f3;min-width:0;overflow-wrap:anywhere}
.juli-theme .k-unformed-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.juli-theme .k-unformed-heading strong{flex:1;min-width:160px;font-size:12px;line-height:1.6;color:#414c5b}
.juli-theme .k-unformed-heading .button{flex:none;margin:0;min-height:30px;padding:5px 10px}
.juli-theme .k-unformed-excerpt{font-size:13px;line-height:1.8;margin:10px 0;padding:8px 12px;background:#f8f9fb;border-left:3px solid #d52a25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.juli-theme .k-unformed-why{font-size:12px;line-height:1.7;margin:8px 0;color:#657183}
.juli-theme .k-unformed-evidence>summary{font-size:12px;color:#b52621;cursor:pointer}
.juli-theme .k-unformed-evidence p{font-size:12px;line-height:1.8;white-space:normal}
.juli-theme .k-unformed-evidence .source-card{padding:12px;margin:10px 0;min-width:0}

.juli-theme .k-task-workspace{min-width:0}
.juli-theme #k-task-host{margin-top:14px;min-width:0}
.juli-theme .k-task-progress{margin:12px 0;font-size:12px}
.juli-theme .k-issue-item{border-top:1px solid #edf0f3;padding:12px 0}
.juli-theme .k-issue-item>summary{display:flex;align-items:flex-start;gap:10px;cursor:pointer;font-size:13px;list-style:none}
.juli-theme .k-issue-item>summary::-webkit-details-marker{display:none}
.juli-theme .k-issue-item>summary strong{flex:1;min-width:0;font-weight:500;line-height:1.7;overflow-wrap:anywhere}
.juli-theme .k-item-number{display:inline-flex;align-items:center;justify-content:center;min-width:23px;height:23px;padding:0 5px;border-radius:5px;background:#fbe9e6;color:#b52621;font-size:12px;flex:none}
.juli-theme .k-issue-hint{color:#b52621;font-size:12px;white-space:nowrap;line-height:23px}
.juli-theme .k-issue-body{padding:10px 0 0 33px;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.juli-theme .k-issue-guide{background:#f8f9fb;border-radius:8px;padding:12px 16px;margin:12px 0}
.juli-theme .k-issue-guide h4{margin:0;font-size:13px}
.juli-theme .k-issue-guide ol{padding-left:18px;margin:8px 0}
.juli-theme .k-issue-guide li{margin:6px 0}
.juli-theme .k-issue-guide small{display:block;color:#84909e;margin-top:8px}

/* Knowledge workbench: selection and conversation remain separate. */
.juli-theme .kw-stepbar{display:flex;gap:20px;align-items:center;flex-wrap:wrap;border-bottom:1px solid #e6e9ed;padding:0 0 16px;margin-bottom:20px;color:#87919e;font-size:12px}
.juli-theme .kw-stepbar .active{color:#b52621;font-weight:600}.juli-theme .kw-stepbar small{margin-left:auto}
.juli-theme .kw-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.juli-theme .kw-main{padding:16px;min-width:0}.juli-theme .kw-chat{padding:18px;position:sticky;top:12px;min-width:0}
.juli-theme .kw-chat h3{font-size:15px;margin:0 0 14px}.juli-theme .kw-chat-log{max-height:380px;overflow:auto;font-size:12px;line-height:1.8}
.juli-theme .kw-chat-intro{background:#f7f8fa;border-radius:8px;padding:12px}.juli-theme .kw-chat-log .chat-message{margin:12px 0;padding:10px;border-radius:8px;white-space:normal;overflow-wrap:anywhere}.juli-theme .kw-chat-log .user{background:#fcf0ee}
.juli-theme .kw-chat-log p{margin:6px 0}.juli-theme .kw-compose{border-top:1px solid #e6e9ed;padding-top:14px;margin-top:14px}.juli-theme .kw-compose small{display:block;font-size:11px;line-height:1.8;color:#84909e;margin-top:10px}.juli-theme .kw-compose .textarea{font-size:12px}.juli-theme #kw-send{width:100%;margin-top:10px}
.juli-theme .kw-tabs,.juli-theme .kw-bulk{display:flex;gap:6px;flex-wrap:wrap;padding-bottom:12px}.juli-theme .kw-tabs span{margin-left:4px;font-size:11px}.juli-theme .kw-bulk{border-bottom:1px solid #e6e9ed;font-size:12px}
.juli-theme .kw-candidate{border:1px solid #e6e9ed;border-radius:10px;padding:16px;margin:14px 0;min-width:0}.juli-theme .kw-candidate.is-selected{border-color:#d98980;background:#fffaf9}.juli-theme .kw-card-heading{display:flex;gap:10px;align-items:flex-start;flex-wrap:wrap}.juli-theme .kw-card-heading h3{flex:1;min-width:140px;font-size:14px;line-height:1.7;margin:0}.juli-theme .kw-candidate p{font-size:13px;line-height:1.8;margin:10px 0;overflow-wrap:anywhere}.juli-theme .kw-candidate summary{font-size:12px;color:#8b5e58;cursor:pointer}.juli-theme .kw-meta{font-size:11px;color:#8a95a3;margin:12px 0}.juli-theme .kw-candidate .actions{gap:8px}
.juli-theme .kw-source-tracking{margin-top:20px;padding:16px;font-size:12px}.juli-theme .kw-source-tracking>details{padding:10px 0}.juli-theme .kw-source-tracking .source-card{font-size:12px;line-height:1.8}
.juli-theme .kw-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:20px}.juli-theme .kw-projects h3{font-size:16px}.juli-theme .kw-projects p{font-size:12px;color:#84909e;line-height:1.8}
@media(max-width:1100px){.juli-theme .kw-layout{grid-template-columns:minmax(0,1fr) 290px}}@media(max-width:850px){.juli-theme .kw-layout{grid-template-columns:1fr}.juli-theme .kw-chat{position:static}.juli-theme .kw-chat-log{max-height:250px}}

/* Workbench sizing follows the available workspace, with the composer always reachable. */
.juli-theme #knowledge-workbench .page-head{align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.juli-theme #knowledge-workbench .page-head>div:first-child{flex:1;min-width:240px}
.juli-theme #knowledge-workbench .page-head h1{font-size:21px;line-height:1.5;overflow-wrap:anywhere}
.juli-theme #knowledge-workbench .page-head>.actions{flex:none;flex-wrap:wrap;gap:6px}
.juli-theme .kw-stepbar{gap:12px;margin-bottom:16px;padding-bottom:12px}
.juli-theme .kw-layout{grid-template-columns:minmax(0,1fr) minmax(300px,340px);gap:16px}
.juli-theme .kw-chat{padding:16px;max-height:calc(100dvh - 90px);overflow:auto;top:16px}
.juli-theme .kw-history{border:1px solid #eceef1;border-radius:8px;background:#fafbfc}
.juli-theme .kw-history>summary{cursor:pointer;font-size:12px;padding:10px 12px;color:#5d6878;display:flex;justify-content:space-between;gap:12px}
.juli-theme .kw-history>summary span{color:#ad4139;font-size:11px}
.juli-theme .kw-history[open]>summary span{font-size:0}.juli-theme .kw-history[open]>summary span:after{content:'收起';font-size:11px}
.juli-theme .kw-chat-log{max-height:220px;padding:0 10px 10px;overscroll-behavior:contain}
.juli-theme .kw-compose{margin-top:12px;padding-top:12px}
.juli-theme .kw-compose .field{margin-bottom:8px}
.juli-theme .kw-compose .inline-note{margin:6px 0;font-size:12px}
.juli-theme .kw-compose .textarea{width:100%;min-height:96px;resize:vertical;box-sizing:border-box;font-size:13px;line-height:1.65}
.juli-theme .kw-tabs{flex-wrap:nowrap;overflow-x:auto;gap:3px;padding-bottom:10px;scrollbar-width:thin}
.juli-theme .kw-tabs .button{flex:none;white-space:nowrap;padding:7px 10px;font-size:12px}
.juli-theme .kw-bulk{gap:6px;align-items:center;padding:10px 0 12px}
.juli-theme .kw-list-count{flex-basis:100%;color:#6e7887;font-size:12px}
.juli-theme .kw-bulk .button{white-space:nowrap;font-size:12px;padding:6px 10px;min-height:30px}
.juli-theme .kw-card-heading{display:grid;grid-template-columns:auto minmax(0,1fr);gap:6px 10px}
.juli-theme .kw-card-heading h3{min-width:0;font-size:14px;line-height:1.6}
.juli-theme .kw-card-heading .badge{grid-column:2;justify-self:start;font-size:10px;font-weight:400}
.juli-theme .kw-card-heading input{margin-top:3px}
.juli-theme .kw-candidate{padding:14px;margin:12px 0}
.juli-theme .kw-candidate p{line-height:1.75;margin:8px 0}
.juli-theme .kw-meta{line-height:1.7;margin:9px 0}
@media(max-width:1199px){
 .juli-theme .kw-layout{grid-template-columns:minmax(0,1fr)}
 .juli-theme .kw-chat{grid-row:1;position:static;max-height:none;overflow:visible}
 .juli-theme .kw-chat h3{margin-bottom:10px}
 .juli-theme .kw-compose{display:grid;grid-template-columns:minmax(180px,.8fr) minmax(0,1.6fr);gap:8px 16px;align-items:start}
 .juli-theme .kw-compose .field{grid-column:1;grid-row:1;margin:0}
 .juli-theme .kw-compose .inline-note{grid-column:1;grid-row:2;margin:0}
 .juli-theme .kw-compose .textarea{grid-column:2;grid-row:1 / 3;min-height:100px;height:100px}
 .juli-theme .kw-compose #kw-send{grid-column:2;grid-row:3;margin:0;justify-self:end;width:auto;min-width:130px}
 .juli-theme .kw-compose>small{grid-column:1;grid-row:3;margin:0;line-height:1.6}
 .juli-theme .kw-history[open] .kw-chat-log{max-height:220px}
}
@media(max-width:600px){
 .juli-theme .kw-compose{display:flex;flex-direction:column;gap:8px}
 .juli-theme .kw-compose .field,.juli-theme .kw-compose .textarea,.juli-theme .kw-compose #kw-send{width:100%}
 .juli-theme .kw-compose>small{order:5}
 .juli-theme .kw-stepbar{font-size:11px;gap:8px}.juli-theme .kw-stepbar small{margin-left:0}
}

.juli-theme .kw-new-options{margin-top:18px;border-top:1px solid #edf0f3;padding-top:14px}.juli-theme .kw-new-options>summary{cursor:pointer;font-size:13px;color:#8b5e58;margin-bottom:12px}

/* Task list: clear spacing and separate metadata, counts and actions. */
.juli-theme .kw-projects{grid-template-columns:minmax(0,1fr);gap:14px;margin-bottom:20px}
.juli-theme .kw-projects .kw-project{padding:20px 22px;margin:0;min-width:0}
.juli-theme .kw-project-top{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.juli-theme .kw-mode{font-size:11px;color:#ad4139;background:#fcf0ee;border-radius:5px;padding:3px 8px}
.juli-theme .kw-project-status{font-size:12px;color:#778391}
.juli-theme .kw-project-body{display:flex;justify-content:space-between;gap:24px;align-items:center}
.juli-theme .kw-project-info{min-width:0;flex:1}
.juli-theme .kw-project-info h3{margin:0;font-size:16px;font-weight:600;line-height:1.6;overflow-wrap:anywhere}
.juli-theme .kw-project-info p{margin:7px 0 0;font-size:12px;line-height:1.7;color:#788493;overflow-wrap:anywhere}
.juli-theme .kw-project-info time{display:block;margin-top:9px;color:#8d97a3;font-size:11px}
.juli-theme .kw-project-stats{display:flex;gap:26px;flex:none;padding-left:22px;border-left:1px solid #edf0f3}
.juli-theme .kw-project-stats>div{display:flex;flex-direction:column;gap:3px;min-width:60px}
.juli-theme .kw-project-stats strong{font-size:22px;font-weight:600;color:#374151;line-height:1.3;font-variant-numeric:tabular-nums}
.juli-theme .kw-project-stats span{font-size:11px;color:#84909e}
.juli-theme .kw-project-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:14px;border-top:1px solid #edf0f3}
.juli-theme .kw-project-footer>span{font-size:12px;color:#87919e;line-height:1.6}
.juli-theme .kw-project-footer .actions{gap:8px;margin:0;flex:none}
.juli-theme .kw-legacy{padding:16px 20px}.juli-theme .kw-legacy>summary{font-size:13px;cursor:pointer}.juli-theme .kw-legacy>p{font-size:12px;color:#7f8b9b;line-height:1.7}.juli-theme .kw-legacy>.actions{padding:12px 0;border-top:1px solid #edf0f3;justify-content:space-between;font-size:12px;gap:12px}
@media(max-width:650px){.juli-theme .kw-projects .kw-project{padding:16px}.juli-theme .kw-project-body{flex-direction:column;align-items:stretch;gap:14px}.juli-theme .kw-project-stats{padding:0;border:0}.juli-theme .kw-project-footer{flex-direction:column;align-items:flex-start}.juli-theme .kw-project-info h3{font-size:15px}}
/* Workbench: focused review and AI refinement */
.juli-theme .kw-guide{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 20px;padding:16px 20px;border:1px solid #e7e9ed;background:#fff;border-radius:12px}
.juli-theme .kw-guide div{display:flex;flex-direction:column;gap:5px}.juli-theme .kw-guide b{color:#9e382f;font-size:13px;font-weight:600}.juli-theme .kw-guide span{font-size:12px;color:#84909e}
.juli-theme .kw-session .kw-main,.juli-theme .kw-session .kw-chat{padding:20px}
.juli-theme .kw-panel-head{padding-bottom:16px;margin-bottom:14px;border-bottom:1px solid #edf0f3}.juli-theme .kw-panel-head h2{font-size:16px;line-height:1.5;margin:0;font-weight:600}.juli-theme .kw-panel-head p{font-size:12px;color:#7b8796;line-height:1.7;margin:7px 0 0}
.juli-theme .kw-session .kw-compose{display:flex;flex-direction:column;gap:10px;margin:0;padding:0;border:0}.juli-theme .kw-session .kw-compose .field{width:100%;margin:0;font-size:12px;gap:8px}.juli-theme .kw-session .kw-compose .textarea{min-height:130px;height:auto;margin-top:8px}.juli-theme .kw-session .kw-compose #kw-send{width:100%;margin:2px 0 0;min-height:36px}.juli-theme .kw-session .kw-compose>small{margin:0;font-size:11px;order:initial}.juli-theme .kw-session #kw-selection{background:#faf6f5;padding:10px 12px;border-radius:7px;font-size:12px;color:#8d625c;line-height:1.7;margin:0;width:100%;box-sizing:border-box}
.juli-theme .kw-session .kw-history{margin-top:18px}.juli-theme .kw-session .kw-bulk{background:#fafbfc;border:1px solid #edf0f3;border-radius:8px;padding:10px;gap:6px}.juli-theme .kw-number{font-size:11px;font-weight:500;color:#9b6862;display:inline-block;margin-right:9px}.juli-theme .kw-session .kw-candidate{padding:18px;margin:14px 0 0;border-radius:10px}.juli-theme .kw-session .kw-candidate>.actions{padding-top:12px;margin-top:12px;border-top:1px solid #edf0f3}.juli-theme .kw-session .kw-card-heading .badge{color:#8a756f;background:#f8f3f1}.juli-theme .kw-session .kw-source-tracking{padding:20px}.juli-theme .kw-session #kw-annotations>details{padding:12px 0}.juli-theme .kw-session .kw-tabs{flex-wrap:wrap;overflow:visible}.juli-theme .kw-session .kw-chat{max-height:calc(100dvh - 32px)}
@media(max-width:1199px){.juli-theme .kw-session .kw-chat{grid-row:auto;max-height:none}.juli-theme .kw-session .kw-layout{grid-template-columns:minmax(0,1fr)}.juli-theme .kw-session .kw-chat{position:static}}
@media(max-width:600px){.juli-theme .kw-guide{gap:10px;padding:14px}.juli-theme .kw-guide span{font-size:11px}.juli-theme .kw-session .kw-main,.juli-theme .kw-session .kw-chat{padding:16px}}
/* Always-visible conversational workspace */
.juli-theme .kw-session .kw-layout{grid-template-columns:minmax(0,1.2fr) minmax(420px,1fr);gap:20px}
.juli-theme .kw-session .kw-chat{display:flex;flex-direction:column;height:min(850px,calc(100dvh - 40px));min-height:650px;max-height:none;padding:0;overflow:hidden;position:sticky;top:20px}
.juli-theme .kw-session .kw-chat>.kw-panel-head{margin:0;padding:20px 22px;flex:none}
.juli-theme .kw-chat-label{font-size:11px;font-weight:400;color:#a6443a;background:#fcf0ee;border-radius:5px;padding:4px 8px;margin-left:8px}
.juli-theme .kw-session .kw-chat-log{flex:1;min-height:200px;max-height:none;padding:20px 22px;background:#fafbfc;overflow-y:auto;font-size:13px;line-height:1.8}
.juli-theme .kw-session .kw-chat-intro{background:white;border:1px solid #e8ebef;padding:14px 16px;border-radius:12px;color:#637080}
.juli-theme .kw-session .kw-chat-log .chat-message{max-width:90%;padding:12px 16px;margin:16px 0;border:1px solid #e8ebef;background:white;border-radius:12px 12px 12px 3px}
.juli-theme .kw-session .kw-chat-log .chat-message.user{margin-left:auto;background:#fcf0ee;border-color:#f1dcd7;border-radius:12px 12px 3px 12px}
.juli-theme .kw-session .kw-chat-log .chat-message small{font-size:11px;color:#8b7880}
.juli-theme .kw-session .kw-chat .kw-compose{flex:none;padding:16px 22px;border-top:1px solid #e8ebef;gap:8px;background:white}
.juli-theme .kw-session .kw-chat .kw-compose .textarea{min-height:88px;max-height:160px;margin-top:6px;font-size:13px}
.juli-theme .kw-session .kw-chat #kw-selection{padding:6px 10px;font-size:11px}
.juli-theme .kw-session .kw-chat>[data-action=kw-back-candidates]{align-self:flex-start;margin:0 22px 12px}
@media(max-width:1199px){.juli-theme .kw-session .kw-layout{grid-template-columns:minmax(0,1fr)}.juli-theme .kw-session .kw-chat{position:static;height:760px;min-height:650px;grid-row:auto}}
@media(max-width:600px){.juli-theme .kw-session .kw-chat>.kw-panel-head,.juli-theme .kw-session .kw-chat-log,.juli-theme .kw-session .kw-chat .kw-compose{padding:16px}.juli-theme .kw-session .kw-chat{height:800px}}
.juli-theme .kw-session .kw-chat{height:850px;min-height:850px}
.juli-theme .kw-session .kw-chat-intro>summary{cursor:pointer;font-size:12px;color:#6e7a88}
.juli-theme .kw-session .kw-chat .kw-compose .textarea{height:88px;resize:vertical}
.juli-theme .kw-file-picker h3{font-size:14px;margin:16px 0 10px}.juli-theme #kw-pick-files{max-height:260px;overflow:auto;border:1px solid #e7e9ed;border-radius:8px;padding:8px 12px;margin-top:10px}.juli-theme #kw-pick-files small{display:block;font-size:11px;color:#8792a0;margin-top:4px}.juli-theme #kw-picked{margin-top:12px;padding:12px;background:#faf7f6;border-radius:8px;font-size:12px}.juli-theme #kw-picked .actions,.juli-theme #kw-upload-queue .actions{justify-content:space-between;gap:12px}.juli-theme .kw-new-upload{margin:16px 0;border:1px solid #e7e9ed;padding:14px;border-radius:8px;font-size:13px}.juli-theme .kw-new-upload summary{cursor:pointer;color:#a63b32}.juli-theme .kw-dropzone{display:block;padding:22px;text-align:center;border:1px dashed #c98f86;border-radius:8px;background:#fffaf9;cursor:pointer;margin:12px 0}.juli-theme .kw-dropzone input{display:block;margin:12px auto;max-width:100%}.juli-theme .kw-dropzone small{display:block;color:#8993a0;font-size:11px}.juli-theme .kw-upload-result{margin:12px 0;padding:12px;border:1px solid #e7e9ed;border-radius:8px}.juli-theme .kw-upload-result pre{max-height:240px;overflow:auto;white-space:pre-wrap;font:12px/1.8 inherit;background:#fafbfc;padding:10px}
.juli-theme #kw-pick-category,.juli-theme #kw-pick-search{width:100%;box-sizing:border-box}.juli-theme #kw-pick-files .empty-state{padding:18px 10px;margin:0}.juli-theme .kw-file-picker>.notice{margin-bottom:12px}

/* Both exam preparation routes use the enterprise accent. */
.exam-mode-card strong { color: #d92522; }
.exam-mode-card .exam-mode-icon { color: #d92522; background: #fff1ef; }
.exam-mode-card:hover, .exam-mode-card:focus-visible { border-color: #d92522; box-shadow: 0 0 0 3px #d9252210; }

.exam-knowledge-domains { display:block; padding:16px 20px; }
.exam-domain-tree { border:1px solid #e8e9ed; border-radius:10px; overflow:hidden; margin:12px 0; }
.exam-domain-row { padding:9px 16px 9px calc(16px + var(--domain-depth) * 24px); border-bottom:1px solid #f0f1f3; }
.exam-domain-row:last-child { border-bottom:0; }
.exam-domain-row.is-group { background:#fafafa; font-weight:600; }
.exam-domain-row .check-label { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin:0; }
.exam-domain-row small { font-size:12px; font-weight:400; color:#88919f; }
.exam-domain-row.is-inherited { color:#9a6260; background:#fff8f7; }
.exam-domain-row [data-domain-inherited] { color:#b1443e; }
@media(max-width:700px){.exam-knowledge-domains{display:block}.exam-domain-row{padding-left:calc(12px + var(--domain-depth) * 14px)}}
.exam-domain-tree { max-height:320px; overflow:auto; scrollbar-gutter:stable; }

/* Keep document controls and empty-state content within the result column. */
.document-browser>div{min-width:0}.document-browser .actions{flex-wrap:wrap;white-space:normal}.document-browser .empty-state{width:100%;box-sizing:border-box}.document-browser .filter-row{flex-wrap:wrap}.document-browser .search-input{box-sizing:border-box}.document-browser .empty-state h3,.document-browser .empty-state p{display:block;visibility:visible}

.document-browser .document-batch-toolbar{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;min-width:0}.document-browser .document-batch-toolbar>span{flex-basis:100%}

/* Task-oriented navigation and workbench. */
.workflow-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding-bottom:14px;border-bottom:1px solid #e5e8ef}.workbench-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.workbench-todo,.workbench-action{padding:24px}.workbench-todo strong{display:block;font-size:34px;margin:18px 0}.workbench-action p{margin:14px 0 22px;color:#738096;line-height:1.8}.workbench-action .button{margin:4px 4px 0 0}.section-title{font-size:18px;margin:25px 0 16px}.workbench-stats{display:flex;gap:16px;flex-wrap:wrap}.workbench-stats>div{flex:1;min-width:150px;padding:20px;background:#fff;border:1px solid #e5e8ef;border-radius:12px}.workbench-stats b{display:block;font-size:26px}.workbench-stats span{display:block;color:#738096;margin-top:8px}@media(max-width:900px){.workbench-grid{grid-template-columns:1fr}.workflow-tabs .button{font-size:13px;padding:9px 12px}.header-actions>.badge{display:none}}

.learning-workspace #upload-root{display:none}

.people-layout[data-readonly="true"] .people-table th:first-child,.people-layout[data-readonly="true"] .people-table td:first-child{display:none}
/* Keep the complete content-to-exam flow visible without a wall of diagnostics. */
.juli-theme .kw-guide{grid-template-columns:repeat(4,minmax(0,1fr))}
.juli-theme #kw-pipeline-status{margin:0 0 20px;border-color:#f0d9d5}
.juli-theme #kw-pipeline-status .card-body{padding:20px 24px}
.juli-theme #kw-pipeline-status h2{font-size:18px;margin:0 auto 0 0}
.juli-theme #kw-pipeline-status progress{accent-color:var(--primary,#d92821);height:8px;display:block}
.juli-theme #kw-pipeline-status .inline-note{margin-bottom:0}
.juli-theme .kw-chat-log details.notice summary{cursor:pointer;font-weight:600}
@media(max-width:700px){.juli-theme .kw-guide{grid-template-columns:repeat(2,minmax(0,1fr))}.juli-theme #kw-pipeline-status .card-body{padding:16px}.juli-theme #kw-pipeline-status .actions{flex-wrap:wrap}}
