.sc20-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:14px 0}.sc20-tools button,.sc20-tools a{font:inherit;font-size:14px;font-weight:700;border:1px solid #cfdcec;border-radius:8px;background:#fff;color:#2265d8;padding:10px 14px;min-height:44px;text-decoration:none;cursor:pointer}.sc20-tools button[aria-pressed=true]{background:#edf4ff;border-color:#2265d8}.sc20-tools button:focus-visible,.sc20-tools a:focus-visible{outline:3px solid #e7a734;outline-offset:3px}[id^=sc-review-]{scroll-margin-top:125px}.sc20-review-row{display:flex!important;align-items:center;flex-wrap:wrap;gap:10px;padding:14px 0;border-bottom:1px solid #e1e7ef}.sc20-review-row>a{flex:1 1 230px;min-height:44px;display:flex;align-items:center;text-decoration:none;font-weight:700;color:#173d72}.sc20-review-row>button{background:#fff;border:1px solid #d5dfeb;border-radius:7px;padding:9px 12px;min-height:44px;color:#526275;cursor:pointer}.sc20-review-rating{font-size:13px;padding:5px 9px;background:#f1f5fa;border-radius:5px}.sc20-review-note{font-size:13px;color:#64748b}.sc20-filter{display:flex;align-items:center;gap:10px;margin:12px 0}.sc20-filter select{font:inherit;padding:8px;min-height:44px}[data-review-items]{list-style:none;padding-left:0!important}
/* Shared rating layout for mathematics and science. */
body :is(.sc15-choices,.scb-ratings){display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;align-items:stretch}
body :is(.sc15-choices,.scb-ratings)>button[data-rating]{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;box-sizing:border-box;min-width:0;min-height:64px!important;margin:0!important;padding:14px 10px!important;font-family:Arial,"Noto Sans JP",Meiryo,sans-serif;font-size:16px!important;font-weight:500;line-height:1.5!important;border-width:1px!important;text-align:center}
body :is(.sc15-choices,.scb-ratings)>button[data-rating]>b{display:block!important;flex:0 0 28px;width:28px;height:28px;font-size:0!important;line-height:0!important;margin:0!important;background-position:center;background-repeat:no-repeat;background-size:contain}
body :is(.sc15-choices,.scb-ratings)>button[data-rating=yes]>b{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='none' stroke='%23e85b3f' stroke-width='2'/%3E%3C/svg%3E")}
body :is(.sc15-choices,.scb-ratings)>button[data-rating=hint]>b{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3L30 28H2Z' fill='none' stroke='%23b97914' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}
body :is(.sc15-choices,.scb-ratings)>button[data-rating=no]>b{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 6L26 26M26 6L6 26' fill='none' stroke='%235b687b' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E")}
body :is(.sc15-choices,.scb-ratings)>button[aria-pressed=true]{outline:2px solid var(--sc18-accent,#2768ee);outline-offset:0}
@media(max-width:600px){body :is(.sc15-choices,.scb-ratings){grid-template-columns:1fr!important;gap:8px!important}body :is(.sc15-choices,.scb-ratings)>button[data-rating]{min-height:52px!important;padding:12px 16px!important;justify-content:flex-start!important;gap:14px!important;font-size:15px!important}}
