/* Стили внешней ссылки (r1 R1.8): страница ссылки без входа, предпросмотр, строка в боковой колонке встречи и лист
   «Внешняя ссылка». Владелец — WP22; цвета только из theme.css. */

/* The page of a link: one column, the same on a phone. */
.sh-outpage { min-height: 100dvh; background: var(--background); color: var(--foreground); }
.sh-outwrap { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; }
.sh-outhead { display: flex; align-items: center; gap: 12px; height: 64px; border-bottom: 1px solid var(--border); }
.sh-outbrand { gap: 9px; }
.sh-outbrand .w-brand-mark { width: 24px; height: 24px; }
.sh-outbrand .w-brand-word { height: 15px; }
.sh-out { padding: 28px 0 0; font-size: 16px; line-height: 25px; }
.sh-out-kicker { margin: 0 0 4px; font-size: 13px; color: var(--muted-foreground); }
.sh-out-title { margin: 0; font-size: 26px; line-height: 32px; font-weight: 700; letter-spacing: -.3px; overflow-wrap: anywhere; }
.sh-out-meta { margin: 6px 0 0; color: var(--muted-foreground); }
.sh-out-given { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--sunken); font-size: 14px; line-height: 21px; color: var(--body); }
.sh-out-given .w-i { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--muted-foreground); }
.sh-blocks { display: flex; flex-direction: column; gap: 22px; margin-top: 24px; color: var(--body); }
.sh-out-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.sh-out-foot { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; line-height: 20px; color: var(--muted-foreground); }
.sh-out-foot p { margin: 0 0 4px; }
.sh-out-foot .sh-out-brand { margin-top: 12px; font-weight: 500; }
/* A link that does not open stands alone on the page (proto «Ссылку закрыли»): a large mark over the words, centred. */
.sh-outstate { padding: 48px 0 24px; }
.sh-outstate .w-state { flex-direction: column; align-items: center; gap: 16px; padding-top: 32px; text-align: center; }
.sh-outstate .w-state-ic { width: 64px; height: 64px; border-radius: 20px; }
.sh-outstate .w-state-ic .w-i { width: 28px; height: 28px; }
.sh-outstate .w-state-copy { max-width: 440px; }
.sh-outstate .w-state-copy b { font-size: 20px; line-height: 28px; font-weight: 600; }
.sh-outstate .w-state-copy p { margin-top: 8px; }

/* The preview in the sheet: the page as the reader sees it, in a frame. */
.sh-frame { border: 1px solid var(--border); border-radius: 16px; background: var(--background); padding: 20px; font-size: 15px; line-height: 23px; }
.sh-frame .sh-out-title { font-size: 22px; line-height: 28px; }
.sh-frame .rd-title { font-size: 15px; line-height: 22px; }

/* The line of «Доступ» of the meeting page. */
.sh-side .w-note { margin: 0; }
.sh-side-act { margin-top: 10px; }

.sh-who { display: flex; gap: 8px; align-items: flex-start; }
.sh-who .w-i { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--muted-foreground); }
.sh-sec { margin-top: 20px; }
.sh-sec > .w-h3 { margin: 0 0 6px; }
.sh-sec > .w-h3 label { font: inherit; color: inherit; }
.sh-sec > .w-note { margin: 6px 0 0; }
.sh-sec > .w-field-error { margin: 6px 0 0; }
.sh-checks { display: flex; flex-direction: column; gap: 2px; }
.sh-check { width: 100%; min-height: 40px; padding: 4px 0; }
.sh-check:disabled { opacity: .55; cursor: not-allowed; }
.sh-check-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sh-check-copy b { font-weight: 500; overflow-wrap: anywhere; }
.sh-check-copy small { font-size: 12px; line-height: 17px; color: var(--muted-foreground); overflow-wrap: anywhere; }
.sh-seg { display: flex; margin-bottom: 4px; }
.sh-seg .w-seg-btn { flex: 1; min-width: 0; }
.sh-sub { margin: 18px 0 4px; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted-foreground); }
.sh-link { padding: 10px 0; border-bottom: 1px solid var(--border); }
.sh-link:last-child { border-bottom: 0; }
.sh-link.is-off { opacity: .7; }
.sh-link.is-fresh { margin: 4px -12px; padding: 10px 12px; border: 1px solid var(--soon-border); border-radius: 14px; background: var(--soon-bg); }
.sh-link-main { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sh-link-main > .w-i { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted-foreground); }
.sh-link-copy { flex: 1 1 180px; min-width: 0; display: flex; flex-direction: column; }
.sh-link-copy b { font-weight: 500; overflow-wrap: anywhere; }
.sh-link-copy small { font-size: 12px; line-height: 17px; color: var(--muted-foreground); overflow-wrap: anywhere; }
.sh-link-acts { display: inline-flex; align-items: center; gap: 4px; flex-shrink: 0; margin-left: auto; }
.sh-badge { padding: 2px 8px; border-radius: 999px; background: var(--secondary); font-size: 12px; line-height: 18px; color: var(--muted-foreground); }
.sh-copy { margin-top: 10px; }
.sh-link .w-note { margin: 6px 0 0; }
.sh-hint { margin: 6px 0 0; font-size: 13px; line-height: 20px; color: var(--muted-foreground); }
.sh-foot-note { flex: 1; align-self: center; font-size: 13px; line-height: 18px; color: var(--muted-foreground); }

/* «Запретить внешние ссылки?» in the settings of the organization. */
.sh-confirm-list { margin: 10px 0 0; padding: 0 0 0 18px; font-size: 14px; line-height: 21px; color: var(--body); }
.sh-confirm-list li + li { margin-top: 4px; }

@media (max-width: 760px) {
  .sh-out-title { font-size: 22px; line-height: 28px; }
  .sh-check { min-height: 44px; }
  .sh-out-actions .w-btn { height: 44px; flex: 1 1 auto; }
}
