/* flow1b: locations, words, when. One skeleton for all three: the lesson on the left, her lock screen on the right. */
.fb-lay { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; height: 100%; }
.fb-main { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding-bottom: 12px; }
.fb-side { display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.fb-side .notif > div { min-width: 0; overflow-wrap: anywhere; }

/* locations */
.fb-loc-code { position: relative; font-size: 17.5px; line-height: 24px; padding: 14px 0; }
.fb-loc-rt { display: inline-block; max-width: 50ch; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; color: #000; font-weight: 700; }
.fb-loc-near { position: absolute; right: 28px; top: 14px; width: 156px; font-family: var(--sans); }
.fb-loc-near > span { display: block; height: 24px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.fb-loc-st { display: flex; align-items: center; gap: 10px; width: 100%; height: 46px; margin-bottom: 2px; padding: 0 0 22px; border: 0; background: none; font-size: 19px; color: var(--grey); cursor: pointer; }
.fb-loc-st::before { content: ""; width: 11px; height: 11px; border: 1px solid #9a9a9a; background: #fff; flex: none; }
.fb-loc-st:hover { color: #000; }
.fb-loc-st.fb-on { color: var(--blue); font-weight: 600; }
.fb-loc-st.fb-on::before { background: var(--blue); border-color: var(--blue); }
.fb-loc-try { display: flex; align-items: center; gap: 18px; height: 46px; padding: 0 28px; border: 1px solid var(--line); border-top: 0; font-size: 19px; color: var(--grey); }
.fb-loc-try input { flex: 1; min-width: 0; font: inherit; font-size: 20px; color: #000; background: none; border: 0; border-bottom: 1px solid #bdbdbd; border-radius: 0; padding: 5px 0; outline: 0; }
.fb-loc-try input:focus { border-color: var(--blue); box-shadow: 0 1px 0 var(--blue); }
.fb-loc-try span { font-variant-numeric: tabular-nums; }
.fb-loc-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 36px; align-items: start; }
.fb-loc-facts .note:last-child { grid-column: 1 / -1; }
.fb-loc-facts .note { font-size: 20px; line-height: 1.36; border-color: var(--line); transition: opacity .28s, border-color .2s; }
.fb-loc-facts .note.fb-on { border-color: var(--blue); }
.fb-loc-facts code { font-family: var(--mono); font-size: .9em; color: #000; }

/* words */
.fb-wd-cols { display: grid; grid-template-columns: 590fr 370fr; gap: 40px; }
.fb-wd-cols > div { display: flex; flex-direction: column; }
.fb-wd-cols h3 { font-size: 23px; letter-spacing: -.02em; padding-bottom: 12px; border-bottom: 1px solid #000; }
.fb-wd-l { position: relative; display: flex; flex-direction: column; justify-content: flex-start; flex: 1; width: 100%; padding: 9px 12px 10px 46px; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; transition: background .2s; }
.fb-wd-l span { display: block; font-size: 22px; line-height: 1.28; color: #000; }
.fb-wd-l small { display: block; font-size: 15px; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); }
.fb-wd-bad small { font-size: 19px; line-height: 1.32; letter-spacing: 0; text-transform: none; color: var(--grey); margin-top: 3px; }
.fb-wd-l::before { content: ""; position: absolute; left: 14px; top: 35px; width: 15px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.fb-wd-bad .fb-wd-l::before { top: 23px; width: 17px; height: 0; border-left: 0; border-color: var(--bad); transform: none; }
.fb-wd-l:hover { background: var(--panel); }
.fb-wd-l.fb-on { background: var(--blue-tint); box-shadow: inset 3px 0 0 var(--blue); }
.fb-wd-rules { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; padding-top: 16px; border-top: 1px solid #000; }
.fb-wd-rules strong { font-size: 23px; letter-spacing: -.02em; }

/* when */
.fb-wn-two { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.fb-wn-two p { font-size: 21px; line-height: 1.38; }
.fb-wn-two strong { display: block; text-wrap: balance; font-size: 25px; line-height: 1.18; letter-spacing: -.02em; margin-bottom: 8px; }
.fb-wn-cap { display: flex; justify-content: space-between; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); margin-bottom: 10px; }
.fb-wn-band { position: relative; display: flex; align-items: center; height: 96px; padding: 0 24px; background: var(--panel); font-size: 26px; font-weight: 600; letter-spacing: -.01em; color: #000; }
.fb-wn-diwali { position: absolute; inset: 0 0 0 67.857%; display: flex; align-items: center; padding: 0 20px; background: var(--blue); color: #fff; font-size: 21px; line-height: 1.22; opacity: 0; transition: opacity .4s; }
.fb-on .fb-wn-diwali { opacity: 1; }
.fb-wn-days { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid #000; }
.fb-wn-days button { height: 46px; padding: 0; border: 0; border-left: 1px solid var(--line); background: #fff; font-size: 20px; color: var(--grey); cursor: pointer; }
.fb-wn-days button:first-child { border-left-color: transparent; }
.fb-wn-days button:hover { color: #000; background: var(--panel); }
.fb-wn-days button.fb-on { background: var(--blue); color: #fff; box-shadow: inset 0 2px 0 #fff; }
.fb-wn-marks { position: relative; height: 62px; }
.fb-wn-m { position: absolute; top: -47px; padding: 57px 12px 0 0; border-right: 2px solid var(--blue); font-size: 19px; line-height: 1.3; text-align: right; pointer-events: none; opacity: 0; transition: opacity .4s; }
.fb-wn-m strong { display: block; color: var(--blue); }
.fb-on .fb-wn-m { opacity: 1; }
.fb-wn-foot { padding: 18px 24px; font-size: 20px; line-height: 1.38; }
