apertus-decide / style.css
andreasmartin's picture
Explain decision clarity and refine professional result presentation
e632273 verified
Raw History Blame Contribute Delete
6.97 kB
.gradio-container {max-width:1240px!important;margin:auto!important;font-family:Inter,system-ui,sans-serif!important;}
.dark .gradio-container {color:var(--body-text-color);}
.hero {padding:26px 0 24px;margin:10px 0 8px;border-bottom:1px solid var(--border-color-primary);position:relative;}
.hero:after {content:'';position:absolute;bottom:-1px;left:0;width:70px;height:2px;background:#a52b40;}
.hero {background:radial-gradient(ellipse at 100% 0,rgba(165,43,64,.045),transparent 60%);}
.hero-title {display:flex;align-items:center;justify-content:space-between;gap:20px;}
.hero h1 {font-size:clamp(28px,4vw,38px);font-weight:600;letter-spacing:-.035em;line-height:1.2;margin:0 0 10px;}
.hero p {font-size:14px;line-height:1.7;color:var(--body-text-color-subdued);margin:0;}
.badge {font-size:11px;white-space:nowrap;letter-spacing:.04em;padding:10px 15px;border:1px solid var(--border-color-primary);border-radius:24px;background:var(--block-background-fill);}
.hero-links {display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;}
.hero-links a {display:inline-flex;align-items:center;gap:9px;font-size:12px;font-weight:500;text-decoration:none;color:var(--body-text-color);padding:9px 14px;border:1px solid var(--border-color-primary);border-radius:9px;background:var(--block-background-fill);transition:border-color .15s,background .15s;}
.hero-links a:hover {border-color:#a52b40;background:rgba(165,43,64,.06);}
.hero-links a:focus-visible {outline:2px solid #a52b40;outline-offset:3px;}
.hero-links svg {width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.use-case {white-space:pre-line!important;text-align:left!important;justify-content:flex-start!important;line-height:1.8!important;padding:16px 18px!important;border-radius:10px!important;transition:border-color .15s,background .15s;}
.use-case:hover {border-color:#a52b40!important;background:rgba(165,43,64,.06)!important;}
.workspace-panel,.results-panel {padding:24px!important;border:1px solid var(--border-color-primary);border-radius:16px;gap:20px!important;background:var(--block-background-fill);box-shadow:0 5px 22px rgba(12,20,32,.035);}
.workspace-panel h3,.results-panel h3 {margin:0!important;}
.tabitem {padding:20px 0 0!important;}
.empty-state {min-height:330px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border:1px dashed var(--border-color-primary);border-radius:10px;padding:28px;}
.empty-state h3 {font-size:17px;font-weight:550;letter-spacing:-.02em;margin:18px 0 10px!important;}
.empty-state p {font-size:13px;line-height:1.8;color:var(--body-text-color-subdued);}
.result-placeholder {width:105px;display:flex;flex-direction:column;gap:9px;align-items:flex-start;}
.placeholder-line {display:block;height:6px;width:100%;background:var(--border-color-primary);border-radius:8px;}
.placeholder-line:nth-child(2) {width:72%;background:rgba(165,43,64,.35);}
.placeholder-line:nth-child(3) {width:44%;}
.result-meta {display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:var(--body-text-color-subdued);margin:0 0 16px;font-variant-numeric:tabular-nums;}
.result-card {padding:24px;border:1px solid var(--border-color-primary);border-radius:14px;background:var(--block-background-fill);margin-bottom:18px;box-shadow:0 3px 12px rgba(12,20,32,.025);}
.result-card:last-child {margin-bottom:0;}
.card-heading {display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:24px;}
.type-badge {font-size:10px;font-weight:600;letter-spacing:.04em;padding:5px 9px;border-radius:6px;border:1px solid var(--border-color-primary);color:var(--body-text-color-subdued);}
.eyebrow {font-size:11px;font-weight:600;letter-spacing:.06em;color:var(--body-text-color-subdued);overflow-wrap:anywhere;}
.decision-value {font-size:34px;line-height:1.2;font-weight:600;letter-spacing:-.035em;margin:6px 0 24px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.result-caption {margin:0!important;font-size:11px!important;}
.distribution-heading {font-size:11px;font-weight:600;letter-spacing:.02em;padding-top:18px;border-top:1px solid var(--border-color-primary);margin-bottom:16px;color:var(--body-text-color-subdued);}
.candidate {padding:0 0 15px;}
.candidate.leading .prob-label {font-weight:600;}
.candidate:not(.leading) .track>div {background:#8792a2;}
.candidate:not(.leading) .prob-label {color:var(--body-text-color-subdued);}
.muted {font-size:12px;color:var(--body-text-color-subdued);margin:8px 0 18px;}
.prob-label {display:flex;justify-content:space-between;gap:16px;font-size:12px;line-height:1.6;margin-top:13px;}
.prob-label span {overflow-wrap:anywhere;}
.prob-label b {white-space:nowrap;font-variant-numeric:tabular-nums;}
.track {height:6px;background:var(--background-fill-secondary);border-radius:6px;margin-top:6px;overflow:hidden;}
.track>div {height:100%;border-radius:6px;background:#a52b40;}
.clarity {margin-top:10px;padding:18px;border:1px solid var(--border-color-primary);border-radius:10px;background:rgba(125,137,155,.045);}
.clarity-header {display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;}
.clarity-header strong {font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;}
.clarity-header small {font-size:11px;font-weight:400;color:var(--body-text-color-subdued);}
.clarity-meter {height:5px;margin:14px 0 8px;background:var(--border-color-primary);border-radius:6px;overflow:hidden;}
.clarity-meter>span {display:block;height:100%;border-radius:6px;background:#8493aa;}
.clarity-scale {display:flex;justify-content:space-between;font-size:10px;color:var(--body-text-color-subdued);}
.clarity p {font-size:11px;line-height:1.7;color:var(--body-text-color-subdued);margin:14px 0 0;}
.clarity summary {font-size:11px;cursor:pointer;margin-top:13px;color:var(--body-text-color);}
.clarity details[open] {padding-bottom:2px;}
.result-note p {font-size:11px!important;line-height:1.6!important;color:var(--body-text-color-subdued);}
.studio-footer {display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding:22px 0 8px;margin-top:12px;border-top:1px solid var(--border-color-primary);font-size:11px;color:var(--body-text-color-subdued);}
button.primary {background:#a52b40!important;border-color:#a52b40!important;color:white!important;box-shadow:0 4px 10px rgba(165,43,64,.12);transition:background .15s,box-shadow .15s;}
button.primary:hover {background:#8b2033!important;box-shadow:0 5px 14px rgba(165,43,64,.2);}
button:focus-visible {outline:2px solid #a52b40!important;outline-offset:3px;}
@media(prefers-reduced-motion:reduce) {*,*:before,*:after {transition:none!important;}}
@media(max-width:680px) {.hero-title {align-items:flex-start;flex-direction:column;gap:12px;}.hero {padding:20px 0;}.hero-links {gap:18px;margin-top:16px;}.workspace-panel,.results-panel {padding:16px!important;}.empty-state {min-height:230px;}}