.nbj-sg-link{float:right;margin-left:14px;color:#632222;text-decoration:underline;text-underline-offset:4px;font-size:12px;font-weight:400;letter-spacing:0;display:inline-flex;align-items:center;min-height:36px;white-space:normal}
.variant-option:has(.nbj-sg-link)>legend{width:100%;line-height:36px}
.nbj-sg-dialog{box-sizing:border-box;border:1px solid #bea58c;background:#faf8f5;color:#352820;padding:20px;width:min(720px,calc(100vw - 28px));max-width:720px;max-height:90dvh;margin:auto;overflow:auto;overscroll-behavior:contain;border-radius:4px;box-shadow:0 20px 80px #28151240;font-family:var(--nbj-font-copy,var(--font-body--family,sans-serif))}
.nbj-sg-dialog::backdrop{background:#24161399}.nbj-sg-open{overflow:hidden!important}
.nbj-sg-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px;position:sticky;top:-20px;padding:8px 0 10px;background:#faf8f5;z-index:2}
.nbj-sg-eyebrow{font-size:10px;letter-spacing:.16em;color:#632222}.nbj-sg-header h2{font-family:var(--font-heading--family,serif);font-size:30px;font-weight:400;line-height:1.1;margin:4px 0 0}
.nbj-sg-close{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;border:1px solid #bea58c;background:transparent;color:#632222;border-radius:50%;font-size:28px;cursor:pointer}
nbj-size-guide{display:block}.nbj-sg{font-family:var(--nbj-font-copy,var(--font-body--family,sans-serif));font-size:14px;line-height:1.55;color:#352820;--nbj-measure-paper:#faf8f5}.nbj-sg *{box-sizing:border-box}.nbj-sg [hidden]{display:none!important}
.nbj-sg-tabs{display:flex;border-bottom:1px solid #bea58c;margin-bottom:14px;gap:4px}.nbj-sg-tabs button{flex:1;min-width:0;border:0;border-bottom:3px solid transparent;background:transparent;color:#65554b;padding:9px 4px;font:inherit;cursor:pointer;min-height:44px}
.nbj-sg-tabs button[aria-selected=true]{border-bottom-color:#632222;color:#632222;font-weight:600}.nbj-sg-intro{margin:0 0 12px;font-size:13px}
.nbj-sg-form-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 8px}.nbj-sg .nbj-sg-form-heading h3{display:flex;align-items:center;gap:8px;margin:0;font-family:inherit;font-size:15px;font-weight:600;line-height:1.3;letter-spacing:normal;color:#632222}.nbj-sg-step-num{display:inline-grid;place-items:center;flex-shrink:0;width:22px;height:22px;border:1px solid #bea58c;border-radius:50%;font-size:11px;font-weight:500}.nbj-sg-unit{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;flex-shrink:0}.nbj-sg .nbj-sg-unit select{width:70px;padding:8px 22px 8px 9px;min-height:44px}.nbj-sg select{max-width:200px;width:100%;border:1px solid #bea58c;background:#fffdf9;color:#352820;border-radius:2px;padding:9px 28px 9px 10px;font:inherit;min-height:44px}
.nbj-sg-feet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.nbj-sg-feet fieldset{min-width:0;padding:0;margin:0;border:0}.nbj-sg-feet legend{font-size:15px;color:#632222;font-weight:600;margin:0 0 10px;padding:0}.nbj-sg-feet label{display:block;font-size:12px;margin-bottom:6px}.nbj-sg [data-sg-unit-label]{font-size:11px;color:#6c5d54;margin-left:3px}.nbj-sg input[type=number]{width:100%;min-width:0;min-height:44px;border:1px solid #bea58c;border-radius:2px;padding:8px 10px;font:inherit;font-size:16px;background:#fffdf9;color:#352820}.nbj-sg input[aria-invalid=true]{border:2px solid #a13030}
.nbj-sg-small{font-size:12px;line-height:1.65;color:#675b51;margin:8px 0 12px}.nbj-sg-text-button{border:0;padding:0;background:transparent;font:inherit;color:#632222;text-decoration:underline;text-underline-offset:3px;cursor:pointer}.nbj-sg-fit-check{border:1px solid #bea58c;background:#f1e8df;border-radius:3px;margin:12px 0}.nbj-sg-fit-check summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;font-size:14px;min-height:64px;cursor:pointer;list-style:none;color:#632222}.nbj-sg-fit-check summary::-webkit-details-marker{display:none}.nbj-sg-fit-summary{min-width:0}.nbj-sg-fit-summary strong{display:flex;align-items:center;gap:8px;font-weight:600;flex-wrap:wrap}.nbj-sg-optional{font-size:10px;font-weight:400;border:1px solid #bea58c;border-radius:12px;padding:1px 7px}.nbj-sg-fit-teaser{display:block;margin:3px 0 0 30px;font-size:12px;line-height:1.4;color:#675b51}.nbj-sg-chevron{flex-shrink:0;transition:transform .15s}.nbj-sg-fit-check[open] .nbj-sg-chevron{transform:rotate(180deg)}.nbj-sg-fit-body{padding:0 12px 10px;border-top:1px solid #bea58c66;background:#faf8f5}.nbj-sg-fit-body>.nbj-sg-small{margin:8px 0}.nbj-sg-fit-body .nbj-sg-feet{padding:0}.nbj-sg-calc-note{margin-bottom:0}@media(prefers-reduced-motion:reduce){.nbj-sg-chevron{transition:none}}
.nbj-sg-primary,.nbj-sg-page-open{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:11px 22px;border:1px solid #632222;border-radius:2px;color:#faf8f5;background:#632222;font:inherit;cursor:pointer;text-decoration:none}.nbj-sg form>.nbj-sg-primary{width:100%}.nbj-sg-primary:hover,.nbj-sg-page-open:hover{background:#4c1919;color:#fff}
.nbj-sg-result{margin-top:14px;padding:16px;background:#eee4da;border-left:2px solid #632222}.nbj-sg-result p{margin:0 0 10px}.nbj-sg-result .nbj-sg-result-size{font-family:var(--font-heading--family,serif);font-size:38px;font-weight:400;line-height:1.15;color:#632222}.nbj-sg-result .nbj-sg-small{margin:12px 0 0}.nbj-sg-result button{margin-top:5px}
.nbj-sg table{width:100%;border-collapse:collapse;table-layout:fixed;margin:0;font-size:14px}.nbj-sg-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.nbj-sg-chart-block{min-width:0}.nbj-sg caption{text-align:left;font-size:14px;font-weight:600;margin-bottom:8px;color:#632222}.nbj-sg th,.nbj-sg td{text-align:center;border-bottom:1px solid #bea58c66;padding:8px 4px;white-space:normal;overflow-wrap:normal}.nbj-sg thead{background:#632222;color:#faf8f5}.nbj-sg thead th{font-size:12px;font-weight:500}.nbj-sg tbody th{font-weight:500}.nbj-sg tr[data-selected]{background:#eadbd0;box-shadow:inset 3px 0 #632222}.nbj-sg-fit{background:#eee4da;border-left:2px solid #632222;padding:12px;margin-top:12px}.nbj-sg-fit p{font-size:13px;margin:8px 0 0}
.nbj-sg .nbj-sg-measure-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;list-style:none;padding:0;margin:0}.nbj-sg .nbj-sg-measure-step{min-width:0;margin:0}.nbj-sg-measure-art{position:relative;display:grid;place-items:center;background:#eee4da;color:#632222;padding:14px 8px 6px}.nbj-sg .nbj-sg-measure-art svg{display:block;width:100%;max-width:156px;height:auto}.nbj-sg-step-letter{position:absolute;top:10px;left:10px;font-size:11px;font-weight:600}.nbj-sg .nbj-sg-step-copy h3{font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;letter-spacing:normal;color:#632222;margin:14px 0 7px}.nbj-sg .nbj-sg-step-copy p{font-size:13px;line-height:1.65;margin:0}.nbj-sg-measure-note{font-size:12px;line-height:1.65;padding:13px 15px;margin:18px 0 0;border-left:2px solid #632222;background:#f3ede6;color:#675b51}
.nbj-sg-help{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px;font-size:12px}.nbj-sg-help a{color:#632222;text-decoration:underline;text-underline-offset:4px}.nbj-sg-help .nbj-icon{display:inline-block;width:14px;height:14px;vertical-align:middle}.nbj-sg :focus-visible,.nbj-sg-close:focus-visible,.nbj-sg-link:focus-visible,.nbj-sg-page-open:focus-visible{outline:2px solid #632222;outline-offset:3px}.nbj-sg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.nbj-sg-page{max-width:780px;margin:0 auto;padding:32px 24px 44px}.nbj-sg-page h1{font-family:var(--font-heading--family,serif);font-weight:400;font-size:clamp(36px,6vw,54px);line-height:1.1;margin:14px 0}.nbj-sg-page>p{color:#675b51;margin:0 0 22px}
@media(max-width:600px){.nbj-sg-dialog{padding:14px;width:calc(100vw - 20px);max-height:92dvh}.nbj-sg-header{top:-14px;margin-bottom:6px}.nbj-sg-header h2{font-size:26px}.nbj-sg-tabs button{font-size:12px}.nbj-sg-feet{gap:12px}.nbj-sg-unit{gap:6px}.nbj-sg-chart-grid{grid-template-columns:1fr;gap:14px}.nbj-sg th,.nbj-sg td{padding:9px 2px;font-size:13px}.nbj-sg thead th{font-size:11px}.nbj-sg-page{padding:30px 18px 44px}.nbj-sg-result{padding:16px}.nbj-sg-result .nbj-sg-result-size{font-size:34px}.nbj-sg-link{font-size:11px;margin-left:10px}}
@media(max-width:519px){.nbj-sg .nbj-sg-measure-steps{grid-template-columns:1fr;gap:20px}.nbj-sg .nbj-sg-measure-step{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:14px}.nbj-sg-measure-art{padding:12px 4px 4px}.nbj-sg .nbj-sg-step-copy h3{margin:0 0 7px}}

