/*
 * Agent experience layer.
 * This file is intentionally additive: the original workbench styles stay byte-for-byte
 * identical in project-styles.css and styles.css, which keeps later integration low risk.
 */
.yj-agent-glyph {
  display:inline-block;
  color:#f7f7f7;
  font-weight:900;
  letter-spacing:-.18em;
  transform:skew(-8deg);
}

/* Project page: composer sits between the poster stack and the original recent-project shelf. */
.project-page {
  /* Give the collapsed composer the full breathing room marked in the
     accepted 2K desktop reference instead of crowding it against both rows. */
  --yj-agent-home-gap:40px;
  --yj-home-section-gap:40px;
  /* The shelf heading has built-in line-box whitespace above its visible
     glyphs. Shift the composer down slightly so the painted poster edge and
     the visible heading text look optically equidistant on WKWebView/Retina. */
  --yj-agent-home-optical-shift:3px;
  --yj-poster-shadow-tail:0px;
  --yj-project-poster-height:clamp(293.333px,20.6667vw,400px);
}
.project-page .project-hero-flow {
  display:flex;
  flex-direction:column;
  align-items:stretch;
  row-gap:var(--yj-agent-home-gap);
}
.project-page .project-poster-stage {
  flex:0 0 var(--yj-project-poster-height);
  height:var(--yj-project-poster-height)!important;
  margin-top:0!important;
  margin-bottom:0!important;
  padding:0!important;
}
.project-page .project-poster-stack {
  top:0;
  height:100%!important;
}
.project-page .project-poster-card {
  /* Every carousel role shares the stage bottom. Because scaled cards also
     transform from the bottom, changing window size or carousel order cannot
     move a coloured poster edge into the following row. */
  top:auto!important;
  bottom:0!important;
  transform-origin:center bottom;
}
.yj-agent-home {
  position:relative;
  top:var(--yj-agent-home-optical-shift);
  z-index:13;
  flex:0 0 auto;
  width:min(500px,calc(100% - 80px));
  margin:0 auto!important;
  padding:0;
  border:0;
  background:transparent;
  overflow-anchor:none;
  transition:width .24s ease;
}
.yj-agent-home-heading {
  display:none;
}
.yj-agent-home-heading > div { display:grid; gap:2px; }
.yj-agent-home-heading small { color:#72b9ff; font-size:8px; font-weight:760; letter-spacing:.14em; }
.yj-agent-home-heading strong { color:#f5f5f5; font-size:13px; }
.yj-agent-home-composer {
  position:relative;
  box-sizing:border-box;
  height:48px;
  min-height:0;
  border:0;
  border-radius:24px;
  background:#303030;
  padding:7px 58px 5px 18px;
  box-shadow:none;
  transition:height .24s cubic-bezier(.2,.72,.2,1),border-radius .24s ease,padding .24s ease;
}
.yj-agent-home.is-expanded .yj-agent-home-composer {
  height:142px;
  border-radius:28px;
  padding:17px 20px 52px;
}
.yj-agent-home textarea,
.yj-agent-panel textarea {
  width:100%;
  resize:none;
  border:0;
  outline:0;
  background:transparent;
  color:#fff;
  font:inherit;
}
.yj-agent-home textarea { display:block; height:36px; padding:0; font-size:12px; line-height:36px; text-align:left; transition:height .24s cubic-bezier(.2,.72,.2,1); }
.yj-agent-home textarea::placeholder,
.yj-agent-panel textarea::placeholder { color:rgba(255,255,255,.34); }
.yj-agent-home.is-expanded textarea { height:72px; padding:2px 0 0; line-height:1.65; }
.yj-agent-home-actions {
  position:absolute;
  right:10px;
  bottom:6px;
  left:13px;
  display:flex;
  height:36px;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}
.yj-agent-home-actions .yj-agent-toolset {
  opacity:0;
  transform:translateY(4px);
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.yj-agent-home.is-expanded .yj-agent-home-actions .yj-agent-toolset {
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.yj-agent-toolset { display:flex; align-items:center; gap:2px; }
.yj-agent-tool,
.yj-agent-panel-head button {
  display:grid;
  width:34px;
  height:34px;
  place-items:center;
  border:0;
  border-radius:9px;
  background:transparent;
  color:rgba(255,255,255,.55);
  padding:0;
  cursor:pointer;
  transition:background .15s ease,color .15s ease;
}
.yj-agent-tool:hover,
.yj-agent-tool.is-active { background:rgba(255,255,255,.08); color:#f3f3f3; }
.yj-agent-tool svg,
.yj-agent-panel-head button svg,
.yj-agent-send svg {
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.yj-agent-send {
  display:grid!important;
  width:36px!important;
  height:36px!important;
  place-items:center;
  border-radius:50%!important;
  border:0!important;
  background:#4b4b4b!important;
  color:rgba(255,255,255,.92)!important;
  padding:0!important;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
  pointer-events:auto;
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,transform .16s ease,box-shadow .16s ease;
}
.yj-agent-send:hover { background:#565656!important; box-shadow:0 5px 16px rgba(0,0,0,.28); transform:translateY(-1px); }
.yj-agent-send:active { transform:translateY(0) scale(.96); }
.yj-agent-send svg { width:17px; height:17px; stroke-width:1.45; }

/* The poster stage, composer and shelf stay in normal flow. Their spacing is
   entirely CSS-owned so host zoom, Retina scaling and carousel timing cannot
   feed a transformed measurement back into layout. */
.project-page .project-shelf {
  flex:0 0 auto;
  margin:0 auto!important;
  padding-top:0;
  padding-bottom:0;
  transform:none;
  overflow-anchor:none;
  transition:none;
}
.project-page .shelf-head { margin-bottom:12px; }
@media (min-width:1800px) {
  .project-page { --yj-project-poster-height:clamp(380px,20.6667vw,520px); }
  .yj-agent-home { width:min(500px,calc(100% - 120px)); }
}
@media (min-width:2000px) and (min-height:1000px) {
  .project-page .project-grid { margin-top:0!important; }
}

/* Canvas brand and entry button reuse the original top-left placement and control language. */
.canvas-brand-identity.yj-agent-brand {
  gap:8px;
  padding:0;
}
.canvas-brand-identity.yj-agent-brand .yj-company-logo { width:30px; height:24px; object-fit:contain; }
.yj-agent-logo-button {
  display:grid;
  height:30px;
  place-items:center;
  border:1px solid rgba(255,255,255,.11);
  border-radius:8px;
  background:rgba(24,24,24,.72);
  padding:3px 8px;
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  cursor:pointer;
  transition:background .16s ease,border-color .16s ease,box-shadow .16s ease;
}
.yj-agent-logo-button:hover {
  border-color:rgba(255,255,255,.2);
  background:rgba(255,255,255,.055);
  box-shadow:0 8px 24px rgba(0,0,0,.24);
}
.yj-agent-logo-button.is-active {
  border-color:rgba(255,255,255,.18);
  background:#303030;
  box-shadow:0 8px 24px rgba(0,0,0,.25);
}
.canvas-brand-identity.yj-agent-brand .yj-agent-logo {
  width:71px;
  height:19px;
  object-fit:contain;
  object-position:center;
}
.yj-agent-logo-fallback {
  width:71px;
  color:rgba(255,255,255,.92);
  font-size:13px;
  font-weight:720;
  letter-spacing:.02em;
  line-height:19px;
  text-align:center;
}
.yj-agent-logo-fallback[hidden] { display:none; }

/* Agent lives on the left. Opening it hides the original PS rail without mutating its code. */
.yj-agent-panel {
  position:fixed;
  z-index:70;
  top:8px;
  bottom:8px;
  left:0;
  display:flex;
  width:390px;
  flex-direction:column;
  border:1px solid rgba(255,255,255,.14);
  border-left:0;
  border-radius:0 22px 22px 0;
  background:#222;
  background-clip:padding-box;
  box-shadow:22px 0 50px rgba(0,0,0,.32);
  overflow:hidden;
  transform:translateX(-102%);
  transition:transform .27s cubic-bezier(.2,.72,.2,1);
}
.yj-agent-panel.is-open { transform:translateX(0); }
.canvas-app.yj-agent-open .ps-tool-rail { opacity:0; pointer-events:none; transform:translateX(-70px); }
.canvas-app.yj-agent-open .floating-toolbar { opacity:0; pointer-events:none; }
.canvas-app.yj-agent-open .infinite-viewport { filter:brightness(.78); }
.ps-tool-rail,
.floating-toolbar,
.infinite-viewport { transition:opacity .22s ease,transform .22s ease,filter .22s ease; }
.yj-agent-panel-head {
  display:flex;
  height:62px;
  flex:0 0 auto;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(255,255,255,.1);
  padding:0 14px;
}
.yj-agent-panel-head > div { display:flex; align-items:center; gap:9px; }
.yj-agent-panel-head > div > span:last-child { display:grid; gap:3px; }
.yj-agent-panel-head b { font-size:13px; }.yj-agent-panel-head small { color:rgba(255,255,255,.38); font-size:8px; }
.yj-agent-panel-head nav { display:flex; gap:1px; }
.yj-agent-panel-head button {
  width:30px;
  height:30px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:rgba(255,255,255,.68);
  padding:0;
}
.yj-agent-panel-head button:hover { background:rgba(255,255,255,.08); color:#fff; }
.yj-agent-panel-body { flex:1; overflow:auto; padding:18px 14px; scrollbar-color:#4a4a4a transparent; }
.yj-agent-intro { display:grid; justify-items:center; padding:12px 28px 20px; text-align:center; }
.yj-agent-intro strong { margin-top:0; font-size:15px; }
.yj-agent-intro p { margin:7px 0 0; color:rgba(255,255,255,.45); font-size:10px; line-height:1.65; }
.yj-agent-skill-title { display:flex; align-items:center; justify-content:space-between; margin:4px 0 11px; }
.yj-agent-skill-title strong { display:flex; align-items:center; gap:7px; font-size:12px; }
.yj-agent-skill-title button { border:0; background:transparent; color:rgba(255,255,255,.45); font-size:10px; }
.yj-agent-skill-grid { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.yj-agent-skill-grid > button {
  display:flex;
  height:70px;
  min-width:0;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:13px;
  background:#292929;
  color:#f3f3f3;
  padding:8px;
  text-align:left;
}
.yj-agent-skill-grid > button:hover { border-color:rgba(255,255,255,.18); background:#313131; }
.yj-agent-skill-grid i { width:42px; height:42px; flex:0 0 auto; border-radius:9px; background:#383838; }
.yj-agent-skill-grid span { display:grid; min-width:0; gap:4px; }
.yj-agent-skill-grid b,.yj-agent-skill-grid small { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.yj-agent-skill-grid b { font-size:10px; }.yj-agent-skill-grid small { color:rgba(255,255,255,.38); font-size:8px; }
.yj-agent-chat { display:grid; gap:9px; margin-top:14px; }
.yj-agent-message { max-width:86%; border-radius:13px; padding:10px 12px; font-size:10px; line-height:1.6; animation:yj-message-in .2s ease; }
.yj-agent-message.user { justify-self:end; background:#fff; color:#111; }
.yj-agent-quote-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:8px; }
.yj-agent-quote-actions button { white-space:nowrap; display:inline-flex; align-items:center; gap:2px; font:inherit; font-weight:600; border:0; border-radius:8px; padding:5px 10px; cursor:pointer; color:#eee; background:#464646; }
.yj-agent-quote-actions button:first-child { color:#111; background:#fff; }
.yj-agent-quote-actions button:focus-visible { outline:2px solid #aaa; outline-offset:2px; }
.yj-agent-message.agent { justify-self:start; border:1px solid rgba(255,255,255,.08); background:#303030; }
.yj-agent-message.loading { color:rgba(255,255,255,.45); }
.yj-agent-context { display:flex; margin:0 13px 9px; padding:9px 11px; align-items:center; justify-content:space-between; border-radius:10px; background:#263e62; color:#deebff; font-size:9px; }
.yj-agent-context button { border:0; background:transparent; color:#fff; font-size:9px; text-decoration:underline; }
.yj-agent-panel-composer { flex:0 0 auto; margin:0 13px 13px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:#292929; padding:12px; }
.yj-agent-panel-composer textarea { height:54px; font-size:10px; line-height:1.6; }
.yj-agent-panel-composer > div { display:flex; align-items:center; justify-content:space-between; }
.yj-agent-panel-composer .yj-agent-send { width:34px!important; height:34px!important; }
@keyframes yj-message-in { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }

/* Shared local Agent controls: attachments, menus, model/style/mode selection and feedback. */
.yj-agent-attachments[hidden] { display:none; }
.yj-agent-attachments {
  display:flex!important;
  gap:6px;
  align-items:center;
  overflow:auto;
  margin:5px 0 7px;
  padding-bottom:1px;
  scrollbar-width:none;
}
.yj-agent-attachment {
  position:relative;
  display:flex;
  height:30px;
  max-width:150px;
  flex:0 0 auto;
  align-items:center;
  gap:6px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  background:rgba(255,255,255,.045);
  padding:3px 7px 3px 3px;
  color:rgba(255,255,255,.72);
  font-size:9px;
}
.yj-agent-attachment img { width:24px; height:24px; border-radius:6px; object-fit:cover; }
.yj-agent-attachment span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.yj-agent-attachment button { width:16px!important; height:16px!important; flex:0 0 auto; border:0!important; background:transparent!important; color:rgba(255,255,255,.48)!important; padding:0!important; font-size:13px!important; }
/* Homepage attachments show a larger picture without a visible filename. */
.yj-agent-home .yj-agent-attachment { height:46px; max-width:none; gap:0; padding:2px; }
.yj-agent-home .yj-agent-attachment img { width:40px; height:40px; object-fit:contain; }
.yj-agent-home .yj-agent-attachment span { display:none; }
.yj-agent-home .yj-agent-attachment button { position:absolute; right:2px; top:2px; border-radius:50%; background:rgba(0,0,0,.65)!important; color:#eee!important; }
.yj-agent-home.is-expanded:has(.yj-agent-attachments:not([hidden])) .yj-agent-home-composer { height:190px; }

.yj-agent-popover {
  position:fixed;
  z-index:320;
  width:248px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.11);
  border-radius:16px;
  background:rgba(24,24,24,.985);
  box-shadow:0 22px 55px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.035);
  padding:7px;
  color:#f2f2f2;
  animation:yj-pop-in .16s cubic-bezier(.2,.72,.2,1);
}
.yj-agent-popover.wide { width:286px; }
.yj-agent-popover { overflow-y:auto; overscroll-behavior:contain; }
.yj-agent-picker-status { padding:12px; color:rgba(255,255,255,.5); font-size:11px; line-height:1.6; }
.yj-agent-skill-grid i { display:grid; place-items:center; }
.yj-agent-skill-grid i svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.yj-agent-popover-title { display:flex; min-height:28px; align-items:center; justify-content:space-between; gap:8px; padding:4px 5px 3px 9px; color:rgba(255,255,255,.42); font-size:9px; font-weight:650; letter-spacing:.04em; }
.yj-agent-popover .yj-agent-popover-expand { display:grid; width:26px; min-height:26px; flex:0 0 auto; place-items:center; border-radius:7px; padding:0; color:rgba(255,255,255,.58); }
.yj-agent-popover .yj-agent-popover-expand:hover { background:rgba(255,255,255,.08); color:#fff; }
.yj-agent-popover-expand svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.45; stroke-linecap:round; stroke-linejoin:round; }
.yj-agent-popover button {
  display:flex;
  width:100%;
  min-height:44px;
  align-items:center;
  gap:10px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:#ececec;
  padding:7px 9px;
  text-align:left;
  cursor:pointer;
}
.yj-agent-popover button:hover { background:rgba(255,255,255,.065); }
.yj-agent-popover button.is-selected { background:rgba(255,255,255,.08); }
.yj-agent-popover-icon { display:grid; width:30px; height:30px; flex:0 0 auto; place-items:center; border-radius:8px; background:rgba(255,255,255,.055); color:rgba(255,255,255,.76); }
.yj-agent-popover-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; stroke-linejoin:round; }
.yj-agent-popover-thumb { width:38px; height:38px; flex:0 0 auto; border-radius:9px; object-fit:cover; background:#333; }
.yj-agent-popover-copy { display:grid; min-width:0; flex:1; gap:3px; }
.yj-agent-popover-copy b { overflow:hidden; color:rgba(255,255,255,.9); font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.yj-agent-popover-copy small { overflow:hidden; color:rgba(255,255,255,.4); font-size:9px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
.yj-agent-popover-check { width:17px; height:17px; flex:0 0 auto; color:#fff; }
.yj-agent-popover-check svg { width:100%; height:100%; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.yj-agent-asset-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  padding:2px 5px 7px;
}
.yj-agent-popover .yj-agent-asset-tile {
  display:grid;
  min-width:0;
  min-height:0;
  gap:4px;
  justify-items:stretch;
  padding:3px;
  border-radius:10px;
}
.yj-agent-asset-tile img { width:100%; aspect-ratio:1; border-radius:8px; object-fit:cover; background:#292929; }
.yj-agent-asset-tile small { overflow:hidden; color:rgba(255,255,255,.48); font-size:7px; line-height:1.2; text-align:center; text-overflow:ellipsis; white-space:nowrap; }
.yj-agent-model-tabs {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2px;
  margin:2px 5px 7px;
  border-radius:10px;
  background:rgba(255,255,255,.055);
  padding:3px;
}
.yj-agent-popover .yj-agent-model-tabs button {
  display:block;
  min-height:30px;
  border-radius:8px;
  padding:5px 3px;
  color:rgba(255,255,255,.45);
  font-size:10px;
  text-align:center;
}
.yj-agent-popover .yj-agent-model-tabs button.is-selected { background:rgba(255,255,255,.15); color:#fff; }
.yj-agent-model-category { display:block; padding:2px 9px 4px; color:rgba(255,255,255,.32); font-size:8px; }
.yj-agent-tool.has-value::after { content:""; position:absolute; right:5px; bottom:5px; width:3px; height:3px; border-radius:50%; background:#8bc6ff; box-shadow:0 0 5px rgba(91,175,255,.7); }
.yj-agent-tool { position:relative; }
.yj-agent-toast {
  position:fixed;
  z-index:350;
  left:50%;
  bottom:28px;
  transform:translate(-50%,12px);
  border:1px solid rgba(255,255,255,.1);
  border-radius:11px;
  background:#2b2b2b;
  box-shadow:0 12px 35px rgba(0,0,0,.32);
  padding:9px 13px;
  color:rgba(255,255,255,.86);
  font-size:10px;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease,transform .18s ease;
}
.yj-agent-toast.show { opacity:1; transform:translate(-50%,0); }
.yj-agent-style-browser-backdrop {
  position:fixed;
  z-index:1750;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.78);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  animation:yj-style-backdrop-in .18s ease;
}
.yj-agent-style-browser {
  display:grid;
  width:min(1080px,calc(100vw - 56px));
  height:min(720px,calc(100vh - 56px));
  grid-template-rows:auto minmax(0,1fr) auto;
  overflow:hidden;
  border:0;
  border-radius:20px;
  background:#252526;
  box-shadow:0 38px 120px rgba(0,0,0,.72);
  color:#f5f5f5;
  animation:yj-style-browser-in .22s cubic-bezier(.2,.8,.2,1);
}
.yj-agent-style-browser > header { display:grid; min-height:78px; grid-template-columns:1fr auto 36px; align-items:center; gap:20px; border-bottom:1px solid rgba(255,255,255,.075); padding:13px 20px; }
.yj-agent-style-browser > header > div { display:grid; gap:4px; }
.yj-agent-style-browser > header small { color:rgba(255,255,255,.38); font-size:9px; letter-spacing:.14em; }
.yj-agent-style-browser > header strong { font-size:17px; }
.yj-agent-style-browser > header nav { display:flex; gap:3px; border-radius:11px; background:rgba(255,255,255,.055); padding:3px; }
.yj-agent-style-browser > header nav button { height:34px; border:0; border-radius:8px; background:transparent; color:rgba(255,255,255,.5); padding:0 16px; font-size:11px; }
.yj-agent-style-browser > header nav button.is-selected { background:rgba(255,255,255,.16); color:#fff; }
.yj-agent-style-browser-close { display:grid; width:34px; height:34px; place-items:center; border:0; border-radius:9px; background:transparent; color:rgba(255,255,255,.7); }
.yj-agent-style-browser-close:hover { background:rgba(255,255,255,.08); color:#fff; }
.yj-agent-style-browser-close svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.55; stroke-linecap:round; }
.yj-agent-style-browser-grid { display:grid; min-height:0; grid-template-columns:repeat(4,minmax(0,1fr)); align-content:start; gap:16px; overflow:auto; padding:24px; }
.yj-agent-style-card { position:relative; display:grid; min-width:0; overflow:hidden; border:1px solid rgba(255,255,255,.075); border-radius:15px; background:#19191a; color:#fff; padding:0; text-align:left; transition:transform .16s ease,border-color .16s ease,background .16s ease; }
.yj-agent-style-card:hover { border-color:rgba(255,255,255,.28); background:#202021; transform:translateY(-2px); }
.yj-agent-style-card.is-selected { border-color:rgba(139,198,255,.65); box-shadow:0 0 0 1px rgba(139,198,255,.18); }
.yj-agent-style-card > img { width:100%; aspect-ratio:1.18/1; object-fit:cover; background:#303030; }
.yj-agent-style-card > small { position:absolute; top:10px; left:10px; border:1px solid rgba(255,255,255,.12); border-radius:999px; background:rgba(15,15,16,.7); padding:5px 8px; color:rgba(255,255,255,.7); font-size:8px; backdrop-filter:blur(7px); }
.yj-agent-style-card > span { display:grid; gap:5px; padding:13px 14px 15px; }
.yj-agent-style-card > span strong { overflow:hidden; font-size:13px; text-overflow:ellipsis; white-space:nowrap; }
.yj-agent-style-card > span small { color:rgba(255,255,255,.42); font-size:10px; }
.yj-agent-style-card > i { position:absolute; top:10px; right:10px; display:grid; width:25px; height:25px; place-items:center; border-radius:50%; background:#f2f2f2; color:#1b1b1c; }
.yj-agent-style-card > i svg { width:15px; height:15px; fill:none; stroke:currentColor; stroke-width:1.8; }
.yj-agent-style-browser > footer { min-height:42px; border-top:1px solid rgba(255,255,255,.065); padding:12px 22px; color:rgba(255,255,255,.4); font-size:10px; }
@keyframes yj-style-backdrop-in { from { opacity:0; } }
@keyframes yj-style-browser-in { from { opacity:0; transform:translateY(10px) scale(.985); } }
@keyframes yj-pop-in { from { opacity:0; transform:translateY(5px) scale(.985); } to { opacity:1; transform:none; } }

@media (max-width:1100px) {
  .yj-agent-home { width:min(500px,calc(100% - 56px)); }
  .yj-agent-panel { width:370px; }
  .yj-agent-style-browser-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.yj-agent-quote-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin:12px 0}.yj-agent-quote-fields label{display:grid;gap:3px;min-width:0;font-size:11px;color:#ccc}.yj-agent-quote-fields select{width:100%;min-width:0;color-scheme:dark;background:#242424;color:#f5f5f5;border:1px solid #555;border-radius:7px;padding:5px 6px;font:inherit}.yj-agent-quote-actions button:disabled{opacity:.55;cursor:default}
