:root{color:#202124;background:#eef3f1;font-family:Yu Gothic,Hiragino Kaku Gothic ProN,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}.page-shell{width:min(1120px,calc(100% - 32px));margin:0 auto;padding:32px 0}.toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding-bottom:24px;border-bottom:2px solid #cbd8d4}.school{margin:0 0 8px;color:#47645d;font-weight:700}h1,h2{margin:0;letter-spacing:0}h1{font-size:clamp(28px,4vw,44px)}.summary{display:grid;gap:4px;min-width:160px;text-align:right}.summary span{color:#666}.summary strong{font-size:28px}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding-top:24px}.filters{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:12px;margin-bottom:14px}.filters input,.filters select{width:100%;min-height:44px;border:1px solid #cbd8d4;border-radius:6px;background:#fff;color:#202124;padding:0 12px}.product-list,.cart-panel{background:#fff;border:1px solid #cbd8d4;border-radius:8px}.product-row{display:grid;grid-template-columns:24px minmax(0,1fr) 120px auto;gap:16px;align-items:center;padding:18px;border-bottom:1px solid #e2e9e6}.product-row:last-child{border-bottom:0}.product-main{display:grid;gap:4px;border:0;background:transparent;color:inherit;padding:0;text-align:left;cursor:pointer}.product-name{font-weight:700}.product-meta{color:#5f706b;font-size:14px}.product-note{color:#7a612f;font-size:13px}.price{font-weight:700}.grade-picker{display:grid;gap:4px;color:#5f706b;font-size:13px}.grade-picker select{min-height:36px;border:1px solid #cbd8d4;border-radius:6px;background:#fff;color:#202124;padding:0 8px}.cart-panel{align-self:start;padding:20px}.fee-notes{display:grid;gap:6px;margin:8px 0 0;color:#7a612f;font-size:13px;line-height:1.6}.fee-notes p{margin:0}.method-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.method-switch button,.checkout-button{border:1px solid #315f57;border-radius:6px;cursor:pointer}.method-switch button{min-height:42px;background:#fff;color:#315f57}.method-switch button.active{background:#315f57;color:#fff}.totals{display:grid;gap:12px;margin:0 0 20px}.totals div{display:flex;justify-content:space-between;gap:16px}.totals dt,.totals dd{margin:0}.grand-total{border-top:1px solid #cbd8d4;padding-top:14px;font-size:20px;font-weight:700}.checkout-button{width:100%;min-height:48px;background:#1f5fbf;color:#fff;font-weight:700}.checkout-button:disabled{cursor:not-allowed;opacity:.45}.order-result{display:grid;gap:8px;margin-top:16px;padding-top:16px;border-top:1px solid #cbd8d4;font-size:14px;word-break:break-all}.order-result p{margin:0;color:#44524e}.order-result a{color:#1f5fbf;font-weight:700}.order-error{margin:16px 0 0;padding:12px;border:1px solid #d97566;border-radius:8px;background:#fff1ee;color:#8b2c21;font-size:14px}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:20px;background:#16221f85}.confirm-modal{width:min(560px,100%);max-height:min(720px,calc(100vh - 40px));overflow:auto;border:1px solid #cbd8d4;border-radius:14px;background:#fff;box-shadow:0 24px 80px #16221f47;padding:24px}.modal-warning{margin:14px 0 18px;padding:14px;border:1px solid #d8b55f;border-radius:10px;background:#fff8e6;color:#6e4b00;line-height:1.7}.modal-items,.modal-total{display:grid;gap:10px}.modal-item,.modal-total div{display:flex;justify-content:space-between;gap:18px}.modal-item{border-bottom:1px solid #e2e9e6;padding-bottom:10px}.modal-total{margin:18px 0 0}.modal-total dt,.modal-total dd{margin:0}.modal-total div:last-child{border-top:1px solid #cbd8d4;padding-top:12px;font-size:18px;font-weight:700}.modal-actions{display:grid;grid-template-columns:140px 1fr;gap:10px;margin-top:22px}.secondary-button{min-height:48px;border:1px solid #9aa9a5;border-radius:6px;background:#fff;color:#315f57;cursor:pointer;font-weight:700}@media (max-width: 760px){.toolbar{align-items:stretch;flex-direction:column}.summary{text-align:left}.content-grid,.filters{grid-template-columns:1fr}.product-row{grid-template-columns:24px minmax(0,1fr)}.grade-picker,.price{grid-column:2}.modal-actions{grid-template-columns:1fr}}
