body.dgp-body { background:#e8eef3 !important; color:#243040 !important; --dgp-ink:#243040; --dgp-blue:#3d5a73; --dgp-clay:#c06a3a; --dgp-deep:#874323; --dgp-line:#b7c5ce; }
body.dgp-body .shell-footer { position:static !important; }
main.shell-main.dgp-main { padding-left:22px; padding-right:22px; }
.dgp-page { width:min(820px,100%); margin:30px auto 62px; color:#243040; }
.dgp-page [hidden] { display:none !important; }
.dgp-page h1,.dgp-page h2,.dgp-page h3,.dgp-page p,.dgp-page li,.dgp-page label { color:#243040; }
.dgp-page h1 { font-size:36px; font-weight:800; line-height:1.24; margin:15px 0 22px; text-wrap:balance; }
.dgp-page h2 { font-size:22px; line-height:1.45; margin:0 0 12px; }
.dgp-page p { line-height:1.85; }
.dgp-kicker { color:#607789 !important; font-size:13px; margin:0; }
.dgp-welcome { border-top:3px solid #3d5a73; padding:25px 0 16px; }
.dgp-lead { max-width:680px; font-size:19px; }
.dgp-exclude { max-width:700px; color:#536474 !important; font-size:15px; }
.dgp-gates { display:grid; gap:10px; margin:28px 0 22px; }
.dgp-gates label { min-height:44px; display:flex; align-items:flex-start; gap:11px; padding:8px 0; cursor:pointer; line-height:1.65; }
.dgp-gates input { width:21px; height:21px; flex:0 0 21px; margin:2px 0 0; accent-color:#3d5a73; }
.dgp-button { min-height:48px; padding:13px 23px; border:1px solid #3d5a73; border-radius:6px; background:#3d5a73; color:white !important; font-weight:600; font-size:16px; line-height:1.4; cursor:pointer; }
.dgp-page button { font-family:inherit; font-size:16px; }
.dgp-button:hover:not(:disabled) { background:#294356; }
.dgp-button:disabled { opacity:.45; cursor:not-allowed; }
.dgp-secondary { color:#243040 !important; background:transparent; border-color:#94a7b4; }
.dgp-progress { display:flex; align-items:center; gap:14px; color:#607789; margin:12px 0 28px; }
.dgp-progress progress { flex:1; height:7px; accent-color:#3d5a73; }
.dgp-ask h2 { font-size:30px; max-width:760px; margin:28px 0 34px; line-height:1.5; }
.dgp-ruler { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border:1px solid #a9bbc7; border-radius:7px; overflow:hidden; background:#f7f9fa; }
.dgp-option { min-height:76px; padding:10px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; border:0; border-right:1px solid #c4d0d8; background:transparent; color:#344656; font-weight:500; font-size:15px; line-height:1.35; cursor:pointer; }
.dgp-option:last-child { border-right:0; }
.dgp-option span { color:#718697; font-size:12px; }
.dgp-option:hover,.dgp-option:focus-visible { background:#e4ebef; outline:2px solid #3d5a73; outline-offset:-2px; }
.dgp-option.is-selected { background:#3d5a73; color:#fff; }
.dgp-option.is-selected span { color:#e2edf3; }
.dgp-option:disabled { cursor:default; }
.dgp-back { margin-top:24px; padding:8px 4px; border:0; border-bottom:1px solid #9aabb6; background:none; color:#405c70; font-size:15px; font-weight:500; cursor:pointer; }
.dgp-back:disabled { opacity:.45; }
.dgp-chart { margin:4px 0 30px; padding:24px clamp(16px,4vw,34px); border:1px solid #c6d1d8; border-radius:8px; background:#f6f8f9; display:grid; grid-template-columns:minmax(0,1.4fr) minmax(150px,.6fr); gap:30px; align-items:center; }
.dgp-direction { min-width:0; }
.dgp-direction-total { display:flex; justify-content:space-between; color:#243040; font-size:20px; font-weight:700; }
.dgp-direction-total small { font-size:13px; color:#657989; font-weight:500; }
.dgp-direction-line { position:relative; height:34px; margin:17px 5px 7px; border-top:4px solid #3d5a73; }
.dgp-direction-line::before,.dgp-direction-line::after { content:""; position:absolute; top:-9px; width:2px; height:14px; background:#607789; }
.dgp-direction-line::before { left:0; }.dgp-direction-line::after { right:0; }
.dgp-tick { position:absolute; top:-7px; width:1px; height:9px; background:#91a2ad; }
.dgp-pointer { position:absolute; top:-12px; left:50%; width:18px; height:18px; border:3px solid #f6f8f9; border-radius:50%; background:#c06a3a; box-shadow:0 0 0 2px #874323; transform:translateX(-50%); transition:left .25s ease; }
.dgp-direction-ends { display:flex; justify-content:space-between; gap:10px; color:#41596b; font-size:14px; }
.dgp-direction-ends span:last-child { text-align:right; }
.dgp-direction-band { margin-top:12px; color:#536878; font-size:14px; }
.dgp-strain { display:grid; grid-template-columns:1fr 42px; gap:12px; align-items:stretch; min-height:250px; }
.dgp-strain-copy { display:flex; flex-direction:column; justify-content:space-between; padding:5px 0; color:#536878; font-size:13px; }
.dgp-strain-copy strong { color:#243040; font-size:15px; }
.dgp-track { height:250px; position:relative; border-radius:5px; background:linear-gradient(to bottom,#874323 0% 35.7%,#c06a3a 35.7% 67.9%,#718da0 67.9% 100%); }
.dgp-track::before,.dgp-track::after { content:""; position:absolute; left:0; right:0; height:2px; background:#f6f8f9; opacity:.8; }
.dgp-track::before { top:35.7%; }.dgp-track::after { top:67.9%; }
.dgp-strain-marker { position:absolute; z-index:1; left:50%; top:50%; width:30px; height:16px; border:3px solid #f6f8f9; border-radius:12px; background:#243040; box-shadow:0 0 0 1px #243040; transform:translate(-50%,-50%); transition:top .25s ease; }
.dgp-reading { padding-bottom:23px; }
.dgp-page #dgp-reading { font-size:18px; line-height:1.9; margin:0; }
.dgp-dimensions,.dgp-opening,.dgp-misread { padding:19px 0; border-top:1px solid #c9d3d9; }
.dgp-opening li { margin:0 0 11px; line-height:1.8; }
.dgp-misread { padding:18px 20px; border:0; border-left:4px solid #c06a3a; background:#dce5ea; }
.dgp-copy-line { margin:22px 0 12px; color:#536878 !important; }
.dgp-actions { display:flex; flex-wrap:wrap; gap:9px; }
.dgp-status { min-height:24px; color:#536878 !important; font-size:14px; }
.dgp-status button { margin-left:8px; padding:6px 10px; border:1px solid #94a7b4; border-radius:5px; background:#f6f8f9; color:#243040; cursor:pointer; }
.dgp-canvas { display:block; width:100%; max-width:420px; height:auto; margin:20px auto; }
.dgp-download { display:block; width:max-content; margin:10px auto; padding:12px; color:#243040; }
.dgp-page .quiz-seo-guide { color:#243040; background:transparent; }
.dgp-page .quiz-seo-guide h2,.dgp-page .quiz-seo-guide h3,.dgp-page .quiz-seo-guide p,.dgp-page .quiz-seo-guide li { color:#243040; }
.dgp-page .quiz-login,.dgp-page .quiz-related { background:#f6f8f9; border-color:#c6d1d8; color:#243040; }
.dgp-page .quiz-login span,.dgp-page .quiz-related-title { color:#536878; }
.dgp-page .quiz-related-list a { color:#243040; background:#fff; border-color:#b7c5ce; }
.dgp-ask:not([hidden]),.dgp-result:not([hidden]) { animation:dgp-enter .2s ease-out; }
@keyframes dgp-enter { from {opacity:0;transform:translateY(5px)} to {opacity:1;transform:translateY(0)} }
@media(max-width:600px) { .dgp-ruler { grid-template-columns:repeat(3,minmax(0,1fr)); } .dgp-option { min-height:76px; border-bottom:1px solid #c4d0d8; } .dgp-option:nth-child(3) { border-right:0; } .dgp-option:nth-child(4),.dgp-option:nth-child(5) { grid-column:span 1; border-bottom:0; } .dgp-option:nth-child(4) { grid-column:1 / span 2; } .dgp-option:nth-child(5) { grid-column:3; } .dgp-option:nth-child(4) { border-right:1px solid #c4d0d8; } .dgp-chart { grid-template-columns:minmax(0,1fr) 120px; gap:13px; padding:17px 13px; } .dgp-strain { grid-template-columns:1fr 34px; gap:7px; min-height:230px; } .dgp-track { height:230px; } .dgp-direction-ends { font-size:12px; } }
@media(max-width:370px) { .dgp-chart { grid-template-columns:minmax(0,1fr) 100px; gap:8px; padding:13px 9px; } .dgp-direction-total { font-size:16px; } .dgp-strain-copy { font-size:11px; } }
@media(max-width:420px) { .dgp-page h1 { font-size:32px; } .dgp-ask h2 { font-size:26px; } }
@media(prefers-reduced-motion:reduce) { .dgp-page *, .dgp-page *::before, .dgp-page *::after { animation:none !important; transition:none !important; } }
