File size: 18,259 Bytes
912d2b5 5080a18 912d2b5 5080a18 912d2b5 5080a18 912d2b5 5080a18 912d2b5 e0d876f ea934f7 5080a18 86b459c | 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 | /* SCQC interface. One family (Hind / Hind Siliguri) so Devanagari, Bengali and
Latin share proportions; the prompt text is the one large, memorable element. */
:root {
color-scheme: light;
--page: #f5f8fd;
--surface: #ffffff;
--ink: #16233c;
--ink-soft: #62718a;
--line: #dfe6f1;
--accent: #1769e8;
--accent-ink: #ffffff;
--ok: #1e7a52;
--ok-bg: #e3f2ea;
--attn: #9a5d07;
--attn-bg: #fbefd9;
--stop: #b42318;
--stop-bg: #fbe4e1;
--radius-lg: 16px;
--radius-sm: 10px;
--font: "Hind", "Hind Siliguri", "Noto Sans Devanagari", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
margin: 0;
background: var(--page);
color: var(--ink);
font-family: var(--font);
font-size: 17px;
line-height: 1.5;
padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px);
}
:lang(bn) { font-family: "Hind Siliguri", "Noto Sans Bengali", var(--font); }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 640px; margin: 0 auto; padding: 16px 20px 40px; }
.wrap.wide { max-width: 1100px; }
.bar {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
padding: 12px 20px; border-bottom: 1px solid var(--line); background: var(--surface);
}
.bar h1 { font-size: 1.05rem; font-weight: 600; margin: 0; }
.bar .meta { color: var(--ink-soft); font-size: 0.9rem; }
h2 { font-size: 1.35rem; line-height: 1.25; margin: 24px 0 8px; font-weight: 600; }
h3 { font-size: 1.05rem; margin: 20px 0 6px; font-weight: 600; }
p { margin: 0 0 12px; }
.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; }
.stack > * + * { margin-top: 14px; }
label { display: block; font-weight: 500; margin-bottom: 4px; }
input[type=text], input[type=password], select, textarea {
width: 100%; font: inherit; color: inherit; background: var(--surface);
border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 12px;
}
textarea { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.85rem; min-height: 320px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
button, .button {
font: inherit; font-weight: 600; cursor: pointer; border-radius: 999px;
padding: 11px 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
button.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
button.danger { color: var(--stop); border-color: var(--stop); }
button:disabled { opacity: 0.45; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* ---------- participant: the prompt is the hero */
.task-kind { color: var(--ink-soft); font-weight: 500; margin: 8px 0 4px; }
.prompt {
font-size: clamp(1.9rem, 7.5vw, 2.8rem); line-height: 1.45; font-weight: 500;
margin: 4px 0 18px; letter-spacing: 0.005em; word-break: break-word;
}
.prompt .w { border-radius: 4px; padding: 0 2px; transition: background-color .25s ease; }
.prompt .w.miss { text-decoration: underline dotted var(--attn) 3px; text-underline-offset: 8px; color: var(--attn); }
.prompt .w.sub { background: var(--attn-bg); }
.prompt .w.sub::after { content: attr(data-heard); display: block; font-size: 0.38em; line-height: 1.2; color: var(--attn); }
.prompt .w.sub { display: inline-block; text-align: center; }
.prompt-image { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.scenario { font-size: 1.25rem; line-height: 1.5; margin: 12px 0 18px; }
.meter { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; margin: 6px 0 4px; }
.meter > i { display: block; height: 100%; width: 0%; background: var(--ok); transition: width 60ms linear; }
.meter.hot > i { background: var(--stop); }
.meter-label { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--ink-soft); min-height: 1.4em; }
.record-zone { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 22px 0 8px; }
.rec {
width: 92px; height: 92px; border-radius: 50%; border: 0; padding: 0;
background: var(--stop); color: #fff; box-shadow: 0 0 0 6px var(--stop-bg);
}
.rec span { display: block; width: 30px; height: 30px; border-radius: 50%; background: #fff; transition: border-radius .2s, transform .2s; }
.rec.on span { border-radius: 6px; transform: scale(0.85); }
.rec.on { animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px var(--stop-bg); } }
@media (prefers-reduced-motion: reduce) { .rec.on { animation: none; } .meter > i { transition: none; } }
.timer { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.verdict { border-radius: var(--radius-lg); padding: 16px 18px; margin-top: 8px; }
.verdict h3 { margin: 0 0 6px; }
.verdict ul { margin: 6px 0 0; padding-left: 20px; }
.verdict.ok { background: var(--ok-bg); }
.verdict.ok h3 { color: var(--ok); }
.verdict.attn { background: var(--attn-bg); }
.verdict.attn h3 { color: var(--attn); }
.verdict.stop { background: var(--stop-bg); }
.verdict.stop h3 { color: var(--stop); }
.verdict.neutral { background: var(--surface); border: 1px solid var(--line); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 0.82rem; font-weight: 600; background: var(--line); color: var(--ink); }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.attn { background: var(--attn-bg); color: var(--attn); }
.pill.stop { background: var(--stop-bg); color: var(--stop); }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 28px; font-size: 0.92rem; }
.footer-links button { padding: 0; border: 0; background: none; color: var(--accent); font-weight: 500; }
/* ---------- reviewer / admin */
.split { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.queue { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.queue li + li { border-top: 1px solid var(--line); }
.queue button { width: 100%; border: 0; border-radius: 0; justify-content: flex-start; text-align: left; padding: 12px 14px; font-weight: 400; display: block; background: none; }
.queue button[aria-current="true"] { background: var(--ok-bg); }
.queue .t { font-weight: 600; display: block; }
.criteria { display: grid; gap: 10px; }
.criterion { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.seg button { border: 0; border-radius: 0; padding: 6px 14px; font-weight: 500; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.checks label { display: inline-flex; gap: 6px; font-weight: 400; align-items: center; }
table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink-soft); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }
.errors { color: var(--stop); padding-left: 20px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.9rem; }
.kv dt { color: var(--ink-soft); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }
audio { width: 100%; }
.align-line { font-size: 1.35rem; line-height: 1.8; }
.align-line .match { }
.align-line .del { color: var(--stop); text-decoration: line-through; }
.align-line .sub { color: var(--attn); }
.align-line .ins { color: var(--accent); }
.align-line small { font-size: 0.7em; color: var(--ink-soft); }
.hidden { display: none !important; }
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
background: var(--ink); color: var(--page); padding: 10px 18px; border-radius: 99px; font-size: 0.92rem; max-width: 90vw; }
/* ---------- tabs, lists, cards (contributor app and admin panel) */
.tabs { display: flex; gap: 4px; padding: 0 12px; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; border-radius: 0; background: none; padding: 12px 14px; font-weight: 500; color: var(--ink-soft);
border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }
.list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.list > li { padding: 12px 14px; }
.list > li + li { border-top: 1px solid var(--line); }
.list-row { display: flex; align-items: center; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.line-clamp { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; }
.dot.ok { background: var(--ok); } .dot.attn { background: var(--attn); } .dot.stop { background: var(--stop); }
.icon-btn { width: 40px; height: 40px; padding: 0; border-radius: 50%; flex: none; color: var(--accent); font-size: 0.9rem; }
.big-number { font-size: 2.6rem; font-weight: 600; margin: 4px 0; font-variant-numeric: tabular-nums; }
.profile-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-ink);
display: grid; place-items: center; font-weight: 600; font-size: 1.1rem; flex: none; }
.likert { border: 0; padding: 0; margin: 0 0 6px; }
.likert legend { font-weight: 500; margin-bottom: 6px; }
.likert .seg label { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; padding: 8px 0; cursor: pointer; font-weight: 500; margin: 0; }
.likert .seg input { position: absolute; opacity: 0; pointer-events: none; }
.likert .seg label:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.likert .seg label:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: -3px; }
.conf { margin-top: 10px; }
.conf-meter { height: 8px; }
.conf-meter > i { background: var(--accent); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.stat .label { color: var(--ink-soft); font-size: 0.9rem; }
.stat .value { font-size: 1.9rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.2; margin-top: 4px; }
.stat .sub { color: var(--ink-soft); font-size: 0.85rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { padding: 6px 14px; font-weight: 500; font-size: 0.92rem; }
.chips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chart { width: 100%; height: auto; display: block; }
.chart text { fill: var(--ink-soft); font-size: 11px; font-family: var(--font); }
.chart .bar { fill: var(--accent); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.hbar { display: grid; grid-template-columns: minmax(90px, 140px) 1fr minmax(80px, auto); align-items: center; gap: 10px; margin: 6px 0; }
.hbar .track { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.hbar .track > i { display: block; height: 100%; background: var(--accent); }
.userchip { display: inline-flex; align-items: center; gap: 8px; }
.userchip .avatar { width: 32px; height: 32px; font-size: 0.8rem; }
details.advanced > summary { cursor: pointer; font-weight: 600; margin: 8px 0; }
/* SCQC v1.1 — unified role-based entry */
.entry-page{min-height:100vh;background:#f5f7fc;color:#19253b;display:grid;place-items:center}
.entry-layout{width:min(1050px,calc(100% - 36px));display:grid;grid-template-columns:1.12fr .88fr;gap:64px;align-items:center;padding:60px 0}
.entry-intro h1{font-size:clamp(2.3rem,4vw,3.9rem);line-height:1.13;letter-spacing:-.045em;margin:16px 0 22px;font-weight:700}
.entry-intro h1 span{color:#315dec}.entry-sub{font-size:1.13rem;max-width:460px;color:#64718b}
.entry-mark{width:54px;height:54px;border-radius:16px;background:#e6edff;color:#315dec;display:grid;place-items:center;font-size:2rem}
.eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.13em;color:#526aa5;margin:26px 0 0}
.entry-features{display:flex;gap:10px;flex-wrap:wrap;margin-top:30px}.entry-features span{background:#e8eefc;border-radius:30px;padding:7px 12px;color:#35528e;font-size:.83rem}
.entry-card{background:white;border:1px solid #e1e7f2;box-shadow:0 18px 60px rgba(36,57,98,.09);padding:38px;border-radius:24px}
.entry-card-head{text-align:center;margin-bottom:28px}.entry-card-head h2{margin:10px 0;font-size:1.55rem}.entry-card-head p{font-size:.91rem}
.entry-icon{background:#e7eeff;color:#315dec;width:54px;height:54px;border-radius:16px;display:grid;place-items:center;margin:auto;font-size:1.8rem}
.entry-card label{font-size:.88rem}.entry-card input{padding:13px 14px;border-radius:10px}.entry-submit{width:100%;padding:13px!important;border-radius:10px!important}
.entry-foot{text-align:center;color:#77829a;font-size:.78rem;margin:22px 0 0}
@media(max-width:740px){.entry-layout{grid-template-columns:1fr;gap:24px;padding:28px 0}.entry-intro h1{font-size:2.3rem}.entry-intro .entry-features{display:none}.entry-card{padding:25px}}
/* Public reviewer sandbox */
.demo-entry{margin-top:20px;padding:18px;border:1px solid #d9e1ef;border-radius:14px;text-align:center}.demo-button{display:block;background:#e8edff;color:#254cc4;padding:13px;border-radius:10px;font-weight:700;text-decoration:none}.demo-page{background:#f6f8fc;color:#1c2941;min-height:100vh}.demo-header{max-width:1080px;margin:auto;padding:20px 24px;display:flex;gap:15px;justify-content:space-between;align-items:center}.demo-brand{font-weight:800;text-decoration:none;font-size:20px}.demo-badge{font-size:11px;background:#e8edff;color:#3453a6;padding:7px 10px;border-radius:20px;font-weight:700}.demo-shell{max-width:900px;margin:30px auto;padding:0 22px}.demo-shell h1{font-size:clamp(26px,4vw,42px);line-height:1.15;margin:12px 0}.demo-switch,.demo-steps{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px}.demo-switch button,.demo-steps button,.demo-decisions button{background:#fff;border:1px solid #d9e1ef;border-radius:10px;padding:12px 15px;color:#2c3851;cursor:pointer}.demo-switch button.selected,.demo-steps button.selected{background:#254cc4;color:white;border-color:#254cc4}.demo-content{margin-top:20px;background:white;border:1px solid #dfe5ef;border-radius:18px;padding:30px;min-height:270px}.demo-content h2{margin:0 0 8px}.demo-lines{display:grid;gap:10px;margin-top:20px}.demo-line{background:#f5f7fb;border-radius:9px;padding:14px;line-height:1.5;overflow-wrap:anywhere}.demo-decisions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.demo-decisions button:hover{background:#e8edff}.demo-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:18px 0}.demo-footer button{padding:12px 20px;border-radius:10px}.demo-disclaimer{font-size:12px;color:#68758b;margin:28px 0 50px;line-height:1.6}@media(max-width:600px){.demo-header{flex-wrap:wrap}.demo-content{padding:18px}.demo-footer{flex-wrap:wrap}}
/* SCQC v1.4: calm, accessible light dashboard. Explicit dark mode remains opt-in. */
:root[data-theme="dark"] {color-scheme:dark;--page:#121722;--surface:#1b2230;--ink:#eef1f6;--ink-soft:#a7b0c0;--line:#2e3748;--accent:#8f9dff;--accent-ink:#10142a;--ok:#6fd3a2;--ok-bg:#17352a;--attn:#f0bd6a;--attn-bg:#3a2c14;--stop:#ff8f84;--stop-bg:#3d1d1a;}
body {font-size:16px;line-height:1.5;}
.wrap.wide {max-width:1180px;}
.panel {box-shadow:0 5px 22px rgba(33,65,113,.045);padding:24px;}
.bar {box-shadow:0 1px 8px rgba(33,65,113,.045);}
.bar h1 {font-size:1.15rem;letter-spacing:-.025em;}
.tabs {gap:8px;padding-inline:max(16px,calc((100vw - 1180px)/2));}
.tabs button {padding:14px 17px;}
.tabs button[aria-current="page"] {background:#f1f6ff;}
button,.button {border-radius:10px;padding:10px 16px;}
button.primary {box-shadow:0 3px 8px rgba(23,105,232,.12);}
input[type=text],input[type=password],select,textarea {min-height:43px;}
input:focus-visible,select:focus-visible,textarea:focus-visible {outline:2px solid var(--accent);outline-offset:1px;}
.panel h2 {letter-spacing:-.025em;}
.project-languages {border:1px solid var(--line);border-radius:12px;padding:12px 15px;background:var(--surface);}
.project-languages summary {cursor:pointer;font-weight:600;color:var(--ink);}
.project-languages .checks {margin-top:15px;gap:10px 18px;}
.project-languages .checks label {font-size:.9rem;}
.project-advanced {border:1px solid var(--line);border-radius:12px;padding:10px 15px;}
.project-advanced summary {cursor:pointer;font-weight:600;}
.project-advanced .row {margin-top:14px;}
.workflow-panel {background:#f4f8ff!important;border:1px solid #dce8fc;}
:root[data-theme="dark"] .workflow-panel {background:var(--surface)!important;border-color:var(--line);}
@media(max-width:700px){.panel{padding:17px}.tabs{padding:0 8px}.project-languages .checks{display:grid;grid-template-columns:1fr 1fr;gap:8px}}
/* v1.6 dedicated project workspace */
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin-top:16px}
.project-grid .panel{display:flex;flex-direction:column;gap:12px}
.project-grid .actions{margin-top:auto;flex-wrap:wrap}
|