:root{--navy:#06254b;--navy-2:#0b3b72;--teal:#078d98;--teal-soft:#e8f7f7;--ink:#102a4c;--muted:#64748b;--line:#dbe7ef;--surface:#f6fafc}
body{font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);background:var(--surface)}
.app-navbar{background:linear-gradient(90deg,#041d3b,#082e5c);min-height:76px;box-shadow:0 5px 20px rgba(3,29,57,.15)}
.navbar-brand{font-size:1.35rem}.brand-icon{display:grid;place-items:center;width:40px;height:40px;border:2px solid #2dd4bf;border-radius:50%;color:#5eead4;font-size:1.35rem}.navbar .nav-link{font-weight:600;padding:.8rem 1rem!important;border-bottom:3px solid transparent}.navbar .nav-link.active,.navbar .nav-link:hover{color:#fff;border-bottom-color:#20c4c9}.decision-badge{border:1px solid #23b8bf;border-radius:999px;padding:.45rem .8rem;color:#d9ffff;font-size:.85rem}.demo-banner{background:#fff3cd;color:#664d03;border-bottom:1px solid #ffecb5;font-size:.9rem}
.hero-section{background:radial-gradient(circle at 85% 20%,#d9f4f3 0,transparent 35%),linear-gradient(135deg,#fff,#f2f8fc)}.eyebrow{color:var(--teal);font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.8rem}.display-4,.page-title{color:var(--navy);letter-spacing:-.035em}.page-title{font-weight:800;margin:.35rem 0 .25rem}.btn-primary{background:linear-gradient(135deg,var(--navy-2),var(--teal));border:0}.btn-primary:hover{background:linear-gradient(135deg,var(--navy),#05747d)}.btn-outline-primary{color:var(--navy-2);border-color:var(--navy-2)}
.hero-dashboard{border-radius:24px!important;background:linear-gradient(150deg,#fff,#edf8fa)}.status-dot{background:#dff7ee;color:#08775f;border-radius:999px;padding:.35rem .7rem;font-size:.75rem;font-weight:700}.metric-card,.explain-preview{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.2rem}.metric-card{display:grid;text-align:center;gap:.25rem}.metric-card i{font-size:1.5rem;color:var(--teal)}.metric-card strong{font-size:1.7rem;color:var(--navy)}.metric-card span{font-size:.8rem;color:var(--muted)}.contribution{height:9px;border-radius:99px;background:#2f93a0;margin-top:14px}.contribution.positive{background:#e85d75}
.feature-card,.form-section,.result-card,.side-card,.chart-card,.content-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:1.6rem;box-shadow:0 8px 24px rgba(22,57,83,.07)}.feature-card h3{font-size:1.15rem;font-weight:800}.feature-card p{color:var(--muted);margin:0}.feature-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--teal-soft);color:var(--teal);font-size:1.7rem;margin-bottom:1rem}.disclaimer{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;border-radius:14px;background:#eaf7fb;border:1px solid #abdce3;color:#075a65;font-weight:600}.disclaimer i{font-size:1.4rem}.disclaimer.danger{background:#fff0f0;border-color:#f5b4b4;color:#a21818}
.validation-note{display:flex;align-items:center;gap:.8rem;background:#eaf7fb;border:1px solid #c3e5ea;border-radius:14px;padding:.8rem 1rem;color:#15576a}.validation-note i{font-size:1.3rem}.form-section h2,.side-card h2{font-size:1.1rem;font-weight:800;padding-bottom:.9rem;border-bottom:1px solid var(--line);margin-bottom:1.2rem}.form-section h2 i,.side-card h2 i{color:var(--teal);margin-right:.5rem}.form-control,.form-select{min-height:48px;border-color:#cad9e3}.form-control:focus,.form-select:focus{border-color:var(--teal);box-shadow:0 0 0 .2rem rgba(7,141,152,.12)}
.risk-pill{display:inline-block;padding:.65rem 1rem;border-radius:999px;font-weight:800}.probability{font-size:4.4rem;line-height:1;font-weight:900;margin:1.5rem 0 .5rem}.gauge{position:relative;height:190px;overflow:hidden}.gauge-arc{width:100%;height:200%;border-radius:50%;background:conic-gradient(from 270deg,#2eaa61 0 16.7%,#f0b323 16.7% 33.3%,#dc3545 33.3% 50%,#edf2f5 50%);position:absolute;top:15px}.gauge-center{position:absolute;left:12%;right:12%;top:70px;height:150px;border-radius:50% 50% 0 0;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center}.gauge-center span{color:var(--muted)}.gauge-center strong{font-size:2rem}.result-detail{display:grid;grid-template-columns:auto 1fr;column-gap:.8rem;align-items:center}.result-detail i{grid-row:1/3;font-size:1.6rem;color:var(--teal)}.result-detail span{font-size:.78rem;color:var(--muted)}.result-detail strong{font-size:.93rem}.summary-row{display:flex;justify-content:space-between;padding:.9rem 0;border-bottom:1px solid var(--line)}.summary-row:last-child{border:0}
.prediction-context{display:grid;grid-template-columns:repeat(3,1fr);background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 20px rgba(22,57,83,.06)}.prediction-context>div{display:grid;padding:1.2rem 1.5rem;border-right:1px solid var(--line)}.prediction-context>div:last-child{border:0}.prediction-context span{font-size:.8rem;color:var(--muted)}.chart-card h2{font-size:1.25rem;font-weight:800;margin:0}.chart-card>p{color:var(--muted);font-size:.9rem}.chart-wrap{height:480px}.legend-note{display:flex;flex-wrap:wrap;gap:1.2rem;font-size:.8rem;color:var(--muted);margin-top:1rem}.legend-box{display:inline-block;width:12px;height:12px;margin-right:.4rem}.legend-box.positive{background:#e83e6f}.legend-box.negative{background:#1877d2}.content-card h2{font-size:1.15rem;font-weight:800;margin-top:1.5rem}
@media(max-width:991px){.decision-badge{display:inline-block;margin:1rem 0}.navbar .nav-link{border:0}.prediction-context{grid-template-columns:1fr}.prediction-context>div{border-right:0;border-bottom:1px solid var(--line)}.chart-wrap{height:420px}}
@media(max-width:575px){.probability{font-size:3.4rem}.page-title{font-size:2rem}.feature-card,.form-section,.result-card,.side-card,.chart-card{padding:1.1rem}.chart-wrap{height:360px}}

/* Elegant research prototype section — extends the original visual system. */
.about-hero{background:radial-gradient(circle at 82% 18%,#cceeed 0,transparent 32%),linear-gradient(135deg,#fff,#eef7fb);border-bottom:1px solid var(--line)}
.research-tags{display:flex;flex-wrap:wrap;gap:.75rem}.research-tags span{display:inline-flex;align-items:center;gap:.35rem;padding:.55rem .85rem;background:#fff;border:1px solid #cce3e8;border-radius:999px;color:var(--navy-2);font-size:.85rem;font-weight:700;box-shadow:0 5px 15px rgba(22,57,83,.05)}
.prototype-seal{position:relative;overflow:hidden;display:flex;min-height:270px;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;border-radius:28px;color:#fff;background:linear-gradient(145deg,#05264b,#087f8b);box-shadow:0 22px 45px rgba(6,37,75,.24)}.prototype-seal:before{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.12);border-radius:50%;top:-70px;right:-45px}.prototype-seal .seal-icon{display:grid;place-items:center;width:74px;height:74px;border:1px solid rgba(255,255,255,.35);border-radius:24px;background:rgba(255,255,255,.12);font-size:2.25rem;margin-bottom:1.2rem}.prototype-seal span{font-size:.75rem;text-transform:uppercase;letter-spacing:.16em;color:#9fe9e4}.prototype-seal strong{font-size:1.65rem;margin:.25rem 0}.prototype-seal small{color:#d4f5f2}
.section-heading{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.section-heading h2{font-size:1.35rem;margin:0!important}.section-number{display:grid;place-items:center;min-width:46px;height:46px;border-radius:15px;background:var(--teal-soft);color:var(--teal);font-weight:900}
.developer-card{position:relative;overflow:hidden;padding:1.8rem;border-radius:22px;color:#fff;background:linear-gradient(155deg,#082c58,#075d70);box-shadow:0 12px 30px rgba(6,37,75,.18)}.developer-card:after{content:"MTK";position:absolute;right:-8px;bottom:-28px;font-size:6rem;font-weight:900;color:rgba(255,255,255,.05)}.developer-card .eyebrow{color:#7de5df}.developer-card h2{font-size:1.45rem;margin:.65rem 0;line-height:1.25}.developer-card p{color:#d8edf2;position:relative;z-index:1}.developer-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:17px;background:rgba(255,255,255,.12);font-size:1.55rem;margin-bottom:1.25rem}.developer-line{width:45px;height:3px;background:#38d1c6;border-radius:9px;margin:1rem 0}.developer-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem .7rem;border:1px solid rgba(255,255,255,.22);border-radius:10px;font-size:.78rem;background:rgba(255,255,255,.08);position:relative;z-index:1}
.method-card{position:relative;background:#fff;border:1px solid var(--line);border-radius:20px;padding:1.5rem;box-shadow:0 8px 24px rgba(22,57,83,.06)}.method-card>span{font-size:.7rem;font-weight:800;letter-spacing:.12em;color:var(--teal)}.method-card>i{float:right;font-size:1.55rem;color:var(--teal)}.method-card h3{clear:both;padding-top:1rem;font-size:1.15rem;font-weight:800}.method-card p{font-size:.9rem;color:var(--muted);margin:0}
.model-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.model-stat-grid>div{display:grid;padding:1rem;border-radius:15px;background:#f5fafc;border:1px solid var(--line)}.model-stat-grid span{font-size:.75rem;color:var(--muted)}.model-stat-grid strong{font-size:1.55rem;color:var(--navy)}.model-stat-grid small{font-size:.7rem;color:var(--teal)}
@media(max-width:767px){.model-stat-grid{grid-template-columns:repeat(2,1fr)}.prototype-seal{min-height:230px}}
.developer-partner{font-size:1rem;font-weight:800;color:#9fe9e4;margin:0 0 .9rem;line-height:1.4}
.history-counter{display:flex;align-items:center;gap:.8rem;min-width:190px;padding:.85rem 1rem;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 7px 20px rgba(22,57,83,.06)}.history-counter>i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--teal-soft);color:var(--teal);font-size:1.25rem}.history-counter div{display:grid}.history-counter span{font-size:.72rem;color:var(--muted)}.history-counter strong{color:var(--navy)}
.history-card{padding:0;overflow:hidden}.history-table{margin:0}.history-table thead th{padding:1rem 1.1rem;background:#f2f8fa;color:var(--navy);font-size:.76rem;text-transform:uppercase;letter-spacing:.04em;border-bottom:1px solid var(--line);white-space:nowrap}.history-table tbody td{padding:1rem 1.1rem;border-color:#eaf0f4;vertical-align:middle}.history-table td small{display:block;margin-top:.18rem;color:var(--muted);font-size:.72rem}.history-id{font-weight:800;color:var(--teal)}.probability-mini{font-size:1.05rem;font-weight:900;color:var(--navy)}.history-status,.model-chip{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .65rem;border-radius:999px;font-size:.76rem;font-weight:800;white-space:nowrap}.history-status.positive{background:#fff0f0;color:#b42323}.history-status.negative{background:#e9f8ef;color:#157347}.model-chip{background:#eef3ff;color:#3e55a5}.history-note{display:flex;align-items:center;gap:.7rem;padding:.9rem 1.15rem;background:#f7fbfc;color:var(--muted);font-size:.8rem;border-top:1px solid var(--line)}.history-note i{color:var(--teal)}
.empty-history{display:flex;min-height:330px;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:2rem;background:#fff;border:1px dashed #b8d1dc;border-radius:22px}.empty-history>i{font-size:3rem;color:#8cbac1}.empty-history h2{font-size:1.3rem;font-weight:800;margin:1rem 0 .35rem}.empty-history p{color:var(--muted);margin-bottom:1.25rem}
