:root{font-family:Kalam,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#1a1a1a;background-color:#f9f7f4;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0;display:flex;min-width:320px;min-height:100vh;background:#f9f7f4;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,.02) 2px,rgba(0,0,0,.02) 4px),repeating-linear-gradient(90deg,transparent,transparent 2px,rgba(0,0,0,.02) 2px,rgba(0,0,0,.02) 4px)}.present-mode body{background:#fff;background-image:none}#root{width:100%}button{font-family:inherit}.results-display{width:100%}.results-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:32px}.summary-card{background:#f9fafb;border-radius:8px;padding:20px;text-align:center;border:2px solid #e5e7eb}.summary-card.significance{border-width:3px}.summary-card.significance.significant{background:#10b9811a;border-color:#10b981}.summary-card.significance.not-significant{background:#ef44441a;border-color:#ef4444}.summary-label{font-size:12px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.summary-value{font-size:24px;font-weight:700;color:#1a1a1a}.summary-value.positive{color:#10b981}.summary-value.negative{color:#ef4444}.results-charts{margin-top:32px}.chart-container{background:#f9fafb;border-radius:8px;padding:24px}.chart-container h3{font-size:18px;font-weight:700;margin-bottom:20px;color:#1a1a1a}.ci-info{margin-top:16px;padding-top:16px;border-top:1px solid #e5e7eb;font-size:14px;color:#666}.ci-info p{margin:4px 0}@media(max-width:768px){.results-summary{grid-template-columns:repeat(2,1fr)}}.sample-size-calculator{width:100%}.calculator-inputs{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:32px}.input-group{display:flex;flex-direction:column;gap:8px}.input-group label{font-size:14px;font-weight:600;color:#333}.input-group input,.input-group select{padding:10px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px;transition:border-color .2s}.input-group input:focus,.input-group select:focus{outline:none;border-color:#ff8c42}.input-hint{font-size:12px;color:#666;margin:0;line-height:1.4}.sample-size-result{margin-top:32px}.result-card{background:linear-gradient(135deg,#ff8c42,#ff5e3a);border-radius:12px;padding:32px;text-align:center;color:#fff;box-shadow:0 4px 12px #ff8c424d}.result-label{font-size:14px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;opacity:.9;margin-bottom:12px}.result-value{font-size:48px;font-weight:800;margin-bottom:8px}.result-note{font-size:14px;opacity:.9}.result-details{margin-top:24px;padding:20px;background:#f9fafb;border-radius:8px;border-left:4px solid #ff8c42}.result-details p{font-size:15px;line-height:1.7;color:#333;margin:0}.result-details strong{color:#1a1a1a}.sample-size-error{padding:20px;background:#ef44441a;border-radius:8px;border:2px solid #ef4444;text-align:center}.sample-size-error p{color:#991b1b;font-size:15px;margin:0}@media(max-width:768px){.calculator-inputs{grid-template-columns:1fr}.result-value{font-size:36px}}.ab-test-page{width:100%}.interpretation-guide{margin-top:8px}.interpretation-guide h3{font-size:20px;font-weight:700;margin-bottom:16px;color:#1a1a1a}.interpretation-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.interpretation-card{padding:16px;border-radius:8px;border:2px solid}.interpretation-card.significant{background:#10b9810d;border-color:#10b981}.interpretation-card.not-significant{background:#ef44440d;border-color:#ef4444}.interpretation-card strong{display:block;font-size:15px;margin-bottom:8px;color:#1a1a1a}.interpretation-card p{font-size:14px;line-height:1.6;color:#666;margin:0}.calculator-section,.sample-size-section{background:#fff;border-radius:12px;padding:32px;box-shadow:0 2px 8px #0000001a}.calculator-section h2,.sample-size-section h2{font-size:28px;font-weight:700;margin-bottom:12px;color:#1a1a1a}.input-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:32px}.input-group{padding:20px;border-radius:8px;border:2px solid}.input-group.control{background:#3b82f60d;border-color:#3b82f6}.input-group.variant{background:#10b9810d;border-color:#10b981}.input-group h3{font-size:18px;font-weight:700;margin-bottom:16px;color:#1a1a1a}.input-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:12px}.input-row label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600;color:#333}.input-row input{padding:10px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px;transition:border-color .2s}.input-row input:focus{outline:none;border-color:#ff8c42}.rate-display{font-size:14px;color:#666;padding-top:12px;border-top:1px solid #e5e7eb}.rate-display strong{font-size:16px;color:#1a1a1a}@media(max-width:768px){.explanation-section,.calculator-section,.sample-size-section{padding:24px}.input-grid,.input-row{grid-template-columns:1fr}}.cohort-card{background:#fff;border-radius:8px;padding:20px;border:2px solid #e5e7eb;border-left:4px solid;transition:all .2s;box-shadow:0 2px 4px #0000000d}.cohort-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.cohort-name-section{display:flex;align-items:center;gap:12px;flex:1}.cohort-color-indicator{width:20px;height:20px;border-radius:4px;flex-shrink:0}.cohort-name{font-size:18px;font-weight:700;margin:0;color:#1a1a1a}.card-actions{display:flex;gap:8px;margin-left:12px}.btn-edit,.btn-delete{background:none;border:none;cursor:pointer;font-size:16px;padding:4px;opacity:.6;transition:opacity .2s}.btn-edit:hover,.btn-delete:hover{opacity:1}.cohort-stats{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding-top:16px;border-top:1px solid #e5e7eb}.stat{text-align:center}.stat-label{font-size:12px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.stat-value{font-size:20px;font-weight:700;color:#1a1a1a}.modal-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;width:100%;max-width:700px;max-height:90vh;overflow-y:auto;box-shadow:0 10px 40px #0003}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid #e5e7eb}.modal-header h2{font-size:24px;font-weight:700;margin:0;color:#1a1a1a}.btn-close{background:none;border:none;font-size:32px;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.btn-close:hover{background:#f3f4f6;color:#1a1a1a}form{padding:24px}.form-group{margin-bottom:24px}.form-group label{display:block;font-size:14px;font-weight:600;color:#1a1a1a;margin-bottom:8px}.form-group input[type=text]{width:100%;padding:12px;border:2px solid #e5e7eb;border-radius:8px;font-size:14px;font-family:inherit;transition:border-color .2s}.form-group input[type=text]:focus{outline:none;border-color:#ff8c42}.color-selector{display:flex;gap:12px;flex-wrap:wrap}.color-option{width:40px;height:40px;border-radius:8px;border:3px solid transparent;cursor:pointer;transition:all .2s}.color-option:hover{transform:scale(1.1)}.color-option.active{border-color:#1a1a1a;box-shadow:0 0 0 2px #fff,0 0 0 4px #1a1a1a}.data-table{border:2px solid #e5e7eb;border-radius:8px;overflow:hidden;margin-bottom:12px}.table-header{display:grid;grid-template-columns:1fr 1fr 1fr 80px;background:#f9fafb;padding:12px;font-size:12px;font-weight:600;color:#666;text-transform:uppercase;letter-spacing:.5px}.table-row{display:grid;grid-template-columns:1fr 1fr 1fr 80px;padding:12px;border-top:1px solid #e5e7eb;gap:8px;align-items:center}.table-row input{padding:8px;border:2px solid #e5e7eb;border-radius:6px;font-size:14px;transition:border-color .2s}.table-row input:focus{outline:none;border-color:#ff8c42}.btn-remove{background:#ef4444;color:#fff;border:none;border-radius:6px;width:32px;height:32px;cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:background .2s}.btn-remove:hover{background:#dc2626}.btn-add-period{padding:8px 16px;font-size:14px;font-weight:600;border:2px dashed #e5e7eb;border-radius:8px;background:#fff;color:#666;cursor:pointer;transition:all .2s}.btn-add-period:hover{border-color:#ff8c42;color:#ff8c42}.modal-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:32px;padding-top:24px;border-top:1px solid #e5e7eb}.btn-cancel{padding:12px 24px;font-size:14px;font-weight:600;border:2px solid #e5e7eb;border-radius:8px;background:#fff;color:#666;cursor:pointer;transition:all .2s}.btn-cancel:hover{border-color:#d1d5db;background:#f9fafb}.btn-save{padding:12px 24px;font-size:14px;font-weight:600;border:none;border-radius:8px;background:linear-gradient(135deg,#ff8c42,#ff5e3a);color:#fff;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #ff8c424d}.btn-save:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff8c4266}.cohort-manager{background:#fff;border-radius:12px;padding:32px;box-shadow:0 2px 8px #0000001a}.manager-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.manager-header h2{font-size:28px;font-weight:700;margin:0;color:#1a1a1a}.btn-add{padding:12px 24px;font-size:16px;font-weight:600;border:none;border-radius:8px;background:linear-gradient(135deg,#ff8c42,#ff5e3a);color:#fff;cursor:pointer;transition:all .2s;box-shadow:0 2px 8px #ff8c424d}.btn-add:hover{transform:translateY(-2px);box-shadow:0 4px 12px #ff8c4266}.empty-state{padding:60px 20px;text-align:center;color:#999;border:2px dashed #ddd;border-radius:8px;background:#f9f9f9}.empty-state p{font-size:16px;margin:0}.cohorts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}@media(max-width:768px){.cohort-manager{padding:24px}.manager-header{flex-direction:column;align-items:flex-start;gap:16px}.cohorts-grid{grid-template-columns:1fr}}.survival-chart{width:100%}.chart-info{margin-top:24px;padding:16px;background:#f9fafb;border-radius:8px;border-left:4px solid #ff8c42}.chart-info p{font-size:14px;line-height:1.6;color:#666;margin:0}.chart-info strong{color:#1a1a1a}.survival-analysis-page{width:100%}.explanation-section{background:#fff;border-radius:12px;padding:32px;margin-bottom:32px;box-shadow:0 2px 8px #0000001a}.explanation-section h2{font-size:28px;font-weight:700;margin-bottom:20px;color:#1a1a1a}.explanation-content{display:flex;flex-direction:column;gap:24px}.explanation-content>p{font-size:16px;line-height:1.7;color:#333}.concept-box{padding:20px;background:#ff8c420d;border-radius:8px;border-left:4px solid #ff8c42}.concept-box h3{font-size:18px;font-weight:700;margin-bottom:12px;color:#1a1a1a}.concept-box p{font-size:15px;line-height:1.7;color:#333;margin-bottom:12px}.concept-box ul{margin:0;padding-left:24px}.concept-box li{font-size:15px;line-height:1.7;color:#333;margin-bottom:8px}.concept-box strong{color:#1a1a1a}.use-cases{margin-top:8px}.use-cases h3{font-size:20px;font-weight:700;margin-bottom:16px;color:#1a1a1a}.use-cases-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:16px}.use-case-card{padding:16px;background:#f9fafb;border-radius:8px;border:2px solid #e5e7eb}.use-case-card strong{display:block;font-size:15px;margin-bottom:8px;color:#1a1a1a}.use-case-card p{font-size:14px;line-height:1.6;color:#666;margin:0}.interactive-section{display:flex;flex-direction:column;gap:32px}.chart-section{background:#fff;border-radius:12px;padding:32px;box-shadow:0 2px 8px #0000001a}.chart-section h2{font-size:28px;font-weight:700;margin-bottom:12px;color:#1a1a1a}.section-description{font-size:16px;color:#666;margin-bottom:24px;line-height:1.6}@media(max-width:768px){.explanation-section,.chart-section{padding:24px}.explanation-section h2,.chart-section h2{font-size:24px}}.mode-toggle-container{display:flex;align-items:center}.mode-toggle{display:inline-flex;background:#fff;border:2px solid #333;border-radius:6px 8px 7px 6px/7px 6px 8px 5px;padding:4px;box-shadow:0 3px #0000001a,-2px 2px #00000014;gap:4px;margin:0}.mode-button{padding:.5rem 1.5rem;border:none;background:transparent;color:#666;font-weight:600;font-size:.9rem;cursor:pointer;transition:all .2s;font-family:Kalam,sans-serif;border-radius:4px 6px 5px 4px/5px 4px 6px 3px;position:relative}.mode-button:hover{color:#333;background:#f8fafc}.mode-button.active{background:linear-gradient(135deg,#ff8c42,#ff5e3a);color:#fff;box-shadow:0 2px #0000001a,-1px 1px #0000001a}.present-mode .mode-toggle{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000001a}.present-mode .mode-button{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;border-radius:6px}.present-mode .mode-button:hover{background:#f1f5f9;color:#1a1a1a}.present-mode .mode-button.active{background:#1a1a1a;color:#fff;box-shadow:0 2px 4px #0000001a}@media(max-width:768px){.mode-button{padding:.4rem 1rem;font-size:.85rem}.mode-toggle{padding:3px;gap:3px}}@media(max-width:640px){.mode-button{padding:.35rem .75rem;font-size:.8rem}}.hand-drawn-border{border:2px solid #333;box-shadow:0 0 0 1px #0000001a,-1px 1px #0000001a,1px -1px #0000001a,-2px 2px #0000000d,2px -2px #0000000d,inset 0 0 3px #0000000d;border-radius:4px 8px 6px 7px/6px 4px 8px 5px}.sketchy-text{font-family:Kalam,cursive;font-weight:700;letter-spacing:.5px}.hand-drawn-button{border:2px solid #333;box-shadow:0 2px #0000001a,-1px 1px #0000001a,1px -1px #0000001a;border-radius:3px 6px 4px 5px/5px 3px 6px 4px;position:relative}.hand-drawn-button:before{content:"";position:absolute;inset:-1px;border:1px solid rgba(0,0,0,.1);border-radius:inherit;pointer-events:none}.rough-card{background:#fff;border:2px solid #333;box-shadow:0 3px #0000001a,-2px 2px #00000014,2px -2px #00000014,inset 0 0 5px #00000008;border-radius:5px 9px 7px 8px/7px 5px 9px 6px}.sketchy-line{border-top:2px solid #333;box-shadow:0 1px #0000001a,-1px 0 #0000000d,1px 0 #0000000d;border-radius:2px}@keyframes fadeInDraw{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes slideInFromLeft{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes slideInFromBottom{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.animate-fade-in{animation:fadeInDraw .5s ease-out forwards}.animate-slide-left{animation:slideInFromLeft .6s ease-out forwards}.animate-slide-bottom{animation:slideInFromBottom .6s ease-out forwards}.stagger-1{animation-delay:.1s}.stagger-2{animation-delay:.2s}.stagger-3{animation-delay:.3s}.stagger-4{animation-delay:.4s}.stagger-5{animation-delay:.5s}.stagger-6{animation-delay:.6s}*{box-sizing:border-box;margin:0;padding:0}.app{min-height:100vh;display:flex;flex-direction:column;background:#f9f7f4;background-image:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(0,0,0,.02) 2px,rgba(0,0,0,.02) 4px),repeating-linear-gradient(90deg,transparent,transparent 2px,rgba(0,0,0,.02) 2px,rgba(0,0,0,.02) 4px)}.app-header{background:#f9f7f4;box-shadow:0 2px 8px #0000001a;opacity:0;animation:slideInFromBottom .6s ease-out forwards}.nav-bar{display:flex;justify-content:space-between;align-items:center;padding:1rem 2rem;box-shadow:0 4px 6px -2px #0000001a;position:relative;z-index:1}.nav-right{display:flex;align-items:center;gap:1.5rem}.logo{font-size:1.8rem;font-weight:700;text-decoration:none;background:linear-gradient(135deg,#ff8c42,#ff5e3a);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;transition:opacity .3s;font-family:Kaushan Script,cursive;white-space:nowrap;padding-right:.5rem}.logo:hover{opacity:.8}.github-link{display:flex;align-items:center;gap:.5rem;color:#333;text-decoration:none;font-weight:500;padding:.5rem 1rem;border:2px solid #333;border-radius:4px 6px 5px 4px/5px 4px 6px 3px;transition:all .2s;background:#fff;font-family:Kalam,sans-serif;box-shadow:0 2px #0000001a,-1px 1px #0000001a}.github-link:hover{color:#ff8c42;border-color:#ff8c42;background:#fff5f0;transform:translateY(-2px);box-shadow:0 4px #ff8c4233,-2px 2px #ff8c4226}.github-link svg{flex-shrink:0}.back-link{color:#333;text-decoration:none;font-weight:500;transition:color .3s;font-family:Kalam,sans-serif}.back-link:hover{color:#ff8c42}.header-content{padding:32px 48px;max-width:1400px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:32px;width:100%}.header-left h1{font-size:36px;color:#1a1a1a;margin-bottom:8px;font-family:Kalam,cursive;font-weight:700}.tagline{font-size:16px;color:#666;margin:0;font-family:Kalam,sans-serif}.main-content{flex:1;padding:48px;max-width:1400px;margin:0 auto;width:100%}.landing-page{width:100%}.landing-header{text-align:center;margin-bottom:48px}.landing-header h1{font-size:3rem;font-weight:700;margin-bottom:16px;color:#1a1a1a;font-family:Kalam,cursive}.landing-description{font-size:1.2rem;color:#666;max-width:800px;margin:0 auto;line-height:1.6;font-family:Kalam,sans-serif}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:2rem;margin-top:2rem}.metric-card{background:#fff;border:2px solid #333;box-shadow:0 3px #0000001a,-2px 2px #00000014,2px -2px #00000014,inset 0 0 5px #00000008;border-radius:5px 9px 7px 8px/7px 5px 9px 6px;padding:2rem;text-decoration:none;color:inherit;display:flex;flex-direction:column;transition:all .3s}.metric-card:hover{transform:translateY(-5px) rotate(-.5deg);box-shadow:0 6px #ff8c4233,-3px 3px #ff8c4226,3px -3px #ff8c4226,inset 0 0 8px #ff8c421a;border-color:#ff8c42}.metric-icon{font-size:3rem;margin-bottom:1rem}.metric-title{font-size:1.5rem;font-weight:700;margin-bottom:.75rem;color:#1a1a1a;font-family:Kalam,cursive}.metric-description{color:#666;line-height:1.6;margin-bottom:1.5rem;flex:1;font-family:Kalam,sans-serif}.metric-link{color:#ff8c42;font-weight:600;margin-top:auto;font-family:Kalam,sans-serif}.app-footer{background:#f9f7f4;padding:24px 48px;text-align:center;border-top:3px solid #333;margin-top:auto;box-shadow:0 -4px #0000001a,2px -2px #00000014}.app-footer p{color:#666;font-size:14px;margin:4px 0;font-family:Kalam,sans-serif}.footer-links{margin-top:8px}.footer-links a{color:#ff8c42;text-decoration:none;font-weight:600;transition:color .2s;font-family:Kalam,sans-serif}.footer-links a:hover{color:#ff5e3a;text-decoration:underline}.app-footer{position:relative}.footer-social{position:absolute;bottom:24px;right:48px;display:flex;gap:12px}.social-icon{color:#666;transition:color .2s,transform .2s;display:inline-flex;align-items:center;justify-content:center}.social-icon:hover{color:#ff8c42;transform:translateY(-2px)}.social-icon svg{width:24px;height:24px}.app.present-mode{background:#f8fafc;background-image:none}.app.present-mode .app-header{background:#fff;border-bottom:1px solid #e2e8f0;box-shadow:0 2px 8px #0000000d;animation:none}.app.present-mode .logo,.app.present-mode .back-link,.app.present-mode .header-left h1,.app.present-mode .tagline,.app.present-mode .sketchy-text{font-family:Inter,sans-serif!important;letter-spacing:normal;color:#111!important;background:none!important;-webkit-background-clip:initial!important;-webkit-text-fill-color:initial!important;background-clip:initial!important}.app.present-mode .logo{font-weight:700}.app.present-mode .hand-drawn-button{border:1px solid #d1d5db;box-shadow:none;border-radius:.5rem;background:#f3f4f6;color:#374151;transition:all .2s ease}.app.present-mode .hand-drawn-button:hover{background:#e5e7eb;border-color:#9ca3af;transform:none;box-shadow:none}.app.present-mode .rough-card{border:1px solid #e2e8f0;box-shadow:0 10px 30px #0f172a0d;border-radius:1rem;animation:none}.app.present-mode .metric-card{border:1px solid #e2e8f0;border-radius:1rem;box-shadow:0 10px 30px #0f172a0d}.app.present-mode .metric-card:hover{transform:translateY(-2px);box-shadow:0 12px 40px #0f172a1a;border-color:#6366f1}.app.present-mode .metric-title,.app.present-mode .metric-description,.app.present-mode .metric-link{font-family:Inter,sans-serif}.app.present-mode .app-footer{background:#fff;border-top:1px solid #e2e8f0;box-shadow:0 -2px 8px #0000000d}.app.present-mode .app-footer p,.app.present-mode .footer-links a{font-family:Inter,sans-serif}@media(max-width:768px){.main-content{padding:24px}.landing-header h1{font-size:2rem}.landing-description{font-size:1rem}.metrics-grid{grid-template-columns:1fr}.header-content{flex-direction:column;align-items:flex-start}}
