/* FoodCare 1.4.3 - readable, keyboard-accessible, activity-first wizard. */
.rw-shell,.rw-results{max-width:1080px;margin:0 auto;min-width:0;overflow-wrap:anywhere;}
.rw-shell *,.rw-results *{box-sizing:border-box;}
.rw-header{margin-bottom:24px;}.rw-header h2,.rw-results>h2{font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.3;margin:0 0 12px;}.rw-header p{font-size:1.07rem;line-height:1.65;margin:8px 0;}.rw-kicker{font-size:.88rem!important;font-weight:700;letter-spacing:.04em;color:#315a7c;}
.rw-progress{list-style:none;padding:0!important;margin:20px 0 26px!important;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;}
.rw-progress li{margin:0;padding:0;min-width:0;display:flex;}
.rw-shell .rw-progress .rw-stage-button{display:flex;flex-direction:column;align-items:flex-start;gap:8px;box-sizing:border-box;width:100%;min-width:0;min-height:94px;height:100%;margin:0;padding:12px;border:2px solid #d5e1ed;border-radius:10px;background:#f6f9fc;color:#173a4c;font-family:inherit;font-size:.94rem;font-weight:500;line-height:1.4;text-align:left;letter-spacing:normal;text-transform:none;white-space:normal;cursor:pointer;box-shadow:none;touch-action:manipulation;transition:background .15s,border-color .15s;}
.rw-stage-number{display:inline-flex;flex:0 0 auto;width:28px;height:28px;justify-content:center;align-items:center;background:#e1eaf3;border-radius:50%;font-weight:750;}
.rw-stage-name{display:block;overflow-wrap:anywhere;}
.rw-shell .rw-progress .active .rw-stage-button{border-color:#17598b;background:#edf5fd;}
.rw-progress .active .rw-stage-number{background:#17598b;color:white;}
.rw-shell .rw-progress .rw-stage-button:hover{border-color:#3f7198;background:#eaf2fa;}
.rw-shell .rw-progress .rw-stage-button:focus-visible{outline:3px solid #1d69a2;outline-offset:3px;border-color:#17598b;}
#rw-current-stage:focus{outline:0;}
#rw-current-stage{scroll-margin-top:24px;}
.rw-step{background:#fff;border:1px solid #d7e2ee;border-radius:14px;padding:26px;margin-bottom:20px;min-width:0;}.rw-step>h3{font-size:1.45rem;line-height:1.35;margin:0 0 22px;}
.rw-question{display:block;border:0;padding:0;margin:0 0 28px;min-width:0;}.rw-question:last-child{margin-bottom:0;}.rw-question legend,.rw-question>label{font-weight:700;font-size:1.15rem;line-height:1.45;padding:0;margin:0 0 8px;display:block;}.rw-help{font-size:1rem;line-height:1.65;margin:8px 0 14px;color:#3e566d;}.rw-example{font-size:1rem;line-height:1.6;padding:10px 14px;border-left:3px solid #88abc7;background:#f4f8fc;margin:8px 0 14px;}.rw-choices{display:grid;grid-template-columns:1fr;gap:12px;}.rw-choice{display:flex;align-items:flex-start;gap:14px;border:1px solid #cddbe8;border-radius:10px;padding:16px 18px;cursor:pointer;min-width:0;}.rw-choice:has(input:checked){border:2px solid #17639a;padding:15px 17px;background:#eef6fe;}.rw-choice input{flex:0 0 auto;width:21px!important;height:21px!important;min-height:0!important;margin:3px 0 0;accent-color:#17639a;}.rw-choice span{min-width:0;}.rw-choice strong{display:block;font-size:1.07rem;line-height:1.5;}.rw-choice small{display:block;font-size:.98rem;line-height:1.6;color:#3d556a;margin-top:5px;}.rw-question .field{width:100%;max-width:100%;font-size:1rem;min-height:52px;}.rw-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0;}.rw-nav .btn{margin:0!important;white-space:normal;line-height:1.45;}.rw-nav>span{font-weight:700;white-space:nowrap;color:#4a6175;}.rw-info,.rw-migration{padding:18px;border-radius:10px;background:#f0f5fa;border:1px solid #cedeea;font-size:1rem;line-height:1.7;margin:16px 0;}.rw-migration{max-width:1080px;margin:0 auto 20px;}.rw-scenario-questions{padding:20px;border:1px solid #b8cee1;border-radius:12px;margin-bottom:24px;}.rw-scenario-questions>h3{font-size:1.3rem;margin:0 0 18px;}.rw-result{padding:24px;border:1px solid #c9dce9;border-radius:14px;margin:20px 0;background:#fff;}.rw-result>h3{font-size:1.5rem;margin:0 0 16px;}.rw-result p{line-height:1.7;font-size:1rem;}.rw-completion{padding:14px 16px;background:#f0f4f8;border-radius:8px;}.rw-completion.complete{background:#eaf6f1;}.rw-role-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}.rw-role{padding:16px;border:1px solid #b5d1c6;border-left:4px solid #218365;border-radius:8px;}.rw-role h4{font-size:1.12rem;line-height:1.4;margin:0;}.rw-role p{margin:8px 0;}.rw-negative{padding:15px;background:#f7f9fb;border-radius:8px;margin:18px 0;}.rw-negative summary{font-size:1rem;font-weight:650;cursor:pointer;}.rw-clarifications{padding:18px;border:1px solid #c8d5e2;border-radius:8px;background:#f8fafc;}.rw-clarifications h4{margin:0;}.rw-epr{padding:22px;border:1px solid #bcd1e2;background:#f2f7fb;border-radius:12px;margin:24px 0;}.rw-epr h3{margin-top:0;}.rw-epr p{line-height:1.7;}.rw-scenario-select{padding:20px;background:#eef4fa;border:1px solid #b9d0e2;border-radius:12px;margin:20px 0;}.rw-scenario-select h3{margin:0 0 12px;}.rw-scenario-select p{line-height:1.6;}.rw-tabs{display:flex;flex-wrap:wrap;gap:12px;}.rw-tabs .btn{margin:0!important;}.rw-shell :focus-visible,.rw-results :focus-visible{outline:3px solid #1d69a2;outline-offset:4px;}
@media(max-width:720px){.rw-progress{gap:5px;}.rw-shell .rw-progress .rw-stage-button{font-size:.78rem;padding:8px 6px;min-height:74px;}.rw-stage-number{width:25px;height:25px;}.rw-step,.rw-result{padding:18px 14px;}.rw-choice{padding:14px 12px;gap:10px;}.rw-choice:has(input:checked){padding:13px 11px;}.rw-role-list{grid-template-columns:1fr;}.rw-scenario-questions{padding:15px 12px;}.rw-nav{flex-wrap:wrap;}.rw-nav .btn{padding:12px;}.rw-nav [data-rw-next]{flex:1;}.rw-tabs .btn{width:100%;}.rw-question legend,.rw-question>label{font-size:1.08rem;}}
@media(max-width:430px){.rw-progress{grid-template-columns:repeat(5,minmax(0,1fr));}.rw-shell .rw-progress .rw-stage-button{align-items:center;justify-content:center;padding:8px 4px;min-height:52px;}.rw-stage-name{display:none;}.rw-stage-number{font-size:.95rem;}.rw-step>h3{scroll-margin-top:18px;}.rw-epr{padding:16px;}}
@media(prefers-reduced-motion:reduce){.rw-shell *,.rw-results *{scroll-behavior:auto!important;transition:none!important;}}
@media print{.rw-nav,.rw-tabs,.rw-progress,.rw-results button,.rw-scenario-select{display:none!important;}.rw-result,.rw-role,.rw-step{break-inside:avoid;}}
/* Isolate wizard headings from the legacy application's global header rules. */
.rw-shell .rw-header{display:block!important;position:static!important;background:transparent!important;box-shadow:none!important;border:0!important;padding:0!important;max-width:none!important;width:auto!important;min-height:0!important;}
.rw-shell .rw-header h2,.rw-shell .rw-header p{width:auto!important;max-width:none!important;flex:none!important;}
.rw-shell.manufacturer-tree{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;}
#back[hidden],#next[hidden]{display:none!important;}

/* FoodCare 1.5.2 - visible direct role-tree step navigator and control contrast. */
.rw-stage-nav{display:block;margin:0 0 18px;padding:10px;border:1px solid #a8c7c0;border-radius:13px;background:#f2f8f6;}
.rw-stage-nav .rw-progress{margin:0!important;}
.rw-shell .rw-progress .rw-stage-button{border-color:#9bbcb6!important;background:#fff!important;color:#173f46!important;box-shadow:0 1px 0 rgba(18,75,65,.05)!important;}
.rw-shell .rw-progress .rw-stage-button .rw-stage-number{background:#dceae7!important;color:#174f47!important;}
.rw-shell .rw-progress .active .rw-stage-button{border-color:#0b695b!important;background:#dff2ec!important;color:#103f37!important;box-shadow:inset 0 0 0 1px #0b695b!important;}
.rw-shell .rw-progress .active .rw-stage-number{background:#0b695b!important;color:#fff!important;}
.rw-shell .rw-progress .rw-stage-button:hover{border-color:#17695d!important;background:#e7f5f1!important;color:#0c4b42!important;}
.rw-shell .rw-progress .rw-stage-button:focus-visible{outline:3px solid #17598b!important;outline-offset:2px!important;color:#103f46!important;}
.rw-shell .rw-stage-name{color:inherit!important;opacity:1!important;visibility:visible!important;}
.rw-shell select.field,.rw-shell input.field,.rw-shell textarea.field{color:#173a4c!important;background:#fff!important;border-color:#aebfca!important;}
.rw-shell select.field option{color:#173a4c!important;background:#fff!important;}
.rw-shell select.field:focus,.rw-shell input.field:focus,.rw-shell textarea.field:focus{border-color:#17639a!important;box-shadow:0 0 0 2px rgba(23,99,154,.14)!important;}
@media(max-width:720px){.rw-stage-nav{padding:7px;margin-bottom:12px}.rw-stage-nav .rw-progress{gap:4px!important}.rw-shell .rw-progress .rw-stage-button{min-height:66px!important;}}
