/* G8 ONE free RAMS / method statement builder (docflow.js). Mobile first. */
.sec.df-sec{padding:28px 0 56px;background:linear-gradient(180deg,#eef4f7,#f7fafc 240px,#fff)}
.df{min-height:640px;font-size:17px}
.df .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.df-app{max-width:1200px;margin:0 auto}
.df-top{background:#fff;border:1px solid #dfe7ed;border-radius:20px;padding:14px 16px 10px;box-shadow:0 8px 30px rgba(11,27,43,.07);position:relative}
.df-pt{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.df-sn{font-size:13px;font-weight:700;color:#4a5866;text-transform:uppercase;letter-spacing:.06em}.df-sl{font-size:17px;color:#0b1b2b}
.df-pvb{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;border-radius:12px;border:1px solid #cfdbe3;background:#fff;color:#0b1b2b;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.df-bar{height:8px;border-radius:99px;background:#e6edf2;margin:10px 0 8px;overflow:hidden}.df-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#00a9b8,#00747f);transition:width .35s ease}
.df-dots{display:flex;gap:6px;list-style:none;margin:0;padding:2px 0 4px;overflow-x:auto;scrollbar-width:none}.df-dots::-webkit-scrollbar{display:none}
.df-dots button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px 0 6px;border-radius:99px;border:1px solid #dfe7ed;background:#fff;color:#4a5866;font:inherit;font-size:13.5px;font-weight:600;white-space:nowrap;cursor:pointer}
.df-dots button i{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#eef3f6;font-style:normal;font-size:12px;font-weight:800}.df-dots button .dfi{width:14px;height:14px}
.df-dots .done{color:#0b1b2b}.df-dots .done i{background:#d9f3f5;color:#00646e}.df-dots .cur{border-color:#00747f;color:#00525a;background:#effafb}.df-dots .cur i{background:#00747f;color:#fff}.df-dots button:disabled{cursor:default;opacity:1;color:#5d6b78}
.df-saved{margin:2px 0 0;font-size:13px;color:#4a5866;min-height:18px}
.df-cols{display:grid;gap:20px;margin-top:16px}
.df-main{background:#fff;border:1px solid #dfe7ed;border-radius:20px;padding:20px 16px;box-shadow:0 8px 30px rgba(11,27,43,.06);min-width:0}
.df-main>h2{font-size:clamp(24px,6vw,30px);line-height:1.2;margin:0 0 6px;color:#0b1b2b;outline:0}.df-sub{margin:0 0 18px;color:#46525e;font-size:16.5px}
.df-resume{display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#effafb;border:1px solid #bfe7eb;border-radius:14px;padding:10px 12px;margin:0 0 14px;font-size:15px}.df-resume p{margin:0;flex:1 1 200px}.df-resume[hidden]{display:none}
.df-f{margin:0 0 14px;min-width:0}.df-f label{display:block;font-weight:700;font-size:15px;margin:0 0 6px;color:#0b1b2b}.df-rq{font-weight:600;font-size:12.5px;color:#9b1c24;margin-left:4px}
.df input[type=text],.df input:not([type]),.df input[type=date],.df textarea{width:100%;max-width:100%;box-sizing:border-box;font:inherit;font-size:17px;line-height:1.4;color:#0b1622;background:#fff;border:1.5px solid #c9d6df;border-radius:12px;padding:12px 14px;min-height:50px}
.df textarea{resize:vertical;min-height:72px}.df input:focus,.df textarea:focus{outline:3px solid rgba(0,169,184,.35);outline-offset:0;border-color:#00a9b8}.df [aria-invalid=true]{border-color:#c0262d!important}
.df-err{color:#a01c22;font-weight:700;font-size:15px;margin:6px 0 0}.df-err[hidden]{display:none}.df-mut{color:#4f5c68;font-size:15px;margin:10px 0}
.df-grid2{display:grid;gap:0 14px;grid-template-columns:1fr 1fr}.df-grid2>.df-f{grid-column:1/-1}.df-grid2>.df-f.h{grid-column:auto}
.df-h3{font-size:17px;margin:22px 0 10px;color:#0b1b2b}.df-body>.df-h3:first-child{margin-top:0}
.df-trades{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.df-trade{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:108px;padding:14px 10px;border-radius:18px;border:1.5px solid #dbe4ea;background:#fff;color:#0b1b2b;font:inherit;font-size:15.5px;font-weight:700;line-height:1.25;text-align:center;cursor:pointer;transition:transform .12s,border-color .15s,box-shadow .15s}
.df-trade .dfi{width:30px;height:30px;color:#00747f}.df-trade:hover{border-color:#8fd3da;box-shadow:0 6px 18px rgba(0,116,127,.12)}.df-trade:active{transform:scale(.98)}
.df-trade.on{border:2.5px solid #00747f;background:#effafb;box-shadow:0 6px 20px rgba(0,116,127,.18)}.df-tick{position:absolute;top:8px;right:8px;width:24px;height:24px;border-radius:50%;background:#00747f;color:#fff;display:flex;align-items:center;justify-content:center}.df-tick .dfi{width:15px;height:15px;color:#fff}
.df-chips{display:flex;flex-wrap:wrap;gap:8px}
.df-chip{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:8px 14px 8px 8px;border-radius:99px;border:1.5px solid #d3dee5;background:#fff;color:#0b1b2b;font:inherit;font-size:15px;font-weight:600;line-height:1.3;text-align:left;cursor:pointer;max-width:100%}
.df-chip .df-ck{flex:0 0 26px;width:26px;height:26px;border-radius:50%;background:#eef3f6;display:inline-flex;align-items:center;justify-content:center;color:#3c4a56}.df-chip .df-ck .dfi{width:16px;height:16px}
.df-chip.on{border-color:#00747f;background:#effafb;color:#00424a}.df-chip.on .df-ck{background:#00747f;color:#fff}.df-chip:hover{border-color:#8fd3da}
.df-add{display:flex;gap:8px;margin:12px 0 0}.df-add input{flex:1;min-width:0}
.df-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border-radius:14px;font:inherit;font-size:16px;font-weight:700;text-decoration:none;cursor:pointer;border:0;white-space:nowrap}
.df-btn .dfi{width:20px;height:20px}.df-btn.p{background:#00747f;color:#fff;box-shadow:0 8px 22px rgba(0,116,127,.28)}.df-btn.p:hover{background:#00646e}.df-btn.g{background:#fff;color:#0b1b2b;border:1.5px solid #cfdbe3}.df-btn.g:hover{background:#f4f8fa}
.df-btn.sm{min-height:44px;padding:0 14px;font-size:15px}.df-btn.xl{min-height:58px;font-size:18px;width:100%}.df-btn.o,.df a.df-btn.o{background:#0b1b2b;color:#fff}.df-btn[disabled]{opacity:.6;cursor:progress}
.df-nav{display:flex;justify-content:space-between;gap:12px;margin-top:26px;padding-top:18px;border-top:1px solid #edf1f4}.df-nav .df-btn.p{flex:1;max-width:260px;margin-left:auto}
.df-more,.df-key{margin:14px 0 0;border:1px solid #e3e9ef;border-radius:14px;padding:4px 14px;background:#fbfdfe}.df-more summary,.df-key summary{min-height:44px;display:flex;align-items:center;font-weight:700;font-size:15px;cursor:pointer;color:#00525a}.df-more .df-chips{padding:4px 0 12px}.df-key p{font-size:14.5px;margin:4px 0 10px}
.df-hzl{display:grid;gap:10px}
.df-hz{border:1.5px solid #dbe4ea;border-radius:16px;background:#fff;overflow:hidden}.df-hz[open]{border-color:#9bd8de;box-shadow:0 6px 18px rgba(11,27,43,.06)}
.df-hz summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;min-height:56px;padding:10px 14px;cursor:pointer;list-style:none}.df-hz summary::-webkit-details-marker{display:none}
.df-hzt{flex:1 1 180px;font-weight:700;font-size:16px;color:#0b1b2b}.df-hzr{display:inline-flex;align-items:center;gap:6px}.df-arr{color:#5d6b78;font-weight:700}
.df-hzb{padding:4px 14px 14px;border-top:1px solid #edf1f4}
.df-rb{display:inline-block;font-size:12.5px;font-weight:800;border-radius:99px;padding:4px 10px;white-space:nowrap}.df-rb.lo{background:#dcfce7;color:#166534}.df-rb.md{background:#fef3c7;color:#92400e}.df-rb.hi{background:#fee2e2;color:#991b1b}
.df-ctl{border:0;padding:0;margin:6px 0 10px}.df-ctl legend{font-weight:700;font-size:15px;margin:0 0 8px;padding:0}
.df-ci{display:flex;gap:10px;align-items:flex-start;margin:0 0 8px;padding:8px;border-radius:12px;background:#f6f9fb}.df-ci.on{background:#effafb}
.df-ci input[type=checkbox]{flex:0 0 26px;width:26px;height:26px;margin:12px 0 0;accent-color:#00747f;cursor:pointer}.df-ci textarea{min-height:52px;font-size:16px;padding:10px 12px}
.df-rate{display:grid;gap:12px;margin:8px 0 14px;padding:12px;border-radius:14px;background:#f6f9fb}.df-rl{margin:0 0 8px;font-weight:700;font-size:15px;display:flex;align-items:center;gap:8px}
.df-seg{display:flex;align-items:center;gap:5px;margin:0 0 6px}.df-segl{flex:0 0 82px;font-size:13.5px;font-weight:600;color:#46525e}
.df-seg button{flex:1;min-width:0;min-height:44px;border-radius:10px;border:1.5px solid #cfdbe3;background:#fff;color:#0b1b2b;font:inherit;font-size:16px;font-weight:700;cursor:pointer}.df-seg button.on{background:#0b1b2b;border-color:#0b1b2b;color:#fff}
.df-mx{display:grid;grid-template-columns:repeat(5,16px);gap:2px;justify-self:start}.df-mx i{width:16px;height:16px;border-radius:3px;position:relative}.df-mx .lo{background:#bbf7d0}.df-mx .md{background:#fde68a}.df-mx .hi{background:#fecaca}
.df-mx .b4{box-shadow:inset 0 0 0 2px #991b1b}.df-mx .af{box-shadow:inset 0 0 0 2px #0b1b2b;background-image:radial-gradient(circle,#0b1b2b 3px,transparent 3.5px)}
.df-ppe{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.df-pp{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 12px;border-radius:16px;border:1.5px solid #d3dee5;background:#fff;color:#0b1b2b;font:inherit;font-size:15px;font-weight:600;line-height:1.25;text-align:left;cursor:pointer}
.df-pp .dfi{flex:0 0 34px;width:34px;height:34px;padding:5px;border-radius:10px;background:#eef3f6;color:#3c4a56}.df-pp.on{border-color:#00747f;background:#effafb}.df-pp.on .dfi{background:#00747f;color:#fff}
.df-steps-l{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.df-st{display:grid;grid-template-columns:22px 30px 1fr;grid-template-areas:"g n t" ". . a";gap:6px 8px;align-items:start;padding:10px;border-radius:14px;border:1.5px solid #dbe4ea;background:#fff;transition:transform .05s}
.df-st.drag{z-index:3;position:relative;box-shadow:0 12px 30px rgba(11,27,43,.18);border-color:#00a9b8}.df-st.tgt{border-color:#00a9b8;border-style:dashed}
.df-grip{grid-area:g;cursor:grab;color:#7d8b97;touch-action:none;padding-top:12px}.df-grip .dfi{width:22px;height:22px}
.df-n{grid-area:n;width:30px;height:30px;margin-top:10px;border-radius:50%;background:#0b1b2b;color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800}
.df-st textarea{grid-area:t;min-height:56px;font-size:16px;padding:10px 12px}.df-sta{grid-area:a;display:flex;gap:6px;justify-content:flex-end}
.df-ib{width:44px;height:44px;border-radius:12px;border:1.5px solid #d3dee5;background:#fff;color:#0b1b2b;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex:0 0 44px}.df-ib:disabled{opacity:.35;cursor:default}.df-ib .dfi{width:20px;height:20px}
.df-roles{display:grid;gap:8px;margin-bottom:10px}.df-role{display:grid;grid-template-columns:1fr 1fr 44px;gap:8px;align-items:end}.df-role .df-f{margin:0}
.df-leg{margin-top:20px;padding:14px 16px;border-radius:16px;background:#f6f9fb;border:1px solid #e3e9ef}.df-leg .df-h3{margin-top:0}.df-leg ul{margin:6px 0 0;padding-left:20px;font-size:15px}.df-leg li{margin:4px 0}.df-leg li.std{color:#33424f}
.df-sigs{display:grid;gap:16px}.df-sigc{padding:14px;border-radius:16px;border:1px solid #e3e9ef;background:#fbfdfe;min-width:0}.df-sigc .df-h3{margin-top:0}
.df-pad{margin:6px 0 12px}.df-padl{font-weight:700;font-size:15px;margin:0 0 6px}.df-pad canvas{display:block;width:100%;height:150px;border:1.5px dashed #9fb3c0;border-radius:14px;background:#fff linear-gradient(transparent 108px,#cfdbe3 108px,#cfdbe3 110px,transparent 110px);touch-action:none;cursor:crosshair}
.df-padh{font-size:13.5px;color:#4f5c68;margin:6px 0}.df-padb{display:flex;gap:8px}.df-padb input{flex:1;min-width:0}
.df-wk{padding:12px 0;border-top:1px solid #e3e9ef}
.df-final{display:grid;gap:18px;margin-top:22px}.df-dlbox{display:grid;gap:4px;align-content:start}.df-st2{font-weight:700;color:#0f5a37;min-height:22px;margin:4px 0}
.df-cta{margin-top:10px;padding:16px;border-radius:16px;background:#f3f7fa;border:1px solid #e1e8ee;font-size:15px}.df-cta p{margin:0 0 12px;color:#26333f}.df-cta .df-btn{min-height:48px}
.df-side{display:none}
.df-paper{background:#fff;border:1px solid #dfe7ed;border-radius:14px;overflow:hidden;box-shadow:0 10px 30px rgba(11,27,43,.08);font-size:12px;color:#0b1b2b}
.df-inline{max-height:520px;overflow:auto}
.dp-hd{background:#0b1b2b;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px}.dp-hd img{height:16px;width:auto}.dp-hd span{font-size:9px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#7fd8e0;text-align:right}
.dp-cv{padding:14px 16px 4px}.dp-bars{display:flex;align-items:flex-end;gap:4px;height:20px;margin-bottom:8px}.dp-bars i{width:5px;border-radius:2px}.dp-bars i:nth-child(1){height:7px;background:#9eeaf1}.dp-bars i:nth-child(2){height:11px;background:#5fd3dd}.dp-bars i:nth-child(3){height:15px;background:#00a9b8}.dp-bars i:nth-child(4){height:20px;background:#00747f}
.dp-eb{margin:0;font-size:9.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#00646e}.dp-cv h3{font-size:19px;line-height:1.2;margin:4px 0 6px}.dp-badges{display:flex;flex-wrap:wrap;gap:4px;margin:0 0 10px}.dp-badges span{font-size:9.5px;font-weight:700;background:#e6f6f8;color:#00525a;border-radius:99px;padding:2px 8px}
.dp-facts{background:#0b1b2b;color:#fff;border-radius:10px;padding:10px 12px;display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}.dp-facts span{display:block;font-size:8px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9ec3cc}.dp-facts b{font-size:11px;overflow-wrap:anywhere}
.dp section{padding:6px 16px 8px}.dp h4{display:flex;align-items:center;gap:7px;font-size:13px;margin:8px 0 6px}.dp h4 span{width:18px;height:18px;border-radius:5px;background:#00747f;color:#fff;font-size:10px;display:inline-flex;align-items:center;justify-content:center}
.dp p{margin:0 0 6px}.dp ol,.dp ul{margin:0;padding-left:18px}.dp li{margin:2px 0}
.dp table{width:100%;border-collapse:collapse;font-size:11px}.dp th,.dp td{text-align:left;vertical-align:top;padding:5px 6px;border-bottom:1px solid #e3e9ef}.dp thead th{background:#0b1b2b;color:#fff;font-size:10px}.dp .kv th{width:34%;color:#33424f}.dp .ra small{display:block;color:#56636f;font-size:10px}.dp .ra .df-rb{font-size:10px;padding:2px 6px}
.dp-sigs{display:flex;flex-wrap:wrap;gap:10px}.dp-sigs figure{margin:0;border:1px solid #e3e9ef;border-radius:8px;padding:6px;width:140px}.dp-sigs img{height:44px;width:100%;object-fit:contain}.dp-sigs figcaption{font-size:10px;color:#46525e}
.df-dlg{width:min(860px,100vw - 16px);max-height:calc(100dvh - 16px);border:0;border-radius:18px;padding:0;box-shadow:0 30px 80px rgba(2,10,18,.4)}.df-dlg::backdrop{background:rgba(6,17,28,.6)}
.df-dlgh{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;padding:10px 14px;border-bottom:1px solid #e3e9ef}.df-dlgh h2{font-size:18px;margin:0}
.df-dlg .df-paper{margin:12px;font-size:13px}.df-dlgf{position:sticky;bottom:0;background:#fff;padding:10px 14px;border-top:1px solid #e3e9ef;display:flex;justify-content:flex-end}
@media(min-width:600px){.df-trades{grid-template-columns:repeat(3,1fr)}.df-ppe{grid-template-columns:repeat(3,1fr)}.df-rate{grid-template-columns:1fr 1fr auto;align-items:start}.df-sigs{grid-template-columns:1fr 1fr}.df-st{grid-template-columns:22px 30px 1fr auto;grid-template-areas:"g n t a"}.df-sta{padding-top:6px}.df-main{padding:26px 26px}}
@media(min-width:1000px){.df-cols{grid-template-columns:minmax(0,1fr) 380px;align-items:start}.df-side{display:block;position:sticky;top:76px}.df-sideh{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}.df-side .df-paper{max-height:calc(100vh - 150px);overflow:auto}.df-pvb{display:none}
 .df-trades{grid-template-columns:repeat(4,1fr)}.df-last .df-cols{grid-template-columns:1fr}.df-last .df-side{display:none}.df-final{grid-template-columns:minmax(0,1fr) 340px}.df-inline{max-height:640px}}
@media(prefers-reduced-motion:reduce){.df-bar i,.df-trade,.df-st{transition:none}}
@media print{.df-top,.df-nav,.df-side,.df-cta{display:none}}
.df-grp{border:1px solid #e2e8f0;border-radius:16px;padding:16px 16px 4px;margin:0 0 14px;background:#fbfdff}.df-gh{display:flex;align-items:center;gap:10px;font-size:18px;margin:0 0 12px;color:#0b1220}.df-gi{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#e6f6f7;color:#00646e;flex:none}.df-gi .dfi{width:20px;height:20px}
