:root{--navy:#142737;--navy2:#1d3546;--green:#168269;--ink:#263746;--sub:#758492;--line:#e3e9ee;--bg:#f4f7f8;--white:#fff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:12px/1.43 system-ui,-apple-system,'Malgun Gothic',sans-serif;background:var(--bg)}
a{color:var(--green);text-decoration:none}button,input,select,textarea{font:inherit}button{border:1px solid #d5dfe4;border-radius:5px;background:white;color:#334958;padding:5px 10px;cursor:pointer}button:hover{background:#eef5f3}button:focus-visible,a:focus-visible{outline:2px solid #2da388;outline-offset:2px}
.primary{background:var(--green);border:1px solid var(--green);color:white;padding:6px 12px;border-radius:5px;display:inline-block}.primary:hover{background:#106e58;color:white}.small{font-size:11px}.wide{width:100%;margin-top:14px}.muted,.footnote{color:var(--sub);font-size:11px}
.layout{display:flex;min-height:100vh}.sidebar{width:222px;min-width:222px;background:var(--navy);color:#d8e5e8;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;overflow:hidden;transition:width .18s,min-width .18s;z-index:40}.main-shell{min-width:0;flex:1;transition:margin-right .18s}
.brand-block{display:flex;align-items:flex-start;justify-content:space-between}.brand{font-size:17px;font-weight:800;letter-spacing:.025em;padding:16px 14px 7px;color:#fff}.brand span{font-weight:500}.brand small{display:block;font-size:9px;letter-spacing:.13em;opacity:.6;margin-top:3px}.brand.dark{color:var(--navy);padding:0}.sidebar-close{color:#a6c0c9;margin:12px 9px 0 0;display:none}.project-switch{display:flex;gap:8px;align-items:center;margin:13px 10px 13px;padding:8px 10px;background:var(--navy2);border-radius:6px;color:#e6f2f1;min-width:0}.project-text{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-dot,.secure-dot{display:inline-block;width:6px;height:6px;min-width:6px;background:#43bd99;border-radius:50%}.nav-caption{font-size:9px;letter-spacing:.15em;color:#6e8d9f;padding:5px 19px}.workspace-nav{padding:3px 9px;flex:1;overflow:auto}.navitem{display:flex;gap:9px;align-items:center;color:#c4d4dc;border-radius:5px;padding:7px 9px;font-size:11px;margin:1px 0;min-height:30px}.navitem:hover{color:#fff;background:#264457}.navitem.active{background:#285044;color:#f3fffa}.navmarker{width:5px;min-width:5px;height:5px;border-radius:50%;background:#587688}.navitem.active .navmarker{background:#43cd9b}.navlabel{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.navitem.child-nav{padding-left:23px}.admin-shield{font-size:9px;color:#b7dfc8}.sidebar-foot{color:#829bac;font-size:10px;padding:12px 16px;white-space:nowrap}.sidebar-foot .secure-dot{margin-right:4px}
.topbar{height:54px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 18px;gap:10px;position:sticky;top:0;z-index:20}.top-left,.top-actions{display:flex;align-items:center;gap:10px;min-width:0}.breadcrumbs{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.breadcrumbs strong{color:#17406a}.crumb-divider{color:#aebbc5;margin:0 7px}.breadcrumbs span:last-child{color:#8696a2}.top-actions{font-size:11px;gap:10px;flex-shrink:0}.toolbtn{border:1px solid #dfe9e7;color:#247560;background:#f5faf7;padding:4px 11px;font-size:11px}.user-chip{display:flex;align-items:center;gap:6px;padding:3px 7px;border-radius:16px;background:#ecf6f1;color:#178066}.user-avatar{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#1c806b;color:white;font-size:10px}.user-name{font-weight:700}.user-role{color:#689580;font-size:10px}.top-link{color:#62828b}.linkbtn{border:0;background:none;padding:0;color:#70899a;font-size:11px}.iconbtn{border:0;background:none;font-size:18px;padding:4px 7px;line-height:1}.nav-toggle{color:#617988}
.workspace{padding:16px 19px;max-width:1800px;margin:0 auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}.page-head h1,h1{font-size:18px;margin:0 0 3px;letter-spacing:-.025em}.page-head p{margin:0;color:var(--sub);font-size:11px}.panel{background:white;border:1px solid var(--line);border-radius:8px;overflow:hidden;margin-bottom:12px}.panelhead{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 13px;border-bottom:1px solid var(--line)}.panel h2{font-size:13px;margin:0}.panel>p{padding:0 13px}.panel>table{width:100%;overflow-x:auto}.panel .table-scroll{overflow-x:auto}.statgrid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}.stat{background:white;border:1px solid var(--line);padding:11px 13px;border-radius:7px;min-width:0}.stat span{display:block;color:#718492;font-size:10px}.stat strong{display:block;font-size:22px;margin-top:3px;color:#176f59;white-space:nowrap}
table{border-collapse:collapse;width:100%;table-layout:auto}th{background:#f5f8fa;color:#637788;font-size:10px;font-weight:700}th,td{text-align:left;border-bottom:1px solid #edf1f3;padding:5px 9px;white-space:nowrap}tr{height:30px}tbody tr:hover{background:#f7fbf9}tbody tr:last-child td{border-bottom:0}.truncate{max-width:220px;overflow:hidden;text-overflow:ellipsis}.empty{text-align:center;color:var(--sub);padding:24px}.filter{display:flex;gap:6px;padding:9px 12px}.filter input{width:310px;max-width:70%}.pill,.tag{display:inline-block;padding:2px 8px;border-radius:12px;background:#e8f5ef;color:var(--green);font-weight:700;font-size:10px}
.narrow{max-width:680px;padding:21px}.narrow form p{display:flex;flex-direction:column;gap:5px}input,select,textarea{border:1px solid #d9e2e6;border-radius:5px;padding:7px 9px;max-width:100%;background:#fff}.narrow input,.narrow select,.narrow textarea{width:100%}.narrow button{margin-top:10px}.signin-shell{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#eff6f4,#f9fbfd)}.signin-box{width:min(400px,92vw);background:white;border:1px solid var(--line);border-radius:14px;padding:33px;box-shadow:0 18px 60px #1232}.signin-box h1{margin-top:25px}.signin-box label{display:block;margin-top:13px;margin-bottom:5px}.signin-box input{width:100%}.signin-box .footnote{text-align:center;margin-top:19px}.alert{padding:9px 12px;background:#eaf4ee;border:1px solid #c5e4d2;border-radius:6px;margin-bottom:9px}.inline-form{display:flex;gap:5px}.inline-form input[type=number]{width:65px}.tempsecret{font:800 30px ui-monospace,monospace;letter-spacing:5px;color:var(--green);background:#eaf7f3;padding:17px;text-align:center;border-radius:7px;margin-top:18px}
.menu-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px}.menu-card{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:6px;background:#fafcfb;color:var(--ink)}.menu-card:hover{border-color:#9bd2bd}.context-note{padding:11px 13px;color:#526978;font-size:12px;line-height:1.6}.toolbar-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.subtle-badge{font-size:10px;color:#687d8c;background:#f0f4f6;border-radius:12px;padding:3px 8px}
.sidebar-shade,.panel-shade{display:none}.sidepanel{position:fixed;right:0;top:0;bottom:0;z-index:55;width:355px;background:#fff;border-left:1px solid var(--line);box-shadow:-12px 0 32px #15253618;display:flex;flex-direction:column;transform:translateX(101%);visibility:hidden;transition:transform .2s,visibility .2s}.panel-quick .sidepanel#jcb-quick,.panel-360 .sidepanel#jcb-360{transform:translateX(0);visibility:visible}.panel-quick .main-shell,.panel-360 .main-shell{margin-right:355px}.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:19px 17px 15px;border-bottom:1px solid var(--line)}.drawer-head h2{font-size:18px;margin:2px 0 0}.eyebrow{font-size:9px;letter-spacing:.16em;color:#83a196}.drawer-tabs{display:grid;grid-template-columns:repeat(4,1fr);padding:8px;border-bottom:1px solid var(--line);gap:2px}.drawer-tabs button{padding:8px 0;border:0;color:#758493;background:none}.drawer-tabs button.active{color:#158066;font-weight:700;background:#edf7f1}.drawer-body{padding:17px;overflow:auto;flex:1}.drawer-body[hidden]{display:none}.drawer-caption{font-size:10px;color:#7a8b95;letter-spacing:.03em;margin:0 0 6px}.drawer-muted{font-size:11px;color:#7e8f9a;line-height:1.7}.quick-links{display:grid;gap:6px;margin-top:19px}.quick-links a{display:block;padding:10px 12px;border:1px solid var(--line);border-radius:6px;font-size:12px}.drawer-footer{padding:13px 17px;border-top:1px solid var(--line);color:#8a9ca6;font-size:10px}
body.nav-collapsed .sidebar{width:0;min-width:0}.mobile-bottom{display:none}
@media(max-width:1250px){.statgrid{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace{padding:14px}.menu-links{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:920px){.user-role{display:none}.topbar{padding:0 10px}.panel-quick .main-shell,.panel-360 .main-shell{margin-right:0}.panel-quick .panel-shade,.panel-360 .panel-shade{display:block;position:fixed;inset:0;background:#14273744;z-index:50}.sidepanel{width:min(380px,90vw)}.sidebar{width:205px;min-width:205px}}
@media(max-width:760px){.layout{display:block}.sidebar{position:fixed;inset:0 auto 0 0;width:min(285px,85vw);min-width:0;transform:translateX(-102%);transition:transform .2s;z-index:70}.nav-open .sidebar{transform:translateX(0)}.nav-open .sidebar-shade{display:block;position:fixed;inset:0;background:#14273777;z-index:65}.sidebar-close{display:block}.topbar{height:51px}.top-actions{gap:7px}.top-actions .top-link,.top-actions .user-role,.top-actions .toolbtn{display:none}.breadcrumbs{max-width:43vw}.workspace{padding:10px 10px calc(65px + env(safe-area-inset-bottom))}.statgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.stat{padding:9px 10px}.stat strong{font-size:19px}.page-head h1,h1{font-size:16px}.panelhead{padding:10px}.panel{overflow-x:auto}.menu-links{grid-template-columns:1fr;padding:9px}.mobile-bottom{position:fixed;left:0;right:0;bottom:0;height:calc(56px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:flex;justify-content:space-around;align-items:center;background:#fff;border-top:1px solid var(--line);z-index:30}.mobile-bottom a,.mobile-bottom button{display:grid;justify-items:center;gap:2px;font-size:10px;color:#607886;border:0;background:none;padding:4px 12px}.mobile-bottom span{font-size:19px}.sidepanel{width:100vw;max-width:100vw;z-index:80}.panel-quick .panel-shade,.panel-360 .panel-shade{z-index:75}.sidebar-foot{padding:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* R04B: security center and compact account controls; content never stretches the viewport. */
.brand-link{display:block;min-width:0;white-space:nowrap}.brand-link:hover{color:#fff;background:#1d3546}.admin-shield{font-size:14px;color:#8bceae}
.tools-right{display:flex;align-items:center;gap:5px;margin-left:auto;border-right:1px solid #e2eae8;padding-right:10px}
.profile-wrap{position:relative;flex-shrink:0}.user-menu-toggle{font-size:11px;border:0;cursor:pointer;line-height:1.25}.chevron{font-size:13px;color:#679786}
.profile-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:245px;z-index:42;border:1px solid #dce7e5;border-radius:9px;background:white;box-shadow:0 14px 36px #15293422;padding:5px}.profile-dropdown[hidden]{display:none}
.profile-dropdown a{display:block;color:#375267;padding:9px 11px;font-size:11px;border-radius:5px}.profile-dropdown a:hover{background:#ecf5f2;color:#087759}.profile-dropdown .admin-entry{color:#147a5f;background:#f4faf6}
.profile-heading{padding:12px 12px 9px;margin-bottom:3px;border-bottom:1px solid #e6ecee}.profile-heading strong,.profile-heading small{display:block}.profile-heading small{color:#738793;margin-top:4px;font-size:10px}
.compact-summary{display:flex;gap:7px;margin-bottom:10px;flex-wrap:wrap}.compact-summary span{background:white;border:1px solid var(--line);border-radius:6px;padding:8px 11px;flex:1 1 130px;white-space:nowrap;color:#175d57}.compact-summary strong{display:block;color:#6f8590;font-size:10px;margin-bottom:1px}.security-stats span{flex-basis:120px}
.admin-tabs{display:flex;align-items:center;flex-wrap:wrap;gap:4px;border-bottom:1px solid #dbe5e9;margin-bottom:12px}.admin-tabs a{color:#718492;padding:8px 13px;border-bottom:2px solid transparent;white-space:nowrap;font-size:11px}.admin-tabs a.selected{color:#087959;border-bottom-color:#1c8c6e;background:#ecf7f2;font-weight:700}.tab-counter{background:#dbece5;color:#147960;padding:1px 5px;border-radius:10px}
.admin-callouts{margin-bottom:12px}.manage-links{padding:13px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.manage-links a{padding:12px;border:1px solid #dae8e4;border-radius:6px;color:#176d5e;background:#f7fbfa;display:flex;justify-content:space-between}.manage-links a:hover{border-color:#9dcdb9}
.profile-two{padding:13px;display:grid;grid-template-columns:minmax(180px,1fr) minmax(240px,2fr);gap:25px;max-width:980px}.profile-id{display:grid;place-items:center;background:#e1f3eb;color:#117f64;font-size:23px;font-weight:800;width:53px;height:53px;border-radius:13px}.profile-info p{margin:10px 0;line-height:1.6}.profile-form{display:grid;grid-template-columns:1fr;gap:5px}.profile-form label{font-size:10px;color:#6d8290}.profile-form input{max-width:390px;padding:8px}.profile-form>div{margin-top:7px}.field-error{margin:0;color:#b84940;font-size:11px}.subline{font-size:10px;color:#86959e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:325px;margin-top:3px}
.cell-actions{display:flex;align-items:center;gap:4px;white-space:nowrap}.cell-actions form{display:inline-flex;gap:4px;align-items:center}.rename-inline input{width:112px;padding:4px 6px;font-size:10px}.cell-actions button{padding:4px 7px;font-size:10px;white-space:nowrap}.danger-quiet{border-color:#f2d4d3;color:#ad4d4a;background:#fffafa}.danger-quiet:hover{background:#fff0ee}.tag-pending{background:#fff1d7;color:#a66d12}.tag-off{background:#f0f2f3;color:#68777e}.alert-warning{color:#79530e;background:#fff8e5;border-color:#efdeb3}.panel-foot{padding:10px 13px;border-top:1px solid var(--line);color:#7c8e99;font-size:10px;line-height:1.6}
.table-scroll{width:100%;overflow-x:auto}.table-scroll table{min-width:800px}.table-scroll th,.table-scroll td{padding:5px 8px}.panel .table-scroll form{margin:0}.panel .table-scroll td{vertical-align:middle}
@media(max-width:920px){.tools-right{gap:3px;padding-right:6px}.profile-dropdown{right:-4px}.workspace{max-width:100%}}
@media(max-width:760px){.tools-right{display:none}.topbar{gap:5px}.topbar .profile-dropdown{right:0}.user-chip{padding:3px 6px}.profile-two{grid-template-columns:1fr;gap:12px}.admin-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:1px}.admin-tabs a{padding:9px 10px}.manage-links{grid-template-columns:1fr}.profile-dropdown{width:min(270px,86vw)}.cell-actions{min-width:max-content}.mobile-bottom a,.mobile-bottom button{padding:4px 6px}.compact-summary span{flex-basis:calc(50% - 7px)}}

/* R04C: no account enumeration; honest, compact request-environment hints. */
.signin-box{width:min(420px,92vw)}
.signin-network{margin-top:19px;padding:12px 13px;background:#f7faf9;border:1px solid #e2ebea;border-radius:8px}
.signin-network-title{display:flex;justify-content:space-between;align-items:center;gap:7px;padding-bottom:8px;border-bottom:1px solid #e3eae9;font-size:11px;color:#365969}
.signin-network-title span{font-size:9px;color:#8b9ba2}
.signin-network dl{display:grid;gap:6px;margin:10px 0 0}.signin-network dl div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;font-size:10px}
.signin-network dt{color:#7c8e9a;flex-shrink:0}.signin-network dd{margin:0;color:#38576a;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.signin-network-note{font-size:9px;line-height:1.6;color:#7b919a;margin:11px 0 0}

/* R04D: manual lock and discreet idle-extension warning. */
.manual-lock-form{margin:0}.manual-lock-form .toolbtn{color:#536b78;background:#fff}
.jcb-idle-warning{position:fixed;right:20px;top:65px;z-index:65;width:min(340px,calc(100vw - 28px));padding:15px;border:1px solid #e5d6b5;border-radius:10px;background:#fffef9;box-shadow:0 16px 38px #172f3829}
.jcb-idle-warning[hidden]{display:none}.jcb-idle-warning strong{font-size:13px;color:#674816}.jcb-idle-warning p{margin:7px 0 12px;font-size:11px;color:#67747b}.jcb-idle-warning form{margin:0}
.session-unlock-card>h1{margin:22px 0 6px}.session-unlock-card>p{line-height:1.6;margin-bottom:20px}.session-unlock-card label{display:block;font-size:11px;margin:9px 0 5px}.session-unlock-card input{width:100%}.session-unlock-card>form:last-child{text-align:center;margin-top:16px}
@media(max-width:760px){.manual-lock-form .toolbtn{padding:4px 6px}.jcb-idle-warning{right:14px;top:64px}.session-unlock-card{padding:26px 23px}}

/* R04E: dense, role-checked navigation and Bolt in-app menu editor. */
.navitem[data-depth="1"]{padding-left:21px}.navitem[data-depth="2"]{padding-left:33px}.navitem[data-depth="3"]{padding-left:45px}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.menu-editor-scroll{max-width:100%;overflow-x:auto}.menu-editor-grid{display:grid;grid-template-columns:42px minmax(145px,2fr) minmax(115px,1.45fr) 72px 118px 48px 53px 48px 44px 52px;gap:6px;align-items:center;min-width:1030px;padding:5px 10px;border-bottom:1px solid #edf1f2}
.menu-editor-header{background:#f4f8f8;color:#718490;font-size:10px;font-weight:700;padding:8px 10px}.menu-editor-row{margin:0;background:#fff}.menu-editor-row:hover{background:#f7fbf9}
.menu-editor-row input[type="text"],.menu-editor-row input[type="number"],.menu-editor-row select{width:100%;min-width:0;padding:5px 6px;font-size:11px}
.menu-editor-row label{display:grid;place-items:center;min-height:26px}.menu-editor-row input[type="checkbox"]{width:14px;height:14px;accent-color:#178268;cursor:pointer}
.menu-editor-id{font-size:10px;color:#8295a1}.menu-editor-row button{padding:5px 7px;font-size:10px;white-space:nowrap}.menu-new-header{background:#edf6f1}.menu-editor-new{background:#fbfefc}

/* R04F: compact, per-approved-device idle policy without width expansion. */
.idle-policy-form{display:inline-flex;align-items:center;gap:4px;margin:0;white-space:nowrap}
.idle-policy-form select{width:67px;min-width:67px;padding:4px 5px;font-size:10px}
.idle-policy-form button{padding:4px 7px;font-size:10px}
.profile-extend-form{padding:3px;margin:0}.profile-extend-form button{display:block;width:100%;padding:8px 10px;text-align:left;border:0;background:#ecf6f1;color:#087a61;font-size:11px}
.profile-extend-form button:hover{background:#dff0e7}
.profile-lock-form{padding:3px;margin:0}.profile-lock-form button{display:block;width:100%;padding:8px 10px;text-align:left;border:0;background:#f4f6f7;color:#485d6a;font-size:11px}
.profile-lock-form button:hover{background:#e8eff2}

/* R07: compact, research-first detail. The source list does not imply a verdict. */
.research-workspace{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.research-workspace>.panel{min-width:0}
.research-entry-form{padding:12px;border-bottom:1px solid var(--line);background:#fbfdfd}
.research-entry-form p{margin:0 0 8px;display:flex;flex-direction:column;gap:4px;font-size:11px}
.research-entry-form input,.research-entry-form select,.research-entry-form textarea{width:100%;min-width:0;font-size:11px}
.research-entry-form label{color:#496170;font-weight:600}
.research-stack{padding:5px 12px 12px;max-height:650px;overflow-y:auto}
.research-entry{border-bottom:1px solid #edf1f3;padding:11px 0;overflow-wrap:anywhere;font-size:11px;line-height:1.6}
.research-entry:last-child{border-bottom:0}.research-entry strong{display:block;margin-top:5px;color:#294653}
.research-entry p{white-space:normal;margin:6px 0;color:#526874}.research-entry small{display:block;margin-top:6px}
.research-intro{white-space:normal;line-height:1.7}
@media(max-width:1180px){.research-workspace{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.research-workspace{grid-template-columns:1fr}.research-stack{max-height:none}}
/* R06B: compact category drill-down, independent from the fixed sidebar */
.taxonomy-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:9px; }
.taxonomy-link { display:flex; justify-content:space-between; align-items:center; gap:10px; min-width:0;
  padding:11px 13px; border:1px solid #dce6e9; border-radius:9px; background:#f9fbfc;
  text-decoration:none; color:#16344a; }
.taxonomy-link:hover,.taxonomy-link:focus-visible { border-color:#15806f; background:#ecf8f4; }
.taxonomy-link strong { font-size:12px; font-weight:650; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.taxonomy-link small { color:#798b98; font-size:10px; flex-shrink:0; }
@media(max-width:680px) { .taxonomy-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .taxonomy-link { padding:10px; } }
/* R06C research question status and due-date controls */
.research-stage-form { display:flex; gap:6px; flex-wrap:wrap; margin-top:9px; padding-top:8px;
  border-top:1px solid #edf1f3; align-items:center; }
.research-stage-form select { flex:1 1 120px; min-width:0; max-width:100%; font-size:11px; }
.research-stage-form input[type=date] { flex:1 1 130px; min-width:0; max-width:100%; font-size:11px; }
.research-stage-form button { flex:0 0 auto; font-size:10px; }
@media(max-width:680px) { .research-stage-form button { width:100%; } }

/* R06C1: approved-session extension UX and isolated device-approval screen. */
.pending-top-tag{max-width:min(40vw,230px);display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  padding:5px 9px;border-radius:16px;color:#865b16;background:#fff5df;border:1px solid #f1dfb9;font-size:10px}
.jcb-idle-warning{width:min(346px,calc(100vw - 28px));padding:16px 17px;background:#fffdf8;
  border:1px solid #ebd7a8;box-shadow:0 12px 35px #152b3522;z-index:65}
.idle-warning-label{font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#a37829;margin-bottom:7px}
.jcb-idle-warning strong{font-size:14px;font-weight:700;color:#765420;letter-spacing:-.02em}
.jcb-idle-warning p{margin:9px 0 12px;line-height:1.5}
.jcb-idle-warning .idle-count{font-weight:800;font-size:15px;font-variant-numeric:tabular-nums;color:#9a5c0e}
.jcb-idle-warning .primary{min-height:34px;width:100%;font-size:11px;font-weight:700}
.jcb-idle-warning .primary:disabled{opacity:.65;cursor:wait}
.jcb-idle-warning .idle-warning-error{color:#aa4940;font-size:11px;margin:10px 0 0;line-height:1.55}
.jcb-idle-warning .idle-warning-error[hidden],.jcb-session-toast[hidden]{display:none}
.jcb-session-toast{position:fixed;top:65px;right:20px;z-index:66;min-width:210px;max-width:min(360px,calc(100vw - 28px));
  border:1px solid #b5dacc;border-radius:9px;background:#f1faf5;color:#17694c;padding:12px 14px;
  font-size:11px;font-weight:650;box-shadow:0 12px 28px #1b332218}
.jcb-session-toast[data-level="error"]{color:#a3433d;background:#fff6f3;border-color:#efd0c9}
.pending-layout{max-width:100%;min-height:calc(100dvh - 120px);display:grid;justify-items:center;align-content:start;padding:clamp(16px,5vh,70px) 12px 25px}
.pending-card.panel{width:min(100%,680px);padding:27px 30px;overflow:visible;border-radius:12px;box-shadow:0 12px 32px #19303b0a}
.pending-status{display:inline-block;border-radius:20px;padding:4px 10px;font-size:10px;font-weight:700;color:#926214;background:#fff4df;border:1px solid #ebd6a9;margin-bottom:13px}
.pending-card h1{font-size:19px;color:#163647;margin-bottom:10px}
.pending-card .pending-lead{color:#607888;font-size:12px;line-height:1.75;margin:0 0 22px;padding:0}
.pending-steps{counter-reset:jcb-approval;display:grid;gap:9px;list-style:none;margin:0 0 20px;padding:0}
.pending-steps li{position:relative;padding:10px 12px 10px 43px;border-radius:7px;border:1px solid #e4ecee;background:#f8fafb;color:#486171;font-size:11px;line-height:1.6}
.pending-steps li::before{counter-increment:jcb-approval;content:counter(jcb-approval);position:absolute;left:12px;top:11px;width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:#e1f2eb;color:#11785f;font-size:10px;font-weight:700}
.pending-device-table{border:1px solid #e3ebee;border-radius:7px;margin-top:3px}.pending-device-table table{min-width:0}
.pending-device-table td{font-variant-numeric:tabular-nums}
.pending-footer{display:flex;align-items:center;gap:17px;margin-top:21px;justify-content:space-between}
.pending-footer form{margin:0;flex:0 0 auto}.pending-footer .primary{min-height:35px;font-weight:700}
.pending-footer p{padding:0;margin:0;color:#718692;font-size:10px;line-height:1.7;max-width:380px}
@media(max-width:760px){.pending-top-tag{max-width:100px;font-size:9px}.jcb-idle-warning{top:61px;right:10px}
  .jcb-session-toast{top:61px;right:10px}.pending-layout{padding:22px 0 15px;min-height:auto}
  .pending-card.panel{padding:21px 17px}.pending-card h1{font-size:17px}.pending-footer{display:block}
  .pending-footer p{margin-top:13px}.pending-device-table table{min-width:0}}

/* R06D0: navigation hierarchy with server-owned menu links and local-only fold state. */
.nav-caption-sub{float:right;font-size:9px;color:#89a4b0;letter-spacing:0}
.nav-entry{display:flex;align-items:center;gap:2px;min-width:0;margin:1px 0}
.nav-entry[hidden]{display:none!important}
.nav-entry .navitem{min-width:0;min-height:31px;margin:0;flex:1;gap:8px}
.nav-entry .navitem.child-nav{padding-left:14px}
.nav-entry .navitem[data-depth="1"]{padding-left:20px;color:#b2ced1;font-size:11px}
.nav-entry .navitem[data-depth="2"]{padding-left:28px}
.nav-entry .navitem[data-depth="3"]{padding-left:36px}
.nav-entry .navitem[data-depth="0"]{font-weight:700;color:#e7f2f2;margin-top:5px}
.nav-entry .navitem.active{background:#2b564a;color:#f5fffa}
.nav-fold{border:none;background:transparent;color:#9ab2bf;flex:0 0 25px;width:25px;height:29px;padding:3px 4px;font-size:15px;line-height:1;border-radius:5px}
.nav-fold:hover,.nav-fold:focus-visible{background:#294657;color:#fff}
.taxonomy-trail{display:flex;flex-wrap:wrap;align-items:center;gap:7px;font-size:11px;color:#8295a0;margin-bottom:10px}
.taxonomy-trail a{color:#1e7a66}.taxonomy-trail strong{color:#3c5563;font-weight:750}
.multi-device-note{display:flex;gap:6px 15px;align-items:flex-start;flex-wrap:wrap;padding:11px 14px;margin-bottom:10px;
  background:#f3faf7;border:1px solid #d5eae0;border-radius:8px;color:#376655;font-size:11px;line-height:1.6}
.multi-device-note strong{white-space:nowrap;color:#087557}.multi-device-note span{min-width:0;flex:1 1 250px}
.alert-device-info{background:#f5f9fb;border-color:#d8e7eb;color:#416577}
.pending-device-help{padding:9px 12px!important;margin:0 0 15px!important;font-size:11px;line-height:1.6;
  color:#2e7663;background:#f2faf5;border:1px solid #d6ebe1;border-radius:7px}
@media(max-width:760px){.nav-fold{flex-basis:30px;width:30px}.nav-entry .navitem{min-height:37px}}

/* R06D0: restrained scrollbars, preserving keyboard and touch scrolling. */
html{scrollbar-gutter:stable;scrollbar-color:#b8c7ce #f2f5f6;scrollbar-width:thin}
.workspace-nav,.drawer-body,.research-stack,.table-scroll,.taxonomy-level-body{scrollbar-color:#b3c4cb transparent;scrollbar-width:thin}
.workspace-nav::-webkit-scrollbar,.drawer-body::-webkit-scrollbar,.research-stack::-webkit-scrollbar,
.table-scroll::-webkit-scrollbar,.taxonomy-level-body::-webkit-scrollbar{width:7px;height:7px}
.workspace-nav::-webkit-scrollbar-thumb,.drawer-body::-webkit-scrollbar-thumb,.research-stack::-webkit-scrollbar-thumb,
.table-scroll::-webkit-scrollbar-thumb,.taxonomy-level-body::-webkit-scrollbar-thumb{background:#a9c0c5;border-radius:7px}
.workspace-nav::-webkit-scrollbar-track,.drawer-body::-webkit-scrollbar-track,.research-stack::-webkit-scrollbar-track,
.table-scroll::-webkit-scrollbar-track,.taxonomy-level-body::-webkit-scrollbar-track{background:transparent}
.workspace-nav{overscroll-behavior:contain;padding-bottom:16px}
.table-scroll{max-width:100%;overscroll-behavior-x:contain}
.device-agent-details{max-width:225px;color:#7d8c96;font-size:10px;margin-top:3px}
.device-agent-details summary{cursor:pointer;display:inline-block;color:#718b98;list-style:revert}
.device-agent-details p{white-space:normal;overflow-wrap:anywhere;max-width:300px;max-height:120px;overflow:auto;margin:3px 0 0;line-height:1.5}

/* Three-column browser: 03 -> 03.01 -> 03.01.01; URL and DB remain authoritative. */
.taxonomy-flow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fff;min-width:0}
.taxonomy-level{min-width:0;border-right:1px solid #e2ebee}
.taxonomy-level:last-child{border-right:none}
.taxonomy-level-title{background:#f4f8f8;display:flex;align-items:center;justify-content:space-between;
  gap:7px;padding:10px 14px;border-bottom:1px solid #e1e9ec}
.taxonomy-level-title strong{font-size:11px;color:#335362}
.taxonomy-level-title small{font-size:10px;color:#728997;background:#e8eff1;padding:2px 7px;border-radius:10px}
.taxonomy-level-body{height:285px;overflow-y:auto;overflow-x:hidden;padding:7px 8px 11px}
.taxonomy-option{display:flex;align-items:center;gap:9px;min-width:0;min-height:34px;
  color:#35536a;background:#fff;border:1px solid transparent;border-radius:6px;padding:7px 8px;margin:2px 0}
.taxonomy-option small{font-size:10px;flex:0 0 68px;font-variant-numeric:tabular-nums;color:#8396a3}
.taxonomy-option strong{font-size:11px;flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600}
.taxonomy-option span{font-size:14px;color:#93aaa9}
.taxonomy-option:hover{background:#f0f8f5;border-color:#cde4da;color:#0c7059}
.taxonomy-option.current{background:#e9f5f0;border-color:#b9dcca;color:#08745b}
.taxonomy-option.current small{color:#178269}
.taxonomy-placeholder{color:#8296a2;font-size:11px;line-height:1.65;padding:15px 9px;margin:0;white-space:normal}
@media(max-width:1080px){.taxonomy-option small{flex-basis:58px}}
@media(max-width:760px){html{scrollbar-gutter:auto}.taxonomy-flow{grid-template-columns:1fr}
  .taxonomy-level{border-right:0;border-bottom:1px solid #e1e9ec}.taxonomy-level:last-child{border-bottom:0}
  .taxonomy-level-body{height:auto;max-height:202px}.taxonomy-option{min-height:36px}
  .taxonomy-option small{flex-basis:70px}.device-agent-details{max-width:210px}}

/* Bolt-only spreadsheet-style master structure table on Home. */
.taxonomy-overview .panelhead{align-items:center}
.taxonomy-overview .panelhead p{padding:0;margin:4px 0 0}
.taxonomy-matrix-counts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;padding:9px 13px;
  color:#4c6573;font-size:11px;border-bottom:1px solid #edf1f3;background:#fcfefd}
.taxonomy-matrix-counts strong{color:#117d64;font-size:13px;margin-left:4px;font-variant-numeric:tabular-nums}
.taxonomy-matrix-scroll{max-height:420px;overflow:auto;max-width:100%;scrollbar-gutter:stable}
.taxonomy-matrix{min-width:770px;width:100%;font-size:11px}
.taxonomy-matrix thead th{position:sticky;top:0;z-index:2;background:#edf3f5;box-shadow:0 1px 0 #dae4e8}
.taxonomy-matrix td{padding:7px 10px;line-height:1.45}
.taxonomy-matrix td:first-child{color:#8a9ca5;width:48px;font-variant-numeric:tabular-nums}
.taxonomy-matrix td:last-child{width:84px}
.taxonomy-matrix td a{color:#34576a;display:inline-block;white-space:normal}
.taxonomy-matrix td a:hover{color:#0f8062;text-decoration:underline}
.taxonomy-matrix small{font-size:10px;color:#0f7c63;margin-right:4px;font-variant-numeric:tabular-nums}
.taxonomy-matrix .taxonomy-open{font-weight:700;font-size:10px;color:#11806b}
@media(max-width:760px){.taxonomy-overview .panelhead{align-items:flex-start;flex-direction:column}
  .taxonomy-matrix-scroll{max-height:385px;scrollbar-gutter:auto}.taxonomy-matrix{min-width:730px}}

/* R06D1A: denser navigation, without compressing readable type. */
.brand{padding:11px 12px 5px;font-size:16px}
.project-switch{margin:7px 9px 8px;padding:7px 9px}
.nav-caption{padding:3px 15px 4px}
.workspace-nav{padding:1px 8px 8px}
.nav-entry{margin:0;gap:1px}
.nav-entry .navitem{min-height:27px;padding:4px 7px;font-size:10.5px;line-height:1.3;gap:7px}
.nav-entry .navitem[data-depth="0"]{margin-top:2px}
.nav-entry .navitem[data-depth="1"]{padding-left:18px;font-size:10.5px}
.nav-fold{height:27px;flex-basis:22px;width:22px;padding:3px;font-size:12px}
.sidebar-admin{border-top:1px solid #294453;padding:7px 9px 0}
.sidebar-admin-link{display:flex;gap:9px;align-items:center;color:#cdece2;background:#244a44;
  padding:7px 9px;border:1px solid #315e55;border-radius:6px;font-size:11px;font-weight:700}
.sidebar-admin-link:hover{color:#fff;background:#286556}
.sidebar-foot{padding:8px 13px;font-size:9px}
.workspace{padding-top:11px;padding-bottom:10px}
.page-head{margin-bottom:8px}.page-head h1,h1{font-size:17px}
.statgrid{gap:6px;margin-bottom:9px}.stat{padding:7px 11px}.stat strong{font-size:19px;margin-top:2px}
.panel{margin-bottom:9px}.panelhead{padding:8px 12px}
.taxonomy-level-title{padding:6px 12px}.taxonomy-level-body{height:234px;padding:5px 7px 7px}
.taxonomy-option{min-height:28px;padding:4px 7px;margin:0;gap:6px}
.taxonomy-option strong{font-size:10.8px}.taxonomy-option small{font-size:9.7px}
.taxonomy-matrix td{padding:4px 9px}.taxonomy-matrix-scroll{max-height:345px}
.taxonomy-matrix .matrix-start td{border-top:2px solid #d8e8e3;background:#f5faf8}
.taxonomy-matrix .matrix-mid-start:not(.matrix-start) td{border-top:1px solid #dfe9eb}
.taxonomy-matrix td:nth-child(2){width:19%;vertical-align:top}
.taxonomy-matrix td:nth-child(3){width:23%;vertical-align:top}
.taxonomy-matrix td:nth-child(4){width:38%;vertical-align:top}

/* Native accessible disclosure, with an optional persisted open/closed state. */
details.panel>summary.fold-head{cursor:pointer;list-style:none}
details.panel>summary.fold-head::-webkit-details-marker{display:none}
.fold-head h2{font-size:12px}.fold-head .muted{font-size:10px}
.fold-indicator{flex:0 0 auto;margin-left:auto;font-size:18px;line-height:1;color:#6b8a92;transition:transform .15s}
details[open]>summary .fold-indicator{transform:rotate(180deg)}
details.panel:not([open])>summary.fold-head{border-bottom:0}
details.panel>summary.fold-head:hover{background:#f7faf9}
.taxonomy-overview-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;
  flex-wrap:wrap;padding:7px 12px;border-bottom:1px solid #e7edef}
.taxonomy-view-toggle{display:inline-flex;background:#edf3f2;border-radius:6px;gap:2px;padding:2px}
.taxonomy-view-toggle button{border:0;background:transparent;padding:5px 10px;font-size:10.5px;border-radius:5px}
.taxonomy-view-toggle button[aria-pressed="true"]{background:#fff;color:#0c7259;box-shadow:0 1px 4px #1232;font-weight:700}
.taxonomy-tree-view{padding:9px 12px 11px;max-height:400px;overflow:auto}
.taxonomy-tree-view[hidden],.taxonomy-matrix-scroll[hidden]{display:none!important}
.taxonomy-tree-major{border:1px solid #dae8e7;border-radius:6px;margin-bottom:5px;background:#fff}
.taxonomy-tree-major>summary,.taxonomy-tree-middle>summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  gap:8px;list-style-position:inside;padding:7px 11px;font-size:11px}
.taxonomy-tree-major>summary{background:#f5faf8}.taxonomy-tree-middle>summary{padding:6px 10px;color:#496575}
.taxonomy-tree-major[open]>summary{border-bottom:1px solid #e2ecea}
.taxonomy-tree-middle{margin:5px 8px;border-left:2px solid #baded1;background:#fcfefe}
.taxonomy-tree-middle[open]>summary{border-bottom:1px solid #eaf0f1}
.taxonomy-tree-view small{font-size:10px;color:#157b65;margin-right:7px;font-variant-numeric:tabular-nums}
.taxonomy-tree-view summary .muted{font-weight:400;font-size:10px}
.taxonomy-tree-leaves{padding:3px 10px 8px;display:grid;gap:1px}
.taxonomy-tree-leaves a{display:flex;align-items:center;gap:7px;padding:5px 11px;border-radius:4px;font-size:10.8px;color:#526d79}
.taxonomy-tree-leaves a:hover{background:#edf8f3;color:#0c795e}
.taxonomy-tree-leaves a span{margin-left:auto}

/* Quick and 360 slide over the right edge; never reflow or widen the page. */
.panel-quick .main-shell,.panel-360 .main-shell{margin-right:0!important}
.sidepanel{top:54px;bottom:0;width:min(370px,95vw);max-width:100%;box-shadow:-8px 0 25px #162e3820}
.drawer-head{padding:12px 15px}.drawer-head h2{font-size:16px}
.drawer-body{padding:13px 15px}
@media(max-width:760px){.workspace{padding:9px 9px calc(62px + env(safe-area-inset-bottom))}
  .nav-entry .navitem{min-height:32px;padding-top:6px;padding-bottom:6px}
  .nav-fold{height:32px}.sidepanel{top:51px;width:min(340px,92vw)}
  .taxonomy-level-body{height:auto;max-height:190px}
  .taxonomy-matrix-scroll{max-height:300px}.taxonomy-tree-view{max-height:320px}}
.reference-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}
.reference-summary .stat{min-height:64px;padding:11px 13px}
.reference-summary .stat strong{font-size:17px;line-height:1.3}
.reference-table{min-width:1040px;table-layout:auto}
.reference-table td,.reference-table th{font-size:11.5px;line-height:1.45;vertical-align:top;padding:8px 9px}
.reference-table td:first-child{width:44px;white-space:nowrap}
.reference-table td:nth-child(2){width:240px;overflow-wrap:anywhere}
.reference-table td:nth-child(3){width:122px}
.reference-table td:nth-child(4){min-width:200px}
.reference-table td:nth-child(5){min-width:185px}
.reference-table a.toolbtn{display:inline-block;white-space:nowrap}
.reference-next{display:flex;flex-wrap:wrap;gap:6px;padding:10px 12px}
.reference-next span{display:inline-flex;border:1px solid #dce5e9;border-radius:7px;background:#f6f9fa;padding:7px 10px;font-size:11px;color:#315165}
.sidebar-admin{display:grid;gap:4px}
@media (max-width:760px){.reference-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* R06D2B: compact 1 > 2 > 3 navigator stays visible when the long tree is folded. */
.taxonomy-workflow-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-bottom:1px solid #e7eef0}
.taxonomy-workflow-head h2{font-size:12px;margin:0}.taxonomy-workflow-head p{margin:2px 0 0;font-size:10px;line-height:1.4}
.taxonomy-workflow-head .toolbtn{flex-shrink:0;white-space:nowrap}
.taxonomy-cascade{display:flex;align-items:end;gap:7px;padding:8px 11px;min-width:0;flex-wrap:wrap}
.taxonomy-cascade label{min-width:160px;flex:1 1 170px;display:flex;flex-direction:column;gap:3px;color:#627d89;font-size:9.5px;line-height:1.2}
.taxonomy-cascade label:nth-of-type(3){flex-grow:1.45}
.taxonomy-cascade select{width:100%;height:31px;padding:4px 7px;font-size:11px;color:#284b5a;min-width:0}
.taxonomy-cascade select:disabled{background:#f4f7f8;color:#93a4aa}
.taxonomy-cascade .cascade-arrow{align-self:center;padding-top:12px;font-size:15px;color:#a7b9bd}
.taxonomy-cascade .primary,.taxonomy-cascade>.toolbtn{height:31px;align-self:end;white-space:nowrap;display:inline-flex;align-items:center;justify-content:center}
.cascade-current{flex:1 0 100%;display:block;color:#25806b;font-size:10px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.taxonomy-browser-details{border-top:1px solid #e7eef0}
.taxonomy-browser-summary{cursor:pointer;list-style:none;display:flex;gap:9px;align-items:center;padding:6px 12px;background:#fbfdfc}
.taxonomy-browser-summary::-webkit-details-marker{display:none}
.taxonomy-browser-summary strong{font-size:11px;color:#36596a}
.taxonomy-browser-summary .muted{font-size:10px}
.taxonomy-browser-summary:hover{background:#f4faf7}
.taxonomy-browser-details[open] .taxonomy-browser-summary{border-bottom:1px solid #e2eaed}
.taxonomy-browser-details[open] .fold-indicator{transform:rotate(180deg)}
.taxonomy-browser-details .taxonomy-level-body{max-height:225px}
.taxonomy-home-chooser{margin-bottom:7px}

/* Native modal uses an overlay: the original page keeps its layout and width. */
.taxonomy-dialog{padding:0;width:min(1420px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:min(94dvh,1000px);max-height:94dvh;border:1px solid #d1dee2;border-radius:11px;background:#fff;color:#2c4251;box-shadow:0 24px 80px #122b4255}
.taxonomy-dialog[open]{display:flex;flex-direction:column}
.taxonomy-dialog::backdrop{background:#13273577;backdrop-filter:blur(2px)}
.taxonomy-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:13px 17px 10px;border-bottom:1px solid #e0e8eb}
.taxonomy-dialog-head h2{font-size:16px;letter-spacing:-.02em;margin:3px 0}
.taxonomy-dialog-head p{margin:0;font-size:10px}
.taxonomy-dialog-tools{display:flex;align-items:end;flex-wrap:wrap;gap:7px;padding:9px 15px;border-bottom:1px solid #e2e9ed;background:#f7faf9}
.taxonomy-dialog-tools label{display:flex;flex-direction:column;gap:4px;font-size:10px;color:#607b88;flex:0 1 280px}
.taxonomy-dialog-tools select{height:32px;width:100%;padding:5px 7px;font-size:11px}
.taxonomy-dialog-tools button{height:32px;white-space:nowrap}
.taxonomy-dialog-tools output{margin-left:auto;align-self:center;color:#168268;font-size:11px;font-weight:700;white-space:nowrap}
.taxonomy-dialog-scroll{min-height:0;flex:1;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin}
.taxonomy-dialog-matrix{width:100%;min-width:770px;border-collapse:collapse;table-layout:fixed}
.taxonomy-dialog-matrix th{position:sticky;top:0;z-index:1;background:#edf3f4;font-size:10px;color:#4b6876}
.taxonomy-dialog-matrix td,.taxonomy-dialog-matrix th{padding:5px 9px;line-height:1.35;white-space:normal;vertical-align:top}
.taxonomy-dialog-matrix tr{height:27px}
.taxonomy-dialog-matrix tr[hidden]{display:none!important}
.taxonomy-dialog-matrix td:nth-child(1),.taxonomy-dialog-matrix th:nth-child(1){width:52px;color:#8297a2}
.taxonomy-dialog-matrix td:nth-child(2),.taxonomy-dialog-matrix th:nth-child(2){width:195px}
.taxonomy-dialog-matrix td:nth-child(3),.taxonomy-dialog-matrix th:nth-child(3){width:270px}
.taxonomy-dialog-matrix td:last-child,.taxonomy-dialog-matrix th:last-child{width:68px}
.taxonomy-dialog-matrix small{font-size:9px;color:#16816a;margin-right:6px}
.taxonomy-dialog-matrix .matrix-start td{background:#f1f8f5;border-top:2px solid #c8dfd6}
.taxonomy-dialog-matrix .matrix-mid-start:not(.matrix-start) td{border-top:1px solid #cadcd8}
.taxonomy-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 14px;border-top:1px solid #e1e8eb;color:#748b96;font-size:10px}
.taxonomy-print-sheet{display:none}

/* Right-side tool rail occupies a constant reserved gutter on wide screens. */
.jcb-edge-tools{display:none}
@media(min-width:1320px){
  .topbar .tools-right{display:none}
  .main-shell .workspace{padding-right:73px}
  .jcb-edge-tools{display:flex;flex-direction:column;gap:5px;position:fixed;right:9px;top:112px;z-index:45;padding:6px 4px;background:#ffffffee;border:1px solid #e0e9e9;border-radius:10px;box-shadow:0 4px 19px #22372c10}
  .jcb-edge-tools button{width:46px;min-height:37px;font-size:10px;padding:5px 2px;color:#17765f;background:#f6fbf8;border-color:transparent}
  .jcb-edge-tools button[aria-expanded="true"]{background:#d9f0e7;border-color:#a9d5c4;font-weight:750}
}
.panel-quick .main-shell,.panel-360 .main-shell{margin-right:0!important;transform:none!important}
.sidepanel{transform:translate3d(101%,0,0);transition:transform .24s cubic-bezier(.22,.75,.26,1),visibility .24s;contain:layout style}
.panel-quick .sidepanel#jcb-quick,.panel-360 .sidepanel#jcb-360{transform:translate3d(0,0,0)}
@media(max-width:760px){
  .taxonomy-workflow-head{align-items:flex-start;flex-wrap:wrap}
  .taxonomy-cascade{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .taxonomy-cascade label{min-width:0;flex:initial}
  .taxonomy-cascade label:nth-of-type(3){grid-column:1/-1}
  .taxonomy-cascade .cascade-arrow{display:none}
  .taxonomy-cascade .cascade-current{grid-column:1/-1}
  .taxonomy-dialog{width:calc(100vw - 12px);max-width:calc(100vw - 12px);height:94dvh}
  .taxonomy-dialog-tools label{flex:1 1 130px}
  .taxonomy-dialog-tools output{flex-basis:100%;margin:0}
  .taxonomy-dialog-head h2{font-size:14px}
}
@media print{
  body.jcb-taxonomy-print{background:#fff!important}
  body.jcb-taxonomy-print .layout,body.jcb-taxonomy-print .jcb-edge-tools,
  body.jcb-taxonomy-print .sidepanel,body.jcb-taxonomy-print .panel-shade{display:none!important}
  body.jcb-taxonomy-print .taxonomy-print-sheet{display:block!important;color:#182e39}
  body.jcb-taxonomy-print .taxonomy-print-sheet .taxonomy-dialog-head{padding:0 0 8mm;border:0}
  body.jcb-taxonomy-print .taxonomy-print-sheet .taxonomy-dialog-head button,
  body.jcb-taxonomy-print .taxonomy-print-sheet .taxonomy-dialog-actions{display:none!important}
  body.jcb-taxonomy-print .taxonomy-print-sheet .taxonomy-dialog-matrix{min-width:0!important;font-size:9px;width:100%}
  body.jcb-taxonomy-print .taxonomy-print-sheet .taxonomy-dialog-matrix th{position:static}
  body.jcb-taxonomy-print .taxonomy-print-sheet .taxonomy-dialog-matrix tr{break-inside:avoid}
  @page{size:A4 landscape;margin:12mm}
}

/* R06D2C: inset, elevated overlays never change workspace width. */
.sidepanel{top:65px;right:11px;bottom:11px;width:min(394px,calc(100vw - 22px));
  border:1px solid #d7e4e2;border-radius:13px;overflow:hidden;
  box-shadow:0 20px 60px #183b4a2a,0 3px 12px #183b4a13;
  transform:translate3d(calc(100% + 25px),0,0)}
.panel-quick .sidepanel#jcb-quick,.panel-360 .sidepanel#jcb-360{transform:translate3d(0,0,0)}
.panel-quick .main-shell,.panel-360 .main-shell{margin:0!important;transform:none!important}
.topbar-time-form{margin:0;display:flex;min-width:0}
.topbar-time-button{border:1px solid #dce8e5;background:#f5faf8;color:#1c7161;border-radius:8px;
  font-variant-numeric:tabular-nums;font-size:11px;font-weight:750;display:flex;align-items:center;gap:6px;
  padding:6px 9px;white-space:nowrap;cursor:pointer}
.topbar-time-button:hover{background:#eaf8f1;border-color:#b6dbcd}
.topbar-time-button.time-near-lock{background:#fff4e6;border-color:#e9bc83;color:#ab5e14}
.time-dot{width:6px;height:6px;border-radius:50%;background:#24ac83}
.time-near-lock .time-dot{background:#d98924}
.time-extend-label{font-weight:500;font-size:10px;color:#67877b;border-left:1px solid #d3e6df;padding-left:5px}
.session-filter{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 12px;
  background:#f8fbfc;border-bottom:1px solid #e1e9eb;font-size:11px;color:#607985}
.session-filter-buttons{display:flex;gap:3px;flex-wrap:wrap}
.session-filter-buttons button{padding:6px 10px;border-radius:6px;background:#fff;border:1px solid #dce7e9;color:#607985}
.session-filter-buttons button[aria-pressed=true]{background:#e3f3ed;color:#087159;border-color:#aed4c6;font-weight:750}
.session-filter label{display:flex;align-items:center;gap:7px}
.session-filter select{padding:5px;max-width:180px}
.session-filter-count{font-variant-numeric:tabular-nums;color:#3d7469}
tr[data-session-row][hidden]{display:none!important}
.pwa-install-dialog{border:1px solid #d9e7e4;border-radius:17px;padding:0;width:min(470px,calc(100vw - 22px));
  max-height:calc(100dvh - 24px);box-shadow:0 30px 100px #091c3060;color:#213b48;background:#fff}
.pwa-install-dialog:not([open]){display:none}
.pwa-install-dialog::backdrop{background:#13253299}
.pwa-install-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:20px;border-bottom:1px solid #e2edeb}
.pwa-install-heading h2{margin:5px 0 0;font-size:19px}
.pwa-install-body{padding:18px 20px;overflow:auto;font-size:13px;line-height:1.72}
.pwa-install-body ol{padding-left:20px}
.pwa-install-body li{margin:8px 0}
.pwa-install-body [data-pwa-install]{width:100%;padding:12px;margin:7px 0}
.pwa-install-security{padding:11px;border:1px solid #cde6dc;background:#f1faf5;color:#28715c;border-radius:9px;font-size:11px}
.pwa-install-footer{padding:11px 20px 16px;display:flex;justify-content:flex-end}
.pwa-home-action{align-self:center}

/* R06D3A: real, human-to-human collaboration on the unchanged secure shell. */
.attention-chip{display:inline-grid;place-items:center;min-width:23px;height:23px;padding:0 6px;
  border:1px solid #f0ce9c;border-radius:15px;background:#fff3df;color:#985d1a;font-weight:800;font-size:10px}
.quick-summary{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:16px 0 0}
.quick-summary>div{padding:12px;border:1px solid #e2ebec;background:#f8fafb;border-radius:8px;min-width:0}
.quick-summary span{display:block;font-size:10px;color:#7b8e9a;margin-bottom:5px}
.quick-summary strong{display:block;overflow-wrap:anywhere;font-size:12px;color:#215b4d}
.quick-alert{background:#fff9ed;border:1px solid #f1dfc5;border-radius:10px;padding:13px;margin-top:12px}
.quick-alert p{margin:9px 0;font-size:11px;line-height:1.7;color:#896d46}
.quick-alert a{display:inline-flex;border:1px solid #edcda5;border-radius:6px;padding:8px 11px;background:#fff}
.drawer-body.drawer-chat{padding:0!important;overflow:hidden!important;display:flex;flex-direction:column}
.drawer-body.drawer-chat[hidden]{display:none!important}
.drawer-chat-expand{padding:8px 11px;border-top:1px solid #e1eaeb;text-align:right;background:#f9fbfc}
.drawer-chat-expand a{font-size:11px;font-weight:700;color:#19775f}
.chat-page-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:13px;align-items:start}
.chat-page-panel{height:min(750px,calc(100dvh - 140px));min-height:420px;overflow:hidden;min-width:0}
.chat-context-card{border:1px solid var(--line);background:#fff;border-radius:10px;padding:17px;line-height:1.75}
.chat-context-card h2{font-size:14px;margin:0 0 11px;color:#215368}
.chat-context-card p{font-size:11px;color:#5c7480;margin:0 0 13px}
.chat-shell{display:flex;flex-direction:column;height:100%;min-height:0;min-width:0;background:#fff}
.chat-channel-bar{display:flex;gap:6px;padding:10px 12px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #e4eaea;flex:none}
.chat-channel{display:inline-flex;align-items:center;gap:5px;border:1px solid #e0e8eb;background:#f9fbfc;
  border-radius:18px;padding:7px 11px;flex:none;font-size:11px;color:#516b7a;white-space:nowrap}
.chat-channel.active{background:#e8f5ef;border-color:#bbddcd;color:#10735b;font-weight:750}
.chat-channel [data-chat-unread]{display:grid;place-items:center;min-width:17px;height:17px;padding:0 3px;
  font-size:9px;background:#d57b36;color:#fff;border-radius:20px;font-weight:800}
.chat-channel [data-chat-unread][hidden]{display:none}
.chat-room-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 13px 5px;flex:none}
.chat-room-meta strong{font-size:12px;color:#2a5965}
.chat-room-policy{margin:0;padding:1px 13px 10px;color:#738896;font-size:10px;line-height:1.5;flex:none}
.chat-messages{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;padding:12px;
  border-top:1px solid #ecf0f1;background:#f8fafb;display:flex;flex-direction:column;gap:12px}
.chat-placeholder{color:#8a9ba5;font-size:11px;text-align:center;line-height:1.7;margin:auto}
.chat-message{display:flex;flex-direction:column;max-width:88%;align-self:flex-start;gap:4px}
.chat-message.is-own{align-self:flex-end;align-items:flex-end}
.chat-message-meta{display:flex;align-items:center;gap:8px;color:#8194a0;font-size:10px}
.chat-message-meta strong{font-size:10px;color:#476476}
.chat-message-bubble{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;padding:10px 12px;
  border:1px solid #e0e9eb;background:#fff;border-radius:11px 11px 11px 3px;font-size:12px}
.chat-message.is-own .chat-message-bubble{background:#dcf2e9;border-color:#b9dfd0;border-radius:11px 11px 3px 11px}
.chat-older{font-size:11px;border:0;border-bottom:1px solid #e7edef;border-radius:0;padding:8px;color:#257560;background:#f9fbfb;flex:none}
.chat-older[hidden]{display:none}
.chat-compose{display:flex;gap:8px;padding:11px 12px 6px;border-top:1px solid #e3e9ea;align-items:end;flex:none}
.chat-compose textarea{flex:1;min-width:0;max-height:125px;resize:vertical;padding:10px 11px;font-size:12px;border-radius:9px}
.chat-compose .primary{min-height:39px;padding:8px 13px;border-radius:8px}
.chat-feedback{padding:1px 13px 8px;min-height:21px;color:#8a9da5;font-size:10px;flex:none}
.chat-feedback[data-error=true]{color:#b34f42}
@media(max-width:1150px){.chat-page-layout{grid-template-columns:minmax(0,1fr)}.chat-context-card{display:none}}
@media(max-width:760px){
  .attention-chip{min-width:20px;height:20px;font-size:10px}
  .chat-page-head{flex-direction:column;gap:5px}
  .chat-page-panel{height:calc(100dvh - 190px - env(safe-area-inset-bottom));min-height:290px;border-radius:11px}
  .chat-channel-bar{padding:8px}
  .chat-messages{padding:10px}
  .chat-message{max-width:94%}
  .chat-compose{padding:8px}
  .chat-compose textarea{min-height:40px}
  .drawer-chat .chat-room-policy{padding-bottom:6px}
  .drawer-chat .chat-channel-bar{padding:6px}
  .drawer-chat .chat-compose{padding:7px}
}
@media(max-width:920px){
  .sidepanel{right:9px;top:61px;bottom:9px;width:min(390px,calc(100vw - 18px))}
}
@media(max-width:760px){
  html,body{max-width:100%;overflow-x:clip}
  .main-shell{width:100%;min-width:0}
  .topbar{min-width:0}
  .top-actions{gap:5px;min-width:0}
  .breadcrumbs{max-width:31vw}
  .breadcrumbs span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .topbar-time-button{padding:5px 6px;gap:4px;font-size:10px}
  .time-extend-label{font-size:9px;padding-left:4px}
  .user-chip .user-name{display:none}
  .workspace{padding:10px 9px calc(100px + env(safe-area-inset-bottom))!important;min-width:0}
  .panel{max-width:100%}
  .mobile-bottom{height:calc(62px + env(safe-area-inset-bottom));z-index:82;box-shadow:0 -4px 14px #16313a12}
  .mobile-bottom a,.mobile-bottom button{min-width:0;flex:1;padding:7px 2px 5px;min-height:50px}
  .mobile-bottom span{font-size:20px}
  .sidepanel{top:61px;right:7px;bottom:calc(69px + env(safe-area-inset-bottom));
    width:min(390px,calc(100vw - 14px));max-width:calc(100vw - 14px);border-radius:12px;z-index:80}
  .panel-quick .panel-shade,.panel-360 .panel-shade{z-index:75}
  .drawer-head{padding:13px 14px 10px}
  .drawer-body{padding:12px}
  .page-head{align-items:flex-start;gap:7px}
  .page-head .toolbar-row{justify-content:flex-start}
  .taxonomy-matrix-scroll{max-width:100%;overflow:auto}
  .taxonomy-tree-view,.taxonomy-workflow,.taxonomy-overview{min-width:0}
  .taxonomy-overview-actions .toolbar-row{flex-wrap:wrap}
  .taxonomy-cascade{grid-template-columns:1fr}
  .taxonomy-cascade label:nth-of-type(3),.taxonomy-cascade .cascade-current{grid-column:1}
  .taxonomy-cascade .primary,.taxonomy-cascade>.toolbtn{width:100%}
  #devices .table-scroll,#sessions .table-scroll{overflow:visible}
  #devices table,#sessions table,#devices tbody,#sessions tbody{display:block;width:100%}
  #devices thead,#sessions thead{display:none}
  #devices tr,#sessions tr{display:grid;grid-template-columns:1fr;gap:0;margin:9px 8px;padding:8px 11px;
    border:1px solid #dce8e9;border-radius:10px;background:#fff;box-shadow:0 2px 8px #14313c08}
  #devices td,#sessions td{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;
    padding:8px 0;border:0;border-bottom:1px solid #edf2f4;min-width:0;overflow-wrap:anywhere;text-align:right}
  #devices td:last-child,#sessions td:last-child{border-bottom:0}
  #devices td::before,#sessions td::before{content:attr(data-label);font-weight:700;color:#587786;font-size:10px;flex:0 0 71px;text-align:left}
  #devices td:first-child,#sessions td:first-child{display:block;text-align:left}
  #devices td:first-child::before,#sessions td:first-child::before{display:block;margin-bottom:3px}
  #devices .cell-actions{flex-wrap:wrap;justify-content:flex-end}
  #devices .rename-inline{flex-wrap:wrap;justify-content:flex-end}
  #devices .rename-inline input{max-width:170px;min-width:0}
  .session-filter{align-items:flex-start;gap:10px}
  .session-filter label{flex:1 1 100%}
  .pwa-install-dialog{max-height:calc(100dvh - 24px)}
}
@media(max-width:360px){
  .breadcrumbs{max-width:24vw}
  .time-extend-label{display:none}
  .topbar-time-button{padding:5px}
  .user-chip{padding:3px}
}

/* R06D3B: chat is a compact working area, not an oversized empty canvas. */
.chat-howto{flex:none;padding:5px 12px;background:#f8fbfa;border-bottom:1px solid #e4eeec}
.chat-howto summary{cursor:pointer;color:#28735d;font-size:11px;font-weight:750}
.chat-howto p{font-size:11px;color:#5b7180;margin:6px 0;line-height:1.6}
.chat-message.is-mentioned .chat-message-bubble{border-color:#e2c576;box-shadow:inset 3px 0 0 #e6ca79}
.chat-mention{color:#11674e;background:#d7f1e6;border-radius:3px;padding:0 3px;font-weight:800}
.chat-message-bubble a{color:#0863a7;text-decoration:underline;overflow-wrap:anywhere}
.chat-attachment-list{display:flex;flex-direction:column;gap:5px;max-width:100%;align-items:flex-start}
.chat-attachment-link{display:block;max-width:100%;overflow-wrap:anywhere;padding:7px 10px;
  color:#216f5e;border-radius:8px;background:#eaf6f0;border:1px solid #c9e3d7;
  text-decoration:none;font-size:11px;line-height:1.5}
.chat-attachment-link:hover{background:#dff1e8}
.chat-compose{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:8px;row-gap:6px}
.chat-compose textarea{grid-column:1;grid-row:1}
.chat-compose .primary{grid-column:2;grid-row:1}
.chat-attach-row{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;
  color:#617b86;font-size:10px;line-height:1.45}
.chat-file-picker{display:inline-flex;align-items:center;gap:3px;cursor:pointer;font-weight:750;
  color:#216f60;border:1px solid #cfdfdf;border-radius:7px;background:#f5faf8;padding:5px 8px}
.chat-file-picker:hover{background:#e7f4ed}
.chat-attach-row [data-chat-file-summary]{max-width:100%;overflow-wrap:anywhere}
.chat-share-ack{display:flex;align-items:flex-start;gap:5px;width:100%;color:#a25b20;font-size:10px}
.chat-share-ack input{margin:2px 0 0}
.chat-share-ack[hidden],[data-global-chat-unread][hidden]{display:none!important}
.chat-top-notice{display:flex;align-items:center;gap:4px;justify-content:center;min-width:31px;
  color:#247c66;text-decoration:none;font-size:16px}
[data-global-chat-unread]{display:inline-flex;align-items:center;justify-content:center;min-width:17px;
  height:17px;line-height:1;border-radius:10px;padding:0 4px;background:#d94b47;color:#fff;
  font-size:10px;font-weight:800;font-style:normal}
.mobile-bottom a{position:relative}
.mobile-bottom [data-global-chat-unread]{position:absolute;right:12%;top:2px;font-size:9px}
.jcb-edge-tools [data-global-chat-unread]{vertical-align:middle}
@media(max-width:760px){
  .chat-page-panel{height:calc(100dvh - 212px - env(safe-area-inset-bottom));min-height:255px}
  .chat-compose textarea{min-height:43px;max-height:105px}
  .chat-file-picker{padding:4px 6px}
  .chat-attach-row{gap:5px}
  .chat-top-notice{min-width:24px}
  .chat-message{max-width:95%}
}

/* R06D3C: distinct, content-first desktop and mobile workspaces. */
.jcb-hero{display:flex;align-items:stretch;justify-content:space-between;gap:22px;padding:22px 25px;
  background:linear-gradient(125deg,#153546,#1b4b4a 77%,#206c5a);color:#f5fbfb;border-radius:11px;margin-bottom:12px}
.jcb-hero>div:first-child{flex:1;min-width:0}.jcb-kicker{display:block;color:#9bdbc9;font-size:10px;letter-spacing:.14em;font-weight:750;margin-bottom:8px}
.jcb-hero h1{font-size:22px;color:#fff;margin:0 0 8px;line-height:1.4}.jcb-hero p{color:#d4e9e9;font-size:12px;line-height:1.8;margin:0;max-width:880px;word-break:keep-all}
.hero-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:16px}.hero-actions .toolbtn{background:#ffffff12;color:#e9fbf4;border-color:#ffffff4d}
.hero-actions .toolbtn:hover{background:#ffffff24}.hero-actions .primary{background:#d5f4e5;border-color:#d5f4e5;color:#17634e;font-weight:750}
.jcb-hero-progress{width:205px;min-width:205px;display:flex;flex-direction:column;justify-content:center;gap:5px;border-left:1px solid #ffffff30;padding-left:22px}
.jcb-hero-progress>span{font-size:10px;color:#b3d4d1}.jcb-hero-progress strong{font-size:32px;line-height:1.12;font-variant-numeric:tabular-nums}
.jcb-hero-progress strong small{font-size:14px;margin-left:2px;font-weight:500}.jcb-hero-progress>small{font-size:10px;color:#bedbd5;line-height:1.5}
.jcb-meter{height:6px;width:100%;border-radius:10px;background:#ffffff38;overflow:hidden;margin:6px 0}.jcb-meter>span{display:block;height:100%;background:#95e8c1;border-radius:10px}
.overview-stages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin:0 0 12px}.overview-stage{min-width:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;
  padding:11px 13px;background:#fff;border:1px solid #e1e9ed;border-radius:8px}.overview-stage>span{font-size:10px;color:#0d8a6a;font-weight:850}
.overview-stage strong{font-size:12px;color:#294552}.overview-stage small{width:100%;font-size:10px;color:#7a8c97;padding-left:21px}
.jcb-two-col{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr);gap:12px;align-items:start}.jcb-two-col>.panel{min-width:0}
.overview-link-list{display:grid;gap:0;padding:3px 13px}.overview-link-list>a{display:flex;align-items:center;gap:11px;border-bottom:1px solid #edf1f2;padding:11px 5px;color:#284653;min-width:0}
.overview-link-list>a:last-child{border-bottom:0}.overview-link-list>a:hover{background:#f7fbfa}.overview-link-list>a>span:nth-child(2){flex:1;min-width:0}
.overview-link-list strong{display:block;font-size:12px}.overview-link-list small{display:block;font-size:10px;color:#7a8b96;margin-top:3px;line-height:1.5}
.overview-link-list b{font-size:16px;color:#7abda7}.overview-link-icon{display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;background:#ebf6f1;
  border:1px solid #d3ece0;border-radius:7px;color:#13816a;font-size:10px;font-weight:850}
.overview-mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:13px}.overview-mini-stats span{padding:11px 7px;text-align:center;border:1px solid #e3ece9;background:#f8fbfa;border-radius:7px}
.overview-mini-stats small{display:block;font-size:9px;color:#788e95}.overview-mini-stats strong{display:block;color:#177663;font-size:20px;margin-top:5px}
.overview-watch h3{padding:4px 13px;font-size:11px;color:#566b78;margin:0}.overview-due-list{padding:4px 12px 13px}.overview-due-list>a,.overview-due-list>div{display:flex;align-items:center;gap:8px;padding:9px 3px;border-bottom:1px solid #eef2f2;min-width:0;font-size:11px}
.overview-due-list>a:last-child{border-bottom:0}.overview-due-list time{font-size:10px;color:#b37637;font-weight:750;white-space:nowrap}
.overview-due-list>a>span,.overview-due-list>div>span{flex:1;min-width:0;color:#365564}.overview-due-list small{font-size:10px;color:#8496a0;white-space:nowrap}
.overview-empty{padding:13px 8px;color:#748a94;font-size:11px;line-height:1.7}.overview-privacy{padding:19px 16px;background:#f9fbfb;color:#47616e;line-height:1.8}
.overview-privacy strong{color:#1a6a57}.overview-privacy p{margin:6px 0;font-size:11px}.overview-taxonomy-compact .panelhead>div{min-width:0}
.overview-taxonomy-compact .panelhead p{margin:3px 0 0}.overview-taxonomy-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}
.overview-taxonomy-grid>a{display:flex;align-items:center;flex-wrap:wrap;gap:6px 9px;border:1px solid #dfe9e7;border-radius:8px;padding:12px;background:#fbfdfc;min-width:0}
.overview-taxonomy-grid>a:hover{border-color:#99cfb9;background:#edf8f3}.overview-taxonomy-grid>a>span{font-size:10px;color:#167b63;font-weight:850}
.overview-taxonomy-grid>a>strong{flex:1;color:#274854;font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.overview-taxonomy-grid>a>small{font-size:10px;color:#8b9fa4;width:100%}
.home-detail-drawer{margin-bottom:12px;border:1px solid #d8e5e8;background:#fff;border-radius:8px;overflow:hidden}
.home-detail-drawer>summary{cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 16px;list-style:none;color:#365568}
.home-detail-drawer>summary::-webkit-details-marker{display:none}.home-detail-drawer>summary strong{display:block;font-size:12px}.home-detail-drawer>summary small{display:block;color:#8496a0;margin-top:2px;font-size:10px}
.home-detail-drawer[open]>summary{border-bottom:1px solid #e2ebed}.home-detail-actions{display:flex;justify-content:flex-end;gap:7px;padding:10px}
.home-detail-drawer>.panel{margin:0 10px 10px}.jcb-page-hero{background:linear-gradient(110deg,#183647,#295a58);min-height:145px}
.jcb-page-hero-hint,.research-flow-caption{flex:0 0 200px;align-self:stretch;display:flex;flex-direction:column;justify-content:center;gap:5px;border-left:1px solid #ffffff30;padding-left:18px}
.jcb-page-hero-hint span{font-size:10px;color:#b7d6d3}.jcb-page-hero-hint strong,.research-flow-caption strong{font-size:18px;color:#f1fcf7}
.jcb-page-hero-hint small,.research-flow-caption span{font-size:10px;color:#c4dcda;line-height:1.6}
.page-workflow{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.page-workflow .overview-stage{padding:9px 12px}
.jcb-relations .panelhead p,.jcb-section-grid .muted{margin:3px 0}.relation-map{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;padding:20px 24px}
.relation-node{position:relative;display:flex;flex-direction:column;gap:3px;padding:17px 13px;border:1px solid #d9e7e7;background:#f8fbfa;border-radius:9px;min-width:0;text-align:center}
.relation-node:not(:last-child)::after{content:'→';position:absolute;color:#9acabd;font-size:21px;right:-17px;top:37%}.relation-node small{color:#238b70;font-size:10px}
.relation-node strong{color:#1f4751;font-size:13px}.relation-node span{color:#79909b;font-size:10px}
.jcb-section-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;padding:12px}.jcb-section-card{display:flex;flex-direction:column;min-height:164px;border:1px solid #e0e8e9;border-radius:8px;padding:13px;background:#fff;min-width:0}
.jcb-section-head{display:flex;align-items:center;gap:8px}.jcb-section-head span{display:grid;place-items:center;width:25px;height:25px;border-radius:6px;background:#eaf6f0;color:#187d65;font-weight:850;font-size:10px}
.jcb-section-head strong{flex:1;color:#2b4a56;font-size:12px}.jcb-section-head small{color:#7e96a0;font-size:9px}
.jcb-section-card p{font-size:11px;color:#5b7480;line-height:1.7;margin:10px 0}.jcb-fieldline{font-size:10px;color:#8a989f;margin-bottom:13px}
.jcb-section-foot{margin-top:auto;padding-top:8px;border-top:1px solid #edf1f2;font-size:10px;color:#97a8ad}.jcb-section-foot a{color:#178268;font-weight:700}
.work-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}.work-status-grid>div{background:#fff;padding:14px;border:1px solid #e0e9eb;border-radius:8px}
.work-status-grid span{display:block;color:#718996;font-size:10px}.work-status-grid strong{display:block;color:#146d5e;font-size:23px;margin:5px 0}.work-status-grid small{color:#8598a1;font-size:10px}
.jcb-dense-table th,.jcb-dense-table td{padding:7px 10px;line-height:1.5}.jcb-dense-table td a{display:inline-block;max-width:100%}
.document-plan{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:14px}.document-plan span{padding:12px 9px;border:1px dashed #bbd4d0;background:#f8fbfa;border-radius:7px;text-align:center;font-size:11px;color:#33645b}
.quick-drawer-actions{display:flex;align-items:center;gap:7px}.chat-self-channel{border-color:#b5dccc!important;background:#f0faf5!important}
.ai-plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ai-plan-grid>.panel{min-width:0}.ai-plan-grid .context-note{line-height:1.85}.ai-plan-grid .context-note p{margin:5px 0 10px}
.research-hero{min-height:130px}.research-flow-caption{flex-basis:260px}.research-hero h1{font-size:20px}
@media(max-width:1250px){.overview-taxonomy-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.jcb-section-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:930px){.jcb-two-col{grid-template-columns:1fr}.jcb-hero{padding:19px 20px}.relation-map{gap:12px;padding:14px}.overview-stages{gap:5px}.overview-stage{padding:10px 8px}.overview-stage strong{font-size:11px}}
@media(max-width:760px){.jcb-hero{padding:18px 15px;gap:12px;flex-direction:column}.jcb-hero h1{font-size:18px}.jcb-hero p{font-size:11px;line-height:1.7}
  .jcb-hero-progress,.jcb-page-hero-hint,.research-flow-caption{width:100%;min-width:0;flex-basis:auto;border-left:0;border-top:1px solid #ffffff30;padding:12px 0 0}
  .jcb-hero-progress strong{font-size:25px}.hero-actions{margin-top:12px}.hero-actions>a{min-height:31px;display:inline-flex;align-items:center}
  .overview-stages{grid-template-columns:repeat(5,minmax(130px,1fr));overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px}
  .overview-stage{scroll-snap-align:start}.overview-stage small{padding-left:0}.overview-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .overview-taxonomy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:9px}.overview-taxonomy-grid>a{padding:10px 8px}
  .overview-purpose .panelhead,.overview-taxonomy-compact .panelhead{align-items:flex-start}.overview-taxonomy-compact .panelhead{flex-wrap:wrap}
  .relation-map{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.relation-node{padding:13px 9px}.relation-node::after{display:none}
  .jcb-section-grid,.work-status-grid,.ai-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.jcb-section-grid{padding:9px;gap:7px}
  .jcb-section-card{padding:11px;min-height:178px}.jcb-section-head{flex-wrap:wrap}.jcb-section-head small{display:none}
  .document-plan{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px}.chat-self-channel{white-space:nowrap}}
@media(max-width:390px){.jcb-section-grid,.work-status-grid{grid-template-columns:1fr}.jcb-section-card{min-height:125px}.overview-taxonomy-grid{grid-template-columns:1fr}}
