/* Internal home gate: presentation only; existing routes and auth APIs remain unchanged. */
body.auth-gate-pending .public-platform-shell,
body.auth-gate-pending .internal-home,
body.is-guest .public-platform-shell,
body.is-guest .internal-home {
  display: none;
}

/* Jinshi image input retains the legacy screenshot/refine workflow in the new shell. */
.jinshi-query-actions,.jinshi-refine-panel>div:last-child { display:flex; align-items:center; gap:10px; margin-top:12px; color:#718096; font-size:12px; }
.jinshi-query-actions span,.jinshi-refine-panel>div:last-child span { flex:1 1 auto; min-width:0; }
.jinshi-query-actions button,.jinshi-refine-panel button { min-height:38px; border:1px solid #cfd9ec; border-radius:8px; padding:0 12px; background:#fff; color:#3156c8; font:700 13px system-ui,sans-serif; cursor:pointer; }
.jinshi-query-actions #jinshiLookupButton,.jinshi-refine-panel #jinshiRefineImageSubmit { border-color:#3156c8; background:#3156c8; color:#fff; }
.jinshi-query-actions button:disabled,.jinshi-refine-panel button:disabled { opacity:.55; cursor:not-allowed; }
.jinshi-image-preview { margin-top:12px; }
.jinshi-refine-panel { display:grid; gap:12px; border:1px solid #dfe7f1; border-radius:12px; padding:16px; background:#f8faff; }
.jinshi-refine-panel[hidden] { display:none !important; }
.jinshi-refine-panel header b { display:block; color:#2d405d; font-size:14px; }
.jinshi-refine-panel header span { display:block; margin-top:4px; color:#718096; font-size:12px; line-height:1.5; }
.jinshi-variant-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:8px; margin-top:12px; }
.jinshi-variant-list div { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 10px; border-radius:8px; background:#f7f9fc; color:#526178; font-size:12px; }
.jinshi-variant-list code { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
@media (max-width:680px) { .jinshi-query-actions,.jinshi-refine-panel>div:last-child { align-items:stretch; flex-direction:column; }.jinshi-query-actions button,.jinshi-refine-panel button { width:100%; }.jinshi-query-actions span,.jinshi-refine-panel>div:last-child span { order:-1; } }

/* Shared image composer used by image processing and product selection. */
.shared-assistant .shared-assistant-preview { display:flex; align-items:center; gap:10px; width:min(280px,100%); min-height:84px; }
.shared-assistant .shared-assistant-preview[hidden] { display:none !important; }
.shared-assistant .shared-assistant-preview-stage { position:relative; display:block; width:112px; min-width:112px; height:84px; overflow:hidden; border:1px solid #cfd7e5; border-radius:10px; background:#f5f6f8; }
.shared-assistant .shared-assistant-preview-stage img { display:block; width:100%; height:100%; object-fit:cover; }
.shared-assistant .shared-assistant-preview-stage button { position:absolute; top:5px; right:5px; display:grid; width:24px; min-width:24px; height:24px; min-height:24px; padding:0; color:#3156c8; background:#fff; border-radius:50%; box-shadow:0 1px 3px rgba(17,35,59,.18); font-size:0; place-items:center; }
.shared-assistant .shared-assistant-preview-stage button::after { content:"×"; font-size:20px; line-height:1; }
.shared-assistant .shared-assistant-preview-name { min-width:0; color:#617087; font-size:12px; font-weight:650; line-height:1.45; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shared-assistant .shared-assistant-compose #selectionAssistantAttach { color:#3156c8; }
@media (max-width:680px) { .shared-assistant .shared-assistant-preview { width:100%; }.shared-assistant .shared-assistant-preview-name { max-width:calc(100vw - 190px); } }

/* Pricing strategy confirmation: a deliberate, accessible action before submitting. */
.internal-confirm-dialog { width:min(440px,calc(100% - 32px)); margin:auto; padding:0; color:#243247; background:#fff; border:1px solid #dfe6ef; border-radius:14px; box-shadow:0 18px 48px rgba(26,45,72,.18); }
.internal-confirm-dialog::backdrop { background:rgba(18,33,54,.3); }
.internal-confirm-dialog form { padding:22px; }
.internal-confirm-dialog header,.internal-confirm-dialog footer { display:flex; align-items:center; }
.internal-confirm-dialog header { justify-content:space-between; gap:18px; }
.internal-confirm-dialog header p { margin:0 0 5px; color:#78879a; font-size:11px; font-weight:700; letter-spacing:.08em; }
.internal-confirm-dialog h3 { margin:0; color:#1e2b3d; font-size:18px; line-height:1.35; }
.internal-confirm-dialog > form > p { margin:16px 0 22px; color:#617087; font-size:14px; line-height:1.7; }
.internal-confirm-dialog footer { justify-content:flex-end; gap:10px; }
.internal-confirm-dialog button { min-height:42px; border-radius:10px; font:inherit; font-weight:650; cursor:pointer; }
.internal-confirm-dialog header button { display:inline-grid; width:34px; min-width:34px; min-height:34px; padding:0; color:#65758a; background:#f4f7fa; border:1px solid #e0e7ef; font-size:22px; line-height:1; place-items:center; }
.internal-confirm-dialog footer button { padding:0 17px; color:#53647a; background:#fff; border:1px solid #d6e0eb; }
.internal-confirm-dialog footer #pricingUpdateConfirm { color:#fff; background:#3156c8; border-color:#3156c8; }
.internal-confirm-dialog button:hover { filter:brightness(.97); }
.internal-confirm-dialog button:focus-visible { outline:2px solid #3156c8; outline-offset:2px; }
@media (max-width:520px) { .internal-confirm-dialog form { padding:18px; }.internal-confirm-dialog footer { display:grid; grid-template-columns:1fr 1fr; }.internal-confirm-dialog footer button { width:100%; padding:0 10px; } }

body.is-guest #loginModal {
  display: grid;
  background: #f5f6f8;
}

body.is-guest #loginModal .close {
  display: none;
}

body.is-signed-in .public-platform-shell > main,
body.is-signed-in .public-platform-shell > .site-footer,
body.is-signed-in .public-platform-shell > .ai-panel,
body.is-signed-in .public-platform-shell > .platform-nav {
  display: none;
}

body.is-signed-in .internal-home {
  display: flex;
  height: 100dvh;
  min-height: 0;
  box-sizing: border-box;
  flex-direction: column;
  overflow: hidden;
  padding: 0 clamp(24px, 4vw, 64px) 24px;
  background: #f5f6f8;
}

.internal-home-header {
  display: flex;
  width: 100%;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e2e6ec;
}

.internal-home-kicker {
  margin: 0;
  color: #0f8a7b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

.internal-home-header h1 {
  margin: 6px 0 0;
  color: #152033;
  font-size: 28px;
  line-height: 1.2;
}

.internal-home-return {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #cfd7e5;
  border-radius: 8px;
  padding: 0 12px;
  color: #3156c8;
  font-size: 13px;
  font-weight: 800;
}

.internal-home-return:hover {
  border-color: #3156c8;
  background: #e9eeff;
}

.internal-home-return span { margin-left: 6px; }

.internal-home-shell { display:grid; width:100%; max-width:1440px; min-height:0; flex:1 1 auto; grid-template-columns:238px minmax(0,1fr); gap:24px; margin:24px auto 0; overflow:hidden; }
.internal-workspace-nav { min-height:0; padding:10px 0; border-right:1px solid #e2e6ec; overflow:auto; }
.internal-workspace-nav > p { margin:0 16px 10px; color:#8793a5; font-size:12px; font-weight:800; }
.internal-workspace-nav button,.internal-workspace-nav a { display:flex; width:calc(100% - 16px); min-height:64px; box-sizing:border-box; align-items:center; gap:10px; margin:4px 8px; border:0; border-radius:10px; padding:10px 12px; background:transparent; color:#334155; text-align:left; text-decoration:none; cursor:pointer; }
.internal-workspace-nav button:hover,.internal-workspace-nav a:hover,.internal-workspace-nav button.active { background:#e9eeff; color:#3156c8; }
.internal-workspace-nav b { color:#3156c8; font-size:13px; }
.internal-workspace-nav span { display:grid; gap:3px; font-size:14px; font-weight:800; }
.internal-workspace-nav small { color:#8793a5; font-size:11px; font-weight:600; }
.internal-workspace-nav i { margin-left:auto; color:#8793a5; font-style:normal; }
.internal-workspace-nav-spacer { flex:1 1 auto; min-height:220px; }
.internal-workspace-content { min-width:0; min-height:0; overflow:hidden; }
[data-internal-panel][hidden] { display: none !important; }
.shared-assistant {
  display: grid;
  width:100%;
  height:100%;
  min-height:0;
  margin:0;
  grid-template-rows:auto minmax(0,1fr) auto auto;
  border: 1px solid #e2e6ec;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17,35,59,.05);
  overflow: hidden;
}

.shared-assistant-topline { display:flex; min-height:56px; align-items:center; justify-content:space-between; gap:16px; padding:0 20px; border-bottom:1px solid #e9edf2; color:#152033; font-size:14px; font-weight:800; }
.shared-assistant-status { color:#64748b; font-size:12px; font-weight:700; }
.shared-assistant-status.is-ready { color:#0f8a7b; }
.shared-assistant-messages { display:flex; min-height:0; flex-direction:column; gap:14px; padding:24px clamp(20px,4vw,56px); overflow-y:auto; overscroll-behavior:contain; background:#fcfcfd; scrollbar-gutter:stable; }
.shared-assistant-empty { margin:auto; color:#8793a5; font-size:14px; }
.shared-message { width:fit-content; max-width:min(88%,880px); color:#243247; font-size:15px; line-height:1.65; white-space:pre-wrap; }
.shared-message:not(.user):not(.system) { align-self:flex-start; padding:4px 0; border:0; }
.shared-message.user { align-self:flex-end; border:0; border-radius:14px; padding:10px 14px; background:#3156c8; color:#fff; }
.shared-message.system { align-self:center; color:#6b7789; font-size:12px; }
.shared-message a { display:inline-flex; margin-top:8px; color:#3156c8; font-weight:750; text-decoration:none; }.shared-message.user a{color:#fff;text-decoration:underline}
.shared-assistant-job { display:flex; align-items:center; gap:10px; padding:10px 20px; border-top:1px solid #e9edf2; color:#5f6b7a; font-size:12px; }
.shared-assistant-job[hidden] { display:none !important; }
.shared-assistant-job button { min-height:30px; border:1px solid #cfd7e5; border-radius:7px; padding:0 10px; background:#fff; color:#3156c8; font-weight:700; }
.shared-assistant-compose { display:flex; flex-direction:column; gap:8px; margin:12px 16px 16px; padding:12px 14px 10px; border:1px solid #d7dce4; border-radius:16px; background:#fff; box-shadow:0 1px 2px rgba(17,35,59,.05); }
.shared-assistant-compose textarea { width:100%; min-height:52px; max-height:96px; box-sizing:border-box; resize:none; border:0; padding:3px 2px; background:transparent; color:#152033; font:16px/1.5 system-ui,sans-serif; }
.shared-assistant-compose textarea::placeholder { color:#8793a5; }.shared-assistant-compose textarea:focus { outline:0; }
.shared-assistant-compose-actions { display:flex; align-items:center; min-height:42px; gap:10px; }
.shared-assistant-compose button { min-width:42px; min-height:42px; border:0; border-radius:50%; background:transparent; color:#3156c8; font:24px/1 system-ui; font-weight:500; }.shared-assistant-compose #sharedAssistantSend { margin-left:auto; background:#3156c8;color:#fff;font-size:0; }.shared-assistant-compose #sharedAssistantSend:after{content:'↑';font-size:27px}.shared-assistant-compose button:disabled { cursor:not-allowed; opacity:.42; }
.shared-assistant-compose-hint { color:#7a8798; font-size:12px; }
#sharedAssistantPreview { position:relative; width:112px; height:84px; flex:0 0 auto; overflow:hidden; border:1px solid #cfd7e5; border-radius:10px; background:#f5f6f8; }#sharedAssistantPreview[hidden]{display:none!important}#sharedAssistantPreview img{width:100%;height:100%;object-fit:cover}#sharedAssistantPreview #sharedAssistantRemove{position:absolute;right:5px;top:5px;min-width:24px;min-height:24px;background:#fff;color:#3156c8;font-size:0;box-shadow:0 1px 3px #0002}#sharedAssistantPreview #sharedAssistantRemove:after{content:'×';font-size:20px}

.morning-workspace { border:1px solid #e2e6ec; border-radius:14px; background:#fff; box-shadow:0 1px 2px rgba(17,35,59,.05); overflow:hidden; }
.morning-workspace > header { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px 24px; border-bottom:1px solid #e9edf2; }
.morning-workspace > header p { margin:0; color:#0f8a7b; font-size:12px; font-weight:900; letter-spacing:.1em; }.morning-workspace h2{margin:4px 0;color:#152033;font-size:22px}.morning-workspace header span{color:#718096;font-size:13px}.morning-workspace > header button{min-height:36px;border:1px solid #cfd7e5;border-radius:8px;padding:0 12px;background:#fff;color:#3156c8;font-weight:800}
.morning-brief-body { padding:20px 24px 28px; color:#5f6b7a; }.morning-brief-meta{display:flex;justify-content:space-between;gap:12px;margin-bottom:16px;color:#718096;font-size:12px}.morning-brief-meta b{color:#243247;font-size:14px}.morning-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.morning-brief-grid section,.morning-brief-wide{border:1px solid #e2e6ec;border-radius:10px;padding:0 16px}.morning-brief-grid header,.morning-brief-wide header{display:flex;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #edf0f4;color:#152033}.morning-brief-grid header small,.morning-brief-wide header small{color:#8793a5;font-size:11px}.morning-brief-grid article,.morning-brief-wide article{display:grid;grid-template-columns:minmax(92px,.8fr) minmax(0,1.8fr) auto;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid #edf0f4;font-size:13px}.morning-brief-grid article:last-child,.morning-brief-wide article:last-child{border-bottom:0}.morning-brief-grid article span,.morning-brief-wide article span{display:grid;gap:4px}.morning-brief-grid article span i{font-style:normal;margin-right:6px}.morning-brief-grid article small{color:#6384bb}.morning-brief-grid article em{color:#0f8a7b;font-size:12px;font-style:normal;font-weight:800}.morning-brief-wide{margin-top:16px}.morning-brief-wide article a{color:#3156c8;font-weight:800;text-decoration:none;white-space:nowrap}.morning-empty,.morning-wait{padding:24px 0;color:#8793a5}.morning-wait{display:grid;gap:6px}.morning-wait b{color:#334155}

/* Logged-in Ocean dark workspace: three native panels, no embedded legacy console. */
body.is-signed-in .internal-home { padding:0; background:#171717; color:#ececec; }
.internal-home-header { display:none; }
.internal-home-shell { max-width:none; height:100%; margin:0; grid-template-columns:268px minmax(0,1fr); gap:0; background:#171717; }
.internal-workspace-nav { display:flex; flex-direction:column; box-sizing:border-box; padding:18px 12px; border-right:1px solid #303030; background:#202020; color:#c8c8c8; }
.internal-workspace-nav > p { margin:18px 10px 7px; color:#8d8d8d; font-size:11px; font-weight:750; letter-spacing:.08em; text-transform:uppercase; }
.internal-workspace-nav button { width:100%; min-height:48px; margin:2px 0; border-radius:8px; padding:8px 10px; color:#d4d4d4; }
.internal-workspace-nav button:hover,.internal-workspace-nav button.active { background:#303030; color:#fff; }
.internal-workspace-nav b { min-width:22px; color:#a6a6a6; font-size:12px; }.internal-workspace-nav button.active b{color:#fff}
.internal-workspace-nav span { font-size:13px; font-weight:700; }.internal-workspace-nav small{color:#939393;font-size:11px;font-weight:500}.internal-workspace-nav button.active small{color:#b7b7b7}
.internal-workspace-content { display:grid; min-height:0; background:#1b1b1b; }
.shared-assistant,.internal-main-panel,.morning-workspace { grid-area:1 / 1; min-height:0; height:100%; box-sizing:border-box; border:0; border-radius:0; box-shadow:none; background:#1b1b1b; color:#ececec; }
.shared-assistant { grid-template-rows:54px minmax(0,1fr) auto auto; }
.shared-assistant-topline { min-height:54px; padding:0 28px; border-bottom:1px solid #303030; color:#f1f1f1; background:#1d1d1d; }
.shared-assistant-status { color:#a0a0a0; }.shared-assistant-status.is-ready{color:#65d6c2}
.shared-assistant-messages { padding:26px max(32px,calc((100% - 900px)/2)); gap:16px; background:#1b1b1b; color:#e7e7e7; }
.shared-assistant-empty{color:#969696}.shared-message{max-width:min(86%,900px);color:#ededed;font-size:15px;line-height:1.65}.shared-message:not(.user):not(.system){padding:4px 0}.shared-message.user{background:#353535;color:#fff;border-radius:14px}.shared-message.system{color:#9c9c9c}.shared-message a{color:#a9c5ff}.shared-message.user a{color:#fff}
.shared-assistant-job { padding:9px max(28px,calc((100% - 900px)/2)); border-top:1px solid #303030; background:#1d1d1d; color:#b5b5b5; }.shared-assistant-job button{border-color:#515151;background:#282828;color:#e2e2e2}
.shared-assistant-compose { width:min(940px,calc(100% - 48px)); box-sizing:border-box; justify-self:center; margin:14px 0 18px; border-color:#4b4b4b; border-radius:20px; padding:13px 16px 10px; background:#2a2a2a; box-shadow:none; }.shared-assistant-compose textarea{min-height:56px;max-height:104px;color:#f0f0f0;font-size:16px}.shared-assistant-compose textarea::placeholder{color:#999}.shared-assistant-compose-actions{min-height:38px}.shared-assistant-compose button{color:#f1f1f1}.shared-assistant-compose #sharedAssistantSend,.shared-assistant-compose #mainAssistantSend{background:#e7e7e7;color:#242424;font-size:0}.shared-assistant-compose #mainAssistantSend:after{content:'↑';font-size:27px}.shared-assistant-compose-hint{color:#aaa}#sharedAssistantPreview{border-color:#565656;background:#202020}
.internal-main-panel { display:grid; grid-template-rows:minmax(0,1fr) auto; overflow:hidden; }.internal-main-welcome { align-self:center; width:min(900px,calc(100% - 48px)); margin:auto; color:#d9d9d9; }.internal-main-welcome p{margin:0 0 14px;color:#9e9e9e;font-size:12px;font-weight:800;letter-spacing:.12em}.internal-main-welcome h2{margin:0;color:#f4f4f4;font-size:32px;letter-spacing:-.03em}.internal-main-welcome>span{display:block;margin-top:12px;color:#a6a6a6;font-size:15px}.internal-shortcuts{display:flex;gap:10px;margin-top:28px}.internal-shortcuts button,.internal-shortcuts span{border:1px solid #444;border-radius:9px;padding:10px 12px;background:#262626;color:#dadada;font-size:13px}.internal-shortcuts button{cursor:pointer}.internal-shortcuts button:hover{background:#333}.shared-assistant-compose-main{margin-bottom:18px}
.morning-workspace { overflow:auto; padding:32px max(28px,calc((100% - 1040px)/2)); }.morning-workspace > header{padding:0 0 20px;border-bottom-color:#343434}.morning-workspace h2,.morning-workspace header span,.morning-workspace>header p{color:#f0f0f0}.morning-workspace > header button{border-color:#4a4a4a;background:#292929;color:#eee}.morning-brief-body{padding:24px 0;color:#c9c9c9}.morning-brief-meta{color:#aaa}.morning-brief-meta b{color:#f0f0f0}.morning-brief-grid section,.morning-brief-wide{border-color:#404040;background:#212121}.morning-brief-grid header,.morning-brief-wide header{border-bottom-color:#363636;color:#f0f0f0}.morning-brief-grid header small,.morning-brief-wide header small,.morning-brief-grid article small{color:#aaa}.morning-brief-grid article,.morning-brief-wide article{border-bottom-color:#363636;color:#d6d6d6}.morning-brief-grid article em{color:#65d6c2}.morning-brief-wide article a{color:#aac5ff}.morning-empty,.morning-wait{color:#aaa}.morning-wait b{color:#eee}

@media (max-width: 680px) {
  body.is-signed-in .internal-home {
    height:100dvh;
    padding: 0 18px 16px;
  }

  .internal-home-header { min-height: 84px; }
  .internal-home-header h1 { font-size: 23px; }
  .internal-home-shell { display:grid; grid-template-rows:auto minmax(0,1fr); grid-template-columns:1fr; margin-top:14px; gap:0; }.internal-workspace-nav{position:static;min-height:0;display:flex;gap:4px;overflow:auto;border:0;padding:0 0 12px}.internal-workspace-nav>p,.internal-workspace-nav-spacer{display:none}.internal-workspace-nav button,.internal-workspace-nav a{min-width:188px;margin:0}.shared-assistant { height:100%; min-height:0; border-radius:10px; }
  .shared-assistant-topline, .shared-assistant-compose { padding-left:14px; padding-right:14px; }
  .shared-message { max-width:90%; }
  .morning-workspace > header,.morning-brief-body{padding-left:16px;padding-right:16px}.morning-brief-grid{grid-template-columns:1fr}.morning-brief-grid article,.morning-brief-wide article{grid-template-columns:78px minmax(0,1fr)}.morning-brief-grid article em,.morning-brief-wide article a{grid-column:2}
}

/* Pattern extraction: compact quick path, full conversation and shared approved assets. */
.pattern-extract-workbench{display:block;overflow-y:auto;background:#f4f7fb;color:#243247}.pattern-extract-workbench>.shared-assistant-topline{position:sticky;z-index:5;top:0;min-height:54px;border-bottom:1px solid #e3e8ef;background:#fff;color:#243247}.pattern-extract-workbench .shared-assistant-status{color:#718096}.pattern-extract-workbench .shared-assistant-status.is-ready{color:#0d866f}
.pattern-quick{display:grid;grid-template-columns:minmax(230px,1fr) minmax(190px,.72fr) minmax(250px,1.08fr);gap:12px;max-width:1180px;margin:14px auto;padding:0 18px}.pattern-quick>article{box-sizing:border-box;min-height:188px;border:1px solid #dfe6ef;border-radius:12px;padding:13px;background:#fff;box-shadow:0 1px 2px rgba(15,35,60,.04)}.pattern-quick article>header{display:flex;align-items:center;gap:8px;margin-bottom:10px}.pattern-quick article>header span{display:grid;width:22px;height:22px;place-items:center;border-radius:6px;background:#edf3ff;color:#3156c8;font-size:10px;font-weight:850}.pattern-quick article>header b{color:#2c3d57;font-size:13px}
.pattern-quick-source{outline:0}.pattern-quick-source.is-dragging{border-color:#3156c8;background:#f1f5ff}.pattern-quick-source>div{height:132px}.pattern-quick-source>div>button{display:grid;width:100%;height:100%;place-items:center;align-content:center;gap:4px;border:1px dashed #bfcce0;border-radius:9px;background:#f8fafe;color:#53657d;cursor:pointer}.pattern-quick-source>div>button i{color:#3156c8;font-size:21px;font-style:normal}.pattern-quick-source>div>button b{font-size:13px}.pattern-quick-source>div>button small{color:#8491a4;font-size:10px}.pattern-source-ready{display:grid;grid-template-columns:116px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px 10px;height:100%}.pattern-source-ready img{grid-row:1/3;width:116px;height:132px;border:1px solid #dfe5ed;border-radius:8px;background:#f1f3f6;object-fit:contain}.pattern-source-ready>span{align-self:end;overflow:hidden;color:#53647c;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.pattern-source-ready>div{display:flex;align-self:start;gap:6px}.pattern-source-ready button,.pattern-result-actions button,.pattern-result-actions a,.pattern-result-guidance button{min-height:28px;border:1px solid #ccd8ea;border-radius:7px;padding:0 8px;background:#fff;color:#3156c8;font-size:10px;font-weight:800;text-decoration:none;cursor:pointer}
.pattern-quick-action{display:flex;flex-direction:column}.pattern-quick-action p{margin:3px 0 13px;color:#7a879a;font-size:11px;font-weight:650;line-height:1.55}.pattern-quick-action>button{min-height:42px;border:0;border-radius:9px;background:#3156c8;color:#fff;font-size:13px;font-weight:850;cursor:pointer}.pattern-quick-action>button:disabled{opacity:.5;cursor:not-allowed}.pattern-quick-action>small{margin-top:9px;color:#7b899c;font-size:10px;line-height:1.45}
.pattern-quick-result>div{height:132px}.pattern-result-empty,.pattern-result-guidance{display:grid;height:100%;place-items:center;align-content:center;gap:8px;border:1px dashed #c8d3e1;border-radius:9px;background:#f7f9fc;color:#7a879a;text-align:center}.pattern-result-empty i{display:grid;width:42px;height:32px;place-items:center;border-radius:6px;background:#e9eef6;color:#64748b;font-size:10px;font-style:normal;font-weight:900}.pattern-result-empty span{max-width:210px;font-size:10px;line-height:1.5}.pattern-result-empty.is-working i{width:18px;height:18px;border:2px solid #cad5e7;border-top-color:#3156c8;border-radius:50%;background:transparent;animation:pattern-spin .9s linear infinite}.pattern-result-ready{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto 1fr;gap:6px 10px;height:100%}.pattern-result-preview{grid-row:1/3;overflow:hidden;border:1px solid #d9e1eb;border-radius:8px;padding:5px;background-color:#f7f8fa;background-image:linear-gradient(45deg,#e5e9ef 25%,transparent 25%),linear-gradient(-45deg,#e5e9ef 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e9ef 75%),linear-gradient(-45deg,transparent 75%,#e5e9ef 75%);background-position:0 0,0 7px,7px -7px,-7px 0;background-size:14px 14px;cursor:zoom-in}.pattern-result-preview img{width:100%;height:120px;object-fit:contain}.pattern-result-ready>span{align-self:end;color:#27835d;font-size:10px;font-weight:800}.pattern-result-actions{display:flex;align-content:start;flex-wrap:wrap;gap:5px}.pattern-result-actions a{display:inline-flex;align-items:center}.pattern-result-guidance{padding:9px}.pattern-result-guidance b{color:#9b6720;font-size:12px}.pattern-result-guidance span,.pattern-result-guidance small{max-width:260px;color:#7b8798;font-size:10px;line-height:1.45}.pattern-result-guidance button{background:#3156c8;color:#fff}
.pattern-conversation{display:grid;grid-template-rows:auto minmax(260px,1fr) auto auto;max-width:1180px;height:min(600px,68vh);min-height:480px;margin:0 auto 14px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(15,35,60,.04)}.pattern-conversation>header{padding:13px 18px;border-bottom:1px solid #e7ecf2}.pattern-conversation>header div{display:flex;align-items:baseline;gap:10px}.pattern-conversation>header b{color:#2c3d57;font-size:14px}.pattern-conversation>header span{color:#7b899c;font-size:11px}.pattern-conversation .shared-assistant-messages{padding:18px max(22px,calc((100% - 900px)/2));background:#fcfdff;color:#243247}.pattern-conversation .shared-message{color:#243247}.pattern-conversation .shared-message.user{background:#3156c8;color:#fff}.pattern-conversation .shared-assistant-job{padding:8px 18px;border-top-color:#e7ecf2;background:#fff;color:#66758a}.pattern-conversation .shared-assistant-compose{width:min(940px,calc(100% - 32px));margin:10px auto 12px;border-color:#d7dfe9;background:#fff}.pattern-conversation .shared-assistant-compose textarea{color:#243247}.pattern-conversation .shared-assistant-compose textarea::placeholder{color:#8793a5}.pattern-conversation .shared-assistant-compose-hint{color:#7a8798}.pattern-conversation .shared-assistant-compose #sharedAssistantSend{background:#3156c8;color:#fff}
.pattern-library{max-width:1180px;margin:0 auto 22px;border:1px solid #dfe6ef;border-radius:12px;background:#fff;overflow:hidden}.pattern-library>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;border-bottom:1px solid #e7ecf2}.pattern-library>header p{margin:0;color:#3156c8;font-size:9px;font-weight:900;letter-spacing:.1em}.pattern-library>header h2{margin:3px 0;color:#26364f;font-size:16px}.pattern-library>header span{color:#7b899c;font-size:10px}.pattern-library>header button,.pattern-library>footer button{min-height:30px;border:1px solid #ccd7e7;border-radius:7px;padding:0 9px;background:#fff;color:#3156c8;font-size:10px;font-weight:800}.pattern-library-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:14px 18px}.pattern-library-grid>article{min-width:0;border:1px solid #e1e7ef;border-radius:9px;background:#fbfcfe;overflow:hidden}.pattern-library-preview{display:grid;width:100%;height:132px;place-items:center;border:0;border-bottom:1px solid #e1e7ef;padding:7px;background-color:#f5f6f8;background-image:linear-gradient(45deg,#e5e9ef 25%,transparent 25%),linear-gradient(-45deg,#e5e9ef 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e5e9ef 75%),linear-gradient(-45deg,transparent 75%,#e5e9ef 75%);background-position:0 0,0 8px,8px -8px,-8px 0;background-size:16px 16px;cursor:zoom-in}.pattern-library-preview img{max-width:100%;max-height:118px;object-fit:contain}.pattern-library-grid article>div{display:grid;gap:3px;padding:9px 10px}.pattern-library-grid article>div b{overflow:hidden;color:#33455e;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.pattern-library-grid article>div span,.pattern-library-grid article>div small{color:#7f8b9c;font-size:9px}.pattern-library-grid article>footer{display:flex;gap:5px;padding:0 10px 10px}.pattern-library-grid article>footer button,.pattern-library-grid article>footer a{min-height:27px;border:1px solid #d2dbe8;border-radius:6px;padding:0 7px;background:#fff;color:#3156c8;font-size:9px;font-weight:800;text-decoration:none;cursor:pointer}.pattern-library-grid article>footer a{display:inline-flex;align-items:center}.pattern-library-empty{grid-column:1/-1;padding:24px;color:#7c899b;text-align:center;font-size:11px}.pattern-library>footer{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-top:1px solid #e7ecf2;color:#7a879a;font-size:10px}.pattern-library>footer>div{display:flex;align-items:center;gap:8px}.pattern-library button:disabled{opacity:.5;cursor:not-allowed}.shared-image-actions{flex-wrap:wrap}.shared-image-actions [data-pattern-add]{color:#27835d}
@keyframes pattern-spin{to{transform:rotate(360deg)}}
@media(max-width:980px){.pattern-quick{grid-template-columns:1fr 1fr}.pattern-quick-result{grid-column:1/-1}.pattern-library-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.pattern-extract-workbench>.shared-assistant-topline{padding:0 14px}.pattern-quick{grid-template-columns:1fr;margin:10px 0;padding:0 12px}.pattern-quick-result{grid-column:auto}.pattern-conversation{height:620px;min-height:540px;margin:0 12px 12px}.pattern-conversation>header div{align-items:flex-start;flex-direction:column;gap:3px}.pattern-conversation .shared-assistant-messages{padding:14px}.pattern-conversation .shared-assistant-compose{width:calc(100% - 20px);margin:8px 10px 10px}.pattern-library{margin:0 12px 16px}.pattern-library>header{align-items:flex-start}.pattern-library-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px}.pattern-library-preview{height:112px}.pattern-library-preview img{max-height:98px}.pattern-library>footer{padding:9px 12px}.pattern-source-ready{grid-template-columns:102px minmax(0,1fr)}.pattern-source-ready img{width:102px}}
@media(max-width:420px){.pattern-library-grid{grid-template-columns:1fr}.pattern-library-preview{height:150px}.pattern-library-preview img{max-height:136px}.pattern-result-ready{grid-template-columns:96px minmax(0,1fr)}.pattern-result-preview img{height:120px}}

/* Shared assistant attachments: native in-message image previews, not text-only links. */
.shared-message { min-width:0; }
.shared-message-text:empty { display:none; }
.shared-image-grid { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; margin-top:9px; }
.shared-image-grid.has-many { grid-template-columns:repeat(2,minmax(0,1fr)); }
.shared-image-attachment { width:min(100%,420px); min-width:0; margin:0; }
.shared-image-grid.has-many .shared-image-attachment { width:100%; }
.shared-image-open { display:block; width:100%; overflow:hidden; border:0; border-radius:11px; padding:0; background:#f3f5f8; cursor:zoom-in; }
.shared-image-stage { display:grid; min-height:88px; max-height:320px; place-items:center; padding:6px; border:1px solid #dfe5ed; border-radius:11px; background-color:#f6f7f9; background-image:linear-gradient(45deg,#e9edf2 25%,transparent 25%),linear-gradient(-45deg,#e9edf2 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9edf2 75%),linear-gradient(-45deg,transparent 75%,#e9edf2 75%); background-position:0 0,0 8px,8px -8px,-8px 0; background-size:16px 16px; }
.shared-image-stage img { display:block; width:auto; max-width:100%; height:auto; max-height:306px; object-fit:contain; border-radius:7px; }
.shared-image-failed { padding:18px 14px; color:#7b8798; font-size:13px; }
.shared-image-attachment.is-failed .shared-image-open { cursor:default; }
.shared-image-attachment figcaption { display:flex; align-items:center; justify-content:space-between; gap:8px; padding:6px 2px 0; color:#718096; font-size:11px; line-height:1.35; }
.shared-image-attachment figcaption>span:first-child { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.shared-image-attachment figcaption>span:last-child { display:flex; flex:0 0 auto; gap:8px; }
.shared-image-attachment figcaption a,.shared-image-view,.shared-file-attachment { margin:0; border:0; padding:0; background:transparent; color:#3156c8; font:inherit; font-weight:750; text-decoration:none; cursor:pointer; }
.shared-file-list { display:grid; gap:5px; margin-top:8px; }.shared-attachment-unavailable { color:#8793a5; font-size:12px; }
.shared-message.user .shared-image-stage { border-color:#ffffff78; background-color:#f5f7fb; }.shared-message.user .shared-image-attachment figcaption { color:#e7edff; }.shared-message.user .shared-image-attachment figcaption a,.shared-message.user .shared-image-view { color:#fff; }
.shared-image-modal { position:fixed; z-index:200; inset:0; display:grid; place-items:center; padding:30px; background:rgba(17,28,45,.72); }
.shared-image-modal[hidden] { display:none!important; }.shared-image-modal figure { display:grid; max-width:min(100%,1100px); max-height:calc(100dvh - 60px); margin:0; gap:10px; }.shared-image-modal img { display:block; max-width:100%; max-height:calc(100dvh - 110px); margin:auto; border-radius:12px; background-color:#f5f7fa; background-image:linear-gradient(45deg,#dfe5ed 25%,transparent 25%),linear-gradient(-45deg,#dfe5ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dfe5ed 75%),linear-gradient(-45deg,transparent 75%,#dfe5ed 75%); background-position:0 0,0 10px,10px -10px,-10px 0; background-size:20px 20px; object-fit:contain; }.shared-image-modal figcaption { color:#fff; text-align:center; font-size:13px; }.shared-image-modal>button { position:absolute; top:18px; right:22px; width:38px; height:38px; border:0; border-radius:50%; background:#fff; color:#25334a; font-size:26px; line-height:1; cursor:pointer; }
@media (max-width:680px) { .shared-image-grid.has-many { grid-template-columns:1fr; }.shared-image-attachment { width:min(100%,360px); }.shared-image-modal { padding:18px; }.shared-image-modal>button { top:12px; right:12px; } }

/* Compact Codex-style image attachments: input stays smaller than assistant output. */
.shared-image-stage,.shared-image-modal img { background:#f5f6f8; background-image:none; }
.shared-message.user .shared-image-attachment { width:180px; max-width:100%; }
.shared-message.user .shared-image-stage { width:180px; max-width:100%; height:150px; min-height:0; max-height:150px; box-sizing:border-box; padding:5px; }
.shared-message.user .shared-image-stage img { max-height:138px; }
.shared-message:not(.user) .shared-image-attachment { width:280px; max-width:100%; }
.shared-message:not(.user) .shared-image-stage { width:280px; max-width:100%; height:220px; min-height:0; max-height:220px; box-sizing:border-box; padding:6px; }
.shared-message:not(.user) .shared-image-stage img { max-height:206px; }
.shared-image-attachment figcaption { min-height:17px; padding-top:4px; font-size:10px; white-space:nowrap; }
.shared-image-attachment figcaption>span:first-child { display:flex; align-items:center; gap:5px; }
.shared-image-attachment figcaption small { flex:0 0 auto; border-radius:999px; padding:1px 4px; background:#edf1f5; color:#778497; font-size:9px; font-weight:750; }
.shared-message.user .shared-image-attachment figcaption small { background:#ffffff24; color:#eef3ff; }
@media (max-width:680px) { .shared-message.user .shared-image-attachment,.shared-message.user .shared-image-stage { width:150px; }.shared-message.user .shared-image-stage { height:126px; max-height:126px; }.shared-message.user .shared-image-stage img { max-height:114px; }.shared-message:not(.user) .shared-image-attachment,.shared-message:not(.user) .shared-image-stage { width:220px; }.shared-message:not(.user) .shared-image-stage { height:174px; max-height:174px; }.shared-message:not(.user) .shared-image-stage img { max-height:160px; } }

/* Image actions are full-size controls, not difficult-to-hit text links. */
.shared-image-attachment figcaption{display:grid;gap:8px;padding:8px 0 0;white-space:normal}.shared-image-attachment figcaption .shared-image-filename{display:flex;min-width:0;align-items:center;gap:5px;overflow:hidden;color:#718096;font-size:11px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.shared-image-attachment figcaption .shared-image-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%}.shared-image-attachment .shared-image-action{display:flex;min-width:0;min-height:42px;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;border:1px solid #dce4ef;border-radius:9px;padding:0 8px;background:#f8fafc;color:#3156c8;font:600 12px/1 system-ui,sans-serif;text-decoration:none;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.shared-image-attachment .shared-image-action:hover{border-color:#b7c8ea;background:#eef3ff}.shared-image-attachment .shared-image-action:active{background:#e6edff}.shared-image-attachment .shared-image-action:focus-visible{outline:2px solid #3156c8;outline-offset:2px}.shared-image-attachment .shared-image-action b{min-width:0;overflow:hidden;font:inherit;text-overflow:ellipsis;white-space:nowrap}.shared-image-action-icon{position:relative;display:inline-block;flex:0 0 auto;width:15px;height:15px;color:currentColor}.shared-image-action-icon.eye{width:16px;height:11px;border:1.7px solid currentColor;border-radius:50% / 70%}.shared-image-action-icon.eye::after{position:absolute;top:50%;left:50%;width:4px;height:4px;border-radius:50%;background:currentColor;content:"";transform:translate(-50%,-50%)}.shared-image-action-icon.download::before{position:absolute;inset:0;display:grid;place-items:center;content:"↓";font:700 18px/1 system-ui,sans-serif}.shared-message.user .shared-image-attachment figcaption .shared-image-filename{color:#e7edff}.shared-message.user .shared-image-attachment .shared-image-action{border-color:#ffffff52;background:#ffffff1c;color:#fff}.shared-message.user .shared-image-attachment .shared-image-action:hover{border-color:#fff;background:#ffffff30}.shared-message.user .shared-image-attachment .shared-image-action:active{background:#ffffff42}@media (max-width:680px){.shared-image-attachment figcaption .shared-image-actions{grid-template-columns:1fr}.shared-image-attachment .shared-image-action{min-height:42px}}

/* Light internal operations refinement. */
body.is-signed-in .internal-home { background:#f6f8fb; color:#17233a; }
.internal-topbar{height:68px;display:flex;align-items:center;gap:28px;padding:0 28px;border-bottom:1px solid #e3e8ef;background:#fff;color:#25334a}.internal-brand{display:flex;align-items:center;gap:10px;color:#16233a;text-decoration:none}.internal-brand .brand-mark{width:31px;height:31px;display:grid;place-items:center;border-radius:8px;background:#e8f5f2;color:#0f8a7b;font-size:12px}.internal-brand b{font-size:17px}.internal-topbar>p{margin:0;color:#8390a3;font-size:14px}.internal-topbar i{font-style:normal;margin:0 7px;color:#bdc6d3}.internal-topbar strong{color:#34435b}.internal-top-actions{margin-left:auto;display:flex;gap:8px}
.internal-top-actions{align-items:center}.internal-top-actions span{color:#5f6d82;font-size:13px;font-weight:700;white-space:nowrap}.internal-top-actions button{min-height:34px;border:1px solid #dbe3ed;border-radius:8px;padding:0 10px;background:#fff;color:#44546b;font-size:13px;font-weight:700;cursor:pointer}.internal-top-actions button:hover{border-color:#afbfdb;background:#f5f8ff}.internal-top-actions button[data-top-go="logout"]{color:#c94d59}
.internal-home-shell{background:#f6f8fb;grid-template-columns:258px minmax(0,1fr)}.internal-workspace-nav{background:#fff;border-right:1px solid #e3e8ef;color:#334155;padding:16px 12px}.internal-workspace-nav>p{color:#94a0b2}.internal-workspace-nav button{color:#34435b}.internal-workspace-nav button:hover,.internal-workspace-nav button.active{background:#edf3ff;color:#3156c8}.internal-workspace-nav b{color:#718096}.internal-workspace-nav small{color:#98a4b5}.internal-workspace-nav button:disabled{opacity:.56;cursor:not-allowed}.status-dot{display:block;min-width:9px;width:9px;height:9px;border-radius:50%;background:#bdc6d3}.status-dot.ready{background:#26a878}.status-dot.pending{background:#d66a6a}.internal-workspace-content{background:#f6f8fb;padding:24px;box-sizing:border-box}
.internal-workspace-nav button { align-items:center; }
.internal-workspace-nav .status-dot { display:block; flex:0 0 10px; width:10px; min-width:10px; max-width:10px; height:10px; min-height:10px; max-height:10px; aspect-ratio:1 / 1; padding:0; border-radius:50%; line-height:0; transform:none; }
.shared-assistant,.internal-main-panel,.morning-workspace{background:#fff;color:#243247;border:1px solid #e3e8ef;border-radius:14px;box-shadow:0 1px 2px rgba(15,35,60,.04)}.shared-assistant-topline{background:#fff;color:#243247;border-bottom-color:#edf0f4}.shared-assistant-status{color:#75839a}.shared-assistant-status.is-ready{color:#0f8a7b}.shared-assistant-messages{background:#fff;color:#243247}.shared-message{color:#27364c}.shared-message.user{background:#3156c8;color:#fff}.shared-message a{color:#3156c8}.shared-message.user a{color:#fff}.shared-assistant-job{background:#fff;color:#637187;border-top-color:#edf0f4}.shared-assistant-job button{border-color:#d6deea;background:#fff;color:#3156c8}.shared-assistant-compose{background:#fff;border-color:#d5dce7;box-shadow:0 1px 3px rgba(15,35,60,.06)}.shared-assistant-compose textarea{color:#243247}.shared-assistant-compose textarea::placeholder{color:#9aa6b6}.shared-assistant-compose button{color:#3156c8}.shared-assistant-compose #sharedAssistantSend{background:#3156c8;color:#fff}.shared-assistant-compose #mainAssistantSend{background:#3156c8;color:#fff}
.internal-main-welcome{color:#66758b}.internal-main-welcome p{color:#0f8a7b}.internal-main-welcome h2{color:#1a2942}.internal-main-welcome>span{color:#718096}.internal-shortcuts{flex-wrap:wrap}.internal-shortcuts button,.internal-shortcuts span{border-color:#e0e6ee;background:#fff;color:#45556d}.internal-shortcuts button:first-child{background:#edf7ff;border-color:#cfe6f7}.internal-shortcuts button:nth-child(2){background:#eef8f4;border-color:#ccebdd}.internal-shortcuts span{color:#8b98a9}
.main-with-advisor{grid-template-rows:auto minmax(0,1fr);gap:18px;padding:24px;overflow:hidden}.main-with-advisor .internal-main-welcome{width:min(940px,100%);margin:0 auto;align-self:start}.main-with-advisor .internal-shortcuts{margin-top:16px}.employee-advisor{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;min-height:0;width:min(940px,100%);margin:0 auto;border:1px solid #e3e8ef;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,35,60,.04);overflow:hidden}.employee-advisor>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid #edf0f4}.employee-advisor header p{margin:0;color:#0f8a7b;font-size:11px;font-weight:800;letter-spacing:.1em}.employee-advisor h3{margin:3px 0;color:#243247;font-size:17px}.employee-advisor header span{color:#718096;font-size:13px}.employee-advisor .shared-assistant-messages{min-height:120px;padding:16px max(20px,calc((100% - 820px)/2));overflow-y:auto}.employee-advisor .shared-assistant-job{padding:9px 20px}.employee-advisor .shared-assistant-compose{width:calc(100% - 32px);margin:10px auto 14px}
.morning-workspace{background:#fff}.morning-workspace>header{border-bottom-color:#edf0f4}.morning-workspace h2{color:#243247}.morning-workspace header span{color:#718096}.morning-workspace>header p{color:#0f8a7b}.morning-workspace>header button{border-color:#d7dfeb;background:#fff;color:#3156c8}.morning-brief-body{color:#5f6b7a}.morning-brief-meta b,.morning-brief-grid header,.morning-brief-wide header{color:#243247}.morning-brief-grid section,.morning-brief-wide{background:#fff;border-color:#e3e8ef}.morning-brief-grid header,.morning-brief-wide header,.morning-brief-grid article,.morning-brief-wide article{border-bottom-color:#edf0f4}.morning-brief-grid article,.morning-brief-wide article{color:#4a5a70}.morning-brief-grid article em{color:#0f8a7b}.morning-brief-wide article a{color:#3156c8}
.finance-workspace{height:100%;min-height:0;overflow:auto;background:#fff;color:#243247;border:1px solid #e3e8ef;border-radius:14px;box-shadow:0 1px 2px rgba(15,35,60,.04)}.finance-workspace>header{display:flex;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid #edf0f4}.finance-workspace p{margin:0;color:#0f8a7b;font-size:12px;font-weight:800;letter-spacing:.1em}.finance-workspace h2{margin:5px 0;color:#243247}.finance-workspace header span{color:#718096;font-size:13px}.finance-workspace>header button{align-self:center;min-height:36px;border:1px solid #d7dfeb;border-radius:8px;padding:0 12px;background:#fff;color:#3156c8;font-weight:800}.finance-body{padding:24px}.finance-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.finance-metrics article{padding:18px;border:1px solid #e3e8ef;border-radius:12px;background:#fff}.finance-metrics article:nth-child(1){background:#eef8f4}.finance-metrics article:nth-child(2){background:#fff6eb}.finance-metrics article:nth-child(3){background:#eef4ff}.finance-metrics span{display:block;color:#718096;font-size:13px}.finance-metrics b{display:block;margin-top:10px;color:#243247;font-size:23px}.finance-note{margin-top:20px!important;color:#718096!important;font-size:13px!important;letter-spacing:0!important;font-weight:500!important}.finance-error{color:#c94d59!important}.internal-toast{position:fixed;z-index:100;left:50%;bottom:28px;transform:translateX(-50%);max-width:calc(100% - 32px);border:1px solid #f1d1d4;border-radius:9px;padding:11px 14px;background:#fff;color:#a73f4b;box-shadow:0 10px 24px #23304a22;font-size:13px}

/* Native finance workspace: mirrors the existing ledger capability without its standalone shell. */
.finance-workspace .finance-body { display:grid; gap:16px; }
.finance-workspace .metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.finance-workspace .metrics article { min-height:112px; padding:17px; border:1px solid #e3e8ef; border-radius:12px; background:#fff; }
.finance-workspace .metrics article:nth-child(1),.finance-workspace .metrics article:nth-child(5) { background:#eef8f4; }
.finance-workspace .metrics article:nth-child(2),.finance-workspace .metrics article:nth-child(4) { background:#fff7ea; }
.finance-workspace .metrics article:nth-child(3),.finance-workspace .metrics article:nth-child(6) { background:#eef4ff; }
.finance-workspace .metrics span,.finance-workspace .metrics em { display:block; color:#718096; font-size:13px; font-style:normal; }
.finance-workspace .metrics b { display:block; margin-top:10px; color:#243247; font-size:22px; font-variant-numeric:tabular-nums; }
.finance-grid { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(250px,.8fr) minmax(250px,.8fr); gap:14px; }
.finance-grid>article,.finance-ledger { border:1px solid #e3e8ef; border-radius:12px; background:#fff; overflow:hidden; }
.finance-grid h3,.finance-ledger h3 { margin:0; color:#243247; font-size:16px; }
.finance-grid>article>h3 { padding:16px 16px 0; }
.finance-grid>article>p { padding:12px 16px 16px; color:#718096; font-size:12px; font-weight:600; letter-spacing:0; }
.finance-grid>article>p b { color:#243247; font-variant-numeric:tabular-nums; }
.trend-chart { display:flex; min-height:198px; align-items:end; justify-content:space-around; gap:10px; padding:20px 16px 15px; }
.finance-month-bars { display:grid; justify-items:center; gap:8px; min-width:40px; color:#718096; font-size:11px; }
.finance-month-bars>div { display:flex; align-items:end; gap:4px; height:154px; padding-bottom:1px; border-bottom:1px solid #dbe3ed; }
.finance-month-bars i { display:block; width:12px; min-height:3px; border-radius:5px 5px 2px 2px; }
.finance-month-bars .inflow { background:#35bca6; }.finance-month-bars .outflow { background:#e5a24b; }
.finance-structure-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px 8px; padding:12px 16px 0; color:#5e6e83; font-size:13px; }
.finance-structure-row b { color:#2c3b51; font-variant-numeric:tabular-nums; }
.finance-structure-row>div { grid-column:1 / -1; height:8px; overflow:hidden; border-radius:99px; background:#edf1f6; }
.finance-structure-row i { display:block; height:100%; border-radius:inherit; background:#5d8ff0; }
.finance-empty { padding:22px 16px; color:#8793a5; text-align:center; font-size:13px; }
.finance-notice { border:1px solid #f0d7a7; border-radius:9px; padding:11px 13px; background:#fff8e9; color:#8a6223; font-size:13px; }
.finance-notice#errorNotice { border-color:#efcbd0; background:#fff3f4; color:#a34550; }
.finance-ledger>header { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px; border-bottom:1px solid #edf0f4; }
.finance-ledger>header p { display:flex; gap:10px; margin-top:6px; color:#718096; font-size:12px; font-weight:600; letter-spacing:0; }
.finance-ledger>header>div:last-child { display:flex; gap:8px; }
.finance-ledger select { min-height:34px; border:1px solid #d8e0ea; border-radius:7px; padding:0 8px; background:#fff; color:#47576d; }
.finance-ledger .table-wrap { overflow:auto; }
.finance-ledger table { width:100%; min-width:760px; border-collapse:collapse; color:#46566c; font-size:13px; }
.finance-ledger th,.finance-ledger td { padding:12px 14px; border-bottom:1px solid #edf0f4; text-align:left; vertical-align:top; }
.finance-ledger th { color:#718096; font-size:12px; font-weight:800; background:#fbfcfe; }
.finance-money { font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; }.finance-money.inflow { color:#0f8a7b; }.finance-money.outflow { color:#b06e22; }
.finance-tag { display:inline-block; border-radius:999px; padding:3px 7px; background:#edf3f7; color:#64748b; font-size:11px; font-weight:800; }.finance-tag.review { background:#fff1db; color:#9c671f; }
.finance-review-action { margin-left:6px; border:0; padding:3px 5px; background:transparent; color:#3156c8; font-size:12px; cursor:pointer; }
#loadMoreButton { display:block; margin:14px auto 16px; min-height:34px; border:1px solid #d5deea; border-radius:8px; padding:0 14px; background:#fff; color:#3156c8; font-weight:800; cursor:pointer; }
.mobile-ledger { display:none; }
#reviewDialog { width:min(440px,calc(100% - 32px)); border:1px solid #dbe3ed; border-radius:12px; padding:0; box-shadow:0 18px 48px rgba(17,35,59,.18); }
#reviewDialog::backdrop { background:rgba(17,35,59,.26); } #reviewDialog form { padding:18px; } #reviewDialog header { display:flex; justify-content:space-between; align-items:center; } #reviewDialog h3 { margin:0; color:#243247; } #reviewDialog header button { border:0; background:transparent; font-size:20px; cursor:pointer; } #reviewDialog p { margin:14px 0; color:#5e6e83; font-size:13px; letter-spacing:0; } #reviewDialog textarea { box-sizing:border-box; width:100%; min-height:90px; border:1px solid #d5deea; border-radius:8px; padding:9px; color:#243247; font:14px/1.5 system-ui,sans-serif; } #reviewDialog form>div { display:flex; justify-content:flex-end; gap:8px; margin-top:14px; } #reviewDialog form>div button { min-height:34px; border:1px solid #d5deea; border-radius:7px; padding:0 12px; background:#fff; color:#4b5b70; font-weight:700; } #reviewDialog #saveReviewButton { border-color:#3156c8; background:#3156c8; color:#fff; }
.internal-account{position:relative;margin-top:auto;padding-top:12px;border-top:1px solid #e9edf2}.internal-account>button{display:flex;width:100%;min-height:48px;align-items:center;gap:9px;border:0;border-radius:9px;background:transparent;color:#34435b;text-align:left;cursor:pointer}.internal-account>button:hover{background:#f2f5f9}.internal-account>button span{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#e9eeff;color:#3156c8;font-weight:800}.internal-account>button b{font-size:13px}.internal-account>button i{margin-left:auto;color:#8190a5;font-style:normal}.internal-account>div{position:absolute;right:0;bottom:58px;z-index:10;width:230px;border:1px solid #dde4ed;border-radius:12px;padding:8px;background:#fff;box-shadow:0 14px 32px rgba(15,35,60,.14)}.internal-account>div[hidden]{display:none}.internal-account-profile{display:grid;gap:3px;padding:10px;border-bottom:1px solid #edf0f4}.internal-account-profile small{color:#7c899a;overflow:hidden;text-overflow:ellipsis}.internal-account-profile em{color:#0f8a7b;font-size:11px;font-style:normal}.internal-account>div>button{display:block;width:100%;border:0;border-radius:7px;padding:9px 10px;background:transparent;color:#3c4b62;text-align:left;cursor:pointer}.internal-account>div>button:hover{background:#f2f5f9}.internal-account>div>button.danger{color:#c94d59}
.internal-workspace-nav{overflow:hidden}.internal-workspace-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}.internal-account{flex:0 0 auto;margin-top:0}

/* Shared task feedback and the compact, task-first pricing workspace. */
.shared-message.task-pending{display:flex;align-items:center;gap:8px;max-width:none;color:#627187;font-size:13px}.shared-message.task-pending small{color:#8b97a7;font-size:11px}.task-pending-dots{display:inline-flex;gap:3px;align-items:center}.task-pending-dots i{width:5px;height:5px;border-radius:50%;background:#5d84d8;animation:task-pulse 1.15s infinite ease-in-out}.task-pending-dots i:nth-child(2){animation-delay:.15s}.task-pending-dots i:nth-child(3){animation-delay:.3s}@keyframes task-pulse{0%,70%,100%{opacity:.24;transform:translateY(0)}35%{opacity:1;transform:translateY(-2px)}}
.pricing-assistant{grid-template-rows:auto auto auto minmax(0,1fr) auto auto}.pricing-workbench-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px 14px;border-bottom:1px solid #edf0f4;background:#fff}.pricing-workbench-head p{margin:0;color:#0f8a7b;font-size:11px;font-weight:850;letter-spacing:.11em}.pricing-workbench-head h2{margin:4px 0;color:#243247;font-size:21px;letter-spacing:-.02em}.pricing-workbench-head span:not(.shared-assistant-status){color:#718096;font-size:13px}.pricing-workbench-head .shared-assistant-status{flex:0 0 auto;border:1px solid #dbe8e4;border-radius:999px;padding:6px 9px;background:#f1faf7;color:#397064;font-size:12px}.pricing-workbench-head .shared-assistant-status.is-ready{border-color:#bfe4d8;background:#eaf8f3;color:#0d866f}.pricing-quick-task{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 18px 8px;border:1px solid #dce8e5;border-radius:12px;padding:14px 16px;background:#f7fbfa}.pricing-quick-task>div{display:grid;gap:4px}.pricing-quick-task b{color:#254039;font-size:14px}.pricing-quick-task span{color:#6e807c;font-size:12px}.pricing-quick-task button{min-height:36px;flex:0 0 auto;border:1px solid #0f8a7b;border-radius:9px;padding:0 14px;background:#0f8a7b;color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 1px 2px #0f8a7b25}.pricing-quick-task button:hover:not(:disabled){background:#0d776b}.pricing-quick-task button:disabled{opacity:.58;cursor:wait}.pricing-recent-tasks{display:flex;min-height:20px;gap:7px;overflow:auto;padding:0 20px 7px}.pricing-task-state{flex:0 0 auto;border-radius:999px;padding:3px 8px;background:#eef2f7;color:#66768d;font-size:11px;font-weight:750}.pricing-task-state.claimed,.pricing-task-state.running{background:#e8f6f2;color:#0c826e}.pricing-task-state.completed{background:#edf7f1;color:#2d8854}.pricing-task-state.failed{background:#fff0f1;color:#b24854}.pricing-task-state.cancelled{background:#f2f3f5;color:#737e8c}.pricing-assistant .shared-assistant-topline{display:none}.pricing-assistant .shared-assistant-messages{padding-top:14px;padding-bottom:16px}.pricing-assistant .shared-assistant-compose{margin-top:8px;margin-bottom:14px;border-radius:13px}.pricing-assistant .shared-assistant-compose textarea{min-height:42px;max-height:78px;font-size:14px}.pricing-assistant .shared-assistant-compose-actions{min-height:34px}.pricing-assistant .shared-assistant-compose button{min-width:34px;min-height:34px}.pricing-assistant .shared-assistant-job{padding-top:7px;padding-bottom:7px}

/* Product selection keeps the shared assistant contract, with a task-first shell. */
.selection-assistant{grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto}.selection-workbench-head{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 24px 14px;border-bottom:1px solid #edf0f4;background:#fff}.selection-workbench-head p{margin:0;color:#3156c8;font-size:11px;font-weight:850;letter-spacing:.11em}.selection-workbench-head h2{margin:4px 0;color:#243247;font-size:21px;letter-spacing:-.02em}.selection-workbench-head span:not(.shared-assistant-status){color:#718096;font-size:13px}.selection-workbench-head .shared-assistant-status{flex:0 0 auto;border:1px solid #dbe4f2;border-radius:999px;padding:6px 9px;background:#f4f7fc;color:#64748b;font-size:12px}.selection-workbench-head .shared-assistant-status.is-ready{border-color:#bfe4d8;background:#eaf8f3;color:#0d866f}.selection-quick-tasks{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:14px 18px 8px;border:1px solid #dfe7f1;border-radius:12px;padding:14px 16px;background:#f7f9fd}.selection-quick-tasks>div:first-child{display:grid;gap:4px}.selection-quick-tasks b{color:#2c3d57;font-size:14px}.selection-quick-tasks span{color:#718096;font-size:12px}.selection-quick-tasks>div:last-child{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.selection-quick-tasks button{min-height:36px;border:1px solid #3156c8;border-radius:9px;padding:0 13px;background:#3156c8;color:#fff;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 1px 2px #3156c825}.selection-quick-tasks button+button{border-color:#cfd9ec;background:#fff;color:#3156c8;box-shadow:none}.selection-quick-tasks button:hover:not(:disabled){background:#2747ac}.selection-quick-tasks button+button:hover:not(:disabled){background:#eef3ff}.selection-quick-tasks button:disabled{opacity:.55;cursor:not-allowed}.selection-recent-tasks{display:flex;min-height:20px;gap:7px;overflow:auto;padding:0 20px 7px}.selection-task-state{flex:0 0 auto;border-radius:999px;padding:3px 8px;background:#eef2f7;color:#66768d;font-size:11px;font-weight:750}.selection-task-state.claimed,.selection-task-state.running{background:#e8f6f2;color:#0c826e}.selection-task-state.completed{background:#edf7f1;color:#2d8854}.selection-task-state.failed{background:#fff0f1;color:#b24854}.selection-task-state.cancelled{background:#f2f3f5;color:#737e8c}.selection-assistant .shared-assistant-topline{display:none}.selection-assistant .shared-assistant-messages{padding-top:14px;padding-bottom:16px}.selection-assistant .shared-assistant-compose{margin-top:8px;margin-bottom:14px;border-radius:13px}.selection-assistant .shared-assistant-compose textarea{min-height:42px;max-height:78px;font-size:14px}.selection-assistant .shared-assistant-compose-actions{min-height:34px}.selection-assistant .shared-assistant-compose button{min-width:34px;min-height:34px}.selection-assistant .shared-assistant-job{padding-top:7px;padding-bottom:7px}.selection-library{margin:0 18px 16px;border:1px solid #dfe7f1;border-radius:12px;background:#fff;overflow:hidden}.selection-library>header,.selection-library>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 14px;background:#fbfdff}.selection-library>header{border-bottom:1px solid #e7edf4}.selection-library>header>div{display:flex;align-items:baseline;gap:8px}.selection-library>header b{color:#2c3d57;font-size:14px}.selection-library>header span,.selection-library>footer{color:#718096;font-size:11px}.selection-library button{min-height:29px;border:1px solid #cfd9ec;border-radius:7px;background:#fff;padding:0 9px;color:#3156c8;font-size:11px;font-weight:750}.selection-library button:hover:not(:disabled){background:#eef3ff}.selection-library button:disabled{opacity:.5;cursor:not-allowed}.selection-library-table-wrap{overflow-x:auto}.selection-library table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:12px}.selection-library th,.selection-library td{padding:10px 12px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle}.selection-library th{background:#f8fafc;color:#75839a;font-size:11px;font-weight:750}.selection-library th:nth-child(1){width:136px}.selection-library th:nth-child(3){width:78px}.selection-library th:nth-child(4){width:156px}.selection-library td{color:#47586f}.selection-library td:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-library td a{color:#3156c8;text-decoration:none}.selection-library td a:hover{text-decoration:underline}.selection-library-state{display:inline-block;min-width:48px;margin-right:7px;border-radius:999px;padding:3px 7px;text-align:center;font-size:11px;font-weight:750}.selection-library-state.pending{background:#fff4e7;color:#a66012}.selection-library-state.collected{background:#eaf8f3;color:#0d866f}.selection-library>footer{border-top:1px solid #e7edf4}.selection-library>footer>div{display:flex;align-items:center;gap:8px}

/* Dense, consistent type scale across the internal workspace. */
.internal-workspace-nav span{font-size:14px}.internal-workspace-nav small,.internal-workspace-nav>p{font-size:12px}.internal-main-welcome>span,.morning-workspace header span,.jinshi-workspace header span,.account-workspace header span{font-size:13px}.morning-brief-body,.jinshi-body,.account-workspace-body{font-size:14px}.shared-assistant-compose textarea{font-size:14px}.shared-message{font-size:14px}

/* Native Jinshi lookup and account security panels in the internal workspace. */
.jinshi-workspace,.account-workspace{height:100%;min-height:0;overflow:auto;background:#fff;color:#243247;border:1px solid #e3e8ef;border-radius:14px;box-shadow:0 1px 2px rgba(15,35,60,.04)}
.jinshi-workspace>header,.account-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid #edf0f4}.jinshi-workspace>header p,.account-workspace>header p{margin:0;color:#0f8a7b;font-size:12px;font-weight:800;letter-spacing:.1em}.jinshi-workspace h2,.account-workspace h2{margin:5px 0;color:#243247}.jinshi-workspace header span,.account-workspace header span{color:#718096;font-size:13px}.jinshi-catalog-stats{max-width:360px;border:1px solid #dbe8e4;border-radius:9px;padding:10px 12px;background:#f1faf7;color:#397064;font-size:13px;font-weight:700;text-align:right}.jinshi-body,.account-workspace-body{display:grid;gap:16px;padding:24px}.jinshi-query-card,.jinshi-results,.jinshi-history,.account-workspace-card{border:1px solid #e3e8ef;border-radius:12px;background:#fff}.jinshi-query-card{padding:18px}.jinshi-query-card label,.account-workspace-card label{display:block;margin-bottom:8px;color:#3e4e66;font-size:13px;font-weight:800}.jinshi-query-card textarea{box-sizing:border-box;display:block;width:100%;min-height:110px;resize:vertical;border:1px solid #d7e0eb;border-radius:10px;padding:12px;color:#243247;font:14px/1.55 system-ui,sans-serif}.jinshi-query-card>div,.account-workspace-card>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;color:#718096;font-size:13px}.jinshi-query-card button,.account-workspace>header button,.account-workspace-card button{min-height:36px;border:1px solid #3156c8;border-radius:8px;padding:0 13px;background:#3156c8;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.jinshi-query-card button:disabled,.account-workspace-card button:disabled{opacity:.6;cursor:wait}.jinshi-results{min-height:124px;padding:18px}.jinshi-empty,.jinshi-loading{display:grid;gap:6px;place-content:center;min-height:86px;color:#7c899a;text-align:center;font-size:13px}.jinshi-empty b{color:#4b5d76}.jinshi-result-match>span{display:inline-block;border-radius:999px;padding:4px 8px;background:#e7f6f1;color:#0c846f;font-size:11px;font-weight:800}.jinshi-result-match h3{margin:10px 0;color:#25344b;font-size:17px}.jinshi-result-match dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0}.jinshi-result-match dl>div{border-radius:9px;padding:11px;background:#f7f9fc}.jinshi-result-match dt{color:#7a8799;font-size:11px}.jinshi-result-match dd{margin:5px 0 0;color:#31425c;font-size:13px;font-weight:700;overflow-wrap:anywhere}.jinshi-result-match code{color:#3156c8}.jinshi-result-note{border-radius:9px;padding:13px;background:#fff8eb;color:#8b6729}.jinshi-result-note p{margin:6px 0 0}.jinshi-result-note.error{background:#fff3f4;color:#a34550}.jinshi-history{overflow:hidden}.jinshi-history header{display:flex;justify-content:space-between;gap:12px;padding:13px 16px;border-bottom:1px solid #edf0f4;color:#3d4d64;font-size:13px}.jinshi-history header span{color:#8390a1;font-size:12px}.jinshi-history article{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:14px;align-items:center;padding:12px 16px;border-bottom:1px solid #edf0f4;color:#526178;font-size:13px}.jinshi-history article:last-child{border-bottom:0}.jinshi-history article b{color:#35455d}.jinshi-history code{color:#3156c8;font-size:12px}.account-workspace>header button{border-color:#d5deea;background:#fff;color:#3156c8}.account-workspace-body{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.account-workspace-card{padding:18px}.account-workspace-card h3{margin:0 0 16px;color:#243247;font-size:16px}.account-workspace-card input{box-sizing:border-box;width:100%;min-height:38px;margin-bottom:12px;border:1px solid #d7e0eb;border-radius:8px;padding:0 10px;background:#fff;color:#243247;font:14px system-ui,sans-serif}.account-workspace-card p{margin:0;color:#718096;font-size:13px}.account-workspace-card>div span{color:#718096;font-size:12px}.account-activity{grid-column:1 / -1}.account-activity>div{display:grid;gap:0}.account-activity article{display:grid;grid-template-columns:150px minmax(0,1fr) auto;gap:12px;padding:11px 0;border-bottom:1px solid #edf0f4;color:#526178;font-size:13px}.account-activity article:last-child{border-bottom:0}.account-activity article b{color:#34455c}.account-activity time{color:#8994a4;font-size:12px;white-space:nowrap}

/* Unpaired shared-thread workbenches retain the same shell without submitting work. */
.assistant-task-workspace{grid-template-rows:auto auto minmax(0,1fr) auto auto}.assistant-task-intro{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:14px 18px 8px;border:1px solid #dfe7f1;border-radius:12px;padding:14px 16px;background:#f7f9fd}.assistant-task-intro>b{color:#2c3d57;font-size:14px}.assistant-task-intro>span{flex:1;color:#718096;font-size:12px}.assistant-task-intro>div{display:flex;flex-wrap:wrap;gap:8px}.assistant-task-intro button{min-height:36px;border:1px solid #cfd9ec;border-radius:9px;padding:0 13px;background:#fff;color:#3156c8;font-size:13px;font-weight:800;cursor:pointer}.assistant-task-intro button:hover:not(:disabled){background:#eef3ff}.assistant-task-intro button:disabled{opacity:.55;cursor:not-allowed}.assistant-task-workspace .shared-assistant-messages{padding-top:14px}.video-module-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.video-module-grid button{display:grid;gap:6px;justify-items:start;height:100%;padding:14px;background:#fff}.video-module-grid button b{color:#32435b}.video-module-grid button span{color:#7b899b;font-size:12px}
.assistant-pending-workspace{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:#243247}.assistant-pending-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid #edf0f4}.assistant-pending-workspace>header p{margin:0;color:#3156c8;font-size:12px;font-weight:800;letter-spacing:.1em}.assistant-pending-workspace h2{margin:5px 0;color:#243247}.assistant-pending-workspace header span:not(.shared-assistant-status){color:#718096;font-size:13px}.assistant-pending-body{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;gap:16px;padding:20px}.assistant-pending-body>section{align-self:start;border:1px solid #e3e8ef;border-radius:12px;padding:18px;background:#f9fbfe}.assistant-pending-body>section>b{font-size:15px}.assistant-pending-body>section p{max-width:620px;color:#68788e;font-size:13px;line-height:1.6}.assistant-pending-body>section>div{display:flex;flex-wrap:wrap;gap:8px}.assistant-pending-body button{min-height:36px;border:1px solid #d6dfeb;border-radius:8px;padding:0 12px;background:#fff;color:#718096;font-size:13px}.assistant-pending-body .shared-assistant-compose{width:100%;margin:0}.video-module-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.video-module-grid article{display:grid;gap:7px;border:1px solid #e0e6ef;border-radius:10px;padding:14px;background:#fff}.video-module-grid span{color:#8290a2;font-size:12px}

/* Native website administration and authorization panels. */
.admin-workspace{height:100%;min-height:0;overflow:auto;border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:#243247}.admin-workspace>header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:24px;border-bottom:1px solid #edf0f4}.admin-workspace>header p{margin:0;color:#3156c8;font-size:12px;font-weight:800;letter-spacing:.1em}.admin-workspace>header h2{margin:5px 0;color:#243247}.admin-workspace>header span{color:#718096;font-size:13px}.admin-workspace>header button{min-height:36px;border:1px solid #3156c8;border-radius:8px;padding:0 13px;background:#3156c8;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.admin-workspace-body{display:grid;gap:16px;padding:24px}.site-admin-notice{border-radius:10px;padding:12px 14px;background:#f5f8ff;color:#53657c;font-size:13px}.site-admin-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.site-admin-metrics article,.site-admin-card{border:1px solid #e3e8ef;border-radius:12px;background:#fff}.site-admin-metrics article{display:grid;gap:7px;padding:14px}.site-admin-metrics span{color:#718096;font-size:12px}.site-admin-metrics b{color:#243247;font-size:20px}.site-admin-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px}.site-admin-card{padding:18px}.site-admin-card h3{margin:0 0 14px;color:#2d3d55;font-size:15px}.site-admin-card p{display:flex;justify-content:space-between;gap:10px;margin:0;padding:9px 0;border-bottom:1px solid #edf0f4;color:#526178;font-size:13px}.site-admin-card p:last-child{border-bottom:0}.site-admin-list{display:grid}.site-traffic-chart{display:flex;min-height:150px;align-items:flex-end;gap:8px;border-bottom:1px solid #edf0f4;padding:8px 3px}.site-traffic-chart>div{display:grid;min-width:0;flex:1;grid-template-columns:1fr 1fr;align-items:end;gap:2px;height:130px}.site-traffic-chart i,.site-traffic-chart b{display:block;min-height:4px;border-radius:3px 3px 0 0;background:#90a9ea}.site-traffic-chart b{background:#56aa9a}.site-traffic-chart span{grid-column:1/-1;overflow:hidden;color:#8390a1;font-size:10px;text-align:center;white-space:nowrap}.admin-workspace .finance-user-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #edf0f4}.admin-workspace .finance-user-row:last-child{border-bottom:0}.admin-workspace .finance-user-row>span{display:grid;width:30px;height:30px;place-items:center;border-radius:50%;background:#edf3ff;color:#3156c8;font-size:12px;font-weight:800}.admin-workspace .finance-user-row>div{display:grid;flex:1;gap:2px;min-width:0}.admin-workspace .finance-user-row small{overflow:hidden;color:#718096;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.admin-workspace .finance-user-row button{min-height:32px;border:1px solid #cfd9ec;border-radius:7px;padding:0 9px;background:#fff;color:#3156c8;font-size:12px;font-weight:700;cursor:pointer}.admin-workspace .user-table{width:100%;border-collapse:collapse}.admin-workspace .user-table th,.admin-workspace .user-table td{padding:10px;text-align:left;border-bottom:1px solid #edf0f4;color:#526178;font-size:13px}.admin-workspace .user-table th{color:#718096;font-size:12px}.admin-workspace .admin-access-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.admin-workspace select{min-height:32px;border:1px solid #d7e0eb;border-radius:7px;background:#fff;color:#33445d}.admin-workspace .selection-job-access{color:#5d6d83;font-size:12px}

/* Compact, neutral send glyph shared by every AI composer. */
.shared-assistant-compose [data-composer-send] { position:relative; display:grid; place-items:center; margin-left:auto; background:#3156c8; color:#fff; font-size:0; }
.shared-assistant-compose [data-composer-send]::after { content:""; display:block; width:15px; height:17px; background:currentColor; clip-path:polygon(50% 0,100% 45%,68% 45%,68% 100%,32% 100%,32% 45%,0 45%); }

/* One composer geometry for image, pricing and selection assistants. */
.shared-assistant .shared-assistant-compose{position:relative;box-sizing:border-box;padding:12px 14px 11px;gap:7px}.shared-assistant .shared-assistant-compose textarea{box-sizing:border-box;padding:3px 56px 6px 2px}.shared-assistant .shared-assistant-compose-actions{box-sizing:border-box;min-height:40px;padding-right:52px;align-items:center}.shared-assistant .shared-assistant-compose [data-composer-send]{position:absolute;right:14px;bottom:11px;display:grid;place-items:center;box-sizing:border-box;flex:0 0 40px;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;margin:0;padding:0;border-radius:50%;line-height:0;transform:none}.shared-assistant .shared-assistant-compose [data-composer-send]::after{margin:0;transform:none;line-height:0}.shared-assistant .shared-assistant-compose [data-composer-send]:hover:not(:disabled),.shared-assistant .shared-assistant-compose [data-composer-send]:disabled{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;transform:none}

/* Keep the send control in the bottom tool row instead of relying on a containing block. */
.shared-assistant .shared-assistant-compose-actions{display:flex;width:100%;min-height:40px;padding-right:0;align-items:center}.shared-assistant .shared-assistant-compose [data-composer-send]{position:static;right:auto;bottom:auto;align-self:center;justify-self:auto;margin-left:auto}.shared-assistant .shared-assistant-compose textarea{padding:3px 6px 6px 2px}

/* Four explicit video workflows share one backend thread without turning into one oversized composer. */
.video-workspace{grid-template-rows:auto minmax(0,1fr) minmax(200px,.9fr);overflow:hidden}.video-workflow-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;overflow:auto;padding:16px 18px;background:#f8fafc}.video-workflow-modules article{display:grid;align-content:start;gap:10px;border:1px solid #e0e6ef;border-radius:12px;padding:14px;background:#fff;box-shadow:0 1px 2px rgba(15,35,60,.03)}.video-workflow-modules article[aria-disabled="true"]{background:#fafbfc}.video-workflow-modules header{display:grid;gap:4px}.video-workflow-modules header b{color:#2c3d57;font-size:14px}.video-workflow-modules header span,.video-module-feedback{margin:0;color:#7a899c;font-size:12px;line-height:1.5}.video-module-compose{width:100%;margin:0!important;border-radius:11px!important;padding:10px 12px 9px!important}.video-module-compose textarea{min-height:48px!important;max-height:74px!important;font-size:14px!important}.video-module-compose .shared-assistant-compose-actions{min-height:36px}.video-module-compose button{min-width:36px;min-height:36px}.video-module-compose [data-composer-send],.video-module-compose [data-composer-send]:hover:not(:disabled),.video-module-compose [data-composer-send]:disabled{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px}.video-shared-history{display:grid;grid-template-rows:auto minmax(160px,1fr) auto;min-height:0;border-top:1px solid #edf0f4;background:#fff}.video-shared-history>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 20px;border-bottom:1px solid #edf0f4}.video-shared-history>header b{color:#2c3d57;font-size:13px}.video-shared-history>header span{color:#7a899c;font-size:12px}.video-shared-history .shared-assistant-messages{min-height:0;padding-top:12px}.video-shared-history .shared-assistant-job{padding-top:8px;padding-bottom:8px}

@media (max-width: 680px) {
  .video-workspace{grid-template-rows:auto minmax(0,1fr) minmax(180px,.8fr)}.video-workflow-modules{grid-template-columns:1fr;padding:12px}.video-shared-history>header{align-items:flex-start;flex-direction:column;padding:10px 14px}
  .internal-home-shell { grid-template-rows:auto minmax(0,1fr); grid-template-columns:1fr; }
  .internal-workspace-nav { display:flex; flex-direction:row; gap:6px; padding:10px 12px; overflow-x:auto; overflow-y:hidden; border-right:0; border-bottom:1px solid #303030; }
  .internal-workspace-nav > p,.internal-workspace-nav-spacer { display:none; }
  .internal-workspace-nav button { min-width:148px; min-height:48px; flex:0 0 auto; }
  .internal-main-welcome { width:calc(100% - 36px); }.internal-main-welcome h2{font-size:25px}.internal-shortcuts{overflow:auto}.internal-shortcuts span{white-space:nowrap}
  .shared-assistant-messages { padding:18px; }.shared-assistant-compose { width:calc(100% - 24px); margin:10px 0 12px; }.morning-workspace { padding:20px; }
  .internal-topbar{gap:10px;padding:0 14px;overflow:hidden}.internal-brand b{font-size:14px;white-space:nowrap}.internal-topbar>p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.internal-top-actions{display:none}.internal-workspace-nav{overflow:visible}.internal-workspace-scroll{display:flex;gap:6px;overflow-x:auto;overflow-y:hidden}.internal-workspace-scroll>p,.internal-workspace-scroll .internal-workspace-nav-spacer{display:none}.internal-workspace-scroll button{min-width:148px;flex:0 0 auto}.internal-account{position:fixed;right:12px;bottom:10px;z-index:20;padding:0;border:0}.internal-account>button{width:auto;min-width:44px;background:#fff;border:1px solid #dbe3ed;box-shadow:0 2px 10px #20314a18}.internal-account>button b,.internal-account>button i{display:none}.internal-account>div{right:0;bottom:54px}
  .finance-workspace>header,.finance-ledger>header { align-items:flex-start; flex-direction:column; padding:16px; }
  .pricing-workbench-head{align-items:flex-start;flex-direction:column;padding:18px 16px 12px}.pricing-workbench-head .shared-assistant-status{align-self:flex-start}.pricing-quick-task{align-items:flex-start;flex-direction:column;margin:12px 12px 7px;padding:13px}.pricing-quick-task button{width:100%}.pricing-recent-tasks{padding:0 14px 6px}.pricing-assistant .shared-assistant-messages{padding:14px}.pricing-assistant .shared-assistant-compose{margin:8px 12px 12px}
  .selection-workbench-head{align-items:flex-start;flex-direction:column;padding:18px 16px 12px}.selection-workbench-head .shared-assistant-status{align-self:flex-start}.selection-quick-tasks{align-items:flex-start;flex-direction:column;margin:12px 12px 7px;padding:13px}.selection-quick-tasks>div:last-child{width:100%;justify-content:stretch}.selection-quick-tasks button{flex:1 1 100%;width:100%}.selection-recent-tasks{padding:0 14px 6px}.selection-assistant .shared-assistant-messages{padding:14px}.selection-assistant .shared-assistant-compose{margin:8px 12px 12px}
  .shared-assistant .shared-assistant-compose{padding:11px 12px 10px}
  .jinshi-workspace>header,.account-workspace>header{align-items:flex-start;flex-direction:column;padding:18px}.jinshi-catalog-stats{text-align:left}.jinshi-body,.account-workspace-body{padding:16px}.jinshi-result-match dl{grid-template-columns:1fr}.jinshi-history article{grid-template-columns:1fr;gap:4px}.account-workspace-body{grid-template-columns:1fr}.account-activity{grid-column:auto}.account-activity article{grid-template-columns:1fr;gap:4px}.account-activity time{white-space:normal}
  .admin-workspace>header{align-items:flex-start;flex-direction:column;padding:18px}.admin-workspace-body{padding:16px}.site-admin-metrics,.site-admin-grid{grid-template-columns:1fr}.site-traffic-chart{min-height:130px}.admin-workspace .table-wrap{overflow:auto}.admin-workspace .user-table{min-width:620px}
  .assistant-pending-workspace>header{align-items:flex-start;flex-direction:column;padding:18px}.assistant-pending-body{padding:14px}.video-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .finance-workspace .finance-body { padding:16px; }.finance-workspace .metrics,.finance-grid { grid-template-columns:1fr; }
  .finance-grid { gap:12px; }.finance-ledger .table-wrap { display:none; }.mobile-ledger { display:grid; gap:10px; padding:12px; }
  .finance-mobile-item { border:1px solid #e3e8ef; border-radius:9px; padding:12px; }.finance-mobile-item header,.finance-mobile-item footer,.finance-mobile-item p { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0; }.finance-mobile-item h3 { margin:0; color:#2c3b51; font-size:14px; }.finance-mobile-item p { margin:9px 0; color:#718096; font-size:12px; }.finance-mobile-item footer { color:#718096; font-size:11px; }
}

/* Pattern extraction: keep the transcript bounded; wheel chaining reaches the asset library. */
.pattern-quick-source>header{justify-content:flex-start}.pattern-quick-source>header .pattern-quick-paste{margin-left:auto;color:#8390a2;font-size:10px;font-weight:650;letter-spacing:0;white-space:nowrap}
.internal-workspace-content:has(.pattern-extract-workbench:not([hidden])){display:grid;overflow:hidden}
.internal-workspace-content:has(.pattern-extract-workbench:not([hidden]))>.pattern-extract-workbench{display:block;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:auto}
.pattern-extract-workbench>.shared-assistant-topline{position:sticky}
.pattern-conversation{display:grid;grid-template-rows:auto minmax(180px,1fr) auto auto;height:clamp(420px,56dvh,560px);min-height:0;overflow:hidden}
.pattern-conversation .shared-assistant-messages{min-height:0;max-height:none;overflow-y:auto;overscroll-behavior:auto;padding:14px max(20px,calc((100% - 900px)/2))}
.pattern-conversation .shared-assistant-compose{margin:8px auto 10px;padding:7px 10px 8px}
.pattern-conversation .shared-assistant-compose textarea{min-height:32px;max-height:68px;line-height:1.45}
.pattern-conversation .shared-assistant-compose-actions{min-height:30px}
.pattern-conversation .shared-image-attachment,.pattern-conversation .shared-message.user .shared-image-attachment,.pattern-conversation .shared-message:not(.user) .shared-image-attachment{width:150px;max-width:100%}
.pattern-conversation .shared-image-stage,.pattern-conversation .shared-message.user .shared-image-stage,.pattern-conversation .shared-message:not(.user) .shared-image-stage{width:150px;max-width:100%;height:120px;min-height:0;max-height:120px;padding:5px}
.pattern-conversation .shared-image-stage img,.pattern-conversation .shared-message.user .shared-image-stage img,.pattern-conversation .shared-message:not(.user) .shared-image-stage img{max-height:108px}
@media(max-width:680px){.pattern-quick-source>header .pattern-quick-paste{font-size:9px}.pattern-conversation .shared-image-attachment,.pattern-conversation .shared-message.user .shared-image-attachment,.pattern-conversation .shared-message:not(.user) .shared-image-attachment{width:128px}.pattern-conversation .shared-image-stage,.pattern-conversation .shared-message.user .shared-image-stage,.pattern-conversation .shared-message:not(.user) .shared-image-stage{width:128px;height:102px;max-height:102px}.pattern-conversation .shared-image-stage img,.pattern-conversation .shared-message.user .shared-image-stage img,.pattern-conversation .shared-message:not(.user) .shared-image-stage img{max-height:90px}}

/* Selection keeps its chat readable even when the library has many saved rows. */
.selection-assistant{display:flex;flex-direction:column;align-items:stretch;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:auto}
.selection-workbench-head,.selection-recent-tasks,.selection-assistant .shared-assistant-job,.selection-assistant .shared-assistant-compose{flex:0 0 auto}
.selection-assistant .selection-quick-tasks,.selection-assistant [data-selection-library-copy-all],.selection-assistant #selectionLibraryCopyAll{display:none!important}
.selection-assistant .shared-assistant-messages{flex:0 0 clamp(360px,42vh,500px);width:min(calc(100% - 40px),1200px);min-height:360px;max-height:500px;box-sizing:border-box;align-self:center;padding:18px clamp(20px,3vw,40px);overflow-y:auto;overscroll-behavior:auto}
.selection-assistant .shared-message{max-width:76%;font-size:12px;line-height:1.55}
.selection-assistant .shared-assistant-compose{width:min(calc(100% - 40px),1200px);min-height:124px;box-sizing:border-box;align-self:center}
.selection-assistant .shared-assistant-compose textarea{font-size:12px;line-height:1.5}
.selection-library{flex:0 0 auto;height:auto;min-height:0;max-height:none;display:block}
.selection-library-table-wrap{min-height:0;overflow-x:auto;overflow-y:visible}
@media(max-width:680px){.selection-assistant .shared-assistant-messages{flex-basis:260px;width:calc(100% - 24px);min-height:220px;max-height:300px;padding:16px}.selection-assistant .shared-assistant-compose{width:calc(100% - 24px);min-height:112px}}

/* Team-delivered daily selection files.  This is deliberately a compact file
   table, not another assistant or product-card surface. */
.selection-delivery-workspace{height:100%;min-height:0;overflow:auto;border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:#243247}.selection-delivery-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #edf0f4}.selection-delivery-workspace>header p{margin:0;color:#0f9a87;font-size:11px;font-weight:850;letter-spacing:.12em}.selection-delivery-workspace>header h2{margin:4px 0 6px;font-size:22px}.selection-delivery-workspace>header span{color:#718096;font-size:13px}.selection-delivery-filter{display:flex;align-items:end;gap:8px}.selection-delivery-filter label{display:grid;gap:4px;color:#718096;font-size:11px;font-weight:750}.selection-delivery-filter input{height:34px;box-sizing:border-box;border:1px solid #d6e0eb;border-radius:8px;padding:0 8px;background:#fff;color:#33445c;font:12px system-ui}.selection-delivery-filter button{height:34px;border:1px solid #cfd9ec;border-radius:8px;padding:0 12px;background:#fff;color:#3156c8;font-size:12px;font-weight:800;cursor:pointer}.selection-delivery-filter button:hover{background:#eef3ff}.selection-delivery-latest{margin:14px 18px 10px;border:1px solid #dcebe7;border-radius:10px;padding:10px 12px;background:#f3fbf8;color:#237764;font-size:12px;font-weight:700}.selection-delivery-latest.failed{border-color:#f0d5d9;background:#fff6f7;color:#a34e59}.selection-delivery-table-wrap{margin:0 18px 20px;overflow-x:auto;border:1px solid #e2e9f1;border-radius:11px}.selection-delivery-table-wrap table{width:100%;min-width:760px;border-collapse:collapse;font-size:12px}.selection-delivery-table-wrap th,.selection-delivery-table-wrap td{padding:11px 12px;border-bottom:1px solid #edf1f5;text-align:left;vertical-align:middle}.selection-delivery-table-wrap th{background:#f8fafc;color:#748299;font-size:11px;font-weight:800}.selection-delivery-table-wrap td{color:#44556c}.selection-delivery-table-wrap td:nth-child(2){max-width:320px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selection-delivery-table-wrap td:nth-child(5){min-width:154px}.selection-delivery-table-wrap small{display:block;max-width:180px;margin-top:3px;overflow:hidden;color:#a35b64;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.selection-delivery-state{display:inline-flex;border-radius:999px;padding:3px 7px;font-size:11px;font-weight:800}.selection-delivery-state.completed{background:#eaf8f3;color:#10836d}.selection-delivery-state.failed{background:#fff0f1;color:#b24d59}.selection-delivery-download{display:inline-flex;min-height:30px;align-items:center;border:1px solid #cfd9ec;border-radius:7px;padding:0 10px;background:#fff;color:#3156c8;font-size:11px;font-weight:800;text-decoration:none}.selection-delivery-download:hover{background:#eef3ff}.selection-delivery-unavailable{color:#9aa5b5;font-size:11px}@media(max-width:680px){.selection-delivery-workspace>header{flex-direction:column;padding:18px}.selection-delivery-filter{width:100%;align-items:end}.selection-delivery-filter label{flex:1}.selection-delivery-filter input{width:100%}.selection-delivery-table-wrap{margin:0 12px 16px}.selection-delivery-latest{margin:12px}.selection-delivery-workspace>header h2{font-size:20px}}

/* Evidence-first material analysis. Missing metrics are never rendered as zero. */
.material-analysis-workspace{height:100%;min-height:0;overflow:auto;border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:#243247}.material-analysis-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 26px;border-bottom:1px solid #edf0f4}.material-analysis-workspace>header p,.material-analysis-report header p{margin:0;color:#0f9a87;font-size:11px;font-weight:850;letter-spacing:.12em}.material-analysis-workspace h2{margin:4px 0 6px;font-size:22px}.material-analysis-workspace>header span{color:#718096;font-size:13px}.material-waiting{flex:0 0 auto;border:1px solid #f0d69c;border-radius:999px;padding:7px 10px;background:#fff8e8;color:#a86c12;font-size:12px}.material-analysis-create{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(220px,1fr) auto auto;align-items:end;gap:10px;margin:16px 18px 8px;padding:14px;border:1px solid #dfe7f1;border-radius:12px;background:#f8fafd}.material-analysis-create label{display:grid;gap:5px;color:#53657d;font-size:12px;font-weight:750}.material-analysis-create input{height:36px;box-sizing:border-box;border:1px solid #d4deeb;border-radius:8px;padding:0 10px;color:#25364d;font:13px system-ui}.material-analysis-create button,.material-analysis-report button{min-height:36px;border:1px solid #3156c8;border-radius:8px;padding:0 12px;background:#3156c8;color:#fff;font-size:12px;font-weight:800;cursor:pointer}.material-analysis-create button+button{border-color:#cdd9ec;background:#fff;color:#3156c8}.material-analysis-note{margin:0 20px 13px;color:#7a899b;font-size:11px;line-height:1.55}.material-analysis-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:14px;padding:0 18px 22px}.material-analysis-layout>aside,.material-analysis-report{min-width:0;border:1px solid #e0e7f0;border-radius:12px;background:#fff}.material-analysis-layout>aside h3{margin:0;padding:13px 14px;border-bottom:1px solid #edf0f4;font-size:14px}.material-analysis-list{display:grid;gap:6px;padding:8px}.material-analysis-list button{display:grid;gap:4px;width:100%;border:1px solid transparent;border-radius:8px;padding:10px;text-align:left;background:#fff;color:#465873;cursor:pointer}.material-analysis-list button.active,.material-analysis-list button:hover{border-color:#cbdaf2;background:#f3f7ff}.material-analysis-list button b{font-size:12px}.material-analysis-list button small{color:#8290a3;font-size:10px}.material-analysis-report>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border-bottom:1px solid #edf0f4}.material-analysis-report h3{margin:3px 0 0;font-size:16px}.material-demo-watermark{display:inline-flex;border-radius:999px;padding:3px 7px;background:#fff1cf;color:#9b671a;font-size:10px;font-weight:800}.material-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px 16px}.material-report-grid section{min-width:0;border:1px solid #e8edf4;border-radius:9px;padding:11px}.material-report-grid section.wide{grid-column:1/-1}.material-report-grid h4{margin:0 0 8px;color:#35465f;font-size:13px}.material-report-grid p,.material-report-grid li{margin:0;color:#617189;font-size:12px;line-height:1.6}.material-report-grid ul{margin:0;padding-left:18px}.evidence{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:2px 6px;font-size:10px;font-weight:800}.evidence.verified_public{background:#eaf8f3;color:#0d866f}.evidence.estimated{background:#fff6df;color:#a56b14}.evidence.unavailable{background:#f2f4f7;color:#718096}.material-timeline{display:grid;gap:8px}.material-timeline article{border-left:3px solid #84a7ef;padding:7px 10px;background:#f8faff}.material-timeline b{font-size:12px}.material-timeline span{display:block;margin-top:3px;color:#65758c;font-size:11px;line-height:1.5}.material-empty{padding:24px;color:#7d8ba0;text-align:center;font-size:12px}@media(max-width:860px){.material-analysis-create{grid-template-columns:1fr 1fr}.material-analysis-layout{grid-template-columns:1fr}.material-analysis-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.material-analysis-workspace>header{padding:18px;flex-direction:column}.material-analysis-create{grid-template-columns:1fr;margin:12px}.material-analysis-layout{padding:0 12px 16px}.material-analysis-list{grid-template-columns:1fr}.material-report-grid{grid-template-columns:1fr}.material-report-grid section.wide{grid-column:auto}}
.creative-video-handoff{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.65fr) auto;align-items:center;gap:12px;margin:12px 18px 0;border:1px solid #dfe7f1;border-radius:11px;padding:12px 14px;background:#f8fafd}.creative-video-handoff b{display:block;color:#32445e;font-size:13px}.creative-video-handoff span,.creative-video-project-detail{color:#738298;font-size:11px;line-height:1.5}.creative-video-handoff select,.creative-video-handoff button{height:34px;border:1px solid #ccd8eb;border-radius:8px;padding:0 9px;background:#fff;color:#3156c8;font-size:12px}.creative-video-project-detail{grid-column:1/-1;padding:9px 10px;border-radius:8px;background:#fff}.creative-video-project-detail p{margin:0 0 8px}.creative-video-storyboards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.creative-video-storyboards article{display:grid;gap:4px;border:1px solid #e3e9f2;border-radius:7px;padding:7px;background:#fbfcfe}.creative-video-storyboards b{font-size:11px}.creative-video-storyboards span,.creative-video-storyboards small{font-size:10px;color:#718096}.creative-video-slots{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.creative-video-slots span{border-radius:999px;padding:3px 7px;background:#fff4e6;color:#9c6817;font-size:10px}@media(max-width:700px){.creative-video-handoff{grid-template-columns:1fr}.creative-video-storyboards{grid-template-columns:1fr}}

/* Material analysis uses the established shared assistant, not a parallel project manager. */
.internal-workspace-nav .internal-workspace-group{margin:14px 10px 5px;color:#94a0b2;font-size:11px;font-weight:800;letter-spacing:.08em}
.material-analysis-assistant{display:flex;flex-direction:column;align-items:stretch;height:auto;min-height:0;max-height:none;overflow:visible}
.material-analysis-links{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(220px,1fr) auto;align-items:end;gap:10px;margin:14px 18px 0;padding:12px 14px;border:1px solid #dfe7f1;border-radius:12px;background:#f8fafd}
.material-analysis-links label{display:grid;gap:5px;color:#53657d;font-size:12px;font-weight:750}.material-analysis-links input{height:36px;box-sizing:border-box;border:1px solid #d4deeb;border-radius:8px;padding:0 10px;color:#25364d;font:13px system-ui}
.material-analysis-links button{min-height:36px;border:1px solid #3156c8;border-radius:8px;padding:0 14px;background:#3156c8;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.material-analysis-links button:disabled{cursor:not-allowed;opacity:.5}
.material-analysis-assistant .material-analysis-links,.material-analysis-assistant .material-analysis-note,.material-analysis-assistant .shared-assistant-job,.material-analysis-assistant .shared-assistant-compose{flex:0 0 auto}.material-analysis-assistant .material-analysis-note{margin:8px 20px;color:#7a899b;font-size:12px;line-height:1.5}.material-analysis-assistant .shared-assistant-messages{flex:0 1 auto;min-height:360px;max-height:520px;padding:16px max(22px,calc((100% - 900px)/2));overflow-y:auto;overscroll-behavior:auto}.material-analysis-assistant .shared-message{font-size:13px;line-height:1.58}.material-analysis-assistant .shared-assistant-empty,.material-analysis-assistant .shared-assistant-job{font-size:12px}.material-analysis-assistant .shared-assistant-compose{min-height:180px;margin-top:10px;margin-bottom:14px}.material-analysis-assistant .shared-assistant-compose textarea{min-height:64px;max-height:104px;font-size:14px}.material-analysis-assistant .shared-assistant-compose-actions{min-height:42px}.material-analysis-assistant .material-analysis-links button{font-size:12px}
@media(max-width:760px){.internal-workspace-nav .internal-workspace-group{display:none}.material-analysis-links{grid-template-columns:1fr;margin:12px}.material-analysis-assistant .material-analysis-note{margin:6px 14px}.material-analysis-assistant .shared-assistant-messages{min-height:240px;max-height:320px;padding:14px}.material-analysis-assistant .shared-assistant-compose{min-height:148px;margin:8px 12px 12px}}

/* Competitor-store monitoring is a compact report index, not a chat surface. */
.competitor-stores-workspace{height:100%;min-height:0;overflow:auto;border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:#243247}.competitor-stores-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #edf0f4}.competitor-stores-workspace>header p,.competitor-store-report-dialog p{margin:0;color:#ef7953;font-size:11px;font-weight:850;letter-spacing:.12em}.competitor-stores-workspace>header h2{margin:4px 0 6px;font-size:22px}.competitor-stores-workspace>header span{color:#718096;font-size:13px}.competitor-stores-workspace>header button{height:34px;border:1px solid #cfd9ec;border-radius:8px;padding:0 12px;background:#fff;color:#3156c8;font-size:12px;font-weight:800;cursor:pointer}.competitor-stores-workspace>header button:hover{background:#eef3ff}.competitor-stores-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;padding:20px 22px}.competitor-store-card{display:grid;gap:8px;min-height:118px;border:1px solid #dfe6ef;border-radius:12px;padding:16px;background:#fff;color:#2f4059;text-align:left;cursor:pointer;box-shadow:0 1px 2px rgba(30,50,80,.03);transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.competitor-store-card:hover{border-color:#bdd1f0;box-shadow:0 6px 16px rgba(39,76,138,.10);transform:translateY(-1px)}.competitor-store-card:focus-visible{outline:3px solid #b9d4ff;outline-offset:2px}.competitor-store-card b{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.competitor-store-card span{margin-top:auto;color:#7a8a9f;font-size:12px}.competitor-stores-empty{grid-column:1/-1;margin:0;border:1px dashed #dbe4ee;border-radius:12px;padding:36px 18px;color:#8290a2;font-size:13px;text-align:center}.competitor-store-report-dialog{width:min(760px,calc(100vw - 32px));max-height:min(760px,calc(100dvh - 32px));border:0;border-radius:14px;padding:0;background:#fff;box-shadow:0 20px 55px rgba(21,37,62,.28)}.competitor-store-report-dialog::backdrop{background:rgba(20,31,47,.34)}.competitor-store-report-dialog>section{display:grid;grid-template-rows:auto minmax(0,1fr);max-height:inherit}.competitor-store-report-dialog header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:1px solid #edf0f4;padding:20px 22px}.competitor-store-report-dialog h3{margin:4px 0;color:#283a52;font-size:20px}.competitor-store-report-dialog header span{color:#7d8ca0;font-size:12px}.competitor-store-report-dialog header button{display:grid;width:32px;height:32px;place-items:center;border:1px solid #d8e1ec;border-radius:8px;background:#fff;color:#53647b;font-size:20px;cursor:pointer}.competitor-store-report-body{overflow:auto;padding:18px 22px 24px;color:#45566d;font-size:13px;line-height:1.7}.competitor-store-report-body article{margin:0 0 14px;border:1px solid #e6ebf2;border-radius:10px;padding:12px 14px;background:#fbfcfe}.competitor-store-report-body h4{margin:0 0 7px;color:#30435f;font-size:13px}.competitor-store-report-body p{margin:0;color:#53657b;font-size:13px;letter-spacing:0}.competitor-store-report-body ul{margin:0;padding-left:18px}.competitor-store-report-body li{margin:3px 0}.competitor-store-report-body pre{overflow:auto;margin:0;white-space:pre-wrap;word-break:break-word;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace}@media(max-width:680px){.competitor-stores-workspace>header{flex-direction:column;padding:18px}.competitor-stores-grid{grid-template-columns:1fr;padding:14px}.competitor-store-report-dialog{width:calc(100vw - 20px)}.competitor-store-report-dialog header,.competitor-store-report-body{padding-left:16px;padding-right:16px}}

.competitor-store-card:nth-child(6n+1){background:#eef6ff}.competitor-store-card:nth-child(6n+2){background:#effaf3}.competitor-store-card:nth-child(6n+3){background:#fff6e8}.competitor-store-card:nth-child(6n+4){background:#f8f0ff}.competitor-store-card:nth-child(6n+5){background:#fff0f3}.competitor-store-card:nth-child(6n){background:#effafb}.competitor-store-card-action{justify-self:center;margin:auto 0 0!important;padding:6px 10px;border:1px solid #b9cbe2;border-radius:7px;background:rgba(255,255,255,.72);color:#3156c8!important;font-size:12px!important;font-weight:800}.competitor-report-content{display:block!important}.competitor-report-content h2,.competitor-report-content h3,.competitor-report-content h4{color:#243b5d;line-height:1.45}.competitor-report-content h2{font-size:17px}.competitor-report-content h3{font-size:15px}.competitor-report-paragraph{margin:0 0 14px!important}.competitor-report-list{margin:0 0 14px;padding-left:20px}.competitor-report-section{margin:18px 0 10px;padding-top:4px;border-top:1px solid #e7edf5}.competitor-report-table{margin:0 0 15px!important;padding:12px!important;border-radius:8px;background:#f4f7fb;white-space:pre-wrap!important;font:12px/1.65 ui-monospace,SFMono-Regular,Menlo,monospace!important}

.file-share-workspace{height:100%;min-height:0;overflow:auto;border:1px solid #e3e8ef;border-radius:14px;background:#fff;color:#243247}.file-share-workspace>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 24px;border-bottom:1px solid #edf0f4}.file-share-workspace>header p{margin:0;color:#5b7ee5;font-size:11px;font-weight:850;letter-spacing:.12em}.file-share-workspace>header h2{margin:4px 0 6px;font-size:22px}.file-share-workspace>header span{color:#718096;font-size:13px}.file-share-workspace>header button{height:34px;border:1px solid #cfd9ec;border-radius:8px;padding:0 12px;background:#fff;color:#3156c8;font-size:12px;font-weight:800;cursor:pointer}.file-share-workspace>header button:hover{background:#eef3ff}.file-share-dropzone{display:grid;justify-items:center;width:calc(100% - 44px);margin:20px 22px 8px;border:1.5px dashed #bfcfe7;border-radius:12px;padding:25px 16px;background:#f8fbff;color:#425674;cursor:pointer}.file-share-dropzone:hover,.file-share-dropzone.is-dragover{border-color:#5b7ee5;background:#eff5ff}.file-share-dropzone i{display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#dce9ff;color:#3156c8;font-size:21px;font-style:normal}.file-share-dropzone b{margin-top:9px;font-size:14px}.file-share-dropzone span{margin-top:4px;color:#77879c;font-size:12px}.file-share-status{margin:10px 22px 0;color:#718096;font-size:12px}.file-share-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;padding:14px 22px 24px}.file-share-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #e0e7f0;border-radius:10px;padding:11px;background:#fff}.file-share-card-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:9px;background:#eef4ff;color:#3156c8;font-size:12px;font-weight:850}.file-share-card b{display:block;overflow:hidden;color:#34445e;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.file-share-card span{display:block;margin-top:4px;color:#8290a2;font-size:11px}.file-share-card a{border:1px solid #cfd9ec;border-radius:7px;padding:6px 8px;color:#3156c8;font-size:12px;font-weight:800;text-decoration:none}.file-share-card a:hover{background:#eef3ff}.file-share-empty{grid-column:1/-1;margin:0;border:1px dashed #dbe4ee;border-radius:12px;padding:32px 18px;color:#8290a2;font-size:13px;text-align:center}@media(max-width:680px){.file-share-workspace>header{flex-direction:column;padding:18px}.file-share-dropzone{width:calc(100% - 28px);margin:14px}.file-share-status{margin-left:14px}.file-share-grid{grid-template-columns:1fr;padding:14px}}
