/* Structured Collaboration family bar, Send to menu and compact controls (register D53). Identical in every tool's repository.
   2.4.0 (with family.js 2.4.0): Help button and dialog, (i) explanations, Tools button on phones. */
.family { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; padding: 4px 20px; background: #1E4B55; font: 12px Arial, Helvetica, sans-serif; }
.family-name { font-weight: 800; letter-spacing: .1em; text-transform: uppercase; font-size: 10px; color: #A9C7C9; margin-right: 4px; }
.family a { font: inherit; color: #D7E6E7; text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; }
.family a:hover { color: #fff; }
.family a[aria-current="page"] { color: #fff; font-weight: 700; border-bottom-color: #fff; }
.family a.soon { opacity: .7; }
.family .display, .family .help-btn { margin-left: auto; }
.family .display + .help-btn, .family .help-btn ~ .reg, .family .help-btn ~ a.all { margin-left: 0; }
.family .help-btn, .family .more { all: unset; cursor: pointer; padding: 2px 8px; font-size: 13px; color: #fff; font-weight: 700; }
.family .help-btn:hover, .family .help-btn:focus-visible, .family .more:focus-visible { text-decoration: underline; }
.family .more { display: none; }
.family span.reg { color: #A9C7C9; }
.family a.reg { color: #fff; font-weight: 700; }
dialog.sc-reg { max-width: 460px; width: calc(100% - 32px); border: 1px solid #C9B9A3; border-radius: 4px; padding: 20px 22px; font: 14px/1.5 Arial, Helvetica, sans-serif; color: #201E1D; box-shadow: 0 12px 40px rgba(32, 30, 29, .2); }
dialog.sc-reg::backdrop { background: rgba(32, 30, 29, .45); }
dialog.sc-reg h2 { font: 400 22px Georgia, serif; margin: 0 0 8px; }
dialog.sc-reg p { margin: 0 0 10px; color: #4A4541; }
dialog.sc-reg .sc-fine { font-size: 12.5px; color: #706A64; }
dialog.sc-reg .sc-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.sendto { position: relative; display: inline-flex; }
.send-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 40; width: 380px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid #C9B9A3; border-radius: 4px; box-shadow: 0 8px 24px rgba(32, 30, 29, .16); padding: 6px 0; text-align: left; }
.sm-head { padding: 6px 14px 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #4F7A80; }
.sm-note { padding: 2px 14px 6px; font-size: 12px; color: #706A64; line-height: 1.4; }
.sm-item { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 14px; cursor: pointer; font-size: 13px; color: #201E1D; }
.sm-item:hover, .sm-item:focus-visible { background: #F1EADF; }
.sm-rank { width: 20px; flex: none; font-family: Georgia, serif; font-size: 15px; color: #1E4B55; text-align: center; }
.sm-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sm-text b { font-weight: 600; display: block; }
.sm-text small { display: block; color: #706A64; font-size: 12px; white-space: normal; }
.sm-tag { flex: none; font-size: 11.5px; font-weight: 600; color: #1E4B55; }
.sm-sep { border-top: 1px solid #E2D8C8; margin: 6px 0; }
dialog.sc-chg { max-width: 560px; }
.sc-chg-list { list-style: none; margin: 0 0 10px; padding: 0; max-height: 50vh; overflow: auto; border-top: 1px solid #E2D8C8; }
.sc-chg-list li { padding: 7px 0; border-bottom: 1px solid #E2D8C8; font-size: 13.5px; }
.sc-chg-list small { display: block; color: #706A64; font-size: 12px; }
.sc-note { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); background: #1E4B55; color: #fff; padding: 10px 16px; font: 13.5px/1.4 Arial, Helvetica, sans-serif; box-shadow: 0 8px 24px rgba(32, 30, 29, .2); }
.sc-note[hidden] { display: none; }
@media (max-width: 760px) { .family { padding: 4px 12px; gap: 2px 10px; } .family a.soon { display: none; } }
/* phones: the tool links fold behind Tools; the current tool, Help, the account and All tools stay */
@media (max-width: 640px) {
  .family-name { display: none; }
  .family .more { display: inline-flex; padding-left: 0; }
  .family .more::after { content: ""; margin-left: 6px; align-self: center; border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0; }
  .family.open .more::after { border-top: 0; border-bottom: 4px solid currentColor; }
  .family > a:not([aria-current]):not(.reg):not(.all) { display: none; }
  .family.open > a:not(.soon), #family.open > a:not(.soon) { display: inline-flex; flex: 0 0 44%; }
  .family .display, nav#family .display { display: none; }
  .family.open .display, nav#family.open .display { display: inline-flex; }
}
/* help on demand: explanations folded into an (i) when the person turns them off */
.sc-i { display: none; box-sizing: border-box; align-items: center; justify-content: center; width: 18px; height: 18px; margin: 0 0 0 6px; padding: 0; border: 1.5px solid #4F7A80; border-radius: 50%; background: transparent; color: #1E4B55; font: italic 700 11px/1 Georgia, serif; cursor: pointer; vertical-align: 2px; flex: none; }
.sc-i:hover, .sc-i:focus-visible, .sc-i[aria-expanded="true"] { background: #1E4B55; border-color: #1E4B55; color: #fff; outline: none; }
html[data-help="off"] .sc-i, .sc-i.sc-i-always { display: inline-flex; }
html[data-help="off"] .sc-x { display: none !important; }
html[data-display="night"] .sc-i { border-color: #A9C7C9; color: #A9C7C9; }
.sc-pop { position: absolute; z-index: 80; box-sizing: border-box; background: #fff; color: #201E1D; border: 1px solid #C9B9A3; border-left: 3px solid #1E4B55; box-shadow: 0 8px 24px rgba(32, 30, 29, .18); padding: 10px 12px; font: 13px/1.45 Arial, Helvetica, sans-serif; text-align: left; text-transform: none; letter-spacing: 0; font-weight: 400; }
.sc-pop[hidden] { display: none; }
.sc-pop * { font-size: inherit; color: inherit; margin: 0; }
dialog.sc-help { max-width: 560px; }
.sc-help-list { margin: 4px 0 12px; max-height: 52vh; overflow: auto; }
.sc-help-list dt { font-weight: 700; margin-top: 10px; color: #1E4B55; }
.sc-help-list dd { margin: 2px 0 0; color: #4A4541; }
.sc-help-links { font-size: 13px; }
.sc-help-switch { display: flex; gap: 10px; align-items: flex-start; border-top: 1px solid #E2D8C8; padding-top: 12px; margin-top: 4px; cursor: pointer; }
.sc-help-switch input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.sc-help-switch small { display: block; color: #706A64; font-size: 12.5px; font-weight: 400; }
html[data-display="night"] .sc-pop, html[data-display="night"] dialog.sc-reg { background: #292827; color: #F1ECE4; border-color: #5A5652; }
html[data-display="night"] dialog.sc-reg p, html[data-display="night"] .sc-help-list dd { color: #D5CEC4; }
html[data-display="night"] .sc-help-list dt { color: #A9C7C9; }
@media print { .family, .sendto, .sc-note, .sc-i, .sc-pop { display: none !important; } html[data-help="off"] .sc-x { display: block !important; } }
