#akamcalc-app { font-size: 0.875rem; }
.em-tabs {
margin: -15px;
display: flex;
flex-direction: column;
} .em-pills {
display: flex;
flex-wrap: wrap;
background: rgba(0,0,0,0.025);
border-top: 1px solid rgba(0,0,0,0.1);
border-bottom: 1px solid rgba(0,0,0,0.1);
}
.em-pill {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 50%;
height: 110px;
padding: 0.5rem;
cursor: pointer;
color: #999;
border-bottom: 3px solid transparent;
transition: background 0.2s, color 0.2s, border-color 0.2s;
position: relative;
overflow: hidden;
}
.em-pill:focus-visible {
outline: 2px solid #f40045;
outline-offset: -2px;
}
@media (min-width: 480px) { .em-pill { width: 33.33%; } }
@media (min-width: 640px) { .em-pill { width: 25%; } }
@media (min-width: 960px) { .em-pill { width: 160px; } }
.em-pill.active {
background: #fff;
color: #000;
border-color: #f40045;
box-shadow: inset 0 0 12px -6px rgba(0,0,0,0.3);
}
.em-pill i,
.em-pill .x_icon {
font-size: 1.4rem;
margin-bottom: 0.4rem;
color: #888;
}
.em-pill.active i,
.em-pill.active .x_icon { color: #f40045; }
.em-pill span { font-size: 0.75rem; line-height: 1.3; }
.em-pill .x_icon {
font-weight: bold;
font-family: Georgia, serif;
font-size: 1.2rem;
} .em-tab-contents {
flex: 1;
padding: 1.25rem;
min-height: 420px;
position: relative;
} .akamcalc-actions {
margin: 1rem 0;
display: flex;
gap: 0.5rem;
flex-wrap: wrap;
}
.em-tab-contents button {
padding: 0.45rem 1.1rem;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 3px;
background: #f5f5f5;
cursor: pointer;
font-size: 0.875rem;
transition: background 0.15s;
}
.em-tab-contents button:hover { background: #e8e8e8; }
.em-tab-contents button:focus-visible { outline: 2px solid #f40045; }
.em-tab-contents input[type="text"],
.em-tab-contents input[type="number"] {
font-size: 0.875rem;
line-height: 2;
height: auto;
padding: 2px 6px;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 3px;
}
.em-tab-contents input:focus { outline: 2px solid #f40045; outline-offset: 0; border-color: transparent; }
.em-tab-contents input[readonly] { background: #f9f9f9; color: #333; }
.akamcalc-desc { color: #555; margin-bottom: 1rem; }
.akamcalc-error {
color: #c00;
background: #fff0f0;
border: 1px solid #fcc;
padding: 0.5rem 0.75rem;
border-radius: 3px;
margin: 0.5rem 0;
}
.akamcalc-warning {
color: #7a5000;
background: #fffbe0;
border: 1px solid #ffe58f;
padding: 0.5rem 0.75rem;
border-radius: 3px;
margin: 0.5rem 0;
} .em-tab-contents table { border-collapse: collapse; width: 100%; }
.em-tab-contents td, .em-tab-contents th {
border: 1px solid rgba(0,0,0,0.1);
padding: 5px 8px;
}
.em-tab-contents tr:nth-child(even) { background: rgba(0,0,0,0.02); } .emstats-results-table tr:first-child td,
.emstats-results-table tr:first-child th { font-weight: bold; background: #eee; }
.cs-testresults td:first-of-type { width: 240px; }
.emstats-relativerisk-results td:first-child,
.emstats-oddsratio-results td:first-child { width: 220px; } .naranjo-result {
margin-top: 1.25rem;
padding: 1rem 1.25rem;
border-radius: 4px;
border: 1px solid rgba(0,0,0,0.1);
}
.naranjo-doubtful { background: #fff8e1; border-color: #ffe082; }
.naranjo-possible  { background: #e3f2fd; border-color: #90caf9; }
.naranjo-probable  { background: #e8f5e9; border-color: #a5d6a7; }
.naranjo-definite  { background: #fce4ec; border-color: #f48fb1; }
.naranjo-legend {
font-size: 0.78rem;
color: #555;
margin: 0.5rem 0 0 1rem;
padding: 0;
}
.naranjo-legend li { margin-bottom: 2px; } .emstats-diagnostics-table {
border: none;
margin-bottom: 1rem;
table-layout: fixed;
width: 100%;
}
.emstats-diagnostics-table td {
border: none;
padding: 6px;
}
.emstats-diagnostics-table tr:nth-child(even) { background: #f5f5f5; }
.emstats-diagnostics-table tr.uline td,
.emstats-diagnostics-table td.uline { border-bottom: 1px solid #333; font-weight: bold; }
.emstats-diagnostics-table td:first-child { font-weight: bold; }
.emstats-diagnostics-table input[type="number"] { width: 90px; }
.akamcalc-cell-label { font-size: 0.75rem; color: #666; display: block; margin-bottom: 2px; } .emstats-chi-square-table { overflow-x: auto; }
.cs-resize {
display: flex;
align-items: center;
margin-bottom: 8px;
gap: 0.5rem;
}
.cs-resize label { width: 120px; margin: 0; }
.cs-resize-input {
display: flex;
align-items: stretch;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 3px;
}
.cs-resize-input button {
border: none;
background: rgba(0,0,0,0.08);
width: 2rem;
padding: 0;
line-height: 2;
font-size: 1.1rem;
}
.cs-resize-input span {
border-width: 0 1px;
border-style: solid;
border-color: rgba(0,0,0,0.2);
background: #fff;
width: 2.5rem;
text-align: center;
line-height: 2;
}
.cs-table { width: auto; min-width: 200px; }
.cs-table input { width: 80px; }
.cs-results { margin-top: 1rem; display: flex; flex-direction: column-reverse; gap: 1rem; }
.cs-resultopts { display: flex; flex-direction: column; gap: 4px; white-space: nowrap; }
.cs-resultopts label { display: flex; align-items: center; gap: 6px; cursor: pointer; margin: 0; }
.cs-resulttable { flex: 1; overflow-x: auto; }
.cs-resulttable th { background: #f0f0f0; }
@media (min-width: 600px) {
.cs-results { flex-direction: row; }
.cs-resultopts { width: 160px; }
} .samplesize { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 640px) {
.samplesize { flex-direction: row; }
}
.sample-tabs { min-width: 200px; }
.sample-tabs label {
display: block;
cursor: pointer;
margin-bottom: 0;
}
.sample-tabs input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.sample-tabs span {
display: block;
padding: 9px 12px;
line-height: 1.4;
border: 1px solid rgba(0,0,0,0.1);
border-bottom-width: 0;
background: #f5f5f5;
color: #777;
font-size: 0.8rem;
transition: all 0.2s;
}
.sample-tabs label:last-child span { border-bottom-width: 1px; } .sample-tabs label.active span {
background: #fff;
color: #000;
font-weight: 500;
box-shadow: 0 0 8px -4px rgba(0,0,0,0.3);
position: relative;
z-index: 1;
}
.sample-inputs { flex: 1; }
.sample-inputs label {
display: flex;
align-items: center;
border-bottom: 1px dotted rgba(0,0,0,0.1);
padding: 8px 0;
gap: 0.75rem;
margin: 0;
}
.sample-inputs label span { min-width: 220px; }
.sample-inputs input[type="number"],
.sample-inputs input[type="text"] { max-width: 120px; } .emstats-pretest > div,
.emstats-pretest-results > div {
display: flex;
align-items: center;
margin-bottom: 0.75rem;
gap: 1rem;
flex-wrap: wrap;
}
.emstats-pretest > div > span:first-child,
.emstats-pretest-results > div > span:first-child { min-width: 260px; } .emstats-relativerisk > div {
display: flex;
align-items: center;
margin-bottom: 0.6rem;
gap: 1rem;
flex-wrap: wrap;
}
.emstats-relativerisk > div > span:first-child { min-width: 220px; } .withlabel {
display: inline-flex;
border: 1px solid rgba(0,0,0,0.2);
border-radius: 3px;
overflow: hidden;
}
.withlabel input {
border: none !important;
border-radius: 0 !important;
outline: none !important;
flex: 1;
}
.withlabel span {
border-left: 1px solid rgba(0,0,0,0.1);
background: rgba(0,0,0,0.04);
width: 32px;
color: #888;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.85rem;
} .emstats-radio label {
display: flex;
margin: 5px 0;
align-items: center;
cursor: pointer;
gap: 6px;
}
.emstats-radio label input[type="radio"] {
position: absolute;
opacity: 0;
width: 0;
height: 0;
}
.emstats-radio .radio {
width: 18px; height: 18px;
min-width: 18px; min-height: 18px;
border: 2px solid #888;
border-radius: 50%;
position: relative;
flex-shrink: 0;
transition: border-color 0.2s;
}
.emstats-radio .radio::after {
content: '';
position: absolute;
left: 3px; top: 3px;
width: 8px; height: 8px;
border-radius: 50%;
background: transparent;
transition: background 0.2s;
}
.emstats-radio input:checked + .radio::after { background: #f40045; }
.emstats-radio input:checked ~ span:last-child { color: #d0003a; font-weight: 600; } .emstats-choose-area {
display: flex;
flex-wrap: wrap;
background: #fffcfd;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 4px;
margin: 1rem 0;
}
.emstats-question {
padding: 1.25rem;
border-right: 1px solid rgba(0,0,0,0.1);
flex: 1;
min-width: 200px;
font-weight: 500;
}
.emstats-answers {
padding: 1.25rem;
flex: 1;
min-width: 200px;
background: rgba(0,0,0,0.02);
}
.emstats-buttons {
width: 100%;
display: flex;
justify-content: flex-end;
gap: 0.5rem;
padding: 0.75rem;
border-top: 1px solid rgba(0,0,0,0.08);
}
.emstats-step {
display: flex;
background: #fffcfd;
border: 1px solid rgba(0,0,0,0.1);
border-bottom-width: 0;
overflow: hidden;
max-height: 40px;
}
.emstats-step:first-child { border-top-width: 1px; }
.stepnum {
cursor: pointer;
padding: 5px 10px;
background: rgba(0,0,0,0.05);
min-width: 80px;
height: 40px;
line-height: 30px;
position: relative;
color: #555;
transition: color 0.2s;
}
.stepnum:hover { color: #c00; }
.stepdesc {
padding: 5px 10px;
line-height: 30px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.emstats-chosen-test {
margin-top: 1rem;
padding: 1rem;
background: #f3f9f3;
border: 1px solid rgba(0,0,0,0.1);
border-radius: 4px;
}
.emstats-chosen-test p { font-size: 1rem; } .tab-enter-from, .tab-leave-to { transform: translateY(0.75rem); opacity: 0; }
.tab-enter-active, .tab-leave-active { transition: all 0.35s; }
.tab-leave-active { display: none; }
.slide-up-enter-from, .slide-up-leave-to { transform: translateY(-30px); opacity: 0; }
.slide-up-enter-to, .slide-up-leave-from { transform: translateY(0); opacity: 1; }
.slide-up-enter-active, .slide-up-leave-active { transition: all 0.35s; }
.desc-up-enter-from { transform: translateY(30px); opacity: 0; }
.desc-up-enter-to { transform: translateY(0); opacity: 1; }
.desc-up-leave-from { opacity: 1; }
.desc-up-leave-to { opacity: 0; }
.desc-up-enter-active, .desc-up-leave-active { transition: all 0.3s; }
.desc-down-enter-from, .desc-down-leave-to { transform: translateY(-30px); opacity: 0; }
.desc-down-enter-to, .desc-down-leave-from { transform: translateY(0); opacity: 1; }
.desc-down-enter-active, .desc-down-leave-active { transition: all 0.35s; }.kt-btn-wrap .kt-button:where(:not(.kb-button)){text-decoration:none;position:relative;z-index:1;overflow:hidden}.kt-btn-wrap .kt-button:not(.kb-btn-global-inherit):where(:not(.kb-button)){padding:8px 16px;cursor:pointer;font-size:18px;display:flex;line-height:1.6;text-decoration:none;text-align:center;align-items:center;justify-content:center;transition:all .3s ease-in-out;border-width:2px;border-radius:3px;border-color:#555;background:0 0;color:#555;box-shadow:none;border-style:solid}.kt-btn-wrap .kt-button:where(:not(.kb-button)):not(.kb-btn-global-inherit):focus,.kt-btn-wrap .kt-button:where(:not(.kb-button)):not(.kb-btn-global-inherit):hover{border-color:#444;color:#fff;box-shadow:none}.kt-btn-wrap .kt-button:where(:not(.kb-button)).kt-btn-size-small{font-size:16px;padding:4px 8px;border-width:1px}.kt-btn-wrap .kt-button:where(:not(.kb-button)).kt-btn-size-large{font-size:20px;padding:12px 24px;border-width:3px}.kt-btn-wrap .kb-btn-only-icon.kt-btn-has-svg-true .kt-btn-inner-text{display:none}.kt-btn-wrap .kb-btn-only-icon.kt-btn-has-svg-true .kt-btn-svg-icon{padding:0}.wp-block-kadence-advancedbtn .kt-btn-wrap a.kt-button:where(:not(.kb-button)):not(.link){text-decoration:none}.kt-btn-wrap .kt-button:where(:not(.kb-button))::before{position:absolute;content:"";top:0;right:0;bottom:0;left:0;z-index:-1;opacity:0;transition:all .3s ease-in-out;display:block;filter:none}.kt-button:where(:not(.kb-button)):not(.kb-btn-global-inherit)::before{background:#444}.kt-btn-wrap .kt-button:where(:not(.kb-button)):focus::before,.kt-btn-wrap .kt-button:where(:not(.kb-button)):hover::before{opacity:1}.kb-svg-icon-wrap.kt-btn-side-right,.kt-btn-svg-icon.kt-btn-side-right{padding-left:.5em}.kb-svg-icon-wrap.kt-btn-side-left,.kt-btn-svg-icon.kt-btn-side-left{padding-right:.5em}.kt-btn-has-text-false .kt-btn-svg-icon{padding-left:0;padding-right:0}.kt-btn-wrap{display:inline-flex}.kt-btn-align-center{text-align:center}.kt-btn-align-left{text-align:left}.kt-btn-align-right{text-align:right}.wp-block-kadence-advancedbtn .kt-btn-wrap:last-child{margin-right:0}.wp-block-kadence-advancedbtn .kt-btn-wrap{margin-right:5px;vertical-align:middle}.rtl .wp-block-kadence-advancedbtn .kt-btn-wrap{margin-right:0;margin-left:5px}.kt-force-btn-fullwidth{display:flex}.kt-force-btn-fullwidth .kt-btn-wrap{display:block;flex:1}.kt-force-btn-fullwidth .kt-btn-wrap .kt-button:where(:not(.kb-button)){justify-content:center;display:flex}.kt-btn-wrap .kt-btn-has-svg-true{display:flex;align-items:center;justify-content:center}@media (max-width:1024px){.kt-btn-wrap .kb-btn-tablet-only-icon.kt-btn-has-svg-true .kt-btn-inner-text{display:none}.kt-btn-wrap .kb-btn-tablet-only-icon.kt-btn-has-svg-true .kt-btn-svg-icon{padding:0}.kt-btn-tablet-align-center{text-align:center}.kt-btn-tablet-align-left{text-align:left}.kt-btn-tablet-align-right{text-align:right}}@media (max-width:767px){.kt-btn-wrap .kb-btn-mobile-only-icon.kt-btn-has-svg-true .kt-btn-inner-text{display:none}.kt-btn-wrap .kb-btn-mobile-only-icon.kt-btn-has-svg-true .kt-btn-svg-icon{padding:0}.kt-btn-mobile-align-center{text-align:center}.kt-btn-mobile-align-left{text-align:left}.kt-btn-mobile-align-right{text-align:right}.wp-block-kadence-advancedbtn.kt-force-btn-fullwidth.kt-mobile-collapse-btn-fullwidth{flex-direction:column}.wp-block-kadence-advancedbtn.kt-force-btn-fullwidth.kt-mobile-collapse-btn-fullwidth .kt-btn-wrap{margin-right:0}.kt-btn-wrap{margin-bottom:5px}}