:root {
  --reference-rail: 240px;
  --reference-right: 330px;
  --reference-gap: 22px;
  --reference-cyan: #23d7ff;
  --reference-blue: #276cff;
  --reference-surface: rgba(7, 16, 31, 0.84);
  --reference-line: rgba(102, 175, 220, 0.14);
}

body.reference-shell-active {
  display: block;
  min-width: 320px;
  background:
    radial-gradient(circle at 49% 34%, rgba(0, 109, 166, 0.11), transparent 31rem),
    radial-gradient(circle at 84% 10%, rgba(37, 72, 139, 0.08), transparent 25rem),
    #030812;
  color: #e8f3ff;
}

.reference-shell-active .ambient { opacity: 0.16; }

.reference-shell-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 42;
  display: flex;
  width: var(--reference-rail);
  padding: 24px 16px 18px;
  flex-direction: column;
  border-right: 1px solid rgba(111, 169, 217, 0.12);
  background: linear-gradient(180deg, rgba(7, 15, 29, 0.98), rgba(3, 9, 19, 0.99));
  box-shadow: 18px 0 46px rgba(0, 0, 0, 0.16);
}

.reference-brand {
  display: flex;
  min-height: 52px;
  padding: 0 9px;
  align-items: center;
  gap: 12px;
}

.reference-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(61, 213, 255, 0.48);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(30, 211, 255, 0.18), rgba(39, 102, 255, 0.1));
  box-shadow: 0 0 22px rgba(20, 189, 255, 0.1), inset 0 0 18px rgba(21, 204, 255, 0.06);
  color: #84eaff;
  font-size: 20px;
  font-weight: 700;
}

.reference-brand strong,
.reference-user strong {
  display: block;
  color: #eff8ff;
  font-size: 15px;
  line-height: 1.25;
}

.reference-brand small,
.reference-user small {
  display: block;
  margin-top: 3px;
  color: #637d96;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.reference-nav-list {
  display: grid;
  margin-top: 42px;
  gap: 7px;
}

.reference-nav-item {
  display: flex;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  align-items: center;
  gap: 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #7c94ac;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.reference-nav-item svg,
.reference-rail-toggle svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reference-nav-item:hover,
.reference-nav-item:focus-visible {
  color: #d9efff;
  border-color: rgba(59, 175, 255, 0.15);
  background: rgba(31, 113, 185, 0.08);
}

.reference-nav-item:active { transform: translateY(1px); }

.reference-nav-item.is-active {
  color: #66ddff;
  border-color: rgba(38, 174, 255, 0.22);
  background: linear-gradient(90deg, rgba(27, 112, 222, 0.22), rgba(14, 69, 128, 0.08));
  box-shadow: inset 3px 0 0 #25c8ff, 0 8px 30px rgba(0, 94, 180, 0.08);
}

.reference-nav-item:disabled {
  color: #415466;
  cursor: default;
  opacity: 0.58;
}

.reference-nav-item:disabled:hover {
  border-color: transparent;
  background: transparent;
}

.reference-nav-footer {
  display: grid;
  margin-top: auto;
  gap: 16px;
}

.reference-user {
  display: flex;
  min-width: 0;
  padding: 15px 8px 1px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(111, 169, 217, 0.1);
}

.reference-user > span:last-child { min-width: 0; }
.reference-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reference-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(79, 169, 232, 0.26);
  border-radius: 50%;
  background: rgba(22, 77, 128, 0.28);
  color: #9adfff;
  font-size: 12px;
  font-weight: 700;
}

.reference-shell-active .topbar {
  position: fixed;
  inset: 0 0 auto var(--reference-rail);
  z-index: 35;
  height: 72px;
  padding: 0 25px;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(111, 169, 217, 0.08);
  background: linear-gradient(180deg, rgba(3, 8, 18, 0.96), rgba(3, 8, 18, 0.65));
  backdrop-filter: blur(18px);
}

.reference-shell-active .topbar .brand,
.reference-shell-active .topbar .mobile-sidebar-toggle { display: none !important; }

.reference-shell-active .topbar-status { gap: 9px; }
.reference-shell-active .topbar-status #brainSyncStatus,
.reference-shell-active .topbar-status #authorityStage,
.reference-shell-active .topbar-status .desktop-update-button,
.reference-shell-active .topbar-status .mobile-app-link,
.reference-shell-active .topbar-status time { display: none !important; }

.reference-shell-active #systemStatus {
  min-height: 29px;
  padding: 0 11px;
  border-color: rgba(58, 199, 255, 0.18);
  background: rgba(6, 22, 37, 0.75);
  color: #86b9cf;
  font-size: 10px;
  letter-spacing: 0.045em;
}

.reference-shell-active #accountButton {
  width: 36px;
  height: 36px;
  padding: 0;
  border-color: rgba(72, 169, 230, 0.2);
  border-radius: 50%;
  background: rgba(12, 39, 64, 0.52);
}

.reference-shell-active #accountButton > :not(.account-avatar):not(.account-request-badge) { display: none; }

.reference-shell-active .workspace {
  display: grid;
  height: 100vh;
  height: 100dvh;
  min-height: 0;
  margin-left: var(--reference-rail);
  padding: 88px 22px 20px;
  grid-template-columns: minmax(0, 1fr) var(--reference-right);
  grid-template-rows: minmax(0, 1fr);
  gap: var(--reference-gap);
  align-items: stretch;
}

.reference-shell-active .center-stage {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: auto minmax(180px, 0.72fr) minmax(320px, 1fr);
  gap: 10px;
  overflow: hidden;
}

.reference-hero-heading {
  display: flex;
  min-height: 53px;
  padding: 0 10px;
  align-items: flex-start;
  justify-content: space-between;
}

.reference-hero-heading h1 {
  margin: 0;
  color: #f0f8ff;
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 580;
  letter-spacing: -0.035em;
  line-height: 1;
}

.reference-hero-heading p {
  margin: 9px 0 0;
  color: #698299;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.reference-rail-toggle {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--reference-line);
  border-radius: 10px;
  background: rgba(9, 25, 43, 0.84);
  color: #79dfff;
}

.reference-shell-active .orb-zone {
  container-type: size;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(70, 161, 210, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at center, rgba(0, 106, 156, 0.09), transparent 58%),
    linear-gradient(180deg, rgba(4, 12, 23, 0.16), rgba(2, 8, 16, 0.04));
  background-color: #030812;
}

.reference-shell-active .orb-zone::before,
.reference-shell-active .orb-zone::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  width: min(86cqw, 86cqh, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(32, 181, 242, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reference-shell-active .orb-zone::before {
  background: radial-gradient(circle closest-side,
    transparent 85.5%, rgba(29, 144, 198, 0.12) 85.7% 86%, transparent 86.2% 92%,
    rgba(29, 144, 198, 0.12) 92.2% 92.5%, transparent 92.7%);
  box-shadow: none;
}

.reference-shell-active .orb-zone::after {
  width: min(80cqw, 80cqh, 590px);
  border-color: transparent;
  background: repeating-conic-gradient(from 0deg, rgba(28, 182, 239, 0.23) 0deg 0.35deg, transparent 0.35deg 3deg);
  mask-image: radial-gradient(circle, transparent 68%, #000 68.3%, #000 69.1%, transparent 69.4%);
}

.reference-shell-active .herman-head-stage {
  inset: 2% 10% 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  opacity: 1;
  transform: none;
  mix-blend-mode: screen;
  border: 0;
  border-radius: 0;
  background: transparent;
  filter: drop-shadow(0 0 24px rgba(23, 196, 255, 0.12));
}

.reference-shell-active .herman-head-poster {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 91%;
  height: 90%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reference-shell-active .herman-head-ready .herman-head-poster { display: none; }

.reference-shell-active .orb-zone.herman-mask-v3-ready .herman-head-stage {
  background: transparent;
}

.reference-shell-active .herman-head-stage canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  mix-blend-mode: screen;
}

/* Blend the whole rendering layer so the source image's black matte disappears. */
.reference-shell-active .orb-zone.herman-head-ready .herman-head-stage,
.reference-shell-active .orb-zone.herman-mask-v3-ready .herman-head-stage {
  background: transparent;
  mix-blend-mode: screen;
  filter: none;
}

/* The workspace is positioned independently of the original body grid. */
.reference-shell-active > .footer {
  position: fixed;
  inset: auto 0 0 var(--reference-rail);
  z-index: 3;
  display: flex;
  height: 22px;
  min-height: 0;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  font-size: 9px;
  pointer-events: none;
}

.reference-shell-active:has(#authGate:not([hidden])) .reference-shell-nav {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 760px) {
  .reference-shell-active > .footer { left: 0; }
}

.reference-shell-active .herman-head-scan { opacity: 0.11; }
.reference-shell-active .herman-head-vignette { opacity: 0.28; }

.reference-shell-active .orb-zone.herman-head-ready .orbit {
  z-index: 0;
  border-color: rgba(37, 192, 255, 0.12);
  box-shadow: none;
  opacity: 0.58;
}

.reference-shell-active .orbit::before,
.reference-shell-active .orbit::after {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 9px rgba(67, 218, 255, 0.55);
}

.reference-shell-active .orb-zone.herman-head-ready .orbit-one { width: min(41vw, 520px); height: min(22vw, 286px); }
.reference-shell-active .orb-zone.herman-head-ready .orbit-two { width: min(49vw, 620px); height: min(26vw, 332px); }
.reference-shell-active .orb-zone.herman-head-ready .orbit-three { width: min(58vw, 730px); height: min(30vw, 382px); }

.reference-shell-active .orb-zone .orb-state {
  inset: 15px auto auto 18px !important;
  width: auto;
  min-height: 28px;
  padding: 0 12px 0 24px;
  border: 1px solid rgba(37, 211, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 22, 35, 0.75);
  color: #75c7da;
  font-size: 10px;
  line-height: 27px;
  letter-spacing: 0.04em;
  text-transform: none;
  backdrop-filter: blur(9px);
}

.reference-shell-active .orb-state::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #28dcff;
  box-shadow: 0 0 8px #28dcff;
}

.reference-shell-active .orb-zone .orb-hint {
  left: 20px !important;
  right: auto !important;
  bottom: 14px !important;
  width: auto !important;
  max-width: 70%;
  color: #526f84;
  font-size: 10px;
  text-align: left;
}

.reference-shell-active .orb-zone .jarvis-orb {
  left: auto;
  right: 18px;
  top: auto;
  bottom: 15px;
  width: 42px;
  height: 42px;
  transform: none;
  border-color: rgba(56, 205, 255, 0.25);
  background: rgba(5, 25, 40, 0.82);
  box-shadow: 0 0 22px rgba(34, 186, 255, 0.12);
}

.reference-shell-active .orb-zone .jarvis-orb { transform: none; }

.reference-shell-active .chat-shell {
  height: 100%;
  max-height: none;
  min-height: 0;
  padding: 10px 12px 12px;
  border: 1px solid var(--reference-line);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(8, 18, 32, 0.88), rgba(5, 13, 25, 0.94));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.14);
}

.reference-shell-active .chat-toolbar {
  min-height: 38px;
  padding: 2px 2px 8px;
  gap: 7px;
  flex-wrap: nowrap;
  border-bottom-color: rgba(105, 167, 207, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}

.reference-shell-active .chat-toolbar::-webkit-scrollbar { display: none; }
.reference-shell-active .chat-toolbar select,
.reference-shell-active .chat-toolbar button,
.reference-shell-active .chat-toolbar .toggle {
  min-height: 30px;
  font-size: 9px;
  white-space: nowrap;
}

.reference-shell-active .chat-toolbar .mode-switch label { font-size: 8px; }
.reference-shell-active .messages { min-height: 0; padding: 14px 9px 16px; }

.reference-shell-active .message {
  max-width: 94%;
  border-color: rgba(76, 155, 205, 0.1);
  background: rgba(7, 22, 38, 0.66);
}

.reference-shell-active .composer {
  min-height: 58px;
  margin: 0;
  padding: 8px;
  gap: 8px;
  border: 1px solid rgba(55, 176, 235, 0.17);
  border-radius: 14px;
  background: rgba(3, 12, 23, 0.88);
  box-shadow: 0 0 0 1px rgba(9, 70, 112, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.015);
}

.reference-shell-active .composer textarea {
  min-height: 40px;
  padding: 10px 6px;
  background: transparent;
  color: #dceeff;
  font-size: 12px;
}

.reference-shell-active .composer textarea::placeholder { color: #526c83; }
.reference-shell-active .composer .send-button {
  min-width: 92px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d8eff, #2163df);
  box-shadow: 0 7px 22px rgba(25, 112, 233, 0.18);
}

.reference-shell-active #leftSidebar {
  position: relative;
  inset: auto;
  display: block;
  width: auto;
  min-width: 0;
  height: fit-content;
  min-height: 0;
  max-height: none;
  padding: 18px;
  grid-column: 2;
  grid-row: 1;
  overflow: visible;
  border: 1px solid var(--reference-line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 19, 35, 0.92), rgba(5, 13, 25, 0.94));
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.16);
  transform: none;
}

.reference-shell-active #leftSidebar > :not(.panel-heading):not(.metrics-grid) { display: none !important; }

.reference-shell-active #leftSidebar .panel-heading {
  min-height: 38px;
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}

.reference-shell-active #leftSidebar .panel-heading > span {
  color: #b9d8eb;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.reference-shell-active #leftSidebar .panel-heading-meta { gap: 6px; }
.reference-shell-active #snapshotDate { display: none; }
.reference-shell-active #bitrixStatus { max-width: 112px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.reference-shell-active #leftSidebar .metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.reference-shell-active #leftSidebar .metric-card {
  min-height: 78px;
  padding: 13px;
  border-color: rgba(71, 160, 210, 0.11);
  border-radius: 12px;
  background: rgba(6, 20, 34, 0.68);
}

.reference-shell-active #leftSidebar .metric-card strong { font-size: 23px; color: #d9f3ff; }
.reference-shell-active #leftSidebar .metric-card span { color: #66839a; font-size: 9px; }
.reference-shell-active #leftSidebar .metric-card.accent { background: rgba(10, 45, 68, 0.58); }

.reference-shell-active #leftSidebar #leadMetricCard {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.reference-shell-active #leftSidebar #leadMetricCard span { font-size: 12px; }
.reference-shell-active #leftSidebar #leadMetricCard strong { font-size: 29px; color: #74e5c7; }

.reference-shell-active #rightSidebar { display: none !important; }

/* Floating task panels must not create a stretched grid item above the chat. */
.reference-shell-active .assigned-inbox-host {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.reference-shell-active .assigned-inbox-card,
.reference-shell-active .assigned-inbox-dialog {
  pointer-events: auto;
}

.reference-shell-active .assigned-inbox-card {
  left: auto;
  right: 22px;
  top: 338px;
  width: var(--reference-right);
  max-height: min(470px, calc(100vh - 360px));
  border-color: rgba(82, 170, 221, 0.15);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(8, 19, 35, 0.98), rgba(5, 13, 25, 0.99));
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.32);
}

.reference-shell-active .assigned-inbox-header { min-height: 48px; }
.reference-shell-active .assigned-inbox-drag-handle { cursor: grab; }
.reference-shell-active .assigned-inbox-drag-handle:active { cursor: grabbing; }
.reference-shell-active .assigned-inbox-drag-handle > span:last-child:not(.assigned-inbox-grip) { display: none !important; }
.reference-shell-active .assigned-inbox-grip { opacity: 0.58; }

.reference-shell-active .assigned-inbox-open {
  right: 20px;
  bottom: 20px;
  border-color: rgba(49, 190, 255, 0.22);
  background: rgba(6, 31, 50, 0.94);
  color: #8ddaff;
}

@media (max-width: 1280px) {
  :root { --reference-rail: 88px; --reference-right: 300px; --reference-gap: 15px; }
  .reference-shell-nav { padding-inline: 11px; }
  .reference-brand { justify-content: center; padding: 0; }
  .reference-brand > span:last-child,
  .reference-nav-item > span,
  .reference-user > span:last-child { display: none; }
  .reference-nav-item { justify-content: center; padding: 0; }
  .reference-user { justify-content: center; padding-inline: 0; }
  .reference-shell-active .workspace { padding-inline: 16px; }
}

@media (max-width: 980px) {
  :root { --reference-rail: 0px; --reference-right: 280px; }
  .reference-shell-nav {
    width: min(240px, calc(100vw - 46px));
    transform: translateX(-102%);
    transition: transform 180ms ease;
  }
  .reference-nav-open .reference-shell-nav { transform: translateX(0); }
  .reference-shell-active .topbar { left: 0; height: 64px; padding-inline: 15px; }
  .reference-shell-active .workspace {
    margin-left: 0;
    padding: 76px 13px 15px;
    grid-template-columns: minmax(0, 1fr) var(--reference-right);
  }
  .reference-rail-toggle { display: grid; }
}

/* Keep the conversation readable on laptop screens and at increased display scaling. */
@media (min-width: 761px) and (max-height: 720px) {
  .reference-shell-active .center-stage { grid-template-rows: auto minmax(130px, 0.50fr) minmax(230px, 1fr); }
}

@media (max-width: 760px) {
  body.reference-shell-active { height: auto; min-height: 100dvh; overflow-y: auto; }
  .reference-shell-active .workspace {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .reference-shell-active .center-stage {
    min-height: auto;
    grid-template-rows: auto clamp(180px, 30svh, 280px) minmax(380px, auto);
    overflow: visible;
  }
  .reference-shell-active #leftSidebar {
    display: none;
  }
  .reference-shell-active .orb-zone { min-height: 0; }
  .reference-shell-active .orb-zone.herman-head-ready .orbit-one { width: 78vw; height: 42vw; }
  .reference-shell-active .orb-zone.herman-head-ready .orbit-two { width: 94vw; height: 50vw; }
  .reference-shell-active .orb-zone.herman-head-ready .orbit-three { width: 110vw; height: 59vw; }
  .reference-shell-active .chat-shell { min-height: 380px; }
  .reference-shell-active .messages { max-height: 60svh; }
  .reference-shell-active .chat-toolbar { max-width: calc(100vw - 50px); }
  .reference-shell-active .assigned-inbox-card {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 92px);
  }
}

@media (max-width: 520px) {
  .reference-shell-active .topbar-status #systemStatus { display: none; }
  .reference-shell-active .workspace { padding-inline: 8px; }
  .reference-hero-heading { padding-inline: 6px; }
  .reference-shell-active .herman-head-stage { inset-inline: 1%; }
  .reference-shell-active .orb-hint { max-width: 62%; }
  .reference-shell-active .composer .send-button { min-width: 52px; font-size: 0; }
  .reference-shell-active .composer .send-button::after { content: "➜"; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reference-shell-nav,
  .reference-nav-item { transition: none; }
}

/* Personal chat controls remain available while the neural illustration is hidden. */
.reference-chat-controls{display:flex;justify-content:flex-end;gap:8px;padding:4px 12px 8px;flex:0 0 auto;grid-column:1/-1}
.reference-chat-controls[hidden],.reference-chat-resize[hidden]{display:none!important}
.reference-chat-controls button{border:1px solid rgba(112,180,218,.22);border-radius:8px;background:rgba(13,35,53,.85);color:#c9e4f5;padding:5px 9px;font:inherit;font-size:11px;cursor:pointer}
.reference-chat-resize{height:14px;min-height:14px;flex:0 0 14px;cursor:ns-resize;touch-action:none;display:grid;place-items:center;grid-column:1/-1}
.reference-chat-resize::after{content:"";width:52px;height:4px;background:#62859d;border-radius:8px}
.reference-chat-resize:hover::after,.reference-chat-resize:focus-visible::after{background:#b0e6ff}
:root[data-chat-full] .reference-chat-resize{display:none!important}
:root[data-chat-full] .reference-shell-active .center-stage{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
:root[data-chat-full] .reference-shell-active .orb-zone{display:none!important}
:root[data-chat-full] .reference-shell-active .chat-shell{grid-column:1;grid-row:2;height:100%;min-height:0;max-height:none}
@media(max-width:760px){
  :root[data-chat-full] .reference-shell-active .center-stage{height:calc(100dvh - 105px);min-height:400px}
  :root[data-chat-full] .reference-shell-active .chat-shell{min-height:0}
  :root[data-chat-full] .reference-shell-active .messages{max-height:none}
  .reference-chat-controls{flex-wrap:wrap}
}
.reference-shell-active .chat-shell{display:flex;flex-direction:column}
.reference-shell-active .chat-shell>.messages{flex:1 1 0;min-height:0;overflow-y:auto}
.reference-shell-active .chat-shell>.chat-toolbar,.reference-shell-active .chat-shell>.composer,.reference-shell-active .chat-shell>.image-attachment-preview{flex:0 0 auto}
