/* G-P09 tool CSS – every selector is scoped to .h90g-tool. */
.h90g-tool{--h90g-ink:#173b35;--h90g-muted:#5d716b;--h90g-line:#dce5e0;--h90g-soft:#f3f7f5;--h90g-gold:#b7832f;color:#243a35;background:#fff;border:1px solid var(--h90g-line);border-radius:16px;padding:clamp(14px,2.5vw,26px);font:inherit;line-height:1.6;max-width:100%;overflow-wrap:anywhere;}
.h90g-tool *{box-sizing:border-box;}
.h90g-tool h2,.h90g-tool h3,.h90g-tool legend{color:var(--h90g-ink);line-height:1.35;margin:0 0 12px;font-weight:750;}
.h90g-tool h2{font-size:clamp(1.35rem,2.4vw,1.8rem);}.h90g-tool h3{font-size:1.08rem;}
.h90g-tool p{margin:0 0 12px;}.h90g-head{border-bottom:1px solid var(--h90g-line);padding-bottom:16px;margin-bottom:18px;}.h90g-kicker{color:var(--h90g-gold);font-weight:800;letter-spacing:.08em;font-size:.78rem;}
.h90g-section{padding:18px 0;border-bottom:1px solid var(--h90g-line);}.h90g-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}.h90g-wide{grid-column:1/-1;}
.h90g-field{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:.92rem;font-weight:650;}.h90g-field input,.h90g-field select,.h90g-field textarea,.h90g-table input{width:100%;max-width:100%;min-width:0;border:1px solid #bfcfc7;border-radius:8px;padding:9px 10px;background:#fff;color:#243a35;font:inherit;font-weight:400;}
.h90g-field textarea{resize:vertical;}.h90g-tool input:focus-visible,.h90g-tool select:focus-visible,.h90g-tool textarea:focus-visible,.h90g-tool button:focus-visible{outline:3px solid #c69b51;outline-offset:2px;}
.h90g-note{font-size:.88rem;color:var(--h90g-muted);}.h90g-table-wrap{width:100%;overflow-x:auto;}.h90g-table{width:100%;border-collapse:collapse;font-size:.84rem;}.h90g-table th,.h90g-table td{border:1px solid var(--h90g-line);padding:6px;text-align:start;vertical-align:top;}.h90g-table th{background:var(--h90g-soft);color:var(--h90g-ink);}.h90g-table input{padding:6px;}
.h90g-week,.h90g-risk{border:1px solid var(--h90g-line);border-radius:12px;padding:13px;margin:12px 0;min-width:0;}.h90g-week legend,.h90g-risk legend{padding:0 7px;font-size:.95rem;}.h90g-week legend span{font-size:.78rem;color:var(--h90g-muted);font-weight:500;}.h90g-risk-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
.h90g-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px;}.h90g-actions button{border:1px solid var(--h90g-ink);border-radius:9px;padding:10px 14px;background:var(--h90g-ink);color:#fff;font:inherit;font-weight:700;cursor:pointer;}.h90g-actions button.h90g-secondary{background:#fff;color:var(--h90g-ink);}.h90g-feedback{margin:14px 0;padding:10px 12px;border-radius:8px;}.h90g-feedback:empty{display:none;}.h90g-feedback.is-ok{background:#eef6f0;color:#215a36;}.h90g-feedback.is-error{background:#fff2ed;color:#9b321e;}.h90g-output{margin-top:18px;padding:16px;background:var(--h90g-soft);border-radius:12px;}.h90g-output p{overflow-wrap:anywhere;}.h90g-summary-weeks{border-top:1px solid var(--h90g-line);margin-top:12px;padding-top:8px;}
@media(max-width:720px){.h90g-grid,.h90g-risk-grid{grid-template-columns:1fr;}.h90g-wide{grid-column:auto;}.h90g-table-wrap{overflow:visible;}.h90g-table,.h90g-table tbody,.h90g-table tr,.h90g-table td{display:block;width:100%;}.h90g-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}.h90g-table tr{border:1px solid var(--h90g-line);border-radius:8px;margin:10px 0;padding:7px;}.h90g-table td{border:0;padding:5px;}.h90g-table td input{width:100%;}}
@media print{body.h90g-print-only *{visibility:hidden!important;}body.h90g-print-only .h90g-tool .h90g-output,body.h90g-print-only .h90g-tool .h90g-output *{visibility:visible!important;}body.h90g-print-only .h90g-tool .h90g-output{display:block!important;position:absolute;inset:0 auto auto 0;width:100%;margin:0;padding:0;border:0;background:#fff;color:#000;}body.h90g-print-only .h90g-tool .h90g-actions{display:none!important;}.h90g-output{break-inside:auto;}.h90g-summary-weeks p{break-inside:avoid;}}
