.sdst-page{max-width:980px;margin:36px auto;padding:0 18px;color:var(--wp--preset--color--contrast,#183329);box-sizing:border-box}.sdst-page *,.sdst *{box-sizing:border-box}.sdst-page h1{font-size:clamp(1.5rem,3vw,2.5rem);line-height:1.3;margin:12px 0 22px}.sdst-brand{font-weight:700;color:#167a43}.sdst{--sdst-green:#147b45;font-family:inherit;border:1px solid #dce8e0;border-radius:20px;padding:clamp(16px,3vw,28px);box-shadow:0 8px 32px rgba(16,84,44,.07);background:var(--sdst-surface,#fff);color:#163b29;max-width:100%;overflow-wrap:anywhere}.sdst-languages{display:flex;flex-wrap:wrap;gap:8px}.sdst-languages a{border:1px solid #d5e7db;color:#176c40;border-radius:999px;text-decoration:none;padding:9px 15px;min-height:44px;display:inline-flex;align-items:center;font-size:14px;font-weight:650}.sdst-languages a[aria-current]{background:#147b45;color:white}.sdst-intro{line-height:1.75;margin:20px 0}.sdst-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.sdst-fields label{display:block;margin:0 0 7px;font-weight:650}.sdst-fields input,.sdst-fields select{display:block;width:100%;max-width:100%;border:1px solid #b8d2c2;border-radius:12px;padding:12px;background:#fff;color:#173b28;min-height:48px;font-size:16px}.sdst :is(input,select,button,a):focus-visible{outline:3px solid #e5a820;outline-offset:2px}.sdst-subtitle{font-size:1.2rem;margin:24px 0 12px}.sdst-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.sdst-results>div{background:#eef7f0;border:1px solid #d7eadd;border-radius:14px;padding:16px;min-width:0}.sdst-results small{display:block;color:#526a5b;font-size:13px}.sdst-results strong{display:block;font-size:clamp(16px,2vw,22px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.sdst-copy{border:0;background:#147b45;color:white;border-radius:12px;min-height:44px;padding:10px 18px;margin-top:16px;font-weight:700;cursor:pointer}.sdst-copy:disabled{opacity:.5;cursor:not-allowed}.sdst-notice{font-size:13px;color:#526a5b;line-height:1.6;margin-top:18px}.sdst-error{color:#b91c1c}.sdst-article{line-height:1.8;margin:30px 0 70px}.sdst-article h2{margin:26px 0 8px;font-size:1.4rem}.sdst-article h3{font-size:1.08rem;margin:20px 0 6px}@media(max-width:540px){.sdst-page{margin:20px auto;padding:0 12px}.sdst{padding:15px;border-radius:15px}.sdst-fields{grid-template-columns:1fr}.sdst-results{gap:8px}.sdst-results>div{padding:12px}.sdst-languages a{flex:1;justify-content:center;padding:9px 10px}}@media(prefers-color-scheme:dark){.sdst{background:#182c22;color:#f2fff6;border-color:#365343}.sdst-results>div{background:#203c2c;border-color:#42634d}.sdst-results small,.sdst-notice{color:#c1d6c9}.sdst-languages a{color:#e5fff0;border-color:#52715d}.sdst-languages a[aria-current]{background:#147b45}.sdst-fields input,.sdst-fields select{background:#fff;color:#173b28}}@media(prefers-reduced-motion:reduce){.sdst *{animation:none!important;transition:none!important}}

.sdst [hidden]{display:none!important}.sdst-mode{display:flex;gap:10px;flex-wrap:wrap;border:0;padding:0;margin:0 0 20px;min-width:0}.sdst-mode legend{font-weight:700;margin-bottom:10px}.sdst-mode label{display:inline-flex;align-items:center;gap:8px;border:1px solid #c9dfd0;border-radius:12px;padding:10px 14px;min-height:44px;cursor:pointer;font-weight:650}.sdst-mode label:has(input:checked){background:#e3f4e9;border-color:#147b45;color:#104c2b}.sdst-mode input{accent-color:#147b45}.sdst-measure-unit{margin-top:14px;max-width:320px}.sdst-measure-unit label{display:block;font-weight:650;margin-bottom:7px}.sdst-measure-unit select{width:100%;min-height:48px;padding:10px;border:1px solid #b8d2c2;border-radius:12px;font-size:16px;background:#fff;color:#173b28}@media(max-width:540px){.sdst-mode label{flex:1 1 100%;justify-content:center}}

/* Smart Land Studio v1.2.0: responsive, CSS-only illustrative field */
.sdst-page{max-width:1160px}.sdst{border-radius:26px;background:linear-gradient(160deg,#fff 65%,#f3faf4);box-shadow:0 16px 50px rgba(18,77,41,.11);padding:clamp(18px,3vw,36px)}.sdst-studio-brand{display:flex;align-items:center;gap:13px;padding:0 0 18px;border-bottom:1px solid #e3ede5}.sdst-studio-brand strong{display:block;font-size:clamp(18px,2.4vw,27px);line-height:1.3;color:#14572f}.sdst-studio-brand small{display:block;color:#65806c;font-size:12px}.sdst-studio-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:linear-gradient(140deg,#daf4df,#a6e6b3);font-size:27px;box-shadow:0 6px 12px #1a70301c}.sdst-mode label{flex:1;justify-content:center;border-radius:15px;background:#f5faf6;transition:background .15s}.sdst-mode label:has(input:checked){background:linear-gradient(135deg,#0c8a42,#075f31);color:#fff;box-shadow:0 6px 14px #136c382b}.sdst-mode label:has(input:checked) input{accent-color:#fff}.sdst-fields input:focus,.sdst-fields select:focus{border-color:#15934c;box-shadow:0 0 0 3px #14944c24}.sdst-land-preview{border-radius:22px;border:1px solid #d7e9d8;background:linear-gradient(145deg,#f2faf2,#fff);padding:18px;margin:20px 0;overflow:hidden}.sdst-land-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#195b35}.sdst-live{font-size:11px;letter-spacing:.07em;color:#07833d;font-weight:800}.sdst-field-scene{height:clamp(160px,23vw,270px);display:grid;place-items:center;perspective:650px;overflow:hidden}.sdst-field-plot{--field-ratio:1.5;position:relative;width:clamp(150px,38%,320px);height:clamp(95px,15vw,170px);transform:rotateX(48deg) rotateZ(-17deg) scaleX(clamp(.75,var(--field-ratio),1.5));border:9px solid #8a5b32;border-radius:7px;background:repeating-linear-gradient(90deg,#318b34 0 6px,#67b84b 6px 10px,#3d9235 10px 17px);box-shadow:9px 15px 0 #624322,17px 24px 20px #304d2b48;transition:transform .25s}.sdst-field-label{position:absolute;inset:0;display:grid;place-items:center;color:#143f25;font-size:clamp(12px,1.6vw,18px);font-weight:850;text-align:center;text-shadow:0 1px #fff;background:#ffffffb8;border-radius:10px;margin:auto;width:75%;height:43px;top:25%;transform:rotateZ(17deg) rotateX(-40deg)}.sdst-land-preview>small{display:block;text-align:center;color:#597463}.sdst-results{grid-template-columns:repeat(4,minmax(0,1fr))}.sdst-results>div{background:linear-gradient(135deg,#effbf1,#dcf4e2);border-radius:17px;box-shadow:0 5px 14px #13592b0a}.sdst-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.sdst-actions button{flex:1 1 155px;min-height:48px;border:0;border-radius:13px;font-weight:750;cursor:pointer;padding:10px 13px}.sdst-actions .sdst-copy{margin:0;background:#147b45;color:#fff}.sdst-share{background:#0d9b50;color:white}.sdst-print{background:#e7f0e9;color:#175332}.sdst-actions button:disabled{opacity:.5;cursor:not-allowed}@media(min-width:768px){.sdst[data-tool="land-area-calculator"]{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:26px}.sdst-studio-brand,.sdst-languages,.sdst-intro,.sdst-mode,.sdst-results,.sdst-actions,.sdst-notice,.sdst-subtitle,.sdst-error{grid-column:1/-1}.sdst-dimensions,.sdst-direct{grid-column:1;grid-row:5}.sdst-land-preview{grid-column:2;grid-row:5;margin:0 0 16px;align-self:stretch}}@media(max-width:767px){.sdst-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:360px){.sdst-actions button{flex-basis:100%}.sdst-results strong{font-size:16px}.sdst-studio-brand strong{font-size:17px}}@media print{.sdst-languages,.sdst-actions,.site-header,.site-footer,.sdst-mode{display:none!important}.sdst{box-shadow:none!important;border:0!important}.sdst-page{max-width:100%}}@media(prefers-reduced-motion:reduce){.sdst-field-plot{transition:none}}

/* v1.2.1: clean measurement-only diagram */
.sdst-land-preview{background:linear-gradient(145deg,#f7fcf9,#edf8f0);border:1px solid #cfe6d7}.sdst-measure-diagram{display:block;width:100%;max-width:480px;height:auto;margin:10px auto}.sdst-land-preview .sdst-field-label{position:static;inset:auto;display:inline;color:#146b40;font-size:17px;text-shadow:none;background:none;border-radius:0;width:auto;height:auto;top:auto;transform:none}.sdst-land-preview .sdst-length-label,.sdst-land-preview .sdst-width-label{font-family:inherit}@media(max-width:360px){.sdst-land-preview{padding:10px}}

.sdst-actions .sdst-download{background:#e0f2e8;color:#155a36;border:1px solid #b8dec9}.sdst-actions .sdst-download:focus-visible{outline:3px solid #e5a820;outline-offset:2px}


/* Smart Land Studio v1.2.4: readable responsive controls, results and diagram */
.sdst-page{width:100%;max-width:1160px;margin-inline:auto;min-width:0}
.sdst{min-width:0;overflow:hidden;box-shadow:0 9px 30px rgba(17,74,40,.09)}
.sdst-studio-brand{min-width:0}.sdst-studio-brand>div{min-width:0}
.sdst-studio-brand strong{overflow-wrap:anywhere;letter-spacing:-.01em}
.sdst-intro{line-height:1.65;color:#526e5a}
.sdst-fields>div{min-width:0}
.sdst-fields input,.sdst-fields select,.sdst-measure-unit select{font-size:16px!important;min-height:52px!important;border:1.5px solid #a7ccb5!important;border-radius:13px!important;padding:12px 14px!important;box-shadow:inset 0 1px 2px #173d2808}
.sdst-fields label,.sdst-measure-unit label{font-size:14px;line-height:1.45;color:#194e31}
.sdst-land-preview{min-width:0;padding:clamp(12px,3vw,22px);border-radius:18px}
.sdst-measure-diagram{display:block;width:100%;height:auto;max-width:560px;margin:10px auto;overflow:visible}
.sdst-results{gap:12px}.sdst-results>div{min-width:0;padding:15px;border:1px solid #cce8d5}
.sdst-results strong{font-size:clamp(17px,2.1vw,23px);line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;word-break:normal}
.sdst-results small{font-size:12px;line-height:1.4;margin-bottom:6px}
.sdst-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sdst-actions button{width:100%;min-width:0;min-height:50px;margin:0;line-height:1.4;overflow-wrap:anywhere;font-size:14px;padding:10px}
.sdst-actions button:active{transform:scale(.985)}
.sdst-mode{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sdst-mode legend{float:none;width:100%;margin-bottom:9px}
.sdst-mode label{min-width:0;min-height:48px;padding:10px;line-height:1.35}
.sdst-article{max-width:850px;margin-inline:auto}
@media(max-width:767px){
 .sdst-page{padding-inline:12px;margin-block:16px 24px}
 .sdst{padding:16px 14px;border-radius:18px}
 .sdst-studio-brand{gap:10px;padding-bottom:13px}
 .sdst-studio-icon{width:43px;height:43px;font-size:23px;flex:none;border-radius:12px}
 .sdst-studio-brand strong{font-size:clamp(17px,4.6vw,22px)}
 .sdst-intro{font-size:13px;margin:14px 0 18px}
 .sdst-languages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
 .sdst-languages a{min-width:0;min-height:44px;padding:8px 4px;font-size:12px;text-align:center}
 .sdst-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .sdst-measure-unit{max-width:none;margin-top:12px}
 .sdst-mode{margin-bottom:14px}
 .sdst-mode label{flex:auto;justify-content:center;font-size:12px}
 .sdst-land-preview{margin:18px 0 16px;padding:12px}
 .sdst-measure-diagram{max-width:100%;margin:6px auto}
 .sdst-land-preview>small{font-size:11px;line-height:1.5}
 .sdst-subtitle{font-size:19px;margin:21px 0 12px}
 .sdst-results{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .sdst-results>div{padding:12px 10px;border-radius:13px}
 .sdst-results strong{font-size:clamp(15px,4.3vw,20px)}
 .sdst-results small{font-size:11px}
 .sdst-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:14px}
 .sdst-actions button{min-height:49px;font-size:12px;padding:9px 7px}
 .sdst-notice{font-size:12px;line-height:1.6}
 .sdst-article{margin:24px 0 44px;font-size:14px;line-height:1.75}
 .sdst-article h2{font-size:20px;line-height:1.4}
}
@media(max-width:380px){
 .sdst-fields{grid-template-columns:1fr}
 .sdst-results strong{font-size:15px}
 .sdst-mode label{font-size:11px}
 .sdst-actions{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.sdst-actions button:active{transform:none}}


/* v1.2.6 — Clean Classic: accessible green and white, scoped to Smart Tools. */
.sdst{--sdst-green:#126b43;--sdst-soft:#eaf6ee;background:#fff!important;color:#193d2a!important;border:1px solid #dbe9df!important;border-radius:18px;box-shadow:0 7px 25px rgba(22,60,36,.09)}
.sdst-studio-brand{background:#126b43;color:#fff;padding:20px 22px;border:0;border-radius:13px;gap:14px;margin-bottom:15px}
.sdst-studio-brand strong{font-size:clamp(20px,2.8vw,27px);font-weight:800;line-height:1.35;color:#fff!important}
.sdst-studio-brand small{color:#e3f5e9!important;font-size:12px;line-height:1.5}
.sdst-studio-icon{background:#218b59!important;color:#fff;border-radius:12px;box-shadow:none;flex-shrink:0}
.sdst-languages a{background:#eaf6ee;border-color:#cce4d3;color:#126b43;font-weight:700}
.sdst-languages a[aria-current]{background:#126b43;border-color:#126b43;color:#fff}
.sdst-intro{color:#536e5b!important}
.sdst-mode label{background:#fff;border-color:#cbded0;color:#235238}
.sdst-mode label:has(input:checked){background:#126b43;color:#fff;border-color:#126b43;box-shadow:none}
.sdst-mode input{accent-color:#126b43}
.sdst-fields label,.sdst-measure-unit label,.sdst-mode legend{color:#194e31}
.sdst-fields input,.sdst-fields select,.sdst-measure-unit select{border-color:#bad7c4!important;color:#193d2a!important;background:#fff!important;box-shadow:none!important}
.sdst-fields input:focus,.sdst-fields select:focus,.sdst-measure-unit select:focus{border-color:#126b43!important;box-shadow:0 0 0 3px #126b4326!important}
.sdst-land-preview{background:#eaf6ee!important;background-image:none!important;border-color:#d0e5d5!important;border-radius:12px}
.sdst-land-heading,.sdst-subtitle{color:#195b35!important}
.sdst-results>div{background:#eaf6ee!important;border:1px solid #d8e9dd!important;border-radius:10px;box-shadow:none}
.sdst-results small{color:#62766b!important}.sdst-results strong{color:#126b43!important}
.sdst-actions .sdst-copy,.sdst-actions .sdst-share{background:#126b43!important;color:#fff!important}
.sdst-actions .sdst-download{background:#eaf6ee!important;color:#126b43!important;border:1px solid #b9dac5}
.sdst-actions .sdst-print{background:#eaf6ee!important;color:#126b43!important}
.sdst :is(input,select,button,a):focus-visible{outline:3px solid #d69c21;outline-offset:3px}
.sdst-notice{color:#617768!important}
@media(max-width:767px){.sdst{padding:14px!important;border-radius:14px}.sdst-studio-brand{padding:15px 13px;border-radius:11px}.sdst-studio-brand strong{font-size:clamp(18px,5vw,23px)}.sdst-studio-icon{width:45px;height:45px}.sdst-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.sdst *, .sdst *::before,.sdst *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.sdst{background:#fff!important;border:0!important;box-shadow:none!important}.sdst-studio-brand{background:#fff!important;color:#126b43!important}.sdst-studio-brand strong{color:#126b43!important}.sdst-studio-brand small{color:#567263!important}}

/* v1.2.7 — Compact Clean Classic mobile polish */
.sdst-page{margin-top:16px;margin-bottom:28px}
.sdst-page h1{font-size:clamp(19px,2.7vw,27px);line-height:1.3;margin:5px 0 12px}
.sdst[data-tool="land-area-calculator"] .sdst-studio-brand{padding:13px 15px;margin-bottom:10px;gap:10px}
.sdst[data-tool="land-area-calculator"] .sdst-studio-brand strong{font-size:clamp(17px,2.5vw,22px)}
.sdst[data-tool="land-area-calculator"] .sdst-studio-icon{width:42px;height:42px;font-size:23px}
.sdst[data-tool="land-area-calculator"] .sdst-intro{margin:9px 0 12px;line-height:1.55;font-size:13px}
.sdst[data-tool="land-area-calculator"] .sdst-fields input,
.sdst[data-tool="land-area-calculator"] .sdst-fields select{height:44px!important;min-height:44px!important;max-height:44px!important;padding:7px 11px!important;border-radius:9px!important;font-size:16px!important;line-height:1.3!important}
.sdst[data-tool="land-area-calculator"] .sdst-fields label{margin-bottom:4px;font-size:13px}
.sdst[data-tool="land-area-calculator"] .sdst-results>div{padding:11px 10px;border-radius:10px}
.sdst[data-tool="land-area-calculator"] .sdst-results strong{font-size:clamp(16px,2vw,20px);line-height:1.3}
.sdst[data-tool="land-area-calculator"] .sdst-results small{font-size:12px}
.sdst[data-tool="land-area-calculator"] .sdst-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sdst[data-tool="land-area-calculator"] .sdst-actions button{min-width:0;width:100%;min-height:44px;padding:9px 7px;font-size:12px;line-height:1.3}
@media(max-width:767px){
 .sdst-page{margin-top:10px;padding:0 10px}
 .sdst-page h1{font-size:20px;margin:4px 0 10px}
 .sdst[data-tool="land-area-calculator"]{padding:12px!important}
 .sdst[data-tool="land-area-calculator"] .sdst-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 .sdst[data-tool="land-area-calculator"] .sdst-dimensions .sdst-fields>div:nth-child(n+3){grid-column:1/-1}
 .sdst[data-tool="land-area-calculator"] .sdst-results{gap:8px}
 .sdst[data-tool="land-area-calculator"] .sdst-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:350px){
 .sdst[data-tool="land-area-calculator"] .sdst-actions button{font-size:11px;padding:8px 4px}
}

/* v1.2.8 — one-screen-focused compact calculator; other article content stays below. */
@media(max-width:767px){
.sdst-page{margin:4px auto 20px!important;padding:0 8px!important}
.sdst-page>h1{font-size:17px!important;line-height:1.25!important;margin:2px 0 7px!important}
.sdst[data-tool="land-area-calculator"]{padding:9px!important;border-radius:12px!important}
.sdst[data-tool="land-area-calculator"] .sdst-languages{gap:5px!important;margin:0 0 6px!important}
.sdst[data-tool="land-area-calculator"] .sdst-languages a{min-height:32px!important;padding:5px 7px!important;font-size:11px!important;line-height:1.1}
.sdst[data-tool="land-area-calculator"] .sdst-studio-brand{padding:8px 10px!important;margin:0 0 6px!important;gap:8px!important;border-radius:9px!important}
.sdst[data-tool="land-area-calculator"] .sdst-studio-icon{width:32px!important;height:32px!important;font-size:18px!important;border-radius:7px!important}
.sdst[data-tool="land-area-calculator"] .sdst-studio-brand strong{font-size:15px!important;line-height:1.2!important}
.sdst[data-tool="land-area-calculator"] .sdst-studio-brand small{font-size:10px!important;line-height:1.15!important}
.sdst[data-tool="land-area-calculator"] .sdst-intro{display:none!important}
.sdst[data-tool="land-area-calculator"] .sdst-subtitle{font-size:14px!important;margin:7px 0 5px!important;line-height:1.2!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode{margin:4px 0 7px!important;gap:6px!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode label{padding:6px!important;min-height:33px!important;border-radius:8px!important;font-size:11px!important}
.sdst[data-tool="land-area-calculator"] .sdst-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important}
.sdst[data-tool="land-area-calculator"] .sdst-fields label,.sdst[data-tool="land-area-calculator"] .sdst-measure-unit label{font-size:11px!important;margin:0 0 2px!important;line-height:1.2!important}
.sdst[data-tool="land-area-calculator"] .sdst-fields input,.sdst[data-tool="land-area-calculator"] .sdst-fields select,.sdst[data-tool="land-area-calculator"] .sdst-measure-unit select{height:36px!important;min-height:36px!important;max-height:36px!important;padding:5px 8px!important;border-radius:7px!important;font-size:15px!important}
.sdst[data-tool="land-area-calculator"] .sdst-measure-unit{margin:5px 0!important}
.sdst[data-tool="land-area-calculator"] .sdst-land-preview{padding:6px 9px!important;margin:8px 0!important;border-radius:9px!important}
.sdst[data-tool="land-area-calculator"] .sdst-land-heading{font-size:12px!important;line-height:1.2!important;margin:0!important}
.sdst[data-tool="land-area-calculator"] .sdst-measure-diagram{max-width:240px!important;max-height:105px!important;margin:0 auto!important}
.sdst[data-tool="land-area-calculator"] .sdst-land-preview>small{display:none!important}
.sdst[data-tool="land-area-calculator"] .sdst-results{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
.sdst[data-tool="land-area-calculator"] .sdst-results>div{padding:7px 6px!important;border-radius:7px!important}
.sdst[data-tool="land-area-calculator"] .sdst-results small{font-size:10px!important;line-height:1.2!important}
.sdst[data-tool="land-area-calculator"] .sdst-results strong{font-size:13px!important;line-height:1.3!important;overflow-wrap:anywhere}
.sdst[data-tool="land-area-calculator"] .sdst-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important;margin-top:8px!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions button{min-height:36px!important;padding:5px 4px!important;font-size:11px!important;line-height:1.2!important;border-radius:8px!important}
.sdst[data-tool="land-area-calculator"] .sdst-notice{font-size:10px!important;line-height:1.3!important;margin:6px 0 0!important}
}

/* v1.2.9: native popup replaced with accessible inline feet/metres toggle. */
.sdst .sdst-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.sdst .sdst-unit-toggle{display:grid;grid-template-columns:1fr 1fr;gap:6px;width:100%}
.sdst .sdst-unit-choice{border:1px solid #b8d8c4;background:#edf7f0;color:#155c38;border-radius:8px;min-height:36px;padding:6px 10px;font-weight:750;font-size:13px;cursor:pointer}
.sdst .sdst-unit-choice.is-active{background:#126b43;color:#fff;border-color:#126b43}
.sdst .sdst-unit-choice:focus-visible{outline:3px solid #d69c21;outline-offset:2px}
@media(max-width:767px){
.sdst[data-tool="land-area-calculator"] .sdst-measure-unit{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:5px 0!important}
.sdst[data-tool="land-area-calculator"] .sdst-measure-unit>label{flex:0 1 auto;font-size:11px!important}
.sdst[data-tool="land-area-calculator"] .sdst-unit-toggle{flex:0 0 45%;max-width:210px}
.sdst[data-tool="land-area-calculator"] .sdst-unit-choice{min-height:32px;padding:4px 5px;font-size:12px}
.sdst[data-tool="land-area-calculator"] .sdst-land-preview{padding:4px 7px!important;margin:5px 0!important}
.sdst[data-tool="land-area-calculator"] .sdst-measure-diagram{height:90px!important;max-height:90px!important}
.sdst[data-tool="land-area-calculator"] .sdst-results>div{padding:6px 5px!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions{gap:5px!important}
}

/* v1.3.0 — distinctive minimal editorial design, no duplicate brand or plot diagram */
.sdst[data-tool="land-area-calculator"]{background:#fff!important;color:#263344!important;border:1px solid #dce4eb!important;box-shadow:0 10px 28px rgba(26,46,66,.07)!important}
.sdst[data-tool="land-area-calculator"] .sdst-languages a{background:#f2f5f9!important;border-color:#dce4eb!important;color:#31465b!important}
.sdst[data-tool="land-area-calculator"] .sdst-languages a[aria-current]{background:#173e56!important;border-color:#173e56!important;color:#fff!important}
.sdst[data-tool="land-area-calculator"] .sdst-subtitle{color:#173e56!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode label{background:#f6f8fb!important;color:#344b5d!important;border:1px solid #dce4eb!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode label:has(input:checked){background:#173e56!important;color:white!important;border-color:#173e56!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode input{accent-color:#e5b665}
.sdst[data-tool="land-area-calculator"] .sdst-fields label,.sdst[data-tool="land-area-calculator"] .sdst-measure-unit label{color:#344b5d!important}
.sdst[data-tool="land-area-calculator"] .sdst-fields input,.sdst[data-tool="land-area-calculator"] .sdst-fields select{background:#fff!important;border:1px solid #d0dbe4!important;color:#1d3246!important}
.sdst[data-tool="land-area-calculator"] .sdst-unit-choice{background:#f2f5f9!important;color:#173e56!important;border-color:#d0dbe4!important}
.sdst[data-tool="land-area-calculator"] .sdst-unit-choice.is-active{background:#173e56!important;color:white!important;border-color:#173e56!important}
.sdst[data-tool="land-area-calculator"] .sdst-results>div{background:#f4f7fa!important;border:1px solid #e2e9ef!important;border-left:3px solid #d6aa62!important;border-radius:10px!important}
.sdst[data-tool="land-area-calculator"] .sdst-results>div:nth-child(2){border-left-color:#268a83!important}
.sdst[data-tool="land-area-calculator"] .sdst-results>div:nth-child(3){border-left-color:#7880c8!important}
.sdst[data-tool="land-area-calculator"] .sdst-results small{color:#637486!important}
.sdst[data-tool="land-area-calculator"] .sdst-results strong{color:#173e56!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions .sdst-copy{background:#173e56!important;color:#fff!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions .sdst-share{background:#167b78!important;color:#fff!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions .sdst-download{background:#f5f0e6!important;color:#765625!important;border:1px solid #e8d9bb!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions .sdst-print{background:#eef2f7!important;color:#304b62!important;border:1px solid #d7e1ea!important}
@media(max-width:767px){
.sdst[data-tool="land-area-calculator"] .sdst-results{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.sdst[data-tool="land-area-calculator"] .sdst-results strong{font-size:13px!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v1.3.1 centered layout: balanced content, readable numeric values */
.sdst-page{max-width:850px;margin-left:auto!important;margin-right:auto!important}
.sdst-page>h1{text-align:center!important}
.sdst[data-tool="land-area-calculator"]{margin-left:auto!important;margin-right:auto!important}
.sdst[data-tool="land-area-calculator"] .sdst-languages{justify-content:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-subtitle{text-align:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode{justify-content:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-measure-unit{justify-content:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-results>div{text-align:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-results strong{display:block;overflow-wrap:anywhere}
.sdst[data-tool="land-area-calculator"] .sdst-actions button{text-align:center!important}
@media(max-width:767px){.sdst-page{max-width:100%;margin-inline:auto!important}.sdst[data-tool="land-area-calculator"] .sdst-results>div{text-align:center!important}}

/* v1.3.2 tactile buttons */
.sdst[data-tool="land-area-calculator"] .sdst-actions button{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:5px;border-radius:11px!important;border:1px solid rgba(20,43,60,.13)!important;box-shadow:0 3px 0 rgba(16,39,55,.23),0 6px 12px rgba(20,40,60,.12)!important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important;font-weight:750!important;letter-spacing:.01em}
.sdst[data-tool="land-area-calculator"] .sdst-actions button:hover:not(:disabled){filter:brightness(1.06)}
.sdst[data-tool="land-area-calculator"] .sdst-actions button:active:not(:disabled){transform:translateY(2px)!important;box-shadow:0 1px 0 rgba(16,39,55,.23),0 2px 5px rgba(20,40,60,.11)!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions button:focus-visible{outline:3px solid #d69c21!important;outline-offset:3px!important}
.sdst[data-tool="land-area-calculator"] .sdst-actions button:disabled{box-shadow:none!important;opacity:.5}
.sdst[data-tool="land-area-calculator"] .sdst-mode label,.sdst[data-tool="land-area-calculator"] .sdst-unit-choice{box-shadow:0 2px 0 rgba(21,49,66,.14);transition:filter .15s ease,transform .15s ease,box-shadow .15s ease}
.sdst[data-tool="land-area-calculator"] .sdst-unit-choice:active{transform:translateY(1px);box-shadow:none}
@media(prefers-reduced-motion:reduce){.sdst[data-tool="land-area-calculator"] .sdst-actions button,.sdst[data-tool="land-area-calculator"] .sdst-unit-choice{transition:none!important}}

/* v1.3.4: center calculator title, mode legend, length/width labels and field values */
.sdst-page>h1,.sdst-page .sdst-page-title{text-align:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode{text-align:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode legend{width:100%;float:none;text-align:center!important;margin-inline:auto!important}
.sdst[data-tool="land-area-calculator"] .sdst-mode label{text-align:center!important;justify-content:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-dimensions .sdst-fields>div{text-align:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-dimensions .sdst-fields label{display:block;text-align:center!important}
.sdst[data-tool="land-area-calculator"] .sdst-dimensions .sdst-fields input{text-align:center!important}

/* v1.3.5: mobile-first fluid sizing, restrained palette, keyboard accessibility. */
.sdst-page,.sdst-page *{box-sizing:border-box}
.sdst-page{width:100%;max-width:1080px;margin-inline:auto;min-width:0}
.sdst[data-tool="land-area-calculator"]{width:100%;max-width:100%;min-width:0;overflow:clip;container-type:inline-size}
.sdst[data-tool="land-area-calculator"] .sdst-fields>div{min-width:0}
.sdst[data-tool="land-area-calculator"] .sdst-fields input,
.sdst[data-tool="land-area-calculator"] .sdst-fields select{width:100%;max-width:100%;min-width:0}
.sdst[data-tool="land-area-calculator"] .sdst-languages{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.sdst[data-tool="land-area-calculator"] .sdst-mode{display:flex;flex-wrap:wrap;justify-content:center;align-items:center}
.sdst[data-tool="land-area-calculator"] .sdst-subtitle{text-align:center}
.sdst[data-tool="land-area-calculator"] .sdst-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.sdst[data-tool="land-area-calculator"] .sdst-results>div{min-width:0;text-align:center}
.sdst[data-tool="land-area-calculator"] .sdst-results strong{display:block;max-width:100%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.sdst[data-tool="land-area-calculator"] .sdst-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.sdst[data-tool="land-area-calculator"] .sdst-actions button{width:100%;min-width:0;touch-action:manipulation}
.sdst[data-tool="land-area-calculator"] .sdst-unit-toggle{min-width:0}
.sdst[data-tool="land-area-calculator"] .sdst-unit-choice{touch-action:manipulation}
@container (max-width:340px){
 .sdst-results{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .sdst-results strong{font-size:13px!important}
 .sdst-actions button{font-size:11px!important}
}
@media(max-width:767px){
 .sdst-page{padding-inline:clamp(6px,2.4vw,14px)!important}
 .sdst[data-tool="land-area-calculator"]{padding:clamp(9px,2.7vw,15px)!important}
 .sdst[data-tool="land-area-calculator"] .sdst-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .sdst[data-tool="land-area-calculator"] .sdst-fields input,
 .sdst[data-tool="land-area-calculator"] .sdst-fields select{min-height:40px!important;height:40px!important;max-height:40px!important;font-size:16px!important}
 .sdst[data-tool="land-area-calculator"] .sdst-actions button{min-height:40px!important}
 .sdst[data-tool="land-area-calculator"] .sdst-results>div{padding:9px 5px!important}
}
@media(min-width:768px){
 .sdst[data-tool="land-area-calculator"]{max-width:800px;margin-inline:auto;padding:24px}
 .sdst[data-tool="land-area-calculator"] .sdst-results{grid-template-columns:repeat(5,minmax(0,1fr))}
 .sdst[data-tool="land-area-calculator"] .sdst-actions{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 .sdst[data-tool="land-area-calculator"] *, .sdst[data-tool="land-area-calculator"] *::before,.sdst[data-tool="land-area-calculator"] *::after{transition:none!important;animation:none!important}
}
