.case-identity {
  box-sizing: border-box; width: min(410px, calc(100% - 28px)); max-height: calc(100dvh - 32px);
  overflow: auto; padding: 25px; margin: auto; border: 1px solid #cbcfc7; border-radius: 20px;
  color: #203930; background: #fffef9; box-shadow: 0 20px 80px #18382a24;
  text-align: left; font-family: inherit;
}
.case-identity::backdrop { background: #10251e78; }
.case-identity * { box-sizing: border-box; }
.case-identity [hidden] { display: none !important; }
.ci-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ci-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #eaf1e7; color: #30583e; font: 25px Georgia, serif; }
.case-identity button { cursor: pointer; border: 0; font-family: inherit; }
.ci-head button { width: 44px; height: 44px; font-size: 26px; background: transparent; color: #58645b; }
.case-identity h2 { margin: 0 0 8px; font-size: 25px; font-weight: 750; letter-spacing: -.055em; }
.ci-copy,.ci-note,.ci-error { line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.ci-copy { font-size: 15px; color: #53625b; margin: 0 0 20px; }
.case-identity form { display: grid; gap: 12px; margin: 0; }
.case-identity label { display: grid; gap: 5px; font-weight: 650; font-size: 14px; }
.case-identity input { width: 100%; border: 1px solid #a7b2a9; color: #1b3027; background: white; border-radius: 9px; font: inherit; font-size: 16px; height: 46px; padding: 0 12px; }
.case-identity :focus-visible { outline: 3px solid #718931; outline-offset: 2px; }
.ci-error { margin: 0; color: #973e28; font-size: 14px; }
.ci-error:empty { display:none; }
.ci-primary,.ci-guest,.ci-switch { display: block; width: 100%; border-radius: 10px; font-weight: 700; font-size: 15px; min-height: 46px; }
.ci-primary { background: #234f3b; color: white; }
.ci-switch { color: #315640; background: transparent; text-decoration: underline; text-underline-offset: 3px; margin-top: 4px; }
.ci-divider { height: 1px; background: #dce2d8; margin: 8px 0 16px; }
.ci-guest { background: #eaf0e6; color: #234f3b; }
.ci-note { font-size: 12px; margin: 12px 0 0; color: #57655a; }
.case-identity button:disabled { opacity: .65; cursor: wait; }
