*{box-sizing:border-box}:root{color:#172033;background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans JP,sans-serif}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}.topbar{background:#fff;border-bottom:1px solid #dce2ea;justify-content:space-between;align-items:center;height:70px;padding:0 24px;display:flex;position:relative}.ai-notice{color:#172033;text-align:center;max-width:46vw;font-size:13px;font-weight:800;line-height:1.45;position:absolute;left:50%;transform:translate(-50%)}.brand-wrap{align-items:center;gap:12px;display:flex}.logo{color:#fff;background:linear-gradient(135deg,#65a3ff,#3569da);border-radius:50%;place-items:center;width:34px;height:34px;font-weight:900;display:grid}.brand-wrap strong{font-size:22px}.service-name{margin-left:8px;font-weight:700}.beta{color:#3569da;background:#edf3ff;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800}.privacy{color:#727d8f;font-size:13px}.layout{grid-template-columns:minmax(0,1fr) 410px;height:calc(100vh - 70px);display:grid}.sheet-area{background:#fff;border-right:1px solid #dce2ea;flex-direction:column;min-width:0;display:flex}.toolbar{border-bottom:1px solid #dce2ea;align-items:center;gap:10px;min-height:64px;padding:10px 16px;display:flex}.toolbar-space{flex:1}.toolbar button,.download-area button{color:#253047;background:#fff;border:1px solid #ccd4e0;border-radius:8px;padding:10px 16px;font-weight:700}button.primary{color:#fff;background:#3268dc;border-color:#3268dc}#fileName{color:#7d8798;font-size:13px}.formula-bar{border-bottom:1px solid #dce2ea;height:46px;display:flex}.cell-address{background:#f8fafc;border-right:1px solid #dce2ea;place-items:center;width:90px;font-weight:700;display:grid}#formulaInput{border:0;outline:0;flex:1;padding:0 14px}.sheet-container{cursor:default;overscroll-behavior:contain;background:#fff;flex:1;min-width:0;min-height:0;overflow:scroll}.sheet-container.middle-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}.spreadsheet{border-collapse:collapse;table-layout:fixed;min-width:max-content;font-size:14px}.spreadsheet th,.spreadsheet td{white-space:nowrap;border-bottom:1px solid #dfe4eb;border-right:1px solid #dfe4eb;min-width:110px;max-width:110px;height:32px;padding:4px 7px;overflow:hidden}.spreadsheet thead th{z-index:5;color:#576276;text-align:center;background:#f5f7fa;height:30px;position:sticky;top:0}.spreadsheet tbody th{z-index:4;color:#697489;text-align:center;background:#f5f7fa;width:48px;min-width:48px;max-width:48px;font-weight:500;position:sticky;left:0}.spreadsheet .corner{z-index:10;background:#eef1f5;width:48px;min-width:48px;max-width:48px;position:sticky;top:0;left:0}.sheet-cell{background:#fff;outline:none}.sheet-cell:focus{outline:none}.sheet-cell.selected{background:#f8fbff;position:relative;box-shadow:inset 0 0 0 2px #3977f6}.sheet-bottom{border-top:1px solid #dce2ea;border-bottom:1px solid #dce2ea;align-items:end;height:42px;display:flex}.sheet-tab{color:#3268dc;border-bottom:2px solid #3268dc;align-items:center;height:42px;padding:0 24px;font-weight:700;display:flex}.download-area{align-items:center;min-height:72px;padding:12px 16px;display:flex}.ai-panel{background:#f8fafd;padding:20px;overflow-y:auto}.ai-panel h2{margin:0 0 18px;font-size:19px}.panel-card{background:#fff;border:1px solid #dce2ea;border-radius:12px;margin-bottom:14px;padding:18px}.panel-card label{margin-bottom:8px;font-weight:800;display:block}.panel-card input,.panel-card textarea{border:1px solid #ccd5e2;border-radius:8px;outline:none;width:100%;padding:11px 12px}.panel-card textarea{resize:vertical;min-height:130px;line-height:1.6}.help,.not-ready{color:#8a94a5;margin:7px 0 0;font-size:12px}.second-label{margin-top:22px}.full{border:0;border-radius:8px;width:100%;margin-top:14px;padding:12px;font-weight:800}.full:disabled{opacity:.6;cursor:not-allowed}.info-row{color:#697487;justify-content:space-between;margin-top:14px;font-size:13px;display:flex}@media (width<=950px){.topbar{flex-wrap:wrap;gap:8px 14px;height:auto;min-height:70px;padding:10px 16px}.ai-notice{order:3;width:100%;max-width:none;position:static;transform:none}.layout{grid-template-columns:1fr;height:auto}.sheet-area{height:70vh}.ai-panel{border-top:1px solid #dce2ea}}
