[hidden]{display:none!important}
.pilot-shell{--quiet:#576b7c;--stroke:#dce5ed;--action:#246eae}
.pilot-shell .topbar{height:46px;min-height:46px;padding:0 17px}
.pilot-shell .topbar-start,.pilot-shell .topbar-right{gap:10px}
.pilot-shell .topbar .icon-button{width:30px;height:30px}
.pilot-shell .mobile-brand{font-size:18px}
.pilot-shell .breadcrumbs{font-size:12px}
.pilot-store{font-size:12px;color:var(--quiet)}
#access{padding:5px 10px;min-height:30px;font-size:12px}
.pilot-shell .chats-page{padding:9px 12px 12px}
.pilot-shell .chats-page .inbox{border:0;border-radius:0;box-shadow:none}
.pilot-shell .context-pane{padding:12px 14px}
.pilot-shell .context-caption{margin:0 0 8px;font-size:11px;letter-spacing:.04em}
.pilot-shell .context-product-image{display:block;object-fit:contain;width:100%;height:120px;border-radius:7px;background:#f4f5f5}
.pilot-shell .context-product h3{margin:10px 0 2px;font-size:15px}
.pilot-shell .context-section{margin:10px 0 0;padding:10px 0 0}
.pilot-shell .context-section h4,.pilot-shell .product-category{font-size:11px;color:var(--quiet);margin:0 0 3px}
.pilot-shell .context-price{font-size:16px;margin:2px 0}
.pilot-shell .context-footnote{color:var(--quiet);font-size:12px;line-height:1.4;text-align:left;margin:3px 0}
.pilot-shell .context-link{display:inline-flex;gap:4px;align-items:center;width:fit-content;color:var(--action);margin:8px 0 1px;padding:0}
.pilot-shell .list-heading{padding:8px 12px 6px}
.pilot-shell .list-heading h2{font-size:14px;margin:0}
.pilot-shell .list-refresh,.pilot-shell .chat-actions .icon-button{height:29px;width:29px}
.pilot-shell .list-search{margin:0 10px 5px}
.pilot-shell .list-search input{height:29px;padding:4px 8px 4px 29px;font-size:12px}
.pilot-shell .filter-tabs{padding:0 10px 6px;gap:4px}
.pilot-shell .filter-tab{padding:3px 7px;font-size:11px;line-height:15px}
.pilot-shell .conversation-items{padding:4px 5px}
.pilot-shell .conversation-item{padding:6px 8px;min-height:0;gap:7px;margin:0 0 1px;border-radius:6px;align-items:center}
.pilot-shell .conversation-item .customer-avatar,.pilot-shell .chat-person .customer-avatar{width:30px;height:30px;border-radius:50%;font-size:10px}
.pilot-shell .conversation-meta{display:flex;flex-direction:column;min-width:0;gap:1px}
.pilot-shell .conversation-topline{gap:5px;line-height:16px}
.pilot-shell .customer-name{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pilot-shell .conversation-time{font-size:10px;flex-shrink:0}
.pilot-shell .conversation-product,.pilot-shell .conversation-snippet{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px;line-height:14px;margin:0}
.pilot-shell .conversation-snippet{color:#536475}
.pilot-shell .customer-avatar{position:relative;overflow:hidden}
.peer-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0}
.peer-photo.loaded{opacity:1}
.pilot-shell .conversation-item[data-last=buyer]{--origin:#38688e;--wash:#f5f9fc}
.pilot-shell .conversation-item[data-last=shop]{--origin:#38725f;--wash:#f5f9f6}
.pilot-shell .conversation-item[data-last=system]{--origin:#78608c;--wash:#f8f6fa}
.pilot-shell .conversation-item[data-last]{background:var(--wash,white);border:0;outline:0;box-shadow:none}
.pilot-shell .conversation-item[data-last]:hover{background:#eaf0f1}
.pilot-shell .conversation-item[data-last].active{background:#263d43}
.pilot-shell .conversation-item.active .customer-name{color:#fff}
.pilot-shell .conversation-item.active :is(.conversation-product,.conversation-time){color:#c2d1d3}
.pilot-shell .conversation-item .conversation-snippet{display:flex;align-items:center;gap:4px;color:var(--origin,#52616a)}
.conversation-snippet svg{width:12px;height:12px;flex:none}
.conversation-snippet span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pilot-shell .conversation-item.active .conversation-snippet{color:#edf3f3}
.pilot-shell .conversation-item:focus-visible .customer-name{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
.inbox-progress{flex-shrink:0;margin:5px 12px 8px;font-size:11px;color:var(--quiet)}
.conversation-items .inbox-more{display:block;margin:8px auto;font-size:12px}
#detail{display:flex;flex:1;flex-direction:column;min-width:0;min-height:0;overflow:hidden}
.pilot-shell .chat-header{padding:5px 12px;min-height:45px;gap:6px}
.pilot-shell .chat-person,.pilot-shell .chat-actions{gap:6px;min-width:0}
.pilot-shell .chat-person>div{min-width:0}
.pilot-shell .chat-person h2,.pilot-shell .chat-person p{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pilot-shell .chat-person h2{font-size:14px;line-height:18px}
.pilot-shell .chat-person p{font-size:11px;line-height:15px;color:var(--quiet);display:block}
.pilot-shell .chat-actions{flex:none}
.pilot-mode,.editor-listing{display:inline-flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;background:transparent;color:var(--quiet);font:inherit}
.pilot-mode,.chat-notes,.message-comment{border:0;background:transparent}
.pilot-mode,.chat-notes{font:inherit;font-size:11px;white-space:nowrap;color:#405960;cursor:pointer;padding:5px 6px}
.chat-notes{display:inline-flex;align-items:center;gap:4px}
.chat-notes svg{width:16px;height:16px}
.notes-count{font-variant-numeric:tabular-nums;font-weight:700}
.chat-notes:hover,.pilot-mode:hover,.text-action:hover{text-decoration:underline;text-underline-offset:3px}
.pilot-mode svg,.editor-listing svg{width:15px;height:15px}
.pilot-shell .messages{padding:5px 14px 9px;scroll-behavior:auto}
.pilot-shell .date-divider{margin:7px auto;font-size:10px;line-height:14px}
.pilot-shell .message-row{margin:0 0 4px;flex-direction:row;align-items:center;gap:4px}
.pilot-shell .message-row.outgoing{flex-direction:row-reverse}
.message-comment{padding:5px;color:#5d7076;cursor:pointer;opacity:0}
.message-comment svg{width:14px;height:14px;display:block}
.message-row:hover .message-comment,.message-row:focus-within .message-comment{opacity:1}
@media(hover:none){.message-comment{opacity:.65}}
.pilot-shell .message-bubble{padding:5px 9px;line-height:1.4;font-size:14px;max-width:min(82%,70ch)}
.pilot-shell .message-bubble .message-time{display:inline-block;vertical-align:baseline;white-space:nowrap;margin:0 0 0 7px;color:#677887;line-height:1;font-size:10px}
.pilot-shell .message-bubble a{color:var(--action);text-decoration:underline}
.chat-photo img{display:block;max-width:min(260px,52vw);max-height:190px;object-fit:contain;border-radius:5px}
.pilot-shell .message-row:not(.outgoing) .message-bubble{background:#eff6fd;border-color:#d8e6f4}
.pilot-shell .message-system{display:flex;align-items:center;gap:6px;width:fit-content;max-width:85%;margin:6px auto;padding:2px 4px;border:0;background:transparent;color:#75598c;font-size:11px}
.message-system svg{width:13px;height:13px;flex:none}
.message-system time{font-size:10px;white-space:nowrap}
.pilot-empty{padding:15px;color:var(--quiet);text-align:center;font-size:13px}
#choices,#product-body{padding:12px 16px 16px;overflow-wrap:anywhere}
#choices,#order-list{display:grid;gap:8px}
#choices .button{text-align:left;justify-content:flex-start}
.pilot-editor{position:relative;flex:none;margin:0;padding:6px 12px 7px;background:#fff;border-top:1px solid var(--stroke)}
.editor-input{display:block;width:100%;min-height:30px;max-height:116px;padding:5px 4px;border:0;outline-offset:1px;background:#fff;color:var(--ink);font:inherit;font-size:14px;line-height:20px;resize:none}
.editor-input:focus-visible{outline:1px solid #a7c7e5;border-radius:5px}
.editor-toolbar,.editor-tools,.editor-attachment,.editor-suggestion,.editor-warning{display:flex;align-items:center;gap:6px}
.editor-toolbar{justify-content:space-between;margin-top:3px}
.editor-tools{gap:3px}
.pilot-editor .icon-button,.editor-listing{width:30px;height:29px;border:0;border-radius:6px;background:#f4f7f9;color:#435a6c}
.editor-listing{width:auto;padding:0 7px;font-size:12px}
.pilot-editor .icon-button svg{width:17px;height:17px}
.pilot-editor .send-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:7px;font:inherit;font-size:12px;font-weight:600;padding:5px 11px;min-height:29px;cursor:pointer}
.pilot-editor .send-button svg{width:15px;height:15px}
.pilot-editor button:disabled{opacity:.48;cursor:default}
.editor-suggestion,.editor-warning{gap:7px;margin-bottom:4px;font-size:12px}
.editor-suggestion .draft{margin:0;min-width:0;overflow:auto;max-height:50px;color:#45596a}
.draft-label{font-size:10px;color:#537067;white-space:nowrap}
.editor-suggestion .button,.editor-warning .button{padding:3px 7px;font-size:11px;white-space:nowrap}
.editor-warning,.editor-status{color:#775118}
.editor-status{display:block;font-size:11px;line-height:1.4}
.editor-status:empty{display:none}
.pilot-shell .thread-load-note{display:flex;align-items:center;justify-content:center;gap:6px;align-self:center;font-size:11px;line-height:1.4;color:var(--quiet)}
.thread-load-note button{padding:2px 6px;font-size:11px}
.editor-attachment{width:fit-content;max-width:100%;padding:3px 6px;margin-bottom:4px;border-radius:6px;background:#f4f7f9;color:var(--quiet);font-size:11px}
.editor-attachment span{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
.editor-attachment img{width:36px;height:36px;object-fit:cover;border-radius:4px}
.emoji-palette{position:absolute;bottom:39px;left:10px;display:grid;grid-template-columns:repeat(6,1fr);padding:4px;border:1px solid var(--stroke);border-radius:9px;background:#fff;box-shadow:0 3px 16px #243e571a;z-index:2}
.emoji{border:0;background:none;cursor:pointer;width:33px;height:32px;font-size:19px}
.emoji:hover,.editor-listing:hover{background:#e9f1f9}
/* Catalog, orders and assistant settings share the workspace grid. */
#catalog-view,#orders-view,#assistant-view {
  width:100%;max-width:1240px;margin:0 auto;
  padding:clamp(22px,3.2vw,48px) clamp(20px,4.8vw,76px) 48px;
}
#catalog-view .page-header,#orders-view .page-header {margin:0 0 22px}
#catalog-view h1,#orders-view h1,#assistant-view h1 {
  margin:0;font-size:clamp(26px,2.2vw,35px);line-height:1.12;
  letter-spacing:-.045em;font-weight:675;color:var(--ink);
}
#catalog,#listing-search {min-width:0}
.catalog-controls {
  display:flex;gap:14px;align-items:center;flex-wrap:wrap;
  padding:0 0 16px;
}
.catalog-query {
  display:flex;align-items:center;gap:8px;flex:1;max-width:430px;min-width:160px;
  padding:0 11px;border-radius:7px;background:#eaeef4;color:var(--quiet);
}
.catalog-query:focus-within {outline:2px solid var(--action);outline-offset:1px}
.catalog-query svg {width:16px;height:16px}
.catalog-query input {
  width:100%;min-width:0;height:36px;padding:0;color:var(--ink);font:inherit;
  font-size:13px;background:transparent;outline:none;border:0;
}
.catalog-controls select {
  max-width:150px;min-height:34px;padding:0 8px;font:inherit;font-size:12px;
  color:var(--ink);border:0;border-radius:5px;background:#eaeef4;
}
.catalog-stock-filter {display:flex;align-items:center;gap:5px;font-size:13px;color:var(--quiet)}
.catalog-stock-filter input {accent-color:var(--action)}
.catalog-results-count {margin-left:auto;color:var(--quiet);font-size:12px;font-variant-numeric:tabular-nums}
.inventory-row,.inventory-head {
  display:grid;grid-template-columns:minmax(160px,1.8fr) minmax(85px,1fr) minmax(70px,.5fr) 18px;
  gap:14px;align-items:center;width:100%;padding:6px 8px;text-align:left;
}
.inventory-head {
  padding-block:8px;color:var(--quiet);font-size:11px;font-weight:600;
  border-bottom:1px solid var(--stroke);
}
.inventory-row {
  font:inherit;font-size:13px;color:var(--ink);background:transparent;
  border:0;border-bottom:1px solid var(--stroke);border-radius:0;min-height:53px;cursor:pointer;
}
.inventory-row:hover,.inventory-row:focus-visible {background:var(--violet-light)}
.catalog-identity,.catalog-sizes {display:flex;align-items:center;min-width:0;gap:10px}
.catalog-name {min-width:0}
.catalog-name strong,.catalog-name small {display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.catalog-name strong {font-size:14px;font-weight:620}
.catalog-name small,.catalog-sizes small {font-size:11px;color:var(--quiet)}
.catalog-thumb {
  flex:none;display:grid;place-items:center;width:37px;height:37px;border-radius:5px;
  background:#e8edf3;color:#66768a;overflow:hidden;
}
.catalog-thumb :is(img,svg) {width:16px;height:16px}
.catalog-thumb img.context-product-image {width:100%;height:100%;object-fit:cover;margin:0}
.catalog-sizes {flex-wrap:wrap;gap:3px}
.catalog-size {padding:2px 5px;font-size:11px;border-radius:3px;background:#e9edf2;color:#485667}
.catalog-size.available {color:#206253;background:#e2f1eb}
.catalog-price {white-space:nowrap;font-weight:600;font-variant-numeric:tabular-nums}
.catalog-action {font-size:17px;color:var(--quiet);justify-self:end}
.inventory-row:hover .catalog-action {color:var(--action)}
#listing-search .catalog-controls {padding:12px}
#listing-search .inventory-row,#listing-search .inventory-head {padding-inline:12px}
#order-list {gap:0}
.pilot-order {
  display:grid;grid-template-columns:minmax(120px,.85fr) minmax(200px,1.6fr) auto;
  align-items:start;gap:16px;padding:17px 0;border-bottom:1px solid var(--stroke);
}
.order-identity h3 {font-size:15px;line-height:1.35}
.order-identity p {margin-top:4px;color:var(--quiet);font-size:13px}
.pilot-order .chat-orders {margin:0;padding:0;border:0}
.pilot-order .chat-orders h4 {display:none}
.pilot-order .chat-orders p {margin:0 0 4px}
.pilot-order .text-action {color:var(--action);white-space:nowrap}
#listing-dialog{max-width:min(720px,94vw);width:720px;padding:0;overflow:hidden}
#listing-dialog[open]{display:flex;flex-direction:column;max-height:80dvh}
#listing-search{min-height:0;display:flex;flex-direction:column;border:0;border-radius:0}
#listing-search .inventory-rows{overflow:auto;min-height:0}
#listing-search .catalog-controls{flex:none}
.text-action{border:0;padding:3px 0;background:transparent;color:#286575;cursor:pointer;font:inherit;font-size:12px;display:inline-flex;gap:5px;align-items:center}
.text-action svg,.comment-context svg,.comment-scope svg{width:14px;height:14px;flex:none}
#assistant-settings {margin-top:24px}
.new-chat-mode {grid-column:1/-1;display:grid;gap:4px;margin:0 0 16px}
.new-chat-mode-row {display:flex;align-items:end;gap:10px;flex-wrap:wrap}
.new-chat-mode-row select {width:fit-content;min-height:32px}
.new-chat-mode-row .button {min-height:32px;padding:5px 12px}
.new-chat-mode p {margin:0}
.new-chat-mode p:empty,.connection-summary p:empty {display:none}
.connection-summary {
  display:flex;align-items:baseline;gap:5px 14px;flex-wrap:wrap;
  padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid var(--stroke);
}
.connection-summary strong {color:var(--ink);font-size:15px}
.connection-summary strong::before {
  content:"";display:inline-block;width:8px;height:8px;margin:0 9px 1px 0;
  background:#778496;border-radius:50%;
}
.connection-summary[data-available="true"] strong::before {background:#22866e}
.connection-summary p,.mode-sheet p {margin:0;color:var(--quiet);font-size:13px}
.connection-summary small:empty {display:none}
.connection-summary .text-action {color:var(--action);font-weight:600}
.coaching-muted,.comment-scope {font-size:12px;color:var(--quiet)}
#assistant-settings .coaching-field>span {font-size:13px;font-weight:650;color:var(--ink)}
#assistant-settings .coaching-field :is(input,textarea) {background:#e9edf3;color:var(--ink)}
#assistant-settings .feedback-section h2 {font-size:18px;margin:0 0 8px}
@media(min-width:1100px) {
  #assistant-settings {
    display:grid;grid-template-columns:minmax(360px,1.7fr) minmax(220px,.8fr);
    align-items:start;column-gap:clamp(30px,4vw,60px);
  }
  #assistant-settings .connection-summary {grid-column:1/-1}
  #assistant-settings .feedback-section {margin:0}
}
.instructions-form,.comment-form{display:grid;gap:12px}
.visit-guide-setting{display:grid;gap:4px;justify-items:start}
.visit-guide-actions,.visit-guide-preview{display:inline-flex;align-items:center;gap:10px}
.visit-guide-actions{flex-wrap:wrap}
.visit-guide-preview{font-size:13px;font-weight:600;color:var(--action);text-decoration:none}
.visit-guide-preview:hover{text-decoration:underline}
.visit-guide-preview img{width:34px;height:44px;object-fit:contain;background:#f3f5f8;border-radius:3px}
.visit-guide-preview svg{width:13px;height:13px}
.visit-guide-setting .icon-button{width:28px;height:28px}
.visit-guide-setting [role=status]:empty{display:none}
.coaching-field{display:grid;gap:5px;min-width:0;font-size:13px;font-weight:600}
.coaching-field input,.coaching-field textarea,.coaching-field select,.comment-form>textarea{width:100%;box-sizing:border-box;font-family:inherit;font-size:14px;line-height:1.5;font-weight:400;border:0;border-radius:6px;background:#eef3f3;color:#223b43;padding:9px 11px}
.coaching-field input{max-width:23em}
.coaching-field textarea,.comment-form>textarea{resize:vertical;min-height:55px}
.coaching-field select{max-width:100%;width:fit-content;font-size:12px}
.coaching-actions,.comment-byline,.comment-context,.comment-scope{display:flex;align-items:center;gap:8px}
.coaching-actions .button{width:fit-content;min-height:30px}
.system-limits{font-size:12px;color:#50666b}.system-limits summary{cursor:pointer}
.system-limits p{white-space:pre-line;overflow-wrap:anywhere;line-height:1.55;max-width:80ch}
.feedback-section{margin-top:25px}.feedback-section h2{font-size:18px}
.pilot-shell .comments-sheet,.pilot-shell .mode-sheet{border:0;background:#fff;box-shadow:0 16px 70px #162e3930}
.pilot-shell .comments-sheet{margin:0 0 0 auto;width:min(430px,100vw);max-width:100%;height:100dvh;max-height:100dvh;border-radius:12px 0 0 12px}
.pilot-shell .comments-sheet[open]{display:flex;flex-direction:column}
.comments-sheet .dialog-header,.mode-sheet .dialog-header{border:0;padding:16px 20px 8px}
#comments-body,#mode-body{padding:4px 20px 18px;overflow:auto;min-height:0}
.comment-context{font-size:12px;color:#656655;margin:0 0 12px}
.comment-form>textarea{background:#f7f4e9}
.comment-status:empty{display:none}.comment-status{font-size:12px;color:#88521d;margin:0}
.comment-entry{padding:13px 0;overflow-wrap:anywhere}
.comment-entry+.comment-entry{border-top:1px solid #ecf0ed}
.comment-byline{font-size:12px}.comment-byline time{color:#66777b}.comment-byline .text-action{margin-left:auto}
.comment-text,.comment-correction,.comment-quote{white-space:pre-wrap}
.comment-text{margin:5px 0;color:#263e40;font-size:14px}
.comment-correction,.comment-quote{font-size:12px;color:#57696d;margin:5px 0}
.comment-correction{color:#356552}.comment-scope{margin-top:5px}
.comments-feed{margin-top:15px}
.pilot-shell .mode-sheet{width:min(390px,94vw)}
#mode-body{display:grid;gap:13px}
.mode-info strong,.mode-setting strong{display:block;color:#243c41;font-size:14px;margin-bottom:4px}
.mode-setting .text-action{margin-top:4px}
@media(max-width:1050px){.chat-notes .tool-caption{display:none}}
@media(max-width:700px){
  .pilot-shell .topbar{padding:0 9px;height:44px;min-height:44px}
  .pilot-shell .mobile-brand{font-size:16px}
  .pilot-shell .chats-page{padding:0}
  .pilot-shell .chat-header{padding:4px 8px}
  .pilot-shell .messages{padding:5px 9px}
  .pilot-shell .conversation-item{padding:6px 10px}
  .pilot-shell .message-bubble{max-width:92%}
  .pilot-shell .chat-actions{gap:3px}
  .pilot-shell .mobile-back{min-width:23px}
  .pilot-mode svg{display:none}
  .pilot-mode,.chat-notes{padding:4px;font-size:10px}
  .pilot-shell .comments-sheet{width:100%;border-radius:0}
  .coaching-field input,.coaching-field textarea,.comment-form>textarea{font-size:16px}
  .pilot-editor{padding:4px 9px 5px}
  .editor-input,.catalog-query input{font-size:16px}
  .editor-warning{flex-wrap:wrap}
  #catalog-view{padding:12px 8px 26px}
  .catalog-controls{padding:7px;gap:6px}
  .inventory-row,.inventory-head{grid-template-columns:minmax(94px,1fr) minmax(48px,.46fr) auto 10px;gap:5px;padding:5px 7px}
  .catalog-thumb{display:none}
  .catalog-results-count{font-size:10px}
  .catalog-sizes small{font-size:10px}
  .catalog-name strong,.catalog-price{font-size:12px}
}

/* The public login also uses the workspace palette. */
.pilot-shell .auth-page {background:#121b2b;color:#f6f8ff}
.pilot-shell .auth-card {
  max-width:375px;padding:24px 12px;background:transparent;border:0;box-shadow:none;
}
.pilot-shell .auth-eyebrow {
  display:block;margin:0 0 26px;
  color:#e2e8ff;font-weight:650;font-size:13px;letter-spacing:.015em;text-align:left;
}
.pilot-shell .auth-byline {text-align:left;color:#b4c1d7;font-size:12px;margin:0 0 4px}
.pilot-shell .auth-card h1 {text-align:left;color:#fff;font-size:32px;letter-spacing:-.045em}
.pilot-shell .auth-card>p,.pilot-shell .auth-card .field {color:#c9d3e2}
.pilot-shell .auth-card #token {border:0;color:var(--ink);background:#f4f6fc}
.pilot-shell .auth-card .auth-error {color:#ffb6af}
.pilot-shell .auth-card .primary {color:white;background:#3c55d9}
@media(max-width:700px) {
  #catalog-view,#orders-view,#assistant-view {padding:21px 14px 28px}
  #catalog-view .page-header,#orders-view .page-header {margin-bottom:16px}
  .catalog-controls {padding:0 0 12px}
  #listing-search .catalog-controls {padding:8px}
  #listing-search .inventory-row,#listing-search .inventory-head {padding-inline:7px}
  .pilot-order {grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:12px 0}
  .pilot-order .chat-orders {grid-column:1/-1;grid-row:2}
  #assistant-settings {margin-top:18px}
}
