body.app-shell .anamnesis-view-toolbar{
  display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 0;padding:16px 18px;
  border:1px solid #cbdde7;border-radius:14px;background:#f7fbfd;color:#526b7a;font-size:13px;line-height:1.45
}
body.app-shell .anamnesis-view-toolbar .button-link{flex:0 0 auto;width:auto;margin:0;white-space:nowrap}
body.app-shell .anamnesis-readonly input[readonly],
body.app-shell .anamnesis-readonly textarea[readonly],
body.app-shell .anamnesis-readonly select:disabled{
  opacity:1;background:#f7fafb;color:#123b5c;border-color:#d6e2e8;cursor:default;-webkit-text-fill-color:#123b5c
}
body.app-shell .anamnesis-finalize-panel,
body.app-shell .anamnesis-change-reason{
  display:grid;gap:10px;margin-top:22px;padding:18px;border:1px solid #cbdde7;border-radius:14px;background:#f4f9fb
}
body.app-shell .anamnesis-finalize-panel label{display:flex;align-items:flex-start;gap:10px;font-weight:800;color:#103a63}
body.app-shell .anamnesis-finalize-panel input{width:18px;height:18px;margin-top:1px;accent-color:#0d6f8d}
body.app-shell .anamnesis-finalize-panel small,
body.app-shell .anamnesis-change-reason p{margin:0;color:#607887;font-size:12px;line-height:1.5}
body.app-shell .anamnesis-change-reason h2{margin:0;color:#103a63;font-size:18px}
body.app-shell .anamnesis-change-reason label{display:grid;gap:7px;color:#103a63;font-weight:800}
body.app-shell .anamnesis-change-reason select,
body.app-shell .anamnesis-change-reason textarea{width:100%;border:1px solid #cbdde7;border-radius:10px;background:#fff;color:#103a63;font:inherit;padding:12px}
body.app-shell .anamnesis-version-history{
  margin-top:18px;border:1px solid #cbdde7;border-radius:16px;background:#fff;box-shadow:0 8px 22px rgba(22,68,88,.05);overflow:hidden
}
body.app-shell .anamnesis-version-history>summary{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;cursor:pointer;color:#103a63;font-weight:850;list-style:none
}
body.app-shell .anamnesis-version-history>summary::-webkit-details-marker{display:none}
body.app-shell .anamnesis-version-history>summary:after{content:'+';display:grid;place-items:center;width:28px;height:28px;margin-left:auto;border-radius:50%;background:#eaf2f7;font-size:19px}
body.app-shell .anamnesis-version-history[open]>summary:after{content:'−'}
body.app-shell .anamnesis-version-history>summary b{color:#607887;font-size:12px}
body.app-shell .anamnesis-version-list{border-top:1px solid #d9e5eb;padding:0 20px}
body.app-shell .anamnesis-version-list article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 0;border-bottom:1px solid #e1eaee}
body.app-shell .anamnesis-version-list article:last-child{border-bottom:0}
body.app-shell .anamnesis-version-list .anamnesis-history-meta{display:grid;gap:4px;min-width:0}
body.app-shell .anamnesis-version-list .anamnesis-history-meta span,
body.app-shell .anamnesis-version-list .anamnesis-history-meta small{color:#607887;font-size:12px;line-height:1.45}
body.app-shell .anamnesis-version-list .button-link{width:auto;flex:0 0 auto;margin:0}
body.app-shell .anamnesis-ai-launch{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-top:18px;padding:22px;
  border:1px solid #bfd8e4;border-radius:16px;background:linear-gradient(135deg,#fff 0%,#f2f9fc 100%);box-shadow:0 10px 26px rgba(12,63,91,.07)
}
body.app-shell .anamnesis-ai-launch-icon{
  display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,#123f68,#13819b);color:#f2c45f;
  box-shadow:0 7px 18px rgba(13,80,111,.18);font-size:25px
}
body.app-shell .anamnesis-ai-launch-copy{display:grid;gap:6px;min-width:0}
body.app-shell .anamnesis-ai-launch-copy .eyebrow{color:#c48b28;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body.app-shell .anamnesis-ai-launch-copy h2{margin:0;color:#103a63;font-size:21px;line-height:1.2}
body.app-shell .anamnesis-ai-launch-copy p{max-width:820px;margin:0;color:#526f7f;font-size:13px;line-height:1.55}
body.app-shell .anamnesis-ai-features{display:flex;flex-wrap:wrap;gap:7px;margin-top:4px}
body.app-shell .anamnesis-ai-features span{padding:5px 9px;border:1px solid #cbdde7;border-radius:999px;background:#fff;color:#355d73;font-size:11px;font-weight:800}
body.app-shell .anamnesis-ai-launch-action{display:grid;justify-items:stretch;gap:7px;min-width:210px}
body.app-shell .anamnesis-ai-launch-action button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:12px 18px;border:0;border-radius:10px;background:linear-gradient(135deg,#0f4d78,#117e98);color:#fff;font-weight:850;cursor:pointer;box-shadow:0 8px 18px rgba(12,83,116,.16)}
body.app-shell .anamnesis-ai-launch-action button:hover{filter:brightness(1.04)}
body.app-shell .anamnesis-ai-launch-action button:disabled{cursor:wait;opacity:.84}
body.app-shell .anamnesis-ai-launch-action button i{display:none;width:15px;height:15px;border:2px solid rgba(255,255,255,.45);border-top-color:#fff;border-radius:50%}
body.app-shell .anamnesis-ai-launch-action button.is-loading i{display:block;animation:zanuto-ai-spin .8s linear infinite}
body.app-shell .anamnesis-ai-launch-action small{text-align:center;color:#68808e;font-size:11px}
body.app-shell .anamnesis-outdated-badge{display:inline-flex;margin-left:8px;padding:3px 7px;border-radius:999px;background:#fff1d6;color:#9b6410;font-size:10px;font-style:normal;vertical-align:middle}
@keyframes zanuto-ai-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){
  body.app-shell .anamnesis-view-toolbar,body.app-shell .anamnesis-version-list article{align-items:stretch;flex-direction:column}
  body.app-shell .anamnesis-view-toolbar .button-link,body.app-shell .anamnesis-version-list .button-link{width:100%;justify-content:center}
  body.app-shell .anamnesis-ai-launch{grid-template-columns:1fr;align-items:start}
  body.app-shell .anamnesis-ai-launch-action{min-width:0;width:100%}
}
