*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html{font-size:16px;-webkit-text-size-adjust:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Hiragino Sans,Hiragino Kaku Gothic ProN,Meiryo,sans-serif;line-height:1.6;color:#1a1a1a;background:#f5f5f5;min-height:100vh}a{color:inherit;text-decoration:none}.container{max-width:720px;margin:0 auto;padding:0 1rem}.page-header{background:#fff;border-bottom:1px solid #e5e5e5;padding:1rem 0;margin-bottom:1.5rem}.page-header h1{font-size:1.25rem;font-weight:700;color:#111}.page-header nav{margin-top:.5rem}.page-header nav a{color:#555;font-size:.875rem}.page-header nav a:hover{color:#111}.card{background:#fff;border-radius:12px;border:1px solid #e5e5e5;overflow:hidden;transition:box-shadow .15s ease}.card:hover{box-shadow:0 2px 12px #00000014}.card-link{display:block;padding:1.25rem 1.5rem;color:inherit;text-decoration:none}.card-title{font-size:1.25rem;font-weight:700;color:#111}.card-sub{font-size:.75rem;color:#888;font-family:SF Mono,Fira Code,monospace;margin-top:.25rem}.grid{display:grid;gap:1rem;grid-template-columns:1fr}@media(min-width:480px){.grid-2{grid-template-columns:repeat(2,1fr)}}.form-group{display:flex;flex-direction:column;gap:.375rem;margin-bottom:1.25rem}.form-label{font-size:.875rem;font-weight:600;color:#444}.form-input{padding:.625rem .75rem;border:1.5px solid #d1d5db;border-radius:8px;font-size:1rem;font-family:inherit;background:#fff;color:#111;transition:border-color .15s;width:100%;appearance:none}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.form-input:disabled{background:#f9fafb;color:#9ca3af;cursor:not-allowed}.form-input.error{border-color:#ef4444}.form-error{font-size:.8125rem;color:#ef4444}.form-hint{font-size:.8125rem;color:#6b7280}.checkbox-group{display:flex;align-items:center;gap:.625rem;padding:.625rem 0}.checkbox-group input[type=checkbox]{width:1.125rem;height:1.125rem;cursor:pointer;accent-color:#3b82f6}.checkbox-group label{font-size:.9375rem;cursor:pointer;color:#333}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.5rem;font-size:.9375rem;font-weight:600;font-family:inherit;border-radius:8px;border:none;cursor:pointer;transition:background .15s,opacity .15s;min-height:44px}.btn-primary{background:#3b82f6;color:#fff}.btn-primary:hover:not(:disabled){background:#2563eb}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.alert{padding:.875rem 1rem;border-radius:8px;font-size:.9375rem;margin-bottom:1.25rem}.alert-success{background:#ecfdf5;color:#065f46;border:1px solid #a7f3d0}.alert-error{background:#fef2f2;color:#991b1b;border:1px solid #fecaca}.alert-info{background:#eff6ff;color:#1e40af;border:1px solid #bfdbfe}.help-box{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;padding:.875rem 1rem;margin-top:.5rem}.help-box ul{list-style:none;display:flex;flex-direction:column;gap:.375rem}.help-box li{font-size:.8125rem;color:#64748b;line-height:1.5;padding-left:1rem;position:relative}.help-box li:before{content:"•";position:absolute;left:0;color:#94a3b8}.help-box .help-note{font-size:.8125rem;color:#3b82f6;font-weight:600;margin-top:.5rem;padding-top:.5rem;border-top:1px solid #e2e8f0}.tab-nav{display:flex;gap:0;border-bottom:2px solid #e5e5e5;margin-bottom:1.5rem;overflow-x:auto;-webkit-overflow-scrolling:touch}.tab-nav a{display:block;padding:.75rem 1.25rem;font-size:.9375rem;font-weight:500;color:#6b7280;border-bottom:2px solid transparent;margin-bottom:-2px;white-space:nowrap;transition:color .15s}.tab-nav a:hover{color:#111}.tab-nav a.active{color:#3b82f6;border-bottom-color:#3b82f6;font-weight:600}.section-title{font-size:1rem;font-weight:700;color:#111;margin-bottom:1rem}.profile-form{background:#fff;border-radius:12px;border:1px solid #e5e5e5;padding:1.5rem}.empty-state{text-align:center;padding:3rem 1rem;color:#6b7280}.empty-state p{margin-bottom:.75rem}.empty-state code{display:inline-block;background:#f1f5f9;padding:.5rem 1rem;border-radius:6px;font-size:.8125rem;color:#334155;font-family:SF Mono,Fira Code,monospace;word-break:break-all}.loading{text-align:center;padding:2rem;color:#6b7280;font-size:.9375rem}
