*,
:after,
:before {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgba(59, 130, 246, .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgba(59, 130, 246, .5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

/*! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com*/
*,
:after,
:before {
    border: 0 solid #e5e7eb;
    box-sizing: border-box
}

:after,
:before {
    --tw-content: ""
}

:host,
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    -webkit-tap-highlight-color: transparent
}

body {
    line-height: inherit
}

hr {
    border-top-width: 1px;
    color: inherit;
    height: 0
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit
}

a {
    color: inherit;
    text-decoration: inherit
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
pre,
samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-feature-settings: normal;
    font-size: 1em;
    font-variation-settings: normal
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    border-collapse: collapse;
    border-color: inherit;
    text-indent: 0
}

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font-family: inherit;
    font-feature-settings: inherit;
    font-size: 100%;
    font-variation-settings: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0
}

button,
select {
    text-transform: none
}

button,
input:where([type=button]),
input:where([type=reset]),
input:where([type=submit]) {
    -webkit-appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

blockquote,
dd,
dl,
figure,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
p,
pre {
    margin: 0
}

fieldset {
    margin: 0
}

fieldset,
legend {
    padding: 0
}

menu,
ol,
ul {
    list-style: none;
    margin: 0;
    padding: 0
}

dialog {
    padding: 0
}

textarea {
    resize: vertical
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #9ca3af;
    opacity: 1
}

input::placeholder,
textarea::placeholder {
    color: #9ca3af;
    opacity: 1
}

[role=button],
button {
    cursor: pointer
}

:disabled {
    cursor: default
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block;
    vertical-align: middle
}

img,
video {
    height: auto;
    max-width: 100%
}

[hidden]:where(:not([hidden=until-found])) {
    display: none
}

.relative {
    position: relative
}

.mx-auto {
    margin-left: auto;
    margin-right: auto
}

.flex {
    display: flex
}

.table {
    display: table
}

.grid {
    display: grid
}

.hidden {
    display: none
}

.h-24 {
    height: 6rem
}

.h-28 {
    height: 7rem
}

.h-full {
    height: 100%
}

.w-auto {
    width: auto
}

.max-w-7xl {
    max-width: 80rem
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))
}

.items-center {
    align-items: center
}

.justify-between {
    justify-content: space-between
}

.rounded-full {
    border-radius: 9999px
}

.border {
    border-width: 1px
}

.border-b {
    border-bottom-width: 1px
}

.border-gray-100 {
    --tw-border-opacity: 1;
    border-color: rgb(243 244 246/var(--tw-border-opacity, 1))
}

.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgb(243 244 246/var(--tw-bg-opacity, 1))
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255/var(--tw-bg-opacity, 1))
}

.object-contain {
    -o-object-fit: contain;
    object-fit: contain
}

.px-3 {
    padding-left: .75rem;
    padding-right: .75rem
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem
}

.py-1\.5 {
    padding-bottom: .375rem;
    padding-top: .375rem
}

.text-xs {
    font-size: .75rem;
    line-height: 1rem
}

.font-semibold {
    font-weight: 600
}

.uppercase {
    text-transform: uppercase
}

.tracking-wider {
    letter-spacing: .05em
}

.text-gray-400 {
    --tw-text-opacity: 1;
    color: rgb(156 163 175/var(--tw-text-opacity, 1))
}

.outline {
    outline-style: solid
}

.transition {
    transition-duration: .15s;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1)
}

:root {
    --alisios-blue: #004f7a;
    --alisios-light: #e6f2f8;
    --alisios-accent: #00a0a6;
    --bg: #f7f6f2;
    --surface: #fff;
    --text-main: #1f2933;
    --text-muted: #6b7280;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-pill: 999px
}

* {
    box-sizing: border-box
}

body {
    background: var(--bg);
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, sans-serif;
    margin: 0;
    min-height: 100vh
}

.app-shell {
    flex: 1;
    margin: 0 auto 40px;
    max-width: 1280px;
    padding: 40px 16px 0;
    width: 100%
}

h1 {
    font-size: 20px;
    margin: 0
}

.page-intro {
    margin-bottom: 16px
}

.subtitle {
    color: var(--text-muted);
    font-size: 13px
}

main {
    display: grid;
    gap: 20px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr)
}

@media (max-width:900px) {
    main {
        grid-template-columns: minmax(0, 1fr)
    }
}

@media (min-width:640px) {
    .app-shell {
        padding-left: 24px;
        padding-right: 24px
    }
}

@media (min-width:1024px) {
    .app-shell {
        padding-left: 32px;
        padding-right: 32px
    }
}

.card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    padding: 16px 18px 18px
}

.card h2 {
    font-size: 16px;
    margin: 0 0 8px
}

.field-group {
    margin-bottom: 12px
}

label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px
}

input[type=number],
select {
    border: 1px solid #d1d5db;
    border-radius: 9px;
    font-size: 13px;
    padding: 7px 9px;
    width: 100%
}

input[type=number]:focus,
select:focus {
    border-color: transparent;
    outline: 2px solid var(--alisios-accent);
    outline-offset: 1px
}

.inline-row {
    display: flex;
    gap: 10px
}

.inline-row>div {
    flex: 1
}

.product-line {
    align-items: end;
    display: grid;
    gap: 8px;
    grid-template-columns: 1.1fr .9fr;
    margin-top: 6px
}

.product-line.small-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.product-line.small-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.product-line small {
    display: block;
    margin-top: 2px
}

.hint,
.product-line small {
    color: var(--text-muted);
    font-size: 11px
}

.hint {
    margin-top: 4px
}

.thermo-wrapper {
    background: var(--alisios-light);
    border-radius: var(--radius-md);
    margin-top: 6px;
    padding: 10px 12px
}

.thermo-header {
    align-items: center;
    display: flex;
    font-size: 12px;
    justify-content: space-between;
    margin-bottom: 6px
}

.thermo-bar {
    background: #e5e7eb;
    border-radius: var(--radius-pill);
    height: 18px;
    overflow: hidden;
    position: relative
}

.thermo-fill {
    background: linear-gradient(90deg, var(--alisios-accent), #f97316);
    border-radius: inherit;
    height: 100%;
    transition: width .25s ease-out;
    width: 0
}

.thermo-mark {
    background: #11182733;
    inset-block: 2px;
    left: 70%;
    position: absolute;
    width: 2px
}

.thermo-label {
    color: var(--text-muted);
    font-size: 10px;
    left: 70%;
    margin-top: 2px;
    position: absolute;
    top: 100%;
    transform: translateX(-50%)
}

.thermo-status {
    align-items: center;
    display: flex;
    font-size: 11px;
    gap: 6px;
    margin-top: 8px
}

.pill-ok,
.pill-risk {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 8px
}

.pill-ok {
    background: #ecfdf3;
    color: #166534
}

.pill-risk {
    background: #fef2f2;
    color: #b91c1c
}

.results-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px
}

.summary-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    font-size: 12px;
    padding: 10px 12px
}

.summary-box h3 {
    font-size: 13px;
    margin: 0 0 4px
}

.summary-box strong {
    font-size: 15px
}

.tag {
    align-items: center;
    background: rgba(0, 79, 122, .06);
    border-radius: 999px;
    color: var(--alisios-blue);
    display: inline-flex;
    font-size: 11px;
    gap: 4px;
    margin-top: 4px;
    padding: 2px 8px
}

.viz {
    background: conic-gradient(from 270deg, var(--alisios-accent) 0 var(--angle), #e5e7eb var(--angle) 1turn);
    border-radius: var(--radius-md);
    margin-top: 10px;
    overflow: hidden;
    padding: 14px 16px 10px;
    position: relative
}

.viz:before {
    background: radial-gradient(circle at top right, hsla(0, 0%, 100%, .45), transparent 55%);
    content: "";
    inset: 0;
    opacity: .8;
    pointer-events: none;
    position: absolute
}

.viz-inner {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    position: relative
}

.viz-legend {
    color: #f9fafb;
    font-size: 11px
}

.viz-legend h3 {
    font-size: 13px;
    margin: 0 0 4px
}

.viz-legend p {
    color: var(--text-main);
    margin: 0;
    max-width: 26ch
}

.viz-columns {
    align-items: flex-end;
    display: flex;
    gap: 8px
}

.viz-col {
    background: rgba(15, 23, 42, .85);
    border-radius: 10px;
    color: #e5e7eb;
    flex: 1;
    font-size: 11px;
    padding: 6px 8px 8px;
    text-align: center
}

.viz-bar {
    background: #111827;
    border-radius: 999px;
    height: 38px;
    margin: 3px auto 4px;
    overflow: hidden;
    position: relative;
    width: 72%
}

.viz-bar-fill {
    background: linear-gradient(0deg, #22c55e, #86efac);
    border-radius: inherit;
    inset: 0;
    position: absolute;
    transform: scaleY(.5);
    transform-origin: bottom
}

.viz-col:nth-child(2) .viz-bar-fill {
    background: linear-gradient(0deg, #0ea5e9, #38bdf8)
}

.viz-col strong {
    display: block;
    font-size: 13px
}

.payroll-box {
    margin-top: 10px
}

.payroll-table {
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 4px;
    width: 100%
}

.payroll-table td,
.payroll-table th {
    padding: 3px 6px;
    text-align: right
}

.payroll-table td:first-child,
.payroll-table th:first-child {
    text-align: left
}

.payroll-table thead th {
    border-bottom: 1px solid #bae6fd;
    color: var(--alisios-blue)
}

.payroll-table tbody tr:nth-child(4) td,
.payroll-table tbody tr:nth-last-child(2) td {
    border-top: 1px solid #d1d5db
}

.payroll-table tfoot td {
    border-top: 1px solid #16a34a33;
    color: #15803d;
    font-weight: 600
}

.payroll-caption {
    color: var(--text-muted);
    font-size: 11px;
    margin-top: 4px
}

.neg {
    color: #b91c1c
}

footer {
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 11px;
    gap: 8px;
    justify-content: space-between;
    margin-top: 16px
}

@media (min-width:640px) {
    .sm\:inline-block {
        display: inline-block
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem
    }
}

@media (min-width:1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem
    }
}