.gmc-size-guide{margin:12px 0 20px;font-family:Arial,sans-serif;color:#111}
.gmc-size-guide .gmc-size-guide__trigger{display:inline-flex;align-items:center;min-height:44px;background:transparent;border:0;padding:0;color:#111;font:600 14px/1.3 Arial,sans-serif;text-decoration:underline;cursor:pointer}
.gmc-size-guide .gmc-size-guide__dialog{box-sizing:border-box;width:min(760px,calc(100% - 32px));max-width:760px;max-height:min(85vh,850px);margin:auto;padding:0;border:0;background:#fff;color:#111;box-shadow:0 12px 48px #0004;overflow:hidden}
.gmc-size-guide .gmc-size-guide__dialog::backdrop{background:#0009}
.gmc-size-guide .gmc-size-guide__header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #ddd}
.gmc-size-guide .gmc-size-guide__header h2{font:700 22px/1.2 Arial,sans-serif;margin:0;color:#111}
.gmc-size-guide .gmc-size-guide__close{display:grid;place-items:center;min-width:44px;min-height:44px;border:0;background:transparent;color:#111;font:28px/1 Arial,sans-serif;cursor:pointer}
.gmc-size-guide .gmc-size-guide__body{overflow:auto;max-height:calc(min(85vh,850px) - 85px);padding:24px}
.gmc-size-guide .gmc-size-guide__switch{display:flex;gap:8px;margin-bottom:24px}
.gmc-size-guide .gmc-size-guide__switch button{min-height:44px;padding:0 20px;border:1px solid #111;background:#fff;color:#111;font:600 14px Arial,sans-serif;cursor:pointer}
.gmc-size-guide .gmc-size-guide__switch button[aria-pressed=true]{background:#111;color:#fff}
.gmc-size-guide .gmc-size-guide__chart[hidden]{display:none}
.gmc-size-guide .gmc-size-guide__chart details{border-top:1px solid #ddd;padding:0 0 18px}
.gmc-size-guide .gmc-size-guide__chart details:last-child{border-bottom:1px solid #ddd}
.gmc-size-guide .gmc-size-guide__chart summary{padding:18px 0;font:700 15px/1.4 Arial,sans-serif;cursor:pointer}
.gmc-size-guide .gmc-size-guide__chart ul{margin:0;padding-left:20px;font:14px/1.6 Arial,sans-serif}
.gmc-size-guide .gmc-size-guide__table-scroll{width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
.gmc-size-guide .gmc-size-guide__table-scroll table{width:100%;border-collapse:collapse;min-width:530px;font:13px/1.4 Arial,sans-serif;text-align:left}
.gmc-size-guide .gmc-size-guide__table-scroll th,.gmc-size-guide .gmc-size-guide__table-scroll td{padding:10px 12px;border-bottom:1px solid #e4e4e4;white-space:nowrap;color:#111;background:#fff}
.gmc-size-guide .gmc-size-guide__table-scroll thead th{font-weight:700;background:#f4f4f4}
.gmc-size-guide .gmc-size-guide__table-scroll tbody th{position:sticky;left:0;z-index:1;font-weight:700}
.gmc-size-guide button:focus-visible,.gmc-size-guide summary:focus-visible,.gmc-size-guide .gmc-size-guide__table-scroll:focus-visible{outline:2px solid #111;outline-offset:3px}
@media(max-width:600px){.gmc-size-guide .gmc-size-guide__dialog{width:calc(100% - 24px);max-height:90vh}.gmc-size-guide .gmc-size-guide__header{padding:14px 16px}.gmc-size-guide .gmc-size-guide__body{padding:16px;max-height:calc(90vh - 74px)}}
/* Keep narrow three-column charts readable without unnecessary mobile overflow. */
@media(max-width:600px){
 .gmc-size-guide .gmc-size-guide__table-scroll table:not(:has(thead th:nth-child(4))){min-width:0}
 .gmc-size-guide .gmc-size-guide__table-scroll table:not(:has(thead th:nth-child(4))) th,
 .gmc-size-guide .gmc-size-guide__table-scroll table:not(:has(thead th:nth-child(4))) td{padding:10px 6px}
 .gmc-size-guide .gmc-size-guide__table-scroll{scrollbar-width:thin;scrollbar-color:#777 #eee}
 .gmc-size-guide .gmc-size-guide__table-scroll::-webkit-scrollbar{height:6px}
 .gmc-size-guide .gmc-size-guide__table-scroll::-webkit-scrollbar-thumb{background:#777;border-radius:3px}
 .gmc-size-guide .gmc-size-guide__table-scroll::-webkit-scrollbar-track{background:#eee}
}
