Spaces:
Running
Running
File size: 24,983 Bytes
64378fa | 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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 | :root {
--ink: #111114;
--secondary: #56575e;
--faint: #8c8d95;
--hairline: #e8e8ec;
--accent: #1b6b4f;
--accent-soft: #edf5f0;
--accent-deep: #124a37;
--surface: #ffffff;
--sunken: #f4f4f7;
--deep: #f7f7f9;
--warning: #a9662f;
--warning-soft: #f9eee0;
--danger: #a3403f;
--danger-soft: #f9e7e5;
--success: #2e7350;
--success-soft: #eaf3ec;
--shadow: 0 10px 30px rgba(11, 12, 14, 0.06);
--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
--sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, Menlo, monospace;
--radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
font-family: var(--sans);
color: var(--ink);
background: #fff;
-webkit-font-smoothing: antialiased;
font-size: 14px;
line-height: 1.45;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
::selection { background: #d9eae1; }
.app { min-height: 100vh; display: flex; background: #fff; }
/* ---------- Sidebar ---------- */
.sidebar {
width: 286px;
flex: 0 0 286px;
border-right: 1px solid var(--hairline);
background: var(--surface);
height: 100vh;
position: sticky;
top: 0;
display: flex;
flex-direction: column;
overflow-y: auto;
}
.sidebar-head { padding: 18px 18px 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); margin-top: -1px; }
.mark {
width: 32px; height: 32px; border-radius: 7px; background: #fff; position: relative;
border: 1px solid rgba(0,0,0,.07); box-shadow: 0 4px 10px rgba(0,0,0,.12);
display: flex; align-items: center; gap: 2.4px; padding-left: 7px;
}
.mark::before { content: ""; width: 2.7px; height: 17px; border-radius: 3px; background: var(--accent); }
.mark span { display: block; width: 12px; height: 2.4px; border-radius: 3px; background: var(--ink); }
.mark span:nth-child(2) { width: 9px; }
.mark span:nth-child(3) { width: 6px; background: rgba(17,17,20,.55); }
.mark-lines { display: flex; flex-direction: column; gap: 3px; }
.mark.small { width: 28px; height: 28px; padding-left: 6px; }
.side-cta {
display: flex; align-items: center; gap: 8px; width: 100%;
background: var(--ink); color: #fff; border: 0; border-radius: 10px;
padding: 10px 12px; font-weight: 600; font-size: 13px; margin-top: 16px;
}
.side-cta:hover { background: #24242a; }
.nav { padding: 4px 10px 28px; }
.nav-group { margin-top: 14px; }
.nav-label { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding: 0 10px 6px; }
.nav-row {
display: flex; align-items: center; gap: 9px; width: 100%; text-align: left;
border: 0; background: transparent; color: var(--secondary); border-radius: 8px;
padding: 7px 10px; font-size: 12.5px;
}
.nav-row:hover { background: var(--sunken); color: var(--ink); }
.nav-row.active { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.nav-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin-left: auto; }
.nav-row svg { width: 15px; height: 15px; opacity: .8; }
.nav-row.active svg { opacity: 1; color: var(--accent); }
.side-card { margin: 8px 10px 0; border: 1px solid var(--hairline); background: var(--deep); border-radius: 11px; padding: 11px; text-align: left; }
.side-card .row { display: flex; align-items: center; justify-content: space-between; }
.mini-label { font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.side-card .name { font-size: 12px; font-weight: 600; margin-top: 5px; }
.side-card .meta { font-size: 10.5px; color: var(--secondary); margin-top: 2px; }
.side-foot { margin-top: auto; padding: 16px 18px 20px; font-size: 9.5px; color: var(--faint); display: flex; gap: 7px; line-height: 1.4; }
/* ---------- Main ---------- */
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
height: 52px; flex: 0 0 52px; display: flex; align-items: center; gap: 9px;
padding: 0 14px; border-bottom: 1px solid var(--hairline);
background: rgba(255,255,255,.96); position: sticky; top: 0; z-index: 20;
backdrop-filter: saturate(1.4) blur(8px);
}
.topbar h1 { font-family: var(--serif); font-size: 15px; font-weight: 600; margin: 0; letter-spacing: -.01em; }
.topbar .spacer { flex: 1; }
.menu-btn { display: none; }
.pill {
display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px;
font-size: 10.5px; font-weight: 600; white-space: nowrap;
}
.pill.green { background: var(--accent-soft); color: var(--accent); }
.pill.neutral { background: var(--deep); color: var(--secondary); border: 1px solid var(--hairline); }
.pill.warn { background: var(--warning-soft); color: var(--warning); }
.pill.danger { background: var(--danger-soft); color: var(--danger); }
.status-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; background: var(--deep); font-size: 10px; color: var(--secondary); border: 1px solid transparent; }
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--warning); }
.status-pill.ready .dot { background: var(--success); }
.icon-btn {
display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
border: 0; background: transparent; border-radius: 8px; color: var(--secondary);
}
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.icon-btn.active { background: var(--accent-soft); color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }
.page { width: 100%; max-width: 1040px; margin: 0 auto; padding: 26px 26px 80px; }
.page.narrow { max-width: 860px; }
/* ---------- Type ---------- */
.eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.display { font-family: var(--serif); font-size: 32px; line-height: 1.12; letter-spacing: -.02em; margin: 6px 0 0; font-weight: 600; }
.page-title { font-family: var(--serif); font-size: 24px; line-height: 1.15; letter-spacing: -.015em; margin: 3px 0 0; font-weight: 600; }
.subtitle { color: var(--secondary); font-size: 12.5px; margin: 7px 0 0; max-width: 640px; line-height: 1.55; }
.muted { color: var(--secondary); }
.faint { color: var(--faint); }
.tiny { font-size: 11px; }
.mono { font-family: var(--mono); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 26px 0 10px; }
.section-title { font-family: var(--serif); font-size: 17px; font-weight: 600; margin: 0; }
/* ---------- Cards ---------- */
.card {
background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius);
padding: 16px; box-shadow: 0 3px 10px rgba(11,12,14,.03);
}
.card.soft { background: var(--deep); }
.card.flat { box-shadow: none; }
.card.hero { padding: 20px; display: flex; gap: 18px; align-items: flex-start; justify-content: space-between; }
.card-title { font-family: var(--serif); font-size: 21px; line-height: 1.15; margin: 0 0 6px; font-weight: 600; letter-spacing: -.01em; }
.grid { display: grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.stat { padding: 13px; border: 1px solid var(--hairline); border-radius: 12px; background: #fff; }
.stat .head { display: flex; align-items: center; justify-content: space-between; color: var(--faint); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700; }
.stat .value { font-size: 25px; font-weight: 600; margin-top: 7px; letter-spacing: -.02em; }
.stat .note { font-size: 10.5px; color: var(--faint); margin-top: 2px; }
/* ---------- Buttons ---------- */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
border: 1px solid var(--hairline); background: #fff; color: var(--ink);
border-radius: 10px; padding: 9px 13px; font-size: 12.5px; font-weight: 600;
white-space: nowrap; transition: background .12s, opacity .12s, transform .06s;
}
.btn:hover { background: var(--deep); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.14); }
.btn.primary:hover { background: #24242a; }
.btn.green { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.green:hover { background: var(--accent-deep); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--secondary); }
.btn.ghost:hover { background: var(--sunken); color: var(--ink); }
.btn.small { padding: 6px 10px; font-size: 11.5px; border-radius: 8px; }
.btn.link { border: 0; background: transparent; padding: 0; color: var(--accent); font-weight: 600; }
.btn.danger { color: var(--danger); border-color: #f0d4d2; }
/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label { font-size: 11px; font-weight: 600; color: var(--secondary); display: flex; justify-content: space-between; gap: 8px; }
.field .hint { font-size: 10px; color: var(--faint); font-weight: 400; }
.input, .textarea, .select {
width: 100%; border: 1px solid var(--hairline); background: #fff; border-radius: 10px;
padding: 10px 11px; font-size: 13px; outline: none; transition: border-color .12s, box-shadow .12s;
}
.textarea { resize: vertical; min-height: 120px; line-height: 1.62; font-family: var(--serif); font-size: 14.5px; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(27,107,79,.45); box-shadow: 0 0 0 3px rgba(27,107,79,.09); }
.textarea.plain { font-family: var(--sans); font-size: 13px; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--faint) 50%), linear-gradient(135deg, var(--faint) 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.count { font-size: 10px; color: var(--faint); font-variant-numeric: tabular-nums; }
/* ---------- Feedback ---------- */
.score-card { display: flex; gap: 16px; align-items: center; }
.ring {
--pct: 0; width: 74px; height: 74px; border-radius: 50%; flex: 0 0 74px;
background: conic-gradient(var(--accent) calc(var(--pct) * 1%), var(--sunken) 0);
display: grid; place-items: center; position: relative;
}
.ring::after { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.ring .num { position: relative; z-index: 1; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.ring .den { position: relative; z-index: 1; font-size: 9px; color: var(--faint); margin-top: -2px; }
.criterion { border-top: 1px solid var(--hairline); padding: 10px 0; }
.criterion:first-child { border-top: 0; }
.criterion .head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.criterion .name { font-size: 12px; font-weight: 600; }
.criterion .score { font-family: var(--mono); font-size: 11px; color: var(--secondary); }
.bar { height: 4px; background: var(--sunken); border-radius: 3px; overflow: hidden; margin: 6px 0 5px; }
.bar > i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.criterion .note { font-size: 10.5px; color: var(--secondary); line-height: 1.5; }
.callout { border-radius: 11px; padding: 11px 12px; font-size: 11.5px; line-height: 1.55; border: 1px solid; }
.callout.green { background: var(--success-soft); border-color: #d5e7da; color: #245a3e; }
.callout.amber { background: var(--warning-soft); border-color: #f0dcc5; color: #7d4a1f; }
.callout.red { background: var(--danger-soft); border-color: #f0d4d2; color: #8a3534; }
.callout.blue { background: #eef3f9; border-color: #d9e3ef; color: #2b4c6f; }
/* ---------- Chat ---------- */
.chat-wrap { display: flex; flex-direction: column; height: calc(100vh - 52px); }
.transcript { flex: 1; overflow-y: auto; padding: 22px 20px 150px; }
.transcript-inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 9px; align-items: flex-start; }
.msg .bubble { border: 1px solid var(--hairline); background: #fff; border-radius: 14px; padding: 12px 14px; font-family: var(--serif); font-size: 15px; line-height: 1.6; white-space: pre-wrap; max-width: 92%; }
.msg.student { justify-content: flex-end; }
.msg.student .bubble { background: var(--accent-soft); border-color: rgba(27,107,79,.14); font-family: var(--sans); font-size: 13.5px; }
.msg .who { font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); font-weight: 700; margin-bottom: 4px; }
.composer-dock { position: fixed; left: 286px; right: 0; bottom: 0; z-index: 15; padding: 10px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #fff 72%, rgba(255,255,255,0)); }
.composer { max-width: 760px; margin: 0 auto; border: 1px solid var(--hairline); background: #fff; border-radius: 16px; padding: 10px; box-shadow: var(--shadow); }
.composer .row { align-items: flex-end; }
.composer textarea { border: 0; outline: none; resize: none; min-height: 46px; max-height: 150px; padding: 8px 6px; font-size: 13.5px; flex: 1; }
.composer .foot { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 0; }
.send { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.send:disabled { background: var(--hairline); color: var(--faint); }
/* ---------- Tables / lists ---------- */
.list { display: flex; flex-direction: column; }
.list-row { display: flex; align-items: center; gap: 10px; padding: 11px 2px; border-top: 1px solid var(--hairline); }
.list-row:first-child { border-top: 0; }
.list-row .main { flex: 1; min-width: 0; }
.list-row .t { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-row .s { font-size: 10.5px; color: var(--faint); margin-top: 2px; }
.empty { text-align: center; padding: 40px 20px; color: var(--faint); }
.empty .mark { margin: 0 auto 12px; }
/* ---------- Notices ---------- */
.notice { border-radius: 10px; padding: 10px 12px; font-size: 11.5px; display: flex; gap: 8px; align-items: flex-start; }
.notice.error { background: var(--danger-soft); color: var(--danger); }
.notice.info { background: var(--accent-soft); color: var(--accent-deep); }
.notice.warn { background: var(--warning-soft); color: var(--warning); }
/* ---------- Drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(11,12,14,.24); z-index: 40; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(320px, 86vw); background: #fff; z-index: 41; box-shadow: 20px 0 50px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow-y: auto; }
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
.sidebar { display: none; }
.menu-btn { display: inline-flex; }
.page { padding: 18px 16px 70px; }
.grid.split, .grid.two { grid-template-columns: 1fr; }
.grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: 1fr; }
.display { font-size: 27px; }
.card.hero { flex-direction: column; }
.chat-wrap { height: calc(100vh - 52px); }
.transcript { padding: 16px 14px 160px; }
.composer-dock { left: 0; padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 520px) {
.grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.topbar h1 { font-size: 14px; }
.toolbar .label { display: none; }
}
/* ---------- Print ---------- */
@media print {
.sidebar, .topbar, .composer-dock, .no-print { display: none !important; }
.page { max-width: none; padding: 0; }
.card { break-inside: avoid; box-shadow: none; }
}
/* ---------- Small helpers ---------- */
.divider { height: 1px; background: var(--hairline); margin: 14px 0; }
.kbd { font-family: var(--mono); font-size: 10px; border: 1px solid var(--hairline); border-bottom-width: 2px; border-radius: 5px; padding: 1px 4px; color: var(--secondary); background: var(--deep); }
.hide { display: none !important; }
.scroll-x { overflow-x: auto; }
.spin { width: 14px; height: 14px; border: 2px solid var(--hairline); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.fade-in { animation: fade .18s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
/* ---------- Accounts, plans, developer ---------- */
.setup-banner {
display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
padding: 10px 14px; background: var(--accent-soft); border-bottom: 1px solid #d9eae1;
color: var(--accent-deep); font-size: 12px;
}
.setup-banner .setup-copy { flex: 1; min-width: 220px; line-height: 1.45; }
.setup-banner strong { font-weight: 700; }
.edit-bar {
position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 60;
display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
max-width: min(680px, calc(100vw - 24px)); padding: 10px 14px;
background: var(--ink); color: #fff; border-radius: 12px; font-size: 12px;
box-shadow: 0 16px 40px rgba(0,0,0,.28);
}
.edit-bar .btn { border-color: rgba(255,255,255,.24); background: transparent; color: #fff; }
.edit-bar .btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
.edit-bar .btn:hover { background: rgba(255,255,255,.12); }
.edit-bar .btn.primary:hover { background: #f2f2f5; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #6ddba0; box-shadow: 0 0 0 3px rgba(109,219,160,.24); }
.edit-target { outline: 1px dashed rgba(27,107,79,.45); outline-offset: 3px; border-radius: 4px; cursor: text; }
.edit-target:hover { background: rgba(27,107,79,.06); }
.edit-target:focus { outline: 2px solid rgba(27,107,79,.55); background: rgba(27,107,79,.04); }
.account-chip {
display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hairline);
background: #fff; border-radius: 999px; padding: 4px 9px 4px 4px; font-size: 11px; color: var(--secondary);
}
.account-chip:hover { background: var(--deep); }
.account-chip .avatar {
width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
display: grid; place-items: center; font-size: 10px; font-weight: 700;
}
.account-chip .who { font-weight: 600; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.plan-card { display: flex; flex-direction: column; }
.plan-card.current { border-color: rgba(27,107,79,.35); box-shadow: 0 6px 22px rgba(27,107,79,.08); }
.plan-name { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.plan-price { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-top: 8px; }
.plan-period { font-size: 12px; font-weight: 500; color: var(--faint); letter-spacing: 0; margin-left: 2px; }
.plan-blurb { font-size: 11.5px; color: var(--secondary); line-height: 1.55; margin: 10px 0 0; min-height: 36px; }
.plan-limit {
display: flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 8px;
background: var(--deep); border-radius: 8px; font-size: 10.5px; color: var(--secondary);
}
.plan-limit svg { color: var(--accent); }
.plan-features { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.plan-features li { display: flex; gap: 7px; align-items: flex-start; font-size: 11.5px; line-height: 1.45; color: var(--secondary); }
.plan-features li svg { flex: 0 0 12px; margin-top: 2px; color: var(--accent); }
.plan-features li.muted svg { color: var(--faint); }
.plan-cta { margin-top: auto; width: 100%; margin-top: 16px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; border-bottom: 1px solid var(--hairline); }
.tab {
border: 0; background: transparent; padding: 8px 10px; border-radius: 8px 8px 0 0;
font-size: 12px; font-weight: 600; color: var(--secondary); white-space: nowrap;
}
.tab:hover { background: var(--deep); color: var(--ink); }
.tab.active { color: var(--accent); background: var(--accent-soft); }
.check-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; cursor: pointer; }
.check-row input { margin-top: 2px; accent-color: var(--accent); }
/* ---------- Plans page ---------- */
.price-hero {
position: relative; overflow: hidden; border-radius: 20px; padding: 34px 30px;
background: linear-gradient(135deg, #f2f8f3 0%, #fbf7ef 58%, #f5efe6 100%);
border: 1px solid #e4ebe5;
}
.price-hero::after {
content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
right: -110px; top: -140px; background: radial-gradient(circle at center, rgba(27,107,79,.14), transparent 70%);
}
.deal-pill {
display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #dde8e0;
color: var(--accent-deep); border-radius: 999px; padding: 5px 11px;
font-size: 10.5px; font-weight: 700; letter-spacing: .02em; position: relative; z-index: 1;
}
.price-title {
font-family: var(--serif); font-size: 46px; line-height: 1.04; letter-spacing: -.03em;
margin: 14px 0 0; max-width: 650px; position: relative; z-index: 1;
}
.price-lede { font-size: 14px; color: var(--secondary); max-width: 560px; line-height: 1.62; margin: 13px 0 0; position: relative; z-index: 1; }
.price-chips { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; font-size: 11.5px; color: var(--accent-deep); font-weight: 600; position: relative; z-index: 1; }
.price-chips span { display: inline-flex; align-items: center; gap: 5px; }
.price-chips svg { color: var(--accent); }
.free-strip {
margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
padding: 15px 18px; border-radius: 14px; border: 1px dashed #cfdcd4; background: #fbfdfb;
}
.free-strip-title { font-weight: 700; font-size: 13px; }
.free-strip-body { font-size: 11.5px; color: var(--secondary); margin-top: 3px; }
.plan-card { position: relative; padding-top: 18px; }
.plan-card.featured { border-color: rgba(27,107,79,.48); box-shadow: 0 18px 44px rgba(27,107,79,.11); }
.plan-ribbon {
position: absolute; top: 0; left: 18px; transform: translateY(-50%);
background: var(--ink); color: #fff; font-size: 9px; letter-spacing: .09em; text-transform: uppercase;
font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan-price { font-size: 31px; margin-top: 10px; }
.plan-subline { font-size: 10.5px; color: var(--faint); margin-top: 1px; }
.plan-foot { font-size: 10px; color: var(--faint); text-align: center; margin-top: 8px; line-height: 1.4; }
.value-card { padding: 18px; }
.value-icon {
width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
display: grid; place-items: center; margin-bottom: 10px;
}
.value-title { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.value-body { font-size: 11.5px; color: var(--secondary); line-height: 1.55; margin-top: 5px; }
.faq { padding: 6px 18px; }
.faq details { border-top: 1px solid var(--hairline); padding: 11px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 12.5px; display: flex; justify-content: space-between; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { font-size: 12px; color: var(--secondary); line-height: 1.62; margin: 8px 0 0; max-width: 740px; }
@media (max-width: 900px) {
.price-hero { padding: 24px 20px; }
.price-title { font-size: 33px; }
.price-lede { font-size: 13px; }
}
|