.sf-main { max-width: 1100px; padding: 42px 24px 72px; margin: auto; color: #18332e; }
.sf-hero { max-width: 780px; margin: 0 auto 36px; text-align: center; }
.sf-eyebrow { color: #427566; font-size: .82rem; font-weight: 800; letter-spacing: .12em; }
.sf-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.15; letter-spacing: -.025em; margin: 14px 0; }
.sf-hero > p:last-child { color: #52655f; font-size: 1.08rem; line-height: 1.7; }
.sf-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.sf-panel { border: 1px solid #d8e3dc; border-radius: 18px; padding: 26px; background: #fff; min-width: 0; }
.sf-panel h2, .sf-help h2 { font-size: 1.25rem; line-height: 1.4; margin: 0 0 22px; }
.sf-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.sf-pair label { display: flex; flex-direction: column; gap: 8px; font-size: .9rem; font-weight: 650; }
.sf-pair input, .sf-pair select { box-sizing: border-box; width: 100%; min-height: 46px; min-width: 0; padding: 10px; border: 1px solid #8aa397; border-radius: 8px; color: #18332e; background: #fff; font: inherit; }
.sf-hint { font-size: .86rem; line-height: 1.65; color: #58675f; margin: 8px 0 16px; }
.sf-primary, .sf-secondary { min-height: 44px; padding: 10px 16px; margin: 8px 5px 0 0; border: 1px solid #276351; border-radius: 9px; font: inherit; font-weight: 650; cursor: pointer; }
.sf-primary { background: #276351; color: #fff; }
.sf-secondary { color: #276351; background: #fff; }
.sf-main :focus-visible { outline: 3px solid #1f6fff; outline-offset: 3px; }
.sf-results { background: #f7faf5; }
.sf-label { font-size: .92rem; font-weight: 650; margin: 20px 0 5px; }
.sf-number { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; line-height: 1.25; margin: 0; overflow-wrap: anywhere; }
.sf-cut { color: #246249; }
.sf-preview { margin: 24px auto 16px; width: 85%; max-width: 100%; aspect-ratio: 1.14; position: relative; border: 1px solid #b5bcab; background: repeating-linear-gradient(0deg, transparent, transparent 7px, #e9e7d7 8px), repeating-linear-gradient(90deg, #f4f1e3, #f4f1e3 7px, #e9e7d7 8px); }
.gz-tool-stitchfit #gzDropOverlay { display: none !important; }
.sf-design-box { position: absolute; inset: 21.2% 18.56%; background: #8ba48a; border: 2px dashed #244b3d; display: grid; place-items: center; overflow: hidden; }
.sf-design-box span { color: #fff; font-size: .85rem; font-weight: 700; text-shadow: 0 1px 2px #18332e; white-space: nowrap; }
.sf-error { color: #a02621; }
.sf-comparison { margin-top: 24px; }
.sf-table-wrap { overflow-x: auto; }
.sf-comparison table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
.sf-comparison th, .sf-comparison td { text-align: left; padding: 12px; border-bottom: 1px solid #d8e3dc; white-space: nowrap; }
.sf-comparison tr.sf-current { background: #e8f0e5; font-weight: 750; }
.sf-help { margin: 36px auto 0; max-width: 780px; line-height: 1.8; }
.sf-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.sf-links a { color: #174fb5; font-weight: 650; }
@media(max-width: 720px) { .sf-layout { grid-template-columns: 1fr; } .sf-main { padding: 28px 16px 48px; } .sf-panel { padding: 20px; } }
@media(max-width: 380px) { .sf-pair { grid-template-columns: 1fr; } }
@media print {
  .gz-header, .gz-footer, .gz-tools-carousel, .gz-drop-overlay, ins, .sf-primary, .sf-secondary, .sf-links { display: none !important; }
  .sf-main { padding: 0; color: #000; max-width: none; }
  .sf-hero { margin-bottom: 16px; } .sf-hero h1 { font-size: 24px; }
  .sf-panel { padding: 14px; break-inside: avoid; } .sf-layout { grid-template-columns: 1fr 1fr; }
  .sf-preview { max-width: 180px; } .sf-help { font-size: 11px; }
}
