@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap'); :root { font-family: 'Space Grotesk', 'Segoe UI', sans-serif; color: #18251f; background: #f0f3ed; font-synthesis: none; text-rendering: optimizeLegibility; --ink: #18251f; --muted: #64736a; --soft: #9aa69e; --line: #d5ded7; --panel: #fcfdf9; --page: #f0f3ed; --navy: #14271f; --navy-soft: #203b31; --accent: #17634e; --accent-light: #e4f0e5; --coral: #d4543d; --success: #247650; --success-bg: #e5f1e7; --warning: #9a6416; --warning-bg: #f8efd9; --danger: #b6403e; --danger-bg: #f8e9e3; --radius: 6px; font-optical-sizing: auto; } * { box-sizing: border-box; } body { margin: 0; min-width: 0; min-height: 100vh; background-color: var(--page); background-image: linear-gradient(rgb(20 39 31 / 2.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(20 39 31 / 2.5%) 1px, transparent 1px); background-size: 32px 32px; } button, input, textarea, select { font: inherit; } button { cursor: pointer; } button:disabled { cursor: not-allowed; opacity: .58; } :focus-visible { outline: 3px solid #d4543d; outline-offset: 3px; } ::selection { color: #14271f; background: #dcebb7; } @media (prefers-reduced-motion: no-preference) { .app-shell > main, .app-shell > section { animation: interface-arrive .42s cubic-bezier(.2,.7,.25,1) both; } } @keyframes interface-arrive { from { opacity: 0; } to { opacity: 1; } } .auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr); background: var(--panel); } .auth-visual { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; padding: 38px clamp(36px, 6vw, 88px); color: #f3f6f2; background: var(--navy); } .auth-visual::before { position: absolute; inset: 0; content: ''; opacity: .24; background-image: linear-gradient(rgb(177 218 175 / 18%) 1px, transparent 1px), linear-gradient(90deg, rgb(177 218 175 / 18%) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(120deg, #000 0%, transparent 80%); pointer-events: none; } .brand-lockup, .mobile-brand { position: relative; display: flex; align-items: center; gap: 11px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; } .brand-lockup i { color: #80b4b5; font-style: normal; font-weight: 500; } .brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #66856e; border-radius: 5px; color: #d8ef9c; background: #21382b; } .auth-hero-copy { position: relative; z-index: 1; width: min(600px, 100%); margin: auto 0; padding: 80px 0 120px; } .eyebrow { margin: 0 0 10px; color: var(--accent); font-family: 'IBM Plex Mono', monospace; font-size: 10px; font-weight: 600; letter-spacing: 1.3px; } .auth-visual .eyebrow { color: #75c4bb; } .auth-hero-copy h1 { margin: 0; font-size: clamp(42px, 5.2vw, 72px); font-weight: 500; letter-spacing: 0; line-height: 1.08; } .auth-hero-copy h1 em { color: #d8ef9c; font-style: normal; } .hero-note { max-width: 360px; margin-top: 24px; color: #b6c4ce; font-size: 16px; line-height: 1.65; } .visual-footer { position: absolute; z-index: 1; bottom: 42px; left: clamp(36px, 6vw, 88px); display: flex; gap: 24px; color: #a9b9ac; font: 10px 'IBM Plex Mono', monospace; letter-spacing: .5px; } .code-sample { position: absolute; right: 7%; bottom: 21%; display: grid; gap: 7px; transform: rotate(-3deg); border-left: 1px solid #789276; padding: 14px 0 14px 15px; color: #aab9ad; font: 12px 'IBM Plex Mono', monospace; opacity: .58; } .code-sample span:first-child { color: #e88564; } .auth-panel { display: flex; align-items: center; justify-content: center; padding: 52px; } .auth-panel-inner { width: min(390px, 100%); } .auth-panel h2, .key-card h1 { margin: 0; color: var(--ink); font-size: 32px; font-weight: 600; } .muted-copy { margin: 10px 0 27px; color: var(--muted); font-size: 14px; line-height: 1.65; } .mobile-brand { display: none; margin-bottom: 48px; color: var(--ink); } .button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 5px; padding: 0 16px; font-size: 13px; font-weight: 600; transition: background .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease; } .button:active:not(:disabled) { transform: translateY(1px); } .button-primary { color: #fff; background: var(--accent); box-shadow: 0 3px 0 #0e493b; } .button-primary:hover:not(:disabled) { background: #104c3c; box-shadow: 0 4px 0 #0b3f32; transform: translateY(-1px); } .button-secondary { border-color: #c3d0c6; color: var(--ink); background: #fcfdf9; } .button-secondary:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: #f2f7f0; } .auth-button { width: 100%; justify-content: flex-start; min-height: 50px; } .auth-button > svg:last-child, .start-button > svg:last-child { margin-left: auto; } .auth-provider-buttons { display: grid; gap: 10px; } .hf-mark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #171d21; background: #ffd21e; font-weight: 800; letter-spacing: -1px; } .google-mark { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; color: #4285f4; background: #fff; font-size: 15px; font-weight: 700; } .google-auth-button { justify-content: flex-start; } .stack-form { display: grid; gap: 16px; } .stack-form label, .setup-panel label { display: grid; gap: 9px; color: #455668; font-size: 12px; font-weight: 600; line-height: 1.5; } .stack-form input, .setup-panel input:not([type=range]) { width: 100%; min-height: 46px; border: 1px solid #cfd9df; border-radius: 6px; padding: 0 13px; color: var(--ink); background: #fff; font-size: 13px; line-height: 1.5; } .stack-form input:focus, .setup-panel input:focus { border-color: var(--accent); } .privacy-note { display: flex; gap: 9px; margin-top: 23px; color: #748493; font-size: 11px; line-height: 1.55; } .privacy-note svg { flex: 0 0 auto; color: var(--accent); } .auth-footer { position: absolute; bottom: 28px; color: #8a9ba8; font: 9px 'IBM Plex Mono', monospace; letter-spacing: .6px; } .auth-footer span { margin: 0 7px; color: var(--coral); } .notice { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0; border: 1px solid var(--line); border-radius: 5px; padding: 11px 12px; color: var(--muted); background: var(--panel); font-size: 12px; line-height: 1.5; } .notice-error { border-color: #edc2bc; color: #8d3931; background: var(--danger-bg); } .notice-warning { border-color: #ecd39e; color: #79500e; background: var(--warning-bg); } .key-screen { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--page); } .key-card { width: min(440px, 100%); border: 1px solid var(--line); border-top: 3px solid var(--coral); border-radius: 5px; padding: 32px; background: var(--panel); box-shadow: 0 18px 46px #20352a12; } .key-card .brand-mark { margin-bottom: 26px; } .key-card .stack-form { margin-top: 24px; } .key-card > .text-button { display: flex; width: 100%; min-height: 40px; justify-content: flex-start; margin-top: 7px; padding: 8px 2px; text-align: left; } .text-button, .back-link { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 10px 0; color: var(--muted); background: transparent; font-size: 12px; } .text-button:hover, .back-link:hover { color: var(--accent); } .app-shell { min-height: 100vh; padding-bottom: 36px; color: var(--ink); } .topbar { position: sticky; z-index: 20; top: 0; display: flex; height: 58px; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 0 clamp(18px, 3.2vw, 48px); background: #fafcf7f2; backdrop-filter: blur(12px); } .topbar::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; content: ''; background: linear-gradient(90deg, var(--accent) 0 17%, transparent 17% 83%, var(--coral) 83%); } .topbar .brand-lockup { color: var(--ink); font-size: 10px; } .topbar .brand-mark { width: 30px; height: 30px; } .topbar-context, .heading-stats { display: flex; align-items: center; gap: 9px; color: #8795a0; font: 10px 'IBM Plex Mono', monospace; letter-spacing: .4px; } .context-repo { color: var(--ink); font-weight: 600; } .user-menu { display: flex; align-items: center; gap: 9px; } .user-avatar { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #146563; background: #d9eeea; font-size: 12px; font-weight: 700; } .user-name { max-width: 150px; overflow: hidden; color: #4a5a68; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; } .icon-button { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid transparent; border-radius: 6px; color: #617282; background: transparent; } .icon-button:hover { border-color: #c8d6ca; color: var(--coral); background: #fff; transform: translateY(-1px); } .topbar-badge-button { position: relative; } .topbar-badge { position: absolute; top: -5px; right: -5px; min-width: 16px; height: 16px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 999px; padding: 0 3px; color: #fff; background: var(--coral); font-size: 9px; font-weight: 700; line-height: 1; } .global-notice { position: fixed; z-index: 30; top: 70px; right: 24px; left: 24px; max-width: 850px; margin: auto; box-shadow: 0 6px 24px #17243618; } .keyless-notice { display: grid; width: min(calc(100% - 48px), 1480px); max-width: 1480px; align-items: center; grid-template-columns: auto minmax(0, 1fr) auto; gap: 13px; margin: 14px auto; padding: 14px 16px; box-shadow: 0 4px 16px #1724360d; } .keyless-notice-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #e8cf98; border-radius: 8px; color: #885d1b; background: #fff8e9; } .keyless-notice-copy { display: grid; min-width: 0; gap: 4px; } .keyless-notice-copy strong { color: #61450f; font-size: 13px; } .keyless-notice-copy span { color: #79500e; font-size: 12px; line-height: 1.5; } .keyless-connect-button { flex: 0 0 auto; white-space: nowrap; } .history-panel { position: fixed; z-index: 25; top: 68px; right: clamp(12px, 3vw, 40px); display: grid; width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 84px); gap: 14px; overflow-y: auto; overscroll-behavior-y: contain; border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 5px; padding: 18px; background: var(--panel); box-shadow: 0 20px 50px #13291e26; } .managed-rounds-panel-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 4px; } .panel-refresh-button { flex: 0 0 auto; } .topbar-surface-backdrop { position: fixed; z-index: 24; top: 58px; right: 0; bottom: 0; left: 0; border: 0; padding: 0; background: rgb(20 39 31 / 8%); cursor: default; } .history-panel > p { margin: 0; color: var(--muted); font-size: 13px; } .history-list { display: grid; gap: 10px; } .history-entry { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 12px; } .history-entry-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; } .history-entry-heading > div { display: grid; min-width: 0; gap: 3px; } .history-entry-heading strong { overflow-wrap: anywhere; font-size: 13px; } .history-entry-heading span, .history-entry > small, .history-submission small { color: var(--muted); font-size: 11px; } .history-status { flex: 0 0 auto; border-radius: 4px; padding: 3px 6px; color: #355a58; background: #e8f2ef; font-size: 10px; text-transform: capitalize; } .history-submission { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; border-left: 2px solid var(--accent); padding: 7px 9px; background: #f5f8f8; font-size: 11px; } .history-submission small { grid-column: 1 / -1; } .history-entry > .button { justify-self: start; } .instructor-dashboard { display: grid; gap: 12px; margin: 0 0 28px; border-top: 1px solid var(--line); padding-top: 20px; } .instructor-dashboard h2 { margin: 0; font-size: 17px; } .managed-rounds-host { display: contents; } .instructor-rounds-panel { display: grid; width: min(520px, calc(100% - 24px)); gap: 12px; } .instructor-rounds-panel h2 { margin: 0; font-size: 17px; } .instructor-dashboard > p { margin: 0; color: var(--muted); font-size: 13px; } .managed-round-list { display: grid; } .managed-round { display: grid; gap: 12px; border-top: 1px solid var(--line); padding: 16px 0; animation: interface-arrive .3s ease both; } .managed-round-heading { display: flex; justify-content: space-between; gap: 12px; } .managed-round-heading > div { display: grid; gap: 5px; } .managed-round-heading strong { font-size: 13px; } .managed-round-heading > div span, .managed-round > small { color: var(--muted); font-size: 11px; line-height: 1.5; } .managed-round-share { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; } .managed-round-share code { overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 5px; padding: 6px 8px; color: var(--ink); background: #f7f9fa; font: 11px 'IBM Plex Mono', monospace; } .managed-round-share .icon-button { flex: 0 0 auto; border-color: var(--line); background: #fff; } .round-status-prepared { color: #825a20; background: #f5efdf; } .round-status-open { color: #285d49; background: #e6f2e9; } .round-status-closed { color: #755051; background: #f3e9e9; } .participant-row { display: grid; grid-template-columns: minmax(0, 1.3fr) .9fr .8fr auto; gap: 10px; border-bottom: 1px solid #e8edef; padding: 9px 4px; color: #50606c; font-size: 11px; line-height: 1.5; } .participant-row strong { color: var(--ink); text-align: right; } .managed-round-footer-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 8px; } .managed-round-footer-actions > *, .managed-round-footer-actions .round-attempts, .managed-round-footer-actions .managed-round-actions { min-width: 0; } .managed-round-footer-actions .button { width: 100%; min-width: 0; justify-self: stretch; gap: 5px; padding: 5px 6px; text-align: center; white-space: normal; } .managed-round-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 6px; } .round-attempts, .attempt-list, .attempt-content { display: grid; gap: 12px; min-width: 0; } .attempt-window { position: fixed; z-index: 50; inset: 0; overflow-y: auto; overscroll-behavior-y: contain; background-color: var(--page); background-image: linear-gradient(rgb(20 39 31 / 2.5%) 1px, transparent 1px), linear-gradient(90deg, rgb(20 39 31 / 2.5%) 1px, transparent 1px); background-size: 32px 32px; animation: interface-arrive .22s ease both; } .attempt-window-inner { width: min(100% - 40px, 1050px); margin: 32px auto 80px; } .attempt-window-heading { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; } .attempt-window-heading h2 { margin: 0; font-size: 22px; } .attempt-window-heading .eyebrow { margin-bottom: 4px; } .attempt-overview { margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 16px 22px; background: #fafcf8; } .attempt-overview-header { display: flex; align-items: end; justify-content: space-between; gap: 16px; } .attempt-overview-header h3 { margin: 0; font-size: 17px; } .attempt-overview-header > span, .attempt-chart-caption { color: var(--muted); font-size: 12px; } .attempt-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 20px; } .attempt-chart { min-width: 0; } .attempt-chart h4 { margin: 0 0 10px; font-size: 13px; } .attempt-chart-caption { margin: 0 0 12px; } .attempt-status-bar { display: flex; height: 14px; overflow: hidden; border-radius: 2px; background: #dbe3dc; } .status-submitted { background: #137b72; } .status-progress { background: #d29d3f; } .status-other { background: #8d999e; } .attempt-status-legend, .score-bars { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 12px; } .attempt-status-legend li { display: flex; align-items: center; gap: 8px; } .attempt-status-legend strong { margin-left: auto; } .status-dot { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 2px; } .score-bars li { display: grid; grid-template-columns: 58px minmax(0, 1fr) 22px; align-items: center; gap: 8px; } .score-bars strong { text-align: right; } .score-bar-track { height: 8px; background: #e4eaec; } .score-bar-track span { display: block; height: 100%; background: #d16d58; } @media (max-width: 600px) { .attempt-window-heading { align-items: flex-start; flex-direction: column; gap: 14px; } .attempt-overview-header { align-items: flex-start; flex-direction: column; gap: 8px; } .attempt-overview-grid { grid-template-columns: 1fr; gap: 24px; } } .round-attempts > .button, .attempt-list > .button { justify-self: start; } .attempt-detail { min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; } .attempt-detail > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; } .attempt-detail > summary strong { min-width: 0; overflow-wrap: anywhere; } .attempt-detail > summary span { color: var(--muted); font-size: 12px; text-transform: capitalize; } .attempt-detail > summary svg { margin-left: auto; flex: 0 0 auto; } .attempt-content { padding: 14px 0; color: var(--ink); font-size: 13px; line-height: 1.5; overflow-wrap: anywhere; } .attempt-content h4 { margin: 0 0 8px; font-size: 13px; } .attempt-content p { margin: 6px 0; } .attempt-content section { min-width: 0; border-top: 1px solid var(--line); padding-top: 12px; } .attempt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 10px 16px; margin: 0; } .attempt-stats div { min-width: 0; } .attempt-stats dt { color: var(--muted); font-size: 12px; } .attempt-stats dd { margin: 3px 0 0; font-weight: 600; } .attempt-chat-entry, .attempt-submission { border-top: 1px solid var(--line); padding: 10px 0; } .attempt-chat-entry p, .attempt-submission > p { display: grid; gap: 3px; white-space: pre-wrap; } .attempt-submission > .attempt-stats { margin-top: 10px; } .attempt-diff { margin-top: 10px; } .attempt-diff summary { cursor: pointer; font-weight: 600; } .attempt-diff pre { max-width: 100%; overflow-x: auto; padding: 10px; background: #f5f8f8; font: 12px/1.5 'IBM Plex Mono', monospace; } .attempt-error { display: grid; gap: 8px; justify-items: start; } .private-chat-notice { margin: 0; color: #455668; font-size: 12px; line-height: 1.5; } .round-settings-editor { display: grid; max-width: 560px; gap: 13px; border: 1px solid var(--line); border-radius: 6px; padding: 14px; background: #f7f9fa; } .round-settings-editor label { display: grid; gap: 7px; color: #455668; font-size: 11px; font-weight: 600; } .round-settings-editor input { width: 100%; min-height: 38px; border: 1px solid #cfd9df; border-radius: 5px; padding: 0 10px; color: var(--ink); background: #fff; font-size: 12px; } .round-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .notice-dismiss { margin-left: auto; border: 0; color: inherit; background: transparent; } .setup-layout { width: min(100% - 40px, 890px); margin: 76px auto 80px; } .round-quota-control select { width: 100%; min-height: 34px; border: 1px solid #cfd9df; border-radius: 5px; padding: 0 9px; background: #fff; } .setup-intro { margin-bottom: 27px; } .setup-intro h1 { margin: 0; font-size: clamp(30px, 5vw, 45px); font-weight: 600; } .setup-intro > p:last-child { max-width: 520px; margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; } .setup-panel { display: grid; gap: 24px; border: 1px solid var(--line); border-radius: 8px; padding: clamp(22px, 4vw, 36px); background: var(--panel); box-shadow: 0 8px 26px #16283a0a; } .setup-panel > .muted-copy { margin: 0; line-height: 1.65; } .round-join-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px; } .round-join-row label { display: grid; gap: 9px; color: #455668; font-size: 12px; font-weight: 600; line-height: 1.5; } .round-join-row input { width: 100%; min-height: 46px; border: 1px solid #cfd9df; border-radius: 6px; padding: 0 13px; color: var(--ink); background: #fff; font-size: 13px; line-height: 1.5; } .request-actions { display: flex; align-items: center; gap: 8px; border-top: 0; padding-top: 0; } .request-actions .button { flex: 1; } .round-divider { border-top: 1px solid var(--line); padding-top: 16px; color: #82909c; font-size: 10px; font-weight: 700; } .publish-dialog-backdrop { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgb(20 38 58 / 45%); } .publish-dialog { width: min(440px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior-y: contain; display: grid; gap: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--panel); box-shadow: 0 18px 50px rgb(20 38 58 / 22%); } .publish-field { display: grid; gap: 7px; color: #455668; font-size: 12px; font-weight: 600; } .publish-field input { min-height: 38px; border: 1px solid #cfd9df; border-radius: 5px; padding: 0 10px; } .publish-field textarea { width: 100%; border: 1px solid #cfd9df; border-radius: 5px; padding: 9px 10px; font: inherit; resize: vertical; } .publish-private-option { display: flex; align-items: flex-start; gap: 9px; } .publish-private-option input { margin-top: 3px; } .publish-private-option span { display: grid; gap: 3px; } .publish-private-option small, .publish-permission-note { color: #71818c; } .publish-permission-note { margin: -8px 0 0 24px; font-size: 12px; } .publish-dialog-actions { display: flex; justify-content: flex-end; gap: 8px; } round-share-panel { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); } .round-share-panel > div { display: grid; gap: 5px; min-width: 0; flex: 1; } .round-share-panel strong { overflow-wrap: anywhere; font-family: var(--mono); font-size: 13px; } .round-share-panel small { color: #71818c; font-size: 11px; } .round-copied { color: var(--success); font-size: 12px; } .self-assessment-panel, .reflection-panel { display: grid; gap: 16px; border-top: 1px solid var(--line); padding: 18px 0; } .self-assessment-panel h2, .reflection-panel h2 { margin: 0; font-size: 16px; } .self-assessment-panel label, .reflection-panel label { display: grid; gap: 9px; color: #455668; font-size: 12px; font-weight: 600; line-height: 1.5; } .self-assessment-panel textarea, .reflection-panel textarea { width: 100%; min-height: 88px; resize: vertical; border: 1px solid #cfd9df; border-radius: 6px; padding: 11px 13px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; line-height: 1.55; } .reflection-panel { max-width: 760px; padding: 22px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); } .reflection-panel form { display: grid; gap: 18px; } .reflection-panel > p { margin: 0; color: var(--muted); } .field-wide { grid-column: 1 / -1; } .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; } .range-line { display: flex; align-items: center; gap: 15px; } .range-line input { flex: 1; accent-color: var(--accent); } .range-line output { display: grid; width: 34px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); background: #f7f9fa; font: 13px 'IBM Plex Mono', monospace; } .setup-panel small { color: #71818e; font-size: 11px; font-weight: 400; line-height: 1.5; } .option-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #edf0f2; padding-top: 16px; } .option-row > div { display: grid; gap: 4px; } .option-row strong { color: #35485a; font-size: 12px; font-weight: 600; } .switch { width: 38px; height: 22px; border: 0; border-radius: 20px; padding: 3px; background: #c9d2d8; transition: background .16s; } .switch span { display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .16s; } .switch-on { background: var(--accent); } .switch-on span { transform: translateX(16px); } .start-button { min-height: 48px; margin-top: 3px; } .progress-copy { display: grid; gap: 9px; color: var(--muted); font-size: 12px; } .progress-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .progress-label strong { color: var(--ink); font: 600 12px 'IBM Plex Mono', monospace; } .progress-track { height: 8px; overflow: hidden; border-radius: 6px; background: #e4eaed; } .progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .25s ease; } .progress-copy small { color: var(--muted); font-size: 11px; } .key-entry-form { display: grid; width: min(calc(100% - 48px), 1480px); grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 14px; margin: 0 auto 16px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; background: var(--panel); box-shadow: 0 4px 16px #1724360d; } .key-entry-form label, .course-access-panel label { display: grid; gap: 9px; color: var(--ink); font-size: 12px; font-weight: 600; line-height: 1.5; } .key-entry-form input { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 6px; padding: 0 13px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; } .course-access-panel textarea { width: 100%; min-height: 88px; resize: vertical; border: 1px solid #cfd9df; border-radius: 6px; padding: 11px 13px; color: var(--ink); background: #fff; font: inherit; font-size: 13px; line-height: 1.55; } .key-entry-actions { display: flex; flex-wrap: wrap; gap: 10px; } .challenge-layout { display: grid; width: min(100% - 48px, 1480px); grid-template-columns: minmax(0, 1.55fr) minmax(330px, .78fr); align-items: start; gap: 22px; margin: 27px auto 50px; } .editor-column, .side-column { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 14px; } .challenge-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; min-height: 56px; } .challenge-title-block { display: grid; justify-items: start; gap: 8px; min-width: 0; } .back-to-challenges { display: inline-flex; min-height: 28px; align-items: center; gap: 6px; border: 0; border-radius: 4px; padding: 0 7px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 600; } .back-to-challenges:hover:not(:disabled) { color: var(--accent); background: #e4f0e5; } .back-to-challenges:disabled { cursor: progress; opacity: .65; } .challenge-heading h1 { max-width: 68vw; overflow: hidden; margin: 0; font: 500 21px 'IBM Plex Mono', monospace; text-overflow: ellipsis; white-space: nowrap; } .heading-stats { gap: 14px; padding-bottom: 4px; } .heading-stats span { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; } .heading-stats span:first-child svg { color: var(--accent); } .heading-stats span:last-child svg { color: #ba8040; } .timer-chip, .timer-expired { display: inline-flex; align-items: center; gap: 5px; border-radius: 5px; padding: 5px 7px; color: #88571d; background: #faefd9; font: 10px 'IBM Plex Mono', monospace; } .timer-expired { color: #a63e3e; background: var(--danger-bg); } .editor-frame, .brief-panel, .hint-panel, .test-panel, .results-detail { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); box-shadow: 0 5px 20px #14263a08; } .editor-toolbar { display: flex; min-height: 43px; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #2e3c4a; padding: 0 12px; color: #d9e3ea; background: #152334; } .file-picker, .editor-actions { display: flex; min-width: 0; align-items: center; gap: 8px; } .file-picker svg { flex: 0 0 auto; color: #6cc3b4; } .file-picker select { width: min(35vw, 300px); overflow: hidden; border: 0; color: #e5edf1; background: transparent; font: 11px 'IBM Plex Mono', monospace; text-overflow: ellipsis; } .file-picker option { color: var(--ink); background: #fff; } .editor-actions { flex: 0 0 auto; } .editor-history-actions { display: flex; align-items: center; gap: 2px; } .editor-history-button { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid transparent; border-radius: 4px; color: #d6e0e5; background: transparent; } .editor-history-button:hover:not(:disabled) { border-color: #475767; background: #233447; } .editor-history-button:disabled { color: #74828b; cursor: not-allowed; } .save-state { color: #9db0bc; font: 10px 'IBM Plex Mono', monospace; } .save-dirty { color: #e6b35a; } .subtle-button { display: inline-flex; min-height: 28px; align-items: center; gap: 5px; border: 1px solid #475767; border-radius: 4px; padding: 0 8px; color: #d6e0e5; background: #233447; font-size: 10px; } .subtle-button:hover:not(:disabled) { border-color: #6daea8; background: #2a4352; } .editor-footer { display: flex; min-height: 27px; align-items: center; gap: 15px; border-top: 1px solid #2c3946; padding: 0 12px; color: #92a3ae; background: #152334; font: 10px 'IBM Plex Mono', monospace; } .editor-footer span { display: inline-flex; align-items: center; gap: 5px; } .editor-footer span:first-child svg { color: #72b8c2; } .unsaved-indicator { color: #efb45e; } .editor-cta-row { display: flex; justify-content: space-between; gap: 10px; } .round-quota-control { display: grid; min-width: 150px; gap: 4px; align-content: center; color: #455668; font-size: 11px; font-weight: 600; } .round-quota-control input { width: 100%; min-height: 34px; border: 1px solid #cfd9df; border-radius: 5px; padding: 0 9px; color: var(--ink); background: #fff; font: inherit; font-size: 12px; } .submit-button { min-width: 125px; background: var(--coral); } .submit-button:hover:not(:disabled) { background: #a94c38; } .test-panel { padding: 16px 18px; } .public-test-functions { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; } .public-test-table { display: grid; gap: 8px; } .simple-test-table { gap: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; } .public-test-table-header, .simple-test-row { display: grid; grid-template-columns: 72px minmax(120px, .8fr) minmax(180px, 1fr) minmax(180px, 1fr) minmax(180px, 1fr); align-items: center; } .public-test-table-header { min-height: 34px; background: #f1f4f4; color: #65778a; font-size: 10px; font-weight: 700; text-transform: uppercase; } .public-test-table-header span, .simple-test-row > code, .simple-test-row > .simple-test-status { padding: 8px 10px; } .simple-test-row { min-height: 44px; border-top: 1px solid var(--line); } .simple-test-row > code { min-width: 0; overflow-wrap: anywhere; color: #304558; font-size: 11px; } .simple-test-status { display: flex; align-items: center; gap: 7px; } .test-function-link { min-width: 0; border: 0; background: transparent; padding: 8px 10px; color: var(--accent); font: 600 11px 'IBM Plex Mono', monospace; text-align: left; cursor: pointer; } .test-function-link:hover { color: #064f52; text-decoration: underline; } .public-test-row { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; } .public-test-status { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .public-test-status code { margin-left: auto; } .public-test-row dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0; } .public-test-row dl div { min-width: 0; } .public-test-row dt { color: #65778a; font-size: 10px; font-weight: 700; text-transform: uppercase; } .public-test-row dd { margin: 3px 0 0; min-width: 0; } .public-test-row dd code { display: block; max-height: 76px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; } .test-pending { color: #65778a; } .public-tests-source { max-height: 420px; overflow: auto; margin: 0; border-radius: 5px; padding: 12px; color: #d2dce4; background: #152334; font: 11px/1.6 'IBM Plex Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; user-select: text; } @media (max-width: 720px) { .public-test-row dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 900px) { .simple-test-table { overflow-x: auto; } .public-test-table-header, .simple-test-row { min-width: 760px; } } .public-tests-panel { padding: 0; overflow: hidden; border-color: #d9e2df; background: #12212a; } .test-terminal-bar { min-height: 43px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #2b3c46; padding: 0 12px 0 14px; color: #b9c7cd; background: #1b2b35; } .test-terminal-title { display: flex; align-items: center; gap: 10px; font: 600 10px 'IBM Plex Mono', monospace; letter-spacing: .3px; } .test-terminal-dots { display: flex; gap: 5px; } .test-terminal-dots i { width: 8px; height: 8px; border-radius: 50%; background: #6e7f87; } .test-terminal-dots i:first-child { background: #d56a56; } .test-terminal-dots i:nth-child(2) { background: #d5ad63; } .test-terminal-dots i:last-child { background: #63a989; } .test-terminal-bar .icon-button { color: #aab7bd; } .test-terminal-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px 13px; color: #dce6ea; } .test-terminal-command { margin: 0; color: #edf4f5; font: 600 12px 'IBM Plex Mono', monospace; } .test-terminal-command span { margin-right: 7px; color: #79c4ac; } .test-terminal-caption { margin: 7px 0 0; color: #91a2a9; font: 10px 'IBM Plex Mono', monospace; } .test-terminal-result { display: inline-flex; min-width: 82px; align-items: center; justify-content: center; gap: 6px; border: 1px solid; border-radius: 4px; padding: 7px 9px; font: 700 10px 'IBM Plex Mono', monospace; } .test-terminal-result-pass { border-color: #4b8069; color: #98d7b7; background: #19372f; } .test-terminal-result-fail { border-color: #9a6257; color: #f0b0a2; background: #432b29; } .test-terminal-list { border-top: 1px solid #2b3c46; } .test-terminal-row { display: grid; grid-template-columns: 82px minmax(0, 1fr); border-bottom: 1px solid #263943; background: #162630; } .test-terminal-row:last-child { border-bottom: 0; } .test-terminal-status { display: flex; min-height: 72px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border-right: 1px solid #263943; font: 700 9px 'IBM Plex Mono', monospace; } .test-terminal-row-pass .test-terminal-status { color: #85cba9; background: #182f29; } .test-terminal-row-fail .test-terminal-status { color: #efa08f; background: #352728; } .test-terminal-row-pending .test-terminal-status { color: #99a6ac; background: #1a2931; } .test-terminal-case { min-width: 0; padding: 10px 12px 12px; } .test-terminal-case-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; color: #dce6e8; font: 600 11px 'IBM Plex Mono', monospace; } .test-terminal-case-head .test-function-link { display: inline-flex; align-items: center; gap: 5px; min-width: 0; max-width: 55%; border: 1px solid #35505a; border-radius: 4px; color: #83cbb8; background: #1a3037; padding: 5px 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .test-terminal-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; } .test-terminal-values div { min-width: 0; } .test-terminal-values dt { margin-bottom: 4px; color: #7f969e; font: 700 8px 'IBM Plex Mono', monospace; } .test-terminal-values dd { margin: 0; min-width: 0; } .test-terminal-values code { display: block; min-height: 28px; overflow: auto; border: 1px solid #2a3d46; border-radius: 4px; padding: 6px 7px; color: #dce7e9; background: #101c23; font: 10px/1.4 'IBM Plex Mono', monospace; white-space: pre-wrap; overflow-wrap: anywhere; } .test-terminal-footer { margin: 0; border-top: 1px solid #263943; padding: 10px 14px; color: #83979f; background: #1b2b35; font: 9px 'IBM Plex Mono', monospace; } @media (max-width: 720px) { .test-terminal-summary { align-items: flex-start; } .test-terminal-row { grid-template-columns: 66px minmax(0, 1fr); } .test-terminal-values { grid-template-columns: 1fr; } .test-terminal-case-head { align-items: flex-start; flex-direction: column; } .test-terminal-case-head .test-function-link { max-width: 100%; } } .public-tests-panel > .muted-copy { margin-bottom: 0; } .panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .panel-heading h2, .hint-heading h2 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; } .panel-heading .eyebrow, .hint-heading .eyebrow { margin-bottom: 4px; } .result-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 20px; padding: 6px 9px; font-size: 10px; font-weight: 600; } .pill-success { color: var(--success); background: var(--success-bg); } .pill-warning { color: var(--warning); background: var(--warning-bg); } .test-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); gap: 7px; margin: 14px 0; } .test-row { display: flex; min-height: 34px; align-items: center; gap: 9px; border-bottom: 1px solid #edf0f2; padding: 4px 3px; color: #4e5e6b; font-size: 11px; } .test-row code { margin-left: auto; color: #778693; font: 10px 'IBM Plex Mono', monospace; } .test-pass, .test-fail { display: grid; width: 21px; height: 21px; place-items: center; border-radius: 50%; } .test-pass { color: var(--success); background: var(--success-bg); } .test-fail { color: var(--danger); background: var(--danger-bg); } .output-details { margin-top: 8px; border-top: 1px solid #edf0f2; padding-top: 10px; } .output-details summary, .summary-details summary { display: flex; align-items: center; gap: 7px; cursor: pointer; color: #596a78; font-size: 11px; font-weight: 600; list-style: none; } .output-details summary::-webkit-details-marker, .summary-details summary::-webkit-details-marker { display: none; } .output-details pre, .summary-details pre { max-height: 260px; overflow: auto; margin: 10px 0 0; border-radius: 5px; padding: 12px; color: #d2dce4; background: #152334; font: 11px/1.6 'IBM Plex Mono', monospace; white-space: pre-wrap; } .secret-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; margin-top: 16px; border: 1px solid #dce5e8; border-left: 3px solid #537d7c; border-radius: 7px; padding: 14px 16px; background: #f6f9f8; } .secret-summary-copy { display: flex; min-width: 0; align-items: center; gap: 12px; } .secret-summary-icon { display: grid; width: 36px; height: 36px; flex: 0 0 auto; place-items: center; border: 1px solid #d3e2dd; border-radius: 7px; color: #426d69; background: #e8f1ee; } .secret-summary-copy > div { display: grid; min-width: 0; gap: 4px; } .secret-summary-copy strong { color: #2b4149; font-size: 13px; } .secret-summary-copy small { color: #697a81; font-size: 11px; line-height: 1.45; } .secret-summary-score { display: flex; align-items: baseline; gap: 2px; color: #263d4c; font: 600 20px 'IBM Plex Mono', monospace; white-space: nowrap; } .secret-summary-score small { color: #71818b; font-size: 12px; font-weight: 500; } .diff-content { max-height: 360px; overflow: auto; margin: 12px 0 0; border-radius: 5px; padding: 14px; color: #d2dce4; background: #152334; font: 11px/1.6 'IBM Plex Mono', monospace; white-space: pre-wrap; } .brief-panel { padding: 17px 18px; } .brief-content { min-height: 120px; max-height: 360px; overflow: auto; margin-top: 14px; border-top: 1px solid #edf0f2; padding-top: 10px; color: #5e6d79; font-size: 12px; line-height: 1.65; } .brief-content h3 { margin: 9px 0 4px; color: #304558; font-size: 13px; } .brief-content p { margin: 5px 0; } .brief-bullet { padding-left: 11px; } .brief-bullet::before { content: '•'; margin-left: -10px; padding-right: 5px; color: var(--accent); } .summary-details { margin-top: 10px; border-top: 1px solid #edf0f2; padding-top: 10px; } .hint-panel { display: flex; min-height: 370px; flex-direction: column; padding: 16px 17px 13px; } .hint-heading { display: flex; align-items: center; gap: 10px; } .hint-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 7px; color: #a36122; background: #f7ead8; } .hint-count { margin-left: auto; border: 1px solid #e8d8ba; border-radius: 5px; padding: 5px 7px; color: #93652c; background: #fffaf1; font: 10px 'IBM Plex Mono', monospace; } .hint-confirmation-status { display: block; margin-top: 5px; color: #80530c; font-size: 11px; font-weight: 600; } .hint-messages { display: flex; min-height: 190px; max-height: 360px; flex: 1; flex-direction: column; gap: 11px; overflow: auto; margin: 15px -2px 10px; padding: 4px 3px; } .empty-chat { display: grid; flex: 1; align-content: center; justify-items: center; padding: 24px; color: #82909b; text-align: center; } .empty-chat svg { color: #92aaa9; } .empty-chat p { max-width: 240px; margin: 12px 0 6px; color: #657481; font-size: 12px; line-height: 1.6; } .empty-chat span { color: #9aa6af; font-size: 10px; } .chat-message { max-width: 94%; border-radius: 7px; padding: 9px 11px; } .chat-user { align-self: flex-end; color: #f3f7f7; background: #234b53; } .chat-assistant { align-self: flex-start; border: 1px solid #e2e8eb; color: #3e4e5b; background: #f7f9fa; } .chat-role { display: flex; align-items: center; gap: 7px; margin-bottom: 5px; color: #97d3c9; font: 9px 'IBM Plex Mono', monospace; letter-spacing: .4px; } .chat-assistant .chat-role { color: #69818b; } .chat-role em { border-radius: 3px; padding: 2px 4px; color: #80510e; background: #f2dfbd; font-style: normal; } .chat-message p { margin: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; white-space: pre-wrap; } .penalty-note { margin-bottom: 8px; color: #7c694a; font-size: 10px; } .penalty-note strong { color: #8e5c18; } .chat-form { display: flex; align-items: flex-end; gap: 10px; border: 1px solid #d5dfe3; border-radius: 6px; padding: 8px; background: #fff; } .chat-form textarea { min-height: 44px; flex: 1; resize: vertical; border: 0; outline: 0; padding: 7px; color: var(--ink); font-size: 12px; line-height: 1.55; } .chat-form textarea:focus-visible { outline: 0; } .send-button { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 0; border-radius: 5px; color: #fff; background: var(--accent); } .send-button:hover:not(:disabled) { background: #06696c; } .chat-launcher { position: fixed; z-index: 36; right: 22px; bottom: 20px; display: grid; width: 54px; height: 54px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: var(--coral); box-shadow: 0 8px 26px #17243635; transition: transform .16s ease, background .16s ease; } .chat-launcher:hover { transform: translateY(-2px); background: #a94c38; } .chat-launcher-open { background: var(--navy); } .chat-launcher-open:hover { background: #253b52; } .chat-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } .chat-launcher strong { position: absolute; top: -5px; left: -7px; min-width: 28px; height: 21px; display: grid; place-items: center; border: 2px solid var(--page); border-radius: 12px; padding: 0 4px; color: #24404a; background: #fff; font: 9px 'IBM Plex Mono', monospace; } .chat-floating-panel { position: fixed; z-index: 35; right: 22px; bottom: 88px; width: min(440px, calc(100vw - 32px)); height: min(620px, calc(100vh - 120px)); min-height: 340px; overscroll-behavior-y: contain; box-shadow: 0 18px 54px #10233636; } .chat-floating-panel .hint-messages { min-height: 0; max-height: none; } .chat-usage-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font: 10px 'IBM Plex Mono', monospace; } .chat-usage-line strong { color: var(--danger); font-family: 'DM Sans', 'Segoe UI', sans-serif; } .results-layout { display: grid; width: min(100% - 40px, 900px); gap: 17px; margin: 40px auto 70px; } .back-link { justify-self: start; } .results-hero { position: relative; overflow: hidden; border: 1px solid #dce4e8; border-radius: 9px; padding: clamp(22px, 5vw, 40px); background: linear-gradient(118deg, #fff 0%, #fff 58%, #e8f1ef 100%); } .results-kicker { display: flex; align-items: center; gap: 7px; color: var(--accent); font: 10px 'IBM Plex Mono', monospace; letter-spacing: 1px; } .results-score { margin-top: 13px; font: 600 clamp(54px, 9vw, 86px)/1 'IBM Plex Mono', monospace; } .results-score span { color: #8b99a4; font-size: .34em; } .results-outcome { margin: 9px 0; color: #536574; font-size: 16px; font-weight: 600; text-transform: capitalize; } .results-copy { max-width: 650px; color: #687986; font-size: 13px; line-height: 1.7; } .score-breakdown { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; border-top: 1px solid #dfe6e9; padding-top: 17px; } .score-breakdown div { display: grid; gap: 5px; } .score-breakdown span { color: #798792; font-size: 10px; } .score-breakdown strong { color: #263d4c; font: 600 16px 'IBM Plex Mono', monospace; } .results-detail { padding: 18px 22px; } .results-detail form { display: grid; gap: 10px; } .results-detail form label { display: grid; gap: 8px; } .results-detail form textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 5px; font: inherit; resize: vertical; } .results-detail form button { justify-self: start; } .feedback-panel { min-width: 0; padding: 12px 0; overflow-wrap: anywhere; } .history-submission .feedback-panel { grid-column: 1 / -1; } .feedback-panel form, .feedback-panel label { display: grid; gap: 8px; } .feedback-panel textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 5px; font: inherit; resize: vertical; } .feedback-panel button { justify-self: start; } .expected-fix-panel { min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 16px 20px; background: var(--panel); } .expected-fix-panel summary { display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 600; } .expected-fix-panel[open] summary { margin-bottom: 12px; } .expected-diff, .expected-code { max-height: 360px; overflow: auto; margin: 10px 0 0; border-radius: 5px; padding: 12px; color: #d2dce4; background: #152334; font: 11px/1.6 'IBM Plex Mono', monospace; white-space: pre-wrap; } .expected-code { max-height: 520px; } .new-challenge-button { justify-self: start; } .app-footer { display: flex; justify-content: space-between; width: min(100% - 48px, 1480px); margin: 0 auto; color: #8a98a2; font: 9px 'IBM Plex Mono', monospace; letter-spacing: .5px; } .busy-indicator { position: fixed; z-index: 40; right: 22px; bottom: 20px; display: flex; align-items: center; gap: 8px; border: 1px solid #d7e1e4; border-radius: 6px; padding: 9px 12px; color: #526371; background: #fff; box-shadow: 0 5px 22px #12253a19; font-size: 11px; } .spin { animation: spin 1s linear infinite; } .boot-screen { display: grid; min-height: 100vh; place-content: center; justify-items: center; gap: 10px; color: var(--muted); font-size: 12px; } .boot-mark { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 9px; color: var(--accent); background: var(--accent-light); } .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); } @keyframes spin { to { transform: rotate(360deg); } } @keyframes pulse { 50% { opacity: .35; } } @media (max-width: 980px) { .auth-shell { grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); } .auth-visual { padding-right: 34px; padding-left: 34px; } .visual-footer { left: 34px; gap: 12px; font-size: 8px; } .code-sample { right: 5%; opacity: .2; } .auth-panel { padding: 36px; } .challenge-layout { grid-template-columns: minmax(0, 1.2fr) minmax(300px, .85fr); gap: 14px; } } @media (max-width: 760px) { .history-panel { top: 60px; right: 8px; width: calc(100% - 16px); max-height: calc(100vh - 70px); } .topbar-surface-backdrop { top: 53px; } .participant-row { grid-template-columns: minmax(0, 1fr) auto; gap: 5px 10px; } .participant-row strong { text-align: left; } .auth-shell { display: block; background: var(--page); } .auth-visual { display: none; } .auth-panel { min-height: 100vh; align-items: flex-start; padding: 30px 22px; } .auth-panel-inner { margin: 0 auto; padding-top: 5vh; } .mobile-brand { display: flex; margin-bottom: 50px; font-size: 10px; } .auth-footer { right: 22px; bottom: 20px; left: 22px; } .topbar { height: 53px; gap: 8px; padding: 0 13px; } .topbar-context { display: none; } .user-name { max-width: 94px; } .challenge-layout { display: flex; width: calc(100% - 24px); flex-direction: column; gap: 14px; margin: 18px auto 35px; } .editor-column, .side-column { width: 100%; } .challenge-heading { align-items: flex-end; } .challenge-heading h1 { max-width: 58vw; font-size: 15px; } .heading-stats { display: grid; justify-items: end; gap: 5px; font-size: 9px; } .editor-toolbar { flex-wrap: wrap; padding: 6px 8px; } .editor-cta-row { flex-wrap: wrap; } .file-picker select { width: 35vw; font-size: 10px; } .save-state { display: none; } .editor-actions { gap: 5px; } .subtle-button { min-height: 29px; padding: 0 7px; font-size: 9px; } .form-grid { grid-template-columns: 1fr; gap: 18px; } .hint-panel { min-height: 330px; } .chat-floating-panel { right: 12px; bottom: 76px; width: calc(100vw - 24px); height: min(72dvh, 620px); min-height: 300px; } .chat-launcher { right: 12px; bottom: 12px; width: 50px; height: 50px; } .busy-indicator { right: 74px; bottom: 18px; } .round-settings-grid { grid-template-columns: minmax(0, 1fr); } .results-layout { width: calc(100% - 24px); margin-top: 22px; } .score-breakdown { grid-template-columns: repeat(3,1fr); } .key-entry-form { grid-template-columns: minmax(0, 1fr); } .app-footer { width: calc(100% - 24px); font-size: 8px; } } @media (max-width: 520px) { .topbar .brand-lockup > span:not(.brand-mark), .user-name { display: none; } .user-menu { gap: 3px; } .keyless-notice { grid-template-columns: auto minmax(0, 1fr); gap: 10px; padding: 12px; } .keyless-notice-icon { width: 34px; height: 34px; } .keyless-connect-button { grid-column: 2; justify-self: start; } .setup-layout { width: calc(100% - 28px); margin-top: 42px; } .continue-challenge-panel { align-items: stretch; flex-direction: column; } .setup-panel { gap: 22px; padding: 20px 16px; } .round-join-row { grid-template-columns: minmax(0, 1fr); } .round-join-row > .button { width: 100%; } .managed-round-footer-actions { gap: 6px; } .managed-round-footer-actions .button { gap: 4px; padding-inline: 4px; font-size: 11px; } .managed-round-actions { gap: 5px; } }