Spaces:
Sleeping
Sleeping
| :root { | |
| --ink: #17201f; | |
| --muted: #66706e; | |
| --paper: #fffefb; | |
| --canvas: #f1f4f1; | |
| --line: #d9dfdc; | |
| --accent: #136f63; | |
| --accent-dark: #0c554c; | |
| --accent-soft: #e5f3ef; | |
| --warning: #9b4b25; | |
| --warning-soft: #fff0e8; | |
| --radius: 13px; | |
| font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |
| } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; background: var(--canvas); color: var(--ink); line-height: 1.5; } | |
| h1, h2 { line-height: 1.18; } | |
| h2 { font-size: 1.15rem; margin: 0 0 .5rem; } | |
| .muted { color: var(--muted); } | |
| .fineprint { color: var(--muted); font-size: .82rem; } | |
| .hidden { display: none ; } | |
| .eyebrow, .step-label { | |
| color: var(--accent); | |
| font-size: .76rem; | |
| font-weight: 800; | |
| letter-spacing: .08em; | |
| text-transform: uppercase; | |
| } | |
| .card { | |
| background: var(--paper); | |
| border: 1px solid var(--line); | |
| border-radius: var(--radius); | |
| box-shadow: 0 3px 14px rgba(22, 47, 42, .055); | |
| padding: 1.45rem; | |
| } | |
| .center-page { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; } | |
| .card-narrow { max-width: 590px; width: 100%; } | |
| .instruction-card { max-width: 760px; width: 100%; } | |
| .card-narrow h1 { margin: .35rem 0 .75rem; } | |
| .instruction-card h1 { margin: .35rem 0 .75rem; } | |
| .instruction-grid { display: grid; gap: .7rem; grid-template-columns: 1fr 1fr; margin: 1rem 0; } | |
| .instruction-grid > div { border: 1px solid var(--line); border-radius: 10px; padding: .8rem; } | |
| .instruction-grid p { color: var(--muted); font-size: .9rem; margin: .25rem 0 0; } | |
| .practice-form { display: grid; gap: .8rem; margin-top: 1rem; } | |
| .practice-item legend { font-family: ui-serif, Georgia, serif; font-weight: 650; } | |
| .notice { background: var(--accent-soft); border-radius: 10px; padding: .8rem 1rem; margin: 1rem 0; } | |
| .error, .error-banner { color: #8b302d; font-weight: 650; } | |
| .error-banner { background: #fff0ef; border: 1px solid #efcfcc; padding: .8rem 1rem; border-radius: 10px; } | |
| .stack-form { display: grid; gap: 1rem; margin-top: 1.2rem; } | |
| .stack-form > label { font-weight: 650; } | |
| input[type="text"], input[type="password"], select, textarea { | |
| width: 100%; | |
| border: 1px solid #bfc9c5; | |
| border-radius: 9px; | |
| background: white; | |
| color: var(--ink); | |
| font: inherit; | |
| padding: .65rem .75rem; | |
| margin-top: .28rem; | |
| } | |
| textarea { resize: vertical; } | |
| fieldset { border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem; } | |
| legend { font-weight: 700; padding: 0 .3rem; } | |
| .radio-line, .consent-line { display: flex; gap: .55rem; align-items: flex-start; margin: .4rem 0; font-weight: 450 ; } | |
| .btn { | |
| border: 1px solid var(--line); | |
| border-radius: 10px; | |
| background: white; | |
| color: var(--ink); | |
| cursor: pointer; | |
| font: inherit; | |
| font-weight: 700; | |
| padding: .65rem 1rem; | |
| } | |
| .btn-primary { background: var(--accent); color: white; border-color: var(--accent); } | |
| .btn-primary:hover { background: var(--accent-dark); } | |
| .btn:disabled { opacity: .48; cursor: not-allowed; } | |
| .btn-block { width: 100%; } | |
| .btn-secondary { background: white; } | |
| .btn-flag { color: var(--warning); border-color: #e4c2b4; } | |
| .btn-flag-confirm { background: var(--warning); color: white; margin-top: .7rem; } | |
| .inline-form { display: inline; } | |
| .link-button { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; } | |
| .topbar { | |
| align-items: center; | |
| background: rgba(255, 254, 251, .94); | |
| border-bottom: 1px solid var(--line); | |
| display: flex; | |
| justify-content: space-between; | |
| padding: .8rem 1.2rem; | |
| position: sticky; | |
| top: 0; | |
| z-index: 10; | |
| } | |
| .topbar-right { align-items: center; display: flex; gap: .9rem; font-size: .86rem; } | |
| .phase-chip, .condition-chip { | |
| background: var(--accent-soft); | |
| border-radius: 999px; | |
| color: var(--accent-dark); | |
| display: inline-block; | |
| font-size: .75rem; | |
| font-weight: 750; | |
| margin-left: .45rem; | |
| padding: .18rem .52rem; | |
| } | |
| .condition-chip { margin: 0 0 1rem; } | |
| .page { display: grid; gap: 1rem; margin: 0 auto; max-width: 920px; padding: 1.25rem 1rem 5rem; } | |
| .task-card { border-top: 4px solid var(--accent); } | |
| .qa-block + .qa-block { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1rem; } | |
| .qa-label { color: var(--muted); font-size: .75rem; font-weight: 800; letter-spacing: .06em; margin-bottom: .3rem; text-transform: uppercase; } | |
| .qa-text { font-family: ui-serif, Georgia, serif; font-size: 1.08rem; white-space: pre-wrap; } | |
| .audio-block { margin-top: 1rem; } | |
| .audio-block audio { display: block; margin-bottom: .3rem; width: 100%; } | |
| .form-section + .form-section { border-top: 1px solid var(--line); margin-top: 1.35rem; padding-top: 1.35rem; } | |
| .form-section h2 { margin-top: .35rem; } | |
| .help { color: var(--muted); margin: .3rem 0 .8rem; } | |
| .choice-list { display: grid; gap: .55rem; } | |
| .choice-card { | |
| align-items: flex-start; | |
| border: 1px solid var(--line); | |
| border-radius: 10px; | |
| cursor: pointer; | |
| display: flex; | |
| gap: .65rem; | |
| padding: .7rem .8rem; | |
| } | |
| .choice-card:has(input:checked), .pill-radio:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); } | |
| .choice-card small { color: var(--muted); display: block; margin-top: .12rem; } | |
| .scale-field { display: grid; gap: .45rem; margin-top: 1rem; } | |
| .scale-field output { background: var(--accent); border-radius: 6px; color: white; font-weight: 800; margin: 0 .4rem; padding: .08rem .4rem; } | |
| input[type="range"] { accent-color: var(--accent); width: 100%; } | |
| .field-group { margin-top: 1rem; } | |
| .field-title { display: block; font-weight: 750; margin-bottom: .5rem; } | |
| .option-row { display: flex; flex-wrap: wrap; gap: .48rem; } | |
| .pill-radio { border: 1px solid var(--line); border-radius: 999px; cursor: pointer; padding: .45rem .75rem; } | |
| .pill-radio input { margin-right: .36rem; } | |
| .descriptor-grid { overflow-x: auto; } | |
| .descriptor-head, .descriptor-row { | |
| align-items: center; | |
| display: grid; | |
| gap: .25rem; | |
| grid-template-columns: minmax(145px, 1fr) repeat(6, 52px); | |
| min-width: 520px; | |
| } | |
| .descriptor-head { color: var(--muted); font-size: .67rem; text-align: center; } | |
| .descriptor-row { border-top: 1px solid #edf0ee; padding: .48rem 0; } | |
| .descriptor-row label { cursor: pointer; text-align: center; } | |
| .descriptor-row label span { border-radius: 7px; display: inline-block; font-size: .78rem; padding: .24rem .38rem; } | |
| .descriptor-row input { position: absolute; opacity: 0; } | |
| .descriptor-row input:checked + span { background: var(--accent); color: white; font-weight: 800; } | |
| .actions { border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; padding-top: 1.1rem; } | |
| .flag-panel { background: var(--warning-soft); border: 1px solid #e4c2b4; border-radius: 10px; margin-top: 1rem; padding: 1rem; } | |
| @media (max-width: 680px) { | |
| .topbar { align-items: flex-start; gap: .5rem; } | |
| .topbar-right { align-items: flex-end; flex-direction: column; gap: .2rem; } | |
| .card { padding: 1rem; } | |
| .qa-text { font-size: 1rem; } | |
| .instruction-grid { grid-template-columns: 1fr; } | |
| } | |