.wc-rail-toggle{display:none;}body.wc-shell{--rail-width:240px;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;}.wc-shell .rail{width:240px;padding:22px 10px 12px;gap:18px;background:#f8f8f8;align-items:stretch;}.wc-shell .rail .brand{display:flex;align-items:center;gap:9px;height:auto;padding:0 9px;color:inherit;}.wc-shell .brand .isaac-mark{width:28px;height:28px;}.wc-shell .brand-word{font-size:19px;font-weight:650;display:inline;}.wc-shell .rail #nav-items{gap:3px;flex:0 0 auto;}.wc-shell .rail .nav-link{display:flex;flex-direction:row;align-items:center;gap:11px;padding:11px 10px;min-height:43px;border-radius:8px;font-size:14px;color:#252525;}.wc-shell .rail .nav-link svg{width:17px;height:17px;}.wc-shell .rail .nav-link.active,.wc-shell .rail .nav-link:hover{background:#ededed;color:#1e1e1e;}.wc-shell .rail .nav-link.active{box-shadow:none;}.wc-shell .rail .rail-home{margin-top:0;font-size:12px;}.wc-shell .workspace{margin-left:240px;background:#fff;min-width:0;}.wc-shell .topbar{background:#fff;border-bottom:1px solid #ededed;min-height:58px;}.wc-shell .brandline>strong{font-size:13px;font-weight:550;}.wc-shell #main{background:#fff;}.wc-shell .footer{background:#fff;}.wc-space-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:11px 24px;border-bottom:1px solid #ededed;background:#fff;}.wc-space-nav[hidden]{display:none;}.wc-space-nav a{font-size:12px;padding:5px 8px;border-radius:6px;color:#666;}.wc-space-nav a[aria-current="page"],.wc-space-nav a:hover{background:#f2f2f2;color:#202020;}.wc-recent{overflow:auto;min-height:120px;flex:1;padding:5px 1px;}.wc-history-row{display:flex;align-items:center;min-width:0;gap:3px;padding:3px 2px;border-radius:6px;}.wc-history-row:hover,.wc-history-row.active{background:#ececec;}.wc-history-row>a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;padding:8px 7px;color:#666;font-size:12px;}.wc-history-row button{background:none;border:0;color:#777;font-size:14px;padding:5px;}.wc-history-title,.wc-history-folder-head{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#767676;padding:5px 7px;gap:5px;}.wc-history-title button,.wc-history-tools button,.wc-history-folder-head button,.wc-recent>button{background:none;border:0;color:inherit;font-size:12px;padding:4px 6px;}.wc-history-title button{font-size:19px;}.wc-history-tools{display:flex;align-items:center;gap:3px;margin:2px 7px 7px;}.wc-history-tools input{width:100%;min-width:0;font-size:11px;border:1px solid #e5e5e5;background:transparent;padding:5px 6px;border-radius:5px;}.wc-history-tools button{white-space:nowrap;}.wc-history-empty{font-size:11px;color:#888;line-height:1.7;margin:7px;}.wc-recent details{position:relative;}.wc-recent summary{list-style:none;padding:3px 6px;cursor:pointer;color:#777;}.wc-recent summary::-webkit-details-marker{display:none;}.wc-history-row,.wc-history-folder-head{display:grid;grid-template-columns:minmax(0,1fr) auto;}.wc-recent details[open]{display:contents;}.wc-recent details[open]>summary{grid-column:2;grid-row:1;}.wc-history-menu{position:static;grid-column:1/-1;width:auto;padding:9px;background:#fff;border:1px solid #e5e5e5;box-shadow:0 5px 15px #00000012;border-radius:7px;display:grid;gap:5px;font-size:11px;}.wc-recent .wc-history-menu button{text-align:left;min-height:32px;padding:6px;}.wc-history-menu label,.wc-history-menu small{font-size:10px;color:#777;}.wc-history-menu select{display:block;width:100%;border:1px solid #eee;padding:5px;border-radius:5px;margin-top:5px;font-size:11px;}.wc-history-folder-head strong{font-weight:550;font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.wc-history-selected{outline:2px solid #666;outline-offset:3px;}.wc-rail-account{display:flex;gap:8px;align-items:center;padding:12px 9px 3px;border-top:1px solid #e5e5e5;color:inherit;font-size:12px;}.wc-account-avatar{display:grid;place-items:center;border-radius:50%;background:#e8e8e8;color:#666;width:28px;height:28px;}.wc-history-folder{margin-top:8px;}.wc-history-folder button{background:none;border:0;padding:2px 5px;}.wc-shell .ag-page{grid-template-columns:minmax(0,1fr);background:#fff;}.wc-shell .ag-history{display:none;}.wc-shell .ag-chat{background:#fff;}.wc-shell .ag-header{border:0;justify-content:flex-end;min-height:34px;padding:3px 22px;}.wc-shell .ag-tabs{display:none;}.wc-shell .ag-welcome>img,.wc-shell .ag-welcome>p,.wc-shell .ag-welcome>a{display:none;}.wc-shell .ag-welcome h1{color:#252525;font-weight:600;}.wc-shell .ag-composer-tools>.ag-skill-label,.wc-shell .ag-composer-tools>.ag-thinking,.wc-shell .ag-composer-tools>.ag-model{display:none;}.wc-conversation-options{position:relative;font-size:12px;color:#777;}.wc-conversation-options>summary{list-style:none;cursor:pointer;padding:5px 8px;border:1px solid #e5e5e5;border-radius:7px;}.wc-conversation-option-grid{position:absolute;bottom:calc(100% + 8px);left:0;display:grid;gap:9px;width:265px;background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:13px;box-shadow:0 8px 30px #00000012;z-index:20;}.wc-conversation-option-grid>button{font:inherit;background:none;border:0;text-align:left;padding:6px;color:#555;}.wc-conversation-option-grid>button[aria-pressed="true"]{background:#f3f3f3;border-radius:5px;color:#222;}.wc-conversation-option-grid .ag-skill-label,.wc-conversation-option-grid .ag-thinking,.wc-conversation-option-grid .ag-model{display:flex;}.wc-conversation-option-grid .ag-skill-label select{width:100%;font-size:12px;}.wc-conversation-option-grid .ag-model{font-size:11px;}:root[data-wa-mode="dark"] .wc-shell,:root[data-wa-mode="dark"] .wc-shell .workspace,:root[data-wa-mode="dark"] .wc-shell #main,:root[data-wa-mode="dark"] .wc-shell .topbar,:root[data-wa-mode="dark"] .wc-space-nav,:root[data-wa-mode="dark"] .wc-shell .footer{background:#171717;color:#eee;}:root[data-wa-mode="dark"] .wc-shell .rail{background:#202020;}:root[data-wa-mode="dark"] .wc-shell .rail .nav-link{color:#eee;}:root[data-wa-mode="dark"] .wc-shell .rail .nav-link.active,:root[data-wa-mode="dark"] .wc-shell .rail .nav-link:hover{background:#333;}@media(max-width:760px){body.wc-shell{--rail-width:170px;}.wc-shell .rail{width:170px;padding:15px 7px;}.wc-shell .workspace{margin-left:170px;}.wc-shell .rail .nav-link{font-size:12px;padding:10px 8px;gap:7px;}.wc-shell .brand-word{font-size:17px;}.wc-space-nav{padding:9px 12px;}.wc-shell .topbar{padding:10px 13px;}.wc-shell .brandline>strong{display:none;}}@media(max-width:600px){body.wc-shell{--rail-width:56px;}.wc-shell .rail{width:56px;padding:12px 5px;gap:12px;}.wc-shell .workspace{margin-left:56px;}.wc-shell .rail .brand{padding:0;justify-content:center;}.wc-shell .brand-word{display:none;}.wc-shell .brand .isaac-mark{display:block;width:24px;height:24px;}.wc-rail-toggle{display:block;align-self:center;width:34px;height:29px;background:none;border:1px solid #ddd;border-radius:6px;line-height:1;font-size:16px;}.wc-shell .rail .nav-link{justify-content:center;gap:0;padding:12px 5px;}.wc-shell .rail .nav-link .nav-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}.wc-shell .rail .nav-link svg{width:18px;height:18px;}.wc-shell .wc-recent,.wc-shell .wc-rail-account,.wc-shell .rail .rail-home{display:none;}.wc-nav-expanded .rail{width:min(280px,calc(100vw - 30px));align-items:stretch;box-shadow:8px 0 30px #00000020;padding:16px 10px;}.wc-nav-expanded .rail .brand{justify-content:flex-start;gap:8px;padding:0 7px;}.wc-nav-expanded .brand-word{display:inline;}.wc-nav-expanded .rail .nav-link{justify-content:flex-start;gap:11px;padding:11px 10px;}.wc-nav-expanded .rail .nav-link .nav-label{position:static;width:auto;height:auto;margin:0;clip:auto;overflow:visible;font-size:13px;}.wc-nav-expanded .wc-recent{display:block;}.wc-nav-expanded .wc-rail-account{display:flex;}.wc-nav-expanded .rail .rail-home{display:flex;}.wc-nav-expanded .wc-rail-toggle{position:absolute;right:13px;top:14px;}.wc-shell .ag-header{padding:3px 10px;}.wc-shell .ag-composer-tools{gap:6px;flex-wrap:wrap;}.wc-conversation-options>summary{font-size:11px;padding:5px 6px;}.wc-conversation-option-grid{width:230px;}}

.wc-shell #nav-items .nav-count,.wc-shell #workspace-directory .nav-count{position:static;border:1px solid #ddd;background:#fff;color:#666;border-radius:4px;font-size:10px;padding:0 4px;margin-left:5px;box-shadow:none;}.wc-shell #nav-items .nav-count{margin-left:auto;}[data-nav-count][hidden]{display:none!important;}

/* Isaac public surface migration: visual tokens only. Keep the local shell's
   history, directory, permissions and compact navigation behavior intact. */
body.wc-shell{
  --rail-width:196px;
  background:var(--brand-paper);
  color:var(--brand-ink);
}
.wc-shell .rail{
  width:var(--rail-width);
  padding:24px 14px 18px;
  gap:20px;
  background:var(--brand-paper);
  border-right:1px solid var(--brand-border);
}
.wc-shell .rail .brand{
  gap:9px;
  height:40px;
  padding:0 10px;
  color:var(--brand-ink);
}
.wc-shell .brand .isaac-mark{
  width:34px;
  height:34px;
  content:url("./isaac-front-192.png");
}
.wc-shell .brand-word{
  color:var(--brand-ink);
  font-size:18px;
  font-weight:750;
  letter-spacing:1px;
}
.wc-shell .rail #nav-items{
  gap:6px;
}
.wc-shell .rail .nav-link{
  min-height:44px;
  padding:11px 12px;
  gap:10px;
  border-radius:10px;
  color:var(--brand-text-muted);
  font-size:13px;
  line-height:1.4;
  transition:background-color 160ms ease,color 160ms ease,box-shadow 160ms ease;
}
.wc-shell .rail .nav-link svg{
  width:19px;
  height:19px;
}
.wc-shell .rail .nav-link:hover{
  background:var(--brand-soft);
  color:var(--brand-action-hover);
}
.wc-shell .rail .nav-link.active{
  background:var(--brand-action);
  color:var(--brand-on-action);
  box-shadow:0 5px 12px rgba(var(--brand-accent-rgb),.145);
}
.wc-shell #nav-items .nav-count,
.wc-shell #workspace-directory .nav-count{
  border-color:var(--brand-border);
  background:var(--brand-surface);
  color:var(--brand-action);
}
.wc-shell .workspace{
  margin-left:var(--rail-width);
  width:calc(100% - var(--rail-width));
  background:var(--brand-paper);
}
.wc-shell .topbar{
  height:79px;
  min-height:79px;
  padding:0 36px;
  background:var(--brand-paper);
  border-bottom:1px solid var(--brand-border);
}
.wc-shell .brandline>strong{
  color:var(--brand-ink);
  font-size:17px;
  font-weight:600;
  letter-spacing:1px;
}
.wc-shell #main,
.wc-shell .footer{
  background:var(--brand-paper);
}
.wc-shell .footer{
  color:var(--brand-text-muted);
}
.wc-space-nav{
  padding:11px 36px;
  border-bottom-color:var(--brand-border);
  background:var(--brand-paper);
}
.wc-space-nav a{
  color:var(--brand-text-muted);
}
.wc-space-nav a[aria-current="page"],
.wc-space-nav a:hover{
  background:var(--brand-soft);
  color:var(--brand-action);
}
.wc-rail-account{
  border-top-color:var(--brand-border);
  color:var(--brand-text-secondary);
}
.wc-account-avatar{
  background:var(--brand-surface-muted);
  color:var(--brand-text-secondary);
}
.wc-shell .rail-home{
  color:var(--brand-text-muted);
}
.wc-shell .rail-home:hover{
  color:var(--brand-action);
}
.wc-shell .wc-history-row:hover,
.wc-shell .wc-history-row.active{
  background:var(--brand-soft);
}
.wc-shell .wc-history-menu{
  background:var(--brand-surface);
  border-color:var(--brand-border);
  box-shadow:0 8px 24px rgba(var(--brand-shadow-rgb),.12);
}
@media (max-width:999px){
  body.wc-shell{--rail-width:148px;}
  .wc-shell .rail{padding:20px 8px 16px;gap:20px;}
  .wc-shell .rail .nav-link{padding:10px 9px;font-size:12px;gap:7px;}
  .wc-space-nav{padding:10px 24px;}
}
@media (max-width:760px){
  /* The local history toggle remains the source of truth for compact mode. */
  body.wc-shell{--rail-width:170px;}
  .wc-shell .rail{padding:15px 7px;}
  .wc-shell .rail .nav-link{padding:10px 8px;font-size:12px;gap:7px;}
  .wc-shell .brand-word{font-size:17px;}
  .wc-space-nav{padding:9px 12px;}
  .wc-shell .topbar{padding:10px 13px;}
  .wc-shell .brandline>strong{font-size:15px;}
}
@media (max-width:600px){
  body.wc-shell{--rail-width:56px;}
  .wc-shell .rail{padding:12px 5px;gap:12px;}
  .wc-shell .rail .brand{padding:0;justify-content:center;}
  .wc-shell .brand-word{display:none;}
  .wc-shell .brand .isaac-mark{width:24px;height:24px;}
  .wc-shell .rail .nav-link{justify-content:center;gap:0;padding:12px 5px;}
}
