File size: 9,932 Bytes
78e352d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3575a1e
 
 
 
 
 
 
78e352d
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
/* MIS 752 Lab 8 Lite: styles for this lab only. The shared look lives in style.css. */

/* the shared .page is width 100% plus side padding; count the padding inside so the page never scrolls sideways */
.page {box-sizing: border-box !important;}

/* the prediction label (sized here so it does not depend on the shared file) */
.predlabel {font-size: 1.3rem; font-weight: 800; color: #111; margin: 6px 0 2px 0;}
.predlabel span {font-weight: 600; color: #444;}

/* hero: two book links side by side */
.readrow {display: flex; gap: 14px; flex-wrap: wrap;}
.howitworks {font-size: 1rem; color: #555; margin: 10px 0 60px 0; line-height: 1.5;}

/* block 1: the handbook */
.hb {display: grid; grid-template-columns: minmax(300px, 1fr) 2.2fr; gap: 22px; align-items: start;}
.hbcover {background: #fff; border: 3px solid #111; border-radius: 14px; padding: 16px 18px; font-size: 1.15rem; line-height: 1.45;
  color: #111; margin-bottom: 12px;}
.hbcover span {font-size: .95rem; color: #B10202; font-weight: 700;}
.pagetabs {display: grid; grid-template-columns: 1fr 1fr; gap: 10px;}
button.pgtab {display: flex; gap: 10px; align-items: center; text-align: left; padding: 10px 12px; border-radius: 12px;
  border: 2px solid #d4d4d8; background: #fff; color: #111; font-size: 1rem; line-height: 1.25;}
button.pgtab b {font-size: 1.6rem; font-weight: 900; min-width: 1.6em; text-align: center;}
button.pgtab:hover {border-color: #111;}
button.pgtab.on {background: #111; color: #fff; border-color: #111;}
#reader, #reader * {font-family: Georgia, "Times New Roman", serif !important;}
#reader {background: #fffdf6; border: 3px solid #111; border-radius: 14px; padding: 20px 26px; color: #111; font-size: 1.12rem;
  line-height: 1.55; box-shadow: 6px 6px 0 rgba(0, 0, 0, .12);}
#reader p {margin: 0 0 12px 0;}
.rd-top {display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px;}
.rd-pg {background: #B10202; color: #fff; font-weight: 900; border-radius: 8px; padding: 3px 10px;}
.rd-sec {font-size: 1.35rem; font-weight: 900;}
.rd-cards {margin-left: auto; color: #555; font-size: .95rem;}
.rd-foot {margin-top: 10px; padding-top: 8px; border-top: 1px solid #ccc; font-size: .85rem; color: #777; text-align: center;}

/* index cards */
.cardsrow {display: grid; grid-template-columns: minmax(260px, 1fr) 3fr; gap: 22px; align-items: start; margin-top: 22px;}
.cards-intro {font-size: 1.2rem; line-height: 1.45; color: #111;}
.cards-intro .big {font-size: 2.6rem; font-weight: 900; margin-bottom: 6px;}
.cardsample {display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;}
.icard {position: relative; background-color: #fffef5; border: 2px solid #c9b88a; border-top: 6px solid #d64545; border-radius: 6px;
  padding: 26px 14px 12px 14px; font-size: 1.02rem; line-height: 28px; color: #111; box-shadow: 3px 3px 0 rgba(0, 0, 0, .12);
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 27px, #dbe7f3 27px, #dbe7f3 28px);
  background-position: 0 25px;}
.icard.small {font-size: .95rem; line-height: 24px; padding-top: 24px; margin: 8px 0;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 23px, #dbe7f3 23px, #dbe7f3 24px);}
.pgcorner {position: absolute; top: 4px; right: 8px; background: #B10202; color: #fff; font-weight: 900; border-radius: 8px;
  padding: 0 8px; font-size: .9rem; line-height: 1.5;}
.ic-n {position: absolute; top: 4px; left: 12px; font-size: .78rem; color: #888; text-transform: uppercase; letter-spacing: .05em;
  line-height: 1.5; font-weight: 700;}

/* the four skill tiles: a second and third line under the description */
.subhead {font-size: 1.5rem; font-weight: 900; color: #111; margin: 26px 0 12px 0;}
.tool .wh2 {font-size: 1.1rem; color: #333; margin-top: 6px;}
.libbar {display: flex; gap: 14px; align-items: center; margin-top: 16px; flex-wrap: wrap;}
.libbar button.predbtn {flex: 0 0 auto; font-size: 1.15rem !important; padding: 12px 18px !important;}
.libbar #libstat {flex: 1 1 360px;}
.libbar #libstat.keystat {margin-top: 0;}

/* inside the librarian's hands: the two rankings */
.ranks {background: #fff; border: 3px solid #111; border-radius: 18px; padding: 18px 20px; margin-top: 16px; color: #111;}
.rk-head {font-size: 1.45rem; font-weight: 900;}
.rk-move {font-size: 1.22rem; line-height: 1.45; margin: 8px 0 14px 0; padding: 12px 16px; background: #eef4ff;
  border-left: 6px solid #2563eb; border-radius: 8px;}
.rk-cols {display: grid; grid-template-columns: 1fr 1fr; gap: 20px;}
.rk-title {font-weight: 900; font-size: 1.15rem; margin-bottom: 4px;}
.rk-title span {display: block; font-weight: 600; font-size: .95rem; color: #555;}
.rk {display: grid; grid-template-columns: 2.6rem 3.4rem 1fr 6.4rem; gap: 10px; align-items: start; padding: 10px 12px;
  border: 2px solid #e4e4e7; border-radius: 12px; margin: 8px 0; background: #fafafa;}
.rk.gold {border-color: #16a34a; background: #dcfce7;}
.rk.dropped {opacity: .62; border-style: dashed;}
.rk-n {font-weight: 900; font-size: 1.3rem;}
.rk-pg {background: #111; color: #fff; border-radius: 8px; text-align: center; font-weight: 800; padding: 2px 4px; font-size: .95rem;}
.rk-tx {font-size: 1.02rem; line-height: 1.4;}
.rk-sc {text-align: right; font-weight: 900; font-size: 1.2rem;}
.rk-sc small {display: block; font-size: .8rem; font-weight: 600; color: #555;}
.rk-tag {display: inline-block; margin-left: 8px; font-size: .82rem; font-weight: 900; padding: 2px 9px; border-radius: 999px;
  vertical-align: 1px;}
.rk-tag.ok {background: #16a34a; color: #fff;} .rk-tag.near {background: #fde68a; color: #78350f;}
.rk-key {font-size: .95rem; color: #555; margin-top: 8px;}
.ranks.small .rk-title {margin-bottom: 2px;}

/* block 7: what the model reads */
.reads {display: grid; grid-template-columns: 3fr 2fr; gap: 18px; align-items: start;}
.lastcards {margin-top: 8px;}
.lastcards .icard {margin: 12px 0;}
.lc-q {font-weight: 800; margin: 6px 0 4px 0;}
pre.rules {white-space: pre-wrap; margin: 10px 0 0 0; font-size: 1.05rem; line-height: 1.5;}

/* block 8: your own handbook */
.mycards {margin: 14px 0;}
.mc-head {font-size: 1.2rem; color: #111;}
.mc-empty {color: #666; font-size: 1rem; margin-top: 6px;}
.design .side .exfig {margin-bottom: 8px;}
.mine-q {margin-top: 26px;}
.mq-head {font-size: 1.55rem; font-weight: 900; color: #111;}
.mq-q {font-size: 1.35rem; font-weight: 700; color: #111; margin: 6px 0 4px 0;}

/* read more in the book */
.booklinks {display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 14px 0;}
.bl-lead {font-weight: 900; font-size: 1.1rem; color: #111; margin-right: 4px;}
.booklinks a {display: inline-block; background: #fff; border: 2px solid #B10202; color: #B10202 !important; border-radius: 999px;
  padding: 6px 14px; font-weight: 800; font-size: 1rem; text-decoration: none; line-height: 1.35;}
.booklinks a span {color: #555; font-weight: 600;}
.booklinks a:hover {background: #B10202; color: #fff !important;}
.booklinks a:hover span {color: #fff;}
.exrow .booklinks {margin: 0;}
.tag.book {background: #fee2e2; color: #7f1d1d;}
.read.alt {background: #fff; color: #B10202 !important; border: 3px solid #B10202;}
.read.alt b {color: #B10202 !important;}

/* model answers, unlocked after two sentences */
button.mabtn {display: block; width: 100%; margin: 4px 0 0 0; padding: 14px 18px; border-radius: 14px; border: 3px solid #2563eb;
  background: #2563eb; color: #fff; font-size: 1.2rem; font-weight: 900;}
button.mabtn:disabled {background: #fff; color: #555; border-color: #c4c4c8; border-style: dashed; cursor: not-allowed; opacity: 1;}
.modelans {margin-top: 12px; background: #eef4ff; border: 3px solid #2563eb; border-radius: 16px; padding: 16px 20px; font-size: 1.2rem;
  line-height: 1.5; color: #111;}
.ma-head {font-weight: 900; margin-bottom: 6px;}
.ma-foot {font-size: .95rem; color: #555; margin-top: 8px;}
.rq {font-size: 1.2rem; line-height: 1.45;}

/* quick checks */
.selfcheck {background: #fff; border: 3px solid #16a34a; border-radius: 16px; padding: 14px 18px; margin-top: 18px; color: #111;}
.sc-head {font-size: 1.3rem; font-weight: 900; margin-bottom: 6px;}
.selfcheck details {border-top: 2px solid #eee; padding: 10px 0;}
.selfcheck summary {cursor: pointer; font-size: 1.15rem; font-weight: 800; list-style: none;}
.selfcheck summary::-webkit-details-marker {display: none;}
.selfcheck summary::before {content: "▸  "; color: #16a34a;}
.selfcheck details[open] summary::before {content: "▾  ";}
.sc-a {margin-top: 8px; font-size: 1.12rem; background: #dcfce7; border-radius: 10px; padding: 10px 14px; line-height: 1.45;}

/* try it live */
.trylive {background: #fff; border: 3px dashed #7c3aed; border-radius: 18px; padding: 18px 20px; margin-top: 18px; color: #111;}
.tl-headline {font-size: 1.45rem; font-weight: 900; margin-bottom: 10px;}
.tl-row2 {display: grid; grid-template-columns: minmax(260px, auto) 1fr; gap: 22px; align-items: start;}
.tl-row2 .read {margin-top: 0; background: #7c3aed;}
.tl-free {font-size: .95rem; color: #555; margin-top: 6px;}
.trylive ol {margin: 0; font-size: 1.15rem; line-height: 1.45;}
.trylive li {margin: 4px 0 8px 0;}
.tl-q {margin-top: 10px; font-size: 1.2rem; font-weight: 700; background: #f5f3ff; border-radius: 10px; padding: 10px 14px;}

/* why this matters, what each part shows, what you learned */
.whypanel .tag {white-space: nowrap;}
.shows {margin-top: 16px; padding: 12px 16px; background: #fef3c7; border-left: 6px solid #d97706; border-radius: 8px;
  font-size: 1.22rem; line-height: 1.45; color: #111;}
.shows b {color: #78350f;}
@media (max-width: 600px) {.whypanel .exrow {grid-template-columns: 1fr; gap: 6px;} .whypanel .tag {justify-self: start;}}

@media (max-width: 1000px) {
  .hb, .cardsrow, .cardsample, .rk-cols, .reads, .design, .tl-row2 {grid-template-columns: 1fr;}
  .rk {grid-template-columns: 2.4rem 3.2rem 1fr; }
  .rk-sc {grid-column: 3; text-align: left;}
}