/* X1121 — Jarvis, the scoped project conversation device.
   One actual conversation, one composer, one project context. No fake intelligence art. */
.x1116-jarvis{display:grid;gap:0;min-width:0;margin:12px 0 24px;
  background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);
  border:1px solid var(--athrty-ui-border);border-radius:18px;overflow:hidden}
.x1116-jarvis-top{padding:clamp(19px,2.4vw,32px);display:flex;gap:20px;
  align-items:center;justify-content:space-between;border-bottom:1px solid var(--athrty-ui-border)}
.x1116-jarvis-brand{min-width:0;display:flex;align-items:center;gap:11px}
.x1116-jarvis-emblem{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;
  flex:none;background:color-mix(in srgb,var(--athrty-ui-accent) 13%,var(--athrty-ui-surface));border:1px solid var(--athrty-ui-border);position:relative}
.x1116-jarvis-emblem span{display:none}
.x1116-jarvis-emblem::before{content:'';width:9px;height:9px;border-radius:50%;background:var(--athrty-ui-accent)}
.x1116-kicker{font-size:11px;letter-spacing:.06em;font-weight:680;color:var(--athrty-ui-accent)}
.x1116-jarvis-brand-copy{display:grid;gap:3px}
.x1116-jarvis-brand h2{font-size:clamp(25px,3.1vw,39px);letter-spacing:-.06em;line-height:1.1;
  font-weight:560;margin:0;color:var(--athrty-ui-ink)}
.x1116-jarvis-context{min-width:0;max-width:45%;display:grid;gap:4px;text-align:right}
.x1116-jarvis-context strong{color:var(--athrty-ui-ink);font-size:12px;font-weight:680;overflow-wrap:anywhere}
.x1116-jarvis-context span{font-size:12px;color:var(--athrty-ui-muted)}
.x1116-jarvis-lead{font-size:clamp(14px,1.2vw,16px);line-height:1.6;
  color:var(--athrty-ui-muted);max-width:76ch;margin:0;padding:18px clamp(19px,2.4vw,32px)}
.x1116-jarvis-workspace{min-width:0;border-top:1px solid var(--athrty-ui-border);
  border-bottom:1px solid var(--athrty-ui-border)}
.x1116-jarvis-conversation{padding:clamp(19px,2.6vw,38px);display:grid;align-content:start;
  gap:4px;min-width:0;max-height:min(56vh,540px);overflow-y:auto;scrollbar-width:thin}
.x1116-turn{min-width:0;max-width:74ch;padding:18px 0 22px;
  display:grid;gap:10px;border-bottom:1px solid var(--athrty-ui-border);
  overflow-wrap:anywhere}
.x1116-turn:last-child{border-bottom:0}
.x1116-turn-label{font-size:11px;font-weight:680;letter-spacing:.035em;color:var(--athrty-ui-accent)}
.x1116-turn p{font-size:clamp(14px,1.25vw,16px);line-height:1.7;
  color:var(--athrty-ui-ink);margin:0;white-space:pre-wrap}
.x1116-turn-user{max-width:76ch}
.x1116-turn-user .x1116-turn-label{color:var(--athrty-ui-muted)}
.x1116-turn-notice p{color:var(--athrty-ui-muted)}
.x1116-inline-action{justify-self:start;min-height:44px;display:inline-flex;align-items:center;
  background:var(--athrty-ui-soft);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border);
  border-radius:10px;padding:11px 15px;font-size:13px;font-weight:650}
.x1116-jarvis-footer{padding:clamp(17px,2.4vw,30px);display:grid;gap:13px}
.x1116-prompt-row{display:flex;flex-wrap:wrap;gap:8px}
.x1116-prompt{border:1px solid var(--athrty-ui-border);border-radius:99px;
  background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);
  padding:9px 13px;font-size:12px;min-height:42px;font-weight:620}
.x1116-prompt:hover{background:var(--athrty-ui-soft)}
.x1116-jarvis-form{display:grid;gap:10px}
.x1116-jarvis-label{font-size:13px;font-weight:680;color:var(--athrty-ui-ink)}
.x1116-jarvis-input{min-height:103px;max-height:260px;resize:vertical;width:100%;
  font:inherit;font-size:14px;line-height:1.6;border-radius:13px;padding:14px 17px;
  background:var(--athrty-ui-canvas);color:var(--athrty-ui-ink);
  border:1px solid var(--athrty-ui-border)}
.x1116-jarvis-input::placeholder{color:var(--athrty-ui-muted)}
.x1116-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.x1116-compose-hint{font-size:12px;line-height:1.5;color:var(--athrty-ui-muted)}
.x1116-jarvis-submit{min-height:46px;padding:10px 21px;border-radius:11px;
  background:var(--athrty-ui-control);color:var(--athrty-ui-control-ink);
  border:1px solid var(--athrty-ui-control);font-size:13px;font-weight:680}
.x1116-jarvis-submit:disabled{opacity:.55;cursor:progress}
.x1116-jarvis-output:empty{display:none}
.x1116-jarvis-output{color:var(--athrty-ui-muted);font-size:13px;line-height:1.5}
.x1121-jarvis-history-tools{display:flex;justify-content:flex-end}
.x1121-jarvis-clear{background:transparent;border:0;color:var(--athrty-ui-muted);
  padding:10px 0;min-height:43px;font-size:12px;cursor:pointer}
.x1121-jarvis-clear:hover{color:var(--athrty-ui-ink)}
.x1116-jarvis-truth{color:var(--athrty-ui-muted);font-size:12px;line-height:1.6;margin:0}
.x1116-finding-list{display:grid;gap:0;margin:7px 0;border-top:1px solid var(--athrty-ui-border)}
.x1116-finding{padding:12px 0;display:grid;gap:5px;border-bottom:1px solid var(--athrty-ui-border)}
.x1116-finding strong{color:var(--athrty-ui-ink);font-size:12px}
.x1116-finding p,.x1116-finding small{color:var(--athrty-ui-muted);font-size:12px}
.x1116-provenance{border-top:1px solid var(--athrty-ui-border);padding-top:12px;margin-top:8px;
  color:var(--athrty-ui-muted);font-size:12px}
.x1116-provenance summary{cursor:pointer;min-height:44px;padding:11px}
.x1116-not-authorized{font-size:12px!important;color:var(--athrty-ui-muted)!important}
.x1116-jarvis :is(button,textarea,summary):focus-visible{outline:2px solid var(--athrty-ui-accent);outline-offset:3px}
@media(max-width:760px){
 .x1116-jarvis{border-radius:13px}
 .x1116-jarvis-top{padding:18px 15px;align-items:start}
 .x1116-jarvis-brand h2{font-size:25px}
 .x1116-jarvis-context{max-width:42%}
 .x1116-jarvis-lead{padding:13px 16px;font-size:13px}
 .x1116-jarvis-conversation{padding:15px;max-height:44vh}
 .x1116-jarvis-footer{padding:14px 15px 18px}
 .x1116-prompt-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
 .x1116-prompt{flex:0 0 auto}
 .x1116-jarvis-input{min-height:90px}
}
@media(max-width:380px){.x1116-jarvis-context{display:none}.x1116-jarvis-brand h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.x1116-jarvis *{animation:none!important;transition:none!important}}
/* Normal customer workflows first; preserve the exact legacy depth buttons
   in one native technical disclosure, not six competing primary tabs. */
.x1116-studio-modes{flex-wrap:wrap!important;overflow:visible!important;align-items:stretch!important}
.x1116-studio-modes>button{flex:1 1 115px!important}
.x1116-studio-advanced{position:relative;flex:1 0 145px;min-width:135px;
 align-self:stretch;z-index:4;border-left:1px solid #748b706b}
.x1116-studio-advanced>summary{display:flex;align-items:center;justify-content:center;padding:13px 15px;min-height:44px;box-sizing:border-box;color:var(--athrty-ui-ink);font-size:13px;font-weight:650;cursor:pointer;list-style:none}
.x1116-studio-advanced>summary::-webkit-details-marker{display:none}
.x1116-studio-advanced[open]>summary{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
.x1116-advanced-actions{position:absolute;right:0;left:auto;top:100%;z-index:20;min-width:210px;display:grid;gap:4px;padding:7px;border:1px solid var(--athrty-ui-border);background:var(--athrty-ui-surface);border-radius:9px;box-shadow:0 17px 45px #0009}
.x1116-advanced-actions button{min-height:43px;border:0;border-radius:7px;width:100%;text-align:left;display:flex;gap:14px;align-items:center;padding:9px 13px;color:var(--athrty-ui-ink);background:transparent;font-size:13px}
.x1116-advanced-actions button:hover{background:var(--athrty-ui-soft)}
.x1116-advanced-actions button.active{background:var(--athrty-ui-control);color:var(--athrty-ui-control-ink)}

/* X1116 Private Office: a clear one-question editorial environment;
   preserve the existing preview, X900 and canonical specification ownership. */
.x1111-office{--of-copper:var(--athrty-stone,#dbbe96)}
.x1111-head{grid-template-columns:minmax(0,1fr) minmax(0,.6fr)!important;align-items:end}
.x1111-head>.x1111-eyebrow{grid-column:1/-1}
.x1111-head h2{font-size:clamp(43px,5.8vw,85px);letter-spacing:-.077em;max-width:14ch;color:var(--athrty-ui-ink)}
.x1111-head p{font-size:14px;line-height:1.73;max-width:43ch}
.x1111-conversation{background:var(--athrty-ui-surface)}
.x1111-message.x1111-assistant{border:0;padding:0 0 21px}
.x1111-message.x1111-assistant p{font-size:clamp(17px,1.7vw,23px);font-weight:460;line-height:1.5;color:var(--athrty-ui-ink);max-width:34ch}
.x1111-compose{position:relative;gap:12px}
.x1111-compose label{font-size:13px;font-weight:720;color:var(--athrty-ui-ink)}
.x1111-compose textarea{border-color:#849b8388;background:var(--athrty-ui-canvas);border-radius:10px;min-height:116px;font-size:14px;line-height:1.6;color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.x1111-compose>.x1111-primary{width:100%;min-height:55px;text-align:center}
.x1111-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}
.x1116-office-prompt{min-height:43px;padding:10px 13px;border:1px solid var(--athrty-ui-border);background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border-radius:9px;font-size:11px;font-weight:620;cursor:pointer}
.x1116-office-prompt:hover{background:var(--athrty-ui-soft);border-color:var(--athrty-ui-accent)}
.x1116-office-options{border-top:1px solid var(--athrty-ui-border);border-bottom:1px solid var(--athrty-ui-border);display:grid;gap:0}
.x1116-office-options>summary{padding:16px 4px;min-height:49px;cursor:pointer;color:var(--athrty-ui-ink);font-weight:660;font-size:12px;list-style:none}
.x1116-office-options>summary::-webkit-details-marker{display:none}
.x1116-office-options>.x1111-field{margin:9px 0 15px}
.x1111-proposal .x1111-field{font-size:12px;color:var(--athrty-ui-ink)}
.x1111-proposal .x1111-recommendation h3{font-size:clamp(29px,3vw,44px)}
.x1111-proposal .x1111-recommendation p{font-size:14px;color:#53657E}
.x1111-disclosure{max-width:80ch}
@media(max-width:1050px){
 .x1116-jarvis-workspace{grid-template-columns:minmax(0,1fr)}
 .x1116-jarvis-side{border-left:0;border-top:1px solid var(--j-line);
 flex-direction:row;align-items:center;gap:22px}
 .x1116-jarvis-side>.x1116-kicker{display:none}
 .x1116-jarvis-summary{flex:1 1 auto;min-width:0}
 .x1116-jarvis-geometry{width:80px;flex:none}
 .x1116-jarvis-truth{max-width:24ch}
 .x1111-head{grid-template-columns:1fr!important}
}
@media(max-width:690px){
 .x1116-jarvis-top{align-items:start}
 .x1116-jarvis-context{max-width:110px}
 .x1116-jarvis-brand h2{font-size:24px}
 .x1116-jarvis-lead{font-size:12px}
 .x1116-jarvis-side{display:none}
 .x1116-jarvis-conversation{max-height:290px}
 .x1116-jarvis-context strong{font-size:10px}
 .x1116-studio-advanced{min-width:110px}
 .x1116-advanced-actions{left:auto;right:0;min-width:190px}
 .x1111-head h2{font-size:clamp(39px,10vw,63px)}
 .x1111-head p{font-size:13px}
}
@media(max-width:380px){
 .x1116-jarvis-top{gap:10px}
 .x1116-jarvis-emblem{width:39px;height:39px;flex:none}
 .x1116-jarvis-context{max-width:90px}
 .x1116-jarvis-brand{gap:9px}
 .x1116-jarvis-brand h2{font-size:20px}
 .x1116-jarvis-brand-copy .x1116-kicker{font-size:9px}
 .x1116-prompt-row{flex-direction:column}
 .x1116-prompt{width:100%;text-align:left}
}
@media(prefers-reduced-motion:reduce){
 .x1116-jarvis *, .x1116-studio-modes *, .x1111-office .x1116-office-prompt{
 animation:none!important;transition:none!important;transform:none!important}
}

/* One contextual section-editing experience, opened from Jarvis or its explicit native summary.
   The original X1111/X1112 form, validators, mutation ownership and persisted receipts remain. */
.x1116-direct-editor{margin:10px 0 20px;min-width:0;border-top:1px solid var(--athrty-ui-border);border-bottom:1px solid var(--athrty-ui-border)}
.x1116-direct-editor>summary{list-style:none;cursor:pointer;padding:18px clamp(14px,2.4vw,28px);min-height:58px;box-sizing:border-box;background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);font-size:13px;font-weight:690;letter-spacing:-.015em;display:flex;align-items:center;justify-content:space-between;gap:12px}
.x1116-direct-editor>summary::-webkit-details-marker{display:none}
.x1116-direct-editor>summary::after{content:'+';font-size:18px;font-weight:500;color:var(--athrty-ui-muted);
 transition:transform 250ms cubic-bezier(.22,1,.36,1)}
.x1116-direct-editor[open]>summary{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
.x1116-direct-editor[open]>summary::after{transform:rotate(90deg)}
.x1116-direct-editor>.x1111-studio-refinement{margin:0;border:0;border-top:1px solid var(--athrty-ui-border);border-radius:0;background:var(--athrty-ui-surface);padding:clamp(17px,2.4vw,31px)}
.x1116-direct-editor>summary:focus-visible{outline:2px solid var(--athrty-focus,#edcba2);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.x1116-direct-editor *, .x1116-direct-editor>summary::after{transition:none!important;animation:none!important}}

/* X1126 — verified selected-section context and actual unsaved preview frames. */
.x1126-jarvis-selection{min-width:0;padding:16px clamp(19px,2.4vw,32px);border-top:1px solid var(--athrty-ui-border);display:grid;gap:12px}
.x1126-jarvis-selection[hidden],.x1126-layout-previews[hidden]{display:none}
.x1126-selection-copy{min-width:0;display:grid;gap:5px}
.x1126-selection-copy strong{color:var(--athrty-ui-ink);font-size:14px;font-weight:650;overflow-wrap:anywhere}
.x1126-selection-copy small{font-size:12px;line-height:1.5;color:var(--athrty-ui-muted)}
.x1126-selection-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.x1126-selection-actions button:disabled{opacity:.48;cursor:not-allowed}
.x1126-layout-previews{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0}
.x1126-preview-card{min-width:0;display:grid;gap:9px;padding:13px;border:1px solid var(--athrty-ui-border);border-radius:13px;background:var(--athrty-ui-canvas)}
.x1126-preview-card strong{font-size:12px;font-weight:680;color:var(--athrty-ui-ink)}
.x1126-preview-frame{display:block;width:100%;height:195px;background:white;border:1px solid var(--athrty-ui-border);border-radius:8px;pointer-events:none}
.x1126-preview-card .x1116-inline-action{font-size:12px;width:100%;justify-content:center}
.x1125-slack-open{color:var(--athrty-ui-accent);margin-left:8px;text-underline-offset:3px}
.x1126-office-jarvis{display:grid;gap:7px;padding:16px;border:1px solid var(--athrty-ui-border);border-radius:12px;background:var(--athrty-ui-soft);margin:12px 0}
.x1126-office-jarvis strong{font-size:14px;color:var(--athrty-ui-ink)}
.x1126-office-jarvis p,.x1126-office-jarvis small{margin:0;font-size:12px;line-height:1.6;color:var(--athrty-ui-muted)}
@media(max-width:900px){.x1126-layout-previews{grid-template-columns:1fr}.x1126-preview-frame{height:230px}}
@media(max-width:760px){.x1126-jarvis-selection{padding:14px 16px}.x1126-layout-previews{gap:10px}.x1126-preview-frame{height:205px}}

.x1126-work-jarvis{margin:22px 0;display:grid;gap:12px;padding:clamp(20px,3vw,32px);border:1px solid var(--athrty-ui-border);border-radius:17px;background:var(--athrty-ui-surface)}
.x1126-work-jarvis-header{display:grid;gap:8px}.x1126-work-jarvis h2{font-size:clamp(23px,3vw,38px);letter-spacing:-.04em;margin:0;color:var(--athrty-ui-ink)}
.x1126-work-status{font-size:14px;line-height:1.65;color:var(--athrty-ui-ink);margin:0}
.x1126-work-jarvis .x1116-inline-action{justify-self:start}
.x1126-work-disclosure{font-size:12px;line-height:1.6;color:var(--athrty-ui-muted);margin:0}