:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2c2e;background:#f7f9f6;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-width:260px}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
a{color:inherit}
:focus-visible{outline:3px solid #4d8b73;outline-offset:2px}
#embed-root{padding:8px}
.embed-card{width:100%;max-width:900px;margin:0 auto;overflow:hidden;border:1px solid #dce5df;border-radius:14px;background:#fff;box-shadow:0 6px 24px rgb(23 55 41 / 8%)}
.embed-header{display:flex;align-items:center;gap:12px;padding:18px 20px;background:#eaf4ee;border-bottom:1px solid #dce7df}
.embed-logo{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;background:#186349;color:#fff;font-size:27px;font-weight:700;line-height:1}
.embed-heading{min-width:0}
.embed-eyebrow{display:block;margin-bottom:2px;color:#42705d;font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.embed-header h1{margin:0;color:#163e30;font-size:clamp(18px,4vw,23px);line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere}
.embed-controls{padding:18px 20px}
.embed-unit-row{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) minmax(105px,.55fr);align-items:end;gap:10px;margin-bottom:15px}
.embed-unit-row label,.embed-base64-controls label,.embed-field{display:flex;flex-direction:column;min-width:0;gap:6px}
.embed-label{color:#40574d;font-size:12px;font-weight:700;line-height:1.35}
.embed-unit-row select,.embed-base64-controls select,.embed-input{width:100%;min-width:0;border:1px solid #bfcec5;border-radius:9px;background:#fff;color:#1c3030;padding:10px 11px;font-size:14px;line-height:1.4}
.embed-unit-row select,.embed-base64-controls select{height:43px;white-space:nowrap;text-overflow:ellipsis}
.embed-swap{width:39px;height:43px;border:1px solid #bed4c8;border-radius:9px;background:#edf6f0;color:#176047;font-size:22px}
.embed-swap:hover{background:#dcefe2}
.embed-input{display:block;min-height:46px;resize:vertical}
textarea.embed-input{min-height:110px;max-height:360px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
.embed-base64-controls{display:flex;flex-wrap:wrap;align-items:end;gap:10px;margin-top:14px}
.embed-base64-controls>label{min-width:min(190px,100%);flex:1}
.embed-base64-controls .embed-checkbox{display:flex;flex-direction:row;align-items:center;gap:7px;min-width:auto;flex:none;min-height:43px;color:#40574d;font-size:12px;font-weight:650}
.embed-checkbox input{width:17px;height:17px;accent-color:#206b4d}
.embed-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.embed-primary,.embed-secondary,.embed-copy{border:1px solid #1d674b;border-radius:8px;padding:9px 13px;font-size:12px;font-weight:750;line-height:1.3}
.embed-primary{background:#1c6a4d;color:white}
.embed-primary:hover{background:#16563e}
.embed-secondary,.embed-copy{border-color:#c9d9ce;background:#fff;color:#235a41}
.embed-secondary:hover,.embed-copy:hover:not(:disabled){background:#f0f7f1}
.embed-file-label{position:relative;overflow:hidden;cursor:pointer}
.embed-file-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.embed-answer{position:relative;padding:17px 20px 18px;background:#f5f8f5;border-top:1px solid #e2eae3}
.embed-section-title{margin:0 0 8px;color:#4b6555;font-size:11px;font-weight:800;letter-spacing:.09em;line-height:1.35;text-transform:uppercase}
.embed-output-number{display:block;min-height:42px;color:#176344;font-size:clamp(26px,6vw,36px);font-weight:760;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.embed-output{display:block;width:100%;min-height:110px;max-height:360px;border:1px solid #cfdbd1;border-radius:8px;background:#fff;color:#1a3e2e;padding:11px 12px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.5;resize:vertical}
.embed-status{min-height:18px;margin:8px 0 0;color:#607568;font-size:12px;line-height:1.4}
.embed-status[data-kind="error"]{color:#a63b30}
.embed-copy{margin-top:8px}
.embed-used{margin-top:15px;padding-top:12px;border-top:1px solid #dce5dc}
.embed-used strong{display:block;color:#57705d;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.embed-used pre{max-height:130px;overflow:auto;margin:7px 0 0;color:#35483d;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.embed-used-options{margin:6px 0 0;color:#617767;font-size:11px;line-height:1.4}
.embed-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 20px;border-top:1px solid #e2eae3;background:#fff}
.embed-footer a{text-decoration:none;line-height:1.35}
.embed-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.embed-open{color:#176344;font-size:12px;font-weight:750}
.embed-powered{color:#688173;font-size:11px;white-space:nowrap}
.embed-lower{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:7px 20px 10px;border-top:1px solid #eef2ed;background:#fff}
.embed-privacy{margin:0;color:#738376;font-size:10px;line-height:1.35}
.embed-languages{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.embed-languages a{color:#61776a;font-size:10px;font-weight:700;text-decoration:none}
.embed-languages a[aria-current="page"]{color:#176344;text-decoration:underline;text-underline-offset:2px}
.embed-languages a:hover{text-decoration:underline;text-underline-offset:2px}
.embed-result .embed-answer{border-top:0;padding-top:22px}
@media(max-width:650px){.embed-unit-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.embed-precision-select{grid-column:1/-1}.embed-header,.embed-controls,.embed-answer{padding-left:15px;padding-right:15px}.embed-footer,.embed-lower{padding-left:15px;padding-right:15px}.embed-footer{align-items:flex-start;flex-direction:column;gap:5px}.embed-lower{align-items:flex-start;flex-direction:column;gap:5px}}
@media(max-width:400px){.embed-unit-row{gap:6px}.embed-unit-row select{font-size:12px;padding:8px}.embed-swap{width:32px}.embed-actions{gap:6px}}
