/* SMARTA Craft UI · shared Phase 1 layout, with JUD colours for the verified JUD brand.
   Presentation only. Loaded last.
   Scope
     1    workspace canvas under html[data-craft], set by craft-ui.js for verified Phase 1 sessions.
     3–9  layout shared across Phase 1 profiles. Brand tokens follow the separately verified company.
   Specificity: the legacy and Jud layers reach five ids. Workspace rules therefore start with
     html[data-craft] #app:not(#_#_#_#_#_#_)
   where #_ is an id that never exists; :not() only lifts the rule above those layers, it excludes nothing.
   No rule sets display with !important on an element the app toggles through [hidden].
   Chat actions retain 44px touch targets. Conversation text stays at reading size. */

/* 0 · Tokens ------------------------------------------------------------------------------------------------------- */
:root{
 --cf-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","Segoe UI",system-ui,sans-serif;
 --cf-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue","Segoe UI",system-ui,sans-serif;
 --cf-canvas:#F4F7FA;--cf-ink:#0E2233;--cf-ink-2:#33495C;--cf-ink-3:#54687A;
 --cf-line:rgba(14,34,51,.11);--cf-line-strong:rgba(14,34,51,.20);
 --cf-blue:#12588C;--cf-blue-deep:#0D3554;--cf-navy:#08253D;--cf-blue-tint:rgba(18,88,140,.08);--cf-sky:#9CCBEE;
 --cf-yellow:#FFCC00;--cf-yellow-deep:#FFDA43;--cf-action-text:#1b1a17;--cf-identity:#12588c;
 --cf-warn-bg:#FFF6D6;--cf-warn-ink:#5C4500;--cf-bad-bg:#FFF4F1;--cf-bad-ink:#9E2A1C;
 --cf-dock:clamp(420px,36vw,620px);--cf-rail-offset:200px;--cf-content:660px;
 --cf-ease:cubic-bezier(.22,1,.36,1);
 --cf-shadow-1:0 1px 2px rgba(8,37,61,.06),0 10px 20px -16px rgba(8,37,61,.3);
 --cf-i-doc:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312588C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7l4 4V20a.5.5 0 0 1-.5.5h-10A.5.5 0 0 1 7 20z'/%3E%3Cpath d='M14 3.5v4h4M10 12.5h5M10 16h5'/%3E%3C/svg%3E");
 --cf-i-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 16l8-8M9.5 8H16v6.5'/%3E%3C/svg%3E");
 --cf-i-chevron:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
@keyframes cf-pop{from{opacity:0;transform:translateY(-6px) scale(.98)}to{opacity:1;transform:none}}
@keyframes cf-spin{to{transform:rotate(360deg)}}
@keyframes cf-fade{from{opacity:0}to{opacity:1}}

/* 1 · Workspace canvas -------------------------------------------------------------------------------------------- */
html[data-craft] body.partner-workspace:not(#_){
 display:flow-root;
 background:var(--cf-canvas);color:var(--cf-ink);font-family:var(--cf-font);font-size:18px;line-height:1.55;letter-spacing:0}

/* 3 · Workspace frame ---------------------------------------------------------------------------------------------- */
html[data-craft] #app:not(#_#_#_#_#_#_){font-family:var(--cf-font);color:var(--cf-ink)}
/* keeps the main panel's top margin inside #app (it used to collapse through and lengthen the document) */
html[data-craft] #app:not(#_#_#_#_#_#_):not([hidden]){display:flow-root}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--cf-blue)!important;outline-offset:2px!important}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs :is(a,button,[tabindex]):focus-visible{outline-color:var(--cf-yellow)!important}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea:focus-visible{outline:none!important}
html[data-craft] #app:not(#_#_#_#_#_#_) [data-workspace-switch]:not([data-jud-chat-workspace-link]),
html[data-craft] #app:not(#_#_#_#_#_#_) #themeBtn,
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools #phase1AccountReferenceOpen,
html[data-craft] #app:not(#_#_#_#_#_#_) #bPill,
html[data-craft] #app:not(#_#_#_#_#_#_) #teamRequest,
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .jt-suggest{display:none!important}

/* 3a · Navigation: JUD blue rail with a soft blue reflection and a yellow accent. */
html[data-craft] #app:not(#_#_#_#_#_#_)>.tabs{position:fixed;inset:12px auto 12px 12px;z-index:30;display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:8px;box-sizing:border-box;width:176px;height:auto;min-height:0;max-width:none;margin:0;padding:13px 9px;overflow:hidden auto;border:1px solid rgba(165,210,255,.38);border-radius:30px;color:#E9F1F7;background:linear-gradient(90deg,transparent 24%,rgba(255,204,51,.8) 50%,transparent 76%) 50% 100%/100% 2px no-repeat,
  radial-gradient(ellipse 132px 54% at 0 100%,transparent 0 56%,rgba(120,185,255,.1) 80%,rgba(160,210,255,.23) 97%,rgba(205,232,255,.34) 99%,transparent 100%),
  radial-gradient(ellipse 78px 33% at 0 100%,transparent 0 70%,rgba(150,205,255,.12) 98%,transparent 100%),
  linear-gradient(180deg,#1f66b4 0,#134c92 28%,#0b3066 62%,#071d40 100%);box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 1px 0 0 rgba(175,215,255,.18),inset -1px 0 0 rgba(3,14,38,.42),0 14px 36px -18px rgba(8,32,78,.46);-webkit-backdrop-filter:none;backdrop-filter:none}
html[data-craft] #app:not(#_#_#_#_#_#_)>.tabs::before{content:none;display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-close{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-label{order:-2;display:flex;align-items:center;gap:10px;margin:4px 0 6px;padding:0 10px;font:600 14px/18px var(--cf-font);letter-spacing:.1em;text-transform:uppercase;color:#C9DAE7}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-label::after{content:"";flex:1;height:1px;background:linear-gradient(90deg,rgba(255,255,255,.22),transparent)}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab{order:1;position:relative;isolation:auto;display:grid;grid-template-columns:24px minmax(0,1fr);align-content:center;align-items:center;gap:0 8px;flex:none;width:100%;min-width:0;height:auto;min-height:48px;margin:0;padding:5px 8px;border:1px solid transparent;border-radius:10px;background:transparent;box-shadow:none;color:#EDF3F8;font:500 14px/20px var(--cf-font);letter-spacing:0;text-align:left;white-space:normal;transition:background-color .16s,border-color .16s,color .16s,transform .12s}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[data-v=help]{order:0}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab:is([data-v=home],[data-v=marketing],[data-v=aufmass],[data-v=orders],[data-v=basket]){display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab>.ico{grid-column:1;grid-row:1/span 2;align-self:center;display:block;width:21px;height:21px;margin-left:1px;color:#DCE8F1;stroke-width:1.7}
/* one text row (Mucki Chat): the icon takes that row alone, so the name sits on the icon's centre line */
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[data-v=help]>.ico{grid-row:1}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[data-v=aufmass]:has(>.jt-ico)>.ico:not(.jt-ico){display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab .mk-nav-long{display:block}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab .mk-nav-short,
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[data-v=help] .mk-nav-long{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab :is(.craft-tab-label,.craft-tab-state,.mk-nav-long){grid-column:2;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .craft-tab-state{display:flex;align-items:center;gap:8px;font:500 16px/22px var(--cf-font);letter-spacing:0;color:#C9DAE7}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .craft-tab-state::before{content:"";flex:none;width:7px;height:7px;border:1.5px solid var(--cf-yellow);border-radius:50%}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab:hover{background:rgba(255,255,255,.08)}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab:active:not(:disabled){transform:scale(.985)}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[aria-current=page]{background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.07) 52%,rgba(9,40,90,.19));box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 4px 10px -6px rgba(3,14,38,.42);color:#fff;font-weight:650;min-height:48px;border-radius:16px;border:1px solid rgba(170,200,255,.30)}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[aria-current=page]::before{content:'';position:absolute;top:50%;left:-1px;width:3px;height:24px;border-radius:2px;background:var(--cf-yellow);transform:translateY(-50%)}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[aria-current=page]>.ico{color:var(--cf-yellow)}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab:disabled{background:transparent;color:#E6EFF6;cursor:default;opacity:1}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab:disabled>.ico{border-style:dashed;border-color:rgba(255,255,255,.36);background:transparent;box-shadow:none;color:#C9DAE7}
html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab .bdg{position:absolute;top:50%;right:12px;min-width:26px;height:26px;margin:-13px 0 0;padding:0 7px;border-radius:13px;background:var(--cf-yellow);color:var(--cf-action-text);font:700 14px/26px var(--cf-font);text-align:center}

/* 3b · Header: real partner branding left, account right; no bar */
html[data-craft] #app:not(#_#_#_#_#_#_)>.nav{position:fixed;top:12px;right:12px;bottom:auto;left:var(--cf-rail-offset);z-index:40;height:56px;border:0;background:linear-gradient(100deg,rgba(255,255,255,.94),rgba(226,238,252,.8) 58%,rgba(204,226,250,.62));box-shadow:inset 0 1px 0 rgba(255,255,255,.86),inset 0 -1px 0 rgba(28,62,128,.10);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:16px}
html[data-craft] #app:not(#_#_#_#_#_#_)>.nav .in{display:flex;align-items:center;justify-content:space-between;gap:12px;height:56px;min-height:56px;max-width:none;margin:0;padding:0 4px 0 6px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand{display:inline-flex;align-items:center;gap:14px;min-width:0;min-height:56px;padding:8px 12px;overflow:hidden;border:1px solid transparent;border-radius:16px;background:transparent;color:var(--cf-ink-2);transition:background-color .2s,border-color .2s}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand:hover{border-color:var(--cf-line);background:rgba(255,255,255,.7)}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand{display:flex;align-items:center;gap:18px;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand img{display:block;flex:none;width:auto;height:31px;max-height:31px;border-radius:0;object-fit:contain;box-shadow:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-place{display:none}   /* the logo stands alone: jud-theme may add its suffix late, it stays hidden */
html[data-craft] #app:not(#_#_#_#_#_#_) .me{display:flex;align-items:center;gap:8px;flex:none;margin-left:auto;font-size:18px;color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:3px 11px 3px 5px;border:1px solid rgba(28,62,128,.14)!important;border-radius:22px;background:linear-gradient(180deg,#fff,#e9f2fc)!important;color:var(--cf-ink);font:600 14px/20px var(--cf-font);list-style:none;cursor:pointer;transition:border-color .16s,background-color .16s;box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(11,31,68,.09)}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary:hover{background:#fff!important}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary:active{transform:scale(.98)}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary .av{order:0;display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#E6EFF5;color:#174968;font:650 14px/1 var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary .name{order:1;display:inline;max-width:160px;overflow:hidden;font:600 14px/20px var(--cf-font);color:var(--cf-ink);text-overflow:ellipsis;white-space:nowrap}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary::after{content:"";order:2;display:block;width:18px;height:18px;margin:0;background:var(--cf-ink-3);-webkit-mask:var(--cf-i-chevron) center/18px no-repeat;mask:var(--cf-i-chevron) center/18px no-repeat;transition:transform .2s var(--cf-ease)}
html[data-craft] #app:not(#_#_#_#_#_#_) .menu[open]>summary::after{transform:rotate(180deg)}
html[data-craft] #app:not(#_#_#_#_#_#_) .mpanel{position:absolute;top:calc(100% + 10px);right:0;z-index:60;display:flex;flex-direction:column;gap:2px;min-width:288px;max-width:calc(100vw - 24px);padding:8px;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:rgba(252,253,255,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:0 0 0 1px rgba(28,62,128,.08),0 14px 30px -16px rgba(11,31,68,.34);transform-origin:top right;animation:cf-pop .2s var(--cf-ease) both}
html[data-craft] #app:not(#_#_#_#_#_#_) .mpanel .mwho{margin:0 0 4px;padding:10px 14px 12px;border-bottom:1px solid var(--cf-line);font:400 16px/22px var(--cf-font);color:var(--cf-ink-3);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .mpanel .mwho b{display:block;font:650 18px/24px var(--cf-font);color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .mpanel .mi{display:flex;align-items:center;min-height:56px;padding:0 14px;border:0;border-radius:14px;background:none;color:var(--cf-ink);font:500 18px/22px var(--cf-font);text-align:left;text-decoration:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .mpanel .mi:hover{background:var(--cf-blue-tint)}

/* 3c · Main: a quiet, single workspace panel below the compact header. */
html[data-craft] #app:not(#_#_#_#_#_#_)>.wrap{display:flex;flex-direction:column;box-sizing:border-box;width:auto;max-width:none;min-width:0;min-height:calc(100dvh - 88px);margin:76px 12px 0 var(--cf-rail-offset);padding:0;border:1px solid rgba(21,79,156,.1);border-radius:28px;background:radial-gradient(70% 44% at 50% 0,rgba(214,232,255,.55),transparent 70%),linear-gradient(180deg,#fff,#fbfdff);box-shadow:inset 0 1px 0 #fff,0 1px 3px rgba(11,31,68,.06)}
html[data-craft] #app:not(#_#_#_#_#_#_) #partnerMain>*{max-width:none}

/* 4 · Chat: intro, composer, starters ------------------------------------------------------------------------------ */
html[data-craft] #app:not(#_#_#_#_#_#_) #helpIntro{order:0;display:block;box-sizing:border-box;width:min(var(--cf-content),calc(100% - 40px));max-width:none;margin:clamp(56px,14vh,140px) auto 0;padding:0 0 17px;text-align:left}
html[data-craft] #app:not(#_#_#_#_#_#_) #helpIntro>:not(.craft-hero){display:none!important}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero{display:flex;align-items:center;gap:16px;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero-mucki{flex:none;width:68px;height:68px;background:var(--workspace-avatar) center/contain no-repeat}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero-copy{min-width:0;overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero h1{margin:0 0 7px;font:660 clamp(28px,2.7vw,36px)/1.12 var(--cf-display);letter-spacing:-.034em;color:#0b1f44}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-lede{margin:0;font:400 16px/1.5 var(--cf-font);color:var(--cf-ink-2);text-wrap:pretty}
/* active conversation: the intro recedes (kept for assistive technology) */
html[data-craft] #app:not(#_#_#_#_#_#_) #partnerMain:has(#stream>.msg) #helpIntro{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}

html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer{order:1;display:flex!important;flex-direction:column;gap:0;box-sizing:border-box;width:100%;max-width:none;min-width:0;margin:0;padding:0 0 16px}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #stream{order:0;display:flex;flex-direction:column;flex:1 1 0;gap:28px;min-width:0;min-height:0;margin:0;padding:24px max(20px,calc((100% - var(--cf-content))/2)) 32px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(14,34,51,.24) transparent;-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer:not(:has(#stream>.msg)) #stream{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .composer-shell{order:1;position:relative;z-index:5;display:flex;flex-direction:column;flex:0 0 auto;box-sizing:border-box;width:min(var(--cf-content),calc(100% - 40px));max-height:70%;margin:0 auto;padding:0;overflow:hidden auto;border:1px solid rgba(28,62,128,.19);border-radius:24px;background:linear-gradient(180deg,#fff 0 62%,#f0f6ff 100%);box-shadow:inset 0 1px 0 #fff,0 8px 24px -12px rgba(11,31,68,.22);transition:border-color .18s,box-shadow .18s}
/* back to the newest message: in the flow directly above the composer, shown by the chat viewport only while the reader is above the latest */
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-latest{order:1;display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;align-self:center;box-sizing:border-box;min-height:48px;margin:0 auto 10px;padding:0 20px;border:1px solid rgba(18,88,140,.4);border-radius:17px;background:#fff;color:var(--cf-blue-deep);font:600 17px/24px var(--cf-font);cursor:pointer;transition:background-color .16s,border-color .16s}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-latest[hidden]{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-latest:hover{border-color:var(--cf-blue);background:var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-latest:focus-visible{outline:3px solid var(--cf-blue);outline-offset:2px}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .composer-shell:focus-within{border-color:rgba(39,102,180,.62);box-shadow:inset 0 1px 0 #fff,0 0 0 2px rgba(39,102,180,.25),0 8px 24px -12px rgba(11,31,68,.25)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask{order:0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:0;margin:0;padding:11px 10px 10px 12px;border:0;border-radius:0;outline:0;background:transparent;box-shadow:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask.drop{outline:2px dashed var(--cf-blue);outline-offset:-8px;background:var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea{flex:1 0 100%;box-sizing:border-box;width:100%;min-width:0;min-height:42px;max-height:25vh;margin:0;padding:5px 4px 6px;border:0;background:transparent;resize:none;color:var(--cf-ink);font:400 17px/1.5 var(--cf-font);letter-spacing:0}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea::placeholder{color:var(--cf-ink-3);opacity:1}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;box-sizing:border-box;width:auto;min-width:44px;height:44px;min-height:44px;padding:0 12px;border:1px solid rgba(28,62,128,.26);border-radius:13px;background:linear-gradient(180deg,#fff,#ebf2fb);color:#134c92;font:600 14px/20px var(--cf-font);cursor:pointer;transition:background-color .16s,border-color .16s,color .16s,transform .12s;box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(11,31,68,.07)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:active:not(:disabled){transform:scale(.97)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:hover{border-color:rgba(74,123,210,.52);background:#eaf2fe;color:var(--cf-blue-deep)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib .ico{flex:none;width:20px;height:20px;stroke-width:1.7}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib[data-on-click=documentPick]{display:none}
/* photo and dictation in development: visible, legible, natively disabled */
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go):disabled{border-style:dashed;border-color:rgba(14,34,51,.3);background:transparent;color:var(--cf-ink-3);opacity:1;cursor:not-allowed}
/* closed pair (craft-ui.js marks .ask): two 44px icon buttons, their full names stay on the buttons, and one short status for both.
   The status sits under the pair by default and moves beside it where the composer itself is wide enough (container query below),
   so Senden always keeps the buttons' row. */
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .composer-shell{container-type:inline-size}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask[data-craft-media=locked] .ib:not(.go){width:44px;padding:0}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask[data-craft-media=locked] .ib:not(.go) .craft-ib-label{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status{position:relative;order:9;display:block;flex:1 0 100%;box-sizing:border-box;min-width:0;margin:-2px 0 0;padding:0 0 0 14px;font:500 13px/19px var(--cf-font);color:var(--cf-ink-2);white-space:nowrap}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status:not(:empty)::before{content:"";position:absolute;top:6px;left:1px;box-sizing:border-box;width:6px;height:6px;background:var(--cf-yellow-deep);border-radius:50%}
@container (min-width:420px){
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status:not([data-craft-note]){order:0;flex:0 1 auto;margin:0 0 0 2px;overflow:hidden;text-overflow:ellipsis}
}
/* dictation preview (local device, partner.html owns it): the microphone keeps its place and shows checking or a stop square;
   the status word names the state, and a short note from the app takes its own wrapping row */
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status[data-craft-note]{white-space:normal;overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status:empty{position:absolute;width:1px;height:1px;margin:0;padding:0;overflow:hidden;clip-path:inset(50%)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic[data-craft-dictation=checking]{border-color:var(--cf-blue);background:var(--cf-blue-tint);color:var(--cf-blue-deep)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic[data-craft-dictation=recording]{border-color:rgba(158,42,28,.5);background:var(--cf-bad-bg);color:var(--cf-bad-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic[data-craft-dictation=recording]>.ico{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic[data-craft-dictation=recording]::before{content:"";width:16px;height:16px;border-radius:4px;background:currentColor}
/* send: the brand's yellow action with navy text, always labelled */
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go{width:auto;margin-left:auto;padding:0 14px;border:1px solid #d99a00;border-radius:15px;background:linear-gradient(180deg,#ffe36b 0,#ffcc1f 52%,#f4b400 100%);color:#10233f;font-weight:690;box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 2px 4px rgba(120,84,0,.22);min-height:48px}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go .craft-ib-label{order:-1}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go .ico{stroke-width:2.2}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go:hover{background:var(--cf-yellow-deep);color:var(--cf-action-text)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go:active{transform:scale(.98);box-shadow:inset 0 1px 2px rgba(120,84,0,.20)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go:disabled{background:#E2E8EE;color:#54687A;box-shadow:none;opacity:1;transform:none;cursor:default}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic.rec{border-color:rgba(158,42,28,.35);background:var(--cf-bad-bg);color:var(--cf-bad-ink);animation:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic.rec>:is(.ico,.craft-ib-label){display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic.rec::before{content:"";width:12px;height:12px;border-radius:3px;background:currentColor}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic.rec::after{content:"Aufnahme läuft";font:600 18px/22px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #photos{order:-1;margin:0;padding:12px 12px 0;border:0;border-radius:0;background:transparent;box-shadow:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos>li{display:grid;grid-template-columns:56px minmax(0,1fr) 56px;align-items:center;gap:10px;max-width:100%;padding:5px;border:1px solid var(--cf-line);border-radius:17px;background:#F6F9FC}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos img{display:block;width:56px;height:56px;border-radius:12px;object-fit:cover}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos span{max-width:200px;overflow:hidden;font:500 16px/22px var(--cf-font);color:var(--cf-ink-2);text-overflow:ellipsis;white-space:nowrap}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos button{width:56px;height:56px;padding:0;border:0;border-radius:14px;background:transparent;color:var(--cf-ink-2);font:400 26px/1 var(--cf-font);cursor:pointer}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos button:hover{background:rgba(14,34,51,.07);color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos-note{margin:8px 4px 0;font:400 16px/22px var(--cf-font);color:var(--cf-ink-3)}


/* 5 · Conversation ------------------------------------------------------------------------------------------------- */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg{display:flex;align-items:flex-start;gap:14px;flex-shrink:0;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg.me{justify-content:flex-end}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg.me .b{max-width:min(80%,580px);padding:13px 18px;border-radius:22px 22px 6px 22px;background:linear-gradient(180deg,#16639D,var(--cf-blue));box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 8px 16px -12px rgba(8,37,61,.55);color:#fff;font:400 18px/1.55 var(--cf-font);white-space:pre-wrap;overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .sthumbs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .sthumbs figure{width:auto;margin:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .sthumbs img{display:block;width:96px;height:72px;margin:0;border-radius:12px;object-fit:cover}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .stext{font:400 18px/1.55 var(--cf-font);opacity:1}
/* Mucki answers: compact portrait next to the readable answer. */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)>img{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)::before{content:"";flex:none;width:42px;height:42px;margin-top:1px;border-radius:12px;background:var(--workspace-avatar) center/94% no-repeat,linear-gradient(145deg,#EEF6FC,#D7E7F5);box-shadow:inset 0 0 0 1px #C8DAE9,0 6px 12px -8px rgba(8,37,61,.5)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)>.card{flex:1 1 auto;min-width:0;max-width:none;padding:4px 0 0;border:0;border-radius:0;background:transparent;box-shadow:none;color:var(--cf-ink);font:400 19px/1.65 var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .ans{min-width:0;font:400 19px/1.65 var(--cf-font);color:var(--cf-ink);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .ans p{margin:0 0 14px}
html[data-craft] #app:not(#_#_#_#_#_#_) .ans>:last-child{margin-bottom:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .ans ul{margin:0 0 14px;padding-left:26px}
html[data-craft] #app:not(#_#_#_#_#_#_) .ans li{margin:6px 0}
html[data-craft] #app:not(#_#_#_#_#_#_) .ans b{font-weight:650}
html[data-craft] #app:not(#_#_#_#_#_#_) #stream .ans a{color:var(--cf-blue);text-decoration:underline;text-underline-offset:3px}
/* phase 1 answers rendered from answer_md (.answer-rich): scannable headings and steps, literal code, tables that turn into labelled rows in a narrow answer column */
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich{container-type:inline-size;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich>:last-child{margin-bottom:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :is(h3,h4){margin:24px 0 10px;letter-spacing:-.01em;text-wrap:balance}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich h3{padding-left:12px;border-left:4px solid var(--cf-yellow);font:650 22px/1.3 var(--cf-font);color:var(--cf-navy)}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich h4{font:650 19px/1.35 var(--cf-font);color:var(--cf-blue-deep)}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich>:is(h3,h4):first-child{margin-top:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :is(ul,ol){margin:0 0 14px;padding-left:34px}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich li{margin:8px 0;padding-left:2px}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich li>:is(ul,ol,p,pre,.answer-table){margin:8px 0 0}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich ol>li::marker{color:var(--cf-blue);font-weight:700;font-variant-numeric:tabular-nums}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich ul>li::marker{color:var(--cf-blue)}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich code{padding:1px 6px;border-radius:7px;background:var(--cf-blue-tint);color:var(--cf-blue-deep);font:500 .9em/1.4 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich pre{margin:0 0 14px;padding:14px 16px;border:1px solid var(--cf-line);border-radius:16px;background:#fff;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich pre code{padding:0;border-radius:0;background:none;color:var(--cf-ink);font-size:16px;line-height:1.55}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich .answer-table{max-width:100%;margin:0 0 14px;overflow-x:auto;border:1px solid var(--cf-line);border-radius:16px;background:#fff;box-shadow:var(--cf-shadow-1)}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;font:400 18px/1.45 var(--cf-font);color:var(--cf-ink);overflow-wrap:break-word}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :is(th,td){padding:12px 16px;border:0;text-align:left;vertical-align:top}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich th{background:var(--cf-blue-tint);color:var(--cf-navy);font-weight:650;vertical-align:bottom}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich td{border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :is(th,td).answer-right{text-align:right;font-variant-numeric:tabular-nums}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :is(th,td).answer-center{text-align:center}
/* narrow answer column (phone, or beside the docked original): one block per row, every value under its column heading (td[data-label]).
   The header row stays in the accessibility tree (clipped, not removed) and the table roles are explicit, so header and cell stay related. */
@container (max-width:600px){
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich .answer-table{position:relative;overflow-x:visible}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :is(table,tbody,tr,td){display:block}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich thead{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich tr{padding:8px 0}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich tr+tr{border-top:1px solid var(--cf-line-strong)}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich td:is(td,.answer-right,.answer-center){padding:6px 16px;border:0;text-align:left;overflow-wrap:anywhere}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich td::before{content:attr(data-label);display:block;font:600 15px/1.4 var(--cf-font);color:var(--cf-ink-3)}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich td[data-label=""]::before{content:none}
}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .typing{display:inline-flex;gap:7px;padding:12px 0 2px}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .typing i{width:9px;height:9px;border-radius:50%;background:var(--cf-blue)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .card .hint{margin:4px 0 0;font:400 16px/1.5 var(--cf-font);color:var(--cf-ink-3)}
/* a failed request (h3 + hint) is the only card that starts with a heading */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)>.card:has(>h3:first-child){flex:0 1 auto;padding:16px 18px;border:1px solid rgba(158,42,28,.22);border-radius:20px;background:var(--cf-bad-bg)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)>.card>h3{margin:0;font:650 18px/1.4 var(--cf-font);letter-spacing:0;color:var(--cf-bad-ink)}
/* waiting for an answer: one quiet way out; a wait the user ended is neutral, not a failure */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-wait-cancel{display:block;box-sizing:border-box;min-height:48px;max-width:100%;margin:12px 0 0;padding:11px 18px;border:1px solid rgba(18,88,140,.42);border-radius:15px;background:#fff;box-shadow:none;color:var(--cf-blue-deep);font:650 17px/24px var(--cf-font);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-wait-cancel:hover{border-color:var(--cf-blue);background:var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg.p1-wait-ended:not(.me)>.card:has(>h3:first-child){border-color:var(--cf-line-strong);background:#fff}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg.p1-wait-ended:not(.me)>.card>h3{color:var(--cf-navy)}
/* next steps from the answer: read-only text, no actions */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-next{margin:16px 0 0;padding:12px 0 0;border-top:1px solid var(--cf-line);color:var(--cf-blue-deep);font:400 17px/1.55 var(--cf-font);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-next>h4{margin:0;font:650 17px/1.4 var(--cf-font);letter-spacing:0;color:var(--cf-navy)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-next>ul{margin:6px 0 0;padding:0 0 0 22px;list-style:disc}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-next li{margin:2px 0}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-next>p{margin:6px 0 0;font-weight:500}
/* sources: one quiet disclosure, then document cards */
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources{margin:16px 0 0;border:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources>summary{display:inline-flex;align-items:center;gap:10px;min-height:56px;padding:0 16px 0 14px;border:1px solid var(--cf-line-strong);border-radius:16px;background:rgba(255,255,255,.9);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(8,37,61,.05);color:var(--cf-ink-2);font:600 18px/22px var(--cf-font);list-style:none;cursor:pointer;transition:background-color .16s,border-color .16s}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources>summary::-webkit-details-marker{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources>summary:hover{border-color:rgba(18,88,140,.4);background:#fff}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources>summary::before{content:"";width:24px;height:24px;background:var(--cf-i-doc) center/24px no-repeat}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources>summary::after{content:"";width:18px;height:18px;background:var(--cf-ink-3);-webkit-mask:var(--cf-i-chevron) center/18px no-repeat;mask:var(--cf-i-chevron) center/18px no-repeat;transition:transform .2s var(--cf-ease)}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources[open]>summary::after{transform:rotate(180deg)}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources>ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px;margin:12px 0 0;padding:0;list-style:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li{margin:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a{display:grid;grid-template-columns:44px minmax(0,1fr) 24px;align-items:center;gap:14px;min-height:68px;padding:10px 14px 10px 12px;border:1px solid var(--cf-line);border-radius:19px;background:#fff;box-shadow:var(--cf-shadow-1);color:var(--cf-ink);font:500 18px/1.35 var(--cf-font);text-decoration:none;overflow-wrap:anywhere;transition:transform .16s var(--cf-ease),box-shadow .16s,border-color .16s}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a::before{content:"";width:44px;height:44px;border-radius:14px;background:var(--cf-i-doc) center/26px no-repeat,var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a::after{content:"";width:24px;height:24px;background:var(--cf-ink-3);-webkit-mask:var(--cf-i-out) center/24px no-repeat;mask:var(--cf-i-out) center/24px no-repeat}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a:hover{border-color:rgba(18,88,140,.42);box-shadow:0 14px 24px -18px rgba(8,37,61,.45);transform:translateY(-1px)}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a:active{transform:scale(.99)}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources :is(small,p){display:block;margin:10px 2px 0;font:400 16px/1.5 var(--cf-font);color:var(--cf-ink-3)}
/* the one source link whose original is open in the viewer right now; attribute and label are set and removed by in-app-viewer.js */
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.chat-sources,.phase1-lines) :is(a,button)[data-smarta-open]{outline:2px solid rgba(18,88,140,.55);outline-offset:2px}
html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a[data-smarta-open]{border-color:rgba(18,88,140,.42)}
html[data-craft] #app:not(#_#_#_#_#_#_) .smarta-source-open{display:inline-block;margin:8px 0 0 4px;padding:2px 10px;border-radius:999px;background:var(--cf-blue-tint);color:var(--cf-blue-deep);font:600 15px/22px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-lines .smarta-source-open{margin:0 0 0 12px;vertical-align:middle}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .live{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:10px;margin-top:16px}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .live>div{padding:14px 16px;border:1px solid var(--cf-line);border-radius:19px;background:#fff;box-shadow:var(--cf-shadow-1);font:400 16px/1.5 var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .live b{display:block;margin:0 0 4px;font:600 18px/22px var(--cf-font);color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .live small{display:block;font-size:16px;color:var(--cf-ink-2)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .service-product{margin-top:18px;border:1px solid var(--cf-line);border-radius:22px;background:#fff;box-shadow:var(--cf-shadow-1)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .service-product :is(small,.service-product-price){font-size:16px;color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) #stream .btn{box-sizing:border-box;min-height:56px;padding:16px 22px;border:0;border-radius:17px;background:var(--cf-yellow);box-shadow:0 0 0 1px rgba(8,37,61,.08);color:var(--cf-action-text);font:700 18px/24px var(--cf-font);text-decoration:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #stream .btn:hover{background:var(--cf-yellow-deep)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .sent{display:inline-flex;align-items:center;gap:8px;margin:14px 0 0;padding:10px 14px;border:0;border-radius:14px;background:var(--cf-blue-tint);color:var(--cf-blue-deep);font:500 16px/1.45 var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .chat-caution{display:inline-block;margin:12px 0 0;padding:8px 12px;border-radius:12px;background:var(--cf-warn-bg);color:var(--cf-warn-ink);font:500 16px/1.45 var(--cf-font)}
/* saved team request: its status and answer, read only on explicit request */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;margin:10px 0 0}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check>button{box-sizing:border-box;min-height:48px;max-width:100%;padding:11px 18px;border:1px solid var(--cf-line-strong);border-radius:15px;background:#fff;box-shadow:var(--cf-shadow-1);color:var(--cf-blue-deep);font:650 17px/24px var(--cf-font);text-align:left;white-space:normal;cursor:pointer}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check>button:hover{border-color:rgba(18,88,140,.42)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check>button[aria-disabled="true"]{opacity:.6;cursor:progress}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out{max-width:100%;min-width:0;font:400 17px/1.5 var(--cf-font);color:var(--cf-ink-2);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out:empty{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out p{margin:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out small{display:block;margin:8px 0 0;font-size:15px;color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out .request-check-state{font-weight:650;color:var(--cf-navy)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out .request-check-state.warn{display:inline-block;padding:8px 12px;border-radius:12px;background:var(--cf-warn-bg);color:var(--cf-warn-ink);font-weight:500}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-out .request-check-answer{margin:4px 0 0;padding:12px 14px;border-left:3px solid var(--cf-yellow);border-radius:0 14px 14px 0;background:#fff;color:var(--cf-ink);white-space:pre-wrap}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .request-check-old{margin:12px 0 0;padding:2px 0 0;border-top:1px solid var(--cf-line)}
/* kind=order in phase 1: facts only, every open or unconfirmed qualifier stays visible */
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info{padding:20px 20px 18px;border:1px solid var(--cf-line);border-radius:22px;background:#fff;box-shadow:var(--cf-shadow-1)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info h3{margin:0 0 14px;font:650 21px/1.3 var(--cf-font);letter-spacing:-.01em;color:var(--cf-navy)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info p{margin:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-lines{margin:0;padding:0;list-style:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-lines>li{margin:0;padding:16px 0;border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-lines>li:first-child{padding-top:0;border-top:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product{display:flex;align-items:baseline;justify-content:space-between;gap:18px}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product b{min-width:0;font:650 19px/1.4 var(--cf-font);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product span{flex:none;max-width:52%;font:650 19px/1.4 var(--cf-font);font-variant-numeric:tabular-nums;text-align:right}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product small{display:block;font:500 16px/22px var(--cf-font);color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px 18px;margin:12px 0 0}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info dt{font:400 16px/22px var(--cf-font);color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info dd{margin:0;font:500 18px/1.4 var(--cf-font);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-sub{margin:16px 0 0;font:650 16px/22px var(--cf-font);letter-spacing:.01em;color:var(--cf-ink-2)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-notes{margin:10px 0 0;padding-left:24px;font:400 18px/1.5 var(--cf-font);color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-notes li{margin:4px 0;padding:0;border:0;overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-open{margin:12px 0 0;padding:10px 14px;border-radius:14px;background:var(--cf-warn-bg);color:var(--cf-warn-ink);font:500 18px/1.45 var(--cf-font);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-flag{border-left:4px solid var(--cf-yellow-deep);font-weight:650}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info>.phase1-flag{margin:0 0 14px}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-lines a{display:inline-flex;align-items:center;min-height:56px;margin-top:4px;color:var(--cf-blue);font:600 18px/24px var(--cf-font);text-underline-offset:3px}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-basis{margin:14px 0 0;font:400 16px/1.5 var(--cf-font);color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-boundary{margin:14px 0 0;padding:12px 16px;border-radius:16px;background:var(--cf-blue-tint);color:var(--cf-blue-deep);font:400 16px/1.5 var(--cf-font)}
/* supplied options for an open field: drafting help for the question field only, nothing here configures or orders */
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choices{margin:12px 0 0;border:1px solid var(--cf-line);border-radius:16px;background:#F6F9FC}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choices>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:6px 14px;border-radius:16px;color:var(--cf-blue-deep);font:650 18px/24px var(--cf-font);list-style:none;cursor:pointer;overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choices>summary::-webkit-details-marker{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choices>summary::after{content:"";flex:none;width:18px;height:18px;background:var(--cf-ink-3);-webkit-mask:var(--cf-i-chevron) center/18px no-repeat;mask:var(--cf-i-chevron) center/18px no-repeat;transition:transform .2s var(--cf-ease)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choices[open]>summary::after{transform:rotate(180deg)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice{display:flex;flex-direction:column;gap:6px;min-width:0;margin:0 14px;padding:12px 0;border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice-label{font:650 18px/24px var(--cf-font);color:var(--cf-navy);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice-hint{font:400 16px/22px var(--cf-font);color:var(--cf-ink-3);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.phase1-choice-options,.phase1-choice-pick){display:flex;flex-wrap:wrap;gap:8px;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice :is(button,select){box-sizing:border-box;min-height:48px;max-width:100%;margin:0;padding:10px 16px;border:1px solid var(--cf-line-strong);border-radius:15px;background:#fff;color:var(--cf-blue-deep);font:600 18px/24px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice button{box-shadow:var(--cf-shadow-1);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice button:hover{border-color:rgba(18,88,140,.42)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice select{flex:1 1 220px;min-width:0;color:var(--cf-ink);text-overflow:ellipsis}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice-note{margin:0 14px;padding:10px 0 12px;border-top:1px solid var(--cf-line);font:400 16px/22px var(--cf-font);color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice-status{margin:0 14px 12px;padding:8px 12px;border-radius:12px;background:var(--cf-blue-tint);color:var(--cf-blue-deep);font:500 16px/22px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice-status:empty{display:none}
/* 5a · Phase 1 answers stay inside SMARTA: reading measure, one source row per document, in-app buttons, details on demand */
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich>:is(p,ul,ol,h3,h4){max-width:68ch}
html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich>p{margin-bottom:16px}
/* in-app buttons (data-p1-open): sources, catalogue sheet of a position */
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.p1-source-pages,.phase1-lines) button[data-p1-open]{box-sizing:border-box;min-height:48px;max-width:100%;margin:0;padding:10px 16px;border:1px solid var(--cf-line-strong);border-radius:15px;background:#fff;box-shadow:var(--cf-shadow-1);color:var(--cf-blue-deep);font:650 17px/24px var(--cf-font);font-variant-numeric:tabular-nums;text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:pointer;transition:border-color .16s,background-color .16s}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.p1-source-pages,.phase1-lines) button[data-p1-open]:hover{border-color:rgba(18,88,140,.42);background:var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.p1-source-pages,.phase1-lines,.service-product) button[data-p1-open]:focus-visible{outline:3px solid var(--cf-blue);outline-offset:2px}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.chat-sources,.phase1-lines) button[data-smarta-open]{border-color:var(--cf-blue);background:var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-lines>li>button[data-p1-open]{margin-top:12px}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-sources>ul{display:block;max-width:760px;border:1px solid var(--cf-line);border-radius:19px;background:#fff;box-shadow:var(--cf-shadow-1)}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 18px;padding:12px 16px}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source+.p1-source{border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source-text{flex:1 1 240px;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source-text b{display:block;font:650 18px/1.35 var(--cf-font);color:var(--cf-navy);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-sources .p1-source-text small{margin:2px 0 0;font:400 16px/1.45 var(--cf-font);color:var(--cf-ink-3);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source-pages{display:flex;flex-wrap:wrap;align-items:center;gap:8px;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source-pages .smarta-source-open{margin:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .p1-source-none{padding:4px 12px;border:1px solid var(--cf-line);border-radius:999px;background:#F3F6F9;color:var(--cf-ink-2);font:500 16px/22px var(--cf-font)}
/* product card: the heading is the product, price state beside or under it, technical facts in one native disclosure */
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info>h3{padding-left:12px;border-left:4px solid var(--cf-yellow);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product:not(:has(>b)) span{max-width:none;text-align:left}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-room{margin:4px 0 0;font:500 16px/22px var(--cf-font);color:var(--cf-ink-3);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-details{margin:12px 0 0;border:1px solid var(--cf-line);border-radius:16px;background:#F6F9FC}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:6px 14px;border-radius:16px;color:var(--cf-blue-deep);font:650 18px/24px var(--cf-font);list-style:none;cursor:pointer}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-details>summary::-webkit-details-marker{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-details>summary::after{content:"";flex:none;width:18px;height:18px;background:var(--cf-ink-3);-webkit-mask:var(--cf-i-chevron) center/18px no-repeat;mask:var(--cf-i-chevron) center/18px no-repeat;transition:transform .2s var(--cf-ease)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-details[open]>summary::after{transform:rotate(180deg)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-details>dl{margin:0;padding:10px 14px 14px;border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-details>.phase1-sub{margin:0;padding:12px 14px 0;border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-details>.phase1-sub+dl{border-top:0;padding-top:8px}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info .phase1-sheet-none{margin:12px 0 0;font:400 16px/1.5 var(--cf-font);color:var(--cf-ink-3)}
/* live facts as label and value; spare part as read-only product info with an in-app photo */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-live dl{display:grid;gap:8px;margin:8px 0 0}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-live dt{font:400 16px/22px var(--cf-font);color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-live dd{margin:0;font:500 18px/1.4 var(--cf-font);color:var(--cf-ink);overflow-wrap:anywhere}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .p1-live small{margin-top:8px;color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .service-product-photo{display:block;margin:0;padding:0;border:0;border-radius:12px;background:transparent;cursor:zoom-in}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .service-product .service-product-price b{font:650 19px/1.4 var(--cf-font);color:var(--cf-navy)}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg .service-product .service-product-note{display:block;margin:12px 0 0;padding:8px 12px;border-radius:12px;background:var(--cf-blue-tint);color:var(--cf-blue-deep)}

/* 6 · Toast and document viewer ------------------------------------------------------------------------------------ */
html[data-craft] body.partner-workspace .toast:not(#_){top:92px;bottom:auto;left:50%;z-index:90;max-width:calc(100vw - 32px);padding:14px 20px;border:1px solid rgba(255,255,255,.14);border-radius:18px;background:rgba(8,37,61,.96);box-shadow:0 24px 40px -22px rgba(8,37,61,.8);color:#fff;font:500 18px/1.4 var(--cf-font);text-align:center;white-space:normal;transform:translateX(-50%) translateY(-12px)}
html[data-craft] body.partner-workspace .toast.in:not(#_){transform:translateX(-50%)}
html[data-craft] .smarta-document-viewer{border-color:var(--cf-line-strong);border-radius:26px;color:var(--cf-ink);font-family:var(--cf-font);box-shadow:0 30px 60px -36px rgba(8,37,61,.6)}
html[data-craft] .smarta-document-viewer::backdrop{background:rgba(8,37,61,.5)}
html[data-craft] .smarta-document-viewer h2{font:650 20px/1.3 var(--cf-font);color:var(--cf-navy)}
html[data-craft] .smarta-document-viewer .smarta-document-state{font-size:18px;color:var(--cf-ink-2)}
html[data-craft] .smarta-document-viewer footer{font-size:18px}
html[data-craft] .smarta-document-viewer button{min-width:56px;min-height:56px;padding:0 18px;border:1px solid var(--cf-line-strong);border-radius:16px;background:#fff;color:var(--cf-ink);font:600 18px/22px var(--cf-font)}
html[data-craft] .smarta-document-viewer button:focus-visible{outline:3px solid var(--cf-blue);outline-offset:2px}
html[data-craft] .smarta-document-viewer .smarta-document-body{background:#E9EEF3}
/* 6a · Original beside the chat: in-app-viewer.js docks the panel (non-modal) on a large pointer desktop and marks the root while it is open */
html[data-craft] .smarta-document-viewer.smarta-document-docked{width:var(--cf-dock);box-shadow:0 0 0 1px rgba(14,34,51,.04),0 24px 48px -34px rgba(8,37,61,.45)}
html[data-craft][data-smarta-dock] #app:not(#_#_#_#_#_#_)>.wrap{margin-right:calc(var(--cf-dock) + 24px)}
html[data-craft][data-smarta-dock] #app:not(#_#_#_#_#_#_)>.nav{right:calc(var(--cf-dock) + 24px)}
@media(max-width:1500px){
 /* open media only; the closed pair is icon-only at every width (section 4) */
 html[data-craft][data-smarta-dock] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go):not(.rec){width:44px;padding:0}
 html[data-craft][data-smarta-dock] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go) .craft-ib-label{display:none}
 html[data-craft][data-smarta-dock] #app:not(#_#_#_#_#_#_) .nav .brand .jt-place{display:none}
}

/* 7 · Tablet and phone: the same rail as an accessible drawer -------------------------------------------------------- */
@media(max-width:1023.98px){
 html[data-craft] #app:not(#_#_#_#_#_#_)>.tabs{top:0;right:auto;bottom:0;left:0;z-index:70;flex-direction:column;justify-content:flex-start;width:min(86vw,264px);height:auto;padding:calc(max(18px,env(safe-area-inset-top)) + 64px) 12px max(14px,env(safe-area-inset-bottom));overflow:hidden auto;border-width:0 1.5px 0 0;border-radius:0 30px 30px 0;visibility:hidden;transform:translateX(-104%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),24px 0 60px -20px rgba(3,14,38,.56);transition:transform .16s ease-out,visibility 0s linear .34s}
 html[data-craft][data-craft-nav=open] #app:not(#_#_#_#_#_#_)>.tabs{visibility:visible;transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),16px 0 40px -12px rgba(8,38,67,.45);transition:transform .16s ease-out,visibility 0s}
 html[data-craft][data-craft-nav=open] #app:not(#_#_#_#_#_#_)::before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:65;background:rgba(8,38,67,.42);animation:cf-fade .16s ease-out both}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-close{position:absolute;top:max(18px,env(safe-area-inset-top));right:12px;display:grid;place-items:center;width:56px;height:56px;padding:0;border:1px solid rgba(255,255,255,.3);border-radius:17px;background:rgba(255,255,255,.08);box-shadow:inset 0 1px 0 rgba(255,255,255,.1);color:#EDF3F8;cursor:pointer;transition:background-color .16s,transform .12s}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-close:hover{background:rgba(255,255,255,.14)}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-close:active{transform:scale(.97)}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-rail-close svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
 html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab{flex:none;flex-direction:row;justify-content:flex-start;align-items:center;width:100%;height:auto;min-height:48px;padding:6px 10px;border-radius:10px;font:500 16px/22px var(--cf-font);text-align:left}
 html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[aria-current=page]{font-weight:650}
 html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab .bdg{position:absolute;top:50%;right:12px;margin:-13px 0 0}
 html[data-craft] #app:not(#_#_#_#_#_#_)>.nav{left:12px}
 html[data-craft] #app:not(#_#_#_#_#_#_)>.wrap{margin-left:12px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex:none;min-width:56px;height:56px;margin:0;padding:0 18px 0 15px;border:1px solid var(--cf-line-strong);border-radius:17px;background:rgba(255,255,255,.9);box-shadow:inset 0 1px 0 #fff,0 1px 2px rgba(8,37,61,.06),0 8px 16px -14px rgba(8,37,61,.4);color:var(--cf-navy);font:600 18px/24px var(--cf-font);cursor:pointer;transition:background-color .16s,transform .12s}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu:hover{background:#fff}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu:active{transform:scale(.97)}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu span{white-space:nowrap}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu svg{flex:none;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
 html[data-craft] #app:not(#_#_#_#_#_#_)>.nav .in{justify-content:flex-start;padding:0}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-place{display:none}
 /* start in the upper third: no tall empty band above the question */
 html[data-craft] #app:not(#_#_#_#_#_#_) #helpIntro{margin-top:clamp(20px,7vh,88px)}
}
@media(min-width:768px) and (max-width:1023.98px) and (min-height:540px),(min-width:600px) and (min-height:600px) and (pointer:coarse) and (hover:none){
 html[data-craft] #app:not(#_#_#_#_#_#_#_)>.tabs{display:none!important}
 html[data-craft] #app:not(#_#_#_#_#_#_#_) .craft-menu{display:none!important}
 html[data-craft][data-craft-nav=open] #app:not(#_#_#_#_#_#_#_)::before{content:none;animation:none}
}
@media(max-width:767.98px){
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero{gap:12px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero-mucki{width:54px;height:54px}
 html[data-craft] #app:not(#_#_#_#_#_#_)>.nav{top:8px;right:8px;left:8px;height:56px}
 html[data-craft] #app:not(#_#_#_#_#_#_)>.nav .in{gap:6px;height:56px;min-height:56px}
 html[data-craft] #app:not(#_#_#_#_#_#_)>.wrap{min-height:calc(100vh - 80px);min-height:calc(100dvh - 80px);margin:72px 8px 0;border-radius:16px}
 /* the word Menü stays on every width */
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu{gap:8px;padding:0 14px 0 12px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand{gap:8px;padding:6px 8px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand{gap:12px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand img{height:30px;max-height:30px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary{gap:0;min-height:56px;padding:6px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary .name,
 html[data-craft] #app:not(#_#_#_#_#_#_) .menu>summary::after{display:none}
 html[data-craft] #app:not(#_#_#_#_#_#_) #helpIntro{width:calc(100% - 32px);margin-top:clamp(24px,6vh,56px);padding-bottom:13px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero h1{font-size:28px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-lede{font-size:15px}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #stream{gap:24px;padding:18px 14px 26px}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .composer-shell{order:2;width:calc(100% - 20px);border-radius:16px}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-latest{order:2;margin-bottom:8px}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask{gap:5px;padding:8px 8px 8px 10px}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea{min-height:40px;font-size:16px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .msg{gap:10px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .msg.me .b{max-width:88%}
 html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)::before{width:36px;height:36px;border-radius:10px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)>.card,
 html[data-craft] #app:not(#_#_#_#_#_#_) .ans{font-size:18px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-info{padding:16px 14px 14px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product{flex-direction:column;gap:4px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-product span{max-width:none;text-align:left}
 html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-choice-pick>button{flex:1 1 100%}
 html[data-craft] body.partner-workspace .toast:not(#_){top:76px}
}
/* phone header, one 56px row: Menü (the word under its icon) · both original logos · account. Stacking the menu label leaves
   the width to the logos: at 360px they need 84 + 102 + 8 + 10 = 204 of the 216px between the two controls. */
@media(max-width:479.98px){
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu{flex-direction:column;gap:0;min-width:60px;padding:0 8px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu svg{width:22px;height:22px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-menu span{font:600 16px/18px var(--cf-font)}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand{padding:6px 4px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand{gap:10px}
}
/* narrow composer: the two media buttons become 56px icon buttons (their accessible names stay) */
@media(max-width:639.98px){
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go):not(.rec){width:44px;padding:0}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go) .craft-ib-label{display:none}
}
@media(max-width:379.98px){
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .wordmark{color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .partner-brand-label{color:var(--cf-ink-2)}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand img{height:28px;max-height:28px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand{gap:8px}
}
@media(max-width:339.98px){
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand img{height:22px;max-height:22px}
}
/* short viewports (landscape phone, on-screen keyboard): the composer keeps the space */
@media(max-height:680px){
 html[data-craft] #app:not(#_#_#_#_#_#_) #helpIntro{margin-top:14px;padding-bottom:14px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero h1{margin-bottom:6px;font-size:28px}
}
@media(max-height:560px){
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-lede{display:none}
}
@media(max-height:420px){
 html[data-craft] #app:not(#_#_#_#_#_#_) #helpIntro{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}


/* Fine highlights for the existing controls. Focus never changes their size. */
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.menu>summary,#sharedComposer .ib):focus-visible{
 outline:2px solid #2864b0!important;outline-offset:2px!important;
}
@media(hover:hover){
 html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[aria-current=page]:hover{
  background:linear-gradient(180deg,rgba(255,255,255,.22),rgba(255,255,255,.10) 52%,rgba(9,40,90,.19));
 }
}

/* 8 · Fallbacks ---------------------------------------------------------------------------------------------------- */
/* no backdrop-filter: the account panel turns solid (the rail is opaque by design) */
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
 html[data-craft] #app:not(#_#_#_#_#_#_) .mpanel{background:#FCFDFF}
}
@media(prefers-reduced-motion:reduce){
 html[data-craft] #app:not(#_#_#_#_#_#_),html[data-craft] #app:not(#_#_#_#_#_#_)::before,html[data-craft] #app:not(#_#_#_#_#_#_) *,html[data-craft] #app:not(#_#_#_#_#_#_) *::before,html[data-craft] #app:not(#_#_#_#_#_#_) *::after,
 html[data-craft] body.partner-workspace .toast:not(#_){animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media(forced-colors:active){
 html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab[aria-current=page]{border-color:Highlight}
 html[data-craft] #app:not(#_#_#_#_#_#_) #tabs .tab:disabled,
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:disabled{color:GrayText}
 html[data-craft] #app:not(#_#_#_#_#_#_) :is(.menu>summary,.chat-sources>summary,.phase1-choices>summary,.phase1-details>summary)::after,
 html[data-craft] #app:not(#_#_#_#_#_#_) .chat-sources li a::after{background:CanvasText}
 html[data-craft] #app:not(#_#_#_#_#_#_) :is(.chat-sources,.phase1-lines) :is(a,button)[data-smarta-open]{outline-color:Highlight}
 html[data-craft] #app:not(#_#_#_#_#_#_) .smarta-source-open,
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich :not(pre)>code{border:1px solid CanvasText}
 html[data-craft] #app:not(#_#_#_#_#_#_) .answer-rich th{border-bottom:1px solid CanvasText}
}

/* JUD chat: the existing composer and account actions on a quiet, full-width surface. */
html[data-craft]{
 --cf-canvas:#f6f4ef;--cf-ink:#1b1a17;--cf-ink-2:#514d44;--cf-ink-3:#5e5a51;
 --cf-line:#dad6cc;--cf-line-strong:#a5a096;--cf-blue:#12588c;--cf-navy:#1b1a17;
 --cf-blue-deep:#124971;--cf-blue-tint:#efede7;--cf-content:720px;
 --cf-paper:#fff;--cf-bubble:#eeebe3;--cf-focus:#554b38;--cf-tank-line:#24364d;--cf-tank-fill:#0e7499;
 --cf-gutter:24px;--cf-tools-space:calc(60px + env(safe-area-inset-bottom,0px));
}
html[data-craft][data-theme=dark]{
 --cf-canvas:#0b1522;--cf-ink:#eef3f8;--cf-ink-2:#c8d4e1;--cf-ink-3:#9fb0c3;
 --cf-line:#223349;--cf-line-strong:#6383a4;--cf-blue:#a5cdeb;--cf-navy:#eef3f8;
 --cf-blue-deep:#bbd7ea;--cf-blue-tint:#1a2b41;--cf-paper:#121f31;--cf-bubble:#18283b;
 --cf-warn-bg:#3c3120;--cf-warn-ink:#f9dda1;--cf-bad-bg:#382623;--cf-bad-ink:#ffd4c8;--cf-tank-line:#c9d5e2;--cf-tank-fill:#5cc8e8;--cf-focus:#7db7ff;
}
@media(prefers-color-scheme:dark){
 html[data-craft]:not([data-theme]){
  --cf-canvas:#0b1522;--cf-ink:#eef3f8;--cf-ink-2:#c8d4e1;--cf-ink-3:#9fb0c3;
  --cf-line:#223349;--cf-line-strong:#6383a4;--cf-blue:#a5cdeb;--cf-navy:#eef3f8;
  --cf-blue-deep:#bbd7ea;--cf-blue-tint:#1a2b41;--cf-paper:#121f31;--cf-bubble:#18283b;
  --cf-warn-bg:#3c3120;--cf-warn-ink:#f9dda1;--cf-bad-bg:#382623;--cf-bad-ink:#ffd4c8;--cf-tank-line:#c9d5e2;--cf-tank-fill:#5cc8e8;--cf-focus:#7db7ff
 }
}
html[data-craft] body.partner-workspace[data-company-brand="jud"]{
 --cf-yellow:var(--jud-chat-action);--cf-yellow-deep:var(--jud-chat-hover);--cf-action-text:var(--jud-chat-action-text);
}
html[data-craft] body.partner-workspace:not([data-company-brand="jud"]){
 color-scheme:light dark;
 --cf-canvas:var(--brand-canvas);--cf-paper:var(--brand-surface);--cf-bubble:var(--brand-field);
 --cf-ink:var(--brand-ink);--cf-ink-2:var(--brand-muted);--cf-ink-3:var(--brand-muted);
 --cf-line:var(--brand-line);--cf-line-strong:var(--brand-control);
 --cf-blue:var(--brand-focus);--cf-blue-deep:var(--brand-focus);--cf-blue-tint:var(--brand-line);--cf-navy:var(--brand-ink);
 --cf-yellow:var(--brand-action);--cf-yellow-deep:var(--brand-action-hover);--cf-action-text:var(--brand-action-text);
 --cf-identity:var(--brand-action);--cf-focus:var(--brand-focus);--cf-tank-line:var(--brand-muted);--cf-tank-fill:var(--brand-action);
}
html[data-craft][data-theme="light"] body.partner-workspace:not([data-company-brand="jud"]){color-scheme:light}
html[data-craft][data-theme="dark"] body.partner-workspace:not([data-company-brand="jud"]){color-scheme:dark}
html[data-craft] #app:not(#_#_#_#_#_#_)>.tabs{display:none!important}
html[data-craft] #app:not(#_#_#_#_#_#_)>.nav{
 position:relative;inset:auto;height:auto;border:0;border-radius:0;background:transparent;box-shadow:none
}
html[data-craft] #app:not(#_#_#_#_#_#_)>.nav .in{
 height:auto;min-height:76px;padding:16px var(--cf-gutter);justify-content:flex-start
}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand{
 background:transparent;min-height:44px;padding:0;border:0;border-radius:0
}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .wordmark{color:var(--cf-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .partner-brand-label{color:var(--cf-ink-2)}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand img{height:28px;max-height:28px}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand{gap:20px}

html[data-craft] #app:not(#_#_#_#_#_#_)>#partnerMain{
 min-height:calc(100dvh - 76px);width:auto;margin:0;padding:0 0 var(--cf-tools-space);
 border:0;border-radius:0;background:transparent;box-shadow:none
}
html[data-craft][data-smarta-dock] #app:not(#_#_#_#_#_#_)>#partnerMain{margin-right:calc(var(--cf-dock) + 12px)}
html[data-craft] #app:not(#_#_#_#_#_#_) #partnerMain:not(:has(#stream>.msg)) #helpIntro{
 margin:clamp(30px,calc(42dvh - 155px),360px) auto 0;padding:0 0 20px;text-align:left;width:min(var(--cf-content),calc(100% - 2 * var(--cf-gutter)))
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero{flex-direction:row;justify-content:flex-start;gap:16px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero-mucki{height:48px;width:48px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero h1{
 margin:0;color:var(--cf-ink);font:700 clamp(28px,4vw,40px)/1.1 var(--cf-display);letter-spacing:-.025em
}

html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .composer-shell{
 width:min(var(--cf-content),calc(100% - 2 * var(--cf-gutter)));border:1px solid var(--cf-line);
 border-radius:14px;background:var(--cf-paper);box-shadow:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .composer-shell:focus-within{
 border-color:var(--cf-line-strong);box-shadow:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask{
 align-items:flex-end;min-height:62px;gap:4px;padding:8px;
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea{
 flex:1 1 60px;width:auto;min-height:44px;padding:10px 5px;
 font:400 16px/22px var(--cf-font)
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask [data-on-click=photoPick]{order:-1}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go){
 border:0;border-radius:8px;width:44px;padding:0;box-shadow:none;background:transparent;color:var(--cf-ink-2)
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go):hover:not(:disabled){background:var(--cf-blue-tint)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib:not(.go):disabled{color:var(--cf-ink-3);opacity:.65}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-label{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go{
 width:44px;min-height:44px;margin:0;padding:0;border:0;border-radius:10px;
 background:var(--cf-yellow);color:var(--cf-action-text);box-shadow:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go:hover:not(:disabled){background:var(--cf-yellow-deep);color:var(--cf-action-text)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go:disabled{background:var(--cf-blue-tint);color:var(--cf-ink-3)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic.rec::after{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer #mic[data-craft-dictation=recording]{background:var(--cf-bad-bg);color:var(--cf-bad-ink)}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status:not(:empty){
 order:1;flex:1 0 100%;margin:0;padding:3px 7px 4px;white-space:normal;font-size:13px
}
html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .craft-ib-status:not(:empty)::before{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .phase1-photos>li{background:var(--cf-bubble);border-radius:8px}

/* Account menu and availability display. */
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools{
 position:fixed;left:var(--cf-gutter);bottom:max(7px,env(safe-area-inset-bottom,0px));z-index:42;
 display:flex;align-items:center;gap:4px
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools :where(#meMenu){position:relative}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools #meMenu{min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools details>summary{
 display:inline-flex;align-items:center;min-height:44px;gap:7px;margin:0;padding:4px 8px;
 background:var(--cf-canvas)!important;border:0!important;border-radius:7px;box-shadow:none;
 color:var(--cf-ink-2);font:540 14px/20px var(--cf-font);cursor:pointer;list-style:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools details>summary::-webkit-details-marker{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools details>summary:hover,
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools details[open]>summary{background:var(--cf-blue-tint)!important}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-usage{
 display:inline-flex;align-items:center;min-height:44px;gap:6px;padding:0 6px;font-size:13px
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-tank{width:25px;height:25px;flex:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-tank-outline{fill:none;stroke:var(--cf-tank-line);stroke-width:1.5;stroke-linecap:round}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-tank-liquid{fill:var(--cf-tank-fill)}
@media(prefers-reduced-motion:no-preference){
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-tank-liquid{animation:craft-tank-wave 3.6s linear}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-tank-surface{animation:craft-tank-settle 3.6s ease-in-out}
}
@keyframes craft-tank-wave{from{transform:translateX(0)}to{transform:translateX(-8.5px)}}
@keyframes craft-tank-settle{50%{transform:translateY(-.4px)}}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-usage-value{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--cf-ink)}
html[data-craft] .craft-usage[data-offline] .craft-tank-surface{visibility:hidden}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools #meMenu>summary .av{
 width:27px;height:27px;border-radius:7px;background:var(--cf-identity);color:#fff
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools #meMenu>summary .name{display:inline;max-width:min(17vw,95px)}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools #meMenu>summary::after{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel{
 position:absolute;inset:auto auto calc(100% + 8px) 0;z-index:60;
 box-sizing:border-box;width:min(238px,calc(100vw - 2 * var(--cf-gutter)));min-width:0;
 max-height:min(360px,calc(100dvh - 78px));overflow:auto;padding:8px;
 background:var(--cf-paper);border:1px solid var(--cf-line);border-radius:11px;box-shadow:none;
 color:var(--cf-ink);animation:none;backdrop-filter:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools details:not([open])>.mpanel{display:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-control-icon{
 width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:3px 5px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel>:is(.mwho,.mi){grid-column:1/-1}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel .mwho{min-width:0;margin:0 0 3px;padding:3px 4px 8px;font-size:12px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel .mwho b{font-size:15px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel .mwho span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel .mi{min-height:44px;padding:0 5px;border-radius:7px;font-size:14px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-appearance{grid-column:1;min-width:0;margin:0;padding:0;border:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-appearance legend{
 position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-appearance>div{display:flex;gap:3px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools :is(.craft-appearance button,.craft-settings-toggle,.craft-profile-settings button,.mpanel [data-on-click=logout]){
 display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid transparent;border-radius:7px;
 color:var(--cf-ink-2);background:transparent;cursor:pointer
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools :is(.craft-appearance button,.craft-settings-toggle,.craft-profile-settings button,.mpanel [data-on-click=logout]):hover{
 background:var(--cf-blue-tint);border-color:var(--cf-line);color:var(--cf-ink)
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-appearance button[aria-pressed=true]{
 background:var(--cf-bubble);border-color:var(--cf-line);color:var(--cf-ink)
}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-toggle{grid-column:2}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel [data-on-click=logout]{grid-column:3;position:relative;font-size:0;line-height:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-signout-icon{position:absolute;inset:0;display:grid;place-items:center;pointer-events:none}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .mpanel[data-craft-settings-open]>:not(.craft-profile-settings){display:none!important}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-profile-settings{grid-column:1/-1;min-width:0}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-profile-settings header{display:flex;align-items:center;gap:4px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-profile-settings h2{margin:0;font:650 15px/20px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-plugins{padding:5px 7px 2px}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-plugins h3{margin:0;font:650 14px/20px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-plugins p{margin:2px 0 7px;color:var(--cf-ink-3);font:400 12px/17px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-plugins ul{list-style:none;padding:0;margin:0;border-top:1px solid var(--cf-line)}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-plugins li{padding:6px 0;font:550 13px/20px var(--cf-font)}
html[data-craft] #app:not(#_#_#_#_#_#_) .craft-tools .craft-settings-plugins li+li{border-top:1px solid var(--cf-line)}

/* Match answer surfaces to the selected theme, including sources and recoverable errors. */
html[data-craft] #app:not(#_#_#_#_#_#_) .msg.me .b{
 background:var(--cf-bubble);color:var(--cf-ink);box-shadow:none;border-radius:14px 14px 4px 14px
}
html[data-craft] #app:not(#_#_#_#_#_#_) .msg:not(.me)::before{
 width:32px;height:32px;background:var(--workspace-avatar) center/contain no-repeat;box-shadow:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.msg:not(.me)>.card,.ans){font-size:17px}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.answer-rich pre,.answer-rich .answer-table,.chat-sources>summary,.chat-sources li a,.msg .live>div,.msg .service-product,.msg .request-check>button,.msg .request-check-out .request-check-answer,.phase1-info,.phase1-choices,.phase1-choice button,.phase1-choice select,.p1-sources>ul,.p1-source-none,.phase1-details,.craft-latest,.msg .p1-wait-cancel,.msg.p1-wait-ended:not(.me)>.card:has(>h3:first-child),.p1-source-pages button[data-p1-open],.phase1-lines button[data-p1-open]){
 background:var(--cf-paper);box-shadow:none
}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.chat-sources>summary,.chat-sources li a,.p1-source-pages button[data-p1-open],.phase1-lines button[data-p1-open]):hover{
 background:var(--cf-blue-tint);box-shadow:none
}
html[data-craft] .smarta-document-viewer{background:var(--cf-paper)}
html[data-craft] .smarta-document-viewer button{background:var(--cf-paper)}
html[data-craft] #app:not(#_#_#_#_#_#_) :is(.craft-tools :is(button,summary),#sharedComposer .ib):focus-visible{
 outline:2px solid var(--cf-focus)!important;outline-offset:2px!important
}
@media(max-width:520px){
 html[data-craft] #app:not(#_#_#_#_#_#_)>.nav .in{min-height:68px;padding-block:12px}
 html[data-craft] #app:not(#_#_#_#_#_#_)>#partnerMain{min-height:calc(100dvh - 68px)}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea{font-size:16px}
}
@media(max-height:430px){
 html[data-craft] #app:not(#_#_#_#_#_#_) #partnerMain:not(:has(#stream>.msg)) #helpIntro{
 position:static;inset:auto;width:min(var(--cf-content),calc(100% - 2 * var(--cf-gutter)));
 height:auto;margin:12px auto 0;padding:0 0 10px;overflow:visible;clip:auto;clip-path:none;white-space:normal
 }
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero-mucki{width:32px;height:32px;border-radius:50%}
}

@media(min-width:768px) and (max-width:1023.98px) and (min-height:540px),(min-width:600px) and (min-height:600px) and (pointer:coarse) and (hover:none){
 html[data-craft] #app:not(#_#_#_#_#_#_)>.nav{left:0;right:auto}
}
/* Only the blue ink of the transparent original logos is recoloured in dark appearance. */
html[data-craft] .craft-brand-filter{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
html[data-craft][data-theme=dark] #app:not(#_#_#_#_#_#_) .nav .brand{background:transparent}
html[data-craft][data-theme=dark] #app:not(#_#_#_#_#_#_) .nav .brand img{filter:url(#craft-dark-wordmarks)}
@media(prefers-color-scheme:dark){
 html[data-craft]:not([data-theme]) #app:not(#_#_#_#_#_#_) .nav .brand{background:transparent}
 html[data-craft]:not([data-theme]) #app:not(#_#_#_#_#_#_) .nav .brand img{filter:url(#craft-dark-wordmarks)}
}

html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand:hover{background:transparent;border-color:transparent}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand::before{
 content:"";order:1;flex:0 0 1px;height:22px;background:var(--cf-line)
}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand img+img{order:2}
@media(max-width:520px){
 html[data-craft]{--cf-gutter:16px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand img{height:20px;max-height:20px;max-width:131px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand{gap:12px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .jt-brand::before{height:17px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero{gap:10px}
 html[data-craft] #app:not(#_#_#_#_#_#_) .craft-hero-mucki{width:32px;height:32px}
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ask textarea{
  order:-2;flex:1 0 100%;width:100%;padding-inline:1px
 }
 html[data-craft] #app:not(#_#_#_#_#_#_) #sharedComposer .ib.go{margin-left:auto}
}

/* Partner views that render a portrait image directly, including the standard chat. */
body[data-company-brand="jud"] :is(#helpIntro .smarta-chat-face,#stream>.msg:not(.me)>img,.partner-welcome>img){content:var(--workspace-avatar)}

body[data-swiss-knowledge-chat] .nav .brand :is(.brand-mark,.wordmark,.partner-brand-label) {display:none !important}
body[data-swiss-knowledge-chat] .swiss-partner-logos {
 display:flex;align-items:center;gap:clamp(10px,2.5vw,20px);max-width:100%;
}
html[data-craft] #app:not(#_#_#_#_#_#_) .nav .brand .swiss-partner-logos img {width:clamp(82px,21vw,112px);object-fit:contain}
body[data-swiss-knowledge-chat] .swiss-partner-logos .swiss-logo-dark {display:none !important}
html[data-theme="dark"] body[data-swiss-knowledge-chat] .swiss-partner-logos .swiss-logo-light {display:none !important}
html[data-theme="dark"] body[data-swiss-knowledge-chat] .swiss-partner-logos .swiss-logo-dark {display:block !important}
@media(prefers-color-scheme:dark) {
 html:not([data-theme="light"]) body[data-swiss-knowledge-chat] .swiss-partner-logos .swiss-logo-light {display:none !important}
 html:not([data-theme="light"]) body[data-swiss-knowledge-chat] .swiss-partner-logos .swiss-logo-dark {display:block !important}
}
body[data-swiss-knowledge-chat] .craft-hero-mucki {border-radius:50%;background-size:cover}
html[data-craft] body[data-swiss-knowledge-chat] #app:not(#_#_#_#_#_#_#_) #stream > .msg.me > .b {
 max-width:min(85%,59ch);padding:10px 14px;border:0;border-radius:14px;background:var(--cf-line);color:var(--cf-ink);
}

html[data-craft] body[data-swiss-knowledge-chat] #app:not(#_#_#_#_#_#_#_) .msg:not(.me)::before {
 border-radius:50%;background:var(--workspace-avatar) center/cover no-repeat;box-shadow:none;
}
